sedouard/azure-functions-node

View on GitHub
.tempt.out

Summary

Maintainability
Test Coverage


  azure-functions
    #CRUD

      ✓ #deployfunction-http-mock (258ms)

      ✓ #deployfunction-http2-mock (77ms)

      ✓ #listFunctions-mock
    #getFunction-mock

      1) gets an Azure Function
    #deleteFunction-mock

      ✓ deletes an Azure Function


  4 passing (595ms)
  1 failing

  1) azure-functions #getFunction-mock gets an Azure Function:

      AssertionError: [{"message":"Failed \"required\" criteria: missing property (id)","context":"#","value":{"value":{"location":"West US","properties":{"config":{"bindings":[{"type":"http","direction":"in","name":"req"}]},"files":{"index.js":"!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var t;t=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,t.lambda=e()}}(function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c=\"function\"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var p=n[a]={exports:{}};t[a][0].call(p.exports,function(e){var n=t[a][1][e];return i(n?n:e)},p,p.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){var r=(e(\"sendgrid\"),e(\"unirest\"),e(\"bluebird\"),e(\"skeemas\"),e(\"mongoose\"),e(\"passport\")),i=e(\"express\");e(\"moment\"),e(\"lodash\");t.exports.singleAll=function(e,t){var n={message:\"Your Serverless function ran successfully via the '\"+e.httpMethod+\"' method!\"};return t(null,n)},t.exports.multiCreate=function(e,t){var n={message:\"Your Serverless function 'multi/create' ran successfully!\"};return t(null,n)},t.exports.multiShow=function(e,t){var n=(i(),n(new Date));r.init;mogoose.connect(\"httt:/p\");var o={message:\"Your Serverless function 'multi/show' ran successfully with the following ID '\"+e.pathId+\"'!\"};return t(null,o)}},{bluebird:18,express:98,lodash:177,moment:187,mongoose:247,passport:371,sendgrid:410,skeemas:419,unirest:468}],2:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(this.headers=e.headers,void(this.negotiator=new a(e))):new r(e)}function i(e){return-1===e.indexOf(\"/\")?s.lookup(e):e}function o(e){return\"string\"==typeof e}var a=e(\"negotiator\"),s=e(\"mime-types\");t.exports=r,r.prototype.type=r.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||0===t.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(i),a=this.negotiator.mediaTypes(r.filter(o)),s=a[0];return s?t[r.indexOf(s)]:!1},r.prototype.encoding=r.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.encodings(t)[0]||!1:this.negotiator.encodings()},r.prototype.charset=r.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.charsets(t)[0]||!1:this.negotiator.charsets()},r.prototype.lang=r.prototype.langs=r.prototype.language=r.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.languages(t)[0]||!1:this.negotiator.languages()}},{\"mime-types\":184,negotiator:356}],3:[function(e,t,n){\"use strict\";function r(e,t,n){for(var i=0;i<e.length;i++){var o=e[i];n>0&&Array.isArray(o)?r(o,t,n-1):t.push(o)}return t}function i(e,t){for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?i(r,t):t.push(r)}return t}function o(e,t){return null==t?i(e,[]):r(e,[],t)}t.exports=o},{}],4:[function(e,t,n){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name=\"InvalidAsn1Error\",t.message=e||\"\",t}}},{}],5:[function(e,t,n){var r=e(\"./errors\"),i=e(\"./types\"),o=e(\"./reader\"),a=e(\"./writer\");t.exports={Reader:o,Writer:a};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in r)r.hasOwnProperty(c)&&(t.exports[c]=r[c])},{\"./errors\":4,\"./reader\":6,\"./types\":7,\"./writer\":8}],6:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(r.prototype,\"offset\",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(r.prototype,\"remain\",{get:function(){return this._size-this._offset}}),Object.defineProperty(r.prototype,\"buffer\",{get:function(){return this._buf.slice(this._offset)}}),r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var r=this.peek();if(null===r)return null;if(r!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+r.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new n(0):\"\";var a=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?a:a.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.readString(e,!0);if(null===t)return null;for(var n=[],r=0,i=0;i<t.length;i++){var a=255&t[i];r<<=7,r+=127&a,0==(128&a)&&(n.push(r),r=0)}return r=n.shift(),n.unshift(r%40),n.unshift(r/40>>0),n.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;for(var r=this._buf[this._offset],o=0,a=0;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&4!==a&&(o-=1<<8*a),o>>0},t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],7:[function(e,t,n){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],8:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,\"buffer\",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+\" unended sequence(s)\");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||-8388608===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],9:[function(e,t,n){var r=e(\"./ber/index\");t.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},{\"./ber/index\":5}],10:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n,r,o){throw new c.AssertionError({message:p.format(\"%s (%s) is required\",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:n||\"===\",stackStartFunction:i.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function a(){}function s(e){var t,n=Object.keys(f);return t=process.env.NODE_NDEBUG?a:function(e,t){e||i(t,\"true\",e)},n.forEach(function(n){if(e)return void(t[n]=a);var r=f[n];t[n]=function(e,t){r.check(e)||i(t,n,r.operator,e,r.actual)}}),n.forEach(function(n){var o=\"optional\"+r(n);if(e)return void(t[o]=a);var s=f[n];t[o]=function(e,t){void 0!==e&&null!==e&&(s.check(e)||i(t,n,s.operator,e,s.actual))}}),n.forEach(function(n){var o=\"arrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}),n.forEach(function(n){var o=\"optionalArrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}}),Object.keys(c).forEach(function(n){return\"AssertionError\"===n?void(t[n]=c[n]):e?void(t[n]=a):void(t[n]=c[n])}),t._setExports=s,t}var c=e(\"assert\"),u=e(\"stream\").Stream,p=e(\"util\"),l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,f={bool:{check:function(e){return\"boolean\"==typeof e}},func:{check:function(e){return\"function\"==typeof e}},string:{check:function(e){return\"string\"==typeof e}},object:{check:function(e){return\"object\"==typeof e&&null!==e}},number:{check:function(e){return\"number\"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return n.isBuffer(e)},operator:\"Buffer.isBuffer\"},array:{check:function(e){return Array.isArray(e)},operator:\"Array.isArray\"},stream:{check:function(e){return e instanceof u},operator:\"instanceof\",actual:o},date:{check:function(e){return e instanceof Date},operator:\"instanceof\",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:\"instanceof\",actual:o},uuid:{check:function(e){return\"string\"==typeof e&&l.test(e)},operator:\"isUUID\"}};t.exports=s(process.env.NODE_NDEBUG)}).call(this,{isBuffer:e(\"../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],11:[function(e,t,n){(function(e){!function(){function n(){}function r(e){return e}function i(e){return!!e}function o(e){return!e}function a(e){return function(){if(null===e)throw new Error(\"Callback was already called.\");e.apply(this,arguments),e=null}}function s(e){return function(){null!==e&&(e.apply(this,arguments),e=null)}}function c(e){return D(e)||\"number\"==typeof e.length&&e.length>=0&&e.length%1===0}function u(e,t){for(var n=-1,r=e.length;++n<r;)t(e[n],n,e)}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e){return p(Array(e),function(e,t){return t})}function f(e,t,n){return u(e,function(e,r,i){n=t(n,e,r,i)}),n}function d(e,t){u(R(e),function(n){t(e[n],n)})}function h(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function m(e){var t,n,r=-1;return c(e)?(t=e.length,function(){return r++,t>r?r:null}):(n=R(e),t=n.length,function(){return r++,t>r?n[r]:null})}function v(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r)}}}function g(e){return function(t,n,r){return e(t,r)}}function y(e){return function(t,r,i){i=s(i||n),t=t||[];var o=m(t);if(0>=e)return i(null);var c=!1,u=0,p=!1;!function l(){if(c&&0>=u)return i(null);for(;e>u&&!p;){var n=o();if(null===n)return c=!0,void(0>=u&&i(null));u+=1,r(t[n],n,a(function(e){u-=1,e?(i(e),p=!0):l()}))}}()}}function b(e){return function(t,n,r){return e(z.eachOf,t,n,r)}}function x(e){return function(t,n,r,i){return e(y(n),t,r,i)}}function w(e){return function(t,n,r){return e(z.eachOfSeries,t,n,r)}}function _(e,t,r,i){i=s(i||n),t=t||[];var o=c(t)?[]:{};e(t,function(e,t,n){r(e,function(e,r){o[t]=r,n(e)})},function(e){i(e,o)})}function k(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(n){n&&i.push({index:t,value:e}),r()})},function(){r(p(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})}function j(e,t,n,r){k(e,t,function(e,t){n(e,function(e){t(!e)})},r)}function S(e,t,n){return function(r,i,o,a){function s(){a&&a(n(!1,void 0))}function c(e,r,i){return a?void o(e,function(r){a&&t(r)&&(a(n(!0,e)),a=o=!1),i()}):i()}arguments.length>3?e(r,i,c,s):(a=o,o=i,e(r,c,s))}}function E(e,t){return t}function O(e,t,r){r=r||n;var i=c(t)?[]:{};e(t,function(e,t,n){e(v(function(e,r){r.length<=1&&(r=r[0]),i[t]=r,n(e)}))},function(e){r(e,i)})}function A(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(e,t){i=i.concat(t||[]),r(e)})},function(e){r(e,i)})}function C(e,t,r){function i(e,t,r,i){if(null!=i&&\"function\"!=typeof i)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length&&e.idle()?z.setImmediate(function(){e.drain()}):(u(t,function(t){var o={data:t,callback:i||n};r?e.tasks.unshift(o):e.tasks.push(o),e.tasks.length===e.concurrency&&e.saturated()}),void z.setImmediate(e.process))}function o(e,t){return function(){s-=1;var n=!1,r=arguments;u(t,function(e){u(c,function(t,r){t!==e||n||(c.splice(r,1),n=!0)}),e.callback.apply(e,r)}),e.tasks.length+s===0&&e.drain(),e.process()}}if(null==t)t=1;else if(0===t)throw new Error(\"Concurrency must not be zero\");var s=0,c=[],l={tasks:[],concurrency:t,payload:r,saturated:n,empty:n,drain:n,started:!1,paused:!1,push:function(e,t){i(l,e,!1,t)},kill:function(){l.drain=n,l.tasks=[]},unshift:function(e,t){i(l,e,!0,t)},process:function(){for(;!l.paused&&s<l.concurrency&&l.tasks.length;){var t=l.payload?l.tasks.splice(0,l.payload):l.tasks.splice(0,l.tasks.length),n=p(t,function(e){return e.data});0===l.tasks.length&&l.empty(),s+=1,c.push(t[0]);var r=a(o(l,t));e(n,r)}},length:function(){return l.tasks.length},running:function(){return s},workersList:function(){return c},idle:function(){return l.tasks.length+s===0},pause:function(){l.paused=!0},resume:function(){if(l.paused!==!1){l.paused=!1;for(var e=Math.min(l.concurrency,l.tasks.length),t=1;e>=t;t++)z.setImmediate(l.process)}}};return l}function T(e){return v(function(t,n){t.apply(null,n.concat([v(function(t,n){\"object\"==typeof console&&(t?console.error&&console.error(t):console[e]&&u(n,function(t){console[e](t)}))})]))})}function I(e){return function(t,n,r){e(l(t),n,r)}}function P(e){return v(function(t,n){var r=v(function(n){var r=this,i=n.pop();return e(t,function(e,t,i){e.apply(r,n.concat([i]))},i)});return n.length?r.apply(this,n):r})}function F(e){return v(function(t){var n=t.pop();t.push(function(){var e=arguments;r?z.setImmediate(function(){n.apply(null,e)}):n.apply(null,e)});var r=!0;e.apply(this,t),r=!1})}var M,z={},B=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof e&&e.global===e&&e||this;null!=B&&(M=B.async),z.noConflict=function(){return B.async=M,z};var N=Object.prototype.toString,D=Array.isArray||function(e){return\"[object Array]\"===N.call(e)},q=function(e){var t=typeof e;return\"function\"===t||\"object\"===t&&!!e},R=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},L=\"function\"==typeof setImmediate&&setImmediate,$=L?function(e){L(e)}:function(e){setTimeout(e,0)};\"object\"==typeof process&&\"function\"==typeof process.nextTick?z.nextTick=process.nextTick:z.nextTick=$,z.setImmediate=L?$:z.nextTick,z.forEach=z.each=function(e,t,n){return z.eachOf(e,g(t),n)},z.forEachSeries=z.eachSeries=function(e,t,n){return z.eachOfSeries(e,g(t),n)},z.forEachLimit=z.eachLimit=function(e,t,n,r){return y(t)(e,g(n),r)},z.forEachOf=z.eachOf=function(e,t,r){function i(e){u--,e?r(e):null===o&&0>=u&&r(null)}r=s(r||n),e=e||[];for(var o,c=m(e),u=0;null!=(o=c());)u+=1,t(e[o],o,a(i));0===u&&r(null)},z.forEachOfSeries=z.eachOfSeries=function(e,t,r){function i(){var n=!0;return null===c?r(null):(t(e[c],c,a(function(e){if(e)r(e);else{if(c=o(),null===c)return r(null);n?z.setImmediate(i):i()}})),void(n=!1))}r=s(r||n),e=e||[];var o=m(e),c=o();i()},z.forEachOfLimit=z.eachOfLimit=function(e,t,n,r){y(t)(e,n,r)},z.map=b(_),z.mapSeries=w(_),z.mapLimit=x(_),z.inject=z.foldl=z.reduce=function(e,t,n,r){z.eachOfSeries(e,function(e,r,i){n(t,e,function(e,n){t=n,i(e)})},function(e){r(e,t)})},z.foldr=z.reduceRight=function(e,t,n,i){var o=p(e,r).reverse();z.reduce(o,t,n,i)},z.transform=function(e,t,n,r){3===arguments.length&&(r=n,n=t,t=D(e)?[]:{}),z.eachOf(e,function(e,r,i){n(t,e,r,i)},function(e){r(e,t)})},z.select=z.filter=b(k),z.selectLimit=z.filterLimit=x(k),z.selectSeries=z.filterSeries=w(k),z.reject=b(j),z.rejectLimit=x(j),z.rejectSeries=w(j),z.any=z.some=S(z.eachOf,i,r),z.someLimit=S(z.eachOfLimit,i,r),z.all=z.every=S(z.eachOf,o,o),z.everyLimit=S(z.eachOfLimit,o,o),z.detect=S(z.eachOf,r,E),z.detectSeries=S(z.eachOfSeries,r,E),z.detectLimit=S(z.eachOfLimit,r,E),z.sortBy=function(e,t,n){function r(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0}z.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){return e?n(e):void n(null,p(t.sort(r),function(e){return e.value}))})},z.auto=function(e,t,r){function i(e){y.unshift(e)}function o(e){var t=h(y,e);t>=0&&y.splice(t,1)}function a(){p--,u(y.slice(0),function(e){e()})}\"function\"==typeof arguments[1]&&(r=t,t=null),r=s(r||n);var c=R(e),p=c.length;if(!p)return r(null);t||(t=p);var l={},m=0,g=!1,y=[];i(function(){p||r(null,l)}),u(c,function(n){function s(){return t>m&&f(b,function(e,t){return e&&l.hasOwnProperty(t)},!0)&&!l.hasOwnProperty(n)}function c(){s()&&(m++,o(c),p[p.length-1](y,l))}if(!g){for(var u,p=D(e[n])?e[n]:[e[n]],y=v(function(e,t){if(m--,t.length<=1&&(t=t[0]),e){var i={};d(l,function(e,t){i[t]=e}),i[n]=t,g=!0,r(e,i)}else l[n]=t,z.setImmediate(a)}),b=p.slice(0,p.length-1),x=b.length;x--;){if(!(u=e[b[x]]))throw new Error(\"Has nonexistent dependency in \"+b.join(\", \"));if(D(u)&&h(u,n)>=0)throw new Error(\"Has cyclic dependencies\")}s()?(m++,p[p.length-1](y,l)):i(c)}})},z.retry=function(e,t,n){function r(e,t){if(\"number\"==typeof t)e.times=parseInt(t,10)||o;else{if(\"object\"!=typeof t)throw new Error(\"Unsupported argument type for 'times': \"+typeof t);e.times=parseInt(t.times,10)||o,e.interval=parseInt(t.interval,10)||a}}function i(e,t){function n(e,n){return function(r){e(function(e,t){r(!e||n,{err:e,result:t})},t)}}function r(e){return function(t){setTimeout(function(){t(null)},e)}}for(;c.times;){var i=!(c.times-=1);s.push(n(c.task,i)),!i&&c.interval>0&&s.push(r(c.interval))}z.series(s,function(t,n){n=n[n.length-1],(e||c.callback)(n.err,n.result)})}var o=5,a=0,s=[],c={times:o,interval:a},u=arguments.length;if(1>u||u>3)throw new Error(\"Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)\");return 2>=u&&\"function\"==typeof e&&(n=t,t=e),\"function\"!=typeof e&&r(c,e),c.callback=n,c.task=t,c.callback?i():i},z.waterfall=function(e,t){function r(e){return v(function(n,i){if(n)t.apply(null,[n].concat(i));else{var o=e.next();o?i.push(r(o)):i.push(t),F(e).apply(null,i)}})}if(t=s(t||n),!D(e)){var i=new Error(\"First argument to waterfall must be an array of functions\");return t(i)}return e.length?void r(z.iterator(e))():t()},z.parallel=function(e,t){O(z.eachOf,e,t)},z.parallelLimit=function(e,t,n){O(y(t),e,n)},z.series=function(e,t){O(z.eachOfSeries,e,t)},z.iterator=function(e){function t(n){function r(){return e.length&&e[n].apply(null,arguments),r.next()}return r.next=function(){return n<e.length-1?t(n+1):null},r}return t(0)},z.apply=v(function(e,t){return v(function(n){return e.apply(null,t.concat(n))})}),z.concat=b(A),z.concatSeries=w(A),z.whilst=function(e,t,r){if(r=r||n,e()){var i=v(function(n,o){n?r(n):e.apply(this,o)?t(i):r.apply(null,[null].concat(o))});t(i)}else r(null)},z.doWhilst=function(e,t,n){var r=0;return z.whilst(function(){return++r<=1||t.apply(this,arguments)},e,n)},z.until=function(e,t,n){return z.whilst(function(){return!e.apply(this,arguments)},t,n)},z.doUntil=function(e,t,n){return z.doWhilst(e,function(){return!t.apply(this,arguments)},n)},z.during=function(e,t,r){r=r||n;var i=v(function(t,n){t?r(t):(n.push(o),e.apply(this,n))}),o=function(e,n){e?r(e):n?t(i):r(null)};e(o)},z.doDuring=function(e,t,n){var r=0;z.during(function(e){r++<1?e(null,!0):t.apply(this,arguments)},e,n)},z.queue=function(e,t){var n=C(function(t,n){e(t[0],n)},t,1);return n},z.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}function i(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,a){if(null!=a&&\"function\"!=typeof a)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length?z.setImmediate(function(){e.drain()}):void u(t,function(t){var s={data:t,priority:o,callback:\"function\"==typeof a?a:n};e.tasks.splice(i(e.tasks,s,r)+1,0,s),e.tasks.length===e.concurrency&&e.saturated(),z.setImmediate(e.process)})}var a=z.queue(e,t);return a.push=function(e,t,n){o(a,e,t,n)},delete a.unshift,a},z.cargo=function(e,t){return C(e,1,t)},z.log=T(\"log\"),z.dir=T(\"dir\"),z.memoize=function(e,t){var n={},i={},o=Object.prototype.hasOwnProperty;t=t||r;var a=v(function(r){var a=r.pop(),s=t.apply(null,r);o.call(n,s)?z.setImmediate(function(){a.apply(null,n[s])}):o.call(i,s)?i[s].push(a):(i[s]=[a],e.apply(null,r.concat([v(function(e){n[s]=e;var t=i[s];delete i[s];for(var r=0,o=t.length;o>r;r++)t[r].apply(null,e)})])))});return a.memo=n,a.unmemoized=e,a},z.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},z.times=I(z.map),z.timesSeries=I(z.mapSeries),z.timesLimit=function(e,t,n,r){return z.mapLimit(l(e),t,n,r)},z.seq=function(){var e=arguments;return v(function(t){var r=this,i=t[t.length-1];\"function\"==typeof i?t.pop():i=n,z.reduce(e,t,function(e,t,n){t.apply(r,e.concat([v(function(e,t){n(e,t)})]))},function(e,t){i.apply(r,[e].concat(t))})})},z.compose=function(){return z.seq.apply(null,Array.prototype.reverse.call(arguments))},z.applyEach=P(z.eachOf),z.applyEachSeries=P(z.eachOfSeries),z.forever=function(e,t){function r(e){return e?i(e):void o(r)}var i=a(t||n),o=F(e);r()},z.ensureAsync=F,z.constant=v(function(e){var t=[null].concat(e);return function(e){return e.apply(this,t)}}),z.wrapSync=z.asyncify=function(e){return v(function(t){var n,r=t.pop();try{n=e.apply(this,t)}catch(i){return r(i)}q(n)&&\"function\"==typeof n.then?n.then(function(e){r(null,e)})[\"catch\"](function(e){r(e.message?e:new Error(e))}):r(null,n)})},\"object\"==typeof t&&t.exports?t.exports=z:\"function\"==typeof define&&define.amd?define([],function(){return z}):B.async=z}()}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],13:[function(e,t,n){(function(t){function r(e,t,n){return p.createHmac(\"sha256\",e).update(t,\"utf8\").digest(n)}function i(e,t){return p.createHash(\"sha256\").update(e,\"utf8\").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e,t){\"string\"==typeof e&&(e=c.parse(e));var n=e.headers=e.headers||{},r=this.matchHost(e.hostname||e.host||n.Host||n.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||r[0]||\"\",this.region=e.region||r[1]||\"us-east-1\",\"email\"===this.service&&(this.service=\"ses\"),!e.method&&e.body&&(e.method=\"POST\"),n.Host||n.host||(n.Host=e.hostname||e.host||this.createHost(),e.port&&(n.Host+=\":\"+e.port)),e.hostname||e.host||(e.hostname=n.Host||n.host)}var s=n,c=e(\"url\"),u=e(\"querystring\"),p=e(\"crypto\"),l=e(\"lru-cache\"),f=l(1e3);a.prototype.matchHost=function(e){var t=(e||\"\").match(/([^\\.]+)\\.(?:([^\\.]*)\\.)?amazonaws\\.com$/),n=(t||[]).slice(1,3);return\"es\"===n[1]&&(n=n.reverse()),n},a.prototype.isSingleRegion=function(){return[\"s3\",\"sdb\"].indexOf(this.service)>=0&&\"us-east-1\"===this.region?!0:[\"cloudfront\",\"ls\",\"route53\",\"iam\",\"importexport\",\"sts\"].indexOf(this.service)>=0},a.prototype.createHost=function(){var e=this.isSingleRegion()?\"\":(\"s3\"===this.service&&\"us-east-1\"!==this.region?\"-\":\".\")+this.region,t=\"ses\"===this.service?\"email\":this.service;return t+e+\".amazonaws.com\"},a.prototype.prepareRequest=function(){this.parsePath();var e,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"!==this.service||e[\"X-Amz-Expires\"]||(e[\"X-Amz-Expires\"]=86400),e[\"X-Amz-Date\"]?this.datetime=e[\"X-Amz-Date\"]:e[\"X-Amz-Date\"]=this.getDateTime(),e[\"X-Amz-Algorithm\"]=\"AWS4-HMAC-SHA256\",e[\"X-Amz-Credential\"]=this.credentials.accessKeyId+\"/\"+this.credentialString(),e[\"X-Amz-SignedHeaders\"]=this.signedHeaders()):(n.doNotModifyHeaders||(!n.body||r[\"Content-Type\"]||r[\"content-type\"]||(r[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\"),!n.body||r[\"Content-Length\"]||r[\"content-length\"]||(r[\"Content-Length\"]=t.byteLength(n.body)),this.credentials.sessionToken&&(r[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"===this.service&&(r[\"X-Amz-Content-Sha256\"]=i(this.request.body||\"\",\"hex\")),r[\"X-Amz-Date\"]?this.datetime=r[\"X-Amz-Date\"]:r[\"X-Amz-Date\"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},a.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query[\"X-Amz-Signature\"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},a.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\\-]|\\.\\d{3}/g,\"\")}return this.datetime},a.prototype.getDate=function(){return this.getDateTime().substr(0,8)},a.prototype.authHeader=function(){return[\"AWS4-HMAC-SHA256 Credential=\"+this.credentials.accessKeyId+\"/\"+this.credentialString(),\"SignedHeaders=\"+this.signedHeaders(),\"Signature=\"+this.signature()].join(\", \")},a.prototype.signature=function(){var e,t,n,i=this.getDate(),o=[this.credentials.secretAccessKey,i,this.region,this.service].join(),a=f.get(o);return a||(e=r(\"AWS4\"+this.credentials.secretAccessKey,i),t=r(e,this.region),n=r(t,this.service),\na=r(n,\"aws4_request\"),f.set(o,a)),r(a,this.stringToSign(),\"hex\")},a.prototype.stringToSign=function(){return[\"AWS4-HMAC-SHA256\",this.getDateTime(),this.credentialString(),i(this.canonicalString(),\"hex\")].join(\"\\n\")},a.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,n=\"\",r=\"s3\"!==this.service,a=\"s3\"===this.service||this.request.doNotEncodePath,s=\"s3\"===this.service,c=\"s3\"===this.service,p=\"s3\"===this.service&&this.request.signQuery?\"UNSIGNED-PAYLOAD\":i(this.request.body||\"\",\"hex\");return t&&(n=o(u.stringify(Object.keys(t).sort().reduce(function(e,n){return n?(e[n]=Array.isArray(t[n])?c?t[n][0]:t[n].slice().sort():t[n],e):e},{})))),\"/\"!==e&&(r&&(e=e.replace(/\\/{2,}/g,\"/\")),e=e.split(\"/\").reduce(function(e,t){return r&&\"..\"===t?e.pop():r&&\".\"===t||(a&&(t=u.unescape(t)),e.push(o(u.escape(t)))),e},[]).join(\"/\"),\"/\"!==e[0]&&(e=\"/\"+e),s&&(e=e.replace(/%2F/g,\"/\"))),[this.request.method||\"GET\",e,n,this.canonicalHeaders()+\"\\n\",this.signedHeaders(),p].join(\"\\n\")},a.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\\s+/g,\" \")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(n){return n.toLowerCase()+\":\"+e(t[n])}).join(\"\\n\")},a.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(\";\")},a.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,\"aws4_request\"].join(\"/\")},a.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},a.prototype.parsePath=function(){var e=this.request.path||\"/\",t=e.indexOf(\"?\"),n=null;t>=0&&(n=u.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\\-._~%\\/]/.test(e)&&(e=e.split(\"/\").map(function(e){return u.escape(u.unescape(e))}).join(\"/\")),this.parsedPath={path:e,query:n}},a.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[\"\"]&&delete t[\"\"],e+\"?\"+o(u.stringify(t))):e},s.RequestSigner=a,s.sign=function(e,t){return new a(e,t).sign()}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"lru-cache\":178,querystring:void 0,url:void 0}],14:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),e instanceof r?(this._bufs.push.apply(this._bufs,e._bufs),this.length+=e.length):(this._bufs.push(t?e:new n(e)),this.length+=e.length),this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":388,util:void 0}],15:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){var t=new n(e),r=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),r}var n=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],16:[function(e,t,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule\"),p=e(\"./queue\"),l=e(\"./util\");r.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(e,t){t?(process.stderr.write(\"Fatal \"+(e instanceof Error?e.stack:e)+\"\\n\"),process.exit(2)):this.throwLater(e)},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},l.hasDevTools?(r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=r,t.exports.firstLineError=s},{\"./queue\":40,\"./schedule\":43,\"./util\":50}],17:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:u};l._then(t,a,void 0,p,f),u._then(s,c,void 0,p,f),p._setOnCancel(u)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],18:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise\")();o.noConflict=r,t.exports=o},{\"./promise\":36}],19:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util\":50}],20:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util\"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype[\"break\"]=t.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var e=this,t=e;e.isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n.isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this.isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if(\"function\"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this.isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":50}],21:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<e.length;++p){var l=e[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return o(n).call(u,c)}else if(\"function\"==typeof l){var f=o(l).call(u,c);if(f===a)return f;if(f)return o(n).call(u,c)}else if(r.isObject(c)){for(var d=i(l),h=0;h<d.length;++h){var m=d[h];if(l[m]!=c[m])continue e}return o(n).call(u,c)}}return t}}var r=e(\"./util\"),i=e(\"./es5\").keys,o=r.tryCatch,a=r.errorObj;return n}},{\"./es5\":27,\"./util\":50}],22:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){this._trace=new t.CapturedTrace(r())}function n(){return i?new t:void 0}function r(){var e=o.length-1;return e>=0?o[e]:void 0}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],23:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t){return{promise:t}}function i(){return!1}function o(e,t,n){var r=this;try{e(t,n,function(e){if(\"function\"!=typeof e)throw new TypeError(\"onCancel must be a function, got: \"+D.toString(e));r._attachCancellationCallback(e)})}catch(i){return i}}function a(e){if(!this.isCancellable())return this;var t=this._onCancel();void 0!==t?D.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function s(){return this._onCancelField}function c(e){this._onCancelField=e}function u(){this._cancellationParent=void 0,this._onCancelField=void 0}function p(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function l(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new I(this._peekContext())}function h(e,t){if(q(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=k(e);D.notEnumerableProp(e,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&Y){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"a promise was created in a \"+n+\"handler but was not returned from it\";r._warn(o,!0,t)}}function v(e,t){var n=e+\" is deprecated and will be removed in a future version.\";return t&&(n+=\" Use \"+t+\" instead.\"),g(n)}function g(e,n,r){if(re.warnings){var i,o=new N(e);if(n)r._attachExtraTrace(o);else if(re.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var a=k(o);o.stack=a.message+\"\\n\"+a.stack.join(\"\\n\")}Q(\"warning\",o)||j(o,\"\",!0)}}function y(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function b(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function x(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function w(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=\"    (No stack trace)\"===r||L.test(r),o=i&&ee(r);i&&!o&&(U&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function _(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||L.test(r))break}return n>0&&(t=t.slice(n)),t}function k(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?_(e):[\"    (No stack trace)\"],{message:n,stack:w(t)}}function j(e,t,n){if(\"undefined\"!=typeof console){var r;if(D.isObject(e)){var i=e.stack;r=t+$(i,e)}else r=t+String(e);\"function\"==typeof M?M(r,n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(r)}}function S(e,t,n,r){var i=!1;try{\"function\"==typeof t&&(i=!0,\"rejectionHandled\"===e?t(r):t(n,r))}catch(o){B.throwLater(o)}\"unhandledRejection\"===e?Q(e,n,r)||i||j(n,\"Unhandled rejection \"):Q(e,r)}function E(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e&&\"function\"==typeof e.toString?e.toString():D.toString(e);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+O(t)+\">, no stack trace)\"}function O(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function A(){return\"function\"==typeof ne}function C(e){var t=e.match(te);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}function T(e,t){if(A()){for(var n,r,i=e.stack.split(\"\\n\"),o=t.stack.split(\"\\n\"),a=-1,s=-1,c=0;c<i.length;++c){var u=C(i[c]);if(u){n=u.fileName,a=u.line;break}}for(var c=0;c<o.length;++c){var u=C(o[c]);if(u){r=u.fileName,s=u.line;break}}0>a||0>s||!n||!r||n!==r||a>=s||(ee=function(e){if(R.test(e))return!0;var t=C(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function I(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ne(this,I),t>32&&this.uncycle()}var P,F,M,z=t._getDomain,B=t._async,N=e(\"./errors\").Warning,D=e(\"./util\"),q=D.canAttachTrace,R=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,L=null,$=null,U=!1,H=!(0==D.env(\"BLUEBIRD_DEBUG\")||!D.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==D.env(\"NODE_ENV\")),V=!(0==D.env(\"BLUEBIRD_WARNINGS\")||!H&&!D.env(\"BLUEBIRD_WARNINGS\")),W=!(0==D.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!H&&!D.env(\"BLUEBIRD_LONG_STACK_TRACES\")),Y=0!=D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(V||!!D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){S(\"rejectionHandled\",P,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),S(\"unhandledRejection\",F,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return g(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=z();F=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=z();P=\"function\"==typeof e?null===t?e:t.bind(e):void 0};var K=function(){};t.longStackTraces=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!re.longStackTraces&&A()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;re.longStackTraces=!0,K=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),B.enableTrampoline(),re.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=h,n.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return re.longStackTraces&&A()};var G=function(){try{var e=document.createEvent(\"CustomEvent\");return e.initCustomEvent(\"testingtheevent\",!1,!0,{}),D.global.dispatchEvent(e),function(e,t){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!D.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),J=function(){return D.isNode?function(){return process.emit.apply(process,arguments)}:D.global?function(e){var t=\"on\"+e.toLowerCase(),n=D.global[t];return n?(n.apply(D.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:r},Q=function(e){var t=!1;try{t=J.apply(null,arguments)}catch(n){B.throwLater(n),t=!0}var r=!1;try{r=G(e,Z[e].apply(null,arguments))}catch(n){B.throwLater(n),r=!0}return r||t};t.config=function(e){if(e=Object(e),\"longStackTraces\"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&K()),\"warnings\"in e){var n=e.warnings;re.warnings=!!n,Y=re.warnings,D.isObject(n)&&\"wForgottenReturn\"in n&&(Y=!!n.wForgottenReturn)}if(\"cancellation\"in e&&e.cancellation&&!re.cancellation){if(B.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");t.prototype._clearCancellationData=u,t.prototype._propagateFrom=p,t.prototype._onCancel=s,t.prototype._setOnCancel=c,t.prototype._attachCancellationCallback=a,t.prototype._execute=o,X=p,re.cancellation=!0}\"monitoring\"in e&&(e.monitoring&&!re.monitoring?(re.monitoring=!0,t.prototype._fireEvent=Q):!e.monitoring&&re.monitoring&&(re.monitoring=!1,t.prototype._fireEvent=i))},t.prototype._fireEvent=i,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(r){return r}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var X=l,ee=function(){return!1},te=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;D.inherits(I,Error),n.CapturedTrace=I,I.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},I.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=k(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(w(i.stack.split(\"\\n\"))),i=i._parent;x(r),b(r),D.notEnumerableProp(e,\"stack\",y(n,r)),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}};var ne=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():E(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,L=e,$=t;var n=Error.captureStackTrace;return ee=function(e){return R.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return L=/@/,$=t,U=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?($=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?E(t):t.toString()},null):(L=e,$=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(M=function(e){console.warn(e)},D.isNode&&process.stderr.isTTY?M=function(e,t){var n=t?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+e+\"\u001b[0m\\n\")}:D.isNode||\"string\"!=typeof(new Error).stack||(M=function(e,t){console.warn(\"%c\"+e,t?\"color: darkorange\":\"color: red\")}));var re={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return W&&t.longStackTraces(),{longStackTraces:function(){return re.longStackTraces},warnings:function(){return re.warnings},cancellation:function(){return re.cancellation},monitoring:function(){return re.monitoring},propagateFromFunction:function(){return X},boundValueFunction:function(){return f},checkForgottenReturns:m,setBounds:T,warn:g,deprecated:v,CapturedTrace:I,fireDomEvent:G,fireGlobalEvent:J}}},{\"./errors\":26,\"./util\":50}],24:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],25:[function(e,t,n){\"use strict\";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return this.mapSeries(e)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,t){return r(e,t)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],26:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5\"),c=s.freeze,u=e(\"./util\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),s.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:x,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5\":27,\"./util\":50}],27:[function(e,t,n){var r=function(){\"use strict\";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,n){\nreturn e[t]=n.value,e},p=function(e){return e},l=function(e){try{return Object(e).constructor.prototype}catch(t){return a}},f=function(e){try{return\"[object Array]\"===o.call(e)}catch(t){return!1}};t.exports={isArray:f,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:p,getPrototypeOf:l,isES5:r,propertyIsWritable:function(){return!0}}}},{}],28:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],29:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function i(e){this.finallyHandler=e}function o(e,t){return null!=e.cancelPromise?(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0):!1}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){return o(this,e)?void 0:(l.e=e,l)}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f.isCancelled()){var d=new p(\"late cancellation observer\");return r._attachExtraTrace(d),l.e=d,l}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),l.e=e,l):(o(this),e)}var u=e(\"./util\"),p=t.CancellationError,l=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return\"function\"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{\"./util\":50}],30:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=d(n[o])(e);if(r._popContext(),a===f){r._pushContext();var s=t.reject(f.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function c(e,n,i,o){if(a.cancellation()){var s=new t(r),c=this._finallyPromise=new t(r);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else{var u=this._promise=new t(r);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}var u=e(\"./errors\"),p=u.TypeError,l=e(\"./util\"),f=l.errorObj,d=l.tryCatch,h=[];l.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),e=d(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new t.CancellationError(\"generator .return() sentinel\");t.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),e=d(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},c.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=d(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=d(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(e){var n=this._promise;if(e===f)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof t)&&(o=s(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new p(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",r)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var a=o._bitField;0===(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&a)?this._promiseFulfilled(o._value()):0!==(16777216&a)?this._promiseRejected(o._reason()):this._promiseCancelled()},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new p(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(t).yieldHandler,r=c,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new p(\"expecting a function but got \"+l.classString(e));h.push(e)},t.spawn=function(e){if(a.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors\":26,\"./util\":50}],31:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){return new Function(\"promise\",\"holder\",\"                           \\n            'use strict';                                                    \\n            holder.pIndex = promise;                                         \\n            \".replace(/Index/g,e))},f=function(e){for(var n=new Array(e),r=0;r<n.length;++r)n[r]=\"this.p\"+(r+1);var i=n.join(\" = \")+\" = null;\",o=\"var promise;\\n\"+n.map(function(e){return\"                                                         \\n                promise = \"+e+\";                                      \\n                if (promise instanceof Promise) {                            \\n                    promise.cancel();                                        \\n                }                                                            \\n            \"}).join(\"\\n\"),a=n.join(\", \"),s=\"Holder$\"+e,p=\"return function(tryCatch, errorObj, Promise) {           \\n            'use strict';                                                    \\n            function [TheName](fn) {                                         \\n                [TheProperties]                                              \\n                this.fn = fn;                                                \\n                this.now = 0;                                                \\n            }                                                                \\n            [TheName].prototype.checkFulfillment = function(promise) {       \\n                var now = ++this.now;                                        \\n                if (now === [TheTotal]) {                                    \\n                    promise._pushContext();                                  \\n                    var callback = this.fn;                                  \\n                    var ret = tryCatch(callback)([ThePassedArguments]);      \\n                    promise._popContext();                                   \\n                    if (ret === errorObj) {                                  \\n                        promise._rejectCallback(ret.e, false);               \\n                    } else {                                                 \\n                        promise._resolveCallback(ret);                       \\n                    }                                                        \\n                }                                                            \\n            };                                                               \\n                                                                             \\n            [TheName].prototype._resultCancelled = function() {              \\n                [CancellationCode]                                           \\n            };                                                               \\n                                                                             \\n            return [TheName];                                                \\n        }(tryCatch, errorObj, Promise);                                      \\n        \";return p=p.replace(/\\[TheName\\]/g,s).replace(/\\[TheTotal\\]/g,e).replace(/\\[ThePassedArguments\\]/g,a).replace(/\\[TheProperties\\]/g,i).replace(/\\[CancellationCode\\]/g,o),new Function(\"tryCatch\",\"errorObj\",\"Promise\",p)(c,u,t)},d=[],h=[],m=[],v=0;8>v;++v)d.push(f(v+1)),h.push(p(v+1)),m.push(l(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],8>=a&&s)){var c=new t(i);c._captureStackTrace();for(var u=d[a-1],p=new u(e),l=h,f=0;a>f;++f){var v=r(arguments[f],c);if(v instanceof t){v=v._target();var g=v._bitField;0===(50397184&g)?(v._then(l[f],o,void 0,c,p),m[f](v,p)):0!==(33554432&g)?l[f].call(c,v._value(),p):0!==(16777216&g)?c._reject(v._reason()):c._cancel()}else l[f].call(c,v,p)}return c._isFateSealed()||(c._setAsyncGuaranteed(),c._setOnCancel(p)),c}for(var y=arguments.length,b=new Array(y),x=0;y>x;++x)b[x]=arguments[x];e&&b.pop();var c=new n(b).promise();return void 0!==e?c.spread(e):c}}},{\"./util\":50}],32:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:d,this._init$(void 0,-2)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+p.classString(t));var o=\"object\"==typeof n&&null!==n?n.concurrency:0;return o=\"number\"==typeof o&&isFinite(o)&&o>=1?o:0,new s(e,t,o,i).promise()}var u=t._getDomain,p=e(\"./util\"),l=p.tryCatch,f=p.errorObj,d=[];p.inherits(s,n),s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,p=this._callback,d=u._boundValue();u._pushContext();var h=l(p).call(d,e,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?\"Promise.filter\":\"Promise.map\",u),h===f)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){v=v._target();var g=v._bitField;if(0===(50397184&g))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&g))return 0!==(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}var y=++this._totalResolved;return y>=o?(null!==s?this._filter(r,s):this._resolve(r),!0):!1},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},s.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},s.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return c(this,e,t,null)},t.map=function(e,t,n,r){return c(e,t,n,r)}}},{\"./util\":50}],33:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){var a=e(\"./util\"),s=a.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"expecting a function but got \"+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e){if(\"function\"!=typeof e)return i(\"expecting a function but got \"+a.classString(e));var r=new t(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var u=arguments[1],p=arguments[2];c=a.isArray(u)?s(e).apply(p,u):s(e).call(p,u)}else c=s(e)();var l=r._popContext();return o.checkForgottenReturns(c,l,\"Promise.try\",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{\"./util\":50}],34:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&p.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=p.keys(e),i=0;i<n.length;++i){var o=n[i];l.test(o)||(t[o]=e[o])}return t}return a.markAsOriginatingFromRejection(e),e}function o(e,t){return function(n,r){if(null!==e){if(n){var o=i(s(n));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var a=arguments.length,c=new Array(Math.max(a-1,0)),u=1;a>u;++u)c[u-1]=arguments[u];e._fulfill(c)}else e._fulfill(r);e=null}}}var a=e(\"./util\"),s=a.maybeWrapAsError,c=e(\"./errors\"),u=c.OperationalError,p=e(\"./es5\"),l=/^(?:name|message|stack|cause)$/;t.exports=o},{\"./errors\":26,\"./es5\":27,\"./util\":50}],35:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+\"\");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===c&&a.throwLater(i.e)}var o=e(\"./util\"),a=t._async,s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./util\":50}],36:[function(e,t,n){\"use strict\";t.exports=function(){function t(){}function n(e,t){if(\"function\"!=typeof t)throw new g(\"expecting a function but got \"+f.classString(t));if(e.constructor!==r)throw new g(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\")}function r(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==b&&(n(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function i(e){this.promise._resolveCallback(e)}function o(e){this.promise._rejectCallback(e,!1)}function a(e){var t=new r(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var s,c=function(){return new g(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new r.PromiseInspection(this._target())},p=function(e){return r.reject(new g(e))},l={},f=e(\"./util\");s=f.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},f.notEnumerableProp(r,\"_getDomain\",s);var d=e(\"./es5\"),h=e(\"./async\"),m=new h;d.defineProperty(r,\"_async\",{value:m});var v=e(\"./errors\"),g=r.TypeError=v.TypeError;r.RangeError=v.RangeError;var y=r.CancellationError=v.CancellationError;r.TimeoutError=v.TimeoutError,r.OperationalError=v.OperationalError,r.RejectionError=v.OperationalError,r.AggregateError=v.AggregateError;var b=function(){},x={},w={},_=e(\"./thenables\")(r,b),k=e(\"./promise_array\")(r,b,_,p,t),j=e(\"./context\")(r),S=j.create,E=e(\"./debuggability\")(r,j),O=(E.CapturedTrace,e(\"./finally\")(r,_)),A=e(\"./catch_filter\")(w),C=e(\"./nodeback\"),T=f.errorObj,I=f.tryCatch;return r.prototype.toString=function(){return\"[object Promise]\"},r.prototype.caught=r.prototype[\"catch\"]=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;t-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"expecting an object but got \"+f.classString(o));r[i++]=o}return r.length=i,e=arguments[n],this.then(void 0,A(r,e,this))}return this.then(void 0,e)},r.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},r.prototype.then=function(e,t){if(E.warnings()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var n=\".then() only accepts functions but was passed: \"+f.classString(e);arguments.length>1&&(n+=\", \"+f.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},r.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},r.prototype.spread=function(e){return\"function\"!=typeof e?p(\"expecting a function but got \"+f.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},r.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},r.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new k(this).promise()},r.prototype.error=function(e){return this.caught(f.originatesFromRejection,e)},r.is=function(e){return e instanceof r},r.fromNode=r.fromCallback=function(e){var t=new r(b);t._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,i=I(e)(C(t,n));return i===T&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},r.all=function(e){return new k(e).promise()},r.cast=function(e){var t=_(e);return t instanceof r||(t=new r(b),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},r.resolve=r.fulfilled=r.cast,r.reject=r.rejected=function(e){var t=new r(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},r.setScheduler=function(e){if(\"function\"!=typeof e)throw new g(\"expecting a function but got \"+f.classString(e));return m.setScheduler(e)},r.prototype._then=function(e,t,n,i,o){var a=void 0!==o,c=a?o:new r(b),u=this._target(),p=u._bitField;a||(c._propagateFrom(this,3),c._captureStackTrace(),void 0===i&&0!==(2097152&this._bitField)&&(i=0!==(50397184&p)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,c));var l=s();if(0!==(50397184&p)){var f,d,h=u._settlePromiseCtx;0!==(33554432&p)?(d=u._rejectionHandler0,f=e):0!==(16777216&p)?(d=u._fulfillmentHandler0,f=t,u._unsetRejectionIsUnhandled()):(h=u._settlePromiseLateCancellationObserver,d=new y(\"late cancellation observer\"),u._attachExtraTrace(d),f=t),m.invoke(h,u,{handler:null===l?f:\"function\"==typeof f&&l.bind(f),promise:c,receiver:i,value:d})}else u._addCallbacks(e,t,c,i,l);return c},r.prototype._length=function(){return 65535&this._bitField},r.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},r.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},r.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},r.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},r.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},r.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},r.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},r.prototype._isFinal=function(){return(4194304&this._bitField)>0},r.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},r.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},r.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},r.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},r.prototype._promiseAt=function(e){return this[4*e-4+2]},r.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},r.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},r.prototype._boundValue=function(){},r.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=l),this._addCallbacks(t,n,r,i,null)},r.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=l),this._addCallbacks(n,r,i,o,null)},r.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof e&&(this._fulfillmentHandler0=null===i?e:i.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,\"function\"==typeof e&&(this[a+0]=null===i?e:i.bind(e)),\"function\"==typeof t&&(this[a+1]=null===i?t:i.bind(t))}return this._setLength(o+1),o},r.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},r.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=_(e,this);if(!(n instanceof r))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i===this)return void this._reject(c());var o=i._bitField;if(0===(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;a>s;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if(0!==(33554432&o))this._fulfill(i._value());else if(0!==(16777216&o))this._reject(i._reason());else{var u=new y(\"late cancellation observer\");i._attachExtraTrace(u),this._reject(u)}}},r.prototype._rejectCallback=function(e,t,n){var r=f.ensureErrorObject(e),i=r===e;if(!i&&!n&&E.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,t?i:!1),this._reject(e)},r.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,n)});n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)},r.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;t===x?n&&\"number\"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=T,o.e=new g(\"cannot .spread() a non-array: \"+f.classString(n))):o=I(e).call(t,n);var a=r._popContext();i=r._bitField,0===(65536&i)&&(o===w?r._reject(n):o===T?r._rejectCallback(o.e,!1):(E.checkForgottenReturns(o,a,\"\",r,this),r._resolveCallback(o)))}},r.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},r.prototype._followee=function(){return this._rejectionHandler0},r.prototype._setFollowee=function(e){this._rejectionHandler0=e},r.prototype._settlePromise=function(e,n,i,o){var a=e instanceof r,s=this._bitField,c=0!==(134217728&s);0!==(65536&s)?(a&&e._invokeInternalOnCancel(),i instanceof O&&i.isFinallyHandler()?(i.cancelPromise=e,I(n).call(i,o)===T&&e._reject(T.e)):n===u?e._fulfill(u.call(i)):i instanceof t?i._promiseCancelled(e):a||e instanceof k?e._cancel():i.cancel()):\"function\"==typeof n?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(n,i,o,e)):n.call(i,o,e):i instanceof t?i._isResolved()||(0!==(33554432&s)?i._promiseFulfilled(o,e):i._promiseRejected(o,e)):a&&(c&&e._setAsyncGuaranteed(),0!==(33554432&s)?e._fulfill(o):e._reject(o))},r.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,o=e.value;\"function\"==typeof t?n instanceof r?this._settlePromiseFromHandler(t,i,o,n):t.call(i,o,n):n instanceof r&&n._reject(o)},r.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},r.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},r.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},r.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():m.settlePromises(this))}},r.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?m.fatalError(e,f.isNode):void((65535&t)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},r.prototype._fulfillPromises=function(e,t){for(var n=1;e>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._rejectPromises=function(e,t){for(var n=1;e>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},r.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},r.defer=r.pending=function(){E.deprecated(\"Promise.defer\",\"new Promise\");var e=new r(b);return{promise:e,resolve:i,reject:o}},f.notEnumerableProp(r,\"_makeSelfResolutionError\",c),e(\"./method\")(r,b,_,p,E),e(\"./bind\")(r,b,_,E),e(\"./cancel\")(r,k,p,E),e(\"./direct_resolve\")(r),e(\"./synchronous_inspection\")(r),e(\"./join\")(r,k,_,b,E),r.Promise=r,e(\"./map.js\")(r,k,p,_,b,E),e(\"./call_get.js\")(r),e(\"./using.js\")(r,p,_,S,b,E),e(\"./timers.js\")(r,b,E),e(\"./generators.js\")(r,p,b,_,t,E),e(\"./nodeify.js\")(r),e(\"./promisify.js\")(r,b),e(\"./props.js\")(r,k,_,p),e(\"./race.js\")(r,b,_,p),e(\"./reduce.js\")(r,k,p,_,b,E),e(\"./settle.js\")(r,k,E),e(\"./some.js\")(r,k,p),e(\"./filter.js\")(r,b),e(\"./each.js\")(r,b),e(\"./any.js\")(r),f.toFastProperties(r),f.toFastProperties(r.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new r(b)),E.setBounds(h.firstLineError,f.lastLineError),r}},{\"./any.js\":15,\"./async\":16,\"./bind\":17,\"./call_get.js\":19,\"./cancel\":20,\"./catch_filter\":21,\"./context\":22,\"./debuggability\":23,\"./direct_resolve\":24,\"./each.js\":25,\"./errors\":26,\"./es5\":27,\"./filter.js\":28,\"./finally\":29,\"./generators.js\":30,\"./join\":31,\"./map.js\":32,\"./method\":33,\"./nodeback\":34,\"./nodeify.js\":35,\"./promise_array\":37,\"./promisify.js\":38,\"./props.js\":39,\"./race.js\":41,\"./reduce.js\":42,\"./settle.js\":44,\"./some.js\":45,\"./synchronous_inspection\":46,\"./thenables\":47,\"./timers.js\":48,\"./using.js\":49,\"./util\":50}],37:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e(\"./util\");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function u(e,n){var o=r(this._values,this._promise);if(o instanceof t){o=o._target();var s=o._bitField;if(this._values=o,0===(50397184&s))return this._promise._setAsyncGuaranteed(),o._then(u,this._reject,void 0,this,n);if(0===(33554432&s))return 0!==(16777216&s)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var p=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(p,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(a(n))):void this._iterate(o)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;n>s;++s){var c=r(e[s],i);c instanceof t?(c=c._target(),a=c._bitField):a=null,o?null!==a&&c.suppressUnhandledRejections():null!==a?0===(50397184&a)?(c._proxy(this,s),this._values[s]=c):o=0!==(33554432&a)?this._promiseFulfilled(c._value(),s):0!==(16777216&a)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(c,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise.isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{\"./util\":50}],38:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o,a,s){function c(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof p&&this!==u?this[p]:e,c=h(o,s);try{a.apply(i,m(arguments,c))}catch(l){o._rejectCallback(v(l),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),p=e;return\"string\"==typeof p&&(e=o),d.notEnumerableProp(c,\"__isPromisified__\",!0),c}function u(e,t,n,r,i){for(var o=new RegExp(j(t)+\"$\"),a=s(e,t,o,n),c=0,u=a.length;u>c;c+=2){var p=a[c],l=a[c+1],h=p+t;if(r===C)e[h]=C(p,f,p,l,t,i);else{var m=r(l,function(){return C(p,f,p,l,t,i)});d.notEnumerableProp(m,\"__isPromisified__\",!0),e[h]=m}}return d.toFastProperties(e),e}function p(e,t,n){return C(e,t,void 0,e,null,n);\n}var l,f={},d=e(\"./util\"),h=e(\"./nodeback\"),m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o,a,s){function c(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=g?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function u(){for(var e=\"\",t=0;t<l.length;++t)e+=\"case \"+l[t]+\":\"+c(l[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",g?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var p=Math.max(0,A(o)-1),l=S(p),g=\"string\"==typeof e||r===f,y=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\",b=\"'use strict';                                                \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise, \"+s+\");   \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n    \".replace(\"[CodeForSwitchCase]\",u()).replace(\"[GetFunctionCode]\",y);return b=b.replace(\"Parameters\",O(p)),new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",b)(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"expecting a function but got \"+d.classString(e));if(i(e))return e;t=Object(t);var n=void 0===t.context?f:t.context,o=!!t.multiArgs,a=p(e,n,o);return d.copyDescriptors(e,a,r),a},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");t=Object(t);var n=!!t.multiArgs,r=t.suffix;\"string\"!=typeof r&&(r=b);var i=t.filter;\"function\"!=typeof i&&(i=k);var o=t.promisifier;if(\"function\"!=typeof o&&(o=C),!d.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var a=d.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];\"constructor\"!==a[s]&&d.isClass(c)&&(u(c.prototype,r,i,o,n),u(c,r,i,o,n))}return u(e,r,i,o,n)}}},{\"./errors\":26,\"./nodeback\":34,\"./util\":50}],39:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){var t,n=!1;if(void 0!==s&&e instanceof s)t=l(e),n=!0;else{var r=p.keys(e),i=r.length;t=new Array(2*i);for(var o=0;i>o;++o){var a=r[o];t[o]=e[a],t[o+i]=a}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function a(e){var n,a=r(e);return u(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var s,c=e(\"./util\"),u=c.isObject,p=e(\"./es5\");\"function\"==typeof Map&&(s=Map);var l=function(){function e(e,r){this[t]=e,this[t+n]=r,t++}var t=0,n=0;return function(r){n=r.size,t=0;var i=new Array(2*r.size);return r.forEach(e,i),i}}(),f=function(e){for(var t=new s,n=e.length/2|0,r=0;n>r;++r){var i=e[n+r],o=e[r];t.set(i,o)}return t};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5\":27,\"./util\":50}],40:[function(e,t,n){\"use strict\";function r(e,t,n,r,i){for(var o=0;i>o;++o)n[o+r]=e[o+t],e[o+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=this._front,r=(n-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,i=this._length,o=n+i&t-1;r(this,0,this,t,o)},t.exports=i},{}],41:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(e=a.asArray(e),null===e)return i(\"expecting an array or an iterable object but got \"+a.classString(e));var u=new t(n);void 0!==o&&u._propagateFrom(o,3);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util\"),s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util\":50}],42:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r,i){this.constructor$(e);var a=f();this._fn=null===a?n:a.bind(n),void 0!==r&&(r=t.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?[]:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+d.classString(t));var o=new s(e,t,n,i);return o.promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(l,void 0,void 0,this,void 0)):l.call(this,n)}function l(e){var n=this.array,r=n._promise,i=h(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),e,this.index,this.length):i.call(r._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(n._currentCancellable=o);var s=r._popContext();return a.checkForgottenReturns(o,s,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var f=t._getDomain,d=e(\"./util\"),h=d.tryCatch;d.inherits(s,n),s.prototype._gotAccum=function(e){void 0!==this._eachValues&&e!==o&&this._eachValues.push(e)},s.prototype._eachComplete=function(e){return this._eachValues.push(e),this._eachValues},s.prototype._init=function(){},s.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},s.prototype.shouldCopyValues=function(){return!1},s.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},s.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},s.prototype._iterate=function(e){this._values=e;var n,r,i=e.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,r){return u(e,t,n,r)}}},{\"./util\":50}],43:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},a=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var s=n.setImmediate,c=process.nextTick;r=i.isRecentNode?function(e){s.call(n,e)}:function(e){c.call(process,e)}}else if(\"function\"==typeof a){var u=a.resolve();r=function(e){u.then(e)}}else r=\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:function(){var e=document.createElement(\"div\"),t={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){e.classList.toggle(\"foo\"),n=!1});i.observe(r,t);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(e,t),o()}}();t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":50}],44:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e)}var o=t.PromiseInspection,a=e(\"./util\");a.inherits(i,n),i.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(\".settle()\",\".reflect()\"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{\"./util\":50}],45:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util\"),s=e(\"./errors\").RangeError,c=e(\"./errors\").AggregateError,u=a.isArray,p={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(p),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t<this._values.length;++t)this._values[t]!==p&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors\":26,\"./util\":50}],46:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=e.prototype._isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype.isCancelled=function(){return this._target()._isCancelled()},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],47:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(p(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(t){return u.e=t,u}}function a(e){return l.call(e,\"_promise0\")}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,l,!0),s=null)}var s=new t(n),p=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var l=!0,f=c.tryCatch(r).call(e,o,a);return l=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),p}var c=e(\"./util\"),u=c.errorObj,p=c.isObject,l={}.hasOwnProperty;return r}},{\"./util\":50}],48:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e(\"./util\"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return p(+this).thenReturn(e)},p=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s))),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return p(e,this)};var l=function(e,t,n){var r;r=\"string\"!=typeof t?t instanceof Error?t:new c(\"operation timed out\"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&l(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{\"./util\":50}],49:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return p._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(l){return s(l)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,p=new t(o);return i(),p}function p(e,t,n){this._data=e,this._promise=t,this._context=n}function l(e,t,n){this.constructor$(e,t,n)}function f(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function d(e){this.length=e,this.promise=null,this[e-1]=null}var h=e(\"./util\"),m=e(\"./errors\").TypeError,v=e(\"./util\").inherits,g=h.errorObj,y=h.tryCatch;p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},p.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},p.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},v(l,p),l.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},d.prototype._resultCancelled=function(){for(var e=this.length,n=0;e>n;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+h.classString(i));var o,s=!0;2===e&&Array.isArray(arguments[0])?(o=arguments[0],e=o.length,s=!1):(o=arguments,e--);for(var c=new d(e),l=0;e>l;++l){var m=o[l];if(p.isDisposer(m)){var v=m;m=m.promise(),m._setDisposable(v)}else{var b=r(m);b instanceof t&&(m=b._then(f,null,null,{resources:c,index:l},void 0))}c[l]=m}for(var x=new Array(c.length),l=0;l<x.length;++l)x[l]=t.resolve(c[l]).reflect();var w=t.all(x).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return g.e=n.error(),g;if(!n.isFulfilled())return void w.cancel();e[t]=n.value()}_._pushContext(),i=y(i);var r=s?i.apply(void 0,e):i(e),o=_._popContext();return a.checkForgottenReturns(r,o,\"Promise.using\",_),r}),_=w.lastly(function(){var e=new t.PromiseInspection(w);return u(c,e)});return c.promise=_,_._setOnCancel(c),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new l(e,this,i());throw new m}}},{\"./errors\":26,\"./util\":50}],50:[function(e,t,n){(function(n){\"use strict\";function r(){try{var e=A;return A=null,e.apply(this,arguments)}catch(t){return O.e=t,O}}function i(e){return A=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!S.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return S.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=S.names(e.prototype),n=S.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=P.test(e+\"\")&&S.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return F.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){return null!==e&&\"object\"==typeof e&&\"string\"==typeof e.message&&\"string\"==typeof e.name}function y(e){try{p(e,\"isOperational\",!0)}catch(t){}}function b(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function x(e){return g(e)&&S.propertyIsWritable(e,\"stack\")}function w(e){return{}.toString.call(e)}function _(e,t,n){for(var r=S.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{S.defineProperty(t,o,S.getDescriptor(e,o))}catch(a){}}}function k(e,t){return N?process.env[e]:t}function j(){if(\"function\"==typeof Promise)try{var e=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(e))return Promise}catch(t){}}var S=e(\"./es5\"),E=\"undefined\"==typeof navigator,O={e:{}},A,C=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof n?n:void 0!==this?this:null,T=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},I=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(S.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=S.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),P=/this\\s*\\.\\s*\\S+\\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,M=function(){return\"stack\"in new Error?function(e){return x(e)?e:new Error(v(e))}:function(e){if(x(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),z=function(e){return S.isArray(e)?e:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var B=\"function\"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};z=function(e){return S.isArray(e)?e:null!=e&&\"function\"==typeof e[Symbol.iterator]?B(e):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),D={isClass:f,isIdentifier:h,inheritedDataKeys:I,getDataPropertyOrDefault:u,thrower:l,isArray:S.isArray,asArray:z,notEnumerableProp:p,isPrimitive:o,isObject:a,isError:g,canEvaluate:E,errorObj:O,tryCatch:i,inherits:T,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:x,ensureErrorObject:M,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:w,copyDescriptors:_,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,env:k,global:C,getNativePromise:j};D.isRecentNode=D.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),D.isNode&&D.toFastProperties(process);try{throw new Error}catch(q){D.lastLineError=q}t.exports=D}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./es5\":27}],51:[function(e,t,n){var r=e(\"http\"),i=e(\"hoek\"),o={};n.wrap=function(e,t,n){return i.assert(e instanceof Error,\"Cannot wrap non-Error object\"),e.isBoom?e:o.initialize(e,t||500,n)},n.create=function(e,t,r){return o.create(e,t,r,n.create)},o.create=function(e,t,n,r){var i=new Error(t?t:void 0);return Error.captureStackTrace(i,r),i.data=n||null,o.initialize(i,e),i},o.initialize=function(e,t,n){var r=parseInt(t,10);return i.assert(!isNaN(r)&&r>=400,\"First argument must be a number (400+):\",t),e.isBoom=!0,e.isServer=r>=500,e.hasOwnProperty(\"data\")||(e.data=null),e.output={statusCode:r,payload:{},headers:{}},e.reformat=o.reformat,e.reformat(),n||e.message||(n=e.output.payload.error),n&&(e.message=n+(e.message?\": \"+e.message:\"\")),e},o.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=r.STATUS_CODES[this.output.statusCode]||\"Unknown\",500===this.output.statusCode?this.output.payload.message=\"An internal server error occurred\":this.message&&(this.output.payload.message=this.message)},n.badRequest=function(e,t){return o.create(400,e,t,n.badRequest)},n.unauthorized=function(e,t,r){var a=o.create(401,e,void 0,n.unauthorized);if(!t)return a;var s=\"\",c=0,u=0;if(\"string\"==typeof t){if(s=t,(r||e)&&(a.output.payload.attributes={}),r){var p=Object.keys(r);for(c=0,u=p.length;u>c;++c){var l=p[c];c&&(s+=\",\");var f=r[l];null!==f&&void 0!==f||(f=\"\"),s+=\" \"+l+'=\"'+i.escapeHeaderAttribute(f.toString())+'\"',a.output.payload.attributes[l]=f}}e?(r&&(s+=\",\"),s+=' error=\"'+i.escapeHeaderAttribute(e)+'\"',a.output.payload.attributes.error=e):a.isMissing=!0}else{var d=t;for(c=0,u=d.length;u>c;++c)c&&(s+=\", \"),s+=d[c]}return a.output.headers[\"WWW-Authenticate\"]=s,a},n.forbidden=function(e,t){return o.create(403,e,t,n.forbidden)},n.notFound=function(e,t){return o.create(404,e,t,n.notFound)},n.methodNotAllowed=function(e,t){return o.create(405,e,t,n.methodNotAllowed)},n.notAcceptable=function(e,t){return o.create(406,e,t,n.notAcceptable)},n.proxyAuthRequired=function(e,t){return o.create(407,e,t,n.proxyAuthRequired)},n.clientTimeout=function(e,t){return o.create(408,e,t,n.clientTimeout)},n.conflict=function(e,t){return o.create(409,e,t,n.conflict)},n.resourceGone=function(e,t){return o.create(410,e,t,n.resourceGone)},n.lengthRequired=function(e,t){return o.create(411,e,t,n.lengthRequired)},n.preconditionFailed=function(e,t){return o.create(412,e,t,n.preconditionFailed)},n.entityTooLarge=function(e,t){return o.create(413,e,t,n.entityTooLarge)},n.uriTooLong=function(e,t){return o.create(414,e,t,n.uriTooLong)},n.unsupportedMediaType=function(e,t){return o.create(415,e,t,n.unsupportedMediaType)},n.rangeNotSatisfiable=function(e,t){return o.create(416,e,t,n.rangeNotSatisfiable)},n.expectationFailed=function(e,t){return o.create(417,e,t,n.expectationFailed)},n.badData=function(e,t){return o.create(422,e,t,n.badData)},n.preconditionRequired=function(e,t){return o.create(428,e,t,n.preconditionRequired)},n.tooManyRequests=function(e,t){return o.create(429,e,t,n.tooManyRequests)},n.internal=function(e,t,r){return o.serverError(e,t,r,n.internal)},o.serverError=function(e,t,r,i){var a;return t instanceof Error?a=n.wrap(t,r,e):(a=o.create(r||500,e,void 0,i),a.data=t),a},n.notImplemented=function(e,t){return o.serverError(e,t,501,n.notImplemented)},n.badGateway=function(e,t){return o.serverError(e,t,502,n.badGateway)},n.serverTimeout=function(e,t){return o.serverError(e,t,503,n.serverTimeout)},n.gatewayTimeout=function(e,t){return o.serverError(e,t,504,n.gatewayTimeout)},n.badImplementation=function(e,t){var r=o.serverError(e,t,500,n.badImplementation);return r.isDeveloperError=!0,r}},{hoek:149,http:void 0}],52:[function(e,t,n){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);if(this._bsontype=\"Binary\",e instanceof Number?(this.sub_type=e,this.position=0):(this.sub_type=null==t?o:t,this.position=0),null==e||e instanceof Number)\"undefined\"!=typeof i?this.buffer=new i(r.BUFFER_SIZE):\"undefined\"!=typeof Uint8Array?this.buffer=new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE)):this.buffer=new Array(r.BUFFER_SIZE),this.position=0;else{if(\"string\"==typeof e)if(\"undefined\"!=typeof i)this.buffer=new i(e);else{if(\"undefined\"==typeof Uint8Array&&\"[object Array]\"!=Object.prototype.toString.call(e))throw new Error(\"only String, Buffer, Uint8Array or Array accepted\");this.buffer=a(e)}else this.buffer=e;this.position=e.length}}if(\"undefined\"!=typeof n)var i=e(\"buffer\").Buffer;r.prototype.put=function(e){if(null!=e.length&&\"number\"!=typeof e&&1!=e.length)throw new Error(\"only accepts single character String, Uint8Array or Array\");if(\"number\"!=typeof e&&0>e||e>255)throw new Error(\"only accepts number in a valid unsigned byte range 0-255\");var t=null;if(t=\"string\"==typeof e?e.charCodeAt(0):null!=e.length?e[0]:e,this.buffer.length>this.position)this.buffer[this.position++]=t;else if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer)){var n=new i(r.BUFFER_SIZE+this.buffer.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n,this.buffer[this.position++]=t}else{var n=null;n=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE+this.buffer.length)):new Array(r.BUFFER_SIZE+this.buffer.length);for(var o=0;o<this.buffer.length;o++)n[o]=this.buffer[o];this.buffer=n,this.buffer[this.position++]=t}},r.prototype.write=function(e,t){if(t=\"number\"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=null;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))n=new i(this.buffer.length+e.length),this.buffer.copy(n,0,0,this.buffer.length);else if(\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)){\nn=new Uint8Array(new ArrayBuffer(this.buffer.length+e.length));for(var r=0;r<this.position;r++)n[r]=this.buffer[r]}this.buffer=n}if(\"undefined\"!=typeof i&&i.isBuffer(e)&&i.isBuffer(this.buffer))e.copy(this.buffer,t,0,e.length),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"undefined\"!=typeof i&&\"string\"==typeof e&&i.isBuffer(this.buffer))this.buffer.write(e,t,\"binary\"),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"[object Uint8Array]\"==Object.prototype.toString.call(e)||\"[object Array]\"==Object.prototype.toString.call(e)&&\"string\"!=typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e[r];this.position=t>this.position?t:this.position}else if(\"string\"==typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e.charCodeAt(r);this.position=t>this.position?t:this.position}},r.prototype.read=function(e,t){if(t=t&&t>0?t:this.position,this.buffer.slice)return this.buffer.slice(e,e+t);for(var n=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(t)):new Array(t),r=0;t>r;r++)n[r]=this.buffer[e++];return n},r.prototype.value=function(e){if(e=null==e?!1:e,e&&\"undefined\"!=typeof i&&i.isBuffer(this.buffer)&&this.buffer.length==this.position)return this.buffer;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))return e?this.buffer.slice(0,this.position):this.buffer.toString(\"binary\",0,this.position);if(e){if(null!=this.buffer.slice)return this.buffer.slice(0,this.position);for(var t=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(this.position)):new Array(this.position),n=0;n<this.position;n++)t[n]=this.buffer[n];return t}return s(this.buffer,0,this.position)},r.prototype.length=function(){return this.position},r.prototype.toJSON=function(){return null!=this.buffer?this.buffer.toString(\"base64\"):\"\"},r.prototype.toString=function(e){return null!=this.buffer?this.buffer.slice(0,this.position).toString(e):\"\"};var o=0,a=function(e){for(var t=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(e.length)):new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},s=function(e,t,n){for(var r=\"\",i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r};r.BUFFER_SIZE=256,r.SUBTYPE_DEFAULT=0,r.SUBTYPE_FUNCTION=1,r.SUBTYPE_BYTE_ARRAY=2,r.SUBTYPE_UUID_OLD=3,r.SUBTYPE_UUID=4,r.SUBTYPE_MD5=5,r.SUBTYPE_USER_DEFINED=128,t.exports=r,t.exports.Binary=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{buffer:void 0}],53:[function(e,t,n){function i(e,t){return this instanceof i?(this.bigEndian=e,void(this.allowExceptions=t)):new i(e,t)}function o(e,t){this.bigEndian=e||0,this.buffer=[],this.setBuffer(t)}for(var a=String.fromCharCode,s=[],c=0;64>c;c++)s[c]=Math.pow(2,c);i.warn=function(e){if(this.allowExceptions)throw new Error(e);return 1},i.decodeFloat=function(e,t,n){var r=new this.Buffer(this.bigEndian,e);r.checkBuffer(t+n+1);var i=s[n-1]-1,o=r.readBits(t+n,1),a=r.readBits(t,n),c=0,u=2,p=r.buffer.length+(-t>>3)-1;do for(var l=r.buffer[++p],f=t%8||8,d=1<<f;d>>=1;l&d&&(c+=1/u),u*=2);while(t-=f);return a==(i<<1)+1?c?NaN:o?-(1/0):+(1/0):(1+-2*o)*(a||c?a?Math.pow(2,a-i)*(1+c):Math.pow(2,-i+1)*c:0)},i.decodeInt=function(e,t,n,r){var i=new this.Buffer(this.bigEndian||r,e),o=i.readBits(0,t),a=s[t];return n&&o>=a/2?o-a:o},i.encodeFloat=function(e,t,n){var i,o,a,c,u,p=s[n-1]-1,l=-p+1,f=p,d=l-t,h=parseFloat(e),m=isNaN(h)||h==-(1/0)||h==+(1/0)?h:0,v=0,g=2*p+1+t+3,y=new Array(g),b=(h=0!==m?0:h)<0,x=Math.floor(h=Math.abs(h)),w=h-x;for(c=g;c;y[--c]=0);for(c=p+2;x&&c;y[--c]=x%2,x=Math.floor(x/2));for(c=p+1;w>0&&c;(y[++c]=((w*=2)>=1)-0)&&--w);for(c=-1;++c<g&&!y[c];);if(y[(i=t-1+(c=(v=p+1-c)>=l&&f>=v?c+1:p+1-(v=l-1)))+1]){if(!(o=y[i]))for(u=i+2;!o&&g>u;o=y[u++]);for(u=i+1;o&&--u>=0;(y[u]=!y[u]-0)&&(o=0));}for(c=0>c-2?-1:c-3;++c<g&&!y[c];);for((v=p+1-c)>=l&&f>=v?++c:l>v&&(v!=p+1-g&&d>v&&this.warn(\"encodeFloat::float underflow\"),c=p+1-(v=l-1)),(x||0!==m)&&(this.warn(x?\"encodeFloat::float overflow\":\"encodeFloat::\"+m),v=f+1,c=p+2,m==-(1/0)?b=1:isNaN(m)&&(y[c]=1)),h=Math.abs(v+p),u=n+1,a=\"\";--u;a=h%2+a,h=h>>=1);for(h=0,u=0,c=(a=(b?\"1\":\"0\")+a+y.slice(c,c+t).join(\"\")).length,r=[];c;u=(u+1)%8)h+=(1<<u)*a.charAt(--c),7==u&&(r[r.length]=String.fromCharCode(h),h=0);return r[r.length]=h?String.fromCharCode(h):\"\",(this.bigEndian?r.reverse():r).join(\"\")},i.encodeInt=function(e,t,n,r){var i=s[t];(e>=i||-(i/2)>e)&&(this.warn(\"encodeInt::overflow\"),e=0),0>e&&(e+=i);for(var o=[];e;o[o.length]=String.fromCharCode(e%256),e=Math.floor(e/256));for(t=-(-t>>3)-o.length;t--;o[o.length]=\"\\x00\");return(this.bigEndian||r?o.reverse():o).join(\"\")},i.toSmall=function(e){return this.decodeInt(e,8,!0)},i.fromSmall=function(e){return this.encodeInt(e,8,!0)},i.toByte=function(e){return this.decodeInt(e,8,!1)},i.fromByte=function(e){return this.encodeInt(e,8,!1)},i.toShort=function(e){return this.decodeInt(e,16,!0)},i.fromShort=function(e){return this.encodeInt(e,16,!0)},i.toWord=function(e){return this.decodeInt(e,16,!1)},i.fromWord=function(e){return this.encodeInt(e,16,!1)},i.toInt=function(e){return this.decodeInt(e,32,!0)},i.fromInt=function(e){return this.encodeInt(e,32,!0)},i.toLong=function(e){return this.decodeInt(e,64,!0)},i.fromLong=function(e){return this.encodeInt(e,64,!0)},i.toDWord=function(e){return this.decodeInt(e,32,!1)},i.fromDWord=function(e){return this.encodeInt(e,32,!1)},i.toQWord=function(e){return this.decodeInt(e,64,!0)},i.fromQWord=function(e){return this.encodeInt(e,64,!0)},i.toFloat=function(e){return this.decodeFloat(e,23,8)},i.fromFloat=function(e){return this.encodeFloat(e,23,8)},i.toDouble=function(e){return this.decodeFloat(e,52,11)},i.fromDouble=function(e){return this.encodeFloat(e,52,11)},i.encode_int32=function(e,t){var n,r,i,o,s;return s=0>e?e+4294967296:e,n=Math.floor(s/16777215),s&=16777215,r=Math.floor(s/65535),s&=65535,i=Math.floor(s/255),s&=255,o=Math.floor(s),t?[a(n),a(r),a(i),a(o)]:a(n)+a(r)+a(i)+a(o)},i.encode_int64=function(e){var t,n,r,i,o,s,c,u,p;return p=0>e?e+0x10000000000000000:e,t=Math.floor(p/72057594037927940),p&=72057594037927940,n=Math.floor(p/0xffffffffffff),p&=0xffffffffffff,r=Math.floor(p/0xffffffffff),p&=0xffffffffff,i=Math.floor(p/4294967295),p&=4294967295,o=Math.floor(p/16777215),p&=16777215,s=Math.floor(p/65535),p&=65535,c=Math.floor(p/255),p&=255,u=Math.floor(p),a(t)+a(n)+a(r)+a(i)+a(o)+a(s)+a(c)+a(u)},i.decode_utf8=function(e){for(var t,n=e.length,r=\"\",i=0,o=0,a=0;n>i;)o=e.charCodeAt(i),128>o?(r+=String.fromCharCode(o),i++):o>191&&224>o?(a=e.charCodeAt(i+1),r+=String.fromCharCode((31&o)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),t=e.charCodeAt(i+2),r+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&t),i+=3);return r},i.encode_cstring=function(e){return unescape(encodeURIComponent(e))+i.fromByte(0)},i.encode_utf8=function(e){for(var t,n=\"\",r=0,i=e.length;i>r;r++)t=e.charCodeAt(r),128>t?n+=String.fromCharCode(t):t>127&&2048>t?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},i.hprint=function(e){for(var t,n=0,r=e.length;r>n;n++)e.charCodeAt(n)<32?(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \")):(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \"));process.stdout.write(\"\\n\\n\")},i.ilprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \"+t.charAt(r)))},i.hlprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \"+t.charAt(r)))},o.prototype.setBuffer=function(e){var t,n,r;if(e){for(n=t=e.length,r=this.buffer=new Array(t);n;r[t-n]=e.charCodeAt(--n));this.bigEndian&&r.reverse()}},o.prototype.hasNeededBits=function(e){return this.buffer.length>=-(-e>>3)},o.prototype.checkBuffer=function(e){if(!this.hasNeededBits(e))throw new Error(\"checkBuffer::missing bytes\")},o.prototype.readBits=function(e,t){function n(e,t){for(;t--;e=1073741824==(1073741824&(e%=2147483648))?2*e:2*(e-1073741824)+2147483647+1);return e}if(0>e||0>=t)return 0;this.checkBuffer(e+t);for(var r,i=e%8,o=this.buffer.length-(e>>3)-1,a=this.buffer.length+(-(e+t)>>3),s=o-a,c=(this.buffer[o]>>i&(1<<(s?8-i:t))-1)+(s&&(r=(e+t)%8)?(this.buffer[a++]&(1<<r)-1)<<(s--<<3)-i:0);s;c+=n(this.buffer[a++],(s--<<3)-i));return c},i.Buffer=o,n.BinaryParser=i},{util:void 0}],54:[function(e,t,n){(function(n){var r=(e(\"./float_parser\").writeIEEE754,e(\"./float_parser\").readIEEE754,e(\"./map\")),i=e(\"./long\").Long,o=e(\"./double\").Double,a=e(\"./timestamp\").Timestamp,s=e(\"./objectid\").ObjectID,c=e(\"./regexp\").BSONRegExp,u=e(\"./symbol\").Symbol,p=e(\"./code\").Code,l=e(\"./min_key\").MinKey,f=e(\"./max_key\").MaxKey,d=e(\"./db_ref\").DBRef,h=e(\"./binary\").Binary,m=e(\"./parser/deserializer\"),v=e(\"./parser/serializer\"),g=e(\"./parser/calculate_size\"),y=17825792,b=new n(y),x=function(){};x.prototype.serialize=function(e,t,r,i,o,a){var s=v(b,e,t,o||0,0,i,a),c=new n(s);return b.copy(c,0,0,c.length),c},x.prototype.serializeWithBufferAndIndex=function(e,t,n,r,i,o){var a=v(b,e,t,r||0,0,i,o);return b.copy(n,r,0,a),r+a-1},x.prototype.deserialize=function(e,t){return m(e,t)},x.prototype.calculateObjectSize=function(e,t,n){return g(e,t,n)},x.prototype.deserializeStream=function(e,t,n,r,i,o){o=null!=o?o:{};for(var a=t,s=0;n>s;s++){var c=e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24;o.index=a,r[i+s]=this.deserialize(e,o),a+=c}return a},x.BSON_INT32_MAX=2147483647,x.BSON_INT32_MIN=-2147483648,x.BSON_INT64_MAX=Math.pow(2,63)-1,x.BSON_INT64_MIN=-Math.pow(2,63),x.JS_INT_MAX=9007199254740992,x.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);x.BSON_DATA_NUMBER=1,x.BSON_DATA_STRING=2,x.BSON_DATA_OBJECT=3,x.BSON_DATA_ARRAY=4,x.BSON_DATA_BINARY=5,x.BSON_DATA_OID=7,x.BSON_DATA_BOOLEAN=8,x.BSON_DATA_DATE=9,x.BSON_DATA_NULL=10,x.BSON_DATA_REGEXP=11,x.BSON_DATA_CODE=13,x.BSON_DATA_SYMBOL=14,x.BSON_DATA_CODE_W_SCOPE=15,x.BSON_DATA_INT=16,x.BSON_DATA_TIMESTAMP=17,x.BSON_DATA_LONG=18,x.BSON_DATA_MIN_KEY=255,x.BSON_DATA_MAX_KEY=127,x.BSON_BINARY_SUBTYPE_DEFAULT=0,x.BSON_BINARY_SUBTYPE_FUNCTION=1,x.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,x.BSON_BINARY_SUBTYPE_UUID=3,x.BSON_BINARY_SUBTYPE_MD5=4,x.BSON_BINARY_SUBTYPE_USER_DEFINED=128,t.exports=x,t.exports.Code=p,t.exports.Map=r,t.exports.Symbol=u,t.exports.BSON=x,t.exports.DBRef=d,t.exports.Binary=h,t.exports.ObjectID=s,t.exports.Long=i,t.exports.Timestamp=a,t.exports.Double=o,t.exports.MinKey=l,t.exports.MaxKey=f,t.exports.BSONRegExp=c}).call(this,e(\"buffer\").Buffer)},{\"./binary\":52,\"./code\":55,\"./db_ref\":56,\"./double\":57,\"./float_parser\":58,\"./long\":60,\"./map\":61,\"./max_key\":62,\"./min_key\":63,\"./objectid\":64,\"./parser/calculate_size\":65,\"./parser/deserializer\":66,\"./parser/serializer\":67,\"./regexp\":68,\"./symbol\":69,\"./timestamp\":70,buffer:void 0}],55:[function(e,t,n){var r=function i(e,t){return this instanceof i?(this._bsontype=\"Code\",this.code=e,void(this.scope=null==t?{}:t)):new i(e,t)};r.prototype.toJSON=function(){return{scope:this.scope,code:this.code}},t.exports=r,t.exports.Code=r},{}],56:[function(e,t,n){function r(e,t,n){return this instanceof r?(this._bsontype=\"DBRef\",this.namespace=e,this.oid=t,void(this.db=n)):new r(e,t,n)}r.prototype.toJSON=function(){return{$ref:this.namespace,$id:this.oid,$db:null==this.db?\"\":this.db}},t.exports=r,t.exports.DBRef=r},{}],57:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Double\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Double=r},{}],58:[function(e,t,n){var r=function(e,t,n,r,i){var o,a,s=\"big\"===n,c=8*i-r-1,u=(1<<c)-1,p=u>>1,l=-7,f=s?0:i-1,d=s?1:-1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-p;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=p}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,s,c,u=\"big\"===r,p=8*o-i-1,l=(1<<p)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=u?o-1:0,m=u?-1:1,v=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<<i|s,p+=i;p>0;e[n+h]=255&a,h+=m,a/=256,p-=8);e[n+h-m]|=128*v};n.readIEEE754=r,n.writeIEEE754=i},{}],59:[function(e,t,n){try{n.BSONPure=e(\"./bson\"),n.BSONNative=e(\"./bson\")}catch(r){}[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(t){var r=e(t);for(var i in r)n[i]=r[i]}),n.pure=function(){var t={};return[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\",\"./bson\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]}),t},n[\"native\"]=function(){var t={};[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]});try{t.BSON=e(\"./bson\")}catch(r){return n.pure()}return t}},{\"./bson\":54}],60:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Long\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Long=r},{}],61:[function(e,t,n){(function(e){\"use strict\";if(\"undefined\"!=typeof e.Map)t.exports=e.Map,t.exports.Map=e.Map;else{var n=function(e){this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var n=e[t],r=n[0],i=n[1];this._keys.push(r),this._values[r]={v:i,i:this._keys.length-1}}};n.prototype.clear=function(){this._keys=[],this._values={}},n.prototype[\"delete\"]=function(e){var t=this._values[e];return null==t?!1:(delete this._values[e],this._keys.splice(t.i,1),!0)},n.prototype.entries=function(){var e=this,t=0;return{next:function(){var n=e._keys[t++];return{value:void 0!==n?[n,e._values[n].v]:void 0,done:void 0===n}}}},n.prototype.forEach=function(e,t){t=t||this;for(var n=0;n<this._keys.length;n++){var r=this._keys[n];e.call(t,this._values[r].v,r,t)}},n.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},n.prototype.has=function(e){return null!=this._values[e]},n.prototype.keys=function(e){var t=this,n=0;return{next:function(){var e=t._keys[n++];return{value:void 0!==e?e:void 0,done:void 0===e}}}},n.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},n.prototype.values=function(e,t){var n=this,r=0;return{next:function(){var e=n._keys[r++];return{value:void 0!==e?n._values[e].v:void 0,done:void 0===e}}}},Object.defineProperty(n.prototype,\"size\",{enumerable:!0,get:function(){return this._keys.length}}),t.exports=n,t.exports.Map=n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],62:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MaxKey\"):new r}t.exports=r,t.exports.MaxKey=r},{}],63:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MinKey\"):new r}t.exports=r,t.exports.MinKey=r},{}],64:[function(e,t,n){for(var r=e(\"./binary_parser\").BinaryParser,i=parseInt(16777215*Math.random(),10),o=new RegExp(\"^[0-9a-fA-F]{24}$\"),a=function u(e){if(!(this instanceof u))return new u(e);if(e instanceof u||e&&e.toHexString)return e;this._bsontype=\"ObjectID\";var t=u.isValid(e);if(!t&&null!=e)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");return t&&\"string\"==typeof e&&24==e.length?u.createFromHexString(e):(null==e||\"number\"==typeof e?this.id=this.generate(e):null!=e&&12===e.length&&(this.id=e),void(u.cacheHexString&&(this.__id=this.toHexString())))},s=[],c=0;256>c;c++)s[c]=(15>=c?\"0\":\"\")+c.toString(16);a.prototype.toHexString=function(){if(a.cacheHexString&&this.__id)return this.__id;for(var e=\"\",t=0;t<this.id.length;t++)e+=s[this.id.charCodeAt(t)];return a.cacheHexString&&(this.__id=e),e},a.prototype.get_inc=function(){return a.index=(a.index+1)%16777215},a.prototype.getInc=function(){return this.get_inc()},a.prototype.generate=function(e){\"number\"!=typeof e&&(e=parseInt(Date.now()/1e3,10));var t=r.encodeInt(e,32,!0,!0),n=r.encodeInt(i,24,!1),o=r.fromShort((\"undefined\"==typeof process?Math.floor(1e5*Math.random()):process.pid)%65535),a=r.encodeInt(this.get_inc(),24,!1,!0);return t+n+o+a},a.prototype.toString=function(){return this.toHexString()},a.prototype.inspect=a.prototype.toString,a.prototype.toJSON=function(){return this.toHexString()},a.prototype.equals=function(e){var t;if(null!=e&&(e instanceof a||e.toHexString))t=e.id;else{if(\"string\"!=typeof e||!a.isValid(e))return!1;t=a.createFromHexString(e).id}return this.id===t},a.prototype.getTimestamp=function(){var e=new Date;return e.setTime(1e3*Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))),e},a.index=parseInt(16777215*Math.random(),10),a.createPk=function(){return new a},a.createFromTime=function(e){var t=r.encodeInt(e,32,!0,!0)+r.encodeInt(0,64,!0,!0);return new a(t)},a.createFromHexString=function(e){if(\"undefined\"==typeof e||null!=e&&24!=e.length)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");var t=e.length;if(t>24)throw new Error(\"Id cannot be longer than 12 bytes\");for(var n,i,o=\"\",s=0;t>s;s+=2)n=e.substr(s,2),i=parseInt(n,16),o+=r.fromByte(i);return new a(o,e)},a.isValid=function(e){return null==e?!1:\"number\"==typeof e?!0:\"string\"==typeof e?12==e.length||24==e.length&&o.test(e):e instanceof a?!0:e.toHexString?12==e.id.length||24==e.id.length&&o.test(e.id):!1},Object.defineProperty(a.prototype,\"generationTime\",{enumerable:!0,get:function(){return Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))},set:function(e){var e=r.encodeInt(e,32,!0,!0);this.id=e+this.id.substr(4),this.toHexString()}}),t.exports=a,t.exports.ObjectID=a,t.exports.ObjectId=a},{\"./binary_parser\":53}],65:[function(e,t,n){(function(n){\"use strict\";function r(e,t,r,y,b){switch(t&&t.toBSON&&(t=t.toBSON()),typeof t){case\"string\":return 1+n.byteLength(e,\"utf8\")+1+4+n.byteLength(t,\"utf8\")+1;case\"number\":return Math.floor(t)===t&&t>=g.JS_INT_MIN&&t<=g.JS_INT_MAX&&t>=g.BSON_INT32_MIN&&t<=g.BSON_INT32_MAX?(null!=e?n.byteLength(e,\"utf8\")+1:0)+5:(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;case\"undefined\":return y||!b?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1:0;case\"boolean\":return(null!=e?n.byteLength(e,\"utf8\")+1:0)+2;case\"object\":if(null==t||t instanceof l||t instanceof f||\"MinKey\"==t._bsontype||\"MaxKey\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1;if(t instanceof s||\"ObjectID\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+13;if(t instanceof Date||m(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(\"undefined\"!=typeof n&&n.isBuffer(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+6+t.length;if(t instanceof i||t instanceof o||t instanceof a||\"Long\"==t._bsontype||\"Double\"==t._bsontype||\"Timestamp\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(t instanceof p||\"Code\"==t._bsontype)return null!=t.scope&&Object.keys(t.scope).length>0?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.code.toString(),\"utf8\")+1+v(t.scope,r,b):(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.code.toString(),\"utf8\")+1;if(t instanceof h||\"Binary\"==t._bsontype)return t.sub_type==h.SUBTYPE_BYTE_ARRAY?(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1+4):(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1);if(t instanceof c||\"Symbol\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+n.byteLength(t.value,\"utf8\")+4+1+1;if(t instanceof d||\"DBRef\"==t._bsontype){var x={$ref:t.namespace,$id:t.oid};return null!=t.db&&(x.$db=t.db),(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+v(x,r,b)}return t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1:t instanceof u||\"BSONRegExp\"==t._bsontype?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.pattern,\"utf8\")+1+n.byteLength(t.options,\"utf8\")+1:(null!=e?n.byteLength(e,\"utf8\")+1:0)+v(t,r,b)+1;case\"function\":if(t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)||\"[object RegExp]\"==String.call(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1;if(r&&null!=t.scope&&Object.keys(t.scope).length>0)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.toString(),\"utf8\")+1+v(t.scope,r,b);if(r)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.toString(),\"utf8\")+1}return 0}var i=(e(\"../float_parser\").writeIEEE754,e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../double\").Double,a=e(\"../timestamp\").Timestamp,s=e(\"../objectid\").ObjectID,c=e(\"../symbol\").Symbol,u=e(\"../regexp\").BSONRegExp,p=e(\"../code\").Code,l=e(\"../min_key\").MinKey,f=e(\"../max_key\").MaxKey,d=e(\"../db_ref\").DBRef,h=e(\"../binary\").Binary,m=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},v=function(e,t,n){var i=5;if(Array.isArray(e))for(var o=0;o<e.length;o++)i+=r(o.toString(),e[o],t,!0,n);else{e.toBSON&&(e=e.toBSON());for(var a in e)i+=r(a,e[a],t,!1,n)}return i},g={};g.functionCache={};g.BSON_DATA_NUMBER=1,g.BSON_DATA_STRING=2,g.BSON_DATA_OBJECT=3,g.BSON_DATA_ARRAY=4,g.BSON_DATA_BINARY=5,g.BSON_DATA_OID=7,g.BSON_DATA_BOOLEAN=8,g.BSON_DATA_DATE=9,g.BSON_DATA_NULL=10,g.BSON_DATA_REGEXP=11,g.BSON_DATA_CODE=13,g.BSON_DATA_SYMBOL=14,g.BSON_DATA_CODE_W_SCOPE=15,g.BSON_DATA_INT=16,g.BSON_DATA_TIMESTAMP=17,g.BSON_DATA_LONG=18,g.BSON_DATA_MIN_KEY=255,g.BSON_DATA_MAX_KEY=127,g.BSON_BINARY_SUBTYPE_DEFAULT=0,g.BSON_BINARY_SUBTYPE_FUNCTION=1,g.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,g.BSON_BINARY_SUBTYPE_UUID=3,g.BSON_BINARY_SUBTYPE_MD5=4,g.BSON_BINARY_SUBTYPE_USER_DEFINED=128,g.BSON_INT32_MAX=2147483647,g.BSON_INT32_MIN=-2147483648,g.BSON_INT64_MAX=Math.pow(2,63)-1,g.BSON_INT64_MIN=-Math.pow(2,63),g.JS_INT_MAX=9007199254740992,g.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=v}).call(this,e(\"buffer\").Buffer)},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,buffer:void 0}],66:[function(require,module,exports){\"use strict\";var readIEEE754=require(\"../float_parser\").readIEEE754,f=require(\"util\").format,Long=require(\"../long\").Long,Double=require(\"../double\").Double,Timestamp=require(\"../timestamp\").Timestamp,ObjectID=require(\"../objectid\").ObjectID,Symbol=require(\"../symbol\").Symbol,Code=require(\"../code\").Code,MinKey=require(\"../min_key\").MinKey,MaxKey=require(\"../max_key\").MaxKey,DBRef=require(\"../db_ref\").DBRef,BSONRegExp=require(\"../regexp\").BSONRegExp,Binary=require(\"../binary\").Binary,deserialize=function(e,t,n){t=null==t?{}:t;var r=t&&t.index?t.index:0,i=e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24;if(5>i||e.length<i)throw new Error(\"corrupt bson message\");if(0!=e[r+i-1])throw new Error(\"One object, sized correctly, with a spot for an EOO, but the EOO isn't 0x00\");return deserializeObject(e,r,t,n)},deserializeObject=function(e,t,n,r){var i=null==n.evalFunctions?!1:n.evalFunctions,o=null==n.cacheFunctions?!1:n.cacheFunctions,a=null==n.cacheFunctionsCrc32?!1:n.cacheFunctionsCrc32,s=null==n.promoteLongs?!0:n.promoteLongs,c=null==n.fieldsAsRaw?null:n.fieldsAsRaw,u=null==n.raw?!1:n.raw,p=\"boolean\"==typeof n.bsonRegExp?n.bsonRegExp:!1,l=null==n.promoteBuffers?!1:n.promoteBuffers;if(e.length<5)throw new Error(\"corrupt bson message < 5 bytes long\");var f=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(5>f||f>e.length)throw new Error(\"corrupt bson message\");for(var d=r?[]:{};;){var h=e[t++];if(0==h)break;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var v=e.toString(\"utf8\",t,m);if(t=m+1,h==BSON.BSON_DATA_STRING){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=e.toString(\"utf8\",t,t+g-1),t+=g}else if(h==BSON.BSON_DATA_OID){var y=e.toString(\"binary\",t,t+12);d[v]=new ObjectID(y),t+=12}else if(h==BSON.BSON_DATA_INT)d[v]=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;else if(h==BSON.BSON_DATA_NUMBER)d[v]=e.readDoubleLE(t),t+=8;else if(h==BSON.BSON_DATA_DATE){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Date(new Long(b,x).toNumber())}else if(h==BSON.BSON_DATA_BOOLEAN)d[v]=1==e[t++];else if(h==BSON.BSON_DATA_OBJECT){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24;\nif(0>=_||_>e.length-t)throw new Error(\"bad embedded document length in bson\");u?d[v]=e.slice(t,t+_):d[v]=deserializeObject(e,w,n,!1),t+=_}else if(h==BSON.BSON_DATA_ARRAY){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,k=n;if(c&&c[v]){k={};for(var j in n)k[j]=n[j];k.raw=!0}d[v]=deserializeObject(e,w,k,!0),t+=_}else if(h==BSON.BSON_DATA_UNDEFINED||h==BSON.BSON_DATA_NULL)d[v]=null;else if(h==BSON.BSON_DATA_LONG){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,S=new Long(b,x);s?d[v]=S.lessThanOrEqual(JS_INT_MAX_LONG)&&S.greaterThanOrEqual(JS_INT_MIN_LONG)?S.toNumber():S:d[v]=S}else if(h==BSON.BSON_DATA_BINARY){var E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,O=e[t++];if(null!=e.slice)O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24),l?d[v]=e.slice(t,t+E):d[v]=new Binary(e.slice(t,t+E),O);else{var A=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(E)):new Array(E);O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);for(var m=0;E>m;m++)A[m]=e[t+m];l?d[v]=A:d[v]=new Binary(A,O)}t+=E}else if(h==BSON.BSON_DATA_REGEXP&&0==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1;for(var I=new Array(T.length),m=0;m<T.length;m++)switch(T[m]){case\"m\":I[m]=\"m\";break;case\"s\":I[m]=\"g\";break;case\"i\":I[m]=\"i\"}d[v]=new RegExp(C,I.join(\"\"))}else if(h==BSON.BSON_DATA_REGEXP&&1==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1,d[v]=new BSONRegExp(C,T)}else if(h==BSON.BSON_DATA_SYMBOL){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=new Symbol(e.toString(\"utf8\",t,t+g-1)),t+=g}else if(h==BSON.BSON_DATA_TIMESTAMP){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Timestamp(b,x)}else if(h==BSON.BSON_DATA_MIN_KEY)d[v]=new MinKey;else if(h==BSON.BSON_DATA_MAX_KEY)d[v]=new MaxKey;else if(h==BSON.BSON_DATA_CODE){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);if(i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P)}else d[v]=new Code(P,{});t+=g}else if(h==BSON.BSON_DATA_CODE_W_SCOPE){var g=(e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);t+=g;var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,M=deserializeObject(e,w,n,!1);if(t+=_,i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P);d[v].scope=M}else d[v]=new Code(P,M)}}return null!=d.$id&&(d=new DBRef(d.$ref,d.$id,d.$db)),d},isolateEvalWithHash=function(functionCache,hash,functionString,object){var value=null;return null==functionCache[hash]&&(eval(\"value = \"+functionString),functionCache[hash]=value),functionCache[hash].bind(object)},isolateEval=function(functionString){var value=null;return eval(\"value = \"+functionString),value},BSON={},functionCache=BSON.functionCache={};BSON.BSON_DATA_NUMBER=1,BSON.BSON_DATA_STRING=2,BSON.BSON_DATA_OBJECT=3,BSON.BSON_DATA_ARRAY=4,BSON.BSON_DATA_BINARY=5,BSON.BSON_DATA_UNDEFINED=7,BSON.BSON_DATA_OID=7,BSON.BSON_DATA_BOOLEAN=8,BSON.BSON_DATA_DATE=9,BSON.BSON_DATA_NULL=10,BSON.BSON_DATA_REGEXP=11,BSON.BSON_DATA_CODE=13,BSON.BSON_DATA_SYMBOL=14,BSON.BSON_DATA_CODE_W_SCOPE=15,BSON.BSON_DATA_INT=16,BSON.BSON_DATA_TIMESTAMP=17,BSON.BSON_DATA_LONG=18,BSON.BSON_DATA_MIN_KEY=255,BSON.BSON_DATA_MAX_KEY=127,BSON.BSON_BINARY_SUBTYPE_DEFAULT=0,BSON.BSON_BINARY_SUBTYPE_FUNCTION=1,BSON.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,BSON.BSON_BINARY_SUBTYPE_UUID=3,BSON.BSON_BINARY_SUBTYPE_MD5=4,BSON.BSON_BINARY_SUBTYPE_USER_DEFINED=128,BSON.BSON_INT32_MAX=2147483647,BSON.BSON_INT32_MIN=-2147483648,BSON.BSON_INT64_MAX=Math.pow(2,63)-1,BSON.BSON_INT64_MIN=-Math.pow(2,63),BSON.JS_INT_MAX=9007199254740992,BSON.JS_INT_MIN=-9007199254740992;var JS_INT_MAX_LONG=Long.fromNumber(9007199254740992),JS_INT_MIN_LONG=Long.fromNumber(-9007199254740992);module.exports=deserialize},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,util:void 0}],67:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../float_parser\").writeIEEE754,i=(e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../map\"),a=(e(\"../double\").Double,e(\"../timestamp\").Timestamp,e(\"../objectid\").ObjectID,e(\"../symbol\").Symbol,e(\"../code\").Code,e(\"../regexp\").BSONRegExp,e(\"../min_key\").MinKey),s=(e(\"../max_key\").MaxKey,e(\"../db_ref\").DBRef,e(\"../binary\").Binary),c=/\\x00/,u=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},l=function(e,t,n,r){e[r++]=T.BSON_DATA_STRING;var i=e.write(t,r,\"utf8\");r=r+i+1,e[r-1]=0;var o=e.write(n,r+4,\"utf8\");return e[r+3]=o+1>>24&255,e[r+2]=o+1>>16&255,e[r+1]=o+1>>8&255,e[r]=o+1&255,r=r+4+o,e[r++]=0,r},f=function(e,t,n,o){if(Math.floor(n)===n&&n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX)if(n>=T.BSON_INT32_MIN&&n<=T.BSON_INT32_MAX){e[o++]=T.BSON_DATA_INT;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,e[o++]=255&n,e[o++]=n>>8&255,e[o++]=n>>16&255,e[o++]=n>>24&255}else if(n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX){e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}else{e[o++]=T.BSON_DATA_LONG;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0;var s=i.fromNumber(n),c=s.getLowBits(),u=s.getHighBits();e[o++]=255&c,e[o++]=c>>8&255,e[o++]=c>>16&255,e[o++]=c>>24&255,e[o++]=255&u,e[o++]=u>>8&255,e[o++]=u>>16&255,e[o++]=u>>24&255}else{e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}return o},d=function(e,t,n,r){e[r++]=T.BSON_DATA_NULL;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},h=function(e,t,n,r){e[r++]=T.BSON_DATA_BOOLEAN;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e[r++]=n?1:0,r},m=function(e,t,n,r){e[r++]=T.BSON_DATA_DATE;var o=e.write(t,r,\"utf8\");r+=o,e[r++]=0;var a=i.fromNumber(n.getTime()),s=a.getLowBits(),c=a.getHighBits();return e[r++]=255&s,e[r++]=s>>8&255,e[r++]=s>>16&255,e[r++]=s>>24&255,e[r++]=255&c,e[r++]=c>>8&255,e[r++]=c>>16&255,e[r++]=c>>24&255,r},v=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");if(r+=i,e[r++]=0,n.source&&null!=n.source.match(c))throw Error(\"value \"+n.source+\" must not contain null bytes\");return r+=e.write(n.source,r,\"utf8\"),e[r++]=0,n.global&&(e[r++]=115),n.ignoreCase&&(e[r++]=105),n.multiline&&(e[r++]=109),e[r++]=0,r},g=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r+=e.write(n.pattern,r,\"utf8\"),e[r++]=0,r+=e.write(n.options,r,\"utf8\"),e[r++]=0,r},y=function(e,t,n,r){null===n?e[r++]=T.BSON_DATA_NULL:n instanceof a?e[r++]=T.BSON_DATA_MIN_KEY:e[r++]=T.BSON_DATA_MAX_KEY;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},b=function(e,t,n,r){e[r++]=T.BSON_DATA_OID;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e.write(n.id,r,\"binary\"),r+12},x=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.length;return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=T.BSON_BINARY_SUBTYPE_DEFAULT,n.copy(e,r,0,o),r+=o},w=function(e,t,n,r,i,o,a,s){e[r++]=Array.isArray(n)?T.BSON_DATA_ARRAY:T.BSON_DATA_OBJECT;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=C(e,n,i,r,o+1,a,s);return u},_=function(e,t,n,r){e[r++]=\"Long\"==n._bsontype?T.BSON_DATA_LONG:T.BSON_DATA_TIMESTAMP;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.getLowBits(),a=n.getHighBits();return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,r},k=function(e,t,n,i){e[i++]=T.BSON_DATA_NUMBER;var o=e.write(t,i,\"utf8\");return i+=o,e[i++]=0,r(e,n,i,\"little\",52,8),i+=8},j=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_CODE;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s=n.toString(),c=e.write(s,r+4,\"utf8\")+1;return e[r]=255&c,e[r+1]=c>>8&255,e[r+2]=c>>16&255,e[r+3]=c>>24&255,r=r+4+c-1,e[r++]=0,r},S=function(e,t,n,r,i,o,a,s){if(null!=n.scope&&Object.keys(n.scope).length>0){e[r++]=T.BSON_DATA_CODE_W_SCOPE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=r,p=\"string\"==typeof n.code?n.code:n.code.toString();r+=4;var l=e.write(p,r+4,\"utf8\")+1;e[r]=255&l,e[r+1]=l>>8&255,e[r+2]=l>>16&255,e[r+3]=l>>24&255,e[r+4+l-1]=0,r=r+l+4;var f=C(e,n.scope,i,r,o+1,a,s);r=f-1;var d=f-u;e[u++]=255&d,e[u++]=d>>8&255,e[u++]=d>>16&255,e[u++]=d>>24&255,e[r++]=0}else{e[r++]=T.BSON_DATA_CODE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var p=n.code.toString(),h=e.write(p,r+4,\"utf8\")+1;e[r]=255&h,e[r+1]=h>>8&255,e[r+2]=h>>16&255,e[r+3]=h>>24&255,r=r+4+h-1,e[r++]=0}return r},E=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.value(!0),a=n.position;return e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,e[r++]=n.sub_type,n.sub_type==s.SUBTYPE_BYTE_ARRAY&&(e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255),o.copy(e,r,0,n.position),r+=n.position},O=function(e,t,n,r){e[r++]=T.BSON_DATA_SYMBOL;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=e.write(n.value,r+4,\"utf8\")+1;return e[r]=255&o,e[r+1]=o>>8&255,e[r+2]=o>>16&255,e[r+3]=o>>24&255,r=r+4+o-1,e[r++]=0,r},A=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_OBJECT;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s,c=r;s=null!=n.db?C(e,{$ref:n.namespace,$id:n.oid,$db:n.db},!1,r,i+1,o):C(e,{$ref:n.namespace,$id:n.oid},!1,r,i+1,o);var u=s-c;return e[c++]=255&u,e[c++]=u>>8&255,e[c++]=u>>16&255,e[c++]=u>>24&255,s},C=function(e,t,r,i,a,s,C){i=i||0;var T=i+4;if(Array.isArray(t))for(var I=0;I<t.length;I++){var P=\"\"+I,F=t[I];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):\"undefined\"==M||null==F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T))}else if(t instanceof o)for(var z=t.entries(),B=!1;!B;){var N=z.next();if(B=N.done,!B){var P=N.value[0],F=N.value[1],M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}else{if(t.toBSON){if(\"function\"!=typeof t.toBSON)throw new Error(\"toBSON is not a function\");if(t=t.toBSON(),null!=t&&\"object\"!=typeof t)throw new Error(\"toBSON function did not return an object\")}for(var P in t){var F=t[P];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}e[T++]=0;var D=T-i;return e[i++]=255&D,e[i++]=D>>8&255,e[i++]=D>>16&255,e[i++]=D>>24&255,T},T={};T.functionCache={};T.BSON_DATA_NUMBER=1,T.BSON_DATA_STRING=2,T.BSON_DATA_OBJECT=3,T.BSON_DATA_ARRAY=4,T.BSON_DATA_BINARY=5,T.BSON_DATA_OID=7,T.BSON_DATA_BOOLEAN=8,T.BSON_DATA_DATE=9,T.BSON_DATA_NULL=10,T.BSON_DATA_REGEXP=11,T.BSON_DATA_CODE=13,T.BSON_DATA_SYMBOL=14,T.BSON_DATA_CODE_W_SCOPE=15,T.BSON_DATA_INT=16,T.BSON_DATA_TIMESTAMP=17,T.BSON_DATA_LONG=18,T.BSON_DATA_MIN_KEY=255,T.BSON_DATA_MAX_KEY=127,T.BSON_BINARY_SUBTYPE_DEFAULT=0,T.BSON_BINARY_SUBTYPE_FUNCTION=1,T.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,T.BSON_BINARY_SUBTYPE_UUID=3,T.BSON_BINARY_SUBTYPE_MD5=4,T.BSON_BINARY_SUBTYPE_USER_DEFINED=128,T.BSON_INT32_MAX=2147483647,T.BSON_INT32_MIN=-2147483648,T.BSON_INT64_MAX=Math.pow(2,63)-1,T.BSON_INT64_MIN=-Math.pow(2,63),T.JS_INT_MAX=9007199254740992,T.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=C}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../map\":61,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70}],68:[function(e,t,n){function r(e,t){if(!(this instanceof r))return new r;this._bsontype=\"BSONRegExp\",this.pattern=e,this.options=t;for(var n=0;n<t.length;n++)if(\"i\"!=this.options[n]&&\"m\"!=this.options[n]&&\"x\"!=this.options[n]&&\"l\"!=this.options[n]&&\"s\"!=this.options[n]&&\"u\"!=this.options[n])throw new Error(\"the regular expression options [\"+this.options[n]+\"] is not supported\")}t.exports=r,t.exports.BSONRegExp=r},{}],69:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Symbol\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toString=function(){return this.value},r.prototype.inspect=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Symbol=r},{}],70:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Timestamp\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Timestamp=r},{}],71:[function(e,t,n){function r(e){this.dict=e||{}}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return\"undefined\"!=typeof t?n.set(e,t,r):void 0},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],72:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":84,stream:void 0,util:void 0}],73:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n=t||{},r=n.type||\"attachment\",a=i(e,n.fallback);return o(new d(r,a))}function i(e,t){if(void 0!==e){var n={};if(\"string\"!=typeof e)throw new TypeError(\"filename must be a string\");if(void 0===t&&(t=!0),\"string\"!=typeof t&&\"boolean\"!=typeof t)throw new TypeError(\"fallback must be a string or boolean\");if(\"string\"==typeof t&&y.test(t))throw new TypeError(\"fallback must be ISO-8859-1 string\");var r=h(e),i=_.test(r),o=\"string\"!=typeof t?t&&s(r):h(t),a=\"string\"==typeof o&&o!==r;return(a||!i||v.test(r))&&(n[\"filename*\"]=r),(i||a)&&(n.filename=a?o:r),n}}function o(e){var t=e.parameters,n=e.type;if(!n||\"string\"!=typeof n||!k.test(n))throw new TypeError(\"invalid type\");var r=String(n).toLowerCase();if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),a=0;a<o.length;a++){i=o[a];var s=\"*\"===i.substr(-1)?f(t[i]):l(t[i]);r+=\"; \"+i+\"=\"+s}return r}function a(e){var t=j.exec(e);if(!t)throw new TypeError(\"invalid extended field value\");var r,i=t[1].toLowerCase(),o=t[2],a=o.replace(g,u);switch(i){case\"iso-8859-1\":r=s(a);break;case\"utf-8\":r=new n(a,\"binary\").toString(\"utf8\");break;default:throw new TypeError(\"unsupported charset in extended field\")}return r}function s(e){return String(e).replace(y,\"?\")}function c(e){if(!e||\"string\"!=typeof e)throw new TypeError(\"argument string is required\");var t=S.exec(e);if(!t)throw new TypeError(\"invalid type format\");var n,r,i=t[0].length,o=t[1].toLowerCase(),s=[],c={};for(i=w.lastIndex=\";\"===t[0].substr(-1)?i-1:i;t=w.exec(e);){if(t.index!==i)throw new TypeError(\"invalid parameter format\");if(i+=t[0].length,n=t[1].toLowerCase(),r=t[2],-1!==s.indexOf(n))throw new TypeError(\"invalid duplicate parameter\");s.push(n),n.indexOf(\"*\")+1!==n.length?\"string\"!=typeof c[n]&&('\"'===r[0]&&(r=r.substr(1,r.length-2).replace(b,\"$1\")),c[n]=r):(n=n.slice(0,-1),r=a(r),c[n]=r)}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return new d(o,c)}function u(e,t){return String.fromCharCode(parseInt(t,16))}function p(e){var t=String(e).charCodeAt(0).toString(16).toUpperCase();return 1===t.length?\"%0\"+t:\"%\"+t}function l(e){var t=String(e);return'\"'+t.replace(x,\"\\\\$1\")+'\"'}function f(e){var t=String(e),n=encodeURIComponent(t).replace(m,p);return\"UTF-8''\"+n}function d(e,t){this.type=e,this.parameters=t}t.exports=r,t.exports.parse=c;var h=e(\"path\").basename,m=/[\\x00-\\x20\"'\\(\\)*,\\/:;<=>?@\\[\\\\\\]\\{\\}\\x7f]/g,v=/%[0-9A-Fa-f]{2}/,g=/%([0-9A-Fa-f]{2})/g,y=/[^\\x20-\\x7e\\xa0-\\xff]/g,b=/\\\\([\\u0000-\\u007f])/g,x=/([\\\\\"])/g,w=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,_=/^[\\x20-\\x7e\\x80-\\xff]+$/,k=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,j=/^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+\\-\\.^_`|~])+)$/,S=/^([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *(?:$|;)/}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,path:void 0}],74:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.type;if(!n||!d.test(n))throw new TypeError(\"invalid type\");var r=n;if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),s=0;s<o.length;s++){if(i=o[s],!p.test(i))throw new TypeError(\"invalid parameter name\");r+=\"; \"+i+\"=\"+a(t[i])}return r}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e),\"string\"!=typeof e))throw new TypeError(\"content-type header is missing from object\");if(\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t=e.indexOf(\";\"),n=-1!==t?e.substr(0,t).trim():e.trim();if(!d.test(n))throw new TypeError(\"invalid media type\");var r,i,a,u=new s(n.toLowerCase());for(c.lastIndex=t;i=c.exec(e);){if(i.index!==t)throw new TypeError(\"invalid parameter format\");t+=i[0].length,r=i[1].toLowerCase(),a=i[2],'\"'===a[0]&&(a=a.substr(1,a.length-2).replace(l,\"$1\")),u.parameters[r]=a}if(-1!==t&&t!==e.length)throw new TypeError(\"invalid parameter format\");return u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){this.parameters=Object.create(null),this.type=e}var c=/; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) */g,u=/^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/,l=/\\\\([\\u000b\\u0020-\\u00ff])/g,f=/([\\\\\"])/g,d=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/;n.format=r,n.parse=i},{}],75:[function(e,t,n){function r(e){return i.createHash(\"sha1\").update(e).digest(\"hex\")}var i=e(\"crypto\");n.sign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Cookie value must be provided as a string.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");return e+\".\"+i.createHmac(\"sha256\",t).update(e).digest(\"base64\").replace(/\\=+$/,\"\")},n.unsign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Signed cookie string must be provided.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");var i=e.slice(0,e.lastIndexOf(\".\")),o=n.sign(i,t);return r(o)==r(e)?i:!1}},{crypto:void 0}],76:[function(e,t,n){function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument str must be a string\");var n={},r=t||{},i=e.split(/; */),s=r.decode||a;return i.forEach(function(e){var t=e.indexOf(\"=\");if(!(0>t)){var r=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();\n'\"'==i[0]&&(i=i.slice(1,-1)),void 0==n[r]&&(n[r]=o(i,s))}}),n}function i(e,t,n){var r=n||{},i=r.encode||s;if(!c.test(e))throw new TypeError(\"argument name is invalid\");var o=i(t);if(o&&!c.test(o))throw new TypeError(\"argument val is invalid\");var a=[e+\"=\"+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error(\"maxAge should be a Number\");a.push(\"Max-Age=\"+u)}if(r.domain){if(!c.test(r.domain))throw new TypeError(\"option domain is invalid\");a.push(\"Domain=\"+r.domain)}if(r.path){if(!c.test(r.path))throw new TypeError(\"option path is invalid\");a.push(\"Path=\"+r.path)}return r.expires&&a.push(\"Expires=\"+r.expires.toUTCString()),r.httpOnly&&a.push(\"HttpOnly\"),r.secure&&a.push(\"Secure\"),a.join(\"; \")}function o(e,t){try{return t(e)}catch(n){return e}}n.parse=r,n.serialize=i;var a=decodeURIComponent,s=encodeURIComponent,c=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/},{}],77:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===v(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function c(e){return\"symbol\"==typeof e}function u(e){return void 0===e}function p(e){return\"[object RegExp]\"===v(e)}function l(e){return\"object\"==typeof e&&null!==e}function f(e){return\"[object Date]\"===v(e)}function d(e){return\"[object Error]\"===v(e)||e instanceof Error}function h(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||\"undefined\"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=c,n.isUndefined=u,n.isRegExp=p,n.isObject=l,n.isDate=f,n.isError=d,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538}],78:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n|=o^a}return 0===n}},{boom:51,crypto:void 0}],79:[function(e,t,n){function r(e,t){var n,r,i,o;if(n=e.name,!(\"signed\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing signed value\");if(!(\"length\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing length value\");if(r=e.integer.signed,i=e.integer.length,o=null,r&&1==i?o=\"int8_t\":1==i?o=\"uint8_t\":r&&2==i?o=\"int16_t\":2==i?o=\"uint16_t\":r&&4==i?o=\"int32_t\":4==i?o=\"uint32_t\":r&&8==i?o=\"int64_t\":8==i&&(o=\"uint64_t\"),null===o)throw new Error(\"Malformed CTF JSON: integer has unsupported length and sign - \"+i+\"/\"+r);return n!=o?\"char\"==n?void p(\"int8_t\"==o):void t.typedef(n,o):void 0}function i(e,t){var n,r;if(n=e.name,!(\"length\"in e[\"float\"]))throw new Error(\"Malformed CTF JSON: float missing length value\");if(r=e[\"float\"].length,4!=r&&8!=r)throw new Error(\"Malformed CTF JSON: float has invalid length value\");if(4==r){if(\"float\"==n)return;t.typedef(n,\"float\")}else if(8==r){if(\"double\"==n)return;t.typedef(n,\"double\")}}function o(e,t){var n,r,i;if(n=e.name,\"string\"!=typeof e.typedef)throw new Error(\"Malformed CTF JSON: typedef value in not a string\");for(r=e.typedef,i=0;i<d.length;i++)if(n==d[i])return;t.typedef(n,r)}function a(e,t){var n,r,i,o,a,s,c;if(s=[],!Array.isArray(e.struct))throw new Error(\"Malformed CTF JSON: struct value is not an array\");for(i=0;i<e.struct.length;i++){if(o=e.struct[i],!(\"name\"in o))throw new Error(\"Malformed CTF JSON: struct member missing name\");if(!(\"type\"in o))throw new Error(\"Malformed CTF JSON: struct member missing type\");if(\"string\"!=typeof o.name)throw new Error(\"Malformed CTF JSON: struct member name isn't a string\");if(\"string\"!=typeof o.type)throw new Error(\"Malformed CTF JSON: struct member type isn't a string\");n=o.name,r=o.type,a=r.indexOf(\" [\"),-1!=a&&(r=r.substring(0,a)+r.substring(a+1,r.length)),c={},c[n]={type:r},s.push(c)}n=e.name,t.typedef(n,s)}function s(e,t){var n,s;if(!(\"name\"in e))throw new Error('Malformed CTF JSON: entry missing \"name\" section');for(n=0;n<f.length;n++)f[n]in e&&s++;if(0===s)throw new Error(\"Malformed CTF JSON: found no entries\");if(s>=2)throw new Error(\"Malformed CTF JSON: found more than one entry\");return\"integer\"in e?void r(e,t):\"float\"in e?void i(e,t):\"typedef\"in e?void o(e,t):\"struct\"in e?void a(e,t):void p(!1,\"shouldn't reach here\")}function c(e,t){var n,r;if(p(e),p(t),!(\"metadata\"in e))throw new Error(\"Invalid CTF JSON: missing metadata section\");if(!(\"ctf2json_version\"in e.metadata))throw new Error(\"Invalid CTF JSON: missing ctf2json_version\");for(n=e.metadata.ctf2json_version,r=0;r<l.length&&l[r]!=n;r++);if(r==l.length)throw new Error(\"Unsuported ctf2json_version: \"+n);if(!(\"data\"in e))throw new Error(\"Invalid CTF JSON: missing data section\");if(!Array.isArray(e.data))throw new Error(\"Malformed CTF JSON: data section is not an array\");for(r=0;r<e.data.length;r++)s(e.data[r],t)}var u=e(\"assert\"),p=u.ok,l=[\"1.0\"],f=[\"integer\",\"float\",\"typedef\",\"struct\"],d=[\"int8_t\",\"uint8_t\",\"int16_t\",\"uint16_t\",\"int32_t\",\"uint32_t\",\"float\",\"double\"];n.ctfParseJson=c},{assert:void 0}],80:[function(e,t,n){function r(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return e[n]}function i(e,t,n){var r=0;return\"big\"==t?(r=e[n]<<8,r|=e[n+1]):(r=e[n],r|=e[n+1]<<8),r}function o(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i(e,t,n)}function a(e,t,n){var r=0;return\"big\"==t?(r=e[n+1]<<16,r|=e[n+2]<<8,r|=e[n+3],r+=e[n]<<24>>>0):(r=e[n+2]<<16,r|=e[n+1]<<8,r|=e[n],r+=e[n+3]<<24>>>0),r}function s(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return a(e,t,n)}function c(e,t,n){var r=new Array(2);return\"big\"==t?(r[0]=s(e,t,n),r[1]=s(e,t,n+4)):(r[0]=s(e,t,n+4),r[1]=s(e,t,n)),r}function u(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return c(e,t,n)}function p(e,t,n){var r;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return r=128&e[n],r?-1*(255-e[n]+1):e[n]}function l(e,t,n){var r,o;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return o=i(e,t,n),r=32768&o,r?-1*(65535-o+1):o}function f(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=a(e,t,n),r=2147483648&i,r?-1*(4294967295-i+1):i}function d(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=c(e,t,n),(r=2147483648&i[0])?(i[0]=-1*(4294967295-i[0]),i[1]=-1*(4294967295-i[1]+1),M.ok(i[1]<=4294967296),-4294967296==i[1]&&(i[1]=0,i[0]--),i):i}function h(e,t,n){var r,i,o,a,s=[],c=127,u=255;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(s[0]=e[n],s[1]=e[n+1],s[2]=e[n+2],s[3]=e[n+3]):(s[3]=e[n],s[2]=e[n+1],s[1]=e[n+2],s[0]=e[n+3]),r=128&s[0],i=(127&s[0])<<1,i|=(128&s[1])>>>7,o=(127&s[1])<<16,o|=s[2]<<8,o|=s[3],r||i!=u||0!==o?r&&i==u&&0===o?Number.NEGATIVE_INFINITY:i==u&&0!==o?Number.NaN:0===i&&0===o?0:(i-=c,i==-c?(i++,a=0):a=1,a=(a+o*Math.pow(2,-23))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function m(e,t,n){var r,i,o,a,s,c=[],u=1023,p=2047;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(c[0]=e[n],c[1]=e[n+1],c[2]=e[n+2],c[3]=e[n+3],c[4]=e[n+4],c[5]=e[n+5],c[6]=e[n+6],c[7]=e[n+7]):(c[7]=e[n],c[6]=e[n+1],c[5]=e[n+2],c[4]=e[n+3],c[3]=e[n+4],c[2]=e[n+5],c[1]=e[n+6],c[0]=e[n+7]),r=128&c[0],i=(127&c[0])<<4,i|=(240&c[1])>>>4,s=c[7],s|=c[6]<<8,s|=c[5]<<16,o=c[4],o|=c[3]<<8,o|=c[2]<<16,o|=(15&c[1])<<24,o*=Math.pow(2,24),o+=s,r||i!=p||0!==o?r&&i==p&&0===o?Number.NEGATIVE_INFINITY:i==p&&0!==o?Number.NaN:0===i&&0===o?0:(i-=u,i==-u?(i++,a=0):a=1,a=(a+o*Math.pow(2,-52))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function v(e,t){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(0>e)throw new Error(\"specified a negative value for writing an unsigned value\");if(e>t)throw new Error(\"value is larger than maximum value for type\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function g(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,255),n[r]=i}function y(e,t,n,r){\"big\"==t?(n[r]=(65280&e)>>>8,n[r+1]=255&e):(n[r+1]=(65280&e)>>>8,n[r]=255&e)}function b(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,65535),y(i,t,n,r)}function x(e,t,n,r){\"big\"==t?(n[r]=(e-(16777215&e))/Math.pow(2,24),n[r+1]=e>>>16&255,n[r+2]=e>>>8&255,n[r+3]=255&e):(n[r+3]=(e-(16777215&e))/Math.pow(2,24),n[r+2]=e>>>16&255,n[r+1]=e>>>8&255,n[r]=255&e)}function w(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,4294967295),x(i,t,n,r)}function _(e,t,n,r){\"big\"==t?(x(e[0],t,n,r),x(e[1],t,n,r+4)):(x(e[0],t,n,r+4),x(e[1],t,n,r))}function k(e,t,n,r){if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");v(e[0],4294967295),v(e[1],4294967295),_(e,t,n,r)}function j(e,t,n){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(e>t)throw new Error(\"value larger than maximum allowed value\");if(n>e)throw new Error(\"value smaller than minimum allowed value\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function S(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,127,-128),i>=0?g(i,t,n,r):g(255+i+1,t,n,r)}function E(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,32767,-32768),i>=0?y(i,t,n,r):y(65535+i+1,t,n,r)}function O(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,2147483647,-2147483648),i>=0?x(i,t,n,r):x(4294967295+i+1,t,n,r)}function A(e,t,n,r){var i,o,a=new Array(2);if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");if(i=e[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,o=e[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=e[0]&&0!=e[1]&&i!=o)throw new Error(\"Both entries in the array must have the same sign\");if(i)v(e[0],2147483647),v(e[1],4294967295);else if(j(e[0],0,-2147483648),j(e[1],0,-4294967295),-2147483648==e[0]&&0!=e[1])throw new Error(\"value smaller than minimum allowed value\");e[0]<0||e[1]<0?(a[0]=4294967295-Math.abs(e[0]),a[1]=4294967296-Math.abs(e[1]),4294967296==a[1]&&(a[1]=0,a[0]++)):(a[0]=e[0],a[1]=e[1]),_(a,t,n,r)}function C(e){return Math.log(e)/Math.log(2)}function T(e){return Math.floor(C(e))}function I(e){return Math.floor(C(e))}function P(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=255,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=255,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=255,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),-127>=s?(o=0,a=e*Math.pow(2,149)&8388607):(o=127+s,a=e*Math.pow(2,23-s),a&=8388607)),c[0]=i<<7|(254&o)>>>1,c[1]=(1&o)<<7|(8323072&a)>>>16,c[2]=(65280&a)>>>8,c[3]=255&a,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3]):(n[r]=c[3],n[r+1]=c[2],n[r+2]=c[1],n[r+3]=c[0])}function F(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=2047,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=2047,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=2047,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),2.225073858507201e-308>=e||-1023>=s?(o=0,a=e*Math.pow(2,1023)*Math.pow(2,51),a%=Math.pow(2,52)):(s>1023&&(s=1023),o=1023+s,a=e*Math.pow(2,-s),a*=Math.pow(2,52),a%=Math.pow(2,52))),c[7]=255&a,c[6]=a>>>8&255,c[5]=a>>>16&255,a=(a-(16777215&a))/Math.pow(2,24),c[4]=255&a,c[3]=a>>>8&255,c[2]=a>>>16&255,c[1]=(15&o)<<4|a>>>24,c[0]=i<<7|(2032&o)>>>4,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3],n[r+4]=c[4],n[r+5]=c[5],n[r+6]=c[6],n[r+7]=c[7]):(n[r+7]=c[0],n[r+6]=c[1],n[r+5]=c[2],n[r+4]=c[3],n[r+3]=c[4],n[r+2]=c[5],n[r+1]=c[6],n[r]=c[7])}var M=e(\"assert\");n.ruint8=r,n.ruint16=o,n.ruint32=s,n.ruint64=u,n.wuint8=g,n.wuint16=b,n.wuint32=w,n.wuint64=k,n.rsint8=p,n.rsint16=l,n.rsint32=f,n.rsint64=d,n.wsint8=S,n.wsint16=E,n.wsint32=O,n.wsint64=A,n.rfloat=h,n.rdouble=m,n.wfloat=P,n.wdouble=F},{assert:void 0}],81:[function(e,t,n){(function(t){function r(e,t,n){var r=N.ruint8(t,e,n);return{value:r,size:1}}function i(e,t,n){var r=N.ruint16(t,e,n);return{value:r,size:2}}function o(e,t,n){var r=N.ruint32(t,e,n);return{value:r,size:4}}function a(e,t,n){var r=N.ruint64(t,e,n);return{value:r,size:8}}function s(e,t,n){var r=N.rsint8(t,e,n);return{value:r,size:1}}function c(e,t,n){var r=N.rsint16(t,e,n);return{value:r,size:2}}function u(e,t,n){var r=N.rsint32(t,e,n);return{value:r,size:4}}function p(e,t,n){var r=N.rsint64(t,e,n);return{value:r,size:8}}function l(e,t,n){var r=N.rfloat(t,e,n);return{value:r,size:4}}function f(e,t,n){var r=N.rdouble(t,e,n);return{value:r,size:8}}function d(e,n,r){var i=new t(1);return i[0]=N.ruint8(n,e,r),{value:i,size:1}}function h(e,n,r,i){var o,a=new t(e);for(o=0;e>o;o++)a[o]=N.ruint8(r,n,i+o);return{value:a,size:e}}function m(e,t,n,r){return N.wuint8(e,t,n,r),1}function v(e,t,n,r){return N.wuint16(e,t,n,r),2}function g(e,t,n,r){return N.wuint32(e,t,n,r),4}function y(e,t,n,r){return N.wuint64(e,t,n,r),8}function b(e,t,n,r){return N.wsint8(e,t,n,r),1}function x(e,t,n,r){return N.wsint16(e,t,n,r),2}function w(e,t,n,r){return N.wsint32(e,t,n,r),4}function _(e,t,n,r){return N.wsint64(e,t,n,r),8}function k(e,t,n,r){return N.wfloat(e,t,n,r),4}function j(e,t,n,r){return N.wdouble(e,t,n,r),8}function S(e,n,r,i){if(!(e instanceof t))throw new Error(\"Input must be a buffer\");return N.ruint8(e[0],n,r,i),1}function E(e,n,r,i,o){var a;if(!(e instanceof t))throw new Error(\"Input must be a buffer\");if(e.length>n)throw new Error(\"value length greater than array length\");for(a=0;a<e.length&&n>a;a++)N.wuint8(e[a],r,i,o+a);for(;n>a;a++)N.wuint8(0,r,o+a);return n}function O(){var e,t={};for(e in q)t[e]=q[e];return t}function A(e){var t,n,r,i;if(\"string\"!=typeof e)throw new Error(\"type must be a Javascript string\");if(n=e.lastIndexOf(\"]\"),-1==n){if(-1!=e.lastIndexOf(\"[\"))throw new Error(\"found invalid type with '[' but no corresponding ']'\");return{type:e}}if(t=e.lastIndexOf(\"[\"),-1==t)throw new Error(\"found invalid type with ']' but no corresponding '['\");if(t>=n)throw new Error(\"malformed type, ']' appears before '['\");return r=e.substring(0,t),i=e.substring(t+1,n),{type:r,len:i}}function C(e,t,n){var r,i,o,a,s,c={};if(!(e instanceof Array))throw new Error(\"definition is not an array\");if(0===e.length)throw new Error(\"definition must have at least one element\");for(r=0;r<e.length;r++){if(o=e[r],!(o instanceof Object))throw new Error(\"definition must be an array ofobjects\");if(a=Object.keys(o),1!=a.length)throw new Error(\"definition entry must only have one key\");if(a[0]in c)throw new Error(\"Specified name already specified: \"+a[0]);if(!(\"type\"in o[a[0]]))throw new Error(\"missing required type definition\");for(s=A(o[a[0]].type);void 0!==s.len;){if(isNaN(parseInt(s.len,10))&&!(s.len in c))throw new Error(\"Given an array length without a matching type\");s=A(s.type)}if(!(s.type in t))throw new Error(\"type not found or typdefed: \"+s.type);if(void 0!==n)for(i=0;i<n.length;i++)if(!(n[i]in o[a[0]]))throw new Error(\"Missing required field: \"+n[i]);c[a[0]]=!0}}function T(e){if(!e)throw new Error(\"missing required argument\");if(!(\"endian\"in e))throw new Error(\"missing required endian value\");if(\"big\"!=e.endian&&\"little\"!=e.endian)throw new Error(\"Invalid endian type\");if(\"char-type\"in e&&\"uint8\"!=e[\"char-type\"]&&\"int8\"!=e[\"char-type\"])throw new Error(\"invalid option for char-type: \"+e[\"char-type\"]);this.endian=e.endian,this.types=O(),\"char-type\"in e&&\"uint8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.uint8_t),\"char-type\"in e&&\"int8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.int8_t)}function I(e,t){for(var n=\"\",r=A(e);void 0!==r.len;){if(isNaN(parseInt(r.len,10))){if(\"number\"!=typeof t[r.len])throw new Error(\"cannot sawp in non-number for array value\");n=\"[\"+t[r.len]+\"]\"+n}else n=\"[\"+r.len+\"]\"+n;r=A(r.type)}return n=r.type+n}function P(e){var t,n,r;for(n=[],t=0;t<e.length;t++)r=Object.keys(e[t])[0],D.ok(\"value\"in e[t][r]),n.push(e[t][r].value);return n}function F(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(e[0]>=1048576)throw new Error(\"value would become approximated\");return e[0]*Math.pow(2,32)+e[1]}function M(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");return Math.pow(2,32)*e[0]+e[1]}function z(e,t){var n=new T(t);return B.ctfParseJson(e,n),n}var B=e(\"./ctf.js\"),N=e(\"./ctio.js\"),D=e(\"assert\"),q={uint8_t:{read:r,write:m},uint16_t:{read:i,write:v},uint32_t:{read:o,write:g},uint64_t:{read:a,write:y},int8_t:{read:s,write:b},int16_t:{read:c,write:x},int32_t:{read:u,write:w},int64_t:{read:p,write:_},\"float\":{read:l,write:k},\"double\":{read:f,write:j},\"char\":{read:d,write:S},\"char[]\":{read:h,write:E}};T.prototype.setEndian=function(e){if(\"big\"!=e&&\"little\"!=e)throw new Error(\"invalid endian type, must be big or little\");this.endian=e},T.prototype.getEndian=function(){return this.endian},T.prototype.typedef=function(e,t){var n;if(void 0===e)throw new(Error(\"missing required typedef argument: name\"));if(void 0===t)throw new(Error(\"missing required typedef argument: value\"));if(\"string\"!=typeof e)throw new(Error(\"the name of a type must be a string\"));if(n=A(e),void 0!==n.len)throw new Error(\"Cannot have an array in the typedef name\");if(e in this.types)throw new Error(\"typedef name already present: \"+e);if(\"string\"!=typeof t&&!(t instanceof Array))throw new Error(\"typedef value must either be a string or struct\");if(\"string\"==typeof t){if(n=A(t),void 0!==n.len&&isNaN(parseInt(n.len,10)))throw new(Error(\"typedef value must use fixed size array when outside of a struct\"));this.types[e]=t}else C(t,this.types),this.types[e]=t},T.prototype.lstypes=function(){var e,t={};for(e in this.types)e in q||(t[e]=this.types[e]);return t},T.prototype.resolveTypedef=function(e,t,n,r,i){var o;if(D.ok(e in this.types),\"string\"==typeof this.types[e]){if(o=A(this.types[e]),\"read\"==t)return this.readEntry(o,n,r);if(\"write\"==t)return this.writeEntry(i,o,n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")}if(\"read\"==t)return this.readStruct(this.types[e],n,r);if(\"write\"==t)return this.writeStruct(i,this.types[e],n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")},T.prototype.readEntry=function(e,t,n){var r,i;if(void 0!==e.len){if(i=parseInt(e.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");r=\"char\"==e.type?this.types[\"char[]\"].read(i,this.endian,t,n):this.readArray(e.type,i,t,n)}else r=e.type in q?this.types[e.type].read(this.endian,t,n):this.resolveTypedef(e.type,\"read\",t,n);return r},T.prototype.readArray=function(e,t,n,r){var i,o,a,s=r,c=new Array(t);for(a=A(e),i=0;t>i;i++)o=this.readEntry(a,n,r),r+=o.size,c[i]=o.value;return{value:c,size:r-s}},T.prototype.readStruct=function(e,t,n){var r,i,o,a,s,c=n,u={};for(i=0;i<e.length;i++)s=Object.keys(e[i])[0],a=e[i][s],o=A(I(a.type,u)),\"offset\"in a&&(n=c+a.offset),r=this.readEntry(o,t,n),n+=r.size,u[s]=r.value;return{value:u,size:n-c}},T.prototype.readData=function(e,t,n){if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");return C(e,this.types),this.readStruct(e,t,n).value},T.prototype.writeArray=function(e,t,n,r,i){var o,a,s=i;if(!(e instanceof Array))throw new Error(\"asked to write an array, but value is not an array\");if(e.length!=n)throw new Error(\"asked to write array of length \"+n+\" but that does not match value length: \"+e.length);for(a=A(t),o=0;n>o;o++)i+=this.writeEntry(e[o],a,r,i);return i-s},T.prototype.writeEntry=function(e,t,n,r){var i,o;if(void 0!==t.len){if(i=parseInt(t.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");o=\"char\"==t.type?this.types[\"char[]\"].write(e,i,this.endian,n,r):this.writeArray(e,t.type,i,n,r)}else o=t.type in q?this.types[t.type].write(e,this.endian,n,r):this.resolveTypedef(t.type,\"write\",n,r,e);return o},T.prototype.writeStruct=function(e,t,n,r){var i,o,a,s,c=r,u={};for(i=0;i<t.length;i++)s=Object.keys(t[i])[0],o=t[i][s],a=A(I(o.type,u)),\"offset\"in o&&(r=c+o.offset),r+=this.writeEntry(e[i],a,n,r),u[s]=e[i];return r},T.prototype.writeData=function(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");if(i=null!=r&&void 0!=r){if(!Array.isArray(r))throw new Error(\"missing values for writing\");C(e,this.types)}else C(e,this.types,[\"value\"]);this.writeStruct(i?r:P(e),e,t,n)},n.Parser=T,n.toAbs64=F,n.toApprox64=M,n.parseCTF=z,n.ruint8=N.ruint8,n.ruint16=N.ruint16,n.ruint32=N.ruint32,n.ruint64=N.ruint64,n.wuint8=N.wuint8,n.wuint16=N.wuint16,n.wuint32=N.wuint32,n.wuint64=N.wuint64,n.rsint8=N.rsint8,n.rsint16=N.rsint16,n.rsint32=N.rsint32,n.rsint64=N.rsint64,n.wsint8=N.wsint8,n.wsint16=N.wsint16,n.wsint32=N.wsint32,n.wsint64=N.wsint64,n.rfloat=N.rfloat,n.rdouble=N.rdouble,n.wfloat=N.wfloat,n.wdouble=N.wdouble}).call(this,e(\"buffer\").Buffer)},{\"./ctf.js\":79,\"./ctio.js\":80,assert:void 0,buffer:void 0}],82:[function(e,t,n){function r(){return n.colors[p++%n.colors.length]}function i(e){function t(){}function i(){var e=i,t=+new Date,o=t-(u||t);e.diff=o,e.prev=u,e.curr=t,u=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),\"string\"!=typeof a[0]&&(a=[\"%o\"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,r){if(\"%%\"===t)return t;s++;var i=n.formatters[r];if(\"function\"==typeof i){var o=a[s];t=i.call(e,o),a.splice(s,1),s--}return t}),\"function\"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var c=i.log||n.log||console.log.bind(console);c.apply(e,a)}t.enabled=!1,i.enabled=!0;var o=n.enabled(e)?i:t;return o.namespace=e,o}function o(e){n.save(e);for(var t=(e||\"\").split(/[\\s,]+/),r=t.length,i=0;r>i;i++)t[i]&&(e=t[i].replace(/\\*/g,\".*?\"),\"-\"===e[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))}function a(){n.enable(\"\")}function s(e){var t,r;for(t=0,r=n.skips.length;r>t;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;r>t;t++)if(n.names[t].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={};var u,p=0},{ms:355}],83:[function(e,t,n){function r(){var e=(process.env.DEBUG_COLORS||\"\").trim().toLowerCase();return 0===e.length?u.isatty(l):\"0\"!==e&&\"no\"!==e&&\"false\"!==e&&\"disabled\"!==e}function i(){var e=arguments,t=this.useColors,r=this.namespace;if(t){var i=this.color;e[0]=\"  \u001b[3\"+i+\";1m\"+r+\" \u001b[0m\"+e[0]+\"\u001b[3\"+i+\"m +\"+n.humanize(this.diff)+\"\u001b[0m\"}else e[0]=(new Date).toUTCString()+\" \"+r+\" \"+e[0];return e}function o(){return f.write(p.format.apply(this,arguments)+\"\\n\")}function a(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e}function s(){return process.env.DEBUG}function c(t){var n,r=process.binding(\"tty_wrap\");switch(r.guessHandleType(t)){case\"TTY\":n=new u.WriteStream(t),n._type=\"tty\",n._handle&&n._handle.unref&&n._handle.unref();break;case\"FILE\":var i=e(\"fs\");n=new i.SyncWriteStream(t,{autoClose:!1}),n._type=\"fs\";break;case\"PIPE\":case\"TCP\":var o=e(\"net\");n=new o.Socket({fd:t,readable:!1,writable:!0}),n.readable=!1,n.read=null,n._type=\"pipe\",n._handle&&n._handle.unref&&n._handle.unref();break;default:throw new Error(\"Implement me. Unknown stream file type!\")}return n.fd=t,n._isStdio=!0,n}var u=e(\"tty\"),p=e(\"util\");n=t.exports=e(\"./debug\"),n.log=o,n.formatArgs=i,n.save=a,n.load=s,n.useColors=r,n.colors=[6,2,3,4,5,1];var l=parseInt(process.env.DEBUG_FD,10)||2,f=1===l?process.stdout:2===l?process.stderr:c(l),d=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};n.formatters.o=function(e){return d(e,this.useColors).replace(/\\s*\\n\\s*/g,\" \")},n.enable(s())},{\"./debug\":82,fs:void 0,net:void 0,tty:void 0,util:void 0}],84:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,\"readable\",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],85:[function(require,module,exports){function containsNamespace(e,t){var n=e.split(/[ ,]+/);t=String(t).toLowerCase();for(var r=0;r<n.length;r++)if((e=n[r])&&(\"*\"===e||e.toLowerCase()===t))return!0;return!1}function convertDataDescriptorToAccessor(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),i=r.value;return r.get=function(){return i},r.writable&&(r.set=function(e){return i=e}),delete r.value,delete r.writable,Object.defineProperty(e,t,r),r}function createArgumentsString(e){for(var t=\"\",n=0;e>n;n++)t+=\", arg\"+n;return t.substr(2)}function createStackString(e){var t=this.name+\": \"+this.namespace;this.message&&(t+=\" deprecated \"+this.message);for(var n=0;n<e.length;n++)t+=\"\\n    at \"+callSiteToString(e[n]);return t}function depd(e){function t(e){log.call(t,e)}if(!e)throw new TypeError(\"argument namespace is required\");var n=getStack(),r=callSiteLocation(n[1]),i=r[0];return t._file=i,t._ignored=isignored(e),t._namespace=e,t._traced=istraced(e),t._warned=Object.create(null),t[\"function\"]=wrapfunction,t.property=wrapproperty,t}function isignored(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||\"\";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||\"\";return containsNamespace(t,e)}function log(e,t){var n=0!==eventListenerCount(process,\"deprecation\");if(n||!this._ignored){var r,i,o,a=0,s=!1,c=getStack(),u=this._file;for(t?(o=callSiteLocation(c[1]),o.name=t.name,u=o[0]):(a=2,t=callSiteLocation(c[a]),o=t);a<c.length;a++)if(r=callSiteLocation(c[a]),i=r[0],i===u)s=!0;else if(i===this._file)u=this._file;else if(s)break;\nvar p=r?t.join(\":\")+\"__\"+r.join(\":\"):void 0;if(!(void 0!==p&&p in this._warned)){if(this._warned[p]=!0,e||(e=defaultMessage(o!==t&&o.name?o:t)),n){var l=DeprecationError(this._namespace,e,c.slice(a));return void process.emit(\"deprecation\",l)}var f=process.stderr.isTTY?formatColor:formatPlain,d=f.call(this,e,r,c.slice(a));process.stderr.write(d+\"\\n\",\"utf8\")}}}function callSiteLocation(e){var t=e.getFileName()||\"<anonymous>\",n=e.getLineNumber(),r=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+\", \"+t);var i=[t,n,r];return i.callSite=e,i.name=e.getFunctionName(),i}function defaultMessage(e){var t=e.callSite,n=e.name;n||(n=\"<anonymous@\"+formatLocation(e)+\">\");var r=t.getThis(),i=r&&t.getTypeName();return\"Object\"===i&&(i=void 0),\"Function\"===i&&(i=r.name||i),i&&t.getMethodName()?i+\".\"+n:n}function formatPlain(e,t,n){var r=(new Date).toUTCString(),i=r+\" \"+this._namespace+\" deprecated \"+e;if(this._traced){for(var o=0;o<n.length;o++)i+=\"\\n    at \"+callSiteToString(n[o]);return i}return t&&(i+=\" at \"+formatLocation(t)),i}function formatColor(e,t,n){var r=\"\u001b[36;1m\"+this._namespace+\"\u001b[22;39m \u001b[33;1mdeprecated\u001b[22;39m \u001b[0m\"+e+\"\u001b[39m\";if(this._traced){for(var i=0;i<n.length;i++)r+=\"\\n    \u001b[36mat \"+callSiteToString(n[i])+\"\u001b[39m\";return r}return t&&(r+=\" \u001b[36m\"+formatLocation(t)+\"\u001b[39m\"),r}function formatLocation(e){return relative(basePath,e[0])+\":\"+e[1]+\":\"+e[2]}function getStack(){var e=Error.stackTraceLimit,t={},n=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(t);var r=t.stack.slice(1);return Error.prepareStackTrace=n,Error.stackTraceLimit=e,r}function prepareObjectStackTrace(e,t){return t}function wrapfunction(fn,message){if(\"function\"!=typeof fn)throw new TypeError(\"argument fn must be a function\");var args=createArgumentsString(fn.length),deprecate=this,stack=getStack(),site=callSiteLocation(stack[1]);site.name=fn.name;var deprecatedfn=eval(\"(function (\"+args+') {\\n\"use strict\"\\nlog.call(deprecate, message, site)\\nreturn fn.apply(this, arguments)\\n})');return deprecatedfn}function wrapproperty(e,t,n){if(!e||\"object\"!=typeof e&&\"function\"!=typeof e)throw new TypeError(\"argument obj must be object\");var r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw new TypeError(\"must call property on owner object\");if(!r.configurable)throw new TypeError(\"property must be configurable\");var i=this,o=getStack(),a=callSiteLocation(o[1]);a.name=t,\"value\"in r&&(r=convertDataDescriptorToAccessor(e,t,n));var s=r.get,c=r.set;\"function\"==typeof s&&(r.get=function(){return log.call(i,n,a),s.apply(this,arguments)}),\"function\"==typeof c&&(r.set=function(){return log.call(i,n,a),c.apply(this,arguments)}),Object.defineProperty(e,t,r)}function DeprecationError(e,t,n){var r,i=new Error;return Object.defineProperty(i,\"constructor\",{value:DeprecationError}),Object.defineProperty(i,\"message\",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(i,\"name\",{enumerable:!1,configurable:!0,value:\"DeprecationError\",writable:!0}),Object.defineProperty(i,\"namespace\",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(i,\"stack\",{configurable:!0,enumerable:!1,get:function(){return void 0!==r?r:r=createStackString.call(this,n)},set:function(e){r=e}}),i}var callSiteToString=require(\"./lib/compat\").callSiteToString,eventListenerCount=require(\"./lib/compat\").eventListenerCount,relative=require(\"path\").relative;module.exports=depd;var basePath=process.cwd()},{\"./lib/compat\":89,path:void 0}],86:[function(e,t,n){(function(e){\"use strict\";function n(t){for(var n=0,r=0,i=t.length;i>r;r++)n+=t[r].length;for(var o=new e(n),a=0,r=0,i=t.length;i>r;r++)t[r].copy(o,a),a+=t[r].length;return o}t.exports=n}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],87:[function(e,t,n){\"use strict\";function r(e){var t,n=\"\";if(e.isNative()?n=\"native\":e.isEval()?(t=e.getScriptNameOrSourceURL(),t||(n=e.getEvalOrigin())):t=e.getFileName(),t){n+=t;var r=e.getLineNumber();if(null!=r){n+=\":\"+r;var i=e.getColumnNumber();i&&(n+=\":\"+i)}}return n||\"unknown source\"}function i(e){var t=!0,n=r(e),i=e.getFunctionName(),a=e.isConstructor(),s=!(e.isToplevel()||a),c=\"\";if(s){var u=e.getMethodName(),p=o(e);i?(p&&0!==i.indexOf(p)&&(c+=p+\".\"),c+=i,u&&i.lastIndexOf(\".\"+u)!==i.length-u.length-1&&(c+=\" [as \"+u+\"]\")):c+=p+\".\"+(u||\"<anonymous>\")}else a?c+=\"new \"+(i||\"<anonymous>\"):i?c+=i:(t=!1,c+=n);return t&&(c+=\" (\"+n+\")\"),c}function o(e){var t=e.receiver;return t.constructor&&t.constructor.name||null}t.exports=i},{}],88:[function(e,t,n){\"use strict\";function r(e,t){return e.listeners(t).length}t.exports=r},{}],89:[function(e,t,n){\"use strict\";function r(e,t,n){function r(){var r=n();return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r}),r}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}function i(e){return e.toString()}var o=e(\"buffer\"),a=e(\"events\").EventEmitter;r(t.exports,\"bufferConcat\",function(){return o.concat||e(\"./buffer-concat\")}),r(t.exports,\"callSiteToString\",function(){function t(e,t){return t}var n=Error.stackTraceLimit,r={},o=Error.prepareStackTrace;Error.prepareStackTrace=t,Error.stackTraceLimit=2,Error.captureStackTrace(r);var a=r.stack.slice();return Error.prepareStackTrace=o,Error.stackTraceLimit=n,a[0].toString?i:e(\"./callsite-tostring\")}),r(t.exports,\"eventListenerCount\",function(){return a.listenerCount||e(\"./event-listener-count\")})},{\"./buffer-concat\":86,\"./callsite-tostring\":87,\"./event-listener-count\":88,buffer:void 0,events:void 0}],90:[function(e,t,n){\"use strict\";function r(e){return e instanceof a?i(e):e instanceof s?(\"function\"==typeof e.destroy&&e.destroy(),e):e}function i(e){return e.destroy(),\"function\"==typeof e.close&&e.on(\"open\",o),e}function o(){\"number\"==typeof this.fd&&this.close()}var a=e(\"fs\").ReadStream,s=e(\"stream\");t.exports=r},{fs:void 0,stream:void 0}],91:[function(e,t,n){(function(t){function r(e,t){return e.length>=t?e:r(\"0\"+e,t)}var i=e(\"crypto\"),o=e(\"jsbn\").BigInteger;e(\"./lib/ec.js\").ECPointFp;n.ECCurves=e(\"./lib/sec.js\"),n.ECKey=function(e,n,a){var s,c=e(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(a){var e=c.getCurve();this.P=e.decodePointHex(n.toString(\"hex\"))}else{if(n.length!=p)return!1;s=new o(n.toString(\"hex\"),16)}else{var l=u.subtract(o.ONE),f=new o(i.randomBytes(u.bitLength()));s=f.mod(l).add(o.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),\"hex\")),s&&(this.PrivateKey=new t(r(s.toString(16),2*p),\"hex\"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var n=e.P.multiply(s);return new t(r(n.getX().toBigInteger().toString(16),2*p),\"hex\")})}}).call(this,e(\"buffer\").Buffer)},{\"./lib/ec.js\":92,\"./lib/sec.js\":93,buffer:void 0,crypto:void 0,jsbn:171}],92:[function(e,t,n){function r(e,t){this.x=t,this.q=e}function i(e){return e==this?!0:this.q.equals(e.q)&&this.x.equals(e.x)}function o(){return this.x}function a(){return new r(this.q,this.x.negate().mod(this.q))}function s(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function c(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function u(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function p(){return new r(this.q,this.x.square().mod(this.q))}function l(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function f(e,t,n,r){this.curve=e,this.x=t,this.y=n,null==r?this.z=I.ONE:this.z=r,this.zinv=null}function d(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function h(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function m(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,n;return t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t.equals(I.ZERO)?(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(I.ZERO)):!1}function v(){return null==this.x&&null==this.y?!0:this.z.equals(I.ZERO)&&!this.y.toBigInteger().equals(I.ZERO)}function g(){return new f(this.curve,this.x,this.y.negate(),this.z)}function y(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(I.ZERO.equals(n))return I.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new I(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),c=i.multiply(a),u=t.square().multiply(this.z),p=u.subtract(c.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),l=c.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(l),d)}function b(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new I(\"3\"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);I.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o))),a=a.mod(this.curve.q);var s=a.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),c=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(c),u)}function x(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new I(\"3\")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add(a?this:i))}return o}function w(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i}function _(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new f(this,null,null),this.reducer=new P(this.q)}function k(){return this.q}function j(){return this.a}function S(){return this.b}function E(e){return e==this?!0:this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function O(){return this.infinity}function A(e){return new r(this.q,e)}function C(e){this.reducer.reduce(e)}function T(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t=\"0\"+t;for(;n.length<r;)n=\"0\"+n;return\"04\"+t+n}var I=e(\"jsbn\").BigInteger,P=I.prototype.Barrett;r.prototype.equals=i,r.prototype.toBigInteger=o,r.prototype.negate=a,r.prototype.add=s,r.prototype.subtract=c,r.prototype.multiply=u,r.prototype.square=p,r.prototype.divide=l,f.prototype.getX=d,f.prototype.getY=h,f.prototype.equals=m,f.prototype.isInfinity=v,f.prototype.negate=g,f.prototype.add=y,f.prototype.twice=b,f.prototype.multiply=x,f.prototype.multiplyTwo=w,_.prototype.getQ=k,_.prototype.getA=j,_.prototype.getB=S,_.prototype.equals=E,_.prototype.getInfinity=O,_.prototype.fromBigInteger=A,_.prototype.reduce=C,_.prototype.encodePointHex=T,_.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var n=e.length-2,r=e.substr(2,n),i=this.fromBigInteger(new I(r,16)),o=i.multiply(i.square().add(this.getA())).add(this.getB()),a=o.sqrt();if(null==a)throw\"Invalid point compression\";var s=a.toBigInteger();return s.testBit(0)!=t&&(a=this.fromBigInteger(this.getQ().subtract(s))),new f(this,i,a);case 4:case 6:case 7:var n=(e.length-2)/2,r=e.substr(2,n),c=e.substr(n+2,n);return new f(this,this.fromBigInteger(new I(r,16)),this.fromBigInteger(new I(c,16)));default:return null}},_.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t=\"0\"+t;var r;return r=e.getY().toBigInteger().isEven()?\"02\":\"03\",r+t},r.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);-1==t.intValue()&&(this.r=I.ONE.shiftLeft(e).subtract(this.q))}return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var n=e.shiftRight(t),r=e.subtract(n.shiftLeft(t));this.getR().equals(I.ONE)||(n=n.multiply(this.getR())),e=n.add(r)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw\"unsupported\";if(this.q.testBit(1)){var e=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(I.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(I.ONE),n=t.shiftRight(1);if(!this.x.modPow(n,this.q).equals(I.ONE))return null;var i,o,a=t.shiftRight(2),s=a.shiftLeft(1).add(I.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do p=new I(this.q.bitLength(),new SecureRandom);while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(n,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(u))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new r(q,o)}while(i.equals(I.ONE)||i.equals(t));return null},r.prototype.lucasSequence=function(e,t,n){for(var r=n.bitLength(),i=n.getLowestSetBit(),o=I.ONE,a=I.TWO,s=e,c=I.ONE,u=I.ONE,p=r-1;p>=i+1;--p)c=this.modMult(c,u),n.testBit(p)?(u=this.modMult(c,t),o=this.modMult(o,s),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1)))):(u=c,o=this.modReduce(o.multiply(a).subtract(c)),s=this.modReduce(s.multiply(a).subtract(e.multiply(c))),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))));c=this.modMult(c,u),u=this.modMult(c,t),o=this.modReduce(o.multiply(a).subtract(c)),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),c=this.modMult(c,u);for(var p=1;i>=p;++p)o=this.modMult(o,a),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,a]};var n={ECCurveFp:_,ECPointFp:f,ECFieldElementFp:r};t.exports=n},{jsbn:171}],93:[function(e,t,n){function r(e,t,n,r){this.curve=e,this.g=t,this.n=n,this.h=r}function i(){return this.curve}function o(){return this.g}function a(){return this.n}function s(){return this.h}function c(e){return new v(e,16)}function u(){var e=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"E87579C11079F43DD824993C2CEE5ED3\"),i=c(\"FFFFFFFE0000000075A30D1B9038A115\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83\");return new r(a,s,i,o)}function p(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\"),t=v.ZERO,n=c(\"7\"),i=c(\"0100000000000000000001B8FA16DFAB9ACA16B6B3\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE\");return new r(a,s,i,o)}function l(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\"),n=c(\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\"),i=c(\"0100000000000000000001F4C8F927AED3CA752257\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32\");return new r(a,s,i,o)}function f(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\"),t=v.ZERO,n=c(\"3\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\");return new r(a,s,i,o)}function d(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\"),n=c(\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811\");return new r(a,s,i,o)}function h(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\"),n=c(\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\");return new r(a,s,i,o)}function m(){var e=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\"),i=c(\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\");return new r(a,s,i,o)}var v=e(\"jsbn\").BigInteger,g=e(\"./ec.js\").ECCurveFp;r.prototype.getCurve=i,r.prototype.getG=o,r.prototype.getN=a,r.prototype.getH=s,t.exports={secp128r1:u,secp160k1:p,secp160r1:l,secp192k1:f,secp192r1:d,secp224r1:h,secp256r1:m}},{\"./ec.js\":92,jsbn:171}],94:[function(e,t,n){\"use strict\";function r(e,t){function n(){r(),t.apply(null,arguments)}function r(){for(var e,t=0;t<a.length;t++)e=a[t],e.ee.removeListener(e.event,e.fn)}function o(e){t=e}if(!Array.isArray(e))throw new TypeError(\"arg must be an array of [ee, events...] arrays\");for(var a=[],s=0;s<e.length;s++){var c=e[s];if(!Array.isArray(c)||c.length<2)throw new TypeError(\"each array member must be [ee, events...]\");for(var u=c[0],p=1;p<c.length;p++){var l=c[p],f=i(l,n);u.on(l,f),a.push({ee:u,event:l,fn:f})}}return o.cancel=r,o}function i(e,t){return function(n){for(var r=new Array(arguments.length),i=this,o=\"error\"===e?n:null,a=0;a<r.length;a++)r[a]=arguments[a];t(o,i,e,r)}}t.exports=r},{}],95:[function(e,t,n){(function(n){(function(){\"use strict\";function r(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function i(e){return\"function\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){H=e}function s(e){K=e}function c(){return function(){process.nextTick(d)}}function u(){return function(){U(d)}}function p(){var e=0,t=new Z(d),n=document.createTextNode(\"\");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){e.port2.postMessage(0)}}function f(){return function(){setTimeout(d,1)}}function d(){for(var e=0;Y>e;e+=2){var t=ee[e],n=ee[e+1];t(n),ee[e]=void 0,ee[e+1]=void 0}Y=0}function h(){try{var t=e,n=t(\"vertx\");return U=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function m(){}function v(){return new TypeError(\"You cannot resolve a promise with itself\")}function g(){return new TypeError(\"A promises callback cannot return that same promise.\")}function y(e){try{return e.then}catch(t){return ie.error=t,ie}}function b(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function x(e,t,n){K(function(e){var r=!1,i=b(n,t,function(n){r||(r=!0,t!==n?k(e,n):S(e,n))},function(t){r||(r=!0,E(e,t))},\"Settle: \"+(e._label||\" unknown promise\"));!r&&i&&(r=!0,E(e,i))},e)}function w(e,t){t._state===ne?S(e,t._result):t._state===re?E(e,t._result):O(t,void 0,function(t){k(e,t)},function(t){E(e,t)})}function _(e,t){if(t.constructor===e.constructor)w(e,t);else{var n=y(t);n===ie?E(e,ie.error):void 0===n?S(e,t):i(n)?x(e,t,n):S(e,t)}}function k(e,t){e===t?E(e,v()):r(t)?_(e,t):S(e,t)}function j(e){e._onerror&&e._onerror(e._result),A(e)}function S(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(A,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,K(j,e))}function O(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ne]=n,i[o+re]=r,0===o&&e._state&&K(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?I(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function T(e,t){try{return e(t)}catch(n){return oe.error=n,oe}}function I(e,t,n,r){var o,a,s,c,u=i(n);if(u){if(o=T(n,r),o===oe?(c=!0,a=o.error,o=null):s=!0,t===o)return void E(t,g())}else o=r,s=!0;t._state!==te||(u&&s?k(t,o):c?E(t,a):e===ne?S(t,o):e===re&&E(t,o))}function P(e,t){try{t(function(t){k(e,t)},function(t){E(e,t)})}catch(n){E(e,n)}}function F(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(m),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?S(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&S(n.promise,n._result))):E(n.promise,n._validationError())}function M(e){return new ae(this,e).promise}function z(e){function t(e){k(i,e)}function n(e){E(i,e)}var r=this,i=new r(m);if(!W(e))return E(i,new TypeError(\"You must pass an array to race.\")),i;for(var o=e.length,a=0;i._state===te&&o>a;a++)O(r.resolve(e[a]),void 0,t,n);return i}function B(e){var t=this;if(e&&\"object\"==typeof e&&e.constructor===t)return e;var n=new t(m);return k(n,e),n}function N(e){var t=this,n=new t(m);return E(n,e),n}function D(){throw new TypeError(\"You must pass a resolver function as the first argument to the promise constructor\")}function q(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\")}function R(e){this._id=le++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==e&&(i(e)||D(),this instanceof R||q(),P(this,e))}function L(){var e;if(\"undefined\"!=typeof n)e=n;else if(\"undefined\"!=typeof self)e=self;else try{e=Function(\"return this\")()}catch(t){throw new Error(\"polyfill failed because global object is unavailable in this environment\")}var r=e.Promise;r&&\"[object Promise]\"===Object.prototype.toString.call(r.resolve())&&!r.cast||(e.Promise=fe)}var $;$=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};var U,H,V,W=$,Y=0,K=({}.toString,function(e,t){ee[Y]=e,ee[Y+1]=t,Y+=2,2===Y&&(H?H(d):V())}),G=\"undefined\"!=typeof window?window:void 0,J=G||{},Z=J.MutationObserver||J.WebKitMutationObserver,Q=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),X=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel,ee=new Array(1e3);V=Q?c():Z?p():X?l():void 0===G&&\"function\"==typeof e?h():f();var te=void 0,ne=1,re=2,ie=new C,oe=new C;F.prototype._validateInput=function(e){return W(e)},F.prototype._validationError=function(){return new Error(\"Array Methods must be provided an Array\")},F.prototype._init=function(){this._result=new Array(this.length)};var ae=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===te&&t>i;i++)e._eachEntry(r[i],i)},F.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;o(e)?e.constructor===r&&e._state!==te?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},F.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===te&&(r._remaining--,e===re?E(i,n):r._result[t]=n),0===r._remaining&&S(i,r._result)},F.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){n._settledAt(ne,t,e)},function(e){n._settledAt(re,t,e)})};var se=M,ce=z,ue=B,pe=N,le=0,fe=R;R.all=se,R.race=ce,R.resolve=ue,R.reject=pe,R._setScheduler=a,R._setAsap=s,R._asap=K,R.prototype={constructor:R,then:function(e,t){var n=this,r=n._state;if(r===ne&&!e||r===re&&!t)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];K(function(){I(r,i,a,o)})}else O(n,i,e,t);return i},\"catch\":function(e){return this.then(null,e)}};var de=L,he={Promise:fe,polyfill:de};\"function\"==typeof define&&define.amd?define(function(){return he}):\"undefined\"!=typeof t&&t.exports?t.exports=he:\"undefined\"!=typeof this&&(this.ES6Promise=he),de()}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],96:[function(e,t,n){\"use strict\";function r(e){var t=\"\"+e,n=i.exec(t);if(!n)return t;var r,o=\"\",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=\"&quot;\";break;case 38:r=\"&amp;\";break;case 39:r=\"&#39;\";break;case 60:r=\"&lt;\";break;case 62:r=\"&gt;\";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=r}return s!==a?o+t.substring(s,a):o}var i=/[\"'&<>]/;t.exports=r},{}],97:[function(e,t,n){(function(n){\"use strict\";function r(e){if(0===e.length)return'\"0-1B2M2Y8AsgTpgAmY7PhCfg\"';var t=s.createHash(\"md5\").update(e,\"utf8\").digest(\"base64\").replace(u,\"\"),r=\"string\"==typeof e?n.byteLength(e,\"utf8\"):e.length;return'\"'+r.toString(16)+\"-\"+t+'\"'}function i(e,t){if(null==e)throw new TypeError(\"argument entity is required\");var i=o(e),s=t&&\"boolean\"==typeof t.weak?t.weak:i;if(!i&&\"string\"!=typeof e&&!n.isBuffer(e))throw new TypeError(\"argument entity must be string, Buffer, or fs.Stats\");var c=i?a(e):r(e);return s?\"W/\"+c:c}function o(e){return\"function\"==typeof c&&e instanceof c?!0:e&&\"object\"==typeof e&&\"ctime\"in e&&\"[object Date]\"===p.call(e.ctime)&&\"mtime\"in e&&\"[object Date]\"===p.call(e.mtime)&&\"ino\"in e&&\"number\"==typeof e.ino&&\"size\"in e&&\"number\"==typeof e.size}function a(e){var t=e.mtime.getTime().toString(16),n=e.size.toString(16);return'\"'+n+\"-\"+t+'\"'}t.exports=i;var s=e(\"crypto\"),c=e(\"fs\").Stats,u=/=+$/,p=Object.prototype.toString}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,fs:void 0}],98:[function(e,t,n){\"use strict\";t.exports=e(\"./lib/express\")},{\"./lib/express\":100}],99:[function(e,t,n){\"use strict\";function r(e){\"test\"!==this.get(\"env\")&&console.error(e.stack||e.toString())}function i(e,t,n){try{e.render(t,n)}catch(r){n(r)}}var o=e(\"finalhandler\"),a=e(\"./router\"),s=e(\"methods\"),c=e(\"./middleware/init\"),u=e(\"./middleware/query\"),p=e(\"debug\")(\"express:application\"),l=e(\"./view\"),f=e(\"http\"),d=e(\"./utils\").compileETag,h=e(\"./utils\").compileQueryParser,m=e(\"./utils\").compileTrust,v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"utils-merge\"),b=e(\"path\").resolve,x=Array.prototype.slice,w=n=t.exports={},_=\"@@symbol:trust_proxy_default\";w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e=process.env.NODE_ENV||\"development\";this.enable(\"x-powered-by\"),this.set(\"etag\",\"weak\"),this.set(\"env\",e),this.set(\"query parser\",\"extended\"),this.set(\"subdomain offset\",2),this.set(\"trust proxy\",!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),p(\"booting in %s mode\",e),this.on(\"mount\",function(e){this.settings[_]===!0&&\"function\"==typeof e.settings[\"trust proxy fn\"]&&(delete this.settings[\"trust proxy\"],delete this.settings[\"trust proxy fn\"]),this.request.__proto__=e.request,this.response.__proto__=e.response,this.engines.__proto__=e.engines,this.settings.__proto__=e.settings}),this.locals=Object.create(null),this.mountpath=\"/\",this.locals.settings=this.settings,this.set(\"view\",l),this.set(\"views\",b(\"views\")),this.set(\"jsonp callback name\",\"callback\"),\"production\"===e&&this.enable(\"view cache\"),Object.defineProperty(this,\"router\",{get:function(){throw new Error(\"'app.router' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.\")}})},w.lazyrouter=function(){this._router||(this._router=new a({caseSensitive:this.enabled(\"case sensitive routing\"),strict:this.enabled(\"strict routing\")}),this._router.use(u(this.get(\"query parser fn\"))),this._router.use(c.init(this)))},w.handle=function(e,t,n){var i=this._router,a=n||o(e,t,{env:this.get(\"env\"),onerror:r.bind(this)});return i?void i.handle(e,t,a):(p(\"no routes defined on app\"),void a())},w.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"app.use() requires middleware functions\");this.lazyrouter();var o=this._router;return i.forEach(function(e){return e&&e.handle&&e.set?(p(\".use app under %s\",n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){t.__proto__=i.request,n.__proto__=i.response,r(e)})}),void e.emit(\"mount\",this)):o.use(n,e)},this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,t){if(\"function\"!=typeof t)throw new Error(\"callback function required\");var n=\".\"!==e[0]?\".\"+e:e;return this.engines[n]=t,this},w.param=function(e,t){if(this.lazyrouter(),Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this._router.param(e,t),this},w.set=function(e,t){if(1===arguments.length)return this.settings[e];switch(p('set \"%s\" to %o',e,t),this.settings[e]=t,e){case\"etag\":this.set(\"etag fn\",d(t));break;case\"query parser\":this.set(\"query parser fn\",h(t));break;case\"trust proxy\":this.set(\"trust proxy fn\",m(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1})}return this},w.path=function(){return this.parent?this.parent.path()+this.mountpath:\"\"},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},s.forEach(function(e){w[e]=function(t){if(\"get\"===e&&1===arguments.length)return this.set(t);this.lazyrouter();var n=this._router.route(t);return n[e].apply(n,x.call(arguments,1)),this}}),w.all=function(e){this.lazyrouter();for(var t=this._router.route(e),n=x.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},w.del=v[\"function\"](w[\"delete\"],\"app.del: Use app.delete instead\"),w.render=function(e,t,n){var r,o=this.cache,a=n,s=this.engines,c=t,u={};if(\"function\"==typeof t&&(a=t,c={}),y(u,this.locals),c._locals&&y(u,c._locals),y(u,c),null==u.cache&&(u.cache=this.enabled(\"view cache\")),u.cache&&(r=o[e]),!r){var p=this.get(\"view\");if(r=new p(e,{defaultEngine:this.get(\"view engine\"),root:this.get(\"views\"),engines:s}),!r.path){var l=Array.isArray(r.root)&&r.root.length>1?'directories \"'+r.root.slice(0,-1).join('\", \"')+'\" or \"'+r.root[r.root.length-1]+'\"':'directory \"'+r.root+'\"',f=new Error('Failed to lookup view \"'+e+'\" in views '+l);return f.view=r,a(f)}u.cache&&(o[e]=r)}i(r,u,a)},w.listen=function(){var e=f.createServer(this);return e.listen.apply(e,arguments)}},{\"./middleware/init\":101,\"./middleware/query\":102,\"./router\":105,\"./utils\":108,\"./view\":109,\"array-flatten\":3,debug:83,depd:85,finalhandler:115,http:void 0,methods:181,path:void 0,\"utils-merge\":531}],100:[function(e,t,n){\"use strict\";function r(){var e=function(t,n,r){e.handle(t,n,r)};return o(e,i.prototype,!1),o(e,a,!1),e.request={__proto__:u,app:e},e.response={__proto__:p,app:e},e.init(),e}var i=e(\"events\").EventEmitter,o=e(\"merge-descriptors\"),a=e(\"./application\"),s=e(\"./router/route\"),c=e(\"./router\"),u=e(\"./request\"),p=e(\"./response\");n=t.exports=r,n.application=a,n.request=u,n.response=p,n.Route=s,n.Router=c,n.query=e(\"./middleware/query\"),n[\"static\"]=e(\"serve-static\"),[\"json\",\"urlencoded\",\"bodyParser\",\"compress\",\"cookieSession\",\"session\",\"logger\",\"cookieParser\",\"favicon\",\"responseTime\",\"errorHandler\",\"timeout\",\"methodOverride\",\"vhost\",\"csrf\",\"directory\",\"limit\",\"multipart\",\"staticCache\"].forEach(function(e){\nObject.defineProperty(n,e,{get:function(){throw new Error(\"Most middleware (like \"+e+\") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.\")},configurable:!0})})},{\"./application\":99,\"./middleware/query\":102,\"./request\":103,\"./response\":104,\"./router\":105,\"./router/route\":107,events:void 0,\"merge-descriptors\":180,\"serve-static\":416}],101:[function(e,t,n){\"use strict\";n.init=function(e){return function(t,n,r){e.enabled(\"x-powered-by\")&&n.setHeader(\"X-Powered-By\",\"Express\"),t.res=n,n.req=t,t.next=r,t.__proto__=e.request,n.__proto__=e.response,n.locals=n.locals||Object.create(null),r()}}},{}],102:[function(e,t,n){\"use strict\";var r=e(\"parseurl\"),i=e(\"qs\");t.exports=function(e){var t=Object.create(e||null),n=i.parse;return\"function\"==typeof e&&(n=e,t=void 0),void 0!==t&&(void 0===t.allowDots&&(t.allowDots=!1),void 0===t.allowPrototypes&&(t.allowPrototypes=!0)),function(e,i,o){if(!e.query){var a=r(e).query;e.query=n(a,t)}o()}}},{parseurl:364,qs:110}],103:[function(e,t,n){\"use strict\";function r(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}var i=e(\"accepts\"),o=e(\"depd\")(\"express\"),a=e(\"net\").isIP,s=e(\"type-is\"),c=e(\"http\"),u=e(\"fresh\"),p=e(\"range-parser\"),l=e(\"parseurl\"),f=e(\"proxy-addr\"),d=n=t.exports={__proto__:c.IncomingMessage.prototype};d.get=d.header=function(e){var t=e.toLowerCase();switch(t){case\"referer\":case\"referrer\":return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=i(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=i(this);return e.encodings.apply(e,arguments)},d.acceptsEncoding=o[\"function\"](d.acceptsEncodings,\"req.acceptsEncoding: Use acceptsEncodings instead\"),d.acceptsCharsets=function(){var e=i(this);return e.charsets.apply(e,arguments)},d.acceptsCharset=o[\"function\"](d.acceptsCharsets,\"req.acceptsCharset: Use acceptsCharsets instead\"),d.acceptsLanguages=function(){var e=i(this);return e.languages.apply(e,arguments)},d.acceptsLanguage=o[\"function\"](d.acceptsLanguages,\"req.acceptsLanguage: Use acceptsLanguages instead\"),d.range=function(e){var t=this.get(\"Range\");if(t)return p(e,t)},d.param=function(e,t){var n=this.params||{},r=this.body||{},i=this.query||{},a=1===arguments.length?\"name\":\"name, default\";return o(\"req.param(\"+a+\"): Use req.params, req.body, or req.query instead\"),null!=n[e]&&n.hasOwnProperty(e)?n[e]:null!=r[e]?r[e]:null!=i[e]?i[e]:t},d.is=function(e){var t=e;if(!Array.isArray(e)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return s(this,t)},r(d,\"protocol\",function(){var e=this.connection.encrypted?\"https\":\"http\",t=this.app.get(\"trust proxy fn\");return t(this.connection.remoteAddress,0)?(e=this.get(\"X-Forwarded-Proto\")||e,e.split(/\\s*,\\s*/)[0]):e}),r(d,\"secure\",function(){return\"https\"===this.protocol}),r(d,\"ip\",function(){var e=this.app.get(\"trust proxy fn\");return f(this,e)}),r(d,\"ips\",function(){var e=this.app.get(\"trust proxy fn\"),t=f.all(this,e);return t.slice(1).reverse()}),r(d,\"subdomains\",function h(){var e=this.hostname;if(!e)return[];var t=this.app.get(\"subdomain offset\"),h=a(e)?[e]:e.split(\".\").reverse();return h.slice(t)}),r(d,\"path\",function(){return l(this).pathname}),r(d,\"hostname\",function(){var e=this.app.get(\"trust proxy fn\"),t=this.get(\"X-Forwarded-Host\");if(t&&e(this.connection.remoteAddress,0)||(t=this.get(\"Host\")),t){var n=\"[\"===t[0]?t.indexOf(\"]\")+1:0,r=t.indexOf(\":\",n);return-1!==r?t.substring(0,r):t}}),r(d,\"host\",o[\"function\"](function(){return this.hostname},\"req.host: Use req.hostname instead\")),r(d,\"fresh\",function(){var e=this.method,t=this.res.statusCode;return\"GET\"!=e&&\"HEAD\"!=e?!1:t>=200&&300>t||304==t?u(this.headers,this.res._headers||{}):!1}),r(d,\"stale\",function(){return!this.fresh}),r(d,\"xhr\",function(){var e=this.get(\"X-Requested-With\")||\"\";return\"xmlhttprequest\"===e.toLowerCase()})},{accepts:2,depd:85,fresh:120,http:void 0,net:void 0,parseurl:364,\"proxy-addr\":380,\"range-parser\":387,\"type-is\":467}],104:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n,r){function i(){if(!d){d=!0;var e=new Error(\"Request aborted\");e.code=\"ECONNABORTED\",r(e)}}function o(){if(!d){d=!0;var e=new Error(\"EISDIR, read\");e.code=\"EISDIR\",r(e)}}function a(e){d||(d=!0,r(e))}function s(){d||(d=!0,r())}function c(){f=!1}function p(e){return e&&\"ECONNRESET\"===e.code?i():e?a(e):void(d||setImmediate(function(){return f===!1||d?void(d||(d=!0,r())):void i()}))}function l(){f=!0}var f,d=!1;t.on(\"directory\",o),t.on(\"end\",s),t.on(\"error\",a),t.on(\"file\",c),t.on(\"stream\",l),u(e,p),n.headers&&t.on(\"headers\",function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e.setHeader(o,t[o])}}),t.pipe(e)}var i=e(\"content-disposition\"),o=e(\"depd\")(\"express\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"./utils\").isAbsolute,u=e(\"on-finished\"),p=e(\"path\"),l=e(\"utils-merge\"),f=e(\"cookie-signature\").sign,d=e(\"./utils\").normalizeType,h=e(\"./utils\").normalizeTypes,m=e(\"./utils\").setCharset,v=s.STATUS_CODES,g=e(\"cookie\"),y=e(\"send\"),b=p.extname,x=y.mime,w=p.resolve,_=e(\"vary\"),k=t.exports={__proto__:s.ServerResponse.prototype},j=/;\\s*charset\\s*=/;k.status=function(e){return this.statusCode=e,this},k.links=function(e){var t=this.get(\"Link\")||\"\";return t&&(t+=\", \"),this.set(\"Link\",t+Object.keys(e).map(function(t){return\"<\"+e[t]+'>; rel=\"'+t+'\"'}).join(\", \"))},k.send=function(e){var t,r,i,a=e,s=this.req,c=this.app;switch(2===arguments.length&&(\"number\"!=typeof arguments[0]&&\"number\"==typeof arguments[1]?(o(\"res.send(body, status): Use res.status(status).send(body) instead\"),this.statusCode=arguments[1]):(o(\"res.send(status, body): Use res.status(status).send(body) instead\"),this.statusCode=arguments[0],a=arguments[1])),\"number\"==typeof a&&1===arguments.length&&(this.get(\"Content-Type\")||this.type(\"txt\"),o(\"res.send(status): Use res.sendStatus(status) instead\"),this.statusCode=a,a=v[a]),typeof a){case\"string\":this.get(\"Content-Type\")||this.type(\"html\");break;case\"boolean\":case\"number\":case\"object\":if(null===a)a=\"\";else{if(!n.isBuffer(a))return this.json(a);this.get(\"Content-Type\")||this.type(\"bin\")}}\"string\"==typeof a&&(t=\"utf8\",i=this.get(\"Content-Type\"),\"string\"==typeof i&&this.set(\"Content-Type\",m(i,\"utf-8\"))),void 0!==a&&(n.isBuffer(a)||(a=new n(a,t),t=void 0),r=a.length,this.set(\"Content-Length\",r));var u,p=void 0!==r&&c.get(\"etag fn\");return\"function\"!=typeof p||this.get(\"ETag\")||(u=p(a,t))&&this.set(\"ETag\",u),s.fresh&&(this.statusCode=304),204!=this.statusCode&&304!=this.statusCode||(this.removeHeader(\"Content-Type\"),this.removeHeader(\"Content-Length\"),this.removeHeader(\"Transfer-Encoding\"),a=\"\"),\"HEAD\"===s.method?this.end():this.end(a,t),this},k.json=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.json(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.json(status, obj): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i);return this.get(\"Content-Type\")||this.set(\"Content-Type\",\"application/json\"),this.send(a)},k.jsonp=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.jsonp(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i),s=this.req.query[n.get(\"jsonp callback name\")];return this.get(\"Content-Type\")||(this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"application/json\")),Array.isArray(s)&&(s=s[0]),\"string\"==typeof s&&0!==s.length&&(this.charset=\"utf-8\",this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"text/javascript\"),s=s.replace(/[^\\[\\]\\w$.]/g,\"\"),a=a.replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"),a=\"/**/ typeof \"+s+\" === 'function' && \"+s+\"(\"+a+\");\"),this.send(a)},k.sendStatus=function(e){var t=v[e]||String(e);return this.statusCode=e,this.type(\"txt\"),this.send(t)},k.sendFile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,u=t||{};if(!e)throw new TypeError(\"path argument is required to res.sendFile\");if(\"function\"==typeof t&&(i=t,u={}),!u.root&&!c(e))throw new TypeError(\"path must be absolute or specify root to res.sendFile\");var p=encodeURI(e),l=y(o,p,u);r(a,l,u,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORTED\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,c=t||{};\"function\"==typeof t&&(i=t,c={});var u=y(o,e,c);r(a,u,c,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORT\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=o[\"function\"](k.sendfile,\"res.sendfile: Use res.sendFile instead\"),k.download=function(e,t,n){var r=n,o=t;\"function\"==typeof t&&(r=t,o=null);var a={\"Content-Disposition\":i(o||e)},s=w(e);return this.sendFile(s,{headers:a},r)},k.contentType=k.type=function(e){var t=-1===e.indexOf(\"/\")?x.lookup(e):e;return this.set(\"Content-Type\",t)},k.format=function(e){var t=this.req,n=t.next,r=e[\"default\"];r&&delete e[\"default\"];var i=Object.keys(e),o=i.length>0?t.accepts(i):!1;if(this.vary(\"Accept\"),o)this.set(\"Content-Type\",d(o).value),e[o](t,this,n);else if(r)r();else{var a=new Error(\"Not Acceptable\");a.status=a.statusCode=406,a.types=h(i).map(function(e){return e.value}),n(a)}return this},k.attachment=function(e){return e&&this.type(b(e)),this.set(\"Content-Disposition\",i(e)),this},k.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},k.set=k.header=function(e,t){if(2===arguments.length){var n=Array.isArray(t)?t.map(String):String(t);if(\"content-type\"===e.toLowerCase()&&!j.test(n)){var r=x.charsets.lookup(n.split(\";\")[0]);r&&(n+=\"; charset=\"+r.toLowerCase())}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this},k.get=function(e){return this.getHeader(e)},k.clearCookie=function(e,t){var n=l({expires:new Date(1),path:\"/\"},t);return this.cookie(e,\"\",n)},k.cookie=function(e,t,n){var r=l({},n),i=this.req.secret,o=r.signed;if(o&&!i)throw new Error('cookieParser(\"secret\") required for signed cookies');var a=\"object\"==typeof t?\"j:\"+JSON.stringify(t):String(t);return o&&(a=\"s:\"+f(a,i)),\"maxAge\"in r&&(r.expires=new Date(Date.now()+r.maxAge),r.maxAge/=1e3),null==r.path&&(r.path=\"/\"),this.append(\"Set-Cookie\",g.serialize(e,String(a),r)),this},k.location=function(e){var t=e;return\"back\"===e&&(t=this.req.get(\"Referrer\")||\"/\"),this.set(\"Location\",t),this},k.redirect=function(e){var t,r=e,i=302;2===arguments.length&&(\"number\"==typeof arguments[0]?(i=arguments[0],r=arguments[1]):(o(\"res.redirect(url, status): Use res.redirect(status, url) instead\"),i=arguments[1])),this.location(r),r=this.get(\"Location\"),this.format({text:function(){t=v[i]+\". Redirecting to \"+encodeURI(r)},html:function(){var e=a(r);t=\"<p>\"+v[i]+'. Redirecting to <a href=\"'+e+'\">'+e+\"</a></p>\"},\"default\":function(){t=\"\"}}),this.statusCode=i,this.set(\"Content-Length\",n.byteLength(t)),\"HEAD\"===this.req.method?this.end():this.end(t)},k.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o(\"res.vary(): Provide a field name\"),this):(_(this,e),this)},k.render=function(e,t,n){var r=this.req.app,i=n,o=t||{},a=this.req,s=this;\"function\"==typeof t&&(i=t,o={}),o._locals=s.locals,i=i||function(e,t){return e?a.next(e):void s.send(t)},r.render(e,o,i)}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":108,buffer:void 0,\"content-disposition\":73,cookie:76,\"cookie-signature\":75,depd:85,\"escape-html\":96,http:void 0,\"on-finished\":363,path:void 0,send:409,\"utils-merge\":531,vary:532}],105:[function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}function i(e){try{return y(e).pathname}catch(t){return}}function o(e){var t=typeof e;return\"object\"!==t?t:w.call(e).replace(b,\"$1\")}function a(e,t){try{return e.match(t)}catch(n){return n}}function s(e,t){if(\"object\"!=typeof t||!t)return e;var n=h({},t);if(!(0 in e&&0 in t))return h(n,e);for(var r=0,i=0;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],i>r&&delete e[r];return h(n,e)}function c(e,t){for(var n=new Array(arguments.length-2),r=new Array(arguments.length-2),i=0;i<n.length;i++)n[i]=arguments[i+2],r[i]=t[n[i]];return function(i){for(var o=0;o<n.length;o++)t[n[o]]=r[o];return e.apply(this,arguments)}}function u(e,t,n){try{var r=t.join(\",\");e.set(\"Allow\",r),e.send(r)}catch(i){n(i)}}function p(e,t){return function(){var n=new Array(arguments.length+1);n[0]=e;for(var r=0,i=arguments.length;i>r;r++)n[r+1]=arguments[r];t.apply(this,n)}}var l=e(\"./route\"),f=e(\"./layer\"),d=e(\"methods\"),h=e(\"utils-merge\"),m=e(\"debug\")(\"express:router\"),v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"parseurl\"),b=/^\\[object (\\S+)\\]$/,x=Array.prototype.slice,w=Object.prototype.toString,_=t.exports=function(e){function t(e,n,r){t.handle(e,n,r)}var n=e||{};return t.__proto__=_,t.params={},t._params=[],t.caseSensitive=n.caseSensitive,t.mergeParams=n.mergeParams,t.strict=n.strict,t.stack=[],t};_.param=function(e,t){if(\"function\"==typeof e)return v(\"router.param(fn): Refactor to use path params\"),void this._params.push(e);var n,r=this._params,i=r.length;\":\"===e[0]&&(v(\"router.param(\"+JSON.stringify(e)+\", fn): Use router.param(\"+JSON.stringify(e.substr(1))+\", fn) instead\"),e=e.substr(1));for(var o=0;i>o;++o)(n=r[o](e,t))&&(t=n);if(\"function\"!=typeof t)throw new Error(\"invalid param() call for \"+e+\", got \"+t);return(this.params[e]=this.params[e]||[]).push(t),this},_.handle=function(e,t,n){function o(n){var c=\"route\"===n?null:n;if(x&&(e.url=e.url.substr(1),x=!1),0!==b.length&&(e.baseUrl=S,e.url=g+b+e.url.substr(g.length),b=\"\"),y>=k.length)return void setImmediate(E,c);var u=i(e);if(null==u)return E(c);for(var p,d,h;d!==!0&&y<k.length;)if(p=k[y++],d=a(p,u),h=p.route,\"boolean\"!=typeof d&&(c=c||d),d===!0&&h)if(c)d=!1;else{var m=e.method,v=h._handles_method(m);v||\"OPTIONS\"!==m||r(_,h._options()),v||\"HEAD\"===m||(d=!1)}if(d!==!0)return E(c);h&&(e.route=h),e.params=f.mergeParams?s(p.params,j):p.params;var O=p.path;f.process_params(p,w,e,t,function(n){return n?o(c||n):h?p.handle_request(e,t,o):void l(p,c,O,u)})}function l(n,r,i,a){var s=a[i.length];return s&&\"/\"!==s&&\".\"!==s?o(r):(0!==i.length&&(m(\"trim prefix (%s) from url %s\",i,e.url),b=i,e.url=g+e.url.substr(g.length+b.length),v||\"/\"===e.url[0]||(e.url=\"/\"+e.url,x=!0),e.baseUrl=S+(\"/\"===b[b.length-1]?b.substring(0,b.length-1):b)),m(\"%s %s : %s\",n.name,i,e.originalUrl),void(r?n.handle_error(r,e,t,o):n.handle_request(e,t,o)))}var f=this;m(\"dispatching %s %s\",e.method,e.url);var d=1+e.url.indexOf(\"?\"),h=d?d-1:e.url.length,v=\"/\"!==e.url[0]&&1+e.url.substr(0,h).indexOf(\"://\"),g=v?e.url.substr(0,e.url.indexOf(\"/\",2+v)):\"\",y=0,b=\"\",x=!1,w={},_=[],k=f.stack,j=e.params,S=e.baseUrl||\"\",E=c(n,e,\"baseUrl\",\"next\",\"params\");e.next=o,\"OPTIONS\"===e.method&&(E=p(E,function(e,n){return n||0===_.length?e(n):void u(t,_,e)})),e.baseUrl=S,e.originalUrl=e.originalUrl||e.url,o()},_.process_params=function(e,t,n,r,i){function o(e){return e?i(e):h>=c.length?i():(m=0,(p=c[h++])?(u=p.name,l=n.params[u],f=s[u],d=t[u],void 0!==l&&f?d&&(d.match===l||d.error&&\"route\"!==d.error)?(n.params[u]=d.value,o(d.error)):(t[u]=d={error:null,match:l,value:l},void a()):o()):i())}function a(e){var t=f[m++];if(d.value=n.params[p.name],e)return d.error=e,void o(e);if(!t)return o();try{t(n,r,a,l,p.name)}catch(i){a(i)}}var s=this.params,c=e.keys;if(!c||0===c.length)return i();var u,p,l,f,d,h=0,m=0;o()},_.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"Router.use() requires middleware functions\");for(var a=0;a<i.length;a++){var e=i[a];if(\"function\"!=typeof e)throw new TypeError(\"Router.use() requires middleware function but got a \"+o(e));m(\"use %s %s\",n,e.name||\"<anonymous>\");var s=new f(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},_.route=function k(e){var k=new l(e),t=new f(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},k.dispatch.bind(k));return t.route=k,this.stack.push(t),k},d.concat(\"all\").forEach(function(e){_[e]=function(t){var n=this.route(t);return n[e].apply(n,x.call(arguments,1)),this}})},{\"./layer\":106,\"./route\":107,\"array-flatten\":3,debug:83,depd:85,methods:181,parseurl:364,\"utils-merge\":531}],106:[function(e,t,n){\"use strict\";function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);a(\"new %s\",e);var i=t||{};this.handle=n,this.name=n.name||\"<anonymous>\",this.params=void 0,this.path=void 0,this.regexp=o(e,this.keys=[],i),\"/\"===e&&i.end===!1&&(this.regexp.fast_slash=!0)}function i(e){if(\"string\"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=\"Failed to decode param '\"+e+\"'\",t.status=t.statusCode=400),t}}var o=e(\"path-to-regexp\"),a=e(\"debug\")(\"express:router:layer\"),s=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.handle_error=function(e,t,n,r){var i=this.handle;if(4!==i.length)return r(e);try{i(e,t,n,r)}catch(o){r(o)}},r.prototype.handle_request=function(e,t,n){var r=this.handle;if(r.length>3)return n();try{r(e,t,n)}catch(i){n(i)}},r.prototype.match=function(e){if(null==e)return this.params=void 0,this.path=void 0,!1;if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;var t=this.regexp.exec(e);if(!t)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var n=this.keys,r=this.params,o=1;o<t.length;o++){var a=n[o-1],c=a.name,u=i(t[o]);void 0===u&&s.call(r,c)||(r[c]=u)}return!0}},{debug:83,\"path-to-regexp\":375}],107:[function(e,t,n){\"use strict\";function r(e){this.path=e,this.stack=[],i(\"new %s\",e),this.methods={}}var i=e(\"debug\")(\"express:router:route\"),o=e(\"array-flatten\"),a=e(\"./layer\"),s=e(\"methods\"),c=Array.prototype.slice,u=Object.prototype.toString;t.exports=r,r.prototype._handles_method=function(e){if(this.methods._all)return!0;var t=e.toLowerCase();return\"head\"!==t||this.methods.head||(t=\"get\"),Boolean(this.methods[t])},r.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(\"head\");for(var t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},r.prototype.dispatch=function(e,t,n){function r(s){if(s&&\"route\"===s)return n();var c=o[i++];return c?c.method&&c.method!==a?r(s):void(s?c.handle_error(s,e,t,r):c.handle_request(e,t,r)):n(s)}var i=0,o=this.stack;if(0===o.length)return n();var a=e.method.toLowerCase();\"head\"!==a||this.methods.head||(a=\"get\"),e.route=this,r()},r.prototype.all=function(){for(var e=o(c.call(arguments)),t=0;t<e.length;t++){var n=e[t];if(\"function\"!=typeof n){var r=u.call(n),i=\"Route.all() requires callback functions but got a \"+r;throw new TypeError(i)}var s=a(\"/\",{},n);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this},s.forEach(function(e){r.prototype[e]=function(){for(var t=o(c.call(arguments)),n=0;n<t.length;n++){var r=t[n];if(\"function\"!=typeof r){var s=u.call(r),p=\"Route.\"+e+\"() requires callback functions but got a \"+s;throw new Error(p)}i(\"%s %s\",e,this.path);var l=a(\"/\",{},r);l.method=e,this.methods[e]=!0,this.stack.push(l)}return this}})},{\"./layer\":106,\"array-flatten\":3,debug:83,methods:181}],108:[function(e,t,n){(function(t){\"use strict\";function r(e,t){for(var n=e.split(/ *; */),r={value:n[0],quality:1,params:{},originalIndex:t},i=1;i<n.length;++i){var o=n[i].split(/ *= */);\"q\"==o[0]?r.quality=parseFloat(o[1]):r.params[o[0]]=o[1]}return r}function i(e){return d.parse(e,{allowDots:!1,allowPrototypes:!0})}function o(){return{}}var a=e(\"content-disposition\"),s=e(\"content-type\"),c=e(\"depd\")(\"express\"),u=e(\"array-flatten\"),p=e(\"send\").mime,l=(e(\"path\").basename,e(\"etag\")),f=e(\"proxy-addr\"),d=e(\"qs\"),h=e(\"querystring\");n.etag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!1})},n.wetag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!0})},n.isAbsolute=function(e){return\"/\"==e[0]?!0:\":\"==e[1]&&\"\\\\\"==e[2]?!0:\"\\\\\\\\\"==e.substring(0,2)?!0:void 0},n.flatten=c[\"function\"](u,\"utils.flatten: use array-flatten npm module instead\"),n.normalizeType=function(e){return~e.indexOf(\"/\")?r(e):{value:p.lookup(e),params:{}}},n.normalizeTypes=function(e){for(var t=[],r=0;r<e.length;++r)t.push(n.normalizeType(e[r]));return t},n.contentDisposition=c[\"function\"](a,\"utils.contentDisposition: use content-disposition npm module instead\"),n.compileETag=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=n.wetag;break;case!1:break;case\"strong\":t=n.etag;break;case\"weak\":t=n.wetag;break;default:throw new TypeError(\"unknown value for etag function: \"+e)}return t},n.compileQueryParser=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=h.parse;break;case!1:t=o;break;case\"extended\":t=i;break;case\"simple\":t=h.parse;break;default:throw new TypeError(\"unknown value for query parser function: \"+e)}return t},n.compileTrust=function(e){return\"function\"==typeof e?e:e===!0?function(){return!0}:\"number\"==typeof e?function(t,n){return e>n}:(\"string\"==typeof e&&(e=e.split(/ *, */)),f.compile(e||[]))},n.setCharset=function(e,t){if(!e||!t)return e;var n=s.parse(e);return n.parameters.charset=t,s.format(n)}}).call(this,e(\"buffer\").Buffer)},{\"array-flatten\":3,buffer:void 0,\"content-disposition\":73,\"content-type\":74,depd:85,etag:97,path:void 0,\"proxy-addr\":380,qs:110,querystring:void 0,send:409}],109:[function(e,t,n){\"use strict\";function r(t,n){var r=n||{};if(this.defaultEngine=r.defaultEngine,this.ext=p(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error(\"No default engine was specified and no extension was provided.\");var i=t;this.ext||(this.ext=\".\"!==this.defaultEngine[0]?\".\"+this.defaultEngine:this.defaultEngine,i+=this.ext),r.engines[this.ext]||(r.engines[this.ext]=e(this.ext.substr(1)).__express),this.engine=r.engines[this.ext],this.path=this.lookup(i)}function i(e){o('stat \"%s\"',e);try{return s.statSync(e)}catch(t){return}}var o=e(\"debug\")(\"express:view\"),a=e(\"path\"),s=e(\"fs\"),c=(e(\"./utils\"),a.dirname),u=a.basename,p=a.extname,l=a.join,f=a.resolve;t.exports=r,r.prototype.lookup=function(e){var t,n=[].concat(this.root);o('lookup \"%s\"',e);for(var r=0;r<n.length&&!t;r++){var i=n[r],a=f(i,e),s=c(a),p=u(a);t=this.resolve(s,p)}return t},r.prototype.render=function(e,t){o('render \"%s\"',this.path),this.engine(this.path,e,t)},r.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),o=i(r);return o&&o.isFile()?r:(r=l(e,u(t,n),\"index\"+n),o=i(r),o&&o.isFile()?r:void 0)}},{\"./utils\":108,debug:83,fs:void 0,path:void 0}],110:[function(e,t,n){var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":111,\"./stringify\":112}],111:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\",t.strictNullHandling&&(n[r.decode(s)]=null);else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));Object.prototype.hasOwnProperty.call(n,u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&o!==a&&c===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"));var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e),s=[];if(a[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!n.allowPrototypes)return;s.push(a[1])}for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,(n.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}},t.exports=function(e,t){if(t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects=\"boolean\"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes=\"boolean\"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return t.plainObjects?Object.create(null):{};for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p,t)}return r.compact(o)}},{\"./utils\":113}],112:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e,t){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e,t){return e}},strictNullHandling:!1};i.stringify=function(e,t,n,o,a){if(\"function\"==typeof a)e=a(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(o)return r.encode(t);e=\"\"}if(\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[r.encode(t)+\"=\"+r.encode(e)];var s=[];if(\"undefined\"==typeof e)return s;for(var c=Array.isArray(a)?a:Object.keys(e),u=0,p=c.length;p>u;++u){var l=c[u];s=Array.isArray(e)?s.concat(i.stringify(e[l],n(t,l),n,o,a)):s.concat(i.stringify(e[l],t+\"[\"+l+\"]\",n,o,a))}return s},t.exports=function(e,t){t=t||{};var n,r,o=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter,a=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling;\"function\"==typeof t.filter?(r=t.filter,e=r(\"\",e)):Array.isArray(t.filter)&&(n=r=t.filter);var s=[];if(\"object\"!=typeof e||null===e)return\"\";var c;c=t.arrayFormat in i.arrayPrefixGenerators?t.arrayFormat:\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var u=i.arrayPrefixGenerators[c];n||(n=Object.keys(e));for(var p=0,l=n.length;l>p;++p){var f=n[p];s=s.concat(i.stringify(e[f],f,u,a,r))}return s.join(o)}},{\"./utils\":113}],113:[function(e,t,n){var r={};r.hexTable=new Array(256);for(var i=0;256>i;++i)r.hexTable[i]=\"%\"+((16>i?\"0\":\"\")+i.toString(16)).toUpperCase();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,i=e.length;i>r;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):\"object\"==typeof e?e[t]=!0:e=[e,t],e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e,r));for(var i=Object.keys(t),o=0,a=i.length;a>o;++o){var s=i[o],c=t[s];Object.prototype.hasOwnProperty.call(e,s)?e[s]=n.merge(e[s],c,r):e[s]=c}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;\"string\"!=typeof e&&(e=\"\"+e);for(var t=\"\",n=0,i=e.length;i>n;++n){var o=e.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?t+=e[n]:128>o?t+=r.hexTable[o]:2048>o?t+=r.hexTable[192|o>>6]+r.hexTable[128|63&o]:55296>o||o>=57344?t+=r.hexTable[224|o>>12]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o]:(++n,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t+=r.hexTable[240|o>>18]+r.hexTable[128|o>>12&63]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o])}return t},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],114:[function(e,t,n){function r(e){var t,n,r,c,u,p,l,f,d,h=[\"([^%]*)\",\"%\",\"(['\\\\-+ #0]*?)\",\"([1-9]\\\\d*)?\",\"(\\\\.([1-9]\\\\d*))?\",\"[lhjztL]*?\",\"([diouxXfFeEgGaAcCsSp%jr])\"].join(\"\"),m=new RegExp(h),v=Array.prototype.slice.call(arguments,1),g=\"\",y=1;for(a.equal(\"string\",typeof e);null!==(d=m.exec(e));)if(g+=d[1],e=e.substring(d[0].length),t=d[2]||\"\",n=d[3]||0,r=d[4]||\"\",c=d[6],u=!1,l=!1,p=\" \",\"%\"!=c){if(0===v.length)throw new Error(\"too few args to sprintf\");if(f=v.shift(),y++,t.match(/[\\' #]/))throw new Error(\"unsupported flags: \"+t);if(r.length>0)throw new Error(\"non-zero precision not supported\");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(p=\"0\"),t.match(/\\+/)&&(l=!0),c){case\"s\":if(void 0===f||null===f)throw new Error(\"argument \"+y+\": attempted to print undefined or null as a string\");g+=i(p,n,u,f.toString());break;case\"d\":f=Math.floor(f);case\"f\":l=l&&f>0?\"+\":\"\",g+=l+i(p,n,u,f.toString());break;case\"j\":0===n&&(n=10),g+=s.inspect(f,!1,n);break;case\"r\":g+=o(f);break;default:throw new Error(\"unsupported conversion: \"+c)}}else g+=\"%\";return g+=e}function i(e,t,n,r){for(var i=r;i.length<t;)n?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(r(\"invalid type for %%r: %j\",e));if(t=\"EXCEPTION: \"+e.constructor.name+\": \"+e.stack,e.cause&&\"function\"==typeof e.cause){var n=e.cause();n&&(t+=\"\\nCaused by: \"+o(n))}return t}var a=e(\"assert\"),s=e(\"util\");n.sprintf=r},{assert:void 0,util:void 0}],115:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){var r=n||{},c=r.env||process.env.NODE_ENV||\"development\",u=r.onerror;return function(n){var r=t.statusCode;if(!n&&t._header)return void o(\"cannot 404 after headers sent\");if(n){n.statusCode&&(r=n.statusCode),n.status&&(r=n.status),(!r||400>r)&&(r=500);var l=\"production\"===c?s.STATUS_CODES[r]:n.stack||n.toString();l=a(l).replace(/\\n/g,\"<br>\").replace(/  /g,\" &nbsp;\")+\"\\n\"}else r=404,l=\"Cannot \"+a(e.method)+\" \"+a(e.originalUrl||e.url)+\"\\n\";return o(\"default %s\",r),n&&u&&p(u,n,e,t),t._header?e.socket.destroy():void i(e,t,r,l)}}function i(e,t,r,i){function o(){return t.statusCode=r,t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.setHeader(\"Content-Type\",\"text/html; charset=utf-8\"),t.setHeader(\"Content-Length\",n.byteLength(i,\"utf8\")),\"HEAD\"===e.method?void t.end():void t.end(i,\"utf8\")}return l(e)?void o():(u(e),c(e,o),void e.resume())}var o=e(\"debug\")(\"finalhandler\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"on-finished\"),u=e(\"unpipe\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},l=c.isFinished;t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,\"escape-html\":96,http:void 0,\"on-finished\":363,unpipe:529}],116:[function(e,t,n){function r(e,t){var n=\"\";return n=\"string\"==typeof e?e+\":\"+t:e.host+\":\"+e.port+\":\"+(e.localAddress?e.localAddress+\":\":\":\")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||c.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on(\"free\",function(e,n,i){var o=r(n,i);if(t.requests[o]&&t.requests[o].length)t.requests[o].shift().onSocket(e);else if(t.sockets[o].length<t.minSockets){t.freeSockets[o]||(t.freeSockets[o]=[]),t.freeSockets[o].push(e);var a=function(){e.destroy()};e._onIdleError=a,e.on(\"error\",a)}else e.destroy()})}function o(e){i.call(this,e)}function a(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\n\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),p.connect(n)}t.exports=i,i.SSL=o;var s=e(\"util\"),c=e(\"http\").Agent,u=e(\"net\"),p=e(\"tls\"),l=e(\"https\").Agent;s.inherits(i,c),i.defaultMinSockets=5,i.prototype.createConnection=u.createConnection,i.prototype.addRequestNoreuse=c.prototype.addRequest,i.prototype.addRequest=function(e,t,n){var i=r(t,n);if(\"string\"!=typeof t){var o=t;n=o.port,t=o.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[i].pop();a.removeListener(\"error\",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,n)},i.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},s.inherits(o,i),o.prototype.createConnection=a,o.prototype.addRequestNoreuse=l.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],117:[function(e,t,n){(function(n){function r(){if(!(this instanceof r))throw new TypeError(\"Failed to construct FormData: Please use the _new_ operator, this object constructor cannot be called as a function.\");this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],i.call(this)}var i=e(\"combined-stream\"),o=e(\"util\"),a=e(\"path\"),s=e(\"http\"),c=e(\"https\"),u=e(\"url\").parse,p=e(\"fs\"),l=e(\"mime-types\"),f=e(\"async\"),d=e(\"./populate.js\");t.exports=r,o.inherits(r,i),r.LINE_BREAK=\"\\r\\n\",r.DEFAULT_CONTENT_TYPE=\"application/octet-stream\",r.prototype.append=function(e,t,n){n=n||{},\"string\"==typeof n&&(n={filename:n});var r=i.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),o.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(a),r(t),r(s),this._trackLength(a,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):p.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){if(n.header)return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a=\"\",s={\"Content-Disposition\":[\"form-data\",'name=\"'+e+'\"'].concat(i||[]),\"Content-Type\":[].concat(o||[])};for(var c in s)s[c].length&&(a+=c+\": \"+s[c].join(\"; \")+r.LINE_BREAK);return\"--\"+this.getBoundary()+r.LINE_BREAK+a+r.LINE_BREAK},r.prototype._getContentDisposition=function(e,t){var n,r=t.filename||e.path;return!r&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(r=e.client._httpMessage.path),r&&(n='filename=\"'+a.basename(r)+'\"'),n},r.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(n=e.headers[\"content-type\"]),!n&&t.filename&&(n=l.lookup(t.filename)),n||\"object\"!=typeof e||(n=r.DEFAULT_CONTENT_TYPE),n},r.prototype._multiPartFooter=function(){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"+r.LINE_BREAK},r.prototype.getHeaders=function(e){var t,n={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),e},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void f.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,i={method:\"post\"};return\"string\"==typeof e?(e=u(e),r=d({port:e.port,path:e.pathname,host:e.hostname},i)):(r=d(e,i),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==r.protocol?c.request(r):s.request(r),this.getLength(function(e,r){return e?void this._error(e):(n.setHeader(\"Content-Length\",r),this.pipe(n),void(t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{\"./populate.js\":118,async:11,buffer:void 0,\"combined-stream\":72,fs:void 0,http:void 0,https:void 0,\"mime-types\":184,path:void 0,url:void 0,util:void 0}],118:[function(e,t,n){t.exports=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e[n]&&(e[n]=t[n]);return e}},{}],119:[function(e,t,n){function r(e){if(!e)throw new TypeError(\"argument req is required\");var t=(e.headers[\"x-forwarded-for\"]||\"\").split(/ *, */).filter(Boolean).reverse(),n=e.connection.remoteAddress,r=[n].concat(t);return r}t.exports=r},{}],120:[function(e,t,n){function r(e,t){var n=!0,r=!0,i=e[\"if-modified-since\"],o=e[\"if-none-match\"],a=t[\"last-modified\"],s=t.etag,c=e[\"cache-control\"];return i||o?c&&-1!==c.indexOf(\"no-cache\")?!1:(o&&(o=o.split(/ *, */)),o&&(n=o.some(function(e){return\"*\"===e||e===s||e===\"W/\"+s})),i&&(i=new Date(i),a=new Date(a),r=i>=a),!(!n||!r)):!1}t.exports=r},{}],121:[function(e,t,n){var r=e(\"util\"),i=/[\\{\\[]/,o=/[\\}\\]]/;t.exports=function(){var e=[],t=0,n=function(n){for(var r=\"\";r.length<2*t;)r+=\"  \";e.push(r+n)},a=function(e){return e?o.test(e.trim()[0])&&i.test(e[e.length-1])?(t--,n(r.format.apply(r,arguments)),t++,a):i.test(e[e.length-1])?(n(r.format.apply(r,arguments)),t++,a):o.test(e.trim()[0])?(t--,n(r.format.apply(r,arguments)),a):(n(r.format.apply(r,arguments)),a):a};return a.toString=function(){return e.join(\"\\n\")},a.toFunction=function(e){var t=\"return (\"+a.toString()+\")\",n=Object.keys(e||{}).map(function(e){return e}),r=n.map(function(t){return e[t]});return Function.apply(null,n.concat(t)).apply(null,r)},arguments.length&&a.apply(null,arguments),a}},{util:void 0}],122:[function(e,t,n){var r=e(\"is-property\"),i=function(e,t){return r(t)?e+\".\"+t:e+\"[\"+JSON.stringify(t)+\"]\"};i.valid=r,i.property=function(e){return r(e)?e:JSON.stringify(e)},t.exports=i},{\"is-property\":161}],123:[function(e,t,n){\"use strict\";function r(e){this.name=\"ValidationError\",this.errors=e}r.prototype=Error.prototype,t.exports=r},{}],124:[function(e,t,n){\"use strict\";var r=e(\"pinkie-promise\"),i=e(\"./runner\"),o=e(\"./schemas\"),a=function(e){return function(t){return new r(function(n,r){i(e,t,function(e,i){return null===e?n(t):r(e)})})}};t.exports=a(o.har),Object.keys(o).map(function(e){t.exports[e]=a(o[e])})},{\"./runner\":125,\"./schemas\":133,\"pinkie-promise\":377}],125:[function(e,t,n){\"use strict\";var r=e(\"./schemas\"),i=e(\"./error\"),o=e(\"is-my-json-valid\");t.exports=function(e,t,n){var a=!1,s=o(e,{greedy:!0,verbose:!0,schemas:r});return void 0!==t&&(a=s(t)),\"function\"==typeof n?n(s.errors?new i(s.errors):null,a):a}},{\"./error\":123,\"./schemas\":133,\"is-my-json-valid\":160}],126:[function(e,t,n){t.exports={properties:{beforeRequest:{$ref:\"#cacheEntry\"},afterRequest:{$ref:\"#cacheEntry\"},comment:{type:\"string\"}}}},{}],127:[function(e,t,n){t.exports={oneOf:[{type:\"object\",optional:!0,required:[\"lastAccess\",\"eTag\",\"hitCount\"],properties:{expires:{type:\"string\"},lastAccess:{type:\"string\"},eTag:{type:\"string\"},hitCount:{type:\"integer\"},comment:{type:\"string\"}}},{type:null,additionalProperties:!1}]}},{}],128:[function(e,t,n){t.exports={type:\"object\",required:[\"size\",\"mimeType\"],properties:{size:{type:\"integer\"},compression:{type:\"integer\"},mimeType:{type:\"string\"},text:{type:\"string\"},encoding:{type:\"string\"},comment:{type:\"string\"}}}},{}],129:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},path:{type:\"string\"},domain:{type:\"string\"},expires:{type:[\"string\",\"null\"],format:\"date-time\"},httpOnly:{type:\"boolean\"},secure:{type:\"boolean\"},comment:{type:\"string\"}}}},{}],130:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"version\"],properties:{name:{type:\"string\"},version:{type:\"string\"},comment:{type:\"string\"}}}},{}],131:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"time\",\"request\",\"response\",\"cache\",\"timings\"],properties:{pageref:{type:\"string\"},startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},time:{type:\"number\",min:0},request:{$ref:\"#request\"},response:{$ref:\"#response\"},cache:{$ref:\"#cache\"},timings:{$ref:\"#timings\"},serverIPAddress:{type:\"string\",oneOf:[{format:\"ipv4\"},{format:\"ipv6\"}]},connection:{type:\"string\"},comment:{type:\"string\"}}}},{}],132:[function(e,t,n){t.exports={type:\"object\",required:[\"log\"],properties:{log:{$ref:\"#log\"}}}},{}],133:[function(e,t,n){\"use strict\";var r={cache:e(\"./cache.json\"),cacheEntry:e(\"./cacheEntry.json\"),content:e(\"./content.json\"),cookie:e(\"./cookie.json\"),creator:e(\"./creator.json\"),entry:e(\"./entry.json\"),har:e(\"./har.json\"),log:e(\"./log.json\"),page:e(\"./page.json\"),pageTimings:e(\"./pageTimings.json\"),postData:e(\"./postData.json\"),record:e(\"./record.json\"),request:e(\"./request.json\"),response:e(\"./response.json\"),timings:e(\"./timings.json\")};r.cache.properties.beforeRequest=r.cacheEntry,r.cache.properties.afterRequest=r.cacheEntry,r.page.properties.pageTimings=r.pageTimings,r.request.properties.cookies.items=r.cookie,r.request.properties.headers.items=r.record,r.request.properties.queryString.items=r.record,r.request.properties.postData=r.postData,r.response.properties.cookies.items=r.cookie,r.response.properties.headers.items=r.record,r.response.properties.content=r.content,r.entry.properties.request=r.request,r.entry.properties.response=r.response,r.entry.properties.cache=r.cache,r.entry.properties.timings=r.timings,r.log.properties.creator=r.creator,r.log.properties.browser=r.creator,r.log.properties.pages.items=r.page,r.log.properties.entries.items=r.entry,r.har.properties.log=r.log,t.exports=r},{\"./cache.json\":126,\"./cacheEntry.json\":127,\"./content.json\":128,\"./cookie.json\":129,\"./creator.json\":130,\"./entry.json\":131,\"./har.json\":132,\"./log.json\":134,\"./page.json\":135,\"./pageTimings.json\":136,\"./postData.json\":137,\"./record.json\":138,\"./request.json\":139,\"./response.json\":140,\"./timings.json\":141}],134:[function(e,t,n){t.exports={type:\"object\",required:[\"version\",\"creator\",\"entries\"],properties:{version:{type:\"string\"},creator:{$ref:\"#creator\"},browser:{$ref:\"#creator\"},pages:{type:\"array\",items:{$ref:\"#page\"}},entries:{type:\"array\",items:{$ref:\"#entry\"}},comment:{type:\"string\"}}}},{}],135:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"id\",\"title\",\"pageTimings\"],properties:{startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},id:{type:\"string\",unique:!0},title:{type:\"string\"},pageTimings:{$ref:\"#pageTimings\"},comment:{type:\"string\"}}}},{}],136:[function(e,t,n){t.exports={type:\"object\",properties:{onContentLoad:{type:\"number\",min:-1},onLoad:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],137:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"mimeType\"],properties:{mimeType:{type:\"string\"},text:{type:\"string\"},params:{type:\"array\",required:[\"name\"],properties:{name:{type:\"string\"},value:{type:\"string\"},fileName:{type:\"string\"},contentType:{type:\"string\"},comment:{type:\"string\"}}},comment:{type:\"string\"}}}},{}],138:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},comment:{type:\"string\"}}}},{}],139:[function(e,t,n){t.exports={type:\"object\",required:[\"method\",\"url\",\"httpVersion\",\"cookies\",\"headers\",\"queryString\",\"headersSize\",\"bodySize\"],properties:{method:{type:\"string\"},url:{type:\"string\",format:\"uri\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},queryString:{type:\"array\",items:{$ref:\"#record\"}},postData:{$ref:\"#postData\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],140:[function(e,t,n){t.exports={type:\"object\",required:[\"status\",\"statusText\",\"httpVersion\",\"cookies\",\"headers\",\"content\",\"redirectURL\",\"headersSize\",\"bodySize\"],properties:{status:{type:\"integer\"},statusText:{type:\"string\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},content:{$ref:\"#content\"},redirectURL:{type:\"string\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],141:[function(e,t,n){t.exports={required:[\"send\",\"wait\",\"receive\"],properties:{dns:{type:\"number\",min:-1},connect:{type:\"number\",min:-1},blocked:{type:\"number\",min:-1},send:{type:\"number\",min:-1},wait:{type:\"number\",min:-1},receive:{type:\"number\",min:-1},ssl:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],142:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var c={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return c.err=\"Invalid argument type\",c;var u=n.timestamp||s.nowSecs(n.localtimeOffsetMsec),p=n.credentials;if(!(p&&p.id&&p.key&&p.algorithm))return c.err=\"Invalid credential object\",c;if(-1===a.algorithms.indexOf(p.algorithm))return c.err=\"Unknown algorithm\",c;\"string\"==typeof e&&(e=r.parse(e));var l={ts:u,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};c.artifacts=l,l.hash||!n.payload&&\"\"!==n.payload||(l.hash=a.calculatePayloadHash(n.payload,p.algorithm,n.contentType));var f=a.calculateMac(\"header\",p,l),d=null!==l.ext&&void 0!==l.ext&&\"\"!==l.ext,h='Hawk id=\"'+p.id+'\", ts=\"'+l.ts+'\", nonce=\"'+l.nonce+(l.hash?'\", hash=\"'+l.hash:\"\")+(d?'\", ext=\"'+i.escapeHeaderAttribute(l.ext):\"\")+'\", mac=\"'+f+'\"';return l.app&&(h+=', app=\"'+l.app+(l.dlg?'\", dlg=\"'+l.dlg:\"\")+'\"'),c.field=h,c},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var u=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(u instanceof Error)return!1;n.ext=u.ext,n.hash=u.hash;var p=a.calculateMac(\"response\",t,n);if(p!==u.mac)return!1;if(!r.payload&&\"\"!==r.payload)return!0;if(!u.hash)return!1;var l=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return l===u.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return\"\";if(-1===a.algorithms.indexOf(o.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var c=Math.floor(n/1e3)+t.ttlSec,u=a.calculateMac(\"bewit\",o,{ts:c,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),p=o.id+\"\\\\\"+c+\"\\\\\"+u+\"\\\\\"+t.ext;return i.base64urlEncode(p)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||s.nowSecs(r.localtimeOffsetMsec),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":143,\"./utils\":146,cryptiles:78,hoek:149,url:void 0}],143:[function(e,t,n){var r=e(\"crypto\"),i=e(\"url\"),o=e(\"./utils\");n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=t.resource||\"\";if(r&&\"/\"!==r[0]){var o=i.parse(r,!1);r=o.path}var a=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+r+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(a+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),a+=\"\\n\",t.app&&(a+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),a},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var i=r.createHash(e);return i.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),i.update(o.parseContentType(t)+\"\\n\"),i},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=o.nowSecs(t),i=n.calculateTsMac(r,e);return{ts:r,tsm:i}}},{\"./utils\":146,crypto:void 0,url:void 0}],144:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":142,\"./crypto\":143,\"./server\":145,\"./utils\":146,boom:51,sntp:434}],145:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\"),c={};n.authenticate=function(e,t,n,u){u=i.nextTick(u),n.nonceFunc=n.nonceFunc||c.nonceFunc,n.timestampSkewSec=n.timestampSkewSec||60;var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));var f=s.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return u(f);var d={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};return f.id&&f.ts&&f.nonce&&f.mac?void t(f.id,function(e,t){if(e)return u(e,t||null,d);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,d);var i=a.calculateMac(\"header\",t,d);if(!o.fixedTimeComparison(i,f.mac))return u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d);if(n.payload||\"\"===n.payload){if(!f.hash)return u(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,d);var s=a.calculatePayloadHash(n.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(s,f.hash))return u(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,d)}n.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return u(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,d);if(Math.abs(1e3*f.ts-p)>1e3*n.timestampSkewSec){var i=a.timestampMessage(t,n.localtimeOffsetMsec);return u(r.unauthorized(\"Stale timestamp\",\"Hawk\",i),t,d)}return u(null,t,d)})}):u(r.badRequest(\"Missing attributes\"),null,d)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";t.hash||!n.payload&&\"\"!==n.payload||(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+i.escapeHeaderAttribute(t.ext)+'\"'),o},c.bewitRegex=/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/,n.authenticateBewit=function(e,t,n,u){u=i.nextTick(u);var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));if(l.url.length>s.limits.maxMatchLength)return u(r.badRequest(\"Resource path exceeds max length\"));var f=l.url.match(c.bewitRegex);if(!f)return u(r.unauthorized(null,\"Hawk\"));if(!f[3])return u(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==l.method&&\"HEAD\"!==l.method)return u(r.unauthorized(\"Invalid method\",\"Hawk\"));if(l.authorization)return u(r.badRequest(\"Multiple authentications\"));var d=i.base64urlDecode(f[3]);if(d instanceof Error)return u(r.badRequest(\"Invalid bewit encoding\"));var h=d.split(\"\\\\\");if(4!==h.length)return u(r.badRequest(\"Invalid bewit structure\"));var m={id:h[0],exp:parseInt(h[1],10),mac:h[2],ext:h[3]||\"\"};if(!m.id||!m.exp||!m.mac)return u(r.badRequest(\"Missing bewit attributes\"));var v=f[1];return f[4]&&(v+=f[2]+f[4]),1e3*m.exp<=p?u(r.unauthorized(\"Access expired\",\"Hawk\"),null,m):void t(m.id,function(e,t){if(e)return u(e,t||null,m.ext);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,m);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,m);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,m);var n=a.calculateMac(\"bewit\",t,{ts:m.exp,nonce:\"\",method:\"GET\",resource:v,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(n,m.mac)?u(null,t,m):u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,m)})},n.authenticateMessage=function(e,t,n,u,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var d=s.now(l.localtimeOffsetMsec);return u.id&&u.ts&&u.nonce&&u.hash&&u.mac?void p(u.id,function(i,s){if(i)return f(i,s||null);if(!s)return f(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!s.key||!s.algorithm)return f(r.internal(\"Invalid credentials\"),s);if(-1===a.algorithms.indexOf(s.algorithm))return f(r.internal(\"Unknown algorithm\"),s);var c={ts:u.ts,nonce:u.nonce,host:e,port:t,hash:u.hash},p=a.calculateMac(\"message\",s,c);if(!o.fixedTimeComparison(p,u.mac))return f(r.unauthorized(\"Bad mac\",\"Hawk\"),s);var h=a.calculatePayloadHash(n,s.algorithm);return o.fixedTimeComparison(h,u.hash)?void l.nonceFunc(s.key,u.nonce,u.ts,function(e){return e?f(r.unauthorized(\"Invalid nonce\",\"Hawk\"),s):Math.abs(1e3*u.ts-d)>1e3*l.timestampSkewSec?f(r.unauthorized(\"Stale timestamp\"),s):f(null,s)}):f(r.unauthorized(\"Bad message hash\",\"Hawk\"),s)}):f(r.badRequest(\"Invalid authorization\"))},c.nonceFunc=function(e,t,n,r){return r()}},{\"./crypto\":143,\"./utils\":146,boom:51,cryptiles:78,hoek:149}],146:[function(e,t,n){var r=e(\"sntp\"),i=e(\"boom\"),o={};n.version=function(){return e(\"../package.json\").version},n.limits={maxMatchLength:4096},o.hostHeaderRegex=/^(?:(?:\\r\\n)?\\s)*((?:[^:]+)|(?:\\[[^\\]]+\\]))(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/,n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var r=e.headers[t];if(!r)return null;if(r.length>n.limits.maxMatchLength)return null;var i=r.match(o.hostHeaderRegex);return i?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;var r;if(!(t.host&&t.port||(r=n.parseHost(e,t.hostHeaderName))))return new Error(\"Invalid Host header\");var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(e){return r.now()+(e||0)},n.nowSecs=function(e){return Math.floor(n.now(e)/1e3)},o.authHeaderRegex=/^(\\w+)(?:\\s+(.*))?$/,o.attributeRegex=/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/,n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return i.unauthorized(null,\"Hawk\");if(e.length>n.limits.maxMatchLength)return i.badRequest(\"Header length too long\");var r=e.match(o.authHeaderRegex);if(!r)return i.badRequest(\"Invalid header syntax\");var a=r[1];if(\"hawk\"!==a.toLowerCase())return i.unauthorized(null,\"Hawk\");var s=r[2];if(!s)return i.badRequest(\"Invalid header syntax\");var c={},u=\"\",p=s.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(u=\"Unknown attribute: \"+n):null===r.match(o.attributeRegex)?void(u=\"Bad attribute value: \"+n):c.hasOwnProperty(n)?void(u=\"Duplicate attribute: \"+n):(c[n]=r,\"\")});return\"\"!==p?i.badRequest(u||\"Bad header format\"):c},n.unauthorized=function(e,t){return i.unauthorized(e,\"Hawk\",t)}},{\"../package.json\":147,boom:51,sntp:434}],147:[function(e,t,n){t.exports={_args:[[\"hawk@~3.1.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"hawk@>=3.1.0 <3.2.0\",_id:\"hawk@3.1.3\",_inCache:!0,_installable:!0,_location:\"/hawk\",_nodeVersion:\"5.4.1\",_npmUser:{email:\"eran@hammer.io\",name:\"hueniverse\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"hawk\",raw:\"hawk@~3.1.0\",rawSpec:\"~3.1.0\",scope:null,spec:\">=3.1.0 <3.2.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\",_shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",_shrinkwrap:null,_spec:\"hawk@~3.1.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"eran@hammer.io\",name:\"Eran Hammer\",url:\"http://hueniverse.com\"},browser:\"./lib/browser.js\",bugs:{url:\"https://github.com/hueniverse/hawk/issues\"},contributors:[],dependencies:{boom:\"2.x.x\",cryptiles:\"2.x.x\",hoek:\"2.x.x\",sntp:\"1.x.x\"},description:\"HTTP Hawk Authentication Scheme\",devDependencies:{code:\"1.x.x\",lab:\"5.x.x\"},directories:{},dist:{shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",tarball:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\"},engines:{node:\">=0.10.32\"},gitHead:\"2f0b93b34ed9b0ebc865838ef70c6a4035591430\",homepage:\"https://github.com/hueniverse/hawk#readme\",keywords:[\"authentication\",\"hawk\",\"http\",\"scheme\"],license:\"BSD-3-Clause\",main:\"lib/index.js\",maintainers:[{name:\"hueniverse\",email:\"eran@hueniverse.com\"}],name:\"hawk\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/hueniverse/hawk.git\"},scripts:{test:\"lab -a code -t 100 -L\",\"test-cov-html\":\"lab -a code -r html -o coverage.html\"},version:\"3.1.3\"}},{}],148:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";var i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],149:[function(e,t,n){(function(t){var r=e(\"crypto\"),i=e(\"path\"),o=e(\"util\"),a=e(\"./escape\"),s={};n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o,a=!1;if(Array.isArray(e))o=[],a=!0;else if(t.isBuffer(e))o=new t(e);else if(e instanceof Date)o=new Date(e.getTime());else if(e instanceof RegExp)o=new RegExp(e);else{var s=Object.getPrototypeOf(e);s&&s.isImmutable?o=e:(o=Object.create(s),a=!0)}if(r.orig.push(e),r.copy.push(o),a)for(var c=Object.getOwnPropertyNames(e),u=0,p=c.length;p>u;++u){var l=c[u],f=Object.getOwnPropertyDescriptor(e,l);f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=n.clone(e[l],r)}return o},n.merge=function(e,r,i,o){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===r||void 0===r||\"object\"==typeof r,\"Invalid source value: must be null, undefined, or an object\"),!r)return e;if(Array.isArray(r)){n.assert(Array.isArray(e),\"Cannot merge array onto an object\"),o===!1&&(e.length=0);for(var a=0,s=r.length;s>a;++a)e.push(n.clone(r[a]));return e}for(var c=Object.keys(r),u=0,p=c.length;p>u;++u){var l=c[u],f=r[l];f&&\"object\"==typeof f?!e[l]||\"object\"!=typeof e[l]||Array.isArray(e[l])^Array.isArray(f)||f instanceof Date||t.isBuffer(f)||f instanceof RegExp?e[l]=n.clone(f):n.merge(e[l],f,i,o):null!==f&&void 0!==f?e[l]=f:i!==!1&&(e[l]=f)}return e},n.applyToDefaults=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var i=n.clone(e);return t===!0?i:n.merge(i,t,r===!0,!1)},n.cloneWithShallow=function(e,t){if(!e||\"object\"!=typeof e)return e;var r=s.store(e,t),i=n.clone(e);return s.restore(i,e,r),i},s.store=function(e,t){for(var r={},i=0,o=t.length;o>i;++i){var a=t[i],c=n.reach(e,a);void 0!==c&&(r[a]=c,s.reachSet(e,a,void 0))}return r},s.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var a=r[i];s.reachSet(e,a,n[a]),s.reachSet(t,a,n[a])}},s.reachSet=function(e,t,n){for(var r=t.split(\".\"),i=e,o=0,a=r.length;a>o;++o){var s=r[o];o+1===a&&(i[s]=n),i=i[s]}},n.applyToDefaultsWithShallow=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),n.assert(r&&Array.isArray(r),\"Invalid keys\"),!t)return null;var i=n.cloneWithShallow(e,r);if(t===!0)return i;var o=s.store(t,r);return n.merge(i,t,!1,!1),s.restore(i,t,o),i},n.deepEqual=function(e,r,i,o){i=i||{prototype:!0};var a=typeof e;if(a!==typeof r)return!1;if(\"object\"!==a||null===e||null===r)return e===r?0!==e||1/e===1/r:e!==e&&r!==r;if(o=o||[],-1!==o.indexOf(e))return!0;if(o.push(e),Array.isArray(e)){if(!Array.isArray(r))return!1;if(!i.part&&e.length!==r.length)return!1;for(var s=0,c=e.length;c>s;++s){if(i.part){for(var u=!1,p=0,l=r.length;l>p;++p)if(n.deepEqual(e[s],r[p],i,o)){u=!0;break}return u}if(!n.deepEqual(e[s],r[s],i,o))return!1;\n}return!0}if(t.isBuffer(e)){if(!t.isBuffer(r))return!1;if(e.length!==r.length)return!1;for(var f=0,d=e.length;d>f;++f)if(e[f]!==r[f])return!1;return!0}if(e instanceof Date)return r instanceof Date&&e.getTime()===r.getTime();if(e instanceof RegExp)return r instanceof RegExp&&e.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;var h=Object.getOwnPropertyNames(e);if(!i.part&&h.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,v=h.length;v>m;++m){var g=h[m],y=Object.getOwnPropertyDescriptor(e,g);if(y.get){if(!n.deepEqual(y,Object.getOwnPropertyDescriptor(r,g),i,o))return!1}else if(!n.deepEqual(e[g],r[g],i,o))return!1}return!0},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=Array.isArray(e)?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.contain=function(e,t,r){var i=null;\"object\"!=typeof e||\"object\"!=typeof t||Array.isArray(e)||Array.isArray(t)?t=[].concat(t):(i=t,t=Object.keys(t)),r=r||{},n.assert(arguments.length>=2,\"Insufficient arguments\"),n.assert(\"string\"==typeof e||\"object\"==typeof e,\"Reference must be string or an object\"),n.assert(t.length,\"Values array cannot be empty\");var o,a;if(r.deep){o=n.deepEqual;var s=r.hasOwnProperty(\"only\"),c=r.hasOwnProperty(\"part\");a={prototype:s?r.only:c?!r.part:!1,part:s?!r.only:c?r.part:!0}}else o=function(e,t){return e===t};for(var u=!1,p=new Array(t.length),l=0,f=p.length;f>l;++l)p[l]=0;if(\"string\"==typeof e){var d=\"(\";for(l=0,f=t.length;f>l;++l){var h=t[l];n.assert(\"string\"==typeof h,\"Cannot compare string reference to non-string value\"),d+=(l?\"|\":\"\")+n.escapeRegex(h)}var m=new RegExp(d+\")\",\"g\"),v=e.replace(m,function(e,n){var r=t.indexOf(n);return++p[r],\"\"});u=!!v}else if(Array.isArray(e))for(l=0,f=e.length;f>l;++l){for(var g=0,y=t.length,b=!1;y>g&&b===!1;++g)b=o(t[g],e[l],a)&&g;b!==!1?++p[b]:u=!0}else{var x=Object.keys(e);for(l=0,f=x.length;f>l;++l){var w=x[l],_=t.indexOf(w);if(-1!==_){if(i&&!o(i[w],e[w],a))return!1;++p[_]}else u=!0}}var k=!1;for(l=0,f=p.length;f>l;++l)if(k=k||!!p[l],r.once&&p[l]>1||!r.part&&!p[l])return!1;return r.only&&u?!1:k},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.reach=function(e,t,r){if(t===!1||null===t||\"undefined\"==typeof t)return e;r=r||{},\"string\"==typeof r&&(r={separator:r});for(var i=t.split(r.separator||\".\"),o=e,a=0,s=i.length;s>a;++a){var c=i[a];if(\"-\"===c[0]&&Array.isArray(o)&&(c=c.slice(1,c.length),c=o.length-c),!o||!o.hasOwnProperty(c)||\"object\"!=typeof o&&r.functions===!1){n.assert(!r.strict||a+1===s,\"Missing segment\",c,\"in reach path \",t),n.assert(\"object\"==typeof o||r.functions===!0||\"function\"!=typeof o,\"Invalid segment\",c,\"in reach path \",t),o=r[\"default\"];break}o=o[c]}return o},n.reachTemplate=function(e,t,r){return t.replace(/{([^}]+)}/g,function(t,i){var o=n.reach(e,i,r);return void 0===o||null===o?\"\":o})},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var t=[],r=1,i=arguments.length;i>r;++r)\"\"!==arguments[r]&&t.push(arguments[r]);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:n.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.Timer=function(){this.ts=0,this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.Bench=function(){this.ts=0,this.reset()},n.Bench.prototype.reset=function(){this.ts=n.Bench.now()},n.Bench.prototype.elapsed=function(){return n.Bench.now()-this.ts},n.Bench.now=function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.base64urlEncode=function(e,n){var r=t.isBuffer(e)?e:new t(e,n||\"binary\");return r.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e,n){if(e&&!/^[\\w\\-]*$/.test(e))return new Error(\"Invalid character\");try{var r=new t(e,\"base64\");return\"buffer\"===n?r:r.toString(n||\"binary\")}catch(i){return i}},n.escapeHeaderAttribute=function(e){return n.assert(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/.test(e),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return a.escapeHtml(e)},n.escapeJavaScript=function(e){return a.escapeJavaScript(e)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}},n.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},n.isAbsolutePath=function(e,t){return e?i.isAbsolute?i.isAbsolute(e):(t=t||process.platform,\"win32\"!==t?\"/\"===e[0]:!!/^(?:[a-zA-Z]:[\\\\\\/])|(?:[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/])/.test(e)):!1},n.isInteger=function(e){return\"number\"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},n.ignore=function(){},n.inherits=o.inherits,n.format=o.format,n.transform=function(e,t,r){if(n.assert(null===e||void 0===e||\"object\"==typeof e||Array.isArray(e),\"Invalid source object: must be null, undefined, an object, or an array\"),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)i.push(n.transform(e[o],t,r));return i}for(var s={},c=Object.keys(t),u=0,p=c.length;p>u;++u){var l=c[u],f=l.split(\".\"),d=t[l];n.assert(\"string\"==typeof d,'All mappings must be \".\" delineated strings');for(var h,m=s;f.length>1;)h=f.shift(),m[h]||(m[h]={}),m=m[h];h=f.shift(),m[h]=n.reach(e,d,r)}return s},n.uniqueFilename=function(e,t){t=t?\".\"!==t[0]?\".\"+t:t:\"\",e=i.resolve(e);var n=[Date.now(),process.pid,r.randomBytes(8).toString(\"hex\")].join(\"-\")+t;return i.join(e,n)},n.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return\"[Cannot display object: \"+e.message+\"]\"}},n.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":148,buffer:void 0,crypto:void 0,path:void 0,util:void 0}],150:[function(e,t,n){function r(e,t){return function n(){if(!n.hookCalled){n.hookCalled=!0;var r=e.apply(t,arguments);r&&r.then&&r.then(function(){},function(){})}}}t.exports={hook:function(e,t,n){if(1!==arguments.length||\"object\"!=typeof e){var i=this.prototype||this,o=i._pres=i._pres||{},a=i._posts=i._posts||{};return o[e]=o[e]||[],a[e]=a[e]||[],i[e]=function(){var o,a=this,s=arguments[arguments.length-1],c=this._pres[e],u=this._posts[e],p=c.length,l=-1,f=i[e].numAsyncPres,d=function(e){return e?h(e):void(--f||v.apply(a,o))},h=function(e){if(\"function\"==typeof s)return s(e);if(n)return n.call(a,e);throw e},m=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,n=Array.prototype.slice.call(arguments);if(!n.length||null==arguments[0]&&\"function\"==typeof s||(o=n),++l<p){if(e=c[l],e.isAsync&&e.length<2)throw new Error(\"Your pre must have next and done arguments -- e.g., function (next, done, ...)\");if(e.length<1)throw new Error(\"Your pre must have a next argument -- e.g., function (next, ...)\");return t=(e.isAsync?[r(m),r(d)]:[r(m)]).concat(o),e.apply(a,t)}return f?void 0:v.apply(a,o)},v=function(){var e,n,i,c,f=Array.prototype.slice.call(arguments);return l===p?(c=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,p=Array.prototype.slice.call(arguments,1);if(p.length&&(o=p),++i<n){if(e=u[i],e.length<1)throw new Error(\"Your post must have a next argument -- e.g., function (next, ...)\");return t=[r(c)].concat(o),e.apply(a,t)}return\"function\"==typeof s?s.apply(a,arguments):void 0},\"function\"==typeof s&&(f[f.length-1]=r(c)),n=u.length,i=-1,e=t.apply(a,f),n&&\"function\"!=typeof s?c():e):void 0};return m.apply(this,arguments)},i[e].numAsyncPres=0,this}for(var s in e)this.hook(s,e[s])},pre:function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1);var i=this.prototype||this,o=i._pres=i._pres||{};return this._lazySetupHooks(i,e,r),(n.isAsync=t)&&i[e].numAsyncPres++,(o[e]=o[e]||[]).push(n),this},post:function(e,t,n){2===arguments.length&&(n=t,t=!1);var r=this.prototype||this,i=r._posts=r._posts||{};return this._lazySetupHooks(r,e),(i[e]=i[e]||[]).push(n),this},removePre:function(e,t){var n=this.prototype||this,r=n._pres||n._pres||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},removePost:function(e,t){var n=this.prototype||this,r=n._posts||n._posts||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},_lazySetupHooks:function(e,t,n){\"undefined\"==typeof e[t].numAsyncPres&&this.hook(t,e[t],n)}}},{}],151:[function(e,t,n){function r(e){return e.split(\" \").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join(\"\").replace(/[^ _0-9a-z]/gi,\"\")}var i=e(\"statuses\"),o=e(\"inherits\");n=t.exports=function s(){for(var e,t,r=500,o={},a=0;a<arguments.length;a++){var c=arguments[a];if(c instanceof Error)e=c,r=e.status||e.statusCode||r;else switch(typeof c){case\"string\":t=c;break;case\"number\":r=c;break;case\"object\":o=c}}\"number\"==typeof r&&i[r]||(r=500);var u=n[r];e||(e=u?new u(t):new Error(t||i[r]),Error.captureStackTrace(e,s)),u&&e instanceof u||(e.expose=500>r,e.status=e.statusCode=r);for(var p in o)\"status\"!==p&&\"statusCode\"!==p&&(e[p]=o[p]);return e};var a=i.codes.filter(function(e){return e>=400});a.forEach(function(e){var t=r(i[e]),a=t.match(/Error$/)?t:t+\"Error\";if(e>=500){var s=function u(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,u),n.__proto__=u.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};return o(s,Error),s.prototype.status=s.prototype.statusCode=e,s.prototype.expose=!1,void(n[e]=n[t]=s)}var c=function p(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,p),n.__proto__=p.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};o(c,Error),c.prototype.status=c.prototype.statusCode=e,c.prototype.expose=!0,n[e]=n[t]=c}),n[\"I'mateapot\"]=n.ImATeapot},{inherits:157,statuses:455}],152:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./utils\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC}},{\"./parser\":153,\"./signer\":154,\"./utils\":155,\"./verify\":156}],153:[function(e,t,n){function r(e){l.call(this,e,r)}function i(e){l.call(this,e,i)}function o(e){l.call(this,e,o)}function a(e){l.call(this,e,a)}function s(e){l.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p=e(\"./utils\"),l=(p.HASH_ALGOS,p.PK_ALGOS,p.HttpSignatureError),f=p.InvalidAlgorithmError,d=p.validateAlgorithm,h={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,l),u.inherits(i,l),u.inherits(o,l),u.inherits(a,l),u.inherits(s,l),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new a(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,u=h.New,p=m.Name,l=\"\",v=\"\",g={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},y=e.headers.authorization;for(n=0;n<y.length;n++){var b=y.charAt(n);switch(Number(u)){case h.New:\" \"!==b?g.scheme+=b:u=h.Params;break;case h.Params:switch(Number(p)){case m.Name:var x=b.charCodeAt(0);if(x>=65&&90>=x||x>=97&&122>=x)l+=b;else{if(\"=\"!==b)throw new i(\"bad param format\");if(0===l.length)throw new i(\"bad param format\");p=m.Quote}break;case m.Quote:if('\"'!==b)throw new i(\"bad param format\");v=\"\",p=m.Value;break;case m.Value:'\"'===b?(g.params[l]=v,p=m.Comma):v+=b;break;case m.Comma:if(\",\"!==b)throw new i(\"bad param format\");l=\"\",p=m.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(g.params.headers&&\"\"!==g.params.headers?g.params.headers=g.params.headers.split(\" \"):e.headers[\"x-date\"]?g.params.headers=[\"x-date\"]:g.params.headers=[\"date\"],!g.scheme||\"Signature\"!==g.scheme)throw new i('scheme was not \"Signature\"');if(!g.params.keyId)throw new i(\"keyId was not specified\");if(!g.params.algorithm)throw new i(\"algorithm was not specified\");if(!g.params.signature)throw new i(\"signature was not specified\");g.params.algorithm=g.params.algorithm.toLowerCase();try{d(g.params.algorithm)}catch(w){throw w instanceof f?new o(g.params.algorithm+\" is not supported\"):w}for(n=0;n<g.params.headers.length;n++){var _=g.params.headers[n].toLowerCase();if(g.params.headers[n]=_,\"request-line\"===_){if(t.strict)throw new s(\"request-line is not a valid header with strict parsing enabled.\");g.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion}else if(\"(request-target)\"===_)g.signingString+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.url;else{var k=e.headers[_];if(void 0===k)throw new a(_+\" was not in the request\");g.signingString+=_+\": \"+k}n+1<g.params.headers.length&&(g.signingString+=\"\\n\")}var j;if(e.headers.date||e.headers[\"x-date\"]){j=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new r(\"clock skew of \"+E/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(g.params.headers.indexOf(e)<0)throw new a(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(g.params.algorithm))throw new o(g.params.algorithm+\" is not a supported algorithm\");return g}}},{\"./utils\":155,\"assert-plus\":10,util:void 0}],154:[function(e,t,n){(function(n){function r(e){v.call(this,e,r)}function i(e){v.call(this,e,i)}function o(e){a.object(e,\"options\");var t=[];if(void 0!==e.algorithm&&(a.string(e.algorithm,\"options.algorithm\"),t=g(e.algorithm)),this.rs_alg=t,void 0!==e.sign)a.func(e.sign,\"options.sign\"),this.rs_signFunc=e.sign;else if(\"hmac\"===t[0]&&void 0!==e.key){if(a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,\"string\"!=typeof e.key&&!n.isBuffer(e.key))throw new TypeError(\"options.key for HMAC must be a string or Buffer\");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest(\"base64\");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError(\"options.sign (func) or options.key is required\");var r=e.key;if((\"string\"==typeof r||n.isBuffer(r))&&(r=u.parsePrivateKey(r)),a.ok(u.PrivateKey.isPrivateKey(r,[1,2]),\"options.key must be a sshpk.PrivateKey\"),this.rs_key=r,a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,!h[r.type])throw new m(r.type.toUpperCase()+\" type keys are not supported\");if(void 0!==t[0]&&r.type!==t[0])throw new m(\"options.key must be a \"+t[0].toUpperCase()+\" key, was given a \"+r.type.toUpperCase()+\" key instead\");this.rs_signer=r.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var a=e(\"assert-plus\"),s=e(\"crypto\"),c=(e(\"http\"),e(\"util\")),u=e(\"sshpk\"),p=e(\"jsprim\"),l=e(\"./utils\"),f=e(\"util\").format,d=l.HASH_ALGOS,h=l.PK_ALGOS,m=l.InvalidAlgorithmError,v=l.HttpSignatureError,g=l.validateAlgorithm,y='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';c.inherits(r,v),c.inherits(i,v),o.prototype.writeHeader=function(e,t){if(a.string(e,\"header\"),e=e.toLowerCase(),a.string(t,\"value\"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+\": \"+t);else{var n=e+\": \"+t;this.rs_headers.length>0&&(n=\"\\n\"+n),this.rs_signer.update(n)}return t},o.prototype.writeDateHeader=function(){return this.writeHeader(\"date\",p.rfc1123(new Date))},o.prototype.writeTarget=function(e,t){a.string(e,\"method\"),a.string(t,\"path\"),e=e.toLowerCase(),this.writeHeader(\"(request-target)\",e+\" \"+t)},o.prototype.sign=function(e){if(a.func(e,\"callback\"),this.rs_headers.length<1)throw new Error(\"At least one header must be signed\");var t,n;if(this.rs_signFunc){var r=this.rs_lines.join(\"\\n\"),i=this;this.rs_signFunc(r,function(r,o){if(r)return void e(r);try{a.object(o,\"signature\"),a.string(o.keyId,\"signature.keyId\"),a.string(o.algorithm,\"signature.algorithm\"),a.string(o.signature,\"signature.signature\"),t=g(o.algorithm),n=f(y,o.keyId,o.algorithm,i.rs_headers.join(\" \"),o.signature)}catch(s){return void e(s)}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(s){return void e(s)}t=(this.rs_alg[0]||this.rs_key.type)+\"-\"+o.hashAlgorithm;var c=o.toString();n=f(y,this.rs_keyId,t,this.rs_headers.join(\" \"),c),e(null,n)}},t.exports={isSigner:function(e){return\"object\"==typeof e&&e instanceof o},createSigner:function(e){return new o(e)},signRequest:function(e,t){a.object(e,\"request\"),a.object(t,\"options\"),a.optionalString(t.algorithm,\"options.algorithm\"),a.string(t.keyId,\"options.keyId\"),a.optionalArrayOfString(t.headers,\"options.headers\"),a.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",p.rfc1123(new Date)),t.headers||(t.headers=[\"date\"]),t.httpVersion||(t.httpVersion=\"1.1\");var o=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),o=g(t.algorithm));var c,l=\"\";for(c=0;c<t.headers.length;c++){if(\"string\"!=typeof t.headers[c])throw new TypeError(\"options.headers must be an array of Strings\");var v=t.headers[c].toLowerCase();if(\"request-line\"===v){if(t.strict)throw new i(\"request-line is not a valid header with strict parsing enabled.\");l+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion}else if(\"(request-target)\"===v)l+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.path;else{var b=e.getHeader(v);if(void 0===b||\"\"===b)throw new r(v+\" was not in the request\");l+=v+\": \"+b}c+1<t.headers.length&&(l+=\"\\n\")}e.hasOwnProperty(\"_stringToSign\")&&(e._stringToSign=l);var x;if(\"hmac\"===o[0]){if(\"string\"!=typeof t.key&&!n.isBuffer(t.key))throw new TypeError(\"options.key must be a string or Buffer\");var w=s.createHmac(o[1].toUpperCase(),t.key);w.update(l),x=w.digest(\"base64\")}else{var _=t.key;if((\"string\"==typeof _||n.isBuffer(_))&&(_=u.parsePrivateKey(t.key)),a.ok(u.PrivateKey.isPrivateKey(_,[1,2]),\"options.key must be a sshpk.PrivateKey\"),!h[_.type])throw new m(_.type.toUpperCase()+\" type keys are not supported\");if(void 0!==o[0]&&_.type!==o[0])throw new m(\"options.key must be a \"+o[0].toUpperCase()+\" key, was given a \"+_.type.toUpperCase()+\" key instead\");var k=_.createSign(o[1]);k.update(l);var j=k.sign();if(!d[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+\" is not a supported hash algorithm\");t.algorithm=_.type+\"-\"+j.hashAlgorithm,x=j.toString(),a.notStrictEqual(x,\"\",\"empty signature produced\")}return e.setHeader(\"Authorization\",f(y,t.keyId,t.algorithm,t.headers.join(\" \"),x)),!0}}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./utils\":155,\"assert-plus\":10,crypto:void 0,http:void 0,jsprim:175,sshpk:448,util:void 0}],155:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){var t=e.toLowerCase().split(\"-\");if(2!==t.length)throw new i(t[0].toUpperCase()+\" is not a valid algorithm\");if(\"hmac\"!==t[0]&&!p[t[0]])throw new i(t[0].toUpperCase()+\" type keys are not supported\");if(!u[t[1]])throw new i(t[1].toUpperCase()+\" is not a supported hash algorithm\");return t}var a=e(\"assert-plus\"),s=e(\"sshpk\"),c=e(\"util\"),u={sha1:!0,sha256:!0,sha512:!0},p={rsa:!0,dsa:!0,ecdsa:!0};c.inherits(r,Error),c.inherits(i,r),t.exports={HASH_ALGOS:u,PK_ALGOS:p,HttpSignatureError:r,InvalidAlgorithmError:i,validateAlgorithm:o,sshKeyToPEM:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.toString(\"pem\")},fingerprint:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.fingerprint(\"md5\").toString(\"hex\")},pemToRsaSSHKey:function(e,t){a.equal(\"string\",typeof e,\"typeof pem\");var n=s.parseKey(e,\"pem\");return n.comment=t,n.toString(\"ssh\")}}},{\"assert-plus\":10,sshpk:448,util:void 0}],156:[function(e,t,n){(function(n){var r=e(\"assert-plus\"),i=e(\"crypto\"),o=e(\"sshpk\"),a=e(\"./utils\"),s=(a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError,a.validateAlgorithm);t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),(\"string\"==typeof t||n.isBuffer(t))&&(t=o.parseKey(t)),r.ok(o.Key.isKey(t,[1,1]),\"pubkey must be a sshpk.Key\");var i=s(e.algorithm);if(\"hmac\"===i[0]||i[0]!==t.type)return!1;var a=t.createVerify(i[1]);return a.update(e.signingString),a.verify(e.params.signature,\"base64\")},verifyHMAC:function(e,t){r.object(e,\"parsedHMAC\"),r.string(t,\"secret\");var o=s(e.algorithm);if(\"hmac\"!==o[0])return!1;var a=o[1].toUpperCase(),c=i.createHmac(a,t);c.update(e.signingString);var u=i.createHmac(a,t);u.update(c.digest()),u=u.digest();var p=i.createHmac(a,t);return p.update(new n(e.params.signature,\"base64\")),p=p.digest(),\"string\"==typeof u?u===p:n.isBuffer(u)&&!u.equals?u.toString(\"binary\")===p.toString(\"binary\"):u.equals(p)}}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":155,\"assert-plus\":10,buffer:void 0,crypto:void 0,sshpk:448}],157:[function(e,t,n){t.exports=e(\"util\").inherits},{util:void 0}],158:[function(e,t,n){(function(){var e,n,r,i,o,a,s,c;n={},c=this,\"undefined\"!=typeof t&&null!==t&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,o;if(e.length!==t.length)throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");for(i=0;r>0;){if(o=n-r,0>o&&(o=0),e[i]>>o!==t[i]>>o)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,o,a,s;null==n&&(n=\"unicast\");for(r in t)for(i=t[r],!i[0]||i[0]instanceof Array||(i=[i]),a=0,s=i.length;s>a;a++)if(o=i[a],e.match.apply(e,o))return r;return n},n.IPv4=function(){function e(e){var t,n,r;if(4!==e.length)throw new Error(\"ipaddr: ipv4 octet count should be 4\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&255>=t))throw new Error(\"ipaddr: ipv4 octet is a byte\");this.octets=e}return e.prototype.kind=function(){return\"ipv4\"},e.prototype.toString=function(){return this.octets.join(\".\")},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv4\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],\"private\":[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(\"::ffff:\"+this.toString())},e}(),r=\"(0?\\\\d+|0x[a-f0-9]+)\",i={fourOctet:new RegExp(\"^\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\",\"i\"),longValue:new RegExp(\"^\"+r+\"$\",\"i\")},n.IPv4.parser=function(e){var t,n,r,o,a;if(n=function(e){return\"0\"===e[0]&&\"x\"!==e[1]?parseInt(e,8):parseInt(e)},t=e.match(i.fourOctet))return function(){var e,i,o,a;for(o=t.slice(1,6),a=[],e=0,i=o.length;i>e;e++)r=o[e],a.push(n(r));return a}();if(t=e.match(i.longValue)){if(a=n(t[1]),a>4294967295||0>a)throw new Error(\"ipaddr: address outside defined range\");return function(){var e,t;for(t=[],o=e=0;24>=e;o=e+=8)t.push(a>>o&255);return t}().reverse()}return null},n.IPv6=function(){function e(e){var t,n,r;if(8!==e.length)throw new Error(\"ipaddr: ipv6 part count should be 8\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&65535>=t))throw new Error(\"ipaddr: ipv6 part should fit to two octets\");this.parts=e}return e.prototype.kind=function(){return\"ipv6\"},e.prototype.toString=function(){var e,t,n,r,i,o,a;for(i=function(){var e,n,r,i;for(r=this.parts,i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push(t.toString(16));return i}.call(this),e=[],n=function(t){return e.push(t)},r=0,o=0,a=i.length;a>o;o++)switch(t=i[o],r){case 0:n(\"0\"===t?\"\":t),r=1;break;case 1:\"0\"===t?r=2:n(t);break;case 2:\"0\"!==t&&(n(\"\"),n(t),r=3);break;case 3:n(t)}return 2===r&&(n(\"\"),n(\"\")),e.join(\":\")},e.prototype.toByteArray=function(){var e,t,n,r,i;for(e=[],i=this.parts,n=0,r=i.length;r>n;n++)t=i[n],e.push(t>>8),e.push(255&t);return e},e.prototype.toNormalizedString=function(){var e;return function(){var t,n,r,i;for(r=this.parts,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.toString(16));return i}.call(this).join(\":\")},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv6\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],\"6to4\":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return\"ipv4Mapped\"===this.range()},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,255&e,t>>8,255&t])},e}(),o=\"(?:[0-9a-f]+::?)+\",a={\"native\":new RegExp(\"^(::)?(\"+o+\")?([0-9a-f]+)?(::)?$\",\"i\"),transitional:new RegExp(\"^((?:\"+o+\")|(?:::)(?:\"+o+\")?)\"+(\"\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\"),\"i\")},e=function(e,t){var n,r,i,o,a;if(e.indexOf(\"::\")!==e.lastIndexOf(\"::\"))return null;for(n=0,r=-1;(r=e.indexOf(\":\",r+1))>=0;)n++;if(\"::\"===e.substr(0,2)&&n--,\"::\"===e.substr(-2,2)&&n--,n>t)return null;for(a=t-n,o=\":\";a--;)o+=\"0:\";return e=e.replace(\"::\",o),\":\"===e[0]&&(e=e.slice(1)),\":\"===e[e.length-1]&&(e=e.slice(0,-1)),function(){var t,n,r,o;for(r=e.split(\":\"),o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(parseInt(i,16));return o}()},n.IPv6.parser=function(t){var n,r;return t.match(a[\"native\"])?e(t,8):(n=t.match(a.transitional))&&(r=e(n[1].slice(0,-1),6))?(r.push(parseInt(n[2])<<8|parseInt(n[3])),r.push(parseInt(n[4])<<8|parseInt(n[5])),r):null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return null!==this.parser(e)},n.IPv4.isValid=function(e){var t;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv6.isValid=function(e){var t;if(\"string\"==typeof e&&-1===e.indexOf(\":\"))return!1;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv4.parse=n.IPv6.parse=function(e){var t;if(t=this.parser(e),null===t)throw new Error(\"ipaddr: string is not formatted like ip address\");return new this(t)},n.IPv4.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&32>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\")},n.IPv6.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&128>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\")},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\")},n.parseCIDR=function(e){var t;try{return n.IPv6.parseCIDR(e)}catch(r){t=r;try{return n.IPv4.parseCIDR(e)}catch(r){throw t=r,new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\")}}},n.process=function(e){var t;return t=this.parse(e),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this)},{}],159:[function(e,t,n){n[\"date-time\"]=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/,n.date=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,n.time=/^\\d{2}:\\d{2}:\\d{2}$/,n.email=/^\\S+@\\S+$/,n[\"ip-address\"]=n.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n.ipv6=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/,n.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\\s]*$/,n.color=/(#?([0-9A-Fa-f]{3,6})\\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\))/,n.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/,n.alpha=/^[a-zA-Z]+$/,n.alphanumeric=/^[a-zA-Z0-9]+$/,n.style=/\\s*(.+?):\\s*([^;]+);?/g,n.phone=/^\\+(?:[0-9] ?){6,14}[0-9]$/,n[\"utc-millisec\"]=/^[0-9]{1,15}\\.?[0-9]{0,15}$/},{}],160:[function(e,t,n){var r=e(\"generate-object-property\"),i=e(\"generate-function\"),o=e(\"jsonpointer\"),a=e(\"xtend\"),s=e(\"./formats\"),c=function(e,t,n){var r=function(e){return e&&e.id===n?e:\"object\"==typeof e&&e?Object.keys(e).reduce(function(t,n){return t||r(e[n])},null):null},i=r(e);if(i)return i;n=n.replace(/^#/,\"\"),n=n.replace(/\\/$/,\"\");try{return o.get(e,decodeURI(n))}catch(a){var s,c=n.indexOf(\"#\");\nif(0!==c)if(-1===c)s=t[n];else{var u=n.slice(0,c);s=t[u];var p=n.slice(c).replace(/^#/,\"\");try{return o.get(s,p)}catch(a){}}else s=t[n];return s||null}},u=function(e){e=JSON.stringify(e);for(var t=/\\[([^\\[\\]\"]+)\\]/;t.test(e);)e=e.replace(t,'.\"+$1+\"');return e},p={};p.any=function(){return\"true\"},p[\"null\"]=function(e){return e+\" === null\"},p[\"boolean\"]=function(e){return\"typeof \"+e+' === \"boolean\"'},p.array=function(e){return\"Array.isArray(\"+e+\")\"},p.object=function(e){return\"typeof \"+e+' === \"object\" && '+e+\" && !Array.isArray(\"+e+\")\"},p.number=function(e){return\"typeof \"+e+' === \"number\"'},p.integer=function(e){return\"typeof \"+e+' === \"number\" && (Math.floor('+e+\") === \"+e+\" || \"+e+\" > 9007199254740992 || \"+e+\" < -9007199254740992)\"},p.string=function(e){return\"typeof \"+e+' === \"string\"'};var l=function(e){for(var t=[],n=0;n<e.length;n++)t.push(\"object\"==typeof e[n]?JSON.stringify(e[n]):e[n]);for(var n=1;n<t.length;n++)if(t.indexOf(t[n])!==n)return!1;return!0},f=function(e,t){var n,r=(0|t)!==t?Math.pow(10,t.toString().split(\".\").pop().length):1;if(r>1){var i=(0|e)!==e?Math.pow(10,e.toString().split(\".\").pop().length):1;n=i>r?!0:Math.round(r*e)%(r*t)}else n=e%t;return!n},d=function(e,t,n,o,h){var m=h?a(s,h.formats):s,v={unique:l,formats:m,isMultipleOf:f},g=h?!!h.verbose:!1,y=h&&void 0!==h.greedy?h.greedy:!1,b={},x=function(e){return e+(b[e]=(b[e]||0)+1)},w={},_=function(e){if(w[e])return w[e];var t=x(\"pattern\");return v[t]=new RegExp(e),w[e]=t,t},k=[\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"x\",\"y\",\"z\"],j=function(){var e=k.shift();return k.push(e+e[0]),e},S=function(e,i,o,a){var l=i.properties,f=i.type,b=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(e,t){l[t]=e}),f=\"array\",b=!0);var w=0,k=function(t,n,r){E(\"errors++\"),o===!0&&(E(\"if (validate.errors === null) validate.errors = []\"),g?E(\"validate.errors.push({field:%s,message:%s,value:%s,type:%s})\",u(n||e),JSON.stringify(t),r||e,JSON.stringify(f)):E(\"validate.errors.push({field:%s,message:%s})\",u(n||e),JSON.stringify(t)))};i.required===!0?(w++,E(\"if (%s === undefined) {\",e),k(\"is required\"),E(\"} else {\")):(w++,E(\"if (%s !== undefined) {\",e));var O=[].concat(f).map(function(t){return p[t||\"any\"](e)}).join(\" || \")||\"true\";if(\"true\"!==O&&(w++,E(\"if (!(%s)) {\",O),k(\"is the wrong type\"),E(\"} else {\")),b)if(i.additionalItems===!1)E(\"if (%s.length > %d) {\",e,i.items.length),k(\"has additional items\"),E(\"}\");else if(i.additionalItems){var A=j();E(\"for (var %s = %d; %s < %s.length; %s++) {\",A,i.items.length,A,e,A),S(e+\"[\"+A+\"]\",i.additionalItems,o,a),E(\"}\")}if(i.format&&m[i.format]){\"string\"!==f&&s[i.format]&&E(\"if (%s) {\",p.string(e));var C=x(\"format\");v[C]=m[i.format],\"function\"==typeof v[C]?E(\"if (!%s(%s)) {\",C,e):E(\"if (!%s.test(%s)) {\",C,e),k(\"must be \"+i.format+\" format\"),E(\"}\"),\"string\"!==f&&s[i.format]&&E(\"}\")}if(Array.isArray(i.required)){var T=function(t){var n=r(e,t);E(\"if (%s === undefined) {\",n),k(\"is required\",n),E(\"missing++\"),E(\"}\")};E(\"if ((%s)) {\",\"object\"!==f?p.object(e):\"true\"),E(\"var missing = 0\"),i.required.map(T),E(\"}\"),y||(E(\"if (missing === 0) {\"),w++)}if(i.uniqueItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (!(unique(%s))) {\",e),k(\"must be unique\"),E(\"}\"),\"array\"!==f&&E(\"}\")),i[\"enum\"]){var I=i[\"enum\"].some(function(e){return\"object\"==typeof e}),P=I?function(t){return\"JSON.stringify(\"+e+\") !== JSON.stringify(\"+JSON.stringify(t)+\")\"}:function(t){return e+\" !== \"+JSON.stringify(t)};E(\"if (%s) {\",i[\"enum\"].map(P).join(\" && \")||\"false\"),k(\"must be an enum value\"),E(\"}\")}if(i.dependencies&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),Object.keys(i.dependencies).forEach(function(t){var n=i.dependencies[t];\"string\"==typeof n&&(n=[n]);var s=function(t){return r(e,t)+\" !== undefined\"};Array.isArray(n)&&(E(\"if (%s !== undefined && !(%s)) {\",r(e,t),n.map(s).join(\" && \")||\"true\"),k(\"dependencies not set\"),E(\"}\")),\"object\"==typeof n&&(E(\"if (%s !== undefined) {\",r(e,t)),S(e,n,o,a),E(\"}\"))}),\"object\"!==f&&E(\"}\")),i.additionalProperties||i.additionalProperties===!1){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var A=j(),F=x(\"keys\"),M=function(e){return F+\"[\"+A+\"] !== \"+JSON.stringify(e)},z=function(e){return\"!\"+_(e)+\".test(\"+F+\"[\"+A+\"])\"},B=Object.keys(l||{}).map(M).concat(Object.keys(i.patternProperties||{}).map(z)).join(\" && \")||\"true\";E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A)(\"if (%s) {\",B),i.additionalProperties===!1?(a&&E(\"delete %s\",e+\"[\"+F+\"[\"+A+\"]]\"),k(\"has additional properties\",null,JSON.stringify(e+\".\")+\" + \"+F+\"[\"+A+\"]\")):S(e+\"[\"+F+\"[\"+A+\"]]\",i.additionalProperties,o,a),E(\"}\")(\"}\"),\"object\"!==f&&E(\"}\")}if(i.$ref){var N=c(n,h&&h.schemas||{},i.$ref);if(N){var D=t[i.$ref];D||(t[i.$ref]=function(e){return D(e)},D=d(N,t,n,!1,h));var C=x(\"ref\");v[C]=D,E(\"if (!(%s(%s))) {\",C,e),k(\"referenced schema does not match\"),E(\"}\")}}if(i.not){var q=x(\"prev\");E(\"var %s = errors\",q),S(e,i.not,!1,a),E(\"if (%s === errors) {\",q),k(\"negative schema matches\"),E(\"} else {\")(\"errors = %s\",q)(\"}\")}if(i.items&&!b){\"array\"!==f&&E(\"if (%s) {\",p.array(e));var A=j();E(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,e,A),S(e+\"[\"+A+\"]\",i.items,o,a),E(\"}\"),\"array\"!==f&&E(\"}\")}if(i.patternProperties){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var F=x(\"keys\"),A=j();E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A),Object.keys(i.patternProperties).forEach(function(t){var n=_(t);E(\"if (%s.test(%s)) {\",n,F+\"[\"+A+\"]\"),S(e+\"[\"+F+\"[\"+A+\"]]\",i.patternProperties[t],o,a),E(\"}\")}),E(\"}\"),\"object\"!==f&&E(\"}\")}if(i.pattern){var R=_(i.pattern);\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (!(%s.test(%s))) {\",R,e),k(\"pattern mismatch\"),E(\"}\"),\"string\"!==f&&E(\"}\")}if(i.allOf&&i.allOf.forEach(function(t){S(e,t,o,a)}),i.anyOf&&i.anyOf.length){var q=x(\"prev\");i.anyOf.forEach(function(t,n){0===n?E(\"var %s = errors\",q):E(\"if (errors !== %s) {\",q)(\"errors = %s\",q),S(e,t,!1,!1)}),i.anyOf.forEach(function(e,t){t&&E(\"}\")}),E(\"if (%s !== errors) {\",q),k(\"no schemas match\"),E(\"}\")}if(i.oneOf&&i.oneOf.length){var q=x(\"prev\"),L=x(\"passes\");E(\"var %s = errors\",q)(\"var %s = 0\",L),i.oneOf.forEach(function(t,n){S(e,t,!1,!1),E(\"if (%s === errors) {\",q)(\"%s++\",L)(\"} else {\")(\"errors = %s\",q)(\"}\")}),E(\"if (%s !== 1) {\",L),k(\"no (or more than one) schemas match\"),E(\"}\")}for(void 0!==i.multipleOf&&(\"number\"!==f&&\"integer\"!==f&&E(\"if (%s) {\",p.number(e)),E(\"if (!isMultipleOf(%s, %d)) {\",e,i.multipleOf),k(\"has a remainder\"),E(\"}\"),\"number\"!==f&&\"integer\"!==f&&E(\"}\")),void 0!==i.maxProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length > %d) {\",e,i.maxProperties),k(\"has more properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.minProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length < %d) {\",e,i.minProperties),k(\"has less properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.maxItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length > %d) {\",e,i.maxItems),k(\"has more items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.minItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length < %d) {\",e,i.minItems),k(\"has less items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.maxLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length > %d) {\",e,i.maxLength),k(\"has longer length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length < %d) {\",e,i.minLength),k(\"has less length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minimum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMinimum?\"<=\":\"<\",i.minimum),k(\"is less than minimum\"),E(\"}\")),void 0!==i.maximum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMaximum?\">=\":\">\",i.maximum),k(\"is more than maximum\"),E(\"}\")),l&&Object.keys(l).forEach(function(t){Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"if (%s !== null) {\",e),S(r(e,t),l[t],o,a),Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"}\")});w--;)E(\"}\")},E=i(\"function validate(data) {\")(\"validate.errors = null\")(\"var errors = 0\");return S(\"data\",e,o,h&&h.filter),E(\"return errors === 0\")(\"}\"),E=E.toFunction(v),E.errors=null,Object.defineProperty&&Object.defineProperty(E,\"error\",{get:function(){return E.errors?E.errors.map(function(e){return e.field+\" \"+e.message}).join(\"\\n\"):\"\"}}),E.toJSON=function(){return e},E};t.exports=function(e,t){return\"string\"==typeof e&&(e=JSON.parse(e)),d(e,{},e,!0,t)},t.exports.filter=function(e,n){var r=t.exports(e,a(n,{filter:!0}));return function(e){return r(e),e}}},{\"./formats\":159,\"generate-function\":121,\"generate-object-property\":122,jsonpointer:174,xtend:534}],161:[function(e,t,n){\"use strict\";function r(e){return/^[$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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][$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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-\\uffdc0-9\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19b0-\\u19c0\\u19c8\\u19c9\\u19d0-\\u19d9\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1dc0-\\u1de6\\u1dfc-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]*$/.test(e)}t.exports=r},{}],162:[function(e,t,n){function r(e){return i(e)||o(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(e){return s[a.call(e)]}t.exports=r,r.strict=i,r.loose=o;var a=Object.prototype.toString,s={\"[object Int8Array]\":!0,\"[object Int16Array]\":!0,\"[object Int32Array]\":!0,\"[object Uint8Array]\":!0,\"[object Uint8ClampedArray]\":!0,\"[object Uint16Array]\":!0,\"[object Uint32Array]\":!0,\"[object Float32Array]\":!0,\"[object Float64Array]\":!0}},{}],163:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==r.call(e)}},{}],164:[function(e,t,n){function r(e){return e instanceof s.Stream}function i(e){return r(e)&&\"function\"==typeof e._read&&\"object\"==typeof e._readableState}function o(e){return r(e)&&\"function\"==typeof e._write&&\"object\"==typeof e._writableState}function a(e){return i(e)&&o(e)}var s=e(\"stream\");t.exports=r,t.exports.isReadable=i,t.exports.isWritable=o,t.exports.isDuplex=a},{stream:void 0}],165:[function(e,t,n){\"use strict\";var r=e(\"./lib/dh\"),i=e(\"./lib/eddsa\"),o=e(\"./lib/curve255\"),a=e(\"./lib/utils\"),s={};s.VERSION=\"0.7.1\",s.dh=r,s.eddsa=i,s.curve255=o,s.utils=a,t.exports=s},{\"./lib/curve255\":167,\"./lib/dh\":168,\"./lib/eddsa\":169,\"./lib/utils\":170}],166:[function(e,t,n){\"use strict\";function r(e,t,n){var r=t>>4,i=e[r];i+=(1<<(15&t))*n,e[r]=i}function i(e,t){return e[t>>4]>>(15&t)&1}function o(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function a(){return[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function s(){return[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function c(e,t){var n,r,i,o=0;for(n=15;n>=0;n--){var a=e[n],s=t[n];o+=(a-s)*(1-o*o),i=o>>31,r=o+i^i,o=~~((o<<1)/(r+1))}return o}function u(e,t){var n,r=[];return r[0]=65535&(n=e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+e[15]+t[15],r}function p(e,t){var n,r=[];return r[0]=65535&(n=524288+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)-8+e[15]-t[15],r}function l(e,t,n,r,i,o,a,s){var c,u=[];return u[0]=65535&(c=s*s),u[1]=65535&(c=(0|c/65536)+2*s*a),u[2]=65535&(c=(0|c/65536)+2*s*o+a*a),u[3]=65535&(c=(0|c/65536)+2*s*i+2*a*o),u[4]=65535&(c=(0|c/65536)+2*s*r+2*a*i+o*o),u[5]=65535&(c=(0|c/65536)+2*s*n+2*a*r+2*o*i),u[6]=65535&(c=(0|c/65536)+2*s*t+2*a*n+2*o*r+i*i),u[7]=65535&(c=(0|c/65536)+2*s*e+2*a*t+2*o*n+2*i*r),u[8]=65535&(c=(0|c/65536)+2*a*e+2*o*t+2*i*n+r*r),u[9]=65535&(c=(0|c/65536)+2*o*e+2*i*t+2*r*n),u[10]=65535&(c=(0|c/65536)+2*i*e+2*r*t+n*n),u[11]=65535&(c=(0|c/65536)+2*r*e+2*n*t),u[12]=65535&(c=(0|c/65536)+2*n*e+t*t),u[13]=65535&(c=(0|c/65536)+2*t*e),u[14]=65535&(c=(0|c/65536)+e*e),u[15]=0|c/65536,u}function f(e){var t,n=l(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8]),r=l(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0]),i=l(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0]),o=[];return o[0]=65535&(t=8388608+r[0]+38*(i[8]-n[8]-r[8]+n[0]-128)),o[1]=65535&(t=8388480+(t>>>16)+r[1]+38*(i[9]-n[9]-r[9]+n[1])),o[2]=65535&(t=8388480+(t>>>16)+r[2]+38*(i[10]-n[10]-r[10]+n[2])),o[3]=65535&(t=8388480+(t>>>16)+r[3]+38*(i[11]-n[11]-r[11]+n[3])),o[4]=65535&(t=8388480+(t>>>16)+r[4]+38*(i[12]-n[12]-r[12]+n[4])),o[5]=65535&(t=8388480+(t>>>16)+r[5]+38*(i[13]-n[13]-r[13]+n[5])),o[6]=65535&(t=8388480+(t>>>16)+r[6]+38*(i[14]-n[14]-r[14]+n[6])),o[7]=65535&(t=8388480+(t>>>16)+r[7]+38*(i[15]-n[15]-r[15]+n[7])),o[8]=65535&(t=8388480+(t>>>16)+r[8]+i[0]-n[0]-r[0]+38*n[8]),o[9]=65535&(t=8388480+(t>>>16)+r[9]+i[1]-n[1]-r[1]+38*n[9]),o[10]=65535&(t=8388480+(t>>>16)+r[10]+i[2]-n[2]-r[2]+38*n[10]),o[11]=65535&(t=8388480+(t>>>16)+r[11]+i[3]-n[3]-r[3]+38*n[11]),o[12]=65535&(t=8388480+(t>>>16)+r[12]+i[4]-n[4]-r[4]+38*n[12]),o[13]=65535&(t=8388480+(t>>>16)+r[13]+i[5]-n[5]-r[5]+38*n[13]),o[14]=65535&(t=8388480+(t>>>16)+r[14]+i[6]-n[6]-r[6]+38*n[14]),o[15]=8388480+(t>>>16)+r[15]+i[7]-n[7]-r[7]+38*n[15],m(o),o}function d(e,t,n,r,i,o,a,s,c,u,p,l,f,d,h,m){var v,g=[];return g[0]=65535&(v=s*m),g[1]=65535&(v=(0|v/65536)+s*h+a*m),g[2]=65535&(v=(0|v/65536)+s*d+a*h+o*m),g[3]=65535&(v=(0|v/65536)+s*f+a*d+o*h+i*m),g[4]=65535&(v=(0|v/65536)+s*l+a*f+o*d+i*h+r*m),g[5]=65535&(v=(0|v/65536)+s*p+a*l+o*f+i*d+r*h+n*m),g[6]=65535&(v=(0|v/65536)+s*u+a*p+o*l+i*f+r*d+n*h+t*m),g[7]=65535&(v=(0|v/65536)+s*c+a*u+o*p+i*l+r*f+n*d+t*h+e*m),g[8]=65535&(v=(0|v/65536)+a*c+o*u+i*p+r*l+n*f+t*d+e*h),g[9]=65535&(v=(0|v/65536)+o*c+i*u+r*p+n*l+t*f+e*d),g[10]=65535&(v=(0|v/65536)+i*c+r*u+n*p+t*l+e*f),g[11]=65535&(v=(0|v/65536)+r*c+n*u+t*p+e*l),g[12]=65535&(v=(0|v/65536)+n*c+t*u+e*p),g[13]=65535&(v=(0|v/65536)+t*c+e*u),g[14]=65535&(v=(0|v/65536)+e*c),g[15]=0|v/65536,g}function h(e,t){var n,r=d(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8],t[15],t[14],t[13],t[12],t[11],t[10],t[9],t[8]),i=d(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0],t[7],t[6],t[5],t[4],t[3],t[2],t[1],t[0]),o=d(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0],t[15]+t[7],t[14]+t[6],t[13]+t[5],t[12]+t[4],t[11]+t[3],t[10]+t[2],t[9]+t[1],t[8]+t[0]),a=[];return a[0]=65535&(n=8388608+i[0]+38*(o[8]-r[8]-i[8]+r[0]-128)),a[1]=65535&(n=8388480+(n>>>16)+i[1]+38*(o[9]-r[9]-i[9]+r[1])),a[2]=65535&(n=8388480+(n>>>16)+i[2]+38*(o[10]-r[10]-i[10]+r[2])),a[3]=65535&(n=8388480+(n>>>16)+i[3]+38*(o[11]-r[11]-i[11]+r[3])),a[4]=65535&(n=8388480+(n>>>16)+i[4]+38*(o[12]-r[12]-i[12]+r[4])),a[5]=65535&(n=8388480+(n>>>16)+i[5]+38*(o[13]-r[13]-i[13]+r[5])),a[6]=65535&(n=8388480+(n>>>16)+i[6]+38*(o[14]-r[14]-i[14]+r[6])),a[7]=65535&(n=8388480+(n>>>16)+i[7]+38*(o[15]-r[15]-i[15]+r[7])),a[8]=65535&(n=8388480+(n>>>16)+i[8]+o[0]-r[0]-i[0]+38*r[8]),a[9]=65535&(n=8388480+(n>>>16)+i[9]+o[1]-r[1]-i[1]+38*r[9]),a[10]=65535&(n=8388480+(n>>>16)+i[10]+o[2]-r[2]-i[2]+38*r[10]),a[11]=65535&(n=8388480+(n>>>16)+i[11]+o[3]-r[3]-i[3]+38*r[11]),a[12]=65535&(n=8388480+(n>>>16)+i[12]+o[4]-r[4]-i[4]+38*r[12]),a[13]=65535&(n=8388480+(n>>>16)+i[13]+o[5]-r[5]-i[5]+38*r[13]),a[14]=65535&(n=8388480+(n>>>16)+i[14]+o[6]-r[6]-i[6]+38*r[14]),a[15]=8388480+(n>>>16)+i[15]+o[7]-r[7]-i[7]+38*r[15],m(a),a}function m(e){var t=e.slice(0),n=[e,t],r=e[15],i=n[32768>r&1];i[15]=32767&r,r=19*(0|r/32768),i[0]=65535&(r+=i[0]),r>>>=16,i[1]=65535&(r+=i[1]),r>>>=16,i[2]=65535&(r+=i[2]),r>>>=16,i[3]=65535&(r+=i[3]),r>>>=16,i[4]=65535&(r+=i[4]),r>>>=16,i[5]=65535&(r+=i[5]),r>>>=16,i[6]=65535&(r+=i[6]),r>>>=16,i[7]=65535&(r+=i[7]),r>>>=16,i[8]=65535&(r+=i[8]),r>>>=16,i[9]=65535&(r+=i[9]),r>>>=16,i[10]=65535&(r+=i[10]),r>>>=16,i[11]=65535&(r+=i[11]),r>>>=16,i[12]=65535&(r+=i[12]),r>>>=16,i[13]=65535&(r+=i[13]),r>>>=16,i[14]=65535&(r+=i[14]),r>>>=16,i[15]+=r}function v(e,t){var n,r=[];return r[0]=65535&(n=19*((0|e[15]>>>15)+(0|t[15]>>>15))+e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+(32767&e[15])+(32767&t[15]),r}function g(e,t){var n,r=[];return r[0]=65535&(n=524288+19*((0|e[15]>>>15)-(0|t[15]>>>15)-1)+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)+32760+(32767&e[15])-(32767&t[15]),r}function y(e){for(var t=e,n=250;--n;)e=f(e),e=h(e,t);return e=f(e),e=f(e),e=h(e,t),e=f(e),e=f(e),e=h(e,t),e=f(e),e=h(e,t)}function b(e){var t,n=121665,r=[];return r[0]=65535&(t=e[0]*n),r[1]=65535&(t=(0|t/65536)+e[1]*n),r[2]=65535&(t=(0|t/65536)+e[2]*n),r[3]=65535&(t=(0|t/65536)+e[3]*n),r[4]=65535&(t=(0|t/65536)+e[4]*n),r[5]=65535&(t=(0|t/65536)+e[5]*n),r[6]=65535&(t=(0|t/65536)+e[6]*n),r[7]=65535&(t=(0|t/65536)+e[7]*n),r[8]=65535&(t=(0|t/65536)+e[8]*n),r[9]=65535&(t=(0|t/65536)+e[9]*n),r[10]=65535&(t=(0|t/65536)+e[10]*n),r[11]=65535&(t=(0|t/65536)+e[11]*n),r[12]=65535&(t=(0|t/65536)+e[12]*n),r[13]=65535&(t=(0|t/65536)+e[13]*n),r[14]=65535&(t=(0|t/65536)+e[14]*n),r[15]=(0|t/65536)+e[15]*n,m(r),r}function x(e,t){var n,r,i,o,a;return i=f(v(e,t)),o=f(g(e,t)),a=g(i,o),n=h(o,i),r=h(v(b(a),i),a),[n,r]}function w(e,t,n,r,i){var o,a,s,c;return s=h(g(e,t),v(n,r)),c=h(v(e,t),g(n,r)),o=f(v(s,c)),a=h(f(g(s,c)),i),[o,a]}function _(e){var t=k.randomBytes(32);e===!0&&(t[0]&=248,t[31]=127&t[31]|64);for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join(\"\")}var k=e(\"crypto\"),j={};j.getbit=i,j.setbit=r,j.addmodp=v,j.invmodp=y,j.mulmodp=h,j.reduce=m,j.dbl=x,j.sum=w,j.ZERO=o,j.ONE=a,j.BASE=s,j.bigintadd=u,j.bigintsub=p,j.bigintcmp=c,j.mulmodp=h,j.sqrmodp=f,j.generateKey=_,t.exports=j},{crypto:void 0}],167:[function(e,t,n){\"use strict\";function r(e,t){var n,r,i;r=t,n=s.dbl(r,s.ONE()),i=[r,s.ONE()];for(var o=255;0==s.getbit(e,o);)if(o--,0>o)return s.ZERO();o--;for(var a=[n,i];o>=0;){var c,u,p=s.getbit(e,o);c=s.sum(a[0][0],a[0][1],a[1][0],a[1][1],r),u=s.dbl(a[1-p][0],a[1-p][1]),a[1-p]=u,a[p]=c,o--}return i=a[1],i[1]=s.invmodp(i[1]),i[0]=s.mulmodp(i[0],i[1]),s.reduce(i[0]),i[0]}function i(e,t){return t||(t=s.BASE()),e[0]&=65528,e[15]=32767&e[15]|16384,r(e,t)}function o(e){var t=c.hexEncode(e);return t=new Array(65-t.length).join(\"0\")+t,t.split(/(..)/).reverse().join(\"\")}function a(e){var t=e.split(/(..)/).reverse().join(\"\");return c.hexDecode(t)}var s=e(\"./core\"),c=e(\"./utils\"),u={};u.curve25519=i,u.curve25519_raw=r,u.hexEncodeVector=o,u.hexDecodeVector=a,u.hexencode=c.hexEncode,u.hexdecode=c.hexDecode,u.base32encode=c.base32encode,u.base32decode=c.base32decode,t.exports=u},{\"./core\":166,\"./utils\":170}],168:[function(e,t,n){(function(n){\"use strict\";function r(e){var t=new Uint16Array(e);return new n(new Uint8Array(t.buffer))}function i(e){if(n.isBuffer(e)){var t=new Uint8Array(e);return new Uint16Array(t.buffer)}for(var r=new Array(16),i=0,o=0;i<e.length;i+=2)r[o]=e.charCodeAt(i+1)<<8|e.charCodeAt(i),o++;return r}var o=e(\"./core\"),a=(e(\"./utils\"),e(\"./curve255\")),s={};s.computeKey=function(e,t){return r(t?a.curve25519(i(e),i(t)):a.curve25519(i(e)))},s.publicKey=function(e){return r(a.curve25519(i(e)))},s.generateKey=function(){return o.generateKey(!0)},t.exports=s}).call(this,e(\"buffer\").Buffer)},{\"./core\":166,\"./curve255\":167,\"./utils\":170,buffer:void 0}],169:[function(e,t,n){(function(n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);if(\"undefined\"==typeof e)return $;var t=e.constructor;if(t!==Array&&t!==Uint16Array&&t!==Uint32Array||16!==e.length)if(t===Array&&32===e.length)this.n=s(e).n;else if(t===String)this.n=D.hexDecode(e);else if(t===Number)this.n=[65535&e,e>>16,0,0,0,0,0,0,0,0,0,0,0,0,0,0];else{if(!(e instanceof r))throw\"Bad argument for bignum: \"+e;this.n=e.n.slice(0);\n}else this.n=e}function i(e,t){for(var n=0,r=0;16>r;r++){var i=e[r]>>16-t;e[r]=e[r]<<t&65535|n,n=i}return e}function o(e,t){for(var n=0,r=15;r>=0;r--){var i=e[r]<<16-t&65535;e[r]=e[r]>>t|n,n=i}return e}function a(e){e=r(e);for(var t=new Array(32),n=31;n>=0;n--)t[n]=255&e.n[0],e.shiftRight(8);return t}function s(e){for(var t=$,n=0;32>n;n++)t.shiftLeft(8),t=t.plus(r(e[n]));return t}function c(e,t){for(var n=N.ONE(),r=0;256>r;r++)1===N.getbit(t,r)&&(n=N.mulmodp(n,e)),e=N.sqrmodp(e);return n}function u(e){return N.reduce(e.n),e.cmp(V)>=0?u(e.minus(V)):-1===e.cmp($)?u(e.plus(V)):e}function p(e){var t=e[0],n=e[1],r=t.sqr(),i=n.sqr(),o=Y.times(r).times(i);return i.minus(r).minus(U).minus(o).modq().equals($)}function l(e){var t=e.sqr(),n=t.minus(U).divide(U.plus(Y.times(t))),r=n.pow(W);return r.times(r).minus(n).equals($)||(r=r.times(K)),r.isOdd()&&(r=V.minus(r)),r}function f(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3],p=r.minus(n).times(s.plus(a)),l=r.plus(n).times(s.minus(a)),f=i.times(H).times(u),d=o.times(H).times(c),h=d.plus(f),m=l.minus(p),v=l.plus(p),g=d.minus(f);return[h.times(m),v.times(g),m.times(v),h.times(g)]}function d(e){var t=e[0],n=e[1],r=e[2],i=t.times(t),o=n.times(n),a=H.times(r).times(r),s=V.minus(i),c=t.plus(n),u=c.times(c).minus(i).minus(o),p=s.plus(o),l=p.minus(a),f=s.minus(o);return[u.times(l),p.times(f),l.times(p),u.times(f)]}function h(e,t){if(t.equals($))return[$,U,U,$];var n=t.isOdd();t.shiftRight(1);var r=d(h(e,t));return n?f(r,e):r}function m(e){var t=e[0],n=e[1];return[t,n,U,t.times(n)]}function v(e){var t=e[0],n=e[1],r=e[2],i=r.inv();return[t.times(i),n.times(i)]}function g(e,t){return v(h(m(e),t))}function y(e,t){return e[e.length-(t>>>3)-1]>>(7&t)&1}function b(e,t){for(var n=[$,U,U,$],r=(t.length<<3)-1;r>=0;r--)n=d(n),1===y(t,r)&&(n=f(n,e));return n}function x(e,t){return v(b(m(e),t))}function w(e){return e.bytes(32).reverse()}function _(e){return r(e.slice(0).reverse())}function k(e){var t=w(e[1]);return e[0].isOdd()&&(t[31]|=128),t}function j(e){e=e.slice(0);var t=e[31]>>7;e[31]&=127;var n=_(e),r=l(n);(1&r.n[0])!==t&&(r=V.minus(r));var i=[r,n];if(!p(i))throw\"Point is not on curve\";return i}function S(e,t){if(void 0!==t)return 256===t?S(D.string2bytes(e)):new q(e,t);if(\"string\"==typeof e)return new q(e,10);if(e instanceof Array||e instanceof Uint8Array||n.isBuffer(e))return new q(e);if(\"number\"==typeof e)return new q(e.toString(),10);throw\"Can't convert \"+e+\" to BigInteger\"}function E(e,t){void 0===t&&(t=e.bitLength()+7>>>3);for(var n=new Array(t),r=t-1;r>=0;r--)n[r]=255&e[0],e=e.shiftRight(8);return n}function O(e){var t=R.createHash(\"sha512\").update(e).digest();return E(S(t),64).reverse()}function A(e){var t=R.createHash(\"sha512\").update(e).digest();return M(z,E(S(t),64)).join(\"\")}function C(e){return S([0].concat(O(e)))}function T(e){return r(O(e).slice(32,64))}function I(e){return C(e).mod(G)}function P(e){var t=T(e);return t.n[0]&=65528,t.n[15]&=16383,t.n[15]|=16384,t}function F(e){return k(g(Q,P(e)))}function M(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function z(e){return String.fromCharCode(e)}function B(e,t){return v(f(m(e),m(t)))}var N=e(\"./core\"),D=(e(\"./curve255\"),e(\"./utils\")),q=e(\"jsbn\").BigInteger,R=e(\"crypto\"),L={};r.prototype={toString:function(){return D.hexEncode(this.n)},toSource:function(){return\"_\"+D.hexEncode(this.n)},plus:function(e){return r(N.bigintadd(this.n,e.n))},minus:function(e){return r(N.bigintsub(this.n,e.n)).modq()},times:function(e){return r(N.mulmodp(this.n,e.n))},divide:function(e){return this.times(e.inv())},sqr:function(){return r(N.sqrmodp(this.n))},cmp:function(e){return N.bigintcmp(this.n,e.n)},equals:function(e){return 0===this.cmp(e)},isOdd:function(){return 1===(1&this.n[0])},shiftLeft:function(e){return i(this.n,e),this},shiftRight:function(e){return o(this.n,e),this},inv:function(){return r(N.invmodp(this.n))},pow:function(e){return r(c(this.n,e.n))},modq:function(){return u(this)},bytes:function(){return a(this)}};var $=r(0),U=r(1),H=r(2),V=r([65517,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,32767]),W=r(\"0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe\"),Y=r(\"52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3\"),K=r(\"2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0\"),G=(r(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\"),S(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\",16)),J=r(4).divide(r(5)),Z=l(J),Q=[Z,J];q.prototype.bytes=function(e){return E(this,e)},L.isOnCurve=function(e){try{p(j(D.string2bytes(e)))}catch(t){if(\"Point is not on curve\"===t)return!1;throw t}return!0},L.publicKey=function(e){return D.bytes2string(F(e))},L.sign=function(e,t,n){n=void 0===n?F(t):D.string2bytes(n);var r=S(P(t).toString(),16),i=A(t),o=O(i.slice(32,64)+e),a=x(Q,o),s=k(a);o=S(o).mod(S(1,10).shiftLeft(512));var c=M(z,s).join(\"\")+M(z,n).join(\"\")+e;return c=I(c).multiply(r).add(o).mod(G),D.bytes2string(s.concat(w(c)))},L.verify=function(e,t,n){e=D.string2bytes(e.slice(0,64)),n=D.string2bytes(n);var r=e.slice(0,32),i=j(r),o=j(n),a=_(e.slice(32,64)),s=C(D.bytes2string(r.concat(n))+t),c=g(Q,a),u=x(o,E(s)),p=B(i,u);return c[0].equals(p[0])&&c[1].equals(p[1])},L.generateKeySeed=function(){return N.generateKey(!1)},t.exports=L}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./core\":166,\"./curve255\":167,\"./utils\":170,crypto:void 0,jsbn:171}],170:[function(e,t,n){\"use strict\";function r(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];t.push(h.substr(r>>>12&15,1)),t.push(h.substr(r>>>8&15,1)),t.push(h.substr(r>>>4&15,1)),t.push(h.substr(15&r,1))}return t.join(\"\")}function i(e){for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.length-1,r=0;n>=0;n-=4)t[r]=h.indexOf(e.charAt(n))|h.indexOf(e.charAt(n-1))<<4|h.indexOf(e.charAt(n-2))<<8|h.indexOf(e.charAt(n-3))<<12,r++;return t}function o(e){var t,n=\"\";for(t=0;255>t;t+=5)n=m.substr(f.getbit(e,t)+(f.getbit(e,t+1)<<1)+(f.getbit(e,t+2)<<2)+(f.getbit(e,t+3)<<3)+(f.getbit(e,t+4)<<4),1)+n;return n}function a(e){var t=0,n=f.ZERO(),r=e.length;for(t=0;r>0&&255>t;t+=5){r--;var i=v[e.substr(r,1)];f.setbit(n,t,1&i),i>>=1,f.setbit(n,t+1,1&i),i>>=1,f.setbit(n,t+2,1&i),i>>=1,f.setbit(n,t+3,1&i),i>>=1,f.setbit(n,t+4,1&i)}return n}function s(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function c(e){return String.fromCharCode(e)}function u(e){return e.charCodeAt(0)}function p(e){return s(c,e).join(\"\")}function l(e){return s(u,e)}var f=e(\"./core\"),d={},h=\"0123456789abcdef\",m=\"abcdefghijklmnopqrstuvwxyz234567\",v=function(){for(var e={},t=0;t<m.length;t++)e[m.charAt(t)]=t;return e}();d.hexEncode=r,d.hexDecode=i,d.base32encode=o,d.base32decode=a,d.bytes2string=p,d.string2bytes=l,t.exports=d},{\"./core\":166}],171:[function(e,t,n){(function(){function e(e,t,n){null!=e&&(\"number\"==typeof e?this.fromNumber(e,t,n):null==t&&\"string\"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new e(null)}function i(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*a;c=a*c+((32767&p)<<15)+n[r]+(1073741823&i),i=(c>>>30)+(p>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i}function a(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*a;c=a*c+((16383&p)<<14)+n[r]+i,i=(c>>28)+(p>>14)+s*u,n[r++]=268435455&c}return i}function s(e){return vt.charAt(e)}function c(e,t){var n=gt[e.charCodeAt(t)];return null==n?-1:n}function u(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function p(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+this.DV:this.t=0}function l(e){var t=r();return t.fromInt(e),t}function f(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:c(t,i);0>s?\"-\"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)}function d(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function h(e){if(this.s<0)return\"-\"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o=\"\",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(n=this[a]>>c)>0&&(i=!0,o=s(n));a>=0;)t>c?(n=(this[a]&(1<<c)-1)<<t-c,n|=this[--a]>>(c+=this.DB-t)):(n=this[a]>>(c-=t)&r,0>=c&&(c+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:\"0\"}function m(){var t=r();return e.ZERO.subTo(this,t),t}function v(){return this.s<0?this.negate():this}function g(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function y(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function b(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)}function x(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function _(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function k(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}function j(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=0>r?-1:0,-1>r?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function S(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}function E(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function O(t,n,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t<o.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=t.s,p=this.DB-y(o[o.t-1]);p>0?(o.lShiftTo(p,s),a.lShiftTo(p,i)):(o.copyTo(s),a.copyTo(i));var l=s.t,f=s[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),h=this.FV/d,m=(1<<this.F1)/d,v=1<<this.F2,g=i.t,b=g-l,x=null==n?r():n;for(s.dlShiftTo(b,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),e.ONE.dlShiftTo(l,x),x.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var w=i[--g]==f?this.DM:Math.floor(i[g]*h+(i[g-1]+v)*m);if((i[g]+=s.am(0,w,i,b,0,l))<w)for(s.dlShiftTo(b,x),i.subTo(x,i);i[g]<--w;)i.subTo(x,i)}null!=n&&(i.drShiftTo(l,n),c!=u&&e.ZERO.subTo(n,n)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),0>c&&e.ZERO.subTo(i,i)}}}function A(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}function C(e){this.m=e}function T(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function I(e){return e}function P(e){e.divRemTo(this.m,null,e)}function F(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function M(e,t){e.squareTo(t),this.reduce(t)}function z(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function N(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n}function D(e){var t=r();return e.copyTo(t),this.reduce(t),t}function q(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function $(){return 0==(this.t>0?1&this[0]:this.s)}function U(t,n){if(t>4294967295||1>t)return e.ONE;var i=r(),o=r(),a=n.convert(this),s=y(t)-1;for(a.copyTo(i);--s>=0;)if(n.sqrTo(i,o),(t&1<<s)>0)n.mulTo(o,a,i);else{var c=i;i=o,o=c}return n.revert(i)}function H(e,t){var n;return n=256>e||t.isEven()?new C(t):new B(t),this.exp(e,n)}function V(){var e=r();return this.copyTo(e),e}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Y(){return 0==this.t?this.s:this[0]<<24>>24}function K(){return 0==this.t?this.s:this[0]<<16>>16}function G(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function J(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Z(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return\"0\";var t=this.chunkSize(e),n=Math.pow(e,t),i=l(n),o=r(),a=r(),s=\"\";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(e)+s}function Q(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<t.length;++u){var p=c(t,u);0>p?\"-\"==t.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+p,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)}function X(t,n,r){if(\"number\"==typeof n)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),se,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=(t>>3)+1,n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}}function ee(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)8>r?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,0>=r&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t}function te(e){return 0==this.compareTo(e)}function ne(e){return this.compareTo(e)<0?this:e}function re(e){return this.compareTo(e)>0?this:e}function ie(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;o>r;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}function oe(e,t){return e&t}function ae(e){var t=r();return this.bitwiseTo(e,oe,t),t}function se(e,t){return e|t}function ce(e){var t=r();return this.bitwiseTo(e,se,t),t}function ue(e,t){return e^t}function pe(e){var t=r();return this.bitwiseTo(e,ue,t),t}function le(e,t){return e&~t}function fe(e){var t=r();return this.bitwiseTo(e,le,t),t}function de(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function he(e){var t=r();return 0>e?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=r();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function ve(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ge(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+ve(this[e]);return this.s<0?this.t*this.DB:-1}function ye(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function be(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=ye(this[n]^t);return e}function xe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function we(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}function _e(e){return this.changeBit(e,se)}function ke(e){return this.changeBit(e,le)}function je(e){return this.changeBit(e,ue)}function Se(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=0>r?-1:0,r>0?t[n++]=r:-1>r&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function Ee(e){var t=r();return this.addTo(e,t),t}function Oe(e){var t=r();return this.subTo(e,t),t}function Ae(e){var t=r();return this.multiplyTo(e,t),t}function Ce(){var e=r();return this.squareTo(e),e}function Te(e){var t=r();return this.divRemTo(e,t,null),t}function Ie(e){var t=r();return this.divRemTo(e,null,t),t}function Pe(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)}function Fe(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Me(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function ze(){}function Be(e){return e}function Ne(e,t,n){e.multiplyTo(t,n)}function De(e,t){e.squareTo(t)}function qe(e){return this.exp(e,new ze)}function Re(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;i>r;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);i>r;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}function Le(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}function $e(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function Ue(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function Ve(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)}function We(e,t){e.squareTo(t),this.reduce(t)}function Ye(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function Ke(e,t){var n,i,o=e.bitLength(),a=l(1);if(0>=o)return a;n=18>o?1:48>o?3:144>o?4:768>o?5:6,i=8>o?new C(t):t.isEven()?new $e(t):new B(t);var s=new Array,c=3,u=n-1,p=(1<<n)-1;if(s[1]=i.convert(this),n>1){var f=r();for(i.sqrTo(s[1],f);p>=c;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var d,h,m=e.t-1,v=!0,g=r();for(o=y(e[m])-1;m>=0;){for(o>=u?d=e[m]>>o-u&p:(d=(e[m]&(1<<o+1)-1)<<u-o,m>0&&(d|=e[m-1]>>this.DB+o-u)),c=n;0==(1&d);)d>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),v)s[d].copyTo(a),v=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(h=a,a=g,g=h),i.mulTo(g,s[d],a)}for(;m>=0&&0==(e[m]&1<<o);)i.sqrTo(a,g),h=a,a=g,g=h,--o<0&&(o=this.DB-1,--m)}return i.revert(a)}function Ge(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(0>o)return t;for(o>i&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function Je(e){if(0>=e)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}function Ze(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Qe(e){var t,n=this.abs();if(1==n.t&&n[0]<=yt[yt.length-1]){for(t=0;t<yt.length;++t)if(n[0]==yt[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<yt.length;){for(var r=yt[t],i=t+1;i<yt.length&&bt>r;)r*=yt[i++];for(r=n.modInt(r);i>t;)if(r%yt[t++]==0)return!1}return n.millerRabin(e)}function Xe(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(0>=i)return!1;var o=n.shiftRight(i);t=t+1>>1,t>yt.length&&(t=yt.length);for(var a=r(),s=0;t>s;++s){a.fromInt(yt[Math.floor(Math.random()*yt.length)]);var c=a.modPow(o,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(n)){for(var u=1;u++<i&&0!=c.compareTo(n);)if(c=c.modPowInt(2,this),0==c.compareTo(e.ONE))return!1;if(0!=c.compareTo(n))return!1}}return!0}function et(e){wt[_t++]^=255&e,wt[_t++]^=e>>8&255,wt[_t++]^=e>>16&255,wt[_t++]^=e>>24&255,_t>=Et&&(_t-=Et)}function tt(){et((new Date).getTime())}function nt(){if(null==xt){for(tt(),xt=ct(),xt.init(wt),_t=0;_t<wt.length;++_t)wt[_t]=0;_t=0}return xt.next()}function rt(e){var t;for(t=0;t<e.length;++t)e[t]=nt()}function it(){}function ot(){this.i=0,this.j=0,this.S=new Array}function at(e){var t,n,r;for(t=0;256>t;++t)this.S[t]=t;for(n=0,t=0;256>t;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function st(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function ct(){return new ot}var ut,pt=0xdeadbeefcafe,lt=15715070==(16777215&pt),ft=\"undefined\"!=typeof navigator;ft&&lt&&\"Microsoft Internet Explorer\"==navigator.appName?(e.prototype.am=o,ut=30):ft&&lt&&\"Netscape\"!=navigator.appName?(e.prototype.am=i,ut=26):(e.prototype.am=a,ut=28),e.prototype.DB=ut,e.prototype.DM=(1<<ut)-1,e.prototype.DV=1<<ut;var dt=52;e.prototype.FV=Math.pow(2,dt),e.prototype.F1=dt-ut,e.prototype.F2=2*ut-dt;var ht,mt,vt=\"0123456789abcdefghijklmnopqrstuvwxyz\",gt=new Array;for(ht=\"0\".charCodeAt(0),mt=0;9>=mt;++mt)gt[ht++]=mt;for(ht=\"a\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;for(ht=\"A\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;C.prototype.convert=T,C.prototype.revert=I,C.prototype.reduce=P,C.prototype.mulTo=F,C.prototype.sqrTo=M,B.prototype.convert=N,B.prototype.revert=D,B.prototype.reduce=q,B.prototype.mulTo=L,B.prototype.sqrTo=R,e.prototype.copyTo=u,e.prototype.fromInt=p,e.prototype.fromString=f,e.prototype.clamp=d,e.prototype.dlShiftTo=x,e.prototype.drShiftTo=w,e.prototype.lShiftTo=_,e.prototype.rShiftTo=k,e.prototype.subTo=j,e.prototype.multiplyTo=S,e.prototype.squareTo=E,e.prototype.divRemTo=O,e.prototype.invDigit=z,e.prototype.isEven=$,e.prototype.exp=U,e.prototype.toString=h,e.prototype.negate=m,e.prototype.abs=v,e.prototype.compareTo=g,e.prototype.bitLength=b,e.prototype.mod=A,e.prototype.modPowInt=H,e.ZERO=l(0),e.ONE=l(1),ze.prototype.convert=Be,ze.prototype.revert=Be,ze.prototype.mulTo=Ne,ze.prototype.sqrTo=De,$e.prototype.convert=Ue,$e.prototype.revert=He,$e.prototype.reduce=Ve,$e.prototype.mulTo=Ye,$e.prototype.sqrTo=We;var yt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bt=(1<<26)/yt[yt.length-1];e.prototype.chunkSize=G,e.prototype.toRadix=Z,e.prototype.fromRadix=Q,e.prototype.fromNumber=X,e.prototype.bitwiseTo=ie,e.prototype.changeBit=we,e.prototype.addTo=Se,e.prototype.dMultiply=Fe,e.prototype.dAddOffset=Me,e.prototype.multiplyLowerTo=Re,e.prototype.multiplyUpperTo=Le,e.prototype.modInt=Je,e.prototype.millerRabin=Xe,e.prototype.clone=V,e.prototype.intValue=W,e.prototype.byteValue=Y,e.prototype.shortValue=K,e.prototype.signum=J,e.prototype.toByteArray=ee,e.prototype.equals=te,e.prototype.min=ne,e.prototype.max=re,e.prototype.and=ae,e.prototype.or=ce,e.prototype.xor=pe,e.prototype.andNot=fe,e.prototype.not=de,e.prototype.shiftLeft=he,e.prototype.shiftRight=me,e.prototype.getLowestSetBit=ge,e.prototype.bitCount=be,e.prototype.testBit=xe,e.prototype.setBit=_e,e.prototype.clearBit=ke,e.prototype.flipBit=je,e.prototype.add=Ee,e.prototype.subtract=Oe,e.prototype.multiply=Ae,e.prototype.divide=Te,e.prototype.remainder=Ie,e.prototype.divideAndRemainder=Pe,e.prototype.modPow=Ke,e.prototype.modInverse=Ze,e.prototype.pow=qe,e.prototype.gcd=Ge,e.prototype.isProbablePrime=Qe,e.prototype.square=Ce,e.prototype.Barrett=$e;var xt,wt,_t;if(null==wt){wt=new Array,_t=0;var kt;if(\"undefined\"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var jt=new Uint8Array(32);for(window.crypto.getRandomValues(jt),kt=0;32>kt;++kt)wt[_t++]=jt[kt]}else if(\"Netscape\"==navigator.appName&&navigator.appVersion<\"5\"){var St=window.crypto.random(32);for(kt=0;kt<St.length;++kt)wt[_t++]=255&St.charCodeAt(kt)}for(;Et>_t;)kt=Math.floor(65536*Math.random()),wt[_t++]=kt>>>8,wt[_t++]=255&kt;_t=0,tt()}it.prototype.nextBytes=rt,ot.prototype.init=at,ot.prototype.next=st;var Et=256;\"undefined\"!=typeof n?n=t.exports={BigInteger:e,SecureRandom:it}:(this.BigInteger=e,this.SecureRandom=it)}).call(this)},{}],172:[function(e,t,n){({define:\"undefined\"!=typeof define?define:function(e,n){t.exports=n()}}).define([],function(){function e(t,n){return e(t,n,{changing:!1})}var t=e;t.Integer={type:\"integer\"};var n={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,n,r){return e(t,n,{changing:r||\"property\"})};var e=t._validate=function(e,t,r){function i(e){return e.type||n[e.name]==e&&e.name.toLowerCase()}function o(e,t,n,u){function p(e){c.push({property:n,message:e})}function l(e,t){if(e){if(!(\"string\"!=typeof e||\"any\"==e||(\"null\"==e?null===t:typeof t==e)||t instanceof Array&&\"array\"==e||t instanceof Date&&\"date\"==e||\"integer\"==e&&t%1===0))return[{property:n,message:typeof t+\" value found, but a \"+e+\" is required\"}];if(e instanceof Array){for(var r=[],i=0;i<e.length&&(r=l(e[i],t)).length;i++);if(r.length)return r}else if(\"object\"==typeof e){var a=c;c=[],o(t,e,n);var s=c;return c=a,s}}return[]}var f;if(n+=n?\"number\"==typeof u?\"[\"+u+\"]\":\"undefined\"==typeof u?\"\":\".\"+u:u,(\"object\"!=typeof t||t instanceof Array)&&(n||\"function\"!=typeof t)&&(!t||!i(t)))return\"function\"==typeof t?e instanceof t||p(\"is not an instance of the class/constructor \"+t.name):t&&p(\"Invalid schema/property definition \"+t),null;if(s&&t.readonly&&p(\"is a readonly field, it can not be changed\"),t[\"extends\"]&&o(e,t[\"extends\"],n,u),void 0===e)t.required&&p(\"is missing and it is required\");else if(c=c.concat(l(i(t),e)),t.disallow&&!l(t.disallow,e).length&&p(\" disallowed value was matched\"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,h=t.items;for(u=0,f=e.length;f>u;u+=1)d&&(h=t.items[u]),r.coerce&&(e[u]=r.coerce(e[u],h)),c.concat(o(e[u],h,n,u))}t.minItems&&e.length<t.minItems&&p(\"There must be a minimum of \"+t.minItems+\" in the array\"),t.maxItems&&e.length>t.maxItems&&p(\"There must be a maximum of \"+t.maxItems+\" in the array\")}else(t.properties||t.additionalProperties)&&c.concat(a(e,t.properties,n,t.additionalProperties));if(t.pattern&&\"string\"==typeof e&&!e.match(t.pattern)&&p(\"does not match the regex pattern \"+t.pattern),t.maxLength&&\"string\"==typeof e&&e.length>t.maxLength&&p(\"may only be \"+t.maxLength+\" characters long\"),t.minLength&&\"string\"==typeof e&&e.length<t.minLength&&p(\"must be at least \"+t.minLength+\" characters long\"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p(\"must have a minimum value of \"+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p(\"must have a maximum value of \"+t.maximum),t[\"enum\"]){var m=t[\"enum\"];f=m.length;for(var v,g=0;f>g;g++)if(m[g]===e){v=1;break}v||p(\"does not have a value in the enumeration \"+m.join(\", \"))}\"number\"==typeof t.maxDecimal&&e.toString().match(new RegExp(\"\\\\.[0-9]{\"+(t.maxDecimal+1)+\",}\"))&&p(\"may only have \"+t.maxDecimal+\" digits of decimal places\")}return null}function a(e,t,n,i){if(\"object\"==typeof t){(\"object\"!=typeof e||e instanceof Array)&&c.push({property:n,message:\"an object is required\"});for(var a in t)if(t.hasOwnProperty(a)){var u=e[a];if(void 0===u&&r.existingOnly)continue;var p=t[a];void 0===u&&p[\"default\"]&&(u=e[a]=p[\"default\"]),r.coerce&&a in e&&(u=e[a]=r.coerce(u,p)),o(u,p,n,a)}}for(a in e){if(e.hasOwnProperty(a)&&(\"_\"!=a.charAt(0)||\"_\"!=a.charAt(1))&&t&&!t[a]&&i===!1){if(r.filter){delete e[a];continue}c.push({property:n,message:typeof u+\"The property \"+a+\" is not defined in the schema and the schema does not allow additional properties\"})}var l=t&&t[a]&&t[a].requires;!l||l in e||c.push({property:n,message:\"the presence of the property \"+a+\" requires that \"+l+\" also be present\"}),u=e[a],!i||t&&\"object\"==typeof t&&a in t||(r.coerce&&(u=e[a]=r.coerce(u,i)),o(u,i,n,a)),!s&&u&&u.$schema&&(c=c.concat(o(u,u.$schema,n,a)))}return c}r||(r={});var s=r.changing,c=[];return t&&o(e,t,\"\",s||\"\"),!s&&e&&e.$schema&&o(e,e.$schema,\"\",\"\"),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return\"for property \"+e.property+\": \"+e.message}).join(\", \\n\"))},t})},{}],173:[function(e,t,n){function r(e,t,n,r){return JSON.stringify(e,i(t,r),n)}function i(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?\"[Circular ~]\":\"[Circular ~.\"+r.slice(0,n.indexOf(t)).join(\".\")+\"]\"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=t.call(this,i,o))}else n.push(o);return null==e?o:e.call(this,i,o)}}n=t.exports=r,n.getSerialize=i},{}],174:[function(e,t,n){var r=function(e){return e.replace(/~./g,function(e){switch(e){case\"~0\":return\"~\";case\"~1\":return\"/\"}throw new Error(\"Invalid tilde escape: \"+e)})},i=function(e,t,n){var o=r(t.shift());if(!e.hasOwnProperty(o))return null;if(0!==t.length)return i(e[o],t,n);if(\"undefined\"==typeof n)return e[o];var a=e[o];return null===n?delete e[o]:e[o]=n,a},o=function(e,t){if(\"object\"!=typeof e)throw new Error(\"Invalid input object.\");if(\"\"===t)return[];if(!t)throw new Error(\"Invalid JSON pointer.\");t=t.split(\"/\");var n=t.shift();if(\"\"!==n)throw new Error(\"Invalid JSON pointer.\");return t},a=function(e,t){return t=o(e,t),0===t.length?e:i(e,t)},s=function(e,t,n){if(t=o(e,t),0===t.length)throw new Error(\"Invalid JSON pointer for set.\");return i(e,t,n)};n.get=a,n.set=s},{}],175:[function(e,t,n){function r(e){var t,n,i=\"__deepCopy\";if(e&&e[i])throw new Error(\"attempted deep copy of cyclic object\");\nif(e&&e.constructor==Object){t={},e[i]=!0;for(n in e)n!=i&&(t[n]=r(e[n]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,n=0;n<e.length;n++)t.push(r(e[n]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||\"object\"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var n;for(n in e){if(!t.hasOwnProperty(n))return!1;if(!i(e[n],t[n]))return!1}for(n in t)if(!e.hasOwnProperty(n))return!1;return!0}function o(e){var t;for(t in e)return!1;return!0}function a(e,t){for(var n in e)t(n,e[n])}function s(e,t){return A.equal(typeof t,\"string\"),c(e,t)}function c(e,t){if(null!==e&&\"object\"==typeof e){if(e.hasOwnProperty(t))return e[t];var n=t.indexOf(\".\");if(-1!=n){var r=t.substr(0,n);if(e.hasOwnProperty(r))return c(e[r],t.substr(n+1))}}}function u(e,t,n){p(e,t,[],n)}function p(e,t,n,r){var i,o;if(0===t)return i=n.slice(0),i.push(e),void r(i);A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);for(o in e)i=n.slice(0),i.push(o),p(e[o],t-1,i,r)}function l(e,t){if(0===t)return[e];A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);var n,r=[];for(n in e)l(e[n],t-1).forEach(function(e){r.push([n].concat(e))});return r}function f(e,t){return e.substr(0,t.length)==t}function d(e,t){return e.substr(e.length-t.length,t.length)==t}function h(e){return\"number\"==typeof e&&(e=new Date(e)),A.ok(e.constructor===Date),C.sprintf(\"%4d-%02d-%02dT%02d:%02d:%02d.%03dZ\",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function m(e){return C.sprintf(\"%s, %02d %s %04d %02d:%02d:%02d GMT\",F[e.getUTCDay()],e.getUTCDate(),P[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function v(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)}function g(e,t){var n=I.validate(t,e);if(0===n.errors.length)return null;var r,i,o=n.errors[0],a=o.property,s=o.message.toLowerCase();-1!=(r=s.indexOf(\"the property \"))&&-1!=(i=s.indexOf(\" is not defined in the schema and the schema does not allow additional properties\"))&&(r+=\"the property \".length,a=\"\"===a?s.substr(r,i-r):a+\".\"+s.substr(r,i-r),s=\"unsupported property\");var c=new T.VError('property \"%s\": %s',a,s);return c.jsv_details=o,c}function y(e){return A.ok(Array.isArray(e)&&e.length>0,\"randElt argument must be a non-empty array\"),e[Math.floor(Math.random()*e.length)]}function b(e){A.ok(e[0]>=0&&e[1]>=0,\"negative numbers not allowed in hrtimes\"),A.ok(e[1]<1e9,\"nanoseconds column overflow\")}function x(e,t){b(e),b(t),A.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],\"negative differences not allowed\");var n=[e[0]-t[0],0];return e[1]>=t[1]?n[1]=e[1]-t[1]:(n[0]--,n[1]=1e9-(t[1]-e[1])),n}function w(e){return b(e),Math.floor(1e9*e[0]+e[1])}function _(e){return b(e),Math.floor(1e6*e[0]+e[1]/1e3)}function k(e){return b(e),Math.floor(1e3*e[0]+e[1]/1e6)}function j(e,t){return b(e),b(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function S(e,t){b(e);var n=[e[0],e[1]];return j(n,t)}function E(e,t){A.ok(\"object\"==typeof e&&null!==e,\"obj argument must be a non-null object\"),A.ok(Array.isArray(t),\"allowed argument must be an array of strings\");for(var n=0;n<t.length;n++)A.ok(\"string\"==typeof t[n],\"allowed argument must be an array of strings\");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})}function O(e,t,n){var r,i;if(r={},n)for(i in n)r[i]=n[i];if(e)for(i in e)r[i]=e[i];if(t)for(i in t)r[i]=t[i];return r}var A=e(\"assert\"),C=(e(\"util\"),e(\"extsprintf\")),T=e(\"verror\"),I=e(\"json-schema\");n.deepCopy=r,n.deepEqual=i,n.isEmpty=o,n.forEachKey=a,n.pluck=s,n.flattenObject=l,n.flattenIter=u,n.validateJsonObject=g,n.validateJsonObjectJS=g,n.randElt=y,n.extraProperties=E,n.mergeObjects=O,n.startsWith=f,n.endsWith=d,n.iso8601=h,n.rfc1123=m,n.parseDateTime=v,n.hrtimediff=x,n.hrtimeDiff=x,n.hrtimeAccum=j,n.hrtimeAdd=S,n.hrtimeNanosec=w,n.hrtimeMicrosec=_,n.hrtimeMillisec=k;var P=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],F=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},{assert:void 0,extsprintf:114,\"json-schema\":172,util:void 0,verror:533}],176:[function(e,t,n){\"use strict\";function r(){this._pres={},this._posts={}}r.prototype.execPre=function(e,t,n){var r=this._pres[e]||[],i=r.length,o=r.numAsync||0,a=0,s=o,c=!1;if(!i)return process.nextTick(function(){n(null)});var u=function(){if(!(a>=i)){var e=r[a];if(e.isAsync)e.fn.call(t,function(e){if(e){if(c)return;return c=!0,n(e)}++a,u.apply(t,arguments)},function(e){if(e){if(c)return;return c=!0,n(e)}return 0===--o?n(null):void 0});else if(e.fn.length>0){var p=[function(e){if(e){if(c)return;return c=!0,n(e)}return++a>=i?s>0?void 0:n(null):void u.apply(t,arguments)}];if(arguments.length>=2)for(var l=1;l<arguments.length;++l)p.push(arguments[l]);e.fn.apply(t,p)}else{if(e.fn.call(t),++a>=i)return s>0?void 0:process.nextTick(function(){n(null)});u()}}};u()},r.prototype.execPost=function(e,t,n,r){var i=this._posts[e]||[],o=i.length,a=0;if(!o)return process.nextTick(function(){r.apply(null,[null].concat(n))});var s=function(){var e=i[a];if(e.length>n.length)e.apply(t,n.concat(function(e){return e?r(e):++a>=o?r.apply(null,[null].concat(n)):void s()}));else{if(e.apply(t,n),++a>=o)return r.apply(null,[null].concat(n));s()}};s()},r.prototype.wrap=function(e,t,n,r,i){var o=r.length>0?r[r.length-1]:null,a=this;this.execPre(e,n,function(s){if(s){if(\"function\"==typeof o)return o(s)}else{var c=\"function\"==typeof o?r.length-1:r.length;t.apply(n,r.slice(0,c).concat(function(){if(arguments[0])return\"function\"==typeof o?o(arguments[0]):void 0;i&&\"function\"==typeof o&&o.apply(n,arguments);var t=Array.prototype.slice.call(arguments,1);a.execPost(e,n,t,function(){return arguments[0]?\"function\"==typeof o?o(arguments[0]):void 0:\"function\"!=typeof o||i?void 0:o.apply(n,arguments)})}))}})},r.prototype.createWrapper=function(e,t,n){var r=this;return function(){var i=Array.prototype.slice.call(arguments);r.wrap(e,t,n,i)}},r.prototype.pre=function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1),this._pres[e]=this._pres[e]||[];var i=this._pres[e];return t&&(i.numAsync=i.numAsync||0,++i.numAsync),i.push({fn:n,isAsync:t}),this},r.prototype.post=function(e,t){return(this._posts[e]=this._posts[e]||[]).push(t),this},r.prototype.clone=function(){var e=new r;for(var t in this._pres)e._pres[t]=this._pres[t].slice();for(var t in this._posts)e._posts[t]=this._posts[t].slice();return e},t.exports=r},{}],177:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function c(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!!e.length&&_(e,t,0)>-1}function d(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function h(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function m(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function v(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function g(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===X?a===a:n(a,s)))var s=a,c=o}return c}function x(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function w(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function _(e,t,n){if(t!==t)return $(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function k(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function j(e,t){var n=e?e.length:0;return n?O(e,t)/n:Oe}function S(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function E(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==X&&(n=n===X?o:n+o)}return n}function A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return h(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function I(e,t){return h(t,function(t){return e[t]})}function P(e,t){for(var n=-1,r=e.length;++n<r&&_(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function z(e,t){if(e!==t){var n=null===e,r=e===X,i=e===e,o=null===t,a=t===X,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function B(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var c=z(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*(\"desc\"==u?-1:1)}}return e.index-t.index}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function D(e){return function(t,n){var r;return t===X&&n===X?0:(t!==X&&(r=t),n!==X&&(r=r===X?n:e(r,n)),r)}}function q(e){return Tn[e]}function R(e){return In[e]}function L(e){return\"\\\\\"+Mn[e]}function $(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function U(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(n){}return t}function H(e,t){return e=\"number\"==typeof e||Pt.test(e)?+e:-1,t=null==t?Se:t,e>-1&&e%1==0&&t>e}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ie||(e[n]=ie,o[i++]=n)}return o}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){if(!e||!jn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function J(e){return e.match(_n)}function Z(e){return Pn[e]}function Q(e){function t(e){if(as(e)&&!Zp(e)&&!(e instanceof Pt)){if(e instanceof M)return e;if(du.call(e,\"__wrapped__\"))return Ji(e)}return new M(e)}function n(){}function M(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=X}function Pt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function Bt(){var e=new Pt(this.__wrapped__);return e.__actions__=Kr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Kr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Kr(this.__views__),e}function Nt(){if(this.__filtered__){var e=new Pt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zp(e),r=0>t,i=n?e.length:0,o=Ci(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=Du(c,this.__takeCount__);if(!n||te>i||i==c&&d==c)return Ir(e,this.__actions__);var h=[];e:for(;c--&&d>f;){u+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==_e)v=x;else if(!x){if(b==we)continue e;break e}}h[f++]=v}return h}function qt(){}function Rt(e,t){return $t(e,t)&&delete e[t]}function Lt(e,t){if(Gu){var n=e[t];return n===re?X:n}return du.call(e,t)?e[t]:X}function $t(e,t){return Gu?e[t]!==X:du.call(e,t)}function Ut(e,t,n){e[t]=Gu&&n===X?re:n}function Ht(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vt(){this.__data__={hash:new qt,map:Vu?new Vu:[],string:new qt}}function Wt(e){var t=this.__data__;return qi(e)?Rt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map[\"delete\"](e):an(t.map,e)}function Yt(e){var t=this.__data__;return qi(e)?Lt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.get(e):sn(t.map,e)}function Kt(e){var t=this.__data__;return qi(e)?$t(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.has(e):cn(t.map,e)}function Gt(e,t){var n=this.__data__;return qi(e)?Ut(\"string\"==typeof e?n.string:n.hash,e,t):Vu?n.map.set(e,t):pn(n.map,e,t),this}function Jt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ht;++t<n;)this.push(e[t])}function Zt(e,t){var n=e.__data__;if(qi(t)){var r=n.__data__,i=\"string\"==typeof t?r.string:r.hash;return i[t]===re}return n.has(t)}function Qt(e){var t=this.__data__;if(qi(e)){var n=t.__data__,r=\"string\"==typeof e?n.string:n.hash;r[e]=re}else t.set(e,re)}function Xt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map[\"delete\"](e)}function nn(e){var t=this.__data__,n=t.array;return n?sn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<te-1?pn(r,e,t):(n.array=null,n.map=new Ht(r)));var i=n.map;return i&&i.set(e,t),this}function an(e,t){var n=un(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Tu.call(e,n,1),!0}function sn(e,t){var n=un(e,t);return 0>n?X:e[n][1]}function cn(e,t){return un(e,t)>-1}function un(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function pn(e,t,n){var r=un(e,t);0>r?e.push([t,n]):e[r][1]=n}function ln(e,t,n,r){return e===X||La(e,pu[n])&&!du.call(r,n)?t:e}function fn(e,t,n){(n===X||La(e[t],n))&&(\"number\"!=typeof t||n!==X||t in e)||(e[t]=n)}function dn(e,t,n){var r=e[t];du.call(e,t)&&La(r,n)&&(n!==X||t in e)||(e[t]=n)}function hn(e,t,n,r){return sp(e,function(e,i,o){t(r,e,n(e),o)}),r}function mn(e,t){return e&&Gr(t,Ws(t),e)}function vn(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?X:Us(e,t[n]);return o}function gn(e,t,n){return e===e&&(n!==X&&(e=n>=e?e:n),t!==X&&(e=e>=t?e:t)),e}function yn(e,t,n,r,i,o,a){var s;if(r&&(s=o?r(e,i,o,a):r(e)),s!==X)return s;if(!os(e))return e;var u=Zp(e);if(u){if(s=Ii(e),!t)return Kr(e,s)}else{var p=Ai(e),l=p==Be||p==Ne;if(Qp(e))return Dr(e,t);if(p==Re||p==Ie||l&&!o){if(U(e))return o?e:{};if(s=Pi(l?{}:e),!t)return Jr(e,mn(s,e))}else{if(!Cn[p])return o?e:{};s=Fi(e,p,yn,t)}}a||(a=new Xt);var f=a.get(e);if(f)return f;if(a.set(e,s),!u)var d=n?bi(e):Ws(e);return c(d||e,function(i,o){d&&(o=i,i=e[o]),dn(s,o,yn(i,t,n,r,o,e,a))}),s}function bn(e){var t=Ws(e),n=t.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=t[i],a=e[o],s=r[o];if(s===X&&!(o in Object(r))||!a(s))return!1}return!0}}function _n(e){return os(e)?Ou(e):{}}function Tn(e,t,n){if(\"function\"!=typeof e)throw new cu(ne);return Cu(function(){e.apply(X,n)},t)}function In(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=h(t,T(n))),r?(o=d,a=!1):t.length>=te&&(o=Zt,a=!1,t=new Jt(t));e:for(;++i<s;){var p=e[i],l=n?n(p):p;if(a&&l===l){for(var m=u;m--;)if(t[m]===l)continue e;c.push(p)}else o(t,l,r)||c.push(p)}return c}function Pn(e,t){var n=!0;return sp(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fn(e,t,n,r){var i=e.length;for(n=As(n),0>n&&(n=-n>i?0:i+n),r=r===X||r>i?i:As(r),0>r&&(r+=i),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Mn(e,t){var n=[];return sp(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Nn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=zi),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Nn(s,t-1,n,r,i):m(i,s):r||(i[i.length]=s)}return i}function Dn(e,t){return e&&up(e,t,Ws)}function Rn(e,t){return e&&pp(e,t,Ws)}function Ln(e,t){return l(t,function(t){return ns(e[t])})}function $n(e,t){t=Di(t,e)?[t]:Br(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:X}function Un(e,t,n){var r=t(e);return Zp(e)?r:m(r,n(e))}function Wn(e,t){return du.call(e,t)||\"object\"==typeof e&&t in e&&null===Ei(e)}function Yn(e,t){return t in Object(e)}function Kn(e,t,n){return e>=Du(t,n)&&e<Nu(t,n)}function Gn(e,t,n){for(var r=n?d:f,i=e[0].length,o=e.length,a=o,s=Array(o),c=1/0,u=[];a--;){var p=e[a];a&&t&&(p=h(p,T(t))),c=Du(p.length,c),s[a]=!n&&(t||i>=120&&p.length>=120)?new Jt(a&&p):X}p=e[0];var l=-1,m=s[0];e:for(;++l<i&&u.length<c;){var v=p[l],g=t?t(v):v;if(!(m?Zt(m,g):r(u,g,n))){for(a=o;--a;){var y=s[a];if(!(y?Zt(y,g):r(e[a],g,n)))continue e}m&&m.push(g),u.push(v)}}return u}function Jn(e,t,n,r){return Dn(e,function(e,i,o){t(r,n(e),i,o)}),r}function Zn(e,t,n){Di(t,e)||(t=Br(t),e=Wi(e,t),t=vo(t));var r=null==e?e:e[t];return null==r?X:o(r,e,n)}function Qn(e,t,n,r,i){return e===t?!0:null==e||null==t||!os(e)&&!as(t)?e!==e&&t!==t:Xn(e,t,Qn,n,r,i)}function Xn(e,t,n,r,i,o){var a=Zp(e),s=Zp(t),c=Pe,u=Pe;a||(c=Ai(e),c=c==Ie?Re:c),s||(u=Ai(t),u=u==Ie?Re:u);var p=c==Re&&!U(e),l=u==Re&&!U(t),f=c==u;if(f&&!p)return o||(o=new Xt),a||ws(e)?vi(e,t,n,r,i,o):gi(e,t,c,n,r,i,o);if(!(i&ve)){var d=p&&du.call(e,\"__wrapped__\"),h=l&&du.call(t,\"__wrapped__\");if(d||h){var m=d?e.value():e,v=h?t.value():t;return o||(o=new Xt),n(m,v,r,i,o)}}return f?(o||(o=new Xt),yi(e,t,n,r,i,o)):!1}function er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===X&&!(c in e))return!1}else{var l=new Xt;if(r)var f=r(u,p,c,e,t,l);if(!(f===X?Qn(p,u,r,me|ve,l):f))return!1}}return!0}function tr(e){return\"function\"==typeof e?e:null==e?Nc:\"object\"==typeof e?Zp(e)?ar(e[0],e[1]):or(e):Vc(e)}function nr(e){return Bu(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ir(e,t){var n=-1,r=Wa(e)?Array(e.length):[];return sp(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function or(e){var t=ki(e);return 1==t.length&&t[0][2]?Ui(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ar(e,t){return Di(e)&&$i(t)?Ui(e,t):function(n){var r=Us(n,e);return r===X&&r===t?Vs(n,e):Qn(t,r,X,me|ve)}}function sr(e,t,n,r,i){if(e!==t){if(!Zp(t)&&!ws(t))var o=Ys(t);c(o||t,function(a,s){if(o&&(s=a,a=t[s]),os(a))i||(i=new Xt),cr(e,t,s,n,sr,r,i);else{var c=r?r(e[s],a,s+\"\",e,t,i):X;c===X&&(c=a),fn(e,s,c)}})}}function cr(e,t,n,r,i,o,a){var s=e[n],c=t[n],u=a.get(c);if(u)return void fn(e,n,u);var p=o?o(s,c,n+\"\",e,t,a):X,l=p===X;l&&(p=c,Zp(c)||ws(c)?Zp(s)?p=s:Ya(s)?p=Kr(s):(l=!1,p=yn(c,!0)):ms(c)||Ha(c)?Ha(s)?p=Is(s):!os(s)||r&&ns(s)?(l=!1,p=yn(c,!0)):p=s:l=!1),a.set(c,p),l&&i(p,c,r,o,a),a[\"delete\"](c),fn(e,n,p)}function ur(e,t){var n=e.length;if(n)return t+=0>t?n:0,H(t,n)?e[t]:X}function pr(e,t,n){var r=-1;t=h(t.length?t:[Nc],T(_i()));var i=ir(e,function(e,n,i){var o=h(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return E(i,function(e,t){return B(e,t,n)})}function lr(e,t){return e=Object(e),v(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function fr(e,t){for(var n=-1,r=xi(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function dr(e){return function(t){return null==t?X:t[e]}}function hr(e){return function(t){return $n(t,e)}}function mr(e,t,n,r){var i=r?k:_,o=-1,a=t.length,s=e;for(n&&(s=h(e,T(n)));++o<a;)for(var c=0,u=t[o],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&Tu.call(s,c,1),Tu.call(e,c,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(H(i))Tu.call(e,i,1);else if(Di(i,e))delete e[i];else{var a=Br(i),s=Wi(e,a);null!=s&&delete s[vo(a)]}}}return e}function gr(e,t){return e+Pu(Ru()*(t-e+1))}function yr(e,t,n,r){for(var i=-1,o=Nu(Iu((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}function br(e,t){var n=\"\";if(!e||1>t||t>Se)return n;do t%2&&(n+=e),t=Pu(t/2),t&&(e+=e);while(t);return n}function xr(e,t,n,r){t=Di(t,e)?[t]:Br(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];if(os(s)){var u=n;if(i!=a){var p=s[c];u=r?r(p,c,s):X,u===X&&(u=null==p?H(t[i+1])?[]:{}:p)}dn(s,c,u)}s=s[c]}return e}function wr(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function _r(e,t){var n;return sp(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function kr(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Te>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return jr(e,t,Nc,n)}function jr(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===X;o>i;){var u=Pu((i+o)/2),p=n(e[u]),l=p!==X,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return Du(o,Ce)}function Sr(e){return Er(e)}function Er(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,c=[i];++n<r;)i=e[n],o=t?t(i):i,La(o,a)||(a=o,c[s++]=i);return c}function Or(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=d;else if(o>=te){var u=t?null:fp(e);if(u)return K(u);a=!1,i=Zt,c=new Jt}else c=t?[]:s;e:for(;++r<o;){var p=e[r],l=t?t(p):p;if(a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function Ar(e,t){t=Di(t,e)?[t]:Br(t),e=Wi(e,t);var n=vo(t);return null!=e&&Hs(e,n)?delete e[n]:!0}function Cr(e,t,n,r){return xr(e,t,n($n(e,t)),r)}function Tr(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?wr(e,r?0:o,r?o+1:i):wr(e,r?o+1:0,r?i:o)}function Ir(e,t){var n=e;return n instanceof Pt&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,m([e],t.args))},n)}function Pr(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?m(In(o,e[r],t,n),In(e[r],o,t,n)):e[r];return o&&o.length?Or(o,t,n):[]}function Fr(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:X;n(a,e[r],s)}return a}function Mr(e){return Ya(e)?e:[]}function zr(e){return\"function\"==typeof e?e:Nc}function Br(e){return Zp(e)?e:gp(e)}function Nr(e,t,n){var r=e.length;return n=n===X?r:n,!t&&n>=r?e:wr(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function qr(e){var t=new e.constructor(e.byteLength);return new _u(t).set(new _u(e)),t}function Rr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Lr(e,t,n){var i=t?n(W(e),!0):W(e);return v(i,r,new e.constructor)}function $r(e){var t=new e.constructor(e.source,Et.exec(e));return t.lastIndex=e.lastIndex,t}function Ur(e,t,n){var r=t?n(K(e),!0):K(e);return v(r,i,new e.constructor)}function Hr(e){return op?Object(op.call(e)):{}}function Vr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wr(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,u=Nu(o-a,0),p=Array(c+u),l=!r;++s<c;)p[s]=t[s];for(;++i<a;)(l||o>i)&&(p[n[i]]=e[i]);for(;u--;)p[s++]=e[i++];return p}function Yr(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,u=t.length,p=Nu(o-s,0),l=Array(p+u),f=!r;++i<p;)l[i]=e[i];for(var d=i;++c<u;)l[d+c]=t[c];for(;++a<s;)(f||o>i)&&(l[d+n[a]]=e[i++]);return l}function Kr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Gr(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];dn(n,a,s)}return n}function Jr(e,t){return Gr(e,Oi(e),t)}function Zr(e,t){return function(n,r){var i=Zp(n)?a:hn,o=t?t():{};return i(n,e,_i(r),o)}}function Qr(e){return Ia(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=\"function\"==typeof o?(i--,o):X,a&&Ni(n[0],n[1],a)&&(o=3>i?X:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Xr(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function ei(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}function ti(e,t,n){function r(){var t=this&&this!==Hn&&this instanceof r?o:e;return t.apply(i?n:this,arguments)}var i=t&oe,o=ii(e);return r}function ni(e){return function(t){t=Fs(t);var n=jn.test(t)?J(t):X,r=n?n[0]:t.charAt(0),i=n?Nr(n,1).join(\"\"):t.slice(1);return r[e]()+i}}function ri(e){return function(t){return v(Fc(dc(t).replace(xn,\"\")),e,\"\")}}function ii(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_n(e.prototype),r=e.apply(n,t);return os(r)?r:n}}function oi(e,t,n){function r(){for(var a=arguments.length,s=Array(a),c=a,u=Si(r);c--;)s[c]=arguments[c];var p=3>a&&s[0]!==u&&s[a-1]!==u?[]:Y(s,u);if(a-=p.length,n>a)return di(e,t,si,r.placeholder,X,s,p,X,X,n-a);var l=this&&this!==Hn&&this instanceof r?i:e;return o(l,this,s)}var i=ii(e);return r}function ai(e){return Ia(function(t){t=Nn(t,1);var n=t.length,r=n,i=M.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(\"function\"!=typeof o)throw new cu(ne);if(i&&!a&&\"wrapper\"==wi(o))var a=new M([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=wi(o),c=\"wrapper\"==s?dp(o):X;a=c&&Ri(c[0])&&c[1]==(fe|ce|pe|de)&&!c[4].length&&1==c[9]?a[wi(c[0])].apply(a,c[3]):1==o.length&&Ri(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Zp(r)&&r.length>=te)return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function si(e,t,n,r,i,o,a,s,c,u){function p(){for(var g=arguments.length,y=g,b=Array(g);y--;)b[y]=arguments[y];if(h)var x=Si(p),w=N(b,x);if(r&&(b=Wr(b,r,i,h)),o&&(b=Yr(b,o,a,h)),g-=w,h&&u>g){var _=Y(b,x);return di(e,t,si,p.placeholder,n,b,_,s,c,u-g)}var k=f?n:this,j=d?k[e]:e;return g=b.length,s?b=Yi(b,s):m&&g>1&&b.reverse(),l&&g>c&&(b.length=c),this&&this!==Hn&&this instanceof p&&(j=v||ii(j)),j.apply(k,b)}var l=t&fe,f=t&oe,d=t&ae,h=t&(ce|ue),m=t&he,v=d?X:ii(e);return p}function ci(e,t){return function(n,r){return Jn(n,e,t(r),{})}}function ui(e){return Ia(function(t){return t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i())),Ia(function(n){var r=this;return e(t,function(e){return o(e,r,n)})})})}function pi(e,t){t=t===X?\" \":t+\"\";var n=t.length;if(2>n)return n?br(t,e):t;var r=br(t,Iu(e/G(t)));return jn.test(t)?Nr(J(r),0,e).join(\"\"):r.slice(0,e)}function li(e,t,n,r){function i(){for(var t=-1,c=arguments.length,u=-1,p=r.length,l=Array(p+c),f=this&&this!==Hn&&this instanceof i?s:e;++u<p;)l[u]=r[u];for(;c--;)l[u++]=arguments[++t];return o(f,a?n:this,l)}var a=t&oe,s=ii(e);return i}function fi(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Ni(t,n,r)&&(n=r=X),t=Ts(t),t=t===t?t:0,n===X?(n=t,t=0):n=Ts(n)||0,r=r===X?n>t?1:-1:Ts(r)||0,yr(t,n,r,e)}}function di(e,t,n,r,i,o,a,s,c,u){var p=t&ce,l=p?a:X,f=p?X:a,d=p?o:X,h=p?X:o;t|=p?pe:le,t&=~(p?le:pe),t&se||(t&=~(oe|ae));var m=[e,t,i,d,l,h,f,s,c,u],v=n.apply(X,m);return Ri(e)&&vp(v,m),v.placeholder=r,v}function hi(e){var t=au[e];return function(e,n){if(e=Ts(e),n=As(n)){var r=(Fs(e)+\"e\").split(\"e\"),i=t(r[0]+\"e\"+(+r[1]+n));return r=(Fs(i)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}function mi(e,t,n,r,i,o,a,s){var c=t&ae;if(!c&&\"function\"!=typeof e)throw new cu(ne);var u=r?r.length:0;if(u||(t&=~(pe|le),r=i=X),a=a===X?a:Nu(As(a),0),s=s===X?s:As(s),u-=i?i.length:0,t&le){var p=r,l=i;r=i=X}var f=c?X:dp(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&Hi(d,f),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=null==d[9]?c?0:e.length:Nu(d[9]-u,0),!s&&t&(ce|ue)&&(t&=~(ce|ue)),t&&t!=oe)h=t==ce||t==ue?oi(e,t,s):t!=pe&&t!=(oe|pe)||i.length?si.apply(X,d):li(e,t,n,r);else var h=ti(e,t,n);var m=f?lp:vp;return m(h,d)}function vi(e,t,n,r,i,o){var a=-1,s=i&ve,c=i&me,u=e.length,p=t.length;if(u!=p&&!(s&&p>u))return!1;var l=o.get(e);if(l)return l==t;var f=!0;for(o.set(e,t);++a<u;){var d=e[a],h=t[a];if(r)var m=s?r(h,d,a,t,e,o):r(d,h,a,e,t,o);if(m!==X){if(m)continue;f=!1;break}if(c){if(!y(t,function(e){return d===e||n(d,e,r,i,o)})){f=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){f=!1;break}}return o[\"delete\"](e),f}function gi(e,t,n,r,i,o,a){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new _u(e),new _u(t)));case Fe:case Me:return+e==+t;case ze:return e.name==t.name&&e.message==t.message;case qe:return e!=+e?t!=+t:e==+t;case $e:case He:return e==t+\"\";case De:var s=W;case Ue:var c=o&ve;if(s||(s=K),e.size!=t.size&&!c)return!1;var u=a.get(e);return u?u==t:(o|=me,a.set(e,t),vi(s(e),s(t),r,i,o,a));case Ve:if(op)return op.call(e)==op.call(t)}return!1}function yi(e,t,n,r,i,o){var a=i&ve,s=Ws(e),c=s.length,u=Ws(t),p=u.length;if(c!=p&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in t:Wn(t,f)))return!1}var d=o.get(e);if(d)return d==t;var h=!0;o.set(e,t);for(var m=a;++l<c;){f=s[l];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,o):r(v,g,f,e,t,o);if(!(y===X?v===g||n(v,g,r,i,o):y)){h=!1;break}m||(m=\"constructor\"==f)}if(h&&!m){var b=e.constructor,x=t.constructor;b!=x&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof x&&x instanceof x)&&(h=!1)}return o[\"delete\"](e),h}function bi(e){return Un(e,Ws,Oi)}function xi(e){return Un(e,Ys,mp)}function wi(e){for(var t=e.name+\"\",n=Qu[t],r=du.call(Qu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function _i(){var e=t.iteratee||Dc;return e=e===Dc?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e){for(var t=tc(e),n=t.length;n--;)t[n][2]=$i(t[n][1]);return t}function ji(e,t){var n=e[t];return ls(n)?n:X}function Si(e){var n=du.call(t,\"placeholder\")?t:e;return n.placeholder}function Ei(e){return Fu(Object(e))}function Oi(e){return Su(Object(e))}function Ai(e){return vu.call(e)}function Ci(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Du(t,e+a);break;case\"takeRight\":e=Nu(e,t-a)}}return{start:e,end:t}}function Ti(e,t,n){t=Di(t,e)?[t]:Br(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&is(o)&&H(a,o)&&(Zp(e)||bs(e)||Ha(e))}function Ii(e){var t=e.length,n=e.constructor(t);return t&&\"string\"==typeof e[0]&&du.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Pi(e){return\"function\"!=typeof e.constructor||Li(e)?{}:_n(Ei(e))}function Fi(e,t,n,r){var i=e.constructor;switch(t){case Ke:return qr(e);case Fe:case Me:return new i(+e);case Ge:return Rr(e,r);case Je:case Ze:case Qe:case Xe:case et:case tt:case nt:case rt:case it:return Vr(e,r);case De:return Lr(e,r,n);case qe:case He:return new i(e);case $e:return $r(e);case Ue:return Ur(e,r,n);case Ve:return Hr(e)}}function Mi(e){var t=e?e.length:X;return is(t)&&(Zp(e)||bs(e)||Ha(e))?A(t,String):null}function zi(e){return Ya(e)&&(Zp(e)||Ha(e))}function Bi(e){return Zp(e)&&!(2==e.length&&!ns(e[0]))}function Ni(e,t,n){if(!os(n))return!1;var r=typeof t;return(\"number\"==r?Wa(n)&&H(t,n.length):\"string\"==r&&t in n)?La(n[t],e):!1}function Di(e,t){var n=typeof e;return\"number\"==n||\"symbol\"==n?!0:!Zp(e)&&(xs(e)||vt.test(e)||!mt.test(e)||null!=t&&e in Object(t))}function qi(e){var t=typeof e;return\"number\"==t||\"boolean\"==t||\"string\"==t&&\"__proto__\"!=e||null==e}function Ri(e){var n=wi(e),r=t[n];if(\"function\"!=typeof r||!(n in Pt.prototype))return!1;if(e===r)return!0;var i=dp(r);return!!i&&e===i[0]}function Li(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||pu;return e===n}function $i(e){return e===e&&!os(e)}function Ui(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==X||e in Object(n))}}function Hi(e,t){var n=e[1],r=t[1],i=n|r,o=(oe|ae|fe)>i,a=r==fe&&n==ce||r==fe&&n==de&&e[7].length<=t[8]||r==(fe|de)&&t[7].length<=t[8]&&n==ce;\nif(!o&&!a)return e;r&oe&&(e[2]=t[2],i|=n&oe?0:se);var s=t[3];if(s){var c=e[3];e[3]=c?Wr(c,s,t[4]):s,e[4]=c?Y(e[3],ie):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Yr(c,s,t[6]):s,e[6]=c?Y(e[5],ie):t[6]),s=t[7],s&&(e[7]=s),r&fe&&(e[8]=null==e[8]?t[8]:Du(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Vi(e,t,n,r,i,o){return os(e)&&os(t)&&sr(e,t,X,Vi,o.set(t,e)),e}function Wi(e,t){return 1==t.length?e:$n(e,wr(t,0,-1))}function Yi(e,t){for(var n=e.length,r=Du(t.length,n),i=Kr(e);r--;){var o=t[r];e[r]=H(o,n)?i[o]:X}return e}function Ki(e){return\"string\"==typeof e||xs(e)?e:e+\"\"}function Gi(e){if(null!=e){try{return fu.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ji(e){if(e instanceof Pt)return e.clone();var t=new M(e.__wrapped__,e.__chain__);return t.__actions__=Kr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zi(e,t,n){t=(n?Ni(e,t,n):t===X)?1:Nu(As(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(Iu(r/t));r>i;)a[o++]=wr(e,i,i+=t);return a}function Qi(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Xi(){var e=arguments.length,t=Ba(arguments[0]);if(2>e)return e?Kr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Nn(n,1))}function eo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),wr(e,0>t?0:t,r)):[]}function to(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0,0>t?0:t)):[]}function no(e,t){return e&&e.length?Tr(e,_i(t,3),!0,!0):[]}function ro(e,t){return e&&e.length?Tr(e,_i(t,3),!0):[]}function io(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Ni(e,t,n)&&(n=0,r=i),Fn(e,t,n,r)):[]}function oo(e,t){return e&&e.length?w(e,_i(t,3)):-1}function ao(e,t){return e&&e.length?w(e,_i(t,3),!0):-1}function so(e){var t=e?e.length:0;return t?Nn(e,1):[]}function co(e){var t=e?e.length:0;return t?Nn(e,je):[]}function uo(e,t){var n=e?e.length:0;return n?(t=t===X?1:As(t),Nn(e,t)):[]}function po(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function lo(e){return e&&e.length?e[0]:X}function fo(e,t,n){var r=e?e.length:0;return r?(n=As(n),0>n&&(n=Nu(r+n,0)),_(e,t,n)):-1}function ho(e){return to(e,1)}function mo(e,t){return e?zu.call(e,t):\"\"}function vo(e){var t=e?e.length:0;return t?e[t-1]:X}function go(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==X&&(i=As(n),i=(0>i?Nu(r+i,0):Du(i,r-1))+1),t!==t)return $(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function yo(e,t){return e&&e.length?ur(e,As(t)):X}function bo(e,t){return e&&e.length&&t&&t.length?mr(e,t):e}function xo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,_i(n)):e}function wo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,X,n):e}function _o(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=_i(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vr(e,i),n}function ko(e){return e?$u.call(e):e}function jo(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Ni(e,t,n)?(t=0,n=r):(t=null==t?0:As(t),n=n===X?r:As(n)),wr(e,t,n)):[]}function So(e,t){return kr(e,t)}function Eo(e,t,n){return jr(e,t,_i(n))}function Oo(e,t){var n=e?e.length:0;if(n){var r=kr(e,t);if(n>r&&La(e[r],t))return r}return-1}function Ao(e,t){return kr(e,t,!0)}function Co(e,t,n){return jr(e,t,_i(n),!0)}function To(e,t){var n=e?e.length:0;if(n){var r=kr(e,t,!0)-1;if(La(e[r],t))return r}return-1}function Io(e){return e&&e.length?Sr(e):[]}function Po(e,t){return e&&e.length?Er(e,_i(t)):[]}function Fo(e){return eo(e,1)}function Mo(e,t,n){return e&&e.length?(t=n||t===X?1:As(t),wr(e,0,0>t?0:t)):[]}function zo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0>t?0:t,r)):[]}function Bo(e,t){return e&&e.length?Tr(e,_i(t,3),!1,!0):[]}function No(e,t){return e&&e.length?Tr(e,_i(t,3)):[]}function Do(e){return e&&e.length?Or(e):[]}function qo(e,t){return e&&e.length?Or(e,_i(t)):[]}function Ro(e,t){return e&&e.length?Or(e,X,t):[]}function Lo(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ya(e)?(t=Nu(e.length,t),!0):void 0}),A(t,function(t){return h(e,dr(t))})}function $o(e,t){if(!e||!e.length)return[];var n=Lo(e);return null==t?n:h(n,function(e){return o(t,X,e)})}function Uo(e,t){return Fr(e||[],t||[],dn)}function Ho(e,t){return Fr(e||[],t||[],xr)}function Vo(e){var n=t(e);return n.__chain__=!0,n}function Wo(e,t){return t(e),e}function Yo(e,t){return t(e)}function Ko(){return Vo(this)}function Go(){return new M(this.value(),this.__chain__)}function Jo(){this.__values__===X&&(this.__values__=Os(this.value()));var e=this.__index__>=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function Zo(){return this}function Qo(e){for(var t,r=this;r instanceof n;){var i=Ji(r);i.__index__=0,i.__values__=X,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Xo(){var e=this.__wrapped__;if(e instanceof Pt){var t=e;return this.__actions__.length&&(t=new Pt(this)),t=t.reverse(),t.__actions__.push({func:Yo,args:[ko],thisArg:X}),new M(t,this.__chain__)}return this.thru(ko)}function ea(){return Ir(this.__wrapped__,this.__actions__)}function ta(e,t,n){var r=Zp(e)?p:Pn;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function na(e,t){var n=Zp(e)?l:Mn;return n(e,_i(t,3))}function ra(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t);return n>-1?e[n]:X}return x(e,t,sp)}function ia(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t,!0);return n>-1?e[n]:X}return x(e,t,cp)}function oa(e,t){return Nn(la(e,t),1)}function aa(e,t){return Nn(la(e,t),je)}function sa(e,t,n){return n=n===X?1:As(n),Nn(la(e,t),n)}function ca(e,t){return\"function\"==typeof t&&Zp(e)?c(e,t):sp(e,_i(t))}function ua(e,t){return\"function\"==typeof t&&Zp(e)?u(e,t):cp(e,_i(t))}function pa(e,t,n,r){e=Wa(e)?e:sc(e),n=n&&!r?As(n):0;var i=e.length;return 0>n&&(n=Nu(i+n,0)),bs(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&_(e,t,n)>-1}function la(e,t){var n=Zp(e)?h:ir;return n(e,_i(t,3))}function fa(e,t,n,r){return null==e?[]:(Zp(t)||(t=null==t?[]:[t]),n=r?X:n,Zp(n)||(n=null==n?[]:[n]),pr(e,t,n))}function da(e,t,n){var r=Zp(e)?v:S,i=arguments.length<3;return r(e,_i(t,4),n,i,sp)}function ha(e,t,n){var r=Zp(e)?g:S,i=arguments.length<3;return r(e,_i(t,4),n,i,cp)}function ma(e,t){var n=Zp(e)?l:Mn;return t=_i(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function va(e){var t=Wa(e)?e:sc(e),n=t.length;return n>0?t[gr(0,n-1)]:X}function ga(e,t,n){var r=-1,i=Os(e),o=i.length,a=o-1;for(t=(n?Ni(e,t,n):t===X)?1:gn(As(t),0,o);++r<t;){var s=gr(r,a),c=i[s];i[s]=i[r],i[r]=c}return i.length=t,i}function ya(e){return ga(e,Ae)}function ba(e){if(null==e)return 0;if(Wa(e)){var t=e.length;return t&&bs(e)?G(e):t}if(as(e)){var n=Ai(e);if(n==De||n==Ue)return e.size}return Ws(e).length}function xa(e,t,n){var r=Zp(e)?y:_r;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function wa(e,t){if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e<1?t.apply(this,arguments):void 0}}function _a(e,t,n){return t=n?X:t,t=e&&null==t?e.length:t,mi(e,fe,X,X,X,X,t)}function ka(e,t){var n;if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=X),n}}function ja(e,t,n){t=n?X:t;var r=mi(e,ce,X,X,X,X,X,t);return r.placeholder=ja.placeholder,r}function Sa(e,t,n){t=n?X:t;var r=mi(e,ue,X,X,X,X,X,t);return r.placeholder=Sa.placeholder,r}function Ea(e,t,n){function r(t){var n=f,r=d;return f=d=X,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Cu(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Du(i,h-r):i}function a(e){var n=e-g,r=e-y;return!g||n>=t||0>n||x&&r>=h}function s(){var e=$p();return a(e)?c(e):void(v=Cu(s,o(e)))}function c(e){return ku(v),v=X,w&&f?r(e):(f=d=X,m)}function u(){v!==X&&ku(v),g=y=0,f=d=v=X}function p(){return v===X?m:c($p())}function l(){var e=$p(),n=a(e);if(f=arguments,d=this,g=e,n){if(v===X)return i(g);if(x)return ku(v),v=Cu(s,t),r(g)}return v===X&&(v=Cu(s,t)),m}var f,d,h,m,v,g=0,y=0,b=!1,x=!1,w=!0;if(\"function\"!=typeof e)throw new cu(ne);return t=Ts(t)||0,os(n)&&(b=!!n.leading,x=\"maxWait\"in n,h=x?Nu(Ts(n.maxWait)||0,t):h,w=\"trailing\"in n?!!n.trailing:w),l.cancel=u,l.flush=p,l}function Oa(e){return mi(e,he)}function Aa(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new cu(ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Aa.Cache||Ht),n}function Ca(e){if(\"function\"!=typeof e)throw new cu(ne);return function(){return!e.apply(this,arguments)}}function Ta(e){return ka(2,e)}function Ia(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=Nu(t===X?e.length-1:As(t),0),function(){for(var n=arguments,r=-1,i=Nu(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,o(e,this,s)}}function Pa(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=t===X?0:Nu(As(t),0),Ia(function(n){var r=n[t],i=Nr(n,0,t);return r&&m(i,r),o(e,this,i)})}function Fa(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new cu(ne);return os(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Ea(e,t,{leading:r,maxWait:t,trailing:i})}function Ma(e){return _a(e,1)}function za(e,t){return t=null==t?Nc:t,Kp(t,e)}function Ba(){if(!arguments.length)return[];var e=arguments[0];return Zp(e)?e:[e]}function Na(e){return yn(e,!1,!0)}function Da(e,t){return yn(e,!1,!0,t)}function qa(e){return yn(e,!0,!0)}function Ra(e,t){return yn(e,!0,!0,t)}function La(e,t){return e===t||e!==e&&t!==t}function $a(e,t){return e>t}function Ua(e,t){return e>=t}function Ha(e){return Ya(e)&&du.call(e,\"callee\")&&(!Au.call(e,\"callee\")||vu.call(e)==Ie)}function Va(e){return as(e)&&vu.call(e)==Ke}function Wa(e){return null!=e&&is(hp(e))&&!ns(e)}function Ya(e){return as(e)&&Wa(e)}function Ka(e){return e===!0||e===!1||as(e)&&vu.call(e)==Fe}function Ga(e){return as(e)&&vu.call(e)==Me}function Ja(e){return!!e&&1===e.nodeType&&as(e)&&!ms(e)}function Za(e){if(Wa(e)&&(Zp(e)||bs(e)||ns(e.splice)||Ha(e)||Qp(e)))return!e.length;if(as(e)){var t=Ai(e);if(t==De||t==Ue)return!e.size}for(var n in e)if(du.call(e,n))return!1;return!(Zu&&Ws(e).length)}function Qa(e,t){return Qn(e,t)}function Xa(e,t,n){n=\"function\"==typeof n?n:X;var r=n?n(e,t):X;return r===X?Qn(e,t,n):!!r}function es(e){return as(e)?vu.call(e)==ze||\"string\"==typeof e.message&&\"string\"==typeof e.name:!1}function ts(e){return\"number\"==typeof e&&Mu(e)}function ns(e){var t=os(e)?vu.call(e):\"\";return t==Be||t==Ne}function rs(e){return\"number\"==typeof e&&e==As(e)}function is(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Se>=e}function os(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function as(e){return!!e&&\"object\"==typeof e}function ss(e){return as(e)&&Ai(e)==De}function cs(e,t){return e===t||er(e,t,ki(t))}function us(e,t,n){return n=\"function\"==typeof n?n:X,er(e,t,ki(t),n)}function ps(e){return hs(e)&&e!=+e}function ls(e){if(!os(e))return!1;var t=ns(e)||U(e)?yu:Tt;return t.test(Gi(e))}function fs(e){return null===e}function ds(e){return null==e}function hs(e){return\"number\"==typeof e||as(e)&&vu.call(e)==qe}function ms(e){if(!as(e)||vu.call(e)!=Re||U(e))return!1;var t=Ei(e);if(null===t)return!0;var n=du.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&fu.call(n)==mu}function vs(e){return os(e)&&vu.call(e)==$e}function gs(e){return rs(e)&&e>=-Se&&Se>=e}function ys(e){return as(e)&&Ai(e)==Ue}function bs(e){return\"string\"==typeof e||!Zp(e)&&as(e)&&vu.call(e)==He}function xs(e){return\"symbol\"==typeof e||as(e)&&vu.call(e)==Ve}function ws(e){return as(e)&&is(e.length)&&!!An[vu.call(e)]}function _s(e){return e===X}function ks(e){return as(e)&&Ai(e)==We}function js(e){return as(e)&&vu.call(e)==Ye}function Ss(e,t){return t>e}function Es(e,t){return t>=e}function Os(e){if(!e)return[];if(Wa(e))return bs(e)?J(e):Kr(e);if(Eu&&e[Eu])return V(e[Eu]());var t=Ai(e),n=t==De?W:t==Ue?K:sc;return n(e)}function As(e){if(!e)return 0===e?e:0;if(e=Ts(e),e===je||e===-je){var t=0>e?-1:1;return t*Ee}var n=e%1;return e===e?n?e-n:e:0}function Cs(e){return e?gn(As(e),0,Ae):0}function Ts(e){if(\"number\"==typeof e)return e;if(xs(e))return Oe;if(os(e)){var t=ns(e.valueOf)?e.valueOf():e;e=os(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(xt,\"\");var n=Ct.test(e);return n||It.test(e)?Bn(e.slice(2),n?2:8):At.test(e)?Oe:+e}function Is(e){return Gr(e,Ys(e))}function Ps(e){return gn(As(e),-Se,Se)}function Fs(e){if(\"string\"==typeof e)return e;if(null==e)return\"\";if(xs(e))return ap?ap.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-je?\"-0\":t}function Ms(e,t){var n=_n(e);return t?mn(n,t):n}function zs(e,t){return x(e,_i(t,3),Dn,!0)}function Bs(e,t){return x(e,_i(t,3),Rn,!0)}function Ns(e,t){return null==e?e:up(e,_i(t),Ys)}function Ds(e,t){return null==e?e:pp(e,_i(t),Ys)}function qs(e,t){return e&&Dn(e,_i(t))}function Rs(e,t){return e&&Rn(e,_i(t))}function Ls(e){return null==e?[]:Ln(e,Ws(e))}function $s(e){return null==e?[]:Ln(e,Ys(e))}function Us(e,t,n){var r=null==e?X:$n(e,t);return r===X?n:r}function Hs(e,t){return null!=e&&Ti(e,t,Wn)}function Vs(e,t){return null!=e&&Ti(e,t,Yn)}function Ws(e){var t=Li(e);if(!t&&!Wa(e))return nr(e);var n=Mi(e),r=!!n,i=n||[],o=i.length;for(var a in e)!Wn(e,a)||r&&(\"length\"==a||H(a,o))||t&&\"constructor\"==a||i.push(a);return i}function Ys(e){for(var t=-1,n=Li(e),r=rr(e),i=r.length,o=Mi(e),a=!!o,s=o||[],c=s.length;++t<i;){var u=r[t];a&&(\"length\"==u||H(u,c))||\"constructor\"==u&&(n||!du.call(e,u))||s.push(u)}return s}function Ks(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[t(e,r,i)]=e}),n}function Gs(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[r]=t(e,r,i)}),n}function Js(e,t){return t=_i(t),fr(e,function(e,n){return!t(e,n)})}function Zs(e,t){return null==e?{}:fr(e,_i(t))}function Qs(e,t,n){t=Di(t,e)?[t]:Br(t);var r=-1,i=t.length;for(i||(e=X,i=1);++r<i;){var o=null==e?X:e[t[r]];o===X&&(r=i,o=n),e=ns(o)?o.call(e):o}return e}function Xs(e,t,n){return null==e?e:xr(e,t,n)}function ec(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:xr(e,t,n,r)}function tc(e){return C(e,Ws(e))}function nc(e){return C(e,Ys(e))}function rc(e,t,n){var r=Zp(e)||ws(e);if(t=_i(t,4),null==n)if(r||os(e)){var i=e.constructor;n=r?Zp(e)?new i:[]:ns(i)?_n(Ei(e)):{}}else n={};return(r?c:Dn)(e,function(e,r,i){return t(n,e,r,i)}),n}function ic(e,t){return null==e?!0:Ar(e,t)}function oc(e,t,n){return null==e?e:Cr(e,t,zr(n))}function ac(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:Cr(e,t,zr(n),r)}function sc(e){return e?I(e,Ws(e)):[]}function cc(e){return null==e?[]:I(e,Ys(e))}function uc(e,t,n){return n===X&&(n=t,t=X),n!==X&&(n=Ts(n),n=n===n?n:0),t!==X&&(t=Ts(t),t=t===t?t:0),gn(Ts(e),t,n)}function pc(e,t,n){return t=Ts(t)||0,n===X?(n=t,t=0):n=Ts(n)||0,e=Ts(e),Kn(e,t,n)}function lc(e,t,n){if(n&&\"boolean\"!=typeof n&&Ni(e,t,n)&&(t=n=X),n===X&&(\"boolean\"==typeof t?(n=t,t=X):\"boolean\"==typeof e&&(n=e,e=X)),e===X&&t===X?(e=0,t=1):(e=Ts(e)||0,t===X?(t=e,e=0):t=Ts(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Ru();return Du(e+i*(t-e+zn(\"1e-\"+((i+\"\").length-1))),t)}return gr(e,t)}function fc(e){return xl(Fs(e).toLowerCase())}function dc(e){return e=Fs(e),e&&e.replace(Ft,q).replace(wn,\"\")}function hc(e,t,n){e=Fs(e),t=\"string\"==typeof t?t:t+\"\";var r=e.length;return n=n===X?r:gn(As(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function mc(e){return e=Fs(e),e&&lt.test(e)?e.replace(ut,R):e}function vc(e){return e=Fs(e),e&&bt.test(e)?e.replace(yt,\"\\\\$&\"):e}function gc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return pi(Pu(i),n)+e+pi(Iu(i),n)}function yc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?e+pi(t-r,n):e}function bc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?pi(t-r,n)+e:e}function xc(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Fs(e).replace(xt,\"\"),qu(e,t||(Ot.test(e)?16:10))}function wc(e,t,n){return t=(n?Ni(e,t,n):t===X)?1:As(t),br(Fs(e),t)}function _c(){var e=arguments,t=Fs(e[0]);return e.length<3?t:Lu.call(t,e[1],e[2])}function kc(e,t,n){return n&&\"number\"!=typeof n&&Ni(e,t,n)&&(t=n=X),(n=n===X?Ae:n>>>0)?(e=Fs(e),e&&(\"string\"==typeof t||null!=t&&!vs(t))&&(t+=\"\",\"\"==t&&jn.test(e))?Nr(J(e),0,n):Uu.call(e,t,n)):[]}function jc(e,t,n){return e=Fs(e),n=gn(As(n),0,e.length),e.lastIndexOf(t,n)==n}function Sc(e,n,r){var i=t.templateSettings;r&&Ni(e,n,r)&&(n=X),e=Fs(e),n=tl({},n,i,ln);var o,a,s=tl({},n.imports,i.imports,ln),c=Ws(s),u=I(s,c),p=0,l=n.interpolate||Mt,f=\"__p += '\",d=su((n.escape||Mt).source+\"|\"+l.source+\"|\"+(l===ht?St:Mt).source+\"|\"+(n.evaluate||Mt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++On+\"]\")+\"\\n\";e.replace(d,function(t,n,r,i,s,c){return r||(r=i),f+=e.slice(p,c).replace(zt,L),n&&(o=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),p=c+t.length,t}),f+=\"';\\n\";var m=n.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(ot,\"\"):f).replace(at,\"$1\").replace(st,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var v=wl(function(){return Function(c,h+\"return \"+f).apply(X,u)});if(v.source=f,es(v))throw v;return v}function Ec(e){return Fs(e).toLowerCase()}function Oc(e){return Fs(e).toUpperCase()}function Ac(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(xt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=J(t),o=P(r,i),a=F(r,i)+1;return Nr(r,o,a).join(\"\")}function Cc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(_t,\"\");if(!(t+=\"\"))return e;var r=J(e),i=F(r,J(t))+1;return Nr(r,0,i).join(\"\")}function Tc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(wt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=P(r,J(t));return Nr(r,i).join(\"\")}function Ic(e,t){var n=ge,r=ye;if(os(t)){var i=\"separator\"in t?t.separator:i;n=\"length\"in t?As(t.length):n,r=\"omission\"in t?Fs(t.omission):r}e=Fs(e);var o=e.length;if(jn.test(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-G(r);if(1>s)return r;var c=a?Nr(a,0,s).join(\"\"):e.slice(0,s);if(i===X)return c+r;if(a&&(s+=c.length-s),vs(i)){if(e.slice(s).search(i)){var u,p=c;for(i.global||(i=su(i.source,Fs(Et.exec(i))+\"g\")),i.lastIndex=0;u=i.exec(p);)var l=u.index;c=c.slice(0,l===X?s:l)}}else if(e.indexOf(i,s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function Pc(e){return e=Fs(e),e&&pt.test(e)?e.replace(ct,Z):e}function Fc(e,t,n){return e=Fs(e),t=n?X:t,t===X&&(t=Sn.test(e)?kn:kt),e.match(t)||[]}function Mc(e){var t=e?e.length:0,n=_i();return e=t?h(e,function(e){if(\"function\"!=typeof e[1])throw new cu(ne);return[n(e[0]),e[1]]}):[],Ia(function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function zc(e){return bn(yn(e,!0))}function Bc(e){return function(){return e}}function Nc(e){return e}function Dc(e){return tr(\"function\"==typeof e?e:yn(e,!0))}function qc(e){return or(yn(e,!0))}function Rc(e,t){return ar(e,yn(t,!0))}function Lc(e,t,n){var r=Ws(t),i=Ln(t,r);null!=n||os(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ln(t,Ws(t)));var o=!(os(n)&&\"chain\"in n&&!n.chain),a=ns(e);return c(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Kr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,m([this.value()],arguments))})}),e}function $c(){return Hn._===this&&(Hn._=gu),this}function Uc(){}function Hc(e){return e=As(e),Ia(function(t){return ur(t,e)})}function Vc(e){return Di(e)?dr(e):hr(e)}function Wc(e){return function(t){return null==e?X:$n(e,t)}}function Yc(e,t){if(e=As(e),1>e||e>Se)return[];var n=Ae,r=Du(e,Ae);t=_i(t),e-=Ae;for(var i=A(r,t);++n<e;)t(n);return i}function Kc(e){return Zp(e)?h(e,Ki):xs(e)?[e]:Kr(gp(e))}function Gc(e){var t=++hu;return Fs(e)+t}function Jc(e){return e&&e.length?b(e,Nc,$a):X}function Zc(e,t){return e&&e.length?b(e,_i(t),$a):X}function Qc(e){return j(e,Nc)}function Xc(e,t){return j(e,_i(t))}function eu(e){return e&&e.length?b(e,Nc,Ss):X}function tu(e,t){return e&&e.length?b(e,_i(t),Ss):X}function nu(e){return e&&e.length?O(e,Nc):0}function ru(e,t){return e&&e.length?O(e,_i(t)):0}e=e?Vn.defaults({},e,Vn.pick(Hn,En)):Hn;var iu=e.Date,ou=e.Error,au=e.Math,su=e.RegExp,cu=e.TypeError,uu=e.Array.prototype,pu=e.Object.prototype,lu=e.String.prototype,fu=e.Function.prototype.toString,du=pu.hasOwnProperty,hu=0,mu=fu.call(Object),vu=pu.toString,gu=Hn._,yu=su(\"^\"+fu.call(du).replace(yt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),bu=qn?e.Buffer:X,xu=e.Reflect,wu=e.Symbol,_u=e.Uint8Array,ku=e.clearTimeout,ju=xu?xu.enumerate:X,Su=Object.getOwnPropertySymbols,Eu=\"symbol\"==typeof(Eu=wu&&wu.iterator)?Eu:X,Ou=Object.create,Au=pu.propertyIsEnumerable,Cu=e.setTimeout,Tu=uu.splice,Iu=au.ceil,Pu=au.floor,Fu=Object.getPrototypeOf,Mu=e.isFinite,zu=uu.join,Bu=Object.keys,Nu=au.max,Du=au.min,qu=e.parseInt,Ru=au.random,Lu=lu.replace,$u=uu.reverse,Uu=lu.split,Hu=ji(e,\"DataView\"),Vu=ji(e,\"Map\"),Wu=ji(e,\"Promise\"),Yu=ji(e,\"Set\"),Ku=ji(e,\"WeakMap\"),Gu=ji(Object,\"create\"),Ju=Ku&&new Ku,Zu=!Au.call({valueOf:1},\"valueOf\"),Qu={},Xu=Gi(Hu),ep=Gi(Vu),tp=Gi(Wu),np=Gi(Yu),rp=Gi(Ku),ip=wu?wu.prototype:X,op=ip?ip.valueOf:X,ap=ip?ip.toString:X;t.templateSettings={escape:ft,evaluate:dt,interpolate:ht,variable:\"\",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,M.prototype=_n(n.prototype),M.prototype.constructor=M,Pt.prototype=_n(n.prototype),Pt.prototype.constructor=Pt,qt.prototype=Gu?Gu(null):pu,Ht.prototype.clear=Vt,Ht.prototype[\"delete\"]=Wt,Ht.prototype.get=Yt,Ht.prototype.has=Kt,Ht.prototype.set=Gt,Jt.prototype.push=Qt,Xt.prototype.clear=en,Xt.prototype[\"delete\"]=tn,Xt.prototype.get=nn,Xt.prototype.has=rn,Xt.prototype.set=on;var sp=Xr(Dn),cp=Xr(Rn,!0),up=ei(),pp=ei(!0);ju&&!Au.call({valueOf:1},\"valueOf\")&&(rr=function(e){return V(ju(e))});var lp=Ju?function(e,t){return Ju.set(e,t),e}:Nc,fp=Yu&&2===new Yu([1,2]).size?function(e){return new Yu(e)}:Uc,dp=Ju?function(e){return Ju.get(e)}:Uc,hp=dr(\"length\");Su||(Oi=function(){return[]});var mp=Su?function(e){for(var t=[];e;)m(t,Oi(e)),e=Ei(e);return t}:Oi;(Hu&&Ai(new Hu(new ArrayBuffer(1)))!=Ge||Vu&&Ai(new Vu)!=De||Wu&&Ai(Wu.resolve())!=Le||Yu&&Ai(new Yu)!=Ue||Ku&&Ai(new Ku)!=We)&&(Ai=function(e){var t=vu.call(e),n=t==Re?e.constructor:X,r=n?Gi(n):X;if(r)switch(r){case Xu:return Ge;case ep:return De;case tp:return Le;case np:return Ue;case rp:return We}return t});var vp=function(){var e=0,t=0;return function(n,r){var i=$p(),o=xe-(i-t);if(t=i,o>0){if(++e>=be)return n}else e=0;return lp(n,r)}}(),gp=Aa(function(e){var t=[];return Fs(e).replace(gt,function(e,n,r,i){t.push(r?i.replace(jt,\"$1\"):n||e)}),t}),yp=Ia(function(e,t){return Ya(e)?In(e,Nn(t,1,Ya,!0)):[]}),bp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),_i(n)):[]}),xp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),X,n):[]}),wp=Ia(function(e){var t=h(e,Mr);return t.length&&t[0]===e[0]?Gn(t):[]}),_p=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,_i(t)):[]}),kp=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,X,t):[]}),jp=Ia(bo),Sp=Ia(function(e,t){t=h(Nn(t,1),String);var n=vn(e,t);return vr(e,t.sort(z)),n}),Ep=Ia(function(e){return Or(Nn(e,1,Ya,!0))}),Op=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),_i(t))}),Ap=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),X,t)}),Cp=Ia(function(e,t){return Ya(e)?In(e,t):[]}),Tp=Ia(function(e){return Pr(l(e,Ya))}),Ip=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),_i(t))}),Pp=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),X,t)}),Fp=Ia(Lo),Mp=Ia(function(e){var t=e.length,n=t>1?e[t-1]:X;return n=\"function\"==typeof n?(e.pop(),n):X,$o(e,n)}),zp=Ia(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pt&&H(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Yo,args:[i],thisArg:X}),new M(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(i)}),Bp=Zr(function(e,t,n){du.call(e,n)?++e[n]:e[n]=1}),Np=Zr(function(e,t,n){du.call(e,n)?e[n].push(t):e[n]=[t]}),Dp=Ia(function(e,t,n){var r=-1,i=\"function\"==typeof t,a=Di(t),s=Wa(e)?Array(e.length):[];return sp(e,function(e){var c=i?t:a&&null!=e?e[t]:X;s[++r]=c?o(c,e,n):Zn(e,t,n)}),s}),qp=Zr(function(e,t,n){e[n]=t}),Rp=Zr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Lp=Ia(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ni(e,t[0],t[1])?t=[]:n>2&&Ni(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zp(t[0])?t[0]:Nn(t,1,Bi),pr(e,t,[])}),$p=iu.now,Up=Ia(function(e,t,n){var r=oe;if(n.length){var i=Y(n,Si(Up));r|=pe}return mi(e,r,t,n,i)}),Hp=Ia(function(e,t,n){var r=oe|ae;if(n.length){var i=Y(n,Si(Hp));r|=pe}return mi(t,r,e,n,i)}),Vp=Ia(function(e,t){return Tn(e,1,t)}),Wp=Ia(function(e,t,n){return Tn(e,Ts(t)||0,n)});Aa.Cache=Ht;var Yp=Ia(function(e,t){t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i()));var n=t.length;return Ia(function(r){for(var i=-1,a=Du(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)})}),Kp=Ia(function(e,t){var n=Y(t,Si(Kp));return mi(e,pe,X,t,n)}),Gp=Ia(function(e,t){var n=Y(t,Si(Gp));return mi(e,le,X,t,n)}),Jp=Ia(function(e,t){return mi(e,de,X,X,X,Nn(t,1))}),Zp=Array.isArray,Qp=bu?function(e){return e instanceof bu}:Bc(!1),Xp=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ws(t),e);for(var n in t)du.call(t,n)&&dn(e,n,t[n])}),el=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ys(t),e);for(var n in t)dn(e,n,t[n])}),tl=Qr(function(e,t,n,r){Gr(t,Ys(t),e,r)}),nl=Qr(function(e,t,n,r){Gr(t,Ws(t),e,r)}),rl=Ia(function(e,t){return vn(e,Nn(t,1))}),il=Ia(function(e){return e.push(X,ln),o(tl,X,e)}),ol=Ia(function(e){return e.push(X,Vi),o(pl,X,e)}),al=ci(function(e,t,n){e[t]=n},Bc(Nc)),sl=ci(function(e,t,n){du.call(e,t)?e[t].push(n):e[t]=[n]},_i),cl=Ia(Zn),ul=Qr(function(e,t,n){sr(e,t,n)}),pl=Qr(function(e,t,n,r){sr(e,t,n,r)}),ll=Ia(function(e,t){return null==e?{}:(t=h(Nn(t,1),Ki),lr(e,In(xi(e),t)))}),fl=Ia(function(e,t){return null==e?{}:lr(e,Nn(t,1))}),dl=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?fc(t):t)}),hl=ri(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),ml=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),vl=ni(\"toLowerCase\"),gl=ri(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),yl=ri(function(e,t,n){return e+(n?\" \":\"\")+xl(t)}),bl=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),xl=ni(\"toUpperCase\"),wl=Ia(function(e,t){try{return o(e,X,t)}catch(n){return es(n)?n:new ou(n)}}),_l=Ia(function(e,t){return c(Nn(t,1),function(t){e[t]=Up(e[t],e)}),e}),kl=ai(),jl=ai(!0),Sl=Ia(function(e,t){return function(n){return Zn(n,e,t)}}),El=Ia(function(e,t){return function(n){return Zn(e,n,t)}}),Ol=ui(h),Al=ui(p),Cl=ui(y),Tl=fi(),Il=fi(!0),Pl=D(function(e,t){return e+t}),Fl=hi(\"ceil\"),Ml=D(function(e,t){return e/t}),zl=hi(\"floor\"),Bl=D(function(e,t){return e*t}),Nl=hi(\"round\"),Dl=D(function(e,t){return e-t});return t.after=wa,t.ary=_a,t.assign=Xp,t.assignIn=el,t.assignInWith=tl,t.assignWith=nl,t.at=rl,t.before=ka,t.bind=Up,t.bindAll=_l,t.bindKey=Hp,t.castArray=Ba,t.chain=Vo,t.chunk=Zi,t.compact=Qi,t.concat=Xi,t.cond=Mc,t.conforms=zc,t.constant=Bc,t.countBy=Bp,t.create=Ms,t.curry=ja,t.curryRight=Sa,t.debounce=Ea,t.defaults=il,t.defaultsDeep=ol,t.defer=Vp,t.delay=Wp,t.difference=yp,t.differenceBy=bp,t.differenceWith=xp,t.drop=eo,t.dropRight=to,t.dropRightWhile=no,t.dropWhile=ro,t.fill=io,t.filter=na,t.flatMap=oa,t.flatMapDeep=aa,t.flatMapDepth=sa,t.flatten=so,t.flattenDeep=co,t.flattenDepth=uo,t.flip=Oa,t.flow=kl,t.flowRight=jl,t.fromPairs=po,t.functions=Ls,t.functionsIn=$s,t.groupBy=Np,t.initial=ho,t.intersection=wp,t.intersectionBy=_p,t.intersectionWith=kp,t.invert=al,t.invertBy=sl,t.invokeMap=Dp,t.iteratee=Dc,t.keyBy=qp,t.keys=Ws,t.keysIn=Ys,t.map=la,t.mapKeys=Ks,t.mapValues=Gs,t.matches=qc,t.matchesProperty=Rc,t.memoize=Aa,t.merge=ul,t.mergeWith=pl,t.method=Sl,t.methodOf=El,t.mixin=Lc,t.negate=Ca,t.nthArg=Hc,t.omit=ll,t.omitBy=Js,t.once=Ta,t.orderBy=fa,t.over=Ol,t.overArgs=Yp,t.overEvery=Al,t.overSome=Cl,t.partial=Kp,t.partialRight=Gp,t.partition=Rp,t.pick=fl,t.pickBy=Zs,t.property=Vc,t.propertyOf=Wc,t.pull=jp,t.pullAll=bo,t.pullAllBy=xo,t.pullAllWith=wo,t.pullAt=Sp,t.range=Tl,t.rangeRight=Il,t.rearg=Jp,t.reject=ma,t.remove=_o,t.rest=Ia,t.reverse=ko,t.sampleSize=ga,t.set=Xs,t.setWith=ec,t.shuffle=ya,t.slice=jo,t.sortBy=Lp,t.sortedUniq=Io,t.sortedUniqBy=Po,t.split=kc,t.spread=Pa,t.tail=Fo,t.take=Mo,t.takeRight=zo,t.takeRightWhile=Bo,t.takeWhile=No,t.tap=Wo,t.throttle=Fa,t.thru=Yo,t.toArray=Os,t.toPairs=tc,t.toPairsIn=nc,t.toPath=Kc,t.toPlainObject=Is,t.transform=rc,t.unary=Ma,t.union=Ep,t.unionBy=Op,t.unionWith=Ap,t.uniq=Do,t.uniqBy=qo,t.uniqWith=Ro,t.unset=ic,t.unzip=Lo,t.unzipWith=$o,t.update=oc,t.updateWith=ac,t.values=sc,t.valuesIn=cc,t.without=Cp,t.words=Fc,t.wrap=za,t.xor=Tp,t.xorBy=Ip,t.xorWith=Pp,t.zip=Fp,t.zipObject=Uo,t.zipObjectDeep=Ho,t.zipWith=Mp,t.entries=tc,t.entriesIn=nc,t.extend=el,t.extendWith=tl,Lc(t,t),t.add=Pl,t.attempt=wl,t.camelCase=dl,t.capitalize=fc,t.ceil=Fl,t.clamp=uc,t.clone=Na,t.cloneDeep=qa,t.cloneDeepWith=Ra,t.cloneWith=Da,t.deburr=dc,t.divide=Ml,t.endsWith=hc,t.eq=La,t.escape=mc,t.escapeRegExp=vc,t.every=ta,t.find=ra,t.findIndex=oo,t.findKey=zs,t.findLast=ia,t.findLastIndex=ao,t.findLastKey=Bs,t.floor=zl,t.forEach=ca,t.forEachRight=ua,t.forIn=Ns,t.forInRight=Ds,t.forOwn=qs,t.forOwnRight=Rs,t.get=Us,t.gt=$a,t.gte=Ua,t.has=Hs,t.hasIn=Vs,t.head=lo,t.identity=Nc,t.includes=pa,t.indexOf=fo,t.inRange=pc,t.invoke=cl,t.isArguments=Ha,t.isArray=Zp,t.isArrayBuffer=Va,t.isArrayLike=Wa,t.isArrayLikeObject=Ya,t.isBoolean=Ka,t.isBuffer=Qp,t.isDate=Ga,t.isElement=Ja,t.isEmpty=Za,t.isEqual=Qa,t.isEqualWith=Xa,t.isError=es,t.isFinite=ts,t.isFunction=ns,t.isInteger=rs,t.isLength=is,t.isMap=ss,t.isMatch=cs,t.isMatchWith=us,t.isNaN=ps,t.isNative=ls,t.isNil=ds,t.isNull=fs,t.isNumber=hs,t.isObject=os,t.isObjectLike=as,t.isPlainObject=ms,t.isRegExp=vs,t.isSafeInteger=gs,t.isSet=ys,t.isString=bs,t.isSymbol=xs,t.isTypedArray=ws,t.isUndefined=_s,t.isWeakMap=ks,t.isWeakSet=js,t.join=mo,t.kebabCase=hl,t.last=vo,t.lastIndexOf=go,t.lowerCase=ml,t.lowerFirst=vl,t.lt=Ss,t.lte=Es,t.max=Jc,t.maxBy=Zc,t.mean=Qc,t.meanBy=Xc,t.min=eu,t.minBy=tu,t.multiply=Bl,t.nth=yo,t.noConflict=$c,t.noop=Uc,t.now=$p,t.pad=gc,t.padEnd=yc,t.padStart=bc,t.parseInt=xc,t.random=lc,t.reduce=da,t.reduceRight=ha,t.repeat=wc,t.replace=_c,t.result=Qs,t.round=Nl,t.runInContext=Q,t.sample=va,t.size=ba,t.snakeCase=gl,t.some=xa,t.sortedIndex=So,t.sortedIndexBy=Eo,t.sortedIndexOf=Oo,t.sortedLastIndex=Ao,t.sortedLastIndexBy=Co,t.sortedLastIndexOf=To,t.startCase=yl,t.startsWith=jc,t.subtract=Dl,t.sum=nu,t.sumBy=ru,t.template=Sc,t.times=Yc,t.toInteger=As,t.toLength=Cs,t.toLower=Ec,t.toNumber=Ts,t.toSafeInteger=Ps,t.toString=Fs,t.toUpper=Oc,t.trim=Ac,t.trimEnd=Cc,t.trimStart=Tc,t.truncate=Ic,t.unescape=Pc,t.uniqueId=Gc,t.upperCase=bl,t.upperFirst=xl,t.each=ca,t.eachRight=ua,t.first=lo,Lc(t,function(){var e={};return Dn(t,function(n,r){du.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ee,c([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),c([\"drop\",\"take\"],function(e,t){Pt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Pt(this);n=n===X?1:Nu(As(n),0);var i=this.clone();return r?i.__takeCount__=Du(n,i.__takeCount__):i.__views__.push({size:Du(n,Ae),type:e+(i.__dir__<0?\"Right\":\"\")}),i},Pt.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),c([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==we||n==ke;Pt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:_i(e,3),type:n\n}),t.__filtered__=t.__filtered__||r,t}}),c([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Pt.prototype[e]=function(){return this[n](1).value()[0]}}),c([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Pt.prototype[e]=function(){return this.__filtered__?new Pt(this):this[n](1)}}),Pt.prototype.compact=function(){return this.filter(Nc)},Pt.prototype.find=function(e){return this.filter(e).head()},Pt.prototype.findLast=function(e){return this.reverse().find(e)},Pt.prototype.invokeMap=Ia(function(e,t){return\"function\"==typeof e?new Pt(this):this.map(function(n){return Zn(n,e,t)})}),Pt.prototype.reject=function(e){return e=_i(e,3),this.filter(function(t){return!e(t)})},Pt.prototype.slice=function(e,t){e=As(e);var n=this;return n.__filtered__&&(e>0||0>t)?new Pt(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==X&&(t=As(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Pt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pt.prototype.toArray=function(){return this.take(Ae)},Dn(Pt.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n],a=i||/^find/.test(n);o&&(t.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,c=n instanceof Pt,u=s[0],p=c||Zp(n),l=function(e){var n=o.apply(t,m([e],s));return i&&f?n[0]:n};p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var f=this.__chain__,d=!!this.__actions__.length,h=a&&!f,v=c&&!d;if(!a&&p){n=v?n:new Pt(this);var g=e.apply(n,s);return g.__actions__.push({func:Yo,args:[l],thisArg:X}),new M(g,f)}return h&&v?e.apply(this,s):(g=this.thru(l),h?i?g.value()[0]:g.value():g)})}),c([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var n=uu[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(Zp(t)?t:[],e)}return this[r](function(t){return n.apply(Zp(t)?t:[],e)})}}),Dn(Pt.prototype,function(e,n){var r=t[n];if(r){var i=r.name+\"\",o=Qu[i]||(Qu[i]=[]);o.push({name:n,func:r})}}),Qu[si(X,ae).name]=[{name:\"wrapper\",func:X}],Pt.prototype.clone=Bt,Pt.prototype.reverse=Nt,Pt.prototype.value=Dt,t.prototype.at=zp,t.prototype.chain=Ko,t.prototype.commit=Go,t.prototype.next=Jo,t.prototype.plant=Qo,t.prototype.reverse=Xo,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=ea,Eu&&(t.prototype[Eu]=Zo),t}var X,ee=\"4.11.1\",te=200,ne=\"Expected a function\",re=\"__lodash_hash_undefined__\",ie=\"__lodash_placeholder__\",oe=1,ae=2,se=4,ce=8,ue=16,pe=32,le=64,fe=128,de=256,he=512,me=1,ve=2,ge=30,ye=\"...\",be=150,xe=16,we=1,_e=2,ke=3,je=1/0,Se=9007199254740991,Ee=1.7976931348623157e308,Oe=NaN,Ae=4294967295,Ce=Ae-1,Te=Ae>>>1,Ie=\"[object Arguments]\",Pe=\"[object Array]\",Fe=\"[object Boolean]\",Me=\"[object Date]\",ze=\"[object Error]\",Be=\"[object Function]\",Ne=\"[object GeneratorFunction]\",De=\"[object Map]\",qe=\"[object Number]\",Re=\"[object Object]\",Le=\"[object Promise]\",$e=\"[object RegExp]\",Ue=\"[object Set]\",He=\"[object String]\",Ve=\"[object Symbol]\",We=\"[object WeakMap]\",Ye=\"[object WeakSet]\",Ke=\"[object ArrayBuffer]\",Ge=\"[object DataView]\",Je=\"[object Float32Array]\",Ze=\"[object Float64Array]\",Qe=\"[object Int8Array]\",Xe=\"[object Int16Array]\",et=\"[object Int32Array]\",tt=\"[object Uint8Array]\",nt=\"[object Uint8ClampedArray]\",rt=\"[object Uint16Array]\",it=\"[object Uint32Array]\",ot=/\\b__p \\+= '';/g,at=/\\b(__p \\+=) '' \\+/g,st=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ct=/&(?:amp|lt|gt|quot|#39|#96);/g,ut=/[&<>\"'`]/g,pt=RegExp(ct.source),lt=RegExp(ut.source),ft=/<%-([\\s\\S]+?)%>/g,dt=/<%([\\s\\S]+?)%>/g,ht=/<%=([\\s\\S]+?)%>/g,mt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,vt=/^\\w*$/,gt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g,yt=/[\\\\^$.*+?()[\\]{}|]/g,bt=RegExp(yt.source),xt=/^\\s+|\\s+$/g,wt=/^\\s+/,_t=/\\s+$/,kt=/[a-zA-Z0-9]+/g,jt=/\\\\(\\\\)?/g,St=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Et=/\\w*$/,Ot=/^0x/i,At=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,Tt=/^\\[object .+?Constructor\\]$/,It=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\\d*)$/,Ft=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Mt=/($^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Bt=\"\\\\ud800-\\\\udfff\",Nt=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",Dt=\"\\\\u20d0-\\\\u20f0\",qt=\"\\\\u2700-\\\\u27bf\",Rt=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Lt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",$t=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",Ut=\"\\\\u2018\\\\u2019\\\\u201c\\\\u201d\",Ht=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Vt=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Wt=\"\\\\ufe0e\\\\ufe0f\",Yt=Lt+$t+Ut+Ht,Kt=\"['’]\",Gt=\"[\"+Bt+\"]\",Jt=\"[\"+Yt+\"]\",Zt=\"[\"+Nt+Dt+\"]\",Qt=\"\\\\d+\",Xt=\"[\"+qt+\"]\",en=\"[\"+Rt+\"]\",tn=\"[^\"+Bt+Yt+Qt+qt+Rt+Vt+\"]\",nn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",rn=\"(?:\"+Zt+\"|\"+nn+\")\",on=\"[^\"+Bt+\"]\",an=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",sn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",cn=\"[\"+Vt+\"]\",un=\"\\\\u200d\",pn=\"(?:\"+en+\"|\"+tn+\")\",ln=\"(?:\"+cn+\"|\"+tn+\")\",fn=\"(?:\"+Kt+\"(?:d|ll|m|re|s|t|ve))?\",dn=\"(?:\"+Kt+\"(?:D|LL|M|RE|S|T|VE))?\",hn=rn+\"?\",mn=\"[\"+Wt+\"]?\",vn=\"(?:\"+un+\"(?:\"+[on,an,sn].join(\"|\")+\")\"+mn+hn+\")*\",gn=mn+hn+vn,yn=\"(?:\"+[Xt,an,sn].join(\"|\")+\")\"+gn,bn=\"(?:\"+[on+Zt+\"?\",Zt,an,sn,Gt].join(\"|\")+\")\",xn=RegExp(Kt,\"g\"),wn=RegExp(Zt,\"g\"),_n=RegExp(nn+\"(?=\"+nn+\")|\"+bn+gn,\"g\"),kn=RegExp([cn+\"?\"+en+\"+\"+fn+\"(?=\"+[Jt,cn,\"$\"].join(\"|\")+\")\",ln+\"+\"+dn+\"(?=\"+[Jt,cn+pn,\"$\"].join(\"|\")+\")\",cn+\"?\"+pn+\"+\"+fn,cn+\"+\"+dn,Qt,yn].join(\"|\"),\"g\"),jn=RegExp(\"[\"+un+Bt+Nt+Dt+Wt+\"]\"),Sn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"Reflect\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],On=-1,An={};An[Je]=An[Ze]=An[Qe]=An[Xe]=An[et]=An[tt]=An[nt]=An[rt]=An[it]=!0,An[Ie]=An[Pe]=An[Ke]=An[Fe]=An[Ge]=An[Me]=An[ze]=An[Be]=An[De]=An[qe]=An[Re]=An[$e]=An[Ue]=An[He]=An[We]=!1;var Cn={};Cn[Ie]=Cn[Pe]=Cn[Ke]=Cn[Ge]=Cn[Fe]=Cn[Me]=Cn[Je]=Cn[Ze]=Cn[Qe]=Cn[Xe]=Cn[et]=Cn[De]=Cn[qe]=Cn[Re]=Cn[$e]=Cn[Ue]=Cn[He]=Cn[Ve]=Cn[tt]=Cn[nt]=Cn[rt]=Cn[it]=!0,Cn[ze]=Cn[Be]=Cn[We]=!1;var Tn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},In={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},Pn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Fn={\"function\":!0,object:!0},Mn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},zn=parseFloat,Bn=parseInt,Nn=Fn[typeof n]&&n&&!n.nodeType?n:X,Dn=Fn[typeof t]&&t&&!t.nodeType?t:X,qn=Dn&&Dn.exports===Nn?Nn:X,Rn=M(Nn&&Dn&&\"object\"==typeof e&&e),Ln=M(Fn[typeof self]&&self),$n=M(Fn[typeof window]&&window),Un=M(Fn[typeof this]&&this),Hn=Rn||$n!==(Un&&Un.window)&&$n||Ln||Un||Function(\"return this\")(),Vn=Q();($n||Ln||{})._=Vn,\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?define(function(){return Vn}):Nn&&Dn?(qn&&((Dn.exports=Vn)._=Vn),Nn._=Vn):Hn._=Vn}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],178:[function(e,t,n){function r(e,t,n){var r;return v[t]?r=v[t]:(r=f(t),v[t]=r),2===arguments.length?e[r]:(e[r]=n,n)}function i(){return 1}function o(e){if(!(this instanceof o))return new o(e);\"number\"==typeof e&&(e={max:e}),e||(e={});var t=r(this,\"max\",e.max);(!t||\"number\"!=typeof t||0>=t)&&r(this,\"max\",1/0);var n=e.length||i;\"function\"!=typeof n&&(n=i),r(this,\"lengthCalculator\",n),r(this,\"allowStale\",e.stale||!1),r(this,\"maxAge\",e.maxAge||0),r(this,\"dispose\",e.dispose),this.reset()}function a(e,t,n,i){var o=n.value;c(e,o)&&(p(e,n),r(e,\"allowStale\")||(o=void 0)),o&&t.call(i,o.value,o.key,e)}function s(e,t,n){var i=r(e,\"cache\").get(t);if(i){var o=i.value;c(e,o)?(p(e,i),r(e,\"allowStale\")||(o=void 0)):n&&r(e,\"lruList\").unshiftNode(i),o&&(o=o.value)}return o}function c(e,t){if(!t||!t.maxAge&&!r(e,\"maxAge\"))return!1;var n=!1,i=Date.now()-t.now;return n=t.maxAge?i>t.maxAge:r(e,\"maxAge\")&&i>r(e,\"maxAge\")}function u(e){if(r(e,\"length\")>r(e,\"max\"))for(var t=r(e,\"lruList\").tail;r(e,\"length\")>r(e,\"max\")&&null!==t;){var n=t.prev;p(e,t),t=n}}function p(e,t){if(t){var n=t.value;r(e,\"dispose\")&&r(e,\"dispose\").call(this,n.key,n.value),r(e,\"length\",r(e,\"length\")-n.length),r(e,\"cache\")[\"delete\"](n.key),r(e,\"lruList\").removeNode(t)}}function l(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}t.exports=o;var f,d=e(\"pseudomap\"),h=e(\"util\"),m=e(\"yallist\"),v={},g=\"function\"==typeof Symbol;f=g?function(e){return Symbol[\"for\"](e)}:function(e){return\"_\"+e},Object.defineProperty(o.prototype,\"max\",{set:function(e){(!e||\"number\"!=typeof e||0>=e)&&(e=1/0),r(this,\"max\",e),u(this)},get:function(){return r(this,\"max\")},enumerable:!0}),Object.defineProperty(o.prototype,\"allowStale\",{set:function(e){r(this,\"allowStale\",!!e)},get:function(){return r(this,\"allowStale\")},enumerable:!0}),Object.defineProperty(o.prototype,\"maxAge\",{set:function(e){(!e||\"number\"!=typeof e||0>e)&&(e=0),r(this,\"maxAge\",e),u(this)},get:function(){return r(this,\"maxAge\")},enumerable:!0}),Object.defineProperty(o.prototype,\"lengthCalculator\",{set:function(e){\"function\"!=typeof e&&(e=i),e!==r(this,\"lengthCalculator\")&&(r(this,\"lengthCalculator\",e),r(this,\"length\",0),r(this,\"lruList\").forEach(function(e){e.length=r(this,\"lengthCalculator\").call(this,e.value,e.key),r(this,\"length\",r(this,\"length\")+e.length)},this)),u(this)},get:function(){return r(this,\"lengthCalculator\")},enumerable:!0}),Object.defineProperty(o.prototype,\"length\",{get:function(){return r(this,\"length\")},enumerable:!0}),Object.defineProperty(o.prototype,\"itemCount\",{get:function(){return r(this,\"lruList\").length},enumerable:!0}),o.prototype.rforEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").tail;null!==n;){var i=n.prev;a(this,e,n,t),n=i}},o.prototype.forEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").head;null!==n;){var i=n.next;a(this,e,n,t),n=i}},o.prototype.keys=function(){return r(this,\"lruList\").toArray().map(function(e){return e.key},this)},o.prototype.values=function(){return r(this,\"lruList\").toArray().map(function(e){return e.value},this)},o.prototype.reset=function(){r(this,\"dispose\")&&r(this,\"lruList\")&&r(this,\"lruList\").length&&r(this,\"lruList\").forEach(function(e){r(this,\"dispose\").call(this,e.key,e.value)},this),r(this,\"cache\",new d),r(this,\"lruList\",new m),r(this,\"length\",0)},o.prototype.dump=function(){return r(this,\"lruList\").map(function(e){return c(this,e)?void 0:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}},this).toArray().filter(function(e){return e})},o.prototype.dumpLru=function(){return r(this,\"lruList\")},o.prototype.inspect=function(e,t){var n=\"LRUCache {\",o=!1,a=r(this,\"allowStale\");a&&(n+=\"\\n  allowStale: true\",o=!0);var s=r(this,\"max\");s&&s!==1/0&&(o&&(n+=\",\"),n+=\"\\n  max: \"+h.inspect(s,t),o=!0);var u=r(this,\"maxAge\");u&&(o&&(n+=\",\"),n+=\"\\n  maxAge: \"+h.inspect(u,t),o=!0);var p=r(this,\"lengthCalculator\");p&&p!==i&&(o&&(n+=\",\"),n+=\"\\n  length: \"+h.inspect(r(this,\"length\"),t),o=!0);var l=!1;return r(this,\"lruList\").forEach(function(e){l?n+=\",\\n  \":(o&&(n+=\",\\n\"),l=!0,n+=\"\\n  \");var r=h.inspect(e.key).split(\"\\n\").join(\"\\n  \"),a={value:e.value};e.maxAge!==u&&(a.maxAge=e.maxAge),p!==i&&(a.length=e.length),c(this,e)&&(a.stale=!0),a=h.inspect(a,t).split(\"\\n\").join(\"\\n  \"),n+=r+\" => \"+a}),(l||o)&&(n+=\"\\n\"),n+=\"}\"},o.prototype.set=function(e,t,n){n=n||r(this,\"maxAge\");var i=n?Date.now():0,o=r(this,\"lengthCalculator\").call(this,t,e);if(r(this,\"cache\").has(e)){if(o>r(this,\"max\"))return p(this,r(this,\"cache\").get(e)),!1;var a=r(this,\"cache\").get(e),s=a.value;return r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,s.value),s.now=i,s.maxAge=n,s.value=t,r(this,\"length\",r(this,\"length\")+(o-s.length)),s.length=o,this.get(e),u(this),!0}var c=new l(e,t,o,i,n);return c.length>r(this,\"max\")?(r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,t),!1):(r(this,\"length\",r(this,\"length\")+c.length),r(this,\"lruList\").unshift(c),r(this,\"cache\").set(e,r(this,\"lruList\").head),u(this),!0)},o.prototype.has=function(e){if(!r(this,\"cache\").has(e))return!1;var t=r(this,\"cache\").get(e).value;return!c(this,t)},o.prototype.get=function(e){return s(this,e,!0)},o.prototype.peek=function(e){return s(this,e,!1)},o.prototype.pop=function(){var e=r(this,\"lruList\").tail;return e?(p(this,e),e.value):null},o.prototype.del=function(e){p(this,r(this,\"cache\").get(e))},o.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},o.prototype.prune=function(){var e=this;r(this,\"cache\").forEach(function(t,n){s(e,n,!1)})}},{pseudomap:381,util:void 0,yallist:535}],179:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.subtype,r=e.suffix,i=e.type;if(!i||!h.test(i))throw new TypeError(\"invalid type\");if(!n||!d.test(n))throw new TypeError(\"invalid subtype\");var o=i+\"/\"+n;if(r){if(!h.test(r))throw new TypeError(\"invalid suffix\");o+=\"+\"+r}if(t&&\"object\"==typeof t)for(var s,c=Object.keys(t).sort(),u=0;u<c.length;u++){if(s=c[u],!p.test(s))throw new TypeError(\"invalid parameter name\");o+=\"; \"+s+\"=\"+a(t[s])}return o}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e)),\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t,n,r,i=e.indexOf(\";\"),a=-1!==i?e.substr(0,i):e,u=s(a),p={};for(c.lastIndex=i;n=c.exec(e);){if(n.index!==i)throw new TypeError(\"invalid parameter format\");i+=n[0].length,t=n[1].toLowerCase(),r=n[2],'\"'===r[0]&&(r=r.substr(1,r.length-2).replace(l,\"$1\")),p[t]=r}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return u.parameters=p,u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){var t=m.exec(e.toLowerCase());if(!t)throw new TypeError(\"invalid media type\");var n,r=t[1],i=t[2],o=i.lastIndexOf(\"+\");-1!==o&&(n=i.substr(o+1),i=i.substr(0,o));var a={type:r,subtype:i,suffix:n};return a}var c=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,u=/^[\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,l=/\\\\([\\u0000-\\u007f])/g,f=/([\\\\\"])/g,d=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,h=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,m=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;n.format=r,n.parse=i},{}],180:[function(e,t,n){\"use strict\";function r(e,t,n){if(!e)throw new TypeError(\"argument dest is required\");if(!t)throw new TypeError(\"argument src is required\");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach(function(r){if(n||!i.call(e,r)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}}),e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],181:[function(e,t,n){\"use strict\";function r(){return o.METHODS&&o.METHODS.map(function(e){return e.toLowerCase()})}function i(){return[\"get\",\"post\",\"put\",\"head\",\"delete\",\"options\",\"trace\",\"copy\",\"lock\",\"mkcol\",\"move\",\"purge\",\"propfind\",\"proppatch\",\"unlock\",\"report\",\"mkactivity\",\"checkout\",\"merge\",\"m-search\",\"notify\",\"subscribe\",\"unsubscribe\",\"patch\",\"search\",\"connect\"]}var o=e(\"http\");t.exports=r()||i()},{http:void 0}],182:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cdni\":{source:\"iana\"},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/csvm+json\":{source:\"iana\",compressible:!0},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mpd\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emergencycalldata.comment+xml\":{source:\"iana\"},\"application/emergencycalldata.deviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.serviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.subscriberinfo+xml\":{source:\"iana\"},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs12\":{source:\"iana\"},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{source:\"iana\",compressible:!0},\"application/problem+json\":{source:\"iana\",compressible:!0},\"application/problem+xml\":{source:\"iana\"},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/rfc+xml\":{source:\"iana\"},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scim+json\":{source:\"iana\",compressible:!0},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{\nsource:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{source:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp-prose+xml\":{source:\"iana\"},\"application/vnd.3gpp-prose-pc3ch+xml\":{source:\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{source:\"iana\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.mid-call+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-ext+xml\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.state-and-event-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.ussd+xml\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anki\":{source:\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.apple.pkpass\":{compressible:!1,extensions:[\"pkpass\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.biopax.rdf+xml\":{source:\"iana\"},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.drive+json\":{source:\"iana\",compressible:!0},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.filmit.zfc\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-apps.document\":{compressible:!1,extensions:[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{compressible:!1,extensions:[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{compressible:!1,extensions:[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.hdt\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{source:\"iana\"},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{source:\"iana\"},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-printschematicket+xml\":{source:\"iana\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.devicepairing\":{source:\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\nsource:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{source:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openblox.game+xml\":{source:\"iana\"},\"application/vnd.openblox.game-binary\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.oxli.countgraph\":{source:\"iana\"},\"application/vnd.pagerduty+json\":{source:\"iana\",compressible:!0},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.uri-map\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-cocoa\":{source:\"nginx\",extensions:[\"cco\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-httpd-php\":{compressible:!0,extensions:[\"php\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-archive-diff\":{source:\"nginx\",extensions:[\"jardiff\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-makeself\":{source:\"nginx\",extensions:[\"run\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdos-program\":{extensions:[\"exe\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-perl\":{source:\"nginx\",extensions:[\"pl\",\"pm\"]},\"application/x-pilot\":{source:\"nginx\",extensions:[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",\nextensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-redhat-package-manager\":{source:\"nginx\",extensions:[\"rpm\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sea\":{source:\"nginx\",extensions:[\"sea\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\",\"tk\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\",\"pem\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/evs\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g711-0\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-m4a\":{source:\"nginx\",extensions:[\"m4a\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-realaudio\":{source:\"nginx\",extensions:[\"ra\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.mozilla.apng\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-jng\":{source:\"nginx\",extensions:[\"jng\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{source:\"nginx\",compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.rosette.annotated-data-model\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mathml\":{source:\"nginx\",extensions:[\"mml\"]},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/slim\":{extensions:[\"slim\",\"slm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{source:\"nginx\",extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-processing\":{compressible:!0,extensions:[\"pde\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-suse-ymp\":{compressible:!0,extensions:[\"ymp\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\"]},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],183:[function(e,t,n){t.exports=e(\"./db.json\")},{\"./db.json\":182}],184:[function(e,t,n){\"use strict\";function r(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),n=t&&c[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&l.test(t[1])?\"UTF-8\":!1}function i(e){if(!e||\"string\"!=typeof e)return!1;var t=-1===e.indexOf(\"/\")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf(\"charset\")){var r=n.charset(t);r&&(t+=\"; charset=\"+r.toLowerCase())}return t}function o(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),r=t&&n.extensions[t[1].toLowerCase()];return r&&r.length?r[0]:!1}function a(e){if(!e||\"string\"!=typeof e)return!1;var t=u(\"x.\"+e).toLowerCase().substr(1);return t?n.types[t]||!1:!1}function s(e,t){var n=[\"nginx\",\"apache\",void 0,\"iana\"];Object.keys(c).forEach(function(r){var i=c[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;a<o.length;a++){var s=o[a];if(t[s]){var u=n.indexOf(c[t[s]].source),p=n.indexOf(i.source);if(\"application/octet-stream\"!==t[s]&&u>p||u===p&&\"application/\"===t[s].substr(0,12))continue}t[s]=r}}})}var c=e(\"mime-db\"),u=e(\"path\").extname,p=/^\\s*([^;\\s]*)(?:;|\\s|$)/,l=/^text\\//i;n.charset=r,n.charsets={lookup:r},n.contentType=i,n.extension=o,n.extensions=Object.create(null),n.lookup=a,n.types=Object.create(null),s(n.extensions,n.types)},{\"mime-db\":183,path:void 0}],185:[function(e,t,n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=(e(\"path\"),e(\"fs\"));r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=i.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var o=new r;o.define(e(\"./types.json\")),o.default_type=o.lookup(\"bin\"),o.Mime=r,o.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=o},{\"./types.json\":186,fs:void 0,path:void 0}],186:[function(e,t,n){t.exports={\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mdp\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[\"woff\"],\"application/font-woff2\":[\"woff2\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\n\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp4\":[\"mp4a\",\"m4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/opentype\":[\"otf\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],187:[function(e,t,n){!function(e,r){\"object\"==typeof n&&\"undefined\"!=typeof t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){\"use strict\";function n(){return cr.apply(null,arguments)}function r(e){cr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,\"toString\")&&(e.toString=t.toString),s(t,\"valueOf\")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Ne(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=l(e),n=ur.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function d(e){var t=u(NaN);return null!=e?c(l(t),e):l(t).userInvalidated=!0,t}function h(e){return void 0===e}function m(e,t){var n,r,i;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=l(t)),h(t._locale)||(e._locale=t._locale),pr.length>0)for(n in pr)r=pr[n],i=t[r],h(i)||(e[r]=i);return e}function v(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),lr===!1&&(lr=!0,n.updateOffset(this),lr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function y(e){return 0>e?Math.ceil(e):Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function _(e,t){var r=!0;return c(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+\"\\nArguments: \"+Array.prototype.slice.call(arguments).join(\", \")+\"\\n\"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),fr[e]||(w(t),fr[e]=!0)}function j(e){return e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}function S(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],j(t)?this[n]=t:this[\"_\"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+\"|\"+/\\d{1,2}/.source)}function O(e,t){var n,r=c({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function A(e){null!=e&&this.set(e)}function C(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=C(e[o]).split(\"-\"),t=i.length,n=C(e[o+1]),n=n?n.split(\"-\"):null;t>0;){if(r=I(i.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function I(n){var r=null;if(!vr[n]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=hr._abbr,e(\"./locale/\"+n),P(r)}catch(i){}return vr[n]}function P(e,t){var n;return e&&(n=h(t)?z(e):F(e,t),n&&(hr=n)),hr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=vr[e]?(k(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale\"),t=O(vr[e]._config,t)):null!=t.parentLocale&&(null!=vr[t.parentLocale]?t=O(vr[t.parentLocale]._config,t):k(\"parentLocaleUndefined\",\"specified parentLocale is not defined yet\")),vr[e]=new A(t),P(e),vr[e]):(delete vr[e],null)}function M(e,t){if(null!=t){var n;null!=vr[e]&&(t=O(vr[e]._config,t)),n=new A(t),n.parentLocale=vr[e],vr[e]=n,P(e)}else null!=vr[e]&&(null!=vr[e].parentLocale?vr[e]=vr[e].parentLocale:null!=vr[e]&&delete vr[e]);return vr[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return hr;if(!i(e)){if(t=I(e))return t;e=[e]}return T(e)}function B(){return dr(vr)}function N(e,t){var n=e.toLowerCase();gr[n]=gr[n+\"s\"]=gr[t]=e}function D(e){return\"string\"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)s(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function R(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):L(this,e)}}function L(e,t){return e.isValid()?e._d[\"get\"+(e._isUTC?\"UTC\":\"\")+t]():NaN;\n}function $(e,t,n){e.isValid()&&e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+t](n)}function U(e,t){var n;if(\"object\"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),j(this[e]))return this[e](t);return this}function H(e,t,n){var r=\"\"+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;\"string\"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return H(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function Y(e){var t,n,r=e.match(yr);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o=\"\";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=G(t,e.localeData()),xr[t]=xr[t]||Y(t),xr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(br.lastIndex=0;r>=0&&br.test(e);)e=e.replace(br,n),br.lastIndex=0,r-=1;return e}function J(e,t,n){qr[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return X(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ee(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),\"number\"==typeof t&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Rr[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Rr,e)&&Rr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,\"\").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,\"\").toLocaleLowerCase();return n?\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(\"^\"+this.months(i,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[r]=new RegExp(\"^\"+this.monthsShort(i,\"\").replace(\".\",\"\")+\"$\",\"i\")),n||this._monthsParse[r]||(o=\"^\"+this.months(i,\"\")+\"|^\"+this.monthsShort(i,\"\"),this._monthsParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"MMMM\"===t&&this._longMonthsParse[r].test(e))return r;if(n&&\"MMM\"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if(\"string\"==typeof t)if(/^\\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),\"number\"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+\"Month\"](t,n),e}function ue(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):L(this,\"Month\")}function pe(){return re(this.year(),this.month())}function le(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=u([2e3,t]),r.push(this.monthsShort(n,\"\")),i.push(this.months(n,\"\")),o.push(this.months(n,\"\")),o.push(this.monthsShort(n,\"\"));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=X(r[t]),i[t]=X(i[t]),o[t]=X(o[t]);this._monthsRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function he(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Ur]<1||n[Ur]>re(n[Lr],n[$r])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Vr]||0!==n[Wr]||0!==n[Yr])?Hr:n[Vr]<0||n[Vr]>59?Vr:n[Wr]<0||n[Wr]>59?Wr:n[Yr]<0||n[Yr]>999?Yr:-1,l(e)._overflowDayOfYear&&(Lr>t||t>Ur)&&(t=Ur),l(e)._overflowWeeks&&-1===t&&(t=Kr),l(e)._overflowWeekday&&-1===t&&(t=Gr),l(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,c=ti.exec(s)||ni.exec(s);if(c){for(l(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(c[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(c[3])){o=(c[2]||\" \")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ri.exec(c[4]))return void(e._isValid=!1);a=\"Z\"}e._f=i+(o||\"\")+(a||\"\"),Te(e)}else e._isValid=!1}function ve(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e){return xe(e)?366:365}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(){return xe(this.year())}function _e(e,t,n){var r=7+t-n,i=(7+ye(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=_e(e,r,i),u=1+7*(t-1)+s+c;return 0>=u?(o=e-1,a=be(o)+u):u>be(e)?(o=e+1,a=u-be(e)):(o=e,a=u),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(be(e)-r+i)/7}function Ee(e,t,n){return null!=e?e:null!=t?t:n}function Oe(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ae(e){var t,n,r,i,o=[];if(!e._d){for(r=Oe(e),e._w&&null==e._a[Ur]&&null==e._a[$r]&&Ce(e),e._dayOfYear&&(i=Ee(e._a[Lr],r[Lr]),e._dayOfYear>be(i)&&(l(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Vr]&&0===e._a[Wr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ye:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function Ce(e){var t,n,r,i,o,a,s,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ee(t.GG,e._a[Lr],je(De(),1,4).year),r=Ee(t.W,1),i=Ee(t.E,1),(1>i||i>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Ee(t.gg,e._a[Lr],je(De(),o,a).year),r=Ee(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(c=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o),1>r||r>Se(n,o,a)?l(e)._overflowWeeks=!0:null!=c?l(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Lr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],l(e).empty=!0;var t,r,i,o,a,s=\"\"+e._i,c=s.length,u=0;for(i=G(e._f,e._locale).match(yr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Z(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&l(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),wr[o]?(r?l(e).empty=!1:l(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&l(e).unusedTokens.push(o);l(e).charsLeftOver=c-u,s.length>0&&l(e).unusedInput.push(s),l(e).bigHour===!0&&e._a[Hr]<=12&&e._a[Hr]>0&&(l(e).bigHour=void 0),l(e).parsedDateParts=e._a.slice(0),l(e).meridiem=e._meridiem,e._a[Hr]=Ie(e._locale,e._a[Hr],e._meridiem),Ae(e),he(e)}function Ie(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Pe(e){var t,n,r,i,o;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),f(t)&&(o+=l(t).charsLeftOver,o+=10*l(t).unusedTokens.length,l(t).score=o,(null==r||r>o)&&(r=o,n=t));c(e,n||t)}function Fe(e){if(!e._d){var t=q(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ae(e)}}function Me(e){var t=new v(he(ze(e)));return t._nextDay&&(t.add(1,\"d\"),t._nextDay=void 0),t}function ze(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),null===t||void 0===n&&\"\"===t?d({nullInput:!0}):(\"string\"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(he(t)):(i(n)?Pe(e):n?Te(e):o(t)?e._d=t:Be(e),f(e)||(e._d=null),e))}function Be(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):\"string\"==typeof t?ve(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ae(e)):\"object\"==typeof t?Fe(e):\"number\"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Ne(e,t,n,r,i){var o={};return\"boolean\"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Me(o)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function qe(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Re(){var e=[].slice.call(arguments,0);return qe(\"isBefore\",e)}function Le(){var e=[].slice.call(arguments,0);return qe(\"isAfter\",e)}function $e(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,p=t.millisecond||0;this._milliseconds=+p+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof $e}function He(e,t){V(e,0,0,function(){var e=this.utcOffset(),n=\"+\";return 0>e&&(e=-e,n=\"-\"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ve(e,t){var n=(t||\"\").match(e)||[],r=n[n.length-1]||[],i=(r+\"\").match(li)||[\"-\",0,0],o=+(60*i[1])+b(i[2]);return\"+\"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(g(e)||o(e)?e.valueOf():De(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):De(e).local()}function Ye(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ke(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?(\"string\"==typeof e?e=Ve(Br,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Ye(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,\"m\"),i!==e&&(!t||this._changeInProgress?lt(this,ot(e-i,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ye(this):null!=e?this:NaN}function Ge(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ze(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ye(this),\"m\")),this}function Qe(){return this._tzm?this.utcOffset(this._tzm):\"string\"==typeof this._i&&this.utcOffset(Ve(zr,this._i)),this}function Xe(e){return this.isValid()?(e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=ze(e),e._a){var t=e._isUTC?u(e._a):De(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:\"number\"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:0,d:b(a[Ur])*n,h:b(a[Hr])*n,m:b(a[Vr])*n,s:b(a[Wr])*n,ms:b(a[Yr])*n}):(a=di.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:\"object\"==typeof o&&(\"from\"in o||\"to\"in o)&&(i=ct(De(o.from),De(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new $e(o),Ue(e)&&s(e,\"_locale\")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function ct(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function pt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period).\"),o=n,n=r,r=o),n=\"string\"==typeof n?+n:n,i=ot(n,r),lt(this,i,e),this}}function lt(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,\"Date\",L(e,\"Date\")+a*r),s&&ce(e,L(e,\"Month\")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||De(),r=We(n,this).startOf(\"day\"),i=this.diff(r,\"days\",!0),o=-6>i?\"sameElse\":-1>i?\"lastWeek\":0>i?\"lastDay\":1>i?\"sameDay\":2>i?\"nextDay\":7>i?\"nextWeek\":\"sameElse\",a=t&&(j(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,De(n)))}function dt(){return new v(this)}function ht(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vt(e,t,n,r){return r=r||\"()\",(\"(\"===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(\")\"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function gt(e,t){var n,r=g(e)?e:De(e);return this.isValid()&&r.isValid()?(t=D(t||\"millisecond\"),\"millisecond\"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function yt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function bt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t),\"year\"===t||\"month\"===t||\"quarter\"===t?(a=wt(this,r),\"quarter\"===t?a/=3:\"year\"===t&&(a/=12)):(o=this-r,a=\"second\"===t?o/1e3:\"minute\"===t?o/6e4:\"hour\"===t?o/36e5:\"day\"===t?(o-i)/864e5:\"week\"===t?(o-i)/6048e5:o),n?a:y(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,\"months\");return 0>t-o?(n=e.clone().add(i-1,\"months\"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,\"months\"),r=(t-o)/(n-o)),-(i+r)||0}function _t(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?j(Date.prototype.toISOString)?this.toDate().toISOString():K(e,\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\"):K(e,\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\")}function jt(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Et(e){return this.from(De(),e)}function Ot(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function At(e){return this.to(De(),e)}function Ct(e){var t;return void 0===e?this._locale._abbr:(t=z(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function It(e){switch(e=D(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Pt(e){return e=D(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Mt(){return Math.floor(this.valueOf()/1e3)}function zt(){return this._offset?new Date(this.valueOf()):this._d}function Bt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dt(){return this.isValid()?this.toISOString():null}function qt(){return f(this)}function Rt(){return c({},l(this))}function Lt(){return l(this).overflow}function $t(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ut(e,t){V(0,[e,e.length],0,t)}function Ht(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vt(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Yt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Kt(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Zt(e){return je(e,this._week.dow,this._week.doy).week}function Qt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function tn(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function nn(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function cn(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(i,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(o=\"^\"+this.weekdays(i,\"\")+\"|^\"+this.weekdaysShort(i,\"\")+\"|^\"+this.weekdaysMin(i,\"\"),this._weekdaysParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function un(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,\"d\")):t}function pn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],p=[];for(t=0;7>t;t++)n=u([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),o=this.weekdays(n,\"\"),a.push(r),s.push(i),c.push(o),p.push(r),p.push(i),p.push(o);for(a.sort(e),s.sort(e),c.sort(e),p.sort(e),t=0;7>t;t++)s[t]=X(s[t]),c[t]=X(c[t]),p[t]=X(p[t]);this._weekdaysRegex=new RegExp(\"^(\"+p.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+c.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function gn(){return this.hours()%12||12}function yn(){return this.hours()||24}function bn(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function xn(e,t){return t._meridiemParse}function wn(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function _n(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function kn(e,t){t[Yr]=b(1e3*(\"0.\"+e))}function jn(){return this._isUTC?\"UTC\":\"\"}function Sn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function En(e){return De(1e3*e)}function On(){return De.apply(null,arguments).parseZone()}function An(e,t,n){var r=this._calendar[e];return j(r)?r.call(t,n):r}function Cn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Tn(){return this._invalidDate}function In(e){return this._ordinal.replace(\"%d\",e)}function Pn(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Mn(e,t){var n=this._relativeTime[e>0?\"future\":\"past\"];return j(n)?n(t):n.replace(/%s/i,t)}function zn(e,t,n,r){var i=z(),o=u().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(\"number\"==typeof e&&(t=e,e=void 0),e=e||\"\",null!=t)return zn(e,t,n,\"month\");var r,i=[];for(r=0;12>r;r++)i[r]=zn(e,r,n,\"month\");return i}function Nn(e,t,n,r){\"boolean\"==typeof e?(\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\");var i=z(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,\"day\");var a,s=[];for(a=0;7>a;a++)s[a]=zn(t,(a+o)%7,r,\"day\");return s}function Dn(e,t){return Bn(e,t,\"months\")}function qn(e,t){return Bn(e,t,\"monthsShort\")}function Rn(e,t,n){return Nn(e,t,n,\"weekdays\")}function Ln(e,t,n){return Nn(e,t,n,\"weekdaysShort\")}function $n(e,t,n){return Nn(e,t,n,\"weekdaysMin\")}function Un(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Hn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Vn(e,t){return Hn(this,e,t,1)}function Wn(e,t){return Hn(this,e,t,-1)}function Yn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Kn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Yn(Jn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=y(o/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,a+=y(n/24),i=y(Gn(a)),s+=i,a-=Yn(Jn(i)),r=y(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Gn(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Zn(e){var t,n,r=this._milliseconds;if(e=D(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+Gn(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=D(e),this[e+\"s\"]()}function tr(e){return function(){return this._data[e]}}function nr(){return y(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as(\"s\")),o=no(r.as(\"m\")),a=no(r.as(\"h\")),s=no(r.as(\"d\")),c=no(r.as(\"M\")),u=no(r.as(\"y\")),p=i<ro.s&&[\"s\",i]||1>=o&&[\"m\"]||o<ro.m&&[\"mm\",o]||1>=a&&[\"h\"]||a<ro.h&&[\"hh\",a]||1>=s&&[\"d\"]||s<ro.d&&[\"dd\",s]||1>=c&&[\"M\"]||c<ro.M&&[\"MM\",c]||1>=u&&[\"y\"]||[\"yy\",u];return p[2]=t,p[3]=+e>0,p[4]=n,rr.apply(null,p)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(o/12),o%=12;var a=n,s=o,c=i,u=t,p=e,l=r,f=this.asSeconds();return f?(0>f?\"-\":\"\")+\"P\"+(a?a+\"Y\":\"\")+(s?s+\"M\":\"\")+(c?c+\"D\":\"\")+(u||p||l?\"T\":\"\")+(u?u+\"H\":\"\")+(p?p+\"M\":\"\")+(l?l+\"S\":\"\"):\"P0D\"}var cr,ur;ur=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var pr=n.momentProperties=[],lr=!1,fr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var dr;dr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var hr,mr,vr={},gr={},yr=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xr={},wr={},_r=/\\d/,kr=/\\d\\d/,jr=/\\d{3}/,Sr=/\\d{4}/,Er=/[+-]?\\d{6}/,Or=/\\d\\d?/,Ar=/\\d\\d\\d\\d?/,Cr=/\\d\\d\\d\\d\\d\\d?/,Tr=/\\d{1,3}/,Ir=/\\d{1,4}/,Pr=/[+-]?\\d{1,6}/,Fr=/\\d+/,Mr=/[+-]?\\d+/,zr=/Z|[+-]\\d\\d:?\\d\\d/gi,Br=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,Nr=/[+-]?\\d+(\\.\\d{1,3})?/,Dr=/[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i,qr={},Rr={},Lr=0,$r=1,Ur=2,Hr=3,Vr=4,Wr=5,Yr=6,Kr=7,Gr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),V(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),V(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),N(\"month\",\"M\"),J(\"M\",Or),J(\"MM\",Or,kr),J(\"MMM\",function(e,t){return t.monthsShortRegex(e)}),J(\"MMMM\",function(e,t){return t.monthsRegex(e)}),ee([\"M\",\"MM\"],function(e,t){t[$r]=b(e)-1}),ee([\"MMM\",\"MMMM\"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[$r]=i:l(n).invalidMonth=e});var Jr=/D[oD]?(\\[[^\\[\\]]*\\]|\\s+)+MMMM?/,Zr=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Qr=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Xr=Dr,ei=Dr,ti=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ni=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ri=/Z|[+-]\\d\\d(?::?\\d\\d)?/,ii=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],oi=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],ai=/^\\/?Date\\((\\-?\\d+)/i;n.createFromInputFallback=_(\"moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),V(\"Y\",0,0,function(){var e=this.year();return 9999>=e?\"\"+e:\"+\"+e}),V(0,[\"YY\",2],0,function(){return this.year()%100}),V(0,[\"YYYY\",4],0,\"year\"),V(0,[\"YYYYY\",5],0,\"year\"),V(0,[\"YYYYYY\",6,!0],0,\"year\"),N(\"year\",\"y\"),J(\"Y\",Mr),J(\"YY\",Or,kr),J(\"YYYY\",Ir,Sr),J(\"YYYYY\",Pr,Er),J(\"YYYYYY\",Pr,Er),ee([\"YYYYY\",\"YYYYYY\"],Lr),ee(\"YYYY\",function(e,t){t[Lr]=2===e.length?n.parseTwoDigitYear(e):b(e)}),ee(\"YY\",function(e,t){t[Lr]=n.parseTwoDigitYear(e)}),ee(\"Y\",function(e,t){t[Lr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var si=R(\"FullYear\",!0);n.ISO_8601=function(){};var ci=_(\"moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:d()}),ui=_(\"moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:d();\n}),pi=function(){return Date.now?Date.now():+new Date};He(\"Z\",\":\"),He(\"ZZ\",\"\"),J(\"Z\",Br),J(\"ZZ\",Br),ee([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(Br,e)});var li=/([\\+\\-]|\\d\\d)/gi;n.updateOffset=function(){};var fi=/^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)\\.?(\\d{3})?\\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=$e.prototype;var hi=pt(1,\"add\"),mi=pt(-1,\"subtract\");n.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",n.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var vi=_(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,[\"gg\",2],0,function(){return this.weekYear()%100}),V(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Ut(\"gggg\",\"weekYear\"),Ut(\"ggggg\",\"weekYear\"),Ut(\"GGGG\",\"isoWeekYear\"),Ut(\"GGGGG\",\"isoWeekYear\"),N(\"weekYear\",\"gg\"),N(\"isoWeekYear\",\"GG\"),J(\"G\",Mr),J(\"g\",Mr),J(\"GG\",Or,kr),J(\"gg\",Or,kr),J(\"GGGG\",Ir,Sr),J(\"gggg\",Ir,Sr),J(\"GGGGG\",Pr,Er),J(\"ggggg\",Pr,Er),te([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),te([\"gg\",\"GG\"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V(\"Q\",0,\"Qo\",\"quarter\"),N(\"quarter\",\"Q\"),J(\"Q\",_r),ee(\"Q\",function(e,t){t[$r]=3*(b(e)-1)}),V(\"w\",[\"ww\",2],\"wo\",\"week\"),V(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),N(\"week\",\"w\"),N(\"isoWeek\",\"W\"),J(\"w\",Or),J(\"ww\",Or,kr),J(\"W\",Or),J(\"WW\",Or,kr),te([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var gi={dow:0,doy:6};V(\"D\",[\"DD\",2],\"Do\",\"date\"),N(\"date\",\"D\"),J(\"D\",Or),J(\"DD\",Or,kr),J(\"Do\",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee([\"D\",\"DD\"],Ur),ee(\"Do\",function(e,t){t[Ur]=b(e.match(Or)[0],10)});var yi=R(\"Date\",!0);V(\"d\",0,\"do\",\"day\"),V(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),V(\"e\",0,0,\"weekday\"),V(\"E\",0,0,\"isoWeekday\"),N(\"day\",\"d\"),N(\"weekday\",\"e\"),N(\"isoWeekday\",\"E\"),J(\"d\",Or),J(\"e\",Or),J(\"E\",Or),J(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),J(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),J(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),te([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),te([\"d\",\"e\",\"E\"],function(e,t,n,r){t[r]=b(e)});var bi=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),xi=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),wi=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),_i=Dr,ki=Dr,ji=Dr;V(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),N(\"dayOfYear\",\"DDD\"),J(\"DDD\",Tr),J(\"DDDD\",jr),ee([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=b(e)}),V(\"H\",[\"HH\",2],0,\"hour\"),V(\"h\",[\"hh\",2],0,gn),V(\"k\",[\"kk\",2],0,yn),V(\"hmm\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)}),V(\"hmmss\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),V(\"Hmm\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)}),V(\"Hmmss\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),bn(\"a\",!0),bn(\"A\",!1),N(\"hour\",\"h\"),J(\"a\",xn),J(\"A\",xn),J(\"H\",Or),J(\"h\",Or),J(\"HH\",Or,kr),J(\"hh\",Or,kr),J(\"hmm\",Ar),J(\"hmmss\",Cr),J(\"Hmm\",Ar),J(\"Hmmss\",Cr),ee([\"H\",\"HH\"],Hr),ee([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee([\"h\",\"hh\"],function(e,t,n){t[Hr]=b(e),l(n).bigHour=!0}),ee(\"hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r)),l(n).bigHour=!0}),ee(\"hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i)),l(n).bigHour=!0}),ee(\"Hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r))}),ee(\"Hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i))});var Si=/[ap]\\.?m?\\.?/i,Ei=R(\"Hours\",!0);V(\"m\",[\"mm\",2],0,\"minute\"),N(\"minute\",\"m\"),J(\"m\",Or),J(\"mm\",Or,kr),ee([\"m\",\"mm\"],Vr);var Oi=R(\"Minutes\",!1);V(\"s\",[\"ss\",2],0,\"second\"),N(\"second\",\"s\"),J(\"s\",Or),J(\"ss\",Or,kr),ee([\"s\",\"ss\"],Wr);var Ai=R(\"Seconds\",!1);V(\"S\",0,0,function(){return~~(this.millisecond()/100)}),V(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),V(0,[\"SSS\",3],0,\"millisecond\"),V(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),V(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),V(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),V(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),V(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),V(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),N(\"millisecond\",\"ms\"),J(\"S\",Tr,_r),J(\"SS\",Tr,kr),J(\"SSS\",Tr,jr);var Ci;for(Ci=\"SSSS\";Ci.length<=9;Ci+=\"S\")J(Ci,Fr);for(Ci=\"S\";Ci.length<=9;Ci+=\"S\")ee(Ci,kn);var Ti=R(\"Milliseconds\",!1);V(\"z\",0,0,\"zoneAbbr\"),V(\"zz\",0,0,\"zoneName\");var Ii=v.prototype;Ii.add=hi,Ii.calendar=ft,Ii.clone=dt,Ii.diff=xt,Ii.endOf=Pt,Ii.format=jt,Ii.from=St,Ii.fromNow=Et,Ii.to=Ot,Ii.toNow=At,Ii.get=U,Ii.invalidAt=Lt,Ii.isAfter=ht,Ii.isBefore=mt,Ii.isBetween=vt,Ii.isSame=gt,Ii.isSameOrAfter=yt,Ii.isSameOrBefore=bt,Ii.isValid=qt,Ii.lang=vi,Ii.locale=Ct,Ii.localeData=Tt,Ii.max=ui,Ii.min=ci,Ii.parsingFlags=Rt,Ii.set=U,Ii.startOf=It,Ii.subtract=mi,Ii.toArray=Bt,Ii.toObject=Nt,Ii.toDate=zt,Ii.toISOString=kt,Ii.toJSON=Dt,Ii.toString=_t,Ii.unix=Mt,Ii.valueOf=Ft,Ii.creationData=$t,Ii.year=si,Ii.isLeapYear=we,Ii.weekYear=Ht,Ii.isoWeekYear=Vt,Ii.quarter=Ii.quarters=Jt,Ii.month=ue,Ii.daysInMonth=pe,Ii.week=Ii.weeks=en,Ii.isoWeek=Ii.isoWeeks=tn,Ii.weeksInYear=Yt,Ii.isoWeeksInYear=Wt,Ii.date=yi,Ii.day=Ii.days=un,Ii.weekday=pn,Ii.isoWeekday=ln,Ii.dayOfYear=vn,Ii.hour=Ii.hours=Ei,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Ai,Ii.millisecond=Ii.milliseconds=Ti,Ii.utcOffset=Ke,Ii.utc=Je,Ii.local=Ze,Ii.parseZone=Qe,Ii.hasAlignedHourOffset=Xe,Ii.isDST=et,Ii.isDSTShifted=tt,Ii.isLocal=nt,Ii.isUtcOffset=rt,Ii.isUtc=it,Ii.isUTC=it,Ii.zoneAbbr=jn,Ii.zoneName=Sn,Ii.dates=_(\"dates accessor is deprecated. Use date instead.\",yi),Ii.months=_(\"months accessor is deprecated. Use month instead\",ue),Ii.years=_(\"years accessor is deprecated. Use year instead\",si),Ii.zone=_(\"moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779\",Ge);var Pi=Ii,Fi={sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},Mi={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},zi=\"Invalid date\",Bi=\"%d\",Ni=/\\d{1,2}/,Di={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},qi=A.prototype;qi._calendar=Fi,qi.calendar=An,qi._longDateFormat=Mi,qi.longDateFormat=Cn,qi._invalidDate=zi,qi.invalidDate=Tn,qi._ordinal=Bi,qi.ordinal=In,qi._ordinalParse=Ni,qi.preparse=Pn,qi.postformat=Pn,qi._relativeTime=Di,qi.relativeTime=Fn,qi.pastFuture=Mn,qi.set=E,qi.months=ie,qi._months=Zr,qi.monthsShort=oe,qi._monthsShort=Qr,qi.monthsParse=se,qi._monthsRegex=ei,qi.monthsRegex=fe,qi._monthsShortRegex=Xr,qi.monthsShortRegex=le,qi.week=Zt,qi._week=gi,qi.firstDayOfYear=Xt,qi.firstDayOfWeek=Qt,qi.weekdays=rn,qi._weekdays=bi,qi.weekdaysMin=an,qi._weekdaysMin=wi,qi.weekdaysShort=on,qi._weekdaysShort=xi,qi.weekdaysParse=cn,qi._weekdaysRegex=_i,qi.weekdaysRegex=fn,qi._weekdaysShortRegex=ki,qi.weekdaysShortRegex=dn,qi._weekdaysMinRegex=ji,qi.weekdaysMinRegex=hn,qi.isPM=wn,qi._meridiemParse=Si,qi.meridiem=_n,P(\"en\",{ordinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),n.lang=_(\"moment.lang is deprecated. Use moment.locale instead.\",P),n.langData=_(\"moment.langData is deprecated. Use moment.localeData instead.\",z);var Ri=Math.abs,Li=Xn(\"ms\"),$i=Xn(\"s\"),Ui=Xn(\"m\"),Hi=Xn(\"h\"),Vi=Xn(\"d\"),Wi=Xn(\"w\"),Yi=Xn(\"M\"),Ki=Xn(\"y\"),Gi=tr(\"milliseconds\"),Ji=tr(\"seconds\"),Zi=tr(\"minutes\"),Qi=tr(\"hours\"),Xi=tr(\"days\"),eo=tr(\"months\"),to=tr(\"years\"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=$e.prototype;oo.abs=Un,oo.add=Vn,oo.subtract=Wn,oo.as=Zn,oo.asMilliseconds=Li,oo.asSeconds=$i,oo.asMinutes=Ui,oo.asHours=Hi,oo.asDays=Vi,oo.asWeeks=Wi,oo.asMonths=Yi,oo.asYears=Ki,oo.valueOf=Qn,oo._bubble=Kn,oo.get=er,oo.milliseconds=Gi,oo.seconds=Ji,oo.minutes=Zi,oo.hours=Qi,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Ct,oo.localeData=Tt,oo.toIsoString=_(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",sr),oo.lang=vi,V(\"X\",0,0,\"unix\"),V(\"x\",0,0,\"valueOf\"),J(\"x\",Mr),J(\"X\",Nr),ee(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee(\"x\",function(e,t,n){n._d=new Date(b(e))}),n.version=\"2.13.0\",r(De),n.fn=Pi,n.min=Re,n.max=Le,n.now=pi,n.utc=u,n.unix=En,n.months=Dn,n.isDate=o,n.locale=P,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Rn,n.parseZone=On,n.localeData=z,n.isDuration=Ue,n.monthsShort=qn,n.weekdaysMin=$n,n.defineLocale=F,n.updateLocale=M,n.locales=B,n.weekdaysShort=Ln,n.normalizeUnits=D,n.relativeTimeThreshold=or,n.prototype=Pi;var ao=n;return ao})},{}],188:[function(e,t,n){t.exports={MongoError:e(\"./lib/error\"),Server:e(\"./lib/topologies/server\"),ReplSet:e(\"./lib/topologies/replset\"),Mongos:e(\"./lib/topologies/mongos\"),Logger:e(\"./lib/connection/logger\"),Cursor:e(\"./lib/cursor\"),ReadPreference:e(\"./lib/topologies/read_preference\"),BSON:e(\"bson\"),Query:e(\"./lib/connection/commands\").Query,MongoCR:e(\"./lib/auth/mongocr\"),X509:e(\"./lib/auth/x509\"),Plain:e(\"./lib/auth/plain\"),GSSAPI:e(\"./lib/auth/gssapi\"),ScramSHA1:e(\"./lib/auth/scram\")}},{\"./lib/auth/gssapi\":189,\"./lib/auth/mongocr\":190,\"./lib/auth/plain\":191,\"./lib/auth/scram\":192,\"./lib/auth/x509\":194,\"./lib/connection/commands\":195,\"./lib/connection/logger\":197,\"./lib/cursor\":200,\"./lib/error\":201,\"./lib/topologies/mongos\":203,\"./lib/topologies/read_preference\":204,\"./lib/topologies/replset\":205,\"./lib/topologies/server\":207,bson:59}],189:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var f=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var d=u.gssapiServiceName||\"mongodb\",h=t.length;if(0==h)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(n,i,c,n,d,e,t,u,function(e,t){h-=1,e?y=e:t.result.$err?y=t.result:t.result.errmsg?y=t.result:(g=!0,v+=1),0==h&&v>0?(m(f.authStore,new a(n,i,c,u)),p(null,!0)):0==h&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a,s,u){var p=new c(a.host,a.port,i,s);p.init(t,n,function(i,s){return i?u(i,!1):void p.transition(\"\",function(i,s){return i?u(i,!1):void f(p,s,e,t,n,r,o,a,u)})})},f=function(e,t,n,r,i,o,a,s,c){var u={saslStart:1,mechanism:\"GSSAPI\",payload:t,autoAuthorize:1};a.command(\"$external.$cmd\",u,{connection:s},function(t,u){if(t)return c(t,!1);var p=u.result;e.transition(u.result.payload,function(t,u){return t?c(t,!1):void d(e,u,p,n,r,i,o,a,s,c)})})},d=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){if(t)return u(t,!1);var p=n.result;e.transition(p.payload,function(t,n){return t?u(t,!1):void h(e,n,p,r,i,o,a,s,c,u)})})},h=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){return t?u(t,!1):void e.transition(null,function(e,t){return e?u(e,null):void u(null,n)})})},m=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],190:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]},c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){e.command(r(\"%s.$cmd\",n),{getnonce:1},{connection:t},function(v,g){var y=null,b=null;if(null==v){y=g.result.nonce;var x=i.createHash(\"md5\");x.update(s+\":mongo:\"+u,\"utf8\");var w=x.digest(\"hex\");x=i.createHash(\"md5\"),x.update(y+s+w,\"utf8\"),b=x.digest(\"hex\")}e.command(r(\"%s.$cmd\",n),{authenticate:1,user:s,nonce:y,key:b},{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}},s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,crypto:void 0,util:void 0}],191:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"bson\").Binary),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){var v=new i(r(\"\\x00%s\\x00%s\",s,u)),g={saslStart:1,mechanism:\"PLAIN\",payload:v,autoAuthorize:1};e.command(\"$external.$cmd\",g,{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}};var c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,bson:59,crypto:void 0,util:void 0}],192:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"bson\").Binary,a=e(\"../error\"),s=function(e,t,n){this.db=e,this.username=t,this.password=n};s.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var c=0,u=function(){this.authStore=[],this.id=c++},p=function(e){for(var t={},n=e.split(\",\"),r=0;r<n.length;r++){var i=n[r].split(\"=\");t[i[0]]=i[1]}return t},l=function(e,t){if(\"string\"!=typeof e)throw new a(\"username must be a string\");if(\"string\"!=typeof t)throw new a(\"password must be a string\");if(0==t.length)throw new a(\"password cannot be empty\");var n=i.createHash(\"md5\");return n.update(e+\":mongo:\"+t,\"utf8\"),n.digest(\"hex\")},f=function(e,t){n.isBuffer(e)||(e=new n(e)),n.isBuffer(t)||(t=new n(t));var r=[];if(e.length>t.length)for(var i=0;i<t.length;i++)r.push(e[i]^t[i]);else for(var i=0;i<e.length;i++)r.push(e[i]^t[i]);return new n(r)},d=function(e,t,r){var o=function(t){var r=i.createHmac(\"sha1\",e);return r.update(t),new n(r.digest(\"base64\"),\"base64\")};t=n.concat([t,new n(\"\\x00\\x00\\x00\u0001\")]);for(var a=o(t),s=a,c=0;r-1>c;c++)s=o(s),a=f(a,s);return a};u.prototype.auth=function(e,t,c,u,m,v){var g=this,y=t.length;if(0==y)return v(null,null);for(var b=0,x=!1,w=null,_=function(t){u=u.replace(\"=\",\"=3D\").replace(\",\",\"=2C\");var _=i.randomBytes(24).toString(\"base64\"),k=r(\"n=%s,r=%s\",u,_),j={saslStart:1,mechanism:\"SCRAM-SHA-1\",payload:new o(r(\"n,,%s\",k)),autoAuthorize:1},S=function(e,t){return e?(b-=1,w=e,!1):t.result.$err?(w=t.result,!1):t.result.errmsg?(w=t.result,!1):(x=!0,b+=1,!0)},E=function(e,t){return 0==e&&t>0?(h(g.authStore,new s(c,u,m)),v(null,!0)):0==e?(null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)):void 0},O=function(e,t){S(e,t),y-=1,E(y,b)};e.command(r(\"%s.$cmd\",c),j,{connection:t},function(x,_){if(0!=S(x,_)){var j=p(_.result.payload.value()),E=parseInt(j.i,10),A=j.s,C=j.r,T=r(\"c=biws,r=%s\",C),I=l(u,m),P=d(I,new n(A,\"base64\"),E),F=i.createHmac(\"sha1\",P);F.update(new n(\"Client Key\"));var M=new n(F.digest(\"base64\"),\"base64\"),z=i.createHash(\"sha1\");z.update(M);var B=new n(z.digest(\"base64\"),\"base64\"),N=[k,_.result.payload.value().toString(\"base64\"),T].join(\",\"),F=i.createHmac(\"sha1\",B);F.update(new n(N));var D=new n(F.digest(\"base64\"),\"base64\"),q=r(\"p=%s\",new n(f(M,D)).toString(\"base64\")),R=[T,q].join(\",\"),F=i.createHmac(\"sha1\",P);F.update(new n(\"Server Key\"));var L=new n(F.digest(\"base64\"),\"base64\"),F=i.createHmac(\"sha1\",L);F.update(new n(N));var $=(new n(F.digest(\"base64\"),\"base64\"),{saslContinue:1,conversationId:_.result.conversationId,payload:new o(new n(R))});e.command(r(\"%s.$cmd\",c),$,{connection:t},function(i,o){if(o&&0==o.result.done){var a={saslContinue:1,conversationId:o.result.conversationId,payload:new n(0)};e.command(r(\"%s.$cmd\",c),a,{connection:t},function(e,t){O(e,t)})}else O(i,o)})}else{if(y-=1,0==y&&b>0)return h(g.authStore,new s(c,u,m)),v(null,!0);if(0==y)return null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)}})},k=function(e){process.nextTick(function(){_(e)})};t.length>0;)k(t.shift())};var h=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};u.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=u}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,bson:59,buffer:void 0,crypto:void 0,util:void 0}],193:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var d=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var h=u.gssapiServiceName||\"mongodb\",m=t.length;if(0==m)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(i,c,h,e,t,u,function(e,t){m-=1,e?y=e:t&&\"object\"==typeof t&&t.result.$err?y=t.result:t&&\"object\"==typeof t&&t.result.errmsg?y=t.result:(g=!0,v+=1),0==m&&v>0?(f(d.authStore,new a(n,i,c,u)),p(null,!0)):0==m&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a){var s={saslStart:1,mechanism:\"GSSAPI\",payload:\"\",autoAuthorize:1},u=new c(i.host,i.port,n,o);r.command(\"$external.$cmd\",s,{connection:i},function(n,o){if(n)return a(n,!1);var s=o.result;u.init(e,t,function(e){return e?a(e):void u.transition(s.payload,function(e,t){if(e)return a(e);var n={saslContinue:1,conversationId:s.conversationId,payload:t};r.command(\"$external.$cmd\",n,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){if(e)return a(e);var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;return n.done?a(null,!0):void a(new Error(\"Authentication failed\"),!1)})})})})})})})})},f=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],194:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"../error\")),o=function(e,t,n){this.db=e,this.username=t,this.password=n};o.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var a=function(){this.authStore=[]};a.prototype.auth=function(e,t,n,a,c,u){var p=this,l=t.length;if(0==l)return u(null,null);for(var f=0,d=!1,h=null;t.length>0;){var m=function(t){var m={authenticate:1,mechanism:\"MONGODB-X509\",user:a};e.command(\"$external.$cmd\",m,{connection:t},function(e,t){l-=1,e?h=e:t.result.$err?h=t.result:t.result.errmsg?h=t.result:(d=!0,f+=1),0==l&&f>0?(s(p.authStore,new o(n,a,c)),u(null,!0)):0==l&&(null==h&&(h=new i(r(\"failed to authenticate using mongocr\"))),u(h,!1))})},v=function(e){process.nextTick(function(){m(e)})};v(t.shift())}};var s=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};a.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=a},{\"../error\":201,crypto:void 0,util:void 0}],195:[function(e,t,n){(function(n){\"use strict\";var r=(e(\"util\").format,e(\"bson\").Long),i=(e(\"./utils\").setProperty,e(\"./utils\").getProperty,e(\"./utils\").getSingleProperty,0),o=2004,a=2005,s=2007,c=2,u=4,p=8,l=16,f=32,d=64,h=128,m=9007199254740992,v=1,g=2,y=4,b=8,x=function(e,t,n,r){var o=this;if(null==t)throw new Error(\"ns must be specified for query\");if(null==n)throw new Error(\"query must be specified for query\");if(~t.indexOf(\"\\x00\"))throw new Error(\"namespace cannot contain a null character\");this.bson=e,this.ns=t,this.query=n,this.options=r||{},this.numberToSkip=r.numberToSkip||0,this.numberToReturn=r.numberToReturn||0,this.returnFieldSelector=r.returnFieldSelector||null,this.requestId=i++%m,this.serializeFunctions=\"boolean\"==typeof r.serializeFunctions?r.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof r.ignoreUndefined?r.ignoreUndefined:!1,this.maxBsonSize=r.maxBsonSize||16777216,this.checkKeys=\"boolean\"==typeof r.checkKeys?r.checkKeys:!0,this.batchSize=o.numberToReturn,this.tailable=!1,this.slaveOk=!1,this.oplogReplay=!1,this.noCursorTimeout=!1,this.awaitData=!1,this.exhaust=!1,this.partial=!1};x.prototype.incRequestId=function(){this.requestId=i++%m},x.nextRequestId=function(){return(i+1)%m},x.prototype.toBin=function(){var e=this,t=[],r=null,i=0;this.tailable&&(i|=c),this.slaveOk&&(i|=u),this.oplogReplay&&(i|=p),this.noCursorTimeout&&(i|=l),this.awaitData&&(i|=f),this.exhaust&&(i|=d),this.partial&&(i|=h),e.batchSize!=e.numberToReturn&&(e.numberToReturn=e.batchSize);var a=new n(20+n.byteLength(e.ns)+1+4+4);t.push(a);var s=e.bson.serialize(this.query,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);t.push(s),e.returnFieldSelector&&Object.keys(e.returnFieldSelector).length>0&&(r=e.bson.serialize(this.returnFieldSelector,this.checkKeys,!0,this.serializeFunctions,this.ignoreUndefined),t.push(r));var m=a.length+s.length+(r?r.length:0),v=4;return a[3]=m>>24&255,a[2]=m>>16&255,a[1]=m>>8&255,a[0]=255&m,a[v+3]=this.requestId>>24&255,a[v+2]=this.requestId>>16&255,a[v+1]=this.requestId>>8&255,a[v]=255&this.requestId,v+=4,a[v+3]=0,a[v+2]=0,a[v+1]=0,a[v]=0,v+=4,a[v+3]=o>>24&255,a[v+2]=o>>16&255,a[v+1]=o>>8&255,a[v]=255&o,v+=4,a[v+3]=i>>24&255,a[v+2]=i>>16&255,a[v+1]=i>>8&255,a[v]=255&i,v+=4,v=v+a.write(this.ns,v,\"utf8\")+1,a[v-1]=0,a[v+3]=this.numberToSkip>>24&255,a[v+2]=this.numberToSkip>>16&255,a[v+1]=this.numberToSkip>>8&255,a[v]=255&this.numberToSkip,v+=4,a[v+3]=this.numberToReturn>>24&255,a[v+2]=this.numberToReturn>>16&255,a[v+1]=this.numberToReturn>>8&255,a[v]=255&this.numberToReturn,v+=4,t},x.getRequestId=function(){return++i%m};var w=function(e,t,n,r){r=r||{},this.numberToReturn=r.numberToReturn||0,this.requestId=i++%m,this.bson=e,this.ns=t,this.cursorId=n};w.prototype.toBin=function(){var e=4+n.byteLength(this.ns)+1+4+8+16,t=0,r=new n(e);return r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=a>>24&255,r[t+2]=a>>16&255,r[t+1]=a>>8&255,r[t]=255&a,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,t=t+r.write(this.ns,t,\"utf8\")+1,r[t-1]=0,r[t+3]=this.numberToReturn>>24&255,r[t+2]=this.numberToReturn>>16&255,r[t+1]=this.numberToReturn>>8&255,r[t]=255&this.numberToReturn,t+=4,r[t+3]=this.cursorId.getLowBits()>>24&255,r[t+2]=this.cursorId.getLowBits()>>16&255,r[t+1]=this.cursorId.getLowBits()>>8&255,r[t]=255&this.cursorId.getLowBits(),t+=4,r[t+3]=this.cursorId.getHighBits()>>24&255,r[t+2]=this.cursorId.getHighBits()>>16&255,r[t+1]=this.cursorId.getHighBits()>>8&255,r[t]=255&this.cursorId.getHighBits(),t+=4,r};var _=function(e,t){this.requestId=i++%m,this.cursorIds=t};_.prototype.toBin=function(){var e=24+8*this.cursorIds.length,t=0,r=new n(e);r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=s>>24&255,r[t+2]=s>>16&255,r[t+1]=s>>8&255,r[t]=255&s,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=this.cursorIds.length>>24&255,r[t+2]=this.cursorIds.length>>16&255,r[t+1]=this.cursorIds.length>>8&255,r[t]=255&this.cursorIds.length,t+=4;for(var i=0;i<this.cursorIds.length;i++)r[t+3]=this.cursorIds[i].getLowBits()>>24&255,r[t+2]=this.cursorIds[i].getLowBits()>>16&255,r[t+1]=this.cursorIds[i].getLowBits()>>8&255,r[t]=255&this.cursorIds[i].getLowBits(),t+=4,r[t+3]=this.cursorIds[i].getHighBits()>>24&255,r[t+2]=this.cursorIds[i].getHighBits()>>16&255,r[t+1]=this.cursorIds[i].getHighBits()>>8&255,r[t]=255&this.cursorIds[i].getHighBits(),t+=4;return r};var k=function(e,t,n,i){i=i||{promoteLongs:!0},this.parsed=!1,this.connection=e,this.index=0,this.raw=n,this.data=n,this.bson=t,this.opts=i,this.length=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.requestId=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.responseTo=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.index=this.index+4,this.responseFlags=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4;var o=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4;var a=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4,this.cursorId=new r(o,a),this.startingFrom=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.numberReturned=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.documents=new Array(this.numberReturned),this.cursorNotFound=0!=(this.responseFlags&v),this.queryFailure=0!=(this.responseFlags&g),this.shardConfigStale=0!=(this.responseFlags&y),this.awaitCapable=0!=(this.responseFlags&b),this.promoteLongs=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0};k.prototype.isParsed=function(){return this.parsed};var j=new n(\"firstBatch\",\"utf8\"),S=new n(\"nextBatch\",\"utf8\");new n(\"id\",\"utf8\").toString(\"hex\"),{firstBatch:j.toString(\"hex\"),nextBatch:S.toString(\"hex\")};k.prototype.parse=function(e){if(!this.parsed){e=e||{};var t=e.raw||!1,n=e.documentsReturnedIn||null;if(1==this.numberReturned&&null!=n&&t){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,o=this.data.slice(this.index,this.index+i),a={};a[n]=!0;var s={promoteLongs:this.opts.promoteLongs,fieldsAsRaw:a};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs);var c=this.bson.deserialize(o,s);return this.documents=c.cursor[n],this.numberReturned=this.documents.length,this.cursorId=\"number\"==typeof c.cursor.id?r.fromNumber(c.cursor.id):c.cursor.id,this.index=this.index+i,void(this.parsed=!0)}for(var u=0;u<this.numberReturned;u++){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,s={promoteLongs:this.opts.promoteLongs};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs),t?this.documents[u]=this.data.slice(this.index,this.index+i):this.documents[u]=this.bson.deserialize(this.data.slice(this.index,this.index+i),s),this.index=this.index+i}this.parsed=!0}},t.exports={Query:x,GetMore:w,Response:k,KillCursor:_}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":199,bson:59,buffer:void 0,util:void 0}],196:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"net\"),a=e(\"tls\"),s=e(\"util\").format,c=e(\"crypto\"),u=(e(\"./utils\").getSingleProperty,e(\"./utils\").debugOptions),p=e(\"./commands\").Response,l=e(\"../error\"),f=e(\"./logger\"),d=0,h=[\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"rejectUnauthorized\",\"promoteLongs\",\"checkServerIdentity\"],m=function(e){if(i.call(this),this.options=e||{},this.id=d++,this.logger=f(\"Connection\",e),!e.bson)throw new Error(\"must pass in valid bson parser\");this.bson=e.bson,this.tag=e.tag,this.messageHandler=e.messageHandler,this.maxBsonMessageSize=e.maxBsonMessageSize||67108864,this.logger.isDebug()&&this.logger.debug(s(\"creating connection %s with options [%s]\",this.id,JSON.stringify(u(h,e)))),this.port=e.port||27017,this.host=e.host||\"localhost\",this.keepAlive=\"boolean\"==typeof e.keepAlive?e.keepAlive:!0,this.keepAliveInitialDelay=e.keepAliveInitialDelay||0,this.noDelay=\"boolean\"==typeof e.noDelay?e.noDelay:!0,this.connectionTimeout=e.connectionTimeout||0,this.socketTimeout=e.socketTimeout||0,this.destroyed=!1,this.domainSocket=-1!=this.host.indexOf(\"/\"),this.singleBufferSerializtion=\"boolean\"==typeof e.singleBufferSerializtion?e.singleBufferSerializtion:!0,this.serializationFunction=this.singleBufferSerializtion?\"toBinUnified\":\"toBin\",this.ca=e.ca||null,this.cert=e.cert||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.ssl=\"boolean\"==typeof e.ssl?e.ssl:!1,this.rejectUnauthorized=\"boolean\"==typeof e.rejectUnauthorized?e.rejectUnauthorized:!0,this.checkServerIdentity=\"boolean\"==typeof e.checkServerIdentity||\"function\"==typeof e.checkServerIdentity?e.checkServerIdentity:!0,this.ssl||(this.rejectUnauthorized=!1),this.responseOptions={promoteLongs:\"boolean\"==typeof e.promoteLongs?e.promoteLongs:!0},this.flushing=!1,this.queue=[],\nthis.connection=null,this.writeStream=null;var t=c.createHash(\"sha1\");t.update(s(\"%s:%s\",this.host,this.port)),this.hashedName=t.digest(\"hex\")};r(m,i),Object.defineProperty(m.prototype,\"socketTimeoutMS\",{enumerable:!0,set:function(e){if(\"number\"!=typeof e)throw new Error(\"socketTimeoutMS requires a boolean\");this.socketTimeout=e,this.connection.setTimeout(e)},get:function(){return this.socketTimeout}});var v=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] errored out with [%s]\",e.id,e.host,e.port,JSON.stringify(t))),e.listeners(\"error\").length>0&&e.emit(\"error\",l.create(t),e)}},g=function(e){return function(){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] timed out\",e.id,e.host,e.port)),e.emit(\"timeout\",l.create(s(\"connection %s to %s:%s timed out\",e.id,e.host,e.port)),e)}},y=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s with for [%s:%s] closed\",e.id,e.host,e.port)),t||e.emit(\"close\",l.create(s(\"connection %s to %s:%s closed\",e.id,e.host,e.port)),e)}},b=function(e){return function(t){for(;t.length>0;)if(e.bytesRead>0&&e.sizeOfMessage>0){var r=e.sizeOfMessage-e.bytesRead;if(r>t.length)t.copy(e.buffer,e.bytesRead),e.bytesRead=e.bytesRead+t.length,t=new n(0);else{t.copy(e.buffer,e.bytesRead,0,r),t=t.slice(r);try{var i=e.buffer;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}}}else if(null!=e.stubBuffer&&e.stubBuffer.length>0)if(e.stubBuffer.length+t.length>4){var s=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(s,0),t.copy(s,e.stubBuffer.length),t=s,e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null}else{var c=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(c,0),t.copy(c,e.stubBuffer.length),t=new n(0)}else if(t.length>4){var u=t[0]|t[1]<<8|t[2]<<16|t[3]<<24;if(0>u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:\"\",bin:e.buffer,parseState:{sizeOfMessage:u,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};return void e.emit(\"parseError\",a,e)}if(u>4&&u<e.maxBsonMessageSize&&u>t.length)e.buffer=new n(u),t.copy(e.buffer,0),e.bytesRead=t.length,e.sizeOfMessage=u,e.stubBuffer=null,t=new n(0);else if(u>4&&u<e.maxBsonMessageSize&&u==t.length)try{var i=t;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}else if(4>=u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:null,bin:t,parseState:{sizeOfMessage:u,bytesRead:0,buffer:null,stubBuffer:null}};e.emit(\"parseError\",a,e),e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0)}else{var i=t.slice(0,u);e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=t.slice(u),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}}else e.stubBuffer=new n(t.length),t.copy(e.stubBuffer,0),t=new n(0)}};m.prototype.connect=function(e){var t=this;if(e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.responseOptions.promoteLongs=e.promoteLongs),t.connection=t.domainSocket?o.createConnection(t.host):o.createConnection(t.port,t.host),t.connection.setKeepAlive(t.keepAlive,t.keepAliveInitialDelay),t.connection.setTimeout(t.connectionTimeout),t.connection.setNoDelay(t.noDelay),t.ssl){var n={socket:t.connection,rejectUnauthorized:t.rejectUnauthorized};t.ca&&(n.ca=t.ca),t.cert&&(n.cert=t.cert),t.key&&(n.key=t.key),t.passphrase&&(n.passphrase=t.passphrase),0==t.checkServerIdentity?n.checkServerIdentity=function(e,t){}:\"function\"==typeof t.checkServerIdentity&&(n.checkServerIdentity=t.checkServerIdentity);try{t.connection=a.connect(t.port,t.host,n,function(){return t.connection.authorizationError&&t.rejectUnauthorized?t.emit(\"error\",t.connection.authorizationError,t,{ssl:!0}):(t.connection.setTimeout(t.socketTimeout),void t.emit(\"connect\",t))})}catch(r){process.nextTick(function(){return t.emit(\"error\",r,t,{ssl:!0})})}t.connection.setTimeout(t.connectionTimeout)}else t.connection.on(\"connect\",function(){t.connection.setTimeout(t.socketTimeout),t.emit(\"connect\",t)});t.connection.once(\"error\",v(t)),t.connection.once(\"timeout\",g(t)),t.connection.once(\"close\",y(t)),t.connection.on(\"data\",b(t))},m.prototype.unref=function(){if(this.connection)this.connection.unref();else{var e=this;this.once(\"connect\",function(){e.connection.unref()})}},m.prototype.destroy=function(){this.connection&&(this.connection.unref&&this.connection.unref(),this.connection.end(),this.connection.destroy()),this.destroyed=!0},m.prototype.write=function(e){if(this.logger.isDebug())if(Array.isArray(e))for(var t=0;t<e.length;t++)this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e[t].toString(\"hex\"),this.host,this.port));else this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e.toString(\"hex\"),this.host,this.port));if(!Array.isArray(e))return this.connection.write(e,\"binary\");for(var t=0;t<e.length;t++)this.connection.write(e[t],\"binary\")},m.prototype.toString=function(){return\"\"+this.id},m.prototype.toJSON=function(){return{id:this.id,host:this.host,port:this.port}},m.prototype.isConnected=function(){return this.destroyed?!1:!this.connection.destroyed&&this.connection.writable},t.exports=m}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,\"./commands\":195,\"./logger\":197,\"./utils\":199,buffer:void 0,crypto:void 0,events:void 0,net:void 0,tls:void 0,util:void 0}],197:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"../error\"),o={},a={},s=null,c=process.pid,u=null,p=function(e,t){if(!(this instanceof p))return new p(e,t);t=t||{};this.className=e,null==u&&t.logger?u=t.logger:null==u&&(u=console.log),null==s&&(s=t.loggerLevel||\"error\"),null==a[this.className]&&(o[this.className]=!0)};p.prototype.debug=function(e,t){if(this.isDebug()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"DEBUG\",this.className,c,n,e),s={type:\"debug\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.info=function(e,t){if(this.isInfo()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"INFO\",this.className,c,n,e),s={type:\"info\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.error=function(e,t){if(this.isError()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"ERROR\",this.className,c,n,e),s={type:\"error\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.isInfo=function(){return\"info\"==s||\"debug\"==s},p.prototype.isError=function(){return\"error\"==s||\"info\"==s||\"debug\"==s},p.prototype.isDebug=function(){return\"debug\"==s},p.reset=function(){s=\"error\",a={}},p.currentLogger=function(){return u},p.setCurrentLogger=function(e){if(\"function\"!=typeof e)throw new i(\"current logger must be a function\");u=e},p.filter=function(e,t){\"class\"==e&&Array.isArray(t)&&(a={},t.forEach(function(e){a[e]=!0}))},p.setLevel=function(e){if(\"info\"!=e&&\"error\"!=e&&\"debug\"!=e)throw new Error(r(\"%s is an illegal logging level\",e));s=e},t.exports=p},{\"../error\":201,util:void 0}],198:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"./connection\"),a=(e(\"./commands\").Query,e(\"./logger\")),s=e(\"util\").format,c=\"disconnected\",u=\"connecting\",p=\"connected\",l=\"destroyed\",f=0,d=function(e){if(i.call(this),this.options=e||{},this.size=\"number\"!=typeof e.size||isNaN(e.size)?5:e.size,this.waitMS=\"number\"!=typeof e.waitMS||isNaN(e.waitMS)?1e3:e.waitMS,this.host=e.host,this.port=e.port,this.messageHandler=e.messageHandler,!e.bson)throw new Error(\"must pass in valid bson parser\");this.availableConnections=[],this.inUseConnections=[],this.newConnections=[],this.connectingConnections=[],this.state=c,this.index=0,this.dead=!1,this.logger=a(\"Pool\",e),this.id=f++,this.tag=e.tag,this.queue=[],this.executing=!1,this.unreference=!1};r(d,i);var h=function(e,t){t.destroy();var n=function(e){for(var n=0;n<e.length;n++)if(e[n]===t)return e.splice(n,1),!0};n(e.availableConnections)||n(e.inUseConnections)||n(e.newConnections)||n(e.connectingConnections)},m=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.listeners(\"error\").length>0&&e.emit(\"error\",t,n)}},v=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] timed out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"timeout\",t,n)}},g=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] closed [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"close\",t,n)}},y=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"parseError\",t,n)}};d.prototype.unref=function(){this.unreference=!0,this.getAll().forEach(function(e){e.unref()})},d.prototype.destroy=function(){this.state=l,this.dead=!0;var e=this.getAll();e.forEach(function(e){[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy()}),this.availableConnections=[],this.connectingConnections=[],this.inUseConnections=[],this.newConnections=[]},d.prototype.connect=function(e){var t=this;this.state=u,this.dead=!1,t.options.messageHandler=t.messageHandler;var n=new o(t.options);[\"close\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"close\",g(t)),n.once(\"error\",m(t)),n.once(\"timeout\",v(t)),n.once(\"parseError\",y(t)),n.on(\"connect\",function(e){return\"DESTROYED\"==t.state?e.destroy():(t.availableConnections.push(e),void t.emit(\"connect\",t))}),n.connect(e)};var b=function(e){e.options.messageHandler=e.messageHandler;var t=new o(e.options);e.connectingConnections.push(t);var n=function(e){return function(t){e.destroy()}},r=[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"],i=function(t){return function(){if(\"DESTROYED\"==e.state){var n=e.connectingConnections.indexOf(t);return-1!=n&&e.connectingConnections.splice(n,1),t.destroy()}r.forEach(function(e){t.removeAllListeners(e)}),t.once(\"close\",g(e)),t.once(\"error\",m(e)),t.once(\"timeout\",v(e)),t.once(\"parseError\",y(e));var n=e.connectingConnections.indexOf(t);-1!=n&&e.connectingConnections.splice(n,1),e.newConnections.push(t),e.emit(\"connection\",t),x(e)()}};t.once(\"close\",n(t)),t.once(\"error\",n(t)),t.once(\"timeout\",n(t)),t.once(\"parseError\",n(t)),t.once(\"connect\",i(t)),t.connect()},x=function(e){return function(){if(\"DESTROYED\"!=e.state&&!e.executing){e.executing=!0;var t=e.availableConnections.length+e.connectingConnections.length+e.inUseConnections.length+e.newConnections.length;if(0==e.availableConnections.length&&0==e.connectingConnections.length&&t<e.size&&e.queue.length>0)return b(e),void(e.executing=!1);for(e.availableConnections.length>e.queue.length?e.queue.length:e.availableConnections.length;;){if(0==e.availableConnections.length)break;if(0==e.queue.length)break;var n=e.availableConnections.pop();if(n.isConnected()){var r=e.queue.shift();r.cb&&(r.cb.connection=n);var i=r.buffer;if(e.inUseConnections.push(n),Array.isArray(i))for(var o=0;o<i.length;o++)n.write(i[o]);else n.write(i);r.immediateRelease&&e.availableConnections.push(n)}}e.executing=!1}}};d.prototype.write=function(e,t,n){var r={buffer:e,cb:t};n&&n.immediateRelease&&(r.immediateRelease=!0),this.queue.push(r),x(this)()},d.prototype.connectionAvailable=function(e){var t=this.newConnections.indexOf(e);-1!=t&&this.newConnections.splice(t,1),t=this.inUseConnections.indexOf(e),-1!=t&&this.inUseConnections.splice(t,1),-1==this.availableConnections.indexOf(e)&&this.availableConnections.push(e),x(this)()},d.prototype.get=function(e){e=e||{},this.index=this.index+1;var t=this.availableConnections.slice(0);return 1==t.length?t[0]:(this.index=this.index%t.length,t[this.index])},d.prototype.getAll=function(){return this.availableConnections.concat(this.inUseConnections).concat(this.connectingConnections).concat(this.newConnections)},d.prototype.isConnected=function(){for(var e=0;e<this.availableConnections.length;e++)if(this.availableConnections[e].isConnected())return!0;for(var e=0;e<this.inUseConnections.length;e++)if(this.inUseConnections[e].isConnected())return!0;for(var e=0;e<this.newConnections.length;e++)if(this.newConnections[e].isConnected())return!0;return this.state==p},d.prototype.isDestroyed=function(){return this.state==l},t.exports=d},{\"./commands\":195,\"./connection\":196,\"./logger\":197,events:void 0,util:void 0}],199:[function(e,t,n){\"use strict\";var r=function(e,t,n,r){Object.defineProperty(e,t.name,{enumerable:!0,set:function(e){if(\"boolean\"!=typeof e)throw new Error(f(\"%s required a boolean\",t.name));1==e&&(r.flags|=n),0==e&&(r.flags&n)==n&&(r.flags^=n),t.value=e},get:function(){return t.value}})},i=function(e,t,n,r,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){return null==r[n]&&e.isParsed&&!e.isParsed()&&e.parse(),\"function\"==typeof i?i(r[n]):r[n]}})},o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=function(e,t){t=t||{};for(var n in e)t[n]=e[n];return t},s=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},c=function(e){var t=process.domain;if(null==t||null==e)return e;var n=t.bind(e);for(var r in e)n[r]=e[r];return n};n.setProperty=r,n.getProperty=i,n.getSingleProperty=o,n.copy=a,n.bindToCurrentDomain=c,n.debugOptions=s},{}],200:[function(e,t,n){\"use strict\";var r=e(\"bson\").Long,i=e(\"./connection/logger\"),o=e(\"./error\"),a=e(\"util\").format,s=function(e,t,n,o,a,s){o=o||{};this.pool=null,this.server=null,this.disconnectHandler=o.disconnectHandler,this.bson=e,this.ns=t,this.cmd=n,this.options=o,this.topology=a,this.cursorState={cursorId:null,cmd:n,documents:o.documents||[],cursorIndex:0,dead:!1,killed:!1,init:!1,notified:!1,limit:o.limit||n.limit||0,skip:o.skip||n.skip||0,batchSize:o.batchSize||n.batchSize||1e3,currentLimit:0,transforms:o.transforms},\"boolean\"==typeof s.promoteLongs&&(this.cursorState.promoteLongs=s.promoteLongs),this.callbacks=null,this.logger=i(\"Cursor\",o),\"number\"==typeof n?(this.cursorState.cursorId=r.fromNumber(n),this.cursorState.lastCursorId=this.cursorState.cursorId):n instanceof r&&(this.cursorState.cursorId=n,this.cursorState.lastCursorId=n)};s.prototype.setCursorBatchSize=function(e){this.cursorState.batchSize=e},s.prototype.cursorBatchSize=function(){return this.cursorState.batchSize},s.prototype.setCursorLimit=function(e){this.cursorState.limit=e},s.prototype.cursorLimit=function(){return this.cursorState.limit},s.prototype.setCursorSkip=function(e){this.cursorState.skip=e},s.prototype.cursorSkip=function(){return this.cursorState.skip};var c=function(e,t,n){try{e(t,n)}catch(t){process.nextTick(function(){throw t})}};s.prototype._find=function(e){var t=this;t.logger.isDebug()&&t.logger.debug(a(\"issue initial query [%s] with flags [%s]\",JSON.stringify(t.cmd),JSON.stringify(t.query)));var n=function(n,i){if(n)return e(n);if(i.queryFailure)return e(o.create(i.documents[0]),null);if(t.connection=i.connection,Array.isArray(i.documents)&&1==i.documents.length&&(!t.cmd.find||t.cmd.find&&0==t.cmd.virtual)&&(\"string\"!=i.documents[0].cursor||i.documents[0].$err||i.documents[0].errmsg||Array.isArray(i.documents[0].result))){if(i.documents[0].$err||i.documents[0].errmsg)return e(o.create(i.documents[0]),null);if(null!=i.documents[0].cursor&&\"string\"!=typeof i.documents[0].cursor){var a=i.documents[0].cursor.id;return i.documents[0].cursor.ns&&(t.ns=i.documents[0].cursor.ns),t.cursorState.cursorId=\"number\"==typeof a?r.fromNumber(a):a,t.cursorState.lastCursorId=t.cursorState.cursorId,Array.isArray(i.documents[0].cursor.firstBatch)&&(t.cursorState.documents=i.documents[0].cursor.firstBatch),e(null,null)}if(Array.isArray(i.documents[0].result))return t.cursorState.documents=i.documents[0].result,t.cursorState.cursorId=r.ZERO,e(null,null)}t.cursorState.cursorId=i.cursorId,t.cursorState.documents=i.documents,t.cursorState.lastCursorId=i.cursorId,t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.query&&(t.cursorState.documents=t.cursorState.transforms.query(i)),e(null,null)};(t.options.raw||t.cmd.raw)&&(n.raw=t.options.raw||t.cmd.raw),\"string\"==typeof t.query.documentsReturnedIn&&(n.documentsReturnedIn=t.query.documentsReturnedIn),\"boolean\"==typeof t.cursorState.promoteLongs&&(n.promoteLongs=t.cursorState.promoteLongs),t.callbacks.register(t.query.requestId,n),t.pool.write(t.query.toBin(),n)},s.prototype._getmore=function(e){this.logger.isDebug()&&this.logger.debug(a(\"schedule getMore call for query [%s]\",JSON.stringify(this.query)));var t=this.options.raw||this.cmd.raw,n=this.cursorState.batchSize;this.cursorState.limit>0&&this.cursorState.currentLimit+n>this.cursorState.limit&&(n=this.cursorState.limit-this.cursorState.currentLimit);var r=this.connection||this.pool;this.server.wireProtocolHandler.getMore(this.bson,this.ns,this.cursorState,n,t,r,this.callbacks,this.options,e)},s.prototype._killcursor=function(e){return this.cursorState.dead=!0,this.cursorState.killed=!0,this.cursorState.documents=[],null==this.cursorState.cursorId||this.cursorState.cursorId.isZero()||0==this.cursorState.init?void(e&&e(null,null)):void this.server.wireProtocolHandler.killCursor(this.bson,this.ns,this.cursorState.cursorId,this.pool,this.callbacks,e)},s.prototype.clone=function(){return this.topology.cursor(this.ns,this.cmd,this.options)},s.prototype.isDead=function(){return 1==this.cursorState.dead},s.prototype.isKilled=function(){return 1==this.cursorState.killed},s.prototype.isNotified=function(){return 1==this.cursorState.notified},s.prototype.bufferedCount=function(){return this.cursorState.documents.length-this.cursorState.cursorIndex},s.prototype.readBufferedDocuments=function(e){var t=this.cursorState.documents.length-this.cursorState.cursorIndex,n=t>e?e:t,r=this.cursorState.documents.slice(this.cursorState.cursorIndex,this.cursorState.cursorIndex+n);if(this.cursorState.transforms&&\"function\"==typeof this.cursorState.transforms.doc)for(var i=0;i<r.length;i++)r[i]=this.cursorState.transforms.doc(r[i]);return this.cursorState.limit>0&&this.cursorState.currentLimit+r.length>this.cursorState.limit&&(r=r.slice(0,this.cursorState.limit-this.cursorState.currentLimit),this.kill()),this.cursorState.currentLimit=this.cursorState.currentLimit+r.length,this.cursorState.cursorIndex=this.cursorState.cursorIndex+r.length,r},s.prototype.kill=function(e){this._killcursor(e)},s.prototype.rewind=function(){this.cursorState.init&&(this.cursorState.dead||this.kill(),this.cursorState.currentLimit=0,this.cursorState.init=!1,this.cursorState.dead=!1,this.cursorState.killed=!1,this.cursorState.notified=!1,this.cursorState.documents=[],this.cursorState.cursorId=null,this.cursorState.cursorIndex=0)};var u=function(e,t){return e.pool&&!e.pool.isConnected()?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,t(o.create(a(\"connection to host %s:%s was destroyed\",e.pool.host,e.pool.port))),!0):!1},p=function(e,t){return e.cursorState.dead&&!e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},l=function(e,t){return e.cursorState.dead&&e.cursorState.killed?(c(t,o.create(\"cursor is dead\")),!0):!1},f=function(e,t){return e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},d=function(e,t){e.cursorState.dead=!0,e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},h=function(e,t){e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},m=(Array.prototype.push,function(e,t){if(e.cursorState.notified)return t(new Error(\"cursor is exhausted\"));if(!f(e,t)&&!p(e,t)&&!l(e,t)){if(!e.cursorState.init){if(!e.topology.isConnected(e.options)&&null!=e.disconnectHandler)return e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t);try{e.server=e.topology.getServer(e.options),e.pool=e.server.s.pool,e.callbacks=e.server.getCallbacks()}catch(n){return null!=e.disconnectHandler?e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t):t(n)}e.cursorState.init=!0;try{e.query=e.server.wireProtocolHandler.command(e.bson,e.ns,e.cmd,e.cursorState,e.topology,e.options)}catch(n){return t(n)}}if(null==e.cursorState.cursorId){if(u(e,t))return;if(e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));e._find(function(n,r){return n?c(t,n,null):0==e.cursorState.documents.length&&e.cursorState.cursorId&&e.cursorState.cursorId.isZero()&&!e.cmd.tailable&&!e.cmd.awaitData?h(e,t):void m(e,t)})}else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);if(e.cursorState.cursorIndex!=e.cursorState.documents.length||r.ZERO.equals(e.cursorState.cursorId)){if(e.cursorState.documents.length==e.cursorState.cursorIndex&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId))return c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData}));if(e.cursorState.documents.length==e.cursorState.cursorIndex&&r.ZERO.equals(e.cursorState.cursorId))d(e,t);else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);e.cursorState.currentLimit+=1;var i=e.cursorState.documents[e.cursorState.cursorIndex++];if(i.$err)return e.kill(),d(e,function(){c(t,new o(i.$err))});e.cursorState.transforms&&\"function\"==typeof e.cursorState.transforms.doc&&(i=e.cursorState.transforms.doc(i)),c(t,null,i)}}else{if(e.cursorState.documents=[],e.cursorState.cursorIndex=0,e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));if(u(e,t))return;e._getmore(function(n,i,a){return n&&43!=n.code?c(t,n):n&&43==n.code||0==e.cursorState.documents.length&&r.ZERO.equals(e.cursorState.cursorId)&&!e.cmd.tailable?(e.cursorState.dead=!0,d(e,t)):(e.connection=a,0==e.cursorState.documents.length&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId)?c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData})):0==e.cursorState.documents.length&&e.cmd.tailable&&!r.ZERO.equals(e.cursorState.cursorId)?m(e,t):e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit?d(e,t):void m(e,t))})}}}});s.prototype.next=function(e){m(this,e)},t.exports=s},{\"./connection/logger\":197,\"./error\":201,bson:59,util:void 0}],201:[function(e,t,n){\"use strict\";function r(e){this.name=\"MongoError\",this.message=e,Error.captureStackTrace(this,r)}r.create=function(e){var t=null;if(e instanceof Error)t=new r(e.message),t.stack=e.stack;else if(\"string\"==typeof e)t=new r(e);else{t=new r(e.message||e.errmsg||e.$err||\"n/a\");for(var n in e)t[n]=e[n]}return t},r.prototype=new Error,t.exports=r},{}],202:[function(e,t,n){\"use strict\";var r=(e(\"../connection/utils\").setProperty,e(\"../connection/utils\").getProperty,e(\"../connection/utils\").getSingleProperty,function(e,t){this.result=e,this.connection=t});r.prototype.toJSON=function(){return this.result},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.exports=r},{\"../connection/utils\":199}],203:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}function i(e,t){if(e.listeners(\"topologyDescriptionChanged\").length>0&&t){var t=t.s,n={topologyType:\"Sharded\",servers:[]};n.servers=n.servers.concat(t.connectedServers.map(function(e){var t=e.getDescription();return t.type=\"Mongos\",t})),n.servers=n.servers.concat(t.disconnectedServers.map(function(e){var t=e.getDescription();return t.type=\"Unknown\",t}));var r={topologyId:e.id,previousDescription:t.topologyDescription,newDescription:n};e.emit(\"topologyDescriptionChanged\",r),t.topologyDescription=n}}var o=e(\"util\").inherits,a=e(\"util\").format,s=e(\"bson\"),c=e(\"../connection/utils\").bindToCurrentDomain,u=e(\"events\").EventEmitter,p=e(\"../cursor\"),l=e(\"bson\")[\"native\"]().BSON,p=e(\"../cursor\"),f=e(\"./server\"),d=e(\"../auth/mongocr\"),h=e(\"../auth/x509\"),m=e(\"../auth/plain\"),v=e(\"../auth/gssapi\"),g=e(\"../auth/sspi\"),y=e(\"../auth/scram\"),b=e(\"../connection/logger\"),x=e(\"./read_preference\"),w=e(\"./session\"),_=e(\"../error\"),k=\"disconnected\",j=\"connecting\",S=\"connected\",E=\"destroyed\",O=[s.Long,s.ObjectID,s.Binary,s.Code,s.DBRef,s.Symbol,s.Double,s.Timestamp,s.MaxKey,s.MinKey],A=null,C=0,T=function(e){var t={};for(var n in e)t[n]=e[n];return t},I=function(e,t){this.s={connectedServers:[],disconnectedServers:[],readPreferenceStrategies:e,lowerBoundLatency:Number.MAX_VALUE,localThresholdMS:t,index:0,topologyDescription:null}};I.prototype.resetDescription=function(){this.s.topologyDescription={topologyType:\"Sharded\",servers:[]}},I.prototype.connected=function(e){this.s.disconnectedServers=this.s.disconnectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.connectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.connectedServers.push(e),this.s.lowerBoundLatency>e.s.isMasterLatencyMS&&(this.s.lowerBoundLatency=e.s.isMasterLatencyMS)},I.prototype.disconnected=function(e){this.s.connectedServers=this.s.connectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.disconnectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.disconnectedServers.push(e)},I.prototype.disconnectedServers=function(){return this.s.disconnectedServers.slice(0)},I.prototype.connectedServers=function(){return this.s.connectedServers.slice(0)},I.prototype.getAll=function(){return this.s.connectedServers.slice(0).concat(this.s.disconnectedServers)},I.prototype.getAllConnections=function(){var e=[];return this.s.connectedServers.forEach(function(t){e=e.concat(t.connections())}),e},I.prototype.unref=function(){for(var e=0;e<this.s.connectedServers.length;e++){var t=this.s.connectedServers[e];[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(e){t.removeAllListeners(e)}),t.unref()}},I.prototype.destroy=function(){for(;this.s.connectedServers.length>0;){var e=this.s.connectedServers.shift();[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy(),this.s.disconnectedServers.push(e)}};var P=function(e,t){t=t||{};var n=t.readPreference||x.primary,r=e.s.connectedServers.slice(0);if(null!=e.s.readPreferenceStrategies&&null!=e.s.readPreferenceStrategies[n]){var i=e.s.readPreferenceStrategies[n].pickServer(r,n);return i?[i]:[]}return r=e.s.connectedServers.filter(function(t){return t.s.isMasterLatencyMS<=e.s.lowerBoundLatency+e.s.localThresholdMS&&t.isConnected()?!0:void 0}),0==r.length&&e.s.connectedServers.length>0?(r=e.s.connectedServers.sort(function(e,t){return e.s.isMasterLatencyMS-t.s.isMasterLatencyMS}),[r[0]]):r};I.prototype.isConnected=function(e){var t=P(this,e);return t.length>0},I.prototype.pickServer=function(e){var t=P(this,{readPreference:e});if(0==t.length)throw new _(\"no mongos proxy available\");return this.s.index=(this.s.index+1)%t.length,t[this.s.index]};var F=function(e,t){var n=this;if(t=t||{},u.call(this),!Array.isArray(e))throw new _(\"seedlist must be an array\");if(0==e.length)throw new _(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new _(\"seedlist entry must contain a host and port\")}),A=null==A?new l(O):A;var r=t.bson?t.bson:A;t.bson=r,this.s={seedlist:e,options:t,logger:b(\"Mongos\",t),reconnectTries:t.reconnectTries||30,haInterval:t.haInterval||5e3,localThresholdMS:t.localThresholdMS||15,fullsetup:!1,Cursor:t.cursorFactory||p,credentials:[],bsonInstance:A,bson:r,pings:{},state:k,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,readPreferenceStrategies:{},authProviders:{},id:C++,authInProgress:!1,authInProgressServers:[],retriesLeft:t.reconnectTries||30,disconnectHandler:t.disconnectHandler},t.connectionTimeout=t.connectionTimeout||1e3,this.s.mongosState=new I(this.s.readPreferenceStrategies,this.s.localThresholdMS),this.addAuthProvider(\"mongocr\",new d),this.addAuthProvider(\"x509\",new h),this.addAuthProvider(\"plain\",new m),this.addAuthProvider(\"gssapi\",new v),this.addAuthProvider(\"sspi\",new g),this.addAuthProvider(\"scram-sha-1\",new y),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.mongosState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"mongos\"}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.mongosState}})};o(F,u),F.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},F.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new _(a(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(O)},F.prototype.lastIsMaster=function(){var e=this.s.mongosState.connectedServers();return e.length>0?e[0].lastIsMaster():null},F.prototype.connect=function(e){var t=this;if(setTimeout(M(t,t.s),t.s.haInterval),e)for(var n in e)t.s.options[n]=e[n];t.s.seedlist.forEach(function(e){var n=T(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.authProviders=t.s.authProviders,n.emitError=!0,n.inTopology=!0,n.topologyId=t.s.id,n.monitoring=!0,t.s.mongosState.disconnected(new f(n))}),this.s.mongosState.resetDescription(),r(this,\"topologyOpening\",{topologyId:this.s.id});var i=t.s.mongosState.disconnectedServers();for(this.s.state=j;i.length>0;){var o=i.shift();[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){o.removeAllListeners(e)}),o.once(\"error\",z(t,t.s,o)),o.once(\"close\",z(t,t.s,o)),o.once(\"timeout\",z(t,t.s,o)),o.once(\"parseError\",z(t,t.s,o)),o.once(\"connect\",q(t,t.s,\"connect\")),o.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),o.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),o.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),o.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),o.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),o.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)}),t.s.logger.isInfo()&&t.s.logger.info(a(\"connecting to server %s\",o.name));var s=function(e){process.nextTick(function(){e.connect()})};s(o)}},F.prototype.unref=function(e){this.s.logger.isInfo()&&this.s.logger.info(a(\"[%s] unreferenced\",this.s.id)),e&&this.listeners(\"close\").length>0&&this.emit(\"close\",this),this.s.mongosState.unref()},F.prototype.destroy=function(e){this.s.state=E,r(this,\"topologyClosed\",{topologyId:this.s.id}),e&&self.listeners(\"close\").length>0&&self.emit(\"close\",self),this.s.mongosState.destroy()},F.prototype.isConnected=function(e){return this.s.mongosState.isConnected(e)},F.prototype.isDestroyed=function(){return this.s.state==E},F.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),\nthis.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"insert\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},F.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"update\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},F.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"remove\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},F.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.state==E)return r(new _(a(\"topology was destroyed\")));var i=this;if(!i.isConnected()&&null!=i.s.disconnectHandler)return r=c(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);var o=null;if(n=n||{},!n.onAll){try{o=i.s.mongosState.pickServer(n.writeConcern?x.primary:n.readPreference)}catch(s){return r(s)}return null==o?r(new _(\"no mongos found\")):void o.command(e,t,n,function(n,o){t.logout&&L(i.s,e),r(n,o)})}for(var u=i.s.mongosState.getAll(),p=u.length,l=0;l<u.length;l++)u[l].command(e,t,n,function(n,o){p-=1,0==p&&(t.logout&&L(i.s,e),r(n,o))})},F.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)},F.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new _(a(\"auth provider %s does not exist\",e));var o=this.s.mongosState.connectedServers().slice(0),s=o.length,c=!0,u=null;for(this.s.authInProgress=!0;o.length>0;){var p=o.shift(),l=[e,t].concat(r.slice(0)),f=l.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&R(n.s,t,l),u)return i(u,!1);i(null,new w({},n))}}]);p.auth.apply(p,f)}},F.prototype.addReadPreferenceStrategy=function(e,t){null==this.s.readPreferenceStrategies&&(this.s.readPreferenceStrategies={}),this.s.readPreferenceStrategies[e]=t},F.prototype.addAuthProvider=function(e,t){this.s.authProviders[e]=t},F.prototype.getConnection=function(e){e=e||{};var t=this.s.mongosState.pickServer(e.readPreference);return null==t?null:t.getConnection()},F.prototype.getServer=function(e){return e=e||{},this.s.mongosState.pickServer(e.readPreference)},F.prototype.connections=function(){return this.s.mongosState.getAllConnections()};var M=function(e,t){return function(){if(t.state!=E){if(t.state==S&&(t.retriesLeft=t.reconnectTries),t.state==k&&0==t.retriesLeft)return e.destroy(),e.emit(\"error\",new _(a(\"failed to reconnect after %s\",t.reconnectTries)));t.state==k&&(t.retriesLeft=t.retriesLeft-1),t.mongosState.isConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess running\"));var n=t.mongosState.disconnectedServers();if(0==n.length)return setTimeout(M(e,t),t.haInterval);var r=n.length;for(t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess found %d disconnected proxies\",r));n.length>0;){var i=function(n){setTimeout(function(){[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"error\",z(e,t,o)),n.once(\"close\",z(e,t,o)),n.once(\"timeout\",z(e,t,o)),n.once(\"connect\",q(e,t,\"ha\")),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}),n.connect()},1)},o=n.shift();t.logger.isDebug()&&t.logger.debug(a(\"attempting to connect to server %s\",o.name)),i(o)}return setTimeout(M(e,t),t.options.connectionTimeout+t.haInterval)}}},z=function(e,t,n){return function(e,n){t.logger.isInfo()&&t.logger.info(a(\"server %s disconnected with error %s\",n.name,JSON.stringify(e))),t.mongosState.disconnected(n);var r=[\"error\",\"close\",\"timeout\",\"connect\"];r.forEach(function(e){n.removeAllListeners(e)})}},B=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s errored out with %s\",r.name,JSON.stringify(n))),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r),t.emitError&&e.emit(\"error\",n,r)}},N=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s timed out\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},D=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s closed\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},q=function(e,t,n){return function(r){t.logger.isInfo()&&t.logger.info(a(\"connected to %s\",r.name)),[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\"].forEach(function(e){r.removeAllListeners(e)});var o=function(r){r.isConnected()&&(r.once(\"error\",B(e,t)),r.once(\"close\",D(e,t)),r.once(\"timeout\",N(e,t)),r.once(\"parseError\",N(e,t))),e.emit(\"joined\",\"mongos\",r),t.mongosState.connected(r),\"ha\"==n&&1==t.mongosState.connectedServers().length&&e.emit(\"reconnect\",r),0==t.mongosState.disconnectedServers().length&&t.mongosState.connectedServers().length>0&&!t.fullsetup&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)),0!=t.mongosState.disconnectedServers().length||t.mongosState.connectedServers().length!=t.seedlist.length||t.all||(t.all=!0,e.emit(\"all\",e)),i(e,t.mongosState),t.state==k?(t.state=S,e.emit(\"reconnect\",e)):t.state==j&&(t.state=S,e.emit(\"connect\",e))};if(t.authInProgress&&t.authInProgressServers.push(r),0==t.credentials.length)return o(r);for(var s=t.credentials.length,c=0;c<t.credentials.length;c++)r.auth.apply(r,t.credentials[c].concat([function(e,t){s-=1,0==s&&o(r)}]))}},R=function(e,t,n){L(e,t+\".dummy\"),e.credentials.push(n)},L=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},$=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=e.mongosState.pickServer()}catch(s){return o(s)}return null==a?o(new _(\"no mongos found\")):void a[t](n,r,i,o)};t.exports=F},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./server\":207,\"./session\":208,bson:59,events:void 0,util:void 0}],204:[function(e,t,n){\"use strict\";var r=[\"primaryPreferred\",\"secondary\",\"secondaryPreferred\",\"nearest\"],i=function(e,t,n){this.preference=e,this.tags=t,this.options=n};i.prototype.slaveOk=function(){return-1!=r.indexOf(this.preference)},i.prototype.equals=function(e){return e.preference==this.preference},i.prototype.toJSON=function(){var e={mode:this.preference};return Array.isArray(this.tags)&&(e.tags=this.tags),e},i.primary=new i(\"primary\"),i.primaryPreferred=new i(\"primaryPreferred\"),i.secondary=new i(\"secondary\"),i.secondaryPreferred=new i(\"secondaryPreferred\"),i.nearest=new i(\"nearest\"),t.exports=i},{}],205:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"bson\"),s=e(\"../connection/utils\").bindToCurrentDomain,c=(e(\"../connection/utils\").debugOptions,e(\"events\").EventEmitter),u=e(\"./server\"),p=e(\"./read_preference\"),l=e(\"../error\"),f=e(\"./strategies/ping\"),d=e(\"./session\"),h=e(\"../cursor\"),m=e(\"bson\")[\"native\"]().BSON,v=e(\"./replset_state\"),g=e(\"../auth/mongocr\"),y=e(\"../auth/x509\"),b=e(\"../auth/plain\"),x=e(\"../auth/gssapi\"),w=e(\"../auth/sspi\"),_=e(\"../auth/scram\"),k=e(\"../connection/logger\"),j=\"connecting\",S=\"connected\",E=\"destroyed\",O=1,A=function(e){var t={};for(var n in e)t[n]=e[n];return t},C=[a.Long,a.ObjectID,a.Binary,a.Code,a.DBRef,a.Symbol,a.Double,a.Timestamp,a.MaxKey,a.MinKey],T=null,I=function(e,t){var n=this;if(t=t||{},t=A(t),!Array.isArray(e))throw new l(\"seedlist must be an array\");if(0==e.length)throw new l(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new l(\"seedlist entry must contain a host and port\")}),c.call(this),T=null==T?new m(C):T,this.s={options:t,logger:k(\"ReplSet\",t),id:O++,index:0,haId:0,credentials:[],Cursor:t.cursorFactory||h,bsonInstance:T,bson:t.bson?t.bson:T,secondaryOnlyConnectionAllowed:\"boolean\"==typeof t.secondaryOnlyConnectionAllowed?t.secondaryOnlyConnectionAllowed:!1,haInterval:t.haInterval||1e4,currentHaInterval:t.haInterval||1e4,debug:\"boolean\"==typeof t.debug?t.debug:!1,setName:t.setName,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,tag:t.tag,disconnectHandler:t.disconnectHandler,readPreferenceStrategies:{},authProviders:{},disconnectedServers:[],initialConnectionServers:[],highAvailabilityProcessRunning:!1,fullsetup:!1,all:!1,seedlist:e,authInProgress:!1,authInProgressServers:[],minHeartbeatFrequencyMS:500,haTimer:null},t.bson=this.s.bson,t.connectionTimeout=t.connectionTimeout||1e4;var r=new v(this,{id:this.s.id,setName:this.s.setName,secondaryOnlyConnectionAllowed:this.s.secondaryOnlyConnectionAllowed});this.s.replState=r,this.addAuthProvider(\"mongocr\",new g),this.addAuthProvider(\"x509\",new y),this.addAuthProvider(\"plain\",new b),this.addAuthProvider(\"gssapi\",new x),this.addAuthProvider(\"sspi\",new w),this.addAuthProvider(\"scram-sha-1\",new _),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.replState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.replState}}),n.s.debug&&Object.defineProperty(this,\"readPreferenceStrategies\",{enumerable:!0,get:function(){return n.s.readPreferenceStrategies}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"replset\"}}),this.addReadPreferenceStrategy(\"nearest\",new f(t))};i(I,c),I.prototype.addReadPreferenceStrategy=function(e,t){this.s.readPreferenceStrategies[e]=t},I.prototype.addAuthProvider=function(e,t){null==this.s.authProviders&&(this.s.authProviders={}),this.s.authProviders[e]=t},I.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},I.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new l(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(C)},I.prototype.lastIsMaster=function(){return this.s.replState.lastIsMaster()},I.prototype.getConnection=function(e){e=e||{};var t=q(this,this.s,e.readPreference);return null==t?null:t.getConnection()},I.prototype.connections=function(){return this.s.replState.getAllConnections({includeArbiters:!0})},I.prototype.getServer=function(e){return e=e||{},q(this,this.s,e.readPreference)},I.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)};var P=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=q(e,e.s,p.primary),e.s.debug&&e.emit(\"pickedServer\",p.primary,a)}catch(s){return o(s)}if(null==a)return o(new l(\"no server found\"));var c=function(t,n){!Q(n)&&!Q(t)||e.s.highAvailabilityProcessRunning||(e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,$(e,e.s,!0)()),o(t,n)};o.operationId&&(c.operationId=o.operationId),a[t](n,r,i,c)};I.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E)return r(new l(o(\"topology was destroyed\")));var i=null,a=this;if(n=n||{},!this.isConnected(n)&&null!=this.s.disconnectHandler)return r=s(r),this.s.disconnectHandler.add(\"command\",e,t,n,r);if(!n.onAll){try{i=q(a,a.s,n.writeConcern?p.primary:n.readPreference),a.s.debug&&a.emit(\"pickedServer\",n.writeConcern?p.primary:n.readPreference,i)}catch(c){return r(c)}return null==i?r(new l(\"no server found\")):void i.command(e,t,n,function(n,i){t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i)})}for(var u=this.s.replState.getAll(),f=u.length,d=0;d<u.length;d++)u[d].command(e,t,n,function(n,i){f-=1,0==f&&(t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i))})},I.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"remove\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},I.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"insert\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},I.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"update\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},I.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new l(o(\"auth provider %s does not exist\",e));var a=this.s.replState.getAll().slice(0),s=a.length,c=!0,u=null;for(this.s.authInProgress=!0;a.length>0;){var p=a.shift(),f=[e,t].concat(r.slice(0)),h=f.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&M(n.s,t,f),u)return i(u,!1);i(null,new d({},n))}}]);p.auth.apply(p,h)}},I.prototype.state=function(){return this.s.replState.state};var F=function(e){return function(e,t){e.arbiterOnly?t.s.options.size=1:e.hidden&&(t.s.options.size=1)}};I.prototype.connect=function(e){var t=this;if(R(t,t.s),e)for(var n in e)this.s.options[n]=e[n];for(this.s.replState.state=j,this.s.fullsetup=!1,this.s.replState.resetDescription(),this.s.seedlist.forEach(function(e){var n=A(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.emitError=!0,n.size=n.size+1,n.monitoring=!0,n.topologyId=t.s.id,n.inTopology=!0,t.s.tag&&(n.tag=t.s.tag),n.authProviders=t.s.authProviders;var r=new u(n);r.on(\"ismaster\",F(t)),t.s.disconnectedServers.push(r),t.s.initialConnectionServers.push(r)}),r(this,\"topologyOpening\",{topologyId:this.s.id});this.s.disconnectedServers.length>0;){var i=t.s.disconnectedServers.shift();i.destroy(),i.once(\"error\",U(t,t.s,\"error\")),i.once(\"close\",U(t,t.s,\"close\")),i.once(\"timeout\",U(t,t.s,\"timeout\")),i.once(\"connect\",H(t,t.s)),i.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),i.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),i.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),i.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),i.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),i.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)});var o=function(e){process.nextTick(function(){e.connect()})};o(i)}},I.prototype.isConnected=function(e){return e=e||{},e.readPreference&&e.readPreference.equals(p.secondary)?this.s.replState.isSecondaryConnected():e.readPreference&&e.readPreference.equals(p.primary)?this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.primaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.secondaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():this.s.secondaryOnlyConnectionAllowed&&this.s.replState.isSecondaryConnected()?!0:this.s.replState.isPrimaryConnected()},I.prototype.isDestroyed=function(){return this.s.replState.state==E},I.prototype.unref=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] unreferenced\",this.s.id)),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.unref();var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)},I.prototype.destroy=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] destroyed\",this.s.id)),this.s.replState.state=E,t.s.haTimer&&clearTimeout(t.s.haTimer),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.destroy(),r(this,\"topologyClosed\",{topologyId:this.s.id});var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)};var M=function(e,t,n){z(e,t+\".dummy\"),e.credentials.push(n)},z=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},B=function(e,t){if(null==e.tags)return t;for(var n=[],r=Array.isArray(e.tags)?o:[o],i=0;i<r.length;i++){for(var o=r[i],a=0;a<t.length;a++){var s=t[a].lastIsMaster().tags||{},c=!0;for(var u in o)s[u]!=o[u]&&(c=!1);c&&n.push(t[a])}if(c)break}return n},N={fullsetup:function(e,t){t.replState.primary&&0!==t.replState.secondaries.length&&(t.fullsetup||e.listeners(\"fullsetup\").length>0&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)))},all:function(e,t){if(t.replState.primary&&e.lastIsMaster()&&Array.isArray(e.lastIsMaster().hosts)&&!t.all){var n=1+t.replState.secondaries.length;n===e.lastIsMaster().hosts.length&&e.listeners(\"all\").length>0&&(t.all=!0,e.emit(\"all\",e))}}},D=function(e,t,n){var r=N[n];if(!r)throw new l(n+\" event not implemented\");r(e,t)},q=function(e,t,n){if(n=n||p.primary,null!=t.readPreferenceStrategies&&null!=t.readPreferenceStrategies[n.preference]){if(null==t.readPreferenceStrategies[n.preference])throw new l(o(\"cannot locate read preference handler for %s\",n.preference));var r=t.readPreferenceStrategies[n.preference].pickServer(t.replState,n);return t.debug&&e.emit(\"pickedServer\",n,r),r}var i=t.replState.getSecondaries();if(n.equals(p.secondary)&&0==i.length)throw new l(\"no secondary server available\");if(n.equals(p.secondaryPreferred)&&0==i.length&&null==t.replState.primary)throw new l(\"no secondary or primary server available\");if(n.equals(p.primary)&&null==t.replState.primary)throw new l(\"no primary server available\");if(n.equals(p.secondary))return t.index=(t.index+1)%i.length,i[t.index];if(n.equals(p.secondaryPreferred)){if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index]}return t.replState.primary}if(n.equals(p.primaryPreferred)){if(t.replState.primary)return t.replState.primary;if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index];throw new l(\"no secondary or primary server available\")}}return t.replState.primary},R=function(e,t){return t.highAvailabilityProcessRunning?void 0:(e.s.haTimer=setTimeout($(e,t,!1),t.currentHaInterval),e.s.haTimer)},L=function(e){return 0!=e.disconnectedServers.length||0!=e.replState.secondaries.length||0!=e.replState.arbiters.length||null!=e.replState.primary},$=function(e,t,n){return function(){if(!t.highAvailabilityProcessRunning&&t.replState.state!=E){t.replState.isPrimaryConnected()?e.s.currentHaInterval=e.s.haInterval:e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,t.replState.clearConnectingServers(),t.replState.clean(),t.highAvailabilityProcessRunning=!0,L(t)||(t.disconnectedServers=t.seedlist.map(function(n){var r=A(t.options);r.host=n.host,r.port=n.port,r.reconnect=!1,r.readPreferenceStrategies=t.readPreferenceStrategies,r.emitError=!0,r.size=r.size+1,r.monitoring=!0,r.topologyId=e.s.id,r.inTopology=!0,t.tag&&(r.tag=t.tag),r.authProviders=t.authProviders;var i=new u(r);return i.on(\"ismaster\",F(e)),i})),t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring process running %s\",t.id,JSON.stringify(t.replState)));var r=t.haId++;for(n=\"boolean\"==typeof n?n:!1,t.replState.isPrimaryConnected()&&t.replState.isSecondaryConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),e.emit(\"ha\",\"start\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}});t.disconnectedServers.length>0;){var i=t.disconnectedServers.shift();t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring attempting to connect to %s\",t.id,i.lastIsMaster()?i.lastIsMaster().me:i.name)),i.once(\"error\",U(e,t,\"error\")),i.once(\"close\",U(e,t,\"close\")),i.once(\"timeout\",U(e,t,\"timeout\")),i.once(\"connect\",H(e,t)),i.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),i.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),i.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),i.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),i.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),i.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var a=function(e){process.nextTick(function(){e.connect()})};a(i)}var s=t.replState.getAll({includeArbiters:!0}),c=s.length;if(0==s.length&&t.replState.state==S)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,void(n||R(e,t));var p=function(i,a){return t.replState.state!=E?i&&!i.isConnected()?a():void(i&&i.isConnected()&&i.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(s,u){if(t.replState.state==E)return a();if(c-=1,s&&c>0)return a();if(s&&0==c)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a();var p=Object.keys(t.readPreferenceStrategies).length,l=u.result;if(t.logger.isDebug()&&t.logger.debug(o(\"[%s] monitoring process ismaster %s\",t.id,JSON.stringify(l))),i.s.ismaster=l,!t.replState.update(l,i)&&!t.replState.contains(i))return i.destroy(),a();if(null!=s||!l.ismaster&&t.primary||!Array.isArray(l.hosts)){if(null==s&&!Array.isArray(l.hosts))return i.destroy(),a()}else{var f=l.hosts;Array.isArray(l.arbiters)&&(f=f.concat(l.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(l.passives)&&(f=f.concat(l.passives)),V(e,t,f)}if(0==p)return c>0?a():(e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a());if(0==c)for(var d in t.readPreferenceStrategies)t.readPreferenceStrategies[d].ha(e,t.replState,function(){return p-=1,0==p?(null==s&&l.ismaster&&Array.isArray(l.hosts)&&V(e,t,l.hosts),e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a()):void 0});a()})):void 0};0==s.length&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t));for(var l=s.length,f=0;f<s.length;f++)p(s[f],function(){l-=1,0==l&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t))})}}},U=function(e,t,n){return function(n,r){return r.destroy(),t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s disconnected\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name)),t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return r.name!=e.name}),t.replState.removeConnectingServer(r.name),t.replState.state!=E?([\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){r.removeAllListeners(e)}),K(t.disconnectedServers,r),0==t.initialConnectionServers&&t.replState.state==j&&(t.secondaryOnlyConnectionAllowed&&!t.replState.isSecondaryConnected()&&!t.replState.isPrimaryConnected()||!t.secondaryOnlyConnectionAllowed&&!t.replState.isPrimaryConnected())&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0)?e.emit(\"error\",new l(\"no valid seed servers in list\")):void(t.disconnectedServers.length==t.seedlist.length&&t.replState.state==j&&t.emitError&&e.listeners(\"error\").length>0&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0&&e.emit(\"error\",new l(\"no valid seed servers in list\"))))):void 0}},H=function(e,t){return function(n){if(t.logger.isInfo()&&t.logger.info(o(\"[%s] connected to %s\",t.id,n.name)),t.replState.state==E)return n.destroy(!1,!1);t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return n.name!=e.name});var r=(n.lastIsMaster(),function(){var r=n.lastIsMaster(),i=[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];if(i.forEach(function(e){n.removeAllListeners(e)}),t.replState.removeConnectingServer(n.name),t.replState.update(r,n)||t.replState.contains(n)){n.isConnected()&&(n.on(\"error\",G(e,t)),n.on(\"close\",Z(e,t)),n.on(\"timeout\",J(e,t)),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}));var a=r.hosts;if(Array.isArray(r.arbiters)&&(a=a.concat(r.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(r.passives)&&(a=a.concat(r.passives)),V(e,t,a),0==t.initialConnectionServers.length&&0==t.replState.connectingServersCount()&&!t.replState.isPrimaryConnected()&&!t.secondaryOnlyConnectionAllowed&&t.replState.state==j)return t.logger.isInfo()&&t.logger.info(o(\"[%s] no primary found in replicaset\",t.id)),e.emit(\"error\",new l(\"no primary found in replicaset\")),e.destroy();D(e,t,\"fullsetup\"),D(e,t,\"all\")}else if(n.destroy(),t.state==j&&0==t.initialConnectionServers.length&&null==t.replState.primary&&0==t.replState.secondaries.length)return e.emit(\"error\",new l(\"no replicaset members found in seedlist\"))});if(e.s.authInProgress&&e.s.authInProgressServers.push(n),0==t.credentials.length)return r();var i=function(e,t,n,r){return t>=n.length||0==n.length?r():void e.auth.apply(e,n[t].concat([function(o,a){return o?r(o):void i(e,t+1,n,r)}]))};i(n,0,t.credentials,function(e){return e?n.destroy():void r()})}},V=function(e,t,n){if(t.replState.state!=E&&Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r],a={};\"object\"==typeof i&&(i=i.host,a.arbiter=i.arbiter),t.replState.contains(i)||t.replState.isConnectingServer(i)||W(e,t,i)||(t.logger.isInfo()&&t.logger.info(o(\"[%s] scheduled server %s for connection\",t.id,i)),t.replState.addConnectingServer(i,i),Y(e,t,i.split(\":\")[0],parseInt(i.split(\":\")[1],10),a))}},W=function(e,t,n){for(var r=0;r<t.initialConnectionServers.length;r++)if(t.initialConnectionServers[r].name==n)return!0;return!1},Y=function(e,t,n,r,i){i=i||{};var o=A(t.options);if(o.host=n,o.port=r,o.reconnect=!1,o.readPreferenceStrategies=t.readPreferenceStrategies,t.tag&&(o.tag=t.tag),o.authProviders=t.authProviders,o.emitError=!0,o.inTopology=!0,o.size=o.size+1,o.monitoring=!0,o.topologyId=e.s.id,i.arbiter&&(o.size=1),e.s.replState.state!=E){var a=new u(o);a.on(\"ismaster\",F(e)),a.once(\"error\",U(e,t,\"error\")),a.once(\"close\",U(e,t,\"close\")),a.once(\"timeout\",U(e,t,\"timeout\")),a.once(\"connect\",H(e,t)),a.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),a.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),a.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),a.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),a.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),a.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var s=function(t){process.nextTick(function(){e.s.replState.state!=E&&t.connect()})};t.replState.addConnectingServer(a.name,n),s(a)}},K=function(e,t){var n=!1;if(null==t)return n;[\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){t.removeAllListeners(e)});for(var r=0;r<e.length;r++)e[r].equals(t)&&(n=!0);return n||e.push(t),n},G=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s errored out with %s\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name,JSON.stringify(n)));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r),i&&t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,r)}}},J=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s timed out\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Z=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s closed\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Q=function(e){var t=e&&e.result?e.result:e;return!(!t||!(\"not master\"==t.err||\"not master\"==t.errmsg||t.$err&&-1!=t.$err.indexOf(\"not master or secondary\")||t.$err&&-1!=t.$err.indexOf(\"not master and slaveOk=false\")||\"node is recovering\"==t.errmsg))};t.exports=I},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./replset_state\":206,\"./server\":207,\"./session\":208,\"./strategies/ping\":209,bson:59,events:void 0,util:void 0}],206:[function(e,t,n){(function(n){\"use strict\";function r(e,t){for(var n={servers:[]},r=0;r<e.servers.length;r++)for(var i=e.servers[r],o=0;o<t.servers.length;o++){var a=t.servers[o];i.address===a.address&&i.type!=a.type&&n.servers.push({address:i.address,from:i.type,to:a.type})}return n}function i(e){if(e.replSet.listeners(\"topologyDescriptionChanged\").length>0){var t=\"Unknown\",n=e.setName;e.isPrimaryConnected()&&e.isSecondaryConnected()?t=\"ReplicaSetWithPrimary\":!e.isPrimaryConnected()&&e.isSecondaryConnected()&&(t=\"ReplicaSetNoPrimary\");var i={topologyType:t,setName:n,servers:[]};if(e.isPrimaryConnected()){var o=e.primary.getDescription();o.type=\"RSPrimary\",i.servers.push(o)}i.servers=i.servers.concat(e.secondaries.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",t})),i.servers=i.servers.concat(e.arbiters.map(function(e){var t=e.getDescription();return t})),i.servers=i.servers.concat(e.passives.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",\nt}));var a={topologyId:e.id,previousDescription:e.replicasetDescription,newDescription:i,diff:r(e.replicasetDescription,i)};e.replSet.emit(\"topologyDescriptionChanged\",a),e.replicasetDescription=i}}var o=e(\"../connection/logger\"),a=e(\"util\").format,s=e(\"bson\").ObjectId,c=e(\"../error\"),u=\"disconnected\",p=\"connecting\",l=\"connected\",f=\"destroyed\",d=function(e,t){this.replSet=e,this.options=t,this.secondaries=[],this.arbiters=[],this.passives=[],this.primary=null,this.state=u,this.electionId=null,this.logger=o(\"ReplSet\",t),this.id=t.id,this.setName=t.setName,this.connectingServers={},this.secondaryOnlyConnectionAllowed=t.secondaryOnlyConnectionAllowed,this.replicasetDescription=null};d.prototype.resetDescription=function(){this.replicasetDescription={topologyType:\"Unknown\",servers:[]}},d.prototype.isSecondaryConnected=function(){for(var e=0;e<this.secondaries.length;e++)if(this.secondaries[e].isConnected())return!0;return!1},d.prototype.isPrimaryConnected=function(){return null!=this.primary&&this.primary.isConnected()},d.prototype.isPrimary=function(e){return null==this.primary?!1:this.primary&&this.primary.equals(e)},d.prototype.isSecondary=function(e){for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;return!1},d.prototype.isPassive=function(e){for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.clearConnectingServers=function(){for(var e in this.connectingServers)\"function\"==typeof this.connectingServers[e].destroy&&this.connectingServers[e].destroy();this.connectingServers={}},d.prototype.removeConnectingServer=function(e){this.connectingServers[e]&&this.connectingServers[e].destroy&&this.connectingServers[e].destroy(),delete this.connectingServers[e]},d.prototype.addConnectingServer=function(e,t){this.connectingServers[e]=t},d.prototype.isConnectingServer=function(e){return null!=this.connectingServers[e]},d.prototype.connectingServersCount=function(){return Object.keys(this.connectingServers).length},d.prototype.contains=function(e){if(this.primary&&this.primary.equals(e))return!0;for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;for(var t=0;t<this.arbiters.length;t++)if(this.arbiters[t].equals(e))return!0;for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.getSecondaries=function(){return this.secondaries=this.secondaries.filter(function(e){return e.isConnected()}),this.secondaries.filter(function(e){return!e.lastIsMaster().hidden})},d.prototype.clean=function(){var e=[];return null==this.primary||this.primary.isConnected()||(e.push(this.primary),this.primary=null),this.secondaries=this.secondaries.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.arbiters=this.arbiters.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.passives=this.passives.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),e},d.prototype.unref=function(){this.primary&&this.primary.unref(),this.secondaries.forEach(function(e){e.unref()}),this.arbiters.forEach(function(e){e.unref()})};var h=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"],m=function(e){h.forEach(function(t){e.removeAllListeners(t)})};d.prototype.destroy=function(){this.state=f,this.primary&&(this.primary.destroy(),m(this.primary)),this.secondaries.forEach(function(e){e.destroy(),m(e)}),this.arbiters.forEach(function(e){e.destroy(),m(e)})},d.prototype.remove=function(e){this.primary&&this.primary.equals(e)&&(this.primary=null);var t=this.arbiters.length;if(this.arbiters=this.arbiters.filter(function(t){return!t.equals(e)}),this.arbiters.length<t)return\"arbiter\";var t=this.passives.length;this.passives=this.passives.filter(function(t){return!t.equals(e)}),this.passives.length<t&&(this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)})),this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)});var n=e.lastIsMaster();return n.ismaster&&n.hosts?\"primary\":n.ismaster?\"secondary\":n.secondary?\"secondary\":n.passive?\"passive\":\"arbiter\"},d.prototype.get=function(e){var t=this.primary?[this.primary]:[];t=t.concat(this.secondaries);for(var n=0;n<t.length;n++)if(t[n].equals(e))return t[n]},d.prototype.getAll=function(e){e=e||{};var t=[];return this.primary&&t.push(this.primary),t=t.concat(this.secondaries),e.includeArbiters&&(t=t.concat(this.arbiters)),t},d.prototype.getAllConnections=function(e){e=e||{};var t=[];return this.primary&&(t=t.concat(this.primary.connections())),this.secondaries.forEach(function(e){t=t.concat(e.connections())}),e.includeArbiters&&this.arbiters.forEach(function(e){t=t.concat(e.connections())}),t},d.prototype.toJSON=function(){return{primary:this.primary?this.primary.lastIsMaster().me:null,secondaries:this.secondaries.map(function(e){return e.lastIsMaster().me})}},d.prototype.lastIsMaster=function(){return this.primary?this.primary.lastIsMaster():this.secondaries.length>0?this.secondaries[0].lastIsMaster():{}},d.prototype.promotePrimary=function(e){var t=this.get(e);return null==t?void(this.primary=e):(this.remove(t),void(this.primary=t))};var v=function(e,t,n){for(var r=0;r<t.length;r++)if(t[r].equals(n))return!1;return t.push(n),!0};d.prototype.addSecondary=function(e){return v(this,this.secondaries,e)},d.prototype.addArbiter=function(e){return v(this,this.arbiters,e)},d.prototype.addPassive=function(e){return v(this,this.passives,e)};var g=function(e,t){var r=new n(e.toHexString(),\"hex\"),i=new n(t.toHexString(),\"hex\");if(r===i)return 0;if(\"function\"==typeof n.compare)return n.compare(r,i);for(var o=r.length,a=i.length,s=Math.min(o,a),c=0;s>c&&r[c]===i[c];c++);return c!==s&&(o=r[c],a=i[c]),a>o?-1:o>a?1:0};d.prototype.update=function(e,t){var n=this;if(this.clean(),!e.ismaster&&!e.secondary&&!e.arbiterOnly||!Array.isArray(e.hosts)){var r=n.remove(t);return n.state==l&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] removing %s from set\",n.id,e.me)),n.replSet.emit(\"left\",r,t)),i(this),!1}if(null==n.setName&&e.setName&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] setting setName to %s\",n.id,e.setName)),n.setName=e.setName),e.setName&&n.setName!=e.setName)return n.logger.isError()&&n.logger.error(a(\"[%s] server in replset %s is not part of the specified setName %s\",n.id,e.setName,n.setName)),n.remove(t),n.replSet.emit(\"error\",new c(\"provided setName for Replicaset Connection does not match setName found in server seedlist\")),i(this),!1;if(n.logger.isInfo()&&n.logger.info(a(\"[%s] updating replicaset state %s\",n.id,JSON.stringify(this))),e.ismaster&&n.setName==e.setName&&!n.isPrimary(e.me)){if(e.electionId instanceof s&&n.electionId instanceof s)if(-1==g(n.electionId,e.electionId))n.electionId=e.electionId;else{if(0!=g(n.electionId,e.electionId))return!1;n.electionId=e.electionId}e.electionId instanceof s&&null==n.electionId&&(n.electionId=e.electionId),n.promotePrimary(t),n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to primary\",n.id,e.me)),n.replSet.emit(\"joined\",\"primary\",this.primary),i(this),n.state==p?(n.state=l,n.replSet.emit(\"connect\",n.replSet)):(n.state=l,n.replSet.emit(\"reconnect\",t))}else{if(!e.ismaster&&n.setName==e.setName&&e.arbiterOnly)return n.addArbiter(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to arbiter\",n.id,e.me)),n.replSet.emit(\"joined\",\"arbiter\",t),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary&&e.passive)return n.addPassive(t)&&n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to passive\",n.id,e.me)),n.replSet.emit(\"joined\",\"passive\",t),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary)return n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to secondary\",n.id,e.me)),n.replSet.emit(\"joined\",\"secondary\",t),n.primary&&n.primary.name==t.name&&(n.primary=null),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1}return!0},t.exports=d}).call(this,e(\"buffer\").Buffer)},{\"../connection/logger\":197,\"../error\":201,bson:59,buffer:void 0,util:void 0}],207:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"../connection/utils\").bindToCurrentDomain,s=e(\"events\").EventEmitter,c=e(\"../connection/pool\"),u=e(\"bson\"),p=e(\"crypto\"),l=e(\"../connection/commands\").Query,f=e(\"../error\"),d=e(\"./read_preference\"),h=e(\"../cursor\"),m=e(\"./command_result\"),v=e(\"../connection/utils\").getSingleProperty,g=e(\"../connection/utils\").getProperty,y=e(\"../connection/utils\").debugOptions,b=e(\"bson\")[\"native\"]().BSON,x=e(\"../wireprotocol/2_4_support\"),w=e(\"../wireprotocol/2_6_support\"),_=e(\"../wireprotocol/3_2_support\"),k=e(\"./session\"),j=e(\"../connection/logger\"),S=e(\"../auth/mongocr\"),E=e(\"../auth/x509\"),O=e(\"../auth/plain\"),A=e(\"../auth/gssapi\"),C=e(\"../auth/sspi\"),T=e(\"../auth/scram\"),I=[u.Long,u.ObjectID,u.Binary,u.Code,u.DBRef,u.Symbol,u.Double,u.Timestamp,u.MaxKey,u.MinKey],P=null,F=0,M=0,z=function(){this.callbacks={},this.id=M++,this.type=\"server\"};z.prototype.flush=function(e){for(var t in this.callbacks)if(!isNaN(parseInt(t,10))){var n=this.callbacks[t];delete this.callbacks[t],n(e,null)}},z.prototype.flushConnection=function(e,t){for(var n in this.callbacks)if(!isNaN(parseInt(n,10))){var r=this.callbacks[n];r.connection&&r.connection.id===t.id?(delete this.callbacks[n],r(e,null)):!r.connection&&r.monitoring&&(delete this.callbacks[n],r(e,null))}},z.prototype.callback=function(e){return this.callbacks[e]},z.prototype.emit=function(e,t,n){var r=this.callbacks[e];delete this.callbacks[e],r(t,n)},z.prototype.raw=function(e){return null==this.callbacks[e]?!1:1==this.callbacks[e].raw},z.prototype.documentsReturnedIn=function(e){return null==this.callbacks[e]?!1:\"string\"==typeof this.callbacks[e].documentsReturnedIn?this.callbacks[e].documentsReturnedIn:null},z.prototype.unregister=function(e){delete this.callbacks[e]},z.prototype.register=function(e,t){this.callbacks[e]=a(t)};var B=\"disconnected\",N=\"connecting\",D=\"connected\",q=\"destroyed\",R=function(e){return e.ismaster&&\"number\"==typeof e.ismaster.minWireVersion},L=function(e){return e&&e.maxWireVersion>=4?new _(new w):e&&e.maxWireVersion>=2?new w:new x},$=function(e,t){if(e&&t&&t.callbacks&&t.callbacks.flush(new f(o(\"server %s received a broken socket pipe error\",e.name))),0==t.currentReconnectRetry)return e.destroy(!0,!0);t.currentReconnectRetry=t.currentReconnectRetry-1,t.state=N,t.pool&&t.pool.destroy(),t.pool=new c(t.options);var n=function(n){t.state=B,t.pool.destroy(),t.currentReconnectRetry=t.currentReconnectRetry-1,t.currentReconnectRetry<=0?(e.state=q,e.emit(\"error\",o(\"failed to connect to %s:%s after %s retries\",t.options.host,t.options.port,t.reconnectTries))):setTimeout(function(){$(e,t)},t.reconnectInterval)};t.pool.once(\"connect\",function(){t.currentReconnectRetry=t.reconnectTries;var r=[\"error\",\"close\",\"timeout\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];r.forEach(function(e){t.pool.removeAllListeners(e)}),t.state=D,t.pool.on(\"error\",n),t.pool.on(\"close\",Y(e,t)),t.pool.on(\"timeout\",W(e,t)),t.pool.on(\"parseError\",V(e,t));var i=Object.keys(t.authProviders);if(0==i.length)return e.emit(\"reconnect\",e);for(var o=t.pool.getAll(),a=i.length,s=0;s<i.length;s++)t.authProviders[i[s]].reauthenticate(e,o,function(n,r){return a-=1,0==a?t.ismaster?e.emit(\"reconnect\",e):K(e,t)():void 0})}),t.pool.once(\"error\",H(e,t)),t.pool.once(\"close\",H(e,t)),t.pool.once(\"timeout\",H(e,t)),t.pool.once(\"parseError\",H(e,t)),t.pool.connect()},U=function(e,t){return function(n,r){try{var i=t.callbacks.callback(n.responseTo),a={raw:t.callbacks.raw(n.responseTo),promoteLongs:i&&\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,documentsReturnedIn:t.callbacks.documentsReturnedIn(n.responseTo)};n.parse(a),(i&&!i.noRelease||!i)&&e.s.pool.connectionAvailable(r),t.logger.isDebug()&&t.logger.debug(o(\"message [%s] received from %s\",n.raw.toString(\"hex\"),e.name)),t.callbacks.emit(n.responseTo,null,n)}catch(s){t.callbacks.flushConnection(new f(s),r),e.destroy()}}},H=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.destroy(),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval)))}},V=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},W=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"timeout\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s timed out\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),e.emit(\"timeout\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},Y=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"close\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s closed\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s sockets closed\",e.name)),r),e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.listeners(\"topologyClosed\").length>0&&!e.s.inTopology&&e.emit(\"topologyClosed\",{topologyId:e.s.id}),e.emit(\"close\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},K=function(e,t){var n=function(n){var r=Object.keys(t.authProviders);if(0==r.length)return n(null,null);for(var i=t.pool.getAll(),o=r.length,a=0;a<r.length;a++)t.authProviders[r[a]].reauthenticate(e,i,function(e,t){return o-=1,0==o?n(null,null):void 0})};return function(){n(function(){t.monitoring&&(e.s.inquireServerStateTimeout=setTimeout(oe(e),t.haInterval));var n=(new Date).getTime();e.command(\"admin.$cmd\",{ismaster:!0},function(r,i){return r?(t.state=B,e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.s.inTopology||e.emit(\"topologyOpening\",{topologyId:e.s.id}),e.emit(\"close\",r,e)):(ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),ne(e,{topologyType:\"Single\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Standalone\"}]}),t.isMasterLatencyMS=(new Date).getTime()-n,r||(t.ismaster=i.result),e.emit(\"ismaster\",i.result,e),t.wireProtocolHandler=L(t.ismaster),t.options.wireProtocolHandler=t.wireProtocolHandler,t.logger.isInfo()&&t.logger.info(o(\"server %s connected with ismaster [%s]\",e.name,JSON.stringify(i.result))),R(t)||null!=t.wireProtocolHandler?(t.ismaster&&t.ismaster.me&&(t.serverDetails.name=t.ismaster.me),null==t.readPreferenceStrategies?(t.state=D,e.emit(\"connect\",e)):void J(e,e.s,\"connect\",[e],function(n,r){return t.state=D,e.emit(\"connect\",e)})):(t.state=B,e.emit(\"error\",new f(\"non supported server version\"),e)))})})}},G=function(e){return e?e.slaveOk():!1},J=function(e,t,n,r,i){if(\"function\"==typeof i){var o=Object.keys(t.readPreferenceStrategies).length;if(0==o)return i(null,null);for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a],c=r.slice(0);c.push(function(e,t){o-=1,0==o&&i(null,null)}),s[n].apply(s,c)}}else for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a];s[n].apply(s,r)}},Z=[\"reconnect\",\"reconnectTries\",\"reconnectInterval\",\"emitError\",\"cursorFactory\",\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"checkServerIdentity\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"key\",\"rejectUnauthorized\",\"promoteLongs\"],Q=function(e){s.call(this),null==P&&(P=new b(I));var t=e.reconnectTries||30;this.s={options:e,callbacks:new z,logger:j(\"Server\",e),state:B,reconnect:\"boolean\"==typeof e.reconnect?e.reconnect:!0,reconnectTries:t,reconnectInterval:e.reconnectInterval||1e3,emitError:\"boolean\"==typeof e.emitError?e.emitError:!1,currentReconnectRetry:t,ismaster:null,readPreferenceStrategies:e.readPreferenceStrategies,authProviders:e.authProviders||{},id:F++,topologyId:e.topologyId||-1,tag:e.tag,disconnectHandler:e.disconnectHandler,monitoring:\"boolean\"==typeof e.monitoring?e.monitoring:!1,haInterval:e.haInterval||1e4,wireProtocolHandler:e.wireProtocolHandler||new x,Cursor:e.cursorFactory||h,bsonInstance:P,inquireServerStateTimeout:null,bson:e.bson?e.bson:P,pool:null,isMasterLatencyMS:0,inTopology:\"boolean\"==typeof e.inTopology?e.inTopology:!1,serverDetails:{host:e.host,port:e.port,name:e.port?o(\"%s:%s\",e.host,e.port):e.host},serverDescription:null,topologyDescription:null};var n=p.createHash(\"sha1\");n.update(o(\"%s:%s\",this.host,this.port)),this.hashedName=n.digest(\"hex\");var r=this.s;e.bson=r.bson,g(this,\"name\",\"name\",r.serverDetails,{}),g(this,\"bson\",\"bson\",r.options,{}),g(this,\"wireProtocolHandler\",\"wireProtocolHandler\",r.options,{}),v(this,\"id\",r.id),e.authProviders||(this.addAuthProvider(\"mongocr\",new S),this.addAuthProvider(\"x509\",new E),this.addAuthProvider(\"plain\",new O),this.addAuthProvider(\"gssapi\",new A),this.addAuthProvider(\"sspi\",new C),this.addAuthProvider(\"scram-sha-1\",new T))};i(Q,s);var X=function(e){return e.s.serverDescription||(e.s.serverDescription={address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}),e.s.serverDescription},ee=function(e,t){e.listeners(\"serverDescriptionChanged\").length>0&&(e.emit(\"serverDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:X(e),newDescription:t}),e.s.serverDescription=t)},te=function(e){return e.s.topologyDescription||(e.s.topologyDescription={topologyType:\"Unknown\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}]}),e.s.topologyDescription},ne=function(e,t){e.listeners(\"topologyDescriptionChanged\").length>0&&(e.emit(\"topologyDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:te(e),newDescription:t}),e.s.serverDescription=t)};Q.prototype.getDescription=function(){var e=this.s.ismaster||{},t={type:re(this),address:this.name};return e.hosts&&(t.hosts=e.hosts),e.arbiters&&(t.arbiters=e.arbiters),e.passives&&(t.passives=e.passives),e.setName&&(t.setName=e.setName),t},Q.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new f(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(I)},Q.prototype.lastIsMaster=function(){return this.s.ismaster},Q.prototype.isMasterLatencyMS=function(){return this.s.isMasterLatencyMS},Q.prototype.connect=function(e){var t=this;e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.s.options.promoteLongs=e.promoteLongs),t.s.pool&&t.s.pool.destroy(),t.s.state=N,t.s.options.messageHandler=U(t,t.s),t.s.pool=new c(t.s.options),t.s.pool.on(\"timeout\",W(t,t.s)),t.s.pool.on(\"close\",Y(t,t.s)),t.s.pool.on(\"error\",H(t,t.s)),t.s.pool.once(\"connect\",K(t,t.s)),t.s.pool.on(\"parseError\",V(t,t.s)),t.s.inTopology||this.emit(\"topologyOpening\",{topologyId:this.s.id}),t.emit(\"serverOpening\",{topologyId:-1!=t.s.topologyId?t.s.topologyId:t.s.id,address:t.name}),t.s.pool.on(\"connection\",function(e){var n=Object.keys(t.s.authProviders);if(0==n.length)return t.s.pool.connectionAvailable(e);for(var r=[e],i=n.length,o=0;o<n.length;o++)t.s.authProviders[n[o]].reauthenticate(t,r,function(n,r){return i-=1,0==i?t.s.pool.connectionAvailable(e):void 0})}),t.s.pool.connect()};var re=function(e,t){return t||(t=e.s.ismaster),t?t.ismaster&&!t.hosts?\"Standalone\":t.ismaster&&\"isdbgrid\"==t.msg?\"Mongos\":t.ismaster?\"RSPrimary\":t.secondary?\"RSSecondary\":t.arbiterOnly?\"RSArbiter\":\"Unknown\":\"Unknown\"},ie=function(e,t,n){var r=re(e,t),i=re(e,n);return i!=r},oe=function(e){return function(){if(e.s.state!=q){var t=(new Date).getTime();r(e,\"serverHeartbeatStarted\",{connectionId:e.name}),e.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(n,i){if(n)r(e,\"serverHearbeatFailed\",{durationMS:o,failure:n,connectionId:e.name});else{e.emit(\"ismaster\",i,e);var o=(new Date).getTime()-t;r(e,\"serverHeartbeatSucceeded\",{durationMS:o,reply:i.result,connectionId:e.name}),ie(e,e.s.ismaster,i.result)&&ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),e.s.ismaster=i.result,e.s.isMasterLatencyMS=o}e.s.inquireServerStateTimeout=setTimeout(oe(e),e.s.haInterval)})}}};Q.prototype.unref=function(){this.s.pool.unref()},Q.prototype.destroy=function(e,t){var n=this;n.s.logger.isDebug()&&n.s.logger.debug(o(\"destroy called on server %s\",n.name)),n.s.state!=q&&(this.s.inquireServerStateTimeout&&clearTimeout(this.s.inquireServerStateTimeout),e&&n.listeners(\"close\").length>0&&n.emit(\"close\",null,n),n.listeners(\"serverClosed\").length>0&&n.emit(\"serverClosed\",{topologyId:-1!=n.s.topologyId?n.s.topologyId:n.s.id,address:n.name}),n.listeners(\"topologyClosed\").length>0&&!n.s.inTopology&&n.emit(\"topologyClosed\",{topologyId:n.s.id}),t&&n.emit(\"destroy\",n),n.s.state=q,n.s.pool&&n.s.pool.destroy(),n.s.callbacks&&n.s.callbacks.flush(new f(o(\"server %s sockets closed\",n.name))))},Q.prototype.isConnected=function(){var e=this;return e.s.pool?e.s.pool.isConnected():!1},Q.prototype.isDestroyed=function(){return this.s.state==q};var ae=function(e,t,n,r,i,o,a){var s=new l(e.s.bson,t,n,r);s.slaveOk=G(i.readPreference),null!=e.s.readPreferenceStrategies&&J(e,e.s,\"startOperation\",[e,s,new Date]);var c=\"boolean\"==typeof i.raw?i.raw:!1,u=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,p=\"boolean\"==typeof i.monitoring?i.monitoring:!1;if(o)for(var d=e.s.pool.getAll(),h=d.length,v=null,g=0;g<d.length;g++){var y=function(t){return function(n,r){if(n&&(v=n),h-=1,0==h){if(J(e,e.s,\"endOperation\",[e,v,r,new Date]),v)return a(f.create(v));r.hashedName=t.hashedName;try{a(null,new m(i.fullResult?r:r.documents[0],d))}catch(n){process.nextTick(function(){throw n})}}}};try{s.incRequestId(),d[g].write(s.toBin())}catch(b){if(h-=1,0==h)return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,y.monitoring=p,y.connection=d[g],e.s.callbacks.register(s.requestId,y(d[g]))}else{var y=function(t,n){if(J(e,e.s,\"endOperation\",[e,t,n,new Date]),t)return a(t);if(n.documents[0].$err||n.documents[0].errmsg||n.documents[0].err||n.documents[0].code)return a(f.create(n.documents[0]));n.hashedName=n.connection.hashedName;try{a(null,new m(i.fullResult?n:n.documents[0],n.connection))}catch(t){process.nextTick(function(){throw t})}};try{y.monitoring=p,i.connection?(y.connection=i.connection,y.noRelease=!0,i.connection.write(s.toBin())):e.s.pool.write(s.toBin(),y,i)}catch(b){return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,e.s.callbacks.register(s.requestId,y)}};Q.prototype.command=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(this.s.state==q)return r(new f(o(\"topology was destroyed\")));if(n=n||{},n.readPreference&&!(n.readPreference instanceof d))throw new Error(\"readPreference must be an instance of ReadPreference\");if(i.s.logger.isDebug()&&i.s.logger.debug(o(\"executing command [%s] against %s\",JSON.stringify({ns:e,cmd:t,options:y(Z,n)}),i.name)),!i.isConnected()&&null!=i.s.disconnectHandler)return r=a(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);if(!i.s.pool.isConnected())return r(new f(o(\"no connection available to server %s\",i.name)));var s=\"boolean\"==typeof n.onAll?n.onAll:!1,c=\"boolean\"==typeof n.checkKeys?n.checkKeys:!1,u=\"boolean\"==typeof n.serializeFunctions?n.serializeFunctions:!1,p=\"boolean\"==typeof n.ignoreUndefined?n.ignoreUndefined:!1,l=(\"boolean\"==typeof n.raw?n.raw:!1,{numberToSkip:0,numberToReturn:-1,checkKeys:c});u&&(l.serializeFunctions=u),p&&(l.ignoreUndefined=p),ae(i,e,t,l,n,s,r)},Q.prototype.insert=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.insert(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"insert\",e,t,n,r))},Q.prototype.update=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.update(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"update\",e,t,n,r))},Q.prototype.remove=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.remove(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"remove\",e,t,n,r))},Q.prototype.auth=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==n.s.authProviders[e]&&\"default\"!=e)throw new f(o(\"auth provider %s does not exist\",e));\"default\"==e&&n.s.ismaster&&n.s.ismaster.maxWireVersion>=3?e=\"scram-sha-1\":\"default\"==e&&(e=\"mongocr\");var a=n.s.pool.getAll(),s=[n,a,t].concat(r.slice(0)).concat([function(e,t){return e?i(e):t?void i(null,new k({},n)):i(new f(\"could not authenticate\"))}]);n.s.authProviders[e].auth.apply(n.s.authProviders[e],s)},Q.prototype.addReadPreferenceStrategy=function(e,t){var n=this;null==n.s.readPreferenceStrategies&&(n.s.readPreferenceStrategies={}),n.s.readPreferenceStrategies[e]=t},Q.prototype.addAuthProvider=function(e,t){var n=this;n.s.authProviders[e]=t},Q.prototype.equals=function(e){return\"string\"==typeof e?e==this.name:e&&e.name?e.name==this.name:!1},Q.prototype.connections=function(){return this.s.pool.getAll()},Q.prototype.getServer=function(e){return this},Q.prototype.getConnection=function(e){return this.s.pool.get()},Q.prototype.getCallbacks=function(){return this.s.callbacks},Q.prototype.parserType=function(){var e=this.s;return-1!=e.options.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},Q.prototype.cursor=function(e,t,n){var r=this.s;n=n||{};var i=n.cursorFactory||r.Cursor;return new i(r.bson,e,t,n,this,r.options)},t.exports=Q},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/commands\":195,\"../connection/logger\":197,\"../connection/pool\":198,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"../wireprotocol/2_4_support\":210,\"../wireprotocol/2_6_support\":211,\"../wireprotocol/3_2_support\":212,\"./command_result\":202,\"./read_preference\":204,\"./session\":208,bson:59,crypto:void 0,events:void 0,util:void 0}],208:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"events\").EventEmitter),o=function(e,t){this.options=e,this.topology=t,i.call(this)};r(o,i),o.prototype.command=function(e,t,n,r){this.topology.command(e,t,n,r)},o.prototype.insert=function(e,t,n,r){this.topology.insert(e,t,n,r)},o.prototype.update=function(e,t,n,r){this.topology.update(e,t,n,r)},o.prototype.remove=function(e,t,n,r){this.topology.remove(e,t,n,r)},o.prototype.cursor=function(e,t,n){return this.topology.cursor(e,t,n)},t.exports=o},{events:void 0,util:void 0}],209:[function(e,t,n){\"use strict\";var r=e(\"../../connection/logger\"),i=e(\"events\").EventEmitter,o=e(\"util\").inherits,a=e(\"util\").format,s=function(e){i.call(this),this.s={pings:{},options:e||{},logger:r(\"Ping\",e),pingInterval:e.pingInterval||1e4,acceptableLatency:e.acceptableLatency||15,debug:\"boolean\"==typeof e.debug?e.debug:!1,index:0,lastPing:null},this.s.logger.isDebug()&&this.s.logger.debug(a(\"ping strategy interval [%s], acceptableLatency [%s]\",this.s.pingInterval,this.s.acceptableLatency)),this.s.debug&&Object.defineProperty(this,\"data\",{enumerable:!0,get:function(){return this.s.pings}})};o(s,i);var c=function(e,t){if(null==e.tags)return t;for(var n=[],r=e.tags,i=0;i<t.length;i++){var o=t[i].lastIsMaster().tags||{},a=!0;for(var s in r)o[s]!=r[s]&&(a=!1);a&&n.push(t[i])}return n};s.prototype.pickServer=function(e,t){var n=this,r=[];e.primary&&r.push(e.primary);for(var i=0;i<e.secondaries.length;i++)r.push(e.secondaries[i]);r=c(t,r);for(var o=[],i=0;i<r.length;i++)o.push({name:r[i].name,time:n.s.pings[r[i].name]||0});o.sort(function(e,t){return e.time>t.time});var s=o.length>0?o[0].time:0;return o=o.filter(function(e){return e.time<=s+n.s.acceptableLatency}),0==o.length&&e.primary?(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked primary server [%s]\",e.primary.name)),e.primary):0==o.length?null:(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked server [%s] with ping latency [%s]\",o[0].name,o[0].time)),n.s.index=n.s.index+1,n.s.index=n.s.index%o.length,e.get(o[n.s.index].name))},s.prototype.startOperation=function(e,t,n){},s.prototype.endOperation=function(e,t,n,r){},s.prototype.ha=function(e,t,n){var r=this,i=t.getAll(),o=i.length;if(0==i.length)return n(null,null);if(null!=r.s.lastPing){var s=(new Date).getTime()-r.s.lastPing.getTime();if(s<r.s.pingInterval)return n(null,null)}for(var c=function(t){var i=new Date;t.command(\"system.$cmd\",{ismaster:1},function(s,c){o-=1;var u=(new Date).getTime()-i.getTime();r.s.pings[t.name]=u,r.s.logger.isDebug()&&r.s.logger.debug(a(\"ha latency for server [%s] is [%s] ms\",t.name,u)),0==o&&(e.emit(\"ping\",s,c?c.result:null),r.s.lastPing=new Date,n(null,null))})};i.length>0;)c(i.shift())};var u=function(e,t){delete e.s.pings[t.name]};s.prototype.close=function(e){u(this,e)},s.prototype.error=function(e){u(this,e)},s.prototype.timeout=function(e){u(this,e)},s.prototype.connect=function(e,t){var n=this,r=new Date;e.command(\"system.$cmd\",{ismaster:1},function(i,o){var s=(new Date).getTime()-r.getTime();n.s.pings[e.name]=s,n.s.logger.isDebug()&&n.s.logger.debug(a(\"connect latency for server [%s] is [%s] ms\",e.name,s)),n.s.lastPing=new Date,t(null,null)})},t.exports=s},{\"../../connection/logger\":197,events:void 0,util:void 0}],210:[function(e,t,n){\"use strict\";var r=e(\"./commands\").Insert,i=e(\"./commands\").Update,o=e(\"./commands\").Remove,a=e(\"../connection/commands\").Query,s=e(\"../connection/utils\").copy,c=e(\"../connection/commands\").KillCursor,u=e(\"../connection/commands\").GetMore,a=e(\"../connection/commands\").Query,p=(e(\"../topologies/read_preference\"),e(\"util\").format),l=e(\"../topologies/command_result\"),f=e(\"../error\"),d=e(\"bson\").Long,h=e(\"./shared\").getReadPreference,m=[\"w\",\"wtimeout\",\"j\",\"fsync\"],v=function(){};v.prototype.insert=function(e,t,n,i,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;\"boolean\"==typeof c.legacy?c.legacy:!1;if(s=Array.isArray(s)?s:[s],s.length>1e3)return u(new f(\"exceeded maximum write batch size of 1000\"));\nvar l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"insert\",r,t,n,i,o,a,s,c,u):j(\"insert\",r,t,n,i,o,a,s,c,u)},v.prototype.update=function(e,t,n,r,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"update\",i,t,n,r,o,a,s,c,u):j(\"update\",i,t,n,r,o,a,s,c,u)},v.prototype.remove=function(e,t,n,r,i,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"remove\",o,t,n,r,i,a,s,c,u):j(\"remove\",o,t,n,r,i,a,s,c,u)},v.prototype.killCursor=function(e,t,n,r,i,o){var a=new c(e,[n]);r&&r.isConnected()&&r.write(a.toBin(),o,{immediateRelease:!0}),n=d.ZERO,o&&o(null,null)},v.prototype.getMore=function(e,t,n,r,i,o,a,s,c){var p=new u(e,t,n.cursorId,{numberToReturn:r}),l=function(e,t){if(e)return c(e);if(0!=(1&t.responseFlags))return c(new f(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?d.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,c(null,null,t.connection)};i&&(l.raw=i),\"boolean\"==typeof n.promoteLongs&&(l.promoteLongs=n.promoteLongs),a.register(p.requestId,l),o.write(p.toBin(),l)},v.prototype.command=function(e,t,n,r,i,o){if(n.find)return g(e,t,n,r,i,o);if(null==r.cursorId){if(n)return y(e,t,n,r,i,o);throw new f(p(\"command %s does not return a cursor\",JSON.stringify(n)))}};var g=function(e,t,n,r,i,o){o=o||{};var c=h(n,o);r.batchSize=n.batchSize||r.batchSize;var u=0;u=0==r.limit?r.batchSize:r.limit<0||r.limit<r.batchSize||r.limit>0&&0==r.batchSize?r.limit:r.batchSize;var l=r.skip||0,d={},m=!1;if(\"mongos\"==i.type&&c&&(d.$readPreference=c.toJSON(),m=!0),n.sort&&(d.orderby=n.sort,m=!0),n.hint&&(d.$hint=n.hint,m=!0),n.snapshot&&(d.$snapshot=n.snapshot,m=!0),n.returnKey&&(d.$returnKey=n.returnKey,m=!0),n.maxScan&&(d.$maxScan=n.maxScan,m=!0),n.min&&(d.$min=n.min,m=!0),n.max&&(d.$max=n.max,m=!0),n.showDiskLoc&&(d.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(d.$comment=n.comment,m=!0),n.maxTimeMS&&(d.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(u=-Math.abs(n.limit||0),m=!0,d.$explain=!0),m?d.$query=n.query:d=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=s(n),delete n.readConcern);var v=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,g=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1,y=new a(e,t,d,{numberToSkip:l,numberToReturn:u,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=c.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},y=function(e,t,n,r,i,o){o=o||{};var s=h(n,o),c={};for(var u in n)c[u]=n[u];var l=t.split(/\\./);if(n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern;var d=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,m=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1;\"mongos\"==i.type&&s&&\"primary\"!=s.preference&&(c={$query:c,$readPreference:s.toJSON()});var v=new a(e,p(\"%s.$cmd\",l.shift()),c,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:m});return v.slaveOk=s.slaveOk(),v},b=function(e){var t=process.domain;return null==t||null==e?e:t.bind(e)},x=function(e){return!(!e.w&&!e.wtimeout&&1!=e.j&&1!=e.fsync&&0!=Object.keys(e).length)},w=function(e){var t={};return null!=e.w&&(t.w=e.w),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),null!=e.j&&(t.j=e.j),null!=e.fsync&&(t.fsync=e.fsync),t},_=function(e,t,n,r){for(var i={ok:1,n:0},o=0;o<n.length;o++){var a=n[o],s=t[o];!a.upserted&&0!=a.updatedExisting||null!=i.upserted||(i.upserted=[]),a.upserted&&i.upserted.push({index:o,_id:a.upserted}),0==a.updatedExisting&&1==a.n&&null==a.upserted&&i.upserted.push({index:o,_id:s.q._id}),1==a.ok&&\"insert\"==e&&null==a.err&&(i.n=i.n+1),null!=a&&0==a.ok||a.err||a.errmsg?(0==a.ok&&(i.ok=0),i.code=a.code,i.errmsg=a.errmsg||a.err||a.errMsg,11e3==a.code||11001==a.code||12582==a.code||16544==a.code||16538==a.code||16542==a.code||14==a.code||13511==a.code?(null==i.writeErrors&&(i.writeErrors=[]),i.writeErrors.push({index:o,code:a.code,errmsg:a.errmsg||a.err||a.errMsg})):i.writeConcernError={code:a.code,errmsg:a.errmsg||a.err||a.errMsg}):\"number\"==typeof a.n?i.n+=a.n:i.n+=1,null!=a&&a.lastOp&&(i.lastOp=a.lastOp)}return new l(i,r)},k=function(e,t,n,r,i,o,s,c,u,l){var d=c.slice(0);l=b(l);var h=[],v=function(d,g){if(0==d.length)return process.nextTick(function(){g(null,_(e,c,h,null))});var y=d.shift(),b=new t(a.getRequestId(),n,i,r,[y],u),k=u.writeConcern||{w:1},j=w(k),S=r.split(\".\").shift();try{var E=[b.toBin()];if(x(j)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=j[m[A]]&&(O[m[A]]=j[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t,n){if(t)return l(t);var r=n.documents[0];return h.push(r),0==r.ok||r.err||r.errmsg?l(null,_(e,c,h,n.connection)):void v(d,l)};s.register(C.requestId,T),o.write(E,T)}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h.push({ok:1,errmsg:I.message,code:14}),process.nextTick(function(){l(null,_(e,c,h,null))})}};v(d,l)},j=function(e,t,n,r,i,o,s,c,u,l){l=b(l);for(var d,h=c.length,v=[],g=u.writeConcern||{w:1},y=w(g),k=0;k<c.length;k++){var j=new t(a.getRequestId(),n,i,r,[c[k]],u),S=r.split(\".\").shift();try{var E=[j.toBin()];if(x(y)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=y[m[A]]&&(O[m[A]]=y[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t){return function(n,r){n&&(d=n),h-=1,n||(v[t]=r.documents[0]),0==h&&process.nextTick(function(){return d?l(d):void l(null,_(e,c,v,r.connection))})}};s.register(C.requestId,T(k)),o.write(E,T(k))}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h-=1,v[k]={ok:1,errmsg:I.message,code:14},0==h&&l(null,_(e,c,v,null))}}y&&0==y.w&&l&&l(null,null)};t.exports=v},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],211:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),i=e(\"../connection/utils\").copy,o=e(\"../connection/commands\").KillCursor,a=e(\"../connection/commands\").GetMore,r=e(\"../connection/commands\").Query,s=(e(\"../topologies/read_preference\"),e(\"util\").format),c=(e(\"../topologies/command_result\"),e(\"../error\")),u=e(\"bson\").Long,p=e(\"./shared\").getReadPreference,l=function(){},f=function(e,t,n,r,i,o,a){if(0==i.length)throw new c(\"insert must contain at least one document\");\"function\"==typeof o&&(a=o,o={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof o.ordered?o.ordered:!0,f=o.writeConcern||{},d={};d[t]=u.join(\".\"),d[n]=i,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f);var h={};\"insert\"==t&&(h.checkKeys=!0),o.serializeFunctions&&(h.serializeFunctions=o.serializeFunctions),o.ignoreUndefined&&(h.ignoreUndefined=o.ignoreUndefined),e.command(s(\"%s.$cmd\",p),d,h,a)};l.prototype.insert=function(e,t,n,r,i,o,a,s,c){f(e,\"insert\",\"documents\",n,a,s,c)},l.prototype.update=function(e,t,n,r,i,o,a,s,c){f(e,\"update\",\"updates\",n,a,s,c)},l.prototype.remove=function(e,t,n,r,i,o,a,s,c){f(e,\"delete\",\"deletes\",n,a,s,c)},l.prototype.killCursor=function(e,t,n,r,i,a){var s=new o(e,[n]);r&&r.isConnected()&&r.write(s.toBin(),a,{immediateRelease:!0}),n=u.ZERO,a&&a(null,null)},l.prototype.getMore=function(e,t,n,r,i,o,s,p,l){var f=new a(e,t,n.cursorId,{numberToReturn:r}),d=function(e,t){if(e)return l(e);if(0!=(1&t.responseFlags))return l(new c(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?u.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,l(null,null,t.connection)};i&&(d.raw=i),\"boolean\"==typeof n.promoteLongs&&(d.promoteLongs=n.promoteLongs),s.register(f.requestId,d),o.write(f.toBin(),d)},l.prototype.command=function(e,t,n,r,i,o){if(n.find)return d(e,t,n,r,i,o);if(null==r.cursorId){if(n)return h(e,t,n,r,i,o);throw new c(s(\"command %s does not return a cursor\",JSON.stringify(n)))}};var d=function(e,t,n,o,a,u){u=u||{};var l=p(n,u);o.batchSize=n.batchSize||o.batchSize;var f=0;f=0==o.limit?o.batchSize:o.limit<0||o.limit<o.batchSize||o.limit>0&&0==o.batchSize?o.limit:o.batchSize;var d=o.skip||0,h={},m=!1;if(\"mongos\"==a.type&&l&&(h.$readPreference=l.toJSON(),m=!0),n.sort&&(h.orderby=n.sort,m=!0),n.hint&&(h.$hint=n.hint,m=!0),n.snapshot&&(h.$snapshot=n.snapshot,m=!0),n.returnKey&&(h.$returnKey=n.returnKey,m=!0),n.maxScan&&(h.$maxScan=n.maxScan,m=!0),n.min&&(h.$min=n.min,m=!0),n.max&&(h.$max=n.max,m=!0),n.showDiskLoc&&(h.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(h.$comment=n.comment,m=!0),n.maxTimeMS&&(h.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(f=-Math.abs(n.limit||0),m=!0,h.$explain=!0),m?h.$query=n.query:h=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=i(n),delete n.readConcern);var v=\"boolean\"==typeof u.serializeFunctions?u.serializeFunctions:!1,g=\"boolean\"==typeof u.ignoreUndefined?u.ignoreUndefined:!1,y=new r(e,t,h,{numberToSkip:d,numberToReturn:f,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=l.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},h=function(e,t,n,i,o,a){a=a||{};var u=p(n,a),l={};for(var f in n)l[f]=n[f];var d=t.split(/\\./),h=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,m=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1;if(n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern,\"mongos\"==o.type&&u&&\"primary\"!=u.preference&&(l={$query:l,$readPreference:u.toJSON()});var v=new r(e,s(\"%s.$cmd\",d.shift()),l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:h,ignoreUndefined:m});return v.slaveOk=u.slaveOk(),v};t.exports=l},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],212:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),r=(e(\"../connection/utils\").copy,e(\"../connection/commands\").KillCursor,e(\"../connection/commands\").GetMore,e(\"../connection/commands\").Query),i=(e(\"../topologies/read_preference\"),e(\"util\").format),o=(e(\"../topologies/command_result\"),e(\"../error\")),a=e(\"bson\").Long,s=e(\"./shared\").getReadPreference,c=function(e){this.legacyWireProtocol=e},u=function(e,t,n,r,a,s,c){if(0==a.length)throw new o(\"insert must contain at least one document\");\"function\"==typeof s&&(c=s,s={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof s.ordered?s.ordered:!0,f=s.writeConcern,d={};d[t]=u.join(\".\"),d[n]=a,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f),\"boolean\"==typeof s.bypassDocumentValidation&&(d.bypassDocumentValidation=s.bypassDocumentValidation);var h={};\"insert\"==t&&(h.checkKeys=!0),s.serializeFunctions&&(h.serializeFunctions=s.serializeFunctions),s.ignoreUndefined&&(h.ignoreUndefined=s.ignoreUndefined),e.command(i(\"%s.$cmd\",p),d,h,c)};c.prototype.insert=function(e,t,n,r,i,o,a,s,c){u(e,\"insert\",\"documents\",n,a,s,c)},c.prototype.update=function(e,t,n,r,i,o,a,s,c){u(e,\"update\",\"updates\",n,a,s,c)},c.prototype.remove=function(e,t,n,r,i,o,a,s,c){u(e,\"delete\",\"deletes\",n,a,s,c)},c.prototype.killCursor=function(e,t,n,a,s,c){var u=t.split(/\\./),p=i(\"%s.$cmd\",u.shift()),l={killCursors:u.join(\".\"),cursors:[n]},f=new r(e,p,l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});f.slaveOk=!0,a&&a.isConnected()&&a.write(f.toBin(),c);var d=function(e,t){if(e){if(\"function\"!=typeof c)return;return c(e)}if(0!=(1&t.responseFlags)){if(\"function\"!=typeof c)return;return c(new o(\"cursor killed or timed out\"),null)}if(!Array.isArray(t.documents)||0==t.documents.length){if(\"function\"!=typeof c)return;return c(new o(i(\"invalid killCursors result returned for cursor id %s\",cursorState.cursorId)))}\"function\"==typeof c&&c(null,t.documents[0])};s.register(f.requestId,d)},c.prototype.getMore=function(e,t,n,s,c,u,p,l,f){l=l||{};var d=t.split(/\\./),h=i(\"%s.$cmd\",d.shift()),m=(\"number\"==typeof n.cmd.maxTimeMS?n.cmd.maxTimeMS:3e3,{getMore:n.cursorId,collection:d.join(\".\"),batchSize:Math.abs(s)});n.cmd.tailable&&\"number\"==typeof n.cmd.maxAwaitTimeMS&&(m.maxTimeMS=n.cmd.maxAwaitTimeMS);var v=new r(e,h,m,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});v.slaveOk=!0;var g=function(e,t){if(e)return f(e);if(0!=(1&t.responseFlags))return f(new o(\"cursor killed or timed out\"),null);if(c)return n.documents=t.documents,n.cursorId=t.cursorId,f(null,t.documents);if(0==t.documents[0].ok)return f(o.create(t.documents[0]));var r=\"number\"==typeof t.documents[0].cursor.id?a.fromNumber(t.documents[0].cursor.id):t.documents[0].cursor.id;n.documents=t.documents[0].cursor.nextBatch,n.cursorId=r,f(null,t.documents[0],t.connection)};c&&(g.raw=c),g.documentsReturnedIn=\"nextBatch\",\"boolean\"==typeof n.promoteLongs&&(g.promoteLongs=n.promoteLongs),p.register(v.requestId,g),u.write(v.toBin(),g)},c.prototype.command=function(e,t,n,r,a,s){if(n.find){var c=p(e,t,n,r,a,s);return n.virtual=!1,c.documentsReturnedIn=\"firstBatch\",c}if(null==r.cursorId){if(n)return l(e,t,n,r,a,s);throw new o(i(\"command %s does not return a cursor\",JSON.stringify(n)))}};var p=function(e,t,n,o,a,c){c=c||{};var u=s(n,c);o.batchSize=n.batchSize||o.batchSize;var p=t.split(/\\./),l=i(\"%s.$cmd\",p.shift()),f={find:p.join(\".\")};n.query&&(f.filter=n.query);var d=n.sort;if(Array.isArray(d)){var h={};if(d.length>0&&!Array.isArray(d[0])){var m=d[1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[0]]=m}else for(var v=0;v<d.length;v++){var m=d[v][1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[v][0]]=m}d=h}n.sort&&(f.sort=d),n.fields&&(f.projection=n.fields),n.hint&&(f.hint=n.hint),n.skip&&(f.skip=n.skip),n.limit&&(f.limit=n.limit),\"number\"==typeof n.batchSize&&(f.batchSize=Math.abs(n.batchSize)),n.limit<0&&(f.limit=Math.abs(n.limit),f.singleBatch=!0),n.comment&&(f.comment=n.comment),n.maxScan&&(f.maxScan=n.maxScan),n.maxTimeMS&&(f.maxTimeMS=n.maxTimeMS),n.min&&(f.min=n.min),n.max&&(f.max=n.max),n.returnKey&&(f.returnKey=n.returnKey),n.showDiskLoc&&(f.showRecordId=n.showDiskLoc),n.snapshot&&(f.snapshot=n.snapshot),n.tailable&&(f.tailable=n.tailable),n.oplogReplay&&(f.oplogReplay=n.oplogReplay),n.noCursorTimeout&&(f.noCursorTimeout=n.noCursorTimeout),n.awaitData&&(f.awaitData=n.awaitData),n.awaitdata&&(f.awaitData=n.awaitdata),n.partial&&(f.partial=n.partial),n.explain&&(f={explain:f}),n.readConcern&&(f.readConcern=n.readConcern);var g=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,y=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(f={$query:f,$readPreference:u.toJSON()});var b=new r(e,l,f,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null,serializeFunctions:g,ignoreUndefined:y});return b.slaveOk=u.slaveOk(),b},l=function(e,t,n,o,a,c){c=c||{};var u=s(n,c),p={};for(var l in n)p[l]=n[l];var f=t.split(/\\./),d=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,h=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(p={$query:p,$readPreference:u.toJSON()});var m=new r(e,i(\"%s.$cmd\",f.shift()),p,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:h});return m.slaveOk=u.slaveOk(),m};t.exports=c},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],213:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../error\"),i=2001,o=2002,a=2006,s=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");if(!Array.isArray(o)||0==o.length)throw new r(\"documents array must contain at least one document to insert\");if(~i.indexOf(\"\\x00\"))throw new r(\"namespace cannot contain a null character\");this.requestId=e,this.bson=n,this.ns=i,this.documents=o,this.ismaster=t,a=a||{},this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!0,this.continueOnError=\"boolean\"==typeof a.continueOnError?a.continueOnError:!1,this.flags=this.continueOnError?1:0};s.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1);e.push(t);for(var i=t.length,a=0;a<this.documents.length;a++){var s=this.bson.serialize(this.documents[a],this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);if(s.length>this.ismaster.maxBsonObjectSize)throw new r(\"Document exceeds maximum allowed bson size of \"+this.ismaster.maxBsonObjectSize+\" bytes\");i+=s.length,e.push(s)}if(i>this.ismaster.maxMessageSizeBytes)throw new r(\"Command exceeds maximum message size of \"+this.ismaster.maxMessageSizeBytes+\" bytes\");var c=0;return t[c+3]=i>>24&255,t[c+2]=i>>16&255,t[c+1]=i>>8&255,t[c]=255&i,c+=4,t[c+3]=this.requestId>>24&255,t[c+2]=this.requestId>>16&255,t[c+1]=this.requestId>>8&255,t[c]=255&this.requestId,c+=4,t[c+3]=0,t[c+2]=0,t[c+1]=0,t[c]=0,c+=4,t[c+3]=o>>24&255,t[c+2]=o>>16&255,t[c+1]=o>>8&255,t[c]=255&o,c+=4,t[c+3]=this.flags>>24&255,t[c+2]=this.flags>>16&255,t[c+1]=this.flags>>8&255,t[c]=255&this.flags,c+=4,c=c+t.write(this.ns,c,\"utf8\")+1,t[c-1]=0,e};var c=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.upsert=\"boolean\"==typeof o[0].upsert?o[0].upsert:!1,this.multi=\"boolean\"==typeof o[0].multi?o[0].multi:!1,this.q=o[0].q,this.u=o[0].u,this.flags=this.upsert?1:0,this.flags=this.multi?2|this.flags:this.flags};c.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,o=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(o),r+=o.length;var a=this.bson.serialize(this.u,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(a),r+=a.length;var s=0;return t[s+3]=r>>24&255,t[s+2]=r>>16&255,t[s+1]=r>>8&255,t[s]=255&r,s+=4,t[s+3]=this.requestId>>24&255,t[s+2]=this.requestId>>16&255,t[s+1]=this.requestId>>8&255,t[s]=255&this.requestId,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,t[s+3]=i>>24&255,t[s+2]=i>>16&255,t[s+1]=i>>8&255,t[s]=255&i,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,s=s+t.write(this.ns,s,\"utf8\")+1,t[s-1]=0,t[s+3]=this.flags>>24&255,t[s+2]=this.flags>>16&255,t[s+1]=this.flags>>8&255,t[s]=255&this.flags,s+=4,e};var u=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.limit=\"number\"==typeof o[0].limit?o[0].limit:1,this.q=o[0].q,this.flags=1==this.limit?1:0};u.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,i=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(i),r+=i.length;var o=0;return t[o+3]=r>>24&255,t[o+2]=r>>16&255,t[o+1]=r>>8&255,t[o]=255&r,o+=4,t[o+3]=this.requestId>>24&255,t[o+2]=this.requestId>>16&255,t[o+1]=this.requestId>>8&255,t[o]=255&this.requestId,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,t[o+3]=a>>24&255,t[o+2]=a>>16&255,t[o+1]=a>>8&255,t[o]=255&a,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,o=o+t.write(this.ns,o,\"utf8\")+1,t[o-1]=0,t[o+3]=this.flags>>24&255,t[o+2]=this.flags>>16&255,t[o+1]=this.flags>>8&255,t[o]=255&this.flags,o+=4,e},t.exports={Insert:s,Update:c,Remove:u}}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,buffer:void 0}],214:[function(e,t,n){var r=e(\"../topologies/read_preference\"),i=function(e,t){var n=e.readPreference||new r(\"primary\");if(t.readPreference&&(n=t.readPreference),\"string\"==typeof n&&(n=new r(n)),!(n instanceof r))throw new MongoError(\"readPreference must be a ReadPreference instance\");return n};t.exports={getReadPreference:i}},{\"../topologies/read_preference\":204}],215:[function(e,t,n){var r=e(\"mongodb-core\"),i=e(\"./lib/apm\"),o=e(\"./lib/mongo_client\").connect;o.MongoError=r.MongoError,o.Admin=e(\"./lib/admin\"),o.MongoClient=e(\"./lib/mongo_client\"),o.Db=e(\"./lib/db\"),o.Collection=e(\"./lib/collection\"),o.Server=e(\"./lib/server\"),o.ReplSet=e(\"./lib/replset\"),o.Mongos=e(\"./lib/mongos\"),o.ReadPreference=e(\"./lib/read_preference\"),o.GridStore=e(\"./lib/gridfs/grid_store\"),o.Chunk=e(\"./lib/gridfs/chunk\"),o.Logger=r.Logger,o.Cursor=e(\"./lib/cursor\"),o.GridFSBucket=e(\"./lib/gridfs-stream\"),o.Binary=r.BSON.Binary,o.Code=r.BSON.Code,o.Map=r.BSON.Map,o.DBRef=r.BSON.DBRef,o.Double=r.BSON.Double,o.Long=r.BSON.Long,o.MinKey=r.BSON.MinKey,o.MaxKey=r.BSON.MaxKey,o.ObjectID=r.BSON.ObjectID,o.ObjectId=r.BSON.ObjectID,o.Symbol=r.BSON.Symbol,o.Timestamp=r.BSON.Timestamp,o.connect=o,o.instrument=function(e,t){return\"function\"==typeof e&&(t=e,e={}),new i(r,e,t)},t.exports=o},{\"./lib/admin\":216,\"./lib/apm\":218,\"./lib/collection\":222,\"./lib/cursor\":224,\"./lib/db\":225,\"./lib/gridfs-stream\":227,\"./lib/gridfs/chunk\":229,\"./lib/gridfs/grid_store\":230,\"./lib/mongo_client\":232,\"./lib/mongos\":233,\"./lib/read_preference\":234,\"./lib/replset\":235,\"./lib/server\":236,\"mongodb-core\":188}],216:[function(e,t,n){\"use strict\";var r=e(\"./utils\").toError,i=e(\"./metadata\"),o=e(\"./utils\").shallowClone,a=function(e,t,n){if(!(this instanceof a))return new a(e,t);this.s={db:e,topology:t,promiseLibrary:n}},s=a.define=new i(\"Admin\",a,!1);a.prototype.command=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},\"function\"==typeof n?this.s.db.executeDbAdminCommand(e,t,function(e,t){return null!=n?n(e,t):null}):new this.s.promiseLibrary(function(n,i){r.s.db.executeDbAdminCommand(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"command\",{callback:!0,promise:!0}),a.prototype.buildInfo=function(e){var t=this;return\"function\"==typeof e?this.serverInfo(e):new this.s.promiseLibrary(function(e,n){t.serverInfo(function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"buildInfo\",{callback:!0,promise:!0}),a.prototype.serverInfo=function(e){var t=this;return\"function\"==typeof e?this.s.db.executeDbAdminCommand({buildinfo:1},function(t,n){return null!=t?e(t,null):void e(null,n)}):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({buildinfo:1},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"serverInfo\",{callback:!0,promise:!0}),a.prototype.serverStatus=function(e){var t=this;return\"function\"==typeof e?c(t,e):new this.s.promiseLibrary(function(e,n){c(t,function(t,r){return t?n(t):void e(r)})})};var c=function(e,t){e.s.db.executeDbAdminCommand({serverStatus:1},function(e,n){return null!=e||1!==n.ok?e?t(e,!1):t(r(n),!1):void t(null,n)})};s.classMethod(\"serverStatus\",{callback:!0,promise:!0}),a.prototype.profilingLevel=function(e){var t=this;return\"function\"==typeof e?u(t,e):new this.s.promiseLibrary(function(e,n){u(t,function(t,r){return t?n(t):void e(r)})})};var u=function(e,t){e.s.db.executeDbAdminCommand({profile:-1},function(e,n){if(n=n,null==e&&1===n.ok){var r=n.was;return 0==r?t(null,\"off\"):1==r?t(null,\"slow_only\"):2==r?t(null,\"all\"):t(new Error(\"Error: illegal profiling level value \"+r),null)}null!=e?t(e,null):t(new Error(\"Error with profile command\"),null)})};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.ping=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),\"function\"==typeof t?this.s.db.executeDbAdminCommand({ping:1},t):new this.s.promiseLibrary(function(e,t){n.s.db.executeDbAdminCommand({ping:1},function(n,r){return n?t(n):void e(r)})})},s.classMethod(\"ping\",{callback:!0,promise:!0}),a.prototype.authenticate=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=o(n),n.authdb=\"admin\",\"function\"==typeof r?this.s.db.authenticate(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.authenticate(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"authenticate\",{callback:!0,promise:!0}),a.prototype.logout=function(e){var t=this;return\"function\"==typeof e?this.s.db.logout({authdb:\"admin\"},e):new this.s.promiseLibrary(function(e,n){t.s.db.logout({authdb:\"admin\"},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"logout\",{callback:!0,promise:!0});var p=function(e,t){return e=o(e),e.w||e.wtimeout||e.j||e.fsync?e:(t.writeConcern&&(e.w&&(e.w=t.writeConcern.w),e.wtimeout&&(e.wtimeout=t.writeConcern.wtimeout),e.j&&(e.j=t.writeConcern.j),e.fsync&&(e.fsync=t.writeConcern.fsync)),e)};a.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift():{},n=n||{},n=p(n,i.s.db),n.dbName=\"admin\",\"function\"==typeof r?i.s.db.addUser(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.addUser(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"addUser\",{callback:!0,promise:!0}),a.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},t=p(t,r.s.db),t.dbName=\"admin\",\"function\"==typeof n?r.s.db.removeUser(e,t,n):new this.s.promiseLibrary(function(n,i){r.s.db.removeUser(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"removeUser\",{callback:!0,promise:!0}),a.prototype.setProfilingLevel=function(e,t){var n=this;return\"function\"==typeof t?l(n,e,t):new this.s.promiseLibrary(function(t,r){l(n,e,function(e,n){return e?r(e):void t(n)})})};var l=function(e,t,n){var r={},i=0;if(\"off\"==t)i=0;else if(\"slow_only\"==t)i=1;else{if(\"all\"!=t)return n(new Error(\"Error: illegal profiling level value \"+t));i=2}r.profile=i,e.s.db.executeDbAdminCommand(r,function(e,r){return r=r,null==e&&1===r.ok?n(null,t):null!=e?n(e,null):n(new Error(\"Error with profile command\"),null)})};s.classMethod(\"setProfilingLevel\",{callback:!0,promise:!0}),a.prototype.profilingInfo=function(e){var t=this;return\"function\"==typeof e?f(t,e):new this.s.promiseLibrary(function(e,n){f(t,function(t,r){return t?n(t):void e(r)})})};var f=function(e,t){try{e.s.topology.cursor(\"admin.system.profile\",{find:\"system.profile\",query:{}},{}).toArray(t)}catch(n){return t(n,null)}};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.validateCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},\"function\"==typeof n?d(r,e,t,n):new this.s.promiseLibrary(function(n,i){d(r,e,t,function(e,t){return e?i(e):void n(t)})})};var d=function(e,t,n,r){for(var i={validate:t},o=Object.keys(n),a=0;a<o.length;a++)n.hasOwnProperty(o[a])&&(i[o[a]]=n[o[a]]);e.s.db.command(i,function(e,n){return null!=e?r(e,null):0===n.ok?r(new Error(\"Error with validate command\"),null):null!=n.result&&n.result.constructor!=String?r(new Error(\"Error with validation data\"),null):null!=n.result&&null!=n.result.match(/exception|corrupt/)?r(new Error(\"Error: invalid collection \"+t),null):null==n.valid||n.valid?r(null,n):r(new Error(\"Error: invalid collection \"+t),null)})};s.classMethod(\"validateCollection\",{callback:!0,promise:!0}),a.prototype.listDatabases=function(e){var t=this;return\"function\"==typeof e?t.s.db.executeDbAdminCommand({listDatabases:1},{},e):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({listDatabases:1},{},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"listDatabases\",{callback:!0,promise:!0}),a.prototype.replSetGetStatus=function(e){var t=this;return\"function\"==typeof e?h(t,e):new this.s.promiseLibrary(function(e,n){h(t,function(t,r){return t?n(t):void e(r)})})};var h=function(e,t){e.s.db.executeDbAdminCommand({replSetGetStatus:1},function(e,n){return null==e&&1===n.ok?t(null,n):e?t(e,!1):void t(r(n),!1)})};s.classMethod(\"replSetGetStatus\",{callback:!0,promise:!0}),t.exports=a},{\"./metadata\":231,\"./utils\":239}],217:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\"),e(\"mongodb-core\").MongoError),o=e(\"stream\").Readable||e(\"readable-stream\").Readable,a=e(\"./metadata\"),s=e(\"./cursor\"),c=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference,function(t,r,i,a,u,p){s.apply(this,Array.prototype.slice.call(arguments,0));var l=c.INIT,f={},d=null,h=a.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),o.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:a,topology:u,topologyOptions:p,promiseLibrary:h}});r(c,o);for(var u in s.prototype)c.prototype[u]=s.prototype[u];var p=c.define=new a(\"AggregationCursor\",c,!0);c.prototype.batchSize=function(e){if(this.s.state==c.CLOSED||this.isDead())throw i.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw i.create({message:\"batchSize requires an integer\",drvier:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},p.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[c]}),c.prototype.geoNear=function(e){return this.s.cmd.pipeline.push({$geoNear:e}),this},p.classMethod(\"geoNear\",{callback:!1,promise:!1,returns:[c]}),c.prototype.group=function(e){return this.s.cmd.pipeline.push({$group:e}),this},p.classMethod(\"group\",{callback:!1,promise:!1,returns:[c]}),c.prototype.limit=function(e){return this.s.cmd.pipeline.push({$limit:e}),this},p.classMethod(\"limit\",{callback:!1,promise:!1,returns:[c]}),c.prototype.match=function(e){return this.s.cmd.pipeline.push({$match:e}),this},p.classMethod(\"match\",{callback:!1,promise:!1,returns:[c]}),c.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},p.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[c]}),c.prototype.out=function(e){return this.s.cmd.pipeline.push({$out:e}),this},p.classMethod(\"out\",{callback:!1,promise:!1,returns:[c]}),c.prototype.project=function(e){return this.s.cmd.pipeline.push({$project:e}),this},p.classMethod(\"project\",{callback:!1,promise:!1,returns:[c]}),c.prototype.lookup=function(e){return this.s.cmd.pipeline.push({$lookup:e}),this},p.classMethod(\"lookup\",{callback:!1,promise:!1,returns:[c]}),c.prototype.redact=function(e){return this.s.cmd.pipeline.push({$redact:e}),this},p.classMethod(\"redact\",{callback:!1,promise:!1,returns:[c]}),c.prototype.skip=function(e){return this.s.cmd.pipeline.push({\n$skip:e}),this},p.classMethod(\"skip\",{callback:!1,promise:!1,returns:[c]}),c.prototype.sort=function(e){return this.s.cmd.pipeline.push({$sort:e}),this},p.classMethod(\"sort\",{callback:!1,promise:!1,returns:[c]}),c.prototype.unwind=function(e){return this.s.cmd.pipeline.push({$unwind:e}),this},p.classMethod(\"unwind\",{callback:!1,promise:!1,returns:[c]}),c.prototype.get=c.prototype.toArray,p.classMethod(\"toArray\",{callback:!0,promise:!0}),p.classMethod(\"each\",{callback:!0,promise:!1}),p.classMethod(\"forEach\",{callback:!0,promise:!1}),p.classMethod(\"next\",{callback:!0,promise:!0}),p.classMethod(\"close\",{callback:!0,promise:!0}),p.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),p.classMethod(\"rewind\",{callback:!1,promise:!1}),p.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),p.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),c.INIT=0,c.OPEN=1,c.CLOSED=2,t.exports=c}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],218:[function(e,t,n){var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./aggregation_cursor\"),a=e(\"./command_cursor\"),s=e(\"./bulk/ordered\").OrderedBulkOperation,c=e(\"./bulk/unordered\").UnorderedBulkOperation,u=e(\"./gridfs/grid_store\"),p=(e(\"./server\"),e(\"./replset\"),e(\"./mongos\"),e(\"./cursor\")),l=e(\"./collection\"),f=e(\"./db\"),d=(e(\"./admin\"),{operationId:1,next:function(){return this.operationId++}}),h={current:function(){return(new Date).getTime()},duration:function(e,t){return t-e}},m=[\"authenticate\",\"saslStart\",\"saslContinue\",\"getnonce\",\"createUser\",\"updateUser\",\"copydbgetnonce\",\"copydbsaslstart\",\"copydb\"],v=function(t,n,i){n=n||{};var v=n.operationIdGenerator||d,g=n.timestampGenerator||h;r.call(this),this.overloads=[];var y=function(e){for(var t=[],n=[u,s,c,a,o,p,l,f],r=0;r<n.length;r++)n[r].define&&t.push(n[r].define.generate());e(null,t)};\"function\"==typeof i&&y(i);var b=this,x=[\"command\",\"insert\",\"update\",\"remove\"],w=t.Server.prototype;x.forEach(function(e){var n=w[e];b.overloads.push({proto:w,name:e,func:n}),w[e]=function(){var r=t.Query.nextRequestId(),i=Array.prototype.slice.call(arguments,0),o=i[0],a=i[1],s=i[2]||{},c=Object.keys(a),u=c[0],p=o.split(\".\")[0];if(\"insert\"!=e||this.lastIsMaster().maxWireVersion)if(\"update\"!=e||this.lastIsMaster().maxWireVersion)if(\"remove\"!=e||this.lastIsMaster().maxWireVersion){if(\"insert\"==e||\"update\"==e||\"remove\"==e&&this.lastIsMaster().maxWireVersion>=2)return n.apply(this,i)}else{u=\"delete\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={\"delete\":l,deletes:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"update\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={update:l,updates:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"insert\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={insert:l,documents:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}var f=i.pop(),d=f.operationId||v.next(),h=this.s.pool.get(),y={command:a,databaseName:p,commandName:u,requestId:r,operationId:d,connectionId:h};m.indexOf(u.toLowerCase())&&(y.commandObj={},y.commandObj[u]=!0),b.emit(\"started\",y);var x=g.current();i.push(function(e,t){var n=g.current(),i={duration:g.duration(x,n),commandName:u,requestId:r,operationId:d,connectionId:h};e||t&&t.result&&0==t.result.ok?(i.failure=e||t.result.writeErrors||t.result,m.indexOf(u.toLowerCase())&&(i.failure={}),b.emit(\"failed\",i)):a&&a.writeConcern&&0==a.writeConcern.w?(i.reply={ok:1},b.emit(\"succeeded\",i)):(i.reply=t&&t.result?t.result:t,-1!=m.indexOf(u.toLowerCase())&&(i.reply={}),b.emit(\"succeeded\",i)),f(e,t)}),n.apply(this,i)}});var x=[\"execute\"],_=[e(\"./bulk/ordered\").Bulk.prototype,e(\"./bulk/unordered\").Bulk.prototype];_.forEach(function(e){x.forEach(function(t){var n=e[t];b.overloads.push({proto:e,name:t,func:n}),e[t]=function(){var e=Array.prototype.slice.call(arguments,0);this.operationId=v.next();var t=e.pop();return\"function\"!=typeof t?n.apply(this,e):(e.push(function(e,n){t(e,n)}),void n.apply(this,e))}})});var x=[\"_find\",\"_getmore\",\"_killcursor\"],_=[e(\"./cursor\").prototype,e(\"./command_cursor\").prototype,e(\"./aggregation_cursor\").prototype],k={_find:\"find\",_getmore:\"getMore\",_killcursor:\"killCursors\",_explain:\"explain\"};_.forEach(function(e){x.forEach(function(n){var r=e[n];b.overloads.push({proto:e,name:n,func:r}),e[n]=function(){var e=this,i=t.Query.nextRequestId(),o=v.next(),a=this.ns.split(\".\"),s=a[0];a.shift();var c=a.join(\".\"),u=this.query,p=this.s.cmd;\"_find\"==n&&(e.operationId=o),\"_getmore\"==n?(u={getMore:this.cursorState.cursorId,collection:c,batchSize:p.batchSize},p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS)):\"_killcursors\"==n?u={killCursors:c,cursors:[this.cursorState.cursorId]}:p.find?(u={find:c,filter:p.query},p.sort&&(u.sort=p.sort),p.fields&&(u.projection=p.fields),p.limit&&p.limit<0?(u.limit=Math.abs(p.limit),u.singleBatch=!0):p.limit&&(u.limit=Math.abs(p.limit)),p.skip&&(u.skip=p.skip),p.hint&&(u.hint=p.hint),p.batchSize&&(u.batchSize=p.batchSize),\"boolean\"==typeof p.returnKey&&(u.returnKey=p.returnKey),p.comment&&(u.comment=p.comment),p.min&&(u.min=p.min),p.max&&(u.max=p.max),p.maxScan&&(u.maxScan=p.maxScan),p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS),\"boolean\"==typeof p.awaitData&&(u.awaitData=p.awaitData),\"boolean\"==typeof p.snapshot&&(u.snapshot=p.snapshot),\"boolean\"==typeof p.tailable&&(u.tailable=p.tailable),\"boolean\"==typeof p.oplogReplay&&(u.oplogReplay=p.oplogReplay),\"boolean\"==typeof p.noCursorTimeout&&(u.noCursorTimeout=p.noCursorTimeout),\"boolean\"==typeof p.partial&&(u.partial=p.partial),\"boolean\"==typeof p.showDiskLoc&&(u.showRecordId=p.showDiskLoc),p.readConcern&&(u.readConcern=p.readConcern),p.explain&&(u.explain=p.explain),p.exhaust&&(u.exhaust=p.exhaust),p.explain&&(u={explain:u,verbosity:\"allPlansExecution\"},p.readConcern&&(u.readConcern=p.readConcern),n=\"_explain\")):u=p;var l=null;this.connection&&(l=this.connection),!l&&this.server&&this.server.getConnection&&(l=this.server.getConnection());var f=\"_find\"==n?Object.keys(u)[0]:k[n],u={command:u,databaseName:s,commandName:f,requestId:i,operationId:this.operationId,connectionId:l},d=Array.prototype.slice.call(arguments,0),h=d.pop();if(\"function\"!=typeof h&&\"killCursors\"!=u.commandName){d.push(h);var m=r.apply(this,d);return new e.s.promiseLibrary(function(t,n){var r=g.current();b.emit(\"started\",u),m.then(function(t){var n={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:e.cursorState.documents};b.emit(\"succeeded\",n)})[\"catch\"](function(t){var a={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",a),n(t)})})}var y=g.current();if(b.emit(\"started\",u),\"killCursors\"==u.commandName&&this.server.lastIsMaster()&&this.server.lastIsMaster().maxWireVersion<4){var u={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:[{ok:1}]};return b.emit(\"succeeded\",u)}d.push(function(t,n){if(t){var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",r)}else{\"getmore\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,nextBatch:e.cursorState.documents},ok:1}:\"find\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,firstBatch:e.cursorState.documents},ok:1}:\"killcursors\"==f.toLowerCase()&&null==n&&(n={cursorsUnknown:[e.cursorState.lastCursorId],ok:1});var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:n&&n.result?n.result:n};b.emit(\"succeeded\",r)}h&&h(t,n)}),r.apply(this,d)}})})};i(v,r),v.prototype.uninstrument=function(){for(var e=0;e<this.overloads.length;e++){var t=this.overloads[e];t.proto[t.name]=t.func}this.removeAllListeners(\"started\"),this.removeAllListeners(\"succeeded\"),this.removeAllListeners(\"failed\")},t.exports=v},{\"./admin\":216,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./collection\":222,\"./command_cursor\":223,\"./cursor\":224,\"./db\":225,\"./gridfs/grid_store\":230,\"./mongos\":233,\"./replset\":235,\"./server\":236,events:void 0,util:void 0}],219:[function(e,t,n){\"use strict\";var r=(e(\"../utils\"),e(\"mongodb-core\").BSON.Long),i=e(\"mongodb-core\").BSON.Timestamp,o=8,a=22,s=64,c=65,u=1,p=2,l=3,f=function(e,t,n){return null!=n.w||null!=n.j||null!=n.fsync?e.writeConcern=n:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern),e},d=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},h=function(e,t){this.originalZeroIndex=t,this.currentIndex=0,this.originalIndexes=[],this.batchType=e,this.operations=[],this.size=0,this.sizeBytes=0},m=function(e,t,n){this.batchType=e,this.index=n,this.operation=t},v=function(e){d(this,\"ok\",e.ok),d(this,\"nInserted\",e.nInserted),d(this,\"nUpserted\",e.nUpserted),d(this,\"nMatched\",e.nMatched),d(this,\"nModified\",e.nModified),d(this,\"nRemoved\",e.nRemoved),this.getInsertedIds=function(){return e.insertedIds},this.getUpsertedIds=function(){return e.upserted},this.getUpsertedIdAt=function(t){return e.upserted[t]},this.getRawResponse=function(){return e},this.hasWriteErrors=function(){return e.writeErrors.length>0},this.getWriteErrorCount=function(){return e.writeErrors.length},this.getWriteErrorAt=function(t){return t<e.writeErrors.length?e.writeErrors[t]:null},this.getWriteErrors=function(){return e.writeErrors},this.getLastOp=function(){return e.lastOp},this.getWriteConcernError=function(){if(0==e.writeConcernErrors.length)return null;if(1==e.writeConcernErrors.length)return e.writeConcernErrors[0];for(var t=\"\",n=0;n<e.writeConcernErrors.length;n++){var r=e.writeConcernErrors[n];t+=r.errmsg,0==n&&(t+=\" and \")}return new g({errmsg:t,code:s})},this.toJSON=function(){return e},this.toString=function(){return\"BulkWriteResult(\"+this.toJSON(e)+\")\"},this.isOk=function(){return 1==e.ok}},g=function(e){return this instanceof g?(d(this,\"code\",e.code),d(this,\"errmsg\",e.errmsg),this.toJSON=function(){return{code:e.code,errmsg:e.errmsg}},void(this.toString=function(){return\"WriteConcernError(\"+e.errmsg+\")\"})):new g(e)},y=function(e){return this instanceof y?(d(this,\"code\",e.code),d(this,\"index\",e.index),d(this,\"errmsg\",e.errmsg),this.getOperation=function(){return e.op},this.toJSON=function(){return{code:e.code,index:e.index,errmsg:e.errmsg,op:e.op}},void(this.toString=function(){return\"WriteError(\"+JSON.stringify(this.toJSON())+\")\"})):new y(e)},b=function(e,t,n,o,a){if(o)a=o;else if(a&&a.result)a=a.result;else if(null==a)return;if(0==a.ok&&1==n.ok){n.ok=0;var s={index:0,code:a.code||0,errmsg:a.message,op:t.operations[0]};return void n.writeErrors.push(new y(s))}if(0!=a.ok||0!=n.ok){if(a.opTime||a.lastOp){var c=a.lastOp||a.opTime,f=null,d=null;if(c instanceof i)null==n.lastOp?n.lastOp=c:c.greaterThan(n.lastOp)&&(n.lastOp=c);else{n.lastOp&&(f=\"number\"==typeof n.lastOp.ts?r.fromNumber(n.lastOp.ts):n.lastOp.ts,d=\"number\"==typeof n.lastOp.t?r.fromNumber(n.lastOp.t):n.lastOp.t);var h=\"number\"==typeof c.ts?r.fromNumber(c.ts):c.ts,m=\"number\"==typeof c.t?r.fromNumber(c.t):c.t;null==n.lastOp?n.lastOp=c:h.greaterThan(f)?n.lastOp=c:h.equals(f)&&m.greaterThan(d)&&(n.lastOp=c)}}t.batchType==u&&a.n&&(n.nInserted=n.nInserted+a.n),t.batchType==l&&a.n&&(n.nRemoved=n.nRemoved+a.n);var v=0;if(Array.isArray(a.upserted)){v=a.upserted.length;for(var b=0;b<a.upserted.length;b++)n.upserted.push({index:a.upserted[b].index+t.originalZeroIndex,_id:a.upserted[b]._id})}else a.upserted&&(v=1,n.upserted.push({index:t.originalZeroIndex,_id:a.upserted}));if(t.batchType==p&&a.n){var x=a.nModified;n.nUpserted=n.nUpserted+v,n.nMatched=n.nMatched+(a.n-v),\"number\"==typeof x?n.nModified=n.nModified+x:n.nModified=null}if(Array.isArray(a.writeErrors))for(var b=0;b<a.writeErrors.length;b++){var s={index:t.originalZeroIndex+a.writeErrors[b].index,code:a.writeErrors[b].code,errmsg:a.writeErrors[b].errmsg,op:t.operations[a.writeErrors[b].index]};n.writeErrors.push(new y(s))}a.writeConcernError&&n.writeConcernErrors.push(new g(a.writeConcernError))}},x=function(e){for(var t={},n=Object.keys(e),r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t};n.BulkWriteResult=v,n.WriteError=y,n.Batch=h,n.LegacyOp=m,n.mergeBatchResults=b,n.cloneOptions=x,n.writeConcern=f,n.INVALID_BSON_ERROR=a,n.WRITE_CONCERN_ERROR=s,n.MULTIPLE_ERROR=c,n.UNKNOWN_ERROR=o,n.INSERT=u,n.UPDATE=p,n.REMOVE=l},{\"../utils\":239,\"mongodb-core\":188}],220:[function(e,t,n){(function(n){\"use strict\";function r(t,r,o){o=null==o?{}:o;var a=!1,s=null,u=t.bson,p=r.collectionName,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=i.writeConcern(c(o),r,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentBatch:null,currentIndex:0,currentBatchSize:0,currentBatchSizeBytes:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:p,bson:u,topology:t,options:o,currentOp:s,executed:a,collection:r,promiseLibrary:h,err:null,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}}var i=e(\"./common\"),o=e(\"../utils\"),a=e(\"../utils\").toError,s=(e(\"util\").format,e(\"../utils\").handleCallback),c=o.shallowClone,u=(i.WriteError,i.BulkWriteResult),p=(i.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),l=e(\"../metadata\"),f=e(\"mongodb-core\").BSON,d=i.Batch,h=i.mergeBatchResults,m=new f.BSONPure,v=function(e){this.s=e.s};v.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.replaceOne=function(e){this.updateOne(e)},v.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},v.prototype.deleteOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.removeOne=v.prototype.deleteOne,v.prototype[\"delete\"]=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.remove=v.prototype[\"delete\"];var g=function(e,t,n){var r=m.calculateObjectSize(n,!1);if(r>=e.s.maxBatchSizeBytes)throw a(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(null==e.s.currentBatch&&(e.s.currentBatch=new d(t,e.s.currentIndex)),e.s.currentBatchSize+1>=e.s.maxWriteBatchSize||e.s.currentBatchSizeBytes+e.s.currentBatchSizeBytes>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t?(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new d(t,e.s.currentIndex),e.s.currentBatchSize=0,e.s.currentBatchSizeBytes=0):(e.s.currentBatchSize=e.s.currentBatchSize+1,e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r),t==i.INSERT&&e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id}),Array.isArray(n))throw a(\"operation passed in cannot be an Array\");return e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentBatch.operations.push(n),e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r,e.s.currentIndex=e.s.currentIndex+1,e},y=r.define=new l(\"OrderedBulkOperation\",r,!1);r.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,g(this,i.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var r=!e.updateOne&&!e.replaceOne,o={q:e[t].filter,u:e[t].update||e[t].replacement,multi:r};return o.upsert=!!e[t].upsert,g(this,i.UPDATE,o)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,g(this,i.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,o={q:e[t].filter,limit:s};return g(this,i.REMOVE,o)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new p),g(this,i.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new p),g(this,i.INSERT,e.insertOne.document);if(!e.insertMany)throw a(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new p),g(this,i.INSERT,e.insertMany[c])},r.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new p),g(this,i.INSERT,e)},r.prototype.find=function(e){if(!e)throw a(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new v(this)},Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}});var b=function(e,t){if(0==e.s.batches.length)return s(t,null,new u(e.s.bulkResult));var n=e.s.batches.shift(),r=function(r,i){if(r&&r.driver||r&&r.message)return s(t,r);r&&(r.ok=0);var o=h(!0,n,e.s.bulkResult,r,i);return null!=o?s(t,null,new u(e.s.bulkResult)):e.s.bulkResult.writeErrors.length>0?s(t,a(e.s.bulkResult.writeErrors[0]),new u(e.s.bulkResult)):void b(e,t)},o={ordered:!0};null!=e.s.writeConcern&&(o.writeConcern=e.s.writeConcern),e.operationId&&(r.operationId=e.operationId),e.s.options.serializeFunctions&&(o.serializeFunctions=!0),e.s.options.ignoreUndefined&&(o.ignoreUndefined=!0),1==e.s.bypassDocumentValidation&&(o.bypassDocumentValidation=!0);try{n.batchType==i.INSERT?e.s.topology.insert(e.s.collection.namespace,n.operations,o,r):n.batchType==i.UPDATE?e.s.topology.update(e.s.collection.namespace,n.operations,o,r):n.batchType==i.REMOVE&&e.s.topology.remove(e.s.collection.namespace,n.operations,o,r)}catch(c){c.ok=0,s(t,null,h(!1,n,e.s.bulkResult,c,null))}};r.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw new a(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentBatch&&this.s.batches.push(this.s.currentBatch),0==this.s.batches.length)throw a(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?b(this,t):new this.s.promiseLibrary(function(e,t){b(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var x=function(e,t,n){return new r(e,t,n)};x.OrderedBulkOperation=r,t.exports=x,t.exports.Bulk=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],221:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./common\"),i=e(\"../utils\"),o=e(\"../utils\").toError,a=(e(\"util\").format,e(\"../utils\").handleCallback),s=i.shallowClone,c=(r.WriteError,r.BulkWriteResult),u=(r.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),p=e(\"mongodb-core\").BSON,l=e(\"../metadata\"),f=r.Batch,d=r.mergeBatchResults,h=new p.BSONPure,m=function(e){this.s=e.s};m.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.replaceOne=function(e){this.updateOne(e)},m.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},m.prototype.removeOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,v(this,r.REMOVE,e)},m.prototype.remove=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,v(this,r.REMOVE,e)};var v=function(e,t,n){var i=h.calculateObjectSize(n,!1);if(i>=e.s.maxBatchSizeBytes)throw o(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(e.s.currentBatch=null,t==r.INSERT?e.s.currentBatch=e.s.currentInsertBatch:t==r.UPDATE?e.s.currentBatch=e.s.currentUpdateBatch:t==r.REMOVE&&(e.s.currentBatch=e.s.currentRemoveBatch),null==e.s.currentBatch&&(e.s.currentBatch=new f(t,e.s.currentIndex)),(e.s.currentBatch.size+1>=e.s.maxWriteBatchSize||e.s.currentBatch.sizeBytes+i>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t)&&(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new f(t,e.s.currentIndex)),Array.isArray(n))throw o(\"operation passed in cannot be an Array\");return e.s.currentBatch.operations.push(n),e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentIndex=e.s.currentIndex+1,t==r.INSERT?(e.s.currentInsertBatch=e.s.currentBatch,e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id})):t==r.UPDATE?e.s.currentUpdateBatch=e.s.currentBatch:t==r.REMOVE&&(e.s.currentRemoveBatch=e.s.currentBatch),e.s.currentBatch.size=e.s.currentBatch.size+1,e.s.currentBatch.sizeBytes=e.s.currentBatch.sizeBytes+i,e},g=function(t,i,o){o=null==o?{}:o;var a=i.collectionName,c=!1,u=null,p=t.bson,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=r.writeConcern(s(o),i,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentInsertBatch:null,currentUpdateBatch:null,currentRemoveBatch:null,currentBatch:null,currentIndex:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:a,bson:p,topology:t,options:o,currentOp:u,executed:c,collection:i,promiseLibrary:h,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}},y=g.define=new l(\"UnorderedBulkOperation\",g,!1);g.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new u),v(this,r.INSERT,e)},g.prototype.find=function(e){if(!e)throw o(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new m(this)},Object.defineProperty(g.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}}),g.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,v(this,r.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var i=!e.updateOne&&!e.replaceOne,a={q:e[t].filter,u:e[t].update||e[t].replacement,multi:i};return e[t].upsert&&(a.upsert=!0),v(this,r.UPDATE,a)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,v(this,r.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,a={q:e[t].filter,limit:s};return v(this,r.REMOVE,a)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new u),v(this,r.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new u),v(this,r.INSERT,e.insertOne.document);if(!e.insertMany)throw o(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new u),v(this,r.INSERT,e.insertMany[c])};var b=function(e,t,n){var i={ordered:!1};null!=e.s.writeConcern&&(i.writeConcern=e.s.writeConcern);var o=function(r,i){return r&&r.driver||r&&r.message?a(n,r):(r&&(r.ok=0),void a(n,null,d(!1,t,e.s.bulkResult,r,i)))};e.operationId&&(o.operationId=e.operationId),e.s.options.serializeFunctions&&(i.serializeFunctions=!0),1==e.s.bypassDocumentValidation&&(i.bypassDocumentValidation=!0);try{t.batchType==r.INSERT?e.s.topology.insert(e.s.collection.namespace,t.operations,i,o):t.batchType==r.UPDATE?e.s.topology.update(e.s.collection.namespace,t.operations,i,o):t.batchType==r.REMOVE&&e.s.topology.remove(e.s.collection.namespace,t.operations,i,o)}catch(s){s.ok=0,a(n,null,d(!1,t,e.s.bulkResult,s,null))}},x=function(e,t){for(var n=e.s.batches.length,r=0;r<e.s.batches.length;r++)b(e,e.s.batches[r],function(r,i){if(r&&(s=r),n-=1,0==n){if(s)return a(t,s);var s=e.s.bulkResult.writeErrors.length>0?o(e.s.bulkResult.writeErrors[0]):null;a(t,s,new c(e.s.bulkResult))}})};g.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw o(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentInsertBatch&&this.s.batches.push(this.s.currentInsertBatch),this.s.currentUpdateBatch&&this.s.batches.push(this.s.currentUpdateBatch),this.s.currentRemoveBatch&&this.s.batches.push(this.s.currentRemoveBatch),0==this.s.batches.length)throw o(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?x(this,t):new this.s.promiseLibrary(function(e,t){x(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var w=function(e,t,n){return new g(e,t,n)};w.UnorderedBulkOperation=g,t.exports=w,t.exports.Bulk=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],222:[function(e,t,n){(function(n,r){\"use strict\";function i(e){if(!d(e))return e;for(var t,n=Object.keys(e),r=n.length,o={};r--;)t=n[r],\"function\"==typeof e[t]?o[t]=new c(String(e[t])):o[t]=i(e[t]);return o}var o=e(\"./utils\").checkCollectionName,a=e(\"mongodb-core\").BSON.ObjectID,s=e(\"mongodb-core\").BSON.Long,c=e(\"mongodb-core\").BSON.Code,u=e(\"util\").format,p=e(\"./aggregation_cursor\"),l=e(\"mongodb-core\").MongoError,f=e(\"./utils\").shallowClone,d=e(\"./utils\").isObject,h=e(\"./utils\").toError,m=e(\"./utils\").normalizeHintField,v=e(\"./utils\").handleCallback,g=e(\"./utils\").decorateCommand,y=e(\"./utils\").formattedOrderClause,b=e(\"./read_preference\"),x=e(\"mongodb-core\").ReadPreference,w=e(\"./command_cursor\"),_=e(\"./metadata\"),k=e(\"./cursor\"),j=e(\"./bulk/unordered\"),S=e(\"./bulk/ordered\"),E=function(t,n,i,s,c,p){o(s);var l=null,f=null==p||null==p.slaveOk?t.slaveOk:p.slaveOk,d=null==p||null==p.serializeFunctions?t.serializeFunctions:p.serializeFunctions,h=null==p||null==p.raw?t.raw:p.raw,m=null,v=null,g=u(\"%s.%s\",i,s),y=p.promiseLibrary;y||(y=\"function\"==typeof r.Promise?r.Promise:e(\"es6-promise\").Promise),p&&p.readPreference?m=p.readPreference:t.options.readPreference&&(m=t.options.readPreference),c=null==c?a:c,this.s={pkFactory:c,db:t,topology:n,dbName:i,options:p,namespace:g,readPreference:m,raw:h,slaveOk:f,serializeFunctions:d,internalHint:l,collectionHint:v,name:s,promiseLibrary:y,readConcern:p.readConcern}},O=E.define=new _(\"Collection\",E,!1);Object.defineProperty(E.prototype,\"collectionName\",{enumerable:!0,get:function(){return this.s.name}}),Object.defineProperty(E.prototype,\"namespace\",{enumerable:!0,get:function(){return this.s.namespace}}),Object.defineProperty(E.prototype,\"readConcern\",{enumerable:!0,get:function(){return this.s.readConcern||{level:\"local\"}}}),Object.defineProperty(E.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}}),Object.defineProperty(E.prototype,\"hint\",{enumerable:!0,get:function(){return this.s.collectionHint},set:function(e){this.s.collectionHint=m(e)}}),E.prototype.find=function(){var e,t=Array.prototype.slice.call(arguments,0),r=\"function\"==typeof t[t.length-1],i=\"function\"==typeof t[0],o=r?t.pop():i?t.shift():null,s=t.length,c=s>=1?t[0]:{},u=s>=2?t[1]:void 0;if(1===s&&i&&(c={},e=t[0]),2!==s||void 0===u||Array.isArray(u)){if(2===s&&Array.isArray(u)&&!Array.isArray(u[0])){for(var p={},f=0;f<u.length;f++)p[u[f]]=1;u=p}}else{for(var d=Object.keys(u),h=!1,f=0;f<d.length;f++)if(null!=me[d[f]]){h=!0;break}h?(e=u,u=void 0):e={}}3===s&&(e=t[2]),c=null==c?{}:c;var g=c;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query selector raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}var g=u;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query fields raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}if((c instanceof a||null!=c&&\"ObjectID\"==c._bsontype)&&(c={_id:c}),e&&e.fields&&!n.isBuffer(e.fields))if(u={},Array.isArray(e.fields))if(e.fields.length)for(var f=0,w=e.fields.length;w>f;f++)u[e.fields[f]]=1;else u._id=1;else u=e.fields;e||(e={});var _={};for(var k in e)_[k]=e[k];if(_.skip=s>3?t[2]:e.skip?e.skip:0,_.limit=s>3?t[3]:e.limit?e.limit:0,_.raw=null!=e.raw&&\"boolean\"==typeof e.raw?e.raw:this.s.raw,_.hint=null!=e.hint?m(e.hint):this.s.collectionHint,_.timeout=5==s?t[4]:\"undefined\"==typeof e.timeout?void 0:e.timeout,_.slaveOk=null!=e.slaveOk?e.slaveOk:this.s.db.slaveOk,_=he(this,_,this.s.db,this),null==_.readPreference||\"primary\"==_.readPreference&&\"primary\"==_.readPreference.mode||(_.slaveOk=!0),null!=c&&\"object\"!=typeof c)throw l.create({message:\"query selector must be an object\",driver:!0});var j={find:this.s.namespace,limit:_.limit,skip:_.skip,query:c};\"boolean\"==typeof _.awaitdata&&(_.awaitData=_.awaitdata),\"boolean\"==typeof _.timeout&&(_.noCursorTimeout=_.timeout);for(var S in _)null!=_[S]&&(j[S]=_[S]);var E=function(e){var t={};if(Array.isArray(e))for(var n=0;n<e.length;n++)Array.isArray(e[n])?t[e[n][0]]=e[n][1]:t[e[n][0]]=1;else t=e;return t};return u&&(j.fields=E(u)),_.db=this.s.db,_.promiseLibrary=this.s.promiseLibrary,null==_.raw&&this.s.raw&&(_.raw=this.s.raw),j.sort&&(j.sort=y(j.sort)),this.s.readConcern&&(j.readConcern=this.s.readConcern),\"function\"==typeof o?v(o,null,this.s.topology.cursor(this.s.namespace,j,_)):this.s.topology.cursor(this.s.namespace,j,_)},O.classMethod(\"find\",{callback:!1,promise:!1,returns:[k]}),E.prototype.insertOne=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&\"function\"==typeof n?n(l.create({message:\"doc parameter must be an object\",driver:!0})):Array.isArray(e)?new this.s.promiseLibrary(function(e,t){t(l.create({message:\"doc parameter must be an object\",driver:!0}))}):(this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var A=function(e,t,n,r){I(e,[t],n,function(e,n){if(null!=r){if(e&&r)return r(e);if(null==n)return r(null,{result:{ok:1}});n.insertedCount=n.result.n,n.insertedId=t._id,r&&r(null,n)}})},C=function(e,t){\nfor(var n=t.getInsertedIds(),r=Object.keys(n),i=new Array(r.length),o=0;o<r.length;o++)n[r[o]]._id&&(i[n[r[o]].index]=n[r[o]]._id);var a={result:{ok:1,n:t.insertedCount},ops:e,insertedCount:t.insertedCount,insertedIds:i};return t.getLastOp()&&(a.result.opTime=t.getLastOp()),a};O.classMethod(\"insertOne\",{callback:!0,promise:!0}),E.prototype.insertMany=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e)&&\"function\"==typeof n)return n(l.create({message:\"docs parameter must be an array of documents\",driver:!0}));if(!Array.isArray(e))return new this.s.promiseLibrary(function(e,t){t(l.create({message:\"docs parameter must be an array of documents\",driver:!0}))});\"boolean\"!=typeof t.checkKeys&&(t.checkKeys=!0),t.serializeFunctions=t.serializeFunctions||r.s.serializeFunctions;var i=\"boolean\"==typeof t.forceServerObjectId?t.forceServerObjectId:r.s.db.options.forceServerObjectId;if(i!==!0)for(var o=0;o<e.length;o++)null==e[o]._id&&(e[o]._id=r.s.pkFactory.createPk());var a=[{insertMany:e}];return\"function\"==typeof n?T(r,a,t,function(t,r){return t?n(t,r):void n(null,C(e,r))}):new this.s.promiseLibrary(function(n,i){T(r,a,t,function(t,r){return t?i(t):void n(C(e,r))})})},O.classMethod(\"insertMany\",{callback:!0,promise:!0}),E.prototype.bulkWrite=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e))throw l.create({message:\"operations must be an array of documents\",driver:!0});return\"function\"==typeof n?T(r,e,t,n):new this.s.promiseLibrary(function(n,i){T(r,e,t,function(e,t){return e&&null==t?i(e):void n(t)})})};var T=function(e,t,n,r){e.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=e.s.options.ignoreUndefined);var i=1==n.ordered||null==n.ordered?e.initializeOrderedBulkOp(n):e.initializeUnorderedBulkOp(n);try{for(var o=0;o<t.length;o++)i.raw(t[o])}catch(a){return r(a,null)}var s=de(f(n),e.s.db,e,n),c=s.writeConcern?s.writeConcern:{};i.execute(c,function(e,t){if(!t&&e)return r(e,null);if(t&&t.hasWriteErrors()&&1==t.getWriteErrorCount())return r(h(t.getWriteErrorAt(0)),t);t.insertedCount=t.nInserted,t.matchedCount=t.nMatched,t.modifiedCount=t.nModified||0,t.deletedCount=t.nRemoved,t.upsertedCount=t.getUpsertedIds().length,t.upsertedIds={},t.insertedIds={},t.n=t.insertedCount;for(var n=t.getInsertedIds(),i=0;i<n.length;i++)t.insertedIds[n[i].index]=n[i]._id;for(var o=t.getUpsertedIds(),i=0;i<o.length;i++)t.upsertedIds[o[i].index]=o[i]._id;if(t.hasWriteErrors()){var a=t.getWriteErrors();return r(h({message:\"write operation failed\",code:a[0].code,writeErrors:a}),t)}return t.getWriteConcernError()?r(h(t.getWriteConcernError()),t):void r(null,t)})},I=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={}),n=n||{},t=Array.isArray(t)?t:[t];var i=de(f(n),e.s.db,e,n);\"boolean\"!=typeof i.checkKeys&&(i.checkKeys=!0),1==i.keepGoing&&(i.ordered=!1),i.serializeFunctions=n.serializeFunctions||e.s.serializeFunctions;var o=\"boolean\"==typeof n.forceServerObjectId?n.forceServerObjectId:e.s.db.options.forceServerObjectId;if(o!==!0)for(var a=0;a<t.length;a++)null==t[a]._id&&(t[a]._id=e.s.pkFactory.createPk());e.s.topology.insert(e.s.namespace,t,i,function(e,n){if(null!=r){if(e)return v(r,e);if(null==n)return v(r,null,null);if(n.result.code)return v(r,h(n.result));if(n.result.writeErrors)return v(r,h(n.result.writeErrors[0]));n.ops=t,v(r,null,n)}})};O.classMethod(\"bulkWrite\",{callback:!0,promise:!0}),E.prototype.insert=function(e,t,n){return\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!1},e=Array.isArray(e)?e:[e],1==t.keepGoing&&(t.ordered=!1),this.insertMany(e,t,n)},O.classMethod(\"insert\",{callback:!0,promise:!0}),E.prototype.updateOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?P(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){P(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var P=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateOne\",{callback:!0,promise:!0}),E.prototype.replaceOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,t.ops=[n],i&&i(null,t)}})};O.classMethod(\"replaceOne\",{callback:!0,promise:!0}),E.prototype.updateMany=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){r.multi=!0,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateMany\",{callback:!0,promise:!0});var z=function(e,t,n,r,i){if(\"function\"==typeof r&&(i=r,r=null),null==r&&(r={}),\"function\"!=typeof i&&(i=null),null==t||\"object\"!=typeof t)return i(h(\"selector must be a valid JavaScript object\"));if(null==n||\"object\"!=typeof n)return i(h(\"document must be a valid JavaScript object\"));var o=de(f(r),e.s.db,e,r);o.serializeFunctions=r.serializeFunctions||e.s.serializeFunctions;var a={q:t,u:n};a.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,a.multi=\"boolean\"==typeof r.multi?r.multi:!1,e.s.topology.update(e.s.namespace,[a],o,function(e,t){return null!=i?e?v(i,e,null):null==t?v(i,null,null):t.result.code?v(i,h(t.result)):t.result.writeErrors?v(i,h(t.result.writeErrors[0])):void v(i,null,t):void 0})};E.prototype.update=function(e,t,n,r){var i=this;return this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?z(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){z(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},O.classMethod(\"update\",{callback:!0,promise:!0}),E.prototype.deleteOne=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?B(r,e,t,n):new this.s.promiseLibrary(function(n,i){B(r,e,t,function(e,t){return e?i(e):void n(t)})})};var B=function(e,t,n,r){n.single=!0,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})};O.classMethod(\"deleteOne\",{callback:!0,promise:!0}),E.prototype.removeOne=E.prototype.deleteOne,O.classMethod(\"removeOne\",{callback:!0,promise:!0}),E.prototype.deleteMany=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?N(r,e,t,n):new this.s.promiseLibrary(function(n,i){N(r,e,t,function(e,t){return e?i(e):void n(t)})})};var N=function(e,t,n,r){n.single=!1,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})},D=function(e,t,n,r){\"function\"==typeof n?(r=n,n={}):\"function\"==typeof t&&(r=t,n={},t={}),n=n||{};var i=de(f(n),e.s.db,e,n);null==t&&(t={});var o={q:t,limit:0};n.single&&(o.limit=1),e.s.topology.remove(e.s.namespace,[o],i,function(e,t){return null!=r?e?v(r,e,null):null==t?v(r,null,null):t.result.code?v(r,h(t.result)):t.result.writeErrors?v(r,h(t.result.writeErrors[0])):void v(r,null,t):void 0})};O.classMethod(\"deleteMany\",{callback:!0,promise:!0}),E.prototype.removeMany=E.prototype.deleteMany,O.classMethod(\"removeMany\",{callback:!0,promise:!0}),E.prototype.remove=function(e,t,n){var r=this;return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})},O.classMethod(\"remove\",{callback:!0,promise:!0}),E.prototype.save=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?q(r,e,t,n):new this.s.promiseLibrary(function(n,i){q(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r){var i=de(f(n),e.s.db,e,n);return null!=t._id?(i.upsert=!0,z(e,{_id:t._id},t,i,r)):void I(e,[t],n,function(e,n){return null!=r?null==t?v(r,null,null):e?v(r,e,null):void v(r,null,n):void 0})};O.classMethod(\"save\",{callback:!0,promise:!0}),E.prototype.findOne=function(){var e=this,t=Array.prototype.slice.call(arguments,0),n=t.pop();return\"function\"!=typeof n&&t.push(n),\"function\"==typeof n?R(e,t,n):new this.s.promiseLibrary(function(n,r){R(e,t,function(e,t){return e?r(e):void n(t)})})};var R=function(e,t,n){var r=e.find.apply(e,t).limit(-1).batchSize(1);r.next(function(e,t){return null!=e?v(n,h(e),null):void v(n,null,t)})};O.classMethod(\"findOne\",{callback:!0,promise:!0}),E.prototype.rename=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?L(r,e,t,n):new this.s.promiseLibrary(function(n,i){L(r,e,t,function(e,t){return e?i(e):void n(t)})})};var L=function(e,t,n,r){o(t);var i=u(\"%s.%s\",e.s.dbName,e.s.name),a=u(\"%s.%s\",e.s.dbName,t),s=\"boolean\"==typeof n.dropTarget?n.dropTarget:!1,c={renameCollection:i,to:a,dropTarget:s};e.s.db.admin().command(c,n,function(n,i){if(n)return v(r,n,null);if(i.errmsg)return v(r,h(i),null);try{return v(r,null,new E(e.s.db,e.s.topology,e.s.dbName,t,e.s.pkFactory,e.s.options))}catch(n){return v(r,h(n),null)}})};O.classMethod(\"rename\",{callback:!0,promise:!0}),E.prototype.drop=function(e){var t=this;return\"function\"==typeof e?t.s.db.dropCollection(t.s.name,e):new this.s.promiseLibrary(function(e,n){t.s.db.dropCollection(t.s.name,function(t,r){return t?n(t):void e(r)})})},O.classMethod(\"drop\",{callback:!0,promise:!0}),E.prototype.options=function(e){var t=this;return\"function\"==typeof e?$(t,e):new this.s.promiseLibrary(function(e,n){$(t,function(t,r){return t?n(t):void e(r)})})};var $=function(e,t){e.s.db.listCollections({name:e.s.name}).toArray(function(n,r){return n?v(t,n):0==r.length?v(t,l.create({message:u(\"collection %s not found\",e.s.namespace),driver:!0})):void v(t,n,r[0].options||null)})};O.classMethod(\"options\",{callback:!0,promise:!0}),E.prototype.isCapped=function(e){var t=this;return\"function\"==typeof e?U(t,e):new this.s.promiseLibrary(function(e,n){U(t,function(t,r){return t?n(t):void e(r)})})};var U=function(e,t){e.options(function(e,n){return e?v(t,e):void v(t,null,n&&n.capped)})};O.classMethod(\"isCapped\",{callback:!0,promise:!0}),E.prototype.createIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t=\"function\"==typeof n?t:n,t=null==t?{}:t,\"function\"==typeof n?H(r,e,t,n):new this.s.promiseLibrary(function(n,i){H(r,e,t,function(e,t){return e?i(e):void n(t)})})};var H=function(e,t,n,r){e.s.db.createIndex(e.s.name,t,n,r)};O.classMethod(\"createIndex\",{callback:!0,promise:!0}),E.prototype.createIndexes=function(e,t){var n=this;return\"function\"==typeof t?V(n,e,t):new this.s.promiseLibrary(function(t,r){V(n,e,function(e,n){return e?r(e):void t(n)})})};var V=function(e,t,n){for(var r=0;r<t.length;r++)if(null==t[r].name){var i=[];for(var o in t[r].key)i.push(u(\"%s_%s\",o,t[r].key[o]));t[r].name=i.join(\"_\")}e.s.db.command({createIndexes:e.s.name,indexes:t},{readPreference:b.PRIMARY},n)};O.classMethod(\"createIndexes\",{callback:!0,promise:!0}),E.prototype.dropIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t.readPreference=b.PRIMARY,\"function\"==typeof n?W(r,e,t,n):new this.s.promiseLibrary(function(n,i){W(r,e,t,function(e,t){return e?i(e):void n(t)})})};var W=function(e,t,n,r){var i={deleteIndexes:e.s.name,index:t};e.s.db.command(i,n,function(e,t){return\"function\"==typeof r?e?v(r,e,null):void v(r,null,t):void 0})};O.classMethod(\"dropIndex\",{callback:!0,promise:!0}),E.prototype.dropIndexes=function(e){var t=this;return\"function\"==typeof e?Y(t,e):new this.s.promiseLibrary(function(e,n){Y(t,function(t,r){return t?n(t):void e(r)})})};var Y=function(e,t){e.dropIndex(\"*\",function(e,n){return e?v(t,e,!1):void v(t,null,!0)})};O.classMethod(\"dropIndexes\",{callback:!0,promise:!0}),E.prototype.dropAllIndexes=E.prototype.dropIndexes,O.classMethod(\"dropAllIndexes\",{callback:!0,promise:!0}),E.prototype.reIndex=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={}),e=e||{},\"function\"==typeof t?K(n,e,t):new this.s.promiseLibrary(function(t,r){K(n,e,function(e,n){return e?r(e):void t(n)})})};var K=function(e,t,n){var r={reIndex:e.s.name};e.s.db.command(r,t,function(e,t){return null!=n?e?v(n,e,null):void v(n,null,!!t.ok):void 0})};O.classMethod(\"reIndex\",{callback:!0,promise:!0}),E.prototype.listIndexes=function(e){if(e=e||{},e=f(e),e.cursorFactory=w,e.promiseLibrary=this.s.promiseLibrary,!this.s.topology.capabilities())throw new l(\"cannot connect to server\");if(this.s.topology.capabilities().hasListIndexesCommand){var t=e.batchSize?{batchSize:e.batchSize}:{},n={listIndexes:this.s.name,cursor:t},t=this.s.topology.cursor(u(\"%s.$cmd\",this.s.dbName),n,e);return e.readPreference&&t.setReadPreference(e.readPreference),t}var r=u(\"%s.system.indexes\",this.s.dbName),t=this.s.topology.cursor(r,{find:r,query:{ns:this.s.namespace}},e);return e.readPreference&&t.setReadPreference(e.readPreference),e.batchSize&&(t=t.batchSize(e.batchSize)),t},O.classMethod(\"listIndexes\",{callback:!1,promise:!1,returns:[w]}),E.prototype.ensureIndex=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?G(r,e,t,n):new this.s.promiseLibrary(function(n,i){G(r,e,t,function(e,t){return e?i(e):void n(t)})})};var G=function(e,t,n,r){e.s.db.ensureIndex(e.s.name,t,n,r)};O.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),E.prototype.indexExists=function(e,t){var n=this;return\"function\"==typeof t?J(n,e,t):new this.s.promiseLibrary(function(t,r){J(n,e,function(e,n){return e?r(e):void t(n)})})};var J=function(e,t,n){e.indexInformation(function(e,r){if(null!=e)return v(n,e,null);if(!Array.isArray(t))return v(n,null,null!=r[t]);for(var i=0;i<t.length;i++)if(null==r[t[i]])return v(n,null,!1);return v(n,null,!0)})};O.classMethod(\"indexExists\",{callback:!0,promise:!0}),E.prototype.indexInformation=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?Z(n,e,t):new this.s.promiseLibrary(function(t,r){Z(n,e,function(e,n){return e?r(e):void t(n)})})};var Z=function(e,t,n){e.s.db.indexInformation(e.s.name,t,n)};O.classMethod(\"indexInformation\",{callback:!0,promise:!0}),E.prototype.count=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n);var o=i.length?i.shift()||{}:{},a=i.length?i.shift()||{}:{};return\"function\"==typeof n?Q(r,o,a,n):(e=e||{},t=t||{},new this.s.promiseLibrary(function(n,i){Q(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var Q=function(e,t,n,r){var i=n.skip,o=n.limit,a=n.hint,s=(n.maxTimeMS,{count:e.s.name,query:t});\"number\"==typeof i&&(s.skip=i),\"number\"==typeof o&&(s.limit=o),a&&(n.hint=a),n=f(n),n=he(e,n,e.s.db,e),e.s.readConcern&&(s.readConcern=e.s.readConcern),e.s.db.command(s,n,function(e,t){return e?v(r,e):void v(r,null,t.n)})};O.classMethod(\"count\",{callback:!0,promise:!0}),E.prototype.distinct=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);r=o.pop(),\"function\"!=typeof r&&o.push(r);var a=o.length?o.shift()||{}:{},s=o.length?o.shift()||{}:{};return\"function\"==typeof r?X(i,e,a,s,r):(t=t||{},n=n||{},new this.s.promiseLibrary(function(r,o){X(i,e,t,n,function(e,t){return e?o(e):void r(t)})}))};var X=function(e,t,n,r,i){var o=(r.maxTimeMS,{distinct:e.s.name,key:t,query:n});r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):void v(i,null,t.values)})};O.classMethod(\"distinct\",{callback:!0,promise:!0}),E.prototype.indexes=function(e){var t=this;return\"function\"==typeof e?ee(t,e):new this.s.promiseLibrary(function(e,n){ee(t,function(t,r){return t?n(t):void e(r)})})};var ee=function(e,t){e.s.db.indexInformation(e.s.name,{full:!0},t)};O.classMethod(\"indexes\",{callback:!0,promise:!0}),E.prototype.stats=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?te(n,e,t):new this.s.promiseLibrary(function(t,r){te(n,e,function(e,n){return e?r(e):void t(n)})})};var te=function(e,t,n){var r={collStats:e.s.name};null!=t.scale&&(r.scale=t.scale),t=f(t),t=he(e,t,e.s.db,e),e.s.db.command(r,t,n)};O.classMethod(\"stats\",{callback:!0,promise:!0}),E.prototype.findOneAndDelete=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");return\"function\"==typeof n?ne(r,e,t,n):new this.s.promiseLibrary(function(n,i){t=t||{},ne(r,e,t,function(e,t){return e?i(e):void n(t)})})};var ne=function(e,t,n,r){var i=f(n);i.fields=n.projection,i.remove=!0,e.findAndModify(t,n.sort,null,i,r)};O.classMethod(\"findOneAndDelete\",{callback:!0,promise:!0}),E.prototype.findOneAndReplace=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"replacement parameter must be an object\");return\"function\"==typeof r?re(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},re(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var re=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndReplace\",{callback:!0,promise:!0}),E.prototype.findOneAndUpdate=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"update parameter must be an object\");return\"function\"==typeof r?ie(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},ie(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ie=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndUpdate\",{callback:!0,promise:!0}),E.prototype.findAndModify=function(e,t,n,r,i){var o=this,a=Array.prototype.slice.call(arguments,1);i=a.pop(),\"function\"!=typeof i&&a.push(i),t=a.length?a.shift()||[]:[],n=a.length?a.shift():null,r=a.length?a.shift()||{}:{};var r=f(r);return r.readPreference=b.PRIMARY,\"function\"==typeof i?oe(o,e,t,n,r,i):new this.s.promiseLibrary(function(i,a){r=r||{},oe(o,e,t,n,r,function(e,t){return e?a(e):void i(t)})})};var oe=function(e,t,n,r,i,o){var a={findandmodify:e.s.name,query:t};n=y(n),n&&(a.sort=n),a[\"new\"]=!!i[\"new\"],a.remove=!!i.remove,a.upsert=!!i.upsert,i.fields&&(a.fields=i.fields),r&&!i.remove&&(a.update=r),null!=i.serializeFunctions?i.serializeFunctions=i.serializeFunctions:i.serializeFunctions=e.s.serializeFunctions,i.checkKeys=!1;var s=de(i,e.s.db,e,i);s.writeConcern&&(a.writeConcern=s.writeConcern),\"boolean\"==typeof s.bypassDocumentValidation&&(a.bypassDocumentValidation=s.bypassDocumentValidation),e.s.db.command(a,i,function(e,t){return e?v(o,e,null):v(o,null,t)})};O.classMethod(\"findAndModify\",{callback:!0,promise:!0}),E.prototype.findAndRemove=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift()||[]:[],n=o.length?o.shift()||{}:{},\"function\"==typeof r?ae(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ae(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ae=function(e,t,n,r,i){r.remove=!0,e.findAndModify(t,n,null,r,i)};O.classMethod(\"findAndRemove\",{callback:!0,promise:!0}),E.prototype.aggregate=function(e,t,n){if(Array.isArray(e))\"function\"==typeof t&&(n=t,t={}),null==t&&null==n&&(t={});else{var r=Array.prototype.slice.call(arguments,0);n=r.pop();var i=r[r.length-1];t=i&&(i.readPreference||i.explain||i.cursor||i.out||i.maxTimeMS||i.allowDiskUse)?r.pop():{},e=r}var o=!1;\"string\"==typeof t.out?(e.push({$out:t.out}),o=!0):e.length>0&&e[e.length-1].$out&&(o=!0);var a={aggregate:this.s.name,pipeline:e};if(\"boolean\"==typeof t.bypassDocumentValidation&&(a.bypassDocumentValidation=t.bypassDocumentValidation),!o&&this.s.readConcern&&(a.readConcern=this.s.readConcern),t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),t=f(t),t=he(this,t,this.s.db,this),t.explain&&(a.explain=t.explain),null!=t.cursor&&\"object\"!=typeof t.cursor)throw h(\"cursor options must be an object\");if(t.promiseLibrary=this.s.promiseLibrary,t.cursorFactory=p,\"function\"!=typeof n){if(!this.s.topology.capabilities())throw new l(\"cannot connect to server\");return this.s.topology.capabilities().hasAggregationCursor&&(t.cursor=t.cursor||{batchSize:1e3},a.cursor=t.cursor),\"boolean\"==typeof t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),this.s.topology.cursor(this.s.namespace,a,t)}return t.cursor?this.s.topology.cursor(this.s.namespace,a,t):void this.s.db.command(a,t,function(e,t){e?v(n,e):t.err||t.errmsg?v(n,h(t)):\"object\"==typeof t&&t.serverPipeline?v(n,null,t.serverPipeline):\"object\"==typeof t&&t.stages?v(n,null,t.stages):v(n,null,t.result)})},O.classMethod(\"aggregate\",{callback:!0,promise:!1}),E.prototype.parallelCollectionScan=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={numCursors:1}),e.numCursors=e.numCursors||1,e.batchSize=e.batchSize||1e3,e=f(e),e=he(this,e,this.s.db,this),e.promiseLibrary=this.s.promiseLibrary,\"function\"==typeof t?se(n,e,t):new this.s.promiseLibrary(function(t,r){se(n,e,function(e,n){return e?r(e):void t(n)})})};var se=function(e,t,n){var r={parallelCollectionScan:e.s.name,numCursors:t.numCursors};e.s.readConcern&&(r.readConcern=e.s.readConcern);var i=t.raw;delete t.raw,e.s.db.command(r,t,function(r,o){if(r)return v(n,r,null);if(null==o)return v(n,new Error(\"no result returned for parallelCollectionScan\"),null);var a=[];i&&(t.raw=i);for(var c=0;c<o.cursors.length;c++){var u=o.cursors[c].cursor.id,p=\"number\"==typeof u?s.fromNumber(u):u;({batchSize:t.batchSize,cursorId:p,items:o.cursors[c].cursor.firstBatch});a.push(e.s.topology.cursor(e.s.namespace,p,t))}v(n,null,a)})};O.classMethod(\"parallelCollectionScan\",{callback:!0,promise:!0}),E.prototype.geoNear=function(e,t,n,r){var i=this,o=\"object\"==typeof e&&e,a=Array.prototype.slice.call(arguments,o?1:2);return r=a.pop(),\"function\"!=typeof r&&a.push(r),n=a.length?a.shift()||{}:{},\"function\"==typeof r?ce(i,e,t,o,n,r):new this.s.promiseLibrary(function(r,a){ce(i,e,t,o,n,function(e,t){return e?a(e):void r(t)})})};var ce=function(e,t,n,r,i,o){var a={geoNear:e.s.name,near:r||[t,n]};i=f(i),i=he(e,i,e.s.db,e);var s={readPreference:!0,geoNear:!0,near:!0};a=g(a,i,s),e.s.readConcern&&(a.readConcern=e.s.readConcern),e.s.db.command(a,i,function(e,t){return e?v(o,e):t.err||t.errmsg?v(o,h(t)):void v(o,null,t)})};O.classMethod(\"geoNear\",{callback:!0,promise:!0}),E.prototype.geoHaystackSearch=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?ue(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ue(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ue=function(e,t,n,r,i){var o={geoSearch:e.s.name,near:[t,n]};o=g(o,r,{readPreference:!0}),r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):((t.err||t.errmsg)&&v(i,utils.toError(t)),void v(i,null,t))})};O.classMethod(\"geoHaystackSearch\",{callback:!0,promise:!0});var pe='function () {\\nvar c = db[ns].find(condition);\\nvar map = new Map();\\nvar reduce_function = reduce;\\n\\nwhile (c.hasNext()) {\\nvar obj = c.next();\\nvar key = {};\\n\\nfor (var i = 0, len = keys.length; i < len; ++i) {\\nvar k = keys[i];\\nkey[k] = obj[k];\\n}\\n\\nvar aggObj = map.get(key);\\n\\nif (aggObj == null) {\\nvar newObj = Object.extend({}, key);\\naggObj = Object.extend(newObj, initial);\\nmap.put(key, aggObj);\\n}\\n\\nreduce_function(obj, aggObj);\\n}\\n\\nreturn { \"result\": map.values() };\\n}';E.prototype.group=function(e,t,n,r,i,o,a,s){var u=this,p=Array.prototype.slice.call(arguments,3);return s=p.pop(),\"function\"!=typeof s&&p.push(s),r=p.length?p.shift():null,i=p.length?p.shift():null,o=p.length?p.shift():null,a=p.length?p.shift()||{}:{},\"function\"!=typeof i&&(o=i,i=null),Array.isArray(e)||!(e instanceof Object)||\"function\"==typeof e||e instanceof c||(e=Object.keys(e)),\"function\"==typeof r&&(r=r.toString()),\"function\"==typeof i&&(i=i.toString()),o=null==o?!0:o,\"function\"==typeof s?le(u,e,t,n,r,i,o,a,s):new this.s.promiseLibrary(function(s,c){le(u,e,t,n,r,i,o,a,function(e,t){return e?c(e):void s(t)})})};var le=function(e,t,n,r,i,o,a,s,u){if(a){var p=i instanceof c?i:new c(i),l={group:{ns:e.s.name,$reduce:p,cond:n,initial:r,out:\"inline\"}};if(null!=o&&(l.group.finalize=o),\"function\"==typeof t||t instanceof c)l.group.$keyf=t instanceof c?t:new c(t);else{var d={};t.forEach(function(e){d[e]=1}),l.group.key=d}s=f(s),s=he(e,s,e.s.db,e),e.s.readConcern&&(l.readConcern=e.s.readConcern),e.s.db.command(l,s,function(e,t){return e?v(u,e,null):void v(u,null,t.retval)})}else{var h=null!=i&&i instanceof c?i.scope:{};h.ns=e.s.name,h.keys=t,h.condition=n,h.initial=r;var m=pe.replace(/ reduce;/,i.toString()+\";\");e.s.db.eval(new c(m,h),function(e,t){return e?v(u,e,null):void v(u,null,t.result||t)})}};O.classMethod(\"group\",{callback:!0,promise:!0}),E.prototype.mapReduce=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),null==n.out)throw new Error(\"the out option parameter must be defined, see mongodb docs for possible values\");return\"function\"==typeof e&&(e=e.toString()),\"function\"==typeof t&&(t=t.toString()),\"function\"==typeof n.finalize&&(n.finalize=n.finalize.toString()),\"function\"==typeof r?fe(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){fe(i,e,t,n,function(e,t,n){return e?o(e):n?void r({results:t,stats:n}):r(t)})})};var fe=function(e,t,n,r,o){var a={mapreduce:e.s.name,map:t,reduce:n};for(var s in r)\"scope\"==s?a[s]=i(r[s]):a[s]=r[s];r=f(r),r=he(e,r,e.s.db,e),0!=r.readPreference&&\"primary\"!=r.readPreference&&r.out&&1!=r.out.inline&&\"inline\"!=r.out?r.readPreference=\"primary\":e.s.readConcern&&(a.readConcern=e.s.readConcern),\"boolean\"==typeof r.bypassDocumentValidation&&(a.bypassDocumentValidation=r.bypassDocumentValidation),e.s.db.command(a,{readPreference:r.readPreference},function(t,n){if(t)return v(o,t);if(1!=n.ok||n.err||n.errmsg)return v(o,h(n));var i={};if(n.timeMillis&&(i.processtime=n.timeMillis),n.counts&&(i.counts=n.counts),n.timing&&(i.timing=n.timing),n.results)return null!=r.verbose&&r.verbose?v(o,null,n.results,i):v(o,null,n.results);var a=null;if(null!=n.result&&\"object\"==typeof n.result){var s=n.result;a=e.s.db.db(s.db).collection(s.collection)}else a=e.s.db.collection(n.result);return null!=r.verbose&&r.verbose?void v(o,t,a,i):v(o,t,a)})};O.classMethod(\"mapReduce\",{callback:!0,promise:!0}),E.prototype.initializeUnorderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,j(this.s.topology,this,e)},O.classMethod(\"initializeUnorderedBulkOp\",{callback:!1,promise:!1,returns:[S.UnorderedBulkOperation]}),E.prototype.initializeOrderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,S(this.s.topology,this,e)},O.classMethod(\"initializeOrderedBulkOp\",{callback:!1,promise:!1,returns:[S.OrderedBulkOperation]});var de=function(e,t,n,r){if(null!=r.w||null!=r.j||null!=r.fsync){var i={};null!=r.w&&(i.w=r.w),null!=r.wtimeout&&(i.wtimeout=r.wtimeout),null!=r.j&&(i.j=r.j),null!=r.fsync&&(i.fsync=r.fsync),e.writeConcern=i}else null!=n.writeConcern.w||null!=n.writeConcern.j||null!=n.writeConcern.fsync?e.writeConcern=n.writeConcern:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},he=function(e,t,n,r){var i=null;if(t.readPreference?i=t.readPreference:e.s.readPreference?i=e.s.readPreference:n.readPreference&&(i=n.readPreference),i instanceof b)t.readPreference=new x(i.mode,i.tags);else if(\"string\"==typeof i)t.readPreference=new x(i);else if(i&&!(i instanceof b)&&\"object\"==typeof i){var o=i.mode||i.preference;o&&\"string\"==typeof o&&(t.readPreference=new x(o,i.tags))}return t},me={limit:1,sort:1,fields:1,skip:1,hint:1,explain:1,snapshot:1,timeout:1,tailable:1,tailableRetryInterval:1,numberOfRetries:1,awaitdata:1,awaitData:1,exhaust:1,batchSize:1,returnKey:1,maxScan:1,min:1,max:1,showDiskLoc:1,comment:1,raw:1,readPreference:1,partial:1,read:1,dbName:1,oplogReplay:1,connection:1,maxTimeMS:1,transforms:1};t.exports=E}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")},\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],223:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\")),o=e(\"mongodb-core\").MongoError,a=e(\"stream\").Readable||e(\"readable-stream\").Readable,s=e(\"./metadata\"),c=e(\"./cursor\"),u=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),p=function(t,r,i,o,s,u){c.apply(this,Array.prototype.slice.call(arguments,0));var l=p.INIT,f={},d=null,h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:s,topologyOptions:u,promiseLibrary:h}};r(p,a);for(var l=[\"_next\",\"next\",\"each\",\"forEach\",\"toArray\",\"rewind\",\"bufferedCount\",\"readBufferedDocuments\",\"close\",\"isClosed\",\"kill\",\"_find\",\"_getmore\",\"_killcursor\",\"isDead\",\"explain\",\"isNotified\",\"isKilled\"],f=0;f<l.length;f++)p.prototype[l[f]]=c.prototype[l[f]];var d=p.define=new s(\"CommandCursor\",p,!0);p.prototype.setReadPreference=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({\nmessage:\"Cursor is closed\",driver:!0});if(this.s.state!=p.INIT)throw o.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof i?this.s.options.readPreference=new u(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new u(e):e instanceof u&&(this.s.options.readPreference=e),this},d.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[p]}),p.prototype.batchSize=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw o.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},d.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[p]}),p.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},d.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[p]}),p.prototype.get=p.prototype.toArray,d.classMethod(\"get\",{callback:!0,promise:!1}),d.classMethod(\"toArray\",{callback:!0,promise:!0}),d.classMethod(\"each\",{callback:!0,promise:!1}),d.classMethod(\"forEach\",{callback:!0,promise:!1}),d.classMethod(\"next\",{callback:!0,promise:!0}),d.classMethod(\"close\",{callback:!0,promise:!0}),d.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),d.classMethod(\"rewind\",{callback:!1,promise:!1}),d.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),d.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),p.INIT=0,p.OPEN=1,p.CLOSED=2,t.exports=p}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],224:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"util\").format,o=e(\"./utils\").formattedOrderClause,a=e(\"./utils\").handleCallback,s=e(\"./read_preference\"),c=e(\"mongodb-core\").MongoError,u=e(\"stream\").Readable||e(\"readable-stream\").Readable,p=e(\"./metadata\"),l=e(\"mongodb-core\").Cursor,f=e(\"mongodb-core\").BSON.Map,d=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),h=[\"tailable\",\"oplogReplay\",\"noCursorTimeout\",\"awaitData\",\"exhaust\",\"partial\"],m=[\"numberOfRetries\",\"tailableRetryInterval\"],v=Array.prototype.push,g=function(t,r,i,o,a,s){l.apply(this,Array.prototype.slice.call(arguments,0));var c=this,p=g.INIT,f={},d=o.numberOfRetries||5,h=o.tailableRetryInterval||500,m=d,v=o.promiseLibrary;v||(v=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),u.call(this,{objectMode:!0}),this.s={numberOfRetries:d,tailableRetryInterval:h,currentNumberOfRetries:m,state:p,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:a,topologyOptions:s,promiseLibrary:v,currentDoc:null},this.timeout=1==c.s.options.noCursorTimeout,this.sortValue=c.s.cmd.sort};r(g,u),l.prototype._next=l.prototype.next;for(var y in l.prototype)g.prototype[y]=l.prototype[y];var b=g.define=new p(\"Cursor\",g,!0);g.prototype.hasNext=function(e){var t=this;return\"function\"==typeof e?t.s.currentDoc?e(null,!0):x(t,function(n,r){return r?(t.s.currentDoc=r,void e(null,!0)):e(null,!1)}):new this.s.promiseLibrary(function(e,n){t.s.currentDoc?e(!0):x(t,function(r,i){return t.s.state==g.CLOSED||t.isDead()?e(!1):r?n(r):i?(t.s.currentDoc=i,void e(!0)):e(!1)})})},b.classMethod(\"hasNext\",{callback:!0,promise:!0}),g.prototype.next=function(e){var t=this;if(\"function\"==typeof e){if(t.s.currentDoc){var n=t.s.currentDoc;return t.s.currentDoc=null,e(null,n)}return x(t,e)}return new this.s.promiseLibrary(function(e,n){if(t.s.currentDoc){var r=t.s.currentDoc;return t.s.currentDoc=null,e(r)}x(t,function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.filter=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.query=e,this},b.classMethod(\"filter\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxScan=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxScan=e,this},b.classMethod(\"maxScan\",{callback:!1,promise:!1,returns:[g]}),g.prototype.hint=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.hint=e,this},b.classMethod(\"hint\",{callback:!1,promise:!1,returns:[g]}),g.prototype.min=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.min=e,this},b.classMethod(\"min\",{callback:!1,promise:!1,returns:[g]}),g.prototype.max=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.max=e,this},b.classMethod(\"max\",{callback:!1,promise:!1,returns:[g]}),g.prototype.returnKey=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.returnKey=e,this},b.classMethod(\"returnKey\",{callback:!1,promise:!1,returns:[g]}),g.prototype.showRecordId=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.showDiskLoc=e,this},b.classMethod(\"showRecordId\",{callback:!1,promise:!1,returns:[g]}),g.prototype.snapshot=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.snapshot=e,this},b.classMethod(\"snapshot\",{callback:!1,promise:!1,returns:[g]}),g.prototype.setCursorOption=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==m.indexOf(e))throw c.create({message:i(\"option %s not a supported option %s\",e,m),driver:!0});return this.s[e]=t,\"numberOfRetries\"==e&&(this.s.currentNumberOfRetries=t),this},b.classMethod(\"setCursorOption\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addCursorFlag=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==h.indexOf(e))throw c.create({message:i(\"flag %s not a supported flag %s\",e,h),driver:!0});if(\"boolean\"!=typeof t)throw c.create({message:i(\"flag %s must be a boolean value\",e),driver:!0});return this.s.cmd[e]=t,this},b.classMethod(\"addCursorFlag\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addQueryModifier=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"$\"!=e[0])throw c.create({message:i(\"%s is not a valid query modifier\"),driver:!0});var n=e.substr(1);return this.s.cmd[n]=t,\"orderby\"==n&&(this.s.cmd.sort=this.s.cmd[n]),this},b.classMethod(\"addQueryModifier\",{callback:!1,promise:!1,returns:[g]}),g.prototype.comment=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.comment=e,this},b.classMethod(\"comment\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxAwaitTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxAwaitTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxAwaitTimeMS=e,this},b.classMethod(\"maxAwaitTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxTimeMS=e,this},b.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMs=g.prototype.maxTimeMS,b.classMethod(\"maxTimeMs\",{callback:!1,promise:!1,returns:[g]}),g.prototype.project=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.fields=e,this},b.classMethod(\"project\",{callback:!1,promise:!1,returns:[g]}),g.prototype.sort=function(e,t){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support sorting\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});var n=e;return Array.isArray(n)&&Array.isArray(n[0])&&(n=new f(n.map(function(e){var t=[e[0],null];if(\"asc\"==e[1])t[1]=1;else if(\"desc\"==e[1])t[1]=-1;else{if(1!=e[1]&&-1!=e[1])throw new c(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[1]=e[1]}return t}))),null!=t&&(n=[[e,t]]),this.s.cmd.sort=n,this.sortValue=n,this},b.classMethod(\"sort\",{callback:!1,promise:!1,returns:[g]}),g.prototype.batchSize=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support batchSize\",driver:!0});if(this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.batchSize=e,this.setCursorBatchSize(e),this},b.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[g]}),g.prototype.limit=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support limit\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"limit requires an integer\",driver:!0});return this.s.cmd.limit=e,this.setCursorLimit(e),this},b.classMethod(\"limit\",{callback:!1,promise:!1,returns:[g]}),g.prototype.skip=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support skip\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"skip requires an integer\",driver:!0});return this.s.cmd.skip=e,this.setCursorSkip(e),this},b.classMethod(\"skip\",{callback:!1,promise:!1,returns:[g]}),g.prototype.nextObject=g.prototype.next;var x=function(e,t){if(e.s.state==g.CLOSED||e.isDead&&e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));if(e.s.state==g.INIT&&e.s.cmd.sort)try{e.s.cmd.sort=o(e.s.cmd.sort)}catch(n){return a(t,n)}e._next(function(n,r){return e.s.state=g.OPEN,n?a(t,n):void a(t,null,r)})};b.classMethod(\"nextObject\",{callback:!0,promise:!0});var w=function(e,t){return 0!=e.bufferedCount()?(e._next(t),w):void 0};g.prototype.next=g.prototype.nextObject,b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.each=function(e){this.rewind(),this.s.state=g.INIT,_(this,e)},b.classMethod(\"each\",{callback:!0,promise:!1});var _=function(e,t){if(!t)throw c.create({message:\"callback is mandatory\",driver:!0});if(!e.isNotified()){if(e.s.state==g.CLOSED||e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));e.s.state==g.INIT&&(e.s.state=g.OPEN);var n=null;if(e.bufferedCount()>0){for(;n=w(e,t);)n(e,t);_(e,t)}else e.next(function(n,r){return n?a(t,n):null==r?(e.s.state=g.CLOSED,a(t,null,null)):void(0!=a(t,null,r)&&_(e,t))})}};g.prototype.forEach=function(e,t){this.each(function(n,r){if(n)return t(n),!1;if(null!=r)return e(r),!0;if(null==r&&t){var i=t;return t=null,i(null),!1}})},b.classMethod(\"forEach\",{callback:!0,promise:!1}),g.prototype.setReadPreference=function(e){if(this.s.state!=g.INIT)throw c.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof s?this.s.options.readPreference=new d(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new d(e):e instanceof d&&(this.s.options.readPreference=e),this},b.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[g]}),g.prototype.toArray=function(e){var t=this;if(t.s.options.tailable)throw c.create({message:\"Tailable cursor cannot be converted to array\",driver:!0});return\"function\"==typeof e?k(t,e):new this.s.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){var n=[];e.rewind(),e.s.state=g.INIT;var r=function(){e._next(function(i,o){if(i)return a(t,i);if(null==o)return e.s.state=g.CLOSED,a(t,null,n);if(n.push(o),e.bufferedCount()>0){var s=e.readBufferedDocuments(e.bufferedCount());e.s.transforms&&\"function\"==typeof e.s.transforms.doc&&(s=s.map(e.s.transforms.doc)),v.apply(n,s)}r()})};r()};b.classMethod(\"toArray\",{callback:!0,promise:!0}),g.prototype.count=function(e,t,n){var r=this;if(null==r.s.cmd.query)throw c.create({message:\"count can only be used with find command\",driver:!0});return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?j(r,e,t,n):new this.s.promiseLibrary(function(n,i){j(r,e,t,function(e,t){return e?i(e):void n(t)})})};var j=function(e,t,n,r){\"function\"==typeof t&&(r=t,t=!0),t&&(\"number\"==typeof e.cursorSkip()&&(n.skip=e.cursorSkip()),\"number\"==typeof e.cursorLimit()&&(n.limit=e.cursorLimit()));var o=e.s.ns.indexOf(\".\"),a={count:e.s.ns.substr(o+1),query:e.s.cmd.query};\"number\"==typeof n.maxTimeMS?a.maxTimeMS=n.maxTimeMS:e.s.cmd&&\"number\"==typeof e.s.cmd.maxTimeMS&&(a.maxTimeMS=e.s.cmd.maxTimeMS),n.skip&&(a.skip=n.skip),n.limit&&(a.limit=n.limit),e.s.options.hint&&(a.hint=e.s.options.hint),e.topology.command(i(\"%s.$cmd\",e.s.ns.substr(0,o)),a,function(e,t){r(e,t?t.result.n:null)})};b.classMethod(\"count\",{callback:!0,promise:!0}),g.prototype.close=function(e){return this.s.state=g.CLOSED,this.kill(),this.emit(\"close\"),\"function\"==typeof e?a(e,null,this):new this.s.promiseLibrary(function(e,t){e()})},b.classMethod(\"close\",{callback:!0,promise:!0}),g.prototype.map=function(e){return this.cursorState.transforms={doc:e},this},b.classMethod(\"map\",{callback:!1,promise:!1,returns:[g]}),g.prototype.isClosed=function(){return this.isDead()},b.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.destroy=function(e){e&&this.emit(\"error\",e),this.pause(),this.close()},b.classMethod(\"destroy\",{callback:!1,promise:!1}),g.prototype.stream=function(e){return this.s.streamOptions=e||{},this},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[g]}),g.prototype.explain=function(e){var t=this;return this.s.cmd.explain=!0,this.s.cmd.readConcern&&delete this.s.cmd.readConcern,\"function\"==typeof e?this._next(e):new this.s.promiseLibrary(function(e,n){t._next(function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"explain\",{callback:!0,promise:!0}),g.prototype._read=function(e){var t=this;return t.s.state==g.CLOSED||t.isDead()?t.push(null):void t.nextObject(function(e,n){return e?(t.listeners(\"error\")&&t.listeners(\"error\").length>0&&t.emit(\"error\",e),t.isDead()||t.close(),t.emit(\"end\"),t.emit(\"finish\")):\"function\"==typeof t.s.streamOptions.transform&&null!=n?t.push(t.s.streamOptions.transform(n)):t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.doc&&null!=n?t.push(t.cursorState.transforms.doc(n)):void t.push(n)})},Object.defineProperty(g.prototype,\"readPreference\",{enumerable:!0,get:function(){return this&&this.s?this.s.options.readPreference:null}}),Object.defineProperty(g.prototype,\"namespace\",{enumerable:!0,get:function(){if(!this||!this.s)return null;var e=this.s.ns||\"\",t=e.indexOf(\".\");return 0>t?{database:this.s.ns,collection:\"\"}:{database:e.substr(0,t),collection:e.substr(t+1)}}}),g.INIT=0,g.OPEN=1,g.CLOSED=2,g.GET_MORE=3,t.exports=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],225:[function(e,t,n){(function(n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./utils\").getSingleProperty,a=e(\"./utils\").shallowClone,s=e(\"./utils\").parseIndexOptions,c=e(\"./utils\").debugOptions,u=e(\"./command_cursor\"),p=e(\"./utils\").handleCallback,l=e(\"./utils\").toError,f=e(\"./read_preference\"),d=e(\"util\").format,h=e(\"./admin\"),m=e(\"mongodb-core\").BSON.Code,v=e(\"mongodb-core\").ReadPreference,g=e(\"mongodb-core\").MongoError,y=e(\"mongodb-core\").ObjectID,b=e(\"./metadata\"),x=e(\"mongodb-core\").Logger,w=e(\"./collection\"),_=e(\"crypto\"),k=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"numberOfRetries\",\"retryMiliSeconds\",\"readPreference\",\"pkFactory\"],j=function(t,i,a){if(a=a||{},!(this instanceof j))return new j(t,i,a);r.call(this);var s=this,c=a.promiseLibrary;c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.promiseLibrary=c,this.s={databaseName:t,dbCache:{},children:[],topology:i,options:a,logger:x(\"Db\",a),bson:i?i.bson:null,authSource:a.authSource,readPreference:a.readPreference,bufferMaxEntries:\"number\"==typeof a.bufferMaxEntries?a.bufferMaxEntries:-1,parentDb:a.parentDb||null,pkFactory:a.pkFactory||y,nativeParser:a.nativeParser||a.native_parser,promiseLibrary:c,noListener:\"boolean\"==typeof a.noListener?a.noListener:!1,readConcern:a.readConcern},U(s.s.databaseName),\"boolean\"==typeof s.s.nativeParser&&(s.s.nativeParser?i.setBSONParserType(\"c++\"):i.setBSONParserType(\"js\")),o(this,\"serverConfig\",s.s.topology),o(this,\"bufferMaxEntries\",s.s.bufferMaxEntries),o(this,\"databaseName\",s.s.databaseName),a.parentDb||this.s.noListener||(i.on(\"error\",V(s,\"error\",s)),i.on(\"timeout\",V(s,\"timeout\",s)),i.on(\"close\",V(s,\"close\",s)),i.on(\"parseError\",V(s,\"parseError\",s)),i.once(\"open\",V(s,\"open\",s)),i.once(\"fullsetup\",V(s,\"fullsetup\",s)),i.once(\"all\",V(s,\"all\",s)),i.on(\"reconnect\",V(s,\"reconnect\",s)))};i(j,r);var S=j.define=new b(\"Db\",j,!1);Object.defineProperty(j.prototype,\"topology\",{enumerable:!0,get:function(){return this.s.topology}}),Object.defineProperty(j.prototype,\"options\",{enumerable:!0,get:function(){return this.s.options}}),Object.defineProperty(j.prototype,\"native_parser\",{enumerable:!0,get:function(){return\"c++\"==this.s.topology.parserType()}}),Object.defineProperty(j.prototype,\"slaveOk\",{enumerable:!0,get:function(){return null!=this.s.options.readPreference&&(\"primary\"!=this.s.options.readPreference||\"primary\"!=this.s.options.readPreference.mode)}}),Object.defineProperty(j.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}});var E=function(e,t){e.s.topology.connect(e,e.s.options,function(n,r){if(null!=t){var i=t;return n?(e.close(),i(n)):void i(null,e)}})};j.prototype.open=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.s.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"open\",{callback:!0,promise:!0});var O=function(e){if(e&&\"string\"==typeof e)return new v(e);if(e instanceof f)return new v(e.mode,e.tags);if(e&&\"object\"==typeof e){var t=e.mode||e.preference;t&&\"string\"==typeof t&&(e=new v(t,e.tags))}return e},A=function(e,t,n,r){if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i=n.dbName||n.authdb||e.s.databaseName;null==n.readPreference&&e.s.readPreference&&(n.readPreference=e.s.readPreference),n.readPreference&&(n.readPreference=O(n.readPreference)),e.s.logger.isDebug()&&e.s.logger.debug(d(\"executing command %s against %s with options [%s]\",JSON.stringify(t),d(\"%s.$cmd\",i),JSON.stringify(c(k,n)))),e.s.topology.command(d(\"%s.$cmd\",i),t,n,function(e,t){return e?p(r,e):n.full?p(r,null,t):void p(r,null,t.result)})};j.prototype.command=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=a(t),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"command\",{callback:!0,promise:!0}),j.prototype.close=function(e,t){\"function\"==typeof e&&(t=e,e=!1),this.s.topology.close(e);var n=this;if(this.listeners(\"close\").length>0){if(this.emit(\"close\"),null==this.parentDb)for(var r=0;r<this.s.children.length;r++)this.s.children[r].emit(\"close\");n.removeAllListeners(\"close\")}return this.s.parentDb&&this.s.parentDb.close(),\"function\"==typeof t?process.nextTick(function(){p(t,null)}):new this.s.promiseLibrary(function(e,t){e()})},S.classMethod(\"close\",{callback:!0,promise:!0}),j.prototype.admin=function(){return new h(this,this.s.topology,this.s.promiseLibrary)},S.classMethod(\"admin\",{callback:!1,promise:!1,returns:[h]}),j.prototype.collection=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readConcern=t.readConcern||this.s.readConcern,this.s.options.ignoreUndefined&&(t.ignoreUndefined=this.s.options.ignoreUndefined),null==t||!t.strict)try{var i=new w(this,this.s.topology,this.s.databaseName,e,this.s.pkFactory,t);return n&&n(null,i),i}catch(o){if(n)return n(o);throw o}if(\"function\"!=typeof n)throw l(d(\"A callback is required in strict mode. While getting collection %s.\",e));return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):void this.listCollections({name:e}).toArray(function(i,o){if(null!=i)return p(n,i,null);if(0==o.length)return p(n,l(d(\"Collection %s does not exist. Currently in strict mode.\",e)),null);try{return p(n,null,new w(r,r.s.topology,r.s.databaseName,e,r.s.pkFactory,t))}catch(i){return p(n,i,null)}})},S.classMethod(\"collection\",{callback:!0,promise:!1,returns:[w]});var C=function(e,t,n,r){var i=H(a(n),e,n);return e.serverConfig&&e.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):void e.listCollections({name:t}).toArray(function(o,a){if(null!=o)return p(r,o,null);if(a.length>0&&i.strict)return p(r,g.create({message:d(\"Collection %s already exists. Currently in strict mode.\",t),driver:!0}),null);if(a.length>0)try{return p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))}catch(o){return p(r,o)}var s={create:t};for(var c in n)null!=n[c]&&\"function\"!=typeof n[c]&&(s[c]=n[c]);e.command(s,i,function(i,o){return i?p(r,i):void p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))})})};j.prototype.createCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift()||{}:{},t.promiseLibrary=t.promiseLibrary||this.s.promiseLibrary,\"string\"==typeof n&&(e=n),\"function\"==typeof n?C(r,e,t,n):new this.s.promiseLibrary(function(n,i){C(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"createCollection\",{callback:!0,promise:!0}),j.prototype.stats=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=e||{};var n={dbStats:!0};return null!=e.scale&&(n.scale=e.scale),this.command(n,e,t)},S.classMethod(\"stats\",{callback:!0,promise:!0});var T=function(e){var t=d(\"%s.\",e);return{doc:function(e){var n=e.name.indexOf(t);return e.name&&0==n&&(e.name=e.name.substr(n+t.length)),e}}};j.prototype.listCollections=function(e,t){if(e=e||{},t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readPreference&&(t.readPreference=O(t.readPreference)),this.serverConfig.capabilities().hasListCollectionsCommand){var n=t.batchSize?{batchSize:t.batchSize}:{},r={listCollections:!0,filter:e,cursor:n};t.cursorFactory=u;var n=this.s.topology.cursor(d(\"%s.$cmd\",this.s.databaseName),r,t);return t.readPreference&&n.setReadPreference(t.readPreference),n}this.serverConfig.capabilities().hasListCollectionsCommand||\"string\"!=typeof e.name||new RegExp(\"^\"+this.databaseName+\"\\\\.\").test(e.name)||(e=a(e),e.name=d(\"%s.%s\",this.s.databaseName,e.name)),null==e&&(e.name=d(\"/%s/\",this.s.databaseName)),e=e.name?{$and:[{name:e.name},{name:/^((?!\\$).)*$/}]}:{name:/^((?!\\$).)*$/};var i={transforms:T(this.s.databaseName)},n=this.collection(j.SYSTEM_NAMESPACE_COLLECTION).find(e,i);return t.readPreference&&n.setReadPreference(t.readPreference),t.batchSize&&(n=n.batchSize(t.batchSize)),n},S.classMethod(\"listCollections\",{callback:!1,promise:!1,returns:[u]});var I=function(e,t,n,r,i){var o=t,a=[];if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));o instanceof m||(o=new m(o)),null==n||Array.isArray(n)||\"function\"==typeof n?null!=n&&Array.isArray(n)&&\"function\"!=typeof n&&(a=n):a=[n];var s={$eval:o,args:a};r.nolock&&(s.nolock=r.nolock),r.readPreference=new v(f.PRIMARY),e.command(s,r,function(e,t){return e?p(i,e,null):t&&1==t.ok?p(i,null,t.retval):t?p(i,g.create({message:d(\"eval failed: %s\",t.errmsg),driver:!0}),null):void p(i,e,t)})};j.prototype.eval=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift():t,n=o.length?o.shift()||{}:{},\"function\"==typeof r?I(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){I(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"eval\",{callback:!0,promise:!0}),j.prototype.renameCollection=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},n.new_collection=!0,\"function\"==typeof r?this.collection(e).rename(t,n,r):new this.s.promiseLibrary(function(r,o){i.collection(e).rename(t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"renameCollection\",{callback:!0,promise:!0}),j.prototype.dropCollection=function(e,t){var n=this,r={drop:e};return\"function\"==typeof t?this.command(r,this.s.options,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e):r.ok?p(t,null,!0):void p(t,null,!1)}):new this.s.promiseLibrary(function(e,t){n.command(r,n.s.options,function(r,i){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):r?t(r):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropCollection\",{callback:!0,promise:!0}),j.prototype.dropDatabase=function(e){var t=this,n={dropDatabase:1};return\"function\"==typeof e?this.command(n,this.s.options,function(n,r){if(t.serverConfig&&t.serverConfig.isDestroyed())return e(new g(\"topology was destroyed\"));if(null!=e)return n?p(e,n,null):void p(e,null,!!r.ok)}):new this.s.promiseLibrary(function(e,r){t.command(n,t.s.options,function(n,i){return t.serverConfig&&t.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):n?r(n):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropDatabase\",{callback:!0,promise:!0});var P=function(e,t){e.listCollections().toArray(function(n,r){return null!=n?p(t,n,null):(r=r.filter(function(e){return-1==e.name.indexOf(\"$\")}),void p(t,null,r.map(function(t){return new w(e,e.s.topology,e.s.databaseName,t.name.replace(e.s.databaseName+\".\",\"\"),e.s.pkFactory,e.s.options)})))})};j.prototype.collections=function(e){var t=this;return\"function\"==typeof e?P(t,e):new t.s.promiseLibrary(function(e,n){P(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"collections\",{callback:!0,promise:!0}),j.prototype.executeDbAdminCommand=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t.readPreference&&!(t.readPreference instanceof f)&&\"object\"==typeof t.readPreference){var i=t.readPreference.mode||t.readPreference.preference;i&&\"string\"==typeof i&&(t.readPreference=new f(i,readPreference.tags))}return\"function\"==typeof n?r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):e?p(n,e):void p(n,null,t.result)}):new r.s.promiseLibrary(function(n,i){r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):e?i(e):void n(t.result)})})},S.classMethod(\"executeDbAdminCommand\",{callback:!0,promise:!0}),j.prototype.createIndex=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},n=\"function\"==typeof r?n:r,n=null==n?{}:n,n=a(n),n.readPreference=f.PRIMARY,\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){var o=H({},e,r);if(o.writeConcern&&\"function\"!=typeof i)throw g.create({message:\"Cannot use a writeConcern without a provided callback\",driver:!0});return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void $(e,t,n,r,function(a,s){if(null==a)return p(i,a,s);if(67===a.code)return p(i,a,s);var c=L(e,t,n,r);o.checkKeys=!1,e.s.topology.insert(d(\"%s.%s\",e.s.databaseName,j.SYSTEM_INDEX_COLLECTION),c,o,function(e,t){return null!=i?e?p(i,e):null==t?p(i,null,null):t.result.writeErrors?p(i,g.create(t.result.writeErrors[0]),null):void p(i,null,c.name):void 0})})};S.classMethod(\"createIndex\",{callback:!0,promise:!0}),j.prototype.ensureIndex=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){var o=H({},e,r),a=L(e,t,n,r),s=a.name;if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));e.indexInformation(t,o,function(o,a){if(null!=o&&26!=o.code)return p(i,o,null);if(null!=a&&a[s]){if(\"function\"==typeof i)return p(i,null,s)}else e.createIndex(t,n,r,i)})};S.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),j.prototype.addChild=function(e){return this.s.parentDb?this.s.parentDb.addChild(e):void this.s.children.push(e)},j.prototype.db=function(e,t){t=t||{};for(var n in this.options)t[n]=this.options[n];if(this.s.dbCache[e]&&t.returnNonCachedInstance!==!0)return this.s.dbCache[e];null!=t.noListener&&0!=t.noListener||(t.parentDb=this),t.promiseLibrary=this.s.promiseLibrary;var r=new j(e,this.s.topology,t);return null!=t.noListener&&0!=t.noListener||this.addChild(r),this.s.dbCache[e]=r,r},S.classMethod(\"db\",{callback:!1,promise:!1,returns:[j]});var z=function(e,t,n,r,i){if(\"string\"==typeof t&&null!=n&&\"object\"==typeof n&&(r=n,n=null),\"function\"==typeof r&&(i=r,r={}),null!=r.digestPassword)throw l(\"The digestPassword option is not supported via add_user. Please use db.command('createUser', ...) instead for this option.\");var o=null!=r.customData?r.customData:{},a=Array.isArray(r.roles)?r.roles:[],s=\"number\"==typeof r.maxTimeMS?r.maxTimeMS:null;0==a.length&&console.log(\"Creating a user without roles is deprecated in MongoDB >= 2.6\");var c={writeCommand:!0};r.dbName&&(c.dbName=r.dbName),null!=s&&(c.maxTimeMS=s),\"admin\"!=e.databaseName.toLowerCase()&&\"admin\"!=r.dbName||Array.isArray(r.roles)?Array.isArray(r.roles)||(a=[\"dbOwner\"]):a=[\"root\"];var u={createUser:t,customData:o,roles:a,digestPassword:!1};u=H(u,e,r);var f=_.createHash(\"md5\");f.update(t+\":mongo:\"+n);var d=f.digest(\"hex\");\"string\"==typeof n&&(u.pwd=d),c.readPreference=v.primary,e.command(u,c,function(e,n){return e&&0==e.ok&&void 0==e.code?p(i,{code:-5e3},null):e?p(i,e,null):void p(i,n.ok?null:l(n),n.ok?[{user:t,pwd:\"\"}]:null)})},B=function(e,t,n,r,i){return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void z(e,t,n,r,function(o,s){if(o&&-5e3==o.code){var c=H(a(r),e,r),u=_.createHash(\"md5\");u.update(t+\":mongo:\"+n);var l=u.digest(\"hex\"),f=r.dbName?e.db(r.dbName):e,d=f.collection(j.SYSTEM_USER_COLLECTION);return void d.count({},function(e,n){return null!=e?p(i,e,null):void d.find({user:t},{dbName:r.dbName}).toArray(function(e,r){return null!=e?p(i,e,null):(c.upsert=!0,void d.update({user:t},{$set:{user:t,pwd:l}},c,function(e,r,o){return 0==n&&e?p(i,null,[{user:t,pwd:l}]):e?p(i,e,null):void p(i,null,[{user:t,pwd:l}])}))})})}return o?p(i,o):void p(i,o,s)})};j.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);\nreturn r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?B(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){B(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"addUser\",{callback:!0,promise:!0});var N=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i={writeCommand:!0};n.dbName&&(i.dbName=n.dbName);var o=\"number\"==typeof n.maxTimeMS?n.maxTimeMS:null;null!=o&&(i.maxTimeMS=o);var a={dropUser:t};a=H(a,e,n),i.readPreference=v.primary,e.command(a,i,function(e,t){return e&&!e.ok&&void 0==e.code?p(r,{code:-5e3}):e?p(r,e,null):void p(r,null,!!t.ok)})},D=function(e,t,n,r){N(e,t,n,function(i,o){if(i&&-5e3==i.code){var s=H(a(n),e,n),c=n.dbName?e.db(n.dbName):e,u=c.collection(j.SYSTEM_USER_COLLECTION);return void u.findOne({user:t},{},function(e,n){return null==n?p(r,e,!1):void u.remove({user:t},s,function(e,t){p(r,e,!0)})})}return i?p(r,i):void p(r,i,o)})};S.classMethod(\"removeUser\",{callback:!0,promise:!0}),j.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r,i){if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));var o=r.authdb?r.authdb:r.dbName;o=r.authSource?r.authSource:o,o=o?o:e.databaseName;var a=function(t,n){e.listeners(\"authenticated\").length>0&&e.emit(\"authenticated\",t,n),p(i,t,n)},s=r.authMechanism||\"\";s=s.toUpperCase(),\"MONGODB-CR\"==s?e.s.topology.auth(\"mongocr\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"PLAIN\"==s?e.s.topology.auth(\"plain\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"MONGODB-X509\"==s?e.s.topology.auth(\"x509\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"SCRAM-SHA-1\"==s?e.s.topology.auth(\"scram-sha-1\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"GSSAPI\"==s?\"win32\"==process.platform?e.s.topology.auth(\"sspi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):e.s.topology.auth(\"gssapi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"DEFAULT\"==s?e.s.topology.auth(\"default\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):p(i,g.create({message:d(\"authentication mechanism %s not supported\",r.authMechanism),driver:!0}))};j.prototype.authenticate=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(n=a(n),n.authMechanism){if(\"GSSAPI\"!=n.authMechanism&&\"MONGODB-CR\"!=n.authMechanism&&\"MONGODB-X509\"!=n.authMechanism&&\"SCRAM-SHA-1\"!=n.authMechanism&&\"PLAIN\"!=n.authMechanism)return p(r,g.create({message:\"only GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\",driver:!0}))}else n.authMechanism=\"DEFAULT\";return\"function\"==typeof r?q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?r(e,t):void r(null,t)}):new this.s.promiseLibrary(function(r,o){q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?o(e):void r(t)})})},S.classMethod(\"authenticate\",{callback:!0,promise:!0}),j.prototype.logout=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{};var i={logout:1};return e.onAll=!0,this.s.authSource&&(e.dbName=this.s.authSource),\"function\"==typeof t?this.command(i,e,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e,!1):void p(t,null,!0)}):new this.s.promiseLibrary(function(t,r){n.command(i,e,function(e,i){return n.serverConfig&&n.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):e?r(e):void t(!0)})})},S.classMethod(\"logout\",{callback:!0,promise:!0});j.prototype.indexInformation=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?R(r,e,t,n):new this.s.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})};var R=function(e,t,n,r){var i=null==n.full?!1:n.full;if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var o=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.name]=[];for(var i in r.key)t[r.name].push([i,r.key[i]])}return t};e.collection(t).listIndexes().toArray(function(e,t){return e?r(l(e)):Array.isArray(t)?i?p(r,null,t):void p(r,null,o(t)):p(r,null,[])})};S.classMethod(\"indexInformation\",{callback:!0,promise:!0});var L=function(e,t,n,r){var i=s(n),o=i.fieldHash,a=(i.keys,\"string\"==typeof r.name?r.name:i.name),c={ns:e.databaseName+\".\"+t,key:o,name:a},u=null==r||\"object\"==typeof r?!1:r;r=null==r||\"boolean\"==typeof r?{}:r;var p=Object.keys(c);for(var l in r)-1==p.indexOf(l)&&(c[l]=r[l]);null==c.unique&&(c.unique=u);for(var f=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],d=0;d<f.length;d++)delete c[f[d]];return c},$=function(e,t,n,r,i){var o=s(n),a=\"string\"==typeof r.name?r.name:o.name,c=[{name:a,key:o.fieldHash}],u=Object.keys(c[0]);for(var f in r){-1==u.indexOf(f)&&(c[0][f]=r[f]);for(var d=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],h=0;h<d.length;h++)delete c[0][d[h]]}var m={createIndexes:t,indexes:c};m=H(m,e,r),e.command(m,r,function(e,t){return e?p(i,e,null):0==t.ok?p(i,l(t),null):void p(i,null,a)})},U=function(e){if(\"string\"!=typeof e)throw g.create({message:\"database name must be a string\",driver:!0});if(0===e.length)throw g.create({message:\"database name cannot be the empty string\",driver:!0});if(\"$external\"!=e)for(var t=[\" \",\".\",\"$\",\"/\",\"\\\\\"],n=0;n<t.length;n++)if(-1!=e.indexOf(t[n]))throw g.create({message:\"database names cannot contain the character '\"+t[n]+\"'\",driver:!0})},H=function(e,t,n){if(null!=n.w||null!=n.j||null!=n.fsync){var r={};n.w&&(r.w=n.w),n.wtimeout&&(r.wtimeout=n.wtimeout),n.j&&(r.j=n.j),n.fsync&&(r.fsync=n.fsync),e.writeConcern=r}else null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},V=function(e,t,n){var r=function(r){if(\"error\"!=t){n.emit(t,r,e);for(var i=0;i<e.s.children.length;i++)e.s.children[i].emit(t,r,e.s.children[i])}};return r};j.prototype.unref=function(e,t){this.s.topology.unref()},j.SYSTEM_NAMESPACE_COLLECTION=\"system.namespaces\",j.SYSTEM_INDEX_COLLECTION=\"system.indexes\",j.SYSTEM_PROFILE_COLLECTION=\"system.profile\",j.SYSTEM_USER_COLLECTION=\"system.users\",j.SYSTEM_COMMAND_COLLECTION=\"$cmd\",j.SYSTEM_JS_COLLECTION=\"system.js\",t.exports=j}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./admin\":216,\"./collection\":222,\"./command_cursor\":223,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,crypto:void 0,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,util:void 0}],226:[function(e,t,n){function r(e,t,n,r,i){this.s={bytesRead:0,chunks:e,cursor:null,expected:0,files:t,filter:r,init:!1,expectedEnd:0,file:null,options:i,readPreference:n},l.Readable.call(this)}function i(e){if(e.s.init)throw new Error(\"You cannot change options after the stream has enteredflowing mode!\")}function o(e){e.destroyed||e.s.cursor.next(function(t,n){if(!e.destroyed){if(t)return p(e,t);if(!n)return e.push(null),e.s.cursor.close(function(t){return t?p(e,t):void e.emit(\"close\")});var r=e.s.file.length-e.s.bytesRead,i=e.s.expected++,o=Math.min(e.s.file.chunkSize,r);if(n.n>i){var a=\"ChunkIsMissing: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.n<i){var a=\"ExtraChunk: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.data.length()!==o){if(0>=r){var a=\"ExtraChunk: Got unexpected n: \"+n.n;return p(e,new Error(a))}var a=\"ChunkIsWrongSize: Got unexpected length: \"+n.data.length()+\", expected: \"+o;return p(e,new Error(a))}if(e.s.bytesRead+=n.data.length(),0===n.data.buffer.length)return e.push(null);var s=null,c=null,u=n.data.buffer;null!=e.s.bytesToSkip&&(s=e.s.bytesToSkip,e.s.bytesToSkip=0),i===e.s.expectedEnd&&null!=e.s.bytesToTrim&&(c=e.s.bytesToTrim),null==s&&null==c||(u=u.slice(s||0,c||u.length)),e.push(u)}})}function a(e){var t={};e.s.readPreference&&(t.readPreference=e.s.readPreference),e.s.options&&e.s.options.sort&&(t.sort=e.s.options.sort),e.s.options&&e.s.options.skip&&(t.skip=e.s.options.skip),e.s.files.findOne(e.s.filter,t,function(t,n){if(t)return p(e,t);if(!n){var r=e.s.filter._id?e.s.filter._id.toString():e.s.filter.filename,i=\"FileNotFound: file \"+r+\" was not found\",o=new Error(i);return o.code=\"ENOENT\",p(e,o)}return n.length<=0?void e.push(null):e.destroyed?void e.emit(\"close\"):(e.s.cursor=e.s.chunks.find({files_id:n._id}).sort({n:1}),e.s.readPreference&&e.s.cursor.setReadPreference(e.s.readPreference),e.s.expectedEnd=Math.ceil(n.length/n.chunkSize),e.s.file=n,e.s.bytesToSkip=c(e,n,e.s.cursor,e.s.options),e.s.bytesToTrim=u(e,n,e.s.cursor,e.s.options),void e.emit(\"file\",n))})}function s(e,t){return e.s.file?t():(e.s.init||(a(e),e.s.init=!0),void e.once(\"file\",function(){t()}))}function c(e,t,n,r){if(r&&null!=r.start){if(r.start>t.length)throw new Error(\"Stream start (\"+r.start+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream start (\"+r.start+\") must not be negative\");if(null!=r.end&&r.end<r.start)throw new Error(\"Stream start (\"+r.start+\") must not be greater than stream end (\"+r.end+\")\");return n.skip(Math.floor(r.start/t.chunkSize)),e.s.bytesRead=Math.floor(r.start/t.chunkSize)*t.chunkSize,e.s.expected=Math.floor(r.start/t.chunkSize),r.start-e.s.bytesRead}}function u(e,t,n,r){if(r&&null!=r.end){if(r.end>t.length)throw new Error(\"Stream end (\"+r.end+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream end (\"+r.end+\") must not be negative\");var i=null!=r.start?Math.floor(r.start/t.chunkSize):0;return n.limit(Math.ceil(r.end/t.chunkSize)-i),e.s.expectedEnd=Math.ceil(r.end/t.chunkSize),Math.ceil(r.end/t.chunkSize)*t.chunkSize-r.end}}function p(e,t){e.emit(\"error\",t)}var l=(e(\"../utils\").shallowClone,e(\"stream\")),f=e(\"util\");t.exports=r,f.inherits(r,l.Readable),r.prototype._read=function(){var e=this;this.destroyed||s(e,function(){o(e)})},r.prototype.start=function(e){return i(this),this.s.options.start=e,this},r.prototype.end=function(e){return i(this),this.s.options.end=e,this},r.prototype.abort=function(e){var t=this;this.push(null),this.destroyed=!0,this.s.cursor?this.s.cursor.close(function(n){t.emit(\"close\"),e&&e(n)}):(this.s.init||t.emit(\"close\"),e&&e())}},{\"../utils\":239,stream:void 0,util:void 0}],227:[function(e,t,n){(function(n){function r(t,r){if(s.apply(this),this.setMaxListeners(0),r&&\"object\"==typeof r){r=p(r);for(var i=Object.keys(d),o=0;o<i.length;++o)r[i[o]]||(r[i[o]]=d[i[o]])}else r=d;this.s={db:t,options:r,_chunksCollection:t.collection(r.bucketName+\".chunks\"),_filesCollection:t.collection(r.bucketName+\".files\"),checkedIndexes:!1,calledOpenUploadStream:!1,promiseLibrary:t.s.promiseLibrary||(\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise)}}function i(e,t,n){e.s._filesCollection.deleteOne({_id:t},function(r,i){return r?n(r):void e.s._chunksCollection.deleteMany({files_id:t},function(e){if(e)return n(e);if(!i.result.n){var r=\"FileNotFound: no file with id \"+t+\" found\";return n(new Error(r))}n()})})}function o(e,t,n,r){var i={_id:t},o={$set:{filename:n}};e.s._filesCollection.updateOne(i,o,function(e,n){return e?r(e):n.result.n?void r():r(l(\"File with id \"+t+\" not found\"))})}function a(e,t){e.s._filesCollection.drop(function(n){return n?t(n):void e.s._chunksCollection.drop(function(e){return e?t(e):t()})})}var s=e(\"events\").EventEmitter,c=e(\"./download\"),u=e(\"./upload\"),p=e(\"../utils\").shallowClone,l=e(\"../utils\").toError,f=e(\"util\"),d={bucketName:\"fs\",chunkSizeBytes:261120};t.exports=r,f.inherits(r,s),r.prototype.openUploadStream=function(e,t){return t=t?p(t):{},t.chunkSizeBytes||(t.chunkSizeBytes=this.s.options.chunkSizeBytes),new u(this,e,t)},r.prototype.openDownloadStream=function(e,t){var n={_id:e},t={start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,n,t)},r.prototype[\"delete\"]=function(e,t){if(\"function\"==typeof t)return i(this,e,t);var n=this;return new this.s.promiseLibrary(function(t,r){i(n,e,function(e,n){e?r(e):t(n)})})},r.prototype.find=function(e,t){e=e||{},t=t||{};var n=this.s._filesCollection.find(e);return null!=t.batchSize&&n.batchSize(t.batchSize),null!=t.limit&&n.limit(t.limit),null!=t.maxTimeMS&&n.maxTimeMS(t.maxTimeMS),null!=t.noCursorTimeout&&n.addCursorFlag(\"noCursorTimeout\",t.noCursorTimeout),null!=t.skip&&n.skip(t.skip),null!=t.sort&&n.sort(t.sort),n},r.prototype.openDownloadStreamByName=function(e,t){var n={uploadDate:-1},r=null;t&&null!=t.revision&&(t.revision>=0?(n={uploadDate:1},r=t.revision):r=-t.revision-1);var i={filename:e},t={sort:n,skip:r,start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,i,t)},r.prototype.rename=function(e,t,n){if(\"function\"==typeof n)return o(this,e,t,n);var r=this;return new this.s.promiseLibrary(function(n,i){o(r,e,t,function(e,t){e?i(e):n(t)})})},r.prototype.drop=function(e){if(\"function\"==typeof e)return a(this,e);var t=this;return new this.s.promiseLibrary(function(e,n){a(t,function(t,r){t?n(t):e(r)})})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../utils\":239,\"./download\":226,\"./upload\":228,\"es6-promise\":95,events:void 0,util:void 0}],228:[function(e,t,n){(function(n){function r(e,t,r){if(this.bucket=e,this.chunks=e.s._chunksCollection,this.filename=t,this.files=e.s._filesCollection,this.options=r,this.id=m.BSON.ObjectId(),this.chunkSizeBytes=this.options.chunkSizeBytes,this.bufToStore=new n(this.chunkSizeBytes),this.length=0,this.md5=v.createHash(\"md5\"),this.n=0,this.pos=0,this.state={streamEnd:!1,outstandingRequests:0,errored:!1,aborted:!1,promiseLibrary:this.bucket.s.promiseLibrary},!this.bucket.s.calledOpenUploadStream){this.bucket.s.calledOpenUploadStream=!0;var i=this;c(this,function(){i.bucket.s.checkedIndexes=!0,i.bucket.emit(\"index\")})}}function i(e,t,n){return e.state.errored?void 0:(e.state.errored=!0,n?n(t):void e.emit(\"error\",t))}function o(e,t,n){return{_id:m.BSON.ObjectId(),files_id:e,n:t,data:n}}function a(e,t){e.chunks.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={files_id:1,n:1};return void e.chunks.createIndex(i,{background:!1},function(e){return e?t(e):void t()})}return t(n)}var o=!1;if(r.forEach(function(e){if(e.key){var t=Object.keys(e.key);2===t.length&&1===e.key.files_id&&1===e.key.n&&(o=!0)}}),o)t();else{var i={files_id:1,n:1},a=l(e);a.background=!1,a.unique=!0,e.chunks.createIndex(i,a,function(e){return e?t(e):void t()})}})}function s(e,t){if(e.state.streamEnd&&0===e.state.outstandingRequests&&!e.state.errored){var n=u(e.id,e.length,e.chunkSizeBytes,e.md5.digest(\"hex\"),e.filename,e.options.contentType,e.options.aliases,e.options.metadata);return h(e,t)?!1:(e.files.insert(n,l(e),function(r){return r?i(e,r,t):void e.emit(\"finish\",n)}),!0)}return!1}function c(e,t){e.files.findOne({},{_id:1},function(n,r){return n?t(n):r?t():void e.files.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={filename:1,uploadDate:1};return void e.files.createIndex(i,{background:!1},function(n){return n?t(n):void a(e,t)})}return t(n)}var o=!1;if(r.forEach(function(e){var t=Object.keys(e.key);2===t.length&&1===e.key.filename&&1===e.key.uploadDate&&(o=!0)}),o)a(e,t);else{var i={filename:1,uploadDate:1},s=l(e);s.background=!1,e.files.createIndex(i,s,function(n){return n?t(n):void a(e,t)})}})})}function u(e,t,n,r,i,o,a,s){var c={_id:e,length:t,chunkSize:n,uploadDate:new Date,md5:r,filename:i};return o&&(c.contentType=o),a&&(c.aliases=a),s&&(c.metadata=s),c}function p(e,t,r,a){if(h(e,a))return!1;var c=n.isBuffer(t)?t:new n(t,r);if(e.length+=c.length,e.pos+c.length<e.chunkSizeBytes)return c.copy(e.bufToStore,e.pos),e.pos+=c.length,a&&a(),!0;for(var u=c.length,p=e.chunkSizeBytes-e.pos,f=Math.min(p,c.length),d=0;u>0;){var m=c.length-u;if(c.copy(e.bufToStore,e.pos,m,m+f),e.pos+=f,p-=f,0===p){e.md5.update(e.bufToStore);var v=o(e.id,e.n,e.bufToStore);if(++e.state.outstandingRequests,++d,h(e,a))return!1;e.chunks.insert(v,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,--d,void(d||(e.emit(\"drain\",v),a&&a(),s(e))))}),p=e.chunkSizeBytes,e.pos=0,++e.n}u-=f,f=Math.min(p,u)}return!1}function l(e){var t={};return e.options.writeConcern&&(t.w=concern.w,t.wtimeout=concern.wtimeout,t.j=concern.j),t}function f(e,t){return e.bucket.s.checkedIndexes?t(!1):(e.bucket.once(\"index\",function(){t(!0)}),!0)}function d(e,t){if(0===e.pos)return s(e,t);++e.state.outstandingRequests;var r=new n(e.pos);e.bufToStore.copy(r,0,0,e.pos),e.md5.update(r);var a=o(e.id,e.n,r);return h(e,t)?!1:void e.chunks.insert(a,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,void s(e))})}function h(e,t){return e.state.aborted?(\"function\"==typeof t&&t(new Error(\"this stream has been aborted\")),!0):!1}var m=e(\"mongodb-core\"),v=e(\"crypto\"),g=(e(\"../utils\").shallowClone,e(\"stream\")),y=e(\"util\"),b=26;t.exports=r,y.inherits(r,g.Writable),r.prototype.write=function(e,t,n){var r=this;return f(this,function(){return p(r,e,t,n)})},r.prototype.abort=function(e){if(this.state.streamEnd){var t=new Error(\"Cannot abort a stream that has already completed\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}if(this.state.aborted){var t=new Error(\"Cannot call abort() on a stream twice\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}this.state.aborted=!0,this.chunks.deleteMany({files_id:this.id},function(t){\"function\"==typeof e&&e(t)})},r.prototype.end=function(e,t,r){if(!h(this,r)){var i=this;if(this.state.streamEnd=!0,r&&this.once(\"finish\",r),!e)return void f(this,function(){d(i)});var i=this;n.isBuffer(e)?e:new n(e,t);this.write(e,t,function(){d(i)})}}}).call(this,e(\"buffer\").Buffer)},{\"../utils\":239,buffer:void 0,crypto:void 0,\"mongodb-core\":188,stream:void 0,util:void 0}],229:[function(e,t,n){(function(n){\"use strict\";var r=e(\"mongodb-core\").BSON.Binary,i=e(\"mongodb-core\").BSON.ObjectID,o=function(e,t,a){if(!(this instanceof o))return new o(e,t);this.file=e;var s=null==t?{}:t;if(this.writeConcern=a||{w:1},this.objectId=null==s._id?new i:s._id,this.chunkNumber=null==s.n?0:s.n,this.data=new r,null==s.data);else if(\"string\"==typeof s.data){var c=new n(s.data.length);c.write(s.data,0,s.data.length,\"binary\"),this.data=new r(c)}else if(Array.isArray(s.data)){var c=new n(s.data.length),u=s.data.join(\"\");c.write(u,0,u.length,\"binary\"),this.data=new r(c)}else if(\"Binary\"===s.data._bsontype)this.data=s.data;else if(!n.isBuffer(s.data))throw Error(\"Illegal chunk format\");this.internalPosition=0};o.prototype.write=function(e,t){return this.data.write(e,this.internalPosition,e.length,\"binary\"),this.internalPosition=this.data.length(),null!=t?t(null,this):this},o.prototype.read=function(e){if(e=null==e||0==e?this.length():e,this.length()-this.internalPosition+1>=e){var t=this.data.read(this.internalPosition,e);return this.internalPosition=this.internalPosition+e,t}return\"\"},o.prototype.readSlice=function(e){if(this.length()-this.internalPosition>=e){var t=null;return null!=this.data.buffer?t=this.data.buffer.slice(this.internalPosition,this.internalPosition+e):(t=new n(e),e=this.data.readInto(t,this.internalPosition)),this.internalPosition=this.internalPosition+e,t}return null},o.prototype.eof=function(){return this.internalPosition==this.length()},o.prototype.getc=function(){return this.read(1)},o.prototype.rewind=function(){this.internalPosition=0,this.data=new r},o.prototype.save=function(e,t){var n=this;\"function\"==typeof e&&(t=e,e={}),n.file.chunkCollection(function(r,i){if(r)return t(r);var o={upsert:!0};for(var a in e)o[a]=e[a];for(var a in n.writeConcern)o[a]=n.writeConcern[a];n.data.length()>0?n.buildMongoObject(function(e){var r={forceServerObjectId:!0};for(var a in n.writeConcern)r[a]=n.writeConcern[a];i.replaceOne({_id:n.objectId},e,o,function(e,r){t(e,n)})}):t(null,n)})},o.prototype.buildMongoObject=function(e){var t={files_id:this.file.fileId,n:this.chunkNumber,data:this.data};null!=this.objectId&&(t._id=this.objectId),e(t)},o.prototype.length=function(){return this.data.length()},Object.defineProperty(o.prototype,\"position\",{enumerable:!0,get:function(){return this.internalPosition},set:function(e){this.internalPosition=e}}),o.DEFAULT_CHUNK_SIZE=261120,t.exports=o}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"mongodb-core\":188}],230:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./chunk\"),i=e(\"mongodb-core\").BSON.ObjectID,o=e(\"../read_preference\"),a=e(\"buffer\").Buffer,s=e(\"../collection\"),c=e(\"fs\"),u=(e(\"timers\"),e(\"util\").format),p=e(\"util\"),l=e(\"../metadata\"),f=e(\"mongodb-core\").MongoError,d=p.inherits,h=e(\"stream\").Duplex||e(\"readable-stream\").Duplex,m=e(\"../utils\").shallowClone,v=0,g=1,y=function H(t,a,s,c,u){if(!(this instanceof H))return new H(t,a,s,c,u);this.db=t,\"undefined\"==typeof u&&(u={}),\"undefined\"==typeof c?(c=s,s=void 0):\"object\"==typeof c&&(u=c,c=s,s=void 0),a instanceof i?(this.referenceBy=g,this.fileId=a,this.filename=s):\"undefined\"==typeof s?(this.referenceBy=v,this.filename=a,null!=c.indexOf(\"w\")&&(this.fileId=new i)):(this.referenceBy=g,this.fileId=a,this.filename=s),this.mode=null==c?\"r\":c,this.options=u||{},this.isOpen=!1,this.root=null==this.options.root?H.DEFAULT_ROOT_COLLECTION:this.options.root,this.position=0,this.readPreference=this.options.readPreference||t.options.readPreference||o.PRIMARY,this.writeConcern=$(t,this.options),this.internalChunkSize=null==this.options.chunkSize?r.DEFAULT_CHUNK_SIZE:this.options.chunkSize;var p=this.options.promiseLibrary;p||(p=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),this.promiseLibrary=p,Object.defineProperty(this,\"chunkSize\",{enumerable:!0,get:function(){return this.internalChunkSize},set:function(e){\"w\"!=this.mode[0]||0!=this.position||null!=this.uploadDate?this.internalChunkSize=this.internalChunkSize:this.internalChunkSize=e}}),Object.defineProperty(this,\"md5\",{enumerable:!0,get:function(){return this.internalMd5}}),Object.defineProperty(this,\"chunkNumber\",{enumerable:!0,get:function(){return this.currentChunk&&this.currentChunk.chunkNumber?this.currentChunk.chunkNumber:null}})},b=y.define=new l(\"Gridstore\",y,!0);y.prototype.open=function(e){var t=this;if(\"w\"!=this.mode&&\"w+\"!=this.mode&&\"r\"!=this.mode)throw f.create({message:\"Illegal mode \"+this.mode,driver:!0});return\"function\"==typeof e?x(t,e):new t.promiseLibrary(function(e,n){x(t,function(t,r){return t?n(t):void e(r)})})};var x=function(e,t){var n=$(e.db,e.options);if(\"w\"==e.mode||\"w+\"==e.mode){var r=e.collection();r.ensureIndex([[\"filename\",1]],n,function(r,i){var o=e.chunkCollection(),a=m(n);a.unique=!0,o.ensureIndex([[\"files_id\",1],[\"n\",1]],a,function(r,i){C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})})})}else C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})};b.classMethod(\"open\",{callback:!0,promise:!0}),y.prototype.eof=function(){return this.position==this.length},b.classMethod(\"eof\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.getc=function(e){var t=this;return\"function\"==typeof e?w(t,e):new t.promiseLibrary(function(e,n){w(t,function(t,r){return t?n(t):void e(r)})})};var w=function(e,t){e.eof()?t(null,null):e.currentChunk.eof()?P(e,e.currentChunk.chunkNumber+1,function(n,r){e.currentChunk=r,e.position=e.position+1,t(n,e.currentChunk.getc())}):(e.position=e.position+1,t(null,e.currentChunk.getc()))};b.classMethod(\"getc\",{callback:!0,promise:!0}),y.prototype.puts=function(e,t){var n=this,r=null==e.match(/\\n$/)?e+\"\\n\":e;return\"function\"==typeof t?this.write(r,t):new n.promiseLibrary(function(e,t){n.write(r,function(n,r){return n?t(n):void e(r)})})},b.classMethod(\"puts\",{callback:!0,promise:!0}),y.prototype.stream=function(){return new U(this)},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[U]}),y.prototype.write=function(e,t,n){var r=this;return\"function\"==typeof n?R(this,e,t,n):new r.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})},b.classMethod(\"write\",{callback:!0,promise:!0}),y.prototype.destroy=function(){this.writable&&(this.readable=!1,this.writable&&(this.writable=!1,this._q.length=0,this.emit(\"close\")))},b.classMethod(\"destroy\",{callback:!1,promise:!1}),y.prototype.writeFile=function(e,t){var n=this;return\"function\"==typeof t?_(n,e,t):new n.promiseLibrary(function(t,r){_(n,e,function(e,n){return e?r(e):void t(n)})})};var _=function(e,t,n){return\"string\"==typeof t?void c.open(t,\"r\",function(t,r){return t?n(t):void e.writeFile(r,n)}):void e.open(function(e,i){return e?n(e,i):void c.fstat(t,function(e,o){if(e)return n(e,i);var a=0,s=0,u=(Math.min(o.size/i.chunkSize),function(){c.read(t,i.chunkSize,a,\"binary\",function(e,p,l){if(e)return n(e,i);a+=l;var f=new r(i,{n:s++},i.writeConcern);f.write(p,function(e,r){return e?n(e,i):void r.save({},function(e,s){return e?n(e,i):(i.position=i.position+p.length,i.currentChunk=r,a>=o.size?(c.close(t),void i.close(function(e,t){return e?n(e,i):n(null,i)})):process.nextTick(u))})})})});process.nextTick(u)})})};b.classMethod(\"writeFile\",{callback:!0,promise:!0}),y.prototype.close=function(e){var t=this;return\"function\"==typeof e?k(t,e):new t.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){if(\"w\"==e.mode[0]){var n=e.writeConcern;null!=e.currentChunk&&e.currentChunk.position>0?e.currentChunk.save({},function(r,i){return r&&\"function\"==typeof t?t(r):void e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):void(null!=e.uploadDate?I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}):(e.uploadDate=new Date,I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})})))})}):e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):(e.uploadDate=new Date,void I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}))})}else\"r\"==e.mode[0]?\"function\"==typeof t&&t(null,null):\"function\"==typeof t&&t(f.create({message:u(\"Illegal mode %s\",e.mode),driver:!0}))};b.classMethod(\"close\",{callback:!0,promise:!0}),y.prototype.chunkCollection=function(e){return\"function\"==typeof e?this.db.collection(this.root+\".chunks\",e):this.db.collection(this.root+\".chunks\")},b.classMethod(\"chunkCollection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.unlink=function(e){var t=this;return\"function\"==typeof e?j(t,e):new t.promiseLibrary(function(e,n){j(t,function(t,r){return t?n(t):void e(r)})})};var j=function(e,t){M(e,function(n){return null!==n?(n.message=\"at deleteChunks: \"+n.message,t(n)):void e.collection(function(n,r){return null!==n?(n.message=\"at collection: \"+n.message,t(n)):void r.remove({_id:e.fileId},e.writeConcern,function(n){t(n,e)})})})};b.classMethod(\"unlink\",{callback:!0,promise:!0}),y.prototype.collection=function(e){return\"function\"==typeof e&&this.db.collection(this.root+\".files\",e),this.db.collection(this.root+\".files\")},b.classMethod(\"collection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.readlines=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift():\"\\n\",e=e||\"\\n\",\"function\"==typeof t?S(n,e,t):new n.promiseLibrary(function(t,r){S(n,e,function(e,n){return e?r(e):void t(n)})})};var S=function(e,t,n){e.read(function(e,r){if(e)return n(e);var i=r.toString().split(t);i=i.length>0?i.splice(0,i.length-1):[];for(var o=0;o<i.length;o++)i[o]=i[o]+t;n(null,i)})};b.classMethod(\"readlines\",{callback:!0,promise:!0}),y.prototype.rewind=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})};var E=function(e,t){0!=e.currentChunk.chunkNumber?\"w\"==e.mode[0]?M(e,function(n,i){return n?t(n):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.position=0,void t(null,e))}):e.currentChunk(0,function(n,r){return n?t(n):(e.currentChunk=r,e.currentChunk.rewind(),e.position=0,void t(null,e))}):(e.currentChunk.rewind(),e.position=0,t(null,e))};b.classMethod(\"rewind\",{callback:!0,promise:!0}),y.prototype.read=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,\"function\"==typeof n?O(r,e,t,n):new r.promiseLibrary(function(n,i){O(r,e,t,function(e,t){return e?i(e):void n(t)})})};var O=function(e,t,n,r){var i=null==t?e.length-e.position:t,o=null==n?new a(i):n;if(o._index=null!=n&&null!=n._index?n._index:0,e.currentChunk.length()-e.currentChunk.position+o._index>=i){var s=e.currentChunk.readSlice(i-o._index);return s.copy(o,o._index),e.position=e.position+o.length,0==i&&0==o.length?r(f.create({message:\"File does not exist\",driver:!0}),null):r(null,o)}var s=e.currentChunk.readSlice(e.currentChunk.length()-e.currentChunk.position);s.copy(o,o._index),o._index+=s.length,P(e,e.currentChunk.chunkNumber+1,function(n,i){return n?r(n):void(i.length()>0?(e.currentChunk=i,e.read(t,o,r)):o._index>0?r(null,o):r(f.create({message:\"no chunks found for file, possibly corrupt\",driver:!0}),null))})};b.classMethod(\"read\",{callback:!0,promise:!0}),y.prototype.tell=function(e){var t=this;return\"function\"==typeof e?e(null,this.position):new t.promiseLibrary(function(e,n){e(t.position)})},b.classMethod(\"tell\",{callback:!0,promise:!0}),y.prototype.seek=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():null,\"function\"==typeof n?A(r,e,t,n):new r.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})};var A=function(e,t,n,r){if(\"r\"!=e.mode)return r(f.create({message:\"seek is only supported for mode r\",driver:!0}));var i=null==n?y.IO_SEEK_SET:n,o=t,a=0;a=i==y.IO_SEEK_CUR?e.position+o:i==y.IO_SEEK_END?e.length+o:o;var s=Math.floor(a/e.chunkSize),c=function(){P(e,s,function(t,n){return t?r(t,null):null==n?r(new Error(\"no chunk found\")):(e.currentChunk=n,e.position=a,e.currentChunk.position=e.position%e.chunkSize,void r(t,e))})};c()};b.classMethod(\"seek\",{callback:!0,promise:!0});var C=function(e,t,n){function o(e){o.err||n(o.err=e)}var a=e.collection(),s=e.referenceBy==g?{_id:e.fileId}:{filename:e.filename};if(s=null==e.fileId&&null==e.filename?null:s,t.readPreference=e.readPreference,null!=s)a.findOne(s,t,function(a,s){if(a)return o(a);if(null!=s)e.fileId=s._id,e.filename=\"r\"==e.mode||void 0==e.filename?s.filename:e.filename,e.contentType=s.contentType,e.internalChunkSize=s.chunkSize,e.uploadDate=s.uploadDate,e.aliases=s.aliases,e.length=s.length,e.metadata=s.metadata,e.internalMd5=s.md5;else{if(\"r\"==e.mode){e.length=0;var c=e.fileId instanceof i?e.fileId.toHexString():e.fileId;return o(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?c:e.filename),driver:!0}),e)}e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0}\"r\"==e.mode?P(e,0,t,function(t,r){return t?o(t):(e.currentChunk=r,e.position=0,void n(null,e))}):\"w\"==e.mode&&s?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w\"==e.mode?(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,\ne.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,n(null,e)):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})});else{e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0;e.chunkCollection();\"w\"==e.mode?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})}},T=function(e,t,n,i){\"function\"==typeof n&&(i=n,n=null);var o=\"boolean\"==typeof n?n:!1;if(\"w\"!=e.mode)i(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?e.referenceBy:e.filename),driver:!0}),null);else{if(!(e.currentChunk.position+t.length>=e.chunkSize))return e.position=e.position+t.length,e.currentChunk.write(t),o?e.close(function(t,n){i(t,e)}):i(null,e);for(var a=e.currentChunk.chunkNumber,s=e.chunkSize-e.currentChunk.position,c=t.slice(0,s),p=t.slice(s),l=[e.currentChunk.write(c)];p.length>=e.chunkSize;){var d=new r(e,{n:a+1},e.writeConcern),c=p.slice(0,e.chunkSize);p=p.slice(e.chunkSize),a+=1,d.write(c),l.push(d)}e.currentChunk=new r(e,{n:a+1},e.writeConcern),p.length>0&&e.currentChunk.write(p),e.position=e.position+t.length;for(var h=l.length,m=0;m<l.length;m++)l[m].save({},function(t,n){return t?i(t):(h-=1,0>=h?o?e.close(function(t,n){i(t,e)}):i(null,e):void 0)})}},I=function(e,t){var n={_id:e.fileId,filename:e.filename,contentType:e.contentType,length:e.position?e.position:0,chunkSize:e.chunkSize,uploadDate:e.uploadDate,aliases:e.aliases,metadata:e.metadata},r={filemd5:e.fileId,root:e.root};e.db.command(r,function(e,r){return e?t(e):(n.md5=r.md5,void t(null,n))})},P=function(e,t,n,i){\"function\"==typeof n&&(i=n,n={}),n=n||e.writeConcern,n.readPreference=e.readPreference,e.chunkCollection().findOne({files_id:e.fileId,n:t},n,function(t,n){if(t)return i(t);var o=null==n?{}:n;i(null,new r(e,o,e.writeConcern))})},F=function(e){return Math.floor((e.length?e.length-1:0)/e.chunkSize)},M=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||e.writeConcern,null!=e.fileId?e.chunkCollection().remove({files_id:e.fileId},t,function(e,t){return e?n(e,!1):void n(null,!0)}):n(null,!0)};y.DEFAULT_ROOT_COLLECTION=\"fs\",y.DEFAULT_CONTENT_TYPE=\"binary/octet-stream\",y.IO_SEEK_SET=0,y.IO_SEEK_CUR=1,y.IO_SEEK_END=2,y.exist=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():{},o=o||{};var c=o.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?z(t,r,i,o,a):new c(function(e,n){z(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var z=function(e,t,n,r,i){var a=r.readPreference||o.PRIMARY,s=null!=n?n:y.DEFAULT_ROOT_COLLECTION;e.collection(s+\".files\",function(e,n){if(e)return i(e);var r=\"string\"==typeof t||\"[object RegExp]\"==Object.prototype.toString.call(t)?{filename:t}:{_id:t};null!=t&&\"object\"==typeof t&&\"[object RegExp]\"!=Object.prototype.toString.call(t)&&(r=t),n.findOne(r,{readPreference:a},function(e,t){return e?i(e):void i(null,null!=t)})})};b.staticMethod(\"exist\",{callback:!0,promise:!0}),y.list=function(t,r,i,o){var a=Array.prototype.slice.call(arguments,1);o=a.pop(),\"function\"!=typeof o&&a.push(o),r=a.length?a.shift():null,i=a.length?a.shift():{},i=i||{};var s=i.promiseLibrary;return s||(s=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?B(t,r,i,o):new s(function(e,n){B(t,r,i,function(t,r){return t?n(t):void e(r)})})};var B=function(e,t,n,r){null!=t&&\"object\"==typeof t&&(n=t,t=null);var i=n.readPreference||o.PRIMARY,a=null!=n.id?n.id:!1,s=null!=t?t:y.DEFAULT_ROOT_COLLECTION,c=[];e.collection(s+\".files\",function(e,t){return e?r(e):void t.find({},{readPreference:i},function(e,t){return e?r(e):void t.each(function(e,t){null!=t?c.push(a?t._id:t.filename):r(e,c)})})})};b.staticMethod(\"list\",{callback:!0,promise:!0}),y.read=function(t,r,i,o,a,s){var c=Array.prototype.slice.call(arguments,2);s=c.pop(),\"function\"!=typeof s&&c.push(s),i=c.length?c.shift():null,o=c.length?c.shift():null,a=c.length?c.shift():null,a=a||{};var u=a?a.promiseLibrary:null;return u||(u=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof s?N(t,r,i,o,a,s):new u(function(e,n){N(t,r,i,o,a,function(t,r){return t?n(t):void e(r)})})};var N=function(e,t,n,r,i,o){new y(e,t,\"r\",i).open(function(e,t){return e?o(e):r&&r>=t.length?o(\"offset larger than size of file\",null):n&&n>t.length?o(\"length is larger than the size of the file\",null):r&&n&&r+n>t.length?o(\"offset and length is larger than the size of the file\",null):void(null!=r?t.seek(r,function(e,t){return e?o(e):void t.read(n,o)}):t.read(n,o))})};b.staticMethod(\"read\",{callback:!0,promise:!0}),y.readlines=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():null,o=o||{};var c=o?o.promiseLibrary:null;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?D(t,r,i,o,a):new c(function(e,n){D(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var D=function(e,t,n,r,i){var o=null==n?\"\\n\":n;new y(e,t,\"r\",r).open(function(e,t){return e?i(e):void t.readlines(o,i)})};b.staticMethod(\"readlines\",{callback:!0,promise:!0}),y.unlink=function(t,r,i,o){var a=this,s=Array.prototype.slice.call(arguments,2);o=s.pop(),\"function\"!=typeof o&&s.push(o),i=s.length?s.shift():{},i=i||{};var c=i.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?q(a,t,r,i,o):new c(function(e,n){q(a,t,r,i,function(t,r){return t?n(t):void e(r)})})};var q=function(e,t,n,r,i){var o=$(t,r);if(n.constructor==Array)for(var a=0,s=0;s<n.length;s++)++a,y.unlink(t,n[s],r,function(t){0==--a&&i(null,e)});else new y(t,n,\"w\",r).open(function(t,n){return t?i(t):void M(n,function(t,r){return t?i(t):void n.collection(function(t,r){return t?i(t):void r.remove({_id:n.fileId},o,function(t,n){i(t,e)})})})})};b.staticMethod(\"unlink\",{callback:!0,promise:!0});var R=function(e,t,n,r){return a.isBuffer(t)?T(e,t,n,r):T(e,new a(t,\"binary\"),n,r)},L=function(e){var t={};return null!=e.w&&(t.w=e.w),1==e.journal&&(t.j=e.journal),1==e.j&&(t.j=e.j),1==e.fsync&&(t.fsync=e.fsync),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),t},$=function(e,t){var n={w:1};if(t=t||{},null!=t.w||\"boolean\"==typeof t.j||\"boolean\"==typeof t.journal||\"boolean\"==typeof t.fsync?n=L(t):null!=t.safe&&\"object\"==typeof t.safe?n=L(t.safe):\"boolean\"==typeof t.safe?n={w:t.safe?1:0}:null!=e.options.w||\"boolean\"==typeof e.options.j||\"boolean\"==typeof e.options.journal||\"boolean\"==typeof e.options.fsync?n=L(e.options):!e.safe||null==e.safe.w&&\"boolean\"!=typeof e.safe.j&&\"boolean\"!=typeof e.safe.journal&&\"boolean\"!=typeof e.safe.fsync?\"boolean\"==typeof e.safe&&(n={w:e.safe?1:0}):n=L(e.safe),n.w<1&&(1==n.journal||1==n.j||1==n.fsync))throw f.create({message:\"No acknowledgement using w < 1 cannot be combined with journal:true or fsync:true\",driver:!0});return n},U=function(e){h.call(this),this.gs=e,this.endCalled=!1,this.totalBytesToRead=this.gs.length-this.gs.position,this.seekPosition=this.gs.position};d(U,h),U.prototype._pipe=U.prototype.pipe,U.prototype.pipe=function(e){var t=this;return t.gs.isOpen?(t.totalBytesToRead=t.gs.length-t.gs.position,t._pipe.apply(t,[e])):t.gs.open(function(n){return n?t.emit(\"error\",n):(t.totalBytesToRead=t.gs.length-t.gs.position,void t._pipe.apply(t,[e]))}),e},U.prototype._read=function(e){var t=this,n=function(){t.gs.read(r,function(e,n){return e&&!t.endCalled?t.emit(\"error\",e):t.endCalled||null==n?t.push(null):(n.length<=t.totalBytesToRead?(t.totalBytesToRead=t.totalBytesToRead-n.length,t.push(n)):n.length>t.totalBytesToRead&&(t.totalBytesToRead=t.totalBytesToRead-n._index,t.push(n.slice(0,n._index))),void(t.totalBytesToRead<=0&&(t.endCalled=!0)))})},r=t.gs.length<t.gs.chunkSize?t.gs.length-t.seekPosition:t.gs.chunkSize;t.gs.isOpen?n():t.gs.open(function(e,r){return t.totalBytesToRead=t.gs.length-t.gs.position,e?t.emit(\"error\",e):void n()})},U.prototype.destroy=function(){this.pause(),this.endCalled=!0,this.gs.close(),this.emit(\"end\")},U.prototype.write=function(e,t,n){var r=this;return r.endCalled?r.emit(\"error\",f.create({message:\"attempting to write to stream after end called\",driver:!0})):r.gs.isOpen?(r.gs.write(e,function(){r.emit(\"drain\")}),!0):(r.gs.open(function(){r.gs.isOpen=!0,r.gs.write(e,function(){process.nextTick(function(){r.emit(\"drain\")})})}),!1)},U.prototype.end=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,r.endCalled=!0,e&&r.gs.write(e,function(){r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})}),r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})},t.exports=y}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../collection\":222,\"../metadata\":231,\"../read_preference\":234,\"../utils\":239,\"./chunk\":229,buffer:void 0,\"es6-promise\":95,fs:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,timers:void 0,util:void 0}],231:[function(e,t,n){var r=e(\"util\").format,i=function(e,t,n){this.name=e,this.object=t,this.stream=\"boolean\"==typeof n?n:!1,this.instrumentations={}};i.prototype.classMethod=function(e,t){var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)};var o=function(e,t){for(var n=[],i=0;i<e.length;i++)n.push(r(\"%s=%s\",e[i],t[e[i]]));return n.join()};i.prototype.staticMethod=function(e,t){t[\"static\"]=!0;var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)},i.prototype.generate=function(e,t){var n={name:this.name,obj:this.object,stream:this.stream,instrumentations:[]};for(var r in this.instrumentations)n.instrumentations.push(this.instrumentations[r]);return n},t.exports=i},{util:void 0}],232:[function(e,t,n){(function(n){\"use strict\";function r(){this.connect=r.connect}var i=e(\"./url_parser\"),o=e(\"./server\"),a=e(\"./mongos\"),s=e(\"./replset\"),c=e(\"./metadata\"),u=e(\"./read_preference\"),p=e(\"./db\"),l=r.define=new c(\"MongoClient\",r,!1);r.connect=function(t,r,i){var o=Array.prototype.slice.call(arguments,1);i=\"function\"==typeof o[o.length-1]?o.pop():null,r=o.length?o.shift():null,r=r||{};var a=r.promiseLibrary;return a||(a=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"!=typeof i?new a(function(e,n){g(t,r,function(t,r){return t?n(t):void e(r)})}):void g(t,r,i)},l.staticMethod(\"connect\",{callback:!0,promise:!0});var f=[\"poolSize\",\"ssl\",\"sslValidate\",\"checkServerIdentity\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"autoReconnect\",\"noDelay\",\"keepAlive\",\"connectionTimeoutMS\",\"socketTimeoutMS\",\"reconnectTries\",\"reconnectInterval\"],d=[\"ha\",\"haInterval\",\"replicaSet\",\"secondaryAcceptableLatencyMS\",\"connectWithNoPrimary\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\"],h=[\"ha\",\"haInterval\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\",\"acceptableLatencyMS\"],m=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"ignoreUndefined\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"readPreference\",\"pkFactory\",\"promiseLibrary\",\"readConcern\"],v=function(e,t){e.server_options||(e.server_options={}),e.db_options||(e.db_options={}),e.rs_options||(e.rs_options={}),e.mongos_options||(e.mongos_options={});for(var n in t)-1!=f.indexOf(n)&&(e.server_options[n]=t[n]),-1!=d.indexOf(n)&&(e.rs_options[n]=t[n]),-1!=h.indexOf(n)&&(e.mongos_options[n]=t[n]),-1!=m.indexOf(n)&&(e.db_options[n]=t[n]);return e},g=function(e,t,n){var r=t.server||{},c=t.mongos||{},u=t.replSet||t.replSetServers||{},l=t.db||{};if(null==n)throw new Error(\"no callback function provided\");var f=i(e,t);if(l)for(var d in l)f.db_options[d]=l[d];if(f.db_options.url=e,r)for(var d in r)f.server_options[d]=r[d];if(u)for(var d in u)f.rs_options[d]=u[d];if((u.ssl||u.sslValidate||u.checkServerIdentity||u.sslCA||u.sslCert||u.sslKey||u.sslPass)&&(f.server_options.ssl=u.ssl,f.server_options.sslValidate=u.sslValidate,f.server_options.checkServerIdentity=u.checkServerIdentity,f.server_options.sslCA=u.sslCA,f.server_options.sslCert=u.sslCert,f.server_options.sslKey=u.sslKey,f.server_options.sslPass=u.sslPass),c)for(var d in c)f.mongos_options[d]=c[d];\"number\"==typeof f.server_options.poolSize&&(f.mongos_options.poolSize||(f.mongos_options.poolSize=f.server_options.poolSize),f.rs_options.poolSize||(f.rs_options.poolSize=f.server_options.poolSize)),(c.ssl||c.sslValidate||c.checkServerIdentity||c.sslCA||c.sslCert||c.sslKey||c.sslPass)&&(f.server_options.ssl=c.ssl,f.server_options.sslValidate=c.sslValidate,f.server_options.checkServerIdentity=c.checkServerIdentity,f.server_options.sslCA=c.sslCA,f.server_options.sslCert=c.sslCert,f.server_options.sslKey=c.sslKey,f.server_options.sslPass=c.sslPass),f.db_options.promiseLibrary=t.promiseLibrary;var h=f.servers.length,m=0,g=0,x=null,w={};if(0==f.servers.length)throw new Error(\"connection string must contain at least one seed host\");f.db_options.native_parser=y(f.db_options),\"boolean\"!=typeof f.server_options.auto_reconnect&&(f.server_options.auto_reconnect=!0),f=v(f,t);for(var _=0;_<f.servers.length;_++){var k=f.server_options.socketOptions||{},j={poolSize:1,socketOptions:{connectTimeoutMS:k.connectTimeoutMS||12e4,socketTimeoutMS:k.socketTimeoutMS||12e4},auto_reconnect:!1};f.server_options.ssl?(j.ssl=f.server_options.ssl,j.sslValidate=f.server_options.sslValidate,j.checkServerIdentity=f.server_options.checkServerIdentity,j.sslCA=f.server_options.sslCA,j.sslCert=f.server_options.sslCert,j.sslKey=f.server_options.sslKey,j.sslPass=f.server_options.sslPass):f.rs_options.ssl&&(j.ssl=f.rs_options.ssl,j.sslValidate=f.rs_options.sslValidate,j.checkServerIdentity=f.rs_options.checkServerIdentity,j.sslCA=f.rs_options.sslCA,j.sslCert=f.rs_options.sslCert,j.sslKey=f.rs_options.sslKey,j.sslPass=f.rs_options.sslPass);var S=null,E=f.servers[_].domain_socket?new o(f.servers[_].domain_socket,j):new o(f.servers[_].host,f.servers[_].port,j),O=function(e){new p(f.dbName,e,{w:1,native_parser:!1,promiseLibrary:t.promiseLibrary}).open(function(r,i){if(h-=1,r)S=r,w[e.host+\":\"+e.port]=e;else{i.close();var c=i.serverConfig.isMasterDoc;c.setName&&g++,c.msg&&\"isdbgrid\"==c.msg&&m++}if(0==h){if(0==g&&0==m&&S)return n(S,null);if(m>0&&g>0)return i&&i.close(),process.nextTick(function(){try{n(new Error(\"cannot combine a list of replicaset seeds and mongos seeds\"))}catch(e){throw e}});if(0!=g||0!=m||1!=f.servers.length||f.rs_options.replicaSet&&f.rs_options.rs_name){if(g>0||m>0||f.rs_options.replicaSet||f.rs_options.rs_name){var u=f.servers.filter(function(e){return null==w[e.host+\":\"+e.port]}).map(function(e){return e.domain_socket?new o(e.domain_socket,27017,f.server_options):new o(e.host,e.port,f.server_options)});if(w={},g>0)try{1!=g||f.rs_options.replicaSet||f.rs_options.rs_name?1==g?(f.rs_options.replicaSet=f.rs_options.replicaSet||f.rs_options.rs_name,x=new s(u,f.rs_options)):x=new s(u,f.rs_options):x=u[0]}catch(r){return n(r,null)}else x=new a(u,f.mongos_options)}}else{var p=f.servers[0];x=p.domain_socket?new o(p.domain_socket,f.server_options):new o(p.host,p.port,f.server_options)}if(null==x)return process.nextTick(function(){try{n(new Error(\"Could not locate any valid servers in initial seed list\"))}catch(e){throw i&&i.close(),e}});x.emitOpen=!1,b(x,f,t,n)}})};O(E)}},y=function(t){if(\"boolean\"==typeof t.native_parser)return t.native_parser;try{return e(\"mongodb-core\").BSON.BSONNative.BSON,!0}catch(n){return!1}},b=function(e,t,n,r){\"string\"==typeof t.db_options.readPreference?t.db_options.readPreference=new u(t.db_options.readPreference):\"string\"==typeof t.db_options.read_preference&&(t.db_options.readPreference=new u(t.db_options.read_preference)),t.db_options.readPreference&&t.db_options.readPreferenceTags?t.db_options.readPreference.tags=t.db_options.readPreferenceTags:t.db_options.readPreference&&t.db_options.read_preference_tags&&(t.db_options.readPreference.tags=t.db_options.read_preference_tags);var i=t.server_options.socketOptions.socketTimeoutMS||0;e instanceof s&&(i=t.rs_options.socketOptions.socketTimeoutMS||i),e.connectTimeoutMS=e.connectTimeoutMS||3e4,e.socketTimeoutMS=e.connectTimeoutMS;var o=new p(t.dbName,e,t.db_options);o.open(function(n,o){if(n)return process.nextTick(function(){try{r(e,null)}catch(e){throw o&&o.close(),e}});if(e.socketTimeoutMS=i||0,null==n&&t.auth){var a=o;t.db_options&&t.db_options.authSource&&(a=o.db(t.db_options.authSource));var s={};t.db_options.authMechanism&&(s.authMechanism=t.db_options.authMechanism),t.db_options.gssapiServiceName&&(s.gssapiServiceName=t.db_options.gssapiServiceName),t.db_options.gssapiServiceRealm&&(s.gssapiServiceRealm=t.db_options.gssapiServiceRealm),t.db_options.gssapiCanonicalizeHostName&&(s.gssapiCanonicalizeHostName=t.db_options.gssapiCanonicalizeHostName),a.authenticate(t.auth.user,t.auth.password,s,function(e,n){n?process.nextTick(function(){try{r(null,o)}catch(e){throw o&&o.close(),e}}):(o&&o.close(),process.nextTick(function(){try{r(e?e:new Error(\"Could not authenticate user \"+t.auth[0]),null)}catch(e){throw o&&o.close(),e}}))})}else process.nextTick(function(){try{r(e,o)}catch(e){throw o&&o.close(),e}})})};t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./db\":225,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./replset\":235,\"./server\":236,\"./url_parser\":238,\"es6-promise\":95,\"mongodb-core\":188}],233:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),a=e(\"mongodb-core\").MongoCR,s=e(\"mongodb-core\").MongoError,c=e(\"mongodb-core\").Mongos,u=e(\"./cursor\"),p=e(\"./aggregation_cursor\"),l=e(\"./command_cursor\"),f=e(\"./metadata\"),d=e(\"./server\"),h=e(\"./topology_base\").Store,m=e(\"./utils\").shallowClone,v=e(\"./utils\").MAX_JS_INT,g=function(e,t){if(!(this instanceof g))return new g(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof d))throw s.create({message:\"all seed list instances must be of the Server type\",driver:!0});var o={force:!1,bufferMaxEntries:-1};-1==o.bufferMaxEntries&&(o.bufferMaxEntries=v);var p=t.store||new h(n,o);r.call(this);var l=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),f=m(t);f.size=\"number\"==typeof t.poolSize?t.poolSize:5,f.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,f.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,f.cursorFactory=u,f.disconnectHandler=p,t.sslCA&&(f.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(f.rejectUnauthorized=t.sslValidate),t.sslKey&&(f.key=t.sslKey),t.sslCert&&(f.cert=t.sslCert),t.sslPass&&(f.passphrase=t.sslPass),t.checkServerIdentity&&(f.checkServerIdentity=t.checkServerIdentity),t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,f.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(f.socketTimeout=t.socketOptions.socketTimeoutMS));var y=\"boolean\"==typeof t.debug?t.debug:!1;y&&(f.debug=y),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(f.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(f.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(f.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.acceptableLatencyMS&&(f.localThresholdMS=t.acceptableLatencyMS||15),f.disconnectHandler=p;var b=new c(l,f),x=null;b.addAuthProvider(\"mongocr\",new a),this.s={mongos:b,sCapabilities:x,debug:y,storeOptions:o,clonedOptions:f,store:p,options:t},Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return n.s.mongos.lastIsMaster()}}),Object.defineProperty(this,\"numberOfConnectedServers\",{enumerable:!0,get:function(){return n.s.mongos.s.mongosState.connectedServers().length}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return n.s.mongos.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.mongos.haInterval}})};i(g,r);var y=g.define=new f(\"Mongos\",g,!1);g.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.removeListener(e,i)}),r.s.mongos.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\"),r.s.store.execute()},s=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.mongos.removeAllListeners(e)}),r.s.mongos.once(\"timeout\",o(\"timeout\")),r.s.mongos.once(\"error\",o(\"error\")),r.s.mongos.once(\"close\",o(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.mongos.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.mongos.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.mongos.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.mongos.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.mongos.on(\"serverOpening\",e(\"serverOpening\")),r.s.mongos.on(\"serverClosed\",e(\"serverClosed\")),r.s.mongos.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.mongos.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.mongos.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.mongos.on(\"joined\",e(\"joined\")),r.s.mongos.on(\"left\",e(\"left\")),r.s.mongos.on(\"fullsetup\",e(\"fullsetup\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){process.nextTick(function(){throw t})}};r.s.mongos.once(\"timeout\",i(\"timeout\")),r.s.mongos.once(\"error\",i(\"error\")),r.s.mongos.once(\"close\",i(\"close\")),r.s.mongos.once(\"connect\",s),r.s.mongos.on(\"reconnect\",a),r.s.mongos.connect(t)},g.prototype.parserType=function(){return this.s.mongos.parserType()},y.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),g.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.mongos.lastIsMaster()?null:(this.s.sCapabilities=new o(this.s.mongos.lastIsMaster()),this.s.sCapabilities)},y.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[o]}),g.prototype.command=function(e,t,n,r){this.s.mongos.command(e,t,n,r)},y.classMethod(\"command\",{callback:!0,promise:!1}),g.prototype.insert=function(e,t,n,r){this.s.mongos.insert(e,t,n,function(e,t){r(e,t)})},y.classMethod(\"insert\",{callback:!0,promise:!1}),g.prototype.update=function(e,t,n,r){this.s.mongos.update(e,t,n,r)},y.classMethod(\"update\",{callback:!0,promise:!1}),g.prototype.remove=function(e,t,n,r){this.s.mongos.remove(e,t,n,r)},y.classMethod(\"remove\",{callback:!0,promise:!1}),g.prototype.isDestroyed=function(){return this.s.mongos.isDestroyed()},g.prototype.isConnected=function(){return this.s.mongos.isConnected()},y.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.mongos.cursor(e,t,n)},y.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[u,p,l]}),g.prototype.setBSONParserType=function(e){return this.s.mongos.setBSONParserType(e)},g.prototype.lastIsMaster=function(){return this.s.mongos.lastIsMaster()},g.prototype.close=function(e){this.s.mongos.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},y.classMethod(\"close\",{callback:!1,promise:!1}),g.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.mongos.auth.apply(this.s.mongos,e)},y.classMethod(\"auth\",{callback:!0,promise:!1}),g.prototype.connections=function(){return this.s.mongos.connections()},y.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=g},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],234:[function(e,t,n){\"use strict\";var r=function(e,t){return this instanceof r?(this._type=\"ReadPreference\",this.mode=e,void(this.tags=t)):new r(e,t)};r.isValid=function(e){return e==r.PRIMARY||e==r.PRIMARY_PREFERRED||e==r.SECONDARY||e==r.SECONDARY_PREFERRED||e==r.NEAREST||1==e||0==e||null==e},r.prototype.isValid=function(e){var t=\"string\"==typeof e?e:this.mode;return r.isValid(t)},r.prototype.toObject=function(){var e={mode:this.mode};return null!=this.tags&&(e.tags=this.tags),e},r.PRIMARY=\"primary\",r.PRIMARY_PREFERRED=\"primaryPreferred\",r.SECONDARY=\"secondary\",r.SECONDARY_PREFERRED=\"secondaryPreferred\",r.NEAREST=\"nearest\",t.exports=r},{}],235:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./server\")),a=(e(\"./mongos\"),e(\"./cursor\")),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=e(\"./read_preference\"),p=(e(\"mongodb-core\").MongoCR,e(\"mongodb-core\").MongoError),l=e(\"./topology_base\").ServerCapabilities,f=e(\"./topology_base\").Store,d=e(\"./metadata\"),h=(e(\"mongodb-core\").Server,e(\"mongodb-core\").ReplSet),m=e(\"mongodb-core\").ReadPreference,v=e(\"./utils\").shallowClone,g=e(\"./utils\").MAX_JS_INT,y=function(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof o))throw p.create({message:\"all seed list instances must be of the Server type\",driver:!0});var s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=g);var c=t.store||new f(n,s);r.call(this);var u=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),l=v(t);l.size=\"number\"==typeof t.poolSize?t.poolSize:5,l.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,l.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,l.cursorFactory=a,l.disconnectHandler=c,t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,l.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(l.socketTimeout=t.socketOptions.socketTimeoutMS));var d=t.replicaSet||t.rs_name;l.setName=d;var m=\"boolean\"==typeof t.debug?t.debug:!1;m&&(l.debug=m),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(l.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(l.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(l.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.secondaryAcceptableLatencyMS&&(l.acceptableLatency=t.secondaryAcceptableLatencyMS),1==t.connectWithNoPrimary&&(l.secondaryOnlyConnectionAllowed=!0),l.disconnectHandler=c,t.sslCA&&(l.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(l.rejectUnauthorized=t.sslValidate),t.sslKey&&(l.key=t.sslKey),t.sslCert&&(l.cert=t.sslCert),t.sslPass&&(l.passphrase=t.sslPass),t.checkServerIdentity&&(l.checkServerIdentity=t.checkServerIdentity);var b=new h(u,l);b.on(\"reconnect\",function(){n.emit(\"reconnect\"),c.execute()}),this.s={replset:b,sCapabilities:null,tag:t.tag,storeOptions:s,clonedOptions:l,store:c,options:t},m&&Object.defineProperty(this,\"replset\",{enumerable:!0,get:function(){return b}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return b.lastIsMaster()}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return b.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return b.haInterval}})};i(y,r);var b=y.define=new d(\"ReplSet\",y,!1),x=function(e){return\"string\"==typeof e.readPreference?e.readPreference=new m(e.readPreference):e.readPreference instanceof u&&(e.readPreference=new m(e.readPreference.mode,e.readPreference.tags)),e};y.prototype.parserType=function(){return this.s.replset.parserType()},b.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),y.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},o=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.replset.removeAllListeners(e)}),r.s.replset.once(\"timeout\",i(\"timeout\")),r.s.replset.once(\"error\",i(\"error\")),r.s.replset.once(\"close\",i(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}},t=function(e){return function(t,n){r.emit(e,t,n.lastIsMaster(),n)}},o=function(e,t){r.emit(\"ha\",e,t),\"start\"==e?r.emit(\"ha_connect\",e,t):\"end\"==e&&r.emit(\"ha_ismaster\",e,t)};r.s.replset.on(\"joined\",t(\"joined\")),r.s.replset.on(\"left\",e(\"left\")),r.s.replset.on(\"ping\",e(\"ping\")),r.s.replset.on(\"ha\",o),r.s.replset.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.replset.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.replset.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.replset.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.replset.on(\"serverOpening\",e(\"serverOpening\")),r.s.replset.on(\"serverClosed\",e(\"serverClosed\")),r.s.replset.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.replset.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.replset.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.replset.on(\"fullsetup\",function(e){r.emit(\"fullsetup\",null,r)}),r.s.replset.on(\"all\",function(e){r.emit(\"all\",null,r)}),r.emit(\"open\",null,r);try{n(null,r)}catch(a){process.nextTick(function(){throw a})}},a=function(e){return function(e){[\"timeout\",\"error\",\"close\"].forEach(function(e){r.s.replset.removeListener(e,a)}),r.s.replset.removeListener(\"connect\",a),r.s.replset.destroy();try{n(e)}catch(e){r.s.replset.isConnected()||process.nextTick(function(){throw e})}}};r.s.replset.once(\"timeout\",a(\"timeout\")),\nr.s.replset.once(\"error\",a(\"error\")),r.s.replset.once(\"close\",a(\"close\")),r.s.replset.once(\"connect\",o),r.s.replset.connect(t)},y.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.replset.lastIsMaster()?null:(this.s.sCapabilities=new l(this.s.replset.lastIsMaster()),this.s.sCapabilities)},b.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[l]}),y.prototype.command=function(e,t,n,r){n=x(n),this.s.replset.command(e,t,n,r)},b.classMethod(\"command\",{callback:!0,promise:!1}),y.prototype.insert=function(e,t,n,r){this.s.replset.insert(e,t,n,r)},b.classMethod(\"insert\",{callback:!0,promise:!1}),y.prototype.update=function(e,t,n,r){this.s.replset.update(e,t,n,r)},b.classMethod(\"update\",{callback:!0,promise:!1}),y.prototype.remove=function(e,t,n,r){this.s.replset.remove(e,t,n,r)},b.classMethod(\"remove\",{callback:!0,promise:!1}),y.prototype.isDestroyed=function(){return this.s.replset.isDestroyed()},y.prototype.isConnected=function(){return this.s.replset.isConnected()},b.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.setBSONParserType=function(e){return this.s.replset.setBSONParserType(e)},y.prototype.cursor=function(e,t,n){return n=x(n),n.disconnectHandler=this.s.store,this.s.replset.cursor(e,t,n)},b.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),y.prototype.lastIsMaster=function(){return this.s.replset.lastIsMaster()},y.prototype.close=function(e){var t=this;this.s.replset.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush());var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\"];n.forEach(function(e){t.removeAllListeners(e)})},b.classMethod(\"close\",{callback:!1,promise:!1}),y.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.replset.auth.apply(this.s.replset,e)},b.classMethod(\"auth\",{callback:!0,promise:!1}),y.prototype.connections=function(){return this.s.replset.connections()},b.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=y},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],236:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"mongodb-core\").Server,a=e(\"./cursor\"),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),p=e(\"./topology_base\").Store,l=e(\"./metadata\"),f=e(\"mongodb-core\").MongoError,d=e(\"./utils\").shallowClone,h=e(\"./utils\").MAX_JS_INT,m=function(e,t,n){if(n=n||{},!(this instanceof m))return new m(e,t,n);r.call(this);var i=this,s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=h);var c=n.store||new p(i,s);if(-1!=e.indexOf(\"/\"))null!=t&&\"object\"==typeof t&&(n=t,t=null);else if(null==t)throw f.create({message:\"port must be specified\",driver:!0});var u=d(n);u.host=e,u.port=t;var l=\"boolean\"==typeof n.auto_reconnect?n.auto_reconnect:!0;l=\"boolean\"==typeof n.autoReconnect?n.autoReconnect:l;var v=\"boolean\"==typeof n.emitError?n.emitError:!0,g=\"number\"==typeof n.poolSize?n.poolSize:5;n.socketOptions&&(n.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=n.socketOptions.connectTimeoutMS,u.connectionTimeout=n.socketOptions.connectTimeoutMS),n.socketOptions.socketTimeoutMS&&(u.socketTimeout=n.socketOptions.socketTimeoutMS),\"number\"==typeof n.socketOptions.keepAlive&&(u.keepAliveInitialDelay=n.socketOptions.keepAlive,u.keepAlive=!0),\"boolean\"==typeof n.socketOptions.noDelay&&(u.noDelay=n.socketOptions.noDelay)),u.cursorFactory=a,u.reconnect=l,u.emitError=v,u.size=g,u.sslCA&&(u.ca=u.sslCA),\"boolean\"==typeof u.sslValidate&&(u.rejectUnauthorized=u.sslValidate),u.sslKey&&(u.key=u.sslKey),u.sslCert&&(u.cert=u.sslCert),u.sslPass&&(u.passphrase=u.sslPass),u.disconnectHandler=c;var y=new o(u);this.s={server:y,sCapabilities:null,clonedOptions:u,reconnect:l,emitError:v,poolSize:g,storeOptions:s,store:c,host:e,port:t,options:n},Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return i.s.server.bson}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return i.s.server.lastIsMaster()}}),Object.defineProperty(this,\"poolSize\",{enumerable:!0,get:function(){return i.s.server.connections().length}}),Object.defineProperty(this,\"autoReconnect\",{enumerable:!0,get:function(){return i.s.reconnect}}),Object.defineProperty(this,\"host\",{enumerable:!0,get:function(){return i.s.host}}),Object.defineProperty(this,\"port\",{enumerable:!0,get:function(){return i.s.port}})};i(m,r);var v=m.define=new l(\"Server\",m,!1);m.prototype.parserType=function(){return this.s.server.parserType()},v.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),m.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.s.server.removeListener(e,u[e])}),r.s.server.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\",r),r.s.store.execute()},s=function(){r.s.store.flush()},c=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.server.removeAllListeners(e)}),r.s.server.once(\"timeout\",o(\"timeout\")),r.s.server.once(\"error\",o(\"error\")),r.s.server.on(\"close\",o(\"close\")),r.s.server.once(\"destroy\",s);var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.server.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.server.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.server.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.server.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.server.on(\"serverOpening\",e(\"serverOpening\")),r.s.server.on(\"serverClosed\",e(\"serverClosed\")),r.s.server.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.server.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.server.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){console.log(t.stack),process.nextTick(function(){throw t})}},u={timeout:i(\"timeout\"),error:i(\"error\"),close:i(\"close\")};r.s.server.once(\"timeout\",u.timeout),r.s.server.once(\"error\",u.error),r.s.server.once(\"close\",u.close),r.s.server.once(\"connect\",c),r.s.server.on(\"reconnect\",a),r.s.server.connect(t)},m.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.server.lastIsMaster()?null:(this.s.sCapabilities=new u(this.s.server.lastIsMaster()),this.s.sCapabilities)},v.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[u]}),m.prototype.command=function(e,t,n,r){this.s.server.command(e,t,n,r)},v.classMethod(\"command\",{callback:!0,promise:!1}),m.prototype.insert=function(e,t,n,r){this.s.server.insert(e,t,n,r)},v.classMethod(\"insert\",{callback:!0,promise:!1}),m.prototype.update=function(e,t,n,r){this.s.server.update(e,t,n,r)},v.classMethod(\"update\",{callback:!0,promise:!1}),m.prototype.remove=function(e,t,n,r){this.s.server.remove(e,t,n,r)},v.classMethod(\"remove\",{callback:!0,promise:!1}),m.prototype.isConnected=function(){return this.s.server.isConnected()},m.prototype.isDestroyed=function(){return this.s.server.isDestroyed()},v.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),m.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.server.cursor(e,t,n)},v.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),m.prototype.setBSONParserType=function(e){return this.s.server.setBSONParserType(e)},m.prototype.lastIsMaster=function(){return this.s.server.lastIsMaster()},m.prototype.close=function(e){this.s.server.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},v.classMethod(\"close\",{callback:!1,promise:!1}),m.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.server.auth.apply(this.s.server,e)},v.classMethod(\"auth\",{callback:!0,promise:!1}),m.prototype.connections=function(){return this.s.server.connections()},v.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=m},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],237:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=e(\"util\").format,o=function(e,t){var n=this,r=[];t=t||{force:!1,bufferMaxEntries:-1},this.s={storedOps:r,storeOptions:t,topology:e},Object.defineProperty(this,\"length\",{enumerable:!0,get:function(){return n.s.storedOps.length}})};o.prototype.add=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,n:t,o:n,op:o,c:a})},o.prototype.addObjectAndMethod=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,m:n,o:t,p:o,c:a})},o.prototype.flush=function(){for(;this.s.storedOps.length>0;)this.s.storedOps.shift().c(r.create({message:i(\"no connection available for operation\"),driver:!0}))},o.prototype.execute=function(){var e=this.s.storedOps;for(this.s.storedOps=[];e.length>0;){var t=e.shift();\"cursor\"==t.t?t.o[t.m].apply(t.o,t.p):this.s.topology[t.t](t.n,t.o,t.op,t.c)}},o.prototype.all=function(){return this.s.storedOps};var a=function(e){var t=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},n=!1,r=!1,i=!1,o=!1,a=!1,s=!1,c=e.maxWriteBatchSize||1e3;e.minWireVersion>=0&&(i=!0),e.maxWireVersion>=1&&(n=!0,o=!0),e.maxWireVersion>=2&&(r=!0),e.maxWireVersion>=3&&(a=!0,s=!0),null==e.minWireVersion&&(e.minWireVersion=0),null==e.maxWireVersion&&(e.maxWireVersion=0),t(this,\"hasAggregationCursor\",n),t(this,\"hasWriteCommands\",r),t(this,\"hasTextSearch\",i),t(this,\"hasAuthCommands\",o),t(this,\"hasListCollectionsCommand\",a),t(this,\"hasListIndexesCommand\",s),t(this,\"minWireVersion\",e.minWireVersion),t(this,\"maxWireVersion\",e.maxWireVersion),t(this,\"maxNumberOfDocsInBatch\",c)};n.Store=o,n.ServerCapabilities=a},{\"mongodb-core\":188,util:void 0}],238:[function(e,t,n){\"use strict\";var r=e(\"./read_preference\"),i=e(\"url\"),o=e(\"util\").format;t.exports=function(e,t){t=t||{};var n=\"\",a=\"\",s=\"\",c=\"admin\",u=i.parse(e,!0);if(\"mongodb:\"!=u.protocol)throw new Error(\"invalid schema, expected mongodb\");if((null==u.hostname||\"\"==u.hostname)&&-1==e.indexOf(\".sock\"))throw new Error(\"no hostname or hostnames provided in connection string\");if(\"0\"==u.port)throw new Error(\"invalid port (zero) with hostname\");if(!isNaN(parseInt(u.port,10))&&parseInt(u.port,10)>65535)throw new Error(\"invalid port (larger than 65535) with hostname\");if(u.path&&u.path.length>0&&\"/\"!=u.path[0]&&-1==e.indexOf(\".sock\"))throw new Error(\"missing delimiting slash between hosts and options\");if(u.query)for(var p in u.query){if(-1!=p.indexOf(\"::\"))throw new Error(\"double colon in host identifier\");if(\"\"==u.query[p])throw new Error(\"query parameter \"+p+\" is an incomplete value pair\")}if(u.auth){var l=u.auth.split(\":\");if(-1!=e.indexOf(u.auth)&&l.length>2)throw new Error(\"Username with password containing an unescaped colon\");if(-1!=e.indexOf(u.auth)&&-1!=u.auth.indexOf(\"@\"))throw new Error(\"Username containing an unescaped at-sign\")}for(var f=e.split(\"?\").shift(),d=f.split(\",\"),h=[],m=0;m<d.length;m++){var v=d[m];-1!=v.indexOf(\"mongodb\")?-1!=v.indexOf(\"@\")?h.push(v.split(\"@\").pop()):h.push(v.substr(\"mongodb://\".length)):-1!=v.indexOf(\"/\")?h.push(v.split(\"/\").shift()):-1==v.indexOf(\"/\")&&h.push(v.trim())}for(var m=0;m<h.length;m++){var g=i.parse(o(\"mongodb://%s\",h[m].trim()));if(g.path&&-1!=g.path.indexOf(\":\"))throw new Error(\"double colon in host identifier\")}if(-1!=e.indexOf(\"?\")?(s=e.substr(e.indexOf(\"?\")+1),n=e.substring(\"mongodb://\".length,e.indexOf(\"?\"))):n=e.substring(\"mongodb://\".length),-1!=n.indexOf(\"@\")&&(a=n.split(\"@\")[0],n=n.split(\"@\")[1]),-1!=n.indexOf(\".sock\")){if(-1!=n.indexOf(\".sock/\")){if(c=n.split(\".sock/\")[1],-1!=c.indexOf(\"/\")){if(2==c.split(\"/\").length&&0==c.split(\"/\")[1].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}n=n.split(\"/\",n.indexOf(\".sock\")+\".sock\".length)}}else if(-1!=n.indexOf(\"/\")){if(n.split(\"/\").length>2){if(0==n.split(\"/\")[2].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}c=n.split(\"/\")[1],n=n.split(\"/\")[0]}var y={},b=a||\"\",x=b.split(\":\",2);x[0]=decodeURIComponent(x[0]),x[1]&&(x[1]=decodeURIComponent(x[1])),2==x.length&&(y.auth={user:x[0],password:x[1]});var w,_,k,j={socketOptions:{}},S={read_preference_tags:[]},E={socketOptions:{}},O={socketOptions:{}};if(y.server_options=j,y.db_options=S,y.rs_options=E,y.mongos_options=O,e.match(/\\.sock/)){var A=e.substring(e.indexOf(\"mongodb://\")+\"mongodb://\".length,e.lastIndexOf(\".sock\")+\".sock\".length);-1!=A.indexOf(\"@\")&&(A=A.split(\"@\")[1]),k=[{domain_socket:A}]}else{w=n;var C={};k=w.split(\",\").map(function(e){var t,n,r;if(r=/\\[([^\\]]+)\\](?:\\:(.+))?/.exec(e))t=r[1],n=parseInt(r[2],10)||27017;else{var i=e.split(\":\",2);t=i[0]||\"localhost\",n=null!=i[1]?parseInt(i[1],10):27017,-1!=t.indexOf(\"?\")&&(t=t.split(/\\?/)[0])}return C[t+\"_\"+n]?null:(C[t+\"_\"+n]=1,{host:t,port:n})}).filter(function(e){return null!=e})}if(y.dbName=c||\"admin\",_=(s||\"\").split(/[&;]/),_.forEach(function(e){if(e){var t=e.split(\"=\"),n=t[0],i=t[1];switch(n){case\"slaveOk\":case\"slave_ok\":j.slave_ok=\"true\"==i,S.slaveOk=\"true\"==i;break;case\"maxPoolSize\":case\"poolSize\":j.poolSize=parseInt(i,10),E.poolSize=parseInt(i,10);break;case\"autoReconnect\":case\"auto_reconnect\":j.auto_reconnect=\"true\"==i;break;case\"minPoolSize\":throw new Error(\"minPoolSize not supported\");case\"maxIdleTimeMS\":throw new Error(\"maxIdleTimeMS not supported\");case\"waitQueueMultiple\":throw new Error(\"waitQueueMultiple not supported\");case\"waitQueueTimeoutMS\":throw new Error(\"waitQueueTimeoutMS not supported\");case\"uuidRepresentation\":throw new Error(\"uuidRepresentation not supported\");case\"ssl\":if(\"prefer\"==i){j.ssl=i,E.ssl=i,O.ssl=i;break}j.ssl=\"true\"==i,E.ssl=\"true\"==i,O.ssl=\"true\"==i;break;case\"sslValidate\":j.sslValidate=\"true\"==i,E.sslValidate=\"true\"==i,O.sslValidate=\"true\"==i;break;case\"replicaSet\":case\"rs_name\":E.rs_name=i;break;case\"reconnectWait\":E.reconnectWait=parseInt(i,10);break;case\"retries\":E.retries=parseInt(i,10);break;case\"readSecondary\":case\"read_secondary\":E.read_secondary=\"true\"==i;break;case\"fsync\":S.fsync=\"true\"==i;break;case\"journal\":S.j=\"true\"==i;break;case\"safe\":S.safe=\"true\"==i;break;case\"nativeParser\":case\"native_parser\":S.native_parser=\"true\"==i;break;case\"readConcernLevel\":S.readConcern={level:i};break;case\"connectTimeoutMS\":j.socketOptions.connectTimeoutMS=parseInt(i,10),E.socketOptions.connectTimeoutMS=parseInt(i,10),O.socketOptions.connectTimeoutMS=parseInt(i,10);break;case\"socketTimeoutMS\":j.socketOptions.socketTimeoutMS=parseInt(i,10),E.socketOptions.socketTimeoutMS=parseInt(i,10),O.socketOptions.socketTimeoutMS=parseInt(i,10);break;case\"w\":S.w=parseInt(i,10),isNaN(S.w)&&(S.w=i);break;case\"authSource\":S.authSource=i;break;case\"gssapiServiceName\":S.gssapiServiceName=i;break;case\"authMechanism\":if(\"GSSAPI\"==i)if(null==y.auth){var o=decodeURIComponent(b);if(-1==o.indexOf(\"@\"))throw new Error(\"GSSAPI requires a provided principal\");y.auth={user:o,password:null}}else y.auth.user=decodeURIComponent(y.auth.user);else\"MONGODB-X509\"==i&&(y.auth={user:decodeURIComponent(b)});if(\"GSSAPI\"!=i&&\"MONGODB-X509\"!=i&&\"MONGODB-CR\"!=i&&\"DEFAULT\"!=i&&\"SCRAM-SHA-1\"!=i&&\"PLAIN\"!=i)throw new Error(\"only DEFAULT, GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\");S.authMechanism=i;break;case\"authMechanismProperties\":var a=i.split(\",\"),s={};a.forEach(function(e){var t=e.split(\":\");s[t[0]]=t[1]}),S.authMechanismProperties=s,\"string\"==typeof s.SERVICE_NAME&&(S.gssapiServiceName=s.SERVICE_NAME),\"string\"==typeof s.SERVICE_REALM&&(S.gssapiServiceRealm=s.SERVICE_REALM),\"string\"==typeof s.CANONICALIZE_HOST_NAME&&(S.gssapiCanonicalizeHostName=\"true\"==s.CANONICALIZE_HOST_NAME);break;case\"wtimeoutMS\":S.wtimeout=parseInt(i,10);break;case\"readPreference\":if(!r.isValid(i))throw new Error(\"readPreference must be either primary/primaryPreferred/secondary/secondaryPreferred/nearest\");S.readPreference=i;break;case\"readPreferenceTags\":i=decodeURIComponent(i);var c={};if(null==i||\"\"==i){S.read_preference_tags.push(c);break}for(var u=i.split(/\\,/),p=0;p<u.length;p++){var l=u[p].trim().split(/\\:/);c[l[0]]=l[1]}S.read_preference_tags.push(c)}}}),0===S.read_preference_tags.length&&(S.read_preference_tags=null),!(-1!=S.w&&0!=S.w||1!=S.journal&&1!=S.fsync&&1!=S.safe))throw new Error(\"w set to -1 or 0 cannot be combined with safe/w/journal/fsync\");return S.readPreference||(S.readPreference=\"primary\"),y.servers=k,y}},{\"./read_preference\":234,url:void 0,util:void 0}],239:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=(e(\"util\").format,function(e){var t={};for(var n in e)t[n]=e[n];return t}),o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=n.formatSortValue=function(e){var t=(\"\"+e).toLowerCase();switch(t){case\"ascending\":case\"asc\":case\"1\":return 1;case\"descending\":case\"desc\":case\"-1\":return-1;default:throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\")}},s=n.formattedOrderClause=function(e){var t={};if(null==e)return null;if(Array.isArray(e)){if(0===e.length)return null;for(var n=0;n<e.length;n++)e[n].constructor==String?t[e[n]]=1:t[e[n][0]]=a(e[n][1])}else if(null!=e&&\"object\"==typeof e)t=e;else{if(\"string\"!=typeof e)throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[e]=1}return t},c=function(e){if(\"string\"!=typeof e)throw Error(\"collection name must be a String\");if(!e||-1!=e.indexOf(\"..\"))throw Error(\"collection names cannot be empty\");if(-1!=e.indexOf(\"$\")&&null==e.match(/((^\\$cmd)|(oplog\\.\\$main))/))throw Error(\"collection names must not contain '$'\");if(null!=e.match(/^\\.|\\.$/))throw Error(\"collection names must not start or end with '.'\");if(~e.indexOf(\"\\x00\"))throw new Error(\"collection names cannot contain a null character\")},u=function(e,t,n,r){try{if(null==e)return;return r?e(t,n,r):e(t,n)}catch(t){return process.nextTick(function(){throw t}),!1}return!0},p=function(e){if(e instanceof Error)return e;for(var t=e.err||e.errmsg||e.errMessage||e,n=r.create({message:t,driver:!0}),i=\"object\"==typeof e?Object.keys(e):[],o=0;o<i.length;o++)try{n[i[o]]=e[i[o]]}catch(a){}return n},l=function(e){var t=null;if(\"string\"==typeof e)t=e;else if(Array.isArray(e))t={},e.forEach(function(e){t[e]=1});else if(null!=e&&\"object\"==typeof e){t={};for(var n in e)t[n]=e[n]}return t},f=function(e){var t,n={},r=[];return\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?e.forEach(function(e){\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?(r.push(e[0]+\"_\"+(e[1]||1)),n[e[0]]=e[1]||1):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]}))}):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]})),{name:r.join(\"_\"),keys:t,fieldHash:n}},d=n.isObject=function(e){return\"[object Object]\"==toString.call(e)},h=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},m=function(e,t,n){for(var r in t)null==n[r]&&(e[r]=t[r]);return e};n.shallowClone=i,n.getSingleProperty=o,n.checkCollectionName=c,n.toError=p,n.formattedOrderClause=s,n.parseIndexOptions=f,n.normalizeHintField=l,n.handleCallback=u,n.decorateCommand=m,n.isObject=d,n.debugOptions=h,n.MAX_JS_INT=9007199254740992},{\"mongodb-core\":188,util:void 0}],240:[function(e,t,n){t.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},{}],241:[function(e,t,n){function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}t.exports=r;var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},s=e(\"core-util-is\");s.inherits=e(\"inherits\");var c=e(\"./_stream_readable\"),u=e(\"./_stream_writable\");s.inherits(r,c),o(a(u.prototype),function(e){r.prototype[e]||(r.prototype[e]=u.prototype[e])})},{\"./_stream_readable\":243,\"./_stream_writable\":245,\"core-util-is\":77,inherits:157}],242:[function(e,t,n){function r(e){return this instanceof r?void i.call(this,e):new r(e)}t.exports=r;var i=e(\"./_stream_transform\"),o=e(\"core-util-is\");o.inherits=e(\"inherits\"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":244,\"core-util-is\":77,inherits:157}],243:[function(e,t,n){function r(t,n){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=e(\"string_decoder/\").StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n||void 0===n)t.reading=!1,t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=C)e=C;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return j.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):x(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){f(e)}):f(e))}function f(e){e.emit(\"readable\")}function d(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(function(){h(e,t)}))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e,t,i){var o=e.write(n);!1===o&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):w(r.pipes,t),e.emit(\"data\",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,void(S.listenerCount(e,\"data\")>0&&y(e))):void(r.ranOut=!0)}function g(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw new Error(\"Cannot switch to old mode now.\");var r=t||!1,i=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on(\"readable\",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit(\"data\",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit(\"pause\")},e.resume=function(){r=!1,i?process.nextTick(function(){e.emit(\"readable\")}):this.read(0),this.emit(\"resume\")},e.emit(\"readable\")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):j.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new j(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function x(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit(\"end\"))}))}function w(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var k=e(\"isarray\"),j=e(\"buffer\").Buffer;i.ReadableState=r;var S=e(\"events\").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e(\"stream\"),O=e(\"core-util-is\");O.inherits=e(\"inherits\");var A;O.inherits(i,E),i.prototype.push=function(e,t){var n=this._readableState;return\"string\"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new j(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.setEncoding=function(t){A||(A=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new A(t),this._readableState.encoding=t};var C=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n,r=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=c(e,t),0===e&&t.ended)return n=null,t.length>0&&t.decoder&&(n=b(e,t),t.length-=n.length),0===t.length&&x(this),n;var i=t.needReadable;return t.length-e<=t.highWaterMark&&(i=!0),(t.ended||t.reading)&&(i=!1),i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=c(r,t)),n=e>0?b(e,t):null,null===n&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&x(this),n},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){e===u&&i()}function r(){e.end()}function i(){e.removeListener(\"close\",a),e.removeListener(\"finish\",s),e.removeListener(\"drain\",d),e.removeListener(\"error\",o),e.removeListener(\"unpipe\",n),u.removeListener(\"end\",r),u.removeListener(\"end\",i),e._writableState&&!e._writableState.needDrain||d()}function o(t){c(),e.removeListener(\"error\",o),0===S.listenerCount(e,\"error\")&&e.emit(\"error\",t)}function a(){e.removeListener(\"finish\",s),c()}function s(){e.removeListener(\"close\",a),c()}function c(){u.unpipe(e)}var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1;var l=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,f=l?r:i;p.endEmitted?process.nextTick(f):u.once(\"end\",f),e.on(\"unpipe\",n);var d=m(u);return e.on(\"drain\",d),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on(\"error\",o),e.once(\"close\",a),e.once(\"finish\",s),e.emit(\"pipe\",u),p.flowing||(this.on(\"readable\",g),p.flowing=!0,process.nextTick(function(){v(u)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if(\"data\"!==e||this._readableState.flowing||y(this),\"readable\"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit(\"resume\")},i.prototype.pause=function(){y(this,!0),this.emit(\"pause\")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)\"function\"==typeof e[i]&&\"undefined\"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return w(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){n&&(n=!1,e.resume())},r},i._fromList=b},{buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:240,stream:void 0,\"string_decoder/\":456}],244:[function(e,t,n){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once(\"finish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=(e._readableState,\ne._transformState);if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}t.exports=o;var s=e(\"./_stream_duplex\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\"),c.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{\"./_stream_duplex\":241,\"core-util-is\":77,inherits:157}],245:[function(e,t,n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var n=e(\"./_stream_duplex\");return this instanceof o||this instanceof n?(this._writableState=new i(t,this),this.writable=!0,void _.call(this)):new o(t)}function a(e,t,n){var r=new Error(\"write after end\");e.emit(\"error\",r),process.nextTick(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!x.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),process.nextTick(function(){r(o)}),i=!1}return i}function c(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new x(t,n)),t}function u(e,t,n,i,o){n=c(t,n,i),x.isBuffer(n)&&(i=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new r(n,i,o)):p(e,t,a,n,i,o),s}function p(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function l(e,t,n,r,i){n?process.nextTick(function(){i(r)}):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function f(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(f(n),t)l(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||v(e,n),r?process.nextTick(function(){h(e,n,o,i)}):h(e,n,o,i)}}function h(e,t,n,r){n||m(e,t),r(),n&&y(e,t)}function m(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function v(e,t){t.bufferProcessing=!0;for(var n=0;n<t.buffer.length;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(p(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,n<t.buffer.length?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit(\"finish\")),n}function b(e,t,n){t.ending=!0,y(e,t),n&&(t.finished?process.nextTick(n):e.once(\"finish\",n)),t.ended=!0}t.exports=o;var x=e(\"buffer\").Buffer;o.WritableState=i;var w=e(\"core-util-is\");w.inherits=e(\"inherits\");var _=e(\"stream\");w.inherits(o,_),o.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return\"function\"==typeof t&&(n=t,t=null),x.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},o.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},o.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),\"undefined\"!=typeof e&&null!==e&&this.write(e,t),r.ending||r.finished||b(this,r,n)}},{\"./_stream_duplex\":241,buffer:void 0,\"core-util-is\":77,inherits:157,stream:void 0}],246:[function(e,t,n){n=t.exports=e(\"./lib/_stream_readable.js\"),n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":241,\"./lib/_stream_passthrough.js\":242,\"./lib/_stream_readable.js\":243,\"./lib/_stream_transform.js\":244,\"./lib/_stream_writable.js\":245}],247:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":271}],248:[function(e,t,n){function r(){throw new Error(\"Can't use ES6 promise with mpromise style constructor\")}r.use=function(e){r.ES6=e},t.exports=r},{}],249:[function(e,t,n){function r(){this._pipeline=[],this._model=void 0,this.options=void 0,1===arguments.length&&a.isArray(arguments[0])?this.append.apply(this,arguments[0]):this.append.apply(this,arguments)}function i(e){var t;return\"object\"!=typeof e?!1:(t=Object.keys(e),1===t.length&&t.some(function(e){return\"$\"===e[0]}))}function o(e){var t=e._model.schema,n=t&&t.discriminatorMapping;if(n&&!n.isRoot){var r=e._pipeline,i=n.key,o=n.value;if(r[0]&&r[0].$match&&!r[0].$match[i])r[0].$match[i]=o;else if(r[0]&&r[0].$geoNear)r[0].$geoNear.query=r[0].$geoNear.query||{},r[0].$geoNear.query[i]=o;else{var a={};a[i]=o,e._pipeline=[{$match:a}].concat(r)}}}var a=e(\"util\"),s=e(\"./utils\"),c=e(\"./promise_provider\"),u=e(\"./query\"),p=u.prototype.read;r.prototype.model=function(e){return this._model=e,this},r.prototype.append=function(){var e=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:s.args(arguments);if(!e.every(i))throw new Error(\"Arguments must be aggregate pipeline operators\");return this._pipeline=this._pipeline.concat(e),this},r.prototype.project=function(e){var t={};if(\"object\"!=typeof e||a.isArray(e)){if(1!==arguments.length||\"string\"!=typeof e)throw new Error(\"Invalid project() argument. Must be string or object\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?0:1;0===n&&(e=e.substring(1)),t[e]=n}})}else Object.keys(e).forEach(function(n){t[n]=e[n]});return this.append({$project:t})},r.prototype.near=function(e){var t={};return t.$geoNear=e,this.append(t)},\"group match skip limit out\".split(\" \").forEach(function(e){r.prototype[e]=function(t){var n={};return n[\"$\"+e]=t,this.append(n)}}),r.prototype.unwind=function(){var e=s.args(arguments);return this.append.apply(this,e.map(function(e){return{$unwind:e&&\"$\"===e.charAt(0)?e:\"$\"+e}}))},r.prototype.lookup=function(e){return this.append({$lookup:e})},r.prototype.sample=function(e){return this.append({$sample:{size:e}})},r.prototype.sort=function(e){var t={};if(\"Object\"===e.constructor.name){var n=[\"desc\",\"descending\",-1];Object.keys(e).forEach(function(r){t[r]=-1===n.indexOf(e[r])?1:-1})}else{if(1!==arguments.length||\"string\"!=typeof e)throw new TypeError(\"Invalid sort() argument. Must be a string or object.\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?-1:1;-1===n&&(e=e.substring(1)),t[e]=n}})}return this.append({$sort:t})},r.prototype.read=function(e,t){return this.options||(this.options={}),p.call(this,e,t),this},r.prototype.explain=function(e){var t=this,n=c.get();return new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{}).explain(function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},r.prototype.allowDiskUse=function(e){return this.options||(this.options={}),this.options.allowDiskUse=e,this},r.prototype.cursor=function(e){return this.options||(this.options={}),this.options.cursor=e||{},this},r.prototype.exec=function(e){if(!this._model)throw new Error(\"Aggregate not bound to any Model\");var t=this,n=c.get();return this.options&&this.options.cursor?this.options.cursor.async?new n.ES6(function(n){return t._model.collection.buffer?void t._model.collection.emitter.once(\"queue\",function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(null,r)}):void process.nextTick(function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(r)})}):this._model.collection.aggregate(this._pipeline,this.options||{}):new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{},function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},t.exports=r},{\"./promise_provider\":275,\"./query\":276,\"./utils\":302,util:void 0}],250:[function(e,t,n){function r(e,t,n,i,p){if(!(this instanceof r))return new r(e,t,n,i,p);if(u.isObject(t)&&!t.instanceOfSchema&&(t=new s(t)),t=this.schema||t,!this.schema&&t.options._id&&(e=e||{},void 0===e._id&&(e._id=new c)),!t)throw new a.MissingSchemaError;this.$__setSchema(t),this.$__=new l,this.$__.emitter=new o,this.isNew=!0,this.errors=void 0,\"boolean\"==typeof n?(this.$__.strictMode=n,n=void 0):(this.$__.strictMode=this.schema.options&&this.schema.options.strict,this.$__.selected=n);for(var f=this.schema.requiredPaths(),d=0;d<f.length;++d)this.$__.activePaths.require(f[d]);this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,n,i),!p&&e&&this.init(e),this.$__registerHooksFromSchema();for(var h in t.methods)this[h]=t.methods[h];for(var m in t.statics)this[m]=t.statics[m]}var i=e(\"./document\"),o=e(\"events\").EventEmitter,a=e(\"./error\"),s=e(\"./schema\"),c=e(\"./types/objectid\"),u=e(\"./utils\"),p=a.ValidationError,l=e(\"./internal\");r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.ValidationError=p,t.exports=n=r},{\"./document\":253,\"./error\":260,\"./internal\":272,\"./schema\":279,\"./types/objectid\":300,\"./utils\":302,events:void 0}],251:[function(e,t,n){function r(e,t){if(Array.isArray(e))e.forEach(function(n,o){return Array.isArray(n)||i.isObject(n)?r(n,t):void(e[o]=t.castForQuery(n))});else for(var n=Object.keys(e),o=n.length;o--;){var a=n[o],s=e[a];Array.isArray(s)||i.isObject(s)?(r(s,t),e[a]=s):e[a]=t.castForQuery(s)}}var i=e(\"./utils\"),o=e(\"./schema/index\");t.exports=function a(e,t){for(var n,s,c,u,p,l,f=Object.keys(t),d=f.length;d--;)if(u=f[d],l=t[u],\"$or\"===u||\"$nor\"===u||\"$and\"===u)for(var h=l.length;h--;)l[h]=a(e,l[h]);else{if(\"$where\"===u){if(p=typeof l,\"string\"!==p&&\"function\"!==p)throw new Error(\"Must have a string or function for $where\");\"function\"===p&&(t[u]=l.toString());continue}if(\"$elemMatch\"===u)l=a(e,l);else{if(!e)continue;if(s=e.path(u)){if(null===l||void 0===l){t[u]=null;continue}if(\"Object\"===l.constructor.name)if(n=Object.keys(l).some(function(e){return\"$\"===e.charAt(0)&&\"$id\"!==e&&\"$ref\"!==e})){var m,v=Object.keys(l);for(h=v.length;h--;)if(m=v[h],c=l[m],\"$exists\"!==m){if(\"$type\"!==m)\"$not\"===m?a(e,c):l[m]=s.castForQuery(m,c);else if(\"number\"!=typeof c)throw new Error(\"$type parameter must be Number\")}else if(\"boolean\"!=typeof c)throw new Error(\"$exists parameter must be Boolean\")}else t[u]=s.castForQuery(l);else t[u]=s.castForQuery(l)}else{for(var g,y,b,x=u.split(\".\"),w=x.length;w--&&(g=x.slice(0,w).join(\".\"),!(s=e.path(g))););if(s){s.caster&&s.caster.schema?(b={},y=x.slice(w).join(\".\"),b[y]=l,t[u]=a(s.caster.schema,b)[y]):t[u]=l;continue}if(i.isObject(l)){var _=l.$near?\"$near\":l.$nearSphere?\"$nearSphere\":l.$within?\"$within\":l.$geoIntersects?\"$geoIntersects\":\"\";if(!_)continue;var k=new o.Number(\"__QueryCasting__\"),j=l[_];if(l.$maxDistance&&(l.$maxDistance=k.castForQuery(l.$maxDistance)),\"$within\"===_){var S=j.$center||j.$centerSphere||j.$box||j.$polygon;if(!S)throw new Error(\"Bad $within paramater: \"+JSON.stringify(l));j=S}else\"$near\"===_&&\"string\"==typeof j.type&&Array.isArray(j.coordinates)?j=j.coordinates:(\"$near\"===_||\"$nearSphere\"===_||\"$geoIntersects\"===_)&&j.$geometry&&\"string\"==typeof j.$geometry.type&&Array.isArray(j.$geometry.coordinates)&&(j=j.$geometry.coordinates);r(j,k)}}}}return t}},{\"./schema/index\":286,\"./utils\":302}],252:[function(e,t,n){var r=t.exports=n=Object.create(null),i=\"disconnected\",o=\"connected\",a=\"connecting\",s=\"disconnecting\",c=\"unauthorized\",u=\"uninitialized\";r[0]=i,r[1]=o,r[2]=a,r[3]=s,r[4]=c,r[99]=u,r[i]=0,r[o]=1,r[a]=2,r[s]=3,r[c]=4,r[u]=99},{}],253:[function(e,t,n){(function(r){function i(e,t,n){this.$__=new E,this.$__.emitter=new h,this.isNew=!0,this.errors=void 0;var r=this.schema;\"boolean\"==typeof t?(this.$__.strictMode=t,t=void 0):(this.$__.strictMode=r.options&&r.options.strict,this.$__.selected=t);for(var o=r.requiredPaths(!0),a=0;a<o.length;++a)this.$__.activePaths.require(o[a]);if(this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,t,n),e&&(e instanceof i&&(this.isNew=e.isNew),this.set(e,void 0,!0)),!r.options.strict&&e){var s=this,u=Object.keys(this._doc);u.forEach(function(e){e in r.tree||c(e,null,s)})}this.$__registerHooksFromSchema()}function o(e,t,n,r){r=r||\"\";for(var i,a,s,c=Object.keys(t),u=c.length;u--;)if(s=c[u],a=r+s,i=e.schema.path(a),i||!w.isObject(t[s])||t[s].constructor&&\"Object\"!==w.getFunctionName(t[s].constructor)){if(null===t[s])n[s]=null;else if(void 0!==t[s])if(i)try{n[s]=i.cast(t[s],e,!0)}catch(p){e.invalidate(p.path,new x({path:p.path,message:p.message,type:\"cast\",value:p.value}))}else n[s]=t[s];e.isModified(a)||e.$__.activePaths.init(a)}else n[s]||(n[s]={}),o(e,t[s],n[s],a+\".\")}function a(e,t,n,r){for(var i,o,a=Object.keys(e),s=a.length;s--;)o=a[s],i=e[o],c(o,\"Object\"===w.getFunctionName(i.constructor)&&Object.keys(i).length&&(!i[r.typeKey]||\"type\"===r.typeKey&&i.type.type)?i:null,t,n,a,r)}function s(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n),t[n].enumerable=!0}),t}function c(e,t,n,r,o,c){var u=(r?r+\".\":\"\")+e;r=r||\"\",t?Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=this;if(this.$__.getters||(this.$__.getters={}),!this.$__.getters[u]){var n=Object.create(Object.getPrototypeOf(this),s(this));r||(n.$__.scope=this);for(var i=0,p=o.length;p>i;++i)Object.defineProperty(n,o[i],{enumerable:!1,writable:!0,configurable:!0,value:void 0});Object.defineProperty(n,\"toObject\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"toJSON\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"$__isNested\",{enumerable:!0,configurable:!0,writable:!1,value:!0}),a(t,n,u,c),this.$__.getters[u]=n}return this.$__.getters[u]},set:function(e){return e instanceof i&&(e=e.toObject()),(this.$__.scope||this).set(u,e)}}):Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return this.get.call(this.$__.scope||this,u)},set:function(e){return this.set.call(this.$__.scope||this,u,e)}})}function u(e){for(var t,n,r,i=Object.keys(e),o=i.length;o--;)n=i[o],r=e[n],w.isObject(r)&&(e[n]=u(r)),void 0!==e[n]?t=!0:delete e[n];return t?e:void 0}function p(e,t,n,r){for(var i,o=e.schema,a=Object.keys(o[n]),s=a.length;s--;){i=a[s];for(var c,u=i.split(\".\"),p=u.length,l=p-1,f=t,d=0;p>d;++d)c=u[d],d===l?f[c]=_(e.get(i),r):f=f[c]||(f[c]={})}return t}var l,f,d,h=e(\"events\").EventEmitter,m=e(\"./error\"),v=e(\"./schema/mixed\"),g=e(\"./schema\"),y=e(\"./error/objectExpected\"),b=e(\"./error/strict\"),x=e(\"./schematype\").ValidatorError,w=e(\"./utils\"),_=w.clone,k=w.isMongooseObject,j=e(\"util\").inspect,S=m.ValidationError,E=e(\"./internal\"),O=w.deepEqual,A=e(\"hooks-fixed\"),C=e(\"./promise_provider\");w.each([\"on\",\"once\",\"emit\",\"listeners\",\"removeListener\",\"setMaxListeners\",\"removeAllListeners\",\"addListener\"],function(e){i.prototype[e]=function(){return this.$__.emitter[e].apply(this.$__.emitter,arguments)}}),i.prototype.constructor=i,i.prototype.schema,i.prototype.isNew,i.prototype.id,i.prototype.errors,i.prototype.$__buildDoc=function(e,t,n){var r,i,o={},a=null,s=this;if(t&&\"Object\"===w.getFunctionName(t.constructor))if(r=Object.keys(t),i=r.length,1===i&&\"_id\"===r[0])a=!!t[r[i]];else for(;i--;)if(\"_id\"!==r[i]&&(!t[r[i]]||\"object\"!=typeof t[r[i]])){a=!t[r[i]];break}for(var c=Object.keys(this.schema.paths),u=c.length,p=0;u>p;++p){var l=c[p];if(\"_id\"===l){if(n)continue;if(e&&\"_id\"in e)continue}for(var f=this.schema.paths[l],d=l.split(\".\"),h=d.length,m=h-1,v=\"\",g=o,y=0,b=!1;h>y;++y){var x,_=d[y];if(v+=_,a===!0){if(v in t)break}else t&&v in t&&(b=!0);if(y===m)if(t&&null!==a)if(a===!0){if(l in t)continue;x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l))}else b&&(x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l)));else x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l));else g=g[_]||(g[_]={}),v+=\".\"}}return o},i.prototype.init=function(e,t,n){if(\"function\"==typeof t&&(n=t,t=null),this.isNew=!1,null!==e._id&&void 0!==e._id&&t&&t.populated&&t.populated.length)for(var r=String(e._id),i=0;i<t.populated.length;++i){var a=t.populated[i];this.populated(a.path,a._docs[r],a)}return o(this,e,this._doc),this.$__storeShard(),this.emit(\"init\",this),n&&n(null),this},i.prototype.$__storeShard=function(){var e=this.schema.options.shardKey||this.schema.options.shardkey;if(e&&\"Object\"===w.getFunctionName(e.constructor))for(var t,n=this.$__.shardval={},r=Object.keys(e),i=r.length,o=0;i>o;++o)t=this.getValue(r[o]),k(t)?n[r[o]]=t.toObject({depopulate:!0}):null===t||void 0===t||!t.valueOf||t.constructor&&\"Date\"===w.getFunctionName(t.constructor)?n[r[o]]=t:n[r[o]]=t.valueOf()};for(var T in A)\"pre\"===T||\"post\"===T?i.prototype[\"$\"+T]=i[\"$\"+T]=A[T]:i.prototype[T]=i[T]=A[T];i.prototype.update=function(){var e=w.args(arguments);return e.unshift({_id:this._id}),this.constructor.update.apply(this.constructor,e)},i.prototype.set=function(e,t,n,r){n&&\"Object\"===w.getFunctionName(n.constructor)&&(r=n,n=void 0);var o,a=r&&r.merge,s=n&&n!==!0,c=n===!0,u=r&&\"strict\"in r?r.strict:this.$__.strictMode;if(s&&(o=this.$__.adhocPaths||(this.$__.adhocPaths={}),o[e]=g.interpretAsType(e,n,this.schema.options)),\"string\"!=typeof e){if(null!==e&&void 0!==e){var p=t?t+\".\":\"\";e instanceof i&&(e=e.$__isNested?e.toObject():e._doc);for(var l,f,d=Object.keys(e),h=d.length;h--;){f=d[h];var x=p+f;if(l=this.schema.pathType(x),null===e[f]||void 0===e[f]||!w.isObject(e[f])||e[f].constructor&&\"Object\"!==w.getFunctionName(e[f].constructor)||\"virtual\"===l||\"real\"===l||this.$__path(x)instanceof v||this.schema.paths[x]&&this.schema.paths[x].options&&this.schema.paths[x].options.ref)if(u){if(c&&void 0===e[f]&&void 0!==this.get(f))continue;if(\"real\"===l||\"virtual\"===l)this.schema.paths[x]&&this.schema.paths[x].$isSingleNested&&e[f]instanceof i&&(e[f]=e[f].toObject({virtuals:!1})),this.set(p+f,e[f],c);else if(\"nested\"===l&&e[f]instanceof i)this.set(p+f,e[f].toObject({virtuals:!1}),c);else if(\"throw\"===u)throw\"nested\"===l?new y(f,e[f]):new b(f)}else void 0!==e[f]&&this.set(p+f,e[f],c);else this.set(e[f],p+f,c)}return this}var _=e;e=t,t=_}var k=this.schema.pathType(e);if(\"nested\"===k&&t)return!w.isObject(t)||t.constructor&&\"Object\"!==w.getFunctionName(t.constructor)?(this.invalidate(e,new m.CastError(\"Object\",t,e)),this):(a||this.setValue(e,null),this.set(t,e,c),this);var j,S=e.split(\".\");if(\"adhocOrUndefined\"===k&&u){var E;for(h=0;h<S.length;++h){var O=S.slice(0,h+1).join(\".\");if(j=this.schema.path(O),j instanceof v){E=!0;break}}if(!E){if(\"throw\"===u)throw new b(e);return this}}else{if(\"virtual\"===k)return j=this.schema.virtualpath(e),j.applySetters(t,this),this;j=this.$__path(e)}var A;if(S.length<=1)A=e;else{for(h=0;h<S.length;++h)if(O=S.slice(0,h+1).join(\".\"),this.isDirectModified(O)||null===this.get(O)){A=O;break}A||(A=e)}var C=c?void 0:this.getValue(e);if(!j)return this.$__set(A,e,c,S,j,t,C),this;var T=!0;try{var I=!1;j.options&&j.options.ref&&t instanceof i&&j.options.ref===t.constructor.modelName&&(this.ownerDocument?this.ownerDocument().populated(this.$__fullPath(e),t._id,{model:t.constructor}):this.populated(e,t._id,{model:t.constructor}),I=!0);var P;j.options&&Array.isArray(j.options.type)&&j.options.type.length&&j.options.type[0].ref&&Array.isArray(t)&&t.length>0&&t[0]instanceof i&&t[0].constructor.modelName&&j.options.type[0].ref===t[0].constructor.modelName&&(this.ownerDocument?(P={model:t[0].constructor},this.ownerDocument().populated(this.$__fullPath(e),t.map(function(e){return e._id}),P)):(P={model:t[0].constructor},this.populated(e,t.map(function(e){return e._id}),P)),I=!0),t=j.applySetters(t,this,!1,C),!I&&this.$__.populated&&delete this.$__.populated[e],this.$markValid(e)}catch(F){var M;F instanceof m.CastError||(M=F),this.invalidate(e,new m.CastError(j.instance,t,e,M)),T=!1}return T&&this.$__set(A,e,c,S,j,t,C),this},i.prototype.$__shouldModify=function(e,t,n,r,o,a,s){return this.isNew?!0:void 0!==a||this.isSelected(t)?void 0===a&&t in this.$__.activePaths.states[\"default\"]?!1:this.populated(t)&&a instanceof i&&O(a._id,s)?!1:O(a,s||this.get(t))?!!(!n&&null!==a&&void 0!==a&&t in this.$__.activePaths.states[\"default\"]&&O(a,o.getDefault(this,n))):!0:!0},i.prototype.$__set=function(t,n,r,i,o,a,s){d=d||e(\"./types/embedded\");var c=this.$__shouldModify(t,n,r,i,o,a,s),u=this;c&&(this.markModified(t,a),f||(f=e(\"./types/array\")),a&&a.isMongooseArray&&(a._registerAtomic(\"$set\",a),this.$__.activePaths.forEach(function(e){0===e.indexOf(n+\".\")&&u.$__.activePaths.ignore(e)})));for(var p=this._doc,l=0,h=i.length;h>l;l++){var m=l+1,v=m===h;v?p[i[l]]=a:p=p[i[l]]&&\"Object\"===w.getFunctionName(p[i[l]].constructor)?p[i[l]]:p[i[l]]&&p[i[l]]instanceof d?p[i[l]]:p[i[l]]&&p[i[l]].$isSingleNested?p[i[l]]:p[i[l]]&&Array.isArray(p[i[l]])?p[i[l]]:p[i[l]]={}}},i.prototype.getValue=function(e){return w.getValue(e,this._doc)},i.prototype.setValue=function(e,t){return w.setValue(e,t,this._doc),this},i.prototype.get=function(e,t){var n;t&&(n=g.interpretAsType(e,t,this.schema.options));for(var r=this.$__path(e)||this.schema.virtualpath(e),i=e.split(\".\"),o=this._doc,a=0,s=i.length;s>a;a++)o=null===o||void 0===o?void 0:o[i[a]];return n&&(o=n.cast(o)),r&&!this.populated(e)&&(o=r.applyGetters(o,this)),o},i.prototype.$__path=function(e){var t=this.$__.adhocPaths,n=t&&t[e];return n?n:this.schema.path(e)},i.prototype.markModified=function(e){this.$__.activePaths.modify(e)},i.prototype.modifiedPaths=function(){var e=Object.keys(this.$__.activePaths.states.modify);return e.reduce(function(e,t){var n=t.split(\".\");return e.concat(n.reduce(function(e,t,r){return e.concat(n.slice(0,r).concat(t).join(\".\"))},[]))},[])},i.prototype.isModified=function(e){return e?!!~this.modifiedPaths().indexOf(e):this.$__.activePaths.some(\"modify\")},i.prototype.$isDefault=function(e){return e in this.$__.activePaths.states[\"default\"]},i.prototype.isDirectModified=function(e){return e in this.$__.activePaths.states.modify},i.prototype.isInit=function(e){return e in this.$__.activePaths.states.init},i.prototype.isSelected=function(e){if(this.$__.selected){if(\"_id\"===e)return 0!==this.$__.selected._id;var t,n=Object.keys(this.$__.selected),r=n.length,i=!1;if(1===r&&\"_id\"===n[0])return 0===this.$__.selected._id;for(;r--;)if(t=n[r],\"_id\"!==t){i=!!this.$__.selected[t];break}if(e in this.$__.selected)return i;r=n.length;for(var o=e+\".\";r--;)if(t=n[r],\"_id\"!==t){if(0===t.indexOf(o))return i;if(0===o.indexOf(t+\".\"))return i}return!i}return!0},i.prototype.validate=function(e,t){var n=this,r=C.get();return\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise?void this.$__validate(t):new r.ES6(function(e,r){n.$__validate(function(n){return t&&t(n),n?void r(n):void e()})})},i.prototype.$__validate=function(e){var t=this,n=function(){var e=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),e){for(var n in e.errors)!t.__parent&&e.errors[n]instanceof m.CastError&&t.invalidate(n,e.errors[n]);return e}},i=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});i=i.concat(Object.keys(this.$__.activePaths.states.init)),i=i.concat(Object.keys(this.$__.activePaths.states.modify)),i=i.concat(Object.keys(this.$__.activePaths.states[\"default\"])),0===i.length&&process.nextTick(function(){var t=n();return t?void e(t):void e()});for(var o={},a=0,s=0;s<i.length;++s){var c=i[s],u=t.getValue(c);if(u&&u.isMongooseArray&&!r.isBuffer(u)&&!u.isMongooseDocumentArray)for(var p=u.length,l=0;p>l;++l)i.push(c+\".\"+l)}var f=function(){var t=n();return t?void e(t):void e()},d=function(e){o[e]||(o[e]=!0,a++,process.nextTick(function(){var n=t.schema.path(e);if(!n)return--a||f();if(!t.$isValid(e))return void(--a||f());var r=t.getValue(e);n.doValidate(r,function(n){n&&t.invalidate(e,n,void 0,!0),--a||f()},t)}))};i.forEach(d)},i.prototype.validateSync=function(e){var t=this;\"string\"==typeof e&&(e=e.split(\" \"));var n=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});if(n=n.concat(Object.keys(this.$__.activePaths.states.init)),n=n.concat(Object.keys(this.$__.activePaths.states.modify)),n=n.concat(Object.keys(this.$__.activePaths.states[\"default\"])),e&&e.length){for(var r=[],i=0;i<n.length;++i)-1!==e.indexOf(n[i])&&r.push(n[i]);n=r}var o={};n.forEach(function(e){if(!o[e]){o[e]=!0;var n=t.schema.path(e);if(n&&t.$isValid(e)){var r=t.getValue(e),i=n.doValidateSync(r,t);i&&t.invalidate(e,i,void 0,!0)}}});var a=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),a)for(var s in a.errors)a.errors[s]instanceof m.CastError&&t.invalidate(s,a.errors[s]);return a},i.prototype.invalidate=function(e,t,n,r){return this.$__.validationError||(this.$__.validationError=new S(this)),this.$__.validationError.errors[e]?void 0:(t&&\"string\"!=typeof t||(t=new x({path:e,message:t,type:r||\"user defined\",value:n})),this.$__.validationError===t?this.$__.validationError:(this.$__.validationError.errors[e]=t,this.$__.validationError))},i.prototype.$markValid=function(e){this.$__.validationError&&this.$__.validationError.errors[e]&&(delete this.$__.validationError.errors[e],0===Object.keys(this.$__.validationError.errors).length&&(this.$__.validationError=null))},i.prototype.$isValid=function(e){return!this.$__.validationError||!this.$__.validationError.errors[e]},i.prototype.$__reset=function(){var t=this;return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return t.getValue(e)}).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).forEach(function(e){for(var t=e.length;t--;){var n=e[t];n&&n.$__reset()}}),this.$__dirty().forEach(function(e){var t=e.value;t&&t._atomics&&(t._atomics={})}),this.$__.activePaths.clear(\"modify\"),this.$__.activePaths.clear(\"default\"),this.$__.validationError=void 0,this.errors=void 0,t=this,this.schema.requiredPaths().forEach(function(e){t.$__.activePaths.require(e)}),this},i.prototype.$__dirty=function(){var e=this,t=this.$__.activePaths.map(\"modify\",function(t){return{path:t,value:e.getValue(t),schema:e.$__path(t)}});t=t.concat(this.$__.activePaths.map(\"default\",function(t){return\"_id\"!==t&&e.getValue(t)?{path:t,value:e.getValue(t),schema:e.$__path(t)}:void 0})),t.sort(function(e,t){return e.path<t.path?-1:e.path>t.path?1:0});var n,r,i=[];return t.forEach(function(e){e&&(0!==e.path.indexOf(n)?(n=e.path+\".\",i.push(e),r=e):r.value&&r.value._atomics&&r.value.hasAtomics()&&(r.value._atomics={},r.value._atomics.$set=r.value))}),r=n=null,i},i.prototype.$__setSchema=function(e){a(e.tree,this,void 0,e.options),this.schema=e},i.prototype.$__getArrayPathsToValidate=function(){return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return this.getValue(e)}.bind(this)).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e})},i.prototype.$__getAllSubdocs=function(){function t(e,n){var r=this[n];return r instanceof d&&e.push(r),r&&r.$isSingleNested&&(e=Object.keys(r._doc).reduce(t.bind(r._doc),e),e.push(r)),r&&r.isMongooseDocumentArray?r.forEach(function(n){n&&n._doc&&(n instanceof d&&e.push(n),e=Object.keys(n._doc).reduce(t.bind(n._doc),e))}):r instanceof i&&r.$__isNested&&(r=r.toObject(),r&&(e=Object.keys(r).reduce(t.bind(r),e))),e}l||(l=e(\"./types/documentarray\")),d=d||e(\"./types/embedded\");var n=Object.keys(this._doc).reduce(t.bind(this),[]);return n},i.prototype.$__registerHooksFromSchema=function(){d=d||e(\"./types/embedded\");var t=C.get(),n=this,r=n.schema&&n.schema.callQueue;if(!r.length)return n;var i=r.reduce(function(e,t){if(\"pre\"!==t[0]&&\"post\"!==t[0]&&\"on\"!==t[0])return n[t[0]].apply(n,t[1]),e;var r=[].slice.call(t[1]),i=\"on\"===t[0]?\"post\":r[0];return i in e||(e[i]={post:[],pre:[]}),\"post\"===t[0]?e[i].post.push(r):\"on\"===t[0]?e[i].push(r):e[i].pre.push(r),e},{post:[]});return i.post.forEach(function(e){n.on.apply(n,e)}),delete i.post,i.init&&n instanceof d?(i.init.pre&&i.init.pre.forEach(function(e){n.$pre.apply(n,e)}),i.init.post&&i.init.post.forEach(function(e){n.$post.apply(n,e)}),delete i.init):i.set&&(i.set.pre&&i.set.pre.forEach(function(e){n.$pre.apply(n,e)}),i.set.post&&i.set.post.forEach(function(e){n.$post.apply(n,e)}),delete i.set),Object.keys(i).forEach(function(e){var r=\"$__original_\"+e;n[e]&&(n[r]=n[e],n[e]=function(){var e,i=[].slice.call(arguments),o=i.pop();return new t.ES6(function(t,a){o&&\"function\"!=typeof o?i.push(o):e=o,i.push(function(r,i){return r?(n.$__handleReject(r),e&&e(r),void a(r)):(e&&e.apply(null,[null].concat(Array.prototype.slice.call(arguments,1))),void t(i))}),n[r].apply(n,i)})},i[e].pre.forEach(function(e){e[0]=r,n.$pre.apply(n,e)}),i[e].post.forEach(function(e){e[0]=r,n.$post.apply(n,e)}))}),n},i.prototype.$__handleReject=function(e){this.listeners(\"error\").length?this.emit(\"error\",e):this.constructor.listeners&&this.constructor.listeners(\"error\").length?this.constructor.emit(\"error\",e):this.listeners&&this.listeners(\"error\").length&&this.emit(\"error\",e)},i.prototype.$toObject=function(e,t){var n={transform:!0,json:t};if(e&&e.depopulate&&!e._skipDepopulateTopLevel&&this.$__.wasPopulated)return _(this._id,e);e&&e._skipDepopulateTopLevel&&(e._skipDepopulateTopLevel=!1),(!e||\"Object\"!==w.getFunctionName(e.constructor)||e&&e._useSchemaOptions)&&(t?(e=this.schema.options.toJSON?_(this.schema.options.toJSON):{},e.json=!0,e._useSchemaOptions=!0):(e=this.schema.options.toObject?_(this.schema.options.toObject):{},e.json=!1,e._useSchemaOptions=!0));for(var r in n)void 0===e[r]&&(e[r]=n[r]);\"minimize\"in e||(e.minimize=this.schema.options.minimize);var i=e.transform,o=_(this._doc,e)||{};e.getters&&(p(this,o,\"paths\",e),e.minimize&&(o=u(o)||{})),(e.virtuals||e.getters&&e.virtuals!==!1)&&p(this,o,\"virtuals\",e),e.versionKey===!1&&this.schema.options.versionKey&&delete o[this.schema.options.versionKey];var a=e.transform;if(a===!0||this.schema.options.toObject&&a){var s=e.json?this.schema.options.toJSON:this.schema.options.toObject;s&&(a=\"function\"==typeof e.transform?e.transform:s.transform)}else e.transform=i;if(\"function\"==typeof a){var c=a(this,o,e);\"undefined\"!=typeof c&&(o=c)}return o},i.prototype.toObject=function(e){return this.$toObject(e)},i.prototype.toJSON=function(e){return this.$toObject(e,!0)},i.prototype.inspect=function(e){var t,n=e&&\"Object\"===w.getFunctionName(e.constructor);return t=n?e:this.schema.options.toObject?_(this.schema.options.toObject):{},t.minimize=!1,t.retainKeyOrder=!0,this.toObject(t)},i.prototype.toString=function(){return j(this.inspect())},i.prototype.equals=function(e){var t=this.get(\"_id\"),n=e.get?e.get(\"_id\"):e;return t||n?t&&t.equals?t.equals(n):t===n:O(this,e)},i.prototype.populate=function(){if(0===arguments.length)return this;var e,t=this.$__.populate||(this.$__.populate={}),n=w.args(arguments);if(\"function\"==typeof n[n.length-1]&&(e=n.pop()),n.length)for(var r=w.populate.apply(null,n),i=0;i<r.length;++i)t[r[i].path]=r[i];if(e){var o=w.object.vals(t);\nthis.$__.populate=void 0,o.__noPromise=!0,this.constructor.populate(this,o,e)}return this},i.prototype.execPopulate=function(){var e=C.get(),t=this;return new e.ES6(function(e,n){t.populate(function(t,r){t?n(t):e(r)})})},i.prototype.populated=function(e,t,n){if(null!==t&&void 0!==t){if(t===!0){if(!this.$__.populated)return;return this.$__.populated[e]}return this.$__.populated||(this.$__.populated={}),this.$__.populated[e]={value:t,options:n},t}if(this.$__.populated){var r=this.$__.populated[e];return r?r.value:void 0}},i.prototype.depopulate=function(e){var t=this.populated(e);t&&(delete this.$__.populated[e],this.set(e,t))},i.prototype.$__fullPath=function(e){return e||\"\"},i.ValidationError=S,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./error/objectExpected\":265,\"./error/strict\":267,\"./internal\":272,\"./promise_provider\":275,\"./schema\":279,\"./schema/mixed\":287,\"./schematype\":292,\"./types/array\":295,\"./types/documentarray\":297,\"./types/embedded\":298,\"./utils\":302,events:void 0,\"hooks-fixed\":150,util:void 0}],254:[function(e,t,n){\"use strict\";var r=e(\"./document.js\"),i=e(\"./browserDocument.js\");t.exports=function(){return\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&document===window.document?i:r}},{\"./browserDocument.js\":250,\"./document.js\":253}],255:[function(e,t,n){t.exports=function(){}},{}],256:[function(e,t,n){var r=e(\"bson\").Binary;t.exports=n=r},{bson:59}],257:[function(e,t,n){n.Binary=e(\"./binary\"),n.ObjectId=e(\"./objectid\"),n.ReadPreference=e(\"./ReadPreference\")},{\"./ReadPreference\":255,\"./binary\":256,\"./objectid\":258}],258:[function(e,t,n){var r=e(\"bson\").ObjectID;t.exports=n=r},{bson:59}],259:[function(e,t,n){(function(n){var r;r=e(\"undefined\"==typeof window?n.MONGOOSE_DRIVER_PATH||\"./node-mongodb-native\":\"./browser\"),t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./browser\":257}],260:[function(e,t,n){function r(e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.message=e,this.name=\"MongooseError\"}r.prototype=Object.create(Error.prototype),r.prototype.constructor=Error,t.exports=n=r,r.messages=e(\"./error/messages\"),r.Messages=r.messages,r.CastError=e(\"./error/cast\"),r.ValidationError=e(\"./error/validation\"),r.ValidatorError=e(\"./error/validator\"),r.VersionError=e(\"./error/version\"),r.OverwriteModelError=e(\"./error/overwriteModel\"),r.MissingSchemaError=e(\"./error/missingSchema\"),r.DivergentArrayError=e(\"./error/divergentArray\")},{\"./error/cast\":261,\"./error/divergentArray\":262,\"./error/messages\":263,\"./error/missingSchema\":264,\"./error/overwriteModel\":266,\"./error/validation\":268,\"./error/validator\":269,\"./error/version\":270}],261:[function(e,t,n){function r(e,t,n,r){i.call(this,\"Cast to \"+e+' failed for value \"'+t+'\" at path \"'+n+'\"'),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"CastError\",this.kind=e,this.value=t,this.path=n,this.reason=r}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],262:[function(e,t,n){function r(e){var t=\"For your own good, using `document.save()` to update an array which was selected using an $elemMatch projection OR populated using skip, limit, query conditions, or exclusion of the _id field when the operation results in a $pop or $set of the entire array is not supported. The following path(s) would have been modified unsafely:\\n  \"+e.join(\"\\n  \")+\"\\nUse Model.update() to update these arrays instead.\";i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"DivergentArrayError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],263:[function(e,t,n){var r=t.exports=n={};r.general={},r.general[\"default\"]=\"Validator failed for path `{PATH}` with value `{VALUE}`\",r.general.required=\"Path `{PATH}` is required.\",r.Number={},r.Number.min=\"Path `{PATH}` ({VALUE}) is less than minimum allowed value ({MIN}).\",r.Number.max=\"Path `{PATH}` ({VALUE}) is more than maximum allowed value ({MAX}).\",r.Date={},r.Date.min=\"Path `{PATH}` ({VALUE}) is before minimum allowed value ({MIN}).\",r.Date.max=\"Path `{PATH}` ({VALUE}) is after maximum allowed value ({MAX}).\",r.String={},r.String[\"enum\"]=\"`{VALUE}` is not a valid enum value for path `{PATH}`.\",r.String.match=\"Path `{PATH}` is invalid ({VALUE}).\",r.String.minlength=\"Path `{PATH}` (`{VALUE}`) is shorter than the minimum allowed length ({MINLENGTH}).\",r.String.maxlength=\"Path `{PATH}` (`{VALUE}`) is longer than the maximum allowed length ({MAXLENGTH}).\"},{}],264:[function(e,t,n){function r(e){var t=\"Schema hasn't been registered for model \\\"\"+e+'\".\\nUse mongoose.model(name, schema)';i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"MissingSchemaError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],265:[function(e,t,n){function r(e,t){i.call(this,\"Tried to set nested object field `\"+e+\"` to primitive value `\"+t+\"` and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ObjectExpectedError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],266:[function(e,t,n){function r(e){i.call(this,\"Cannot overwrite `\"+e+\"` model once compiled.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"OverwriteModelError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],267:[function(e,t,n){function r(e){i.call(this,\"Field `\"+e+\"` is not in schema and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"StrictModeError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],268:[function(e,t,n){function r(e){e&&\"model\"===e.constructor.name?i.call(this,e.constructor.modelName+\" validation failed\"):i.call(this,\"Validation failed\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ValidationError\",this.errors={},e&&(e.errors=this.errors)}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,r.prototype.toString=function(){var e=this.name+\": \",t=[];return Object.keys(this.errors).forEach(function(e){this!==this.errors[e]&&t.push(String(this.errors[e]))},this),e+t.join(\", \")},t.exports=n=r},{\"../error.js\":260}],269:[function(e,t,n){function r(e){var t=e.message;t||(t=o.general[\"default\"]);var n=this.formatMessage(t,e);i.call(this,n),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.properties=e,this.name=\"ValidatorError\",this.kind=e.type,this.path=e.path,this.value=e.value}var i=e(\"../error.js\"),o=i.messages;r.prototype=Object.create(i.prototype),r.prototype.constructor=i,Object.defineProperty(r.prototype,\"properties\",{enumerable:!1,writable:!0,value:null}),r.prototype.formatMessage=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];\"message\"!==i&&(e=e.replace(\"{\"+i.toUpperCase()+\"}\",t[i]))}return e},r.prototype.toString=function(){return this.message},t.exports=r},{\"../error.js\":260}],270:[function(e,t,n){function r(){i.call(this,\"No matching document found.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"VersionError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],271:[function(e,t,n){(function(r){\"use strict\";function i(){this.connections=[],this.plugins=[],this.models={},this.modelSchemas={},this.options={pluralization:!0};var e=this.createConnection();e.models=this.models}function o(e,t){var n=this;for(var r in e)\"function\"==typeof e[r]&&e[r].$hasSideEffects?!function(t){n[t]=function(){return e[t].apply(e,arguments)}}(r):-1!==[\"connection\",\"connections\"].indexOf(r)&&(n[r]=e[r]);this.$opPromise=t}var a=e(\"./schema\"),s=e(\"./schematype\"),c=e(\"./virtualtype\"),u=e(\"./connectionstate\"),p=e(\"./types\"),l=e(\"./query\"),f=e(\"./model\"),d=e(\"./document\"),h=e(\"./utils\"),m=h.toCollectionName,v=e(\"../package.json\"),g=e(\"querystring\"),y=e(\"./aggregate\"),b=e(\"./promise_provider\");i.prototype.STATES=u,i.prototype.set=function(e,t){return 1===arguments.length?this.options[e]:(this.options[e]=t,this)},i.prototype.set.$hasSideEffects=!0,i.prototype.get=i.prototype.set;var x=/^.+,.+$/,w=function(e){if(!e)return!1;var t=e.indexOf(\"?\"),n=!1;if(-1!==t)try{var r=g.parse(e.substr(t+1));r&&r.replicaSet&&(n=!0)}catch(i){return!1}return n};i.prototype.createConnection=function(e,t){var n=new k(this);return this.connections.push(n),arguments.length&&(x.test(arguments[0])||w(arguments[0])?n.openSet.apply(n,arguments):t&&t.replset&&(t.replset.replicaSet||t.replset.rs_name)?n.openSet.apply(n,arguments):n.open.apply(n,arguments)),n},i.prototype.createConnection.$hasSideEffects=!0,i.prototype.connect=function(){var e=this.connection;return x.test(arguments[0])||w(arguments[0])?new o(this,e.openSet.apply(e,arguments)):new o(this,e.open.apply(e,arguments))},i.prototype.connect.$hasSideEffects=!0,i.prototype.disconnect=function(e){var t;this.connections.forEach(function(e){e.close(function(e){t||e&&(t=e)})});var n=b.get();return new o(this,new n.ES6(function(n,r){return e&&e(t),t?void r(t):void n()}))},i.prototype.disconnect.$hasSideEffects=!0,i.prototype.model=function(e,t,n,r){\"string\"==typeof t&&(n=t,t=!1),h.isObject(t)&&!t.instanceOfSchema&&(t=new a(t)),\"boolean\"==typeof n&&(r=n,n=null);var i;if(r&&h.isObject(r)?(i=r,r=!0):i={},!this.modelSchemas[e]){if(!t)throw new S.Error.MissingSchemaError(e);this.modelSchemas[e]=t,this._applyPlugins(t)}var o,s;if(this.models[e]&&i.cache!==!1){if(t&&t.instanceOfSchema&&t!==this.models[e].schema)throw new S.Error.OverwriteModelError(e);return n?(o=this.models[e],t=o.prototype.schema,s=o.__subclass(this.connection,t,n)):this.models[e]}if(!t&&(t=this.modelSchemas[e],!t))throw new S.Error.MissingSchemaError(e);\"pluralization\"in t.options||(t.options.pluralization=this.options.pluralization),n||(n=t.get(\"collection\")||m(e,t.options));var c=i.connection||this.connection;return o=f.compile(e,t,n,c,this),r||o.init(),i.cache===!1?o:(this.models[e]=o,this.models[e])},i.prototype.model.$hasSideEffects=!0,i.prototype.modelNames=function(){var e=Object.keys(this.models);return e},i.prototype.modelNames.$hasSideEffects=!0,i.prototype._applyPlugins=function(e){for(var t=0,n=this.plugins.length;n>t;t++)e.plugin(this.plugins[t][0],this.plugins[t][1])},i.prototype._applyPlugins.$hasSideEffects=!0,i.prototype.plugin=function(e,t){return this.plugins.push([e,t]),this},i.prototype.plugin.$hasSideEffects=!0,i.prototype.__defineGetter__(\"connection\",function(){return this.connections[0]}),i.prototype.__defineSetter__(\"connection\",function(e){this.connections[0]=e});var _=r.MONGOOSE_DRIVER_PATH||\"./drivers/node-mongodb-native\",k=e(_+\"/connection\"),j=e(_+\"/collection\");i.prototype.Aggregate=y,i.prototype.Collection=j,i.prototype.Connection=k,i.prototype.version=v.version,i.prototype.Mongoose=i,i.prototype.Schema=a,i.prototype.SchemaType=s,i.prototype.SchemaTypes=a.Types,i.prototype.VirtualType=c,i.prototype.Types=p,i.prototype.Query=l,Object.defineProperty(i.prototype,\"Promise\",{get:function(){return b.get()},set:function(e){b.set(e)}}),i.prototype.PromiseProvider=b,i.prototype.Model=f,i.prototype.Document=d,i.prototype.DocumentProvider=e(\"./document_provider\"),i.prototype.Error=e(\"./error\"),i.prototype.CastError=e(\"./error/cast\"),i.prototype.mongo=e(\"mongodb\"),i.prototype.mquery=e(\"mquery\"),o.prototype=new i,o.prototype.then=function(e,t){var n=b.get();return this.$opPromise?this.$opPromise.then(e,t):new n.ES6(function(e,t){t(new Error(\"Can only call `.then()` if connect() or disconnect() has been called\"))}).then(e,t)},o.prototype[\"catch\"]=function(e){return this.then(null,e)};var S=t.exports=n=new i}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../package.json\":304,\"./aggregate\":249,\"./connectionstate\":252,\"./document\":253,\"./document_provider\":254,\"./error\":260,\"./error/cast\":261,\"./model\":273,\"./promise_provider\":275,\"./query\":276,\"./schema\":279,\"./schematype\":292,\"./types\":299,\"./utils\":302,\"./virtualtype\":303,mongodb:215,mquery:312,querystring:void 0}],272:[function(e,t,n){function r(){this.strictMode=void 0,this.selected=void 0,this.shardval=void 0,this.saveError=void 0,this.validationError=void 0,this.adhocPaths=void 0,this.removing=void 0,this.inserting=void 0,this.version=void 0,this.getters={},this._id=void 0,this.populate=void 0,this.populated=void 0,this.wasPopulated=!1,this.scope=void 0,this.activePaths=new o,this.ownerDocument=void 0,this.fullPath=void 0}var i=e(\"./statemachine\"),o=i.ctor(\"require\",\"modify\",\"init\",\"default\",\"ignore\");t.exports=n=r},{\"./statemachine\":294}],273:[function(e,t,n){(function(r){function i(e,t,n){_.call(this,e,t,n)}function o(e,t){var n=e.schema.options.skipVersioning;return n?(t=t.replace(/\\.\\d+\\./,\".\"),n[t]):!1}function a(e,t,n,r,i,a){if(a||(a=\"$set\"),n[a]||(n[a]={}),n[a][r.path]=i,e.schema.options.versionKey!==!1&&!o(e,r.path)&&R!==(R&e.$__.version)){switch(a){case\"$set\":case\"$unset\":case\"$pop\":case\"$pull\":case\"$pullAll\":case\"$push\":case\"$pushAll\":case\"$addToSet\":break;default:return}\"$push\"===a||\"$pushAll\"===a||\"$addToSet\"===a?e.$__.version=q:/^\\$p/.test(a)?e.increment():Array.isArray(i)?e.increment():/\\.\\d+\\.|\\.\\d+$/.test(r.path)&&(e.$__.version=D)}}function s(e,t,n,r,i){function o(e){return I(e)?e.toObject({depopulate:1}):e}if(!n.$set||!n.$set[r.path]){if(\"function\"==typeof i.$__getAtomics)return void i.$__getAtomics().forEach(function(i){var o=i[0],s=i[1];a(e,t,n,r,s,o)});var s,c,u=i._atomics,p=Object.keys(u),l=p.length;if(0===l)return I(i)?i=i.toObject({depopulate:1}):i.valueOf&&(i=i.valueOf()),a(e,t,n,r,i);for(;l--;)c=p[l],s=u[c],I(s)?s=s.toObject({depopulate:1}):Array.isArray(s)?s=s.map(o):s.valueOf&&(s=s.valueOf()),\"$addToSet\"===c&&(s={$each:s}),a(e,t,n,r,s,c)}}function c(e,t,n){var r=e.populated(t,!0);if(!r&&e.$__.selected){var i=t.split(\".\")[0];if(e.$__.selected[i]&&e.$__.selected[i].$elemMatch||e.$__.selected[i+\".$\"])return i}if(r&&n&&n.isMongooseArray){var o=r.options.match||r.options.options&&T(r.options.options,\"limit\")||r.options.options&&r.options.options.skip||r.options.select&&(0===r.options.select._id||/\\s?-_id\\s?/.test(r.options.select));if(o){var a=n._atomics;if(0===Object.keys(a).length||a.$set||a.$pop)return t}}}function u(e,t){var n=e.schema.indexes();if(!n.length)return void process.nextTick(function(){t&&t()});var r=function(n){n&&e.schema.options.emitIndexErrors&&e.emit(\"error\",n),e.emit(\"index\",n),t&&t(n)},i=function(t,n,r,i){e.emit(\"index-single-done\",t,n,r,i)},o=function(t,n){e.emit(\"index-single-start\",t,n)},a=function(){var t=n.shift();if(!t)return r();var s=t[0],c=t[1];p(c),o(s,c),e.collection.ensureIndex(s,c,z(function(e,t){return i(e,s,c,t),e?r(e):void a()}))};a()}function p(e){e.safe&&(\"boolean\"==typeof e.safe&&(e.w=e.safe,delete e.safe),\"object\"==typeof e.safe&&(e.w=e.safe.w,e.j=e.safe.j,e.wtimeout=e.safe.wtimeout,delete e.safe))}function l(e,t,n,r,i){function o(e){return e?i(e):void(--a||i(null,t))}var a=n.length;if(0===a)return i(null,t);for(var s,c=a;c--;)s=n[c],\"function\"==typeof s.model&&(e=s.model),d(e,t,s,f.call(e,t,s,r,o))}function f(e,t,n,r){var i=this,o=t.path+\".\",a=t.populate;return a?(Array.isArray(a)||(a=[a]),function(t){function s(e){return e?r(e):void(--c||r())}var c=a.length;return t||!c?r(t):void a.forEach(function(t){t=C.clone(t),t._originalPath||(t._originalPath=t.path,t.path=o+t.path);var r,a=n[o.substr(0,o.length-1)]||i.schema._getSchema(o);\"string\"==typeof t.model?t.model=i.model(t.model):a&&a.caster&&a.caster.options&&a.caster.options.ref?(r=i.model(a.caster.options.ref).schema._getSchema(t._originalPath),n[t.path]=r,r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))):a&&a.options&&a.options.ref&&(r=i.model(a.options.ref).schema._getSchema(t._originalPath),r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))),l(t.model||i,e,C.populate(t),n,s)})}):r}function d(e,t,n,r){function i(e){return void 0!==e}function o(e,t,n,r){return n?f.resolve(n):(v=v.concat(r),void(0===--y&&f.resolve(n,v,e,t)))}var a,s;if(Array.isArray(t)||(t=[t]),0===t.length||t.every(C.isNullOrUndefined))return r();a=h(e,t,n),s=m(a);var c,u,p,l,f,d=a.length,v=[];f=new F(function(e,n,i,o){if(e)return r(e);for(var a,c,u=i.options&&i.options.lean,p=n.length,l={},f={},d=0;p>d;d++)c=n[d],a=String(C.getValue(\"_id\",c)),f[a]=c,l[a]=d,u||(c.$__.wasPopulated=!0);g({rawIds:s,rawDocs:f,rawOrder:l,docs:t,path:i.path,options:o}),r()});var y=d,b=!1;for(c=0;d>c;c++){u=a[c],l=u.options.select,p=u.options.match?C.object.shallowCopy(u.options.match):{};var x=C.array.flatten(u.ids,i);if(x=C.array.unique(x),0===x.length||x.every(C.isNullOrUndefined))--y;else{b=!0,p._id||(p._id={$in:x});var w={};w.sort=u.options.options&&u.options.options.sort||void 0,w.excludeId=$.test(l)||l&&0===l._id,w.excludeId&&(\"string\"==typeof l?l=l.replace(U,\" \"):(l=C.object.shallowCopy(l),delete l._id)),u.options.options&&u.options.options.limit&&(w.originalLimit=u.options.options.limit,u.options.options.limit=u.options.options.limit*x.length),u.Model.find(p,l,u.options.options,o.bind(this,u.options,w))}}return b?void 0:r()}function h(e,t,n){var r,i,o,a,s,c,u,p,l,f,d=t.length,h={},m=[],v=n.model&&n.model.modelName||n.model;for(o=e._getSchema(n.path),o&&o.caster&&(o=o.caster),!o&&e.discriminators&&(l=e.schema.discriminatorMapping.key),a=o&&o.options&&o.options.refPath,r=0;d>r;r++){if(i=t[r],a)u=C.getValue(a,i);else if(v)u=[v];else{var g;!o&&l?(f=C.getValue(l,i),f&&(g=e.db.model(f)._getSchema(n.path),g&&g.caster&&(g=g.caster))):g=o,u=[g&&g.options&&g.options.ref||e.modelName]}if(u){Array.isArray(u)||(u=[u]);for(var y=u.length;y--;)p=u[y],h[p]?h[p].docs.push(i):(s=e.db.model(p),c={model:s},o&&!l&&(n.model=s),C.merge(c,n),h[p]={Model:s,options:c,docs:[i],ids:[]},m.push(h[p]))}}return m}function m(e){var t,n,r,i,o,a,s,c,u,p,l,f=[];for(s=e.length,n=0;s>n;n++)for(i=e[n].docs,a=i.length,p=e[n].options,l=p.path,t=0;a>t;t++)c=void 0,r=i[t],o=String(C.getValue(\"_id\",r)),u=!!r.$__,(!c||Array.isArray(c)&&0===c.length)&&(c=C.getValue(l,r)),c&&(c=v(c),p._docs[o]=Array.isArray(c)?c.slice():c),f.push(c),e[n].ids.push(c),u&&r.populated(l,p._docs[o],p);return f}function v(e){if(e instanceof i)return e._id;if(Array.isArray(e)){for(var t=0;t<e.length;++t)e[t]instanceof i&&(e[t]=e[t]._id);return e}return e}function g(e){function t(e){return y(e,o)}w(e.rawIds,e.rawDocs,e.rawOrder,e.options);for(var n=e.docs,r=e.path,i=e.rawIds,o=e.options,a=0;a<n.length;++a)null!=C.getValue(r,n[a])&&C.setValue(r,i[a],n[a],t)}function y(e,t){if(Array.isArray(e)){for(var n=[],r=e.length,i=0;r>i;++i){var o=e[i];if(x(o)&&(b(o,t),n.push(o),t.originalLimit&&n.length>=t.originalLimit))break}for(;e.length>n.length;)Array.prototype.pop.apply(e,[]);for(i=0;i<n.length;++i)e[i]=n[i];return e}return x(e)?(b(e,t),e):null}function b(e,t){t.excludeId&&(\"function\"==typeof e.setValue?delete e._doc._id:delete e._id)}function x(e){if(null==e)return!1;var t=typeof e;return\"string\"===t?!1:\"number\"===t?!1:r.isBuffer(e)?!1:\"ObjectID\"!==e.constructor.name}function w(e,t,n,r,i){for(var o,a,s,c=[],u=r.sort&&e.length>1,p=0;p<e.length;++p)s=e[p],Array.isArray(s)?(w(s,t,n,r,!0),c.push(s)):null!==s||u?(a=String(s),i?(o=t[a],o?u?c[n[a]]=o:c.push(o):c.push(s)):c[p]=o=t[a]||null):c.push(s);e.length=0,c.length&&c.forEach(function(t,n){t&&(e[n]=t)})}var _=e(\"./document\"),k=e(\"./error\"),j=k.VersionError,S=k.DivergentArrayError,E=e(\"./query\"),O=e(\"./aggregate\"),A=e(\"./schema\"),C=e(\"./utils\"),T=C.object.hasOwnProperty,I=C.isMongooseObject,P=e(\"events\").EventEmitter,F=e(\"./promise\"),M=e(\"util\"),z=C.tick,B=e(\"async\"),N=e(\"./promise_provider\"),D=1,q=2,R=D|q;i.prototype.__proto__=_.prototype,i.prototype.db,i.prototype.collection,i.prototype.modelName,i.prototype.baseModelName,i.prototype.$__handleSave=function(e,t){var n=this;if(!e.safe&&this.schema.options.safe&&(e.safe=this.schema.options.safe),\"boolean\"==typeof e.safe&&(e.safe=null),this.isNew){var r={};this.schema.options.toObject&&this.schema.options.toObject.retainKeyOrder&&(r.retainKeyOrder=!0),r.depopulate=1,r._skipDepopulateTopLevel=!0,r.transform=!1;var i=this.toObject(r);if(!C.object.hasOwnProperty(i||{},\"_id\"))return void setTimeout(function(){t(new Error(\"document must have an _id before saving\"))},0);this.$__version(!0,i),this.collection.insert(i,e.safe,function(e,r){return e?(n.isNew=!0,n.emit(\"isNew\",!0),void t(e)):void t(null,r)}),this.$__reset(),this.isNew=!1,this.emit(\"isNew\",!1),this.$__.inserting=!0}else{this.$__.inserting=!1;var o=this.$__delta();if(!o)return this.$__reset(),void t();if(o instanceof Error)return void t(o);var a=this.$__where(o[0]);if(a instanceof Error)return void t(a);this.collection.update(a,o[1],e.safe,function(e,n){return e?void t(e):void t(null,n)}),this.emit(\"isNew\",!1)}},i.prototype.$__save=function(e,t){var n=this;n.$__handleSave(e,function(e,r){if(e)return t(e);n.$__reset(),n.$__storeShard();var i=0;if(r&&(i=Array.isArray(r)?r.length:r.result&&void 0!==r.result.n?r.result.n:r.result&&void 0!==r.result.nModified?r.result.nModified:r),n.$__.version&&!n.$__.inserting){var o=q===(q&n.$__.version);if(n.$__.version=void 0,0>=i){var a=new j;return t(a)}if(o){var s=n.schema.options.versionKey,c=0|n.getValue(s);n.setValue(s,c+1)}}n.emit(\"save\",n,i),t(null,n,i)})},i.prototype.save=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),e.__noPromise)return this.$__save(e,t);var n=this,r=N.get();return new r.ES6(function(r,i){n.$__save(e,function(e,n,o){return e?(t&&t(e),void i(e)):(t&&t(null,n,o),void r(n,o))})})},i.prototype.$__delta=function(){var e=this.$__dirty();if(e.length||R===this.$__.version){var t={},n={},i=e.length,o=[],u=0;for(t._id=this._doc._id;i>u;++u){var p=e[u],l=p.value,f=c(this,p.path,l);f?o.push(f):o.length||(void 0===l?a(this,t,n,p,1,\"$unset\"):null===l?a(this,t,n,p,null):l._path&&l._atomics?s(this,t,n,p,l):l._path&&r.isBuffer(l)?(l=l.toObject(),a(this,t,n,p,l)):(l=C.clone(l,{depopulate:1}),a(this,t,n,p,l)))}return o.length?new S(o):(this.$__.version&&this.$__version(t,n),[t,n])}},i.prototype.$__version=function(e,t){var n=this.schema.options.versionKey;return e===!0?void(n&&this.setValue(n,t[n]=0)):void(this.isSelected(n)&&(D===(D&this.$__.version)&&(e[n]=this.getValue(n)),q===(q&this.$__.version)&&(t.$set&&\"undefined\"!=typeof t.$set[n]||(t.$inc||(t.$inc={}),t.$inc[n]=1))))},i.prototype.increment=function(){return this.$__.version=R,this},i.prototype.$__where=function(e){e||(e={});var t,n;if(e._id||(e._id=this._doc._id),this.$__.shardval){t=Object.keys(this.$__.shardval),n=t.length;for(var r=0;n>r;++r)e[t[r]]=this.$__.shardval[t[r]]}return null==this._doc._id?new Error(\"No _id found on document!\"):e},i.prototype.remove=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),this.$__.removing)return t&&this.$__.removing.then(function(e){t(null,e)},function(e){t(e)}),this;var n=this,r=N.get();return this.$__.removing=new r.ES6(function(r,i){var o=n.$__where();return o instanceof Error?(i(o),void(t&&t(o))):(!e.safe&&n.schema.options.safe&&(e.safe=n.schema.options.safe),void n.collection.remove(o,e,function(e){return e?(i(e),void(t&&t(e))):(n.emit(\"remove\",n),r(n),void(t&&t(null,n)))}))}),this.$__.removing},i.prototype.model=function(e){return this.db.model(e)},i.discriminator=function(e,t){function n(e,t){if(e=C.clone(e),t=C.clone(t),delete e.toJSON,delete e.toObject,delete t.toJSON,delete t.toObject,delete e._id,delete t._id,!C.deepEqual(e,t))throw new Error(\"Discriminator options are not customizable (except toJSON, toObject, _id)\")}function r(t,r){C.merge(t,r);var o={};o[i]={type:String,\"default\":e},t.add(o),t.discriminatorMapping={key:i,value:e,isRoot:!1},r.options.collection&&(t.options.collection=r.options.collection),n(t.options,r.options);var a=t.options.toJSON,s=t.options.toObject,c=t.options._id;t.options=C.clone(r.options),a&&(t.options.toJSON=a),s&&(t.options.toObject=s),\"undefined\"!=typeof c&&(t.options._id=c),t.callQueue=r.callQueue.concat(t.callQueue.slice(t._defaultMiddleware.length)),t._requiredpaths=void 0}if(!t||!t.instanceOfSchema)throw new Error(\"You must pass a valid discriminator Schema\");if(this.schema.discriminatorMapping&&!this.schema.discriminatorMapping.isRoot)throw new Error('Discriminator \"'+e+'\" can only be a discriminator of the root model');var i=this.schema.options.discriminatorKey;if(t.path(i))throw new Error('Discriminator \"'+e+'\" cannot have field with name \"'+i+'\"');if(r(t,this.schema),this.discriminators||(this.discriminators={}),this.schema.discriminatorMapping||(this.schema.discriminatorMapping={key:i,value:null,isRoot:!0}),this.discriminators[e])throw new Error('Discriminator with name \"'+e+'\" already exists');return this.discriminators[e]=this.db.model(e,t,this.collection.name),this.discriminators[e].prototype.__proto__=this.prototype,Object.defineProperty(this.discriminators[e],\"baseModelName\",{value:this.modelName,configurable:!0,writable:!1}),H(this.discriminators[e],t),V(this.discriminators[e],t),this.discriminators[e]};for(var L in P.prototype)i[L]=P.prototype[L];i.init=function(){(this.schema.options.autoIndex||null===this.schema.options.autoIndex&&this.db.config.autoIndex)&&this.ensureIndexes({__noPromise:!0}),this.schema.emit(\"init\",this)},i.ensureIndexes=function(e,t){if(\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise)return void u(this,t);var n=this,r=N.get();return new r.ES6(function(e,r){u(n,function(n){n&&(t&&t(n),r(n)),t&&t(),e()})})},i.schema,i.db,i.collection,i.base,i.discriminators,i.remove=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E(e,{},this,this.collection);return n.remove(t)},i.find=function(e,t,n,r){\"function\"==typeof e?(r=e,e={},t=null,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof n&&(r=n,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.find(e,r)},i.findById=function(e,t,n,r){return\"undefined\"==typeof e&&(e=null),this.findOne({_id:e},t,n,r)},i.findOne=function(e,t,n,r){\"function\"==typeof n?(r=n,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof e&&(r=e,e={},t=null,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.findOne(e,r)},i.count=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E({},{},this,this.collection);return n.count(e,t)},i.distinct=function(e,t,n){var r=new E({},{},this,this.collection);return\"function\"==typeof t&&(n=t,t={}),r.distinct(e,t,n)},i.where=function(e,t){var n=new E({},{},this,this.collection).find({});return n.where.apply(n,arguments)},i.$where=function(){var e=new E({},{},this,this.collection).find({});return e.$where.apply(e,arguments)},i.findOneAndUpdate=function(e,t,n,r){if(\"function\"==typeof n)r=n,n=null;else if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findOneAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options, callback)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update)\\n  \"+this.modelName+\".findOneAndUpdate(update)\\n  \"+this.modelName+\".findOneAndUpdate()\\n\";throw new TypeError(i)}t=e,e=void 0}var o;n&&n.fields&&(o=n.fields,n.fields=void 0),t=C.clone(t,{depopulate:1}),this.schema.options.versionKey&&n&&n.upsert&&(t.$setOnInsert||(t.$setOnInsert={}),t.$setOnInsert[this.schema.options.versionKey]=0);var a=new E({},{},this,this.collection);return a.select(o),a.findOneAndUpdate(e,t,n,r)},i.findByIdAndUpdate=function(e,t,n,r){if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findByIdAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndUpdate(id, callback)\\n  \"+this.modelName+\".findByIdAndUpdate(id)\\n  \"+this.modelName+\".findByIdAndUpdate()\\n\";throw new TypeError(i)}return this.findOneAndUpdate({_id:e},void 0)}return e instanceof _&&(e=e._id),this.findOneAndUpdate.call(this,{_id:e},t,n,r)},i.findOneAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findOneAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndRemove(conditions, callback)\\n  \"+this.modelName+\".findOneAndRemove(conditions)\\n  \"+this.modelName+\".findOneAndRemove()\\n\";throw new TypeError(r)}\"function\"==typeof t&&(n=t,t=void 0);var i;t&&(i=t.select,t.select=void 0);var o=new E({},{},this,this.collection);return o.select(i),o.findOneAndRemove(e,t,n)},i.findByIdAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findByIdAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndRemove(id, callback)\\n  \"+this.modelName+\".findByIdAndRemove(id)\\n  \"+this.modelName+\".findByIdAndRemove()\\n\";throw new TypeError(r)}return this.findOneAndRemove({_id:e},t,n)},i.create=function(e,t){var n,r;if(Array.isArray(e))n=e,r=t;else{var i=arguments[arguments.length-1];\"function\"==typeof i?(r=i,n=C.args(arguments,0,arguments.length-1)):n=C.args(arguments)}var o=N.get(),a=this,s=new o.ES6(function(t,i){if(0===n.length)return void process.nextTick(function(){r&&r(null),t(null)});var o=[];n.forEach(function(e){o.push(function(t){var n=new a(e),r=function(e,n){return e?t(e):void t(null,n)};n.$__original_save?n.$__original_save({__noPromise:!0},r):n.save({__noPromise:!0},r)})}),B.parallel(o,function(n,o){return n?(r&&r(n),void i(n)):void(e instanceof Array?(t(o),r&&r.call(a,null,o)):(t.apply(s,o),r&&(o.unshift(null),r.apply(a,o))))})});return s},i.insertMany=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,i){var o=[];e.forEach(function(e){o.push(function(t){e=new n(e),e.validate({__noPromise:!0},function(n){return n?t(n):void t(null,e)})})}),B.parallel(o,function(e,o){if(e)return i(e),void(t&&t(e));var a=o.map(function(e){return e.toObject({virtuals:!1})});n.collection.insertMany(a,function(e){return e?(i(e),void(t&&t(e))):(r(o),void(t&&t(null,o)))})})})},i.hydrate=function(t){var n=e(\"./queryhelpers\").createModel(this,t);return n.init(t),n},i.update=function(e,t,n,r){var i=new E({},{},this,this.collection);return e=e instanceof _?e.toObject():C.clone(e,{retainKeyOrder:!0}),n=\"function\"==typeof n?n:C.clone(n),i.update(e,t,n,r)},i.mapReduce=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,o){if(!i.mapReduce.schema){var a={noId:!0,noVirtualId:!0,strict:!1};i.mapReduce.schema=new A({},a)}if(e.out||(e.out={inline:1}),e.verbose!==!1&&(e.verbose=!0),e.map=String(e.map),e.reduce=String(e.reduce),e.query){var s=new E(e.query);s.cast(n),e.query=s._conditions,s=void 0}n.collection.mapReduce(null,null,e,function(e,a,s){if(e)return t&&t(e),void o(e);if(a.findOne&&a.mapReduce){var c=i.compile(\"_mapreduce_\"+a.collectionName,i.mapReduce.schema,a.collectionName,n.db,n.base);return c._mapreduce=!0,t&&t(null,c,s),r(c,s)}t&&t(null,a,s),r(a,s)})})},i.geoNear=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();if(!e)return new i.ES6(function(e,t){var r=new Error(\"Must pass a near option to geoNear\");t(r),n&&n(r)});var o,a;return new i.ES6(function(i,s){\nvar c=function(e,o){function a(e){return e&&!u?(u=!0,s(e),void(n&&n(e))):void(--c<=0&&(i(o.results,o.stats),n&&n(null,o.results,o.stats)))}if(e)return s(e),void(n&&n(e));if(t.lean)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));var c=o.results.length;if(0===c)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));for(var u=!1,p=0;p<o.results.length;p++){var l=o.results[p].obj;o.results[p].obj=new r,o.results[p].obj.init(l,a)}};if(Array.isArray(e)){if(2!==e.length){var u=new Error(\"If using legacy coordinates, must be an array of size 2 for geoNear\");return s(u),void(n&&n(u))}o=e[0],a=e[1],r.collection.geoNear(o,a,t,c)}else{if(\"Point\"!==e.type||!Array.isArray(e.coordinates))return u=new Error(\"Must pass either a legacy coordinate array or GeoJSON Point to geoNear\"),s(u),void(n&&n(u));r.collection.geoNear(e,t,c)}})},i.aggregate=function W(){var W,e,t=[].slice.call(arguments);return\"function\"==typeof t[t.length-1]&&(e=t.pop()),W=new O(1===t.length&&M.isArray(t[0])?t[0]:t),W.model(this),\"undefined\"==typeof e?W:W.exec(e)},i.geoSearch=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();return new i.ES6(function(i,o){var a;return void 0!==e&&C.isObject(e)?t.near?Array.isArray(t.near)||(a=new Error(\"near option must be an array [x, y]\")):a=new Error(\"Must specify the near option in geoSearch\"):a=new Error(\"Must pass conditions to geoSearch\"),a?(n&&n(a),void o(a)):(t.search=e,void r.collection.geoHaystackSearch(t.near[0],t.near[1],t,function(e,a){function s(e){return e&&!u?(n&&n(e),void o(e)):void(--c||u||(n&&n(null,a.results,a.stats),i(a.results,a.stats)))}if(e)return n&&n(e),void o(e);var c=a.results.length;if(t.lean||0===c)return n&&n(null,a.results,a.stats),void i(a.results,a.stats);for(var u=!1,p=0;p<a.results.length;p++){var l=a.results[p];a.results[p]=new r,a.results[p].init(l,{},s)}}))})},i.populate=function(e,t,n){var r=this,i=t&&!!t.__noPromise;t=C.populate(t);var o={};if(!i){var a=N.get();return new a.ES6(function(i,a){l(r,e,t,o,function(e,t){e?(n&&n(e),a(e)):(n&&n(null,t),i(t))})})}l(this,e,t,o,n)};var $=/\\s?-_id\\s?/,U=/\\s?-_id\\s?/g;i._getSchema=function(e){return this.schema._getSchema(e)},i.compile=function(e,t,n,r,o){function a(e,t,n){return this instanceof a?void i.call(this,e,t,n):new a(e,t,n)}var s=t.options.versionKey!==!1;if(s&&!t.paths[t.options.versionKey]){var c={};c[t.options.versionKey]=Number,t.add(c)}a.hooks=t.s.hooks.clone(),a.base=o,a.modelName=e,a.__proto__=i,a.prototype.__proto__=i.prototype,a.model=i.prototype.model,a.db=a.prototype.db=r,a.discriminators=a.prototype.discriminators=void 0,a.prototype.$__setSchema(t);var u={bufferCommands:t.options.bufferCommands,capped:t.options.capped};return a.prototype.collection=r.collection(n,u),H(a,t),V(a,t),a.schema=a.prototype.schema,a.collection=a.prototype.collection,a};var H=function(e,t){function n(t,n){Object.defineProperty(e.prototype,t,{get:function(){var e={};for(var r in n.methods[t])e[r]=n.methods[t][r].bind(this);return e},configurable:!0})}for(var r in t.methods)\"function\"==typeof t.methods[r]?e.prototype[r]=t.methods[r]:n(r,t)},V=function(e,t){for(var n in t.statics)e[n]=t.statics[n]};i.__subclass=function(e,t,n){var r=this,i=function c(e,t,n){return this instanceof c?void r.call(this,e,t,n):new c(e,t,n)};i.__proto__=r,i.prototype.__proto__=r.prototype,i.db=i.prototype.db=e;var o=t&&\"string\"!=typeof t?t:r.prototype.schema,a=o.options||{};n||(n=r.prototype.schema.get(\"collection\")||C.toCollectionName(r.modelName,a));var s={bufferCommands:o?a.bufferCommands:!0,capped:o&&a.capped};return i.prototype.collection=e.collection(n,s),i.collection=i.prototype.collection,i.init(),i},t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregate\":249,\"./document\":253,\"./error\":260,\"./promise\":274,\"./promise_provider\":275,\"./query\":276,\"./queryhelpers\":277,\"./schema\":279,\"./utils\":302,async:11,events:void 0,util:void 0}],274:[function(e,t,n){function r(e){i.call(this,e)}var i=e(\"mpromise\"),o=e(\"util\");r.ES6=function(e){var t=new r;return e(function(){t.complete.apply(t,arguments)},function(e){t.error(e)}),t},r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),r.SUCCESS=\"complete\",r.FAILURE=\"err\",r.prototype.error=function(e){return e instanceof Error||(e instanceof Object&&(e=o.inspect(e)),e=new Error(e)),this.reject(e)},r.prototype.resolve=function(e){return e?this.error(e):this.fulfill.apply(this,Array.prototype.slice.call(arguments,1))},r.prototype.addBack=r.prototype.onResolve,r.prototype.complete=i.prototype.fulfill,r.prototype.addCallback=r.prototype.onFulfill,r.prototype.addErrback=r.prototype.onReject,t.exports=r},{mpromise:307,util:void 0}],275:[function(e,t,n){var r=e(\"./promise\"),i={_promise:r};i.get=function(){return i._promise},i.set=function(t){return t===r?i.reset():(i._promise=e(\"./ES6Promise\"),i._promise.use(t),void(e(\"mquery\").Promise=i._promise.ES6))},i.reset=function(){i._promise=r},t.exports=i},{\"./ES6Promise\":248,\"./promise\":274,mquery:312}],276:[function(e,t,n){function r(e,t,n,i){if(this._mongooseOptions||(this._mongooseOptions={}),t)for(var o=Object.keys(t),a=0;a<o.length;++a){var s=o[a];this._mongooseOptions[s]=t[s]}i&&(this.mongooseCollection=i),n&&(this.model=n,this.schema=n.schema),this.model&&this.model._mapreduce&&this.lean(),p.call(this,this.mongooseCollection,t),e&&this.find(e),this.schema&&(this._count=this.model.hooks.createWrapper(\"count\",r.prototype._count,this),this._execUpdate=this.model.hooks.createWrapper(\"update\",r.prototype._execUpdate,this),this._find=this.model.hooks.createWrapper(\"find\",r.prototype._find,this),this._findOne=this.model.hooks.createWrapper(\"findOne\",r.prototype._findOne,this),this._findOneAndRemove=this.model.hooks.createWrapper(\"findOneAndRemove\",r.prototype._findOneAndRemove,this),this._findOneAndUpdate=this.model.hooks.createWrapper(\"findOneAndUpdate\",r.prototype._findOneAndUpdate,this))}function i(e,t,n,r,i,o){function a(e){return e?o(e):void(--c||o(null,s))}for(var s=[],c=t.length,u=c,p=i?{populated:i}:void 0,l=0;u>l;++l)s[l]=v.createModel(e,t[l],n),s[l].init(t[l],p,a)}function o(e,t,n,r,i,o,a){var s=o?{populated:o}:void 0,c=v.createModel(e,t,r);c.init(t,s,function(e){return e?a(e):n?a(null,c,n):void a(null,c)})}function a(e){if(e&&e.model&&e.model.schema){var t=e.model.schema;t&&t.discriminatorMapping&&!t.discriminatorMapping.isRoot&&(e._conditions[t.discriminatorMapping.key]=t.discriminatorMapping.value)}}function s(e){if(!Array.isArray(e.sort)&&m.isObject(e.sort)){var t=[];for(var n in e.sort)m.object.hasOwnProperty(e.sort,n)&&t.push([n,e.sort[n]]);e.sort=t}}function c(e){try{return e.cast(e.model)}catch(t){return t}}function u(e,t){try{return e._castUpdate(e._update,t)}catch(n){return n}}var p=e(\"mquery\"),l=e(\"util\"),f=e(\"./drivers\").ReadPreference,d=e(\"./promise_provider\"),h=e(\"./services/updateValidators\"),m=e(\"./utils\"),v=e(\"./queryhelpers\"),g=e(\"./querystream\"),y=e(\"./error/strict\"),b=e(\"./cast\");r.prototype=new p,r.prototype.constructor=r,r.base=p.prototype,r.use$geoWithin=p.use$geoWithin,r.prototype.toConstructor=function(){var e=function(n,i){return this instanceof e?(this._mongooseOptions=m.clone(t._mongooseOptions),void r.call(this,n,i||null)):new e(n,i)};l.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=m.clone(this._conditions),t._fields=m.clone(this._fields),t._update=m.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t.model=this.model,t.mongooseCollection=this.mongooseCollection,t._mongooseOptions=this._mongooseOptions,e},r.prototype.read=function _(e,t){var _=f.call(f,e,t);return r.base.read.call(this,_)},r.prototype.setOptions=function(e,t){return t?(this._mongooseOptions=e&&m.clone(e)||{},this.options=e||{},\"populate\"in e&&this.populate(this._mongooseOptions),this):e&&\"Object\"===e.constructor.name?r.base.setOptions.call(this,e):this},r.prototype.getQuery=function(){return this._conditions},r.prototype.getUpdate=function(){return this._update},r.prototype._optionsForExec=function(e){var t=r.base._optionsForExec.call(this);return delete t.populate,(e=e||this.model)?(\"safe\"in t||!e.schema.options.safe||(t.safe=e.schema.options.safe),\"readPreference\"in t||!e.schema.options.read||(t.readPreference=e.schema.options.read),t):t},r.prototype.lean=function(e){return this._mongooseOptions.lean=arguments.length?!!e:!0,this},r.prototype._find=function(e){if(this._castError)return e(this._castError),this;this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._fieldsForExec(),n=this._mongooseOptions,o=this,a=function(r,a){if(r)return e(r);if(0===a.length)return e(null,a);if(!n.populate)return n.lean===!0?e(null,a):i(o.model,a,t,o,null,e);var s=v.preparePopulationOptionsMQ(o,n);s.__noPromise=!0,o.model.populate(a,s,function(r,a){return r?e(r):n.lean===!0?e(null,a):i(o.model,a,t,o,s,e)})};return r.base.find.call(this,{},a)},r.prototype.find=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=m.toObject(e),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(n){this._castError=n}return t?(this._find(t),this):r.base.find.call(this)},r.prototype._findOne=function(e){if(this._castError)return e(this._castError);this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._mongooseOptions,n=this._fieldsForExec(),i=this;r.base.findOne.call(i,{},function(r,a){if(r)return e(r);if(!a)return e(null,null);if(!t.populate)return t.lean===!0?e(null,a):o(i.model,a,null,n,i,null,e);var s=v.preparePopulationOptionsMQ(i,t);s.__noPromise=!0,i.model.populate(a,s,function(r,a){return r?e(r):t.lean===!0?e(null,a):o(i.model,a,null,n,i,s,e)})})},r.prototype.findOne=function(e,t,n,i){\"function\"==typeof e?(i=e,e=null,t=null,n=null):\"function\"==typeof t?(i=t,n=null,t=null):\"function\"==typeof n&&(i=n,n=null),e=m.toObject(e),this.op=\"findOne\",n&&this.setOptions(n),t&&this.select(t),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(o){this._castError=o}return i?(this._findOne(i),this):r.base.findOne.call(this)},r.prototype._count=function(e){try{this.cast(this.model)}catch(t){return process.nextTick(function(){e(t)}),this}var n=this._conditions,r=this._optionsForExec();this._collection.count(n,r,m.tick(e))},r.prototype.count=function(e,t){return\"function\"==typeof e&&(t=e,e=void 0),p.canMerge(e)&&this.merge(e),this.op=\"count\",t?(this._count(t),this):this},r.prototype.distinct=function(e,t,n){n||(\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0,t=void 0)),t=m.toObject(t),p.canMerge(t)&&this.merge(t);try{this.cast(this.model)}catch(i){if(!n)throw i;return n(i),this}return r.base.distinct.call(this,{},e,n)},r.prototype.sort=function(e){var t={};if(arguments.length>1)throw new Error(\"sort() only takes 1 Argument\");if(Array.isArray(e))for(var n=0;n<e.length;n++){if(!Array.isArray(e[n]))throw new Error(\"Invalid sort() argument.\");t[e[n][0]]=e[n][1]}else t=e;return r.base.sort.call(this,t)},r.prototype.remove=function(e,t){\"function\"==typeof e&&(t=e,e=null);var n=\"function\"==typeof t;try{this.cast(this.model)}catch(i){return n?process.nextTick(t.bind(null,i)):this}return r.base.remove.call(this,e,t)},r.prototype.findOneAndUpdate=function(e,t,n,r){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(r=n,n={});break;case 2:\"function\"==typeof t&&(r=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(r=e,e=n=t=void 0):(t=e,e=n=void 0)}return p.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),r?this._findOneAndUpdate(r):this},r.prototype._findOneAndUpdate=function(e){return this._findAndModify(\"update\",e),this},r.prototype.findOneAndRemove=function(e,t,n){switch(this.op=\"findOneAndRemove\",this._validate(),arguments.length){case 2:\"function\"==typeof t&&(n=t,t={});break;case 1:\"function\"==typeof e&&(n=e,e=void 0,t=void 0)}return p.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?(this._findOneAndRemove(n),this):this},r.prototype._findOneAndRemove=function(e){r.base.findOneAndRemove.call(this,e)},r.prototype._findAndModify=function(e,t){if(\"function\"!=typeof t)throw new Error(\"Expected callback in _findAndModify\");var n,r,i,a,p,l=this.model,f=l.schema,d=this;if(n=c(this),n instanceof Error)return t(n);if(a=this._optionsForExec(l),\"strict\"in a&&(this._mongooseOptions.strict=a.strict),\"remove\"===e)a.remove=!0;else{if(\"new\"in a||(a[\"new\"]=!1),\"upsert\"in a||(a.upsert=!1),(a.upsert||a[\"new\"])&&(a.remove=!1),r=u(this,a.overwrite)){if(r instanceof Error)return t(r);r.$set&&0===Object.keys(r.$set).length&&delete r.$set}else{if(!a.upsert)return this.findOne(t);var g=m.clone(n);delete g._id,r={$set:g}}p=h(this,f,r,a)}this._applyPaths();var y=this._mongooseOptions;if(this._fields&&(i=m.clone(this._fields),a.fields=this._castFields(i),a.fields instanceof Error))return t(a.fields);a.sort&&s(a);var b=function(e,n,r){if(e)return t(e);if(!n||m.isObject(n)&&0===Object.keys(n).length)return a.passRawResult?t(null,null,r):t(null,null);if(a.passRawResult||(r=null),!y.populate)return y.lean===!0?t(null,n):o(d.model,n,r,i,d,null,t);var s=v.preparePopulationOptionsMQ(d,y);s.__noPromise=!0,d.model.populate(n,s,function(e,n){return e?t(e):y.lean===!0?t(null,n):o(d.model,n,r,i,d,s,t)})};if((a.runValidators||a.setDefaultsOnInsert)&&p){var x=function(e){return e?t(e):void d._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}))};try{p(x)}catch(w){t(w)}}else this._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}));return this},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&m.mergeClone(this._update,e._update):m.mergeClone(this._update,e)},r.prototype._execUpdate=function(e){var t,n,i=this.model.schema,o=this._conditions,a=this._update,s=this.options;if(this._castError)return e(this._castError),this;if(this.options.runValidators||this.options.setDefaultsOnInsert){n=this,t=h(this,i,a,s);var c=function(t){return t?e(t):void r.base.update.call(n,o,a,s,e)};try{t(c)}catch(u){process.nextTick(function(){e(u)})}return this}return r.base.update.call(this,o,a,s,e),this},r.prototype.update=function(e,t,n,i){\"function\"==typeof n?(i=n,n=null):\"function\"==typeof t?(i=t,t=e,e={},n=null):\"function\"==typeof e?(i=e,e=void 0,t=void 0,n=void 0):\"object\"!=typeof e||t||n||i||(t=e,e=void 0,n=void 0,i=void 0),e=m.toObject(e);var o=i;if(o){if(\"function\"!=typeof o)throw new Error(\"Invalid callback() argument.\");i=function(e,t){o(e,t?t.result:{ok:0,n:0,nModified:0})}}n&&\"strict\"in n&&(this._mongooseOptions.strict=n.strict),!t&&this._update&&(t=this._updateForExec()),p.canMerge(e)&&this.merge(e);var a=c(this);if(a instanceof Error){if(this._castError=a,i)return i(a),this;if(!n||!n.dontThrowCastError)throw a}var s;try{var u={retainKeyOrder:!0};n&&n.minimize&&(u.minimize=!0),s=this._castUpdate(m.clone(t,u),n&&n.overwrite)}catch(l){if(this._castError=a,i)return i(l),this;if(!n||!n.dontThrowCastError)throw l}return s?(m.isObject(n)&&this.setOptions(n),this._update||(this._update=s),i?this._execUpdate(i):r.base.update.call(this,a,s,n,i)):(this.op=\"update\",i&&i(null),this)},r.prototype.exec=function(e,t){var n=d.get(),r=this;return\"function\"==typeof e?(t=e,e=null):\"string\"==typeof e&&(this.op=e),new n.ES6(function(e,n){return r.op?void r[r.op].call(r,function(r,i){return r?(t&&t(r),void n(r)):(t&&t.apply(null,arguments),void e(i))}):(t&&t(null,void 0),void e())})},r.prototype.then=function(e,t){return this.exec().then(e,t)},r.prototype._getSchema=function(e){return this.model._getSchema(e)};var x={$push:1,$pushAll:1,$addToSet:1,$set:1},w={$pop:1,$unset:1,$inc:1};r.prototype._castUpdate=function(e,t){if(e){for(var n,r,i=Object.keys(e),o=i.length,a={},s=!1;o--;){var c=i[o];\"$\"===c[0]||t?\"$set\"===c?a.$set||(a[c]=e[c]):a[c]=e[c]:(a.$set||(e.$set?a.$set=e.$set:a.$set={}),a.$set[c]=e[c],i.splice(o,1),~i.indexOf(\"$set\")||i.push(\"$set\"))}for(o=i.length,t&&(n=!0);o--;)if(c=i[o],r=a[c],s=s||\"$\"===c.charAt(0),!r||\"Object\"!==r.constructor.name||t&&!s){if(!t||\"Object\"!==a.constructor.name){var u=\"Invalid atomic update value for \"+c+\". Expected an object, received \"+typeof r;throw new Error(u)}this._walkUpdatePath(a,\"$set\")}else n|=this._walkUpdatePath(r,c);return n&&a}},r.prototype._walkUpdatePath=function(e,t,n){for(var r,i,o,a=n?n+\".\":\"\",s=Object.keys(e),c=s.length,u=!1,p=this.schema.options.useNestedStrict;c--;)if(i=s[c],o=e[i],o&&\"Object\"===o.constructor.name)if(r=this._getSchema(a+i),r&&r.caster&&t in x)u=!0,\"$each\"in o?(e[i]={$each:this._castUpdateVal(r,o.$each,t)},null!=o.$slice&&(e[i].$slice=0|o.$slice),o.$sort&&(e[i].$sort=o.$sort),(o.$position||0===o.$position)&&(e[i].$position=o.$position)):e[i]=this._castUpdateVal(r,o,t);else if(\"$currentDate\"===t)e[i]=this._castUpdateVal(r,o,t),u=!0;else if(\"$set\"===t&&r)e[i]=this._castUpdateVal(r,o,t),u=!0;else{var l=a+i,f=this.model.schema._getPathType(l),d=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&f.schema||this.schema).options.strict;if(\"undefined\"===f.pathType){if(\"throw\"===d)throw new y(l);if(d){delete e[i];continue}}u|=this._walkUpdatePath(o,t,a+i)||m.isObject(o)&&0===Object.keys(o).length}else{var h=\"$each\"===i||\"$or\"===i||\"$and\"===i?n:a+i;r=this._getSchema(h);var v=this.model.schema._getPathType(h),g=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&v.schema||this.schema).options.strict,b=g&&!r&&!/real|nested/.test(v.pathType);if(b){if(\"throw\"===g)throw new y(a+i);delete e[i]}else{if(\"$rename\"===t){u=!0;continue}u=!0,e[i]=this._castUpdateVal(r,o,t,i)}}return u},r.prototype._castUpdateVal=function(e,t,n,r){if(!e)return n in w?Number(t):t;var i=e.caster&&n in x&&(m.isObject(t)||Array.isArray(t));if(i){var o=e.cast(t);t=Array.isArray(t)?o:e.caster.$isSingleNested?o:o[0]}return n in w?Number(t):\"$currentDate\"===n?\"object\"==typeof t?{$type:t.$type}:Boolean(t):/^\\$/.test(r)?e.castForQuery(r,t):e.castForQuery(t)},r.prototype.populate=function(){var e=m.populate.apply(null,arguments),t=this._mongooseOptions;m.isObject(t.populate)||(t.populate={});for(var n=t.populate,r=0;r<e.length;++r){var i=e[r].path;n[i]&&n[i].populate&&e[r].populate&&(e[r].populate=n[i].populate.concat(e[r].populate)),n[e[r].path]=e[r]}return this},r.prototype.cast=function(e,t){return t||(t=this._conditions),b(e.schema,t)},r.prototype._castFields=function(e){var t,n,r,i,o,a;if(e)for(r=Object.keys(e),n=[],a=r.length;a--;)i=r[a],e[i].$elemMatch&&(t||(t={}),t[i]=e[i],n.push(i));if(t){try{o=this.cast(this.model,t)}catch(s){return s}for(a=n.length;a--;)i=n[a],e[i]=o[i]}return e},r.prototype._applyPaths=function(){var e,t,n,r=this._fields;if(r)for(t=Object.keys(r),n=t.length;n--;)if(\"+\"!==t[n][0]){e=0===r[t[n]];break}var i=[],o=[],a=[],s=function(n,a){if(\"boolean\"==typeof a.selected){var s=\"+\"+n;if(r&&s in r)return delete r[s],void(e===!1&&t.length>1&&!~t.indexOf(n)&&(r[n]=1));var c=n.split(\".\")[0];~o.indexOf(c)||(a.selected?i:o).push(n)}},c=function(e,t){t||(t=\"\"),~a.indexOf(e)||(a.push(e),e.eachPath(function(e,n){t&&(e=t+\".\"+e),s(e,n),n.schema&&c(n.schema,e)}))};switch(c(this.model.schema),e){case!0:o.length&&this.select(\"-\"+o.join(\" -\"));break;case!1:this.model.schema&&this.model.schema.paths._id&&this.model.schema.paths._id.options&&this.model.schema.paths._id.options.select===!1&&i.push(\"-_id\"),i.length&&this.select(i.join(\" \"));break;case void 0:o.length&&this.select(\"-\"+o.join(\" -\"))}a=o=i=t=r=null},r.prototype.stream=function(e){return this._applyPaths(),this._fields=this._castFields(this._fields),new g(this,e)},r.prototype.maxscan=r.base.maxScan,r.prototype.tailable=function(e,t){if(e&&\"Object\"===e.constructor.name&&(t=e,e=!0),void 0===e&&(e=!0),t&&\"object\"==typeof t)for(var n in t)\"awaitdata\"===n?this.options[n]=!!t[n]:this.options[n]=t[n];return r.base.tailable.call(this,e)},r.prototype.near=function(){var e=[],t=this._mongooseOptions.nearSphere;if(1===arguments.length)if(Array.isArray(arguments[0]))e.push({center:arguments[0],spherical:t});else if(\"string\"==typeof arguments[0])e.push(arguments[0]);else{if(!m.isObject(arguments[0]))throw new TypeError(\"invalid argument\");\"boolean\"!=typeof arguments[0].spherical&&(arguments[0].spherical=t),e.push(arguments[0])}else if(2===arguments.length)if(\"number\"==typeof arguments[0]&&\"number\"==typeof arguments[1])e.push({center:[arguments[0],arguments[1]],spherical:t});else if(\"string\"==typeof arguments[0]&&Array.isArray(arguments[1]))e.push(arguments[0]),e.push({center:arguments[1],spherical:t});else{if(\"string\"!=typeof arguments[0]||!m.isObject(arguments[1]))throw new TypeError(\"invalid argument\");e.push(arguments[0]),\"boolean\"!=typeof arguments[1].spherical&&(arguments[1].spherical=t),e.push(arguments[1])}else{if(3!==arguments.length)throw new TypeError(\"invalid argument\");if(\"string\"!=typeof arguments[0]||\"number\"!=typeof arguments[1]||\"number\"!=typeof arguments[2])throw new TypeError(\"invalid argument\");e.push(arguments[0]),e.push({center:[arguments[1],arguments[2]],spherical:t})}return r.base.near.apply(this,e)},r.prototype.nearSphere=function(){return this._mongooseOptions.nearSphere=!0,this.near.apply(this,arguments),this},r.prototype.box=function(e,t){return!Array.isArray(e)&&m.isObject(e)&&(t=e.ur,e=e.ll),r.base.box.call(this,e,t)},r.prototype.center=r.base.circle,r.prototype.centerSphere=function(){arguments[0]&&\"Object\"===arguments[0].constructor.name&&(arguments[0].spherical=!0),arguments[1]&&\"Object\"===arguments[1].constructor.name&&(arguments[1].spherical=!0),r.base.circle.apply(this,arguments)},t.exports=r},{\"./cast\":251,\"./drivers\":259,\"./error/strict\":267,\"./promise_provider\":275,\"./queryhelpers\":277,\"./querystream\":278,\"./services/updateValidators\":293,\"./utils\":302,mquery:312,util:void 0}],277:[function(e,t,n){function r(e){e.options||(e.options={}),e.options.lean=!0}var i=e(\"./utils\");n.preparePopulationOptions=function(e,t){var n=i.object.vals(e.options.populate);return t.lean&&n.forEach(r),n},n.preparePopulationOptionsMQ=function(e,t){var n=i.object.vals(e._mongooseOptions.populate);return t.lean&&n.forEach(r),n},n.createModel=function(e,t,n){var r=e.schema?e.schema.discriminatorMapping:null,i=r&&r.isRoot?r.key:null;return i&&t[i]&&e.discriminators&&e.discriminators[t[i]]?new e.discriminators[t[i]](void 0,n,!0):new e(void 0,n,!0)}},{\"./utils\":302}],278:[function(e,t,n){function r(e,t){a.call(this),this.query=e,this.readable=!0,this.paused=!1,this._cursor=null,this._destroyed=null,this._fields=null,this._buffer=null,this._inline=p,this._running=!1,this._transform=t&&\"function\"==typeof t.transform?t.transform:u;var n=this;process.nextTick(function(){n._init()})}function i(e,t,n){var r=c.createModel(e.query.model,n,e._fields),i=t?{populated:t}:void 0;r.init(n,i,function(t){return t?e.destroy(t):void o(e,r)})}function o(e,t){e.emit(\"data\",e._transform(t)),l===e._inline?e._next():e._inline=f}var a=e(\"stream\").Stream,s=e(\"./utils\"),c=e(\"./queryhelpers\"),u=function(e){return e};r.prototype.__proto__=a.prototype,r.prototype.readable,r.prototype.paused;var p=0,l=1,f=2;r.prototype._init=function(){if(!this._destroyed){var e=this.query,t=e.model,n=e._optionsForExec(t),r=this;try{e.cast(t)}catch(i){return r.destroy(i)}r._fields=s.clone(e._fields),n.fields=e._castFields(r._fields),t.collection.find(e._conditions,n,function(e,t){return e?r.destroy(e):(r._cursor=t,void r._next())})}},r.prototype._next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;if(this._running=!0,this._buffer&&this._buffer.length)for(var e;!this.paused&&!this._destroyed&&(e=this._buffer.shift());)this._onNextObject.apply(this,e);for(;this.__next(););},r.prototype.__next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;var e=this;return e._inline=p,e._cursor.nextObject(function(t,n){e._onNextObject(t,n)}),f===this._inline?!0:void(this._inline=l)},r.prototype._onNextObject=function(e,t){if(!this._destroyed){if(this.paused)return this._buffer||(this._buffer=[]),this._buffer.push([e,t]),this._running=!1,this._running;if(e)return this.destroy(e);if(!t)return this.emit(\"end\"),this.destroy();var n=this.query._mongooseOptions;if(!n.populate)return n.lean===!0?o(this,t):i(this,null,t);var r=this,a=c.preparePopulationOptionsMQ(r.query,r.query._mongooseOptions);a.forEach(function(e){delete e.model}),a.__noPromise=!0,r.query.model.populate(t,a,function(e,t){return e?r.destroy(e):n.lean===!0?o(r,t):i(r,a,t)})}},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){return this.paused=!1,this._cursor&&p!==this._inline?this._running?void 0:this._next():void 0},r.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,this._running=!1,this.readable=!1,this._cursor&&this._cursor.close(),e&&this.emit(\"error\",e),this.emit(\"close\"))},t.exports=n=r},{\"./queryhelpers\":277,\"./utils\":302,stream:void 0}],279:[function(e,t,n){(function(r){function i(e,t){if(!(this instanceof i))return new i(e,t);this.paths={},this.subpaths={},this.virtuals={},this.singleNestedPaths={},this.nested={},this.inherits={},this.callQueue=[],this._indexes=[],this.methods={},this.statics={},this.tree={},this._requiredpaths=void 0,this.discriminatorMapping=void 0,this._indexedpaths=void 0,this.s={hooks:new d,queryHooks:m},this.options=this.defaultOptions(t),e&&this.add(e);var n=e&&e._id&&f.isObject(e._id),r=!this.paths._id&&!this.options.noId&&this.options._id&&!n;r&&(e={_id:{auto:!0}},e._id[this.options.typeKey]=i.ObjectId,this.add(e));var a=!this.paths.id&&!this.options.noVirtualId&&this.options.id;a&&this.virtual(\"id\").get(o);for(var s=0;s<this._defaultMiddleware.length;++s){var c=this._defaultMiddleware[s];this[c.kind](c.hook,!!c.isAsync,c.fn)}this.options.timestamps&&this.setupTimestamp(this.options.timestamps)}function o(){return this.$__._id?this.$__._id:(this.$__._id=null==this._id?null:String(this._id),this.$__._id)}function a(e,t){var n=t.split(/\\.(\\d+)\\.|\\.(\\d+)$/).filter(Boolean);if(n.length<2)return e.paths[n[0]];var r=e.path(n[0]),i=!1;if(!r)return r;for(var o,a=n.length-1,s=1;s<n.length;++s){if(i=!1,o=n[s],s===a&&r&&!r.schema&&!/\\D/.test(o)){r=r instanceof c.Array?r.caster:void 0;break}if(/\\D/.test(o)){if(!r||!r.schema){r=void 0;break}var u=r.schema.pathType(o);i=\"nested\"===u,r=r.schema.path(o)}}return e.subpaths[t]=r,r?\"real\":i?\"nested\":\"adhocOrUndefined\"}function s(e,t){return a(e,t),e.subpaths[t]}var c,u=e(\"./drivers\").ReadPreference,p=e(\"events\").EventEmitter,l=e(\"./virtualtype\"),f=e(\"./utils\"),d=e(\"kareem\"),h=e(\"async\"),m={count:!0,find:!0,findOne:!0,findOneAndUpdate:!0,findOneAndRemove:!0,update:!0};i.prototype=Object.create(p.prototype),i.prototype.constructor=i,i.prototype.instanceOfSchema=!0,Object.defineProperty(i.prototype,\"_defaultMiddleware\",{configurable:!1,enumerable:!1,writable:!1,value:[{kind:\"pre\",hook:\"save\",fn:function(e,t){if(this.ownerDocument)return e();var n,r=t&&\"object\"==typeof t&&\"validateBeforeSave\"in t;n=r?!!t.validateBeforeSave:this.schema.options.validateBeforeSave,n?this.$__original_validate?this.$__original_validate({__noPromise:!0},function(t){e(t)}):this.validate({__noPromise:!0},function(t){e(t)}):e()}},{kind:\"pre\",hook:\"save\",isAsync:!0,fn:function(e,t){var n=this.$__getAllSubdocs();return!n.length||this.$__preSavingFromParent?(t(),void e()):void h.each(n,function(e,t){e.$__preSavingFromParent=!0,e.save(function(e){t(e)})},function(r){for(var i=0;i<n.length;++i)delete n[i].$__preSavingFromParent;return r?void t(r):(e(),void t())})}}]}),i.prototype.paths,i.prototype.tree,i.prototype.defaultOptions=function(e){return e&&e.safe===!1&&(e.safe={w:0}),e&&e.safe&&0===e.safe.w&&(e.versionKey=!1),e=f.options({strict:!0,bufferCommands:!0,capped:!1,versionKey:\"__v\",discriminatorKey:\"__t\",minimize:!0,autoIndex:null,shardKey:null,read:null,validateBeforeSave:!0,noId:!1,_id:!0,noVirtualId:!1,id:!0,typeKey:\"type\"},e),e.read&&(e.read=u(e.read)),e},i.prototype.add=function(e,t){t=t||\"\";for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];if(null==e[i])throw new TypeError(\"Invalid value for schema path `\"+t+i+\"`\");if(Array.isArray(e[i])&&1===e[i].length&&null==e[i][0])throw new TypeError(\"Invalid value for schema Array path `\"+t+i+\"`\");!f.isObject(e[i])||e[i].constructor&&\"Object\"!==f.getFunctionName(e[i].constructor)||e[i][this.options.typeKey]&&(\"type\"!==this.options.typeKey||!e[i].type.type)?this.path(t+i,e[i]):Object.keys(e[i]).length?(this.nested[t+i]=!0,this.add(e[i],t+i+\".\")):this.path(t+i,e[i])}},i.reserved=Object.create(null);var v=i.reserved;v.emit=v.on=v.once=v.listeners=v.removeListener=v.collection=v.db=v.errors=v.init=v.isModified=v.isNew=v.get=v.modelName=v.save=v.schema=v.set=v.toObject=v.validate=v._pres=v._posts=1;var g={};g.increment=\"`increment` should not be used as a schema path name unless you have disabled versioning.\",i.prototype.path=function(e,t){if(void 0===t)return this.paths[e]?this.paths[e]:this.subpaths[e]?this.subpaths[e]:this.singleNestedPaths[e]?this.singleNestedPaths[e]:/\\.\\d+\\.?.*$/.test(e)?s(this,e):void 0;if(v[e])throw new Error(\"`\"+e+\"` may not be used as a schema pathname\");g[e]&&console.log(\"WARN: \"+g[e]);var n=e.split(/\\./),r=n.pop(),o=this.tree;if(n.forEach(function(t,r){if(o[t]||(o[t]={}),\"object\"!=typeof o[t]){var i=\"Cannot set nested path `\"+e+\"`. Parent path `\"+n.slice(0,r).concat([t]).join(\".\")+\"` already set to type \"+o[t].name+\".\";throw new Error(i)}o=o[t]}),o[r]=f.clone(t),this.paths[e]=i.interpretAsType(e,t,this.options),this.paths[e].$isSingleNested){for(var a in this.paths[e].schema.paths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.paths[a];for(a in this.paths[e].schema.singleNestedPaths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.singleNestedPaths[a]}return this},i.interpretAsType=function(e,t,n){if(t.constructor){var o=f.getFunctionName(t.constructor);if(\"Object\"!==o){var a=t;t={},t[n.typeKey]=a}}var s=!t[n.typeKey]||\"type\"===n.typeKey&&t.type.type?{}:t[n.typeKey];if(\"Object\"===f.getFunctionName(s.constructor)||\"mixed\"===s)return new c.Mixed(e,t);if(Array.isArray(s)||Array===s||\"array\"===s){var u=Array===s||\"array\"===s?t.cast:s[0];if(u&&u.instanceOfSchema)return new c.DocumentArray(e,u,t);if(\"string\"==typeof u)u=c[u.charAt(0).toUpperCase()+u.substring(1)];else if(u&&(!u[n.typeKey]||\"type\"===n.typeKey&&u.type.type)&&\"Object\"===f.getFunctionName(u.constructor)&&Object.keys(u).length){var p={minimize:n.minimize};n.typeKey&&(p.typeKey=n.typeKey);var l=new i(u,p);return new c.DocumentArray(e,l,t)}return new c.Array(e,u||c.Mixed,t)}if(s&&s.instanceOfSchema)return new c.Embedded(s,e,t);var d;if(d=r.isBuffer(s)?\"Buffer\":\"string\"==typeof s?s:s.schemaName||f.getFunctionName(s),d&&(d=d.charAt(0).toUpperCase()+d.substring(1)),void 0==c[d])throw new TypeError(\"Undefined type `\"+d+\"` at `\"+e+\"`\\n  Did you try nesting Schemas? You can only nest using refs or arrays.\");return new c[d](e,t)},i.prototype.eachPath=function(e){for(var t=Object.keys(this.paths),n=t.length,r=0;n>r;++r)e(t[r],this.paths[t[r]]);return this},i.prototype.requiredPaths=function(e){if(this._requiredpaths&&!e)return this._requiredpaths;for(var t=Object.keys(this.paths),n=t.length,r=[];n--;){var i=t[n];this.paths[i].isRequired&&r.push(i)}return this._requiredpaths=r,this._requiredpaths},i.prototype.indexedPaths=function(){return this._indexedpaths?this._indexedpaths:(this._indexedpaths=this.indexes(),this._indexedpaths)},i.prototype.pathType=function(e){return e in this.paths?\"real\":e in this.virtuals?\"virtual\":e in this.nested?\"nested\":e in this.subpaths?\"real\":e in this.singleNestedPaths?\"real\":/\\.\\d+\\.|\\.\\d+$/.test(e)?a(this,e):\"adhocOrUndefined\"},i.prototype.hasMixedParent=function(e){var t=e.split(/\\./g);e=\"\";for(var n=0;n<t.length;++n)if(e=n>0?e+\".\"+t[n]:t[n],e in this.paths&&this.paths[e]instanceof c.Mixed)return!0;return!1},i.prototype.setupTimestamp=function(e){if(e){var t=e.createdAt||\"createdAt\",n=e.updatedAt||\"updatedAt\",r={};r[n]=Date,this.paths[t]||(r[t]=Date),\nthis.add(r),this.pre(\"save\",function(e){var r=new Date,i=this._id&&this._id.auto;this[t]||(this[t]=i?this._id.getTimestamp():r),(this.isNew||this.isModified())&&(this[n]=this.isNew?this[t]:r),e()});var i=function(){var e=new Date,r={$set:{},$setOnInsert:{}};return r.$set[n]=e,r.$setOnInsert[t]=e,r};this.pre(\"findOneAndUpdate\",function(e){this.findOneAndUpdate({},i()),e()}),this.pre(\"update\",function(e){this.update({},i()),e()})}},i.prototype.queue=function(e,t){return this.callQueue.push([e,t]),this},i.prototype.pre=function(){var e=arguments[0];return m[e]?(this.s.hooks.pre.apply(this.s.hooks,arguments),this):this.queue(\"pre\",arguments)},i.prototype.post=function(e,t){return m[e]?(this.s.hooks.post.apply(this.s.hooks,arguments),this):t.length<2?this.queue(\"on\",[arguments[0],function(e){return t.call(e,e)}]):this.queue(\"post\",[arguments[0],function(e){var n=this,r=Array.prototype.slice.call(arguments,1);t.call(this,this,function(t){return e.apply(n,[t].concat(r))})}])},i.prototype.plugin=function(e,t){return e(this,t),this},i.prototype.method=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.methods[n]=e[n];else this.methods[e]=t;return this},i.prototype[\"static\"]=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.statics[n]=e[n];else this.statics[e]=t;return this},i.prototype.index=function(e,t){return t||(t={}),t.expires&&f.expires(t),this._indexes.push([e,t]),this},i.prototype.set=function(e,t,n){if(1===arguments.length)return this.options[e];switch(e){case\"read\":this.options[e]=u(t,n);break;case\"safe\":this.options[e]=t===!1?{w:0}:t;break;case\"timestamps\":this.setupTimestamp(t),this.options[e]=t;break;default:this.options[e]=t}return this},i.prototype.get=function(e){return this.options[e]};var y=\"2d 2dsphere hashed text\".split(\" \");Object.defineProperty(i,\"indexTypes\",{get:function(){return y},set:function(){throw new Error(\"Cannot overwrite Schema.indexTypes\")}}),i.prototype.indexes=function(){\"use strict\";function e(e,n){var r,i,o,a,s,c,u=e._indexes,p=u.length,l=0;for(l=0;p>l;++l){for(r=u[l][0],a=Object.keys(r),o=a.length,i={},c=0;o>c;++c)s=a[c],i[n+s]=r[s];t.push([i,u[l][1]])}}var t=[],n={},r=function(o,a){if(!n[a]){n[a]=!0,a=a||\"\";for(var s,u,p,l,d,h,m,v=Object.keys(o.paths),g=0;g<v.length;++g)s=v[g],u=o.paths[s],u instanceof c.DocumentArray||u.$isSingleNested?r(u.schema,s+\".\"):(p=u._index,p!==!1&&null!==p&&void 0!==p&&(l={},d=f.isObject(p),h=d?p:{},m=\"string\"==typeof p?p:d?p.type:!1,m&&~i.indexTypes.indexOf(m)?l[a+s]=m:h.text?(l[a+s]=\"text\",delete h.text):l[a+s]=1,delete h.type,\"background\"in h||(h.background=!0),t.push([l,h])));a?e(o,a):(o._indexes.forEach(function(e){\"background\"in e[1]||(e[1].background=!0)}),t=t.concat(o._indexes))}};return r(this),t},i.prototype.virtual=function(e,t){var n=this.virtuals,r=e.split(\".\");return n[e]=r.reduce(function(n,i,o){return n[i]||(n[i]=o===r.length-1?new l(t,e):{}),n[i]},this.tree),n[e]},i.prototype.virtualpath=function(e){return this.virtuals[e]},i.prototype.remove=function(e){\"string\"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach(function(e){if(this.path(e)){delete this.paths[e];for(var t=e.split(\".\"),n=t.pop(),r=this.tree,i=0;i<t.length;++i)r=r[t[i]];delete r[n]}},this)},i.prototype._getSchema=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;)if(i=e.slice(0,o).join(\".\"),r=n.path(i)){if(r.caster){if(r.caster instanceof c.Mixed)return r.caster;if(o!==e.length&&r.schema)return\"$\"===e[o]?t(e.slice(o+1),r.schema):t(e.slice(o),r.schema)}return r}}var n=this,r=n.path(e);return r?r:t(e.split(\".\"),n)},i.prototype._getPathType=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;){if(i=e.slice(0,o).join(\".\"),r=n.path(i))return r.caster?r.caster instanceof c.Mixed?{schema:r,pathType:\"mixed\"}:o!==e.length&&r.schema?\"$\"===e[o]?o===e.length-1?{schema:r,pathType:\"nested\"}:t(e.slice(o+1),r.schema):t(e.slice(o),r.schema):{schema:r,pathType:r.$isSingleNested?\"nested\":\"array\"}:{schema:r,pathType:\"real\"};if(o===e.length&&n.nested[i])return{schema:n,pathType:\"nested\"}}return{schema:r||n,pathType:\"undefined\"}}var n=this,r=n.path(e);return r?\"real\":t(e.split(\".\"),n)},t.exports=n=i,i.Types=c=e(\"./schema/index\"),n.ObjectId=c.ObjectId}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./drivers\":259,\"./schema/index\":286,\"./utils\":302,\"./virtualtype\":303,async:11,events:void 0,kareem:176}],280:[function(e,t,n){function r(e,t,n){if(t){var r={};\"Object\"===b.getFunctionName(t.constructor)&&(t.type?(r=b.clone(t),delete r.type,t=t.type):t=g);var i=\"string\"==typeof t?t:b.getFunctionName(t),o=i in h?h[i]:t;this.casterConstructor=o,this.caster=new o(null,r),this.caster instanceof v||(this.caster.path=e)}f.call(this,e,n,\"Array\");var a,s,c=this;this.defaultValue&&(a=this.defaultValue,s=\"function\"==typeof a),this[\"default\"](function(){var e=s?a():a||[];return new m(e,c.path,this)})}function i(e){return h.Number.prototype.cast.call(this,e)}function o(e,t){e.forEach(function(n,r){Array.isArray(n)?o(n,t):e[r]=i.call(t,n)})}function a(e){return Array.isArray(e)?(o(e,this),e):e&&e.$geometry?s(e,this):r.prototype.castForQuery.call(this,e)}function s(e,t){switch(e.$geometry.type){case\"Polygon\":case\"LineString\":case\"Point\":o(e.$geometry.coordinates,t)}return e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e}function c(e){var t=this;if(e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e.$box||e.$polygon){var n=e.$box?\"$box\":\"$polygon\";e[n].forEach(function(e){if(!Array.isArray(e)){var t=\"Invalid $within $box argument. Expected an array, received \"+e;throw new TypeError(t)}e.forEach(function(t,n){e[n]=i.call(this,t)})})}else e.$center||e.$centerSphere?(n=e.$center?\"$center\":\"$centerSphere\",e[n].forEach(function(t,r){Array.isArray(t)?t.forEach(function(e,n){t[n]=i.call(this,e)}):e[n][r]=i.call(this,t)})):e.$geometry&&s(e,this);return e}function u(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){if(b.isObject(e)){var t={};return t[this.path]=e,y(this.casterConstructor.schema,t)[this.path]}return e},this),this.castForQuery(e)}function p(e){for(var t,n,r=Object.keys(e),i=r.length,o=0;i>o;++o)t=r[o],n=e[t],0===t.indexOf(\"$\")&&n&&(e[t]=this.castForQuery(t,n));return y(this.casterConstructor.schema,e)}function l(e){var t=e.$geometry;if(t)return s(e,this),e}var f=e(\"../schematype\"),d=f.CastError,h={Boolean:e(\"./boolean\"),Date:e(\"./date\"),Number:e(\"./number\"),String:e(\"./string\"),ObjectId:e(\"./objectid\"),Buffer:e(\"./buffer\")},m=e(\"../types\").Array,v=e(\"../types\").Embedded,g=e(\"./mixed\"),y=e(\"../cast\"),b=e(\"../utils\"),x=b.isMongooseObject;r.schemaName=\"Array\",r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return!(!e||!e.length)},r.prototype.applyGetters=function(e,t){return this.caster.options&&this.caster.options.ref?e:f.prototype.applyGetters.call(this,e,t)},r.prototype.cast=function(e,t,n){if(Array.isArray(e)){if(!e.length&&t)for(var r=t.schema.indexedPaths(),i=0,o=r.length;o>i;++i){var a=r[i][0][this.path];if(\"2dsphere\"===a||\"2d\"===a)return}if(e&&e.isMongooseArray||(e=new m(e,this.path,t)),this.caster)try{for(i=0,o=e.length;o>i;i++)e[i]=this.caster.cast(e[i],t,n)}catch(s){throw new d(s.type,e,this.path,s)}return e}return t&&n&&t.markModified(this.path),this.cast([e],t,n)},r.prototype.castForQuery=function(e,t){var n,r;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Array.\");r=n.call(this,t)}else{r=e;var i=this.casterConstructor.prototype,o=i.castForQuery||i.cast,a=this.caster;Array.isArray(r)?r=r.map(function(e){return b.isObject(e)&&e.$elemMatch?e:(o&&(e=o.call(a,e)),x(e)?e.toObject({virtuals:!1}):e)}):o&&(r=o.call(a,r))}return r&&x(r)?r.toObject({virtuals:!1}):r};var w=r.prototype.$conditionalHandlers={};w.$all=u,w.$options=String,w.$elemMatch=p,w.$geoIntersects=l,w.$or=w.$and=function(e){if(!Array.isArray(e))throw new TypeError(\"conditional $or/$and require array\");for(var t=[],n=0;n<e.length;++n)t.push(y(this.casterConstructor.schema,e[n]));return t},w.$near=w.$nearSphere=a,w.$within=w.$geoWithin=c,w.$size=w.$maxDistance=i,w.$eq=w.$gt=w.$gte=w.$in=w.$lt=w.$lte=w.$ne=w.$nin=w.$regex=r.prototype.castForQuery,t.exports=r},{\"../cast\":251,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],281:[function(e,t,n){function r(e,t){o.call(this,e,t,\"Boolean\")}var i=e(\"../utils\"),o=e(\"../schematype\");r.schemaName=\"Boolean\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return e===!0||e===!1},r.prototype.cast=function(e){return null===e?e:\"0\"===e?!1:\"true\"===e?!0:\"false\"===e?!1:!!e},r.$conditionalHandlers=i.options(o.prototype.$conditionalHandlers,{}),r.prototype.castForQuery=function(e,t){var n;return 2===arguments.length?(n=r.$conditionalHandlers[e],n?n.call(this,t):this.cast(t)):this.cast(e)},t.exports=r},{\"../schematype\":292,\"../utils\":302}],282:[function(e,t,n){(function(n){function r(e,t){u.call(this,e,t,\"Buffer\")}function i(e){return this.castForQuery(e)}var o,a=e(\"./operators/bitwise\"),s=e(\"../utils\"),c=e(\"../types\").Buffer,u=e(\"../schematype\"),p=c.Binary,l=u.CastError;r.schemaName=\"Buffer\",r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return u._isRef(this,e,t,!0)?!!e:!(!e||!e.length)},r.prototype.cast=function(t,r,i){var a;if(u._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(o||(o=e(\"./../document\")),t instanceof o)return t.$__.wasPopulated=!0,t;if(n.isBuffer(t))return t;if(!s.isObject(t))throw new l(\"buffer\",t,this.path);var f=r.$__fullPath(this.path),d=r.ownerDocument?r.ownerDocument():r,h=d.populated(f,!0);return a=new h.options.model(t),a.$__.wasPopulated=!0,a}if(t&&t._id&&(t=t._id),t&&t.isMongooseBuffer)return t;if(n.isBuffer(t))return t&&t.isMongooseBuffer||(t=new c(t,[this.path,r])),t;if(t instanceof p){if(a=new c(t.value(!0),[this.path,r]),\"number\"!=typeof t.sub_type)throw new l(\"buffer\",t,this.path);return a._subtype=t.sub_type,a}if(null===t)return t;var m=typeof t;if(\"string\"===m||\"number\"===m||Array.isArray(t))return\"number\"===m&&(t=[t]),a=new c(t,[this.path,r]);throw new l(\"buffer\",t,this.path)},r.prototype.$conditionalHandlers=s.options(u.prototype.$conditionalHandlers,{$bitsAllClear:a,$bitsAnyClear:a,$bitsAllSet:a,$bitsAnySet:a,$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Buffer.\");return n.call(this,t)}return t=e,this.cast(t).toObject()},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],283:[function(e,t,n){function r(e,t){s.call(this,e,t,\"Date\")}function i(e){return this.cast(e)}var o=e(\"../error\").messages,a=e(\"../utils\"),s=e(\"../schematype\"),c=s.CastError;r.schemaName=\"Date\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.expires=function(e){return this._index&&\"Object\"===this._index.constructor.name||(this._index={}),this._index.expires=e,a.expires(this._index),this},r.prototype.checkRequired=function(e){return e instanceof Date},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),e){var n=t||o.Date.min;n=n.replace(/{MIN}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.minValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()>=n.valueOf()},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),e){var n=t||o.Date.max;n=n.replace(/{MAX}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.maxValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()<=n.valueOf()},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(e){if(null===e||void 0===e||\"\"===e)return null;if(e instanceof Date)return e;var t;if(\"boolean\"==typeof e)throw new c(\"date\",e,this.path);if(e instanceof Number||\"number\"==typeof e||String(e)==Number(e)?t=new Date(Number(e)):e.valueOf&&(t=new Date(e.valueOf())),!isNaN(t.valueOf()))return t;throw new c(\"date\",e,this.path)},r.prototype.$conditionalHandlers=a.options(s.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2!==arguments.length)return this.cast(e);if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Date.\");return n.call(this,t)},t.exports=r},{\"../error\":260,\"../schematype\":292,\"../utils\":302}],284:[function(e,t,n){function r(e,t,n){function r(){u.apply(this,arguments)}r.prototype=Object.create(u.prototype),r.prototype.$__setSchema(t),r.schema=t;for(var i in t.methods)r.prototype[i]=t.methods[i];for(i in t.statics)r[i]=t.statics[i];r.options=n,o.call(this,e,r,n),this.schema=t;var a=this.path,c=this.defaultValue;this[\"default\"](function(){var e=c.call(this);return Array.isArray(e)||(e=[e]),new s(e,a,this)})}function i(e,t,n){if(n&&t){for(var r,i,o=e.path+\".\",a=Object.keys(t),s=a.length,c={};s--;)i=a[s],0===i.indexOf(o)&&(r||(r=!0),c[i.substring(o.length)]=t[i]);return r&&c||void 0}}var o=e(\"./array\"),a=e(\"../error/cast\"),s=e(\"../types/documentarray\"),c=e(\"../schematype\"),u=e(\"../types/embedded\");r.schemaName=\"DocumentArray\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.doValidate=function(e,t,n,r){c.prototype.doValidate.call(this,e,function(n){function i(e){e&&(o=e),--a||t(o)}if(n)return t(n);var o,a=e&&e.length;if(!a)return t();if(r&&r.updateValidator)return t();for(var s=0,c=a;c>s;++s){var u=e[s];u?u.$__original_validate?u.$__original_validate({__noPromise:!0},i):u.validate({__noPromise:!0},i):--a||t(o)}},n)},r.prototype.doValidateSync=function(e,t){var n=c.prototype.doValidateSync.call(this,e,t);if(n)return n;var r=e&&e.length,i=null;if(r){for(var o=0,a=r;a>o&&!i;++o){var s=e[o];if(s){var u=s.validateSync();u&&(i=u)}}return i}},r.prototype.cast=function(e,t,n,r,o){var c,p,l;if(!Array.isArray(e))return t&&n&&t.markModified(this.path),this.cast([e],t,n,r);if(!(e&&e.isMongooseDocumentArray||o&&o.skipDocumentArrayCast)&&(e=new s(e,this.path,t),r&&r._handlers))for(var f in r._handlers)t.removeListener(f,r._handlers[f]);for(l=e.length;l--;)if(e[l]&&(e[l]instanceof u&&e[l].schema!==this.casterConstructor.schema&&(e[l]=e[l].toObject({virtuals:!1})),!(e[l]instanceof u)&&e[l]))if(n)c||(c=i(this,t.$__.selected,n)),p=new this.casterConstructor(null,e,!0,c,l),e[l]=p.init(e[l]);else{try{p=r.id(e[l]._id)}catch(d){}if(r&&p)p.set(e[l]),e[l]=p;else try{p=new this.casterConstructor(e[l],e,void 0,void 0,l),e[l]=p}catch(h){throw new a(\"embedded\",e[l],e._path,h)}}return e},t.exports=r},{\"../error/cast\":261,\"../schematype\":292,\"../types/documentarray\":297,\"../types/embedded\":298,\"./array\":280}],285:[function(e,t,n){function r(e,t,n){var r=function(e,t,n){var r=this;o.apply(this,arguments),this.$parent=n,n&&n.on(\"save\",function(){r.emit(\"save\",r)})};r.prototype=Object.create(o.prototype),r.prototype.$__setSchema(e),r.schema=e,r.$isSingleNested=!0,r.prototype.$basePath=t;for(var a in e.methods)r.prototype[a]=e.methods[a];for(a in e.statics)r[a]=e.statics[a];this.caster=r,this.schema=e,this.$isSingleNested=!0,i.call(this,t,n,\"Embedded\")}var i=e(\"../schematype\"),o=e(\"../types/subdocument\");t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.cast=function(e,t,n){if(e&&e.$isSingleNested)return e;var r=new this.caster(void 0,t?t.$__.selected:void 0,t);return n?r.init(e):r.set(e,void 0,!0),r},r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,new this.caster(t).toObject({virtuals:!1})},r.prototype.doValidate=function(e,t){i.prototype.doValidate.call(this,e,function(n){return n?t(n):e?void e.validate(t,{__noPromise:!0}):t(null)})},r.prototype.doValidateSync=function(e){var t=i.prototype.doValidateSync.call(this,e);if(t)return t;if(e)return e.validateSync()}},{\"../schematype\":292,\"../types/subdocument\":301}],286:[function(e,t,n){n.String=e(\"./string\"),n.Number=e(\"./number\"),n.Boolean=e(\"./boolean\"),n.DocumentArray=e(\"./documentarray\"),n.Embedded=e(\"./embedded\"),n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Date=e(\"./date\"),n.ObjectId=e(\"./objectid\"),n.Mixed=e(\"./mixed\"),n.Oid=n.ObjectId,n.Object=n.Mixed,n.Bool=n.Boolean},{\"./array\":280,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./documentarray\":284,\"./embedded\":285,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],287:[function(e,t,n){function r(e,t){if(t&&t[\"default\"]){var n=t[\"default\"];Array.isArray(n)&&0===n.length?t[\"default\"]=Array:!t.shared&&o.isObject(n)&&0===Object.keys(n).length&&(t[\"default\"]=function(){return{}})}i.call(this,e,t,\"Mixed\")}var i=e(\"../schematype\"),o=e(\"../utils\");r.schemaName=\"Mixed\",r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.cast=function(e){return e},r.prototype.castForQuery=function(e,t){return 2===arguments.length?t:e},t.exports=r},{\"../schematype\":292,\"../utils\":302}],288:[function(e,t,n){(function(n){function r(e,t){s.call(this,e,t,\"Number\")}function i(e){return this.cast(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.cast(e)}):[this.cast(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"./operators/bitwise\"),p=e(\"../error\").messages,l=e(\"../utils\");r.schemaName=\"Number\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:\"number\"==typeof e||e instanceof Number},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.min;n=n.replace(/{MIN}/,e),this.validators.push({validator:this.minValidator=function(t){return null==t||t>=e},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.max;n=n.replace(/{MAX}/,e),this.validators.push({validator:this.maxValidator=function(t){return null==t||e>=t},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"number\"==typeof t)return t;if(n.isBuffer(t)||!l.isObject(t))throw new c(\"number\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,p=u.populated(o,!0),f=new p.options.model(t);return f.$__.wasPopulated=!0,f}var d=t&&t._id?t._id:t;if(!isNaN(d)){if(null===d)return d;if(\"\"===d)return null;if(\"string\"!=typeof d&&\"boolean\"!=typeof d||(d=Number(d)),d instanceof Number)return d;if(\"number\"==typeof d)return d;if(d.toString&&!Array.isArray(d)&&d.toString()==Number(d))return new Number(d)}throw new c(\"number\",t,this.path)},r.prototype.$conditionalHandlers=l.options(s.prototype.$conditionalHandlers,{$bitsAllClear:u,$bitsAnyClear:u,$bitsAllSet:u,$bitsAnySet:u,$gt:i,$gte:i,$lt:i,$lte:i,$mod:o}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Number.\");return n.call(this,t)}return t=this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],289:[function(e,t,n){(function(n){function r(e,t){c.call(this,e,t,\"ObjectID\")}function i(e){return this.cast(e)}function o(){return new p}function a(e){return this.$__._id=null,e}var s,c=e(\"../schematype\"),u=c.CastError,p=e(\"../types/objectid\"),l=e(\"../utils\");r.schemaName=\"ObjectId\",r.prototype=Object.create(c.prototype),r.prototype.constructor=r,r.prototype.auto=function(e){return e&&(this[\"default\"](o),this.set(a)),this},r.prototype.checkRequired=function(e,t){return c._isRef(this,e,t,!0)?!!e:e instanceof p},r.prototype.cast=function(t,r,i){if(c._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(s||(s=e(\"./../document\")),t instanceof s)return t.$__.wasPopulated=!0,t;if(t instanceof p)return t;if(n.isBuffer(t)||!l.isObject(t))throw new u(\"ObjectId\",t,this.path);var o=r.$__fullPath(this.path),a=r.ownerDocument?r.ownerDocument():r,f=a.populated(o,!0),d=t;return r.$__.populated&&r.$__.populated[o]&&r.$__.populated[o].options&&r.$__.populated[o].options.options&&r.$__.populated[o].options.options.lean||(d=new f.options.model(t),d.$__.wasPopulated=!0),d}if(null===t||void 0===t)return t;if(t instanceof p)return t;if(t._id){if(t._id instanceof p)return t._id;if(t._id.toString instanceof Function)try{return p.createFromHexString(t._id.toString())}catch(h){}}if(t.toString instanceof Function)try{return p.createFromHexString(t.toString())}catch(m){throw new u(\"ObjectId\",t,this.path)}throw new u(\"ObjectId\",t,this.path)},r.prototype.$conditionalHandlers=l.options(c.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with ObjectId.\");return n.call(this,t)}return this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types/objectid\":300,\"../utils\":302,\"./../document\":253}],290:[function(e,t,n){(function(n){function r(e){var t=this;return Array.isArray(e)?e.map(function(e){return i(t.path,e)}):n.isBuffer(e)?e:i(t.path,e)}function i(e,t){var n=Number(t);if(isNaN(n))throw new o(\"number\",t,e);return n}var o=e(\"../../error/cast\");t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../../error/cast\":261}],291:[function(e,t,n){(function(n){function r(e,t){this.enumValues=[],this.regExp=null,s.call(this,e,t,\"String\")}function i(e){return this.castForQuery(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"../error\").messages,p=e(\"../utils\");r.schemaName=\"String\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype[\"enum\"]=function(){if(this.enumValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.enumValidator},this),this.enumValidator=!1),void 0===arguments[0]||arguments[0]===!1)return this;var e,t;p.isObject(arguments[0])?(e=arguments[0].values,t=arguments[0].message):(e=arguments,t=u.String[\"enum\"]);for(var n=0;n<e.length;n++)void 0!==e[n]&&this.enumValues.push(this.cast(e[n]));var r=this.enumValues;return this.enumValidator=function(e){return void 0===e||~r.indexOf(e)},this.validators.push({validator:this.enumValidator,message:t,type:\"enum\",enumValues:r}),this},r.prototype.lowercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toLowerCase():e})},r.prototype.uppercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toUpperCase():e})},r.prototype.trim=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.trim():e})},r.prototype.minlength=function(e,t){if(this.minlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.minlength;n=n.replace(/{MINLENGTH}/,e),this.validators.push({validator:this.minlengthValidator=function(t){return null===t||t.length>=e},message:n,type:\"minlength\",minlength:e})}return this},r.prototype.maxlength=function(e,t){if(this.maxlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.maxlength;n=n.replace(/{MAXLENGTH}/,e),this.validators.push({validator:this.maxlengthValidator=function(t){return null===t||t.length<=e},message:n,type:\"maxlength\",maxlength:e})}return this},r.prototype.match=function(e,t){var n=t||u.String.match,r=function(t){if(!e)return!1;var n=null!=t&&\"\"!==t?e.test(t):!0;return n};return this.validators.push({validator:r,message:n,type:\"regexp\",regexp:e}),this},r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:(e instanceof String||\"string\"==typeof e)&&e.length},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"string\"==typeof t)return t;if(n.isBuffer(t)||!p.isObject(t))throw new c(\"string\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,l=u.populated(o,!0),f=new l.options.model(t);return f.$__.wasPopulated=!0,f}if(null===t||void 0===t)return t;if(\"undefined\"!=typeof t){if(t._id&&\"string\"==typeof t._id)return t._id;if(t.toString&&t.toString!==Object.prototype.toString)return t.toString()}throw new c(\"string\",t,this.path)},r.prototype.$conditionalHandlers=p.options(s.prototype.$conditionalHandlers,{$all:o,$gt:i,$gte:i,$lt:i,$lte:i,$options:i,$regex:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with String.\");return n.call(this,t)}return t=e,\"[object RegExp]\"===Object.prototype.toString.call(t)?t:this.cast(t)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253}],292:[function(e,t,n){(function(r){function i(e,t,n){this.path=e,this.instance=n,this.validators=[],this.setters=[],this.getters=[],this.options=t,this._index=null,this.selected;for(var r in t)if(this[r]&&\"function\"==typeof this[r]){if(\"index\"===r&&this._index)continue;var i=Array.isArray(t[r])?t[r]:[t[r]];this[r].apply(this,i)}}function o(e){return this.castForQuery(e)}function a(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var s=e(\"./utils\"),c=e(\"./error\"),u=c.messages,p=c.CastError,l=c.ValidatorError;i.prototype[\"default\"]=function(e){return 1===arguments.length?(this.defaultValue=\"function\"==typeof e?e:this.cast(e),this):(arguments.length>1&&(this.defaultValue=s.args(arguments)),this.defaultValue)},i.prototype.index=function(e){return this._index=e,s.expires(this._index),this},i.prototype.unique=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.unique=e,this},i.prototype.text=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.text=e,this},i.prototype.sparse=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.sparse=e,this},i.prototype.set=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A setter must be a function.\");return this.setters.push(e),this},i.prototype.get=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A getter must be a function.\");return this.getters.push(e),this},i.prototype.validate=function(e,t,n){if(\"function\"==typeof e||e&&\"RegExp\"===s.getFunctionName(e.constructor)){var r;return t instanceof Object&&!n?(r=s.clone(t),r.message||(r.message=r.msg),r.validator=e,r.type=r.type||\"user defined\"):(t||(t=u.general[\"default\"]),n||(n=\"user defined\"),r={message:t,type:n,validator:e}),this.validators.push(r),this}var i,o,a;for(i=0,o=arguments.length;o>i;i++){if(a=arguments[i],!a||\"Object\"!==s.getFunctionName(a.constructor)){var c=\"Invalid validator. Received (\"+typeof a+\") \"+a+\". See http://mongoosejs.com/docs/api.html#schematype_SchemaType-validate\";throw new Error(c)}this.validate(a.validator,a)}return this},i.prototype.required=function(e,t){if(e===!1)return this.validators=this.validators.filter(function(e){return e.validator!==this.requiredValidator},this),this.isRequired=!1,this;var n=this;this.isRequired=!0,this.requiredValidator=function(t){return\"isSelected\"in this&&!this.isSelected(n.path)&&!this.isModified(n.path)?!0:\"function\"==typeof e&&!e.apply(this)||n.checkRequired(t,this)},\"string\"==typeof e&&(t=e,e=void 0);var r=t||u.general.required;return this.validators.unshift({validator:this.requiredValidator,message:r,type:\"required\"}),this},i.prototype.getDefault=function(e,t){var n=\"function\"==typeof this.defaultValue?this.defaultValue.call(e):this.defaultValue;return null!==n&&void 0!==n?this.cast(n,e,t):n},i.prototype.applySetters=function(e,t,n,r,i){for(var o=e,a=this.setters,s=a.length,c=this.caster;s--;)o=a[s].call(t,o,this);if(Array.isArray(o)&&c&&c.setters){for(var u=[],p=0;p<o.length;p++)u.push(c.applySetters(o[p],t,n,r));o=u}return null===o||void 0===o?o:o=this.cast(o,t,n,r,i)},i.prototype.applyGetters=function(e,t){var n=e,r=this.getters,i=r.length;if(!i)return n;for(;i--;)n=r[i].call(t,n,this);return n},i.prototype.select=function(e){return this.selected=!!e,this},i.prototype.doValidate=function(e,t,n){var r=!1,i=this.path,o=this.validators.length;if(!o)return t(null);var a=function(e,n){r||(void 0===e||e?--o||t(null):(r=new l(n),t(r)))},c=this;this.validators.forEach(function(t){if(!r){var o=t.validator,u=s.clone(t);if(u.path=i,u.value=e,o instanceof RegExp)a(o.test(e),u);else if(\"function\"==typeof o){if(void 0===e&&!c.isRequired)return void a(!0,u);2===o.length?o.call(n,e,function(e,t){t&&(u.message=t),a(e,u)}):a(o.call(n,e),u)}}})},i.prototype.doValidateSync=function(e,t){var n=null,r=this.path,i=this.validators.length;if(!i)return null;var o=function(e,t){n||void 0===e||e||(n=new l(t))},a=this;return void 0!==e||a.isRequired?(this.validators.forEach(function(i){if(!n){var a=i.validator,c=s.clone(i);c.path=r,c.value=e,a instanceof RegExp?o(a.test(e),c):\"function\"==typeof a&&2!==a.length&&o(a.call(t,e),c)}}),n):null},i._isRef=function(e,t,n,i){var o=i&&e.options&&e.options.ref;if(!o&&n&&n.$__fullPath){var a=n.$__fullPath(e.path),c=n.ownerDocument?n.ownerDocument():n;o=c.populated(a)}if(o){if(null==t)return!0;if(!r.isBuffer(t)&&\"Binary\"!==t._bsontype&&s.isObject(t))return!0}return!1},i.prototype.$conditionalHandlers={$all:a,$eq:o,$in:a,$ne:o,$nin:a},i.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,this.cast(t)},i.prototype.checkRequired=function(e){return null!=e},t.exports=n=i,n.CastError=p,n.ValidatorError=l}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./utils\":302}],293:[function(e,t,n){(function(n){function r(e,t,n){var i=Object.keys(e),a=i.length;n=n||{},t=t?t+\".\":\"\";for(var s=0;a>s;++s){var c=i[s],u=e[c];n[t+c]=!0,o(u)&&r(u,t+c,n)}return n}function i(e,t){var n=Object.keys(e),r=n.length,a={};t=t?t+\".\":\"\";for(var s=0;r>s;++s){var c=n[s],u=e[c];if(o(u)){var p=i(u,t+c);for(var l in p)a[l]=p[l];Array.isArray(u)&&(a[t+c]=u)}else a[t+c]=u}return a}function o(e){return e&&\"object\"==typeof e&&!(e instanceof Date)&&!(e instanceof c)&&(!Array.isArray(e)||e.length>0)&&!(e instanceof n);\n}var a=e(\"async\"),s=e(\"../error/validation.js\"),c=e(\"../types/objectid\");t.exports=function(e,t,n,o){function c(n){var r=t._getSchema(E[n]);r&&A.push(function(t){r.doValidate(l[E[n]],function(e){e&&(e.path=E[n],C.push(e)),t(null)},o&&\"query\"===o.context?e:null,{updateValidator:!0})})}for(var u=Object.keys(n||{}),p={},l={},f=u.length,d=!1,h={},m=0;f>m;++m)if(\"$\"===u[m].charAt(0)){r(n[u[m]],\"\",h);for(var v=i(n[u[m]]),g=Object.keys(v),y=g.length,b=0;y>b;++b){var x=g[b].replace(\".$.\",\".0.\");x=x.replace(/\\.\\$$/,\".0\"),\"$set\"===u[m]||\"$setOnInsert\"===u[m]?l[x]=v[g[b]]:\"$unset\"===u[m]&&(l[x]=void 0),p[x]=!0}d=!0}if(d||(r(n,\"\",h),l=i(n),p=Object.keys(l)),o&&o.upsert){for(g=Object.keys(e._conditions),y=u.length,m=0;y>m;++m){var w=g[m],_=e._conditions[w];if(_&&\"object\"==typeof _){var k=Object.keys(_),j=k.length,S=!1;for(b=0;j>b;++b)if(\"$\"===k[b].charAt(0)){S=!0;break}if(S)continue}p[w]=!0,h[w]=!0}o.setDefaultsOnInsert&&t.eachPath(function(e,t){if(\"_id\"!==e)if(t.$isSingleNested)t.schema.eachPath(function(t,r){if(\"_id\"!==e){var i=r.getDefault(null,!0);h[e+\".\"+t]||\"undefined\"==typeof i||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e+\".\"+t]=i,l[e+\".\"+t]=i)}});else{var r=t.getDefault(null,!0);h[e]||\"undefined\"==typeof r||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e]=r,l[e]=r)}})}var E=Object.keys(l),O=E.length,A=[],C=[];for(m=0;O>m;++m)c(m);return function(e){a.parallel(A,function(){if(C.length){for(var t=new s(null),n=0;n<C.length;++n)t.errors[C[n].path]=C[n];return e(t)}e(null)})}}}).call(this,e(\"buffer\").Buffer)},{\"../error/validation.js\":268,\"../types/objectid\":300,async:11,buffer:void 0}],294:[function(e,t,n){var r=e(\"./utils\"),i=t.exports=n=function(){};i.ctor=function(){var e=r.args(arguments),t=function(){i.apply(this,arguments),this.paths={},this.states={},this.stateNames=e;for(var t,n=e.length;n--;)t=e[n],this.states[t]={}};return t.prototype=new i,e.forEach(function(e){t.prototype[e]=function(t){this._changeState(t,e)}}),t},i.prototype._changeState=function(e,t){var n=this.states[this.paths[e]];n&&delete n[e],this.paths[e]=t,this.states[t][e]=!0},i.prototype.clear=function(e){for(var t,n=Object.keys(this.states[e]),r=n.length;r--;)t=n[r],delete this.states[e][t],delete this.paths[t]},i.prototype.some=function(){var e=this,t=arguments.length?arguments:this.stateNames;return Array.prototype.some.call(t,function(t){return Object.keys(e.states[t]).length})},i.prototype._iter=function(e){return function(){var t=arguments.length,n=r.args(arguments,0,t-1),i=arguments[t-1];n.length||(n=this.stateNames);var o=this,a=n.reduce(function(e,t){return e.concat(Object.keys(o.states[t]))},[]);return a[e](function(e,t,n){return i(e,t,n)})}},i.prototype.forEach=function(){return this.forEach=this._iter(\"forEach\"),this.forEach.apply(this,arguments)},i.prototype.map=function(){return this.map=this._iter(\"map\"),this.map.apply(this,arguments)}},{\"./utils\":302}],295:[function(e,t,n){(function(r){function i(e,t,n){for(var r=[].concat(e),o={isMongooseArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0},s={},c=Object.keys(i.mixin),u=0;u<c.length;++u)s[c[u]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[c[u]]};for(var p=Object.keys(o),l=0;l<p.length;++l)s[p[l]]={enumerable:!1,configurable:!0,writable:!0,value:o[p[l]]};return Object.defineProperties(r,s),n&&n instanceof a&&(r._parent=n,r._schema=n.schema.path(t)),r}var o=e(\"./embedded\"),a=e(\"../document\"),s=e(\"./objectid\"),c=e(\"../utils\"),u=c.isMongooseObject;i.mixin={_atomics:void 0,_parent:void 0,_cast:function(e){var t,n=this._owner,i=!1;if(this._parent&&(n||(n=this._owner=this._parent.ownerDocument?this._parent.ownerDocument():this._parent),i=n.populated(this._path,!0)),i&&null!==e&&void 0!==e){t=i.options.model,(r.isBuffer(e)||e instanceof s||!c.isObject(e))&&(e={_id:e});var o=e.schema&&e.schema.discriminatorMapping&&void 0!==e.schema.discriminatorMapping.key;return o||(e=new t(e)),this._schema.caster.cast(e,this._parent,!0)}return this._schema.caster.cast(e,this._parent,!1)},_markModified:function(e,t){var n,r=this._parent;return r&&(n=this._path,arguments.length&&(n=null!=t?n+\".\"+this.indexOf(e)+\".\"+t:n+\".\"+e),r.markModified(n)),this},_registerAtomic:function(e,t){if(\"$set\"===e)return this._atomics={$set:t},this;var n=this._atomics;if(\"$pop\"===e&&!(\"$pop\"in n)){var r=this;this._parent.once(\"save\",function(){r._popped=r._shifted=null})}if(this._atomics.$set||Object.keys(n).length&&!(e in n))return this._atomics={$set:this},this;var i;if(\"$pullAll\"===e||\"$pushAll\"===e||\"$addToSet\"===e)n[e]||(n[e]=[]),n[e]=n[e].concat(t);else if(\"$pullDocs\"===e){var a=n.$pull||(n.$pull={});t[0]instanceof o?(i=a.$or||(a.$or=[]),Array.prototype.push.apply(i,t.map(function(e){return e.toObject({virtuals:!1})}))):(i=a._id||(a._id={$in:[]}),i.$in=i.$in.concat(t))}else n[e]=t;return this},$__getAtomics:function(){var e=[],t=Object.keys(this._atomics),n=t.length;if(0===n)return e[0]=[\"$set\",this.toObject({depopulate:1,transform:!1})],e;for(;n--;){var r=t[n],i=this._atomics[r];u(i)?i=i.toObject({depopulate:1,transform:!1}):Array.isArray(i)?i=this.toObject.call(i,{depopulate:1,transform:!1}):i.valueOf&&(i=i.valueOf()),\"$addToSet\"===r&&(i={$each:i}),e.push([r,i])}return e},hasAtomics:function(){return this._atomics&&\"Object\"===this._atomics.constructor.name?Object.keys(this._atomics).length:0},_mapCast:function(e,t){return this._cast(e,this.length+t)},push:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent,void 0,void 0,{skipDocumentArrayCast:!0});var t=[].push.apply(this,e);return this._registerAtomic(\"$pushAll\",e),this._markModified(),t},nonAtomicPush:function(){var e=[].map.call(arguments,this._mapCast,this),t=[].push.apply(this,e);return this._registerAtomic(\"$set\",this),this._markModified(),t},$pop:function(){return this._registerAtomic(\"$pop\",1),this._markModified(),this._popped?void 0:(this._popped=!0,[].pop.call(this))},pop:function(){var e=[].pop.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},$shift:function(){return this._registerAtomic(\"$pop\",-1),this._markModified(),this._shifted?void 0:(this._shifted=!0,[].shift.call(this))},shift:function(){var e=[].shift.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},pull:function(){for(var e,t=[].map.call(arguments,this._cast,this),n=this._parent.get(this._path),r=n.length;r--;)if(e=n[r],e instanceof a){var i=t.some(function(t){return t.equals(e)});i&&[].splice.call(n,r,1)}else~n.indexOf.call(t,e)&&[].splice.call(n,r,1);return t[0]instanceof o?this._registerAtomic(\"$pullDocs\",t.map(function(e){return e._id||e})):this._registerAtomic(\"$pullAll\",t),this._markModified(),this},splice:function(){var e,t,n;if(arguments.length){for(t=[],n=0;n<arguments.length;++n)t[n]=2>n?arguments[n]:this._cast(arguments[n],arguments[0]+(n-2));e=[].splice.apply(this,t),this._registerAtomic(\"$set\",this),this._markModified()}return e},unshift:function(){var e=[].map.call(arguments,this._cast,this);return e=this._schema.applySetters(e,this._parent),[].unshift.apply(this,e),this._registerAtomic(\"$set\",this),this._markModified(),this.length},sort:function(){var e=[].sort.apply(this,arguments);return this._registerAtomic(\"$set\",this),this._markModified(),e},addToSet:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent);var t=[],n=\"\";return e[0]instanceof o?n=\"doc\":e[0]instanceof Date&&(n=\"date\"),e.forEach(function(e){var r;switch(n){case\"doc\":r=this.some(function(t){return t.equals(e)});break;case\"date\":var i=+e;r=this.some(function(e){return+e===i});break;default:r=~this.indexOf(e)}r||([].push.call(this,e),this._registerAtomic(\"$addToSet\",e),this._markModified(),[].push.call(t,e))},this),t},set:function(e,t){var n=this._cast(t,e);return n=this._schema.caster instanceof o?n:this._schema.caster.applySetters(t,this._parent),this[e]=n,this._markModified(e),this},toObject:function(e){return e&&e.depopulate?this.map(function(t){return t instanceof a?t.toObject(e):t}):this.slice()},inspect:function(){return JSON.stringify(this)},indexOf:function(e){e instanceof s&&(e=e.toString());for(var t=0,n=this.length;n>t;++t)if(e==this[t])return t;return-1}},i.mixin.remove=i.mixin.pull,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../utils\":302,\"./embedded\":298,\"./objectid\":300}],296:[function(e,t,n){(function(n){function r(e,t,i){var a,s=arguments.length;a=0===s||null===arguments[0]||void 0===arguments[0]?0:e;var c,u,p;Array.isArray(t)?(u=t[0],p=t[1]):c=t;var l=new n(a,c,i);return o.decorate(l,r.mixin),l.isMongooseBuffer=!0,Object.defineProperties(l,{validators:{value:[]},_path:{value:u},_parent:{value:p}}),p&&\"string\"==typeof u&&Object.defineProperty(l,\"_schema\",{value:p.schema.path(u)}),l._subtype=0,l}var i=e(\"../drivers\").Binary,o=e(\"../utils\");r.mixin={_parent:void 0,_subtype:void 0,_markModified:function(){var e=this._parent;return e&&e.markModified(this._path),this},write:function(){var e=n.prototype.write.apply(this,arguments);return e>0&&this._markModified(),e},copy:function(e){var t=n.prototype.copy.apply(this,arguments);return e&&e.isMongooseBuffer&&e._markModified(),t}},\"writeUInt8 writeUInt16 writeUInt32 writeInt8 writeInt16 writeInt32 writeFloat writeDouble fill utf8Write binaryWrite asciiWrite set writeUInt16LE writeUInt16BE writeUInt32LE writeUInt32BE writeInt16LE writeInt16BE writeInt32LE writeInt32BE writeFloatLE writeFloatBE writeDoubleLE writeDoubleBE\".split(\" \").forEach(function(e){n.prototype[e]&&(r.mixin[e]=function(){var t=n.prototype[e].apply(this,arguments);return this._markModified(),t})}),r.mixin.toObject=function(e){var t=\"number\"==typeof e?e:this._subtype||0;return new i(this,t)},r.mixin.equals=function(e){if(!n.isBuffer(e))return!1;if(this.length!==e.length)return!1;for(var t=0;t<this.length;++t)if(this[t]!==e[t])return!1;return!0},r.mixin.subtype=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid subtype. Expected a number\");this._subtype!==e&&this._markModified(),this._subtype=e},r.Binary=i,t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"../drivers\":259,\"../utils\":302,buffer:void 0}],297:[function(e,t,n){(function(n){function r(e,t,n){for(var o=[].concat(e),a={isMongooseArray:!0,isMongooseDocumentArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0,_handlers:void 0},s={},u=Object.keys(i.mixin),p=0;p<u.length;++p)s[u[p]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[u[p]]};for(var l=Object.keys(r.mixin),f=0;f<l.length;++f)s[l[f]]={enumerable:!1,configurable:!0,writable:!0,value:r.mixin[l[f]]};for(var d=Object.keys(a),h=0;h<d.length;++h)s[d[h]]={enumerable:!1,configurable:!0,writable:!0,value:a[d[h]]};return Object.defineProperties(o,s),n&&n instanceof c&&(o._parent=n,o._schema=n.schema.path(t),o._handlers={isNew:o.notify(\"isNew\"),save:o.notify(\"save\")},n.on(\"save\",o._handlers.save),n.on(\"isNew\",o._handlers.isNew)),o}var i=e(\"./array\"),o=e(\"./objectid\"),a=e(\"../schema/objectid\"),s=e(\"../utils\"),c=e(\"../document\");r.mixin={_cast:function(e,t){return e instanceof this._schema.casterConstructor?(e.__parent&&e.__parentArray||(e.__parent=this._parent,e.__parentArray=this),e.__index=t,e):((n.isBuffer(e)||e instanceof o||!s.isObject(e))&&(e={_id:e}),new this._schema.casterConstructor(e,this,void 0,void 0,t))},id:function(e){var t,n,r;try{var i=a.prototype.cast.call({},e);i&&(t=String(i))}catch(u){t=null}for(var p=0,l=this.length;l>p;p++)if(r=this[p].get(\"_id\"),null!==r&&\"undefined\"!=typeof r)if(r instanceof c){if(n||(n=String(e)),n==r._id)return this[p]}else if(e instanceof o||r instanceof o){if(t==r)return this[p]}else if(s.deepEqual(e,r))return this[p];return null},toObject:function(e){return this.map(function(t){return t&&t.toObject(e)||null})},inspect:function(){return Array.prototype.slice.call(this)},create:function(e){return new this._schema.casterConstructor(e)},notify:function(e){var t=this;return function(n){for(var r=t.length;r--;)if(t[r]){switch(e){case\"save\":n=t[r]}t[r].emit(e,n)}}}},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../schema/objectid\":289,\"../utils\":302,\"./array\":295,\"./objectid\":300}],298:[function(e,t,n){function r(e,t,n,r,i){t?(this.__parentArray=t,this.__parent=t._parent):(this.__parentArray=void 0,this.__parent=void 0),this.__index=i,o.call(this,e,r,n);var a=this;this.on(\"isNew\",function(e){a.isNew=e})}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document_provider\")(),a=e(\"../promise_provider\");r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.markModified=function(e){this.$__.activePaths.modify(e),this.__parentArray&&(this.isNew?this.__parentArray._markModified():this.__parentArray._markModified(this,e))},r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.remove=function(e){if(!this.__parentArray)return this;var t;if(!this.willRemove){if(t=this._doc._id,!t)throw new Error(\"For your own good, Mongoose does not know how to remove an EmbeddedDocument that has no _id\");this.__parentArray.pull({_id:t}),this.willRemove=!0,i(this)}return e&&e(null),this},r.prototype.update=function(){throw new Error(\"The #update method is not available on EmbeddedDocuments\")},r.prototype.inspect=function(){return this.toObject()},r.prototype.invalidate=function(e,t,n,r){if(!this.__parent){var i=\"Unable to invalidate a subdocument that has not been added to an array.\";throw new Error(i)}var o=this.__index;if(\"undefined\"!=typeof o){var a=this.__parentArray._path,s=[a,o,e].join(\".\");this.__parent.invalidate(s,t,n)}return r&&(this.$__.validationError=this.ownerDocument().$__.validationError),!0},r.prototype.$markValid=function(e){if(this.__parent){var t=this.__index;if(\"undefined\"!=typeof t){var n=this.__parentArray._path,r=[n,t,e].join(\".\");this.__parent.$markValid(r)}}},r.prototype.$isValid=function(e){var t=this.__index;return\"undefined\"!=typeof t?!this.__parent.$__.validationError||!this.__parent.$__.validationError.errors[this.$__fullPath(e)]:!0},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.__parent;if(!e)return this;for(;e.__parent;)e=e.__parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.$__fullPath=function(e){if(!this.$__.fullPath){var t=this;if(!t.__parent)return e;for(var n=[];t.__parent;)n.unshift(t.__parentArray._path),t=t.__parent;this.$__.fullPath=n.join(\".\"),this.$__.ownerDocument||(this.$__.ownerDocument=t)}return e?this.$__.fullPath+\".\"+e:this.$__.fullPath},r.prototype.parent=function(){return this.__parent},r.prototype.parentArray=function(){return this.__parentArray},t.exports=r},{\"../document_provider\":254,\"../promise_provider\":275}],299:[function(e,t,n){n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Document=n.Embedded=e(\"./embedded\"),n.DocumentArray=e(\"./documentarray\"),n.ObjectId=e(\"./objectid\"),n.Subdocument=e(\"./subdocument\")},{\"./array\":295,\"./buffer\":296,\"./documentarray\":297,\"./embedded\":298,\"./objectid\":300,\"./subdocument\":301}],300:[function(e,t,n){var r=e(\"../drivers\").ObjectId;t.exports=r},{\"../drivers\":259}],301:[function(e,t,n){function r(e,t){this.$isSingleNested=!0,o.call(this,e,t)}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document\"),a=e(\"../promise_provider\");t.exports=r,r.prototype=Object.create(o.prototype),r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.$isValid=function(e){return this.$parent?this.$parent.$isValid([this.$basePath,e].join(\".\")):void 0},r.prototype.markModified=function(e){o.prototype.markModified.call(this,e),this.$parent&&this.$parent.markModified([this.$basePath,e].join(\".\"))},r.prototype.$markValid=function(e){this.$parent&&this.$parent.$markValid([this.$basePath,e].join(\".\"))},r.prototype.invalidate=function(e,t,n){if(this.$parent)this.$parent.invalidate([this.$basePath,e].join(\".\"),t,n);else if(\"cast\"===t.kind||\"CastError\"===t.name)throw t},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.$parent;if(!e)return this;for(;e.$parent;)e=e.$parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.remove=function(e){this.$parent.set(this.$basePath,null),i(this),e&&e(null)}},{\"../document\":253,\"../promise_provider\":275}],302:[function(e,t,n){(function(t){function r(e){var t;return!~v.indexOf(e.toLowerCase())&&(t=m.filter(function(t){return e.match(t[0])}),t[0])?e.replace(t[0][0],t[0][1]):e}function i(e,t){var n,r,i,o,a,s=t&&t.retainKeyOrder,c=t&&t.minimize,u={};if(s)for(o in e)i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);else for(r=Object.keys(e),a=r.length;a--;)o=r[a],i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);return c?n&&u:u}function o(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(g(e[r],t));return n}function a(e,t,n,r,i,o){this.path=e,this.match=n,this.select=t,this.options=r,this.model=i,\"object\"==typeof o&&(this.populate=o),this._docs={}}var s,c,u,p=e(\"./types/objectid\"),l=e(\"regexp-clone\"),f=e(\"sliced\"),d=e(\"mpath\"),h=e(\"ms\");n.toCollectionName=function(e,t){return t=t||{},\"system.profile\"===e?e:\"system.indexes\"===e?e:t.pluralization===!1?e:r(e.toLowerCase())},n.pluralization=[[/(m)an$/gi,\"$1en\"],[/(pe)rson$/gi,\"$1ople\"],[/(child)$/gi,\"$1ren\"],[/^(ox)$/gi,\"$1en\"],[/(ax|test)is$/gi,\"$1es\"],[/(octop|vir)us$/gi,\"$1i\"],[/(alias|status)$/gi,\"$1es\"],[/(bu)s$/gi,\"$1ses\"],[/(buffal|tomat|potat)o$/gi,\"$1oes\"],[/([ti])um$/gi,\"$1a\"],[/sis$/gi,\"ses\"],[/(?:([^f])fe|([lr])f)$/gi,\"$1$2ves\"],[/(hive)$/gi,\"$1s\"],[/([^aeiouy]|qu)y$/gi,\"$1ies\"],[/(x|ch|ss|sh)$/gi,\"$1es\"],[/(matr|vert|ind)ix|ex$/gi,\"$1ices\"],[/([m|l])ouse$/gi,\"$1ice\"],[/(kn|w|l)ife$/gi,\"$1ives\"],[/(quiz)$/gi,\"$1zes\"],[/s$/gi,\"s\"],[/([^a-z])$/,\"$1\"],[/$/gi,\"s\"]];var m=n.pluralization;n.uncountables=[\"advice\",\"energy\",\"excretion\",\"digestion\",\"cooperation\",\"health\",\"justice\",\"labour\",\"machinery\",\"equipment\",\"information\",\"pollution\",\"sewage\",\"paper\",\"money\",\"species\",\"series\",\"rain\",\"rice\",\"fish\",\"sheep\",\"moose\",\"deer\",\"news\",\"expertise\",\"status\",\"media\"];var v=n.uncountables;n.deepEqual=function w(e,r){if(e===r)return!0;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof p&&r instanceof p)return e.toString()===r.toString();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.ignoreCase===r.ignoreCase&&e.multiline===r.multiline&&e.global===r.global;if(\"object\"!=typeof e&&\"object\"!=typeof r)return e==r;if(null===e||null===r||void 0===e||void 0===r)return!1;if(e.prototype!==r.prototype)return!1;if(e instanceof Number&&r instanceof Number)return e.valueOf()===r.valueOf();if(t.isBuffer(e))return n.buffer.areEqual(e,r);b(e)&&(e=e.toObject()),b(r)&&(r=r.toObject());try{var i,o,a=Object.keys(e),s=Object.keys(r)}catch(c){return!1}if(a.length!==s.length)return!1;for(a.sort(),s.sort(),o=a.length-1;o>=0;o--)if(a[o]!==s[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!w(e[i],r[i]))return!1;return!0},n.clone=function(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return o(e,t);if(b(e))return t&&t.json&&\"function\"==typeof e.toJSON?e.toJSON(t):e.toObject(t);if(e.constructor)switch(n.getFunctionName(e.constructor)){case\"Object\":return i(e,t);case\"Date\":return new e.constructor(+e);case\"RegExp\":return l(e)}return e instanceof p?new p(e.id):!e.constructor&&n.isObject(e)?i(e,t):e.valueOf?e.valueOf():void 0};var g=n.clone;n.options=function(e,t){var n,r=Object.keys(e),i=r.length;for(t=t||{};i--;)n=r[i],n in t||(t[n]=e[n]);return t},n.random=function(){return Math.random().toString().substr(3)},n.merge=function _(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])&&_(e[r],t[r])};var y=Object.prototype.toString;n.toObject=function k(e){var t;if(n.isNullOrUndefined(e))return e;if(e instanceof u)return e.toObject();if(Array.isArray(e)){t=[];for(var r=0,i=e.length;i>r;++r)t.push(k(e[r]));return t}if(e.constructor&&\"Object\"===n.getFunctionName(e.constructor)||!e.constructor&&n.isObject(e)){t={};for(var o in e)t[o]=k(e[o]);return t}return e},n.isObject=function(e){return t.isBuffer(e)?!0:\"[object Object]\"===y.call(e)},n.args=f,n.tick=function(e){return\"function\"==typeof e?function(){try{e.apply(this,arguments)}catch(t){process.nextTick(function(){throw t})}}:void 0},n.isMongooseObject=function(t){return u||(u=e(\"./document\")),c||(c=e(\"./types\").Array),s||(s=e(\"./types\").Buffer),t instanceof u||t&&t.isMongooseArray||t&&t.isMongooseBuffer};var b=n.isMongooseObject;n.expires=function(e){if(e&&\"Object\"===e.constructor.name&&\"expires\"in e){var t;t=\"string\"!=typeof e.expires?e.expires:Math.round(h(e.expires)/1e3),e.expireAfterSeconds=t,delete e.expires}},a.prototype.constructor=Object,n.PopulateOptions=a,n.populate=function(e,t,r,i,o,s){if(1===arguments.length){if(e instanceof a)return[e];if(Array.isArray(e))return e.map(function(e){return n.populate(e)[0]});n.isObject(e)&&(i=e.match,o=e.options,t=e.select,r=e.model,s=e.populate,e=e.path)}else\"string\"!=typeof r&&\"function\"!=typeof r&&(o=i,i=r,r=void 0);if(\"string\"!=typeof e)throw new TypeError(\"utils.populate: invalid path. Expected string. Got typeof `\"+typeof e+\"`\");\"object\"==typeof s&&(s=n.populate(s));var c=[],u=e.split(\" \");o=n.clone(o,{retainKeyOrder:!0});for(var p=0;p<u.length;++p)c.push(new a(u[p],t,i,o,r,s));return c},n.getValue=function(e,t,n){return d.get(e,t,\"_doc\",n)},n.setValue=function(e,t,n,r){d.set(e,t,n,\"_doc\",r)},n.object={},n.object.vals=function(e){for(var t=Object.keys(e),n=t.length,r=[];n--;)r.push(e[t[n]]);return r},n.object.shallowCopy=n.options;var x=Object.prototype.hasOwnProperty;n.object.hasOwnProperty=function(e,t){return x.call(e,t)},n.isNullOrUndefined=function(e){return null===e||void 0===e},n.array={},n.array.flatten=function j(e,t,n){return n||(n=[]),e.forEach(function(e){Array.isArray(e)?j(e,t,n):t&&!t(e)||n.push(e)}),n},n.array.unique=function(e){for(var t={},n={},r=[],i=e.length,o=0;i>o;++o)if(\"number\"==typeof e[o]||\"string\"==typeof e[o]){if(t[e[o]])continue;r.push(e[o]),t[e[o]]=!0}else if(e[o]instanceof p){if(n[e[o].toString()])continue;r.push(e[o]),n[e[o].toString()]=!0}else r.push(e[o]);return r},n.buffer={},n.buffer.areEqual=function(e,n){if(!t.isBuffer(e))return!1;if(!t.isBuffer(n))return!1;if(e.length!==n.length)return!1;for(var r=0,i=e.length;i>r;++r)if(e[r]!==n[r])return!1;return!0},n.getFunctionName=function(e){return e.name?e.name:(e.toString().trim().match(/^function\\s*([^\\s(]+)/)||[])[1]},n.decorate=function(e,t){for(var n in t)e[n]=t[n]},n.mergeClone=function(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)if(r=i[o],\"undefined\"==typeof e[r])e[r]=n.clone(t[r],{retainKeyOrder:1});else if(n.isObject(t[r])){var a=t[r];b(t[r])&&!t[r].isMongooseBuffer&&(a=a.toObject({virtuals:!1})),n.mergeClone(e[r],a)}else e[r]=n.clone(t[r],{retainKeyOrder:1})},n.each=function(e,t){for(var n=0;n<e.length;++n)t(e[n])}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./document\":253,\"./types\":299,\"./types/objectid\":300,mpath:305,ms:355,\"regexp-clone\":392,sliced:431}],303:[function(e,t,n){function r(e,t){this.path=t,this.getters=[],this.setters=[],this.options=e||{}}r.prototype.get=function(e){return this.getters.push(e),this},r.prototype.set=function(e){return this.setters.push(e),this},r.prototype.applyGetters=function(e,t){for(var n=e,r=this.getters.length-1;r>=0;r--)n=this.getters[r].call(t,n,this);return n},r.prototype.applySetters=function(e,t){for(var n=e,r=this.setters.length-1;r>=0;r--)n=this.setters[r].call(t,n,this);return n},t.exports=r},{}],304:[function(e,t,n){t.exports={_args:[[\"mongoose\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"mongoose@*\",_id:\"mongoose@4.4.12\",_inCache:!0,_installable:!0,_location:\"/mongoose\",_nodeVersion:\"5.4.1\",_npmOperationalInternal:{host:\"packages-12-west.internal.npmjs.com\",tmp:\"tmp/mongoose-4.4.12.tgz_1460141300884_0.6968548044096678\"},_npmUser:{email:\"val@karpov.io\",name:\"vkarpov15\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"mongoose\",raw:\"mongoose\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\",_shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",_shrinkwrap:null,_spec:\"mongoose\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"guillermo@learnboost.com\",name:\"Guillermo Rauch\"},browser:\"lib/browser.js\",browserDependencies:{browserify:\"4.1.10\",chai:\"3.5.0\",karma:\"0.12.16\",\"karma-chai\":\"0.1.0\",\"karma-chrome-launcher\":\"0.1.4\",\"karma-mocha\":\"0.1.4\",\"karma-sauce-launcher\":\"0.2.8\"},bugs:{email:\"mongoose-orm@googlegroups.com\",url:\"https://github.com/Automattic/mongoose/issues/new\"},dependencies:{async:\"1.5.2\",bson:\"~0.4.21\",\"hooks-fixed\":\"1.1.0\",kareem:\"1.0.1\",mongodb:\"2.1.16\",mpath:\"0.2.1\",mpromise:\"0.5.5\",mquery:\"1.10.0\",ms:\"0.7.1\",muri:\"1.1.0\",\"regexp-clone\":\"0.0.1\",sliced:\"1.0.1\"},description:\"Mongoose MongoDB ODM\",devDependencies:{acquit:\"0.4.1\",\"acquit-ignore\":\"0.0.3\",benchmark:\"2.0.0\",bluebird:\"3.1.4\",co:\"4.6.0\",dox:\"0.3.1\",eslint:\"2.4.0\",\"highlight.js\":\"7.0.1\",istanbul:\"0.4.2\",jade:\"0.26.3\",lodash:\"4.6.1\",markdown:\"0.3.1\",marked:\"0.3.5\",mocha:\"2.3.4\",\"node-static\":\"0.7.7\",\"power-assert\":\"1.2.0\",q:\"1.4.1\",tbd:\"0.6.4\",\"uglify-js\":\"2.6.1\",underscore:\"1.8.3\"},directories:{lib:\"./lib/mongoose\"},dist:{shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",tarball:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\"},engines:{node:\">=0.6.19\"},gitHead:\"239006ca12982d62369b8716e3fde917084d69ce\",homepage:\"http://mongoosejs.com\",keywords:[\"data\",\"database\",\"datastore\",\"db\",\"document\",\"model\",\"mongodb\",\"nosql\",\"odm\",\"orm\",\"query\",\"schema\"],license:\"MIT\",main:\"./index.js\",maintainers:[{name:\"rauchg\",email:\"rauchg@gmail.com\"},{name:\"tjholowaychuk\",email:\"tj@vision-media.ca\"},{name:\"aaron\",email:\"aaron.heckmann+github@gmail.com\"},{name:\"vkarpov15\",email:\"val@karpov.io\"},{name:\"defunctzombie\",email:\"shtylman@gmail.com\"}],name:\"mongoose\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/Automattic/mongoose.git\"},scripts:{\"fix-lint\":\"eslint . --fix\",\"install-browser\":\"npm install `node format_deps.js`\",posttest:\"eslint . --quiet\",test:\"mocha test/*.test.js test/**/*.test.js\",\"test-cov\":\"istanbul cover --report text --report html _mocha test/*.test.js\"},version:\"4.4.12\"}},{}],305:[function(e,t,n){t.exports=n=e(\"./lib\")},{\"./lib\":306}],306:[function(e,t,n){function r(e){return e}n.get=function(e,t,i,o){var a;\"function\"==typeof i&&(i.length<2?(o=i,i=void 0):(a=i,i=void 0)),o||(o=r);var s=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(s))throw new TypeError(\"Invalid `path`. Must be either string or array\");for(var c,u=t,p=0;p<s.length;++p){if(c=s[p],Array.isArray(u)&&!/^\\d+$/.test(c)){var l=s.slice(p);return u.map(function(e){return e?n.get(l,e,i||a,o):o(void 0)})}if(u=a?a(u,c):i&&u[i]?u[i][c]:u[c],!u)return o(u)}return o(u)},n.set=function(e,t,i,o,a,s){var c;\"function\"==typeof o&&(o.length<2?(a=o,o=void 0):(c=o,o=void 0)),a||(a=r);var u=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(u))throw new TypeError(\"Invalid `path`. Must be either string or array\");if(null!=i){for(var p,l=s||/\\$/.test(e),f=i,d=0,h=u.length-1;h>d;++d)if(p=u[d],\"$\"!=p){if(Array.isArray(f)&&!/^\\d+$/.test(p)){var m=u.slice(d);if(!l&&Array.isArray(t))for(var v=0;v<f.length&&v<t.length;++v)n.set(m,t[v],f[v],o||c,a,l);else for(var v=0;v<f.length;++v)n.set(m,t,f[v],o||c,a,l);return}if(f=c?c(f,p):o&&f[o]?f[o][p]:f[p],!f)return}else if(d==h-1)break;if(p=u[h],o&&f[o]&&(f=f[o]),Array.isArray(f)&&!/^\\d+$/.test(p))if(!l&&Array.isArray(t))for(var g,v=0;v<f.length&&v<t.length;++v)g=f[v],g&&(c?c(g,p,a(t[v])):(g[o]&&(g=g[o]),g[p]=a(t[v])));else for(var v=0;v<f.length;++v)g=f[v],g&&(c?c(g,p,a(t)):(g[o]&&(g=g[o]),g[p]=a(t)));else c?c(f,p,a(t)):f[p]=a(t)}}},{}],307:[function(e,t,n){\"use strict\";function r(e,t,n){return Array.prototype.slice.call(e,t,n)}function i(e,t){var n=r(t);return n.unshift(e),n}function o(e){this.emitter=new c,this.emitted={},this.ended=!1,\"function\"==typeof e&&(this.ended=!0,this.onResolve(e))}function a(e,t){function n(){var n=e.emitter.domain;n&&n!==process.domain&&n.enter();try{var i=t.apply(void 0,r.args)}catch(o){return void e.reject(o)}s(e,i)}function r(){r.args=arguments,process.nextTick(n)}return r}function s(e,t){function n(){l++||s.apply(void 0,i(e,arguments))}function o(t){l++||e.reject(t)}if(e===t)return void e.reject(new TypeError(\"promise and x are the same\"));var a=r(arguments,1),c=typeof t;if(\"undefined\"==c||null==t||\"object\"!=c&&\"function\"!=c)return void e.fulfill.apply(e,a);try{var u=t.then}catch(p){return void e.reject(p)}if(\"function\"!=typeof u)return void e.fulfill.apply(e,a);var l=0;try{var f=u.call(t,n,o);return f}catch(p){if(l++)return;e.reject(p)}}var c=(e(\"util\"),e(\"events\").EventEmitter);t.exports=o,o.SUCCESS=\"fulfill\",o.FAILURE=\"reject\",o.prototype.on=function(e,t){return this.emitted[e]?t.apply(void 0,this.emitted[e]):this.emitter.on(e,t),this},o.prototype.safeEmit=function(e){if(e==o.SUCCESS||e==o.FAILURE){if(this.emitted[o.SUCCESS]||this.emitted[o.FAILURE])return this;this.emitted[e]=r(arguments,1)}return this.emitter.emit.apply(this.emitter,arguments),this},o.prototype.hasRejectListeners=function(){return c.listenerCount(this.emitter,o.FAILURE)>0},o.prototype.fulfill=function(){return this.safeEmit.apply(this,i(o.SUCCESS,arguments))},o.prototype.reject=function(e){if(this.ended&&!this.hasRejectListeners())throw e;return this.safeEmit(o.FAILURE,e)},o.prototype.resolve=function(e,t){return e?this.reject(e):this.fulfill(t)},o.prototype.onFulfill=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.SUCCESS,e)},o.prototype.onReject=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,e)},o.prototype.onResolve=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,function(t){e.call(this,t)}),this.on(o.SUCCESS,function(){e.apply(this,i(null,arguments))}),this},o.prototype.then=function(e,t){var n=new o;return\"function\"==typeof e?this.onFulfill(a(n,e)):this.onFulfill(n.fulfill.bind(n)),\"function\"==typeof t?this.onReject(a(n,t)):this.onReject(n.reject.bind(n)),n},o.prototype.end=o.prototype[\"catch\"]=function(e){return e||this.hasRejectListeners()||(e=function(e){throw e}),this.onReject(e),this.ended=!0,this},o.trace=function(e,t){e.then(function(){console.log(\"%s fulfill %j\",t,r(arguments))},function(){console.log(\"%s reject %j\",t,r(arguments))})},o.prototype.chain=function(e){var t=this;return t.onFulfill(e.fulfill.bind(e)),t.onReject(e.reject.bind(e)),e},o.prototype.all=function(e){var t=new o;return this.then(e).then(function(e){var n,r=0,i=[];return e.length||t.resolve(),e.forEach(function(e,o){n||(r++,e.then(function(e){n||(i[o]=e,--r,0==r&&t.fulfill(i))},function(e){n||(n=e,t.reject(e))}))}),t},t.reject.bind(t)),t},o.hook=function(e){var t=new o,n=new o,r=function(){return--i,0==i&&n.fulfill(),n},i=1,a=t;return e.forEach(function(e){a=a.then(function(){var t=new o;return i++,e(t.resolve.bind(t),r),t})}),a=a.then(r),t.resolve(),a},o.fulfilled=function(){var e=new o;return e.fulfill.apply(e,arguments),e},o.rejected=function(e){return(new o).reject(e)},o.deferred=function(){var e=new o;return{promise:e,reject:e.reject.bind(e),resolve:e.fulfill.bind(e),callback:e.resolve.bind(e)}}},{\nevents:void 0,util:void 0}],308:[function(e,t,n){\"use strict\";function r(){}function i(e){return function(){throw new Error(\"collection.\"+e+\" not implemented\")}}for(var o=[\"find\",\"findOne\",\"update\",\"remove\",\"count\",\"distinct\",\"findAndModify\",\"aggregate\",\"findStream\"],a=0,s=o.length;s>a;++a){var c=o[a];r.prototype[c]=i(c)}t.exports=n=r,r.methods=o},{}],309:[function(e,t,n){\"use strict\";var r=e(\"../env\");if(\"unknown\"==r.type)throw new Error(\"Unknown environment\");t.exports=e(r.isNode?\"./node\":r.isMongo?\"./collection\":\"./collection\")},{\"../env\":311,\"./collection\":308,\"./node\":310}],310:[function(e,t,n){\"use strict\";function r(e){this.collection=e,this.collectionName=e.collectionName}var i=e(\"./collection\"),o=e(\"../utils\");o.inherits(r,i),r.prototype.find=function(e,t,n){this.collection.find(e,t,function(e,t){return e?n(e):void t.toArray(n)})},r.prototype.findOne=function(e,t,n){this.collection.findOne(e,t,n)},r.prototype.count=function(e,t,n){this.collection.count(e,t,n)},r.prototype.distinct=function(e,t,n,r){this.collection.distinct(e,t,n,r)},r.prototype.update=function(e,t,n,r){this.collection.update(e,t,n,r)},r.prototype.remove=function(e,t,n){this.collection.remove(e,t,n)},r.prototype.findAndModify=function(e,t,n,r){var i=Array.isArray(n.sort)?n.sort:[];this.collection.findAndModify(e,i,t,n,r)},r.prototype.findStream=function(e,t,n){return this.collection.find(e,t).stream(n)},r.prototype.findCursor=function(e,t){return this.collection.find(e,t)},t.exports=n=r},{\"../utils\":314,\"./collection\":308}],311:[function(e,t,n){(function(e,r){\"use strict\";n.isNode=\"undefined\"!=typeof process&&\"object\"==typeof t&&\"object\"==typeof e&&\"function\"==typeof r&&process.argv,n.isMongo=!n.isNode&&\"function\"==typeof printjson&&\"function\"==typeof ObjectId&&\"function\"==typeof rs&&\"function\"==typeof sh,n.isBrowser=!n.isNode&&!n.isMongo&&\"undefined\"!=typeof window,n.type=n.isNode?\"node\":n.isMongo?\"mongo\":n.isBrowser?\"browser\":\"unknown\"}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"buffer\").Buffer)},{buffer:void 0}],312:[function(e,t,n){\"use strict\";function r(e,t){if(!(this instanceof r))return new r(e,t);var n=this.constructor.prototype;this.op=n.op||void 0,this.options={},this.setOptions(n.options),this._conditions=n._conditions?u.clone(n._conditions):{},this._fields=n._fields?u.clone(n._fields):void 0,this._update=n._update?u.clone(n._update):void 0,this._path=n._path||void 0,this._distinct=n._distinct||void 0,this._collection=n._collection||void 0,this._traceFunction=n._traceFunction||void 0,t&&this.setOptions(t),e&&(e.find&&e.remove&&e.update?this.collection(e):this.find(e))}function i(e,t,n){if(Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");if(n&&n.$meta){var r=e.sort||(e.sort={});return void(r[t]={$meta:n.$meta})}var i=String(n||1).toLowerCase();if(!/^(?:ascending|asc|descending|desc|1|-1)$/.test(i))throw u.isArray(n)&&(n=\"[\"+n+\"]\"),new TypeError(\"Invalid sort value: {\"+t+\": \"+n+\" }\");var r=e.sort||(e.sort={}),o=n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");r[t]=parseInt(o,10)}function o(e,t,n){if(e.sort=e.sort||[],!Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");e.sort.push([t,n])}var a=e(\"sliced\"),s=e(\"assert\"),c=e(\"util\"),u=e(\"./utils\"),p=e(\"debug\")(\"mquery\"),l=\"$geoWithin\";Object.defineProperty(r,\"use$geoWithin\",{get:function(){return\"$geoWithin\"==l},set:function(e){l=!0===e?\"$geoWithin\":\"$within\"}}),r.prototype.toConstructor=function(){function e(t,n){return this instanceof e?void r.call(this,t,n):new e(t,n)}u.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=u.clone(this._conditions),t._fields=u.clone(this._fields),t._update=u.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t._traceFunction=this._traceFunction,e},r.prototype.setOptions=function(e){if(!e||!u.isObject(e))return this;for(var t,n=u.keys(e),r=0;r<n.length;++r)if(t=n[r],\"function\"==typeof this[t]){var i=u.isArray(e[t])?e[t]:[e[t]];this[t].apply(this,i)}else this.options[t]=e[t];return this},r.prototype.collection=function(e){return this._collection=new r.Collection(e),this},r.prototype.$where=function(e){return this._conditions.$where=e,this},r.prototype.where=function(){if(!arguments.length)return this;this.op||(this.op=\"find\");var e=typeof arguments[0];if(\"string\"==e)return this._path=arguments[0],2===arguments.length&&(this._conditions[this._path]=arguments[1]),this;if(\"object\"==e&&!Array.isArray(arguments[0]))return this.merge(arguments[0]);throw new TypeError(\"path must be a string or object\")},r.prototype.equals=function(e){this._ensurePath(\"equals\");var t=this._path;return this._conditions[t]=e,this},r.prototype.eq=function(e){this._ensurePath(\"eq\");var t=this._path;return this._conditions[t]=e,this},r.prototype.or=function f(e){var f=this._conditions.$or||(this._conditions.$or=[]);return u.isArray(e)||(e=[e]),f.push.apply(f,e),this},r.prototype.nor=function d(e){var d=this._conditions.$nor||(this._conditions.$nor=[]);return u.isArray(e)||(e=[e]),d.push.apply(d,e),this},r.prototype.and=function h(e){var h=this._conditions.$and||(this._conditions.$and=[]);return Array.isArray(e)||(e=[e]),h.push.apply(h,e),this},\"gt gte lt lte ne in nin all regex size maxDistance\".split(\" \").forEach(function(e){r.prototype[e]=function(){var t,n;1===arguments.length?(this._ensurePath(e),n=arguments[0],t=this._path):(n=arguments[1],t=arguments[0]);var r=this._conditions[t]||(this._conditions[t]={});return r[\"$\"+e]=n,this}}),r.prototype.mod=function(){var e,t;1===arguments.length?(this._ensurePath(\"mod\"),e=arguments[0],t=this._path):2!==arguments.length||u.isArray(arguments[1])?3===arguments.length?(e=a(arguments,1),t=arguments[0]):(e=arguments[1],t=arguments[0]):(this._ensurePath(\"mod\"),e=a(arguments),t=this._path);var n=this._conditions[t]||(this._conditions[t]={});return n.$mod=e,this},r.prototype.exists=function(){var e,t;0===arguments.length?(this._ensurePath(\"exists\"),e=this._path,t=!0):1===arguments.length?\"boolean\"==typeof arguments[0]?(this._ensurePath(\"exists\"),e=this._path,t=arguments[0]):(e=arguments[0],t=!0):2===arguments.length&&(e=arguments[0],t=arguments[1]);var n=this._conditions[e]||(this._conditions[e]={});return n.$exists=t,this},r.prototype.elemMatch=function(){if(null==arguments[0])throw new TypeError(\"Invalid argument\");var e,t,n;if(\"function\"==typeof arguments[0])this._ensurePath(\"elemMatch\"),t=this._path,e=arguments[0];else if(u.isObject(arguments[0]))this._ensurePath(\"elemMatch\"),t=this._path,n=arguments[0];else if(\"function\"==typeof arguments[1])t=arguments[0],e=arguments[1];else{if(!arguments[1]||!u.isObject(arguments[1]))throw new TypeError(\"Invalid argument\");t=arguments[0],n=arguments[1]}e&&(n=new r,e(n),n=n._conditions);var i=this._conditions[t]||(this._conditions[t]={});return i.$elemMatch=n,this},r.prototype.within=function(){if(this._ensurePath(\"within\"),this._geoComparison=l,0===arguments.length)return this;if(2===arguments.length)return this.box.apply(this,arguments);if(2<arguments.length)return this.polygon.apply(this,arguments);var e=arguments[0];if(!e)throw new TypeError(\"Invalid argument\");if(e.center)return this.circle(e);if(e.box)return this.box.apply(this,e.box);if(e.polygon)return this.polygon.apply(this,e.polygon);if(e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.box=function(){var e,t;if(3===arguments.length)e=arguments[0],t=[arguments[1],arguments[2]];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");this._ensurePath(\"box\"),e=this._path,t=[arguments[0],arguments[1]]}var n=this._conditions[e]||(this._conditions[e]={});return n[this._geoComparison||l]={$box:t},this},r.prototype.polygon=function(){var e,t;\"string\"==typeof arguments[0]?(t=arguments[0],e=a(arguments,1)):(this._ensurePath(\"polygon\"),t=this._path,e=a(arguments));var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison||l]={$polygon:e},this},r.prototype.circle=function(){var e,t;if(1===arguments.length)this._ensurePath(\"circle\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!(\"radius\"in t&&t.center))throw new Error(\"center and radius are required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$centerSphere\":\"$center\",i=this._geoComparison||l;return n[i]={},n[i][r]=[t.center,t.radius],\"unique\"in t&&(n[i].$uniqueDocs=!!t.unique),this},r.prototype.near=function(){var e,t;if(this._geoComparison=\"$near\",0===arguments.length)return this;if(1===arguments.length)this._ensurePath(\"near\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!t.center)throw new Error(\"center is required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$nearSphere\":\"$near\";if(Array.isArray(t.center)){n[r]=t.center;var i=\"maxDistance\"in t?t.maxDistance:null;null!=i&&(n.$maxDistance=i)}else{if(\"Point\"!=t.center.type||!Array.isArray(t.center.coordinates))throw new Error(c.format(\"Invalid GeoJSON specified for %s\",r));n[r]={$geometry:t.center},\"maxDistance\"in t&&(n[r].$maxDistance=t.maxDistance)}return this},r.prototype.intersects=function(){if(this._ensurePath(\"intersects\"),this._geoComparison=\"$geoIntersects\",0===arguments.length)return this;var e=arguments[0];if(null!=e&&e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.geometry=function(){if(\"$within\"!=this._geoComparison&&\"$geoWithin\"!=this._geoComparison&&\"$near\"!=this._geoComparison&&\"$geoIntersects\"!=this._geoComparison)throw new Error(\"geometry() must come after `within()`, `intersects()`, or `near()\");var e,t;if(1!==arguments.length)throw new TypeError(\"Invalid argument\");if(this._ensurePath(\"geometry\"),t=this._path,e=arguments[0],!e.type||!Array.isArray(e.coordinates))throw new TypeError(\"Invalid argument\");var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison]={$geometry:e},this},r.prototype.select=function(){var e=arguments[0];if(!e)return this;if(1!==arguments.length)throw new Error(\"Invalid select: select only takes 1 argument\");this._validate(\"select\");var t=this._fields||(this._fields={}),n=typeof e;if((\"string\"==n||u.isArgumentsObject(e))&&\"number\"==typeof e.length){\"string\"==n&&(e=e.split(/\\s+/));for(var r=0,i=e.length;i>r;++r){var o=e[r];if(o){var a=\"-\"==o[0]?0:1;0===a&&(o=o.substring(1)),t[o]=a}}return this}if(u.isObject(e)&&!Array.isArray(e)){for(var s=u.keys(e),r=0;r<s.length;++r)t[s[r]]=e[s[r]];return this}throw new TypeError(\"Invalid select() argument. Must be string or object.\")},r.prototype.slice=function(){if(0===arguments.length)return this;this._validate(\"slice\");var e,t;if(1===arguments.length){var n=arguments[0];if(\"object\"==typeof n&&!Array.isArray(n)){for(var r=Object.keys(n),i=r.length,o=0;i>o;++o)this.slice(r[o],n[r[o]]);return this}this._ensurePath(\"slice\"),e=this._path,t=arguments[0]}else 2===arguments.length?\"number\"==typeof arguments[0]?(this._ensurePath(\"slice\"),e=this._path,t=a(arguments)):(e=arguments[0],t=arguments[1]):3===arguments.length&&(e=arguments[0],t=a(arguments,1));var s=this._fields||(this._fields={});return s[e]={$slice:t},this},r.prototype.sort=function(e){if(!e)return this;var t;this._validate(\"sort\");var n=typeof e;if(Array.isArray(e)){t=e.length;for(var r=0;r<e.length;++r)o(this.options,e[r][0],e[r][1]);return this}if(1===arguments.length&&\"string\"==n){e=e.split(/\\s+/),t=e.length;for(var r=0;t>r;++r){var a=e[r];if(a){var s=\"-\"==a[0]?-1:1;-1===s&&(a=a.substring(1)),i(this.options,a,s)}}return this}if(u.isObject(e)){for(var c=u.keys(e),r=0;r<c.length;++r){var a=c[r];i(this.options,a,e[a])}return this}throw new TypeError(\"Invalid sort() argument. Must be a string, object, or array.\")},[\"limit\",\"skip\",\"maxScan\",\"batchSize\",\"comment\"].forEach(function(e){r.prototype[e]=function(t){return this._validate(e),this.options[e]=t,this}}),r.prototype.maxTime=function(e){return this._validate(\"maxTime\"),this.options.maxTimeMS=e,this},r.prototype.snapshot=function(){return this._validate(\"snapshot\"),this.options.snapshot=arguments.length?!!arguments[0]:!0,this},r.prototype.hint=function(){if(0===arguments.length)return this;this._validate(\"hint\");var e=arguments[0];if(u.isObject(e)){var t=this.options.hint||(this.options.hint={});for(var n in e)t[n]=e[n];return this}throw new TypeError(\"Invalid hint. \"+e)},r.prototype.slaveOk=function(e){return this.options.slaveOk=arguments.length?!!e:!0,this},r.prototype.read=function(e){return arguments.length>1&&!r.prototype.read.deprecationWarningIssued&&(console.error(\"Deprecation warning: 'tags' argument is not supported anymore in Query.read() method. Please use mongodb.ReadPreference object instead.\"),r.prototype.read.deprecationWarningIssued=!0),this.options.readPreference=u.readPref(e),this},r.prototype.tailable=function(){return this._validate(\"tailable\"),this.options.tailable=arguments.length?!!arguments[0]:!0,this},r.prototype.merge=function(e){if(!e)return this;if(!r.canMerge(e))throw new TypeError(\"Invalid argument. Expected instanceof mquery or plain object\");return e instanceof r?(e._conditions&&u.merge(this._conditions,e._conditions),e._fields&&(this._fields||(this._fields={}),u.merge(this._fields,e._fields)),e.options&&(this.options||(this.options={}),u.merge(this.options,e.options)),e._update&&(this._update||(this._update={}),u.mergeClone(this._update,e._update)),e._distinct&&(this._distinct=e._distinct),this):(u.merge(this._conditions,e),this)},r.prototype.find=function(e,t){if(this.op=\"find\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"find\",this._collection.collectionName,n,i),t=this._wrapCallback(\"find\",t,{conditions:n,options:i}),this._collection.find(n,i,u.tick(t)),this},r.prototype.cursor=function(e){if(this.op){if(\"find\"!==this.op)throw new TypeError(\".cursor only support .find method\")}else this.find(e);var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"findCursor\",this._collection.collectionName,t,n),this._collection.findCursor(t,n)},r.prototype.findOne=function(e,t){if(this.op=\"findOne\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"findOne\",this._collection.collectionName,n,i),t=this._wrapCallback(\"findOne\",t,{conditions:n,options:i}),this._collection.findOne(n,i,u.tick(t)),this},r.prototype.count=function(e,t){if(this.op=\"count\",this._validate(),\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return p(\"count\",this._collection.collectionName,n,i),t=this._wrapCallback(\"count\",t,{conditions:n,options:i}),this._collection.count(n,i,u.tick(t)),this},r.prototype.distinct=function(e,t,n){if(this.op=\"distinct\",this._validate(),!n){switch(typeof t){case\"function\":n=t,\"string\"==typeof e&&(t=e,e=void 0);break;case\"undefined\":case\"string\":break;default:throw new TypeError(\"Invalid `field` argument. Must be string or function\")}switch(typeof e){case\"function\":n=e,e=t=void 0;break;case\"string\":t=e,e=void 0}}if(\"string\"==typeof t&&(this._distinct=t),r.canMerge(e)&&this.merge(e),!n)return this;if(!this._distinct)throw new Error(\"No value for `distinct` has been declared\");var i=this._conditions,o=this._optionsForExec();return p(\"distinct\",this._collection.collectionName,i,o),n=this._wrapCallback(\"distinct\",n,{conditions:i,options:o}),this._collection.distinct(this._distinct,i,o,u.tick(n)),this},r.prototype.update=function(e,t,n,i){this.op=\"update\";var o;switch(arguments.length){case 3:\"function\"==typeof n&&(i=n,n=void 0);break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0);break;case 1:switch(typeof e){case\"function\":i=e,e=n=t=void 0;break;case\"boolean\":o=e,e=void 0;break;default:t=e,e=n=void 0}}if(r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),u.isObject(n)&&this.setOptions(n),!o&&!i)return this;if(!this._update||!this.options.overwrite&&0===u.keys(this._update).length)return i&&u.soon(i.bind(null,null,0)),this;n=this._optionsForExec(),i||(n.safe=!1);var e=this._conditions;return t=this._updateForExec(),p(\"update\",this._collection.collectionName,e,t,n),i=this._wrapCallback(\"update\",i,{conditions:e,doc:t,options:n}),this._collection.update(e,t,n,u.tick(i)),this},r.prototype.remove=function(e,t){this.op=\"remove\";var n;if(\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)?this.merge(e):!0===e&&(n=e,e=void 0),!n&&!t)return this;var i=this._optionsForExec();t||(i.safe=!1);var o=this._conditions;return p(\"remove\",this._collection.collectionName,o,i),t=this._wrapCallback(\"remove\",t,{conditions:o,options:i}),this._collection.remove(o,i,u.tick(t)),this},r.prototype.findOneAndUpdate=function(e,t,n,i){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(i=n,n={});break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(i=e,e=n=t=void 0):(t=e,e=n=void 0)}return r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),i?this._findAndModify(\"update\",i):this},r.prototype.findOneAndRemove=function(e,t,n){return this.op=\"findOneAndRemove\",this._validate(),\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0),r.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?this._findAndModify(\"remove\",n):this},r.prototype._findAndModify=function(e,t){s.equal(\"function\",typeof t);var n,r,i=this._optionsForExec();if(\"remove\"==e)i.remove=!0;else if(\"new\"in i||(i[\"new\"]=!0),\"upsert\"in i||(i.upsert=!1),r=this._updateForExec(),!r){if(!i.upsert)return this.findOne(t);r={$set:{}}}var n=this._fieldsForExec();n&&(i.fields=n);var o=this._conditions;return p(\"findAndModify\",this._collection.collectionName,o,r,i),t=this._wrapCallback(\"findAndModify\",t,{conditions:o,doc:r,options:i}),this._collection.findAndModify(o,r,i,u.tick(t)),this},r.prototype._wrapCallback=function(e,t,n){var i=this._traceFunction||r.traceFunction;if(i){n.collectionName=this._collection.collectionName;var o=i&&i.call(null,e,n,this),a=(new Date).getTime();return function(e,n){if(o){var r=(new Date).getTime()-a;o.call(null,e,n,r)}t&&t.apply(null,arguments)}}return t},r.prototype.setTraceFunction=function(e){return this._traceFunction=e,this},r.prototype.exec=function(e,t){switch(typeof e){case\"function\":t=e,e=null;break;case\"string\":this.op=e}s.ok(this.op,\"Missing query type: (find, update, etc)\"),\"update\"!=this.op&&\"remove\"!=this.op||t||(t=!0);var n=this;return\"function\"!=typeof t?new r.Promise(function(e,t){n[n.op](function(r,i){r?t(r):e(i),n=e=t=null})}):void this[this.op](t)},r.prototype.thunk=function(){var e=this;return function(t){e.exec(t)}},r.prototype.then=function(e,t){var n=this,i=new r.Promise(function(e,t){n.exec(function(r,i){r?t(r):e(i),n=e=t=null})});return i.then(e,t)},r.prototype.stream=function(e){if(\"find\"!=this.op)throw new Error(\"stream() is only available for find\");var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"stream\",this._collection.collectionName,t,n,e),this._collection.findStream(t,n,e)},r.prototype.selected=function(){return!!(this._fields&&Object.keys(this._fields).length>0)},r.prototype.selectedInclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!1;if(this._fields[n]&&\"object\"==typeof this._fields[n]&&this._fields[n].$meta)return!1}return!0},r.prototype.selectedExclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!0}return!1},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&u.mergeClone(this._update,e._update):u.mergeClone(this._update,e)},r.prototype._optionsForExec=function(){var e=u.clone(this.options,{retainKeyOrder:!0});return e},r.prototype._fieldsForExec=function(){return u.clone(this._fields,{retainKeyOrder:!0})},r.prototype._updateForExec=function(){for(var e=u.clone(this._update,{retainKeyOrder:!0}),t=u.keys(e),n=t.length,r={};n--;){var i=t[n];this.options.overwrite?r[i]=e[i]:\"$\"!==i[0]?(r.$set||(e.$set?r.$set=e.$set:r.$set={}),r.$set[i]=e[i],t.splice(n,1),~t.indexOf(\"$set\")||t.push(\"$set\")):\"$set\"===i?r.$set||(r[i]=e[i]):r[i]=e[i]}return this._compiledUpdate=r,r},r.prototype._ensurePath=function(e){if(!this._path){var t=e+\"() must be used after where() when called with these arguments\";throw new Error(t)}},r.permissions=e(\"./permissions\"),r._isPermitted=function(e,t){var n=r.permissions[t];return n?!0!==n[e]:!0},r.prototype._validate=function(e){var t,n;if(void 0===e){if(n=r.permissions[this.op],\"function\"!=typeof n)return!0;t=n(this)}else r._isPermitted(e,this.op)||(t=e);if(t)throw new Error(t+\" cannot be used with \"+this.op)},r.canMerge=function(e){return e instanceof r||u.isObject(e)},r.setGlobalTraceFunction=function(e){r.traceFunction=e},r.utils=u,r.env=e(\"./env\"),r.Collection=e(\"./collection\"),r.BaseCollection=e(\"./collection/collection\"),r.Promise=e(\"bluebird\"),t.exports=n=r},{\"./collection\":309,\"./collection/collection\":308,\"./env\":311,\"./permissions\":313,\"./utils\":314,assert:void 0,bluebird:318,debug:83,sliced:353,util:void 0}],313:[function(e,t,n){\"use strict\";var r=n;r.distinct=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.distinct);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.distinct.select=r.distinct.slice=r.distinct.sort=r.distinct.limit=r.distinct.skip=r.distinct.batchSize=r.distinct.comment=r.distinct.maxScan=r.distinct.snapshot=r.distinct.hint=r.distinct.tailable=!0,r.findOneAndUpdate=r.findOneAndRemove=function(e){var t,n=Object.keys(r.findOneAndUpdate);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.findOneAndUpdate.limit=r.findOneAndUpdate.skip=r.findOneAndUpdate.batchSize=r.findOneAndUpdate.maxScan=r.findOneAndUpdate.snapshot=r.findOneAndUpdate.hint=r.findOneAndUpdate.tailable=r.findOneAndUpdate.comment=!0,r.count=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.count);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.count.slice=r.count.batchSize=r.count.comment=r.count.maxScan=r.count.snapshot=r.count.tailable=!0},{}],314:[function(e,t,n){(function(t){\"use strict\";function r(e){function t(){}if(arguments.length>1)throw new Error(\"Adding properties is not supported\");return t.prototype=e,new t}var i=e(\"regexp-clone\"),o=n.clone=function u(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return n.cloneArray(e,t);if(e.constructor){if(/ObjectI[dD]$/.test(e.constructor.name))return\"function\"==typeof e.clone?e.clone():new e.constructor(e.id);if(\"ReadPreference\"===e._type&&e.isValid&&e.toObject)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.mode,u(e.tags,t));if(\"Binary\"==e._bsontype&&e.buffer&&e.value)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.value(!0),e.sub_type);if(\"Date\"===e.constructor.name||\"Function\"===e.constructor.name)return new e.constructor(+e);if(\"RegExp\"===e.constructor.name)return i(e);if(\"Buffer\"===e.constructor.name)return n.cloneBuffer(e)}return s(e)?n.cloneObject(e,t):e.valueOf?e.valueOf():void 0};n.cloneObject=function(e,t){var n,r,i,a,s,c=t&&t.retainKeyOrder,u=t&&t.minimize,p={};if(c)for(a in e)i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);else for(r=Object.keys(e),s=r.length;s--;)a=r[s],i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);return u?n&&p:p},n.cloneArray=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(o(e[r],t));return n},n.tick=function(e){return\"function\"==typeof e?function(){var t=arguments;c(function(){e.apply(this,t)})}:void 0},n.merge=function p(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])?p(e[r],t[r]):e[r]=t[r]},n.mergeClone=function l(e,t){for(var r,i=Object.keys(t),a=i.length;a--;)r=i[a],\"undefined\"==typeof e[r]?e[r]=o(t[r],{retainKeyOrder:1}):n.isObject(t[r])?l(e[r],t[r]):e[r]=o(t[r],{retainKeyOrder:1})};n.readPref=function(e){switch(e){case\"p\":e=\"primary\";break;case\"pp\":e=\"primaryPreferred\";break;case\"s\":e=\"secondary\";break;case\"sp\":e=\"secondaryPreferred\";break;case\"n\":e=\"nearest\"}return e};var a=Object.prototype.toString,s=(n.toString=function(e){return a.call(e)},n.isObject=function(e){return\"[object Object]\"==n.toString(e)});n.isArray=function(e){return Array.isArray(e)||\"object\"==typeof e&&\"[object Array]\"==n.toString(e)};n.keys=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.create=\"function\"==typeof Object.create?Object.create:r,n.inherits=function(e,t){e.prototype=n.create(t.prototype),e.prototype.constructor=e};var c=n.soon=\"function\"==typeof setImmediate?setImmediate:process.nextTick;n.cloneBuffer=function(e){var n=new t(e.length);return e.copy(n,0,0,e.length),n},n.isArgumentsObject=function(e){return\"[object Arguments]\"===Object.prototype.toString.call(e)}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"regexp-clone\":392}],315:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],316:[function(e,t,n){\"use strict\";function r(){this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u.isStatic?u(this.drainQueues):u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule.js\"),p=e(\"./queue.js\"),l=e(\"./util.js\");r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},r.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")}},l.hasDevTools?(u.isStatic&&(u=function(e){setTimeout(e,0)}),r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=new r,t.exports.firstLineError=s},{\"./queue.js\":342,\"./schedule.js\":345,\"./util.js\":352}],317:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},o=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,p),s._then(o,a,c._progress,c,p)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072===(131072&this._bitField)},e.bind=function(r,i){var o=n(r),a=new e(t);return a._setBoundTo(o),o instanceof e?o._then(function(){a._resolveCallback(i)},a._reject,a._progress,a,null):a._resolveCallback(i),a}}},{}],318:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise.js\")();o.noConflict=r,t.exports=o},{\"./promise.js\":337}],319:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util.js\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a;\n}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],320:[function(e,t,n){\"use strict\";t.exports=function(t){var n=e(\"./errors.js\"),r=e(\"./async.js\"),i=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{\"./async.js\":316,\"./errors.js\":327}],321:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){this._parent=e;var n=this._length=1+(void 0===e?0:e._length);x(this,t),n>32&&this.uncycle()}function n(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function r(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function i(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function o(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=h.test(r)||\"    (No stack trace)\"===r,o=i&&g(r);i&&!o&&(v&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function a(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||h.test(r))break}return n>0&&(t=t.slice(n)),t}function s(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e.toString();var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+c(t)+\">, no stack trace)\"}function c(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function u(e){var t=e.match(y);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}var p,l=e(\"./async.js\"),f=e(\"./util.js\"),d=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](main|debug|zalgo|instrumented)/,h=null,m=null,v=!1;f.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var a=t.parseStackAndMessage(e),s=a.message,c=[a.stack],u=this;void 0!==u;)c.push(o(u.stack.split(\"\\n\"))),u=u._parent;i(c),r(c),f.notEnumerableProp(e,\"stack\",n(s,c)),f.notEnumerableProp(e,\"__stackCleaned__\",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?a(e):[\"    (No stack trace)\"],{message:n,stack:o(t)}},t.formatAndLogError=function(e,t){if(\"undefined\"!=typeof console){var n;if(\"object\"==typeof e||\"function\"==typeof e){var r=e.stack;n=t+m(r,e)}else n=t+String(e);\"function\"==typeof p?p(n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(n)}},t.unhandledRejection=function(e){t.formatAndLogError(e,\"^--- With additional stack trace: \")},t.isSupported=function(){return\"function\"==typeof x},t.fireRejectionEvent=function(e,n,r,i){var o=!1;try{\"function\"==typeof n&&(o=!0,\"rejectionHandled\"===e?n(i):n(r,i))}catch(a){l.throwLater(a)}var s=!1;try{s=w(e,r,i)}catch(a){s=!0,l.throwLater(a)}var c=!1;if(b)try{c=b(e.toLowerCase(),{reason:r,promise:i})}catch(a){c=!0,l.throwLater(a)}s||o||c||\"unhandledRejection\"!==e||t.formatAndLogError(r,\"Unhandled rejection \")};var g=function(){return!1},y=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;t.setBounds=function(e,n){if(t.isSupported()){for(var r,i,o=e.stack.split(\"\\n\"),a=n.stack.split(\"\\n\"),s=-1,c=-1,p=0;p<o.length;++p){var l=u(o[p]);if(l){r=l.fileName,s=l.line;break}}for(var p=0;p<a.length;++p){var l=u(a[p]);if(l){i=l.fileName,c=l.line;break}}0>s||0>c||!r||!i||r!==i||s>=c||(g=function(e){if(d.test(e))return!0;var t=u(e);return!!(t&&t.fileName===r&&s<=t.line&&t.line<=c)})}};var b,x=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():s(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,h=e,m=t;var n=Error.captureStackTrace;return g=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return h=/@/,m=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(m=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?s(t):t.toString()},null):(h=e,m=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}([]),w=function(){if(f.isNode)return function(e,t,n){return\"rejectionHandled\"===e?process.emit(e,n):process.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent(\"test\");e=n instanceof CustomEvent}catch(r){}if(!e)try{var i=document.createEvent(\"CustomEvent\");i.initCustomEvent(\"testingtheevent\",!1,!0,{}),self.dispatchEvent(i)}catch(r){t=!1}t&&(b=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent(\"CustomEvent\"),r.initCustomEvent(t,!1,!0,n)),r?!self.dispatchEvent(r):!1});var o={};return o.unhandledRejection=\"onunhandledRejection\".toLowerCase(),o.rejectionHandled=\"onrejectionHandled\".toLowerCase(),function(e,t,n){var r=o[e],i=self[r];return i?(\"rejectionHandled\"===e?i.call(self,n):i.call(self,t,n),!0):!1}}();return\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(p=function(e){console.warn(e)},f.isNode&&process.stderr.isTTY?p=function(e){process.stderr.write(\"\u001b[31m\"+e+\"\u001b[39m\\n\")}:f.isNode||\"string\"!=typeof(new Error).stack||(p=function(e){console.warn(\"%c\"+e,\"color: red\")})),t}},{\"./async.js\":316,\"./util.js\":352}],322:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t,n){this._instances=e,this._callback=t,this._promise=n}function r(e,t){var n={},r=a(e).call(n,t);if(r===s)return r;var i=c(n);return i.length?(s.e=new u(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"),s):r}var i=e(\"./util.js\"),o=e(\"./errors.js\"),a=i.tryCatch,s=i.errorObj,c=e(\"./es5.js\").keys,u=o.TypeError;return n.prototype.doFilter=function(e){for(var n=this._callback,i=this._promise,o=i._boundValue(),c=0,u=this._instances.length;u>c;++c){var p=this._instances[c],l=p===Error||null!=p&&p.prototype instanceof Error;if(l&&e instanceof p){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}if(\"function\"==typeof p&&!l){var d=r(p,e);if(d===s){e=s.e;break}if(d){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}}}return t.e=e,t},n}},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],323:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){function r(){this._trace=new t(o())}function i(){return n()?new r:void 0}function o(){var e=a.length-1;return e>=0?a[e]:void 0}var a=[];return r.prototype._pushContext=function(){n()&&void 0!==this._trace&&a.push(this._trace)},r.prototype._popContext=function(){n()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=o,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,i}},{}],324:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r,i,o=t._getDomain,a=e(\"./async.js\"),s=e(\"./errors.js\").Warning,c=e(\"./util.js\"),u=c.canAttachTrace,p=c.isNode&&(!!process.env.BLUEBIRD_DEBUG||\"development\"===process.env.NODE_ENV);return c.isNode&&0==process.env.BLUEBIRD_DEBUG&&(p=!1),p&&a.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0===(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),a.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent(\"rejectionHandled\",r,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent(\"unhandledRejection\",i,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return p&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(p&&u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);c.notEnumerableProp(e,\"stack\",i.message+\"\\n\"+i.stack.join(\"\\n\")),c.notEnumerableProp(e,\"__stackCleaned__\",!0)}}},t.prototype._warn=function(e){var t=new s(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+\"\\n\"+i.stack.join(\"\\n\")}n.formatAndLogError(t,\"\")},t.onPossiblyUnhandledRejection=function(e){var t=o();i=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(a.haveItemsQueued()&&p===!1)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/DT1qyG\\n\");p=n.isSupported(),p&&a.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return p&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},p=!1),function(){return p}}},{\"./async.js\":316,\"./errors.js\":327,\"./util.js\":352}],325:[function(e,t,n){\"use strict\";var r=e(\"./util.js\"),i=r.isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},r=function(){},o=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return void 0===n?this.then(r):i(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return void 0===e?this.then(o):i(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],326:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],327:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5.js\"),c=s.freeze,u=e(\"./util.js\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),l(Error,\"__BluebirdErrorTypes__\",x)),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5.js\":328,\"./util.js\":352}],328:[function(e,t,n){arguments[4][27][0].apply(n,arguments)},{dup:27}],329:[function(e,t,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],330:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(){return this}function o(){throw this}function a(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,n){var r;return r=f(t)?n?a(t):s(t):n?i:o,e._then(r,d,void 0,t,void 0)}function u(e){var i=this.promise,o=this.handler,a=i._isBound()?o.call(i._boundValue()):o();if(void 0!==a){var s=r(a,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(n.e=e,n):e}function p(e){var n=this.promise,i=this.handler,o=n._isBound()?i.call(n._boundValue(),e):i(e);if(void 0!==o){var a=r(o,n);if(a instanceof t)return a=a._target(),c(a,e,!0)}return e}var l=e(\"./util.js\"),f=l.isPrimitive,d=l.thrower;t.prototype._passThroughHandler=function(e,t){if(\"function\"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:p,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{\"./util.js\":352}],331:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=l(n[o])(e);if(r._popContext(),a===p){r._pushContext();var s=t.reject(p.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function a(e,n,i,o){var a=this._promise=new t(r);a._captureStackTrace(),this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(f):f}var s=e(\"./errors.js\"),c=s.TypeError,u=e(\"./util.js\"),p=u.errorObj,l=u.tryCatch,f=[];a.prototype.promise=function(){return this._promise},a.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},a.prototype._continue=function(e){if(e===p)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(e.done===!0)this._promise._resolveCallback(n);else{var r=i(n,this._promise);if(!(r instanceof t)&&(r=o(r,this._yieldHandlers,this._promise),null===r))return void this._throw(new c(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/4Y4pDk\\n\\n\".replace(\"%s\",n)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));r._then(this._next,this._throw,void 0,this,null)}},a.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},a.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new c(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var n=Object(t).yieldHandler,r=a,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i);return o._generator=t,o._next(void 0),o.promise()}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new c(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");f.push(e)},t.spawn=function(e){if(\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var r=new a(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors.js\":327,\"./util.js\":352}],332:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util.js\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){for(var t=[],n=1;e>=n;++n)t.push(\"holder.p\"+n);return new Function(\"holder\",\"                                      \\n            'use strict';                                                    \\n            var callback = holder.fn;                                        \\n            return callback(values);                                         \\n            \".replace(/values/g,t.join(\", \")))},f=[],d=[void 0],h=1;5>=h;++h)f.push(p(h)),d.push(l(h));var m=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};m.prototype.callers=d,m.prototype.checkFulfillment=function(e){var t=this.now;t++;var n=this.total;if(t>=n){var r=this.callers[n];e._pushContext();var i=c(r)(this);e._popContext(),i===u?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],6>a&&s)){var c=new t(i);c._captureStackTrace();for(var u=new m(a,e),p=f,l=0;a>l;++l){var d=r(arguments[l],c);d instanceof t?(d=d._target(),d._isPending()?d._then(p[l],o,void 0,c,u):d._isFulfilled()?p[l].call(c,d._value(),u):c._reject(d._reason())):p[l].call(c,d,u)}return c}for(var h=arguments.length,v=new Array(h),g=0;h>g;++g)v[g]=arguments[g];e&&v.pop();var c=new n(v).promise();return void 0!==e?c.spread(e):c}}},{\"./util.js\":352}],333:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:m,p.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,n,r){var i=\"object\"==typeof n&&null!==n?n.concurrency:0;return i=\"number\"==typeof i&&isFinite(i)&&i>=1?i:0,new a(e,t,i,r)}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj,h={},m=[];l.inherits(a,n),a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===h){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var p=f(c).call(u,e,n,o);if(this._promise._popContext(),p===d)return this._reject(p.e);var l=i(p,this._promise);if(l instanceof t){if(l=l._target(),l._isPending())return s>=1&&this._inFlight++,r[n]=h,l._proxyPromiseArray(this,n);if(!l._isFulfilled())return this._reject(l._reason());p=l._value()}r[n]=p}var m=++this._totalResolved;m>=o&&(null!==a?this._filter(r,a):this._resolve(r))},a.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return\"function\"!=typeof e?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(this,e,t,null).promise()},t.map=function(e,t,n,i){return\"function\"!=typeof t?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(e,t,n,i).promise()}}},{\"./async.js\":316,\"./util.js\":352}],334:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util.js\"),a=o.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e,r,s){if(\"function\"!=typeof e)return i(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var c=new t(n);c._captureStackTrace(),c._pushContext();var u=o.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{\"./util.js\":352}],335:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=n._target(),i=r._getCarriedStackTrace();i.cause=e,e=i}var o=s(t).call(n._boundValue(),e);o===c&&a.throwLater(o.e)}var o=e(\"./util.js\"),a=e(\"./async.js\"),s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./async.js\":316,\"./util.js\":352}],336:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r=e(\"./util.js\"),i=e(\"./async.js\"),o=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,i=e.handler,s=e.promise,c=e.receiver,u=o(i).call(c,n);if(u===a){if(null!=u.e&&\"StopProgressPropagation\"!==u.e.name){var p=r.canAttachTrace(u.e)?u.e:new Error(r.toString(u.e));s._attachExtraTrace(p),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),o=this._progress,a=0;r>a;a++){var s=this._progressHandlerAt(a),c=this._promiseAt(a);if(c instanceof t)\"function\"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(a),value:e}):i.invoke(o,c,e);else{var u=this._receiverAt(a);\"function\"==typeof s?s.call(u,e,c):u instanceof n&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{\"./async.js\":316,\"./util.js\":352}],337:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){if(\"function\"!=typeof e)throw new l(\"the promise constructor requires a resolver function\\n\\n    See http://goo.gl/EC22Yn\\n\");if(this.constructor!==t)throw new l(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/KsIlge\\n\");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==f&&this._resolveFromResolver(e)}function n(e){var n=new t(f);n._fulfillmentHandler0=e,n._rejectionHandler0=e,n._progressHandler0=e,n._promise0=e,n._receiver0=e,n._settledValue=e}var r,i=function(){return new l(\"circular promise resolution chain\\n\\n    See http://goo.gl/LhFpo0\\n\")},o=function(){return new t.PromiseInspection(this._target())},a=function(e){return t.reject(new l(e))},s=e(\"./util.js\");r=s.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(t,\"_getDomain\",r);var c={},u=e(\"./async.js\"),p=e(\"./errors.js\"),l=t.TypeError=p.TypeError;t.RangeError=p.RangeError,t.CancellationError=p.CancellationError,t.TimeoutError=p.TimeoutError,t.OperationalError=p.OperationalError,t.RejectionError=p.OperationalError,t.AggregateError=p.AggregateError;var f=function(){},d={},h={e:null},m=e(\"./thenables.js\")(t,f),v=e(\"./promise_array.js\")(t,f,m,a),g=e(\"./captured_trace.js\")(),y=e(\"./debuggability.js\")(t,g),b=e(\"./context.js\")(t,g,y),x=e(\"./catch_filter.js\")(h),w=e(\"./promise_resolver.js\"),_=w._nodebackForPromise,k=s.errorObj,j=s.tryCatch;return t.prototype.toString=function(){return\"[object Promise]\"},t.prototype.caught=t.prototype[\"catch\"]=function(e){var n=arguments.length;if(n>1){var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var a=arguments[r];if(\"function\"!=typeof a)return t.reject(new l(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"));i[o++]=a}i.length=o,e=arguments[r];var s=new x(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},t.prototype.reflect=function(){return this._then(o,o,void 0,this,void 0)},t.prototype.then=function(e,t,n){if(y()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var r=\".then() only accepts functions but was passed: \"+s.classString(e);arguments.length>1&&(r+=\", \"+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},t.prototype.done=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);r._setIsFinal()},t.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,d,void 0)},t.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},t.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},t.prototype.all=function(){return new v(this).promise()},t.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},t.is=function(e){return e instanceof t},t.fromNode=function(e){var n=new t(f),r=j(e)(_(n));return r===k&&n._rejectCallback(r.e,!0,!0),n},t.all=function(e){return new v(e).promise()},t.defer=t.pending=function(){var e=new t(f);return new w(e)},t.cast=function(e){var n=m(e);if(!(n instanceof t)){var r=n;n=new t(f),n._fulfillUnchecked(r)}return n},t.resolve=t.fulfilled=t.cast,t.reject=t.rejected=function(e){var n=new t(f);return n._captureStackTrace(),n._rejectCallback(e,!0),n},t.setScheduler=function(e){if(\"function\"!=typeof e)throw new l(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var t=u._schedule;return u._schedule=e,t},t.prototype._then=function(e,n,i,o,a){var s=void 0!==a,c=s?a:new t(f);s||(c._propagateFrom(this,5),c._captureStackTrace());var p=this._target();p!==this&&(void 0===o&&(o=this._boundTo),s||c._setIsMigrated());var l=p._addCallbacks(e,n,i,c,o,r());return p._isResolved()&&!p._isSettlePromisesQueued()&&u.invoke(p._settlePromiseAtPostResolution,p,l),c},t.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},t.prototype._length=function(){return 131071&this._bitField},t.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},t.prototype._isFollowing=function(){return 536870912===(536870912&this._bitField)},t.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},t.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},t.prototype._setRejected=function(){this._bitField=134217728|this._bitField},t.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},t.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},t.prototype._isFinal=function(){return(33554432&this._bitField)>0},t.prototype._cancellable=function(){return(67108864&this._bitField)>0},t.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},t.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},t.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},t.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},t.prototype._isMigrated=function(){return(4194304&this._bitField)>0},t.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},t.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},t.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},t.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},t.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e},t.prototype._migrateCallbacks=function(e,n){var r=e._fulfillmentHandlerAt(n),i=e._rejectionHandlerAt(n),o=e._progressHandlerAt(n),a=e._promiseAt(n),s=e._receiverAt(n);a instanceof t&&a._setIsMigrated(),void 0===s&&(s=c),this._addCallbacks(r,i,o,a,s,null)},t.prototype._addCallbacks=function(e,t,n,r,i,o){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==i&&(this._receiver0=i),\"function\"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===o?e:o.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===o?t:o.bind(t)),\"function\"==typeof n&&(this._progressHandler0=null===o?n:o.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=i,\"function\"==typeof e&&(this[s+0]=null===o?e:o.bind(e)),\"function\"==typeof t&&(this[s+1]=null===o?t:o.bind(t)),\"function\"==typeof n&&(this[s+2]=null===o?n:o.bind(n))}return this._setLength(a+1),a},t.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},t.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},t.prototype._resolveCallback=function(e,n){if(!this._isFollowingOrFulfilledOrRejected()){\nif(e===this)return this._rejectCallback(i(),!1,!0);var r=m(e,this);if(!(r instanceof t))return this._fulfill(e);var o=1|(n?4:0);this._propagateFrom(r,o);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;s>c;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},t.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),i=r===e;this._attachExtraTrace(r,t?i:!1),this._reject(e,i?void 0:r)},t.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=j(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,n),t=null)});n=!1,this._popContext(),void 0!==r&&r===k&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},t.prototype._settlePromiseFromHandler=function(e,t,n,r){if(!r._isRejected()){r._pushContext();var o;if(o=t!==d||this._isRejected()?j(e).call(t,n):j(e).apply(this._boundValue(),n),r._popContext(),o===k||o===r||o===h){var a=o===r?i():o.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(o)}},t.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},t.prototype._followee=function(){return this._rejectionHandler0},t.prototype._setFollowee=function(e){this._rejectionHandler0=e},t.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},t.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},t.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},t.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},t.prototype._settlePromiseAt=function(e){var n=this._promiseAt(e),r=n instanceof t;if(r&&n._isMigrated())return n._unsetIsMigrated(),u.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,a=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),\"function\"==typeof i?r?this._settlePromiseFromHandler(i,s,a,n):i.call(s,a,n):s instanceof v?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(a,n):s._promiseRejected(a,n)):r&&(this._isFulfilled()?n._fulfill(a):n._reject(a,o)),e>=4&&4===(31&e)&&u.invokeLater(this._setLength,this,0)},t.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},t.prototype._isSettlePromisesQueued=function(){return-1073741824===(-1073741824&this._bitField)},t.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},t.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},t.prototype._queueSettlePromises=function(){u.settlePromises(this),this._setSettlePromisesQueued()},t.prototype._fulfillUnchecked=function(e){if(e===this){var t=i();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},t.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},t.prototype._rejectUnchecked=function(e,t){if(e===this){var n=i();return this._attachExtraTrace(n),this._rejectUnchecked(n)}return this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?void u.throwLater(function(e){throw\"stack\"in e&&u.invokeFirst(g.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),void(this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled()))},t.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;e>t;t++)this._settlePromiseAt(t)},s.notEnumerableProp(t,\"_makeSelfResolutionError\",i),e(\"./progress.js\")(t,v),e(\"./method.js\")(t,f,m,a),e(\"./bind.js\")(t,f,m),e(\"./finally.js\")(t,h,m),e(\"./direct_resolve.js\")(t),e(\"./synchronous_inspection.js\")(t),e(\"./join.js\")(t,v,m,f),t.Promise=t,e(\"./map.js\")(t,v,a,m,f),e(\"./cancel.js\")(t),e(\"./using.js\")(t,a,m,b),e(\"./generators.js\")(t,a,f,m),e(\"./nodeify.js\")(t),e(\"./call_get.js\")(t),e(\"./props.js\")(t,v,m,a),e(\"./race.js\")(t,f,m,a),e(\"./reduce.js\")(t,v,a,m,f),e(\"./settle.js\")(t,v),e(\"./some.js\")(t,v,a),e(\"./promisify.js\")(t,f),e(\"./any.js\")(t),e(\"./each.js\")(t,f),e(\"./timers.js\")(t,f),e(\"./filter.js\")(t,f),s.toFastProperties(t),s.toFastProperties(t.prototype),n({a:1}),n({b:2}),n({c:3}),n(1),n(function(){}),n(void 0),n(!1),n(new t(f)),g.setBounds(u.firstLineError,s.lastLineError),t}},{\"./any.js\":315,\"./async.js\":316,\"./bind.js\":317,\"./call_get.js\":319,\"./cancel.js\":320,\"./captured_trace.js\":321,\"./catch_filter.js\":322,\"./context.js\":323,\"./debuggability.js\":324,\"./direct_resolve.js\":325,\"./each.js\":326,\"./errors.js\":327,\"./filter.js\":329,\"./finally.js\":330,\"./generators.js\":331,\"./join.js\":332,\"./map.js\":333,\"./method.js\":334,\"./nodeify.js\":335,\"./progress.js\":336,\"./promise_array.js\":338,\"./promise_resolver.js\":339,\"./promisify.js\":340,\"./props.js\":341,\"./race.js\":343,\"./reduce.js\":344,\"./settle.js\":346,\"./some.js\":347,\"./synchronous_inspection.js\":348,\"./thenables.js\":349,\"./timers.js\":350,\"./using.js\":351,\"./util.js\":352}],338:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){switch(e){case-2:return[];case-3:return{}}}function a(e){var r,i=this._promise=new t(n);e instanceof t&&(r=e,i._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e(\"./util.js\"),c=s.isArray;return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function u(e,n){var a=r(this._values,this._promise);if(a instanceof t){if(a=a._target(),this._values=a,!a._isFulfilled())return a._isPending()?void a._then(u,this._reject,void 0,this,n):void this._reject(a._reason());if(a=a._value(),!c(a)){var s=new t.TypeError(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");return void this.__hardReject__(s)}}else if(!c(a))return void this._promise._reject(i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\")._reason());if(0===a.length)return void(-5===n?this._resolveEmptyArray():this._resolve(o(n)));var p=this.getActualLength(a.length);this._length=p,this._values=this.shouldCopyValues()?new Array(p):this._values;for(var l=this._promise,f=0;p>f;++f){var d=this._isResolved(),h=r(a[f],l);h instanceof t?(h=h._target(),d?h._ignoreRejections():h._isPending()?h._proxyPromiseArray(this,f):h._isFulfilled()?this._promiseFulfilled(h._value(),f):this._promiseRejected(h._reason(),f)):d||this._promiseFulfilled(h,f)}},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{\"./util.js\":352}],339:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&d.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new l(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=d.keys(e),i=0;i<n.length;++i){var o=n[i];h.test(o)||(t[o]=e[o])}return t}return s.markAsOriginatingFromRejection(e),e}function o(e){return function(t,n){if(null!==e){if(t){var r=i(c(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;o>s;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}var a,s=e(\"./util.js\"),c=s.maybeWrapAsError,u=e(\"./errors.js\"),p=u.TimeoutError,l=u.OperationalError,f=s.haveGetters,d=e(\"./es5.js\"),h=/^(?:name|message|stack|cause)$/;if(a=f?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=o(e),this.callback=this.asCallback},f){var m={get:function(){return o(this.promise)}};d.defineProperty(a.prototype,\"asCallback\",m),d.defineProperty(a.prototype,\"callback\",m)}a._nodebackForPromise=o,a.prototype.toString=function(){return\"[object PromiseResolver]\"},a.prototype.resolve=a.prototype.fulfill=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._resolveCallback(e)},a.prototype.reject=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._rejectCallback(e)},a.prototype.progress=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._progress(e)},a.prototype.cancel=function(e){this.promise.cancel(e)},a.prototype.timeout=function(){this.reject(new p(\"timeout\"))},a.prototype.isResolved=function(){return this.promise.isResolved()},a.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=a},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],340:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/iWrZbw\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o){function a(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof c&&this!==s?this[c]:e,u=h(o);try{a.apply(i,m(arguments,u))}catch(p){o._rejectCallback(v(p),!0,!0)}return o}var s=function(){return this}(),c=e;return\"string\"==typeof c&&(e=o),d.notEnumerableProp(a,\"__isPromisified__\",!0),a}function u(e,t,n,r){for(var i=new RegExp(j(t)+\"$\"),o=s(e,t,i,n),a=0,c=o.length;c>a;a+=2){var u=o[a],p=o[a+1],l=u+t;if(r===C)e[l]=C(u,f,u,p,t);else{var h=r(p,function(){return C(u,f,u,p,t)});d.notEnumerableProp(h,\"__isPromisified__\",!0),e[l]=h}}return d.toFastProperties(e),e}function p(e,t){return C(e,t,void 0,e)}var l,f={},d=e(\"./util.js\"),h=e(\"./promise_resolver.js\")._nodebackForPromise,m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o){function a(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=p?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function s(){for(var e=\"\",t=0;t<u.length;++t)e+=\"case \"+u[t]+\":\"+a(u[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",p?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var c=Math.max(0,A(o)-1),u=S(c),p=\"string\"==typeof e||r===f,l=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\";return new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",\"'use strict';                            \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise);                      \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n        \".replace(\"Parameters\",O(c)).replace(\"[CodeForSwitchCase]\",s()).replace(\"[GetFunctionCode]\",l))(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");if(i(e))return e;var n=p(e,arguments.length<2?f:t);return d.copyDescriptors(e,n,r),n},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/9ITlV0\\n\");t=Object(t);var n=t.suffix;\"string\"!=typeof n&&(n=b);var r=t.filter;\"function\"!=typeof r&&(r=k);var i=t.promisifier;if(\"function\"!=typeof i&&(i=C),!d.isIdentifier(n))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/8FZo5V\\n\");for(var o=d.inheritedDataKeys(e),a=0;a<o.length;++a){var s=e[o[a]];\"constructor\"!==o[a]&&d.isClass(s)&&(u(s.prototype,n,r,i),u(s,n,r,i))}return u(e,n,r,i)}}},{\"./errors\":327,\"./promise_resolver.js\":339,\"./util.js\":352}],341:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var t=u.keys(e),n=t.length,r=new Array(2*n),i=0;n>i;++i){var o=t[i];r[i]=e[o],r[i+n]=o}this.constructor$(r)}function a(e){var n,a=r(e);return c(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,4),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/OsFKC8\\n\")}var s=e(\"./util.js\"),c=s.isObject,u=e(\"./es5.js\");s.inherits(o,n),o.prototype._init=function(){this._init$(void 0,-3)},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){for(var r={},i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o];this._resolve(r)}},o.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5.js\":328,\"./util.js\":352}],342:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{dup:40}],343:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(!a(e))return i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");var u=new t(n);void 0!==o&&u._propagateFrom(o,5);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util.js\").isArray,s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util.js\":352}],344:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,n,r,a){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=a===o?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(r,this._promise),l=!1,f=c instanceof t;f&&(c=c._target(),c._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),l=!0)),f||this._zerothIsAccum||(this._gotAccum=!0);var d=u();this._callback=null===d?n:d.bind(n),this._accum=r,l||p.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var o=new a(e,t,n,i);return o.promise()}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj;l.inherits(a,n),a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},a.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var o,a=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),o=0;a>o;++o)p[o]=0;if(o=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,p[n]=0===o?1:2):-1===n?(this._accum=e,this._gotAccum=u=!0):0===o?p[n]=1:(p[n]=2,this._accum=e),u){for(var l,h=this._callback,m=this._promise._boundValue(),v=this._reducingIndex;a>v;++v)if(o=p[v],2!==o){if(1!==o)return;if(e=r[v],this._promise._pushContext(),c?(s.push(e),l=f(h).call(m,e,v,a)):l=f(h).call(m,this._accum,e,v,a),this._promise._popContext(),l===d)return this._reject(l.e);var g=i(l,this._promise);if(g instanceof t){if(g=g._target(),g._isPending())return p[v]=4,g._proxyPromiseArray(this,v);if(!g._isFulfilled())return this._reject(g._reason());l=g._value()}this._reducingIndex=v+1,this._accum=l}else this._reducingIndex=v+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,n,r){return c(e,t,n,r)}}},{\"./async.js\":316,\"./util.js\":352}],345:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")};if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=n.setImmediate,s=process.nextTick;r=i.isRecentNode?function(e){a.call(n,e)}:function(e){s.call(process,e)}}else\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?r=\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:(r=function(e){var t=document.createElement(\"div\"),n=new MutationObserver(e);return n.observe(t,{attributes:!0}),function(){t.classList.toggle(\"foo\")}},r.isStatic=!0);t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":352}],346:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){this.constructor$(e)}var i=t.PromiseInspection,o=e(\"./util.js\");o.inherits(r,n),r.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},r.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},r.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new r(e).promise()},t.prototype.settle=function(){return new r(this).promise()}}},{\"./util.js\":352}],347:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/1wAmHx\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util.js\"),s=e(\"./errors.js\").RangeError,c=e(\"./errors.js\").AggregateError,u=a.isArray;a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors.js\":327,\"./util.js\":352}],348:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0===(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],349:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(u(e)){if(e instanceof t)return e;if(o(e)){var p=new t(n);return e._then(p._fulfillUnchecked,p._rejectUncheckedCheckError,p._progressUnchecked,p,null),p}var l=s.tryCatch(i)(e);if(l===c){r&&r._pushContext();var p=t.reject(l.e);return r&&r._popContext(),p}if(\"function\"==typeof l)return a(e,l,r)}return e}function i(e){return e.then}function o(e){return p.call(e,\"_promise0\")}function a(e,r,i){function o(e){p&&(p._resolveCallback(e),p=null)}function a(e){p&&(p._rejectCallback(e,f,!0),p=null)}function u(e){p&&\"function\"==typeof p._progress&&p._progress(e)}var p=new t(n),l=p;i&&i._pushContext(),p._captureStackTrace(),i&&i._popContext();var f=!0,d=s.tryCatch(r).call(e,o,a,u);return f=!1,p&&d===c&&(p._rejectCallback(d.e,!0,!0),p=null),l}var s=e(\"./util.js\"),c=s.errorObj,u=s.isObject,p={}.hasOwnProperty;return r}},{\"./util.js\":352}],350:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var o=e(\"./util.js\"),a=t.TimeoutError,s=function(e,t){if(e.isPending()){var n;!o.isPrimitive(t)&&t instanceof Error?n=t:(\"string\"!=typeof t&&(t=\"operation timed out\"),n=new a(t)),o.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var i=new t(n);return setTimeout(function(){i._fulfill()},r),i}return r=+r,t.resolve(e)._then(c,null,null,r,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var o=setTimeout(function(){s(n,t)},e);return n._then(r,i,void 0,o,void 0)}}},{\"./util.js\":352}],351:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var n=e.length,r=0;n>r;++r){var i=e[r];if(i.isRejected())return t.reject(i.error());e[r]=i._settledValue}return e}function a(e){setTimeout(function(){throw e},0)}function s(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,n){function i(){if(o>=c)return u.resolve();var p=s(e[o++]);if(p instanceof t&&p._isDisposable()){try{p=r(p._getDisposer().tryDispose(n),e.promise)}catch(l){return a(l)}if(p instanceof t)return p._then(i,a,null,null,null)}i()}var o=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new v;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function p(e){var t=new v;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function f(e,t,n){this.constructor$(e,t,n)}function d(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var h=e(\"./errors.js\").TypeError,m=e(\"./util.js\").inherits,v=t.PromiseInspection;l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},m(f,l),f.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var a,s=!0;2===e&&Array.isArray(arguments[0])?(a=arguments[0],e=a.length,s=!1):(a=arguments,e--);for(var c=new Array(e),f=0;e>f;++f){var h=a[f];if(l.isDisposer(h)){var m=h;h=h.promise(),h._setDisposable(m)}else{var v=r(h);v instanceof t&&(h=v._then(d,null,null,{resources:c,index:f},void 0))}c[f]=h}var g=t.settle(c).then(o).then(function(e){g._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{g._popContext()}return t})._then(u,p,void 0,c,void 0);return c.promise=g,g},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new f(e,this,i());throw new h}}},{\"./errors.js\":327,\"./util.js\":352}],352:[function(e,t,n){\"use strict\";function r(){try{var e=E;return E=null,e.apply(this,arguments)}catch(t){return S.e=t,S}}function i(e){return E=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return!o(e)}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!_.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return _.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=_.names(e.prototype),n=_.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=C.test(e+\"\")&&_.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return T.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){try{p(e,\"isOperational\",!0)}catch(t){}}function y(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function b(e){return e instanceof Error&&_.propertyIsWritable(e,\"stack\")}function x(e){return{}.toString.call(e)}\nfunction w(e,t,n){for(var r=_.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{_.defineProperty(t,o,_.getDescriptor(e,o))}catch(a){}}}var _=e(\"./es5.js\"),k=\"undefined\"==typeof navigator,j=function(){try{var e={};return _.defineProperty(e,\"f\",{get:function(){return 3}}),3===e.f}catch(t){return!1}}(),S={e:{}},E,O=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},A=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(_.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=_.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),C=/this\\s*\\.\\s*\\S+\\s*=/,T=/^[a-z$_][a-z$_0-9]*$/i,I=function(){return\"stack\"in new Error?function(e){return b(e)?e:new Error(v(e))}:function(e){if(b(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),P={isClass:f,isIdentifier:h,inheritedDataKeys:A,getDataPropertyOrDefault:u,thrower:l,isArray:_.isArray,haveGetters:j,notEnumerableProp:p,isPrimitive:o,isObject:a,canEvaluate:k,errorObj:S,tryCatch:i,inherits:O,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:b,ensureErrorObject:I,originatesFromRejection:y,markAsOriginatingFromRejection:g,classString:x,copyDescriptors:w,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:\"undefined\"!=typeof process&&\"[object process]\"===x(process).toLowerCase()};P.isRecentNode=P.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),P.isNode&&P.toFastProperties(process);try{throw new Error}catch(F){P.lastLineError=F}t.exports=P},{\"./es5.js\":328}],353:[function(e,t,n){t.exports=n=e(\"./lib/sliced\")},{\"./lib/sliced\":354}],354:[function(e,t,n){t.exports=function(e,t,n){var r=[],i=e.length;if(0===i)return r;var o=0>t?Math.max(0,t+i):t||0;for(void 0!==n&&(i=0>n?n+i:n);i-- >o;)r[i-o]=e[i];return r}},{}],355:[function(e,t,n){function r(e){if(e=\"\"+e,!(e.length>1e4)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||\"ms\").toLowerCase();switch(r){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return n*l;case\"days\":case\"day\":case\"d\":return n*p;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*u;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*c;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n}}}}function i(e){return e>=p?Math.round(e/p)+\"d\":e>=u?Math.round(e/u)+\"h\":e>=c?Math.round(e/c)+\"m\":e>=s?Math.round(e/s)+\"s\":e+\"ms\"}function o(e){return a(e,p,\"day\")||a(e,u,\"hour\")||a(e,c,\"minute\")||a(e,s,\"second\")||e+\" ms\"}function a(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}var s=1e3,c=60*s,u=60*c,p=24*u,l=365.25*p;t.exports=function(e,t){return t=t||{},\"string\"==typeof e?r(e):t[\"long\"]?o(e):i(e)}},{}],356:[function(e,t,n){function r(e){return this instanceof r?void(this.request=e):new r(e)}var i=e(\"./lib/charset\"),o=e(\"./lib/encoding\"),a=e(\"./lib/language\"),s=e(\"./lib/mediaType\");t.exports=r,r.Negotiator=r,r.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},r.prototype.charsets=function(e){return i(this.request.headers[\"accept-charset\"],e)},r.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},r.prototype.encodings=function(e){return o(this.request.headers[\"accept-encoding\"],e)},r.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},r.prototype.languages=function(e){return a(this.request.headers[\"accept-language\"],e)},r.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},r.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},r.prototype.preferredCharset=r.prototype.charset,r.prototype.preferredCharsets=r.prototype.charsets,r.prototype.preferredEncoding=r.prototype.encoding,r.prototype.preferredEncodings=r.prototype.encodings,r.prototype.preferredLanguage=r.prototype.language,r.prototype.preferredLanguages=r.prototype.languages,r.prototype.preferredMediaType=r.prototype.mediaType,r.prototype.preferredMediaTypes=r.prototype.mediaTypes},{\"./lib/charset\":357,\"./lib/encoding\":358,\"./lib/language\":359,\"./lib/mediaType\":360}],357:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{charset:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.charset});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredCharsets=s},{}],358:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=!1,r=1,o=0,s=0;o<t.length;o++){var c=i(t[o].trim(),o);c&&(t[s++]=c,n=n||a(\"identity\",c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:\"identity\",q:r,i:o}),t.length=s,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{encoding:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.encoding)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.encoding});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredEncodings=s},{}],359:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)(?:-(\\S+?))?\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=n[2],o=r;i&&(o+=\"-\"+i);var a=1;if(n[3])for(var s=n[3].split(\";\"),t=0;t<s.length;t++){var c=s[t].split(\"=\");\"q\"===c[0]&&(a=parseFloat(c[1]))}return{prefix:r,suffix:i,q:a,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e);if(!r)return null;var o=0;if(t.full.toLowerCase()===r.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())o|=1;else if(\"*\"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredLanguages=s},{}],360:[function(e,t,n){function r(e){for(var t=l(e),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/\\s*(\\S+?)\\/([^;\\s]+)\\s*(?:;(.*))?/);if(!n)return null;var r=n[1],i=n[2],o=\"\"+r+\"/\"+i,a={},s=1;return n[3]&&(a=n[3].split(\";\").map(function(e){return e.trim().split(\"=\")}).reduce(function(e,t){var n=t[0].toLowerCase(),r=t[1];return e[n]=r&&'\"'===r[0]&&'\"'===r[r.length-1]?r.substr(1,r.length-2):r,e},a),null!=a.q&&(s=parseFloat(a.q),delete a.q)),{type:r,subtype:i,params:a,q:s,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e),o=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())o|=4;else if(\"*\"!=t.type)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())o|=2;else if(\"*\"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return\"*\"==t.params[e]||(t.params[e]||\"\").toLowerCase()==(r.params[e]||\"\").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*/*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}function p(e){for(var t=0,n=0;-1!==(n=e.indexOf('\"',n));)t++,n++;return t}function l(e){for(var t=e.split(\",\"),n=1,r=0;n<t.length;n++)p(t[r])%2==0?t[++r]=t[n]:t[r]+=\",\"+t[n];return t.length=r+1,t}t.exports=s,s.preferredMediaTypes=s},{}],361:[function(e,t,n){(function(n){!function(r){\"use strict\";function i(){var e=r.crypto||r.msCrypto;if(!p&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=p=function(){return e.getRandomValues(t),t},p()}catch(n){}if(!p){var i=new Array(16);l=p=function(){for(var e,t=0;16>t;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},\"undefined\"!=typeof console&&console.warn&&console.warn(\"[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()\")}}function o(){if(\"function\"==typeof e)try{var t=e(\"crypto\").randomBytes;f=p=t&&function(){return t(16)},p()}catch(n){}}function a(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){16>i&&(t[r+i++]=g[e])});16>i;)t[r+i++]=0;return t}function s(e,t){var n=t||0,r=v;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}function c(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=null!=e.clockseq?e.clockseq:w,a=null!=e.msecs?e.msecs:(new Date).getTime(),c=null!=e.nsecs?e.nsecs:k+1,u=a-_+(c-k)/1e4;if(0>u&&null==e.clockseq&&(o=o+1&16383),(0>u||a>_)&&null==e.nsecs&&(c=0),c>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");_=a,k=c,w=o,a+=122192928e5;var p=(1e4*(268435455&a)+c)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var l=a/4294967296*1e4&268435455;i[r++]=l>>>8&255,i[r++]=255&l,i[r++]=l>>>24&15|16,i[r++]=l>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=e.node||x,d=0;6>d;d++)i[r+d]=f[d];return t?t:s(i)}function u(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new m(16):null,e=null),e=e||{};var i=e.random||(e.rng||p)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;16>o;o++)t[r+o]=i[o];return t||s(i)}var p,l,f,d,h;r?i():o();for(var m=\"function\"==typeof n?n:Array,v=[],g={},y=0;256>y;y++)v[y]=(y+256).toString(16).substr(1),g[v[y]]=y;var b=p(),x=[1|b[0],b[1],b[2],b[3],b[4],b[5]],w=16383&(b[6]<<8|b[7]),_=0,k=0,j=u;j.v1=c,j.v4=u,j.parse=a,j.unparse=s,j.BufferClass=m,j._rng=p,j._mathRNG=l,j._nodeRNG=f,j._whatwgRNG=d,\"undefined\"!=typeof t&&t.exports?t.exports=j:\"function\"==typeof define&&define.amd?define(function(){return j}):(h=r.uuid,j.noConflict=function(){return r.uuid=h,j},r.uuid=j)}(\"undefined\"!=typeof window?window:null)}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0}],362:[function(e,t,n){function r(e,t){return d.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return d.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else if(\"object\"==typeof n)for(var o in n)r.push([t+\"[\"+o+\"]\",n[o]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t){var n=[e||\"\",t||\"\"].map(o).join(\"&\");return n}function f(e,t,n,r,i,o){var a,s=1;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;case\"PLAINTEXT\":a=l,s=4;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,s))}var d=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.plaintext=l,n.sign=f,n.rfc3986=o,n.generateBase=c},{crypto:void 0,querystring:void 0}],363:[function(e,t,n){\"use strict\";function r(e,t){return i(e)!==!1?(p(t,null,e),e):(a(e,t),e)}function i(e){var t=e.socket;return\"boolean\"==typeof e.finished?Boolean(e.finished||t&&!t.writable):\"boolean\"==typeof e.complete?Boolean(e.upgrade||!t||!t.readable||e.complete&&!e.readable):void 0}function o(e,t){function n(e){i.cancel(),o.cancel(),a=!0,t(e)}function r(t){e.removeListener(\"socket\",r),a||i===o&&(o=u([[t,\"error\",\"close\"]],n))}var i,o,a=!1;return i=o=u([[e,\"end\",\"finish\"]],n),e.socket?void r(e.socket):(e.on(\"socket\",r),void(void 0===e.socket&&c(e,r)))}function a(e,t){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=s(e),o(e,n)),n.queue.push(t)}function s(e){function t(n){if(e.__onFinished===t&&(e.__onFinished=null),t.queue){var r=t.queue;t.queue=null;for(var i=0;i<r.length;i++)r[i](n,e)}}return t.queue=[],t}function c(e,t){var n=e.assignSocket;\"function\"==typeof n&&(e.assignSocket=function(e){n.call(this,e),t(e)})}t.exports=r,t.exports.isFinished=i;var u=e(\"ee-first\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))}},{\"ee-first\":94}],364:[function(e,t,n){\"use strict\";function r(e){var t=e.url;if(void 0!==t){var n=e._parsedUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedUrl=n)}}function i(e){var t=e.originalUrl;if(\"string\"!=typeof t)return r(e);var n=e._parsedOriginalUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedOriginalUrl=n)}function o(e){var t=\"string\"==typeof e&&p.exec(e);if(t){var n=t[1],r=t[2]||null,i=void 0!==u?new u:{};return i.path=e,i.href=e,i.pathname=n,i.search=r,i.query=r&&r.substr(1),i}return c(e)}function a(e,t){return\"object\"==typeof t&&null!==t&&(void 0===u||t instanceof u)&&t._raw===e}var s=e(\"url\"),c=s.parse,u=s.Url,p=/^(\\/\\/?(?!\\/)[^\\?#\\s]*)(\\?[^#\\s]*)?$/;t.exports=r,t.exports.original=i},{url:void 0}],365:[function(e,t,n){var r=e(\"./strategy\");n=t.exports=r,n.Strategy=r},{\"./strategy\":366}],366:[function(e,t,n){function r(){}r.prototype.authenticate=function(e,t){throw new Error(\"Strategy#authenticate must be overridden by subclass\")},t.exports=r},{}],367:[function(e,t,n){function r(){this._key=\"passport\",this._strategies={},this._serializers=[],this._deserializers=[],this._infoTransformers=[],this._framework=null,this._userProperty=\"user\",this.init()}var i=e(\"./strategies/session\");r.prototype.init=function(){this.framework(e(\"./framework/connect\")()),this.use(new i)},r.prototype.use=function(e,t){if(t||(t=e,e=t.name),!e)throw new Error(\"Authentication strategies must have a name\");return this._strategies[e]=t,this},r.prototype.unuse=function(e){return delete this._strategies[e],this},r.prototype.framework=function(e){return this._framework=e,this},r.prototype.initialize=function(e){return e=e||{},this._userProperty=e.userProperty||\"user\",this._framework.initialize(this,e)},r.prototype.authenticate=function(e,t,n){return this._framework.authenticate(this,e,t,n)},r.prototype.authorize=function(e,t,n){t=t||{},t.assignProperty=\"account\";var r=this._framework.authorize||this._framework.authenticate;return r(this,e,t,n)},r.prototype.session=function(e){return this.authenticate(\"session\",e)},r.prototype.serializeUser=function(e,t,n){if(\"function\"==typeof e)return this._serializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._serializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s||0===s)return n(a,s);var u=i[e];if(!u)return n(new Error(\"Failed to serialize user into session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.deserializeUser=function(e,t,n){if(\"function\"==typeof e)return this._deserializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._deserializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);if(null===s||s===!1)return n(null,!1);var u=i[e];if(!u)return n(new Error(\"Failed to deserialize user out of session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.transformAuthInfo=function(e,t,n){if(\"function\"==typeof e)return this._infoTransformers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._infoTransformers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);var u=i[e];if(!u)return n(null,r);try{var p=u.length;if(1==p){var l=u(r);c(null,l)}else 3==p?u(t,r,c):u(r,c)}catch(f){return n(f)}}(0)},r.prototype._strategy=function(e){return this._strategies[e]},t.exports=r},{\"./framework/connect\":369,\"./strategies/session\":374}],368:[function(e,t,n){function r(e,t){Error.call(this),Error.captureStackTrace(this,arguments.callee),this.name=\"AuthenticationError\",this.message=e,this.status=t||401}r.prototype.__proto__=Error.prototype,t.exports=r},{}],369:[function(e,t,n){var r=e(\"../middleware/initialize\"),i=e(\"../middleware/authenticate\");n=t.exports=function(){return n.__monkeypatchNode(),{initialize:r,authenticate:i}},n.__monkeypatchNode=function(){var t=e(\"http\"),n=e(\"../http/request\");t.IncomingMessage.prototype.login=t.IncomingMessage.prototype.logIn=n.logIn,t.IncomingMessage.prototype.logout=t.IncomingMessage.prototype.logOut=n.logOut,t.IncomingMessage.prototype.isAuthenticated=n.isAuthenticated,t.IncomingMessage.prototype.isUnauthenticated=n.isUnauthenticated}},{\"../http/request\":370,\"../middleware/authenticate\":372,\"../middleware/initialize\":373,http:void 0}],370:[function(e,t,n){var r=n=t.exports={};r.login=r.logIn=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||{};var r=\"user\";this._passport&&this._passport.instance&&(r=this._passport.instance._userProperty||\"user\");var i=void 0===t.session?!0:t.session;if(this[r]=e,i){if(!this._passport)throw new Error(\"passport.initialize() middleware not in use\");if(\"function\"!=typeof n)throw new Error(\"req#login requires a callback function\");var o=this;this._passport.instance.serializeUser(e,this,function(e,t){return e?(o[r]=null,n(e)):(o._passport.session||(o._passport.session={}),o._passport.session.user=t,o.session||(o.session={}),o.session[o._passport.instance._key]=o._passport.session,void n())})}else n&&n()},r.logout=r.logOut=function(){var e=\"user\";this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),this[e]=null,this._passport&&this._passport.session&&delete this._passport.session.user},r.isAuthenticated=function(){var e=\"user\";return this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),!!this[e]},r.isUnauthenticated=function(){return!this.isAuthenticated()}},{}],371:[function(e,t,n){var r=e(\"./authenticator\"),i=e(\"./strategies/session\");n=t.exports=new r,n.Passport=n.Authenticator=r,n.Strategy=e(\"passport-strategy\"),n.strategies={},n.strategies.SessionStrategy=i},{\"./authenticator\":367,\"./strategies/session\":374,\"passport-strategy\":365}],372:[function(e,t,n){var r=e(\"http\"),i=e(\"../http/request\"),o=e(\"../errors/authenticationerror\");t.exports=function(t,n,a,s){\"function\"==typeof a&&(s=a,a={}),a=a||{};var c=!0;return Array.isArray(n)||(n=[n],c=!1),function(u,p,l){function f(){if(s){if(c){var e=d.map(function(e){return e.challenge}),t=d.map(function(e){return e.status});return s(null,!1,e,t)}return s(null,!1,d[0].challenge,d[0].status)}var n,i=d[0]||{},f=i.challenge||{};if(a.failureFlash){var h=a.failureFlash;\"string\"==typeof h&&(h={type:\"error\",message:h}),h.type=h.type||\"error\";var m=h.type||f.type||\"error\";n=h.message||f.message||f,\"string\"==typeof n&&u.flash(m,n)}if(a.failureMessage&&(n=a.failureMessage,\"boolean\"==typeof n&&(n=f.message||f),\"string\"==typeof n&&(u.session.messages=u.session.messages||[],u.session.messages.push(n))),a.failureRedirect)return p.redirect(a.failureRedirect);for(var v,g,y=[],b=0,x=d.length;x>b;b++)i=d[b],f=i.challenge,g=i.status,v=v||g,\"string\"==typeof f&&y.push(f);return p.statusCode=v||401,401==p.statusCode&&y.length&&p.setHeader(\"WWW-Authenticate\",y),a.failWithError?l(new o(r.STATUS_CODES[p.statusCode],v)):void p.end(r.STATUS_CODES[p.statusCode])}r.IncomingMessage.prototype.logIn&&r.IncomingMessage.prototype.logIn!==i.logIn&&e(\"../framework/connect\").__monkeypatchNode();var d=[];!function h(e){var r=n[e];if(!r)return f();var i=t._strategy(r);if(!i)return l(new Error('Unknown authentication strategy \"'+r+'\"'));var o=Object.create(i);o.success=function(e,n){if(s)return s(null,e,n);n=n||{};var r;if(a.successFlash){var i=a.successFlash;\"string\"==typeof i&&(i={type:\"success\",message:i}),i.type=i.type||\"success\";var o=i.type||n.type||\"success\";r=i.message||n.message||n,\"string\"==typeof r&&u.flash(o,r)}return a.successMessage&&(r=a.successMessage,\"boolean\"==typeof r&&(r=n.message||n),\"string\"==typeof r&&(u.session.messages=u.session.messages||[],u.session.messages.push(r))),a.assignProperty?(u[a.assignProperty]=e,l()):void u.logIn(e,a,function(e){function r(){if(a.successReturnToOrRedirect){var e=a.successReturnToOrRedirect;return u.session&&u.session.returnTo&&(e=u.session.returnTo,delete u.session.returnTo),p.redirect(e)}return a.successRedirect?p.redirect(a.successRedirect):void l()}return e?l(e):void(a.authInfo!==!1?t.transformAuthInfo(n,u,function(e,t){return e?l(e):(u.authInfo=t,void r())}):r())})},o.fail=function(t,n){\"number\"==typeof t&&(n=t,t=void 0),d.push({challenge:t,status:n}),h(e+1)},o.redirect=function(e,t){p.statusCode=t||302,p.setHeader(\"Location\",e),p.setHeader(\"Content-Length\",\"0\"),p.end()},o.pass=function(){l()},o.error=function(e){return s?s(e):void l(e)},o.authenticate(u,a)}(0)}}},{\"../errors/authenticationerror\":368,\"../framework/connect\":369,\"../http/request\":370,http:void 0}],373:[function(e,t,n){t.exports=function(e){return function(t,n,r){t._passport={},t._passport.instance=e,t.session&&t.session[e._key]&&(t._passport.session=t.session[e._key]),r()}}},{}],374:[function(e,t,n){function r(){a.call(this),this.name=\"session\"}var i=e(\"pause\"),o=e(\"util\"),a=e(\"passport-strategy\");o.inherits(r,a),r.prototype.authenticate=function(e,t){if(!e._passport)return this.error(new Error(\"passport.initialize() middleware not in use\"));t=t||{};var n,r=this;if(e._passport.session&&(n=e._passport.session.user),n||0===n){var o=t.pauseStream?i(e):null;e._passport.instance.deserializeUser(n,e,function(t,n){if(t)return r.error(t);if(!n)return delete e._passport.session.user,r.pass(),void(o&&o.resume());var i=e._passport.instance._userProperty||\"user\";e[i]=n,r.pass(),o&&o.resume()})}else r.pass()},t.exports=r},{\"passport-strategy\":365,pause:376,util:void 0}],375:[function(e,t,n){function r(e,t,n){n=n||{},t=t||[];var o,a=n.strict,s=n.end!==!1,c=n.sensitive?\"\":\"i\",u=0,p=t.length,l=0,f=0;if(e instanceof RegExp){for(;o=i.exec(e.source);)t.push({name:f++,optional:!1,offset:o.index});return e}if(Array.isArray(e))return e=e.map(function(e){return r(e,t,n).source}),new RegExp(\"(?:\"+e.join(\"|\")+\")\",c);for(e=(\"^\"+e+(a?\"\":\"/\"===e[e.length-1]?\"?\":\"/?\")).replace(/\\/\\(/g,\"/(?:\").replace(/([\\/\\.])/g,\"\\\\$1\").replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g,function(e,n,r,i,o,a,s,c){n=n||\"\",r=r||\"\",o=o||\"([^\\\\/\"+r+\"]+?)\",s=s||\"\",t.push({name:i,optional:!!s,offset:c+u});var p=\"\"+(s?\"\":n)+\"(?:\"+r+(s?n:\"\")+o+(a?\"((?:[\\\\/\"+r+\"].+?)?)\":\"\")+\")\"+s;return u+=p.length-e.length,p}).replace(/\\*/g,function(e,n){for(var r=t.length;r-- >p&&t[r].offset>n;)t[r].offset+=3;return\"(.*)\"});o=i.exec(e);){for(var d=0,h=o.index;\"\\\\\"===e.charAt(--h);)d++;d%2!==1&&((p+l===t.length||t[p+l].offset>o.index)&&t.splice(p+l,0,{name:f++,optional:!1,offset:o.index}),l++)}return e+=s?\"$\":\"/\"===e[e.length-1]?\"\":\"(?=\\\\/|$)\",new RegExp(e,c)}t.exports=r;var i=/\\((?!\\?)/g},{}],376:[function(e,t,n){t.exports=function(e){var t,n,r=[];return e.on(\"data\",t=function(e,t){r.push([\"data\",e,t])}),e.on(\"end\",n=function(e,t){r.push([\"end\",e,t])}),{end:function(){e.removeListener(\"data\",t),e.removeListener(\"end\",n)},resume:function(){this.end();for(var t=0,n=r.length;n>t;++t)e.emit.apply(e,r[t])}}}},{}],377:[function(e,t,n){\"use strict\";t.exports=\"function\"==typeof Promise?Promise:e(\"pinkie\")},{pinkie:378}],378:[function(e,t,n){(function(e){\"use strict\";function n(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],m=!1}function r(e,t){k.push([e,t]),m||(m=!0,_(n,0))}function i(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(i){r(i)}}function o(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if(\"function\"==typeof i){n=y;try{r=i(r)}catch(c){u(o,c)}}a(o,r)||(n===y&&s(o,r),n===b&&u(o,r))}function a(e,t){var n;try{if(e===t)throw new TypeError(\"A promises callback cannot return that same promise.\");if(t&&(\"function\"==typeof t||\"object\"==typeof t)){var r=t.then;if(\"function\"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?c(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(i){return n||u(e,i),!0}return!1}function s(e,t){e!==t&&a(e,t)||c(e,t)}function c(e,t){e._state===v&&(e._state=g,e._data=t,r(l,e))}function u(e,t){e._state===v&&(e._state=g,e._data=t,r(f,e))}function p(e){e._then=e._then.forEach(o)}function l(e){e._state=y,p(e)}function f(t){t._state=b,p(t),!t._handled&&w&&e.process.emit(\"unhandledRejection\",t._data,t)}function d(t){e.process.emit(\"rejectionHandled\",t)}function h(e){if(\"function\"!=typeof e)throw new TypeError(\"Promise resolver \"+e+\" is not a function\");if(this instanceof h==!1)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],i(e,this)}var m,v=\"pending\",g=\"settled\",y=\"fulfilled\",b=\"rejected\",x=function(){},w=\"undefined\"!=typeof e&&\"undefined\"!=typeof e.process&&\"function\"==typeof e.process.emit,_=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,k=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(x),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===b&&w&&r(d,this)),this._state===y||this._state===b?r(o,n):this._then.push(n),n.then},\"catch\":function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.all().\");return new h(function(t,n){function r(e){return a++,function(n){o[e]=n,--a||t(o)}}for(var i,o=[],a=0,s=0;s<e.length;s++)i=e[s],i&&\"function\"==typeof i.then?i.then(r(s),n):o[s]=i;a||t(o)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.race().\");return new h(function(t,n){for(var r,i=0;i<e.length;i++)r=e[i],r&&\"function\"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],379:[function(e,t,n){\"use strict\";function r(e){for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];process.nextTick(function(){e.apply(null,t)})}!process.version||0===process.version.indexOf(\"v0.\")||0===process.version.indexOf(\"v1.\")&&0!==process.version.indexOf(\"v1.8.\")?t.exports=r:t.exports=process.nextTick},{}],380:[function(e,t,n){\"use strict\";function r(e,t){var n=d(e);if(!t)return n;\"function\"!=typeof t&&(t=i(t));for(var r=0;r<n.length-1;r++)t(n[r],r)||(n.length=r+1);return n}function i(e){if(!e)throw new TypeError(\"argument is required\");var t=\"string\"==typeof e?[e]:e;if(!Array.isArray(t))throw new TypeError(\"unsupported trust argument\");for(var n=0;n<t.length;n++)e=t[n],y.hasOwnProperty(e)&&(e=y[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return a(o(t))}function o(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=s(e[n]);return t}function a(e){var t=e.length;return 0===t?p:1===t?f(e[0]):l(e)}function s(e){var t,n,r,i,o=e.lastIndexOf(\"/\");if(t=-1!==o?e.substring(0,o):e,!v(t))throw new TypeError(\"invalid IP address: \"+t);if(t=g(t),n=t.kind(),r=\"ipv6\"===n?128:32,i=-1!==o?e.substring(o+1,e.length):r,\"number\"!=typeof i&&(i=m.test(i)?parseInt(i,10):v(i)?c(i):0),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()&&(t=t.toIPv4Address(),i=r>=i?i-96:i),0>=i||i>r)throw new TypeError(\"invalid range on address: \"+e);return[t,i]}function c(e){var t,n,r=g(e);switch(r.kind()){case\"ipv4\":t=r.octets,n=8;break;case\"ipv6\":t=r.parts,n=16}for(var i,o=Math.pow(2,n)-1,a=0,s=0;s<t.length;s++){i=t[s]&o;{if(i!==o){for(;i;)i=i<<1&o,a+=1;break}a+=n}}return a}function u(e,t){if(!e)throw new TypeError(\"req argument is required\");if(!t)throw new TypeError(\"trust argument is required\");var n=r(e,t),i=n[n.length-1];return i}function p(){return!1}function l(e){return function(t){if(!v(t))return!1;for(var n,r,i,o,a,s,c=g(t),u=c.kind(),p=0;p<e.length;p++){if(r=e[p],i=r[0],o=i.kind(),a=r[1],s=c,u!==o){if(\"ipv6\"!==u||\"ipv4\"!==o||!c.isIPv4MappedAddress())continue;n=n||c.toIPv4Address(),s=n}if(s.match(i,a))return!0}return!1}}function f(e){var t=e[0],n=t.kind(),r=\"ipv4\"===n,i=e[1];return function(e){if(!v(e))return!1;var o=g(e),a=o.kind();return a===n?o.match(t,i):r&&\"ipv6\"===a&&o.isIPv4MappedAddress()?o.toIPv4Address().match(t,i):!1}}t.exports=u,t.exports.all=r,t.exports.compile=i;var d=e(\"forwarded\"),h=e(\"ipaddr.js\"),m=/^[0-9]+$/,v=h.isValid,g=h.parse,y={linklocal:[\"169.254.0.0/16\",\"fe80::/10\"],loopback:[\"127.0.0.1/8\",\"::1/128\"],uniquelocal:[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\",\"fc00::/7\"]}},{forwarded:119,\"ipaddr.js\":158}],381:[function(e,t,n){\"pseudomap\"===process.env.npm_package_name&&\"test\"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP=\"true\"),\"function\"!=typeof Map||process.env.TEST_PSEUDOMAP?t.exports=e(\"./pseudomap\"):t.exports=Map},{\"./pseudomap\":382}],382:[function(e,t,n){function r(e){if(!(this instanceof r))throw new TypeError(\"Constructor PseudoMap requires 'new'\");if(this.clear(),e)if(e instanceof r||\"function\"==typeof Map&&e instanceof Map)e.forEach(function(e,t){this.set(t,e)},this);else{if(!Array.isArray(e))throw new TypeError(\"invalid argument\");e.forEach(function(e){this.set(e[0],e[1])},this)}}function i(e,t){return e===t||e!==e&&t!==t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var n=0,r=\"_\"+t,o=r;c.call(e,o);o=r+n++)if(i(e[o].key,t))return e[o]}function s(e,t,n){for(var r=0,a=\"_\"+t,s=a;c.call(e,s);s=a+r++)if(i(e[s].key,t))return void(e[s].value=n);e.size++,e[s]=new o(t,n,s)}var c=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.forEach=function(e,t){\nt=t||this,Object.keys(this._data).forEach(function(n){\"size\"!==n&&e.call(t,this._data[n].value,this._data[n].key)},this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){s(this._data,e,t)},r.prototype[\"delete\"]=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,\"_data\",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,\"size\",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error(\"iterators are not implemented in this version\")}},{}],383:[function(e,t,n){\"use strict\";var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":384,\"./stringify\":385}],384:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<i.length;++o){var a=i[o],s=-1===a.indexOf(\"]=\")?a.indexOf(\"=\"):a.indexOf(\"]=\")+1;if(-1===s)n[r.decode(a)]=\"\",t.strictNullHandling&&(n[r.decode(a)]=null);else{var c=r.decode(a.slice(0,s)),u=r.decode(a.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(u):n[c]=u}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10);!isNaN(s)&&o!==a&&String(s)===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"):e,o=/^([^\\[\\]]*)/,a=/(\\[[^\\[\\]]*\\])/g,s=o.exec(r),c=[];if(s[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var u=0;null!==(s=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push(\"[\"+r.slice(s.index)+\"]\"),i.parseObject(c,t,n)}},t.exports=function(e,t){var n=t||{};if(n.delimiter=\"string\"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth=\"number\"==typeof n.depth?n.depth:i.depth,n.arrayLimit=\"number\"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.allowDots=\"boolean\"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects=\"boolean\"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes=\"boolean\"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit=\"number\"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling=\"boolean\"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"==typeof e?i.parseValues(e,n):e,a=n.plainObjects?Object.create(null):{},s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],p=i.parseKeys(u,o[u],n);a=r.merge(a,p,n)}return r.compact(a)}},{\"./utils\":386}],385:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},strictNullHandling:!1,skipNulls:!1,encode:!0};i.stringify=function(e,t,n,o,a,s,c,u){var p=e;if(\"function\"==typeof c)p=c(t,p);else if(r.isBuffer(p))p=String(p);else if(p instanceof Date)p=p.toISOString();else if(null===p){if(o)return s?r.encode(t):t;p=\"\"}if(\"string\"==typeof p||\"number\"==typeof p||\"boolean\"==typeof p)return s?[r.encode(t)+\"=\"+r.encode(p)]:[t+\"=\"+p];var l=[];if(\"undefined\"==typeof p)return l;var f;if(Array.isArray(c))f=c;else{var d=Object.keys(p);f=u?d.sort(u):d}for(var h=0;h<f.length;++h){var m=f[h];a&&null===p[m]||(l=Array.isArray(p)?l.concat(i.stringify(p[m],n(t,m),n,o,a,s,c)):l.concat(i.stringify(p[m],t+\"[\"+m+\"]\",n,o,a,s,c)))}return l},t.exports=function(e,t){var n,r,o=e,a=t||{},s=\"undefined\"==typeof a.delimiter?i.delimiter:a.delimiter,c=\"boolean\"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,u=\"boolean\"==typeof a.skipNulls?a.skipNulls:i.skipNulls,p=\"boolean\"==typeof a.encode?a.encode:i.encode,l=\"function\"==typeof a.sort?a.sort:null;\"function\"==typeof a.filter?(r=a.filter,o=r(\"\",o)):Array.isArray(a.filter)&&(n=r=a.filter);var f=[];if(\"object\"!=typeof o||null===o)return\"\";var d;d=a.arrayFormat in i.arrayPrefixGenerators?a.arrayFormat:\"indices\"in a?a.indices?\"indices\":\"repeat\":\"indices\";var h=i.arrayPrefixGenerators[d];n||(n=Object.keys(o)),l&&n.sort(l);for(var m=0;m<n.length;++m){var v=n[m];u&&null===o[v]||(f=f.concat(i.stringify(o[v],v,h,c,u,p,r,l)))}return f.join(s)}},{\"./utils\":386}],386:[function(e,t,n){\"use strict\";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]=\"%\"+((16>t?\"0\":\"\")+t.toString(16)).toUpperCase();return e}();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t){if(Array.isArray(e))e.push(t);else{if(\"object\"!=typeof e)return[e,t];e[t]=!0}return e}if(\"object\"!=typeof e)return[e].concat(t);var i=e;return Array.isArray(e)&&!Array.isArray(t)&&(i=n.arrayToObject(e,r)),Object.keys(t).reduce(function(e,i){var o=t[i];return Object.prototype.hasOwnProperty.call(e,i)?e[i]=n.merge(e[i],o,r):e[i]=o,e},i)},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;for(var t=\"string\"==typeof e?e:String(e),n=\"\",i=0;i<t.length;++i){var o=t.charCodeAt(i);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?n+=t.charAt(i):128>o?n+=r[o]:2048>o?n+=r[192|o>>6]+r[128|63&o]:55296>o||o>=57344?n+=r[224|o>>12]+r[128|o>>6&63]+r[128|63&o]:(i+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),n+=r[240|o>>18]+r[128|o>>12&63]+r[128|o>>6&63]+r[128|63&o])}return n},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;var r=t||[],i=r.indexOf(e);if(-1!==i)return r[i];if(r.push(e),Array.isArray(e)){for(var o=[],a=0;a<e.length;++a)\"undefined\"!=typeof e[a]&&o.push(e[a]);return o}for(var s=Object.keys(e),c=0;c<s.length;++c){var u=s[c];e[u]=n.compact(e[u],r)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],387:[function(e,t,n){\"use strict\";function r(e,t){var n=!0,r=t.indexOf(\"=\");if(-1==r)return-2;var i=t.slice(r+1).split(\",\").map(function(t){var t=t.split(\"-\"),r=parseInt(t[0],10),i=parseInt(t[1],10);return isNaN(r)?(r=e-i,i=e-1):isNaN(i)&&(i=e-1),i>e-1&&(i=e-1),(isNaN(r)||isNaN(i)||r>i||0>r)&&(n=!1),{start:r,end:i}});return i.type=t.slice(0,r),n?i:-1}t.exports=r},{}],388:[function(e,t,n){t.exports=e(\"./lib/_stream_duplex.js\")},{\"./lib/_stream_duplex.js\":389}],389:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(u.call(this,e),p.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e(\"process-nextick-args\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\");var u=e(\"./_stream_readable\"),p=e(\"./_stream_writable\");c.inherits(r,u);for(var l=a(p.prototype),f=0;f<l.length;f++){var d=l[f];r.prototype[d]||(r.prototype[d]=p.prototype[d])}},{\"./_stream_readable\":390,\"./_stream_writable\":391,\"core-util-is\":77,inherits:157,\"process-nextick-args\":379}],390:[function(e,t,n){\"use strict\";function r(t,n){M=M||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof M&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=e(\"string_decoder/\").StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function i(t){return M=M||e(\"./_stream_duplex\"),this instanceof i?(this._readableState=new r(t,this),this.readable=!0,t&&\"function\"==typeof t.read&&(this._read=t.read),void A.call(this)):new i(t)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var c;!t.decoder||i||r||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&l(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=z?e=z:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return O.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,l(e)}}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(P(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?S(f,e):f(e))}function f(e){P(\"emit readable\"),e.emit(\"readable\"),b(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(P(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;P(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C(e,\"data\")&&(t.flowing=!0,b(e))}}function v(e){P(\"readable nexttick read 0\"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(P(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(P(\"flow\",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function x(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:O.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new O(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,S(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function k(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function j(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var S=e(\"process-nextick-args\"),E=e(\"isarray\"),O=e(\"buffer\").Buffer;i.ReadableState=r;var A,C=(e(\"events\"),function(e,t){return e.listeners(t).length});!function(){try{A=e(\"stream\")}catch(t){}finally{A||(A=e(\"events\").EventEmitter)}}();var O=e(\"buffer\").Buffer,T=e(\"core-util-is\");T.inherits=e(\"inherits\");var I=e(\"util\"),P=void 0;P=I&&I.debuglog?I.debuglog(\"stream\"):function(){};var F;T.inherits(i,A);var M,M;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new O(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.isPaused=function(){return this._readableState.flowing===!1},i.prototype.setEncoding=function(t){return F||(F=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new F(t),this._readableState.encoding=t,this};var z=8388608;i.prototype.read=function(e){P(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return P(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):l(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;P(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,P(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,P(\"reading or ended\",r)),r&&(P(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?x(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){P(\"onunpipe\"),e===p&&i()}function r(){P(\"onend\"),e.end()}function i(){P(\"cleanup\"),e.removeListener(\"close\",s),e.removeListener(\"finish\",c),e.removeListener(\"drain\",h),e.removeListener(\"error\",a),e.removeListener(\"unpipe\",n),p.removeListener(\"end\",r),p.removeListener(\"end\",i),p.removeListener(\"data\",o),v=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}function o(t){P(\"ondata\");var n=e.write(t);!1===n&&(1!==l.pipesCount||l.pipes[0]!==e||1!==p.listenerCount(\"data\")||v||(P(\"false write response, pause\",p._readableState.awaitDrain),p._readableState.awaitDrain++),p.pause())}function a(t){P(\"onerror\",t),u(),e.removeListener(\"error\",a),0===C(e,\"error\")&&e.emit(\"error\",t)}function s(){e.removeListener(\"finish\",c),u()}function c(){P(\"onfinish\"),e.removeListener(\"close\",s),u()}function u(){P(\"unpipe\"),p.unpipe(e)}var p=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,P(\"pipe count=%d opts=%j\",l.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,d=f?r:i;l.endEmitted?S(d):p.once(\"end\",d),e.on(\"unpipe\",n);var h=m(p);e.on(\"drain\",h);var v=!1;return p.on(\"data\",o),e._events&&e._events.error?E(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on(\"error\",a),e.once(\"close\",s),e.once(\"finish\",c),e.emit(\"pipe\",p),l.flowing||(P(\"pipe resume\"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var o=j(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(P(\"resume\"),e.flowing=!0,g(this,e)),this},i.prototype.pause=function(){return P(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(P(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(P(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(P(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return k(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){P(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=x},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:163,\"process-nextick-args\":379,\"string_decoder/\":456,util:void 0}],391:[function(e,t,n){\"use strict\";function r(){}function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function o(t,n){C=C||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof C&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},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 _(this),this.corkedRequestsFree.next=new _(this)}function a(t){return C=C||e(\"./_stream_duplex\"),this instanceof a||this instanceof C?(this._writableState=new o(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev)),void O.call(this)):new a(t)}function s(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),k(t,n)}function c(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),k(r,o),i=!1}return i}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new S(t,n)),t}function p(e,t,n,r,o){n=u(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new i(n,r,o),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else l(e,t,!1,a,n,r,o);return s}function l(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,r,i){--t.pendingcb,n?k(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(d(n),t)f(e,n,r,t,i);else{var o=y(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||g(e,n),r?j(m,e,n,o,i):m(e,n,o,i)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),x(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function g(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;l(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,c=n.encoding,u=n.callback,p=t.objectMode?1:s.length;if(l(e,t,!1,p,s,c,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function y(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function x(e,t){var n=y(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function w(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?k(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function _(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var k=e(\"process-nextick-args\"),j=!process.browser&&[\"v0.10\",\"v0.9.\"].indexOf(process.version.slice(0,5))>-1?setImmediate:k,S=e(\"buffer\").Buffer;a.WritableState=o;var E=e(\"core-util-is\");E.inherits=e(\"inherits\");var O,A={deprecate:e(\"util-deprecate\")};!function(){try{O=e(\"stream\")}catch(t){}finally{O||(O=e(\"events\").EventEmitter)}}();var S=e(\"buffer\").Buffer;E.inherits(a,O);var C;o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var C;a.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},a.prototype.write=function(e,t,n){var i=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=r),i.ended?s(this,n):c(this,i,e,n)&&(i.pendingcb++,o=p(this,i,e,t,n)),o},a.prototype.cork=function(){var e=this._writableState;e.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||g(this,e))},a.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},a.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,\"process-nextick-args\":379,\"util-deprecate\":530}],392:[function(e,t,n){function r(e){return\"object\"==typeof e&&\"[object RegExp]\"==i.call(e)}var i=Object.prototype.toString;t.exports=n=function(e){if(!r(e))throw new TypeError(\"Not a RegExp\");var t=[];return e.global&&t.push(\"g\"),e.multiline&&t.push(\"m\"),e.ignoreCase&&t.push(\"i\"),new RegExp(e.source,t.join(\"\"))}},{}],393:[function(e,t,n){\"use strict\";function r(e,t,n){\"function\"==typeof t&&(n=t);var r={};return\"object\"==typeof t?s(r,t,{uri:e}):\"string\"==typeof e?s(r,{uri:e}):s(r,e),r.callback=n,r}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);if(\"HEAD\"===o.method&&l(o))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return new i.Request(o)}function o(e){var t=\"del\"===e?\"DELETE\":e.toUpperCase();return function(e,n,o){var a=r(e,n,o);return a.method=t,i(a,a.callback)}}function a(e,t,n,i){return function(o,a,c){var u=r(o,a,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=\"del\"===i?\"DELETE\":i.toUpperCase()),p(n)&&(e=n),e(l,l.callback)}}var s=e(\"extend\"),c=e(\"./lib/cookies\"),u=e(\"./lib/helpers\"),p=u.isFunction,l=u.paramsHaveRequestBody;i.get=o(\"get\"),i.head=o(\"head\"),i.post=o(\"post\"),i.put=o(\"put\"),i.patch=o(\"patch\"),i.del=o(\"del\"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var n=this;e=e||{},\"function\"==typeof e&&(t=e,e={});var r=a(n,e,t),i=[\"get\",\"head\",\"post\",\"put\",\"patch\",\"del\"];return i.forEach(function(i){r[i]=a(n[i],e,t,i)}),r.cookie=a(n.cookie,e,t),r.jar=n.jar,r.defaults=n.defaults,r},i.forever=function(e,t){var n={};return t&&s(n,t),e&&(n.agentOptions=e),n.forever=!0,i.defaults(n)},t.exports=i,i.Request=e(\"./request\"),i.initParams=r,Object.defineProperty(i,\"debug\",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{\"./lib/cookies\":395,\"./lib/helpers\":398,\"./request\":405,extend:404}],394:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e(\"caseless\"),o=e(\"node-uuid\"),a=e(\"./helpers\"),s=a.md5,c=a.toBase64;r.prototype.basic=function(e,t,n){var r=this;(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)&&r.request.emit(\"error\",new Error(\"auth() received invalid user or password\")),r.user=e,r.pass=t,r.hasAuth=!0;var i=e+\":\"+(t||\"\");if(n||\"undefined\"==typeof n){var o=\"Basic \"+c(i);return r.sentAuth=!0,o}},r.prototype.bearer=function(e,t){var n=this;if(n.bearerToken=e,n.hasAuth=!0,t||\"undefined\"==typeof t){\"function\"==typeof e&&(e=e());var r=\"Bearer \"+(e||\"\");return n.sentAuth=!0,r}},r.prototype.digest=function(e,t,n){for(var r=this,i={},a=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var c=a.exec(n);if(!c)break;i[c[1]]=c[2]||c[3]}var u=function(e,t,n,r,i,o){var a=s(t+\":\"+n+\":\"+r);return e&&\"md5-sess\"===e.toLowerCase()?s(a+\":\"+i+\":\"+o):a},p=/(^|,)\\s*auth\\s*($|,)/.test(i.qop)&&\"auth\",l=p&&\"00000001\",f=p&&o().replace(/-/g,\"\"),d=u(i.algorithm,r.user,i.realm,r.pass,i.nonce,f),h=s(e+\":\"+t),m=s(p?d+\":\"+i.nonce+\":\"+l+\":\"+f+\":\"+p+\":\"+h:d+\":\"+i.nonce+\":\"+h),v={username:r.user,realm:i.realm,nonce:i.nonce,uri:t,qop:p,response:m,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};n=[];for(var g in v)v[g]&&(\"qop\"===g||\"nc\"===g||\"algorithm\"===g?n.push(g+\"=\"+v[g]):n.push(g+'=\"'+v[g]+'\"'));return n=\"Digest \"+n.join(\", \"),r.sentAuth=!0,n},r.prototype.onRequest=function(e,t,n,r){var i,o=this,a=o.request;void 0===r&&void 0===e?o.request.emit(\"error\",new Error(\"no auth mechanism defined\")):i=void 0!==r?o.bearer(r,n):o.basic(e,t,n),i&&a.setHeader(\"authorization\",i)},r.prototype.onResponse=function(e){var t=this,n=t.request;if(!t.hasAuth||t.sentAuth)return null;var r=i(e.headers),o=r.get(\"www-authenticate\"),a=o&&o.split(\" \")[0].toLowerCase();switch(n.debug(\"reauth\",a),a){case\"basic\":return t.basic(t.user,t.pass,!0);case\"bearer\":return t.bearer(t.bearerToken,!0);case\"digest\":return t.digest(n.method,n.path,o)}},n.Auth=r},{\"./helpers\":398,caseless:71,\"node-uuid\":361}],395:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e,{looseMode:!0})}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e,{loose:!0})},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],396:[function(e,t,n){\"use strict\";function r(e){return e.replace(/^\\.*/,\".\").toLowerCase()}function i(e){e=e.trim().toLowerCase();var t=e.split(\":\",2),n=r(t[0]),i=t[1],o=e.indexOf(\":\")>-1;return{hostname:n,port:i,hasPort:o}}function o(e,t){var n=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),o=r(e.hostname),a=t.split(\",\");return a.map(i).some(function(e){var t=o.indexOf(e.hostname),r=t>-1&&t===o.length-e.hostname.length;return e.hasPort?n===e.port&&r:r})}function a(e){var t=process.env.NO_PROXY||process.env.no_proxy||\"\";return\"*\"===t?null:\"\"!==t&&o(e,t)?null:\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}t.exports=a},{}],397:[function(e,t,n){\"use strict\";function r(e){this.request=e}var i=e(\"fs\"),o=e(\"querystring\"),a=e(\"har-validator\"),s=e(\"extend\");r.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var n=[e[t.name],t.value];return e[t.name]=n,e},r.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var n=e.cookies.map(function(e){return e.name+\"=\"+e.value});n.length&&(e.headersObj.cookie=n.join(\"; \"))}if(t([\"multipart/mixed\",\"multipart/related\",\"multipart/form-data\",\"multipart/alternative\"]))e.postData.mimeType=\"multipart/form-data\";else if(t([\"application/x-www-form-urlencoded\"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=o.stringify(e.postData.paramsObj)):e.postData.text=\"\";else if(t([\"text/json\",\"text/x-json\",\"application/json\",\"application/x-json\"])&&(e.postData.mimeType=\"application/json\",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(r){this.request.debug(r),e.postData.mimeType=\"text/plain\"}return e},r.prototype.options=function(e){function t(e){return 0===r.postData.mimeType.indexOf(e)}if(!e.har)return e;var n={};if(s(n,e.har),n.log&&n.log.entries&&(n=n.log.entries[0]),n.url=n.url||e.url||e.uri||e.baseUrl||\"/\",n.httpVersion=n.httpVersion||\"HTTP/1.1\",n.queryString=n.queryString||[],n.headers=n.headers||[],n.cookies=n.cookies||[],n.postData=n.postData||{},n.postData.mimeType=n.postData.mimeType||\"application/octet-stream\",n.bodySize=0,n.headersSize=0,n.postData.size=0,!a.request(n))return e;var r=this.prep(n);return r.url&&(e.url=r.url),r.method&&(e.method=r.method),Object.keys(r.queryObj).length&&(e.qs=r.queryObj),Object.keys(r.headersObj).length&&(e.headers=r.headersObj),t(\"application/x-www-form-urlencoded\")?e.form=r.postData.paramsObj:t(\"application/json\")?r.postData.jsonObj&&(e.body=r.postData.jsonObj,e.json=!0):t(\"multipart/form-data\")?(e.formData={},r.postData.params.forEach(function(t){var n={};return t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?n.value=i.createReadStream(t.fileName):t.value&&(n.value=t.value),t.fileName&&(n.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),void(e.formData[t.name]=n)):void(e.formData[t.name]=t.value)})):r.postData.text&&(e.body=r.postData.text),e},n.Har=r},{extend:404,fs:void 0,\"har-validator\":124,querystring:void 0}],398:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return\"function\"==typeof e}function o(e){return e.body||e.requestBodyStream||e.json&&\"boolean\"!=typeof e.json||e.multipart}function a(e){var t;try{t=JSON.stringify(e)}catch(n){t=f(e)}return t}function s(e){return d.createHash(\"md5\").update(e).digest(\"hex\")}\nfunction c(e){return e.readable&&e.path&&e.mode}function u(e){return new t(e||\"\",\"utf8\").toString(\"base64\")}function p(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function l(){var e=process.version.replace(\"v\",\"\").split(\".\");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}var f=e(\"json-stringify-safe\"),d=e(\"crypto\");n.isFunction=i,n.paramsHaveRequestBody=o,n.safeStringify=a,n.md5=s,n.isReadStream=c,n.toBase64=u,n.copy=p,n.version=l,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173}],399:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e(\"node-uuid\"),o=e(\"combined-stream\"),a=e(\"isstream\");r.prototype.isChunked=function(e){var t=this,n=!1,r=e.data||e;return r.forEach||t.request.emit(\"error\",new Error(\"Argument error, options.multipart.\")),void 0!==e.chunked&&(n=e.chunked),\"chunked\"===t.request.getHeader(\"transfer-encoding\")&&(n=!0),n||r.forEach(function(e){\"undefined\"==typeof e.body&&t.request.emit(\"error\",new Error(\"Body attribute missing in multipart.\")),a(e.body)&&(n=!0)}),n},r.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader(\"transfer-encoding\")&&t.request.setHeader(\"transfer-encoding\",\"chunked\");var n=t.request.getHeader(\"content-type\");n&&-1!==n.indexOf(\"multipart\")?-1!==n.indexOf(\"boundary\")?t.boundary=n.replace(/.*boundary=([^\\s;]+).*/,\"$1\"):t.request.setHeader(\"content-type\",n+\"; boundary=\"+t.boundary):t.request.setHeader(\"content-type\",\"multipart/related; boundary=\"+t.boundary)},r.prototype.build=function(e,n){function r(e){return\"number\"==typeof e&&(e=e.toString()),n?a.append(e):a.push(new t(e))}var i=this,a=n?new o:[];return i.request.preambleCRLF&&r(\"\\r\\n\"),e.forEach(function(e){var t=\"--\"+i.boundary+\"\\r\\n\";Object.keys(e).forEach(function(n){\"body\"!==n&&(t+=n+\": \"+e[n]+\"\\r\\n\")}),t+=\"\\r\\n\",r(t),r(e.body),r(\"\\r\\n\")}),r(\"--\"+i.boundary+\"--\"),i.request.postambleCRLF&&r(\"\\r\\n\"),a},r.prototype.onRequest=function(e){var t=this,n=t.isChunked(e),r=e.data||e;t.setHeaders(n),t.chunked=n,t.body=t.build(r,n)},n.Multipart=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"combined-stream\":72,isstream:164,\"node-uuid\":361}],400:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.params=null}var i=e(\"url\"),o=e(\"qs\"),a=e(\"caseless\"),s=e(\"node-uuid\"),c=e(\"oauth-sign\"),u=e(\"crypto\");r.prototype.buildParams=function(e,t,n,r,i,o){var a={};for(var u in e)a[\"oauth_\"+u]=e[u];a.oauth_version||(a.oauth_version=\"1.0\"),a.oauth_timestamp||(a.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),a.oauth_nonce||(a.oauth_nonce=s().replace(/-/g,\"\")),a.oauth_signature_method||(a.oauth_signature_method=\"HMAC-SHA1\");var p=a.oauth_consumer_secret||a.oauth_private_key;delete a.oauth_consumer_secret,delete a.oauth_private_key;var l=a.oauth_token_secret;delete a.oauth_token_secret;var f=a.oauth_realm;delete a.oauth_realm,delete a.oauth_transport_method;var d=t.protocol+\"//\"+t.host+t.pathname,h=o.parse([].concat(r,i,o.stringify(a)).join(\"&\"));return a.oauth_signature=c.sign(a.oauth_signature_method,n,d,h,p,l),f&&(a.realm=f),a},r.prototype.buildBodyHash=function(e,n){[\"HMAC-SHA1\",\"RSA-SHA1\"].indexOf(e.signature_method||\"HMAC-SHA1\")<0&&this.request.emit(\"error\",new Error(\"oauth: \"+e.signature_method+\" signature_method not supported with body_hash signing.\"));var r=u.createHash(\"sha1\");r.update(n||\"\");var i=r.digest(\"hex\");return new t(i).toString(\"base64\")},r.prototype.concatParams=function(e,t,n){n=n||\"\";var r=Object.keys(e).filter(function(e){return\"realm\"!==e&&\"oauth_signature\"!==e}).sort();return e.realm&&r.splice(0,0,\"realm\"),r.push(\"oauth_signature\"),r.map(function(t){return t+\"=\"+n+c.rfc3986(e[t])+n}).join(t)},r.prototype.onRequest=function(e){var t=this;t.params=e;var n,r,s=t.request.uri||{},c=t.request.method||\"\",u=a(t.request.headers),p=t.request.body||\"\",l=t.request.qsLib||o,f=u.get(\"content-type\")||\"\",d=\"application/x-www-form-urlencoded\",h=e.transport_method||\"header\";f.slice(0,d.length)===d&&(f=d,n=p),s.query&&(r=s.query),\"body\"!==h||\"POST\"===c&&f===d||t.request.emit(\"error\",new Error(\"oauth: transport_method of body requires POST and content-type \"+d)),n||\"boolean\"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,r,n,l);switch(h){case\"header\":t.request.setHeader(\"Authorization\",\"OAuth \"+t.concatParams(m,\",\",'\"'));break;case\"query\":var v=t.request.uri.href+=(r?\"&\":\"?\")+t.concatParams(m,\"&\");t.request.uri=i.parse(v),t.request.path=t.request.uri.path;break;case\"body\":t.request.body=(n?n+\"&\":\"\")+t.concatParams(m,\"&\");break;default:t.request.emit(\"error\",new Error(\"oauth: transport_method invalid\"))}},n.OAuth=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,caseless:71,crypto:void 0,\"node-uuid\":361,\"oauth-sign\":362,qs:383,url:void 0}],401:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e(\"qs\"),o=e(\"querystring\");r.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?o:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},r.prototype.unescape=o.unescape,n.Querystring=r},{qs:383,querystring:void 0}],402:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e(\"url\"),o=/^https?:/;r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),\"function\"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader)},r.prototype.redirectTo=function(e){var t=this,n=t.request,r=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var i=e.caseless.get(\"location\");if(n.debug(\"redirect\",i),t.followAllRedirects)r=i;else if(t.followRedirects)switch(n.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:r=i}}else if(401===e.statusCode){var o=n._auth.onResponse(e);o&&(n.setHeader(\"authorization\",o),r=n.uri)}return r},r.prototype.onResponse=function(e){var t=this,n=t.request,r=t.redirectTo(e);if(!r||!t.allowRedirect.call(n,e))return!1;if(n.debug(\"redirect to\",r),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return n.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+n.uri.href)),!1;t.redirectsFollowed+=1,o.test(r)||(r=i.resolve(n.uri.href,r));var a=n.uri;return n.uri=i.parse(r),n.uri.protocol!==a.protocol&&delete n.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:r}),t.followAllRedirects&&\"HEAD\"!==n.method&&401!==e.statusCode&&307!==e.statusCode&&(n.method=\"GET\"),delete n.src,delete n.req,delete n._started,401!==e.statusCode&&307!==e.statusCode&&(delete n.body,delete n._form,n.headers&&(n.removeHeader(\"host\"),n.removeHeader(\"content-type\"),n.removeHeader(\"content-length\"),n.uri.hostname!==n.originalHost.split(\":\")[0]&&n.removeHeader(\"authorization\"))),t.removeRefererHeader||n.setHeader(\"referer\",a.href),n.emit(\"redirect\"),n.init(),!0},n.Redirect=r},{url:void 0}],403:[function(e,t,n){\"use strict\";function r(e){var t=e.port,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function i(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function o(e,t){var n=e.proxy,r={proxy:{host:n.hostname,port:+n.port,proxyAuth:n.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return r}function a(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function s(e){var t=e.uri,n=e.proxy,r=a(t,n);return p[r]}function c(e){this.request=e,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[],\"undefined\"!=typeof e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e(\"url\"),p=e(\"tunnel-agent\"),l=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"user-agent\",\"via\"],f=[\"proxy-authorization\"];c.prototype.isEnabled=function(){var e=this,t=e.request;return\"undefined\"!=typeof e.tunnelOverride?e.tunnelOverride:\"https:\"===t.uri.protocol},c.prototype.setup=function(e){var t=this,n=t.request;if(e=e||{},\"string\"==typeof n.proxy&&(n.proxy=u.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a=t.proxyHeaderExclusiveList.concat(f),c=t.proxyHeaderWhiteList.concat(a),p=i(n.headers,c);p.host=r(n.uri),a.forEach(n.removeHeader,n);var l=s(n),d=o(n,p);return n.agent=l(d),!0},c.defaultProxyHeaderWhiteList=l,c.defaultProxyHeaderExclusiveList=f,n.Tunnel=c},{\"tunnel-agent\":465,url:void 0}],404:[function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===i.call(e)},a=function(e){if(!e||\"[object Object]\"!==i.call(e))return!1;var t=r.call(e,\"constructor\"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return\"undefined\"==typeof o||r.call(e,o)};t.exports=function s(){var e,t,n,r,i,c,u=arguments[0],p=1,l=arguments.length,f=!1;for(\"boolean\"==typeof u?(f=u,u=arguments[1]||{},p=2):(\"object\"!=typeof u&&\"function\"!=typeof u||null==u)&&(u={});l>p;++p)if(e=arguments[p],null!=e)for(t in e)n=u[t],r=e[t],u!==r&&(f&&r&&(a(r)||(i=o(r)))?(i?(i=!1,c=n&&o(n)?n:[]):c=n&&a(n)?n:{},u[t]=s(f,c,r)):\"undefined\"!=typeof r&&(u[t]=r));return u}},{}],405:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function s(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function c(e){var t=this;e.har&&(t._har=new I(t),e=t._har.options(e)),h.Stream.call(t);var n=Object.keys(c.prototype),o=r(n,e);S(t,o),e=i(n,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new T(t),t._auth=new P(t),t._oauth=new F(t),t._multipart=new M(t),t._redirect=new z(t),t._tunnel=new B(t),t.init(e)}function u(){c.debug&&console.error(\"REQUEST %s\",d.format.apply(d,arguments))}var p=e(\"http\"),l=e(\"https\"),f=e(\"url\"),d=e(\"util\"),h=e(\"stream\"),m=e(\"zlib\"),v=e(\"bl\"),g=e(\"hawk\"),y=e(\"aws-sign2\"),b=e(\"http-signature\"),x=e(\"mime-types\"),w=e(\"stringstream\"),_=e(\"caseless\"),k=e(\"forever-agent\"),j=e(\"form-data\"),S=e(\"extend\"),E=e(\"is-typedarray\").strict,O=e(\"./lib/helpers\"),A=e(\"./lib/cookies\"),C=e(\"./lib/getProxyFromURI\"),T=e(\"./lib/querystring\").Querystring,I=e(\"./lib/har\").Har,P=e(\"./lib/auth\").Auth,F=e(\"./lib/oauth\").OAuth,M=e(\"./lib/multipart\").Multipart,z=e(\"./lib/redirect\").Redirect,B=e(\"./lib/tunnel\").Tunnel,N=O.safeStringify,D=O.isReadStream,q=O.toBase64,R=O.defer,L=O.copy,$=O.version,U=A.jar(),H={};d.inherits(c,h.Stream),c.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),c.prototype.debug=u,c.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=new n(r.body)),!r.hasHeader(\"content-length\")){var e;e=\"string\"==typeof r.body?n.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length,e?r.setHeader(\"content-length\",e):r.emit(\"error\",new Error(\"Argument error, options.body.\"))}}var r=this;e||(e={}),r.headers=r.headers?L(r.headers):{};for(var i in r.headers)\"undefined\"==typeof r.headers[i]&&delete r.headers[i];if(_.httpify(r,r.headers),r.method||(r.method=e.method||\"GET\"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),u(e),r.pool||r.pool===!1||(r.pool=H),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on(\"error\",r.callback.bind()),r.on(\"complete\",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if(\"string\"!=typeof r.baseUrl)return r.emit(\"error\",new Error(\"options.baseUrl must be a string\"));if(\"string\"!=typeof r.uri)return r.emit(\"error\",new Error(\"options.uri must be a string when using options.baseUrl\"));if(0===r.uri.indexOf(\"//\")||-1!==r.uri.indexOf(\"://\"))return r.emit(\"error\",new Error(\"options.uri must be a path when using options.baseUrl\"));var o=r.baseUrl.lastIndexOf(\"/\")===r.baseUrl.length-1,a=0===r.uri.indexOf(\"/\");o&&a?r.uri=r.baseUrl+r.uri.slice(1):o||a?r.uri=r.baseUrl+r.uri:\"\"===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+\"/\"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),\"unix:\"===r.uri.protocol)return r.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===r.uri.host&&r.enableUnixSocket(),r.strictSSL===!1&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname=\"/\"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var s=f.format(r.uri),c='Invalid URI \"'+s+'\"';return 0===Object.keys(e).length&&(c+=\". This can be caused by a crappy redirection.\"),r.abort(),r.emit(\"error\",new Error(c))}if(r.hasOwnProperty(\"proxy\")||(r.proxy=C(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader(\"host\")){var d=r.originalHostHeaderName||\"host\";r.setHeader(d,r.uri.hostname),r.uri.port&&(80===r.uri.port&&\"http:\"===r.uri.protocol||443===r.uri.port&&\"https:\"===r.uri.protocol||r.setHeader(d,r.getHeader(\"host\")+(\":\"+r.uri.port))),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||(\"http:\"===r.uri.protocol?r.uri.port=80:\"https:\"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var h=e.formData,m=r.form(),v=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?m.append(e,t.value,t.options):m.append(e,t)};for(var g in h)if(h.hasOwnProperty(g)){var y=h[g];if(y instanceof Array)for(var b=0;b<y.length;b++)v(g,y[b]);else v(g,y)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||\"\"),0===r.path.length&&(r.path=\"/\"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader(\"accept-encoding\")&&r.setHeader(\"accept-encoding\",\"gzip\"),r.uri.auth&&!r.hasHeader(\"authorization\")){var w=r.uri.auth.split(\":\").map(function(e){return r._qs.unescape(e)});r.auth(w[0],w.slice(1).join(\":\"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader(\"proxy-authorization\")){var j=r.proxy.auth.split(\":\").map(function(e){return r._qs.unescape(e)}),S=\"Basic \"+q(j.join(\":\"));r.setHeader(\"proxy-authorization\",S)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+\"//\"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader(\"authorization\")&&r.oauth(r._oauth.params);var O=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={\"http:\":p,\"https:\":l},T=r.httpModules||{};if(r.httpModule=T[O]||A[O],!r.httpModule)return r.emit(\"error\",new Error(\"Invalid protocol: \"+O));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var I=$();0===I.major&&I.minor<=10?r.agentClass=\"http:\"===O?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;r.pool===!1?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on(\"pipe\",function(e){if(r.ntick&&r._started&&r.emit(\"error\",new Error(\"You cannot pipe to this stream after the outbound request has started.\")),r.src=e,D(e))r.hasHeader(\"content-type\")||r.setHeader(\"content-type\",x.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader(\"content-type\")&&r.setHeader(\"content-type\",\"application/json\"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),R(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end();else if(r.requestBodyStream)console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();\"GET\"!==r.method&&\"undefined\"!=typeof r.method&&r.setHeader(\"content-length\",0),r.end()}};r._form&&!r.hasHeader(\"content-length\")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader(\"content-length\",n),e()})):e(),r.ntick=!0}})},c.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert),e.pfx&&(n.pfx=e.pfx),e.passphrase&&(n.passphrase=e.passphrase);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=f.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i&&(i+=\":\"),i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.pfx&&(i&&(i+=\":\"),i+=n.pfx.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===H&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},c.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=L(e);if(delete t.auth,u(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timing&&(e.startTime=(new Date).getTime()),e.timeout&&!e.timeoutTimer){var n=e.timeout<0?0:e.timeout;e.timeoutTimer=setTimeout(function(){var t=e.req.socket&&e.req.socket.readable===!1;e.abort();var n=new Error(\"ETIMEDOUT\");n.code=\"ETIMEDOUT\",n.connect=t,e.emit(\"error\",n)},n),e.req.setTimeout&&e.req.setTimeout(n,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",t.connect=!1,e.emit(\"error\",t)}})}e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",o)}),e.emit(\"request\",e.req)}},c.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},c.prototype.onRequestResponse=function(e){var t=this;if(u(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){t.timing&&(t.elapsedTime+=(new Date).getTime()-t.startTime,u(\"elapsed time\",t.elapsedTime),e.elapsedTime=t.elapsedTime),u(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(o)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",o)),t._aborted)return u(\"aborted\",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=s,t.httpModule===l&&t.strictSSL&&(!e.hasOwnProperty(\"socket\")||!e.socket.authorized)){u(\"strict ssl error\",t.uri.href);var n=e.hasOwnProperty(\"socket\")?e.socket.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+n))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:U,i=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=_(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(i):i(e.headers[a])}if(!t._redirect.onResponse(e)){e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var c;if(t.gzip){var p=e.headers[\"content-encoding\"]||\"identity\";p=p.trim().toLowerCase(),\"gzip\"===p?(c=m.createGunzip(),e.pipe(c)):(\"identity\"!==p&&u(\"ignoring unrecognized Content-Encoding \"+p),c=e)}else c=e;t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):c.setEncoding?c.setEncoding(t.encoding):c=c.pipe(w(t.encoding))),t._paused&&c.pause(),t.responseContent=c,t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),c.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),c.on(\"end\",function(e){t.emit(\"end\",e)}),c.on(\"error\",function(e){t.emit(\"error\",e)}),c.on(\"close\",function(){t.emit(\"close\")}),t.callback?t.readResponseBody(e):t.on(\"end\",function(){return t._aborted?void u(\"aborted\",t.uri.href):void t.emit(\"complete\",e)}),u(\"finish init function\",t.uri.href)}},c.prototype.readResponseBody=function(e){var t=this;u(\"reading response's body\");var r=v(),i=[];t.on(\"data\",function(e){n.isBuffer(e)?r.append(e):i.push(e)}),t.on(\"end\",function(){if(u(\"end event\",t.uri.href),t._aborted)return void u(\"aborted\",t.uri.href);if(r.length?(u(\"has body\",t.uri.href,r.length),null===t.encoding?e.body=r.slice():e.body=r.toString(t.encoding)):i.length&&(\"utf8\"===t.encoding&&i[0].length>0&&\"\\ufeff\"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(o){u(\"invalid JSON received\",t.uri.href)}u(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=null===t.encoding?new n(0):\"\"),t.emit(\"complete\",e,e.body)})},c.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit(\"abort\")},c.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},c.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r._qs.parse(r.uri.query):{};for(var i in e)n[i]=e[i];var o=r._qs.stringify(n);return\"\"===o?r:(r.uri=f.parse(r.uri.href.split(\"?\")[0]+\"?\"+o),r.url=r.uri,r.path=r.uri.path,\"unix\"===r.uri.host&&r.enableUnixSocket(),r)},c.prototype.form=function(e){var t=this;return e?(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))||t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?t._qs.rfc3986(e.toString(\"utf8\")):t._qs.stringify(e).toString(\"utf8\"),t):(t._form=new j,t._form.on(\"error\",function(e){e.message=\"form-data: \"+e.message,t.emit(\"error\",e),t.abort()}),t._form)},c.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},c.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))?t.body=t._qs.rfc3986(t.body):t.body=N(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=N(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},c.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n},c.prototype.enableUnixSocket=function(){var e=this.uri.path.split(\":\"),t=e[0],n=e[1];this.socketPath=t,this.uri.pathname=n,this.uri.path=n,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},c.prototype.auth=function(e,t,n,r){var i=this;return i._auth.onRequest(e,t,n,r),i},c.prototype.aws=function(t,n){var r=this;if(!n)return r._aws=t,r;if(4==t.sign_version||\"4\"==t.sign_version){var i=e(\"aws4\"),o={host:r.uri.host,path:r.uri.path,method:r.method,headers:{\"content-type\":r.getHeader(\"content-type\")||\"\"},body:r.body},a=i.sign(o,{accessKeyId:t.key,secretAccessKey:t.secret});r.setHeader(\"authorization\",a.headers.Authorization),r.setHeader(\"x-amz-date\",a.headers[\"X-Amz-Date\"])}else{var s=new Date;r.setHeader(\"date\",s.toUTCString());var c={key:t.key,secret:t.secret,verb:r.method.toUpperCase(),date:s,contentType:r.getHeader(\"content-type\")||\"\",md5:r.getHeader(\"content-md5\")||\"\",amazonHeaders:y.canonicalizeHeaders(r.headers)},u=r.uri.path;t.bucket&&u?c.resource=\"/\"+t.bucket+u:t.bucket&&!u?c.resource=\"/\"+t.bucket:!t.bucket&&u?c.resource=u:t.bucket||u||(c.resource=\"/\"),c.resource=y.canonicalizeResource(c.resource),r.setHeader(\"authorization\",y.authorization(c))}return r},c.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),u(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},c.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",g.client.header(t.uri,t.method,e).field)},c.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},c.prototype.jar=function(e){var t,n=this;if(0===n._redirect.redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:U,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},c.prototype.pipe=function(e,t){var n=this;if(!n.response)return n.dests.push(e),h.Stream.prototype.pipe.call(n,e,t),e;if(n._destdata)n.emit(\"error\",new Error(\"You cannot pipe after data has been emitted from the response.\"));else{if(!n._ended)return h.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e;n.emit(\"error\",new Error(\"You cannot pipe after the response has been ended.\"))}},c.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req.write.apply(e.req,arguments)},c.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req.end())},c.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},c.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},c.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},c.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),c.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),c.prototype.toJSON=a,t.exports=c}).call(this,e(\"buffer\").Buffer)},{\"./lib/auth\":394,\"./lib/cookies\":395,\"./lib/getProxyFromURI\":396,\"./lib/har\":397,\"./lib/helpers\":398,\"./lib/multipart\":399,\"./lib/oauth\":400,\"./lib/querystring\":401,\"./lib/redirect\":402,\"./lib/tunnel\":403,\"aws-sign2\":12,aws4:13,bl:14,buffer:void 0,caseless:71,extend:404,\"forever-agent\":116,\"form-data\":117,hawk:144,http:void 0,\"http-signature\":152,https:void 0,\"is-typedarray\":162,\"mime-types\":184,stream:void 0,stringstream:457,url:void 0,util:void 0,zlib:void 0}],406:[function(e,t,n){(function(n){var r=e(\"path\"),i=e(\"fs\"),o=e(\"util\").format,a=e(\"resolve-from\"),s=e(\"semver\"),c=i.existsSync||r.existsSync,u=function(e){for(var t=!1;!t;)if(c(e+\"/package.json\"))t=e;else{if(\"/\"===e)return!1;e=r.dirname(e)}return e},p=function(r,c){c=c||{},c.strict=\"boolean\"==typeof c.strict?c.strict:!0;var p=n;t.parent&&(p=t.parent.filename);var p=u(p);if(!p)throw new Error(\"package.json can not be located\");var l=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),f=r.split(/\\//);if(!l.peerOptionalDependencies)throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));if(l.peerOptionalDependencies&&!l.peerOptionalDependencies[f[0]])throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));var d=l.peerOptionalDependencies[f[0]],h=void 0,m=r;try{h=e(m)}catch(v){try{if(m=a(process.cwd(),r),null==m)return;h=e(m)}catch(v){if(\"MODULE_NOT_FOUND\"===v.code)return}}var p=u(e.resolve(m));if(!p)throw new Error(\"package.json can not be located\");var g=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),y=g.version;if(0==s.satisfies(y,d)&&c.strict){var b=new Error(o(\"optional dependency [%s] found but version [%s] did not satisfy constraint [%s]\",f[0],y,d));throw b.code=\"OPTIONAL_MODULE_NOT_FOUND\",b}return h};p.exists=function(e){try{var t=p(e);return void 0!==t}catch(n){return!1}},t.exports=p}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/require_optional\");\n},{fs:void 0,path:void 0,\"resolve-from\":407,semver:408,util:void 0}],407:[function(e,t,n){\"use strict\";var r=e(\"path\"),i=e(\"module\");t.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected `fromDir` and `moduleId` to be a string\");e=r.resolve(e);var n=r.join(e,\"noop.js\");try{return i._resolveFilename(t,{id:n,filename:n,paths:i._nodeModulePaths(e)})}catch(o){return null}}},{module:void 0,path:void 0}],408:[function(e,t,n){function r(e,t){if(e instanceof a)return e;if(\"string\"!=typeof e)return null;if(e.length>Y)return null;var n=t?G[fe]:G[ue];if(!n.test(e))return null;try{return new a(e,t)}catch(r){return null}}function i(e,t){var n=r(e,t);return n?n.version:null}function o(e,t){var n=r(e.trim().replace(/^[=v]+/,\"\"),t);return n?n.version:null}function a(e,t){if(e instanceof a){if(e.loose===t)return e;e=e.version}else if(\"string\"!=typeof e)throw new TypeError(\"Invalid Version: \"+e);if(e.length>Y)throw new TypeError(\"version is longer than \"+Y+\" characters\");if(!(this instanceof a))return new a(e,t);W(\"SemVer\",e,t),this.loose=t;var n=e.trim().match(t?G[fe]:G[ue]);if(!n)throw new TypeError(\"Invalid Version: \"+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>K||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>K||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>K||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&K>t)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}function s(e,t,n,r){\"string\"==typeof n&&(r=n,n=void 0);try{return new a(e,n).inc(t,r).version}catch(i){return null}}function c(e,t){if(w(e,t))return null;var n=r(e),i=r(t);if(n.prerelease.length||i.prerelease.length){for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return\"pre\"+o;return\"prerelease\"}for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return o}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:t>e?-1:e>t?1:0}function p(e,t){return u(t,e)}function l(e,t){return new a(e,t).major}function f(e,t){return new a(e,t).minor}function d(e,t){return new a(e,t).patch}function h(e,t,n){return new a(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function g(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function y(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function b(e,t,n){return h(e,t,n)>0}function x(e,t,n){return h(e,t,n)<0}function w(e,t,n){return 0===h(e,t,n)}function _(e,t,n){return 0!==h(e,t,n)}function k(e,t,n){return h(e,t,n)>=0}function j(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){var i;switch(t){case\"===\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e===n;break;case\"!==\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e!==n;break;case\"\":case\"=\":case\"==\":i=w(e,n,r);break;case\"!=\":i=_(e,n,r);break;case\">\":i=b(e,n,r);break;case\">=\":i=k(e,n,r);break;case\"<\":i=x(e,n,r);break;case\"<=\":i=j(e,n,r);break;default:throw new TypeError(\"Invalid operator: \"+t)}return i}function E(e,t){if(e instanceof E){if(e.loose===t)return e;e=e.value}return this instanceof E?(W(\"comparator\",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value=\"\":this.value=this.operator+this.semver.version,void W(\"comp\",this)):new E(e,t)}function O(e,t){if(e instanceof O&&e.loose===t)return e;if(!(this instanceof O))return new O(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\\s*\\|\\|\\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError(\"Invalid SemVer Range: \"+e);this.format()}function A(e,t){return new O(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(\" \").trim().split(\" \")})}function C(e,t){return W(\"comp\",e),e=F(e,t),W(\"caret\",e),e=I(e,t),W(\"tildes\",e),e=z(e,t),W(\"xrange\",e),e=N(e,t),W(\"stars\",e),e}function T(e){return!e||\"x\"===e.toLowerCase()||\"*\"===e}function I(e,t){return e.trim().split(/\\s+/).map(function(e){return P(e,t)}).join(\" \")}function P(e,t){var n=t?G[je]:G[ke];return e.replace(n,function(t,n,r,i,o){W(\"tilde\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":o?(W(\"replaceTilde pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\"):a=\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\",W(\"tilde return\",a),a})}function F(e,t){return e.trim().split(/\\s+/).map(function(e){return M(e,t)}).join(\" \")}function M(e,t){W(\"caret\",e,t);var n=t?G[Ce]:G[Ae];return e.replace(n,function(t,n,r,i,o){W(\"caret\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\"0\"===n?\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".0 <\"+(+n+1)+\".0.0\":o?(W(\"replaceCaret pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+(+n+1)+\".0.0\"):(W(\"no pr\"),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+\" <\"+(+n+1)+\".0.0\"),W(\"caret return\",a),a})}function z(e,t){return W(\"replaceXRanges\",e,t),e.split(/\\s+/).map(function(e){return B(e,t)}).join(\" \")}function B(e,t){e=e.trim();var n=t?G[be]:G[ye];return e.replace(n,function(t,n,r,i,o,a){W(\"xRange\",e,t,n,r,i,o,a);var s=T(r),c=s||T(i),u=c||T(o),p=u;return\"=\"===n&&p&&(n=\"\"),s?t=\">\"===n||\"<\"===n?\"<0.0.0\":\"*\":n&&p?(c&&(i=0),u&&(o=0),\">\"===n?(n=\">=\",c?(r=+r+1,i=0,o=0):u&&(i=+i+1,o=0)):\"<=\"===n&&(n=\"<\",c?r=+r+1:i=+i+1),t=n+r+\".\"+i+\".\"+o):c?t=\">=\"+r+\".0.0 <\"+(+r+1)+\".0.0\":u&&(t=\">=\"+r+\".\"+i+\".0 <\"+r+\".\"+(+i+1)+\".0\"),W(\"xRange return\",t),t})}function N(e,t){return W(\"replaceStars\",e,t),e.trim().replace(G[Be],\"\")}function D(e,t,n,r,i,o,a,s,c,u,p,l,f){return t=T(n)?\"\":T(r)?\">=\"+n+\".0.0\":T(i)?\">=\"+n+\".\"+r+\".0\":\">=\"+t,s=T(c)?\"\":T(u)?\"<\"+(+c+1)+\".0.0\":T(p)?\"<\"+c+\".\"+(+u+1)+\".0\":l?\"<=\"+c+\".\"+u+\".\"+p+\"-\"+l:\"<=\"+s,(t+\" \"+s).trim()}function q(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(W(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new O(t,n)}catch(r){return!1}return t.test(e)}function L(e,t,n){return e.filter(function(e){return R(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function $(e,t){try{return new O(e,t).range||\"*\"}catch(n){return null}}function U(e,t,n){return V(e,t,\"<\",n)}function H(e,t,n){return V(e,t,\">\",n)}function V(e,t,n,r){e=new a(e,r),t=new O(t,r);var i,o,s,c,u;switch(n){case\">\":i=b,o=j,s=x,c=\">\",u=\">=\";break;case\"<\":i=x,o=k,s=b,c=\"<\",u=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(R(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var l=t.set[p],f=null,d=null;if(l.forEach(function(e){e.semver===qe&&(e=new E(\">=0.0.0\")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:s(e.semver,d.semver,r)&&(d=e)}),f.operator===c||f.operator===u)return!1;if((!d.operator||d.operator===c)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0}n=t.exports=a;var W;W=\"object\"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\\bsemver\\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(\"SEMVER\"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION=\"2.0.0\";var Y=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,G=n.re=[],J=n.src=[],Z=0,Q=Z++;J[Q]=\"0|[1-9]\\\\d*\";var X=Z++;J[X]=\"[0-9]+\";var ee=Z++;J[ee]=\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";var te=Z++;J[te]=\"(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\";var ne=Z++;J[ne]=\"(\"+J[X]+\")\\\\.(\"+J[X]+\")\\\\.(\"+J[X]+\")\";var re=Z++;J[re]=\"(?:\"+J[Q]+\"|\"+J[ee]+\")\";var ie=Z++;J[ie]=\"(?:\"+J[X]+\"|\"+J[ee]+\")\";var oe=Z++;J[oe]=\"(?:-(\"+J[re]+\"(?:\\\\.\"+J[re]+\")*))\";var ae=Z++;J[ae]=\"(?:-?(\"+J[ie]+\"(?:\\\\.\"+J[ie]+\")*))\";var se=Z++;J[se]=\"[0-9A-Za-z-]+\";var ce=Z++;J[ce]=\"(?:\\\\+(\"+J[se]+\"(?:\\\\.\"+J[se]+\")*))\";var ue=Z++,pe=\"v?\"+J[te]+J[oe]+\"?\"+J[ce]+\"?\";J[ue]=\"^\"+pe+\"$\";var le=\"[v=\\\\s]*\"+J[ne]+J[ae]+\"?\"+J[ce]+\"?\",fe=Z++;J[fe]=\"^\"+le+\"$\";var de=Z++;J[de]=\"((?:<|>)?=?)\";var he=Z++;J[he]=J[X]+\"|x|X|\\\\*\";var me=Z++;J[me]=J[Q]+\"|x|X|\\\\*\";var ve=Z++;J[ve]=\"[v=\\\\s]*(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\"+J[oe]+\")?\"+J[ce]+\"?)?)?\";var ge=Z++;J[ge]=\"[v=\\\\s]*(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\"+J[ae]+\")?\"+J[ce]+\"?)?)?\";var ye=Z++;J[ye]=\"^\"+J[de]+\"\\\\s*\"+J[ve]+\"$\";var be=Z++;J[be]=\"^\"+J[de]+\"\\\\s*\"+J[ge]+\"$\";var xe=Z++;J[xe]=\"(?:~>?)\";var we=Z++;J[we]=\"(\\\\s*)\"+J[xe]+\"\\\\s+\",G[we]=new RegExp(J[we],\"g\");var _e=\"$1~\",ke=Z++;J[ke]=\"^\"+J[xe]+J[ve]+\"$\";var je=Z++;J[je]=\"^\"+J[xe]+J[ge]+\"$\";var Se=Z++;J[Se]=\"(?:\\\\^)\";var Ee=Z++;J[Ee]=\"(\\\\s*)\"+J[Se]+\"\\\\s+\",G[Ee]=new RegExp(J[Ee],\"g\");var Oe=\"$1^\",Ae=Z++;J[Ae]=\"^\"+J[Se]+J[ve]+\"$\";var Ce=Z++;J[Ce]=\"^\"+J[Se]+J[ge]+\"$\";var Te=Z++;J[Te]=\"^\"+J[de]+\"\\\\s*(\"+le+\")$|^$\";var Ie=Z++;J[Ie]=\"^\"+J[de]+\"\\\\s*(\"+pe+\")$|^$\";var Pe=Z++;J[Pe]=\"(\\\\s*)\"+J[de]+\"\\\\s*(\"+le+\"|\"+J[ve]+\")\",G[Pe]=new RegExp(J[Pe],\"g\");var Fe=\"$1$2$3\",Me=Z++;J[Me]=\"^\\\\s*(\"+J[ve]+\")\\\\s+-\\\\s+(\"+J[ve]+\")\\\\s*$\";var ze=Z++;J[ze]=\"^\\\\s*(\"+J[ge]+\")\\\\s+-\\\\s+(\"+J[ge]+\")\\\\s*$\";var Be=Z++;J[Be]=\"(<|>)?=?\\\\s*\\\\*\";for(var Ne=0;Z>Ne;Ne++)W(Ne,J[Ne]),G[Ne]||(G[Ne]=new RegExp(J[Ne]));n.parse=r,n.valid=i,n.clean=o,n.SemVer=a,a.prototype.format=function(){return this.version=this.major+\".\"+this.minor+\".\"+this.patch,this.prerelease.length&&(this.version+=\"-\"+this.prerelease.join(\".\")),this.version},a.prototype.toString=function(){return this.version},a.prototype.compare=function(e){return W(\"SemVer.compare\",this.version,this.loose,e),e instanceof a||(e=new a(e,this.loose)),this.compareMain(e)||this.comparePre(e)},a.prototype.compareMain=function(e){return e instanceof a||(e=new a(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},a.prototype.comparePre=function(e){if(e instanceof a||(e=new a(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(W(\"prerelease compare\",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},a.prototype.inc=function(e,t){switch(e){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",t);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",t);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"prerelease\":0===this.prerelease.length&&this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"major\":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case\"pre\":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)\"number\"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(\"invalid increment argument: \"+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=c,n.compareIdentifiers=u;var De=/^[0-9]+$/;n.rcompareIdentifiers=p,n.major=l,n.minor=f,n.patch=d,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=g,n.rsort=y,n.gt=b,n.lt=x,n.eq=w,n.neq=_,n.gte=k,n.lte=j,n.cmp=S,n.Comparator=E;var qe={};E.prototype.parse=function(e){var t=this.loose?G[Te]:G[Ie],n=e.match(t);if(!n)throw new TypeError(\"Invalid comparator: \"+e);this.operator=n[1],\"=\"===this.operator&&(this.operator=\"\"),n[2]?this.semver=new a(n[2],this.loose):this.semver=qe},E.prototype.toString=function(){return this.value},E.prototype.test=function(e){return W(\"Comparator.test\",e,this.loose),this.semver===qe?!0:(\"string\"==typeof e&&(e=new a(e,this.loose)),S(e,this.operator,this.semver,this.loose))},n.Range=O,O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(\" \").trim()}).join(\"||\").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),W(\"range\",e,t);var n=t?G[ze]:G[Me];e=e.replace(n,D),W(\"hyphen replace\",e),e=e.replace(G[Pe],Fe),W(\"comparator trim\",e,G[Pe]),e=e.replace(G[we],_e),e=e.replace(G[Ee],Oe),e=e.split(/\\s+/).join(\" \");var r=t?G[Te]:G[Ie],i=e.split(\" \").map(function(e){return C(e,t)}).join(\" \").split(/\\s+/);return this.loose&&(i=i.filter(function(e){return!!e.match(r)})),i=i.map(function(e){return new E(e,t)})},n.toComparators=A,O.prototype.test=function(e){if(!e)return!1;\"string\"==typeof e&&(e=new a(e,this.loose));for(var t=0;t<this.set.length;t++)if(q(this.set[t],e))return!0;return!1},n.satisfies=R,n.maxSatisfying=L,n.validRange=$,n.ltr=U,n.gtr=H,n.outside=V},{}],409:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){return new i(e,t,n)}function i(e,t,n){var r=n||{};if(this.options=r,this.path=t,this.req=e,this._etag=void 0!==r.etag?Boolean(r.etag):!0,this._dotfiles=void 0!==r.dotfiles?r.dotfiles:\"ignore\",\"ignore\"!==this._dotfiles&&\"allow\"!==this._dotfiles&&\"deny\"!==this._dotfiles)throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"');this._hidden=Boolean(r.hidden),void 0!==r.hidden&&p(\"hidden: use dotfiles: '\"+(this._hidden?\"allow\":\"ignore\")+\"' instead\"),void 0===r.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==r.extensions?s(r.extensions,\"extensions option\"):[],this._index=void 0!==r.index?s(r.index,\"index option\"):[\"index.html\"],this._lastModified=void 0!==r.lastModified?Boolean(r.lastModified):!0,this._maxage=r.maxAge||r.maxage,this._maxage=\"string\"==typeof this._maxage?k(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),O),this._root=r.root?A(r.root):null,!this._root&&r.from&&this.from(r.from)}function o(e){for(var t=0;t<e.length;t++)if(\".\"===e[t][0])return!0;return!1}function a(e){try{return decodeURIComponent(e)}catch(t){return-1}}function s(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(\"string\"!=typeof n[r])throw new TypeError(t+\" must be array of strings or false\");return n}var c=e(\"http-errors\"),u=e(\"debug\")(\"send\"),p=e(\"depd\")(\"send\"),l=e(\"destroy\"),f=e(\"escape-html\"),d=e(\"range-parser\"),h=e(\"stream\"),m=e(\"mime\"),v=e(\"fresh\"),g=e(\"path\"),y=e(\"fs\"),b=g.normalize,x=g.join,w=e(\"etag\"),_=e(\"events\").EventEmitter,k=e(\"ms\"),j=e(\"on-finished\"),S=e(\"statuses\"),E=g.extname,O=31536e6,A=g.resolve,C=g.sep,T=(Object.prototype.toString,/(?:^|[\\\\\\/])\\.\\.(?:[\\\\\\/]|$)/);t.exports=r,t.exports.mime=m;var I=_.listenerCount||function(e,t){return e.listeners(t).length};i.prototype.__proto__=h.prototype,i.prototype.etag=p[\"function\"](function(e){return e=Boolean(e),u(\"etag %s\",e),this._etag=e,this},\"send.etag: pass etag as option\"),i.prototype.hidden=p[\"function\"](function(e){return e=Boolean(e),u(\"hidden %s\",e),this._hidden=e,this._dotfiles=void 0,this},\"send.hidden: use dotfiles option\"),i.prototype.index=p[\"function\"](function P(e){var P=e?s(e,\"paths argument\"):[];return u(\"index %o\",e),this._index=P,this},\"send.index: pass index as option\"),i.prototype.root=function(e){return e=String(e),this._root=A(e),this},i.prototype.from=p[\"function\"](i.prototype.root,\"send.from: pass root as option\"),i.prototype.root=p[\"function\"](i.prototype.root,\"send.root: pass root as option\"),i.prototype.maxage=p[\"function\"](function(e){return e=\"string\"==typeof e?k(e):Number(e),isNaN(e)&&(e=0),1/0==e&&(e=31536e6),u(\"max-age %d\",e),this._maxage=e,this},\"send.maxage: pass maxAge as option\"),i.prototype.error=function F(e,F){if(0!==I(this,\"error\"))return this.emit(\"error\",c(F,e,{expose:!1}));var t=this.res,r=S[e];t._headers=null,t.statusCode=e,t.setHeader(\"Content-Type\",\"text/plain; charset=UTF-8\"),t.setHeader(\"Content-Length\",n.byteLength(r)),t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.end(r)},i.prototype.hasTrailingSlash=function(){return\"/\"==this.path[this.path.length-1]},i.prototype.isConditionalGET=function(){return this.req.headers[\"if-none-match\"]||this.req.headers[\"if-modified-since\"]},i.prototype.removeContentHeaderFields=function(){for(var e=this.res,t=Object.keys(e._headers||{}),n=0;n<t.length;n++){var r=t[n];\"content-\"===r.substr(0,8)&&\"content-location\"!==r&&e.removeHeader(r)}},i.prototype.notModified=function(){var e=this.res;u(\"not modified\"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},i.prototype.headersAlreadySent=function(){var e=new Error(\"Can't set headers after they are sent.\");u(\"headers already sent\"),this.error(500,e)},i.prototype.isCachable=function(){var e=this.res;return e.statusCode>=200&&e.statusCode<300||304==e.statusCode},i.prototype.onStatError=function(e){switch(e.code){case\"ENAMETOOLONG\":case\"ENOENT\":case\"ENOTDIR\":this.error(404,e);break;default:this.error(500,e)}},i.prototype.isFresh=function(){return v(this.req.headers,this.res._headers)},i.prototype.isRangeFresh=function(){var e=this.req.headers[\"if-range\"];return e?~e.indexOf('\"')?~e.indexOf(this.res._headers.etag):Date.parse(this.res._headers[\"last-modified\"])<=Date.parse(e):!0},i.prototype.redirect=function(e){if(0!==I(this,\"directory\"))return void this.emit(\"directory\");if(this.hasTrailingSlash())return void this.error(403);var t=e+\"/\",r='Redirecting to <a href=\"'+f(t)+'\">'+f(t)+\"</a>\\n\",i=this.res;i.statusCode=301,i.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),i.setHeader(\"Content-Length\",n.byteLength(r)),i.setHeader(\"X-Content-Type-Options\",\"nosniff\"),i.setHeader(\"Location\",t),i.end(r)},i.prototype.pipe=function(e){var t=this._root;this.res=e;var n=a(this.path);if(-1===n)return this.error(400);if(~n.indexOf(\"\\x00\"))return this.error(400);var r;if(null!==t){if(T.test(b(\".\"+C+n)))return u('malicious path \"%s\"',n),this.error(403);n=b(x(t,n)),t=b(t+C),r=n.substr(t.length).split(C)}else{if(T.test(n))return u('malicious path \"%s\"',n),this.error(403);r=b(n).split(C),n=A(n)}if(o(r)){var i=this._dotfiles;switch(void 0===i&&(i=\".\"===r[r.length-1][0]?this._hidden?\"allow\":\"ignore\":\"allow\"),u('%s dotfile \"%s\"',i,n),i){case\"allow\":break;case\"deny\":return this.error(403);case\"ignore\":default:return this.error(404)}}return this._index.length&&\"/\"===this.path[this.path.length-1]?(this.sendIndex(n),e):(this.sendFile(n),e)},i.prototype.send=function(e,t){var n=t.size,r=this.options,i={},o=this.res,a=this.req,s=a.headers.range,c=r.start||0;if(o._header)return this.headersAlreadySent();if(u('pipe \"%s\"',e),this.setHeader(e,t),this.type(e),this.isConditionalGET()&&this.isCachable()&&this.isFresh())return this.notModified();if(n=Math.max(0,n-c),void 0!==r.end){var p=r.end-c+1;n>p&&(n=p)}if(s){if(s=d(n,s),this.isRangeFresh()||(u(\"range stale\"),s=-2),-1==s)return u(\"range unsatisfiable\"),o.setHeader(\"Content-Range\",\"bytes */\"+t.size),this.error(416);-2!=s&&1===s.length&&(u(\"range %j\",s),o.statusCode=206,o.setHeader(\"Content-Range\",\"bytes \"+s[0].start+\"-\"+s[0].end+\"/\"+n),c+=s[0].start,n=s[0].end-s[0].start+1)}for(var l in r)i[l]=r[l];return i.start=c,i.end=Math.max(c,c+n-1),o.setHeader(\"Content-Length\",n),\"HEAD\"==a.method?o.end():void this.stream(e,i)},i.prototype.sendFile=function(e){function t(i){if(r._extensions.length<=n)return i?r.onStatError(i):r.error(404);var o=e+\".\"+r._extensions[n++];u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=0,r=this;u('stat \"%s\"',e),y.stat(e,function(n,i){return n&&\"ENOENT\"===n.code&&!E(e)&&e[e.length-1]!==C?t(n):n?r.onStatError(n):i.isDirectory()?r.redirect(r.path):(r.emit(\"file\",e,i),void r.send(e,i))})},i.prototype.sendIndex=function(e){function t(i){if(++n>=r._index.length)return i?r.onStatError(i):r.error(404);var o=x(e,r._index[n]);u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=-1,r=this;t()},i.prototype.stream=function(e,t){var n=!1,r=this,i=this.res,o=(this.req,y.createReadStream(e,t));this.emit(\"stream\",o),o.pipe(i),j(i,function(){n=!0,l(o)}),o.on(\"error\",function(e){n||(n=!0,l(o),r.onStatError(e))}),o.on(\"end\",function(){r.emit(\"end\")})},i.prototype.type=function(e){var t=this.res;if(!t.getHeader(\"Content-Type\")){var n=m.lookup(e),r=m.charsets.lookup(n);u(\"content-type %s\",n),t.setHeader(\"Content-Type\",n+(r?\"; charset=\"+r:\"\"))}},i.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(\"headers\",n,e,t),n.getHeader(\"Accept-Ranges\")||n.setHeader(\"Accept-Ranges\",\"bytes\"),n.getHeader(\"Cache-Control\")||n.setHeader(\"Cache-Control\",\"public, max-age=\"+Math.floor(this._maxage/1e3)),this._lastModified&&!n.getHeader(\"Last-Modified\")){var r=t.mtime.toUTCString();u(\"modified %s\",r),n.setHeader(\"Last-Modified\",r)}if(this._etag&&!n.getHeader(\"ETag\")){var i=w(t);u(\"etag %s\",i),n.setHeader(\"ETag\",i)}}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,depd:85,destroy:90,\"escape-html\":96,etag:97,events:void 0,fresh:120,fs:void 0,\"http-errors\":151,mime:185,ms:355,\"on-finished\":363,path:void 0,\"range-parser\":387,statuses:455,stream:void 0}],410:[function(e,t,n){t.exports=e(\"./lib/sendgrid\")},{\"./lib/sendgrid\":413}],411:[function(e,t,n){\"use strict\";function r(e){e=e||{},this.to=e.to||[],this.from=e.from||\"\",this.smtpapi=e.smtpapi||new o,this.subject=e.subject||\"\",this.text=e.text||\"\",this.html=e.html||\"\",this.bcc=e.bcc||[],this.cc=e.cc||[],this.replyto=e.replyto||\"\",this.date=e.date||\"\",this.headers=e.headers||{},null!==e.toname&&(this.toname=e.toname),null!==e.fromname&&(this.fromname=e.fromname),this.files=[],e.files&&e.files.forEach(function(e){this.files.push(new i(e))},this)}var i=e(\"./file_handler\"),o=e(\"smtpapi\"),a=e(\"lodash\"),s=e(\"request\"),c=e(\"fs\");r.prototype.addHeader=function(e,t){if(\"undefined\"!=typeof t&&null!==t||(t=\"\"),a.isObject(e))a.extend(this.headers,e);else{var n={};n[e]=t,a.extend(this.headers,n)}return this},r.prototype.setHeaders=function(e){return a.isObject(e)&&(this.headers=e),this},r.prototype.addTo=function(e){return this.to.push(e),this},r.prototype.setSmtpapiTos=function(e){return this.smtpapi.setTos(e),this},r.prototype.addSmtpapiTo=function(e){return this.smtpapi.addTo(e),this},r.prototype.setTos=function(e){return this.to=e,this},r.prototype.setFrom=function(e){return this.from=e,this},r.prototype.setFromName=function(e){this.fromname=e},r.prototype.addCc=function(e){return this.cc.push(e),this},r.prototype.setCcs=function(e){return this.cc=e,this},r.prototype.addBcc=function(e){return this.bcc.push(e),this},r.prototype.setBccs=function(e){return this.bcc=e,this},r.prototype.setSubject=function(e){return this.subject=e,this},r.prototype.setText=function(e){return this.text=e,this},r.prototype.setHtml=function(e){return this.html=e,this},r.prototype.addSubstitution=function(e,t){return this.smtpapi.addSubstitution(e,t),this},r.prototype.setSubstitutions=function(e){return this.smtpapi.setSubstitutions(e),this},r.prototype.addUniqueArg=function(e,t){return this.smtpapi.addUniqueArg(e,t),this},r.prototype.setUniqueArgs=function(e){return this.smtpapi.setUniqueArgs(e),this},r.prototype.addCategory=function(e){return this.smtpapi.addCategory(e),this},r.prototype.setCategories=function(e){return this.smtpapi.setCategories(e),this},r.prototype.addSection=function(e,t){return this.smtpapi.addSection(e,t),this},r.prototype.setSections=function(e){return this.smtpapi.setSections(e),this},r.prototype.addFilter=function(e,t,n){return this.smtpapi.addFilter(e,t,n),this},r.prototype.setFilters=function(e){return this.smtpapi.setFilters(e),this},r.prototype.setASMGroupID=function(e){return this.smtpapi.setASMGroupID(e),this},r.prototype.addFile=function(e){return this.files.push(new i(e)),this},r.prototype.setDate=function(e){return this.date=e,this},r.prototype.setSendAt=function(e){return this.smtpapi.setSendAt(e),this},r.prototype.setSendEachAt=function(e){return this.smtpapi.setSendEachAt(e),this},r.prototype.addSendEachAt=function(e){return this.smtpapi.addSendEachAt(e),this},r.prototype.toWebFormat=function(){var e={to:this.to,from:this.from,\"x-smtpapi\":this.smtpapi.jsonString(),subject:this.subject,text:this.text,html:this.html,headers:JSON.stringify(this.headers)};return this.bcc&&(e.bcc=this.bcc),this.cc&&(e.cc=this.cc),this.html&&(e.html=this.html),this.toname&&(e.toname=this.toname),this.fromname&&(e.fromname=this.fromname),this.replyto&&(e.replyto=this.replyto),this.date&&(e.date=this.date),this.smtpapi.to&&this.smtpapi.to.length&&(e.to=\"\"),this.updateMissingTo(e),this.files&&this.files.forEach(function(t){t.url?t.content=s(t.url):t.path&&(t.content=c.createReadStream(t.path)),e[\"files[\"+t.filename+\"]\"]={filename:t.filename,content:t.content||\" \",contentType:t.contentType,cid:t.cid}}),e},r.prototype._formatFilesForNodeMailer=function(e){var t=this;e&&e.length>0&&e.forEach(function(e){t._formatFileForNodeMailer(e)})},r.prototype._formatFileForNodeMailer=function(e){e.filename&&(e.fileName=e.filename),e.path&&(e.filePath=e.path),e.url&&(e.filePath=e.url),e.content&&(e.contents=e.content),e.filePath||e.content||!e.filename||(e.contents=\" \")},r.prototype.updateMissingTo=function(e){this.smtpapi.jsonObject().to&&this.smtpapi.jsonObject().to.length>0&&(e.to=this.from)},r.prototype.hasFiles=function(){return this.files.length>0},t.exports=r},{\"./file_handler\":412,fs:void 0,lodash:414,request:393,smtpapi:432}],412:[function(e,t,n){(function(n){\"use strict\";function r(e){this.filename=e.filename,e.contentType&&(this.contentType=e.contentType),e.cid&&(this.cid=e.cid),e.content?(this.type=\"content\",this.content=e.content,this.contentType||(this.contentType=o.lookup(this.filename))):e.path?(this.type=\"path\",this.path=e.path,this.filename||(this.filename=e.path.split(\"/\").pop()),a.isEmpty(e.contentType)&&(this.contentType=o.lookup(this.path))):e.url?(this.type=\"url\",this.url=e.url,this.contentType||(this.contentType=o.lookup(this.url))):(this.type=\"none\",this.contentType=\"none\")}var i=e(\"http\"),o=e(\"mime\"),a=e(\"lodash\"),s=e(\"url\"),c=e(\"fs\");r.handlers={content:function(e,t){e.content?t():t(!0,\"Content was missing\")},path:function(e,t){c.readFile(e.path,function(n,r){return n?t(!0,n):(e.content=r,void t())})},url:function(e,t){var r=s.parse(e.url),o=r.host,c=r.path,u=i.request({host:o,path:c,method:\"GET\"},function(r){var i=[],o=0;r.setEncoding(\"base64\"),r.on(\"data\",function(e){o+=n.byteLength(e),i.push(e)}),r.on(\"end\",function(){var r=new n(o,\"base64\"),s=0;a(i).each(function(e){s+=r.write(e,s,\"base64\")}),e.content=r,t()})});u.on(\"error\",function(e){t(!0,e)}),u.end()},none:function(e,t){t(!0,\"File was not included\")}},r.prototype.loadContent=function(e){var t=r.handlers[this.type];t?r.handlers[this.type](this,e):e(!0,\"Upload method not supported\")},t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,fs:void 0,http:void 0,lodash:414,mime:185,url:void 0}],413:[function(e,t,n){\"use strict\";var r=e(\"./../package.json\"),i=e(\"lodash\"),o=e(\"request\"),a=e(\"smtpapi\"),s=e(\"./email\"),c=function(e,t,n){if(!(this instanceof c))return new c(e,t,n);if(\"string\"==typeof t)this.api_user=e,this.api_key=t,this.options=n||{};else{if(\"object\"!=typeof t&&void 0!==t)throw new Error(\"Need a username + password or api key!\");this.api_key=e,this.api_user=null,this.options=t||{}}var u={};u.protocol=this.options.protocol||\"https\",u.host=this.options.host||\"api.sendgrid.com\",u.port=this.options.port||\"\",u.endpoint=this.options.endpoint||\"/api/mail.send.json\",delete this.options.protocol,delete this.options.host,delete this.options.port,delete this.options.endpoint,this.options.uriParts=u,this.options.uri=this.options.uri||u.protocol+\"://\"+u.host+(u.port?\":\"+u.port:\"\")+u.endpoint;var p=function(e,t){var t=t||function(){};e.constructor!==s&&(e=new s(e)),l.bind(this)(e,t)},l=function(e,t){var n={method:\"POST\",headers:{\"User-Agent\":\"sendgrid/\"+r.version+\";nodejs\"}};null===this.api_user&&(n.headers.Authorization=\"Bearer \"+this.api_key);var a=i.merge(n,this.options),s=o(a,function(e,n,r){var i;if(e)return t(e,null);try{i=JSON.parse(r)}catch(o){return o.message=o.message+\" JSONPARSEERROR when parsing: \"+r,t(new Error(o),null)}if(\"success\"!==i.message){var a=\"sendgrid error\";return i.errors&&(a=i.errors.shift()),t(new Error(a),null)}return t(null,i)}),c=e.toWebFormat();null!==this.api_user&&(c.api_user=this.api_user,c.api_key=this.api_key);var u=s.form(),p=function(e,t){u.append(e,t)};for(var l in c){var f=c[l];if(f&&f.filename)f.cid&&u.append(\"content[\"+f.filename+\"]\",f.cid),u.append(\"files[\"+f.filename+\"]\",f.content,{filename:f.filename,contentType:f.contentType});else try{Array.isArray(f)?f.forEach(p.bind(this,l)):p.bind(this)(l,f)}catch(d){}}};return this.version=r.version,this.Email=s,this.smtpapi=a,this.send=p,this.options=this.options,this};t.exports=c},{\"./../package.json\":415,\"./email\":411,lodash:414,request:393,smtpapi:432}],414:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function i(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function o(e,t,n){if(t!==t)return v(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function a(e){return\"function\"==typeof e||!1}function s(e){return null==e?\"\":e+\"\"}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function u(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function l(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=c)return u;var p=n[i];return u*(\"asc\"===p||p===!0?1:-1)}}return e.index-t.index}function f(e){return He[e]}function d(e){return Ve[e]}function h(e,t,n){return t?e=Ke[e]:n&&(e=Ge[e]),\"\\\\\"+e}function m(e){return\"\\\\\"+Ge[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function g(e){return!!e&&\"object\"==typeof e}function y(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=H,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],c=t?t(s,r,e):s;r&&n===c||(n=c,a[++o]=s)}return a}function w(e){for(var t=-1,n=e.length;++t<n&&y(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&y(e.charCodeAt(t)););return t}function k(e){return We[e]}function j(e){function t(e){if(g(e)&&!Cs(e)&&!(e instanceof Z)){if(e instanceof y)return e;if(ta.call(e,\"__chain__\")&&ta.call(e,\"__wrapped__\"))return dr(e)}return new y(e)}function n(){}function y(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Aa,this.__views__=[]}function te(){var e=new Z(this.__wrapped__);return e.__actions__=et(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=et(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=et(this.__views__),e}function re(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function He(){var e=this.__wrapped__.value(),t=this.__dir__,n=Cs(e),r=0>t,i=n?e.length:0,o=Wn(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=ka(c,this.__takeCount__);if(!n||R>i||i==c&&d==c)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;c--&&d>f;){\nu+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==$)v=x;else if(!x){if(b==L)continue e;break e}}h[f++]=v}return h}function Ve(){this.__data__={}}function We(e){return this.has(e)&&delete this.__data__[e]}function Ye(e){return\"__proto__\"==e?S:this.__data__[e]}function Ke(e){return\"__proto__\"!=e&&ta.call(this.__data__,e)}function Ge(e,t){return\"__proto__\"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ga(null),set:new la};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r=\"string\"==typeof t||Mi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Qe(e){var t=this.data;\"string\"==typeof e||Mi(e)?t.set.add(e):t.hash[e]=!0}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Lo(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function et(e,t){var n=-1,r=e.length;for(t||(t=Lo(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function it(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var c=e[i],u=+t(c);n(u,a)&&(a=u,s=c)}return s}function st(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function ct(e,t){for(var n=-1,r=e.length,i=Lo(r);++n<r;)i[n]=t(e[n],n,e);return i}function ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function pt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function lt(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ft(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dt(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}function ht(e,t){return e===S?t:e}function mt(e,t,n,r){return e!==S&&ta.call(r,n)?e:t}function vt(e,t,n){for(var r=-1,i=Rs(t),o=i.length;++r<o;){var a=i[r],s=e[a],c=n(s,t[a],a,e,t);(c===c?c===s:s!==s)&&(s!==S||a in e)||(e[a]=c)}return e}function gt(e,t){return null==t?e:bt(t,Rs(t),e)}function yt(e,t){for(var n=-1,r=null==e,i=!r&&Zn(e),o=i?e.length:0,a=t.length,s=Lo(a);++n<a;){var c=t[n];i?s[n]=Qn(c,o)?e[c]:S:s[n]=r?S:e[c]}return s}function bt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function xt(e,t,n){var r=typeof e;return\"function\"==r?t===S?e:an(e,t,n):null==e?Ao:\"object\"==r?qt(e):t===S?Mo(e):Rt(e,t)}function wt(e,t,n,r,i,o,a){var s;if(n&&(s=i?n(e,r,i):n(e)),s!==S)return s;if(!Mi(e))return e;var c=Cs(e);if(c){if(s=Yn(e),!t)return et(e,s)}else{var u=ra.call(e),p=u==J;if(u!=X&&u!=V&&(!p||i))return Ue[u]?Gn(e,u,t):i?e:{};if(s=Kn(p?{}:e),!t)return gt(s,e)}o||(o=[]),a||(a=[]);for(var l=o.length;l--;)if(o[l]==e)return a[l];return o.push(e),a.push(s),(c?tt:It)(e,function(r,i){s[i]=wt(r,t,n,i,e,o,a)}),s}function _t(e,t,n){if(\"function\"!=typeof e)throw new Jo(U);return fa(function(){e.apply(S,n)},t)}function kt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,a=Un(),s=a==o,c=s&&t.length>=R?mn(t):null,u=t.length;c&&(a=Ze,s=!1,t=c);e:for(;++i<n;){var p=e[i];if(s&&p===p){for(var l=u;l--;)if(t[l]===p)continue e;r.push(p)}else a(t,p,0)<0&&r.push(p)}return r}function jt(e,t){var n=!0;return Ba(e,function(e,r,i){return n=!!t(e,r,i)}),n}function St(e,t,n,r){var i=r,o=i;return Ba(e,function(e,a,s){var c=+t(e,a,s);(n(c,i)||c===r&&c===o)&&(i=c,o=e)}),o}function Et(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ot(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function At(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Ct(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];g(a)&&Zn(a)&&(n||Cs(a)||Si(a))?t?Ct(a,t,n,r):ut(r,a):n||(r[r.length]=a)}return r}function Tt(e,t){return Da(e,t,eo)}function It(e,t){return Da(e,t,Rs)}function Pt(e,t){return qa(e,t,Rs)}function Ft(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Fi(e[a])&&(o[++i]=a)}return o}function Mt(e,t,n){if(null!=e){n!==S&&n in lr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:S}}function zt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Mi(e)&&!g(t)?e!==e&&t!==t:Bt(e,t,zt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Cs(e),c=Cs(t),u=W,p=W;s||(u=ra.call(e),u==V?u=X:u!=X&&(s=Ui(e))),c||(p=ra.call(t),p==V?p=X:p!=X&&(c=Ui(t)));var l=u==X,f=p==X,d=u==p;if(d&&!s&&!l)return qn(e,t,u);if(!i){var h=l&&ta.call(e,\"__wrapped__\"),m=f&&ta.call(t,\"__wrapped__\");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Dn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=lr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var s=a[0],c=e[s],u=a[1];if(o&&a[2]){if(c===S&&!(s in e))return!1}else{var p=n?n(c,u,s):S;if(!(p===S?zt(u,c,n,!0):p))return!1}}return!0}function Dt(e,t){var n=-1,r=Zn(e)?Lo(e.length):[];return Ba(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function qt(e){var t=Hn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==S||n in lr(e))}}return function(e){return Nt(e,t)}}function Rt(e,t){var n=Cs(e),r=er(e)&&rr(t),i=e+\"\";return e=fr(e),function(o){if(null==o)return!1;var a=i;if(o=lr(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Mt(o,Kt(e,0,-1)),null==o)return!1;a=Er(e),o=lr(o)}return o[a]===t?t!==S||a in o:zt(t,o[a],S,!0)}}function Lt(e,t,n,r,i){if(!Mi(e))return e;var o=Zn(t)&&(Cs(t)||Ui(t)),a=o?S:Rs(t);return tt(a||t,function(s,c){if(a&&(c=s,s=t[c]),g(s))r||(r=[]),i||(i=[]),$t(e,t,c,Lt,n,r,i);else{var u=e[c],p=n?n(u,s,c,e,t):S,l=p===S;l&&(p=s),p===S&&(!o||c in e)||!l&&(p===p?p===u:u!==u)||(e[c]=p)}}),e}function $t(e,t,n,r,i,o,a){for(var s=o.length,c=t[n];s--;)if(o[s]==c)return void(e[n]=a[s]);var u=e[n],p=i?i(u,c,n,e,t):S,l=p===S;l&&(p=c,Zn(c)&&(Cs(c)||Ui(c))?p=Cs(u)?u:Zn(u)?et(u):[]:Ri(c)||Si(c)?p=Si(u)?Ki(u):Ri(u)?u:{}:l=!1),o.push(c),a.push(p),l?e[n]=r(p,c,i,o,a):(p===p?p!==u:u===u)&&(e[n]=p)}function Ut(e){return function(t){return null==t?S:t[e]}}function Ht(e){var t=e+\"\";return e=fr(e),function(n){return Mt(n,e,t)}}function Vt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Qn(r)){var i=r;da.call(e,r,1)}}return e}function Wt(e,t){return e+ya(Ea()*(t-e+1))}function Yt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Lo(i);++r<i;)o[r]=e[r+t];return o}function Gt(e,t){var n;return Ba(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Jt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Zt(e,t,n){var r=Ln(),i=-1;t=ct(t,function(e){return r(e)});var o=Dt(e,function(e){var n=ct(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Jt(o,function(e,t){return l(e,t,n)})}function Qt(e,t){var n=0;return Ba(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Xt(e,t){var n=-1,r=Un(),i=e.length,a=r==o,s=a&&i>=R,c=s?mn():null,u=[];c?(r=Ze,a=!1):(s=!1,c=t?[]:u);e:for(;++n<i;){var p=e[n],l=t?t(p,n,e):p;if(a&&p===p){for(var f=c.length;f--;)if(c[f]===l)continue e;t&&c.push(l),u.push(p)}else r(c,l,0)<0&&((t||s)&&c.push(l),u.push(p))}return u}function en(e,t){for(var n=-1,r=t.length,i=Lo(r);++n<r;)i[n]=e[t[n]];return i}function tn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function nn(e,t){var n=e;n instanceof Z&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,ut([n],o.args))}return n}function rn(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Ia>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Ao,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===S;o>i;){var u=ya((i+o)/2),p=n(e[u]),l=p!==S,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return ka(o,Ta)}function an(e,t,n){if(\"function\"!=typeof e)return Ao;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function cn(e,t,n){for(var r=n.length,i=-1,o=_a(e.length-r,0),a=-1,s=t.length,c=Lo(s+o);++a<s;)c[a]=t[a];for(;++i<r;)c[n[i]]=e[i];for(;o--;)c[a++]=e[i++];return c}function un(e,t,n){for(var r=-1,i=n.length,o=-1,a=_a(e.length-i,0),s=-1,c=t.length,u=Lo(a+c);++o<a;)u[o]=e[o];for(var p=o;++s<c;)u[p+s]=t[s];for(;++r<i;)u[p+n[r]]=e[o++];return u}function pn(e,t){return function(n,r,i){var o=t?t():{};if(r=Ln(r,i,3),Cs(n))for(var a=-1,s=n.length;++a<s;){var c=n[a];e(o,c,r(c,a,n),n)}else Ba(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ln(e){return gi(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for(\"function\"==typeof o?(o=an(o,s,5),i-=2):(o=\"function\"==typeof s?s:S,i-=o?1:0),a&&Xn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function fn(e,t){return function(n,r){var i=n?$a(n):0;if(!nr(i))return e(n,r);for(var o=t?i:-1,a=lr(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function dn(e){return function(t,n,r){for(var i=lr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var c=o[s];if(n(i[c],c,i)===!1)break}return t}}function hn(e,t){function n(){var i=this&&this!==nt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function mn(e){return ga&&la?new Je(e):null}function vn(e){return function(t){for(var n=-1,r=So(po(t)),i=r.length,o=\"\";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=za(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function yn(e){function t(n,r,i){i&&Xn(n,r,i)&&(r=S);var o=Nn(n,e,S,S,S,S,S,r);return o.placeholder=t.placeholder,o}return t}function bn(e,t){return gi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(S,n))})}function xn(e,t){return function(n,r,i){if(i&&Xn(n,r,i)&&(r=S),r=Ln(r,i,3),1==r.length){n=Cs(n)?n:pr(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return St(n,r,e,t)}}function wn(e,t){return function(n,r,o){if(r=Ln(r,o,3),Cs(n)){var a=i(n,r,t);return a>-1?n[a]:S}return At(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Ln(n,r,3),i(t,n,e)):-1}}function kn(e){return function(t,n,r){return n=Ln(n,r,3),At(t,n,e,!0)}}function jn(e){return function(){for(var t,n=arguments.length,r=e?n:-1,i=0,o=Lo(n);e?r--:++r<n;){var a=o[i++]=arguments[r];if(\"function\"!=typeof a)throw new Jo(U);!t&&y.prototype.thru&&\"wrapper\"==$n(a)&&(t=new y([],!0))}for(r=t?-1:n;++r<n;){a=o[r];var s=$n(a),c=\"wrapper\"==s?La(a):S;t=c&&tr(c[0])&&c[1]==(M|T|P|z)&&!c[4].length&&1==c[9]?t[$n(c[0])].apply(t,c[3]):1==a.length&&tr(a)?t[s]():t.thru(a)}return function(){var e=arguments,r=e[0];if(t&&1==e.length&&Cs(r)&&r.length>=R)return t.plant(r).value();for(var i=0,a=n?o[i].apply(this,e):r;++i<n;)a=o[i].call(this,a);return a}}}function Sn(e,t){return function(n,r,i){return\"function\"==typeof r&&i===S&&Cs(n)?e(n,r):t(n,an(r,i,3))}}function En(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n,eo)}}function On(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n)}}function An(e){return function(t,n,r){var i={};return n=Ln(n,r,3),It(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=s(t),(e?t:\"\")+Fn(t,n,r)+(e?\"\":t)}}function Tn(e){var t=gi(function(n,r){var i=b(r,t.placeholder);return Nn(n,e,S,r,i)});return t}function In(e,t){return function(n,r,i,o){var a=arguments.length<3;return\"function\"==typeof r&&o===S&&Cs(n)?e(n,r,i,a):Yt(n,Ln(r,o,4),i,a,t)}}function Pn(e,t,n,r,i,o,a,s,c,u){function p(){for(var y=arguments.length,x=y,w=Lo(y);x--;)w[x]=arguments[x];if(r&&(w=cn(w,r,i)),o&&(w=un(w,o,a)),h||v){var _=p.placeholder,k=b(w,_);if(y-=k.length,u>y){var j=s?et(s):S,E=_a(u-y,0),C=h?k:S,T=h?S:k,I=h?w:S,M=h?S:w;t|=h?P:F,t&=~(h?F:P),m||(t&=~(O|A));var z=[e,t,n,I,C,M,T,j,c,E],B=Pn.apply(S,z);return tr(e)&&Ua(B,z),B.placeholder=_,B}}var N=f?n:this,D=d?N[e]:e;return s&&(w=cr(w,s)),l&&c<w.length&&(w.length=c),this&&this!==nt&&this instanceof p&&(D=g||gn(e)),D.apply(N,w)}var l=t&M,f=t&O,d=t&A,h=t&T,m=t&C,v=t&I,g=d?S:gn(e);return p}function Fn(e,t,n){var r=e.length;if(t=+t,r>=t||!xa(t))return\"\";var i=t-r;return n=null==n?\" \":n+\"\",go(n,va(i/n.length)).slice(0,i)}function Mn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,c=-1,u=r.length,p=Lo(u+s);++c<u;)p[c]=r[c];for(;s--;)p[c++]=arguments[++t];var l=this&&this!==nt&&this instanceof i?a:e;return l.apply(o?n:this,p)}var o=t&O,a=gn(e);return i}function zn(e){var t=Vo[e];return function(e,n){return n=n===S?0:+n||0,n?(n=ua(10,n),t(e*n)/n):t(e)}}function Bn(e){return function(t,n,r,i){var o=Ln(r);return null==r&&o===xt?rn(t,n,e):on(t,n,o(r,i,1),e)}}function Nn(e,t,n,r,i,o,a,s){var c=t&A;if(!c&&\"function\"!=typeof e)throw new Jo(U);var u=r?r.length:0;if(u||(t&=~(P|F),r=i=S),u-=i?i.length:0,t&F){var p=r,l=i;r=i=S}var f=c?S:La(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&(ir(d,f),t=d[1],s=d[9]),d[9]=null==s?c?0:e.length:_a(s-u,0)||0,t==O)var h=hn(d[0],d[2]);else h=t!=P&&t!=(O|P)||d[4].length?Pn.apply(S,d):Mn.apply(S,d);var m=f?Ra:Ua;return m(h,d)}function Dn(e,t,n,r,i,o,a){var s=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++s<c;){var p=e[s],l=t[s],f=r?r(i?l:p,i?p:l,s):S;if(f!==S){if(f)continue;return!1}if(i){if(!ft(t,function(e){return p===e||n(p,e,r,i,o,a)}))return!1}else if(p!==l&&!n(p,l,r,i,o,a))return!1}return!0}function qn(e,t,n){switch(n){case Y:case K:return+e==+t;case G:return e.name==t.name&&e.message==t.message;case Q:return e!=+e?t!=+t:e==+t;case ee:case ne:return e==t+\"\"}return!1}function Rn(e,t,n,r,i,o,a){var s=Rs(e),c=s.length,u=Rs(t),p=u.length;if(c!=p&&!i)return!1;for(var l=c;l--;){var f=s[l];if(!(i?f in t:ta.call(t,f)))return!1}for(var d=i;++l<c;){f=s[l];var h=e[f],m=t[f],v=r?r(i?m:h,i?h:m,f):S;if(!(v===S?n(h,m,r,i,o,a):v))return!1;d||(d=\"constructor\"==f)}if(!d){var g=e.constructor,y=t.constructor;if(g!=y&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof g&&g instanceof g&&\"function\"==typeof y&&y instanceof y))return!1}return!0}function Ln(e,n,r){var i=t.callback||Eo;return i=i===Eo?xt:i,r?i(e,n,r):i}function $n(e){for(var t=e.name,n=Ma[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Un(e,n,r){var i=t.indexOf||jr;return i=i===jr?o:i,e?i(e,n,r):i}function Hn(e){for(var t=to(e),n=t.length;n--;)t[n][2]=rr(t[n][1]);return t}function Vn(e,t){var n=null==e?S:e[t];return Ni(n)?n:S}function Wn(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=ka(t,e+a);break;case\"takeRight\":e=_a(e,t-a)}}return{start:e,end:t}}function Yn(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ta.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Kn(e){var t=e.constructor;return\"function\"==typeof t&&t instanceof t||(t=Yo),new t}function Gn(e,t,n){var r=e.constructor;switch(t){case ie:return sn(e);case Y:case K:return new r(+e);case oe:case ae:case se:case ce:case ue:case pe:case le:case fe:case de:var i=e.buffer;return new r(n?sn(i):i,e.byteOffset,e.length);case Q:case ne:return new r(e);case ee:var o=new r(e.source,Pe.exec(e));o.lastIndex=e.lastIndex}return o}function Jn(e,t,n){null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),t=Er(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function Zn(e){return null!=e&&nr($a(e))}function Qn(e,t){return e=\"number\"==typeof e||ze.test(e)?+e:-1,t=null==t?Pa:t,e>-1&&e%1==0&&t>e}function Xn(e,t,n){if(!Mi(n))return!1;var r=typeof t;if(\"number\"==r?Zn(n)&&Qn(t,n.length):\"string\"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if(\"string\"==n&&Se.test(e)||\"number\"==n)return!0;if(Cs(e))return!1;var r=!je.test(e);return r||null!=t&&e in lr(t)}function tr(e){var n=$n(e);if(!(n in Z.prototype))return!1;var r=t[n];if(e===r)return!0;var i=La(r);return!!i&&e===i[0]}function nr(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Mi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=M>i,a=r==M&&n==T||r==M&&n==z&&e[7].length<=t[8]||r==(M|z)&&n==T;if(!o&&!a)return e;r&O&&(e[2]=t[2],i|=n&O?0:C);var s=t[3];if(s){var c=e[3];e[3]=c?cn(c,s,t[4]):et(s),e[4]=c?b(e[3],H):et(t[4])}return s=t[5],s&&(c=e[5],e[5]=c?un(c,s,t[6]):et(s),e[6]=c?b(e[5],H):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&M&&(e[8]=null==e[8]?t[8]:ka(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:Ts(e,t,or)}function ar(e,t){e=lr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function sr(e,t){var n={};return Tt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function cr(e,t){for(var n=e.length,r=ka(t.length,n),i=et(e);r--;){var o=t[r];e[r]=Qn(o,n)?i[o]:S}return e}function ur(e){for(var t=eo(e),n=t.length,r=n&&e.length,i=!!r&&nr(r)&&(Cs(e)||Si(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Qn(s,r)||ta.call(e,s))&&a.push(s)}return a}function pr(e){return null==e?[]:Zn(e)?Mi(e)?e:Yo(e):oo(e)}function lr(e){return Mi(e)?e:Yo(e)}function fr(e){if(Cs(e))return e;var t=[];return s(e).replace(Ee,function(e,n,r,i){t.push(r?i.replace(Te,\"$1\"):n||e)}),t}function dr(e){return e instanceof Z?e.clone():new y(e.__wrapped__,e.__chain__,et(e.__actions__))}function hr(e,t,n){t=(n?Xn(e,t,n):null==t)?1:_a(ya(t)||1,1);for(var r=0,i=e?e.length:0,o=-1,a=Lo(va(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function vr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0):[]}function xr(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function wr(e){return e?e[0]:S}function _r(e,t,n){var r=e?e.length:0;return n&&Xn(e,t,n)&&(t=!1),r?Ct(e,t):[]}function kr(e){var t=e?e.length:0;return t?Ct(e,!0):[]}function jr(e,t,n){var r=e?e.length:0;if(!r)return-1;if(\"number\"==typeof n)n=0>n?_a(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return o(e,t,n||0)}function Sr(e){return gr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Or(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(\"number\"==typeof n)i=(0>n?_a(r+n,0):ka(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)da.call(t,o,1);return t}function Cr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Ln(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Vt(e,o),r}function Tr(e){return vr(e,1)}function Ir(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function Pr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Fr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Mr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!1,!0):[]}function zr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&\"boolean\"!=typeof t&&(r=n,n=Xn(e,t,r)?S:t,t=!1);var a=Ln();return null==n&&a===xt||(n=a(n,r,3)),t&&Un()==o?x(e,n):Xt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Zn(e)?(n=_a(e.length,n),!0):void 0});for(var r=Lo(n);++t<n;)r[t]=ct(e,Ut(t));return r}function Dr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Nr(e);return null==t?i:(t=an(t,n,4),ct(i,function(e){return pt(e,t,S,!0)}))}function qr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Zn(n))var r=r?ut(kt(r,n),kt(n,r)):n}return r?Xt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Cs(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Lr(e){var n=t(e);return n.__chain__=!0,n}function $r(e,t,n){return t.call(n,e),e}function Ur(e,t,n){return t.call(n,e)}function Hr(){return Lr(this)}function Vr(){return new y(this.value(),this.__chain__)}function Wr(e){for(var t,r=this;r instanceof n;){var i=dr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Yr(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[t],thisArg:S}),new y(n,this.__chain__)}return this.thru(t)}function Kr(){return this.value()+\"\"}function Gr(){return nn(this.__wrapped__,this.__actions__)}function Jr(e,t,n){var r=Cs(e)?ot:jt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function Zr(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,t)}function Qr(e,t){return is(e,qt(t))}function Xr(e,t,n,r){var i=e?$a(e):0;return nr(i)||(e=oo(e),i=e.length),n=\"number\"!=typeof n||r&&Xn(t,n,r)?0:0>n?_a(i+n,0):n||0,\"string\"==typeof e||!Cs(e)&&$i(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Cs(e)?ct:Dt;return t=Ln(t,n,3),r(e,t)}function ti(e,t){return ei(e,Mo(t))}function ni(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Xn(e,t,n):null==t){e=pr(e);var r=e.length;return r>0?e[Wt(0,r-1)]:S}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=ka(0>t?0:+t||0,r);++i<t;){var s=Wt(i,a),c=o[s];o[s]=o[i],o[i]=c}return o.length=t,o}function ii(e){return ri(e,Aa)}function oi(e){var t=e?$a(e):0;return nr(t)?t:Rs(e).length}function ai(e,t,n){var r=Cs(e)?ft:Gt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function si(e,t,n){if(null==e)return[];n&&Xn(e,t,n)&&(t=S);var r=-1;t=Ln(t,n,3);var i=Dt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Jt(i,p)}function ci(e,t,n,r){return null==e?[]:(r&&Xn(t,n,r)&&(n=S),Cs(t)||(t=null==t?[]:[t]),Cs(n)||(n=null==n?[]:[n]),Zt(e,t,n))}function ui(e,t){return Zr(e,qt(t))}function pi(e,t){if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var n=e;e=t,t=n}return e=xa(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function li(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=e&&null==t?e.length:_a(+t||0,0),Nn(e,M,S,S,S,S,t)}function fi(e,t){var n;if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function di(e,t,n){function r(){d&&sa(d),u&&sa(u),m=0,u=d=h=S}function i(t,n){n&&sa(n),u=d=h=S,t&&(m=ms(),p=e.apply(f,c),d||u||(c=f=S))}function o(){var e=t-(ms()-l);0>=e||e>t?i(h,u):d=fa(o,e)}function a(){i(g,d)}function s(){if(c=arguments,l=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{u||y||(m=l);var r=v-(l-m),i=0>=r||r>v;i?(u&&(u=sa(u)),m=l,p=e.apply(f,c)):u||(u=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,p=e.apply(f,c)),!i||d||u||(c=f=S),p}var c,u,p,l,f,d,h,m=0,v=!1,g=!0;if(\"function\"!=typeof e)throw new Jo(U);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Mi(n)&&(y=!!n.leading,v=\"maxWait\"in n&&_a(+n.maxWait||0,t),g=\"trailing\"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new Jo(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if(\"function\"!=typeof e)throw new Jo(U);return t=_a(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=_a(n.length-t,0),o=Lo(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=Lo(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function yi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(t){return e.apply(this,t)}}function bi(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Jo(U);return n===!1?r=!1:Mi(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),di(e,t,{leading:r,maxWait:+t,trailing:i})}function xi(e,t){return t=null==t?Ao:t,Nn(t,P,S,[e],[])}function wi(e,t,n,r){return t&&\"boolean\"!=typeof t&&Xn(e,t,n)?t=!1:\"function\"==typeof t&&(r=n,n=t,t=!1),\"function\"==typeof n?wt(e,t,an(n,r,1)):wt(e,t)}function _i(e,t,n){return\"function\"==typeof t?wt(e,!0,an(t,n,1)):wt(e,!0)}function ki(e,t){return e>t}function ji(e,t){return e>=t}function Si(e){return g(e)&&Zn(e)&&ta.call(e,\"callee\")&&!pa.call(e,\"callee\")}function Ei(e){return e===!0||e===!1||g(e)&&ra.call(e)==Y}function Oi(e){return g(e)&&ra.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&g(e)&&!Ri(e)}function Ci(e){return null==e?!0:Zn(e)&&(Cs(e)||$i(e)||Si(e)||g(e)&&Fi(e.splice))?!e.length:!Rs(e).length}function Ti(e,t,n,r){n=\"function\"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?zt(e,t,n):!!i}function Ii(e){return g(e)&&\"string\"==typeof e.message&&ra.call(e)==G}function Pi(e){return\"number\"==typeof e&&xa(e)}function Fi(e){return Mi(e)&&ra.call(e)==J}function Mi(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function zi(e,t,n,r){return n=\"function\"==typeof n?an(n,r,3):S,Nt(e,Hn(t),n)}function Bi(e){return qi(e)&&e!=+e}function Ni(e){return null==e?!1:Fi(e)?oa.test(ea.call(e)):g(e)&&Me.test(e)}function Di(e){return null===e}function qi(e){return\"number\"==typeof e||g(e)&&ra.call(e)==Q}function Ri(e){var t;if(!g(e)||ra.call(e)!=X||Si(e)||!ta.call(e,\"constructor\")&&(t=e.constructor,\"function\"==typeof t&&!(t instanceof t)))return!1;var n;return Tt(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Li(e){return Mi(e)&&ra.call(e)==ee}function $i(e){return\"string\"==typeof e||g(e)&&ra.call(e)==ne}function Ui(e){return g(e)&&nr(e.length)&&!!$e[ra.call(e)]}function Hi(e){return e===S}function Vi(e,t){return t>e}function Wi(e,t){return t>=e}function Yi(e){var t=e?$a(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Gi(e,t,n){var r=za(e);return n&&Xn(e,t,n)&&(t=S),t?gt(r,t):r}function Ji(e){return Ft(e,eo(e))}function Zi(e,t,n){var r=null==e?S:Mt(e,fr(t),t+\"\");return r===S?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Cs(e)||Si(e))}function Xi(e,t,n){n&&Xn(e,t,n)&&(t=S);for(var r=-1,i=Rs(e),o=i.length,a={};++r<o;){var s=i[r],c=e[s];t?ta.call(a,c)?a[c].push(s):a[c]=[s]:a[c]=s}return a}function eo(e){if(null==e)return[];Mi(e)||(e=Yo(e));var t=e.length;t=t&&nr(t)&&(Cs(e)||Si(e))&&t||0;for(var n=e.constructor,r=-1,i=\"function\"==typeof n&&n.prototype===e,o=Lo(t),a=t>0;++r<t;)o[r]=r+\"\";for(var s in e)a&&Qn(s,t)||\"constructor\"==s&&(i||!ta.call(e,s))||o.push(s);return o}function to(e){e=lr(e);for(var t=-1,n=Rs(e),r=n.length,i=Lo(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function no(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),r=null==e?S:e[Er(t)]),r=r===S?n:r),Fi(r)?r.call(e):r}function ro(e,t,n){if(null==e)return e;var r=t+\"\";t=null!=e[r]||er(t,e)?[r]:fr(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];Mi(s)&&(i==a?s[c]=n:null==s[c]&&(s[c]=Qn(t[i+1])?[]:{})),s=s[c]}return e}function io(e,t,n,r){var i=Cs(e)||Ui(e);if(t=Ln(t,r,4),null==n)if(i||Mi(e)){var o=e.constructor;n=i?Cs(e)?new o:[]:za(Fi(o)?o.prototype:S)}else n={};return(i?tt:It)(e,function(e,r,i){return t(n,e,r,i)}),n}function oo(e){return en(e,Rs(e))}function ao(e){return en(e,eo(e))}function so(e,t,n){return t=+t||0,n===S?(n=t,t=0):n=+n||0,e>=ka(t,n)&&e<_a(t,n)}function co(e,t,n){n&&Xn(e,t,n)&&(t=n=S);var r=null==e,i=null==t;if(null==n&&(i&&\"boolean\"==typeof e?(n=e,e=1):\"boolean\"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Ea();return ka(e+o*(t-e+ca(\"1e-\"+((o+\"\").length-1))),t)}return Wt(e,t)}function uo(e){return e=s(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e=s(e),e&&e.replace(Be,f).replace(Ce,\"\")}function lo(e,t,n){e=s(e),t+=\"\";var r=e.length;return n=n===S?r:ka(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=s(e),e&&xe.test(e)?e.replace(ye,d):e}function ho(e){return e=s(e),e&&Ae.test(e)?e.replace(Oe,h):e||\"(?:)\"}function mo(e,t,n){e=s(e),t=+t;var r=e.length;if(r>=t||!xa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Fn(\"\",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Xn(e,t,n):null==t)?t=0:t&&(t=+t),e=xo(e),Sa(e,t||(Fe.test(e)?16:10))}function go(e,t){var n=\"\";if(e=s(e),t=+t,1>t||!e||!xa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=s(e),n=null==n?0:ka(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Xn(e,n,r)&&(n=r=S),e=s(e),n=vt(gt({},r||n),i,mt);var o,a,c=vt(gt({},n.imports),i.imports,mt),u=Rs(c),p=en(c,u),l=0,f=n.interpolate||Ne,d=\"__p += '\",h=Ko((n.escape||Ne).source+\"|\"+f.source+\"|\"+(f===ke?Ie:Ne).source+\"|\"+(n.evaluate||Ne).source+\"|$\",\"g\"),v=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++Le+\"]\")+\"\\n\";e.replace(h,function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(l,c).replace(De,m),n&&(o=!0,d+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,d+=\"';\\n\"+s+\";\\n__p += '\"),r&&(d+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),l=c+t.length,t}),d+=\"';\\n\";var g=n.variable;g||(d=\"with (obj) {\\n\"+d+\"\\n}\\n\"),d=(a?d.replace(he,\"\"):d).replace(me,\"$1\").replace(ve,\"$1;\"),d=\"function(\"+(g||\"obj\")+\") {\\n\"+(g?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+d+\"return __p\\n}\";var y=Zs(function(){return Ho(u,v+\"return \"+d).apply(S,p)});if(y.source=d,Ii(y))throw y;return y}function xo(e,t,n){var r=e;return(e=s(e))?(n?Xn(r,t,n):null==t)?e.slice(w(e),_(e)+1):(t+=\"\",e.slice(c(e,t),u(e,t)+1)):e}function wo(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(w(e)):e.slice(c(e,t+\"\")):e}function _o(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,u(e,t+\"\")+1):e}function ko(e,t,n){n&&Xn(e,t,n)&&(t=S);var r=B,i=N;if(null!=t)if(Mi(t)){var o=\"separator\"in t?t.separator:o;r=\"length\"in t?+t.length||0:r,i=\"omission\"in t?s(t.omission):i}else r=+t||0;if(e=s(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var c=e.slice(0,a);if(null==o)return c+i;if(Li(o)){if(e.slice(a).search(o)){var u,p,l=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||\"\")+\"g\")),o.lastIndex=0;u=o.exec(l);)p=u.index;c=c.slice(0,null==p?a:p)}}else if(e.indexOf(o,a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+i}function jo(e){return e=s(e),e&&be.test(e)?e.replace(ge,k):e}function So(e,t,n){return n&&Xn(e,t,n)&&(t=S),e=s(e),e.match(t||qe)||[]}function Eo(e,t,n){return n&&Xn(e,t,n)&&(t=S),\ng(e)?Co(e):xt(e,t)}function Oo(e){return function(){return e}}function Ao(e){return e}function Co(e){return qt(wt(e,!0))}function To(e,t){return Rt(e,wt(t,!0))}function Io(e,t,n){if(null==n){var r=Mi(t),i=r?Rs(t):S,o=i&&i.length?Ft(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Rs(t)));var a=!0,s=-1,c=Fi(e),u=o.length;n===!1?a=!1:Mi(n)&&\"chain\"in n&&(a=n.chain);for(;++s<u;){var p=o[s],l=t[p];e[p]=l,c&&(e.prototype[p]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,ut([this.value()],arguments))}}(l))}return e}function Po(){return nt._=ia,this}function Fo(){}function Mo(e){return er(e)?Ut(e):Ht(e)}function zo(e){return function(t){return Mt(e,fr(t),t+\"\")}}function Bo(e,t,n){n&&Xn(e,t,n)&&(t=n=S),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=_a(va((t-e)/(n||1)),0),o=Lo(i);++r<i;)o[r]=e,e+=n;return o}function No(e,t,n){if(e=ya(e),1>e||!xa(e))return[];var r=-1,i=Lo(ka(e,Ca));for(t=an(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function Do(e){var t=++na;return s(e)+t}function qo(e,t){return(+e||0)+(+t||0)}function Ro(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=Ln(t,n,3),1==t.length?dt(Cs(e)?e:pr(e),t):Qt(e,t)}e=e?rt.defaults(nt.Object(),e,rt.pick(nt,Re)):nt;var Lo=e.Array,$o=e.Date,Uo=e.Error,Ho=e.Function,Vo=e.Math,Wo=e.Number,Yo=e.Object,Ko=e.RegExp,Go=e.String,Jo=e.TypeError,Zo=Lo.prototype,Qo=Yo.prototype,Xo=Go.prototype,ea=Ho.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=nt._,oa=Ko(\"^\"+ea.call(ta).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),aa=e.ArrayBuffer,sa=e.clearTimeout,ca=e.parseFloat,ua=Vo.pow,pa=Qo.propertyIsEnumerable,la=Vn(e,\"Set\"),fa=e.setTimeout,da=Zo.splice,ha=e.Uint8Array,ma=Vn(e,\"WeakMap\"),va=Vo.ceil,ga=Vn(Yo,\"create\"),ya=Vo.floor,ba=Vn(Lo,\"isArray\"),xa=e.isFinite,wa=Vn(Yo,\"keys\"),_a=Vo.max,ka=Vo.min,ja=Vn($o,\"now\"),Sa=e.parseInt,Ea=Vo.random,Oa=Wo.NEGATIVE_INFINITY,Aa=Wo.POSITIVE_INFINITY,Ca=4294967295,Ta=Ca-1,Ia=Ca>>>1,Pa=9007199254740991,Fa=ma&&new ma,Ma={};t.support={};t.templateSettings={escape:we,evaluate:_e,interpolate:ke,variable:\"\",imports:{_:t}};var za=function(){function e(){}return function(t){if(Mi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),Ba=fn(It),Na=fn(Pt,!0),Da=dn(),qa=dn(!0),Ra=Fa?function(e,t){return Fa.set(e,t),e}:Ao,La=Fa?function(e){return Fa.get(e)}:Fo,$a=Ut(\"length\"),Ua=function(){var e=0,t=0;return function(n,r){var i=ms(),o=q-(i-t);if(t=i,o>0){if(++e>=D)return n}else e=0;return Ra(n,r)}}(),Ha=gi(function(e,t){return g(e)&&Zn(e)?kt(e,Ct(t,!1,!0)):[]}),Va=_n(),Wa=_n(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Lo(l),i=Un(),a=i==o,s=[];n--;){var c=e[n]=Zn(c=e[n])?c:[];r[n]=a&&c.length>=120?mn(n&&c):null}var u=e[0],p=-1,l=u?u.length:0,f=r[0];e:for(;++p<l;)if(c=u[p],(f?Ze(f,c):i(s,c,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,c):i(e[n],c,0))<0)continue e}f&&f.push(c),s.push(c)}return s}),Ka=gi(function(e,t){t=Ct(t);var n=yt(e,t);return Vt(e,t.sort(r)),n}),Ga=Bn(),Ja=Bn(!0),Za=gi(function(e){return Xt(Ct(e,!1,!0))}),Qa=gi(function(e,t){return Zn(e)?kt(e,t):[]}),Xa=gi(Nr),es=gi(function(e){var t=e.length,n=t>2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&\"function\"==typeof n?t-=2:(n=t>1&&\"function\"==typeof r?(--t,r):S,r=S),e.length=t,Dr(e,n,r)}),ts=gi(function(e){return e=Ct(e),this.thru(function(t){return Xe(Cs(t)?t:[lr(t)],e)})}),ns=gi(function(e,t){return yt(e,Ct(t))}),rs=pn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=wn(Ba),os=wn(Na,!0),as=Sn(tt,Ba),ss=Sn(it,Na),cs=pn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=pn(function(e,t,n){e[n]=t}),ps=gi(function(e,t,n){var r=-1,i=\"function\"==typeof t,o=er(t),a=Zn(e)?Lo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Jn(e,t,n)}),a}),ls=pn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=In(pt,Ba),ds=In(lt,Na),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Xn(t[0],t[1],n)&&(t.length=1),Zt(e,Ct(t),[])}),ms=ja||function(){return(new $o).getTime()},vs=gi(function(e,t,n){var r=O;if(n.length){var i=b(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Ct(t):Ji(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=Nn(e[i],O,e)}return e}),ys=gi(function(e,t,n){var r=O|A;if(n.length){var i=b(n,ys.placeholder);r|=P}return Nn(t,r,e,n,i)}),bs=yn(T),xs=yn(I),ws=gi(function(e,t){return _t(e,1,t)}),_s=gi(function(e,t,n){return _t(e,t,n)}),ks=jn(),js=jn(!0),Ss=gi(function(e,t){if(t=Ct(t),\"function\"!=typeof e||!ot(t,a))throw new Jo(U);var n=t.length;return gi(function(r){for(var i=ka(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})}),Es=Tn(P),Os=Tn(F),As=gi(function(e,t){return Nn(e,z,S,S,S,Ct(t))}),Cs=ba||function(e){return g(e)&&nr(e.length)&&ra.call(e)==W},Ts=ln(Lt),Is=ln(function(e,t,n){return n?vt(e,t,n):gt(e,t)}),Ps=bn(Is,ht),Fs=bn(Ts,or),Ms=kn(It),zs=kn(Pt),Bs=En(Da),Ns=En(qa),Ds=On(It),qs=On(Pt),Rs=wa?function(e){var t=null==e?S:e.constructor;return\"function\"==typeof t&&t.prototype===e||\"function\"!=typeof e&&Zn(e)?ur(e):Mi(e)?wa(e):[]}:ur,Ls=An(!0),$s=An(),Us=gi(function(e,t){if(null==e)return{};if(\"function\"!=typeof t[0]){var t=ct(Ct(t),Go);return ar(e,kt(eo(e),t))}var n=an(t[0],t[1],3);return sr(e,function(e,t,r){return!n(e,t,r)})}),Hs=gi(function(e,t){return null==e?{}:\"function\"==typeof t[0]?sr(e,an(t[0],t[1],3)):ar(e,Ct(t))}),Vs=vn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Ws=vn(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Ys=Cn(),Ks=Cn(!0),Gs=vn(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Js=vn(function(e,t,n){return e+(n?\" \":\"\")+(t.charAt(0).toUpperCase()+t.slice(1))}),Zs=gi(function(e,t){try{return e.apply(S,t)}catch(n){return Ii(n)?n:new Uo(n)}}),Qs=gi(function(e,t){return function(n){return Jn(n,e,t)}}),Xs=gi(function(e,t){return function(n){return Jn(e,n,t)}}),ec=zn(\"ceil\"),tc=zn(\"floor\"),nc=xn(ki,Oa),rc=xn(Vi,Aa),ic=zn(\"round\");return t.prototype=n.prototype,y.prototype=za(n.prototype),y.prototype.constructor=y,Z.prototype=za(n.prototype),Z.prototype.constructor=Z,Ve.prototype[\"delete\"]=We,Ve.prototype.get=Ye,Ve.prototype.has=Ke,Ve.prototype.set=Ge,Je.prototype.push=Qe,hi.Cache=Ve,t.after=pi,t.ary=li,t.assign=Is,t.at=ns,t.before=fi,t.bind=vs,t.bindAll=gs,t.bindKey=ys,t.callback=Eo,t.chain=Lr,t.chunk=hr,t.compact=mr,t.constant=Oo,t.countBy=rs,t.create=Gi,t.curry=bs,t.curryRight=xs,t.debounce=di,t.defaults=Ps,t.defaultsDeep=Fs,t.defer=ws,t.delay=_s,t.difference=Ha,t.drop=vr,t.dropRight=gr,t.dropRightWhile=yr,t.dropWhile=br,t.fill=xr,t.filter=Zr,t.flatten=_r,t.flattenDeep=kr,t.flow=ks,t.flowRight=js,t.forEach=as,t.forEachRight=ss,t.forIn=Bs,t.forInRight=Ns,t.forOwn=Ds,t.forOwnRight=qs,t.functions=Ji,t.groupBy=cs,t.indexBy=us,t.initial=Sr,t.intersection=Ya,t.invert=Xi,t.invoke=ps,t.keys=Rs,t.keysIn=eo,t.map=ei,t.mapKeys=Ls,t.mapValues=$s,t.matches=Co,t.matchesProperty=To,t.memoize=hi,t.merge=Ts,t.method=Qs,t.methodOf=Xs,t.mixin=Io,t.modArgs=Ss,t.negate=mi,t.omit=Us,t.once=vi,t.pairs=to,t.partial=Es,t.partialRight=Os,t.partition=ls,t.pick=Hs,t.pluck=ti,t.property=Mo,t.propertyOf=zo,t.pull=Ar,t.pullAt=Ka,t.range=Bo,t.rearg=As,t.reject=ni,t.remove=Cr,t.rest=Tr,t.restParam=gi,t.set=ro,t.shuffle=ii,t.slice=Ir,t.sortBy=si,t.sortByAll=hs,t.sortByOrder=ci,t.spread=yi,t.take=Pr,t.takeRight=Fr,t.takeRightWhile=Mr,t.takeWhile=zr,t.tap=$r,t.throttle=bi,t.thru=Ur,t.times=No,t.toArray=Yi,t.toPlainObject=Ki,t.transform=io,t.union=Za,t.uniq=Br,t.unzip=Nr,t.unzipWith=Dr,t.values=oo,t.valuesIn=ao,t.where=ui,t.without=Qa,t.wrap=xi,t.xor=qr,t.zip=Xa,t.zipObject=Rr,t.zipWith=es,t.backflow=js,t.collect=ei,t.compose=js,t.each=as,t.eachRight=ss,t.extend=Is,t.iteratee=Eo,t.methods=Ji,t.object=Rr,t.select=Zr,t.tail=Tr,t.unique=Br,Io(t,t),t.add=qo,t.attempt=Zs,t.camelCase=Vs,t.capitalize=uo,t.ceil=ec,t.clone=wi,t.cloneDeep=_i,t.deburr=po,t.endsWith=lo,t.escape=fo,t.escapeRegExp=ho,t.every=Jr,t.find=is,t.findIndex=Va,t.findKey=Ms,t.findLast=os,t.findLastIndex=Wa,t.findLastKey=zs,t.findWhere=Qr,t.first=wr,t.floor=tc,t.get=Zi,t.gt=ki,t.gte=ji,t.has=Qi,t.identity=Ao,t.includes=Xr,t.indexOf=jr,t.inRange=so,t.isArguments=Si,t.isArray=Cs,t.isBoolean=Ei,t.isDate=Oi,t.isElement=Ai,t.isEmpty=Ci,t.isEqual=Ti,t.isError=Ii,t.isFinite=Pi,t.isFunction=Fi,t.isMatch=zi,t.isNaN=Bi,t.isNative=Ni,t.isNull=Di,t.isNumber=qi,t.isObject=Mi,t.isPlainObject=Ri,t.isRegExp=Li,t.isString=$i,t.isTypedArray=Ui,t.isUndefined=Hi,t.kebabCase=Ws,t.last=Er,t.lastIndexOf=Or,t.lt=Vi,t.lte=Wi,t.max=nc,t.min=rc,t.noConflict=Po,t.noop=Fo,t.now=ms,t.pad=mo,t.padLeft=Ys,t.padRight=Ks,t.parseInt=vo,t.random=co,t.reduce=fs,t.reduceRight=ds,t.repeat=go,t.result=no,t.round=ic,t.runInContext=j,t.size=oi,t.snakeCase=Gs,t.some=ai,t.sortedIndex=Ga,t.sortedLastIndex=Ja,t.startCase=Js,t.startsWith=yo,t.sum=Ro,t.template=bo,t.trim=xo,t.trimLeft=wo,t.trimRight=_o,t.trunc=ko,t.unescape=jo,t.uniqueId=Do,t.words=So,t.all=Jr,t.any=ai,t.contains=Xr,t.eq=Ti,t.detect=is,t.foldl=fs,t.foldr=ds,t.head=wr,t.include=Xr,t.inject=fs,Io(t,function(){var e={};return It(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ri,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ri(t,e)}):ri(this.value())},t.VERSION=E,tt([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),tt([\"drop\",\"take\"],function(e,t){Z.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Z(this);n=null==n?1:_a(ya(n)||0,0);var i=this.clone();return r?i.__takeCount__=ka(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?\"Right\":\"\")}),i},Z.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),tt([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n!=$;Z.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:Ln(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),tt([\"first\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Z.prototype[e]=function(){return this[n](1).value()[0]}}),tt([\"initial\",\"rest\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[n](1)}}),tt([\"pluck\",\"where\"],function(e,t){var n=t?\"filter\":\"map\",r=t?qt:Mo;Z.prototype[e]=function(e){return this[n](r(e))}}),Z.prototype.compact=function(){return this.filter(Ao)},Z.prototype.reject=function(e,t){return e=Ln(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||0>t)?new Z(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},Z.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Z.prototype.toArray=function(){return this.take(Aa)},It(Z.prototype,function(e,n){var r=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n];o&&(t.prototype[n]=function(){var t=i?[1]:arguments,n=this.__chain__,a=this.__wrapped__,s=!!this.__actions__.length,c=a instanceof Z,u=t[0],p=c||Cs(a);p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var l=function(e){return i&&n?o(e,1)[0]:o.apply(S,ut([e],t))},f={func:Ur,args:[l],thisArg:S},d=c&&!s;if(i&&!n)return d?(a=a.clone(),a.__actions__.push(f),e.call(a)):o.call(S,this.value())[0];if(!i&&p){a=d?a:new Z(this);var h=e.apply(a,t);return h.__actions__.push(f),new y(h,n)}return this.thru(l)})}),tt([\"join\",\"pop\",\"push\",\"replace\",\"shift\",\"sort\",\"splice\",\"split\",\"unshift\"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Zo)[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),It(Z.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ma[i]||(Ma[i]=[]);o.push({name:n,func:r})}}),Ma[Pn(S,A).name]=[{name:\"wrapper\",func:S}],Z.prototype.clone=te,Z.prototype.reverse=re,Z.prototype.value=He,t.prototype.chain=Hr,t.prototype.commit=Vr,t.prototype.concat=ts,t.prototype.plant=Wr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Gr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,E=\"3.10.1\",O=1,A=2,C=4,T=8,I=16,P=32,F=64,M=128,z=256,B=30,N=\"...\",D=150,q=16,R=200,L=1,$=2,U=\"Expected a function\",H=\"__lodash_placeholder__\",V=\"[object Arguments]\",W=\"[object Array]\",Y=\"[object Boolean]\",K=\"[object Date]\",G=\"[object Error]\",J=\"[object Function]\",Z=\"[object Map]\",Q=\"[object Number]\",X=\"[object Object]\",ee=\"[object RegExp]\",te=\"[object Set]\",ne=\"[object String]\",re=\"[object WeakMap]\",ie=\"[object ArrayBuffer]\",oe=\"[object Float32Array]\",ae=\"[object Float64Array]\",se=\"[object Int8Array]\",ce=\"[object Int16Array]\",ue=\"[object Int32Array]\",pe=\"[object Uint8Array]\",le=\"[object Uint8ClampedArray]\",fe=\"[object Uint16Array]\",de=\"[object Uint32Array]\",he=/\\b__p \\+= '';/g,me=/\\b(__p \\+=) '' \\+/g,ve=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,ye=/[&<>\"'`]/g,be=RegExp(ge.source),xe=RegExp(ye.source),we=/<%-([\\s\\S]+?)%>/g,_e=/<%([\\s\\S]+?)%>/g,ke=/<%=([\\s\\S]+?)%>/g,je=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,Se=/^\\w*$/,Ee=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,Oe=/^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,Ae=RegExp(Oe.source),Ce=/[\\u0300-\\u036f\\ufe20-\\ufe23]/g,Te=/\\\\(\\\\)?/g,Ie=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pe=/\\w*$/,Fe=/^0[xX]/,Me=/^\\[object .+?Constructor\\]$/,ze=/^\\d+$/,Be=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Ne=/($^)/,De=/['\\n\\r\\u2028\\u2029\\\\]/g,qe=function(){var e=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",t=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+\";return RegExp(e+\"+(?=\"+e+t+\")|\"+e+\"?\"+t+\"|\"+e+\"+|[0-9]+\",\"g\")}(),Re=[\"Array\",\"ArrayBuffer\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Math\",\"Number\",\"Object\",\"RegExp\",\"Set\",\"String\",\"_\",\"clearTimeout\",\"isFinite\",\"parseFloat\",\"parseInt\",\"setTimeout\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\"],Le=-1,$e={};$e[oe]=$e[ae]=$e[se]=$e[ce]=$e[ue]=$e[pe]=$e[le]=$e[fe]=$e[de]=!0,$e[V]=$e[W]=$e[ie]=$e[Y]=$e[K]=$e[G]=$e[J]=$e[Z]=$e[Q]=$e[X]=$e[ee]=$e[te]=$e[ne]=$e[re]=!1;var Ue={};Ue[V]=Ue[W]=Ue[ie]=Ue[Y]=Ue[K]=Ue[oe]=Ue[ae]=Ue[se]=Ue[ce]=Ue[ue]=Ue[Q]=Ue[X]=Ue[ee]=Ue[ne]=Ue[pe]=Ue[le]=Ue[fe]=Ue[de]=!0,Ue[G]=Ue[J]=Ue[Z]=Ue[te]=Ue[re]=!1;var He={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},Ve={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},We={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Ye={\"function\":!0,object:!0},Ke={0:\"x30\",1:\"x31\",2:\"x32\",3:\"x33\",4:\"x34\",5:\"x35\",6:\"x36\",7:\"x37\",8:\"x38\",9:\"x39\",A:\"x41\",B:\"x42\",C:\"x43\",D:\"x44\",E:\"x45\",F:\"x46\",a:\"x61\",b:\"x62\",c:\"x63\",d:\"x64\",e:\"x65\",f:\"x66\",n:\"x6e\",r:\"x72\",t:\"x74\",u:\"x75\",v:\"x76\",x:\"x78\"},Ge={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Je=Ye[typeof n]&&n&&!n.nodeType&&n,Ze=Ye[typeof t]&&t&&!t.nodeType&&t,Qe=Je&&Ze&&\"object\"==typeof e&&e&&e.Object&&e,Xe=Ye[typeof self]&&self&&self.Object&&self,et=Ye[typeof window]&&window&&window.Object&&window,tt=Ze&&Ze.exports===Je&&Je,nt=Qe||et!==(this&&this.window)&&et||Xe||this,rt=j();\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?(nt._=rt,define(function(){return rt})):Je&&Ze?tt?(Ze.exports=rt)._=rt:Je._=rt:nt._=rt}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],415:[function(e,t,n){t.exports={_args:[[\"sendgrid\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"sendgrid@*\",_id:\"sendgrid@2.0.0\",_inCache:!0,_installable:!0,_location:\"/sendgrid\",_nodeVersion:\"4.1.2\",_npmUser:{email:\"elmer@thinkingserious.com\",name:\"thinkingserious\"},_npmVersion:\"3.3.5\",_phantomChildren:{},_requested:{name:\"sendgrid\",raw:\"sendgrid\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\",_shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",_shrinkwrap:null,_spec:\"sendgrid\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"info@sendgrid.com\",name:\"SendGrid\",url:\"sendgrid.com\"},bugs:{url:\"https://github.com/sendgrid/sendgrid-nodejs/issues\"},contributors:[{name:\"Kyle Partridge\",email:\"kyle.partridge@sendgrid.com\"},{name:\"David Tomberlin\",email:\"david.tomberlin@sendgrid.com\"},{name:\"Swift\",email:\"swift@sendgrid.com\"},{name:\"Brandon West\",email:\"brandon.west@sendgrid.com\"},{name:\"Scott Motte\",email:\"scott.motte@sendgrid.com\"},{name:\"Robert Acosta\",email:\"robert.acosta@sendgrid.com\"}],dependencies:{lodash:\"^3.0.1 || ^2.0.0\",mime:\"^1.2.9\",request:\"^2.60.0\",smtpapi:\"^1.2.0\"},description:\"Official SendGrid NodeJS library.\",devDependencies:{chai:\">= 0.1.6\",dotenv:\"0.0.2\",mocha:\">= 0.9.0\",nock:\"^0.16.0\",sinon:\"^1.6.0\"},directories:{},dist:{shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",tarball:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\"},engines:{node:\">= 0.4.7\"},gitHead:\"a5d9f8985136d948a8c47e525192a87ed60f61bf\",homepage:\"http://sendgrid.com\",license:\"MIT\",maintainers:[{name:\"siyegen\",email:\"siyegen@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"partkyle\",email:\"partkyle@gmail.com\"},{name:\"theycallmeswift\",email:\"theycallmeswift@gmail.com\"},{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"mkbernier\",email:\"mkbernier@gmail.com\"},{name:\"thinkingserious\",email:\"elmer@thinkingserious.com\"}],name:\"sendgrid\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/sendgrid-nodejs.git\"},scripts:{skipped:\"mocha --grep '#skip'\",test:\"mocha --grep '#skip' --invert\"},version:\"2.0.0\"}},{}],416:[function(e,t,n){(function(n){\"use strict\";function r(e,t){if(!e)throw new TypeError(\"root path required\");if(\"string\"!=typeof e)throw new TypeError(\"root path must be a string\");var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,s=n.setHeaders;if(s&&\"function\"!=typeof s)throw new TypeError(\"option setHeaders must be function\");n.maxage=n.maxage||n.maxAge||0,n.root=u(e);var l=i?a():o();return function(e,t,i){if(\"GET\"!==e.method&&\"HEAD\"!==e.method)return r?i():(t.statusCode=405,t.setHeader(\"Allow\",\"GET, HEAD\"),t.setHeader(\"Content-Length\",\"0\"),void t.end());var o=!r,a=c.original(e),u=c(e).pathname;\"/\"===u&&\"/\"!==a.pathname.substr(-1)&&(u=\"\");var f=p(e,u,n);f.on(\"directory\",l),s&&f.on(\"headers\",s),r&&f.on(\"file\",function(){o=!0}),f.on(\"error\",function(e){return!o&&e.statusCode<500?void i():void i(e)}),f.pipe(t)}}function i(e){for(var t=0;t<e.length&&\"/\"===e[t];t++);return t>1?\"/\"+e.substr(t):e}function o(){return function(){this.error(404)}}function a(){return function(){if(this.hasTrailingSlash())return void this.error(404);var e=c.original(this.req);e.path=null,e.pathname=i(e.pathname+\"/\");var t=l.format(e),r='Redirecting to <a href=\"'+s(t)+'\">'+s(t)+\"</a>\\n\",o=this.res;o.statusCode=303,o.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),o.setHeader(\"Content-Length\",n.byteLength(r)),o.setHeader(\"X-Content-Type-Options\",\"nosniff\"),o.setHeader(\"Location\",t),o.end(r)}}var s=e(\"escape-html\"),c=e(\"parseurl\"),u=e(\"path\").resolve,p=e(\"send\"),l=e(\"url\");t.exports=r,t.exports.mime=p.mime}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"escape-html\":96,parseurl:364,path:void 0,send:409,url:void 0}],417:[function(e,t,n){function r(e,t){for(var n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t(e[i]);return r}function i(e){return decodeURI(e.replace(/~1/g,\"/\").replace(/~0/g,\"~\"))}function o(e){if(\"string\"!=typeof e)throw new Error(\"Invalid JSON Pointer: invalid type (\"+typeof e+\")\");var t=r((\"#\"===e[0]?e.substr(1):e).split(\"/\"),i);if(\"\"!==t[0])throw new Error('Invalid JSON Pointer (\"'+e+'\"): non-empty pointers must begin with \"/\" or \"#/\"');return t}function a(e,t){for(var n=1,r=e.length;r>n;n++)if(t=t&&t[e[n]],void 0===t)return;return t}function s(e,t,n){for(var r=1,i=e.length-1;i>r;r++)if(t=(t||void 0)&&t[e[r]],void 0===t)return!1;if(\"object\"!=typeof t)return!1;var o=e[r];return\"-\"===o?Array.isArray(t)?(t[t.length]=n,!0):!1:(t[o]=n,!0)}var c={get:function(e){return a(this.__arrPointer,e)},set:function(e,t){return s(this.__arrPointer,e,t)}};t.exports=function(e){return Object.create(c,{__sPointer:{writable:!1,configurable:!1,enumerable:!1,value:e},__arrPointer:{writable:!1,configurable:!1,enumerable:!1,value:o(e)}})}},{}],418:[function(e,t,n){var r=e(\"skeemas-json-pointer\"),i={add:function(e,t){if(\"string\"!=typeof e)throw new Error('Unable to add JSON Ref: uri must be of type \"string\"');if(~e.indexOf(\"#\"))throw new Error(\"Unable to add JSON Ref (\"+e+\"): uri cannot include a fragment identifier (#)\");return this.__refs[e]=t,this},remove:function(e){return delete this.__refs[e],this},get:function(e,t,n){if(\"string\"!=typeof e)throw new Error('Unable to get JSON Ref: uri must be of type \"string\"');var i=e.split(\"#\");if(i.length>2)throw new Error(\"Unable to get JSON Ref (\"+e+\"): uri cannot contain multiple fragment identifiers (#)\");if(i[0]&&(t=this.__refs[i[0]]),!t)throw new Error(\"Unable to locate JSON Ref (\"+i[0]+\")\");return 1===i.length||n?t:r(i[1]).get(t)}};t.exports=function(){return Object.create(i,{__refs:{writable:!1,configurable:!1,enumerable:!1,value:{}}})}},{\"skeemas-json-pointer\":417}],419:[function(e,t,n){function r(){return Object.create(s,{_refs:{enumerable:!1,writable:!1,value:a()}})}var i=e(\"./validators\"),o=e(\"./validation-context\"),a=e(\"skeemas-json-refs\"),s={addRef:function(e,t){if(\"object\"==typeof e&&(t=e,e=null),e=e||t.id,!e)throw new Error(\"Cannot add a json schema reference without a uri/id.\");return this._refs.add(e,t),this},validate:function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");if(\"string\"==typeof t){var r=t;if(t=this._refs.get(r),!t)throw new Error(\"Unable to locate schema (\"+r+\"). Did you call addRef with this schema?\")}var a=o(t,{instance:e,refs:this._refs,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(a,e,t),a.result.valid&&(a.result.cleanInstance=a.cleanSubject),a.result}};t.exports=r,t.exports.validate=function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");var r=o(t,{instance:e,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(r,e,t),r.result.valid&&(r.result.cleanInstance=r.cleanSubject),r.result},t.exports.use=function(e){if(\"function\"!=typeof e)throw new Error(\"skeemas.use called with non-function. Plugins are in the form function(skeemas){}.\");return e(s),this}},{\"./validation-context\":420,\"./validators\":426,\"skeemas-json-refs\":418}],420:[function(e,t,n){var r=e(\"./validation-result\"),i=e(\"skeemas-json-refs\"),o={addError:function(e,t,n){return this.silent||this.result.addError(e,t,n,this),this},silently:function(e){this.silent=!0;var t=e();return this.silent=!1,t},subcontext:function(e){return a(e,this,this.silent)},runValidations:function(e,t,n){var r,i=this.breakOnError,o=Array.prototype.slice.call(arguments),a=!0;o[0]=this;for(var s=0,c=e.length;c>s;s++)if(r=e[s],r[0]&&(a=r[1].apply(null,o)&&a,i&&!a))return!1;return a}},a=t.exports=function(e,t,n){return t=t||{},Object.create(o,{id:{enumerable:!0,writable:!1,value:[]},schema:{enumerable:!0,writable:!1,value:e||t.schema},path:{enumerable:!0,writable:!1,value:t.path&&t.path.slice()||[\"#\"]},result:{enumerable:!0,writable:!1,value:!n&&t.result||r(t.instance)},refs:{enumerable:!0,writable:!1,value:t.refs||i()},silent:{enumerable:!0,writable:!0,value:!1},breakOnError:{enumerable:!0,writable:!0,value:t.breakOnError||!1},cleanWithDefaults:{enumerable:!0,writable:!0,value:t.cleanWithDefaults||!1},cleanSubject:{enumerable:!0,writable:!0,value:void 0}})}},{\"./validation-result\":421,\"skeemas-json-refs\":418}],421:[function(e,t,n){function r(){return this.message+\" (pointer: \"+this.context+\")\"}var i={addError:function(e,t,n,i){return this.errors.push({message:e,context:i.path.join(\"/\"),value:t,criteria:n,toString:r}),this.valid=!1,this}};t.exports=function(e){return Object.create(i,{instance:{enumerable:!0,writable:!1,value:e},cleanInstance:{enumerable:!0,writable:!0,value:void 0},valid:{enumerable:!0,writable:!0,value:!0},errors:{enumerable:!0,writable:!1,value:[]}})}},{}],422:[function(e,t,n){function r(e,t,n,r){var s=!0;return Array.isArray(n.items)?(s=o(e,t,n,r),\"additionalItems\"in n&&(s=a(e,t,n,r)&&s)):n.items&&(s=i(e,t,n,r)),s}function i(e,t,n,r){var i=n.items;if(\"object\"!=typeof i)throw new Error('Invalid schema: invalid \"items\"');for(var o=e.path.length,a=0,s=t.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function o(e,t,n,r){for(var i=n.items,o=e.path.length,a=0,s=i.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i[a]))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function a(e,t,n,r){var i=n.items.length,o=t.length,a=n.additionalItems;if(a===!1)return i>=o?!0:(e.addError('Failed \"additionalItems\" criteria: no additional items are allowed',t,n),!1);if(\"object\"!=typeof a)throw new Error('Invalid schema: invalid \"additionalItems\"');for(var s=e.path.length;o>i;i++){if(e.path[s]=i,!p(e,t[i],a))return e.addError('Failed \"additionalItems\" criteria',t,n),e.path.length=s,!1;r.push(e.cleanSubject)}return e.path.length=s,!0}function s(e,t,n){return t.length<n.minItems?(e.addError('Failed \"minItems\" criteria',t,n),!1):!0}function c(e,t,n){return t.length>n.maxItems?(e.addError('Failed \"maxItems\" criteria',t,n),!1):!0}function u(e,t,n){for(var r,i=t.length;i--;)for(r=i;r--;)if(l(t[i],t[r]))return e.addError('Failed \"uniqueItems\" criteria',t,n),!1;return!0}var p=e(\"./base\"),l=e(\"./deep-equal\");t.exports=function(e,t,n){if(!Array.isArray(t))return e.addError(\"Failed type:array criteria\",n),!1;var i=[],o=e.runValidations([[\"minItems\"in n,s],[\"maxItems\"in n,c],[\"uniqueItems\"in n,u],[\"items\"in n,r]],t,n,i);return\"items\"in n?e.cleanSubject=i:e.cleanSubject=t.slice(),o}},{\"./base\":423,\"./deep-equal\":425}],423:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return\"number\"===t&&e===Math.round(e)?\"integer\":t}function i(e,t,n){var r=n.format,i=y[r];if(!i)throw new Error(\"Invalid schema: unknown format (\"+r+\")\");var o=i.test?i.test(t):i(t);return o||e.addError('Failed \"format\" criteria ('+r+\")\",t,n),o}function o(e,t,n,r){for(var i,o,a=r.length;a--;){if(i=r[a],\"any\"===i)return!0;if(\"object\"!=typeof i){if(!(i in g.types))throw new Error(\"Invalid schema: invalid type (\"+i+\")\");if(\"number\"===i&&\"integer\"===n)return!0;if(n===i)return!0}else if(o=e.silently(function(){return v(e,t,i)}))return!0}return!1}function a(e,t,n){var r=n.allOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"allOf\" value must be an array');for(var i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o?!0:(e.addError('Failed \"allOf\" criteria',t,r),!1)}function s(e,t,n){var r=n.anyOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"anyOf\" value must be an array');var i=e.silently(function(){for(var n=r.length;n--;)if(v(e,t,r[n]))return!0;return!1});return i?!0:(e.addError('Failed \"anyOf\" criteria',t,r),!1)}function c(e,t,n){var r=n.oneOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"oneOf\" value must be an array');var i=r.length,o=0;return e.silently(function(){for(;i--;)v(e,t,r[i])&&(o+=1)}),1===o?!0:(e.addError('Failed \"oneOf\" criteria',t,r),!1)}function u(e,t,n){var r=n.not,i=e.silently(function(){return!v(e,t,r)});return i?!0:(e.addError('Failed \"not\" criteria',t,n),!1)}function p(e,t,n,r){var i=Array.isArray(n.disallow)?n.disallow:[n.disallow],a=!o(e,t,r,i);return a||e.addError('Failed \"disallow\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function l(e,t,n){for(var r=Array.isArray(n[\"extends\"])?n[\"extends\"]:[n[\"extends\"]],i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o}function f(e,t,n){var r=n[\"enum\"];if(!Array.isArray(r))throw new Error('Invalid schema: \"enum\" value must be an array');for(var i=r.length;i--;)if(g.deepEqual(t,r[i]))return!0;return e.addError('Failed \"enum\" criteria',t,r),!1}function d(e,t,n,r){var i=Array.isArray(n.type)?n.type:[n.type],a=o(e,t,r,i);return a||e.addError('Failed \"type\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function h(e,t,n,r){return g.types[r](e,t,n)}function m(e,t,n){var r=/^#|\\//.test(n.$ref),i=r?n.$ref:e.id.join(\"\")+n.$ref,o=e.refs.get(i,e.schema),a=e;\"#\"!==n.$ref[0]&&(a=e.subcontext(e.refs.get(i,e.schema,!0)));var s=v(a,t,o);return e.cleanSubject=a.cleanSubject,s}function v(e,t,n){if(n.$ref)return m(e,t,n);n.id&&e.id.push(n.id);var o=e.runValidations([[\"type\"in n,d],[\"disallow\"in n,p],[\"enum\"in n,f],[!0,h],[\"format\"in n,i],[\"extends\"in n,l],[\"allOf\"in n,a],[\"anyOf\"in n,s],[\"oneOf\"in n,c],[\"not\"in n,u]],t,n,r(t));return n.id&&e.id.pop(),o}var g=e(\"./\"),y={\"date-time\":/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}[t ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/i,date:/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,time:/^\\d{2}:\\d{2}:\\d{2}$/,color:/^(#[0-9a-f]{3}|#[0-9a-f]{6}|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)$/i,style:/^(?:\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;)*\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;?\\s*$/i,phone:/^(?:(?:\\(?(?:00|\\+)(?:[1-4]\\d\\d|[1-9]\\d?)\\)?)?[\\-\\.\\ \\\\\\/]?)?(?:(?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?){0,})(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(?:\\d+))?$/i,uri:/^(?:([a-z0-9+.-]+:\\/\\/)((?:(?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*)@)?((?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*)(:(?:\\d*))?(\\/(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?|([a-z0-9+.-]+:)(\\/?(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?)(\\?(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?(#(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?$/i,email:/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\\.)+[A-Z]{2,}$/i,ipv4:/^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$/,ipv6:/^\\s*((([0-9A-F]{1,4}:){7}([0-9A-F]{1,4}|:))|(([0-9A-F]{1,4}:){6}(:[0-9A-F]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){5}(((:[0-9A-F]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){4}(((:[0-9A-F]{1,4}){1,3})|((:[0-9A-F]{1,4})((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){3}(((:[0-9A-F]{1,4}){1,4})|((:[0-9A-F]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){2}(((:[0-9A-F]{1,4}){1,5})|((:[0-9A-F]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){1}(((:[0-9A-F]{1,4}){1,6})|((:[0-9A-F]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-F]{1,4}){1,7})|((:[0-9A-F]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/i,\nhostname:/^(?=.{1,255}$)[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?(?:\\.[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?)*\\.?$/i,\"utc-millisec\":function(e){var t=parseInt(e,10);return!isNaN(t)&&t.toString()===e.toString()},regex:function(e){try{new RegExp(e)}catch(t){return!1}return!0}};y[\"host-name\"]=y.hostname,y[\"ip-address\"]=y.ipv4,t.exports=v},{\"./\":426}],424:[function(e,t,n){function r(e,t,n){return\"boolean\"!=typeof t?(e.addError(\"Failed type:boolean criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],425:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return t}function i(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a(e[n],t[n]))return!1;return!0}function o(e,t){var n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(;r--;)if(!a(e[n[r]],t[n[r]]))return!1;return!0}var a=t.exports=function(e,t){if(e===t)return!0;var n=r(e);return n!==r(t)?!1:\"array\"===n?i(e,t):\"object\"===n?o(e,t):!1}},{}],426:[function(e,t,n){n.types={any:function(){return!0},array:e(\"./array\"),\"boolean\":e(\"./boolean\"),integer:e(\"./number\"),\"null\":e(\"./null\"),number:e(\"./number\"),object:e(\"./object\"),string:e(\"./string\")},n.deepEqual=e(\"./deep-equal\"),n.base=e(\"./base\")},{\"./array\":422,\"./base\":423,\"./boolean\":424,\"./deep-equal\":425,\"./null\":427,\"./number\":428,\"./object\":429,\"./string\":430}],427:[function(e,t,n){function r(e,t,n){return null!==t?(e.addError(\"Failed type:null criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],428:[function(e,t,n){function r(e,t,n){return\"number\"!=typeof t?(e.addError(\"Failed type:number criteria\",t,n),!1):!0}function i(e,t,n){return\"number\"!=typeof t||t!==Math.round(t)?(e.addError(\"Failed type:integer criteria\",t,n),!1):!0}function o(e,t,n){var r=n.exclusiveMinimum?t>n.minimum:t>=n.minimum;return r||e.addError('Failed \"minimum\" criteria',t,n),r}function a(e,t,n){var r=n.exclusiveMaximum?t<n.maximum:t<=n.maximum;return r||e.addError('Failed \"maximum\" criteria',t,n),r}function s(e,t,n,r){r=r||\"multipleOf\";var i=t/n[r]%1===0;return i||e.addError('Failed \"'+r+'\" criteria',t,n),i}function c(e,t,n){return s(e,t,n,\"divisibleBy\")}t.exports=function(e,t,n){var u=!0;return\"number\"===n.type&&(u=r(e,t,n)),\"integer\"===n.type&&(u=i(e,t,n)),e.cleanSubject=t,u&&e.runValidations([[\"minimum\"in n,o],[\"maximum\"in n,a],[\"multipleOf\"in n,s],[\"divisibleBy\"in n,c]],t,n)}},{}],429:[function(e,t,n){function r(e,t,n,r){var i=n.properties,o=!0;for(var a in i)a in t?(e.path.push(a),o=f(e,t[a],i[a])&&o,e.path.pop(),r[a]=e.cleanSubject):i[a].required===!0&&(e.addError('Failed \"required\" criteria: missing property ('+a+\")\",t,i),o=!1);return o}function i(e,t,n,r){var i=n.patternProperties;if(\"object\"!=typeof i)throw new Error('Invalid schema: \"patternProperties\" must be an object');for(var o,a,s=!0,c=Object.keys(i),u=c.length,p=Object.keys(t),l=p.length;l--;)for(a=p[l],o=u;o--;)a.match(c[o])&&(e.path.push(a),s=f(e,t[a],i[c[o]])&&s,e.path.pop(),a in r||(r[a]=e.cleanSubject));return s}function o(e,t,n,r){var i=n.additionalProperties;if(i===!0)return!0;var o=Object.keys(t),a=o.length;if(i===!1){for(;a--;)if(!(o[a]in r))return e.addError('Failed \"additionalProperties\" criteria: unexpected property ('+o[a]+\")\",t,n),!1;return!0}if(\"object\"!=typeof i)throw new Error('Invalid schema: \"additionalProperties\" must be a valid schema');for(var s;a--;)o[a]in r||(e.path.push(o[a]),s=f(e,t[o[a]],i)&&s,e.path.pop(),r[o[a]]=e.cleanSubject);return s}function a(e,t,n){var r=Object.keys(t);return r.length<n.minProperties?(e.addError('Failed \"minProperties\" criteria',t,n),!1):!0}function s(e,t,n){var r=Object.keys(t);return r.length>n.maxProperties?(e.addError('Failed \"maxProperties\" criteria',t,n),!1):!0}function c(e,t,n){var r=n.required;if(!Array.isArray(r))throw new Error('Invalid schema: \"required\" must be an array');for(var i=!0,o=r.length;o--;)r[o]in t||(e.addError('Missing required property \"'+r[o]+'\"',t,r[o]),i=!1);return i}function u(e,t,n){var r=n.dependencies;if(\"object\"!=typeof r)throw new Error('Invalid schema: \"dependencies\" must be an object');for(var i,o,a=!0,s=Object.keys(r),c=s.length;c--;)if(s[c]in t)if(i=r[s[c]],\"string\"==typeof i&&(i=[i]),Array.isArray(i))for(o=i.length;o--;)i[o]in t||(e.addError('Missing required property \"'+i[o]+'\"',t,i[o]),a=!1);else{if(\"object\"!=typeof i)throw new Error(\"Invalid schema: dependencies must be string, array, or object\");a=f(e,t,i)&&a}return a}function p(e,t){var n=t.properties;if(n)for(var r in n)\"default\"in n[r]&&!(r in e)&&(e[r]=n[r][\"default\"])}function l(e,t,n){if(\"object\"!=typeof t)return e.addError(\"Failed type:object criteria\",t,n),!1;var l={},f=e.runValidations([[\"properties\"in n,r],[\"patternProperties\"in n,i],[\"additionalProperties\"in n,o],[\"minProperties\"in n,a],[\"maxProperties\"in n,s],[Array.isArray(n.required),c],[\"dependencies\"in n,u]],t,n,l);return e.cleanWithDefaults&&p(l,n),e.cleanSubject=l,f}var f=e(\"./base\");t.exports=l},{\"./base\":423}],430:[function(e,t,n){function r(e,t,n){return s(t).length<n.minLength?(e.addError('Failed \"minLength\" criteria',t,n),!1):!0}function i(e,t,n){return s(t).length>n.maxLength?(e.addError('Failed \"maxLength\" criteria',t,n),!1):!0}function o(e,t,n){var r=n.pattern;return t.match(r)?!0:(e.addError('Failed \"pattern\" criteria ('+r+\")\",t,r),!1)}function a(e,t,n){return\"string\"!=typeof t?(e.addError(\"Failed type:string criteria\",n),!1):(e.cleanSubject=t,e.runValidations([[\"minLength\"in n,r],[\"maxLength\"in n,i],[\"pattern\"in n,o]],t,n))}var s=e(\"punycode\").ucs2.decode;t.exports=a},{punycode:void 0}],431:[function(e,t,n){arguments[4][354][0].apply(n,arguments)},{dup:354}],432:[function(e,t,n){!function(){\"use strict\";var n=e(\"./../package.json\"),r=function(e){this.version=n.version,e=e||{},this.header={},this.header.to=e.to||[],this.header.sub=e.sub||{},this.header.unique_args=e.unique_args||{},this.header.category=e.category||[],this.header.section=e.section||{},this.header.filters=e.filters||{},this.header.send_at=e.send_at||\"\",this.header.send_each_at=e.send_each_at||[],this.header.asm_group_id=e.asm_group_id||{},this.header.ip_pool=e.ip_pool||\"\"};r.prototype.addTo=function(e){e instanceof Array?this.header.to=this.header.to.concat(e):this.header.to.push(e)},r.prototype.setTos=function(e){e instanceof Array?this.header.to=e:this.header.to=[e]},r.prototype.addSubstitution=function(e,t){void 0===this.header.sub[e]&&(this.header.sub[e]=[]),t instanceof Array?this.header.sub[e]=this.header.sub[e].concat(t):this.header.sub[e].push(t)},r.prototype.setSubstitutions=function(e){this.header.sub=e},r.prototype.addUniqueArg=function(e,t){this.header.unique_args[e]=t},r.prototype.setUniqueArgs=function(e){this.header.unique_args=e},r.prototype.addCategory=function(e){e instanceof Array?this.header.category.concat(e):this.header.category.push(e)},r.prototype.setCategories=function(e){e instanceof Array?this.header.category=e:this.header.category=[e]},r.prototype.addSection=function(e,t){this.header.section[e]=t},r.prototype.setSections=function(e){this.header.section=e},r.prototype.addFilter=function(e,t,n){void 0===this.header.filters[e]&&(this.header.filters[e]={settings:{}}),this.header.filters[e].settings[t]=n},r.prototype.setFilters=function(e){this.header.filters=e},r.prototype.setSendAt=function(e){this.header.send_each_at=[],this.header.send_at=e},r.prototype.setSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at=e},r.prototype.addSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at.push(e)},r.prototype.setASMGroupID=function(e){this.header.asm_group_id=e},r.prototype.setIpPool=function(e){this.header.ip_pool=e},r.prototype.jsonObject=function(){var e={};for(var t in this.header)(this.header.hasOwnProperty(t)&&\"object\"==typeof this.header[t]&&Object.keys(this.header[t]).length||\"number\"==typeof this.header[t]&&this.header[t]||\"string\"==typeof this.header[t]&&this.header[t])&&(e[t]=this.header[t]);return e},r.prototype.jsonString=function(){var e=this.jsonObject(),t=JSON.stringify(e);return this.escapeUnicode(t)},r.prototype.escapeUnicode=function(e){return e.replace(/[^ -~]/g,function(e){var t=e.charCodeAt(0);return\"\\\\u\"+(16>t?\"000\":256>t?\"00\":4096>t?\"0\":\"\")+t.toString(16)})},t.exports=r}()},{\"./../package.json\":433}],433:[function(e,t,n){t.exports={_args:[[\"smtpapi@^1.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\"]],_from:\"smtpapi@>=1.2.0 <2.0.0\",_id:\"smtpapi@1.2.0\",_inCache:!0,_installable:!0,_location:\"/smtpapi\",_nodeVersion:\"0.12.6\",_npmUser:{email:\"eddiezane@gmail.com\",name:\"eddiezane\"},_npmVersion:\"2.11.2\",_phantomChildren:{},_requested:{name:\"smtpapi\",raw:\"smtpapi@^1.2.0\",rawSpec:\"^1.2.0\",scope:null,spec:\">=1.2.0 <2.0.0\",type:\"range\"},_requiredBy:[\"/sendgrid\"],_resolved:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\",_shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",_shrinkwrap:null,_spec:\"smtpapi@^1.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\",author:{name:\"scottmotte\"},bugs:{url:\"https://github.com/sendgrid/smtpapi-nodejs/issues\"},contributors:[{name:\"Yamil Asusta\",email:\"yamil@sendgrid.com\",url:\"yamilasusta.com\"},{name:\"Scott Motte\",email:\"scott@scottmotte.com\",url:\"scottmotte.com\"}],dependencies:{},description:\"Build SendGrid X-SMTPAPI headers in nodejs.\",devDependencies:{mocha:\"\",should:\"\"},directories:{test:\"test\"},dist:{shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",tarball:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\"},gitHead:\"866604875fe6b3baef846ebee50342cc19aa990e\",homepage:\"https://github.com/sendgrid/smtpapi-nodejs#readme\",keywords:[\"email\",\"headers\",\"sendgrid\",\"smtp\",\"smtpapi\",\"x-smtpapi\"],license:\"BSD\",main:\"lib/main.js\",maintainers:[{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"}],name:\"smtpapi\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/smtpapi-nodejs.git\"},scripts:{test:\"mocha test/*.js\"},version:\"1.2.0\"}},{}],434:[function(e,t,n){t.exports=e(\"./lib\")},{\"./lib\":435}],435:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=function(e,t){return c&&(clearTimeout(c),c=0),l.removeAllListeners(),l.once(\"error\",a.ignore),l.close(),n(e,t)};p=o.once(p);var l=r.createSocket(\"udp4\");l.once(\"error\",function(e){return p(e)}),l.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return p(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return p(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,l=r.transmitTimestamp,f=n;return r.d=f-o-(l-c),r.t=(c-o+(l-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),p(null,r)}):p(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,p(new Error(\"Timeout\"))},s.timeout));for(var f=new t(48),d=0;48>d;d++)f[d]=0;f[0]=35,u=Date.now(),a.fromMsecs(u,f,40),l.send(f,0,f.length,s.port,s.host,function(e,t){return e||48!==t?p(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset},a.ignore=function(){}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:149}],436:[function(e,t,n){(function(e){var n={dsa:{parts:[\"p\",\"q\",\"g\",\"y\"],sizePart:\"p\"},rsa:{parts:[\"e\",\"n\"],sizePart:\"n\"},ecdsa:{parts:[\"curve\",\"Q\"],sizePart:\"Q\"},ed25519:{parts:[\"R\"],normalize:!1,sizePart:\"R\"}};n.curve25519=n.ed25519;var r={dsa:{parts:[\"p\",\"q\",\"g\",\"y\",\"x\"]},rsa:{parts:[\"n\",\"e\",\"d\",\"iqmp\",\"p\",\"q\"]},ecdsa:{parts:[\"curve\",\"Q\",\"d\"]},ed25519:{parts:[\"R\",\"r\"],normalize:!1}};r.curve25519=r.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},o={nistp256:{size:256,pkcs8oid:\"1.2.840.10045.3.1.7\",p:new e(\"00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00c49d3608 86e70493 6a6678e1 139d26b7819f7e90\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551\".replace(/ /g,\"\"),\"hex\"),G:new e(\"046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5\".replace(/ /g,\"\"),\"hex\")},nistp384:{size:384,pkcs8oid:\"1.3.132.0.34\",p:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00a335926a a319a27a 1d00896a 6773a4827acdac73\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973\".replace(/ /g,\"\"),\"hex\"),G:new e(\"04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f\".replace(/ /g,\"\"),\"hex\")},nistp521:{size:521,pkcs8oid:\"1.3.132.0.35\",p:new e(\"01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00d09e8800 291cb853 96cc6717 393284aaa0da64ba\".replace(/ /g,\"\"),\"hex\"),n:new e(\"01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409\".replace(/ /g,\"\"),\"hex\"),G:new e(\"0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650\".replace(/ /g,\"\"),\"hex\")}};t.exports={info:n,privInfo:r,hashAlgs:i,curves:o}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],437:[function(e,t,n){(function(n){function r(t){if(h.assertCompatible(t,m,[1,4],\"key\"),this._isPriv=v.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,\"dsa\"===t.type){if(!g)throw new Error(\"Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH\");this._dh=f.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if(\"ecdsa\"===t.type){if(!g)return void 0===c&&(c=e(\"ecc-jsbn\")),void 0===u&&(u=e(\"ecc-jsbn/lib/ec\")),void 0===p&&(p=e(\"jsbn\").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new a(this._ecParams,t.part.d.data)));var n={nistp256:\"prime256v1\",nistp384:\"secp384r1\",nistp521:\"secp521r1\"}[t.curve];if(this._dh=f.createECDH(n),\"object\"!=typeof this._dh||\"function\"!=typeof this._dh.setPrivateKey)return g=!1,void r.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if(\"curve25519\"!==t.type)throw new Error(\"DH not supported for \"+t.type+\" keys\");void 0===s&&(s=e(\"jodid25519\")),this._isPriv&&(this._priv=t.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32))}}function i(e){var t=d.curves[e];l.object(t);var n=new p(t.p),r=new p(t.a),i=new p(t.b),o=new p(t.n),a=p.ONE,s=new u.ECCurveFp(n,r,i),c=s.decodePointHex(t.G.toString(\"hex\"));this.curve=s,this.g=c,this.n=o,this.h=a}function o(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString(\"hex\"))}function a(e,t){this._params=e,this._priv=new p(h.mpNormalize(t))}t.exports=r;var s,c,u,p,l=e(\"assert-plus\"),f=e(\"crypto\"),d=e(\"./algs\"),h=e(\"./utils\"),m=e(\"./key\"),v=e(\"./private-key\"),g=void 0!==f.createECDH;r.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},r.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},r.prototype.getKey=r.prototype.getPrivateKey,r.prototype._keyCheck=function(e,t){if(l.object(e,\"key\"),t||h.assertCompatible(e,v,[1,3],\"key\"),h.assertCompatible(e,m,[1,4],\"key\"),e.type!==this._algo)throw new Error(\"A \"+e.type+\" key cannot be used in \"+this._algo+\" Diffie-Hellman\");if(e.curve!==this._curve)throw new Error(\"A key from the \"+e.curve+\" curve cannot be used with a \"+this._curve+\" Diffie-Hellman\");\"dsa\"===e.type&&(l.deepEqual(e.part.p,this._p,\"DSA key prime does not match\"),l.deepEqual(e.part.g,this._g,\"DSA key generator does not match\"))},r.prototype.setKey=function(e){this._keyCheck(e),\"dsa\"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):\"ecdsa\"===e.type?g?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new a(this._ecParams,e.part.d.data):\"curve25519\"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},r.prototype.setPrivateKey=r.prototype.setKey,r.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error(\"DH exchange has not been initialized with a private key yet\");var t;if(\"dsa\"===this._algo)return this._dh.computeSecret(e.part.y.data);if(\"ecdsa\"===this._algo)return g?this._dh.computeSecret(e.part.Q.data):(t=new o(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if(\"curve25519\"===this._algo){t=e.part.R.data,0===t[0]&&(t=t.slice(1));var r=s.dh.computeKey(this._priv.toString(\"binary\"),t.toString(\"binary\"));return new n(r,\"binary\")}throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKey=function(){var e,t,r=[];if(\"dsa\"===this._algo)return this._dh.generateKeys(),r.push({name:\"p\",data:this._p.data}),r.push({name:\"q\",data:this._key.part.q.data}),r.push({name:\"g\",data:this._g.data}),r.push({name:\"y\",data:this._dh.getPublicKey()}),r.push({name:\"x\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"dsa\",parts:r}),this._isPriv=!0,this._key;if(\"ecdsa\"===this._algo){if(g)return this._dh.generateKeys(),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:this._dh.getPublicKey()}),r.push({name:\"d\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),o=new p(f.randomBytes(i.bitLength())),c=i.subtract(p.ONE);return e=o.mod(c).add(p.ONE),t=this._ecParams.getG().multiply(e),e=new n(e.toByteArray()),t=new n(this._ecParams.getCurve().encodePointHex(t),\"hex\"),this._priv=new a(this._ecParams,e),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:t}),r.push({name:\"d\",data:e}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key}if(\"curve25519\"===this._algo)return e=s.dh.generateKey(),t=s.dh.publicKey(e),this._priv=e=new n(e,\"binary\"),t=new n(t,\"binary\"),r.push({name:\"R\",data:t}),r.push({name:\"r\",data:n.concat([e,t])}),this._key=new v({type:\"curve25519\",parts:r}),this._isPriv=!0,this._key;throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKeys=r.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},a.prototype.deriveSharedSecret=function(e){l.ok(e instanceof o);var t=e._pub.multiply(this._priv);return new n(t.getX().toBigInteger().toByteArray())}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./key\":449,\"./private-key\":450,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,\"ecc-jsbn\":91,\"ecc-jsbn/lib/ec\":92,jodid25519:165,jsbn:171}],438:[function(e,t,n){(function(n){function r(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}function i(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}t.exports={Verifier:r,Signer:i};var o,a=e(\"stream\"),s=e(\"util\"),c=e(\"assert-plus\"),u=e(\"./signature\");s.inherits(r,a.Writable),r.prototype._write=function(e,t,n){this.chunks.push(e),n()},r.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},r.prototype.verify=function(e,t){var r;if(u.isSignature(e,[2,0])){if(\"ed25519\"!==e.type)return!1;r=e.toBuffer(\"raw\")}else if(\"string\"==typeof e)r=new n(e,\"base64\");else if(u.isSignature(e,[1,0]))throw new Error(\"signature was created by too old a version of sshpk and cannot be verified\");return c.buffer(r),o.sign.detached.verify(new Uint8Array(n.concat(this.chunks)),new Uint8Array(r),new Uint8Array(this.key.part.R.data))},s.inherits(i,a.Writable),i.prototype._write=function(e,t,n){this.chunks.push(e),n()},i.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},i.prototype.sign=function(){var e=o.sign.detached(new Uint8Array(n.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new n(e),r=u.parse(t,\"ed25519\",\"raw\");return r.hashAlgorithm=\"sha512\",r}}).call(this,e(\"buffer\").Buffer)},{\"./signature\":451,\"assert-plus\":10,buffer:void 0,stream:void 0,tweetnacl:466,util:void 0}],439:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name=\"FingerprintFormatError\",this.fingerprint=e,this.format=t,this.message=\"Fingerprint format is not supported, or is invalid: \",void 0!==e&&(this.message+=\" fingerprint = \"+e),void 0!==t&&(this.message+=\" format = \"+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name=\"InvalidAlgorithmError\",this.algorithm=e,this.message='Algorithm \"'+e+'\" is not supported'}function o(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name=\"KeyParseError\",this.format=t,this.keyName=e,this.innerErr=n,this.message=\"Failed to parse \"+e+\" as a valid \"+t+\" format key: \"+n.message}function a(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name=\"SignatureParseError\",this.type=e,this.format=t,this.innerErr=n,this.message=\"Failed to parse the given data as a \"+e+\" signature in \"+t+\" format: \"+n.message}var s=(e(\"assert-plus\"),e(\"util\"));s.inherits(r,Error),s.inherits(i,Error),s.inherits(o,Error),s.inherits(a,Error),t.exports={FingerprintFormatError:r,InvalidAlgorithmError:i,KeyParseError:o,SignatureParseError:a}},{\"assert-plus\":10,util:void 0}],440:[function(e,t,n){(function(n){function r(e){if(s.object(e,\"options\"),s.buffer(e.hash,\"options.hash\"),s.string(e.algorithm,\"options.algorithm\"),this.algorithm=e.algorithm.toLowerCase(),c.hashAlgs[this.algorithm]!==!0)throw new h(this.algorithm);this.hash=e.hash}function i(e){return e.replace(/(.{2})(?=.)/g,\"$1:\")}function o(e){return e.replace(/=*$/,\"\")}function a(e,t){return e.toUpperCase()+\":\"+o(t)}t.exports=r;var s=e(\"assert-plus\"),c=e(\"./algs\"),u=e(\"crypto\"),p=e(\"./errors\"),l=e(\"./key\"),f=e(\"./utils\"),d=p.FingerprintFormatError,h=p.InvalidAlgorithmError;r.prototype.toString=function(e){switch(void 0===e&&(e=\"md5\"===this.algorithm?\"hex\":\"base64\"),s.string(e),e){case\"hex\":return i(this.hash.toString(\"hex\"));case\"base64\":return a(this.algorithm,this.hash.toString(\"base64\"));default:throw new d(void 0,e)}},r.prototype.matches=function(e){s.object(e,\"key\"),f.assertCompatible(e,l,[1,0],\"key\");var t=e.hash(this.algorithm),n=u.createHash(this.algorithm).update(t).digest(\"base64\");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest(\"base64\")),this.hash2===n},r.parse=function(e,t){s.string(e,\"fingerprint\");var i,o;s.optionalArrayOfString(t,\"algorithms\");var a=e.split(\":\");if(2==a.length){i=a[0].toLowerCase();var u=/^[A-Za-z0-9+\\/=]+$/;if(!u.test(a[1]))throw new d(e);try{o=new n(a[1],\"base64\")}catch(p){throw new d(e)}}else if(a.length>2){i=\"md5\",\"md5\"===a[0].toLowerCase()&&(a=a.slice(1)),a=a.join(\"\");var l=/^[a-fA-F0-9]+$/;if(!l.test(a))throw new d(e);try{o=new n(a,\"hex\")}catch(p){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new h(i);if(void 0!==t&&(t=t.map(function(e){return e.toLowerCase()}),-1===t.indexOf(i)))throw new h(i);return new r({algorithm:i,hash:o})},r.isFingerprint=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,1],r._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./key\":449,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],441:[function(e,t,n){(function(n){function r(e){if(\"string\"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return c.read(e);if(e.match(/^\\s*ssh-[a-z]/))return u.read(e);if(e.match(/^\\s*ecdsa-/))return u.read(e);e=new n(e,\"binary\")}else{if(s.buffer(e),o(e))return c.read(e);if(i(e))return u.read(e)}if(e.readUInt32BE(0)<e.length)return p.read(e);throw new Error(\"Failed to auto-detect format of key\")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&\"ssh-\"===e.slice(t,t+4).toString(\"ascii\")?!0:t+6<=e.length&&\"ecdsa-\"===e.slice(t,t+6).toString(\"ascii\")}function o(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||\"BEGIN\"!==e.slice(t,t+5).toString(\"ascii\"))}function a(e){throw new Error('\"auto\" format cannot be used for writing')}t.exports={read:r,write:a};var s=e(\"assert-plus\"),c=(e(\"../utils\"),e(\"../key\"),e(\"../private-key\"),e(\"./pem\")),u=e(\"./ssh\"),p=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,\"./ssh\":447,\"assert-plus\":10,buffer:void 0}],442:[function(e,t,n){(function(n){function r(e,t){var r=e;\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var i=e.trim().split(\"\\n\"),s=i[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(s,\"invalid PEM header\");var c=i[i.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(c,\"invalid PEM footer\"),o.equal(s[2],c[2]);var d,h=s[2].toLowerCase();s[1]&&(o.equal(s[1],c[1],\"PEM header and footer mismatch\"),d=s[1].trim());for(var m={};;){if(i=i.slice(1),s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/),!s)break;m[s[1].toLowerCase()]=s[2]}if(m[\"proc-type\"]){var v=m[\"proc-type\"].split(\",\");if(\"4\"===v[0]&&\"ENCRYPTED\"===v[1])throw new Error(\"PEM key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\")}if(i=i.slice(0,-1).join(\"\"),e=new n(i,\"base64\"),d&&\"openssh\"===d.toLowerCase())return l.readSSHPrivate(h,e);if(d&&\"ssh2\"===d.toLowerCase())return f.readType(h,e);var g=new a.BerReader(e);return g.originalInput=r,g.readSequence(),d?(t&&o.strictEqual(t,\"pkcs1\"),u.readPkcs1(d,h,g)):(t&&o.strictEqual(t,\"pkcs8\"),p.readPkcs8(d,h,g))}function i(e,t){o.object(e);var r,i={ecdsa:\"EC\",rsa:\"RSA\",dsa:\"DSA\"}[e.type],l=new a.BerWriter;if(c.isPrivateKey(e))t&&\"pkcs8\"===t?(r=\"PRIVATE KEY\",p.writePkcs8(l,e)):(t&&o.strictEqual(t,\"pkcs1\"),r=i+\" PRIVATE KEY\",u.writePkcs1(l,e));else{if(!s.isKey(e))throw new Error(\"key is not a Key or PrivateKey\");t&&\"pkcs1\"===t?(r=i+\" PUBLIC KEY\",u.writePkcs1(l,e)):(t&&o.strictEqual(t,\"pkcs8\"),r=\"PUBLIC KEY\",p.writePkcs8(l,e))}var f=l.buffer.toString(\"base64\"),d=f.length+f.length/64+18+16+2*r.length+10,h=new n(d),m=0;m+=h.write(\"-----BEGIN \"+r+\"-----\\n\",m);for(var v=0;v<f.length;){var g=v+64;g>f.length&&(g=f.length),m+=h.write(f.slice(v,g),m),h[m++]=10,v=g}return m+=h.write(\"-----END \"+r+\"-----\\n\",m),h.slice(0,m)}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"asn1\"),s=(e(\"../algs\"),e(\"../utils\"),e(\"../key\")),c=e(\"../private-key\"),u=e(\"./pkcs1\"),p=e(\"./pkcs8\"),l=e(\"./ssh-private\"),f=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pkcs1\":443,\"./pkcs8\":444,\"./rfc4253\":445,\"./ssh-private\":446,asn1:9,\"assert-plus\":10,buffer:void 0}],443:[function(e,t,n){(function(n){function r(e){return E.read(e,\"pkcs1\")}function i(e){return E.write(e,\"pkcs1\")}function o(e,t){return x.strictEqual(e.peek(),w.Ber.Integer,t+\" is not an Integer\"),\nk.mpNormalize(e.readString(w.Ber.Integer,!0))}function a(e,t,n){switch(e){case\"RSA\":if(\"public\"===t)return s(n);if(\"private\"===t)return c(n);throw new Error(\"Unknown key type: \"+t);case\"DSA\":if(\"public\"===t)return p(n);if(\"private\"===t)return u(n);throw new Error(\"Unknown key type: \"+t);case\"EC\":case\"ECDSA\":if(\"private\"===t)return f(n);if(\"public\"===t)return l(n);throw new Error(\"Unknown key type: \"+t);default:throw new Error(\"Unknown key algo: \"+e)}}function s(e){var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new j(r)}function c(e){var t=o(e,\"version\");x.strictEqual(t[0],0);var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new S(l)}function u(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),0);var n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a=o(e,\"y\"),s=o(e,\"x\"),c={type:\"dsa\",parts:[{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i},{name:\"y\",data:a},{name:\"x\",data:s}]};return new S(c)}function p(e){var t=o(e,\"y\"),n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a={type:\"dsa\",parts:[{name:\"y\",data:t},{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i}]};return new j(a)}function l(e){e.readSequence();var t=e.readOID();x.strictEqual(t,\"1.2.840.10045.2.1\",\"must be ecPublicKey\");for(var r,i=e.readOID(),o=Object.keys(_.curves),a=0;a<o.length;++a){var s=o[a],c=_.curves[s];if(c.pkcs8oid===i){r=s;break}}x.string(r,\"a known ECDSA named curve\");var u=e.readString(w.Ber.BitString,!0);u=k.ecNormalize(u);var p={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(r)},{name:\"Q\",data:u}]};return new j(p)}function f(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),1);var r=e.readString(w.Ber.OctetString,!0);e.readSequence(160);var i=A(e);x.string(i,\"a known elliptic curve\"),e.readSequence(161);var a=e.readString(w.Ber.BitString,!0);a=k.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(i)},{name:\"Q\",data:a},{name:\"d\",data:r}]};return new S(s)}function d(e,t){switch(e.startSequence(),t.type){case\"rsa\":S.isPrivateKey(t)?m(e,t):h(e,t);break;case\"dsa\":S.isPrivateKey(t)?v(e,t):g(e,t);break;case\"ecdsa\":S.isPrivateKey(t)?b(e,t):y(e,t);break;default:throw new Error(\"Unknown key algo: \"+t.type)}e.endSequence()}function h(e,t){e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer)}function m(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),t.part.dmodp&&t.part.dmodq||k.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,w.Ber.Integer),e.writeBuffer(t.part.dmodq.data,w.Ber.Integer),e.writeBuffer(t.part.iqmp.data,w.Ber.Integer)}function v(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer),e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.x.data,w.Ber.Integer)}function g(e,t){e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer)}function y(e,t){e.startSequence(),e.writeOID(\"1.2.840.10045.2.1\");var n=t.part.curve.data.toString(),r=_.curves[n].pkcs8oid;x.string(r,\"a known ECDSA named curve\"),e.writeOID(r),e.endSequence();var i=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,w.Ber.BitString)}function b(e,t){var r=new n(1);r[0]=1,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),o=_.curves[i].pkcs8oid;x.string(o,\"a known ECDSA named curve\"),e.writeOID(o),e.endSequence(),e.startSequence(161);var a=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(a,w.Ber.BitString),e.endSequence()}t.exports={read:r,readPkcs1:a,write:i,writePkcs1:d};var x=e(\"assert-plus\"),w=e(\"asn1\"),_=e(\"../algs\"),k=e(\"../utils\"),j=e(\"../key\"),S=e(\"../private-key\"),E=e(\"./pem\"),O=e(\"./pkcs8\"),A=O.readECDSACurve}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./pkcs8\":444,asn1:9,\"assert-plus\":10,buffer:void 0}],444:[function(e,t,n){(function(n){function r(e){return A.read(e,\"pkcs8\")}function i(e){return A.write(e,\"pkcs8\")}function o(e,t){return _.strictEqual(e.peek(),k.Ber.Integer,t+\" is not an Integer\"),S.mpNormalize(e.readString(k.Ber.Integer,!0))}function a(e,t,n){n.peek()===k.Ber.Integer&&(_.strictEqual(t,\"private\",\"unexpected Integer at start of public key\"),n.readString(k.Ber.Integer,!0)),n.readSequence();var r=n.readOID();switch(r){case\"1.2.840.113549.1.1.1\":return\"public\"===t?s(n):c(n);case\"1.2.840.10040.4.1\":return\"public\"===t?u(n):p(n);case\"1.2.840.10045.2.1\":return\"public\"===t?d(n):f(n);default:throw new Error(\"Unknown key type OID \"+r)}}function s(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.BitString),e.readByte(),e.readSequence();var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",source:e.originalInput,parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new E(r)}function c(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.OctetString),e.readSequence();var t=o(e,\"version\");_.equal(t[0],0,\"unknown RSA private key version\");var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new O(l)}function u(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.BitString),e.readByte();var i=o(e,\"y\"),a={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:i}]};return new E(a)}function p(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.OctetString);var i=o(e,\"x\"),a=S.calculateDSAPublic(r,t,i),s={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:a},{name:\"x\",data:i}]};return new O(s)}function l(e){var t,r,i,o,a;if(e.peek()===k.Ber.OID){var s=e.readOID();for(r=Object.keys(j.curves),i=0;i<r.length;++i)if(o=r[i],a=j.curves[o],a.pkcs8oid===s){t=o;break}}else{e.readSequence();var c=e.readString(k.Ber.Integer,!0);_.strictEqual(c[0],1,\"ECDSA key not version 1\");var u={};e.readSequence();var p=e.readOID();_.strictEqual(p,\"1.2.840.10045.1.1\",\"ECDSA key is not from a prime-field\");var l=u.p=S.mpNormalize(e.readString(k.Ber.Integer,!0));u.size=8*l.length-S.countZeros(l),e.readSequence(),u.a=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),u.b=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),e.peek()===k.Ber.BitString&&(u.s=e.readString(k.Ber.BitString,!0)),u.G=e.readString(k.Ber.OctetString,!0),_.strictEqual(u.G[0],4,\"uncompressed G is required\"),u.n=S.mpNormalize(e.readString(k.Ber.Integer,!0)),u.h=S.mpNormalize(e.readString(k.Ber.Integer,!0)),_.strictEqual(u.h[0],1,\"a cofactor=1 curve is required\"),r=Object.keys(j.curves);var f=Object.keys(u);for(i=0;i<r.length;++i){o=r[i],a=j.curves[o];for(var d=!0,h=0;h<f.length;++h){var m=f[h];if(void 0!==a[m])if(\"object\"==typeof a[m]&&void 0!==a[m].equals){if(!a[m].equals(u[m])){d=!1;break}}else if(n.isBuffer(a[m])){if(a[m].toString(\"binary\")!==u[m].toString(\"binary\")){d=!1;break}}else if(a[m]!==u[m]){d=!1;break}}if(d){t=o;break}}}return t}function f(e){var t=l(e);_.string(t,\"a known elliptic curve\"),e.readSequence(k.Ber.OctetString),e.readSequence();var r=o(e,\"version\");_.equal(r[0],1,\"unknown version of ECDSA key\");var i=e.readString(k.Ber.OctetString,!0);e.readSequence(161);var a=e.readString(k.Ber.BitString,!0);a=S.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:a},{name:\"d\",data:i}]};return new O(s)}function d(e){var t=l(e);_.string(t,\"a known elliptic curve\");var r=e.readString(k.Ber.BitString,!0);r=S.ecNormalize(r);var i={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:r}]};return new E(i)}function h(e,t){if(e.startSequence(),O.isPrivateKey(t)){var r=new n(1);r[0]=0,e.writeBuffer(r,k.Ber.Integer)}switch(e.startSequence(),t.type){case\"rsa\":e.writeOID(\"1.2.840.113549.1.1.1\"),O.isPrivateKey(t)?m(t,e):v(t,e);break;case\"dsa\":e.writeOID(\"1.2.840.10040.4.1\"),O.isPrivateKey(t)?g(t,e):y(t,e);break;case\"ecdsa\":e.writeOID(\"1.2.840.10045.2.1\"),O.isPrivateKey(t)?w(t,e):x(t,e);break;default:throw new Error(\"Unsupported key type: \"+t.type)}e.endSequence()}function m(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=0,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.Integer),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),e.part.dmodp&&e.part.dmodq||S.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,k.Ber.Integer),t.writeBuffer(e.part.dmodq.data,k.Ber.Integer),t.writeBuffer(e.part.iqmp.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function v(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function g(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.writeBuffer(e.part.x.data,k.Ber.Integer),t.endSequence()}function y(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,k.Ber.Integer),t.endSequence()}function b(e,t){var r=j.curves[e.curve];if(r.pkcs8oid)t.writeOID(r.pkcs8oid);else{t.startSequence();var i=new n(1);i.writeUInt8(1,0),t.writeBuffer(i,k.Ber.Integer),t.startSequence(),t.writeOID(\"1.2.840.10045.1.1\"),t.writeBuffer(r.p,k.Ber.Integer),t.endSequence(),t.startSequence();var o=r.p;0===o[0]&&(o=o.slice(1)),t.writeBuffer(o,k.Ber.OctetString),t.writeBuffer(r.b,k.Ber.OctetString),t.writeBuffer(r.s,k.Ber.BitString),t.endSequence(),t.writeBuffer(r.G,k.Ber.OctetString),t.writeBuffer(r.n,k.Ber.Integer);var a=r.h;a||(a=new n(1),a[0]=1),t.writeBuffer(a,k.Ber.Integer),t.endSequence()}}function x(e,t){b(e,t),t.endSequence();var n=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(n,k.Ber.BitString)}function w(e,t){b(e,t),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=1,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.OctetString),t.startSequence(161);var i=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,k.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:r,readPkcs8:a,write:i,writePkcs8:h,readECDSACurve:l,writeECDSACurve:b};var _=e(\"assert-plus\"),k=e(\"asn1\"),j=e(\"../algs\"),S=e(\"../utils\"),E=e(\"../key\"),O=e(\"../private-key\"),A=e(\"./pem\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,asn1:9,\"assert-plus\":10,buffer:void 0}],445:[function(e,t,n){(function(n){function r(e){if(s.string(e),\"ssh-dss\"===e)return\"dsa\";if(\"ssh-rsa\"===e)return\"rsa\";if(\"ssh-ed25519\"===e)return\"ed25519\";if(\"ssh-curve25519\"===e)return\"curve25519\";if(e.match(/^ecdsa-sha2-/))return\"ecdsa\";throw new Error(\"Unknown algorithm \"+e)}function i(e){if(s.object(e),\"dsa\"===e.type)return\"ssh-dss\";if(\"rsa\"===e.type)return\"ssh-rsa\";if(\"ed25519\"===e.type)return\"ssh-ed25519\";if(\"curve25519\"===e.type)return\"ssh-curve25519\";if(\"ecdsa\"===e.type)return\"ecdsa-sha2-\"+e.part.curve.data.toString();throw new Error(\"Unknown key type \"+e.type)}function o(e,t,i){\"string\"==typeof i&&(i=new n(i)),s.buffer(i,\"buf\");var o={},a=o.parts=[],d=new f({buffer:i}),h=d.readString();s.ok(!d.atEnd(),\"key must have at least one part\"),o.type=r(h);var m=c.info[o.type].parts.length;for(t&&\"private\"===t&&(m=c.privInfo[o.type].parts.length);!d.atEnd()&&a.length<m;)a.push(d.readPart());for(;!e&&!d.atEnd();)a.push(d.readPart());s.ok(a.length>=1,\"key must have at least one part\"),s.ok(e||d.atEnd(),\"leftover bytes at end of key\");var v=p,g=c.info[o.type];if(\"private\"!==t&&g.parts.length===a.length||(g=c.privInfo[o.type],v=l),s.strictEqual(g.parts.length,a.length),\"ecdsa\"===o.type){var y=/^ecdsa-sha2-(.+)$/.exec(h);s.ok(null!==y),s.strictEqual(y[1],a[0].data.toString())}for(var b=!0,x=0;x<g.parts.length;++x)if(a[x].name=g.parts[x],\"curve\"!==a[x].name&&g.normalize!==!1){var w=a[x],_=u.mpNormalize(w.data);_!==w.data&&(w.data=_,b=!1)}return b&&(o._rfc4253Cache=d.toBuffer()),e&&\"object\"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(o)}function a(e){s.object(e);var t,n=i(e),r=c.info[e.type];l.isPrivateKey(e)&&(r=c.privInfo[e.type]);var o=r.parts,a=new f({});for(a.writeString(n),t=0;t<o.length;++t){var p=e.part[o[t]].data;r.normalize!==!1&&(p=u.mpNormalize(p)),a.writeBuffer(p)}return a.toBuffer()}t.exports={read:o.bind(void 0,!1,void 0),readType:o.bind(void 0,!1),write:a,readPartial:o.bind(void 0,!0),readInternal:o,keyTypeToAlg:i,algToKeyType:r};var s=e(\"assert-plus\"),c=e(\"../algs\"),u=e(\"../utils\"),p=e(\"../key\"),l=e(\"../private-key\"),f=e(\"../ssh-buffer\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"assert-plus\":10,buffer:void 0}],446:[function(e,t,n){(function(n){function r(e){return u.read(e)}function i(e,t){t=new l({buffer:t});var n=t.readCString();a.strictEqual(n,f,\"bad magic string\");var r=t.readString(),i=t.readString();if(\"none\"!==r||\"none\"!==i)throw new Error(\"OpenSSH-format key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\");t.readString();var o=t.readInt();if(1!==o)throw new Error(\"OpenSSH-format key file contains multiple keys: this is unsupported.\");var s=t.readBuffer();if(\"public\"===e)return a.ok(t.atEnd(),\"excess bytes left after key\"),p.read(s);var c=t.readBuffer();a.ok(t.atEnd(),\"excess bytes left after key\"),t=new l({buffer:c});var u=t.readInt(),d=t.readInt();a.strictEqual(u,d,\"checkints do not match\");var h={},m=p.readInternal(h,\"private\",t.remainder());t.skip(h.consumed);var v=t.readString();return m.comment=v,m}function o(e){var t;t=c.isPrivateKey(e)?e.toPublic():e;var r;if(c.isPrivateKey(e)){r=new l({});var i=s.randomBytes(4).readUInt32BE(0);r.writeInt(i),r.writeInt(i),r.write(e.toBuffer(\"rfc4253\")),r.writeString(e.comment||\"\");for(var o=1;r._offset%8!==0;)r.writeChar(o++)}var a=new l({});a.writeCString(f),a.writeString(\"none\"),a.writeString(\"none\"),a.writeBuffer(new n(0)),a.writeInt(1),a.writeBuffer(t.toBuffer(\"rfc4253\")),r&&a.writeBuffer(r.toBuffer()),a=a.toBuffer();var u;u=c.isPrivateKey(e)?\"OPENSSH PRIVATE KEY\":\"OPENSSH PUBLIC KEY\";var p=a.toString(\"base64\"),d=p.length+p.length/70+18+16+2*u.length+10;a=new n(d);var h=0;h+=a.write(\"-----BEGIN \"+u+\"-----\\n\",h);for(var m=0;m<p.length;){var v=m+70;v>p.length&&(v=p.length),h+=a.write(p.slice(m,v),h),a[h++]=10,m=v}return h+=a.write(\"-----END \"+u+\"-----\\n\",h),a.slice(0,h)}t.exports={read:r,readSSHPrivate:i,write:o};var a=e(\"assert-plus\"),s=(e(\"asn1\"),e(\"../algs\"),e(\"../utils\"),e(\"crypto\")),c=(e(\"../key\"),e(\"../private-key\")),u=e(\"./pem\"),p=e(\"./rfc4253\"),l=e(\"../ssh-buffer\"),f=\"openssh-key-v1\"}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],447:[function(e,t,n){(function(n){function r(e){\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var t=e.trim().replace(/[\\\\\\r]/g,\"\"),r=t.match(c);r||(r=t.match(u)),o.ok(r,\"key must match regex\");var i,s=a.algToKeyType(r[1]),p=new n(r[2],\"base64\"),l={};if(r[4])try{i=a.read(p)}catch(f){r=t.match(u),o.ok(r,\"key must match regex\"),p=new n(r[2],\"base64\"),i=a.readInternal(l,\"public\",p)}else i=a.readInternal(l,\"public\",p);if(o.strictEqual(s,i.type),r[4]&&r[4].length>0)i.comment=r[4];else if(l.consumed){var d=r[2]+r[3],h=4*Math.ceil(l.consumed/3);d=d.slice(0,h-2).replace(/[^a-zA-Z0-9+\\/=]/g,\"\")+d.slice(h-2);var m=l.consumed%3;for(m>0&&\"=\"!==d.slice(h-1,h)&&h--;\"=\"===d.slice(h,h+1);)h++;var v=d.slice(h);v=v.replace(/[\\r\\n]/g,\" \").replace(/^\\s+/,\"\"),v.match(/^[a-zA-Z0-9]/)&&(i.comment=v)}return i}function i(e){if(o.object(e),!s.isKey(e))throw new Error(\"Must be a public key\");var t=[],r=a.keyTypeToAlg(e);t.push(r);var i=a.write(e);return t.push(i.toString(\"base64\")),e.comment&&t.push(e.comment),new n(t.join(\" \"))}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"./rfc4253\"),s=(e(\"../utils\"),e(\"../key\")),c=(e(\"../private-key\"),e(\"./ssh-private\"),/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/]+[=]*)([\\n \\t]+([^\\n]+))?$/),u=/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/ \\t\\n]+[=]*)(.*)$/}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./rfc4253\":445,\"./ssh-private\":446,\"assert-plus\":10,buffer:void 0}],448:[function(e,t,n){var r=e(\"./key\"),i=e(\"./fingerprint\"),o=e(\"./signature\"),a=e(\"./private-key\"),s=e(\"./errors\");t.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:a,parsePrivateKey:a.parse,FingerprintFormatError:s.FingerprintFormatError,InvalidAlgorithmError:s.InvalidAlgorithmError,KeyParseError:s.KeyParseError,SignatureParseError:s.SignatureParseError}},{\"./errors\":439,\"./fingerprint\":440,\"./key\":449,\"./private-key\":450,\"./signature\":451}],449:[function(e,t,n){(function(n){function r(e){o.object(e,\"options\"),o.arrayOfObject(e.parts,\"options.parts\"),o.string(e.type,\"options.type\"),o.optionalString(e.comment,\"options.comment\");var t=a.info[e.type];if(\"object\"!=typeof t)throw new m(e.type);for(var n={},r=0;r<e.parts.length;++r){var i=e.parts[r];n[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,\"ecdsa\"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=a.curves[c].size}else if(\"ed25519\"===this.type)s=256,this.curve=\"curve25519\";else{var u=this.part[t.sizePart];s=u.data.length,s=8*s-f.countZeros(u.data)}this.size=s}t.exports=r;var i,o=e(\"assert-plus\"),a=e(\"./algs\"),s=e(\"crypto\"),c=e(\"./fingerprint\"),u=e(\"./signature\"),p=e(\"./dhe\"),l=e(\"./errors\"),f=e(\"./utils\"),d=e(\"./private-key\");try{i=e(\"./ed-compat\")}catch(h){}var m=l.InvalidAlgorithmError,v=l.KeyParseError,g={};g.auto=e(\"./formats/auto\"),g.pem=e(\"./formats/pem\"),g.pkcs1=e(\"./formats/pkcs1\"),g.pkcs8=e(\"./formats/pkcs8\"),g.rfc4253=e(\"./formats/rfc4253\"),g.ssh=e(\"./formats/ssh\"),g[\"ssh-private\"]=e(\"./formats/ssh-private\"),g.openssh=g[\"ssh-private\"],r.formats=g,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"ssh\"),o.string(e,\"format\"),o.object(g[e],\"formats[format]\"),\"rfc4253\"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this)},r.prototype.toString=function(e){return this.toBuffer(e).toString()},r.prototype.hash=function(e){if(o.string(e,\"algorithm\"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer(\"rfc4253\")).digest();return\"string\"==typeof t&&(t=new n(t,\"binary\")),this._hashCache[e]=t,t},r.prototype.fingerprint=function(e){void 0===e&&(e=\"sha256\"),o.string(e,\"algorithm\");var t={hash:this.hash(e),algorithm:e};return new c(t)},r.prototype.defaultHashAlgorithm=function(){var e=\"sha1\";return\"rsa\"===this.type&&(e=\"sha256\"),\"dsa\"===this.type&&this.size>1024&&(e=\"sha256\"),\"ed25519\"===this.type&&(e=\"sha512\"),\"ecdsa\"===this.type&&(e=this.size<=256?\"sha256\":this.size<=384?\"sha384\":\"sha512\"),e},r.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Verifier(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,a;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=s.createVerify(r)}catch(c){a=c}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=s.createVerify(r)),o.ok(t,\"failed to create verifier\");var p=t.verify.bind(t),l=this.toBuffer(\"pkcs8\"),f=this;return t.verify=function(t,r){if(u.isSignature(t,[2,0]))return t.type!==f.type?!1:t.hashAlgorithm&&t.hashAlgorithm!==e?!1:p(l,t.toBuffer(\"asn1\"));if(\"string\"==typeof t||n.isBuffer(t))return p(l,t,r);throw u.isSignature(t,[1,0])?new Error(\"signature was created by too old a version of sshpk and cannot be verified\"):new TypeError(\"signature must be a string, Buffer, or Signature object\")},t},r.prototype.createDiffieHellman=function(){if(\"rsa\"===this.type)throw new Error(\"RSA keys do not support Diffie-Hellman\");return new p(this)},r.prototype.createDH=r.prototype.createDiffieHellman,r.parse=function(e,t,n){\"string\"!=typeof e&&o.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),o.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),o.object(g[t],\"formats[format]\");try{var r=g[t].read(e);return r instanceof d&&(r=r.toPublic()),r.comment||(r.comment=n),r}catch(i){throw new v(n,t,i)}},r.isKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,5],r._oldVersionDetect=function(e){return o.func(e.toBuffer),o.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./dhe\":437,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh\":447,\"./formats/ssh-private\":446,\"./private-key\":450,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],450:[function(e,t,n){(function(n){function r(e){a.object(e,\"options\"),h.call(this,e),this._pubCache=void 0}t.exports=r;var i,o,a=e(\"assert-plus\"),s=e(\"./algs\"),c=e(\"crypto\"),u=(e(\"./fingerprint\"),e(\"./signature\")),p=e(\"./errors\"),l=e(\"util\"),f=e(\"./utils\");try{i=e(\"./ed-compat\")}catch(d){}var h=e(\"./key\"),m=(p.InvalidAlgorithmError,p.KeyParseError),v={};v.auto=e(\"./formats/auto\"),v.pem=e(\"./formats/pem\"),v.pkcs1=e(\"./formats/pkcs1\"),v.pkcs8=e(\"./formats/pkcs8\"),v.rfc4253=e(\"./formats/rfc4253\"),v[\"ssh-private\"]=e(\"./formats/ssh-private\"),v.openssh=v[\"ssh-private\"],v.ssh=v[\"ssh-private\"],l.inherits(r,h),r.formats=v,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"pkcs1\"),a.string(e,\"format\"),a.object(v[e],\"formats[format]\"),v[e].write(this)},r.prototype.hash=function(e){return this.toPublic().hash(e)},r.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];t.push(this.part[r])}return this._pubCache=new h({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},r.prototype.derive=function(t,i){a.string(t,\"type\"),a.optionalNumber(i,\"size\");var s,c;if(\"ed25519\"===this.type&&\"curve25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.dh.publicKey(s),s=f.mpNormalize(n.concat([s,c])),new r({type:\"curve25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});if(\"curve25519\"===this.type&&\"ed25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.eddsa.publicKey(s.toString(\"binary\")),c=new n(c,\"binary\"),s=f.mpNormalize(n.concat([s,c])),new r({type:\"ed25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});throw new Error(\"Key derivation not supported from \"+this.type+\" to \"+t)},r.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},r.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Signer(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,o;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=c.createSign(r)}catch(s){o=s}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=c.createSign(r)),a.ok(t,\"failed to create verifier\");var p=t.sign.bind(t),l=this.toBuffer(\"pkcs1\"),f=this.type;return t.sign=function(){var t=p(l);return\"string\"==typeof t&&(t=new n(t,\"binary\")),t=u.parse(t,f,\"asn1\"),t.hashAlgorithm=e,t},t},r.parse=function(e,t,n){\"string\"!=typeof e&&a.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),a.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),a.object(v[t],\"formats[format]\");try{var i=v[t].read(e);return a.ok(i instanceof r,\"key is not a private key\"),i.comment||(i.comment=n),i}catch(o){throw new m(n,t,o)}},r.isPrivateKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,4],r._oldVersionDetect=function(e){return a.func(e.toPublic),a.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh-private\":446,\"./key\":449,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,jodid25519:165,util:void 0}],451:[function(e,t,n){(function(n){function r(e){c.object(e,\"options\"),c.arrayOfObject(e.parts,\"options.parts\"),c.string(e.type,\"options.type\");for(var t={},n=0;n<e.parts.length;++n){var r=e.parts[n];t[r.name]=r}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.parts=e.parts,this.part=t}function i(e,t,n,i,o){if(\"ssh\"===n){try{var a=new f({buffer:e}),s=a.readString()}catch(u){}if(s===o){var p=a.readPart();return c.ok(a.atEnd(),\"extra trailing bytes\"),p.name=\"sig\",i.parts.push(p),new r(i)}}return i.parts.push({name:\"sig\",data:e}),new r(i)}function o(e,t,n,i){var o=new l.BerReader(e);o.readSequence();var a=o.readString(l.Ber.Integer,!0),s=o.readString(l.Ber.Integer,!0);return i.parts.push({name:\"r\",data:p.mpNormalize(a)}),i.parts.push({name:\"s\",data:p.mpNormalize(s)}),new r(i)}function a(e,t,n,i){if(40!=e.length){var o=new f({buffer:e}),a=o.readBuffer();\"ssh-dss\"===a.toString(\"ascii\")&&(a=o.readBuffer()),c.ok(o.atEnd(),\"extra trailing bytes\"),c.strictEqual(a.length,40,\"invalid inner length\"),e=a}return i.parts.push({name:\"r\",data:e.slice(0,20)}),i.parts.push({name:\"s\",data:e.slice(20,40)}),new r(i)}function s(e,t,n,i){var o,a,s=new f({buffer:e}),u=s.readBuffer();return u.toString(\"ascii\").match(/^ecdsa-/)?(u=s.readBuffer(),c.ok(s.atEnd(),\"extra trailing bytes on outer\"),s=new f({buffer:u}),o=s.readPart()):o={data:u},a=s.readPart(),c.ok(s.atEnd(),\"extra trailing bytes\"),o.name=\"r\",a.name=\"s\",i.parts.push(o),i.parts.push(a),new r(i)}t.exports=r;var c=e(\"assert-plus\"),u=(e(\"./algs\"),e(\"crypto\"),e(\"./errors\")),p=e(\"./utils\"),l=e(\"asn1\"),f=e(\"./ssh-buffer\"),d=u.InvalidAlgorithmError,h=u.SignatureParseError;r.prototype.toBuffer=function(e){void 0===e&&(e=\"asn1\"),c.string(e,\"format\");var t;switch(this.type){case\"rsa\":case\"ed25519\":return\"ssh\"===e?(t=new f({}),t.writeString(\"ssh-\"+this.type),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case\"dsa\":case\"ecdsa\":var r,i;if(\"asn1\"===e){var o=new l.BerWriter;return o.startSequence(),r=p.mpNormalize(this.part.r.data),i=p.mpNormalize(this.part.s.data),o.writeBuffer(r,l.Ber.Integer),o.writeBuffer(i,l.Ber.Integer),o.endSequence(),o.buffer}if(\"ssh\"===e&&\"dsa\"===this.type)return t=new f({}),t.writeString(\"ssh-dss\"),r=this.part.r.data,0===r[0]&&(r=r.slice(1)),i=this.part.s.data,t.writeBuffer(n.concat([r,i])),t.toBuffer();if(\"ssh\"===e&&\"ecdsa\"===this.type){var a=new f({});r=this.part.r,0===r[0]&&(r=r.slice(1)),a.writePart(r),a.writePart(this.part.s),t=new f({});var s,u=8*this.part.r.data.length;return 256===u?s=\"nistp256\":384===u?s=\"nistp384\":528===u&&(s=\"nistp521\"),t.writeString(\"ecdsa-sha2-\"+s),t.writeBuffer(a.toBuffer()),t.toBuffer()}throw new Error(\"Invalid signature format\");default:throw new Error(\"Invalid signature data\")}},r.prototype.toString=function(e){return c.optionalString(e,\"format\"),this.toBuffer(e).toString(\"base64\")},r.parse=function(e,t,r){\"string\"==typeof e&&(e=new n(e,\"base64\")),c.buffer(e,\"data\"),c.string(r,\"format\"),c.string(t,\"type\");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,\"signature must not be empty\"),u.type){case\"rsa\":return i(e,t,r,u,\"ssh-rsa\");case\"ed25519\":return i(e,t,r,u,\"ssh-ed25519\");case\"dsa\":case\"ecdsa\":return\"asn1\"===r?o(e,t,r,u):\"dsa\"===u.type?a(e,t,r,u):s(e,t,r,u);default:throw new d(t)}}catch(p){if(p instanceof d)throw p;throw new h(t,r,p)}},r.isSignature=function(e,t){return p.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[2,1],r._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty(\"hashAlgorithm\")?[2,0]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./ssh-buffer\":452,\"./utils\":453,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],452:[function(e,t,n){(function(n){function r(e){i.object(e,\"options\"),void 0!==e.buffer&&i.buffer(e.buffer,\"options.buffer\"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new n(this._size),this._offset=0}t.exports=r;var i=e(\"assert-plus\");r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=new n(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,\"length out of bounds at +0x\"+this._offset.toString(16)+\" (data truncated?)\");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,\"c string does not terminate\");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readChar=function(){var e=this._buffer[this._offset++];return e},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(new n(e,\"utf8\"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length;\n}}).call(this,e(\"buffer\").Buffer)},{\"assert-plus\":10,buffer:void 0}],453:[function(e,t,n){(function(n){function r(e,t,n){if(null===e||\"object\"!=typeof e)return!1;if(void 0===n&&(n=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])return!0;for(var r=Object.getPrototypeOf(e),i=0;r.constructor.name!==t.name;)if(r=Object.getPrototypeOf(r),!r||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;return void 0===o&&(o=t._oldVersionDetect(e)),!(o[0]!=n[0]||o[1]<n[1])}function i(e,t,n,r){if(void 0===r&&(r=\"object\"),f.ok(e,r+\" must not be null\"),f.object(e,r+\" must be an object\"),void 0===n&&(n=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])){for(var i=Object.getPrototypeOf(e),o=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),f.ok(i&&++o<=h,r+\" must be a \"+t.name+\" instance\");f.strictEqual(i.constructor.name,t.name,r+\" must be a \"+t.name+\" instance\");var a=i._sshpkApiVersion;void 0===a&&(a=t._oldVersionDetect(e)),f.ok(a[0]==n[0]&&a[1]>=n[1],r+\" must be compatible with \"+t.name+\" klass version \"+n[0]+\".\"+n[1])}}function o(e){for(var t=0,n=8;t<e.length;){var r=1<<n;if((e[t]&r)===r)break;n--,0>n&&(t++,n=8)}return 8*t+(8-n)-1}function a(e,t){f.buffer(e),f.string(t);for(var n=[],r=0,i=0,o=0;o<e.length;++o)if(e[o]===t.charCodeAt(i)?++i:i=e[o]===t.charCodeAt(0)?1:0,i>=t.length){var a=o+1;n.push(e.slice(r,a-i)),r=a,i=0}return r<=e.length&&n.push(e.slice(r,e.length)),n}function s(e,t){if(f.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error(\"Compressed elliptic curve points are not supported\");if(4!==e[0])throw new Error(\"Not a valid elliptic curve point\");if(!t)return e}var r=new n(e.length+1);return r[0]=0,e.copy(r,1),r}function c(e){for(f.buffer(e);e.length>1&&0===e[0]&&0===(128&e[1]);)e=e.slice(1);if(128===(128&e[0])){var t=new n(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function u(e){var t=new n(e.toByteArray());return t=c(t)}function p(t,n,r){f.buffer(t),f.buffer(n),f.buffer(r);try{var i=e(\"jsbn\").BigInteger}catch(o){throw new Error(\"To load a PKCS#8 format DSA private key, the node jsbn library is required.\")}t=new i(t),n=new i(n),r=new i(r);var a=t.modPow(r,n),s=u(a);return s}function l(t){f.object(t),i(t,d,[1,1]);try{var n=e(\"jsbn\").BigInteger}catch(r){throw new Error(\"To write a PEM private key from this source, the node jsbn lib is required.\")}var o,a=new n(t.part.d.data);if(!t.part.dmodp){var s=new n(t.part.p.data),c=a.mod(s.subtract(1));o=u(c),t.part.dmodp={name:\"dmodp\",data:o},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var p=new n(t.part.q.data),l=a.mod(p.subtract(1));o=u(l),t.part.dmodq={name:\"dmodq\",data:o},t.parts.push(t.part.dmodq)}}t.exports={bufferSplit:a,addRSAMissing:l,calculateDSAPublic:p,mpNormalize:c,ecNormalize:s,countZeros:o,assertCompatible:i,isCompatible:r};var f=e(\"assert-plus\"),d=e(\"./private-key\"),h=3}).call(this,e(\"buffer\").Buffer)},{\"./private-key\":450,\"assert-plus\":10,buffer:void 0,jsbn:171}],454:[function(e,t,n){t.exports={100:\"Continue\",101:\"Switching Protocols\",102:\"Processing\",200:\"OK\",201:\"Created\",202:\"Accepted\",203:\"Non-Authoritative Information\",204:\"No Content\",205:\"Reset Content\",206:\"Partial Content\",207:\"Multi-Status\",208:\"Already Reported\",226:\"IM Used\",300:\"Multiple Choices\",301:\"Moved Permanently\",302:\"Found\",303:\"See Other\",304:\"Not Modified\",305:\"Use Proxy\",306:\"(Unused)\",307:\"Temporary Redirect\",308:\"Permanent Redirect\",400:\"Bad Request\",401:\"Unauthorized\",402:\"Payment Required\",403:\"Forbidden\",404:\"Not Found\",405:\"Method Not Allowed\",406:\"Not Acceptable\",407:\"Proxy Authentication Required\",408:\"Request Timeout\",409:\"Conflict\",410:\"Gone\",411:\"Length Required\",412:\"Precondition Failed\",413:\"Payload Too Large\",414:\"URI Too Long\",415:\"Unsupported Media Type\",416:\"Range Not Satisfiable\",417:\"Expectation Failed\",418:\"I'm a teapot\",422:\"Unprocessable Entity\",423:\"Locked\",424:\"Failed Dependency\",425:\"Unordered Collection\",426:\"Upgrade Required\",428:\"Precondition Required\",429:\"Too Many Requests\",431:\"Request Header Fields Too Large\",451:\"Unavailable For Legal Reasons\",500:\"Internal Server Error\",501:\"Not Implemented\",502:\"Bad Gateway\",503:\"Service Unavailable\",504:\"Gateway Timeout\",505:\"HTTP Version Not Supported\",506:\"Variant Also Negotiates\",507:\"Insufficient Storage\",508:\"Loop Detected\",509:\"Bandwidth Limit Exceeded\",510:\"Not Extended\",511:\"Network Authentication Required\"}},{}],455:[function(e,t,n){function r(e){if(\"number\"==typeof e){if(!r[e])throw new Error(\"invalid status code: \"+e);return e}if(\"string\"!=typeof e)throw new TypeError(\"code must be a number or string\");var t=parseInt(e,10);if(!isNaN(t)){if(!r[t])throw new Error(\"invalid status code: \"+t);return t}if(t=r[e.toLowerCase()],!t)throw new Error('invalid status message: \"'+e+'\"');return t}var i=e(\"./codes.json\");t.exports=r,r.codes=Object.keys(i).map(function(e){e=~~e;var t=i[e];return r[e]=t,r[t]=r[t.toLowerCase()]=e,e}),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},{\"./codes.json\":454}],456:[function(e,t,n){function r(e){if(e&&!c(e))throw new Error(\"Unknown encoding: \"+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function a(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e(\"buffer\").Buffer,c=s.isEncoding||function(e){switch(e&&e.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}},u=n.StringDecoder=function(e){switch(this.encoding=(e||\"utf8\").toLowerCase().replace(/[-_]/,\"\"),r(e),this.encoding){case\"utf8\":this.surrogateSize=3;break;case\"ucs2\":case\"utf16le\":this.surrogateSize=2,this.detectIncompleteChar=o;break;case\"base64\":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t=\"\";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return\"\";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=\"\"}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t=\"\";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:void 0}],457:[function(e,t,n){(function(n){function r(e,t){return this instanceof r?(s.call(this),null==e&&(e=\"utf8\"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?\"\":e,void(this.decoder=new i(this.toEncoding))):new r(e,t)}function i(e){switch(c.call(this,e),this.encoding){case\"base64\":this.write=o,this.alignedBuffer=new n(3),this.alignedBytes=0}}function o(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var r=new n(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(r,0,0,this.alignedBytes),e.copy(r,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,r.toString(this.encoding)}var a=e(\"util\"),s=e(\"stream\"),c=e(\"string_decoder\").StringDecoder;t.exports=r,t.exports.AlignedStringDecoder=i,a.inherits(r,s),r.prototype.write=function(e){if(!this.writable){var t=new Error(\"stream not writable\");return t.code=\"EPIPE\",this.emit(\"error\",t),!1}this.fromEncoding&&(n.isBuffer(e)&&(e=e.toString()),e=new n(e,this.fromEncoding));var r=this.decoder.write(e);return r.length&&this.emit(\"data\",r),!this.paused},r.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit(\"data\",e)}},r.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit(\"end\"),this.writable=this.readable=!1,this.destroy())},r.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit(\"close\")},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){this.paused&&this.emit(\"drain\"),this.paused=!1},a.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return\"\";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,stream:void 0,string_decoder:void 0,util:void 0}],458:[function(e,t,n){\"use strict\";function r(e){if(e){var t=e.split(E);if(t){for(var n=null,r=null,i=null,o=null,a=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var p;if(null===i&&(p=z.exec(u))){if(n=parseInt(p[1],10),r=parseInt(p[2],10),i=parseInt(p[3],10),n>23||r>59||i>59)return}else if(null===o&&(p=M.exec(u))){if(o=parseInt(p,10),1>o||o>31)return}else if(null===a&&(p=B.exec(u)))a=N[p[1].toLowerCase()];else if(null===s&&(p=R.exec(u),p&&(s=parseInt(p[0],10),s>=70&&99>=s?s+=1900:s>=0&&69>=s&&(s+=2e3),1601>s)))return}}if(null!==i&&null!==o&&null!==a&&null!==s)return new Date(Date.UTC(s,a,o,n,r,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:\"0\"+t;var n=e.getUTCHours();n=n>=10?n:\"0\"+n;var r=e.getUTCMinutes();r=r>=10?r:\"0\"+r;var i=e.getUTCSeconds();return i=i>=10?i:\"0\"+i,q[e.getUTCDay()]+\", \"+t+\" \"+D[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+n+\":\"+r+\":\"+i+\" GMT\"}function o(e){return null==e?null:(e=e.trim().replace(/^\\./,\"\"),g&&/[^\\u0001-\\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function a(e,t,n){if(null==e||null==t)return null;if(n!==!1&&(e=o(e),t=o(t)),e==t)return!0;if(y.isIP(e))return!1;var r=e.indexOf(t);return 0>=r?!1:e.length!==t.length+r?!1:\".\"===e.substr(r-1,1)}function s(e){if(!e||\"/\"!==e.substr(0,1))return\"/\";if(\"/\"===e)return e;var t=e.lastIndexOf(\"/\");return 0===t?\"/\":e.slice(0,t)}function c(e,t){t&&\"object\"==typeof t||(t={}),e=e.trim();var n=F.exec(e);n&&(e=e.slice(0,n.index));var i=e.indexOf(\";\"),o=t.loose?I:T,a=o.exec(-1===i?e:e.substr(0,i));if(a){var s=new h;if(a[1]?s.key=a[2].trim():s.key=\"\",s.value=a[3].trim(),!C.test(s.key)&&!C.test(s.value)){if(-1===i)return s;var c=e.slice(i).replace(/^\\s*;\\s*/,\"\").trim();if(0===c.length)return s;for(var u=c.split(/\\s*;\\s*/);u.length;){var p,l,f=u.shift(),d=f.indexOf(\"=\");switch(-1===d?(p=f,l=null):(p=f.substr(0,d),l=f.substr(d+1)),p=p.trim().toLowerCase(),l&&(l=l.trim()),p){case\"expires\":if(l){var m=r(l);m&&(s.expires=m)}break;case\"max-age\":if(l&&/^-?[0-9]+$/.test(l)){var v=parseInt(l,10);s.setMaxAge(v)}break;case\"domain\":if(l){var g=l.trim().replace(/^\\./,\"\");g&&(s.domain=g.toLowerCase())}break;case\"path\":s.path=l&&\"/\"===l[0]?l:null;break;case\"secure\":s.secure=!0;break;case\"httponly\":s.httpOnly=!0;break;default:s.extensions=s.extensions||[],s.extensions.push(f)}}return s}}}function u(e){var t;try{t=JSON.parse(e)}catch(n){return n}return t}function p(e){if(!e)return null;var t;if(\"string\"==typeof e){if(t=u(e),t instanceof Error)return null}else t=e;for(var n=new h,r=0;r<h.serializableProperties.length;r++){var i=h.serializableProperties[r];void 0!==t[i]&&t[i]!==h.prototype[i]&&(\"expires\"===i||\"creation\"===i||\"lastAccessed\"===i?null===t[i]?n[i]=null:n[i]=\"Infinity\"==t[i]?\"Infinity\":new Date(t[i]):n[i]=t[i])}return n}function l(e,t){var n=0,r=e.path?e.path.length:0,i=t.path?t.path.length:0;if(n=i-r,0!==n)return n;var o=e.creation?e.creation.getTime():L,a=t.creation?t.creation.getTime():L;return n=o-a,0!==n?n:n=e.creationIndex-t.creationIndex}function f(e){if(\"/\"===e)return[\"/\"];e.lastIndexOf(\"/\")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var n=e.lastIndexOf(\"/\");if(0===n)break;e=e.substr(0,n),t.push(e)}return t.push(\"/\"),t}function d(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(t){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&\"_\"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,\"creationIndex\",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function m(e,t){\"boolean\"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new _),this.store=e}function v(e){return function(){if(!this.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");var t,n,r=Array.prototype.slice.call(arguments);if(r.push(function(e,r){t=e,n=r}),this[e].apply(this,r),t)throw t;return n}}var g,y=e(\"net\"),b=e(\"url\").parse,x=e(\"./pubsuffix\"),w=e(\"./store\").Store,_=e(\"./memstore\").MemoryCookieStore,k=e(\"./pathMatch\").pathMatch,j=e(\"../package.json\").version;try{g=e(\"punycode\")}catch(S){console.warn(\"cookie: can't load punycode; won't use punycode for domain normalization\")}var E=/[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/,O=/[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]/,A=new RegExp(\"^\"+O.source+\"+$\"),C=/[\\x00-\\x1F]/,T=/^(([^=;]+))\\s*=\\s*([^\\n\\r\\0]*)/,I=/^((?:=)?([^=;]*)\\s*=\\s*)?([^\\n\\r\\0]*)/,P=/[\\x20-\\x3A\\x3C-\\x7E]+/,F=/;+$/,M=/^(\\d{1,2})[^\\d]*$/,z=/^(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*$/,B=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,N={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},D=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],q=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],R=/^(\\d{2}|\\d{4})$/,L=2147483647e3,$=0;h.cookiesCreated=0,h.parse=c,h.fromJSON=p,h.prototype.key=\"\",h.prototype.value=\"\",h.prototype.expires=\"Infinity\",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,\"creationIndex\",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||\"creationIndex\"===e||\"_\"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie=\"'+this.toString()+\"; hostOnly=\"+(null!=this.hostOnly?this.hostOnly:\"?\")+\"; aAge=\"+(this.lastAccessed?e-this.lastAccessed.getTime()+\"ms\":\"?\")+\"; cAge=\"+(this.creation?e-this.creation.getTime()+\"ms\":\"?\")+'\"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==h.prototype[r]&&(\"expires\"===r||\"creation\"===r||\"lastAccessed\"===r?null===this[r]?e[r]=null:e[r]=\"Infinity\"==this[r]?\"Infinity\":this[r].toISOString():\"maxAge\"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-(1/0)?this[r].toString():this[r]):this[r]!==h.prototype[r]&&(e[r]=this[r]))}return e},h.prototype.clone=function(){return p(this.toJSON())},h.prototype.validate=function(){if(!A.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||r(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!P.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\\.$/))return!1;var t=x.getPublicSuffix(e);if(null==t)return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=r(e)||\"Infinity\"},h.prototype.setMaxAge=function(e){e===1/0||e===-(1/0)?this.maxAge=e.toString():this.maxAge=e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=\"\"),\"\"===this.key?e:this.key+\"=\"+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(e+=this.expires instanceof Date?\"; Expires=\"+i(this.expires):\"; Expires=\"+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+=\"; Max-Age=\"+this.maxAge),this.domain&&!this.hostOnly&&(e+=\"; Domain=\"+this.domain),this.path&&(e+=\"; Path=\"+this.path),this.secure&&(e+=\"; Secure\"),this.httpOnly&&(e+=\"; HttpOnly\"),this.extensions&&this.extensions.forEach(function(t){e+=\"; \"+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=r(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-(1/0):1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(L):t==-(1/0)?new Date($):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:o(this.domain)},m.prototype.store=null,m.prototype.rejectPublicSuffixes=!0,m.prototype.enableLooseMode=!1;var U=[];U.push(\"setCookie\"),m.prototype.setCookie=function(e,t,n,r){function i(t,i){if(t)return r(t);var o=function(t){return t?r(t):void r(null,e)};if(i){if(n.http===!1&&i.httpOnly)return t=new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,v.updateCookie(i,e,o)}else e.creation=e.lastAccessed=f,v.putCookie(e,o)}var c,u=d(t);n instanceof Function&&(r=n,n={});var p=o(u.hostname),l=this.enableLooseMode;if(null!=n.loose&&(l=n.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return c=new Error(\"Cookie failed to parse\"),r(n.ignoreError?null:c);var f=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var m=x.getPublicSuffix(e.cdomain());if(null==m)return c=new Error(\"Cookie has domain set to a public suffix\"),r(n.ignoreError?null:c)}if(e.domain){if(!a(p,e.cdomain(),!1))return c=new Error(\"Cookie not in this host's domain. Cookie:\"+e.cdomain()+\" Request:\"+p),r(n.ignoreError?null:c);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=p;if(e.path&&\"/\"===e.path[0]||(e.path=s(u.pathname),e.pathIsDefault=!0),n.http===!1&&e.httpOnly)return c=new Error(\"Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:c);var v=this.store;v.updateCookie||(v.updateCookie=function(e,t,n){this.putCookie(t,n)}),v.findCookie(e.domain,e.path,e.key,i)},U.push(\"getCookies\"),m.prototype.getCookies=function(e,t,n){function r(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!a(s,e.domain,!1))return!1;return m||k(c,e.path)?e.secure&&!u?!1:e.httpOnly&&!p?!1:h&&e.expiryTime()<=f?(v.removeCookie(e.domain,e.path,e.key,function(){}),!1):!0:!1}var i=d(e);t instanceof Function&&(n=t,t={});var s=o(i.hostname),c=i.pathname||\"/\",u=t.secure;null!=u||!i.protocol||\"https:\"!=i.protocol&&\"wss:\"!=i.protocol||(u=!0);var p=t.http;null==p&&(p=!0);var f=t.now||Date.now(),h=t.expire!==!1,m=!!t.allPaths,v=this.store;v.findCookies(s,m?null:c,function(e,i){if(e)return n(e);i=i.filter(r),t.sort!==!1&&(i=i.sort(l));var o=new Date;i.forEach(function(e){e.lastAccessed=o}),n(null,i)})},U.push(\"getCookieString\"),m.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.sort(l).map(function(e){return e.cookieString()}).join(\"; \"))};e.push(n),this.getCookies.apply(this,e)},U.push(\"getSetCookieStrings\"),m.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.map(function(e){return e.toString()}))};e.push(n),this.getCookies.apply(this,e)},U.push(\"serialize\"),m.prototype.serialize=function(e){var t=this.store.constructor.name;\"Object\"===t&&(t=null);var n={version:\"tough-cookie@\"+j,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};return this.store.getAllCookies&&\"function\"==typeof this.store.getAllCookies?void this.store.getAllCookies(function(t,r){return t?e(t):(n.cookies=r.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,n))}):e(new Error(\"store does not support getAllCookies and cannot be serialized\"))},m.prototype.toJSON=function(){return this.serializeSync()},U.push(\"_importCookies\"),m.prototype._importCookies=function(e,t){function n(e){if(e)return t(e);if(!i.length)return t(e,r);var o;try{o=p(i.shift())}catch(a){return t(a)}return null===o?n(null):void r.store.putCookie(o,n)}var r=this,i=e.cookies;return i&&Array.isArray(i)?void n():t(new Error(\"serialized jar has no cookies array\"))},m.deserialize=function(e,t,n){3!==arguments.length&&(n=t,t=null);var r;if(\"string\"==typeof e){if(r=u(e),r instanceof Error)return n(r)}else r=e;var i=new m(t,r.rejectPublicSuffixes);i._importCookies(r,function(e){return e?n(e):void n(null,i)})},m.deserializeSync=function(e,t){var n=\"string\"==typeof e?JSON.parse(e):e,r=new m(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");return r._importCookiesSync(n),r},m.fromJSON=m.deserializeSync,U.push(\"clone\"),m.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(n,r){return n?t(n):void m.deserialize(e,r,t)})},U.forEach(function(e){m.prototype[e+\"Sync\"]=v(e)}),t.exports={CookieJar:m,Cookie:h,Store:w,MemoryCookieStore:_,parseDate:r,formatDate:i,parse:c,fromJSON:p,domainMatch:a,defaultPath:s,pathMatch:k,getPublicSuffix:x.getPublicSuffix,cookieCompare:l,permuteDomain:e(\"./permuteDomain\").permuteDomain,permutePath:f,canonicalDomain:o}},{\"../package.json\":464,\"./memstore\":459,\"./pathMatch\":460,\"./permuteDomain\":461,\"./pubsuffix\":462,\"./store\":463,net:void 0,punycode:void 0,url:void 0}],459:[function(e,t,n){\"use strict\";function r(){i.call(this),this.idx={}}var i=e(\"./store\").Store,o=e(\"./permuteDomain\").permuteDomain,a=e(\"./pathMatch\").pathMatch,s=e(\"util\");s.inherits(r,i),n.MemoryCookieStore=r,r.prototype.idx=null,r.prototype.synchronous=!0,r.prototype.inspect=function(){return\"{ idx: \"+s.inspect(this.idx,!1,2)+\" }\"},r.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},r.prototype.findCookies=function(e,t,n){var r=[];if(!e)return n(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(n){if(a(t,n)){var i=e[n];for(var o in i)r.push(i[o])}})}:function(e){for(var t in e){var n=e[t];for(var i in n)r.push(n[i])}};var s=o(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),n(null,r)},r.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},r.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},r.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},r.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},r.prototype.getAllCookies=function(e){var t=[],n=this.idx,r=Object.keys(n);r.forEach(function(e){var r=Object.keys(n[e]);r.forEach(function(r){var i=Object.keys(n[e][r]);i.forEach(function(i){null!==i&&t.push(n[e][r][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{\"./pathMatch\":460,\"./permuteDomain\":461,\"./store\":463,util:void 0}],460:[function(e,t,n){\"use strict\";function r(e,t){if(t===e)return!0;var n=e.indexOf(t);if(0===n){if(\"/\"===t.substr(-1))return!0;if(\"/\"===e.substr(t.length,1))return!0}return!1}n.pathMatch=r},{}],461:[function(e,t,n){\"use strict\";function r(e){var t=i.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)),r=n.split(\".\").reverse(),o=t,a=[o];r.length;)o=r.shift()+\".\"+o,a.push(o);return a}var i=e(\"./pubsuffix\");n.permuteDomain=r},{\"./pubsuffix\":462}],462:[function(e,t,n){\"use strict\";var r=e(\"punycode\");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\\./))return null;var t=r.toASCII(e),n=!1;if(t!==e&&(e=t,n=!0),i[e])return null;e=e.toLowerCase();for(var o=e.split(\".\").reverse(),a=\"\",s=0,c=0;c<o.length;c++){var u=o[c],p=\"*\"+a,l=u+a;i[p]?(s=c+1,i[l]===!1&&s--):i[l]&&(s=c+1),a=\".\"+l}if(i[\"*\"+a])return null;if(s=s||1,o.length>s){var f=o.slice(0,s+1).reverse().join(\".\");return n?r.toUnicode(f):f}return null};var i=t.exports.index=Object.freeze({ac:!0,\"com.ac\":!0,\"edu.ac\":!0,\"gov.ac\":!0,\"net.ac\":!0,\"mil.ac\":!0,\"org.ac\":!0,ad:!0,\"nom.ad\":!0,ae:!0,\"co.ae\":!0,\"net.ae\":!0,\"org.ae\":!0,\"sch.ae\":!0,\"ac.ae\":!0,\"gov.ae\":!0,\"mil.ae\":!0,aero:!0,\"accident-investigation.aero\":!0,\"accident-prevention.aero\":!0,\"aerobatic.aero\":!0,\"aeroclub.aero\":!0,\"aerodrome.aero\":!0,\"agents.aero\":!0,\"aircraft.aero\":!0,\"airline.aero\":!0,\"airport.aero\":!0,\"air-surveillance.aero\":!0,\"airtraffic.aero\":!0,\"air-traffic-control.aero\":!0,\"ambulance.aero\":!0,\"amusement.aero\":!0,\"association.aero\":!0,\"author.aero\":!0,\"ballooning.aero\":!0,\"broker.aero\":!0,\"caa.aero\":!0,\"cargo.aero\":!0,\"catering.aero\":!0,\"certification.aero\":!0,\"championship.aero\":!0,\"charter.aero\":!0,\"civilaviation.aero\":!0,\"club.aero\":!0,\"conference.aero\":!0,\"consultant.aero\":!0,\"consulting.aero\":!0,\"control.aero\":!0,\"council.aero\":!0,\"crew.aero\":!0,\"design.aero\":!0,\"dgca.aero\":!0,\"educator.aero\":!0,\"emergency.aero\":!0,\"engine.aero\":!0,\"engineer.aero\":!0,\"entertainment.aero\":!0,\"equipment.aero\":!0,\"exchange.aero\":!0,\"express.aero\":!0,\"federation.aero\":!0,\"flight.aero\":!0,\"freight.aero\":!0,\"fuel.aero\":!0,\"gliding.aero\":!0,\"government.aero\":!0,\"groundhandling.aero\":!0,\"group.aero\":!0,\"hanggliding.aero\":!0,\"homebuilt.aero\":!0,\"insurance.aero\":!0,\"journal.aero\":!0,\"journalist.aero\":!0,\"leasing.aero\":!0,\"logistics.aero\":!0,\"magazine.aero\":!0,\"maintenance.aero\":!0,\"marketplace.aero\":!0,\"media.aero\":!0,\"microlight.aero\":!0,\"modelling.aero\":!0,\"navigation.aero\":!0,\"parachuting.aero\":!0,\"paragliding.aero\":!0,\"passenger-association.aero\":!0,\"pilot.aero\":!0,\"press.aero\":!0,\"production.aero\":!0,\"recreation.aero\":!0,\"repbody.aero\":!0,\"res.aero\":!0,\"research.aero\":!0,\"rotorcraft.aero\":!0,\"safety.aero\":!0,\"scientist.aero\":!0,\"services.aero\":!0,\"show.aero\":!0,\"skydiving.aero\":!0,\"software.aero\":!0,\"student.aero\":!0,\"taxi.aero\":!0,\"trader.aero\":!0,\"trading.aero\":!0,\"trainer.aero\":!0,\"union.aero\":!0,\"workinggroup.aero\":!0,\"works.aero\":!0,af:!0,\"gov.af\":!0,\"com.af\":!0,\"org.af\":!0,\"net.af\":!0,\"edu.af\":!0,ag:!0,\"com.ag\":!0,\"org.ag\":!0,\"net.ag\":!0,\"co.ag\":!0,\"nom.ag\":!0,ai:!0,\"off.ai\":!0,\"com.ai\":!0,\"net.ai\":!0,\"org.ai\":!0,al:!0,\"com.al\":!0,\"edu.al\":!0,\"gov.al\":!0,\"mil.al\":!0,\"net.al\":!0,\"org.al\":!0,am:!0,an:!0,\"com.an\":!0,\"net.an\":!0,\"org.an\":!0,\"edu.an\":!0,ao:!0,\"ed.ao\":!0,\"gv.ao\":!0,\"og.ao\":!0,\"co.ao\":!0,\"pb.ao\":!0,\"it.ao\":!0,aq:!0,ar:!0,\"com.ar\":!0,\"edu.ar\":!0,\"gob.ar\":!0,\"gov.ar\":!0,\"int.ar\":!0,\"mil.ar\":!0,\"net.ar\":!0,\"org.ar\":!0,\"tur.ar\":!0,arpa:!0,\"e164.arpa\":!0,\"in-addr.arpa\":!0,\"ip6.arpa\":!0,\"iris.arpa\":!0,\"uri.arpa\":!0,\"urn.arpa\":!0,as:!0,\"gov.as\":!0,asia:!0,at:!0,\"ac.at\":!0,\"co.at\":!0,\"gv.at\":!0,\"or.at\":!0,au:!0,\"com.au\":!0,\"net.au\":!0,\"org.au\":!0,\"edu.au\":!0,\"gov.au\":!0,\"asn.au\":!0,\"id.au\":!0,\"info.au\":!0,\"conf.au\":!0,\"oz.au\":!0,\"act.au\":!0,\"nsw.au\":!0,\"nt.au\":!0,\"qld.au\":!0,\"sa.au\":!0,\"tas.au\":!0,\"vic.au\":!0,\"wa.au\":!0,\"act.edu.au\":!0,\"nsw.edu.au\":!0,\"nt.edu.au\":!0,\"qld.edu.au\":!0,\"sa.edu.au\":!0,\"tas.edu.au\":!0,\"vic.edu.au\":!0,\"wa.edu.au\":!0,\"qld.gov.au\":!0,\"sa.gov.au\":!0,\"tas.gov.au\":!0,\"vic.gov.au\":!0,\"wa.gov.au\":!0,aw:!0,\"com.aw\":!0,ax:!0,az:!0,\"com.az\":!0,\"net.az\":!0,\"int.az\":!0,\"gov.az\":!0,\"org.az\":!0,\"edu.az\":!0,\"info.az\":!0,\"pp.az\":!0,\"mil.az\":!0,\"name.az\":!0,\"pro.az\":!0,\"biz.az\":!0,ba:!0,\"org.ba\":!0,\"net.ba\":!0,\"edu.ba\":!0,\"gov.ba\":!0,\"mil.ba\":!0,\"unsa.ba\":!0,\"unbi.ba\":!0,\"co.ba\":!0,\"com.ba\":!0,\"rs.ba\":!0,bb:!0,\"biz.bb\":!0,\"co.bb\":!0,\"com.bb\":!0,\"edu.bb\":!0,\"gov.bb\":!0,\"info.bb\":!0,\"net.bb\":!0,\"org.bb\":!0,\"store.bb\":!0,\"tv.bb\":!0,\"*.bd\":!0,be:!0,\"ac.be\":!0,bf:!0,\"gov.bf\":!0,bg:!0,\"a.bg\":!0,\"b.bg\":!0,\"c.bg\":!0,\"d.bg\":!0,\"e.bg\":!0,\"f.bg\":!0,\"g.bg\":!0,\"h.bg\":!0,\"i.bg\":!0,\"j.bg\":!0,\"k.bg\":!0,\"l.bg\":!0,\"m.bg\":!0,\"n.bg\":!0,\"o.bg\":!0,\"p.bg\":!0,\"q.bg\":!0,\"r.bg\":!0,\"s.bg\":!0,\"t.bg\":!0,\"u.bg\":!0,\"v.bg\":!0,\"w.bg\":!0,\"x.bg\":!0,\"y.bg\":!0,\"z.bg\":!0,\"0.bg\":!0,\"1.bg\":!0,\"2.bg\":!0,\"3.bg\":!0,\"4.bg\":!0,\"5.bg\":!0,\"6.bg\":!0,\"7.bg\":!0,\"8.bg\":!0,\"9.bg\":!0,bh:!0,\"com.bh\":!0,\"edu.bh\":!0,\"net.bh\":!0,\"org.bh\":!0,\"gov.bh\":!0,bi:!0,\"co.bi\":!0,\"com.bi\":!0,\"edu.bi\":!0,\"or.bi\":!0,\"org.bi\":!0,biz:!0,bj:!0,\"asso.bj\":!0,\"barreau.bj\":!0,\"gouv.bj\":!0,bm:!0,\"com.bm\":!0,\"edu.bm\":!0,\"gov.bm\":!0,\"net.bm\":!0,\"org.bm\":!0,\"*.bn\":!0,bo:!0,\"com.bo\":!0,\"edu.bo\":!0,\"gov.bo\":!0,\"gob.bo\":!0,\"int.bo\":!0,\"org.bo\":!0,\"net.bo\":!0,\"mil.bo\":!0,\"tv.bo\":!0,br:!0,\"adm.br\":!0,\"adv.br\":!0,\"agr.br\":!0,\"am.br\":!0,\"arq.br\":!0,\"art.br\":!0,\"ato.br\":!0,\"b.br\":!0,\"bio.br\":!0,\"blog.br\":!0,\"bmd.br\":!0,\"cim.br\":!0,\"cng.br\":!0,\"cnt.br\":!0,\"com.br\":!0,\"coop.br\":!0,\"ecn.br\":!0,\"eco.br\":!0,\"edu.br\":!0,\"emp.br\":!0,\"eng.br\":!0,\"esp.br\":!0,\"etc.br\":!0,\"eti.br\":!0,\"far.br\":!0,\"flog.br\":!0,\"fm.br\":!0,\"fnd.br\":!0,\"fot.br\":!0,\"fst.br\":!0,\"g12.br\":!0,\"ggf.br\":!0,\"gov.br\":!0,\"imb.br\":!0,\"ind.br\":!0,\"inf.br\":!0,\"jor.br\":!0,\"jus.br\":!0,\"leg.br\":!0,\"lel.br\":!0,\"mat.br\":!0,\"med.br\":!0,\"mil.br\":!0,\"mp.br\":!0,\"mus.br\":!0,\"net.br\":!0,\"*.nom.br\":!0,\"not.br\":!0,\"ntr.br\":!0,\"odo.br\":!0,\"org.br\":!0,\"ppg.br\":!0,\"pro.br\":!0,\"psc.br\":!0,\"psi.br\":!0,\"qsl.br\":!0,\"radio.br\":!0,\"rec.br\":!0,\"slg.br\":!0,\"srv.br\":!0,\"taxi.br\":!0,\"teo.br\":!0,\"tmp.br\":!0,\"trd.br\":!0,\"tur.br\":!0,\"tv.br\":!0,\"vet.br\":!0,\"vlog.br\":!0,\"wiki.br\":!0,\"zlg.br\":!0,bs:!0,\"com.bs\":!0,\"net.bs\":!0,\"org.bs\":!0,\"edu.bs\":!0,\"gov.bs\":!0,bt:!0,\"com.bt\":!0,\"edu.bt\":!0,\"gov.bt\":!0,\"net.bt\":!0,\"org.bt\":!0,bv:!0,bw:!0,\"co.bw\":!0,\"org.bw\":!0,by:!0,\"gov.by\":!0,\"mil.by\":!0,\"com.by\":!0,\"of.by\":!0,bz:!0,\"com.bz\":!0,\"net.bz\":!0,\"org.bz\":!0,\"edu.bz\":!0,\"gov.bz\":!0,ca:!0,\"ab.ca\":!0,\"bc.ca\":!0,\"mb.ca\":!0,\"nb.ca\":!0,\"nf.ca\":!0,\"nl.ca\":!0,\"ns.ca\":!0,\"nt.ca\":!0,\"nu.ca\":!0,\"on.ca\":!0,\"pe.ca\":!0,\"qc.ca\":!0,\"sk.ca\":!0,\"yk.ca\":!0,\"gc.ca\":!0,cat:!0,cc:!0,cd:!0,\"gov.cd\":!0,cf:!0,cg:!0,ch:!0,ci:!0,\"org.ci\":!0,\"or.ci\":!0,\"com.ci\":!0,\"co.ci\":!0,\"edu.ci\":!0,\"ed.ci\":!0,\"ac.ci\":!0,\"net.ci\":!0,\"go.ci\":!0,\"asso.ci\":!0,\"xn--aroport-bya.ci\":!0,\"int.ci\":!0,\"presse.ci\":!0,\"md.ci\":!0,\"gouv.ci\":!0,\"*.ck\":!0,\"www.ck\":!1,cl:!0,\"gov.cl\":!0,\"gob.cl\":!0,\"co.cl\":!0,\"mil.cl\":!0,cm:!0,\"co.cm\":!0,\"com.cm\":!0,\"gov.cm\":!0,\"net.cm\":!0,cn:!0,\"ac.cn\":!0,\"com.cn\":!0,\"edu.cn\":!0,\"gov.cn\":!0,\"net.cn\":!0,\"org.cn\":!0,\"mil.cn\":!0,\"xn--55qx5d.cn\":!0,\"xn--io0a7i.cn\":!0,\"xn--od0alg.cn\":!0,\"ah.cn\":!0,\"bj.cn\":!0,\"cq.cn\":!0,\"fj.cn\":!0,\"gd.cn\":!0,\"gs.cn\":!0,\"gz.cn\":!0,\"gx.cn\":!0,\"ha.cn\":!0,\"hb.cn\":!0,\"he.cn\":!0,\"hi.cn\":!0,\"hl.cn\":!0,\"hn.cn\":!0,\"jl.cn\":!0,\"js.cn\":!0,\"jx.cn\":!0,\"ln.cn\":!0,\"nm.cn\":!0,\"nx.cn\":!0,\"qh.cn\":!0,\"sc.cn\":!0,\"sd.cn\":!0,\"sh.cn\":!0,\"sn.cn\":!0,\"sx.cn\":!0,\"tj.cn\":!0,\"xj.cn\":!0,\"xz.cn\":!0,\"yn.cn\":!0,\"zj.cn\":!0,\"hk.cn\":!0,\"mo.cn\":!0,\"tw.cn\":!0,co:!0,\"arts.co\":!0,\"com.co\":!0,\"edu.co\":!0,\"firm.co\":!0,\"gov.co\":!0,\"info.co\":!0,\"int.co\":!0,\"mil.co\":!0,\"net.co\":!0,\"nom.co\":!0,\"org.co\":!0,\"rec.co\":!0,\"web.co\":!0,com:!0,coop:!0,cr:!0,\"ac.cr\":!0,\"co.cr\":!0,\"ed.cr\":!0,\"fi.cr\":!0,\"go.cr\":!0,\"or.cr\":!0,\"sa.cr\":!0,cu:!0,\"com.cu\":!0,\"edu.cu\":!0,\"org.cu\":!0,\"net.cu\":!0,\"gov.cu\":!0,\"inf.cu\":!0,cv:!0,cw:!0,\"com.cw\":!0,\"edu.cw\":!0,\"net.cw\":!0,\"org.cw\":!0,cx:!0,\"gov.cx\":!0,\"ac.cy\":!0,\"biz.cy\":!0,\"com.cy\":!0,\"ekloges.cy\":!0,\"gov.cy\":!0,\n\"ltd.cy\":!0,\"name.cy\":!0,\"net.cy\":!0,\"org.cy\":!0,\"parliament.cy\":!0,\"press.cy\":!0,\"pro.cy\":!0,\"tm.cy\":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,\"com.dm\":!0,\"net.dm\":!0,\"org.dm\":!0,\"edu.dm\":!0,\"gov.dm\":!0,\"do\":!0,\"art.do\":!0,\"com.do\":!0,\"edu.do\":!0,\"gob.do\":!0,\"gov.do\":!0,\"mil.do\":!0,\"net.do\":!0,\"org.do\":!0,\"sld.do\":!0,\"web.do\":!0,dz:!0,\"com.dz\":!0,\"org.dz\":!0,\"net.dz\":!0,\"gov.dz\":!0,\"edu.dz\":!0,\"asso.dz\":!0,\"pol.dz\":!0,\"art.dz\":!0,ec:!0,\"com.ec\":!0,\"info.ec\":!0,\"net.ec\":!0,\"fin.ec\":!0,\"k12.ec\":!0,\"med.ec\":!0,\"pro.ec\":!0,\"org.ec\":!0,\"edu.ec\":!0,\"gov.ec\":!0,\"gob.ec\":!0,\"mil.ec\":!0,edu:!0,ee:!0,\"edu.ee\":!0,\"gov.ee\":!0,\"riik.ee\":!0,\"lib.ee\":!0,\"med.ee\":!0,\"com.ee\":!0,\"pri.ee\":!0,\"aip.ee\":!0,\"org.ee\":!0,\"fie.ee\":!0,eg:!0,\"com.eg\":!0,\"edu.eg\":!0,\"eun.eg\":!0,\"gov.eg\":!0,\"mil.eg\":!0,\"name.eg\":!0,\"net.eg\":!0,\"org.eg\":!0,\"sci.eg\":!0,\"*.er\":!0,es:!0,\"com.es\":!0,\"nom.es\":!0,\"org.es\":!0,\"gob.es\":!0,\"edu.es\":!0,et:!0,\"com.et\":!0,\"gov.et\":!0,\"org.et\":!0,\"edu.et\":!0,\"biz.et\":!0,\"name.et\":!0,\"info.et\":!0,\"net.et\":!0,eu:!0,fi:!0,\"aland.fi\":!0,\"*.fj\":!0,\"*.fk\":!0,fm:!0,fo:!0,fr:!0,\"com.fr\":!0,\"asso.fr\":!0,\"nom.fr\":!0,\"prd.fr\":!0,\"presse.fr\":!0,\"tm.fr\":!0,\"aeroport.fr\":!0,\"assedic.fr\":!0,\"avocat.fr\":!0,\"avoues.fr\":!0,\"cci.fr\":!0,\"chambagri.fr\":!0,\"chirurgiens-dentistes.fr\":!0,\"experts-comptables.fr\":!0,\"geometre-expert.fr\":!0,\"gouv.fr\":!0,\"greta.fr\":!0,\"huissier-justice.fr\":!0,\"medecin.fr\":!0,\"notaires.fr\":!0,\"pharmacien.fr\":!0,\"port.fr\":!0,\"veterinaire.fr\":!0,ga:!0,gb:!0,gd:!0,ge:!0,\"com.ge\":!0,\"edu.ge\":!0,\"gov.ge\":!0,\"org.ge\":!0,\"mil.ge\":!0,\"net.ge\":!0,\"pvt.ge\":!0,gf:!0,gg:!0,\"co.gg\":!0,\"net.gg\":!0,\"org.gg\":!0,gh:!0,\"com.gh\":!0,\"edu.gh\":!0,\"gov.gh\":!0,\"org.gh\":!0,\"mil.gh\":!0,gi:!0,\"com.gi\":!0,\"ltd.gi\":!0,\"gov.gi\":!0,\"mod.gi\":!0,\"edu.gi\":!0,\"org.gi\":!0,gl:!0,\"co.gl\":!0,\"com.gl\":!0,\"edu.gl\":!0,\"net.gl\":!0,\"org.gl\":!0,gm:!0,gn:!0,\"ac.gn\":!0,\"com.gn\":!0,\"edu.gn\":!0,\"gov.gn\":!0,\"org.gn\":!0,\"net.gn\":!0,gov:!0,gp:!0,\"com.gp\":!0,\"net.gp\":!0,\"mobi.gp\":!0,\"edu.gp\":!0,\"org.gp\":!0,\"asso.gp\":!0,gq:!0,gr:!0,\"com.gr\":!0,\"edu.gr\":!0,\"net.gr\":!0,\"org.gr\":!0,\"gov.gr\":!0,gs:!0,gt:!0,\"com.gt\":!0,\"edu.gt\":!0,\"gob.gt\":!0,\"ind.gt\":!0,\"mil.gt\":!0,\"net.gt\":!0,\"org.gt\":!0,\"*.gu\":!0,gw:!0,gy:!0,\"co.gy\":!0,\"com.gy\":!0,\"net.gy\":!0,hk:!0,\"com.hk\":!0,\"edu.hk\":!0,\"gov.hk\":!0,\"idv.hk\":!0,\"net.hk\":!0,\"org.hk\":!0,\"xn--55qx5d.hk\":!0,\"xn--wcvs22d.hk\":!0,\"xn--lcvr32d.hk\":!0,\"xn--mxtq1m.hk\":!0,\"xn--gmqw5a.hk\":!0,\"xn--ciqpn.hk\":!0,\"xn--gmq050i.hk\":!0,\"xn--zf0avx.hk\":!0,\"xn--io0a7i.hk\":!0,\"xn--mk0axi.hk\":!0,\"xn--od0alg.hk\":!0,\"xn--od0aq3b.hk\":!0,\"xn--tn0ag.hk\":!0,\"xn--uc0atv.hk\":!0,\"xn--uc0ay4a.hk\":!0,hm:!0,hn:!0,\"com.hn\":!0,\"edu.hn\":!0,\"org.hn\":!0,\"net.hn\":!0,\"mil.hn\":!0,\"gob.hn\":!0,hr:!0,\"iz.hr\":!0,\"from.hr\":!0,\"name.hr\":!0,\"com.hr\":!0,ht:!0,\"com.ht\":!0,\"shop.ht\":!0,\"firm.ht\":!0,\"info.ht\":!0,\"adult.ht\":!0,\"net.ht\":!0,\"pro.ht\":!0,\"org.ht\":!0,\"med.ht\":!0,\"art.ht\":!0,\"coop.ht\":!0,\"pol.ht\":!0,\"asso.ht\":!0,\"edu.ht\":!0,\"rel.ht\":!0,\"gouv.ht\":!0,\"perso.ht\":!0,hu:!0,\"co.hu\":!0,\"info.hu\":!0,\"org.hu\":!0,\"priv.hu\":!0,\"sport.hu\":!0,\"tm.hu\":!0,\"2000.hu\":!0,\"agrar.hu\":!0,\"bolt.hu\":!0,\"casino.hu\":!0,\"city.hu\":!0,\"erotica.hu\":!0,\"erotika.hu\":!0,\"film.hu\":!0,\"forum.hu\":!0,\"games.hu\":!0,\"hotel.hu\":!0,\"ingatlan.hu\":!0,\"jogasz.hu\":!0,\"konyvelo.hu\":!0,\"lakas.hu\":!0,\"media.hu\":!0,\"news.hu\":!0,\"reklam.hu\":!0,\"sex.hu\":!0,\"shop.hu\":!0,\"suli.hu\":!0,\"szex.hu\":!0,\"tozsde.hu\":!0,\"utazas.hu\":!0,\"video.hu\":!0,id:!0,\"ac.id\":!0,\"biz.id\":!0,\"co.id\":!0,\"desa.id\":!0,\"go.id\":!0,\"mil.id\":!0,\"my.id\":!0,\"net.id\":!0,\"or.id\":!0,\"sch.id\":!0,\"web.id\":!0,ie:!0,\"gov.ie\":!0,il:!0,\"ac.il\":!0,\"co.il\":!0,\"gov.il\":!0,\"idf.il\":!0,\"k12.il\":!0,\"muni.il\":!0,\"net.il\":!0,\"org.il\":!0,im:!0,\"ac.im\":!0,\"co.im\":!0,\"com.im\":!0,\"ltd.co.im\":!0,\"net.im\":!0,\"org.im\":!0,\"plc.co.im\":!0,\"tt.im\":!0,\"tv.im\":!0,\"in\":!0,\"co.in\":!0,\"firm.in\":!0,\"net.in\":!0,\"org.in\":!0,\"gen.in\":!0,\"ind.in\":!0,\"nic.in\":!0,\"ac.in\":!0,\"edu.in\":!0,\"res.in\":!0,\"gov.in\":!0,\"mil.in\":!0,info:!0,\"int\":!0,\"eu.int\":!0,io:!0,\"com.io\":!0,iq:!0,\"gov.iq\":!0,\"edu.iq\":!0,\"mil.iq\":!0,\"com.iq\":!0,\"org.iq\":!0,\"net.iq\":!0,ir:!0,\"ac.ir\":!0,\"co.ir\":!0,\"gov.ir\":!0,\"id.ir\":!0,\"net.ir\":!0,\"org.ir\":!0,\"sch.ir\":!0,\"xn--mgba3a4f16a.ir\":!0,\"xn--mgba3a4fra.ir\":!0,is:!0,\"net.is\":!0,\"com.is\":!0,\"edu.is\":!0,\"gov.is\":!0,\"org.is\":!0,\"int.is\":!0,it:!0,\"gov.it\":!0,\"edu.it\":!0,\"abr.it\":!0,\"abruzzo.it\":!0,\"aosta-valley.it\":!0,\"aostavalley.it\":!0,\"bas.it\":!0,\"basilicata.it\":!0,\"cal.it\":!0,\"calabria.it\":!0,\"cam.it\":!0,\"campania.it\":!0,\"emilia-romagna.it\":!0,\"emiliaromagna.it\":!0,\"emr.it\":!0,\"friuli-v-giulia.it\":!0,\"friuli-ve-giulia.it\":!0,\"friuli-vegiulia.it\":!0,\"friuli-venezia-giulia.it\":!0,\"friuli-veneziagiulia.it\":!0,\"friuli-vgiulia.it\":!0,\"friuliv-giulia.it\":!0,\"friulive-giulia.it\":!0,\"friulivegiulia.it\":!0,\"friulivenezia-giulia.it\":!0,\"friuliveneziagiulia.it\":!0,\"friulivgiulia.it\":!0,\"fvg.it\":!0,\"laz.it\":!0,\"lazio.it\":!0,\"lig.it\":!0,\"liguria.it\":!0,\"lom.it\":!0,\"lombardia.it\":!0,\"lombardy.it\":!0,\"lucania.it\":!0,\"mar.it\":!0,\"marche.it\":!0,\"mol.it\":!0,\"molise.it\":!0,\"piedmont.it\":!0,\"piemonte.it\":!0,\"pmn.it\":!0,\"pug.it\":!0,\"puglia.it\":!0,\"sar.it\":!0,\"sardegna.it\":!0,\"sardinia.it\":!0,\"sic.it\":!0,\"sicilia.it\":!0,\"sicily.it\":!0,\"taa.it\":!0,\"tos.it\":!0,\"toscana.it\":!0,\"trentino-a-adige.it\":!0,\"trentino-aadige.it\":!0,\"trentino-alto-adige.it\":!0,\"trentino-altoadige.it\":!0,\"trentino-s-tirol.it\":!0,\"trentino-stirol.it\":!0,\"trentino-sud-tirol.it\":!0,\"trentino-sudtirol.it\":!0,\"trentino-sued-tirol.it\":!0,\"trentino-suedtirol.it\":!0,\"trentinoa-adige.it\":!0,\"trentinoaadige.it\":!0,\"trentinoalto-adige.it\":!0,\"trentinoaltoadige.it\":!0,\"trentinos-tirol.it\":!0,\"trentinostirol.it\":!0,\"trentinosud-tirol.it\":!0,\"trentinosudtirol.it\":!0,\"trentinosued-tirol.it\":!0,\"trentinosuedtirol.it\":!0,\"tuscany.it\":!0,\"umb.it\":!0,\"umbria.it\":!0,\"val-d-aosta.it\":!0,\"val-daosta.it\":!0,\"vald-aosta.it\":!0,\"valdaosta.it\":!0,\"valle-aosta.it\":!0,\"valle-d-aosta.it\":!0,\"valle-daosta.it\":!0,\"valleaosta.it\":!0,\"valled-aosta.it\":!0,\"valledaosta.it\":!0,\"vallee-aoste.it\":!0,\"valleeaoste.it\":!0,\"vao.it\":!0,\"vda.it\":!0,\"ven.it\":!0,\"veneto.it\":!0,\"ag.it\":!0,\"agrigento.it\":!0,\"al.it\":!0,\"alessandria.it\":!0,\"alto-adige.it\":!0,\"altoadige.it\":!0,\"an.it\":!0,\"ancona.it\":!0,\"andria-barletta-trani.it\":!0,\"andria-trani-barletta.it\":!0,\"andriabarlettatrani.it\":!0,\"andriatranibarletta.it\":!0,\"ao.it\":!0,\"aosta.it\":!0,\"aoste.it\":!0,\"ap.it\":!0,\"aq.it\":!0,\"aquila.it\":!0,\"ar.it\":!0,\"arezzo.it\":!0,\"ascoli-piceno.it\":!0,\"ascolipiceno.it\":!0,\"asti.it\":!0,\"at.it\":!0,\"av.it\":!0,\"avellino.it\":!0,\"ba.it\":!0,\"balsan.it\":!0,\"bari.it\":!0,\"barletta-trani-andria.it\":!0,\"barlettatraniandria.it\":!0,\"belluno.it\":!0,\"benevento.it\":!0,\"bergamo.it\":!0,\"bg.it\":!0,\"bi.it\":!0,\"biella.it\":!0,\"bl.it\":!0,\"bn.it\":!0,\"bo.it\":!0,\"bologna.it\":!0,\"bolzano.it\":!0,\"bozen.it\":!0,\"br.it\":!0,\"brescia.it\":!0,\"brindisi.it\":!0,\"bs.it\":!0,\"bt.it\":!0,\"bz.it\":!0,\"ca.it\":!0,\"cagliari.it\":!0,\"caltanissetta.it\":!0,\"campidano-medio.it\":!0,\"campidanomedio.it\":!0,\"campobasso.it\":!0,\"carbonia-iglesias.it\":!0,\"carboniaiglesias.it\":!0,\"carrara-massa.it\":!0,\"carraramassa.it\":!0,\"caserta.it\":!0,\"catania.it\":!0,\"catanzaro.it\":!0,\"cb.it\":!0,\"ce.it\":!0,\"cesena-forli.it\":!0,\"cesenaforli.it\":!0,\"ch.it\":!0,\"chieti.it\":!0,\"ci.it\":!0,\"cl.it\":!0,\"cn.it\":!0,\"co.it\":!0,\"como.it\":!0,\"cosenza.it\":!0,\"cr.it\":!0,\"cremona.it\":!0,\"crotone.it\":!0,\"cs.it\":!0,\"ct.it\":!0,\"cuneo.it\":!0,\"cz.it\":!0,\"dell-ogliastra.it\":!0,\"dellogliastra.it\":!0,\"en.it\":!0,\"enna.it\":!0,\"fc.it\":!0,\"fe.it\":!0,\"fermo.it\":!0,\"ferrara.it\":!0,\"fg.it\":!0,\"fi.it\":!0,\"firenze.it\":!0,\"florence.it\":!0,\"fm.it\":!0,\"foggia.it\":!0,\"forli-cesena.it\":!0,\"forlicesena.it\":!0,\"fr.it\":!0,\"frosinone.it\":!0,\"ge.it\":!0,\"genoa.it\":!0,\"genova.it\":!0,\"go.it\":!0,\"gorizia.it\":!0,\"gr.it\":!0,\"grosseto.it\":!0,\"iglesias-carbonia.it\":!0,\"iglesiascarbonia.it\":!0,\"im.it\":!0,\"imperia.it\":!0,\"is.it\":!0,\"isernia.it\":!0,\"kr.it\":!0,\"la-spezia.it\":!0,\"laquila.it\":!0,\"laspezia.it\":!0,\"latina.it\":!0,\"lc.it\":!0,\"le.it\":!0,\"lecce.it\":!0,\"lecco.it\":!0,\"li.it\":!0,\"livorno.it\":!0,\"lo.it\":!0,\"lodi.it\":!0,\"lt.it\":!0,\"lu.it\":!0,\"lucca.it\":!0,\"macerata.it\":!0,\"mantova.it\":!0,\"massa-carrara.it\":!0,\"massacarrara.it\":!0,\"matera.it\":!0,\"mb.it\":!0,\"mc.it\":!0,\"me.it\":!0,\"medio-campidano.it\":!0,\"mediocampidano.it\":!0,\"messina.it\":!0,\"mi.it\":!0,\"milan.it\":!0,\"milano.it\":!0,\"mn.it\":!0,\"mo.it\":!0,\"modena.it\":!0,\"monza-brianza.it\":!0,\"monza-e-della-brianza.it\":!0,\"monza.it\":!0,\"monzabrianza.it\":!0,\"monzaebrianza.it\":!0,\"monzaedellabrianza.it\":!0,\"ms.it\":!0,\"mt.it\":!0,\"na.it\":!0,\"naples.it\":!0,\"napoli.it\":!0,\"no.it\":!0,\"novara.it\":!0,\"nu.it\":!0,\"nuoro.it\":!0,\"og.it\":!0,\"ogliastra.it\":!0,\"olbia-tempio.it\":!0,\"olbiatempio.it\":!0,\"or.it\":!0,\"oristano.it\":!0,\"ot.it\":!0,\"pa.it\":!0,\"padova.it\":!0,\"padua.it\":!0,\"palermo.it\":!0,\"parma.it\":!0,\"pavia.it\":!0,\"pc.it\":!0,\"pd.it\":!0,\"pe.it\":!0,\"perugia.it\":!0,\"pesaro-urbino.it\":!0,\"pesarourbino.it\":!0,\"pescara.it\":!0,\"pg.it\":!0,\"pi.it\":!0,\"piacenza.it\":!0,\"pisa.it\":!0,\"pistoia.it\":!0,\"pn.it\":!0,\"po.it\":!0,\"pordenone.it\":!0,\"potenza.it\":!0,\"pr.it\":!0,\"prato.it\":!0,\"pt.it\":!0,\"pu.it\":!0,\"pv.it\":!0,\"pz.it\":!0,\"ra.it\":!0,\"ragusa.it\":!0,\"ravenna.it\":!0,\"rc.it\":!0,\"re.it\":!0,\"reggio-calabria.it\":!0,\"reggio-emilia.it\":!0,\"reggiocalabria.it\":!0,\"reggioemilia.it\":!0,\"rg.it\":!0,\"ri.it\":!0,\"rieti.it\":!0,\"rimini.it\":!0,\"rm.it\":!0,\"rn.it\":!0,\"ro.it\":!0,\"roma.it\":!0,\"rome.it\":!0,\"rovigo.it\":!0,\"sa.it\":!0,\"salerno.it\":!0,\"sassari.it\":!0,\"savona.it\":!0,\"si.it\":!0,\"siena.it\":!0,\"siracusa.it\":!0,\"so.it\":!0,\"sondrio.it\":!0,\"sp.it\":!0,\"sr.it\":!0,\"ss.it\":!0,\"suedtirol.it\":!0,\"sv.it\":!0,\"ta.it\":!0,\"taranto.it\":!0,\"te.it\":!0,\"tempio-olbia.it\":!0,\"tempioolbia.it\":!0,\"teramo.it\":!0,\"terni.it\":!0,\"tn.it\":!0,\"to.it\":!0,\"torino.it\":!0,\"tp.it\":!0,\"tr.it\":!0,\"trani-andria-barletta.it\":!0,\"trani-barletta-andria.it\":!0,\"traniandriabarletta.it\":!0,\"tranibarlettaandria.it\":!0,\"trapani.it\":!0,\"trentino.it\":!0,\"trento.it\":!0,\"treviso.it\":!0,\"trieste.it\":!0,\"ts.it\":!0,\"turin.it\":!0,\"tv.it\":!0,\"ud.it\":!0,\"udine.it\":!0,\"urbino-pesaro.it\":!0,\"urbinopesaro.it\":!0,\"va.it\":!0,\"varese.it\":!0,\"vb.it\":!0,\"vc.it\":!0,\"ve.it\":!0,\"venezia.it\":!0,\"venice.it\":!0,\"verbania.it\":!0,\"vercelli.it\":!0,\"verona.it\":!0,\"vi.it\":!0,\"vibo-valentia.it\":!0,\"vibovalentia.it\":!0,\"vicenza.it\":!0,\"viterbo.it\":!0,\"vr.it\":!0,\"vs.it\":!0,\"vt.it\":!0,\"vv.it\":!0,je:!0,\"co.je\":!0,\"net.je\":!0,\"org.je\":!0,\"*.jm\":!0,jo:!0,\"com.jo\":!0,\"org.jo\":!0,\"net.jo\":!0,\"edu.jo\":!0,\"sch.jo\":!0,\"gov.jo\":!0,\"mil.jo\":!0,\"name.jo\":!0,jobs:!0,jp:!0,\"ac.jp\":!0,\"ad.jp\":!0,\"co.jp\":!0,\"ed.jp\":!0,\"go.jp\":!0,\"gr.jp\":!0,\"lg.jp\":!0,\"ne.jp\":!0,\"or.jp\":!0,\"aichi.jp\":!0,\"akita.jp\":!0,\"aomori.jp\":!0,\"chiba.jp\":!0,\"ehime.jp\":!0,\"fukui.jp\":!0,\"fukuoka.jp\":!0,\"fukushima.jp\":!0,\"gifu.jp\":!0,\"gunma.jp\":!0,\"hiroshima.jp\":!0,\"hokkaido.jp\":!0,\"hyogo.jp\":!0,\"ibaraki.jp\":!0,\"ishikawa.jp\":!0,\"iwate.jp\":!0,\"kagawa.jp\":!0,\"kagoshima.jp\":!0,\"kanagawa.jp\":!0,\"kochi.jp\":!0,\"kumamoto.jp\":!0,\"kyoto.jp\":!0,\"mie.jp\":!0,\"miyagi.jp\":!0,\"miyazaki.jp\":!0,\"nagano.jp\":!0,\"nagasaki.jp\":!0,\"nara.jp\":!0,\"niigata.jp\":!0,\"oita.jp\":!0,\"okayama.jp\":!0,\"okinawa.jp\":!0,\"osaka.jp\":!0,\"saga.jp\":!0,\"saitama.jp\":!0,\"shiga.jp\":!0,\"shimane.jp\":!0,\"shizuoka.jp\":!0,\"tochigi.jp\":!0,\"tokushima.jp\":!0,\"tokyo.jp\":!0,\"tottori.jp\":!0,\"toyama.jp\":!0,\"wakayama.jp\":!0,\"yamagata.jp\":!0,\"yamaguchi.jp\":!0,\"yamanashi.jp\":!0,\"xn--4pvxs.jp\":!0,\"xn--vgu402c.jp\":!0,\"xn--c3s14m.jp\":!0,\"xn--f6qx53a.jp\":!0,\"xn--8pvr4u.jp\":!0,\"xn--uist22h.jp\":!0,\"xn--djrs72d6uy.jp\":!0,\"xn--mkru45i.jp\":!0,\"xn--0trq7p7nn.jp\":!0,\"xn--8ltr62k.jp\":!0,\"xn--2m4a15e.jp\":!0,\"xn--efvn9s.jp\":!0,\"xn--32vp30h.jp\":!0,\"xn--4it797k.jp\":!0,\"xn--1lqs71d.jp\":!0,\"xn--5rtp49c.jp\":!0,\"xn--5js045d.jp\":!0,\"xn--ehqz56n.jp\":!0,\"xn--1lqs03n.jp\":!0,\"xn--qqqt11m.jp\":!0,\"xn--kbrq7o.jp\":!0,\"xn--pssu33l.jp\":!0,\"xn--ntsq17g.jp\":!0,\"xn--uisz3g.jp\":!0,\"xn--6btw5a.jp\":!0,\"xn--1ctwo.jp\":!0,\"xn--6orx2r.jp\":!0,\"xn--rht61e.jp\":!0,\"xn--rht27z.jp\":!0,\"xn--djty4k.jp\":!0,\"xn--nit225k.jp\":!0,\"xn--rht3d.jp\":!0,\"xn--klty5x.jp\":!0,\"xn--kltx9a.jp\":!0,\"xn--kltp7d.jp\":!0,\"xn--uuwu58a.jp\":!0,\"xn--zbx025d.jp\":!0,\"xn--ntso0iqx3a.jp\":!0,\"xn--elqq16h.jp\":!0,\"xn--4it168d.jp\":!0,\"xn--klt787d.jp\":!0,\"xn--rny31h.jp\":!0,\"xn--7t0a264c.jp\":!0,\"xn--5rtq34k.jp\":!0,\"xn--k7yn95e.jp\":!0,\"xn--tor131o.jp\":!0,\"xn--d5qv7z876c.jp\":!0,\"*.kawasaki.jp\":!0,\"*.kitakyushu.jp\":!0,\"*.kobe.jp\":!0,\"*.nagoya.jp\":!0,\"*.sapporo.jp\":!0,\"*.sendai.jp\":!0,\"*.yokohama.jp\":!0,\"city.kawasaki.jp\":!1,\"city.kitakyushu.jp\":!1,\"city.kobe.jp\":!1,\"city.nagoya.jp\":!1,\"city.sapporo.jp\":!1,\"city.sendai.jp\":!1,\"city.yokohama.jp\":!1,\"aisai.aichi.jp\":!0,\"ama.aichi.jp\":!0,\"anjo.aichi.jp\":!0,\"asuke.aichi.jp\":!0,\"chiryu.aichi.jp\":!0,\"chita.aichi.jp\":!0,\"fuso.aichi.jp\":!0,\"gamagori.aichi.jp\":!0,\"handa.aichi.jp\":!0,\"hazu.aichi.jp\":!0,\"hekinan.aichi.jp\":!0,\"higashiura.aichi.jp\":!0,\"ichinomiya.aichi.jp\":!0,\"inazawa.aichi.jp\":!0,\"inuyama.aichi.jp\":!0,\"isshiki.aichi.jp\":!0,\"iwakura.aichi.jp\":!0,\"kanie.aichi.jp\":!0,\"kariya.aichi.jp\":!0,\"kasugai.aichi.jp\":!0,\"kira.aichi.jp\":!0,\"kiyosu.aichi.jp\":!0,\"komaki.aichi.jp\":!0,\"konan.aichi.jp\":!0,\"kota.aichi.jp\":!0,\"mihama.aichi.jp\":!0,\"miyoshi.aichi.jp\":!0,\"nishio.aichi.jp\":!0,\"nisshin.aichi.jp\":!0,\"obu.aichi.jp\":!0,\"oguchi.aichi.jp\":!0,\"oharu.aichi.jp\":!0,\"okazaki.aichi.jp\":!0,\"owariasahi.aichi.jp\":!0,\"seto.aichi.jp\":!0,\"shikatsu.aichi.jp\":!0,\"shinshiro.aichi.jp\":!0,\"shitara.aichi.jp\":!0,\"tahara.aichi.jp\":!0,\"takahama.aichi.jp\":!0,\"tobishima.aichi.jp\":!0,\"toei.aichi.jp\":!0,\"togo.aichi.jp\":!0,\"tokai.aichi.jp\":!0,\"tokoname.aichi.jp\":!0,\"toyoake.aichi.jp\":!0,\"toyohashi.aichi.jp\":!0,\"toyokawa.aichi.jp\":!0,\"toyone.aichi.jp\":!0,\"toyota.aichi.jp\":!0,\"tsushima.aichi.jp\":!0,\"yatomi.aichi.jp\":!0,\"akita.akita.jp\":!0,\"daisen.akita.jp\":!0,\"fujisato.akita.jp\":!0,\"gojome.akita.jp\":!0,\"hachirogata.akita.jp\":!0,\"happou.akita.jp\":!0,\"higashinaruse.akita.jp\":!0,\"honjo.akita.jp\":!0,\"honjyo.akita.jp\":!0,\"ikawa.akita.jp\":!0,\"kamikoani.akita.jp\":!0,\"kamioka.akita.jp\":!0,\"katagami.akita.jp\":!0,\"kazuno.akita.jp\":!0,\"kitaakita.akita.jp\":!0,\"kosaka.akita.jp\":!0,\"kyowa.akita.jp\":!0,\"misato.akita.jp\":!0,\"mitane.akita.jp\":!0,\"moriyoshi.akita.jp\":!0,\"nikaho.akita.jp\":!0,\"noshiro.akita.jp\":!0,\"odate.akita.jp\":!0,\"oga.akita.jp\":!0,\"ogata.akita.jp\":!0,\"semboku.akita.jp\":!0,\"yokote.akita.jp\":!0,\"yurihonjo.akita.jp\":!0,\"aomori.aomori.jp\":!0,\"gonohe.aomori.jp\":!0,\"hachinohe.aomori.jp\":!0,\"hashikami.aomori.jp\":!0,\"hiranai.aomori.jp\":!0,\"hirosaki.aomori.jp\":!0,\"itayanagi.aomori.jp\":!0,\"kuroishi.aomori.jp\":!0,\"misawa.aomori.jp\":!0,\"mutsu.aomori.jp\":!0,\"nakadomari.aomori.jp\":!0,\"noheji.aomori.jp\":!0,\"oirase.aomori.jp\":!0,\"owani.aomori.jp\":!0,\"rokunohe.aomori.jp\":!0,\"sannohe.aomori.jp\":!0,\"shichinohe.aomori.jp\":!0,\"shingo.aomori.jp\":!0,\"takko.aomori.jp\":!0,\"towada.aomori.jp\":!0,\"tsugaru.aomori.jp\":!0,\"tsuruta.aomori.jp\":!0,\"abiko.chiba.jp\":!0,\"asahi.chiba.jp\":!0,\"chonan.chiba.jp\":!0,\"chosei.chiba.jp\":!0,\"choshi.chiba.jp\":!0,\"chuo.chiba.jp\":!0,\"funabashi.chiba.jp\":!0,\"futtsu.chiba.jp\":!0,\"hanamigawa.chiba.jp\":!0,\"ichihara.chiba.jp\":!0,\"ichikawa.chiba.jp\":!0,\"ichinomiya.chiba.jp\":!0,\"inzai.chiba.jp\":!0,\"isumi.chiba.jp\":!0,\"kamagaya.chiba.jp\":!0,\"kamogawa.chiba.jp\":!0,\"kashiwa.chiba.jp\":!0,\"katori.chiba.jp\":!0,\"katsuura.chiba.jp\":!0,\"kimitsu.chiba.jp\":!0,\"kisarazu.chiba.jp\":!0,\"kozaki.chiba.jp\":!0,\"kujukuri.chiba.jp\":!0,\"kyonan.chiba.jp\":!0,\"matsudo.chiba.jp\":!0,\"midori.chiba.jp\":!0,\"mihama.chiba.jp\":!0,\"minamiboso.chiba.jp\":!0,\"mobara.chiba.jp\":!0,\"mutsuzawa.chiba.jp\":!0,\"nagara.chiba.jp\":!0,\"nagareyama.chiba.jp\":!0,\"narashino.chiba.jp\":!0,\"narita.chiba.jp\":!0,\"noda.chiba.jp\":!0,\"oamishirasato.chiba.jp\":!0,\"omigawa.chiba.jp\":!0,\"onjuku.chiba.jp\":!0,\"otaki.chiba.jp\":!0,\"sakae.chiba.jp\":!0,\"sakura.chiba.jp\":!0,\"shimofusa.chiba.jp\":!0,\"shirako.chiba.jp\":!0,\"shiroi.chiba.jp\":!0,\"shisui.chiba.jp\":!0,\"sodegaura.chiba.jp\":!0,\"sosa.chiba.jp\":!0,\"tako.chiba.jp\":!0,\"tateyama.chiba.jp\":!0,\"togane.chiba.jp\":!0,\"tohnosho.chiba.jp\":!0,\"tomisato.chiba.jp\":!0,\"urayasu.chiba.jp\":!0,\"yachimata.chiba.jp\":!0,\"yachiyo.chiba.jp\":!0,\"yokaichiba.chiba.jp\":!0,\"yokoshibahikari.chiba.jp\":!0,\"yotsukaido.chiba.jp\":!0,\"ainan.ehime.jp\":!0,\"honai.ehime.jp\":!0,\"ikata.ehime.jp\":!0,\"imabari.ehime.jp\":!0,\"iyo.ehime.jp\":!0,\"kamijima.ehime.jp\":!0,\"kihoku.ehime.jp\":!0,\"kumakogen.ehime.jp\":!0,\"masaki.ehime.jp\":!0,\"matsuno.ehime.jp\":!0,\"matsuyama.ehime.jp\":!0,\"namikata.ehime.jp\":!0,\"niihama.ehime.jp\":!0,\"ozu.ehime.jp\":!0,\"saijo.ehime.jp\":!0,\"seiyo.ehime.jp\":!0,\"shikokuchuo.ehime.jp\":!0,\"tobe.ehime.jp\":!0,\"toon.ehime.jp\":!0,\"uchiko.ehime.jp\":!0,\"uwajima.ehime.jp\":!0,\"yawatahama.ehime.jp\":!0,\"echizen.fukui.jp\":!0,\"eiheiji.fukui.jp\":!0,\"fukui.fukui.jp\":!0,\"ikeda.fukui.jp\":!0,\"katsuyama.fukui.jp\":!0,\"mihama.fukui.jp\":!0,\"minamiechizen.fukui.jp\":!0,\"obama.fukui.jp\":!0,\"ohi.fukui.jp\":!0,\"ono.fukui.jp\":!0,\"sabae.fukui.jp\":!0,\"sakai.fukui.jp\":!0,\"takahama.fukui.jp\":!0,\"tsuruga.fukui.jp\":!0,\"wakasa.fukui.jp\":!0,\"ashiya.fukuoka.jp\":!0,\"buzen.fukuoka.jp\":!0,\"chikugo.fukuoka.jp\":!0,\"chikuho.fukuoka.jp\":!0,\"chikujo.fukuoka.jp\":!0,\"chikushino.fukuoka.jp\":!0,\"chikuzen.fukuoka.jp\":!0,\"chuo.fukuoka.jp\":!0,\"dazaifu.fukuoka.jp\":!0,\"fukuchi.fukuoka.jp\":!0,\"hakata.fukuoka.jp\":!0,\"higashi.fukuoka.jp\":!0,\"hirokawa.fukuoka.jp\":!0,\"hisayama.fukuoka.jp\":!0,\"iizuka.fukuoka.jp\":!0,\"inatsuki.fukuoka.jp\":!0,\"kaho.fukuoka.jp\":!0,\"kasuga.fukuoka.jp\":!0,\"kasuya.fukuoka.jp\":!0,\"kawara.fukuoka.jp\":!0,\"keisen.fukuoka.jp\":!0,\"koga.fukuoka.jp\":!0,\"kurate.fukuoka.jp\":!0,\"kurogi.fukuoka.jp\":!0,\"kurume.fukuoka.jp\":!0,\"minami.fukuoka.jp\":!0,\"miyako.fukuoka.jp\":!0,\"miyama.fukuoka.jp\":!0,\"miyawaka.fukuoka.jp\":!0,\"mizumaki.fukuoka.jp\":!0,\"munakata.fukuoka.jp\":!0,\"nakagawa.fukuoka.jp\":!0,\"nakama.fukuoka.jp\":!0,\"nishi.fukuoka.jp\":!0,\"nogata.fukuoka.jp\":!0,\"ogori.fukuoka.jp\":!0,\"okagaki.fukuoka.jp\":!0,\"okawa.fukuoka.jp\":!0,\"oki.fukuoka.jp\":!0,\"omuta.fukuoka.jp\":!0,\"onga.fukuoka.jp\":!0,\"onojo.fukuoka.jp\":!0,\"oto.fukuoka.jp\":!0,\"saigawa.fukuoka.jp\":!0,\"sasaguri.fukuoka.jp\":!0,\"shingu.fukuoka.jp\":!0,\"shinyoshitomi.fukuoka.jp\":!0,\"shonai.fukuoka.jp\":!0,\"soeda.fukuoka.jp\":!0,\"sue.fukuoka.jp\":!0,\"tachiarai.fukuoka.jp\":!0,\"tagawa.fukuoka.jp\":!0,\"takata.fukuoka.jp\":!0,\"toho.fukuoka.jp\":!0,\"toyotsu.fukuoka.jp\":!0,\"tsuiki.fukuoka.jp\":!0,\"ukiha.fukuoka.jp\":!0,\"umi.fukuoka.jp\":!0,\"usui.fukuoka.jp\":!0,\"yamada.fukuoka.jp\":!0,\"yame.fukuoka.jp\":!0,\"yanagawa.fukuoka.jp\":!0,\"yukuhashi.fukuoka.jp\":!0,\"aizubange.fukushima.jp\":!0,\"aizumisato.fukushima.jp\":!0,\"aizuwakamatsu.fukushima.jp\":!0,\"asakawa.fukushima.jp\":!0,\"bandai.fukushima.jp\":!0,\"date.fukushima.jp\":!0,\"fukushima.fukushima.jp\":!0,\"furudono.fukushima.jp\":!0,\"futaba.fukushima.jp\":!0,\"hanawa.fukushima.jp\":!0,\"higashi.fukushima.jp\":!0,\"hirata.fukushima.jp\":!0,\"hirono.fukushima.jp\":!0,\"iitate.fukushima.jp\":!0,\"inawashiro.fukushima.jp\":!0,\"ishikawa.fukushima.jp\":!0,\"iwaki.fukushima.jp\":!0,\"izumizaki.fukushima.jp\":!0,\"kagamiishi.fukushima.jp\":!0,\"kaneyama.fukushima.jp\":!0,\"kawamata.fukushima.jp\":!0,\"kitakata.fukushima.jp\":!0,\"kitashiobara.fukushima.jp\":!0,\"koori.fukushima.jp\":!0,\"koriyama.fukushima.jp\":!0,\"kunimi.fukushima.jp\":!0,\"miharu.fukushima.jp\":!0,\"mishima.fukushima.jp\":!0,\"namie.fukushima.jp\":!0,\"nango.fukushima.jp\":!0,\"nishiaizu.fukushima.jp\":!0,\"nishigo.fukushima.jp\":!0,\"okuma.fukushima.jp\":!0,\"omotego.fukushima.jp\":!0,\"ono.fukushima.jp\":!0,\"otama.fukushima.jp\":!0,\"samegawa.fukushima.jp\":!0,\"shimogo.fukushima.jp\":!0,\"shirakawa.fukushima.jp\":!0,\"showa.fukushima.jp\":!0,\"soma.fukushima.jp\":!0,\"sukagawa.fukushima.jp\":!0,\"taishin.fukushima.jp\":!0,\"tamakawa.fukushima.jp\":!0,\"tanagura.fukushima.jp\":!0,\"tenei.fukushima.jp\":!0,\"yabuki.fukushima.jp\":!0,\"yamato.fukushima.jp\":!0,\"yamatsuri.fukushima.jp\":!0,\"yanaizu.fukushima.jp\":!0,\"yugawa.fukushima.jp\":!0,\"anpachi.gifu.jp\":!0,\"ena.gifu.jp\":!0,\"gifu.gifu.jp\":!0,\"ginan.gifu.jp\":!0,\"godo.gifu.jp\":!0,\"gujo.gifu.jp\":!0,\"hashima.gifu.jp\":!0,\"hichiso.gifu.jp\":!0,\"hida.gifu.jp\":!0,\"higashishirakawa.gifu.jp\":!0,\"ibigawa.gifu.jp\":!0,\"ikeda.gifu.jp\":!0,\"kakamigahara.gifu.jp\":!0,\"kani.gifu.jp\":!0,\"kasahara.gifu.jp\":!0,\"kasamatsu.gifu.jp\":!0,\"kawaue.gifu.jp\":!0,\"kitagata.gifu.jp\":!0,\"mino.gifu.jp\":!0,\"minokamo.gifu.jp\":!0,\"mitake.gifu.jp\":!0,\"mizunami.gifu.jp\":!0,\"motosu.gifu.jp\":!0,\"nakatsugawa.gifu.jp\":!0,\"ogaki.gifu.jp\":!0,\"sakahogi.gifu.jp\":!0,\"seki.gifu.jp\":!0,\"sekigahara.gifu.jp\":!0,\"shirakawa.gifu.jp\":!0,\"tajimi.gifu.jp\":!0,\"takayama.gifu.jp\":!0,\"tarui.gifu.jp\":!0,\"toki.gifu.jp\":!0,\"tomika.gifu.jp\":!0,\"wanouchi.gifu.jp\":!0,\"yamagata.gifu.jp\":!0,\"yaotsu.gifu.jp\":!0,\"yoro.gifu.jp\":!0,\"annaka.gunma.jp\":!0,\"chiyoda.gunma.jp\":!0,\"fujioka.gunma.jp\":!0,\"higashiagatsuma.gunma.jp\":!0,\"isesaki.gunma.jp\":!0,\"itakura.gunma.jp\":!0,\"kanna.gunma.jp\":!0,\"kanra.gunma.jp\":!0,\"katashina.gunma.jp\":!0,\"kawaba.gunma.jp\":!0,\"kiryu.gunma.jp\":!0,\"kusatsu.gunma.jp\":!0,\"maebashi.gunma.jp\":!0,\"meiwa.gunma.jp\":!0,\"midori.gunma.jp\":!0,\"minakami.gunma.jp\":!0,\"naganohara.gunma.jp\":!0,\"nakanojo.gunma.jp\":!0,\"nanmoku.gunma.jp\":!0,\"numata.gunma.jp\":!0,\"oizumi.gunma.jp\":!0,\"ora.gunma.jp\":!0,\"ota.gunma.jp\":!0,\"shibukawa.gunma.jp\":!0,\"shimonita.gunma.jp\":!0,\"shinto.gunma.jp\":!0,\"showa.gunma.jp\":!0,\"takasaki.gunma.jp\":!0,\"takayama.gunma.jp\":!0,\"tamamura.gunma.jp\":!0,\"tatebayashi.gunma.jp\":!0,\"tomioka.gunma.jp\":!0,\"tsukiyono.gunma.jp\":!0,\"tsumagoi.gunma.jp\":!0,\"ueno.gunma.jp\":!0,\"yoshioka.gunma.jp\":!0,\"asaminami.hiroshima.jp\":!0,\"daiwa.hiroshima.jp\":!0,\"etajima.hiroshima.jp\":!0,\"fuchu.hiroshima.jp\":!0,\"fukuyama.hiroshima.jp\":!0,\"hatsukaichi.hiroshima.jp\":!0,\"higashihiroshima.hiroshima.jp\":!0,\"hongo.hiroshima.jp\":!0,\"jinsekikogen.hiroshima.jp\":!0,\"kaita.hiroshima.jp\":!0,\"kui.hiroshima.jp\":!0,\"kumano.hiroshima.jp\":!0,\"kure.hiroshima.jp\":!0,\"mihara.hiroshima.jp\":!0,\"miyoshi.hiroshima.jp\":!0,\"naka.hiroshima.jp\":!0,\"onomichi.hiroshima.jp\":!0,\"osakikamijima.hiroshima.jp\":!0,\"otake.hiroshima.jp\":!0,\"saka.hiroshima.jp\":!0,\"sera.hiroshima.jp\":!0,\"seranishi.hiroshima.jp\":!0,\"shinichi.hiroshima.jp\":!0,\"shobara.hiroshima.jp\":!0,\"takehara.hiroshima.jp\":!0,\"abashiri.hokkaido.jp\":!0,\"abira.hokkaido.jp\":!0,\"aibetsu.hokkaido.jp\":!0,\"akabira.hokkaido.jp\":!0,\"akkeshi.hokkaido.jp\":!0,\"asahikawa.hokkaido.jp\":!0,\"ashibetsu.hokkaido.jp\":!0,\"ashoro.hokkaido.jp\":!0,\"assabu.hokkaido.jp\":!0,\"atsuma.hokkaido.jp\":!0,\"bibai.hokkaido.jp\":!0,\"biei.hokkaido.jp\":!0,\"bifuka.hokkaido.jp\":!0,\"bihoro.hokkaido.jp\":!0,\"biratori.hokkaido.jp\":!0,\"chippubetsu.hokkaido.jp\":!0,\"chitose.hokkaido.jp\":!0,\"date.hokkaido.jp\":!0,\"ebetsu.hokkaido.jp\":!0,\"embetsu.hokkaido.jp\":!0,\"eniwa.hokkaido.jp\":!0,\"erimo.hokkaido.jp\":!0,\"esan.hokkaido.jp\":!0,\"esashi.hokkaido.jp\":!0,\"fukagawa.hokkaido.jp\":!0,\"fukushima.hokkaido.jp\":!0,\"furano.hokkaido.jp\":!0,\"furubira.hokkaido.jp\":!0,\"haboro.hokkaido.jp\":!0,\"hakodate.hokkaido.jp\":!0,\"hamatonbetsu.hokkaido.jp\":!0,\"hidaka.hokkaido.jp\":!0,\"higashikagura.hokkaido.jp\":!0,\"higashikawa.hokkaido.jp\":!0,\"hiroo.hokkaido.jp\":!0,\"hokuryu.hokkaido.jp\":!0,\"hokuto.hokkaido.jp\":!0,\"honbetsu.hokkaido.jp\":!0,\"horokanai.hokkaido.jp\":!0,\"horonobe.hokkaido.jp\":!0,\"ikeda.hokkaido.jp\":!0,\"imakane.hokkaido.jp\":!0,\"ishikari.hokkaido.jp\":!0,\"iwamizawa.hokkaido.jp\":!0,\"iwanai.hokkaido.jp\":!0,\"kamifurano.hokkaido.jp\":!0,\"kamikawa.hokkaido.jp\":!0,\"kamishihoro.hokkaido.jp\":!0,\"kamisunagawa.hokkaido.jp\":!0,\"kamoenai.hokkaido.jp\":!0,\"kayabe.hokkaido.jp\":!0,\"kembuchi.hokkaido.jp\":!0,\"kikonai.hokkaido.jp\":!0,\"kimobetsu.hokkaido.jp\":!0,\"kitahiroshima.hokkaido.jp\":!0,\"kitami.hokkaido.jp\":!0,\"kiyosato.hokkaido.jp\":!0,\"koshimizu.hokkaido.jp\":!0,\"kunneppu.hokkaido.jp\":!0,\"kuriyama.hokkaido.jp\":!0,\"kuromatsunai.hokkaido.jp\":!0,\"kushiro.hokkaido.jp\":!0,\"kutchan.hokkaido.jp\":!0,\"kyowa.hokkaido.jp\":!0,\"mashike.hokkaido.jp\":!0,\"matsumae.hokkaido.jp\":!0,\"mikasa.hokkaido.jp\":!0,\"minamifurano.hokkaido.jp\":!0,\"mombetsu.hokkaido.jp\":!0,\"moseushi.hokkaido.jp\":!0,\"mukawa.hokkaido.jp\":!0,\"muroran.hokkaido.jp\":!0,\"naie.hokkaido.jp\":!0,\"nakagawa.hokkaido.jp\":!0,\"nakasatsunai.hokkaido.jp\":!0,\"nakatombetsu.hokkaido.jp\":!0,\"nanae.hokkaido.jp\":!0,\"nanporo.hokkaido.jp\":!0,\"nayoro.hokkaido.jp\":!0,\"nemuro.hokkaido.jp\":!0,\"niikappu.hokkaido.jp\":!0,\"niki.hokkaido.jp\":!0,\"nishiokoppe.hokkaido.jp\":!0,\"noboribetsu.hokkaido.jp\":!0,\"numata.hokkaido.jp\":!0,\"obihiro.hokkaido.jp\":!0,\"obira.hokkaido.jp\":!0,\"oketo.hokkaido.jp\":!0,\"okoppe.hokkaido.jp\":!0,\"otaru.hokkaido.jp\":!0,\"otobe.hokkaido.jp\":!0,\"otofuke.hokkaido.jp\":!0,\"otoineppu.hokkaido.jp\":!0,\"oumu.hokkaido.jp\":!0,\"ozora.hokkaido.jp\":!0,\"pippu.hokkaido.jp\":!0,\"rankoshi.hokkaido.jp\":!0,\"rebun.hokkaido.jp\":!0,\"rikubetsu.hokkaido.jp\":!0,\"rishiri.hokkaido.jp\":!0,\"rishirifuji.hokkaido.jp\":!0,\"saroma.hokkaido.jp\":!0,\"sarufutsu.hokkaido.jp\":!0,\"shakotan.hokkaido.jp\":!0,\"shari.hokkaido.jp\":!0,\"shibecha.hokkaido.jp\":!0,\"shibetsu.hokkaido.jp\":!0,\"shikabe.hokkaido.jp\":!0,\"shikaoi.hokkaido.jp\":!0,\"shimamaki.hokkaido.jp\":!0,\"shimizu.hokkaido.jp\":!0,\"shimokawa.hokkaido.jp\":!0,\"shinshinotsu.hokkaido.jp\":!0,\"shintoku.hokkaido.jp\":!0,\"shiranuka.hokkaido.jp\":!0,\"shiraoi.hokkaido.jp\":!0,\"shiriuchi.hokkaido.jp\":!0,\"sobetsu.hokkaido.jp\":!0,\"sunagawa.hokkaido.jp\":!0,\"taiki.hokkaido.jp\":!0,\"takasu.hokkaido.jp\":!0,\"takikawa.hokkaido.jp\":!0,\"takinoue.hokkaido.jp\":!0,\"teshikaga.hokkaido.jp\":!0,\"tobetsu.hokkaido.jp\":!0,\"tohma.hokkaido.jp\":!0,\"tomakomai.hokkaido.jp\":!0,\"tomari.hokkaido.jp\":!0,\"toya.hokkaido.jp\":!0,\"toyako.hokkaido.jp\":!0,\"toyotomi.hokkaido.jp\":!0,\"toyoura.hokkaido.jp\":!0,\"tsubetsu.hokkaido.jp\":!0,\"tsukigata.hokkaido.jp\":!0,\"urakawa.hokkaido.jp\":!0,\"urausu.hokkaido.jp\":!0,\"uryu.hokkaido.jp\":!0,\"utashinai.hokkaido.jp\":!0,\"wakkanai.hokkaido.jp\":!0,\"wassamu.hokkaido.jp\":!0,\"yakumo.hokkaido.jp\":!0,\"yoichi.hokkaido.jp\":!0,\"aioi.hyogo.jp\":!0,\"akashi.hyogo.jp\":!0,\"ako.hyogo.jp\":!0,\"amagasaki.hyogo.jp\":!0,\"aogaki.hyogo.jp\":!0,\"asago.hyogo.jp\":!0,\"ashiya.hyogo.jp\":!0,\"awaji.hyogo.jp\":!0,\"fukusaki.hyogo.jp\":!0,\"goshiki.hyogo.jp\":!0,\"harima.hyogo.jp\":!0,\"himeji.hyogo.jp\":!0,\"ichikawa.hyogo.jp\":!0,\"inagawa.hyogo.jp\":!0,\"itami.hyogo.jp\":!0,\"kakogawa.hyogo.jp\":!0,\"kamigori.hyogo.jp\":!0,\"kamikawa.hyogo.jp\":!0,\"kasai.hyogo.jp\":!0,\"kasuga.hyogo.jp\":!0,\"kawanishi.hyogo.jp\":!0,\"miki.hyogo.jp\":!0,\"minamiawaji.hyogo.jp\":!0,\"nishinomiya.hyogo.jp\":!0,\"nishiwaki.hyogo.jp\":!0,\"ono.hyogo.jp\":!0,\"sanda.hyogo.jp\":!0,\"sannan.hyogo.jp\":!0,\"sasayama.hyogo.jp\":!0,\"sayo.hyogo.jp\":!0,\"shingu.hyogo.jp\":!0,\"shinonsen.hyogo.jp\":!0,\"shiso.hyogo.jp\":!0,\"sumoto.hyogo.jp\":!0,\"taishi.hyogo.jp\":!0,\"taka.hyogo.jp\":!0,\"takarazuka.hyogo.jp\":!0,\"takasago.hyogo.jp\":!0,\"takino.hyogo.jp\":!0,\"tamba.hyogo.jp\":!0,\"tatsuno.hyogo.jp\":!0,\"toyooka.hyogo.jp\":!0,\"yabu.hyogo.jp\":!0,\"yashiro.hyogo.jp\":!0,\"yoka.hyogo.jp\":!0,\"yokawa.hyogo.jp\":!0,\"ami.ibaraki.jp\":!0,\"asahi.ibaraki.jp\":!0,\"bando.ibaraki.jp\":!0,\"chikusei.ibaraki.jp\":!0,\"daigo.ibaraki.jp\":!0,\"fujishiro.ibaraki.jp\":!0,\"hitachi.ibaraki.jp\":!0,\"hitachinaka.ibaraki.jp\":!0,\"hitachiomiya.ibaraki.jp\":!0,\"hitachiota.ibaraki.jp\":!0,\"ibaraki.ibaraki.jp\":!0,\"ina.ibaraki.jp\":!0,\"inashiki.ibaraki.jp\":!0,\"itako.ibaraki.jp\":!0,\"iwama.ibaraki.jp\":!0,\"joso.ibaraki.jp\":!0,\"kamisu.ibaraki.jp\":!0,\"kasama.ibaraki.jp\":!0,\"kashima.ibaraki.jp\":!0,\"kasumigaura.ibaraki.jp\":!0,\"koga.ibaraki.jp\":!0,\"miho.ibaraki.jp\":!0,\"mito.ibaraki.jp\":!0,\"moriya.ibaraki.jp\":!0,\"naka.ibaraki.jp\":!0,\"namegata.ibaraki.jp\":!0,\"oarai.ibaraki.jp\":!0,\"ogawa.ibaraki.jp\":!0,\"omitama.ibaraki.jp\":!0,\"ryugasaki.ibaraki.jp\":!0,\"sakai.ibaraki.jp\":!0,\"sakuragawa.ibaraki.jp\":!0,\"shimodate.ibaraki.jp\":!0,\"shimotsuma.ibaraki.jp\":!0,\"shirosato.ibaraki.jp\":!0,\"sowa.ibaraki.jp\":!0,\"suifu.ibaraki.jp\":!0,\"takahagi.ibaraki.jp\":!0,\"tamatsukuri.ibaraki.jp\":!0,\"tokai.ibaraki.jp\":!0,\"tomobe.ibaraki.jp\":!0,\"tone.ibaraki.jp\":!0,\"toride.ibaraki.jp\":!0,\"tsuchiura.ibaraki.jp\":!0,\"tsukuba.ibaraki.jp\":!0,\"uchihara.ibaraki.jp\":!0,\"ushiku.ibaraki.jp\":!0,\"yachiyo.ibaraki.jp\":!0,\"yamagata.ibaraki.jp\":!0,\"yawara.ibaraki.jp\":!0,\"yuki.ibaraki.jp\":!0,\"anamizu.ishikawa.jp\":!0,\"hakui.ishikawa.jp\":!0,\"hakusan.ishikawa.jp\":!0,\"kaga.ishikawa.jp\":!0,\"kahoku.ishikawa.jp\":!0,\"kanazawa.ishikawa.jp\":!0,\"kawakita.ishikawa.jp\":!0,\"komatsu.ishikawa.jp\":!0,\"nakanoto.ishikawa.jp\":!0,\"nanao.ishikawa.jp\":!0,\"nomi.ishikawa.jp\":!0,\"nonoichi.ishikawa.jp\":!0,\"noto.ishikawa.jp\":!0,\"shika.ishikawa.jp\":!0,\"suzu.ishikawa.jp\":!0,\"tsubata.ishikawa.jp\":!0,\"tsurugi.ishikawa.jp\":!0,\"uchinada.ishikawa.jp\":!0,\"wajima.ishikawa.jp\":!0,\"fudai.iwate.jp\":!0,\"fujisawa.iwate.jp\":!0,\"hanamaki.iwate.jp\":!0,\"hiraizumi.iwate.jp\":!0,\"hirono.iwate.jp\":!0,\"ichinohe.iwate.jp\":!0,\"ichinoseki.iwate.jp\":!0,\"iwaizumi.iwate.jp\":!0,\"iwate.iwate.jp\":!0,\"joboji.iwate.jp\":!0,\"kamaishi.iwate.jp\":!0,\"kanegasaki.iwate.jp\":!0,\"karumai.iwate.jp\":!0,\"kawai.iwate.jp\":!0,\"kitakami.iwate.jp\":!0,\"kuji.iwate.jp\":!0,\"kunohe.iwate.jp\":!0,\"kuzumaki.iwate.jp\":!0,\"miyako.iwate.jp\":!0,\"mizusawa.iwate.jp\":!0,\"morioka.iwate.jp\":!0,\"ninohe.iwate.jp\":!0,\"noda.iwate.jp\":!0,\"ofunato.iwate.jp\":!0,\"oshu.iwate.jp\":!0,\"otsuchi.iwate.jp\":!0,\"rikuzentakata.iwate.jp\":!0,\"shiwa.iwate.jp\":!0,\"shizukuishi.iwate.jp\":!0,\"sumita.iwate.jp\":!0,\"tanohata.iwate.jp\":!0,\"tono.iwate.jp\":!0,\"yahaba.iwate.jp\":!0,\"yamada.iwate.jp\":!0,\"ayagawa.kagawa.jp\":!0,\"higashikagawa.kagawa.jp\":!0,\"kanonji.kagawa.jp\":!0,\"kotohira.kagawa.jp\":!0,\"manno.kagawa.jp\":!0,\"marugame.kagawa.jp\":!0,\"mitoyo.kagawa.jp\":!0,\"naoshima.kagawa.jp\":!0,\"sanuki.kagawa.jp\":!0,\"tadotsu.kagawa.jp\":!0,\"takamatsu.kagawa.jp\":!0,\"tonosho.kagawa.jp\":!0,\"uchinomi.kagawa.jp\":!0,\"utazu.kagawa.jp\":!0,\"zentsuji.kagawa.jp\":!0,\"akune.kagoshima.jp\":!0,\"amami.kagoshima.jp\":!0,\"hioki.kagoshima.jp\":!0,\"isa.kagoshima.jp\":!0,\"isen.kagoshima.jp\":!0,\"izumi.kagoshima.jp\":!0,\"kagoshima.kagoshima.jp\":!0,\"kanoya.kagoshima.jp\":!0,\"kawanabe.kagoshima.jp\":!0,\"kinko.kagoshima.jp\":!0,\"kouyama.kagoshima.jp\":!0,\"makurazaki.kagoshima.jp\":!0,\"matsumoto.kagoshima.jp\":!0,\"minamitane.kagoshima.jp\":!0,\"nakatane.kagoshima.jp\":!0,\"nishinoomote.kagoshima.jp\":!0,\"satsumasendai.kagoshima.jp\":!0,\"soo.kagoshima.jp\":!0,\"tarumizu.kagoshima.jp\":!0,\"yusui.kagoshima.jp\":!0,\"aikawa.kanagawa.jp\":!0,\"atsugi.kanagawa.jp\":!0,\"ayase.kanagawa.jp\":!0,\"chigasaki.kanagawa.jp\":!0,\"ebina.kanagawa.jp\":!0,\"fujisawa.kanagawa.jp\":!0,\"hadano.kanagawa.jp\":!0,\"hakone.kanagawa.jp\":!0,\"hiratsuka.kanagawa.jp\":!0,\"isehara.kanagawa.jp\":!0,\"kaisei.kanagawa.jp\":!0,\"kamakura.kanagawa.jp\":!0,\"kiyokawa.kanagawa.jp\":!0,\"matsuda.kanagawa.jp\":!0,\"minamiashigara.kanagawa.jp\":!0,\"miura.kanagawa.jp\":!0,\"nakai.kanagawa.jp\":!0,\"ninomiya.kanagawa.jp\":!0,\"odawara.kanagawa.jp\":!0,\"oi.kanagawa.jp\":!0,\"oiso.kanagawa.jp\":!0,\"sagamihara.kanagawa.jp\":!0,\"samukawa.kanagawa.jp\":!0,\"tsukui.kanagawa.jp\":!0,\"yamakita.kanagawa.jp\":!0,\"yamato.kanagawa.jp\":!0,\"yokosuka.kanagawa.jp\":!0,\"yugawara.kanagawa.jp\":!0,\"zama.kanagawa.jp\":!0,\"zushi.kanagawa.jp\":!0,\"aki.kochi.jp\":!0,\"geisei.kochi.jp\":!0,\"hidaka.kochi.jp\":!0,\"higashitsuno.kochi.jp\":!0,\"ino.kochi.jp\":!0,\"kagami.kochi.jp\":!0,\"kami.kochi.jp\":!0,\"kitagawa.kochi.jp\":!0,\"kochi.kochi.jp\":!0,\"mihara.kochi.jp\":!0,\"motoyama.kochi.jp\":!0,\"muroto.kochi.jp\":!0,\"nahari.kochi.jp\":!0,\"nakamura.kochi.jp\":!0,\"nankoku.kochi.jp\":!0,\"nishitosa.kochi.jp\":!0,\"niyodogawa.kochi.jp\":!0,\"ochi.kochi.jp\":!0,\"okawa.kochi.jp\":!0,\"otoyo.kochi.jp\":!0,\"otsuki.kochi.jp\":!0,\"sakawa.kochi.jp\":!0,\"sukumo.kochi.jp\":!0,\"susaki.kochi.jp\":!0,\"tosa.kochi.jp\":!0,\"tosashimizu.kochi.jp\":!0,\"toyo.kochi.jp\":!0,\"tsuno.kochi.jp\":!0,\"umaji.kochi.jp\":!0,\"yasuda.kochi.jp\":!0,\"yusuhara.kochi.jp\":!0,\"amakusa.kumamoto.jp\":!0,\"arao.kumamoto.jp\":!0,\"aso.kumamoto.jp\":!0,\"choyo.kumamoto.jp\":!0,\"gyokuto.kumamoto.jp\":!0,\"hitoyoshi.kumamoto.jp\":!0,\"kamiamakusa.kumamoto.jp\":!0,\"kashima.kumamoto.jp\":!0,\"kikuchi.kumamoto.jp\":!0,\"kosa.kumamoto.jp\":!0,\"kumamoto.kumamoto.jp\":!0,\"mashiki.kumamoto.jp\":!0,\"mifune.kumamoto.jp\":!0,\"minamata.kumamoto.jp\":!0,\"minamioguni.kumamoto.jp\":!0,\"nagasu.kumamoto.jp\":!0,\"nishihara.kumamoto.jp\":!0,\"oguni.kumamoto.jp\":!0,\"ozu.kumamoto.jp\":!0,\"sumoto.kumamoto.jp\":!0,\"takamori.kumamoto.jp\":!0,\"uki.kumamoto.jp\":!0,\"uto.kumamoto.jp\":!0,\"yamaga.kumamoto.jp\":!0,\"yamato.kumamoto.jp\":!0,\"yatsushiro.kumamoto.jp\":!0,\"ayabe.kyoto.jp\":!0,\"fukuchiyama.kyoto.jp\":!0,\"higashiyama.kyoto.jp\":!0,\"ide.kyoto.jp\":!0,\"ine.kyoto.jp\":!0,\"joyo.kyoto.jp\":!0,\"kameoka.kyoto.jp\":!0,\"kamo.kyoto.jp\":!0,\"kita.kyoto.jp\":!0,\"kizu.kyoto.jp\":!0,\"kumiyama.kyoto.jp\":!0,\"kyotamba.kyoto.jp\":!0,\"kyotanabe.kyoto.jp\":!0,\"kyotango.kyoto.jp\":!0,\"maizuru.kyoto.jp\":!0,\"minami.kyoto.jp\":!0,\"minamiyamashiro.kyoto.jp\":!0,\n\"miyazu.kyoto.jp\":!0,\"muko.kyoto.jp\":!0,\"nagaokakyo.kyoto.jp\":!0,\"nakagyo.kyoto.jp\":!0,\"nantan.kyoto.jp\":!0,\"oyamazaki.kyoto.jp\":!0,\"sakyo.kyoto.jp\":!0,\"seika.kyoto.jp\":!0,\"tanabe.kyoto.jp\":!0,\"uji.kyoto.jp\":!0,\"ujitawara.kyoto.jp\":!0,\"wazuka.kyoto.jp\":!0,\"yamashina.kyoto.jp\":!0,\"yawata.kyoto.jp\":!0,\"asahi.mie.jp\":!0,\"inabe.mie.jp\":!0,\"ise.mie.jp\":!0,\"kameyama.mie.jp\":!0,\"kawagoe.mie.jp\":!0,\"kiho.mie.jp\":!0,\"kisosaki.mie.jp\":!0,\"kiwa.mie.jp\":!0,\"komono.mie.jp\":!0,\"kumano.mie.jp\":!0,\"kuwana.mie.jp\":!0,\"matsusaka.mie.jp\":!0,\"meiwa.mie.jp\":!0,\"mihama.mie.jp\":!0,\"minamiise.mie.jp\":!0,\"misugi.mie.jp\":!0,\"miyama.mie.jp\":!0,\"nabari.mie.jp\":!0,\"shima.mie.jp\":!0,\"suzuka.mie.jp\":!0,\"tado.mie.jp\":!0,\"taiki.mie.jp\":!0,\"taki.mie.jp\":!0,\"tamaki.mie.jp\":!0,\"toba.mie.jp\":!0,\"tsu.mie.jp\":!0,\"udono.mie.jp\":!0,\"ureshino.mie.jp\":!0,\"watarai.mie.jp\":!0,\"yokkaichi.mie.jp\":!0,\"furukawa.miyagi.jp\":!0,\"higashimatsushima.miyagi.jp\":!0,\"ishinomaki.miyagi.jp\":!0,\"iwanuma.miyagi.jp\":!0,\"kakuda.miyagi.jp\":!0,\"kami.miyagi.jp\":!0,\"kawasaki.miyagi.jp\":!0,\"kesennuma.miyagi.jp\":!0,\"marumori.miyagi.jp\":!0,\"matsushima.miyagi.jp\":!0,\"minamisanriku.miyagi.jp\":!0,\"misato.miyagi.jp\":!0,\"murata.miyagi.jp\":!0,\"natori.miyagi.jp\":!0,\"ogawara.miyagi.jp\":!0,\"ohira.miyagi.jp\":!0,\"onagawa.miyagi.jp\":!0,\"osaki.miyagi.jp\":!0,\"rifu.miyagi.jp\":!0,\"semine.miyagi.jp\":!0,\"shibata.miyagi.jp\":!0,\"shichikashuku.miyagi.jp\":!0,\"shikama.miyagi.jp\":!0,\"shiogama.miyagi.jp\":!0,\"shiroishi.miyagi.jp\":!0,\"tagajo.miyagi.jp\":!0,\"taiwa.miyagi.jp\":!0,\"tome.miyagi.jp\":!0,\"tomiya.miyagi.jp\":!0,\"wakuya.miyagi.jp\":!0,\"watari.miyagi.jp\":!0,\"yamamoto.miyagi.jp\":!0,\"zao.miyagi.jp\":!0,\"aya.miyazaki.jp\":!0,\"ebino.miyazaki.jp\":!0,\"gokase.miyazaki.jp\":!0,\"hyuga.miyazaki.jp\":!0,\"kadogawa.miyazaki.jp\":!0,\"kawaminami.miyazaki.jp\":!0,\"kijo.miyazaki.jp\":!0,\"kitagawa.miyazaki.jp\":!0,\"kitakata.miyazaki.jp\":!0,\"kitaura.miyazaki.jp\":!0,\"kobayashi.miyazaki.jp\":!0,\"kunitomi.miyazaki.jp\":!0,\"kushima.miyazaki.jp\":!0,\"mimata.miyazaki.jp\":!0,\"miyakonojo.miyazaki.jp\":!0,\"miyazaki.miyazaki.jp\":!0,\"morotsuka.miyazaki.jp\":!0,\"nichinan.miyazaki.jp\":!0,\"nishimera.miyazaki.jp\":!0,\"nobeoka.miyazaki.jp\":!0,\"saito.miyazaki.jp\":!0,\"shiiba.miyazaki.jp\":!0,\"shintomi.miyazaki.jp\":!0,\"takaharu.miyazaki.jp\":!0,\"takanabe.miyazaki.jp\":!0,\"takazaki.miyazaki.jp\":!0,\"tsuno.miyazaki.jp\":!0,\"achi.nagano.jp\":!0,\"agematsu.nagano.jp\":!0,\"anan.nagano.jp\":!0,\"aoki.nagano.jp\":!0,\"asahi.nagano.jp\":!0,\"azumino.nagano.jp\":!0,\"chikuhoku.nagano.jp\":!0,\"chikuma.nagano.jp\":!0,\"chino.nagano.jp\":!0,\"fujimi.nagano.jp\":!0,\"hakuba.nagano.jp\":!0,\"hara.nagano.jp\":!0,\"hiraya.nagano.jp\":!0,\"iida.nagano.jp\":!0,\"iijima.nagano.jp\":!0,\"iiyama.nagano.jp\":!0,\"iizuna.nagano.jp\":!0,\"ikeda.nagano.jp\":!0,\"ikusaka.nagano.jp\":!0,\"ina.nagano.jp\":!0,\"karuizawa.nagano.jp\":!0,\"kawakami.nagano.jp\":!0,\"kiso.nagano.jp\":!0,\"kisofukushima.nagano.jp\":!0,\"kitaaiki.nagano.jp\":!0,\"komagane.nagano.jp\":!0,\"komoro.nagano.jp\":!0,\"matsukawa.nagano.jp\":!0,\"matsumoto.nagano.jp\":!0,\"miasa.nagano.jp\":!0,\"minamiaiki.nagano.jp\":!0,\"minamimaki.nagano.jp\":!0,\"minamiminowa.nagano.jp\":!0,\"minowa.nagano.jp\":!0,\"miyada.nagano.jp\":!0,\"miyota.nagano.jp\":!0,\"mochizuki.nagano.jp\":!0,\"nagano.nagano.jp\":!0,\"nagawa.nagano.jp\":!0,\"nagiso.nagano.jp\":!0,\"nakagawa.nagano.jp\":!0,\"nakano.nagano.jp\":!0,\"nozawaonsen.nagano.jp\":!0,\"obuse.nagano.jp\":!0,\"ogawa.nagano.jp\":!0,\"okaya.nagano.jp\":!0,\"omachi.nagano.jp\":!0,\"omi.nagano.jp\":!0,\"ookuwa.nagano.jp\":!0,\"ooshika.nagano.jp\":!0,\"otaki.nagano.jp\":!0,\"otari.nagano.jp\":!0,\"sakae.nagano.jp\":!0,\"sakaki.nagano.jp\":!0,\"saku.nagano.jp\":!0,\"sakuho.nagano.jp\":!0,\"shimosuwa.nagano.jp\":!0,\"shinanomachi.nagano.jp\":!0,\"shiojiri.nagano.jp\":!0,\"suwa.nagano.jp\":!0,\"suzaka.nagano.jp\":!0,\"takagi.nagano.jp\":!0,\"takamori.nagano.jp\":!0,\"takayama.nagano.jp\":!0,\"tateshina.nagano.jp\":!0,\"tatsuno.nagano.jp\":!0,\"togakushi.nagano.jp\":!0,\"togura.nagano.jp\":!0,\"tomi.nagano.jp\":!0,\"ueda.nagano.jp\":!0,\"wada.nagano.jp\":!0,\"yamagata.nagano.jp\":!0,\"yamanouchi.nagano.jp\":!0,\"yasaka.nagano.jp\":!0,\"yasuoka.nagano.jp\":!0,\"chijiwa.nagasaki.jp\":!0,\"futsu.nagasaki.jp\":!0,\"goto.nagasaki.jp\":!0,\"hasami.nagasaki.jp\":!0,\"hirado.nagasaki.jp\":!0,\"iki.nagasaki.jp\":!0,\"isahaya.nagasaki.jp\":!0,\"kawatana.nagasaki.jp\":!0,\"kuchinotsu.nagasaki.jp\":!0,\"matsuura.nagasaki.jp\":!0,\"nagasaki.nagasaki.jp\":!0,\"obama.nagasaki.jp\":!0,\"omura.nagasaki.jp\":!0,\"oseto.nagasaki.jp\":!0,\"saikai.nagasaki.jp\":!0,\"sasebo.nagasaki.jp\":!0,\"seihi.nagasaki.jp\":!0,\"shimabara.nagasaki.jp\":!0,\"shinkamigoto.nagasaki.jp\":!0,\"togitsu.nagasaki.jp\":!0,\"tsushima.nagasaki.jp\":!0,\"unzen.nagasaki.jp\":!0,\"ando.nara.jp\":!0,\"gose.nara.jp\":!0,\"heguri.nara.jp\":!0,\"higashiyoshino.nara.jp\":!0,\"ikaruga.nara.jp\":!0,\"ikoma.nara.jp\":!0,\"kamikitayama.nara.jp\":!0,\"kanmaki.nara.jp\":!0,\"kashiba.nara.jp\":!0,\"kashihara.nara.jp\":!0,\"katsuragi.nara.jp\":!0,\"kawai.nara.jp\":!0,\"kawakami.nara.jp\":!0,\"kawanishi.nara.jp\":!0,\"koryo.nara.jp\":!0,\"kurotaki.nara.jp\":!0,\"mitsue.nara.jp\":!0,\"miyake.nara.jp\":!0,\"nara.nara.jp\":!0,\"nosegawa.nara.jp\":!0,\"oji.nara.jp\":!0,\"ouda.nara.jp\":!0,\"oyodo.nara.jp\":!0,\"sakurai.nara.jp\":!0,\"sango.nara.jp\":!0,\"shimoichi.nara.jp\":!0,\"shimokitayama.nara.jp\":!0,\"shinjo.nara.jp\":!0,\"soni.nara.jp\":!0,\"takatori.nara.jp\":!0,\"tawaramoto.nara.jp\":!0,\"tenkawa.nara.jp\":!0,\"tenri.nara.jp\":!0,\"uda.nara.jp\":!0,\"yamatokoriyama.nara.jp\":!0,\"yamatotakada.nara.jp\":!0,\"yamazoe.nara.jp\":!0,\"yoshino.nara.jp\":!0,\"aga.niigata.jp\":!0,\"agano.niigata.jp\":!0,\"gosen.niigata.jp\":!0,\"itoigawa.niigata.jp\":!0,\"izumozaki.niigata.jp\":!0,\"joetsu.niigata.jp\":!0,\"kamo.niigata.jp\":!0,\"kariwa.niigata.jp\":!0,\"kashiwazaki.niigata.jp\":!0,\"minamiuonuma.niigata.jp\":!0,\"mitsuke.niigata.jp\":!0,\"muika.niigata.jp\":!0,\"murakami.niigata.jp\":!0,\"myoko.niigata.jp\":!0,\"nagaoka.niigata.jp\":!0,\"niigata.niigata.jp\":!0,\"ojiya.niigata.jp\":!0,\"omi.niigata.jp\":!0,\"sado.niigata.jp\":!0,\"sanjo.niigata.jp\":!0,\"seiro.niigata.jp\":!0,\"seirou.niigata.jp\":!0,\"sekikawa.niigata.jp\":!0,\"shibata.niigata.jp\":!0,\"tagami.niigata.jp\":!0,\"tainai.niigata.jp\":!0,\"tochio.niigata.jp\":!0,\"tokamachi.niigata.jp\":!0,\"tsubame.niigata.jp\":!0,\"tsunan.niigata.jp\":!0,\"uonuma.niigata.jp\":!0,\"yahiko.niigata.jp\":!0,\"yoita.niigata.jp\":!0,\"yuzawa.niigata.jp\":!0,\"beppu.oita.jp\":!0,\"bungoono.oita.jp\":!0,\"bungotakada.oita.jp\":!0,\"hasama.oita.jp\":!0,\"hiji.oita.jp\":!0,\"himeshima.oita.jp\":!0,\"hita.oita.jp\":!0,\"kamitsue.oita.jp\":!0,\"kokonoe.oita.jp\":!0,\"kuju.oita.jp\":!0,\"kunisaki.oita.jp\":!0,\"kusu.oita.jp\":!0,\"oita.oita.jp\":!0,\"saiki.oita.jp\":!0,\"taketa.oita.jp\":!0,\"tsukumi.oita.jp\":!0,\"usa.oita.jp\":!0,\"usuki.oita.jp\":!0,\"yufu.oita.jp\":!0,\"akaiwa.okayama.jp\":!0,\"asakuchi.okayama.jp\":!0,\"bizen.okayama.jp\":!0,\"hayashima.okayama.jp\":!0,\"ibara.okayama.jp\":!0,\"kagamino.okayama.jp\":!0,\"kasaoka.okayama.jp\":!0,\"kibichuo.okayama.jp\":!0,\"kumenan.okayama.jp\":!0,\"kurashiki.okayama.jp\":!0,\"maniwa.okayama.jp\":!0,\"misaki.okayama.jp\":!0,\"nagi.okayama.jp\":!0,\"niimi.okayama.jp\":!0,\"nishiawakura.okayama.jp\":!0,\"okayama.okayama.jp\":!0,\"satosho.okayama.jp\":!0,\"setouchi.okayama.jp\":!0,\"shinjo.okayama.jp\":!0,\"shoo.okayama.jp\":!0,\"soja.okayama.jp\":!0,\"takahashi.okayama.jp\":!0,\"tamano.okayama.jp\":!0,\"tsuyama.okayama.jp\":!0,\"wake.okayama.jp\":!0,\"yakage.okayama.jp\":!0,\"aguni.okinawa.jp\":!0,\"ginowan.okinawa.jp\":!0,\"ginoza.okinawa.jp\":!0,\"gushikami.okinawa.jp\":!0,\"haebaru.okinawa.jp\":!0,\"higashi.okinawa.jp\":!0,\"hirara.okinawa.jp\":!0,\"iheya.okinawa.jp\":!0,\"ishigaki.okinawa.jp\":!0,\"ishikawa.okinawa.jp\":!0,\"itoman.okinawa.jp\":!0,\"izena.okinawa.jp\":!0,\"kadena.okinawa.jp\":!0,\"kin.okinawa.jp\":!0,\"kitadaito.okinawa.jp\":!0,\"kitanakagusuku.okinawa.jp\":!0,\"kumejima.okinawa.jp\":!0,\"kunigami.okinawa.jp\":!0,\"minamidaito.okinawa.jp\":!0,\"motobu.okinawa.jp\":!0,\"nago.okinawa.jp\":!0,\"naha.okinawa.jp\":!0,\"nakagusuku.okinawa.jp\":!0,\"nakijin.okinawa.jp\":!0,\"nanjo.okinawa.jp\":!0,\"nishihara.okinawa.jp\":!0,\"ogimi.okinawa.jp\":!0,\"okinawa.okinawa.jp\":!0,\"onna.okinawa.jp\":!0,\"shimoji.okinawa.jp\":!0,\"taketomi.okinawa.jp\":!0,\"tarama.okinawa.jp\":!0,\"tokashiki.okinawa.jp\":!0,\"tomigusuku.okinawa.jp\":!0,\"tonaki.okinawa.jp\":!0,\"urasoe.okinawa.jp\":!0,\"uruma.okinawa.jp\":!0,\"yaese.okinawa.jp\":!0,\"yomitan.okinawa.jp\":!0,\"yonabaru.okinawa.jp\":!0,\"yonaguni.okinawa.jp\":!0,\"zamami.okinawa.jp\":!0,\"abeno.osaka.jp\":!0,\"chihayaakasaka.osaka.jp\":!0,\"chuo.osaka.jp\":!0,\"daito.osaka.jp\":!0,\"fujiidera.osaka.jp\":!0,\"habikino.osaka.jp\":!0,\"hannan.osaka.jp\":!0,\"higashiosaka.osaka.jp\":!0,\"higashisumiyoshi.osaka.jp\":!0,\"higashiyodogawa.osaka.jp\":!0,\"hirakata.osaka.jp\":!0,\"ibaraki.osaka.jp\":!0,\"ikeda.osaka.jp\":!0,\"izumi.osaka.jp\":!0,\"izumiotsu.osaka.jp\":!0,\"izumisano.osaka.jp\":!0,\"kadoma.osaka.jp\":!0,\"kaizuka.osaka.jp\":!0,\"kanan.osaka.jp\":!0,\"kashiwara.osaka.jp\":!0,\"katano.osaka.jp\":!0,\"kawachinagano.osaka.jp\":!0,\"kishiwada.osaka.jp\":!0,\"kita.osaka.jp\":!0,\"kumatori.osaka.jp\":!0,\"matsubara.osaka.jp\":!0,\"minato.osaka.jp\":!0,\"minoh.osaka.jp\":!0,\"misaki.osaka.jp\":!0,\"moriguchi.osaka.jp\":!0,\"neyagawa.osaka.jp\":!0,\"nishi.osaka.jp\":!0,\"nose.osaka.jp\":!0,\"osakasayama.osaka.jp\":!0,\"sakai.osaka.jp\":!0,\"sayama.osaka.jp\":!0,\"sennan.osaka.jp\":!0,\"settsu.osaka.jp\":!0,\"shijonawate.osaka.jp\":!0,\"shimamoto.osaka.jp\":!0,\"suita.osaka.jp\":!0,\"tadaoka.osaka.jp\":!0,\"taishi.osaka.jp\":!0,\"tajiri.osaka.jp\":!0,\"takaishi.osaka.jp\":!0,\"takatsuki.osaka.jp\":!0,\"tondabayashi.osaka.jp\":!0,\"toyonaka.osaka.jp\":!0,\"toyono.osaka.jp\":!0,\"yao.osaka.jp\":!0,\"ariake.saga.jp\":!0,\"arita.saga.jp\":!0,\"fukudomi.saga.jp\":!0,\"genkai.saga.jp\":!0,\"hamatama.saga.jp\":!0,\"hizen.saga.jp\":!0,\"imari.saga.jp\":!0,\"kamimine.saga.jp\":!0,\"kanzaki.saga.jp\":!0,\"karatsu.saga.jp\":!0,\"kashima.saga.jp\":!0,\"kitagata.saga.jp\":!0,\"kitahata.saga.jp\":!0,\"kiyama.saga.jp\":!0,\"kouhoku.saga.jp\":!0,\"kyuragi.saga.jp\":!0,\"nishiarita.saga.jp\":!0,\"ogi.saga.jp\":!0,\"omachi.saga.jp\":!0,\"ouchi.saga.jp\":!0,\"saga.saga.jp\":!0,\"shiroishi.saga.jp\":!0,\"taku.saga.jp\":!0,\"tara.saga.jp\":!0,\"tosu.saga.jp\":!0,\"yoshinogari.saga.jp\":!0,\"arakawa.saitama.jp\":!0,\"asaka.saitama.jp\":!0,\"chichibu.saitama.jp\":!0,\"fujimi.saitama.jp\":!0,\"fujimino.saitama.jp\":!0,\"fukaya.saitama.jp\":!0,\"hanno.saitama.jp\":!0,\"hanyu.saitama.jp\":!0,\"hasuda.saitama.jp\":!0,\"hatogaya.saitama.jp\":!0,\"hatoyama.saitama.jp\":!0,\"hidaka.saitama.jp\":!0,\"higashichichibu.saitama.jp\":!0,\"higashimatsuyama.saitama.jp\":!0,\"honjo.saitama.jp\":!0,\"ina.saitama.jp\":!0,\"iruma.saitama.jp\":!0,\"iwatsuki.saitama.jp\":!0,\"kamiizumi.saitama.jp\":!0,\"kamikawa.saitama.jp\":!0,\"kamisato.saitama.jp\":!0,\"kasukabe.saitama.jp\":!0,\"kawagoe.saitama.jp\":!0,\"kawaguchi.saitama.jp\":!0,\"kawajima.saitama.jp\":!0,\"kazo.saitama.jp\":!0,\"kitamoto.saitama.jp\":!0,\"koshigaya.saitama.jp\":!0,\"kounosu.saitama.jp\":!0,\"kuki.saitama.jp\":!0,\"kumagaya.saitama.jp\":!0,\"matsubushi.saitama.jp\":!0,\"minano.saitama.jp\":!0,\"misato.saitama.jp\":!0,\"miyashiro.saitama.jp\":!0,\"miyoshi.saitama.jp\":!0,\"moroyama.saitama.jp\":!0,\"nagatoro.saitama.jp\":!0,\"namegawa.saitama.jp\":!0,\"niiza.saitama.jp\":!0,\"ogano.saitama.jp\":!0,\"ogawa.saitama.jp\":!0,\"ogose.saitama.jp\":!0,\"okegawa.saitama.jp\":!0,\"omiya.saitama.jp\":!0,\"otaki.saitama.jp\":!0,\"ranzan.saitama.jp\":!0,\"ryokami.saitama.jp\":!0,\"saitama.saitama.jp\":!0,\"sakado.saitama.jp\":!0,\"satte.saitama.jp\":!0,\"sayama.saitama.jp\":!0,\"shiki.saitama.jp\":!0,\"shiraoka.saitama.jp\":!0,\"soka.saitama.jp\":!0,\"sugito.saitama.jp\":!0,\"toda.saitama.jp\":!0,\"tokigawa.saitama.jp\":!0,\"tokorozawa.saitama.jp\":!0,\"tsurugashima.saitama.jp\":!0,\"urawa.saitama.jp\":!0,\"warabi.saitama.jp\":!0,\"yashio.saitama.jp\":!0,\"yokoze.saitama.jp\":!0,\"yono.saitama.jp\":!0,\"yorii.saitama.jp\":!0,\"yoshida.saitama.jp\":!0,\"yoshikawa.saitama.jp\":!0,\"yoshimi.saitama.jp\":!0,\"aisho.shiga.jp\":!0,\"gamo.shiga.jp\":!0,\"higashiomi.shiga.jp\":!0,\"hikone.shiga.jp\":!0,\"koka.shiga.jp\":!0,\"konan.shiga.jp\":!0,\"kosei.shiga.jp\":!0,\"koto.shiga.jp\":!0,\"kusatsu.shiga.jp\":!0,\"maibara.shiga.jp\":!0,\"moriyama.shiga.jp\":!0,\"nagahama.shiga.jp\":!0,\"nishiazai.shiga.jp\":!0,\"notogawa.shiga.jp\":!0,\"omihachiman.shiga.jp\":!0,\"otsu.shiga.jp\":!0,\"ritto.shiga.jp\":!0,\"ryuoh.shiga.jp\":!0,\"takashima.shiga.jp\":!0,\"takatsuki.shiga.jp\":!0,\"torahime.shiga.jp\":!0,\"toyosato.shiga.jp\":!0,\"yasu.shiga.jp\":!0,\"akagi.shimane.jp\":!0,\"ama.shimane.jp\":!0,\"gotsu.shimane.jp\":!0,\"hamada.shimane.jp\":!0,\"higashiizumo.shimane.jp\":!0,\"hikawa.shimane.jp\":!0,\"hikimi.shimane.jp\":!0,\"izumo.shimane.jp\":!0,\"kakinoki.shimane.jp\":!0,\"masuda.shimane.jp\":!0,\"matsue.shimane.jp\":!0,\"misato.shimane.jp\":!0,\"nishinoshima.shimane.jp\":!0,\"ohda.shimane.jp\":!0,\"okinoshima.shimane.jp\":!0,\"okuizumo.shimane.jp\":!0,\"shimane.shimane.jp\":!0,\"tamayu.shimane.jp\":!0,\"tsuwano.shimane.jp\":!0,\"unnan.shimane.jp\":!0,\"yakumo.shimane.jp\":!0,\"yasugi.shimane.jp\":!0,\"yatsuka.shimane.jp\":!0,\"arai.shizuoka.jp\":!0,\"atami.shizuoka.jp\":!0,\"fuji.shizuoka.jp\":!0,\"fujieda.shizuoka.jp\":!0,\"fujikawa.shizuoka.jp\":!0,\"fujinomiya.shizuoka.jp\":!0,\"fukuroi.shizuoka.jp\":!0,\"gotemba.shizuoka.jp\":!0,\"haibara.shizuoka.jp\":!0,\"hamamatsu.shizuoka.jp\":!0,\"higashiizu.shizuoka.jp\":!0,\"ito.shizuoka.jp\":!0,\"iwata.shizuoka.jp\":!0,\"izu.shizuoka.jp\":!0,\"izunokuni.shizuoka.jp\":!0,\"kakegawa.shizuoka.jp\":!0,\"kannami.shizuoka.jp\":!0,\"kawanehon.shizuoka.jp\":!0,\"kawazu.shizuoka.jp\":!0,\"kikugawa.shizuoka.jp\":!0,\"kosai.shizuoka.jp\":!0,\"makinohara.shizuoka.jp\":!0,\"matsuzaki.shizuoka.jp\":!0,\"minamiizu.shizuoka.jp\":!0,\"mishima.shizuoka.jp\":!0,\"morimachi.shizuoka.jp\":!0,\"nishiizu.shizuoka.jp\":!0,\"numazu.shizuoka.jp\":!0,\"omaezaki.shizuoka.jp\":!0,\"shimada.shizuoka.jp\":!0,\"shimizu.shizuoka.jp\":!0,\"shimoda.shizuoka.jp\":!0,\"shizuoka.shizuoka.jp\":!0,\"susono.shizuoka.jp\":!0,\"yaizu.shizuoka.jp\":!0,\"yoshida.shizuoka.jp\":!0,\"ashikaga.tochigi.jp\":!0,\"bato.tochigi.jp\":!0,\"haga.tochigi.jp\":!0,\"ichikai.tochigi.jp\":!0,\"iwafune.tochigi.jp\":!0,\"kaminokawa.tochigi.jp\":!0,\"kanuma.tochigi.jp\":!0,\"karasuyama.tochigi.jp\":!0,\"kuroiso.tochigi.jp\":!0,\"mashiko.tochigi.jp\":!0,\"mibu.tochigi.jp\":!0,\"moka.tochigi.jp\":!0,\"motegi.tochigi.jp\":!0,\"nasu.tochigi.jp\":!0,\"nasushiobara.tochigi.jp\":!0,\"nikko.tochigi.jp\":!0,\"nishikata.tochigi.jp\":!0,\"nogi.tochigi.jp\":!0,\"ohira.tochigi.jp\":!0,\"ohtawara.tochigi.jp\":!0,\"oyama.tochigi.jp\":!0,\"sakura.tochigi.jp\":!0,\"sano.tochigi.jp\":!0,\"shimotsuke.tochigi.jp\":!0,\"shioya.tochigi.jp\":!0,\"takanezawa.tochigi.jp\":!0,\"tochigi.tochigi.jp\":!0,\"tsuga.tochigi.jp\":!0,\"ujiie.tochigi.jp\":!0,\"utsunomiya.tochigi.jp\":!0,\"yaita.tochigi.jp\":!0,\"aizumi.tokushima.jp\":!0,\"anan.tokushima.jp\":!0,\"ichiba.tokushima.jp\":!0,\"itano.tokushima.jp\":!0,\"kainan.tokushima.jp\":!0,\"komatsushima.tokushima.jp\":!0,\"matsushige.tokushima.jp\":!0,\"mima.tokushima.jp\":!0,\"minami.tokushima.jp\":!0,\"miyoshi.tokushima.jp\":!0,\"mugi.tokushima.jp\":!0,\"nakagawa.tokushima.jp\":!0,\"naruto.tokushima.jp\":!0,\"sanagochi.tokushima.jp\":!0,\"shishikui.tokushima.jp\":!0,\"tokushima.tokushima.jp\":!0,\"wajiki.tokushima.jp\":!0,\"adachi.tokyo.jp\":!0,\"akiruno.tokyo.jp\":!0,\"akishima.tokyo.jp\":!0,\"aogashima.tokyo.jp\":!0,\"arakawa.tokyo.jp\":!0,\"bunkyo.tokyo.jp\":!0,\"chiyoda.tokyo.jp\":!0,\"chofu.tokyo.jp\":!0,\"chuo.tokyo.jp\":!0,\"edogawa.tokyo.jp\":!0,\"fuchu.tokyo.jp\":!0,\"fussa.tokyo.jp\":!0,\"hachijo.tokyo.jp\":!0,\"hachioji.tokyo.jp\":!0,\"hamura.tokyo.jp\":!0,\"higashikurume.tokyo.jp\":!0,\"higashimurayama.tokyo.jp\":!0,\"higashiyamato.tokyo.jp\":!0,\"hino.tokyo.jp\":!0,\"hinode.tokyo.jp\":!0,\"hinohara.tokyo.jp\":!0,\"inagi.tokyo.jp\":!0,\"itabashi.tokyo.jp\":!0,\"katsushika.tokyo.jp\":!0,\"kita.tokyo.jp\":!0,\"kiyose.tokyo.jp\":!0,\"kodaira.tokyo.jp\":!0,\"koganei.tokyo.jp\":!0,\"kokubunji.tokyo.jp\":!0,\"komae.tokyo.jp\":!0,\"koto.tokyo.jp\":!0,\"kouzushima.tokyo.jp\":!0,\"kunitachi.tokyo.jp\":!0,\"machida.tokyo.jp\":!0,\"meguro.tokyo.jp\":!0,\"minato.tokyo.jp\":!0,\"mitaka.tokyo.jp\":!0,\"mizuho.tokyo.jp\":!0,\"musashimurayama.tokyo.jp\":!0,\"musashino.tokyo.jp\":!0,\"nakano.tokyo.jp\":!0,\"nerima.tokyo.jp\":!0,\"ogasawara.tokyo.jp\":!0,\"okutama.tokyo.jp\":!0,\"ome.tokyo.jp\":!0,\"oshima.tokyo.jp\":!0,\"ota.tokyo.jp\":!0,\"setagaya.tokyo.jp\":!0,\"shibuya.tokyo.jp\":!0,\"shinagawa.tokyo.jp\":!0,\"shinjuku.tokyo.jp\":!0,\"suginami.tokyo.jp\":!0,\"sumida.tokyo.jp\":!0,\"tachikawa.tokyo.jp\":!0,\"taito.tokyo.jp\":!0,\"tama.tokyo.jp\":!0,\"toshima.tokyo.jp\":!0,\"chizu.tottori.jp\":!0,\"hino.tottori.jp\":!0,\"kawahara.tottori.jp\":!0,\"koge.tottori.jp\":!0,\"kotoura.tottori.jp\":!0,\"misasa.tottori.jp\":!0,\"nanbu.tottori.jp\":!0,\"nichinan.tottori.jp\":!0,\"sakaiminato.tottori.jp\":!0,\"tottori.tottori.jp\":!0,\"wakasa.tottori.jp\":!0,\"yazu.tottori.jp\":!0,\"yonago.tottori.jp\":!0,\"asahi.toyama.jp\":!0,\"fuchu.toyama.jp\":!0,\"fukumitsu.toyama.jp\":!0,\"funahashi.toyama.jp\":!0,\"himi.toyama.jp\":!0,\"imizu.toyama.jp\":!0,\"inami.toyama.jp\":!0,\"johana.toyama.jp\":!0,\"kamiichi.toyama.jp\":!0,\"kurobe.toyama.jp\":!0,\"nakaniikawa.toyama.jp\":!0,\"namerikawa.toyama.jp\":!0,\"nanto.toyama.jp\":!0,\"nyuzen.toyama.jp\":!0,\"oyabe.toyama.jp\":!0,\"taira.toyama.jp\":!0,\"takaoka.toyama.jp\":!0,\"tateyama.toyama.jp\":!0,\"toga.toyama.jp\":!0,\"tonami.toyama.jp\":!0,\"toyama.toyama.jp\":!0,\"unazuki.toyama.jp\":!0,\"uozu.toyama.jp\":!0,\"yamada.toyama.jp\":!0,\"arida.wakayama.jp\":!0,\"aridagawa.wakayama.jp\":!0,\"gobo.wakayama.jp\":!0,\"hashimoto.wakayama.jp\":!0,\"hidaka.wakayama.jp\":!0,\"hirogawa.wakayama.jp\":!0,\"inami.wakayama.jp\":!0,\"iwade.wakayama.jp\":!0,\"kainan.wakayama.jp\":!0,\"kamitonda.wakayama.jp\":!0,\"katsuragi.wakayama.jp\":!0,\"kimino.wakayama.jp\":!0,\"kinokawa.wakayama.jp\":!0,\"kitayama.wakayama.jp\":!0,\"koya.wakayama.jp\":!0,\"koza.wakayama.jp\":!0,\"kozagawa.wakayama.jp\":!0,\"kudoyama.wakayama.jp\":!0,\"kushimoto.wakayama.jp\":!0,\"mihama.wakayama.jp\":!0,\"misato.wakayama.jp\":!0,\"nachikatsuura.wakayama.jp\":!0,\"shingu.wakayama.jp\":!0,\"shirahama.wakayama.jp\":!0,\"taiji.wakayama.jp\":!0,\"tanabe.wakayama.jp\":!0,\"wakayama.wakayama.jp\":!0,\"yuasa.wakayama.jp\":!0,\"yura.wakayama.jp\":!0,\"asahi.yamagata.jp\":!0,\"funagata.yamagata.jp\":!0,\"higashine.yamagata.jp\":!0,\"iide.yamagata.jp\":!0,\"kahoku.yamagata.jp\":!0,\"kaminoyama.yamagata.jp\":!0,\"kaneyama.yamagata.jp\":!0,\"kawanishi.yamagata.jp\":!0,\"mamurogawa.yamagata.jp\":!0,\"mikawa.yamagata.jp\":!0,\"murayama.yamagata.jp\":!0,\"nagai.yamagata.jp\":!0,\"nakayama.yamagata.jp\":!0,\"nanyo.yamagata.jp\":!0,\"nishikawa.yamagata.jp\":!0,\"obanazawa.yamagata.jp\":!0,\"oe.yamagata.jp\":!0,\"oguni.yamagata.jp\":!0,\"ohkura.yamagata.jp\":!0,\"oishida.yamagata.jp\":!0,\"sagae.yamagata.jp\":!0,\"sakata.yamagata.jp\":!0,\"sakegawa.yamagata.jp\":!0,\"shinjo.yamagata.jp\":!0,\"shirataka.yamagata.jp\":!0,\"shonai.yamagata.jp\":!0,\"takahata.yamagata.jp\":!0,\"tendo.yamagata.jp\":!0,\"tozawa.yamagata.jp\":!0,\"tsuruoka.yamagata.jp\":!0,\"yamagata.yamagata.jp\":!0,\"yamanobe.yamagata.jp\":!0,\"yonezawa.yamagata.jp\":!0,\"yuza.yamagata.jp\":!0,\"abu.yamaguchi.jp\":!0,\"hagi.yamaguchi.jp\":!0,\"hikari.yamaguchi.jp\":!0,\"hofu.yamaguchi.jp\":!0,\"iwakuni.yamaguchi.jp\":!0,\"kudamatsu.yamaguchi.jp\":!0,\"mitou.yamaguchi.jp\":!0,\"nagato.yamaguchi.jp\":!0,\"oshima.yamaguchi.jp\":!0,\"shimonoseki.yamaguchi.jp\":!0,\"shunan.yamaguchi.jp\":!0,\"tabuse.yamaguchi.jp\":!0,\"tokuyama.yamaguchi.jp\":!0,\"toyota.yamaguchi.jp\":!0,\"ube.yamaguchi.jp\":!0,\"yuu.yamaguchi.jp\":!0,\"chuo.yamanashi.jp\":!0,\"doshi.yamanashi.jp\":!0,\"fuefuki.yamanashi.jp\":!0,\"fujikawa.yamanashi.jp\":!0,\"fujikawaguchiko.yamanashi.jp\":!0,\"fujiyoshida.yamanashi.jp\":!0,\"hayakawa.yamanashi.jp\":!0,\"hokuto.yamanashi.jp\":!0,\"ichikawamisato.yamanashi.jp\":!0,\"kai.yamanashi.jp\":!0,\"kofu.yamanashi.jp\":!0,\"koshu.yamanashi.jp\":!0,\"kosuge.yamanashi.jp\":!0,\"minami-alps.yamanashi.jp\":!0,\"minobu.yamanashi.jp\":!0,\"nakamichi.yamanashi.jp\":!0,\"nanbu.yamanashi.jp\":!0,\"narusawa.yamanashi.jp\":!0,\"nirasaki.yamanashi.jp\":!0,\"nishikatsura.yamanashi.jp\":!0,\"oshino.yamanashi.jp\":!0,\"otsuki.yamanashi.jp\":!0,\"showa.yamanashi.jp\":!0,\"tabayama.yamanashi.jp\":!0,\"tsuru.yamanashi.jp\":!0,\"uenohara.yamanashi.jp\":!0,\"yamanakako.yamanashi.jp\":!0,\"yamanashi.yamanashi.jp\":!0,\"*.ke\":!0,kg:!0,\"org.kg\":!0,\"net.kg\":!0,\"com.kg\":!0,\"edu.kg\":!0,\"gov.kg\":!0,\"mil.kg\":!0,\"*.kh\":!0,ki:!0,\"edu.ki\":!0,\"biz.ki\":!0,\"net.ki\":!0,\"org.ki\":!0,\"gov.ki\":!0,\"info.ki\":!0,\"com.ki\":!0,km:!0,\"org.km\":!0,\"nom.km\":!0,\"gov.km\":!0,\"prd.km\":!0,\"tm.km\":!0,\"edu.km\":!0,\"mil.km\":!0,\"ass.km\":!0,\"com.km\":!0,\"coop.km\":!0,\"asso.km\":!0,\"presse.km\":!0,\"medecin.km\":!0,\"notaires.km\":!0,\"pharmaciens.km\":!0,\"veterinaire.km\":!0,\"gouv.km\":!0,kn:!0,\"net.kn\":!0,\"org.kn\":!0,\"edu.kn\":!0,\"gov.kn\":!0,kp:!0,\"com.kp\":!0,\"edu.kp\":!0,\"gov.kp\":!0,\"org.kp\":!0,\"rep.kp\":!0,\"tra.kp\":!0,kr:!0,\"ac.kr\":!0,\"co.kr\":!0,\"es.kr\":!0,\"go.kr\":!0,\"hs.kr\":!0,\"kg.kr\":!0,\"mil.kr\":!0,\"ms.kr\":!0,\"ne.kr\":!0,\"or.kr\":!0,\"pe.kr\":!0,\"re.kr\":!0,\"sc.kr\":!0,\"busan.kr\":!0,\"chungbuk.kr\":!0,\"chungnam.kr\":!0,\"daegu.kr\":!0,\"daejeon.kr\":!0,\"gangwon.kr\":!0,\"gwangju.kr\":!0,\"gyeongbuk.kr\":!0,\"gyeonggi.kr\":!0,\"gyeongnam.kr\":!0,\"incheon.kr\":!0,\"jeju.kr\":!0,\"jeonbuk.kr\":!0,\"jeonnam.kr\":!0,\"seoul.kr\":!0,\"ulsan.kr\":!0,\"*.kw\":!0,ky:!0,\"edu.ky\":!0,\"gov.ky\":!0,\"com.ky\":!0,\"org.ky\":!0,\"net.ky\":!0,kz:!0,\"org.kz\":!0,\"edu.kz\":!0,\"net.kz\":!0,\"gov.kz\":!0,\"mil.kz\":!0,\"com.kz\":!0,la:!0,\"int.la\":!0,\"net.la\":!0,\"info.la\":!0,\"edu.la\":!0,\"gov.la\":!0,\"per.la\":!0,\"com.la\":!0,\"org.la\":!0,lb:!0,\"com.lb\":!0,\"edu.lb\":!0,\"gov.lb\":!0,\"net.lb\":!0,\"org.lb\":!0,lc:!0,\"com.lc\":!0,\"net.lc\":!0,\"co.lc\":!0,\"org.lc\":!0,\"edu.lc\":!0,\"gov.lc\":!0,li:!0,lk:!0,\"gov.lk\":!0,\"sch.lk\":!0,\"net.lk\":!0,\"int.lk\":!0,\"com.lk\":!0,\"org.lk\":!0,\"edu.lk\":!0,\"ngo.lk\":!0,\"soc.lk\":!0,\"web.lk\":!0,\"ltd.lk\":!0,\"assn.lk\":!0,\"grp.lk\":!0,\"hotel.lk\":!0,\"ac.lk\":!0,lr:!0,\"com.lr\":!0,\"edu.lr\":!0,\"gov.lr\":!0,\"org.lr\":!0,\"net.lr\":!0,ls:!0,\"co.ls\":!0,\"org.ls\":!0,lt:!0,\"gov.lt\":!0,lu:!0,lv:!0,\"com.lv\":!0,\"edu.lv\":!0,\"gov.lv\":!0,\"org.lv\":!0,\"mil.lv\":!0,\"id.lv\":!0,\"net.lv\":!0,\"asn.lv\":!0,\"conf.lv\":!0,ly:!0,\"com.ly\":!0,\"net.ly\":!0,\"gov.ly\":!0,\"plc.ly\":!0,\"edu.ly\":!0,\"sch.ly\":!0,\"med.ly\":!0,\"org.ly\":!0,\"id.ly\":!0,ma:!0,\"co.ma\":!0,\"net.ma\":!0,\"gov.ma\":!0,\"org.ma\":!0,\"ac.ma\":!0,\"press.ma\":!0,mc:!0,\"tm.mc\":!0,\"asso.mc\":!0,md:!0,me:!0,\"co.me\":!0,\"net.me\":!0,\"org.me\":!0,\"edu.me\":!0,\"ac.me\":!0,\"gov.me\":!0,\"its.me\":!0,\"priv.me\":!0,mg:!0,\"org.mg\":!0,\"nom.mg\":!0,\"gov.mg\":!0,\"prd.mg\":!0,\"tm.mg\":!0,\"edu.mg\":!0,\"mil.mg\":!0,\"com.mg\":!0,\"co.mg\":!0,mh:!0,mil:!0,mk:!0,\"com.mk\":!0,\"org.mk\":!0,\"net.mk\":!0,\"edu.mk\":!0,\"gov.mk\":!0,\"inf.mk\":!0,\"name.mk\":!0,ml:!0,\"com.ml\":!0,\"edu.ml\":!0,\"gouv.ml\":!0,\"gov.ml\":!0,\"net.ml\":!0,\"org.ml\":!0,\"presse.ml\":!0,\"*.mm\":!0,mn:!0,\"gov.mn\":!0,\"edu.mn\":!0,\"org.mn\":!0,mo:!0,\"com.mo\":!0,\"net.mo\":!0,\"org.mo\":!0,\"edu.mo\":!0,\"gov.mo\":!0,mobi:!0,mp:!0,mq:!0,mr:!0,\"gov.mr\":!0,ms:!0,\"com.ms\":!0,\"edu.ms\":!0,\"gov.ms\":!0,\"net.ms\":!0,\"org.ms\":!0,mt:!0,\"com.mt\":!0,\"edu.mt\":!0,\"net.mt\":!0,\"org.mt\":!0,mu:!0,\"com.mu\":!0,\"net.mu\":!0,\"org.mu\":!0,\"gov.mu\":!0,\"ac.mu\":!0,\"co.mu\":!0,\"or.mu\":!0,museum:!0,\"academy.museum\":!0,\"agriculture.museum\":!0,\"air.museum\":!0,\"airguard.museum\":!0,\"alabama.museum\":!0,\"alaska.museum\":!0,\"amber.museum\":!0,\"ambulance.museum\":!0,\"american.museum\":!0,\"americana.museum\":!0,\"americanantiques.museum\":!0,\"americanart.museum\":!0,\"amsterdam.museum\":!0,\"and.museum\":!0,\"annefrank.museum\":!0,\"anthro.museum\":!0,\"anthropology.museum\":!0,\"antiques.museum\":!0,\"aquarium.museum\":!0,\"arboretum.museum\":!0,\"archaeological.museum\":!0,\"archaeology.museum\":!0,\"architecture.museum\":!0,\"art.museum\":!0,\"artanddesign.museum\":!0,\"artcenter.museum\":!0,\"artdeco.museum\":!0,\"arteducation.museum\":!0,\"artgallery.museum\":!0,\"arts.museum\":!0,\"artsandcrafts.museum\":!0,\"asmatart.museum\":!0,\"assassination.museum\":!0,\"assisi.museum\":!0,\"association.museum\":!0,\"astronomy.museum\":!0,\"atlanta.museum\":!0,\"austin.museum\":!0,\"australia.museum\":!0,\"automotive.museum\":!0,\"aviation.museum\":!0,\"axis.museum\":!0,\"badajoz.museum\":!0,\"baghdad.museum\":!0,\"bahn.museum\":!0,\"bale.museum\":!0,\"baltimore.museum\":!0,\"barcelona.museum\":!0,\"baseball.museum\":!0,\"basel.museum\":!0,\"baths.museum\":!0,\"bauern.museum\":!0,\"beauxarts.museum\":!0,\"beeldengeluid.museum\":!0,\"bellevue.museum\":!0,\"bergbau.museum\":!0,\"berkeley.museum\":!0,\"berlin.museum\":!0,\"bern.museum\":!0,\"bible.museum\":!0,\"bilbao.museum\":!0,\"bill.museum\":!0,\"birdart.museum\":!0,\"birthplace.museum\":!0,\"bonn.museum\":!0,\"boston.museum\":!0,\"botanical.museum\":!0,\"botanicalgarden.museum\":!0,\"botanicgarden.museum\":!0,\"botany.museum\":!0,\"brandywinevalley.museum\":!0,\"brasil.museum\":!0,\"bristol.museum\":!0,\"british.museum\":!0,\"britishcolumbia.museum\":!0,\"broadcast.museum\":!0,\"brunel.museum\":!0,\"brussel.museum\":!0,\"brussels.museum\":!0,\"bruxelles.museum\":!0,\"building.museum\":!0,\"burghof.museum\":!0,\"bus.museum\":!0,\"bushey.museum\":!0,\"cadaques.museum\":!0,\"california.museum\":!0,\"cambridge.museum\":!0,\"can.museum\":!0,\"canada.museum\":!0,\"capebreton.museum\":!0,\"carrier.museum\":!0,\"cartoonart.museum\":!0,\"casadelamoneda.museum\":!0,\"castle.museum\":!0,\"castres.museum\":!0,\"celtic.museum\":!0,\"center.museum\":!0,\"chattanooga.museum\":!0,\"cheltenham.museum\":!0,\"chesapeakebay.museum\":!0,\"chicago.museum\":!0,\"children.museum\":!0,\"childrens.museum\":!0,\"childrensgarden.museum\":!0,\"chiropractic.museum\":!0,\"chocolate.museum\":!0,\"christiansburg.museum\":!0,\"cincinnati.museum\":!0,\"cinema.museum\":!0,\"circus.museum\":!0,\"civilisation.museum\":!0,\"civilization.museum\":!0,\"civilwar.museum\":!0,\"clinton.museum\":!0,\"clock.museum\":!0,\"coal.museum\":!0,\"coastaldefence.museum\":!0,\"cody.museum\":!0,\"coldwar.museum\":!0,\"collection.museum\":!0,\"colonialwilliamsburg.museum\":!0,\"coloradoplateau.museum\":!0,\"columbia.museum\":!0,\"columbus.museum\":!0,\"communication.museum\":!0,\"communications.museum\":!0,\"community.museum\":!0,\"computer.museum\":!0,\"computerhistory.museum\":!0,\"xn--comunicaes-v6a2o.museum\":!0,\"contemporary.museum\":!0,\"contemporaryart.museum\":!0,\"convent.museum\":!0,\"copenhagen.museum\":!0,\"corporation.museum\":!0,\"xn--correios-e-telecomunicaes-ghc29a.museum\":!0,\"corvette.museum\":!0,\"costume.museum\":!0,\"countryestate.museum\":!0,\"county.museum\":!0,\"crafts.museum\":!0,\"cranbrook.museum\":!0,\"creation.museum\":!0,\"cultural.museum\":!0,\"culturalcenter.museum\":!0,\"culture.museum\":!0,\"cyber.museum\":!0,\"cymru.museum\":!0,\"dali.museum\":!0,\"dallas.museum\":!0,\"database.museum\":!0,\"ddr.museum\":!0,\"decorativearts.museum\":!0,\"delaware.museum\":!0,\"delmenhorst.museum\":!0,\"denmark.museum\":!0,\"depot.museum\":!0,\"design.museum\":!0,\"detroit.museum\":!0,\"dinosaur.museum\":!0,\"discovery.museum\":!0,\"dolls.museum\":!0,\"donostia.museum\":!0,\"durham.museum\":!0,\"eastafrica.museum\":!0,\"eastcoast.museum\":!0,\"education.museum\":!0,\"educational.museum\":!0,\"egyptian.museum\":!0,\"eisenbahn.museum\":!0,\"elburg.museum\":!0,\"elvendrell.museum\":!0,\"embroidery.museum\":!0,\"encyclopedic.museum\":!0,\"england.museum\":!0,\"entomology.museum\":!0,\"environment.museum\":!0,\"environmentalconservation.museum\":!0,\"epilepsy.museum\":!0,\"essex.museum\":!0,\"estate.museum\":!0,\"ethnology.museum\":!0,\"exeter.museum\":!0,\"exhibition.museum\":!0,\"family.museum\":!0,\"farm.museum\":!0,\"farmequipment.museum\":!0,\"farmers.museum\":!0,\"farmstead.museum\":!0,\"field.museum\":!0,\"figueres.museum\":!0,\"filatelia.museum\":!0,\"film.museum\":!0,\"fineart.museum\":!0,\"finearts.museum\":!0,\"finland.museum\":!0,\"flanders.museum\":!0,\"florida.museum\":!0,\"force.museum\":!0,\"fortmissoula.museum\":!0,\"fortworth.museum\":!0,\"foundation.museum\":!0,\"francaise.museum\":!0,\"frankfurt.museum\":!0,\"franziskaner.museum\":!0,\"freemasonry.museum\":!0,\"freiburg.museum\":!0,\"fribourg.museum\":!0,\"frog.museum\":!0,\"fundacio.museum\":!0,\"furniture.museum\":!0,\"gallery.museum\":!0,\"garden.museum\":!0,\"gateway.museum\":!0,\"geelvinck.museum\":!0,\"gemological.museum\":!0,\"geology.museum\":!0,\"georgia.museum\":!0,\"giessen.museum\":!0,\"glas.museum\":!0,\"glass.museum\":!0,\"gorge.museum\":!0,\"grandrapids.museum\":!0,\"graz.museum\":!0,\"guernsey.museum\":!0,\"halloffame.museum\":!0,\"hamburg.museum\":!0,\"handson.museum\":!0,\"harvestcelebration.museum\":!0,\"hawaii.museum\":!0,\"health.museum\":!0,\"heimatunduhren.museum\":!0,\"hellas.museum\":!0,\"helsinki.museum\":!0,\"hembygdsforbund.museum\":!0,\"heritage.museum\":!0,\"histoire.museum\":!0,\"historical.museum\":!0,\"historicalsociety.museum\":!0,\"historichouses.museum\":!0,\"historisch.museum\":!0,\"historisches.museum\":!0,\"history.museum\":!0,\"historyofscience.museum\":!0,\"horology.museum\":!0,\"house.museum\":!0,\"humanities.museum\":!0,\"illustration.museum\":!0,\"imageandsound.museum\":!0,\"indian.museum\":!0,\"indiana.museum\":!0,\"indianapolis.museum\":!0,\"indianmarket.museum\":!0,\"intelligence.museum\":!0,\"interactive.museum\":!0,\"iraq.museum\":!0,\"iron.museum\":!0,\"isleofman.museum\":!0,\"jamison.museum\":!0,\"jefferson.museum\":!0,\"jerusalem.museum\":!0,\"jewelry.museum\":!0,\"jewish.museum\":!0,\"jewishart.museum\":!0,\"jfk.museum\":!0,\"journalism.museum\":!0,\"judaica.museum\":!0,\"judygarland.museum\":!0,\"juedisches.museum\":!0,\"juif.museum\":!0,\"karate.museum\":!0,\"karikatur.museum\":!0,\"kids.museum\":!0,\"koebenhavn.museum\":!0,\"koeln.museum\":!0,\"kunst.museum\":!0,\"kunstsammlung.museum\":!0,\"kunstunddesign.museum\":!0,\"labor.museum\":!0,\"labour.museum\":!0,\"lajolla.museum\":!0,\"lancashire.museum\":!0,\"landes.museum\":!0,\"lans.museum\":!0,\"xn--lns-qla.museum\":!0,\"larsson.museum\":!0,\"lewismiller.museum\":!0,\"lincoln.museum\":!0,\"linz.museum\":!0,\"living.museum\":!0,\"livinghistory.museum\":!0,\"localhistory.museum\":!0,\"london.museum\":!0,\"losangeles.museum\":!0,\"louvre.museum\":!0,\"loyalist.museum\":!0,\"lucerne.museum\":!0,\"luxembourg.museum\":!0,\"luzern.museum\":!0,\"mad.museum\":!0,\"madrid.museum\":!0,\"mallorca.museum\":!0,\"manchester.museum\":!0,\"mansion.museum\":!0,\"mansions.museum\":!0,\"manx.museum\":!0,\"marburg.museum\":!0,\"maritime.museum\":!0,\"maritimo.museum\":!0,\"maryland.museum\":!0,\"marylhurst.museum\":!0,\"media.museum\":!0,\"medical.museum\":!0,\"medizinhistorisches.museum\":!0,\"meeres.museum\":!0,\"memorial.museum\":!0,\"mesaverde.museum\":!0,\"michigan.museum\":!0,\"midatlantic.museum\":!0,\"military.museum\":!0,\"mill.museum\":!0,\"miners.museum\":!0,\"mining.museum\":!0,\"minnesota.museum\":!0,\"missile.museum\":!0,\"missoula.museum\":!0,\"modern.museum\":!0,\"moma.museum\":!0,\"money.museum\":!0,\"monmouth.museum\":!0,\"monticello.museum\":!0,\"montreal.museum\":!0,\"moscow.museum\":!0,\"motorcycle.museum\":!0,\"muenchen.museum\":!0,\"muenster.museum\":!0,\"mulhouse.museum\":!0,\"muncie.museum\":!0,\"museet.museum\":!0,\"museumcenter.museum\":!0,\"museumvereniging.museum\":!0,\"music.museum\":!0,\"national.museum\":!0,\"nationalfirearms.museum\":!0,\"nationalheritage.museum\":!0,\"nativeamerican.museum\":!0,\"naturalhistory.museum\":!0,\"naturalhistorymuseum.museum\":!0,\"naturalsciences.museum\":!0,\"nature.museum\":!0,\"naturhistorisches.museum\":!0,\"natuurwetenschappen.museum\":!0,\"naumburg.museum\":!0,\"naval.museum\":!0,\"nebraska.museum\":!0,\"neues.museum\":!0,\"newhampshire.museum\":!0,\"newjersey.museum\":!0,\"newmexico.museum\":!0,\"newport.museum\":!0,\"newspaper.museum\":!0,\"newyork.museum\":!0,\"niepce.museum\":!0,\"norfolk.museum\":!0,\"north.museum\":!0,\"nrw.museum\":!0,\"nuernberg.museum\":!0,\"nuremberg.museum\":!0,\"nyc.museum\":!0,\"nyny.museum\":!0,\"oceanographic.museum\":!0,\"oceanographique.museum\":!0,\"omaha.museum\":!0,\"online.museum\":!0,\"ontario.museum\":!0,\"openair.museum\":!0,\"oregon.museum\":!0,\"oregontrail.museum\":!0,\"otago.museum\":!0,\"oxford.museum\":!0,\"pacific.museum\":!0,\"paderborn.museum\":!0,\"palace.museum\":!0,\"paleo.museum\":!0,\"palmsprings.museum\":!0,\"panama.museum\":!0,\"paris.museum\":!0,\"pasadena.museum\":!0,\"pharmacy.museum\":!0,\"philadelphia.museum\":!0,\"philadelphiaarea.museum\":!0,\"philately.museum\":!0,\"phoenix.museum\":!0,\"photography.museum\":!0,\"pilots.museum\":!0,\"pittsburgh.museum\":!0,\"planetarium.museum\":!0,\"plantation.museum\":!0,\"plants.museum\":!0,\"plaza.museum\":!0,\"portal.museum\":!0,\"portland.museum\":!0,\"portlligat.museum\":!0,\"posts-and-telecommunications.museum\":!0,\"preservation.museum\":!0,\"presidio.museum\":!0,\"press.museum\":!0,\"project.museum\":!0,\"public.museum\":!0,\"pubol.museum\":!0,\"quebec.museum\":!0,\"railroad.museum\":!0,\"railway.museum\":!0,\"research.museum\":!0,\"resistance.museum\":!0,\"riodejaneiro.museum\":!0,\"rochester.museum\":!0,\"rockart.museum\":!0,\"roma.museum\":!0,\"russia.museum\":!0,\"saintlouis.museum\":!0,\"salem.museum\":!0,\"salvadordali.museum\":!0,\"salzburg.museum\":!0,\"sandiego.museum\":!0,\"sanfrancisco.museum\":!0,\"santabarbara.museum\":!0,\"santacruz.museum\":!0,\"santafe.museum\":!0,\"saskatchewan.museum\":!0,\"satx.museum\":!0,\"savannahga.museum\":!0,\"schlesisches.museum\":!0,\"schoenbrunn.museum\":!0,\"schokoladen.museum\":!0,\"school.museum\":!0,\"schweiz.museum\":!0,\"science.museum\":!0,\"scienceandhistory.museum\":!0,\"scienceandindustry.museum\":!0,\"sciencecenter.museum\":!0,\"sciencecenters.museum\":!0,\"science-fiction.museum\":!0,\"sciencehistory.museum\":!0,\"sciences.museum\":!0,\"sciencesnaturelles.museum\":!0,\"scotland.museum\":!0,\"seaport.museum\":!0,\"settlement.museum\":!0,\"settlers.museum\":!0,\"shell.museum\":!0,\"sherbrooke.museum\":!0,\"sibenik.museum\":!0,\"silk.museum\":!0,\n\"ski.museum\":!0,\"skole.museum\":!0,\"society.museum\":!0,\"sologne.museum\":!0,\"soundandvision.museum\":!0,\"southcarolina.museum\":!0,\"southwest.museum\":!0,\"space.museum\":!0,\"spy.museum\":!0,\"square.museum\":!0,\"stadt.museum\":!0,\"stalbans.museum\":!0,\"starnberg.museum\":!0,\"state.museum\":!0,\"stateofdelaware.museum\":!0,\"station.museum\":!0,\"steam.museum\":!0,\"steiermark.museum\":!0,\"stjohn.museum\":!0,\"stockholm.museum\":!0,\"stpetersburg.museum\":!0,\"stuttgart.museum\":!0,\"suisse.museum\":!0,\"surgeonshall.museum\":!0,\"surrey.museum\":!0,\"svizzera.museum\":!0,\"sweden.museum\":!0,\"sydney.museum\":!0,\"tank.museum\":!0,\"tcm.museum\":!0,\"technology.museum\":!0,\"telekommunikation.museum\":!0,\"television.museum\":!0,\"texas.museum\":!0,\"textile.museum\":!0,\"theater.museum\":!0,\"time.museum\":!0,\"timekeeping.museum\":!0,\"topology.museum\":!0,\"torino.museum\":!0,\"touch.museum\":!0,\"town.museum\":!0,\"transport.museum\":!0,\"tree.museum\":!0,\"trolley.museum\":!0,\"trust.museum\":!0,\"trustee.museum\":!0,\"uhren.museum\":!0,\"ulm.museum\":!0,\"undersea.museum\":!0,\"university.museum\":!0,\"usa.museum\":!0,\"usantiques.museum\":!0,\"usarts.museum\":!0,\"uscountryestate.museum\":!0,\"usculture.museum\":!0,\"usdecorativearts.museum\":!0,\"usgarden.museum\":!0,\"ushistory.museum\":!0,\"ushuaia.museum\":!0,\"uslivinghistory.museum\":!0,\"utah.museum\":!0,\"uvic.museum\":!0,\"valley.museum\":!0,\"vantaa.museum\":!0,\"versailles.museum\":!0,\"viking.museum\":!0,\"village.museum\":!0,\"virginia.museum\":!0,\"virtual.museum\":!0,\"virtuel.museum\":!0,\"vlaanderen.museum\":!0,\"volkenkunde.museum\":!0,\"wales.museum\":!0,\"wallonie.museum\":!0,\"war.museum\":!0,\"washingtondc.museum\":!0,\"watchandclock.museum\":!0,\"watch-and-clock.museum\":!0,\"western.museum\":!0,\"westfalen.museum\":!0,\"whaling.museum\":!0,\"wildlife.museum\":!0,\"williamsburg.museum\":!0,\"windmill.museum\":!0,\"workshop.museum\":!0,\"york.museum\":!0,\"yorkshire.museum\":!0,\"yosemite.museum\":!0,\"youth.museum\":!0,\"zoological.museum\":!0,\"zoology.museum\":!0,\"xn--9dbhblg6di.museum\":!0,\"xn--h1aegh.museum\":!0,mv:!0,\"aero.mv\":!0,\"biz.mv\":!0,\"com.mv\":!0,\"coop.mv\":!0,\"edu.mv\":!0,\"gov.mv\":!0,\"info.mv\":!0,\"int.mv\":!0,\"mil.mv\":!0,\"museum.mv\":!0,\"name.mv\":!0,\"net.mv\":!0,\"org.mv\":!0,\"pro.mv\":!0,mw:!0,\"ac.mw\":!0,\"biz.mw\":!0,\"co.mw\":!0,\"com.mw\":!0,\"coop.mw\":!0,\"edu.mw\":!0,\"gov.mw\":!0,\"int.mw\":!0,\"museum.mw\":!0,\"net.mw\":!0,\"org.mw\":!0,mx:!0,\"com.mx\":!0,\"org.mx\":!0,\"gob.mx\":!0,\"edu.mx\":!0,\"net.mx\":!0,my:!0,\"com.my\":!0,\"net.my\":!0,\"org.my\":!0,\"gov.my\":!0,\"edu.my\":!0,\"mil.my\":!0,\"name.my\":!0,\"*.mz\":!0,\"teledata.mz\":!1,na:!0,\"info.na\":!0,\"pro.na\":!0,\"name.na\":!0,\"school.na\":!0,\"or.na\":!0,\"dr.na\":!0,\"us.na\":!0,\"mx.na\":!0,\"ca.na\":!0,\"in.na\":!0,\"cc.na\":!0,\"tv.na\":!0,\"ws.na\":!0,\"mobi.na\":!0,\"co.na\":!0,\"com.na\":!0,\"org.na\":!0,name:!0,nc:!0,\"asso.nc\":!0,ne:!0,net:!0,nf:!0,\"com.nf\":!0,\"net.nf\":!0,\"per.nf\":!0,\"rec.nf\":!0,\"web.nf\":!0,\"arts.nf\":!0,\"firm.nf\":!0,\"info.nf\":!0,\"other.nf\":!0,\"store.nf\":!0,ng:!0,\"com.ng\":!0,\"edu.ng\":!0,\"name.ng\":!0,\"net.ng\":!0,\"org.ng\":!0,\"sch.ng\":!0,\"gov.ng\":!0,\"mil.ng\":!0,\"mobi.ng\":!0,\"*.ni\":!0,nl:!0,\"bv.nl\":!0,no:!0,\"fhs.no\":!0,\"vgs.no\":!0,\"fylkesbibl.no\":!0,\"folkebibl.no\":!0,\"museum.no\":!0,\"idrett.no\":!0,\"priv.no\":!0,\"mil.no\":!0,\"stat.no\":!0,\"dep.no\":!0,\"kommune.no\":!0,\"herad.no\":!0,\"aa.no\":!0,\"ah.no\":!0,\"bu.no\":!0,\"fm.no\":!0,\"hl.no\":!0,\"hm.no\":!0,\"jan-mayen.no\":!0,\"mr.no\":!0,\"nl.no\":!0,\"nt.no\":!0,\"of.no\":!0,\"ol.no\":!0,\"oslo.no\":!0,\"rl.no\":!0,\"sf.no\":!0,\"st.no\":!0,\"svalbard.no\":!0,\"tm.no\":!0,\"tr.no\":!0,\"va.no\":!0,\"vf.no\":!0,\"gs.aa.no\":!0,\"gs.ah.no\":!0,\"gs.bu.no\":!0,\"gs.fm.no\":!0,\"gs.hl.no\":!0,\"gs.hm.no\":!0,\"gs.jan-mayen.no\":!0,\"gs.mr.no\":!0,\"gs.nl.no\":!0,\"gs.nt.no\":!0,\"gs.of.no\":!0,\"gs.ol.no\":!0,\"gs.oslo.no\":!0,\"gs.rl.no\":!0,\"gs.sf.no\":!0,\"gs.st.no\":!0,\"gs.svalbard.no\":!0,\"gs.tm.no\":!0,\"gs.tr.no\":!0,\"gs.va.no\":!0,\"gs.vf.no\":!0,\"akrehamn.no\":!0,\"xn--krehamn-dxa.no\":!0,\"algard.no\":!0,\"xn--lgrd-poac.no\":!0,\"arna.no\":!0,\"brumunddal.no\":!0,\"bryne.no\":!0,\"bronnoysund.no\":!0,\"xn--brnnysund-m8ac.no\":!0,\"drobak.no\":!0,\"xn--drbak-wua.no\":!0,\"egersund.no\":!0,\"fetsund.no\":!0,\"floro.no\":!0,\"xn--flor-jra.no\":!0,\"fredrikstad.no\":!0,\"hokksund.no\":!0,\"honefoss.no\":!0,\"xn--hnefoss-q1a.no\":!0,\"jessheim.no\":!0,\"jorpeland.no\":!0,\"xn--jrpeland-54a.no\":!0,\"kirkenes.no\":!0,\"kopervik.no\":!0,\"krokstadelva.no\":!0,\"langevag.no\":!0,\"xn--langevg-jxa.no\":!0,\"leirvik.no\":!0,\"mjondalen.no\":!0,\"xn--mjndalen-64a.no\":!0,\"mo-i-rana.no\":!0,\"mosjoen.no\":!0,\"xn--mosjen-eya.no\":!0,\"nesoddtangen.no\":!0,\"orkanger.no\":!0,\"osoyro.no\":!0,\"xn--osyro-wua.no\":!0,\"raholt.no\":!0,\"xn--rholt-mra.no\":!0,\"sandnessjoen.no\":!0,\"xn--sandnessjen-ogb.no\":!0,\"skedsmokorset.no\":!0,\"slattum.no\":!0,\"spjelkavik.no\":!0,\"stathelle.no\":!0,\"stavern.no\":!0,\"stjordalshalsen.no\":!0,\"xn--stjrdalshalsen-sqb.no\":!0,\"tananger.no\":!0,\"tranby.no\":!0,\"vossevangen.no\":!0,\"afjord.no\":!0,\"xn--fjord-lra.no\":!0,\"agdenes.no\":!0,\"al.no\":!0,\"xn--l-1fa.no\":!0,\"alesund.no\":!0,\"xn--lesund-hua.no\":!0,\"alstahaug.no\":!0,\"alta.no\":!0,\"xn--lt-liac.no\":!0,\"alaheadju.no\":!0,\"xn--laheadju-7ya.no\":!0,\"alvdal.no\":!0,\"amli.no\":!0,\"xn--mli-tla.no\":!0,\"amot.no\":!0,\"xn--mot-tla.no\":!0,\"andebu.no\":!0,\"andoy.no\":!0,\"xn--andy-ira.no\":!0,\"andasuolo.no\":!0,\"ardal.no\":!0,\"xn--rdal-poa.no\":!0,\"aremark.no\":!0,\"arendal.no\":!0,\"xn--s-1fa.no\":!0,\"aseral.no\":!0,\"xn--seral-lra.no\":!0,\"asker.no\":!0,\"askim.no\":!0,\"askvoll.no\":!0,\"askoy.no\":!0,\"xn--asky-ira.no\":!0,\"asnes.no\":!0,\"xn--snes-poa.no\":!0,\"audnedaln.no\":!0,\"aukra.no\":!0,\"aure.no\":!0,\"aurland.no\":!0,\"aurskog-holand.no\":!0,\"xn--aurskog-hland-jnb.no\":!0,\"austevoll.no\":!0,\"austrheim.no\":!0,\"averoy.no\":!0,\"xn--avery-yua.no\":!0,\"balestrand.no\":!0,\"ballangen.no\":!0,\"balat.no\":!0,\"xn--blt-elab.no\":!0,\"balsfjord.no\":!0,\"bahccavuotna.no\":!0,\"xn--bhccavuotna-k7a.no\":!0,\"bamble.no\":!0,\"bardu.no\":!0,\"beardu.no\":!0,\"beiarn.no\":!0,\"bajddar.no\":!0,\"xn--bjddar-pta.no\":!0,\"baidar.no\":!0,\"xn--bidr-5nac.no\":!0,\"berg.no\":!0,\"bergen.no\":!0,\"berlevag.no\":!0,\"xn--berlevg-jxa.no\":!0,\"bearalvahki.no\":!0,\"xn--bearalvhki-y4a.no\":!0,\"bindal.no\":!0,\"birkenes.no\":!0,\"bjarkoy.no\":!0,\"xn--bjarky-fya.no\":!0,\"bjerkreim.no\":!0,\"bjugn.no\":!0,\"bodo.no\":!0,\"xn--bod-2na.no\":!0,\"badaddja.no\":!0,\"xn--bdddj-mrabd.no\":!0,\"budejju.no\":!0,\"bokn.no\":!0,\"bremanger.no\":!0,\"bronnoy.no\":!0,\"xn--brnny-wuac.no\":!0,\"bygland.no\":!0,\"bykle.no\":!0,\"barum.no\":!0,\"xn--brum-voa.no\":!0,\"bo.telemark.no\":!0,\"xn--b-5ga.telemark.no\":!0,\"bo.nordland.no\":!0,\"xn--b-5ga.nordland.no\":!0,\"bievat.no\":!0,\"xn--bievt-0qa.no\":!0,\"bomlo.no\":!0,\"xn--bmlo-gra.no\":!0,\"batsfjord.no\":!0,\"xn--btsfjord-9za.no\":!0,\"bahcavuotna.no\":!0,\"xn--bhcavuotna-s4a.no\":!0,\"dovre.no\":!0,\"drammen.no\":!0,\"drangedal.no\":!0,\"dyroy.no\":!0,\"xn--dyry-ira.no\":!0,\"donna.no\":!0,\"xn--dnna-gra.no\":!0,\"eid.no\":!0,\"eidfjord.no\":!0,\"eidsberg.no\":!0,\"eidskog.no\":!0,\"eidsvoll.no\":!0,\"eigersund.no\":!0,\"elverum.no\":!0,\"enebakk.no\":!0,\"engerdal.no\":!0,\"etne.no\":!0,\"etnedal.no\":!0,\"evenes.no\":!0,\"evenassi.no\":!0,\"xn--eveni-0qa01ga.no\":!0,\"evje-og-hornnes.no\":!0,\"farsund.no\":!0,\"fauske.no\":!0,\"fuossko.no\":!0,\"fuoisku.no\":!0,\"fedje.no\":!0,\"fet.no\":!0,\"finnoy.no\":!0,\"xn--finny-yua.no\":!0,\"fitjar.no\":!0,\"fjaler.no\":!0,\"fjell.no\":!0,\"flakstad.no\":!0,\"flatanger.no\":!0,\"flekkefjord.no\":!0,\"flesberg.no\":!0,\"flora.no\":!0,\"fla.no\":!0,\"xn--fl-zia.no\":!0,\"folldal.no\":!0,\"forsand.no\":!0,\"fosnes.no\":!0,\"frei.no\":!0,\"frogn.no\":!0,\"froland.no\":!0,\"frosta.no\":!0,\"frana.no\":!0,\"xn--frna-woa.no\":!0,\"froya.no\":!0,\"xn--frya-hra.no\":!0,\"fusa.no\":!0,\"fyresdal.no\":!0,\"forde.no\":!0,\"xn--frde-gra.no\":!0,\"gamvik.no\":!0,\"gangaviika.no\":!0,\"xn--ggaviika-8ya47h.no\":!0,\"gaular.no\":!0,\"gausdal.no\":!0,\"gildeskal.no\":!0,\"xn--gildeskl-g0a.no\":!0,\"giske.no\":!0,\"gjemnes.no\":!0,\"gjerdrum.no\":!0,\"gjerstad.no\":!0,\"gjesdal.no\":!0,\"gjovik.no\":!0,\"xn--gjvik-wua.no\":!0,\"gloppen.no\":!0,\"gol.no\":!0,\"gran.no\":!0,\"grane.no\":!0,\"granvin.no\":!0,\"gratangen.no\":!0,\"grimstad.no\":!0,\"grong.no\":!0,\"kraanghke.no\":!0,\"xn--kranghke-b0a.no\":!0,\"grue.no\":!0,\"gulen.no\":!0,\"hadsel.no\":!0,\"halden.no\":!0,\"halsa.no\":!0,\"hamar.no\":!0,\"hamaroy.no\":!0,\"habmer.no\":!0,\"xn--hbmer-xqa.no\":!0,\"hapmir.no\":!0,\"xn--hpmir-xqa.no\":!0,\"hammerfest.no\":!0,\"hammarfeasta.no\":!0,\"xn--hmmrfeasta-s4ac.no\":!0,\"haram.no\":!0,\"hareid.no\":!0,\"harstad.no\":!0,\"hasvik.no\":!0,\"aknoluokta.no\":!0,\"xn--koluokta-7ya57h.no\":!0,\"hattfjelldal.no\":!0,\"aarborte.no\":!0,\"haugesund.no\":!0,\"hemne.no\":!0,\"hemnes.no\":!0,\"hemsedal.no\":!0,\"heroy.more-og-romsdal.no\":!0,\"xn--hery-ira.xn--mre-og-romsdal-qqb.no\":!0,\"heroy.nordland.no\":!0,\"xn--hery-ira.nordland.no\":!0,\"hitra.no\":!0,\"hjartdal.no\":!0,\"hjelmeland.no\":!0,\"hobol.no\":!0,\"xn--hobl-ira.no\":!0,\"hof.no\":!0,\"hol.no\":!0,\"hole.no\":!0,\"holmestrand.no\":!0,\"holtalen.no\":!0,\"xn--holtlen-hxa.no\":!0,\"hornindal.no\":!0,\"horten.no\":!0,\"hurdal.no\":!0,\"hurum.no\":!0,\"hvaler.no\":!0,\"hyllestad.no\":!0,\"hagebostad.no\":!0,\"xn--hgebostad-g3a.no\":!0,\"hoyanger.no\":!0,\"xn--hyanger-q1a.no\":!0,\"hoylandet.no\":!0,\"xn--hylandet-54a.no\":!0,\"ha.no\":!0,\"xn--h-2fa.no\":!0,\"ibestad.no\":!0,\"inderoy.no\":!0,\"xn--indery-fya.no\":!0,\"iveland.no\":!0,\"jevnaker.no\":!0,\"jondal.no\":!0,\"jolster.no\":!0,\"xn--jlster-bya.no\":!0,\"karasjok.no\":!0,\"karasjohka.no\":!0,\"xn--krjohka-hwab49j.no\":!0,\"karlsoy.no\":!0,\"galsa.no\":!0,\"xn--gls-elac.no\":!0,\"karmoy.no\":!0,\"xn--karmy-yua.no\":!0,\"kautokeino.no\":!0,\"guovdageaidnu.no\":!0,\"klepp.no\":!0,\"klabu.no\":!0,\"xn--klbu-woa.no\":!0,\"kongsberg.no\":!0,\"kongsvinger.no\":!0,\"kragero.no\":!0,\"xn--krager-gya.no\":!0,\"kristiansand.no\":!0,\"kristiansund.no\":!0,\"krodsherad.no\":!0,\"xn--krdsherad-m8a.no\":!0,\"kvalsund.no\":!0,\"rahkkeravju.no\":!0,\"xn--rhkkervju-01af.no\":!0,\"kvam.no\":!0,\"kvinesdal.no\":!0,\"kvinnherad.no\":!0,\"kviteseid.no\":!0,\"kvitsoy.no\":!0,\"xn--kvitsy-fya.no\":!0,\"kvafjord.no\":!0,\"xn--kvfjord-nxa.no\":!0,\"giehtavuoatna.no\":!0,\"kvanangen.no\":!0,\"xn--kvnangen-k0a.no\":!0,\"navuotna.no\":!0,\"xn--nvuotna-hwa.no\":!0,\"kafjord.no\":!0,\"xn--kfjord-iua.no\":!0,\"gaivuotna.no\":!0,\"xn--givuotna-8ya.no\":!0,\"larvik.no\":!0,\"lavangen.no\":!0,\"lavagis.no\":!0,\"loabat.no\":!0,\"xn--loabt-0qa.no\":!0,\"lebesby.no\":!0,\"davvesiida.no\":!0,\"leikanger.no\":!0,\"leirfjord.no\":!0,\"leka.no\":!0,\"leksvik.no\":!0,\"lenvik.no\":!0,\"leangaviika.no\":!0,\"xn--leagaviika-52b.no\":!0,\"lesja.no\":!0,\"levanger.no\":!0,\"lier.no\":!0,\"lierne.no\":!0,\"lillehammer.no\":!0,\"lillesand.no\":!0,\"lindesnes.no\":!0,\"lindas.no\":!0,\"xn--linds-pra.no\":!0,\"lom.no\":!0,\"loppa.no\":!0,\"lahppi.no\":!0,\"xn--lhppi-xqa.no\":!0,\"lund.no\":!0,\"lunner.no\":!0,\"luroy.no\":!0,\"xn--lury-ira.no\":!0,\"luster.no\":!0,\"lyngdal.no\":!0,\"lyngen.no\":!0,\"ivgu.no\":!0,\"lardal.no\":!0,\"lerdal.no\":!0,\"xn--lrdal-sra.no\":!0,\"lodingen.no\":!0,\"xn--ldingen-q1a.no\":!0,\"lorenskog.no\":!0,\"xn--lrenskog-54a.no\":!0,\"loten.no\":!0,\"xn--lten-gra.no\":!0,\"malvik.no\":!0,\"masoy.no\":!0,\"xn--msy-ula0h.no\":!0,\"muosat.no\":!0,\"xn--muost-0qa.no\":!0,\"mandal.no\":!0,\"marker.no\":!0,\"marnardal.no\":!0,\"masfjorden.no\":!0,\"meland.no\":!0,\"meldal.no\":!0,\"melhus.no\":!0,\"meloy.no\":!0,\"xn--mely-ira.no\":!0,\"meraker.no\":!0,\"xn--merker-kua.no\":!0,\"moareke.no\":!0,\"xn--moreke-jua.no\":!0,\"midsund.no\":!0,\"midtre-gauldal.no\":!0,\"modalen.no\":!0,\"modum.no\":!0,\"molde.no\":!0,\"moskenes.no\":!0,\"moss.no\":!0,\"mosvik.no\":!0,\"malselv.no\":!0,\"xn--mlselv-iua.no\":!0,\"malatvuopmi.no\":!0,\"xn--mlatvuopmi-s4a.no\":!0,\"namdalseid.no\":!0,\"aejrie.no\":!0,\"namsos.no\":!0,\"namsskogan.no\":!0,\"naamesjevuemie.no\":!0,\"xn--nmesjevuemie-tcba.no\":!0,\"laakesvuemie.no\":!0,\"nannestad.no\":!0,\"narvik.no\":!0,\"narviika.no\":!0,\"naustdal.no\":!0,\"nedre-eiker.no\":!0,\"nes.akershus.no\":!0,\"nes.buskerud.no\":!0,\"nesna.no\":!0,\"nesodden.no\":!0,\"nesseby.no\":!0,\"unjarga.no\":!0,\"xn--unjrga-rta.no\":!0,\"nesset.no\":!0,\"nissedal.no\":!0,\"nittedal.no\":!0,\"nord-aurdal.no\":!0,\"nord-fron.no\":!0,\"nord-odal.no\":!0,\"norddal.no\":!0,\"nordkapp.no\":!0,\"davvenjarga.no\":!0,\"xn--davvenjrga-y4a.no\":!0,\"nordre-land.no\":!0,\"nordreisa.no\":!0,\"raisa.no\":!0,\"xn--risa-5na.no\":!0,\"nore-og-uvdal.no\":!0,\"notodden.no\":!0,\"naroy.no\":!0,\"xn--nry-yla5g.no\":!0,\"notteroy.no\":!0,\"xn--nttery-byae.no\":!0,\"odda.no\":!0,\"oksnes.no\":!0,\"xn--ksnes-uua.no\":!0,\"oppdal.no\":!0,\"oppegard.no\":!0,\"xn--oppegrd-ixa.no\":!0,\"orkdal.no\":!0,\"orland.no\":!0,\"xn--rland-uua.no\":!0,\"orskog.no\":!0,\"xn--rskog-uua.no\":!0,\"orsta.no\":!0,\"xn--rsta-fra.no\":!0,\"os.hedmark.no\":!0,\"os.hordaland.no\":!0,\"osen.no\":!0,\"osteroy.no\":!0,\"xn--ostery-fya.no\":!0,\"ostre-toten.no\":!0,\"xn--stre-toten-zcb.no\":!0,\"overhalla.no\":!0,\"ovre-eiker.no\":!0,\"xn--vre-eiker-k8a.no\":!0,\"oyer.no\":!0,\"xn--yer-zna.no\":!0,\"oygarden.no\":!0,\"xn--ygarden-p1a.no\":!0,\"oystre-slidre.no\":!0,\"xn--ystre-slidre-ujb.no\":!0,\"porsanger.no\":!0,\"porsangu.no\":!0,\"xn--porsgu-sta26f.no\":!0,\"porsgrunn.no\":!0,\"radoy.no\":!0,\"xn--rady-ira.no\":!0,\"rakkestad.no\":!0,\"rana.no\":!0,\"ruovat.no\":!0,\"randaberg.no\":!0,\"rauma.no\":!0,\"rendalen.no\":!0,\"rennebu.no\":!0,\"rennesoy.no\":!0,\"xn--rennesy-v1a.no\":!0,\"rindal.no\":!0,\"ringebu.no\":!0,\"ringerike.no\":!0,\"ringsaker.no\":!0,\"rissa.no\":!0,\"risor.no\":!0,\"xn--risr-ira.no\":!0,\"roan.no\":!0,\"rollag.no\":!0,\"rygge.no\":!0,\"ralingen.no\":!0,\"xn--rlingen-mxa.no\":!0,\"rodoy.no\":!0,\"xn--rdy-0nab.no\":!0,\"romskog.no\":!0,\"xn--rmskog-bya.no\":!0,\"roros.no\":!0,\"xn--rros-gra.no\":!0,\"rost.no\":!0,\"xn--rst-0na.no\":!0,\"royken.no\":!0,\"xn--ryken-vua.no\":!0,\"royrvik.no\":!0,\"xn--ryrvik-bya.no\":!0,\"rade.no\":!0,\"xn--rde-ula.no\":!0,\"salangen.no\":!0,\"siellak.no\":!0,\"saltdal.no\":!0,\"salat.no\":!0,\"xn--slt-elab.no\":!0,\"xn--slat-5na.no\":!0,\"samnanger.no\":!0,\"sande.more-og-romsdal.no\":!0,\"sande.xn--mre-og-romsdal-qqb.no\":!0,\"sande.vestfold.no\":!0,\"sandefjord.no\":!0,\"sandnes.no\":!0,\"sandoy.no\":!0,\"xn--sandy-yua.no\":!0,\"sarpsborg.no\":!0,\"sauda.no\":!0,\"sauherad.no\":!0,\"sel.no\":!0,\"selbu.no\":!0,\"selje.no\":!0,\"seljord.no\":!0,\"sigdal.no\":!0,\"siljan.no\":!0,\"sirdal.no\":!0,\"skaun.no\":!0,\"skedsmo.no\":!0,\"ski.no\":!0,\"skien.no\":!0,\"skiptvet.no\":!0,\"skjervoy.no\":!0,\"xn--skjervy-v1a.no\":!0,\"skierva.no\":!0,\"xn--skierv-uta.no\":!0,\"skjak.no\":!0,\"xn--skjk-soa.no\":!0,\"skodje.no\":!0,\"skanland.no\":!0,\"xn--sknland-fxa.no\":!0,\"skanit.no\":!0,\"xn--sknit-yqa.no\":!0,\"smola.no\":!0,\"xn--smla-hra.no\":!0,\"snillfjord.no\":!0,\"snasa.no\":!0,\"xn--snsa-roa.no\":!0,\"snoasa.no\":!0,\"snaase.no\":!0,\"xn--snase-nra.no\":!0,\"sogndal.no\":!0,\"sokndal.no\":!0,\"sola.no\":!0,\"solund.no\":!0,\"songdalen.no\":!0,\"sortland.no\":!0,\"spydeberg.no\":!0,\"stange.no\":!0,\"stavanger.no\":!0,\"steigen.no\":!0,\"steinkjer.no\":!0,\"stjordal.no\":!0,\"xn--stjrdal-s1a.no\":!0,\"stokke.no\":!0,\"stor-elvdal.no\":!0,\"stord.no\":!0,\"stordal.no\":!0,\"storfjord.no\":!0,\"omasvuotna.no\":!0,\"strand.no\":!0,\"stranda.no\":!0,\"stryn.no\":!0,\"sula.no\":!0,\"suldal.no\":!0,\"sund.no\":!0,\"sunndal.no\":!0,\"surnadal.no\":!0,\"sveio.no\":!0,\"svelvik.no\":!0,\"sykkylven.no\":!0,\"sogne.no\":!0,\"xn--sgne-gra.no\":!0,\"somna.no\":!0,\"xn--smna-gra.no\":!0,\"sondre-land.no\":!0,\"xn--sndre-land-0cb.no\":!0,\"sor-aurdal.no\":!0,\"xn--sr-aurdal-l8a.no\":!0,\"sor-fron.no\":!0,\"xn--sr-fron-q1a.no\":!0,\"sor-odal.no\":!0,\"xn--sr-odal-q1a.no\":!0,\"sor-varanger.no\":!0,\"xn--sr-varanger-ggb.no\":!0,\"matta-varjjat.no\":!0,\"xn--mtta-vrjjat-k7af.no\":!0,\"sorfold.no\":!0,\"xn--srfold-bya.no\":!0,\"sorreisa.no\":!0,\"xn--srreisa-q1a.no\":!0,\"sorum.no\":!0,\"xn--srum-gra.no\":!0,\"tana.no\":!0,\"deatnu.no\":!0,\"time.no\":!0,\"tingvoll.no\":!0,\"tinn.no\":!0,\"tjeldsund.no\":!0,\"dielddanuorri.no\":!0,\"tjome.no\":!0,\"xn--tjme-hra.no\":!0,\"tokke.no\":!0,\"tolga.no\":!0,\"torsken.no\":!0,\"tranoy.no\":!0,\"xn--trany-yua.no\":!0,\"tromso.no\":!0,\"xn--troms-zua.no\":!0,\"tromsa.no\":!0,\"romsa.no\":!0,\"trondheim.no\":!0,\"troandin.no\":!0,\"trysil.no\":!0,\"trana.no\":!0,\"xn--trna-woa.no\":!0,\"trogstad.no\":!0,\"xn--trgstad-r1a.no\":!0,\"tvedestrand.no\":!0,\"tydal.no\":!0,\"tynset.no\":!0,\"tysfjord.no\":!0,\"divtasvuodna.no\":!0,\"divttasvuotna.no\":!0,\"tysnes.no\":!0,\"tysvar.no\":!0,\"xn--tysvr-vra.no\":!0,\"tonsberg.no\":!0,\"xn--tnsberg-q1a.no\":!0,\"ullensaker.no\":!0,\"ullensvang.no\":!0,\"ulvik.no\":!0,\"utsira.no\":!0,\"vadso.no\":!0,\"xn--vads-jra.no\":!0,\"cahcesuolo.no\":!0,\"xn--hcesuolo-7ya35b.no\":!0,\"vaksdal.no\":!0,\"valle.no\":!0,\"vang.no\":!0,\"vanylven.no\":!0,\"vardo.no\":!0,\"xn--vard-jra.no\":!0,\"varggat.no\":!0,\"xn--vrggt-xqad.no\":!0,\"vefsn.no\":!0,\"vaapste.no\":!0,\"vega.no\":!0,\"vegarshei.no\":!0,\"xn--vegrshei-c0a.no\":!0,\"vennesla.no\":!0,\"verdal.no\":!0,\"verran.no\":!0,\"vestby.no\":!0,\"vestnes.no\":!0,\"vestre-slidre.no\":!0,\"vestre-toten.no\":!0,\"vestvagoy.no\":!0,\"xn--vestvgy-ixa6o.no\":!0,\"vevelstad.no\":!0,\"vik.no\":!0,\"vikna.no\":!0,\"vindafjord.no\":!0,\"volda.no\":!0,\"voss.no\":!0,\"varoy.no\":!0,\"xn--vry-yla5g.no\":!0,\"vagan.no\":!0,\"xn--vgan-qoa.no\":!0,\"voagat.no\":!0,\"vagsoy.no\":!0,\"xn--vgsy-qoa0j.no\":!0,\"vaga.no\":!0,\"xn--vg-yiab.no\":!0,\"valer.ostfold.no\":!0,\"xn--vler-qoa.xn--stfold-9xa.no\":!0,\"valer.hedmark.no\":!0,\"xn--vler-qoa.hedmark.no\":!0,\"*.np\":!0,nr:!0,\"biz.nr\":!0,\"info.nr\":!0,\"gov.nr\":!0,\"edu.nr\":!0,\"org.nr\":!0,\"net.nr\":!0,\"com.nr\":!0,nu:!0,nz:!0,\"ac.nz\":!0,\"co.nz\":!0,\"cri.nz\":!0,\"geek.nz\":!0,\"gen.nz\":!0,\"govt.nz\":!0,\"health.nz\":!0,\"iwi.nz\":!0,\"kiwi.nz\":!0,\"maori.nz\":!0,\"mil.nz\":!0,\"xn--mori-qsa.nz\":!0,\"net.nz\":!0,\"org.nz\":!0,\"parliament.nz\":!0,\"school.nz\":!0,om:!0,\"co.om\":!0,\"com.om\":!0,\"edu.om\":!0,\"gov.om\":!0,\"med.om\":!0,\"museum.om\":!0,\"net.om\":!0,\"org.om\":!0,\"pro.om\":!0,org:!0,pa:!0,\"ac.pa\":!0,\"gob.pa\":!0,\"com.pa\":!0,\"org.pa\":!0,\"sld.pa\":!0,\"edu.pa\":!0,\"net.pa\":!0,\"ing.pa\":!0,\"abo.pa\":!0,\"med.pa\":!0,\"nom.pa\":!0,pe:!0,\"edu.pe\":!0,\"gob.pe\":!0,\"nom.pe\":!0,\"mil.pe\":!0,\"org.pe\":!0,\"com.pe\":!0,\"net.pe\":!0,pf:!0,\"com.pf\":!0,\"org.pf\":!0,\"edu.pf\":!0,\"*.pg\":!0,ph:!0,\"com.ph\":!0,\"net.ph\":!0,\"org.ph\":!0,\"gov.ph\":!0,\"edu.ph\":!0,\"ngo.ph\":!0,\"mil.ph\":!0,\"i.ph\":!0,pk:!0,\"com.pk\":!0,\"net.pk\":!0,\"edu.pk\":!0,\"org.pk\":!0,\"fam.pk\":!0,\"biz.pk\":!0,\"web.pk\":!0,\"gov.pk\":!0,\"gob.pk\":!0,\"gok.pk\":!0,\"gon.pk\":!0,\"gop.pk\":!0,\"gos.pk\":!0,\"info.pk\":!0,pl:!0,\"com.pl\":!0,\"net.pl\":!0,\"org.pl\":!0,\"aid.pl\":!0,\"agro.pl\":!0,\"atm.pl\":!0,\"auto.pl\":!0,\"biz.pl\":!0,\"edu.pl\":!0,\"gmina.pl\":!0,\"gsm.pl\":!0,\"info.pl\":!0,\"mail.pl\":!0,\"miasta.pl\":!0,\"media.pl\":!0,\"mil.pl\":!0,\"nieruchomosci.pl\":!0,\"nom.pl\":!0,\"pc.pl\":!0,\"powiat.pl\":!0,\"priv.pl\":!0,\"realestate.pl\":!0,\"rel.pl\":!0,\"sex.pl\":!0,\"shop.pl\":!0,\"sklep.pl\":!0,\"sos.pl\":!0,\"szkola.pl\":!0,\"targi.pl\":!0,\"tm.pl\":!0,\"tourism.pl\":!0,\"travel.pl\":!0,\"turystyka.pl\":!0,\"gov.pl\":!0,\"ap.gov.pl\":!0,\"ic.gov.pl\":!0,\"is.gov.pl\":!0,\"us.gov.pl\":!0,\"kmpsp.gov.pl\":!0,\"kppsp.gov.pl\":!0,\"kwpsp.gov.pl\":!0,\"psp.gov.pl\":!0,\"wskr.gov.pl\":!0,\"kwp.gov.pl\":!0,\"mw.gov.pl\":!0,\"ug.gov.pl\":!0,\"um.gov.pl\":!0,\"umig.gov.pl\":!0,\"ugim.gov.pl\":!0,\"upow.gov.pl\":!0,\"uw.gov.pl\":!0,\"starostwo.gov.pl\":!0,\"pa.gov.pl\":!0,\"po.gov.pl\":!0,\"psse.gov.pl\":!0,\"pup.gov.pl\":!0,\"rzgw.gov.pl\":!0,\"sa.gov.pl\":!0,\"so.gov.pl\":!0,\"sr.gov.pl\":!0,\"wsa.gov.pl\":!0,\"sko.gov.pl\":!0,\"uzs.gov.pl\":!0,\"wiih.gov.pl\":!0,\"winb.gov.pl\":!0,\"pinb.gov.pl\":!0,\"wios.gov.pl\":!0,\"witd.gov.pl\":!0,\"wzmiuw.gov.pl\":!0,\"piw.gov.pl\":!0,\"wiw.gov.pl\":!0,\"griw.gov.pl\":!0,\"wif.gov.pl\":!0,\"oum.gov.pl\":!0,\"sdn.gov.pl\":!0,\"zp.gov.pl\":!0,\"uppo.gov.pl\":!0,\"mup.gov.pl\":!0,\"wuoz.gov.pl\":!0,\"konsulat.gov.pl\":!0,\"oirm.gov.pl\":!0,\"augustow.pl\":!0,\"babia-gora.pl\":!0,\"bedzin.pl\":!0,\"beskidy.pl\":!0,\"bialowieza.pl\":!0,\"bialystok.pl\":!0,\"bielawa.pl\":!0,\"bieszczady.pl\":!0,\"boleslawiec.pl\":!0,\"bydgoszcz.pl\":!0,\"bytom.pl\":!0,\"cieszyn.pl\":!0,\"czeladz.pl\":!0,\"czest.pl\":!0,\"dlugoleka.pl\":!0,\"elblag.pl\":!0,\"elk.pl\":!0,\"glogow.pl\":!0,\"gniezno.pl\":!0,\"gorlice.pl\":!0,\"grajewo.pl\":!0,\"ilawa.pl\":!0,\"jaworzno.pl\":!0,\"jelenia-gora.pl\":!0,\"jgora.pl\":!0,\"kalisz.pl\":!0,\"kazimierz-dolny.pl\":!0,\"karpacz.pl\":!0,\"kartuzy.pl\":!0,\"kaszuby.pl\":!0,\"katowice.pl\":!0,\"kepno.pl\":!0,\"ketrzyn.pl\":!0,\"klodzko.pl\":!0,\"kobierzyce.pl\":!0,\"kolobrzeg.pl\":!0,\"konin.pl\":!0,\"konskowola.pl\":!0,\"kutno.pl\":!0,\"lapy.pl\":!0,\"lebork.pl\":!0,\"legnica.pl\":!0,\"lezajsk.pl\":!0,\"limanowa.pl\":!0,\"lomza.pl\":!0,\"lowicz.pl\":!0,\"lubin.pl\":!0,\"lukow.pl\":!0,\"malbork.pl\":!0,\"malopolska.pl\":!0,\"mazowsze.pl\":!0,\"mazury.pl\":!0,\"mielec.pl\":!0,\"mielno.pl\":!0,\"mragowo.pl\":!0,\"naklo.pl\":!0,\"nowaruda.pl\":!0,\"nysa.pl\":!0,\"olawa.pl\":!0,\"olecko.pl\":!0,\"olkusz.pl\":!0,\"olsztyn.pl\":!0,\"opoczno.pl\":!0,\"opole.pl\":!0,\"ostroda.pl\":!0,\"ostroleka.pl\":!0,\"ostrowiec.pl\":!0,\"ostrowwlkp.pl\":!0,\"pila.pl\":!0,\"pisz.pl\":!0,\"podhale.pl\":!0,\"podlasie.pl\":!0,\"polkowice.pl\":!0,\"pomorze.pl\":!0,\"pomorskie.pl\":!0,\"prochowice.pl\":!0,\"pruszkow.pl\":!0,\"przeworsk.pl\":!0,\"pulawy.pl\":!0,\"radom.pl\":!0,\"rawa-maz.pl\":!0,\"rybnik.pl\":!0,\"rzeszow.pl\":!0,\"sanok.pl\":!0,\"sejny.pl\":!0,\"slask.pl\":!0,\"slupsk.pl\":!0,\"sosnowiec.pl\":!0,\"stalowa-wola.pl\":!0,\"skoczow.pl\":!0,\"starachowice.pl\":!0,\"stargard.pl\":!0,\"suwalki.pl\":!0,\"swidnica.pl\":!0,\"swiebodzin.pl\":!0,\"swinoujscie.pl\":!0,\"szczecin.pl\":!0,\"szczytno.pl\":!0,\"tarnobrzeg.pl\":!0,\"tgory.pl\":!0,\"turek.pl\":!0,\"tychy.pl\":!0,\"ustka.pl\":!0,\"walbrzych.pl\":!0,\"warmia.pl\":!0,\"warszawa.pl\":!0,\"waw.pl\":!0,\"wegrow.pl\":!0,\"wielun.pl\":!0,\"wlocl.pl\":!0,\"wloclawek.pl\":!0,\"wodzislaw.pl\":!0,\"wolomin.pl\":!0,\"wroclaw.pl\":!0,\"zachpomor.pl\":!0,\"zagan.pl\":!0,\"zarow.pl\":!0,\"zgora.pl\":!0,\"zgorzelec.pl\":!0,pm:!0,pn:!0,\"gov.pn\":!0,\"co.pn\":!0,\"org.pn\":!0,\"edu.pn\":!0,\"net.pn\":!0,post:!0,pr:!0,\"com.pr\":!0,\"net.pr\":!0,\"org.pr\":!0,\"gov.pr\":!0,\"edu.pr\":!0,\"isla.pr\":!0,\"pro.pr\":!0,\"biz.pr\":!0,\"info.pr\":!0,\"name.pr\":!0,\"est.pr\":!0,\"prof.pr\":!0,\"ac.pr\":!0,pro:!0,\"aca.pro\":!0,\"bar.pro\":!0,\"cpa.pro\":!0,\"jur.pro\":!0,\"law.pro\":!0,\"med.pro\":!0,\"eng.pro\":!0,ps:!0,\"edu.ps\":!0,\"gov.ps\":!0,\"sec.ps\":!0,\"plo.ps\":!0,\"com.ps\":!0,\"org.ps\":!0,\"net.ps\":!0,pt:!0,\"net.pt\":!0,\"gov.pt\":!0,\"org.pt\":!0,\"edu.pt\":!0,\"int.pt\":!0,\"publ.pt\":!0,\"com.pt\":!0,\"nome.pt\":!0,pw:!0,\"co.pw\":!0,\"ne.pw\":!0,\"or.pw\":!0,\"ed.pw\":!0,\"go.pw\":!0,\"belau.pw\":!0,py:!0,\"com.py\":!0,\"coop.py\":!0,\"edu.py\":!0,\"gov.py\":!0,\"mil.py\":!0,\"net.py\":!0,\"org.py\":!0,qa:!0,\"com.qa\":!0,\"edu.qa\":!0,\"gov.qa\":!0,\"mil.qa\":!0,\"name.qa\":!0,\"net.qa\":!0,\"org.qa\":!0,\"sch.qa\":!0,re:!0,\"com.re\":!0,\"asso.re\":!0,\"nom.re\":!0,ro:!0,\"com.ro\":!0,\"org.ro\":!0,\"tm.ro\":!0,\"nt.ro\":!0,\"nom.ro\":!0,\"info.ro\":!0,\"rec.ro\":!0,\"arts.ro\":!0,\"firm.ro\":!0,\"store.ro\":!0,\"www.ro\":!0,rs:!0,\"co.rs\":!0,\"org.rs\":!0,\"edu.rs\":!0,\"ac.rs\":!0,\"gov.rs\":!0,\"in.rs\":!0,ru:!0,\"ac.ru\":!0,\"com.ru\":!0,\"edu.ru\":!0,\"int.ru\":!0,\"net.ru\":!0,\"org.ru\":!0,\"pp.ru\":!0,\"adygeya.ru\":!0,\"altai.ru\":!0,\"amur.ru\":!0,\"arkhangelsk.ru\":!0,\"astrakhan.ru\":!0,\"bashkiria.ru\":!0,\"belgorod.ru\":!0,\"bir.ru\":!0,\"bryansk.ru\":!0,\"buryatia.ru\":!0,\"cbg.ru\":!0,\"chel.ru\":!0,\"chelyabinsk.ru\":!0,\"chita.ru\":!0,\"chukotka.ru\":!0,\"chuvashia.ru\":!0,\"dagestan.ru\":!0,\"dudinka.ru\":!0,\"e-burg.ru\":!0,\"grozny.ru\":!0,\"irkutsk.ru\":!0,\"ivanovo.ru\":!0,\"izhevsk.ru\":!0,\"jar.ru\":!0,\"joshkar-ola.ru\":!0,\"kalmykia.ru\":!0,\"kaluga.ru\":!0,\"kamchatka.ru\":!0,\"karelia.ru\":!0,\"kazan.ru\":!0,\"kchr.ru\":!0,\"kemerovo.ru\":!0,\"khabarovsk.ru\":!0,\"khakassia.ru\":!0,\"khv.ru\":!0,\"kirov.ru\":!0,\"koenig.ru\":!0,\"komi.ru\":!0,\"kostroma.ru\":!0,\"krasnoyarsk.ru\":!0,\"kuban.ru\":!0,\"kurgan.ru\":!0,\"kursk.ru\":!0,\"lipetsk.ru\":!0,\"magadan.ru\":!0,\"mari.ru\":!0,\"mari-el.ru\":!0,\"marine.ru\":!0,\"mordovia.ru\":!0,\"msk.ru\":!0,\"murmansk.ru\":!0,\"nalchik.ru\":!0,\"nnov.ru\":!0,\"nov.ru\":!0,\"novosibirsk.ru\":!0,\"nsk.ru\":!0,\"omsk.ru\":!0,\"orenburg.ru\":!0,\"oryol.ru\":!0,\"palana.ru\":!0,\"penza.ru\":!0,\"perm.ru\":!0,\"ptz.ru\":!0,\"rnd.ru\":!0,\"ryazan.ru\":!0,\"sakhalin.ru\":!0,\"samara.ru\":!0,\"saratov.ru\":!0,\"simbirsk.ru\":!0,\"smolensk.ru\":!0,\"spb.ru\":!0,\"stavropol.ru\":!0,\"stv.ru\":!0,\"surgut.ru\":!0,\"tambov.ru\":!0,\"tatarstan.ru\":!0,\"tom.ru\":!0,\"tomsk.ru\":!0,\"tsaritsyn.ru\":!0,\"tsk.ru\":!0,\"tula.ru\":!0,\"tuva.ru\":!0,\"tver.ru\":!0,\"tyumen.ru\":!0,\"udm.ru\":!0,\"udmurtia.ru\":!0,\"ulan-ude.ru\":!0,\"vladikavkaz.ru\":!0,\"vladimir.ru\":!0,\"vladivostok.ru\":!0,\"volgograd.ru\":!0,\"vologda.ru\":!0,\"voronezh.ru\":!0,\"vrn.ru\":!0,\"vyatka.ru\":!0,\"yakutia.ru\":!0,\"yamal.ru\":!0,\"yaroslavl.ru\":!0,\"yekaterinburg.ru\":!0,\"yuzhno-sakhalinsk.ru\":!0,\"amursk.ru\":!0,\"baikal.ru\":!0,\"cmw.ru\":!0,\"fareast.ru\":!0,\"jamal.ru\":!0,\"kms.ru\":!0,\"k-uralsk.ru\":!0,\"kustanai.ru\":!0,\"kuzbass.ru\":!0,\"magnitka.ru\":!0,\"mytis.ru\":!0,\"nakhodka.ru\":!0,\"nkz.ru\":!0,\"norilsk.ru\":!0,\"oskol.ru\":!0,\"pyatigorsk.ru\":!0,\"rubtsovsk.ru\":!0,\"snz.ru\":!0,\"syzran.ru\":!0,\"vdonsk.ru\":!0,\"zgrad.ru\":!0,\"gov.ru\":!0,\"mil.ru\":!0,\"test.ru\":!0,rw:!0,\"gov.rw\":!0,\"net.rw\":!0,\"edu.rw\":!0,\"ac.rw\":!0,\"com.rw\":!0,\"co.rw\":!0,\"int.rw\":!0,\"mil.rw\":!0,\"gouv.rw\":!0,sa:!0,\"com.sa\":!0,\"net.sa\":!0,\"org.sa\":!0,\"gov.sa\":!0,\"med.sa\":!0,\"pub.sa\":!0,\"edu.sa\":!0,\"sch.sa\":!0,sb:!0,\"com.sb\":!0,\"edu.sb\":!0,\"gov.sb\":!0,\"net.sb\":!0,\"org.sb\":!0,sc:!0,\"com.sc\":!0,\"gov.sc\":!0,\"net.sc\":!0,\"org.sc\":!0,\"edu.sc\":!0,sd:!0,\"com.sd\":!0,\"net.sd\":!0,\"org.sd\":!0,\"edu.sd\":!0,\"med.sd\":!0,\"tv.sd\":!0,\"gov.sd\":!0,\"info.sd\":!0,se:!0,\"a.se\":!0,\"ac.se\":!0,\"b.se\":!0,\"bd.se\":!0,\"brand.se\":!0,\"c.se\":!0,\"d.se\":!0,\"e.se\":!0,\"f.se\":!0,\"fh.se\":!0,\"fhsk.se\":!0,\"fhv.se\":!0,\"g.se\":!0,\"h.se\":!0,\"i.se\":!0,\"k.se\":!0,\"komforb.se\":!0,\"kommunalforbund.se\":!0,\"komvux.se\":!0,\"l.se\":!0,\"lanbib.se\":!0,\"m.se\":!0,\"n.se\":!0,\"naturbruksgymn.se\":!0,\"o.se\":!0,\"org.se\":!0,\"p.se\":!0,\"parti.se\":!0,\"pp.se\":!0,\"press.se\":!0,\"r.se\":!0,\"s.se\":!0,\"t.se\":!0,\"tm.se\":!0,\"u.se\":!0,\"w.se\":!0,\"x.se\":!0,\"y.se\":!0,\"z.se\":!0,sg:!0,\"com.sg\":!0,\"net.sg\":!0,\"org.sg\":!0,\"gov.sg\":!0,\"edu.sg\":!0,\"per.sg\":!0,sh:!0,\"com.sh\":!0,\"net.sh\":!0,\"gov.sh\":!0,\"org.sh\":!0,\"mil.sh\":!0,si:!0,sj:!0,sk:!0,sl:!0,\"com.sl\":!0,\"net.sl\":!0,\"edu.sl\":!0,\"gov.sl\":!0,\"org.sl\":!0,sm:!0,sn:!0,\"art.sn\":!0,\"com.sn\":!0,\"edu.sn\":!0,\"gouv.sn\":!0,\"org.sn\":!0,\"perso.sn\":!0,\"univ.sn\":!0,so:!0,\"com.so\":!0,\"net.so\":!0,\"org.so\":!0,sr:!0,st:!0,\"co.st\":!0,\"com.st\":!0,\"consulado.st\":!0,\"edu.st\":!0,\"embaixada.st\":!0,\"gov.st\":!0,\"mil.st\":!0,\"net.st\":!0,\"org.st\":!0,\"principe.st\":!0,\"saotome.st\":!0,\"store.st\":!0,su:!0,\"adygeya.su\":!0,\"arkhangelsk.su\":!0,\"balashov.su\":!0,\"bashkiria.su\":!0,\"bryansk.su\":!0,\"dagestan.su\":!0,\"grozny.su\":!0,\"ivanovo.su\":!0,\"kalmykia.su\":!0,\"kaluga.su\":!0,\"karelia.su\":!0,\"khakassia.su\":!0,\"krasnodar.su\":!0,\"kurgan.su\":!0,\"lenug.su\":!0,\"mordovia.su\":!0,\"msk.su\":!0,\"murmansk.su\":!0,\"nalchik.su\":!0,\"nov.su\":!0,\"obninsk.su\":!0,\"penza.su\":!0,\"pokrovsk.su\":!0,\"sochi.su\":!0,\"spb.su\":!0,\"togliatti.su\":!0,\"troitsk.su\":!0,\"tula.su\":!0,\"tuva.su\":!0,\"vladikavkaz.su\":!0,\"vladimir.su\":!0,\"vologda.su\":!0,sv:!0,\"com.sv\":!0,\"edu.sv\":!0,\"gob.sv\":!0,\"org.sv\":!0,\"red.sv\":!0,sx:!0,\"gov.sx\":!0,sy:!0,\"edu.sy\":!0,\"gov.sy\":!0,\"net.sy\":!0,\"mil.sy\":!0,\"com.sy\":!0,\"org.sy\":!0,sz:!0,\"co.sz\":!0,\"ac.sz\":!0,\"org.sz\":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,\"ac.th\":!0,\"co.th\":!0,\"go.th\":!0,\"in.th\":!0,\"mi.th\":!0,\"net.th\":!0,\"or.th\":!0,tj:!0,\"ac.tj\":!0,\"biz.tj\":!0,\"co.tj\":!0,\"com.tj\":!0,\"edu.tj\":!0,\"go.tj\":!0,\"gov.tj\":!0,\"int.tj\":!0,\"mil.tj\":!0,\"name.tj\":!0,\"net.tj\":!0,\"nic.tj\":!0,\"org.tj\":!0,\"test.tj\":!0,\"web.tj\":!0,tk:!0,tl:!0,\"gov.tl\":!0,tm:!0,\"com.tm\":!0,\"co.tm\":!0,\"org.tm\":!0,\"net.tm\":!0,\"nom.tm\":!0,\"gov.tm\":!0,\"mil.tm\":!0,\"edu.tm\":!0,tn:!0,\"com.tn\":!0,\"ens.tn\":!0,\"fin.tn\":!0,\"gov.tn\":!0,\"ind.tn\":!0,\"intl.tn\":!0,\"nat.tn\":!0,\"net.tn\":!0,\"org.tn\":!0,\"info.tn\":!0,\"perso.tn\":!0,\"tourism.tn\":!0,\"edunet.tn\":!0,\"rnrt.tn\":!0,\"rns.tn\":!0,\"rnu.tn\":!0,\"mincom.tn\":!0,\"agrinet.tn\":!0,\"defense.tn\":!0,\"turen.tn\":!0,to:!0,\"com.to\":!0,\"gov.to\":!0,\"net.to\":!0,\"org.to\":!0,\"edu.to\":!0,\"mil.to\":!0,tp:!0,tr:!0,\"com.tr\":!0,\"info.tr\":!0,\"biz.tr\":!0,\"net.tr\":!0,\"org.tr\":!0,\"web.tr\":!0,\"gen.tr\":!0,\"tv.tr\":!0,\"av.tr\":!0,\"dr.tr\":!0,\"bbs.tr\":!0,\"name.tr\":!0,\"tel.tr\":!0,\"gov.tr\":!0,\"bel.tr\":!0,\"pol.tr\":!0,\"mil.tr\":!0,\"k12.tr\":!0,\"edu.tr\":!0,\"kep.tr\":!0,\"nc.tr\":!0,\"gov.nc.tr\":!0,travel:!0,tt:!0,\"co.tt\":!0,\"com.tt\":!0,\"org.tt\":!0,\"net.tt\":!0,\"biz.tt\":!0,\"info.tt\":!0,\"pro.tt\":!0,\"int.tt\":!0,\"coop.tt\":!0,\"jobs.tt\":!0,\"mobi.tt\":!0,\"travel.tt\":!0,\"museum.tt\":!0,\"aero.tt\":!0,\"name.tt\":!0,\"gov.tt\":!0,\"edu.tt\":!0,tv:!0,tw:!0,\"edu.tw\":!0,\"gov.tw\":!0,\"mil.tw\":!0,\"com.tw\":!0,\"net.tw\":!0,\"org.tw\":!0,\"idv.tw\":!0,\"game.tw\":!0,\"ebiz.tw\":!0,\"club.tw\":!0,\"xn--zf0ao64a.tw\":!0,\"xn--uc0atv.tw\":!0,\"xn--czrw28b.tw\":!0,tz:!0,\"ac.tz\":!0,\"co.tz\":!0,\"go.tz\":!0,\"hotel.tz\":!0,\"info.tz\":!0,\"me.tz\":!0,\"mil.tz\":!0,\"mobi.tz\":!0,\"ne.tz\":!0,\"or.tz\":!0,\"sc.tz\":!0,\"tv.tz\":!0,ua:!0,\"com.ua\":!0,\"edu.ua\":!0,\"gov.ua\":!0,\"in.ua\":!0,\"net.ua\":!0,\"org.ua\":!0,\"cherkassy.ua\":!0,\"cherkasy.ua\":!0,\"chernigov.ua\":!0,\"chernihiv.ua\":!0,\"chernivtsi.ua\":!0,\"chernovtsy.ua\":!0,\"ck.ua\":!0,\"cn.ua\":!0,\"cr.ua\":!0,\"crimea.ua\":!0,\"cv.ua\":!0,\"dn.ua\":!0,\"dnepropetrovsk.ua\":!0,\"dnipropetrovsk.ua\":!0,\"dominic.ua\":!0,\"donetsk.ua\":!0,\"dp.ua\":!0,\"if.ua\":!0,\"ivano-frankivsk.ua\":!0,\"kh.ua\":!0,\"kharkiv.ua\":!0,\"kharkov.ua\":!0,\"kherson.ua\":!0,\"khmelnitskiy.ua\":!0,\"khmelnytskyi.ua\":!0,\"kiev.ua\":!0,\"kirovograd.ua\":!0,\"km.ua\":!0,\"kr.ua\":!0,\"krym.ua\":!0,\"ks.ua\":!0,\"kv.ua\":!0,\"kyiv.ua\":!0,\"lg.ua\":!0,\"lt.ua\":!0,\"lugansk.ua\":!0,\"lutsk.ua\":!0,\"lv.ua\":!0,\"lviv.ua\":!0,\"mk.ua\":!0,\"mykolaiv.ua\":!0,\"nikolaev.ua\":!0,\"od.ua\":!0,\"odesa.ua\":!0,\"odessa.ua\":!0,\"pl.ua\":!0,\"poltava.ua\":!0,\"rivne.ua\":!0,\"rovno.ua\":!0,\"rv.ua\":!0,\"sb.ua\":!0,\"sebastopol.ua\":!0,\"sevastopol.ua\":!0,\"sm.ua\":!0,\"sumy.ua\":!0,\"te.ua\":!0,\"ternopil.ua\":!0,\"uz.ua\":!0,\"uzhgorod.ua\":!0,\"vinnica.ua\":!0,\"vinnytsia.ua\":!0,\"vn.ua\":!0,\"volyn.ua\":!0,\"yalta.ua\":!0,\"zaporizhzhe.ua\":!0,\"zaporizhzhia.ua\":!0,\"zhitomir.ua\":!0,\"zhytomyr.ua\":!0,\"zp.ua\":!0,\"zt.ua\":!0,ug:!0,\"co.ug\":!0,\"or.ug\":!0,\"ac.ug\":!0,\"sc.ug\":!0,\"go.ug\":!0,\"ne.ug\":!0,\"com.ug\":!0,\"org.ug\":!0,uk:!0,\"ac.uk\":!0,\"co.uk\":!0,\"gov.uk\":!0,\"ltd.uk\":!0,\"me.uk\":!0,\"net.uk\":!0,\"nhs.uk\":!0,\"org.uk\":!0,\"plc.uk\":!0,\"police.uk\":!0,\"*.sch.uk\":!0,us:!0,\"dni.us\":!0,\"fed.us\":!0,\"isa.us\":!0,\"kids.us\":!0,\"nsn.us\":!0,\"ak.us\":!0,\"al.us\":!0,\"ar.us\":!0,\"as.us\":!0,\"az.us\":!0,\"ca.us\":!0,\"co.us\":!0,\"ct.us\":!0,\"dc.us\":!0,\"de.us\":!0,\"fl.us\":!0,\"ga.us\":!0,\"gu.us\":!0,\"hi.us\":!0,\"ia.us\":!0,\"id.us\":!0,\"il.us\":!0,\"in.us\":!0,\"ks.us\":!0,\"ky.us\":!0,\"la.us\":!0,\"ma.us\":!0,\"md.us\":!0,\"me.us\":!0,\"mi.us\":!0,\"mn.us\":!0,\"mo.us\":!0,\"ms.us\":!0,\"mt.us\":!0,\"nc.us\":!0,\"nd.us\":!0,\"ne.us\":!0,\"nh.us\":!0,\"nj.us\":!0,\"nm.us\":!0,\"nv.us\":!0,\"ny.us\":!0,\"oh.us\":!0,\"ok.us\":!0,\"or.us\":!0,\"pa.us\":!0,\"pr.us\":!0,\"ri.us\":!0,\"sc.us\":!0,\"sd.us\":!0,\"tn.us\":!0,\"tx.us\":!0,\"ut.us\":!0,\"vi.us\":!0,\"vt.us\":!0,\"va.us\":!0,\"wa.us\":!0,\"wi.us\":!0,\"wv.us\":!0,\"wy.us\":!0,\"k12.ak.us\":!0,\"k12.al.us\":!0,\"k12.ar.us\":!0,\"k12.as.us\":!0,\"k12.az.us\":!0,\"k12.ca.us\":!0,\"k12.co.us\":!0,\"k12.ct.us\":!0,\"k12.dc.us\":!0,\"k12.de.us\":!0,\"k12.fl.us\":!0,\"k12.ga.us\":!0,\"k12.gu.us\":!0,\"k12.ia.us\":!0,\"k12.id.us\":!0,\"k12.il.us\":!0,\"k12.in.us\":!0,\"k12.ks.us\":!0,\"k12.ky.us\":!0,\"k12.la.us\":!0,\"k12.ma.us\":!0,\"k12.md.us\":!0,\"k12.me.us\":!0,\"k12.mi.us\":!0,\"k12.mn.us\":!0,\"k12.mo.us\":!0,\"k12.ms.us\":!0,\"k12.mt.us\":!0,\"k12.nc.us\":!0,\"k12.ne.us\":!0,\"k12.nh.us\":!0,\"k12.nj.us\":!0,\"k12.nm.us\":!0,\"k12.nv.us\":!0,\"k12.ny.us\":!0,\"k12.oh.us\":!0,\"k12.ok.us\":!0,\"k12.or.us\":!0,\"k12.pa.us\":!0,\"k12.pr.us\":!0,\"k12.ri.us\":!0,\"k12.sc.us\":!0,\"k12.tn.us\":!0,\"k12.tx.us\":!0,\"k12.ut.us\":!0,\"k12.vi.us\":!0,\"k12.vt.us\":!0,\"k12.va.us\":!0,\"k12.wa.us\":!0,\"k12.wi.us\":!0,\"k12.wy.us\":!0,\"cc.ak.us\":!0,\"cc.al.us\":!0,\"cc.ar.us\":!0,\"cc.as.us\":!0,\"cc.az.us\":!0,\"cc.ca.us\":!0,\"cc.co.us\":!0,\"cc.ct.us\":!0,\"cc.dc.us\":!0,\"cc.de.us\":!0,\"cc.fl.us\":!0,\"cc.ga.us\":!0,\"cc.gu.us\":!0,\"cc.hi.us\":!0,\"cc.ia.us\":!0,\"cc.id.us\":!0,\"cc.il.us\":!0,\"cc.in.us\":!0,\"cc.ks.us\":!0,\"cc.ky.us\":!0,\"cc.la.us\":!0,\"cc.ma.us\":!0,\"cc.md.us\":!0,\"cc.me.us\":!0,\"cc.mi.us\":!0,\"cc.mn.us\":!0,\"cc.mo.us\":!0,\"cc.ms.us\":!0,\"cc.mt.us\":!0,\"cc.nc.us\":!0,\"cc.nd.us\":!0,\"cc.ne.us\":!0,\"cc.nh.us\":!0,\"cc.nj.us\":!0,\"cc.nm.us\":!0,\"cc.nv.us\":!0,\"cc.ny.us\":!0,\"cc.oh.us\":!0,\"cc.ok.us\":!0,\"cc.or.us\":!0,\"cc.pa.us\":!0,\"cc.pr.us\":!0,\"cc.ri.us\":!0,\"cc.sc.us\":!0,\"cc.sd.us\":!0,\"cc.tn.us\":!0,\"cc.tx.us\":!0,\"cc.ut.us\":!0,\"cc.vi.us\":!0,\"cc.vt.us\":!0,\"cc.va.us\":!0,\"cc.wa.us\":!0,\"cc.wi.us\":!0,\"cc.wv.us\":!0,\"cc.wy.us\":!0,\"lib.ak.us\":!0,\"lib.al.us\":!0,\"lib.ar.us\":!0,\"lib.as.us\":!0,\"lib.az.us\":!0,\"lib.ca.us\":!0,\"lib.co.us\":!0,\"lib.ct.us\":!0,\"lib.dc.us\":!0,\"lib.de.us\":!0,\"lib.fl.us\":!0,\"lib.ga.us\":!0,\"lib.gu.us\":!0,\"lib.hi.us\":!0,\"lib.ia.us\":!0,\"lib.id.us\":!0,\"lib.il.us\":!0,\"lib.in.us\":!0,\"lib.ks.us\":!0,\"lib.ky.us\":!0,\"lib.la.us\":!0,\"lib.ma.us\":!0,\"lib.md.us\":!0,\"lib.me.us\":!0,\"lib.mi.us\":!0,\"lib.mn.us\":!0,\"lib.mo.us\":!0,\"lib.ms.us\":!0,\"lib.mt.us\":!0,\"lib.nc.us\":!0,\"lib.nd.us\":!0,\"lib.ne.us\":!0,\"lib.nh.us\":!0,\"lib.nj.us\":!0,\"lib.nm.us\":!0,\"lib.nv.us\":!0,\"lib.ny.us\":!0,\"lib.oh.us\":!0,\"lib.ok.us\":!0,\"lib.or.us\":!0,\"lib.pa.us\":!0,\"lib.pr.us\":!0,\"lib.ri.us\":!0,\"lib.sc.us\":!0,\"lib.sd.us\":!0,\"lib.tn.us\":!0,\"lib.tx.us\":!0,\"lib.ut.us\":!0,\"lib.vi.us\":!0,\"lib.vt.us\":!0,\"lib.va.us\":!0,\"lib.wa.us\":!0,\"lib.wi.us\":!0,\"lib.wy.us\":!0,\"pvt.k12.ma.us\":!0,\"chtr.k12.ma.us\":!0,\"paroch.k12.ma.us\":!0,uy:!0,\"com.uy\":!0,\"edu.uy\":!0,\"gub.uy\":!0,\"mil.uy\":!0,\"net.uy\":!0,\"org.uy\":!0,uz:!0,\"co.uz\":!0,\"com.uz\":!0,\"net.uz\":!0,\"org.uz\":!0,va:!0,vc:!0,\"com.vc\":!0,\"net.vc\":!0,\"org.vc\":!0,\"gov.vc\":!0,\"mil.vc\":!0,\n\"edu.vc\":!0,ve:!0,\"arts.ve\":!0,\"co.ve\":!0,\"com.ve\":!0,\"e12.ve\":!0,\"edu.ve\":!0,\"firm.ve\":!0,\"gob.ve\":!0,\"gov.ve\":!0,\"info.ve\":!0,\"int.ve\":!0,\"mil.ve\":!0,\"net.ve\":!0,\"org.ve\":!0,\"rec.ve\":!0,\"store.ve\":!0,\"tec.ve\":!0,\"web.ve\":!0,vg:!0,vi:!0,\"co.vi\":!0,\"com.vi\":!0,\"k12.vi\":!0,\"net.vi\":!0,\"org.vi\":!0,vn:!0,\"com.vn\":!0,\"net.vn\":!0,\"org.vn\":!0,\"edu.vn\":!0,\"gov.vn\":!0,\"int.vn\":!0,\"ac.vn\":!0,\"biz.vn\":!0,\"info.vn\":!0,\"name.vn\":!0,\"pro.vn\":!0,\"health.vn\":!0,vu:!0,\"com.vu\":!0,\"edu.vu\":!0,\"net.vu\":!0,\"org.vu\":!0,wf:!0,ws:!0,\"com.ws\":!0,\"net.ws\":!0,\"org.ws\":!0,\"gov.ws\":!0,\"edu.ws\":!0,yt:!0,\"xn--mgbaam7a8h\":!0,\"xn--y9a3aq\":!0,\"xn--54b7fta0cc\":!0,\"xn--90ais\":!0,\"xn--fiqs8s\":!0,\"xn--fiqz9s\":!0,\"xn--lgbbat1ad8j\":!0,\"xn--wgbh1c\":!0,\"xn--node\":!0,\"xn--qxam\":!0,\"xn--j6w193g\":!0,\"xn--h2brj9c\":!0,\"xn--mgbbh1a71e\":!0,\"xn--fpcrj9c3d\":!0,\"xn--gecrj9c\":!0,\"xn--s9brj9c\":!0,\"xn--45brj9c\":!0,\"xn--xkc2dl3a5ee0h\":!0,\"xn--mgba3a4f16a\":!0,\"xn--mgba3a4fra\":!0,\"xn--mgbtx2b\":!0,\"xn--mgbayh7gpa\":!0,\"xn--3e0b707e\":!0,\"xn--80ao21a\":!0,\"xn--fzc2c9e2c\":!0,\"xn--xkc2al3hye2a\":!0,\"xn--mgbc0a9azcg\":!0,\"xn--d1alf\":!0,\"xn--l1acc\":!0,\"xn--mix891f\":!0,\"xn--mix082f\":!0,\"xn--mgbx4cd0ab\":!0,\"xn--mgb9awbf\":!0,\"xn--mgbai9azgqp6j\":!0,\"xn--mgbai9a5eva00b\":!0,\"xn--ygbi2ammx\":!0,\"xn--90a3ac\":!0,\"xn--o1ac.xn--90a3ac\":!0,\"xn--c1avg.xn--90a3ac\":!0,\"xn--90azh.xn--90a3ac\":!0,\"xn--d1at.xn--90a3ac\":!0,\"xn--o1ach.xn--90a3ac\":!0,\"xn--80au.xn--90a3ac\":!0,\"xn--p1ai\":!0,\"xn--wgbl6a\":!0,\"xn--mgberp4a5d4ar\":!0,\"xn--mgberp4a5d4a87g\":!0,\"xn--mgbqly7c0a67fbc\":!0,\"xn--mgbqly7cvafr\":!0,\"xn--mgbpl2fh\":!0,\"xn--yfro4i67o\":!0,\"xn--clchc0ea0b2g2a9gcd\":!0,\"xn--ogbpf8fl\":!0,\"xn--mgbtf8fl\":!0,\"xn--o3cw4h\":!0,\"xn--pgbs0dh\":!0,\"xn--kpry57d\":!0,\"xn--kprw13d\":!0,\"xn--nnx388a\":!0,\"xn--j1amh\":!0,\"xn--mgb2ddes\":!0,xxx:!0,\"*.ye\":!0,\"ac.za\":!0,\"agrica.za\":!0,\"alt.za\":!0,\"co.za\":!0,\"edu.za\":!0,\"gov.za\":!0,\"grondar.za\":!0,\"law.za\":!0,\"mil.za\":!0,\"net.za\":!0,\"ngo.za\":!0,\"nis.za\":!0,\"nom.za\":!0,\"org.za\":!0,\"school.za\":!0,\"tm.za\":!0,\"web.za\":!0,\"*.zm\":!0,\"*.zw\":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,africamagic:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,\"case\":!0,caseih:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,dnp:!0,docs:!0,dodge:!0,dog:!0,doha:!0,domains:!0,doosan:!0,dot:!0,download:!0,drive:!0,dstv:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dwg:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,\"final\":!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyknet:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mutuelle:!0,mzansimagic:!0,nab:!0,nadex:!0,nagoya:!0,naspers:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,\"new\":!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,payu:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,seat:!0,secure:!0,security:!0,seek:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,\"xn--11b4c3d\":!0,\"xn--1ck2e1b\":!0,\"xn--1qqw23a\":!0,\"xn--30rr7y\":!0,\"xn--3bst00m\":!0,\"xn--3ds443g\":!0,\"xn--3oq18vl8pn36a\":!0,\"xn--3pxu8k\":!0,\"xn--42c2d9a\":!0,\"xn--45q11c\":!0,\"xn--4gbrim\":!0,\"xn--4gq48lf9j\":!0,\"xn--55qw42g\":!0,\"xn--55qx5d\":!0,\"xn--5su34j936bgsg\":!0,\"xn--5tzm5g\":!0,\"xn--6frz82g\":!0,\"xn--6qq986b3xl\":!0,\"xn--80adxhks\":!0,\"xn--80asehdb\":!0,\"xn--80aswg\":!0,\"xn--8y0a063a\":!0,\"xn--9dbq2a\":!0,\"xn--9et52u\":!0,\"xn--9krt00a\":!0,\"xn--b4w605ferd\":!0,\"xn--bck1b9a5dre4c\":!0,\"xn--c1avg\":!0,\"xn--c2br7g\":!0,\"xn--cck2b3b\":!0,\"xn--cg4bki\":!0,\"xn--czr694b\":!0,\"xn--czrs0t\":!0,\"xn--czru2d\":!0,\"xn--d1acj3b\":!0,\"xn--eckvdtc9d\":!0,\"xn--efvy88h\":!0,\"xn--estv75g\":!0,\"xn--fct429k\":!0,\"xn--fhbei\":!0,\"xn--fiq228c5hs\":!0,\"xn--fiq64b\":!0,\"xn--fjq720a\":!0,\"xn--flw351e\":!0,\"xn--fzys8d69uvgm\":!0,\"xn--g2xx48c\":!0,\"xn--gckr3f0f\":!0,\"xn--hxt814e\":!0,\"xn--i1b6b1a6a2e\":!0,\"xn--imr513n\":!0,\"xn--io0a7i\":!0,\"xn--j1aef\":!0,\"xn--jlq61u9w7b\":!0,\"xn--jvr189m\":!0,\"xn--kcrx77d1x4a\":!0,\"xn--kpu716f\":!0,\"xn--kput3i\":!0,\"xn--mgba3a3ejt\":!0,\"xn--mgba7c0bbn0a\":!0,\"xn--mgbaakc7dvf\":!0,\"xn--mgbab2bd\":!0,\"xn--mgbb9fbpob\":!0,\"xn--mgbca7dzdo\":!0,\"xn--mgbt3dhd\":!0,\"xn--mk1bu44c\":!0,\"xn--mxtq1m\":!0,\"xn--ngbc5azd\":!0,\"xn--ngbe9e0a\":!0,\"xn--nqv7f\":!0,\"xn--nqv7fs00ema\":!0,\"xn--nyqy26a\":!0,\"xn--p1acf\":!0,\"xn--pbt977c\":!0,\"xn--pssy2u\":!0,\"xn--q9jyb4c\":!0,\"xn--qcka1pmc\":!0,\"xn--rhqv96g\":!0,\"xn--rovu88b\":!0,\"xn--ses554g\":!0,\"xn--t60b56a\":!0,\"xn--tckwe\":!0,\"xn--unup4y\":!0,\"xn--vermgensberater-ctb\":!0,\"xn--vermgensberatung-pwb\":!0,\"xn--vhquv\":!0,\"xn--vuq861b\":!0,\"xn--w4r85el8fhu5dnra\":!0,\"xn--w4rs40l\":!0,\"xn--xhq521b\":!0,\"xn--zfr164b\":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,\"cloudfront.net\":!0,\"ap-northeast-1.compute.amazonaws.com\":!0,\"ap-southeast-1.compute.amazonaws.com\":!0,\"ap-southeast-2.compute.amazonaws.com\":!0,\"cn-north-1.compute.amazonaws.cn\":!0,\"compute.amazonaws.cn\":!0,\"compute.amazonaws.com\":!0,\"compute-1.amazonaws.com\":!0,\"eu-west-1.compute.amazonaws.com\":!0,\"eu-central-1.compute.amazonaws.com\":!0,\"sa-east-1.compute.amazonaws.com\":!0,\"us-east-1.amazonaws.com\":!0,\"us-gov-west-1.compute.amazonaws.com\":!0,\"us-west-1.compute.amazonaws.com\":!0,\"us-west-2.compute.amazonaws.com\":!0,\"z-1.compute-1.amazonaws.com\":!0,\"z-2.compute-1.amazonaws.com\":!0,\"elasticbeanstalk.com\":!0,\"elb.amazonaws.com\":!0,\"s3.amazonaws.com\":!0,\"s3-ap-northeast-1.amazonaws.com\":!0,\"s3-ap-southeast-1.amazonaws.com\":!0,\"s3-ap-southeast-2.amazonaws.com\":!0,\"s3-external-1.amazonaws.com\":!0,\"s3-external-2.amazonaws.com\":!0,\"s3-fips-us-gov-west-1.amazonaws.com\":!0,\"s3-eu-central-1.amazonaws.com\":!0,\"s3-eu-west-1.amazonaws.com\":!0,\"s3-sa-east-1.amazonaws.com\":!0,\"s3-us-gov-west-1.amazonaws.com\":!0,\"s3-us-west-1.amazonaws.com\":!0,\"s3-us-west-2.amazonaws.com\":!0,\"s3.cn-north-1.amazonaws.com.cn\":!0,\"s3.eu-central-1.amazonaws.com\":!0,\"betainabox.com\":!0,\"ae.org\":!0,\"ar.com\":!0,\"br.com\":!0,\"cn.com\":!0,\"com.de\":!0,\"com.se\":!0,\"de.com\":!0,\"eu.com\":!0,\"gb.com\":!0,\"gb.net\":!0,\"hu.com\":!0,\"hu.net\":!0,\"jp.net\":!0,\"jpn.com\":!0,\"kr.com\":!0,\"mex.com\":!0,\"no.com\":!0,\"qc.com\":!0,\"ru.com\":!0,\"sa.com\":!0,\"se.com\":!0,\"se.net\":!0,\"uk.com\":!0,\"uk.net\":!0,\"us.com\":!0,\"uy.com\":!0,\"za.bz\":!0,\"za.com\":!0,\"africa.com\":!0,\"gr.com\":!0,\"in.net\":!0,\"us.org\":!0,\"co.com\":!0,\"c.la\":!0,\"cloudcontrolled.com\":!0,\"cloudcontrolapp.com\":!0,\"co.ca\":!0,\"c.cdn77.org\":!0,\"cdn77-ssl.net\":!0,\"r.cdn77.net\":!0,\"rsc.cdn77.org\":!0,\"ssl.origin.cdn77-secure.org\":!0,\"co.nl\":!0,\"co.no\":!0,\"*.platform.sh\":!0,\"cupcake.is\":!0,\"dreamhosters.com\":!0,\"duckdns.org\":!0,\"dyndns-at-home.com\":!0,\"dyndns-at-work.com\":!0,\"dyndns-blog.com\":!0,\"dyndns-free.com\":!0,\"dyndns-home.com\":!0,\"dyndns-ip.com\":!0,\"dyndns-mail.com\":!0,\"dyndns-office.com\":!0,\"dyndns-pics.com\":!0,\"dyndns-remote.com\":!0,\"dyndns-server.com\":!0,\"dyndns-web.com\":!0,\"dyndns-wiki.com\":!0,\"dyndns-work.com\":!0,\"dyndns.biz\":!0,\"dyndns.info\":!0,\"dyndns.org\":!0,\"dyndns.tv\":!0,\"at-band-camp.net\":!0,\"ath.cx\":!0,\"barrel-of-knowledge.info\":!0,\"barrell-of-knowledge.info\":!0,\"better-than.tv\":!0,\"blogdns.com\":!0,\"blogdns.net\":!0,\"blogdns.org\":!0,\"blogsite.org\":!0,\"boldlygoingnowhere.org\":!0,\"broke-it.net\":!0,\"buyshouses.net\":!0,\"cechire.com\":!0,\"dnsalias.com\":!0,\"dnsalias.net\":!0,\"dnsalias.org\":!0,\"dnsdojo.com\":!0,\"dnsdojo.net\":!0,\"dnsdojo.org\":!0,\"does-it.net\":!0,\"doesntexist.com\":!0,\"doesntexist.org\":!0,\"dontexist.com\":!0,\"dontexist.net\":!0,\"dontexist.org\":!0,\"doomdns.com\":!0,\"doomdns.org\":!0,\"dvrdns.org\":!0,\"dyn-o-saur.com\":!0,\"dynalias.com\":!0,\"dynalias.net\":!0,\"dynalias.org\":!0,\"dynathome.net\":!0,\"dyndns.ws\":!0,\"endofinternet.net\":!0,\"endofinternet.org\":!0,\"endoftheinternet.org\":!0,\"est-a-la-maison.com\":!0,\"est-a-la-masion.com\":!0,\"est-le-patron.com\":!0,\"est-mon-blogueur.com\":!0,\"for-better.biz\":!0,\"for-more.biz\":!0,\"for-our.info\":!0,\"for-some.biz\":!0,\"for-the.biz\":!0,\"forgot.her.name\":!0,\"forgot.his.name\":!0,\"from-ak.com\":!0,\"from-al.com\":!0,\"from-ar.com\":!0,\"from-az.net\":!0,\"from-ca.com\":!0,\"from-co.net\":!0,\"from-ct.com\":!0,\"from-dc.com\":!0,\"from-de.com\":!0,\"from-fl.com\":!0,\"from-ga.com\":!0,\"from-hi.com\":!0,\"from-ia.com\":!0,\"from-id.com\":!0,\"from-il.com\":!0,\"from-in.com\":!0,\"from-ks.com\":!0,\"from-ky.com\":!0,\"from-la.net\":!0,\"from-ma.com\":!0,\"from-md.com\":!0,\"from-me.org\":!0,\"from-mi.com\":!0,\"from-mn.com\":!0,\"from-mo.com\":!0,\"from-ms.com\":!0,\"from-mt.com\":!0,\"from-nc.com\":!0,\"from-nd.com\":!0,\"from-ne.com\":!0,\"from-nh.com\":!0,\"from-nj.com\":!0,\"from-nm.com\":!0,\"from-nv.com\":!0,\"from-ny.net\":!0,\"from-oh.com\":!0,\"from-ok.com\":!0,\"from-or.com\":!0,\"from-pa.com\":!0,\"from-pr.com\":!0,\"from-ri.com\":!0,\"from-sc.com\":!0,\"from-sd.com\":!0,\"from-tn.com\":!0,\"from-tx.com\":!0,\"from-ut.com\":!0,\"from-va.com\":!0,\"from-vt.com\":!0,\"from-wa.com\":!0,\"from-wi.com\":!0,\"from-wv.com\":!0,\"from-wy.com\":!0,\"ftpaccess.cc\":!0,\"fuettertdasnetz.de\":!0,\"game-host.org\":!0,\"game-server.cc\":!0,\"getmyip.com\":!0,\"gets-it.net\":!0,\"go.dyndns.org\":!0,\"gotdns.com\":!0,\"gotdns.org\":!0,\"groks-the.info\":!0,\"groks-this.info\":!0,\"ham-radio-op.net\":!0,\"here-for-more.info\":!0,\"hobby-site.com\":!0,\"hobby-site.org\":!0,\"home.dyndns.org\":!0,\"homedns.org\":!0,\"homeftp.net\":!0,\"homeftp.org\":!0,\"homeip.net\":!0,\"homelinux.com\":!0,\"homelinux.net\":!0,\"homelinux.org\":!0,\"homeunix.com\":!0,\"homeunix.net\":!0,\"homeunix.org\":!0,\"iamallama.com\":!0,\"in-the-band.net\":!0,\"is-a-anarchist.com\":!0,\"is-a-blogger.com\":!0,\"is-a-bookkeeper.com\":!0,\"is-a-bruinsfan.org\":!0,\"is-a-bulls-fan.com\":!0,\"is-a-candidate.org\":!0,\"is-a-caterer.com\":!0,\"is-a-celticsfan.org\":!0,\"is-a-chef.com\":!0,\"is-a-chef.net\":!0,\"is-a-chef.org\":!0,\"is-a-conservative.com\":!0,\"is-a-cpa.com\":!0,\"is-a-cubicle-slave.com\":!0,\"is-a-democrat.com\":!0,\"is-a-designer.com\":!0,\"is-a-doctor.com\":!0,\"is-a-financialadvisor.com\":!0,\"is-a-geek.com\":!0,\"is-a-geek.net\":!0,\"is-a-geek.org\":!0,\"is-a-green.com\":!0,\"is-a-guru.com\":!0,\"is-a-hard-worker.com\":!0,\"is-a-hunter.com\":!0,\"is-a-knight.org\":!0,\"is-a-landscaper.com\":!0,\"is-a-lawyer.com\":!0,\"is-a-liberal.com\":!0,\"is-a-libertarian.com\":!0,\"is-a-linux-user.org\":!0,\"is-a-llama.com\":!0,\"is-a-musician.com\":!0,\"is-a-nascarfan.com\":!0,\"is-a-nurse.com\":!0,\"is-a-painter.com\":!0,\"is-a-patsfan.org\":!0,\"is-a-personaltrainer.com\":!0,\"is-a-photographer.com\":!0,\"is-a-player.com\":!0,\"is-a-republican.com\":!0,\"is-a-rockstar.com\":!0,\"is-a-socialist.com\":!0,\"is-a-soxfan.org\":!0,\"is-a-student.com\":!0,\"is-a-teacher.com\":!0,\"is-a-techie.com\":!0,\"is-a-therapist.com\":!0,\"is-an-accountant.com\":!0,\"is-an-actor.com\":!0,\"is-an-actress.com\":!0,\"is-an-anarchist.com\":!0,\"is-an-artist.com\":!0,\"is-an-engineer.com\":!0,\"is-an-entertainer.com\":!0,\"is-by.us\":!0,\"is-certified.com\":!0,\"is-found.org\":!0,\"is-gone.com\":!0,\"is-into-anime.com\":!0,\"is-into-cars.com\":!0,\"is-into-cartoons.com\":!0,\"is-into-games.com\":!0,\"is-leet.com\":!0,\"is-lost.org\":!0,\"is-not-certified.com\":!0,\"is-saved.org\":!0,\"is-slick.com\":!0,\"is-uberleet.com\":!0,\"is-very-bad.org\":!0,\"is-very-evil.org\":!0,\"is-very-good.org\":!0,\"is-very-nice.org\":!0,\"is-very-sweet.org\":!0,\"is-with-theband.com\":!0,\"isa-geek.com\":!0,\"isa-geek.net\":!0,\"isa-geek.org\":!0,\"isa-hockeynut.com\":!0,\"issmarterthanyou.com\":!0,\"isteingeek.de\":!0,\"istmein.de\":!0,\"kicks-ass.net\":!0,\"kicks-ass.org\":!0,\"knowsitall.info\":!0,\"land-4-sale.us\":!0,\"lebtimnetz.de\":!0,\"leitungsen.de\":!0,\"likes-pie.com\":!0,\"likescandy.com\":!0,\"merseine.nu\":!0,\"mine.nu\":!0,\"misconfused.org\":!0,\"mypets.ws\":!0,\"myphotos.cc\":!0,\"neat-url.com\":!0,\"office-on-the.net\":!0,\"on-the-web.tv\":!0,\"podzone.net\":!0,\"podzone.org\":!0,\"readmyblog.org\":!0,\"saves-the-whales.com\":!0,\"scrapper-site.net\":!0,\"scrapping.cc\":!0,\"selfip.biz\":!0,\"selfip.com\":!0,\"selfip.info\":!0,\"selfip.net\":!0,\"selfip.org\":!0,\"sells-for-less.com\":!0,\"sells-for-u.com\":!0,\"sells-it.net\":!0,\"sellsyourhome.org\":!0,\"servebbs.com\":!0,\"servebbs.net\":!0,\"servebbs.org\":!0,\"serveftp.net\":!0,\"serveftp.org\":!0,\"servegame.org\":!0,\"shacknet.nu\":!0,\"simple-url.com\":!0,\"space-to-rent.com\":!0,\"stuff-4-sale.org\":!0,\"stuff-4-sale.us\":!0,\"teaches-yoga.com\":!0,\"thruhere.net\":!0,\"traeumtgerade.de\":!0,\"webhop.biz\":!0,\"webhop.info\":!0,\"webhop.net\":!0,\"webhop.org\":!0,\"worse-than.tv\":!0,\"writesthisblog.com\":!0,\"eu.org\":!0,\"al.eu.org\":!0,\"asso.eu.org\":!0,\"at.eu.org\":!0,\"au.eu.org\":!0,\"be.eu.org\":!0,\"bg.eu.org\":!0,\"ca.eu.org\":!0,\"cd.eu.org\":!0,\"ch.eu.org\":!0,\"cn.eu.org\":!0,\"cy.eu.org\":!0,\"cz.eu.org\":!0,\"de.eu.org\":!0,\"dk.eu.org\":!0,\"edu.eu.org\":!0,\"ee.eu.org\":!0,\"es.eu.org\":!0,\"fi.eu.org\":!0,\"fr.eu.org\":!0,\"gr.eu.org\":!0,\"hr.eu.org\":!0,\"hu.eu.org\":!0,\"ie.eu.org\":!0,\"il.eu.org\":!0,\"in.eu.org\":!0,\"int.eu.org\":!0,\"is.eu.org\":!0,\"it.eu.org\":!0,\"jp.eu.org\":!0,\"kr.eu.org\":!0,\"lt.eu.org\":!0,\"lu.eu.org\":!0,\"lv.eu.org\":!0,\"mc.eu.org\":!0,\"me.eu.org\":!0,\"mk.eu.org\":!0,\"mt.eu.org\":!0,\"my.eu.org\":!0,\"net.eu.org\":!0,\"ng.eu.org\":!0,\"nl.eu.org\":!0,\"no.eu.org\":!0,\"nz.eu.org\":!0,\"paris.eu.org\":!0,\"pl.eu.org\":!0,\"pt.eu.org\":!0,\"q-a.eu.org\":!0,\"ro.eu.org\":!0,\"ru.eu.org\":!0,\"se.eu.org\":!0,\"si.eu.org\":!0,\"sk.eu.org\":!0,\"tr.eu.org\":!0,\"uk.eu.org\":!0,\"us.eu.org\":!0,\"a.ssl.fastly.net\":!0,\"b.ssl.fastly.net\":!0,\"global.ssl.fastly.net\":!0,\"a.prod.fastly.net\":!0,\"global.prod.fastly.net\":!0,\"firebaseapp.com\":!0,\"flynnhub.com\":!0,\"service.gov.uk\":!0,\"github.io\":!0,\"githubusercontent.com\":!0,\"ro.com\":!0,\"appspot.com\":!0,\"blogspot.ae\":!0,\"blogspot.al\":!0,\"blogspot.am\":!0,\"blogspot.ba\":!0,\"blogspot.be\":!0,\"blogspot.bg\":!0,\"blogspot.bj\":!0,\"blogspot.ca\":!0,\"blogspot.cf\":!0,\"blogspot.ch\":!0,\"blogspot.cl\":!0,\"blogspot.co.at\":!0,\"blogspot.co.id\":!0,\"blogspot.co.il\":!0,\"blogspot.co.ke\":!0,\"blogspot.co.nz\":!0,\"blogspot.co.uk\":!0,\"blogspot.co.za\":!0,\"blogspot.com\":!0,\"blogspot.com.ar\":!0,\"blogspot.com.au\":!0,\"blogspot.com.br\":!0,\"blogspot.com.by\":!0,\"blogspot.com.co\":!0,\"blogspot.com.cy\":!0,\"blogspot.com.ee\":!0,\"blogspot.com.eg\":!0,\"blogspot.com.es\":!0,\"blogspot.com.mt\":!0,\"blogspot.com.ng\":!0,\"blogspot.com.tr\":!0,\"blogspot.com.uy\":!0,\"blogspot.cv\":!0,\"blogspot.cz\":!0,\"blogspot.de\":!0,\"blogspot.dk\":!0,\"blogspot.fi\":!0,\"blogspot.fr\":!0,\"blogspot.gr\":!0,\"blogspot.hk\":!0,\"blogspot.hr\":!0,\"blogspot.hu\":!0,\"blogspot.ie\":!0,\"blogspot.in\":!0,\"blogspot.is\":!0,\"blogspot.it\":!0,\"blogspot.jp\":!0,\"blogspot.kr\":!0,\"blogspot.li\":!0,\"blogspot.lt\":!0,\"blogspot.lu\":!0,\"blogspot.md\":!0,\"blogspot.mk\":!0,\"blogspot.mr\":!0,\"blogspot.mx\":!0,\"blogspot.my\":!0,\"blogspot.nl\":!0,\"blogspot.no\":!0,\"blogspot.pe\":!0,\"blogspot.pt\":!0,\"blogspot.qa\":!0,\"blogspot.re\":!0,\"blogspot.ro\":!0,\"blogspot.rs\":!0,\"blogspot.ru\":!0,\"blogspot.se\":!0,\"blogspot.sg\":!0,\"blogspot.si\":!0,\"blogspot.sk\":!0,\"blogspot.sn\":!0,\"blogspot.td\":!0,\"blogspot.tw\":!0,\"blogspot.ug\":!0,\"blogspot.vn\":!0,\"codespot.com\":!0,\"googleapis.com\":!0,\"googlecode.com\":!0,\"pagespeedmobilizer.com\":!0,\"withgoogle.com\":!0,\"withyoutube.com\":!0,\"herokuapp.com\":!0,\"herokussl.com\":!0,\"iki.fi\":!0,\"biz.at\":!0,\"info.at\":!0,\"co.pl\":!0,\"azurewebsites.net\":!0,\"azure-mobile.net\":!0,\"cloudapp.net\":!0,\"bmoattachments.org\":!0,\"4u.com\":!0,\"nfshost.com\":!0,\"nyc.mn\":!0,\"nid.io\":!0,\"operaunite.com\":!0,\"outsystemscloud.com\":!0,\"art.pl\":!0,\"gliwice.pl\":!0,\"krakow.pl\":!0,\"poznan.pl\":!0,\"wroc.pl\":!0,\"zakopane.pl\":!0,\"pantheon.io\":!0,\"gotpantheon.com\":!0,\"priv.at\":!0,\"qa2.com\":!0,\"rhcloud.com\":!0,\"sandcats.io\":!0,\"biz.ua\":!0,\"co.ua\":!0,\"pp.ua\":!0,\"sinaapp.com\":!0,\"vipsinaapp.com\":!0,\"1kapp.com\":!0,\"gda.pl\":!0,\"gdansk.pl\":!0,\"gdynia.pl\":!0,\"med.pl\":!0,\"sopot.pl\":!0,\"hk.com\":!0,\"hk.org\":!0,\"ltd.hk\":!0,\"inc.hk\":!0,\"yolasite.com\":!0,\"za.net\":!0,\"za.org\":!0})},{punycode:void 0}],463:[function(e,t,n){\"use strict\";function r(){}n.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,n,r){throw new Error(\"findCookie is not implemented\")},r.prototype.findCookies=function(e,t,n){throw new Error(\"findCookies is not implemented\")},r.prototype.putCookie=function(e,t){throw new Error(\"putCookie is not implemented\")},r.prototype.updateCookie=function(e,t,n){throw new Error(\"updateCookie is not implemented\")},r.prototype.removeCookie=function(e,t,n,r){throw new Error(\"removeCookie is not implemented\")},r.prototype.removeCookies=function(e,t,n){throw new Error(\"removeCookies is not implemented\")},r.prototype.getAllCookies=function(e){throw new Error(\"getAllCookies is not implemented (therefore jar cannot be serialized)\")}},{}],464:[function(e,t,n){t.exports={_args:[[\"tough-cookie@~2.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"tough-cookie@>=2.2.0 <2.3.0\",_id:\"tough-cookie@2.2.2\",_inCache:!0,_installable:!0,_location:\"/tough-cookie\",_nodeVersion:\"5.1.1\",_npmOperationalInternal:{host:\"packages-13-west.internal.npmjs.com\",tmp:\"tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946\"},_npmUser:{email:\"jstash@gmail.com\",name:\"jstash\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"tough-cookie\",raw:\"tough-cookie@~2.2.0\",rawSpec:\"~2.2.0\",scope:null,spec:\">=2.2.0 <2.3.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\",_shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",_shrinkwrap:null,_spec:\"tough-cookie@~2.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"jstashewsky@salesforce.com\",name:\"Jeremy Stashewsky\"},bugs:{url:\"https://github.com/SalesforceEng/tough-cookie/issues\"},contributors:[{name:\"Alexander Savin\"},{name:\"Ian Livingstone\"},{name:\"Ivan Nikulin\"},{name:\"Lalit Kapoor\"},{name:\"Sam Thompson\"},{name:\"Sebastian Mayr\"}],dependencies:{},description:\"RFC6265 Cookies and Cookie Jar for node.js\",devDependencies:{async:\"^1.4.2\",vows:\"^0.8.1\"},directories:{},dist:{shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",tarball:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\"},engines:{node:\">=0.10.0\"},files:[\"lib\"],gitHead:\"cc46628c4d7d2e8c372ecba29293ca8a207ec192\",homepage:\"https://github.com/SalesforceEng/tough-cookie\",keywords:[\"HTTP\",\"RFC2965\",\"RFC6265\",\"cookie\",\"cookiejar\",\"cookies\",\"jar\",\"set-cookie\"],license:\"BSD-3-Clause\",main:\"./lib/cookie\",maintainers:[{name:\"jstash\",email:\"jeremy@goinstant.com\"},{name:\"goinstant\",email:\"services@goinstant.com\"}],name:\"tough-cookie\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/SalesforceEng/tough-cookie.git\"},scripts:{suffixup:\"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js\",test:\"vows test/*_test.js\"},version:\"2.2.2\"}},{}],465:[function(e,t,n){(function(t){\"use strict\";function r(e){var t=new s(e);return t.request=l.request,t}function i(e){var t=new s(e);return t.request=l.request,t.createSocket=c,t.defaultPort=443,t}function o(e){var t=new s(e);return t.request=f.request,t}function a(e){var t=new s(e);return t.request=f.request,t.createSocket=c,t.defaultPort=443,t}function s(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||l.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(\"free\",function(e,n,r){for(var i=0,o=t.requests.length;o>i;++i){var a=t.requests[i];if(a.host===n&&a.port===r)return t.requests.splice(i,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function c(e,t){var n=this;s.prototype.createSocket.call(n,e,function(r){var i=p.connect(0,u({},n.options,{servername:e.host,socket:r}));n.sockets[n.sockets.indexOf(r)]=i,t(i)})}function u(e){for(var t=1,n=arguments.length;n>t;++t){var r=arguments[t];if(\"object\"==typeof r)for(var i=Object.keys(r),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==r[s]&&(e[s]=r[s])}}return e}var p=(e(\"net\"),e(\"tls\")),l=e(\"http\"),f=e(\"https\"),d=e(\"events\"),h=e(\"assert\"),m=e(\"util\");n.httpOverHttp=r,n.httpsOverHttp=i,n.httpOverHttps=o,n.httpsOverHttps=a,m.inherits(s,d.EventEmitter),s.prototype.addRequest=function(e,t){var n=this;return\"string\"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets?void n.requests.push({host:t.host,port:t.port,request:e}):void n.createConnection({host:t.host,port:t.port,request:e})},s.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(n){function r(){t.emit(\"free\",n,e.host,e.port)}function i(e){t.removeSocket(n),n.removeListener(\"free\",r),n.removeListener(\"close\",i),n.removeListener(\"agentRemove\",i)}n.on(\"free\",r),n.on(\"close\",i),n.on(\"agentRemove\",i),e.request.onSocket(n)})},s.prototype.createSocket=function(e,n){function r(e){e.upgrade=!0}function i(e,t,n){process.nextTick(function(){o(e,t,n)})}function o(t,r,i){if(l.removeAllListeners(),r.removeAllListeners(),200===t.statusCode)h.equal(i.length,0),v(\"tunneling connection has established\"),s.sockets[s.sockets.indexOf(c)]=r,n(r);else{v(\"tunneling socket could not be established, statusCode=%d\",t.statusCode);var o=new Error(\"tunneling socket could not be established, statusCode=\"+t.statusCode);o.code=\"ECONNRESET\",e.request.emit(\"error\",o),s.removeSocket(c)}}function a(t){l.removeAllListeners(),v(\"tunneling socket could not be established, cause=%s\\n\",t.message,t.stack);var n=new Error(\"tunneling socket could not be established, cause=\"+t.message);n.code=\"ECONNRESET\",e.request.emit(\"error\",n),s.removeSocket(c)}var s=this,c={};s.sockets.push(c);var p=u({},s.proxyOptions,{method:\"CONNECT\",path:e.host+\":\"+e.port,agent:!1});p.proxyAuth&&(p.headers=p.headers||{},p.headers[\"Proxy-Authorization\"]=\"Basic \"+new t(p.proxyAuth).toString(\"base64\")),v(\"making CONNECT request\");var l=s.request(p);l.useChunkedEncodingByDefault=!1,l.once(\"response\",r),l.once(\"upgrade\",i),l.once(\"connect\",o),l.once(\"error\",a),l.end()},s.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createConnection(n)}};var v;v=process.env.NODE_DEBUG&&/\\btunnel\\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);\"string\"==typeof e[0]?e[0]=\"TUNNEL: \"+e[0]:e.unshift(\"TUNNEL:\"),console.error.apply(console,e)}:function(){},n.debug=v}).call(this,e(\"buffer\").Buffer)},{assert:void 0,buffer:void 0,events:void 0,http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],466:[function(e,t,n){!function(t){\"use strict\";function n(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function r(e,t,n,r,i){var o,a=0;for(o=0;i>o;o++)a|=e[t+o]^n[r+o];return(1&a-1>>>8)-1}function i(e,t,n,i){return r(e,t,n,i,16)}function o(e,t,n,i){return r(e,t,n,i,32)}function a(e,t,n,r){\nfor(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;w=w+o|0,_=_+a|0,k=k+s|0,j=j+c|0,S=S+u|0,E=E+p|0,O=O+l|0,A=A+f|0,C=C+d|0,T=T+h|0,I=I+m|0,P=P+v|0,F=F+g|0,M=M+y|0,z=z+b|0,B=B+x|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=_>>>0&255,e[5]=_>>>8&255,e[6]=_>>>16&255,e[7]=_>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=T>>>0&255,e[37]=T>>>8&255,e[38]=T>>>16&255,e[39]=T>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=z>>>0&255,e[57]=z>>>8&255,e[58]=z>>>16&255,e[59]=z>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,n,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=I>>>0&255,e[9]=I>>>8&255,e[10]=I>>>16&255,e[11]=I>>>24&255,e[12]=B>>>0&255,e[13]=B>>>8&255,e[14]=B>>>16&255,e[15]=B>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255}function c(e,t,n,r){a(e,t,n,r)}function u(e,t,n,r){s(e,t,n,r)}function p(e,t,n,r,i,o,a){var s,u,p=new Uint8Array(16),l=new Uint8Array(64);for(u=0;16>u;u++)p[u]=0;for(u=0;8>u;u++)p[u]=o[u];for(;i>=64;){for(c(l,p,a,fe),u=0;64>u;u++)e[t+u]=n[r+u]^l[u];for(s=1,u=8;16>u;u++)s=s+(255&p[u])|0,p[u]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(c(l,p,a,fe),u=0;i>u;u++)e[t+u]=n[r+u]^l[u];return 0}function l(e,t,n,r,i){var o,a,s=new Uint8Array(16),u=new Uint8Array(64);for(a=0;16>a;a++)s[a]=0;for(a=0;8>a;a++)s[a]=r[a];for(;n>=64;){for(c(u,s,i,fe),a=0;64>a;a++)e[t+a]=u[a];for(o=1,a=8;16>a;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;n-=64,t+=64}if(n>0)for(c(u,s,i,fe),a=0;n>a;a++)e[t+a]=u[a];return 0}function f(e,t,n,r,i){var o=new Uint8Array(32);u(o,r,i,fe);for(var a=new Uint8Array(8),s=0;8>s;s++)a[s]=r[s+16];return l(e,t,n,a,o)}function d(e,t,n,r,i,o,a){var s=new Uint8Array(32);u(s,o,a,fe);for(var c=new Uint8Array(8),l=0;8>l;l++)c[l]=o[l+16];return p(e,t,n,r,i,c,s)}function h(e,t,n,r,i,o){var a=new de(o);return a.update(n,r,i),a.finish(e,t),0}function m(e,t,n,r,o,a){var s=new Uint8Array(16);return h(s,0,n,r,o,a),i(e,t,s,0)}function v(e,t,n,r,i){var o;if(32>n)return-1;for(d(e,0,t,0,n,r,i),h(e,16,e,32,n-32,e),o=0;16>o;o++)e[o]=0;return 0}function g(e,t,n,r,i){var o,a=new Uint8Array(32);if(32>n)return-1;if(f(a,0,32,r,i),0!==m(t,16,t,32,n-32,a))return-1;for(d(e,0,t,0,n,r,i),o=0;32>o;o++)e[o]=0;return 0}function y(e,t){var n;for(n=0;16>n;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;16>t;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function x(e,t,n){for(var r,i=~(n-1),o=0;16>o;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function w(e,t){var n,r,i,o=ee(),a=ee();for(n=0;16>n;n++)a[n]=t[n];for(b(a),b(a),b(a),r=0;2>r;r++){for(o[0]=a[0]-65517,n=1;15>n;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,x(a,o,1-i)}for(n=0;16>n;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function _(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return w(n,e),w(r,t),o(n,0,r,0)}function k(e){var t=new Uint8Array(32);return w(t,e),1&t[0]}function j(e,t){var n;for(n=0;16>n;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function S(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]+n[r]}function E(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]-n[r]}function O(e,t,n){var r,i,o=0,a=0,s=0,c=0,u=0,p=0,l=0,f=0,d=0,h=0,m=0,v=0,g=0,y=0,b=0,x=0,w=0,_=0,k=0,j=0,S=0,E=0,O=0,A=0,C=0,T=0,I=0,P=0,F=0,M=0,z=0,B=n[0],N=n[1],D=n[2],q=n[3],R=n[4],L=n[5],$=n[6],U=n[7],H=n[8],V=n[9],W=n[10],Y=n[11],K=n[12],G=n[13],J=n[14],Z=n[15];r=t[0],o+=r*B,a+=r*N,s+=r*D,c+=r*q,u+=r*R,p+=r*L,l+=r*$,f+=r*U,d+=r*H,h+=r*V,m+=r*W,v+=r*Y,g+=r*K,y+=r*G,b+=r*J,x+=r*Z,r=t[1],a+=r*B,s+=r*N,c+=r*D,u+=r*q,p+=r*R,l+=r*L,f+=r*$,d+=r*U,h+=r*H,m+=r*V,v+=r*W,g+=r*Y,y+=r*K,b+=r*G,x+=r*J,w+=r*Z,r=t[2],s+=r*B,c+=r*N,u+=r*D,p+=r*q,l+=r*R,f+=r*L,d+=r*$,h+=r*U,m+=r*H,v+=r*V,g+=r*W,y+=r*Y,b+=r*K,x+=r*G,w+=r*J,_+=r*Z,r=t[3],c+=r*B,u+=r*N,p+=r*D,l+=r*q,f+=r*R,d+=r*L,h+=r*$,m+=r*U,v+=r*H,g+=r*V,y+=r*W,b+=r*Y,x+=r*K,w+=r*G,_+=r*J,k+=r*Z,r=t[4],u+=r*B,p+=r*N,l+=r*D,f+=r*q,d+=r*R,h+=r*L,m+=r*$,v+=r*U,g+=r*H,y+=r*V,b+=r*W,x+=r*Y,w+=r*K,_+=r*G,k+=r*J,j+=r*Z,r=t[5],p+=r*B,l+=r*N,f+=r*D,d+=r*q,h+=r*R,m+=r*L,v+=r*$,g+=r*U,y+=r*H,b+=r*V,x+=r*W,w+=r*Y,_+=r*K,k+=r*G,j+=r*J,S+=r*Z,r=t[6],l+=r*B,f+=r*N,d+=r*D,h+=r*q,m+=r*R,v+=r*L,g+=r*$,y+=r*U,b+=r*H,x+=r*V,w+=r*W,_+=r*Y,k+=r*K,j+=r*G,S+=r*J,E+=r*Z,r=t[7],f+=r*B,d+=r*N,h+=r*D,m+=r*q,v+=r*R,g+=r*L,y+=r*$,b+=r*U,x+=r*H,w+=r*V,_+=r*W,k+=r*Y,j+=r*K,S+=r*G,E+=r*J,O+=r*Z,r=t[8],d+=r*B,h+=r*N,m+=r*D,v+=r*q,g+=r*R,y+=r*L,b+=r*$,x+=r*U,w+=r*H,_+=r*V,k+=r*W,j+=r*Y,S+=r*K,E+=r*G,O+=r*J,A+=r*Z,r=t[9],h+=r*B,m+=r*N,v+=r*D,g+=r*q,y+=r*R,b+=r*L,x+=r*$,w+=r*U,_+=r*H,k+=r*V,j+=r*W,S+=r*Y,E+=r*K,O+=r*G,A+=r*J,C+=r*Z,r=t[10],m+=r*B,v+=r*N,g+=r*D,y+=r*q,b+=r*R,x+=r*L,w+=r*$,_+=r*U,k+=r*H,j+=r*V,S+=r*W,E+=r*Y,O+=r*K,A+=r*G,C+=r*J,T+=r*Z,r=t[11],v+=r*B,g+=r*N,y+=r*D,b+=r*q,x+=r*R,w+=r*L,_+=r*$,k+=r*U,j+=r*H,S+=r*V,E+=r*W,O+=r*Y,A+=r*K,C+=r*G,T+=r*J,I+=r*Z,r=t[12],g+=r*B,y+=r*N,b+=r*D,x+=r*q,w+=r*R,_+=r*L,k+=r*$,j+=r*U,S+=r*H,E+=r*V,O+=r*W,A+=r*Y,C+=r*K,T+=r*G,I+=r*J,P+=r*Z,r=t[13],y+=r*B,b+=r*N,x+=r*D,w+=r*q,_+=r*R,k+=r*L,j+=r*$,S+=r*U,E+=r*H,O+=r*V,A+=r*W,C+=r*Y,T+=r*K,I+=r*G,P+=r*J,F+=r*Z,r=t[14],b+=r*B,x+=r*N,w+=r*D,_+=r*q,k+=r*R,j+=r*L,S+=r*$,E+=r*U,O+=r*H,A+=r*V,C+=r*W,T+=r*Y,I+=r*K,P+=r*G,F+=r*J,M+=r*Z,r=t[15],x+=r*B,w+=r*N,_+=r*D,k+=r*q,j+=r*R,S+=r*L,E+=r*$,O+=r*U,A+=r*H,C+=r*V,T+=r*W,I+=r*Y,P+=r*K,F+=r*G,M+=r*J,z+=r*Z,o+=38*w,a+=38*_,s+=38*k,c+=38*j,u+=38*S,p+=38*E,l+=38*O,f+=38*A,d+=38*C,h+=38*T,m+=38*I,v+=38*P,g+=38*F,y+=38*M,b+=38*z,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=f,e[8]=d,e[9]=h,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=x}function A(e,t){O(e,t,t)}function C(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=253;n>=0;n--)A(r,r),2!==n&&4!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function T(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=250;n>=0;n--)A(r,r),1!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function I(e,t,n){var r,i,o=new Uint8Array(32),a=new Float64Array(80),s=ee(),c=ee(),u=ee(),p=ee(),l=ee(),f=ee();for(i=0;31>i;i++)o[i]=t[i];for(o[31]=127&t[31]|64,o[0]&=248,j(a,n),i=0;16>i;i++)c[i]=a[i],p[i]=s[i]=u[i]=0;for(s[0]=p[0]=1,i=254;i>=0;--i)r=o[i>>>3]>>>(7&i)&1,x(s,c,r),x(u,p,r),S(l,s,u),E(s,s,u),S(u,c,p),E(c,c,p),A(p,l),A(f,s),O(s,u,s),O(u,c,l),S(l,s,u),E(s,s,u),A(c,s),E(u,p,f),O(s,u,ae),S(s,s,p),O(u,u,s),O(s,p,f),O(p,c,a),A(c,l),x(s,c,r),x(u,p,r);for(i=0;16>i;i++)a[i+16]=s[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=p[i];var d=a.subarray(32),h=a.subarray(16);return C(d,d),O(h,h,d),w(e,h),0}function P(e,t){return I(e,t,re)}function F(e,t){return te(t,32),P(e,t)}function M(e,t,n){var r=new Uint8Array(32);return I(r,n,t),u(e,ne,r,fe)}function z(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),he(e,t,n,r,a)}function B(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),me(e,t,n,r,a)}function N(e,t,n,r){for(var i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_,k,j,S,E,O,A,C,T=new Int32Array(16),I=new Int32Array(16),P=e[0],F=e[1],M=e[2],z=e[3],B=e[4],N=e[5],D=e[6],q=e[7],R=t[0],L=t[1],$=t[2],U=t[3],H=t[4],V=t[5],W=t[6],Y=t[7],K=0;r>=128;){for(_=0;16>_;_++)k=8*_+K,T[_]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],I[_]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(_=0;80>_;_++)if(i=P,o=F,a=M,s=z,c=B,u=N,p=D,l=q,f=R,d=L,h=$,m=U,v=H,g=V,y=W,b=Y,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=B&N^~B&D,S=H&V^~H&W,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=ve[2*_],S=ve[2*_+1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=T[_%16],S=I[_%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,x=65535&A|C<<16,w=65535&E|O<<16,j=x,S=w,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(P>>>28|R<<4)^(R>>>2|P<<30)^(R>>>7|P<<25),S=(R>>>28|P<<4)^(P>>>2|R<<30)^(P>>>7|R<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=P&F^P&M^F&M,S=R&L^R&$^L&$,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,l=65535&A|C<<16,b=65535&E|O<<16,j=s,S=m,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=x,S=w,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,s=65535&A|C<<16,m=65535&E|O<<16,F=i,M=o,z=a,B=s,N=c,D=u,q=p,P=l,L=f,$=d,U=h,H=m,V=v,W=g,Y=y,R=b,_%16===15)for(k=0;16>k;k++)j=T[k],S=I[k],E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=T[(k+9)%16],S=I[(k+9)%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+1)%16],w=I[(k+1)%16],j=(x>>>1|w<<31)^(x>>>8|w<<24)^x>>>7,S=(w>>>1|x<<31)^(w>>>8|x<<24)^(w>>>7|x<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+14)%16],w=I[(k+14)%16],j=(x>>>19|w<<13)^(w>>>29|x<<3)^x>>>6,S=(w>>>19|x<<13)^(x>>>29|w<<3)^(w>>>6|x<<26),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,T[k]=65535&A|C<<16,I[k]=65535&E|O<<16;j=P,S=R,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[0],S=t[0],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[0]=P=65535&A|C<<16,t[0]=R=65535&E|O<<16,j=F,S=L,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[1],S=t[1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[1]=F=65535&A|C<<16,t[1]=L=65535&E|O<<16,j=M,S=$,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[2],S=t[2],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[2]=M=65535&A|C<<16,t[2]=$=65535&E|O<<16,j=z,S=U,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[3],S=t[3],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[3]=z=65535&A|C<<16,t[3]=U=65535&E|O<<16,j=B,S=H,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[4],S=t[4],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[4]=B=65535&A|C<<16,t[4]=H=65535&E|O<<16,j=N,S=V,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[5],S=t[5],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[5]=N=65535&A|C<<16,t[5]=V=65535&E|O<<16,j=D,S=W,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[6],S=t[6],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[6]=D=65535&A|C<<16,t[6]=W=65535&E|O<<16,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[7],S=t[7],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[7]=q=65535&A|C<<16,t[7]=Y=65535&E|O<<16,K+=128,r-=128}return r}function D(e,t,r){var i,o=new Int32Array(8),a=new Int32Array(8),s=new Uint8Array(256),c=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,N(o,a,t,r),r%=128,i=0;r>i;i++)s[i]=t[c-r+i];for(s[r]=128,r=256-128*(112>r?1:0),s[r-9]=0,n(s,r-8,c/536870912|0,c<<3),N(o,a,s,r),i=0;8>i;i++)n(e,8*i,o[i],a[i]);return 0}function q(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee(),u=ee(),p=ee();E(n,e[1],e[0]),E(p,t[1],t[0]),O(n,n,p),S(r,e[0],e[1]),S(p,t[0],t[1]),O(r,r,p),O(i,e[3],t[3]),O(i,i,ce),O(o,e[2],t[2]),S(o,o,o),E(a,r,n),E(s,o,i),S(c,o,i),S(u,r,n),O(e[0],a,s),O(e[1],u,c),O(e[2],c,s),O(e[3],a,u)}function R(e,t,n){var r;for(r=0;4>r;r++)x(e[r],t[r],n)}function L(e,t){var n=ee(),r=ee(),i=ee();C(i,t[2]),O(n,t[0],i),O(r,t[1],i),w(e,r),e[31]^=k(n)<<7}function $(e,t,n){var r,i;for(y(e[0],ie),y(e[1],oe),y(e[2],oe),y(e[3],ie),i=255;i>=0;--i)r=n[i/8|0]>>(7&i)&1,R(e,t,r),q(t,e),q(e,e),R(e,t,r)}function U(e,t){var n=[ee(),ee(),ee(),ee()];y(n[0],ue),y(n[1],pe),y(n[2],oe),O(n[3],ue,pe),$(e,n,t)}function H(e,t,n){var r,i=new Uint8Array(64),o=[ee(),ee(),ee(),ee()];for(n||te(t,32),D(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,U(o,i),L(e,o),r=0;32>r;r++)t[r+32]=e[r];return 0}function V(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;o>i;++i)t[i]+=n-16*t[r]*ge[i-(r-32)],n=t[i]+128>>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;32>i;i++)t[i]+=n-(t[31]>>4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;32>i;i++)t[i]-=n*ge[i];for(r=0;32>r;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function W(e){var t,n=new Float64Array(64);for(t=0;64>t;t++)n[t]=e[t];for(t=0;64>t;t++)e[t]=0;V(e,n)}function Y(e,t,n,r){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),p=[ee(),ee(),ee(),ee()];D(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64;var l=n+64;for(i=0;n>i;i++)e[64+i]=t[i];for(i=0;32>i;i++)e[32+i]=a[32+i];for(D(c,e.subarray(32),n+32),W(c),U(p,c),L(e,p),i=32;64>i;i++)e[i]=r[i];for(D(s,e,n+64),W(s),i=0;64>i;i++)u[i]=0;for(i=0;32>i;i++)u[i]=c[i];for(i=0;32>i;i++)for(o=0;32>o;o++)u[i+o]+=s[i]*a[o];return V(e.subarray(32),u),l}function K(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee();return y(e[2],oe),j(e[1],t),A(i,e[1]),O(o,i,se),E(i,i,e[2]),S(o,e[2],o),A(a,o),A(s,a),O(c,s,a),O(n,c,i),O(n,n,o),T(n,n),O(n,n,i),O(n,n,o),O(n,n,o),O(e[0],n,o),A(r,e[0]),O(r,r,o),_(r,i)&&O(e[0],e[0],le),A(r,e[0]),O(r,r,o),_(r,i)?-1:(k(e[0])===t[31]>>7&&E(e[0],ie,e[0]),O(e[3],e[0],e[1]),0)}function G(e,t,n,r){var i,a,s=new Uint8Array(32),c=new Uint8Array(64),u=[ee(),ee(),ee(),ee()],p=[ee(),ee(),ee(),ee()];if(a=-1,64>n)return-1;if(K(p,r))return-1;for(i=0;n>i;i++)e[i]=t[i];for(i=0;32>i;i++)e[i+32]=r[i];if(D(c,e,n),W(c),$(u,p,c),U(p,t.subarray(32)),q(u,p),L(s,u),n-=64,o(t,0,s,0)){for(i=0;n>i;i++)e[i]=0;return-1}for(i=0;n>i;i++)e[i]=t[i+64];return a=n}function J(e,t){if(e.length!==ye)throw new Error(\"bad key size\");if(t.length!==be)throw new Error(\"bad nonce size\")}function Z(e,t){if(e.length!==je)throw new Error(\"bad public key size\");if(t.length!==Se)throw new Error(\"bad secret key size\")}function Q(){var e,t;for(t=0;t<arguments.length;t++)if(\"[object Uint8Array]\"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError(\"unexpected type \"+e+\", use Uint8Array\")}function X(e){for(var t=0;t<e.length;t++)e[t]=0}var ee=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},te=function(){throw new Error(\"no PRNG\")},ne=new Uint8Array(16),re=new Uint8Array(32);re[0]=9;var ie=ee(),oe=ee([1]),ae=ee([56129,1]),se=ee([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),ce=ee([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),ue=ee([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),pe=ee([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),le=ee([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),de=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,n,r,i,o,a,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};de.prototype.blocks=function(e,t,n){for(var r,i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_=this.fin?0:2048,k=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],O=this.h[4],A=this.h[5],C=this.h[6],T=this.h[7],I=this.h[8],P=this.h[9],F=this.r[0],M=this.r[1],z=this.r[2],B=this.r[3],N=this.r[4],D=this.r[5],q=this.r[6],R=this.r[7],L=this.r[8],$=this.r[9];n>=16;)r=255&e[t+0]|(255&e[t+1])<<8,k+=8191&r,i=255&e[t+2]|(255&e[t+3])<<8,j+=8191&(r>>>13|i<<3),o=255&e[t+4]|(255&e[t+5])<<8,S+=8191&(i>>>10|o<<6),a=255&e[t+6]|(255&e[t+7])<<8,E+=8191&(o>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,O+=8191&(a>>>4|s<<12),A+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,C+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,T+=8191&(c>>>11|u<<5),p=255&e[t+14]|(255&e[t+15])<<8,I+=8191&(u>>>8|p<<8),P+=p>>>5|_,l=0,f=l,f+=k*F,f+=j*(5*$),f+=S*(5*L),f+=E*(5*R),f+=O*(5*q),l=f>>>13,f&=8191,f+=A*(5*D),f+=C*(5*N),f+=T*(5*B),f+=I*(5*z),f+=P*(5*M),l+=f>>>13,f&=8191,d=l,d+=k*M,d+=j*F,d+=S*(5*$),d+=E*(5*L),d+=O*(5*R),l=d>>>13,d&=8191,d+=A*(5*q),d+=C*(5*D),d+=T*(5*N),d+=I*(5*B),d+=P*(5*z),l+=d>>>13,d&=8191,h=l,h+=k*z,h+=j*M,h+=S*F,h+=E*(5*$),h+=O*(5*L),l=h>>>13,h&=8191,h+=A*(5*R),h+=C*(5*q),h+=T*(5*D),h+=I*(5*N),h+=P*(5*B),l+=h>>>13,h&=8191,m=l,m+=k*B,m+=j*z,m+=S*M,m+=E*F,m+=O*(5*$),l=m>>>13,m&=8191,m+=A*(5*L),m+=C*(5*R),m+=T*(5*q),m+=I*(5*D),m+=P*(5*N),l+=m>>>13,m&=8191,v=l,v+=k*N,v+=j*B,v+=S*z,v+=E*M,v+=O*F,l=v>>>13,v&=8191,v+=A*(5*$),v+=C*(5*L),v+=T*(5*R),v+=I*(5*q),v+=P*(5*D),l+=v>>>13,v&=8191,g=l,g+=k*D,g+=j*N,g+=S*B,g+=E*z,g+=O*M,l=g>>>13,g&=8191,g+=A*F,g+=C*(5*$),g+=T*(5*L),g+=I*(5*R),g+=P*(5*q),l+=g>>>13,g&=8191,y=l,y+=k*q,y+=j*D,y+=S*N,y+=E*B,y+=O*z,l=y>>>13,y&=8191,y+=A*M,y+=C*F,y+=T*(5*$),y+=I*(5*L),y+=P*(5*R),l+=y>>>13,y&=8191,b=l,b+=k*R,b+=j*q,b+=S*D,b+=E*N,b+=O*B,l=b>>>13,b&=8191,b+=A*z,b+=C*M,b+=T*F,b+=I*(5*$),b+=P*(5*L),l+=b>>>13,b&=8191,x=l,x+=k*L,x+=j*R,x+=S*q,x+=E*D,x+=O*N,l=x>>>13,x&=8191,x+=A*B,x+=C*z,x+=T*M,x+=I*F,x+=P*(5*$),l+=x>>>13,x&=8191,w=l,w+=k*$,w+=j*L,w+=S*R,w+=E*q,w+=O*D,l=w>>>13,w&=8191,w+=A*N,w+=C*B,w+=T*z,w+=I*M,w+=P*F,l+=w>>>13,w&=8191,l=(l<<2)+l|0,l=l+f|0,f=8191&l,l>>>=13,d+=l,k=f,j=d,S=h,E=m,O=v,A=g,C=y,T=b,I=x,P=w,t+=16,n-=16;this.h[0]=k,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=O,this.h[5]=A,this.h[6]=C,this.h[7]=T,this.h[8]=I,this.h[9]=P},de.prototype.finish=function(e,t){var n,r,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;16>o;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,o=2;10>o;o++)this.h[o]+=n,n=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;10>o;o++)a[o]=this.h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;10>o;o++)a[o]&=r;for(r=~r,o=0;10>o;o++)this.h[o]=this.h[o]&r|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;8>o;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},de.prototype.update=function(e,t,n){var r,i;if(this.leftover){for(i=16-this.leftover,i>n&&(i=n),r=0;i>r;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(i=n-n%16,this.blocks(e,t,i),t+=i,n-=i),n){for(r=0;n>r;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var he=v,me=g,ve=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ye=32,be=24,xe=32,we=16,_e=32,ke=32,je=32,Se=32,Ee=32,Oe=be,Ae=xe,Ce=we,Te=64,Ie=32,Pe=64,Fe=32,Me=64;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:d,crypto_stream:f,crypto_stream_salsa20_xor:p,crypto_stream_salsa20:l,crypto_onetimeauth:h,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:o,crypto_secretbox:v,crypto_secretbox_open:g,crypto_scalarmult:I,crypto_scalarmult_base:P,crypto_box_beforenm:M,crypto_box_afternm:he,crypto_box:z,crypto_box_open:B,crypto_box_keypair:F,crypto_hash:D,crypto_sign:Y,crypto_sign_keypair:H,crypto_sign_open:G,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:be,crypto_secretbox_ZEROBYTES:xe,crypto_secretbox_BOXZEROBYTES:we,crypto_scalarmult_BYTES:_e,crypto_scalarmult_SCALARBYTES:ke,crypto_box_PUBLICKEYBYTES:je,crypto_box_SECRETKEYBYTES:Se,crypto_box_BEFORENMBYTES:Ee,crypto_box_NONCEBYTES:Oe,crypto_box_ZEROBYTES:Ae,crypto_box_BOXZEROBYTES:Ce,crypto_sign_BYTES:Te,crypto_sign_PUBLICKEYBYTES:Ie,crypto_sign_SECRETKEYBYTES:Pe,crypto_sign_SEEDBYTES:Fe,crypto_hash_BYTES:Me},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error(\"nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js\")}),t.randomBytes=function(e){var t=new Uint8Array(e);return te(t,e),t},t.secretbox=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(xe+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+xe]=e[o];return v(i,r,r.length,t,n),i.subarray(we)},t.secretbox.open=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(we+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+we]=e[o];return r.length<32?!1:0!==g(i,r,r.length,t,n)?!1:i.subarray(xe)},t.secretbox.keyLength=ye,t.secretbox.nonceLength=be,t.secretbox.overheadLength=we,t.scalarMult=function(e,t){if(Q(e,t),e.length!==ke)throw new Error(\"bad n size\");if(t.length!==_e)throw new Error(\"bad p size\");var n=new Uint8Array(_e);return I(n,e,t),n},t.scalarMult.base=function(e){if(Q(e),e.length!==ke)throw new Error(\"bad n size\");var t=new Uint8Array(_e);return P(t,e),t},t.scalarMult.scalarLength=ke,t.scalarMult.groupElementLength=_e,t.box=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox(e,n,o)},t.box.before=function(e,t){Q(e,t),Z(e,t);var n=new Uint8Array(Ee);return M(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox.open(e,n,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(je),t=new Uint8Array(Se);return F(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Se)throw new Error(\"bad secret key size\");var t=new Uint8Array(je);return P(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=je,t.box.secretKeyLength=Se,t.box.sharedKeyLength=Ee,t.box.nonceLength=Oe,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(Q(e,t),t.length!==Pe)throw new Error(\"bad secret key size\");var n=new Uint8Array(Te+e.length);return Y(n,e,e.length,t),n},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error(\"nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?\");if(Q(e,t),t.length!==Ie)throw new Error(\"bad public key size\");var n=new Uint8Array(e.length),r=G(n,e,e.length,t);if(0>r)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached=function(e,n){for(var r=t.sign(e,n),i=new Uint8Array(Te),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached.verify=function(e,t,n){if(Q(e,t,n),t.length!==Te)throw new Error(\"bad signature size\");if(n.length!==Ie)throw new Error(\"bad public key size\");var r,i=new Uint8Array(Te+e.length),o=new Uint8Array(Te+e.length);for(r=0;Te>r;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+Te]=e[r];return G(o,i,i.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(Ie),t=new Uint8Array(Pe);return H(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Pe)throw new Error(\"bad secret key size\");for(var t=new Uint8Array(Ie),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(Q(e),e.length!==Fe)throw new Error(\"bad seed size\");for(var t=new Uint8Array(Ie),n=new Uint8Array(Pe),r=0;32>r;r++)n[r]=e[r];return H(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=Ie,t.sign.secretKeyLength=Pe,t.sign.seedLength=Fe,t.sign.signatureLength=Te,t.hash=function(e){Q(e);var t=new Uint8Array(Me);return D(t,e,e.length),t},t.hash.hashLength=Me,t.verify=function(e,t){return Q(e,t),0===e.length||0===t.length?!1:e.length!==t.length?!1:0===r(e,0,t,0,e.length)},t.setPRNG=function(e){te=e},function(){var n=\"undefined\"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){var r=65536;t.setPRNG(function(e,t){var i,o=new Uint8Array(t);for(i=0;t>i;i+=r)n.getRandomValues(o.subarray(i,i+Math.min(t-i,r)));\nfor(i=0;t>i;i++)e[i]=o[i];X(o)})}else\"undefined\"!=typeof e&&(n=e(\"crypto\"),n&&n.randomBytes&&t.setPRNG(function(e,t){var r,i=n.randomBytes(t);for(r=0;t>r;r++)e[r]=i[r];X(i)}))}()}(\"undefined\"!=typeof t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:void 0}],467:[function(e,t,n){\"use strict\";function r(e,t){var n,r=t,i=u(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var o;for(n=0;n<r.length;n++)if(s(a(o=r[n]),i))return\"+\"===o[0]||-1!==o.indexOf(\"*\")?i:o;return!1}function i(e){return void 0!==e.headers[\"transfer-encoding\"]||!isNaN(e.headers[\"content-length\"])}function o(e,t){var n=t;if(!i(e))return null;if(arguments.length>2){n=new Array(arguments.length-1);for(var o=0;o<n.length;o++)n[o]=arguments[o+1]}var a=e.headers[\"content-type\"];return r(a,n)}function a(e){if(\"string\"!=typeof e)return!1;switch(e){case\"urlencoded\":return\"application/x-www-form-urlencoded\";case\"multipart\":return\"multipart/*\"}return\"+\"===e[0]?\"*/*\"+e:-1===e.indexOf(\"/\")?l.lookup(e):e}function s(e,t){if(e===!1)return!1;var n=t.split(\"/\"),r=e.split(\"/\");return 2!==n.length||2!==r.length?!1:\"*\"!==r[0]&&r[0]!==n[0]?!1:\"*+\"===r[1].substr(0,2)?r[1].length<=n[1].length+1&&r[1].substr(1)===n[1].substr(1-r[1].length):\"*\"===r[1]||r[1]===n[1]}function c(e){var t=p.parse(e);return t.parameters=void 0,p.format(t)}function u(e){try{return c(e)}catch(t){return null}}var p=e(\"media-typer\"),l=e(\"mime-types\");t.exports=o,t.exports.is=r,t.exports.hasBody=i,t.exports.normalize=a,t.exports.match=s},{\"media-typer\":179,\"mime-types\":184}],468:[function(e,t,n){(function(r){function i(e){v[e]=v(e)}function o(e){return{a:function(t){t.prototype&&(t=t.prototype.constructor.name);var n=Object.prototype.toString.call(e).slice(8,-1).toLowerCase();return null!=e&&n===t.toLowerCase()}}}function a(e){var t=Array.indexOf?function(e,t,n){return e.indexOf(t,n)}:function(e,t,n){var r=e.length,i=n?parseInt(1*n+(0>n?r:0),10):0;for(i=0>i?0:i;r>i;i++)if(i in e&&e[i]===t)return i;return-1};return{startWith:function(t){return o(e).a(String)?e.slice(0,t.length)==t:o(e).a(Array)?e[0]==t:!1},endWith:function(t){return o(e).a(String)?e.slice(-t.length)==t:o(e).a(Array)?e[e.length-1]==t:!1},contain:function(n){return o(e).a(String)?-1!=e.indexOf(n):o(e).a(Object)?e.hasOwnProperty(n):o(e).a(Array)?!!~t(e,n):!1}}}var s=e(\"string_decoder\").StringDecoder,c=e(\"querystring\"),u=e(\"form-data\"),p=e(\"stream\"),l=e(\"mime\"),f=e(\"zlib\"),d=e(\"path\"),h=e(\"url\"),m=e(\"fs\");l.define({\"application/x-www-form-urlencoded\":[\"form\",\"urlencoded\",\"form-data\"]});var v=function(e,t,n,i,c){var g=function(t,n,i,c){function g(e,t,n){var r,i,a,s;if(n=n||{attachment:!1},o(e).a(Object))for(a in e)e.hasOwnProperty(a)&&g(a,e[a],n);else if(o(t).a(Array))for(s=0,i=t.length;i>s;s++)(r=y(t[s]))&&x.rawField(e,r,n);else null!=t&&x.rawField(e,y(t),n);return x}function y(e){return e instanceof r||\"string\"==typeof e?e:o(e).a(Object)?e instanceof m.FileReadStream?e:v.serializers.json(e):e.toString()}function b(e,t){x[e]=function(n){return x.options[t||e]=n,x}}var x={_stream:!1,_multipart:[],_form:[],options:{url:t,method:e,headers:{}},hasHeader:function(e){var t,n;e=e.toLowerCase(),t=Object.keys(x.options.headers),n=t.map(function(e){return e.toLowerCase()});for(var r=0;r<n.length;r++)if(n[r]===e)return t[r];return!1},stream:function(){return x._stream=!0,this},field:function(e,t,n){return g(e,t,n)},attach:function(e,t,n){return n=n||{},n.attachment=!0,g(e,t,n)},rawField:function(e,t,n){x._multipart.push({name:e,value:t,options:n,attachment:n.attachment||!1})},auth:function(e,t,n){return x.options.auth=o(e).a(Object)?e:{user:e,password:t,sendImmediately:n},x},header:function(e,t){if(o(e).a(Object)){for(var n in e)e.hasOwnProperty(n)&&x.header(n,e[n]);return x}var r=x.hasHeader(e);return x.options.headers[r||e]=t,x},query:function(e){return o(e).a(Object)&&(e=v.serializers.form(e)),e.length?(x.options.url+=(a(x.options.url).contain(\"?\")?\"&\":\"?\")+e,x):x},type:function(e){return x.header(\"Content-Type\",a(e).contain(\"/\")?e:l.lookup(e)),x},send:function(e){var t=x.options.headers[x.hasHeader(\"content-type\")];if(o(e).a(Object)&&!r.isBuffer(e))if(t)if(t.indexOf(\"json\"))if(x.options.json=!0,x.options.body&&o(x.options.body).a(Object))for(var n in e)e.hasOwnProperty(n)&&(x.options.body[n]=e[n]);else x.options.body=e;else x.options.body=v.Request.serialize(e,t);else x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")],x.options.body=v.serializers.form(e);else o(e).a(String)?(t||(x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")]),\"application/x-www-form-urlencoded\"==t?x.options.body=x.options.body?x.options.body+\"&\"+e:e:x.options.body=(x.options.body||\"\")+e):x.options.body=e;return x},part:function(e){if(x._multipart||(x.options.multipart=[]),o(e).a(Object)){if(e[\"content-type\"]){var t=v.type(e[\"content-type\"],!0);t&&(e.body=v.Response.parse(e.body))}else o(e.body).a(Object)&&(e.body=Request.serializers.json(e.body));x.options.multipart.push(e)}else x.options.multipart.push({body:e});return x},end:function(e){function t(t,n,r){function i(e){var t=v.trim(e).split(\"=\"),n=v.trim(t[0]),r=v.trim(t.slice(1).join(\"=\"));t[0]&&\"\"!=t[0]&&(p.cookies[n]=\"\"===r?!0:r)}var s,c,u,p={};if(t&&!n)return p.error=t,void(e&&e(p));if(!n)return console.log(\"This is odd, report this action / request to: http://github.com/mashape/unirest-nodejs\"),p.error={message:\"No response found.\"},void(e&&e(p));if(p=n,s=n.statusCode,u=s/100|0,p.code=s,p.status=s,p.statusType=u,p.info=1==u,p.ok=2==u,p.clientError=4==u,p.serverError=5==u,p.accepted=202==s,p.noContent=204==s||1223==s,p.badRequest=400==s,p.unauthorized=401==s,p.notAcceptable=406==s,p.notFound=404==s,p.forbidden=403==s,p.error=4==u||5==u?function(){var e=\"got \"+p.status+\" response\",t=new Error(e);return t.status=p.status,t}():!1,p.cookies={},p.cookie=function(e){return p.cookies[e]},n.cookies&&o(n.cookies).a(Object)&&Object.keys(n.cookies).length>0)p.cookies=n.cookies;else{var l=n.headers[\"set-cookie\"];if(l&&o(l).a(Array))for(var f=0;f<l.length;f++){var d=l[f];o(d).a(String)&&a(d).contain(\";\")&&d.split(\";\").forEach(i)}l=n.headers.cookie,l&&o(l).a(String)&&l.split(\";\").forEach(i)}r=r||n.body,p.raw_body=r,p.headers=n.headers,r&&(u=v.type(p.headers[\"content-type\"],!0),c=u?v.Response.parse(r,u):r),p.body=c,e&&e(p)}function n(e){if(/^(deflate|gzip)$/.test(e.headers[\"content-encoding\"])){var t,n=f.createUnzip(),r=new p,i=e.on;r.req=e.req,n.on(\"error\",function(e){r.emit(\"error\",e)}),e.pipe(n),e.setEncoding=function(e){t=new s(e)},n.on(\"data\",function(e){if(!t)return r.emit(\"data\",e);var n=t.write(e);n.length&&r.emit(\"data\",n)}),n.on(\"end\",function(){r.emit(\"end\")}),e.on=function(t,n){\"data\"==t||\"end\"==t?r.on(t,n):\"error\"==t?i.call(e,t,n):i.call(e,t,n)}}}function r(e){for(var t=0;t<x._multipart.length;t++){var n=x._multipart[t];n.attachment&&o(n.value).a(String)&&(a(n.value).contain(\"http://\")||a(n.value).contain(\"https://\")?n.value=v.request(n.value):n.value=m.createReadStream(d.resolve(n.value))),e.append(n.name,n.value,n.options)}return e}var i,c,l,g;return x._multipart.length&&!x._stream?(l=h.parse(x.options.url),g=new u,(c=x.options.headers[x.hasHeader(\"content-type\")])?x.options.headers[\"content-type\"]=c.split(\";\")[0]+\"; boundary=\"+g.getBoundary():x.options.headers[\"content-type\"]=\"multipart/form-data; boundary=\"+g.getBoundary(),r(g).submit({protocol:l.protocol,port:l.port,host:l.hostname,path:l.path,method:x.options.method,headers:x.options.headers,auth:x.options.auth||l.auth},function(e,r){var i=new s(\"utf8\");return e?t(e,r):(r.body||(r.body=\"\"),r.resume(),n(r),r.on(\"data\",function(e){\"string\"==typeof e?r.body+=e:r.body+=i.write(e)}),void r.on(\"end\",function(){return t(e,r)}))})):(i=v.request(x.options,t),i.on(\"response\",n),x._multipart.length&&x._stream&&r(i.form()),i)}};x.headers=x.header,x.set=x.header,x.complete=x.end,x.as={json:x.end,binary:x.end,string:x.end};for(var w in v[\"enum\"].options)if(v[\"enum\"].options.hasOwnProperty(w)){var _=v[\"enum\"].options[w],k=null;-1!=_.indexOf(\":\")&&(_=_.split(\":\"),k=_[1],_=_[0]),b(_,k)}return n&&\"function\"==typeof n?(c=n,n=null):i&&\"function\"==typeof i&&(c=i,i=null),n&&x.set(n),i&&x.send(i),c?x.end(c):x};return t?g(t,n,i,c):g};v.type=function(e,t){return\"string\"!=typeof e?!1:t?e.split(/ *; */).shift():v.types[e]||e},v.params=function(e){return reduce(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},v.trim=\"\".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\\s*|\\s*$)/g,\"\")},v.parsers={string:function(e){for(var t,n,r={},i=e.split(\"&\"),o=0,a=i.length;a>o;++o)n=i[o],t=n.split(\"=\"),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r},json:function(e){try{e=JSON.parse(e)}catch(t){}return e}},v.serializers={form:function(e){return c.stringify(e)},json:function(e){return JSON.stringify(e)}},v.Request={serialize:function(e,t){var n=v.firstMatch(t,v[\"enum\"].serialize);return n?n(e):e},uid:function(e){for(var t=\"\",n=\"abcdefghijklmnopqrstuvwxyz123456789\",r=n.length;e--;)t+=n[Math.random()*r|0];return t}},v.Response={parse:function(e,t){var n=v.firstMatch(t,v[\"enum\"].parse);return n?n(e):e},parseHeader:function(e){var t,n,r,i,o=e.split(/\\r?\\n/),a={};o.pop();for(var s=0,c=o.length;c>s;++s)n=o[s],t=n.indexOf(\":\"),r=n.slice(0,t).toLowerCase(),i=trim(n.slice(t+1)),a[r]=i;return a}},v.request=e(\"request\"),v.cookie=v.request.cookie,v.pipe=v.request.pipe,v.jar=function(e){e=e||{};var t=v.request.jar();return e.store&&(t._jar.store=e.store),e.rejectPublicSuffixes&&(t._jar.rejectPublicSuffixes=e.rejectPublicSuffixes),t.add=t.setCookie,t.toString=t.getCookieString,t},v[\"enum\"]={serialize:{\"application/x-www-form-urlencoded\":v.serializers.form,\"application/json\":v.serializers.json,\"+json\":v.serializers.json},parse:{\"application/x-www-form-urlencoded\":v.parsers.string,\"application/json\":v.parsers.json,\"+json\":v.parsers.json},methods:[\"GET\",\"HEAD\",\"PUT\",\"POST\",\"PATCH\",\"DELETE\",\"OPTIONS\"],options:[\"uri:url\",\"redirects:maxRedirects\",\"redirect:followRedirect\",\"url\",\"method\",\"qs\",\"form\",\"json\",\"multipart\",\"followRedirect\",\"followAllRedirects\",\"maxRedirects\",\"encoding\",\"pool\",\"timeout\",\"proxy\",\"oauth\",\"hawk\",\"ssl:strictSSL\",\"strictSSL\",\"jar\",\"cookies:jar\",\"aws\",\"httpSignature\",\"localAddress\",\"ip:localAddress\",\"secureProtocol\",\"forever\"]},v.matches=function(e,t){var n=[];for(var r in t)\"undefined\"!=typeof t.length&&(r=t[r]),-1!==e.indexOf(r)&&n.push(t[r]);return n},v.firstMatch=function(e,t){return v.matches(e,t)[0]};for(var g=0;g<v[\"enum\"].methods.length;g++){var y=v[\"enum\"].methods[g].toLowerCase();i(y)}t.exports=n=v}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"form-data\":487,fs:void 0,mime:506,path:void 0,querystring:void 0,request:517,stream:void 0,string_decoder:void 0,url:void 0,zlib:void 0}],469:[function(e,t,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],470:[function(e,t,n){arguments[4][5][0].apply(n,arguments)},{\"./errors\":469,\"./reader\":471,\"./types\":472,\"./writer\":473,dup:5}],471:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0;var t=this;this.__defineGetter__(\"length\",function(){return t._len}),this.__defineGetter__(\"offset\",function(){return t._offset}),this.__defineGetter__(\"remain\",function(){return t._size-t._offset}),this.__defineGetter__(\"buffer\",function(){return t._buf.slice(t._offset)})}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+n.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>this._size-r)return null;if(this._offset=r,0===this.length)return\"\";var i=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?i:i.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>this._size-n)return null;this._offset=n;for(var r=[],i=0,a=0;a<this.length;a++){var c=255&this._buf[this._offset++];i<<=7,i+=127&c,0==(128&c)&&(r.push(i),i=0)}return i=r.shift(),r.unshift(i%40),r.unshift(i/40>>0),r.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset++],o=0;o=127&r;for(var a=1;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&(o=-o),o},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../../node_modules/is-buffer/index.js\":538,\"./errors\":469,\"./types\":472,assert:void 0}],472:[function(e,t,n){arguments[4][7][0].apply(n,arguments)},{dup:7}],473:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[];var t=this;this.__defineGetter__(\"buffer\",function(){if(t._seq.length)throw new InvalidAsn1Error(t._seq.length+\" unended sequence(s)\");return t._buf.slice(0,t._offset)})}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||4286578688===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._shift(start,e,1),this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":469,\"./types\":472,assert:void 0,buffer:void 0}],474:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{\"./ber/index\":470,dup:9}],475:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.charAt(0).toLowerCase()+e.slice(1)}function o(){return _.format.apply(_,arguments)}function a(e,t,n,r){if(!k){n=n||t,r=r||a.caller;var i=typeof e;if(i!==t)throw new x.AssertionError({message:o(E,n,t),actual:i,expected:t,operator:\"===\",stackStartFunction:r})}}function s(e,t,n,r){if(!(k||(n=n||t,r=r||s.caller,e instanceof t)))throw new x.AssertionError({message:o(E,n,t.name),actual:c(e),expected:t.name,operator:\"instanceof\",stackStartFunction:r})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){if(!k){if(n=n||t,!Array.isArray(e))throw new x.AssertionError({message:o(S,n,t),actual:typeof e,expected:\"array\",operator:\"Array.isArray\",stackStartFunction:u.caller});for(var r=0;r<e.length;r++)a(e[r],t,n,u)}}function p(e,t){a(e,\"boolean\",t,p)}function l(e,t){if(!n.isBuffer(e))throw new x.AssertionError({message:o(E,t||\"\",\"Buffer\"),actual:typeof e,expected:\"buffer\",operator:\"Buffer.isBuffer\",stackStartFunction:l})}function f(e,t){a(e,\"function\",t)}function d(e,t){if(a(e,\"number\",t),!k&&(isNaN(e)||!isFinite(e)))throw new x.AssertionError({message:o(E,t,\"number\"),actual:e,expected:\"number\",operator:\"isNaN\",stackStartFunction:d})}function h(e,t){a(e,\"object\",t)}function m(e,t){s(e,w,t)}function v(e,t){s(e,Date,t)}function g(e,t){s(e,RegExp,t)}function y(e,t){a(e,\"string\",t)}function b(e,t){if(y(e,t),!k&&!j.test(e))throw new x.AssertionError({message:o(E,t,\"uuid\"),actual:\"string\",expected:\"uuid\",operator:\"test\",stackStartFunction:b})}var x=e(\"assert\"),w=e(\"stream\").Stream,_=e(\"util\"),k=process.env.NODE_NDEBUG||!1,j=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,S=\"%s ([%s]) required\",E=\"%s (%s) is required\";t.exports={bool:p,buffer:l,date:v,func:f,number:d,object:h,regexp:g,stream:m,string:y,uuid:b},Object.keys(t.exports).forEach(function(e){if(\"buffer\"!==e){var n=\"arrayOf\"+r(e);\"bool\"===e&&(e=\"boolean\"),\"func\"===e&&(e=\"function\"),t.exports[n]=function(t,n){u(t,e,n)}}}),Object.keys(t.exports).forEach(function(e){var n=\"optional\"+r(e),o=i(e.replace(\"arrayOf\",\"\"));\"bool\"===o&&(o=\"boolean\"),\"func\"===o&&(o=\"function\"),-1!==e.indexOf(\"arrayOf\")?t.exports[n]=function(e,t){k||void 0===e||u(e,o,t)}:t.exports[n]=function(e,t){k||void 0===e||a(e,o,t)}}),Object.keys(x).forEach(function(e){return\"AssertionError\"===e?void(t.exports[e]=x[e]):void(t.exports[e]=function(){k||x[e].apply(x[e],arguments)})})}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],476:[function(e,t,n){!function(){function e(e){var t=!1;return function(){if(t)throw new Error(\"Callback was already called.\");t=!0,e.apply(n,arguments)}}var n,r,i={};n=this,null!=n&&(r=n.async),i.noConflict=function(){return n.async=r,i};var o=Object.prototype.toString,a=Array.isArray||function(e){return\"[object Array]\"===o.call(e)},s=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)},c=function(e,t){if(e.map)return e.map(t);var n=[];return s(e,function(e,r,i){n.push(t(e,r,i))}),n},u=function(e,t,n){return e.reduce?e.reduce(t,n):(s(e,function(e,r,i){n=t(n,e,r,i)}),n)},p=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t};\"undefined\"!=typeof process&&process.nextTick?(i.nextTick=process.nextTick,\"undefined\"!=typeof setImmediate?i.setImmediate=function(e){setImmediate(e)}:i.setImmediate=i.nextTick):\"function\"==typeof setImmediate?(i.nextTick=function(e){setImmediate(e)},i.setImmediate=i.nextTick):(i.nextTick=function(e){setTimeout(e,0)},i.setImmediate=i.nextTick),i.each=function(t,n,r){function i(e){e?(r(e),r=function(){}):(o+=1,o>=t.length&&r())}if(r=r||function(){},!t.length)return r();var o=0;s(t,function(t){n(t,e(i))})},i.forEach=i.each,i.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var r=0,i=function(){t(e[r],function(t){t?(n(t),n=function(){}):(r+=1,r>=e.length?n():i())})};i()},i.forEachSeries=i.eachSeries,i.eachLimit=function(e,t,n,r){var i=l(t);i.apply(null,[e,n,r])},i.forEachLimit=i.eachLimit;var l=function(e){return function(t,n,r){if(r=r||function(){},!t.length||0>=e)return r();var i=0,o=0,a=0;!function s(){if(i>=t.length)return r();for(;e>a&&o<t.length;)o+=1,a+=1,n(t[o-1],function(e){e?(r(e),r=function(){}):(i+=1,a-=1,i>=t.length?r():s())})}()}},f=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.each].concat(t))}},d=function(e,t){return function(){var n=Array.prototype.slice.call(arguments);return t.apply(null,[l(e)].concat(n))}},h=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.eachSeries].concat(t))}},m=function(e,t,n,r){if(t=c(t,function(e,t){return{index:t,value:e}}),r){var i=[];e(t,function(e,t){n(e.value,function(n,r){i[e.index]=r,t(n)})},function(e){r(e,i)})}else e(t,function(e,t){n(e.value,function(e){t(e)})})};i.map=f(m),i.mapSeries=h(m),i.mapLimit=function(e,t,n,r){return v(t)(e,n,r)};var v=function(e){return d(e,m)};i.reduce=function(e,t,n,r){i.eachSeries(e,function(e,r){n(t,e,function(e,n){t=n,r(e)})},function(e){r(e,t)})},i.inject=i.reduce,i.foldl=i.reduce,i.reduceRight=function(e,t,n,r){var o=c(e,function(e){return e}).reverse();i.reduce(o,t,n,r)},i.foldr=i.reduceRight;var g=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n&&i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.filter=f(g),i.filterSeries=h(g),i.select=i.filter,i.selectSeries=i.filterSeries;var y=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n||i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.reject=f(y),i.rejectSeries=h(y);var b=function(e,t,n,r){e(t,function(e,t){n(e,function(n){n?(r(e),r=function(){}):t()})},function(e){r()})};i.detect=f(b),i.detectSeries=h(b),i.some=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e&&(n(!0),n=function(){}),r()})},function(e){n(!1)})},i.any=i.some,i.every=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e||(n(!1),n=function(){}),r()})},function(e){n(!0)})},i.all=i.every,i.sortBy=function(e,t,n){i.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){if(e)return n(e);var r=function(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0};n(null,c(t.sort(r),function(e){return e.value}))})},i.auto=function(e,t){t=t||function(){};var n=p(e),r=n.length;if(!r)return t();var o={},c=[],l=function(e){c.unshift(e)},f=function(e){for(var t=0;t<c.length;t+=1)if(c[t]===e)return void c.splice(t,1)},d=function(){r--,s(c.slice(0),function(e){e()})};l(function(){if(!r){var e=t;t=function(){},e(null,o)}}),s(n,function(n){var r=a(e[n])?e[n]:[e[n]],c=function(e){var r=Array.prototype.slice.call(arguments,1);if(r.length<=1&&(r=r[0]),e){var a={};s(p(o),function(e){a[e]=o[e]}),a[n]=r,t(e,a),t=function(){}}else o[n]=r,i.setImmediate(d)},h=r.slice(0,Math.abs(r.length-1))||[],m=function(){return u(h,function(e,t){return e&&o.hasOwnProperty(t)},!0)&&!o.hasOwnProperty(n)};if(m())r[r.length-1](c,o);else{var v=function(){m()&&(f(v),r[r.length-1](c,o))};l(v)}})},i.retry=function(e,t,n){var r=5,o=[];\"function\"==typeof e&&(n=t,t=e,e=r),e=parseInt(e,10)||r;var a=function(r,a){for(var s=function(e,t){return function(n){e(function(e,r){n(!e||t,{err:e,result:r})},a)}};e;)o.push(s(t,!(e-=1)));i.series(o,function(e,t){t=t[t.length-1],(r||n)(t.err,t.result)})};return n?a():a},i.waterfall=function(e,t){if(t=t||function(){},!a(e)){var n=new Error(\"First argument to waterfall must be an array of functions\");return t(n)}if(!e.length)return t();var r=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var o=Array.prototype.slice.call(arguments,1),a=e.next();a?o.push(r(a)):o.push(t),i.setImmediate(function(){e.apply(null,o)})}}};r(i.iterator(e))()};var x=function(e,t,n){if(n=n||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},n);else{var r={};e.each(p(t),function(e,n){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[e]=i,n(t)})},function(e){n(e,r)})}};i.parallel=function(e,t){x({map:i.map,each:i.each},e,t)},i.parallelLimit=function(e,t,n){x({map:v(t),each:l(t)},e,n)},i.series=function(e,t){if(t=t||function(){},a(e))i.mapSeries(e,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},t);else{var n={};i.eachSeries(p(e),function(t,r){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[t]=i,r(e)})},function(e){t(e,n)})}},i.iterator=function(e){var t=function(n){var r=function(){return e.length&&e[n].apply(null,arguments),r.next()};return r.next=function(){return n<e.length-1?t(n+1):null},r};return t(0)},i.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,n,r){var i=[];e(t,function(e,t){n(e,function(e,n){i=i.concat(n||[]),t(e)})},function(e){r(e,i)})};i.concat=f(w),i.concatSeries=h(w),i.whilst=function(e,t,n){e()?t(function(r){return r?n(r):void i.whilst(e,t,n)}):n()},i.doWhilst=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?i.doWhilst(e,t,n):n()})},i.until=function(e,t,n){e()?n():t(function(r){return r?n(r):void i.until(e,t,n)})},i.doUntil=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?n():i.doUntil(e,t,n)})},i.queue=function(t,n){function r(e,t,n,r){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var o={data:t,callback:\"function\"==typeof r?r:null};n?e.tasks.unshift(o):e.tasks.push(o),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}void 0===n&&(n=1);var o=0,c={tasks:[],concurrency:n,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){r(c,e,!1,t)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(e,t){r(c,e,!0,t)},process:function(){if(!c.paused&&o<c.concurrency&&c.tasks.length){var n=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),o+=1;var r=function(){o-=1,n.callback&&n.callback.apply(n,arguments),c.drain&&c.tasks.length+o===0&&c.drain(),c.process()},i=e(r);t(n.data,i)}},length:function(){return c.tasks.length},running:function(){return o},idle:function(){return c.tasks.length+o===0},pause:function(){c.paused!==!0&&(c.paused=!0)},resume:function(){if(c.paused!==!1){c.paused=!1;for(var e=1;e<=c.concurrency;e++)i.setImmediate(c.process)}}};return c},i.priorityQueue=function(e,t){function n(e,t){return e.priority-t.priority}function r(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,c){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var a={data:t,priority:o,callback:\"function\"==typeof c?c:null};e.tasks.splice(r(e.tasks,a,n)+1,0,a),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}var c=i.queue(e,t);return c.push=function(e,t,n){o(c,e,t,n)},delete c.unshift,c},i.cargo=function(e,t){var n=!1,r=[],o={tasks:r,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,n){a(e)||(e=[e]),s(e,function(e){r.push({data:e,callback:\"function\"==typeof n?n:null}),o.drained=!1,o.saturated&&r.length===t&&o.saturated()}),i.setImmediate(o.process)},process:function u(){if(!n){if(0===r.length)return o.drain&&!o.drained&&o.drain(),void(o.drained=!0);var i=\"number\"==typeof t?r.splice(0,t):r.splice(0,r.length),a=c(i,function(e){return e.data});o.empty&&o.empty(),n=!0,e(a,function(){n=!1;var e=arguments;s(i,function(t){t.callback&&t.callback.apply(null,e)}),u()})}},length:function(){return r.length},running:function(){return n}};return o};var _=function(e){return function(t){var n=Array.prototype.slice.call(arguments,1);t.apply(null,n.concat([function(t){var n=Array.prototype.slice.call(arguments,1);\"undefined\"!=typeof console&&(t?console.error&&console.error(t):console[e]&&s(n,function(t){console[e](t)}))}]))}};i.log=_(\"log\"),i.dir=_(\"dir\"),i.memoize=function(e,t){var n={},r={};t=t||function(e){return e};var o=function(){var o=Array.prototype.slice.call(arguments),a=o.pop(),s=t.apply(null,o);\ns in n?i.nextTick(function(){a.apply(null,n[s])}):s in r?r[s].push(a):(r[s]=[a],e.apply(null,o.concat([function(){n[s]=arguments;var e=r[s];delete r[s];for(var t=0,i=e.length;i>t;t++)e[t].apply(null,arguments)}])))};return o.memo=n,o.unmemoized=e,o},i.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},i.times=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.map(r,t,n)},i.timesSeries=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.mapSeries(r,t,n)},i.seq=function(){var e=arguments;return function(){var t=this,n=Array.prototype.slice.call(arguments),r=n.pop();i.reduce(e,n,function(e,n,r){n.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);r(e,t)}]))},function(e,n){r.apply(t,[e].concat(n))})}},i.compose=function(){return i.seq.apply(null,Array.prototype.reverse.call(arguments))};var k=function(e,t){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return e(t,function(e,t){e.apply(n,r.concat([t]))},i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};i.applyEach=f(k),i.applyEachSeries=h(k),i.forever=function(e,t){function n(r){if(r){if(t)return t(r);throw r}e(n)}n()},\"undefined\"!=typeof t&&t.exports?t.exports=i:\"undefined\"!=typeof define&&define.amd?define([],function(){return i}):n.async=i}()},{}],477:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],478:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),this._bufs.push(t?e:new n(e)),this.length+=e.length,this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":513,util:void 0}],479:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":480,dup:434}],480:[function(e,t,n){var r=e(\"http\"),i=e(\"util\"),o=e(\"hoek\"),a={};n=t.exports=a.Boom=function(){if(o.assert(this.constructor===a.Boom,\"Error must be instantiated using new\"),Error.call(this),this.isBoom=!0,this.response={code:0,payload:{},headers:{}},arguments[0]instanceof Error){var e=arguments[0];this.data=e,this.response.code=e.code||500,e.message&&(this.message=e.message)}else{var t=arguments[0],n=arguments[1];o.assert(!isNaN(parseFloat(t))&&isFinite(t)&&t>=400,\"First argument must be a number (400+)\"),this.response.code=t,n&&(this.message=n)}return this.reformat(),this},i.inherits(a.Boom,Error),a.Boom.prototype.reformat=function(){this.response.payload.code=this.response.code,this.response.payload.error=r.STATUS_CODES[this.response.code]||\"Unknown\",this.message&&(this.response.payload.message=o.escapeHtml(this.message))},a.Boom.badRequest=function(e){return new a.Boom(400,e)},a.Boom.unauthorized=function(e,t,n){var r=new a.Boom(401,e);if(!t)return r;var i=\"\";if(\"string\"==typeof t){if(i=t,n)for(var s=Object.keys(n),c=0,u=s.length;u>c;++c){c&&(i+=\",\");var p=n[s[c]];null!==p&&void 0!==p||(p=\"\"),i+=\" \"+s[c]+'=\"'+o.escapeHeaderAttribute(p.toString())+'\"'}e?(n&&(i+=\",\"),i+=' error=\"'+o.escapeHeaderAttribute(e)+'\"'):r.isMissing=!0}else for(var l=t,c=0,u=l.length;u>c;++c)c&&(i+=\", \"),i+=l[c];return r.response.headers[\"WWW-Authenticate\"]=i,r},a.Boom.clientTimeout=function(e){return new a.Boom(408,e)},a.Boom.serverTimeout=function(e){return new a.Boom(503,e)},a.Boom.forbidden=function(e){return new a.Boom(403,e)},a.Boom.notFound=function(e){return new a.Boom(404,e)},a.Boom.internal=function(e,t){var n=new a.Boom(500,e);return t&&t.stack?(n.trace=t.stack.split(\"\\n\"),n.outterTrace=o.displayStack(1)):n.trace=o.displayStack(1),n.data=t,n.response.payload.message=\"An internal server error occurred\",n},a.Boom.passThrough=function(e,t,n,r){var i=new a.Boom(500,\"Pass-through\");return i.data={code:e,payload:t,type:n},i.response.code=e,i.response.type=n,i.response.headers=r,i.response.payload=t,i}},{hoek:494,http:void 0,util:void 0}],481:[function(e,t,n){function r(e){this.dict=e}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return n.set(e,t,r)},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],482:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":485,stream:void 0,util:void 0}],483:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":484,dup:434}],484:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n+=o===a?0:1}return 0===n}},{boom:479,crypto:void 0}],485:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},r.prototype.__defineGetter__(\"readable\",function(){return this.source.readable}),r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],486:[function(e,t,n){function r(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||r.defaultMinSockets,t.on(\"free\",function(e,n,r){var i=n+\":\"+r;if(t.requests[i]&&t.requests[i].length)t.requests[i].shift().onSocket(e);else if(t.sockets[i].length<t.minSockets){t.freeSockets[i]||(t.freeSockets[i]=[]),t.freeSockets[i].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on(\"error\",o)}else e.destroy()})}function i(e){r.call(this,e)}function o(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),u.connect(n)}t.exports=r,r.SSL=i;var a=e(\"util\"),s=e(\"http\").Agent,c=e(\"net\"),u=e(\"tls\"),p=e(\"https\").Agent;a.inherits(r,s),r.defaultMinSockets=5,r.prototype.createConnection=c.createConnection,r.prototype.addRequestNoreuse=s.prototype.addRequest,r.prototype.addRequest=function(e,t,n){var r=t+\":\"+n;if(this.freeSockets[r]&&this.freeSockets[r].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener(\"error\",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,n)},r.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},a.inherits(i,r),i.prototype.createConnection=o,i.prototype.addRequestNoreuse=p.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],487:[function(e,t,n){(function(n){function r(){this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],o.call(this)}function i(e,t){for(var n in t)e[n]||(e[n]=t[n]);return e}var o=e(\"combined-stream\"),a=e(\"util\"),s=e(\"path\"),c=e(\"http\"),u=e(\"https\"),p=e(\"url\").parse,l=e(\"fs\"),f=e(\"mime-types\"),d=e(\"async\");t.exports=r,a.inherits(r,o),r.LINE_BREAK=\"\\r\\n\",r.prototype.append=function(e,t,n){n=n||{};var r=o.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),a.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var i=this._multiPartHeader(e,t,n),s=this._multiPartFooter(e,t,n);r(i),r(t),r(s),this._trackLength(i,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+ +r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):l.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){var i=this.getBoundary(),o=\"\";return null!=n.header?o=n.header:(o+=\"--\"+i+r.LINE_BREAK+'Content-Disposition: form-data; name=\"'+e+'\"',n.filename||t.path?o+='; filename=\"'+s.basename(n.filename||t.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+(n.contentType||f.lookup(n.filename||t.path)):t.readable&&t.hasOwnProperty(\"httpVersion\")&&(o+='; filename=\"'+s.basename(t.client._httpMessage.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+t.headers[\"content-type\"]),o+=r.LINE_BREAK+r.LINE_BREAK),o},r.prototype._multiPartFooter=function(e,t,n){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"},r.prototype.getHeaders=function(e){var t={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(var n in e)t[n.toLowerCase()]=e[n];return t},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),t},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void d.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,o={method:\"post\"};return\"string\"==typeof e?(e=p(e),r=i({port:e.port,path:e.pathname,host:e.hostname},o)):(r=i(e,o),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==e.protocol?u.request(r):c.request(r),this.getLength(function(e,r){n.setHeader(\"Content-Length\",r),this.pipe(n),t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{async:476,buffer:void 0,\"combined-stream\":482,fs:void 0,http:void 0,https:void 0,\"mime-types\":505,path:void 0,url:void 0,util:void 0}],488:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":491,dup:434}],489:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var i={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return i.err=\"Invalid argument type\",i;var c=n.timestamp||Math.floor((s.now()+(n.localtimeOffsetMsec||0))/1e3),u=n.credentials;if(!(u&&u.id&&u.key&&u.algorithm))return i.err=\"Invalid credential object\",i;if(-1===a.algorithms.indexOf(u.algorithm))return i.err=\"Unknown algorithm\",i;\"string\"==typeof e&&(e=r.parse(e));var p={ts:c,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};i.artifacts=p,!p.hash&&n.hasOwnProperty(\"payload\")&&(p.hash=a.calculatePayloadHash(n.payload,u.algorithm,n.contentType));var l=a.calculateMac(\"header\",u,p),f=null!==p.ext&&void 0!==p.ext&&\"\"!==p.ext,d='Hawk id=\"'+u.id+'\", ts=\"'+p.ts+'\", nonce=\"'+p.nonce+(p.hash?'\", hash=\"'+p.hash:\"\")+(f?'\", ext=\"'+s.escapeHeaderAttribute(p.ext):\"\")+'\", mac=\"'+l+'\"';return p.app&&(d+=', app=\"'+p.app+(p.dlg?'\", dlg=\"'+p.dlg:\"\")+'\"'),i.field=d,i},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var o=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(o instanceof Error)return!1;n.ext=o.ext,n.hash=o.hash;var u=a.calculateMac(\"response\",t,n);if(u!==o.mac)return!1;if(!r.hasOwnProperty(\"payload\"))return!0;if(!o.hash)return!1;var p=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return p===o.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now()+(t.localtimeOffsetMsec||0),i=t.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return\"\";if(-1===a.algorithms.indexOf(i.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var o=Math.floor(n/1e3)+t.ttlSec,c=a.calculateMac(\"bewit\",i,{ts:o,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),u=i.id+\"\\\\\"+o+\"\\\\\"+c+\"\\\\\"+t.ext;return s.base64urlEncode(u)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||Math.floor((s.now()+(r.localtimeOffsetMsec||0))/1e3),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":490,\"./utils\":493,cryptiles:483,hoek:494,url:void 0}],490:[function(e,t,n){var r=e(\"crypto\"),i=(e(\"url\"),e(\"./utils\"));n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+(t.resource||\"\")+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(r+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),r+=\"\\n\",t.app&&(r+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),r},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var o=r.createHash(e);return o.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),o.update(i.parseContentType(t)+\"\\n\"),o},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=Math.floor((i.now()+(t||0))/1e3),o=n.calculateTsMac(r,e);return{ts:r,tsm:o}}},{\"./utils\":493,crypto:void 0,url:void 0}],491:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":489,\"./crypto\":490,\"./server\":492,\"./utils\":493,boom:479,sntp:527}],492:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.authenticate=function(e,t,n,i){i=s.nextTick(i),n.nonceFunc=n.nonceFunc||function(e,t,n){return n()},n.timestampSkewSec=n.timestampSkewSec||60;var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=s.parseAuthorizationHeader(u.authorization);if(p instanceof Error)return i(p);var l={method:u.method,host:u.host,port:u.port,resource:u.url,ts:p.ts,nonce:p.nonce,hash:p.hash,ext:p.ext,app:p.app,dlg:p.dlg,mac:p.mac,id:p.id};return p.id&&p.ts&&p.nonce&&p.mac?void t(p.id,function(e,t){if(e)return i(e,t||null,l);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,l);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,l);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,l);var s=a.calculateMac(\"header\",t,l);if(!o.fixedTimeComparison(s,p.mac))return i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,l);if(null!==n.payload&&void 0!==n.payload){if(!p.hash)return i(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,l);var f=a.calculatePayloadHash(n.payload,t.algorithm,u.contentType);if(!o.fixedTimeComparison(f,p.hash))return i(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,l)}n.nonceFunc(p.nonce,p.ts,function(e){if(e)return i(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,l);if(Math.abs(1e3*p.ts-c)>1e3*n.timestampSkewSec){var o=a.timestampMessage(t,n.localtimeOffsetMsec);return i(r.unauthorized(\"Stale timestamp\",\"Hawk\",o),t,l)}return i(null,t,l)})}):i(r.badRequest(\"Missing attributes\"),null,l)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";!t.hash&&n.hasOwnProperty(\"payload\")&&(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+s.escapeHeaderAttribute(t.ext)+'\"'),o},n.authenticateBewit=function(e,t,n,i){i=s.nextTick(i);var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=u.url.match(/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/);if(!p)return i(r.unauthorized(null,\"Hawk\"));if(!p[3])return i(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==u.method&&\"HEAD\"!==u.method)return i(r.unauthorized(\"Invalid method\",\"Hawk\"));if(u.authorization)return i(r.badRequest(\"Multiple authentications\",\"Hawk\"));var l=s.base64urlDecode(p[3]);if(l instanceof Error)return i(r.badRequest(\"Invalid bewit encoding\"));var f=l.split(\"\\\\\");if(!f||4!==f.length)return i(r.badRequest(\"Invalid bewit structure\"));var d={id:f[0],exp:parseInt(f[1],10),mac:f[2],ext:f[3]||\"\"};if(!d.id||!d.exp||!d.mac)return i(r.badRequest(\"Missing bewit attributes\"));var h=p[1];return p[4]&&(h+=p[2]+p[4]),1e3*d.exp<=c?i(r.unauthorized(\"Access expired\",\"Hawk\"),null,d):void t(d.id,function(e,t){if(e)return i(e,t||null,d.ext);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,d);var n=a.calculateMac(\"bewit\",t,{ts:d.exp,nonce:\"\",method:\"GET\",resource:h,host:u.host,port:u.port,ext:d.ext});return o.fixedTimeComparison(n,d.mac)?i(null,t,d):i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d)})},n.authenticateMessage=function(e,t,n,i,c,u,p){p=s.nextTick(p),u.nonceFunc=u.nonceFunc||function(e,t,n){return n()},u.timestampSkewSec=u.timestampSkewSec||60;var l=s.now()+(u.localtimeOffsetMsec||0);return i.id&&i.ts&&i.nonce&&i.hash&&i.mac?void c(i.id,function(s,c){if(s)return p(s,c||null);if(!c)return p(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!c.key||!c.algorithm)return p(r.internal(\"Invalid credentials\"),c);if(-1===a.algorithms.indexOf(c.algorithm))return p(r.internal(\"Unknown algorithm\"),c);var f={ts:i.ts,nonce:i.nonce,host:e,port:t,hash:i.hash},d=a.calculateMac(\"message\",c,f);if(!o.fixedTimeComparison(d,i.mac))return p(r.unauthorized(\"Bad mac\",\"Hawk\"),c);var h=a.calculatePayloadHash(n,c.algorithm);return o.fixedTimeComparison(h,i.hash)?void u.nonceFunc(i.nonce,i.ts,function(e){return e?p(r.unauthorized(\"Invalid nonce\",\"Hawk\"),c):Math.abs(1e3*i.ts-l)>1e3*u.timestampSkewSec?p(r.unauthorized(\"Stale timestamp\"),c):p(null,c)}):p(r.unauthorized(\"Bad message hash\",\"Hawk\"),c)}):p(r.badRequest(\"Invalid authorization\"))}},{\"./crypto\":490,\"./utils\":493,boom:479,cryptiles:483,hoek:494}],493:[function(e,t,n){(function(t){var r=e(\"hoek\"),i=e(\"sntp\"),o=e(\"boom\"),a={};a[\"import\"]=function(){for(var e in r)r.hasOwnProperty(e)&&(n[e]=r[e])},a[\"import\"](),n.version=function(){return n.loadPackage(t+\"/..\").version},n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var n=e.headers[t];if(!n)return null;var r;r=\"[\"===n[0]?/^(?:(?:\\r\\n)?\\s)*(\\[[^\\]]+\\])(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/:/^(?:(?:\\r\\n)?\\s)*([^:]+)(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/;var i=n.match(r);return i&&3===i.length&&i[1]?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;if(!t.host||!t.port){var r=n.parseHost(e,t.hostHeaderName);if(!r)return new Error(\"Invalid Host header\")}var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(){return i.now()},n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return o.unauthorized(null,\"Hawk\");var n=e.match(/^(\\w+)(?:\\s+(.*))?$/);if(!n)return o.badRequest(\"Invalid header syntax\");var r=n[1];if(\"hawk\"!==r.toLowerCase())return o.unauthorized(null,\"Hawk\");var i=n[2];if(!i)return o.badRequest(\"Invalid header syntax\");var a={},s=\"\",c=i.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(s=\"Unknown attribute: \"+n):null===r.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/)?void(s=\"Bad attribute value: \"+n):a.hasOwnProperty(n)?void(s=\"Duplicate attribute: \"+n):(a[n]=r,\"\")});return\"\"!==c?o.badRequest(s||\"Bad header format\"):a},n.unauthorized=function(e){return o.unauthorized(e,\"Hawk\")}}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/hawk/lib\")},{boom:479,hoek:494,sntp:527}],494:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":496,dup:434}],495:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";\nvar i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97&&122>=t||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],496:[function(e,t,n){(function(t){var r=e(\"fs\"),i=e(\"./escape\");n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o=e instanceof Array?[]:{};r.orig.push(e),r.copy.push(o);for(var a in e)if(e.hasOwnProperty(a))if(e[a]instanceof t)o[a]=new t(e[a]);else if(e[a]instanceof Date)o[a]=new Date(e[a].getTime());else if(e[a]instanceof RegExp){var s=\"\"+(e[a].global?\"g\":\"\")+(e[a].ignoreCase?\"i\":\"\")+(e[a].multiline?\"m\":\"\");o[a]=new RegExp(e[a].source,s)}else o[a]=n.clone(e[a],r);return o},n.merge=function(e,t,r,i){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===t||void 0===t||\"object\"==typeof t,\"Invalid source value: must be null, undefined, or an object\"),!t)return e;if(t instanceof Array){n.assert(e instanceof Array,\"Cannot merge array onto an object\"),i===!1&&(e.length=0);for(var o=0,a=t.length;a>o;++o)e.push(t[o]);return e}for(var s=Object.keys(t),c=0,u=s.length;u>c;++c){var p=s[c],l=t[p];l&&\"object\"==typeof l?e[p]&&\"object\"==typeof e[p]?n.merge(e[p],t[p],r,i):e[p]=n.clone(l):null!==l&&void 0!==l?e[p]=l:r!==!1&&(e[p]=l)}return e},n.applyToDefaults=function(e,t){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var r=n.clone(e);return t===!0?r:n.merge(r,t,!1,!1)},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=e instanceof Array?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.matchKeys=function(e,t){for(var n=[],r=0,i=t.length;i>r;++r)e.hasOwnProperty(t[r])&&n.push(t[r]);return n},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.removeKeys=function(e,t){for(var n=0,r=t.length;r>n;n++)delete e[t[n]]},n.reach=function(e,t){for(var n=t.split(\".\"),r=e,i=0,o=n.length;o>i;++i)r&&(r=r[n[i]]);return r},n.inheritAsync=function(e,t,n){n=n||null;for(var r in t)if(t.hasOwnProperty(r)){if(n instanceof Array&&n.indexOf(r)<0)continue;e.prototype[r]=function(e){return function(t){var n=null;try{n=e()}catch(r){return t(r)}return t(null,n)}}(t[r])}},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){var t=Array.prototype.slice.call(arguments,1);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.loadDirModules=function(t,n,i){for(var o={},a=0,s=n.length;s>a;++a)o[n[a]+\".js\"]=!0;var c=r.readdirSync(t);for(a=0,s=c.length;s>a;++a){var u=c[a];if(/\\.js$/.test(u)&&!o[u]){var p=u.substr(0,u.lastIndexOf(\".\")),l=p.charAt(0).toUpperCase()+p.substr(1).toLowerCase();\"function\"!=typeof i?i[l]=e(t+\"/\"+p):i(t+\"/\"+p,p,l)}}},n.rename=function(e,t,n){e[n]=e[t],delete e[t]},n.Timer=function(){this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.loadPackage=function(e){var t={},n=(e||process.env.PWD)+\"/package.json\";if(r.existsSync(n))try{t=JSON.parse(r.readFileSync(n))}catch(i){}return t},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.toss=function(e){var t=3===arguments.length?arguments[1]:\"\",n=3===arguments.length?arguments[2]:arguments[1],r=t instanceof Error?t:t?new Error(t):e instanceof Error?e:new Error;return e instanceof Error||!e?n(r):void 0},n.base64urlEncode=function(e){return new t(e,\"binary\").toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e){if(e&&!e.match(/^[\\w\\-]*$/))return new Error(\"Invalid character\");try{return new t(e.replace(/-/g,\"+\").replace(/:/g,\"/\"),\"base64\").toString(\"binary\")}catch(n){return n}},n.escapeHeaderAttribute=function(e){return n.assert(e.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return i.escapeHtml(e)},n.escapeJavaScript=function(e){return i.escapeJavaScript(e)},n.consoleFunc=console.log,n.printEvent=function(e){var t=function(e){return(10>e?\"0\":\"\")+e},r=new Date(e.timestamp),i=(r.getYear()-100).toString()+t(r.getMonth()+1)+t(r.getDate())+\"/\"+t(r.getHours())+t(r.getMinutes())+t(r.getSeconds())+\".\"+r.getMilliseconds(),o=e.data;if(\"string\"!=typeof e.data)try{o=JSON.stringify(e.data)}catch(a){o=\"JSON Error: \"+a.message}var s=i+\", \"+e.tags[0]+\", \"+o;n.consoleFunc(s)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":495,buffer:void 0,fs:void 0}],497:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./util\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature}},{\"./parser\":498,\"./signer\":499,\"./util\":500,\"./verify\":501}],498:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){r.call(this,e,o)}function a(e){r.call(this,e,a)}function s(e){r.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l={New:0,Params:1},f={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,Error),u.inherits(i,r),u.inherits(o,r),u.inherits(a,r),u.inherits(s,r),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new s(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,r=l.New,u=f.Name,d=\"\",h=\"\",m={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},v=e.headers.authorization;for(n=0;n<v.length;n++){var g=v.charAt(n);switch(Number(r)){case l.New:\" \"!==g?m.scheme+=g:r=l.Params;break;case l.Params:switch(Number(u)){case f.Name:var y=g.charCodeAt(0);if(y>=65&&90>=y||y>=97&&122>=y)d+=g;else{if(\"=\"!==g)throw new o(\"bad param format\");if(0===d.length)throw new o(\"bad param format\");u=f.Quote}break;case f.Quote:if('\"'!==g)throw new o(\"bad param format\");h=\"\",u=f.Value;break;case f.Value:'\"'===g?(m.params[d]=h,u=f.Comma):h+=g;break;case f.Comma:if(\",\"!==g)throw new o(\"bad param format\");d=\"\",u=f.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(m.params.headers&&\"\"!==m.params.headers?m.params.headers=m.params.headers.split(\" \"):e.headers[\"x-date\"]?m.params.headers=[\"x-date\"]:m.params.headers=[\"date\"],!m.scheme||\"Signature\"!==m.scheme)throw new o('scheme was not \"Signature\"');if(!m.params.keyId)throw new o(\"keyId was not specified\");if(!m.params.algorithm)throw new o(\"algorithm was not specified\");if(!m.params.signature)throw new o(\"signature was not specified\");if(m.params.algorithm=m.params.algorithm.toLowerCase(),!p[m.params.algorithm])throw new a(m.params.algorithm+\" is not supported\");for(n=0;n<m.params.headers.length;n++){var b=m.params.headers[n].toLowerCase();if(m.params.headers[n]=b,\"request-line\"!==b){var x=e.headers[b];if(!x)throw new s(b+\" was not in the request\");m.signingString+=b+\": \"+x}else m.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion;n+1<m.params.headers.length&&(m.signingString+=\"\\n\")}var w;if(e.headers.date||e.headers[\"x-date\"]){w=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var _=new Date,k=Math.abs(_.getTime()-w.getTime());if(k>1e3*t.clockSkew)throw new i(\"clock skew of \"+k/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(m.params.headers.indexOf(e)<0)throw new s(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(m.params.algorithm))throw new a(m.params.algorithm+\" is not a supported algorithm\");return m}}},{\"assert-plus\":475,util:void 0}],499:[function(e,t,n){function r(e){this.name=\"MissingHeaderError\",this.message=e,this.stack=(new Error).stack}function i(e){this.name=\"InvalidAlgorithmError\",this.message=e,this.stack=(new Error).stack}function o(e){return parseInt(e,10)<10&&(e=\"0\"+e),e}function a(){var e=new Date,t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];return n[e.getUTCDay()]+\", \"+o(e.getUTCDate())+\" \"+t[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+o(e.getUTCHours())+\":\"+o(e.getUTCMinutes())+\":\"+o(e.getUTCSeconds())+\" GMT\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=(e(\"http\"),e(\"util\").format),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';r.prototype=new Error,i.prototype=new Error,t.exports={signRequest:function(e,t){if(s.object(e,\"request\"),s.object(t,\"options\"),s.optionalString(t.algorithm,\"options.algorithm\"),s.string(t.keyId,\"options.keyId\"),s.optionalArrayOfString(t.headers,\"options.headers\"),s.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",a()),t.headers||(t.headers=[\"date\"]),t.algorithm||(t.algorithm=\"rsa-sha256\"),t.httpVersion||(t.httpVersion=\"1.1\"),t.algorithm=t.algorithm.toLowerCase(),!p[t.algorithm])throw new i(t.algorithm+\" is not supported\");var n,o=\"\";for(n=0;n<t.headers.length;n++){if(\"string\"!=typeof t.headers[n])throw new TypeError(\"options.headers must be an array of Strings\");var f=t.headers[n].toLowerCase();if(\"request-line\"!==f){var d=e.getHeader(f);if(!d)throw new r(f+\" was not in the request\");o+=f+\": \"+d}else o+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion;n+1<t.headers.length&&(o+=\"\\n\")}var h,m=t.algorithm.match(/(hmac|rsa)-(\\w+)/);if(\"hmac\"===m[1]){var v=c.createHmac(m[2].toUpperCase(),t.key);v.update(o),h=v.digest(\"base64\")}else{var g=c.createSign(t.algorithm.toUpperCase());g.update(o),h=g.sign(t.key,\"base64\")}return e.setHeader(\"Authorization\",u(l,t.keyId,t.algorithm,t.headers.join(\" \"),h)),!0}}},{\"assert-plus\":475,crypto:void 0,http:void 0,util:void 0}],500:[function(e,t,n){(function(n){function r(e,t){var n=p.ruint32(e,\"big\",t);t+=4;var r=t+n;return{data:e.slice(t,r),offset:r}}function i(e,t){e.writeByte(2),e.writeLength(t.length);for(var n=0;n<t.length;n++)e.writeByte(t[n]);return e}function o(e){var t,o,a,s,c,p,l,f=\"\",d=0;try{if(t=new n(e.split(\" \")[1],\"base64\"),l=r(t,d),p=l.data.toString(),d=l.offset,\"ssh-rsa\"!==p)throw new Error(\"Invalid ssh key type: \"+p);l=r(t,d),a=l.data,d=l.offset,l=r(t,d),c=l.data}catch(h){throw new Error(\"Invalid ssh key: \"+e)}for(o=new u.BerWriter,o.startSequence(),o.startSequence(),o.writeOID(\"1.2.840.113549.1.1.1\"),o.writeNull(),o.endSequence(),o.startSequence(3),o.writeByte(0),o.startSequence(),i(o,c),i(o,a),o.endSequence(),o.endSequence(),o.endSequence(),l=o.buffer.toString(\"base64\"),s=0;s<l.length;s++)s%64===0&&(f+=\"\\n\"),f+=l.charAt(s);return/\\\\n$/.test(f)||(f+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+f+\"-----END PUBLIC KEY-----\\n\"}function a(e){var t,o,a,s,c,p,l,f,d=0,h=\"\";try{if(t=new n(e.split(\" \")[1],\"base64\"),o=r(t,d),s=o.data.toString(),d=o.offset,!/^ssh-ds[as].*/.test(s))throw new Error(\"Invalid ssh key type: \"+s);o=r(t,d),c=o.data,d=o.offset,o=r(t,d),p=o.data,d=o.offset,o=r(t,d),l=o.data,d=o.offset,o=r(t,d),f=o.data}catch(m){throw console.log(m.stack),new Error(\"Invalid ssh key: \"+e)}a=new u.BerWriter,a.startSequence(),a.startSequence(),a.writeOID(\"1.2.840.10040.4.1\"),a.startSequence(),i(a,c),i(a,p),i(a,l),a.endSequence(),a.endSequence(),a.startSequence(3),a.writeByte(0),i(a,f),a.endSequence(),a.endSequence(),o=a.buffer.toString(\"base64\");for(var v=0;v<o.length;v++)v%64===0&&(h+=\"\\n\"),h+=o.charAt(v);return/\\\\n$/.test(h)||(h+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+h+\"-----END PUBLIC KEY-----\\n\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=e(\"asn1\"),p=e(\"ctype\");t.exports={sshKeyToPEM:function(e){if(s.string(e,\"ssh_key\"),/^ssh-rsa.*/.test(e))return o(e);if(/^ssh-ds[as].*/.test(e))return a(e);throw new Error(\"Only RSA and DSA public keys are allowed\")},fingerprint:function(e){s.string(e,\"ssh_key\");var t=e.split(\" \");if(!t||!t.length||t.length<2)throw new Error(\"invalid ssh key\");var r=new n(t[1],\"base64\"),i=c.createHash(\"md5\");i.update(r);for(var o=i.digest(\"hex\"),a=\"\",u=0;u<o.length;u++)u&&u%2===0&&(a+=\":\"),a+=o[u];return a},pemToRsaSSHKey:function(e,t){s.equal(\"string\",typeof e,\"typeof pem\");var r=e.split(\"\\n\").slice(1,-2).join(\"\"),i=new n(r,\"base64\"),o=new u.BerReader(i);o.readSequence(),o.readSequence();var a=o.readOID();s.equal(a,\"1.2.840.113549.1.1.1\",\"pem not in RSA format\"),o.readByte(),o.readByte(),o.readSequence(3),o.readByte(),o.readSequence(),s.equal(o.peek(),u.Ber.Integer,\"modulus not an integer\"),o._offset=o.readLength(o.offset+1);var c=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length,s.equal(o.peek(),u.Ber.Integer,\"exponent not an integer\"),o._offset=o.readLength(o.offset+1);var p=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length;var l=new n(\"ssh-rsa\"),f=new n(4+l.length+4+c.length+4+p.length),d=0;f.writeUInt32BE(l.length,d),d+=4,l.copy(f,d),d+=l.length,f.writeUInt32BE(p.length,d),d+=4,p.copy(f,d),d+=p.length,f.writeUInt32BE(c.length,d),d+=4,c.copy(f,d),d+=c.length;var h=l.toString()+\" \"+f.toString(\"base64\")+\" \"+(t||\"\");return h}}}).call(this,e(\"buffer\").Buffer)},{asn1:474,\"assert-plus\":475,buffer:void 0,crypto:void 0,ctype:81}],501:[function(e,t,n){var r=e(\"assert-plus\"),i=e(\"crypto\");t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),r.string(t,\"key\");var n=e.algorithm.match(/(HMAC|RSA|DSA)-(\\w+)/);if(!n||3!==n.length)throw new TypeError(\"parsedSignature: unsupported algorithm \"+e.algorithm);if(\"HMAC\"===n[1]){var o=i.createHmac(n[2].toUpperCase(),t);return o.update(e.signingString),o.digest(\"base64\")===e.params.signature}var a=i.createVerify(n[0]);return a.update(e.signingString),a.verify(t,e.params.signature,\"base64\")}}},{\"assert-plus\":475,crypto:void 0}],502:[function(e,t,n){arguments[4][240][0].apply(n,arguments)},{dup:240}],503:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mdp\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{source:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{\nsource:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\nsource:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",extensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\"]},\n\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"mp4a\",\"m4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],504:[function(e,t,n){arguments[4][183][0].apply(n,arguments)},{\"./db.json\":503,dup:183}],505:[function(e,t,n){var r=e(\"mime-db\");n.types=Object.create(null),n.extensions=Object.create(null),Object.keys(r).forEach(function(e){var t=r[e],i=t.extensions;i&&i.length&&(n.extensions[e]=i,i.forEach(function(t){n.types[t]=e}))}),n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){var t=r[e];return t&&t.charset?t.charset:/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e}},{\"mime-db\":504}],506:[function(e,t,n){(function(n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=e(\"path\"),o=e(\"fs\");r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=o.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var a=new r;a.load(i.join(n,\"types/mime.types\")),a.load(i.join(n,\"types/node.types\")),a.default_type=a.lookup(\"bin\"),a.Mime=r,a.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=a}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/mime\")},{fs:void 0,path:void 0}],507:[function(e,t,n){function r(e,t){return f.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return f.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t,n,r,i,o){var a;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,1))}var f=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.sign=l,n.rfc3986=o},{crypto:void 0,querystring:void 0}],508:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":509}],509:[function(e,t,n){arguments[4][110][0].apply(n,arguments)},{\"./parse\":510,\"./stringify\":511,dup:110}],510:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\";else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));n.hasOwnProperty(u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r=e.shift(),o={};if(\"[]\"===r)o=[],o=o.concat(i.parseObject(e,t,n));else{var a=\"[\"===r[0]&&\"]\"===r[r.length-1]?r.slice(1,r.length-1):r,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&r!==a&&c===a&&s>=0&&s<=n.arrayLimit?(o=[],o[s]=i.parseObject(e,t,n)):o[a]=i.parseObject(e,t,n)}return o},i.parseKeys=function(e,t,n){if(e){var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}}},t.exports=function(e,t){if(\"\"===e||null===e||\"undefined\"==typeof e)return{};t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit;for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o={},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p)}return r.compact(o)}},{\"./utils\":512}],511:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",indices:!0};i.stringify=function(e,t,n){if(r.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=\"\"),\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[encodeURIComponent(t)+\"=\"+encodeURIComponent(e)];var o=[];if(\"undefined\"==typeof e)return o;for(var a=Object.keys(e),s=0,c=a.length;c>s;++s){var u=a[s];o=!n.indices&&Array.isArray(e)?o.concat(i.stringify(e[u],t,n)):o.concat(i.stringify(e[u],t+\"[\"+u+\"]\",n))}return o},t.exports=function(e,t){t=t||{};var n=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter;t.indices=\"boolean\"==typeof t.indices?t.indices:i.indices;var r=[];if(\"object\"!=typeof e||null===e)return\"\";for(var o=Object.keys(e),a=0,s=o.length;s>a;++a){var c=o[a];r=r.concat(i.stringify(e[c],c,t))}return r.join(n)}},{\"./utils\":512}],512:[function(e,t,n){n.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)\"undefined\"!=typeof e[n]&&(t[n]=e[n]);return t},n.merge=function(e,t){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):e[t]=!0,e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e));for(var r=Object.keys(t),i=0,o=r.length;o>i;++i){var a=r[i],s=t[a];e[a]?e[a]=n.merge(e[a],s):e[a]=s}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],513:[function(e,t,n){arguments[4][388][0].apply(n,arguments)},{\"./lib/_stream_duplex.js\":514,dup:388}],514:[function(e,t,n){arguments[4][241][0].apply(n,arguments)},{\"./_stream_readable\":515,\"./_stream_writable\":516,\"core-util-is\":77,dup:241,inherits:157}],515:[function(e,t,n){arguments[4][243][0].apply(n,arguments)},{buffer:void 0,\"core-util-is\":77,dup:243,events:void 0,inherits:157,isarray:502,stream:void 0,\"string_decoder/\":456}],516:[function(e,t,n){arguments[4][245][0].apply(n,arguments)},{\"./_stream_duplex\":514,buffer:void 0,\"core-util-is\":77,dup:245,inherits:157,stream:void 0}],517:[function(e,t,n){\"use strict\";function r(e,t,n){return n=l([t,n]),t=f(e,t),p().extend({callback:n}).extend({options:t}).extend({uri:t.uri}).done()}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);return t=o.options,t.callback=o.callback,t.uri=o.uri,new i.Request(t)}function o(e){return\"function\"==typeof e.options._requester?e.options._requester:i}var a=e(\"util\")._extend,s=e(\"./lib/cookies\"),c=e(\"./lib/helpers\"),u=c.isFunction,p=c.constructObject,l=c.filterForCallback,f=c.constructOptionsFrom,d=c.paramsHaveRequestBody;i.get=function(e,t,n){var i=r(e,t,n);return i.options.method=\"GET\",o(i)(i.uri||null,i.options,i.callback)},i.head=function(e,t,n){var i=r(e,t,n);if(i.options.method=\"HEAD\",d(i))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return o(i)(i.uri||null,i.options,i.callback)},i.post=function(e,t,n){var i=r(e,t,n);return i.options.method=\"POST\",\no(i)(i.uri||null,i.options,i.callback)},i.put=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PUT\",o(i)(i.uri||null,i.options,i.callback)},i.patch=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PATCH\",o(i)(i.uri||null,i.options,i.callback)},i.del=function(e,t,n){var i=r(e,t,n);return i.options.method=\"DELETE\",o(i)(i.uri||null,i.options,i.callback)},i.jar=function(e){return s.jar(e)},i.cookie=function(e){return s.parse(e)},i.defaults=function(e,t){var n=this,i=function(i){var o=function(e){return e=a({},e),delete e.headers,e},s=function(e,t){return p().extend(t.headers).extend(e.options.headers).done()};return function(c,p,l){var f=r(c,p,l);return f.options=a(o(e),f.options),e.headers&&(f.options.headers=s(f,e)),u(t)&&(i===n?i=t:f.options._requester=t),i(f.options,f.callback)}},o=i(n);return o.get=i(n.get),o.patch=i(n.patch),o.post=i(n.post),o.put=i(n.put),o.head=i(n.head),o.del=i(n.del),o.cookie=i(n.cookie),o.jar=n.jar,o.defaults=n.defaults,o},i.forever=function(e,t){var n=p();return t&&n.extend(t),e&&(n.agentOptions=e),n.extend({forever:!0}),i.defaults(n.done())},t.exports=i,i.Request=e(\"./request\"),i.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),i.initParams=r},{\"./lib/cookies\":518,\"./lib/helpers\":521,\"./request\":526,util:void 0}],518:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e)}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e)},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],519:[function(e,t,n){\"use strict\";t.exports=function(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}},{}],520:[function(e,t,n){\"use strict\";var r=e(\"util\"),i=e(\"../index\");t.exports=function(){i.debug&&console.error(\"REQUEST %s\",r.format.apply(r,arguments))}},{\"../index\":517,util:void 0}],521:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return e=e||{},{extend:function(t){return i(d(e,t))},done:function(){return e}}}function o(e,t){var n=i();return\"object\"==typeof t?n.extend(t).extend({uri:e}):\"string\"==typeof e?n.extend({uri:e}):n.extend(e),n.done()}function a(e){return\"function\"==typeof e}function s(e){var t=e.filter(a);return t[0]}function c(e){return e.options.body||e.options.requestBodyStream||e.options.json&&\"boolean\"!=typeof e.options.json||e.options.multipart}function u(e){var t;try{t=JSON.stringify(e)}catch(n){t=h(e)}return t}function p(e){return m.createHash(\"md5\").update(e).digest(\"hex\")}function l(e){return e.readable&&e.path&&e.mode}function f(e){return new t(e||\"\",\"ascii\").toString(\"base64\")}var d=e(\"util\")._extend,h=e(\"json-stringify-safe\"),m=e(\"crypto\");n.isFunction=a,n.constructObject=i,n.constructOptionsFrom=o,n.filterForCallback=s,n.paramsHaveRequestBody=c,n.safeStringify=u,n.md5=p,n.isReadStream=l,n.toBase64=f,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173,util:void 0}],522:[function(e,t,n){t.exports={\"text/jade\":[\"jade\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/less\":[\"less\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/coffeescript\":[\"coffee\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/jsx\":[\"jsx\"]}},{}],523:[function(e,t,n){function r(e){Object.keys(e).forEach(function(t){var r=e[t]||[];n.extensions[t]=n.extensions[t]||[],r.forEach(function(e){~n.extensions[t].indexOf(e)||n.extensions[t].push(e),n.types[e]=t})})}n.types=Object.create(null),n.extensions=Object.create(null),n.define=r,n.json={mime:e(\"./mime.json\"),node:e(\"./node.json\"),custom:e(\"./custom.json\")},n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){switch(e){case\"application/json\":return\"UTF-8\";case\"application/javascript\":return\"UTF-8\"}return/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e},r(n.json.mime),r(n.json.node),r(n.json.custom)},{\"./custom.json\":522,\"./mime.json\":524,\"./node.json\":525}],524:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":[],\"application/3gpp-ims+xml\":[],\"application/activemessage\":[],\"application/andrew-inset\":[\"ez\"],\"application/applefile\":[],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomicmail\":[],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/auth-policy+xml\":[],\"application/batch-smtp\":[],\"application/beep+xml\":[],\"application/calendar+xml\":[],\"application/cals-1840\":[],\"application/ccmp+xml\":[],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cea-2018+xml\":[],\"application/cellml+xml\":[],\"application/cfw\":[],\"application/cnrp+xml\":[],\"application/commonground\":[],\"application/conference-info+xml\":[],\"application/cpl+xml\":[],\"application/csta+xml\":[],\"application/cstadata+xml\":[],\"application/cu-seeme\":[\"cu\"],\"application/cybercash\":[],\"application/davmount+xml\":[\"davmount\"],\"application/dca-rft\":[],\"application/dec-dx\":[],\"application/dialog-info+xml\":[],\"application/dicom\":[],\"application/dns\":[],\"application/docbook+xml\":[\"dbk\"],\"application/dskpp+xml\":[],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/dvcs\":[],\"application/ecmascript\":[\"ecma\"],\"application/edi-consent\":[],\"application/edi-x12\":[],\"application/edifact\":[],\"application/emma+xml\":[\"emma\"],\"application/epp+xml\":[],\"application/epub+zip\":[\"epub\"],\"application/eshop\":[],\"application/example\":[],\"application/exi\":[\"exi\"],\"application/fastinfoset\":[],\"application/fastsoap\":[],\"application/fits\":[],\"application/font-tdpfr\":[\"pfr\"],\"application/framework-attributes+xml\":[],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/h224\":[],\"application/held+xml\":[],\"application/http\":[],\"application/hyperstudio\":[\"stk\"],\"application/ibe-key-request+xml\":[],\"application/ibe-pkg-reply+xml\":[],\"application/ibe-pp-data\":[],\"application/iges\":[],\"application/im-iscomposing+xml\":[],\"application/index\":[],\"application/index.cmd\":[],\"application/index.obj\":[],\"application/index.response\":[],\"application/index.vnd\":[],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/iotp\":[],\"application/ipfix\":[\"ipfix\"],\"application/ipp\":[],\"application/isup\":[],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\"],\"application/jsonml+json\":[\"jsonml\"],\"application/kpml-request+xml\":[],\"application/kpml-response+xml\":[],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/macwriteii\":[],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml-content+xml\":[],\"application/mathml-presentation+xml\":[],\"application/mathml+xml\":[\"mathml\"],\"application/mbms-associated-procedure-description+xml\":[],\"application/mbms-deregister+xml\":[],\"application/mbms-envelope+xml\":[],\"application/mbms-msk+xml\":[],\"application/mbms-msk-response+xml\":[],\"application/mbms-protection-description+xml\":[],\"application/mbms-reception-report+xml\":[],\"application/mbms-register+xml\":[],\"application/mbms-register-response+xml\":[],\"application/mbms-user-service-description+xml\":[],\"application/mbox\":[\"mbox\"],\"application/media_control+xml\":[],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mikey\":[],\"application/mods+xml\":[\"mods\"],\"application/moss-keys\":[],\"application/moss-signature\":[],\"application/mosskey-data\":[],\"application/mosskey-request\":[],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\"],\"application/mpeg4-generic\":[],\"application/mpeg4-iod\":[],\"application/mpeg4-iod-xmt\":[],\"application/msc-ivr+xml\":[],\"application/msc-mixer+xml\":[],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/nasdata\":[],\"application/news-checkgroups\":[],\"application/news-groupinfo\":[],\"application/news-transmission\":[],\"application/nss\":[],\"application/ocsp-request\":[],\"application/ocsp-response\":[],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/parityfec\":[],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-keys\":[],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pidf+xml\":[],\"application/pidf-diff+xml\":[],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/poc-settings+xml\":[],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.alvestrand.titrax-sheet\":[],\"application/prs.cww\":[\"cww\"],\"application/prs.nprend\":[],\"application/prs.plucker\":[],\"application/prs.rdf-xml-crypt\":[],\"application/prs.xsf+xml\":[],\"application/pskc+xml\":[\"pskcxml\"],\"application/qsig\":[],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/remote-printing\":[],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/riscos\":[],\"application/rlmi+xml\":[],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rpki-updown\":[],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/rtx\":[],\"application/samlassertion+xml\":[],\"application/samlmetadata+xml\":[],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment\":[],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration\":[],\"application/set-registration-initiation\":[\"setreg\"],\"application/sgml\":[],\"application/sgml-open-catalog\":[],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[],\"application/simple-filter+xml\":[],\"application/simple-message-summary\":[],\"application/simplesymbolcontainer\":[],\"application/slate\":[],\"application/smil\":[],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/soap+fastinfoset\":[],\"application/soap+xml\":[],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/spirits-event+xml\":[],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tamp-apex-update\":[],\"application/tamp-apex-update-confirm\":[],\"application/tamp-community-update\":[],\"application/tamp-community-update-confirm\":[],\"application/tamp-error\":[],\"application/tamp-sequence-adjust\":[],\"application/tamp-sequence-adjust-confirm\":[],\"application/tamp-status-query\":[],\"application/tamp-status-response\":[],\"application/tamp-update\":[],\"application/tamp-update-confirm\":[],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamp-query\":[],\"application/timestamp-reply\":[],\"application/timestamped-data\":[\"tsd\"],\"application/tve-trigger\":[],\"application/ulpfec\":[],\"application/vcard+xml\":[],\"application/vemmi\":[],\"application/vividence.scriptfile\":[],\"application/vnd.3gpp.bsf+xml\":[],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp.sms\":[],\"application/vnd.3gpp2.bcmcsinfo+xml\":[],\"application/vnd.3gpp2.sms\":[],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.partial-upload\":[],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.aether.imp\":[],\"application/vnd.ah-barcode\":[],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.amundsen.maze+xml\":[],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.arastra.swi\":[],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.autopackage\":[],\"application/vnd.avistar+xml\":[],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bluetooth.ep.oob\":[],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.cab-jscript\":[],\"application/vnd.canon-cpdl\":[],\"application/vnd.canon-lips\":[],\"application/vnd.cendio.thinlinc.clientconf\":[],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.cirpack.isdn-ext\":[],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.collection+json\":[],\"application/vnd.commerce-battelle\":[],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.ctct.ws+xml\":[],\"application/vnd.cups-pdf\":[],\"application/vnd.cups-postscript\":[],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.cups-raster\":[],\"application/vnd.cups-raw\":[],\"application/vnd.curl\":[],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.cybank\":[],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dir-bi.plate-dl-nosuffix\":[],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dolby.mobile.1\":[],\"application/vnd.dolby.mobile.2\":[],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.dvbj\":[],\"application/vnd.dvb.esgcontainer\":[],\"application/vnd.dvb.ipdcdftnotifaccess\":[],\"application/vnd.dvb.ipdcesgaccess\":[],\"application/vnd.dvb.ipdcesgaccess2\":[],\"application/vnd.dvb.ipdcesgpdd\":[],\"application/vnd.dvb.ipdcroaming\":[],\"application/vnd.dvb.iptv.alfec-base\":[],\"application/vnd.dvb.iptv.alfec-enhancement\":[],\"application/vnd.dvb.notif-aggregate-root+xml\":[],\"application/vnd.dvb.notif-container+xml\":[],\"application/vnd.dvb.notif-generic+xml\":[],\"application/vnd.dvb.notif-ia-msglist+xml\":[],\"application/vnd.dvb.notif-ia-registration-request+xml\":[],\"application/vnd.dvb.notif-ia-registration-response+xml\":[],\"application/vnd.dvb.notif-init+xml\":[],\"application/vnd.dvb.pfr\":[],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dxr\":[],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.easykaraoke.cdgdownload\":[],\"application/vnd.ecdis-update\":[],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.ecowin.filerequest\":[],\"application/vnd.ecowin.fileupdate\":[],\"application/vnd.ecowin.series\":[],\"application/vnd.ecowin.seriesrequest\":[],\"application/vnd.ecowin.seriesupdate\":[],\"application/vnd.emclient.accessrequest+xml\":[],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.eprints.data+xml\":[],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.ericsson.quickcall\":[],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.etsi.aoc+xml\":[],\"application/vnd.etsi.cug+xml\":[],\"application/vnd.etsi.iptvcommand+xml\":[],\"application/vnd.etsi.iptvdiscovery+xml\":[],\"application/vnd.etsi.iptvprofile+xml\":[],\"application/vnd.etsi.iptvsad-bc+xml\":[],\"application/vnd.etsi.iptvsad-cod+xml\":[],\"application/vnd.etsi.iptvsad-npvr+xml\":[],\"application/vnd.etsi.iptvservice+xml\":[],\"application/vnd.etsi.iptvsync+xml\":[],\"application/vnd.etsi.iptvueprofile+xml\":[],\"application/vnd.etsi.mcid+xml\":[],\"application/vnd.etsi.overload-control-policy-dataset+xml\":[],\"application/vnd.etsi.sci+xml\":[],\"application/vnd.etsi.simservs+xml\":[],\"application/vnd.etsi.tsl+xml\":[],\"application/vnd.etsi.tsl.der\":[],\"application/vnd.eudora.data\":[],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.f-secure.mobile\":[],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.ffsns\":[],\"application/vnd.fints\":[],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.font-fontforge-sfd\":[],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.art-ex\":[],\"application/vnd.fujixerox.art4\":[],\"application/vnd.fujixerox.hbpl\":[],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fut-misnet\":[],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geocube+xml\":[],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.globalplatform.card-content-mgt\":[],\"application/vnd.globalplatform.card-content-mgt-response\":[],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.gridmp\":[],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+json\":[],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hcl-bireports\":[],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.httphone\":[],\"application/vnd.hzn-3d-crossword\":[],\"application/vnd.ibm.afplinedata\":[],\"application/vnd.ibm.electronic-media\":[],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.informedcontrol.rms+xml\":[],\"application/vnd.informix-visionary\":[],\"application/vnd.infotech.project\":[],\"application/vnd.infotech.project+xml\":[],\"application/vnd.innopath.wamp.notification\":[],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intertrust.digibox\":[],\"application/vnd.intertrust.nncp\":[],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.iptc.g2.conceptitem+xml\":[],\"application/vnd.iptc.g2.knowledgeitem+xml\":[],\"application/vnd.iptc.g2.newsitem+xml\":[],\"application/vnd.iptc.g2.newsmessage+xml\":[],\"application/vnd.iptc.g2.packageitem+xml\":[],\"application/vnd.iptc.g2.planningitem+xml\":[],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.japannet-directory-service\":[],\"application/vnd.japannet-jpnstore-wakeup\":[],\"application/vnd.japannet-payment-wakeup\":[],\"application/vnd.japannet-registration\":[],\"application/vnd.japannet-registration-wakeup\":[],\"application/vnd.japannet-setstore-wakeup\":[],\"application/vnd.japannet-verification\":[],\"application/vnd.japannet-verification-wakeup\":[],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.liberty-request+xml\":[],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.marlin.drm.actiontoken+xml\":[],\"application/vnd.marlin.drm.conftoken+xml\":[],\"application/vnd.marlin.drm.license+xml\":[],\"application/vnd.marlin.drm.mdcf\":[],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.meridian-slingshot\":[],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.minisoft-hp3000-save\":[],\"application/vnd.mitsubishi.misty-guard.trustweb\":[],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.motorola.flexsuite\":[],\"application/vnd.motorola.flexsuite.adsi\":[],\"application/vnd.motorola.flexsuite.fis\":[],\"application/vnd.motorola.flexsuite.gotap\":[],\"application/vnd.motorola.flexsuite.kmr\":[],\"application/vnd.motorola.flexsuite.ttc\":[],\"application/vnd.motorola.flexsuite.wem\":[],\"application/vnd.motorola.iprm\":[],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-asf\":[],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-color.iccprofile\":[],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-office.activex+xml\":[],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-opentype\":[],\"application/vnd.ms-package.obfuscated-opentype\":[],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-playready.initiator+xml\":[],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-printing.printticket+xml\":[],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-tnef\":[],\"application/vnd.ms-wmdrm.lic-chlg-req\":[],\"application/vnd.ms-wmdrm.lic-resp\":[],\"application/vnd.ms-wmdrm.meter-chlg-req\":[],\"application/vnd.ms-wmdrm.meter-resp\":[],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.msign\":[],\"application/vnd.multiad.creator\":[],\"application/vnd.multiad.creator.cif\":[],\"application/vnd.music-niff\":[],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.ncd.control\":[],\"application/vnd.ncd.reference\":[],\"application/vnd.nervana\":[],\"application/vnd.netfpx\":[],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.catalogs\":[],\"application/vnd.nokia.conml+wbxml\":[],\"application/vnd.nokia.conml+xml\":[],\"application/vnd.nokia.isds-radio-presets\":[],\"application/vnd.nokia.iptv.config+xml\":[],\"application/vnd.nokia.landmark+wbxml\":[],\"application/vnd.nokia.landmark+xml\":[],\"application/vnd.nokia.landmarkcollection+xml\":[],\"application/vnd.nokia.n-gage.ac+xml\":[],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.ncd\":[],\"application/vnd.nokia.pcd+wbxml\":[],\"application/vnd.nokia.pcd+xml\":[],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.ntt-local.file-transfer\":[],\"application/vnd.ntt-local.sip-ta_remote\":[],\"application/vnd.ntt-local.sip-ta_tcp_stream\":[],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.obn\":[],\"application/vnd.oftn.l10n+json\":[],\"application/vnd.oipf.contentaccessdownload+xml\":[],\"application/vnd.oipf.contentaccessstreaming+xml\":[],\"application/vnd.oipf.cspg-hexbinary\":[],\"application/vnd.oipf.dae.svg+xml\":[],\"application/vnd.oipf.dae.xhtml+xml\":[],\"application/vnd.oipf.mippvcontrolmessage+xml\":[],\"application/vnd.oipf.pae.gem\":[],\"application/vnd.oipf.spdiscovery+xml\":[],\"application/vnd.oipf.spdlist+xml\":[],\"application/vnd.oipf.ueprofile+xml\":[],\"application/vnd.oipf.userprofile+xml\":[],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma-scws-config\":[],\"application/vnd.oma-scws-http-request\":[],\"application/vnd.oma-scws-http-response\":[],\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":[],\"application/vnd.oma.bcast.drm-trigger+xml\":[],\"application/vnd.oma.bcast.imd+xml\":[],\"application/vnd.oma.bcast.ltkm\":[],\"application/vnd.oma.bcast.notification+xml\":[],\"application/vnd.oma.bcast.provisioningtrigger\":[],\"application/vnd.oma.bcast.sgboot\":[],\"application/vnd.oma.bcast.sgdd+xml\":[],\"application/vnd.oma.bcast.sgdu\":[],\"application/vnd.oma.bcast.simple-symbol-container\":[],\"application/vnd.oma.bcast.smartcard-trigger+xml\":[],\"application/vnd.oma.bcast.sprov+xml\":[],\"application/vnd.oma.bcast.stkm\":[],\"application/vnd.oma.cab-address-book+xml\":[],\"application/vnd.oma.cab-feature-handler+xml\":[],\"application/vnd.oma.cab-pcc+xml\":[],\"application/vnd.oma.cab-user-prefs+xml\":[],\"application/vnd.oma.dcd\":[],\"application/vnd.oma.dcdc\":[],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.oma.drm.risd+xml\":[],\"application/vnd.oma.group-usage-list+xml\":[],\"application/vnd.oma.pal+xml\":[],\"application/vnd.oma.poc.detailed-progress-report+xml\":[],\"application/vnd.oma.poc.final-report+xml\":[],\"application/vnd.oma.poc.groups+xml\":[],\"application/vnd.oma.poc.invocation-descriptor+xml\":[],\"application/vnd.oma.poc.optimized-progress-report+xml\":[],\"application/vnd.oma.push\":[],\n\"application/vnd.oma.scidm.messages+xml\":[],\"application/vnd.oma.xcap-directory+xml\":[],\"application/vnd.omads-email+xml\":[],\"application/vnd.omads-file+xml\":[],\"application/vnd.omads-folder+xml\":[],\"application/vnd.omaloc-supl-init\":[],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":[],\"application/vnd.openxmlformats-officedocument.drawing+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":[],\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":[],\"application/vnd.openxmlformats-officedocument.theme+xml\":[],\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":[],\"application/vnd.openxmlformats-officedocument.vmldrawing\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":[],\"application/vnd.openxmlformats-package.core-properties+xml\":[],\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":[],\"application/vnd.openxmlformats-package.relationships+xml\":[],\"application/vnd.quobject-quoxdocument\":[],\"application/vnd.osa.netdeploy\":[],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.bundle\":[],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.otps.ct-kip+xml\":[],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.paos.xml\":[],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.piaccess.application-licence\":[],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.poc.group-advertisement+xml\":[],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.powerbuilder6-s\":[],\"application/vnd.powerbuilder7\":[],\"application/vnd.powerbuilder7-s\":[],\"application/vnd.powerbuilder75\":[],\"application/vnd.powerbuilder75-s\":[],\"application/vnd.preminet\":[],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.pwg-multiplexed\":[],\"application/vnd.pwg-xhtml-print+xml\":[],\"application/vnd.qualcomm.brew-app-res\":[],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.radisys.moml+xml\":[],\"application/vnd.radisys.msml+xml\":[],\"application/vnd.radisys.msml-audit+xml\":[],\"application/vnd.radisys.msml-audit-conf+xml\":[],\"application/vnd.radisys.msml-audit-conn+xml\":[],\"application/vnd.radisys.msml-audit-dialog+xml\":[],\"application/vnd.radisys.msml-audit-stream+xml\":[],\"application/vnd.radisys.msml-conf+xml\":[],\"application/vnd.radisys.msml-dialog+xml\":[],\"application/vnd.radisys.msml-dialog-base+xml\":[],\"application/vnd.radisys.msml-dialog-fax-detect+xml\":[],\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":[],\"application/vnd.radisys.msml-dialog-group+xml\":[],\"application/vnd.radisys.msml-dialog-speech+xml\":[],\"application/vnd.radisys.msml-dialog-transform+xml\":[],\"application/vnd.rainstor.data\":[],\"application/vnd.rapid\":[],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.renlearn.rlprint\":[],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.rs-274x\":[],\"application/vnd.ruckus.download\":[],\"application/vnd.s3sms\":[],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.sbm.cid\":[],\"application/vnd.sbm.mid2\":[],\"application/vnd.scribus\":[],\"application/vnd.sealed.3df\":[],\"application/vnd.sealed.csf\":[],\"application/vnd.sealed.doc\":[],\"application/vnd.sealed.eml\":[],\"application/vnd.sealed.mht\":[],\"application/vnd.sealed.net\":[],\"application/vnd.sealed.ppt\":[],\"application/vnd.sealed.tiff\":[],\"application/vnd.sealed.xls\":[],\"application/vnd.sealedmedia.softseal.html\":[],\"application/vnd.sealedmedia.softseal.pdf\":[],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.notebook\":[],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[],\"application/vnd.software602.filler.form-xml-zip\":[],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.sss-cod\":[],\"application/vnd.sss-dtf\":[],\"application/vnd.sss-ntf\":[],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.street-stream\":[],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sun.wadl+xml\":[],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.swiftview-ics\":[],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dm.notification\":[],\"application/vnd.syncml.ds.notification\":[],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.truedoc\":[],\"application/vnd.ubisoft.webplayer\":[],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.uplanet.alert\":[],\"application/vnd.uplanet.alert-wbxml\":[],\"application/vnd.uplanet.bearer-choice\":[],\"application/vnd.uplanet.bearer-choice-wbxml\":[],\"application/vnd.uplanet.cacheop\":[],\"application/vnd.uplanet.cacheop-wbxml\":[],\"application/vnd.uplanet.channel\":[],\"application/vnd.uplanet.channel-wbxml\":[],\"application/vnd.uplanet.list\":[],\"application/vnd.uplanet.list-wbxml\":[],\"application/vnd.uplanet.listcmd\":[],\"application/vnd.uplanet.listcmd-wbxml\":[],\"application/vnd.uplanet.signal\":[],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.vd-study\":[],\"application/vnd.vectorworks\":[],\"application/vnd.verimatrix.vcas\":[],\"application/vnd.vidsoft.vidconference\":[],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vividence.scriptfile\":[],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.sic\":[],\"application/vnd.wap.slc\":[],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wfa.wsc\":[],\"application/vnd.wmc\":[],\"application/vnd.wmf.bootstrap\":[],\"application/vnd.wolfram.mathematica\":[],\"application/vnd.wolfram.mathematica.package\":[],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wrq-hp3000-labelled\":[],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.wv.csp+wbxml\":[],\"application/vnd.wv.csp+xml\":[],\"application/vnd.wv.ssp+xml\":[],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.xfdl.webform\":[],\"application/vnd.xmi+xml\":[],\"application/vnd.xmpie.cpkg\":[],\"application/vnd.xmpie.dpkg\":[],\"application/vnd.xmpie.plan\":[],\"application/vnd.xmpie.ppkg\":[],\"application/vnd.xmpie.xlim\":[],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.remote-setup\":[],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yamaha.through-ngn\":[],\"application/vnd.yamaha.tunnel-udpencap\":[],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/vq-rtcpxr\":[],\"application/watcherinfo+xml\":[],\"application/whoispp-query\":[],\"application/whoispp-response\":[],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wita\":[],\"application/wordperfect5.1\":[],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-amf\":[],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-conference\":[\"nsc\"],\"application/x-compress\":[],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-dos\":[],\"application/x-font-framemaker\":[],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-libgrx\":[],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-speedo\":[],\"application/x-font-sunos-news\":[],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/font-woff\":[\"woff\"],\"application/x-font-vfont\":[],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-gzip\":[],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/x400-bp\":[],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[],\"application/xcap-caps+xml\":[],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[],\"application/xcap-error+xml\":[],\"application/xcap-ns+xml\":[],\"application/xcon-conference-info-diff+xml\":[],\"application/xcon-conference-info+xml\":[],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xhtml-voice+xml\":[],\"application/xml\":[\"xml\",\"xsl\"],\"application/xml-dtd\":[\"dtd\"],\"application/xml-external-parsed-entity\":[],\"application/xmpp+xml\":[],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/1d-interleaved-parityfec\":[],\"audio/32kadpcm\":[],\"audio/3gpp\":[],\"audio/3gpp2\":[],\"audio/ac3\":[],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[],\"audio/amr-wb\":[],\"audio/amr-wb+\":[],\"audio/asc\":[],\"audio/atrac-advanced-lossless\":[],\"audio/atrac-x\":[],\"audio/atrac3\":[],\"audio/basic\":[\"au\",\"snd\"],\"audio/bv16\":[],\"audio/bv32\":[],\"audio/clearmode\":[],\"audio/cn\":[],\"audio/dat12\":[],\"audio/dls\":[],\"audio/dsr-es201108\":[],\"audio/dsr-es202050\":[],\"audio/dsr-es202211\":[],\"audio/dsr-es202212\":[],\"audio/dv\":[],\"audio/dvi4\":[],\"audio/eac3\":[],\"audio/evrc\":[],\"audio/evrc-qcp\":[],\"audio/evrc0\":[],\"audio/evrc1\":[],\"audio/evrcb\":[],\"audio/evrcb0\":[],\"audio/evrcb1\":[],\"audio/evrcwb\":[],\"audio/evrcwb0\":[],\"audio/evrcwb1\":[],\"audio/example\":[],\"audio/fwdred\":[],\"audio/g719\":[],\"audio/g722\":[],\"audio/g7221\":[],\"audio/g723\":[],\"audio/g726-16\":[],\"audio/g726-24\":[],\"audio/g726-32\":[],\"audio/g726-40\":[],\"audio/g728\":[],\"audio/g729\":[],\"audio/g7291\":[],\"audio/g729d\":[],\"audio/g729e\":[],\"audio/gsm\":[],\"audio/gsm-efr\":[],\"audio/gsm-hr-08\":[],\"audio/ilbc\":[],\"audio/ip-mr_v2.5\":[],\"audio/isac\":[],\"audio/l16\":[],\"audio/l20\":[],\"audio/l24\":[],\"audio/l8\":[],\"audio/lpc\":[],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[],\"audio/mp4\":[\"mp4a\"],\"audio/mp4a-latm\":[],\"audio/mpa\":[],\"audio/mpa-robust\":[],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/mpeg4-generic\":[],\"audio/musepack\":[],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/opus\":[],\"audio/parityfec\":[],\"audio/pcma\":[],\"audio/pcma-wb\":[],\"audio/pcmu-wb\":[],\"audio/pcmu\":[],\"audio/prs.sid\":[],\"audio/qcelp\":[],\"audio/red\":[],\"audio/rtp-enc-aescm128\":[],\"audio/rtp-midi\":[],\"audio/rtx\":[],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/smv\":[],\"audio/smv0\":[],\"audio/smv-qcp\":[],\"audio/sp-midi\":[],\"audio/speex\":[],\"audio/t140c\":[],\"audio/t38\":[],\"audio/telephone-event\":[],\"audio/tone\":[],\"audio/uemclip\":[],\"audio/ulpfec\":[],\"audio/vdvi\":[],\"audio/vmr-wb\":[],\"audio/vnd.3gpp.iufp\":[],\"audio/vnd.4sb\":[],\"audio/vnd.audiokoz\":[],\"audio/vnd.celp\":[],\"audio/vnd.cisco.nse\":[],\"audio/vnd.cmles.radio-events\":[],\"audio/vnd.cns.anp1\":[],\"audio/vnd.cns.inf1\":[],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dlna.adts\":[],\"audio/vnd.dolby.heaac.1\":[],\"audio/vnd.dolby.heaac.2\":[],\"audio/vnd.dolby.mlp\":[],\"audio/vnd.dolby.mps\":[],\"audio/vnd.dolby.pl2\":[],\"audio/vnd.dolby.pl2x\":[],\"audio/vnd.dolby.pl2z\":[],\"audio/vnd.dolby.pulse.1\":[],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.dvb.file\":[],\"audio/vnd.everad.plj\":[],\"audio/vnd.hns.audio\":[],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nokia.mobile-xmf\":[],\"audio/vnd.nortel.vbk\":[],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.octel.sbc\":[],\"audio/vnd.qcelp\":[],\"audio/vnd.rhetorex.32kadpcm\":[],\"audio/vnd.rip\":[\"rip\"],\"audio/vnd.sealedmedia.softseal.mpeg\":[],\"audio/vnd.vmx.cvsd\":[],\"audio/vorbis\":[],\"audio/vorbis-config\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-tta\":[],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-pdb\":[],\"chemical/x-xyz\":[\"xyz\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/example\":[],\"image/fits\":[],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[],\"image/jpx\":[],\"image/ktx\":[\"ktx\"],\"image/naplps\":[],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[],\"image/tiff\":[\"tiff\",\"tif\"],\"image/tiff-fx\":[],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.cns.inf2\":[],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.globalgraphics.pgb\":[],\"image/vnd.microsoft.icon\":[],\"image/vnd.mix\":[],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.radiance\":[],\"image/vnd.sealed.png\":[],\"image/vnd.sealedmedia.softseal.gif\":[],\"image/vnd.sealedmedia.softseal.jpg\":[],\"image/vnd.svf\":[],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/cpim\":[],\"message/delivery-status\":[],\"message/disposition-notification\":[],\"message/example\":[],\"message/external-body\":[],\"message/feedback-report\":[],\"message/global\":[],\"message/global-delivery-status\":[],\"message/global-disposition-notification\":[],\"message/global-headers\":[],\"message/http\":[],\"message/imdn+xml\":[],\"message/news\":[],\"message/partial\":[],\"message/rfc822\":[\"eml\",\"mime\"],\"message/s-http\":[],\"message/sip\":[],\"message/sipfrag\":[],\"message/tracking-status\":[],\"message/vnd.si.simp\":[],\"model/example\":[],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.flatland.3dml\":[],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gs-gdl\":[],\"model/vnd.gs.gdl\":[],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.moml+xml\":[],\"model/vnd.mts\":[\"mts\"],\"model/vnd.parasolid.transmit.binary\":[],\"model/vnd.parasolid.transmit.text\":[],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"multipart/alternative\":[],\"multipart/appledouble\":[],\"multipart/byteranges\":[],\"multipart/digest\":[],\"multipart/encrypted\":[],\"multipart/example\":[],\"multipart/form-data\":[],\"multipart/header-set\":[],\"multipart/mixed\":[],\"multipart/parallel\":[],\"multipart/related\":[],\"multipart/report\":[],\"multipart/signed\":[],\"multipart/voice-message\":[],\"text/1d-interleaved-parityfec\":[],\"text/cache-manifest\":[\"appcache\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/directory\":[],\"text/dns\":[],\"text/ecmascript\":[],\"text/enriched\":[],\"text/example\":[],\"text/fwdred\":[],\"text/html\":[\"html\",\"htm\"],\"text/javascript\":[],\"text/n3\":[\"n3\"],\"text/parityfec\":[],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\"],\"text/prs.fallenstein.rst\":[],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.radisys.msml-basic-layout\":[],\"text/red\":[],\"text/rfc822-headers\":[],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/rtp-enc-aescm128\":[],\"text/rtx\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/t140\":[],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/ulpfec\":[],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.abc\":[],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.dmclientscript\":[],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.esmertec.theme-descriptor\":[],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.iptc.newsml\":[],\"text/vnd.iptc.nitf\":[],\"text/vnd.latex-z\":[],\"text/vnd.motorola.reflex\":[],\"text/vnd.ms-mediapackage\":[],\"text/vnd.net2phone.commcenter.command\":[],\"text/vnd.si.uricatalogue\":[],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.trolltech.linguist\":[],\"text/vnd.wap.si\":[],\"text/vnd.wap.sl\":[],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-java-source\":[\"java\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-nfo\":[\"nfo\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/xml-external-parsed-entity\":[],\"video/1d-interleaved-parityfec\":[],\"video/3gpp\":[\"3gp\"],\"video/3gpp-tt\":[],\"video/3gpp2\":[\"3g2\"],\"video/bmpeg\":[],\"video/bt656\":[],\"video/celb\":[],\"video/dv\":[],\"video/example\":[],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h263-1998\":[],\"video/h263-2000\":[],\"video/h264\":[\"h264\"],\"video/h264-rcdo\":[],\"video/h264-svc\":[],\"video/jpeg\":[\"jpgv\"],\"video/jpeg2000\":[],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp1s\":[],\"video/mp2p\":[],\"video/mp2t\":[],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mp4v-es\":[],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/mpeg4-generic\":[],\"video/mpv\":[],\"video/nv\":[],\"video/ogg\":[\"ogv\"],\"video/parityfec\":[],\"video/pointer\":[],\"video/quicktime\":[\"qt\",\"mov\"],\"video/raw\":[],\"video/rtp-enc-aescm128\":[],\"video/rtx\":[],\"video/smpte292m\":[],\"video/ulpfec\":[],\"video/vc1\":[],\"video/vnd.cctv\":[],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.mp4\":[],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.directv.mpeg\":[],\"video/vnd.directv.mpeg-tts\":[],\"video/vnd.dlna.mpeg-tts\":[],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.hns.video\":[],\"video/vnd.iptvforum.1dparityfec-1010\":[],\"video/vnd.iptvforum.1dparityfec-2005\":[],\"video/vnd.iptvforum.2dparityfec-1010\":[],\"video/vnd.iptvforum.2dparityfec-2005\":[],\"video/vnd.iptvforum.ttsavc\":[],\"video/vnd.iptvforum.ttsmpeg2\":[],\"video/vnd.motorola.video\":[],\"video/vnd.motorola.videop\":[],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.nokia.interleaved-multimedia\":[],\"video/vnd.nokia.videovoip\":[],\"video/vnd.objectvideo\":[],\"video/vnd.sealed.mpeg1\":[],\"video/vnd.sealed.mpeg4\":[],\"video/vnd.sealed.swf\":[],\"video/vnd.sealedmedia.softseal.mov\":[],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],525:[function(e,t,n){t.exports={\"text/vtt\":[\"vtt\"],\"application/x-chrome-extension\":[\"crx\"],\"text/x-component\":[\"htc\"],\"text/cache-manifest\":[\"manifest\"],\"application/octet-stream\":[\"buffer\"],\"application/mp4\":[\"m4p\"],\"audio/mp4\":[\"m4a\"],\"video/MP2T\":[\"ts\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"text/x-lua\":[\"lua\"],\"application/x-lua-bytecode\":[\"luac\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/plain\":[\"ini\"],\"application/dash+xml\":[\"mdp\"],\"font/opentype\":[\"otf\"],\"application/json\":[\"map\"],\"application/xml\":[\"xsd\"]}},{}],526:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=e.portA,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function a(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function s(e){var t=e.proxy,n={proxy:{host:t.hostname,port:+t.port,proxyAuth:t.auth,headers:e.proxyHeaders},rejectUnauthorized:e.rejectUnauthorized,headers:e.headers,ca:e.ca,cert:e.cert,key:e.key};return n}function c(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function u(e){var t=e.uri,n=e.proxy,r=c(t,n);return I[r]}function p(e){var t=process.env.NO_PROXY||process.env.no_proxy||null;\nif(\"*\"===t)return null;if(null!==t){var n,r,i,o,a,s,c;r=e.hostname.replace(/^\\.*/,\".\").toLowerCase(),c=t.split(\",\");for(var u=0,p=c.length;p>u;u++)if(n=c[u].trim().toLowerCase(),n.indexOf(\":\")>-1){if(o=n.split(\":\",2),a=o[0].replace(/^\\.*/,\".\"),s=o[1],i=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),i===s&&r.indexOf(a)===r.length-a.length)return null}else{n=n.replace(/^\\.*/,\".\");var l=r.indexOf(n);if(l>-1&&l===r.length-n.length)return null}}return\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}function l(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function f(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function d(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:f.call(e.request)}}function h(e){var t=this;b.Stream.call(t);var n=Object.keys(h.prototype),o=r(n,e);b.Stream.call(t),y._extend(t,o),e=i(n,e),t.readable=!0,t.writable=!0,\"undefined\"==typeof e.tunnel&&(e.tunnel=!1),e.method&&(t.explicitMethod=!0),t.canTunnel=e.tunnel!==!1&&I,t.init(e)}var m=e(\"http\"),v=e(\"https\"),g=e(\"url\"),y=e(\"util\"),b=e(\"stream\"),x=e(\"qs\"),w=e(\"querystring\"),_=e(\"zlib\"),k=e(\"./lib/helpers\"),j=e(\"bl\"),S=e(\"oauth-sign\"),E=e(\"hawk\"),O=e(\"aws-sign2\"),A=e(\"http-signature\"),C=e(\"node-uuid\"),T=e(\"mime-types\"),I=e(\"tunnel-agent\"),P=e(\"stringstream\"),F=e(\"caseless\"),M=e(\"forever-agent\"),z=e(\"form-data\"),B=e(\"./lib/cookies\"),N=e(\"./lib/copy\"),D=e(\"./lib/debug\"),q=(e(\"net\"),e(\"combined-stream\")),R=k.safeStringify,L=k.md5,$=k.isReadStream,U=k.toBase64,H=k.defer,V=B.jar(),W={},Y=/^https?:/,K=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"transfer-encoding\",\"user-agent\",\"via\"],G=[\"proxy-authorization\"];y.inherits(h,b.Stream),h.prototype.setupTunnel=function(){var e=this;if(\"string\"==typeof e.proxy&&(e.proxy=g.parse(e.proxy)),!e.proxy)return!1;if(!e.tunnel&&\"https:\"!==e.uri.protocol)return!1;e.proxyHeaderExclusiveList||(e.proxyHeaderExclusiveList=[]);var t=e.proxyHeaderExclusiveList.concat(G);e.proxyHeaderWhiteList||(e.proxyHeaderWhiteList=K);var n=e.proxyHeaderWhiteList.concat(t),r=o(e.uri);e.proxyHeaders=a(e.headers,n),e.proxyHeaders.host=r,t.forEach(e.removeHeader,e);var i=u(e),c=s(e);return e.agent=i(c),e.tunnel=!0,!0},h.prototype.init=function(e){var t=this;if(e||(e={}),t.headers=t.headers?N(t.headers):{},F.httpify(t,t.headers),t.method||(t.method=e.method||\"GET\"),t.localAddress=e.localAddress,t.qsLib||(t.qsLib=e.useQuerystring?w:x),D(e),t.pool||t.pool===!1||(t.pool=W),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on(\"error\",t.callback.bind()),t.on(\"complete\",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),!t.uri)return t.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof t.uri&&(t.uri=g.parse(t.uri)),\"unix:\"===t.uri.protocol)return t.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===t.uri.host){var r=t.uri.path.split(\":\"),i=r[0],o=r[1];t.socketPath=i,t.uri.pathname=o,t.uri.path=o,t.uri.host=i,t.uri.hostname=i,t.uri.isUnix=!0}if(t.strictSSL===!1&&(t.rejectUnauthorized=!1),t.hasOwnProperty(\"proxy\")||(t.proxy=p(t.uri)),t.tunnel=!!e.tunnel,t.proxy&&t.setupTunnel(),t.uri.pathname||(t.uri.pathname=\"/\"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var a=g.format(t.uri),s='Invalid URI \"'+a+'\"';return 0===Object.keys(e).length&&(s+=\". This can be caused by a crappy redirection.\"),t.emit(\"error\",new Error(s))}if(t._redirectsFollowed=t._redirectsFollowed||0,t.maxRedirects=void 0!==t.maxRedirects?t.maxRedirects:10,t.allowRedirect=\"function\"==typeof t.followRedirect?t.followRedirect:function(e){return!0},t.followRedirects=void 0!==t.followRedirect?!!t.followRedirect:!0,t.followAllRedirects=void 0!==t.followAllRedirects?t.followAllRedirects:!1,(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),t.setHost=!1,!t.hasHeader(\"host\")){var c=t.originalHostHeaderName||\"host\";t.setHeader(c,t.uri.hostname),t.uri.port&&(80===t.uri.port&&\"http:\"===t.uri.protocol||443===t.uri.port&&\"https:\"===t.uri.protocol||t.setHeader(c,t.getHeader(\"host\")+(\":\"+t.uri.port))),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||(\"http:\"===t.uri.protocol?t.uri.port=80:\"https:\"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var u=e.formData,l=t.form(),f=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in u)if(u.hasOwnProperty(d)){var h=u[d];if(h instanceof Array)for(var y=0;y<h.length;y++)f(d,h[y]);else f(d,h)}}if(e.qs&&t.qs(e.qs),t.uri.path?t.path=t.uri.path:t.path=t.uri.pathname+(t.uri.search||\"\"),0===t.path.length&&(t.path=\"/\"),e.oauth&&t.oauth(e.oauth),e.aws&&t.aws(e.aws),e.hawk&&t.hawk(e.hawk),e.httpSignature&&t.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),t.gzip&&!t.hasHeader(\"accept-encoding\")&&t.setHeader(\"accept-encoding\",\"gzip\"),t.uri.auth&&!t.hasHeader(\"authorization\")){var b=t.uri.auth.split(\":\").map(function(e){return w.unescape(e)});t.auth(b[0],b.slice(1).join(\":\"),!0)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader(\"proxy-authorization\")){var _=t.proxy.auth.split(\":\").map(function(e){return w.unescape(e)}),k=\"Basic \"+U(_.join(\":\"));t.setHeader(\"proxy-authorization\",k)}if(t.proxy&&!t.tunnel&&(t.path=t.uri.protocol+\"//\"+t.uri.host+t.path),e.json&&t.json(e.json),e.multipart&&(t.boundary=C(),t.multipart(e.multipart)),t.body){var j=0;if(n.isBuffer(t.body))j=t.body.length;else if(Array.isArray(t.body))for(var S=0;S<t.body.length;S++)j+=t.body[S].length;else t.body=new n(t.body),j=t.body.length;if(!j)throw new Error(\"Argument error, options.body.\");t.hasHeader(\"content-length\")||t.setHeader(\"content-length\",j)}var E=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol,O={\"http:\":m,\"https:\":v},A=t.httpModules||{};return t.httpModule=A[E]||O[E],t.httpModule?(e.ca&&(t.ca=e.ca),t.agent||(e.agentOptions&&(t.agentOptions=e.agentOptions),e.agentClass?t.agentClass=e.agentClass:e.forever?t.agentClass=\"http:\"===E?M:M.SSL:t.agentClass=t.httpModule.Agent),t.pool===!1?t.agent=!1:t.agent=t.agent||t.getNewAgent(),t.on(\"pipe\",function(e){if(t.ntick&&t._started)throw new Error(\"You cannot pipe to this stream after the outbound request has started.\");if(t.src=e,$(e))t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",T.lookup(e.path));else{if(e.headers)for(var n in e.headers)t.hasHeader(n)||t.setHeader(n,e.headers[n]);t._json&&!t.hasHeader(\"content-type\")&&t.setHeader(\"content-type\",\"application/json\"),e.method&&!t.explicitMethod&&(t.method=e.method)}}),void H(function(){if(!t._aborted){var e=function(){t._form&&t._form.pipe(t),t._multipart&&t._multipart.pipe(t),t.body?(Array.isArray(t.body)?t.body.forEach(function(e){t.write(e)}):t.write(t.body),t.end()):t.requestBodyStream?(console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),t.requestBodyStream.pipe(t)):t.src||(\"GET\"!==t.method&&\"undefined\"!=typeof t.method&&t.setHeader(\"content-length\",0),t.end())};t._form&&!t.hasHeader(\"content-length\")?(t.setHeader(t._form.getHeaders()),t._form.getLength(function(n,r){n||t.setHeader(\"content-length\",r),e()})):e(),t.ntick=!0}})):t.emit(\"error\",new Error(\"Invalid protocol: \"+E))},h.prototype._updateProtocol=function(){var e=this,t=e.uri.protocol;if(\"https:\"===t||e.tunnel){if(e.proxy&&e.setupTunnel())return;switch(e.httpModule=v,e.agentClass){case M:e.agentClass=M.SSL;break;case m.Agent:e.agentClass=v.Agent;break;default:return}e.agent&&(e.agent=e.getNewAgent())}else{switch(e.httpModule=m,e.agentClass){case M.SSL:e.agentClass=M;break;case v.Agent:e.agentClass=m.Agent;break;default:return}e.agent&&(e.agent=null,e.agent=e.getNewAgent())}},h.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=g.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===W&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},h.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=N(e);delete t.auth,D(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timeout&&!e.timeoutTimer&&(e.timeoutTimer=setTimeout(function(){e.abort();var t=new Error(\"ETIMEDOUT\");t.code=\"ETIMEDOUT\",e.emit(\"error\",t)},e.timeout),e.req.setTimeout&&e.req.setTimeout(e.timeout,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",e.emit(\"error\",t)}})),e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",l)}),e.emit(\"request\",e.req)}},h.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},h.prototype.onRequestResponse=function(e){var t=this;if(D(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){D(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(l)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",l)),t._aborted)return D(\"aborted\",t.uri.href),void e.resume();if(t._paused?e.pause():e.resume&&e.resume(),t.response=e,e.request=t,e.toJSON=d,t.httpModule===v&&t.strictSSL&&(!e.hasOwnProperty(\"client\")||!e.client.authorized)){D(\"strict ssl error\",t.uri.href);var r=e.hasOwnProperty(\"client\")?e.client.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+r))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var i=t._jar&&t._jar.setCookie?t._jar:V,o=function(e){try{i.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=F(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(o):o(e.headers[a])}var s=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var c=e.caseless.get(\"location\");if(D(\"redirect\",c),t.followAllRedirects)s=c;else if(t.followRedirects)switch(t.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:s=c}}else if(401===e.statusCode&&t._hasAuth&&!t._sentAuth){var u=e.caseless.get(\"www-authenticate\"),p=u&&u.split(\" \")[0].toLowerCase();switch(D(\"reauth\",p),p){case\"basic\":t.auth(t._user,t._pass,!0),s=t.uri;break;case\"bearer\":t.auth(null,null,!0,t._bearer),s=t.uri;break;case\"digest\":for(var f={},h=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var m=h.exec(u);if(!m)break;f[m[1]]=m[2]||m[3]}var y=L(t._user+\":\"+f.realm+\":\"+t._pass),b=L(t.method+\":\"+t.uri.path),x=/(^|,)\\s*auth\\s*($|,)/.test(f.qop)&&\"auth\",w=x&&\"00000001\",k=x&&C().replace(/-/g,\"\"),S=L(x?y+\":\"+f.nonce+\":\"+w+\":\"+k+\":\"+x+\":\"+b:y+\":\"+f.nonce+\":\"+b),E={username:t._user,realm:f.realm,nonce:f.nonce,uri:t.uri.path,qop:x,response:S,nc:w,cnonce:k,algorithm:f.algorithm,opaque:f.opaque};u=[];for(var O in E)E[O]&&(\"qop\"===O||\"nc\"===O||\"algorithm\"===O?u.push(O+\"=\"+E[O]):u.push(O+'=\"'+E[O]+'\"'));u=\"Digest \"+u.join(\", \"),t.setHeader(\"authorization\",u),t._sentAuth=!0,s=t.uri}}if(s&&t.allowRedirect.call(t,e)){if(D(\"redirect to\",s),t._paused&&e.resume(),t._redirectsFollowed>=t.maxRedirects)return void t.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+t.uri.href));t._redirectsFollowed+=1,Y.test(s)||(s=g.resolve(t.uri.href,s));var A=t.uri;return t.uri=g.parse(s),t.uri.protocol!==A.protocol&&t._updateProtocol(),t.redirects.push({statusCode:e.statusCode,redirectUri:s}),t.followAllRedirects&&401!==e.statusCode&&307!==e.statusCode&&(t.method=\"GET\"),delete t.src,delete t.req,delete t.agent,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader(\"host\"),t.removeHeader(\"content-type\"),t.removeHeader(\"content-length\"),t.uri.hostname!==t.originalHost.split(\":\")[0]&&t.removeHeader(\"authorization\"))),t.emit(\"redirect\"),void t.init()}t._redirectsFollowed=t._redirectsFollowed||0,e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var T;if(t.gzip){var I=e.headers[\"content-encoding\"]||\"identity\";I=I.trim().toLowerCase(),\"gzip\"===I?(T=_.createGunzip(),e.pipe(T)):(\"identity\"!==I&&D(\"ignoring unrecognized Content-Encoding \"+I),T=e)}else T=e;if(t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):T.setEncoding?T.setEncoding(t.encoding):T=T.pipe(P(t.encoding))),t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),T.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),T.on(\"end\",function(e){t.emit(\"end\",e)}),T.on(\"error\",function(e){t.emit(\"error\",e)}),T.on(\"close\",function(){t.emit(\"close\")}),t.callback){var M=j(),z=[];t.on(\"data\",function(e){n.isBuffer(e)?M.append(e):z.push(e)}),t.on(\"end\",function(){if(D(\"end event\",t.uri.href),t._aborted)return void D(\"aborted\",t.uri.href);if(M.length?(D(\"has body\",t.uri.href,M.length),null===t.encoding?e.body=M.slice():e.body=M.toString(t.encoding)):z.length&&(\"utf8\"===t.encoding&&z[0].length>0&&\"\\ufeff\"===z[0][0]&&(z[0]=z[0].substring(1)),e.body=z.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(n){}D(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=\"\"),t.emit(\"complete\",e,e.body)})}else t.on(\"end\",function(){return t._aborted?void D(\"aborted\",t.uri.href):void t.emit(\"complete\",e)});D(\"finish init function\",t.uri.href)},h.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.abort(),e.emit(\"abort\")},h.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},h.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r.qsLib.parse(r.uri.query):{};for(var i in e)n[i]=e[i];return\"\"===r.qsLib.stringify(n)?r:(r.uri=g.parse(r.uri.href.split(\"?\")[0]+\"?\"+r.qsLib.stringify(n)),r.url=r.uri,r.path=r.uri.path,r)},h.prototype.form=function(e){var t=this;return e?(t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?e.toString(\"utf8\"):t.qsLib.stringify(e).toString(\"utf8\"),t):(t._form=new z,t._form)},h.prototype.multipart=function(e){function t(e){return i?o.append(e):o.push(new n(e))}var r=this,i=e instanceof Array||void 0===e.chunked||e.chunked;e=e.data||e;var o=i?new q:[];i&&r.setHeader(\"transfer-encoding\",\"chunked\");var a=r.hasHeader(\"content-type\");if(a&&-1!==r.headers[a].indexOf(\"multipart\")?r.setHeader(a,r.headers[a].split(\";\")[0]+\"; boundary=\"+r.boundary):r.setHeader(\"content-type\",\"multipart/related; boundary=\"+r.boundary),!e.forEach)throw new Error(\"Argument error, options.multipart.\");return r.preambleCRLF&&t(\"\\r\\n\"),e.forEach(function(e){var n=e.body;if(\"undefined\"==typeof n)throw new Error(\"Body attribute missing in multipart.\");var i=\"--\"+r.boundary+\"\\r\\n\";Object.keys(e).forEach(function(t){\"body\"!==t&&(i+=t+\": \"+e[t]+\"\\r\\n\")}),i+=\"\\r\\n\",t(i),t(n),t(\"\\r\\n\")}),t(\"--\"+r.boundary+\"--\"),r.postambleCRLF&&t(\"\\r\\n\"),r[i?\"_multipart\":\"body\"]=o,r},h.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&\"application/x-www-form-urlencoded\"!==t.getHeader(\"content-type\")&&(t.body=R(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=R(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},h.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n};var J=h.prototype.getHeader;h.prototype.auth=function(e,t,n,r){var i=this;if(void 0!==r)return i._bearer=r,i._hasAuth=!0,(n||\"undefined\"==typeof n)&&(\"function\"==typeof r&&(r=r()),i.setHeader(\"authorization\",\"Bearer \"+r),i._sentAuth=!0),i;if(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)throw new Error(\"auth() received invalid user or password\");i._user=e,i._pass=t,i._hasAuth=!0;var o=\"undefined\"!=typeof t?e+\":\"+t:e;return(n||\"undefined\"==typeof n)&&(i.setHeader(\"authorization\",\"Basic \"+U(o)),i._sentAuth=!0),i},h.prototype.aws=function(e,t){var n=this;if(!t)return n._aws=e,n;var r=new Date;n.setHeader(\"date\",r.toUTCString());var i={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:r,contentType:n.getHeader(\"content-type\")||\"\",md5:n.getHeader(\"content-md5\")||\"\",amazonHeaders:O.canonicalizeHeaders(n.headers)},o=n.uri.path;return e.bucket&&o?i.resource=\"/\"+e.bucket+o:e.bucket&&!o?i.resource=\"/\"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource=\"/\"),i.resource=O.canonicalizeResource(i.resource),n.setHeader(\"authorization\",O.authorization(i)),n},h.prototype.httpSignature=function(e){var t=this;return A.signRequest({getHeader:function(e){return J(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),D(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},h.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",E.client.header(t.uri,t.method,e).field)},h.prototype.oauth=function(e){var t,n,r=this;r.hasHeader(\"content-type\")&&\"application/x-www-form-urlencoded\"===r.getHeader(\"content-type\").slice(0,\"application/x-www-form-urlencoded\".length)&&(t=r.body),r.uri.query&&(n=r.uri.query);var i={};for(var o in e)i[\"oauth_\"+o]=e[o];\"oauth_realm\"in i&&delete i.oauth_realm,i.oauth_version||(i.oauth_version=\"1.0\"),i.oauth_timestamp||(i.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),i.oauth_nonce||(i.oauth_nonce=C().replace(/-/g,\"\")),i.oauth_signature_method||(i.oauth_signature_method=\"HMAC-SHA1\");var a=i.oauth_consumer_secret||i.oauth_private_key;delete i.oauth_consumer_secret,delete i.oauth_private_key;var s=i.oauth_token_secret;delete i.oauth_token_secret;var c=r.uri.protocol+\"//\"+r.uri.host+r.uri.pathname,u=r.qsLib.parse([].concat(n,t,r.qsLib.stringify(i)).join(\"&\")),p=S.sign(i.oauth_signature_method,r.method,c,u,a,s),l=e.realm?'realm=\"'+e.realm+'\",':\"\",f=\"OAuth \"+l+Object.keys(i).sort().map(function(e){return e+'=\"'+S.rfc3986(i[e])+'\"'}).join(\",\");return f+=',oauth_signature=\"'+S.rfc3986(p)+'\"',r.setHeader(\"Authorization\",f),r},h.prototype.jar=function(e){var t,n=this;if(0===n._redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:V,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},h.prototype.pipe=function(e,t){var n=this;if(n.response){if(n._destdata)throw new Error(\"You cannot pipe after data has been emitted from the response.\");if(n._ended)throw new Error(\"You cannot pipe after the response has been ended.\");return b.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e}return n.dests.push(e),b.Stream.prototype.pipe.call(n,e,t),e},h.prototype.write=function(){var e=this;return e._started||e.start(),e.req.write.apply(e.req,arguments)},h.prototype.end=function(e){var t=this;e&&t.write(e),t._started||t.start(),t.req.end()},h.prototype.pause=function(){var e=this;e.response?e.response.pause.apply(e.response,arguments):e._paused=!0},h.prototype.resume=function(){var e=this;e.response?e.response.resume.apply(e.response,arguments):e._paused=!1},h.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},h.defaultProxyHeaderWhiteList=K.slice(),h.defaultProxyHeaderExclusiveList=G.slice(),h.prototype.toJSON=f,t.exports=h}).call(this,e(\"buffer\").Buffer)},{\"./lib/cookies\":518,\"./lib/copy\":519,\"./lib/debug\":520,\"./lib/helpers\":521,\"aws-sign2\":477,bl:478,buffer:void 0,caseless:481,\"combined-stream\":482,\"forever-agent\":486,\"form-data\":487,hawk:488,http:void 0,\"http-signature\":497,https:void 0,\"mime-types\":523,net:void 0,\"node-uuid\":361,\"oauth-sign\":507,qs:508,querystring:void 0,stream:void 0,stringstream:457,\"tunnel-agent\":465,url:void 0,util:void 0,zlib:void 0}],527:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":528,dup:434}],528:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=!1,l=function(e,t){return c&&(clearTimeout(c),c=0),p?void 0:(p=!0,f.removeAllListeners(),f.close(),n(e,t))},f=r.createSocket(\"udp4\");f.once(\"error\",function(e){return l(e)}),f.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return l(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return l(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,p=r.transmitTimestamp,f=n;return r.d=f-o-(p-c),r.t=(c-o+(p-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),l(null,r)}):l(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,l(new Error(\"Timeout\"))},s.timeout));for(var d=new t(48),h=0;48>h;h++)d[h]=0;d[0]=35,u=Date.now(),a.fromMsecs(u,d,40),f.send(d,0,d.length,s.port,s.host,function(e,t){return e||48!==t?l(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:494}],529:[function(e,t,n){\"use strict\";function r(e){for(var t=e.listeners(\"data\"),n=0;n<t.length;n++)if(\"ondata\"===t[n].name)return!0;return!1}function i(e){if(!e)throw new TypeError(\"argument stream is required\");if(\"function\"==typeof e.unpipe)return void e.unpipe();if(r(e))for(var t,n=e.listeners(\"close\"),i=0;i<n.length;i++)t=n[i],\"cleanup\"!==t.name&&\"onclose\"!==t.name||t.call(e)}t.exports=i},{}],530:[function(e,t,n){t.exports=e(\"util\").deprecate},{util:void 0}],531:[function(e,t,n){n=t.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},{}],532:[function(e,t,n){\"use strict\";function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"header argument is required\");if(!t)throw new TypeError(\"field argument is required\");for(var n=Array.isArray(t)?t:i(String(t)),r=0;r<n.length;r++)if(a.test(n[r]))throw new TypeError(\"field argument contains an invalid header\");if(\"*\"===e)return e;var o=e,s=i(e.toLowerCase());if(-1!==n.indexOf(\"*\")||-1!==s.indexOf(\"*\"))return\"*\";for(var r=0;r<n.length;r++){var c=n[r].toLowerCase();-1===s.indexOf(c)&&(s.push(c),o=o?o+\", \"+n[r]:n[r])}return o}function i(e){return e.trim().split(/ *, */)}function o(e,t){if(!e||!e.getHeader||!e.setHeader)throw new TypeError(\"res argument is required\");var n=e.getHeader(\"Vary\")||\"\",i=Array.isArray(n)?n.join(\", \"):String(n);(n=r(i,t))&&e.setHeader(\"Vary\",n)}t.exports=o,t.exports.append=r;var a=/[\\(\\)<>@,;:\\\\\"\\/\\[\\]\\?=\\{\\}\\u0020\\u0009]/},{}],533:[function(e,t,n){function r(e){var t,n,r,i;e instanceof Error||\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),i=t.length>0?c.sprintf.apply(null,t):\"\",this.jse_shortmsg=i,this.jse_summary=i,e&&(n=e.cause,n&&e.cause instanceof Error||(n=e),n&&n instanceof Error&&(this.jse_cause=n,this.jse_summary+=\": \"+n.message)),this.message=this.jse_summary,Error.call(this,this.jse_summary),Error.captureStackTrace&&(r=e?e.constructorOpt:void 0,r=r||arguments.callee,Error.captureStackTrace(this,r))}function i(e){a.ok(e.length>0),this.ase_errors=e,r.call(this,e[0],\"first of %d error%s\",e.length,1==e.length?\"\":\"s\")}function o(e){Error.call(this);var t,n,r;\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),t.length>0?this.message=c.sprintf.apply(null,t):this.message=\"\",e&&(e instanceof Error?n=e:(n=e.cause,r=e.constructorOpt)),Error.captureStackTrace(this,r||this.constructor),n&&this.cause(n)}var a=e(\"assert\"),s=e(\"util\"),c=e(\"extsprintf\");n.VError=r,n.WError=o,n.MultiError=i,s.inherits(r,Error),r.prototype.name=\"VError\",r.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),e},r.prototype.cause=function(){return this.jse_cause},s.inherits(i,r),s.inherits(o,Error),o.prototype.name=\"WError\",o.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),this.we_cause&&this.we_cause.message&&(e+=\"; caused by \"+this.we_cause.toString()),e},o.prototype.cause=function(e){return e instanceof Error&&(this.we_cause=e),this.we_cause}},{assert:void 0,extsprintf:114,util:void 0}],534:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)i.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],535:[function(e,t,n){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&\"function\"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){return this instanceof a?(this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,void(n?(n.prev=this,this.next=n):this.next=null)):new a(e,t,n,r)}t.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error(\"removing node which does not belong to this list\");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){\nfor(var e=0,t=arguments.length;t>e;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail.next=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head.prev=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&e>t;t++)n=n.next;return t===e&&null!==n?n.value:void 0},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&e>t;t++)n=n.prev;return t===e&&null!==n?n.value:void 0},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},{}],536:[function(e,t,n){var r={SERVERLESS_PROJECT:\"serverless-starter\",SERVERLESS_STAGE:\"dev\",SERVERLESS_REGION:\"us-east-1\",SERVERLESS_DATA_MODEL_STAGE:\"dev\"};for(var i in r)process.env[i]=r[i];n.handler=e(\"./handler\").handler},{\"./handler\":537}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports.handler=function(e,t){r.multiShow(e,function(e,n){return t.done(e,n)})}},{\"../../lib\":1}],538:[function(e,t,n){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}]},{},[536])(536)});"}}}},"criteria":{"id":{"type":"string","pattern":"/subscriptions/.*","required":true},"name":{"type":"string","pattern":".*/.*","required":true},"function_app_id":{"type":"string","pattern":"/subscriptions/.*/resourceGroups/.*/providers/Microsoft.Web/sites/.*"},"type":{"type":"string","pattern":"Microsoft.Web/sites/functions","required":true},"location":{"type":"string","required":true},"script_root_path_href":{"type":"string","script_href":""},"script_href":{"type":"string","script_href":"https://.*.scm.azurewebsites.net/.*"},"config_href":{"type":"","test_data_href":"https://.*.scm.azurewebsites.net/.*"},"properties":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"required":true},"function_app_id":{"type":"string","minLength":1,"required":true},"script_root_path_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"script_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"config_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"secrets_file_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data":{"type":"string","required":true},"files":{"required":false},"config":{"type":"object","properties":{"bindings":{"type":"array"}}}}}}},{"message":"Failed \"required\" criteria: missing property (name)","context":"#","value":{"value":{"location":"West US","properties":{"config":{"bindings":[{"type":"http","direction":"in","name":"req"}]},"files":{"index.js":"!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var t;t=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,t.lambda=e()}}(function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c=\"function\"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var p=n[a]={exports:{}};t[a][0].call(p.exports,function(e){var n=t[a][1][e];return i(n?n:e)},p,p.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){var r=(e(\"sendgrid\"),e(\"unirest\"),e(\"bluebird\"),e(\"skeemas\"),e(\"mongoose\"),e(\"passport\")),i=e(\"express\");e(\"moment\"),e(\"lodash\");t.exports.singleAll=function(e,t){var n={message:\"Your Serverless function ran successfully via the '\"+e.httpMethod+\"' method!\"};return t(null,n)},t.exports.multiCreate=function(e,t){var n={message:\"Your Serverless function 'multi/create' ran successfully!\"};return t(null,n)},t.exports.multiShow=function(e,t){var n=(i(),n(new Date));r.init;mogoose.connect(\"httt:/p\");var o={message:\"Your Serverless function 'multi/show' ran successfully with the following ID '\"+e.pathId+\"'!\"};return t(null,o)}},{bluebird:18,express:98,lodash:177,moment:187,mongoose:247,passport:371,sendgrid:410,skeemas:419,unirest:468}],2:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(this.headers=e.headers,void(this.negotiator=new a(e))):new r(e)}function i(e){return-1===e.indexOf(\"/\")?s.lookup(e):e}function o(e){return\"string\"==typeof e}var a=e(\"negotiator\"),s=e(\"mime-types\");t.exports=r,r.prototype.type=r.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||0===t.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(i),a=this.negotiator.mediaTypes(r.filter(o)),s=a[0];return s?t[r.indexOf(s)]:!1},r.prototype.encoding=r.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.encodings(t)[0]||!1:this.negotiator.encodings()},r.prototype.charset=r.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.charsets(t)[0]||!1:this.negotiator.charsets()},r.prototype.lang=r.prototype.langs=r.prototype.language=r.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.languages(t)[0]||!1:this.negotiator.languages()}},{\"mime-types\":184,negotiator:356}],3:[function(e,t,n){\"use strict\";function r(e,t,n){for(var i=0;i<e.length;i++){var o=e[i];n>0&&Array.isArray(o)?r(o,t,n-1):t.push(o)}return t}function i(e,t){for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?i(r,t):t.push(r)}return t}function o(e,t){return null==t?i(e,[]):r(e,[],t)}t.exports=o},{}],4:[function(e,t,n){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name=\"InvalidAsn1Error\",t.message=e||\"\",t}}},{}],5:[function(e,t,n){var r=e(\"./errors\"),i=e(\"./types\"),o=e(\"./reader\"),a=e(\"./writer\");t.exports={Reader:o,Writer:a};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in r)r.hasOwnProperty(c)&&(t.exports[c]=r[c])},{\"./errors\":4,\"./reader\":6,\"./types\":7,\"./writer\":8}],6:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(r.prototype,\"offset\",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(r.prototype,\"remain\",{get:function(){return this._size-this._offset}}),Object.defineProperty(r.prototype,\"buffer\",{get:function(){return this._buf.slice(this._offset)}}),r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var r=this.peek();if(null===r)return null;if(r!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+r.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new n(0):\"\";var a=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?a:a.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.readString(e,!0);if(null===t)return null;for(var n=[],r=0,i=0;i<t.length;i++){var a=255&t[i];r<<=7,r+=127&a,0==(128&a)&&(n.push(r),r=0)}return r=n.shift(),n.unshift(r%40),n.unshift(r/40>>0),n.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;for(var r=this._buf[this._offset],o=0,a=0;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&4!==a&&(o-=1<<8*a),o>>0},t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],7:[function(e,t,n){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],8:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,\"buffer\",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+\" unended sequence(s)\");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||-8388608===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],9:[function(e,t,n){var r=e(\"./ber/index\");t.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},{\"./ber/index\":5}],10:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n,r,o){throw new c.AssertionError({message:p.format(\"%s (%s) is required\",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:n||\"===\",stackStartFunction:i.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function a(){}function s(e){var t,n=Object.keys(f);return t=process.env.NODE_NDEBUG?a:function(e,t){e||i(t,\"true\",e)},n.forEach(function(n){if(e)return void(t[n]=a);var r=f[n];t[n]=function(e,t){r.check(e)||i(t,n,r.operator,e,r.actual)}}),n.forEach(function(n){var o=\"optional\"+r(n);if(e)return void(t[o]=a);var s=f[n];t[o]=function(e,t){void 0!==e&&null!==e&&(s.check(e)||i(t,n,s.operator,e,s.actual))}}),n.forEach(function(n){var o=\"arrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}),n.forEach(function(n){var o=\"optionalArrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}}),Object.keys(c).forEach(function(n){return\"AssertionError\"===n?void(t[n]=c[n]):e?void(t[n]=a):void(t[n]=c[n])}),t._setExports=s,t}var c=e(\"assert\"),u=e(\"stream\").Stream,p=e(\"util\"),l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,f={bool:{check:function(e){return\"boolean\"==typeof e}},func:{check:function(e){return\"function\"==typeof e}},string:{check:function(e){return\"string\"==typeof e}},object:{check:function(e){return\"object\"==typeof e&&null!==e}},number:{check:function(e){return\"number\"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return n.isBuffer(e)},operator:\"Buffer.isBuffer\"},array:{check:function(e){return Array.isArray(e)},operator:\"Array.isArray\"},stream:{check:function(e){return e instanceof u},operator:\"instanceof\",actual:o},date:{check:function(e){return e instanceof Date},operator:\"instanceof\",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:\"instanceof\",actual:o},uuid:{check:function(e){return\"string\"==typeof e&&l.test(e)},operator:\"isUUID\"}};t.exports=s(process.env.NODE_NDEBUG)}).call(this,{isBuffer:e(\"../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],11:[function(e,t,n){(function(e){!function(){function n(){}function r(e){return e}function i(e){return!!e}function o(e){return!e}function a(e){return function(){if(null===e)throw new Error(\"Callback was already called.\");e.apply(this,arguments),e=null}}function s(e){return function(){null!==e&&(e.apply(this,arguments),e=null)}}function c(e){return D(e)||\"number\"==typeof e.length&&e.length>=0&&e.length%1===0}function u(e,t){for(var n=-1,r=e.length;++n<r;)t(e[n],n,e)}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e){return p(Array(e),function(e,t){return t})}function f(e,t,n){return u(e,function(e,r,i){n=t(n,e,r,i)}),n}function d(e,t){u(R(e),function(n){t(e[n],n)})}function h(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function m(e){var t,n,r=-1;return c(e)?(t=e.length,function(){return r++,t>r?r:null}):(n=R(e),t=n.length,function(){return r++,t>r?n[r]:null})}function v(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r)}}}function g(e){return function(t,n,r){return e(t,r)}}function y(e){return function(t,r,i){i=s(i||n),t=t||[];var o=m(t);if(0>=e)return i(null);var c=!1,u=0,p=!1;!function l(){if(c&&0>=u)return i(null);for(;e>u&&!p;){var n=o();if(null===n)return c=!0,void(0>=u&&i(null));u+=1,r(t[n],n,a(function(e){u-=1,e?(i(e),p=!0):l()}))}}()}}function b(e){return function(t,n,r){return e(z.eachOf,t,n,r)}}function x(e){return function(t,n,r,i){return e(y(n),t,r,i)}}function w(e){return function(t,n,r){return e(z.eachOfSeries,t,n,r)}}function _(e,t,r,i){i=s(i||n),t=t||[];var o=c(t)?[]:{};e(t,function(e,t,n){r(e,function(e,r){o[t]=r,n(e)})},function(e){i(e,o)})}function k(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(n){n&&i.push({index:t,value:e}),r()})},function(){r(p(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})}function j(e,t,n,r){k(e,t,function(e,t){n(e,function(e){t(!e)})},r)}function S(e,t,n){return function(r,i,o,a){function s(){a&&a(n(!1,void 0))}function c(e,r,i){return a?void o(e,function(r){a&&t(r)&&(a(n(!0,e)),a=o=!1),i()}):i()}arguments.length>3?e(r,i,c,s):(a=o,o=i,e(r,c,s))}}function E(e,t){return t}function O(e,t,r){r=r||n;var i=c(t)?[]:{};e(t,function(e,t,n){e(v(function(e,r){r.length<=1&&(r=r[0]),i[t]=r,n(e)}))},function(e){r(e,i)})}function A(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(e,t){i=i.concat(t||[]),r(e)})},function(e){r(e,i)})}function C(e,t,r){function i(e,t,r,i){if(null!=i&&\"function\"!=typeof i)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length&&e.idle()?z.setImmediate(function(){e.drain()}):(u(t,function(t){var o={data:t,callback:i||n};r?e.tasks.unshift(o):e.tasks.push(o),e.tasks.length===e.concurrency&&e.saturated()}),void z.setImmediate(e.process))}function o(e,t){return function(){s-=1;var n=!1,r=arguments;u(t,function(e){u(c,function(t,r){t!==e||n||(c.splice(r,1),n=!0)}),e.callback.apply(e,r)}),e.tasks.length+s===0&&e.drain(),e.process()}}if(null==t)t=1;else if(0===t)throw new Error(\"Concurrency must not be zero\");var s=0,c=[],l={tasks:[],concurrency:t,payload:r,saturated:n,empty:n,drain:n,started:!1,paused:!1,push:function(e,t){i(l,e,!1,t)},kill:function(){l.drain=n,l.tasks=[]},unshift:function(e,t){i(l,e,!0,t)},process:function(){for(;!l.paused&&s<l.concurrency&&l.tasks.length;){var t=l.payload?l.tasks.splice(0,l.payload):l.tasks.splice(0,l.tasks.length),n=p(t,function(e){return e.data});0===l.tasks.length&&l.empty(),s+=1,c.push(t[0]);var r=a(o(l,t));e(n,r)}},length:function(){return l.tasks.length},running:function(){return s},workersList:function(){return c},idle:function(){return l.tasks.length+s===0},pause:function(){l.paused=!0},resume:function(){if(l.paused!==!1){l.paused=!1;for(var e=Math.min(l.concurrency,l.tasks.length),t=1;e>=t;t++)z.setImmediate(l.process)}}};return l}function T(e){return v(function(t,n){t.apply(null,n.concat([v(function(t,n){\"object\"==typeof console&&(t?console.error&&console.error(t):console[e]&&u(n,function(t){console[e](t)}))})]))})}function I(e){return function(t,n,r){e(l(t),n,r)}}function P(e){return v(function(t,n){var r=v(function(n){var r=this,i=n.pop();return e(t,function(e,t,i){e.apply(r,n.concat([i]))},i)});return n.length?r.apply(this,n):r})}function F(e){return v(function(t){var n=t.pop();t.push(function(){var e=arguments;r?z.setImmediate(function(){n.apply(null,e)}):n.apply(null,e)});var r=!0;e.apply(this,t),r=!1})}var M,z={},B=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof e&&e.global===e&&e||this;null!=B&&(M=B.async),z.noConflict=function(){return B.async=M,z};var N=Object.prototype.toString,D=Array.isArray||function(e){return\"[object Array]\"===N.call(e)},q=function(e){var t=typeof e;return\"function\"===t||\"object\"===t&&!!e},R=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},L=\"function\"==typeof setImmediate&&setImmediate,$=L?function(e){L(e)}:function(e){setTimeout(e,0)};\"object\"==typeof process&&\"function\"==typeof process.nextTick?z.nextTick=process.nextTick:z.nextTick=$,z.setImmediate=L?$:z.nextTick,z.forEach=z.each=function(e,t,n){return z.eachOf(e,g(t),n)},z.forEachSeries=z.eachSeries=function(e,t,n){return z.eachOfSeries(e,g(t),n)},z.forEachLimit=z.eachLimit=function(e,t,n,r){return y(t)(e,g(n),r)},z.forEachOf=z.eachOf=function(e,t,r){function i(e){u--,e?r(e):null===o&&0>=u&&r(null)}r=s(r||n),e=e||[];for(var o,c=m(e),u=0;null!=(o=c());)u+=1,t(e[o],o,a(i));0===u&&r(null)},z.forEachOfSeries=z.eachOfSeries=function(e,t,r){function i(){var n=!0;return null===c?r(null):(t(e[c],c,a(function(e){if(e)r(e);else{if(c=o(),null===c)return r(null);n?z.setImmediate(i):i()}})),void(n=!1))}r=s(r||n),e=e||[];var o=m(e),c=o();i()},z.forEachOfLimit=z.eachOfLimit=function(e,t,n,r){y(t)(e,n,r)},z.map=b(_),z.mapSeries=w(_),z.mapLimit=x(_),z.inject=z.foldl=z.reduce=function(e,t,n,r){z.eachOfSeries(e,function(e,r,i){n(t,e,function(e,n){t=n,i(e)})},function(e){r(e,t)})},z.foldr=z.reduceRight=function(e,t,n,i){var o=p(e,r).reverse();z.reduce(o,t,n,i)},z.transform=function(e,t,n,r){3===arguments.length&&(r=n,n=t,t=D(e)?[]:{}),z.eachOf(e,function(e,r,i){n(t,e,r,i)},function(e){r(e,t)})},z.select=z.filter=b(k),z.selectLimit=z.filterLimit=x(k),z.selectSeries=z.filterSeries=w(k),z.reject=b(j),z.rejectLimit=x(j),z.rejectSeries=w(j),z.any=z.some=S(z.eachOf,i,r),z.someLimit=S(z.eachOfLimit,i,r),z.all=z.every=S(z.eachOf,o,o),z.everyLimit=S(z.eachOfLimit,o,o),z.detect=S(z.eachOf,r,E),z.detectSeries=S(z.eachOfSeries,r,E),z.detectLimit=S(z.eachOfLimit,r,E),z.sortBy=function(e,t,n){function r(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0}z.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){return e?n(e):void n(null,p(t.sort(r),function(e){return e.value}))})},z.auto=function(e,t,r){function i(e){y.unshift(e)}function o(e){var t=h(y,e);t>=0&&y.splice(t,1)}function a(){p--,u(y.slice(0),function(e){e()})}\"function\"==typeof arguments[1]&&(r=t,t=null),r=s(r||n);var c=R(e),p=c.length;if(!p)return r(null);t||(t=p);var l={},m=0,g=!1,y=[];i(function(){p||r(null,l)}),u(c,function(n){function s(){return t>m&&f(b,function(e,t){return e&&l.hasOwnProperty(t)},!0)&&!l.hasOwnProperty(n)}function c(){s()&&(m++,o(c),p[p.length-1](y,l))}if(!g){for(var u,p=D(e[n])?e[n]:[e[n]],y=v(function(e,t){if(m--,t.length<=1&&(t=t[0]),e){var i={};d(l,function(e,t){i[t]=e}),i[n]=t,g=!0,r(e,i)}else l[n]=t,z.setImmediate(a)}),b=p.slice(0,p.length-1),x=b.length;x--;){if(!(u=e[b[x]]))throw new Error(\"Has nonexistent dependency in \"+b.join(\", \"));if(D(u)&&h(u,n)>=0)throw new Error(\"Has cyclic dependencies\")}s()?(m++,p[p.length-1](y,l)):i(c)}})},z.retry=function(e,t,n){function r(e,t){if(\"number\"==typeof t)e.times=parseInt(t,10)||o;else{if(\"object\"!=typeof t)throw new Error(\"Unsupported argument type for 'times': \"+typeof t);e.times=parseInt(t.times,10)||o,e.interval=parseInt(t.interval,10)||a}}function i(e,t){function n(e,n){return function(r){e(function(e,t){r(!e||n,{err:e,result:t})},t)}}function r(e){return function(t){setTimeout(function(){t(null)},e)}}for(;c.times;){var i=!(c.times-=1);s.push(n(c.task,i)),!i&&c.interval>0&&s.push(r(c.interval))}z.series(s,function(t,n){n=n[n.length-1],(e||c.callback)(n.err,n.result)})}var o=5,a=0,s=[],c={times:o,interval:a},u=arguments.length;if(1>u||u>3)throw new Error(\"Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)\");return 2>=u&&\"function\"==typeof e&&(n=t,t=e),\"function\"!=typeof e&&r(c,e),c.callback=n,c.task=t,c.callback?i():i},z.waterfall=function(e,t){function r(e){return v(function(n,i){if(n)t.apply(null,[n].concat(i));else{var o=e.next();o?i.push(r(o)):i.push(t),F(e).apply(null,i)}})}if(t=s(t||n),!D(e)){var i=new Error(\"First argument to waterfall must be an array of functions\");return t(i)}return e.length?void r(z.iterator(e))():t()},z.parallel=function(e,t){O(z.eachOf,e,t)},z.parallelLimit=function(e,t,n){O(y(t),e,n)},z.series=function(e,t){O(z.eachOfSeries,e,t)},z.iterator=function(e){function t(n){function r(){return e.length&&e[n].apply(null,arguments),r.next()}return r.next=function(){return n<e.length-1?t(n+1):null},r}return t(0)},z.apply=v(function(e,t){return v(function(n){return e.apply(null,t.concat(n))})}),z.concat=b(A),z.concatSeries=w(A),z.whilst=function(e,t,r){if(r=r||n,e()){var i=v(function(n,o){n?r(n):e.apply(this,o)?t(i):r.apply(null,[null].concat(o))});t(i)}else r(null)},z.doWhilst=function(e,t,n){var r=0;return z.whilst(function(){return++r<=1||t.apply(this,arguments)},e,n)},z.until=function(e,t,n){return z.whilst(function(){return!e.apply(this,arguments)},t,n)},z.doUntil=function(e,t,n){return z.doWhilst(e,function(){return!t.apply(this,arguments)},n)},z.during=function(e,t,r){r=r||n;var i=v(function(t,n){t?r(t):(n.push(o),e.apply(this,n))}),o=function(e,n){e?r(e):n?t(i):r(null)};e(o)},z.doDuring=function(e,t,n){var r=0;z.during(function(e){r++<1?e(null,!0):t.apply(this,arguments)},e,n)},z.queue=function(e,t){var n=C(function(t,n){e(t[0],n)},t,1);return n},z.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}function i(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,a){if(null!=a&&\"function\"!=typeof a)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length?z.setImmediate(function(){e.drain()}):void u(t,function(t){var s={data:t,priority:o,callback:\"function\"==typeof a?a:n};e.tasks.splice(i(e.tasks,s,r)+1,0,s),e.tasks.length===e.concurrency&&e.saturated(),z.setImmediate(e.process)})}var a=z.queue(e,t);return a.push=function(e,t,n){o(a,e,t,n)},delete a.unshift,a},z.cargo=function(e,t){return C(e,1,t)},z.log=T(\"log\"),z.dir=T(\"dir\"),z.memoize=function(e,t){var n={},i={},o=Object.prototype.hasOwnProperty;t=t||r;var a=v(function(r){var a=r.pop(),s=t.apply(null,r);o.call(n,s)?z.setImmediate(function(){a.apply(null,n[s])}):o.call(i,s)?i[s].push(a):(i[s]=[a],e.apply(null,r.concat([v(function(e){n[s]=e;var t=i[s];delete i[s];for(var r=0,o=t.length;o>r;r++)t[r].apply(null,e)})])))});return a.memo=n,a.unmemoized=e,a},z.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},z.times=I(z.map),z.timesSeries=I(z.mapSeries),z.timesLimit=function(e,t,n,r){return z.mapLimit(l(e),t,n,r)},z.seq=function(){var e=arguments;return v(function(t){var r=this,i=t[t.length-1];\"function\"==typeof i?t.pop():i=n,z.reduce(e,t,function(e,t,n){t.apply(r,e.concat([v(function(e,t){n(e,t)})]))},function(e,t){i.apply(r,[e].concat(t))})})},z.compose=function(){return z.seq.apply(null,Array.prototype.reverse.call(arguments))},z.applyEach=P(z.eachOf),z.applyEachSeries=P(z.eachOfSeries),z.forever=function(e,t){function r(e){return e?i(e):void o(r)}var i=a(t||n),o=F(e);r()},z.ensureAsync=F,z.constant=v(function(e){var t=[null].concat(e);return function(e){return e.apply(this,t)}}),z.wrapSync=z.asyncify=function(e){return v(function(t){var n,r=t.pop();try{n=e.apply(this,t)}catch(i){return r(i)}q(n)&&\"function\"==typeof n.then?n.then(function(e){r(null,e)})[\"catch\"](function(e){r(e.message?e:new Error(e))}):r(null,n)})},\"object\"==typeof t&&t.exports?t.exports=z:\"function\"==typeof define&&define.amd?define([],function(){return z}):B.async=z}()}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],13:[function(e,t,n){(function(t){function r(e,t,n){return p.createHmac(\"sha256\",e).update(t,\"utf8\").digest(n)}function i(e,t){return p.createHash(\"sha256\").update(e,\"utf8\").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e,t){\"string\"==typeof e&&(e=c.parse(e));var n=e.headers=e.headers||{},r=this.matchHost(e.hostname||e.host||n.Host||n.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||r[0]||\"\",this.region=e.region||r[1]||\"us-east-1\",\"email\"===this.service&&(this.service=\"ses\"),!e.method&&e.body&&(e.method=\"POST\"),n.Host||n.host||(n.Host=e.hostname||e.host||this.createHost(),e.port&&(n.Host+=\":\"+e.port)),e.hostname||e.host||(e.hostname=n.Host||n.host)}var s=n,c=e(\"url\"),u=e(\"querystring\"),p=e(\"crypto\"),l=e(\"lru-cache\"),f=l(1e3);a.prototype.matchHost=function(e){var t=(e||\"\").match(/([^\\.]+)\\.(?:([^\\.]*)\\.)?amazonaws\\.com$/),n=(t||[]).slice(1,3);return\"es\"===n[1]&&(n=n.reverse()),n},a.prototype.isSingleRegion=function(){return[\"s3\",\"sdb\"].indexOf(this.service)>=0&&\"us-east-1\"===this.region?!0:[\"cloudfront\",\"ls\",\"route53\",\"iam\",\"importexport\",\"sts\"].indexOf(this.service)>=0},a.prototype.createHost=function(){var e=this.isSingleRegion()?\"\":(\"s3\"===this.service&&\"us-east-1\"!==this.region?\"-\":\".\")+this.region,t=\"ses\"===this.service?\"email\":this.service;return t+e+\".amazonaws.com\"},a.prototype.prepareRequest=function(){this.parsePath();var e,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"!==this.service||e[\"X-Amz-Expires\"]||(e[\"X-Amz-Expires\"]=86400),e[\"X-Amz-Date\"]?this.datetime=e[\"X-Amz-Date\"]:e[\"X-Amz-Date\"]=this.getDateTime(),e[\"X-Amz-Algorithm\"]=\"AWS4-HMAC-SHA256\",e[\"X-Amz-Credential\"]=this.credentials.accessKeyId+\"/\"+this.credentialString(),e[\"X-Amz-SignedHeaders\"]=this.signedHeaders()):(n.doNotModifyHeaders||(!n.body||r[\"Content-Type\"]||r[\"content-type\"]||(r[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\"),!n.body||r[\"Content-Length\"]||r[\"content-length\"]||(r[\"Content-Length\"]=t.byteLength(n.body)),this.credentials.sessionToken&&(r[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"===this.service&&(r[\"X-Amz-Content-Sha256\"]=i(this.request.body||\"\",\"hex\")),r[\"X-Amz-Date\"]?this.datetime=r[\"X-Amz-Date\"]:r[\"X-Amz-Date\"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},a.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query[\"X-Amz-Signature\"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},a.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\\-]|\\.\\d{3}/g,\"\")}return this.datetime},a.prototype.getDate=function(){return this.getDateTime().substr(0,8)},a.prototype.authHeader=function(){return[\"AWS4-HMAC-SHA256 Credential=\"+this.credentials.accessKeyId+\"/\"+this.credentialString(),\"SignedHeaders=\"+this.signedHeaders(),\"Signature=\"+this.signature()].join(\", \")},a.prototype.signature=function(){var e,t,n,i=this.getDate(),o=[this.credentials.secretAccessKey,i,this.region,this.service].join(),a=f.get(o);return a||(e=r(\"AWS4\"+this.credentials.secretAccessKey,i),t=r(e,this.region),n=r(t,this.service),\na=r(n,\"aws4_request\"),f.set(o,a)),r(a,this.stringToSign(),\"hex\")},a.prototype.stringToSign=function(){return[\"AWS4-HMAC-SHA256\",this.getDateTime(),this.credentialString(),i(this.canonicalString(),\"hex\")].join(\"\\n\")},a.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,n=\"\",r=\"s3\"!==this.service,a=\"s3\"===this.service||this.request.doNotEncodePath,s=\"s3\"===this.service,c=\"s3\"===this.service,p=\"s3\"===this.service&&this.request.signQuery?\"UNSIGNED-PAYLOAD\":i(this.request.body||\"\",\"hex\");return t&&(n=o(u.stringify(Object.keys(t).sort().reduce(function(e,n){return n?(e[n]=Array.isArray(t[n])?c?t[n][0]:t[n].slice().sort():t[n],e):e},{})))),\"/\"!==e&&(r&&(e=e.replace(/\\/{2,}/g,\"/\")),e=e.split(\"/\").reduce(function(e,t){return r&&\"..\"===t?e.pop():r&&\".\"===t||(a&&(t=u.unescape(t)),e.push(o(u.escape(t)))),e},[]).join(\"/\"),\"/\"!==e[0]&&(e=\"/\"+e),s&&(e=e.replace(/%2F/g,\"/\"))),[this.request.method||\"GET\",e,n,this.canonicalHeaders()+\"\\n\",this.signedHeaders(),p].join(\"\\n\")},a.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\\s+/g,\" \")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(n){return n.toLowerCase()+\":\"+e(t[n])}).join(\"\\n\")},a.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(\";\")},a.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,\"aws4_request\"].join(\"/\")},a.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},a.prototype.parsePath=function(){var e=this.request.path||\"/\",t=e.indexOf(\"?\"),n=null;t>=0&&(n=u.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\\-._~%\\/]/.test(e)&&(e=e.split(\"/\").map(function(e){return u.escape(u.unescape(e))}).join(\"/\")),this.parsedPath={path:e,query:n}},a.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[\"\"]&&delete t[\"\"],e+\"?\"+o(u.stringify(t))):e},s.RequestSigner=a,s.sign=function(e,t){return new a(e,t).sign()}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"lru-cache\":178,querystring:void 0,url:void 0}],14:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),e instanceof r?(this._bufs.push.apply(this._bufs,e._bufs),this.length+=e.length):(this._bufs.push(t?e:new n(e)),this.length+=e.length),this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":388,util:void 0}],15:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){var t=new n(e),r=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),r}var n=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],16:[function(e,t,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule\"),p=e(\"./queue\"),l=e(\"./util\");r.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(e,t){t?(process.stderr.write(\"Fatal \"+(e instanceof Error?e.stack:e)+\"\\n\"),process.exit(2)):this.throwLater(e)},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},l.hasDevTools?(r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=r,t.exports.firstLineError=s},{\"./queue\":40,\"./schedule\":43,\"./util\":50}],17:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:u};l._then(t,a,void 0,p,f),u._then(s,c,void 0,p,f),p._setOnCancel(u)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],18:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise\")();o.noConflict=r,t.exports=o},{\"./promise\":36}],19:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util\":50}],20:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util\"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype[\"break\"]=t.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var e=this,t=e;e.isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n.isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this.isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if(\"function\"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this.isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":50}],21:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<e.length;++p){var l=e[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return o(n).call(u,c)}else if(\"function\"==typeof l){var f=o(l).call(u,c);if(f===a)return f;if(f)return o(n).call(u,c)}else if(r.isObject(c)){for(var d=i(l),h=0;h<d.length;++h){var m=d[h];if(l[m]!=c[m])continue e}return o(n).call(u,c)}}return t}}var r=e(\"./util\"),i=e(\"./es5\").keys,o=r.tryCatch,a=r.errorObj;return n}},{\"./es5\":27,\"./util\":50}],22:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){this._trace=new t.CapturedTrace(r())}function n(){return i?new t:void 0}function r(){var e=o.length-1;return e>=0?o[e]:void 0}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],23:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t){return{promise:t}}function i(){return!1}function o(e,t,n){var r=this;try{e(t,n,function(e){if(\"function\"!=typeof e)throw new TypeError(\"onCancel must be a function, got: \"+D.toString(e));r._attachCancellationCallback(e)})}catch(i){return i}}function a(e){if(!this.isCancellable())return this;var t=this._onCancel();void 0!==t?D.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function s(){return this._onCancelField}function c(e){this._onCancelField=e}function u(){this._cancellationParent=void 0,this._onCancelField=void 0}function p(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function l(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new I(this._peekContext())}function h(e,t){if(q(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=k(e);D.notEnumerableProp(e,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&Y){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"a promise was created in a \"+n+\"handler but was not returned from it\";r._warn(o,!0,t)}}function v(e,t){var n=e+\" is deprecated and will be removed in a future version.\";return t&&(n+=\" Use \"+t+\" instead.\"),g(n)}function g(e,n,r){if(re.warnings){var i,o=new N(e);if(n)r._attachExtraTrace(o);else if(re.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var a=k(o);o.stack=a.message+\"\\n\"+a.stack.join(\"\\n\")}Q(\"warning\",o)||j(o,\"\",!0)}}function y(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function b(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function x(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function w(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=\"    (No stack trace)\"===r||L.test(r),o=i&&ee(r);i&&!o&&(U&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function _(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||L.test(r))break}return n>0&&(t=t.slice(n)),t}function k(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?_(e):[\"    (No stack trace)\"],{message:n,stack:w(t)}}function j(e,t,n){if(\"undefined\"!=typeof console){var r;if(D.isObject(e)){var i=e.stack;r=t+$(i,e)}else r=t+String(e);\"function\"==typeof M?M(r,n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(r)}}function S(e,t,n,r){var i=!1;try{\"function\"==typeof t&&(i=!0,\"rejectionHandled\"===e?t(r):t(n,r))}catch(o){B.throwLater(o)}\"unhandledRejection\"===e?Q(e,n,r)||i||j(n,\"Unhandled rejection \"):Q(e,r)}function E(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e&&\"function\"==typeof e.toString?e.toString():D.toString(e);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+O(t)+\">, no stack trace)\"}function O(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function A(){return\"function\"==typeof ne}function C(e){var t=e.match(te);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}function T(e,t){if(A()){for(var n,r,i=e.stack.split(\"\\n\"),o=t.stack.split(\"\\n\"),a=-1,s=-1,c=0;c<i.length;++c){var u=C(i[c]);if(u){n=u.fileName,a=u.line;break}}for(var c=0;c<o.length;++c){var u=C(o[c]);if(u){r=u.fileName,s=u.line;break}}0>a||0>s||!n||!r||n!==r||a>=s||(ee=function(e){if(R.test(e))return!0;var t=C(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function I(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ne(this,I),t>32&&this.uncycle()}var P,F,M,z=t._getDomain,B=t._async,N=e(\"./errors\").Warning,D=e(\"./util\"),q=D.canAttachTrace,R=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,L=null,$=null,U=!1,H=!(0==D.env(\"BLUEBIRD_DEBUG\")||!D.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==D.env(\"NODE_ENV\")),V=!(0==D.env(\"BLUEBIRD_WARNINGS\")||!H&&!D.env(\"BLUEBIRD_WARNINGS\")),W=!(0==D.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!H&&!D.env(\"BLUEBIRD_LONG_STACK_TRACES\")),Y=0!=D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(V||!!D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){S(\"rejectionHandled\",P,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),S(\"unhandledRejection\",F,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return g(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=z();F=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=z();P=\"function\"==typeof e?null===t?e:t.bind(e):void 0};var K=function(){};t.longStackTraces=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!re.longStackTraces&&A()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;re.longStackTraces=!0,K=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),B.enableTrampoline(),re.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=h,n.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return re.longStackTraces&&A()};var G=function(){try{var e=document.createEvent(\"CustomEvent\");return e.initCustomEvent(\"testingtheevent\",!1,!0,{}),D.global.dispatchEvent(e),function(e,t){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!D.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),J=function(){return D.isNode?function(){return process.emit.apply(process,arguments)}:D.global?function(e){var t=\"on\"+e.toLowerCase(),n=D.global[t];return n?(n.apply(D.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:r},Q=function(e){var t=!1;try{t=J.apply(null,arguments)}catch(n){B.throwLater(n),t=!0}var r=!1;try{r=G(e,Z[e].apply(null,arguments))}catch(n){B.throwLater(n),r=!0}return r||t};t.config=function(e){if(e=Object(e),\"longStackTraces\"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&K()),\"warnings\"in e){var n=e.warnings;re.warnings=!!n,Y=re.warnings,D.isObject(n)&&\"wForgottenReturn\"in n&&(Y=!!n.wForgottenReturn)}if(\"cancellation\"in e&&e.cancellation&&!re.cancellation){if(B.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");t.prototype._clearCancellationData=u,t.prototype._propagateFrom=p,t.prototype._onCancel=s,t.prototype._setOnCancel=c,t.prototype._attachCancellationCallback=a,t.prototype._execute=o,X=p,re.cancellation=!0}\"monitoring\"in e&&(e.monitoring&&!re.monitoring?(re.monitoring=!0,t.prototype._fireEvent=Q):!e.monitoring&&re.monitoring&&(re.monitoring=!1,t.prototype._fireEvent=i))},t.prototype._fireEvent=i,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(r){return r}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var X=l,ee=function(){return!1},te=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;D.inherits(I,Error),n.CapturedTrace=I,I.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},I.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=k(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(w(i.stack.split(\"\\n\"))),i=i._parent;x(r),b(r),D.notEnumerableProp(e,\"stack\",y(n,r)),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}};var ne=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():E(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,L=e,$=t;var n=Error.captureStackTrace;return ee=function(e){return R.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return L=/@/,$=t,U=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?($=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?E(t):t.toString()},null):(L=e,$=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(M=function(e){console.warn(e)},D.isNode&&process.stderr.isTTY?M=function(e,t){var n=t?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+e+\"\u001b[0m\\n\")}:D.isNode||\"string\"!=typeof(new Error).stack||(M=function(e,t){console.warn(\"%c\"+e,t?\"color: darkorange\":\"color: red\")}));var re={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return W&&t.longStackTraces(),{longStackTraces:function(){return re.longStackTraces},warnings:function(){return re.warnings},cancellation:function(){return re.cancellation},monitoring:function(){return re.monitoring},propagateFromFunction:function(){return X},boundValueFunction:function(){return f},checkForgottenReturns:m,setBounds:T,warn:g,deprecated:v,CapturedTrace:I,fireDomEvent:G,fireGlobalEvent:J}}},{\"./errors\":26,\"./util\":50}],24:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],25:[function(e,t,n){\"use strict\";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return this.mapSeries(e)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,t){return r(e,t)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],26:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5\"),c=s.freeze,u=e(\"./util\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),s.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:x,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5\":27,\"./util\":50}],27:[function(e,t,n){var r=function(){\"use strict\";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,n){\nreturn e[t]=n.value,e},p=function(e){return e},l=function(e){try{return Object(e).constructor.prototype}catch(t){return a}},f=function(e){try{return\"[object Array]\"===o.call(e)}catch(t){return!1}};t.exports={isArray:f,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:p,getPrototypeOf:l,isES5:r,propertyIsWritable:function(){return!0}}}},{}],28:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],29:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function i(e){this.finallyHandler=e}function o(e,t){return null!=e.cancelPromise?(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0):!1}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){return o(this,e)?void 0:(l.e=e,l)}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f.isCancelled()){var d=new p(\"late cancellation observer\");return r._attachExtraTrace(d),l.e=d,l}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),l.e=e,l):(o(this),e)}var u=e(\"./util\"),p=t.CancellationError,l=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return\"function\"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{\"./util\":50}],30:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=d(n[o])(e);if(r._popContext(),a===f){r._pushContext();var s=t.reject(f.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function c(e,n,i,o){if(a.cancellation()){var s=new t(r),c=this._finallyPromise=new t(r);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else{var u=this._promise=new t(r);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}var u=e(\"./errors\"),p=u.TypeError,l=e(\"./util\"),f=l.errorObj,d=l.tryCatch,h=[];l.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),e=d(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new t.CancellationError(\"generator .return() sentinel\");t.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),e=d(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},c.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=d(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=d(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(e){var n=this._promise;if(e===f)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof t)&&(o=s(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new p(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",r)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var a=o._bitField;0===(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&a)?this._promiseFulfilled(o._value()):0!==(16777216&a)?this._promiseRejected(o._reason()):this._promiseCancelled()},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new p(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(t).yieldHandler,r=c,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new p(\"expecting a function but got \"+l.classString(e));h.push(e)},t.spawn=function(e){if(a.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors\":26,\"./util\":50}],31:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){return new Function(\"promise\",\"holder\",\"                           \\n            'use strict';                                                    \\n            holder.pIndex = promise;                                         \\n            \".replace(/Index/g,e))},f=function(e){for(var n=new Array(e),r=0;r<n.length;++r)n[r]=\"this.p\"+(r+1);var i=n.join(\" = \")+\" = null;\",o=\"var promise;\\n\"+n.map(function(e){return\"                                                         \\n                promise = \"+e+\";                                      \\n                if (promise instanceof Promise) {                            \\n                    promise.cancel();                                        \\n                }                                                            \\n            \"}).join(\"\\n\"),a=n.join(\", \"),s=\"Holder$\"+e,p=\"return function(tryCatch, errorObj, Promise) {           \\n            'use strict';                                                    \\n            function [TheName](fn) {                                         \\n                [TheProperties]                                              \\n                this.fn = fn;                                                \\n                this.now = 0;                                                \\n            }                                                                \\n            [TheName].prototype.checkFulfillment = function(promise) {       \\n                var now = ++this.now;                                        \\n                if (now === [TheTotal]) {                                    \\n                    promise._pushContext();                                  \\n                    var callback = this.fn;                                  \\n                    var ret = tryCatch(callback)([ThePassedArguments]);      \\n                    promise._popContext();                                   \\n                    if (ret === errorObj) {                                  \\n                        promise._rejectCallback(ret.e, false);               \\n                    } else {                                                 \\n                        promise._resolveCallback(ret);                       \\n                    }                                                        \\n                }                                                            \\n            };                                                               \\n                                                                             \\n            [TheName].prototype._resultCancelled = function() {              \\n                [CancellationCode]                                           \\n            };                                                               \\n                                                                             \\n            return [TheName];                                                \\n        }(tryCatch, errorObj, Promise);                                      \\n        \";return p=p.replace(/\\[TheName\\]/g,s).replace(/\\[TheTotal\\]/g,e).replace(/\\[ThePassedArguments\\]/g,a).replace(/\\[TheProperties\\]/g,i).replace(/\\[CancellationCode\\]/g,o),new Function(\"tryCatch\",\"errorObj\",\"Promise\",p)(c,u,t)},d=[],h=[],m=[],v=0;8>v;++v)d.push(f(v+1)),h.push(p(v+1)),m.push(l(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],8>=a&&s)){var c=new t(i);c._captureStackTrace();for(var u=d[a-1],p=new u(e),l=h,f=0;a>f;++f){var v=r(arguments[f],c);if(v instanceof t){v=v._target();var g=v._bitField;0===(50397184&g)?(v._then(l[f],o,void 0,c,p),m[f](v,p)):0!==(33554432&g)?l[f].call(c,v._value(),p):0!==(16777216&g)?c._reject(v._reason()):c._cancel()}else l[f].call(c,v,p)}return c._isFateSealed()||(c._setAsyncGuaranteed(),c._setOnCancel(p)),c}for(var y=arguments.length,b=new Array(y),x=0;y>x;++x)b[x]=arguments[x];e&&b.pop();var c=new n(b).promise();return void 0!==e?c.spread(e):c}}},{\"./util\":50}],32:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:d,this._init$(void 0,-2)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+p.classString(t));var o=\"object\"==typeof n&&null!==n?n.concurrency:0;return o=\"number\"==typeof o&&isFinite(o)&&o>=1?o:0,new s(e,t,o,i).promise()}var u=t._getDomain,p=e(\"./util\"),l=p.tryCatch,f=p.errorObj,d=[];p.inherits(s,n),s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,p=this._callback,d=u._boundValue();u._pushContext();var h=l(p).call(d,e,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?\"Promise.filter\":\"Promise.map\",u),h===f)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){v=v._target();var g=v._bitField;if(0===(50397184&g))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&g))return 0!==(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}var y=++this._totalResolved;return y>=o?(null!==s?this._filter(r,s):this._resolve(r),!0):!1},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},s.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},s.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return c(this,e,t,null)},t.map=function(e,t,n,r){return c(e,t,n,r)}}},{\"./util\":50}],33:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){var a=e(\"./util\"),s=a.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"expecting a function but got \"+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e){if(\"function\"!=typeof e)return i(\"expecting a function but got \"+a.classString(e));var r=new t(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var u=arguments[1],p=arguments[2];c=a.isArray(u)?s(e).apply(p,u):s(e).call(p,u)}else c=s(e)();var l=r._popContext();return o.checkForgottenReturns(c,l,\"Promise.try\",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{\"./util\":50}],34:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&p.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=p.keys(e),i=0;i<n.length;++i){var o=n[i];l.test(o)||(t[o]=e[o])}return t}return a.markAsOriginatingFromRejection(e),e}function o(e,t){return function(n,r){if(null!==e){if(n){var o=i(s(n));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var a=arguments.length,c=new Array(Math.max(a-1,0)),u=1;a>u;++u)c[u-1]=arguments[u];e._fulfill(c)}else e._fulfill(r);e=null}}}var a=e(\"./util\"),s=a.maybeWrapAsError,c=e(\"./errors\"),u=c.OperationalError,p=e(\"./es5\"),l=/^(?:name|message|stack|cause)$/;t.exports=o},{\"./errors\":26,\"./es5\":27,\"./util\":50}],35:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+\"\");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===c&&a.throwLater(i.e)}var o=e(\"./util\"),a=t._async,s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./util\":50}],36:[function(e,t,n){\"use strict\";t.exports=function(){function t(){}function n(e,t){if(\"function\"!=typeof t)throw new g(\"expecting a function but got \"+f.classString(t));if(e.constructor!==r)throw new g(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\")}function r(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==b&&(n(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function i(e){this.promise._resolveCallback(e)}function o(e){this.promise._rejectCallback(e,!1)}function a(e){var t=new r(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var s,c=function(){return new g(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new r.PromiseInspection(this._target())},p=function(e){return r.reject(new g(e))},l={},f=e(\"./util\");s=f.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},f.notEnumerableProp(r,\"_getDomain\",s);var d=e(\"./es5\"),h=e(\"./async\"),m=new h;d.defineProperty(r,\"_async\",{value:m});var v=e(\"./errors\"),g=r.TypeError=v.TypeError;r.RangeError=v.RangeError;var y=r.CancellationError=v.CancellationError;r.TimeoutError=v.TimeoutError,r.OperationalError=v.OperationalError,r.RejectionError=v.OperationalError,r.AggregateError=v.AggregateError;var b=function(){},x={},w={},_=e(\"./thenables\")(r,b),k=e(\"./promise_array\")(r,b,_,p,t),j=e(\"./context\")(r),S=j.create,E=e(\"./debuggability\")(r,j),O=(E.CapturedTrace,e(\"./finally\")(r,_)),A=e(\"./catch_filter\")(w),C=e(\"./nodeback\"),T=f.errorObj,I=f.tryCatch;return r.prototype.toString=function(){return\"[object Promise]\"},r.prototype.caught=r.prototype[\"catch\"]=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;t-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"expecting an object but got \"+f.classString(o));r[i++]=o}return r.length=i,e=arguments[n],this.then(void 0,A(r,e,this))}return this.then(void 0,e)},r.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},r.prototype.then=function(e,t){if(E.warnings()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var n=\".then() only accepts functions but was passed: \"+f.classString(e);arguments.length>1&&(n+=\", \"+f.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},r.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},r.prototype.spread=function(e){return\"function\"!=typeof e?p(\"expecting a function but got \"+f.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},r.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},r.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new k(this).promise()},r.prototype.error=function(e){return this.caught(f.originatesFromRejection,e)},r.is=function(e){return e instanceof r},r.fromNode=r.fromCallback=function(e){var t=new r(b);t._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,i=I(e)(C(t,n));return i===T&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},r.all=function(e){return new k(e).promise()},r.cast=function(e){var t=_(e);return t instanceof r||(t=new r(b),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},r.resolve=r.fulfilled=r.cast,r.reject=r.rejected=function(e){var t=new r(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},r.setScheduler=function(e){if(\"function\"!=typeof e)throw new g(\"expecting a function but got \"+f.classString(e));return m.setScheduler(e)},r.prototype._then=function(e,t,n,i,o){var a=void 0!==o,c=a?o:new r(b),u=this._target(),p=u._bitField;a||(c._propagateFrom(this,3),c._captureStackTrace(),void 0===i&&0!==(2097152&this._bitField)&&(i=0!==(50397184&p)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,c));var l=s();if(0!==(50397184&p)){var f,d,h=u._settlePromiseCtx;0!==(33554432&p)?(d=u._rejectionHandler0,f=e):0!==(16777216&p)?(d=u._fulfillmentHandler0,f=t,u._unsetRejectionIsUnhandled()):(h=u._settlePromiseLateCancellationObserver,d=new y(\"late cancellation observer\"),u._attachExtraTrace(d),f=t),m.invoke(h,u,{handler:null===l?f:\"function\"==typeof f&&l.bind(f),promise:c,receiver:i,value:d})}else u._addCallbacks(e,t,c,i,l);return c},r.prototype._length=function(){return 65535&this._bitField},r.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},r.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},r.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},r.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},r.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},r.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},r.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},r.prototype._isFinal=function(){return(4194304&this._bitField)>0},r.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},r.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},r.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},r.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},r.prototype._promiseAt=function(e){return this[4*e-4+2]},r.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},r.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},r.prototype._boundValue=function(){},r.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=l),this._addCallbacks(t,n,r,i,null)},r.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=l),this._addCallbacks(n,r,i,o,null)},r.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof e&&(this._fulfillmentHandler0=null===i?e:i.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,\"function\"==typeof e&&(this[a+0]=null===i?e:i.bind(e)),\"function\"==typeof t&&(this[a+1]=null===i?t:i.bind(t))}return this._setLength(o+1),o},r.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},r.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=_(e,this);if(!(n instanceof r))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i===this)return void this._reject(c());var o=i._bitField;if(0===(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;a>s;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if(0!==(33554432&o))this._fulfill(i._value());else if(0!==(16777216&o))this._reject(i._reason());else{var u=new y(\"late cancellation observer\");i._attachExtraTrace(u),this._reject(u)}}},r.prototype._rejectCallback=function(e,t,n){var r=f.ensureErrorObject(e),i=r===e;if(!i&&!n&&E.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,t?i:!1),this._reject(e)},r.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,n)});n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)},r.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;t===x?n&&\"number\"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=T,o.e=new g(\"cannot .spread() a non-array: \"+f.classString(n))):o=I(e).call(t,n);var a=r._popContext();i=r._bitField,0===(65536&i)&&(o===w?r._reject(n):o===T?r._rejectCallback(o.e,!1):(E.checkForgottenReturns(o,a,\"\",r,this),r._resolveCallback(o)))}},r.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},r.prototype._followee=function(){return this._rejectionHandler0},r.prototype._setFollowee=function(e){this._rejectionHandler0=e},r.prototype._settlePromise=function(e,n,i,o){var a=e instanceof r,s=this._bitField,c=0!==(134217728&s);0!==(65536&s)?(a&&e._invokeInternalOnCancel(),i instanceof O&&i.isFinallyHandler()?(i.cancelPromise=e,I(n).call(i,o)===T&&e._reject(T.e)):n===u?e._fulfill(u.call(i)):i instanceof t?i._promiseCancelled(e):a||e instanceof k?e._cancel():i.cancel()):\"function\"==typeof n?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(n,i,o,e)):n.call(i,o,e):i instanceof t?i._isResolved()||(0!==(33554432&s)?i._promiseFulfilled(o,e):i._promiseRejected(o,e)):a&&(c&&e._setAsyncGuaranteed(),0!==(33554432&s)?e._fulfill(o):e._reject(o))},r.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,o=e.value;\"function\"==typeof t?n instanceof r?this._settlePromiseFromHandler(t,i,o,n):t.call(i,o,n):n instanceof r&&n._reject(o)},r.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},r.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},r.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},r.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():m.settlePromises(this))}},r.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?m.fatalError(e,f.isNode):void((65535&t)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},r.prototype._fulfillPromises=function(e,t){for(var n=1;e>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._rejectPromises=function(e,t){for(var n=1;e>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},r.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},r.defer=r.pending=function(){E.deprecated(\"Promise.defer\",\"new Promise\");var e=new r(b);return{promise:e,resolve:i,reject:o}},f.notEnumerableProp(r,\"_makeSelfResolutionError\",c),e(\"./method\")(r,b,_,p,E),e(\"./bind\")(r,b,_,E),e(\"./cancel\")(r,k,p,E),e(\"./direct_resolve\")(r),e(\"./synchronous_inspection\")(r),e(\"./join\")(r,k,_,b,E),r.Promise=r,e(\"./map.js\")(r,k,p,_,b,E),e(\"./call_get.js\")(r),e(\"./using.js\")(r,p,_,S,b,E),e(\"./timers.js\")(r,b,E),e(\"./generators.js\")(r,p,b,_,t,E),e(\"./nodeify.js\")(r),e(\"./promisify.js\")(r,b),e(\"./props.js\")(r,k,_,p),e(\"./race.js\")(r,b,_,p),e(\"./reduce.js\")(r,k,p,_,b,E),e(\"./settle.js\")(r,k,E),e(\"./some.js\")(r,k,p),e(\"./filter.js\")(r,b),e(\"./each.js\")(r,b),e(\"./any.js\")(r),f.toFastProperties(r),f.toFastProperties(r.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new r(b)),E.setBounds(h.firstLineError,f.lastLineError),r}},{\"./any.js\":15,\"./async\":16,\"./bind\":17,\"./call_get.js\":19,\"./cancel\":20,\"./catch_filter\":21,\"./context\":22,\"./debuggability\":23,\"./direct_resolve\":24,\"./each.js\":25,\"./errors\":26,\"./es5\":27,\"./filter.js\":28,\"./finally\":29,\"./generators.js\":30,\"./join\":31,\"./map.js\":32,\"./method\":33,\"./nodeback\":34,\"./nodeify.js\":35,\"./promise_array\":37,\"./promisify.js\":38,\"./props.js\":39,\"./race.js\":41,\"./reduce.js\":42,\"./settle.js\":44,\"./some.js\":45,\"./synchronous_inspection\":46,\"./thenables\":47,\"./timers.js\":48,\"./using.js\":49,\"./util\":50}],37:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e(\"./util\");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function u(e,n){var o=r(this._values,this._promise);if(o instanceof t){o=o._target();var s=o._bitField;if(this._values=o,0===(50397184&s))return this._promise._setAsyncGuaranteed(),o._then(u,this._reject,void 0,this,n);if(0===(33554432&s))return 0!==(16777216&s)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var p=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(p,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(a(n))):void this._iterate(o)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;n>s;++s){var c=r(e[s],i);c instanceof t?(c=c._target(),a=c._bitField):a=null,o?null!==a&&c.suppressUnhandledRejections():null!==a?0===(50397184&a)?(c._proxy(this,s),this._values[s]=c):o=0!==(33554432&a)?this._promiseFulfilled(c._value(),s):0!==(16777216&a)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(c,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise.isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{\"./util\":50}],38:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o,a,s){function c(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof p&&this!==u?this[p]:e,c=h(o,s);try{a.apply(i,m(arguments,c))}catch(l){o._rejectCallback(v(l),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),p=e;return\"string\"==typeof p&&(e=o),d.notEnumerableProp(c,\"__isPromisified__\",!0),c}function u(e,t,n,r,i){for(var o=new RegExp(j(t)+\"$\"),a=s(e,t,o,n),c=0,u=a.length;u>c;c+=2){var p=a[c],l=a[c+1],h=p+t;if(r===C)e[h]=C(p,f,p,l,t,i);else{var m=r(l,function(){return C(p,f,p,l,t,i)});d.notEnumerableProp(m,\"__isPromisified__\",!0),e[h]=m}}return d.toFastProperties(e),e}function p(e,t,n){return C(e,t,void 0,e,null,n);\n}var l,f={},d=e(\"./util\"),h=e(\"./nodeback\"),m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o,a,s){function c(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=g?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function u(){for(var e=\"\",t=0;t<l.length;++t)e+=\"case \"+l[t]+\":\"+c(l[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",g?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var p=Math.max(0,A(o)-1),l=S(p),g=\"string\"==typeof e||r===f,y=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\",b=\"'use strict';                                                \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise, \"+s+\");   \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n    \".replace(\"[CodeForSwitchCase]\",u()).replace(\"[GetFunctionCode]\",y);return b=b.replace(\"Parameters\",O(p)),new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",b)(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"expecting a function but got \"+d.classString(e));if(i(e))return e;t=Object(t);var n=void 0===t.context?f:t.context,o=!!t.multiArgs,a=p(e,n,o);return d.copyDescriptors(e,a,r),a},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");t=Object(t);var n=!!t.multiArgs,r=t.suffix;\"string\"!=typeof r&&(r=b);var i=t.filter;\"function\"!=typeof i&&(i=k);var o=t.promisifier;if(\"function\"!=typeof o&&(o=C),!d.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var a=d.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];\"constructor\"!==a[s]&&d.isClass(c)&&(u(c.prototype,r,i,o,n),u(c,r,i,o,n))}return u(e,r,i,o,n)}}},{\"./errors\":26,\"./nodeback\":34,\"./util\":50}],39:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){var t,n=!1;if(void 0!==s&&e instanceof s)t=l(e),n=!0;else{var r=p.keys(e),i=r.length;t=new Array(2*i);for(var o=0;i>o;++o){var a=r[o];t[o]=e[a],t[o+i]=a}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function a(e){var n,a=r(e);return u(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var s,c=e(\"./util\"),u=c.isObject,p=e(\"./es5\");\"function\"==typeof Map&&(s=Map);var l=function(){function e(e,r){this[t]=e,this[t+n]=r,t++}var t=0,n=0;return function(r){n=r.size,t=0;var i=new Array(2*r.size);return r.forEach(e,i),i}}(),f=function(e){for(var t=new s,n=e.length/2|0,r=0;n>r;++r){var i=e[n+r],o=e[r];t.set(i,o)}return t};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5\":27,\"./util\":50}],40:[function(e,t,n){\"use strict\";function r(e,t,n,r,i){for(var o=0;i>o;++o)n[o+r]=e[o+t],e[o+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=this._front,r=(n-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,i=this._length,o=n+i&t-1;r(this,0,this,t,o)},t.exports=i},{}],41:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(e=a.asArray(e),null===e)return i(\"expecting an array or an iterable object but got \"+a.classString(e));var u=new t(n);void 0!==o&&u._propagateFrom(o,3);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util\"),s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util\":50}],42:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r,i){this.constructor$(e);var a=f();this._fn=null===a?n:a.bind(n),void 0!==r&&(r=t.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?[]:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+d.classString(t));var o=new s(e,t,n,i);return o.promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(l,void 0,void 0,this,void 0)):l.call(this,n)}function l(e){var n=this.array,r=n._promise,i=h(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),e,this.index,this.length):i.call(r._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(n._currentCancellable=o);var s=r._popContext();return a.checkForgottenReturns(o,s,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var f=t._getDomain,d=e(\"./util\"),h=d.tryCatch;d.inherits(s,n),s.prototype._gotAccum=function(e){void 0!==this._eachValues&&e!==o&&this._eachValues.push(e)},s.prototype._eachComplete=function(e){return this._eachValues.push(e),this._eachValues},s.prototype._init=function(){},s.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},s.prototype.shouldCopyValues=function(){return!1},s.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},s.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},s.prototype._iterate=function(e){this._values=e;var n,r,i=e.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,r){return u(e,t,n,r)}}},{\"./util\":50}],43:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},a=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var s=n.setImmediate,c=process.nextTick;r=i.isRecentNode?function(e){s.call(n,e)}:function(e){c.call(process,e)}}else if(\"function\"==typeof a){var u=a.resolve();r=function(e){u.then(e)}}else r=\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:function(){var e=document.createElement(\"div\"),t={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){e.classList.toggle(\"foo\"),n=!1});i.observe(r,t);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(e,t),o()}}();t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":50}],44:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e)}var o=t.PromiseInspection,a=e(\"./util\");a.inherits(i,n),i.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(\".settle()\",\".reflect()\"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{\"./util\":50}],45:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util\"),s=e(\"./errors\").RangeError,c=e(\"./errors\").AggregateError,u=a.isArray,p={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(p),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t<this._values.length;++t)this._values[t]!==p&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors\":26,\"./util\":50}],46:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=e.prototype._isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype.isCancelled=function(){return this._target()._isCancelled()},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],47:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(p(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(t){return u.e=t,u}}function a(e){return l.call(e,\"_promise0\")}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,l,!0),s=null)}var s=new t(n),p=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var l=!0,f=c.tryCatch(r).call(e,o,a);return l=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),p}var c=e(\"./util\"),u=c.errorObj,p=c.isObject,l={}.hasOwnProperty;return r}},{\"./util\":50}],48:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e(\"./util\"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return p(+this).thenReturn(e)},p=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s))),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return p(e,this)};var l=function(e,t,n){var r;r=\"string\"!=typeof t?t instanceof Error?t:new c(\"operation timed out\"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&l(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{\"./util\":50}],49:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return p._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(l){return s(l)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,p=new t(o);return i(),p}function p(e,t,n){this._data=e,this._promise=t,this._context=n}function l(e,t,n){this.constructor$(e,t,n)}function f(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function d(e){this.length=e,this.promise=null,this[e-1]=null}var h=e(\"./util\"),m=e(\"./errors\").TypeError,v=e(\"./util\").inherits,g=h.errorObj,y=h.tryCatch;p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},p.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},p.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},v(l,p),l.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},d.prototype._resultCancelled=function(){for(var e=this.length,n=0;e>n;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+h.classString(i));var o,s=!0;2===e&&Array.isArray(arguments[0])?(o=arguments[0],e=o.length,s=!1):(o=arguments,e--);for(var c=new d(e),l=0;e>l;++l){var m=o[l];if(p.isDisposer(m)){var v=m;m=m.promise(),m._setDisposable(v)}else{var b=r(m);b instanceof t&&(m=b._then(f,null,null,{resources:c,index:l},void 0))}c[l]=m}for(var x=new Array(c.length),l=0;l<x.length;++l)x[l]=t.resolve(c[l]).reflect();var w=t.all(x).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return g.e=n.error(),g;if(!n.isFulfilled())return void w.cancel();e[t]=n.value()}_._pushContext(),i=y(i);var r=s?i.apply(void 0,e):i(e),o=_._popContext();return a.checkForgottenReturns(r,o,\"Promise.using\",_),r}),_=w.lastly(function(){var e=new t.PromiseInspection(w);return u(c,e)});return c.promise=_,_._setOnCancel(c),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new l(e,this,i());throw new m}}},{\"./errors\":26,\"./util\":50}],50:[function(e,t,n){(function(n){\"use strict\";function r(){try{var e=A;return A=null,e.apply(this,arguments)}catch(t){return O.e=t,O}}function i(e){return A=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!S.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return S.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=S.names(e.prototype),n=S.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=P.test(e+\"\")&&S.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return F.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){return null!==e&&\"object\"==typeof e&&\"string\"==typeof e.message&&\"string\"==typeof e.name}function y(e){try{p(e,\"isOperational\",!0)}catch(t){}}function b(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function x(e){return g(e)&&S.propertyIsWritable(e,\"stack\")}function w(e){return{}.toString.call(e)}function _(e,t,n){for(var r=S.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{S.defineProperty(t,o,S.getDescriptor(e,o))}catch(a){}}}function k(e,t){return N?process.env[e]:t}function j(){if(\"function\"==typeof Promise)try{var e=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(e))return Promise}catch(t){}}var S=e(\"./es5\"),E=\"undefined\"==typeof navigator,O={e:{}},A,C=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof n?n:void 0!==this?this:null,T=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},I=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(S.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=S.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),P=/this\\s*\\.\\s*\\S+\\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,M=function(){return\"stack\"in new Error?function(e){return x(e)?e:new Error(v(e))}:function(e){if(x(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),z=function(e){return S.isArray(e)?e:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var B=\"function\"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};z=function(e){return S.isArray(e)?e:null!=e&&\"function\"==typeof e[Symbol.iterator]?B(e):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),D={isClass:f,isIdentifier:h,inheritedDataKeys:I,getDataPropertyOrDefault:u,thrower:l,isArray:S.isArray,asArray:z,notEnumerableProp:p,isPrimitive:o,isObject:a,isError:g,canEvaluate:E,errorObj:O,tryCatch:i,inherits:T,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:x,ensureErrorObject:M,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:w,copyDescriptors:_,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,env:k,global:C,getNativePromise:j};D.isRecentNode=D.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),D.isNode&&D.toFastProperties(process);try{throw new Error}catch(q){D.lastLineError=q}t.exports=D}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./es5\":27}],51:[function(e,t,n){var r=e(\"http\"),i=e(\"hoek\"),o={};n.wrap=function(e,t,n){return i.assert(e instanceof Error,\"Cannot wrap non-Error object\"),e.isBoom?e:o.initialize(e,t||500,n)},n.create=function(e,t,r){return o.create(e,t,r,n.create)},o.create=function(e,t,n,r){var i=new Error(t?t:void 0);return Error.captureStackTrace(i,r),i.data=n||null,o.initialize(i,e),i},o.initialize=function(e,t,n){var r=parseInt(t,10);return i.assert(!isNaN(r)&&r>=400,\"First argument must be a number (400+):\",t),e.isBoom=!0,e.isServer=r>=500,e.hasOwnProperty(\"data\")||(e.data=null),e.output={statusCode:r,payload:{},headers:{}},e.reformat=o.reformat,e.reformat(),n||e.message||(n=e.output.payload.error),n&&(e.message=n+(e.message?\": \"+e.message:\"\")),e},o.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=r.STATUS_CODES[this.output.statusCode]||\"Unknown\",500===this.output.statusCode?this.output.payload.message=\"An internal server error occurred\":this.message&&(this.output.payload.message=this.message)},n.badRequest=function(e,t){return o.create(400,e,t,n.badRequest)},n.unauthorized=function(e,t,r){var a=o.create(401,e,void 0,n.unauthorized);if(!t)return a;var s=\"\",c=0,u=0;if(\"string\"==typeof t){if(s=t,(r||e)&&(a.output.payload.attributes={}),r){var p=Object.keys(r);for(c=0,u=p.length;u>c;++c){var l=p[c];c&&(s+=\",\");var f=r[l];null!==f&&void 0!==f||(f=\"\"),s+=\" \"+l+'=\"'+i.escapeHeaderAttribute(f.toString())+'\"',a.output.payload.attributes[l]=f}}e?(r&&(s+=\",\"),s+=' error=\"'+i.escapeHeaderAttribute(e)+'\"',a.output.payload.attributes.error=e):a.isMissing=!0}else{var d=t;for(c=0,u=d.length;u>c;++c)c&&(s+=\", \"),s+=d[c]}return a.output.headers[\"WWW-Authenticate\"]=s,a},n.forbidden=function(e,t){return o.create(403,e,t,n.forbidden)},n.notFound=function(e,t){return o.create(404,e,t,n.notFound)},n.methodNotAllowed=function(e,t){return o.create(405,e,t,n.methodNotAllowed)},n.notAcceptable=function(e,t){return o.create(406,e,t,n.notAcceptable)},n.proxyAuthRequired=function(e,t){return o.create(407,e,t,n.proxyAuthRequired)},n.clientTimeout=function(e,t){return o.create(408,e,t,n.clientTimeout)},n.conflict=function(e,t){return o.create(409,e,t,n.conflict)},n.resourceGone=function(e,t){return o.create(410,e,t,n.resourceGone)},n.lengthRequired=function(e,t){return o.create(411,e,t,n.lengthRequired)},n.preconditionFailed=function(e,t){return o.create(412,e,t,n.preconditionFailed)},n.entityTooLarge=function(e,t){return o.create(413,e,t,n.entityTooLarge)},n.uriTooLong=function(e,t){return o.create(414,e,t,n.uriTooLong)},n.unsupportedMediaType=function(e,t){return o.create(415,e,t,n.unsupportedMediaType)},n.rangeNotSatisfiable=function(e,t){return o.create(416,e,t,n.rangeNotSatisfiable)},n.expectationFailed=function(e,t){return o.create(417,e,t,n.expectationFailed)},n.badData=function(e,t){return o.create(422,e,t,n.badData)},n.preconditionRequired=function(e,t){return o.create(428,e,t,n.preconditionRequired)},n.tooManyRequests=function(e,t){return o.create(429,e,t,n.tooManyRequests)},n.internal=function(e,t,r){return o.serverError(e,t,r,n.internal)},o.serverError=function(e,t,r,i){var a;return t instanceof Error?a=n.wrap(t,r,e):(a=o.create(r||500,e,void 0,i),a.data=t),a},n.notImplemented=function(e,t){return o.serverError(e,t,501,n.notImplemented)},n.badGateway=function(e,t){return o.serverError(e,t,502,n.badGateway)},n.serverTimeout=function(e,t){return o.serverError(e,t,503,n.serverTimeout)},n.gatewayTimeout=function(e,t){return o.serverError(e,t,504,n.gatewayTimeout)},n.badImplementation=function(e,t){var r=o.serverError(e,t,500,n.badImplementation);return r.isDeveloperError=!0,r}},{hoek:149,http:void 0}],52:[function(e,t,n){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);if(this._bsontype=\"Binary\",e instanceof Number?(this.sub_type=e,this.position=0):(this.sub_type=null==t?o:t,this.position=0),null==e||e instanceof Number)\"undefined\"!=typeof i?this.buffer=new i(r.BUFFER_SIZE):\"undefined\"!=typeof Uint8Array?this.buffer=new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE)):this.buffer=new Array(r.BUFFER_SIZE),this.position=0;else{if(\"string\"==typeof e)if(\"undefined\"!=typeof i)this.buffer=new i(e);else{if(\"undefined\"==typeof Uint8Array&&\"[object Array]\"!=Object.prototype.toString.call(e))throw new Error(\"only String, Buffer, Uint8Array or Array accepted\");this.buffer=a(e)}else this.buffer=e;this.position=e.length}}if(\"undefined\"!=typeof n)var i=e(\"buffer\").Buffer;r.prototype.put=function(e){if(null!=e.length&&\"number\"!=typeof e&&1!=e.length)throw new Error(\"only accepts single character String, Uint8Array or Array\");if(\"number\"!=typeof e&&0>e||e>255)throw new Error(\"only accepts number in a valid unsigned byte range 0-255\");var t=null;if(t=\"string\"==typeof e?e.charCodeAt(0):null!=e.length?e[0]:e,this.buffer.length>this.position)this.buffer[this.position++]=t;else if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer)){var n=new i(r.BUFFER_SIZE+this.buffer.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n,this.buffer[this.position++]=t}else{var n=null;n=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE+this.buffer.length)):new Array(r.BUFFER_SIZE+this.buffer.length);for(var o=0;o<this.buffer.length;o++)n[o]=this.buffer[o];this.buffer=n,this.buffer[this.position++]=t}},r.prototype.write=function(e,t){if(t=\"number\"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=null;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))n=new i(this.buffer.length+e.length),this.buffer.copy(n,0,0,this.buffer.length);else if(\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)){\nn=new Uint8Array(new ArrayBuffer(this.buffer.length+e.length));for(var r=0;r<this.position;r++)n[r]=this.buffer[r]}this.buffer=n}if(\"undefined\"!=typeof i&&i.isBuffer(e)&&i.isBuffer(this.buffer))e.copy(this.buffer,t,0,e.length),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"undefined\"!=typeof i&&\"string\"==typeof e&&i.isBuffer(this.buffer))this.buffer.write(e,t,\"binary\"),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"[object Uint8Array]\"==Object.prototype.toString.call(e)||\"[object Array]\"==Object.prototype.toString.call(e)&&\"string\"!=typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e[r];this.position=t>this.position?t:this.position}else if(\"string\"==typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e.charCodeAt(r);this.position=t>this.position?t:this.position}},r.prototype.read=function(e,t){if(t=t&&t>0?t:this.position,this.buffer.slice)return this.buffer.slice(e,e+t);for(var n=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(t)):new Array(t),r=0;t>r;r++)n[r]=this.buffer[e++];return n},r.prototype.value=function(e){if(e=null==e?!1:e,e&&\"undefined\"!=typeof i&&i.isBuffer(this.buffer)&&this.buffer.length==this.position)return this.buffer;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))return e?this.buffer.slice(0,this.position):this.buffer.toString(\"binary\",0,this.position);if(e){if(null!=this.buffer.slice)return this.buffer.slice(0,this.position);for(var t=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(this.position)):new Array(this.position),n=0;n<this.position;n++)t[n]=this.buffer[n];return t}return s(this.buffer,0,this.position)},r.prototype.length=function(){return this.position},r.prototype.toJSON=function(){return null!=this.buffer?this.buffer.toString(\"base64\"):\"\"},r.prototype.toString=function(e){return null!=this.buffer?this.buffer.slice(0,this.position).toString(e):\"\"};var o=0,a=function(e){for(var t=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(e.length)):new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},s=function(e,t,n){for(var r=\"\",i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r};r.BUFFER_SIZE=256,r.SUBTYPE_DEFAULT=0,r.SUBTYPE_FUNCTION=1,r.SUBTYPE_BYTE_ARRAY=2,r.SUBTYPE_UUID_OLD=3,r.SUBTYPE_UUID=4,r.SUBTYPE_MD5=5,r.SUBTYPE_USER_DEFINED=128,t.exports=r,t.exports.Binary=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{buffer:void 0}],53:[function(e,t,n){function i(e,t){return this instanceof i?(this.bigEndian=e,void(this.allowExceptions=t)):new i(e,t)}function o(e,t){this.bigEndian=e||0,this.buffer=[],this.setBuffer(t)}for(var a=String.fromCharCode,s=[],c=0;64>c;c++)s[c]=Math.pow(2,c);i.warn=function(e){if(this.allowExceptions)throw new Error(e);return 1},i.decodeFloat=function(e,t,n){var r=new this.Buffer(this.bigEndian,e);r.checkBuffer(t+n+1);var i=s[n-1]-1,o=r.readBits(t+n,1),a=r.readBits(t,n),c=0,u=2,p=r.buffer.length+(-t>>3)-1;do for(var l=r.buffer[++p],f=t%8||8,d=1<<f;d>>=1;l&d&&(c+=1/u),u*=2);while(t-=f);return a==(i<<1)+1?c?NaN:o?-(1/0):+(1/0):(1+-2*o)*(a||c?a?Math.pow(2,a-i)*(1+c):Math.pow(2,-i+1)*c:0)},i.decodeInt=function(e,t,n,r){var i=new this.Buffer(this.bigEndian||r,e),o=i.readBits(0,t),a=s[t];return n&&o>=a/2?o-a:o},i.encodeFloat=function(e,t,n){var i,o,a,c,u,p=s[n-1]-1,l=-p+1,f=p,d=l-t,h=parseFloat(e),m=isNaN(h)||h==-(1/0)||h==+(1/0)?h:0,v=0,g=2*p+1+t+3,y=new Array(g),b=(h=0!==m?0:h)<0,x=Math.floor(h=Math.abs(h)),w=h-x;for(c=g;c;y[--c]=0);for(c=p+2;x&&c;y[--c]=x%2,x=Math.floor(x/2));for(c=p+1;w>0&&c;(y[++c]=((w*=2)>=1)-0)&&--w);for(c=-1;++c<g&&!y[c];);if(y[(i=t-1+(c=(v=p+1-c)>=l&&f>=v?c+1:p+1-(v=l-1)))+1]){if(!(o=y[i]))for(u=i+2;!o&&g>u;o=y[u++]);for(u=i+1;o&&--u>=0;(y[u]=!y[u]-0)&&(o=0));}for(c=0>c-2?-1:c-3;++c<g&&!y[c];);for((v=p+1-c)>=l&&f>=v?++c:l>v&&(v!=p+1-g&&d>v&&this.warn(\"encodeFloat::float underflow\"),c=p+1-(v=l-1)),(x||0!==m)&&(this.warn(x?\"encodeFloat::float overflow\":\"encodeFloat::\"+m),v=f+1,c=p+2,m==-(1/0)?b=1:isNaN(m)&&(y[c]=1)),h=Math.abs(v+p),u=n+1,a=\"\";--u;a=h%2+a,h=h>>=1);for(h=0,u=0,c=(a=(b?\"1\":\"0\")+a+y.slice(c,c+t).join(\"\")).length,r=[];c;u=(u+1)%8)h+=(1<<u)*a.charAt(--c),7==u&&(r[r.length]=String.fromCharCode(h),h=0);return r[r.length]=h?String.fromCharCode(h):\"\",(this.bigEndian?r.reverse():r).join(\"\")},i.encodeInt=function(e,t,n,r){var i=s[t];(e>=i||-(i/2)>e)&&(this.warn(\"encodeInt::overflow\"),e=0),0>e&&(e+=i);for(var o=[];e;o[o.length]=String.fromCharCode(e%256),e=Math.floor(e/256));for(t=-(-t>>3)-o.length;t--;o[o.length]=\"\\x00\");return(this.bigEndian||r?o.reverse():o).join(\"\")},i.toSmall=function(e){return this.decodeInt(e,8,!0)},i.fromSmall=function(e){return this.encodeInt(e,8,!0)},i.toByte=function(e){return this.decodeInt(e,8,!1)},i.fromByte=function(e){return this.encodeInt(e,8,!1)},i.toShort=function(e){return this.decodeInt(e,16,!0)},i.fromShort=function(e){return this.encodeInt(e,16,!0)},i.toWord=function(e){return this.decodeInt(e,16,!1)},i.fromWord=function(e){return this.encodeInt(e,16,!1)},i.toInt=function(e){return this.decodeInt(e,32,!0)},i.fromInt=function(e){return this.encodeInt(e,32,!0)},i.toLong=function(e){return this.decodeInt(e,64,!0)},i.fromLong=function(e){return this.encodeInt(e,64,!0)},i.toDWord=function(e){return this.decodeInt(e,32,!1)},i.fromDWord=function(e){return this.encodeInt(e,32,!1)},i.toQWord=function(e){return this.decodeInt(e,64,!0)},i.fromQWord=function(e){return this.encodeInt(e,64,!0)},i.toFloat=function(e){return this.decodeFloat(e,23,8)},i.fromFloat=function(e){return this.encodeFloat(e,23,8)},i.toDouble=function(e){return this.decodeFloat(e,52,11)},i.fromDouble=function(e){return this.encodeFloat(e,52,11)},i.encode_int32=function(e,t){var n,r,i,o,s;return s=0>e?e+4294967296:e,n=Math.floor(s/16777215),s&=16777215,r=Math.floor(s/65535),s&=65535,i=Math.floor(s/255),s&=255,o=Math.floor(s),t?[a(n),a(r),a(i),a(o)]:a(n)+a(r)+a(i)+a(o)},i.encode_int64=function(e){var t,n,r,i,o,s,c,u,p;return p=0>e?e+0x10000000000000000:e,t=Math.floor(p/72057594037927940),p&=72057594037927940,n=Math.floor(p/0xffffffffffff),p&=0xffffffffffff,r=Math.floor(p/0xffffffffff),p&=0xffffffffff,i=Math.floor(p/4294967295),p&=4294967295,o=Math.floor(p/16777215),p&=16777215,s=Math.floor(p/65535),p&=65535,c=Math.floor(p/255),p&=255,u=Math.floor(p),a(t)+a(n)+a(r)+a(i)+a(o)+a(s)+a(c)+a(u)},i.decode_utf8=function(e){for(var t,n=e.length,r=\"\",i=0,o=0,a=0;n>i;)o=e.charCodeAt(i),128>o?(r+=String.fromCharCode(o),i++):o>191&&224>o?(a=e.charCodeAt(i+1),r+=String.fromCharCode((31&o)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),t=e.charCodeAt(i+2),r+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&t),i+=3);return r},i.encode_cstring=function(e){return unescape(encodeURIComponent(e))+i.fromByte(0)},i.encode_utf8=function(e){for(var t,n=\"\",r=0,i=e.length;i>r;r++)t=e.charCodeAt(r),128>t?n+=String.fromCharCode(t):t>127&&2048>t?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},i.hprint=function(e){for(var t,n=0,r=e.length;r>n;n++)e.charCodeAt(n)<32?(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \")):(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \"));process.stdout.write(\"\\n\\n\")},i.ilprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \"+t.charAt(r)))},i.hlprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \"+t.charAt(r)))},o.prototype.setBuffer=function(e){var t,n,r;if(e){for(n=t=e.length,r=this.buffer=new Array(t);n;r[t-n]=e.charCodeAt(--n));this.bigEndian&&r.reverse()}},o.prototype.hasNeededBits=function(e){return this.buffer.length>=-(-e>>3)},o.prototype.checkBuffer=function(e){if(!this.hasNeededBits(e))throw new Error(\"checkBuffer::missing bytes\")},o.prototype.readBits=function(e,t){function n(e,t){for(;t--;e=1073741824==(1073741824&(e%=2147483648))?2*e:2*(e-1073741824)+2147483647+1);return e}if(0>e||0>=t)return 0;this.checkBuffer(e+t);for(var r,i=e%8,o=this.buffer.length-(e>>3)-1,a=this.buffer.length+(-(e+t)>>3),s=o-a,c=(this.buffer[o]>>i&(1<<(s?8-i:t))-1)+(s&&(r=(e+t)%8)?(this.buffer[a++]&(1<<r)-1)<<(s--<<3)-i:0);s;c+=n(this.buffer[a++],(s--<<3)-i));return c},i.Buffer=o,n.BinaryParser=i},{util:void 0}],54:[function(e,t,n){(function(n){var r=(e(\"./float_parser\").writeIEEE754,e(\"./float_parser\").readIEEE754,e(\"./map\")),i=e(\"./long\").Long,o=e(\"./double\").Double,a=e(\"./timestamp\").Timestamp,s=e(\"./objectid\").ObjectID,c=e(\"./regexp\").BSONRegExp,u=e(\"./symbol\").Symbol,p=e(\"./code\").Code,l=e(\"./min_key\").MinKey,f=e(\"./max_key\").MaxKey,d=e(\"./db_ref\").DBRef,h=e(\"./binary\").Binary,m=e(\"./parser/deserializer\"),v=e(\"./parser/serializer\"),g=e(\"./parser/calculate_size\"),y=17825792,b=new n(y),x=function(){};x.prototype.serialize=function(e,t,r,i,o,a){var s=v(b,e,t,o||0,0,i,a),c=new n(s);return b.copy(c,0,0,c.length),c},x.prototype.serializeWithBufferAndIndex=function(e,t,n,r,i,o){var a=v(b,e,t,r||0,0,i,o);return b.copy(n,r,0,a),r+a-1},x.prototype.deserialize=function(e,t){return m(e,t)},x.prototype.calculateObjectSize=function(e,t,n){return g(e,t,n)},x.prototype.deserializeStream=function(e,t,n,r,i,o){o=null!=o?o:{};for(var a=t,s=0;n>s;s++){var c=e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24;o.index=a,r[i+s]=this.deserialize(e,o),a+=c}return a},x.BSON_INT32_MAX=2147483647,x.BSON_INT32_MIN=-2147483648,x.BSON_INT64_MAX=Math.pow(2,63)-1,x.BSON_INT64_MIN=-Math.pow(2,63),x.JS_INT_MAX=9007199254740992,x.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);x.BSON_DATA_NUMBER=1,x.BSON_DATA_STRING=2,x.BSON_DATA_OBJECT=3,x.BSON_DATA_ARRAY=4,x.BSON_DATA_BINARY=5,x.BSON_DATA_OID=7,x.BSON_DATA_BOOLEAN=8,x.BSON_DATA_DATE=9,x.BSON_DATA_NULL=10,x.BSON_DATA_REGEXP=11,x.BSON_DATA_CODE=13,x.BSON_DATA_SYMBOL=14,x.BSON_DATA_CODE_W_SCOPE=15,x.BSON_DATA_INT=16,x.BSON_DATA_TIMESTAMP=17,x.BSON_DATA_LONG=18,x.BSON_DATA_MIN_KEY=255,x.BSON_DATA_MAX_KEY=127,x.BSON_BINARY_SUBTYPE_DEFAULT=0,x.BSON_BINARY_SUBTYPE_FUNCTION=1,x.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,x.BSON_BINARY_SUBTYPE_UUID=3,x.BSON_BINARY_SUBTYPE_MD5=4,x.BSON_BINARY_SUBTYPE_USER_DEFINED=128,t.exports=x,t.exports.Code=p,t.exports.Map=r,t.exports.Symbol=u,t.exports.BSON=x,t.exports.DBRef=d,t.exports.Binary=h,t.exports.ObjectID=s,t.exports.Long=i,t.exports.Timestamp=a,t.exports.Double=o,t.exports.MinKey=l,t.exports.MaxKey=f,t.exports.BSONRegExp=c}).call(this,e(\"buffer\").Buffer)},{\"./binary\":52,\"./code\":55,\"./db_ref\":56,\"./double\":57,\"./float_parser\":58,\"./long\":60,\"./map\":61,\"./max_key\":62,\"./min_key\":63,\"./objectid\":64,\"./parser/calculate_size\":65,\"./parser/deserializer\":66,\"./parser/serializer\":67,\"./regexp\":68,\"./symbol\":69,\"./timestamp\":70,buffer:void 0}],55:[function(e,t,n){var r=function i(e,t){return this instanceof i?(this._bsontype=\"Code\",this.code=e,void(this.scope=null==t?{}:t)):new i(e,t)};r.prototype.toJSON=function(){return{scope:this.scope,code:this.code}},t.exports=r,t.exports.Code=r},{}],56:[function(e,t,n){function r(e,t,n){return this instanceof r?(this._bsontype=\"DBRef\",this.namespace=e,this.oid=t,void(this.db=n)):new r(e,t,n)}r.prototype.toJSON=function(){return{$ref:this.namespace,$id:this.oid,$db:null==this.db?\"\":this.db}},t.exports=r,t.exports.DBRef=r},{}],57:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Double\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Double=r},{}],58:[function(e,t,n){var r=function(e,t,n,r,i){var o,a,s=\"big\"===n,c=8*i-r-1,u=(1<<c)-1,p=u>>1,l=-7,f=s?0:i-1,d=s?1:-1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-p;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=p}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,s,c,u=\"big\"===r,p=8*o-i-1,l=(1<<p)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=u?o-1:0,m=u?-1:1,v=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<<i|s,p+=i;p>0;e[n+h]=255&a,h+=m,a/=256,p-=8);e[n+h-m]|=128*v};n.readIEEE754=r,n.writeIEEE754=i},{}],59:[function(e,t,n){try{n.BSONPure=e(\"./bson\"),n.BSONNative=e(\"./bson\")}catch(r){}[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(t){var r=e(t);for(var i in r)n[i]=r[i]}),n.pure=function(){var t={};return[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\",\"./bson\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]}),t},n[\"native\"]=function(){var t={};[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]});try{t.BSON=e(\"./bson\")}catch(r){return n.pure()}return t}},{\"./bson\":54}],60:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Long\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Long=r},{}],61:[function(e,t,n){(function(e){\"use strict\";if(\"undefined\"!=typeof e.Map)t.exports=e.Map,t.exports.Map=e.Map;else{var n=function(e){this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var n=e[t],r=n[0],i=n[1];this._keys.push(r),this._values[r]={v:i,i:this._keys.length-1}}};n.prototype.clear=function(){this._keys=[],this._values={}},n.prototype[\"delete\"]=function(e){var t=this._values[e];return null==t?!1:(delete this._values[e],this._keys.splice(t.i,1),!0)},n.prototype.entries=function(){var e=this,t=0;return{next:function(){var n=e._keys[t++];return{value:void 0!==n?[n,e._values[n].v]:void 0,done:void 0===n}}}},n.prototype.forEach=function(e,t){t=t||this;for(var n=0;n<this._keys.length;n++){var r=this._keys[n];e.call(t,this._values[r].v,r,t)}},n.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},n.prototype.has=function(e){return null!=this._values[e]},n.prototype.keys=function(e){var t=this,n=0;return{next:function(){var e=t._keys[n++];return{value:void 0!==e?e:void 0,done:void 0===e}}}},n.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},n.prototype.values=function(e,t){var n=this,r=0;return{next:function(){var e=n._keys[r++];return{value:void 0!==e?n._values[e].v:void 0,done:void 0===e}}}},Object.defineProperty(n.prototype,\"size\",{enumerable:!0,get:function(){return this._keys.length}}),t.exports=n,t.exports.Map=n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],62:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MaxKey\"):new r}t.exports=r,t.exports.MaxKey=r},{}],63:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MinKey\"):new r}t.exports=r,t.exports.MinKey=r},{}],64:[function(e,t,n){for(var r=e(\"./binary_parser\").BinaryParser,i=parseInt(16777215*Math.random(),10),o=new RegExp(\"^[0-9a-fA-F]{24}$\"),a=function u(e){if(!(this instanceof u))return new u(e);if(e instanceof u||e&&e.toHexString)return e;this._bsontype=\"ObjectID\";var t=u.isValid(e);if(!t&&null!=e)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");return t&&\"string\"==typeof e&&24==e.length?u.createFromHexString(e):(null==e||\"number\"==typeof e?this.id=this.generate(e):null!=e&&12===e.length&&(this.id=e),void(u.cacheHexString&&(this.__id=this.toHexString())))},s=[],c=0;256>c;c++)s[c]=(15>=c?\"0\":\"\")+c.toString(16);a.prototype.toHexString=function(){if(a.cacheHexString&&this.__id)return this.__id;for(var e=\"\",t=0;t<this.id.length;t++)e+=s[this.id.charCodeAt(t)];return a.cacheHexString&&(this.__id=e),e},a.prototype.get_inc=function(){return a.index=(a.index+1)%16777215},a.prototype.getInc=function(){return this.get_inc()},a.prototype.generate=function(e){\"number\"!=typeof e&&(e=parseInt(Date.now()/1e3,10));var t=r.encodeInt(e,32,!0,!0),n=r.encodeInt(i,24,!1),o=r.fromShort((\"undefined\"==typeof process?Math.floor(1e5*Math.random()):process.pid)%65535),a=r.encodeInt(this.get_inc(),24,!1,!0);return t+n+o+a},a.prototype.toString=function(){return this.toHexString()},a.prototype.inspect=a.prototype.toString,a.prototype.toJSON=function(){return this.toHexString()},a.prototype.equals=function(e){var t;if(null!=e&&(e instanceof a||e.toHexString))t=e.id;else{if(\"string\"!=typeof e||!a.isValid(e))return!1;t=a.createFromHexString(e).id}return this.id===t},a.prototype.getTimestamp=function(){var e=new Date;return e.setTime(1e3*Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))),e},a.index=parseInt(16777215*Math.random(),10),a.createPk=function(){return new a},a.createFromTime=function(e){var t=r.encodeInt(e,32,!0,!0)+r.encodeInt(0,64,!0,!0);return new a(t)},a.createFromHexString=function(e){if(\"undefined\"==typeof e||null!=e&&24!=e.length)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");var t=e.length;if(t>24)throw new Error(\"Id cannot be longer than 12 bytes\");for(var n,i,o=\"\",s=0;t>s;s+=2)n=e.substr(s,2),i=parseInt(n,16),o+=r.fromByte(i);return new a(o,e)},a.isValid=function(e){return null==e?!1:\"number\"==typeof e?!0:\"string\"==typeof e?12==e.length||24==e.length&&o.test(e):e instanceof a?!0:e.toHexString?12==e.id.length||24==e.id.length&&o.test(e.id):!1},Object.defineProperty(a.prototype,\"generationTime\",{enumerable:!0,get:function(){return Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))},set:function(e){var e=r.encodeInt(e,32,!0,!0);this.id=e+this.id.substr(4),this.toHexString()}}),t.exports=a,t.exports.ObjectID=a,t.exports.ObjectId=a},{\"./binary_parser\":53}],65:[function(e,t,n){(function(n){\"use strict\";function r(e,t,r,y,b){switch(t&&t.toBSON&&(t=t.toBSON()),typeof t){case\"string\":return 1+n.byteLength(e,\"utf8\")+1+4+n.byteLength(t,\"utf8\")+1;case\"number\":return Math.floor(t)===t&&t>=g.JS_INT_MIN&&t<=g.JS_INT_MAX&&t>=g.BSON_INT32_MIN&&t<=g.BSON_INT32_MAX?(null!=e?n.byteLength(e,\"utf8\")+1:0)+5:(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;case\"undefined\":return y||!b?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1:0;case\"boolean\":return(null!=e?n.byteLength(e,\"utf8\")+1:0)+2;case\"object\":if(null==t||t instanceof l||t instanceof f||\"MinKey\"==t._bsontype||\"MaxKey\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1;if(t instanceof s||\"ObjectID\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+13;if(t instanceof Date||m(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(\"undefined\"!=typeof n&&n.isBuffer(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+6+t.length;if(t instanceof i||t instanceof o||t instanceof a||\"Long\"==t._bsontype||\"Double\"==t._bsontype||\"Timestamp\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(t instanceof p||\"Code\"==t._bsontype)return null!=t.scope&&Object.keys(t.scope).length>0?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.code.toString(),\"utf8\")+1+v(t.scope,r,b):(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.code.toString(),\"utf8\")+1;if(t instanceof h||\"Binary\"==t._bsontype)return t.sub_type==h.SUBTYPE_BYTE_ARRAY?(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1+4):(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1);if(t instanceof c||\"Symbol\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+n.byteLength(t.value,\"utf8\")+4+1+1;if(t instanceof d||\"DBRef\"==t._bsontype){var x={$ref:t.namespace,$id:t.oid};return null!=t.db&&(x.$db=t.db),(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+v(x,r,b)}return t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1:t instanceof u||\"BSONRegExp\"==t._bsontype?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.pattern,\"utf8\")+1+n.byteLength(t.options,\"utf8\")+1:(null!=e?n.byteLength(e,\"utf8\")+1:0)+v(t,r,b)+1;case\"function\":if(t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)||\"[object RegExp]\"==String.call(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1;if(r&&null!=t.scope&&Object.keys(t.scope).length>0)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.toString(),\"utf8\")+1+v(t.scope,r,b);if(r)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.toString(),\"utf8\")+1}return 0}var i=(e(\"../float_parser\").writeIEEE754,e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../double\").Double,a=e(\"../timestamp\").Timestamp,s=e(\"../objectid\").ObjectID,c=e(\"../symbol\").Symbol,u=e(\"../regexp\").BSONRegExp,p=e(\"../code\").Code,l=e(\"../min_key\").MinKey,f=e(\"../max_key\").MaxKey,d=e(\"../db_ref\").DBRef,h=e(\"../binary\").Binary,m=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},v=function(e,t,n){var i=5;if(Array.isArray(e))for(var o=0;o<e.length;o++)i+=r(o.toString(),e[o],t,!0,n);else{e.toBSON&&(e=e.toBSON());for(var a in e)i+=r(a,e[a],t,!1,n)}return i},g={};g.functionCache={};g.BSON_DATA_NUMBER=1,g.BSON_DATA_STRING=2,g.BSON_DATA_OBJECT=3,g.BSON_DATA_ARRAY=4,g.BSON_DATA_BINARY=5,g.BSON_DATA_OID=7,g.BSON_DATA_BOOLEAN=8,g.BSON_DATA_DATE=9,g.BSON_DATA_NULL=10,g.BSON_DATA_REGEXP=11,g.BSON_DATA_CODE=13,g.BSON_DATA_SYMBOL=14,g.BSON_DATA_CODE_W_SCOPE=15,g.BSON_DATA_INT=16,g.BSON_DATA_TIMESTAMP=17,g.BSON_DATA_LONG=18,g.BSON_DATA_MIN_KEY=255,g.BSON_DATA_MAX_KEY=127,g.BSON_BINARY_SUBTYPE_DEFAULT=0,g.BSON_BINARY_SUBTYPE_FUNCTION=1,g.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,g.BSON_BINARY_SUBTYPE_UUID=3,g.BSON_BINARY_SUBTYPE_MD5=4,g.BSON_BINARY_SUBTYPE_USER_DEFINED=128,g.BSON_INT32_MAX=2147483647,g.BSON_INT32_MIN=-2147483648,g.BSON_INT64_MAX=Math.pow(2,63)-1,g.BSON_INT64_MIN=-Math.pow(2,63),g.JS_INT_MAX=9007199254740992,g.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=v}).call(this,e(\"buffer\").Buffer)},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,buffer:void 0}],66:[function(require,module,exports){\"use strict\";var readIEEE754=require(\"../float_parser\").readIEEE754,f=require(\"util\").format,Long=require(\"../long\").Long,Double=require(\"../double\").Double,Timestamp=require(\"../timestamp\").Timestamp,ObjectID=require(\"../objectid\").ObjectID,Symbol=require(\"../symbol\").Symbol,Code=require(\"../code\").Code,MinKey=require(\"../min_key\").MinKey,MaxKey=require(\"../max_key\").MaxKey,DBRef=require(\"../db_ref\").DBRef,BSONRegExp=require(\"../regexp\").BSONRegExp,Binary=require(\"../binary\").Binary,deserialize=function(e,t,n){t=null==t?{}:t;var r=t&&t.index?t.index:0,i=e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24;if(5>i||e.length<i)throw new Error(\"corrupt bson message\");if(0!=e[r+i-1])throw new Error(\"One object, sized correctly, with a spot for an EOO, but the EOO isn't 0x00\");return deserializeObject(e,r,t,n)},deserializeObject=function(e,t,n,r){var i=null==n.evalFunctions?!1:n.evalFunctions,o=null==n.cacheFunctions?!1:n.cacheFunctions,a=null==n.cacheFunctionsCrc32?!1:n.cacheFunctionsCrc32,s=null==n.promoteLongs?!0:n.promoteLongs,c=null==n.fieldsAsRaw?null:n.fieldsAsRaw,u=null==n.raw?!1:n.raw,p=\"boolean\"==typeof n.bsonRegExp?n.bsonRegExp:!1,l=null==n.promoteBuffers?!1:n.promoteBuffers;if(e.length<5)throw new Error(\"corrupt bson message < 5 bytes long\");var f=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(5>f||f>e.length)throw new Error(\"corrupt bson message\");for(var d=r?[]:{};;){var h=e[t++];if(0==h)break;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var v=e.toString(\"utf8\",t,m);if(t=m+1,h==BSON.BSON_DATA_STRING){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=e.toString(\"utf8\",t,t+g-1),t+=g}else if(h==BSON.BSON_DATA_OID){var y=e.toString(\"binary\",t,t+12);d[v]=new ObjectID(y),t+=12}else if(h==BSON.BSON_DATA_INT)d[v]=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;else if(h==BSON.BSON_DATA_NUMBER)d[v]=e.readDoubleLE(t),t+=8;else if(h==BSON.BSON_DATA_DATE){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Date(new Long(b,x).toNumber())}else if(h==BSON.BSON_DATA_BOOLEAN)d[v]=1==e[t++];else if(h==BSON.BSON_DATA_OBJECT){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24;\nif(0>=_||_>e.length-t)throw new Error(\"bad embedded document length in bson\");u?d[v]=e.slice(t,t+_):d[v]=deserializeObject(e,w,n,!1),t+=_}else if(h==BSON.BSON_DATA_ARRAY){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,k=n;if(c&&c[v]){k={};for(var j in n)k[j]=n[j];k.raw=!0}d[v]=deserializeObject(e,w,k,!0),t+=_}else if(h==BSON.BSON_DATA_UNDEFINED||h==BSON.BSON_DATA_NULL)d[v]=null;else if(h==BSON.BSON_DATA_LONG){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,S=new Long(b,x);s?d[v]=S.lessThanOrEqual(JS_INT_MAX_LONG)&&S.greaterThanOrEqual(JS_INT_MIN_LONG)?S.toNumber():S:d[v]=S}else if(h==BSON.BSON_DATA_BINARY){var E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,O=e[t++];if(null!=e.slice)O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24),l?d[v]=e.slice(t,t+E):d[v]=new Binary(e.slice(t,t+E),O);else{var A=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(E)):new Array(E);O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);for(var m=0;E>m;m++)A[m]=e[t+m];l?d[v]=A:d[v]=new Binary(A,O)}t+=E}else if(h==BSON.BSON_DATA_REGEXP&&0==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1;for(var I=new Array(T.length),m=0;m<T.length;m++)switch(T[m]){case\"m\":I[m]=\"m\";break;case\"s\":I[m]=\"g\";break;case\"i\":I[m]=\"i\"}d[v]=new RegExp(C,I.join(\"\"))}else if(h==BSON.BSON_DATA_REGEXP&&1==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1,d[v]=new BSONRegExp(C,T)}else if(h==BSON.BSON_DATA_SYMBOL){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=new Symbol(e.toString(\"utf8\",t,t+g-1)),t+=g}else if(h==BSON.BSON_DATA_TIMESTAMP){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Timestamp(b,x)}else if(h==BSON.BSON_DATA_MIN_KEY)d[v]=new MinKey;else if(h==BSON.BSON_DATA_MAX_KEY)d[v]=new MaxKey;else if(h==BSON.BSON_DATA_CODE){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);if(i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P)}else d[v]=new Code(P,{});t+=g}else if(h==BSON.BSON_DATA_CODE_W_SCOPE){var g=(e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);t+=g;var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,M=deserializeObject(e,w,n,!1);if(t+=_,i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P);d[v].scope=M}else d[v]=new Code(P,M)}}return null!=d.$id&&(d=new DBRef(d.$ref,d.$id,d.$db)),d},isolateEvalWithHash=function(functionCache,hash,functionString,object){var value=null;return null==functionCache[hash]&&(eval(\"value = \"+functionString),functionCache[hash]=value),functionCache[hash].bind(object)},isolateEval=function(functionString){var value=null;return eval(\"value = \"+functionString),value},BSON={},functionCache=BSON.functionCache={};BSON.BSON_DATA_NUMBER=1,BSON.BSON_DATA_STRING=2,BSON.BSON_DATA_OBJECT=3,BSON.BSON_DATA_ARRAY=4,BSON.BSON_DATA_BINARY=5,BSON.BSON_DATA_UNDEFINED=7,BSON.BSON_DATA_OID=7,BSON.BSON_DATA_BOOLEAN=8,BSON.BSON_DATA_DATE=9,BSON.BSON_DATA_NULL=10,BSON.BSON_DATA_REGEXP=11,BSON.BSON_DATA_CODE=13,BSON.BSON_DATA_SYMBOL=14,BSON.BSON_DATA_CODE_W_SCOPE=15,BSON.BSON_DATA_INT=16,BSON.BSON_DATA_TIMESTAMP=17,BSON.BSON_DATA_LONG=18,BSON.BSON_DATA_MIN_KEY=255,BSON.BSON_DATA_MAX_KEY=127,BSON.BSON_BINARY_SUBTYPE_DEFAULT=0,BSON.BSON_BINARY_SUBTYPE_FUNCTION=1,BSON.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,BSON.BSON_BINARY_SUBTYPE_UUID=3,BSON.BSON_BINARY_SUBTYPE_MD5=4,BSON.BSON_BINARY_SUBTYPE_USER_DEFINED=128,BSON.BSON_INT32_MAX=2147483647,BSON.BSON_INT32_MIN=-2147483648,BSON.BSON_INT64_MAX=Math.pow(2,63)-1,BSON.BSON_INT64_MIN=-Math.pow(2,63),BSON.JS_INT_MAX=9007199254740992,BSON.JS_INT_MIN=-9007199254740992;var JS_INT_MAX_LONG=Long.fromNumber(9007199254740992),JS_INT_MIN_LONG=Long.fromNumber(-9007199254740992);module.exports=deserialize},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,util:void 0}],67:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../float_parser\").writeIEEE754,i=(e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../map\"),a=(e(\"../double\").Double,e(\"../timestamp\").Timestamp,e(\"../objectid\").ObjectID,e(\"../symbol\").Symbol,e(\"../code\").Code,e(\"../regexp\").BSONRegExp,e(\"../min_key\").MinKey),s=(e(\"../max_key\").MaxKey,e(\"../db_ref\").DBRef,e(\"../binary\").Binary),c=/\\x00/,u=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},l=function(e,t,n,r){e[r++]=T.BSON_DATA_STRING;var i=e.write(t,r,\"utf8\");r=r+i+1,e[r-1]=0;var o=e.write(n,r+4,\"utf8\");return e[r+3]=o+1>>24&255,e[r+2]=o+1>>16&255,e[r+1]=o+1>>8&255,e[r]=o+1&255,r=r+4+o,e[r++]=0,r},f=function(e,t,n,o){if(Math.floor(n)===n&&n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX)if(n>=T.BSON_INT32_MIN&&n<=T.BSON_INT32_MAX){e[o++]=T.BSON_DATA_INT;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,e[o++]=255&n,e[o++]=n>>8&255,e[o++]=n>>16&255,e[o++]=n>>24&255}else if(n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX){e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}else{e[o++]=T.BSON_DATA_LONG;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0;var s=i.fromNumber(n),c=s.getLowBits(),u=s.getHighBits();e[o++]=255&c,e[o++]=c>>8&255,e[o++]=c>>16&255,e[o++]=c>>24&255,e[o++]=255&u,e[o++]=u>>8&255,e[o++]=u>>16&255,e[o++]=u>>24&255}else{e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}return o},d=function(e,t,n,r){e[r++]=T.BSON_DATA_NULL;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},h=function(e,t,n,r){e[r++]=T.BSON_DATA_BOOLEAN;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e[r++]=n?1:0,r},m=function(e,t,n,r){e[r++]=T.BSON_DATA_DATE;var o=e.write(t,r,\"utf8\");r+=o,e[r++]=0;var a=i.fromNumber(n.getTime()),s=a.getLowBits(),c=a.getHighBits();return e[r++]=255&s,e[r++]=s>>8&255,e[r++]=s>>16&255,e[r++]=s>>24&255,e[r++]=255&c,e[r++]=c>>8&255,e[r++]=c>>16&255,e[r++]=c>>24&255,r},v=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");if(r+=i,e[r++]=0,n.source&&null!=n.source.match(c))throw Error(\"value \"+n.source+\" must not contain null bytes\");return r+=e.write(n.source,r,\"utf8\"),e[r++]=0,n.global&&(e[r++]=115),n.ignoreCase&&(e[r++]=105),n.multiline&&(e[r++]=109),e[r++]=0,r},g=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r+=e.write(n.pattern,r,\"utf8\"),e[r++]=0,r+=e.write(n.options,r,\"utf8\"),e[r++]=0,r},y=function(e,t,n,r){null===n?e[r++]=T.BSON_DATA_NULL:n instanceof a?e[r++]=T.BSON_DATA_MIN_KEY:e[r++]=T.BSON_DATA_MAX_KEY;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},b=function(e,t,n,r){e[r++]=T.BSON_DATA_OID;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e.write(n.id,r,\"binary\"),r+12},x=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.length;return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=T.BSON_BINARY_SUBTYPE_DEFAULT,n.copy(e,r,0,o),r+=o},w=function(e,t,n,r,i,o,a,s){e[r++]=Array.isArray(n)?T.BSON_DATA_ARRAY:T.BSON_DATA_OBJECT;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=C(e,n,i,r,o+1,a,s);return u},_=function(e,t,n,r){e[r++]=\"Long\"==n._bsontype?T.BSON_DATA_LONG:T.BSON_DATA_TIMESTAMP;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.getLowBits(),a=n.getHighBits();return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,r},k=function(e,t,n,i){e[i++]=T.BSON_DATA_NUMBER;var o=e.write(t,i,\"utf8\");return i+=o,e[i++]=0,r(e,n,i,\"little\",52,8),i+=8},j=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_CODE;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s=n.toString(),c=e.write(s,r+4,\"utf8\")+1;return e[r]=255&c,e[r+1]=c>>8&255,e[r+2]=c>>16&255,e[r+3]=c>>24&255,r=r+4+c-1,e[r++]=0,r},S=function(e,t,n,r,i,o,a,s){if(null!=n.scope&&Object.keys(n.scope).length>0){e[r++]=T.BSON_DATA_CODE_W_SCOPE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=r,p=\"string\"==typeof n.code?n.code:n.code.toString();r+=4;var l=e.write(p,r+4,\"utf8\")+1;e[r]=255&l,e[r+1]=l>>8&255,e[r+2]=l>>16&255,e[r+3]=l>>24&255,e[r+4+l-1]=0,r=r+l+4;var f=C(e,n.scope,i,r,o+1,a,s);r=f-1;var d=f-u;e[u++]=255&d,e[u++]=d>>8&255,e[u++]=d>>16&255,e[u++]=d>>24&255,e[r++]=0}else{e[r++]=T.BSON_DATA_CODE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var p=n.code.toString(),h=e.write(p,r+4,\"utf8\")+1;e[r]=255&h,e[r+1]=h>>8&255,e[r+2]=h>>16&255,e[r+3]=h>>24&255,r=r+4+h-1,e[r++]=0}return r},E=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.value(!0),a=n.position;return e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,e[r++]=n.sub_type,n.sub_type==s.SUBTYPE_BYTE_ARRAY&&(e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255),o.copy(e,r,0,n.position),r+=n.position},O=function(e,t,n,r){e[r++]=T.BSON_DATA_SYMBOL;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=e.write(n.value,r+4,\"utf8\")+1;return e[r]=255&o,e[r+1]=o>>8&255,e[r+2]=o>>16&255,e[r+3]=o>>24&255,r=r+4+o-1,e[r++]=0,r},A=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_OBJECT;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s,c=r;s=null!=n.db?C(e,{$ref:n.namespace,$id:n.oid,$db:n.db},!1,r,i+1,o):C(e,{$ref:n.namespace,$id:n.oid},!1,r,i+1,o);var u=s-c;return e[c++]=255&u,e[c++]=u>>8&255,e[c++]=u>>16&255,e[c++]=u>>24&255,s},C=function(e,t,r,i,a,s,C){i=i||0;var T=i+4;if(Array.isArray(t))for(var I=0;I<t.length;I++){var P=\"\"+I,F=t[I];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):\"undefined\"==M||null==F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T))}else if(t instanceof o)for(var z=t.entries(),B=!1;!B;){var N=z.next();if(B=N.done,!B){var P=N.value[0],F=N.value[1],M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}else{if(t.toBSON){if(\"function\"!=typeof t.toBSON)throw new Error(\"toBSON is not a function\");if(t=t.toBSON(),null!=t&&\"object\"!=typeof t)throw new Error(\"toBSON function did not return an object\")}for(var P in t){var F=t[P];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}e[T++]=0;var D=T-i;return e[i++]=255&D,e[i++]=D>>8&255,e[i++]=D>>16&255,e[i++]=D>>24&255,T},T={};T.functionCache={};T.BSON_DATA_NUMBER=1,T.BSON_DATA_STRING=2,T.BSON_DATA_OBJECT=3,T.BSON_DATA_ARRAY=4,T.BSON_DATA_BINARY=5,T.BSON_DATA_OID=7,T.BSON_DATA_BOOLEAN=8,T.BSON_DATA_DATE=9,T.BSON_DATA_NULL=10,T.BSON_DATA_REGEXP=11,T.BSON_DATA_CODE=13,T.BSON_DATA_SYMBOL=14,T.BSON_DATA_CODE_W_SCOPE=15,T.BSON_DATA_INT=16,T.BSON_DATA_TIMESTAMP=17,T.BSON_DATA_LONG=18,T.BSON_DATA_MIN_KEY=255,T.BSON_DATA_MAX_KEY=127,T.BSON_BINARY_SUBTYPE_DEFAULT=0,T.BSON_BINARY_SUBTYPE_FUNCTION=1,T.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,T.BSON_BINARY_SUBTYPE_UUID=3,T.BSON_BINARY_SUBTYPE_MD5=4,T.BSON_BINARY_SUBTYPE_USER_DEFINED=128,T.BSON_INT32_MAX=2147483647,T.BSON_INT32_MIN=-2147483648,T.BSON_INT64_MAX=Math.pow(2,63)-1,T.BSON_INT64_MIN=-Math.pow(2,63),T.JS_INT_MAX=9007199254740992,T.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=C}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../map\":61,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70}],68:[function(e,t,n){function r(e,t){if(!(this instanceof r))return new r;this._bsontype=\"BSONRegExp\",this.pattern=e,this.options=t;for(var n=0;n<t.length;n++)if(\"i\"!=this.options[n]&&\"m\"!=this.options[n]&&\"x\"!=this.options[n]&&\"l\"!=this.options[n]&&\"s\"!=this.options[n]&&\"u\"!=this.options[n])throw new Error(\"the regular expression options [\"+this.options[n]+\"] is not supported\")}t.exports=r,t.exports.BSONRegExp=r},{}],69:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Symbol\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toString=function(){return this.value},r.prototype.inspect=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Symbol=r},{}],70:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Timestamp\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Timestamp=r},{}],71:[function(e,t,n){function r(e){this.dict=e||{}}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return\"undefined\"!=typeof t?n.set(e,t,r):void 0},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],72:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":84,stream:void 0,util:void 0}],73:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n=t||{},r=n.type||\"attachment\",a=i(e,n.fallback);return o(new d(r,a))}function i(e,t){if(void 0!==e){var n={};if(\"string\"!=typeof e)throw new TypeError(\"filename must be a string\");if(void 0===t&&(t=!0),\"string\"!=typeof t&&\"boolean\"!=typeof t)throw new TypeError(\"fallback must be a string or boolean\");if(\"string\"==typeof t&&y.test(t))throw new TypeError(\"fallback must be ISO-8859-1 string\");var r=h(e),i=_.test(r),o=\"string\"!=typeof t?t&&s(r):h(t),a=\"string\"==typeof o&&o!==r;return(a||!i||v.test(r))&&(n[\"filename*\"]=r),(i||a)&&(n.filename=a?o:r),n}}function o(e){var t=e.parameters,n=e.type;if(!n||\"string\"!=typeof n||!k.test(n))throw new TypeError(\"invalid type\");var r=String(n).toLowerCase();if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),a=0;a<o.length;a++){i=o[a];var s=\"*\"===i.substr(-1)?f(t[i]):l(t[i]);r+=\"; \"+i+\"=\"+s}return r}function a(e){var t=j.exec(e);if(!t)throw new TypeError(\"invalid extended field value\");var r,i=t[1].toLowerCase(),o=t[2],a=o.replace(g,u);switch(i){case\"iso-8859-1\":r=s(a);break;case\"utf-8\":r=new n(a,\"binary\").toString(\"utf8\");break;default:throw new TypeError(\"unsupported charset in extended field\")}return r}function s(e){return String(e).replace(y,\"?\")}function c(e){if(!e||\"string\"!=typeof e)throw new TypeError(\"argument string is required\");var t=S.exec(e);if(!t)throw new TypeError(\"invalid type format\");var n,r,i=t[0].length,o=t[1].toLowerCase(),s=[],c={};for(i=w.lastIndex=\";\"===t[0].substr(-1)?i-1:i;t=w.exec(e);){if(t.index!==i)throw new TypeError(\"invalid parameter format\");if(i+=t[0].length,n=t[1].toLowerCase(),r=t[2],-1!==s.indexOf(n))throw new TypeError(\"invalid duplicate parameter\");s.push(n),n.indexOf(\"*\")+1!==n.length?\"string\"!=typeof c[n]&&('\"'===r[0]&&(r=r.substr(1,r.length-2).replace(b,\"$1\")),c[n]=r):(n=n.slice(0,-1),r=a(r),c[n]=r)}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return new d(o,c)}function u(e,t){return String.fromCharCode(parseInt(t,16))}function p(e){var t=String(e).charCodeAt(0).toString(16).toUpperCase();return 1===t.length?\"%0\"+t:\"%\"+t}function l(e){var t=String(e);return'\"'+t.replace(x,\"\\\\$1\")+'\"'}function f(e){var t=String(e),n=encodeURIComponent(t).replace(m,p);return\"UTF-8''\"+n}function d(e,t){this.type=e,this.parameters=t}t.exports=r,t.exports.parse=c;var h=e(\"path\").basename,m=/[\\x00-\\x20\"'\\(\\)*,\\/:;<=>?@\\[\\\\\\]\\{\\}\\x7f]/g,v=/%[0-9A-Fa-f]{2}/,g=/%([0-9A-Fa-f]{2})/g,y=/[^\\x20-\\x7e\\xa0-\\xff]/g,b=/\\\\([\\u0000-\\u007f])/g,x=/([\\\\\"])/g,w=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,_=/^[\\x20-\\x7e\\x80-\\xff]+$/,k=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,j=/^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+\\-\\.^_`|~])+)$/,S=/^([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *(?:$|;)/}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,path:void 0}],74:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.type;if(!n||!d.test(n))throw new TypeError(\"invalid type\");var r=n;if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),s=0;s<o.length;s++){if(i=o[s],!p.test(i))throw new TypeError(\"invalid parameter name\");r+=\"; \"+i+\"=\"+a(t[i])}return r}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e),\"string\"!=typeof e))throw new TypeError(\"content-type header is missing from object\");if(\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t=e.indexOf(\";\"),n=-1!==t?e.substr(0,t).trim():e.trim();if(!d.test(n))throw new TypeError(\"invalid media type\");var r,i,a,u=new s(n.toLowerCase());for(c.lastIndex=t;i=c.exec(e);){if(i.index!==t)throw new TypeError(\"invalid parameter format\");t+=i[0].length,r=i[1].toLowerCase(),a=i[2],'\"'===a[0]&&(a=a.substr(1,a.length-2).replace(l,\"$1\")),u.parameters[r]=a}if(-1!==t&&t!==e.length)throw new TypeError(\"invalid parameter format\");return u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){this.parameters=Object.create(null),this.type=e}var c=/; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) */g,u=/^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/,l=/\\\\([\\u000b\\u0020-\\u00ff])/g,f=/([\\\\\"])/g,d=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/;n.format=r,n.parse=i},{}],75:[function(e,t,n){function r(e){return i.createHash(\"sha1\").update(e).digest(\"hex\")}var i=e(\"crypto\");n.sign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Cookie value must be provided as a string.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");return e+\".\"+i.createHmac(\"sha256\",t).update(e).digest(\"base64\").replace(/\\=+$/,\"\")},n.unsign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Signed cookie string must be provided.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");var i=e.slice(0,e.lastIndexOf(\".\")),o=n.sign(i,t);return r(o)==r(e)?i:!1}},{crypto:void 0}],76:[function(e,t,n){function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument str must be a string\");var n={},r=t||{},i=e.split(/; */),s=r.decode||a;return i.forEach(function(e){var t=e.indexOf(\"=\");if(!(0>t)){var r=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();\n'\"'==i[0]&&(i=i.slice(1,-1)),void 0==n[r]&&(n[r]=o(i,s))}}),n}function i(e,t,n){var r=n||{},i=r.encode||s;if(!c.test(e))throw new TypeError(\"argument name is invalid\");var o=i(t);if(o&&!c.test(o))throw new TypeError(\"argument val is invalid\");var a=[e+\"=\"+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error(\"maxAge should be a Number\");a.push(\"Max-Age=\"+u)}if(r.domain){if(!c.test(r.domain))throw new TypeError(\"option domain is invalid\");a.push(\"Domain=\"+r.domain)}if(r.path){if(!c.test(r.path))throw new TypeError(\"option path is invalid\");a.push(\"Path=\"+r.path)}return r.expires&&a.push(\"Expires=\"+r.expires.toUTCString()),r.httpOnly&&a.push(\"HttpOnly\"),r.secure&&a.push(\"Secure\"),a.join(\"; \")}function o(e,t){try{return t(e)}catch(n){return e}}n.parse=r,n.serialize=i;var a=decodeURIComponent,s=encodeURIComponent,c=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/},{}],77:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===v(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function c(e){return\"symbol\"==typeof e}function u(e){return void 0===e}function p(e){return\"[object RegExp]\"===v(e)}function l(e){return\"object\"==typeof e&&null!==e}function f(e){return\"[object Date]\"===v(e)}function d(e){return\"[object Error]\"===v(e)||e instanceof Error}function h(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||\"undefined\"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=c,n.isUndefined=u,n.isRegExp=p,n.isObject=l,n.isDate=f,n.isError=d,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538}],78:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n|=o^a}return 0===n}},{boom:51,crypto:void 0}],79:[function(e,t,n){function r(e,t){var n,r,i,o;if(n=e.name,!(\"signed\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing signed value\");if(!(\"length\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing length value\");if(r=e.integer.signed,i=e.integer.length,o=null,r&&1==i?o=\"int8_t\":1==i?o=\"uint8_t\":r&&2==i?o=\"int16_t\":2==i?o=\"uint16_t\":r&&4==i?o=\"int32_t\":4==i?o=\"uint32_t\":r&&8==i?o=\"int64_t\":8==i&&(o=\"uint64_t\"),null===o)throw new Error(\"Malformed CTF JSON: integer has unsupported length and sign - \"+i+\"/\"+r);return n!=o?\"char\"==n?void p(\"int8_t\"==o):void t.typedef(n,o):void 0}function i(e,t){var n,r;if(n=e.name,!(\"length\"in e[\"float\"]))throw new Error(\"Malformed CTF JSON: float missing length value\");if(r=e[\"float\"].length,4!=r&&8!=r)throw new Error(\"Malformed CTF JSON: float has invalid length value\");if(4==r){if(\"float\"==n)return;t.typedef(n,\"float\")}else if(8==r){if(\"double\"==n)return;t.typedef(n,\"double\")}}function o(e,t){var n,r,i;if(n=e.name,\"string\"!=typeof e.typedef)throw new Error(\"Malformed CTF JSON: typedef value in not a string\");for(r=e.typedef,i=0;i<d.length;i++)if(n==d[i])return;t.typedef(n,r)}function a(e,t){var n,r,i,o,a,s,c;if(s=[],!Array.isArray(e.struct))throw new Error(\"Malformed CTF JSON: struct value is not an array\");for(i=0;i<e.struct.length;i++){if(o=e.struct[i],!(\"name\"in o))throw new Error(\"Malformed CTF JSON: struct member missing name\");if(!(\"type\"in o))throw new Error(\"Malformed CTF JSON: struct member missing type\");if(\"string\"!=typeof o.name)throw new Error(\"Malformed CTF JSON: struct member name isn't a string\");if(\"string\"!=typeof o.type)throw new Error(\"Malformed CTF JSON: struct member type isn't a string\");n=o.name,r=o.type,a=r.indexOf(\" [\"),-1!=a&&(r=r.substring(0,a)+r.substring(a+1,r.length)),c={},c[n]={type:r},s.push(c)}n=e.name,t.typedef(n,s)}function s(e,t){var n,s;if(!(\"name\"in e))throw new Error('Malformed CTF JSON: entry missing \"name\" section');for(n=0;n<f.length;n++)f[n]in e&&s++;if(0===s)throw new Error(\"Malformed CTF JSON: found no entries\");if(s>=2)throw new Error(\"Malformed CTF JSON: found more than one entry\");return\"integer\"in e?void r(e,t):\"float\"in e?void i(e,t):\"typedef\"in e?void o(e,t):\"struct\"in e?void a(e,t):void p(!1,\"shouldn't reach here\")}function c(e,t){var n,r;if(p(e),p(t),!(\"metadata\"in e))throw new Error(\"Invalid CTF JSON: missing metadata section\");if(!(\"ctf2json_version\"in e.metadata))throw new Error(\"Invalid CTF JSON: missing ctf2json_version\");for(n=e.metadata.ctf2json_version,r=0;r<l.length&&l[r]!=n;r++);if(r==l.length)throw new Error(\"Unsuported ctf2json_version: \"+n);if(!(\"data\"in e))throw new Error(\"Invalid CTF JSON: missing data section\");if(!Array.isArray(e.data))throw new Error(\"Malformed CTF JSON: data section is not an array\");for(r=0;r<e.data.length;r++)s(e.data[r],t)}var u=e(\"assert\"),p=u.ok,l=[\"1.0\"],f=[\"integer\",\"float\",\"typedef\",\"struct\"],d=[\"int8_t\",\"uint8_t\",\"int16_t\",\"uint16_t\",\"int32_t\",\"uint32_t\",\"float\",\"double\"];n.ctfParseJson=c},{assert:void 0}],80:[function(e,t,n){function r(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return e[n]}function i(e,t,n){var r=0;return\"big\"==t?(r=e[n]<<8,r|=e[n+1]):(r=e[n],r|=e[n+1]<<8),r}function o(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i(e,t,n)}function a(e,t,n){var r=0;return\"big\"==t?(r=e[n+1]<<16,r|=e[n+2]<<8,r|=e[n+3],r+=e[n]<<24>>>0):(r=e[n+2]<<16,r|=e[n+1]<<8,r|=e[n],r+=e[n+3]<<24>>>0),r}function s(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return a(e,t,n)}function c(e,t,n){var r=new Array(2);return\"big\"==t?(r[0]=s(e,t,n),r[1]=s(e,t,n+4)):(r[0]=s(e,t,n+4),r[1]=s(e,t,n)),r}function u(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return c(e,t,n)}function p(e,t,n){var r;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return r=128&e[n],r?-1*(255-e[n]+1):e[n]}function l(e,t,n){var r,o;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return o=i(e,t,n),r=32768&o,r?-1*(65535-o+1):o}function f(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=a(e,t,n),r=2147483648&i,r?-1*(4294967295-i+1):i}function d(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=c(e,t,n),(r=2147483648&i[0])?(i[0]=-1*(4294967295-i[0]),i[1]=-1*(4294967295-i[1]+1),M.ok(i[1]<=4294967296),-4294967296==i[1]&&(i[1]=0,i[0]--),i):i}function h(e,t,n){var r,i,o,a,s=[],c=127,u=255;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(s[0]=e[n],s[1]=e[n+1],s[2]=e[n+2],s[3]=e[n+3]):(s[3]=e[n],s[2]=e[n+1],s[1]=e[n+2],s[0]=e[n+3]),r=128&s[0],i=(127&s[0])<<1,i|=(128&s[1])>>>7,o=(127&s[1])<<16,o|=s[2]<<8,o|=s[3],r||i!=u||0!==o?r&&i==u&&0===o?Number.NEGATIVE_INFINITY:i==u&&0!==o?Number.NaN:0===i&&0===o?0:(i-=c,i==-c?(i++,a=0):a=1,a=(a+o*Math.pow(2,-23))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function m(e,t,n){var r,i,o,a,s,c=[],u=1023,p=2047;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(c[0]=e[n],c[1]=e[n+1],c[2]=e[n+2],c[3]=e[n+3],c[4]=e[n+4],c[5]=e[n+5],c[6]=e[n+6],c[7]=e[n+7]):(c[7]=e[n],c[6]=e[n+1],c[5]=e[n+2],c[4]=e[n+3],c[3]=e[n+4],c[2]=e[n+5],c[1]=e[n+6],c[0]=e[n+7]),r=128&c[0],i=(127&c[0])<<4,i|=(240&c[1])>>>4,s=c[7],s|=c[6]<<8,s|=c[5]<<16,o=c[4],o|=c[3]<<8,o|=c[2]<<16,o|=(15&c[1])<<24,o*=Math.pow(2,24),o+=s,r||i!=p||0!==o?r&&i==p&&0===o?Number.NEGATIVE_INFINITY:i==p&&0!==o?Number.NaN:0===i&&0===o?0:(i-=u,i==-u?(i++,a=0):a=1,a=(a+o*Math.pow(2,-52))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function v(e,t){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(0>e)throw new Error(\"specified a negative value for writing an unsigned value\");if(e>t)throw new Error(\"value is larger than maximum value for type\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function g(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,255),n[r]=i}function y(e,t,n,r){\"big\"==t?(n[r]=(65280&e)>>>8,n[r+1]=255&e):(n[r+1]=(65280&e)>>>8,n[r]=255&e)}function b(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,65535),y(i,t,n,r)}function x(e,t,n,r){\"big\"==t?(n[r]=(e-(16777215&e))/Math.pow(2,24),n[r+1]=e>>>16&255,n[r+2]=e>>>8&255,n[r+3]=255&e):(n[r+3]=(e-(16777215&e))/Math.pow(2,24),n[r+2]=e>>>16&255,n[r+1]=e>>>8&255,n[r]=255&e)}function w(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,4294967295),x(i,t,n,r)}function _(e,t,n,r){\"big\"==t?(x(e[0],t,n,r),x(e[1],t,n,r+4)):(x(e[0],t,n,r+4),x(e[1],t,n,r))}function k(e,t,n,r){if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");v(e[0],4294967295),v(e[1],4294967295),_(e,t,n,r)}function j(e,t,n){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(e>t)throw new Error(\"value larger than maximum allowed value\");if(n>e)throw new Error(\"value smaller than minimum allowed value\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function S(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,127,-128),i>=0?g(i,t,n,r):g(255+i+1,t,n,r)}function E(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,32767,-32768),i>=0?y(i,t,n,r):y(65535+i+1,t,n,r)}function O(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,2147483647,-2147483648),i>=0?x(i,t,n,r):x(4294967295+i+1,t,n,r)}function A(e,t,n,r){var i,o,a=new Array(2);if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");if(i=e[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,o=e[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=e[0]&&0!=e[1]&&i!=o)throw new Error(\"Both entries in the array must have the same sign\");if(i)v(e[0],2147483647),v(e[1],4294967295);else if(j(e[0],0,-2147483648),j(e[1],0,-4294967295),-2147483648==e[0]&&0!=e[1])throw new Error(\"value smaller than minimum allowed value\");e[0]<0||e[1]<0?(a[0]=4294967295-Math.abs(e[0]),a[1]=4294967296-Math.abs(e[1]),4294967296==a[1]&&(a[1]=0,a[0]++)):(a[0]=e[0],a[1]=e[1]),_(a,t,n,r)}function C(e){return Math.log(e)/Math.log(2)}function T(e){return Math.floor(C(e))}function I(e){return Math.floor(C(e))}function P(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=255,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=255,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=255,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),-127>=s?(o=0,a=e*Math.pow(2,149)&8388607):(o=127+s,a=e*Math.pow(2,23-s),a&=8388607)),c[0]=i<<7|(254&o)>>>1,c[1]=(1&o)<<7|(8323072&a)>>>16,c[2]=(65280&a)>>>8,c[3]=255&a,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3]):(n[r]=c[3],n[r+1]=c[2],n[r+2]=c[1],n[r+3]=c[0])}function F(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=2047,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=2047,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=2047,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),2.225073858507201e-308>=e||-1023>=s?(o=0,a=e*Math.pow(2,1023)*Math.pow(2,51),a%=Math.pow(2,52)):(s>1023&&(s=1023),o=1023+s,a=e*Math.pow(2,-s),a*=Math.pow(2,52),a%=Math.pow(2,52))),c[7]=255&a,c[6]=a>>>8&255,c[5]=a>>>16&255,a=(a-(16777215&a))/Math.pow(2,24),c[4]=255&a,c[3]=a>>>8&255,c[2]=a>>>16&255,c[1]=(15&o)<<4|a>>>24,c[0]=i<<7|(2032&o)>>>4,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3],n[r+4]=c[4],n[r+5]=c[5],n[r+6]=c[6],n[r+7]=c[7]):(n[r+7]=c[0],n[r+6]=c[1],n[r+5]=c[2],n[r+4]=c[3],n[r+3]=c[4],n[r+2]=c[5],n[r+1]=c[6],n[r]=c[7])}var M=e(\"assert\");n.ruint8=r,n.ruint16=o,n.ruint32=s,n.ruint64=u,n.wuint8=g,n.wuint16=b,n.wuint32=w,n.wuint64=k,n.rsint8=p,n.rsint16=l,n.rsint32=f,n.rsint64=d,n.wsint8=S,n.wsint16=E,n.wsint32=O,n.wsint64=A,n.rfloat=h,n.rdouble=m,n.wfloat=P,n.wdouble=F},{assert:void 0}],81:[function(e,t,n){(function(t){function r(e,t,n){var r=N.ruint8(t,e,n);return{value:r,size:1}}function i(e,t,n){var r=N.ruint16(t,e,n);return{value:r,size:2}}function o(e,t,n){var r=N.ruint32(t,e,n);return{value:r,size:4}}function a(e,t,n){var r=N.ruint64(t,e,n);return{value:r,size:8}}function s(e,t,n){var r=N.rsint8(t,e,n);return{value:r,size:1}}function c(e,t,n){var r=N.rsint16(t,e,n);return{value:r,size:2}}function u(e,t,n){var r=N.rsint32(t,e,n);return{value:r,size:4}}function p(e,t,n){var r=N.rsint64(t,e,n);return{value:r,size:8}}function l(e,t,n){var r=N.rfloat(t,e,n);return{value:r,size:4}}function f(e,t,n){var r=N.rdouble(t,e,n);return{value:r,size:8}}function d(e,n,r){var i=new t(1);return i[0]=N.ruint8(n,e,r),{value:i,size:1}}function h(e,n,r,i){var o,a=new t(e);for(o=0;e>o;o++)a[o]=N.ruint8(r,n,i+o);return{value:a,size:e}}function m(e,t,n,r){return N.wuint8(e,t,n,r),1}function v(e,t,n,r){return N.wuint16(e,t,n,r),2}function g(e,t,n,r){return N.wuint32(e,t,n,r),4}function y(e,t,n,r){return N.wuint64(e,t,n,r),8}function b(e,t,n,r){return N.wsint8(e,t,n,r),1}function x(e,t,n,r){return N.wsint16(e,t,n,r),2}function w(e,t,n,r){return N.wsint32(e,t,n,r),4}function _(e,t,n,r){return N.wsint64(e,t,n,r),8}function k(e,t,n,r){return N.wfloat(e,t,n,r),4}function j(e,t,n,r){return N.wdouble(e,t,n,r),8}function S(e,n,r,i){if(!(e instanceof t))throw new Error(\"Input must be a buffer\");return N.ruint8(e[0],n,r,i),1}function E(e,n,r,i,o){var a;if(!(e instanceof t))throw new Error(\"Input must be a buffer\");if(e.length>n)throw new Error(\"value length greater than array length\");for(a=0;a<e.length&&n>a;a++)N.wuint8(e[a],r,i,o+a);for(;n>a;a++)N.wuint8(0,r,o+a);return n}function O(){var e,t={};for(e in q)t[e]=q[e];return t}function A(e){var t,n,r,i;if(\"string\"!=typeof e)throw new Error(\"type must be a Javascript string\");if(n=e.lastIndexOf(\"]\"),-1==n){if(-1!=e.lastIndexOf(\"[\"))throw new Error(\"found invalid type with '[' but no corresponding ']'\");return{type:e}}if(t=e.lastIndexOf(\"[\"),-1==t)throw new Error(\"found invalid type with ']' but no corresponding '['\");if(t>=n)throw new Error(\"malformed type, ']' appears before '['\");return r=e.substring(0,t),i=e.substring(t+1,n),{type:r,len:i}}function C(e,t,n){var r,i,o,a,s,c={};if(!(e instanceof Array))throw new Error(\"definition is not an array\");if(0===e.length)throw new Error(\"definition must have at least one element\");for(r=0;r<e.length;r++){if(o=e[r],!(o instanceof Object))throw new Error(\"definition must be an array ofobjects\");if(a=Object.keys(o),1!=a.length)throw new Error(\"definition entry must only have one key\");if(a[0]in c)throw new Error(\"Specified name already specified: \"+a[0]);if(!(\"type\"in o[a[0]]))throw new Error(\"missing required type definition\");for(s=A(o[a[0]].type);void 0!==s.len;){if(isNaN(parseInt(s.len,10))&&!(s.len in c))throw new Error(\"Given an array length without a matching type\");s=A(s.type)}if(!(s.type in t))throw new Error(\"type not found or typdefed: \"+s.type);if(void 0!==n)for(i=0;i<n.length;i++)if(!(n[i]in o[a[0]]))throw new Error(\"Missing required field: \"+n[i]);c[a[0]]=!0}}function T(e){if(!e)throw new Error(\"missing required argument\");if(!(\"endian\"in e))throw new Error(\"missing required endian value\");if(\"big\"!=e.endian&&\"little\"!=e.endian)throw new Error(\"Invalid endian type\");if(\"char-type\"in e&&\"uint8\"!=e[\"char-type\"]&&\"int8\"!=e[\"char-type\"])throw new Error(\"invalid option for char-type: \"+e[\"char-type\"]);this.endian=e.endian,this.types=O(),\"char-type\"in e&&\"uint8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.uint8_t),\"char-type\"in e&&\"int8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.int8_t)}function I(e,t){for(var n=\"\",r=A(e);void 0!==r.len;){if(isNaN(parseInt(r.len,10))){if(\"number\"!=typeof t[r.len])throw new Error(\"cannot sawp in non-number for array value\");n=\"[\"+t[r.len]+\"]\"+n}else n=\"[\"+r.len+\"]\"+n;r=A(r.type)}return n=r.type+n}function P(e){var t,n,r;for(n=[],t=0;t<e.length;t++)r=Object.keys(e[t])[0],D.ok(\"value\"in e[t][r]),n.push(e[t][r].value);return n}function F(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(e[0]>=1048576)throw new Error(\"value would become approximated\");return e[0]*Math.pow(2,32)+e[1]}function M(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");return Math.pow(2,32)*e[0]+e[1]}function z(e,t){var n=new T(t);return B.ctfParseJson(e,n),n}var B=e(\"./ctf.js\"),N=e(\"./ctio.js\"),D=e(\"assert\"),q={uint8_t:{read:r,write:m},uint16_t:{read:i,write:v},uint32_t:{read:o,write:g},uint64_t:{read:a,write:y},int8_t:{read:s,write:b},int16_t:{read:c,write:x},int32_t:{read:u,write:w},int64_t:{read:p,write:_},\"float\":{read:l,write:k},\"double\":{read:f,write:j},\"char\":{read:d,write:S},\"char[]\":{read:h,write:E}};T.prototype.setEndian=function(e){if(\"big\"!=e&&\"little\"!=e)throw new Error(\"invalid endian type, must be big or little\");this.endian=e},T.prototype.getEndian=function(){return this.endian},T.prototype.typedef=function(e,t){var n;if(void 0===e)throw new(Error(\"missing required typedef argument: name\"));if(void 0===t)throw new(Error(\"missing required typedef argument: value\"));if(\"string\"!=typeof e)throw new(Error(\"the name of a type must be a string\"));if(n=A(e),void 0!==n.len)throw new Error(\"Cannot have an array in the typedef name\");if(e in this.types)throw new Error(\"typedef name already present: \"+e);if(\"string\"!=typeof t&&!(t instanceof Array))throw new Error(\"typedef value must either be a string or struct\");if(\"string\"==typeof t){if(n=A(t),void 0!==n.len&&isNaN(parseInt(n.len,10)))throw new(Error(\"typedef value must use fixed size array when outside of a struct\"));this.types[e]=t}else C(t,this.types),this.types[e]=t},T.prototype.lstypes=function(){var e,t={};for(e in this.types)e in q||(t[e]=this.types[e]);return t},T.prototype.resolveTypedef=function(e,t,n,r,i){var o;if(D.ok(e in this.types),\"string\"==typeof this.types[e]){if(o=A(this.types[e]),\"read\"==t)return this.readEntry(o,n,r);if(\"write\"==t)return this.writeEntry(i,o,n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")}if(\"read\"==t)return this.readStruct(this.types[e],n,r);if(\"write\"==t)return this.writeStruct(i,this.types[e],n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")},T.prototype.readEntry=function(e,t,n){var r,i;if(void 0!==e.len){if(i=parseInt(e.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");r=\"char\"==e.type?this.types[\"char[]\"].read(i,this.endian,t,n):this.readArray(e.type,i,t,n)}else r=e.type in q?this.types[e.type].read(this.endian,t,n):this.resolveTypedef(e.type,\"read\",t,n);return r},T.prototype.readArray=function(e,t,n,r){var i,o,a,s=r,c=new Array(t);for(a=A(e),i=0;t>i;i++)o=this.readEntry(a,n,r),r+=o.size,c[i]=o.value;return{value:c,size:r-s}},T.prototype.readStruct=function(e,t,n){var r,i,o,a,s,c=n,u={};for(i=0;i<e.length;i++)s=Object.keys(e[i])[0],a=e[i][s],o=A(I(a.type,u)),\"offset\"in a&&(n=c+a.offset),r=this.readEntry(o,t,n),n+=r.size,u[s]=r.value;return{value:u,size:n-c}},T.prototype.readData=function(e,t,n){if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");return C(e,this.types),this.readStruct(e,t,n).value},T.prototype.writeArray=function(e,t,n,r,i){var o,a,s=i;if(!(e instanceof Array))throw new Error(\"asked to write an array, but value is not an array\");if(e.length!=n)throw new Error(\"asked to write array of length \"+n+\" but that does not match value length: \"+e.length);for(a=A(t),o=0;n>o;o++)i+=this.writeEntry(e[o],a,r,i);return i-s},T.prototype.writeEntry=function(e,t,n,r){var i,o;if(void 0!==t.len){if(i=parseInt(t.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");o=\"char\"==t.type?this.types[\"char[]\"].write(e,i,this.endian,n,r):this.writeArray(e,t.type,i,n,r)}else o=t.type in q?this.types[t.type].write(e,this.endian,n,r):this.resolveTypedef(t.type,\"write\",n,r,e);return o},T.prototype.writeStruct=function(e,t,n,r){var i,o,a,s,c=r,u={};for(i=0;i<t.length;i++)s=Object.keys(t[i])[0],o=t[i][s],a=A(I(o.type,u)),\"offset\"in o&&(r=c+o.offset),r+=this.writeEntry(e[i],a,n,r),u[s]=e[i];return r},T.prototype.writeData=function(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");if(i=null!=r&&void 0!=r){if(!Array.isArray(r))throw new Error(\"missing values for writing\");C(e,this.types)}else C(e,this.types,[\"value\"]);this.writeStruct(i?r:P(e),e,t,n)},n.Parser=T,n.toAbs64=F,n.toApprox64=M,n.parseCTF=z,n.ruint8=N.ruint8,n.ruint16=N.ruint16,n.ruint32=N.ruint32,n.ruint64=N.ruint64,n.wuint8=N.wuint8,n.wuint16=N.wuint16,n.wuint32=N.wuint32,n.wuint64=N.wuint64,n.rsint8=N.rsint8,n.rsint16=N.rsint16,n.rsint32=N.rsint32,n.rsint64=N.rsint64,n.wsint8=N.wsint8,n.wsint16=N.wsint16,n.wsint32=N.wsint32,n.wsint64=N.wsint64,n.rfloat=N.rfloat,n.rdouble=N.rdouble,n.wfloat=N.wfloat,n.wdouble=N.wdouble}).call(this,e(\"buffer\").Buffer)},{\"./ctf.js\":79,\"./ctio.js\":80,assert:void 0,buffer:void 0}],82:[function(e,t,n){function r(){return n.colors[p++%n.colors.length]}function i(e){function t(){}function i(){var e=i,t=+new Date,o=t-(u||t);e.diff=o,e.prev=u,e.curr=t,u=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),\"string\"!=typeof a[0]&&(a=[\"%o\"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,r){if(\"%%\"===t)return t;s++;var i=n.formatters[r];if(\"function\"==typeof i){var o=a[s];t=i.call(e,o),a.splice(s,1),s--}return t}),\"function\"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var c=i.log||n.log||console.log.bind(console);c.apply(e,a)}t.enabled=!1,i.enabled=!0;var o=n.enabled(e)?i:t;return o.namespace=e,o}function o(e){n.save(e);for(var t=(e||\"\").split(/[\\s,]+/),r=t.length,i=0;r>i;i++)t[i]&&(e=t[i].replace(/\\*/g,\".*?\"),\"-\"===e[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))}function a(){n.enable(\"\")}function s(e){var t,r;for(t=0,r=n.skips.length;r>t;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;r>t;t++)if(n.names[t].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={};var u,p=0},{ms:355}],83:[function(e,t,n){function r(){var e=(process.env.DEBUG_COLORS||\"\").trim().toLowerCase();return 0===e.length?u.isatty(l):\"0\"!==e&&\"no\"!==e&&\"false\"!==e&&\"disabled\"!==e}function i(){var e=arguments,t=this.useColors,r=this.namespace;if(t){var i=this.color;e[0]=\"  \u001b[3\"+i+\";1m\"+r+\" \u001b[0m\"+e[0]+\"\u001b[3\"+i+\"m +\"+n.humanize(this.diff)+\"\u001b[0m\"}else e[0]=(new Date).toUTCString()+\" \"+r+\" \"+e[0];return e}function o(){return f.write(p.format.apply(this,arguments)+\"\\n\")}function a(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e}function s(){return process.env.DEBUG}function c(t){var n,r=process.binding(\"tty_wrap\");switch(r.guessHandleType(t)){case\"TTY\":n=new u.WriteStream(t),n._type=\"tty\",n._handle&&n._handle.unref&&n._handle.unref();break;case\"FILE\":var i=e(\"fs\");n=new i.SyncWriteStream(t,{autoClose:!1}),n._type=\"fs\";break;case\"PIPE\":case\"TCP\":var o=e(\"net\");n=new o.Socket({fd:t,readable:!1,writable:!0}),n.readable=!1,n.read=null,n._type=\"pipe\",n._handle&&n._handle.unref&&n._handle.unref();break;default:throw new Error(\"Implement me. Unknown stream file type!\")}return n.fd=t,n._isStdio=!0,n}var u=e(\"tty\"),p=e(\"util\");n=t.exports=e(\"./debug\"),n.log=o,n.formatArgs=i,n.save=a,n.load=s,n.useColors=r,n.colors=[6,2,3,4,5,1];var l=parseInt(process.env.DEBUG_FD,10)||2,f=1===l?process.stdout:2===l?process.stderr:c(l),d=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};n.formatters.o=function(e){return d(e,this.useColors).replace(/\\s*\\n\\s*/g,\" \")},n.enable(s())},{\"./debug\":82,fs:void 0,net:void 0,tty:void 0,util:void 0}],84:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,\"readable\",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],85:[function(require,module,exports){function containsNamespace(e,t){var n=e.split(/[ ,]+/);t=String(t).toLowerCase();for(var r=0;r<n.length;r++)if((e=n[r])&&(\"*\"===e||e.toLowerCase()===t))return!0;return!1}function convertDataDescriptorToAccessor(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),i=r.value;return r.get=function(){return i},r.writable&&(r.set=function(e){return i=e}),delete r.value,delete r.writable,Object.defineProperty(e,t,r),r}function createArgumentsString(e){for(var t=\"\",n=0;e>n;n++)t+=\", arg\"+n;return t.substr(2)}function createStackString(e){var t=this.name+\": \"+this.namespace;this.message&&(t+=\" deprecated \"+this.message);for(var n=0;n<e.length;n++)t+=\"\\n    at \"+callSiteToString(e[n]);return t}function depd(e){function t(e){log.call(t,e)}if(!e)throw new TypeError(\"argument namespace is required\");var n=getStack(),r=callSiteLocation(n[1]),i=r[0];return t._file=i,t._ignored=isignored(e),t._namespace=e,t._traced=istraced(e),t._warned=Object.create(null),t[\"function\"]=wrapfunction,t.property=wrapproperty,t}function isignored(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||\"\";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||\"\";return containsNamespace(t,e)}function log(e,t){var n=0!==eventListenerCount(process,\"deprecation\");if(n||!this._ignored){var r,i,o,a=0,s=!1,c=getStack(),u=this._file;for(t?(o=callSiteLocation(c[1]),o.name=t.name,u=o[0]):(a=2,t=callSiteLocation(c[a]),o=t);a<c.length;a++)if(r=callSiteLocation(c[a]),i=r[0],i===u)s=!0;else if(i===this._file)u=this._file;else if(s)break;\nvar p=r?t.join(\":\")+\"__\"+r.join(\":\"):void 0;if(!(void 0!==p&&p in this._warned)){if(this._warned[p]=!0,e||(e=defaultMessage(o!==t&&o.name?o:t)),n){var l=DeprecationError(this._namespace,e,c.slice(a));return void process.emit(\"deprecation\",l)}var f=process.stderr.isTTY?formatColor:formatPlain,d=f.call(this,e,r,c.slice(a));process.stderr.write(d+\"\\n\",\"utf8\")}}}function callSiteLocation(e){var t=e.getFileName()||\"<anonymous>\",n=e.getLineNumber(),r=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+\", \"+t);var i=[t,n,r];return i.callSite=e,i.name=e.getFunctionName(),i}function defaultMessage(e){var t=e.callSite,n=e.name;n||(n=\"<anonymous@\"+formatLocation(e)+\">\");var r=t.getThis(),i=r&&t.getTypeName();return\"Object\"===i&&(i=void 0),\"Function\"===i&&(i=r.name||i),i&&t.getMethodName()?i+\".\"+n:n}function formatPlain(e,t,n){var r=(new Date).toUTCString(),i=r+\" \"+this._namespace+\" deprecated \"+e;if(this._traced){for(var o=0;o<n.length;o++)i+=\"\\n    at \"+callSiteToString(n[o]);return i}return t&&(i+=\" at \"+formatLocation(t)),i}function formatColor(e,t,n){var r=\"\u001b[36;1m\"+this._namespace+\"\u001b[22;39m \u001b[33;1mdeprecated\u001b[22;39m \u001b[0m\"+e+\"\u001b[39m\";if(this._traced){for(var i=0;i<n.length;i++)r+=\"\\n    \u001b[36mat \"+callSiteToString(n[i])+\"\u001b[39m\";return r}return t&&(r+=\" \u001b[36m\"+formatLocation(t)+\"\u001b[39m\"),r}function formatLocation(e){return relative(basePath,e[0])+\":\"+e[1]+\":\"+e[2]}function getStack(){var e=Error.stackTraceLimit,t={},n=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(t);var r=t.stack.slice(1);return Error.prepareStackTrace=n,Error.stackTraceLimit=e,r}function prepareObjectStackTrace(e,t){return t}function wrapfunction(fn,message){if(\"function\"!=typeof fn)throw new TypeError(\"argument fn must be a function\");var args=createArgumentsString(fn.length),deprecate=this,stack=getStack(),site=callSiteLocation(stack[1]);site.name=fn.name;var deprecatedfn=eval(\"(function (\"+args+') {\\n\"use strict\"\\nlog.call(deprecate, message, site)\\nreturn fn.apply(this, arguments)\\n})');return deprecatedfn}function wrapproperty(e,t,n){if(!e||\"object\"!=typeof e&&\"function\"!=typeof e)throw new TypeError(\"argument obj must be object\");var r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw new TypeError(\"must call property on owner object\");if(!r.configurable)throw new TypeError(\"property must be configurable\");var i=this,o=getStack(),a=callSiteLocation(o[1]);a.name=t,\"value\"in r&&(r=convertDataDescriptorToAccessor(e,t,n));var s=r.get,c=r.set;\"function\"==typeof s&&(r.get=function(){return log.call(i,n,a),s.apply(this,arguments)}),\"function\"==typeof c&&(r.set=function(){return log.call(i,n,a),c.apply(this,arguments)}),Object.defineProperty(e,t,r)}function DeprecationError(e,t,n){var r,i=new Error;return Object.defineProperty(i,\"constructor\",{value:DeprecationError}),Object.defineProperty(i,\"message\",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(i,\"name\",{enumerable:!1,configurable:!0,value:\"DeprecationError\",writable:!0}),Object.defineProperty(i,\"namespace\",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(i,\"stack\",{configurable:!0,enumerable:!1,get:function(){return void 0!==r?r:r=createStackString.call(this,n)},set:function(e){r=e}}),i}var callSiteToString=require(\"./lib/compat\").callSiteToString,eventListenerCount=require(\"./lib/compat\").eventListenerCount,relative=require(\"path\").relative;module.exports=depd;var basePath=process.cwd()},{\"./lib/compat\":89,path:void 0}],86:[function(e,t,n){(function(e){\"use strict\";function n(t){for(var n=0,r=0,i=t.length;i>r;r++)n+=t[r].length;for(var o=new e(n),a=0,r=0,i=t.length;i>r;r++)t[r].copy(o,a),a+=t[r].length;return o}t.exports=n}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],87:[function(e,t,n){\"use strict\";function r(e){var t,n=\"\";if(e.isNative()?n=\"native\":e.isEval()?(t=e.getScriptNameOrSourceURL(),t||(n=e.getEvalOrigin())):t=e.getFileName(),t){n+=t;var r=e.getLineNumber();if(null!=r){n+=\":\"+r;var i=e.getColumnNumber();i&&(n+=\":\"+i)}}return n||\"unknown source\"}function i(e){var t=!0,n=r(e),i=e.getFunctionName(),a=e.isConstructor(),s=!(e.isToplevel()||a),c=\"\";if(s){var u=e.getMethodName(),p=o(e);i?(p&&0!==i.indexOf(p)&&(c+=p+\".\"),c+=i,u&&i.lastIndexOf(\".\"+u)!==i.length-u.length-1&&(c+=\" [as \"+u+\"]\")):c+=p+\".\"+(u||\"<anonymous>\")}else a?c+=\"new \"+(i||\"<anonymous>\"):i?c+=i:(t=!1,c+=n);return t&&(c+=\" (\"+n+\")\"),c}function o(e){var t=e.receiver;return t.constructor&&t.constructor.name||null}t.exports=i},{}],88:[function(e,t,n){\"use strict\";function r(e,t){return e.listeners(t).length}t.exports=r},{}],89:[function(e,t,n){\"use strict\";function r(e,t,n){function r(){var r=n();return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r}),r}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}function i(e){return e.toString()}var o=e(\"buffer\"),a=e(\"events\").EventEmitter;r(t.exports,\"bufferConcat\",function(){return o.concat||e(\"./buffer-concat\")}),r(t.exports,\"callSiteToString\",function(){function t(e,t){return t}var n=Error.stackTraceLimit,r={},o=Error.prepareStackTrace;Error.prepareStackTrace=t,Error.stackTraceLimit=2,Error.captureStackTrace(r);var a=r.stack.slice();return Error.prepareStackTrace=o,Error.stackTraceLimit=n,a[0].toString?i:e(\"./callsite-tostring\")}),r(t.exports,\"eventListenerCount\",function(){return a.listenerCount||e(\"./event-listener-count\")})},{\"./buffer-concat\":86,\"./callsite-tostring\":87,\"./event-listener-count\":88,buffer:void 0,events:void 0}],90:[function(e,t,n){\"use strict\";function r(e){return e instanceof a?i(e):e instanceof s?(\"function\"==typeof e.destroy&&e.destroy(),e):e}function i(e){return e.destroy(),\"function\"==typeof e.close&&e.on(\"open\",o),e}function o(){\"number\"==typeof this.fd&&this.close()}var a=e(\"fs\").ReadStream,s=e(\"stream\");t.exports=r},{fs:void 0,stream:void 0}],91:[function(e,t,n){(function(t){function r(e,t){return e.length>=t?e:r(\"0\"+e,t)}var i=e(\"crypto\"),o=e(\"jsbn\").BigInteger;e(\"./lib/ec.js\").ECPointFp;n.ECCurves=e(\"./lib/sec.js\"),n.ECKey=function(e,n,a){var s,c=e(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(a){var e=c.getCurve();this.P=e.decodePointHex(n.toString(\"hex\"))}else{if(n.length!=p)return!1;s=new o(n.toString(\"hex\"),16)}else{var l=u.subtract(o.ONE),f=new o(i.randomBytes(u.bitLength()));s=f.mod(l).add(o.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),\"hex\")),s&&(this.PrivateKey=new t(r(s.toString(16),2*p),\"hex\"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var n=e.P.multiply(s);return new t(r(n.getX().toBigInteger().toString(16),2*p),\"hex\")})}}).call(this,e(\"buffer\").Buffer)},{\"./lib/ec.js\":92,\"./lib/sec.js\":93,buffer:void 0,crypto:void 0,jsbn:171}],92:[function(e,t,n){function r(e,t){this.x=t,this.q=e}function i(e){return e==this?!0:this.q.equals(e.q)&&this.x.equals(e.x)}function o(){return this.x}function a(){return new r(this.q,this.x.negate().mod(this.q))}function s(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function c(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function u(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function p(){return new r(this.q,this.x.square().mod(this.q))}function l(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function f(e,t,n,r){this.curve=e,this.x=t,this.y=n,null==r?this.z=I.ONE:this.z=r,this.zinv=null}function d(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function h(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function m(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,n;return t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t.equals(I.ZERO)?(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(I.ZERO)):!1}function v(){return null==this.x&&null==this.y?!0:this.z.equals(I.ZERO)&&!this.y.toBigInteger().equals(I.ZERO)}function g(){return new f(this.curve,this.x,this.y.negate(),this.z)}function y(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(I.ZERO.equals(n))return I.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new I(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),c=i.multiply(a),u=t.square().multiply(this.z),p=u.subtract(c.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),l=c.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(l),d)}function b(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new I(\"3\"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);I.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o))),a=a.mod(this.curve.q);var s=a.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),c=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(c),u)}function x(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new I(\"3\")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add(a?this:i))}return o}function w(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i}function _(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new f(this,null,null),this.reducer=new P(this.q)}function k(){return this.q}function j(){return this.a}function S(){return this.b}function E(e){return e==this?!0:this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function O(){return this.infinity}function A(e){return new r(this.q,e)}function C(e){this.reducer.reduce(e)}function T(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t=\"0\"+t;for(;n.length<r;)n=\"0\"+n;return\"04\"+t+n}var I=e(\"jsbn\").BigInteger,P=I.prototype.Barrett;r.prototype.equals=i,r.prototype.toBigInteger=o,r.prototype.negate=a,r.prototype.add=s,r.prototype.subtract=c,r.prototype.multiply=u,r.prototype.square=p,r.prototype.divide=l,f.prototype.getX=d,f.prototype.getY=h,f.prototype.equals=m,f.prototype.isInfinity=v,f.prototype.negate=g,f.prototype.add=y,f.prototype.twice=b,f.prototype.multiply=x,f.prototype.multiplyTwo=w,_.prototype.getQ=k,_.prototype.getA=j,_.prototype.getB=S,_.prototype.equals=E,_.prototype.getInfinity=O,_.prototype.fromBigInteger=A,_.prototype.reduce=C,_.prototype.encodePointHex=T,_.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var n=e.length-2,r=e.substr(2,n),i=this.fromBigInteger(new I(r,16)),o=i.multiply(i.square().add(this.getA())).add(this.getB()),a=o.sqrt();if(null==a)throw\"Invalid point compression\";var s=a.toBigInteger();return s.testBit(0)!=t&&(a=this.fromBigInteger(this.getQ().subtract(s))),new f(this,i,a);case 4:case 6:case 7:var n=(e.length-2)/2,r=e.substr(2,n),c=e.substr(n+2,n);return new f(this,this.fromBigInteger(new I(r,16)),this.fromBigInteger(new I(c,16)));default:return null}},_.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t=\"0\"+t;var r;return r=e.getY().toBigInteger().isEven()?\"02\":\"03\",r+t},r.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);-1==t.intValue()&&(this.r=I.ONE.shiftLeft(e).subtract(this.q))}return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var n=e.shiftRight(t),r=e.subtract(n.shiftLeft(t));this.getR().equals(I.ONE)||(n=n.multiply(this.getR())),e=n.add(r)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw\"unsupported\";if(this.q.testBit(1)){var e=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(I.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(I.ONE),n=t.shiftRight(1);if(!this.x.modPow(n,this.q).equals(I.ONE))return null;var i,o,a=t.shiftRight(2),s=a.shiftLeft(1).add(I.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do p=new I(this.q.bitLength(),new SecureRandom);while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(n,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(u))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new r(q,o)}while(i.equals(I.ONE)||i.equals(t));return null},r.prototype.lucasSequence=function(e,t,n){for(var r=n.bitLength(),i=n.getLowestSetBit(),o=I.ONE,a=I.TWO,s=e,c=I.ONE,u=I.ONE,p=r-1;p>=i+1;--p)c=this.modMult(c,u),n.testBit(p)?(u=this.modMult(c,t),o=this.modMult(o,s),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1)))):(u=c,o=this.modReduce(o.multiply(a).subtract(c)),s=this.modReduce(s.multiply(a).subtract(e.multiply(c))),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))));c=this.modMult(c,u),u=this.modMult(c,t),o=this.modReduce(o.multiply(a).subtract(c)),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),c=this.modMult(c,u);for(var p=1;i>=p;++p)o=this.modMult(o,a),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,a]};var n={ECCurveFp:_,ECPointFp:f,ECFieldElementFp:r};t.exports=n},{jsbn:171}],93:[function(e,t,n){function r(e,t,n,r){this.curve=e,this.g=t,this.n=n,this.h=r}function i(){return this.curve}function o(){return this.g}function a(){return this.n}function s(){return this.h}function c(e){return new v(e,16)}function u(){var e=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"E87579C11079F43DD824993C2CEE5ED3\"),i=c(\"FFFFFFFE0000000075A30D1B9038A115\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83\");return new r(a,s,i,o)}function p(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\"),t=v.ZERO,n=c(\"7\"),i=c(\"0100000000000000000001B8FA16DFAB9ACA16B6B3\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE\");return new r(a,s,i,o)}function l(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\"),n=c(\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\"),i=c(\"0100000000000000000001F4C8F927AED3CA752257\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32\");return new r(a,s,i,o)}function f(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\"),t=v.ZERO,n=c(\"3\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\");return new r(a,s,i,o)}function d(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\"),n=c(\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811\");return new r(a,s,i,o)}function h(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\"),n=c(\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\");return new r(a,s,i,o)}function m(){var e=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\"),i=c(\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\");return new r(a,s,i,o)}var v=e(\"jsbn\").BigInteger,g=e(\"./ec.js\").ECCurveFp;r.prototype.getCurve=i,r.prototype.getG=o,r.prototype.getN=a,r.prototype.getH=s,t.exports={secp128r1:u,secp160k1:p,secp160r1:l,secp192k1:f,secp192r1:d,secp224r1:h,secp256r1:m}},{\"./ec.js\":92,jsbn:171}],94:[function(e,t,n){\"use strict\";function r(e,t){function n(){r(),t.apply(null,arguments)}function r(){for(var e,t=0;t<a.length;t++)e=a[t],e.ee.removeListener(e.event,e.fn)}function o(e){t=e}if(!Array.isArray(e))throw new TypeError(\"arg must be an array of [ee, events...] arrays\");for(var a=[],s=0;s<e.length;s++){var c=e[s];if(!Array.isArray(c)||c.length<2)throw new TypeError(\"each array member must be [ee, events...]\");for(var u=c[0],p=1;p<c.length;p++){var l=c[p],f=i(l,n);u.on(l,f),a.push({ee:u,event:l,fn:f})}}return o.cancel=r,o}function i(e,t){return function(n){for(var r=new Array(arguments.length),i=this,o=\"error\"===e?n:null,a=0;a<r.length;a++)r[a]=arguments[a];t(o,i,e,r)}}t.exports=r},{}],95:[function(e,t,n){(function(n){(function(){\"use strict\";function r(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function i(e){return\"function\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){H=e}function s(e){K=e}function c(){return function(){process.nextTick(d)}}function u(){return function(){U(d)}}function p(){var e=0,t=new Z(d),n=document.createTextNode(\"\");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){e.port2.postMessage(0)}}function f(){return function(){setTimeout(d,1)}}function d(){for(var e=0;Y>e;e+=2){var t=ee[e],n=ee[e+1];t(n),ee[e]=void 0,ee[e+1]=void 0}Y=0}function h(){try{var t=e,n=t(\"vertx\");return U=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function m(){}function v(){return new TypeError(\"You cannot resolve a promise with itself\")}function g(){return new TypeError(\"A promises callback cannot return that same promise.\")}function y(e){try{return e.then}catch(t){return ie.error=t,ie}}function b(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function x(e,t,n){K(function(e){var r=!1,i=b(n,t,function(n){r||(r=!0,t!==n?k(e,n):S(e,n))},function(t){r||(r=!0,E(e,t))},\"Settle: \"+(e._label||\" unknown promise\"));!r&&i&&(r=!0,E(e,i))},e)}function w(e,t){t._state===ne?S(e,t._result):t._state===re?E(e,t._result):O(t,void 0,function(t){k(e,t)},function(t){E(e,t)})}function _(e,t){if(t.constructor===e.constructor)w(e,t);else{var n=y(t);n===ie?E(e,ie.error):void 0===n?S(e,t):i(n)?x(e,t,n):S(e,t)}}function k(e,t){e===t?E(e,v()):r(t)?_(e,t):S(e,t)}function j(e){e._onerror&&e._onerror(e._result),A(e)}function S(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(A,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,K(j,e))}function O(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ne]=n,i[o+re]=r,0===o&&e._state&&K(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?I(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function T(e,t){try{return e(t)}catch(n){return oe.error=n,oe}}function I(e,t,n,r){var o,a,s,c,u=i(n);if(u){if(o=T(n,r),o===oe?(c=!0,a=o.error,o=null):s=!0,t===o)return void E(t,g())}else o=r,s=!0;t._state!==te||(u&&s?k(t,o):c?E(t,a):e===ne?S(t,o):e===re&&E(t,o))}function P(e,t){try{t(function(t){k(e,t)},function(t){E(e,t)})}catch(n){E(e,n)}}function F(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(m),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?S(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&S(n.promise,n._result))):E(n.promise,n._validationError())}function M(e){return new ae(this,e).promise}function z(e){function t(e){k(i,e)}function n(e){E(i,e)}var r=this,i=new r(m);if(!W(e))return E(i,new TypeError(\"You must pass an array to race.\")),i;for(var o=e.length,a=0;i._state===te&&o>a;a++)O(r.resolve(e[a]),void 0,t,n);return i}function B(e){var t=this;if(e&&\"object\"==typeof e&&e.constructor===t)return e;var n=new t(m);return k(n,e),n}function N(e){var t=this,n=new t(m);return E(n,e),n}function D(){throw new TypeError(\"You must pass a resolver function as the first argument to the promise constructor\")}function q(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\")}function R(e){this._id=le++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==e&&(i(e)||D(),this instanceof R||q(),P(this,e))}function L(){var e;if(\"undefined\"!=typeof n)e=n;else if(\"undefined\"!=typeof self)e=self;else try{e=Function(\"return this\")()}catch(t){throw new Error(\"polyfill failed because global object is unavailable in this environment\")}var r=e.Promise;r&&\"[object Promise]\"===Object.prototype.toString.call(r.resolve())&&!r.cast||(e.Promise=fe)}var $;$=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};var U,H,V,W=$,Y=0,K=({}.toString,function(e,t){ee[Y]=e,ee[Y+1]=t,Y+=2,2===Y&&(H?H(d):V())}),G=\"undefined\"!=typeof window?window:void 0,J=G||{},Z=J.MutationObserver||J.WebKitMutationObserver,Q=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),X=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel,ee=new Array(1e3);V=Q?c():Z?p():X?l():void 0===G&&\"function\"==typeof e?h():f();var te=void 0,ne=1,re=2,ie=new C,oe=new C;F.prototype._validateInput=function(e){return W(e)},F.prototype._validationError=function(){return new Error(\"Array Methods must be provided an Array\")},F.prototype._init=function(){this._result=new Array(this.length)};var ae=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===te&&t>i;i++)e._eachEntry(r[i],i)},F.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;o(e)?e.constructor===r&&e._state!==te?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},F.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===te&&(r._remaining--,e===re?E(i,n):r._result[t]=n),0===r._remaining&&S(i,r._result)},F.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){n._settledAt(ne,t,e)},function(e){n._settledAt(re,t,e)})};var se=M,ce=z,ue=B,pe=N,le=0,fe=R;R.all=se,R.race=ce,R.resolve=ue,R.reject=pe,R._setScheduler=a,R._setAsap=s,R._asap=K,R.prototype={constructor:R,then:function(e,t){var n=this,r=n._state;if(r===ne&&!e||r===re&&!t)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];K(function(){I(r,i,a,o)})}else O(n,i,e,t);return i},\"catch\":function(e){return this.then(null,e)}};var de=L,he={Promise:fe,polyfill:de};\"function\"==typeof define&&define.amd?define(function(){return he}):\"undefined\"!=typeof t&&t.exports?t.exports=he:\"undefined\"!=typeof this&&(this.ES6Promise=he),de()}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],96:[function(e,t,n){\"use strict\";function r(e){var t=\"\"+e,n=i.exec(t);if(!n)return t;var r,o=\"\",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=\"&quot;\";break;case 38:r=\"&amp;\";break;case 39:r=\"&#39;\";break;case 60:r=\"&lt;\";break;case 62:r=\"&gt;\";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=r}return s!==a?o+t.substring(s,a):o}var i=/[\"'&<>]/;t.exports=r},{}],97:[function(e,t,n){(function(n){\"use strict\";function r(e){if(0===e.length)return'\"0-1B2M2Y8AsgTpgAmY7PhCfg\"';var t=s.createHash(\"md5\").update(e,\"utf8\").digest(\"base64\").replace(u,\"\"),r=\"string\"==typeof e?n.byteLength(e,\"utf8\"):e.length;return'\"'+r.toString(16)+\"-\"+t+'\"'}function i(e,t){if(null==e)throw new TypeError(\"argument entity is required\");var i=o(e),s=t&&\"boolean\"==typeof t.weak?t.weak:i;if(!i&&\"string\"!=typeof e&&!n.isBuffer(e))throw new TypeError(\"argument entity must be string, Buffer, or fs.Stats\");var c=i?a(e):r(e);return s?\"W/\"+c:c}function o(e){return\"function\"==typeof c&&e instanceof c?!0:e&&\"object\"==typeof e&&\"ctime\"in e&&\"[object Date]\"===p.call(e.ctime)&&\"mtime\"in e&&\"[object Date]\"===p.call(e.mtime)&&\"ino\"in e&&\"number\"==typeof e.ino&&\"size\"in e&&\"number\"==typeof e.size}function a(e){var t=e.mtime.getTime().toString(16),n=e.size.toString(16);return'\"'+n+\"-\"+t+'\"'}t.exports=i;var s=e(\"crypto\"),c=e(\"fs\").Stats,u=/=+$/,p=Object.prototype.toString}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,fs:void 0}],98:[function(e,t,n){\"use strict\";t.exports=e(\"./lib/express\")},{\"./lib/express\":100}],99:[function(e,t,n){\"use strict\";function r(e){\"test\"!==this.get(\"env\")&&console.error(e.stack||e.toString())}function i(e,t,n){try{e.render(t,n)}catch(r){n(r)}}var o=e(\"finalhandler\"),a=e(\"./router\"),s=e(\"methods\"),c=e(\"./middleware/init\"),u=e(\"./middleware/query\"),p=e(\"debug\")(\"express:application\"),l=e(\"./view\"),f=e(\"http\"),d=e(\"./utils\").compileETag,h=e(\"./utils\").compileQueryParser,m=e(\"./utils\").compileTrust,v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"utils-merge\"),b=e(\"path\").resolve,x=Array.prototype.slice,w=n=t.exports={},_=\"@@symbol:trust_proxy_default\";w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e=process.env.NODE_ENV||\"development\";this.enable(\"x-powered-by\"),this.set(\"etag\",\"weak\"),this.set(\"env\",e),this.set(\"query parser\",\"extended\"),this.set(\"subdomain offset\",2),this.set(\"trust proxy\",!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),p(\"booting in %s mode\",e),this.on(\"mount\",function(e){this.settings[_]===!0&&\"function\"==typeof e.settings[\"trust proxy fn\"]&&(delete this.settings[\"trust proxy\"],delete this.settings[\"trust proxy fn\"]),this.request.__proto__=e.request,this.response.__proto__=e.response,this.engines.__proto__=e.engines,this.settings.__proto__=e.settings}),this.locals=Object.create(null),this.mountpath=\"/\",this.locals.settings=this.settings,this.set(\"view\",l),this.set(\"views\",b(\"views\")),this.set(\"jsonp callback name\",\"callback\"),\"production\"===e&&this.enable(\"view cache\"),Object.defineProperty(this,\"router\",{get:function(){throw new Error(\"'app.router' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.\")}})},w.lazyrouter=function(){this._router||(this._router=new a({caseSensitive:this.enabled(\"case sensitive routing\"),strict:this.enabled(\"strict routing\")}),this._router.use(u(this.get(\"query parser fn\"))),this._router.use(c.init(this)))},w.handle=function(e,t,n){var i=this._router,a=n||o(e,t,{env:this.get(\"env\"),onerror:r.bind(this)});return i?void i.handle(e,t,a):(p(\"no routes defined on app\"),void a())},w.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"app.use() requires middleware functions\");this.lazyrouter();var o=this._router;return i.forEach(function(e){return e&&e.handle&&e.set?(p(\".use app under %s\",n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){t.__proto__=i.request,n.__proto__=i.response,r(e)})}),void e.emit(\"mount\",this)):o.use(n,e)},this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,t){if(\"function\"!=typeof t)throw new Error(\"callback function required\");var n=\".\"!==e[0]?\".\"+e:e;return this.engines[n]=t,this},w.param=function(e,t){if(this.lazyrouter(),Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this._router.param(e,t),this},w.set=function(e,t){if(1===arguments.length)return this.settings[e];switch(p('set \"%s\" to %o',e,t),this.settings[e]=t,e){case\"etag\":this.set(\"etag fn\",d(t));break;case\"query parser\":this.set(\"query parser fn\",h(t));break;case\"trust proxy\":this.set(\"trust proxy fn\",m(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1})}return this},w.path=function(){return this.parent?this.parent.path()+this.mountpath:\"\"},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},s.forEach(function(e){w[e]=function(t){if(\"get\"===e&&1===arguments.length)return this.set(t);this.lazyrouter();var n=this._router.route(t);return n[e].apply(n,x.call(arguments,1)),this}}),w.all=function(e){this.lazyrouter();for(var t=this._router.route(e),n=x.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},w.del=v[\"function\"](w[\"delete\"],\"app.del: Use app.delete instead\"),w.render=function(e,t,n){var r,o=this.cache,a=n,s=this.engines,c=t,u={};if(\"function\"==typeof t&&(a=t,c={}),y(u,this.locals),c._locals&&y(u,c._locals),y(u,c),null==u.cache&&(u.cache=this.enabled(\"view cache\")),u.cache&&(r=o[e]),!r){var p=this.get(\"view\");if(r=new p(e,{defaultEngine:this.get(\"view engine\"),root:this.get(\"views\"),engines:s}),!r.path){var l=Array.isArray(r.root)&&r.root.length>1?'directories \"'+r.root.slice(0,-1).join('\", \"')+'\" or \"'+r.root[r.root.length-1]+'\"':'directory \"'+r.root+'\"',f=new Error('Failed to lookup view \"'+e+'\" in views '+l);return f.view=r,a(f)}u.cache&&(o[e]=r)}i(r,u,a)},w.listen=function(){var e=f.createServer(this);return e.listen.apply(e,arguments)}},{\"./middleware/init\":101,\"./middleware/query\":102,\"./router\":105,\"./utils\":108,\"./view\":109,\"array-flatten\":3,debug:83,depd:85,finalhandler:115,http:void 0,methods:181,path:void 0,\"utils-merge\":531}],100:[function(e,t,n){\"use strict\";function r(){var e=function(t,n,r){e.handle(t,n,r)};return o(e,i.prototype,!1),o(e,a,!1),e.request={__proto__:u,app:e},e.response={__proto__:p,app:e},e.init(),e}var i=e(\"events\").EventEmitter,o=e(\"merge-descriptors\"),a=e(\"./application\"),s=e(\"./router/route\"),c=e(\"./router\"),u=e(\"./request\"),p=e(\"./response\");n=t.exports=r,n.application=a,n.request=u,n.response=p,n.Route=s,n.Router=c,n.query=e(\"./middleware/query\"),n[\"static\"]=e(\"serve-static\"),[\"json\",\"urlencoded\",\"bodyParser\",\"compress\",\"cookieSession\",\"session\",\"logger\",\"cookieParser\",\"favicon\",\"responseTime\",\"errorHandler\",\"timeout\",\"methodOverride\",\"vhost\",\"csrf\",\"directory\",\"limit\",\"multipart\",\"staticCache\"].forEach(function(e){\nObject.defineProperty(n,e,{get:function(){throw new Error(\"Most middleware (like \"+e+\") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.\")},configurable:!0})})},{\"./application\":99,\"./middleware/query\":102,\"./request\":103,\"./response\":104,\"./router\":105,\"./router/route\":107,events:void 0,\"merge-descriptors\":180,\"serve-static\":416}],101:[function(e,t,n){\"use strict\";n.init=function(e){return function(t,n,r){e.enabled(\"x-powered-by\")&&n.setHeader(\"X-Powered-By\",\"Express\"),t.res=n,n.req=t,t.next=r,t.__proto__=e.request,n.__proto__=e.response,n.locals=n.locals||Object.create(null),r()}}},{}],102:[function(e,t,n){\"use strict\";var r=e(\"parseurl\"),i=e(\"qs\");t.exports=function(e){var t=Object.create(e||null),n=i.parse;return\"function\"==typeof e&&(n=e,t=void 0),void 0!==t&&(void 0===t.allowDots&&(t.allowDots=!1),void 0===t.allowPrototypes&&(t.allowPrototypes=!0)),function(e,i,o){if(!e.query){var a=r(e).query;e.query=n(a,t)}o()}}},{parseurl:364,qs:110}],103:[function(e,t,n){\"use strict\";function r(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}var i=e(\"accepts\"),o=e(\"depd\")(\"express\"),a=e(\"net\").isIP,s=e(\"type-is\"),c=e(\"http\"),u=e(\"fresh\"),p=e(\"range-parser\"),l=e(\"parseurl\"),f=e(\"proxy-addr\"),d=n=t.exports={__proto__:c.IncomingMessage.prototype};d.get=d.header=function(e){var t=e.toLowerCase();switch(t){case\"referer\":case\"referrer\":return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=i(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=i(this);return e.encodings.apply(e,arguments)},d.acceptsEncoding=o[\"function\"](d.acceptsEncodings,\"req.acceptsEncoding: Use acceptsEncodings instead\"),d.acceptsCharsets=function(){var e=i(this);return e.charsets.apply(e,arguments)},d.acceptsCharset=o[\"function\"](d.acceptsCharsets,\"req.acceptsCharset: Use acceptsCharsets instead\"),d.acceptsLanguages=function(){var e=i(this);return e.languages.apply(e,arguments)},d.acceptsLanguage=o[\"function\"](d.acceptsLanguages,\"req.acceptsLanguage: Use acceptsLanguages instead\"),d.range=function(e){var t=this.get(\"Range\");if(t)return p(e,t)},d.param=function(e,t){var n=this.params||{},r=this.body||{},i=this.query||{},a=1===arguments.length?\"name\":\"name, default\";return o(\"req.param(\"+a+\"): Use req.params, req.body, or req.query instead\"),null!=n[e]&&n.hasOwnProperty(e)?n[e]:null!=r[e]?r[e]:null!=i[e]?i[e]:t},d.is=function(e){var t=e;if(!Array.isArray(e)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return s(this,t)},r(d,\"protocol\",function(){var e=this.connection.encrypted?\"https\":\"http\",t=this.app.get(\"trust proxy fn\");return t(this.connection.remoteAddress,0)?(e=this.get(\"X-Forwarded-Proto\")||e,e.split(/\\s*,\\s*/)[0]):e}),r(d,\"secure\",function(){return\"https\"===this.protocol}),r(d,\"ip\",function(){var e=this.app.get(\"trust proxy fn\");return f(this,e)}),r(d,\"ips\",function(){var e=this.app.get(\"trust proxy fn\"),t=f.all(this,e);return t.slice(1).reverse()}),r(d,\"subdomains\",function h(){var e=this.hostname;if(!e)return[];var t=this.app.get(\"subdomain offset\"),h=a(e)?[e]:e.split(\".\").reverse();return h.slice(t)}),r(d,\"path\",function(){return l(this).pathname}),r(d,\"hostname\",function(){var e=this.app.get(\"trust proxy fn\"),t=this.get(\"X-Forwarded-Host\");if(t&&e(this.connection.remoteAddress,0)||(t=this.get(\"Host\")),t){var n=\"[\"===t[0]?t.indexOf(\"]\")+1:0,r=t.indexOf(\":\",n);return-1!==r?t.substring(0,r):t}}),r(d,\"host\",o[\"function\"](function(){return this.hostname},\"req.host: Use req.hostname instead\")),r(d,\"fresh\",function(){var e=this.method,t=this.res.statusCode;return\"GET\"!=e&&\"HEAD\"!=e?!1:t>=200&&300>t||304==t?u(this.headers,this.res._headers||{}):!1}),r(d,\"stale\",function(){return!this.fresh}),r(d,\"xhr\",function(){var e=this.get(\"X-Requested-With\")||\"\";return\"xmlhttprequest\"===e.toLowerCase()})},{accepts:2,depd:85,fresh:120,http:void 0,net:void 0,parseurl:364,\"proxy-addr\":380,\"range-parser\":387,\"type-is\":467}],104:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n,r){function i(){if(!d){d=!0;var e=new Error(\"Request aborted\");e.code=\"ECONNABORTED\",r(e)}}function o(){if(!d){d=!0;var e=new Error(\"EISDIR, read\");e.code=\"EISDIR\",r(e)}}function a(e){d||(d=!0,r(e))}function s(){d||(d=!0,r())}function c(){f=!1}function p(e){return e&&\"ECONNRESET\"===e.code?i():e?a(e):void(d||setImmediate(function(){return f===!1||d?void(d||(d=!0,r())):void i()}))}function l(){f=!0}var f,d=!1;t.on(\"directory\",o),t.on(\"end\",s),t.on(\"error\",a),t.on(\"file\",c),t.on(\"stream\",l),u(e,p),n.headers&&t.on(\"headers\",function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e.setHeader(o,t[o])}}),t.pipe(e)}var i=e(\"content-disposition\"),o=e(\"depd\")(\"express\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"./utils\").isAbsolute,u=e(\"on-finished\"),p=e(\"path\"),l=e(\"utils-merge\"),f=e(\"cookie-signature\").sign,d=e(\"./utils\").normalizeType,h=e(\"./utils\").normalizeTypes,m=e(\"./utils\").setCharset,v=s.STATUS_CODES,g=e(\"cookie\"),y=e(\"send\"),b=p.extname,x=y.mime,w=p.resolve,_=e(\"vary\"),k=t.exports={__proto__:s.ServerResponse.prototype},j=/;\\s*charset\\s*=/;k.status=function(e){return this.statusCode=e,this},k.links=function(e){var t=this.get(\"Link\")||\"\";return t&&(t+=\", \"),this.set(\"Link\",t+Object.keys(e).map(function(t){return\"<\"+e[t]+'>; rel=\"'+t+'\"'}).join(\", \"))},k.send=function(e){var t,r,i,a=e,s=this.req,c=this.app;switch(2===arguments.length&&(\"number\"!=typeof arguments[0]&&\"number\"==typeof arguments[1]?(o(\"res.send(body, status): Use res.status(status).send(body) instead\"),this.statusCode=arguments[1]):(o(\"res.send(status, body): Use res.status(status).send(body) instead\"),this.statusCode=arguments[0],a=arguments[1])),\"number\"==typeof a&&1===arguments.length&&(this.get(\"Content-Type\")||this.type(\"txt\"),o(\"res.send(status): Use res.sendStatus(status) instead\"),this.statusCode=a,a=v[a]),typeof a){case\"string\":this.get(\"Content-Type\")||this.type(\"html\");break;case\"boolean\":case\"number\":case\"object\":if(null===a)a=\"\";else{if(!n.isBuffer(a))return this.json(a);this.get(\"Content-Type\")||this.type(\"bin\")}}\"string\"==typeof a&&(t=\"utf8\",i=this.get(\"Content-Type\"),\"string\"==typeof i&&this.set(\"Content-Type\",m(i,\"utf-8\"))),void 0!==a&&(n.isBuffer(a)||(a=new n(a,t),t=void 0),r=a.length,this.set(\"Content-Length\",r));var u,p=void 0!==r&&c.get(\"etag fn\");return\"function\"!=typeof p||this.get(\"ETag\")||(u=p(a,t))&&this.set(\"ETag\",u),s.fresh&&(this.statusCode=304),204!=this.statusCode&&304!=this.statusCode||(this.removeHeader(\"Content-Type\"),this.removeHeader(\"Content-Length\"),this.removeHeader(\"Transfer-Encoding\"),a=\"\"),\"HEAD\"===s.method?this.end():this.end(a,t),this},k.json=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.json(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.json(status, obj): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i);return this.get(\"Content-Type\")||this.set(\"Content-Type\",\"application/json\"),this.send(a)},k.jsonp=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.jsonp(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i),s=this.req.query[n.get(\"jsonp callback name\")];return this.get(\"Content-Type\")||(this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"application/json\")),Array.isArray(s)&&(s=s[0]),\"string\"==typeof s&&0!==s.length&&(this.charset=\"utf-8\",this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"text/javascript\"),s=s.replace(/[^\\[\\]\\w$.]/g,\"\"),a=a.replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"),a=\"/**/ typeof \"+s+\" === 'function' && \"+s+\"(\"+a+\");\"),this.send(a)},k.sendStatus=function(e){var t=v[e]||String(e);return this.statusCode=e,this.type(\"txt\"),this.send(t)},k.sendFile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,u=t||{};if(!e)throw new TypeError(\"path argument is required to res.sendFile\");if(\"function\"==typeof t&&(i=t,u={}),!u.root&&!c(e))throw new TypeError(\"path must be absolute or specify root to res.sendFile\");var p=encodeURI(e),l=y(o,p,u);r(a,l,u,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORTED\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,c=t||{};\"function\"==typeof t&&(i=t,c={});var u=y(o,e,c);r(a,u,c,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORT\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=o[\"function\"](k.sendfile,\"res.sendfile: Use res.sendFile instead\"),k.download=function(e,t,n){var r=n,o=t;\"function\"==typeof t&&(r=t,o=null);var a={\"Content-Disposition\":i(o||e)},s=w(e);return this.sendFile(s,{headers:a},r)},k.contentType=k.type=function(e){var t=-1===e.indexOf(\"/\")?x.lookup(e):e;return this.set(\"Content-Type\",t)},k.format=function(e){var t=this.req,n=t.next,r=e[\"default\"];r&&delete e[\"default\"];var i=Object.keys(e),o=i.length>0?t.accepts(i):!1;if(this.vary(\"Accept\"),o)this.set(\"Content-Type\",d(o).value),e[o](t,this,n);else if(r)r();else{var a=new Error(\"Not Acceptable\");a.status=a.statusCode=406,a.types=h(i).map(function(e){return e.value}),n(a)}return this},k.attachment=function(e){return e&&this.type(b(e)),this.set(\"Content-Disposition\",i(e)),this},k.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},k.set=k.header=function(e,t){if(2===arguments.length){var n=Array.isArray(t)?t.map(String):String(t);if(\"content-type\"===e.toLowerCase()&&!j.test(n)){var r=x.charsets.lookup(n.split(\";\")[0]);r&&(n+=\"; charset=\"+r.toLowerCase())}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this},k.get=function(e){return this.getHeader(e)},k.clearCookie=function(e,t){var n=l({expires:new Date(1),path:\"/\"},t);return this.cookie(e,\"\",n)},k.cookie=function(e,t,n){var r=l({},n),i=this.req.secret,o=r.signed;if(o&&!i)throw new Error('cookieParser(\"secret\") required for signed cookies');var a=\"object\"==typeof t?\"j:\"+JSON.stringify(t):String(t);return o&&(a=\"s:\"+f(a,i)),\"maxAge\"in r&&(r.expires=new Date(Date.now()+r.maxAge),r.maxAge/=1e3),null==r.path&&(r.path=\"/\"),this.append(\"Set-Cookie\",g.serialize(e,String(a),r)),this},k.location=function(e){var t=e;return\"back\"===e&&(t=this.req.get(\"Referrer\")||\"/\"),this.set(\"Location\",t),this},k.redirect=function(e){var t,r=e,i=302;2===arguments.length&&(\"number\"==typeof arguments[0]?(i=arguments[0],r=arguments[1]):(o(\"res.redirect(url, status): Use res.redirect(status, url) instead\"),i=arguments[1])),this.location(r),r=this.get(\"Location\"),this.format({text:function(){t=v[i]+\". Redirecting to \"+encodeURI(r)},html:function(){var e=a(r);t=\"<p>\"+v[i]+'. Redirecting to <a href=\"'+e+'\">'+e+\"</a></p>\"},\"default\":function(){t=\"\"}}),this.statusCode=i,this.set(\"Content-Length\",n.byteLength(t)),\"HEAD\"===this.req.method?this.end():this.end(t)},k.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o(\"res.vary(): Provide a field name\"),this):(_(this,e),this)},k.render=function(e,t,n){var r=this.req.app,i=n,o=t||{},a=this.req,s=this;\"function\"==typeof t&&(i=t,o={}),o._locals=s.locals,i=i||function(e,t){return e?a.next(e):void s.send(t)},r.render(e,o,i)}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":108,buffer:void 0,\"content-disposition\":73,cookie:76,\"cookie-signature\":75,depd:85,\"escape-html\":96,http:void 0,\"on-finished\":363,path:void 0,send:409,\"utils-merge\":531,vary:532}],105:[function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}function i(e){try{return y(e).pathname}catch(t){return}}function o(e){var t=typeof e;return\"object\"!==t?t:w.call(e).replace(b,\"$1\")}function a(e,t){try{return e.match(t)}catch(n){return n}}function s(e,t){if(\"object\"!=typeof t||!t)return e;var n=h({},t);if(!(0 in e&&0 in t))return h(n,e);for(var r=0,i=0;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],i>r&&delete e[r];return h(n,e)}function c(e,t){for(var n=new Array(arguments.length-2),r=new Array(arguments.length-2),i=0;i<n.length;i++)n[i]=arguments[i+2],r[i]=t[n[i]];return function(i){for(var o=0;o<n.length;o++)t[n[o]]=r[o];return e.apply(this,arguments)}}function u(e,t,n){try{var r=t.join(\",\");e.set(\"Allow\",r),e.send(r)}catch(i){n(i)}}function p(e,t){return function(){var n=new Array(arguments.length+1);n[0]=e;for(var r=0,i=arguments.length;i>r;r++)n[r+1]=arguments[r];t.apply(this,n)}}var l=e(\"./route\"),f=e(\"./layer\"),d=e(\"methods\"),h=e(\"utils-merge\"),m=e(\"debug\")(\"express:router\"),v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"parseurl\"),b=/^\\[object (\\S+)\\]$/,x=Array.prototype.slice,w=Object.prototype.toString,_=t.exports=function(e){function t(e,n,r){t.handle(e,n,r)}var n=e||{};return t.__proto__=_,t.params={},t._params=[],t.caseSensitive=n.caseSensitive,t.mergeParams=n.mergeParams,t.strict=n.strict,t.stack=[],t};_.param=function(e,t){if(\"function\"==typeof e)return v(\"router.param(fn): Refactor to use path params\"),void this._params.push(e);var n,r=this._params,i=r.length;\":\"===e[0]&&(v(\"router.param(\"+JSON.stringify(e)+\", fn): Use router.param(\"+JSON.stringify(e.substr(1))+\", fn) instead\"),e=e.substr(1));for(var o=0;i>o;++o)(n=r[o](e,t))&&(t=n);if(\"function\"!=typeof t)throw new Error(\"invalid param() call for \"+e+\", got \"+t);return(this.params[e]=this.params[e]||[]).push(t),this},_.handle=function(e,t,n){function o(n){var c=\"route\"===n?null:n;if(x&&(e.url=e.url.substr(1),x=!1),0!==b.length&&(e.baseUrl=S,e.url=g+b+e.url.substr(g.length),b=\"\"),y>=k.length)return void setImmediate(E,c);var u=i(e);if(null==u)return E(c);for(var p,d,h;d!==!0&&y<k.length;)if(p=k[y++],d=a(p,u),h=p.route,\"boolean\"!=typeof d&&(c=c||d),d===!0&&h)if(c)d=!1;else{var m=e.method,v=h._handles_method(m);v||\"OPTIONS\"!==m||r(_,h._options()),v||\"HEAD\"===m||(d=!1)}if(d!==!0)return E(c);h&&(e.route=h),e.params=f.mergeParams?s(p.params,j):p.params;var O=p.path;f.process_params(p,w,e,t,function(n){return n?o(c||n):h?p.handle_request(e,t,o):void l(p,c,O,u)})}function l(n,r,i,a){var s=a[i.length];return s&&\"/\"!==s&&\".\"!==s?o(r):(0!==i.length&&(m(\"trim prefix (%s) from url %s\",i,e.url),b=i,e.url=g+e.url.substr(g.length+b.length),v||\"/\"===e.url[0]||(e.url=\"/\"+e.url,x=!0),e.baseUrl=S+(\"/\"===b[b.length-1]?b.substring(0,b.length-1):b)),m(\"%s %s : %s\",n.name,i,e.originalUrl),void(r?n.handle_error(r,e,t,o):n.handle_request(e,t,o)))}var f=this;m(\"dispatching %s %s\",e.method,e.url);var d=1+e.url.indexOf(\"?\"),h=d?d-1:e.url.length,v=\"/\"!==e.url[0]&&1+e.url.substr(0,h).indexOf(\"://\"),g=v?e.url.substr(0,e.url.indexOf(\"/\",2+v)):\"\",y=0,b=\"\",x=!1,w={},_=[],k=f.stack,j=e.params,S=e.baseUrl||\"\",E=c(n,e,\"baseUrl\",\"next\",\"params\");e.next=o,\"OPTIONS\"===e.method&&(E=p(E,function(e,n){return n||0===_.length?e(n):void u(t,_,e)})),e.baseUrl=S,e.originalUrl=e.originalUrl||e.url,o()},_.process_params=function(e,t,n,r,i){function o(e){return e?i(e):h>=c.length?i():(m=0,(p=c[h++])?(u=p.name,l=n.params[u],f=s[u],d=t[u],void 0!==l&&f?d&&(d.match===l||d.error&&\"route\"!==d.error)?(n.params[u]=d.value,o(d.error)):(t[u]=d={error:null,match:l,value:l},void a()):o()):i())}function a(e){var t=f[m++];if(d.value=n.params[p.name],e)return d.error=e,void o(e);if(!t)return o();try{t(n,r,a,l,p.name)}catch(i){a(i)}}var s=this.params,c=e.keys;if(!c||0===c.length)return i();var u,p,l,f,d,h=0,m=0;o()},_.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"Router.use() requires middleware functions\");for(var a=0;a<i.length;a++){var e=i[a];if(\"function\"!=typeof e)throw new TypeError(\"Router.use() requires middleware function but got a \"+o(e));m(\"use %s %s\",n,e.name||\"<anonymous>\");var s=new f(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},_.route=function k(e){var k=new l(e),t=new f(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},k.dispatch.bind(k));return t.route=k,this.stack.push(t),k},d.concat(\"all\").forEach(function(e){_[e]=function(t){var n=this.route(t);return n[e].apply(n,x.call(arguments,1)),this}})},{\"./layer\":106,\"./route\":107,\"array-flatten\":3,debug:83,depd:85,methods:181,parseurl:364,\"utils-merge\":531}],106:[function(e,t,n){\"use strict\";function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);a(\"new %s\",e);var i=t||{};this.handle=n,this.name=n.name||\"<anonymous>\",this.params=void 0,this.path=void 0,this.regexp=o(e,this.keys=[],i),\"/\"===e&&i.end===!1&&(this.regexp.fast_slash=!0)}function i(e){if(\"string\"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=\"Failed to decode param '\"+e+\"'\",t.status=t.statusCode=400),t}}var o=e(\"path-to-regexp\"),a=e(\"debug\")(\"express:router:layer\"),s=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.handle_error=function(e,t,n,r){var i=this.handle;if(4!==i.length)return r(e);try{i(e,t,n,r)}catch(o){r(o)}},r.prototype.handle_request=function(e,t,n){var r=this.handle;if(r.length>3)return n();try{r(e,t,n)}catch(i){n(i)}},r.prototype.match=function(e){if(null==e)return this.params=void 0,this.path=void 0,!1;if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;var t=this.regexp.exec(e);if(!t)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var n=this.keys,r=this.params,o=1;o<t.length;o++){var a=n[o-1],c=a.name,u=i(t[o]);void 0===u&&s.call(r,c)||(r[c]=u)}return!0}},{debug:83,\"path-to-regexp\":375}],107:[function(e,t,n){\"use strict\";function r(e){this.path=e,this.stack=[],i(\"new %s\",e),this.methods={}}var i=e(\"debug\")(\"express:router:route\"),o=e(\"array-flatten\"),a=e(\"./layer\"),s=e(\"methods\"),c=Array.prototype.slice,u=Object.prototype.toString;t.exports=r,r.prototype._handles_method=function(e){if(this.methods._all)return!0;var t=e.toLowerCase();return\"head\"!==t||this.methods.head||(t=\"get\"),Boolean(this.methods[t])},r.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(\"head\");for(var t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},r.prototype.dispatch=function(e,t,n){function r(s){if(s&&\"route\"===s)return n();var c=o[i++];return c?c.method&&c.method!==a?r(s):void(s?c.handle_error(s,e,t,r):c.handle_request(e,t,r)):n(s)}var i=0,o=this.stack;if(0===o.length)return n();var a=e.method.toLowerCase();\"head\"!==a||this.methods.head||(a=\"get\"),e.route=this,r()},r.prototype.all=function(){for(var e=o(c.call(arguments)),t=0;t<e.length;t++){var n=e[t];if(\"function\"!=typeof n){var r=u.call(n),i=\"Route.all() requires callback functions but got a \"+r;throw new TypeError(i)}var s=a(\"/\",{},n);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this},s.forEach(function(e){r.prototype[e]=function(){for(var t=o(c.call(arguments)),n=0;n<t.length;n++){var r=t[n];if(\"function\"!=typeof r){var s=u.call(r),p=\"Route.\"+e+\"() requires callback functions but got a \"+s;throw new Error(p)}i(\"%s %s\",e,this.path);var l=a(\"/\",{},r);l.method=e,this.methods[e]=!0,this.stack.push(l)}return this}})},{\"./layer\":106,\"array-flatten\":3,debug:83,methods:181}],108:[function(e,t,n){(function(t){\"use strict\";function r(e,t){for(var n=e.split(/ *; */),r={value:n[0],quality:1,params:{},originalIndex:t},i=1;i<n.length;++i){var o=n[i].split(/ *= */);\"q\"==o[0]?r.quality=parseFloat(o[1]):r.params[o[0]]=o[1]}return r}function i(e){return d.parse(e,{allowDots:!1,allowPrototypes:!0})}function o(){return{}}var a=e(\"content-disposition\"),s=e(\"content-type\"),c=e(\"depd\")(\"express\"),u=e(\"array-flatten\"),p=e(\"send\").mime,l=(e(\"path\").basename,e(\"etag\")),f=e(\"proxy-addr\"),d=e(\"qs\"),h=e(\"querystring\");n.etag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!1})},n.wetag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!0})},n.isAbsolute=function(e){return\"/\"==e[0]?!0:\":\"==e[1]&&\"\\\\\"==e[2]?!0:\"\\\\\\\\\"==e.substring(0,2)?!0:void 0},n.flatten=c[\"function\"](u,\"utils.flatten: use array-flatten npm module instead\"),n.normalizeType=function(e){return~e.indexOf(\"/\")?r(e):{value:p.lookup(e),params:{}}},n.normalizeTypes=function(e){for(var t=[],r=0;r<e.length;++r)t.push(n.normalizeType(e[r]));return t},n.contentDisposition=c[\"function\"](a,\"utils.contentDisposition: use content-disposition npm module instead\"),n.compileETag=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=n.wetag;break;case!1:break;case\"strong\":t=n.etag;break;case\"weak\":t=n.wetag;break;default:throw new TypeError(\"unknown value for etag function: \"+e)}return t},n.compileQueryParser=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=h.parse;break;case!1:t=o;break;case\"extended\":t=i;break;case\"simple\":t=h.parse;break;default:throw new TypeError(\"unknown value for query parser function: \"+e)}return t},n.compileTrust=function(e){return\"function\"==typeof e?e:e===!0?function(){return!0}:\"number\"==typeof e?function(t,n){return e>n}:(\"string\"==typeof e&&(e=e.split(/ *, */)),f.compile(e||[]))},n.setCharset=function(e,t){if(!e||!t)return e;var n=s.parse(e);return n.parameters.charset=t,s.format(n)}}).call(this,e(\"buffer\").Buffer)},{\"array-flatten\":3,buffer:void 0,\"content-disposition\":73,\"content-type\":74,depd:85,etag:97,path:void 0,\"proxy-addr\":380,qs:110,querystring:void 0,send:409}],109:[function(e,t,n){\"use strict\";function r(t,n){var r=n||{};if(this.defaultEngine=r.defaultEngine,this.ext=p(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error(\"No default engine was specified and no extension was provided.\");var i=t;this.ext||(this.ext=\".\"!==this.defaultEngine[0]?\".\"+this.defaultEngine:this.defaultEngine,i+=this.ext),r.engines[this.ext]||(r.engines[this.ext]=e(this.ext.substr(1)).__express),this.engine=r.engines[this.ext],this.path=this.lookup(i)}function i(e){o('stat \"%s\"',e);try{return s.statSync(e)}catch(t){return}}var o=e(\"debug\")(\"express:view\"),a=e(\"path\"),s=e(\"fs\"),c=(e(\"./utils\"),a.dirname),u=a.basename,p=a.extname,l=a.join,f=a.resolve;t.exports=r,r.prototype.lookup=function(e){var t,n=[].concat(this.root);o('lookup \"%s\"',e);for(var r=0;r<n.length&&!t;r++){var i=n[r],a=f(i,e),s=c(a),p=u(a);t=this.resolve(s,p)}return t},r.prototype.render=function(e,t){o('render \"%s\"',this.path),this.engine(this.path,e,t)},r.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),o=i(r);return o&&o.isFile()?r:(r=l(e,u(t,n),\"index\"+n),o=i(r),o&&o.isFile()?r:void 0)}},{\"./utils\":108,debug:83,fs:void 0,path:void 0}],110:[function(e,t,n){var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":111,\"./stringify\":112}],111:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\",t.strictNullHandling&&(n[r.decode(s)]=null);else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));Object.prototype.hasOwnProperty.call(n,u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&o!==a&&c===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"));var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e),s=[];if(a[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!n.allowPrototypes)return;s.push(a[1])}for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,(n.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}},t.exports=function(e,t){if(t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects=\"boolean\"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes=\"boolean\"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return t.plainObjects?Object.create(null):{};for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p,t)}return r.compact(o)}},{\"./utils\":113}],112:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e,t){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e,t){return e}},strictNullHandling:!1};i.stringify=function(e,t,n,o,a){if(\"function\"==typeof a)e=a(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(o)return r.encode(t);e=\"\"}if(\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[r.encode(t)+\"=\"+r.encode(e)];var s=[];if(\"undefined\"==typeof e)return s;for(var c=Array.isArray(a)?a:Object.keys(e),u=0,p=c.length;p>u;++u){var l=c[u];s=Array.isArray(e)?s.concat(i.stringify(e[l],n(t,l),n,o,a)):s.concat(i.stringify(e[l],t+\"[\"+l+\"]\",n,o,a))}return s},t.exports=function(e,t){t=t||{};var n,r,o=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter,a=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling;\"function\"==typeof t.filter?(r=t.filter,e=r(\"\",e)):Array.isArray(t.filter)&&(n=r=t.filter);var s=[];if(\"object\"!=typeof e||null===e)return\"\";var c;c=t.arrayFormat in i.arrayPrefixGenerators?t.arrayFormat:\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var u=i.arrayPrefixGenerators[c];n||(n=Object.keys(e));for(var p=0,l=n.length;l>p;++p){var f=n[p];s=s.concat(i.stringify(e[f],f,u,a,r))}return s.join(o)}},{\"./utils\":113}],113:[function(e,t,n){var r={};r.hexTable=new Array(256);for(var i=0;256>i;++i)r.hexTable[i]=\"%\"+((16>i?\"0\":\"\")+i.toString(16)).toUpperCase();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,i=e.length;i>r;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):\"object\"==typeof e?e[t]=!0:e=[e,t],e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e,r));for(var i=Object.keys(t),o=0,a=i.length;a>o;++o){var s=i[o],c=t[s];Object.prototype.hasOwnProperty.call(e,s)?e[s]=n.merge(e[s],c,r):e[s]=c}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;\"string\"!=typeof e&&(e=\"\"+e);for(var t=\"\",n=0,i=e.length;i>n;++n){var o=e.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?t+=e[n]:128>o?t+=r.hexTable[o]:2048>o?t+=r.hexTable[192|o>>6]+r.hexTable[128|63&o]:55296>o||o>=57344?t+=r.hexTable[224|o>>12]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o]:(++n,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t+=r.hexTable[240|o>>18]+r.hexTable[128|o>>12&63]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o])}return t},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],114:[function(e,t,n){function r(e){var t,n,r,c,u,p,l,f,d,h=[\"([^%]*)\",\"%\",\"(['\\\\-+ #0]*?)\",\"([1-9]\\\\d*)?\",\"(\\\\.([1-9]\\\\d*))?\",\"[lhjztL]*?\",\"([diouxXfFeEgGaAcCsSp%jr])\"].join(\"\"),m=new RegExp(h),v=Array.prototype.slice.call(arguments,1),g=\"\",y=1;for(a.equal(\"string\",typeof e);null!==(d=m.exec(e));)if(g+=d[1],e=e.substring(d[0].length),t=d[2]||\"\",n=d[3]||0,r=d[4]||\"\",c=d[6],u=!1,l=!1,p=\" \",\"%\"!=c){if(0===v.length)throw new Error(\"too few args to sprintf\");if(f=v.shift(),y++,t.match(/[\\' #]/))throw new Error(\"unsupported flags: \"+t);if(r.length>0)throw new Error(\"non-zero precision not supported\");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(p=\"0\"),t.match(/\\+/)&&(l=!0),c){case\"s\":if(void 0===f||null===f)throw new Error(\"argument \"+y+\": attempted to print undefined or null as a string\");g+=i(p,n,u,f.toString());break;case\"d\":f=Math.floor(f);case\"f\":l=l&&f>0?\"+\":\"\",g+=l+i(p,n,u,f.toString());break;case\"j\":0===n&&(n=10),g+=s.inspect(f,!1,n);break;case\"r\":g+=o(f);break;default:throw new Error(\"unsupported conversion: \"+c)}}else g+=\"%\";return g+=e}function i(e,t,n,r){for(var i=r;i.length<t;)n?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(r(\"invalid type for %%r: %j\",e));if(t=\"EXCEPTION: \"+e.constructor.name+\": \"+e.stack,e.cause&&\"function\"==typeof e.cause){var n=e.cause();n&&(t+=\"\\nCaused by: \"+o(n))}return t}var a=e(\"assert\"),s=e(\"util\");n.sprintf=r},{assert:void 0,util:void 0}],115:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){var r=n||{},c=r.env||process.env.NODE_ENV||\"development\",u=r.onerror;return function(n){var r=t.statusCode;if(!n&&t._header)return void o(\"cannot 404 after headers sent\");if(n){n.statusCode&&(r=n.statusCode),n.status&&(r=n.status),(!r||400>r)&&(r=500);var l=\"production\"===c?s.STATUS_CODES[r]:n.stack||n.toString();l=a(l).replace(/\\n/g,\"<br>\").replace(/  /g,\" &nbsp;\")+\"\\n\"}else r=404,l=\"Cannot \"+a(e.method)+\" \"+a(e.originalUrl||e.url)+\"\\n\";return o(\"default %s\",r),n&&u&&p(u,n,e,t),t._header?e.socket.destroy():void i(e,t,r,l)}}function i(e,t,r,i){function o(){return t.statusCode=r,t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.setHeader(\"Content-Type\",\"text/html; charset=utf-8\"),t.setHeader(\"Content-Length\",n.byteLength(i,\"utf8\")),\"HEAD\"===e.method?void t.end():void t.end(i,\"utf8\")}return l(e)?void o():(u(e),c(e,o),void e.resume())}var o=e(\"debug\")(\"finalhandler\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"on-finished\"),u=e(\"unpipe\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},l=c.isFinished;t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,\"escape-html\":96,http:void 0,\"on-finished\":363,unpipe:529}],116:[function(e,t,n){function r(e,t){var n=\"\";return n=\"string\"==typeof e?e+\":\"+t:e.host+\":\"+e.port+\":\"+(e.localAddress?e.localAddress+\":\":\":\")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||c.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on(\"free\",function(e,n,i){var o=r(n,i);if(t.requests[o]&&t.requests[o].length)t.requests[o].shift().onSocket(e);else if(t.sockets[o].length<t.minSockets){t.freeSockets[o]||(t.freeSockets[o]=[]),t.freeSockets[o].push(e);var a=function(){e.destroy()};e._onIdleError=a,e.on(\"error\",a)}else e.destroy()})}function o(e){i.call(this,e)}function a(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\n\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),p.connect(n)}t.exports=i,i.SSL=o;var s=e(\"util\"),c=e(\"http\").Agent,u=e(\"net\"),p=e(\"tls\"),l=e(\"https\").Agent;s.inherits(i,c),i.defaultMinSockets=5,i.prototype.createConnection=u.createConnection,i.prototype.addRequestNoreuse=c.prototype.addRequest,i.prototype.addRequest=function(e,t,n){var i=r(t,n);if(\"string\"!=typeof t){var o=t;n=o.port,t=o.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[i].pop();a.removeListener(\"error\",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,n)},i.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},s.inherits(o,i),o.prototype.createConnection=a,o.prototype.addRequestNoreuse=l.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],117:[function(e,t,n){(function(n){function r(){if(!(this instanceof r))throw new TypeError(\"Failed to construct FormData: Please use the _new_ operator, this object constructor cannot be called as a function.\");this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],i.call(this)}var i=e(\"combined-stream\"),o=e(\"util\"),a=e(\"path\"),s=e(\"http\"),c=e(\"https\"),u=e(\"url\").parse,p=e(\"fs\"),l=e(\"mime-types\"),f=e(\"async\"),d=e(\"./populate.js\");t.exports=r,o.inherits(r,i),r.LINE_BREAK=\"\\r\\n\",r.DEFAULT_CONTENT_TYPE=\"application/octet-stream\",r.prototype.append=function(e,t,n){n=n||{},\"string\"==typeof n&&(n={filename:n});var r=i.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),o.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(a),r(t),r(s),this._trackLength(a,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):p.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){if(n.header)return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a=\"\",s={\"Content-Disposition\":[\"form-data\",'name=\"'+e+'\"'].concat(i||[]),\"Content-Type\":[].concat(o||[])};for(var c in s)s[c].length&&(a+=c+\": \"+s[c].join(\"; \")+r.LINE_BREAK);return\"--\"+this.getBoundary()+r.LINE_BREAK+a+r.LINE_BREAK},r.prototype._getContentDisposition=function(e,t){var n,r=t.filename||e.path;return!r&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(r=e.client._httpMessage.path),r&&(n='filename=\"'+a.basename(r)+'\"'),n},r.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(n=e.headers[\"content-type\"]),!n&&t.filename&&(n=l.lookup(t.filename)),n||\"object\"!=typeof e||(n=r.DEFAULT_CONTENT_TYPE),n},r.prototype._multiPartFooter=function(){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"+r.LINE_BREAK},r.prototype.getHeaders=function(e){var t,n={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),e},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void f.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,i={method:\"post\"};return\"string\"==typeof e?(e=u(e),r=d({port:e.port,path:e.pathname,host:e.hostname},i)):(r=d(e,i),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==r.protocol?c.request(r):s.request(r),this.getLength(function(e,r){return e?void this._error(e):(n.setHeader(\"Content-Length\",r),this.pipe(n),void(t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{\"./populate.js\":118,async:11,buffer:void 0,\"combined-stream\":72,fs:void 0,http:void 0,https:void 0,\"mime-types\":184,path:void 0,url:void 0,util:void 0}],118:[function(e,t,n){t.exports=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e[n]&&(e[n]=t[n]);return e}},{}],119:[function(e,t,n){function r(e){if(!e)throw new TypeError(\"argument req is required\");var t=(e.headers[\"x-forwarded-for\"]||\"\").split(/ *, */).filter(Boolean).reverse(),n=e.connection.remoteAddress,r=[n].concat(t);return r}t.exports=r},{}],120:[function(e,t,n){function r(e,t){var n=!0,r=!0,i=e[\"if-modified-since\"],o=e[\"if-none-match\"],a=t[\"last-modified\"],s=t.etag,c=e[\"cache-control\"];return i||o?c&&-1!==c.indexOf(\"no-cache\")?!1:(o&&(o=o.split(/ *, */)),o&&(n=o.some(function(e){return\"*\"===e||e===s||e===\"W/\"+s})),i&&(i=new Date(i),a=new Date(a),r=i>=a),!(!n||!r)):!1}t.exports=r},{}],121:[function(e,t,n){var r=e(\"util\"),i=/[\\{\\[]/,o=/[\\}\\]]/;t.exports=function(){var e=[],t=0,n=function(n){for(var r=\"\";r.length<2*t;)r+=\"  \";e.push(r+n)},a=function(e){return e?o.test(e.trim()[0])&&i.test(e[e.length-1])?(t--,n(r.format.apply(r,arguments)),t++,a):i.test(e[e.length-1])?(n(r.format.apply(r,arguments)),t++,a):o.test(e.trim()[0])?(t--,n(r.format.apply(r,arguments)),a):(n(r.format.apply(r,arguments)),a):a};return a.toString=function(){return e.join(\"\\n\")},a.toFunction=function(e){var t=\"return (\"+a.toString()+\")\",n=Object.keys(e||{}).map(function(e){return e}),r=n.map(function(t){return e[t]});return Function.apply(null,n.concat(t)).apply(null,r)},arguments.length&&a.apply(null,arguments),a}},{util:void 0}],122:[function(e,t,n){var r=e(\"is-property\"),i=function(e,t){return r(t)?e+\".\"+t:e+\"[\"+JSON.stringify(t)+\"]\"};i.valid=r,i.property=function(e){return r(e)?e:JSON.stringify(e)},t.exports=i},{\"is-property\":161}],123:[function(e,t,n){\"use strict\";function r(e){this.name=\"ValidationError\",this.errors=e}r.prototype=Error.prototype,t.exports=r},{}],124:[function(e,t,n){\"use strict\";var r=e(\"pinkie-promise\"),i=e(\"./runner\"),o=e(\"./schemas\"),a=function(e){return function(t){return new r(function(n,r){i(e,t,function(e,i){return null===e?n(t):r(e)})})}};t.exports=a(o.har),Object.keys(o).map(function(e){t.exports[e]=a(o[e])})},{\"./runner\":125,\"./schemas\":133,\"pinkie-promise\":377}],125:[function(e,t,n){\"use strict\";var r=e(\"./schemas\"),i=e(\"./error\"),o=e(\"is-my-json-valid\");t.exports=function(e,t,n){var a=!1,s=o(e,{greedy:!0,verbose:!0,schemas:r});return void 0!==t&&(a=s(t)),\"function\"==typeof n?n(s.errors?new i(s.errors):null,a):a}},{\"./error\":123,\"./schemas\":133,\"is-my-json-valid\":160}],126:[function(e,t,n){t.exports={properties:{beforeRequest:{$ref:\"#cacheEntry\"},afterRequest:{$ref:\"#cacheEntry\"},comment:{type:\"string\"}}}},{}],127:[function(e,t,n){t.exports={oneOf:[{type:\"object\",optional:!0,required:[\"lastAccess\",\"eTag\",\"hitCount\"],properties:{expires:{type:\"string\"},lastAccess:{type:\"string\"},eTag:{type:\"string\"},hitCount:{type:\"integer\"},comment:{type:\"string\"}}},{type:null,additionalProperties:!1}]}},{}],128:[function(e,t,n){t.exports={type:\"object\",required:[\"size\",\"mimeType\"],properties:{size:{type:\"integer\"},compression:{type:\"integer\"},mimeType:{type:\"string\"},text:{type:\"string\"},encoding:{type:\"string\"},comment:{type:\"string\"}}}},{}],129:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},path:{type:\"string\"},domain:{type:\"string\"},expires:{type:[\"string\",\"null\"],format:\"date-time\"},httpOnly:{type:\"boolean\"},secure:{type:\"boolean\"},comment:{type:\"string\"}}}},{}],130:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"version\"],properties:{name:{type:\"string\"},version:{type:\"string\"},comment:{type:\"string\"}}}},{}],131:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"time\",\"request\",\"response\",\"cache\",\"timings\"],properties:{pageref:{type:\"string\"},startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},time:{type:\"number\",min:0},request:{$ref:\"#request\"},response:{$ref:\"#response\"},cache:{$ref:\"#cache\"},timings:{$ref:\"#timings\"},serverIPAddress:{type:\"string\",oneOf:[{format:\"ipv4\"},{format:\"ipv6\"}]},connection:{type:\"string\"},comment:{type:\"string\"}}}},{}],132:[function(e,t,n){t.exports={type:\"object\",required:[\"log\"],properties:{log:{$ref:\"#log\"}}}},{}],133:[function(e,t,n){\"use strict\";var r={cache:e(\"./cache.json\"),cacheEntry:e(\"./cacheEntry.json\"),content:e(\"./content.json\"),cookie:e(\"./cookie.json\"),creator:e(\"./creator.json\"),entry:e(\"./entry.json\"),har:e(\"./har.json\"),log:e(\"./log.json\"),page:e(\"./page.json\"),pageTimings:e(\"./pageTimings.json\"),postData:e(\"./postData.json\"),record:e(\"./record.json\"),request:e(\"./request.json\"),response:e(\"./response.json\"),timings:e(\"./timings.json\")};r.cache.properties.beforeRequest=r.cacheEntry,r.cache.properties.afterRequest=r.cacheEntry,r.page.properties.pageTimings=r.pageTimings,r.request.properties.cookies.items=r.cookie,r.request.properties.headers.items=r.record,r.request.properties.queryString.items=r.record,r.request.properties.postData=r.postData,r.response.properties.cookies.items=r.cookie,r.response.properties.headers.items=r.record,r.response.properties.content=r.content,r.entry.properties.request=r.request,r.entry.properties.response=r.response,r.entry.properties.cache=r.cache,r.entry.properties.timings=r.timings,r.log.properties.creator=r.creator,r.log.properties.browser=r.creator,r.log.properties.pages.items=r.page,r.log.properties.entries.items=r.entry,r.har.properties.log=r.log,t.exports=r},{\"./cache.json\":126,\"./cacheEntry.json\":127,\"./content.json\":128,\"./cookie.json\":129,\"./creator.json\":130,\"./entry.json\":131,\"./har.json\":132,\"./log.json\":134,\"./page.json\":135,\"./pageTimings.json\":136,\"./postData.json\":137,\"./record.json\":138,\"./request.json\":139,\"./response.json\":140,\"./timings.json\":141}],134:[function(e,t,n){t.exports={type:\"object\",required:[\"version\",\"creator\",\"entries\"],properties:{version:{type:\"string\"},creator:{$ref:\"#creator\"},browser:{$ref:\"#creator\"},pages:{type:\"array\",items:{$ref:\"#page\"}},entries:{type:\"array\",items:{$ref:\"#entry\"}},comment:{type:\"string\"}}}},{}],135:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"id\",\"title\",\"pageTimings\"],properties:{startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},id:{type:\"string\",unique:!0},title:{type:\"string\"},pageTimings:{$ref:\"#pageTimings\"},comment:{type:\"string\"}}}},{}],136:[function(e,t,n){t.exports={type:\"object\",properties:{onContentLoad:{type:\"number\",min:-1},onLoad:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],137:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"mimeType\"],properties:{mimeType:{type:\"string\"},text:{type:\"string\"},params:{type:\"array\",required:[\"name\"],properties:{name:{type:\"string\"},value:{type:\"string\"},fileName:{type:\"string\"},contentType:{type:\"string\"},comment:{type:\"string\"}}},comment:{type:\"string\"}}}},{}],138:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},comment:{type:\"string\"}}}},{}],139:[function(e,t,n){t.exports={type:\"object\",required:[\"method\",\"url\",\"httpVersion\",\"cookies\",\"headers\",\"queryString\",\"headersSize\",\"bodySize\"],properties:{method:{type:\"string\"},url:{type:\"string\",format:\"uri\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},queryString:{type:\"array\",items:{$ref:\"#record\"}},postData:{$ref:\"#postData\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],140:[function(e,t,n){t.exports={type:\"object\",required:[\"status\",\"statusText\",\"httpVersion\",\"cookies\",\"headers\",\"content\",\"redirectURL\",\"headersSize\",\"bodySize\"],properties:{status:{type:\"integer\"},statusText:{type:\"string\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},content:{$ref:\"#content\"},redirectURL:{type:\"string\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],141:[function(e,t,n){t.exports={required:[\"send\",\"wait\",\"receive\"],properties:{dns:{type:\"number\",min:-1},connect:{type:\"number\",min:-1},blocked:{type:\"number\",min:-1},send:{type:\"number\",min:-1},wait:{type:\"number\",min:-1},receive:{type:\"number\",min:-1},ssl:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],142:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var c={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return c.err=\"Invalid argument type\",c;var u=n.timestamp||s.nowSecs(n.localtimeOffsetMsec),p=n.credentials;if(!(p&&p.id&&p.key&&p.algorithm))return c.err=\"Invalid credential object\",c;if(-1===a.algorithms.indexOf(p.algorithm))return c.err=\"Unknown algorithm\",c;\"string\"==typeof e&&(e=r.parse(e));var l={ts:u,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};c.artifacts=l,l.hash||!n.payload&&\"\"!==n.payload||(l.hash=a.calculatePayloadHash(n.payload,p.algorithm,n.contentType));var f=a.calculateMac(\"header\",p,l),d=null!==l.ext&&void 0!==l.ext&&\"\"!==l.ext,h='Hawk id=\"'+p.id+'\", ts=\"'+l.ts+'\", nonce=\"'+l.nonce+(l.hash?'\", hash=\"'+l.hash:\"\")+(d?'\", ext=\"'+i.escapeHeaderAttribute(l.ext):\"\")+'\", mac=\"'+f+'\"';return l.app&&(h+=', app=\"'+l.app+(l.dlg?'\", dlg=\"'+l.dlg:\"\")+'\"'),c.field=h,c},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var u=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(u instanceof Error)return!1;n.ext=u.ext,n.hash=u.hash;var p=a.calculateMac(\"response\",t,n);if(p!==u.mac)return!1;if(!r.payload&&\"\"!==r.payload)return!0;if(!u.hash)return!1;var l=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return l===u.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return\"\";if(-1===a.algorithms.indexOf(o.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var c=Math.floor(n/1e3)+t.ttlSec,u=a.calculateMac(\"bewit\",o,{ts:c,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),p=o.id+\"\\\\\"+c+\"\\\\\"+u+\"\\\\\"+t.ext;return i.base64urlEncode(p)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||s.nowSecs(r.localtimeOffsetMsec),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":143,\"./utils\":146,cryptiles:78,hoek:149,url:void 0}],143:[function(e,t,n){var r=e(\"crypto\"),i=e(\"url\"),o=e(\"./utils\");n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=t.resource||\"\";if(r&&\"/\"!==r[0]){var o=i.parse(r,!1);r=o.path}var a=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+r+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(a+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),a+=\"\\n\",t.app&&(a+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),a},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var i=r.createHash(e);return i.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),i.update(o.parseContentType(t)+\"\\n\"),i},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=o.nowSecs(t),i=n.calculateTsMac(r,e);return{ts:r,tsm:i}}},{\"./utils\":146,crypto:void 0,url:void 0}],144:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":142,\"./crypto\":143,\"./server\":145,\"./utils\":146,boom:51,sntp:434}],145:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\"),c={};n.authenticate=function(e,t,n,u){u=i.nextTick(u),n.nonceFunc=n.nonceFunc||c.nonceFunc,n.timestampSkewSec=n.timestampSkewSec||60;var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));var f=s.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return u(f);var d={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};return f.id&&f.ts&&f.nonce&&f.mac?void t(f.id,function(e,t){if(e)return u(e,t||null,d);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,d);var i=a.calculateMac(\"header\",t,d);if(!o.fixedTimeComparison(i,f.mac))return u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d);if(n.payload||\"\"===n.payload){if(!f.hash)return u(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,d);var s=a.calculatePayloadHash(n.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(s,f.hash))return u(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,d)}n.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return u(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,d);if(Math.abs(1e3*f.ts-p)>1e3*n.timestampSkewSec){var i=a.timestampMessage(t,n.localtimeOffsetMsec);return u(r.unauthorized(\"Stale timestamp\",\"Hawk\",i),t,d)}return u(null,t,d)})}):u(r.badRequest(\"Missing attributes\"),null,d)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";t.hash||!n.payload&&\"\"!==n.payload||(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+i.escapeHeaderAttribute(t.ext)+'\"'),o},c.bewitRegex=/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/,n.authenticateBewit=function(e,t,n,u){u=i.nextTick(u);var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));if(l.url.length>s.limits.maxMatchLength)return u(r.badRequest(\"Resource path exceeds max length\"));var f=l.url.match(c.bewitRegex);if(!f)return u(r.unauthorized(null,\"Hawk\"));if(!f[3])return u(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==l.method&&\"HEAD\"!==l.method)return u(r.unauthorized(\"Invalid method\",\"Hawk\"));if(l.authorization)return u(r.badRequest(\"Multiple authentications\"));var d=i.base64urlDecode(f[3]);if(d instanceof Error)return u(r.badRequest(\"Invalid bewit encoding\"));var h=d.split(\"\\\\\");if(4!==h.length)return u(r.badRequest(\"Invalid bewit structure\"));var m={id:h[0],exp:parseInt(h[1],10),mac:h[2],ext:h[3]||\"\"};if(!m.id||!m.exp||!m.mac)return u(r.badRequest(\"Missing bewit attributes\"));var v=f[1];return f[4]&&(v+=f[2]+f[4]),1e3*m.exp<=p?u(r.unauthorized(\"Access expired\",\"Hawk\"),null,m):void t(m.id,function(e,t){if(e)return u(e,t||null,m.ext);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,m);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,m);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,m);var n=a.calculateMac(\"bewit\",t,{ts:m.exp,nonce:\"\",method:\"GET\",resource:v,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(n,m.mac)?u(null,t,m):u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,m)})},n.authenticateMessage=function(e,t,n,u,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var d=s.now(l.localtimeOffsetMsec);return u.id&&u.ts&&u.nonce&&u.hash&&u.mac?void p(u.id,function(i,s){if(i)return f(i,s||null);if(!s)return f(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!s.key||!s.algorithm)return f(r.internal(\"Invalid credentials\"),s);if(-1===a.algorithms.indexOf(s.algorithm))return f(r.internal(\"Unknown algorithm\"),s);var c={ts:u.ts,nonce:u.nonce,host:e,port:t,hash:u.hash},p=a.calculateMac(\"message\",s,c);if(!o.fixedTimeComparison(p,u.mac))return f(r.unauthorized(\"Bad mac\",\"Hawk\"),s);var h=a.calculatePayloadHash(n,s.algorithm);return o.fixedTimeComparison(h,u.hash)?void l.nonceFunc(s.key,u.nonce,u.ts,function(e){return e?f(r.unauthorized(\"Invalid nonce\",\"Hawk\"),s):Math.abs(1e3*u.ts-d)>1e3*l.timestampSkewSec?f(r.unauthorized(\"Stale timestamp\"),s):f(null,s)}):f(r.unauthorized(\"Bad message hash\",\"Hawk\"),s)}):f(r.badRequest(\"Invalid authorization\"))},c.nonceFunc=function(e,t,n,r){return r()}},{\"./crypto\":143,\"./utils\":146,boom:51,cryptiles:78,hoek:149}],146:[function(e,t,n){var r=e(\"sntp\"),i=e(\"boom\"),o={};n.version=function(){return e(\"../package.json\").version},n.limits={maxMatchLength:4096},o.hostHeaderRegex=/^(?:(?:\\r\\n)?\\s)*((?:[^:]+)|(?:\\[[^\\]]+\\]))(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/,n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var r=e.headers[t];if(!r)return null;if(r.length>n.limits.maxMatchLength)return null;var i=r.match(o.hostHeaderRegex);return i?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;var r;if(!(t.host&&t.port||(r=n.parseHost(e,t.hostHeaderName))))return new Error(\"Invalid Host header\");var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(e){return r.now()+(e||0)},n.nowSecs=function(e){return Math.floor(n.now(e)/1e3)},o.authHeaderRegex=/^(\\w+)(?:\\s+(.*))?$/,o.attributeRegex=/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/,n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return i.unauthorized(null,\"Hawk\");if(e.length>n.limits.maxMatchLength)return i.badRequest(\"Header length too long\");var r=e.match(o.authHeaderRegex);if(!r)return i.badRequest(\"Invalid header syntax\");var a=r[1];if(\"hawk\"!==a.toLowerCase())return i.unauthorized(null,\"Hawk\");var s=r[2];if(!s)return i.badRequest(\"Invalid header syntax\");var c={},u=\"\",p=s.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(u=\"Unknown attribute: \"+n):null===r.match(o.attributeRegex)?void(u=\"Bad attribute value: \"+n):c.hasOwnProperty(n)?void(u=\"Duplicate attribute: \"+n):(c[n]=r,\"\")});return\"\"!==p?i.badRequest(u||\"Bad header format\"):c},n.unauthorized=function(e,t){return i.unauthorized(e,\"Hawk\",t)}},{\"../package.json\":147,boom:51,sntp:434}],147:[function(e,t,n){t.exports={_args:[[\"hawk@~3.1.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"hawk@>=3.1.0 <3.2.0\",_id:\"hawk@3.1.3\",_inCache:!0,_installable:!0,_location:\"/hawk\",_nodeVersion:\"5.4.1\",_npmUser:{email:\"eran@hammer.io\",name:\"hueniverse\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"hawk\",raw:\"hawk@~3.1.0\",rawSpec:\"~3.1.0\",scope:null,spec:\">=3.1.0 <3.2.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\",_shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",_shrinkwrap:null,_spec:\"hawk@~3.1.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"eran@hammer.io\",name:\"Eran Hammer\",url:\"http://hueniverse.com\"},browser:\"./lib/browser.js\",bugs:{url:\"https://github.com/hueniverse/hawk/issues\"},contributors:[],dependencies:{boom:\"2.x.x\",cryptiles:\"2.x.x\",hoek:\"2.x.x\",sntp:\"1.x.x\"},description:\"HTTP Hawk Authentication Scheme\",devDependencies:{code:\"1.x.x\",lab:\"5.x.x\"},directories:{},dist:{shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",tarball:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\"},engines:{node:\">=0.10.32\"},gitHead:\"2f0b93b34ed9b0ebc865838ef70c6a4035591430\",homepage:\"https://github.com/hueniverse/hawk#readme\",keywords:[\"authentication\",\"hawk\",\"http\",\"scheme\"],license:\"BSD-3-Clause\",main:\"lib/index.js\",maintainers:[{name:\"hueniverse\",email:\"eran@hueniverse.com\"}],name:\"hawk\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/hueniverse/hawk.git\"},scripts:{test:\"lab -a code -t 100 -L\",\"test-cov-html\":\"lab -a code -r html -o coverage.html\"},version:\"3.1.3\"}},{}],148:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";var i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],149:[function(e,t,n){(function(t){var r=e(\"crypto\"),i=e(\"path\"),o=e(\"util\"),a=e(\"./escape\"),s={};n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o,a=!1;if(Array.isArray(e))o=[],a=!0;else if(t.isBuffer(e))o=new t(e);else if(e instanceof Date)o=new Date(e.getTime());else if(e instanceof RegExp)o=new RegExp(e);else{var s=Object.getPrototypeOf(e);s&&s.isImmutable?o=e:(o=Object.create(s),a=!0)}if(r.orig.push(e),r.copy.push(o),a)for(var c=Object.getOwnPropertyNames(e),u=0,p=c.length;p>u;++u){var l=c[u],f=Object.getOwnPropertyDescriptor(e,l);f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=n.clone(e[l],r)}return o},n.merge=function(e,r,i,o){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===r||void 0===r||\"object\"==typeof r,\"Invalid source value: must be null, undefined, or an object\"),!r)return e;if(Array.isArray(r)){n.assert(Array.isArray(e),\"Cannot merge array onto an object\"),o===!1&&(e.length=0);for(var a=0,s=r.length;s>a;++a)e.push(n.clone(r[a]));return e}for(var c=Object.keys(r),u=0,p=c.length;p>u;++u){var l=c[u],f=r[l];f&&\"object\"==typeof f?!e[l]||\"object\"!=typeof e[l]||Array.isArray(e[l])^Array.isArray(f)||f instanceof Date||t.isBuffer(f)||f instanceof RegExp?e[l]=n.clone(f):n.merge(e[l],f,i,o):null!==f&&void 0!==f?e[l]=f:i!==!1&&(e[l]=f)}return e},n.applyToDefaults=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var i=n.clone(e);return t===!0?i:n.merge(i,t,r===!0,!1)},n.cloneWithShallow=function(e,t){if(!e||\"object\"!=typeof e)return e;var r=s.store(e,t),i=n.clone(e);return s.restore(i,e,r),i},s.store=function(e,t){for(var r={},i=0,o=t.length;o>i;++i){var a=t[i],c=n.reach(e,a);void 0!==c&&(r[a]=c,s.reachSet(e,a,void 0))}return r},s.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var a=r[i];s.reachSet(e,a,n[a]),s.reachSet(t,a,n[a])}},s.reachSet=function(e,t,n){for(var r=t.split(\".\"),i=e,o=0,a=r.length;a>o;++o){var s=r[o];o+1===a&&(i[s]=n),i=i[s]}},n.applyToDefaultsWithShallow=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),n.assert(r&&Array.isArray(r),\"Invalid keys\"),!t)return null;var i=n.cloneWithShallow(e,r);if(t===!0)return i;var o=s.store(t,r);return n.merge(i,t,!1,!1),s.restore(i,t,o),i},n.deepEqual=function(e,r,i,o){i=i||{prototype:!0};var a=typeof e;if(a!==typeof r)return!1;if(\"object\"!==a||null===e||null===r)return e===r?0!==e||1/e===1/r:e!==e&&r!==r;if(o=o||[],-1!==o.indexOf(e))return!0;if(o.push(e),Array.isArray(e)){if(!Array.isArray(r))return!1;if(!i.part&&e.length!==r.length)return!1;for(var s=0,c=e.length;c>s;++s){if(i.part){for(var u=!1,p=0,l=r.length;l>p;++p)if(n.deepEqual(e[s],r[p],i,o)){u=!0;break}return u}if(!n.deepEqual(e[s],r[s],i,o))return!1;\n}return!0}if(t.isBuffer(e)){if(!t.isBuffer(r))return!1;if(e.length!==r.length)return!1;for(var f=0,d=e.length;d>f;++f)if(e[f]!==r[f])return!1;return!0}if(e instanceof Date)return r instanceof Date&&e.getTime()===r.getTime();if(e instanceof RegExp)return r instanceof RegExp&&e.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;var h=Object.getOwnPropertyNames(e);if(!i.part&&h.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,v=h.length;v>m;++m){var g=h[m],y=Object.getOwnPropertyDescriptor(e,g);if(y.get){if(!n.deepEqual(y,Object.getOwnPropertyDescriptor(r,g),i,o))return!1}else if(!n.deepEqual(e[g],r[g],i,o))return!1}return!0},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=Array.isArray(e)?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.contain=function(e,t,r){var i=null;\"object\"!=typeof e||\"object\"!=typeof t||Array.isArray(e)||Array.isArray(t)?t=[].concat(t):(i=t,t=Object.keys(t)),r=r||{},n.assert(arguments.length>=2,\"Insufficient arguments\"),n.assert(\"string\"==typeof e||\"object\"==typeof e,\"Reference must be string or an object\"),n.assert(t.length,\"Values array cannot be empty\");var o,a;if(r.deep){o=n.deepEqual;var s=r.hasOwnProperty(\"only\"),c=r.hasOwnProperty(\"part\");a={prototype:s?r.only:c?!r.part:!1,part:s?!r.only:c?r.part:!0}}else o=function(e,t){return e===t};for(var u=!1,p=new Array(t.length),l=0,f=p.length;f>l;++l)p[l]=0;if(\"string\"==typeof e){var d=\"(\";for(l=0,f=t.length;f>l;++l){var h=t[l];n.assert(\"string\"==typeof h,\"Cannot compare string reference to non-string value\"),d+=(l?\"|\":\"\")+n.escapeRegex(h)}var m=new RegExp(d+\")\",\"g\"),v=e.replace(m,function(e,n){var r=t.indexOf(n);return++p[r],\"\"});u=!!v}else if(Array.isArray(e))for(l=0,f=e.length;f>l;++l){for(var g=0,y=t.length,b=!1;y>g&&b===!1;++g)b=o(t[g],e[l],a)&&g;b!==!1?++p[b]:u=!0}else{var x=Object.keys(e);for(l=0,f=x.length;f>l;++l){var w=x[l],_=t.indexOf(w);if(-1!==_){if(i&&!o(i[w],e[w],a))return!1;++p[_]}else u=!0}}var k=!1;for(l=0,f=p.length;f>l;++l)if(k=k||!!p[l],r.once&&p[l]>1||!r.part&&!p[l])return!1;return r.only&&u?!1:k},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.reach=function(e,t,r){if(t===!1||null===t||\"undefined\"==typeof t)return e;r=r||{},\"string\"==typeof r&&(r={separator:r});for(var i=t.split(r.separator||\".\"),o=e,a=0,s=i.length;s>a;++a){var c=i[a];if(\"-\"===c[0]&&Array.isArray(o)&&(c=c.slice(1,c.length),c=o.length-c),!o||!o.hasOwnProperty(c)||\"object\"!=typeof o&&r.functions===!1){n.assert(!r.strict||a+1===s,\"Missing segment\",c,\"in reach path \",t),n.assert(\"object\"==typeof o||r.functions===!0||\"function\"!=typeof o,\"Invalid segment\",c,\"in reach path \",t),o=r[\"default\"];break}o=o[c]}return o},n.reachTemplate=function(e,t,r){return t.replace(/{([^}]+)}/g,function(t,i){var o=n.reach(e,i,r);return void 0===o||null===o?\"\":o})},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var t=[],r=1,i=arguments.length;i>r;++r)\"\"!==arguments[r]&&t.push(arguments[r]);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:n.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.Timer=function(){this.ts=0,this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.Bench=function(){this.ts=0,this.reset()},n.Bench.prototype.reset=function(){this.ts=n.Bench.now()},n.Bench.prototype.elapsed=function(){return n.Bench.now()-this.ts},n.Bench.now=function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.base64urlEncode=function(e,n){var r=t.isBuffer(e)?e:new t(e,n||\"binary\");return r.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e,n){if(e&&!/^[\\w\\-]*$/.test(e))return new Error(\"Invalid character\");try{var r=new t(e,\"base64\");return\"buffer\"===n?r:r.toString(n||\"binary\")}catch(i){return i}},n.escapeHeaderAttribute=function(e){return n.assert(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/.test(e),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return a.escapeHtml(e)},n.escapeJavaScript=function(e){return a.escapeJavaScript(e)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}},n.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},n.isAbsolutePath=function(e,t){return e?i.isAbsolute?i.isAbsolute(e):(t=t||process.platform,\"win32\"!==t?\"/\"===e[0]:!!/^(?:[a-zA-Z]:[\\\\\\/])|(?:[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/])/.test(e)):!1},n.isInteger=function(e){return\"number\"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},n.ignore=function(){},n.inherits=o.inherits,n.format=o.format,n.transform=function(e,t,r){if(n.assert(null===e||void 0===e||\"object\"==typeof e||Array.isArray(e),\"Invalid source object: must be null, undefined, an object, or an array\"),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)i.push(n.transform(e[o],t,r));return i}for(var s={},c=Object.keys(t),u=0,p=c.length;p>u;++u){var l=c[u],f=l.split(\".\"),d=t[l];n.assert(\"string\"==typeof d,'All mappings must be \".\" delineated strings');for(var h,m=s;f.length>1;)h=f.shift(),m[h]||(m[h]={}),m=m[h];h=f.shift(),m[h]=n.reach(e,d,r)}return s},n.uniqueFilename=function(e,t){t=t?\".\"!==t[0]?\".\"+t:t:\"\",e=i.resolve(e);var n=[Date.now(),process.pid,r.randomBytes(8).toString(\"hex\")].join(\"-\")+t;return i.join(e,n)},n.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return\"[Cannot display object: \"+e.message+\"]\"}},n.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":148,buffer:void 0,crypto:void 0,path:void 0,util:void 0}],150:[function(e,t,n){function r(e,t){return function n(){if(!n.hookCalled){n.hookCalled=!0;var r=e.apply(t,arguments);r&&r.then&&r.then(function(){},function(){})}}}t.exports={hook:function(e,t,n){if(1!==arguments.length||\"object\"!=typeof e){var i=this.prototype||this,o=i._pres=i._pres||{},a=i._posts=i._posts||{};return o[e]=o[e]||[],a[e]=a[e]||[],i[e]=function(){var o,a=this,s=arguments[arguments.length-1],c=this._pres[e],u=this._posts[e],p=c.length,l=-1,f=i[e].numAsyncPres,d=function(e){return e?h(e):void(--f||v.apply(a,o))},h=function(e){if(\"function\"==typeof s)return s(e);if(n)return n.call(a,e);throw e},m=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,n=Array.prototype.slice.call(arguments);if(!n.length||null==arguments[0]&&\"function\"==typeof s||(o=n),++l<p){if(e=c[l],e.isAsync&&e.length<2)throw new Error(\"Your pre must have next and done arguments -- e.g., function (next, done, ...)\");if(e.length<1)throw new Error(\"Your pre must have a next argument -- e.g., function (next, ...)\");return t=(e.isAsync?[r(m),r(d)]:[r(m)]).concat(o),e.apply(a,t)}return f?void 0:v.apply(a,o)},v=function(){var e,n,i,c,f=Array.prototype.slice.call(arguments);return l===p?(c=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,p=Array.prototype.slice.call(arguments,1);if(p.length&&(o=p),++i<n){if(e=u[i],e.length<1)throw new Error(\"Your post must have a next argument -- e.g., function (next, ...)\");return t=[r(c)].concat(o),e.apply(a,t)}return\"function\"==typeof s?s.apply(a,arguments):void 0},\"function\"==typeof s&&(f[f.length-1]=r(c)),n=u.length,i=-1,e=t.apply(a,f),n&&\"function\"!=typeof s?c():e):void 0};return m.apply(this,arguments)},i[e].numAsyncPres=0,this}for(var s in e)this.hook(s,e[s])},pre:function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1);var i=this.prototype||this,o=i._pres=i._pres||{};return this._lazySetupHooks(i,e,r),(n.isAsync=t)&&i[e].numAsyncPres++,(o[e]=o[e]||[]).push(n),this},post:function(e,t,n){2===arguments.length&&(n=t,t=!1);var r=this.prototype||this,i=r._posts=r._posts||{};return this._lazySetupHooks(r,e),(i[e]=i[e]||[]).push(n),this},removePre:function(e,t){var n=this.prototype||this,r=n._pres||n._pres||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},removePost:function(e,t){var n=this.prototype||this,r=n._posts||n._posts||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},_lazySetupHooks:function(e,t,n){\"undefined\"==typeof e[t].numAsyncPres&&this.hook(t,e[t],n)}}},{}],151:[function(e,t,n){function r(e){return e.split(\" \").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join(\"\").replace(/[^ _0-9a-z]/gi,\"\")}var i=e(\"statuses\"),o=e(\"inherits\");n=t.exports=function s(){for(var e,t,r=500,o={},a=0;a<arguments.length;a++){var c=arguments[a];if(c instanceof Error)e=c,r=e.status||e.statusCode||r;else switch(typeof c){case\"string\":t=c;break;case\"number\":r=c;break;case\"object\":o=c}}\"number\"==typeof r&&i[r]||(r=500);var u=n[r];e||(e=u?new u(t):new Error(t||i[r]),Error.captureStackTrace(e,s)),u&&e instanceof u||(e.expose=500>r,e.status=e.statusCode=r);for(var p in o)\"status\"!==p&&\"statusCode\"!==p&&(e[p]=o[p]);return e};var a=i.codes.filter(function(e){return e>=400});a.forEach(function(e){var t=r(i[e]),a=t.match(/Error$/)?t:t+\"Error\";if(e>=500){var s=function u(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,u),n.__proto__=u.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};return o(s,Error),s.prototype.status=s.prototype.statusCode=e,s.prototype.expose=!1,void(n[e]=n[t]=s)}var c=function p(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,p),n.__proto__=p.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};o(c,Error),c.prototype.status=c.prototype.statusCode=e,c.prototype.expose=!0,n[e]=n[t]=c}),n[\"I'mateapot\"]=n.ImATeapot},{inherits:157,statuses:455}],152:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./utils\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC}},{\"./parser\":153,\"./signer\":154,\"./utils\":155,\"./verify\":156}],153:[function(e,t,n){function r(e){l.call(this,e,r)}function i(e){l.call(this,e,i)}function o(e){l.call(this,e,o)}function a(e){l.call(this,e,a)}function s(e){l.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p=e(\"./utils\"),l=(p.HASH_ALGOS,p.PK_ALGOS,p.HttpSignatureError),f=p.InvalidAlgorithmError,d=p.validateAlgorithm,h={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,l),u.inherits(i,l),u.inherits(o,l),u.inherits(a,l),u.inherits(s,l),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new a(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,u=h.New,p=m.Name,l=\"\",v=\"\",g={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},y=e.headers.authorization;for(n=0;n<y.length;n++){var b=y.charAt(n);switch(Number(u)){case h.New:\" \"!==b?g.scheme+=b:u=h.Params;break;case h.Params:switch(Number(p)){case m.Name:var x=b.charCodeAt(0);if(x>=65&&90>=x||x>=97&&122>=x)l+=b;else{if(\"=\"!==b)throw new i(\"bad param format\");if(0===l.length)throw new i(\"bad param format\");p=m.Quote}break;case m.Quote:if('\"'!==b)throw new i(\"bad param format\");v=\"\",p=m.Value;break;case m.Value:'\"'===b?(g.params[l]=v,p=m.Comma):v+=b;break;case m.Comma:if(\",\"!==b)throw new i(\"bad param format\");l=\"\",p=m.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(g.params.headers&&\"\"!==g.params.headers?g.params.headers=g.params.headers.split(\" \"):e.headers[\"x-date\"]?g.params.headers=[\"x-date\"]:g.params.headers=[\"date\"],!g.scheme||\"Signature\"!==g.scheme)throw new i('scheme was not \"Signature\"');if(!g.params.keyId)throw new i(\"keyId was not specified\");if(!g.params.algorithm)throw new i(\"algorithm was not specified\");if(!g.params.signature)throw new i(\"signature was not specified\");g.params.algorithm=g.params.algorithm.toLowerCase();try{d(g.params.algorithm)}catch(w){throw w instanceof f?new o(g.params.algorithm+\" is not supported\"):w}for(n=0;n<g.params.headers.length;n++){var _=g.params.headers[n].toLowerCase();if(g.params.headers[n]=_,\"request-line\"===_){if(t.strict)throw new s(\"request-line is not a valid header with strict parsing enabled.\");g.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion}else if(\"(request-target)\"===_)g.signingString+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.url;else{var k=e.headers[_];if(void 0===k)throw new a(_+\" was not in the request\");g.signingString+=_+\": \"+k}n+1<g.params.headers.length&&(g.signingString+=\"\\n\")}var j;if(e.headers.date||e.headers[\"x-date\"]){j=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new r(\"clock skew of \"+E/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(g.params.headers.indexOf(e)<0)throw new a(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(g.params.algorithm))throw new o(g.params.algorithm+\" is not a supported algorithm\");return g}}},{\"./utils\":155,\"assert-plus\":10,util:void 0}],154:[function(e,t,n){(function(n){function r(e){v.call(this,e,r)}function i(e){v.call(this,e,i)}function o(e){a.object(e,\"options\");var t=[];if(void 0!==e.algorithm&&(a.string(e.algorithm,\"options.algorithm\"),t=g(e.algorithm)),this.rs_alg=t,void 0!==e.sign)a.func(e.sign,\"options.sign\"),this.rs_signFunc=e.sign;else if(\"hmac\"===t[0]&&void 0!==e.key){if(a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,\"string\"!=typeof e.key&&!n.isBuffer(e.key))throw new TypeError(\"options.key for HMAC must be a string or Buffer\");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest(\"base64\");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError(\"options.sign (func) or options.key is required\");var r=e.key;if((\"string\"==typeof r||n.isBuffer(r))&&(r=u.parsePrivateKey(r)),a.ok(u.PrivateKey.isPrivateKey(r,[1,2]),\"options.key must be a sshpk.PrivateKey\"),this.rs_key=r,a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,!h[r.type])throw new m(r.type.toUpperCase()+\" type keys are not supported\");if(void 0!==t[0]&&r.type!==t[0])throw new m(\"options.key must be a \"+t[0].toUpperCase()+\" key, was given a \"+r.type.toUpperCase()+\" key instead\");this.rs_signer=r.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var a=e(\"assert-plus\"),s=e(\"crypto\"),c=(e(\"http\"),e(\"util\")),u=e(\"sshpk\"),p=e(\"jsprim\"),l=e(\"./utils\"),f=e(\"util\").format,d=l.HASH_ALGOS,h=l.PK_ALGOS,m=l.InvalidAlgorithmError,v=l.HttpSignatureError,g=l.validateAlgorithm,y='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';c.inherits(r,v),c.inherits(i,v),o.prototype.writeHeader=function(e,t){if(a.string(e,\"header\"),e=e.toLowerCase(),a.string(t,\"value\"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+\": \"+t);else{var n=e+\": \"+t;this.rs_headers.length>0&&(n=\"\\n\"+n),this.rs_signer.update(n)}return t},o.prototype.writeDateHeader=function(){return this.writeHeader(\"date\",p.rfc1123(new Date))},o.prototype.writeTarget=function(e,t){a.string(e,\"method\"),a.string(t,\"path\"),e=e.toLowerCase(),this.writeHeader(\"(request-target)\",e+\" \"+t)},o.prototype.sign=function(e){if(a.func(e,\"callback\"),this.rs_headers.length<1)throw new Error(\"At least one header must be signed\");var t,n;if(this.rs_signFunc){var r=this.rs_lines.join(\"\\n\"),i=this;this.rs_signFunc(r,function(r,o){if(r)return void e(r);try{a.object(o,\"signature\"),a.string(o.keyId,\"signature.keyId\"),a.string(o.algorithm,\"signature.algorithm\"),a.string(o.signature,\"signature.signature\"),t=g(o.algorithm),n=f(y,o.keyId,o.algorithm,i.rs_headers.join(\" \"),o.signature)}catch(s){return void e(s)}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(s){return void e(s)}t=(this.rs_alg[0]||this.rs_key.type)+\"-\"+o.hashAlgorithm;var c=o.toString();n=f(y,this.rs_keyId,t,this.rs_headers.join(\" \"),c),e(null,n)}},t.exports={isSigner:function(e){return\"object\"==typeof e&&e instanceof o},createSigner:function(e){return new o(e)},signRequest:function(e,t){a.object(e,\"request\"),a.object(t,\"options\"),a.optionalString(t.algorithm,\"options.algorithm\"),a.string(t.keyId,\"options.keyId\"),a.optionalArrayOfString(t.headers,\"options.headers\"),a.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",p.rfc1123(new Date)),t.headers||(t.headers=[\"date\"]),t.httpVersion||(t.httpVersion=\"1.1\");var o=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),o=g(t.algorithm));var c,l=\"\";for(c=0;c<t.headers.length;c++){if(\"string\"!=typeof t.headers[c])throw new TypeError(\"options.headers must be an array of Strings\");var v=t.headers[c].toLowerCase();if(\"request-line\"===v){if(t.strict)throw new i(\"request-line is not a valid header with strict parsing enabled.\");l+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion}else if(\"(request-target)\"===v)l+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.path;else{var b=e.getHeader(v);if(void 0===b||\"\"===b)throw new r(v+\" was not in the request\");l+=v+\": \"+b}c+1<t.headers.length&&(l+=\"\\n\")}e.hasOwnProperty(\"_stringToSign\")&&(e._stringToSign=l);var x;if(\"hmac\"===o[0]){if(\"string\"!=typeof t.key&&!n.isBuffer(t.key))throw new TypeError(\"options.key must be a string or Buffer\");var w=s.createHmac(o[1].toUpperCase(),t.key);w.update(l),x=w.digest(\"base64\")}else{var _=t.key;if((\"string\"==typeof _||n.isBuffer(_))&&(_=u.parsePrivateKey(t.key)),a.ok(u.PrivateKey.isPrivateKey(_,[1,2]),\"options.key must be a sshpk.PrivateKey\"),!h[_.type])throw new m(_.type.toUpperCase()+\" type keys are not supported\");if(void 0!==o[0]&&_.type!==o[0])throw new m(\"options.key must be a \"+o[0].toUpperCase()+\" key, was given a \"+_.type.toUpperCase()+\" key instead\");var k=_.createSign(o[1]);k.update(l);var j=k.sign();if(!d[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+\" is not a supported hash algorithm\");t.algorithm=_.type+\"-\"+j.hashAlgorithm,x=j.toString(),a.notStrictEqual(x,\"\",\"empty signature produced\")}return e.setHeader(\"Authorization\",f(y,t.keyId,t.algorithm,t.headers.join(\" \"),x)),!0}}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./utils\":155,\"assert-plus\":10,crypto:void 0,http:void 0,jsprim:175,sshpk:448,util:void 0}],155:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){var t=e.toLowerCase().split(\"-\");if(2!==t.length)throw new i(t[0].toUpperCase()+\" is not a valid algorithm\");if(\"hmac\"!==t[0]&&!p[t[0]])throw new i(t[0].toUpperCase()+\" type keys are not supported\");if(!u[t[1]])throw new i(t[1].toUpperCase()+\" is not a supported hash algorithm\");return t}var a=e(\"assert-plus\"),s=e(\"sshpk\"),c=e(\"util\"),u={sha1:!0,sha256:!0,sha512:!0},p={rsa:!0,dsa:!0,ecdsa:!0};c.inherits(r,Error),c.inherits(i,r),t.exports={HASH_ALGOS:u,PK_ALGOS:p,HttpSignatureError:r,InvalidAlgorithmError:i,validateAlgorithm:o,sshKeyToPEM:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.toString(\"pem\")},fingerprint:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.fingerprint(\"md5\").toString(\"hex\")},pemToRsaSSHKey:function(e,t){a.equal(\"string\",typeof e,\"typeof pem\");var n=s.parseKey(e,\"pem\");return n.comment=t,n.toString(\"ssh\")}}},{\"assert-plus\":10,sshpk:448,util:void 0}],156:[function(e,t,n){(function(n){var r=e(\"assert-plus\"),i=e(\"crypto\"),o=e(\"sshpk\"),a=e(\"./utils\"),s=(a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError,a.validateAlgorithm);t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),(\"string\"==typeof t||n.isBuffer(t))&&(t=o.parseKey(t)),r.ok(o.Key.isKey(t,[1,1]),\"pubkey must be a sshpk.Key\");var i=s(e.algorithm);if(\"hmac\"===i[0]||i[0]!==t.type)return!1;var a=t.createVerify(i[1]);return a.update(e.signingString),a.verify(e.params.signature,\"base64\")},verifyHMAC:function(e,t){r.object(e,\"parsedHMAC\"),r.string(t,\"secret\");var o=s(e.algorithm);if(\"hmac\"!==o[0])return!1;var a=o[1].toUpperCase(),c=i.createHmac(a,t);c.update(e.signingString);var u=i.createHmac(a,t);u.update(c.digest()),u=u.digest();var p=i.createHmac(a,t);return p.update(new n(e.params.signature,\"base64\")),p=p.digest(),\"string\"==typeof u?u===p:n.isBuffer(u)&&!u.equals?u.toString(\"binary\")===p.toString(\"binary\"):u.equals(p)}}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":155,\"assert-plus\":10,buffer:void 0,crypto:void 0,sshpk:448}],157:[function(e,t,n){t.exports=e(\"util\").inherits},{util:void 0}],158:[function(e,t,n){(function(){var e,n,r,i,o,a,s,c;n={},c=this,\"undefined\"!=typeof t&&null!==t&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,o;if(e.length!==t.length)throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");for(i=0;r>0;){if(o=n-r,0>o&&(o=0),e[i]>>o!==t[i]>>o)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,o,a,s;null==n&&(n=\"unicast\");for(r in t)for(i=t[r],!i[0]||i[0]instanceof Array||(i=[i]),a=0,s=i.length;s>a;a++)if(o=i[a],e.match.apply(e,o))return r;return n},n.IPv4=function(){function e(e){var t,n,r;if(4!==e.length)throw new Error(\"ipaddr: ipv4 octet count should be 4\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&255>=t))throw new Error(\"ipaddr: ipv4 octet is a byte\");this.octets=e}return e.prototype.kind=function(){return\"ipv4\"},e.prototype.toString=function(){return this.octets.join(\".\")},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv4\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],\"private\":[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(\"::ffff:\"+this.toString())},e}(),r=\"(0?\\\\d+|0x[a-f0-9]+)\",i={fourOctet:new RegExp(\"^\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\",\"i\"),longValue:new RegExp(\"^\"+r+\"$\",\"i\")},n.IPv4.parser=function(e){var t,n,r,o,a;if(n=function(e){return\"0\"===e[0]&&\"x\"!==e[1]?parseInt(e,8):parseInt(e)},t=e.match(i.fourOctet))return function(){var e,i,o,a;for(o=t.slice(1,6),a=[],e=0,i=o.length;i>e;e++)r=o[e],a.push(n(r));return a}();if(t=e.match(i.longValue)){if(a=n(t[1]),a>4294967295||0>a)throw new Error(\"ipaddr: address outside defined range\");return function(){var e,t;for(t=[],o=e=0;24>=e;o=e+=8)t.push(a>>o&255);return t}().reverse()}return null},n.IPv6=function(){function e(e){var t,n,r;if(8!==e.length)throw new Error(\"ipaddr: ipv6 part count should be 8\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&65535>=t))throw new Error(\"ipaddr: ipv6 part should fit to two octets\");this.parts=e}return e.prototype.kind=function(){return\"ipv6\"},e.prototype.toString=function(){var e,t,n,r,i,o,a;for(i=function(){var e,n,r,i;for(r=this.parts,i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push(t.toString(16));return i}.call(this),e=[],n=function(t){return e.push(t)},r=0,o=0,a=i.length;a>o;o++)switch(t=i[o],r){case 0:n(\"0\"===t?\"\":t),r=1;break;case 1:\"0\"===t?r=2:n(t);break;case 2:\"0\"!==t&&(n(\"\"),n(t),r=3);break;case 3:n(t)}return 2===r&&(n(\"\"),n(\"\")),e.join(\":\")},e.prototype.toByteArray=function(){var e,t,n,r,i;for(e=[],i=this.parts,n=0,r=i.length;r>n;n++)t=i[n],e.push(t>>8),e.push(255&t);return e},e.prototype.toNormalizedString=function(){var e;return function(){var t,n,r,i;for(r=this.parts,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.toString(16));return i}.call(this).join(\":\")},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv6\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],\"6to4\":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return\"ipv4Mapped\"===this.range()},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,255&e,t>>8,255&t])},e}(),o=\"(?:[0-9a-f]+::?)+\",a={\"native\":new RegExp(\"^(::)?(\"+o+\")?([0-9a-f]+)?(::)?$\",\"i\"),transitional:new RegExp(\"^((?:\"+o+\")|(?:::)(?:\"+o+\")?)\"+(\"\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\"),\"i\")},e=function(e,t){var n,r,i,o,a;if(e.indexOf(\"::\")!==e.lastIndexOf(\"::\"))return null;for(n=0,r=-1;(r=e.indexOf(\":\",r+1))>=0;)n++;if(\"::\"===e.substr(0,2)&&n--,\"::\"===e.substr(-2,2)&&n--,n>t)return null;for(a=t-n,o=\":\";a--;)o+=\"0:\";return e=e.replace(\"::\",o),\":\"===e[0]&&(e=e.slice(1)),\":\"===e[e.length-1]&&(e=e.slice(0,-1)),function(){var t,n,r,o;for(r=e.split(\":\"),o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(parseInt(i,16));return o}()},n.IPv6.parser=function(t){var n,r;return t.match(a[\"native\"])?e(t,8):(n=t.match(a.transitional))&&(r=e(n[1].slice(0,-1),6))?(r.push(parseInt(n[2])<<8|parseInt(n[3])),r.push(parseInt(n[4])<<8|parseInt(n[5])),r):null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return null!==this.parser(e)},n.IPv4.isValid=function(e){var t;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv6.isValid=function(e){var t;if(\"string\"==typeof e&&-1===e.indexOf(\":\"))return!1;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv4.parse=n.IPv6.parse=function(e){var t;if(t=this.parser(e),null===t)throw new Error(\"ipaddr: string is not formatted like ip address\");return new this(t)},n.IPv4.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&32>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\")},n.IPv6.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&128>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\")},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\")},n.parseCIDR=function(e){var t;try{return n.IPv6.parseCIDR(e)}catch(r){t=r;try{return n.IPv4.parseCIDR(e)}catch(r){throw t=r,new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\")}}},n.process=function(e){var t;return t=this.parse(e),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this)},{}],159:[function(e,t,n){n[\"date-time\"]=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/,n.date=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,n.time=/^\\d{2}:\\d{2}:\\d{2}$/,n.email=/^\\S+@\\S+$/,n[\"ip-address\"]=n.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n.ipv6=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/,n.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\\s]*$/,n.color=/(#?([0-9A-Fa-f]{3,6})\\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\))/,n.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/,n.alpha=/^[a-zA-Z]+$/,n.alphanumeric=/^[a-zA-Z0-9]+$/,n.style=/\\s*(.+?):\\s*([^;]+);?/g,n.phone=/^\\+(?:[0-9] ?){6,14}[0-9]$/,n[\"utc-millisec\"]=/^[0-9]{1,15}\\.?[0-9]{0,15}$/},{}],160:[function(e,t,n){var r=e(\"generate-object-property\"),i=e(\"generate-function\"),o=e(\"jsonpointer\"),a=e(\"xtend\"),s=e(\"./formats\"),c=function(e,t,n){var r=function(e){return e&&e.id===n?e:\"object\"==typeof e&&e?Object.keys(e).reduce(function(t,n){return t||r(e[n])},null):null},i=r(e);if(i)return i;n=n.replace(/^#/,\"\"),n=n.replace(/\\/$/,\"\");try{return o.get(e,decodeURI(n))}catch(a){var s,c=n.indexOf(\"#\");\nif(0!==c)if(-1===c)s=t[n];else{var u=n.slice(0,c);s=t[u];var p=n.slice(c).replace(/^#/,\"\");try{return o.get(s,p)}catch(a){}}else s=t[n];return s||null}},u=function(e){e=JSON.stringify(e);for(var t=/\\[([^\\[\\]\"]+)\\]/;t.test(e);)e=e.replace(t,'.\"+$1+\"');return e},p={};p.any=function(){return\"true\"},p[\"null\"]=function(e){return e+\" === null\"},p[\"boolean\"]=function(e){return\"typeof \"+e+' === \"boolean\"'},p.array=function(e){return\"Array.isArray(\"+e+\")\"},p.object=function(e){return\"typeof \"+e+' === \"object\" && '+e+\" && !Array.isArray(\"+e+\")\"},p.number=function(e){return\"typeof \"+e+' === \"number\"'},p.integer=function(e){return\"typeof \"+e+' === \"number\" && (Math.floor('+e+\") === \"+e+\" || \"+e+\" > 9007199254740992 || \"+e+\" < -9007199254740992)\"},p.string=function(e){return\"typeof \"+e+' === \"string\"'};var l=function(e){for(var t=[],n=0;n<e.length;n++)t.push(\"object\"==typeof e[n]?JSON.stringify(e[n]):e[n]);for(var n=1;n<t.length;n++)if(t.indexOf(t[n])!==n)return!1;return!0},f=function(e,t){var n,r=(0|t)!==t?Math.pow(10,t.toString().split(\".\").pop().length):1;if(r>1){var i=(0|e)!==e?Math.pow(10,e.toString().split(\".\").pop().length):1;n=i>r?!0:Math.round(r*e)%(r*t)}else n=e%t;return!n},d=function(e,t,n,o,h){var m=h?a(s,h.formats):s,v={unique:l,formats:m,isMultipleOf:f},g=h?!!h.verbose:!1,y=h&&void 0!==h.greedy?h.greedy:!1,b={},x=function(e){return e+(b[e]=(b[e]||0)+1)},w={},_=function(e){if(w[e])return w[e];var t=x(\"pattern\");return v[t]=new RegExp(e),w[e]=t,t},k=[\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"x\",\"y\",\"z\"],j=function(){var e=k.shift();return k.push(e+e[0]),e},S=function(e,i,o,a){var l=i.properties,f=i.type,b=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(e,t){l[t]=e}),f=\"array\",b=!0);var w=0,k=function(t,n,r){E(\"errors++\"),o===!0&&(E(\"if (validate.errors === null) validate.errors = []\"),g?E(\"validate.errors.push({field:%s,message:%s,value:%s,type:%s})\",u(n||e),JSON.stringify(t),r||e,JSON.stringify(f)):E(\"validate.errors.push({field:%s,message:%s})\",u(n||e),JSON.stringify(t)))};i.required===!0?(w++,E(\"if (%s === undefined) {\",e),k(\"is required\"),E(\"} else {\")):(w++,E(\"if (%s !== undefined) {\",e));var O=[].concat(f).map(function(t){return p[t||\"any\"](e)}).join(\" || \")||\"true\";if(\"true\"!==O&&(w++,E(\"if (!(%s)) {\",O),k(\"is the wrong type\"),E(\"} else {\")),b)if(i.additionalItems===!1)E(\"if (%s.length > %d) {\",e,i.items.length),k(\"has additional items\"),E(\"}\");else if(i.additionalItems){var A=j();E(\"for (var %s = %d; %s < %s.length; %s++) {\",A,i.items.length,A,e,A),S(e+\"[\"+A+\"]\",i.additionalItems,o,a),E(\"}\")}if(i.format&&m[i.format]){\"string\"!==f&&s[i.format]&&E(\"if (%s) {\",p.string(e));var C=x(\"format\");v[C]=m[i.format],\"function\"==typeof v[C]?E(\"if (!%s(%s)) {\",C,e):E(\"if (!%s.test(%s)) {\",C,e),k(\"must be \"+i.format+\" format\"),E(\"}\"),\"string\"!==f&&s[i.format]&&E(\"}\")}if(Array.isArray(i.required)){var T=function(t){var n=r(e,t);E(\"if (%s === undefined) {\",n),k(\"is required\",n),E(\"missing++\"),E(\"}\")};E(\"if ((%s)) {\",\"object\"!==f?p.object(e):\"true\"),E(\"var missing = 0\"),i.required.map(T),E(\"}\"),y||(E(\"if (missing === 0) {\"),w++)}if(i.uniqueItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (!(unique(%s))) {\",e),k(\"must be unique\"),E(\"}\"),\"array\"!==f&&E(\"}\")),i[\"enum\"]){var I=i[\"enum\"].some(function(e){return\"object\"==typeof e}),P=I?function(t){return\"JSON.stringify(\"+e+\") !== JSON.stringify(\"+JSON.stringify(t)+\")\"}:function(t){return e+\" !== \"+JSON.stringify(t)};E(\"if (%s) {\",i[\"enum\"].map(P).join(\" && \")||\"false\"),k(\"must be an enum value\"),E(\"}\")}if(i.dependencies&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),Object.keys(i.dependencies).forEach(function(t){var n=i.dependencies[t];\"string\"==typeof n&&(n=[n]);var s=function(t){return r(e,t)+\" !== undefined\"};Array.isArray(n)&&(E(\"if (%s !== undefined && !(%s)) {\",r(e,t),n.map(s).join(\" && \")||\"true\"),k(\"dependencies not set\"),E(\"}\")),\"object\"==typeof n&&(E(\"if (%s !== undefined) {\",r(e,t)),S(e,n,o,a),E(\"}\"))}),\"object\"!==f&&E(\"}\")),i.additionalProperties||i.additionalProperties===!1){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var A=j(),F=x(\"keys\"),M=function(e){return F+\"[\"+A+\"] !== \"+JSON.stringify(e)},z=function(e){return\"!\"+_(e)+\".test(\"+F+\"[\"+A+\"])\"},B=Object.keys(l||{}).map(M).concat(Object.keys(i.patternProperties||{}).map(z)).join(\" && \")||\"true\";E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A)(\"if (%s) {\",B),i.additionalProperties===!1?(a&&E(\"delete %s\",e+\"[\"+F+\"[\"+A+\"]]\"),k(\"has additional properties\",null,JSON.stringify(e+\".\")+\" + \"+F+\"[\"+A+\"]\")):S(e+\"[\"+F+\"[\"+A+\"]]\",i.additionalProperties,o,a),E(\"}\")(\"}\"),\"object\"!==f&&E(\"}\")}if(i.$ref){var N=c(n,h&&h.schemas||{},i.$ref);if(N){var D=t[i.$ref];D||(t[i.$ref]=function(e){return D(e)},D=d(N,t,n,!1,h));var C=x(\"ref\");v[C]=D,E(\"if (!(%s(%s))) {\",C,e),k(\"referenced schema does not match\"),E(\"}\")}}if(i.not){var q=x(\"prev\");E(\"var %s = errors\",q),S(e,i.not,!1,a),E(\"if (%s === errors) {\",q),k(\"negative schema matches\"),E(\"} else {\")(\"errors = %s\",q)(\"}\")}if(i.items&&!b){\"array\"!==f&&E(\"if (%s) {\",p.array(e));var A=j();E(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,e,A),S(e+\"[\"+A+\"]\",i.items,o,a),E(\"}\"),\"array\"!==f&&E(\"}\")}if(i.patternProperties){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var F=x(\"keys\"),A=j();E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A),Object.keys(i.patternProperties).forEach(function(t){var n=_(t);E(\"if (%s.test(%s)) {\",n,F+\"[\"+A+\"]\"),S(e+\"[\"+F+\"[\"+A+\"]]\",i.patternProperties[t],o,a),E(\"}\")}),E(\"}\"),\"object\"!==f&&E(\"}\")}if(i.pattern){var R=_(i.pattern);\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (!(%s.test(%s))) {\",R,e),k(\"pattern mismatch\"),E(\"}\"),\"string\"!==f&&E(\"}\")}if(i.allOf&&i.allOf.forEach(function(t){S(e,t,o,a)}),i.anyOf&&i.anyOf.length){var q=x(\"prev\");i.anyOf.forEach(function(t,n){0===n?E(\"var %s = errors\",q):E(\"if (errors !== %s) {\",q)(\"errors = %s\",q),S(e,t,!1,!1)}),i.anyOf.forEach(function(e,t){t&&E(\"}\")}),E(\"if (%s !== errors) {\",q),k(\"no schemas match\"),E(\"}\")}if(i.oneOf&&i.oneOf.length){var q=x(\"prev\"),L=x(\"passes\");E(\"var %s = errors\",q)(\"var %s = 0\",L),i.oneOf.forEach(function(t,n){S(e,t,!1,!1),E(\"if (%s === errors) {\",q)(\"%s++\",L)(\"} else {\")(\"errors = %s\",q)(\"}\")}),E(\"if (%s !== 1) {\",L),k(\"no (or more than one) schemas match\"),E(\"}\")}for(void 0!==i.multipleOf&&(\"number\"!==f&&\"integer\"!==f&&E(\"if (%s) {\",p.number(e)),E(\"if (!isMultipleOf(%s, %d)) {\",e,i.multipleOf),k(\"has a remainder\"),E(\"}\"),\"number\"!==f&&\"integer\"!==f&&E(\"}\")),void 0!==i.maxProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length > %d) {\",e,i.maxProperties),k(\"has more properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.minProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length < %d) {\",e,i.minProperties),k(\"has less properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.maxItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length > %d) {\",e,i.maxItems),k(\"has more items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.minItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length < %d) {\",e,i.minItems),k(\"has less items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.maxLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length > %d) {\",e,i.maxLength),k(\"has longer length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length < %d) {\",e,i.minLength),k(\"has less length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minimum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMinimum?\"<=\":\"<\",i.minimum),k(\"is less than minimum\"),E(\"}\")),void 0!==i.maximum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMaximum?\">=\":\">\",i.maximum),k(\"is more than maximum\"),E(\"}\")),l&&Object.keys(l).forEach(function(t){Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"if (%s !== null) {\",e),S(r(e,t),l[t],o,a),Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"}\")});w--;)E(\"}\")},E=i(\"function validate(data) {\")(\"validate.errors = null\")(\"var errors = 0\");return S(\"data\",e,o,h&&h.filter),E(\"return errors === 0\")(\"}\"),E=E.toFunction(v),E.errors=null,Object.defineProperty&&Object.defineProperty(E,\"error\",{get:function(){return E.errors?E.errors.map(function(e){return e.field+\" \"+e.message}).join(\"\\n\"):\"\"}}),E.toJSON=function(){return e},E};t.exports=function(e,t){return\"string\"==typeof e&&(e=JSON.parse(e)),d(e,{},e,!0,t)},t.exports.filter=function(e,n){var r=t.exports(e,a(n,{filter:!0}));return function(e){return r(e),e}}},{\"./formats\":159,\"generate-function\":121,\"generate-object-property\":122,jsonpointer:174,xtend:534}],161:[function(e,t,n){\"use strict\";function r(e){return/^[$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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][$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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-\\uffdc0-9\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19b0-\\u19c0\\u19c8\\u19c9\\u19d0-\\u19d9\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1dc0-\\u1de6\\u1dfc-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]*$/.test(e)}t.exports=r},{}],162:[function(e,t,n){function r(e){return i(e)||o(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(e){return s[a.call(e)]}t.exports=r,r.strict=i,r.loose=o;var a=Object.prototype.toString,s={\"[object Int8Array]\":!0,\"[object Int16Array]\":!0,\"[object Int32Array]\":!0,\"[object Uint8Array]\":!0,\"[object Uint8ClampedArray]\":!0,\"[object Uint16Array]\":!0,\"[object Uint32Array]\":!0,\"[object Float32Array]\":!0,\"[object Float64Array]\":!0}},{}],163:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==r.call(e)}},{}],164:[function(e,t,n){function r(e){return e instanceof s.Stream}function i(e){return r(e)&&\"function\"==typeof e._read&&\"object\"==typeof e._readableState}function o(e){return r(e)&&\"function\"==typeof e._write&&\"object\"==typeof e._writableState}function a(e){return i(e)&&o(e)}var s=e(\"stream\");t.exports=r,t.exports.isReadable=i,t.exports.isWritable=o,t.exports.isDuplex=a},{stream:void 0}],165:[function(e,t,n){\"use strict\";var r=e(\"./lib/dh\"),i=e(\"./lib/eddsa\"),o=e(\"./lib/curve255\"),a=e(\"./lib/utils\"),s={};s.VERSION=\"0.7.1\",s.dh=r,s.eddsa=i,s.curve255=o,s.utils=a,t.exports=s},{\"./lib/curve255\":167,\"./lib/dh\":168,\"./lib/eddsa\":169,\"./lib/utils\":170}],166:[function(e,t,n){\"use strict\";function r(e,t,n){var r=t>>4,i=e[r];i+=(1<<(15&t))*n,e[r]=i}function i(e,t){return e[t>>4]>>(15&t)&1}function o(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function a(){return[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function s(){return[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function c(e,t){var n,r,i,o=0;for(n=15;n>=0;n--){var a=e[n],s=t[n];o+=(a-s)*(1-o*o),i=o>>31,r=o+i^i,o=~~((o<<1)/(r+1))}return o}function u(e,t){var n,r=[];return r[0]=65535&(n=e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+e[15]+t[15],r}function p(e,t){var n,r=[];return r[0]=65535&(n=524288+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)-8+e[15]-t[15],r}function l(e,t,n,r,i,o,a,s){var c,u=[];return u[0]=65535&(c=s*s),u[1]=65535&(c=(0|c/65536)+2*s*a),u[2]=65535&(c=(0|c/65536)+2*s*o+a*a),u[3]=65535&(c=(0|c/65536)+2*s*i+2*a*o),u[4]=65535&(c=(0|c/65536)+2*s*r+2*a*i+o*o),u[5]=65535&(c=(0|c/65536)+2*s*n+2*a*r+2*o*i),u[6]=65535&(c=(0|c/65536)+2*s*t+2*a*n+2*o*r+i*i),u[7]=65535&(c=(0|c/65536)+2*s*e+2*a*t+2*o*n+2*i*r),u[8]=65535&(c=(0|c/65536)+2*a*e+2*o*t+2*i*n+r*r),u[9]=65535&(c=(0|c/65536)+2*o*e+2*i*t+2*r*n),u[10]=65535&(c=(0|c/65536)+2*i*e+2*r*t+n*n),u[11]=65535&(c=(0|c/65536)+2*r*e+2*n*t),u[12]=65535&(c=(0|c/65536)+2*n*e+t*t),u[13]=65535&(c=(0|c/65536)+2*t*e),u[14]=65535&(c=(0|c/65536)+e*e),u[15]=0|c/65536,u}function f(e){var t,n=l(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8]),r=l(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0]),i=l(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0]),o=[];return o[0]=65535&(t=8388608+r[0]+38*(i[8]-n[8]-r[8]+n[0]-128)),o[1]=65535&(t=8388480+(t>>>16)+r[1]+38*(i[9]-n[9]-r[9]+n[1])),o[2]=65535&(t=8388480+(t>>>16)+r[2]+38*(i[10]-n[10]-r[10]+n[2])),o[3]=65535&(t=8388480+(t>>>16)+r[3]+38*(i[11]-n[11]-r[11]+n[3])),o[4]=65535&(t=8388480+(t>>>16)+r[4]+38*(i[12]-n[12]-r[12]+n[4])),o[5]=65535&(t=8388480+(t>>>16)+r[5]+38*(i[13]-n[13]-r[13]+n[5])),o[6]=65535&(t=8388480+(t>>>16)+r[6]+38*(i[14]-n[14]-r[14]+n[6])),o[7]=65535&(t=8388480+(t>>>16)+r[7]+38*(i[15]-n[15]-r[15]+n[7])),o[8]=65535&(t=8388480+(t>>>16)+r[8]+i[0]-n[0]-r[0]+38*n[8]),o[9]=65535&(t=8388480+(t>>>16)+r[9]+i[1]-n[1]-r[1]+38*n[9]),o[10]=65535&(t=8388480+(t>>>16)+r[10]+i[2]-n[2]-r[2]+38*n[10]),o[11]=65535&(t=8388480+(t>>>16)+r[11]+i[3]-n[3]-r[3]+38*n[11]),o[12]=65535&(t=8388480+(t>>>16)+r[12]+i[4]-n[4]-r[4]+38*n[12]),o[13]=65535&(t=8388480+(t>>>16)+r[13]+i[5]-n[5]-r[5]+38*n[13]),o[14]=65535&(t=8388480+(t>>>16)+r[14]+i[6]-n[6]-r[6]+38*n[14]),o[15]=8388480+(t>>>16)+r[15]+i[7]-n[7]-r[7]+38*n[15],m(o),o}function d(e,t,n,r,i,o,a,s,c,u,p,l,f,d,h,m){var v,g=[];return g[0]=65535&(v=s*m),g[1]=65535&(v=(0|v/65536)+s*h+a*m),g[2]=65535&(v=(0|v/65536)+s*d+a*h+o*m),g[3]=65535&(v=(0|v/65536)+s*f+a*d+o*h+i*m),g[4]=65535&(v=(0|v/65536)+s*l+a*f+o*d+i*h+r*m),g[5]=65535&(v=(0|v/65536)+s*p+a*l+o*f+i*d+r*h+n*m),g[6]=65535&(v=(0|v/65536)+s*u+a*p+o*l+i*f+r*d+n*h+t*m),g[7]=65535&(v=(0|v/65536)+s*c+a*u+o*p+i*l+r*f+n*d+t*h+e*m),g[8]=65535&(v=(0|v/65536)+a*c+o*u+i*p+r*l+n*f+t*d+e*h),g[9]=65535&(v=(0|v/65536)+o*c+i*u+r*p+n*l+t*f+e*d),g[10]=65535&(v=(0|v/65536)+i*c+r*u+n*p+t*l+e*f),g[11]=65535&(v=(0|v/65536)+r*c+n*u+t*p+e*l),g[12]=65535&(v=(0|v/65536)+n*c+t*u+e*p),g[13]=65535&(v=(0|v/65536)+t*c+e*u),g[14]=65535&(v=(0|v/65536)+e*c),g[15]=0|v/65536,g}function h(e,t){var n,r=d(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8],t[15],t[14],t[13],t[12],t[11],t[10],t[9],t[8]),i=d(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0],t[7],t[6],t[5],t[4],t[3],t[2],t[1],t[0]),o=d(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0],t[15]+t[7],t[14]+t[6],t[13]+t[5],t[12]+t[4],t[11]+t[3],t[10]+t[2],t[9]+t[1],t[8]+t[0]),a=[];return a[0]=65535&(n=8388608+i[0]+38*(o[8]-r[8]-i[8]+r[0]-128)),a[1]=65535&(n=8388480+(n>>>16)+i[1]+38*(o[9]-r[9]-i[9]+r[1])),a[2]=65535&(n=8388480+(n>>>16)+i[2]+38*(o[10]-r[10]-i[10]+r[2])),a[3]=65535&(n=8388480+(n>>>16)+i[3]+38*(o[11]-r[11]-i[11]+r[3])),a[4]=65535&(n=8388480+(n>>>16)+i[4]+38*(o[12]-r[12]-i[12]+r[4])),a[5]=65535&(n=8388480+(n>>>16)+i[5]+38*(o[13]-r[13]-i[13]+r[5])),a[6]=65535&(n=8388480+(n>>>16)+i[6]+38*(o[14]-r[14]-i[14]+r[6])),a[7]=65535&(n=8388480+(n>>>16)+i[7]+38*(o[15]-r[15]-i[15]+r[7])),a[8]=65535&(n=8388480+(n>>>16)+i[8]+o[0]-r[0]-i[0]+38*r[8]),a[9]=65535&(n=8388480+(n>>>16)+i[9]+o[1]-r[1]-i[1]+38*r[9]),a[10]=65535&(n=8388480+(n>>>16)+i[10]+o[2]-r[2]-i[2]+38*r[10]),a[11]=65535&(n=8388480+(n>>>16)+i[11]+o[3]-r[3]-i[3]+38*r[11]),a[12]=65535&(n=8388480+(n>>>16)+i[12]+o[4]-r[4]-i[4]+38*r[12]),a[13]=65535&(n=8388480+(n>>>16)+i[13]+o[5]-r[5]-i[5]+38*r[13]),a[14]=65535&(n=8388480+(n>>>16)+i[14]+o[6]-r[6]-i[6]+38*r[14]),a[15]=8388480+(n>>>16)+i[15]+o[7]-r[7]-i[7]+38*r[15],m(a),a}function m(e){var t=e.slice(0),n=[e,t],r=e[15],i=n[32768>r&1];i[15]=32767&r,r=19*(0|r/32768),i[0]=65535&(r+=i[0]),r>>>=16,i[1]=65535&(r+=i[1]),r>>>=16,i[2]=65535&(r+=i[2]),r>>>=16,i[3]=65535&(r+=i[3]),r>>>=16,i[4]=65535&(r+=i[4]),r>>>=16,i[5]=65535&(r+=i[5]),r>>>=16,i[6]=65535&(r+=i[6]),r>>>=16,i[7]=65535&(r+=i[7]),r>>>=16,i[8]=65535&(r+=i[8]),r>>>=16,i[9]=65535&(r+=i[9]),r>>>=16,i[10]=65535&(r+=i[10]),r>>>=16,i[11]=65535&(r+=i[11]),r>>>=16,i[12]=65535&(r+=i[12]),r>>>=16,i[13]=65535&(r+=i[13]),r>>>=16,i[14]=65535&(r+=i[14]),r>>>=16,i[15]+=r}function v(e,t){var n,r=[];return r[0]=65535&(n=19*((0|e[15]>>>15)+(0|t[15]>>>15))+e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+(32767&e[15])+(32767&t[15]),r}function g(e,t){var n,r=[];return r[0]=65535&(n=524288+19*((0|e[15]>>>15)-(0|t[15]>>>15)-1)+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)+32760+(32767&e[15])-(32767&t[15]),r}function y(e){for(var t=e,n=250;--n;)e=f(e),e=h(e,t);return e=f(e),e=f(e),e=h(e,t),e=f(e),e=f(e),e=h(e,t),e=f(e),e=h(e,t)}function b(e){var t,n=121665,r=[];return r[0]=65535&(t=e[0]*n),r[1]=65535&(t=(0|t/65536)+e[1]*n),r[2]=65535&(t=(0|t/65536)+e[2]*n),r[3]=65535&(t=(0|t/65536)+e[3]*n),r[4]=65535&(t=(0|t/65536)+e[4]*n),r[5]=65535&(t=(0|t/65536)+e[5]*n),r[6]=65535&(t=(0|t/65536)+e[6]*n),r[7]=65535&(t=(0|t/65536)+e[7]*n),r[8]=65535&(t=(0|t/65536)+e[8]*n),r[9]=65535&(t=(0|t/65536)+e[9]*n),r[10]=65535&(t=(0|t/65536)+e[10]*n),r[11]=65535&(t=(0|t/65536)+e[11]*n),r[12]=65535&(t=(0|t/65536)+e[12]*n),r[13]=65535&(t=(0|t/65536)+e[13]*n),r[14]=65535&(t=(0|t/65536)+e[14]*n),r[15]=(0|t/65536)+e[15]*n,m(r),r}function x(e,t){var n,r,i,o,a;return i=f(v(e,t)),o=f(g(e,t)),a=g(i,o),n=h(o,i),r=h(v(b(a),i),a),[n,r]}function w(e,t,n,r,i){var o,a,s,c;return s=h(g(e,t),v(n,r)),c=h(v(e,t),g(n,r)),o=f(v(s,c)),a=h(f(g(s,c)),i),[o,a]}function _(e){var t=k.randomBytes(32);e===!0&&(t[0]&=248,t[31]=127&t[31]|64);for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join(\"\")}var k=e(\"crypto\"),j={};j.getbit=i,j.setbit=r,j.addmodp=v,j.invmodp=y,j.mulmodp=h,j.reduce=m,j.dbl=x,j.sum=w,j.ZERO=o,j.ONE=a,j.BASE=s,j.bigintadd=u,j.bigintsub=p,j.bigintcmp=c,j.mulmodp=h,j.sqrmodp=f,j.generateKey=_,t.exports=j},{crypto:void 0}],167:[function(e,t,n){\"use strict\";function r(e,t){var n,r,i;r=t,n=s.dbl(r,s.ONE()),i=[r,s.ONE()];for(var o=255;0==s.getbit(e,o);)if(o--,0>o)return s.ZERO();o--;for(var a=[n,i];o>=0;){var c,u,p=s.getbit(e,o);c=s.sum(a[0][0],a[0][1],a[1][0],a[1][1],r),u=s.dbl(a[1-p][0],a[1-p][1]),a[1-p]=u,a[p]=c,o--}return i=a[1],i[1]=s.invmodp(i[1]),i[0]=s.mulmodp(i[0],i[1]),s.reduce(i[0]),i[0]}function i(e,t){return t||(t=s.BASE()),e[0]&=65528,e[15]=32767&e[15]|16384,r(e,t)}function o(e){var t=c.hexEncode(e);return t=new Array(65-t.length).join(\"0\")+t,t.split(/(..)/).reverse().join(\"\")}function a(e){var t=e.split(/(..)/).reverse().join(\"\");return c.hexDecode(t)}var s=e(\"./core\"),c=e(\"./utils\"),u={};u.curve25519=i,u.curve25519_raw=r,u.hexEncodeVector=o,u.hexDecodeVector=a,u.hexencode=c.hexEncode,u.hexdecode=c.hexDecode,u.base32encode=c.base32encode,u.base32decode=c.base32decode,t.exports=u},{\"./core\":166,\"./utils\":170}],168:[function(e,t,n){(function(n){\"use strict\";function r(e){var t=new Uint16Array(e);return new n(new Uint8Array(t.buffer))}function i(e){if(n.isBuffer(e)){var t=new Uint8Array(e);return new Uint16Array(t.buffer)}for(var r=new Array(16),i=0,o=0;i<e.length;i+=2)r[o]=e.charCodeAt(i+1)<<8|e.charCodeAt(i),o++;return r}var o=e(\"./core\"),a=(e(\"./utils\"),e(\"./curve255\")),s={};s.computeKey=function(e,t){return r(t?a.curve25519(i(e),i(t)):a.curve25519(i(e)))},s.publicKey=function(e){return r(a.curve25519(i(e)))},s.generateKey=function(){return o.generateKey(!0)},t.exports=s}).call(this,e(\"buffer\").Buffer)},{\"./core\":166,\"./curve255\":167,\"./utils\":170,buffer:void 0}],169:[function(e,t,n){(function(n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);if(\"undefined\"==typeof e)return $;var t=e.constructor;if(t!==Array&&t!==Uint16Array&&t!==Uint32Array||16!==e.length)if(t===Array&&32===e.length)this.n=s(e).n;else if(t===String)this.n=D.hexDecode(e);else if(t===Number)this.n=[65535&e,e>>16,0,0,0,0,0,0,0,0,0,0,0,0,0,0];else{if(!(e instanceof r))throw\"Bad argument for bignum: \"+e;this.n=e.n.slice(0);\n}else this.n=e}function i(e,t){for(var n=0,r=0;16>r;r++){var i=e[r]>>16-t;e[r]=e[r]<<t&65535|n,n=i}return e}function o(e,t){for(var n=0,r=15;r>=0;r--){var i=e[r]<<16-t&65535;e[r]=e[r]>>t|n,n=i}return e}function a(e){e=r(e);for(var t=new Array(32),n=31;n>=0;n--)t[n]=255&e.n[0],e.shiftRight(8);return t}function s(e){for(var t=$,n=0;32>n;n++)t.shiftLeft(8),t=t.plus(r(e[n]));return t}function c(e,t){for(var n=N.ONE(),r=0;256>r;r++)1===N.getbit(t,r)&&(n=N.mulmodp(n,e)),e=N.sqrmodp(e);return n}function u(e){return N.reduce(e.n),e.cmp(V)>=0?u(e.minus(V)):-1===e.cmp($)?u(e.plus(V)):e}function p(e){var t=e[0],n=e[1],r=t.sqr(),i=n.sqr(),o=Y.times(r).times(i);return i.minus(r).minus(U).minus(o).modq().equals($)}function l(e){var t=e.sqr(),n=t.minus(U).divide(U.plus(Y.times(t))),r=n.pow(W);return r.times(r).minus(n).equals($)||(r=r.times(K)),r.isOdd()&&(r=V.minus(r)),r}function f(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3],p=r.minus(n).times(s.plus(a)),l=r.plus(n).times(s.minus(a)),f=i.times(H).times(u),d=o.times(H).times(c),h=d.plus(f),m=l.minus(p),v=l.plus(p),g=d.minus(f);return[h.times(m),v.times(g),m.times(v),h.times(g)]}function d(e){var t=e[0],n=e[1],r=e[2],i=t.times(t),o=n.times(n),a=H.times(r).times(r),s=V.minus(i),c=t.plus(n),u=c.times(c).minus(i).minus(o),p=s.plus(o),l=p.minus(a),f=s.minus(o);return[u.times(l),p.times(f),l.times(p),u.times(f)]}function h(e,t){if(t.equals($))return[$,U,U,$];var n=t.isOdd();t.shiftRight(1);var r=d(h(e,t));return n?f(r,e):r}function m(e){var t=e[0],n=e[1];return[t,n,U,t.times(n)]}function v(e){var t=e[0],n=e[1],r=e[2],i=r.inv();return[t.times(i),n.times(i)]}function g(e,t){return v(h(m(e),t))}function y(e,t){return e[e.length-(t>>>3)-1]>>(7&t)&1}function b(e,t){for(var n=[$,U,U,$],r=(t.length<<3)-1;r>=0;r--)n=d(n),1===y(t,r)&&(n=f(n,e));return n}function x(e,t){return v(b(m(e),t))}function w(e){return e.bytes(32).reverse()}function _(e){return r(e.slice(0).reverse())}function k(e){var t=w(e[1]);return e[0].isOdd()&&(t[31]|=128),t}function j(e){e=e.slice(0);var t=e[31]>>7;e[31]&=127;var n=_(e),r=l(n);(1&r.n[0])!==t&&(r=V.minus(r));var i=[r,n];if(!p(i))throw\"Point is not on curve\";return i}function S(e,t){if(void 0!==t)return 256===t?S(D.string2bytes(e)):new q(e,t);if(\"string\"==typeof e)return new q(e,10);if(e instanceof Array||e instanceof Uint8Array||n.isBuffer(e))return new q(e);if(\"number\"==typeof e)return new q(e.toString(),10);throw\"Can't convert \"+e+\" to BigInteger\"}function E(e,t){void 0===t&&(t=e.bitLength()+7>>>3);for(var n=new Array(t),r=t-1;r>=0;r--)n[r]=255&e[0],e=e.shiftRight(8);return n}function O(e){var t=R.createHash(\"sha512\").update(e).digest();return E(S(t),64).reverse()}function A(e){var t=R.createHash(\"sha512\").update(e).digest();return M(z,E(S(t),64)).join(\"\")}function C(e){return S([0].concat(O(e)))}function T(e){return r(O(e).slice(32,64))}function I(e){return C(e).mod(G)}function P(e){var t=T(e);return t.n[0]&=65528,t.n[15]&=16383,t.n[15]|=16384,t}function F(e){return k(g(Q,P(e)))}function M(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function z(e){return String.fromCharCode(e)}function B(e,t){return v(f(m(e),m(t)))}var N=e(\"./core\"),D=(e(\"./curve255\"),e(\"./utils\")),q=e(\"jsbn\").BigInteger,R=e(\"crypto\"),L={};r.prototype={toString:function(){return D.hexEncode(this.n)},toSource:function(){return\"_\"+D.hexEncode(this.n)},plus:function(e){return r(N.bigintadd(this.n,e.n))},minus:function(e){return r(N.bigintsub(this.n,e.n)).modq()},times:function(e){return r(N.mulmodp(this.n,e.n))},divide:function(e){return this.times(e.inv())},sqr:function(){return r(N.sqrmodp(this.n))},cmp:function(e){return N.bigintcmp(this.n,e.n)},equals:function(e){return 0===this.cmp(e)},isOdd:function(){return 1===(1&this.n[0])},shiftLeft:function(e){return i(this.n,e),this},shiftRight:function(e){return o(this.n,e),this},inv:function(){return r(N.invmodp(this.n))},pow:function(e){return r(c(this.n,e.n))},modq:function(){return u(this)},bytes:function(){return a(this)}};var $=r(0),U=r(1),H=r(2),V=r([65517,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,32767]),W=r(\"0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe\"),Y=r(\"52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3\"),K=r(\"2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0\"),G=(r(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\"),S(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\",16)),J=r(4).divide(r(5)),Z=l(J),Q=[Z,J];q.prototype.bytes=function(e){return E(this,e)},L.isOnCurve=function(e){try{p(j(D.string2bytes(e)))}catch(t){if(\"Point is not on curve\"===t)return!1;throw t}return!0},L.publicKey=function(e){return D.bytes2string(F(e))},L.sign=function(e,t,n){n=void 0===n?F(t):D.string2bytes(n);var r=S(P(t).toString(),16),i=A(t),o=O(i.slice(32,64)+e),a=x(Q,o),s=k(a);o=S(o).mod(S(1,10).shiftLeft(512));var c=M(z,s).join(\"\")+M(z,n).join(\"\")+e;return c=I(c).multiply(r).add(o).mod(G),D.bytes2string(s.concat(w(c)))},L.verify=function(e,t,n){e=D.string2bytes(e.slice(0,64)),n=D.string2bytes(n);var r=e.slice(0,32),i=j(r),o=j(n),a=_(e.slice(32,64)),s=C(D.bytes2string(r.concat(n))+t),c=g(Q,a),u=x(o,E(s)),p=B(i,u);return c[0].equals(p[0])&&c[1].equals(p[1])},L.generateKeySeed=function(){return N.generateKey(!1)},t.exports=L}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./core\":166,\"./curve255\":167,\"./utils\":170,crypto:void 0,jsbn:171}],170:[function(e,t,n){\"use strict\";function r(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];t.push(h.substr(r>>>12&15,1)),t.push(h.substr(r>>>8&15,1)),t.push(h.substr(r>>>4&15,1)),t.push(h.substr(15&r,1))}return t.join(\"\")}function i(e){for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.length-1,r=0;n>=0;n-=4)t[r]=h.indexOf(e.charAt(n))|h.indexOf(e.charAt(n-1))<<4|h.indexOf(e.charAt(n-2))<<8|h.indexOf(e.charAt(n-3))<<12,r++;return t}function o(e){var t,n=\"\";for(t=0;255>t;t+=5)n=m.substr(f.getbit(e,t)+(f.getbit(e,t+1)<<1)+(f.getbit(e,t+2)<<2)+(f.getbit(e,t+3)<<3)+(f.getbit(e,t+4)<<4),1)+n;return n}function a(e){var t=0,n=f.ZERO(),r=e.length;for(t=0;r>0&&255>t;t+=5){r--;var i=v[e.substr(r,1)];f.setbit(n,t,1&i),i>>=1,f.setbit(n,t+1,1&i),i>>=1,f.setbit(n,t+2,1&i),i>>=1,f.setbit(n,t+3,1&i),i>>=1,f.setbit(n,t+4,1&i)}return n}function s(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function c(e){return String.fromCharCode(e)}function u(e){return e.charCodeAt(0)}function p(e){return s(c,e).join(\"\")}function l(e){return s(u,e)}var f=e(\"./core\"),d={},h=\"0123456789abcdef\",m=\"abcdefghijklmnopqrstuvwxyz234567\",v=function(){for(var e={},t=0;t<m.length;t++)e[m.charAt(t)]=t;return e}();d.hexEncode=r,d.hexDecode=i,d.base32encode=o,d.base32decode=a,d.bytes2string=p,d.string2bytes=l,t.exports=d},{\"./core\":166}],171:[function(e,t,n){(function(){function e(e,t,n){null!=e&&(\"number\"==typeof e?this.fromNumber(e,t,n):null==t&&\"string\"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new e(null)}function i(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*a;c=a*c+((32767&p)<<15)+n[r]+(1073741823&i),i=(c>>>30)+(p>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i}function a(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*a;c=a*c+((16383&p)<<14)+n[r]+i,i=(c>>28)+(p>>14)+s*u,n[r++]=268435455&c}return i}function s(e){return vt.charAt(e)}function c(e,t){var n=gt[e.charCodeAt(t)];return null==n?-1:n}function u(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function p(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+this.DV:this.t=0}function l(e){var t=r();return t.fromInt(e),t}function f(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:c(t,i);0>s?\"-\"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)}function d(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function h(e){if(this.s<0)return\"-\"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o=\"\",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(n=this[a]>>c)>0&&(i=!0,o=s(n));a>=0;)t>c?(n=(this[a]&(1<<c)-1)<<t-c,n|=this[--a]>>(c+=this.DB-t)):(n=this[a]>>(c-=t)&r,0>=c&&(c+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:\"0\"}function m(){var t=r();return e.ZERO.subTo(this,t),t}function v(){return this.s<0?this.negate():this}function g(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function y(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function b(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)}function x(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function _(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function k(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}function j(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=0>r?-1:0,-1>r?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function S(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}function E(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function O(t,n,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t<o.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=t.s,p=this.DB-y(o[o.t-1]);p>0?(o.lShiftTo(p,s),a.lShiftTo(p,i)):(o.copyTo(s),a.copyTo(i));var l=s.t,f=s[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),h=this.FV/d,m=(1<<this.F1)/d,v=1<<this.F2,g=i.t,b=g-l,x=null==n?r():n;for(s.dlShiftTo(b,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),e.ONE.dlShiftTo(l,x),x.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var w=i[--g]==f?this.DM:Math.floor(i[g]*h+(i[g-1]+v)*m);if((i[g]+=s.am(0,w,i,b,0,l))<w)for(s.dlShiftTo(b,x),i.subTo(x,i);i[g]<--w;)i.subTo(x,i)}null!=n&&(i.drShiftTo(l,n),c!=u&&e.ZERO.subTo(n,n)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),0>c&&e.ZERO.subTo(i,i)}}}function A(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}function C(e){this.m=e}function T(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function I(e){return e}function P(e){e.divRemTo(this.m,null,e)}function F(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function M(e,t){e.squareTo(t),this.reduce(t)}function z(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function N(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n}function D(e){var t=r();return e.copyTo(t),this.reduce(t),t}function q(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function $(){return 0==(this.t>0?1&this[0]:this.s)}function U(t,n){if(t>4294967295||1>t)return e.ONE;var i=r(),o=r(),a=n.convert(this),s=y(t)-1;for(a.copyTo(i);--s>=0;)if(n.sqrTo(i,o),(t&1<<s)>0)n.mulTo(o,a,i);else{var c=i;i=o,o=c}return n.revert(i)}function H(e,t){var n;return n=256>e||t.isEven()?new C(t):new B(t),this.exp(e,n)}function V(){var e=r();return this.copyTo(e),e}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Y(){return 0==this.t?this.s:this[0]<<24>>24}function K(){return 0==this.t?this.s:this[0]<<16>>16}function G(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function J(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Z(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return\"0\";var t=this.chunkSize(e),n=Math.pow(e,t),i=l(n),o=r(),a=r(),s=\"\";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(e)+s}function Q(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<t.length;++u){var p=c(t,u);0>p?\"-\"==t.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+p,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)}function X(t,n,r){if(\"number\"==typeof n)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),se,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=(t>>3)+1,n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}}function ee(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)8>r?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,0>=r&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t}function te(e){return 0==this.compareTo(e)}function ne(e){return this.compareTo(e)<0?this:e}function re(e){return this.compareTo(e)>0?this:e}function ie(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;o>r;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}function oe(e,t){return e&t}function ae(e){var t=r();return this.bitwiseTo(e,oe,t),t}function se(e,t){return e|t}function ce(e){var t=r();return this.bitwiseTo(e,se,t),t}function ue(e,t){return e^t}function pe(e){var t=r();return this.bitwiseTo(e,ue,t),t}function le(e,t){return e&~t}function fe(e){var t=r();return this.bitwiseTo(e,le,t),t}function de(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function he(e){var t=r();return 0>e?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=r();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function ve(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ge(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+ve(this[e]);return this.s<0?this.t*this.DB:-1}function ye(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function be(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=ye(this[n]^t);return e}function xe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function we(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}function _e(e){return this.changeBit(e,se)}function ke(e){return this.changeBit(e,le)}function je(e){return this.changeBit(e,ue)}function Se(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=0>r?-1:0,r>0?t[n++]=r:-1>r&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function Ee(e){var t=r();return this.addTo(e,t),t}function Oe(e){var t=r();return this.subTo(e,t),t}function Ae(e){var t=r();return this.multiplyTo(e,t),t}function Ce(){var e=r();return this.squareTo(e),e}function Te(e){var t=r();return this.divRemTo(e,t,null),t}function Ie(e){var t=r();return this.divRemTo(e,null,t),t}function Pe(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)}function Fe(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Me(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function ze(){}function Be(e){return e}function Ne(e,t,n){e.multiplyTo(t,n)}function De(e,t){e.squareTo(t)}function qe(e){return this.exp(e,new ze)}function Re(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;i>r;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);i>r;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}function Le(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}function $e(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function Ue(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function Ve(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)}function We(e,t){e.squareTo(t),this.reduce(t)}function Ye(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function Ke(e,t){var n,i,o=e.bitLength(),a=l(1);if(0>=o)return a;n=18>o?1:48>o?3:144>o?4:768>o?5:6,i=8>o?new C(t):t.isEven()?new $e(t):new B(t);var s=new Array,c=3,u=n-1,p=(1<<n)-1;if(s[1]=i.convert(this),n>1){var f=r();for(i.sqrTo(s[1],f);p>=c;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var d,h,m=e.t-1,v=!0,g=r();for(o=y(e[m])-1;m>=0;){for(o>=u?d=e[m]>>o-u&p:(d=(e[m]&(1<<o+1)-1)<<u-o,m>0&&(d|=e[m-1]>>this.DB+o-u)),c=n;0==(1&d);)d>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),v)s[d].copyTo(a),v=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(h=a,a=g,g=h),i.mulTo(g,s[d],a)}for(;m>=0&&0==(e[m]&1<<o);)i.sqrTo(a,g),h=a,a=g,g=h,--o<0&&(o=this.DB-1,--m)}return i.revert(a)}function Ge(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(0>o)return t;for(o>i&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function Je(e){if(0>=e)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}function Ze(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Qe(e){var t,n=this.abs();if(1==n.t&&n[0]<=yt[yt.length-1]){for(t=0;t<yt.length;++t)if(n[0]==yt[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<yt.length;){for(var r=yt[t],i=t+1;i<yt.length&&bt>r;)r*=yt[i++];for(r=n.modInt(r);i>t;)if(r%yt[t++]==0)return!1}return n.millerRabin(e)}function Xe(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(0>=i)return!1;var o=n.shiftRight(i);t=t+1>>1,t>yt.length&&(t=yt.length);for(var a=r(),s=0;t>s;++s){a.fromInt(yt[Math.floor(Math.random()*yt.length)]);var c=a.modPow(o,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(n)){for(var u=1;u++<i&&0!=c.compareTo(n);)if(c=c.modPowInt(2,this),0==c.compareTo(e.ONE))return!1;if(0!=c.compareTo(n))return!1}}return!0}function et(e){wt[_t++]^=255&e,wt[_t++]^=e>>8&255,wt[_t++]^=e>>16&255,wt[_t++]^=e>>24&255,_t>=Et&&(_t-=Et)}function tt(){et((new Date).getTime())}function nt(){if(null==xt){for(tt(),xt=ct(),xt.init(wt),_t=0;_t<wt.length;++_t)wt[_t]=0;_t=0}return xt.next()}function rt(e){var t;for(t=0;t<e.length;++t)e[t]=nt()}function it(){}function ot(){this.i=0,this.j=0,this.S=new Array}function at(e){var t,n,r;for(t=0;256>t;++t)this.S[t]=t;for(n=0,t=0;256>t;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function st(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function ct(){return new ot}var ut,pt=0xdeadbeefcafe,lt=15715070==(16777215&pt),ft=\"undefined\"!=typeof navigator;ft&&lt&&\"Microsoft Internet Explorer\"==navigator.appName?(e.prototype.am=o,ut=30):ft&&lt&&\"Netscape\"!=navigator.appName?(e.prototype.am=i,ut=26):(e.prototype.am=a,ut=28),e.prototype.DB=ut,e.prototype.DM=(1<<ut)-1,e.prototype.DV=1<<ut;var dt=52;e.prototype.FV=Math.pow(2,dt),e.prototype.F1=dt-ut,e.prototype.F2=2*ut-dt;var ht,mt,vt=\"0123456789abcdefghijklmnopqrstuvwxyz\",gt=new Array;for(ht=\"0\".charCodeAt(0),mt=0;9>=mt;++mt)gt[ht++]=mt;for(ht=\"a\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;for(ht=\"A\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;C.prototype.convert=T,C.prototype.revert=I,C.prototype.reduce=P,C.prototype.mulTo=F,C.prototype.sqrTo=M,B.prototype.convert=N,B.prototype.revert=D,B.prototype.reduce=q,B.prototype.mulTo=L,B.prototype.sqrTo=R,e.prototype.copyTo=u,e.prototype.fromInt=p,e.prototype.fromString=f,e.prototype.clamp=d,e.prototype.dlShiftTo=x,e.prototype.drShiftTo=w,e.prototype.lShiftTo=_,e.prototype.rShiftTo=k,e.prototype.subTo=j,e.prototype.multiplyTo=S,e.prototype.squareTo=E,e.prototype.divRemTo=O,e.prototype.invDigit=z,e.prototype.isEven=$,e.prototype.exp=U,e.prototype.toString=h,e.prototype.negate=m,e.prototype.abs=v,e.prototype.compareTo=g,e.prototype.bitLength=b,e.prototype.mod=A,e.prototype.modPowInt=H,e.ZERO=l(0),e.ONE=l(1),ze.prototype.convert=Be,ze.prototype.revert=Be,ze.prototype.mulTo=Ne,ze.prototype.sqrTo=De,$e.prototype.convert=Ue,$e.prototype.revert=He,$e.prototype.reduce=Ve,$e.prototype.mulTo=Ye,$e.prototype.sqrTo=We;var yt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bt=(1<<26)/yt[yt.length-1];e.prototype.chunkSize=G,e.prototype.toRadix=Z,e.prototype.fromRadix=Q,e.prototype.fromNumber=X,e.prototype.bitwiseTo=ie,e.prototype.changeBit=we,e.prototype.addTo=Se,e.prototype.dMultiply=Fe,e.prototype.dAddOffset=Me,e.prototype.multiplyLowerTo=Re,e.prototype.multiplyUpperTo=Le,e.prototype.modInt=Je,e.prototype.millerRabin=Xe,e.prototype.clone=V,e.prototype.intValue=W,e.prototype.byteValue=Y,e.prototype.shortValue=K,e.prototype.signum=J,e.prototype.toByteArray=ee,e.prototype.equals=te,e.prototype.min=ne,e.prototype.max=re,e.prototype.and=ae,e.prototype.or=ce,e.prototype.xor=pe,e.prototype.andNot=fe,e.prototype.not=de,e.prototype.shiftLeft=he,e.prototype.shiftRight=me,e.prototype.getLowestSetBit=ge,e.prototype.bitCount=be,e.prototype.testBit=xe,e.prototype.setBit=_e,e.prototype.clearBit=ke,e.prototype.flipBit=je,e.prototype.add=Ee,e.prototype.subtract=Oe,e.prototype.multiply=Ae,e.prototype.divide=Te,e.prototype.remainder=Ie,e.prototype.divideAndRemainder=Pe,e.prototype.modPow=Ke,e.prototype.modInverse=Ze,e.prototype.pow=qe,e.prototype.gcd=Ge,e.prototype.isProbablePrime=Qe,e.prototype.square=Ce,e.prototype.Barrett=$e;var xt,wt,_t;if(null==wt){wt=new Array,_t=0;var kt;if(\"undefined\"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var jt=new Uint8Array(32);for(window.crypto.getRandomValues(jt),kt=0;32>kt;++kt)wt[_t++]=jt[kt]}else if(\"Netscape\"==navigator.appName&&navigator.appVersion<\"5\"){var St=window.crypto.random(32);for(kt=0;kt<St.length;++kt)wt[_t++]=255&St.charCodeAt(kt)}for(;Et>_t;)kt=Math.floor(65536*Math.random()),wt[_t++]=kt>>>8,wt[_t++]=255&kt;_t=0,tt()}it.prototype.nextBytes=rt,ot.prototype.init=at,ot.prototype.next=st;var Et=256;\"undefined\"!=typeof n?n=t.exports={BigInteger:e,SecureRandom:it}:(this.BigInteger=e,this.SecureRandom=it)}).call(this)},{}],172:[function(e,t,n){({define:\"undefined\"!=typeof define?define:function(e,n){t.exports=n()}}).define([],function(){function e(t,n){return e(t,n,{changing:!1})}var t=e;t.Integer={type:\"integer\"};var n={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,n,r){return e(t,n,{changing:r||\"property\"})};var e=t._validate=function(e,t,r){function i(e){return e.type||n[e.name]==e&&e.name.toLowerCase()}function o(e,t,n,u){function p(e){c.push({property:n,message:e})}function l(e,t){if(e){if(!(\"string\"!=typeof e||\"any\"==e||(\"null\"==e?null===t:typeof t==e)||t instanceof Array&&\"array\"==e||t instanceof Date&&\"date\"==e||\"integer\"==e&&t%1===0))return[{property:n,message:typeof t+\" value found, but a \"+e+\" is required\"}];if(e instanceof Array){for(var r=[],i=0;i<e.length&&(r=l(e[i],t)).length;i++);if(r.length)return r}else if(\"object\"==typeof e){var a=c;c=[],o(t,e,n);var s=c;return c=a,s}}return[]}var f;if(n+=n?\"number\"==typeof u?\"[\"+u+\"]\":\"undefined\"==typeof u?\"\":\".\"+u:u,(\"object\"!=typeof t||t instanceof Array)&&(n||\"function\"!=typeof t)&&(!t||!i(t)))return\"function\"==typeof t?e instanceof t||p(\"is not an instance of the class/constructor \"+t.name):t&&p(\"Invalid schema/property definition \"+t),null;if(s&&t.readonly&&p(\"is a readonly field, it can not be changed\"),t[\"extends\"]&&o(e,t[\"extends\"],n,u),void 0===e)t.required&&p(\"is missing and it is required\");else if(c=c.concat(l(i(t),e)),t.disallow&&!l(t.disallow,e).length&&p(\" disallowed value was matched\"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,h=t.items;for(u=0,f=e.length;f>u;u+=1)d&&(h=t.items[u]),r.coerce&&(e[u]=r.coerce(e[u],h)),c.concat(o(e[u],h,n,u))}t.minItems&&e.length<t.minItems&&p(\"There must be a minimum of \"+t.minItems+\" in the array\"),t.maxItems&&e.length>t.maxItems&&p(\"There must be a maximum of \"+t.maxItems+\" in the array\")}else(t.properties||t.additionalProperties)&&c.concat(a(e,t.properties,n,t.additionalProperties));if(t.pattern&&\"string\"==typeof e&&!e.match(t.pattern)&&p(\"does not match the regex pattern \"+t.pattern),t.maxLength&&\"string\"==typeof e&&e.length>t.maxLength&&p(\"may only be \"+t.maxLength+\" characters long\"),t.minLength&&\"string\"==typeof e&&e.length<t.minLength&&p(\"must be at least \"+t.minLength+\" characters long\"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p(\"must have a minimum value of \"+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p(\"must have a maximum value of \"+t.maximum),t[\"enum\"]){var m=t[\"enum\"];f=m.length;for(var v,g=0;f>g;g++)if(m[g]===e){v=1;break}v||p(\"does not have a value in the enumeration \"+m.join(\", \"))}\"number\"==typeof t.maxDecimal&&e.toString().match(new RegExp(\"\\\\.[0-9]{\"+(t.maxDecimal+1)+\",}\"))&&p(\"may only have \"+t.maxDecimal+\" digits of decimal places\")}return null}function a(e,t,n,i){if(\"object\"==typeof t){(\"object\"!=typeof e||e instanceof Array)&&c.push({property:n,message:\"an object is required\"});for(var a in t)if(t.hasOwnProperty(a)){var u=e[a];if(void 0===u&&r.existingOnly)continue;var p=t[a];void 0===u&&p[\"default\"]&&(u=e[a]=p[\"default\"]),r.coerce&&a in e&&(u=e[a]=r.coerce(u,p)),o(u,p,n,a)}}for(a in e){if(e.hasOwnProperty(a)&&(\"_\"!=a.charAt(0)||\"_\"!=a.charAt(1))&&t&&!t[a]&&i===!1){if(r.filter){delete e[a];continue}c.push({property:n,message:typeof u+\"The property \"+a+\" is not defined in the schema and the schema does not allow additional properties\"})}var l=t&&t[a]&&t[a].requires;!l||l in e||c.push({property:n,message:\"the presence of the property \"+a+\" requires that \"+l+\" also be present\"}),u=e[a],!i||t&&\"object\"==typeof t&&a in t||(r.coerce&&(u=e[a]=r.coerce(u,i)),o(u,i,n,a)),!s&&u&&u.$schema&&(c=c.concat(o(u,u.$schema,n,a)))}return c}r||(r={});var s=r.changing,c=[];return t&&o(e,t,\"\",s||\"\"),!s&&e&&e.$schema&&o(e,e.$schema,\"\",\"\"),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return\"for property \"+e.property+\": \"+e.message}).join(\", \\n\"))},t})},{}],173:[function(e,t,n){function r(e,t,n,r){return JSON.stringify(e,i(t,r),n)}function i(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?\"[Circular ~]\":\"[Circular ~.\"+r.slice(0,n.indexOf(t)).join(\".\")+\"]\"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=t.call(this,i,o))}else n.push(o);return null==e?o:e.call(this,i,o)}}n=t.exports=r,n.getSerialize=i},{}],174:[function(e,t,n){var r=function(e){return e.replace(/~./g,function(e){switch(e){case\"~0\":return\"~\";case\"~1\":return\"/\"}throw new Error(\"Invalid tilde escape: \"+e)})},i=function(e,t,n){var o=r(t.shift());if(!e.hasOwnProperty(o))return null;if(0!==t.length)return i(e[o],t,n);if(\"undefined\"==typeof n)return e[o];var a=e[o];return null===n?delete e[o]:e[o]=n,a},o=function(e,t){if(\"object\"!=typeof e)throw new Error(\"Invalid input object.\");if(\"\"===t)return[];if(!t)throw new Error(\"Invalid JSON pointer.\");t=t.split(\"/\");var n=t.shift();if(\"\"!==n)throw new Error(\"Invalid JSON pointer.\");return t},a=function(e,t){return t=o(e,t),0===t.length?e:i(e,t)},s=function(e,t,n){if(t=o(e,t),0===t.length)throw new Error(\"Invalid JSON pointer for set.\");return i(e,t,n)};n.get=a,n.set=s},{}],175:[function(e,t,n){function r(e){var t,n,i=\"__deepCopy\";if(e&&e[i])throw new Error(\"attempted deep copy of cyclic object\");\nif(e&&e.constructor==Object){t={},e[i]=!0;for(n in e)n!=i&&(t[n]=r(e[n]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,n=0;n<e.length;n++)t.push(r(e[n]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||\"object\"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var n;for(n in e){if(!t.hasOwnProperty(n))return!1;if(!i(e[n],t[n]))return!1}for(n in t)if(!e.hasOwnProperty(n))return!1;return!0}function o(e){var t;for(t in e)return!1;return!0}function a(e,t){for(var n in e)t(n,e[n])}function s(e,t){return A.equal(typeof t,\"string\"),c(e,t)}function c(e,t){if(null!==e&&\"object\"==typeof e){if(e.hasOwnProperty(t))return e[t];var n=t.indexOf(\".\");if(-1!=n){var r=t.substr(0,n);if(e.hasOwnProperty(r))return c(e[r],t.substr(n+1))}}}function u(e,t,n){p(e,t,[],n)}function p(e,t,n,r){var i,o;if(0===t)return i=n.slice(0),i.push(e),void r(i);A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);for(o in e)i=n.slice(0),i.push(o),p(e[o],t-1,i,r)}function l(e,t){if(0===t)return[e];A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);var n,r=[];for(n in e)l(e[n],t-1).forEach(function(e){r.push([n].concat(e))});return r}function f(e,t){return e.substr(0,t.length)==t}function d(e,t){return e.substr(e.length-t.length,t.length)==t}function h(e){return\"number\"==typeof e&&(e=new Date(e)),A.ok(e.constructor===Date),C.sprintf(\"%4d-%02d-%02dT%02d:%02d:%02d.%03dZ\",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function m(e){return C.sprintf(\"%s, %02d %s %04d %02d:%02d:%02d GMT\",F[e.getUTCDay()],e.getUTCDate(),P[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function v(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)}function g(e,t){var n=I.validate(t,e);if(0===n.errors.length)return null;var r,i,o=n.errors[0],a=o.property,s=o.message.toLowerCase();-1!=(r=s.indexOf(\"the property \"))&&-1!=(i=s.indexOf(\" is not defined in the schema and the schema does not allow additional properties\"))&&(r+=\"the property \".length,a=\"\"===a?s.substr(r,i-r):a+\".\"+s.substr(r,i-r),s=\"unsupported property\");var c=new T.VError('property \"%s\": %s',a,s);return c.jsv_details=o,c}function y(e){return A.ok(Array.isArray(e)&&e.length>0,\"randElt argument must be a non-empty array\"),e[Math.floor(Math.random()*e.length)]}function b(e){A.ok(e[0]>=0&&e[1]>=0,\"negative numbers not allowed in hrtimes\"),A.ok(e[1]<1e9,\"nanoseconds column overflow\")}function x(e,t){b(e),b(t),A.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],\"negative differences not allowed\");var n=[e[0]-t[0],0];return e[1]>=t[1]?n[1]=e[1]-t[1]:(n[0]--,n[1]=1e9-(t[1]-e[1])),n}function w(e){return b(e),Math.floor(1e9*e[0]+e[1])}function _(e){return b(e),Math.floor(1e6*e[0]+e[1]/1e3)}function k(e){return b(e),Math.floor(1e3*e[0]+e[1]/1e6)}function j(e,t){return b(e),b(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function S(e,t){b(e);var n=[e[0],e[1]];return j(n,t)}function E(e,t){A.ok(\"object\"==typeof e&&null!==e,\"obj argument must be a non-null object\"),A.ok(Array.isArray(t),\"allowed argument must be an array of strings\");for(var n=0;n<t.length;n++)A.ok(\"string\"==typeof t[n],\"allowed argument must be an array of strings\");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})}function O(e,t,n){var r,i;if(r={},n)for(i in n)r[i]=n[i];if(e)for(i in e)r[i]=e[i];if(t)for(i in t)r[i]=t[i];return r}var A=e(\"assert\"),C=(e(\"util\"),e(\"extsprintf\")),T=e(\"verror\"),I=e(\"json-schema\");n.deepCopy=r,n.deepEqual=i,n.isEmpty=o,n.forEachKey=a,n.pluck=s,n.flattenObject=l,n.flattenIter=u,n.validateJsonObject=g,n.validateJsonObjectJS=g,n.randElt=y,n.extraProperties=E,n.mergeObjects=O,n.startsWith=f,n.endsWith=d,n.iso8601=h,n.rfc1123=m,n.parseDateTime=v,n.hrtimediff=x,n.hrtimeDiff=x,n.hrtimeAccum=j,n.hrtimeAdd=S,n.hrtimeNanosec=w,n.hrtimeMicrosec=_,n.hrtimeMillisec=k;var P=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],F=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},{assert:void 0,extsprintf:114,\"json-schema\":172,util:void 0,verror:533}],176:[function(e,t,n){\"use strict\";function r(){this._pres={},this._posts={}}r.prototype.execPre=function(e,t,n){var r=this._pres[e]||[],i=r.length,o=r.numAsync||0,a=0,s=o,c=!1;if(!i)return process.nextTick(function(){n(null)});var u=function(){if(!(a>=i)){var e=r[a];if(e.isAsync)e.fn.call(t,function(e){if(e){if(c)return;return c=!0,n(e)}++a,u.apply(t,arguments)},function(e){if(e){if(c)return;return c=!0,n(e)}return 0===--o?n(null):void 0});else if(e.fn.length>0){var p=[function(e){if(e){if(c)return;return c=!0,n(e)}return++a>=i?s>0?void 0:n(null):void u.apply(t,arguments)}];if(arguments.length>=2)for(var l=1;l<arguments.length;++l)p.push(arguments[l]);e.fn.apply(t,p)}else{if(e.fn.call(t),++a>=i)return s>0?void 0:process.nextTick(function(){n(null)});u()}}};u()},r.prototype.execPost=function(e,t,n,r){var i=this._posts[e]||[],o=i.length,a=0;if(!o)return process.nextTick(function(){r.apply(null,[null].concat(n))});var s=function(){var e=i[a];if(e.length>n.length)e.apply(t,n.concat(function(e){return e?r(e):++a>=o?r.apply(null,[null].concat(n)):void s()}));else{if(e.apply(t,n),++a>=o)return r.apply(null,[null].concat(n));s()}};s()},r.prototype.wrap=function(e,t,n,r,i){var o=r.length>0?r[r.length-1]:null,a=this;this.execPre(e,n,function(s){if(s){if(\"function\"==typeof o)return o(s)}else{var c=\"function\"==typeof o?r.length-1:r.length;t.apply(n,r.slice(0,c).concat(function(){if(arguments[0])return\"function\"==typeof o?o(arguments[0]):void 0;i&&\"function\"==typeof o&&o.apply(n,arguments);var t=Array.prototype.slice.call(arguments,1);a.execPost(e,n,t,function(){return arguments[0]?\"function\"==typeof o?o(arguments[0]):void 0:\"function\"!=typeof o||i?void 0:o.apply(n,arguments)})}))}})},r.prototype.createWrapper=function(e,t,n){var r=this;return function(){var i=Array.prototype.slice.call(arguments);r.wrap(e,t,n,i)}},r.prototype.pre=function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1),this._pres[e]=this._pres[e]||[];var i=this._pres[e];return t&&(i.numAsync=i.numAsync||0,++i.numAsync),i.push({fn:n,isAsync:t}),this},r.prototype.post=function(e,t){return(this._posts[e]=this._posts[e]||[]).push(t),this},r.prototype.clone=function(){var e=new r;for(var t in this._pres)e._pres[t]=this._pres[t].slice();for(var t in this._posts)e._posts[t]=this._posts[t].slice();return e},t.exports=r},{}],177:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function c(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!!e.length&&_(e,t,0)>-1}function d(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function h(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function m(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function v(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function g(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===X?a===a:n(a,s)))var s=a,c=o}return c}function x(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function w(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function _(e,t,n){if(t!==t)return $(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function k(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function j(e,t){var n=e?e.length:0;return n?O(e,t)/n:Oe}function S(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function E(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==X&&(n=n===X?o:n+o)}return n}function A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return h(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function I(e,t){return h(t,function(t){return e[t]})}function P(e,t){for(var n=-1,r=e.length;++n<r&&_(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function z(e,t){if(e!==t){var n=null===e,r=e===X,i=e===e,o=null===t,a=t===X,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function B(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var c=z(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*(\"desc\"==u?-1:1)}}return e.index-t.index}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function D(e){return function(t,n){var r;return t===X&&n===X?0:(t!==X&&(r=t),n!==X&&(r=r===X?n:e(r,n)),r)}}function q(e){return Tn[e]}function R(e){return In[e]}function L(e){return\"\\\\\"+Mn[e]}function $(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function U(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(n){}return t}function H(e,t){return e=\"number\"==typeof e||Pt.test(e)?+e:-1,t=null==t?Se:t,e>-1&&e%1==0&&t>e}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ie||(e[n]=ie,o[i++]=n)}return o}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){if(!e||!jn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function J(e){return e.match(_n)}function Z(e){return Pn[e]}function Q(e){function t(e){if(as(e)&&!Zp(e)&&!(e instanceof Pt)){if(e instanceof M)return e;if(du.call(e,\"__wrapped__\"))return Ji(e)}return new M(e)}function n(){}function M(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=X}function Pt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function Bt(){var e=new Pt(this.__wrapped__);return e.__actions__=Kr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Kr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Kr(this.__views__),e}function Nt(){if(this.__filtered__){var e=new Pt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zp(e),r=0>t,i=n?e.length:0,o=Ci(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=Du(c,this.__takeCount__);if(!n||te>i||i==c&&d==c)return Ir(e,this.__actions__);var h=[];e:for(;c--&&d>f;){u+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==_e)v=x;else if(!x){if(b==we)continue e;break e}}h[f++]=v}return h}function qt(){}function Rt(e,t){return $t(e,t)&&delete e[t]}function Lt(e,t){if(Gu){var n=e[t];return n===re?X:n}return du.call(e,t)?e[t]:X}function $t(e,t){return Gu?e[t]!==X:du.call(e,t)}function Ut(e,t,n){e[t]=Gu&&n===X?re:n}function Ht(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vt(){this.__data__={hash:new qt,map:Vu?new Vu:[],string:new qt}}function Wt(e){var t=this.__data__;return qi(e)?Rt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map[\"delete\"](e):an(t.map,e)}function Yt(e){var t=this.__data__;return qi(e)?Lt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.get(e):sn(t.map,e)}function Kt(e){var t=this.__data__;return qi(e)?$t(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.has(e):cn(t.map,e)}function Gt(e,t){var n=this.__data__;return qi(e)?Ut(\"string\"==typeof e?n.string:n.hash,e,t):Vu?n.map.set(e,t):pn(n.map,e,t),this}function Jt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ht;++t<n;)this.push(e[t])}function Zt(e,t){var n=e.__data__;if(qi(t)){var r=n.__data__,i=\"string\"==typeof t?r.string:r.hash;return i[t]===re}return n.has(t)}function Qt(e){var t=this.__data__;if(qi(e)){var n=t.__data__,r=\"string\"==typeof e?n.string:n.hash;r[e]=re}else t.set(e,re)}function Xt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map[\"delete\"](e)}function nn(e){var t=this.__data__,n=t.array;return n?sn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<te-1?pn(r,e,t):(n.array=null,n.map=new Ht(r)));var i=n.map;return i&&i.set(e,t),this}function an(e,t){var n=un(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Tu.call(e,n,1),!0}function sn(e,t){var n=un(e,t);return 0>n?X:e[n][1]}function cn(e,t){return un(e,t)>-1}function un(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function pn(e,t,n){var r=un(e,t);0>r?e.push([t,n]):e[r][1]=n}function ln(e,t,n,r){return e===X||La(e,pu[n])&&!du.call(r,n)?t:e}function fn(e,t,n){(n===X||La(e[t],n))&&(\"number\"!=typeof t||n!==X||t in e)||(e[t]=n)}function dn(e,t,n){var r=e[t];du.call(e,t)&&La(r,n)&&(n!==X||t in e)||(e[t]=n)}function hn(e,t,n,r){return sp(e,function(e,i,o){t(r,e,n(e),o)}),r}function mn(e,t){return e&&Gr(t,Ws(t),e)}function vn(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?X:Us(e,t[n]);return o}function gn(e,t,n){return e===e&&(n!==X&&(e=n>=e?e:n),t!==X&&(e=e>=t?e:t)),e}function yn(e,t,n,r,i,o,a){var s;if(r&&(s=o?r(e,i,o,a):r(e)),s!==X)return s;if(!os(e))return e;var u=Zp(e);if(u){if(s=Ii(e),!t)return Kr(e,s)}else{var p=Ai(e),l=p==Be||p==Ne;if(Qp(e))return Dr(e,t);if(p==Re||p==Ie||l&&!o){if(U(e))return o?e:{};if(s=Pi(l?{}:e),!t)return Jr(e,mn(s,e))}else{if(!Cn[p])return o?e:{};s=Fi(e,p,yn,t)}}a||(a=new Xt);var f=a.get(e);if(f)return f;if(a.set(e,s),!u)var d=n?bi(e):Ws(e);return c(d||e,function(i,o){d&&(o=i,i=e[o]),dn(s,o,yn(i,t,n,r,o,e,a))}),s}function bn(e){var t=Ws(e),n=t.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=t[i],a=e[o],s=r[o];if(s===X&&!(o in Object(r))||!a(s))return!1}return!0}}function _n(e){return os(e)?Ou(e):{}}function Tn(e,t,n){if(\"function\"!=typeof e)throw new cu(ne);return Cu(function(){e.apply(X,n)},t)}function In(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=h(t,T(n))),r?(o=d,a=!1):t.length>=te&&(o=Zt,a=!1,t=new Jt(t));e:for(;++i<s;){var p=e[i],l=n?n(p):p;if(a&&l===l){for(var m=u;m--;)if(t[m]===l)continue e;c.push(p)}else o(t,l,r)||c.push(p)}return c}function Pn(e,t){var n=!0;return sp(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fn(e,t,n,r){var i=e.length;for(n=As(n),0>n&&(n=-n>i?0:i+n),r=r===X||r>i?i:As(r),0>r&&(r+=i),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Mn(e,t){var n=[];return sp(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Nn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=zi),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Nn(s,t-1,n,r,i):m(i,s):r||(i[i.length]=s)}return i}function Dn(e,t){return e&&up(e,t,Ws)}function Rn(e,t){return e&&pp(e,t,Ws)}function Ln(e,t){return l(t,function(t){return ns(e[t])})}function $n(e,t){t=Di(t,e)?[t]:Br(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:X}function Un(e,t,n){var r=t(e);return Zp(e)?r:m(r,n(e))}function Wn(e,t){return du.call(e,t)||\"object\"==typeof e&&t in e&&null===Ei(e)}function Yn(e,t){return t in Object(e)}function Kn(e,t,n){return e>=Du(t,n)&&e<Nu(t,n)}function Gn(e,t,n){for(var r=n?d:f,i=e[0].length,o=e.length,a=o,s=Array(o),c=1/0,u=[];a--;){var p=e[a];a&&t&&(p=h(p,T(t))),c=Du(p.length,c),s[a]=!n&&(t||i>=120&&p.length>=120)?new Jt(a&&p):X}p=e[0];var l=-1,m=s[0];e:for(;++l<i&&u.length<c;){var v=p[l],g=t?t(v):v;if(!(m?Zt(m,g):r(u,g,n))){for(a=o;--a;){var y=s[a];if(!(y?Zt(y,g):r(e[a],g,n)))continue e}m&&m.push(g),u.push(v)}}return u}function Jn(e,t,n,r){return Dn(e,function(e,i,o){t(r,n(e),i,o)}),r}function Zn(e,t,n){Di(t,e)||(t=Br(t),e=Wi(e,t),t=vo(t));var r=null==e?e:e[t];return null==r?X:o(r,e,n)}function Qn(e,t,n,r,i){return e===t?!0:null==e||null==t||!os(e)&&!as(t)?e!==e&&t!==t:Xn(e,t,Qn,n,r,i)}function Xn(e,t,n,r,i,o){var a=Zp(e),s=Zp(t),c=Pe,u=Pe;a||(c=Ai(e),c=c==Ie?Re:c),s||(u=Ai(t),u=u==Ie?Re:u);var p=c==Re&&!U(e),l=u==Re&&!U(t),f=c==u;if(f&&!p)return o||(o=new Xt),a||ws(e)?vi(e,t,n,r,i,o):gi(e,t,c,n,r,i,o);if(!(i&ve)){var d=p&&du.call(e,\"__wrapped__\"),h=l&&du.call(t,\"__wrapped__\");if(d||h){var m=d?e.value():e,v=h?t.value():t;return o||(o=new Xt),n(m,v,r,i,o)}}return f?(o||(o=new Xt),yi(e,t,n,r,i,o)):!1}function er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===X&&!(c in e))return!1}else{var l=new Xt;if(r)var f=r(u,p,c,e,t,l);if(!(f===X?Qn(p,u,r,me|ve,l):f))return!1}}return!0}function tr(e){return\"function\"==typeof e?e:null==e?Nc:\"object\"==typeof e?Zp(e)?ar(e[0],e[1]):or(e):Vc(e)}function nr(e){return Bu(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ir(e,t){var n=-1,r=Wa(e)?Array(e.length):[];return sp(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function or(e){var t=ki(e);return 1==t.length&&t[0][2]?Ui(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ar(e,t){return Di(e)&&$i(t)?Ui(e,t):function(n){var r=Us(n,e);return r===X&&r===t?Vs(n,e):Qn(t,r,X,me|ve)}}function sr(e,t,n,r,i){if(e!==t){if(!Zp(t)&&!ws(t))var o=Ys(t);c(o||t,function(a,s){if(o&&(s=a,a=t[s]),os(a))i||(i=new Xt),cr(e,t,s,n,sr,r,i);else{var c=r?r(e[s],a,s+\"\",e,t,i):X;c===X&&(c=a),fn(e,s,c)}})}}function cr(e,t,n,r,i,o,a){var s=e[n],c=t[n],u=a.get(c);if(u)return void fn(e,n,u);var p=o?o(s,c,n+\"\",e,t,a):X,l=p===X;l&&(p=c,Zp(c)||ws(c)?Zp(s)?p=s:Ya(s)?p=Kr(s):(l=!1,p=yn(c,!0)):ms(c)||Ha(c)?Ha(s)?p=Is(s):!os(s)||r&&ns(s)?(l=!1,p=yn(c,!0)):p=s:l=!1),a.set(c,p),l&&i(p,c,r,o,a),a[\"delete\"](c),fn(e,n,p)}function ur(e,t){var n=e.length;if(n)return t+=0>t?n:0,H(t,n)?e[t]:X}function pr(e,t,n){var r=-1;t=h(t.length?t:[Nc],T(_i()));var i=ir(e,function(e,n,i){var o=h(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return E(i,function(e,t){return B(e,t,n)})}function lr(e,t){return e=Object(e),v(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function fr(e,t){for(var n=-1,r=xi(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function dr(e){return function(t){return null==t?X:t[e]}}function hr(e){return function(t){return $n(t,e)}}function mr(e,t,n,r){var i=r?k:_,o=-1,a=t.length,s=e;for(n&&(s=h(e,T(n)));++o<a;)for(var c=0,u=t[o],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&Tu.call(s,c,1),Tu.call(e,c,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(H(i))Tu.call(e,i,1);else if(Di(i,e))delete e[i];else{var a=Br(i),s=Wi(e,a);null!=s&&delete s[vo(a)]}}}return e}function gr(e,t){return e+Pu(Ru()*(t-e+1))}function yr(e,t,n,r){for(var i=-1,o=Nu(Iu((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}function br(e,t){var n=\"\";if(!e||1>t||t>Se)return n;do t%2&&(n+=e),t=Pu(t/2),t&&(e+=e);while(t);return n}function xr(e,t,n,r){t=Di(t,e)?[t]:Br(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];if(os(s)){var u=n;if(i!=a){var p=s[c];u=r?r(p,c,s):X,u===X&&(u=null==p?H(t[i+1])?[]:{}:p)}dn(s,c,u)}s=s[c]}return e}function wr(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function _r(e,t){var n;return sp(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function kr(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Te>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return jr(e,t,Nc,n)}function jr(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===X;o>i;){var u=Pu((i+o)/2),p=n(e[u]),l=p!==X,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return Du(o,Ce)}function Sr(e){return Er(e)}function Er(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,c=[i];++n<r;)i=e[n],o=t?t(i):i,La(o,a)||(a=o,c[s++]=i);return c}function Or(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=d;else if(o>=te){var u=t?null:fp(e);if(u)return K(u);a=!1,i=Zt,c=new Jt}else c=t?[]:s;e:for(;++r<o;){var p=e[r],l=t?t(p):p;if(a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function Ar(e,t){t=Di(t,e)?[t]:Br(t),e=Wi(e,t);var n=vo(t);return null!=e&&Hs(e,n)?delete e[n]:!0}function Cr(e,t,n,r){return xr(e,t,n($n(e,t)),r)}function Tr(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?wr(e,r?0:o,r?o+1:i):wr(e,r?o+1:0,r?i:o)}function Ir(e,t){var n=e;return n instanceof Pt&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,m([e],t.args))},n)}function Pr(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?m(In(o,e[r],t,n),In(e[r],o,t,n)):e[r];return o&&o.length?Or(o,t,n):[]}function Fr(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:X;n(a,e[r],s)}return a}function Mr(e){return Ya(e)?e:[]}function zr(e){return\"function\"==typeof e?e:Nc}function Br(e){return Zp(e)?e:gp(e)}function Nr(e,t,n){var r=e.length;return n=n===X?r:n,!t&&n>=r?e:wr(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function qr(e){var t=new e.constructor(e.byteLength);return new _u(t).set(new _u(e)),t}function Rr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Lr(e,t,n){var i=t?n(W(e),!0):W(e);return v(i,r,new e.constructor)}function $r(e){var t=new e.constructor(e.source,Et.exec(e));return t.lastIndex=e.lastIndex,t}function Ur(e,t,n){var r=t?n(K(e),!0):K(e);return v(r,i,new e.constructor)}function Hr(e){return op?Object(op.call(e)):{}}function Vr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wr(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,u=Nu(o-a,0),p=Array(c+u),l=!r;++s<c;)p[s]=t[s];for(;++i<a;)(l||o>i)&&(p[n[i]]=e[i]);for(;u--;)p[s++]=e[i++];return p}function Yr(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,u=t.length,p=Nu(o-s,0),l=Array(p+u),f=!r;++i<p;)l[i]=e[i];for(var d=i;++c<u;)l[d+c]=t[c];for(;++a<s;)(f||o>i)&&(l[d+n[a]]=e[i++]);return l}function Kr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Gr(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];dn(n,a,s)}return n}function Jr(e,t){return Gr(e,Oi(e),t)}function Zr(e,t){return function(n,r){var i=Zp(n)?a:hn,o=t?t():{};return i(n,e,_i(r),o)}}function Qr(e){return Ia(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=\"function\"==typeof o?(i--,o):X,a&&Ni(n[0],n[1],a)&&(o=3>i?X:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Xr(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function ei(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}function ti(e,t,n){function r(){var t=this&&this!==Hn&&this instanceof r?o:e;return t.apply(i?n:this,arguments)}var i=t&oe,o=ii(e);return r}function ni(e){return function(t){t=Fs(t);var n=jn.test(t)?J(t):X,r=n?n[0]:t.charAt(0),i=n?Nr(n,1).join(\"\"):t.slice(1);return r[e]()+i}}function ri(e){return function(t){return v(Fc(dc(t).replace(xn,\"\")),e,\"\")}}function ii(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_n(e.prototype),r=e.apply(n,t);return os(r)?r:n}}function oi(e,t,n){function r(){for(var a=arguments.length,s=Array(a),c=a,u=Si(r);c--;)s[c]=arguments[c];var p=3>a&&s[0]!==u&&s[a-1]!==u?[]:Y(s,u);if(a-=p.length,n>a)return di(e,t,si,r.placeholder,X,s,p,X,X,n-a);var l=this&&this!==Hn&&this instanceof r?i:e;return o(l,this,s)}var i=ii(e);return r}function ai(e){return Ia(function(t){t=Nn(t,1);var n=t.length,r=n,i=M.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(\"function\"!=typeof o)throw new cu(ne);if(i&&!a&&\"wrapper\"==wi(o))var a=new M([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=wi(o),c=\"wrapper\"==s?dp(o):X;a=c&&Ri(c[0])&&c[1]==(fe|ce|pe|de)&&!c[4].length&&1==c[9]?a[wi(c[0])].apply(a,c[3]):1==o.length&&Ri(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Zp(r)&&r.length>=te)return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function si(e,t,n,r,i,o,a,s,c,u){function p(){for(var g=arguments.length,y=g,b=Array(g);y--;)b[y]=arguments[y];if(h)var x=Si(p),w=N(b,x);if(r&&(b=Wr(b,r,i,h)),o&&(b=Yr(b,o,a,h)),g-=w,h&&u>g){var _=Y(b,x);return di(e,t,si,p.placeholder,n,b,_,s,c,u-g)}var k=f?n:this,j=d?k[e]:e;return g=b.length,s?b=Yi(b,s):m&&g>1&&b.reverse(),l&&g>c&&(b.length=c),this&&this!==Hn&&this instanceof p&&(j=v||ii(j)),j.apply(k,b)}var l=t&fe,f=t&oe,d=t&ae,h=t&(ce|ue),m=t&he,v=d?X:ii(e);return p}function ci(e,t){return function(n,r){return Jn(n,e,t(r),{})}}function ui(e){return Ia(function(t){return t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i())),Ia(function(n){var r=this;return e(t,function(e){return o(e,r,n)})})})}function pi(e,t){t=t===X?\" \":t+\"\";var n=t.length;if(2>n)return n?br(t,e):t;var r=br(t,Iu(e/G(t)));return jn.test(t)?Nr(J(r),0,e).join(\"\"):r.slice(0,e)}function li(e,t,n,r){function i(){for(var t=-1,c=arguments.length,u=-1,p=r.length,l=Array(p+c),f=this&&this!==Hn&&this instanceof i?s:e;++u<p;)l[u]=r[u];for(;c--;)l[u++]=arguments[++t];return o(f,a?n:this,l)}var a=t&oe,s=ii(e);return i}function fi(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Ni(t,n,r)&&(n=r=X),t=Ts(t),t=t===t?t:0,n===X?(n=t,t=0):n=Ts(n)||0,r=r===X?n>t?1:-1:Ts(r)||0,yr(t,n,r,e)}}function di(e,t,n,r,i,o,a,s,c,u){var p=t&ce,l=p?a:X,f=p?X:a,d=p?o:X,h=p?X:o;t|=p?pe:le,t&=~(p?le:pe),t&se||(t&=~(oe|ae));var m=[e,t,i,d,l,h,f,s,c,u],v=n.apply(X,m);return Ri(e)&&vp(v,m),v.placeholder=r,v}function hi(e){var t=au[e];return function(e,n){if(e=Ts(e),n=As(n)){var r=(Fs(e)+\"e\").split(\"e\"),i=t(r[0]+\"e\"+(+r[1]+n));return r=(Fs(i)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}function mi(e,t,n,r,i,o,a,s){var c=t&ae;if(!c&&\"function\"!=typeof e)throw new cu(ne);var u=r?r.length:0;if(u||(t&=~(pe|le),r=i=X),a=a===X?a:Nu(As(a),0),s=s===X?s:As(s),u-=i?i.length:0,t&le){var p=r,l=i;r=i=X}var f=c?X:dp(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&Hi(d,f),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=null==d[9]?c?0:e.length:Nu(d[9]-u,0),!s&&t&(ce|ue)&&(t&=~(ce|ue)),t&&t!=oe)h=t==ce||t==ue?oi(e,t,s):t!=pe&&t!=(oe|pe)||i.length?si.apply(X,d):li(e,t,n,r);else var h=ti(e,t,n);var m=f?lp:vp;return m(h,d)}function vi(e,t,n,r,i,o){var a=-1,s=i&ve,c=i&me,u=e.length,p=t.length;if(u!=p&&!(s&&p>u))return!1;var l=o.get(e);if(l)return l==t;var f=!0;for(o.set(e,t);++a<u;){var d=e[a],h=t[a];if(r)var m=s?r(h,d,a,t,e,o):r(d,h,a,e,t,o);if(m!==X){if(m)continue;f=!1;break}if(c){if(!y(t,function(e){return d===e||n(d,e,r,i,o)})){f=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){f=!1;break}}return o[\"delete\"](e),f}function gi(e,t,n,r,i,o,a){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new _u(e),new _u(t)));case Fe:case Me:return+e==+t;case ze:return e.name==t.name&&e.message==t.message;case qe:return e!=+e?t!=+t:e==+t;case $e:case He:return e==t+\"\";case De:var s=W;case Ue:var c=o&ve;if(s||(s=K),e.size!=t.size&&!c)return!1;var u=a.get(e);return u?u==t:(o|=me,a.set(e,t),vi(s(e),s(t),r,i,o,a));case Ve:if(op)return op.call(e)==op.call(t)}return!1}function yi(e,t,n,r,i,o){var a=i&ve,s=Ws(e),c=s.length,u=Ws(t),p=u.length;if(c!=p&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in t:Wn(t,f)))return!1}var d=o.get(e);if(d)return d==t;var h=!0;o.set(e,t);for(var m=a;++l<c;){f=s[l];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,o):r(v,g,f,e,t,o);if(!(y===X?v===g||n(v,g,r,i,o):y)){h=!1;break}m||(m=\"constructor\"==f)}if(h&&!m){var b=e.constructor,x=t.constructor;b!=x&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof x&&x instanceof x)&&(h=!1)}return o[\"delete\"](e),h}function bi(e){return Un(e,Ws,Oi)}function xi(e){return Un(e,Ys,mp)}function wi(e){for(var t=e.name+\"\",n=Qu[t],r=du.call(Qu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function _i(){var e=t.iteratee||Dc;return e=e===Dc?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e){for(var t=tc(e),n=t.length;n--;)t[n][2]=$i(t[n][1]);return t}function ji(e,t){var n=e[t];return ls(n)?n:X}function Si(e){var n=du.call(t,\"placeholder\")?t:e;return n.placeholder}function Ei(e){return Fu(Object(e))}function Oi(e){return Su(Object(e))}function Ai(e){return vu.call(e)}function Ci(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Du(t,e+a);break;case\"takeRight\":e=Nu(e,t-a)}}return{start:e,end:t}}function Ti(e,t,n){t=Di(t,e)?[t]:Br(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&is(o)&&H(a,o)&&(Zp(e)||bs(e)||Ha(e))}function Ii(e){var t=e.length,n=e.constructor(t);return t&&\"string\"==typeof e[0]&&du.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Pi(e){return\"function\"!=typeof e.constructor||Li(e)?{}:_n(Ei(e))}function Fi(e,t,n,r){var i=e.constructor;switch(t){case Ke:return qr(e);case Fe:case Me:return new i(+e);case Ge:return Rr(e,r);case Je:case Ze:case Qe:case Xe:case et:case tt:case nt:case rt:case it:return Vr(e,r);case De:return Lr(e,r,n);case qe:case He:return new i(e);case $e:return $r(e);case Ue:return Ur(e,r,n);case Ve:return Hr(e)}}function Mi(e){var t=e?e.length:X;return is(t)&&(Zp(e)||bs(e)||Ha(e))?A(t,String):null}function zi(e){return Ya(e)&&(Zp(e)||Ha(e))}function Bi(e){return Zp(e)&&!(2==e.length&&!ns(e[0]))}function Ni(e,t,n){if(!os(n))return!1;var r=typeof t;return(\"number\"==r?Wa(n)&&H(t,n.length):\"string\"==r&&t in n)?La(n[t],e):!1}function Di(e,t){var n=typeof e;return\"number\"==n||\"symbol\"==n?!0:!Zp(e)&&(xs(e)||vt.test(e)||!mt.test(e)||null!=t&&e in Object(t))}function qi(e){var t=typeof e;return\"number\"==t||\"boolean\"==t||\"string\"==t&&\"__proto__\"!=e||null==e}function Ri(e){var n=wi(e),r=t[n];if(\"function\"!=typeof r||!(n in Pt.prototype))return!1;if(e===r)return!0;var i=dp(r);return!!i&&e===i[0]}function Li(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||pu;return e===n}function $i(e){return e===e&&!os(e)}function Ui(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==X||e in Object(n))}}function Hi(e,t){var n=e[1],r=t[1],i=n|r,o=(oe|ae|fe)>i,a=r==fe&&n==ce||r==fe&&n==de&&e[7].length<=t[8]||r==(fe|de)&&t[7].length<=t[8]&&n==ce;\nif(!o&&!a)return e;r&oe&&(e[2]=t[2],i|=n&oe?0:se);var s=t[3];if(s){var c=e[3];e[3]=c?Wr(c,s,t[4]):s,e[4]=c?Y(e[3],ie):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Yr(c,s,t[6]):s,e[6]=c?Y(e[5],ie):t[6]),s=t[7],s&&(e[7]=s),r&fe&&(e[8]=null==e[8]?t[8]:Du(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Vi(e,t,n,r,i,o){return os(e)&&os(t)&&sr(e,t,X,Vi,o.set(t,e)),e}function Wi(e,t){return 1==t.length?e:$n(e,wr(t,0,-1))}function Yi(e,t){for(var n=e.length,r=Du(t.length,n),i=Kr(e);r--;){var o=t[r];e[r]=H(o,n)?i[o]:X}return e}function Ki(e){return\"string\"==typeof e||xs(e)?e:e+\"\"}function Gi(e){if(null!=e){try{return fu.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ji(e){if(e instanceof Pt)return e.clone();var t=new M(e.__wrapped__,e.__chain__);return t.__actions__=Kr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zi(e,t,n){t=(n?Ni(e,t,n):t===X)?1:Nu(As(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(Iu(r/t));r>i;)a[o++]=wr(e,i,i+=t);return a}function Qi(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Xi(){var e=arguments.length,t=Ba(arguments[0]);if(2>e)return e?Kr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Nn(n,1))}function eo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),wr(e,0>t?0:t,r)):[]}function to(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0,0>t?0:t)):[]}function no(e,t){return e&&e.length?Tr(e,_i(t,3),!0,!0):[]}function ro(e,t){return e&&e.length?Tr(e,_i(t,3),!0):[]}function io(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Ni(e,t,n)&&(n=0,r=i),Fn(e,t,n,r)):[]}function oo(e,t){return e&&e.length?w(e,_i(t,3)):-1}function ao(e,t){return e&&e.length?w(e,_i(t,3),!0):-1}function so(e){var t=e?e.length:0;return t?Nn(e,1):[]}function co(e){var t=e?e.length:0;return t?Nn(e,je):[]}function uo(e,t){var n=e?e.length:0;return n?(t=t===X?1:As(t),Nn(e,t)):[]}function po(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function lo(e){return e&&e.length?e[0]:X}function fo(e,t,n){var r=e?e.length:0;return r?(n=As(n),0>n&&(n=Nu(r+n,0)),_(e,t,n)):-1}function ho(e){return to(e,1)}function mo(e,t){return e?zu.call(e,t):\"\"}function vo(e){var t=e?e.length:0;return t?e[t-1]:X}function go(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==X&&(i=As(n),i=(0>i?Nu(r+i,0):Du(i,r-1))+1),t!==t)return $(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function yo(e,t){return e&&e.length?ur(e,As(t)):X}function bo(e,t){return e&&e.length&&t&&t.length?mr(e,t):e}function xo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,_i(n)):e}function wo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,X,n):e}function _o(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=_i(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vr(e,i),n}function ko(e){return e?$u.call(e):e}function jo(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Ni(e,t,n)?(t=0,n=r):(t=null==t?0:As(t),n=n===X?r:As(n)),wr(e,t,n)):[]}function So(e,t){return kr(e,t)}function Eo(e,t,n){return jr(e,t,_i(n))}function Oo(e,t){var n=e?e.length:0;if(n){var r=kr(e,t);if(n>r&&La(e[r],t))return r}return-1}function Ao(e,t){return kr(e,t,!0)}function Co(e,t,n){return jr(e,t,_i(n),!0)}function To(e,t){var n=e?e.length:0;if(n){var r=kr(e,t,!0)-1;if(La(e[r],t))return r}return-1}function Io(e){return e&&e.length?Sr(e):[]}function Po(e,t){return e&&e.length?Er(e,_i(t)):[]}function Fo(e){return eo(e,1)}function Mo(e,t,n){return e&&e.length?(t=n||t===X?1:As(t),wr(e,0,0>t?0:t)):[]}function zo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0>t?0:t,r)):[]}function Bo(e,t){return e&&e.length?Tr(e,_i(t,3),!1,!0):[]}function No(e,t){return e&&e.length?Tr(e,_i(t,3)):[]}function Do(e){return e&&e.length?Or(e):[]}function qo(e,t){return e&&e.length?Or(e,_i(t)):[]}function Ro(e,t){return e&&e.length?Or(e,X,t):[]}function Lo(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ya(e)?(t=Nu(e.length,t),!0):void 0}),A(t,function(t){return h(e,dr(t))})}function $o(e,t){if(!e||!e.length)return[];var n=Lo(e);return null==t?n:h(n,function(e){return o(t,X,e)})}function Uo(e,t){return Fr(e||[],t||[],dn)}function Ho(e,t){return Fr(e||[],t||[],xr)}function Vo(e){var n=t(e);return n.__chain__=!0,n}function Wo(e,t){return t(e),e}function Yo(e,t){return t(e)}function Ko(){return Vo(this)}function Go(){return new M(this.value(),this.__chain__)}function Jo(){this.__values__===X&&(this.__values__=Os(this.value()));var e=this.__index__>=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function Zo(){return this}function Qo(e){for(var t,r=this;r instanceof n;){var i=Ji(r);i.__index__=0,i.__values__=X,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Xo(){var e=this.__wrapped__;if(e instanceof Pt){var t=e;return this.__actions__.length&&(t=new Pt(this)),t=t.reverse(),t.__actions__.push({func:Yo,args:[ko],thisArg:X}),new M(t,this.__chain__)}return this.thru(ko)}function ea(){return Ir(this.__wrapped__,this.__actions__)}function ta(e,t,n){var r=Zp(e)?p:Pn;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function na(e,t){var n=Zp(e)?l:Mn;return n(e,_i(t,3))}function ra(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t);return n>-1?e[n]:X}return x(e,t,sp)}function ia(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t,!0);return n>-1?e[n]:X}return x(e,t,cp)}function oa(e,t){return Nn(la(e,t),1)}function aa(e,t){return Nn(la(e,t),je)}function sa(e,t,n){return n=n===X?1:As(n),Nn(la(e,t),n)}function ca(e,t){return\"function\"==typeof t&&Zp(e)?c(e,t):sp(e,_i(t))}function ua(e,t){return\"function\"==typeof t&&Zp(e)?u(e,t):cp(e,_i(t))}function pa(e,t,n,r){e=Wa(e)?e:sc(e),n=n&&!r?As(n):0;var i=e.length;return 0>n&&(n=Nu(i+n,0)),bs(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&_(e,t,n)>-1}function la(e,t){var n=Zp(e)?h:ir;return n(e,_i(t,3))}function fa(e,t,n,r){return null==e?[]:(Zp(t)||(t=null==t?[]:[t]),n=r?X:n,Zp(n)||(n=null==n?[]:[n]),pr(e,t,n))}function da(e,t,n){var r=Zp(e)?v:S,i=arguments.length<3;return r(e,_i(t,4),n,i,sp)}function ha(e,t,n){var r=Zp(e)?g:S,i=arguments.length<3;return r(e,_i(t,4),n,i,cp)}function ma(e,t){var n=Zp(e)?l:Mn;return t=_i(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function va(e){var t=Wa(e)?e:sc(e),n=t.length;return n>0?t[gr(0,n-1)]:X}function ga(e,t,n){var r=-1,i=Os(e),o=i.length,a=o-1;for(t=(n?Ni(e,t,n):t===X)?1:gn(As(t),0,o);++r<t;){var s=gr(r,a),c=i[s];i[s]=i[r],i[r]=c}return i.length=t,i}function ya(e){return ga(e,Ae)}function ba(e){if(null==e)return 0;if(Wa(e)){var t=e.length;return t&&bs(e)?G(e):t}if(as(e)){var n=Ai(e);if(n==De||n==Ue)return e.size}return Ws(e).length}function xa(e,t,n){var r=Zp(e)?y:_r;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function wa(e,t){if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e<1?t.apply(this,arguments):void 0}}function _a(e,t,n){return t=n?X:t,t=e&&null==t?e.length:t,mi(e,fe,X,X,X,X,t)}function ka(e,t){var n;if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=X),n}}function ja(e,t,n){t=n?X:t;var r=mi(e,ce,X,X,X,X,X,t);return r.placeholder=ja.placeholder,r}function Sa(e,t,n){t=n?X:t;var r=mi(e,ue,X,X,X,X,X,t);return r.placeholder=Sa.placeholder,r}function Ea(e,t,n){function r(t){var n=f,r=d;return f=d=X,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Cu(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Du(i,h-r):i}function a(e){var n=e-g,r=e-y;return!g||n>=t||0>n||x&&r>=h}function s(){var e=$p();return a(e)?c(e):void(v=Cu(s,o(e)))}function c(e){return ku(v),v=X,w&&f?r(e):(f=d=X,m)}function u(){v!==X&&ku(v),g=y=0,f=d=v=X}function p(){return v===X?m:c($p())}function l(){var e=$p(),n=a(e);if(f=arguments,d=this,g=e,n){if(v===X)return i(g);if(x)return ku(v),v=Cu(s,t),r(g)}return v===X&&(v=Cu(s,t)),m}var f,d,h,m,v,g=0,y=0,b=!1,x=!1,w=!0;if(\"function\"!=typeof e)throw new cu(ne);return t=Ts(t)||0,os(n)&&(b=!!n.leading,x=\"maxWait\"in n,h=x?Nu(Ts(n.maxWait)||0,t):h,w=\"trailing\"in n?!!n.trailing:w),l.cancel=u,l.flush=p,l}function Oa(e){return mi(e,he)}function Aa(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new cu(ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Aa.Cache||Ht),n}function Ca(e){if(\"function\"!=typeof e)throw new cu(ne);return function(){return!e.apply(this,arguments)}}function Ta(e){return ka(2,e)}function Ia(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=Nu(t===X?e.length-1:As(t),0),function(){for(var n=arguments,r=-1,i=Nu(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,o(e,this,s)}}function Pa(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=t===X?0:Nu(As(t),0),Ia(function(n){var r=n[t],i=Nr(n,0,t);return r&&m(i,r),o(e,this,i)})}function Fa(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new cu(ne);return os(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Ea(e,t,{leading:r,maxWait:t,trailing:i})}function Ma(e){return _a(e,1)}function za(e,t){return t=null==t?Nc:t,Kp(t,e)}function Ba(){if(!arguments.length)return[];var e=arguments[0];return Zp(e)?e:[e]}function Na(e){return yn(e,!1,!0)}function Da(e,t){return yn(e,!1,!0,t)}function qa(e){return yn(e,!0,!0)}function Ra(e,t){return yn(e,!0,!0,t)}function La(e,t){return e===t||e!==e&&t!==t}function $a(e,t){return e>t}function Ua(e,t){return e>=t}function Ha(e){return Ya(e)&&du.call(e,\"callee\")&&(!Au.call(e,\"callee\")||vu.call(e)==Ie)}function Va(e){return as(e)&&vu.call(e)==Ke}function Wa(e){return null!=e&&is(hp(e))&&!ns(e)}function Ya(e){return as(e)&&Wa(e)}function Ka(e){return e===!0||e===!1||as(e)&&vu.call(e)==Fe}function Ga(e){return as(e)&&vu.call(e)==Me}function Ja(e){return!!e&&1===e.nodeType&&as(e)&&!ms(e)}function Za(e){if(Wa(e)&&(Zp(e)||bs(e)||ns(e.splice)||Ha(e)||Qp(e)))return!e.length;if(as(e)){var t=Ai(e);if(t==De||t==Ue)return!e.size}for(var n in e)if(du.call(e,n))return!1;return!(Zu&&Ws(e).length)}function Qa(e,t){return Qn(e,t)}function Xa(e,t,n){n=\"function\"==typeof n?n:X;var r=n?n(e,t):X;return r===X?Qn(e,t,n):!!r}function es(e){return as(e)?vu.call(e)==ze||\"string\"==typeof e.message&&\"string\"==typeof e.name:!1}function ts(e){return\"number\"==typeof e&&Mu(e)}function ns(e){var t=os(e)?vu.call(e):\"\";return t==Be||t==Ne}function rs(e){return\"number\"==typeof e&&e==As(e)}function is(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Se>=e}function os(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function as(e){return!!e&&\"object\"==typeof e}function ss(e){return as(e)&&Ai(e)==De}function cs(e,t){return e===t||er(e,t,ki(t))}function us(e,t,n){return n=\"function\"==typeof n?n:X,er(e,t,ki(t),n)}function ps(e){return hs(e)&&e!=+e}function ls(e){if(!os(e))return!1;var t=ns(e)||U(e)?yu:Tt;return t.test(Gi(e))}function fs(e){return null===e}function ds(e){return null==e}function hs(e){return\"number\"==typeof e||as(e)&&vu.call(e)==qe}function ms(e){if(!as(e)||vu.call(e)!=Re||U(e))return!1;var t=Ei(e);if(null===t)return!0;var n=du.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&fu.call(n)==mu}function vs(e){return os(e)&&vu.call(e)==$e}function gs(e){return rs(e)&&e>=-Se&&Se>=e}function ys(e){return as(e)&&Ai(e)==Ue}function bs(e){return\"string\"==typeof e||!Zp(e)&&as(e)&&vu.call(e)==He}function xs(e){return\"symbol\"==typeof e||as(e)&&vu.call(e)==Ve}function ws(e){return as(e)&&is(e.length)&&!!An[vu.call(e)]}function _s(e){return e===X}function ks(e){return as(e)&&Ai(e)==We}function js(e){return as(e)&&vu.call(e)==Ye}function Ss(e,t){return t>e}function Es(e,t){return t>=e}function Os(e){if(!e)return[];if(Wa(e))return bs(e)?J(e):Kr(e);if(Eu&&e[Eu])return V(e[Eu]());var t=Ai(e),n=t==De?W:t==Ue?K:sc;return n(e)}function As(e){if(!e)return 0===e?e:0;if(e=Ts(e),e===je||e===-je){var t=0>e?-1:1;return t*Ee}var n=e%1;return e===e?n?e-n:e:0}function Cs(e){return e?gn(As(e),0,Ae):0}function Ts(e){if(\"number\"==typeof e)return e;if(xs(e))return Oe;if(os(e)){var t=ns(e.valueOf)?e.valueOf():e;e=os(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(xt,\"\");var n=Ct.test(e);return n||It.test(e)?Bn(e.slice(2),n?2:8):At.test(e)?Oe:+e}function Is(e){return Gr(e,Ys(e))}function Ps(e){return gn(As(e),-Se,Se)}function Fs(e){if(\"string\"==typeof e)return e;if(null==e)return\"\";if(xs(e))return ap?ap.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-je?\"-0\":t}function Ms(e,t){var n=_n(e);return t?mn(n,t):n}function zs(e,t){return x(e,_i(t,3),Dn,!0)}function Bs(e,t){return x(e,_i(t,3),Rn,!0)}function Ns(e,t){return null==e?e:up(e,_i(t),Ys)}function Ds(e,t){return null==e?e:pp(e,_i(t),Ys)}function qs(e,t){return e&&Dn(e,_i(t))}function Rs(e,t){return e&&Rn(e,_i(t))}function Ls(e){return null==e?[]:Ln(e,Ws(e))}function $s(e){return null==e?[]:Ln(e,Ys(e))}function Us(e,t,n){var r=null==e?X:$n(e,t);return r===X?n:r}function Hs(e,t){return null!=e&&Ti(e,t,Wn)}function Vs(e,t){return null!=e&&Ti(e,t,Yn)}function Ws(e){var t=Li(e);if(!t&&!Wa(e))return nr(e);var n=Mi(e),r=!!n,i=n||[],o=i.length;for(var a in e)!Wn(e,a)||r&&(\"length\"==a||H(a,o))||t&&\"constructor\"==a||i.push(a);return i}function Ys(e){for(var t=-1,n=Li(e),r=rr(e),i=r.length,o=Mi(e),a=!!o,s=o||[],c=s.length;++t<i;){var u=r[t];a&&(\"length\"==u||H(u,c))||\"constructor\"==u&&(n||!du.call(e,u))||s.push(u)}return s}function Ks(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[t(e,r,i)]=e}),n}function Gs(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[r]=t(e,r,i)}),n}function Js(e,t){return t=_i(t),fr(e,function(e,n){return!t(e,n)})}function Zs(e,t){return null==e?{}:fr(e,_i(t))}function Qs(e,t,n){t=Di(t,e)?[t]:Br(t);var r=-1,i=t.length;for(i||(e=X,i=1);++r<i;){var o=null==e?X:e[t[r]];o===X&&(r=i,o=n),e=ns(o)?o.call(e):o}return e}function Xs(e,t,n){return null==e?e:xr(e,t,n)}function ec(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:xr(e,t,n,r)}function tc(e){return C(e,Ws(e))}function nc(e){return C(e,Ys(e))}function rc(e,t,n){var r=Zp(e)||ws(e);if(t=_i(t,4),null==n)if(r||os(e)){var i=e.constructor;n=r?Zp(e)?new i:[]:ns(i)?_n(Ei(e)):{}}else n={};return(r?c:Dn)(e,function(e,r,i){return t(n,e,r,i)}),n}function ic(e,t){return null==e?!0:Ar(e,t)}function oc(e,t,n){return null==e?e:Cr(e,t,zr(n))}function ac(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:Cr(e,t,zr(n),r)}function sc(e){return e?I(e,Ws(e)):[]}function cc(e){return null==e?[]:I(e,Ys(e))}function uc(e,t,n){return n===X&&(n=t,t=X),n!==X&&(n=Ts(n),n=n===n?n:0),t!==X&&(t=Ts(t),t=t===t?t:0),gn(Ts(e),t,n)}function pc(e,t,n){return t=Ts(t)||0,n===X?(n=t,t=0):n=Ts(n)||0,e=Ts(e),Kn(e,t,n)}function lc(e,t,n){if(n&&\"boolean\"!=typeof n&&Ni(e,t,n)&&(t=n=X),n===X&&(\"boolean\"==typeof t?(n=t,t=X):\"boolean\"==typeof e&&(n=e,e=X)),e===X&&t===X?(e=0,t=1):(e=Ts(e)||0,t===X?(t=e,e=0):t=Ts(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Ru();return Du(e+i*(t-e+zn(\"1e-\"+((i+\"\").length-1))),t)}return gr(e,t)}function fc(e){return xl(Fs(e).toLowerCase())}function dc(e){return e=Fs(e),e&&e.replace(Ft,q).replace(wn,\"\")}function hc(e,t,n){e=Fs(e),t=\"string\"==typeof t?t:t+\"\";var r=e.length;return n=n===X?r:gn(As(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function mc(e){return e=Fs(e),e&&lt.test(e)?e.replace(ut,R):e}function vc(e){return e=Fs(e),e&&bt.test(e)?e.replace(yt,\"\\\\$&\"):e}function gc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return pi(Pu(i),n)+e+pi(Iu(i),n)}function yc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?e+pi(t-r,n):e}function bc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?pi(t-r,n)+e:e}function xc(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Fs(e).replace(xt,\"\"),qu(e,t||(Ot.test(e)?16:10))}function wc(e,t,n){return t=(n?Ni(e,t,n):t===X)?1:As(t),br(Fs(e),t)}function _c(){var e=arguments,t=Fs(e[0]);return e.length<3?t:Lu.call(t,e[1],e[2])}function kc(e,t,n){return n&&\"number\"!=typeof n&&Ni(e,t,n)&&(t=n=X),(n=n===X?Ae:n>>>0)?(e=Fs(e),e&&(\"string\"==typeof t||null!=t&&!vs(t))&&(t+=\"\",\"\"==t&&jn.test(e))?Nr(J(e),0,n):Uu.call(e,t,n)):[]}function jc(e,t,n){return e=Fs(e),n=gn(As(n),0,e.length),e.lastIndexOf(t,n)==n}function Sc(e,n,r){var i=t.templateSettings;r&&Ni(e,n,r)&&(n=X),e=Fs(e),n=tl({},n,i,ln);var o,a,s=tl({},n.imports,i.imports,ln),c=Ws(s),u=I(s,c),p=0,l=n.interpolate||Mt,f=\"__p += '\",d=su((n.escape||Mt).source+\"|\"+l.source+\"|\"+(l===ht?St:Mt).source+\"|\"+(n.evaluate||Mt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++On+\"]\")+\"\\n\";e.replace(d,function(t,n,r,i,s,c){return r||(r=i),f+=e.slice(p,c).replace(zt,L),n&&(o=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),p=c+t.length,t}),f+=\"';\\n\";var m=n.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(ot,\"\"):f).replace(at,\"$1\").replace(st,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var v=wl(function(){return Function(c,h+\"return \"+f).apply(X,u)});if(v.source=f,es(v))throw v;return v}function Ec(e){return Fs(e).toLowerCase()}function Oc(e){return Fs(e).toUpperCase()}function Ac(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(xt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=J(t),o=P(r,i),a=F(r,i)+1;return Nr(r,o,a).join(\"\")}function Cc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(_t,\"\");if(!(t+=\"\"))return e;var r=J(e),i=F(r,J(t))+1;return Nr(r,0,i).join(\"\")}function Tc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(wt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=P(r,J(t));return Nr(r,i).join(\"\")}function Ic(e,t){var n=ge,r=ye;if(os(t)){var i=\"separator\"in t?t.separator:i;n=\"length\"in t?As(t.length):n,r=\"omission\"in t?Fs(t.omission):r}e=Fs(e);var o=e.length;if(jn.test(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-G(r);if(1>s)return r;var c=a?Nr(a,0,s).join(\"\"):e.slice(0,s);if(i===X)return c+r;if(a&&(s+=c.length-s),vs(i)){if(e.slice(s).search(i)){var u,p=c;for(i.global||(i=su(i.source,Fs(Et.exec(i))+\"g\")),i.lastIndex=0;u=i.exec(p);)var l=u.index;c=c.slice(0,l===X?s:l)}}else if(e.indexOf(i,s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function Pc(e){return e=Fs(e),e&&pt.test(e)?e.replace(ct,Z):e}function Fc(e,t,n){return e=Fs(e),t=n?X:t,t===X&&(t=Sn.test(e)?kn:kt),e.match(t)||[]}function Mc(e){var t=e?e.length:0,n=_i();return e=t?h(e,function(e){if(\"function\"!=typeof e[1])throw new cu(ne);return[n(e[0]),e[1]]}):[],Ia(function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function zc(e){return bn(yn(e,!0))}function Bc(e){return function(){return e}}function Nc(e){return e}function Dc(e){return tr(\"function\"==typeof e?e:yn(e,!0))}function qc(e){return or(yn(e,!0))}function Rc(e,t){return ar(e,yn(t,!0))}function Lc(e,t,n){var r=Ws(t),i=Ln(t,r);null!=n||os(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ln(t,Ws(t)));var o=!(os(n)&&\"chain\"in n&&!n.chain),a=ns(e);return c(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Kr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,m([this.value()],arguments))})}),e}function $c(){return Hn._===this&&(Hn._=gu),this}function Uc(){}function Hc(e){return e=As(e),Ia(function(t){return ur(t,e)})}function Vc(e){return Di(e)?dr(e):hr(e)}function Wc(e){return function(t){return null==e?X:$n(e,t)}}function Yc(e,t){if(e=As(e),1>e||e>Se)return[];var n=Ae,r=Du(e,Ae);t=_i(t),e-=Ae;for(var i=A(r,t);++n<e;)t(n);return i}function Kc(e){return Zp(e)?h(e,Ki):xs(e)?[e]:Kr(gp(e))}function Gc(e){var t=++hu;return Fs(e)+t}function Jc(e){return e&&e.length?b(e,Nc,$a):X}function Zc(e,t){return e&&e.length?b(e,_i(t),$a):X}function Qc(e){return j(e,Nc)}function Xc(e,t){return j(e,_i(t))}function eu(e){return e&&e.length?b(e,Nc,Ss):X}function tu(e,t){return e&&e.length?b(e,_i(t),Ss):X}function nu(e){return e&&e.length?O(e,Nc):0}function ru(e,t){return e&&e.length?O(e,_i(t)):0}e=e?Vn.defaults({},e,Vn.pick(Hn,En)):Hn;var iu=e.Date,ou=e.Error,au=e.Math,su=e.RegExp,cu=e.TypeError,uu=e.Array.prototype,pu=e.Object.prototype,lu=e.String.prototype,fu=e.Function.prototype.toString,du=pu.hasOwnProperty,hu=0,mu=fu.call(Object),vu=pu.toString,gu=Hn._,yu=su(\"^\"+fu.call(du).replace(yt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),bu=qn?e.Buffer:X,xu=e.Reflect,wu=e.Symbol,_u=e.Uint8Array,ku=e.clearTimeout,ju=xu?xu.enumerate:X,Su=Object.getOwnPropertySymbols,Eu=\"symbol\"==typeof(Eu=wu&&wu.iterator)?Eu:X,Ou=Object.create,Au=pu.propertyIsEnumerable,Cu=e.setTimeout,Tu=uu.splice,Iu=au.ceil,Pu=au.floor,Fu=Object.getPrototypeOf,Mu=e.isFinite,zu=uu.join,Bu=Object.keys,Nu=au.max,Du=au.min,qu=e.parseInt,Ru=au.random,Lu=lu.replace,$u=uu.reverse,Uu=lu.split,Hu=ji(e,\"DataView\"),Vu=ji(e,\"Map\"),Wu=ji(e,\"Promise\"),Yu=ji(e,\"Set\"),Ku=ji(e,\"WeakMap\"),Gu=ji(Object,\"create\"),Ju=Ku&&new Ku,Zu=!Au.call({valueOf:1},\"valueOf\"),Qu={},Xu=Gi(Hu),ep=Gi(Vu),tp=Gi(Wu),np=Gi(Yu),rp=Gi(Ku),ip=wu?wu.prototype:X,op=ip?ip.valueOf:X,ap=ip?ip.toString:X;t.templateSettings={escape:ft,evaluate:dt,interpolate:ht,variable:\"\",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,M.prototype=_n(n.prototype),M.prototype.constructor=M,Pt.prototype=_n(n.prototype),Pt.prototype.constructor=Pt,qt.prototype=Gu?Gu(null):pu,Ht.prototype.clear=Vt,Ht.prototype[\"delete\"]=Wt,Ht.prototype.get=Yt,Ht.prototype.has=Kt,Ht.prototype.set=Gt,Jt.prototype.push=Qt,Xt.prototype.clear=en,Xt.prototype[\"delete\"]=tn,Xt.prototype.get=nn,Xt.prototype.has=rn,Xt.prototype.set=on;var sp=Xr(Dn),cp=Xr(Rn,!0),up=ei(),pp=ei(!0);ju&&!Au.call({valueOf:1},\"valueOf\")&&(rr=function(e){return V(ju(e))});var lp=Ju?function(e,t){return Ju.set(e,t),e}:Nc,fp=Yu&&2===new Yu([1,2]).size?function(e){return new Yu(e)}:Uc,dp=Ju?function(e){return Ju.get(e)}:Uc,hp=dr(\"length\");Su||(Oi=function(){return[]});var mp=Su?function(e){for(var t=[];e;)m(t,Oi(e)),e=Ei(e);return t}:Oi;(Hu&&Ai(new Hu(new ArrayBuffer(1)))!=Ge||Vu&&Ai(new Vu)!=De||Wu&&Ai(Wu.resolve())!=Le||Yu&&Ai(new Yu)!=Ue||Ku&&Ai(new Ku)!=We)&&(Ai=function(e){var t=vu.call(e),n=t==Re?e.constructor:X,r=n?Gi(n):X;if(r)switch(r){case Xu:return Ge;case ep:return De;case tp:return Le;case np:return Ue;case rp:return We}return t});var vp=function(){var e=0,t=0;return function(n,r){var i=$p(),o=xe-(i-t);if(t=i,o>0){if(++e>=be)return n}else e=0;return lp(n,r)}}(),gp=Aa(function(e){var t=[];return Fs(e).replace(gt,function(e,n,r,i){t.push(r?i.replace(jt,\"$1\"):n||e)}),t}),yp=Ia(function(e,t){return Ya(e)?In(e,Nn(t,1,Ya,!0)):[]}),bp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),_i(n)):[]}),xp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),X,n):[]}),wp=Ia(function(e){var t=h(e,Mr);return t.length&&t[0]===e[0]?Gn(t):[]}),_p=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,_i(t)):[]}),kp=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,X,t):[]}),jp=Ia(bo),Sp=Ia(function(e,t){t=h(Nn(t,1),String);var n=vn(e,t);return vr(e,t.sort(z)),n}),Ep=Ia(function(e){return Or(Nn(e,1,Ya,!0))}),Op=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),_i(t))}),Ap=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),X,t)}),Cp=Ia(function(e,t){return Ya(e)?In(e,t):[]}),Tp=Ia(function(e){return Pr(l(e,Ya))}),Ip=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),_i(t))}),Pp=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),X,t)}),Fp=Ia(Lo),Mp=Ia(function(e){var t=e.length,n=t>1?e[t-1]:X;return n=\"function\"==typeof n?(e.pop(),n):X,$o(e,n)}),zp=Ia(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pt&&H(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Yo,args:[i],thisArg:X}),new M(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(i)}),Bp=Zr(function(e,t,n){du.call(e,n)?++e[n]:e[n]=1}),Np=Zr(function(e,t,n){du.call(e,n)?e[n].push(t):e[n]=[t]}),Dp=Ia(function(e,t,n){var r=-1,i=\"function\"==typeof t,a=Di(t),s=Wa(e)?Array(e.length):[];return sp(e,function(e){var c=i?t:a&&null!=e?e[t]:X;s[++r]=c?o(c,e,n):Zn(e,t,n)}),s}),qp=Zr(function(e,t,n){e[n]=t}),Rp=Zr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Lp=Ia(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ni(e,t[0],t[1])?t=[]:n>2&&Ni(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zp(t[0])?t[0]:Nn(t,1,Bi),pr(e,t,[])}),$p=iu.now,Up=Ia(function(e,t,n){var r=oe;if(n.length){var i=Y(n,Si(Up));r|=pe}return mi(e,r,t,n,i)}),Hp=Ia(function(e,t,n){var r=oe|ae;if(n.length){var i=Y(n,Si(Hp));r|=pe}return mi(t,r,e,n,i)}),Vp=Ia(function(e,t){return Tn(e,1,t)}),Wp=Ia(function(e,t,n){return Tn(e,Ts(t)||0,n)});Aa.Cache=Ht;var Yp=Ia(function(e,t){t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i()));var n=t.length;return Ia(function(r){for(var i=-1,a=Du(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)})}),Kp=Ia(function(e,t){var n=Y(t,Si(Kp));return mi(e,pe,X,t,n)}),Gp=Ia(function(e,t){var n=Y(t,Si(Gp));return mi(e,le,X,t,n)}),Jp=Ia(function(e,t){return mi(e,de,X,X,X,Nn(t,1))}),Zp=Array.isArray,Qp=bu?function(e){return e instanceof bu}:Bc(!1),Xp=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ws(t),e);for(var n in t)du.call(t,n)&&dn(e,n,t[n])}),el=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ys(t),e);for(var n in t)dn(e,n,t[n])}),tl=Qr(function(e,t,n,r){Gr(t,Ys(t),e,r)}),nl=Qr(function(e,t,n,r){Gr(t,Ws(t),e,r)}),rl=Ia(function(e,t){return vn(e,Nn(t,1))}),il=Ia(function(e){return e.push(X,ln),o(tl,X,e)}),ol=Ia(function(e){return e.push(X,Vi),o(pl,X,e)}),al=ci(function(e,t,n){e[t]=n},Bc(Nc)),sl=ci(function(e,t,n){du.call(e,t)?e[t].push(n):e[t]=[n]},_i),cl=Ia(Zn),ul=Qr(function(e,t,n){sr(e,t,n)}),pl=Qr(function(e,t,n,r){sr(e,t,n,r)}),ll=Ia(function(e,t){return null==e?{}:(t=h(Nn(t,1),Ki),lr(e,In(xi(e),t)))}),fl=Ia(function(e,t){return null==e?{}:lr(e,Nn(t,1))}),dl=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?fc(t):t)}),hl=ri(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),ml=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),vl=ni(\"toLowerCase\"),gl=ri(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),yl=ri(function(e,t,n){return e+(n?\" \":\"\")+xl(t)}),bl=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),xl=ni(\"toUpperCase\"),wl=Ia(function(e,t){try{return o(e,X,t)}catch(n){return es(n)?n:new ou(n)}}),_l=Ia(function(e,t){return c(Nn(t,1),function(t){e[t]=Up(e[t],e)}),e}),kl=ai(),jl=ai(!0),Sl=Ia(function(e,t){return function(n){return Zn(n,e,t)}}),El=Ia(function(e,t){return function(n){return Zn(e,n,t)}}),Ol=ui(h),Al=ui(p),Cl=ui(y),Tl=fi(),Il=fi(!0),Pl=D(function(e,t){return e+t}),Fl=hi(\"ceil\"),Ml=D(function(e,t){return e/t}),zl=hi(\"floor\"),Bl=D(function(e,t){return e*t}),Nl=hi(\"round\"),Dl=D(function(e,t){return e-t});return t.after=wa,t.ary=_a,t.assign=Xp,t.assignIn=el,t.assignInWith=tl,t.assignWith=nl,t.at=rl,t.before=ka,t.bind=Up,t.bindAll=_l,t.bindKey=Hp,t.castArray=Ba,t.chain=Vo,t.chunk=Zi,t.compact=Qi,t.concat=Xi,t.cond=Mc,t.conforms=zc,t.constant=Bc,t.countBy=Bp,t.create=Ms,t.curry=ja,t.curryRight=Sa,t.debounce=Ea,t.defaults=il,t.defaultsDeep=ol,t.defer=Vp,t.delay=Wp,t.difference=yp,t.differenceBy=bp,t.differenceWith=xp,t.drop=eo,t.dropRight=to,t.dropRightWhile=no,t.dropWhile=ro,t.fill=io,t.filter=na,t.flatMap=oa,t.flatMapDeep=aa,t.flatMapDepth=sa,t.flatten=so,t.flattenDeep=co,t.flattenDepth=uo,t.flip=Oa,t.flow=kl,t.flowRight=jl,t.fromPairs=po,t.functions=Ls,t.functionsIn=$s,t.groupBy=Np,t.initial=ho,t.intersection=wp,t.intersectionBy=_p,t.intersectionWith=kp,t.invert=al,t.invertBy=sl,t.invokeMap=Dp,t.iteratee=Dc,t.keyBy=qp,t.keys=Ws,t.keysIn=Ys,t.map=la,t.mapKeys=Ks,t.mapValues=Gs,t.matches=qc,t.matchesProperty=Rc,t.memoize=Aa,t.merge=ul,t.mergeWith=pl,t.method=Sl,t.methodOf=El,t.mixin=Lc,t.negate=Ca,t.nthArg=Hc,t.omit=ll,t.omitBy=Js,t.once=Ta,t.orderBy=fa,t.over=Ol,t.overArgs=Yp,t.overEvery=Al,t.overSome=Cl,t.partial=Kp,t.partialRight=Gp,t.partition=Rp,t.pick=fl,t.pickBy=Zs,t.property=Vc,t.propertyOf=Wc,t.pull=jp,t.pullAll=bo,t.pullAllBy=xo,t.pullAllWith=wo,t.pullAt=Sp,t.range=Tl,t.rangeRight=Il,t.rearg=Jp,t.reject=ma,t.remove=_o,t.rest=Ia,t.reverse=ko,t.sampleSize=ga,t.set=Xs,t.setWith=ec,t.shuffle=ya,t.slice=jo,t.sortBy=Lp,t.sortedUniq=Io,t.sortedUniqBy=Po,t.split=kc,t.spread=Pa,t.tail=Fo,t.take=Mo,t.takeRight=zo,t.takeRightWhile=Bo,t.takeWhile=No,t.tap=Wo,t.throttle=Fa,t.thru=Yo,t.toArray=Os,t.toPairs=tc,t.toPairsIn=nc,t.toPath=Kc,t.toPlainObject=Is,t.transform=rc,t.unary=Ma,t.union=Ep,t.unionBy=Op,t.unionWith=Ap,t.uniq=Do,t.uniqBy=qo,t.uniqWith=Ro,t.unset=ic,t.unzip=Lo,t.unzipWith=$o,t.update=oc,t.updateWith=ac,t.values=sc,t.valuesIn=cc,t.without=Cp,t.words=Fc,t.wrap=za,t.xor=Tp,t.xorBy=Ip,t.xorWith=Pp,t.zip=Fp,t.zipObject=Uo,t.zipObjectDeep=Ho,t.zipWith=Mp,t.entries=tc,t.entriesIn=nc,t.extend=el,t.extendWith=tl,Lc(t,t),t.add=Pl,t.attempt=wl,t.camelCase=dl,t.capitalize=fc,t.ceil=Fl,t.clamp=uc,t.clone=Na,t.cloneDeep=qa,t.cloneDeepWith=Ra,t.cloneWith=Da,t.deburr=dc,t.divide=Ml,t.endsWith=hc,t.eq=La,t.escape=mc,t.escapeRegExp=vc,t.every=ta,t.find=ra,t.findIndex=oo,t.findKey=zs,t.findLast=ia,t.findLastIndex=ao,t.findLastKey=Bs,t.floor=zl,t.forEach=ca,t.forEachRight=ua,t.forIn=Ns,t.forInRight=Ds,t.forOwn=qs,t.forOwnRight=Rs,t.get=Us,t.gt=$a,t.gte=Ua,t.has=Hs,t.hasIn=Vs,t.head=lo,t.identity=Nc,t.includes=pa,t.indexOf=fo,t.inRange=pc,t.invoke=cl,t.isArguments=Ha,t.isArray=Zp,t.isArrayBuffer=Va,t.isArrayLike=Wa,t.isArrayLikeObject=Ya,t.isBoolean=Ka,t.isBuffer=Qp,t.isDate=Ga,t.isElement=Ja,t.isEmpty=Za,t.isEqual=Qa,t.isEqualWith=Xa,t.isError=es,t.isFinite=ts,t.isFunction=ns,t.isInteger=rs,t.isLength=is,t.isMap=ss,t.isMatch=cs,t.isMatchWith=us,t.isNaN=ps,t.isNative=ls,t.isNil=ds,t.isNull=fs,t.isNumber=hs,t.isObject=os,t.isObjectLike=as,t.isPlainObject=ms,t.isRegExp=vs,t.isSafeInteger=gs,t.isSet=ys,t.isString=bs,t.isSymbol=xs,t.isTypedArray=ws,t.isUndefined=_s,t.isWeakMap=ks,t.isWeakSet=js,t.join=mo,t.kebabCase=hl,t.last=vo,t.lastIndexOf=go,t.lowerCase=ml,t.lowerFirst=vl,t.lt=Ss,t.lte=Es,t.max=Jc,t.maxBy=Zc,t.mean=Qc,t.meanBy=Xc,t.min=eu,t.minBy=tu,t.multiply=Bl,t.nth=yo,t.noConflict=$c,t.noop=Uc,t.now=$p,t.pad=gc,t.padEnd=yc,t.padStart=bc,t.parseInt=xc,t.random=lc,t.reduce=da,t.reduceRight=ha,t.repeat=wc,t.replace=_c,t.result=Qs,t.round=Nl,t.runInContext=Q,t.sample=va,t.size=ba,t.snakeCase=gl,t.some=xa,t.sortedIndex=So,t.sortedIndexBy=Eo,t.sortedIndexOf=Oo,t.sortedLastIndex=Ao,t.sortedLastIndexBy=Co,t.sortedLastIndexOf=To,t.startCase=yl,t.startsWith=jc,t.subtract=Dl,t.sum=nu,t.sumBy=ru,t.template=Sc,t.times=Yc,t.toInteger=As,t.toLength=Cs,t.toLower=Ec,t.toNumber=Ts,t.toSafeInteger=Ps,t.toString=Fs,t.toUpper=Oc,t.trim=Ac,t.trimEnd=Cc,t.trimStart=Tc,t.truncate=Ic,t.unescape=Pc,t.uniqueId=Gc,t.upperCase=bl,t.upperFirst=xl,t.each=ca,t.eachRight=ua,t.first=lo,Lc(t,function(){var e={};return Dn(t,function(n,r){du.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ee,c([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),c([\"drop\",\"take\"],function(e,t){Pt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Pt(this);n=n===X?1:Nu(As(n),0);var i=this.clone();return r?i.__takeCount__=Du(n,i.__takeCount__):i.__views__.push({size:Du(n,Ae),type:e+(i.__dir__<0?\"Right\":\"\")}),i},Pt.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),c([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==we||n==ke;Pt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:_i(e,3),type:n\n}),t.__filtered__=t.__filtered__||r,t}}),c([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Pt.prototype[e]=function(){return this[n](1).value()[0]}}),c([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Pt.prototype[e]=function(){return this.__filtered__?new Pt(this):this[n](1)}}),Pt.prototype.compact=function(){return this.filter(Nc)},Pt.prototype.find=function(e){return this.filter(e).head()},Pt.prototype.findLast=function(e){return this.reverse().find(e)},Pt.prototype.invokeMap=Ia(function(e,t){return\"function\"==typeof e?new Pt(this):this.map(function(n){return Zn(n,e,t)})}),Pt.prototype.reject=function(e){return e=_i(e,3),this.filter(function(t){return!e(t)})},Pt.prototype.slice=function(e,t){e=As(e);var n=this;return n.__filtered__&&(e>0||0>t)?new Pt(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==X&&(t=As(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Pt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pt.prototype.toArray=function(){return this.take(Ae)},Dn(Pt.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n],a=i||/^find/.test(n);o&&(t.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,c=n instanceof Pt,u=s[0],p=c||Zp(n),l=function(e){var n=o.apply(t,m([e],s));return i&&f?n[0]:n};p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var f=this.__chain__,d=!!this.__actions__.length,h=a&&!f,v=c&&!d;if(!a&&p){n=v?n:new Pt(this);var g=e.apply(n,s);return g.__actions__.push({func:Yo,args:[l],thisArg:X}),new M(g,f)}return h&&v?e.apply(this,s):(g=this.thru(l),h?i?g.value()[0]:g.value():g)})}),c([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var n=uu[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(Zp(t)?t:[],e)}return this[r](function(t){return n.apply(Zp(t)?t:[],e)})}}),Dn(Pt.prototype,function(e,n){var r=t[n];if(r){var i=r.name+\"\",o=Qu[i]||(Qu[i]=[]);o.push({name:n,func:r})}}),Qu[si(X,ae).name]=[{name:\"wrapper\",func:X}],Pt.prototype.clone=Bt,Pt.prototype.reverse=Nt,Pt.prototype.value=Dt,t.prototype.at=zp,t.prototype.chain=Ko,t.prototype.commit=Go,t.prototype.next=Jo,t.prototype.plant=Qo,t.prototype.reverse=Xo,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=ea,Eu&&(t.prototype[Eu]=Zo),t}var X,ee=\"4.11.1\",te=200,ne=\"Expected a function\",re=\"__lodash_hash_undefined__\",ie=\"__lodash_placeholder__\",oe=1,ae=2,se=4,ce=8,ue=16,pe=32,le=64,fe=128,de=256,he=512,me=1,ve=2,ge=30,ye=\"...\",be=150,xe=16,we=1,_e=2,ke=3,je=1/0,Se=9007199254740991,Ee=1.7976931348623157e308,Oe=NaN,Ae=4294967295,Ce=Ae-1,Te=Ae>>>1,Ie=\"[object Arguments]\",Pe=\"[object Array]\",Fe=\"[object Boolean]\",Me=\"[object Date]\",ze=\"[object Error]\",Be=\"[object Function]\",Ne=\"[object GeneratorFunction]\",De=\"[object Map]\",qe=\"[object Number]\",Re=\"[object Object]\",Le=\"[object Promise]\",$e=\"[object RegExp]\",Ue=\"[object Set]\",He=\"[object String]\",Ve=\"[object Symbol]\",We=\"[object WeakMap]\",Ye=\"[object WeakSet]\",Ke=\"[object ArrayBuffer]\",Ge=\"[object DataView]\",Je=\"[object Float32Array]\",Ze=\"[object Float64Array]\",Qe=\"[object Int8Array]\",Xe=\"[object Int16Array]\",et=\"[object Int32Array]\",tt=\"[object Uint8Array]\",nt=\"[object Uint8ClampedArray]\",rt=\"[object Uint16Array]\",it=\"[object Uint32Array]\",ot=/\\b__p \\+= '';/g,at=/\\b(__p \\+=) '' \\+/g,st=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ct=/&(?:amp|lt|gt|quot|#39|#96);/g,ut=/[&<>\"'`]/g,pt=RegExp(ct.source),lt=RegExp(ut.source),ft=/<%-([\\s\\S]+?)%>/g,dt=/<%([\\s\\S]+?)%>/g,ht=/<%=([\\s\\S]+?)%>/g,mt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,vt=/^\\w*$/,gt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g,yt=/[\\\\^$.*+?()[\\]{}|]/g,bt=RegExp(yt.source),xt=/^\\s+|\\s+$/g,wt=/^\\s+/,_t=/\\s+$/,kt=/[a-zA-Z0-9]+/g,jt=/\\\\(\\\\)?/g,St=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Et=/\\w*$/,Ot=/^0x/i,At=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,Tt=/^\\[object .+?Constructor\\]$/,It=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\\d*)$/,Ft=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Mt=/($^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Bt=\"\\\\ud800-\\\\udfff\",Nt=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",Dt=\"\\\\u20d0-\\\\u20f0\",qt=\"\\\\u2700-\\\\u27bf\",Rt=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Lt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",$t=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",Ut=\"\\\\u2018\\\\u2019\\\\u201c\\\\u201d\",Ht=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Vt=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Wt=\"\\\\ufe0e\\\\ufe0f\",Yt=Lt+$t+Ut+Ht,Kt=\"['’]\",Gt=\"[\"+Bt+\"]\",Jt=\"[\"+Yt+\"]\",Zt=\"[\"+Nt+Dt+\"]\",Qt=\"\\\\d+\",Xt=\"[\"+qt+\"]\",en=\"[\"+Rt+\"]\",tn=\"[^\"+Bt+Yt+Qt+qt+Rt+Vt+\"]\",nn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",rn=\"(?:\"+Zt+\"|\"+nn+\")\",on=\"[^\"+Bt+\"]\",an=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",sn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",cn=\"[\"+Vt+\"]\",un=\"\\\\u200d\",pn=\"(?:\"+en+\"|\"+tn+\")\",ln=\"(?:\"+cn+\"|\"+tn+\")\",fn=\"(?:\"+Kt+\"(?:d|ll|m|re|s|t|ve))?\",dn=\"(?:\"+Kt+\"(?:D|LL|M|RE|S|T|VE))?\",hn=rn+\"?\",mn=\"[\"+Wt+\"]?\",vn=\"(?:\"+un+\"(?:\"+[on,an,sn].join(\"|\")+\")\"+mn+hn+\")*\",gn=mn+hn+vn,yn=\"(?:\"+[Xt,an,sn].join(\"|\")+\")\"+gn,bn=\"(?:\"+[on+Zt+\"?\",Zt,an,sn,Gt].join(\"|\")+\")\",xn=RegExp(Kt,\"g\"),wn=RegExp(Zt,\"g\"),_n=RegExp(nn+\"(?=\"+nn+\")|\"+bn+gn,\"g\"),kn=RegExp([cn+\"?\"+en+\"+\"+fn+\"(?=\"+[Jt,cn,\"$\"].join(\"|\")+\")\",ln+\"+\"+dn+\"(?=\"+[Jt,cn+pn,\"$\"].join(\"|\")+\")\",cn+\"?\"+pn+\"+\"+fn,cn+\"+\"+dn,Qt,yn].join(\"|\"),\"g\"),jn=RegExp(\"[\"+un+Bt+Nt+Dt+Wt+\"]\"),Sn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"Reflect\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],On=-1,An={};An[Je]=An[Ze]=An[Qe]=An[Xe]=An[et]=An[tt]=An[nt]=An[rt]=An[it]=!0,An[Ie]=An[Pe]=An[Ke]=An[Fe]=An[Ge]=An[Me]=An[ze]=An[Be]=An[De]=An[qe]=An[Re]=An[$e]=An[Ue]=An[He]=An[We]=!1;var Cn={};Cn[Ie]=Cn[Pe]=Cn[Ke]=Cn[Ge]=Cn[Fe]=Cn[Me]=Cn[Je]=Cn[Ze]=Cn[Qe]=Cn[Xe]=Cn[et]=Cn[De]=Cn[qe]=Cn[Re]=Cn[$e]=Cn[Ue]=Cn[He]=Cn[Ve]=Cn[tt]=Cn[nt]=Cn[rt]=Cn[it]=!0,Cn[ze]=Cn[Be]=Cn[We]=!1;var Tn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},In={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},Pn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Fn={\"function\":!0,object:!0},Mn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},zn=parseFloat,Bn=parseInt,Nn=Fn[typeof n]&&n&&!n.nodeType?n:X,Dn=Fn[typeof t]&&t&&!t.nodeType?t:X,qn=Dn&&Dn.exports===Nn?Nn:X,Rn=M(Nn&&Dn&&\"object\"==typeof e&&e),Ln=M(Fn[typeof self]&&self),$n=M(Fn[typeof window]&&window),Un=M(Fn[typeof this]&&this),Hn=Rn||$n!==(Un&&Un.window)&&$n||Ln||Un||Function(\"return this\")(),Vn=Q();($n||Ln||{})._=Vn,\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?define(function(){return Vn}):Nn&&Dn?(qn&&((Dn.exports=Vn)._=Vn),Nn._=Vn):Hn._=Vn}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],178:[function(e,t,n){function r(e,t,n){var r;return v[t]?r=v[t]:(r=f(t),v[t]=r),2===arguments.length?e[r]:(e[r]=n,n)}function i(){return 1}function o(e){if(!(this instanceof o))return new o(e);\"number\"==typeof e&&(e={max:e}),e||(e={});var t=r(this,\"max\",e.max);(!t||\"number\"!=typeof t||0>=t)&&r(this,\"max\",1/0);var n=e.length||i;\"function\"!=typeof n&&(n=i),r(this,\"lengthCalculator\",n),r(this,\"allowStale\",e.stale||!1),r(this,\"maxAge\",e.maxAge||0),r(this,\"dispose\",e.dispose),this.reset()}function a(e,t,n,i){var o=n.value;c(e,o)&&(p(e,n),r(e,\"allowStale\")||(o=void 0)),o&&t.call(i,o.value,o.key,e)}function s(e,t,n){var i=r(e,\"cache\").get(t);if(i){var o=i.value;c(e,o)?(p(e,i),r(e,\"allowStale\")||(o=void 0)):n&&r(e,\"lruList\").unshiftNode(i),o&&(o=o.value)}return o}function c(e,t){if(!t||!t.maxAge&&!r(e,\"maxAge\"))return!1;var n=!1,i=Date.now()-t.now;return n=t.maxAge?i>t.maxAge:r(e,\"maxAge\")&&i>r(e,\"maxAge\")}function u(e){if(r(e,\"length\")>r(e,\"max\"))for(var t=r(e,\"lruList\").tail;r(e,\"length\")>r(e,\"max\")&&null!==t;){var n=t.prev;p(e,t),t=n}}function p(e,t){if(t){var n=t.value;r(e,\"dispose\")&&r(e,\"dispose\").call(this,n.key,n.value),r(e,\"length\",r(e,\"length\")-n.length),r(e,\"cache\")[\"delete\"](n.key),r(e,\"lruList\").removeNode(t)}}function l(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}t.exports=o;var f,d=e(\"pseudomap\"),h=e(\"util\"),m=e(\"yallist\"),v={},g=\"function\"==typeof Symbol;f=g?function(e){return Symbol[\"for\"](e)}:function(e){return\"_\"+e},Object.defineProperty(o.prototype,\"max\",{set:function(e){(!e||\"number\"!=typeof e||0>=e)&&(e=1/0),r(this,\"max\",e),u(this)},get:function(){return r(this,\"max\")},enumerable:!0}),Object.defineProperty(o.prototype,\"allowStale\",{set:function(e){r(this,\"allowStale\",!!e)},get:function(){return r(this,\"allowStale\")},enumerable:!0}),Object.defineProperty(o.prototype,\"maxAge\",{set:function(e){(!e||\"number\"!=typeof e||0>e)&&(e=0),r(this,\"maxAge\",e),u(this)},get:function(){return r(this,\"maxAge\")},enumerable:!0}),Object.defineProperty(o.prototype,\"lengthCalculator\",{set:function(e){\"function\"!=typeof e&&(e=i),e!==r(this,\"lengthCalculator\")&&(r(this,\"lengthCalculator\",e),r(this,\"length\",0),r(this,\"lruList\").forEach(function(e){e.length=r(this,\"lengthCalculator\").call(this,e.value,e.key),r(this,\"length\",r(this,\"length\")+e.length)},this)),u(this)},get:function(){return r(this,\"lengthCalculator\")},enumerable:!0}),Object.defineProperty(o.prototype,\"length\",{get:function(){return r(this,\"length\")},enumerable:!0}),Object.defineProperty(o.prototype,\"itemCount\",{get:function(){return r(this,\"lruList\").length},enumerable:!0}),o.prototype.rforEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").tail;null!==n;){var i=n.prev;a(this,e,n,t),n=i}},o.prototype.forEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").head;null!==n;){var i=n.next;a(this,e,n,t),n=i}},o.prototype.keys=function(){return r(this,\"lruList\").toArray().map(function(e){return e.key},this)},o.prototype.values=function(){return r(this,\"lruList\").toArray().map(function(e){return e.value},this)},o.prototype.reset=function(){r(this,\"dispose\")&&r(this,\"lruList\")&&r(this,\"lruList\").length&&r(this,\"lruList\").forEach(function(e){r(this,\"dispose\").call(this,e.key,e.value)},this),r(this,\"cache\",new d),r(this,\"lruList\",new m),r(this,\"length\",0)},o.prototype.dump=function(){return r(this,\"lruList\").map(function(e){return c(this,e)?void 0:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}},this).toArray().filter(function(e){return e})},o.prototype.dumpLru=function(){return r(this,\"lruList\")},o.prototype.inspect=function(e,t){var n=\"LRUCache {\",o=!1,a=r(this,\"allowStale\");a&&(n+=\"\\n  allowStale: true\",o=!0);var s=r(this,\"max\");s&&s!==1/0&&(o&&(n+=\",\"),n+=\"\\n  max: \"+h.inspect(s,t),o=!0);var u=r(this,\"maxAge\");u&&(o&&(n+=\",\"),n+=\"\\n  maxAge: \"+h.inspect(u,t),o=!0);var p=r(this,\"lengthCalculator\");p&&p!==i&&(o&&(n+=\",\"),n+=\"\\n  length: \"+h.inspect(r(this,\"length\"),t),o=!0);var l=!1;return r(this,\"lruList\").forEach(function(e){l?n+=\",\\n  \":(o&&(n+=\",\\n\"),l=!0,n+=\"\\n  \");var r=h.inspect(e.key).split(\"\\n\").join(\"\\n  \"),a={value:e.value};e.maxAge!==u&&(a.maxAge=e.maxAge),p!==i&&(a.length=e.length),c(this,e)&&(a.stale=!0),a=h.inspect(a,t).split(\"\\n\").join(\"\\n  \"),n+=r+\" => \"+a}),(l||o)&&(n+=\"\\n\"),n+=\"}\"},o.prototype.set=function(e,t,n){n=n||r(this,\"maxAge\");var i=n?Date.now():0,o=r(this,\"lengthCalculator\").call(this,t,e);if(r(this,\"cache\").has(e)){if(o>r(this,\"max\"))return p(this,r(this,\"cache\").get(e)),!1;var a=r(this,\"cache\").get(e),s=a.value;return r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,s.value),s.now=i,s.maxAge=n,s.value=t,r(this,\"length\",r(this,\"length\")+(o-s.length)),s.length=o,this.get(e),u(this),!0}var c=new l(e,t,o,i,n);return c.length>r(this,\"max\")?(r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,t),!1):(r(this,\"length\",r(this,\"length\")+c.length),r(this,\"lruList\").unshift(c),r(this,\"cache\").set(e,r(this,\"lruList\").head),u(this),!0)},o.prototype.has=function(e){if(!r(this,\"cache\").has(e))return!1;var t=r(this,\"cache\").get(e).value;return!c(this,t)},o.prototype.get=function(e){return s(this,e,!0)},o.prototype.peek=function(e){return s(this,e,!1)},o.prototype.pop=function(){var e=r(this,\"lruList\").tail;return e?(p(this,e),e.value):null},o.prototype.del=function(e){p(this,r(this,\"cache\").get(e))},o.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},o.prototype.prune=function(){var e=this;r(this,\"cache\").forEach(function(t,n){s(e,n,!1)})}},{pseudomap:381,util:void 0,yallist:535}],179:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.subtype,r=e.suffix,i=e.type;if(!i||!h.test(i))throw new TypeError(\"invalid type\");if(!n||!d.test(n))throw new TypeError(\"invalid subtype\");var o=i+\"/\"+n;if(r){if(!h.test(r))throw new TypeError(\"invalid suffix\");o+=\"+\"+r}if(t&&\"object\"==typeof t)for(var s,c=Object.keys(t).sort(),u=0;u<c.length;u++){if(s=c[u],!p.test(s))throw new TypeError(\"invalid parameter name\");o+=\"; \"+s+\"=\"+a(t[s])}return o}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e)),\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t,n,r,i=e.indexOf(\";\"),a=-1!==i?e.substr(0,i):e,u=s(a),p={};for(c.lastIndex=i;n=c.exec(e);){if(n.index!==i)throw new TypeError(\"invalid parameter format\");i+=n[0].length,t=n[1].toLowerCase(),r=n[2],'\"'===r[0]&&(r=r.substr(1,r.length-2).replace(l,\"$1\")),p[t]=r}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return u.parameters=p,u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){var t=m.exec(e.toLowerCase());if(!t)throw new TypeError(\"invalid media type\");var n,r=t[1],i=t[2],o=i.lastIndexOf(\"+\");-1!==o&&(n=i.substr(o+1),i=i.substr(0,o));var a={type:r,subtype:i,suffix:n};return a}var c=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,u=/^[\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,l=/\\\\([\\u0000-\\u007f])/g,f=/([\\\\\"])/g,d=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,h=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,m=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;n.format=r,n.parse=i},{}],180:[function(e,t,n){\"use strict\";function r(e,t,n){if(!e)throw new TypeError(\"argument dest is required\");if(!t)throw new TypeError(\"argument src is required\");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach(function(r){if(n||!i.call(e,r)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}}),e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],181:[function(e,t,n){\"use strict\";function r(){return o.METHODS&&o.METHODS.map(function(e){return e.toLowerCase()})}function i(){return[\"get\",\"post\",\"put\",\"head\",\"delete\",\"options\",\"trace\",\"copy\",\"lock\",\"mkcol\",\"move\",\"purge\",\"propfind\",\"proppatch\",\"unlock\",\"report\",\"mkactivity\",\"checkout\",\"merge\",\"m-search\",\"notify\",\"subscribe\",\"unsubscribe\",\"patch\",\"search\",\"connect\"]}var o=e(\"http\");t.exports=r()||i()},{http:void 0}],182:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cdni\":{source:\"iana\"},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/csvm+json\":{source:\"iana\",compressible:!0},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mpd\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emergencycalldata.comment+xml\":{source:\"iana\"},\"application/emergencycalldata.deviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.serviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.subscriberinfo+xml\":{source:\"iana\"},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs12\":{source:\"iana\"},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{source:\"iana\",compressible:!0},\"application/problem+json\":{source:\"iana\",compressible:!0},\"application/problem+xml\":{source:\"iana\"},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/rfc+xml\":{source:\"iana\"},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scim+json\":{source:\"iana\",compressible:!0},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{\nsource:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{source:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp-prose+xml\":{source:\"iana\"},\"application/vnd.3gpp-prose-pc3ch+xml\":{source:\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{source:\"iana\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.mid-call+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-ext+xml\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.state-and-event-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.ussd+xml\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anki\":{source:\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.apple.pkpass\":{compressible:!1,extensions:[\"pkpass\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.biopax.rdf+xml\":{source:\"iana\"},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.drive+json\":{source:\"iana\",compressible:!0},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.filmit.zfc\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-apps.document\":{compressible:!1,extensions:[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{compressible:!1,extensions:[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{compressible:!1,extensions:[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.hdt\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{source:\"iana\"},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{source:\"iana\"},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-printschematicket+xml\":{source:\"iana\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.devicepairing\":{source:\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\nsource:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{source:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openblox.game+xml\":{source:\"iana\"},\"application/vnd.openblox.game-binary\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.oxli.countgraph\":{source:\"iana\"},\"application/vnd.pagerduty+json\":{source:\"iana\",compressible:!0},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.uri-map\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-cocoa\":{source:\"nginx\",extensions:[\"cco\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-httpd-php\":{compressible:!0,extensions:[\"php\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-archive-diff\":{source:\"nginx\",extensions:[\"jardiff\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-makeself\":{source:\"nginx\",extensions:[\"run\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdos-program\":{extensions:[\"exe\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-perl\":{source:\"nginx\",extensions:[\"pl\",\"pm\"]},\"application/x-pilot\":{source:\"nginx\",extensions:[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",\nextensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-redhat-package-manager\":{source:\"nginx\",extensions:[\"rpm\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sea\":{source:\"nginx\",extensions:[\"sea\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\",\"tk\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\",\"pem\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/evs\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g711-0\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-m4a\":{source:\"nginx\",extensions:[\"m4a\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-realaudio\":{source:\"nginx\",extensions:[\"ra\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.mozilla.apng\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-jng\":{source:\"nginx\",extensions:[\"jng\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{source:\"nginx\",compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.rosette.annotated-data-model\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mathml\":{source:\"nginx\",extensions:[\"mml\"]},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/slim\":{extensions:[\"slim\",\"slm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{source:\"nginx\",extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-processing\":{compressible:!0,extensions:[\"pde\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-suse-ymp\":{compressible:!0,extensions:[\"ymp\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\"]},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],183:[function(e,t,n){t.exports=e(\"./db.json\")},{\"./db.json\":182}],184:[function(e,t,n){\"use strict\";function r(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),n=t&&c[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&l.test(t[1])?\"UTF-8\":!1}function i(e){if(!e||\"string\"!=typeof e)return!1;var t=-1===e.indexOf(\"/\")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf(\"charset\")){var r=n.charset(t);r&&(t+=\"; charset=\"+r.toLowerCase())}return t}function o(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),r=t&&n.extensions[t[1].toLowerCase()];return r&&r.length?r[0]:!1}function a(e){if(!e||\"string\"!=typeof e)return!1;var t=u(\"x.\"+e).toLowerCase().substr(1);return t?n.types[t]||!1:!1}function s(e,t){var n=[\"nginx\",\"apache\",void 0,\"iana\"];Object.keys(c).forEach(function(r){var i=c[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;a<o.length;a++){var s=o[a];if(t[s]){var u=n.indexOf(c[t[s]].source),p=n.indexOf(i.source);if(\"application/octet-stream\"!==t[s]&&u>p||u===p&&\"application/\"===t[s].substr(0,12))continue}t[s]=r}}})}var c=e(\"mime-db\"),u=e(\"path\").extname,p=/^\\s*([^;\\s]*)(?:;|\\s|$)/,l=/^text\\//i;n.charset=r,n.charsets={lookup:r},n.contentType=i,n.extension=o,n.extensions=Object.create(null),n.lookup=a,n.types=Object.create(null),s(n.extensions,n.types)},{\"mime-db\":183,path:void 0}],185:[function(e,t,n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=(e(\"path\"),e(\"fs\"));r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=i.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var o=new r;o.define(e(\"./types.json\")),o.default_type=o.lookup(\"bin\"),o.Mime=r,o.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=o},{\"./types.json\":186,fs:void 0,path:void 0}],186:[function(e,t,n){t.exports={\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mdp\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[\"woff\"],\"application/font-woff2\":[\"woff2\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\n\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp4\":[\"mp4a\",\"m4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/opentype\":[\"otf\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],187:[function(e,t,n){!function(e,r){\"object\"==typeof n&&\"undefined\"!=typeof t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){\"use strict\";function n(){return cr.apply(null,arguments)}function r(e){cr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,\"toString\")&&(e.toString=t.toString),s(t,\"valueOf\")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Ne(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=l(e),n=ur.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function d(e){var t=u(NaN);return null!=e?c(l(t),e):l(t).userInvalidated=!0,t}function h(e){return void 0===e}function m(e,t){var n,r,i;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=l(t)),h(t._locale)||(e._locale=t._locale),pr.length>0)for(n in pr)r=pr[n],i=t[r],h(i)||(e[r]=i);return e}function v(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),lr===!1&&(lr=!0,n.updateOffset(this),lr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function y(e){return 0>e?Math.ceil(e):Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function _(e,t){var r=!0;return c(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+\"\\nArguments: \"+Array.prototype.slice.call(arguments).join(\", \")+\"\\n\"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),fr[e]||(w(t),fr[e]=!0)}function j(e){return e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}function S(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],j(t)?this[n]=t:this[\"_\"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+\"|\"+/\\d{1,2}/.source)}function O(e,t){var n,r=c({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function A(e){null!=e&&this.set(e)}function C(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=C(e[o]).split(\"-\"),t=i.length,n=C(e[o+1]),n=n?n.split(\"-\"):null;t>0;){if(r=I(i.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function I(n){var r=null;if(!vr[n]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=hr._abbr,e(\"./locale/\"+n),P(r)}catch(i){}return vr[n]}function P(e,t){var n;return e&&(n=h(t)?z(e):F(e,t),n&&(hr=n)),hr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=vr[e]?(k(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale\"),t=O(vr[e]._config,t)):null!=t.parentLocale&&(null!=vr[t.parentLocale]?t=O(vr[t.parentLocale]._config,t):k(\"parentLocaleUndefined\",\"specified parentLocale is not defined yet\")),vr[e]=new A(t),P(e),vr[e]):(delete vr[e],null)}function M(e,t){if(null!=t){var n;null!=vr[e]&&(t=O(vr[e]._config,t)),n=new A(t),n.parentLocale=vr[e],vr[e]=n,P(e)}else null!=vr[e]&&(null!=vr[e].parentLocale?vr[e]=vr[e].parentLocale:null!=vr[e]&&delete vr[e]);return vr[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return hr;if(!i(e)){if(t=I(e))return t;e=[e]}return T(e)}function B(){return dr(vr)}function N(e,t){var n=e.toLowerCase();gr[n]=gr[n+\"s\"]=gr[t]=e}function D(e){return\"string\"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)s(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function R(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):L(this,e)}}function L(e,t){return e.isValid()?e._d[\"get\"+(e._isUTC?\"UTC\":\"\")+t]():NaN;\n}function $(e,t,n){e.isValid()&&e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+t](n)}function U(e,t){var n;if(\"object\"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),j(this[e]))return this[e](t);return this}function H(e,t,n){var r=\"\"+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;\"string\"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return H(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function Y(e){var t,n,r=e.match(yr);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o=\"\";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=G(t,e.localeData()),xr[t]=xr[t]||Y(t),xr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(br.lastIndex=0;r>=0&&br.test(e);)e=e.replace(br,n),br.lastIndex=0,r-=1;return e}function J(e,t,n){qr[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return X(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ee(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),\"number\"==typeof t&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Rr[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Rr,e)&&Rr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,\"\").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,\"\").toLocaleLowerCase();return n?\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(\"^\"+this.months(i,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[r]=new RegExp(\"^\"+this.monthsShort(i,\"\").replace(\".\",\"\")+\"$\",\"i\")),n||this._monthsParse[r]||(o=\"^\"+this.months(i,\"\")+\"|^\"+this.monthsShort(i,\"\"),this._monthsParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"MMMM\"===t&&this._longMonthsParse[r].test(e))return r;if(n&&\"MMM\"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if(\"string\"==typeof t)if(/^\\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),\"number\"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+\"Month\"](t,n),e}function ue(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):L(this,\"Month\")}function pe(){return re(this.year(),this.month())}function le(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=u([2e3,t]),r.push(this.monthsShort(n,\"\")),i.push(this.months(n,\"\")),o.push(this.months(n,\"\")),o.push(this.monthsShort(n,\"\"));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=X(r[t]),i[t]=X(i[t]),o[t]=X(o[t]);this._monthsRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function he(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Ur]<1||n[Ur]>re(n[Lr],n[$r])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Vr]||0!==n[Wr]||0!==n[Yr])?Hr:n[Vr]<0||n[Vr]>59?Vr:n[Wr]<0||n[Wr]>59?Wr:n[Yr]<0||n[Yr]>999?Yr:-1,l(e)._overflowDayOfYear&&(Lr>t||t>Ur)&&(t=Ur),l(e)._overflowWeeks&&-1===t&&(t=Kr),l(e)._overflowWeekday&&-1===t&&(t=Gr),l(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,c=ti.exec(s)||ni.exec(s);if(c){for(l(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(c[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(c[3])){o=(c[2]||\" \")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ri.exec(c[4]))return void(e._isValid=!1);a=\"Z\"}e._f=i+(o||\"\")+(a||\"\"),Te(e)}else e._isValid=!1}function ve(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e){return xe(e)?366:365}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(){return xe(this.year())}function _e(e,t,n){var r=7+t-n,i=(7+ye(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=_e(e,r,i),u=1+7*(t-1)+s+c;return 0>=u?(o=e-1,a=be(o)+u):u>be(e)?(o=e+1,a=u-be(e)):(o=e,a=u),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(be(e)-r+i)/7}function Ee(e,t,n){return null!=e?e:null!=t?t:n}function Oe(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ae(e){var t,n,r,i,o=[];if(!e._d){for(r=Oe(e),e._w&&null==e._a[Ur]&&null==e._a[$r]&&Ce(e),e._dayOfYear&&(i=Ee(e._a[Lr],r[Lr]),e._dayOfYear>be(i)&&(l(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Vr]&&0===e._a[Wr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ye:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function Ce(e){var t,n,r,i,o,a,s,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ee(t.GG,e._a[Lr],je(De(),1,4).year),r=Ee(t.W,1),i=Ee(t.E,1),(1>i||i>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Ee(t.gg,e._a[Lr],je(De(),o,a).year),r=Ee(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(c=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o),1>r||r>Se(n,o,a)?l(e)._overflowWeeks=!0:null!=c?l(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Lr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],l(e).empty=!0;var t,r,i,o,a,s=\"\"+e._i,c=s.length,u=0;for(i=G(e._f,e._locale).match(yr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Z(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&l(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),wr[o]?(r?l(e).empty=!1:l(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&l(e).unusedTokens.push(o);l(e).charsLeftOver=c-u,s.length>0&&l(e).unusedInput.push(s),l(e).bigHour===!0&&e._a[Hr]<=12&&e._a[Hr]>0&&(l(e).bigHour=void 0),l(e).parsedDateParts=e._a.slice(0),l(e).meridiem=e._meridiem,e._a[Hr]=Ie(e._locale,e._a[Hr],e._meridiem),Ae(e),he(e)}function Ie(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Pe(e){var t,n,r,i,o;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),f(t)&&(o+=l(t).charsLeftOver,o+=10*l(t).unusedTokens.length,l(t).score=o,(null==r||r>o)&&(r=o,n=t));c(e,n||t)}function Fe(e){if(!e._d){var t=q(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ae(e)}}function Me(e){var t=new v(he(ze(e)));return t._nextDay&&(t.add(1,\"d\"),t._nextDay=void 0),t}function ze(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),null===t||void 0===n&&\"\"===t?d({nullInput:!0}):(\"string\"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(he(t)):(i(n)?Pe(e):n?Te(e):o(t)?e._d=t:Be(e),f(e)||(e._d=null),e))}function Be(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):\"string\"==typeof t?ve(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ae(e)):\"object\"==typeof t?Fe(e):\"number\"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Ne(e,t,n,r,i){var o={};return\"boolean\"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Me(o)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function qe(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Re(){var e=[].slice.call(arguments,0);return qe(\"isBefore\",e)}function Le(){var e=[].slice.call(arguments,0);return qe(\"isAfter\",e)}function $e(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,p=t.millisecond||0;this._milliseconds=+p+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof $e}function He(e,t){V(e,0,0,function(){var e=this.utcOffset(),n=\"+\";return 0>e&&(e=-e,n=\"-\"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ve(e,t){var n=(t||\"\").match(e)||[],r=n[n.length-1]||[],i=(r+\"\").match(li)||[\"-\",0,0],o=+(60*i[1])+b(i[2]);return\"+\"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(g(e)||o(e)?e.valueOf():De(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):De(e).local()}function Ye(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ke(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?(\"string\"==typeof e?e=Ve(Br,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Ye(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,\"m\"),i!==e&&(!t||this._changeInProgress?lt(this,ot(e-i,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ye(this):null!=e?this:NaN}function Ge(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ze(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ye(this),\"m\")),this}function Qe(){return this._tzm?this.utcOffset(this._tzm):\"string\"==typeof this._i&&this.utcOffset(Ve(zr,this._i)),this}function Xe(e){return this.isValid()?(e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=ze(e),e._a){var t=e._isUTC?u(e._a):De(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:\"number\"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:0,d:b(a[Ur])*n,h:b(a[Hr])*n,m:b(a[Vr])*n,s:b(a[Wr])*n,ms:b(a[Yr])*n}):(a=di.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:\"object\"==typeof o&&(\"from\"in o||\"to\"in o)&&(i=ct(De(o.from),De(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new $e(o),Ue(e)&&s(e,\"_locale\")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function ct(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function pt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period).\"),o=n,n=r,r=o),n=\"string\"==typeof n?+n:n,i=ot(n,r),lt(this,i,e),this}}function lt(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,\"Date\",L(e,\"Date\")+a*r),s&&ce(e,L(e,\"Month\")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||De(),r=We(n,this).startOf(\"day\"),i=this.diff(r,\"days\",!0),o=-6>i?\"sameElse\":-1>i?\"lastWeek\":0>i?\"lastDay\":1>i?\"sameDay\":2>i?\"nextDay\":7>i?\"nextWeek\":\"sameElse\",a=t&&(j(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,De(n)))}function dt(){return new v(this)}function ht(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vt(e,t,n,r){return r=r||\"()\",(\"(\"===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(\")\"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function gt(e,t){var n,r=g(e)?e:De(e);return this.isValid()&&r.isValid()?(t=D(t||\"millisecond\"),\"millisecond\"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function yt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function bt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t),\"year\"===t||\"month\"===t||\"quarter\"===t?(a=wt(this,r),\"quarter\"===t?a/=3:\"year\"===t&&(a/=12)):(o=this-r,a=\"second\"===t?o/1e3:\"minute\"===t?o/6e4:\"hour\"===t?o/36e5:\"day\"===t?(o-i)/864e5:\"week\"===t?(o-i)/6048e5:o),n?a:y(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,\"months\");return 0>t-o?(n=e.clone().add(i-1,\"months\"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,\"months\"),r=(t-o)/(n-o)),-(i+r)||0}function _t(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?j(Date.prototype.toISOString)?this.toDate().toISOString():K(e,\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\"):K(e,\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\")}function jt(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Et(e){return this.from(De(),e)}function Ot(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function At(e){return this.to(De(),e)}function Ct(e){var t;return void 0===e?this._locale._abbr:(t=z(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function It(e){switch(e=D(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Pt(e){return e=D(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Mt(){return Math.floor(this.valueOf()/1e3)}function zt(){return this._offset?new Date(this.valueOf()):this._d}function Bt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dt(){return this.isValid()?this.toISOString():null}function qt(){return f(this)}function Rt(){return c({},l(this))}function Lt(){return l(this).overflow}function $t(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ut(e,t){V(0,[e,e.length],0,t)}function Ht(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vt(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Yt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Kt(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Zt(e){return je(e,this._week.dow,this._week.doy).week}function Qt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function tn(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function nn(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function cn(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(i,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(o=\"^\"+this.weekdays(i,\"\")+\"|^\"+this.weekdaysShort(i,\"\")+\"|^\"+this.weekdaysMin(i,\"\"),this._weekdaysParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function un(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,\"d\")):t}function pn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],p=[];for(t=0;7>t;t++)n=u([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),o=this.weekdays(n,\"\"),a.push(r),s.push(i),c.push(o),p.push(r),p.push(i),p.push(o);for(a.sort(e),s.sort(e),c.sort(e),p.sort(e),t=0;7>t;t++)s[t]=X(s[t]),c[t]=X(c[t]),p[t]=X(p[t]);this._weekdaysRegex=new RegExp(\"^(\"+p.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+c.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function gn(){return this.hours()%12||12}function yn(){return this.hours()||24}function bn(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function xn(e,t){return t._meridiemParse}function wn(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function _n(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function kn(e,t){t[Yr]=b(1e3*(\"0.\"+e))}function jn(){return this._isUTC?\"UTC\":\"\"}function Sn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function En(e){return De(1e3*e)}function On(){return De.apply(null,arguments).parseZone()}function An(e,t,n){var r=this._calendar[e];return j(r)?r.call(t,n):r}function Cn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Tn(){return this._invalidDate}function In(e){return this._ordinal.replace(\"%d\",e)}function Pn(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Mn(e,t){var n=this._relativeTime[e>0?\"future\":\"past\"];return j(n)?n(t):n.replace(/%s/i,t)}function zn(e,t,n,r){var i=z(),o=u().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(\"number\"==typeof e&&(t=e,e=void 0),e=e||\"\",null!=t)return zn(e,t,n,\"month\");var r,i=[];for(r=0;12>r;r++)i[r]=zn(e,r,n,\"month\");return i}function Nn(e,t,n,r){\"boolean\"==typeof e?(\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\");var i=z(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,\"day\");var a,s=[];for(a=0;7>a;a++)s[a]=zn(t,(a+o)%7,r,\"day\");return s}function Dn(e,t){return Bn(e,t,\"months\")}function qn(e,t){return Bn(e,t,\"monthsShort\")}function Rn(e,t,n){return Nn(e,t,n,\"weekdays\")}function Ln(e,t,n){return Nn(e,t,n,\"weekdaysShort\")}function $n(e,t,n){return Nn(e,t,n,\"weekdaysMin\")}function Un(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Hn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Vn(e,t){return Hn(this,e,t,1)}function Wn(e,t){return Hn(this,e,t,-1)}function Yn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Kn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Yn(Jn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=y(o/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,a+=y(n/24),i=y(Gn(a)),s+=i,a-=Yn(Jn(i)),r=y(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Gn(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Zn(e){var t,n,r=this._milliseconds;if(e=D(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+Gn(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=D(e),this[e+\"s\"]()}function tr(e){return function(){return this._data[e]}}function nr(){return y(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as(\"s\")),o=no(r.as(\"m\")),a=no(r.as(\"h\")),s=no(r.as(\"d\")),c=no(r.as(\"M\")),u=no(r.as(\"y\")),p=i<ro.s&&[\"s\",i]||1>=o&&[\"m\"]||o<ro.m&&[\"mm\",o]||1>=a&&[\"h\"]||a<ro.h&&[\"hh\",a]||1>=s&&[\"d\"]||s<ro.d&&[\"dd\",s]||1>=c&&[\"M\"]||c<ro.M&&[\"MM\",c]||1>=u&&[\"y\"]||[\"yy\",u];return p[2]=t,p[3]=+e>0,p[4]=n,rr.apply(null,p)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(o/12),o%=12;var a=n,s=o,c=i,u=t,p=e,l=r,f=this.asSeconds();return f?(0>f?\"-\":\"\")+\"P\"+(a?a+\"Y\":\"\")+(s?s+\"M\":\"\")+(c?c+\"D\":\"\")+(u||p||l?\"T\":\"\")+(u?u+\"H\":\"\")+(p?p+\"M\":\"\")+(l?l+\"S\":\"\"):\"P0D\"}var cr,ur;ur=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var pr=n.momentProperties=[],lr=!1,fr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var dr;dr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var hr,mr,vr={},gr={},yr=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xr={},wr={},_r=/\\d/,kr=/\\d\\d/,jr=/\\d{3}/,Sr=/\\d{4}/,Er=/[+-]?\\d{6}/,Or=/\\d\\d?/,Ar=/\\d\\d\\d\\d?/,Cr=/\\d\\d\\d\\d\\d\\d?/,Tr=/\\d{1,3}/,Ir=/\\d{1,4}/,Pr=/[+-]?\\d{1,6}/,Fr=/\\d+/,Mr=/[+-]?\\d+/,zr=/Z|[+-]\\d\\d:?\\d\\d/gi,Br=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,Nr=/[+-]?\\d+(\\.\\d{1,3})?/,Dr=/[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i,qr={},Rr={},Lr=0,$r=1,Ur=2,Hr=3,Vr=4,Wr=5,Yr=6,Kr=7,Gr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),V(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),V(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),N(\"month\",\"M\"),J(\"M\",Or),J(\"MM\",Or,kr),J(\"MMM\",function(e,t){return t.monthsShortRegex(e)}),J(\"MMMM\",function(e,t){return t.monthsRegex(e)}),ee([\"M\",\"MM\"],function(e,t){t[$r]=b(e)-1}),ee([\"MMM\",\"MMMM\"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[$r]=i:l(n).invalidMonth=e});var Jr=/D[oD]?(\\[[^\\[\\]]*\\]|\\s+)+MMMM?/,Zr=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Qr=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Xr=Dr,ei=Dr,ti=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ni=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ri=/Z|[+-]\\d\\d(?::?\\d\\d)?/,ii=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],oi=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],ai=/^\\/?Date\\((\\-?\\d+)/i;n.createFromInputFallback=_(\"moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),V(\"Y\",0,0,function(){var e=this.year();return 9999>=e?\"\"+e:\"+\"+e}),V(0,[\"YY\",2],0,function(){return this.year()%100}),V(0,[\"YYYY\",4],0,\"year\"),V(0,[\"YYYYY\",5],0,\"year\"),V(0,[\"YYYYYY\",6,!0],0,\"year\"),N(\"year\",\"y\"),J(\"Y\",Mr),J(\"YY\",Or,kr),J(\"YYYY\",Ir,Sr),J(\"YYYYY\",Pr,Er),J(\"YYYYYY\",Pr,Er),ee([\"YYYYY\",\"YYYYYY\"],Lr),ee(\"YYYY\",function(e,t){t[Lr]=2===e.length?n.parseTwoDigitYear(e):b(e)}),ee(\"YY\",function(e,t){t[Lr]=n.parseTwoDigitYear(e)}),ee(\"Y\",function(e,t){t[Lr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var si=R(\"FullYear\",!0);n.ISO_8601=function(){};var ci=_(\"moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:d()}),ui=_(\"moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:d();\n}),pi=function(){return Date.now?Date.now():+new Date};He(\"Z\",\":\"),He(\"ZZ\",\"\"),J(\"Z\",Br),J(\"ZZ\",Br),ee([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(Br,e)});var li=/([\\+\\-]|\\d\\d)/gi;n.updateOffset=function(){};var fi=/^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)\\.?(\\d{3})?\\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=$e.prototype;var hi=pt(1,\"add\"),mi=pt(-1,\"subtract\");n.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",n.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var vi=_(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,[\"gg\",2],0,function(){return this.weekYear()%100}),V(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Ut(\"gggg\",\"weekYear\"),Ut(\"ggggg\",\"weekYear\"),Ut(\"GGGG\",\"isoWeekYear\"),Ut(\"GGGGG\",\"isoWeekYear\"),N(\"weekYear\",\"gg\"),N(\"isoWeekYear\",\"GG\"),J(\"G\",Mr),J(\"g\",Mr),J(\"GG\",Or,kr),J(\"gg\",Or,kr),J(\"GGGG\",Ir,Sr),J(\"gggg\",Ir,Sr),J(\"GGGGG\",Pr,Er),J(\"ggggg\",Pr,Er),te([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),te([\"gg\",\"GG\"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V(\"Q\",0,\"Qo\",\"quarter\"),N(\"quarter\",\"Q\"),J(\"Q\",_r),ee(\"Q\",function(e,t){t[$r]=3*(b(e)-1)}),V(\"w\",[\"ww\",2],\"wo\",\"week\"),V(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),N(\"week\",\"w\"),N(\"isoWeek\",\"W\"),J(\"w\",Or),J(\"ww\",Or,kr),J(\"W\",Or),J(\"WW\",Or,kr),te([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var gi={dow:0,doy:6};V(\"D\",[\"DD\",2],\"Do\",\"date\"),N(\"date\",\"D\"),J(\"D\",Or),J(\"DD\",Or,kr),J(\"Do\",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee([\"D\",\"DD\"],Ur),ee(\"Do\",function(e,t){t[Ur]=b(e.match(Or)[0],10)});var yi=R(\"Date\",!0);V(\"d\",0,\"do\",\"day\"),V(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),V(\"e\",0,0,\"weekday\"),V(\"E\",0,0,\"isoWeekday\"),N(\"day\",\"d\"),N(\"weekday\",\"e\"),N(\"isoWeekday\",\"E\"),J(\"d\",Or),J(\"e\",Or),J(\"E\",Or),J(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),J(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),J(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),te([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),te([\"d\",\"e\",\"E\"],function(e,t,n,r){t[r]=b(e)});var bi=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),xi=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),wi=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),_i=Dr,ki=Dr,ji=Dr;V(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),N(\"dayOfYear\",\"DDD\"),J(\"DDD\",Tr),J(\"DDDD\",jr),ee([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=b(e)}),V(\"H\",[\"HH\",2],0,\"hour\"),V(\"h\",[\"hh\",2],0,gn),V(\"k\",[\"kk\",2],0,yn),V(\"hmm\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)}),V(\"hmmss\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),V(\"Hmm\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)}),V(\"Hmmss\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),bn(\"a\",!0),bn(\"A\",!1),N(\"hour\",\"h\"),J(\"a\",xn),J(\"A\",xn),J(\"H\",Or),J(\"h\",Or),J(\"HH\",Or,kr),J(\"hh\",Or,kr),J(\"hmm\",Ar),J(\"hmmss\",Cr),J(\"Hmm\",Ar),J(\"Hmmss\",Cr),ee([\"H\",\"HH\"],Hr),ee([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee([\"h\",\"hh\"],function(e,t,n){t[Hr]=b(e),l(n).bigHour=!0}),ee(\"hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r)),l(n).bigHour=!0}),ee(\"hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i)),l(n).bigHour=!0}),ee(\"Hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r))}),ee(\"Hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i))});var Si=/[ap]\\.?m?\\.?/i,Ei=R(\"Hours\",!0);V(\"m\",[\"mm\",2],0,\"minute\"),N(\"minute\",\"m\"),J(\"m\",Or),J(\"mm\",Or,kr),ee([\"m\",\"mm\"],Vr);var Oi=R(\"Minutes\",!1);V(\"s\",[\"ss\",2],0,\"second\"),N(\"second\",\"s\"),J(\"s\",Or),J(\"ss\",Or,kr),ee([\"s\",\"ss\"],Wr);var Ai=R(\"Seconds\",!1);V(\"S\",0,0,function(){return~~(this.millisecond()/100)}),V(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),V(0,[\"SSS\",3],0,\"millisecond\"),V(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),V(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),V(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),V(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),V(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),V(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),N(\"millisecond\",\"ms\"),J(\"S\",Tr,_r),J(\"SS\",Tr,kr),J(\"SSS\",Tr,jr);var Ci;for(Ci=\"SSSS\";Ci.length<=9;Ci+=\"S\")J(Ci,Fr);for(Ci=\"S\";Ci.length<=9;Ci+=\"S\")ee(Ci,kn);var Ti=R(\"Milliseconds\",!1);V(\"z\",0,0,\"zoneAbbr\"),V(\"zz\",0,0,\"zoneName\");var Ii=v.prototype;Ii.add=hi,Ii.calendar=ft,Ii.clone=dt,Ii.diff=xt,Ii.endOf=Pt,Ii.format=jt,Ii.from=St,Ii.fromNow=Et,Ii.to=Ot,Ii.toNow=At,Ii.get=U,Ii.invalidAt=Lt,Ii.isAfter=ht,Ii.isBefore=mt,Ii.isBetween=vt,Ii.isSame=gt,Ii.isSameOrAfter=yt,Ii.isSameOrBefore=bt,Ii.isValid=qt,Ii.lang=vi,Ii.locale=Ct,Ii.localeData=Tt,Ii.max=ui,Ii.min=ci,Ii.parsingFlags=Rt,Ii.set=U,Ii.startOf=It,Ii.subtract=mi,Ii.toArray=Bt,Ii.toObject=Nt,Ii.toDate=zt,Ii.toISOString=kt,Ii.toJSON=Dt,Ii.toString=_t,Ii.unix=Mt,Ii.valueOf=Ft,Ii.creationData=$t,Ii.year=si,Ii.isLeapYear=we,Ii.weekYear=Ht,Ii.isoWeekYear=Vt,Ii.quarter=Ii.quarters=Jt,Ii.month=ue,Ii.daysInMonth=pe,Ii.week=Ii.weeks=en,Ii.isoWeek=Ii.isoWeeks=tn,Ii.weeksInYear=Yt,Ii.isoWeeksInYear=Wt,Ii.date=yi,Ii.day=Ii.days=un,Ii.weekday=pn,Ii.isoWeekday=ln,Ii.dayOfYear=vn,Ii.hour=Ii.hours=Ei,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Ai,Ii.millisecond=Ii.milliseconds=Ti,Ii.utcOffset=Ke,Ii.utc=Je,Ii.local=Ze,Ii.parseZone=Qe,Ii.hasAlignedHourOffset=Xe,Ii.isDST=et,Ii.isDSTShifted=tt,Ii.isLocal=nt,Ii.isUtcOffset=rt,Ii.isUtc=it,Ii.isUTC=it,Ii.zoneAbbr=jn,Ii.zoneName=Sn,Ii.dates=_(\"dates accessor is deprecated. Use date instead.\",yi),Ii.months=_(\"months accessor is deprecated. Use month instead\",ue),Ii.years=_(\"years accessor is deprecated. Use year instead\",si),Ii.zone=_(\"moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779\",Ge);var Pi=Ii,Fi={sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},Mi={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},zi=\"Invalid date\",Bi=\"%d\",Ni=/\\d{1,2}/,Di={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},qi=A.prototype;qi._calendar=Fi,qi.calendar=An,qi._longDateFormat=Mi,qi.longDateFormat=Cn,qi._invalidDate=zi,qi.invalidDate=Tn,qi._ordinal=Bi,qi.ordinal=In,qi._ordinalParse=Ni,qi.preparse=Pn,qi.postformat=Pn,qi._relativeTime=Di,qi.relativeTime=Fn,qi.pastFuture=Mn,qi.set=E,qi.months=ie,qi._months=Zr,qi.monthsShort=oe,qi._monthsShort=Qr,qi.monthsParse=se,qi._monthsRegex=ei,qi.monthsRegex=fe,qi._monthsShortRegex=Xr,qi.monthsShortRegex=le,qi.week=Zt,qi._week=gi,qi.firstDayOfYear=Xt,qi.firstDayOfWeek=Qt,qi.weekdays=rn,qi._weekdays=bi,qi.weekdaysMin=an,qi._weekdaysMin=wi,qi.weekdaysShort=on,qi._weekdaysShort=xi,qi.weekdaysParse=cn,qi._weekdaysRegex=_i,qi.weekdaysRegex=fn,qi._weekdaysShortRegex=ki,qi.weekdaysShortRegex=dn,qi._weekdaysMinRegex=ji,qi.weekdaysMinRegex=hn,qi.isPM=wn,qi._meridiemParse=Si,qi.meridiem=_n,P(\"en\",{ordinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),n.lang=_(\"moment.lang is deprecated. Use moment.locale instead.\",P),n.langData=_(\"moment.langData is deprecated. Use moment.localeData instead.\",z);var Ri=Math.abs,Li=Xn(\"ms\"),$i=Xn(\"s\"),Ui=Xn(\"m\"),Hi=Xn(\"h\"),Vi=Xn(\"d\"),Wi=Xn(\"w\"),Yi=Xn(\"M\"),Ki=Xn(\"y\"),Gi=tr(\"milliseconds\"),Ji=tr(\"seconds\"),Zi=tr(\"minutes\"),Qi=tr(\"hours\"),Xi=tr(\"days\"),eo=tr(\"months\"),to=tr(\"years\"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=$e.prototype;oo.abs=Un,oo.add=Vn,oo.subtract=Wn,oo.as=Zn,oo.asMilliseconds=Li,oo.asSeconds=$i,oo.asMinutes=Ui,oo.asHours=Hi,oo.asDays=Vi,oo.asWeeks=Wi,oo.asMonths=Yi,oo.asYears=Ki,oo.valueOf=Qn,oo._bubble=Kn,oo.get=er,oo.milliseconds=Gi,oo.seconds=Ji,oo.minutes=Zi,oo.hours=Qi,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Ct,oo.localeData=Tt,oo.toIsoString=_(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",sr),oo.lang=vi,V(\"X\",0,0,\"unix\"),V(\"x\",0,0,\"valueOf\"),J(\"x\",Mr),J(\"X\",Nr),ee(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee(\"x\",function(e,t,n){n._d=new Date(b(e))}),n.version=\"2.13.0\",r(De),n.fn=Pi,n.min=Re,n.max=Le,n.now=pi,n.utc=u,n.unix=En,n.months=Dn,n.isDate=o,n.locale=P,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Rn,n.parseZone=On,n.localeData=z,n.isDuration=Ue,n.monthsShort=qn,n.weekdaysMin=$n,n.defineLocale=F,n.updateLocale=M,n.locales=B,n.weekdaysShort=Ln,n.normalizeUnits=D,n.relativeTimeThreshold=or,n.prototype=Pi;var ao=n;return ao})},{}],188:[function(e,t,n){t.exports={MongoError:e(\"./lib/error\"),Server:e(\"./lib/topologies/server\"),ReplSet:e(\"./lib/topologies/replset\"),Mongos:e(\"./lib/topologies/mongos\"),Logger:e(\"./lib/connection/logger\"),Cursor:e(\"./lib/cursor\"),ReadPreference:e(\"./lib/topologies/read_preference\"),BSON:e(\"bson\"),Query:e(\"./lib/connection/commands\").Query,MongoCR:e(\"./lib/auth/mongocr\"),X509:e(\"./lib/auth/x509\"),Plain:e(\"./lib/auth/plain\"),GSSAPI:e(\"./lib/auth/gssapi\"),ScramSHA1:e(\"./lib/auth/scram\")}},{\"./lib/auth/gssapi\":189,\"./lib/auth/mongocr\":190,\"./lib/auth/plain\":191,\"./lib/auth/scram\":192,\"./lib/auth/x509\":194,\"./lib/connection/commands\":195,\"./lib/connection/logger\":197,\"./lib/cursor\":200,\"./lib/error\":201,\"./lib/topologies/mongos\":203,\"./lib/topologies/read_preference\":204,\"./lib/topologies/replset\":205,\"./lib/topologies/server\":207,bson:59}],189:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var f=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var d=u.gssapiServiceName||\"mongodb\",h=t.length;if(0==h)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(n,i,c,n,d,e,t,u,function(e,t){h-=1,e?y=e:t.result.$err?y=t.result:t.result.errmsg?y=t.result:(g=!0,v+=1),0==h&&v>0?(m(f.authStore,new a(n,i,c,u)),p(null,!0)):0==h&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a,s,u){var p=new c(a.host,a.port,i,s);p.init(t,n,function(i,s){return i?u(i,!1):void p.transition(\"\",function(i,s){return i?u(i,!1):void f(p,s,e,t,n,r,o,a,u)})})},f=function(e,t,n,r,i,o,a,s,c){var u={saslStart:1,mechanism:\"GSSAPI\",payload:t,autoAuthorize:1};a.command(\"$external.$cmd\",u,{connection:s},function(t,u){if(t)return c(t,!1);var p=u.result;e.transition(u.result.payload,function(t,u){return t?c(t,!1):void d(e,u,p,n,r,i,o,a,s,c)})})},d=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){if(t)return u(t,!1);var p=n.result;e.transition(p.payload,function(t,n){return t?u(t,!1):void h(e,n,p,r,i,o,a,s,c,u)})})},h=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){return t?u(t,!1):void e.transition(null,function(e,t){return e?u(e,null):void u(null,n)})})},m=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],190:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]},c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){e.command(r(\"%s.$cmd\",n),{getnonce:1},{connection:t},function(v,g){var y=null,b=null;if(null==v){y=g.result.nonce;var x=i.createHash(\"md5\");x.update(s+\":mongo:\"+u,\"utf8\");var w=x.digest(\"hex\");x=i.createHash(\"md5\"),x.update(y+s+w,\"utf8\"),b=x.digest(\"hex\")}e.command(r(\"%s.$cmd\",n),{authenticate:1,user:s,nonce:y,key:b},{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}},s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,crypto:void 0,util:void 0}],191:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"bson\").Binary),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){var v=new i(r(\"\\x00%s\\x00%s\",s,u)),g={saslStart:1,mechanism:\"PLAIN\",payload:v,autoAuthorize:1};e.command(\"$external.$cmd\",g,{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}};var c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,bson:59,crypto:void 0,util:void 0}],192:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"bson\").Binary,a=e(\"../error\"),s=function(e,t,n){this.db=e,this.username=t,this.password=n};s.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var c=0,u=function(){this.authStore=[],this.id=c++},p=function(e){for(var t={},n=e.split(\",\"),r=0;r<n.length;r++){var i=n[r].split(\"=\");t[i[0]]=i[1]}return t},l=function(e,t){if(\"string\"!=typeof e)throw new a(\"username must be a string\");if(\"string\"!=typeof t)throw new a(\"password must be a string\");if(0==t.length)throw new a(\"password cannot be empty\");var n=i.createHash(\"md5\");return n.update(e+\":mongo:\"+t,\"utf8\"),n.digest(\"hex\")},f=function(e,t){n.isBuffer(e)||(e=new n(e)),n.isBuffer(t)||(t=new n(t));var r=[];if(e.length>t.length)for(var i=0;i<t.length;i++)r.push(e[i]^t[i]);else for(var i=0;i<e.length;i++)r.push(e[i]^t[i]);return new n(r)},d=function(e,t,r){var o=function(t){var r=i.createHmac(\"sha1\",e);return r.update(t),new n(r.digest(\"base64\"),\"base64\")};t=n.concat([t,new n(\"\\x00\\x00\\x00\u0001\")]);for(var a=o(t),s=a,c=0;r-1>c;c++)s=o(s),a=f(a,s);return a};u.prototype.auth=function(e,t,c,u,m,v){var g=this,y=t.length;if(0==y)return v(null,null);for(var b=0,x=!1,w=null,_=function(t){u=u.replace(\"=\",\"=3D\").replace(\",\",\"=2C\");var _=i.randomBytes(24).toString(\"base64\"),k=r(\"n=%s,r=%s\",u,_),j={saslStart:1,mechanism:\"SCRAM-SHA-1\",payload:new o(r(\"n,,%s\",k)),autoAuthorize:1},S=function(e,t){return e?(b-=1,w=e,!1):t.result.$err?(w=t.result,!1):t.result.errmsg?(w=t.result,!1):(x=!0,b+=1,!0)},E=function(e,t){return 0==e&&t>0?(h(g.authStore,new s(c,u,m)),v(null,!0)):0==e?(null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)):void 0},O=function(e,t){S(e,t),y-=1,E(y,b)};e.command(r(\"%s.$cmd\",c),j,{connection:t},function(x,_){if(0!=S(x,_)){var j=p(_.result.payload.value()),E=parseInt(j.i,10),A=j.s,C=j.r,T=r(\"c=biws,r=%s\",C),I=l(u,m),P=d(I,new n(A,\"base64\"),E),F=i.createHmac(\"sha1\",P);F.update(new n(\"Client Key\"));var M=new n(F.digest(\"base64\"),\"base64\"),z=i.createHash(\"sha1\");z.update(M);var B=new n(z.digest(\"base64\"),\"base64\"),N=[k,_.result.payload.value().toString(\"base64\"),T].join(\",\"),F=i.createHmac(\"sha1\",B);F.update(new n(N));var D=new n(F.digest(\"base64\"),\"base64\"),q=r(\"p=%s\",new n(f(M,D)).toString(\"base64\")),R=[T,q].join(\",\"),F=i.createHmac(\"sha1\",P);F.update(new n(\"Server Key\"));var L=new n(F.digest(\"base64\"),\"base64\"),F=i.createHmac(\"sha1\",L);F.update(new n(N));var $=(new n(F.digest(\"base64\"),\"base64\"),{saslContinue:1,conversationId:_.result.conversationId,payload:new o(new n(R))});e.command(r(\"%s.$cmd\",c),$,{connection:t},function(i,o){if(o&&0==o.result.done){var a={saslContinue:1,conversationId:o.result.conversationId,payload:new n(0)};e.command(r(\"%s.$cmd\",c),a,{connection:t},function(e,t){O(e,t)})}else O(i,o)})}else{if(y-=1,0==y&&b>0)return h(g.authStore,new s(c,u,m)),v(null,!0);if(0==y)return null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)}})},k=function(e){process.nextTick(function(){_(e)})};t.length>0;)k(t.shift())};var h=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};u.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=u}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,bson:59,buffer:void 0,crypto:void 0,util:void 0}],193:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var d=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var h=u.gssapiServiceName||\"mongodb\",m=t.length;if(0==m)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(i,c,h,e,t,u,function(e,t){m-=1,e?y=e:t&&\"object\"==typeof t&&t.result.$err?y=t.result:t&&\"object\"==typeof t&&t.result.errmsg?y=t.result:(g=!0,v+=1),0==m&&v>0?(f(d.authStore,new a(n,i,c,u)),p(null,!0)):0==m&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a){var s={saslStart:1,mechanism:\"GSSAPI\",payload:\"\",autoAuthorize:1},u=new c(i.host,i.port,n,o);r.command(\"$external.$cmd\",s,{connection:i},function(n,o){if(n)return a(n,!1);var s=o.result;u.init(e,t,function(e){return e?a(e):void u.transition(s.payload,function(e,t){if(e)return a(e);var n={saslContinue:1,conversationId:s.conversationId,payload:t};r.command(\"$external.$cmd\",n,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){if(e)return a(e);var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;return n.done?a(null,!0):void a(new Error(\"Authentication failed\"),!1)})})})})})})})})},f=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],194:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"../error\")),o=function(e,t,n){this.db=e,this.username=t,this.password=n};o.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var a=function(){this.authStore=[]};a.prototype.auth=function(e,t,n,a,c,u){var p=this,l=t.length;if(0==l)return u(null,null);for(var f=0,d=!1,h=null;t.length>0;){var m=function(t){var m={authenticate:1,mechanism:\"MONGODB-X509\",user:a};e.command(\"$external.$cmd\",m,{connection:t},function(e,t){l-=1,e?h=e:t.result.$err?h=t.result:t.result.errmsg?h=t.result:(d=!0,f+=1),0==l&&f>0?(s(p.authStore,new o(n,a,c)),u(null,!0)):0==l&&(null==h&&(h=new i(r(\"failed to authenticate using mongocr\"))),u(h,!1))})},v=function(e){process.nextTick(function(){m(e)})};v(t.shift())}};var s=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};a.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=a},{\"../error\":201,crypto:void 0,util:void 0}],195:[function(e,t,n){(function(n){\"use strict\";var r=(e(\"util\").format,e(\"bson\").Long),i=(e(\"./utils\").setProperty,e(\"./utils\").getProperty,e(\"./utils\").getSingleProperty,0),o=2004,a=2005,s=2007,c=2,u=4,p=8,l=16,f=32,d=64,h=128,m=9007199254740992,v=1,g=2,y=4,b=8,x=function(e,t,n,r){var o=this;if(null==t)throw new Error(\"ns must be specified for query\");if(null==n)throw new Error(\"query must be specified for query\");if(~t.indexOf(\"\\x00\"))throw new Error(\"namespace cannot contain a null character\");this.bson=e,this.ns=t,this.query=n,this.options=r||{},this.numberToSkip=r.numberToSkip||0,this.numberToReturn=r.numberToReturn||0,this.returnFieldSelector=r.returnFieldSelector||null,this.requestId=i++%m,this.serializeFunctions=\"boolean\"==typeof r.serializeFunctions?r.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof r.ignoreUndefined?r.ignoreUndefined:!1,this.maxBsonSize=r.maxBsonSize||16777216,this.checkKeys=\"boolean\"==typeof r.checkKeys?r.checkKeys:!0,this.batchSize=o.numberToReturn,this.tailable=!1,this.slaveOk=!1,this.oplogReplay=!1,this.noCursorTimeout=!1,this.awaitData=!1,this.exhaust=!1,this.partial=!1};x.prototype.incRequestId=function(){this.requestId=i++%m},x.nextRequestId=function(){return(i+1)%m},x.prototype.toBin=function(){var e=this,t=[],r=null,i=0;this.tailable&&(i|=c),this.slaveOk&&(i|=u),this.oplogReplay&&(i|=p),this.noCursorTimeout&&(i|=l),this.awaitData&&(i|=f),this.exhaust&&(i|=d),this.partial&&(i|=h),e.batchSize!=e.numberToReturn&&(e.numberToReturn=e.batchSize);var a=new n(20+n.byteLength(e.ns)+1+4+4);t.push(a);var s=e.bson.serialize(this.query,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);t.push(s),e.returnFieldSelector&&Object.keys(e.returnFieldSelector).length>0&&(r=e.bson.serialize(this.returnFieldSelector,this.checkKeys,!0,this.serializeFunctions,this.ignoreUndefined),t.push(r));var m=a.length+s.length+(r?r.length:0),v=4;return a[3]=m>>24&255,a[2]=m>>16&255,a[1]=m>>8&255,a[0]=255&m,a[v+3]=this.requestId>>24&255,a[v+2]=this.requestId>>16&255,a[v+1]=this.requestId>>8&255,a[v]=255&this.requestId,v+=4,a[v+3]=0,a[v+2]=0,a[v+1]=0,a[v]=0,v+=4,a[v+3]=o>>24&255,a[v+2]=o>>16&255,a[v+1]=o>>8&255,a[v]=255&o,v+=4,a[v+3]=i>>24&255,a[v+2]=i>>16&255,a[v+1]=i>>8&255,a[v]=255&i,v+=4,v=v+a.write(this.ns,v,\"utf8\")+1,a[v-1]=0,a[v+3]=this.numberToSkip>>24&255,a[v+2]=this.numberToSkip>>16&255,a[v+1]=this.numberToSkip>>8&255,a[v]=255&this.numberToSkip,v+=4,a[v+3]=this.numberToReturn>>24&255,a[v+2]=this.numberToReturn>>16&255,a[v+1]=this.numberToReturn>>8&255,a[v]=255&this.numberToReturn,v+=4,t},x.getRequestId=function(){return++i%m};var w=function(e,t,n,r){r=r||{},this.numberToReturn=r.numberToReturn||0,this.requestId=i++%m,this.bson=e,this.ns=t,this.cursorId=n};w.prototype.toBin=function(){var e=4+n.byteLength(this.ns)+1+4+8+16,t=0,r=new n(e);return r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=a>>24&255,r[t+2]=a>>16&255,r[t+1]=a>>8&255,r[t]=255&a,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,t=t+r.write(this.ns,t,\"utf8\")+1,r[t-1]=0,r[t+3]=this.numberToReturn>>24&255,r[t+2]=this.numberToReturn>>16&255,r[t+1]=this.numberToReturn>>8&255,r[t]=255&this.numberToReturn,t+=4,r[t+3]=this.cursorId.getLowBits()>>24&255,r[t+2]=this.cursorId.getLowBits()>>16&255,r[t+1]=this.cursorId.getLowBits()>>8&255,r[t]=255&this.cursorId.getLowBits(),t+=4,r[t+3]=this.cursorId.getHighBits()>>24&255,r[t+2]=this.cursorId.getHighBits()>>16&255,r[t+1]=this.cursorId.getHighBits()>>8&255,r[t]=255&this.cursorId.getHighBits(),t+=4,r};var _=function(e,t){this.requestId=i++%m,this.cursorIds=t};_.prototype.toBin=function(){var e=24+8*this.cursorIds.length,t=0,r=new n(e);r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=s>>24&255,r[t+2]=s>>16&255,r[t+1]=s>>8&255,r[t]=255&s,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=this.cursorIds.length>>24&255,r[t+2]=this.cursorIds.length>>16&255,r[t+1]=this.cursorIds.length>>8&255,r[t]=255&this.cursorIds.length,t+=4;for(var i=0;i<this.cursorIds.length;i++)r[t+3]=this.cursorIds[i].getLowBits()>>24&255,r[t+2]=this.cursorIds[i].getLowBits()>>16&255,r[t+1]=this.cursorIds[i].getLowBits()>>8&255,r[t]=255&this.cursorIds[i].getLowBits(),t+=4,r[t+3]=this.cursorIds[i].getHighBits()>>24&255,r[t+2]=this.cursorIds[i].getHighBits()>>16&255,r[t+1]=this.cursorIds[i].getHighBits()>>8&255,r[t]=255&this.cursorIds[i].getHighBits(),t+=4;return r};var k=function(e,t,n,i){i=i||{promoteLongs:!0},this.parsed=!1,this.connection=e,this.index=0,this.raw=n,this.data=n,this.bson=t,this.opts=i,this.length=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.requestId=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.responseTo=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.index=this.index+4,this.responseFlags=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4;var o=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4;var a=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4,this.cursorId=new r(o,a),this.startingFrom=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.numberReturned=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.documents=new Array(this.numberReturned),this.cursorNotFound=0!=(this.responseFlags&v),this.queryFailure=0!=(this.responseFlags&g),this.shardConfigStale=0!=(this.responseFlags&y),this.awaitCapable=0!=(this.responseFlags&b),this.promoteLongs=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0};k.prototype.isParsed=function(){return this.parsed};var j=new n(\"firstBatch\",\"utf8\"),S=new n(\"nextBatch\",\"utf8\");new n(\"id\",\"utf8\").toString(\"hex\"),{firstBatch:j.toString(\"hex\"),nextBatch:S.toString(\"hex\")};k.prototype.parse=function(e){if(!this.parsed){e=e||{};var t=e.raw||!1,n=e.documentsReturnedIn||null;if(1==this.numberReturned&&null!=n&&t){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,o=this.data.slice(this.index,this.index+i),a={};a[n]=!0;var s={promoteLongs:this.opts.promoteLongs,fieldsAsRaw:a};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs);var c=this.bson.deserialize(o,s);return this.documents=c.cursor[n],this.numberReturned=this.documents.length,this.cursorId=\"number\"==typeof c.cursor.id?r.fromNumber(c.cursor.id):c.cursor.id,this.index=this.index+i,void(this.parsed=!0)}for(var u=0;u<this.numberReturned;u++){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,s={promoteLongs:this.opts.promoteLongs};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs),t?this.documents[u]=this.data.slice(this.index,this.index+i):this.documents[u]=this.bson.deserialize(this.data.slice(this.index,this.index+i),s),this.index=this.index+i}this.parsed=!0}},t.exports={Query:x,GetMore:w,Response:k,KillCursor:_}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":199,bson:59,buffer:void 0,util:void 0}],196:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"net\"),a=e(\"tls\"),s=e(\"util\").format,c=e(\"crypto\"),u=(e(\"./utils\").getSingleProperty,e(\"./utils\").debugOptions),p=e(\"./commands\").Response,l=e(\"../error\"),f=e(\"./logger\"),d=0,h=[\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"rejectUnauthorized\",\"promoteLongs\",\"checkServerIdentity\"],m=function(e){if(i.call(this),this.options=e||{},this.id=d++,this.logger=f(\"Connection\",e),!e.bson)throw new Error(\"must pass in valid bson parser\");this.bson=e.bson,this.tag=e.tag,this.messageHandler=e.messageHandler,this.maxBsonMessageSize=e.maxBsonMessageSize||67108864,this.logger.isDebug()&&this.logger.debug(s(\"creating connection %s with options [%s]\",this.id,JSON.stringify(u(h,e)))),this.port=e.port||27017,this.host=e.host||\"localhost\",this.keepAlive=\"boolean\"==typeof e.keepAlive?e.keepAlive:!0,this.keepAliveInitialDelay=e.keepAliveInitialDelay||0,this.noDelay=\"boolean\"==typeof e.noDelay?e.noDelay:!0,this.connectionTimeout=e.connectionTimeout||0,this.socketTimeout=e.socketTimeout||0,this.destroyed=!1,this.domainSocket=-1!=this.host.indexOf(\"/\"),this.singleBufferSerializtion=\"boolean\"==typeof e.singleBufferSerializtion?e.singleBufferSerializtion:!0,this.serializationFunction=this.singleBufferSerializtion?\"toBinUnified\":\"toBin\",this.ca=e.ca||null,this.cert=e.cert||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.ssl=\"boolean\"==typeof e.ssl?e.ssl:!1,this.rejectUnauthorized=\"boolean\"==typeof e.rejectUnauthorized?e.rejectUnauthorized:!0,this.checkServerIdentity=\"boolean\"==typeof e.checkServerIdentity||\"function\"==typeof e.checkServerIdentity?e.checkServerIdentity:!0,this.ssl||(this.rejectUnauthorized=!1),this.responseOptions={promoteLongs:\"boolean\"==typeof e.promoteLongs?e.promoteLongs:!0},this.flushing=!1,this.queue=[],\nthis.connection=null,this.writeStream=null;var t=c.createHash(\"sha1\");t.update(s(\"%s:%s\",this.host,this.port)),this.hashedName=t.digest(\"hex\")};r(m,i),Object.defineProperty(m.prototype,\"socketTimeoutMS\",{enumerable:!0,set:function(e){if(\"number\"!=typeof e)throw new Error(\"socketTimeoutMS requires a boolean\");this.socketTimeout=e,this.connection.setTimeout(e)},get:function(){return this.socketTimeout}});var v=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] errored out with [%s]\",e.id,e.host,e.port,JSON.stringify(t))),e.listeners(\"error\").length>0&&e.emit(\"error\",l.create(t),e)}},g=function(e){return function(){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] timed out\",e.id,e.host,e.port)),e.emit(\"timeout\",l.create(s(\"connection %s to %s:%s timed out\",e.id,e.host,e.port)),e)}},y=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s with for [%s:%s] closed\",e.id,e.host,e.port)),t||e.emit(\"close\",l.create(s(\"connection %s to %s:%s closed\",e.id,e.host,e.port)),e)}},b=function(e){return function(t){for(;t.length>0;)if(e.bytesRead>0&&e.sizeOfMessage>0){var r=e.sizeOfMessage-e.bytesRead;if(r>t.length)t.copy(e.buffer,e.bytesRead),e.bytesRead=e.bytesRead+t.length,t=new n(0);else{t.copy(e.buffer,e.bytesRead,0,r),t=t.slice(r);try{var i=e.buffer;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}}}else if(null!=e.stubBuffer&&e.stubBuffer.length>0)if(e.stubBuffer.length+t.length>4){var s=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(s,0),t.copy(s,e.stubBuffer.length),t=s,e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null}else{var c=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(c,0),t.copy(c,e.stubBuffer.length),t=new n(0)}else if(t.length>4){var u=t[0]|t[1]<<8|t[2]<<16|t[3]<<24;if(0>u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:\"\",bin:e.buffer,parseState:{sizeOfMessage:u,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};return void e.emit(\"parseError\",a,e)}if(u>4&&u<e.maxBsonMessageSize&&u>t.length)e.buffer=new n(u),t.copy(e.buffer,0),e.bytesRead=t.length,e.sizeOfMessage=u,e.stubBuffer=null,t=new n(0);else if(u>4&&u<e.maxBsonMessageSize&&u==t.length)try{var i=t;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}else if(4>=u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:null,bin:t,parseState:{sizeOfMessage:u,bytesRead:0,buffer:null,stubBuffer:null}};e.emit(\"parseError\",a,e),e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0)}else{var i=t.slice(0,u);e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=t.slice(u),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}}else e.stubBuffer=new n(t.length),t.copy(e.stubBuffer,0),t=new n(0)}};m.prototype.connect=function(e){var t=this;if(e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.responseOptions.promoteLongs=e.promoteLongs),t.connection=t.domainSocket?o.createConnection(t.host):o.createConnection(t.port,t.host),t.connection.setKeepAlive(t.keepAlive,t.keepAliveInitialDelay),t.connection.setTimeout(t.connectionTimeout),t.connection.setNoDelay(t.noDelay),t.ssl){var n={socket:t.connection,rejectUnauthorized:t.rejectUnauthorized};t.ca&&(n.ca=t.ca),t.cert&&(n.cert=t.cert),t.key&&(n.key=t.key),t.passphrase&&(n.passphrase=t.passphrase),0==t.checkServerIdentity?n.checkServerIdentity=function(e,t){}:\"function\"==typeof t.checkServerIdentity&&(n.checkServerIdentity=t.checkServerIdentity);try{t.connection=a.connect(t.port,t.host,n,function(){return t.connection.authorizationError&&t.rejectUnauthorized?t.emit(\"error\",t.connection.authorizationError,t,{ssl:!0}):(t.connection.setTimeout(t.socketTimeout),void t.emit(\"connect\",t))})}catch(r){process.nextTick(function(){return t.emit(\"error\",r,t,{ssl:!0})})}t.connection.setTimeout(t.connectionTimeout)}else t.connection.on(\"connect\",function(){t.connection.setTimeout(t.socketTimeout),t.emit(\"connect\",t)});t.connection.once(\"error\",v(t)),t.connection.once(\"timeout\",g(t)),t.connection.once(\"close\",y(t)),t.connection.on(\"data\",b(t))},m.prototype.unref=function(){if(this.connection)this.connection.unref();else{var e=this;this.once(\"connect\",function(){e.connection.unref()})}},m.prototype.destroy=function(){this.connection&&(this.connection.unref&&this.connection.unref(),this.connection.end(),this.connection.destroy()),this.destroyed=!0},m.prototype.write=function(e){if(this.logger.isDebug())if(Array.isArray(e))for(var t=0;t<e.length;t++)this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e[t].toString(\"hex\"),this.host,this.port));else this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e.toString(\"hex\"),this.host,this.port));if(!Array.isArray(e))return this.connection.write(e,\"binary\");for(var t=0;t<e.length;t++)this.connection.write(e[t],\"binary\")},m.prototype.toString=function(){return\"\"+this.id},m.prototype.toJSON=function(){return{id:this.id,host:this.host,port:this.port}},m.prototype.isConnected=function(){return this.destroyed?!1:!this.connection.destroyed&&this.connection.writable},t.exports=m}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,\"./commands\":195,\"./logger\":197,\"./utils\":199,buffer:void 0,crypto:void 0,events:void 0,net:void 0,tls:void 0,util:void 0}],197:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"../error\"),o={},a={},s=null,c=process.pid,u=null,p=function(e,t){if(!(this instanceof p))return new p(e,t);t=t||{};this.className=e,null==u&&t.logger?u=t.logger:null==u&&(u=console.log),null==s&&(s=t.loggerLevel||\"error\"),null==a[this.className]&&(o[this.className]=!0)};p.prototype.debug=function(e,t){if(this.isDebug()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"DEBUG\",this.className,c,n,e),s={type:\"debug\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.info=function(e,t){if(this.isInfo()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"INFO\",this.className,c,n,e),s={type:\"info\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.error=function(e,t){if(this.isError()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"ERROR\",this.className,c,n,e),s={type:\"error\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.isInfo=function(){return\"info\"==s||\"debug\"==s},p.prototype.isError=function(){return\"error\"==s||\"info\"==s||\"debug\"==s},p.prototype.isDebug=function(){return\"debug\"==s},p.reset=function(){s=\"error\",a={}},p.currentLogger=function(){return u},p.setCurrentLogger=function(e){if(\"function\"!=typeof e)throw new i(\"current logger must be a function\");u=e},p.filter=function(e,t){\"class\"==e&&Array.isArray(t)&&(a={},t.forEach(function(e){a[e]=!0}))},p.setLevel=function(e){if(\"info\"!=e&&\"error\"!=e&&\"debug\"!=e)throw new Error(r(\"%s is an illegal logging level\",e));s=e},t.exports=p},{\"../error\":201,util:void 0}],198:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"./connection\"),a=(e(\"./commands\").Query,e(\"./logger\")),s=e(\"util\").format,c=\"disconnected\",u=\"connecting\",p=\"connected\",l=\"destroyed\",f=0,d=function(e){if(i.call(this),this.options=e||{},this.size=\"number\"!=typeof e.size||isNaN(e.size)?5:e.size,this.waitMS=\"number\"!=typeof e.waitMS||isNaN(e.waitMS)?1e3:e.waitMS,this.host=e.host,this.port=e.port,this.messageHandler=e.messageHandler,!e.bson)throw new Error(\"must pass in valid bson parser\");this.availableConnections=[],this.inUseConnections=[],this.newConnections=[],this.connectingConnections=[],this.state=c,this.index=0,this.dead=!1,this.logger=a(\"Pool\",e),this.id=f++,this.tag=e.tag,this.queue=[],this.executing=!1,this.unreference=!1};r(d,i);var h=function(e,t){t.destroy();var n=function(e){for(var n=0;n<e.length;n++)if(e[n]===t)return e.splice(n,1),!0};n(e.availableConnections)||n(e.inUseConnections)||n(e.newConnections)||n(e.connectingConnections)},m=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.listeners(\"error\").length>0&&e.emit(\"error\",t,n)}},v=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] timed out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"timeout\",t,n)}},g=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] closed [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"close\",t,n)}},y=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"parseError\",t,n)}};d.prototype.unref=function(){this.unreference=!0,this.getAll().forEach(function(e){e.unref()})},d.prototype.destroy=function(){this.state=l,this.dead=!0;var e=this.getAll();e.forEach(function(e){[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy()}),this.availableConnections=[],this.connectingConnections=[],this.inUseConnections=[],this.newConnections=[]},d.prototype.connect=function(e){var t=this;this.state=u,this.dead=!1,t.options.messageHandler=t.messageHandler;var n=new o(t.options);[\"close\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"close\",g(t)),n.once(\"error\",m(t)),n.once(\"timeout\",v(t)),n.once(\"parseError\",y(t)),n.on(\"connect\",function(e){return\"DESTROYED\"==t.state?e.destroy():(t.availableConnections.push(e),void t.emit(\"connect\",t))}),n.connect(e)};var b=function(e){e.options.messageHandler=e.messageHandler;var t=new o(e.options);e.connectingConnections.push(t);var n=function(e){return function(t){e.destroy()}},r=[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"],i=function(t){return function(){if(\"DESTROYED\"==e.state){var n=e.connectingConnections.indexOf(t);return-1!=n&&e.connectingConnections.splice(n,1),t.destroy()}r.forEach(function(e){t.removeAllListeners(e)}),t.once(\"close\",g(e)),t.once(\"error\",m(e)),t.once(\"timeout\",v(e)),t.once(\"parseError\",y(e));var n=e.connectingConnections.indexOf(t);-1!=n&&e.connectingConnections.splice(n,1),e.newConnections.push(t),e.emit(\"connection\",t),x(e)()}};t.once(\"close\",n(t)),t.once(\"error\",n(t)),t.once(\"timeout\",n(t)),t.once(\"parseError\",n(t)),t.once(\"connect\",i(t)),t.connect()},x=function(e){return function(){if(\"DESTROYED\"!=e.state&&!e.executing){e.executing=!0;var t=e.availableConnections.length+e.connectingConnections.length+e.inUseConnections.length+e.newConnections.length;if(0==e.availableConnections.length&&0==e.connectingConnections.length&&t<e.size&&e.queue.length>0)return b(e),void(e.executing=!1);for(e.availableConnections.length>e.queue.length?e.queue.length:e.availableConnections.length;;){if(0==e.availableConnections.length)break;if(0==e.queue.length)break;var n=e.availableConnections.pop();if(n.isConnected()){var r=e.queue.shift();r.cb&&(r.cb.connection=n);var i=r.buffer;if(e.inUseConnections.push(n),Array.isArray(i))for(var o=0;o<i.length;o++)n.write(i[o]);else n.write(i);r.immediateRelease&&e.availableConnections.push(n)}}e.executing=!1}}};d.prototype.write=function(e,t,n){var r={buffer:e,cb:t};n&&n.immediateRelease&&(r.immediateRelease=!0),this.queue.push(r),x(this)()},d.prototype.connectionAvailable=function(e){var t=this.newConnections.indexOf(e);-1!=t&&this.newConnections.splice(t,1),t=this.inUseConnections.indexOf(e),-1!=t&&this.inUseConnections.splice(t,1),-1==this.availableConnections.indexOf(e)&&this.availableConnections.push(e),x(this)()},d.prototype.get=function(e){e=e||{},this.index=this.index+1;var t=this.availableConnections.slice(0);return 1==t.length?t[0]:(this.index=this.index%t.length,t[this.index])},d.prototype.getAll=function(){return this.availableConnections.concat(this.inUseConnections).concat(this.connectingConnections).concat(this.newConnections)},d.prototype.isConnected=function(){for(var e=0;e<this.availableConnections.length;e++)if(this.availableConnections[e].isConnected())return!0;for(var e=0;e<this.inUseConnections.length;e++)if(this.inUseConnections[e].isConnected())return!0;for(var e=0;e<this.newConnections.length;e++)if(this.newConnections[e].isConnected())return!0;return this.state==p},d.prototype.isDestroyed=function(){return this.state==l},t.exports=d},{\"./commands\":195,\"./connection\":196,\"./logger\":197,events:void 0,util:void 0}],199:[function(e,t,n){\"use strict\";var r=function(e,t,n,r){Object.defineProperty(e,t.name,{enumerable:!0,set:function(e){if(\"boolean\"!=typeof e)throw new Error(f(\"%s required a boolean\",t.name));1==e&&(r.flags|=n),0==e&&(r.flags&n)==n&&(r.flags^=n),t.value=e},get:function(){return t.value}})},i=function(e,t,n,r,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){return null==r[n]&&e.isParsed&&!e.isParsed()&&e.parse(),\"function\"==typeof i?i(r[n]):r[n]}})},o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=function(e,t){t=t||{};for(var n in e)t[n]=e[n];return t},s=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},c=function(e){var t=process.domain;if(null==t||null==e)return e;var n=t.bind(e);for(var r in e)n[r]=e[r];return n};n.setProperty=r,n.getProperty=i,n.getSingleProperty=o,n.copy=a,n.bindToCurrentDomain=c,n.debugOptions=s},{}],200:[function(e,t,n){\"use strict\";var r=e(\"bson\").Long,i=e(\"./connection/logger\"),o=e(\"./error\"),a=e(\"util\").format,s=function(e,t,n,o,a,s){o=o||{};this.pool=null,this.server=null,this.disconnectHandler=o.disconnectHandler,this.bson=e,this.ns=t,this.cmd=n,this.options=o,this.topology=a,this.cursorState={cursorId:null,cmd:n,documents:o.documents||[],cursorIndex:0,dead:!1,killed:!1,init:!1,notified:!1,limit:o.limit||n.limit||0,skip:o.skip||n.skip||0,batchSize:o.batchSize||n.batchSize||1e3,currentLimit:0,transforms:o.transforms},\"boolean\"==typeof s.promoteLongs&&(this.cursorState.promoteLongs=s.promoteLongs),this.callbacks=null,this.logger=i(\"Cursor\",o),\"number\"==typeof n?(this.cursorState.cursorId=r.fromNumber(n),this.cursorState.lastCursorId=this.cursorState.cursorId):n instanceof r&&(this.cursorState.cursorId=n,this.cursorState.lastCursorId=n)};s.prototype.setCursorBatchSize=function(e){this.cursorState.batchSize=e},s.prototype.cursorBatchSize=function(){return this.cursorState.batchSize},s.prototype.setCursorLimit=function(e){this.cursorState.limit=e},s.prototype.cursorLimit=function(){return this.cursorState.limit},s.prototype.setCursorSkip=function(e){this.cursorState.skip=e},s.prototype.cursorSkip=function(){return this.cursorState.skip};var c=function(e,t,n){try{e(t,n)}catch(t){process.nextTick(function(){throw t})}};s.prototype._find=function(e){var t=this;t.logger.isDebug()&&t.logger.debug(a(\"issue initial query [%s] with flags [%s]\",JSON.stringify(t.cmd),JSON.stringify(t.query)));var n=function(n,i){if(n)return e(n);if(i.queryFailure)return e(o.create(i.documents[0]),null);if(t.connection=i.connection,Array.isArray(i.documents)&&1==i.documents.length&&(!t.cmd.find||t.cmd.find&&0==t.cmd.virtual)&&(\"string\"!=i.documents[0].cursor||i.documents[0].$err||i.documents[0].errmsg||Array.isArray(i.documents[0].result))){if(i.documents[0].$err||i.documents[0].errmsg)return e(o.create(i.documents[0]),null);if(null!=i.documents[0].cursor&&\"string\"!=typeof i.documents[0].cursor){var a=i.documents[0].cursor.id;return i.documents[0].cursor.ns&&(t.ns=i.documents[0].cursor.ns),t.cursorState.cursorId=\"number\"==typeof a?r.fromNumber(a):a,t.cursorState.lastCursorId=t.cursorState.cursorId,Array.isArray(i.documents[0].cursor.firstBatch)&&(t.cursorState.documents=i.documents[0].cursor.firstBatch),e(null,null)}if(Array.isArray(i.documents[0].result))return t.cursorState.documents=i.documents[0].result,t.cursorState.cursorId=r.ZERO,e(null,null)}t.cursorState.cursorId=i.cursorId,t.cursorState.documents=i.documents,t.cursorState.lastCursorId=i.cursorId,t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.query&&(t.cursorState.documents=t.cursorState.transforms.query(i)),e(null,null)};(t.options.raw||t.cmd.raw)&&(n.raw=t.options.raw||t.cmd.raw),\"string\"==typeof t.query.documentsReturnedIn&&(n.documentsReturnedIn=t.query.documentsReturnedIn),\"boolean\"==typeof t.cursorState.promoteLongs&&(n.promoteLongs=t.cursorState.promoteLongs),t.callbacks.register(t.query.requestId,n),t.pool.write(t.query.toBin(),n)},s.prototype._getmore=function(e){this.logger.isDebug()&&this.logger.debug(a(\"schedule getMore call for query [%s]\",JSON.stringify(this.query)));var t=this.options.raw||this.cmd.raw,n=this.cursorState.batchSize;this.cursorState.limit>0&&this.cursorState.currentLimit+n>this.cursorState.limit&&(n=this.cursorState.limit-this.cursorState.currentLimit);var r=this.connection||this.pool;this.server.wireProtocolHandler.getMore(this.bson,this.ns,this.cursorState,n,t,r,this.callbacks,this.options,e)},s.prototype._killcursor=function(e){return this.cursorState.dead=!0,this.cursorState.killed=!0,this.cursorState.documents=[],null==this.cursorState.cursorId||this.cursorState.cursorId.isZero()||0==this.cursorState.init?void(e&&e(null,null)):void this.server.wireProtocolHandler.killCursor(this.bson,this.ns,this.cursorState.cursorId,this.pool,this.callbacks,e)},s.prototype.clone=function(){return this.topology.cursor(this.ns,this.cmd,this.options)},s.prototype.isDead=function(){return 1==this.cursorState.dead},s.prototype.isKilled=function(){return 1==this.cursorState.killed},s.prototype.isNotified=function(){return 1==this.cursorState.notified},s.prototype.bufferedCount=function(){return this.cursorState.documents.length-this.cursorState.cursorIndex},s.prototype.readBufferedDocuments=function(e){var t=this.cursorState.documents.length-this.cursorState.cursorIndex,n=t>e?e:t,r=this.cursorState.documents.slice(this.cursorState.cursorIndex,this.cursorState.cursorIndex+n);if(this.cursorState.transforms&&\"function\"==typeof this.cursorState.transforms.doc)for(var i=0;i<r.length;i++)r[i]=this.cursorState.transforms.doc(r[i]);return this.cursorState.limit>0&&this.cursorState.currentLimit+r.length>this.cursorState.limit&&(r=r.slice(0,this.cursorState.limit-this.cursorState.currentLimit),this.kill()),this.cursorState.currentLimit=this.cursorState.currentLimit+r.length,this.cursorState.cursorIndex=this.cursorState.cursorIndex+r.length,r},s.prototype.kill=function(e){this._killcursor(e)},s.prototype.rewind=function(){this.cursorState.init&&(this.cursorState.dead||this.kill(),this.cursorState.currentLimit=0,this.cursorState.init=!1,this.cursorState.dead=!1,this.cursorState.killed=!1,this.cursorState.notified=!1,this.cursorState.documents=[],this.cursorState.cursorId=null,this.cursorState.cursorIndex=0)};var u=function(e,t){return e.pool&&!e.pool.isConnected()?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,t(o.create(a(\"connection to host %s:%s was destroyed\",e.pool.host,e.pool.port))),!0):!1},p=function(e,t){return e.cursorState.dead&&!e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},l=function(e,t){return e.cursorState.dead&&e.cursorState.killed?(c(t,o.create(\"cursor is dead\")),!0):!1},f=function(e,t){return e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},d=function(e,t){e.cursorState.dead=!0,e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},h=function(e,t){e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},m=(Array.prototype.push,function(e,t){if(e.cursorState.notified)return t(new Error(\"cursor is exhausted\"));if(!f(e,t)&&!p(e,t)&&!l(e,t)){if(!e.cursorState.init){if(!e.topology.isConnected(e.options)&&null!=e.disconnectHandler)return e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t);try{e.server=e.topology.getServer(e.options),e.pool=e.server.s.pool,e.callbacks=e.server.getCallbacks()}catch(n){return null!=e.disconnectHandler?e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t):t(n)}e.cursorState.init=!0;try{e.query=e.server.wireProtocolHandler.command(e.bson,e.ns,e.cmd,e.cursorState,e.topology,e.options)}catch(n){return t(n)}}if(null==e.cursorState.cursorId){if(u(e,t))return;if(e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));e._find(function(n,r){return n?c(t,n,null):0==e.cursorState.documents.length&&e.cursorState.cursorId&&e.cursorState.cursorId.isZero()&&!e.cmd.tailable&&!e.cmd.awaitData?h(e,t):void m(e,t)})}else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);if(e.cursorState.cursorIndex!=e.cursorState.documents.length||r.ZERO.equals(e.cursorState.cursorId)){if(e.cursorState.documents.length==e.cursorState.cursorIndex&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId))return c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData}));if(e.cursorState.documents.length==e.cursorState.cursorIndex&&r.ZERO.equals(e.cursorState.cursorId))d(e,t);else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);e.cursorState.currentLimit+=1;var i=e.cursorState.documents[e.cursorState.cursorIndex++];if(i.$err)return e.kill(),d(e,function(){c(t,new o(i.$err))});e.cursorState.transforms&&\"function\"==typeof e.cursorState.transforms.doc&&(i=e.cursorState.transforms.doc(i)),c(t,null,i)}}else{if(e.cursorState.documents=[],e.cursorState.cursorIndex=0,e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));if(u(e,t))return;e._getmore(function(n,i,a){return n&&43!=n.code?c(t,n):n&&43==n.code||0==e.cursorState.documents.length&&r.ZERO.equals(e.cursorState.cursorId)&&!e.cmd.tailable?(e.cursorState.dead=!0,d(e,t)):(e.connection=a,0==e.cursorState.documents.length&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId)?c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData})):0==e.cursorState.documents.length&&e.cmd.tailable&&!r.ZERO.equals(e.cursorState.cursorId)?m(e,t):e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit?d(e,t):void m(e,t))})}}}});s.prototype.next=function(e){m(this,e)},t.exports=s},{\"./connection/logger\":197,\"./error\":201,bson:59,util:void 0}],201:[function(e,t,n){\"use strict\";function r(e){this.name=\"MongoError\",this.message=e,Error.captureStackTrace(this,r)}r.create=function(e){var t=null;if(e instanceof Error)t=new r(e.message),t.stack=e.stack;else if(\"string\"==typeof e)t=new r(e);else{t=new r(e.message||e.errmsg||e.$err||\"n/a\");for(var n in e)t[n]=e[n]}return t},r.prototype=new Error,t.exports=r},{}],202:[function(e,t,n){\"use strict\";var r=(e(\"../connection/utils\").setProperty,e(\"../connection/utils\").getProperty,e(\"../connection/utils\").getSingleProperty,function(e,t){this.result=e,this.connection=t});r.prototype.toJSON=function(){return this.result},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.exports=r},{\"../connection/utils\":199}],203:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}function i(e,t){if(e.listeners(\"topologyDescriptionChanged\").length>0&&t){var t=t.s,n={topologyType:\"Sharded\",servers:[]};n.servers=n.servers.concat(t.connectedServers.map(function(e){var t=e.getDescription();return t.type=\"Mongos\",t})),n.servers=n.servers.concat(t.disconnectedServers.map(function(e){var t=e.getDescription();return t.type=\"Unknown\",t}));var r={topologyId:e.id,previousDescription:t.topologyDescription,newDescription:n};e.emit(\"topologyDescriptionChanged\",r),t.topologyDescription=n}}var o=e(\"util\").inherits,a=e(\"util\").format,s=e(\"bson\"),c=e(\"../connection/utils\").bindToCurrentDomain,u=e(\"events\").EventEmitter,p=e(\"../cursor\"),l=e(\"bson\")[\"native\"]().BSON,p=e(\"../cursor\"),f=e(\"./server\"),d=e(\"../auth/mongocr\"),h=e(\"../auth/x509\"),m=e(\"../auth/plain\"),v=e(\"../auth/gssapi\"),g=e(\"../auth/sspi\"),y=e(\"../auth/scram\"),b=e(\"../connection/logger\"),x=e(\"./read_preference\"),w=e(\"./session\"),_=e(\"../error\"),k=\"disconnected\",j=\"connecting\",S=\"connected\",E=\"destroyed\",O=[s.Long,s.ObjectID,s.Binary,s.Code,s.DBRef,s.Symbol,s.Double,s.Timestamp,s.MaxKey,s.MinKey],A=null,C=0,T=function(e){var t={};for(var n in e)t[n]=e[n];return t},I=function(e,t){this.s={connectedServers:[],disconnectedServers:[],readPreferenceStrategies:e,lowerBoundLatency:Number.MAX_VALUE,localThresholdMS:t,index:0,topologyDescription:null}};I.prototype.resetDescription=function(){this.s.topologyDescription={topologyType:\"Sharded\",servers:[]}},I.prototype.connected=function(e){this.s.disconnectedServers=this.s.disconnectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.connectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.connectedServers.push(e),this.s.lowerBoundLatency>e.s.isMasterLatencyMS&&(this.s.lowerBoundLatency=e.s.isMasterLatencyMS)},I.prototype.disconnected=function(e){this.s.connectedServers=this.s.connectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.disconnectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.disconnectedServers.push(e)},I.prototype.disconnectedServers=function(){return this.s.disconnectedServers.slice(0)},I.prototype.connectedServers=function(){return this.s.connectedServers.slice(0)},I.prototype.getAll=function(){return this.s.connectedServers.slice(0).concat(this.s.disconnectedServers)},I.prototype.getAllConnections=function(){var e=[];return this.s.connectedServers.forEach(function(t){e=e.concat(t.connections())}),e},I.prototype.unref=function(){for(var e=0;e<this.s.connectedServers.length;e++){var t=this.s.connectedServers[e];[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(e){t.removeAllListeners(e)}),t.unref()}},I.prototype.destroy=function(){for(;this.s.connectedServers.length>0;){var e=this.s.connectedServers.shift();[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy(),this.s.disconnectedServers.push(e)}};var P=function(e,t){t=t||{};var n=t.readPreference||x.primary,r=e.s.connectedServers.slice(0);if(null!=e.s.readPreferenceStrategies&&null!=e.s.readPreferenceStrategies[n]){var i=e.s.readPreferenceStrategies[n].pickServer(r,n);return i?[i]:[]}return r=e.s.connectedServers.filter(function(t){return t.s.isMasterLatencyMS<=e.s.lowerBoundLatency+e.s.localThresholdMS&&t.isConnected()?!0:void 0}),0==r.length&&e.s.connectedServers.length>0?(r=e.s.connectedServers.sort(function(e,t){return e.s.isMasterLatencyMS-t.s.isMasterLatencyMS}),[r[0]]):r};I.prototype.isConnected=function(e){var t=P(this,e);return t.length>0},I.prototype.pickServer=function(e){var t=P(this,{readPreference:e});if(0==t.length)throw new _(\"no mongos proxy available\");return this.s.index=(this.s.index+1)%t.length,t[this.s.index]};var F=function(e,t){var n=this;if(t=t||{},u.call(this),!Array.isArray(e))throw new _(\"seedlist must be an array\");if(0==e.length)throw new _(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new _(\"seedlist entry must contain a host and port\")}),A=null==A?new l(O):A;var r=t.bson?t.bson:A;t.bson=r,this.s={seedlist:e,options:t,logger:b(\"Mongos\",t),reconnectTries:t.reconnectTries||30,haInterval:t.haInterval||5e3,localThresholdMS:t.localThresholdMS||15,fullsetup:!1,Cursor:t.cursorFactory||p,credentials:[],bsonInstance:A,bson:r,pings:{},state:k,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,readPreferenceStrategies:{},authProviders:{},id:C++,authInProgress:!1,authInProgressServers:[],retriesLeft:t.reconnectTries||30,disconnectHandler:t.disconnectHandler},t.connectionTimeout=t.connectionTimeout||1e3,this.s.mongosState=new I(this.s.readPreferenceStrategies,this.s.localThresholdMS),this.addAuthProvider(\"mongocr\",new d),this.addAuthProvider(\"x509\",new h),this.addAuthProvider(\"plain\",new m),this.addAuthProvider(\"gssapi\",new v),this.addAuthProvider(\"sspi\",new g),this.addAuthProvider(\"scram-sha-1\",new y),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.mongosState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"mongos\"}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.mongosState}})};o(F,u),F.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},F.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new _(a(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(O)},F.prototype.lastIsMaster=function(){var e=this.s.mongosState.connectedServers();return e.length>0?e[0].lastIsMaster():null},F.prototype.connect=function(e){var t=this;if(setTimeout(M(t,t.s),t.s.haInterval),e)for(var n in e)t.s.options[n]=e[n];t.s.seedlist.forEach(function(e){var n=T(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.authProviders=t.s.authProviders,n.emitError=!0,n.inTopology=!0,n.topologyId=t.s.id,n.monitoring=!0,t.s.mongosState.disconnected(new f(n))}),this.s.mongosState.resetDescription(),r(this,\"topologyOpening\",{topologyId:this.s.id});var i=t.s.mongosState.disconnectedServers();for(this.s.state=j;i.length>0;){var o=i.shift();[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){o.removeAllListeners(e)}),o.once(\"error\",z(t,t.s,o)),o.once(\"close\",z(t,t.s,o)),o.once(\"timeout\",z(t,t.s,o)),o.once(\"parseError\",z(t,t.s,o)),o.once(\"connect\",q(t,t.s,\"connect\")),o.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),o.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),o.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),o.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),o.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),o.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)}),t.s.logger.isInfo()&&t.s.logger.info(a(\"connecting to server %s\",o.name));var s=function(e){process.nextTick(function(){e.connect()})};s(o)}},F.prototype.unref=function(e){this.s.logger.isInfo()&&this.s.logger.info(a(\"[%s] unreferenced\",this.s.id)),e&&this.listeners(\"close\").length>0&&this.emit(\"close\",this),this.s.mongosState.unref()},F.prototype.destroy=function(e){this.s.state=E,r(this,\"topologyClosed\",{topologyId:this.s.id}),e&&self.listeners(\"close\").length>0&&self.emit(\"close\",self),this.s.mongosState.destroy()},F.prototype.isConnected=function(e){return this.s.mongosState.isConnected(e)},F.prototype.isDestroyed=function(){return this.s.state==E},F.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),\nthis.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"insert\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},F.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"update\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},F.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"remove\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},F.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.state==E)return r(new _(a(\"topology was destroyed\")));var i=this;if(!i.isConnected()&&null!=i.s.disconnectHandler)return r=c(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);var o=null;if(n=n||{},!n.onAll){try{o=i.s.mongosState.pickServer(n.writeConcern?x.primary:n.readPreference)}catch(s){return r(s)}return null==o?r(new _(\"no mongos found\")):void o.command(e,t,n,function(n,o){t.logout&&L(i.s,e),r(n,o)})}for(var u=i.s.mongosState.getAll(),p=u.length,l=0;l<u.length;l++)u[l].command(e,t,n,function(n,o){p-=1,0==p&&(t.logout&&L(i.s,e),r(n,o))})},F.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)},F.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new _(a(\"auth provider %s does not exist\",e));var o=this.s.mongosState.connectedServers().slice(0),s=o.length,c=!0,u=null;for(this.s.authInProgress=!0;o.length>0;){var p=o.shift(),l=[e,t].concat(r.slice(0)),f=l.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&R(n.s,t,l),u)return i(u,!1);i(null,new w({},n))}}]);p.auth.apply(p,f)}},F.prototype.addReadPreferenceStrategy=function(e,t){null==this.s.readPreferenceStrategies&&(this.s.readPreferenceStrategies={}),this.s.readPreferenceStrategies[e]=t},F.prototype.addAuthProvider=function(e,t){this.s.authProviders[e]=t},F.prototype.getConnection=function(e){e=e||{};var t=this.s.mongosState.pickServer(e.readPreference);return null==t?null:t.getConnection()},F.prototype.getServer=function(e){return e=e||{},this.s.mongosState.pickServer(e.readPreference)},F.prototype.connections=function(){return this.s.mongosState.getAllConnections()};var M=function(e,t){return function(){if(t.state!=E){if(t.state==S&&(t.retriesLeft=t.reconnectTries),t.state==k&&0==t.retriesLeft)return e.destroy(),e.emit(\"error\",new _(a(\"failed to reconnect after %s\",t.reconnectTries)));t.state==k&&(t.retriesLeft=t.retriesLeft-1),t.mongosState.isConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess running\"));var n=t.mongosState.disconnectedServers();if(0==n.length)return setTimeout(M(e,t),t.haInterval);var r=n.length;for(t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess found %d disconnected proxies\",r));n.length>0;){var i=function(n){setTimeout(function(){[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"error\",z(e,t,o)),n.once(\"close\",z(e,t,o)),n.once(\"timeout\",z(e,t,o)),n.once(\"connect\",q(e,t,\"ha\")),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}),n.connect()},1)},o=n.shift();t.logger.isDebug()&&t.logger.debug(a(\"attempting to connect to server %s\",o.name)),i(o)}return setTimeout(M(e,t),t.options.connectionTimeout+t.haInterval)}}},z=function(e,t,n){return function(e,n){t.logger.isInfo()&&t.logger.info(a(\"server %s disconnected with error %s\",n.name,JSON.stringify(e))),t.mongosState.disconnected(n);var r=[\"error\",\"close\",\"timeout\",\"connect\"];r.forEach(function(e){n.removeAllListeners(e)})}},B=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s errored out with %s\",r.name,JSON.stringify(n))),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r),t.emitError&&e.emit(\"error\",n,r)}},N=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s timed out\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},D=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s closed\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},q=function(e,t,n){return function(r){t.logger.isInfo()&&t.logger.info(a(\"connected to %s\",r.name)),[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\"].forEach(function(e){r.removeAllListeners(e)});var o=function(r){r.isConnected()&&(r.once(\"error\",B(e,t)),r.once(\"close\",D(e,t)),r.once(\"timeout\",N(e,t)),r.once(\"parseError\",N(e,t))),e.emit(\"joined\",\"mongos\",r),t.mongosState.connected(r),\"ha\"==n&&1==t.mongosState.connectedServers().length&&e.emit(\"reconnect\",r),0==t.mongosState.disconnectedServers().length&&t.mongosState.connectedServers().length>0&&!t.fullsetup&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)),0!=t.mongosState.disconnectedServers().length||t.mongosState.connectedServers().length!=t.seedlist.length||t.all||(t.all=!0,e.emit(\"all\",e)),i(e,t.mongosState),t.state==k?(t.state=S,e.emit(\"reconnect\",e)):t.state==j&&(t.state=S,e.emit(\"connect\",e))};if(t.authInProgress&&t.authInProgressServers.push(r),0==t.credentials.length)return o(r);for(var s=t.credentials.length,c=0;c<t.credentials.length;c++)r.auth.apply(r,t.credentials[c].concat([function(e,t){s-=1,0==s&&o(r)}]))}},R=function(e,t,n){L(e,t+\".dummy\"),e.credentials.push(n)},L=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},$=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=e.mongosState.pickServer()}catch(s){return o(s)}return null==a?o(new _(\"no mongos found\")):void a[t](n,r,i,o)};t.exports=F},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./server\":207,\"./session\":208,bson:59,events:void 0,util:void 0}],204:[function(e,t,n){\"use strict\";var r=[\"primaryPreferred\",\"secondary\",\"secondaryPreferred\",\"nearest\"],i=function(e,t,n){this.preference=e,this.tags=t,this.options=n};i.prototype.slaveOk=function(){return-1!=r.indexOf(this.preference)},i.prototype.equals=function(e){return e.preference==this.preference},i.prototype.toJSON=function(){var e={mode:this.preference};return Array.isArray(this.tags)&&(e.tags=this.tags),e},i.primary=new i(\"primary\"),i.primaryPreferred=new i(\"primaryPreferred\"),i.secondary=new i(\"secondary\"),i.secondaryPreferred=new i(\"secondaryPreferred\"),i.nearest=new i(\"nearest\"),t.exports=i},{}],205:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"bson\"),s=e(\"../connection/utils\").bindToCurrentDomain,c=(e(\"../connection/utils\").debugOptions,e(\"events\").EventEmitter),u=e(\"./server\"),p=e(\"./read_preference\"),l=e(\"../error\"),f=e(\"./strategies/ping\"),d=e(\"./session\"),h=e(\"../cursor\"),m=e(\"bson\")[\"native\"]().BSON,v=e(\"./replset_state\"),g=e(\"../auth/mongocr\"),y=e(\"../auth/x509\"),b=e(\"../auth/plain\"),x=e(\"../auth/gssapi\"),w=e(\"../auth/sspi\"),_=e(\"../auth/scram\"),k=e(\"../connection/logger\"),j=\"connecting\",S=\"connected\",E=\"destroyed\",O=1,A=function(e){var t={};for(var n in e)t[n]=e[n];return t},C=[a.Long,a.ObjectID,a.Binary,a.Code,a.DBRef,a.Symbol,a.Double,a.Timestamp,a.MaxKey,a.MinKey],T=null,I=function(e,t){var n=this;if(t=t||{},t=A(t),!Array.isArray(e))throw new l(\"seedlist must be an array\");if(0==e.length)throw new l(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new l(\"seedlist entry must contain a host and port\")}),c.call(this),T=null==T?new m(C):T,this.s={options:t,logger:k(\"ReplSet\",t),id:O++,index:0,haId:0,credentials:[],Cursor:t.cursorFactory||h,bsonInstance:T,bson:t.bson?t.bson:T,secondaryOnlyConnectionAllowed:\"boolean\"==typeof t.secondaryOnlyConnectionAllowed?t.secondaryOnlyConnectionAllowed:!1,haInterval:t.haInterval||1e4,currentHaInterval:t.haInterval||1e4,debug:\"boolean\"==typeof t.debug?t.debug:!1,setName:t.setName,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,tag:t.tag,disconnectHandler:t.disconnectHandler,readPreferenceStrategies:{},authProviders:{},disconnectedServers:[],initialConnectionServers:[],highAvailabilityProcessRunning:!1,fullsetup:!1,all:!1,seedlist:e,authInProgress:!1,authInProgressServers:[],minHeartbeatFrequencyMS:500,haTimer:null},t.bson=this.s.bson,t.connectionTimeout=t.connectionTimeout||1e4;var r=new v(this,{id:this.s.id,setName:this.s.setName,secondaryOnlyConnectionAllowed:this.s.secondaryOnlyConnectionAllowed});this.s.replState=r,this.addAuthProvider(\"mongocr\",new g),this.addAuthProvider(\"x509\",new y),this.addAuthProvider(\"plain\",new b),this.addAuthProvider(\"gssapi\",new x),this.addAuthProvider(\"sspi\",new w),this.addAuthProvider(\"scram-sha-1\",new _),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.replState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.replState}}),n.s.debug&&Object.defineProperty(this,\"readPreferenceStrategies\",{enumerable:!0,get:function(){return n.s.readPreferenceStrategies}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"replset\"}}),this.addReadPreferenceStrategy(\"nearest\",new f(t))};i(I,c),I.prototype.addReadPreferenceStrategy=function(e,t){this.s.readPreferenceStrategies[e]=t},I.prototype.addAuthProvider=function(e,t){null==this.s.authProviders&&(this.s.authProviders={}),this.s.authProviders[e]=t},I.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},I.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new l(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(C)},I.prototype.lastIsMaster=function(){return this.s.replState.lastIsMaster()},I.prototype.getConnection=function(e){e=e||{};var t=q(this,this.s,e.readPreference);return null==t?null:t.getConnection()},I.prototype.connections=function(){return this.s.replState.getAllConnections({includeArbiters:!0})},I.prototype.getServer=function(e){return e=e||{},q(this,this.s,e.readPreference)},I.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)};var P=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=q(e,e.s,p.primary),e.s.debug&&e.emit(\"pickedServer\",p.primary,a)}catch(s){return o(s)}if(null==a)return o(new l(\"no server found\"));var c=function(t,n){!Q(n)&&!Q(t)||e.s.highAvailabilityProcessRunning||(e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,$(e,e.s,!0)()),o(t,n)};o.operationId&&(c.operationId=o.operationId),a[t](n,r,i,c)};I.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E)return r(new l(o(\"topology was destroyed\")));var i=null,a=this;if(n=n||{},!this.isConnected(n)&&null!=this.s.disconnectHandler)return r=s(r),this.s.disconnectHandler.add(\"command\",e,t,n,r);if(!n.onAll){try{i=q(a,a.s,n.writeConcern?p.primary:n.readPreference),a.s.debug&&a.emit(\"pickedServer\",n.writeConcern?p.primary:n.readPreference,i)}catch(c){return r(c)}return null==i?r(new l(\"no server found\")):void i.command(e,t,n,function(n,i){t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i)})}for(var u=this.s.replState.getAll(),f=u.length,d=0;d<u.length;d++)u[d].command(e,t,n,function(n,i){f-=1,0==f&&(t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i))})},I.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"remove\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},I.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"insert\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},I.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"update\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},I.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new l(o(\"auth provider %s does not exist\",e));var a=this.s.replState.getAll().slice(0),s=a.length,c=!0,u=null;for(this.s.authInProgress=!0;a.length>0;){var p=a.shift(),f=[e,t].concat(r.slice(0)),h=f.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&M(n.s,t,f),u)return i(u,!1);i(null,new d({},n))}}]);p.auth.apply(p,h)}},I.prototype.state=function(){return this.s.replState.state};var F=function(e){return function(e,t){e.arbiterOnly?t.s.options.size=1:e.hidden&&(t.s.options.size=1)}};I.prototype.connect=function(e){var t=this;if(R(t,t.s),e)for(var n in e)this.s.options[n]=e[n];for(this.s.replState.state=j,this.s.fullsetup=!1,this.s.replState.resetDescription(),this.s.seedlist.forEach(function(e){var n=A(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.emitError=!0,n.size=n.size+1,n.monitoring=!0,n.topologyId=t.s.id,n.inTopology=!0,t.s.tag&&(n.tag=t.s.tag),n.authProviders=t.s.authProviders;var r=new u(n);r.on(\"ismaster\",F(t)),t.s.disconnectedServers.push(r),t.s.initialConnectionServers.push(r)}),r(this,\"topologyOpening\",{topologyId:this.s.id});this.s.disconnectedServers.length>0;){var i=t.s.disconnectedServers.shift();i.destroy(),i.once(\"error\",U(t,t.s,\"error\")),i.once(\"close\",U(t,t.s,\"close\")),i.once(\"timeout\",U(t,t.s,\"timeout\")),i.once(\"connect\",H(t,t.s)),i.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),i.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),i.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),i.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),i.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),i.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)});var o=function(e){process.nextTick(function(){e.connect()})};o(i)}},I.prototype.isConnected=function(e){return e=e||{},e.readPreference&&e.readPreference.equals(p.secondary)?this.s.replState.isSecondaryConnected():e.readPreference&&e.readPreference.equals(p.primary)?this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.primaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.secondaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():this.s.secondaryOnlyConnectionAllowed&&this.s.replState.isSecondaryConnected()?!0:this.s.replState.isPrimaryConnected()},I.prototype.isDestroyed=function(){return this.s.replState.state==E},I.prototype.unref=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] unreferenced\",this.s.id)),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.unref();var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)},I.prototype.destroy=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] destroyed\",this.s.id)),this.s.replState.state=E,t.s.haTimer&&clearTimeout(t.s.haTimer),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.destroy(),r(this,\"topologyClosed\",{topologyId:this.s.id});var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)};var M=function(e,t,n){z(e,t+\".dummy\"),e.credentials.push(n)},z=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},B=function(e,t){if(null==e.tags)return t;for(var n=[],r=Array.isArray(e.tags)?o:[o],i=0;i<r.length;i++){for(var o=r[i],a=0;a<t.length;a++){var s=t[a].lastIsMaster().tags||{},c=!0;for(var u in o)s[u]!=o[u]&&(c=!1);c&&n.push(t[a])}if(c)break}return n},N={fullsetup:function(e,t){t.replState.primary&&0!==t.replState.secondaries.length&&(t.fullsetup||e.listeners(\"fullsetup\").length>0&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)))},all:function(e,t){if(t.replState.primary&&e.lastIsMaster()&&Array.isArray(e.lastIsMaster().hosts)&&!t.all){var n=1+t.replState.secondaries.length;n===e.lastIsMaster().hosts.length&&e.listeners(\"all\").length>0&&(t.all=!0,e.emit(\"all\",e))}}},D=function(e,t,n){var r=N[n];if(!r)throw new l(n+\" event not implemented\");r(e,t)},q=function(e,t,n){if(n=n||p.primary,null!=t.readPreferenceStrategies&&null!=t.readPreferenceStrategies[n.preference]){if(null==t.readPreferenceStrategies[n.preference])throw new l(o(\"cannot locate read preference handler for %s\",n.preference));var r=t.readPreferenceStrategies[n.preference].pickServer(t.replState,n);return t.debug&&e.emit(\"pickedServer\",n,r),r}var i=t.replState.getSecondaries();if(n.equals(p.secondary)&&0==i.length)throw new l(\"no secondary server available\");if(n.equals(p.secondaryPreferred)&&0==i.length&&null==t.replState.primary)throw new l(\"no secondary or primary server available\");if(n.equals(p.primary)&&null==t.replState.primary)throw new l(\"no primary server available\");if(n.equals(p.secondary))return t.index=(t.index+1)%i.length,i[t.index];if(n.equals(p.secondaryPreferred)){if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index]}return t.replState.primary}if(n.equals(p.primaryPreferred)){if(t.replState.primary)return t.replState.primary;if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index];throw new l(\"no secondary or primary server available\")}}return t.replState.primary},R=function(e,t){return t.highAvailabilityProcessRunning?void 0:(e.s.haTimer=setTimeout($(e,t,!1),t.currentHaInterval),e.s.haTimer)},L=function(e){return 0!=e.disconnectedServers.length||0!=e.replState.secondaries.length||0!=e.replState.arbiters.length||null!=e.replState.primary},$=function(e,t,n){return function(){if(!t.highAvailabilityProcessRunning&&t.replState.state!=E){t.replState.isPrimaryConnected()?e.s.currentHaInterval=e.s.haInterval:e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,t.replState.clearConnectingServers(),t.replState.clean(),t.highAvailabilityProcessRunning=!0,L(t)||(t.disconnectedServers=t.seedlist.map(function(n){var r=A(t.options);r.host=n.host,r.port=n.port,r.reconnect=!1,r.readPreferenceStrategies=t.readPreferenceStrategies,r.emitError=!0,r.size=r.size+1,r.monitoring=!0,r.topologyId=e.s.id,r.inTopology=!0,t.tag&&(r.tag=t.tag),r.authProviders=t.authProviders;var i=new u(r);return i.on(\"ismaster\",F(e)),i})),t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring process running %s\",t.id,JSON.stringify(t.replState)));var r=t.haId++;for(n=\"boolean\"==typeof n?n:!1,t.replState.isPrimaryConnected()&&t.replState.isSecondaryConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),e.emit(\"ha\",\"start\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}});t.disconnectedServers.length>0;){var i=t.disconnectedServers.shift();t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring attempting to connect to %s\",t.id,i.lastIsMaster()?i.lastIsMaster().me:i.name)),i.once(\"error\",U(e,t,\"error\")),i.once(\"close\",U(e,t,\"close\")),i.once(\"timeout\",U(e,t,\"timeout\")),i.once(\"connect\",H(e,t)),i.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),i.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),i.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),i.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),i.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),i.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var a=function(e){process.nextTick(function(){e.connect()})};a(i)}var s=t.replState.getAll({includeArbiters:!0}),c=s.length;if(0==s.length&&t.replState.state==S)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,void(n||R(e,t));var p=function(i,a){return t.replState.state!=E?i&&!i.isConnected()?a():void(i&&i.isConnected()&&i.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(s,u){if(t.replState.state==E)return a();if(c-=1,s&&c>0)return a();if(s&&0==c)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a();var p=Object.keys(t.readPreferenceStrategies).length,l=u.result;if(t.logger.isDebug()&&t.logger.debug(o(\"[%s] monitoring process ismaster %s\",t.id,JSON.stringify(l))),i.s.ismaster=l,!t.replState.update(l,i)&&!t.replState.contains(i))return i.destroy(),a();if(null!=s||!l.ismaster&&t.primary||!Array.isArray(l.hosts)){if(null==s&&!Array.isArray(l.hosts))return i.destroy(),a()}else{var f=l.hosts;Array.isArray(l.arbiters)&&(f=f.concat(l.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(l.passives)&&(f=f.concat(l.passives)),V(e,t,f)}if(0==p)return c>0?a():(e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a());if(0==c)for(var d in t.readPreferenceStrategies)t.readPreferenceStrategies[d].ha(e,t.replState,function(){return p-=1,0==p?(null==s&&l.ismaster&&Array.isArray(l.hosts)&&V(e,t,l.hosts),e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a()):void 0});a()})):void 0};0==s.length&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t));for(var l=s.length,f=0;f<s.length;f++)p(s[f],function(){l-=1,0==l&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t))})}}},U=function(e,t,n){return function(n,r){return r.destroy(),t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s disconnected\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name)),t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return r.name!=e.name}),t.replState.removeConnectingServer(r.name),t.replState.state!=E?([\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){r.removeAllListeners(e)}),K(t.disconnectedServers,r),0==t.initialConnectionServers&&t.replState.state==j&&(t.secondaryOnlyConnectionAllowed&&!t.replState.isSecondaryConnected()&&!t.replState.isPrimaryConnected()||!t.secondaryOnlyConnectionAllowed&&!t.replState.isPrimaryConnected())&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0)?e.emit(\"error\",new l(\"no valid seed servers in list\")):void(t.disconnectedServers.length==t.seedlist.length&&t.replState.state==j&&t.emitError&&e.listeners(\"error\").length>0&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0&&e.emit(\"error\",new l(\"no valid seed servers in list\"))))):void 0}},H=function(e,t){return function(n){if(t.logger.isInfo()&&t.logger.info(o(\"[%s] connected to %s\",t.id,n.name)),t.replState.state==E)return n.destroy(!1,!1);t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return n.name!=e.name});var r=(n.lastIsMaster(),function(){var r=n.lastIsMaster(),i=[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];if(i.forEach(function(e){n.removeAllListeners(e)}),t.replState.removeConnectingServer(n.name),t.replState.update(r,n)||t.replState.contains(n)){n.isConnected()&&(n.on(\"error\",G(e,t)),n.on(\"close\",Z(e,t)),n.on(\"timeout\",J(e,t)),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}));var a=r.hosts;if(Array.isArray(r.arbiters)&&(a=a.concat(r.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(r.passives)&&(a=a.concat(r.passives)),V(e,t,a),0==t.initialConnectionServers.length&&0==t.replState.connectingServersCount()&&!t.replState.isPrimaryConnected()&&!t.secondaryOnlyConnectionAllowed&&t.replState.state==j)return t.logger.isInfo()&&t.logger.info(o(\"[%s] no primary found in replicaset\",t.id)),e.emit(\"error\",new l(\"no primary found in replicaset\")),e.destroy();D(e,t,\"fullsetup\"),D(e,t,\"all\")}else if(n.destroy(),t.state==j&&0==t.initialConnectionServers.length&&null==t.replState.primary&&0==t.replState.secondaries.length)return e.emit(\"error\",new l(\"no replicaset members found in seedlist\"))});if(e.s.authInProgress&&e.s.authInProgressServers.push(n),0==t.credentials.length)return r();var i=function(e,t,n,r){return t>=n.length||0==n.length?r():void e.auth.apply(e,n[t].concat([function(o,a){return o?r(o):void i(e,t+1,n,r)}]))};i(n,0,t.credentials,function(e){return e?n.destroy():void r()})}},V=function(e,t,n){if(t.replState.state!=E&&Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r],a={};\"object\"==typeof i&&(i=i.host,a.arbiter=i.arbiter),t.replState.contains(i)||t.replState.isConnectingServer(i)||W(e,t,i)||(t.logger.isInfo()&&t.logger.info(o(\"[%s] scheduled server %s for connection\",t.id,i)),t.replState.addConnectingServer(i,i),Y(e,t,i.split(\":\")[0],parseInt(i.split(\":\")[1],10),a))}},W=function(e,t,n){for(var r=0;r<t.initialConnectionServers.length;r++)if(t.initialConnectionServers[r].name==n)return!0;return!1},Y=function(e,t,n,r,i){i=i||{};var o=A(t.options);if(o.host=n,o.port=r,o.reconnect=!1,o.readPreferenceStrategies=t.readPreferenceStrategies,t.tag&&(o.tag=t.tag),o.authProviders=t.authProviders,o.emitError=!0,o.inTopology=!0,o.size=o.size+1,o.monitoring=!0,o.topologyId=e.s.id,i.arbiter&&(o.size=1),e.s.replState.state!=E){var a=new u(o);a.on(\"ismaster\",F(e)),a.once(\"error\",U(e,t,\"error\")),a.once(\"close\",U(e,t,\"close\")),a.once(\"timeout\",U(e,t,\"timeout\")),a.once(\"connect\",H(e,t)),a.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),a.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),a.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),a.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),a.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),a.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var s=function(t){process.nextTick(function(){e.s.replState.state!=E&&t.connect()})};t.replState.addConnectingServer(a.name,n),s(a)}},K=function(e,t){var n=!1;if(null==t)return n;[\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){t.removeAllListeners(e)});for(var r=0;r<e.length;r++)e[r].equals(t)&&(n=!0);return n||e.push(t),n},G=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s errored out with %s\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name,JSON.stringify(n)));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r),i&&t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,r)}}},J=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s timed out\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Z=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s closed\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Q=function(e){var t=e&&e.result?e.result:e;return!(!t||!(\"not master\"==t.err||\"not master\"==t.errmsg||t.$err&&-1!=t.$err.indexOf(\"not master or secondary\")||t.$err&&-1!=t.$err.indexOf(\"not master and slaveOk=false\")||\"node is recovering\"==t.errmsg))};t.exports=I},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./replset_state\":206,\"./server\":207,\"./session\":208,\"./strategies/ping\":209,bson:59,events:void 0,util:void 0}],206:[function(e,t,n){(function(n){\"use strict\";function r(e,t){for(var n={servers:[]},r=0;r<e.servers.length;r++)for(var i=e.servers[r],o=0;o<t.servers.length;o++){var a=t.servers[o];i.address===a.address&&i.type!=a.type&&n.servers.push({address:i.address,from:i.type,to:a.type})}return n}function i(e){if(e.replSet.listeners(\"topologyDescriptionChanged\").length>0){var t=\"Unknown\",n=e.setName;e.isPrimaryConnected()&&e.isSecondaryConnected()?t=\"ReplicaSetWithPrimary\":!e.isPrimaryConnected()&&e.isSecondaryConnected()&&(t=\"ReplicaSetNoPrimary\");var i={topologyType:t,setName:n,servers:[]};if(e.isPrimaryConnected()){var o=e.primary.getDescription();o.type=\"RSPrimary\",i.servers.push(o)}i.servers=i.servers.concat(e.secondaries.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",t})),i.servers=i.servers.concat(e.arbiters.map(function(e){var t=e.getDescription();return t})),i.servers=i.servers.concat(e.passives.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",\nt}));var a={topologyId:e.id,previousDescription:e.replicasetDescription,newDescription:i,diff:r(e.replicasetDescription,i)};e.replSet.emit(\"topologyDescriptionChanged\",a),e.replicasetDescription=i}}var o=e(\"../connection/logger\"),a=e(\"util\").format,s=e(\"bson\").ObjectId,c=e(\"../error\"),u=\"disconnected\",p=\"connecting\",l=\"connected\",f=\"destroyed\",d=function(e,t){this.replSet=e,this.options=t,this.secondaries=[],this.arbiters=[],this.passives=[],this.primary=null,this.state=u,this.electionId=null,this.logger=o(\"ReplSet\",t),this.id=t.id,this.setName=t.setName,this.connectingServers={},this.secondaryOnlyConnectionAllowed=t.secondaryOnlyConnectionAllowed,this.replicasetDescription=null};d.prototype.resetDescription=function(){this.replicasetDescription={topologyType:\"Unknown\",servers:[]}},d.prototype.isSecondaryConnected=function(){for(var e=0;e<this.secondaries.length;e++)if(this.secondaries[e].isConnected())return!0;return!1},d.prototype.isPrimaryConnected=function(){return null!=this.primary&&this.primary.isConnected()},d.prototype.isPrimary=function(e){return null==this.primary?!1:this.primary&&this.primary.equals(e)},d.prototype.isSecondary=function(e){for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;return!1},d.prototype.isPassive=function(e){for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.clearConnectingServers=function(){for(var e in this.connectingServers)\"function\"==typeof this.connectingServers[e].destroy&&this.connectingServers[e].destroy();this.connectingServers={}},d.prototype.removeConnectingServer=function(e){this.connectingServers[e]&&this.connectingServers[e].destroy&&this.connectingServers[e].destroy(),delete this.connectingServers[e]},d.prototype.addConnectingServer=function(e,t){this.connectingServers[e]=t},d.prototype.isConnectingServer=function(e){return null!=this.connectingServers[e]},d.prototype.connectingServersCount=function(){return Object.keys(this.connectingServers).length},d.prototype.contains=function(e){if(this.primary&&this.primary.equals(e))return!0;for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;for(var t=0;t<this.arbiters.length;t++)if(this.arbiters[t].equals(e))return!0;for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.getSecondaries=function(){return this.secondaries=this.secondaries.filter(function(e){return e.isConnected()}),this.secondaries.filter(function(e){return!e.lastIsMaster().hidden})},d.prototype.clean=function(){var e=[];return null==this.primary||this.primary.isConnected()||(e.push(this.primary),this.primary=null),this.secondaries=this.secondaries.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.arbiters=this.arbiters.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.passives=this.passives.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),e},d.prototype.unref=function(){this.primary&&this.primary.unref(),this.secondaries.forEach(function(e){e.unref()}),this.arbiters.forEach(function(e){e.unref()})};var h=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"],m=function(e){h.forEach(function(t){e.removeAllListeners(t)})};d.prototype.destroy=function(){this.state=f,this.primary&&(this.primary.destroy(),m(this.primary)),this.secondaries.forEach(function(e){e.destroy(),m(e)}),this.arbiters.forEach(function(e){e.destroy(),m(e)})},d.prototype.remove=function(e){this.primary&&this.primary.equals(e)&&(this.primary=null);var t=this.arbiters.length;if(this.arbiters=this.arbiters.filter(function(t){return!t.equals(e)}),this.arbiters.length<t)return\"arbiter\";var t=this.passives.length;this.passives=this.passives.filter(function(t){return!t.equals(e)}),this.passives.length<t&&(this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)})),this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)});var n=e.lastIsMaster();return n.ismaster&&n.hosts?\"primary\":n.ismaster?\"secondary\":n.secondary?\"secondary\":n.passive?\"passive\":\"arbiter\"},d.prototype.get=function(e){var t=this.primary?[this.primary]:[];t=t.concat(this.secondaries);for(var n=0;n<t.length;n++)if(t[n].equals(e))return t[n]},d.prototype.getAll=function(e){e=e||{};var t=[];return this.primary&&t.push(this.primary),t=t.concat(this.secondaries),e.includeArbiters&&(t=t.concat(this.arbiters)),t},d.prototype.getAllConnections=function(e){e=e||{};var t=[];return this.primary&&(t=t.concat(this.primary.connections())),this.secondaries.forEach(function(e){t=t.concat(e.connections())}),e.includeArbiters&&this.arbiters.forEach(function(e){t=t.concat(e.connections())}),t},d.prototype.toJSON=function(){return{primary:this.primary?this.primary.lastIsMaster().me:null,secondaries:this.secondaries.map(function(e){return e.lastIsMaster().me})}},d.prototype.lastIsMaster=function(){return this.primary?this.primary.lastIsMaster():this.secondaries.length>0?this.secondaries[0].lastIsMaster():{}},d.prototype.promotePrimary=function(e){var t=this.get(e);return null==t?void(this.primary=e):(this.remove(t),void(this.primary=t))};var v=function(e,t,n){for(var r=0;r<t.length;r++)if(t[r].equals(n))return!1;return t.push(n),!0};d.prototype.addSecondary=function(e){return v(this,this.secondaries,e)},d.prototype.addArbiter=function(e){return v(this,this.arbiters,e)},d.prototype.addPassive=function(e){return v(this,this.passives,e)};var g=function(e,t){var r=new n(e.toHexString(),\"hex\"),i=new n(t.toHexString(),\"hex\");if(r===i)return 0;if(\"function\"==typeof n.compare)return n.compare(r,i);for(var o=r.length,a=i.length,s=Math.min(o,a),c=0;s>c&&r[c]===i[c];c++);return c!==s&&(o=r[c],a=i[c]),a>o?-1:o>a?1:0};d.prototype.update=function(e,t){var n=this;if(this.clean(),!e.ismaster&&!e.secondary&&!e.arbiterOnly||!Array.isArray(e.hosts)){var r=n.remove(t);return n.state==l&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] removing %s from set\",n.id,e.me)),n.replSet.emit(\"left\",r,t)),i(this),!1}if(null==n.setName&&e.setName&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] setting setName to %s\",n.id,e.setName)),n.setName=e.setName),e.setName&&n.setName!=e.setName)return n.logger.isError()&&n.logger.error(a(\"[%s] server in replset %s is not part of the specified setName %s\",n.id,e.setName,n.setName)),n.remove(t),n.replSet.emit(\"error\",new c(\"provided setName for Replicaset Connection does not match setName found in server seedlist\")),i(this),!1;if(n.logger.isInfo()&&n.logger.info(a(\"[%s] updating replicaset state %s\",n.id,JSON.stringify(this))),e.ismaster&&n.setName==e.setName&&!n.isPrimary(e.me)){if(e.electionId instanceof s&&n.electionId instanceof s)if(-1==g(n.electionId,e.electionId))n.electionId=e.electionId;else{if(0!=g(n.electionId,e.electionId))return!1;n.electionId=e.electionId}e.electionId instanceof s&&null==n.electionId&&(n.electionId=e.electionId),n.promotePrimary(t),n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to primary\",n.id,e.me)),n.replSet.emit(\"joined\",\"primary\",this.primary),i(this),n.state==p?(n.state=l,n.replSet.emit(\"connect\",n.replSet)):(n.state=l,n.replSet.emit(\"reconnect\",t))}else{if(!e.ismaster&&n.setName==e.setName&&e.arbiterOnly)return n.addArbiter(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to arbiter\",n.id,e.me)),n.replSet.emit(\"joined\",\"arbiter\",t),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary&&e.passive)return n.addPassive(t)&&n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to passive\",n.id,e.me)),n.replSet.emit(\"joined\",\"passive\",t),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary)return n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to secondary\",n.id,e.me)),n.replSet.emit(\"joined\",\"secondary\",t),n.primary&&n.primary.name==t.name&&(n.primary=null),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1}return!0},t.exports=d}).call(this,e(\"buffer\").Buffer)},{\"../connection/logger\":197,\"../error\":201,bson:59,buffer:void 0,util:void 0}],207:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"../connection/utils\").bindToCurrentDomain,s=e(\"events\").EventEmitter,c=e(\"../connection/pool\"),u=e(\"bson\"),p=e(\"crypto\"),l=e(\"../connection/commands\").Query,f=e(\"../error\"),d=e(\"./read_preference\"),h=e(\"../cursor\"),m=e(\"./command_result\"),v=e(\"../connection/utils\").getSingleProperty,g=e(\"../connection/utils\").getProperty,y=e(\"../connection/utils\").debugOptions,b=e(\"bson\")[\"native\"]().BSON,x=e(\"../wireprotocol/2_4_support\"),w=e(\"../wireprotocol/2_6_support\"),_=e(\"../wireprotocol/3_2_support\"),k=e(\"./session\"),j=e(\"../connection/logger\"),S=e(\"../auth/mongocr\"),E=e(\"../auth/x509\"),O=e(\"../auth/plain\"),A=e(\"../auth/gssapi\"),C=e(\"../auth/sspi\"),T=e(\"../auth/scram\"),I=[u.Long,u.ObjectID,u.Binary,u.Code,u.DBRef,u.Symbol,u.Double,u.Timestamp,u.MaxKey,u.MinKey],P=null,F=0,M=0,z=function(){this.callbacks={},this.id=M++,this.type=\"server\"};z.prototype.flush=function(e){for(var t in this.callbacks)if(!isNaN(parseInt(t,10))){var n=this.callbacks[t];delete this.callbacks[t],n(e,null)}},z.prototype.flushConnection=function(e,t){for(var n in this.callbacks)if(!isNaN(parseInt(n,10))){var r=this.callbacks[n];r.connection&&r.connection.id===t.id?(delete this.callbacks[n],r(e,null)):!r.connection&&r.monitoring&&(delete this.callbacks[n],r(e,null))}},z.prototype.callback=function(e){return this.callbacks[e]},z.prototype.emit=function(e,t,n){var r=this.callbacks[e];delete this.callbacks[e],r(t,n)},z.prototype.raw=function(e){return null==this.callbacks[e]?!1:1==this.callbacks[e].raw},z.prototype.documentsReturnedIn=function(e){return null==this.callbacks[e]?!1:\"string\"==typeof this.callbacks[e].documentsReturnedIn?this.callbacks[e].documentsReturnedIn:null},z.prototype.unregister=function(e){delete this.callbacks[e]},z.prototype.register=function(e,t){this.callbacks[e]=a(t)};var B=\"disconnected\",N=\"connecting\",D=\"connected\",q=\"destroyed\",R=function(e){return e.ismaster&&\"number\"==typeof e.ismaster.minWireVersion},L=function(e){return e&&e.maxWireVersion>=4?new _(new w):e&&e.maxWireVersion>=2?new w:new x},$=function(e,t){if(e&&t&&t.callbacks&&t.callbacks.flush(new f(o(\"server %s received a broken socket pipe error\",e.name))),0==t.currentReconnectRetry)return e.destroy(!0,!0);t.currentReconnectRetry=t.currentReconnectRetry-1,t.state=N,t.pool&&t.pool.destroy(),t.pool=new c(t.options);var n=function(n){t.state=B,t.pool.destroy(),t.currentReconnectRetry=t.currentReconnectRetry-1,t.currentReconnectRetry<=0?(e.state=q,e.emit(\"error\",o(\"failed to connect to %s:%s after %s retries\",t.options.host,t.options.port,t.reconnectTries))):setTimeout(function(){$(e,t)},t.reconnectInterval)};t.pool.once(\"connect\",function(){t.currentReconnectRetry=t.reconnectTries;var r=[\"error\",\"close\",\"timeout\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];r.forEach(function(e){t.pool.removeAllListeners(e)}),t.state=D,t.pool.on(\"error\",n),t.pool.on(\"close\",Y(e,t)),t.pool.on(\"timeout\",W(e,t)),t.pool.on(\"parseError\",V(e,t));var i=Object.keys(t.authProviders);if(0==i.length)return e.emit(\"reconnect\",e);for(var o=t.pool.getAll(),a=i.length,s=0;s<i.length;s++)t.authProviders[i[s]].reauthenticate(e,o,function(n,r){return a-=1,0==a?t.ismaster?e.emit(\"reconnect\",e):K(e,t)():void 0})}),t.pool.once(\"error\",H(e,t)),t.pool.once(\"close\",H(e,t)),t.pool.once(\"timeout\",H(e,t)),t.pool.once(\"parseError\",H(e,t)),t.pool.connect()},U=function(e,t){return function(n,r){try{var i=t.callbacks.callback(n.responseTo),a={raw:t.callbacks.raw(n.responseTo),promoteLongs:i&&\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,documentsReturnedIn:t.callbacks.documentsReturnedIn(n.responseTo)};n.parse(a),(i&&!i.noRelease||!i)&&e.s.pool.connectionAvailable(r),t.logger.isDebug()&&t.logger.debug(o(\"message [%s] received from %s\",n.raw.toString(\"hex\"),e.name)),t.callbacks.emit(n.responseTo,null,n)}catch(s){t.callbacks.flushConnection(new f(s),r),e.destroy()}}},H=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.destroy(),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval)))}},V=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},W=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"timeout\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s timed out\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),e.emit(\"timeout\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},Y=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"close\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s closed\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s sockets closed\",e.name)),r),e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.listeners(\"topologyClosed\").length>0&&!e.s.inTopology&&e.emit(\"topologyClosed\",{topologyId:e.s.id}),e.emit(\"close\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},K=function(e,t){var n=function(n){var r=Object.keys(t.authProviders);if(0==r.length)return n(null,null);for(var i=t.pool.getAll(),o=r.length,a=0;a<r.length;a++)t.authProviders[r[a]].reauthenticate(e,i,function(e,t){return o-=1,0==o?n(null,null):void 0})};return function(){n(function(){t.monitoring&&(e.s.inquireServerStateTimeout=setTimeout(oe(e),t.haInterval));var n=(new Date).getTime();e.command(\"admin.$cmd\",{ismaster:!0},function(r,i){return r?(t.state=B,e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.s.inTopology||e.emit(\"topologyOpening\",{topologyId:e.s.id}),e.emit(\"close\",r,e)):(ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),ne(e,{topologyType:\"Single\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Standalone\"}]}),t.isMasterLatencyMS=(new Date).getTime()-n,r||(t.ismaster=i.result),e.emit(\"ismaster\",i.result,e),t.wireProtocolHandler=L(t.ismaster),t.options.wireProtocolHandler=t.wireProtocolHandler,t.logger.isInfo()&&t.logger.info(o(\"server %s connected with ismaster [%s]\",e.name,JSON.stringify(i.result))),R(t)||null!=t.wireProtocolHandler?(t.ismaster&&t.ismaster.me&&(t.serverDetails.name=t.ismaster.me),null==t.readPreferenceStrategies?(t.state=D,e.emit(\"connect\",e)):void J(e,e.s,\"connect\",[e],function(n,r){return t.state=D,e.emit(\"connect\",e)})):(t.state=B,e.emit(\"error\",new f(\"non supported server version\"),e)))})})}},G=function(e){return e?e.slaveOk():!1},J=function(e,t,n,r,i){if(\"function\"==typeof i){var o=Object.keys(t.readPreferenceStrategies).length;if(0==o)return i(null,null);for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a],c=r.slice(0);c.push(function(e,t){o-=1,0==o&&i(null,null)}),s[n].apply(s,c)}}else for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a];s[n].apply(s,r)}},Z=[\"reconnect\",\"reconnectTries\",\"reconnectInterval\",\"emitError\",\"cursorFactory\",\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"checkServerIdentity\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"key\",\"rejectUnauthorized\",\"promoteLongs\"],Q=function(e){s.call(this),null==P&&(P=new b(I));var t=e.reconnectTries||30;this.s={options:e,callbacks:new z,logger:j(\"Server\",e),state:B,reconnect:\"boolean\"==typeof e.reconnect?e.reconnect:!0,reconnectTries:t,reconnectInterval:e.reconnectInterval||1e3,emitError:\"boolean\"==typeof e.emitError?e.emitError:!1,currentReconnectRetry:t,ismaster:null,readPreferenceStrategies:e.readPreferenceStrategies,authProviders:e.authProviders||{},id:F++,topologyId:e.topologyId||-1,tag:e.tag,disconnectHandler:e.disconnectHandler,monitoring:\"boolean\"==typeof e.monitoring?e.monitoring:!1,haInterval:e.haInterval||1e4,wireProtocolHandler:e.wireProtocolHandler||new x,Cursor:e.cursorFactory||h,bsonInstance:P,inquireServerStateTimeout:null,bson:e.bson?e.bson:P,pool:null,isMasterLatencyMS:0,inTopology:\"boolean\"==typeof e.inTopology?e.inTopology:!1,serverDetails:{host:e.host,port:e.port,name:e.port?o(\"%s:%s\",e.host,e.port):e.host},serverDescription:null,topologyDescription:null};var n=p.createHash(\"sha1\");n.update(o(\"%s:%s\",this.host,this.port)),this.hashedName=n.digest(\"hex\");var r=this.s;e.bson=r.bson,g(this,\"name\",\"name\",r.serverDetails,{}),g(this,\"bson\",\"bson\",r.options,{}),g(this,\"wireProtocolHandler\",\"wireProtocolHandler\",r.options,{}),v(this,\"id\",r.id),e.authProviders||(this.addAuthProvider(\"mongocr\",new S),this.addAuthProvider(\"x509\",new E),this.addAuthProvider(\"plain\",new O),this.addAuthProvider(\"gssapi\",new A),this.addAuthProvider(\"sspi\",new C),this.addAuthProvider(\"scram-sha-1\",new T))};i(Q,s);var X=function(e){return e.s.serverDescription||(e.s.serverDescription={address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}),e.s.serverDescription},ee=function(e,t){e.listeners(\"serverDescriptionChanged\").length>0&&(e.emit(\"serverDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:X(e),newDescription:t}),e.s.serverDescription=t)},te=function(e){return e.s.topologyDescription||(e.s.topologyDescription={topologyType:\"Unknown\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}]}),e.s.topologyDescription},ne=function(e,t){e.listeners(\"topologyDescriptionChanged\").length>0&&(e.emit(\"topologyDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:te(e),newDescription:t}),e.s.serverDescription=t)};Q.prototype.getDescription=function(){var e=this.s.ismaster||{},t={type:re(this),address:this.name};return e.hosts&&(t.hosts=e.hosts),e.arbiters&&(t.arbiters=e.arbiters),e.passives&&(t.passives=e.passives),e.setName&&(t.setName=e.setName),t},Q.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new f(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(I)},Q.prototype.lastIsMaster=function(){return this.s.ismaster},Q.prototype.isMasterLatencyMS=function(){return this.s.isMasterLatencyMS},Q.prototype.connect=function(e){var t=this;e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.s.options.promoteLongs=e.promoteLongs),t.s.pool&&t.s.pool.destroy(),t.s.state=N,t.s.options.messageHandler=U(t,t.s),t.s.pool=new c(t.s.options),t.s.pool.on(\"timeout\",W(t,t.s)),t.s.pool.on(\"close\",Y(t,t.s)),t.s.pool.on(\"error\",H(t,t.s)),t.s.pool.once(\"connect\",K(t,t.s)),t.s.pool.on(\"parseError\",V(t,t.s)),t.s.inTopology||this.emit(\"topologyOpening\",{topologyId:this.s.id}),t.emit(\"serverOpening\",{topologyId:-1!=t.s.topologyId?t.s.topologyId:t.s.id,address:t.name}),t.s.pool.on(\"connection\",function(e){var n=Object.keys(t.s.authProviders);if(0==n.length)return t.s.pool.connectionAvailable(e);for(var r=[e],i=n.length,o=0;o<n.length;o++)t.s.authProviders[n[o]].reauthenticate(t,r,function(n,r){return i-=1,0==i?t.s.pool.connectionAvailable(e):void 0})}),t.s.pool.connect()};var re=function(e,t){return t||(t=e.s.ismaster),t?t.ismaster&&!t.hosts?\"Standalone\":t.ismaster&&\"isdbgrid\"==t.msg?\"Mongos\":t.ismaster?\"RSPrimary\":t.secondary?\"RSSecondary\":t.arbiterOnly?\"RSArbiter\":\"Unknown\":\"Unknown\"},ie=function(e,t,n){var r=re(e,t),i=re(e,n);return i!=r},oe=function(e){return function(){if(e.s.state!=q){var t=(new Date).getTime();r(e,\"serverHeartbeatStarted\",{connectionId:e.name}),e.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(n,i){if(n)r(e,\"serverHearbeatFailed\",{durationMS:o,failure:n,connectionId:e.name});else{e.emit(\"ismaster\",i,e);var o=(new Date).getTime()-t;r(e,\"serverHeartbeatSucceeded\",{durationMS:o,reply:i.result,connectionId:e.name}),ie(e,e.s.ismaster,i.result)&&ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),e.s.ismaster=i.result,e.s.isMasterLatencyMS=o}e.s.inquireServerStateTimeout=setTimeout(oe(e),e.s.haInterval)})}}};Q.prototype.unref=function(){this.s.pool.unref()},Q.prototype.destroy=function(e,t){var n=this;n.s.logger.isDebug()&&n.s.logger.debug(o(\"destroy called on server %s\",n.name)),n.s.state!=q&&(this.s.inquireServerStateTimeout&&clearTimeout(this.s.inquireServerStateTimeout),e&&n.listeners(\"close\").length>0&&n.emit(\"close\",null,n),n.listeners(\"serverClosed\").length>0&&n.emit(\"serverClosed\",{topologyId:-1!=n.s.topologyId?n.s.topologyId:n.s.id,address:n.name}),n.listeners(\"topologyClosed\").length>0&&!n.s.inTopology&&n.emit(\"topologyClosed\",{topologyId:n.s.id}),t&&n.emit(\"destroy\",n),n.s.state=q,n.s.pool&&n.s.pool.destroy(),n.s.callbacks&&n.s.callbacks.flush(new f(o(\"server %s sockets closed\",n.name))))},Q.prototype.isConnected=function(){var e=this;return e.s.pool?e.s.pool.isConnected():!1},Q.prototype.isDestroyed=function(){return this.s.state==q};var ae=function(e,t,n,r,i,o,a){var s=new l(e.s.bson,t,n,r);s.slaveOk=G(i.readPreference),null!=e.s.readPreferenceStrategies&&J(e,e.s,\"startOperation\",[e,s,new Date]);var c=\"boolean\"==typeof i.raw?i.raw:!1,u=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,p=\"boolean\"==typeof i.monitoring?i.monitoring:!1;if(o)for(var d=e.s.pool.getAll(),h=d.length,v=null,g=0;g<d.length;g++){var y=function(t){return function(n,r){if(n&&(v=n),h-=1,0==h){if(J(e,e.s,\"endOperation\",[e,v,r,new Date]),v)return a(f.create(v));r.hashedName=t.hashedName;try{a(null,new m(i.fullResult?r:r.documents[0],d))}catch(n){process.nextTick(function(){throw n})}}}};try{s.incRequestId(),d[g].write(s.toBin())}catch(b){if(h-=1,0==h)return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,y.monitoring=p,y.connection=d[g],e.s.callbacks.register(s.requestId,y(d[g]))}else{var y=function(t,n){if(J(e,e.s,\"endOperation\",[e,t,n,new Date]),t)return a(t);if(n.documents[0].$err||n.documents[0].errmsg||n.documents[0].err||n.documents[0].code)return a(f.create(n.documents[0]));n.hashedName=n.connection.hashedName;try{a(null,new m(i.fullResult?n:n.documents[0],n.connection))}catch(t){process.nextTick(function(){throw t})}};try{y.monitoring=p,i.connection?(y.connection=i.connection,y.noRelease=!0,i.connection.write(s.toBin())):e.s.pool.write(s.toBin(),y,i)}catch(b){return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,e.s.callbacks.register(s.requestId,y)}};Q.prototype.command=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(this.s.state==q)return r(new f(o(\"topology was destroyed\")));if(n=n||{},n.readPreference&&!(n.readPreference instanceof d))throw new Error(\"readPreference must be an instance of ReadPreference\");if(i.s.logger.isDebug()&&i.s.logger.debug(o(\"executing command [%s] against %s\",JSON.stringify({ns:e,cmd:t,options:y(Z,n)}),i.name)),!i.isConnected()&&null!=i.s.disconnectHandler)return r=a(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);if(!i.s.pool.isConnected())return r(new f(o(\"no connection available to server %s\",i.name)));var s=\"boolean\"==typeof n.onAll?n.onAll:!1,c=\"boolean\"==typeof n.checkKeys?n.checkKeys:!1,u=\"boolean\"==typeof n.serializeFunctions?n.serializeFunctions:!1,p=\"boolean\"==typeof n.ignoreUndefined?n.ignoreUndefined:!1,l=(\"boolean\"==typeof n.raw?n.raw:!1,{numberToSkip:0,numberToReturn:-1,checkKeys:c});u&&(l.serializeFunctions=u),p&&(l.ignoreUndefined=p),ae(i,e,t,l,n,s,r)},Q.prototype.insert=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.insert(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"insert\",e,t,n,r))},Q.prototype.update=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.update(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"update\",e,t,n,r))},Q.prototype.remove=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.remove(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"remove\",e,t,n,r))},Q.prototype.auth=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==n.s.authProviders[e]&&\"default\"!=e)throw new f(o(\"auth provider %s does not exist\",e));\"default\"==e&&n.s.ismaster&&n.s.ismaster.maxWireVersion>=3?e=\"scram-sha-1\":\"default\"==e&&(e=\"mongocr\");var a=n.s.pool.getAll(),s=[n,a,t].concat(r.slice(0)).concat([function(e,t){return e?i(e):t?void i(null,new k({},n)):i(new f(\"could not authenticate\"))}]);n.s.authProviders[e].auth.apply(n.s.authProviders[e],s)},Q.prototype.addReadPreferenceStrategy=function(e,t){var n=this;null==n.s.readPreferenceStrategies&&(n.s.readPreferenceStrategies={}),n.s.readPreferenceStrategies[e]=t},Q.prototype.addAuthProvider=function(e,t){var n=this;n.s.authProviders[e]=t},Q.prototype.equals=function(e){return\"string\"==typeof e?e==this.name:e&&e.name?e.name==this.name:!1},Q.prototype.connections=function(){return this.s.pool.getAll()},Q.prototype.getServer=function(e){return this},Q.prototype.getConnection=function(e){return this.s.pool.get()},Q.prototype.getCallbacks=function(){return this.s.callbacks},Q.prototype.parserType=function(){var e=this.s;return-1!=e.options.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},Q.prototype.cursor=function(e,t,n){var r=this.s;n=n||{};var i=n.cursorFactory||r.Cursor;return new i(r.bson,e,t,n,this,r.options)},t.exports=Q},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/commands\":195,\"../connection/logger\":197,\"../connection/pool\":198,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"../wireprotocol/2_4_support\":210,\"../wireprotocol/2_6_support\":211,\"../wireprotocol/3_2_support\":212,\"./command_result\":202,\"./read_preference\":204,\"./session\":208,bson:59,crypto:void 0,events:void 0,util:void 0}],208:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"events\").EventEmitter),o=function(e,t){this.options=e,this.topology=t,i.call(this)};r(o,i),o.prototype.command=function(e,t,n,r){this.topology.command(e,t,n,r)},o.prototype.insert=function(e,t,n,r){this.topology.insert(e,t,n,r)},o.prototype.update=function(e,t,n,r){this.topology.update(e,t,n,r)},o.prototype.remove=function(e,t,n,r){this.topology.remove(e,t,n,r)},o.prototype.cursor=function(e,t,n){return this.topology.cursor(e,t,n)},t.exports=o},{events:void 0,util:void 0}],209:[function(e,t,n){\"use strict\";var r=e(\"../../connection/logger\"),i=e(\"events\").EventEmitter,o=e(\"util\").inherits,a=e(\"util\").format,s=function(e){i.call(this),this.s={pings:{},options:e||{},logger:r(\"Ping\",e),pingInterval:e.pingInterval||1e4,acceptableLatency:e.acceptableLatency||15,debug:\"boolean\"==typeof e.debug?e.debug:!1,index:0,lastPing:null},this.s.logger.isDebug()&&this.s.logger.debug(a(\"ping strategy interval [%s], acceptableLatency [%s]\",this.s.pingInterval,this.s.acceptableLatency)),this.s.debug&&Object.defineProperty(this,\"data\",{enumerable:!0,get:function(){return this.s.pings}})};o(s,i);var c=function(e,t){if(null==e.tags)return t;for(var n=[],r=e.tags,i=0;i<t.length;i++){var o=t[i].lastIsMaster().tags||{},a=!0;for(var s in r)o[s]!=r[s]&&(a=!1);a&&n.push(t[i])}return n};s.prototype.pickServer=function(e,t){var n=this,r=[];e.primary&&r.push(e.primary);for(var i=0;i<e.secondaries.length;i++)r.push(e.secondaries[i]);r=c(t,r);for(var o=[],i=0;i<r.length;i++)o.push({name:r[i].name,time:n.s.pings[r[i].name]||0});o.sort(function(e,t){return e.time>t.time});var s=o.length>0?o[0].time:0;return o=o.filter(function(e){return e.time<=s+n.s.acceptableLatency}),0==o.length&&e.primary?(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked primary server [%s]\",e.primary.name)),e.primary):0==o.length?null:(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked server [%s] with ping latency [%s]\",o[0].name,o[0].time)),n.s.index=n.s.index+1,n.s.index=n.s.index%o.length,e.get(o[n.s.index].name))},s.prototype.startOperation=function(e,t,n){},s.prototype.endOperation=function(e,t,n,r){},s.prototype.ha=function(e,t,n){var r=this,i=t.getAll(),o=i.length;if(0==i.length)return n(null,null);if(null!=r.s.lastPing){var s=(new Date).getTime()-r.s.lastPing.getTime();if(s<r.s.pingInterval)return n(null,null)}for(var c=function(t){var i=new Date;t.command(\"system.$cmd\",{ismaster:1},function(s,c){o-=1;var u=(new Date).getTime()-i.getTime();r.s.pings[t.name]=u,r.s.logger.isDebug()&&r.s.logger.debug(a(\"ha latency for server [%s] is [%s] ms\",t.name,u)),0==o&&(e.emit(\"ping\",s,c?c.result:null),r.s.lastPing=new Date,n(null,null))})};i.length>0;)c(i.shift())};var u=function(e,t){delete e.s.pings[t.name]};s.prototype.close=function(e){u(this,e)},s.prototype.error=function(e){u(this,e)},s.prototype.timeout=function(e){u(this,e)},s.prototype.connect=function(e,t){var n=this,r=new Date;e.command(\"system.$cmd\",{ismaster:1},function(i,o){var s=(new Date).getTime()-r.getTime();n.s.pings[e.name]=s,n.s.logger.isDebug()&&n.s.logger.debug(a(\"connect latency for server [%s] is [%s] ms\",e.name,s)),n.s.lastPing=new Date,t(null,null)})},t.exports=s},{\"../../connection/logger\":197,events:void 0,util:void 0}],210:[function(e,t,n){\"use strict\";var r=e(\"./commands\").Insert,i=e(\"./commands\").Update,o=e(\"./commands\").Remove,a=e(\"../connection/commands\").Query,s=e(\"../connection/utils\").copy,c=e(\"../connection/commands\").KillCursor,u=e(\"../connection/commands\").GetMore,a=e(\"../connection/commands\").Query,p=(e(\"../topologies/read_preference\"),e(\"util\").format),l=e(\"../topologies/command_result\"),f=e(\"../error\"),d=e(\"bson\").Long,h=e(\"./shared\").getReadPreference,m=[\"w\",\"wtimeout\",\"j\",\"fsync\"],v=function(){};v.prototype.insert=function(e,t,n,i,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;\"boolean\"==typeof c.legacy?c.legacy:!1;if(s=Array.isArray(s)?s:[s],s.length>1e3)return u(new f(\"exceeded maximum write batch size of 1000\"));\nvar l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"insert\",r,t,n,i,o,a,s,c,u):j(\"insert\",r,t,n,i,o,a,s,c,u)},v.prototype.update=function(e,t,n,r,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"update\",i,t,n,r,o,a,s,c,u):j(\"update\",i,t,n,r,o,a,s,c,u)},v.prototype.remove=function(e,t,n,r,i,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"remove\",o,t,n,r,i,a,s,c,u):j(\"remove\",o,t,n,r,i,a,s,c,u)},v.prototype.killCursor=function(e,t,n,r,i,o){var a=new c(e,[n]);r&&r.isConnected()&&r.write(a.toBin(),o,{immediateRelease:!0}),n=d.ZERO,o&&o(null,null)},v.prototype.getMore=function(e,t,n,r,i,o,a,s,c){var p=new u(e,t,n.cursorId,{numberToReturn:r}),l=function(e,t){if(e)return c(e);if(0!=(1&t.responseFlags))return c(new f(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?d.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,c(null,null,t.connection)};i&&(l.raw=i),\"boolean\"==typeof n.promoteLongs&&(l.promoteLongs=n.promoteLongs),a.register(p.requestId,l),o.write(p.toBin(),l)},v.prototype.command=function(e,t,n,r,i,o){if(n.find)return g(e,t,n,r,i,o);if(null==r.cursorId){if(n)return y(e,t,n,r,i,o);throw new f(p(\"command %s does not return a cursor\",JSON.stringify(n)))}};var g=function(e,t,n,r,i,o){o=o||{};var c=h(n,o);r.batchSize=n.batchSize||r.batchSize;var u=0;u=0==r.limit?r.batchSize:r.limit<0||r.limit<r.batchSize||r.limit>0&&0==r.batchSize?r.limit:r.batchSize;var l=r.skip||0,d={},m=!1;if(\"mongos\"==i.type&&c&&(d.$readPreference=c.toJSON(),m=!0),n.sort&&(d.orderby=n.sort,m=!0),n.hint&&(d.$hint=n.hint,m=!0),n.snapshot&&(d.$snapshot=n.snapshot,m=!0),n.returnKey&&(d.$returnKey=n.returnKey,m=!0),n.maxScan&&(d.$maxScan=n.maxScan,m=!0),n.min&&(d.$min=n.min,m=!0),n.max&&(d.$max=n.max,m=!0),n.showDiskLoc&&(d.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(d.$comment=n.comment,m=!0),n.maxTimeMS&&(d.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(u=-Math.abs(n.limit||0),m=!0,d.$explain=!0),m?d.$query=n.query:d=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=s(n),delete n.readConcern);var v=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,g=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1,y=new a(e,t,d,{numberToSkip:l,numberToReturn:u,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=c.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},y=function(e,t,n,r,i,o){o=o||{};var s=h(n,o),c={};for(var u in n)c[u]=n[u];var l=t.split(/\\./);if(n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern;var d=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,m=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1;\"mongos\"==i.type&&s&&\"primary\"!=s.preference&&(c={$query:c,$readPreference:s.toJSON()});var v=new a(e,p(\"%s.$cmd\",l.shift()),c,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:m});return v.slaveOk=s.slaveOk(),v},b=function(e){var t=process.domain;return null==t||null==e?e:t.bind(e)},x=function(e){return!(!e.w&&!e.wtimeout&&1!=e.j&&1!=e.fsync&&0!=Object.keys(e).length)},w=function(e){var t={};return null!=e.w&&(t.w=e.w),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),null!=e.j&&(t.j=e.j),null!=e.fsync&&(t.fsync=e.fsync),t},_=function(e,t,n,r){for(var i={ok:1,n:0},o=0;o<n.length;o++){var a=n[o],s=t[o];!a.upserted&&0!=a.updatedExisting||null!=i.upserted||(i.upserted=[]),a.upserted&&i.upserted.push({index:o,_id:a.upserted}),0==a.updatedExisting&&1==a.n&&null==a.upserted&&i.upserted.push({index:o,_id:s.q._id}),1==a.ok&&\"insert\"==e&&null==a.err&&(i.n=i.n+1),null!=a&&0==a.ok||a.err||a.errmsg?(0==a.ok&&(i.ok=0),i.code=a.code,i.errmsg=a.errmsg||a.err||a.errMsg,11e3==a.code||11001==a.code||12582==a.code||16544==a.code||16538==a.code||16542==a.code||14==a.code||13511==a.code?(null==i.writeErrors&&(i.writeErrors=[]),i.writeErrors.push({index:o,code:a.code,errmsg:a.errmsg||a.err||a.errMsg})):i.writeConcernError={code:a.code,errmsg:a.errmsg||a.err||a.errMsg}):\"number\"==typeof a.n?i.n+=a.n:i.n+=1,null!=a&&a.lastOp&&(i.lastOp=a.lastOp)}return new l(i,r)},k=function(e,t,n,r,i,o,s,c,u,l){var d=c.slice(0);l=b(l);var h=[],v=function(d,g){if(0==d.length)return process.nextTick(function(){g(null,_(e,c,h,null))});var y=d.shift(),b=new t(a.getRequestId(),n,i,r,[y],u),k=u.writeConcern||{w:1},j=w(k),S=r.split(\".\").shift();try{var E=[b.toBin()];if(x(j)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=j[m[A]]&&(O[m[A]]=j[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t,n){if(t)return l(t);var r=n.documents[0];return h.push(r),0==r.ok||r.err||r.errmsg?l(null,_(e,c,h,n.connection)):void v(d,l)};s.register(C.requestId,T),o.write(E,T)}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h.push({ok:1,errmsg:I.message,code:14}),process.nextTick(function(){l(null,_(e,c,h,null))})}};v(d,l)},j=function(e,t,n,r,i,o,s,c,u,l){l=b(l);for(var d,h=c.length,v=[],g=u.writeConcern||{w:1},y=w(g),k=0;k<c.length;k++){var j=new t(a.getRequestId(),n,i,r,[c[k]],u),S=r.split(\".\").shift();try{var E=[j.toBin()];if(x(y)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=y[m[A]]&&(O[m[A]]=y[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t){return function(n,r){n&&(d=n),h-=1,n||(v[t]=r.documents[0]),0==h&&process.nextTick(function(){return d?l(d):void l(null,_(e,c,v,r.connection))})}};s.register(C.requestId,T(k)),o.write(E,T(k))}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h-=1,v[k]={ok:1,errmsg:I.message,code:14},0==h&&l(null,_(e,c,v,null))}}y&&0==y.w&&l&&l(null,null)};t.exports=v},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],211:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),i=e(\"../connection/utils\").copy,o=e(\"../connection/commands\").KillCursor,a=e(\"../connection/commands\").GetMore,r=e(\"../connection/commands\").Query,s=(e(\"../topologies/read_preference\"),e(\"util\").format),c=(e(\"../topologies/command_result\"),e(\"../error\")),u=e(\"bson\").Long,p=e(\"./shared\").getReadPreference,l=function(){},f=function(e,t,n,r,i,o,a){if(0==i.length)throw new c(\"insert must contain at least one document\");\"function\"==typeof o&&(a=o,o={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof o.ordered?o.ordered:!0,f=o.writeConcern||{},d={};d[t]=u.join(\".\"),d[n]=i,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f);var h={};\"insert\"==t&&(h.checkKeys=!0),o.serializeFunctions&&(h.serializeFunctions=o.serializeFunctions),o.ignoreUndefined&&(h.ignoreUndefined=o.ignoreUndefined),e.command(s(\"%s.$cmd\",p),d,h,a)};l.prototype.insert=function(e,t,n,r,i,o,a,s,c){f(e,\"insert\",\"documents\",n,a,s,c)},l.prototype.update=function(e,t,n,r,i,o,a,s,c){f(e,\"update\",\"updates\",n,a,s,c)},l.prototype.remove=function(e,t,n,r,i,o,a,s,c){f(e,\"delete\",\"deletes\",n,a,s,c)},l.prototype.killCursor=function(e,t,n,r,i,a){var s=new o(e,[n]);r&&r.isConnected()&&r.write(s.toBin(),a,{immediateRelease:!0}),n=u.ZERO,a&&a(null,null)},l.prototype.getMore=function(e,t,n,r,i,o,s,p,l){var f=new a(e,t,n.cursorId,{numberToReturn:r}),d=function(e,t){if(e)return l(e);if(0!=(1&t.responseFlags))return l(new c(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?u.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,l(null,null,t.connection)};i&&(d.raw=i),\"boolean\"==typeof n.promoteLongs&&(d.promoteLongs=n.promoteLongs),s.register(f.requestId,d),o.write(f.toBin(),d)},l.prototype.command=function(e,t,n,r,i,o){if(n.find)return d(e,t,n,r,i,o);if(null==r.cursorId){if(n)return h(e,t,n,r,i,o);throw new c(s(\"command %s does not return a cursor\",JSON.stringify(n)))}};var d=function(e,t,n,o,a,u){u=u||{};var l=p(n,u);o.batchSize=n.batchSize||o.batchSize;var f=0;f=0==o.limit?o.batchSize:o.limit<0||o.limit<o.batchSize||o.limit>0&&0==o.batchSize?o.limit:o.batchSize;var d=o.skip||0,h={},m=!1;if(\"mongos\"==a.type&&l&&(h.$readPreference=l.toJSON(),m=!0),n.sort&&(h.orderby=n.sort,m=!0),n.hint&&(h.$hint=n.hint,m=!0),n.snapshot&&(h.$snapshot=n.snapshot,m=!0),n.returnKey&&(h.$returnKey=n.returnKey,m=!0),n.maxScan&&(h.$maxScan=n.maxScan,m=!0),n.min&&(h.$min=n.min,m=!0),n.max&&(h.$max=n.max,m=!0),n.showDiskLoc&&(h.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(h.$comment=n.comment,m=!0),n.maxTimeMS&&(h.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(f=-Math.abs(n.limit||0),m=!0,h.$explain=!0),m?h.$query=n.query:h=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=i(n),delete n.readConcern);var v=\"boolean\"==typeof u.serializeFunctions?u.serializeFunctions:!1,g=\"boolean\"==typeof u.ignoreUndefined?u.ignoreUndefined:!1,y=new r(e,t,h,{numberToSkip:d,numberToReturn:f,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=l.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},h=function(e,t,n,i,o,a){a=a||{};var u=p(n,a),l={};for(var f in n)l[f]=n[f];var d=t.split(/\\./),h=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,m=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1;if(n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern,\"mongos\"==o.type&&u&&\"primary\"!=u.preference&&(l={$query:l,$readPreference:u.toJSON()});var v=new r(e,s(\"%s.$cmd\",d.shift()),l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:h,ignoreUndefined:m});return v.slaveOk=u.slaveOk(),v};t.exports=l},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],212:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),r=(e(\"../connection/utils\").copy,e(\"../connection/commands\").KillCursor,e(\"../connection/commands\").GetMore,e(\"../connection/commands\").Query),i=(e(\"../topologies/read_preference\"),e(\"util\").format),o=(e(\"../topologies/command_result\"),e(\"../error\")),a=e(\"bson\").Long,s=e(\"./shared\").getReadPreference,c=function(e){this.legacyWireProtocol=e},u=function(e,t,n,r,a,s,c){if(0==a.length)throw new o(\"insert must contain at least one document\");\"function\"==typeof s&&(c=s,s={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof s.ordered?s.ordered:!0,f=s.writeConcern,d={};d[t]=u.join(\".\"),d[n]=a,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f),\"boolean\"==typeof s.bypassDocumentValidation&&(d.bypassDocumentValidation=s.bypassDocumentValidation);var h={};\"insert\"==t&&(h.checkKeys=!0),s.serializeFunctions&&(h.serializeFunctions=s.serializeFunctions),s.ignoreUndefined&&(h.ignoreUndefined=s.ignoreUndefined),e.command(i(\"%s.$cmd\",p),d,h,c)};c.prototype.insert=function(e,t,n,r,i,o,a,s,c){u(e,\"insert\",\"documents\",n,a,s,c)},c.prototype.update=function(e,t,n,r,i,o,a,s,c){u(e,\"update\",\"updates\",n,a,s,c)},c.prototype.remove=function(e,t,n,r,i,o,a,s,c){u(e,\"delete\",\"deletes\",n,a,s,c)},c.prototype.killCursor=function(e,t,n,a,s,c){var u=t.split(/\\./),p=i(\"%s.$cmd\",u.shift()),l={killCursors:u.join(\".\"),cursors:[n]},f=new r(e,p,l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});f.slaveOk=!0,a&&a.isConnected()&&a.write(f.toBin(),c);var d=function(e,t){if(e){if(\"function\"!=typeof c)return;return c(e)}if(0!=(1&t.responseFlags)){if(\"function\"!=typeof c)return;return c(new o(\"cursor killed or timed out\"),null)}if(!Array.isArray(t.documents)||0==t.documents.length){if(\"function\"!=typeof c)return;return c(new o(i(\"invalid killCursors result returned for cursor id %s\",cursorState.cursorId)))}\"function\"==typeof c&&c(null,t.documents[0])};s.register(f.requestId,d)},c.prototype.getMore=function(e,t,n,s,c,u,p,l,f){l=l||{};var d=t.split(/\\./),h=i(\"%s.$cmd\",d.shift()),m=(\"number\"==typeof n.cmd.maxTimeMS?n.cmd.maxTimeMS:3e3,{getMore:n.cursorId,collection:d.join(\".\"),batchSize:Math.abs(s)});n.cmd.tailable&&\"number\"==typeof n.cmd.maxAwaitTimeMS&&(m.maxTimeMS=n.cmd.maxAwaitTimeMS);var v=new r(e,h,m,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});v.slaveOk=!0;var g=function(e,t){if(e)return f(e);if(0!=(1&t.responseFlags))return f(new o(\"cursor killed or timed out\"),null);if(c)return n.documents=t.documents,n.cursorId=t.cursorId,f(null,t.documents);if(0==t.documents[0].ok)return f(o.create(t.documents[0]));var r=\"number\"==typeof t.documents[0].cursor.id?a.fromNumber(t.documents[0].cursor.id):t.documents[0].cursor.id;n.documents=t.documents[0].cursor.nextBatch,n.cursorId=r,f(null,t.documents[0],t.connection)};c&&(g.raw=c),g.documentsReturnedIn=\"nextBatch\",\"boolean\"==typeof n.promoteLongs&&(g.promoteLongs=n.promoteLongs),p.register(v.requestId,g),u.write(v.toBin(),g)},c.prototype.command=function(e,t,n,r,a,s){if(n.find){var c=p(e,t,n,r,a,s);return n.virtual=!1,c.documentsReturnedIn=\"firstBatch\",c}if(null==r.cursorId){if(n)return l(e,t,n,r,a,s);throw new o(i(\"command %s does not return a cursor\",JSON.stringify(n)))}};var p=function(e,t,n,o,a,c){c=c||{};var u=s(n,c);o.batchSize=n.batchSize||o.batchSize;var p=t.split(/\\./),l=i(\"%s.$cmd\",p.shift()),f={find:p.join(\".\")};n.query&&(f.filter=n.query);var d=n.sort;if(Array.isArray(d)){var h={};if(d.length>0&&!Array.isArray(d[0])){var m=d[1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[0]]=m}else for(var v=0;v<d.length;v++){var m=d[v][1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[v][0]]=m}d=h}n.sort&&(f.sort=d),n.fields&&(f.projection=n.fields),n.hint&&(f.hint=n.hint),n.skip&&(f.skip=n.skip),n.limit&&(f.limit=n.limit),\"number\"==typeof n.batchSize&&(f.batchSize=Math.abs(n.batchSize)),n.limit<0&&(f.limit=Math.abs(n.limit),f.singleBatch=!0),n.comment&&(f.comment=n.comment),n.maxScan&&(f.maxScan=n.maxScan),n.maxTimeMS&&(f.maxTimeMS=n.maxTimeMS),n.min&&(f.min=n.min),n.max&&(f.max=n.max),n.returnKey&&(f.returnKey=n.returnKey),n.showDiskLoc&&(f.showRecordId=n.showDiskLoc),n.snapshot&&(f.snapshot=n.snapshot),n.tailable&&(f.tailable=n.tailable),n.oplogReplay&&(f.oplogReplay=n.oplogReplay),n.noCursorTimeout&&(f.noCursorTimeout=n.noCursorTimeout),n.awaitData&&(f.awaitData=n.awaitData),n.awaitdata&&(f.awaitData=n.awaitdata),n.partial&&(f.partial=n.partial),n.explain&&(f={explain:f}),n.readConcern&&(f.readConcern=n.readConcern);var g=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,y=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(f={$query:f,$readPreference:u.toJSON()});var b=new r(e,l,f,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null,serializeFunctions:g,ignoreUndefined:y});return b.slaveOk=u.slaveOk(),b},l=function(e,t,n,o,a,c){c=c||{};var u=s(n,c),p={};for(var l in n)p[l]=n[l];var f=t.split(/\\./),d=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,h=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(p={$query:p,$readPreference:u.toJSON()});var m=new r(e,i(\"%s.$cmd\",f.shift()),p,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:h});return m.slaveOk=u.slaveOk(),m};t.exports=c},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],213:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../error\"),i=2001,o=2002,a=2006,s=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");if(!Array.isArray(o)||0==o.length)throw new r(\"documents array must contain at least one document to insert\");if(~i.indexOf(\"\\x00\"))throw new r(\"namespace cannot contain a null character\");this.requestId=e,this.bson=n,this.ns=i,this.documents=o,this.ismaster=t,a=a||{},this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!0,this.continueOnError=\"boolean\"==typeof a.continueOnError?a.continueOnError:!1,this.flags=this.continueOnError?1:0};s.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1);e.push(t);for(var i=t.length,a=0;a<this.documents.length;a++){var s=this.bson.serialize(this.documents[a],this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);if(s.length>this.ismaster.maxBsonObjectSize)throw new r(\"Document exceeds maximum allowed bson size of \"+this.ismaster.maxBsonObjectSize+\" bytes\");i+=s.length,e.push(s)}if(i>this.ismaster.maxMessageSizeBytes)throw new r(\"Command exceeds maximum message size of \"+this.ismaster.maxMessageSizeBytes+\" bytes\");var c=0;return t[c+3]=i>>24&255,t[c+2]=i>>16&255,t[c+1]=i>>8&255,t[c]=255&i,c+=4,t[c+3]=this.requestId>>24&255,t[c+2]=this.requestId>>16&255,t[c+1]=this.requestId>>8&255,t[c]=255&this.requestId,c+=4,t[c+3]=0,t[c+2]=0,t[c+1]=0,t[c]=0,c+=4,t[c+3]=o>>24&255,t[c+2]=o>>16&255,t[c+1]=o>>8&255,t[c]=255&o,c+=4,t[c+3]=this.flags>>24&255,t[c+2]=this.flags>>16&255,t[c+1]=this.flags>>8&255,t[c]=255&this.flags,c+=4,c=c+t.write(this.ns,c,\"utf8\")+1,t[c-1]=0,e};var c=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.upsert=\"boolean\"==typeof o[0].upsert?o[0].upsert:!1,this.multi=\"boolean\"==typeof o[0].multi?o[0].multi:!1,this.q=o[0].q,this.u=o[0].u,this.flags=this.upsert?1:0,this.flags=this.multi?2|this.flags:this.flags};c.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,o=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(o),r+=o.length;var a=this.bson.serialize(this.u,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(a),r+=a.length;var s=0;return t[s+3]=r>>24&255,t[s+2]=r>>16&255,t[s+1]=r>>8&255,t[s]=255&r,s+=4,t[s+3]=this.requestId>>24&255,t[s+2]=this.requestId>>16&255,t[s+1]=this.requestId>>8&255,t[s]=255&this.requestId,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,t[s+3]=i>>24&255,t[s+2]=i>>16&255,t[s+1]=i>>8&255,t[s]=255&i,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,s=s+t.write(this.ns,s,\"utf8\")+1,t[s-1]=0,t[s+3]=this.flags>>24&255,t[s+2]=this.flags>>16&255,t[s+1]=this.flags>>8&255,t[s]=255&this.flags,s+=4,e};var u=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.limit=\"number\"==typeof o[0].limit?o[0].limit:1,this.q=o[0].q,this.flags=1==this.limit?1:0};u.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,i=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(i),r+=i.length;var o=0;return t[o+3]=r>>24&255,t[o+2]=r>>16&255,t[o+1]=r>>8&255,t[o]=255&r,o+=4,t[o+3]=this.requestId>>24&255,t[o+2]=this.requestId>>16&255,t[o+1]=this.requestId>>8&255,t[o]=255&this.requestId,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,t[o+3]=a>>24&255,t[o+2]=a>>16&255,t[o+1]=a>>8&255,t[o]=255&a,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,o=o+t.write(this.ns,o,\"utf8\")+1,t[o-1]=0,t[o+3]=this.flags>>24&255,t[o+2]=this.flags>>16&255,t[o+1]=this.flags>>8&255,t[o]=255&this.flags,o+=4,e},t.exports={Insert:s,Update:c,Remove:u}}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,buffer:void 0}],214:[function(e,t,n){var r=e(\"../topologies/read_preference\"),i=function(e,t){var n=e.readPreference||new r(\"primary\");if(t.readPreference&&(n=t.readPreference),\"string\"==typeof n&&(n=new r(n)),!(n instanceof r))throw new MongoError(\"readPreference must be a ReadPreference instance\");return n};t.exports={getReadPreference:i}},{\"../topologies/read_preference\":204}],215:[function(e,t,n){var r=e(\"mongodb-core\"),i=e(\"./lib/apm\"),o=e(\"./lib/mongo_client\").connect;o.MongoError=r.MongoError,o.Admin=e(\"./lib/admin\"),o.MongoClient=e(\"./lib/mongo_client\"),o.Db=e(\"./lib/db\"),o.Collection=e(\"./lib/collection\"),o.Server=e(\"./lib/server\"),o.ReplSet=e(\"./lib/replset\"),o.Mongos=e(\"./lib/mongos\"),o.ReadPreference=e(\"./lib/read_preference\"),o.GridStore=e(\"./lib/gridfs/grid_store\"),o.Chunk=e(\"./lib/gridfs/chunk\"),o.Logger=r.Logger,o.Cursor=e(\"./lib/cursor\"),o.GridFSBucket=e(\"./lib/gridfs-stream\"),o.Binary=r.BSON.Binary,o.Code=r.BSON.Code,o.Map=r.BSON.Map,o.DBRef=r.BSON.DBRef,o.Double=r.BSON.Double,o.Long=r.BSON.Long,o.MinKey=r.BSON.MinKey,o.MaxKey=r.BSON.MaxKey,o.ObjectID=r.BSON.ObjectID,o.ObjectId=r.BSON.ObjectID,o.Symbol=r.BSON.Symbol,o.Timestamp=r.BSON.Timestamp,o.connect=o,o.instrument=function(e,t){return\"function\"==typeof e&&(t=e,e={}),new i(r,e,t)},t.exports=o},{\"./lib/admin\":216,\"./lib/apm\":218,\"./lib/collection\":222,\"./lib/cursor\":224,\"./lib/db\":225,\"./lib/gridfs-stream\":227,\"./lib/gridfs/chunk\":229,\"./lib/gridfs/grid_store\":230,\"./lib/mongo_client\":232,\"./lib/mongos\":233,\"./lib/read_preference\":234,\"./lib/replset\":235,\"./lib/server\":236,\"mongodb-core\":188}],216:[function(e,t,n){\"use strict\";var r=e(\"./utils\").toError,i=e(\"./metadata\"),o=e(\"./utils\").shallowClone,a=function(e,t,n){if(!(this instanceof a))return new a(e,t);this.s={db:e,topology:t,promiseLibrary:n}},s=a.define=new i(\"Admin\",a,!1);a.prototype.command=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},\"function\"==typeof n?this.s.db.executeDbAdminCommand(e,t,function(e,t){return null!=n?n(e,t):null}):new this.s.promiseLibrary(function(n,i){r.s.db.executeDbAdminCommand(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"command\",{callback:!0,promise:!0}),a.prototype.buildInfo=function(e){var t=this;return\"function\"==typeof e?this.serverInfo(e):new this.s.promiseLibrary(function(e,n){t.serverInfo(function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"buildInfo\",{callback:!0,promise:!0}),a.prototype.serverInfo=function(e){var t=this;return\"function\"==typeof e?this.s.db.executeDbAdminCommand({buildinfo:1},function(t,n){return null!=t?e(t,null):void e(null,n)}):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({buildinfo:1},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"serverInfo\",{callback:!0,promise:!0}),a.prototype.serverStatus=function(e){var t=this;return\"function\"==typeof e?c(t,e):new this.s.promiseLibrary(function(e,n){c(t,function(t,r){return t?n(t):void e(r)})})};var c=function(e,t){e.s.db.executeDbAdminCommand({serverStatus:1},function(e,n){return null!=e||1!==n.ok?e?t(e,!1):t(r(n),!1):void t(null,n)})};s.classMethod(\"serverStatus\",{callback:!0,promise:!0}),a.prototype.profilingLevel=function(e){var t=this;return\"function\"==typeof e?u(t,e):new this.s.promiseLibrary(function(e,n){u(t,function(t,r){return t?n(t):void e(r)})})};var u=function(e,t){e.s.db.executeDbAdminCommand({profile:-1},function(e,n){if(n=n,null==e&&1===n.ok){var r=n.was;return 0==r?t(null,\"off\"):1==r?t(null,\"slow_only\"):2==r?t(null,\"all\"):t(new Error(\"Error: illegal profiling level value \"+r),null)}null!=e?t(e,null):t(new Error(\"Error with profile command\"),null)})};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.ping=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),\"function\"==typeof t?this.s.db.executeDbAdminCommand({ping:1},t):new this.s.promiseLibrary(function(e,t){n.s.db.executeDbAdminCommand({ping:1},function(n,r){return n?t(n):void e(r)})})},s.classMethod(\"ping\",{callback:!0,promise:!0}),a.prototype.authenticate=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=o(n),n.authdb=\"admin\",\"function\"==typeof r?this.s.db.authenticate(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.authenticate(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"authenticate\",{callback:!0,promise:!0}),a.prototype.logout=function(e){var t=this;return\"function\"==typeof e?this.s.db.logout({authdb:\"admin\"},e):new this.s.promiseLibrary(function(e,n){t.s.db.logout({authdb:\"admin\"},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"logout\",{callback:!0,promise:!0});var p=function(e,t){return e=o(e),e.w||e.wtimeout||e.j||e.fsync?e:(t.writeConcern&&(e.w&&(e.w=t.writeConcern.w),e.wtimeout&&(e.wtimeout=t.writeConcern.wtimeout),e.j&&(e.j=t.writeConcern.j),e.fsync&&(e.fsync=t.writeConcern.fsync)),e)};a.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift():{},n=n||{},n=p(n,i.s.db),n.dbName=\"admin\",\"function\"==typeof r?i.s.db.addUser(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.addUser(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"addUser\",{callback:!0,promise:!0}),a.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},t=p(t,r.s.db),t.dbName=\"admin\",\"function\"==typeof n?r.s.db.removeUser(e,t,n):new this.s.promiseLibrary(function(n,i){r.s.db.removeUser(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"removeUser\",{callback:!0,promise:!0}),a.prototype.setProfilingLevel=function(e,t){var n=this;return\"function\"==typeof t?l(n,e,t):new this.s.promiseLibrary(function(t,r){l(n,e,function(e,n){return e?r(e):void t(n)})})};var l=function(e,t,n){var r={},i=0;if(\"off\"==t)i=0;else if(\"slow_only\"==t)i=1;else{if(\"all\"!=t)return n(new Error(\"Error: illegal profiling level value \"+t));i=2}r.profile=i,e.s.db.executeDbAdminCommand(r,function(e,r){return r=r,null==e&&1===r.ok?n(null,t):null!=e?n(e,null):n(new Error(\"Error with profile command\"),null)})};s.classMethod(\"setProfilingLevel\",{callback:!0,promise:!0}),a.prototype.profilingInfo=function(e){var t=this;return\"function\"==typeof e?f(t,e):new this.s.promiseLibrary(function(e,n){f(t,function(t,r){return t?n(t):void e(r)})})};var f=function(e,t){try{e.s.topology.cursor(\"admin.system.profile\",{find:\"system.profile\",query:{}},{}).toArray(t)}catch(n){return t(n,null)}};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.validateCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},\"function\"==typeof n?d(r,e,t,n):new this.s.promiseLibrary(function(n,i){d(r,e,t,function(e,t){return e?i(e):void n(t)})})};var d=function(e,t,n,r){for(var i={validate:t},o=Object.keys(n),a=0;a<o.length;a++)n.hasOwnProperty(o[a])&&(i[o[a]]=n[o[a]]);e.s.db.command(i,function(e,n){return null!=e?r(e,null):0===n.ok?r(new Error(\"Error with validate command\"),null):null!=n.result&&n.result.constructor!=String?r(new Error(\"Error with validation data\"),null):null!=n.result&&null!=n.result.match(/exception|corrupt/)?r(new Error(\"Error: invalid collection \"+t),null):null==n.valid||n.valid?r(null,n):r(new Error(\"Error: invalid collection \"+t),null)})};s.classMethod(\"validateCollection\",{callback:!0,promise:!0}),a.prototype.listDatabases=function(e){var t=this;return\"function\"==typeof e?t.s.db.executeDbAdminCommand({listDatabases:1},{},e):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({listDatabases:1},{},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"listDatabases\",{callback:!0,promise:!0}),a.prototype.replSetGetStatus=function(e){var t=this;return\"function\"==typeof e?h(t,e):new this.s.promiseLibrary(function(e,n){h(t,function(t,r){return t?n(t):void e(r)})})};var h=function(e,t){e.s.db.executeDbAdminCommand({replSetGetStatus:1},function(e,n){return null==e&&1===n.ok?t(null,n):e?t(e,!1):void t(r(n),!1)})};s.classMethod(\"replSetGetStatus\",{callback:!0,promise:!0}),t.exports=a},{\"./metadata\":231,\"./utils\":239}],217:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\"),e(\"mongodb-core\").MongoError),o=e(\"stream\").Readable||e(\"readable-stream\").Readable,a=e(\"./metadata\"),s=e(\"./cursor\"),c=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference,function(t,r,i,a,u,p){s.apply(this,Array.prototype.slice.call(arguments,0));var l=c.INIT,f={},d=null,h=a.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),o.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:a,topology:u,topologyOptions:p,promiseLibrary:h}});r(c,o);for(var u in s.prototype)c.prototype[u]=s.prototype[u];var p=c.define=new a(\"AggregationCursor\",c,!0);c.prototype.batchSize=function(e){if(this.s.state==c.CLOSED||this.isDead())throw i.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw i.create({message:\"batchSize requires an integer\",drvier:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},p.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[c]}),c.prototype.geoNear=function(e){return this.s.cmd.pipeline.push({$geoNear:e}),this},p.classMethod(\"geoNear\",{callback:!1,promise:!1,returns:[c]}),c.prototype.group=function(e){return this.s.cmd.pipeline.push({$group:e}),this},p.classMethod(\"group\",{callback:!1,promise:!1,returns:[c]}),c.prototype.limit=function(e){return this.s.cmd.pipeline.push({$limit:e}),this},p.classMethod(\"limit\",{callback:!1,promise:!1,returns:[c]}),c.prototype.match=function(e){return this.s.cmd.pipeline.push({$match:e}),this},p.classMethod(\"match\",{callback:!1,promise:!1,returns:[c]}),c.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},p.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[c]}),c.prototype.out=function(e){return this.s.cmd.pipeline.push({$out:e}),this},p.classMethod(\"out\",{callback:!1,promise:!1,returns:[c]}),c.prototype.project=function(e){return this.s.cmd.pipeline.push({$project:e}),this},p.classMethod(\"project\",{callback:!1,promise:!1,returns:[c]}),c.prototype.lookup=function(e){return this.s.cmd.pipeline.push({$lookup:e}),this},p.classMethod(\"lookup\",{callback:!1,promise:!1,returns:[c]}),c.prototype.redact=function(e){return this.s.cmd.pipeline.push({$redact:e}),this},p.classMethod(\"redact\",{callback:!1,promise:!1,returns:[c]}),c.prototype.skip=function(e){return this.s.cmd.pipeline.push({\n$skip:e}),this},p.classMethod(\"skip\",{callback:!1,promise:!1,returns:[c]}),c.prototype.sort=function(e){return this.s.cmd.pipeline.push({$sort:e}),this},p.classMethod(\"sort\",{callback:!1,promise:!1,returns:[c]}),c.prototype.unwind=function(e){return this.s.cmd.pipeline.push({$unwind:e}),this},p.classMethod(\"unwind\",{callback:!1,promise:!1,returns:[c]}),c.prototype.get=c.prototype.toArray,p.classMethod(\"toArray\",{callback:!0,promise:!0}),p.classMethod(\"each\",{callback:!0,promise:!1}),p.classMethod(\"forEach\",{callback:!0,promise:!1}),p.classMethod(\"next\",{callback:!0,promise:!0}),p.classMethod(\"close\",{callback:!0,promise:!0}),p.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),p.classMethod(\"rewind\",{callback:!1,promise:!1}),p.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),p.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),c.INIT=0,c.OPEN=1,c.CLOSED=2,t.exports=c}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],218:[function(e,t,n){var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./aggregation_cursor\"),a=e(\"./command_cursor\"),s=e(\"./bulk/ordered\").OrderedBulkOperation,c=e(\"./bulk/unordered\").UnorderedBulkOperation,u=e(\"./gridfs/grid_store\"),p=(e(\"./server\"),e(\"./replset\"),e(\"./mongos\"),e(\"./cursor\")),l=e(\"./collection\"),f=e(\"./db\"),d=(e(\"./admin\"),{operationId:1,next:function(){return this.operationId++}}),h={current:function(){return(new Date).getTime()},duration:function(e,t){return t-e}},m=[\"authenticate\",\"saslStart\",\"saslContinue\",\"getnonce\",\"createUser\",\"updateUser\",\"copydbgetnonce\",\"copydbsaslstart\",\"copydb\"],v=function(t,n,i){n=n||{};var v=n.operationIdGenerator||d,g=n.timestampGenerator||h;r.call(this),this.overloads=[];var y=function(e){for(var t=[],n=[u,s,c,a,o,p,l,f],r=0;r<n.length;r++)n[r].define&&t.push(n[r].define.generate());e(null,t)};\"function\"==typeof i&&y(i);var b=this,x=[\"command\",\"insert\",\"update\",\"remove\"],w=t.Server.prototype;x.forEach(function(e){var n=w[e];b.overloads.push({proto:w,name:e,func:n}),w[e]=function(){var r=t.Query.nextRequestId(),i=Array.prototype.slice.call(arguments,0),o=i[0],a=i[1],s=i[2]||{},c=Object.keys(a),u=c[0],p=o.split(\".\")[0];if(\"insert\"!=e||this.lastIsMaster().maxWireVersion)if(\"update\"!=e||this.lastIsMaster().maxWireVersion)if(\"remove\"!=e||this.lastIsMaster().maxWireVersion){if(\"insert\"==e||\"update\"==e||\"remove\"==e&&this.lastIsMaster().maxWireVersion>=2)return n.apply(this,i)}else{u=\"delete\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={\"delete\":l,deletes:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"update\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={update:l,updates:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"insert\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={insert:l,documents:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}var f=i.pop(),d=f.operationId||v.next(),h=this.s.pool.get(),y={command:a,databaseName:p,commandName:u,requestId:r,operationId:d,connectionId:h};m.indexOf(u.toLowerCase())&&(y.commandObj={},y.commandObj[u]=!0),b.emit(\"started\",y);var x=g.current();i.push(function(e,t){var n=g.current(),i={duration:g.duration(x,n),commandName:u,requestId:r,operationId:d,connectionId:h};e||t&&t.result&&0==t.result.ok?(i.failure=e||t.result.writeErrors||t.result,m.indexOf(u.toLowerCase())&&(i.failure={}),b.emit(\"failed\",i)):a&&a.writeConcern&&0==a.writeConcern.w?(i.reply={ok:1},b.emit(\"succeeded\",i)):(i.reply=t&&t.result?t.result:t,-1!=m.indexOf(u.toLowerCase())&&(i.reply={}),b.emit(\"succeeded\",i)),f(e,t)}),n.apply(this,i)}});var x=[\"execute\"],_=[e(\"./bulk/ordered\").Bulk.prototype,e(\"./bulk/unordered\").Bulk.prototype];_.forEach(function(e){x.forEach(function(t){var n=e[t];b.overloads.push({proto:e,name:t,func:n}),e[t]=function(){var e=Array.prototype.slice.call(arguments,0);this.operationId=v.next();var t=e.pop();return\"function\"!=typeof t?n.apply(this,e):(e.push(function(e,n){t(e,n)}),void n.apply(this,e))}})});var x=[\"_find\",\"_getmore\",\"_killcursor\"],_=[e(\"./cursor\").prototype,e(\"./command_cursor\").prototype,e(\"./aggregation_cursor\").prototype],k={_find:\"find\",_getmore:\"getMore\",_killcursor:\"killCursors\",_explain:\"explain\"};_.forEach(function(e){x.forEach(function(n){var r=e[n];b.overloads.push({proto:e,name:n,func:r}),e[n]=function(){var e=this,i=t.Query.nextRequestId(),o=v.next(),a=this.ns.split(\".\"),s=a[0];a.shift();var c=a.join(\".\"),u=this.query,p=this.s.cmd;\"_find\"==n&&(e.operationId=o),\"_getmore\"==n?(u={getMore:this.cursorState.cursorId,collection:c,batchSize:p.batchSize},p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS)):\"_killcursors\"==n?u={killCursors:c,cursors:[this.cursorState.cursorId]}:p.find?(u={find:c,filter:p.query},p.sort&&(u.sort=p.sort),p.fields&&(u.projection=p.fields),p.limit&&p.limit<0?(u.limit=Math.abs(p.limit),u.singleBatch=!0):p.limit&&(u.limit=Math.abs(p.limit)),p.skip&&(u.skip=p.skip),p.hint&&(u.hint=p.hint),p.batchSize&&(u.batchSize=p.batchSize),\"boolean\"==typeof p.returnKey&&(u.returnKey=p.returnKey),p.comment&&(u.comment=p.comment),p.min&&(u.min=p.min),p.max&&(u.max=p.max),p.maxScan&&(u.maxScan=p.maxScan),p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS),\"boolean\"==typeof p.awaitData&&(u.awaitData=p.awaitData),\"boolean\"==typeof p.snapshot&&(u.snapshot=p.snapshot),\"boolean\"==typeof p.tailable&&(u.tailable=p.tailable),\"boolean\"==typeof p.oplogReplay&&(u.oplogReplay=p.oplogReplay),\"boolean\"==typeof p.noCursorTimeout&&(u.noCursorTimeout=p.noCursorTimeout),\"boolean\"==typeof p.partial&&(u.partial=p.partial),\"boolean\"==typeof p.showDiskLoc&&(u.showRecordId=p.showDiskLoc),p.readConcern&&(u.readConcern=p.readConcern),p.explain&&(u.explain=p.explain),p.exhaust&&(u.exhaust=p.exhaust),p.explain&&(u={explain:u,verbosity:\"allPlansExecution\"},p.readConcern&&(u.readConcern=p.readConcern),n=\"_explain\")):u=p;var l=null;this.connection&&(l=this.connection),!l&&this.server&&this.server.getConnection&&(l=this.server.getConnection());var f=\"_find\"==n?Object.keys(u)[0]:k[n],u={command:u,databaseName:s,commandName:f,requestId:i,operationId:this.operationId,connectionId:l},d=Array.prototype.slice.call(arguments,0),h=d.pop();if(\"function\"!=typeof h&&\"killCursors\"!=u.commandName){d.push(h);var m=r.apply(this,d);return new e.s.promiseLibrary(function(t,n){var r=g.current();b.emit(\"started\",u),m.then(function(t){var n={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:e.cursorState.documents};b.emit(\"succeeded\",n)})[\"catch\"](function(t){var a={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",a),n(t)})})}var y=g.current();if(b.emit(\"started\",u),\"killCursors\"==u.commandName&&this.server.lastIsMaster()&&this.server.lastIsMaster().maxWireVersion<4){var u={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:[{ok:1}]};return b.emit(\"succeeded\",u)}d.push(function(t,n){if(t){var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",r)}else{\"getmore\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,nextBatch:e.cursorState.documents},ok:1}:\"find\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,firstBatch:e.cursorState.documents},ok:1}:\"killcursors\"==f.toLowerCase()&&null==n&&(n={cursorsUnknown:[e.cursorState.lastCursorId],ok:1});var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:n&&n.result?n.result:n};b.emit(\"succeeded\",r)}h&&h(t,n)}),r.apply(this,d)}})})};i(v,r),v.prototype.uninstrument=function(){for(var e=0;e<this.overloads.length;e++){var t=this.overloads[e];t.proto[t.name]=t.func}this.removeAllListeners(\"started\"),this.removeAllListeners(\"succeeded\"),this.removeAllListeners(\"failed\")},t.exports=v},{\"./admin\":216,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./collection\":222,\"./command_cursor\":223,\"./cursor\":224,\"./db\":225,\"./gridfs/grid_store\":230,\"./mongos\":233,\"./replset\":235,\"./server\":236,events:void 0,util:void 0}],219:[function(e,t,n){\"use strict\";var r=(e(\"../utils\"),e(\"mongodb-core\").BSON.Long),i=e(\"mongodb-core\").BSON.Timestamp,o=8,a=22,s=64,c=65,u=1,p=2,l=3,f=function(e,t,n){return null!=n.w||null!=n.j||null!=n.fsync?e.writeConcern=n:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern),e},d=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},h=function(e,t){this.originalZeroIndex=t,this.currentIndex=0,this.originalIndexes=[],this.batchType=e,this.operations=[],this.size=0,this.sizeBytes=0},m=function(e,t,n){this.batchType=e,this.index=n,this.operation=t},v=function(e){d(this,\"ok\",e.ok),d(this,\"nInserted\",e.nInserted),d(this,\"nUpserted\",e.nUpserted),d(this,\"nMatched\",e.nMatched),d(this,\"nModified\",e.nModified),d(this,\"nRemoved\",e.nRemoved),this.getInsertedIds=function(){return e.insertedIds},this.getUpsertedIds=function(){return e.upserted},this.getUpsertedIdAt=function(t){return e.upserted[t]},this.getRawResponse=function(){return e},this.hasWriteErrors=function(){return e.writeErrors.length>0},this.getWriteErrorCount=function(){return e.writeErrors.length},this.getWriteErrorAt=function(t){return t<e.writeErrors.length?e.writeErrors[t]:null},this.getWriteErrors=function(){return e.writeErrors},this.getLastOp=function(){return e.lastOp},this.getWriteConcernError=function(){if(0==e.writeConcernErrors.length)return null;if(1==e.writeConcernErrors.length)return e.writeConcernErrors[0];for(var t=\"\",n=0;n<e.writeConcernErrors.length;n++){var r=e.writeConcernErrors[n];t+=r.errmsg,0==n&&(t+=\" and \")}return new g({errmsg:t,code:s})},this.toJSON=function(){return e},this.toString=function(){return\"BulkWriteResult(\"+this.toJSON(e)+\")\"},this.isOk=function(){return 1==e.ok}},g=function(e){return this instanceof g?(d(this,\"code\",e.code),d(this,\"errmsg\",e.errmsg),this.toJSON=function(){return{code:e.code,errmsg:e.errmsg}},void(this.toString=function(){return\"WriteConcernError(\"+e.errmsg+\")\"})):new g(e)},y=function(e){return this instanceof y?(d(this,\"code\",e.code),d(this,\"index\",e.index),d(this,\"errmsg\",e.errmsg),this.getOperation=function(){return e.op},this.toJSON=function(){return{code:e.code,index:e.index,errmsg:e.errmsg,op:e.op}},void(this.toString=function(){return\"WriteError(\"+JSON.stringify(this.toJSON())+\")\"})):new y(e)},b=function(e,t,n,o,a){if(o)a=o;else if(a&&a.result)a=a.result;else if(null==a)return;if(0==a.ok&&1==n.ok){n.ok=0;var s={index:0,code:a.code||0,errmsg:a.message,op:t.operations[0]};return void n.writeErrors.push(new y(s))}if(0!=a.ok||0!=n.ok){if(a.opTime||a.lastOp){var c=a.lastOp||a.opTime,f=null,d=null;if(c instanceof i)null==n.lastOp?n.lastOp=c:c.greaterThan(n.lastOp)&&(n.lastOp=c);else{n.lastOp&&(f=\"number\"==typeof n.lastOp.ts?r.fromNumber(n.lastOp.ts):n.lastOp.ts,d=\"number\"==typeof n.lastOp.t?r.fromNumber(n.lastOp.t):n.lastOp.t);var h=\"number\"==typeof c.ts?r.fromNumber(c.ts):c.ts,m=\"number\"==typeof c.t?r.fromNumber(c.t):c.t;null==n.lastOp?n.lastOp=c:h.greaterThan(f)?n.lastOp=c:h.equals(f)&&m.greaterThan(d)&&(n.lastOp=c)}}t.batchType==u&&a.n&&(n.nInserted=n.nInserted+a.n),t.batchType==l&&a.n&&(n.nRemoved=n.nRemoved+a.n);var v=0;if(Array.isArray(a.upserted)){v=a.upserted.length;for(var b=0;b<a.upserted.length;b++)n.upserted.push({index:a.upserted[b].index+t.originalZeroIndex,_id:a.upserted[b]._id})}else a.upserted&&(v=1,n.upserted.push({index:t.originalZeroIndex,_id:a.upserted}));if(t.batchType==p&&a.n){var x=a.nModified;n.nUpserted=n.nUpserted+v,n.nMatched=n.nMatched+(a.n-v),\"number\"==typeof x?n.nModified=n.nModified+x:n.nModified=null}if(Array.isArray(a.writeErrors))for(var b=0;b<a.writeErrors.length;b++){var s={index:t.originalZeroIndex+a.writeErrors[b].index,code:a.writeErrors[b].code,errmsg:a.writeErrors[b].errmsg,op:t.operations[a.writeErrors[b].index]};n.writeErrors.push(new y(s))}a.writeConcernError&&n.writeConcernErrors.push(new g(a.writeConcernError))}},x=function(e){for(var t={},n=Object.keys(e),r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t};n.BulkWriteResult=v,n.WriteError=y,n.Batch=h,n.LegacyOp=m,n.mergeBatchResults=b,n.cloneOptions=x,n.writeConcern=f,n.INVALID_BSON_ERROR=a,n.WRITE_CONCERN_ERROR=s,n.MULTIPLE_ERROR=c,n.UNKNOWN_ERROR=o,n.INSERT=u,n.UPDATE=p,n.REMOVE=l},{\"../utils\":239,\"mongodb-core\":188}],220:[function(e,t,n){(function(n){\"use strict\";function r(t,r,o){o=null==o?{}:o;var a=!1,s=null,u=t.bson,p=r.collectionName,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=i.writeConcern(c(o),r,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentBatch:null,currentIndex:0,currentBatchSize:0,currentBatchSizeBytes:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:p,bson:u,topology:t,options:o,currentOp:s,executed:a,collection:r,promiseLibrary:h,err:null,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}}var i=e(\"./common\"),o=e(\"../utils\"),a=e(\"../utils\").toError,s=(e(\"util\").format,e(\"../utils\").handleCallback),c=o.shallowClone,u=(i.WriteError,i.BulkWriteResult),p=(i.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),l=e(\"../metadata\"),f=e(\"mongodb-core\").BSON,d=i.Batch,h=i.mergeBatchResults,m=new f.BSONPure,v=function(e){this.s=e.s};v.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.replaceOne=function(e){this.updateOne(e)},v.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},v.prototype.deleteOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.removeOne=v.prototype.deleteOne,v.prototype[\"delete\"]=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.remove=v.prototype[\"delete\"];var g=function(e,t,n){var r=m.calculateObjectSize(n,!1);if(r>=e.s.maxBatchSizeBytes)throw a(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(null==e.s.currentBatch&&(e.s.currentBatch=new d(t,e.s.currentIndex)),e.s.currentBatchSize+1>=e.s.maxWriteBatchSize||e.s.currentBatchSizeBytes+e.s.currentBatchSizeBytes>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t?(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new d(t,e.s.currentIndex),e.s.currentBatchSize=0,e.s.currentBatchSizeBytes=0):(e.s.currentBatchSize=e.s.currentBatchSize+1,e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r),t==i.INSERT&&e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id}),Array.isArray(n))throw a(\"operation passed in cannot be an Array\");return e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentBatch.operations.push(n),e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r,e.s.currentIndex=e.s.currentIndex+1,e},y=r.define=new l(\"OrderedBulkOperation\",r,!1);r.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,g(this,i.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var r=!e.updateOne&&!e.replaceOne,o={q:e[t].filter,u:e[t].update||e[t].replacement,multi:r};return o.upsert=!!e[t].upsert,g(this,i.UPDATE,o)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,g(this,i.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,o={q:e[t].filter,limit:s};return g(this,i.REMOVE,o)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new p),g(this,i.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new p),g(this,i.INSERT,e.insertOne.document);if(!e.insertMany)throw a(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new p),g(this,i.INSERT,e.insertMany[c])},r.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new p),g(this,i.INSERT,e)},r.prototype.find=function(e){if(!e)throw a(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new v(this)},Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}});var b=function(e,t){if(0==e.s.batches.length)return s(t,null,new u(e.s.bulkResult));var n=e.s.batches.shift(),r=function(r,i){if(r&&r.driver||r&&r.message)return s(t,r);r&&(r.ok=0);var o=h(!0,n,e.s.bulkResult,r,i);return null!=o?s(t,null,new u(e.s.bulkResult)):e.s.bulkResult.writeErrors.length>0?s(t,a(e.s.bulkResult.writeErrors[0]),new u(e.s.bulkResult)):void b(e,t)},o={ordered:!0};null!=e.s.writeConcern&&(o.writeConcern=e.s.writeConcern),e.operationId&&(r.operationId=e.operationId),e.s.options.serializeFunctions&&(o.serializeFunctions=!0),e.s.options.ignoreUndefined&&(o.ignoreUndefined=!0),1==e.s.bypassDocumentValidation&&(o.bypassDocumentValidation=!0);try{n.batchType==i.INSERT?e.s.topology.insert(e.s.collection.namespace,n.operations,o,r):n.batchType==i.UPDATE?e.s.topology.update(e.s.collection.namespace,n.operations,o,r):n.batchType==i.REMOVE&&e.s.topology.remove(e.s.collection.namespace,n.operations,o,r)}catch(c){c.ok=0,s(t,null,h(!1,n,e.s.bulkResult,c,null))}};r.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw new a(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentBatch&&this.s.batches.push(this.s.currentBatch),0==this.s.batches.length)throw a(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?b(this,t):new this.s.promiseLibrary(function(e,t){b(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var x=function(e,t,n){return new r(e,t,n)};x.OrderedBulkOperation=r,t.exports=x,t.exports.Bulk=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],221:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./common\"),i=e(\"../utils\"),o=e(\"../utils\").toError,a=(e(\"util\").format,e(\"../utils\").handleCallback),s=i.shallowClone,c=(r.WriteError,r.BulkWriteResult),u=(r.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),p=e(\"mongodb-core\").BSON,l=e(\"../metadata\"),f=r.Batch,d=r.mergeBatchResults,h=new p.BSONPure,m=function(e){this.s=e.s};m.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.replaceOne=function(e){this.updateOne(e)},m.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},m.prototype.removeOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,v(this,r.REMOVE,e)},m.prototype.remove=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,v(this,r.REMOVE,e)};var v=function(e,t,n){var i=h.calculateObjectSize(n,!1);if(i>=e.s.maxBatchSizeBytes)throw o(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(e.s.currentBatch=null,t==r.INSERT?e.s.currentBatch=e.s.currentInsertBatch:t==r.UPDATE?e.s.currentBatch=e.s.currentUpdateBatch:t==r.REMOVE&&(e.s.currentBatch=e.s.currentRemoveBatch),null==e.s.currentBatch&&(e.s.currentBatch=new f(t,e.s.currentIndex)),(e.s.currentBatch.size+1>=e.s.maxWriteBatchSize||e.s.currentBatch.sizeBytes+i>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t)&&(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new f(t,e.s.currentIndex)),Array.isArray(n))throw o(\"operation passed in cannot be an Array\");return e.s.currentBatch.operations.push(n),e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentIndex=e.s.currentIndex+1,t==r.INSERT?(e.s.currentInsertBatch=e.s.currentBatch,e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id})):t==r.UPDATE?e.s.currentUpdateBatch=e.s.currentBatch:t==r.REMOVE&&(e.s.currentRemoveBatch=e.s.currentBatch),e.s.currentBatch.size=e.s.currentBatch.size+1,e.s.currentBatch.sizeBytes=e.s.currentBatch.sizeBytes+i,e},g=function(t,i,o){o=null==o?{}:o;var a=i.collectionName,c=!1,u=null,p=t.bson,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=r.writeConcern(s(o),i,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentInsertBatch:null,currentUpdateBatch:null,currentRemoveBatch:null,currentBatch:null,currentIndex:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:a,bson:p,topology:t,options:o,currentOp:u,executed:c,collection:i,promiseLibrary:h,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}},y=g.define=new l(\"UnorderedBulkOperation\",g,!1);g.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new u),v(this,r.INSERT,e)},g.prototype.find=function(e){if(!e)throw o(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new m(this)},Object.defineProperty(g.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}}),g.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,v(this,r.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var i=!e.updateOne&&!e.replaceOne,a={q:e[t].filter,u:e[t].update||e[t].replacement,multi:i};return e[t].upsert&&(a.upsert=!0),v(this,r.UPDATE,a)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,v(this,r.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,a={q:e[t].filter,limit:s};return v(this,r.REMOVE,a)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new u),v(this,r.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new u),v(this,r.INSERT,e.insertOne.document);if(!e.insertMany)throw o(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new u),v(this,r.INSERT,e.insertMany[c])};var b=function(e,t,n){var i={ordered:!1};null!=e.s.writeConcern&&(i.writeConcern=e.s.writeConcern);var o=function(r,i){return r&&r.driver||r&&r.message?a(n,r):(r&&(r.ok=0),void a(n,null,d(!1,t,e.s.bulkResult,r,i)))};e.operationId&&(o.operationId=e.operationId),e.s.options.serializeFunctions&&(i.serializeFunctions=!0),1==e.s.bypassDocumentValidation&&(i.bypassDocumentValidation=!0);try{t.batchType==r.INSERT?e.s.topology.insert(e.s.collection.namespace,t.operations,i,o):t.batchType==r.UPDATE?e.s.topology.update(e.s.collection.namespace,t.operations,i,o):t.batchType==r.REMOVE&&e.s.topology.remove(e.s.collection.namespace,t.operations,i,o)}catch(s){s.ok=0,a(n,null,d(!1,t,e.s.bulkResult,s,null))}},x=function(e,t){for(var n=e.s.batches.length,r=0;r<e.s.batches.length;r++)b(e,e.s.batches[r],function(r,i){if(r&&(s=r),n-=1,0==n){if(s)return a(t,s);var s=e.s.bulkResult.writeErrors.length>0?o(e.s.bulkResult.writeErrors[0]):null;a(t,s,new c(e.s.bulkResult))}})};g.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw o(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentInsertBatch&&this.s.batches.push(this.s.currentInsertBatch),this.s.currentUpdateBatch&&this.s.batches.push(this.s.currentUpdateBatch),this.s.currentRemoveBatch&&this.s.batches.push(this.s.currentRemoveBatch),0==this.s.batches.length)throw o(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?x(this,t):new this.s.promiseLibrary(function(e,t){x(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var w=function(e,t,n){return new g(e,t,n)};w.UnorderedBulkOperation=g,t.exports=w,t.exports.Bulk=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],222:[function(e,t,n){(function(n,r){\"use strict\";function i(e){if(!d(e))return e;for(var t,n=Object.keys(e),r=n.length,o={};r--;)t=n[r],\"function\"==typeof e[t]?o[t]=new c(String(e[t])):o[t]=i(e[t]);return o}var o=e(\"./utils\").checkCollectionName,a=e(\"mongodb-core\").BSON.ObjectID,s=e(\"mongodb-core\").BSON.Long,c=e(\"mongodb-core\").BSON.Code,u=e(\"util\").format,p=e(\"./aggregation_cursor\"),l=e(\"mongodb-core\").MongoError,f=e(\"./utils\").shallowClone,d=e(\"./utils\").isObject,h=e(\"./utils\").toError,m=e(\"./utils\").normalizeHintField,v=e(\"./utils\").handleCallback,g=e(\"./utils\").decorateCommand,y=e(\"./utils\").formattedOrderClause,b=e(\"./read_preference\"),x=e(\"mongodb-core\").ReadPreference,w=e(\"./command_cursor\"),_=e(\"./metadata\"),k=e(\"./cursor\"),j=e(\"./bulk/unordered\"),S=e(\"./bulk/ordered\"),E=function(t,n,i,s,c,p){o(s);var l=null,f=null==p||null==p.slaveOk?t.slaveOk:p.slaveOk,d=null==p||null==p.serializeFunctions?t.serializeFunctions:p.serializeFunctions,h=null==p||null==p.raw?t.raw:p.raw,m=null,v=null,g=u(\"%s.%s\",i,s),y=p.promiseLibrary;y||(y=\"function\"==typeof r.Promise?r.Promise:e(\"es6-promise\").Promise),p&&p.readPreference?m=p.readPreference:t.options.readPreference&&(m=t.options.readPreference),c=null==c?a:c,this.s={pkFactory:c,db:t,topology:n,dbName:i,options:p,namespace:g,readPreference:m,raw:h,slaveOk:f,serializeFunctions:d,internalHint:l,collectionHint:v,name:s,promiseLibrary:y,readConcern:p.readConcern}},O=E.define=new _(\"Collection\",E,!1);Object.defineProperty(E.prototype,\"collectionName\",{enumerable:!0,get:function(){return this.s.name}}),Object.defineProperty(E.prototype,\"namespace\",{enumerable:!0,get:function(){return this.s.namespace}}),Object.defineProperty(E.prototype,\"readConcern\",{enumerable:!0,get:function(){return this.s.readConcern||{level:\"local\"}}}),Object.defineProperty(E.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}}),Object.defineProperty(E.prototype,\"hint\",{enumerable:!0,get:function(){return this.s.collectionHint},set:function(e){this.s.collectionHint=m(e)}}),E.prototype.find=function(){var e,t=Array.prototype.slice.call(arguments,0),r=\"function\"==typeof t[t.length-1],i=\"function\"==typeof t[0],o=r?t.pop():i?t.shift():null,s=t.length,c=s>=1?t[0]:{},u=s>=2?t[1]:void 0;if(1===s&&i&&(c={},e=t[0]),2!==s||void 0===u||Array.isArray(u)){if(2===s&&Array.isArray(u)&&!Array.isArray(u[0])){for(var p={},f=0;f<u.length;f++)p[u[f]]=1;u=p}}else{for(var d=Object.keys(u),h=!1,f=0;f<d.length;f++)if(null!=me[d[f]]){h=!0;break}h?(e=u,u=void 0):e={}}3===s&&(e=t[2]),c=null==c?{}:c;var g=c;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query selector raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}var g=u;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query fields raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}if((c instanceof a||null!=c&&\"ObjectID\"==c._bsontype)&&(c={_id:c}),e&&e.fields&&!n.isBuffer(e.fields))if(u={},Array.isArray(e.fields))if(e.fields.length)for(var f=0,w=e.fields.length;w>f;f++)u[e.fields[f]]=1;else u._id=1;else u=e.fields;e||(e={});var _={};for(var k in e)_[k]=e[k];if(_.skip=s>3?t[2]:e.skip?e.skip:0,_.limit=s>3?t[3]:e.limit?e.limit:0,_.raw=null!=e.raw&&\"boolean\"==typeof e.raw?e.raw:this.s.raw,_.hint=null!=e.hint?m(e.hint):this.s.collectionHint,_.timeout=5==s?t[4]:\"undefined\"==typeof e.timeout?void 0:e.timeout,_.slaveOk=null!=e.slaveOk?e.slaveOk:this.s.db.slaveOk,_=he(this,_,this.s.db,this),null==_.readPreference||\"primary\"==_.readPreference&&\"primary\"==_.readPreference.mode||(_.slaveOk=!0),null!=c&&\"object\"!=typeof c)throw l.create({message:\"query selector must be an object\",driver:!0});var j={find:this.s.namespace,limit:_.limit,skip:_.skip,query:c};\"boolean\"==typeof _.awaitdata&&(_.awaitData=_.awaitdata),\"boolean\"==typeof _.timeout&&(_.noCursorTimeout=_.timeout);for(var S in _)null!=_[S]&&(j[S]=_[S]);var E=function(e){var t={};if(Array.isArray(e))for(var n=0;n<e.length;n++)Array.isArray(e[n])?t[e[n][0]]=e[n][1]:t[e[n][0]]=1;else t=e;return t};return u&&(j.fields=E(u)),_.db=this.s.db,_.promiseLibrary=this.s.promiseLibrary,null==_.raw&&this.s.raw&&(_.raw=this.s.raw),j.sort&&(j.sort=y(j.sort)),this.s.readConcern&&(j.readConcern=this.s.readConcern),\"function\"==typeof o?v(o,null,this.s.topology.cursor(this.s.namespace,j,_)):this.s.topology.cursor(this.s.namespace,j,_)},O.classMethod(\"find\",{callback:!1,promise:!1,returns:[k]}),E.prototype.insertOne=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&\"function\"==typeof n?n(l.create({message:\"doc parameter must be an object\",driver:!0})):Array.isArray(e)?new this.s.promiseLibrary(function(e,t){t(l.create({message:\"doc parameter must be an object\",driver:!0}))}):(this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var A=function(e,t,n,r){I(e,[t],n,function(e,n){if(null!=r){if(e&&r)return r(e);if(null==n)return r(null,{result:{ok:1}});n.insertedCount=n.result.n,n.insertedId=t._id,r&&r(null,n)}})},C=function(e,t){\nfor(var n=t.getInsertedIds(),r=Object.keys(n),i=new Array(r.length),o=0;o<r.length;o++)n[r[o]]._id&&(i[n[r[o]].index]=n[r[o]]._id);var a={result:{ok:1,n:t.insertedCount},ops:e,insertedCount:t.insertedCount,insertedIds:i};return t.getLastOp()&&(a.result.opTime=t.getLastOp()),a};O.classMethod(\"insertOne\",{callback:!0,promise:!0}),E.prototype.insertMany=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e)&&\"function\"==typeof n)return n(l.create({message:\"docs parameter must be an array of documents\",driver:!0}));if(!Array.isArray(e))return new this.s.promiseLibrary(function(e,t){t(l.create({message:\"docs parameter must be an array of documents\",driver:!0}))});\"boolean\"!=typeof t.checkKeys&&(t.checkKeys=!0),t.serializeFunctions=t.serializeFunctions||r.s.serializeFunctions;var i=\"boolean\"==typeof t.forceServerObjectId?t.forceServerObjectId:r.s.db.options.forceServerObjectId;if(i!==!0)for(var o=0;o<e.length;o++)null==e[o]._id&&(e[o]._id=r.s.pkFactory.createPk());var a=[{insertMany:e}];return\"function\"==typeof n?T(r,a,t,function(t,r){return t?n(t,r):void n(null,C(e,r))}):new this.s.promiseLibrary(function(n,i){T(r,a,t,function(t,r){return t?i(t):void n(C(e,r))})})},O.classMethod(\"insertMany\",{callback:!0,promise:!0}),E.prototype.bulkWrite=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e))throw l.create({message:\"operations must be an array of documents\",driver:!0});return\"function\"==typeof n?T(r,e,t,n):new this.s.promiseLibrary(function(n,i){T(r,e,t,function(e,t){return e&&null==t?i(e):void n(t)})})};var T=function(e,t,n,r){e.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=e.s.options.ignoreUndefined);var i=1==n.ordered||null==n.ordered?e.initializeOrderedBulkOp(n):e.initializeUnorderedBulkOp(n);try{for(var o=0;o<t.length;o++)i.raw(t[o])}catch(a){return r(a,null)}var s=de(f(n),e.s.db,e,n),c=s.writeConcern?s.writeConcern:{};i.execute(c,function(e,t){if(!t&&e)return r(e,null);if(t&&t.hasWriteErrors()&&1==t.getWriteErrorCount())return r(h(t.getWriteErrorAt(0)),t);t.insertedCount=t.nInserted,t.matchedCount=t.nMatched,t.modifiedCount=t.nModified||0,t.deletedCount=t.nRemoved,t.upsertedCount=t.getUpsertedIds().length,t.upsertedIds={},t.insertedIds={},t.n=t.insertedCount;for(var n=t.getInsertedIds(),i=0;i<n.length;i++)t.insertedIds[n[i].index]=n[i]._id;for(var o=t.getUpsertedIds(),i=0;i<o.length;i++)t.upsertedIds[o[i].index]=o[i]._id;if(t.hasWriteErrors()){var a=t.getWriteErrors();return r(h({message:\"write operation failed\",code:a[0].code,writeErrors:a}),t)}return t.getWriteConcernError()?r(h(t.getWriteConcernError()),t):void r(null,t)})},I=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={}),n=n||{},t=Array.isArray(t)?t:[t];var i=de(f(n),e.s.db,e,n);\"boolean\"!=typeof i.checkKeys&&(i.checkKeys=!0),1==i.keepGoing&&(i.ordered=!1),i.serializeFunctions=n.serializeFunctions||e.s.serializeFunctions;var o=\"boolean\"==typeof n.forceServerObjectId?n.forceServerObjectId:e.s.db.options.forceServerObjectId;if(o!==!0)for(var a=0;a<t.length;a++)null==t[a]._id&&(t[a]._id=e.s.pkFactory.createPk());e.s.topology.insert(e.s.namespace,t,i,function(e,n){if(null!=r){if(e)return v(r,e);if(null==n)return v(r,null,null);if(n.result.code)return v(r,h(n.result));if(n.result.writeErrors)return v(r,h(n.result.writeErrors[0]));n.ops=t,v(r,null,n)}})};O.classMethod(\"bulkWrite\",{callback:!0,promise:!0}),E.prototype.insert=function(e,t,n){return\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!1},e=Array.isArray(e)?e:[e],1==t.keepGoing&&(t.ordered=!1),this.insertMany(e,t,n)},O.classMethod(\"insert\",{callback:!0,promise:!0}),E.prototype.updateOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?P(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){P(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var P=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateOne\",{callback:!0,promise:!0}),E.prototype.replaceOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,t.ops=[n],i&&i(null,t)}})};O.classMethod(\"replaceOne\",{callback:!0,promise:!0}),E.prototype.updateMany=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){r.multi=!0,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateMany\",{callback:!0,promise:!0});var z=function(e,t,n,r,i){if(\"function\"==typeof r&&(i=r,r=null),null==r&&(r={}),\"function\"!=typeof i&&(i=null),null==t||\"object\"!=typeof t)return i(h(\"selector must be a valid JavaScript object\"));if(null==n||\"object\"!=typeof n)return i(h(\"document must be a valid JavaScript object\"));var o=de(f(r),e.s.db,e,r);o.serializeFunctions=r.serializeFunctions||e.s.serializeFunctions;var a={q:t,u:n};a.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,a.multi=\"boolean\"==typeof r.multi?r.multi:!1,e.s.topology.update(e.s.namespace,[a],o,function(e,t){return null!=i?e?v(i,e,null):null==t?v(i,null,null):t.result.code?v(i,h(t.result)):t.result.writeErrors?v(i,h(t.result.writeErrors[0])):void v(i,null,t):void 0})};E.prototype.update=function(e,t,n,r){var i=this;return this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?z(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){z(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},O.classMethod(\"update\",{callback:!0,promise:!0}),E.prototype.deleteOne=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?B(r,e,t,n):new this.s.promiseLibrary(function(n,i){B(r,e,t,function(e,t){return e?i(e):void n(t)})})};var B=function(e,t,n,r){n.single=!0,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})};O.classMethod(\"deleteOne\",{callback:!0,promise:!0}),E.prototype.removeOne=E.prototype.deleteOne,O.classMethod(\"removeOne\",{callback:!0,promise:!0}),E.prototype.deleteMany=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?N(r,e,t,n):new this.s.promiseLibrary(function(n,i){N(r,e,t,function(e,t){return e?i(e):void n(t)})})};var N=function(e,t,n,r){n.single=!1,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})},D=function(e,t,n,r){\"function\"==typeof n?(r=n,n={}):\"function\"==typeof t&&(r=t,n={},t={}),n=n||{};var i=de(f(n),e.s.db,e,n);null==t&&(t={});var o={q:t,limit:0};n.single&&(o.limit=1),e.s.topology.remove(e.s.namespace,[o],i,function(e,t){return null!=r?e?v(r,e,null):null==t?v(r,null,null):t.result.code?v(r,h(t.result)):t.result.writeErrors?v(r,h(t.result.writeErrors[0])):void v(r,null,t):void 0})};O.classMethod(\"deleteMany\",{callback:!0,promise:!0}),E.prototype.removeMany=E.prototype.deleteMany,O.classMethod(\"removeMany\",{callback:!0,promise:!0}),E.prototype.remove=function(e,t,n){var r=this;return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})},O.classMethod(\"remove\",{callback:!0,promise:!0}),E.prototype.save=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?q(r,e,t,n):new this.s.promiseLibrary(function(n,i){q(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r){var i=de(f(n),e.s.db,e,n);return null!=t._id?(i.upsert=!0,z(e,{_id:t._id},t,i,r)):void I(e,[t],n,function(e,n){return null!=r?null==t?v(r,null,null):e?v(r,e,null):void v(r,null,n):void 0})};O.classMethod(\"save\",{callback:!0,promise:!0}),E.prototype.findOne=function(){var e=this,t=Array.prototype.slice.call(arguments,0),n=t.pop();return\"function\"!=typeof n&&t.push(n),\"function\"==typeof n?R(e,t,n):new this.s.promiseLibrary(function(n,r){R(e,t,function(e,t){return e?r(e):void n(t)})})};var R=function(e,t,n){var r=e.find.apply(e,t).limit(-1).batchSize(1);r.next(function(e,t){return null!=e?v(n,h(e),null):void v(n,null,t)})};O.classMethod(\"findOne\",{callback:!0,promise:!0}),E.prototype.rename=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?L(r,e,t,n):new this.s.promiseLibrary(function(n,i){L(r,e,t,function(e,t){return e?i(e):void n(t)})})};var L=function(e,t,n,r){o(t);var i=u(\"%s.%s\",e.s.dbName,e.s.name),a=u(\"%s.%s\",e.s.dbName,t),s=\"boolean\"==typeof n.dropTarget?n.dropTarget:!1,c={renameCollection:i,to:a,dropTarget:s};e.s.db.admin().command(c,n,function(n,i){if(n)return v(r,n,null);if(i.errmsg)return v(r,h(i),null);try{return v(r,null,new E(e.s.db,e.s.topology,e.s.dbName,t,e.s.pkFactory,e.s.options))}catch(n){return v(r,h(n),null)}})};O.classMethod(\"rename\",{callback:!0,promise:!0}),E.prototype.drop=function(e){var t=this;return\"function\"==typeof e?t.s.db.dropCollection(t.s.name,e):new this.s.promiseLibrary(function(e,n){t.s.db.dropCollection(t.s.name,function(t,r){return t?n(t):void e(r)})})},O.classMethod(\"drop\",{callback:!0,promise:!0}),E.prototype.options=function(e){var t=this;return\"function\"==typeof e?$(t,e):new this.s.promiseLibrary(function(e,n){$(t,function(t,r){return t?n(t):void e(r)})})};var $=function(e,t){e.s.db.listCollections({name:e.s.name}).toArray(function(n,r){return n?v(t,n):0==r.length?v(t,l.create({message:u(\"collection %s not found\",e.s.namespace),driver:!0})):void v(t,n,r[0].options||null)})};O.classMethod(\"options\",{callback:!0,promise:!0}),E.prototype.isCapped=function(e){var t=this;return\"function\"==typeof e?U(t,e):new this.s.promiseLibrary(function(e,n){U(t,function(t,r){return t?n(t):void e(r)})})};var U=function(e,t){e.options(function(e,n){return e?v(t,e):void v(t,null,n&&n.capped)})};O.classMethod(\"isCapped\",{callback:!0,promise:!0}),E.prototype.createIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t=\"function\"==typeof n?t:n,t=null==t?{}:t,\"function\"==typeof n?H(r,e,t,n):new this.s.promiseLibrary(function(n,i){H(r,e,t,function(e,t){return e?i(e):void n(t)})})};var H=function(e,t,n,r){e.s.db.createIndex(e.s.name,t,n,r)};O.classMethod(\"createIndex\",{callback:!0,promise:!0}),E.prototype.createIndexes=function(e,t){var n=this;return\"function\"==typeof t?V(n,e,t):new this.s.promiseLibrary(function(t,r){V(n,e,function(e,n){return e?r(e):void t(n)})})};var V=function(e,t,n){for(var r=0;r<t.length;r++)if(null==t[r].name){var i=[];for(var o in t[r].key)i.push(u(\"%s_%s\",o,t[r].key[o]));t[r].name=i.join(\"_\")}e.s.db.command({createIndexes:e.s.name,indexes:t},{readPreference:b.PRIMARY},n)};O.classMethod(\"createIndexes\",{callback:!0,promise:!0}),E.prototype.dropIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t.readPreference=b.PRIMARY,\"function\"==typeof n?W(r,e,t,n):new this.s.promiseLibrary(function(n,i){W(r,e,t,function(e,t){return e?i(e):void n(t)})})};var W=function(e,t,n,r){var i={deleteIndexes:e.s.name,index:t};e.s.db.command(i,n,function(e,t){return\"function\"==typeof r?e?v(r,e,null):void v(r,null,t):void 0})};O.classMethod(\"dropIndex\",{callback:!0,promise:!0}),E.prototype.dropIndexes=function(e){var t=this;return\"function\"==typeof e?Y(t,e):new this.s.promiseLibrary(function(e,n){Y(t,function(t,r){return t?n(t):void e(r)})})};var Y=function(e,t){e.dropIndex(\"*\",function(e,n){return e?v(t,e,!1):void v(t,null,!0)})};O.classMethod(\"dropIndexes\",{callback:!0,promise:!0}),E.prototype.dropAllIndexes=E.prototype.dropIndexes,O.classMethod(\"dropAllIndexes\",{callback:!0,promise:!0}),E.prototype.reIndex=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={}),e=e||{},\"function\"==typeof t?K(n,e,t):new this.s.promiseLibrary(function(t,r){K(n,e,function(e,n){return e?r(e):void t(n)})})};var K=function(e,t,n){var r={reIndex:e.s.name};e.s.db.command(r,t,function(e,t){return null!=n?e?v(n,e,null):void v(n,null,!!t.ok):void 0})};O.classMethod(\"reIndex\",{callback:!0,promise:!0}),E.prototype.listIndexes=function(e){if(e=e||{},e=f(e),e.cursorFactory=w,e.promiseLibrary=this.s.promiseLibrary,!this.s.topology.capabilities())throw new l(\"cannot connect to server\");if(this.s.topology.capabilities().hasListIndexesCommand){var t=e.batchSize?{batchSize:e.batchSize}:{},n={listIndexes:this.s.name,cursor:t},t=this.s.topology.cursor(u(\"%s.$cmd\",this.s.dbName),n,e);return e.readPreference&&t.setReadPreference(e.readPreference),t}var r=u(\"%s.system.indexes\",this.s.dbName),t=this.s.topology.cursor(r,{find:r,query:{ns:this.s.namespace}},e);return e.readPreference&&t.setReadPreference(e.readPreference),e.batchSize&&(t=t.batchSize(e.batchSize)),t},O.classMethod(\"listIndexes\",{callback:!1,promise:!1,returns:[w]}),E.prototype.ensureIndex=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?G(r,e,t,n):new this.s.promiseLibrary(function(n,i){G(r,e,t,function(e,t){return e?i(e):void n(t)})})};var G=function(e,t,n,r){e.s.db.ensureIndex(e.s.name,t,n,r)};O.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),E.prototype.indexExists=function(e,t){var n=this;return\"function\"==typeof t?J(n,e,t):new this.s.promiseLibrary(function(t,r){J(n,e,function(e,n){return e?r(e):void t(n)})})};var J=function(e,t,n){e.indexInformation(function(e,r){if(null!=e)return v(n,e,null);if(!Array.isArray(t))return v(n,null,null!=r[t]);for(var i=0;i<t.length;i++)if(null==r[t[i]])return v(n,null,!1);return v(n,null,!0)})};O.classMethod(\"indexExists\",{callback:!0,promise:!0}),E.prototype.indexInformation=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?Z(n,e,t):new this.s.promiseLibrary(function(t,r){Z(n,e,function(e,n){return e?r(e):void t(n)})})};var Z=function(e,t,n){e.s.db.indexInformation(e.s.name,t,n)};O.classMethod(\"indexInformation\",{callback:!0,promise:!0}),E.prototype.count=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n);var o=i.length?i.shift()||{}:{},a=i.length?i.shift()||{}:{};return\"function\"==typeof n?Q(r,o,a,n):(e=e||{},t=t||{},new this.s.promiseLibrary(function(n,i){Q(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var Q=function(e,t,n,r){var i=n.skip,o=n.limit,a=n.hint,s=(n.maxTimeMS,{count:e.s.name,query:t});\"number\"==typeof i&&(s.skip=i),\"number\"==typeof o&&(s.limit=o),a&&(n.hint=a),n=f(n),n=he(e,n,e.s.db,e),e.s.readConcern&&(s.readConcern=e.s.readConcern),e.s.db.command(s,n,function(e,t){return e?v(r,e):void v(r,null,t.n)})};O.classMethod(\"count\",{callback:!0,promise:!0}),E.prototype.distinct=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);r=o.pop(),\"function\"!=typeof r&&o.push(r);var a=o.length?o.shift()||{}:{},s=o.length?o.shift()||{}:{};return\"function\"==typeof r?X(i,e,a,s,r):(t=t||{},n=n||{},new this.s.promiseLibrary(function(r,o){X(i,e,t,n,function(e,t){return e?o(e):void r(t)})}))};var X=function(e,t,n,r,i){var o=(r.maxTimeMS,{distinct:e.s.name,key:t,query:n});r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):void v(i,null,t.values)})};O.classMethod(\"distinct\",{callback:!0,promise:!0}),E.prototype.indexes=function(e){var t=this;return\"function\"==typeof e?ee(t,e):new this.s.promiseLibrary(function(e,n){ee(t,function(t,r){return t?n(t):void e(r)})})};var ee=function(e,t){e.s.db.indexInformation(e.s.name,{full:!0},t)};O.classMethod(\"indexes\",{callback:!0,promise:!0}),E.prototype.stats=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?te(n,e,t):new this.s.promiseLibrary(function(t,r){te(n,e,function(e,n){return e?r(e):void t(n)})})};var te=function(e,t,n){var r={collStats:e.s.name};null!=t.scale&&(r.scale=t.scale),t=f(t),t=he(e,t,e.s.db,e),e.s.db.command(r,t,n)};O.classMethod(\"stats\",{callback:!0,promise:!0}),E.prototype.findOneAndDelete=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");return\"function\"==typeof n?ne(r,e,t,n):new this.s.promiseLibrary(function(n,i){t=t||{},ne(r,e,t,function(e,t){return e?i(e):void n(t)})})};var ne=function(e,t,n,r){var i=f(n);i.fields=n.projection,i.remove=!0,e.findAndModify(t,n.sort,null,i,r)};O.classMethod(\"findOneAndDelete\",{callback:!0,promise:!0}),E.prototype.findOneAndReplace=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"replacement parameter must be an object\");return\"function\"==typeof r?re(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},re(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var re=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndReplace\",{callback:!0,promise:!0}),E.prototype.findOneAndUpdate=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"update parameter must be an object\");return\"function\"==typeof r?ie(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},ie(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ie=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndUpdate\",{callback:!0,promise:!0}),E.prototype.findAndModify=function(e,t,n,r,i){var o=this,a=Array.prototype.slice.call(arguments,1);i=a.pop(),\"function\"!=typeof i&&a.push(i),t=a.length?a.shift()||[]:[],n=a.length?a.shift():null,r=a.length?a.shift()||{}:{};var r=f(r);return r.readPreference=b.PRIMARY,\"function\"==typeof i?oe(o,e,t,n,r,i):new this.s.promiseLibrary(function(i,a){r=r||{},oe(o,e,t,n,r,function(e,t){return e?a(e):void i(t)})})};var oe=function(e,t,n,r,i,o){var a={findandmodify:e.s.name,query:t};n=y(n),n&&(a.sort=n),a[\"new\"]=!!i[\"new\"],a.remove=!!i.remove,a.upsert=!!i.upsert,i.fields&&(a.fields=i.fields),r&&!i.remove&&(a.update=r),null!=i.serializeFunctions?i.serializeFunctions=i.serializeFunctions:i.serializeFunctions=e.s.serializeFunctions,i.checkKeys=!1;var s=de(i,e.s.db,e,i);s.writeConcern&&(a.writeConcern=s.writeConcern),\"boolean\"==typeof s.bypassDocumentValidation&&(a.bypassDocumentValidation=s.bypassDocumentValidation),e.s.db.command(a,i,function(e,t){return e?v(o,e,null):v(o,null,t)})};O.classMethod(\"findAndModify\",{callback:!0,promise:!0}),E.prototype.findAndRemove=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift()||[]:[],n=o.length?o.shift()||{}:{},\"function\"==typeof r?ae(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ae(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ae=function(e,t,n,r,i){r.remove=!0,e.findAndModify(t,n,null,r,i)};O.classMethod(\"findAndRemove\",{callback:!0,promise:!0}),E.prototype.aggregate=function(e,t,n){if(Array.isArray(e))\"function\"==typeof t&&(n=t,t={}),null==t&&null==n&&(t={});else{var r=Array.prototype.slice.call(arguments,0);n=r.pop();var i=r[r.length-1];t=i&&(i.readPreference||i.explain||i.cursor||i.out||i.maxTimeMS||i.allowDiskUse)?r.pop():{},e=r}var o=!1;\"string\"==typeof t.out?(e.push({$out:t.out}),o=!0):e.length>0&&e[e.length-1].$out&&(o=!0);var a={aggregate:this.s.name,pipeline:e};if(\"boolean\"==typeof t.bypassDocumentValidation&&(a.bypassDocumentValidation=t.bypassDocumentValidation),!o&&this.s.readConcern&&(a.readConcern=this.s.readConcern),t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),t=f(t),t=he(this,t,this.s.db,this),t.explain&&(a.explain=t.explain),null!=t.cursor&&\"object\"!=typeof t.cursor)throw h(\"cursor options must be an object\");if(t.promiseLibrary=this.s.promiseLibrary,t.cursorFactory=p,\"function\"!=typeof n){if(!this.s.topology.capabilities())throw new l(\"cannot connect to server\");return this.s.topology.capabilities().hasAggregationCursor&&(t.cursor=t.cursor||{batchSize:1e3},a.cursor=t.cursor),\"boolean\"==typeof t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),this.s.topology.cursor(this.s.namespace,a,t)}return t.cursor?this.s.topology.cursor(this.s.namespace,a,t):void this.s.db.command(a,t,function(e,t){e?v(n,e):t.err||t.errmsg?v(n,h(t)):\"object\"==typeof t&&t.serverPipeline?v(n,null,t.serverPipeline):\"object\"==typeof t&&t.stages?v(n,null,t.stages):v(n,null,t.result)})},O.classMethod(\"aggregate\",{callback:!0,promise:!1}),E.prototype.parallelCollectionScan=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={numCursors:1}),e.numCursors=e.numCursors||1,e.batchSize=e.batchSize||1e3,e=f(e),e=he(this,e,this.s.db,this),e.promiseLibrary=this.s.promiseLibrary,\"function\"==typeof t?se(n,e,t):new this.s.promiseLibrary(function(t,r){se(n,e,function(e,n){return e?r(e):void t(n)})})};var se=function(e,t,n){var r={parallelCollectionScan:e.s.name,numCursors:t.numCursors};e.s.readConcern&&(r.readConcern=e.s.readConcern);var i=t.raw;delete t.raw,e.s.db.command(r,t,function(r,o){if(r)return v(n,r,null);if(null==o)return v(n,new Error(\"no result returned for parallelCollectionScan\"),null);var a=[];i&&(t.raw=i);for(var c=0;c<o.cursors.length;c++){var u=o.cursors[c].cursor.id,p=\"number\"==typeof u?s.fromNumber(u):u;({batchSize:t.batchSize,cursorId:p,items:o.cursors[c].cursor.firstBatch});a.push(e.s.topology.cursor(e.s.namespace,p,t))}v(n,null,a)})};O.classMethod(\"parallelCollectionScan\",{callback:!0,promise:!0}),E.prototype.geoNear=function(e,t,n,r){var i=this,o=\"object\"==typeof e&&e,a=Array.prototype.slice.call(arguments,o?1:2);return r=a.pop(),\"function\"!=typeof r&&a.push(r),n=a.length?a.shift()||{}:{},\"function\"==typeof r?ce(i,e,t,o,n,r):new this.s.promiseLibrary(function(r,a){ce(i,e,t,o,n,function(e,t){return e?a(e):void r(t)})})};var ce=function(e,t,n,r,i,o){var a={geoNear:e.s.name,near:r||[t,n]};i=f(i),i=he(e,i,e.s.db,e);var s={readPreference:!0,geoNear:!0,near:!0};a=g(a,i,s),e.s.readConcern&&(a.readConcern=e.s.readConcern),e.s.db.command(a,i,function(e,t){return e?v(o,e):t.err||t.errmsg?v(o,h(t)):void v(o,null,t)})};O.classMethod(\"geoNear\",{callback:!0,promise:!0}),E.prototype.geoHaystackSearch=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?ue(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ue(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ue=function(e,t,n,r,i){var o={geoSearch:e.s.name,near:[t,n]};o=g(o,r,{readPreference:!0}),r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):((t.err||t.errmsg)&&v(i,utils.toError(t)),void v(i,null,t))})};O.classMethod(\"geoHaystackSearch\",{callback:!0,promise:!0});var pe='function () {\\nvar c = db[ns].find(condition);\\nvar map = new Map();\\nvar reduce_function = reduce;\\n\\nwhile (c.hasNext()) {\\nvar obj = c.next();\\nvar key = {};\\n\\nfor (var i = 0, len = keys.length; i < len; ++i) {\\nvar k = keys[i];\\nkey[k] = obj[k];\\n}\\n\\nvar aggObj = map.get(key);\\n\\nif (aggObj == null) {\\nvar newObj = Object.extend({}, key);\\naggObj = Object.extend(newObj, initial);\\nmap.put(key, aggObj);\\n}\\n\\nreduce_function(obj, aggObj);\\n}\\n\\nreturn { \"result\": map.values() };\\n}';E.prototype.group=function(e,t,n,r,i,o,a,s){var u=this,p=Array.prototype.slice.call(arguments,3);return s=p.pop(),\"function\"!=typeof s&&p.push(s),r=p.length?p.shift():null,i=p.length?p.shift():null,o=p.length?p.shift():null,a=p.length?p.shift()||{}:{},\"function\"!=typeof i&&(o=i,i=null),Array.isArray(e)||!(e instanceof Object)||\"function\"==typeof e||e instanceof c||(e=Object.keys(e)),\"function\"==typeof r&&(r=r.toString()),\"function\"==typeof i&&(i=i.toString()),o=null==o?!0:o,\"function\"==typeof s?le(u,e,t,n,r,i,o,a,s):new this.s.promiseLibrary(function(s,c){le(u,e,t,n,r,i,o,a,function(e,t){return e?c(e):void s(t)})})};var le=function(e,t,n,r,i,o,a,s,u){if(a){var p=i instanceof c?i:new c(i),l={group:{ns:e.s.name,$reduce:p,cond:n,initial:r,out:\"inline\"}};if(null!=o&&(l.group.finalize=o),\"function\"==typeof t||t instanceof c)l.group.$keyf=t instanceof c?t:new c(t);else{var d={};t.forEach(function(e){d[e]=1}),l.group.key=d}s=f(s),s=he(e,s,e.s.db,e),e.s.readConcern&&(l.readConcern=e.s.readConcern),e.s.db.command(l,s,function(e,t){return e?v(u,e,null):void v(u,null,t.retval)})}else{var h=null!=i&&i instanceof c?i.scope:{};h.ns=e.s.name,h.keys=t,h.condition=n,h.initial=r;var m=pe.replace(/ reduce;/,i.toString()+\";\");e.s.db.eval(new c(m,h),function(e,t){return e?v(u,e,null):void v(u,null,t.result||t)})}};O.classMethod(\"group\",{callback:!0,promise:!0}),E.prototype.mapReduce=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),null==n.out)throw new Error(\"the out option parameter must be defined, see mongodb docs for possible values\");return\"function\"==typeof e&&(e=e.toString()),\"function\"==typeof t&&(t=t.toString()),\"function\"==typeof n.finalize&&(n.finalize=n.finalize.toString()),\"function\"==typeof r?fe(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){fe(i,e,t,n,function(e,t,n){return e?o(e):n?void r({results:t,stats:n}):r(t)})})};var fe=function(e,t,n,r,o){var a={mapreduce:e.s.name,map:t,reduce:n};for(var s in r)\"scope\"==s?a[s]=i(r[s]):a[s]=r[s];r=f(r),r=he(e,r,e.s.db,e),0!=r.readPreference&&\"primary\"!=r.readPreference&&r.out&&1!=r.out.inline&&\"inline\"!=r.out?r.readPreference=\"primary\":e.s.readConcern&&(a.readConcern=e.s.readConcern),\"boolean\"==typeof r.bypassDocumentValidation&&(a.bypassDocumentValidation=r.bypassDocumentValidation),e.s.db.command(a,{readPreference:r.readPreference},function(t,n){if(t)return v(o,t);if(1!=n.ok||n.err||n.errmsg)return v(o,h(n));var i={};if(n.timeMillis&&(i.processtime=n.timeMillis),n.counts&&(i.counts=n.counts),n.timing&&(i.timing=n.timing),n.results)return null!=r.verbose&&r.verbose?v(o,null,n.results,i):v(o,null,n.results);var a=null;if(null!=n.result&&\"object\"==typeof n.result){var s=n.result;a=e.s.db.db(s.db).collection(s.collection)}else a=e.s.db.collection(n.result);return null!=r.verbose&&r.verbose?void v(o,t,a,i):v(o,t,a)})};O.classMethod(\"mapReduce\",{callback:!0,promise:!0}),E.prototype.initializeUnorderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,j(this.s.topology,this,e)},O.classMethod(\"initializeUnorderedBulkOp\",{callback:!1,promise:!1,returns:[S.UnorderedBulkOperation]}),E.prototype.initializeOrderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,S(this.s.topology,this,e)},O.classMethod(\"initializeOrderedBulkOp\",{callback:!1,promise:!1,returns:[S.OrderedBulkOperation]});var de=function(e,t,n,r){if(null!=r.w||null!=r.j||null!=r.fsync){var i={};null!=r.w&&(i.w=r.w),null!=r.wtimeout&&(i.wtimeout=r.wtimeout),null!=r.j&&(i.j=r.j),null!=r.fsync&&(i.fsync=r.fsync),e.writeConcern=i}else null!=n.writeConcern.w||null!=n.writeConcern.j||null!=n.writeConcern.fsync?e.writeConcern=n.writeConcern:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},he=function(e,t,n,r){var i=null;if(t.readPreference?i=t.readPreference:e.s.readPreference?i=e.s.readPreference:n.readPreference&&(i=n.readPreference),i instanceof b)t.readPreference=new x(i.mode,i.tags);else if(\"string\"==typeof i)t.readPreference=new x(i);else if(i&&!(i instanceof b)&&\"object\"==typeof i){var o=i.mode||i.preference;o&&\"string\"==typeof o&&(t.readPreference=new x(o,i.tags))}return t},me={limit:1,sort:1,fields:1,skip:1,hint:1,explain:1,snapshot:1,timeout:1,tailable:1,tailableRetryInterval:1,numberOfRetries:1,awaitdata:1,awaitData:1,exhaust:1,batchSize:1,returnKey:1,maxScan:1,min:1,max:1,showDiskLoc:1,comment:1,raw:1,readPreference:1,partial:1,read:1,dbName:1,oplogReplay:1,connection:1,maxTimeMS:1,transforms:1};t.exports=E}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")},\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],223:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\")),o=e(\"mongodb-core\").MongoError,a=e(\"stream\").Readable||e(\"readable-stream\").Readable,s=e(\"./metadata\"),c=e(\"./cursor\"),u=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),p=function(t,r,i,o,s,u){c.apply(this,Array.prototype.slice.call(arguments,0));var l=p.INIT,f={},d=null,h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:s,topologyOptions:u,promiseLibrary:h}};r(p,a);for(var l=[\"_next\",\"next\",\"each\",\"forEach\",\"toArray\",\"rewind\",\"bufferedCount\",\"readBufferedDocuments\",\"close\",\"isClosed\",\"kill\",\"_find\",\"_getmore\",\"_killcursor\",\"isDead\",\"explain\",\"isNotified\",\"isKilled\"],f=0;f<l.length;f++)p.prototype[l[f]]=c.prototype[l[f]];var d=p.define=new s(\"CommandCursor\",p,!0);p.prototype.setReadPreference=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({\nmessage:\"Cursor is closed\",driver:!0});if(this.s.state!=p.INIT)throw o.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof i?this.s.options.readPreference=new u(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new u(e):e instanceof u&&(this.s.options.readPreference=e),this},d.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[p]}),p.prototype.batchSize=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw o.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},d.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[p]}),p.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},d.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[p]}),p.prototype.get=p.prototype.toArray,d.classMethod(\"get\",{callback:!0,promise:!1}),d.classMethod(\"toArray\",{callback:!0,promise:!0}),d.classMethod(\"each\",{callback:!0,promise:!1}),d.classMethod(\"forEach\",{callback:!0,promise:!1}),d.classMethod(\"next\",{callback:!0,promise:!0}),d.classMethod(\"close\",{callback:!0,promise:!0}),d.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),d.classMethod(\"rewind\",{callback:!1,promise:!1}),d.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),d.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),p.INIT=0,p.OPEN=1,p.CLOSED=2,t.exports=p}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],224:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"util\").format,o=e(\"./utils\").formattedOrderClause,a=e(\"./utils\").handleCallback,s=e(\"./read_preference\"),c=e(\"mongodb-core\").MongoError,u=e(\"stream\").Readable||e(\"readable-stream\").Readable,p=e(\"./metadata\"),l=e(\"mongodb-core\").Cursor,f=e(\"mongodb-core\").BSON.Map,d=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),h=[\"tailable\",\"oplogReplay\",\"noCursorTimeout\",\"awaitData\",\"exhaust\",\"partial\"],m=[\"numberOfRetries\",\"tailableRetryInterval\"],v=Array.prototype.push,g=function(t,r,i,o,a,s){l.apply(this,Array.prototype.slice.call(arguments,0));var c=this,p=g.INIT,f={},d=o.numberOfRetries||5,h=o.tailableRetryInterval||500,m=d,v=o.promiseLibrary;v||(v=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),u.call(this,{objectMode:!0}),this.s={numberOfRetries:d,tailableRetryInterval:h,currentNumberOfRetries:m,state:p,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:a,topologyOptions:s,promiseLibrary:v,currentDoc:null},this.timeout=1==c.s.options.noCursorTimeout,this.sortValue=c.s.cmd.sort};r(g,u),l.prototype._next=l.prototype.next;for(var y in l.prototype)g.prototype[y]=l.prototype[y];var b=g.define=new p(\"Cursor\",g,!0);g.prototype.hasNext=function(e){var t=this;return\"function\"==typeof e?t.s.currentDoc?e(null,!0):x(t,function(n,r){return r?(t.s.currentDoc=r,void e(null,!0)):e(null,!1)}):new this.s.promiseLibrary(function(e,n){t.s.currentDoc?e(!0):x(t,function(r,i){return t.s.state==g.CLOSED||t.isDead()?e(!1):r?n(r):i?(t.s.currentDoc=i,void e(!0)):e(!1)})})},b.classMethod(\"hasNext\",{callback:!0,promise:!0}),g.prototype.next=function(e){var t=this;if(\"function\"==typeof e){if(t.s.currentDoc){var n=t.s.currentDoc;return t.s.currentDoc=null,e(null,n)}return x(t,e)}return new this.s.promiseLibrary(function(e,n){if(t.s.currentDoc){var r=t.s.currentDoc;return t.s.currentDoc=null,e(r)}x(t,function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.filter=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.query=e,this},b.classMethod(\"filter\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxScan=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxScan=e,this},b.classMethod(\"maxScan\",{callback:!1,promise:!1,returns:[g]}),g.prototype.hint=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.hint=e,this},b.classMethod(\"hint\",{callback:!1,promise:!1,returns:[g]}),g.prototype.min=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.min=e,this},b.classMethod(\"min\",{callback:!1,promise:!1,returns:[g]}),g.prototype.max=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.max=e,this},b.classMethod(\"max\",{callback:!1,promise:!1,returns:[g]}),g.prototype.returnKey=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.returnKey=e,this},b.classMethod(\"returnKey\",{callback:!1,promise:!1,returns:[g]}),g.prototype.showRecordId=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.showDiskLoc=e,this},b.classMethod(\"showRecordId\",{callback:!1,promise:!1,returns:[g]}),g.prototype.snapshot=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.snapshot=e,this},b.classMethod(\"snapshot\",{callback:!1,promise:!1,returns:[g]}),g.prototype.setCursorOption=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==m.indexOf(e))throw c.create({message:i(\"option %s not a supported option %s\",e,m),driver:!0});return this.s[e]=t,\"numberOfRetries\"==e&&(this.s.currentNumberOfRetries=t),this},b.classMethod(\"setCursorOption\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addCursorFlag=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==h.indexOf(e))throw c.create({message:i(\"flag %s not a supported flag %s\",e,h),driver:!0});if(\"boolean\"!=typeof t)throw c.create({message:i(\"flag %s must be a boolean value\",e),driver:!0});return this.s.cmd[e]=t,this},b.classMethod(\"addCursorFlag\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addQueryModifier=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"$\"!=e[0])throw c.create({message:i(\"%s is not a valid query modifier\"),driver:!0});var n=e.substr(1);return this.s.cmd[n]=t,\"orderby\"==n&&(this.s.cmd.sort=this.s.cmd[n]),this},b.classMethod(\"addQueryModifier\",{callback:!1,promise:!1,returns:[g]}),g.prototype.comment=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.comment=e,this},b.classMethod(\"comment\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxAwaitTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxAwaitTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxAwaitTimeMS=e,this},b.classMethod(\"maxAwaitTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxTimeMS=e,this},b.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMs=g.prototype.maxTimeMS,b.classMethod(\"maxTimeMs\",{callback:!1,promise:!1,returns:[g]}),g.prototype.project=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.fields=e,this},b.classMethod(\"project\",{callback:!1,promise:!1,returns:[g]}),g.prototype.sort=function(e,t){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support sorting\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});var n=e;return Array.isArray(n)&&Array.isArray(n[0])&&(n=new f(n.map(function(e){var t=[e[0],null];if(\"asc\"==e[1])t[1]=1;else if(\"desc\"==e[1])t[1]=-1;else{if(1!=e[1]&&-1!=e[1])throw new c(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[1]=e[1]}return t}))),null!=t&&(n=[[e,t]]),this.s.cmd.sort=n,this.sortValue=n,this},b.classMethod(\"sort\",{callback:!1,promise:!1,returns:[g]}),g.prototype.batchSize=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support batchSize\",driver:!0});if(this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.batchSize=e,this.setCursorBatchSize(e),this},b.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[g]}),g.prototype.limit=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support limit\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"limit requires an integer\",driver:!0});return this.s.cmd.limit=e,this.setCursorLimit(e),this},b.classMethod(\"limit\",{callback:!1,promise:!1,returns:[g]}),g.prototype.skip=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support skip\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"skip requires an integer\",driver:!0});return this.s.cmd.skip=e,this.setCursorSkip(e),this},b.classMethod(\"skip\",{callback:!1,promise:!1,returns:[g]}),g.prototype.nextObject=g.prototype.next;var x=function(e,t){if(e.s.state==g.CLOSED||e.isDead&&e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));if(e.s.state==g.INIT&&e.s.cmd.sort)try{e.s.cmd.sort=o(e.s.cmd.sort)}catch(n){return a(t,n)}e._next(function(n,r){return e.s.state=g.OPEN,n?a(t,n):void a(t,null,r)})};b.classMethod(\"nextObject\",{callback:!0,promise:!0});var w=function(e,t){return 0!=e.bufferedCount()?(e._next(t),w):void 0};g.prototype.next=g.prototype.nextObject,b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.each=function(e){this.rewind(),this.s.state=g.INIT,_(this,e)},b.classMethod(\"each\",{callback:!0,promise:!1});var _=function(e,t){if(!t)throw c.create({message:\"callback is mandatory\",driver:!0});if(!e.isNotified()){if(e.s.state==g.CLOSED||e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));e.s.state==g.INIT&&(e.s.state=g.OPEN);var n=null;if(e.bufferedCount()>0){for(;n=w(e,t);)n(e,t);_(e,t)}else e.next(function(n,r){return n?a(t,n):null==r?(e.s.state=g.CLOSED,a(t,null,null)):void(0!=a(t,null,r)&&_(e,t))})}};g.prototype.forEach=function(e,t){this.each(function(n,r){if(n)return t(n),!1;if(null!=r)return e(r),!0;if(null==r&&t){var i=t;return t=null,i(null),!1}})},b.classMethod(\"forEach\",{callback:!0,promise:!1}),g.prototype.setReadPreference=function(e){if(this.s.state!=g.INIT)throw c.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof s?this.s.options.readPreference=new d(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new d(e):e instanceof d&&(this.s.options.readPreference=e),this},b.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[g]}),g.prototype.toArray=function(e){var t=this;if(t.s.options.tailable)throw c.create({message:\"Tailable cursor cannot be converted to array\",driver:!0});return\"function\"==typeof e?k(t,e):new this.s.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){var n=[];e.rewind(),e.s.state=g.INIT;var r=function(){e._next(function(i,o){if(i)return a(t,i);if(null==o)return e.s.state=g.CLOSED,a(t,null,n);if(n.push(o),e.bufferedCount()>0){var s=e.readBufferedDocuments(e.bufferedCount());e.s.transforms&&\"function\"==typeof e.s.transforms.doc&&(s=s.map(e.s.transforms.doc)),v.apply(n,s)}r()})};r()};b.classMethod(\"toArray\",{callback:!0,promise:!0}),g.prototype.count=function(e,t,n){var r=this;if(null==r.s.cmd.query)throw c.create({message:\"count can only be used with find command\",driver:!0});return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?j(r,e,t,n):new this.s.promiseLibrary(function(n,i){j(r,e,t,function(e,t){return e?i(e):void n(t)})})};var j=function(e,t,n,r){\"function\"==typeof t&&(r=t,t=!0),t&&(\"number\"==typeof e.cursorSkip()&&(n.skip=e.cursorSkip()),\"number\"==typeof e.cursorLimit()&&(n.limit=e.cursorLimit()));var o=e.s.ns.indexOf(\".\"),a={count:e.s.ns.substr(o+1),query:e.s.cmd.query};\"number\"==typeof n.maxTimeMS?a.maxTimeMS=n.maxTimeMS:e.s.cmd&&\"number\"==typeof e.s.cmd.maxTimeMS&&(a.maxTimeMS=e.s.cmd.maxTimeMS),n.skip&&(a.skip=n.skip),n.limit&&(a.limit=n.limit),e.s.options.hint&&(a.hint=e.s.options.hint),e.topology.command(i(\"%s.$cmd\",e.s.ns.substr(0,o)),a,function(e,t){r(e,t?t.result.n:null)})};b.classMethod(\"count\",{callback:!0,promise:!0}),g.prototype.close=function(e){return this.s.state=g.CLOSED,this.kill(),this.emit(\"close\"),\"function\"==typeof e?a(e,null,this):new this.s.promiseLibrary(function(e,t){e()})},b.classMethod(\"close\",{callback:!0,promise:!0}),g.prototype.map=function(e){return this.cursorState.transforms={doc:e},this},b.classMethod(\"map\",{callback:!1,promise:!1,returns:[g]}),g.prototype.isClosed=function(){return this.isDead()},b.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.destroy=function(e){e&&this.emit(\"error\",e),this.pause(),this.close()},b.classMethod(\"destroy\",{callback:!1,promise:!1}),g.prototype.stream=function(e){return this.s.streamOptions=e||{},this},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[g]}),g.prototype.explain=function(e){var t=this;return this.s.cmd.explain=!0,this.s.cmd.readConcern&&delete this.s.cmd.readConcern,\"function\"==typeof e?this._next(e):new this.s.promiseLibrary(function(e,n){t._next(function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"explain\",{callback:!0,promise:!0}),g.prototype._read=function(e){var t=this;return t.s.state==g.CLOSED||t.isDead()?t.push(null):void t.nextObject(function(e,n){return e?(t.listeners(\"error\")&&t.listeners(\"error\").length>0&&t.emit(\"error\",e),t.isDead()||t.close(),t.emit(\"end\"),t.emit(\"finish\")):\"function\"==typeof t.s.streamOptions.transform&&null!=n?t.push(t.s.streamOptions.transform(n)):t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.doc&&null!=n?t.push(t.cursorState.transforms.doc(n)):void t.push(n)})},Object.defineProperty(g.prototype,\"readPreference\",{enumerable:!0,get:function(){return this&&this.s?this.s.options.readPreference:null}}),Object.defineProperty(g.prototype,\"namespace\",{enumerable:!0,get:function(){if(!this||!this.s)return null;var e=this.s.ns||\"\",t=e.indexOf(\".\");return 0>t?{database:this.s.ns,collection:\"\"}:{database:e.substr(0,t),collection:e.substr(t+1)}}}),g.INIT=0,g.OPEN=1,g.CLOSED=2,g.GET_MORE=3,t.exports=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],225:[function(e,t,n){(function(n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./utils\").getSingleProperty,a=e(\"./utils\").shallowClone,s=e(\"./utils\").parseIndexOptions,c=e(\"./utils\").debugOptions,u=e(\"./command_cursor\"),p=e(\"./utils\").handleCallback,l=e(\"./utils\").toError,f=e(\"./read_preference\"),d=e(\"util\").format,h=e(\"./admin\"),m=e(\"mongodb-core\").BSON.Code,v=e(\"mongodb-core\").ReadPreference,g=e(\"mongodb-core\").MongoError,y=e(\"mongodb-core\").ObjectID,b=e(\"./metadata\"),x=e(\"mongodb-core\").Logger,w=e(\"./collection\"),_=e(\"crypto\"),k=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"numberOfRetries\",\"retryMiliSeconds\",\"readPreference\",\"pkFactory\"],j=function(t,i,a){if(a=a||{},!(this instanceof j))return new j(t,i,a);r.call(this);var s=this,c=a.promiseLibrary;c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.promiseLibrary=c,this.s={databaseName:t,dbCache:{},children:[],topology:i,options:a,logger:x(\"Db\",a),bson:i?i.bson:null,authSource:a.authSource,readPreference:a.readPreference,bufferMaxEntries:\"number\"==typeof a.bufferMaxEntries?a.bufferMaxEntries:-1,parentDb:a.parentDb||null,pkFactory:a.pkFactory||y,nativeParser:a.nativeParser||a.native_parser,promiseLibrary:c,noListener:\"boolean\"==typeof a.noListener?a.noListener:!1,readConcern:a.readConcern},U(s.s.databaseName),\"boolean\"==typeof s.s.nativeParser&&(s.s.nativeParser?i.setBSONParserType(\"c++\"):i.setBSONParserType(\"js\")),o(this,\"serverConfig\",s.s.topology),o(this,\"bufferMaxEntries\",s.s.bufferMaxEntries),o(this,\"databaseName\",s.s.databaseName),a.parentDb||this.s.noListener||(i.on(\"error\",V(s,\"error\",s)),i.on(\"timeout\",V(s,\"timeout\",s)),i.on(\"close\",V(s,\"close\",s)),i.on(\"parseError\",V(s,\"parseError\",s)),i.once(\"open\",V(s,\"open\",s)),i.once(\"fullsetup\",V(s,\"fullsetup\",s)),i.once(\"all\",V(s,\"all\",s)),i.on(\"reconnect\",V(s,\"reconnect\",s)))};i(j,r);var S=j.define=new b(\"Db\",j,!1);Object.defineProperty(j.prototype,\"topology\",{enumerable:!0,get:function(){return this.s.topology}}),Object.defineProperty(j.prototype,\"options\",{enumerable:!0,get:function(){return this.s.options}}),Object.defineProperty(j.prototype,\"native_parser\",{enumerable:!0,get:function(){return\"c++\"==this.s.topology.parserType()}}),Object.defineProperty(j.prototype,\"slaveOk\",{enumerable:!0,get:function(){return null!=this.s.options.readPreference&&(\"primary\"!=this.s.options.readPreference||\"primary\"!=this.s.options.readPreference.mode)}}),Object.defineProperty(j.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}});var E=function(e,t){e.s.topology.connect(e,e.s.options,function(n,r){if(null!=t){var i=t;return n?(e.close(),i(n)):void i(null,e)}})};j.prototype.open=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.s.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"open\",{callback:!0,promise:!0});var O=function(e){if(e&&\"string\"==typeof e)return new v(e);if(e instanceof f)return new v(e.mode,e.tags);if(e&&\"object\"==typeof e){var t=e.mode||e.preference;t&&\"string\"==typeof t&&(e=new v(t,e.tags))}return e},A=function(e,t,n,r){if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i=n.dbName||n.authdb||e.s.databaseName;null==n.readPreference&&e.s.readPreference&&(n.readPreference=e.s.readPreference),n.readPreference&&(n.readPreference=O(n.readPreference)),e.s.logger.isDebug()&&e.s.logger.debug(d(\"executing command %s against %s with options [%s]\",JSON.stringify(t),d(\"%s.$cmd\",i),JSON.stringify(c(k,n)))),e.s.topology.command(d(\"%s.$cmd\",i),t,n,function(e,t){return e?p(r,e):n.full?p(r,null,t):void p(r,null,t.result)})};j.prototype.command=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=a(t),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"command\",{callback:!0,promise:!0}),j.prototype.close=function(e,t){\"function\"==typeof e&&(t=e,e=!1),this.s.topology.close(e);var n=this;if(this.listeners(\"close\").length>0){if(this.emit(\"close\"),null==this.parentDb)for(var r=0;r<this.s.children.length;r++)this.s.children[r].emit(\"close\");n.removeAllListeners(\"close\")}return this.s.parentDb&&this.s.parentDb.close(),\"function\"==typeof t?process.nextTick(function(){p(t,null)}):new this.s.promiseLibrary(function(e,t){e()})},S.classMethod(\"close\",{callback:!0,promise:!0}),j.prototype.admin=function(){return new h(this,this.s.topology,this.s.promiseLibrary)},S.classMethod(\"admin\",{callback:!1,promise:!1,returns:[h]}),j.prototype.collection=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readConcern=t.readConcern||this.s.readConcern,this.s.options.ignoreUndefined&&(t.ignoreUndefined=this.s.options.ignoreUndefined),null==t||!t.strict)try{var i=new w(this,this.s.topology,this.s.databaseName,e,this.s.pkFactory,t);return n&&n(null,i),i}catch(o){if(n)return n(o);throw o}if(\"function\"!=typeof n)throw l(d(\"A callback is required in strict mode. While getting collection %s.\",e));return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):void this.listCollections({name:e}).toArray(function(i,o){if(null!=i)return p(n,i,null);if(0==o.length)return p(n,l(d(\"Collection %s does not exist. Currently in strict mode.\",e)),null);try{return p(n,null,new w(r,r.s.topology,r.s.databaseName,e,r.s.pkFactory,t))}catch(i){return p(n,i,null)}})},S.classMethod(\"collection\",{callback:!0,promise:!1,returns:[w]});var C=function(e,t,n,r){var i=H(a(n),e,n);return e.serverConfig&&e.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):void e.listCollections({name:t}).toArray(function(o,a){if(null!=o)return p(r,o,null);if(a.length>0&&i.strict)return p(r,g.create({message:d(\"Collection %s already exists. Currently in strict mode.\",t),driver:!0}),null);if(a.length>0)try{return p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))}catch(o){return p(r,o)}var s={create:t};for(var c in n)null!=n[c]&&\"function\"!=typeof n[c]&&(s[c]=n[c]);e.command(s,i,function(i,o){return i?p(r,i):void p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))})})};j.prototype.createCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift()||{}:{},t.promiseLibrary=t.promiseLibrary||this.s.promiseLibrary,\"string\"==typeof n&&(e=n),\"function\"==typeof n?C(r,e,t,n):new this.s.promiseLibrary(function(n,i){C(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"createCollection\",{callback:!0,promise:!0}),j.prototype.stats=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=e||{};var n={dbStats:!0};return null!=e.scale&&(n.scale=e.scale),this.command(n,e,t)},S.classMethod(\"stats\",{callback:!0,promise:!0});var T=function(e){var t=d(\"%s.\",e);return{doc:function(e){var n=e.name.indexOf(t);return e.name&&0==n&&(e.name=e.name.substr(n+t.length)),e}}};j.prototype.listCollections=function(e,t){if(e=e||{},t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readPreference&&(t.readPreference=O(t.readPreference)),this.serverConfig.capabilities().hasListCollectionsCommand){var n=t.batchSize?{batchSize:t.batchSize}:{},r={listCollections:!0,filter:e,cursor:n};t.cursorFactory=u;var n=this.s.topology.cursor(d(\"%s.$cmd\",this.s.databaseName),r,t);return t.readPreference&&n.setReadPreference(t.readPreference),n}this.serverConfig.capabilities().hasListCollectionsCommand||\"string\"!=typeof e.name||new RegExp(\"^\"+this.databaseName+\"\\\\.\").test(e.name)||(e=a(e),e.name=d(\"%s.%s\",this.s.databaseName,e.name)),null==e&&(e.name=d(\"/%s/\",this.s.databaseName)),e=e.name?{$and:[{name:e.name},{name:/^((?!\\$).)*$/}]}:{name:/^((?!\\$).)*$/};var i={transforms:T(this.s.databaseName)},n=this.collection(j.SYSTEM_NAMESPACE_COLLECTION).find(e,i);return t.readPreference&&n.setReadPreference(t.readPreference),t.batchSize&&(n=n.batchSize(t.batchSize)),n},S.classMethod(\"listCollections\",{callback:!1,promise:!1,returns:[u]});var I=function(e,t,n,r,i){var o=t,a=[];if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));o instanceof m||(o=new m(o)),null==n||Array.isArray(n)||\"function\"==typeof n?null!=n&&Array.isArray(n)&&\"function\"!=typeof n&&(a=n):a=[n];var s={$eval:o,args:a};r.nolock&&(s.nolock=r.nolock),r.readPreference=new v(f.PRIMARY),e.command(s,r,function(e,t){return e?p(i,e,null):t&&1==t.ok?p(i,null,t.retval):t?p(i,g.create({message:d(\"eval failed: %s\",t.errmsg),driver:!0}),null):void p(i,e,t)})};j.prototype.eval=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift():t,n=o.length?o.shift()||{}:{},\"function\"==typeof r?I(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){I(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"eval\",{callback:!0,promise:!0}),j.prototype.renameCollection=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},n.new_collection=!0,\"function\"==typeof r?this.collection(e).rename(t,n,r):new this.s.promiseLibrary(function(r,o){i.collection(e).rename(t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"renameCollection\",{callback:!0,promise:!0}),j.prototype.dropCollection=function(e,t){var n=this,r={drop:e};return\"function\"==typeof t?this.command(r,this.s.options,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e):r.ok?p(t,null,!0):void p(t,null,!1)}):new this.s.promiseLibrary(function(e,t){n.command(r,n.s.options,function(r,i){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):r?t(r):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropCollection\",{callback:!0,promise:!0}),j.prototype.dropDatabase=function(e){var t=this,n={dropDatabase:1};return\"function\"==typeof e?this.command(n,this.s.options,function(n,r){if(t.serverConfig&&t.serverConfig.isDestroyed())return e(new g(\"topology was destroyed\"));if(null!=e)return n?p(e,n,null):void p(e,null,!!r.ok)}):new this.s.promiseLibrary(function(e,r){t.command(n,t.s.options,function(n,i){return t.serverConfig&&t.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):n?r(n):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropDatabase\",{callback:!0,promise:!0});var P=function(e,t){e.listCollections().toArray(function(n,r){return null!=n?p(t,n,null):(r=r.filter(function(e){return-1==e.name.indexOf(\"$\")}),void p(t,null,r.map(function(t){return new w(e,e.s.topology,e.s.databaseName,t.name.replace(e.s.databaseName+\".\",\"\"),e.s.pkFactory,e.s.options)})))})};j.prototype.collections=function(e){var t=this;return\"function\"==typeof e?P(t,e):new t.s.promiseLibrary(function(e,n){P(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"collections\",{callback:!0,promise:!0}),j.prototype.executeDbAdminCommand=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t.readPreference&&!(t.readPreference instanceof f)&&\"object\"==typeof t.readPreference){var i=t.readPreference.mode||t.readPreference.preference;i&&\"string\"==typeof i&&(t.readPreference=new f(i,readPreference.tags))}return\"function\"==typeof n?r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):e?p(n,e):void p(n,null,t.result)}):new r.s.promiseLibrary(function(n,i){r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):e?i(e):void n(t.result)})})},S.classMethod(\"executeDbAdminCommand\",{callback:!0,promise:!0}),j.prototype.createIndex=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},n=\"function\"==typeof r?n:r,n=null==n?{}:n,n=a(n),n.readPreference=f.PRIMARY,\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){var o=H({},e,r);if(o.writeConcern&&\"function\"!=typeof i)throw g.create({message:\"Cannot use a writeConcern without a provided callback\",driver:!0});return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void $(e,t,n,r,function(a,s){if(null==a)return p(i,a,s);if(67===a.code)return p(i,a,s);var c=L(e,t,n,r);o.checkKeys=!1,e.s.topology.insert(d(\"%s.%s\",e.s.databaseName,j.SYSTEM_INDEX_COLLECTION),c,o,function(e,t){return null!=i?e?p(i,e):null==t?p(i,null,null):t.result.writeErrors?p(i,g.create(t.result.writeErrors[0]),null):void p(i,null,c.name):void 0})})};S.classMethod(\"createIndex\",{callback:!0,promise:!0}),j.prototype.ensureIndex=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){var o=H({},e,r),a=L(e,t,n,r),s=a.name;if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));e.indexInformation(t,o,function(o,a){if(null!=o&&26!=o.code)return p(i,o,null);if(null!=a&&a[s]){if(\"function\"==typeof i)return p(i,null,s)}else e.createIndex(t,n,r,i)})};S.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),j.prototype.addChild=function(e){return this.s.parentDb?this.s.parentDb.addChild(e):void this.s.children.push(e)},j.prototype.db=function(e,t){t=t||{};for(var n in this.options)t[n]=this.options[n];if(this.s.dbCache[e]&&t.returnNonCachedInstance!==!0)return this.s.dbCache[e];null!=t.noListener&&0!=t.noListener||(t.parentDb=this),t.promiseLibrary=this.s.promiseLibrary;var r=new j(e,this.s.topology,t);return null!=t.noListener&&0!=t.noListener||this.addChild(r),this.s.dbCache[e]=r,r},S.classMethod(\"db\",{callback:!1,promise:!1,returns:[j]});var z=function(e,t,n,r,i){if(\"string\"==typeof t&&null!=n&&\"object\"==typeof n&&(r=n,n=null),\"function\"==typeof r&&(i=r,r={}),null!=r.digestPassword)throw l(\"The digestPassword option is not supported via add_user. Please use db.command('createUser', ...) instead for this option.\");var o=null!=r.customData?r.customData:{},a=Array.isArray(r.roles)?r.roles:[],s=\"number\"==typeof r.maxTimeMS?r.maxTimeMS:null;0==a.length&&console.log(\"Creating a user without roles is deprecated in MongoDB >= 2.6\");var c={writeCommand:!0};r.dbName&&(c.dbName=r.dbName),null!=s&&(c.maxTimeMS=s),\"admin\"!=e.databaseName.toLowerCase()&&\"admin\"!=r.dbName||Array.isArray(r.roles)?Array.isArray(r.roles)||(a=[\"dbOwner\"]):a=[\"root\"];var u={createUser:t,customData:o,roles:a,digestPassword:!1};u=H(u,e,r);var f=_.createHash(\"md5\");f.update(t+\":mongo:\"+n);var d=f.digest(\"hex\");\"string\"==typeof n&&(u.pwd=d),c.readPreference=v.primary,e.command(u,c,function(e,n){return e&&0==e.ok&&void 0==e.code?p(i,{code:-5e3},null):e?p(i,e,null):void p(i,n.ok?null:l(n),n.ok?[{user:t,pwd:\"\"}]:null)})},B=function(e,t,n,r,i){return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void z(e,t,n,r,function(o,s){if(o&&-5e3==o.code){var c=H(a(r),e,r),u=_.createHash(\"md5\");u.update(t+\":mongo:\"+n);var l=u.digest(\"hex\"),f=r.dbName?e.db(r.dbName):e,d=f.collection(j.SYSTEM_USER_COLLECTION);return void d.count({},function(e,n){return null!=e?p(i,e,null):void d.find({user:t},{dbName:r.dbName}).toArray(function(e,r){return null!=e?p(i,e,null):(c.upsert=!0,void d.update({user:t},{$set:{user:t,pwd:l}},c,function(e,r,o){return 0==n&&e?p(i,null,[{user:t,pwd:l}]):e?p(i,e,null):void p(i,null,[{user:t,pwd:l}])}))})})}return o?p(i,o):void p(i,o,s)})};j.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);\nreturn r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?B(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){B(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"addUser\",{callback:!0,promise:!0});var N=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i={writeCommand:!0};n.dbName&&(i.dbName=n.dbName);var o=\"number\"==typeof n.maxTimeMS?n.maxTimeMS:null;null!=o&&(i.maxTimeMS=o);var a={dropUser:t};a=H(a,e,n),i.readPreference=v.primary,e.command(a,i,function(e,t){return e&&!e.ok&&void 0==e.code?p(r,{code:-5e3}):e?p(r,e,null):void p(r,null,!!t.ok)})},D=function(e,t,n,r){N(e,t,n,function(i,o){if(i&&-5e3==i.code){var s=H(a(n),e,n),c=n.dbName?e.db(n.dbName):e,u=c.collection(j.SYSTEM_USER_COLLECTION);return void u.findOne({user:t},{},function(e,n){return null==n?p(r,e,!1):void u.remove({user:t},s,function(e,t){p(r,e,!0)})})}return i?p(r,i):void p(r,i,o)})};S.classMethod(\"removeUser\",{callback:!0,promise:!0}),j.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r,i){if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));var o=r.authdb?r.authdb:r.dbName;o=r.authSource?r.authSource:o,o=o?o:e.databaseName;var a=function(t,n){e.listeners(\"authenticated\").length>0&&e.emit(\"authenticated\",t,n),p(i,t,n)},s=r.authMechanism||\"\";s=s.toUpperCase(),\"MONGODB-CR\"==s?e.s.topology.auth(\"mongocr\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"PLAIN\"==s?e.s.topology.auth(\"plain\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"MONGODB-X509\"==s?e.s.topology.auth(\"x509\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"SCRAM-SHA-1\"==s?e.s.topology.auth(\"scram-sha-1\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"GSSAPI\"==s?\"win32\"==process.platform?e.s.topology.auth(\"sspi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):e.s.topology.auth(\"gssapi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"DEFAULT\"==s?e.s.topology.auth(\"default\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):p(i,g.create({message:d(\"authentication mechanism %s not supported\",r.authMechanism),driver:!0}))};j.prototype.authenticate=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(n=a(n),n.authMechanism){if(\"GSSAPI\"!=n.authMechanism&&\"MONGODB-CR\"!=n.authMechanism&&\"MONGODB-X509\"!=n.authMechanism&&\"SCRAM-SHA-1\"!=n.authMechanism&&\"PLAIN\"!=n.authMechanism)return p(r,g.create({message:\"only GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\",driver:!0}))}else n.authMechanism=\"DEFAULT\";return\"function\"==typeof r?q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?r(e,t):void r(null,t)}):new this.s.promiseLibrary(function(r,o){q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?o(e):void r(t)})})},S.classMethod(\"authenticate\",{callback:!0,promise:!0}),j.prototype.logout=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{};var i={logout:1};return e.onAll=!0,this.s.authSource&&(e.dbName=this.s.authSource),\"function\"==typeof t?this.command(i,e,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e,!1):void p(t,null,!0)}):new this.s.promiseLibrary(function(t,r){n.command(i,e,function(e,i){return n.serverConfig&&n.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):e?r(e):void t(!0)})})},S.classMethod(\"logout\",{callback:!0,promise:!0});j.prototype.indexInformation=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?R(r,e,t,n):new this.s.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})};var R=function(e,t,n,r){var i=null==n.full?!1:n.full;if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var o=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.name]=[];for(var i in r.key)t[r.name].push([i,r.key[i]])}return t};e.collection(t).listIndexes().toArray(function(e,t){return e?r(l(e)):Array.isArray(t)?i?p(r,null,t):void p(r,null,o(t)):p(r,null,[])})};S.classMethod(\"indexInformation\",{callback:!0,promise:!0});var L=function(e,t,n,r){var i=s(n),o=i.fieldHash,a=(i.keys,\"string\"==typeof r.name?r.name:i.name),c={ns:e.databaseName+\".\"+t,key:o,name:a},u=null==r||\"object\"==typeof r?!1:r;r=null==r||\"boolean\"==typeof r?{}:r;var p=Object.keys(c);for(var l in r)-1==p.indexOf(l)&&(c[l]=r[l]);null==c.unique&&(c.unique=u);for(var f=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],d=0;d<f.length;d++)delete c[f[d]];return c},$=function(e,t,n,r,i){var o=s(n),a=\"string\"==typeof r.name?r.name:o.name,c=[{name:a,key:o.fieldHash}],u=Object.keys(c[0]);for(var f in r){-1==u.indexOf(f)&&(c[0][f]=r[f]);for(var d=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],h=0;h<d.length;h++)delete c[0][d[h]]}var m={createIndexes:t,indexes:c};m=H(m,e,r),e.command(m,r,function(e,t){return e?p(i,e,null):0==t.ok?p(i,l(t),null):void p(i,null,a)})},U=function(e){if(\"string\"!=typeof e)throw g.create({message:\"database name must be a string\",driver:!0});if(0===e.length)throw g.create({message:\"database name cannot be the empty string\",driver:!0});if(\"$external\"!=e)for(var t=[\" \",\".\",\"$\",\"/\",\"\\\\\"],n=0;n<t.length;n++)if(-1!=e.indexOf(t[n]))throw g.create({message:\"database names cannot contain the character '\"+t[n]+\"'\",driver:!0})},H=function(e,t,n){if(null!=n.w||null!=n.j||null!=n.fsync){var r={};n.w&&(r.w=n.w),n.wtimeout&&(r.wtimeout=n.wtimeout),n.j&&(r.j=n.j),n.fsync&&(r.fsync=n.fsync),e.writeConcern=r}else null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},V=function(e,t,n){var r=function(r){if(\"error\"!=t){n.emit(t,r,e);for(var i=0;i<e.s.children.length;i++)e.s.children[i].emit(t,r,e.s.children[i])}};return r};j.prototype.unref=function(e,t){this.s.topology.unref()},j.SYSTEM_NAMESPACE_COLLECTION=\"system.namespaces\",j.SYSTEM_INDEX_COLLECTION=\"system.indexes\",j.SYSTEM_PROFILE_COLLECTION=\"system.profile\",j.SYSTEM_USER_COLLECTION=\"system.users\",j.SYSTEM_COMMAND_COLLECTION=\"$cmd\",j.SYSTEM_JS_COLLECTION=\"system.js\",t.exports=j}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./admin\":216,\"./collection\":222,\"./command_cursor\":223,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,crypto:void 0,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,util:void 0}],226:[function(e,t,n){function r(e,t,n,r,i){this.s={bytesRead:0,chunks:e,cursor:null,expected:0,files:t,filter:r,init:!1,expectedEnd:0,file:null,options:i,readPreference:n},l.Readable.call(this)}function i(e){if(e.s.init)throw new Error(\"You cannot change options after the stream has enteredflowing mode!\")}function o(e){e.destroyed||e.s.cursor.next(function(t,n){if(!e.destroyed){if(t)return p(e,t);if(!n)return e.push(null),e.s.cursor.close(function(t){return t?p(e,t):void e.emit(\"close\")});var r=e.s.file.length-e.s.bytesRead,i=e.s.expected++,o=Math.min(e.s.file.chunkSize,r);if(n.n>i){var a=\"ChunkIsMissing: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.n<i){var a=\"ExtraChunk: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.data.length()!==o){if(0>=r){var a=\"ExtraChunk: Got unexpected n: \"+n.n;return p(e,new Error(a))}var a=\"ChunkIsWrongSize: Got unexpected length: \"+n.data.length()+\", expected: \"+o;return p(e,new Error(a))}if(e.s.bytesRead+=n.data.length(),0===n.data.buffer.length)return e.push(null);var s=null,c=null,u=n.data.buffer;null!=e.s.bytesToSkip&&(s=e.s.bytesToSkip,e.s.bytesToSkip=0),i===e.s.expectedEnd&&null!=e.s.bytesToTrim&&(c=e.s.bytesToTrim),null==s&&null==c||(u=u.slice(s||0,c||u.length)),e.push(u)}})}function a(e){var t={};e.s.readPreference&&(t.readPreference=e.s.readPreference),e.s.options&&e.s.options.sort&&(t.sort=e.s.options.sort),e.s.options&&e.s.options.skip&&(t.skip=e.s.options.skip),e.s.files.findOne(e.s.filter,t,function(t,n){if(t)return p(e,t);if(!n){var r=e.s.filter._id?e.s.filter._id.toString():e.s.filter.filename,i=\"FileNotFound: file \"+r+\" was not found\",o=new Error(i);return o.code=\"ENOENT\",p(e,o)}return n.length<=0?void e.push(null):e.destroyed?void e.emit(\"close\"):(e.s.cursor=e.s.chunks.find({files_id:n._id}).sort({n:1}),e.s.readPreference&&e.s.cursor.setReadPreference(e.s.readPreference),e.s.expectedEnd=Math.ceil(n.length/n.chunkSize),e.s.file=n,e.s.bytesToSkip=c(e,n,e.s.cursor,e.s.options),e.s.bytesToTrim=u(e,n,e.s.cursor,e.s.options),void e.emit(\"file\",n))})}function s(e,t){return e.s.file?t():(e.s.init||(a(e),e.s.init=!0),void e.once(\"file\",function(){t()}))}function c(e,t,n,r){if(r&&null!=r.start){if(r.start>t.length)throw new Error(\"Stream start (\"+r.start+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream start (\"+r.start+\") must not be negative\");if(null!=r.end&&r.end<r.start)throw new Error(\"Stream start (\"+r.start+\") must not be greater than stream end (\"+r.end+\")\");return n.skip(Math.floor(r.start/t.chunkSize)),e.s.bytesRead=Math.floor(r.start/t.chunkSize)*t.chunkSize,e.s.expected=Math.floor(r.start/t.chunkSize),r.start-e.s.bytesRead}}function u(e,t,n,r){if(r&&null!=r.end){if(r.end>t.length)throw new Error(\"Stream end (\"+r.end+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream end (\"+r.end+\") must not be negative\");var i=null!=r.start?Math.floor(r.start/t.chunkSize):0;return n.limit(Math.ceil(r.end/t.chunkSize)-i),e.s.expectedEnd=Math.ceil(r.end/t.chunkSize),Math.ceil(r.end/t.chunkSize)*t.chunkSize-r.end}}function p(e,t){e.emit(\"error\",t)}var l=(e(\"../utils\").shallowClone,e(\"stream\")),f=e(\"util\");t.exports=r,f.inherits(r,l.Readable),r.prototype._read=function(){var e=this;this.destroyed||s(e,function(){o(e)})},r.prototype.start=function(e){return i(this),this.s.options.start=e,this},r.prototype.end=function(e){return i(this),this.s.options.end=e,this},r.prototype.abort=function(e){var t=this;this.push(null),this.destroyed=!0,this.s.cursor?this.s.cursor.close(function(n){t.emit(\"close\"),e&&e(n)}):(this.s.init||t.emit(\"close\"),e&&e())}},{\"../utils\":239,stream:void 0,util:void 0}],227:[function(e,t,n){(function(n){function r(t,r){if(s.apply(this),this.setMaxListeners(0),r&&\"object\"==typeof r){r=p(r);for(var i=Object.keys(d),o=0;o<i.length;++o)r[i[o]]||(r[i[o]]=d[i[o]])}else r=d;this.s={db:t,options:r,_chunksCollection:t.collection(r.bucketName+\".chunks\"),_filesCollection:t.collection(r.bucketName+\".files\"),checkedIndexes:!1,calledOpenUploadStream:!1,promiseLibrary:t.s.promiseLibrary||(\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise)}}function i(e,t,n){e.s._filesCollection.deleteOne({_id:t},function(r,i){return r?n(r):void e.s._chunksCollection.deleteMany({files_id:t},function(e){if(e)return n(e);if(!i.result.n){var r=\"FileNotFound: no file with id \"+t+\" found\";return n(new Error(r))}n()})})}function o(e,t,n,r){var i={_id:t},o={$set:{filename:n}};e.s._filesCollection.updateOne(i,o,function(e,n){return e?r(e):n.result.n?void r():r(l(\"File with id \"+t+\" not found\"))})}function a(e,t){e.s._filesCollection.drop(function(n){return n?t(n):void e.s._chunksCollection.drop(function(e){return e?t(e):t()})})}var s=e(\"events\").EventEmitter,c=e(\"./download\"),u=e(\"./upload\"),p=e(\"../utils\").shallowClone,l=e(\"../utils\").toError,f=e(\"util\"),d={bucketName:\"fs\",chunkSizeBytes:261120};t.exports=r,f.inherits(r,s),r.prototype.openUploadStream=function(e,t){return t=t?p(t):{},t.chunkSizeBytes||(t.chunkSizeBytes=this.s.options.chunkSizeBytes),new u(this,e,t)},r.prototype.openDownloadStream=function(e,t){var n={_id:e},t={start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,n,t)},r.prototype[\"delete\"]=function(e,t){if(\"function\"==typeof t)return i(this,e,t);var n=this;return new this.s.promiseLibrary(function(t,r){i(n,e,function(e,n){e?r(e):t(n)})})},r.prototype.find=function(e,t){e=e||{},t=t||{};var n=this.s._filesCollection.find(e);return null!=t.batchSize&&n.batchSize(t.batchSize),null!=t.limit&&n.limit(t.limit),null!=t.maxTimeMS&&n.maxTimeMS(t.maxTimeMS),null!=t.noCursorTimeout&&n.addCursorFlag(\"noCursorTimeout\",t.noCursorTimeout),null!=t.skip&&n.skip(t.skip),null!=t.sort&&n.sort(t.sort),n},r.prototype.openDownloadStreamByName=function(e,t){var n={uploadDate:-1},r=null;t&&null!=t.revision&&(t.revision>=0?(n={uploadDate:1},r=t.revision):r=-t.revision-1);var i={filename:e},t={sort:n,skip:r,start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,i,t)},r.prototype.rename=function(e,t,n){if(\"function\"==typeof n)return o(this,e,t,n);var r=this;return new this.s.promiseLibrary(function(n,i){o(r,e,t,function(e,t){e?i(e):n(t)})})},r.prototype.drop=function(e){if(\"function\"==typeof e)return a(this,e);var t=this;return new this.s.promiseLibrary(function(e,n){a(t,function(t,r){t?n(t):e(r)})})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../utils\":239,\"./download\":226,\"./upload\":228,\"es6-promise\":95,events:void 0,util:void 0}],228:[function(e,t,n){(function(n){function r(e,t,r){if(this.bucket=e,this.chunks=e.s._chunksCollection,this.filename=t,this.files=e.s._filesCollection,this.options=r,this.id=m.BSON.ObjectId(),this.chunkSizeBytes=this.options.chunkSizeBytes,this.bufToStore=new n(this.chunkSizeBytes),this.length=0,this.md5=v.createHash(\"md5\"),this.n=0,this.pos=0,this.state={streamEnd:!1,outstandingRequests:0,errored:!1,aborted:!1,promiseLibrary:this.bucket.s.promiseLibrary},!this.bucket.s.calledOpenUploadStream){this.bucket.s.calledOpenUploadStream=!0;var i=this;c(this,function(){i.bucket.s.checkedIndexes=!0,i.bucket.emit(\"index\")})}}function i(e,t,n){return e.state.errored?void 0:(e.state.errored=!0,n?n(t):void e.emit(\"error\",t))}function o(e,t,n){return{_id:m.BSON.ObjectId(),files_id:e,n:t,data:n}}function a(e,t){e.chunks.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={files_id:1,n:1};return void e.chunks.createIndex(i,{background:!1},function(e){return e?t(e):void t()})}return t(n)}var o=!1;if(r.forEach(function(e){if(e.key){var t=Object.keys(e.key);2===t.length&&1===e.key.files_id&&1===e.key.n&&(o=!0)}}),o)t();else{var i={files_id:1,n:1},a=l(e);a.background=!1,a.unique=!0,e.chunks.createIndex(i,a,function(e){return e?t(e):void t()})}})}function s(e,t){if(e.state.streamEnd&&0===e.state.outstandingRequests&&!e.state.errored){var n=u(e.id,e.length,e.chunkSizeBytes,e.md5.digest(\"hex\"),e.filename,e.options.contentType,e.options.aliases,e.options.metadata);return h(e,t)?!1:(e.files.insert(n,l(e),function(r){return r?i(e,r,t):void e.emit(\"finish\",n)}),!0)}return!1}function c(e,t){e.files.findOne({},{_id:1},function(n,r){return n?t(n):r?t():void e.files.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={filename:1,uploadDate:1};return void e.files.createIndex(i,{background:!1},function(n){return n?t(n):void a(e,t)})}return t(n)}var o=!1;if(r.forEach(function(e){var t=Object.keys(e.key);2===t.length&&1===e.key.filename&&1===e.key.uploadDate&&(o=!0)}),o)a(e,t);else{var i={filename:1,uploadDate:1},s=l(e);s.background=!1,e.files.createIndex(i,s,function(n){return n?t(n):void a(e,t)})}})})}function u(e,t,n,r,i,o,a,s){var c={_id:e,length:t,chunkSize:n,uploadDate:new Date,md5:r,filename:i};return o&&(c.contentType=o),a&&(c.aliases=a),s&&(c.metadata=s),c}function p(e,t,r,a){if(h(e,a))return!1;var c=n.isBuffer(t)?t:new n(t,r);if(e.length+=c.length,e.pos+c.length<e.chunkSizeBytes)return c.copy(e.bufToStore,e.pos),e.pos+=c.length,a&&a(),!0;for(var u=c.length,p=e.chunkSizeBytes-e.pos,f=Math.min(p,c.length),d=0;u>0;){var m=c.length-u;if(c.copy(e.bufToStore,e.pos,m,m+f),e.pos+=f,p-=f,0===p){e.md5.update(e.bufToStore);var v=o(e.id,e.n,e.bufToStore);if(++e.state.outstandingRequests,++d,h(e,a))return!1;e.chunks.insert(v,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,--d,void(d||(e.emit(\"drain\",v),a&&a(),s(e))))}),p=e.chunkSizeBytes,e.pos=0,++e.n}u-=f,f=Math.min(p,u)}return!1}function l(e){var t={};return e.options.writeConcern&&(t.w=concern.w,t.wtimeout=concern.wtimeout,t.j=concern.j),t}function f(e,t){return e.bucket.s.checkedIndexes?t(!1):(e.bucket.once(\"index\",function(){t(!0)}),!0)}function d(e,t){if(0===e.pos)return s(e,t);++e.state.outstandingRequests;var r=new n(e.pos);e.bufToStore.copy(r,0,0,e.pos),e.md5.update(r);var a=o(e.id,e.n,r);return h(e,t)?!1:void e.chunks.insert(a,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,void s(e))})}function h(e,t){return e.state.aborted?(\"function\"==typeof t&&t(new Error(\"this stream has been aborted\")),!0):!1}var m=e(\"mongodb-core\"),v=e(\"crypto\"),g=(e(\"../utils\").shallowClone,e(\"stream\")),y=e(\"util\"),b=26;t.exports=r,y.inherits(r,g.Writable),r.prototype.write=function(e,t,n){var r=this;return f(this,function(){return p(r,e,t,n)})},r.prototype.abort=function(e){if(this.state.streamEnd){var t=new Error(\"Cannot abort a stream that has already completed\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}if(this.state.aborted){var t=new Error(\"Cannot call abort() on a stream twice\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}this.state.aborted=!0,this.chunks.deleteMany({files_id:this.id},function(t){\"function\"==typeof e&&e(t)})},r.prototype.end=function(e,t,r){if(!h(this,r)){var i=this;if(this.state.streamEnd=!0,r&&this.once(\"finish\",r),!e)return void f(this,function(){d(i)});var i=this;n.isBuffer(e)?e:new n(e,t);this.write(e,t,function(){d(i)})}}}).call(this,e(\"buffer\").Buffer)},{\"../utils\":239,buffer:void 0,crypto:void 0,\"mongodb-core\":188,stream:void 0,util:void 0}],229:[function(e,t,n){(function(n){\"use strict\";var r=e(\"mongodb-core\").BSON.Binary,i=e(\"mongodb-core\").BSON.ObjectID,o=function(e,t,a){if(!(this instanceof o))return new o(e,t);this.file=e;var s=null==t?{}:t;if(this.writeConcern=a||{w:1},this.objectId=null==s._id?new i:s._id,this.chunkNumber=null==s.n?0:s.n,this.data=new r,null==s.data);else if(\"string\"==typeof s.data){var c=new n(s.data.length);c.write(s.data,0,s.data.length,\"binary\"),this.data=new r(c)}else if(Array.isArray(s.data)){var c=new n(s.data.length),u=s.data.join(\"\");c.write(u,0,u.length,\"binary\"),this.data=new r(c)}else if(\"Binary\"===s.data._bsontype)this.data=s.data;else if(!n.isBuffer(s.data))throw Error(\"Illegal chunk format\");this.internalPosition=0};o.prototype.write=function(e,t){return this.data.write(e,this.internalPosition,e.length,\"binary\"),this.internalPosition=this.data.length(),null!=t?t(null,this):this},o.prototype.read=function(e){if(e=null==e||0==e?this.length():e,this.length()-this.internalPosition+1>=e){var t=this.data.read(this.internalPosition,e);return this.internalPosition=this.internalPosition+e,t}return\"\"},o.prototype.readSlice=function(e){if(this.length()-this.internalPosition>=e){var t=null;return null!=this.data.buffer?t=this.data.buffer.slice(this.internalPosition,this.internalPosition+e):(t=new n(e),e=this.data.readInto(t,this.internalPosition)),this.internalPosition=this.internalPosition+e,t}return null},o.prototype.eof=function(){return this.internalPosition==this.length()},o.prototype.getc=function(){return this.read(1)},o.prototype.rewind=function(){this.internalPosition=0,this.data=new r},o.prototype.save=function(e,t){var n=this;\"function\"==typeof e&&(t=e,e={}),n.file.chunkCollection(function(r,i){if(r)return t(r);var o={upsert:!0};for(var a in e)o[a]=e[a];for(var a in n.writeConcern)o[a]=n.writeConcern[a];n.data.length()>0?n.buildMongoObject(function(e){var r={forceServerObjectId:!0};for(var a in n.writeConcern)r[a]=n.writeConcern[a];i.replaceOne({_id:n.objectId},e,o,function(e,r){t(e,n)})}):t(null,n)})},o.prototype.buildMongoObject=function(e){var t={files_id:this.file.fileId,n:this.chunkNumber,data:this.data};null!=this.objectId&&(t._id=this.objectId),e(t)},o.prototype.length=function(){return this.data.length()},Object.defineProperty(o.prototype,\"position\",{enumerable:!0,get:function(){return this.internalPosition},set:function(e){this.internalPosition=e}}),o.DEFAULT_CHUNK_SIZE=261120,t.exports=o}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"mongodb-core\":188}],230:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./chunk\"),i=e(\"mongodb-core\").BSON.ObjectID,o=e(\"../read_preference\"),a=e(\"buffer\").Buffer,s=e(\"../collection\"),c=e(\"fs\"),u=(e(\"timers\"),e(\"util\").format),p=e(\"util\"),l=e(\"../metadata\"),f=e(\"mongodb-core\").MongoError,d=p.inherits,h=e(\"stream\").Duplex||e(\"readable-stream\").Duplex,m=e(\"../utils\").shallowClone,v=0,g=1,y=function H(t,a,s,c,u){if(!(this instanceof H))return new H(t,a,s,c,u);this.db=t,\"undefined\"==typeof u&&(u={}),\"undefined\"==typeof c?(c=s,s=void 0):\"object\"==typeof c&&(u=c,c=s,s=void 0),a instanceof i?(this.referenceBy=g,this.fileId=a,this.filename=s):\"undefined\"==typeof s?(this.referenceBy=v,this.filename=a,null!=c.indexOf(\"w\")&&(this.fileId=new i)):(this.referenceBy=g,this.fileId=a,this.filename=s),this.mode=null==c?\"r\":c,this.options=u||{},this.isOpen=!1,this.root=null==this.options.root?H.DEFAULT_ROOT_COLLECTION:this.options.root,this.position=0,this.readPreference=this.options.readPreference||t.options.readPreference||o.PRIMARY,this.writeConcern=$(t,this.options),this.internalChunkSize=null==this.options.chunkSize?r.DEFAULT_CHUNK_SIZE:this.options.chunkSize;var p=this.options.promiseLibrary;p||(p=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),this.promiseLibrary=p,Object.defineProperty(this,\"chunkSize\",{enumerable:!0,get:function(){return this.internalChunkSize},set:function(e){\"w\"!=this.mode[0]||0!=this.position||null!=this.uploadDate?this.internalChunkSize=this.internalChunkSize:this.internalChunkSize=e}}),Object.defineProperty(this,\"md5\",{enumerable:!0,get:function(){return this.internalMd5}}),Object.defineProperty(this,\"chunkNumber\",{enumerable:!0,get:function(){return this.currentChunk&&this.currentChunk.chunkNumber?this.currentChunk.chunkNumber:null}})},b=y.define=new l(\"Gridstore\",y,!0);y.prototype.open=function(e){var t=this;if(\"w\"!=this.mode&&\"w+\"!=this.mode&&\"r\"!=this.mode)throw f.create({message:\"Illegal mode \"+this.mode,driver:!0});return\"function\"==typeof e?x(t,e):new t.promiseLibrary(function(e,n){x(t,function(t,r){return t?n(t):void e(r)})})};var x=function(e,t){var n=$(e.db,e.options);if(\"w\"==e.mode||\"w+\"==e.mode){var r=e.collection();r.ensureIndex([[\"filename\",1]],n,function(r,i){var o=e.chunkCollection(),a=m(n);a.unique=!0,o.ensureIndex([[\"files_id\",1],[\"n\",1]],a,function(r,i){C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})})})}else C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})};b.classMethod(\"open\",{callback:!0,promise:!0}),y.prototype.eof=function(){return this.position==this.length},b.classMethod(\"eof\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.getc=function(e){var t=this;return\"function\"==typeof e?w(t,e):new t.promiseLibrary(function(e,n){w(t,function(t,r){return t?n(t):void e(r)})})};var w=function(e,t){e.eof()?t(null,null):e.currentChunk.eof()?P(e,e.currentChunk.chunkNumber+1,function(n,r){e.currentChunk=r,e.position=e.position+1,t(n,e.currentChunk.getc())}):(e.position=e.position+1,t(null,e.currentChunk.getc()))};b.classMethod(\"getc\",{callback:!0,promise:!0}),y.prototype.puts=function(e,t){var n=this,r=null==e.match(/\\n$/)?e+\"\\n\":e;return\"function\"==typeof t?this.write(r,t):new n.promiseLibrary(function(e,t){n.write(r,function(n,r){return n?t(n):void e(r)})})},b.classMethod(\"puts\",{callback:!0,promise:!0}),y.prototype.stream=function(){return new U(this)},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[U]}),y.prototype.write=function(e,t,n){var r=this;return\"function\"==typeof n?R(this,e,t,n):new r.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})},b.classMethod(\"write\",{callback:!0,promise:!0}),y.prototype.destroy=function(){this.writable&&(this.readable=!1,this.writable&&(this.writable=!1,this._q.length=0,this.emit(\"close\")))},b.classMethod(\"destroy\",{callback:!1,promise:!1}),y.prototype.writeFile=function(e,t){var n=this;return\"function\"==typeof t?_(n,e,t):new n.promiseLibrary(function(t,r){_(n,e,function(e,n){return e?r(e):void t(n)})})};var _=function(e,t,n){return\"string\"==typeof t?void c.open(t,\"r\",function(t,r){return t?n(t):void e.writeFile(r,n)}):void e.open(function(e,i){return e?n(e,i):void c.fstat(t,function(e,o){if(e)return n(e,i);var a=0,s=0,u=(Math.min(o.size/i.chunkSize),function(){c.read(t,i.chunkSize,a,\"binary\",function(e,p,l){if(e)return n(e,i);a+=l;var f=new r(i,{n:s++},i.writeConcern);f.write(p,function(e,r){return e?n(e,i):void r.save({},function(e,s){return e?n(e,i):(i.position=i.position+p.length,i.currentChunk=r,a>=o.size?(c.close(t),void i.close(function(e,t){return e?n(e,i):n(null,i)})):process.nextTick(u))})})})});process.nextTick(u)})})};b.classMethod(\"writeFile\",{callback:!0,promise:!0}),y.prototype.close=function(e){var t=this;return\"function\"==typeof e?k(t,e):new t.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){if(\"w\"==e.mode[0]){var n=e.writeConcern;null!=e.currentChunk&&e.currentChunk.position>0?e.currentChunk.save({},function(r,i){return r&&\"function\"==typeof t?t(r):void e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):void(null!=e.uploadDate?I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}):(e.uploadDate=new Date,I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})})))})}):e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):(e.uploadDate=new Date,void I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}))})}else\"r\"==e.mode[0]?\"function\"==typeof t&&t(null,null):\"function\"==typeof t&&t(f.create({message:u(\"Illegal mode %s\",e.mode),driver:!0}))};b.classMethod(\"close\",{callback:!0,promise:!0}),y.prototype.chunkCollection=function(e){return\"function\"==typeof e?this.db.collection(this.root+\".chunks\",e):this.db.collection(this.root+\".chunks\")},b.classMethod(\"chunkCollection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.unlink=function(e){var t=this;return\"function\"==typeof e?j(t,e):new t.promiseLibrary(function(e,n){j(t,function(t,r){return t?n(t):void e(r)})})};var j=function(e,t){M(e,function(n){return null!==n?(n.message=\"at deleteChunks: \"+n.message,t(n)):void e.collection(function(n,r){return null!==n?(n.message=\"at collection: \"+n.message,t(n)):void r.remove({_id:e.fileId},e.writeConcern,function(n){t(n,e)})})})};b.classMethod(\"unlink\",{callback:!0,promise:!0}),y.prototype.collection=function(e){return\"function\"==typeof e&&this.db.collection(this.root+\".files\",e),this.db.collection(this.root+\".files\")},b.classMethod(\"collection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.readlines=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift():\"\\n\",e=e||\"\\n\",\"function\"==typeof t?S(n,e,t):new n.promiseLibrary(function(t,r){S(n,e,function(e,n){return e?r(e):void t(n)})})};var S=function(e,t,n){e.read(function(e,r){if(e)return n(e);var i=r.toString().split(t);i=i.length>0?i.splice(0,i.length-1):[];for(var o=0;o<i.length;o++)i[o]=i[o]+t;n(null,i)})};b.classMethod(\"readlines\",{callback:!0,promise:!0}),y.prototype.rewind=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})};var E=function(e,t){0!=e.currentChunk.chunkNumber?\"w\"==e.mode[0]?M(e,function(n,i){return n?t(n):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.position=0,void t(null,e))}):e.currentChunk(0,function(n,r){return n?t(n):(e.currentChunk=r,e.currentChunk.rewind(),e.position=0,void t(null,e))}):(e.currentChunk.rewind(),e.position=0,t(null,e))};b.classMethod(\"rewind\",{callback:!0,promise:!0}),y.prototype.read=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,\"function\"==typeof n?O(r,e,t,n):new r.promiseLibrary(function(n,i){O(r,e,t,function(e,t){return e?i(e):void n(t)})})};var O=function(e,t,n,r){var i=null==t?e.length-e.position:t,o=null==n?new a(i):n;if(o._index=null!=n&&null!=n._index?n._index:0,e.currentChunk.length()-e.currentChunk.position+o._index>=i){var s=e.currentChunk.readSlice(i-o._index);return s.copy(o,o._index),e.position=e.position+o.length,0==i&&0==o.length?r(f.create({message:\"File does not exist\",driver:!0}),null):r(null,o)}var s=e.currentChunk.readSlice(e.currentChunk.length()-e.currentChunk.position);s.copy(o,o._index),o._index+=s.length,P(e,e.currentChunk.chunkNumber+1,function(n,i){return n?r(n):void(i.length()>0?(e.currentChunk=i,e.read(t,o,r)):o._index>0?r(null,o):r(f.create({message:\"no chunks found for file, possibly corrupt\",driver:!0}),null))})};b.classMethod(\"read\",{callback:!0,promise:!0}),y.prototype.tell=function(e){var t=this;return\"function\"==typeof e?e(null,this.position):new t.promiseLibrary(function(e,n){e(t.position)})},b.classMethod(\"tell\",{callback:!0,promise:!0}),y.prototype.seek=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():null,\"function\"==typeof n?A(r,e,t,n):new r.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})};var A=function(e,t,n,r){if(\"r\"!=e.mode)return r(f.create({message:\"seek is only supported for mode r\",driver:!0}));var i=null==n?y.IO_SEEK_SET:n,o=t,a=0;a=i==y.IO_SEEK_CUR?e.position+o:i==y.IO_SEEK_END?e.length+o:o;var s=Math.floor(a/e.chunkSize),c=function(){P(e,s,function(t,n){return t?r(t,null):null==n?r(new Error(\"no chunk found\")):(e.currentChunk=n,e.position=a,e.currentChunk.position=e.position%e.chunkSize,void r(t,e))})};c()};b.classMethod(\"seek\",{callback:!0,promise:!0});var C=function(e,t,n){function o(e){o.err||n(o.err=e)}var a=e.collection(),s=e.referenceBy==g?{_id:e.fileId}:{filename:e.filename};if(s=null==e.fileId&&null==e.filename?null:s,t.readPreference=e.readPreference,null!=s)a.findOne(s,t,function(a,s){if(a)return o(a);if(null!=s)e.fileId=s._id,e.filename=\"r\"==e.mode||void 0==e.filename?s.filename:e.filename,e.contentType=s.contentType,e.internalChunkSize=s.chunkSize,e.uploadDate=s.uploadDate,e.aliases=s.aliases,e.length=s.length,e.metadata=s.metadata,e.internalMd5=s.md5;else{if(\"r\"==e.mode){e.length=0;var c=e.fileId instanceof i?e.fileId.toHexString():e.fileId;return o(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?c:e.filename),driver:!0}),e)}e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0}\"r\"==e.mode?P(e,0,t,function(t,r){return t?o(t):(e.currentChunk=r,e.position=0,void n(null,e))}):\"w\"==e.mode&&s?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w\"==e.mode?(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,\ne.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,n(null,e)):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})});else{e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0;e.chunkCollection();\"w\"==e.mode?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})}},T=function(e,t,n,i){\"function\"==typeof n&&(i=n,n=null);var o=\"boolean\"==typeof n?n:!1;if(\"w\"!=e.mode)i(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?e.referenceBy:e.filename),driver:!0}),null);else{if(!(e.currentChunk.position+t.length>=e.chunkSize))return e.position=e.position+t.length,e.currentChunk.write(t),o?e.close(function(t,n){i(t,e)}):i(null,e);for(var a=e.currentChunk.chunkNumber,s=e.chunkSize-e.currentChunk.position,c=t.slice(0,s),p=t.slice(s),l=[e.currentChunk.write(c)];p.length>=e.chunkSize;){var d=new r(e,{n:a+1},e.writeConcern),c=p.slice(0,e.chunkSize);p=p.slice(e.chunkSize),a+=1,d.write(c),l.push(d)}e.currentChunk=new r(e,{n:a+1},e.writeConcern),p.length>0&&e.currentChunk.write(p),e.position=e.position+t.length;for(var h=l.length,m=0;m<l.length;m++)l[m].save({},function(t,n){return t?i(t):(h-=1,0>=h?o?e.close(function(t,n){i(t,e)}):i(null,e):void 0)})}},I=function(e,t){var n={_id:e.fileId,filename:e.filename,contentType:e.contentType,length:e.position?e.position:0,chunkSize:e.chunkSize,uploadDate:e.uploadDate,aliases:e.aliases,metadata:e.metadata},r={filemd5:e.fileId,root:e.root};e.db.command(r,function(e,r){return e?t(e):(n.md5=r.md5,void t(null,n))})},P=function(e,t,n,i){\"function\"==typeof n&&(i=n,n={}),n=n||e.writeConcern,n.readPreference=e.readPreference,e.chunkCollection().findOne({files_id:e.fileId,n:t},n,function(t,n){if(t)return i(t);var o=null==n?{}:n;i(null,new r(e,o,e.writeConcern))})},F=function(e){return Math.floor((e.length?e.length-1:0)/e.chunkSize)},M=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||e.writeConcern,null!=e.fileId?e.chunkCollection().remove({files_id:e.fileId},t,function(e,t){return e?n(e,!1):void n(null,!0)}):n(null,!0)};y.DEFAULT_ROOT_COLLECTION=\"fs\",y.DEFAULT_CONTENT_TYPE=\"binary/octet-stream\",y.IO_SEEK_SET=0,y.IO_SEEK_CUR=1,y.IO_SEEK_END=2,y.exist=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():{},o=o||{};var c=o.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?z(t,r,i,o,a):new c(function(e,n){z(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var z=function(e,t,n,r,i){var a=r.readPreference||o.PRIMARY,s=null!=n?n:y.DEFAULT_ROOT_COLLECTION;e.collection(s+\".files\",function(e,n){if(e)return i(e);var r=\"string\"==typeof t||\"[object RegExp]\"==Object.prototype.toString.call(t)?{filename:t}:{_id:t};null!=t&&\"object\"==typeof t&&\"[object RegExp]\"!=Object.prototype.toString.call(t)&&(r=t),n.findOne(r,{readPreference:a},function(e,t){return e?i(e):void i(null,null!=t)})})};b.staticMethod(\"exist\",{callback:!0,promise:!0}),y.list=function(t,r,i,o){var a=Array.prototype.slice.call(arguments,1);o=a.pop(),\"function\"!=typeof o&&a.push(o),r=a.length?a.shift():null,i=a.length?a.shift():{},i=i||{};var s=i.promiseLibrary;return s||(s=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?B(t,r,i,o):new s(function(e,n){B(t,r,i,function(t,r){return t?n(t):void e(r)})})};var B=function(e,t,n,r){null!=t&&\"object\"==typeof t&&(n=t,t=null);var i=n.readPreference||o.PRIMARY,a=null!=n.id?n.id:!1,s=null!=t?t:y.DEFAULT_ROOT_COLLECTION,c=[];e.collection(s+\".files\",function(e,t){return e?r(e):void t.find({},{readPreference:i},function(e,t){return e?r(e):void t.each(function(e,t){null!=t?c.push(a?t._id:t.filename):r(e,c)})})})};b.staticMethod(\"list\",{callback:!0,promise:!0}),y.read=function(t,r,i,o,a,s){var c=Array.prototype.slice.call(arguments,2);s=c.pop(),\"function\"!=typeof s&&c.push(s),i=c.length?c.shift():null,o=c.length?c.shift():null,a=c.length?c.shift():null,a=a||{};var u=a?a.promiseLibrary:null;return u||(u=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof s?N(t,r,i,o,a,s):new u(function(e,n){N(t,r,i,o,a,function(t,r){return t?n(t):void e(r)})})};var N=function(e,t,n,r,i,o){new y(e,t,\"r\",i).open(function(e,t){return e?o(e):r&&r>=t.length?o(\"offset larger than size of file\",null):n&&n>t.length?o(\"length is larger than the size of the file\",null):r&&n&&r+n>t.length?o(\"offset and length is larger than the size of the file\",null):void(null!=r?t.seek(r,function(e,t){return e?o(e):void t.read(n,o)}):t.read(n,o))})};b.staticMethod(\"read\",{callback:!0,promise:!0}),y.readlines=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():null,o=o||{};var c=o?o.promiseLibrary:null;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?D(t,r,i,o,a):new c(function(e,n){D(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var D=function(e,t,n,r,i){var o=null==n?\"\\n\":n;new y(e,t,\"r\",r).open(function(e,t){return e?i(e):void t.readlines(o,i)})};b.staticMethod(\"readlines\",{callback:!0,promise:!0}),y.unlink=function(t,r,i,o){var a=this,s=Array.prototype.slice.call(arguments,2);o=s.pop(),\"function\"!=typeof o&&s.push(o),i=s.length?s.shift():{},i=i||{};var c=i.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?q(a,t,r,i,o):new c(function(e,n){q(a,t,r,i,function(t,r){return t?n(t):void e(r)})})};var q=function(e,t,n,r,i){var o=$(t,r);if(n.constructor==Array)for(var a=0,s=0;s<n.length;s++)++a,y.unlink(t,n[s],r,function(t){0==--a&&i(null,e)});else new y(t,n,\"w\",r).open(function(t,n){return t?i(t):void M(n,function(t,r){return t?i(t):void n.collection(function(t,r){return t?i(t):void r.remove({_id:n.fileId},o,function(t,n){i(t,e)})})})})};b.staticMethod(\"unlink\",{callback:!0,promise:!0});var R=function(e,t,n,r){return a.isBuffer(t)?T(e,t,n,r):T(e,new a(t,\"binary\"),n,r)},L=function(e){var t={};return null!=e.w&&(t.w=e.w),1==e.journal&&(t.j=e.journal),1==e.j&&(t.j=e.j),1==e.fsync&&(t.fsync=e.fsync),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),t},$=function(e,t){var n={w:1};if(t=t||{},null!=t.w||\"boolean\"==typeof t.j||\"boolean\"==typeof t.journal||\"boolean\"==typeof t.fsync?n=L(t):null!=t.safe&&\"object\"==typeof t.safe?n=L(t.safe):\"boolean\"==typeof t.safe?n={w:t.safe?1:0}:null!=e.options.w||\"boolean\"==typeof e.options.j||\"boolean\"==typeof e.options.journal||\"boolean\"==typeof e.options.fsync?n=L(e.options):!e.safe||null==e.safe.w&&\"boolean\"!=typeof e.safe.j&&\"boolean\"!=typeof e.safe.journal&&\"boolean\"!=typeof e.safe.fsync?\"boolean\"==typeof e.safe&&(n={w:e.safe?1:0}):n=L(e.safe),n.w<1&&(1==n.journal||1==n.j||1==n.fsync))throw f.create({message:\"No acknowledgement using w < 1 cannot be combined with journal:true or fsync:true\",driver:!0});return n},U=function(e){h.call(this),this.gs=e,this.endCalled=!1,this.totalBytesToRead=this.gs.length-this.gs.position,this.seekPosition=this.gs.position};d(U,h),U.prototype._pipe=U.prototype.pipe,U.prototype.pipe=function(e){var t=this;return t.gs.isOpen?(t.totalBytesToRead=t.gs.length-t.gs.position,t._pipe.apply(t,[e])):t.gs.open(function(n){return n?t.emit(\"error\",n):(t.totalBytesToRead=t.gs.length-t.gs.position,void t._pipe.apply(t,[e]))}),e},U.prototype._read=function(e){var t=this,n=function(){t.gs.read(r,function(e,n){return e&&!t.endCalled?t.emit(\"error\",e):t.endCalled||null==n?t.push(null):(n.length<=t.totalBytesToRead?(t.totalBytesToRead=t.totalBytesToRead-n.length,t.push(n)):n.length>t.totalBytesToRead&&(t.totalBytesToRead=t.totalBytesToRead-n._index,t.push(n.slice(0,n._index))),void(t.totalBytesToRead<=0&&(t.endCalled=!0)))})},r=t.gs.length<t.gs.chunkSize?t.gs.length-t.seekPosition:t.gs.chunkSize;t.gs.isOpen?n():t.gs.open(function(e,r){return t.totalBytesToRead=t.gs.length-t.gs.position,e?t.emit(\"error\",e):void n()})},U.prototype.destroy=function(){this.pause(),this.endCalled=!0,this.gs.close(),this.emit(\"end\")},U.prototype.write=function(e,t,n){var r=this;return r.endCalled?r.emit(\"error\",f.create({message:\"attempting to write to stream after end called\",driver:!0})):r.gs.isOpen?(r.gs.write(e,function(){r.emit(\"drain\")}),!0):(r.gs.open(function(){r.gs.isOpen=!0,r.gs.write(e,function(){process.nextTick(function(){r.emit(\"drain\")})})}),!1)},U.prototype.end=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,r.endCalled=!0,e&&r.gs.write(e,function(){r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})}),r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})},t.exports=y}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../collection\":222,\"../metadata\":231,\"../read_preference\":234,\"../utils\":239,\"./chunk\":229,buffer:void 0,\"es6-promise\":95,fs:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,timers:void 0,util:void 0}],231:[function(e,t,n){var r=e(\"util\").format,i=function(e,t,n){this.name=e,this.object=t,this.stream=\"boolean\"==typeof n?n:!1,this.instrumentations={}};i.prototype.classMethod=function(e,t){var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)};var o=function(e,t){for(var n=[],i=0;i<e.length;i++)n.push(r(\"%s=%s\",e[i],t[e[i]]));return n.join()};i.prototype.staticMethod=function(e,t){t[\"static\"]=!0;var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)},i.prototype.generate=function(e,t){var n={name:this.name,obj:this.object,stream:this.stream,instrumentations:[]};for(var r in this.instrumentations)n.instrumentations.push(this.instrumentations[r]);return n},t.exports=i},{util:void 0}],232:[function(e,t,n){(function(n){\"use strict\";function r(){this.connect=r.connect}var i=e(\"./url_parser\"),o=e(\"./server\"),a=e(\"./mongos\"),s=e(\"./replset\"),c=e(\"./metadata\"),u=e(\"./read_preference\"),p=e(\"./db\"),l=r.define=new c(\"MongoClient\",r,!1);r.connect=function(t,r,i){var o=Array.prototype.slice.call(arguments,1);i=\"function\"==typeof o[o.length-1]?o.pop():null,r=o.length?o.shift():null,r=r||{};var a=r.promiseLibrary;return a||(a=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"!=typeof i?new a(function(e,n){g(t,r,function(t,r){return t?n(t):void e(r)})}):void g(t,r,i)},l.staticMethod(\"connect\",{callback:!0,promise:!0});var f=[\"poolSize\",\"ssl\",\"sslValidate\",\"checkServerIdentity\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"autoReconnect\",\"noDelay\",\"keepAlive\",\"connectionTimeoutMS\",\"socketTimeoutMS\",\"reconnectTries\",\"reconnectInterval\"],d=[\"ha\",\"haInterval\",\"replicaSet\",\"secondaryAcceptableLatencyMS\",\"connectWithNoPrimary\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\"],h=[\"ha\",\"haInterval\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\",\"acceptableLatencyMS\"],m=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"ignoreUndefined\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"readPreference\",\"pkFactory\",\"promiseLibrary\",\"readConcern\"],v=function(e,t){e.server_options||(e.server_options={}),e.db_options||(e.db_options={}),e.rs_options||(e.rs_options={}),e.mongos_options||(e.mongos_options={});for(var n in t)-1!=f.indexOf(n)&&(e.server_options[n]=t[n]),-1!=d.indexOf(n)&&(e.rs_options[n]=t[n]),-1!=h.indexOf(n)&&(e.mongos_options[n]=t[n]),-1!=m.indexOf(n)&&(e.db_options[n]=t[n]);return e},g=function(e,t,n){var r=t.server||{},c=t.mongos||{},u=t.replSet||t.replSetServers||{},l=t.db||{};if(null==n)throw new Error(\"no callback function provided\");var f=i(e,t);if(l)for(var d in l)f.db_options[d]=l[d];if(f.db_options.url=e,r)for(var d in r)f.server_options[d]=r[d];if(u)for(var d in u)f.rs_options[d]=u[d];if((u.ssl||u.sslValidate||u.checkServerIdentity||u.sslCA||u.sslCert||u.sslKey||u.sslPass)&&(f.server_options.ssl=u.ssl,f.server_options.sslValidate=u.sslValidate,f.server_options.checkServerIdentity=u.checkServerIdentity,f.server_options.sslCA=u.sslCA,f.server_options.sslCert=u.sslCert,f.server_options.sslKey=u.sslKey,f.server_options.sslPass=u.sslPass),c)for(var d in c)f.mongos_options[d]=c[d];\"number\"==typeof f.server_options.poolSize&&(f.mongos_options.poolSize||(f.mongos_options.poolSize=f.server_options.poolSize),f.rs_options.poolSize||(f.rs_options.poolSize=f.server_options.poolSize)),(c.ssl||c.sslValidate||c.checkServerIdentity||c.sslCA||c.sslCert||c.sslKey||c.sslPass)&&(f.server_options.ssl=c.ssl,f.server_options.sslValidate=c.sslValidate,f.server_options.checkServerIdentity=c.checkServerIdentity,f.server_options.sslCA=c.sslCA,f.server_options.sslCert=c.sslCert,f.server_options.sslKey=c.sslKey,f.server_options.sslPass=c.sslPass),f.db_options.promiseLibrary=t.promiseLibrary;var h=f.servers.length,m=0,g=0,x=null,w={};if(0==f.servers.length)throw new Error(\"connection string must contain at least one seed host\");f.db_options.native_parser=y(f.db_options),\"boolean\"!=typeof f.server_options.auto_reconnect&&(f.server_options.auto_reconnect=!0),f=v(f,t);for(var _=0;_<f.servers.length;_++){var k=f.server_options.socketOptions||{},j={poolSize:1,socketOptions:{connectTimeoutMS:k.connectTimeoutMS||12e4,socketTimeoutMS:k.socketTimeoutMS||12e4},auto_reconnect:!1};f.server_options.ssl?(j.ssl=f.server_options.ssl,j.sslValidate=f.server_options.sslValidate,j.checkServerIdentity=f.server_options.checkServerIdentity,j.sslCA=f.server_options.sslCA,j.sslCert=f.server_options.sslCert,j.sslKey=f.server_options.sslKey,j.sslPass=f.server_options.sslPass):f.rs_options.ssl&&(j.ssl=f.rs_options.ssl,j.sslValidate=f.rs_options.sslValidate,j.checkServerIdentity=f.rs_options.checkServerIdentity,j.sslCA=f.rs_options.sslCA,j.sslCert=f.rs_options.sslCert,j.sslKey=f.rs_options.sslKey,j.sslPass=f.rs_options.sslPass);var S=null,E=f.servers[_].domain_socket?new o(f.servers[_].domain_socket,j):new o(f.servers[_].host,f.servers[_].port,j),O=function(e){new p(f.dbName,e,{w:1,native_parser:!1,promiseLibrary:t.promiseLibrary}).open(function(r,i){if(h-=1,r)S=r,w[e.host+\":\"+e.port]=e;else{i.close();var c=i.serverConfig.isMasterDoc;c.setName&&g++,c.msg&&\"isdbgrid\"==c.msg&&m++}if(0==h){if(0==g&&0==m&&S)return n(S,null);if(m>0&&g>0)return i&&i.close(),process.nextTick(function(){try{n(new Error(\"cannot combine a list of replicaset seeds and mongos seeds\"))}catch(e){throw e}});if(0!=g||0!=m||1!=f.servers.length||f.rs_options.replicaSet&&f.rs_options.rs_name){if(g>0||m>0||f.rs_options.replicaSet||f.rs_options.rs_name){var u=f.servers.filter(function(e){return null==w[e.host+\":\"+e.port]}).map(function(e){return e.domain_socket?new o(e.domain_socket,27017,f.server_options):new o(e.host,e.port,f.server_options)});if(w={},g>0)try{1!=g||f.rs_options.replicaSet||f.rs_options.rs_name?1==g?(f.rs_options.replicaSet=f.rs_options.replicaSet||f.rs_options.rs_name,x=new s(u,f.rs_options)):x=new s(u,f.rs_options):x=u[0]}catch(r){return n(r,null)}else x=new a(u,f.mongos_options)}}else{var p=f.servers[0];x=p.domain_socket?new o(p.domain_socket,f.server_options):new o(p.host,p.port,f.server_options)}if(null==x)return process.nextTick(function(){try{n(new Error(\"Could not locate any valid servers in initial seed list\"))}catch(e){throw i&&i.close(),e}});x.emitOpen=!1,b(x,f,t,n)}})};O(E)}},y=function(t){if(\"boolean\"==typeof t.native_parser)return t.native_parser;try{return e(\"mongodb-core\").BSON.BSONNative.BSON,!0}catch(n){return!1}},b=function(e,t,n,r){\"string\"==typeof t.db_options.readPreference?t.db_options.readPreference=new u(t.db_options.readPreference):\"string\"==typeof t.db_options.read_preference&&(t.db_options.readPreference=new u(t.db_options.read_preference)),t.db_options.readPreference&&t.db_options.readPreferenceTags?t.db_options.readPreference.tags=t.db_options.readPreferenceTags:t.db_options.readPreference&&t.db_options.read_preference_tags&&(t.db_options.readPreference.tags=t.db_options.read_preference_tags);var i=t.server_options.socketOptions.socketTimeoutMS||0;e instanceof s&&(i=t.rs_options.socketOptions.socketTimeoutMS||i),e.connectTimeoutMS=e.connectTimeoutMS||3e4,e.socketTimeoutMS=e.connectTimeoutMS;var o=new p(t.dbName,e,t.db_options);o.open(function(n,o){if(n)return process.nextTick(function(){try{r(e,null)}catch(e){throw o&&o.close(),e}});if(e.socketTimeoutMS=i||0,null==n&&t.auth){var a=o;t.db_options&&t.db_options.authSource&&(a=o.db(t.db_options.authSource));var s={};t.db_options.authMechanism&&(s.authMechanism=t.db_options.authMechanism),t.db_options.gssapiServiceName&&(s.gssapiServiceName=t.db_options.gssapiServiceName),t.db_options.gssapiServiceRealm&&(s.gssapiServiceRealm=t.db_options.gssapiServiceRealm),t.db_options.gssapiCanonicalizeHostName&&(s.gssapiCanonicalizeHostName=t.db_options.gssapiCanonicalizeHostName),a.authenticate(t.auth.user,t.auth.password,s,function(e,n){n?process.nextTick(function(){try{r(null,o)}catch(e){throw o&&o.close(),e}}):(o&&o.close(),process.nextTick(function(){try{r(e?e:new Error(\"Could not authenticate user \"+t.auth[0]),null)}catch(e){throw o&&o.close(),e}}))})}else process.nextTick(function(){try{r(e,o)}catch(e){throw o&&o.close(),e}})})};t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./db\":225,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./replset\":235,\"./server\":236,\"./url_parser\":238,\"es6-promise\":95,\"mongodb-core\":188}],233:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),a=e(\"mongodb-core\").MongoCR,s=e(\"mongodb-core\").MongoError,c=e(\"mongodb-core\").Mongos,u=e(\"./cursor\"),p=e(\"./aggregation_cursor\"),l=e(\"./command_cursor\"),f=e(\"./metadata\"),d=e(\"./server\"),h=e(\"./topology_base\").Store,m=e(\"./utils\").shallowClone,v=e(\"./utils\").MAX_JS_INT,g=function(e,t){if(!(this instanceof g))return new g(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof d))throw s.create({message:\"all seed list instances must be of the Server type\",driver:!0});var o={force:!1,bufferMaxEntries:-1};-1==o.bufferMaxEntries&&(o.bufferMaxEntries=v);var p=t.store||new h(n,o);r.call(this);var l=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),f=m(t);f.size=\"number\"==typeof t.poolSize?t.poolSize:5,f.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,f.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,f.cursorFactory=u,f.disconnectHandler=p,t.sslCA&&(f.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(f.rejectUnauthorized=t.sslValidate),t.sslKey&&(f.key=t.sslKey),t.sslCert&&(f.cert=t.sslCert),t.sslPass&&(f.passphrase=t.sslPass),t.checkServerIdentity&&(f.checkServerIdentity=t.checkServerIdentity),t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,f.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(f.socketTimeout=t.socketOptions.socketTimeoutMS));var y=\"boolean\"==typeof t.debug?t.debug:!1;y&&(f.debug=y),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(f.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(f.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(f.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.acceptableLatencyMS&&(f.localThresholdMS=t.acceptableLatencyMS||15),f.disconnectHandler=p;var b=new c(l,f),x=null;b.addAuthProvider(\"mongocr\",new a),this.s={mongos:b,sCapabilities:x,debug:y,storeOptions:o,clonedOptions:f,store:p,options:t},Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return n.s.mongos.lastIsMaster()}}),Object.defineProperty(this,\"numberOfConnectedServers\",{enumerable:!0,get:function(){return n.s.mongos.s.mongosState.connectedServers().length}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return n.s.mongos.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.mongos.haInterval}})};i(g,r);var y=g.define=new f(\"Mongos\",g,!1);g.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.removeListener(e,i)}),r.s.mongos.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\"),r.s.store.execute()},s=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.mongos.removeAllListeners(e)}),r.s.mongos.once(\"timeout\",o(\"timeout\")),r.s.mongos.once(\"error\",o(\"error\")),r.s.mongos.once(\"close\",o(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.mongos.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.mongos.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.mongos.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.mongos.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.mongos.on(\"serverOpening\",e(\"serverOpening\")),r.s.mongos.on(\"serverClosed\",e(\"serverClosed\")),r.s.mongos.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.mongos.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.mongos.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.mongos.on(\"joined\",e(\"joined\")),r.s.mongos.on(\"left\",e(\"left\")),r.s.mongos.on(\"fullsetup\",e(\"fullsetup\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){process.nextTick(function(){throw t})}};r.s.mongos.once(\"timeout\",i(\"timeout\")),r.s.mongos.once(\"error\",i(\"error\")),r.s.mongos.once(\"close\",i(\"close\")),r.s.mongos.once(\"connect\",s),r.s.mongos.on(\"reconnect\",a),r.s.mongos.connect(t)},g.prototype.parserType=function(){return this.s.mongos.parserType()},y.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),g.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.mongos.lastIsMaster()?null:(this.s.sCapabilities=new o(this.s.mongos.lastIsMaster()),this.s.sCapabilities)},y.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[o]}),g.prototype.command=function(e,t,n,r){this.s.mongos.command(e,t,n,r)},y.classMethod(\"command\",{callback:!0,promise:!1}),g.prototype.insert=function(e,t,n,r){this.s.mongos.insert(e,t,n,function(e,t){r(e,t)})},y.classMethod(\"insert\",{callback:!0,promise:!1}),g.prototype.update=function(e,t,n,r){this.s.mongos.update(e,t,n,r)},y.classMethod(\"update\",{callback:!0,promise:!1}),g.prototype.remove=function(e,t,n,r){this.s.mongos.remove(e,t,n,r)},y.classMethod(\"remove\",{callback:!0,promise:!1}),g.prototype.isDestroyed=function(){return this.s.mongos.isDestroyed()},g.prototype.isConnected=function(){return this.s.mongos.isConnected()},y.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.mongos.cursor(e,t,n)},y.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[u,p,l]}),g.prototype.setBSONParserType=function(e){return this.s.mongos.setBSONParserType(e)},g.prototype.lastIsMaster=function(){return this.s.mongos.lastIsMaster()},g.prototype.close=function(e){this.s.mongos.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},y.classMethod(\"close\",{callback:!1,promise:!1}),g.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.mongos.auth.apply(this.s.mongos,e)},y.classMethod(\"auth\",{callback:!0,promise:!1}),g.prototype.connections=function(){return this.s.mongos.connections()},y.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=g},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],234:[function(e,t,n){\"use strict\";var r=function(e,t){return this instanceof r?(this._type=\"ReadPreference\",this.mode=e,void(this.tags=t)):new r(e,t)};r.isValid=function(e){return e==r.PRIMARY||e==r.PRIMARY_PREFERRED||e==r.SECONDARY||e==r.SECONDARY_PREFERRED||e==r.NEAREST||1==e||0==e||null==e},r.prototype.isValid=function(e){var t=\"string\"==typeof e?e:this.mode;return r.isValid(t)},r.prototype.toObject=function(){var e={mode:this.mode};return null!=this.tags&&(e.tags=this.tags),e},r.PRIMARY=\"primary\",r.PRIMARY_PREFERRED=\"primaryPreferred\",r.SECONDARY=\"secondary\",r.SECONDARY_PREFERRED=\"secondaryPreferred\",r.NEAREST=\"nearest\",t.exports=r},{}],235:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./server\")),a=(e(\"./mongos\"),e(\"./cursor\")),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=e(\"./read_preference\"),p=(e(\"mongodb-core\").MongoCR,e(\"mongodb-core\").MongoError),l=e(\"./topology_base\").ServerCapabilities,f=e(\"./topology_base\").Store,d=e(\"./metadata\"),h=(e(\"mongodb-core\").Server,e(\"mongodb-core\").ReplSet),m=e(\"mongodb-core\").ReadPreference,v=e(\"./utils\").shallowClone,g=e(\"./utils\").MAX_JS_INT,y=function(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof o))throw p.create({message:\"all seed list instances must be of the Server type\",driver:!0});var s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=g);var c=t.store||new f(n,s);r.call(this);var u=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),l=v(t);l.size=\"number\"==typeof t.poolSize?t.poolSize:5,l.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,l.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,l.cursorFactory=a,l.disconnectHandler=c,t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,l.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(l.socketTimeout=t.socketOptions.socketTimeoutMS));var d=t.replicaSet||t.rs_name;l.setName=d;var m=\"boolean\"==typeof t.debug?t.debug:!1;m&&(l.debug=m),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(l.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(l.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(l.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.secondaryAcceptableLatencyMS&&(l.acceptableLatency=t.secondaryAcceptableLatencyMS),1==t.connectWithNoPrimary&&(l.secondaryOnlyConnectionAllowed=!0),l.disconnectHandler=c,t.sslCA&&(l.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(l.rejectUnauthorized=t.sslValidate),t.sslKey&&(l.key=t.sslKey),t.sslCert&&(l.cert=t.sslCert),t.sslPass&&(l.passphrase=t.sslPass),t.checkServerIdentity&&(l.checkServerIdentity=t.checkServerIdentity);var b=new h(u,l);b.on(\"reconnect\",function(){n.emit(\"reconnect\"),c.execute()}),this.s={replset:b,sCapabilities:null,tag:t.tag,storeOptions:s,clonedOptions:l,store:c,options:t},m&&Object.defineProperty(this,\"replset\",{enumerable:!0,get:function(){return b}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return b.lastIsMaster()}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return b.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return b.haInterval}})};i(y,r);var b=y.define=new d(\"ReplSet\",y,!1),x=function(e){return\"string\"==typeof e.readPreference?e.readPreference=new m(e.readPreference):e.readPreference instanceof u&&(e.readPreference=new m(e.readPreference.mode,e.readPreference.tags)),e};y.prototype.parserType=function(){return this.s.replset.parserType()},b.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),y.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},o=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.replset.removeAllListeners(e)}),r.s.replset.once(\"timeout\",i(\"timeout\")),r.s.replset.once(\"error\",i(\"error\")),r.s.replset.once(\"close\",i(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}},t=function(e){return function(t,n){r.emit(e,t,n.lastIsMaster(),n)}},o=function(e,t){r.emit(\"ha\",e,t),\"start\"==e?r.emit(\"ha_connect\",e,t):\"end\"==e&&r.emit(\"ha_ismaster\",e,t)};r.s.replset.on(\"joined\",t(\"joined\")),r.s.replset.on(\"left\",e(\"left\")),r.s.replset.on(\"ping\",e(\"ping\")),r.s.replset.on(\"ha\",o),r.s.replset.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.replset.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.replset.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.replset.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.replset.on(\"serverOpening\",e(\"serverOpening\")),r.s.replset.on(\"serverClosed\",e(\"serverClosed\")),r.s.replset.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.replset.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.replset.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.replset.on(\"fullsetup\",function(e){r.emit(\"fullsetup\",null,r)}),r.s.replset.on(\"all\",function(e){r.emit(\"all\",null,r)}),r.emit(\"open\",null,r);try{n(null,r)}catch(a){process.nextTick(function(){throw a})}},a=function(e){return function(e){[\"timeout\",\"error\",\"close\"].forEach(function(e){r.s.replset.removeListener(e,a)}),r.s.replset.removeListener(\"connect\",a),r.s.replset.destroy();try{n(e)}catch(e){r.s.replset.isConnected()||process.nextTick(function(){throw e})}}};r.s.replset.once(\"timeout\",a(\"timeout\")),\nr.s.replset.once(\"error\",a(\"error\")),r.s.replset.once(\"close\",a(\"close\")),r.s.replset.once(\"connect\",o),r.s.replset.connect(t)},y.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.replset.lastIsMaster()?null:(this.s.sCapabilities=new l(this.s.replset.lastIsMaster()),this.s.sCapabilities)},b.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[l]}),y.prototype.command=function(e,t,n,r){n=x(n),this.s.replset.command(e,t,n,r)},b.classMethod(\"command\",{callback:!0,promise:!1}),y.prototype.insert=function(e,t,n,r){this.s.replset.insert(e,t,n,r)},b.classMethod(\"insert\",{callback:!0,promise:!1}),y.prototype.update=function(e,t,n,r){this.s.replset.update(e,t,n,r)},b.classMethod(\"update\",{callback:!0,promise:!1}),y.prototype.remove=function(e,t,n,r){this.s.replset.remove(e,t,n,r)},b.classMethod(\"remove\",{callback:!0,promise:!1}),y.prototype.isDestroyed=function(){return this.s.replset.isDestroyed()},y.prototype.isConnected=function(){return this.s.replset.isConnected()},b.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.setBSONParserType=function(e){return this.s.replset.setBSONParserType(e)},y.prototype.cursor=function(e,t,n){return n=x(n),n.disconnectHandler=this.s.store,this.s.replset.cursor(e,t,n)},b.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),y.prototype.lastIsMaster=function(){return this.s.replset.lastIsMaster()},y.prototype.close=function(e){var t=this;this.s.replset.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush());var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\"];n.forEach(function(e){t.removeAllListeners(e)})},b.classMethod(\"close\",{callback:!1,promise:!1}),y.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.replset.auth.apply(this.s.replset,e)},b.classMethod(\"auth\",{callback:!0,promise:!1}),y.prototype.connections=function(){return this.s.replset.connections()},b.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=y},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],236:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"mongodb-core\").Server,a=e(\"./cursor\"),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),p=e(\"./topology_base\").Store,l=e(\"./metadata\"),f=e(\"mongodb-core\").MongoError,d=e(\"./utils\").shallowClone,h=e(\"./utils\").MAX_JS_INT,m=function(e,t,n){if(n=n||{},!(this instanceof m))return new m(e,t,n);r.call(this);var i=this,s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=h);var c=n.store||new p(i,s);if(-1!=e.indexOf(\"/\"))null!=t&&\"object\"==typeof t&&(n=t,t=null);else if(null==t)throw f.create({message:\"port must be specified\",driver:!0});var u=d(n);u.host=e,u.port=t;var l=\"boolean\"==typeof n.auto_reconnect?n.auto_reconnect:!0;l=\"boolean\"==typeof n.autoReconnect?n.autoReconnect:l;var v=\"boolean\"==typeof n.emitError?n.emitError:!0,g=\"number\"==typeof n.poolSize?n.poolSize:5;n.socketOptions&&(n.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=n.socketOptions.connectTimeoutMS,u.connectionTimeout=n.socketOptions.connectTimeoutMS),n.socketOptions.socketTimeoutMS&&(u.socketTimeout=n.socketOptions.socketTimeoutMS),\"number\"==typeof n.socketOptions.keepAlive&&(u.keepAliveInitialDelay=n.socketOptions.keepAlive,u.keepAlive=!0),\"boolean\"==typeof n.socketOptions.noDelay&&(u.noDelay=n.socketOptions.noDelay)),u.cursorFactory=a,u.reconnect=l,u.emitError=v,u.size=g,u.sslCA&&(u.ca=u.sslCA),\"boolean\"==typeof u.sslValidate&&(u.rejectUnauthorized=u.sslValidate),u.sslKey&&(u.key=u.sslKey),u.sslCert&&(u.cert=u.sslCert),u.sslPass&&(u.passphrase=u.sslPass),u.disconnectHandler=c;var y=new o(u);this.s={server:y,sCapabilities:null,clonedOptions:u,reconnect:l,emitError:v,poolSize:g,storeOptions:s,store:c,host:e,port:t,options:n},Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return i.s.server.bson}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return i.s.server.lastIsMaster()}}),Object.defineProperty(this,\"poolSize\",{enumerable:!0,get:function(){return i.s.server.connections().length}}),Object.defineProperty(this,\"autoReconnect\",{enumerable:!0,get:function(){return i.s.reconnect}}),Object.defineProperty(this,\"host\",{enumerable:!0,get:function(){return i.s.host}}),Object.defineProperty(this,\"port\",{enumerable:!0,get:function(){return i.s.port}})};i(m,r);var v=m.define=new l(\"Server\",m,!1);m.prototype.parserType=function(){return this.s.server.parserType()},v.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),m.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.s.server.removeListener(e,u[e])}),r.s.server.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\",r),r.s.store.execute()},s=function(){r.s.store.flush()},c=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.server.removeAllListeners(e)}),r.s.server.once(\"timeout\",o(\"timeout\")),r.s.server.once(\"error\",o(\"error\")),r.s.server.on(\"close\",o(\"close\")),r.s.server.once(\"destroy\",s);var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.server.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.server.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.server.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.server.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.server.on(\"serverOpening\",e(\"serverOpening\")),r.s.server.on(\"serverClosed\",e(\"serverClosed\")),r.s.server.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.server.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.server.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){console.log(t.stack),process.nextTick(function(){throw t})}},u={timeout:i(\"timeout\"),error:i(\"error\"),close:i(\"close\")};r.s.server.once(\"timeout\",u.timeout),r.s.server.once(\"error\",u.error),r.s.server.once(\"close\",u.close),r.s.server.once(\"connect\",c),r.s.server.on(\"reconnect\",a),r.s.server.connect(t)},m.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.server.lastIsMaster()?null:(this.s.sCapabilities=new u(this.s.server.lastIsMaster()),this.s.sCapabilities)},v.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[u]}),m.prototype.command=function(e,t,n,r){this.s.server.command(e,t,n,r)},v.classMethod(\"command\",{callback:!0,promise:!1}),m.prototype.insert=function(e,t,n,r){this.s.server.insert(e,t,n,r)},v.classMethod(\"insert\",{callback:!0,promise:!1}),m.prototype.update=function(e,t,n,r){this.s.server.update(e,t,n,r)},v.classMethod(\"update\",{callback:!0,promise:!1}),m.prototype.remove=function(e,t,n,r){this.s.server.remove(e,t,n,r)},v.classMethod(\"remove\",{callback:!0,promise:!1}),m.prototype.isConnected=function(){return this.s.server.isConnected()},m.prototype.isDestroyed=function(){return this.s.server.isDestroyed()},v.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),m.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.server.cursor(e,t,n)},v.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),m.prototype.setBSONParserType=function(e){return this.s.server.setBSONParserType(e)},m.prototype.lastIsMaster=function(){return this.s.server.lastIsMaster()},m.prototype.close=function(e){this.s.server.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},v.classMethod(\"close\",{callback:!1,promise:!1}),m.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.server.auth.apply(this.s.server,e)},v.classMethod(\"auth\",{callback:!0,promise:!1}),m.prototype.connections=function(){return this.s.server.connections()},v.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=m},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],237:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=e(\"util\").format,o=function(e,t){var n=this,r=[];t=t||{force:!1,bufferMaxEntries:-1},this.s={storedOps:r,storeOptions:t,topology:e},Object.defineProperty(this,\"length\",{enumerable:!0,get:function(){return n.s.storedOps.length}})};o.prototype.add=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,n:t,o:n,op:o,c:a})},o.prototype.addObjectAndMethod=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,m:n,o:t,p:o,c:a})},o.prototype.flush=function(){for(;this.s.storedOps.length>0;)this.s.storedOps.shift().c(r.create({message:i(\"no connection available for operation\"),driver:!0}))},o.prototype.execute=function(){var e=this.s.storedOps;for(this.s.storedOps=[];e.length>0;){var t=e.shift();\"cursor\"==t.t?t.o[t.m].apply(t.o,t.p):this.s.topology[t.t](t.n,t.o,t.op,t.c)}},o.prototype.all=function(){return this.s.storedOps};var a=function(e){var t=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},n=!1,r=!1,i=!1,o=!1,a=!1,s=!1,c=e.maxWriteBatchSize||1e3;e.minWireVersion>=0&&(i=!0),e.maxWireVersion>=1&&(n=!0,o=!0),e.maxWireVersion>=2&&(r=!0),e.maxWireVersion>=3&&(a=!0,s=!0),null==e.minWireVersion&&(e.minWireVersion=0),null==e.maxWireVersion&&(e.maxWireVersion=0),t(this,\"hasAggregationCursor\",n),t(this,\"hasWriteCommands\",r),t(this,\"hasTextSearch\",i),t(this,\"hasAuthCommands\",o),t(this,\"hasListCollectionsCommand\",a),t(this,\"hasListIndexesCommand\",s),t(this,\"minWireVersion\",e.minWireVersion),t(this,\"maxWireVersion\",e.maxWireVersion),t(this,\"maxNumberOfDocsInBatch\",c)};n.Store=o,n.ServerCapabilities=a},{\"mongodb-core\":188,util:void 0}],238:[function(e,t,n){\"use strict\";var r=e(\"./read_preference\"),i=e(\"url\"),o=e(\"util\").format;t.exports=function(e,t){t=t||{};var n=\"\",a=\"\",s=\"\",c=\"admin\",u=i.parse(e,!0);if(\"mongodb:\"!=u.protocol)throw new Error(\"invalid schema, expected mongodb\");if((null==u.hostname||\"\"==u.hostname)&&-1==e.indexOf(\".sock\"))throw new Error(\"no hostname or hostnames provided in connection string\");if(\"0\"==u.port)throw new Error(\"invalid port (zero) with hostname\");if(!isNaN(parseInt(u.port,10))&&parseInt(u.port,10)>65535)throw new Error(\"invalid port (larger than 65535) with hostname\");if(u.path&&u.path.length>0&&\"/\"!=u.path[0]&&-1==e.indexOf(\".sock\"))throw new Error(\"missing delimiting slash between hosts and options\");if(u.query)for(var p in u.query){if(-1!=p.indexOf(\"::\"))throw new Error(\"double colon in host identifier\");if(\"\"==u.query[p])throw new Error(\"query parameter \"+p+\" is an incomplete value pair\")}if(u.auth){var l=u.auth.split(\":\");if(-1!=e.indexOf(u.auth)&&l.length>2)throw new Error(\"Username with password containing an unescaped colon\");if(-1!=e.indexOf(u.auth)&&-1!=u.auth.indexOf(\"@\"))throw new Error(\"Username containing an unescaped at-sign\")}for(var f=e.split(\"?\").shift(),d=f.split(\",\"),h=[],m=0;m<d.length;m++){var v=d[m];-1!=v.indexOf(\"mongodb\")?-1!=v.indexOf(\"@\")?h.push(v.split(\"@\").pop()):h.push(v.substr(\"mongodb://\".length)):-1!=v.indexOf(\"/\")?h.push(v.split(\"/\").shift()):-1==v.indexOf(\"/\")&&h.push(v.trim())}for(var m=0;m<h.length;m++){var g=i.parse(o(\"mongodb://%s\",h[m].trim()));if(g.path&&-1!=g.path.indexOf(\":\"))throw new Error(\"double colon in host identifier\")}if(-1!=e.indexOf(\"?\")?(s=e.substr(e.indexOf(\"?\")+1),n=e.substring(\"mongodb://\".length,e.indexOf(\"?\"))):n=e.substring(\"mongodb://\".length),-1!=n.indexOf(\"@\")&&(a=n.split(\"@\")[0],n=n.split(\"@\")[1]),-1!=n.indexOf(\".sock\")){if(-1!=n.indexOf(\".sock/\")){if(c=n.split(\".sock/\")[1],-1!=c.indexOf(\"/\")){if(2==c.split(\"/\").length&&0==c.split(\"/\")[1].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}n=n.split(\"/\",n.indexOf(\".sock\")+\".sock\".length)}}else if(-1!=n.indexOf(\"/\")){if(n.split(\"/\").length>2){if(0==n.split(\"/\")[2].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}c=n.split(\"/\")[1],n=n.split(\"/\")[0]}var y={},b=a||\"\",x=b.split(\":\",2);x[0]=decodeURIComponent(x[0]),x[1]&&(x[1]=decodeURIComponent(x[1])),2==x.length&&(y.auth={user:x[0],password:x[1]});var w,_,k,j={socketOptions:{}},S={read_preference_tags:[]},E={socketOptions:{}},O={socketOptions:{}};if(y.server_options=j,y.db_options=S,y.rs_options=E,y.mongos_options=O,e.match(/\\.sock/)){var A=e.substring(e.indexOf(\"mongodb://\")+\"mongodb://\".length,e.lastIndexOf(\".sock\")+\".sock\".length);-1!=A.indexOf(\"@\")&&(A=A.split(\"@\")[1]),k=[{domain_socket:A}]}else{w=n;var C={};k=w.split(\",\").map(function(e){var t,n,r;if(r=/\\[([^\\]]+)\\](?:\\:(.+))?/.exec(e))t=r[1],n=parseInt(r[2],10)||27017;else{var i=e.split(\":\",2);t=i[0]||\"localhost\",n=null!=i[1]?parseInt(i[1],10):27017,-1!=t.indexOf(\"?\")&&(t=t.split(/\\?/)[0])}return C[t+\"_\"+n]?null:(C[t+\"_\"+n]=1,{host:t,port:n})}).filter(function(e){return null!=e})}if(y.dbName=c||\"admin\",_=(s||\"\").split(/[&;]/),_.forEach(function(e){if(e){var t=e.split(\"=\"),n=t[0],i=t[1];switch(n){case\"slaveOk\":case\"slave_ok\":j.slave_ok=\"true\"==i,S.slaveOk=\"true\"==i;break;case\"maxPoolSize\":case\"poolSize\":j.poolSize=parseInt(i,10),E.poolSize=parseInt(i,10);break;case\"autoReconnect\":case\"auto_reconnect\":j.auto_reconnect=\"true\"==i;break;case\"minPoolSize\":throw new Error(\"minPoolSize not supported\");case\"maxIdleTimeMS\":throw new Error(\"maxIdleTimeMS not supported\");case\"waitQueueMultiple\":throw new Error(\"waitQueueMultiple not supported\");case\"waitQueueTimeoutMS\":throw new Error(\"waitQueueTimeoutMS not supported\");case\"uuidRepresentation\":throw new Error(\"uuidRepresentation not supported\");case\"ssl\":if(\"prefer\"==i){j.ssl=i,E.ssl=i,O.ssl=i;break}j.ssl=\"true\"==i,E.ssl=\"true\"==i,O.ssl=\"true\"==i;break;case\"sslValidate\":j.sslValidate=\"true\"==i,E.sslValidate=\"true\"==i,O.sslValidate=\"true\"==i;break;case\"replicaSet\":case\"rs_name\":E.rs_name=i;break;case\"reconnectWait\":E.reconnectWait=parseInt(i,10);break;case\"retries\":E.retries=parseInt(i,10);break;case\"readSecondary\":case\"read_secondary\":E.read_secondary=\"true\"==i;break;case\"fsync\":S.fsync=\"true\"==i;break;case\"journal\":S.j=\"true\"==i;break;case\"safe\":S.safe=\"true\"==i;break;case\"nativeParser\":case\"native_parser\":S.native_parser=\"true\"==i;break;case\"readConcernLevel\":S.readConcern={level:i};break;case\"connectTimeoutMS\":j.socketOptions.connectTimeoutMS=parseInt(i,10),E.socketOptions.connectTimeoutMS=parseInt(i,10),O.socketOptions.connectTimeoutMS=parseInt(i,10);break;case\"socketTimeoutMS\":j.socketOptions.socketTimeoutMS=parseInt(i,10),E.socketOptions.socketTimeoutMS=parseInt(i,10),O.socketOptions.socketTimeoutMS=parseInt(i,10);break;case\"w\":S.w=parseInt(i,10),isNaN(S.w)&&(S.w=i);break;case\"authSource\":S.authSource=i;break;case\"gssapiServiceName\":S.gssapiServiceName=i;break;case\"authMechanism\":if(\"GSSAPI\"==i)if(null==y.auth){var o=decodeURIComponent(b);if(-1==o.indexOf(\"@\"))throw new Error(\"GSSAPI requires a provided principal\");y.auth={user:o,password:null}}else y.auth.user=decodeURIComponent(y.auth.user);else\"MONGODB-X509\"==i&&(y.auth={user:decodeURIComponent(b)});if(\"GSSAPI\"!=i&&\"MONGODB-X509\"!=i&&\"MONGODB-CR\"!=i&&\"DEFAULT\"!=i&&\"SCRAM-SHA-1\"!=i&&\"PLAIN\"!=i)throw new Error(\"only DEFAULT, GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\");S.authMechanism=i;break;case\"authMechanismProperties\":var a=i.split(\",\"),s={};a.forEach(function(e){var t=e.split(\":\");s[t[0]]=t[1]}),S.authMechanismProperties=s,\"string\"==typeof s.SERVICE_NAME&&(S.gssapiServiceName=s.SERVICE_NAME),\"string\"==typeof s.SERVICE_REALM&&(S.gssapiServiceRealm=s.SERVICE_REALM),\"string\"==typeof s.CANONICALIZE_HOST_NAME&&(S.gssapiCanonicalizeHostName=\"true\"==s.CANONICALIZE_HOST_NAME);break;case\"wtimeoutMS\":S.wtimeout=parseInt(i,10);break;case\"readPreference\":if(!r.isValid(i))throw new Error(\"readPreference must be either primary/primaryPreferred/secondary/secondaryPreferred/nearest\");S.readPreference=i;break;case\"readPreferenceTags\":i=decodeURIComponent(i);var c={};if(null==i||\"\"==i){S.read_preference_tags.push(c);break}for(var u=i.split(/\\,/),p=0;p<u.length;p++){var l=u[p].trim().split(/\\:/);c[l[0]]=l[1]}S.read_preference_tags.push(c)}}}),0===S.read_preference_tags.length&&(S.read_preference_tags=null),!(-1!=S.w&&0!=S.w||1!=S.journal&&1!=S.fsync&&1!=S.safe))throw new Error(\"w set to -1 or 0 cannot be combined with safe/w/journal/fsync\");return S.readPreference||(S.readPreference=\"primary\"),y.servers=k,y}},{\"./read_preference\":234,url:void 0,util:void 0}],239:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=(e(\"util\").format,function(e){var t={};for(var n in e)t[n]=e[n];return t}),o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=n.formatSortValue=function(e){var t=(\"\"+e).toLowerCase();switch(t){case\"ascending\":case\"asc\":case\"1\":return 1;case\"descending\":case\"desc\":case\"-1\":return-1;default:throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\")}},s=n.formattedOrderClause=function(e){var t={};if(null==e)return null;if(Array.isArray(e)){if(0===e.length)return null;for(var n=0;n<e.length;n++)e[n].constructor==String?t[e[n]]=1:t[e[n][0]]=a(e[n][1])}else if(null!=e&&\"object\"==typeof e)t=e;else{if(\"string\"!=typeof e)throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[e]=1}return t},c=function(e){if(\"string\"!=typeof e)throw Error(\"collection name must be a String\");if(!e||-1!=e.indexOf(\"..\"))throw Error(\"collection names cannot be empty\");if(-1!=e.indexOf(\"$\")&&null==e.match(/((^\\$cmd)|(oplog\\.\\$main))/))throw Error(\"collection names must not contain '$'\");if(null!=e.match(/^\\.|\\.$/))throw Error(\"collection names must not start or end with '.'\");if(~e.indexOf(\"\\x00\"))throw new Error(\"collection names cannot contain a null character\")},u=function(e,t,n,r){try{if(null==e)return;return r?e(t,n,r):e(t,n)}catch(t){return process.nextTick(function(){throw t}),!1}return!0},p=function(e){if(e instanceof Error)return e;for(var t=e.err||e.errmsg||e.errMessage||e,n=r.create({message:t,driver:!0}),i=\"object\"==typeof e?Object.keys(e):[],o=0;o<i.length;o++)try{n[i[o]]=e[i[o]]}catch(a){}return n},l=function(e){var t=null;if(\"string\"==typeof e)t=e;else if(Array.isArray(e))t={},e.forEach(function(e){t[e]=1});else if(null!=e&&\"object\"==typeof e){t={};for(var n in e)t[n]=e[n]}return t},f=function(e){var t,n={},r=[];return\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?e.forEach(function(e){\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?(r.push(e[0]+\"_\"+(e[1]||1)),n[e[0]]=e[1]||1):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]}))}):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]})),{name:r.join(\"_\"),keys:t,fieldHash:n}},d=n.isObject=function(e){return\"[object Object]\"==toString.call(e)},h=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},m=function(e,t,n){for(var r in t)null==n[r]&&(e[r]=t[r]);return e};n.shallowClone=i,n.getSingleProperty=o,n.checkCollectionName=c,n.toError=p,n.formattedOrderClause=s,n.parseIndexOptions=f,n.normalizeHintField=l,n.handleCallback=u,n.decorateCommand=m,n.isObject=d,n.debugOptions=h,n.MAX_JS_INT=9007199254740992},{\"mongodb-core\":188,util:void 0}],240:[function(e,t,n){t.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},{}],241:[function(e,t,n){function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}t.exports=r;var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},s=e(\"core-util-is\");s.inherits=e(\"inherits\");var c=e(\"./_stream_readable\"),u=e(\"./_stream_writable\");s.inherits(r,c),o(a(u.prototype),function(e){r.prototype[e]||(r.prototype[e]=u.prototype[e])})},{\"./_stream_readable\":243,\"./_stream_writable\":245,\"core-util-is\":77,inherits:157}],242:[function(e,t,n){function r(e){return this instanceof r?void i.call(this,e):new r(e)}t.exports=r;var i=e(\"./_stream_transform\"),o=e(\"core-util-is\");o.inherits=e(\"inherits\"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":244,\"core-util-is\":77,inherits:157}],243:[function(e,t,n){function r(t,n){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=e(\"string_decoder/\").StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n||void 0===n)t.reading=!1,t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=C)e=C;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return j.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):x(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){f(e)}):f(e))}function f(e){e.emit(\"readable\")}function d(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(function(){h(e,t)}))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e,t,i){var o=e.write(n);!1===o&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):w(r.pipes,t),e.emit(\"data\",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,void(S.listenerCount(e,\"data\")>0&&y(e))):void(r.ranOut=!0)}function g(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw new Error(\"Cannot switch to old mode now.\");var r=t||!1,i=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on(\"readable\",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit(\"data\",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit(\"pause\")},e.resume=function(){r=!1,i?process.nextTick(function(){e.emit(\"readable\")}):this.read(0),this.emit(\"resume\")},e.emit(\"readable\")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):j.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new j(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function x(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit(\"end\"))}))}function w(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var k=e(\"isarray\"),j=e(\"buffer\").Buffer;i.ReadableState=r;var S=e(\"events\").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e(\"stream\"),O=e(\"core-util-is\");O.inherits=e(\"inherits\");var A;O.inherits(i,E),i.prototype.push=function(e,t){var n=this._readableState;return\"string\"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new j(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.setEncoding=function(t){A||(A=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new A(t),this._readableState.encoding=t};var C=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n,r=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=c(e,t),0===e&&t.ended)return n=null,t.length>0&&t.decoder&&(n=b(e,t),t.length-=n.length),0===t.length&&x(this),n;var i=t.needReadable;return t.length-e<=t.highWaterMark&&(i=!0),(t.ended||t.reading)&&(i=!1),i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=c(r,t)),n=e>0?b(e,t):null,null===n&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&x(this),n},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){e===u&&i()}function r(){e.end()}function i(){e.removeListener(\"close\",a),e.removeListener(\"finish\",s),e.removeListener(\"drain\",d),e.removeListener(\"error\",o),e.removeListener(\"unpipe\",n),u.removeListener(\"end\",r),u.removeListener(\"end\",i),e._writableState&&!e._writableState.needDrain||d()}function o(t){c(),e.removeListener(\"error\",o),0===S.listenerCount(e,\"error\")&&e.emit(\"error\",t)}function a(){e.removeListener(\"finish\",s),c()}function s(){e.removeListener(\"close\",a),c()}function c(){u.unpipe(e)}var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1;var l=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,f=l?r:i;p.endEmitted?process.nextTick(f):u.once(\"end\",f),e.on(\"unpipe\",n);var d=m(u);return e.on(\"drain\",d),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on(\"error\",o),e.once(\"close\",a),e.once(\"finish\",s),e.emit(\"pipe\",u),p.flowing||(this.on(\"readable\",g),p.flowing=!0,process.nextTick(function(){v(u)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if(\"data\"!==e||this._readableState.flowing||y(this),\"readable\"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit(\"resume\")},i.prototype.pause=function(){y(this,!0),this.emit(\"pause\")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)\"function\"==typeof e[i]&&\"undefined\"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return w(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){n&&(n=!1,e.resume())},r},i._fromList=b},{buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:240,stream:void 0,\"string_decoder/\":456}],244:[function(e,t,n){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once(\"finish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=(e._readableState,\ne._transformState);if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}t.exports=o;var s=e(\"./_stream_duplex\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\"),c.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{\"./_stream_duplex\":241,\"core-util-is\":77,inherits:157}],245:[function(e,t,n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var n=e(\"./_stream_duplex\");return this instanceof o||this instanceof n?(this._writableState=new i(t,this),this.writable=!0,void _.call(this)):new o(t)}function a(e,t,n){var r=new Error(\"write after end\");e.emit(\"error\",r),process.nextTick(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!x.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),process.nextTick(function(){r(o)}),i=!1}return i}function c(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new x(t,n)),t}function u(e,t,n,i,o){n=c(t,n,i),x.isBuffer(n)&&(i=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new r(n,i,o)):p(e,t,a,n,i,o),s}function p(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function l(e,t,n,r,i){n?process.nextTick(function(){i(r)}):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function f(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(f(n),t)l(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||v(e,n),r?process.nextTick(function(){h(e,n,o,i)}):h(e,n,o,i)}}function h(e,t,n,r){n||m(e,t),r(),n&&y(e,t)}function m(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function v(e,t){t.bufferProcessing=!0;for(var n=0;n<t.buffer.length;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(p(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,n<t.buffer.length?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit(\"finish\")),n}function b(e,t,n){t.ending=!0,y(e,t),n&&(t.finished?process.nextTick(n):e.once(\"finish\",n)),t.ended=!0}t.exports=o;var x=e(\"buffer\").Buffer;o.WritableState=i;var w=e(\"core-util-is\");w.inherits=e(\"inherits\");var _=e(\"stream\");w.inherits(o,_),o.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return\"function\"==typeof t&&(n=t,t=null),x.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},o.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},o.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),\"undefined\"!=typeof e&&null!==e&&this.write(e,t),r.ending||r.finished||b(this,r,n)}},{\"./_stream_duplex\":241,buffer:void 0,\"core-util-is\":77,inherits:157,stream:void 0}],246:[function(e,t,n){n=t.exports=e(\"./lib/_stream_readable.js\"),n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":241,\"./lib/_stream_passthrough.js\":242,\"./lib/_stream_readable.js\":243,\"./lib/_stream_transform.js\":244,\"./lib/_stream_writable.js\":245}],247:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":271}],248:[function(e,t,n){function r(){throw new Error(\"Can't use ES6 promise with mpromise style constructor\")}r.use=function(e){r.ES6=e},t.exports=r},{}],249:[function(e,t,n){function r(){this._pipeline=[],this._model=void 0,this.options=void 0,1===arguments.length&&a.isArray(arguments[0])?this.append.apply(this,arguments[0]):this.append.apply(this,arguments)}function i(e){var t;return\"object\"!=typeof e?!1:(t=Object.keys(e),1===t.length&&t.some(function(e){return\"$\"===e[0]}))}function o(e){var t=e._model.schema,n=t&&t.discriminatorMapping;if(n&&!n.isRoot){var r=e._pipeline,i=n.key,o=n.value;if(r[0]&&r[0].$match&&!r[0].$match[i])r[0].$match[i]=o;else if(r[0]&&r[0].$geoNear)r[0].$geoNear.query=r[0].$geoNear.query||{},r[0].$geoNear.query[i]=o;else{var a={};a[i]=o,e._pipeline=[{$match:a}].concat(r)}}}var a=e(\"util\"),s=e(\"./utils\"),c=e(\"./promise_provider\"),u=e(\"./query\"),p=u.prototype.read;r.prototype.model=function(e){return this._model=e,this},r.prototype.append=function(){var e=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:s.args(arguments);if(!e.every(i))throw new Error(\"Arguments must be aggregate pipeline operators\");return this._pipeline=this._pipeline.concat(e),this},r.prototype.project=function(e){var t={};if(\"object\"!=typeof e||a.isArray(e)){if(1!==arguments.length||\"string\"!=typeof e)throw new Error(\"Invalid project() argument. Must be string or object\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?0:1;0===n&&(e=e.substring(1)),t[e]=n}})}else Object.keys(e).forEach(function(n){t[n]=e[n]});return this.append({$project:t})},r.prototype.near=function(e){var t={};return t.$geoNear=e,this.append(t)},\"group match skip limit out\".split(\" \").forEach(function(e){r.prototype[e]=function(t){var n={};return n[\"$\"+e]=t,this.append(n)}}),r.prototype.unwind=function(){var e=s.args(arguments);return this.append.apply(this,e.map(function(e){return{$unwind:e&&\"$\"===e.charAt(0)?e:\"$\"+e}}))},r.prototype.lookup=function(e){return this.append({$lookup:e})},r.prototype.sample=function(e){return this.append({$sample:{size:e}})},r.prototype.sort=function(e){var t={};if(\"Object\"===e.constructor.name){var n=[\"desc\",\"descending\",-1];Object.keys(e).forEach(function(r){t[r]=-1===n.indexOf(e[r])?1:-1})}else{if(1!==arguments.length||\"string\"!=typeof e)throw new TypeError(\"Invalid sort() argument. Must be a string or object.\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?-1:1;-1===n&&(e=e.substring(1)),t[e]=n}})}return this.append({$sort:t})},r.prototype.read=function(e,t){return this.options||(this.options={}),p.call(this,e,t),this},r.prototype.explain=function(e){var t=this,n=c.get();return new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{}).explain(function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},r.prototype.allowDiskUse=function(e){return this.options||(this.options={}),this.options.allowDiskUse=e,this},r.prototype.cursor=function(e){return this.options||(this.options={}),this.options.cursor=e||{},this},r.prototype.exec=function(e){if(!this._model)throw new Error(\"Aggregate not bound to any Model\");var t=this,n=c.get();return this.options&&this.options.cursor?this.options.cursor.async?new n.ES6(function(n){return t._model.collection.buffer?void t._model.collection.emitter.once(\"queue\",function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(null,r)}):void process.nextTick(function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(r)})}):this._model.collection.aggregate(this._pipeline,this.options||{}):new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{},function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},t.exports=r},{\"./promise_provider\":275,\"./query\":276,\"./utils\":302,util:void 0}],250:[function(e,t,n){function r(e,t,n,i,p){if(!(this instanceof r))return new r(e,t,n,i,p);if(u.isObject(t)&&!t.instanceOfSchema&&(t=new s(t)),t=this.schema||t,!this.schema&&t.options._id&&(e=e||{},void 0===e._id&&(e._id=new c)),!t)throw new a.MissingSchemaError;this.$__setSchema(t),this.$__=new l,this.$__.emitter=new o,this.isNew=!0,this.errors=void 0,\"boolean\"==typeof n?(this.$__.strictMode=n,n=void 0):(this.$__.strictMode=this.schema.options&&this.schema.options.strict,this.$__.selected=n);for(var f=this.schema.requiredPaths(),d=0;d<f.length;++d)this.$__.activePaths.require(f[d]);this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,n,i),!p&&e&&this.init(e),this.$__registerHooksFromSchema();for(var h in t.methods)this[h]=t.methods[h];for(var m in t.statics)this[m]=t.statics[m]}var i=e(\"./document\"),o=e(\"events\").EventEmitter,a=e(\"./error\"),s=e(\"./schema\"),c=e(\"./types/objectid\"),u=e(\"./utils\"),p=a.ValidationError,l=e(\"./internal\");r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.ValidationError=p,t.exports=n=r},{\"./document\":253,\"./error\":260,\"./internal\":272,\"./schema\":279,\"./types/objectid\":300,\"./utils\":302,events:void 0}],251:[function(e,t,n){function r(e,t){if(Array.isArray(e))e.forEach(function(n,o){return Array.isArray(n)||i.isObject(n)?r(n,t):void(e[o]=t.castForQuery(n))});else for(var n=Object.keys(e),o=n.length;o--;){var a=n[o],s=e[a];Array.isArray(s)||i.isObject(s)?(r(s,t),e[a]=s):e[a]=t.castForQuery(s)}}var i=e(\"./utils\"),o=e(\"./schema/index\");t.exports=function a(e,t){for(var n,s,c,u,p,l,f=Object.keys(t),d=f.length;d--;)if(u=f[d],l=t[u],\"$or\"===u||\"$nor\"===u||\"$and\"===u)for(var h=l.length;h--;)l[h]=a(e,l[h]);else{if(\"$where\"===u){if(p=typeof l,\"string\"!==p&&\"function\"!==p)throw new Error(\"Must have a string or function for $where\");\"function\"===p&&(t[u]=l.toString());continue}if(\"$elemMatch\"===u)l=a(e,l);else{if(!e)continue;if(s=e.path(u)){if(null===l||void 0===l){t[u]=null;continue}if(\"Object\"===l.constructor.name)if(n=Object.keys(l).some(function(e){return\"$\"===e.charAt(0)&&\"$id\"!==e&&\"$ref\"!==e})){var m,v=Object.keys(l);for(h=v.length;h--;)if(m=v[h],c=l[m],\"$exists\"!==m){if(\"$type\"!==m)\"$not\"===m?a(e,c):l[m]=s.castForQuery(m,c);else if(\"number\"!=typeof c)throw new Error(\"$type parameter must be Number\")}else if(\"boolean\"!=typeof c)throw new Error(\"$exists parameter must be Boolean\")}else t[u]=s.castForQuery(l);else t[u]=s.castForQuery(l)}else{for(var g,y,b,x=u.split(\".\"),w=x.length;w--&&(g=x.slice(0,w).join(\".\"),!(s=e.path(g))););if(s){s.caster&&s.caster.schema?(b={},y=x.slice(w).join(\".\"),b[y]=l,t[u]=a(s.caster.schema,b)[y]):t[u]=l;continue}if(i.isObject(l)){var _=l.$near?\"$near\":l.$nearSphere?\"$nearSphere\":l.$within?\"$within\":l.$geoIntersects?\"$geoIntersects\":\"\";if(!_)continue;var k=new o.Number(\"__QueryCasting__\"),j=l[_];if(l.$maxDistance&&(l.$maxDistance=k.castForQuery(l.$maxDistance)),\"$within\"===_){var S=j.$center||j.$centerSphere||j.$box||j.$polygon;if(!S)throw new Error(\"Bad $within paramater: \"+JSON.stringify(l));j=S}else\"$near\"===_&&\"string\"==typeof j.type&&Array.isArray(j.coordinates)?j=j.coordinates:(\"$near\"===_||\"$nearSphere\"===_||\"$geoIntersects\"===_)&&j.$geometry&&\"string\"==typeof j.$geometry.type&&Array.isArray(j.$geometry.coordinates)&&(j=j.$geometry.coordinates);r(j,k)}}}}return t}},{\"./schema/index\":286,\"./utils\":302}],252:[function(e,t,n){var r=t.exports=n=Object.create(null),i=\"disconnected\",o=\"connected\",a=\"connecting\",s=\"disconnecting\",c=\"unauthorized\",u=\"uninitialized\";r[0]=i,r[1]=o,r[2]=a,r[3]=s,r[4]=c,r[99]=u,r[i]=0,r[o]=1,r[a]=2,r[s]=3,r[c]=4,r[u]=99},{}],253:[function(e,t,n){(function(r){function i(e,t,n){this.$__=new E,this.$__.emitter=new h,this.isNew=!0,this.errors=void 0;var r=this.schema;\"boolean\"==typeof t?(this.$__.strictMode=t,t=void 0):(this.$__.strictMode=r.options&&r.options.strict,this.$__.selected=t);for(var o=r.requiredPaths(!0),a=0;a<o.length;++a)this.$__.activePaths.require(o[a]);if(this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,t,n),e&&(e instanceof i&&(this.isNew=e.isNew),this.set(e,void 0,!0)),!r.options.strict&&e){var s=this,u=Object.keys(this._doc);u.forEach(function(e){e in r.tree||c(e,null,s)})}this.$__registerHooksFromSchema()}function o(e,t,n,r){r=r||\"\";for(var i,a,s,c=Object.keys(t),u=c.length;u--;)if(s=c[u],a=r+s,i=e.schema.path(a),i||!w.isObject(t[s])||t[s].constructor&&\"Object\"!==w.getFunctionName(t[s].constructor)){if(null===t[s])n[s]=null;else if(void 0!==t[s])if(i)try{n[s]=i.cast(t[s],e,!0)}catch(p){e.invalidate(p.path,new x({path:p.path,message:p.message,type:\"cast\",value:p.value}))}else n[s]=t[s];e.isModified(a)||e.$__.activePaths.init(a)}else n[s]||(n[s]={}),o(e,t[s],n[s],a+\".\")}function a(e,t,n,r){for(var i,o,a=Object.keys(e),s=a.length;s--;)o=a[s],i=e[o],c(o,\"Object\"===w.getFunctionName(i.constructor)&&Object.keys(i).length&&(!i[r.typeKey]||\"type\"===r.typeKey&&i.type.type)?i:null,t,n,a,r)}function s(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n),t[n].enumerable=!0}),t}function c(e,t,n,r,o,c){var u=(r?r+\".\":\"\")+e;r=r||\"\",t?Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=this;if(this.$__.getters||(this.$__.getters={}),!this.$__.getters[u]){var n=Object.create(Object.getPrototypeOf(this),s(this));r||(n.$__.scope=this);for(var i=0,p=o.length;p>i;++i)Object.defineProperty(n,o[i],{enumerable:!1,writable:!0,configurable:!0,value:void 0});Object.defineProperty(n,\"toObject\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"toJSON\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"$__isNested\",{enumerable:!0,configurable:!0,writable:!1,value:!0}),a(t,n,u,c),this.$__.getters[u]=n}return this.$__.getters[u]},set:function(e){return e instanceof i&&(e=e.toObject()),(this.$__.scope||this).set(u,e)}}):Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return this.get.call(this.$__.scope||this,u)},set:function(e){return this.set.call(this.$__.scope||this,u,e)}})}function u(e){for(var t,n,r,i=Object.keys(e),o=i.length;o--;)n=i[o],r=e[n],w.isObject(r)&&(e[n]=u(r)),void 0!==e[n]?t=!0:delete e[n];return t?e:void 0}function p(e,t,n,r){for(var i,o=e.schema,a=Object.keys(o[n]),s=a.length;s--;){i=a[s];for(var c,u=i.split(\".\"),p=u.length,l=p-1,f=t,d=0;p>d;++d)c=u[d],d===l?f[c]=_(e.get(i),r):f=f[c]||(f[c]={})}return t}var l,f,d,h=e(\"events\").EventEmitter,m=e(\"./error\"),v=e(\"./schema/mixed\"),g=e(\"./schema\"),y=e(\"./error/objectExpected\"),b=e(\"./error/strict\"),x=e(\"./schematype\").ValidatorError,w=e(\"./utils\"),_=w.clone,k=w.isMongooseObject,j=e(\"util\").inspect,S=m.ValidationError,E=e(\"./internal\"),O=w.deepEqual,A=e(\"hooks-fixed\"),C=e(\"./promise_provider\");w.each([\"on\",\"once\",\"emit\",\"listeners\",\"removeListener\",\"setMaxListeners\",\"removeAllListeners\",\"addListener\"],function(e){i.prototype[e]=function(){return this.$__.emitter[e].apply(this.$__.emitter,arguments)}}),i.prototype.constructor=i,i.prototype.schema,i.prototype.isNew,i.prototype.id,i.prototype.errors,i.prototype.$__buildDoc=function(e,t,n){var r,i,o={},a=null,s=this;if(t&&\"Object\"===w.getFunctionName(t.constructor))if(r=Object.keys(t),i=r.length,1===i&&\"_id\"===r[0])a=!!t[r[i]];else for(;i--;)if(\"_id\"!==r[i]&&(!t[r[i]]||\"object\"!=typeof t[r[i]])){a=!t[r[i]];break}for(var c=Object.keys(this.schema.paths),u=c.length,p=0;u>p;++p){var l=c[p];if(\"_id\"===l){if(n)continue;if(e&&\"_id\"in e)continue}for(var f=this.schema.paths[l],d=l.split(\".\"),h=d.length,m=h-1,v=\"\",g=o,y=0,b=!1;h>y;++y){var x,_=d[y];if(v+=_,a===!0){if(v in t)break}else t&&v in t&&(b=!0);if(y===m)if(t&&null!==a)if(a===!0){if(l in t)continue;x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l))}else b&&(x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l)));else x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l));else g=g[_]||(g[_]={}),v+=\".\"}}return o},i.prototype.init=function(e,t,n){if(\"function\"==typeof t&&(n=t,t=null),this.isNew=!1,null!==e._id&&void 0!==e._id&&t&&t.populated&&t.populated.length)for(var r=String(e._id),i=0;i<t.populated.length;++i){var a=t.populated[i];this.populated(a.path,a._docs[r],a)}return o(this,e,this._doc),this.$__storeShard(),this.emit(\"init\",this),n&&n(null),this},i.prototype.$__storeShard=function(){var e=this.schema.options.shardKey||this.schema.options.shardkey;if(e&&\"Object\"===w.getFunctionName(e.constructor))for(var t,n=this.$__.shardval={},r=Object.keys(e),i=r.length,o=0;i>o;++o)t=this.getValue(r[o]),k(t)?n[r[o]]=t.toObject({depopulate:!0}):null===t||void 0===t||!t.valueOf||t.constructor&&\"Date\"===w.getFunctionName(t.constructor)?n[r[o]]=t:n[r[o]]=t.valueOf()};for(var T in A)\"pre\"===T||\"post\"===T?i.prototype[\"$\"+T]=i[\"$\"+T]=A[T]:i.prototype[T]=i[T]=A[T];i.prototype.update=function(){var e=w.args(arguments);return e.unshift({_id:this._id}),this.constructor.update.apply(this.constructor,e)},i.prototype.set=function(e,t,n,r){n&&\"Object\"===w.getFunctionName(n.constructor)&&(r=n,n=void 0);var o,a=r&&r.merge,s=n&&n!==!0,c=n===!0,u=r&&\"strict\"in r?r.strict:this.$__.strictMode;if(s&&(o=this.$__.adhocPaths||(this.$__.adhocPaths={}),o[e]=g.interpretAsType(e,n,this.schema.options)),\"string\"!=typeof e){if(null!==e&&void 0!==e){var p=t?t+\".\":\"\";e instanceof i&&(e=e.$__isNested?e.toObject():e._doc);for(var l,f,d=Object.keys(e),h=d.length;h--;){f=d[h];var x=p+f;if(l=this.schema.pathType(x),null===e[f]||void 0===e[f]||!w.isObject(e[f])||e[f].constructor&&\"Object\"!==w.getFunctionName(e[f].constructor)||\"virtual\"===l||\"real\"===l||this.$__path(x)instanceof v||this.schema.paths[x]&&this.schema.paths[x].options&&this.schema.paths[x].options.ref)if(u){if(c&&void 0===e[f]&&void 0!==this.get(f))continue;if(\"real\"===l||\"virtual\"===l)this.schema.paths[x]&&this.schema.paths[x].$isSingleNested&&e[f]instanceof i&&(e[f]=e[f].toObject({virtuals:!1})),this.set(p+f,e[f],c);else if(\"nested\"===l&&e[f]instanceof i)this.set(p+f,e[f].toObject({virtuals:!1}),c);else if(\"throw\"===u)throw\"nested\"===l?new y(f,e[f]):new b(f)}else void 0!==e[f]&&this.set(p+f,e[f],c);else this.set(e[f],p+f,c)}return this}var _=e;e=t,t=_}var k=this.schema.pathType(e);if(\"nested\"===k&&t)return!w.isObject(t)||t.constructor&&\"Object\"!==w.getFunctionName(t.constructor)?(this.invalidate(e,new m.CastError(\"Object\",t,e)),this):(a||this.setValue(e,null),this.set(t,e,c),this);var j,S=e.split(\".\");if(\"adhocOrUndefined\"===k&&u){var E;for(h=0;h<S.length;++h){var O=S.slice(0,h+1).join(\".\");if(j=this.schema.path(O),j instanceof v){E=!0;break}}if(!E){if(\"throw\"===u)throw new b(e);return this}}else{if(\"virtual\"===k)return j=this.schema.virtualpath(e),j.applySetters(t,this),this;j=this.$__path(e)}var A;if(S.length<=1)A=e;else{for(h=0;h<S.length;++h)if(O=S.slice(0,h+1).join(\".\"),this.isDirectModified(O)||null===this.get(O)){A=O;break}A||(A=e)}var C=c?void 0:this.getValue(e);if(!j)return this.$__set(A,e,c,S,j,t,C),this;var T=!0;try{var I=!1;j.options&&j.options.ref&&t instanceof i&&j.options.ref===t.constructor.modelName&&(this.ownerDocument?this.ownerDocument().populated(this.$__fullPath(e),t._id,{model:t.constructor}):this.populated(e,t._id,{model:t.constructor}),I=!0);var P;j.options&&Array.isArray(j.options.type)&&j.options.type.length&&j.options.type[0].ref&&Array.isArray(t)&&t.length>0&&t[0]instanceof i&&t[0].constructor.modelName&&j.options.type[0].ref===t[0].constructor.modelName&&(this.ownerDocument?(P={model:t[0].constructor},this.ownerDocument().populated(this.$__fullPath(e),t.map(function(e){return e._id}),P)):(P={model:t[0].constructor},this.populated(e,t.map(function(e){return e._id}),P)),I=!0),t=j.applySetters(t,this,!1,C),!I&&this.$__.populated&&delete this.$__.populated[e],this.$markValid(e)}catch(F){var M;F instanceof m.CastError||(M=F),this.invalidate(e,new m.CastError(j.instance,t,e,M)),T=!1}return T&&this.$__set(A,e,c,S,j,t,C),this},i.prototype.$__shouldModify=function(e,t,n,r,o,a,s){return this.isNew?!0:void 0!==a||this.isSelected(t)?void 0===a&&t in this.$__.activePaths.states[\"default\"]?!1:this.populated(t)&&a instanceof i&&O(a._id,s)?!1:O(a,s||this.get(t))?!!(!n&&null!==a&&void 0!==a&&t in this.$__.activePaths.states[\"default\"]&&O(a,o.getDefault(this,n))):!0:!0},i.prototype.$__set=function(t,n,r,i,o,a,s){d=d||e(\"./types/embedded\");var c=this.$__shouldModify(t,n,r,i,o,a,s),u=this;c&&(this.markModified(t,a),f||(f=e(\"./types/array\")),a&&a.isMongooseArray&&(a._registerAtomic(\"$set\",a),this.$__.activePaths.forEach(function(e){0===e.indexOf(n+\".\")&&u.$__.activePaths.ignore(e)})));for(var p=this._doc,l=0,h=i.length;h>l;l++){var m=l+1,v=m===h;v?p[i[l]]=a:p=p[i[l]]&&\"Object\"===w.getFunctionName(p[i[l]].constructor)?p[i[l]]:p[i[l]]&&p[i[l]]instanceof d?p[i[l]]:p[i[l]]&&p[i[l]].$isSingleNested?p[i[l]]:p[i[l]]&&Array.isArray(p[i[l]])?p[i[l]]:p[i[l]]={}}},i.prototype.getValue=function(e){return w.getValue(e,this._doc)},i.prototype.setValue=function(e,t){return w.setValue(e,t,this._doc),this},i.prototype.get=function(e,t){var n;t&&(n=g.interpretAsType(e,t,this.schema.options));for(var r=this.$__path(e)||this.schema.virtualpath(e),i=e.split(\".\"),o=this._doc,a=0,s=i.length;s>a;a++)o=null===o||void 0===o?void 0:o[i[a]];return n&&(o=n.cast(o)),r&&!this.populated(e)&&(o=r.applyGetters(o,this)),o},i.prototype.$__path=function(e){var t=this.$__.adhocPaths,n=t&&t[e];return n?n:this.schema.path(e)},i.prototype.markModified=function(e){this.$__.activePaths.modify(e)},i.prototype.modifiedPaths=function(){var e=Object.keys(this.$__.activePaths.states.modify);return e.reduce(function(e,t){var n=t.split(\".\");return e.concat(n.reduce(function(e,t,r){return e.concat(n.slice(0,r).concat(t).join(\".\"))},[]))},[])},i.prototype.isModified=function(e){return e?!!~this.modifiedPaths().indexOf(e):this.$__.activePaths.some(\"modify\")},i.prototype.$isDefault=function(e){return e in this.$__.activePaths.states[\"default\"]},i.prototype.isDirectModified=function(e){return e in this.$__.activePaths.states.modify},i.prototype.isInit=function(e){return e in this.$__.activePaths.states.init},i.prototype.isSelected=function(e){if(this.$__.selected){if(\"_id\"===e)return 0!==this.$__.selected._id;var t,n=Object.keys(this.$__.selected),r=n.length,i=!1;if(1===r&&\"_id\"===n[0])return 0===this.$__.selected._id;for(;r--;)if(t=n[r],\"_id\"!==t){i=!!this.$__.selected[t];break}if(e in this.$__.selected)return i;r=n.length;for(var o=e+\".\";r--;)if(t=n[r],\"_id\"!==t){if(0===t.indexOf(o))return i;if(0===o.indexOf(t+\".\"))return i}return!i}return!0},i.prototype.validate=function(e,t){var n=this,r=C.get();return\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise?void this.$__validate(t):new r.ES6(function(e,r){n.$__validate(function(n){return t&&t(n),n?void r(n):void e()})})},i.prototype.$__validate=function(e){var t=this,n=function(){var e=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),e){for(var n in e.errors)!t.__parent&&e.errors[n]instanceof m.CastError&&t.invalidate(n,e.errors[n]);return e}},i=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});i=i.concat(Object.keys(this.$__.activePaths.states.init)),i=i.concat(Object.keys(this.$__.activePaths.states.modify)),i=i.concat(Object.keys(this.$__.activePaths.states[\"default\"])),0===i.length&&process.nextTick(function(){var t=n();return t?void e(t):void e()});for(var o={},a=0,s=0;s<i.length;++s){var c=i[s],u=t.getValue(c);if(u&&u.isMongooseArray&&!r.isBuffer(u)&&!u.isMongooseDocumentArray)for(var p=u.length,l=0;p>l;++l)i.push(c+\".\"+l)}var f=function(){var t=n();return t?void e(t):void e()},d=function(e){o[e]||(o[e]=!0,a++,process.nextTick(function(){var n=t.schema.path(e);if(!n)return--a||f();if(!t.$isValid(e))return void(--a||f());var r=t.getValue(e);n.doValidate(r,function(n){n&&t.invalidate(e,n,void 0,!0),--a||f()},t)}))};i.forEach(d)},i.prototype.validateSync=function(e){var t=this;\"string\"==typeof e&&(e=e.split(\" \"));var n=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});if(n=n.concat(Object.keys(this.$__.activePaths.states.init)),n=n.concat(Object.keys(this.$__.activePaths.states.modify)),n=n.concat(Object.keys(this.$__.activePaths.states[\"default\"])),e&&e.length){for(var r=[],i=0;i<n.length;++i)-1!==e.indexOf(n[i])&&r.push(n[i]);n=r}var o={};n.forEach(function(e){if(!o[e]){o[e]=!0;var n=t.schema.path(e);if(n&&t.$isValid(e)){var r=t.getValue(e),i=n.doValidateSync(r,t);i&&t.invalidate(e,i,void 0,!0)}}});var a=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),a)for(var s in a.errors)a.errors[s]instanceof m.CastError&&t.invalidate(s,a.errors[s]);return a},i.prototype.invalidate=function(e,t,n,r){return this.$__.validationError||(this.$__.validationError=new S(this)),this.$__.validationError.errors[e]?void 0:(t&&\"string\"!=typeof t||(t=new x({path:e,message:t,type:r||\"user defined\",value:n})),this.$__.validationError===t?this.$__.validationError:(this.$__.validationError.errors[e]=t,this.$__.validationError))},i.prototype.$markValid=function(e){this.$__.validationError&&this.$__.validationError.errors[e]&&(delete this.$__.validationError.errors[e],0===Object.keys(this.$__.validationError.errors).length&&(this.$__.validationError=null))},i.prototype.$isValid=function(e){return!this.$__.validationError||!this.$__.validationError.errors[e]},i.prototype.$__reset=function(){var t=this;return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return t.getValue(e)}).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).forEach(function(e){for(var t=e.length;t--;){var n=e[t];n&&n.$__reset()}}),this.$__dirty().forEach(function(e){var t=e.value;t&&t._atomics&&(t._atomics={})}),this.$__.activePaths.clear(\"modify\"),this.$__.activePaths.clear(\"default\"),this.$__.validationError=void 0,this.errors=void 0,t=this,this.schema.requiredPaths().forEach(function(e){t.$__.activePaths.require(e)}),this},i.prototype.$__dirty=function(){var e=this,t=this.$__.activePaths.map(\"modify\",function(t){return{path:t,value:e.getValue(t),schema:e.$__path(t)}});t=t.concat(this.$__.activePaths.map(\"default\",function(t){return\"_id\"!==t&&e.getValue(t)?{path:t,value:e.getValue(t),schema:e.$__path(t)}:void 0})),t.sort(function(e,t){return e.path<t.path?-1:e.path>t.path?1:0});var n,r,i=[];return t.forEach(function(e){e&&(0!==e.path.indexOf(n)?(n=e.path+\".\",i.push(e),r=e):r.value&&r.value._atomics&&r.value.hasAtomics()&&(r.value._atomics={},r.value._atomics.$set=r.value))}),r=n=null,i},i.prototype.$__setSchema=function(e){a(e.tree,this,void 0,e.options),this.schema=e},i.prototype.$__getArrayPathsToValidate=function(){return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return this.getValue(e)}.bind(this)).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e})},i.prototype.$__getAllSubdocs=function(){function t(e,n){var r=this[n];return r instanceof d&&e.push(r),r&&r.$isSingleNested&&(e=Object.keys(r._doc).reduce(t.bind(r._doc),e),e.push(r)),r&&r.isMongooseDocumentArray?r.forEach(function(n){n&&n._doc&&(n instanceof d&&e.push(n),e=Object.keys(n._doc).reduce(t.bind(n._doc),e))}):r instanceof i&&r.$__isNested&&(r=r.toObject(),r&&(e=Object.keys(r).reduce(t.bind(r),e))),e}l||(l=e(\"./types/documentarray\")),d=d||e(\"./types/embedded\");var n=Object.keys(this._doc).reduce(t.bind(this),[]);return n},i.prototype.$__registerHooksFromSchema=function(){d=d||e(\"./types/embedded\");var t=C.get(),n=this,r=n.schema&&n.schema.callQueue;if(!r.length)return n;var i=r.reduce(function(e,t){if(\"pre\"!==t[0]&&\"post\"!==t[0]&&\"on\"!==t[0])return n[t[0]].apply(n,t[1]),e;var r=[].slice.call(t[1]),i=\"on\"===t[0]?\"post\":r[0];return i in e||(e[i]={post:[],pre:[]}),\"post\"===t[0]?e[i].post.push(r):\"on\"===t[0]?e[i].push(r):e[i].pre.push(r),e},{post:[]});return i.post.forEach(function(e){n.on.apply(n,e)}),delete i.post,i.init&&n instanceof d?(i.init.pre&&i.init.pre.forEach(function(e){n.$pre.apply(n,e)}),i.init.post&&i.init.post.forEach(function(e){n.$post.apply(n,e)}),delete i.init):i.set&&(i.set.pre&&i.set.pre.forEach(function(e){n.$pre.apply(n,e)}),i.set.post&&i.set.post.forEach(function(e){n.$post.apply(n,e)}),delete i.set),Object.keys(i).forEach(function(e){var r=\"$__original_\"+e;n[e]&&(n[r]=n[e],n[e]=function(){var e,i=[].slice.call(arguments),o=i.pop();return new t.ES6(function(t,a){o&&\"function\"!=typeof o?i.push(o):e=o,i.push(function(r,i){return r?(n.$__handleReject(r),e&&e(r),void a(r)):(e&&e.apply(null,[null].concat(Array.prototype.slice.call(arguments,1))),void t(i))}),n[r].apply(n,i)})},i[e].pre.forEach(function(e){e[0]=r,n.$pre.apply(n,e)}),i[e].post.forEach(function(e){e[0]=r,n.$post.apply(n,e)}))}),n},i.prototype.$__handleReject=function(e){this.listeners(\"error\").length?this.emit(\"error\",e):this.constructor.listeners&&this.constructor.listeners(\"error\").length?this.constructor.emit(\"error\",e):this.listeners&&this.listeners(\"error\").length&&this.emit(\"error\",e)},i.prototype.$toObject=function(e,t){var n={transform:!0,json:t};if(e&&e.depopulate&&!e._skipDepopulateTopLevel&&this.$__.wasPopulated)return _(this._id,e);e&&e._skipDepopulateTopLevel&&(e._skipDepopulateTopLevel=!1),(!e||\"Object\"!==w.getFunctionName(e.constructor)||e&&e._useSchemaOptions)&&(t?(e=this.schema.options.toJSON?_(this.schema.options.toJSON):{},e.json=!0,e._useSchemaOptions=!0):(e=this.schema.options.toObject?_(this.schema.options.toObject):{},e.json=!1,e._useSchemaOptions=!0));for(var r in n)void 0===e[r]&&(e[r]=n[r]);\"minimize\"in e||(e.minimize=this.schema.options.minimize);var i=e.transform,o=_(this._doc,e)||{};e.getters&&(p(this,o,\"paths\",e),e.minimize&&(o=u(o)||{})),(e.virtuals||e.getters&&e.virtuals!==!1)&&p(this,o,\"virtuals\",e),e.versionKey===!1&&this.schema.options.versionKey&&delete o[this.schema.options.versionKey];var a=e.transform;if(a===!0||this.schema.options.toObject&&a){var s=e.json?this.schema.options.toJSON:this.schema.options.toObject;s&&(a=\"function\"==typeof e.transform?e.transform:s.transform)}else e.transform=i;if(\"function\"==typeof a){var c=a(this,o,e);\"undefined\"!=typeof c&&(o=c)}return o},i.prototype.toObject=function(e){return this.$toObject(e)},i.prototype.toJSON=function(e){return this.$toObject(e,!0)},i.prototype.inspect=function(e){var t,n=e&&\"Object\"===w.getFunctionName(e.constructor);return t=n?e:this.schema.options.toObject?_(this.schema.options.toObject):{},t.minimize=!1,t.retainKeyOrder=!0,this.toObject(t)},i.prototype.toString=function(){return j(this.inspect())},i.prototype.equals=function(e){var t=this.get(\"_id\"),n=e.get?e.get(\"_id\"):e;return t||n?t&&t.equals?t.equals(n):t===n:O(this,e)},i.prototype.populate=function(){if(0===arguments.length)return this;var e,t=this.$__.populate||(this.$__.populate={}),n=w.args(arguments);if(\"function\"==typeof n[n.length-1]&&(e=n.pop()),n.length)for(var r=w.populate.apply(null,n),i=0;i<r.length;++i)t[r[i].path]=r[i];if(e){var o=w.object.vals(t);\nthis.$__.populate=void 0,o.__noPromise=!0,this.constructor.populate(this,o,e)}return this},i.prototype.execPopulate=function(){var e=C.get(),t=this;return new e.ES6(function(e,n){t.populate(function(t,r){t?n(t):e(r)})})},i.prototype.populated=function(e,t,n){if(null!==t&&void 0!==t){if(t===!0){if(!this.$__.populated)return;return this.$__.populated[e]}return this.$__.populated||(this.$__.populated={}),this.$__.populated[e]={value:t,options:n},t}if(this.$__.populated){var r=this.$__.populated[e];return r?r.value:void 0}},i.prototype.depopulate=function(e){var t=this.populated(e);t&&(delete this.$__.populated[e],this.set(e,t))},i.prototype.$__fullPath=function(e){return e||\"\"},i.ValidationError=S,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./error/objectExpected\":265,\"./error/strict\":267,\"./internal\":272,\"./promise_provider\":275,\"./schema\":279,\"./schema/mixed\":287,\"./schematype\":292,\"./types/array\":295,\"./types/documentarray\":297,\"./types/embedded\":298,\"./utils\":302,events:void 0,\"hooks-fixed\":150,util:void 0}],254:[function(e,t,n){\"use strict\";var r=e(\"./document.js\"),i=e(\"./browserDocument.js\");t.exports=function(){return\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&document===window.document?i:r}},{\"./browserDocument.js\":250,\"./document.js\":253}],255:[function(e,t,n){t.exports=function(){}},{}],256:[function(e,t,n){var r=e(\"bson\").Binary;t.exports=n=r},{bson:59}],257:[function(e,t,n){n.Binary=e(\"./binary\"),n.ObjectId=e(\"./objectid\"),n.ReadPreference=e(\"./ReadPreference\")},{\"./ReadPreference\":255,\"./binary\":256,\"./objectid\":258}],258:[function(e,t,n){var r=e(\"bson\").ObjectID;t.exports=n=r},{bson:59}],259:[function(e,t,n){(function(n){var r;r=e(\"undefined\"==typeof window?n.MONGOOSE_DRIVER_PATH||\"./node-mongodb-native\":\"./browser\"),t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./browser\":257}],260:[function(e,t,n){function r(e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.message=e,this.name=\"MongooseError\"}r.prototype=Object.create(Error.prototype),r.prototype.constructor=Error,t.exports=n=r,r.messages=e(\"./error/messages\"),r.Messages=r.messages,r.CastError=e(\"./error/cast\"),r.ValidationError=e(\"./error/validation\"),r.ValidatorError=e(\"./error/validator\"),r.VersionError=e(\"./error/version\"),r.OverwriteModelError=e(\"./error/overwriteModel\"),r.MissingSchemaError=e(\"./error/missingSchema\"),r.DivergentArrayError=e(\"./error/divergentArray\")},{\"./error/cast\":261,\"./error/divergentArray\":262,\"./error/messages\":263,\"./error/missingSchema\":264,\"./error/overwriteModel\":266,\"./error/validation\":268,\"./error/validator\":269,\"./error/version\":270}],261:[function(e,t,n){function r(e,t,n,r){i.call(this,\"Cast to \"+e+' failed for value \"'+t+'\" at path \"'+n+'\"'),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"CastError\",this.kind=e,this.value=t,this.path=n,this.reason=r}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],262:[function(e,t,n){function r(e){var t=\"For your own good, using `document.save()` to update an array which was selected using an $elemMatch projection OR populated using skip, limit, query conditions, or exclusion of the _id field when the operation results in a $pop or $set of the entire array is not supported. The following path(s) would have been modified unsafely:\\n  \"+e.join(\"\\n  \")+\"\\nUse Model.update() to update these arrays instead.\";i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"DivergentArrayError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],263:[function(e,t,n){var r=t.exports=n={};r.general={},r.general[\"default\"]=\"Validator failed for path `{PATH}` with value `{VALUE}`\",r.general.required=\"Path `{PATH}` is required.\",r.Number={},r.Number.min=\"Path `{PATH}` ({VALUE}) is less than minimum allowed value ({MIN}).\",r.Number.max=\"Path `{PATH}` ({VALUE}) is more than maximum allowed value ({MAX}).\",r.Date={},r.Date.min=\"Path `{PATH}` ({VALUE}) is before minimum allowed value ({MIN}).\",r.Date.max=\"Path `{PATH}` ({VALUE}) is after maximum allowed value ({MAX}).\",r.String={},r.String[\"enum\"]=\"`{VALUE}` is not a valid enum value for path `{PATH}`.\",r.String.match=\"Path `{PATH}` is invalid ({VALUE}).\",r.String.minlength=\"Path `{PATH}` (`{VALUE}`) is shorter than the minimum allowed length ({MINLENGTH}).\",r.String.maxlength=\"Path `{PATH}` (`{VALUE}`) is longer than the maximum allowed length ({MAXLENGTH}).\"},{}],264:[function(e,t,n){function r(e){var t=\"Schema hasn't been registered for model \\\"\"+e+'\".\\nUse mongoose.model(name, schema)';i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"MissingSchemaError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],265:[function(e,t,n){function r(e,t){i.call(this,\"Tried to set nested object field `\"+e+\"` to primitive value `\"+t+\"` and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ObjectExpectedError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],266:[function(e,t,n){function r(e){i.call(this,\"Cannot overwrite `\"+e+\"` model once compiled.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"OverwriteModelError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],267:[function(e,t,n){function r(e){i.call(this,\"Field `\"+e+\"` is not in schema and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"StrictModeError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],268:[function(e,t,n){function r(e){e&&\"model\"===e.constructor.name?i.call(this,e.constructor.modelName+\" validation failed\"):i.call(this,\"Validation failed\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ValidationError\",this.errors={},e&&(e.errors=this.errors)}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,r.prototype.toString=function(){var e=this.name+\": \",t=[];return Object.keys(this.errors).forEach(function(e){this!==this.errors[e]&&t.push(String(this.errors[e]))},this),e+t.join(\", \")},t.exports=n=r},{\"../error.js\":260}],269:[function(e,t,n){function r(e){var t=e.message;t||(t=o.general[\"default\"]);var n=this.formatMessage(t,e);i.call(this,n),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.properties=e,this.name=\"ValidatorError\",this.kind=e.type,this.path=e.path,this.value=e.value}var i=e(\"../error.js\"),o=i.messages;r.prototype=Object.create(i.prototype),r.prototype.constructor=i,Object.defineProperty(r.prototype,\"properties\",{enumerable:!1,writable:!0,value:null}),r.prototype.formatMessage=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];\"message\"!==i&&(e=e.replace(\"{\"+i.toUpperCase()+\"}\",t[i]))}return e},r.prototype.toString=function(){return this.message},t.exports=r},{\"../error.js\":260}],270:[function(e,t,n){function r(){i.call(this,\"No matching document found.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"VersionError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],271:[function(e,t,n){(function(r){\"use strict\";function i(){this.connections=[],this.plugins=[],this.models={},this.modelSchemas={},this.options={pluralization:!0};var e=this.createConnection();e.models=this.models}function o(e,t){var n=this;for(var r in e)\"function\"==typeof e[r]&&e[r].$hasSideEffects?!function(t){n[t]=function(){return e[t].apply(e,arguments)}}(r):-1!==[\"connection\",\"connections\"].indexOf(r)&&(n[r]=e[r]);this.$opPromise=t}var a=e(\"./schema\"),s=e(\"./schematype\"),c=e(\"./virtualtype\"),u=e(\"./connectionstate\"),p=e(\"./types\"),l=e(\"./query\"),f=e(\"./model\"),d=e(\"./document\"),h=e(\"./utils\"),m=h.toCollectionName,v=e(\"../package.json\"),g=e(\"querystring\"),y=e(\"./aggregate\"),b=e(\"./promise_provider\");i.prototype.STATES=u,i.prototype.set=function(e,t){return 1===arguments.length?this.options[e]:(this.options[e]=t,this)},i.prototype.set.$hasSideEffects=!0,i.prototype.get=i.prototype.set;var x=/^.+,.+$/,w=function(e){if(!e)return!1;var t=e.indexOf(\"?\"),n=!1;if(-1!==t)try{var r=g.parse(e.substr(t+1));r&&r.replicaSet&&(n=!0)}catch(i){return!1}return n};i.prototype.createConnection=function(e,t){var n=new k(this);return this.connections.push(n),arguments.length&&(x.test(arguments[0])||w(arguments[0])?n.openSet.apply(n,arguments):t&&t.replset&&(t.replset.replicaSet||t.replset.rs_name)?n.openSet.apply(n,arguments):n.open.apply(n,arguments)),n},i.prototype.createConnection.$hasSideEffects=!0,i.prototype.connect=function(){var e=this.connection;return x.test(arguments[0])||w(arguments[0])?new o(this,e.openSet.apply(e,arguments)):new o(this,e.open.apply(e,arguments))},i.prototype.connect.$hasSideEffects=!0,i.prototype.disconnect=function(e){var t;this.connections.forEach(function(e){e.close(function(e){t||e&&(t=e)})});var n=b.get();return new o(this,new n.ES6(function(n,r){return e&&e(t),t?void r(t):void n()}))},i.prototype.disconnect.$hasSideEffects=!0,i.prototype.model=function(e,t,n,r){\"string\"==typeof t&&(n=t,t=!1),h.isObject(t)&&!t.instanceOfSchema&&(t=new a(t)),\"boolean\"==typeof n&&(r=n,n=null);var i;if(r&&h.isObject(r)?(i=r,r=!0):i={},!this.modelSchemas[e]){if(!t)throw new S.Error.MissingSchemaError(e);this.modelSchemas[e]=t,this._applyPlugins(t)}var o,s;if(this.models[e]&&i.cache!==!1){if(t&&t.instanceOfSchema&&t!==this.models[e].schema)throw new S.Error.OverwriteModelError(e);return n?(o=this.models[e],t=o.prototype.schema,s=o.__subclass(this.connection,t,n)):this.models[e]}if(!t&&(t=this.modelSchemas[e],!t))throw new S.Error.MissingSchemaError(e);\"pluralization\"in t.options||(t.options.pluralization=this.options.pluralization),n||(n=t.get(\"collection\")||m(e,t.options));var c=i.connection||this.connection;return o=f.compile(e,t,n,c,this),r||o.init(),i.cache===!1?o:(this.models[e]=o,this.models[e])},i.prototype.model.$hasSideEffects=!0,i.prototype.modelNames=function(){var e=Object.keys(this.models);return e},i.prototype.modelNames.$hasSideEffects=!0,i.prototype._applyPlugins=function(e){for(var t=0,n=this.plugins.length;n>t;t++)e.plugin(this.plugins[t][0],this.plugins[t][1])},i.prototype._applyPlugins.$hasSideEffects=!0,i.prototype.plugin=function(e,t){return this.plugins.push([e,t]),this},i.prototype.plugin.$hasSideEffects=!0,i.prototype.__defineGetter__(\"connection\",function(){return this.connections[0]}),i.prototype.__defineSetter__(\"connection\",function(e){this.connections[0]=e});var _=r.MONGOOSE_DRIVER_PATH||\"./drivers/node-mongodb-native\",k=e(_+\"/connection\"),j=e(_+\"/collection\");i.prototype.Aggregate=y,i.prototype.Collection=j,i.prototype.Connection=k,i.prototype.version=v.version,i.prototype.Mongoose=i,i.prototype.Schema=a,i.prototype.SchemaType=s,i.prototype.SchemaTypes=a.Types,i.prototype.VirtualType=c,i.prototype.Types=p,i.prototype.Query=l,Object.defineProperty(i.prototype,\"Promise\",{get:function(){return b.get()},set:function(e){b.set(e)}}),i.prototype.PromiseProvider=b,i.prototype.Model=f,i.prototype.Document=d,i.prototype.DocumentProvider=e(\"./document_provider\"),i.prototype.Error=e(\"./error\"),i.prototype.CastError=e(\"./error/cast\"),i.prototype.mongo=e(\"mongodb\"),i.prototype.mquery=e(\"mquery\"),o.prototype=new i,o.prototype.then=function(e,t){var n=b.get();return this.$opPromise?this.$opPromise.then(e,t):new n.ES6(function(e,t){t(new Error(\"Can only call `.then()` if connect() or disconnect() has been called\"))}).then(e,t)},o.prototype[\"catch\"]=function(e){return this.then(null,e)};var S=t.exports=n=new i}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../package.json\":304,\"./aggregate\":249,\"./connectionstate\":252,\"./document\":253,\"./document_provider\":254,\"./error\":260,\"./error/cast\":261,\"./model\":273,\"./promise_provider\":275,\"./query\":276,\"./schema\":279,\"./schematype\":292,\"./types\":299,\"./utils\":302,\"./virtualtype\":303,mongodb:215,mquery:312,querystring:void 0}],272:[function(e,t,n){function r(){this.strictMode=void 0,this.selected=void 0,this.shardval=void 0,this.saveError=void 0,this.validationError=void 0,this.adhocPaths=void 0,this.removing=void 0,this.inserting=void 0,this.version=void 0,this.getters={},this._id=void 0,this.populate=void 0,this.populated=void 0,this.wasPopulated=!1,this.scope=void 0,this.activePaths=new o,this.ownerDocument=void 0,this.fullPath=void 0}var i=e(\"./statemachine\"),o=i.ctor(\"require\",\"modify\",\"init\",\"default\",\"ignore\");t.exports=n=r},{\"./statemachine\":294}],273:[function(e,t,n){(function(r){function i(e,t,n){_.call(this,e,t,n)}function o(e,t){var n=e.schema.options.skipVersioning;return n?(t=t.replace(/\\.\\d+\\./,\".\"),n[t]):!1}function a(e,t,n,r,i,a){if(a||(a=\"$set\"),n[a]||(n[a]={}),n[a][r.path]=i,e.schema.options.versionKey!==!1&&!o(e,r.path)&&R!==(R&e.$__.version)){switch(a){case\"$set\":case\"$unset\":case\"$pop\":case\"$pull\":case\"$pullAll\":case\"$push\":case\"$pushAll\":case\"$addToSet\":break;default:return}\"$push\"===a||\"$pushAll\"===a||\"$addToSet\"===a?e.$__.version=q:/^\\$p/.test(a)?e.increment():Array.isArray(i)?e.increment():/\\.\\d+\\.|\\.\\d+$/.test(r.path)&&(e.$__.version=D)}}function s(e,t,n,r,i){function o(e){return I(e)?e.toObject({depopulate:1}):e}if(!n.$set||!n.$set[r.path]){if(\"function\"==typeof i.$__getAtomics)return void i.$__getAtomics().forEach(function(i){var o=i[0],s=i[1];a(e,t,n,r,s,o)});var s,c,u=i._atomics,p=Object.keys(u),l=p.length;if(0===l)return I(i)?i=i.toObject({depopulate:1}):i.valueOf&&(i=i.valueOf()),a(e,t,n,r,i);for(;l--;)c=p[l],s=u[c],I(s)?s=s.toObject({depopulate:1}):Array.isArray(s)?s=s.map(o):s.valueOf&&(s=s.valueOf()),\"$addToSet\"===c&&(s={$each:s}),a(e,t,n,r,s,c)}}function c(e,t,n){var r=e.populated(t,!0);if(!r&&e.$__.selected){var i=t.split(\".\")[0];if(e.$__.selected[i]&&e.$__.selected[i].$elemMatch||e.$__.selected[i+\".$\"])return i}if(r&&n&&n.isMongooseArray){var o=r.options.match||r.options.options&&T(r.options.options,\"limit\")||r.options.options&&r.options.options.skip||r.options.select&&(0===r.options.select._id||/\\s?-_id\\s?/.test(r.options.select));if(o){var a=n._atomics;if(0===Object.keys(a).length||a.$set||a.$pop)return t}}}function u(e,t){var n=e.schema.indexes();if(!n.length)return void process.nextTick(function(){t&&t()});var r=function(n){n&&e.schema.options.emitIndexErrors&&e.emit(\"error\",n),e.emit(\"index\",n),t&&t(n)},i=function(t,n,r,i){e.emit(\"index-single-done\",t,n,r,i)},o=function(t,n){e.emit(\"index-single-start\",t,n)},a=function(){var t=n.shift();if(!t)return r();var s=t[0],c=t[1];p(c),o(s,c),e.collection.ensureIndex(s,c,z(function(e,t){return i(e,s,c,t),e?r(e):void a()}))};a()}function p(e){e.safe&&(\"boolean\"==typeof e.safe&&(e.w=e.safe,delete e.safe),\"object\"==typeof e.safe&&(e.w=e.safe.w,e.j=e.safe.j,e.wtimeout=e.safe.wtimeout,delete e.safe))}function l(e,t,n,r,i){function o(e){return e?i(e):void(--a||i(null,t))}var a=n.length;if(0===a)return i(null,t);for(var s,c=a;c--;)s=n[c],\"function\"==typeof s.model&&(e=s.model),d(e,t,s,f.call(e,t,s,r,o))}function f(e,t,n,r){var i=this,o=t.path+\".\",a=t.populate;return a?(Array.isArray(a)||(a=[a]),function(t){function s(e){return e?r(e):void(--c||r())}var c=a.length;return t||!c?r(t):void a.forEach(function(t){t=C.clone(t),t._originalPath||(t._originalPath=t.path,t.path=o+t.path);var r,a=n[o.substr(0,o.length-1)]||i.schema._getSchema(o);\"string\"==typeof t.model?t.model=i.model(t.model):a&&a.caster&&a.caster.options&&a.caster.options.ref?(r=i.model(a.caster.options.ref).schema._getSchema(t._originalPath),n[t.path]=r,r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))):a&&a.options&&a.options.ref&&(r=i.model(a.options.ref).schema._getSchema(t._originalPath),r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))),l(t.model||i,e,C.populate(t),n,s)})}):r}function d(e,t,n,r){function i(e){return void 0!==e}function o(e,t,n,r){return n?f.resolve(n):(v=v.concat(r),void(0===--y&&f.resolve(n,v,e,t)))}var a,s;if(Array.isArray(t)||(t=[t]),0===t.length||t.every(C.isNullOrUndefined))return r();a=h(e,t,n),s=m(a);var c,u,p,l,f,d=a.length,v=[];f=new F(function(e,n,i,o){if(e)return r(e);for(var a,c,u=i.options&&i.options.lean,p=n.length,l={},f={},d=0;p>d;d++)c=n[d],a=String(C.getValue(\"_id\",c)),f[a]=c,l[a]=d,u||(c.$__.wasPopulated=!0);g({rawIds:s,rawDocs:f,rawOrder:l,docs:t,path:i.path,options:o}),r()});var y=d,b=!1;for(c=0;d>c;c++){u=a[c],l=u.options.select,p=u.options.match?C.object.shallowCopy(u.options.match):{};var x=C.array.flatten(u.ids,i);if(x=C.array.unique(x),0===x.length||x.every(C.isNullOrUndefined))--y;else{b=!0,p._id||(p._id={$in:x});var w={};w.sort=u.options.options&&u.options.options.sort||void 0,w.excludeId=$.test(l)||l&&0===l._id,w.excludeId&&(\"string\"==typeof l?l=l.replace(U,\" \"):(l=C.object.shallowCopy(l),delete l._id)),u.options.options&&u.options.options.limit&&(w.originalLimit=u.options.options.limit,u.options.options.limit=u.options.options.limit*x.length),u.Model.find(p,l,u.options.options,o.bind(this,u.options,w))}}return b?void 0:r()}function h(e,t,n){var r,i,o,a,s,c,u,p,l,f,d=t.length,h={},m=[],v=n.model&&n.model.modelName||n.model;for(o=e._getSchema(n.path),o&&o.caster&&(o=o.caster),!o&&e.discriminators&&(l=e.schema.discriminatorMapping.key),a=o&&o.options&&o.options.refPath,r=0;d>r;r++){if(i=t[r],a)u=C.getValue(a,i);else if(v)u=[v];else{var g;!o&&l?(f=C.getValue(l,i),f&&(g=e.db.model(f)._getSchema(n.path),g&&g.caster&&(g=g.caster))):g=o,u=[g&&g.options&&g.options.ref||e.modelName]}if(u){Array.isArray(u)||(u=[u]);for(var y=u.length;y--;)p=u[y],h[p]?h[p].docs.push(i):(s=e.db.model(p),c={model:s},o&&!l&&(n.model=s),C.merge(c,n),h[p]={Model:s,options:c,docs:[i],ids:[]},m.push(h[p]))}}return m}function m(e){var t,n,r,i,o,a,s,c,u,p,l,f=[];for(s=e.length,n=0;s>n;n++)for(i=e[n].docs,a=i.length,p=e[n].options,l=p.path,t=0;a>t;t++)c=void 0,r=i[t],o=String(C.getValue(\"_id\",r)),u=!!r.$__,(!c||Array.isArray(c)&&0===c.length)&&(c=C.getValue(l,r)),c&&(c=v(c),p._docs[o]=Array.isArray(c)?c.slice():c),f.push(c),e[n].ids.push(c),u&&r.populated(l,p._docs[o],p);return f}function v(e){if(e instanceof i)return e._id;if(Array.isArray(e)){for(var t=0;t<e.length;++t)e[t]instanceof i&&(e[t]=e[t]._id);return e}return e}function g(e){function t(e){return y(e,o)}w(e.rawIds,e.rawDocs,e.rawOrder,e.options);for(var n=e.docs,r=e.path,i=e.rawIds,o=e.options,a=0;a<n.length;++a)null!=C.getValue(r,n[a])&&C.setValue(r,i[a],n[a],t)}function y(e,t){if(Array.isArray(e)){for(var n=[],r=e.length,i=0;r>i;++i){var o=e[i];if(x(o)&&(b(o,t),n.push(o),t.originalLimit&&n.length>=t.originalLimit))break}for(;e.length>n.length;)Array.prototype.pop.apply(e,[]);for(i=0;i<n.length;++i)e[i]=n[i];return e}return x(e)?(b(e,t),e):null}function b(e,t){t.excludeId&&(\"function\"==typeof e.setValue?delete e._doc._id:delete e._id)}function x(e){if(null==e)return!1;var t=typeof e;return\"string\"===t?!1:\"number\"===t?!1:r.isBuffer(e)?!1:\"ObjectID\"!==e.constructor.name}function w(e,t,n,r,i){for(var o,a,s,c=[],u=r.sort&&e.length>1,p=0;p<e.length;++p)s=e[p],Array.isArray(s)?(w(s,t,n,r,!0),c.push(s)):null!==s||u?(a=String(s),i?(o=t[a],o?u?c[n[a]]=o:c.push(o):c.push(s)):c[p]=o=t[a]||null):c.push(s);e.length=0,c.length&&c.forEach(function(t,n){t&&(e[n]=t)})}var _=e(\"./document\"),k=e(\"./error\"),j=k.VersionError,S=k.DivergentArrayError,E=e(\"./query\"),O=e(\"./aggregate\"),A=e(\"./schema\"),C=e(\"./utils\"),T=C.object.hasOwnProperty,I=C.isMongooseObject,P=e(\"events\").EventEmitter,F=e(\"./promise\"),M=e(\"util\"),z=C.tick,B=e(\"async\"),N=e(\"./promise_provider\"),D=1,q=2,R=D|q;i.prototype.__proto__=_.prototype,i.prototype.db,i.prototype.collection,i.prototype.modelName,i.prototype.baseModelName,i.prototype.$__handleSave=function(e,t){var n=this;if(!e.safe&&this.schema.options.safe&&(e.safe=this.schema.options.safe),\"boolean\"==typeof e.safe&&(e.safe=null),this.isNew){var r={};this.schema.options.toObject&&this.schema.options.toObject.retainKeyOrder&&(r.retainKeyOrder=!0),r.depopulate=1,r._skipDepopulateTopLevel=!0,r.transform=!1;var i=this.toObject(r);if(!C.object.hasOwnProperty(i||{},\"_id\"))return void setTimeout(function(){t(new Error(\"document must have an _id before saving\"))},0);this.$__version(!0,i),this.collection.insert(i,e.safe,function(e,r){return e?(n.isNew=!0,n.emit(\"isNew\",!0),void t(e)):void t(null,r)}),this.$__reset(),this.isNew=!1,this.emit(\"isNew\",!1),this.$__.inserting=!0}else{this.$__.inserting=!1;var o=this.$__delta();if(!o)return this.$__reset(),void t();if(o instanceof Error)return void t(o);var a=this.$__where(o[0]);if(a instanceof Error)return void t(a);this.collection.update(a,o[1],e.safe,function(e,n){return e?void t(e):void t(null,n)}),this.emit(\"isNew\",!1)}},i.prototype.$__save=function(e,t){var n=this;n.$__handleSave(e,function(e,r){if(e)return t(e);n.$__reset(),n.$__storeShard();var i=0;if(r&&(i=Array.isArray(r)?r.length:r.result&&void 0!==r.result.n?r.result.n:r.result&&void 0!==r.result.nModified?r.result.nModified:r),n.$__.version&&!n.$__.inserting){var o=q===(q&n.$__.version);if(n.$__.version=void 0,0>=i){var a=new j;return t(a)}if(o){var s=n.schema.options.versionKey,c=0|n.getValue(s);n.setValue(s,c+1)}}n.emit(\"save\",n,i),t(null,n,i)})},i.prototype.save=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),e.__noPromise)return this.$__save(e,t);var n=this,r=N.get();return new r.ES6(function(r,i){n.$__save(e,function(e,n,o){return e?(t&&t(e),void i(e)):(t&&t(null,n,o),void r(n,o))})})},i.prototype.$__delta=function(){var e=this.$__dirty();if(e.length||R===this.$__.version){var t={},n={},i=e.length,o=[],u=0;for(t._id=this._doc._id;i>u;++u){var p=e[u],l=p.value,f=c(this,p.path,l);f?o.push(f):o.length||(void 0===l?a(this,t,n,p,1,\"$unset\"):null===l?a(this,t,n,p,null):l._path&&l._atomics?s(this,t,n,p,l):l._path&&r.isBuffer(l)?(l=l.toObject(),a(this,t,n,p,l)):(l=C.clone(l,{depopulate:1}),a(this,t,n,p,l)))}return o.length?new S(o):(this.$__.version&&this.$__version(t,n),[t,n])}},i.prototype.$__version=function(e,t){var n=this.schema.options.versionKey;return e===!0?void(n&&this.setValue(n,t[n]=0)):void(this.isSelected(n)&&(D===(D&this.$__.version)&&(e[n]=this.getValue(n)),q===(q&this.$__.version)&&(t.$set&&\"undefined\"!=typeof t.$set[n]||(t.$inc||(t.$inc={}),t.$inc[n]=1))))},i.prototype.increment=function(){return this.$__.version=R,this},i.prototype.$__where=function(e){e||(e={});var t,n;if(e._id||(e._id=this._doc._id),this.$__.shardval){t=Object.keys(this.$__.shardval),n=t.length;for(var r=0;n>r;++r)e[t[r]]=this.$__.shardval[t[r]]}return null==this._doc._id?new Error(\"No _id found on document!\"):e},i.prototype.remove=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),this.$__.removing)return t&&this.$__.removing.then(function(e){t(null,e)},function(e){t(e)}),this;var n=this,r=N.get();return this.$__.removing=new r.ES6(function(r,i){var o=n.$__where();return o instanceof Error?(i(o),void(t&&t(o))):(!e.safe&&n.schema.options.safe&&(e.safe=n.schema.options.safe),void n.collection.remove(o,e,function(e){return e?(i(e),void(t&&t(e))):(n.emit(\"remove\",n),r(n),void(t&&t(null,n)))}))}),this.$__.removing},i.prototype.model=function(e){return this.db.model(e)},i.discriminator=function(e,t){function n(e,t){if(e=C.clone(e),t=C.clone(t),delete e.toJSON,delete e.toObject,delete t.toJSON,delete t.toObject,delete e._id,delete t._id,!C.deepEqual(e,t))throw new Error(\"Discriminator options are not customizable (except toJSON, toObject, _id)\")}function r(t,r){C.merge(t,r);var o={};o[i]={type:String,\"default\":e},t.add(o),t.discriminatorMapping={key:i,value:e,isRoot:!1},r.options.collection&&(t.options.collection=r.options.collection),n(t.options,r.options);var a=t.options.toJSON,s=t.options.toObject,c=t.options._id;t.options=C.clone(r.options),a&&(t.options.toJSON=a),s&&(t.options.toObject=s),\"undefined\"!=typeof c&&(t.options._id=c),t.callQueue=r.callQueue.concat(t.callQueue.slice(t._defaultMiddleware.length)),t._requiredpaths=void 0}if(!t||!t.instanceOfSchema)throw new Error(\"You must pass a valid discriminator Schema\");if(this.schema.discriminatorMapping&&!this.schema.discriminatorMapping.isRoot)throw new Error('Discriminator \"'+e+'\" can only be a discriminator of the root model');var i=this.schema.options.discriminatorKey;if(t.path(i))throw new Error('Discriminator \"'+e+'\" cannot have field with name \"'+i+'\"');if(r(t,this.schema),this.discriminators||(this.discriminators={}),this.schema.discriminatorMapping||(this.schema.discriminatorMapping={key:i,value:null,isRoot:!0}),this.discriminators[e])throw new Error('Discriminator with name \"'+e+'\" already exists');return this.discriminators[e]=this.db.model(e,t,this.collection.name),this.discriminators[e].prototype.__proto__=this.prototype,Object.defineProperty(this.discriminators[e],\"baseModelName\",{value:this.modelName,configurable:!0,writable:!1}),H(this.discriminators[e],t),V(this.discriminators[e],t),this.discriminators[e]};for(var L in P.prototype)i[L]=P.prototype[L];i.init=function(){(this.schema.options.autoIndex||null===this.schema.options.autoIndex&&this.db.config.autoIndex)&&this.ensureIndexes({__noPromise:!0}),this.schema.emit(\"init\",this)},i.ensureIndexes=function(e,t){if(\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise)return void u(this,t);var n=this,r=N.get();return new r.ES6(function(e,r){u(n,function(n){n&&(t&&t(n),r(n)),t&&t(),e()})})},i.schema,i.db,i.collection,i.base,i.discriminators,i.remove=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E(e,{},this,this.collection);return n.remove(t)},i.find=function(e,t,n,r){\"function\"==typeof e?(r=e,e={},t=null,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof n&&(r=n,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.find(e,r)},i.findById=function(e,t,n,r){return\"undefined\"==typeof e&&(e=null),this.findOne({_id:e},t,n,r)},i.findOne=function(e,t,n,r){\"function\"==typeof n?(r=n,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof e&&(r=e,e={},t=null,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.findOne(e,r)},i.count=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E({},{},this,this.collection);return n.count(e,t)},i.distinct=function(e,t,n){var r=new E({},{},this,this.collection);return\"function\"==typeof t&&(n=t,t={}),r.distinct(e,t,n)},i.where=function(e,t){var n=new E({},{},this,this.collection).find({});return n.where.apply(n,arguments)},i.$where=function(){var e=new E({},{},this,this.collection).find({});return e.$where.apply(e,arguments)},i.findOneAndUpdate=function(e,t,n,r){if(\"function\"==typeof n)r=n,n=null;else if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findOneAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options, callback)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update)\\n  \"+this.modelName+\".findOneAndUpdate(update)\\n  \"+this.modelName+\".findOneAndUpdate()\\n\";throw new TypeError(i)}t=e,e=void 0}var o;n&&n.fields&&(o=n.fields,n.fields=void 0),t=C.clone(t,{depopulate:1}),this.schema.options.versionKey&&n&&n.upsert&&(t.$setOnInsert||(t.$setOnInsert={}),t.$setOnInsert[this.schema.options.versionKey]=0);var a=new E({},{},this,this.collection);return a.select(o),a.findOneAndUpdate(e,t,n,r)},i.findByIdAndUpdate=function(e,t,n,r){if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findByIdAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndUpdate(id, callback)\\n  \"+this.modelName+\".findByIdAndUpdate(id)\\n  \"+this.modelName+\".findByIdAndUpdate()\\n\";throw new TypeError(i)}return this.findOneAndUpdate({_id:e},void 0)}return e instanceof _&&(e=e._id),this.findOneAndUpdate.call(this,{_id:e},t,n,r)},i.findOneAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findOneAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndRemove(conditions, callback)\\n  \"+this.modelName+\".findOneAndRemove(conditions)\\n  \"+this.modelName+\".findOneAndRemove()\\n\";throw new TypeError(r)}\"function\"==typeof t&&(n=t,t=void 0);var i;t&&(i=t.select,t.select=void 0);var o=new E({},{},this,this.collection);return o.select(i),o.findOneAndRemove(e,t,n)},i.findByIdAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findByIdAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndRemove(id, callback)\\n  \"+this.modelName+\".findByIdAndRemove(id)\\n  \"+this.modelName+\".findByIdAndRemove()\\n\";throw new TypeError(r)}return this.findOneAndRemove({_id:e},t,n)},i.create=function(e,t){var n,r;if(Array.isArray(e))n=e,r=t;else{var i=arguments[arguments.length-1];\"function\"==typeof i?(r=i,n=C.args(arguments,0,arguments.length-1)):n=C.args(arguments)}var o=N.get(),a=this,s=new o.ES6(function(t,i){if(0===n.length)return void process.nextTick(function(){r&&r(null),t(null)});var o=[];n.forEach(function(e){o.push(function(t){var n=new a(e),r=function(e,n){return e?t(e):void t(null,n)};n.$__original_save?n.$__original_save({__noPromise:!0},r):n.save({__noPromise:!0},r)})}),B.parallel(o,function(n,o){return n?(r&&r(n),void i(n)):void(e instanceof Array?(t(o),r&&r.call(a,null,o)):(t.apply(s,o),r&&(o.unshift(null),r.apply(a,o))))})});return s},i.insertMany=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,i){var o=[];e.forEach(function(e){o.push(function(t){e=new n(e),e.validate({__noPromise:!0},function(n){return n?t(n):void t(null,e)})})}),B.parallel(o,function(e,o){if(e)return i(e),void(t&&t(e));var a=o.map(function(e){return e.toObject({virtuals:!1})});n.collection.insertMany(a,function(e){return e?(i(e),void(t&&t(e))):(r(o),void(t&&t(null,o)))})})})},i.hydrate=function(t){var n=e(\"./queryhelpers\").createModel(this,t);return n.init(t),n},i.update=function(e,t,n,r){var i=new E({},{},this,this.collection);return e=e instanceof _?e.toObject():C.clone(e,{retainKeyOrder:!0}),n=\"function\"==typeof n?n:C.clone(n),i.update(e,t,n,r)},i.mapReduce=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,o){if(!i.mapReduce.schema){var a={noId:!0,noVirtualId:!0,strict:!1};i.mapReduce.schema=new A({},a)}if(e.out||(e.out={inline:1}),e.verbose!==!1&&(e.verbose=!0),e.map=String(e.map),e.reduce=String(e.reduce),e.query){var s=new E(e.query);s.cast(n),e.query=s._conditions,s=void 0}n.collection.mapReduce(null,null,e,function(e,a,s){if(e)return t&&t(e),void o(e);if(a.findOne&&a.mapReduce){var c=i.compile(\"_mapreduce_\"+a.collectionName,i.mapReduce.schema,a.collectionName,n.db,n.base);return c._mapreduce=!0,t&&t(null,c,s),r(c,s)}t&&t(null,a,s),r(a,s)})})},i.geoNear=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();if(!e)return new i.ES6(function(e,t){var r=new Error(\"Must pass a near option to geoNear\");t(r),n&&n(r)});var o,a;return new i.ES6(function(i,s){\nvar c=function(e,o){function a(e){return e&&!u?(u=!0,s(e),void(n&&n(e))):void(--c<=0&&(i(o.results,o.stats),n&&n(null,o.results,o.stats)))}if(e)return s(e),void(n&&n(e));if(t.lean)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));var c=o.results.length;if(0===c)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));for(var u=!1,p=0;p<o.results.length;p++){var l=o.results[p].obj;o.results[p].obj=new r,o.results[p].obj.init(l,a)}};if(Array.isArray(e)){if(2!==e.length){var u=new Error(\"If using legacy coordinates, must be an array of size 2 for geoNear\");return s(u),void(n&&n(u))}o=e[0],a=e[1],r.collection.geoNear(o,a,t,c)}else{if(\"Point\"!==e.type||!Array.isArray(e.coordinates))return u=new Error(\"Must pass either a legacy coordinate array or GeoJSON Point to geoNear\"),s(u),void(n&&n(u));r.collection.geoNear(e,t,c)}})},i.aggregate=function W(){var W,e,t=[].slice.call(arguments);return\"function\"==typeof t[t.length-1]&&(e=t.pop()),W=new O(1===t.length&&M.isArray(t[0])?t[0]:t),W.model(this),\"undefined\"==typeof e?W:W.exec(e)},i.geoSearch=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();return new i.ES6(function(i,o){var a;return void 0!==e&&C.isObject(e)?t.near?Array.isArray(t.near)||(a=new Error(\"near option must be an array [x, y]\")):a=new Error(\"Must specify the near option in geoSearch\"):a=new Error(\"Must pass conditions to geoSearch\"),a?(n&&n(a),void o(a)):(t.search=e,void r.collection.geoHaystackSearch(t.near[0],t.near[1],t,function(e,a){function s(e){return e&&!u?(n&&n(e),void o(e)):void(--c||u||(n&&n(null,a.results,a.stats),i(a.results,a.stats)))}if(e)return n&&n(e),void o(e);var c=a.results.length;if(t.lean||0===c)return n&&n(null,a.results,a.stats),void i(a.results,a.stats);for(var u=!1,p=0;p<a.results.length;p++){var l=a.results[p];a.results[p]=new r,a.results[p].init(l,{},s)}}))})},i.populate=function(e,t,n){var r=this,i=t&&!!t.__noPromise;t=C.populate(t);var o={};if(!i){var a=N.get();return new a.ES6(function(i,a){l(r,e,t,o,function(e,t){e?(n&&n(e),a(e)):(n&&n(null,t),i(t))})})}l(this,e,t,o,n)};var $=/\\s?-_id\\s?/,U=/\\s?-_id\\s?/g;i._getSchema=function(e){return this.schema._getSchema(e)},i.compile=function(e,t,n,r,o){function a(e,t,n){return this instanceof a?void i.call(this,e,t,n):new a(e,t,n)}var s=t.options.versionKey!==!1;if(s&&!t.paths[t.options.versionKey]){var c={};c[t.options.versionKey]=Number,t.add(c)}a.hooks=t.s.hooks.clone(),a.base=o,a.modelName=e,a.__proto__=i,a.prototype.__proto__=i.prototype,a.model=i.prototype.model,a.db=a.prototype.db=r,a.discriminators=a.prototype.discriminators=void 0,a.prototype.$__setSchema(t);var u={bufferCommands:t.options.bufferCommands,capped:t.options.capped};return a.prototype.collection=r.collection(n,u),H(a,t),V(a,t),a.schema=a.prototype.schema,a.collection=a.prototype.collection,a};var H=function(e,t){function n(t,n){Object.defineProperty(e.prototype,t,{get:function(){var e={};for(var r in n.methods[t])e[r]=n.methods[t][r].bind(this);return e},configurable:!0})}for(var r in t.methods)\"function\"==typeof t.methods[r]?e.prototype[r]=t.methods[r]:n(r,t)},V=function(e,t){for(var n in t.statics)e[n]=t.statics[n]};i.__subclass=function(e,t,n){var r=this,i=function c(e,t,n){return this instanceof c?void r.call(this,e,t,n):new c(e,t,n)};i.__proto__=r,i.prototype.__proto__=r.prototype,i.db=i.prototype.db=e;var o=t&&\"string\"!=typeof t?t:r.prototype.schema,a=o.options||{};n||(n=r.prototype.schema.get(\"collection\")||C.toCollectionName(r.modelName,a));var s={bufferCommands:o?a.bufferCommands:!0,capped:o&&a.capped};return i.prototype.collection=e.collection(n,s),i.collection=i.prototype.collection,i.init(),i},t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregate\":249,\"./document\":253,\"./error\":260,\"./promise\":274,\"./promise_provider\":275,\"./query\":276,\"./queryhelpers\":277,\"./schema\":279,\"./utils\":302,async:11,events:void 0,util:void 0}],274:[function(e,t,n){function r(e){i.call(this,e)}var i=e(\"mpromise\"),o=e(\"util\");r.ES6=function(e){var t=new r;return e(function(){t.complete.apply(t,arguments)},function(e){t.error(e)}),t},r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),r.SUCCESS=\"complete\",r.FAILURE=\"err\",r.prototype.error=function(e){return e instanceof Error||(e instanceof Object&&(e=o.inspect(e)),e=new Error(e)),this.reject(e)},r.prototype.resolve=function(e){return e?this.error(e):this.fulfill.apply(this,Array.prototype.slice.call(arguments,1))},r.prototype.addBack=r.prototype.onResolve,r.prototype.complete=i.prototype.fulfill,r.prototype.addCallback=r.prototype.onFulfill,r.prototype.addErrback=r.prototype.onReject,t.exports=r},{mpromise:307,util:void 0}],275:[function(e,t,n){var r=e(\"./promise\"),i={_promise:r};i.get=function(){return i._promise},i.set=function(t){return t===r?i.reset():(i._promise=e(\"./ES6Promise\"),i._promise.use(t),void(e(\"mquery\").Promise=i._promise.ES6))},i.reset=function(){i._promise=r},t.exports=i},{\"./ES6Promise\":248,\"./promise\":274,mquery:312}],276:[function(e,t,n){function r(e,t,n,i){if(this._mongooseOptions||(this._mongooseOptions={}),t)for(var o=Object.keys(t),a=0;a<o.length;++a){var s=o[a];this._mongooseOptions[s]=t[s]}i&&(this.mongooseCollection=i),n&&(this.model=n,this.schema=n.schema),this.model&&this.model._mapreduce&&this.lean(),p.call(this,this.mongooseCollection,t),e&&this.find(e),this.schema&&(this._count=this.model.hooks.createWrapper(\"count\",r.prototype._count,this),this._execUpdate=this.model.hooks.createWrapper(\"update\",r.prototype._execUpdate,this),this._find=this.model.hooks.createWrapper(\"find\",r.prototype._find,this),this._findOne=this.model.hooks.createWrapper(\"findOne\",r.prototype._findOne,this),this._findOneAndRemove=this.model.hooks.createWrapper(\"findOneAndRemove\",r.prototype._findOneAndRemove,this),this._findOneAndUpdate=this.model.hooks.createWrapper(\"findOneAndUpdate\",r.prototype._findOneAndUpdate,this))}function i(e,t,n,r,i,o){function a(e){return e?o(e):void(--c||o(null,s))}for(var s=[],c=t.length,u=c,p=i?{populated:i}:void 0,l=0;u>l;++l)s[l]=v.createModel(e,t[l],n),s[l].init(t[l],p,a)}function o(e,t,n,r,i,o,a){var s=o?{populated:o}:void 0,c=v.createModel(e,t,r);c.init(t,s,function(e){return e?a(e):n?a(null,c,n):void a(null,c)})}function a(e){if(e&&e.model&&e.model.schema){var t=e.model.schema;t&&t.discriminatorMapping&&!t.discriminatorMapping.isRoot&&(e._conditions[t.discriminatorMapping.key]=t.discriminatorMapping.value)}}function s(e){if(!Array.isArray(e.sort)&&m.isObject(e.sort)){var t=[];for(var n in e.sort)m.object.hasOwnProperty(e.sort,n)&&t.push([n,e.sort[n]]);e.sort=t}}function c(e){try{return e.cast(e.model)}catch(t){return t}}function u(e,t){try{return e._castUpdate(e._update,t)}catch(n){return n}}var p=e(\"mquery\"),l=e(\"util\"),f=e(\"./drivers\").ReadPreference,d=e(\"./promise_provider\"),h=e(\"./services/updateValidators\"),m=e(\"./utils\"),v=e(\"./queryhelpers\"),g=e(\"./querystream\"),y=e(\"./error/strict\"),b=e(\"./cast\");r.prototype=new p,r.prototype.constructor=r,r.base=p.prototype,r.use$geoWithin=p.use$geoWithin,r.prototype.toConstructor=function(){var e=function(n,i){return this instanceof e?(this._mongooseOptions=m.clone(t._mongooseOptions),void r.call(this,n,i||null)):new e(n,i)};l.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=m.clone(this._conditions),t._fields=m.clone(this._fields),t._update=m.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t.model=this.model,t.mongooseCollection=this.mongooseCollection,t._mongooseOptions=this._mongooseOptions,e},r.prototype.read=function _(e,t){var _=f.call(f,e,t);return r.base.read.call(this,_)},r.prototype.setOptions=function(e,t){return t?(this._mongooseOptions=e&&m.clone(e)||{},this.options=e||{},\"populate\"in e&&this.populate(this._mongooseOptions),this):e&&\"Object\"===e.constructor.name?r.base.setOptions.call(this,e):this},r.prototype.getQuery=function(){return this._conditions},r.prototype.getUpdate=function(){return this._update},r.prototype._optionsForExec=function(e){var t=r.base._optionsForExec.call(this);return delete t.populate,(e=e||this.model)?(\"safe\"in t||!e.schema.options.safe||(t.safe=e.schema.options.safe),\"readPreference\"in t||!e.schema.options.read||(t.readPreference=e.schema.options.read),t):t},r.prototype.lean=function(e){return this._mongooseOptions.lean=arguments.length?!!e:!0,this},r.prototype._find=function(e){if(this._castError)return e(this._castError),this;this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._fieldsForExec(),n=this._mongooseOptions,o=this,a=function(r,a){if(r)return e(r);if(0===a.length)return e(null,a);if(!n.populate)return n.lean===!0?e(null,a):i(o.model,a,t,o,null,e);var s=v.preparePopulationOptionsMQ(o,n);s.__noPromise=!0,o.model.populate(a,s,function(r,a){return r?e(r):n.lean===!0?e(null,a):i(o.model,a,t,o,s,e)})};return r.base.find.call(this,{},a)},r.prototype.find=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=m.toObject(e),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(n){this._castError=n}return t?(this._find(t),this):r.base.find.call(this)},r.prototype._findOne=function(e){if(this._castError)return e(this._castError);this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._mongooseOptions,n=this._fieldsForExec(),i=this;r.base.findOne.call(i,{},function(r,a){if(r)return e(r);if(!a)return e(null,null);if(!t.populate)return t.lean===!0?e(null,a):o(i.model,a,null,n,i,null,e);var s=v.preparePopulationOptionsMQ(i,t);s.__noPromise=!0,i.model.populate(a,s,function(r,a){return r?e(r):t.lean===!0?e(null,a):o(i.model,a,null,n,i,s,e)})})},r.prototype.findOne=function(e,t,n,i){\"function\"==typeof e?(i=e,e=null,t=null,n=null):\"function\"==typeof t?(i=t,n=null,t=null):\"function\"==typeof n&&(i=n,n=null),e=m.toObject(e),this.op=\"findOne\",n&&this.setOptions(n),t&&this.select(t),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(o){this._castError=o}return i?(this._findOne(i),this):r.base.findOne.call(this)},r.prototype._count=function(e){try{this.cast(this.model)}catch(t){return process.nextTick(function(){e(t)}),this}var n=this._conditions,r=this._optionsForExec();this._collection.count(n,r,m.tick(e))},r.prototype.count=function(e,t){return\"function\"==typeof e&&(t=e,e=void 0),p.canMerge(e)&&this.merge(e),this.op=\"count\",t?(this._count(t),this):this},r.prototype.distinct=function(e,t,n){n||(\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0,t=void 0)),t=m.toObject(t),p.canMerge(t)&&this.merge(t);try{this.cast(this.model)}catch(i){if(!n)throw i;return n(i),this}return r.base.distinct.call(this,{},e,n)},r.prototype.sort=function(e){var t={};if(arguments.length>1)throw new Error(\"sort() only takes 1 Argument\");if(Array.isArray(e))for(var n=0;n<e.length;n++){if(!Array.isArray(e[n]))throw new Error(\"Invalid sort() argument.\");t[e[n][0]]=e[n][1]}else t=e;return r.base.sort.call(this,t)},r.prototype.remove=function(e,t){\"function\"==typeof e&&(t=e,e=null);var n=\"function\"==typeof t;try{this.cast(this.model)}catch(i){return n?process.nextTick(t.bind(null,i)):this}return r.base.remove.call(this,e,t)},r.prototype.findOneAndUpdate=function(e,t,n,r){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(r=n,n={});break;case 2:\"function\"==typeof t&&(r=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(r=e,e=n=t=void 0):(t=e,e=n=void 0)}return p.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),r?this._findOneAndUpdate(r):this},r.prototype._findOneAndUpdate=function(e){return this._findAndModify(\"update\",e),this},r.prototype.findOneAndRemove=function(e,t,n){switch(this.op=\"findOneAndRemove\",this._validate(),arguments.length){case 2:\"function\"==typeof t&&(n=t,t={});break;case 1:\"function\"==typeof e&&(n=e,e=void 0,t=void 0)}return p.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?(this._findOneAndRemove(n),this):this},r.prototype._findOneAndRemove=function(e){r.base.findOneAndRemove.call(this,e)},r.prototype._findAndModify=function(e,t){if(\"function\"!=typeof t)throw new Error(\"Expected callback in _findAndModify\");var n,r,i,a,p,l=this.model,f=l.schema,d=this;if(n=c(this),n instanceof Error)return t(n);if(a=this._optionsForExec(l),\"strict\"in a&&(this._mongooseOptions.strict=a.strict),\"remove\"===e)a.remove=!0;else{if(\"new\"in a||(a[\"new\"]=!1),\"upsert\"in a||(a.upsert=!1),(a.upsert||a[\"new\"])&&(a.remove=!1),r=u(this,a.overwrite)){if(r instanceof Error)return t(r);r.$set&&0===Object.keys(r.$set).length&&delete r.$set}else{if(!a.upsert)return this.findOne(t);var g=m.clone(n);delete g._id,r={$set:g}}p=h(this,f,r,a)}this._applyPaths();var y=this._mongooseOptions;if(this._fields&&(i=m.clone(this._fields),a.fields=this._castFields(i),a.fields instanceof Error))return t(a.fields);a.sort&&s(a);var b=function(e,n,r){if(e)return t(e);if(!n||m.isObject(n)&&0===Object.keys(n).length)return a.passRawResult?t(null,null,r):t(null,null);if(a.passRawResult||(r=null),!y.populate)return y.lean===!0?t(null,n):o(d.model,n,r,i,d,null,t);var s=v.preparePopulationOptionsMQ(d,y);s.__noPromise=!0,d.model.populate(n,s,function(e,n){return e?t(e):y.lean===!0?t(null,n):o(d.model,n,r,i,d,s,t)})};if((a.runValidators||a.setDefaultsOnInsert)&&p){var x=function(e){return e?t(e):void d._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}))};try{p(x)}catch(w){t(w)}}else this._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}));return this},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&m.mergeClone(this._update,e._update):m.mergeClone(this._update,e)},r.prototype._execUpdate=function(e){var t,n,i=this.model.schema,o=this._conditions,a=this._update,s=this.options;if(this._castError)return e(this._castError),this;if(this.options.runValidators||this.options.setDefaultsOnInsert){n=this,t=h(this,i,a,s);var c=function(t){return t?e(t):void r.base.update.call(n,o,a,s,e)};try{t(c)}catch(u){process.nextTick(function(){e(u)})}return this}return r.base.update.call(this,o,a,s,e),this},r.prototype.update=function(e,t,n,i){\"function\"==typeof n?(i=n,n=null):\"function\"==typeof t?(i=t,t=e,e={},n=null):\"function\"==typeof e?(i=e,e=void 0,t=void 0,n=void 0):\"object\"!=typeof e||t||n||i||(t=e,e=void 0,n=void 0,i=void 0),e=m.toObject(e);var o=i;if(o){if(\"function\"!=typeof o)throw new Error(\"Invalid callback() argument.\");i=function(e,t){o(e,t?t.result:{ok:0,n:0,nModified:0})}}n&&\"strict\"in n&&(this._mongooseOptions.strict=n.strict),!t&&this._update&&(t=this._updateForExec()),p.canMerge(e)&&this.merge(e);var a=c(this);if(a instanceof Error){if(this._castError=a,i)return i(a),this;if(!n||!n.dontThrowCastError)throw a}var s;try{var u={retainKeyOrder:!0};n&&n.minimize&&(u.minimize=!0),s=this._castUpdate(m.clone(t,u),n&&n.overwrite)}catch(l){if(this._castError=a,i)return i(l),this;if(!n||!n.dontThrowCastError)throw l}return s?(m.isObject(n)&&this.setOptions(n),this._update||(this._update=s),i?this._execUpdate(i):r.base.update.call(this,a,s,n,i)):(this.op=\"update\",i&&i(null),this)},r.prototype.exec=function(e,t){var n=d.get(),r=this;return\"function\"==typeof e?(t=e,e=null):\"string\"==typeof e&&(this.op=e),new n.ES6(function(e,n){return r.op?void r[r.op].call(r,function(r,i){return r?(t&&t(r),void n(r)):(t&&t.apply(null,arguments),void e(i))}):(t&&t(null,void 0),void e())})},r.prototype.then=function(e,t){return this.exec().then(e,t)},r.prototype._getSchema=function(e){return this.model._getSchema(e)};var x={$push:1,$pushAll:1,$addToSet:1,$set:1},w={$pop:1,$unset:1,$inc:1};r.prototype._castUpdate=function(e,t){if(e){for(var n,r,i=Object.keys(e),o=i.length,a={},s=!1;o--;){var c=i[o];\"$\"===c[0]||t?\"$set\"===c?a.$set||(a[c]=e[c]):a[c]=e[c]:(a.$set||(e.$set?a.$set=e.$set:a.$set={}),a.$set[c]=e[c],i.splice(o,1),~i.indexOf(\"$set\")||i.push(\"$set\"))}for(o=i.length,t&&(n=!0);o--;)if(c=i[o],r=a[c],s=s||\"$\"===c.charAt(0),!r||\"Object\"!==r.constructor.name||t&&!s){if(!t||\"Object\"!==a.constructor.name){var u=\"Invalid atomic update value for \"+c+\". Expected an object, received \"+typeof r;throw new Error(u)}this._walkUpdatePath(a,\"$set\")}else n|=this._walkUpdatePath(r,c);return n&&a}},r.prototype._walkUpdatePath=function(e,t,n){for(var r,i,o,a=n?n+\".\":\"\",s=Object.keys(e),c=s.length,u=!1,p=this.schema.options.useNestedStrict;c--;)if(i=s[c],o=e[i],o&&\"Object\"===o.constructor.name)if(r=this._getSchema(a+i),r&&r.caster&&t in x)u=!0,\"$each\"in o?(e[i]={$each:this._castUpdateVal(r,o.$each,t)},null!=o.$slice&&(e[i].$slice=0|o.$slice),o.$sort&&(e[i].$sort=o.$sort),(o.$position||0===o.$position)&&(e[i].$position=o.$position)):e[i]=this._castUpdateVal(r,o,t);else if(\"$currentDate\"===t)e[i]=this._castUpdateVal(r,o,t),u=!0;else if(\"$set\"===t&&r)e[i]=this._castUpdateVal(r,o,t),u=!0;else{var l=a+i,f=this.model.schema._getPathType(l),d=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&f.schema||this.schema).options.strict;if(\"undefined\"===f.pathType){if(\"throw\"===d)throw new y(l);if(d){delete e[i];continue}}u|=this._walkUpdatePath(o,t,a+i)||m.isObject(o)&&0===Object.keys(o).length}else{var h=\"$each\"===i||\"$or\"===i||\"$and\"===i?n:a+i;r=this._getSchema(h);var v=this.model.schema._getPathType(h),g=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&v.schema||this.schema).options.strict,b=g&&!r&&!/real|nested/.test(v.pathType);if(b){if(\"throw\"===g)throw new y(a+i);delete e[i]}else{if(\"$rename\"===t){u=!0;continue}u=!0,e[i]=this._castUpdateVal(r,o,t,i)}}return u},r.prototype._castUpdateVal=function(e,t,n,r){if(!e)return n in w?Number(t):t;var i=e.caster&&n in x&&(m.isObject(t)||Array.isArray(t));if(i){var o=e.cast(t);t=Array.isArray(t)?o:e.caster.$isSingleNested?o:o[0]}return n in w?Number(t):\"$currentDate\"===n?\"object\"==typeof t?{$type:t.$type}:Boolean(t):/^\\$/.test(r)?e.castForQuery(r,t):e.castForQuery(t)},r.prototype.populate=function(){var e=m.populate.apply(null,arguments),t=this._mongooseOptions;m.isObject(t.populate)||(t.populate={});for(var n=t.populate,r=0;r<e.length;++r){var i=e[r].path;n[i]&&n[i].populate&&e[r].populate&&(e[r].populate=n[i].populate.concat(e[r].populate)),n[e[r].path]=e[r]}return this},r.prototype.cast=function(e,t){return t||(t=this._conditions),b(e.schema,t)},r.prototype._castFields=function(e){var t,n,r,i,o,a;if(e)for(r=Object.keys(e),n=[],a=r.length;a--;)i=r[a],e[i].$elemMatch&&(t||(t={}),t[i]=e[i],n.push(i));if(t){try{o=this.cast(this.model,t)}catch(s){return s}for(a=n.length;a--;)i=n[a],e[i]=o[i]}return e},r.prototype._applyPaths=function(){var e,t,n,r=this._fields;if(r)for(t=Object.keys(r),n=t.length;n--;)if(\"+\"!==t[n][0]){e=0===r[t[n]];break}var i=[],o=[],a=[],s=function(n,a){if(\"boolean\"==typeof a.selected){var s=\"+\"+n;if(r&&s in r)return delete r[s],void(e===!1&&t.length>1&&!~t.indexOf(n)&&(r[n]=1));var c=n.split(\".\")[0];~o.indexOf(c)||(a.selected?i:o).push(n)}},c=function(e,t){t||(t=\"\"),~a.indexOf(e)||(a.push(e),e.eachPath(function(e,n){t&&(e=t+\".\"+e),s(e,n),n.schema&&c(n.schema,e)}))};switch(c(this.model.schema),e){case!0:o.length&&this.select(\"-\"+o.join(\" -\"));break;case!1:this.model.schema&&this.model.schema.paths._id&&this.model.schema.paths._id.options&&this.model.schema.paths._id.options.select===!1&&i.push(\"-_id\"),i.length&&this.select(i.join(\" \"));break;case void 0:o.length&&this.select(\"-\"+o.join(\" -\"))}a=o=i=t=r=null},r.prototype.stream=function(e){return this._applyPaths(),this._fields=this._castFields(this._fields),new g(this,e)},r.prototype.maxscan=r.base.maxScan,r.prototype.tailable=function(e,t){if(e&&\"Object\"===e.constructor.name&&(t=e,e=!0),void 0===e&&(e=!0),t&&\"object\"==typeof t)for(var n in t)\"awaitdata\"===n?this.options[n]=!!t[n]:this.options[n]=t[n];return r.base.tailable.call(this,e)},r.prototype.near=function(){var e=[],t=this._mongooseOptions.nearSphere;if(1===arguments.length)if(Array.isArray(arguments[0]))e.push({center:arguments[0],spherical:t});else if(\"string\"==typeof arguments[0])e.push(arguments[0]);else{if(!m.isObject(arguments[0]))throw new TypeError(\"invalid argument\");\"boolean\"!=typeof arguments[0].spherical&&(arguments[0].spherical=t),e.push(arguments[0])}else if(2===arguments.length)if(\"number\"==typeof arguments[0]&&\"number\"==typeof arguments[1])e.push({center:[arguments[0],arguments[1]],spherical:t});else if(\"string\"==typeof arguments[0]&&Array.isArray(arguments[1]))e.push(arguments[0]),e.push({center:arguments[1],spherical:t});else{if(\"string\"!=typeof arguments[0]||!m.isObject(arguments[1]))throw new TypeError(\"invalid argument\");e.push(arguments[0]),\"boolean\"!=typeof arguments[1].spherical&&(arguments[1].spherical=t),e.push(arguments[1])}else{if(3!==arguments.length)throw new TypeError(\"invalid argument\");if(\"string\"!=typeof arguments[0]||\"number\"!=typeof arguments[1]||\"number\"!=typeof arguments[2])throw new TypeError(\"invalid argument\");e.push(arguments[0]),e.push({center:[arguments[1],arguments[2]],spherical:t})}return r.base.near.apply(this,e)},r.prototype.nearSphere=function(){return this._mongooseOptions.nearSphere=!0,this.near.apply(this,arguments),this},r.prototype.box=function(e,t){return!Array.isArray(e)&&m.isObject(e)&&(t=e.ur,e=e.ll),r.base.box.call(this,e,t)},r.prototype.center=r.base.circle,r.prototype.centerSphere=function(){arguments[0]&&\"Object\"===arguments[0].constructor.name&&(arguments[0].spherical=!0),arguments[1]&&\"Object\"===arguments[1].constructor.name&&(arguments[1].spherical=!0),r.base.circle.apply(this,arguments)},t.exports=r},{\"./cast\":251,\"./drivers\":259,\"./error/strict\":267,\"./promise_provider\":275,\"./queryhelpers\":277,\"./querystream\":278,\"./services/updateValidators\":293,\"./utils\":302,mquery:312,util:void 0}],277:[function(e,t,n){function r(e){e.options||(e.options={}),e.options.lean=!0}var i=e(\"./utils\");n.preparePopulationOptions=function(e,t){var n=i.object.vals(e.options.populate);return t.lean&&n.forEach(r),n},n.preparePopulationOptionsMQ=function(e,t){var n=i.object.vals(e._mongooseOptions.populate);return t.lean&&n.forEach(r),n},n.createModel=function(e,t,n){var r=e.schema?e.schema.discriminatorMapping:null,i=r&&r.isRoot?r.key:null;return i&&t[i]&&e.discriminators&&e.discriminators[t[i]]?new e.discriminators[t[i]](void 0,n,!0):new e(void 0,n,!0)}},{\"./utils\":302}],278:[function(e,t,n){function r(e,t){a.call(this),this.query=e,this.readable=!0,this.paused=!1,this._cursor=null,this._destroyed=null,this._fields=null,this._buffer=null,this._inline=p,this._running=!1,this._transform=t&&\"function\"==typeof t.transform?t.transform:u;var n=this;process.nextTick(function(){n._init()})}function i(e,t,n){var r=c.createModel(e.query.model,n,e._fields),i=t?{populated:t}:void 0;r.init(n,i,function(t){return t?e.destroy(t):void o(e,r)})}function o(e,t){e.emit(\"data\",e._transform(t)),l===e._inline?e._next():e._inline=f}var a=e(\"stream\").Stream,s=e(\"./utils\"),c=e(\"./queryhelpers\"),u=function(e){return e};r.prototype.__proto__=a.prototype,r.prototype.readable,r.prototype.paused;var p=0,l=1,f=2;r.prototype._init=function(){if(!this._destroyed){var e=this.query,t=e.model,n=e._optionsForExec(t),r=this;try{e.cast(t)}catch(i){return r.destroy(i)}r._fields=s.clone(e._fields),n.fields=e._castFields(r._fields),t.collection.find(e._conditions,n,function(e,t){return e?r.destroy(e):(r._cursor=t,void r._next())})}},r.prototype._next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;if(this._running=!0,this._buffer&&this._buffer.length)for(var e;!this.paused&&!this._destroyed&&(e=this._buffer.shift());)this._onNextObject.apply(this,e);for(;this.__next(););},r.prototype.__next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;var e=this;return e._inline=p,e._cursor.nextObject(function(t,n){e._onNextObject(t,n)}),f===this._inline?!0:void(this._inline=l)},r.prototype._onNextObject=function(e,t){if(!this._destroyed){if(this.paused)return this._buffer||(this._buffer=[]),this._buffer.push([e,t]),this._running=!1,this._running;if(e)return this.destroy(e);if(!t)return this.emit(\"end\"),this.destroy();var n=this.query._mongooseOptions;if(!n.populate)return n.lean===!0?o(this,t):i(this,null,t);var r=this,a=c.preparePopulationOptionsMQ(r.query,r.query._mongooseOptions);a.forEach(function(e){delete e.model}),a.__noPromise=!0,r.query.model.populate(t,a,function(e,t){return e?r.destroy(e):n.lean===!0?o(r,t):i(r,a,t)})}},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){return this.paused=!1,this._cursor&&p!==this._inline?this._running?void 0:this._next():void 0},r.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,this._running=!1,this.readable=!1,this._cursor&&this._cursor.close(),e&&this.emit(\"error\",e),this.emit(\"close\"))},t.exports=n=r},{\"./queryhelpers\":277,\"./utils\":302,stream:void 0}],279:[function(e,t,n){(function(r){function i(e,t){if(!(this instanceof i))return new i(e,t);this.paths={},this.subpaths={},this.virtuals={},this.singleNestedPaths={},this.nested={},this.inherits={},this.callQueue=[],this._indexes=[],this.methods={},this.statics={},this.tree={},this._requiredpaths=void 0,this.discriminatorMapping=void 0,this._indexedpaths=void 0,this.s={hooks:new d,queryHooks:m},this.options=this.defaultOptions(t),e&&this.add(e);var n=e&&e._id&&f.isObject(e._id),r=!this.paths._id&&!this.options.noId&&this.options._id&&!n;r&&(e={_id:{auto:!0}},e._id[this.options.typeKey]=i.ObjectId,this.add(e));var a=!this.paths.id&&!this.options.noVirtualId&&this.options.id;a&&this.virtual(\"id\").get(o);for(var s=0;s<this._defaultMiddleware.length;++s){var c=this._defaultMiddleware[s];this[c.kind](c.hook,!!c.isAsync,c.fn)}this.options.timestamps&&this.setupTimestamp(this.options.timestamps)}function o(){return this.$__._id?this.$__._id:(this.$__._id=null==this._id?null:String(this._id),this.$__._id)}function a(e,t){var n=t.split(/\\.(\\d+)\\.|\\.(\\d+)$/).filter(Boolean);if(n.length<2)return e.paths[n[0]];var r=e.path(n[0]),i=!1;if(!r)return r;for(var o,a=n.length-1,s=1;s<n.length;++s){if(i=!1,o=n[s],s===a&&r&&!r.schema&&!/\\D/.test(o)){r=r instanceof c.Array?r.caster:void 0;break}if(/\\D/.test(o)){if(!r||!r.schema){r=void 0;break}var u=r.schema.pathType(o);i=\"nested\"===u,r=r.schema.path(o)}}return e.subpaths[t]=r,r?\"real\":i?\"nested\":\"adhocOrUndefined\"}function s(e,t){return a(e,t),e.subpaths[t]}var c,u=e(\"./drivers\").ReadPreference,p=e(\"events\").EventEmitter,l=e(\"./virtualtype\"),f=e(\"./utils\"),d=e(\"kareem\"),h=e(\"async\"),m={count:!0,find:!0,findOne:!0,findOneAndUpdate:!0,findOneAndRemove:!0,update:!0};i.prototype=Object.create(p.prototype),i.prototype.constructor=i,i.prototype.instanceOfSchema=!0,Object.defineProperty(i.prototype,\"_defaultMiddleware\",{configurable:!1,enumerable:!1,writable:!1,value:[{kind:\"pre\",hook:\"save\",fn:function(e,t){if(this.ownerDocument)return e();var n,r=t&&\"object\"==typeof t&&\"validateBeforeSave\"in t;n=r?!!t.validateBeforeSave:this.schema.options.validateBeforeSave,n?this.$__original_validate?this.$__original_validate({__noPromise:!0},function(t){e(t)}):this.validate({__noPromise:!0},function(t){e(t)}):e()}},{kind:\"pre\",hook:\"save\",isAsync:!0,fn:function(e,t){var n=this.$__getAllSubdocs();return!n.length||this.$__preSavingFromParent?(t(),void e()):void h.each(n,function(e,t){e.$__preSavingFromParent=!0,e.save(function(e){t(e)})},function(r){for(var i=0;i<n.length;++i)delete n[i].$__preSavingFromParent;return r?void t(r):(e(),void t())})}}]}),i.prototype.paths,i.prototype.tree,i.prototype.defaultOptions=function(e){return e&&e.safe===!1&&(e.safe={w:0}),e&&e.safe&&0===e.safe.w&&(e.versionKey=!1),e=f.options({strict:!0,bufferCommands:!0,capped:!1,versionKey:\"__v\",discriminatorKey:\"__t\",minimize:!0,autoIndex:null,shardKey:null,read:null,validateBeforeSave:!0,noId:!1,_id:!0,noVirtualId:!1,id:!0,typeKey:\"type\"},e),e.read&&(e.read=u(e.read)),e},i.prototype.add=function(e,t){t=t||\"\";for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];if(null==e[i])throw new TypeError(\"Invalid value for schema path `\"+t+i+\"`\");if(Array.isArray(e[i])&&1===e[i].length&&null==e[i][0])throw new TypeError(\"Invalid value for schema Array path `\"+t+i+\"`\");!f.isObject(e[i])||e[i].constructor&&\"Object\"!==f.getFunctionName(e[i].constructor)||e[i][this.options.typeKey]&&(\"type\"!==this.options.typeKey||!e[i].type.type)?this.path(t+i,e[i]):Object.keys(e[i]).length?(this.nested[t+i]=!0,this.add(e[i],t+i+\".\")):this.path(t+i,e[i])}},i.reserved=Object.create(null);var v=i.reserved;v.emit=v.on=v.once=v.listeners=v.removeListener=v.collection=v.db=v.errors=v.init=v.isModified=v.isNew=v.get=v.modelName=v.save=v.schema=v.set=v.toObject=v.validate=v._pres=v._posts=1;var g={};g.increment=\"`increment` should not be used as a schema path name unless you have disabled versioning.\",i.prototype.path=function(e,t){if(void 0===t)return this.paths[e]?this.paths[e]:this.subpaths[e]?this.subpaths[e]:this.singleNestedPaths[e]?this.singleNestedPaths[e]:/\\.\\d+\\.?.*$/.test(e)?s(this,e):void 0;if(v[e])throw new Error(\"`\"+e+\"` may not be used as a schema pathname\");g[e]&&console.log(\"WARN: \"+g[e]);var n=e.split(/\\./),r=n.pop(),o=this.tree;if(n.forEach(function(t,r){if(o[t]||(o[t]={}),\"object\"!=typeof o[t]){var i=\"Cannot set nested path `\"+e+\"`. Parent path `\"+n.slice(0,r).concat([t]).join(\".\")+\"` already set to type \"+o[t].name+\".\";throw new Error(i)}o=o[t]}),o[r]=f.clone(t),this.paths[e]=i.interpretAsType(e,t,this.options),this.paths[e].$isSingleNested){for(var a in this.paths[e].schema.paths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.paths[a];for(a in this.paths[e].schema.singleNestedPaths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.singleNestedPaths[a]}return this},i.interpretAsType=function(e,t,n){if(t.constructor){var o=f.getFunctionName(t.constructor);if(\"Object\"!==o){var a=t;t={},t[n.typeKey]=a}}var s=!t[n.typeKey]||\"type\"===n.typeKey&&t.type.type?{}:t[n.typeKey];if(\"Object\"===f.getFunctionName(s.constructor)||\"mixed\"===s)return new c.Mixed(e,t);if(Array.isArray(s)||Array===s||\"array\"===s){var u=Array===s||\"array\"===s?t.cast:s[0];if(u&&u.instanceOfSchema)return new c.DocumentArray(e,u,t);if(\"string\"==typeof u)u=c[u.charAt(0).toUpperCase()+u.substring(1)];else if(u&&(!u[n.typeKey]||\"type\"===n.typeKey&&u.type.type)&&\"Object\"===f.getFunctionName(u.constructor)&&Object.keys(u).length){var p={minimize:n.minimize};n.typeKey&&(p.typeKey=n.typeKey);var l=new i(u,p);return new c.DocumentArray(e,l,t)}return new c.Array(e,u||c.Mixed,t)}if(s&&s.instanceOfSchema)return new c.Embedded(s,e,t);var d;if(d=r.isBuffer(s)?\"Buffer\":\"string\"==typeof s?s:s.schemaName||f.getFunctionName(s),d&&(d=d.charAt(0).toUpperCase()+d.substring(1)),void 0==c[d])throw new TypeError(\"Undefined type `\"+d+\"` at `\"+e+\"`\\n  Did you try nesting Schemas? You can only nest using refs or arrays.\");return new c[d](e,t)},i.prototype.eachPath=function(e){for(var t=Object.keys(this.paths),n=t.length,r=0;n>r;++r)e(t[r],this.paths[t[r]]);return this},i.prototype.requiredPaths=function(e){if(this._requiredpaths&&!e)return this._requiredpaths;for(var t=Object.keys(this.paths),n=t.length,r=[];n--;){var i=t[n];this.paths[i].isRequired&&r.push(i)}return this._requiredpaths=r,this._requiredpaths},i.prototype.indexedPaths=function(){return this._indexedpaths?this._indexedpaths:(this._indexedpaths=this.indexes(),this._indexedpaths)},i.prototype.pathType=function(e){return e in this.paths?\"real\":e in this.virtuals?\"virtual\":e in this.nested?\"nested\":e in this.subpaths?\"real\":e in this.singleNestedPaths?\"real\":/\\.\\d+\\.|\\.\\d+$/.test(e)?a(this,e):\"adhocOrUndefined\"},i.prototype.hasMixedParent=function(e){var t=e.split(/\\./g);e=\"\";for(var n=0;n<t.length;++n)if(e=n>0?e+\".\"+t[n]:t[n],e in this.paths&&this.paths[e]instanceof c.Mixed)return!0;return!1},i.prototype.setupTimestamp=function(e){if(e){var t=e.createdAt||\"createdAt\",n=e.updatedAt||\"updatedAt\",r={};r[n]=Date,this.paths[t]||(r[t]=Date),\nthis.add(r),this.pre(\"save\",function(e){var r=new Date,i=this._id&&this._id.auto;this[t]||(this[t]=i?this._id.getTimestamp():r),(this.isNew||this.isModified())&&(this[n]=this.isNew?this[t]:r),e()});var i=function(){var e=new Date,r={$set:{},$setOnInsert:{}};return r.$set[n]=e,r.$setOnInsert[t]=e,r};this.pre(\"findOneAndUpdate\",function(e){this.findOneAndUpdate({},i()),e()}),this.pre(\"update\",function(e){this.update({},i()),e()})}},i.prototype.queue=function(e,t){return this.callQueue.push([e,t]),this},i.prototype.pre=function(){var e=arguments[0];return m[e]?(this.s.hooks.pre.apply(this.s.hooks,arguments),this):this.queue(\"pre\",arguments)},i.prototype.post=function(e,t){return m[e]?(this.s.hooks.post.apply(this.s.hooks,arguments),this):t.length<2?this.queue(\"on\",[arguments[0],function(e){return t.call(e,e)}]):this.queue(\"post\",[arguments[0],function(e){var n=this,r=Array.prototype.slice.call(arguments,1);t.call(this,this,function(t){return e.apply(n,[t].concat(r))})}])},i.prototype.plugin=function(e,t){return e(this,t),this},i.prototype.method=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.methods[n]=e[n];else this.methods[e]=t;return this},i.prototype[\"static\"]=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.statics[n]=e[n];else this.statics[e]=t;return this},i.prototype.index=function(e,t){return t||(t={}),t.expires&&f.expires(t),this._indexes.push([e,t]),this},i.prototype.set=function(e,t,n){if(1===arguments.length)return this.options[e];switch(e){case\"read\":this.options[e]=u(t,n);break;case\"safe\":this.options[e]=t===!1?{w:0}:t;break;case\"timestamps\":this.setupTimestamp(t),this.options[e]=t;break;default:this.options[e]=t}return this},i.prototype.get=function(e){return this.options[e]};var y=\"2d 2dsphere hashed text\".split(\" \");Object.defineProperty(i,\"indexTypes\",{get:function(){return y},set:function(){throw new Error(\"Cannot overwrite Schema.indexTypes\")}}),i.prototype.indexes=function(){\"use strict\";function e(e,n){var r,i,o,a,s,c,u=e._indexes,p=u.length,l=0;for(l=0;p>l;++l){for(r=u[l][0],a=Object.keys(r),o=a.length,i={},c=0;o>c;++c)s=a[c],i[n+s]=r[s];t.push([i,u[l][1]])}}var t=[],n={},r=function(o,a){if(!n[a]){n[a]=!0,a=a||\"\";for(var s,u,p,l,d,h,m,v=Object.keys(o.paths),g=0;g<v.length;++g)s=v[g],u=o.paths[s],u instanceof c.DocumentArray||u.$isSingleNested?r(u.schema,s+\".\"):(p=u._index,p!==!1&&null!==p&&void 0!==p&&(l={},d=f.isObject(p),h=d?p:{},m=\"string\"==typeof p?p:d?p.type:!1,m&&~i.indexTypes.indexOf(m)?l[a+s]=m:h.text?(l[a+s]=\"text\",delete h.text):l[a+s]=1,delete h.type,\"background\"in h||(h.background=!0),t.push([l,h])));a?e(o,a):(o._indexes.forEach(function(e){\"background\"in e[1]||(e[1].background=!0)}),t=t.concat(o._indexes))}};return r(this),t},i.prototype.virtual=function(e,t){var n=this.virtuals,r=e.split(\".\");return n[e]=r.reduce(function(n,i,o){return n[i]||(n[i]=o===r.length-1?new l(t,e):{}),n[i]},this.tree),n[e]},i.prototype.virtualpath=function(e){return this.virtuals[e]},i.prototype.remove=function(e){\"string\"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach(function(e){if(this.path(e)){delete this.paths[e];for(var t=e.split(\".\"),n=t.pop(),r=this.tree,i=0;i<t.length;++i)r=r[t[i]];delete r[n]}},this)},i.prototype._getSchema=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;)if(i=e.slice(0,o).join(\".\"),r=n.path(i)){if(r.caster){if(r.caster instanceof c.Mixed)return r.caster;if(o!==e.length&&r.schema)return\"$\"===e[o]?t(e.slice(o+1),r.schema):t(e.slice(o),r.schema)}return r}}var n=this,r=n.path(e);return r?r:t(e.split(\".\"),n)},i.prototype._getPathType=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;){if(i=e.slice(0,o).join(\".\"),r=n.path(i))return r.caster?r.caster instanceof c.Mixed?{schema:r,pathType:\"mixed\"}:o!==e.length&&r.schema?\"$\"===e[o]?o===e.length-1?{schema:r,pathType:\"nested\"}:t(e.slice(o+1),r.schema):t(e.slice(o),r.schema):{schema:r,pathType:r.$isSingleNested?\"nested\":\"array\"}:{schema:r,pathType:\"real\"};if(o===e.length&&n.nested[i])return{schema:n,pathType:\"nested\"}}return{schema:r||n,pathType:\"undefined\"}}var n=this,r=n.path(e);return r?\"real\":t(e.split(\".\"),n)},t.exports=n=i,i.Types=c=e(\"./schema/index\"),n.ObjectId=c.ObjectId}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./drivers\":259,\"./schema/index\":286,\"./utils\":302,\"./virtualtype\":303,async:11,events:void 0,kareem:176}],280:[function(e,t,n){function r(e,t,n){if(t){var r={};\"Object\"===b.getFunctionName(t.constructor)&&(t.type?(r=b.clone(t),delete r.type,t=t.type):t=g);var i=\"string\"==typeof t?t:b.getFunctionName(t),o=i in h?h[i]:t;this.casterConstructor=o,this.caster=new o(null,r),this.caster instanceof v||(this.caster.path=e)}f.call(this,e,n,\"Array\");var a,s,c=this;this.defaultValue&&(a=this.defaultValue,s=\"function\"==typeof a),this[\"default\"](function(){var e=s?a():a||[];return new m(e,c.path,this)})}function i(e){return h.Number.prototype.cast.call(this,e)}function o(e,t){e.forEach(function(n,r){Array.isArray(n)?o(n,t):e[r]=i.call(t,n)})}function a(e){return Array.isArray(e)?(o(e,this),e):e&&e.$geometry?s(e,this):r.prototype.castForQuery.call(this,e)}function s(e,t){switch(e.$geometry.type){case\"Polygon\":case\"LineString\":case\"Point\":o(e.$geometry.coordinates,t)}return e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e}function c(e){var t=this;if(e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e.$box||e.$polygon){var n=e.$box?\"$box\":\"$polygon\";e[n].forEach(function(e){if(!Array.isArray(e)){var t=\"Invalid $within $box argument. Expected an array, received \"+e;throw new TypeError(t)}e.forEach(function(t,n){e[n]=i.call(this,t)})})}else e.$center||e.$centerSphere?(n=e.$center?\"$center\":\"$centerSphere\",e[n].forEach(function(t,r){Array.isArray(t)?t.forEach(function(e,n){t[n]=i.call(this,e)}):e[n][r]=i.call(this,t)})):e.$geometry&&s(e,this);return e}function u(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){if(b.isObject(e)){var t={};return t[this.path]=e,y(this.casterConstructor.schema,t)[this.path]}return e},this),this.castForQuery(e)}function p(e){for(var t,n,r=Object.keys(e),i=r.length,o=0;i>o;++o)t=r[o],n=e[t],0===t.indexOf(\"$\")&&n&&(e[t]=this.castForQuery(t,n));return y(this.casterConstructor.schema,e)}function l(e){var t=e.$geometry;if(t)return s(e,this),e}var f=e(\"../schematype\"),d=f.CastError,h={Boolean:e(\"./boolean\"),Date:e(\"./date\"),Number:e(\"./number\"),String:e(\"./string\"),ObjectId:e(\"./objectid\"),Buffer:e(\"./buffer\")},m=e(\"../types\").Array,v=e(\"../types\").Embedded,g=e(\"./mixed\"),y=e(\"../cast\"),b=e(\"../utils\"),x=b.isMongooseObject;r.schemaName=\"Array\",r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return!(!e||!e.length)},r.prototype.applyGetters=function(e,t){return this.caster.options&&this.caster.options.ref?e:f.prototype.applyGetters.call(this,e,t)},r.prototype.cast=function(e,t,n){if(Array.isArray(e)){if(!e.length&&t)for(var r=t.schema.indexedPaths(),i=0,o=r.length;o>i;++i){var a=r[i][0][this.path];if(\"2dsphere\"===a||\"2d\"===a)return}if(e&&e.isMongooseArray||(e=new m(e,this.path,t)),this.caster)try{for(i=0,o=e.length;o>i;i++)e[i]=this.caster.cast(e[i],t,n)}catch(s){throw new d(s.type,e,this.path,s)}return e}return t&&n&&t.markModified(this.path),this.cast([e],t,n)},r.prototype.castForQuery=function(e,t){var n,r;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Array.\");r=n.call(this,t)}else{r=e;var i=this.casterConstructor.prototype,o=i.castForQuery||i.cast,a=this.caster;Array.isArray(r)?r=r.map(function(e){return b.isObject(e)&&e.$elemMatch?e:(o&&(e=o.call(a,e)),x(e)?e.toObject({virtuals:!1}):e)}):o&&(r=o.call(a,r))}return r&&x(r)?r.toObject({virtuals:!1}):r};var w=r.prototype.$conditionalHandlers={};w.$all=u,w.$options=String,w.$elemMatch=p,w.$geoIntersects=l,w.$or=w.$and=function(e){if(!Array.isArray(e))throw new TypeError(\"conditional $or/$and require array\");for(var t=[],n=0;n<e.length;++n)t.push(y(this.casterConstructor.schema,e[n]));return t},w.$near=w.$nearSphere=a,w.$within=w.$geoWithin=c,w.$size=w.$maxDistance=i,w.$eq=w.$gt=w.$gte=w.$in=w.$lt=w.$lte=w.$ne=w.$nin=w.$regex=r.prototype.castForQuery,t.exports=r},{\"../cast\":251,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],281:[function(e,t,n){function r(e,t){o.call(this,e,t,\"Boolean\")}var i=e(\"../utils\"),o=e(\"../schematype\");r.schemaName=\"Boolean\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return e===!0||e===!1},r.prototype.cast=function(e){return null===e?e:\"0\"===e?!1:\"true\"===e?!0:\"false\"===e?!1:!!e},r.$conditionalHandlers=i.options(o.prototype.$conditionalHandlers,{}),r.prototype.castForQuery=function(e,t){var n;return 2===arguments.length?(n=r.$conditionalHandlers[e],n?n.call(this,t):this.cast(t)):this.cast(e)},t.exports=r},{\"../schematype\":292,\"../utils\":302}],282:[function(e,t,n){(function(n){function r(e,t){u.call(this,e,t,\"Buffer\")}function i(e){return this.castForQuery(e)}var o,a=e(\"./operators/bitwise\"),s=e(\"../utils\"),c=e(\"../types\").Buffer,u=e(\"../schematype\"),p=c.Binary,l=u.CastError;r.schemaName=\"Buffer\",r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return u._isRef(this,e,t,!0)?!!e:!(!e||!e.length)},r.prototype.cast=function(t,r,i){var a;if(u._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(o||(o=e(\"./../document\")),t instanceof o)return t.$__.wasPopulated=!0,t;if(n.isBuffer(t))return t;if(!s.isObject(t))throw new l(\"buffer\",t,this.path);var f=r.$__fullPath(this.path),d=r.ownerDocument?r.ownerDocument():r,h=d.populated(f,!0);return a=new h.options.model(t),a.$__.wasPopulated=!0,a}if(t&&t._id&&(t=t._id),t&&t.isMongooseBuffer)return t;if(n.isBuffer(t))return t&&t.isMongooseBuffer||(t=new c(t,[this.path,r])),t;if(t instanceof p){if(a=new c(t.value(!0),[this.path,r]),\"number\"!=typeof t.sub_type)throw new l(\"buffer\",t,this.path);return a._subtype=t.sub_type,a}if(null===t)return t;var m=typeof t;if(\"string\"===m||\"number\"===m||Array.isArray(t))return\"number\"===m&&(t=[t]),a=new c(t,[this.path,r]);throw new l(\"buffer\",t,this.path)},r.prototype.$conditionalHandlers=s.options(u.prototype.$conditionalHandlers,{$bitsAllClear:a,$bitsAnyClear:a,$bitsAllSet:a,$bitsAnySet:a,$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Buffer.\");return n.call(this,t)}return t=e,this.cast(t).toObject()},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],283:[function(e,t,n){function r(e,t){s.call(this,e,t,\"Date\")}function i(e){return this.cast(e)}var o=e(\"../error\").messages,a=e(\"../utils\"),s=e(\"../schematype\"),c=s.CastError;r.schemaName=\"Date\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.expires=function(e){return this._index&&\"Object\"===this._index.constructor.name||(this._index={}),this._index.expires=e,a.expires(this._index),this},r.prototype.checkRequired=function(e){return e instanceof Date},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),e){var n=t||o.Date.min;n=n.replace(/{MIN}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.minValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()>=n.valueOf()},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),e){var n=t||o.Date.max;n=n.replace(/{MAX}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.maxValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()<=n.valueOf()},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(e){if(null===e||void 0===e||\"\"===e)return null;if(e instanceof Date)return e;var t;if(\"boolean\"==typeof e)throw new c(\"date\",e,this.path);if(e instanceof Number||\"number\"==typeof e||String(e)==Number(e)?t=new Date(Number(e)):e.valueOf&&(t=new Date(e.valueOf())),!isNaN(t.valueOf()))return t;throw new c(\"date\",e,this.path)},r.prototype.$conditionalHandlers=a.options(s.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2!==arguments.length)return this.cast(e);if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Date.\");return n.call(this,t)},t.exports=r},{\"../error\":260,\"../schematype\":292,\"../utils\":302}],284:[function(e,t,n){function r(e,t,n){function r(){u.apply(this,arguments)}r.prototype=Object.create(u.prototype),r.prototype.$__setSchema(t),r.schema=t;for(var i in t.methods)r.prototype[i]=t.methods[i];for(i in t.statics)r[i]=t.statics[i];r.options=n,o.call(this,e,r,n),this.schema=t;var a=this.path,c=this.defaultValue;this[\"default\"](function(){var e=c.call(this);return Array.isArray(e)||(e=[e]),new s(e,a,this)})}function i(e,t,n){if(n&&t){for(var r,i,o=e.path+\".\",a=Object.keys(t),s=a.length,c={};s--;)i=a[s],0===i.indexOf(o)&&(r||(r=!0),c[i.substring(o.length)]=t[i]);return r&&c||void 0}}var o=e(\"./array\"),a=e(\"../error/cast\"),s=e(\"../types/documentarray\"),c=e(\"../schematype\"),u=e(\"../types/embedded\");r.schemaName=\"DocumentArray\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.doValidate=function(e,t,n,r){c.prototype.doValidate.call(this,e,function(n){function i(e){e&&(o=e),--a||t(o)}if(n)return t(n);var o,a=e&&e.length;if(!a)return t();if(r&&r.updateValidator)return t();for(var s=0,c=a;c>s;++s){var u=e[s];u?u.$__original_validate?u.$__original_validate({__noPromise:!0},i):u.validate({__noPromise:!0},i):--a||t(o)}},n)},r.prototype.doValidateSync=function(e,t){var n=c.prototype.doValidateSync.call(this,e,t);if(n)return n;var r=e&&e.length,i=null;if(r){for(var o=0,a=r;a>o&&!i;++o){var s=e[o];if(s){var u=s.validateSync();u&&(i=u)}}return i}},r.prototype.cast=function(e,t,n,r,o){var c,p,l;if(!Array.isArray(e))return t&&n&&t.markModified(this.path),this.cast([e],t,n,r);if(!(e&&e.isMongooseDocumentArray||o&&o.skipDocumentArrayCast)&&(e=new s(e,this.path,t),r&&r._handlers))for(var f in r._handlers)t.removeListener(f,r._handlers[f]);for(l=e.length;l--;)if(e[l]&&(e[l]instanceof u&&e[l].schema!==this.casterConstructor.schema&&(e[l]=e[l].toObject({virtuals:!1})),!(e[l]instanceof u)&&e[l]))if(n)c||(c=i(this,t.$__.selected,n)),p=new this.casterConstructor(null,e,!0,c,l),e[l]=p.init(e[l]);else{try{p=r.id(e[l]._id)}catch(d){}if(r&&p)p.set(e[l]),e[l]=p;else try{p=new this.casterConstructor(e[l],e,void 0,void 0,l),e[l]=p}catch(h){throw new a(\"embedded\",e[l],e._path,h)}}return e},t.exports=r},{\"../error/cast\":261,\"../schematype\":292,\"../types/documentarray\":297,\"../types/embedded\":298,\"./array\":280}],285:[function(e,t,n){function r(e,t,n){var r=function(e,t,n){var r=this;o.apply(this,arguments),this.$parent=n,n&&n.on(\"save\",function(){r.emit(\"save\",r)})};r.prototype=Object.create(o.prototype),r.prototype.$__setSchema(e),r.schema=e,r.$isSingleNested=!0,r.prototype.$basePath=t;for(var a in e.methods)r.prototype[a]=e.methods[a];for(a in e.statics)r[a]=e.statics[a];this.caster=r,this.schema=e,this.$isSingleNested=!0,i.call(this,t,n,\"Embedded\")}var i=e(\"../schematype\"),o=e(\"../types/subdocument\");t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.cast=function(e,t,n){if(e&&e.$isSingleNested)return e;var r=new this.caster(void 0,t?t.$__.selected:void 0,t);return n?r.init(e):r.set(e,void 0,!0),r},r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,new this.caster(t).toObject({virtuals:!1})},r.prototype.doValidate=function(e,t){i.prototype.doValidate.call(this,e,function(n){return n?t(n):e?void e.validate(t,{__noPromise:!0}):t(null)})},r.prototype.doValidateSync=function(e){var t=i.prototype.doValidateSync.call(this,e);if(t)return t;if(e)return e.validateSync()}},{\"../schematype\":292,\"../types/subdocument\":301}],286:[function(e,t,n){n.String=e(\"./string\"),n.Number=e(\"./number\"),n.Boolean=e(\"./boolean\"),n.DocumentArray=e(\"./documentarray\"),n.Embedded=e(\"./embedded\"),n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Date=e(\"./date\"),n.ObjectId=e(\"./objectid\"),n.Mixed=e(\"./mixed\"),n.Oid=n.ObjectId,n.Object=n.Mixed,n.Bool=n.Boolean},{\"./array\":280,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./documentarray\":284,\"./embedded\":285,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],287:[function(e,t,n){function r(e,t){if(t&&t[\"default\"]){var n=t[\"default\"];Array.isArray(n)&&0===n.length?t[\"default\"]=Array:!t.shared&&o.isObject(n)&&0===Object.keys(n).length&&(t[\"default\"]=function(){return{}})}i.call(this,e,t,\"Mixed\")}var i=e(\"../schematype\"),o=e(\"../utils\");r.schemaName=\"Mixed\",r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.cast=function(e){return e},r.prototype.castForQuery=function(e,t){return 2===arguments.length?t:e},t.exports=r},{\"../schematype\":292,\"../utils\":302}],288:[function(e,t,n){(function(n){function r(e,t){s.call(this,e,t,\"Number\")}function i(e){return this.cast(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.cast(e)}):[this.cast(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"./operators/bitwise\"),p=e(\"../error\").messages,l=e(\"../utils\");r.schemaName=\"Number\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:\"number\"==typeof e||e instanceof Number},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.min;n=n.replace(/{MIN}/,e),this.validators.push({validator:this.minValidator=function(t){return null==t||t>=e},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.max;n=n.replace(/{MAX}/,e),this.validators.push({validator:this.maxValidator=function(t){return null==t||e>=t},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"number\"==typeof t)return t;if(n.isBuffer(t)||!l.isObject(t))throw new c(\"number\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,p=u.populated(o,!0),f=new p.options.model(t);return f.$__.wasPopulated=!0,f}var d=t&&t._id?t._id:t;if(!isNaN(d)){if(null===d)return d;if(\"\"===d)return null;if(\"string\"!=typeof d&&\"boolean\"!=typeof d||(d=Number(d)),d instanceof Number)return d;if(\"number\"==typeof d)return d;if(d.toString&&!Array.isArray(d)&&d.toString()==Number(d))return new Number(d)}throw new c(\"number\",t,this.path)},r.prototype.$conditionalHandlers=l.options(s.prototype.$conditionalHandlers,{$bitsAllClear:u,$bitsAnyClear:u,$bitsAllSet:u,$bitsAnySet:u,$gt:i,$gte:i,$lt:i,$lte:i,$mod:o}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Number.\");return n.call(this,t)}return t=this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],289:[function(e,t,n){(function(n){function r(e,t){c.call(this,e,t,\"ObjectID\")}function i(e){return this.cast(e)}function o(){return new p}function a(e){return this.$__._id=null,e}var s,c=e(\"../schematype\"),u=c.CastError,p=e(\"../types/objectid\"),l=e(\"../utils\");r.schemaName=\"ObjectId\",r.prototype=Object.create(c.prototype),r.prototype.constructor=r,r.prototype.auto=function(e){return e&&(this[\"default\"](o),this.set(a)),this},r.prototype.checkRequired=function(e,t){return c._isRef(this,e,t,!0)?!!e:e instanceof p},r.prototype.cast=function(t,r,i){if(c._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(s||(s=e(\"./../document\")),t instanceof s)return t.$__.wasPopulated=!0,t;if(t instanceof p)return t;if(n.isBuffer(t)||!l.isObject(t))throw new u(\"ObjectId\",t,this.path);var o=r.$__fullPath(this.path),a=r.ownerDocument?r.ownerDocument():r,f=a.populated(o,!0),d=t;return r.$__.populated&&r.$__.populated[o]&&r.$__.populated[o].options&&r.$__.populated[o].options.options&&r.$__.populated[o].options.options.lean||(d=new f.options.model(t),d.$__.wasPopulated=!0),d}if(null===t||void 0===t)return t;if(t instanceof p)return t;if(t._id){if(t._id instanceof p)return t._id;if(t._id.toString instanceof Function)try{return p.createFromHexString(t._id.toString())}catch(h){}}if(t.toString instanceof Function)try{return p.createFromHexString(t.toString())}catch(m){throw new u(\"ObjectId\",t,this.path)}throw new u(\"ObjectId\",t,this.path)},r.prototype.$conditionalHandlers=l.options(c.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with ObjectId.\");return n.call(this,t)}return this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types/objectid\":300,\"../utils\":302,\"./../document\":253}],290:[function(e,t,n){(function(n){function r(e){var t=this;return Array.isArray(e)?e.map(function(e){return i(t.path,e)}):n.isBuffer(e)?e:i(t.path,e)}function i(e,t){var n=Number(t);if(isNaN(n))throw new o(\"number\",t,e);return n}var o=e(\"../../error/cast\");t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../../error/cast\":261}],291:[function(e,t,n){(function(n){function r(e,t){this.enumValues=[],this.regExp=null,s.call(this,e,t,\"String\")}function i(e){return this.castForQuery(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"../error\").messages,p=e(\"../utils\");r.schemaName=\"String\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype[\"enum\"]=function(){if(this.enumValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.enumValidator},this),this.enumValidator=!1),void 0===arguments[0]||arguments[0]===!1)return this;var e,t;p.isObject(arguments[0])?(e=arguments[0].values,t=arguments[0].message):(e=arguments,t=u.String[\"enum\"]);for(var n=0;n<e.length;n++)void 0!==e[n]&&this.enumValues.push(this.cast(e[n]));var r=this.enumValues;return this.enumValidator=function(e){return void 0===e||~r.indexOf(e)},this.validators.push({validator:this.enumValidator,message:t,type:\"enum\",enumValues:r}),this},r.prototype.lowercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toLowerCase():e})},r.prototype.uppercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toUpperCase():e})},r.prototype.trim=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.trim():e})},r.prototype.minlength=function(e,t){if(this.minlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.minlength;n=n.replace(/{MINLENGTH}/,e),this.validators.push({validator:this.minlengthValidator=function(t){return null===t||t.length>=e},message:n,type:\"minlength\",minlength:e})}return this},r.prototype.maxlength=function(e,t){if(this.maxlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.maxlength;n=n.replace(/{MAXLENGTH}/,e),this.validators.push({validator:this.maxlengthValidator=function(t){return null===t||t.length<=e},message:n,type:\"maxlength\",maxlength:e})}return this},r.prototype.match=function(e,t){var n=t||u.String.match,r=function(t){if(!e)return!1;var n=null!=t&&\"\"!==t?e.test(t):!0;return n};return this.validators.push({validator:r,message:n,type:\"regexp\",regexp:e}),this},r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:(e instanceof String||\"string\"==typeof e)&&e.length},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"string\"==typeof t)return t;if(n.isBuffer(t)||!p.isObject(t))throw new c(\"string\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,l=u.populated(o,!0),f=new l.options.model(t);return f.$__.wasPopulated=!0,f}if(null===t||void 0===t)return t;if(\"undefined\"!=typeof t){if(t._id&&\"string\"==typeof t._id)return t._id;if(t.toString&&t.toString!==Object.prototype.toString)return t.toString()}throw new c(\"string\",t,this.path)},r.prototype.$conditionalHandlers=p.options(s.prototype.$conditionalHandlers,{$all:o,$gt:i,$gte:i,$lt:i,$lte:i,$options:i,$regex:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with String.\");return n.call(this,t)}return t=e,\"[object RegExp]\"===Object.prototype.toString.call(t)?t:this.cast(t)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253}],292:[function(e,t,n){(function(r){function i(e,t,n){this.path=e,this.instance=n,this.validators=[],this.setters=[],this.getters=[],this.options=t,this._index=null,this.selected;for(var r in t)if(this[r]&&\"function\"==typeof this[r]){if(\"index\"===r&&this._index)continue;var i=Array.isArray(t[r])?t[r]:[t[r]];this[r].apply(this,i)}}function o(e){return this.castForQuery(e)}function a(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var s=e(\"./utils\"),c=e(\"./error\"),u=c.messages,p=c.CastError,l=c.ValidatorError;i.prototype[\"default\"]=function(e){return 1===arguments.length?(this.defaultValue=\"function\"==typeof e?e:this.cast(e),this):(arguments.length>1&&(this.defaultValue=s.args(arguments)),this.defaultValue)},i.prototype.index=function(e){return this._index=e,s.expires(this._index),this},i.prototype.unique=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.unique=e,this},i.prototype.text=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.text=e,this},i.prototype.sparse=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.sparse=e,this},i.prototype.set=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A setter must be a function.\");return this.setters.push(e),this},i.prototype.get=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A getter must be a function.\");return this.getters.push(e),this},i.prototype.validate=function(e,t,n){if(\"function\"==typeof e||e&&\"RegExp\"===s.getFunctionName(e.constructor)){var r;return t instanceof Object&&!n?(r=s.clone(t),r.message||(r.message=r.msg),r.validator=e,r.type=r.type||\"user defined\"):(t||(t=u.general[\"default\"]),n||(n=\"user defined\"),r={message:t,type:n,validator:e}),this.validators.push(r),this}var i,o,a;for(i=0,o=arguments.length;o>i;i++){if(a=arguments[i],!a||\"Object\"!==s.getFunctionName(a.constructor)){var c=\"Invalid validator. Received (\"+typeof a+\") \"+a+\". See http://mongoosejs.com/docs/api.html#schematype_SchemaType-validate\";throw new Error(c)}this.validate(a.validator,a)}return this},i.prototype.required=function(e,t){if(e===!1)return this.validators=this.validators.filter(function(e){return e.validator!==this.requiredValidator},this),this.isRequired=!1,this;var n=this;this.isRequired=!0,this.requiredValidator=function(t){return\"isSelected\"in this&&!this.isSelected(n.path)&&!this.isModified(n.path)?!0:\"function\"==typeof e&&!e.apply(this)||n.checkRequired(t,this)},\"string\"==typeof e&&(t=e,e=void 0);var r=t||u.general.required;return this.validators.unshift({validator:this.requiredValidator,message:r,type:\"required\"}),this},i.prototype.getDefault=function(e,t){var n=\"function\"==typeof this.defaultValue?this.defaultValue.call(e):this.defaultValue;return null!==n&&void 0!==n?this.cast(n,e,t):n},i.prototype.applySetters=function(e,t,n,r,i){for(var o=e,a=this.setters,s=a.length,c=this.caster;s--;)o=a[s].call(t,o,this);if(Array.isArray(o)&&c&&c.setters){for(var u=[],p=0;p<o.length;p++)u.push(c.applySetters(o[p],t,n,r));o=u}return null===o||void 0===o?o:o=this.cast(o,t,n,r,i)},i.prototype.applyGetters=function(e,t){var n=e,r=this.getters,i=r.length;if(!i)return n;for(;i--;)n=r[i].call(t,n,this);return n},i.prototype.select=function(e){return this.selected=!!e,this},i.prototype.doValidate=function(e,t,n){var r=!1,i=this.path,o=this.validators.length;if(!o)return t(null);var a=function(e,n){r||(void 0===e||e?--o||t(null):(r=new l(n),t(r)))},c=this;this.validators.forEach(function(t){if(!r){var o=t.validator,u=s.clone(t);if(u.path=i,u.value=e,o instanceof RegExp)a(o.test(e),u);else if(\"function\"==typeof o){if(void 0===e&&!c.isRequired)return void a(!0,u);2===o.length?o.call(n,e,function(e,t){t&&(u.message=t),a(e,u)}):a(o.call(n,e),u)}}})},i.prototype.doValidateSync=function(e,t){var n=null,r=this.path,i=this.validators.length;if(!i)return null;var o=function(e,t){n||void 0===e||e||(n=new l(t))},a=this;return void 0!==e||a.isRequired?(this.validators.forEach(function(i){if(!n){var a=i.validator,c=s.clone(i);c.path=r,c.value=e,a instanceof RegExp?o(a.test(e),c):\"function\"==typeof a&&2!==a.length&&o(a.call(t,e),c)}}),n):null},i._isRef=function(e,t,n,i){var o=i&&e.options&&e.options.ref;if(!o&&n&&n.$__fullPath){var a=n.$__fullPath(e.path),c=n.ownerDocument?n.ownerDocument():n;o=c.populated(a)}if(o){if(null==t)return!0;if(!r.isBuffer(t)&&\"Binary\"!==t._bsontype&&s.isObject(t))return!0}return!1},i.prototype.$conditionalHandlers={$all:a,$eq:o,$in:a,$ne:o,$nin:a},i.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,this.cast(t)},i.prototype.checkRequired=function(e){return null!=e},t.exports=n=i,n.CastError=p,n.ValidatorError=l}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./utils\":302}],293:[function(e,t,n){(function(n){function r(e,t,n){var i=Object.keys(e),a=i.length;n=n||{},t=t?t+\".\":\"\";for(var s=0;a>s;++s){var c=i[s],u=e[c];n[t+c]=!0,o(u)&&r(u,t+c,n)}return n}function i(e,t){var n=Object.keys(e),r=n.length,a={};t=t?t+\".\":\"\";for(var s=0;r>s;++s){var c=n[s],u=e[c];if(o(u)){var p=i(u,t+c);for(var l in p)a[l]=p[l];Array.isArray(u)&&(a[t+c]=u)}else a[t+c]=u}return a}function o(e){return e&&\"object\"==typeof e&&!(e instanceof Date)&&!(e instanceof c)&&(!Array.isArray(e)||e.length>0)&&!(e instanceof n);\n}var a=e(\"async\"),s=e(\"../error/validation.js\"),c=e(\"../types/objectid\");t.exports=function(e,t,n,o){function c(n){var r=t._getSchema(E[n]);r&&A.push(function(t){r.doValidate(l[E[n]],function(e){e&&(e.path=E[n],C.push(e)),t(null)},o&&\"query\"===o.context?e:null,{updateValidator:!0})})}for(var u=Object.keys(n||{}),p={},l={},f=u.length,d=!1,h={},m=0;f>m;++m)if(\"$\"===u[m].charAt(0)){r(n[u[m]],\"\",h);for(var v=i(n[u[m]]),g=Object.keys(v),y=g.length,b=0;y>b;++b){var x=g[b].replace(\".$.\",\".0.\");x=x.replace(/\\.\\$$/,\".0\"),\"$set\"===u[m]||\"$setOnInsert\"===u[m]?l[x]=v[g[b]]:\"$unset\"===u[m]&&(l[x]=void 0),p[x]=!0}d=!0}if(d||(r(n,\"\",h),l=i(n),p=Object.keys(l)),o&&o.upsert){for(g=Object.keys(e._conditions),y=u.length,m=0;y>m;++m){var w=g[m],_=e._conditions[w];if(_&&\"object\"==typeof _){var k=Object.keys(_),j=k.length,S=!1;for(b=0;j>b;++b)if(\"$\"===k[b].charAt(0)){S=!0;break}if(S)continue}p[w]=!0,h[w]=!0}o.setDefaultsOnInsert&&t.eachPath(function(e,t){if(\"_id\"!==e)if(t.$isSingleNested)t.schema.eachPath(function(t,r){if(\"_id\"!==e){var i=r.getDefault(null,!0);h[e+\".\"+t]||\"undefined\"==typeof i||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e+\".\"+t]=i,l[e+\".\"+t]=i)}});else{var r=t.getDefault(null,!0);h[e]||\"undefined\"==typeof r||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e]=r,l[e]=r)}})}var E=Object.keys(l),O=E.length,A=[],C=[];for(m=0;O>m;++m)c(m);return function(e){a.parallel(A,function(){if(C.length){for(var t=new s(null),n=0;n<C.length;++n)t.errors[C[n].path]=C[n];return e(t)}e(null)})}}}).call(this,e(\"buffer\").Buffer)},{\"../error/validation.js\":268,\"../types/objectid\":300,async:11,buffer:void 0}],294:[function(e,t,n){var r=e(\"./utils\"),i=t.exports=n=function(){};i.ctor=function(){var e=r.args(arguments),t=function(){i.apply(this,arguments),this.paths={},this.states={},this.stateNames=e;for(var t,n=e.length;n--;)t=e[n],this.states[t]={}};return t.prototype=new i,e.forEach(function(e){t.prototype[e]=function(t){this._changeState(t,e)}}),t},i.prototype._changeState=function(e,t){var n=this.states[this.paths[e]];n&&delete n[e],this.paths[e]=t,this.states[t][e]=!0},i.prototype.clear=function(e){for(var t,n=Object.keys(this.states[e]),r=n.length;r--;)t=n[r],delete this.states[e][t],delete this.paths[t]},i.prototype.some=function(){var e=this,t=arguments.length?arguments:this.stateNames;return Array.prototype.some.call(t,function(t){return Object.keys(e.states[t]).length})},i.prototype._iter=function(e){return function(){var t=arguments.length,n=r.args(arguments,0,t-1),i=arguments[t-1];n.length||(n=this.stateNames);var o=this,a=n.reduce(function(e,t){return e.concat(Object.keys(o.states[t]))},[]);return a[e](function(e,t,n){return i(e,t,n)})}},i.prototype.forEach=function(){return this.forEach=this._iter(\"forEach\"),this.forEach.apply(this,arguments)},i.prototype.map=function(){return this.map=this._iter(\"map\"),this.map.apply(this,arguments)}},{\"./utils\":302}],295:[function(e,t,n){(function(r){function i(e,t,n){for(var r=[].concat(e),o={isMongooseArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0},s={},c=Object.keys(i.mixin),u=0;u<c.length;++u)s[c[u]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[c[u]]};for(var p=Object.keys(o),l=0;l<p.length;++l)s[p[l]]={enumerable:!1,configurable:!0,writable:!0,value:o[p[l]]};return Object.defineProperties(r,s),n&&n instanceof a&&(r._parent=n,r._schema=n.schema.path(t)),r}var o=e(\"./embedded\"),a=e(\"../document\"),s=e(\"./objectid\"),c=e(\"../utils\"),u=c.isMongooseObject;i.mixin={_atomics:void 0,_parent:void 0,_cast:function(e){var t,n=this._owner,i=!1;if(this._parent&&(n||(n=this._owner=this._parent.ownerDocument?this._parent.ownerDocument():this._parent),i=n.populated(this._path,!0)),i&&null!==e&&void 0!==e){t=i.options.model,(r.isBuffer(e)||e instanceof s||!c.isObject(e))&&(e={_id:e});var o=e.schema&&e.schema.discriminatorMapping&&void 0!==e.schema.discriminatorMapping.key;return o||(e=new t(e)),this._schema.caster.cast(e,this._parent,!0)}return this._schema.caster.cast(e,this._parent,!1)},_markModified:function(e,t){var n,r=this._parent;return r&&(n=this._path,arguments.length&&(n=null!=t?n+\".\"+this.indexOf(e)+\".\"+t:n+\".\"+e),r.markModified(n)),this},_registerAtomic:function(e,t){if(\"$set\"===e)return this._atomics={$set:t},this;var n=this._atomics;if(\"$pop\"===e&&!(\"$pop\"in n)){var r=this;this._parent.once(\"save\",function(){r._popped=r._shifted=null})}if(this._atomics.$set||Object.keys(n).length&&!(e in n))return this._atomics={$set:this},this;var i;if(\"$pullAll\"===e||\"$pushAll\"===e||\"$addToSet\"===e)n[e]||(n[e]=[]),n[e]=n[e].concat(t);else if(\"$pullDocs\"===e){var a=n.$pull||(n.$pull={});t[0]instanceof o?(i=a.$or||(a.$or=[]),Array.prototype.push.apply(i,t.map(function(e){return e.toObject({virtuals:!1})}))):(i=a._id||(a._id={$in:[]}),i.$in=i.$in.concat(t))}else n[e]=t;return this},$__getAtomics:function(){var e=[],t=Object.keys(this._atomics),n=t.length;if(0===n)return e[0]=[\"$set\",this.toObject({depopulate:1,transform:!1})],e;for(;n--;){var r=t[n],i=this._atomics[r];u(i)?i=i.toObject({depopulate:1,transform:!1}):Array.isArray(i)?i=this.toObject.call(i,{depopulate:1,transform:!1}):i.valueOf&&(i=i.valueOf()),\"$addToSet\"===r&&(i={$each:i}),e.push([r,i])}return e},hasAtomics:function(){return this._atomics&&\"Object\"===this._atomics.constructor.name?Object.keys(this._atomics).length:0},_mapCast:function(e,t){return this._cast(e,this.length+t)},push:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent,void 0,void 0,{skipDocumentArrayCast:!0});var t=[].push.apply(this,e);return this._registerAtomic(\"$pushAll\",e),this._markModified(),t},nonAtomicPush:function(){var e=[].map.call(arguments,this._mapCast,this),t=[].push.apply(this,e);return this._registerAtomic(\"$set\",this),this._markModified(),t},$pop:function(){return this._registerAtomic(\"$pop\",1),this._markModified(),this._popped?void 0:(this._popped=!0,[].pop.call(this))},pop:function(){var e=[].pop.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},$shift:function(){return this._registerAtomic(\"$pop\",-1),this._markModified(),this._shifted?void 0:(this._shifted=!0,[].shift.call(this))},shift:function(){var e=[].shift.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},pull:function(){for(var e,t=[].map.call(arguments,this._cast,this),n=this._parent.get(this._path),r=n.length;r--;)if(e=n[r],e instanceof a){var i=t.some(function(t){return t.equals(e)});i&&[].splice.call(n,r,1)}else~n.indexOf.call(t,e)&&[].splice.call(n,r,1);return t[0]instanceof o?this._registerAtomic(\"$pullDocs\",t.map(function(e){return e._id||e})):this._registerAtomic(\"$pullAll\",t),this._markModified(),this},splice:function(){var e,t,n;if(arguments.length){for(t=[],n=0;n<arguments.length;++n)t[n]=2>n?arguments[n]:this._cast(arguments[n],arguments[0]+(n-2));e=[].splice.apply(this,t),this._registerAtomic(\"$set\",this),this._markModified()}return e},unshift:function(){var e=[].map.call(arguments,this._cast,this);return e=this._schema.applySetters(e,this._parent),[].unshift.apply(this,e),this._registerAtomic(\"$set\",this),this._markModified(),this.length},sort:function(){var e=[].sort.apply(this,arguments);return this._registerAtomic(\"$set\",this),this._markModified(),e},addToSet:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent);var t=[],n=\"\";return e[0]instanceof o?n=\"doc\":e[0]instanceof Date&&(n=\"date\"),e.forEach(function(e){var r;switch(n){case\"doc\":r=this.some(function(t){return t.equals(e)});break;case\"date\":var i=+e;r=this.some(function(e){return+e===i});break;default:r=~this.indexOf(e)}r||([].push.call(this,e),this._registerAtomic(\"$addToSet\",e),this._markModified(),[].push.call(t,e))},this),t},set:function(e,t){var n=this._cast(t,e);return n=this._schema.caster instanceof o?n:this._schema.caster.applySetters(t,this._parent),this[e]=n,this._markModified(e),this},toObject:function(e){return e&&e.depopulate?this.map(function(t){return t instanceof a?t.toObject(e):t}):this.slice()},inspect:function(){return JSON.stringify(this)},indexOf:function(e){e instanceof s&&(e=e.toString());for(var t=0,n=this.length;n>t;++t)if(e==this[t])return t;return-1}},i.mixin.remove=i.mixin.pull,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../utils\":302,\"./embedded\":298,\"./objectid\":300}],296:[function(e,t,n){(function(n){function r(e,t,i){var a,s=arguments.length;a=0===s||null===arguments[0]||void 0===arguments[0]?0:e;var c,u,p;Array.isArray(t)?(u=t[0],p=t[1]):c=t;var l=new n(a,c,i);return o.decorate(l,r.mixin),l.isMongooseBuffer=!0,Object.defineProperties(l,{validators:{value:[]},_path:{value:u},_parent:{value:p}}),p&&\"string\"==typeof u&&Object.defineProperty(l,\"_schema\",{value:p.schema.path(u)}),l._subtype=0,l}var i=e(\"../drivers\").Binary,o=e(\"../utils\");r.mixin={_parent:void 0,_subtype:void 0,_markModified:function(){var e=this._parent;return e&&e.markModified(this._path),this},write:function(){var e=n.prototype.write.apply(this,arguments);return e>0&&this._markModified(),e},copy:function(e){var t=n.prototype.copy.apply(this,arguments);return e&&e.isMongooseBuffer&&e._markModified(),t}},\"writeUInt8 writeUInt16 writeUInt32 writeInt8 writeInt16 writeInt32 writeFloat writeDouble fill utf8Write binaryWrite asciiWrite set writeUInt16LE writeUInt16BE writeUInt32LE writeUInt32BE writeInt16LE writeInt16BE writeInt32LE writeInt32BE writeFloatLE writeFloatBE writeDoubleLE writeDoubleBE\".split(\" \").forEach(function(e){n.prototype[e]&&(r.mixin[e]=function(){var t=n.prototype[e].apply(this,arguments);return this._markModified(),t})}),r.mixin.toObject=function(e){var t=\"number\"==typeof e?e:this._subtype||0;return new i(this,t)},r.mixin.equals=function(e){if(!n.isBuffer(e))return!1;if(this.length!==e.length)return!1;for(var t=0;t<this.length;++t)if(this[t]!==e[t])return!1;return!0},r.mixin.subtype=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid subtype. Expected a number\");this._subtype!==e&&this._markModified(),this._subtype=e},r.Binary=i,t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"../drivers\":259,\"../utils\":302,buffer:void 0}],297:[function(e,t,n){(function(n){function r(e,t,n){for(var o=[].concat(e),a={isMongooseArray:!0,isMongooseDocumentArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0,_handlers:void 0},s={},u=Object.keys(i.mixin),p=0;p<u.length;++p)s[u[p]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[u[p]]};for(var l=Object.keys(r.mixin),f=0;f<l.length;++f)s[l[f]]={enumerable:!1,configurable:!0,writable:!0,value:r.mixin[l[f]]};for(var d=Object.keys(a),h=0;h<d.length;++h)s[d[h]]={enumerable:!1,configurable:!0,writable:!0,value:a[d[h]]};return Object.defineProperties(o,s),n&&n instanceof c&&(o._parent=n,o._schema=n.schema.path(t),o._handlers={isNew:o.notify(\"isNew\"),save:o.notify(\"save\")},n.on(\"save\",o._handlers.save),n.on(\"isNew\",o._handlers.isNew)),o}var i=e(\"./array\"),o=e(\"./objectid\"),a=e(\"../schema/objectid\"),s=e(\"../utils\"),c=e(\"../document\");r.mixin={_cast:function(e,t){return e instanceof this._schema.casterConstructor?(e.__parent&&e.__parentArray||(e.__parent=this._parent,e.__parentArray=this),e.__index=t,e):((n.isBuffer(e)||e instanceof o||!s.isObject(e))&&(e={_id:e}),new this._schema.casterConstructor(e,this,void 0,void 0,t))},id:function(e){var t,n,r;try{var i=a.prototype.cast.call({},e);i&&(t=String(i))}catch(u){t=null}for(var p=0,l=this.length;l>p;p++)if(r=this[p].get(\"_id\"),null!==r&&\"undefined\"!=typeof r)if(r instanceof c){if(n||(n=String(e)),n==r._id)return this[p]}else if(e instanceof o||r instanceof o){if(t==r)return this[p]}else if(s.deepEqual(e,r))return this[p];return null},toObject:function(e){return this.map(function(t){return t&&t.toObject(e)||null})},inspect:function(){return Array.prototype.slice.call(this)},create:function(e){return new this._schema.casterConstructor(e)},notify:function(e){var t=this;return function(n){for(var r=t.length;r--;)if(t[r]){switch(e){case\"save\":n=t[r]}t[r].emit(e,n)}}}},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../schema/objectid\":289,\"../utils\":302,\"./array\":295,\"./objectid\":300}],298:[function(e,t,n){function r(e,t,n,r,i){t?(this.__parentArray=t,this.__parent=t._parent):(this.__parentArray=void 0,this.__parent=void 0),this.__index=i,o.call(this,e,r,n);var a=this;this.on(\"isNew\",function(e){a.isNew=e})}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document_provider\")(),a=e(\"../promise_provider\");r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.markModified=function(e){this.$__.activePaths.modify(e),this.__parentArray&&(this.isNew?this.__parentArray._markModified():this.__parentArray._markModified(this,e))},r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.remove=function(e){if(!this.__parentArray)return this;var t;if(!this.willRemove){if(t=this._doc._id,!t)throw new Error(\"For your own good, Mongoose does not know how to remove an EmbeddedDocument that has no _id\");this.__parentArray.pull({_id:t}),this.willRemove=!0,i(this)}return e&&e(null),this},r.prototype.update=function(){throw new Error(\"The #update method is not available on EmbeddedDocuments\")},r.prototype.inspect=function(){return this.toObject()},r.prototype.invalidate=function(e,t,n,r){if(!this.__parent){var i=\"Unable to invalidate a subdocument that has not been added to an array.\";throw new Error(i)}var o=this.__index;if(\"undefined\"!=typeof o){var a=this.__parentArray._path,s=[a,o,e].join(\".\");this.__parent.invalidate(s,t,n)}return r&&(this.$__.validationError=this.ownerDocument().$__.validationError),!0},r.prototype.$markValid=function(e){if(this.__parent){var t=this.__index;if(\"undefined\"!=typeof t){var n=this.__parentArray._path,r=[n,t,e].join(\".\");this.__parent.$markValid(r)}}},r.prototype.$isValid=function(e){var t=this.__index;return\"undefined\"!=typeof t?!this.__parent.$__.validationError||!this.__parent.$__.validationError.errors[this.$__fullPath(e)]:!0},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.__parent;if(!e)return this;for(;e.__parent;)e=e.__parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.$__fullPath=function(e){if(!this.$__.fullPath){var t=this;if(!t.__parent)return e;for(var n=[];t.__parent;)n.unshift(t.__parentArray._path),t=t.__parent;this.$__.fullPath=n.join(\".\"),this.$__.ownerDocument||(this.$__.ownerDocument=t)}return e?this.$__.fullPath+\".\"+e:this.$__.fullPath},r.prototype.parent=function(){return this.__parent},r.prototype.parentArray=function(){return this.__parentArray},t.exports=r},{\"../document_provider\":254,\"../promise_provider\":275}],299:[function(e,t,n){n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Document=n.Embedded=e(\"./embedded\"),n.DocumentArray=e(\"./documentarray\"),n.ObjectId=e(\"./objectid\"),n.Subdocument=e(\"./subdocument\")},{\"./array\":295,\"./buffer\":296,\"./documentarray\":297,\"./embedded\":298,\"./objectid\":300,\"./subdocument\":301}],300:[function(e,t,n){var r=e(\"../drivers\").ObjectId;t.exports=r},{\"../drivers\":259}],301:[function(e,t,n){function r(e,t){this.$isSingleNested=!0,o.call(this,e,t)}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document\"),a=e(\"../promise_provider\");t.exports=r,r.prototype=Object.create(o.prototype),r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.$isValid=function(e){return this.$parent?this.$parent.$isValid([this.$basePath,e].join(\".\")):void 0},r.prototype.markModified=function(e){o.prototype.markModified.call(this,e),this.$parent&&this.$parent.markModified([this.$basePath,e].join(\".\"))},r.prototype.$markValid=function(e){this.$parent&&this.$parent.$markValid([this.$basePath,e].join(\".\"))},r.prototype.invalidate=function(e,t,n){if(this.$parent)this.$parent.invalidate([this.$basePath,e].join(\".\"),t,n);else if(\"cast\"===t.kind||\"CastError\"===t.name)throw t},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.$parent;if(!e)return this;for(;e.$parent;)e=e.$parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.remove=function(e){this.$parent.set(this.$basePath,null),i(this),e&&e(null)}},{\"../document\":253,\"../promise_provider\":275}],302:[function(e,t,n){(function(t){function r(e){var t;return!~v.indexOf(e.toLowerCase())&&(t=m.filter(function(t){return e.match(t[0])}),t[0])?e.replace(t[0][0],t[0][1]):e}function i(e,t){var n,r,i,o,a,s=t&&t.retainKeyOrder,c=t&&t.minimize,u={};if(s)for(o in e)i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);else for(r=Object.keys(e),a=r.length;a--;)o=r[a],i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);return c?n&&u:u}function o(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(g(e[r],t));return n}function a(e,t,n,r,i,o){this.path=e,this.match=n,this.select=t,this.options=r,this.model=i,\"object\"==typeof o&&(this.populate=o),this._docs={}}var s,c,u,p=e(\"./types/objectid\"),l=e(\"regexp-clone\"),f=e(\"sliced\"),d=e(\"mpath\"),h=e(\"ms\");n.toCollectionName=function(e,t){return t=t||{},\"system.profile\"===e?e:\"system.indexes\"===e?e:t.pluralization===!1?e:r(e.toLowerCase())},n.pluralization=[[/(m)an$/gi,\"$1en\"],[/(pe)rson$/gi,\"$1ople\"],[/(child)$/gi,\"$1ren\"],[/^(ox)$/gi,\"$1en\"],[/(ax|test)is$/gi,\"$1es\"],[/(octop|vir)us$/gi,\"$1i\"],[/(alias|status)$/gi,\"$1es\"],[/(bu)s$/gi,\"$1ses\"],[/(buffal|tomat|potat)o$/gi,\"$1oes\"],[/([ti])um$/gi,\"$1a\"],[/sis$/gi,\"ses\"],[/(?:([^f])fe|([lr])f)$/gi,\"$1$2ves\"],[/(hive)$/gi,\"$1s\"],[/([^aeiouy]|qu)y$/gi,\"$1ies\"],[/(x|ch|ss|sh)$/gi,\"$1es\"],[/(matr|vert|ind)ix|ex$/gi,\"$1ices\"],[/([m|l])ouse$/gi,\"$1ice\"],[/(kn|w|l)ife$/gi,\"$1ives\"],[/(quiz)$/gi,\"$1zes\"],[/s$/gi,\"s\"],[/([^a-z])$/,\"$1\"],[/$/gi,\"s\"]];var m=n.pluralization;n.uncountables=[\"advice\",\"energy\",\"excretion\",\"digestion\",\"cooperation\",\"health\",\"justice\",\"labour\",\"machinery\",\"equipment\",\"information\",\"pollution\",\"sewage\",\"paper\",\"money\",\"species\",\"series\",\"rain\",\"rice\",\"fish\",\"sheep\",\"moose\",\"deer\",\"news\",\"expertise\",\"status\",\"media\"];var v=n.uncountables;n.deepEqual=function w(e,r){if(e===r)return!0;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof p&&r instanceof p)return e.toString()===r.toString();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.ignoreCase===r.ignoreCase&&e.multiline===r.multiline&&e.global===r.global;if(\"object\"!=typeof e&&\"object\"!=typeof r)return e==r;if(null===e||null===r||void 0===e||void 0===r)return!1;if(e.prototype!==r.prototype)return!1;if(e instanceof Number&&r instanceof Number)return e.valueOf()===r.valueOf();if(t.isBuffer(e))return n.buffer.areEqual(e,r);b(e)&&(e=e.toObject()),b(r)&&(r=r.toObject());try{var i,o,a=Object.keys(e),s=Object.keys(r)}catch(c){return!1}if(a.length!==s.length)return!1;for(a.sort(),s.sort(),o=a.length-1;o>=0;o--)if(a[o]!==s[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!w(e[i],r[i]))return!1;return!0},n.clone=function(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return o(e,t);if(b(e))return t&&t.json&&\"function\"==typeof e.toJSON?e.toJSON(t):e.toObject(t);if(e.constructor)switch(n.getFunctionName(e.constructor)){case\"Object\":return i(e,t);case\"Date\":return new e.constructor(+e);case\"RegExp\":return l(e)}return e instanceof p?new p(e.id):!e.constructor&&n.isObject(e)?i(e,t):e.valueOf?e.valueOf():void 0};var g=n.clone;n.options=function(e,t){var n,r=Object.keys(e),i=r.length;for(t=t||{};i--;)n=r[i],n in t||(t[n]=e[n]);return t},n.random=function(){return Math.random().toString().substr(3)},n.merge=function _(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])&&_(e[r],t[r])};var y=Object.prototype.toString;n.toObject=function k(e){var t;if(n.isNullOrUndefined(e))return e;if(e instanceof u)return e.toObject();if(Array.isArray(e)){t=[];for(var r=0,i=e.length;i>r;++r)t.push(k(e[r]));return t}if(e.constructor&&\"Object\"===n.getFunctionName(e.constructor)||!e.constructor&&n.isObject(e)){t={};for(var o in e)t[o]=k(e[o]);return t}return e},n.isObject=function(e){return t.isBuffer(e)?!0:\"[object Object]\"===y.call(e)},n.args=f,n.tick=function(e){return\"function\"==typeof e?function(){try{e.apply(this,arguments)}catch(t){process.nextTick(function(){throw t})}}:void 0},n.isMongooseObject=function(t){return u||(u=e(\"./document\")),c||(c=e(\"./types\").Array),s||(s=e(\"./types\").Buffer),t instanceof u||t&&t.isMongooseArray||t&&t.isMongooseBuffer};var b=n.isMongooseObject;n.expires=function(e){if(e&&\"Object\"===e.constructor.name&&\"expires\"in e){var t;t=\"string\"!=typeof e.expires?e.expires:Math.round(h(e.expires)/1e3),e.expireAfterSeconds=t,delete e.expires}},a.prototype.constructor=Object,n.PopulateOptions=a,n.populate=function(e,t,r,i,o,s){if(1===arguments.length){if(e instanceof a)return[e];if(Array.isArray(e))return e.map(function(e){return n.populate(e)[0]});n.isObject(e)&&(i=e.match,o=e.options,t=e.select,r=e.model,s=e.populate,e=e.path)}else\"string\"!=typeof r&&\"function\"!=typeof r&&(o=i,i=r,r=void 0);if(\"string\"!=typeof e)throw new TypeError(\"utils.populate: invalid path. Expected string. Got typeof `\"+typeof e+\"`\");\"object\"==typeof s&&(s=n.populate(s));var c=[],u=e.split(\" \");o=n.clone(o,{retainKeyOrder:!0});for(var p=0;p<u.length;++p)c.push(new a(u[p],t,i,o,r,s));return c},n.getValue=function(e,t,n){return d.get(e,t,\"_doc\",n)},n.setValue=function(e,t,n,r){d.set(e,t,n,\"_doc\",r)},n.object={},n.object.vals=function(e){for(var t=Object.keys(e),n=t.length,r=[];n--;)r.push(e[t[n]]);return r},n.object.shallowCopy=n.options;var x=Object.prototype.hasOwnProperty;n.object.hasOwnProperty=function(e,t){return x.call(e,t)},n.isNullOrUndefined=function(e){return null===e||void 0===e},n.array={},n.array.flatten=function j(e,t,n){return n||(n=[]),e.forEach(function(e){Array.isArray(e)?j(e,t,n):t&&!t(e)||n.push(e)}),n},n.array.unique=function(e){for(var t={},n={},r=[],i=e.length,o=0;i>o;++o)if(\"number\"==typeof e[o]||\"string\"==typeof e[o]){if(t[e[o]])continue;r.push(e[o]),t[e[o]]=!0}else if(e[o]instanceof p){if(n[e[o].toString()])continue;r.push(e[o]),n[e[o].toString()]=!0}else r.push(e[o]);return r},n.buffer={},n.buffer.areEqual=function(e,n){if(!t.isBuffer(e))return!1;if(!t.isBuffer(n))return!1;if(e.length!==n.length)return!1;for(var r=0,i=e.length;i>r;++r)if(e[r]!==n[r])return!1;return!0},n.getFunctionName=function(e){return e.name?e.name:(e.toString().trim().match(/^function\\s*([^\\s(]+)/)||[])[1]},n.decorate=function(e,t){for(var n in t)e[n]=t[n]},n.mergeClone=function(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)if(r=i[o],\"undefined\"==typeof e[r])e[r]=n.clone(t[r],{retainKeyOrder:1});else if(n.isObject(t[r])){var a=t[r];b(t[r])&&!t[r].isMongooseBuffer&&(a=a.toObject({virtuals:!1})),n.mergeClone(e[r],a)}else e[r]=n.clone(t[r],{retainKeyOrder:1})},n.each=function(e,t){for(var n=0;n<e.length;++n)t(e[n])}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./document\":253,\"./types\":299,\"./types/objectid\":300,mpath:305,ms:355,\"regexp-clone\":392,sliced:431}],303:[function(e,t,n){function r(e,t){this.path=t,this.getters=[],this.setters=[],this.options=e||{}}r.prototype.get=function(e){return this.getters.push(e),this},r.prototype.set=function(e){return this.setters.push(e),this},r.prototype.applyGetters=function(e,t){for(var n=e,r=this.getters.length-1;r>=0;r--)n=this.getters[r].call(t,n,this);return n},r.prototype.applySetters=function(e,t){for(var n=e,r=this.setters.length-1;r>=0;r--)n=this.setters[r].call(t,n,this);return n},t.exports=r},{}],304:[function(e,t,n){t.exports={_args:[[\"mongoose\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"mongoose@*\",_id:\"mongoose@4.4.12\",_inCache:!0,_installable:!0,_location:\"/mongoose\",_nodeVersion:\"5.4.1\",_npmOperationalInternal:{host:\"packages-12-west.internal.npmjs.com\",tmp:\"tmp/mongoose-4.4.12.tgz_1460141300884_0.6968548044096678\"},_npmUser:{email:\"val@karpov.io\",name:\"vkarpov15\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"mongoose\",raw:\"mongoose\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\",_shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",_shrinkwrap:null,_spec:\"mongoose\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"guillermo@learnboost.com\",name:\"Guillermo Rauch\"},browser:\"lib/browser.js\",browserDependencies:{browserify:\"4.1.10\",chai:\"3.5.0\",karma:\"0.12.16\",\"karma-chai\":\"0.1.0\",\"karma-chrome-launcher\":\"0.1.4\",\"karma-mocha\":\"0.1.4\",\"karma-sauce-launcher\":\"0.2.8\"},bugs:{email:\"mongoose-orm@googlegroups.com\",url:\"https://github.com/Automattic/mongoose/issues/new\"},dependencies:{async:\"1.5.2\",bson:\"~0.4.21\",\"hooks-fixed\":\"1.1.0\",kareem:\"1.0.1\",mongodb:\"2.1.16\",mpath:\"0.2.1\",mpromise:\"0.5.5\",mquery:\"1.10.0\",ms:\"0.7.1\",muri:\"1.1.0\",\"regexp-clone\":\"0.0.1\",sliced:\"1.0.1\"},description:\"Mongoose MongoDB ODM\",devDependencies:{acquit:\"0.4.1\",\"acquit-ignore\":\"0.0.3\",benchmark:\"2.0.0\",bluebird:\"3.1.4\",co:\"4.6.0\",dox:\"0.3.1\",eslint:\"2.4.0\",\"highlight.js\":\"7.0.1\",istanbul:\"0.4.2\",jade:\"0.26.3\",lodash:\"4.6.1\",markdown:\"0.3.1\",marked:\"0.3.5\",mocha:\"2.3.4\",\"node-static\":\"0.7.7\",\"power-assert\":\"1.2.0\",q:\"1.4.1\",tbd:\"0.6.4\",\"uglify-js\":\"2.6.1\",underscore:\"1.8.3\"},directories:{lib:\"./lib/mongoose\"},dist:{shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",tarball:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\"},engines:{node:\">=0.6.19\"},gitHead:\"239006ca12982d62369b8716e3fde917084d69ce\",homepage:\"http://mongoosejs.com\",keywords:[\"data\",\"database\",\"datastore\",\"db\",\"document\",\"model\",\"mongodb\",\"nosql\",\"odm\",\"orm\",\"query\",\"schema\"],license:\"MIT\",main:\"./index.js\",maintainers:[{name:\"rauchg\",email:\"rauchg@gmail.com\"},{name:\"tjholowaychuk\",email:\"tj@vision-media.ca\"},{name:\"aaron\",email:\"aaron.heckmann+github@gmail.com\"},{name:\"vkarpov15\",email:\"val@karpov.io\"},{name:\"defunctzombie\",email:\"shtylman@gmail.com\"}],name:\"mongoose\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/Automattic/mongoose.git\"},scripts:{\"fix-lint\":\"eslint . --fix\",\"install-browser\":\"npm install `node format_deps.js`\",posttest:\"eslint . --quiet\",test:\"mocha test/*.test.js test/**/*.test.js\",\"test-cov\":\"istanbul cover --report text --report html _mocha test/*.test.js\"},version:\"4.4.12\"}},{}],305:[function(e,t,n){t.exports=n=e(\"./lib\")},{\"./lib\":306}],306:[function(e,t,n){function r(e){return e}n.get=function(e,t,i,o){var a;\"function\"==typeof i&&(i.length<2?(o=i,i=void 0):(a=i,i=void 0)),o||(o=r);var s=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(s))throw new TypeError(\"Invalid `path`. Must be either string or array\");for(var c,u=t,p=0;p<s.length;++p){if(c=s[p],Array.isArray(u)&&!/^\\d+$/.test(c)){var l=s.slice(p);return u.map(function(e){return e?n.get(l,e,i||a,o):o(void 0)})}if(u=a?a(u,c):i&&u[i]?u[i][c]:u[c],!u)return o(u)}return o(u)},n.set=function(e,t,i,o,a,s){var c;\"function\"==typeof o&&(o.length<2?(a=o,o=void 0):(c=o,o=void 0)),a||(a=r);var u=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(u))throw new TypeError(\"Invalid `path`. Must be either string or array\");if(null!=i){for(var p,l=s||/\\$/.test(e),f=i,d=0,h=u.length-1;h>d;++d)if(p=u[d],\"$\"!=p){if(Array.isArray(f)&&!/^\\d+$/.test(p)){var m=u.slice(d);if(!l&&Array.isArray(t))for(var v=0;v<f.length&&v<t.length;++v)n.set(m,t[v],f[v],o||c,a,l);else for(var v=0;v<f.length;++v)n.set(m,t,f[v],o||c,a,l);return}if(f=c?c(f,p):o&&f[o]?f[o][p]:f[p],!f)return}else if(d==h-1)break;if(p=u[h],o&&f[o]&&(f=f[o]),Array.isArray(f)&&!/^\\d+$/.test(p))if(!l&&Array.isArray(t))for(var g,v=0;v<f.length&&v<t.length;++v)g=f[v],g&&(c?c(g,p,a(t[v])):(g[o]&&(g=g[o]),g[p]=a(t[v])));else for(var v=0;v<f.length;++v)g=f[v],g&&(c?c(g,p,a(t)):(g[o]&&(g=g[o]),g[p]=a(t)));else c?c(f,p,a(t)):f[p]=a(t)}}},{}],307:[function(e,t,n){\"use strict\";function r(e,t,n){return Array.prototype.slice.call(e,t,n)}function i(e,t){var n=r(t);return n.unshift(e),n}function o(e){this.emitter=new c,this.emitted={},this.ended=!1,\"function\"==typeof e&&(this.ended=!0,this.onResolve(e))}function a(e,t){function n(){var n=e.emitter.domain;n&&n!==process.domain&&n.enter();try{var i=t.apply(void 0,r.args)}catch(o){return void e.reject(o)}s(e,i)}function r(){r.args=arguments,process.nextTick(n)}return r}function s(e,t){function n(){l++||s.apply(void 0,i(e,arguments))}function o(t){l++||e.reject(t)}if(e===t)return void e.reject(new TypeError(\"promise and x are the same\"));var a=r(arguments,1),c=typeof t;if(\"undefined\"==c||null==t||\"object\"!=c&&\"function\"!=c)return void e.fulfill.apply(e,a);try{var u=t.then}catch(p){return void e.reject(p)}if(\"function\"!=typeof u)return void e.fulfill.apply(e,a);var l=0;try{var f=u.call(t,n,o);return f}catch(p){if(l++)return;e.reject(p)}}var c=(e(\"util\"),e(\"events\").EventEmitter);t.exports=o,o.SUCCESS=\"fulfill\",o.FAILURE=\"reject\",o.prototype.on=function(e,t){return this.emitted[e]?t.apply(void 0,this.emitted[e]):this.emitter.on(e,t),this},o.prototype.safeEmit=function(e){if(e==o.SUCCESS||e==o.FAILURE){if(this.emitted[o.SUCCESS]||this.emitted[o.FAILURE])return this;this.emitted[e]=r(arguments,1)}return this.emitter.emit.apply(this.emitter,arguments),this},o.prototype.hasRejectListeners=function(){return c.listenerCount(this.emitter,o.FAILURE)>0},o.prototype.fulfill=function(){return this.safeEmit.apply(this,i(o.SUCCESS,arguments))},o.prototype.reject=function(e){if(this.ended&&!this.hasRejectListeners())throw e;return this.safeEmit(o.FAILURE,e)},o.prototype.resolve=function(e,t){return e?this.reject(e):this.fulfill(t)},o.prototype.onFulfill=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.SUCCESS,e)},o.prototype.onReject=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,e)},o.prototype.onResolve=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,function(t){e.call(this,t)}),this.on(o.SUCCESS,function(){e.apply(this,i(null,arguments))}),this},o.prototype.then=function(e,t){var n=new o;return\"function\"==typeof e?this.onFulfill(a(n,e)):this.onFulfill(n.fulfill.bind(n)),\"function\"==typeof t?this.onReject(a(n,t)):this.onReject(n.reject.bind(n)),n},o.prototype.end=o.prototype[\"catch\"]=function(e){return e||this.hasRejectListeners()||(e=function(e){throw e}),this.onReject(e),this.ended=!0,this},o.trace=function(e,t){e.then(function(){console.log(\"%s fulfill %j\",t,r(arguments))},function(){console.log(\"%s reject %j\",t,r(arguments))})},o.prototype.chain=function(e){var t=this;return t.onFulfill(e.fulfill.bind(e)),t.onReject(e.reject.bind(e)),e},o.prototype.all=function(e){var t=new o;return this.then(e).then(function(e){var n,r=0,i=[];return e.length||t.resolve(),e.forEach(function(e,o){n||(r++,e.then(function(e){n||(i[o]=e,--r,0==r&&t.fulfill(i))},function(e){n||(n=e,t.reject(e))}))}),t},t.reject.bind(t)),t},o.hook=function(e){var t=new o,n=new o,r=function(){return--i,0==i&&n.fulfill(),n},i=1,a=t;return e.forEach(function(e){a=a.then(function(){var t=new o;return i++,e(t.resolve.bind(t),r),t})}),a=a.then(r),t.resolve(),a},o.fulfilled=function(){var e=new o;return e.fulfill.apply(e,arguments),e},o.rejected=function(e){return(new o).reject(e)},o.deferred=function(){var e=new o;return{promise:e,reject:e.reject.bind(e),resolve:e.fulfill.bind(e),callback:e.resolve.bind(e)}}},{\nevents:void 0,util:void 0}],308:[function(e,t,n){\"use strict\";function r(){}function i(e){return function(){throw new Error(\"collection.\"+e+\" not implemented\")}}for(var o=[\"find\",\"findOne\",\"update\",\"remove\",\"count\",\"distinct\",\"findAndModify\",\"aggregate\",\"findStream\"],a=0,s=o.length;s>a;++a){var c=o[a];r.prototype[c]=i(c)}t.exports=n=r,r.methods=o},{}],309:[function(e,t,n){\"use strict\";var r=e(\"../env\");if(\"unknown\"==r.type)throw new Error(\"Unknown environment\");t.exports=e(r.isNode?\"./node\":r.isMongo?\"./collection\":\"./collection\")},{\"../env\":311,\"./collection\":308,\"./node\":310}],310:[function(e,t,n){\"use strict\";function r(e){this.collection=e,this.collectionName=e.collectionName}var i=e(\"./collection\"),o=e(\"../utils\");o.inherits(r,i),r.prototype.find=function(e,t,n){this.collection.find(e,t,function(e,t){return e?n(e):void t.toArray(n)})},r.prototype.findOne=function(e,t,n){this.collection.findOne(e,t,n)},r.prototype.count=function(e,t,n){this.collection.count(e,t,n)},r.prototype.distinct=function(e,t,n,r){this.collection.distinct(e,t,n,r)},r.prototype.update=function(e,t,n,r){this.collection.update(e,t,n,r)},r.prototype.remove=function(e,t,n){this.collection.remove(e,t,n)},r.prototype.findAndModify=function(e,t,n,r){var i=Array.isArray(n.sort)?n.sort:[];this.collection.findAndModify(e,i,t,n,r)},r.prototype.findStream=function(e,t,n){return this.collection.find(e,t).stream(n)},r.prototype.findCursor=function(e,t){return this.collection.find(e,t)},t.exports=n=r},{\"../utils\":314,\"./collection\":308}],311:[function(e,t,n){(function(e,r){\"use strict\";n.isNode=\"undefined\"!=typeof process&&\"object\"==typeof t&&\"object\"==typeof e&&\"function\"==typeof r&&process.argv,n.isMongo=!n.isNode&&\"function\"==typeof printjson&&\"function\"==typeof ObjectId&&\"function\"==typeof rs&&\"function\"==typeof sh,n.isBrowser=!n.isNode&&!n.isMongo&&\"undefined\"!=typeof window,n.type=n.isNode?\"node\":n.isMongo?\"mongo\":n.isBrowser?\"browser\":\"unknown\"}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"buffer\").Buffer)},{buffer:void 0}],312:[function(e,t,n){\"use strict\";function r(e,t){if(!(this instanceof r))return new r(e,t);var n=this.constructor.prototype;this.op=n.op||void 0,this.options={},this.setOptions(n.options),this._conditions=n._conditions?u.clone(n._conditions):{},this._fields=n._fields?u.clone(n._fields):void 0,this._update=n._update?u.clone(n._update):void 0,this._path=n._path||void 0,this._distinct=n._distinct||void 0,this._collection=n._collection||void 0,this._traceFunction=n._traceFunction||void 0,t&&this.setOptions(t),e&&(e.find&&e.remove&&e.update?this.collection(e):this.find(e))}function i(e,t,n){if(Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");if(n&&n.$meta){var r=e.sort||(e.sort={});return void(r[t]={$meta:n.$meta})}var i=String(n||1).toLowerCase();if(!/^(?:ascending|asc|descending|desc|1|-1)$/.test(i))throw u.isArray(n)&&(n=\"[\"+n+\"]\"),new TypeError(\"Invalid sort value: {\"+t+\": \"+n+\" }\");var r=e.sort||(e.sort={}),o=n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");r[t]=parseInt(o,10)}function o(e,t,n){if(e.sort=e.sort||[],!Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");e.sort.push([t,n])}var a=e(\"sliced\"),s=e(\"assert\"),c=e(\"util\"),u=e(\"./utils\"),p=e(\"debug\")(\"mquery\"),l=\"$geoWithin\";Object.defineProperty(r,\"use$geoWithin\",{get:function(){return\"$geoWithin\"==l},set:function(e){l=!0===e?\"$geoWithin\":\"$within\"}}),r.prototype.toConstructor=function(){function e(t,n){return this instanceof e?void r.call(this,t,n):new e(t,n)}u.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=u.clone(this._conditions),t._fields=u.clone(this._fields),t._update=u.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t._traceFunction=this._traceFunction,e},r.prototype.setOptions=function(e){if(!e||!u.isObject(e))return this;for(var t,n=u.keys(e),r=0;r<n.length;++r)if(t=n[r],\"function\"==typeof this[t]){var i=u.isArray(e[t])?e[t]:[e[t]];this[t].apply(this,i)}else this.options[t]=e[t];return this},r.prototype.collection=function(e){return this._collection=new r.Collection(e),this},r.prototype.$where=function(e){return this._conditions.$where=e,this},r.prototype.where=function(){if(!arguments.length)return this;this.op||(this.op=\"find\");var e=typeof arguments[0];if(\"string\"==e)return this._path=arguments[0],2===arguments.length&&(this._conditions[this._path]=arguments[1]),this;if(\"object\"==e&&!Array.isArray(arguments[0]))return this.merge(arguments[0]);throw new TypeError(\"path must be a string or object\")},r.prototype.equals=function(e){this._ensurePath(\"equals\");var t=this._path;return this._conditions[t]=e,this},r.prototype.eq=function(e){this._ensurePath(\"eq\");var t=this._path;return this._conditions[t]=e,this},r.prototype.or=function f(e){var f=this._conditions.$or||(this._conditions.$or=[]);return u.isArray(e)||(e=[e]),f.push.apply(f,e),this},r.prototype.nor=function d(e){var d=this._conditions.$nor||(this._conditions.$nor=[]);return u.isArray(e)||(e=[e]),d.push.apply(d,e),this},r.prototype.and=function h(e){var h=this._conditions.$and||(this._conditions.$and=[]);return Array.isArray(e)||(e=[e]),h.push.apply(h,e),this},\"gt gte lt lte ne in nin all regex size maxDistance\".split(\" \").forEach(function(e){r.prototype[e]=function(){var t,n;1===arguments.length?(this._ensurePath(e),n=arguments[0],t=this._path):(n=arguments[1],t=arguments[0]);var r=this._conditions[t]||(this._conditions[t]={});return r[\"$\"+e]=n,this}}),r.prototype.mod=function(){var e,t;1===arguments.length?(this._ensurePath(\"mod\"),e=arguments[0],t=this._path):2!==arguments.length||u.isArray(arguments[1])?3===arguments.length?(e=a(arguments,1),t=arguments[0]):(e=arguments[1],t=arguments[0]):(this._ensurePath(\"mod\"),e=a(arguments),t=this._path);var n=this._conditions[t]||(this._conditions[t]={});return n.$mod=e,this},r.prototype.exists=function(){var e,t;0===arguments.length?(this._ensurePath(\"exists\"),e=this._path,t=!0):1===arguments.length?\"boolean\"==typeof arguments[0]?(this._ensurePath(\"exists\"),e=this._path,t=arguments[0]):(e=arguments[0],t=!0):2===arguments.length&&(e=arguments[0],t=arguments[1]);var n=this._conditions[e]||(this._conditions[e]={});return n.$exists=t,this},r.prototype.elemMatch=function(){if(null==arguments[0])throw new TypeError(\"Invalid argument\");var e,t,n;if(\"function\"==typeof arguments[0])this._ensurePath(\"elemMatch\"),t=this._path,e=arguments[0];else if(u.isObject(arguments[0]))this._ensurePath(\"elemMatch\"),t=this._path,n=arguments[0];else if(\"function\"==typeof arguments[1])t=arguments[0],e=arguments[1];else{if(!arguments[1]||!u.isObject(arguments[1]))throw new TypeError(\"Invalid argument\");t=arguments[0],n=arguments[1]}e&&(n=new r,e(n),n=n._conditions);var i=this._conditions[t]||(this._conditions[t]={});return i.$elemMatch=n,this},r.prototype.within=function(){if(this._ensurePath(\"within\"),this._geoComparison=l,0===arguments.length)return this;if(2===arguments.length)return this.box.apply(this,arguments);if(2<arguments.length)return this.polygon.apply(this,arguments);var e=arguments[0];if(!e)throw new TypeError(\"Invalid argument\");if(e.center)return this.circle(e);if(e.box)return this.box.apply(this,e.box);if(e.polygon)return this.polygon.apply(this,e.polygon);if(e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.box=function(){var e,t;if(3===arguments.length)e=arguments[0],t=[arguments[1],arguments[2]];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");this._ensurePath(\"box\"),e=this._path,t=[arguments[0],arguments[1]]}var n=this._conditions[e]||(this._conditions[e]={});return n[this._geoComparison||l]={$box:t},this},r.prototype.polygon=function(){var e,t;\"string\"==typeof arguments[0]?(t=arguments[0],e=a(arguments,1)):(this._ensurePath(\"polygon\"),t=this._path,e=a(arguments));var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison||l]={$polygon:e},this},r.prototype.circle=function(){var e,t;if(1===arguments.length)this._ensurePath(\"circle\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!(\"radius\"in t&&t.center))throw new Error(\"center and radius are required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$centerSphere\":\"$center\",i=this._geoComparison||l;return n[i]={},n[i][r]=[t.center,t.radius],\"unique\"in t&&(n[i].$uniqueDocs=!!t.unique),this},r.prototype.near=function(){var e,t;if(this._geoComparison=\"$near\",0===arguments.length)return this;if(1===arguments.length)this._ensurePath(\"near\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!t.center)throw new Error(\"center is required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$nearSphere\":\"$near\";if(Array.isArray(t.center)){n[r]=t.center;var i=\"maxDistance\"in t?t.maxDistance:null;null!=i&&(n.$maxDistance=i)}else{if(\"Point\"!=t.center.type||!Array.isArray(t.center.coordinates))throw new Error(c.format(\"Invalid GeoJSON specified for %s\",r));n[r]={$geometry:t.center},\"maxDistance\"in t&&(n[r].$maxDistance=t.maxDistance)}return this},r.prototype.intersects=function(){if(this._ensurePath(\"intersects\"),this._geoComparison=\"$geoIntersects\",0===arguments.length)return this;var e=arguments[0];if(null!=e&&e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.geometry=function(){if(\"$within\"!=this._geoComparison&&\"$geoWithin\"!=this._geoComparison&&\"$near\"!=this._geoComparison&&\"$geoIntersects\"!=this._geoComparison)throw new Error(\"geometry() must come after `within()`, `intersects()`, or `near()\");var e,t;if(1!==arguments.length)throw new TypeError(\"Invalid argument\");if(this._ensurePath(\"geometry\"),t=this._path,e=arguments[0],!e.type||!Array.isArray(e.coordinates))throw new TypeError(\"Invalid argument\");var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison]={$geometry:e},this},r.prototype.select=function(){var e=arguments[0];if(!e)return this;if(1!==arguments.length)throw new Error(\"Invalid select: select only takes 1 argument\");this._validate(\"select\");var t=this._fields||(this._fields={}),n=typeof e;if((\"string\"==n||u.isArgumentsObject(e))&&\"number\"==typeof e.length){\"string\"==n&&(e=e.split(/\\s+/));for(var r=0,i=e.length;i>r;++r){var o=e[r];if(o){var a=\"-\"==o[0]?0:1;0===a&&(o=o.substring(1)),t[o]=a}}return this}if(u.isObject(e)&&!Array.isArray(e)){for(var s=u.keys(e),r=0;r<s.length;++r)t[s[r]]=e[s[r]];return this}throw new TypeError(\"Invalid select() argument. Must be string or object.\")},r.prototype.slice=function(){if(0===arguments.length)return this;this._validate(\"slice\");var e,t;if(1===arguments.length){var n=arguments[0];if(\"object\"==typeof n&&!Array.isArray(n)){for(var r=Object.keys(n),i=r.length,o=0;i>o;++o)this.slice(r[o],n[r[o]]);return this}this._ensurePath(\"slice\"),e=this._path,t=arguments[0]}else 2===arguments.length?\"number\"==typeof arguments[0]?(this._ensurePath(\"slice\"),e=this._path,t=a(arguments)):(e=arguments[0],t=arguments[1]):3===arguments.length&&(e=arguments[0],t=a(arguments,1));var s=this._fields||(this._fields={});return s[e]={$slice:t},this},r.prototype.sort=function(e){if(!e)return this;var t;this._validate(\"sort\");var n=typeof e;if(Array.isArray(e)){t=e.length;for(var r=0;r<e.length;++r)o(this.options,e[r][0],e[r][1]);return this}if(1===arguments.length&&\"string\"==n){e=e.split(/\\s+/),t=e.length;for(var r=0;t>r;++r){var a=e[r];if(a){var s=\"-\"==a[0]?-1:1;-1===s&&(a=a.substring(1)),i(this.options,a,s)}}return this}if(u.isObject(e)){for(var c=u.keys(e),r=0;r<c.length;++r){var a=c[r];i(this.options,a,e[a])}return this}throw new TypeError(\"Invalid sort() argument. Must be a string, object, or array.\")},[\"limit\",\"skip\",\"maxScan\",\"batchSize\",\"comment\"].forEach(function(e){r.prototype[e]=function(t){return this._validate(e),this.options[e]=t,this}}),r.prototype.maxTime=function(e){return this._validate(\"maxTime\"),this.options.maxTimeMS=e,this},r.prototype.snapshot=function(){return this._validate(\"snapshot\"),this.options.snapshot=arguments.length?!!arguments[0]:!0,this},r.prototype.hint=function(){if(0===arguments.length)return this;this._validate(\"hint\");var e=arguments[0];if(u.isObject(e)){var t=this.options.hint||(this.options.hint={});for(var n in e)t[n]=e[n];return this}throw new TypeError(\"Invalid hint. \"+e)},r.prototype.slaveOk=function(e){return this.options.slaveOk=arguments.length?!!e:!0,this},r.prototype.read=function(e){return arguments.length>1&&!r.prototype.read.deprecationWarningIssued&&(console.error(\"Deprecation warning: 'tags' argument is not supported anymore in Query.read() method. Please use mongodb.ReadPreference object instead.\"),r.prototype.read.deprecationWarningIssued=!0),this.options.readPreference=u.readPref(e),this},r.prototype.tailable=function(){return this._validate(\"tailable\"),this.options.tailable=arguments.length?!!arguments[0]:!0,this},r.prototype.merge=function(e){if(!e)return this;if(!r.canMerge(e))throw new TypeError(\"Invalid argument. Expected instanceof mquery or plain object\");return e instanceof r?(e._conditions&&u.merge(this._conditions,e._conditions),e._fields&&(this._fields||(this._fields={}),u.merge(this._fields,e._fields)),e.options&&(this.options||(this.options={}),u.merge(this.options,e.options)),e._update&&(this._update||(this._update={}),u.mergeClone(this._update,e._update)),e._distinct&&(this._distinct=e._distinct),this):(u.merge(this._conditions,e),this)},r.prototype.find=function(e,t){if(this.op=\"find\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"find\",this._collection.collectionName,n,i),t=this._wrapCallback(\"find\",t,{conditions:n,options:i}),this._collection.find(n,i,u.tick(t)),this},r.prototype.cursor=function(e){if(this.op){if(\"find\"!==this.op)throw new TypeError(\".cursor only support .find method\")}else this.find(e);var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"findCursor\",this._collection.collectionName,t,n),this._collection.findCursor(t,n)},r.prototype.findOne=function(e,t){if(this.op=\"findOne\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"findOne\",this._collection.collectionName,n,i),t=this._wrapCallback(\"findOne\",t,{conditions:n,options:i}),this._collection.findOne(n,i,u.tick(t)),this},r.prototype.count=function(e,t){if(this.op=\"count\",this._validate(),\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return p(\"count\",this._collection.collectionName,n,i),t=this._wrapCallback(\"count\",t,{conditions:n,options:i}),this._collection.count(n,i,u.tick(t)),this},r.prototype.distinct=function(e,t,n){if(this.op=\"distinct\",this._validate(),!n){switch(typeof t){case\"function\":n=t,\"string\"==typeof e&&(t=e,e=void 0);break;case\"undefined\":case\"string\":break;default:throw new TypeError(\"Invalid `field` argument. Must be string or function\")}switch(typeof e){case\"function\":n=e,e=t=void 0;break;case\"string\":t=e,e=void 0}}if(\"string\"==typeof t&&(this._distinct=t),r.canMerge(e)&&this.merge(e),!n)return this;if(!this._distinct)throw new Error(\"No value for `distinct` has been declared\");var i=this._conditions,o=this._optionsForExec();return p(\"distinct\",this._collection.collectionName,i,o),n=this._wrapCallback(\"distinct\",n,{conditions:i,options:o}),this._collection.distinct(this._distinct,i,o,u.tick(n)),this},r.prototype.update=function(e,t,n,i){this.op=\"update\";var o;switch(arguments.length){case 3:\"function\"==typeof n&&(i=n,n=void 0);break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0);break;case 1:switch(typeof e){case\"function\":i=e,e=n=t=void 0;break;case\"boolean\":o=e,e=void 0;break;default:t=e,e=n=void 0}}if(r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),u.isObject(n)&&this.setOptions(n),!o&&!i)return this;if(!this._update||!this.options.overwrite&&0===u.keys(this._update).length)return i&&u.soon(i.bind(null,null,0)),this;n=this._optionsForExec(),i||(n.safe=!1);var e=this._conditions;return t=this._updateForExec(),p(\"update\",this._collection.collectionName,e,t,n),i=this._wrapCallback(\"update\",i,{conditions:e,doc:t,options:n}),this._collection.update(e,t,n,u.tick(i)),this},r.prototype.remove=function(e,t){this.op=\"remove\";var n;if(\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)?this.merge(e):!0===e&&(n=e,e=void 0),!n&&!t)return this;var i=this._optionsForExec();t||(i.safe=!1);var o=this._conditions;return p(\"remove\",this._collection.collectionName,o,i),t=this._wrapCallback(\"remove\",t,{conditions:o,options:i}),this._collection.remove(o,i,u.tick(t)),this},r.prototype.findOneAndUpdate=function(e,t,n,i){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(i=n,n={});break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(i=e,e=n=t=void 0):(t=e,e=n=void 0)}return r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),i?this._findAndModify(\"update\",i):this},r.prototype.findOneAndRemove=function(e,t,n){return this.op=\"findOneAndRemove\",this._validate(),\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0),r.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?this._findAndModify(\"remove\",n):this},r.prototype._findAndModify=function(e,t){s.equal(\"function\",typeof t);var n,r,i=this._optionsForExec();if(\"remove\"==e)i.remove=!0;else if(\"new\"in i||(i[\"new\"]=!0),\"upsert\"in i||(i.upsert=!1),r=this._updateForExec(),!r){if(!i.upsert)return this.findOne(t);r={$set:{}}}var n=this._fieldsForExec();n&&(i.fields=n);var o=this._conditions;return p(\"findAndModify\",this._collection.collectionName,o,r,i),t=this._wrapCallback(\"findAndModify\",t,{conditions:o,doc:r,options:i}),this._collection.findAndModify(o,r,i,u.tick(t)),this},r.prototype._wrapCallback=function(e,t,n){var i=this._traceFunction||r.traceFunction;if(i){n.collectionName=this._collection.collectionName;var o=i&&i.call(null,e,n,this),a=(new Date).getTime();return function(e,n){if(o){var r=(new Date).getTime()-a;o.call(null,e,n,r)}t&&t.apply(null,arguments)}}return t},r.prototype.setTraceFunction=function(e){return this._traceFunction=e,this},r.prototype.exec=function(e,t){switch(typeof e){case\"function\":t=e,e=null;break;case\"string\":this.op=e}s.ok(this.op,\"Missing query type: (find, update, etc)\"),\"update\"!=this.op&&\"remove\"!=this.op||t||(t=!0);var n=this;return\"function\"!=typeof t?new r.Promise(function(e,t){n[n.op](function(r,i){r?t(r):e(i),n=e=t=null})}):void this[this.op](t)},r.prototype.thunk=function(){var e=this;return function(t){e.exec(t)}},r.prototype.then=function(e,t){var n=this,i=new r.Promise(function(e,t){n.exec(function(r,i){r?t(r):e(i),n=e=t=null})});return i.then(e,t)},r.prototype.stream=function(e){if(\"find\"!=this.op)throw new Error(\"stream() is only available for find\");var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"stream\",this._collection.collectionName,t,n,e),this._collection.findStream(t,n,e)},r.prototype.selected=function(){return!!(this._fields&&Object.keys(this._fields).length>0)},r.prototype.selectedInclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!1;if(this._fields[n]&&\"object\"==typeof this._fields[n]&&this._fields[n].$meta)return!1}return!0},r.prototype.selectedExclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!0}return!1},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&u.mergeClone(this._update,e._update):u.mergeClone(this._update,e)},r.prototype._optionsForExec=function(){var e=u.clone(this.options,{retainKeyOrder:!0});return e},r.prototype._fieldsForExec=function(){return u.clone(this._fields,{retainKeyOrder:!0})},r.prototype._updateForExec=function(){for(var e=u.clone(this._update,{retainKeyOrder:!0}),t=u.keys(e),n=t.length,r={};n--;){var i=t[n];this.options.overwrite?r[i]=e[i]:\"$\"!==i[0]?(r.$set||(e.$set?r.$set=e.$set:r.$set={}),r.$set[i]=e[i],t.splice(n,1),~t.indexOf(\"$set\")||t.push(\"$set\")):\"$set\"===i?r.$set||(r[i]=e[i]):r[i]=e[i]}return this._compiledUpdate=r,r},r.prototype._ensurePath=function(e){if(!this._path){var t=e+\"() must be used after where() when called with these arguments\";throw new Error(t)}},r.permissions=e(\"./permissions\"),r._isPermitted=function(e,t){var n=r.permissions[t];return n?!0!==n[e]:!0},r.prototype._validate=function(e){var t,n;if(void 0===e){if(n=r.permissions[this.op],\"function\"!=typeof n)return!0;t=n(this)}else r._isPermitted(e,this.op)||(t=e);if(t)throw new Error(t+\" cannot be used with \"+this.op)},r.canMerge=function(e){return e instanceof r||u.isObject(e)},r.setGlobalTraceFunction=function(e){r.traceFunction=e},r.utils=u,r.env=e(\"./env\"),r.Collection=e(\"./collection\"),r.BaseCollection=e(\"./collection/collection\"),r.Promise=e(\"bluebird\"),t.exports=n=r},{\"./collection\":309,\"./collection/collection\":308,\"./env\":311,\"./permissions\":313,\"./utils\":314,assert:void 0,bluebird:318,debug:83,sliced:353,util:void 0}],313:[function(e,t,n){\"use strict\";var r=n;r.distinct=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.distinct);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.distinct.select=r.distinct.slice=r.distinct.sort=r.distinct.limit=r.distinct.skip=r.distinct.batchSize=r.distinct.comment=r.distinct.maxScan=r.distinct.snapshot=r.distinct.hint=r.distinct.tailable=!0,r.findOneAndUpdate=r.findOneAndRemove=function(e){var t,n=Object.keys(r.findOneAndUpdate);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.findOneAndUpdate.limit=r.findOneAndUpdate.skip=r.findOneAndUpdate.batchSize=r.findOneAndUpdate.maxScan=r.findOneAndUpdate.snapshot=r.findOneAndUpdate.hint=r.findOneAndUpdate.tailable=r.findOneAndUpdate.comment=!0,r.count=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.count);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.count.slice=r.count.batchSize=r.count.comment=r.count.maxScan=r.count.snapshot=r.count.tailable=!0},{}],314:[function(e,t,n){(function(t){\"use strict\";function r(e){function t(){}if(arguments.length>1)throw new Error(\"Adding properties is not supported\");return t.prototype=e,new t}var i=e(\"regexp-clone\"),o=n.clone=function u(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return n.cloneArray(e,t);if(e.constructor){if(/ObjectI[dD]$/.test(e.constructor.name))return\"function\"==typeof e.clone?e.clone():new e.constructor(e.id);if(\"ReadPreference\"===e._type&&e.isValid&&e.toObject)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.mode,u(e.tags,t));if(\"Binary\"==e._bsontype&&e.buffer&&e.value)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.value(!0),e.sub_type);if(\"Date\"===e.constructor.name||\"Function\"===e.constructor.name)return new e.constructor(+e);if(\"RegExp\"===e.constructor.name)return i(e);if(\"Buffer\"===e.constructor.name)return n.cloneBuffer(e)}return s(e)?n.cloneObject(e,t):e.valueOf?e.valueOf():void 0};n.cloneObject=function(e,t){var n,r,i,a,s,c=t&&t.retainKeyOrder,u=t&&t.minimize,p={};if(c)for(a in e)i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);else for(r=Object.keys(e),s=r.length;s--;)a=r[s],i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);return u?n&&p:p},n.cloneArray=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(o(e[r],t));return n},n.tick=function(e){return\"function\"==typeof e?function(){var t=arguments;c(function(){e.apply(this,t)})}:void 0},n.merge=function p(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])?p(e[r],t[r]):e[r]=t[r]},n.mergeClone=function l(e,t){for(var r,i=Object.keys(t),a=i.length;a--;)r=i[a],\"undefined\"==typeof e[r]?e[r]=o(t[r],{retainKeyOrder:1}):n.isObject(t[r])?l(e[r],t[r]):e[r]=o(t[r],{retainKeyOrder:1})};n.readPref=function(e){switch(e){case\"p\":e=\"primary\";break;case\"pp\":e=\"primaryPreferred\";break;case\"s\":e=\"secondary\";break;case\"sp\":e=\"secondaryPreferred\";break;case\"n\":e=\"nearest\"}return e};var a=Object.prototype.toString,s=(n.toString=function(e){return a.call(e)},n.isObject=function(e){return\"[object Object]\"==n.toString(e)});n.isArray=function(e){return Array.isArray(e)||\"object\"==typeof e&&\"[object Array]\"==n.toString(e)};n.keys=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.create=\"function\"==typeof Object.create?Object.create:r,n.inherits=function(e,t){e.prototype=n.create(t.prototype),e.prototype.constructor=e};var c=n.soon=\"function\"==typeof setImmediate?setImmediate:process.nextTick;n.cloneBuffer=function(e){var n=new t(e.length);return e.copy(n,0,0,e.length),n},n.isArgumentsObject=function(e){return\"[object Arguments]\"===Object.prototype.toString.call(e)}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"regexp-clone\":392}],315:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],316:[function(e,t,n){\"use strict\";function r(){this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u.isStatic?u(this.drainQueues):u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule.js\"),p=e(\"./queue.js\"),l=e(\"./util.js\");r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},r.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")}},l.hasDevTools?(u.isStatic&&(u=function(e){setTimeout(e,0)}),r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=new r,t.exports.firstLineError=s},{\"./queue.js\":342,\"./schedule.js\":345,\"./util.js\":352}],317:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},o=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,p),s._then(o,a,c._progress,c,p)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072===(131072&this._bitField)},e.bind=function(r,i){var o=n(r),a=new e(t);return a._setBoundTo(o),o instanceof e?o._then(function(){a._resolveCallback(i)},a._reject,a._progress,a,null):a._resolveCallback(i),a}}},{}],318:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise.js\")();o.noConflict=r,t.exports=o},{\"./promise.js\":337}],319:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util.js\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a;\n}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],320:[function(e,t,n){\"use strict\";t.exports=function(t){var n=e(\"./errors.js\"),r=e(\"./async.js\"),i=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{\"./async.js\":316,\"./errors.js\":327}],321:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){this._parent=e;var n=this._length=1+(void 0===e?0:e._length);x(this,t),n>32&&this.uncycle()}function n(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function r(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function i(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function o(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=h.test(r)||\"    (No stack trace)\"===r,o=i&&g(r);i&&!o&&(v&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function a(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||h.test(r))break}return n>0&&(t=t.slice(n)),t}function s(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e.toString();var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+c(t)+\">, no stack trace)\"}function c(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function u(e){var t=e.match(y);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}var p,l=e(\"./async.js\"),f=e(\"./util.js\"),d=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](main|debug|zalgo|instrumented)/,h=null,m=null,v=!1;f.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var a=t.parseStackAndMessage(e),s=a.message,c=[a.stack],u=this;void 0!==u;)c.push(o(u.stack.split(\"\\n\"))),u=u._parent;i(c),r(c),f.notEnumerableProp(e,\"stack\",n(s,c)),f.notEnumerableProp(e,\"__stackCleaned__\",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?a(e):[\"    (No stack trace)\"],{message:n,stack:o(t)}},t.formatAndLogError=function(e,t){if(\"undefined\"!=typeof console){var n;if(\"object\"==typeof e||\"function\"==typeof e){var r=e.stack;n=t+m(r,e)}else n=t+String(e);\"function\"==typeof p?p(n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(n)}},t.unhandledRejection=function(e){t.formatAndLogError(e,\"^--- With additional stack trace: \")},t.isSupported=function(){return\"function\"==typeof x},t.fireRejectionEvent=function(e,n,r,i){var o=!1;try{\"function\"==typeof n&&(o=!0,\"rejectionHandled\"===e?n(i):n(r,i))}catch(a){l.throwLater(a)}var s=!1;try{s=w(e,r,i)}catch(a){s=!0,l.throwLater(a)}var c=!1;if(b)try{c=b(e.toLowerCase(),{reason:r,promise:i})}catch(a){c=!0,l.throwLater(a)}s||o||c||\"unhandledRejection\"!==e||t.formatAndLogError(r,\"Unhandled rejection \")};var g=function(){return!1},y=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;t.setBounds=function(e,n){if(t.isSupported()){for(var r,i,o=e.stack.split(\"\\n\"),a=n.stack.split(\"\\n\"),s=-1,c=-1,p=0;p<o.length;++p){var l=u(o[p]);if(l){r=l.fileName,s=l.line;break}}for(var p=0;p<a.length;++p){var l=u(a[p]);if(l){i=l.fileName,c=l.line;break}}0>s||0>c||!r||!i||r!==i||s>=c||(g=function(e){if(d.test(e))return!0;var t=u(e);return!!(t&&t.fileName===r&&s<=t.line&&t.line<=c)})}};var b,x=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():s(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,h=e,m=t;var n=Error.captureStackTrace;return g=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return h=/@/,m=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(m=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?s(t):t.toString()},null):(h=e,m=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}([]),w=function(){if(f.isNode)return function(e,t,n){return\"rejectionHandled\"===e?process.emit(e,n):process.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent(\"test\");e=n instanceof CustomEvent}catch(r){}if(!e)try{var i=document.createEvent(\"CustomEvent\");i.initCustomEvent(\"testingtheevent\",!1,!0,{}),self.dispatchEvent(i)}catch(r){t=!1}t&&(b=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent(\"CustomEvent\"),r.initCustomEvent(t,!1,!0,n)),r?!self.dispatchEvent(r):!1});var o={};return o.unhandledRejection=\"onunhandledRejection\".toLowerCase(),o.rejectionHandled=\"onrejectionHandled\".toLowerCase(),function(e,t,n){var r=o[e],i=self[r];return i?(\"rejectionHandled\"===e?i.call(self,n):i.call(self,t,n),!0):!1}}();return\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(p=function(e){console.warn(e)},f.isNode&&process.stderr.isTTY?p=function(e){process.stderr.write(\"\u001b[31m\"+e+\"\u001b[39m\\n\")}:f.isNode||\"string\"!=typeof(new Error).stack||(p=function(e){console.warn(\"%c\"+e,\"color: red\")})),t}},{\"./async.js\":316,\"./util.js\":352}],322:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t,n){this._instances=e,this._callback=t,this._promise=n}function r(e,t){var n={},r=a(e).call(n,t);if(r===s)return r;var i=c(n);return i.length?(s.e=new u(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"),s):r}var i=e(\"./util.js\"),o=e(\"./errors.js\"),a=i.tryCatch,s=i.errorObj,c=e(\"./es5.js\").keys,u=o.TypeError;return n.prototype.doFilter=function(e){for(var n=this._callback,i=this._promise,o=i._boundValue(),c=0,u=this._instances.length;u>c;++c){var p=this._instances[c],l=p===Error||null!=p&&p.prototype instanceof Error;if(l&&e instanceof p){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}if(\"function\"==typeof p&&!l){var d=r(p,e);if(d===s){e=s.e;break}if(d){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}}}return t.e=e,t},n}},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],323:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){function r(){this._trace=new t(o())}function i(){return n()?new r:void 0}function o(){var e=a.length-1;return e>=0?a[e]:void 0}var a=[];return r.prototype._pushContext=function(){n()&&void 0!==this._trace&&a.push(this._trace)},r.prototype._popContext=function(){n()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=o,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,i}},{}],324:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r,i,o=t._getDomain,a=e(\"./async.js\"),s=e(\"./errors.js\").Warning,c=e(\"./util.js\"),u=c.canAttachTrace,p=c.isNode&&(!!process.env.BLUEBIRD_DEBUG||\"development\"===process.env.NODE_ENV);return c.isNode&&0==process.env.BLUEBIRD_DEBUG&&(p=!1),p&&a.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0===(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),a.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent(\"rejectionHandled\",r,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent(\"unhandledRejection\",i,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return p&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(p&&u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);c.notEnumerableProp(e,\"stack\",i.message+\"\\n\"+i.stack.join(\"\\n\")),c.notEnumerableProp(e,\"__stackCleaned__\",!0)}}},t.prototype._warn=function(e){var t=new s(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+\"\\n\"+i.stack.join(\"\\n\")}n.formatAndLogError(t,\"\")},t.onPossiblyUnhandledRejection=function(e){var t=o();i=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(a.haveItemsQueued()&&p===!1)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/DT1qyG\\n\");p=n.isSupported(),p&&a.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return p&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},p=!1),function(){return p}}},{\"./async.js\":316,\"./errors.js\":327,\"./util.js\":352}],325:[function(e,t,n){\"use strict\";var r=e(\"./util.js\"),i=r.isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},r=function(){},o=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return void 0===n?this.then(r):i(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return void 0===e?this.then(o):i(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],326:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],327:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5.js\"),c=s.freeze,u=e(\"./util.js\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),l(Error,\"__BluebirdErrorTypes__\",x)),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5.js\":328,\"./util.js\":352}],328:[function(e,t,n){arguments[4][27][0].apply(n,arguments)},{dup:27}],329:[function(e,t,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],330:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(){return this}function o(){throw this}function a(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,n){var r;return r=f(t)?n?a(t):s(t):n?i:o,e._then(r,d,void 0,t,void 0)}function u(e){var i=this.promise,o=this.handler,a=i._isBound()?o.call(i._boundValue()):o();if(void 0!==a){var s=r(a,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(n.e=e,n):e}function p(e){var n=this.promise,i=this.handler,o=n._isBound()?i.call(n._boundValue(),e):i(e);if(void 0!==o){var a=r(o,n);if(a instanceof t)return a=a._target(),c(a,e,!0)}return e}var l=e(\"./util.js\"),f=l.isPrimitive,d=l.thrower;t.prototype._passThroughHandler=function(e,t){if(\"function\"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:p,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{\"./util.js\":352}],331:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=l(n[o])(e);if(r._popContext(),a===p){r._pushContext();var s=t.reject(p.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function a(e,n,i,o){var a=this._promise=new t(r);a._captureStackTrace(),this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(f):f}var s=e(\"./errors.js\"),c=s.TypeError,u=e(\"./util.js\"),p=u.errorObj,l=u.tryCatch,f=[];a.prototype.promise=function(){return this._promise},a.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},a.prototype._continue=function(e){if(e===p)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(e.done===!0)this._promise._resolveCallback(n);else{var r=i(n,this._promise);if(!(r instanceof t)&&(r=o(r,this._yieldHandlers,this._promise),null===r))return void this._throw(new c(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/4Y4pDk\\n\\n\".replace(\"%s\",n)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));r._then(this._next,this._throw,void 0,this,null)}},a.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},a.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new c(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var n=Object(t).yieldHandler,r=a,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i);return o._generator=t,o._next(void 0),o.promise()}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new c(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");f.push(e)},t.spawn=function(e){if(\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var r=new a(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors.js\":327,\"./util.js\":352}],332:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util.js\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){for(var t=[],n=1;e>=n;++n)t.push(\"holder.p\"+n);return new Function(\"holder\",\"                                      \\n            'use strict';                                                    \\n            var callback = holder.fn;                                        \\n            return callback(values);                                         \\n            \".replace(/values/g,t.join(\", \")))},f=[],d=[void 0],h=1;5>=h;++h)f.push(p(h)),d.push(l(h));var m=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};m.prototype.callers=d,m.prototype.checkFulfillment=function(e){var t=this.now;t++;var n=this.total;if(t>=n){var r=this.callers[n];e._pushContext();var i=c(r)(this);e._popContext(),i===u?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],6>a&&s)){var c=new t(i);c._captureStackTrace();for(var u=new m(a,e),p=f,l=0;a>l;++l){var d=r(arguments[l],c);d instanceof t?(d=d._target(),d._isPending()?d._then(p[l],o,void 0,c,u):d._isFulfilled()?p[l].call(c,d._value(),u):c._reject(d._reason())):p[l].call(c,d,u)}return c}for(var h=arguments.length,v=new Array(h),g=0;h>g;++g)v[g]=arguments[g];e&&v.pop();var c=new n(v).promise();return void 0!==e?c.spread(e):c}}},{\"./util.js\":352}],333:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:m,p.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,n,r){var i=\"object\"==typeof n&&null!==n?n.concurrency:0;return i=\"number\"==typeof i&&isFinite(i)&&i>=1?i:0,new a(e,t,i,r)}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj,h={},m=[];l.inherits(a,n),a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===h){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var p=f(c).call(u,e,n,o);if(this._promise._popContext(),p===d)return this._reject(p.e);var l=i(p,this._promise);if(l instanceof t){if(l=l._target(),l._isPending())return s>=1&&this._inFlight++,r[n]=h,l._proxyPromiseArray(this,n);if(!l._isFulfilled())return this._reject(l._reason());p=l._value()}r[n]=p}var m=++this._totalResolved;m>=o&&(null!==a?this._filter(r,a):this._resolve(r))},a.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return\"function\"!=typeof e?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(this,e,t,null).promise()},t.map=function(e,t,n,i){return\"function\"!=typeof t?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(e,t,n,i).promise()}}},{\"./async.js\":316,\"./util.js\":352}],334:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util.js\"),a=o.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e,r,s){if(\"function\"!=typeof e)return i(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var c=new t(n);c._captureStackTrace(),c._pushContext();var u=o.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{\"./util.js\":352}],335:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=n._target(),i=r._getCarriedStackTrace();i.cause=e,e=i}var o=s(t).call(n._boundValue(),e);o===c&&a.throwLater(o.e)}var o=e(\"./util.js\"),a=e(\"./async.js\"),s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./async.js\":316,\"./util.js\":352}],336:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r=e(\"./util.js\"),i=e(\"./async.js\"),o=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,i=e.handler,s=e.promise,c=e.receiver,u=o(i).call(c,n);if(u===a){if(null!=u.e&&\"StopProgressPropagation\"!==u.e.name){var p=r.canAttachTrace(u.e)?u.e:new Error(r.toString(u.e));s._attachExtraTrace(p),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),o=this._progress,a=0;r>a;a++){var s=this._progressHandlerAt(a),c=this._promiseAt(a);if(c instanceof t)\"function\"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(a),value:e}):i.invoke(o,c,e);else{var u=this._receiverAt(a);\"function\"==typeof s?s.call(u,e,c):u instanceof n&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{\"./async.js\":316,\"./util.js\":352}],337:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){if(\"function\"!=typeof e)throw new l(\"the promise constructor requires a resolver function\\n\\n    See http://goo.gl/EC22Yn\\n\");if(this.constructor!==t)throw new l(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/KsIlge\\n\");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==f&&this._resolveFromResolver(e)}function n(e){var n=new t(f);n._fulfillmentHandler0=e,n._rejectionHandler0=e,n._progressHandler0=e,n._promise0=e,n._receiver0=e,n._settledValue=e}var r,i=function(){return new l(\"circular promise resolution chain\\n\\n    See http://goo.gl/LhFpo0\\n\")},o=function(){return new t.PromiseInspection(this._target())},a=function(e){return t.reject(new l(e))},s=e(\"./util.js\");r=s.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(t,\"_getDomain\",r);var c={},u=e(\"./async.js\"),p=e(\"./errors.js\"),l=t.TypeError=p.TypeError;t.RangeError=p.RangeError,t.CancellationError=p.CancellationError,t.TimeoutError=p.TimeoutError,t.OperationalError=p.OperationalError,t.RejectionError=p.OperationalError,t.AggregateError=p.AggregateError;var f=function(){},d={},h={e:null},m=e(\"./thenables.js\")(t,f),v=e(\"./promise_array.js\")(t,f,m,a),g=e(\"./captured_trace.js\")(),y=e(\"./debuggability.js\")(t,g),b=e(\"./context.js\")(t,g,y),x=e(\"./catch_filter.js\")(h),w=e(\"./promise_resolver.js\"),_=w._nodebackForPromise,k=s.errorObj,j=s.tryCatch;return t.prototype.toString=function(){return\"[object Promise]\"},t.prototype.caught=t.prototype[\"catch\"]=function(e){var n=arguments.length;if(n>1){var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var a=arguments[r];if(\"function\"!=typeof a)return t.reject(new l(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"));i[o++]=a}i.length=o,e=arguments[r];var s=new x(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},t.prototype.reflect=function(){return this._then(o,o,void 0,this,void 0)},t.prototype.then=function(e,t,n){if(y()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var r=\".then() only accepts functions but was passed: \"+s.classString(e);arguments.length>1&&(r+=\", \"+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},t.prototype.done=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);r._setIsFinal()},t.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,d,void 0)},t.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},t.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},t.prototype.all=function(){return new v(this).promise()},t.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},t.is=function(e){return e instanceof t},t.fromNode=function(e){var n=new t(f),r=j(e)(_(n));return r===k&&n._rejectCallback(r.e,!0,!0),n},t.all=function(e){return new v(e).promise()},t.defer=t.pending=function(){var e=new t(f);return new w(e)},t.cast=function(e){var n=m(e);if(!(n instanceof t)){var r=n;n=new t(f),n._fulfillUnchecked(r)}return n},t.resolve=t.fulfilled=t.cast,t.reject=t.rejected=function(e){var n=new t(f);return n._captureStackTrace(),n._rejectCallback(e,!0),n},t.setScheduler=function(e){if(\"function\"!=typeof e)throw new l(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var t=u._schedule;return u._schedule=e,t},t.prototype._then=function(e,n,i,o,a){var s=void 0!==a,c=s?a:new t(f);s||(c._propagateFrom(this,5),c._captureStackTrace());var p=this._target();p!==this&&(void 0===o&&(o=this._boundTo),s||c._setIsMigrated());var l=p._addCallbacks(e,n,i,c,o,r());return p._isResolved()&&!p._isSettlePromisesQueued()&&u.invoke(p._settlePromiseAtPostResolution,p,l),c},t.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},t.prototype._length=function(){return 131071&this._bitField},t.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},t.prototype._isFollowing=function(){return 536870912===(536870912&this._bitField)},t.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},t.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},t.prototype._setRejected=function(){this._bitField=134217728|this._bitField},t.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},t.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},t.prototype._isFinal=function(){return(33554432&this._bitField)>0},t.prototype._cancellable=function(){return(67108864&this._bitField)>0},t.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},t.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},t.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},t.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},t.prototype._isMigrated=function(){return(4194304&this._bitField)>0},t.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},t.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},t.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},t.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},t.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e},t.prototype._migrateCallbacks=function(e,n){var r=e._fulfillmentHandlerAt(n),i=e._rejectionHandlerAt(n),o=e._progressHandlerAt(n),a=e._promiseAt(n),s=e._receiverAt(n);a instanceof t&&a._setIsMigrated(),void 0===s&&(s=c),this._addCallbacks(r,i,o,a,s,null)},t.prototype._addCallbacks=function(e,t,n,r,i,o){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==i&&(this._receiver0=i),\"function\"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===o?e:o.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===o?t:o.bind(t)),\"function\"==typeof n&&(this._progressHandler0=null===o?n:o.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=i,\"function\"==typeof e&&(this[s+0]=null===o?e:o.bind(e)),\"function\"==typeof t&&(this[s+1]=null===o?t:o.bind(t)),\"function\"==typeof n&&(this[s+2]=null===o?n:o.bind(n))}return this._setLength(a+1),a},t.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},t.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},t.prototype._resolveCallback=function(e,n){if(!this._isFollowingOrFulfilledOrRejected()){\nif(e===this)return this._rejectCallback(i(),!1,!0);var r=m(e,this);if(!(r instanceof t))return this._fulfill(e);var o=1|(n?4:0);this._propagateFrom(r,o);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;s>c;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},t.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),i=r===e;this._attachExtraTrace(r,t?i:!1),this._reject(e,i?void 0:r)},t.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=j(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,n),t=null)});n=!1,this._popContext(),void 0!==r&&r===k&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},t.prototype._settlePromiseFromHandler=function(e,t,n,r){if(!r._isRejected()){r._pushContext();var o;if(o=t!==d||this._isRejected()?j(e).call(t,n):j(e).apply(this._boundValue(),n),r._popContext(),o===k||o===r||o===h){var a=o===r?i():o.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(o)}},t.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},t.prototype._followee=function(){return this._rejectionHandler0},t.prototype._setFollowee=function(e){this._rejectionHandler0=e},t.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},t.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},t.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},t.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},t.prototype._settlePromiseAt=function(e){var n=this._promiseAt(e),r=n instanceof t;if(r&&n._isMigrated())return n._unsetIsMigrated(),u.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,a=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),\"function\"==typeof i?r?this._settlePromiseFromHandler(i,s,a,n):i.call(s,a,n):s instanceof v?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(a,n):s._promiseRejected(a,n)):r&&(this._isFulfilled()?n._fulfill(a):n._reject(a,o)),e>=4&&4===(31&e)&&u.invokeLater(this._setLength,this,0)},t.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},t.prototype._isSettlePromisesQueued=function(){return-1073741824===(-1073741824&this._bitField)},t.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},t.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},t.prototype._queueSettlePromises=function(){u.settlePromises(this),this._setSettlePromisesQueued()},t.prototype._fulfillUnchecked=function(e){if(e===this){var t=i();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},t.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},t.prototype._rejectUnchecked=function(e,t){if(e===this){var n=i();return this._attachExtraTrace(n),this._rejectUnchecked(n)}return this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?void u.throwLater(function(e){throw\"stack\"in e&&u.invokeFirst(g.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),void(this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled()))},t.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;e>t;t++)this._settlePromiseAt(t)},s.notEnumerableProp(t,\"_makeSelfResolutionError\",i),e(\"./progress.js\")(t,v),e(\"./method.js\")(t,f,m,a),e(\"./bind.js\")(t,f,m),e(\"./finally.js\")(t,h,m),e(\"./direct_resolve.js\")(t),e(\"./synchronous_inspection.js\")(t),e(\"./join.js\")(t,v,m,f),t.Promise=t,e(\"./map.js\")(t,v,a,m,f),e(\"./cancel.js\")(t),e(\"./using.js\")(t,a,m,b),e(\"./generators.js\")(t,a,f,m),e(\"./nodeify.js\")(t),e(\"./call_get.js\")(t),e(\"./props.js\")(t,v,m,a),e(\"./race.js\")(t,f,m,a),e(\"./reduce.js\")(t,v,a,m,f),e(\"./settle.js\")(t,v),e(\"./some.js\")(t,v,a),e(\"./promisify.js\")(t,f),e(\"./any.js\")(t),e(\"./each.js\")(t,f),e(\"./timers.js\")(t,f),e(\"./filter.js\")(t,f),s.toFastProperties(t),s.toFastProperties(t.prototype),n({a:1}),n({b:2}),n({c:3}),n(1),n(function(){}),n(void 0),n(!1),n(new t(f)),g.setBounds(u.firstLineError,s.lastLineError),t}},{\"./any.js\":315,\"./async.js\":316,\"./bind.js\":317,\"./call_get.js\":319,\"./cancel.js\":320,\"./captured_trace.js\":321,\"./catch_filter.js\":322,\"./context.js\":323,\"./debuggability.js\":324,\"./direct_resolve.js\":325,\"./each.js\":326,\"./errors.js\":327,\"./filter.js\":329,\"./finally.js\":330,\"./generators.js\":331,\"./join.js\":332,\"./map.js\":333,\"./method.js\":334,\"./nodeify.js\":335,\"./progress.js\":336,\"./promise_array.js\":338,\"./promise_resolver.js\":339,\"./promisify.js\":340,\"./props.js\":341,\"./race.js\":343,\"./reduce.js\":344,\"./settle.js\":346,\"./some.js\":347,\"./synchronous_inspection.js\":348,\"./thenables.js\":349,\"./timers.js\":350,\"./using.js\":351,\"./util.js\":352}],338:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){switch(e){case-2:return[];case-3:return{}}}function a(e){var r,i=this._promise=new t(n);e instanceof t&&(r=e,i._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e(\"./util.js\"),c=s.isArray;return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function u(e,n){var a=r(this._values,this._promise);if(a instanceof t){if(a=a._target(),this._values=a,!a._isFulfilled())return a._isPending()?void a._then(u,this._reject,void 0,this,n):void this._reject(a._reason());if(a=a._value(),!c(a)){var s=new t.TypeError(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");return void this.__hardReject__(s)}}else if(!c(a))return void this._promise._reject(i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\")._reason());if(0===a.length)return void(-5===n?this._resolveEmptyArray():this._resolve(o(n)));var p=this.getActualLength(a.length);this._length=p,this._values=this.shouldCopyValues()?new Array(p):this._values;for(var l=this._promise,f=0;p>f;++f){var d=this._isResolved(),h=r(a[f],l);h instanceof t?(h=h._target(),d?h._ignoreRejections():h._isPending()?h._proxyPromiseArray(this,f):h._isFulfilled()?this._promiseFulfilled(h._value(),f):this._promiseRejected(h._reason(),f)):d||this._promiseFulfilled(h,f)}},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{\"./util.js\":352}],339:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&d.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new l(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=d.keys(e),i=0;i<n.length;++i){var o=n[i];h.test(o)||(t[o]=e[o])}return t}return s.markAsOriginatingFromRejection(e),e}function o(e){return function(t,n){if(null!==e){if(t){var r=i(c(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;o>s;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}var a,s=e(\"./util.js\"),c=s.maybeWrapAsError,u=e(\"./errors.js\"),p=u.TimeoutError,l=u.OperationalError,f=s.haveGetters,d=e(\"./es5.js\"),h=/^(?:name|message|stack|cause)$/;if(a=f?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=o(e),this.callback=this.asCallback},f){var m={get:function(){return o(this.promise)}};d.defineProperty(a.prototype,\"asCallback\",m),d.defineProperty(a.prototype,\"callback\",m)}a._nodebackForPromise=o,a.prototype.toString=function(){return\"[object PromiseResolver]\"},a.prototype.resolve=a.prototype.fulfill=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._resolveCallback(e)},a.prototype.reject=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._rejectCallback(e)},a.prototype.progress=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._progress(e)},a.prototype.cancel=function(e){this.promise.cancel(e)},a.prototype.timeout=function(){this.reject(new p(\"timeout\"))},a.prototype.isResolved=function(){return this.promise.isResolved()},a.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=a},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],340:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/iWrZbw\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o){function a(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof c&&this!==s?this[c]:e,u=h(o);try{a.apply(i,m(arguments,u))}catch(p){o._rejectCallback(v(p),!0,!0)}return o}var s=function(){return this}(),c=e;return\"string\"==typeof c&&(e=o),d.notEnumerableProp(a,\"__isPromisified__\",!0),a}function u(e,t,n,r){for(var i=new RegExp(j(t)+\"$\"),o=s(e,t,i,n),a=0,c=o.length;c>a;a+=2){var u=o[a],p=o[a+1],l=u+t;if(r===C)e[l]=C(u,f,u,p,t);else{var h=r(p,function(){return C(u,f,u,p,t)});d.notEnumerableProp(h,\"__isPromisified__\",!0),e[l]=h}}return d.toFastProperties(e),e}function p(e,t){return C(e,t,void 0,e)}var l,f={},d=e(\"./util.js\"),h=e(\"./promise_resolver.js\")._nodebackForPromise,m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o){function a(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=p?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function s(){for(var e=\"\",t=0;t<u.length;++t)e+=\"case \"+u[t]+\":\"+a(u[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",p?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var c=Math.max(0,A(o)-1),u=S(c),p=\"string\"==typeof e||r===f,l=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\";return new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",\"'use strict';                            \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise);                      \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n        \".replace(\"Parameters\",O(c)).replace(\"[CodeForSwitchCase]\",s()).replace(\"[GetFunctionCode]\",l))(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");if(i(e))return e;var n=p(e,arguments.length<2?f:t);return d.copyDescriptors(e,n,r),n},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/9ITlV0\\n\");t=Object(t);var n=t.suffix;\"string\"!=typeof n&&(n=b);var r=t.filter;\"function\"!=typeof r&&(r=k);var i=t.promisifier;if(\"function\"!=typeof i&&(i=C),!d.isIdentifier(n))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/8FZo5V\\n\");for(var o=d.inheritedDataKeys(e),a=0;a<o.length;++a){var s=e[o[a]];\"constructor\"!==o[a]&&d.isClass(s)&&(u(s.prototype,n,r,i),u(s,n,r,i))}return u(e,n,r,i)}}},{\"./errors\":327,\"./promise_resolver.js\":339,\"./util.js\":352}],341:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var t=u.keys(e),n=t.length,r=new Array(2*n),i=0;n>i;++i){var o=t[i];r[i]=e[o],r[i+n]=o}this.constructor$(r)}function a(e){var n,a=r(e);return c(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,4),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/OsFKC8\\n\")}var s=e(\"./util.js\"),c=s.isObject,u=e(\"./es5.js\");s.inherits(o,n),o.prototype._init=function(){this._init$(void 0,-3)},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){for(var r={},i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o];this._resolve(r)}},o.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5.js\":328,\"./util.js\":352}],342:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{dup:40}],343:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(!a(e))return i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");var u=new t(n);void 0!==o&&u._propagateFrom(o,5);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util.js\").isArray,s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util.js\":352}],344:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,n,r,a){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=a===o?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(r,this._promise),l=!1,f=c instanceof t;f&&(c=c._target(),c._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),l=!0)),f||this._zerothIsAccum||(this._gotAccum=!0);var d=u();this._callback=null===d?n:d.bind(n),this._accum=r,l||p.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var o=new a(e,t,n,i);return o.promise()}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj;l.inherits(a,n),a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},a.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var o,a=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),o=0;a>o;++o)p[o]=0;if(o=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,p[n]=0===o?1:2):-1===n?(this._accum=e,this._gotAccum=u=!0):0===o?p[n]=1:(p[n]=2,this._accum=e),u){for(var l,h=this._callback,m=this._promise._boundValue(),v=this._reducingIndex;a>v;++v)if(o=p[v],2!==o){if(1!==o)return;if(e=r[v],this._promise._pushContext(),c?(s.push(e),l=f(h).call(m,e,v,a)):l=f(h).call(m,this._accum,e,v,a),this._promise._popContext(),l===d)return this._reject(l.e);var g=i(l,this._promise);if(g instanceof t){if(g=g._target(),g._isPending())return p[v]=4,g._proxyPromiseArray(this,v);if(!g._isFulfilled())return this._reject(g._reason());l=g._value()}this._reducingIndex=v+1,this._accum=l}else this._reducingIndex=v+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,n,r){return c(e,t,n,r)}}},{\"./async.js\":316,\"./util.js\":352}],345:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")};if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=n.setImmediate,s=process.nextTick;r=i.isRecentNode?function(e){a.call(n,e)}:function(e){s.call(process,e)}}else\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?r=\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:(r=function(e){var t=document.createElement(\"div\"),n=new MutationObserver(e);return n.observe(t,{attributes:!0}),function(){t.classList.toggle(\"foo\")}},r.isStatic=!0);t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":352}],346:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){this.constructor$(e)}var i=t.PromiseInspection,o=e(\"./util.js\");o.inherits(r,n),r.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},r.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},r.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new r(e).promise()},t.prototype.settle=function(){return new r(this).promise()}}},{\"./util.js\":352}],347:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/1wAmHx\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util.js\"),s=e(\"./errors.js\").RangeError,c=e(\"./errors.js\").AggregateError,u=a.isArray;a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors.js\":327,\"./util.js\":352}],348:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0===(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],349:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(u(e)){if(e instanceof t)return e;if(o(e)){var p=new t(n);return e._then(p._fulfillUnchecked,p._rejectUncheckedCheckError,p._progressUnchecked,p,null),p}var l=s.tryCatch(i)(e);if(l===c){r&&r._pushContext();var p=t.reject(l.e);return r&&r._popContext(),p}if(\"function\"==typeof l)return a(e,l,r)}return e}function i(e){return e.then}function o(e){return p.call(e,\"_promise0\")}function a(e,r,i){function o(e){p&&(p._resolveCallback(e),p=null)}function a(e){p&&(p._rejectCallback(e,f,!0),p=null)}function u(e){p&&\"function\"==typeof p._progress&&p._progress(e)}var p=new t(n),l=p;i&&i._pushContext(),p._captureStackTrace(),i&&i._popContext();var f=!0,d=s.tryCatch(r).call(e,o,a,u);return f=!1,p&&d===c&&(p._rejectCallback(d.e,!0,!0),p=null),l}var s=e(\"./util.js\"),c=s.errorObj,u=s.isObject,p={}.hasOwnProperty;return r}},{\"./util.js\":352}],350:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var o=e(\"./util.js\"),a=t.TimeoutError,s=function(e,t){if(e.isPending()){var n;!o.isPrimitive(t)&&t instanceof Error?n=t:(\"string\"!=typeof t&&(t=\"operation timed out\"),n=new a(t)),o.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var i=new t(n);return setTimeout(function(){i._fulfill()},r),i}return r=+r,t.resolve(e)._then(c,null,null,r,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var o=setTimeout(function(){s(n,t)},e);return n._then(r,i,void 0,o,void 0)}}},{\"./util.js\":352}],351:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var n=e.length,r=0;n>r;++r){var i=e[r];if(i.isRejected())return t.reject(i.error());e[r]=i._settledValue}return e}function a(e){setTimeout(function(){throw e},0)}function s(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,n){function i(){if(o>=c)return u.resolve();var p=s(e[o++]);if(p instanceof t&&p._isDisposable()){try{p=r(p._getDisposer().tryDispose(n),e.promise)}catch(l){return a(l)}if(p instanceof t)return p._then(i,a,null,null,null)}i()}var o=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new v;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function p(e){var t=new v;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function f(e,t,n){this.constructor$(e,t,n)}function d(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var h=e(\"./errors.js\").TypeError,m=e(\"./util.js\").inherits,v=t.PromiseInspection;l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},m(f,l),f.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var a,s=!0;2===e&&Array.isArray(arguments[0])?(a=arguments[0],e=a.length,s=!1):(a=arguments,e--);for(var c=new Array(e),f=0;e>f;++f){var h=a[f];if(l.isDisposer(h)){var m=h;h=h.promise(),h._setDisposable(m)}else{var v=r(h);v instanceof t&&(h=v._then(d,null,null,{resources:c,index:f},void 0))}c[f]=h}var g=t.settle(c).then(o).then(function(e){g._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{g._popContext()}return t})._then(u,p,void 0,c,void 0);return c.promise=g,g},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new f(e,this,i());throw new h}}},{\"./errors.js\":327,\"./util.js\":352}],352:[function(e,t,n){\"use strict\";function r(){try{var e=E;return E=null,e.apply(this,arguments)}catch(t){return S.e=t,S}}function i(e){return E=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return!o(e)}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!_.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return _.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=_.names(e.prototype),n=_.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=C.test(e+\"\")&&_.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return T.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){try{p(e,\"isOperational\",!0)}catch(t){}}function y(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function b(e){return e instanceof Error&&_.propertyIsWritable(e,\"stack\")}function x(e){return{}.toString.call(e)}\nfunction w(e,t,n){for(var r=_.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{_.defineProperty(t,o,_.getDescriptor(e,o))}catch(a){}}}var _=e(\"./es5.js\"),k=\"undefined\"==typeof navigator,j=function(){try{var e={};return _.defineProperty(e,\"f\",{get:function(){return 3}}),3===e.f}catch(t){return!1}}(),S={e:{}},E,O=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},A=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(_.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=_.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),C=/this\\s*\\.\\s*\\S+\\s*=/,T=/^[a-z$_][a-z$_0-9]*$/i,I=function(){return\"stack\"in new Error?function(e){return b(e)?e:new Error(v(e))}:function(e){if(b(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),P={isClass:f,isIdentifier:h,inheritedDataKeys:A,getDataPropertyOrDefault:u,thrower:l,isArray:_.isArray,haveGetters:j,notEnumerableProp:p,isPrimitive:o,isObject:a,canEvaluate:k,errorObj:S,tryCatch:i,inherits:O,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:b,ensureErrorObject:I,originatesFromRejection:y,markAsOriginatingFromRejection:g,classString:x,copyDescriptors:w,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:\"undefined\"!=typeof process&&\"[object process]\"===x(process).toLowerCase()};P.isRecentNode=P.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),P.isNode&&P.toFastProperties(process);try{throw new Error}catch(F){P.lastLineError=F}t.exports=P},{\"./es5.js\":328}],353:[function(e,t,n){t.exports=n=e(\"./lib/sliced\")},{\"./lib/sliced\":354}],354:[function(e,t,n){t.exports=function(e,t,n){var r=[],i=e.length;if(0===i)return r;var o=0>t?Math.max(0,t+i):t||0;for(void 0!==n&&(i=0>n?n+i:n);i-- >o;)r[i-o]=e[i];return r}},{}],355:[function(e,t,n){function r(e){if(e=\"\"+e,!(e.length>1e4)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||\"ms\").toLowerCase();switch(r){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return n*l;case\"days\":case\"day\":case\"d\":return n*p;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*u;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*c;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n}}}}function i(e){return e>=p?Math.round(e/p)+\"d\":e>=u?Math.round(e/u)+\"h\":e>=c?Math.round(e/c)+\"m\":e>=s?Math.round(e/s)+\"s\":e+\"ms\"}function o(e){return a(e,p,\"day\")||a(e,u,\"hour\")||a(e,c,\"minute\")||a(e,s,\"second\")||e+\" ms\"}function a(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}var s=1e3,c=60*s,u=60*c,p=24*u,l=365.25*p;t.exports=function(e,t){return t=t||{},\"string\"==typeof e?r(e):t[\"long\"]?o(e):i(e)}},{}],356:[function(e,t,n){function r(e){return this instanceof r?void(this.request=e):new r(e)}var i=e(\"./lib/charset\"),o=e(\"./lib/encoding\"),a=e(\"./lib/language\"),s=e(\"./lib/mediaType\");t.exports=r,r.Negotiator=r,r.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},r.prototype.charsets=function(e){return i(this.request.headers[\"accept-charset\"],e)},r.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},r.prototype.encodings=function(e){return o(this.request.headers[\"accept-encoding\"],e)},r.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},r.prototype.languages=function(e){return a(this.request.headers[\"accept-language\"],e)},r.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},r.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},r.prototype.preferredCharset=r.prototype.charset,r.prototype.preferredCharsets=r.prototype.charsets,r.prototype.preferredEncoding=r.prototype.encoding,r.prototype.preferredEncodings=r.prototype.encodings,r.prototype.preferredLanguage=r.prototype.language,r.prototype.preferredLanguages=r.prototype.languages,r.prototype.preferredMediaType=r.prototype.mediaType,r.prototype.preferredMediaTypes=r.prototype.mediaTypes},{\"./lib/charset\":357,\"./lib/encoding\":358,\"./lib/language\":359,\"./lib/mediaType\":360}],357:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{charset:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.charset});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredCharsets=s},{}],358:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=!1,r=1,o=0,s=0;o<t.length;o++){var c=i(t[o].trim(),o);c&&(t[s++]=c,n=n||a(\"identity\",c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:\"identity\",q:r,i:o}),t.length=s,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{encoding:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.encoding)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.encoding});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredEncodings=s},{}],359:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)(?:-(\\S+?))?\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=n[2],o=r;i&&(o+=\"-\"+i);var a=1;if(n[3])for(var s=n[3].split(\";\"),t=0;t<s.length;t++){var c=s[t].split(\"=\");\"q\"===c[0]&&(a=parseFloat(c[1]))}return{prefix:r,suffix:i,q:a,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e);if(!r)return null;var o=0;if(t.full.toLowerCase()===r.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())o|=1;else if(\"*\"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredLanguages=s},{}],360:[function(e,t,n){function r(e){for(var t=l(e),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/\\s*(\\S+?)\\/([^;\\s]+)\\s*(?:;(.*))?/);if(!n)return null;var r=n[1],i=n[2],o=\"\"+r+\"/\"+i,a={},s=1;return n[3]&&(a=n[3].split(\";\").map(function(e){return e.trim().split(\"=\")}).reduce(function(e,t){var n=t[0].toLowerCase(),r=t[1];return e[n]=r&&'\"'===r[0]&&'\"'===r[r.length-1]?r.substr(1,r.length-2):r,e},a),null!=a.q&&(s=parseFloat(a.q),delete a.q)),{type:r,subtype:i,params:a,q:s,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e),o=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())o|=4;else if(\"*\"!=t.type)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())o|=2;else if(\"*\"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return\"*\"==t.params[e]||(t.params[e]||\"\").toLowerCase()==(r.params[e]||\"\").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*/*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}function p(e){for(var t=0,n=0;-1!==(n=e.indexOf('\"',n));)t++,n++;return t}function l(e){for(var t=e.split(\",\"),n=1,r=0;n<t.length;n++)p(t[r])%2==0?t[++r]=t[n]:t[r]+=\",\"+t[n];return t.length=r+1,t}t.exports=s,s.preferredMediaTypes=s},{}],361:[function(e,t,n){(function(n){!function(r){\"use strict\";function i(){var e=r.crypto||r.msCrypto;if(!p&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=p=function(){return e.getRandomValues(t),t},p()}catch(n){}if(!p){var i=new Array(16);l=p=function(){for(var e,t=0;16>t;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},\"undefined\"!=typeof console&&console.warn&&console.warn(\"[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()\")}}function o(){if(\"function\"==typeof e)try{var t=e(\"crypto\").randomBytes;f=p=t&&function(){return t(16)},p()}catch(n){}}function a(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){16>i&&(t[r+i++]=g[e])});16>i;)t[r+i++]=0;return t}function s(e,t){var n=t||0,r=v;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}function c(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=null!=e.clockseq?e.clockseq:w,a=null!=e.msecs?e.msecs:(new Date).getTime(),c=null!=e.nsecs?e.nsecs:k+1,u=a-_+(c-k)/1e4;if(0>u&&null==e.clockseq&&(o=o+1&16383),(0>u||a>_)&&null==e.nsecs&&(c=0),c>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");_=a,k=c,w=o,a+=122192928e5;var p=(1e4*(268435455&a)+c)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var l=a/4294967296*1e4&268435455;i[r++]=l>>>8&255,i[r++]=255&l,i[r++]=l>>>24&15|16,i[r++]=l>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=e.node||x,d=0;6>d;d++)i[r+d]=f[d];return t?t:s(i)}function u(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new m(16):null,e=null),e=e||{};var i=e.random||(e.rng||p)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;16>o;o++)t[r+o]=i[o];return t||s(i)}var p,l,f,d,h;r?i():o();for(var m=\"function\"==typeof n?n:Array,v=[],g={},y=0;256>y;y++)v[y]=(y+256).toString(16).substr(1),g[v[y]]=y;var b=p(),x=[1|b[0],b[1],b[2],b[3],b[4],b[5]],w=16383&(b[6]<<8|b[7]),_=0,k=0,j=u;j.v1=c,j.v4=u,j.parse=a,j.unparse=s,j.BufferClass=m,j._rng=p,j._mathRNG=l,j._nodeRNG=f,j._whatwgRNG=d,\"undefined\"!=typeof t&&t.exports?t.exports=j:\"function\"==typeof define&&define.amd?define(function(){return j}):(h=r.uuid,j.noConflict=function(){return r.uuid=h,j},r.uuid=j)}(\"undefined\"!=typeof window?window:null)}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0}],362:[function(e,t,n){function r(e,t){return d.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return d.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else if(\"object\"==typeof n)for(var o in n)r.push([t+\"[\"+o+\"]\",n[o]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t){var n=[e||\"\",t||\"\"].map(o).join(\"&\");return n}function f(e,t,n,r,i,o){var a,s=1;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;case\"PLAINTEXT\":a=l,s=4;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,s))}var d=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.plaintext=l,n.sign=f,n.rfc3986=o,n.generateBase=c},{crypto:void 0,querystring:void 0}],363:[function(e,t,n){\"use strict\";function r(e,t){return i(e)!==!1?(p(t,null,e),e):(a(e,t),e)}function i(e){var t=e.socket;return\"boolean\"==typeof e.finished?Boolean(e.finished||t&&!t.writable):\"boolean\"==typeof e.complete?Boolean(e.upgrade||!t||!t.readable||e.complete&&!e.readable):void 0}function o(e,t){function n(e){i.cancel(),o.cancel(),a=!0,t(e)}function r(t){e.removeListener(\"socket\",r),a||i===o&&(o=u([[t,\"error\",\"close\"]],n))}var i,o,a=!1;return i=o=u([[e,\"end\",\"finish\"]],n),e.socket?void r(e.socket):(e.on(\"socket\",r),void(void 0===e.socket&&c(e,r)))}function a(e,t){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=s(e),o(e,n)),n.queue.push(t)}function s(e){function t(n){if(e.__onFinished===t&&(e.__onFinished=null),t.queue){var r=t.queue;t.queue=null;for(var i=0;i<r.length;i++)r[i](n,e)}}return t.queue=[],t}function c(e,t){var n=e.assignSocket;\"function\"==typeof n&&(e.assignSocket=function(e){n.call(this,e),t(e)})}t.exports=r,t.exports.isFinished=i;var u=e(\"ee-first\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))}},{\"ee-first\":94}],364:[function(e,t,n){\"use strict\";function r(e){var t=e.url;if(void 0!==t){var n=e._parsedUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedUrl=n)}}function i(e){var t=e.originalUrl;if(\"string\"!=typeof t)return r(e);var n=e._parsedOriginalUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedOriginalUrl=n)}function o(e){var t=\"string\"==typeof e&&p.exec(e);if(t){var n=t[1],r=t[2]||null,i=void 0!==u?new u:{};return i.path=e,i.href=e,i.pathname=n,i.search=r,i.query=r&&r.substr(1),i}return c(e)}function a(e,t){return\"object\"==typeof t&&null!==t&&(void 0===u||t instanceof u)&&t._raw===e}var s=e(\"url\"),c=s.parse,u=s.Url,p=/^(\\/\\/?(?!\\/)[^\\?#\\s]*)(\\?[^#\\s]*)?$/;t.exports=r,t.exports.original=i},{url:void 0}],365:[function(e,t,n){var r=e(\"./strategy\");n=t.exports=r,n.Strategy=r},{\"./strategy\":366}],366:[function(e,t,n){function r(){}r.prototype.authenticate=function(e,t){throw new Error(\"Strategy#authenticate must be overridden by subclass\")},t.exports=r},{}],367:[function(e,t,n){function r(){this._key=\"passport\",this._strategies={},this._serializers=[],this._deserializers=[],this._infoTransformers=[],this._framework=null,this._userProperty=\"user\",this.init()}var i=e(\"./strategies/session\");r.prototype.init=function(){this.framework(e(\"./framework/connect\")()),this.use(new i)},r.prototype.use=function(e,t){if(t||(t=e,e=t.name),!e)throw new Error(\"Authentication strategies must have a name\");return this._strategies[e]=t,this},r.prototype.unuse=function(e){return delete this._strategies[e],this},r.prototype.framework=function(e){return this._framework=e,this},r.prototype.initialize=function(e){return e=e||{},this._userProperty=e.userProperty||\"user\",this._framework.initialize(this,e)},r.prototype.authenticate=function(e,t,n){return this._framework.authenticate(this,e,t,n)},r.prototype.authorize=function(e,t,n){t=t||{},t.assignProperty=\"account\";var r=this._framework.authorize||this._framework.authenticate;return r(this,e,t,n)},r.prototype.session=function(e){return this.authenticate(\"session\",e)},r.prototype.serializeUser=function(e,t,n){if(\"function\"==typeof e)return this._serializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._serializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s||0===s)return n(a,s);var u=i[e];if(!u)return n(new Error(\"Failed to serialize user into session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.deserializeUser=function(e,t,n){if(\"function\"==typeof e)return this._deserializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._deserializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);if(null===s||s===!1)return n(null,!1);var u=i[e];if(!u)return n(new Error(\"Failed to deserialize user out of session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.transformAuthInfo=function(e,t,n){if(\"function\"==typeof e)return this._infoTransformers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._infoTransformers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);var u=i[e];if(!u)return n(null,r);try{var p=u.length;if(1==p){var l=u(r);c(null,l)}else 3==p?u(t,r,c):u(r,c)}catch(f){return n(f)}}(0)},r.prototype._strategy=function(e){return this._strategies[e]},t.exports=r},{\"./framework/connect\":369,\"./strategies/session\":374}],368:[function(e,t,n){function r(e,t){Error.call(this),Error.captureStackTrace(this,arguments.callee),this.name=\"AuthenticationError\",this.message=e,this.status=t||401}r.prototype.__proto__=Error.prototype,t.exports=r},{}],369:[function(e,t,n){var r=e(\"../middleware/initialize\"),i=e(\"../middleware/authenticate\");n=t.exports=function(){return n.__monkeypatchNode(),{initialize:r,authenticate:i}},n.__monkeypatchNode=function(){var t=e(\"http\"),n=e(\"../http/request\");t.IncomingMessage.prototype.login=t.IncomingMessage.prototype.logIn=n.logIn,t.IncomingMessage.prototype.logout=t.IncomingMessage.prototype.logOut=n.logOut,t.IncomingMessage.prototype.isAuthenticated=n.isAuthenticated,t.IncomingMessage.prototype.isUnauthenticated=n.isUnauthenticated}},{\"../http/request\":370,\"../middleware/authenticate\":372,\"../middleware/initialize\":373,http:void 0}],370:[function(e,t,n){var r=n=t.exports={};r.login=r.logIn=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||{};var r=\"user\";this._passport&&this._passport.instance&&(r=this._passport.instance._userProperty||\"user\");var i=void 0===t.session?!0:t.session;if(this[r]=e,i){if(!this._passport)throw new Error(\"passport.initialize() middleware not in use\");if(\"function\"!=typeof n)throw new Error(\"req#login requires a callback function\");var o=this;this._passport.instance.serializeUser(e,this,function(e,t){return e?(o[r]=null,n(e)):(o._passport.session||(o._passport.session={}),o._passport.session.user=t,o.session||(o.session={}),o.session[o._passport.instance._key]=o._passport.session,void n())})}else n&&n()},r.logout=r.logOut=function(){var e=\"user\";this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),this[e]=null,this._passport&&this._passport.session&&delete this._passport.session.user},r.isAuthenticated=function(){var e=\"user\";return this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),!!this[e]},r.isUnauthenticated=function(){return!this.isAuthenticated()}},{}],371:[function(e,t,n){var r=e(\"./authenticator\"),i=e(\"./strategies/session\");n=t.exports=new r,n.Passport=n.Authenticator=r,n.Strategy=e(\"passport-strategy\"),n.strategies={},n.strategies.SessionStrategy=i},{\"./authenticator\":367,\"./strategies/session\":374,\"passport-strategy\":365}],372:[function(e,t,n){var r=e(\"http\"),i=e(\"../http/request\"),o=e(\"../errors/authenticationerror\");t.exports=function(t,n,a,s){\"function\"==typeof a&&(s=a,a={}),a=a||{};var c=!0;return Array.isArray(n)||(n=[n],c=!1),function(u,p,l){function f(){if(s){if(c){var e=d.map(function(e){return e.challenge}),t=d.map(function(e){return e.status});return s(null,!1,e,t)}return s(null,!1,d[0].challenge,d[0].status)}var n,i=d[0]||{},f=i.challenge||{};if(a.failureFlash){var h=a.failureFlash;\"string\"==typeof h&&(h={type:\"error\",message:h}),h.type=h.type||\"error\";var m=h.type||f.type||\"error\";n=h.message||f.message||f,\"string\"==typeof n&&u.flash(m,n)}if(a.failureMessage&&(n=a.failureMessage,\"boolean\"==typeof n&&(n=f.message||f),\"string\"==typeof n&&(u.session.messages=u.session.messages||[],u.session.messages.push(n))),a.failureRedirect)return p.redirect(a.failureRedirect);for(var v,g,y=[],b=0,x=d.length;x>b;b++)i=d[b],f=i.challenge,g=i.status,v=v||g,\"string\"==typeof f&&y.push(f);return p.statusCode=v||401,401==p.statusCode&&y.length&&p.setHeader(\"WWW-Authenticate\",y),a.failWithError?l(new o(r.STATUS_CODES[p.statusCode],v)):void p.end(r.STATUS_CODES[p.statusCode])}r.IncomingMessage.prototype.logIn&&r.IncomingMessage.prototype.logIn!==i.logIn&&e(\"../framework/connect\").__monkeypatchNode();var d=[];!function h(e){var r=n[e];if(!r)return f();var i=t._strategy(r);if(!i)return l(new Error('Unknown authentication strategy \"'+r+'\"'));var o=Object.create(i);o.success=function(e,n){if(s)return s(null,e,n);n=n||{};var r;if(a.successFlash){var i=a.successFlash;\"string\"==typeof i&&(i={type:\"success\",message:i}),i.type=i.type||\"success\";var o=i.type||n.type||\"success\";r=i.message||n.message||n,\"string\"==typeof r&&u.flash(o,r)}return a.successMessage&&(r=a.successMessage,\"boolean\"==typeof r&&(r=n.message||n),\"string\"==typeof r&&(u.session.messages=u.session.messages||[],u.session.messages.push(r))),a.assignProperty?(u[a.assignProperty]=e,l()):void u.logIn(e,a,function(e){function r(){if(a.successReturnToOrRedirect){var e=a.successReturnToOrRedirect;return u.session&&u.session.returnTo&&(e=u.session.returnTo,delete u.session.returnTo),p.redirect(e)}return a.successRedirect?p.redirect(a.successRedirect):void l()}return e?l(e):void(a.authInfo!==!1?t.transformAuthInfo(n,u,function(e,t){return e?l(e):(u.authInfo=t,void r())}):r())})},o.fail=function(t,n){\"number\"==typeof t&&(n=t,t=void 0),d.push({challenge:t,status:n}),h(e+1)},o.redirect=function(e,t){p.statusCode=t||302,p.setHeader(\"Location\",e),p.setHeader(\"Content-Length\",\"0\"),p.end()},o.pass=function(){l()},o.error=function(e){return s?s(e):void l(e)},o.authenticate(u,a)}(0)}}},{\"../errors/authenticationerror\":368,\"../framework/connect\":369,\"../http/request\":370,http:void 0}],373:[function(e,t,n){t.exports=function(e){return function(t,n,r){t._passport={},t._passport.instance=e,t.session&&t.session[e._key]&&(t._passport.session=t.session[e._key]),r()}}},{}],374:[function(e,t,n){function r(){a.call(this),this.name=\"session\"}var i=e(\"pause\"),o=e(\"util\"),a=e(\"passport-strategy\");o.inherits(r,a),r.prototype.authenticate=function(e,t){if(!e._passport)return this.error(new Error(\"passport.initialize() middleware not in use\"));t=t||{};var n,r=this;if(e._passport.session&&(n=e._passport.session.user),n||0===n){var o=t.pauseStream?i(e):null;e._passport.instance.deserializeUser(n,e,function(t,n){if(t)return r.error(t);if(!n)return delete e._passport.session.user,r.pass(),void(o&&o.resume());var i=e._passport.instance._userProperty||\"user\";e[i]=n,r.pass(),o&&o.resume()})}else r.pass()},t.exports=r},{\"passport-strategy\":365,pause:376,util:void 0}],375:[function(e,t,n){function r(e,t,n){n=n||{},t=t||[];var o,a=n.strict,s=n.end!==!1,c=n.sensitive?\"\":\"i\",u=0,p=t.length,l=0,f=0;if(e instanceof RegExp){for(;o=i.exec(e.source);)t.push({name:f++,optional:!1,offset:o.index});return e}if(Array.isArray(e))return e=e.map(function(e){return r(e,t,n).source}),new RegExp(\"(?:\"+e.join(\"|\")+\")\",c);for(e=(\"^\"+e+(a?\"\":\"/\"===e[e.length-1]?\"?\":\"/?\")).replace(/\\/\\(/g,\"/(?:\").replace(/([\\/\\.])/g,\"\\\\$1\").replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g,function(e,n,r,i,o,a,s,c){n=n||\"\",r=r||\"\",o=o||\"([^\\\\/\"+r+\"]+?)\",s=s||\"\",t.push({name:i,optional:!!s,offset:c+u});var p=\"\"+(s?\"\":n)+\"(?:\"+r+(s?n:\"\")+o+(a?\"((?:[\\\\/\"+r+\"].+?)?)\":\"\")+\")\"+s;return u+=p.length-e.length,p}).replace(/\\*/g,function(e,n){for(var r=t.length;r-- >p&&t[r].offset>n;)t[r].offset+=3;return\"(.*)\"});o=i.exec(e);){for(var d=0,h=o.index;\"\\\\\"===e.charAt(--h);)d++;d%2!==1&&((p+l===t.length||t[p+l].offset>o.index)&&t.splice(p+l,0,{name:f++,optional:!1,offset:o.index}),l++)}return e+=s?\"$\":\"/\"===e[e.length-1]?\"\":\"(?=\\\\/|$)\",new RegExp(e,c)}t.exports=r;var i=/\\((?!\\?)/g},{}],376:[function(e,t,n){t.exports=function(e){var t,n,r=[];return e.on(\"data\",t=function(e,t){r.push([\"data\",e,t])}),e.on(\"end\",n=function(e,t){r.push([\"end\",e,t])}),{end:function(){e.removeListener(\"data\",t),e.removeListener(\"end\",n)},resume:function(){this.end();for(var t=0,n=r.length;n>t;++t)e.emit.apply(e,r[t])}}}},{}],377:[function(e,t,n){\"use strict\";t.exports=\"function\"==typeof Promise?Promise:e(\"pinkie\")},{pinkie:378}],378:[function(e,t,n){(function(e){\"use strict\";function n(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],m=!1}function r(e,t){k.push([e,t]),m||(m=!0,_(n,0))}function i(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(i){r(i)}}function o(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if(\"function\"==typeof i){n=y;try{r=i(r)}catch(c){u(o,c)}}a(o,r)||(n===y&&s(o,r),n===b&&u(o,r))}function a(e,t){var n;try{if(e===t)throw new TypeError(\"A promises callback cannot return that same promise.\");if(t&&(\"function\"==typeof t||\"object\"==typeof t)){var r=t.then;if(\"function\"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?c(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(i){return n||u(e,i),!0}return!1}function s(e,t){e!==t&&a(e,t)||c(e,t)}function c(e,t){e._state===v&&(e._state=g,e._data=t,r(l,e))}function u(e,t){e._state===v&&(e._state=g,e._data=t,r(f,e))}function p(e){e._then=e._then.forEach(o)}function l(e){e._state=y,p(e)}function f(t){t._state=b,p(t),!t._handled&&w&&e.process.emit(\"unhandledRejection\",t._data,t)}function d(t){e.process.emit(\"rejectionHandled\",t)}function h(e){if(\"function\"!=typeof e)throw new TypeError(\"Promise resolver \"+e+\" is not a function\");if(this instanceof h==!1)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],i(e,this)}var m,v=\"pending\",g=\"settled\",y=\"fulfilled\",b=\"rejected\",x=function(){},w=\"undefined\"!=typeof e&&\"undefined\"!=typeof e.process&&\"function\"==typeof e.process.emit,_=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,k=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(x),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===b&&w&&r(d,this)),this._state===y||this._state===b?r(o,n):this._then.push(n),n.then},\"catch\":function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.all().\");return new h(function(t,n){function r(e){return a++,function(n){o[e]=n,--a||t(o)}}for(var i,o=[],a=0,s=0;s<e.length;s++)i=e[s],i&&\"function\"==typeof i.then?i.then(r(s),n):o[s]=i;a||t(o)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.race().\");return new h(function(t,n){for(var r,i=0;i<e.length;i++)r=e[i],r&&\"function\"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],379:[function(e,t,n){\"use strict\";function r(e){for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];process.nextTick(function(){e.apply(null,t)})}!process.version||0===process.version.indexOf(\"v0.\")||0===process.version.indexOf(\"v1.\")&&0!==process.version.indexOf(\"v1.8.\")?t.exports=r:t.exports=process.nextTick},{}],380:[function(e,t,n){\"use strict\";function r(e,t){var n=d(e);if(!t)return n;\"function\"!=typeof t&&(t=i(t));for(var r=0;r<n.length-1;r++)t(n[r],r)||(n.length=r+1);return n}function i(e){if(!e)throw new TypeError(\"argument is required\");var t=\"string\"==typeof e?[e]:e;if(!Array.isArray(t))throw new TypeError(\"unsupported trust argument\");for(var n=0;n<t.length;n++)e=t[n],y.hasOwnProperty(e)&&(e=y[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return a(o(t))}function o(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=s(e[n]);return t}function a(e){var t=e.length;return 0===t?p:1===t?f(e[0]):l(e)}function s(e){var t,n,r,i,o=e.lastIndexOf(\"/\");if(t=-1!==o?e.substring(0,o):e,!v(t))throw new TypeError(\"invalid IP address: \"+t);if(t=g(t),n=t.kind(),r=\"ipv6\"===n?128:32,i=-1!==o?e.substring(o+1,e.length):r,\"number\"!=typeof i&&(i=m.test(i)?parseInt(i,10):v(i)?c(i):0),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()&&(t=t.toIPv4Address(),i=r>=i?i-96:i),0>=i||i>r)throw new TypeError(\"invalid range on address: \"+e);return[t,i]}function c(e){var t,n,r=g(e);switch(r.kind()){case\"ipv4\":t=r.octets,n=8;break;case\"ipv6\":t=r.parts,n=16}for(var i,o=Math.pow(2,n)-1,a=0,s=0;s<t.length;s++){i=t[s]&o;{if(i!==o){for(;i;)i=i<<1&o,a+=1;break}a+=n}}return a}function u(e,t){if(!e)throw new TypeError(\"req argument is required\");if(!t)throw new TypeError(\"trust argument is required\");var n=r(e,t),i=n[n.length-1];return i}function p(){return!1}function l(e){return function(t){if(!v(t))return!1;for(var n,r,i,o,a,s,c=g(t),u=c.kind(),p=0;p<e.length;p++){if(r=e[p],i=r[0],o=i.kind(),a=r[1],s=c,u!==o){if(\"ipv6\"!==u||\"ipv4\"!==o||!c.isIPv4MappedAddress())continue;n=n||c.toIPv4Address(),s=n}if(s.match(i,a))return!0}return!1}}function f(e){var t=e[0],n=t.kind(),r=\"ipv4\"===n,i=e[1];return function(e){if(!v(e))return!1;var o=g(e),a=o.kind();return a===n?o.match(t,i):r&&\"ipv6\"===a&&o.isIPv4MappedAddress()?o.toIPv4Address().match(t,i):!1}}t.exports=u,t.exports.all=r,t.exports.compile=i;var d=e(\"forwarded\"),h=e(\"ipaddr.js\"),m=/^[0-9]+$/,v=h.isValid,g=h.parse,y={linklocal:[\"169.254.0.0/16\",\"fe80::/10\"],loopback:[\"127.0.0.1/8\",\"::1/128\"],uniquelocal:[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\",\"fc00::/7\"]}},{forwarded:119,\"ipaddr.js\":158}],381:[function(e,t,n){\"pseudomap\"===process.env.npm_package_name&&\"test\"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP=\"true\"),\"function\"!=typeof Map||process.env.TEST_PSEUDOMAP?t.exports=e(\"./pseudomap\"):t.exports=Map},{\"./pseudomap\":382}],382:[function(e,t,n){function r(e){if(!(this instanceof r))throw new TypeError(\"Constructor PseudoMap requires 'new'\");if(this.clear(),e)if(e instanceof r||\"function\"==typeof Map&&e instanceof Map)e.forEach(function(e,t){this.set(t,e)},this);else{if(!Array.isArray(e))throw new TypeError(\"invalid argument\");e.forEach(function(e){this.set(e[0],e[1])},this)}}function i(e,t){return e===t||e!==e&&t!==t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var n=0,r=\"_\"+t,o=r;c.call(e,o);o=r+n++)if(i(e[o].key,t))return e[o]}function s(e,t,n){for(var r=0,a=\"_\"+t,s=a;c.call(e,s);s=a+r++)if(i(e[s].key,t))return void(e[s].value=n);e.size++,e[s]=new o(t,n,s)}var c=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.forEach=function(e,t){\nt=t||this,Object.keys(this._data).forEach(function(n){\"size\"!==n&&e.call(t,this._data[n].value,this._data[n].key)},this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){s(this._data,e,t)},r.prototype[\"delete\"]=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,\"_data\",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,\"size\",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error(\"iterators are not implemented in this version\")}},{}],383:[function(e,t,n){\"use strict\";var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":384,\"./stringify\":385}],384:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<i.length;++o){var a=i[o],s=-1===a.indexOf(\"]=\")?a.indexOf(\"=\"):a.indexOf(\"]=\")+1;if(-1===s)n[r.decode(a)]=\"\",t.strictNullHandling&&(n[r.decode(a)]=null);else{var c=r.decode(a.slice(0,s)),u=r.decode(a.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(u):n[c]=u}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10);!isNaN(s)&&o!==a&&String(s)===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"):e,o=/^([^\\[\\]]*)/,a=/(\\[[^\\[\\]]*\\])/g,s=o.exec(r),c=[];if(s[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var u=0;null!==(s=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push(\"[\"+r.slice(s.index)+\"]\"),i.parseObject(c,t,n)}},t.exports=function(e,t){var n=t||{};if(n.delimiter=\"string\"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth=\"number\"==typeof n.depth?n.depth:i.depth,n.arrayLimit=\"number\"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.allowDots=\"boolean\"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects=\"boolean\"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes=\"boolean\"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit=\"number\"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling=\"boolean\"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"==typeof e?i.parseValues(e,n):e,a=n.plainObjects?Object.create(null):{},s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],p=i.parseKeys(u,o[u],n);a=r.merge(a,p,n)}return r.compact(a)}},{\"./utils\":386}],385:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},strictNullHandling:!1,skipNulls:!1,encode:!0};i.stringify=function(e,t,n,o,a,s,c,u){var p=e;if(\"function\"==typeof c)p=c(t,p);else if(r.isBuffer(p))p=String(p);else if(p instanceof Date)p=p.toISOString();else if(null===p){if(o)return s?r.encode(t):t;p=\"\"}if(\"string\"==typeof p||\"number\"==typeof p||\"boolean\"==typeof p)return s?[r.encode(t)+\"=\"+r.encode(p)]:[t+\"=\"+p];var l=[];if(\"undefined\"==typeof p)return l;var f;if(Array.isArray(c))f=c;else{var d=Object.keys(p);f=u?d.sort(u):d}for(var h=0;h<f.length;++h){var m=f[h];a&&null===p[m]||(l=Array.isArray(p)?l.concat(i.stringify(p[m],n(t,m),n,o,a,s,c)):l.concat(i.stringify(p[m],t+\"[\"+m+\"]\",n,o,a,s,c)))}return l},t.exports=function(e,t){var n,r,o=e,a=t||{},s=\"undefined\"==typeof a.delimiter?i.delimiter:a.delimiter,c=\"boolean\"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,u=\"boolean\"==typeof a.skipNulls?a.skipNulls:i.skipNulls,p=\"boolean\"==typeof a.encode?a.encode:i.encode,l=\"function\"==typeof a.sort?a.sort:null;\"function\"==typeof a.filter?(r=a.filter,o=r(\"\",o)):Array.isArray(a.filter)&&(n=r=a.filter);var f=[];if(\"object\"!=typeof o||null===o)return\"\";var d;d=a.arrayFormat in i.arrayPrefixGenerators?a.arrayFormat:\"indices\"in a?a.indices?\"indices\":\"repeat\":\"indices\";var h=i.arrayPrefixGenerators[d];n||(n=Object.keys(o)),l&&n.sort(l);for(var m=0;m<n.length;++m){var v=n[m];u&&null===o[v]||(f=f.concat(i.stringify(o[v],v,h,c,u,p,r,l)))}return f.join(s)}},{\"./utils\":386}],386:[function(e,t,n){\"use strict\";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]=\"%\"+((16>t?\"0\":\"\")+t.toString(16)).toUpperCase();return e}();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t){if(Array.isArray(e))e.push(t);else{if(\"object\"!=typeof e)return[e,t];e[t]=!0}return e}if(\"object\"!=typeof e)return[e].concat(t);var i=e;return Array.isArray(e)&&!Array.isArray(t)&&(i=n.arrayToObject(e,r)),Object.keys(t).reduce(function(e,i){var o=t[i];return Object.prototype.hasOwnProperty.call(e,i)?e[i]=n.merge(e[i],o,r):e[i]=o,e},i)},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;for(var t=\"string\"==typeof e?e:String(e),n=\"\",i=0;i<t.length;++i){var o=t.charCodeAt(i);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?n+=t.charAt(i):128>o?n+=r[o]:2048>o?n+=r[192|o>>6]+r[128|63&o]:55296>o||o>=57344?n+=r[224|o>>12]+r[128|o>>6&63]+r[128|63&o]:(i+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),n+=r[240|o>>18]+r[128|o>>12&63]+r[128|o>>6&63]+r[128|63&o])}return n},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;var r=t||[],i=r.indexOf(e);if(-1!==i)return r[i];if(r.push(e),Array.isArray(e)){for(var o=[],a=0;a<e.length;++a)\"undefined\"!=typeof e[a]&&o.push(e[a]);return o}for(var s=Object.keys(e),c=0;c<s.length;++c){var u=s[c];e[u]=n.compact(e[u],r)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],387:[function(e,t,n){\"use strict\";function r(e,t){var n=!0,r=t.indexOf(\"=\");if(-1==r)return-2;var i=t.slice(r+1).split(\",\").map(function(t){var t=t.split(\"-\"),r=parseInt(t[0],10),i=parseInt(t[1],10);return isNaN(r)?(r=e-i,i=e-1):isNaN(i)&&(i=e-1),i>e-1&&(i=e-1),(isNaN(r)||isNaN(i)||r>i||0>r)&&(n=!1),{start:r,end:i}});return i.type=t.slice(0,r),n?i:-1}t.exports=r},{}],388:[function(e,t,n){t.exports=e(\"./lib/_stream_duplex.js\")},{\"./lib/_stream_duplex.js\":389}],389:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(u.call(this,e),p.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e(\"process-nextick-args\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\");var u=e(\"./_stream_readable\"),p=e(\"./_stream_writable\");c.inherits(r,u);for(var l=a(p.prototype),f=0;f<l.length;f++){var d=l[f];r.prototype[d]||(r.prototype[d]=p.prototype[d])}},{\"./_stream_readable\":390,\"./_stream_writable\":391,\"core-util-is\":77,inherits:157,\"process-nextick-args\":379}],390:[function(e,t,n){\"use strict\";function r(t,n){M=M||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof M&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=e(\"string_decoder/\").StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function i(t){return M=M||e(\"./_stream_duplex\"),this instanceof i?(this._readableState=new r(t,this),this.readable=!0,t&&\"function\"==typeof t.read&&(this._read=t.read),void A.call(this)):new i(t)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var c;!t.decoder||i||r||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&l(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=z?e=z:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return O.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,l(e)}}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(P(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?S(f,e):f(e))}function f(e){P(\"emit readable\"),e.emit(\"readable\"),b(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(P(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;P(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C(e,\"data\")&&(t.flowing=!0,b(e))}}function v(e){P(\"readable nexttick read 0\"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(P(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(P(\"flow\",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function x(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:O.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new O(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,S(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function k(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function j(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var S=e(\"process-nextick-args\"),E=e(\"isarray\"),O=e(\"buffer\").Buffer;i.ReadableState=r;var A,C=(e(\"events\"),function(e,t){return e.listeners(t).length});!function(){try{A=e(\"stream\")}catch(t){}finally{A||(A=e(\"events\").EventEmitter)}}();var O=e(\"buffer\").Buffer,T=e(\"core-util-is\");T.inherits=e(\"inherits\");var I=e(\"util\"),P=void 0;P=I&&I.debuglog?I.debuglog(\"stream\"):function(){};var F;T.inherits(i,A);var M,M;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new O(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.isPaused=function(){return this._readableState.flowing===!1},i.prototype.setEncoding=function(t){return F||(F=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new F(t),this._readableState.encoding=t,this};var z=8388608;i.prototype.read=function(e){P(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return P(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):l(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;P(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,P(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,P(\"reading or ended\",r)),r&&(P(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?x(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){P(\"onunpipe\"),e===p&&i()}function r(){P(\"onend\"),e.end()}function i(){P(\"cleanup\"),e.removeListener(\"close\",s),e.removeListener(\"finish\",c),e.removeListener(\"drain\",h),e.removeListener(\"error\",a),e.removeListener(\"unpipe\",n),p.removeListener(\"end\",r),p.removeListener(\"end\",i),p.removeListener(\"data\",o),v=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}function o(t){P(\"ondata\");var n=e.write(t);!1===n&&(1!==l.pipesCount||l.pipes[0]!==e||1!==p.listenerCount(\"data\")||v||(P(\"false write response, pause\",p._readableState.awaitDrain),p._readableState.awaitDrain++),p.pause())}function a(t){P(\"onerror\",t),u(),e.removeListener(\"error\",a),0===C(e,\"error\")&&e.emit(\"error\",t)}function s(){e.removeListener(\"finish\",c),u()}function c(){P(\"onfinish\"),e.removeListener(\"close\",s),u()}function u(){P(\"unpipe\"),p.unpipe(e)}var p=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,P(\"pipe count=%d opts=%j\",l.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,d=f?r:i;l.endEmitted?S(d):p.once(\"end\",d),e.on(\"unpipe\",n);var h=m(p);e.on(\"drain\",h);var v=!1;return p.on(\"data\",o),e._events&&e._events.error?E(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on(\"error\",a),e.once(\"close\",s),e.once(\"finish\",c),e.emit(\"pipe\",p),l.flowing||(P(\"pipe resume\"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var o=j(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(P(\"resume\"),e.flowing=!0,g(this,e)),this},i.prototype.pause=function(){return P(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(P(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(P(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(P(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return k(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){P(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=x},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:163,\"process-nextick-args\":379,\"string_decoder/\":456,util:void 0}],391:[function(e,t,n){\"use strict\";function r(){}function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function o(t,n){C=C||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof C&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},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 _(this),this.corkedRequestsFree.next=new _(this)}function a(t){return C=C||e(\"./_stream_duplex\"),this instanceof a||this instanceof C?(this._writableState=new o(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev)),void O.call(this)):new a(t)}function s(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),k(t,n)}function c(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),k(r,o),i=!1}return i}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new S(t,n)),t}function p(e,t,n,r,o){n=u(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new i(n,r,o),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else l(e,t,!1,a,n,r,o);return s}function l(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,r,i){--t.pendingcb,n?k(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(d(n),t)f(e,n,r,t,i);else{var o=y(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||g(e,n),r?j(m,e,n,o,i):m(e,n,o,i)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),x(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function g(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;l(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,c=n.encoding,u=n.callback,p=t.objectMode?1:s.length;if(l(e,t,!1,p,s,c,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function y(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function x(e,t){var n=y(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function w(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?k(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function _(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var k=e(\"process-nextick-args\"),j=!process.browser&&[\"v0.10\",\"v0.9.\"].indexOf(process.version.slice(0,5))>-1?setImmediate:k,S=e(\"buffer\").Buffer;a.WritableState=o;var E=e(\"core-util-is\");E.inherits=e(\"inherits\");var O,A={deprecate:e(\"util-deprecate\")};!function(){try{O=e(\"stream\")}catch(t){}finally{O||(O=e(\"events\").EventEmitter)}}();var S=e(\"buffer\").Buffer;E.inherits(a,O);var C;o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var C;a.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},a.prototype.write=function(e,t,n){var i=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=r),i.ended?s(this,n):c(this,i,e,n)&&(i.pendingcb++,o=p(this,i,e,t,n)),o},a.prototype.cork=function(){var e=this._writableState;e.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||g(this,e))},a.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},a.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,\"process-nextick-args\":379,\"util-deprecate\":530}],392:[function(e,t,n){function r(e){return\"object\"==typeof e&&\"[object RegExp]\"==i.call(e)}var i=Object.prototype.toString;t.exports=n=function(e){if(!r(e))throw new TypeError(\"Not a RegExp\");var t=[];return e.global&&t.push(\"g\"),e.multiline&&t.push(\"m\"),e.ignoreCase&&t.push(\"i\"),new RegExp(e.source,t.join(\"\"))}},{}],393:[function(e,t,n){\"use strict\";function r(e,t,n){\"function\"==typeof t&&(n=t);var r={};return\"object\"==typeof t?s(r,t,{uri:e}):\"string\"==typeof e?s(r,{uri:e}):s(r,e),r.callback=n,r}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);if(\"HEAD\"===o.method&&l(o))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return new i.Request(o)}function o(e){var t=\"del\"===e?\"DELETE\":e.toUpperCase();return function(e,n,o){var a=r(e,n,o);return a.method=t,i(a,a.callback)}}function a(e,t,n,i){return function(o,a,c){var u=r(o,a,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=\"del\"===i?\"DELETE\":i.toUpperCase()),p(n)&&(e=n),e(l,l.callback)}}var s=e(\"extend\"),c=e(\"./lib/cookies\"),u=e(\"./lib/helpers\"),p=u.isFunction,l=u.paramsHaveRequestBody;i.get=o(\"get\"),i.head=o(\"head\"),i.post=o(\"post\"),i.put=o(\"put\"),i.patch=o(\"patch\"),i.del=o(\"del\"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var n=this;e=e||{},\"function\"==typeof e&&(t=e,e={});var r=a(n,e,t),i=[\"get\",\"head\",\"post\",\"put\",\"patch\",\"del\"];return i.forEach(function(i){r[i]=a(n[i],e,t,i)}),r.cookie=a(n.cookie,e,t),r.jar=n.jar,r.defaults=n.defaults,r},i.forever=function(e,t){var n={};return t&&s(n,t),e&&(n.agentOptions=e),n.forever=!0,i.defaults(n)},t.exports=i,i.Request=e(\"./request\"),i.initParams=r,Object.defineProperty(i,\"debug\",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{\"./lib/cookies\":395,\"./lib/helpers\":398,\"./request\":405,extend:404}],394:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e(\"caseless\"),o=e(\"node-uuid\"),a=e(\"./helpers\"),s=a.md5,c=a.toBase64;r.prototype.basic=function(e,t,n){var r=this;(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)&&r.request.emit(\"error\",new Error(\"auth() received invalid user or password\")),r.user=e,r.pass=t,r.hasAuth=!0;var i=e+\":\"+(t||\"\");if(n||\"undefined\"==typeof n){var o=\"Basic \"+c(i);return r.sentAuth=!0,o}},r.prototype.bearer=function(e,t){var n=this;if(n.bearerToken=e,n.hasAuth=!0,t||\"undefined\"==typeof t){\"function\"==typeof e&&(e=e());var r=\"Bearer \"+(e||\"\");return n.sentAuth=!0,r}},r.prototype.digest=function(e,t,n){for(var r=this,i={},a=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var c=a.exec(n);if(!c)break;i[c[1]]=c[2]||c[3]}var u=function(e,t,n,r,i,o){var a=s(t+\":\"+n+\":\"+r);return e&&\"md5-sess\"===e.toLowerCase()?s(a+\":\"+i+\":\"+o):a},p=/(^|,)\\s*auth\\s*($|,)/.test(i.qop)&&\"auth\",l=p&&\"00000001\",f=p&&o().replace(/-/g,\"\"),d=u(i.algorithm,r.user,i.realm,r.pass,i.nonce,f),h=s(e+\":\"+t),m=s(p?d+\":\"+i.nonce+\":\"+l+\":\"+f+\":\"+p+\":\"+h:d+\":\"+i.nonce+\":\"+h),v={username:r.user,realm:i.realm,nonce:i.nonce,uri:t,qop:p,response:m,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};n=[];for(var g in v)v[g]&&(\"qop\"===g||\"nc\"===g||\"algorithm\"===g?n.push(g+\"=\"+v[g]):n.push(g+'=\"'+v[g]+'\"'));return n=\"Digest \"+n.join(\", \"),r.sentAuth=!0,n},r.prototype.onRequest=function(e,t,n,r){var i,o=this,a=o.request;void 0===r&&void 0===e?o.request.emit(\"error\",new Error(\"no auth mechanism defined\")):i=void 0!==r?o.bearer(r,n):o.basic(e,t,n),i&&a.setHeader(\"authorization\",i)},r.prototype.onResponse=function(e){var t=this,n=t.request;if(!t.hasAuth||t.sentAuth)return null;var r=i(e.headers),o=r.get(\"www-authenticate\"),a=o&&o.split(\" \")[0].toLowerCase();switch(n.debug(\"reauth\",a),a){case\"basic\":return t.basic(t.user,t.pass,!0);case\"bearer\":return t.bearer(t.bearerToken,!0);case\"digest\":return t.digest(n.method,n.path,o)}},n.Auth=r},{\"./helpers\":398,caseless:71,\"node-uuid\":361}],395:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e,{looseMode:!0})}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e,{loose:!0})},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],396:[function(e,t,n){\"use strict\";function r(e){return e.replace(/^\\.*/,\".\").toLowerCase()}function i(e){e=e.trim().toLowerCase();var t=e.split(\":\",2),n=r(t[0]),i=t[1],o=e.indexOf(\":\")>-1;return{hostname:n,port:i,hasPort:o}}function o(e,t){var n=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),o=r(e.hostname),a=t.split(\",\");return a.map(i).some(function(e){var t=o.indexOf(e.hostname),r=t>-1&&t===o.length-e.hostname.length;return e.hasPort?n===e.port&&r:r})}function a(e){var t=process.env.NO_PROXY||process.env.no_proxy||\"\";return\"*\"===t?null:\"\"!==t&&o(e,t)?null:\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}t.exports=a},{}],397:[function(e,t,n){\"use strict\";function r(e){this.request=e}var i=e(\"fs\"),o=e(\"querystring\"),a=e(\"har-validator\"),s=e(\"extend\");r.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var n=[e[t.name],t.value];return e[t.name]=n,e},r.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var n=e.cookies.map(function(e){return e.name+\"=\"+e.value});n.length&&(e.headersObj.cookie=n.join(\"; \"))}if(t([\"multipart/mixed\",\"multipart/related\",\"multipart/form-data\",\"multipart/alternative\"]))e.postData.mimeType=\"multipart/form-data\";else if(t([\"application/x-www-form-urlencoded\"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=o.stringify(e.postData.paramsObj)):e.postData.text=\"\";else if(t([\"text/json\",\"text/x-json\",\"application/json\",\"application/x-json\"])&&(e.postData.mimeType=\"application/json\",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(r){this.request.debug(r),e.postData.mimeType=\"text/plain\"}return e},r.prototype.options=function(e){function t(e){return 0===r.postData.mimeType.indexOf(e)}if(!e.har)return e;var n={};if(s(n,e.har),n.log&&n.log.entries&&(n=n.log.entries[0]),n.url=n.url||e.url||e.uri||e.baseUrl||\"/\",n.httpVersion=n.httpVersion||\"HTTP/1.1\",n.queryString=n.queryString||[],n.headers=n.headers||[],n.cookies=n.cookies||[],n.postData=n.postData||{},n.postData.mimeType=n.postData.mimeType||\"application/octet-stream\",n.bodySize=0,n.headersSize=0,n.postData.size=0,!a.request(n))return e;var r=this.prep(n);return r.url&&(e.url=r.url),r.method&&(e.method=r.method),Object.keys(r.queryObj).length&&(e.qs=r.queryObj),Object.keys(r.headersObj).length&&(e.headers=r.headersObj),t(\"application/x-www-form-urlencoded\")?e.form=r.postData.paramsObj:t(\"application/json\")?r.postData.jsonObj&&(e.body=r.postData.jsonObj,e.json=!0):t(\"multipart/form-data\")?(e.formData={},r.postData.params.forEach(function(t){var n={};return t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?n.value=i.createReadStream(t.fileName):t.value&&(n.value=t.value),t.fileName&&(n.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),void(e.formData[t.name]=n)):void(e.formData[t.name]=t.value)})):r.postData.text&&(e.body=r.postData.text),e},n.Har=r},{extend:404,fs:void 0,\"har-validator\":124,querystring:void 0}],398:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return\"function\"==typeof e}function o(e){return e.body||e.requestBodyStream||e.json&&\"boolean\"!=typeof e.json||e.multipart}function a(e){var t;try{t=JSON.stringify(e)}catch(n){t=f(e)}return t}function s(e){return d.createHash(\"md5\").update(e).digest(\"hex\")}\nfunction c(e){return e.readable&&e.path&&e.mode}function u(e){return new t(e||\"\",\"utf8\").toString(\"base64\")}function p(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function l(){var e=process.version.replace(\"v\",\"\").split(\".\");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}var f=e(\"json-stringify-safe\"),d=e(\"crypto\");n.isFunction=i,n.paramsHaveRequestBody=o,n.safeStringify=a,n.md5=s,n.isReadStream=c,n.toBase64=u,n.copy=p,n.version=l,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173}],399:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e(\"node-uuid\"),o=e(\"combined-stream\"),a=e(\"isstream\");r.prototype.isChunked=function(e){var t=this,n=!1,r=e.data||e;return r.forEach||t.request.emit(\"error\",new Error(\"Argument error, options.multipart.\")),void 0!==e.chunked&&(n=e.chunked),\"chunked\"===t.request.getHeader(\"transfer-encoding\")&&(n=!0),n||r.forEach(function(e){\"undefined\"==typeof e.body&&t.request.emit(\"error\",new Error(\"Body attribute missing in multipart.\")),a(e.body)&&(n=!0)}),n},r.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader(\"transfer-encoding\")&&t.request.setHeader(\"transfer-encoding\",\"chunked\");var n=t.request.getHeader(\"content-type\");n&&-1!==n.indexOf(\"multipart\")?-1!==n.indexOf(\"boundary\")?t.boundary=n.replace(/.*boundary=([^\\s;]+).*/,\"$1\"):t.request.setHeader(\"content-type\",n+\"; boundary=\"+t.boundary):t.request.setHeader(\"content-type\",\"multipart/related; boundary=\"+t.boundary)},r.prototype.build=function(e,n){function r(e){return\"number\"==typeof e&&(e=e.toString()),n?a.append(e):a.push(new t(e))}var i=this,a=n?new o:[];return i.request.preambleCRLF&&r(\"\\r\\n\"),e.forEach(function(e){var t=\"--\"+i.boundary+\"\\r\\n\";Object.keys(e).forEach(function(n){\"body\"!==n&&(t+=n+\": \"+e[n]+\"\\r\\n\")}),t+=\"\\r\\n\",r(t),r(e.body),r(\"\\r\\n\")}),r(\"--\"+i.boundary+\"--\"),i.request.postambleCRLF&&r(\"\\r\\n\"),a},r.prototype.onRequest=function(e){var t=this,n=t.isChunked(e),r=e.data||e;t.setHeaders(n),t.chunked=n,t.body=t.build(r,n)},n.Multipart=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"combined-stream\":72,isstream:164,\"node-uuid\":361}],400:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.params=null}var i=e(\"url\"),o=e(\"qs\"),a=e(\"caseless\"),s=e(\"node-uuid\"),c=e(\"oauth-sign\"),u=e(\"crypto\");r.prototype.buildParams=function(e,t,n,r,i,o){var a={};for(var u in e)a[\"oauth_\"+u]=e[u];a.oauth_version||(a.oauth_version=\"1.0\"),a.oauth_timestamp||(a.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),a.oauth_nonce||(a.oauth_nonce=s().replace(/-/g,\"\")),a.oauth_signature_method||(a.oauth_signature_method=\"HMAC-SHA1\");var p=a.oauth_consumer_secret||a.oauth_private_key;delete a.oauth_consumer_secret,delete a.oauth_private_key;var l=a.oauth_token_secret;delete a.oauth_token_secret;var f=a.oauth_realm;delete a.oauth_realm,delete a.oauth_transport_method;var d=t.protocol+\"//\"+t.host+t.pathname,h=o.parse([].concat(r,i,o.stringify(a)).join(\"&\"));return a.oauth_signature=c.sign(a.oauth_signature_method,n,d,h,p,l),f&&(a.realm=f),a},r.prototype.buildBodyHash=function(e,n){[\"HMAC-SHA1\",\"RSA-SHA1\"].indexOf(e.signature_method||\"HMAC-SHA1\")<0&&this.request.emit(\"error\",new Error(\"oauth: \"+e.signature_method+\" signature_method not supported with body_hash signing.\"));var r=u.createHash(\"sha1\");r.update(n||\"\");var i=r.digest(\"hex\");return new t(i).toString(\"base64\")},r.prototype.concatParams=function(e,t,n){n=n||\"\";var r=Object.keys(e).filter(function(e){return\"realm\"!==e&&\"oauth_signature\"!==e}).sort();return e.realm&&r.splice(0,0,\"realm\"),r.push(\"oauth_signature\"),r.map(function(t){return t+\"=\"+n+c.rfc3986(e[t])+n}).join(t)},r.prototype.onRequest=function(e){var t=this;t.params=e;var n,r,s=t.request.uri||{},c=t.request.method||\"\",u=a(t.request.headers),p=t.request.body||\"\",l=t.request.qsLib||o,f=u.get(\"content-type\")||\"\",d=\"application/x-www-form-urlencoded\",h=e.transport_method||\"header\";f.slice(0,d.length)===d&&(f=d,n=p),s.query&&(r=s.query),\"body\"!==h||\"POST\"===c&&f===d||t.request.emit(\"error\",new Error(\"oauth: transport_method of body requires POST and content-type \"+d)),n||\"boolean\"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,r,n,l);switch(h){case\"header\":t.request.setHeader(\"Authorization\",\"OAuth \"+t.concatParams(m,\",\",'\"'));break;case\"query\":var v=t.request.uri.href+=(r?\"&\":\"?\")+t.concatParams(m,\"&\");t.request.uri=i.parse(v),t.request.path=t.request.uri.path;break;case\"body\":t.request.body=(n?n+\"&\":\"\")+t.concatParams(m,\"&\");break;default:t.request.emit(\"error\",new Error(\"oauth: transport_method invalid\"))}},n.OAuth=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,caseless:71,crypto:void 0,\"node-uuid\":361,\"oauth-sign\":362,qs:383,url:void 0}],401:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e(\"qs\"),o=e(\"querystring\");r.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?o:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},r.prototype.unescape=o.unescape,n.Querystring=r},{qs:383,querystring:void 0}],402:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e(\"url\"),o=/^https?:/;r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),\"function\"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader)},r.prototype.redirectTo=function(e){var t=this,n=t.request,r=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var i=e.caseless.get(\"location\");if(n.debug(\"redirect\",i),t.followAllRedirects)r=i;else if(t.followRedirects)switch(n.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:r=i}}else if(401===e.statusCode){var o=n._auth.onResponse(e);o&&(n.setHeader(\"authorization\",o),r=n.uri)}return r},r.prototype.onResponse=function(e){var t=this,n=t.request,r=t.redirectTo(e);if(!r||!t.allowRedirect.call(n,e))return!1;if(n.debug(\"redirect to\",r),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return n.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+n.uri.href)),!1;t.redirectsFollowed+=1,o.test(r)||(r=i.resolve(n.uri.href,r));var a=n.uri;return n.uri=i.parse(r),n.uri.protocol!==a.protocol&&delete n.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:r}),t.followAllRedirects&&\"HEAD\"!==n.method&&401!==e.statusCode&&307!==e.statusCode&&(n.method=\"GET\"),delete n.src,delete n.req,delete n._started,401!==e.statusCode&&307!==e.statusCode&&(delete n.body,delete n._form,n.headers&&(n.removeHeader(\"host\"),n.removeHeader(\"content-type\"),n.removeHeader(\"content-length\"),n.uri.hostname!==n.originalHost.split(\":\")[0]&&n.removeHeader(\"authorization\"))),t.removeRefererHeader||n.setHeader(\"referer\",a.href),n.emit(\"redirect\"),n.init(),!0},n.Redirect=r},{url:void 0}],403:[function(e,t,n){\"use strict\";function r(e){var t=e.port,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function i(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function o(e,t){var n=e.proxy,r={proxy:{host:n.hostname,port:+n.port,proxyAuth:n.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return r}function a(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function s(e){var t=e.uri,n=e.proxy,r=a(t,n);return p[r]}function c(e){this.request=e,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[],\"undefined\"!=typeof e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e(\"url\"),p=e(\"tunnel-agent\"),l=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"user-agent\",\"via\"],f=[\"proxy-authorization\"];c.prototype.isEnabled=function(){var e=this,t=e.request;return\"undefined\"!=typeof e.tunnelOverride?e.tunnelOverride:\"https:\"===t.uri.protocol},c.prototype.setup=function(e){var t=this,n=t.request;if(e=e||{},\"string\"==typeof n.proxy&&(n.proxy=u.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a=t.proxyHeaderExclusiveList.concat(f),c=t.proxyHeaderWhiteList.concat(a),p=i(n.headers,c);p.host=r(n.uri),a.forEach(n.removeHeader,n);var l=s(n),d=o(n,p);return n.agent=l(d),!0},c.defaultProxyHeaderWhiteList=l,c.defaultProxyHeaderExclusiveList=f,n.Tunnel=c},{\"tunnel-agent\":465,url:void 0}],404:[function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===i.call(e)},a=function(e){if(!e||\"[object Object]\"!==i.call(e))return!1;var t=r.call(e,\"constructor\"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return\"undefined\"==typeof o||r.call(e,o)};t.exports=function s(){var e,t,n,r,i,c,u=arguments[0],p=1,l=arguments.length,f=!1;for(\"boolean\"==typeof u?(f=u,u=arguments[1]||{},p=2):(\"object\"!=typeof u&&\"function\"!=typeof u||null==u)&&(u={});l>p;++p)if(e=arguments[p],null!=e)for(t in e)n=u[t],r=e[t],u!==r&&(f&&r&&(a(r)||(i=o(r)))?(i?(i=!1,c=n&&o(n)?n:[]):c=n&&a(n)?n:{},u[t]=s(f,c,r)):\"undefined\"!=typeof r&&(u[t]=r));return u}},{}],405:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function s(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function c(e){var t=this;e.har&&(t._har=new I(t),e=t._har.options(e)),h.Stream.call(t);var n=Object.keys(c.prototype),o=r(n,e);S(t,o),e=i(n,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new T(t),t._auth=new P(t),t._oauth=new F(t),t._multipart=new M(t),t._redirect=new z(t),t._tunnel=new B(t),t.init(e)}function u(){c.debug&&console.error(\"REQUEST %s\",d.format.apply(d,arguments))}var p=e(\"http\"),l=e(\"https\"),f=e(\"url\"),d=e(\"util\"),h=e(\"stream\"),m=e(\"zlib\"),v=e(\"bl\"),g=e(\"hawk\"),y=e(\"aws-sign2\"),b=e(\"http-signature\"),x=e(\"mime-types\"),w=e(\"stringstream\"),_=e(\"caseless\"),k=e(\"forever-agent\"),j=e(\"form-data\"),S=e(\"extend\"),E=e(\"is-typedarray\").strict,O=e(\"./lib/helpers\"),A=e(\"./lib/cookies\"),C=e(\"./lib/getProxyFromURI\"),T=e(\"./lib/querystring\").Querystring,I=e(\"./lib/har\").Har,P=e(\"./lib/auth\").Auth,F=e(\"./lib/oauth\").OAuth,M=e(\"./lib/multipart\").Multipart,z=e(\"./lib/redirect\").Redirect,B=e(\"./lib/tunnel\").Tunnel,N=O.safeStringify,D=O.isReadStream,q=O.toBase64,R=O.defer,L=O.copy,$=O.version,U=A.jar(),H={};d.inherits(c,h.Stream),c.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),c.prototype.debug=u,c.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=new n(r.body)),!r.hasHeader(\"content-length\")){var e;e=\"string\"==typeof r.body?n.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length,e?r.setHeader(\"content-length\",e):r.emit(\"error\",new Error(\"Argument error, options.body.\"))}}var r=this;e||(e={}),r.headers=r.headers?L(r.headers):{};for(var i in r.headers)\"undefined\"==typeof r.headers[i]&&delete r.headers[i];if(_.httpify(r,r.headers),r.method||(r.method=e.method||\"GET\"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),u(e),r.pool||r.pool===!1||(r.pool=H),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on(\"error\",r.callback.bind()),r.on(\"complete\",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if(\"string\"!=typeof r.baseUrl)return r.emit(\"error\",new Error(\"options.baseUrl must be a string\"));if(\"string\"!=typeof r.uri)return r.emit(\"error\",new Error(\"options.uri must be a string when using options.baseUrl\"));if(0===r.uri.indexOf(\"//\")||-1!==r.uri.indexOf(\"://\"))return r.emit(\"error\",new Error(\"options.uri must be a path when using options.baseUrl\"));var o=r.baseUrl.lastIndexOf(\"/\")===r.baseUrl.length-1,a=0===r.uri.indexOf(\"/\");o&&a?r.uri=r.baseUrl+r.uri.slice(1):o||a?r.uri=r.baseUrl+r.uri:\"\"===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+\"/\"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),\"unix:\"===r.uri.protocol)return r.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===r.uri.host&&r.enableUnixSocket(),r.strictSSL===!1&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname=\"/\"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var s=f.format(r.uri),c='Invalid URI \"'+s+'\"';return 0===Object.keys(e).length&&(c+=\". This can be caused by a crappy redirection.\"),r.abort(),r.emit(\"error\",new Error(c))}if(r.hasOwnProperty(\"proxy\")||(r.proxy=C(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader(\"host\")){var d=r.originalHostHeaderName||\"host\";r.setHeader(d,r.uri.hostname),r.uri.port&&(80===r.uri.port&&\"http:\"===r.uri.protocol||443===r.uri.port&&\"https:\"===r.uri.protocol||r.setHeader(d,r.getHeader(\"host\")+(\":\"+r.uri.port))),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||(\"http:\"===r.uri.protocol?r.uri.port=80:\"https:\"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var h=e.formData,m=r.form(),v=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?m.append(e,t.value,t.options):m.append(e,t)};for(var g in h)if(h.hasOwnProperty(g)){var y=h[g];if(y instanceof Array)for(var b=0;b<y.length;b++)v(g,y[b]);else v(g,y)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||\"\"),0===r.path.length&&(r.path=\"/\"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader(\"accept-encoding\")&&r.setHeader(\"accept-encoding\",\"gzip\"),r.uri.auth&&!r.hasHeader(\"authorization\")){var w=r.uri.auth.split(\":\").map(function(e){return r._qs.unescape(e)});r.auth(w[0],w.slice(1).join(\":\"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader(\"proxy-authorization\")){var j=r.proxy.auth.split(\":\").map(function(e){return r._qs.unescape(e)}),S=\"Basic \"+q(j.join(\":\"));r.setHeader(\"proxy-authorization\",S)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+\"//\"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader(\"authorization\")&&r.oauth(r._oauth.params);var O=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={\"http:\":p,\"https:\":l},T=r.httpModules||{};if(r.httpModule=T[O]||A[O],!r.httpModule)return r.emit(\"error\",new Error(\"Invalid protocol: \"+O));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var I=$();0===I.major&&I.minor<=10?r.agentClass=\"http:\"===O?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;r.pool===!1?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on(\"pipe\",function(e){if(r.ntick&&r._started&&r.emit(\"error\",new Error(\"You cannot pipe to this stream after the outbound request has started.\")),r.src=e,D(e))r.hasHeader(\"content-type\")||r.setHeader(\"content-type\",x.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader(\"content-type\")&&r.setHeader(\"content-type\",\"application/json\"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),R(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end();else if(r.requestBodyStream)console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();\"GET\"!==r.method&&\"undefined\"!=typeof r.method&&r.setHeader(\"content-length\",0),r.end()}};r._form&&!r.hasHeader(\"content-length\")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader(\"content-length\",n),e()})):e(),r.ntick=!0}})},c.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert),e.pfx&&(n.pfx=e.pfx),e.passphrase&&(n.passphrase=e.passphrase);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=f.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i&&(i+=\":\"),i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.pfx&&(i&&(i+=\":\"),i+=n.pfx.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===H&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},c.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=L(e);if(delete t.auth,u(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timing&&(e.startTime=(new Date).getTime()),e.timeout&&!e.timeoutTimer){var n=e.timeout<0?0:e.timeout;e.timeoutTimer=setTimeout(function(){var t=e.req.socket&&e.req.socket.readable===!1;e.abort();var n=new Error(\"ETIMEDOUT\");n.code=\"ETIMEDOUT\",n.connect=t,e.emit(\"error\",n)},n),e.req.setTimeout&&e.req.setTimeout(n,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",t.connect=!1,e.emit(\"error\",t)}})}e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",o)}),e.emit(\"request\",e.req)}},c.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},c.prototype.onRequestResponse=function(e){var t=this;if(u(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){t.timing&&(t.elapsedTime+=(new Date).getTime()-t.startTime,u(\"elapsed time\",t.elapsedTime),e.elapsedTime=t.elapsedTime),u(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(o)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",o)),t._aborted)return u(\"aborted\",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=s,t.httpModule===l&&t.strictSSL&&(!e.hasOwnProperty(\"socket\")||!e.socket.authorized)){u(\"strict ssl error\",t.uri.href);var n=e.hasOwnProperty(\"socket\")?e.socket.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+n))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:U,i=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=_(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(i):i(e.headers[a])}if(!t._redirect.onResponse(e)){e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var c;if(t.gzip){var p=e.headers[\"content-encoding\"]||\"identity\";p=p.trim().toLowerCase(),\"gzip\"===p?(c=m.createGunzip(),e.pipe(c)):(\"identity\"!==p&&u(\"ignoring unrecognized Content-Encoding \"+p),c=e)}else c=e;t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):c.setEncoding?c.setEncoding(t.encoding):c=c.pipe(w(t.encoding))),t._paused&&c.pause(),t.responseContent=c,t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),c.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),c.on(\"end\",function(e){t.emit(\"end\",e)}),c.on(\"error\",function(e){t.emit(\"error\",e)}),c.on(\"close\",function(){t.emit(\"close\")}),t.callback?t.readResponseBody(e):t.on(\"end\",function(){return t._aborted?void u(\"aborted\",t.uri.href):void t.emit(\"complete\",e)}),u(\"finish init function\",t.uri.href)}},c.prototype.readResponseBody=function(e){var t=this;u(\"reading response's body\");var r=v(),i=[];t.on(\"data\",function(e){n.isBuffer(e)?r.append(e):i.push(e)}),t.on(\"end\",function(){if(u(\"end event\",t.uri.href),t._aborted)return void u(\"aborted\",t.uri.href);if(r.length?(u(\"has body\",t.uri.href,r.length),null===t.encoding?e.body=r.slice():e.body=r.toString(t.encoding)):i.length&&(\"utf8\"===t.encoding&&i[0].length>0&&\"\\ufeff\"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(o){u(\"invalid JSON received\",t.uri.href)}u(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=null===t.encoding?new n(0):\"\"),t.emit(\"complete\",e,e.body)})},c.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit(\"abort\")},c.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},c.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r._qs.parse(r.uri.query):{};for(var i in e)n[i]=e[i];var o=r._qs.stringify(n);return\"\"===o?r:(r.uri=f.parse(r.uri.href.split(\"?\")[0]+\"?\"+o),r.url=r.uri,r.path=r.uri.path,\"unix\"===r.uri.host&&r.enableUnixSocket(),r)},c.prototype.form=function(e){var t=this;return e?(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))||t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?t._qs.rfc3986(e.toString(\"utf8\")):t._qs.stringify(e).toString(\"utf8\"),t):(t._form=new j,t._form.on(\"error\",function(e){e.message=\"form-data: \"+e.message,t.emit(\"error\",e),t.abort()}),t._form)},c.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},c.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))?t.body=t._qs.rfc3986(t.body):t.body=N(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=N(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},c.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n},c.prototype.enableUnixSocket=function(){var e=this.uri.path.split(\":\"),t=e[0],n=e[1];this.socketPath=t,this.uri.pathname=n,this.uri.path=n,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},c.prototype.auth=function(e,t,n,r){var i=this;return i._auth.onRequest(e,t,n,r),i},c.prototype.aws=function(t,n){var r=this;if(!n)return r._aws=t,r;if(4==t.sign_version||\"4\"==t.sign_version){var i=e(\"aws4\"),o={host:r.uri.host,path:r.uri.path,method:r.method,headers:{\"content-type\":r.getHeader(\"content-type\")||\"\"},body:r.body},a=i.sign(o,{accessKeyId:t.key,secretAccessKey:t.secret});r.setHeader(\"authorization\",a.headers.Authorization),r.setHeader(\"x-amz-date\",a.headers[\"X-Amz-Date\"])}else{var s=new Date;r.setHeader(\"date\",s.toUTCString());var c={key:t.key,secret:t.secret,verb:r.method.toUpperCase(),date:s,contentType:r.getHeader(\"content-type\")||\"\",md5:r.getHeader(\"content-md5\")||\"\",amazonHeaders:y.canonicalizeHeaders(r.headers)},u=r.uri.path;t.bucket&&u?c.resource=\"/\"+t.bucket+u:t.bucket&&!u?c.resource=\"/\"+t.bucket:!t.bucket&&u?c.resource=u:t.bucket||u||(c.resource=\"/\"),c.resource=y.canonicalizeResource(c.resource),r.setHeader(\"authorization\",y.authorization(c))}return r},c.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),u(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},c.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",g.client.header(t.uri,t.method,e).field)},c.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},c.prototype.jar=function(e){var t,n=this;if(0===n._redirect.redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:U,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},c.prototype.pipe=function(e,t){var n=this;if(!n.response)return n.dests.push(e),h.Stream.prototype.pipe.call(n,e,t),e;if(n._destdata)n.emit(\"error\",new Error(\"You cannot pipe after data has been emitted from the response.\"));else{if(!n._ended)return h.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e;n.emit(\"error\",new Error(\"You cannot pipe after the response has been ended.\"))}},c.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req.write.apply(e.req,arguments)},c.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req.end())},c.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},c.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},c.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},c.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),c.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),c.prototype.toJSON=a,t.exports=c}).call(this,e(\"buffer\").Buffer)},{\"./lib/auth\":394,\"./lib/cookies\":395,\"./lib/getProxyFromURI\":396,\"./lib/har\":397,\"./lib/helpers\":398,\"./lib/multipart\":399,\"./lib/oauth\":400,\"./lib/querystring\":401,\"./lib/redirect\":402,\"./lib/tunnel\":403,\"aws-sign2\":12,aws4:13,bl:14,buffer:void 0,caseless:71,extend:404,\"forever-agent\":116,\"form-data\":117,hawk:144,http:void 0,\"http-signature\":152,https:void 0,\"is-typedarray\":162,\"mime-types\":184,stream:void 0,stringstream:457,url:void 0,util:void 0,zlib:void 0}],406:[function(e,t,n){(function(n){var r=e(\"path\"),i=e(\"fs\"),o=e(\"util\").format,a=e(\"resolve-from\"),s=e(\"semver\"),c=i.existsSync||r.existsSync,u=function(e){for(var t=!1;!t;)if(c(e+\"/package.json\"))t=e;else{if(\"/\"===e)return!1;e=r.dirname(e)}return e},p=function(r,c){c=c||{},c.strict=\"boolean\"==typeof c.strict?c.strict:!0;var p=n;t.parent&&(p=t.parent.filename);var p=u(p);if(!p)throw new Error(\"package.json can not be located\");var l=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),f=r.split(/\\//);if(!l.peerOptionalDependencies)throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));if(l.peerOptionalDependencies&&!l.peerOptionalDependencies[f[0]])throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));var d=l.peerOptionalDependencies[f[0]],h=void 0,m=r;try{h=e(m)}catch(v){try{if(m=a(process.cwd(),r),null==m)return;h=e(m)}catch(v){if(\"MODULE_NOT_FOUND\"===v.code)return}}var p=u(e.resolve(m));if(!p)throw new Error(\"package.json can not be located\");var g=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),y=g.version;if(0==s.satisfies(y,d)&&c.strict){var b=new Error(o(\"optional dependency [%s] found but version [%s] did not satisfy constraint [%s]\",f[0],y,d));throw b.code=\"OPTIONAL_MODULE_NOT_FOUND\",b}return h};p.exists=function(e){try{var t=p(e);return void 0!==t}catch(n){return!1}},t.exports=p}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/require_optional\");\n},{fs:void 0,path:void 0,\"resolve-from\":407,semver:408,util:void 0}],407:[function(e,t,n){\"use strict\";var r=e(\"path\"),i=e(\"module\");t.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected `fromDir` and `moduleId` to be a string\");e=r.resolve(e);var n=r.join(e,\"noop.js\");try{return i._resolveFilename(t,{id:n,filename:n,paths:i._nodeModulePaths(e)})}catch(o){return null}}},{module:void 0,path:void 0}],408:[function(e,t,n){function r(e,t){if(e instanceof a)return e;if(\"string\"!=typeof e)return null;if(e.length>Y)return null;var n=t?G[fe]:G[ue];if(!n.test(e))return null;try{return new a(e,t)}catch(r){return null}}function i(e,t){var n=r(e,t);return n?n.version:null}function o(e,t){var n=r(e.trim().replace(/^[=v]+/,\"\"),t);return n?n.version:null}function a(e,t){if(e instanceof a){if(e.loose===t)return e;e=e.version}else if(\"string\"!=typeof e)throw new TypeError(\"Invalid Version: \"+e);if(e.length>Y)throw new TypeError(\"version is longer than \"+Y+\" characters\");if(!(this instanceof a))return new a(e,t);W(\"SemVer\",e,t),this.loose=t;var n=e.trim().match(t?G[fe]:G[ue]);if(!n)throw new TypeError(\"Invalid Version: \"+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>K||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>K||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>K||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&K>t)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}function s(e,t,n,r){\"string\"==typeof n&&(r=n,n=void 0);try{return new a(e,n).inc(t,r).version}catch(i){return null}}function c(e,t){if(w(e,t))return null;var n=r(e),i=r(t);if(n.prerelease.length||i.prerelease.length){for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return\"pre\"+o;return\"prerelease\"}for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return o}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:t>e?-1:e>t?1:0}function p(e,t){return u(t,e)}function l(e,t){return new a(e,t).major}function f(e,t){return new a(e,t).minor}function d(e,t){return new a(e,t).patch}function h(e,t,n){return new a(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function g(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function y(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function b(e,t,n){return h(e,t,n)>0}function x(e,t,n){return h(e,t,n)<0}function w(e,t,n){return 0===h(e,t,n)}function _(e,t,n){return 0!==h(e,t,n)}function k(e,t,n){return h(e,t,n)>=0}function j(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){var i;switch(t){case\"===\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e===n;break;case\"!==\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e!==n;break;case\"\":case\"=\":case\"==\":i=w(e,n,r);break;case\"!=\":i=_(e,n,r);break;case\">\":i=b(e,n,r);break;case\">=\":i=k(e,n,r);break;case\"<\":i=x(e,n,r);break;case\"<=\":i=j(e,n,r);break;default:throw new TypeError(\"Invalid operator: \"+t)}return i}function E(e,t){if(e instanceof E){if(e.loose===t)return e;e=e.value}return this instanceof E?(W(\"comparator\",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value=\"\":this.value=this.operator+this.semver.version,void W(\"comp\",this)):new E(e,t)}function O(e,t){if(e instanceof O&&e.loose===t)return e;if(!(this instanceof O))return new O(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\\s*\\|\\|\\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError(\"Invalid SemVer Range: \"+e);this.format()}function A(e,t){return new O(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(\" \").trim().split(\" \")})}function C(e,t){return W(\"comp\",e),e=F(e,t),W(\"caret\",e),e=I(e,t),W(\"tildes\",e),e=z(e,t),W(\"xrange\",e),e=N(e,t),W(\"stars\",e),e}function T(e){return!e||\"x\"===e.toLowerCase()||\"*\"===e}function I(e,t){return e.trim().split(/\\s+/).map(function(e){return P(e,t)}).join(\" \")}function P(e,t){var n=t?G[je]:G[ke];return e.replace(n,function(t,n,r,i,o){W(\"tilde\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":o?(W(\"replaceTilde pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\"):a=\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\",W(\"tilde return\",a),a})}function F(e,t){return e.trim().split(/\\s+/).map(function(e){return M(e,t)}).join(\" \")}function M(e,t){W(\"caret\",e,t);var n=t?G[Ce]:G[Ae];return e.replace(n,function(t,n,r,i,o){W(\"caret\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\"0\"===n?\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".0 <\"+(+n+1)+\".0.0\":o?(W(\"replaceCaret pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+(+n+1)+\".0.0\"):(W(\"no pr\"),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+\" <\"+(+n+1)+\".0.0\"),W(\"caret return\",a),a})}function z(e,t){return W(\"replaceXRanges\",e,t),e.split(/\\s+/).map(function(e){return B(e,t)}).join(\" \")}function B(e,t){e=e.trim();var n=t?G[be]:G[ye];return e.replace(n,function(t,n,r,i,o,a){W(\"xRange\",e,t,n,r,i,o,a);var s=T(r),c=s||T(i),u=c||T(o),p=u;return\"=\"===n&&p&&(n=\"\"),s?t=\">\"===n||\"<\"===n?\"<0.0.0\":\"*\":n&&p?(c&&(i=0),u&&(o=0),\">\"===n?(n=\">=\",c?(r=+r+1,i=0,o=0):u&&(i=+i+1,o=0)):\"<=\"===n&&(n=\"<\",c?r=+r+1:i=+i+1),t=n+r+\".\"+i+\".\"+o):c?t=\">=\"+r+\".0.0 <\"+(+r+1)+\".0.0\":u&&(t=\">=\"+r+\".\"+i+\".0 <\"+r+\".\"+(+i+1)+\".0\"),W(\"xRange return\",t),t})}function N(e,t){return W(\"replaceStars\",e,t),e.trim().replace(G[Be],\"\")}function D(e,t,n,r,i,o,a,s,c,u,p,l,f){return t=T(n)?\"\":T(r)?\">=\"+n+\".0.0\":T(i)?\">=\"+n+\".\"+r+\".0\":\">=\"+t,s=T(c)?\"\":T(u)?\"<\"+(+c+1)+\".0.0\":T(p)?\"<\"+c+\".\"+(+u+1)+\".0\":l?\"<=\"+c+\".\"+u+\".\"+p+\"-\"+l:\"<=\"+s,(t+\" \"+s).trim()}function q(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(W(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new O(t,n)}catch(r){return!1}return t.test(e)}function L(e,t,n){return e.filter(function(e){return R(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function $(e,t){try{return new O(e,t).range||\"*\"}catch(n){return null}}function U(e,t,n){return V(e,t,\"<\",n)}function H(e,t,n){return V(e,t,\">\",n)}function V(e,t,n,r){e=new a(e,r),t=new O(t,r);var i,o,s,c,u;switch(n){case\">\":i=b,o=j,s=x,c=\">\",u=\">=\";break;case\"<\":i=x,o=k,s=b,c=\"<\",u=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(R(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var l=t.set[p],f=null,d=null;if(l.forEach(function(e){e.semver===qe&&(e=new E(\">=0.0.0\")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:s(e.semver,d.semver,r)&&(d=e)}),f.operator===c||f.operator===u)return!1;if((!d.operator||d.operator===c)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0}n=t.exports=a;var W;W=\"object\"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\\bsemver\\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(\"SEMVER\"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION=\"2.0.0\";var Y=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,G=n.re=[],J=n.src=[],Z=0,Q=Z++;J[Q]=\"0|[1-9]\\\\d*\";var X=Z++;J[X]=\"[0-9]+\";var ee=Z++;J[ee]=\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";var te=Z++;J[te]=\"(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\";var ne=Z++;J[ne]=\"(\"+J[X]+\")\\\\.(\"+J[X]+\")\\\\.(\"+J[X]+\")\";var re=Z++;J[re]=\"(?:\"+J[Q]+\"|\"+J[ee]+\")\";var ie=Z++;J[ie]=\"(?:\"+J[X]+\"|\"+J[ee]+\")\";var oe=Z++;J[oe]=\"(?:-(\"+J[re]+\"(?:\\\\.\"+J[re]+\")*))\";var ae=Z++;J[ae]=\"(?:-?(\"+J[ie]+\"(?:\\\\.\"+J[ie]+\")*))\";var se=Z++;J[se]=\"[0-9A-Za-z-]+\";var ce=Z++;J[ce]=\"(?:\\\\+(\"+J[se]+\"(?:\\\\.\"+J[se]+\")*))\";var ue=Z++,pe=\"v?\"+J[te]+J[oe]+\"?\"+J[ce]+\"?\";J[ue]=\"^\"+pe+\"$\";var le=\"[v=\\\\s]*\"+J[ne]+J[ae]+\"?\"+J[ce]+\"?\",fe=Z++;J[fe]=\"^\"+le+\"$\";var de=Z++;J[de]=\"((?:<|>)?=?)\";var he=Z++;J[he]=J[X]+\"|x|X|\\\\*\";var me=Z++;J[me]=J[Q]+\"|x|X|\\\\*\";var ve=Z++;J[ve]=\"[v=\\\\s]*(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\"+J[oe]+\")?\"+J[ce]+\"?)?)?\";var ge=Z++;J[ge]=\"[v=\\\\s]*(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\"+J[ae]+\")?\"+J[ce]+\"?)?)?\";var ye=Z++;J[ye]=\"^\"+J[de]+\"\\\\s*\"+J[ve]+\"$\";var be=Z++;J[be]=\"^\"+J[de]+\"\\\\s*\"+J[ge]+\"$\";var xe=Z++;J[xe]=\"(?:~>?)\";var we=Z++;J[we]=\"(\\\\s*)\"+J[xe]+\"\\\\s+\",G[we]=new RegExp(J[we],\"g\");var _e=\"$1~\",ke=Z++;J[ke]=\"^\"+J[xe]+J[ve]+\"$\";var je=Z++;J[je]=\"^\"+J[xe]+J[ge]+\"$\";var Se=Z++;J[Se]=\"(?:\\\\^)\";var Ee=Z++;J[Ee]=\"(\\\\s*)\"+J[Se]+\"\\\\s+\",G[Ee]=new RegExp(J[Ee],\"g\");var Oe=\"$1^\",Ae=Z++;J[Ae]=\"^\"+J[Se]+J[ve]+\"$\";var Ce=Z++;J[Ce]=\"^\"+J[Se]+J[ge]+\"$\";var Te=Z++;J[Te]=\"^\"+J[de]+\"\\\\s*(\"+le+\")$|^$\";var Ie=Z++;J[Ie]=\"^\"+J[de]+\"\\\\s*(\"+pe+\")$|^$\";var Pe=Z++;J[Pe]=\"(\\\\s*)\"+J[de]+\"\\\\s*(\"+le+\"|\"+J[ve]+\")\",G[Pe]=new RegExp(J[Pe],\"g\");var Fe=\"$1$2$3\",Me=Z++;J[Me]=\"^\\\\s*(\"+J[ve]+\")\\\\s+-\\\\s+(\"+J[ve]+\")\\\\s*$\";var ze=Z++;J[ze]=\"^\\\\s*(\"+J[ge]+\")\\\\s+-\\\\s+(\"+J[ge]+\")\\\\s*$\";var Be=Z++;J[Be]=\"(<|>)?=?\\\\s*\\\\*\";for(var Ne=0;Z>Ne;Ne++)W(Ne,J[Ne]),G[Ne]||(G[Ne]=new RegExp(J[Ne]));n.parse=r,n.valid=i,n.clean=o,n.SemVer=a,a.prototype.format=function(){return this.version=this.major+\".\"+this.minor+\".\"+this.patch,this.prerelease.length&&(this.version+=\"-\"+this.prerelease.join(\".\")),this.version},a.prototype.toString=function(){return this.version},a.prototype.compare=function(e){return W(\"SemVer.compare\",this.version,this.loose,e),e instanceof a||(e=new a(e,this.loose)),this.compareMain(e)||this.comparePre(e)},a.prototype.compareMain=function(e){return e instanceof a||(e=new a(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},a.prototype.comparePre=function(e){if(e instanceof a||(e=new a(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(W(\"prerelease compare\",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},a.prototype.inc=function(e,t){switch(e){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",t);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",t);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"prerelease\":0===this.prerelease.length&&this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"major\":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case\"pre\":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)\"number\"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(\"invalid increment argument: \"+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=c,n.compareIdentifiers=u;var De=/^[0-9]+$/;n.rcompareIdentifiers=p,n.major=l,n.minor=f,n.patch=d,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=g,n.rsort=y,n.gt=b,n.lt=x,n.eq=w,n.neq=_,n.gte=k,n.lte=j,n.cmp=S,n.Comparator=E;var qe={};E.prototype.parse=function(e){var t=this.loose?G[Te]:G[Ie],n=e.match(t);if(!n)throw new TypeError(\"Invalid comparator: \"+e);this.operator=n[1],\"=\"===this.operator&&(this.operator=\"\"),n[2]?this.semver=new a(n[2],this.loose):this.semver=qe},E.prototype.toString=function(){return this.value},E.prototype.test=function(e){return W(\"Comparator.test\",e,this.loose),this.semver===qe?!0:(\"string\"==typeof e&&(e=new a(e,this.loose)),S(e,this.operator,this.semver,this.loose))},n.Range=O,O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(\" \").trim()}).join(\"||\").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),W(\"range\",e,t);var n=t?G[ze]:G[Me];e=e.replace(n,D),W(\"hyphen replace\",e),e=e.replace(G[Pe],Fe),W(\"comparator trim\",e,G[Pe]),e=e.replace(G[we],_e),e=e.replace(G[Ee],Oe),e=e.split(/\\s+/).join(\" \");var r=t?G[Te]:G[Ie],i=e.split(\" \").map(function(e){return C(e,t)}).join(\" \").split(/\\s+/);return this.loose&&(i=i.filter(function(e){return!!e.match(r)})),i=i.map(function(e){return new E(e,t)})},n.toComparators=A,O.prototype.test=function(e){if(!e)return!1;\"string\"==typeof e&&(e=new a(e,this.loose));for(var t=0;t<this.set.length;t++)if(q(this.set[t],e))return!0;return!1},n.satisfies=R,n.maxSatisfying=L,n.validRange=$,n.ltr=U,n.gtr=H,n.outside=V},{}],409:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){return new i(e,t,n)}function i(e,t,n){var r=n||{};if(this.options=r,this.path=t,this.req=e,this._etag=void 0!==r.etag?Boolean(r.etag):!0,this._dotfiles=void 0!==r.dotfiles?r.dotfiles:\"ignore\",\"ignore\"!==this._dotfiles&&\"allow\"!==this._dotfiles&&\"deny\"!==this._dotfiles)throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"');this._hidden=Boolean(r.hidden),void 0!==r.hidden&&p(\"hidden: use dotfiles: '\"+(this._hidden?\"allow\":\"ignore\")+\"' instead\"),void 0===r.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==r.extensions?s(r.extensions,\"extensions option\"):[],this._index=void 0!==r.index?s(r.index,\"index option\"):[\"index.html\"],this._lastModified=void 0!==r.lastModified?Boolean(r.lastModified):!0,this._maxage=r.maxAge||r.maxage,this._maxage=\"string\"==typeof this._maxage?k(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),O),this._root=r.root?A(r.root):null,!this._root&&r.from&&this.from(r.from)}function o(e){for(var t=0;t<e.length;t++)if(\".\"===e[t][0])return!0;return!1}function a(e){try{return decodeURIComponent(e)}catch(t){return-1}}function s(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(\"string\"!=typeof n[r])throw new TypeError(t+\" must be array of strings or false\");return n}var c=e(\"http-errors\"),u=e(\"debug\")(\"send\"),p=e(\"depd\")(\"send\"),l=e(\"destroy\"),f=e(\"escape-html\"),d=e(\"range-parser\"),h=e(\"stream\"),m=e(\"mime\"),v=e(\"fresh\"),g=e(\"path\"),y=e(\"fs\"),b=g.normalize,x=g.join,w=e(\"etag\"),_=e(\"events\").EventEmitter,k=e(\"ms\"),j=e(\"on-finished\"),S=e(\"statuses\"),E=g.extname,O=31536e6,A=g.resolve,C=g.sep,T=(Object.prototype.toString,/(?:^|[\\\\\\/])\\.\\.(?:[\\\\\\/]|$)/);t.exports=r,t.exports.mime=m;var I=_.listenerCount||function(e,t){return e.listeners(t).length};i.prototype.__proto__=h.prototype,i.prototype.etag=p[\"function\"](function(e){return e=Boolean(e),u(\"etag %s\",e),this._etag=e,this},\"send.etag: pass etag as option\"),i.prototype.hidden=p[\"function\"](function(e){return e=Boolean(e),u(\"hidden %s\",e),this._hidden=e,this._dotfiles=void 0,this},\"send.hidden: use dotfiles option\"),i.prototype.index=p[\"function\"](function P(e){var P=e?s(e,\"paths argument\"):[];return u(\"index %o\",e),this._index=P,this},\"send.index: pass index as option\"),i.prototype.root=function(e){return e=String(e),this._root=A(e),this},i.prototype.from=p[\"function\"](i.prototype.root,\"send.from: pass root as option\"),i.prototype.root=p[\"function\"](i.prototype.root,\"send.root: pass root as option\"),i.prototype.maxage=p[\"function\"](function(e){return e=\"string\"==typeof e?k(e):Number(e),isNaN(e)&&(e=0),1/0==e&&(e=31536e6),u(\"max-age %d\",e),this._maxage=e,this},\"send.maxage: pass maxAge as option\"),i.prototype.error=function F(e,F){if(0!==I(this,\"error\"))return this.emit(\"error\",c(F,e,{expose:!1}));var t=this.res,r=S[e];t._headers=null,t.statusCode=e,t.setHeader(\"Content-Type\",\"text/plain; charset=UTF-8\"),t.setHeader(\"Content-Length\",n.byteLength(r)),t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.end(r)},i.prototype.hasTrailingSlash=function(){return\"/\"==this.path[this.path.length-1]},i.prototype.isConditionalGET=function(){return this.req.headers[\"if-none-match\"]||this.req.headers[\"if-modified-since\"]},i.prototype.removeContentHeaderFields=function(){for(var e=this.res,t=Object.keys(e._headers||{}),n=0;n<t.length;n++){var r=t[n];\"content-\"===r.substr(0,8)&&\"content-location\"!==r&&e.removeHeader(r)}},i.prototype.notModified=function(){var e=this.res;u(\"not modified\"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},i.prototype.headersAlreadySent=function(){var e=new Error(\"Can't set headers after they are sent.\");u(\"headers already sent\"),this.error(500,e)},i.prototype.isCachable=function(){var e=this.res;return e.statusCode>=200&&e.statusCode<300||304==e.statusCode},i.prototype.onStatError=function(e){switch(e.code){case\"ENAMETOOLONG\":case\"ENOENT\":case\"ENOTDIR\":this.error(404,e);break;default:this.error(500,e)}},i.prototype.isFresh=function(){return v(this.req.headers,this.res._headers)},i.prototype.isRangeFresh=function(){var e=this.req.headers[\"if-range\"];return e?~e.indexOf('\"')?~e.indexOf(this.res._headers.etag):Date.parse(this.res._headers[\"last-modified\"])<=Date.parse(e):!0},i.prototype.redirect=function(e){if(0!==I(this,\"directory\"))return void this.emit(\"directory\");if(this.hasTrailingSlash())return void this.error(403);var t=e+\"/\",r='Redirecting to <a href=\"'+f(t)+'\">'+f(t)+\"</a>\\n\",i=this.res;i.statusCode=301,i.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),i.setHeader(\"Content-Length\",n.byteLength(r)),i.setHeader(\"X-Content-Type-Options\",\"nosniff\"),i.setHeader(\"Location\",t),i.end(r)},i.prototype.pipe=function(e){var t=this._root;this.res=e;var n=a(this.path);if(-1===n)return this.error(400);if(~n.indexOf(\"\\x00\"))return this.error(400);var r;if(null!==t){if(T.test(b(\".\"+C+n)))return u('malicious path \"%s\"',n),this.error(403);n=b(x(t,n)),t=b(t+C),r=n.substr(t.length).split(C)}else{if(T.test(n))return u('malicious path \"%s\"',n),this.error(403);r=b(n).split(C),n=A(n)}if(o(r)){var i=this._dotfiles;switch(void 0===i&&(i=\".\"===r[r.length-1][0]?this._hidden?\"allow\":\"ignore\":\"allow\"),u('%s dotfile \"%s\"',i,n),i){case\"allow\":break;case\"deny\":return this.error(403);case\"ignore\":default:return this.error(404)}}return this._index.length&&\"/\"===this.path[this.path.length-1]?(this.sendIndex(n),e):(this.sendFile(n),e)},i.prototype.send=function(e,t){var n=t.size,r=this.options,i={},o=this.res,a=this.req,s=a.headers.range,c=r.start||0;if(o._header)return this.headersAlreadySent();if(u('pipe \"%s\"',e),this.setHeader(e,t),this.type(e),this.isConditionalGET()&&this.isCachable()&&this.isFresh())return this.notModified();if(n=Math.max(0,n-c),void 0!==r.end){var p=r.end-c+1;n>p&&(n=p)}if(s){if(s=d(n,s),this.isRangeFresh()||(u(\"range stale\"),s=-2),-1==s)return u(\"range unsatisfiable\"),o.setHeader(\"Content-Range\",\"bytes */\"+t.size),this.error(416);-2!=s&&1===s.length&&(u(\"range %j\",s),o.statusCode=206,o.setHeader(\"Content-Range\",\"bytes \"+s[0].start+\"-\"+s[0].end+\"/\"+n),c+=s[0].start,n=s[0].end-s[0].start+1)}for(var l in r)i[l]=r[l];return i.start=c,i.end=Math.max(c,c+n-1),o.setHeader(\"Content-Length\",n),\"HEAD\"==a.method?o.end():void this.stream(e,i)},i.prototype.sendFile=function(e){function t(i){if(r._extensions.length<=n)return i?r.onStatError(i):r.error(404);var o=e+\".\"+r._extensions[n++];u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=0,r=this;u('stat \"%s\"',e),y.stat(e,function(n,i){return n&&\"ENOENT\"===n.code&&!E(e)&&e[e.length-1]!==C?t(n):n?r.onStatError(n):i.isDirectory()?r.redirect(r.path):(r.emit(\"file\",e,i),void r.send(e,i))})},i.prototype.sendIndex=function(e){function t(i){if(++n>=r._index.length)return i?r.onStatError(i):r.error(404);var o=x(e,r._index[n]);u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=-1,r=this;t()},i.prototype.stream=function(e,t){var n=!1,r=this,i=this.res,o=(this.req,y.createReadStream(e,t));this.emit(\"stream\",o),o.pipe(i),j(i,function(){n=!0,l(o)}),o.on(\"error\",function(e){n||(n=!0,l(o),r.onStatError(e))}),o.on(\"end\",function(){r.emit(\"end\")})},i.prototype.type=function(e){var t=this.res;if(!t.getHeader(\"Content-Type\")){var n=m.lookup(e),r=m.charsets.lookup(n);u(\"content-type %s\",n),t.setHeader(\"Content-Type\",n+(r?\"; charset=\"+r:\"\"))}},i.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(\"headers\",n,e,t),n.getHeader(\"Accept-Ranges\")||n.setHeader(\"Accept-Ranges\",\"bytes\"),n.getHeader(\"Cache-Control\")||n.setHeader(\"Cache-Control\",\"public, max-age=\"+Math.floor(this._maxage/1e3)),this._lastModified&&!n.getHeader(\"Last-Modified\")){var r=t.mtime.toUTCString();u(\"modified %s\",r),n.setHeader(\"Last-Modified\",r)}if(this._etag&&!n.getHeader(\"ETag\")){var i=w(t);u(\"etag %s\",i),n.setHeader(\"ETag\",i)}}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,depd:85,destroy:90,\"escape-html\":96,etag:97,events:void 0,fresh:120,fs:void 0,\"http-errors\":151,mime:185,ms:355,\"on-finished\":363,path:void 0,\"range-parser\":387,statuses:455,stream:void 0}],410:[function(e,t,n){t.exports=e(\"./lib/sendgrid\")},{\"./lib/sendgrid\":413}],411:[function(e,t,n){\"use strict\";function r(e){e=e||{},this.to=e.to||[],this.from=e.from||\"\",this.smtpapi=e.smtpapi||new o,this.subject=e.subject||\"\",this.text=e.text||\"\",this.html=e.html||\"\",this.bcc=e.bcc||[],this.cc=e.cc||[],this.replyto=e.replyto||\"\",this.date=e.date||\"\",this.headers=e.headers||{},null!==e.toname&&(this.toname=e.toname),null!==e.fromname&&(this.fromname=e.fromname),this.files=[],e.files&&e.files.forEach(function(e){this.files.push(new i(e))},this)}var i=e(\"./file_handler\"),o=e(\"smtpapi\"),a=e(\"lodash\"),s=e(\"request\"),c=e(\"fs\");r.prototype.addHeader=function(e,t){if(\"undefined\"!=typeof t&&null!==t||(t=\"\"),a.isObject(e))a.extend(this.headers,e);else{var n={};n[e]=t,a.extend(this.headers,n)}return this},r.prototype.setHeaders=function(e){return a.isObject(e)&&(this.headers=e),this},r.prototype.addTo=function(e){return this.to.push(e),this},r.prototype.setSmtpapiTos=function(e){return this.smtpapi.setTos(e),this},r.prototype.addSmtpapiTo=function(e){return this.smtpapi.addTo(e),this},r.prototype.setTos=function(e){return this.to=e,this},r.prototype.setFrom=function(e){return this.from=e,this},r.prototype.setFromName=function(e){this.fromname=e},r.prototype.addCc=function(e){return this.cc.push(e),this},r.prototype.setCcs=function(e){return this.cc=e,this},r.prototype.addBcc=function(e){return this.bcc.push(e),this},r.prototype.setBccs=function(e){return this.bcc=e,this},r.prototype.setSubject=function(e){return this.subject=e,this},r.prototype.setText=function(e){return this.text=e,this},r.prototype.setHtml=function(e){return this.html=e,this},r.prototype.addSubstitution=function(e,t){return this.smtpapi.addSubstitution(e,t),this},r.prototype.setSubstitutions=function(e){return this.smtpapi.setSubstitutions(e),this},r.prototype.addUniqueArg=function(e,t){return this.smtpapi.addUniqueArg(e,t),this},r.prototype.setUniqueArgs=function(e){return this.smtpapi.setUniqueArgs(e),this},r.prototype.addCategory=function(e){return this.smtpapi.addCategory(e),this},r.prototype.setCategories=function(e){return this.smtpapi.setCategories(e),this},r.prototype.addSection=function(e,t){return this.smtpapi.addSection(e,t),this},r.prototype.setSections=function(e){return this.smtpapi.setSections(e),this},r.prototype.addFilter=function(e,t,n){return this.smtpapi.addFilter(e,t,n),this},r.prototype.setFilters=function(e){return this.smtpapi.setFilters(e),this},r.prototype.setASMGroupID=function(e){return this.smtpapi.setASMGroupID(e),this},r.prototype.addFile=function(e){return this.files.push(new i(e)),this},r.prototype.setDate=function(e){return this.date=e,this},r.prototype.setSendAt=function(e){return this.smtpapi.setSendAt(e),this},r.prototype.setSendEachAt=function(e){return this.smtpapi.setSendEachAt(e),this},r.prototype.addSendEachAt=function(e){return this.smtpapi.addSendEachAt(e),this},r.prototype.toWebFormat=function(){var e={to:this.to,from:this.from,\"x-smtpapi\":this.smtpapi.jsonString(),subject:this.subject,text:this.text,html:this.html,headers:JSON.stringify(this.headers)};return this.bcc&&(e.bcc=this.bcc),this.cc&&(e.cc=this.cc),this.html&&(e.html=this.html),this.toname&&(e.toname=this.toname),this.fromname&&(e.fromname=this.fromname),this.replyto&&(e.replyto=this.replyto),this.date&&(e.date=this.date),this.smtpapi.to&&this.smtpapi.to.length&&(e.to=\"\"),this.updateMissingTo(e),this.files&&this.files.forEach(function(t){t.url?t.content=s(t.url):t.path&&(t.content=c.createReadStream(t.path)),e[\"files[\"+t.filename+\"]\"]={filename:t.filename,content:t.content||\" \",contentType:t.contentType,cid:t.cid}}),e},r.prototype._formatFilesForNodeMailer=function(e){var t=this;e&&e.length>0&&e.forEach(function(e){t._formatFileForNodeMailer(e)})},r.prototype._formatFileForNodeMailer=function(e){e.filename&&(e.fileName=e.filename),e.path&&(e.filePath=e.path),e.url&&(e.filePath=e.url),e.content&&(e.contents=e.content),e.filePath||e.content||!e.filename||(e.contents=\" \")},r.prototype.updateMissingTo=function(e){this.smtpapi.jsonObject().to&&this.smtpapi.jsonObject().to.length>0&&(e.to=this.from)},r.prototype.hasFiles=function(){return this.files.length>0},t.exports=r},{\"./file_handler\":412,fs:void 0,lodash:414,request:393,smtpapi:432}],412:[function(e,t,n){(function(n){\"use strict\";function r(e){this.filename=e.filename,e.contentType&&(this.contentType=e.contentType),e.cid&&(this.cid=e.cid),e.content?(this.type=\"content\",this.content=e.content,this.contentType||(this.contentType=o.lookup(this.filename))):e.path?(this.type=\"path\",this.path=e.path,this.filename||(this.filename=e.path.split(\"/\").pop()),a.isEmpty(e.contentType)&&(this.contentType=o.lookup(this.path))):e.url?(this.type=\"url\",this.url=e.url,this.contentType||(this.contentType=o.lookup(this.url))):(this.type=\"none\",this.contentType=\"none\")}var i=e(\"http\"),o=e(\"mime\"),a=e(\"lodash\"),s=e(\"url\"),c=e(\"fs\");r.handlers={content:function(e,t){e.content?t():t(!0,\"Content was missing\")},path:function(e,t){c.readFile(e.path,function(n,r){return n?t(!0,n):(e.content=r,void t())})},url:function(e,t){var r=s.parse(e.url),o=r.host,c=r.path,u=i.request({host:o,path:c,method:\"GET\"},function(r){var i=[],o=0;r.setEncoding(\"base64\"),r.on(\"data\",function(e){o+=n.byteLength(e),i.push(e)}),r.on(\"end\",function(){var r=new n(o,\"base64\"),s=0;a(i).each(function(e){s+=r.write(e,s,\"base64\")}),e.content=r,t()})});u.on(\"error\",function(e){t(!0,e)}),u.end()},none:function(e,t){t(!0,\"File was not included\")}},r.prototype.loadContent=function(e){var t=r.handlers[this.type];t?r.handlers[this.type](this,e):e(!0,\"Upload method not supported\")},t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,fs:void 0,http:void 0,lodash:414,mime:185,url:void 0}],413:[function(e,t,n){\"use strict\";var r=e(\"./../package.json\"),i=e(\"lodash\"),o=e(\"request\"),a=e(\"smtpapi\"),s=e(\"./email\"),c=function(e,t,n){if(!(this instanceof c))return new c(e,t,n);if(\"string\"==typeof t)this.api_user=e,this.api_key=t,this.options=n||{};else{if(\"object\"!=typeof t&&void 0!==t)throw new Error(\"Need a username + password or api key!\");this.api_key=e,this.api_user=null,this.options=t||{}}var u={};u.protocol=this.options.protocol||\"https\",u.host=this.options.host||\"api.sendgrid.com\",u.port=this.options.port||\"\",u.endpoint=this.options.endpoint||\"/api/mail.send.json\",delete this.options.protocol,delete this.options.host,delete this.options.port,delete this.options.endpoint,this.options.uriParts=u,this.options.uri=this.options.uri||u.protocol+\"://\"+u.host+(u.port?\":\"+u.port:\"\")+u.endpoint;var p=function(e,t){var t=t||function(){};e.constructor!==s&&(e=new s(e)),l.bind(this)(e,t)},l=function(e,t){var n={method:\"POST\",headers:{\"User-Agent\":\"sendgrid/\"+r.version+\";nodejs\"}};null===this.api_user&&(n.headers.Authorization=\"Bearer \"+this.api_key);var a=i.merge(n,this.options),s=o(a,function(e,n,r){var i;if(e)return t(e,null);try{i=JSON.parse(r)}catch(o){return o.message=o.message+\" JSONPARSEERROR when parsing: \"+r,t(new Error(o),null)}if(\"success\"!==i.message){var a=\"sendgrid error\";return i.errors&&(a=i.errors.shift()),t(new Error(a),null)}return t(null,i)}),c=e.toWebFormat();null!==this.api_user&&(c.api_user=this.api_user,c.api_key=this.api_key);var u=s.form(),p=function(e,t){u.append(e,t)};for(var l in c){var f=c[l];if(f&&f.filename)f.cid&&u.append(\"content[\"+f.filename+\"]\",f.cid),u.append(\"files[\"+f.filename+\"]\",f.content,{filename:f.filename,contentType:f.contentType});else try{Array.isArray(f)?f.forEach(p.bind(this,l)):p.bind(this)(l,f)}catch(d){}}};return this.version=r.version,this.Email=s,this.smtpapi=a,this.send=p,this.options=this.options,this};t.exports=c},{\"./../package.json\":415,\"./email\":411,lodash:414,request:393,smtpapi:432}],414:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function i(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function o(e,t,n){if(t!==t)return v(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function a(e){return\"function\"==typeof e||!1}function s(e){return null==e?\"\":e+\"\"}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function u(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function l(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=c)return u;var p=n[i];return u*(\"asc\"===p||p===!0?1:-1)}}return e.index-t.index}function f(e){return He[e]}function d(e){return Ve[e]}function h(e,t,n){return t?e=Ke[e]:n&&(e=Ge[e]),\"\\\\\"+e}function m(e){return\"\\\\\"+Ge[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function g(e){return!!e&&\"object\"==typeof e}function y(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=H,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],c=t?t(s,r,e):s;r&&n===c||(n=c,a[++o]=s)}return a}function w(e){for(var t=-1,n=e.length;++t<n&&y(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&y(e.charCodeAt(t)););return t}function k(e){return We[e]}function j(e){function t(e){if(g(e)&&!Cs(e)&&!(e instanceof Z)){if(e instanceof y)return e;if(ta.call(e,\"__chain__\")&&ta.call(e,\"__wrapped__\"))return dr(e)}return new y(e)}function n(){}function y(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Aa,this.__views__=[]}function te(){var e=new Z(this.__wrapped__);return e.__actions__=et(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=et(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=et(this.__views__),e}function re(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function He(){var e=this.__wrapped__.value(),t=this.__dir__,n=Cs(e),r=0>t,i=n?e.length:0,o=Wn(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=ka(c,this.__takeCount__);if(!n||R>i||i==c&&d==c)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;c--&&d>f;){\nu+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==$)v=x;else if(!x){if(b==L)continue e;break e}}h[f++]=v}return h}function Ve(){this.__data__={}}function We(e){return this.has(e)&&delete this.__data__[e]}function Ye(e){return\"__proto__\"==e?S:this.__data__[e]}function Ke(e){return\"__proto__\"!=e&&ta.call(this.__data__,e)}function Ge(e,t){return\"__proto__\"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ga(null),set:new la};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r=\"string\"==typeof t||Mi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Qe(e){var t=this.data;\"string\"==typeof e||Mi(e)?t.set.add(e):t.hash[e]=!0}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Lo(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function et(e,t){var n=-1,r=e.length;for(t||(t=Lo(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function it(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var c=e[i],u=+t(c);n(u,a)&&(a=u,s=c)}return s}function st(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function ct(e,t){for(var n=-1,r=e.length,i=Lo(r);++n<r;)i[n]=t(e[n],n,e);return i}function ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function pt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function lt(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ft(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dt(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}function ht(e,t){return e===S?t:e}function mt(e,t,n,r){return e!==S&&ta.call(r,n)?e:t}function vt(e,t,n){for(var r=-1,i=Rs(t),o=i.length;++r<o;){var a=i[r],s=e[a],c=n(s,t[a],a,e,t);(c===c?c===s:s!==s)&&(s!==S||a in e)||(e[a]=c)}return e}function gt(e,t){return null==t?e:bt(t,Rs(t),e)}function yt(e,t){for(var n=-1,r=null==e,i=!r&&Zn(e),o=i?e.length:0,a=t.length,s=Lo(a);++n<a;){var c=t[n];i?s[n]=Qn(c,o)?e[c]:S:s[n]=r?S:e[c]}return s}function bt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function xt(e,t,n){var r=typeof e;return\"function\"==r?t===S?e:an(e,t,n):null==e?Ao:\"object\"==r?qt(e):t===S?Mo(e):Rt(e,t)}function wt(e,t,n,r,i,o,a){var s;if(n&&(s=i?n(e,r,i):n(e)),s!==S)return s;if(!Mi(e))return e;var c=Cs(e);if(c){if(s=Yn(e),!t)return et(e,s)}else{var u=ra.call(e),p=u==J;if(u!=X&&u!=V&&(!p||i))return Ue[u]?Gn(e,u,t):i?e:{};if(s=Kn(p?{}:e),!t)return gt(s,e)}o||(o=[]),a||(a=[]);for(var l=o.length;l--;)if(o[l]==e)return a[l];return o.push(e),a.push(s),(c?tt:It)(e,function(r,i){s[i]=wt(r,t,n,i,e,o,a)}),s}function _t(e,t,n){if(\"function\"!=typeof e)throw new Jo(U);return fa(function(){e.apply(S,n)},t)}function kt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,a=Un(),s=a==o,c=s&&t.length>=R?mn(t):null,u=t.length;c&&(a=Ze,s=!1,t=c);e:for(;++i<n;){var p=e[i];if(s&&p===p){for(var l=u;l--;)if(t[l]===p)continue e;r.push(p)}else a(t,p,0)<0&&r.push(p)}return r}function jt(e,t){var n=!0;return Ba(e,function(e,r,i){return n=!!t(e,r,i)}),n}function St(e,t,n,r){var i=r,o=i;return Ba(e,function(e,a,s){var c=+t(e,a,s);(n(c,i)||c===r&&c===o)&&(i=c,o=e)}),o}function Et(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ot(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function At(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Ct(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];g(a)&&Zn(a)&&(n||Cs(a)||Si(a))?t?Ct(a,t,n,r):ut(r,a):n||(r[r.length]=a)}return r}function Tt(e,t){return Da(e,t,eo)}function It(e,t){return Da(e,t,Rs)}function Pt(e,t){return qa(e,t,Rs)}function Ft(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Fi(e[a])&&(o[++i]=a)}return o}function Mt(e,t,n){if(null!=e){n!==S&&n in lr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:S}}function zt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Mi(e)&&!g(t)?e!==e&&t!==t:Bt(e,t,zt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Cs(e),c=Cs(t),u=W,p=W;s||(u=ra.call(e),u==V?u=X:u!=X&&(s=Ui(e))),c||(p=ra.call(t),p==V?p=X:p!=X&&(c=Ui(t)));var l=u==X,f=p==X,d=u==p;if(d&&!s&&!l)return qn(e,t,u);if(!i){var h=l&&ta.call(e,\"__wrapped__\"),m=f&&ta.call(t,\"__wrapped__\");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Dn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=lr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var s=a[0],c=e[s],u=a[1];if(o&&a[2]){if(c===S&&!(s in e))return!1}else{var p=n?n(c,u,s):S;if(!(p===S?zt(u,c,n,!0):p))return!1}}return!0}function Dt(e,t){var n=-1,r=Zn(e)?Lo(e.length):[];return Ba(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function qt(e){var t=Hn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==S||n in lr(e))}}return function(e){return Nt(e,t)}}function Rt(e,t){var n=Cs(e),r=er(e)&&rr(t),i=e+\"\";return e=fr(e),function(o){if(null==o)return!1;var a=i;if(o=lr(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Mt(o,Kt(e,0,-1)),null==o)return!1;a=Er(e),o=lr(o)}return o[a]===t?t!==S||a in o:zt(t,o[a],S,!0)}}function Lt(e,t,n,r,i){if(!Mi(e))return e;var o=Zn(t)&&(Cs(t)||Ui(t)),a=o?S:Rs(t);return tt(a||t,function(s,c){if(a&&(c=s,s=t[c]),g(s))r||(r=[]),i||(i=[]),$t(e,t,c,Lt,n,r,i);else{var u=e[c],p=n?n(u,s,c,e,t):S,l=p===S;l&&(p=s),p===S&&(!o||c in e)||!l&&(p===p?p===u:u!==u)||(e[c]=p)}}),e}function $t(e,t,n,r,i,o,a){for(var s=o.length,c=t[n];s--;)if(o[s]==c)return void(e[n]=a[s]);var u=e[n],p=i?i(u,c,n,e,t):S,l=p===S;l&&(p=c,Zn(c)&&(Cs(c)||Ui(c))?p=Cs(u)?u:Zn(u)?et(u):[]:Ri(c)||Si(c)?p=Si(u)?Ki(u):Ri(u)?u:{}:l=!1),o.push(c),a.push(p),l?e[n]=r(p,c,i,o,a):(p===p?p!==u:u===u)&&(e[n]=p)}function Ut(e){return function(t){return null==t?S:t[e]}}function Ht(e){var t=e+\"\";return e=fr(e),function(n){return Mt(n,e,t)}}function Vt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Qn(r)){var i=r;da.call(e,r,1)}}return e}function Wt(e,t){return e+ya(Ea()*(t-e+1))}function Yt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Lo(i);++r<i;)o[r]=e[r+t];return o}function Gt(e,t){var n;return Ba(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Jt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Zt(e,t,n){var r=Ln(),i=-1;t=ct(t,function(e){return r(e)});var o=Dt(e,function(e){var n=ct(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Jt(o,function(e,t){return l(e,t,n)})}function Qt(e,t){var n=0;return Ba(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Xt(e,t){var n=-1,r=Un(),i=e.length,a=r==o,s=a&&i>=R,c=s?mn():null,u=[];c?(r=Ze,a=!1):(s=!1,c=t?[]:u);e:for(;++n<i;){var p=e[n],l=t?t(p,n,e):p;if(a&&p===p){for(var f=c.length;f--;)if(c[f]===l)continue e;t&&c.push(l),u.push(p)}else r(c,l,0)<0&&((t||s)&&c.push(l),u.push(p))}return u}function en(e,t){for(var n=-1,r=t.length,i=Lo(r);++n<r;)i[n]=e[t[n]];return i}function tn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function nn(e,t){var n=e;n instanceof Z&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,ut([n],o.args))}return n}function rn(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Ia>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Ao,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===S;o>i;){var u=ya((i+o)/2),p=n(e[u]),l=p!==S,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return ka(o,Ta)}function an(e,t,n){if(\"function\"!=typeof e)return Ao;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function cn(e,t,n){for(var r=n.length,i=-1,o=_a(e.length-r,0),a=-1,s=t.length,c=Lo(s+o);++a<s;)c[a]=t[a];for(;++i<r;)c[n[i]]=e[i];for(;o--;)c[a++]=e[i++];return c}function un(e,t,n){for(var r=-1,i=n.length,o=-1,a=_a(e.length-i,0),s=-1,c=t.length,u=Lo(a+c);++o<a;)u[o]=e[o];for(var p=o;++s<c;)u[p+s]=t[s];for(;++r<i;)u[p+n[r]]=e[o++];return u}function pn(e,t){return function(n,r,i){var o=t?t():{};if(r=Ln(r,i,3),Cs(n))for(var a=-1,s=n.length;++a<s;){var c=n[a];e(o,c,r(c,a,n),n)}else Ba(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ln(e){return gi(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for(\"function\"==typeof o?(o=an(o,s,5),i-=2):(o=\"function\"==typeof s?s:S,i-=o?1:0),a&&Xn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function fn(e,t){return function(n,r){var i=n?$a(n):0;if(!nr(i))return e(n,r);for(var o=t?i:-1,a=lr(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function dn(e){return function(t,n,r){for(var i=lr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var c=o[s];if(n(i[c],c,i)===!1)break}return t}}function hn(e,t){function n(){var i=this&&this!==nt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function mn(e){return ga&&la?new Je(e):null}function vn(e){return function(t){for(var n=-1,r=So(po(t)),i=r.length,o=\"\";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=za(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function yn(e){function t(n,r,i){i&&Xn(n,r,i)&&(r=S);var o=Nn(n,e,S,S,S,S,S,r);return o.placeholder=t.placeholder,o}return t}function bn(e,t){return gi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(S,n))})}function xn(e,t){return function(n,r,i){if(i&&Xn(n,r,i)&&(r=S),r=Ln(r,i,3),1==r.length){n=Cs(n)?n:pr(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return St(n,r,e,t)}}function wn(e,t){return function(n,r,o){if(r=Ln(r,o,3),Cs(n)){var a=i(n,r,t);return a>-1?n[a]:S}return At(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Ln(n,r,3),i(t,n,e)):-1}}function kn(e){return function(t,n,r){return n=Ln(n,r,3),At(t,n,e,!0)}}function jn(e){return function(){for(var t,n=arguments.length,r=e?n:-1,i=0,o=Lo(n);e?r--:++r<n;){var a=o[i++]=arguments[r];if(\"function\"!=typeof a)throw new Jo(U);!t&&y.prototype.thru&&\"wrapper\"==$n(a)&&(t=new y([],!0))}for(r=t?-1:n;++r<n;){a=o[r];var s=$n(a),c=\"wrapper\"==s?La(a):S;t=c&&tr(c[0])&&c[1]==(M|T|P|z)&&!c[4].length&&1==c[9]?t[$n(c[0])].apply(t,c[3]):1==a.length&&tr(a)?t[s]():t.thru(a)}return function(){var e=arguments,r=e[0];if(t&&1==e.length&&Cs(r)&&r.length>=R)return t.plant(r).value();for(var i=0,a=n?o[i].apply(this,e):r;++i<n;)a=o[i].call(this,a);return a}}}function Sn(e,t){return function(n,r,i){return\"function\"==typeof r&&i===S&&Cs(n)?e(n,r):t(n,an(r,i,3))}}function En(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n,eo)}}function On(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n)}}function An(e){return function(t,n,r){var i={};return n=Ln(n,r,3),It(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=s(t),(e?t:\"\")+Fn(t,n,r)+(e?\"\":t)}}function Tn(e){var t=gi(function(n,r){var i=b(r,t.placeholder);return Nn(n,e,S,r,i)});return t}function In(e,t){return function(n,r,i,o){var a=arguments.length<3;return\"function\"==typeof r&&o===S&&Cs(n)?e(n,r,i,a):Yt(n,Ln(r,o,4),i,a,t)}}function Pn(e,t,n,r,i,o,a,s,c,u){function p(){for(var y=arguments.length,x=y,w=Lo(y);x--;)w[x]=arguments[x];if(r&&(w=cn(w,r,i)),o&&(w=un(w,o,a)),h||v){var _=p.placeholder,k=b(w,_);if(y-=k.length,u>y){var j=s?et(s):S,E=_a(u-y,0),C=h?k:S,T=h?S:k,I=h?w:S,M=h?S:w;t|=h?P:F,t&=~(h?F:P),m||(t&=~(O|A));var z=[e,t,n,I,C,M,T,j,c,E],B=Pn.apply(S,z);return tr(e)&&Ua(B,z),B.placeholder=_,B}}var N=f?n:this,D=d?N[e]:e;return s&&(w=cr(w,s)),l&&c<w.length&&(w.length=c),this&&this!==nt&&this instanceof p&&(D=g||gn(e)),D.apply(N,w)}var l=t&M,f=t&O,d=t&A,h=t&T,m=t&C,v=t&I,g=d?S:gn(e);return p}function Fn(e,t,n){var r=e.length;if(t=+t,r>=t||!xa(t))return\"\";var i=t-r;return n=null==n?\" \":n+\"\",go(n,va(i/n.length)).slice(0,i)}function Mn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,c=-1,u=r.length,p=Lo(u+s);++c<u;)p[c]=r[c];for(;s--;)p[c++]=arguments[++t];var l=this&&this!==nt&&this instanceof i?a:e;return l.apply(o?n:this,p)}var o=t&O,a=gn(e);return i}function zn(e){var t=Vo[e];return function(e,n){return n=n===S?0:+n||0,n?(n=ua(10,n),t(e*n)/n):t(e)}}function Bn(e){return function(t,n,r,i){var o=Ln(r);return null==r&&o===xt?rn(t,n,e):on(t,n,o(r,i,1),e)}}function Nn(e,t,n,r,i,o,a,s){var c=t&A;if(!c&&\"function\"!=typeof e)throw new Jo(U);var u=r?r.length:0;if(u||(t&=~(P|F),r=i=S),u-=i?i.length:0,t&F){var p=r,l=i;r=i=S}var f=c?S:La(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&(ir(d,f),t=d[1],s=d[9]),d[9]=null==s?c?0:e.length:_a(s-u,0)||0,t==O)var h=hn(d[0],d[2]);else h=t!=P&&t!=(O|P)||d[4].length?Pn.apply(S,d):Mn.apply(S,d);var m=f?Ra:Ua;return m(h,d)}function Dn(e,t,n,r,i,o,a){var s=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++s<c;){var p=e[s],l=t[s],f=r?r(i?l:p,i?p:l,s):S;if(f!==S){if(f)continue;return!1}if(i){if(!ft(t,function(e){return p===e||n(p,e,r,i,o,a)}))return!1}else if(p!==l&&!n(p,l,r,i,o,a))return!1}return!0}function qn(e,t,n){switch(n){case Y:case K:return+e==+t;case G:return e.name==t.name&&e.message==t.message;case Q:return e!=+e?t!=+t:e==+t;case ee:case ne:return e==t+\"\"}return!1}function Rn(e,t,n,r,i,o,a){var s=Rs(e),c=s.length,u=Rs(t),p=u.length;if(c!=p&&!i)return!1;for(var l=c;l--;){var f=s[l];if(!(i?f in t:ta.call(t,f)))return!1}for(var d=i;++l<c;){f=s[l];var h=e[f],m=t[f],v=r?r(i?m:h,i?h:m,f):S;if(!(v===S?n(h,m,r,i,o,a):v))return!1;d||(d=\"constructor\"==f)}if(!d){var g=e.constructor,y=t.constructor;if(g!=y&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof g&&g instanceof g&&\"function\"==typeof y&&y instanceof y))return!1}return!0}function Ln(e,n,r){var i=t.callback||Eo;return i=i===Eo?xt:i,r?i(e,n,r):i}function $n(e){for(var t=e.name,n=Ma[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Un(e,n,r){var i=t.indexOf||jr;return i=i===jr?o:i,e?i(e,n,r):i}function Hn(e){for(var t=to(e),n=t.length;n--;)t[n][2]=rr(t[n][1]);return t}function Vn(e,t){var n=null==e?S:e[t];return Ni(n)?n:S}function Wn(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=ka(t,e+a);break;case\"takeRight\":e=_a(e,t-a)}}return{start:e,end:t}}function Yn(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ta.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Kn(e){var t=e.constructor;return\"function\"==typeof t&&t instanceof t||(t=Yo),new t}function Gn(e,t,n){var r=e.constructor;switch(t){case ie:return sn(e);case Y:case K:return new r(+e);case oe:case ae:case se:case ce:case ue:case pe:case le:case fe:case de:var i=e.buffer;return new r(n?sn(i):i,e.byteOffset,e.length);case Q:case ne:return new r(e);case ee:var o=new r(e.source,Pe.exec(e));o.lastIndex=e.lastIndex}return o}function Jn(e,t,n){null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),t=Er(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function Zn(e){return null!=e&&nr($a(e))}function Qn(e,t){return e=\"number\"==typeof e||ze.test(e)?+e:-1,t=null==t?Pa:t,e>-1&&e%1==0&&t>e}function Xn(e,t,n){if(!Mi(n))return!1;var r=typeof t;if(\"number\"==r?Zn(n)&&Qn(t,n.length):\"string\"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if(\"string\"==n&&Se.test(e)||\"number\"==n)return!0;if(Cs(e))return!1;var r=!je.test(e);return r||null!=t&&e in lr(t)}function tr(e){var n=$n(e);if(!(n in Z.prototype))return!1;var r=t[n];if(e===r)return!0;var i=La(r);return!!i&&e===i[0]}function nr(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Mi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=M>i,a=r==M&&n==T||r==M&&n==z&&e[7].length<=t[8]||r==(M|z)&&n==T;if(!o&&!a)return e;r&O&&(e[2]=t[2],i|=n&O?0:C);var s=t[3];if(s){var c=e[3];e[3]=c?cn(c,s,t[4]):et(s),e[4]=c?b(e[3],H):et(t[4])}return s=t[5],s&&(c=e[5],e[5]=c?un(c,s,t[6]):et(s),e[6]=c?b(e[5],H):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&M&&(e[8]=null==e[8]?t[8]:ka(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:Ts(e,t,or)}function ar(e,t){e=lr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function sr(e,t){var n={};return Tt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function cr(e,t){for(var n=e.length,r=ka(t.length,n),i=et(e);r--;){var o=t[r];e[r]=Qn(o,n)?i[o]:S}return e}function ur(e){for(var t=eo(e),n=t.length,r=n&&e.length,i=!!r&&nr(r)&&(Cs(e)||Si(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Qn(s,r)||ta.call(e,s))&&a.push(s)}return a}function pr(e){return null==e?[]:Zn(e)?Mi(e)?e:Yo(e):oo(e)}function lr(e){return Mi(e)?e:Yo(e)}function fr(e){if(Cs(e))return e;var t=[];return s(e).replace(Ee,function(e,n,r,i){t.push(r?i.replace(Te,\"$1\"):n||e)}),t}function dr(e){return e instanceof Z?e.clone():new y(e.__wrapped__,e.__chain__,et(e.__actions__))}function hr(e,t,n){t=(n?Xn(e,t,n):null==t)?1:_a(ya(t)||1,1);for(var r=0,i=e?e.length:0,o=-1,a=Lo(va(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function vr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0):[]}function xr(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function wr(e){return e?e[0]:S}function _r(e,t,n){var r=e?e.length:0;return n&&Xn(e,t,n)&&(t=!1),r?Ct(e,t):[]}function kr(e){var t=e?e.length:0;return t?Ct(e,!0):[]}function jr(e,t,n){var r=e?e.length:0;if(!r)return-1;if(\"number\"==typeof n)n=0>n?_a(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return o(e,t,n||0)}function Sr(e){return gr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Or(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(\"number\"==typeof n)i=(0>n?_a(r+n,0):ka(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)da.call(t,o,1);return t}function Cr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Ln(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Vt(e,o),r}function Tr(e){return vr(e,1)}function Ir(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function Pr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Fr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Mr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!1,!0):[]}function zr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&\"boolean\"!=typeof t&&(r=n,n=Xn(e,t,r)?S:t,t=!1);var a=Ln();return null==n&&a===xt||(n=a(n,r,3)),t&&Un()==o?x(e,n):Xt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Zn(e)?(n=_a(e.length,n),!0):void 0});for(var r=Lo(n);++t<n;)r[t]=ct(e,Ut(t));return r}function Dr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Nr(e);return null==t?i:(t=an(t,n,4),ct(i,function(e){return pt(e,t,S,!0)}))}function qr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Zn(n))var r=r?ut(kt(r,n),kt(n,r)):n}return r?Xt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Cs(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Lr(e){var n=t(e);return n.__chain__=!0,n}function $r(e,t,n){return t.call(n,e),e}function Ur(e,t,n){return t.call(n,e)}function Hr(){return Lr(this)}function Vr(){return new y(this.value(),this.__chain__)}function Wr(e){for(var t,r=this;r instanceof n;){var i=dr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Yr(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[t],thisArg:S}),new y(n,this.__chain__)}return this.thru(t)}function Kr(){return this.value()+\"\"}function Gr(){return nn(this.__wrapped__,this.__actions__)}function Jr(e,t,n){var r=Cs(e)?ot:jt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function Zr(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,t)}function Qr(e,t){return is(e,qt(t))}function Xr(e,t,n,r){var i=e?$a(e):0;return nr(i)||(e=oo(e),i=e.length),n=\"number\"!=typeof n||r&&Xn(t,n,r)?0:0>n?_a(i+n,0):n||0,\"string\"==typeof e||!Cs(e)&&$i(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Cs(e)?ct:Dt;return t=Ln(t,n,3),r(e,t)}function ti(e,t){return ei(e,Mo(t))}function ni(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Xn(e,t,n):null==t){e=pr(e);var r=e.length;return r>0?e[Wt(0,r-1)]:S}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=ka(0>t?0:+t||0,r);++i<t;){var s=Wt(i,a),c=o[s];o[s]=o[i],o[i]=c}return o.length=t,o}function ii(e){return ri(e,Aa)}function oi(e){var t=e?$a(e):0;return nr(t)?t:Rs(e).length}function ai(e,t,n){var r=Cs(e)?ft:Gt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function si(e,t,n){if(null==e)return[];n&&Xn(e,t,n)&&(t=S);var r=-1;t=Ln(t,n,3);var i=Dt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Jt(i,p)}function ci(e,t,n,r){return null==e?[]:(r&&Xn(t,n,r)&&(n=S),Cs(t)||(t=null==t?[]:[t]),Cs(n)||(n=null==n?[]:[n]),Zt(e,t,n))}function ui(e,t){return Zr(e,qt(t))}function pi(e,t){if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var n=e;e=t,t=n}return e=xa(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function li(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=e&&null==t?e.length:_a(+t||0,0),Nn(e,M,S,S,S,S,t)}function fi(e,t){var n;if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function di(e,t,n){function r(){d&&sa(d),u&&sa(u),m=0,u=d=h=S}function i(t,n){n&&sa(n),u=d=h=S,t&&(m=ms(),p=e.apply(f,c),d||u||(c=f=S))}function o(){var e=t-(ms()-l);0>=e||e>t?i(h,u):d=fa(o,e)}function a(){i(g,d)}function s(){if(c=arguments,l=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{u||y||(m=l);var r=v-(l-m),i=0>=r||r>v;i?(u&&(u=sa(u)),m=l,p=e.apply(f,c)):u||(u=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,p=e.apply(f,c)),!i||d||u||(c=f=S),p}var c,u,p,l,f,d,h,m=0,v=!1,g=!0;if(\"function\"!=typeof e)throw new Jo(U);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Mi(n)&&(y=!!n.leading,v=\"maxWait\"in n&&_a(+n.maxWait||0,t),g=\"trailing\"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new Jo(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if(\"function\"!=typeof e)throw new Jo(U);return t=_a(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=_a(n.length-t,0),o=Lo(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=Lo(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function yi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(t){return e.apply(this,t)}}function bi(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Jo(U);return n===!1?r=!1:Mi(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),di(e,t,{leading:r,maxWait:+t,trailing:i})}function xi(e,t){return t=null==t?Ao:t,Nn(t,P,S,[e],[])}function wi(e,t,n,r){return t&&\"boolean\"!=typeof t&&Xn(e,t,n)?t=!1:\"function\"==typeof t&&(r=n,n=t,t=!1),\"function\"==typeof n?wt(e,t,an(n,r,1)):wt(e,t)}function _i(e,t,n){return\"function\"==typeof t?wt(e,!0,an(t,n,1)):wt(e,!0)}function ki(e,t){return e>t}function ji(e,t){return e>=t}function Si(e){return g(e)&&Zn(e)&&ta.call(e,\"callee\")&&!pa.call(e,\"callee\")}function Ei(e){return e===!0||e===!1||g(e)&&ra.call(e)==Y}function Oi(e){return g(e)&&ra.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&g(e)&&!Ri(e)}function Ci(e){return null==e?!0:Zn(e)&&(Cs(e)||$i(e)||Si(e)||g(e)&&Fi(e.splice))?!e.length:!Rs(e).length}function Ti(e,t,n,r){n=\"function\"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?zt(e,t,n):!!i}function Ii(e){return g(e)&&\"string\"==typeof e.message&&ra.call(e)==G}function Pi(e){return\"number\"==typeof e&&xa(e)}function Fi(e){return Mi(e)&&ra.call(e)==J}function Mi(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function zi(e,t,n,r){return n=\"function\"==typeof n?an(n,r,3):S,Nt(e,Hn(t),n)}function Bi(e){return qi(e)&&e!=+e}function Ni(e){return null==e?!1:Fi(e)?oa.test(ea.call(e)):g(e)&&Me.test(e)}function Di(e){return null===e}function qi(e){return\"number\"==typeof e||g(e)&&ra.call(e)==Q}function Ri(e){var t;if(!g(e)||ra.call(e)!=X||Si(e)||!ta.call(e,\"constructor\")&&(t=e.constructor,\"function\"==typeof t&&!(t instanceof t)))return!1;var n;return Tt(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Li(e){return Mi(e)&&ra.call(e)==ee}function $i(e){return\"string\"==typeof e||g(e)&&ra.call(e)==ne}function Ui(e){return g(e)&&nr(e.length)&&!!$e[ra.call(e)]}function Hi(e){return e===S}function Vi(e,t){return t>e}function Wi(e,t){return t>=e}function Yi(e){var t=e?$a(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Gi(e,t,n){var r=za(e);return n&&Xn(e,t,n)&&(t=S),t?gt(r,t):r}function Ji(e){return Ft(e,eo(e))}function Zi(e,t,n){var r=null==e?S:Mt(e,fr(t),t+\"\");return r===S?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Cs(e)||Si(e))}function Xi(e,t,n){n&&Xn(e,t,n)&&(t=S);for(var r=-1,i=Rs(e),o=i.length,a={};++r<o;){var s=i[r],c=e[s];t?ta.call(a,c)?a[c].push(s):a[c]=[s]:a[c]=s}return a}function eo(e){if(null==e)return[];Mi(e)||(e=Yo(e));var t=e.length;t=t&&nr(t)&&(Cs(e)||Si(e))&&t||0;for(var n=e.constructor,r=-1,i=\"function\"==typeof n&&n.prototype===e,o=Lo(t),a=t>0;++r<t;)o[r]=r+\"\";for(var s in e)a&&Qn(s,t)||\"constructor\"==s&&(i||!ta.call(e,s))||o.push(s);return o}function to(e){e=lr(e);for(var t=-1,n=Rs(e),r=n.length,i=Lo(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function no(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),r=null==e?S:e[Er(t)]),r=r===S?n:r),Fi(r)?r.call(e):r}function ro(e,t,n){if(null==e)return e;var r=t+\"\";t=null!=e[r]||er(t,e)?[r]:fr(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];Mi(s)&&(i==a?s[c]=n:null==s[c]&&(s[c]=Qn(t[i+1])?[]:{})),s=s[c]}return e}function io(e,t,n,r){var i=Cs(e)||Ui(e);if(t=Ln(t,r,4),null==n)if(i||Mi(e)){var o=e.constructor;n=i?Cs(e)?new o:[]:za(Fi(o)?o.prototype:S)}else n={};return(i?tt:It)(e,function(e,r,i){return t(n,e,r,i)}),n}function oo(e){return en(e,Rs(e))}function ao(e){return en(e,eo(e))}function so(e,t,n){return t=+t||0,n===S?(n=t,t=0):n=+n||0,e>=ka(t,n)&&e<_a(t,n)}function co(e,t,n){n&&Xn(e,t,n)&&(t=n=S);var r=null==e,i=null==t;if(null==n&&(i&&\"boolean\"==typeof e?(n=e,e=1):\"boolean\"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Ea();return ka(e+o*(t-e+ca(\"1e-\"+((o+\"\").length-1))),t)}return Wt(e,t)}function uo(e){return e=s(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e=s(e),e&&e.replace(Be,f).replace(Ce,\"\")}function lo(e,t,n){e=s(e),t+=\"\";var r=e.length;return n=n===S?r:ka(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=s(e),e&&xe.test(e)?e.replace(ye,d):e}function ho(e){return e=s(e),e&&Ae.test(e)?e.replace(Oe,h):e||\"(?:)\"}function mo(e,t,n){e=s(e),t=+t;var r=e.length;if(r>=t||!xa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Fn(\"\",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Xn(e,t,n):null==t)?t=0:t&&(t=+t),e=xo(e),Sa(e,t||(Fe.test(e)?16:10))}function go(e,t){var n=\"\";if(e=s(e),t=+t,1>t||!e||!xa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=s(e),n=null==n?0:ka(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Xn(e,n,r)&&(n=r=S),e=s(e),n=vt(gt({},r||n),i,mt);var o,a,c=vt(gt({},n.imports),i.imports,mt),u=Rs(c),p=en(c,u),l=0,f=n.interpolate||Ne,d=\"__p += '\",h=Ko((n.escape||Ne).source+\"|\"+f.source+\"|\"+(f===ke?Ie:Ne).source+\"|\"+(n.evaluate||Ne).source+\"|$\",\"g\"),v=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++Le+\"]\")+\"\\n\";e.replace(h,function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(l,c).replace(De,m),n&&(o=!0,d+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,d+=\"';\\n\"+s+\";\\n__p += '\"),r&&(d+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),l=c+t.length,t}),d+=\"';\\n\";var g=n.variable;g||(d=\"with (obj) {\\n\"+d+\"\\n}\\n\"),d=(a?d.replace(he,\"\"):d).replace(me,\"$1\").replace(ve,\"$1;\"),d=\"function(\"+(g||\"obj\")+\") {\\n\"+(g?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+d+\"return __p\\n}\";var y=Zs(function(){return Ho(u,v+\"return \"+d).apply(S,p)});if(y.source=d,Ii(y))throw y;return y}function xo(e,t,n){var r=e;return(e=s(e))?(n?Xn(r,t,n):null==t)?e.slice(w(e),_(e)+1):(t+=\"\",e.slice(c(e,t),u(e,t)+1)):e}function wo(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(w(e)):e.slice(c(e,t+\"\")):e}function _o(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,u(e,t+\"\")+1):e}function ko(e,t,n){n&&Xn(e,t,n)&&(t=S);var r=B,i=N;if(null!=t)if(Mi(t)){var o=\"separator\"in t?t.separator:o;r=\"length\"in t?+t.length||0:r,i=\"omission\"in t?s(t.omission):i}else r=+t||0;if(e=s(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var c=e.slice(0,a);if(null==o)return c+i;if(Li(o)){if(e.slice(a).search(o)){var u,p,l=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||\"\")+\"g\")),o.lastIndex=0;u=o.exec(l);)p=u.index;c=c.slice(0,null==p?a:p)}}else if(e.indexOf(o,a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+i}function jo(e){return e=s(e),e&&be.test(e)?e.replace(ge,k):e}function So(e,t,n){return n&&Xn(e,t,n)&&(t=S),e=s(e),e.match(t||qe)||[]}function Eo(e,t,n){return n&&Xn(e,t,n)&&(t=S),\ng(e)?Co(e):xt(e,t)}function Oo(e){return function(){return e}}function Ao(e){return e}function Co(e){return qt(wt(e,!0))}function To(e,t){return Rt(e,wt(t,!0))}function Io(e,t,n){if(null==n){var r=Mi(t),i=r?Rs(t):S,o=i&&i.length?Ft(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Rs(t)));var a=!0,s=-1,c=Fi(e),u=o.length;n===!1?a=!1:Mi(n)&&\"chain\"in n&&(a=n.chain);for(;++s<u;){var p=o[s],l=t[p];e[p]=l,c&&(e.prototype[p]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,ut([this.value()],arguments))}}(l))}return e}function Po(){return nt._=ia,this}function Fo(){}function Mo(e){return er(e)?Ut(e):Ht(e)}function zo(e){return function(t){return Mt(e,fr(t),t+\"\")}}function Bo(e,t,n){n&&Xn(e,t,n)&&(t=n=S),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=_a(va((t-e)/(n||1)),0),o=Lo(i);++r<i;)o[r]=e,e+=n;return o}function No(e,t,n){if(e=ya(e),1>e||!xa(e))return[];var r=-1,i=Lo(ka(e,Ca));for(t=an(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function Do(e){var t=++na;return s(e)+t}function qo(e,t){return(+e||0)+(+t||0)}function Ro(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=Ln(t,n,3),1==t.length?dt(Cs(e)?e:pr(e),t):Qt(e,t)}e=e?rt.defaults(nt.Object(),e,rt.pick(nt,Re)):nt;var Lo=e.Array,$o=e.Date,Uo=e.Error,Ho=e.Function,Vo=e.Math,Wo=e.Number,Yo=e.Object,Ko=e.RegExp,Go=e.String,Jo=e.TypeError,Zo=Lo.prototype,Qo=Yo.prototype,Xo=Go.prototype,ea=Ho.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=nt._,oa=Ko(\"^\"+ea.call(ta).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),aa=e.ArrayBuffer,sa=e.clearTimeout,ca=e.parseFloat,ua=Vo.pow,pa=Qo.propertyIsEnumerable,la=Vn(e,\"Set\"),fa=e.setTimeout,da=Zo.splice,ha=e.Uint8Array,ma=Vn(e,\"WeakMap\"),va=Vo.ceil,ga=Vn(Yo,\"create\"),ya=Vo.floor,ba=Vn(Lo,\"isArray\"),xa=e.isFinite,wa=Vn(Yo,\"keys\"),_a=Vo.max,ka=Vo.min,ja=Vn($o,\"now\"),Sa=e.parseInt,Ea=Vo.random,Oa=Wo.NEGATIVE_INFINITY,Aa=Wo.POSITIVE_INFINITY,Ca=4294967295,Ta=Ca-1,Ia=Ca>>>1,Pa=9007199254740991,Fa=ma&&new ma,Ma={};t.support={};t.templateSettings={escape:we,evaluate:_e,interpolate:ke,variable:\"\",imports:{_:t}};var za=function(){function e(){}return function(t){if(Mi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),Ba=fn(It),Na=fn(Pt,!0),Da=dn(),qa=dn(!0),Ra=Fa?function(e,t){return Fa.set(e,t),e}:Ao,La=Fa?function(e){return Fa.get(e)}:Fo,$a=Ut(\"length\"),Ua=function(){var e=0,t=0;return function(n,r){var i=ms(),o=q-(i-t);if(t=i,o>0){if(++e>=D)return n}else e=0;return Ra(n,r)}}(),Ha=gi(function(e,t){return g(e)&&Zn(e)?kt(e,Ct(t,!1,!0)):[]}),Va=_n(),Wa=_n(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Lo(l),i=Un(),a=i==o,s=[];n--;){var c=e[n]=Zn(c=e[n])?c:[];r[n]=a&&c.length>=120?mn(n&&c):null}var u=e[0],p=-1,l=u?u.length:0,f=r[0];e:for(;++p<l;)if(c=u[p],(f?Ze(f,c):i(s,c,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,c):i(e[n],c,0))<0)continue e}f&&f.push(c),s.push(c)}return s}),Ka=gi(function(e,t){t=Ct(t);var n=yt(e,t);return Vt(e,t.sort(r)),n}),Ga=Bn(),Ja=Bn(!0),Za=gi(function(e){return Xt(Ct(e,!1,!0))}),Qa=gi(function(e,t){return Zn(e)?kt(e,t):[]}),Xa=gi(Nr),es=gi(function(e){var t=e.length,n=t>2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&\"function\"==typeof n?t-=2:(n=t>1&&\"function\"==typeof r?(--t,r):S,r=S),e.length=t,Dr(e,n,r)}),ts=gi(function(e){return e=Ct(e),this.thru(function(t){return Xe(Cs(t)?t:[lr(t)],e)})}),ns=gi(function(e,t){return yt(e,Ct(t))}),rs=pn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=wn(Ba),os=wn(Na,!0),as=Sn(tt,Ba),ss=Sn(it,Na),cs=pn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=pn(function(e,t,n){e[n]=t}),ps=gi(function(e,t,n){var r=-1,i=\"function\"==typeof t,o=er(t),a=Zn(e)?Lo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Jn(e,t,n)}),a}),ls=pn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=In(pt,Ba),ds=In(lt,Na),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Xn(t[0],t[1],n)&&(t.length=1),Zt(e,Ct(t),[])}),ms=ja||function(){return(new $o).getTime()},vs=gi(function(e,t,n){var r=O;if(n.length){var i=b(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Ct(t):Ji(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=Nn(e[i],O,e)}return e}),ys=gi(function(e,t,n){var r=O|A;if(n.length){var i=b(n,ys.placeholder);r|=P}return Nn(t,r,e,n,i)}),bs=yn(T),xs=yn(I),ws=gi(function(e,t){return _t(e,1,t)}),_s=gi(function(e,t,n){return _t(e,t,n)}),ks=jn(),js=jn(!0),Ss=gi(function(e,t){if(t=Ct(t),\"function\"!=typeof e||!ot(t,a))throw new Jo(U);var n=t.length;return gi(function(r){for(var i=ka(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})}),Es=Tn(P),Os=Tn(F),As=gi(function(e,t){return Nn(e,z,S,S,S,Ct(t))}),Cs=ba||function(e){return g(e)&&nr(e.length)&&ra.call(e)==W},Ts=ln(Lt),Is=ln(function(e,t,n){return n?vt(e,t,n):gt(e,t)}),Ps=bn(Is,ht),Fs=bn(Ts,or),Ms=kn(It),zs=kn(Pt),Bs=En(Da),Ns=En(qa),Ds=On(It),qs=On(Pt),Rs=wa?function(e){var t=null==e?S:e.constructor;return\"function\"==typeof t&&t.prototype===e||\"function\"!=typeof e&&Zn(e)?ur(e):Mi(e)?wa(e):[]}:ur,Ls=An(!0),$s=An(),Us=gi(function(e,t){if(null==e)return{};if(\"function\"!=typeof t[0]){var t=ct(Ct(t),Go);return ar(e,kt(eo(e),t))}var n=an(t[0],t[1],3);return sr(e,function(e,t,r){return!n(e,t,r)})}),Hs=gi(function(e,t){return null==e?{}:\"function\"==typeof t[0]?sr(e,an(t[0],t[1],3)):ar(e,Ct(t))}),Vs=vn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Ws=vn(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Ys=Cn(),Ks=Cn(!0),Gs=vn(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Js=vn(function(e,t,n){return e+(n?\" \":\"\")+(t.charAt(0).toUpperCase()+t.slice(1))}),Zs=gi(function(e,t){try{return e.apply(S,t)}catch(n){return Ii(n)?n:new Uo(n)}}),Qs=gi(function(e,t){return function(n){return Jn(n,e,t)}}),Xs=gi(function(e,t){return function(n){return Jn(e,n,t)}}),ec=zn(\"ceil\"),tc=zn(\"floor\"),nc=xn(ki,Oa),rc=xn(Vi,Aa),ic=zn(\"round\");return t.prototype=n.prototype,y.prototype=za(n.prototype),y.prototype.constructor=y,Z.prototype=za(n.prototype),Z.prototype.constructor=Z,Ve.prototype[\"delete\"]=We,Ve.prototype.get=Ye,Ve.prototype.has=Ke,Ve.prototype.set=Ge,Je.prototype.push=Qe,hi.Cache=Ve,t.after=pi,t.ary=li,t.assign=Is,t.at=ns,t.before=fi,t.bind=vs,t.bindAll=gs,t.bindKey=ys,t.callback=Eo,t.chain=Lr,t.chunk=hr,t.compact=mr,t.constant=Oo,t.countBy=rs,t.create=Gi,t.curry=bs,t.curryRight=xs,t.debounce=di,t.defaults=Ps,t.defaultsDeep=Fs,t.defer=ws,t.delay=_s,t.difference=Ha,t.drop=vr,t.dropRight=gr,t.dropRightWhile=yr,t.dropWhile=br,t.fill=xr,t.filter=Zr,t.flatten=_r,t.flattenDeep=kr,t.flow=ks,t.flowRight=js,t.forEach=as,t.forEachRight=ss,t.forIn=Bs,t.forInRight=Ns,t.forOwn=Ds,t.forOwnRight=qs,t.functions=Ji,t.groupBy=cs,t.indexBy=us,t.initial=Sr,t.intersection=Ya,t.invert=Xi,t.invoke=ps,t.keys=Rs,t.keysIn=eo,t.map=ei,t.mapKeys=Ls,t.mapValues=$s,t.matches=Co,t.matchesProperty=To,t.memoize=hi,t.merge=Ts,t.method=Qs,t.methodOf=Xs,t.mixin=Io,t.modArgs=Ss,t.negate=mi,t.omit=Us,t.once=vi,t.pairs=to,t.partial=Es,t.partialRight=Os,t.partition=ls,t.pick=Hs,t.pluck=ti,t.property=Mo,t.propertyOf=zo,t.pull=Ar,t.pullAt=Ka,t.range=Bo,t.rearg=As,t.reject=ni,t.remove=Cr,t.rest=Tr,t.restParam=gi,t.set=ro,t.shuffle=ii,t.slice=Ir,t.sortBy=si,t.sortByAll=hs,t.sortByOrder=ci,t.spread=yi,t.take=Pr,t.takeRight=Fr,t.takeRightWhile=Mr,t.takeWhile=zr,t.tap=$r,t.throttle=bi,t.thru=Ur,t.times=No,t.toArray=Yi,t.toPlainObject=Ki,t.transform=io,t.union=Za,t.uniq=Br,t.unzip=Nr,t.unzipWith=Dr,t.values=oo,t.valuesIn=ao,t.where=ui,t.without=Qa,t.wrap=xi,t.xor=qr,t.zip=Xa,t.zipObject=Rr,t.zipWith=es,t.backflow=js,t.collect=ei,t.compose=js,t.each=as,t.eachRight=ss,t.extend=Is,t.iteratee=Eo,t.methods=Ji,t.object=Rr,t.select=Zr,t.tail=Tr,t.unique=Br,Io(t,t),t.add=qo,t.attempt=Zs,t.camelCase=Vs,t.capitalize=uo,t.ceil=ec,t.clone=wi,t.cloneDeep=_i,t.deburr=po,t.endsWith=lo,t.escape=fo,t.escapeRegExp=ho,t.every=Jr,t.find=is,t.findIndex=Va,t.findKey=Ms,t.findLast=os,t.findLastIndex=Wa,t.findLastKey=zs,t.findWhere=Qr,t.first=wr,t.floor=tc,t.get=Zi,t.gt=ki,t.gte=ji,t.has=Qi,t.identity=Ao,t.includes=Xr,t.indexOf=jr,t.inRange=so,t.isArguments=Si,t.isArray=Cs,t.isBoolean=Ei,t.isDate=Oi,t.isElement=Ai,t.isEmpty=Ci,t.isEqual=Ti,t.isError=Ii,t.isFinite=Pi,t.isFunction=Fi,t.isMatch=zi,t.isNaN=Bi,t.isNative=Ni,t.isNull=Di,t.isNumber=qi,t.isObject=Mi,t.isPlainObject=Ri,t.isRegExp=Li,t.isString=$i,t.isTypedArray=Ui,t.isUndefined=Hi,t.kebabCase=Ws,t.last=Er,t.lastIndexOf=Or,t.lt=Vi,t.lte=Wi,t.max=nc,t.min=rc,t.noConflict=Po,t.noop=Fo,t.now=ms,t.pad=mo,t.padLeft=Ys,t.padRight=Ks,t.parseInt=vo,t.random=co,t.reduce=fs,t.reduceRight=ds,t.repeat=go,t.result=no,t.round=ic,t.runInContext=j,t.size=oi,t.snakeCase=Gs,t.some=ai,t.sortedIndex=Ga,t.sortedLastIndex=Ja,t.startCase=Js,t.startsWith=yo,t.sum=Ro,t.template=bo,t.trim=xo,t.trimLeft=wo,t.trimRight=_o,t.trunc=ko,t.unescape=jo,t.uniqueId=Do,t.words=So,t.all=Jr,t.any=ai,t.contains=Xr,t.eq=Ti,t.detect=is,t.foldl=fs,t.foldr=ds,t.head=wr,t.include=Xr,t.inject=fs,Io(t,function(){var e={};return It(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ri,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ri(t,e)}):ri(this.value())},t.VERSION=E,tt([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),tt([\"drop\",\"take\"],function(e,t){Z.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Z(this);n=null==n?1:_a(ya(n)||0,0);var i=this.clone();return r?i.__takeCount__=ka(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?\"Right\":\"\")}),i},Z.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),tt([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n!=$;Z.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:Ln(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),tt([\"first\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Z.prototype[e]=function(){return this[n](1).value()[0]}}),tt([\"initial\",\"rest\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[n](1)}}),tt([\"pluck\",\"where\"],function(e,t){var n=t?\"filter\":\"map\",r=t?qt:Mo;Z.prototype[e]=function(e){return this[n](r(e))}}),Z.prototype.compact=function(){return this.filter(Ao)},Z.prototype.reject=function(e,t){return e=Ln(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||0>t)?new Z(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},Z.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Z.prototype.toArray=function(){return this.take(Aa)},It(Z.prototype,function(e,n){var r=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n];o&&(t.prototype[n]=function(){var t=i?[1]:arguments,n=this.__chain__,a=this.__wrapped__,s=!!this.__actions__.length,c=a instanceof Z,u=t[0],p=c||Cs(a);p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var l=function(e){return i&&n?o(e,1)[0]:o.apply(S,ut([e],t))},f={func:Ur,args:[l],thisArg:S},d=c&&!s;if(i&&!n)return d?(a=a.clone(),a.__actions__.push(f),e.call(a)):o.call(S,this.value())[0];if(!i&&p){a=d?a:new Z(this);var h=e.apply(a,t);return h.__actions__.push(f),new y(h,n)}return this.thru(l)})}),tt([\"join\",\"pop\",\"push\",\"replace\",\"shift\",\"sort\",\"splice\",\"split\",\"unshift\"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Zo)[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),It(Z.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ma[i]||(Ma[i]=[]);o.push({name:n,func:r})}}),Ma[Pn(S,A).name]=[{name:\"wrapper\",func:S}],Z.prototype.clone=te,Z.prototype.reverse=re,Z.prototype.value=He,t.prototype.chain=Hr,t.prototype.commit=Vr,t.prototype.concat=ts,t.prototype.plant=Wr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Gr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,E=\"3.10.1\",O=1,A=2,C=4,T=8,I=16,P=32,F=64,M=128,z=256,B=30,N=\"...\",D=150,q=16,R=200,L=1,$=2,U=\"Expected a function\",H=\"__lodash_placeholder__\",V=\"[object Arguments]\",W=\"[object Array]\",Y=\"[object Boolean]\",K=\"[object Date]\",G=\"[object Error]\",J=\"[object Function]\",Z=\"[object Map]\",Q=\"[object Number]\",X=\"[object Object]\",ee=\"[object RegExp]\",te=\"[object Set]\",ne=\"[object String]\",re=\"[object WeakMap]\",ie=\"[object ArrayBuffer]\",oe=\"[object Float32Array]\",ae=\"[object Float64Array]\",se=\"[object Int8Array]\",ce=\"[object Int16Array]\",ue=\"[object Int32Array]\",pe=\"[object Uint8Array]\",le=\"[object Uint8ClampedArray]\",fe=\"[object Uint16Array]\",de=\"[object Uint32Array]\",he=/\\b__p \\+= '';/g,me=/\\b(__p \\+=) '' \\+/g,ve=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,ye=/[&<>\"'`]/g,be=RegExp(ge.source),xe=RegExp(ye.source),we=/<%-([\\s\\S]+?)%>/g,_e=/<%([\\s\\S]+?)%>/g,ke=/<%=([\\s\\S]+?)%>/g,je=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,Se=/^\\w*$/,Ee=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,Oe=/^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,Ae=RegExp(Oe.source),Ce=/[\\u0300-\\u036f\\ufe20-\\ufe23]/g,Te=/\\\\(\\\\)?/g,Ie=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pe=/\\w*$/,Fe=/^0[xX]/,Me=/^\\[object .+?Constructor\\]$/,ze=/^\\d+$/,Be=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Ne=/($^)/,De=/['\\n\\r\\u2028\\u2029\\\\]/g,qe=function(){var e=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",t=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+\";return RegExp(e+\"+(?=\"+e+t+\")|\"+e+\"?\"+t+\"|\"+e+\"+|[0-9]+\",\"g\")}(),Re=[\"Array\",\"ArrayBuffer\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Math\",\"Number\",\"Object\",\"RegExp\",\"Set\",\"String\",\"_\",\"clearTimeout\",\"isFinite\",\"parseFloat\",\"parseInt\",\"setTimeout\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\"],Le=-1,$e={};$e[oe]=$e[ae]=$e[se]=$e[ce]=$e[ue]=$e[pe]=$e[le]=$e[fe]=$e[de]=!0,$e[V]=$e[W]=$e[ie]=$e[Y]=$e[K]=$e[G]=$e[J]=$e[Z]=$e[Q]=$e[X]=$e[ee]=$e[te]=$e[ne]=$e[re]=!1;var Ue={};Ue[V]=Ue[W]=Ue[ie]=Ue[Y]=Ue[K]=Ue[oe]=Ue[ae]=Ue[se]=Ue[ce]=Ue[ue]=Ue[Q]=Ue[X]=Ue[ee]=Ue[ne]=Ue[pe]=Ue[le]=Ue[fe]=Ue[de]=!0,Ue[G]=Ue[J]=Ue[Z]=Ue[te]=Ue[re]=!1;var He={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},Ve={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},We={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Ye={\"function\":!0,object:!0},Ke={0:\"x30\",1:\"x31\",2:\"x32\",3:\"x33\",4:\"x34\",5:\"x35\",6:\"x36\",7:\"x37\",8:\"x38\",9:\"x39\",A:\"x41\",B:\"x42\",C:\"x43\",D:\"x44\",E:\"x45\",F:\"x46\",a:\"x61\",b:\"x62\",c:\"x63\",d:\"x64\",e:\"x65\",f:\"x66\",n:\"x6e\",r:\"x72\",t:\"x74\",u:\"x75\",v:\"x76\",x:\"x78\"},Ge={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Je=Ye[typeof n]&&n&&!n.nodeType&&n,Ze=Ye[typeof t]&&t&&!t.nodeType&&t,Qe=Je&&Ze&&\"object\"==typeof e&&e&&e.Object&&e,Xe=Ye[typeof self]&&self&&self.Object&&self,et=Ye[typeof window]&&window&&window.Object&&window,tt=Ze&&Ze.exports===Je&&Je,nt=Qe||et!==(this&&this.window)&&et||Xe||this,rt=j();\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?(nt._=rt,define(function(){return rt})):Je&&Ze?tt?(Ze.exports=rt)._=rt:Je._=rt:nt._=rt}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],415:[function(e,t,n){t.exports={_args:[[\"sendgrid\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"sendgrid@*\",_id:\"sendgrid@2.0.0\",_inCache:!0,_installable:!0,_location:\"/sendgrid\",_nodeVersion:\"4.1.2\",_npmUser:{email:\"elmer@thinkingserious.com\",name:\"thinkingserious\"},_npmVersion:\"3.3.5\",_phantomChildren:{},_requested:{name:\"sendgrid\",raw:\"sendgrid\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\",_shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",_shrinkwrap:null,_spec:\"sendgrid\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"info@sendgrid.com\",name:\"SendGrid\",url:\"sendgrid.com\"},bugs:{url:\"https://github.com/sendgrid/sendgrid-nodejs/issues\"},contributors:[{name:\"Kyle Partridge\",email:\"kyle.partridge@sendgrid.com\"},{name:\"David Tomberlin\",email:\"david.tomberlin@sendgrid.com\"},{name:\"Swift\",email:\"swift@sendgrid.com\"},{name:\"Brandon West\",email:\"brandon.west@sendgrid.com\"},{name:\"Scott Motte\",email:\"scott.motte@sendgrid.com\"},{name:\"Robert Acosta\",email:\"robert.acosta@sendgrid.com\"}],dependencies:{lodash:\"^3.0.1 || ^2.0.0\",mime:\"^1.2.9\",request:\"^2.60.0\",smtpapi:\"^1.2.0\"},description:\"Official SendGrid NodeJS library.\",devDependencies:{chai:\">= 0.1.6\",dotenv:\"0.0.2\",mocha:\">= 0.9.0\",nock:\"^0.16.0\",sinon:\"^1.6.0\"},directories:{},dist:{shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",tarball:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\"},engines:{node:\">= 0.4.7\"},gitHead:\"a5d9f8985136d948a8c47e525192a87ed60f61bf\",homepage:\"http://sendgrid.com\",license:\"MIT\",maintainers:[{name:\"siyegen\",email:\"siyegen@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"partkyle\",email:\"partkyle@gmail.com\"},{name:\"theycallmeswift\",email:\"theycallmeswift@gmail.com\"},{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"mkbernier\",email:\"mkbernier@gmail.com\"},{name:\"thinkingserious\",email:\"elmer@thinkingserious.com\"}],name:\"sendgrid\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/sendgrid-nodejs.git\"},scripts:{skipped:\"mocha --grep '#skip'\",test:\"mocha --grep '#skip' --invert\"},version:\"2.0.0\"}},{}],416:[function(e,t,n){(function(n){\"use strict\";function r(e,t){if(!e)throw new TypeError(\"root path required\");if(\"string\"!=typeof e)throw new TypeError(\"root path must be a string\");var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,s=n.setHeaders;if(s&&\"function\"!=typeof s)throw new TypeError(\"option setHeaders must be function\");n.maxage=n.maxage||n.maxAge||0,n.root=u(e);var l=i?a():o();return function(e,t,i){if(\"GET\"!==e.method&&\"HEAD\"!==e.method)return r?i():(t.statusCode=405,t.setHeader(\"Allow\",\"GET, HEAD\"),t.setHeader(\"Content-Length\",\"0\"),void t.end());var o=!r,a=c.original(e),u=c(e).pathname;\"/\"===u&&\"/\"!==a.pathname.substr(-1)&&(u=\"\");var f=p(e,u,n);f.on(\"directory\",l),s&&f.on(\"headers\",s),r&&f.on(\"file\",function(){o=!0}),f.on(\"error\",function(e){return!o&&e.statusCode<500?void i():void i(e)}),f.pipe(t)}}function i(e){for(var t=0;t<e.length&&\"/\"===e[t];t++);return t>1?\"/\"+e.substr(t):e}function o(){return function(){this.error(404)}}function a(){return function(){if(this.hasTrailingSlash())return void this.error(404);var e=c.original(this.req);e.path=null,e.pathname=i(e.pathname+\"/\");var t=l.format(e),r='Redirecting to <a href=\"'+s(t)+'\">'+s(t)+\"</a>\\n\",o=this.res;o.statusCode=303,o.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),o.setHeader(\"Content-Length\",n.byteLength(r)),o.setHeader(\"X-Content-Type-Options\",\"nosniff\"),o.setHeader(\"Location\",t),o.end(r)}}var s=e(\"escape-html\"),c=e(\"parseurl\"),u=e(\"path\").resolve,p=e(\"send\"),l=e(\"url\");t.exports=r,t.exports.mime=p.mime}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"escape-html\":96,parseurl:364,path:void 0,send:409,url:void 0}],417:[function(e,t,n){function r(e,t){for(var n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t(e[i]);return r}function i(e){return decodeURI(e.replace(/~1/g,\"/\").replace(/~0/g,\"~\"))}function o(e){if(\"string\"!=typeof e)throw new Error(\"Invalid JSON Pointer: invalid type (\"+typeof e+\")\");var t=r((\"#\"===e[0]?e.substr(1):e).split(\"/\"),i);if(\"\"!==t[0])throw new Error('Invalid JSON Pointer (\"'+e+'\"): non-empty pointers must begin with \"/\" or \"#/\"');return t}function a(e,t){for(var n=1,r=e.length;r>n;n++)if(t=t&&t[e[n]],void 0===t)return;return t}function s(e,t,n){for(var r=1,i=e.length-1;i>r;r++)if(t=(t||void 0)&&t[e[r]],void 0===t)return!1;if(\"object\"!=typeof t)return!1;var o=e[r];return\"-\"===o?Array.isArray(t)?(t[t.length]=n,!0):!1:(t[o]=n,!0)}var c={get:function(e){return a(this.__arrPointer,e)},set:function(e,t){return s(this.__arrPointer,e,t)}};t.exports=function(e){return Object.create(c,{__sPointer:{writable:!1,configurable:!1,enumerable:!1,value:e},__arrPointer:{writable:!1,configurable:!1,enumerable:!1,value:o(e)}})}},{}],418:[function(e,t,n){var r=e(\"skeemas-json-pointer\"),i={add:function(e,t){if(\"string\"!=typeof e)throw new Error('Unable to add JSON Ref: uri must be of type \"string\"');if(~e.indexOf(\"#\"))throw new Error(\"Unable to add JSON Ref (\"+e+\"): uri cannot include a fragment identifier (#)\");return this.__refs[e]=t,this},remove:function(e){return delete this.__refs[e],this},get:function(e,t,n){if(\"string\"!=typeof e)throw new Error('Unable to get JSON Ref: uri must be of type \"string\"');var i=e.split(\"#\");if(i.length>2)throw new Error(\"Unable to get JSON Ref (\"+e+\"): uri cannot contain multiple fragment identifiers (#)\");if(i[0]&&(t=this.__refs[i[0]]),!t)throw new Error(\"Unable to locate JSON Ref (\"+i[0]+\")\");return 1===i.length||n?t:r(i[1]).get(t)}};t.exports=function(){return Object.create(i,{__refs:{writable:!1,configurable:!1,enumerable:!1,value:{}}})}},{\"skeemas-json-pointer\":417}],419:[function(e,t,n){function r(){return Object.create(s,{_refs:{enumerable:!1,writable:!1,value:a()}})}var i=e(\"./validators\"),o=e(\"./validation-context\"),a=e(\"skeemas-json-refs\"),s={addRef:function(e,t){if(\"object\"==typeof e&&(t=e,e=null),e=e||t.id,!e)throw new Error(\"Cannot add a json schema reference without a uri/id.\");return this._refs.add(e,t),this},validate:function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");if(\"string\"==typeof t){var r=t;if(t=this._refs.get(r),!t)throw new Error(\"Unable to locate schema (\"+r+\"). Did you call addRef with this schema?\")}var a=o(t,{instance:e,refs:this._refs,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(a,e,t),a.result.valid&&(a.result.cleanInstance=a.cleanSubject),a.result}};t.exports=r,t.exports.validate=function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");var r=o(t,{instance:e,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(r,e,t),r.result.valid&&(r.result.cleanInstance=r.cleanSubject),r.result},t.exports.use=function(e){if(\"function\"!=typeof e)throw new Error(\"skeemas.use called with non-function. Plugins are in the form function(skeemas){}.\");return e(s),this}},{\"./validation-context\":420,\"./validators\":426,\"skeemas-json-refs\":418}],420:[function(e,t,n){var r=e(\"./validation-result\"),i=e(\"skeemas-json-refs\"),o={addError:function(e,t,n){return this.silent||this.result.addError(e,t,n,this),this},silently:function(e){this.silent=!0;var t=e();return this.silent=!1,t},subcontext:function(e){return a(e,this,this.silent)},runValidations:function(e,t,n){var r,i=this.breakOnError,o=Array.prototype.slice.call(arguments),a=!0;o[0]=this;for(var s=0,c=e.length;c>s;s++)if(r=e[s],r[0]&&(a=r[1].apply(null,o)&&a,i&&!a))return!1;return a}},a=t.exports=function(e,t,n){return t=t||{},Object.create(o,{id:{enumerable:!0,writable:!1,value:[]},schema:{enumerable:!0,writable:!1,value:e||t.schema},path:{enumerable:!0,writable:!1,value:t.path&&t.path.slice()||[\"#\"]},result:{enumerable:!0,writable:!1,value:!n&&t.result||r(t.instance)},refs:{enumerable:!0,writable:!1,value:t.refs||i()},silent:{enumerable:!0,writable:!0,value:!1},breakOnError:{enumerable:!0,writable:!0,value:t.breakOnError||!1},cleanWithDefaults:{enumerable:!0,writable:!0,value:t.cleanWithDefaults||!1},cleanSubject:{enumerable:!0,writable:!0,value:void 0}})}},{\"./validation-result\":421,\"skeemas-json-refs\":418}],421:[function(e,t,n){function r(){return this.message+\" (pointer: \"+this.context+\")\"}var i={addError:function(e,t,n,i){return this.errors.push({message:e,context:i.path.join(\"/\"),value:t,criteria:n,toString:r}),this.valid=!1,this}};t.exports=function(e){return Object.create(i,{instance:{enumerable:!0,writable:!1,value:e},cleanInstance:{enumerable:!0,writable:!0,value:void 0},valid:{enumerable:!0,writable:!0,value:!0},errors:{enumerable:!0,writable:!1,value:[]}})}},{}],422:[function(e,t,n){function r(e,t,n,r){var s=!0;return Array.isArray(n.items)?(s=o(e,t,n,r),\"additionalItems\"in n&&(s=a(e,t,n,r)&&s)):n.items&&(s=i(e,t,n,r)),s}function i(e,t,n,r){var i=n.items;if(\"object\"!=typeof i)throw new Error('Invalid schema: invalid \"items\"');for(var o=e.path.length,a=0,s=t.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function o(e,t,n,r){for(var i=n.items,o=e.path.length,a=0,s=i.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i[a]))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function a(e,t,n,r){var i=n.items.length,o=t.length,a=n.additionalItems;if(a===!1)return i>=o?!0:(e.addError('Failed \"additionalItems\" criteria: no additional items are allowed',t,n),!1);if(\"object\"!=typeof a)throw new Error('Invalid schema: invalid \"additionalItems\"');for(var s=e.path.length;o>i;i++){if(e.path[s]=i,!p(e,t[i],a))return e.addError('Failed \"additionalItems\" criteria',t,n),e.path.length=s,!1;r.push(e.cleanSubject)}return e.path.length=s,!0}function s(e,t,n){return t.length<n.minItems?(e.addError('Failed \"minItems\" criteria',t,n),!1):!0}function c(e,t,n){return t.length>n.maxItems?(e.addError('Failed \"maxItems\" criteria',t,n),!1):!0}function u(e,t,n){for(var r,i=t.length;i--;)for(r=i;r--;)if(l(t[i],t[r]))return e.addError('Failed \"uniqueItems\" criteria',t,n),!1;return!0}var p=e(\"./base\"),l=e(\"./deep-equal\");t.exports=function(e,t,n){if(!Array.isArray(t))return e.addError(\"Failed type:array criteria\",n),!1;var i=[],o=e.runValidations([[\"minItems\"in n,s],[\"maxItems\"in n,c],[\"uniqueItems\"in n,u],[\"items\"in n,r]],t,n,i);return\"items\"in n?e.cleanSubject=i:e.cleanSubject=t.slice(),o}},{\"./base\":423,\"./deep-equal\":425}],423:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return\"number\"===t&&e===Math.round(e)?\"integer\":t}function i(e,t,n){var r=n.format,i=y[r];if(!i)throw new Error(\"Invalid schema: unknown format (\"+r+\")\");var o=i.test?i.test(t):i(t);return o||e.addError('Failed \"format\" criteria ('+r+\")\",t,n),o}function o(e,t,n,r){for(var i,o,a=r.length;a--;){if(i=r[a],\"any\"===i)return!0;if(\"object\"!=typeof i){if(!(i in g.types))throw new Error(\"Invalid schema: invalid type (\"+i+\")\");if(\"number\"===i&&\"integer\"===n)return!0;if(n===i)return!0}else if(o=e.silently(function(){return v(e,t,i)}))return!0}return!1}function a(e,t,n){var r=n.allOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"allOf\" value must be an array');for(var i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o?!0:(e.addError('Failed \"allOf\" criteria',t,r),!1)}function s(e,t,n){var r=n.anyOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"anyOf\" value must be an array');var i=e.silently(function(){for(var n=r.length;n--;)if(v(e,t,r[n]))return!0;return!1});return i?!0:(e.addError('Failed \"anyOf\" criteria',t,r),!1)}function c(e,t,n){var r=n.oneOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"oneOf\" value must be an array');var i=r.length,o=0;return e.silently(function(){for(;i--;)v(e,t,r[i])&&(o+=1)}),1===o?!0:(e.addError('Failed \"oneOf\" criteria',t,r),!1)}function u(e,t,n){var r=n.not,i=e.silently(function(){return!v(e,t,r)});return i?!0:(e.addError('Failed \"not\" criteria',t,n),!1)}function p(e,t,n,r){var i=Array.isArray(n.disallow)?n.disallow:[n.disallow],a=!o(e,t,r,i);return a||e.addError('Failed \"disallow\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function l(e,t,n){for(var r=Array.isArray(n[\"extends\"])?n[\"extends\"]:[n[\"extends\"]],i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o}function f(e,t,n){var r=n[\"enum\"];if(!Array.isArray(r))throw new Error('Invalid schema: \"enum\" value must be an array');for(var i=r.length;i--;)if(g.deepEqual(t,r[i]))return!0;return e.addError('Failed \"enum\" criteria',t,r),!1}function d(e,t,n,r){var i=Array.isArray(n.type)?n.type:[n.type],a=o(e,t,r,i);return a||e.addError('Failed \"type\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function h(e,t,n,r){return g.types[r](e,t,n)}function m(e,t,n){var r=/^#|\\//.test(n.$ref),i=r?n.$ref:e.id.join(\"\")+n.$ref,o=e.refs.get(i,e.schema),a=e;\"#\"!==n.$ref[0]&&(a=e.subcontext(e.refs.get(i,e.schema,!0)));var s=v(a,t,o);return e.cleanSubject=a.cleanSubject,s}function v(e,t,n){if(n.$ref)return m(e,t,n);n.id&&e.id.push(n.id);var o=e.runValidations([[\"type\"in n,d],[\"disallow\"in n,p],[\"enum\"in n,f],[!0,h],[\"format\"in n,i],[\"extends\"in n,l],[\"allOf\"in n,a],[\"anyOf\"in n,s],[\"oneOf\"in n,c],[\"not\"in n,u]],t,n,r(t));return n.id&&e.id.pop(),o}var g=e(\"./\"),y={\"date-time\":/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}[t ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/i,date:/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,time:/^\\d{2}:\\d{2}:\\d{2}$/,color:/^(#[0-9a-f]{3}|#[0-9a-f]{6}|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)$/i,style:/^(?:\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;)*\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;?\\s*$/i,phone:/^(?:(?:\\(?(?:00|\\+)(?:[1-4]\\d\\d|[1-9]\\d?)\\)?)?[\\-\\.\\ \\\\\\/]?)?(?:(?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?){0,})(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(?:\\d+))?$/i,uri:/^(?:([a-z0-9+.-]+:\\/\\/)((?:(?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*)@)?((?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*)(:(?:\\d*))?(\\/(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?|([a-z0-9+.-]+:)(\\/?(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?)(\\?(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?(#(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?$/i,email:/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\\.)+[A-Z]{2,}$/i,ipv4:/^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$/,ipv6:/^\\s*((([0-9A-F]{1,4}:){7}([0-9A-F]{1,4}|:))|(([0-9A-F]{1,4}:){6}(:[0-9A-F]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){5}(((:[0-9A-F]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){4}(((:[0-9A-F]{1,4}){1,3})|((:[0-9A-F]{1,4})((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){3}(((:[0-9A-F]{1,4}){1,4})|((:[0-9A-F]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){2}(((:[0-9A-F]{1,4}){1,5})|((:[0-9A-F]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){1}(((:[0-9A-F]{1,4}){1,6})|((:[0-9A-F]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-F]{1,4}){1,7})|((:[0-9A-F]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/i,\nhostname:/^(?=.{1,255}$)[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?(?:\\.[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?)*\\.?$/i,\"utc-millisec\":function(e){var t=parseInt(e,10);return!isNaN(t)&&t.toString()===e.toString()},regex:function(e){try{new RegExp(e)}catch(t){return!1}return!0}};y[\"host-name\"]=y.hostname,y[\"ip-address\"]=y.ipv4,t.exports=v},{\"./\":426}],424:[function(e,t,n){function r(e,t,n){return\"boolean\"!=typeof t?(e.addError(\"Failed type:boolean criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],425:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return t}function i(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a(e[n],t[n]))return!1;return!0}function o(e,t){var n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(;r--;)if(!a(e[n[r]],t[n[r]]))return!1;return!0}var a=t.exports=function(e,t){if(e===t)return!0;var n=r(e);return n!==r(t)?!1:\"array\"===n?i(e,t):\"object\"===n?o(e,t):!1}},{}],426:[function(e,t,n){n.types={any:function(){return!0},array:e(\"./array\"),\"boolean\":e(\"./boolean\"),integer:e(\"./number\"),\"null\":e(\"./null\"),number:e(\"./number\"),object:e(\"./object\"),string:e(\"./string\")},n.deepEqual=e(\"./deep-equal\"),n.base=e(\"./base\")},{\"./array\":422,\"./base\":423,\"./boolean\":424,\"./deep-equal\":425,\"./null\":427,\"./number\":428,\"./object\":429,\"./string\":430}],427:[function(e,t,n){function r(e,t,n){return null!==t?(e.addError(\"Failed type:null criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],428:[function(e,t,n){function r(e,t,n){return\"number\"!=typeof t?(e.addError(\"Failed type:number criteria\",t,n),!1):!0}function i(e,t,n){return\"number\"!=typeof t||t!==Math.round(t)?(e.addError(\"Failed type:integer criteria\",t,n),!1):!0}function o(e,t,n){var r=n.exclusiveMinimum?t>n.minimum:t>=n.minimum;return r||e.addError('Failed \"minimum\" criteria',t,n),r}function a(e,t,n){var r=n.exclusiveMaximum?t<n.maximum:t<=n.maximum;return r||e.addError('Failed \"maximum\" criteria',t,n),r}function s(e,t,n,r){r=r||\"multipleOf\";var i=t/n[r]%1===0;return i||e.addError('Failed \"'+r+'\" criteria',t,n),i}function c(e,t,n){return s(e,t,n,\"divisibleBy\")}t.exports=function(e,t,n){var u=!0;return\"number\"===n.type&&(u=r(e,t,n)),\"integer\"===n.type&&(u=i(e,t,n)),e.cleanSubject=t,u&&e.runValidations([[\"minimum\"in n,o],[\"maximum\"in n,a],[\"multipleOf\"in n,s],[\"divisibleBy\"in n,c]],t,n)}},{}],429:[function(e,t,n){function r(e,t,n,r){var i=n.properties,o=!0;for(var a in i)a in t?(e.path.push(a),o=f(e,t[a],i[a])&&o,e.path.pop(),r[a]=e.cleanSubject):i[a].required===!0&&(e.addError('Failed \"required\" criteria: missing property ('+a+\")\",t,i),o=!1);return o}function i(e,t,n,r){var i=n.patternProperties;if(\"object\"!=typeof i)throw new Error('Invalid schema: \"patternProperties\" must be an object');for(var o,a,s=!0,c=Object.keys(i),u=c.length,p=Object.keys(t),l=p.length;l--;)for(a=p[l],o=u;o--;)a.match(c[o])&&(e.path.push(a),s=f(e,t[a],i[c[o]])&&s,e.path.pop(),a in r||(r[a]=e.cleanSubject));return s}function o(e,t,n,r){var i=n.additionalProperties;if(i===!0)return!0;var o=Object.keys(t),a=o.length;if(i===!1){for(;a--;)if(!(o[a]in r))return e.addError('Failed \"additionalProperties\" criteria: unexpected property ('+o[a]+\")\",t,n),!1;return!0}if(\"object\"!=typeof i)throw new Error('Invalid schema: \"additionalProperties\" must be a valid schema');for(var s;a--;)o[a]in r||(e.path.push(o[a]),s=f(e,t[o[a]],i)&&s,e.path.pop(),r[o[a]]=e.cleanSubject);return s}function a(e,t,n){var r=Object.keys(t);return r.length<n.minProperties?(e.addError('Failed \"minProperties\" criteria',t,n),!1):!0}function s(e,t,n){var r=Object.keys(t);return r.length>n.maxProperties?(e.addError('Failed \"maxProperties\" criteria',t,n),!1):!0}function c(e,t,n){var r=n.required;if(!Array.isArray(r))throw new Error('Invalid schema: \"required\" must be an array');for(var i=!0,o=r.length;o--;)r[o]in t||(e.addError('Missing required property \"'+r[o]+'\"',t,r[o]),i=!1);return i}function u(e,t,n){var r=n.dependencies;if(\"object\"!=typeof r)throw new Error('Invalid schema: \"dependencies\" must be an object');for(var i,o,a=!0,s=Object.keys(r),c=s.length;c--;)if(s[c]in t)if(i=r[s[c]],\"string\"==typeof i&&(i=[i]),Array.isArray(i))for(o=i.length;o--;)i[o]in t||(e.addError('Missing required property \"'+i[o]+'\"',t,i[o]),a=!1);else{if(\"object\"!=typeof i)throw new Error(\"Invalid schema: dependencies must be string, array, or object\");a=f(e,t,i)&&a}return a}function p(e,t){var n=t.properties;if(n)for(var r in n)\"default\"in n[r]&&!(r in e)&&(e[r]=n[r][\"default\"])}function l(e,t,n){if(\"object\"!=typeof t)return e.addError(\"Failed type:object criteria\",t,n),!1;var l={},f=e.runValidations([[\"properties\"in n,r],[\"patternProperties\"in n,i],[\"additionalProperties\"in n,o],[\"minProperties\"in n,a],[\"maxProperties\"in n,s],[Array.isArray(n.required),c],[\"dependencies\"in n,u]],t,n,l);return e.cleanWithDefaults&&p(l,n),e.cleanSubject=l,f}var f=e(\"./base\");t.exports=l},{\"./base\":423}],430:[function(e,t,n){function r(e,t,n){return s(t).length<n.minLength?(e.addError('Failed \"minLength\" criteria',t,n),!1):!0}function i(e,t,n){return s(t).length>n.maxLength?(e.addError('Failed \"maxLength\" criteria',t,n),!1):!0}function o(e,t,n){var r=n.pattern;return t.match(r)?!0:(e.addError('Failed \"pattern\" criteria ('+r+\")\",t,r),!1)}function a(e,t,n){return\"string\"!=typeof t?(e.addError(\"Failed type:string criteria\",n),!1):(e.cleanSubject=t,e.runValidations([[\"minLength\"in n,r],[\"maxLength\"in n,i],[\"pattern\"in n,o]],t,n))}var s=e(\"punycode\").ucs2.decode;t.exports=a},{punycode:void 0}],431:[function(e,t,n){arguments[4][354][0].apply(n,arguments)},{dup:354}],432:[function(e,t,n){!function(){\"use strict\";var n=e(\"./../package.json\"),r=function(e){this.version=n.version,e=e||{},this.header={},this.header.to=e.to||[],this.header.sub=e.sub||{},this.header.unique_args=e.unique_args||{},this.header.category=e.category||[],this.header.section=e.section||{},this.header.filters=e.filters||{},this.header.send_at=e.send_at||\"\",this.header.send_each_at=e.send_each_at||[],this.header.asm_group_id=e.asm_group_id||{},this.header.ip_pool=e.ip_pool||\"\"};r.prototype.addTo=function(e){e instanceof Array?this.header.to=this.header.to.concat(e):this.header.to.push(e)},r.prototype.setTos=function(e){e instanceof Array?this.header.to=e:this.header.to=[e]},r.prototype.addSubstitution=function(e,t){void 0===this.header.sub[e]&&(this.header.sub[e]=[]),t instanceof Array?this.header.sub[e]=this.header.sub[e].concat(t):this.header.sub[e].push(t)},r.prototype.setSubstitutions=function(e){this.header.sub=e},r.prototype.addUniqueArg=function(e,t){this.header.unique_args[e]=t},r.prototype.setUniqueArgs=function(e){this.header.unique_args=e},r.prototype.addCategory=function(e){e instanceof Array?this.header.category.concat(e):this.header.category.push(e)},r.prototype.setCategories=function(e){e instanceof Array?this.header.category=e:this.header.category=[e]},r.prototype.addSection=function(e,t){this.header.section[e]=t},r.prototype.setSections=function(e){this.header.section=e},r.prototype.addFilter=function(e,t,n){void 0===this.header.filters[e]&&(this.header.filters[e]={settings:{}}),this.header.filters[e].settings[t]=n},r.prototype.setFilters=function(e){this.header.filters=e},r.prototype.setSendAt=function(e){this.header.send_each_at=[],this.header.send_at=e},r.prototype.setSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at=e},r.prototype.addSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at.push(e)},r.prototype.setASMGroupID=function(e){this.header.asm_group_id=e},r.prototype.setIpPool=function(e){this.header.ip_pool=e},r.prototype.jsonObject=function(){var e={};for(var t in this.header)(this.header.hasOwnProperty(t)&&\"object\"==typeof this.header[t]&&Object.keys(this.header[t]).length||\"number\"==typeof this.header[t]&&this.header[t]||\"string\"==typeof this.header[t]&&this.header[t])&&(e[t]=this.header[t]);return e},r.prototype.jsonString=function(){var e=this.jsonObject(),t=JSON.stringify(e);return this.escapeUnicode(t)},r.prototype.escapeUnicode=function(e){return e.replace(/[^ -~]/g,function(e){var t=e.charCodeAt(0);return\"\\\\u\"+(16>t?\"000\":256>t?\"00\":4096>t?\"0\":\"\")+t.toString(16)})},t.exports=r}()},{\"./../package.json\":433}],433:[function(e,t,n){t.exports={_args:[[\"smtpapi@^1.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\"]],_from:\"smtpapi@>=1.2.0 <2.0.0\",_id:\"smtpapi@1.2.0\",_inCache:!0,_installable:!0,_location:\"/smtpapi\",_nodeVersion:\"0.12.6\",_npmUser:{email:\"eddiezane@gmail.com\",name:\"eddiezane\"},_npmVersion:\"2.11.2\",_phantomChildren:{},_requested:{name:\"smtpapi\",raw:\"smtpapi@^1.2.0\",rawSpec:\"^1.2.0\",scope:null,spec:\">=1.2.0 <2.0.0\",type:\"range\"},_requiredBy:[\"/sendgrid\"],_resolved:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\",_shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",_shrinkwrap:null,_spec:\"smtpapi@^1.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\",author:{name:\"scottmotte\"},bugs:{url:\"https://github.com/sendgrid/smtpapi-nodejs/issues\"},contributors:[{name:\"Yamil Asusta\",email:\"yamil@sendgrid.com\",url:\"yamilasusta.com\"},{name:\"Scott Motte\",email:\"scott@scottmotte.com\",url:\"scottmotte.com\"}],dependencies:{},description:\"Build SendGrid X-SMTPAPI headers in nodejs.\",devDependencies:{mocha:\"\",should:\"\"},directories:{test:\"test\"},dist:{shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",tarball:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\"},gitHead:\"866604875fe6b3baef846ebee50342cc19aa990e\",homepage:\"https://github.com/sendgrid/smtpapi-nodejs#readme\",keywords:[\"email\",\"headers\",\"sendgrid\",\"smtp\",\"smtpapi\",\"x-smtpapi\"],license:\"BSD\",main:\"lib/main.js\",maintainers:[{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"}],name:\"smtpapi\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/smtpapi-nodejs.git\"},scripts:{test:\"mocha test/*.js\"},version:\"1.2.0\"}},{}],434:[function(e,t,n){t.exports=e(\"./lib\")},{\"./lib\":435}],435:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=function(e,t){return c&&(clearTimeout(c),c=0),l.removeAllListeners(),l.once(\"error\",a.ignore),l.close(),n(e,t)};p=o.once(p);var l=r.createSocket(\"udp4\");l.once(\"error\",function(e){return p(e)}),l.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return p(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return p(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,l=r.transmitTimestamp,f=n;return r.d=f-o-(l-c),r.t=(c-o+(l-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),p(null,r)}):p(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,p(new Error(\"Timeout\"))},s.timeout));for(var f=new t(48),d=0;48>d;d++)f[d]=0;f[0]=35,u=Date.now(),a.fromMsecs(u,f,40),l.send(f,0,f.length,s.port,s.host,function(e,t){return e||48!==t?p(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset},a.ignore=function(){}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:149}],436:[function(e,t,n){(function(e){var n={dsa:{parts:[\"p\",\"q\",\"g\",\"y\"],sizePart:\"p\"},rsa:{parts:[\"e\",\"n\"],sizePart:\"n\"},ecdsa:{parts:[\"curve\",\"Q\"],sizePart:\"Q\"},ed25519:{parts:[\"R\"],normalize:!1,sizePart:\"R\"}};n.curve25519=n.ed25519;var r={dsa:{parts:[\"p\",\"q\",\"g\",\"y\",\"x\"]},rsa:{parts:[\"n\",\"e\",\"d\",\"iqmp\",\"p\",\"q\"]},ecdsa:{parts:[\"curve\",\"Q\",\"d\"]},ed25519:{parts:[\"R\",\"r\"],normalize:!1}};r.curve25519=r.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},o={nistp256:{size:256,pkcs8oid:\"1.2.840.10045.3.1.7\",p:new e(\"00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00c49d3608 86e70493 6a6678e1 139d26b7819f7e90\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551\".replace(/ /g,\"\"),\"hex\"),G:new e(\"046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5\".replace(/ /g,\"\"),\"hex\")},nistp384:{size:384,pkcs8oid:\"1.3.132.0.34\",p:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00a335926a a319a27a 1d00896a 6773a4827acdac73\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973\".replace(/ /g,\"\"),\"hex\"),G:new e(\"04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f\".replace(/ /g,\"\"),\"hex\")},nistp521:{size:521,pkcs8oid:\"1.3.132.0.35\",p:new e(\"01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00d09e8800 291cb853 96cc6717 393284aaa0da64ba\".replace(/ /g,\"\"),\"hex\"),n:new e(\"01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409\".replace(/ /g,\"\"),\"hex\"),G:new e(\"0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650\".replace(/ /g,\"\"),\"hex\")}};t.exports={info:n,privInfo:r,hashAlgs:i,curves:o}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],437:[function(e,t,n){(function(n){function r(t){if(h.assertCompatible(t,m,[1,4],\"key\"),this._isPriv=v.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,\"dsa\"===t.type){if(!g)throw new Error(\"Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH\");this._dh=f.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if(\"ecdsa\"===t.type){if(!g)return void 0===c&&(c=e(\"ecc-jsbn\")),void 0===u&&(u=e(\"ecc-jsbn/lib/ec\")),void 0===p&&(p=e(\"jsbn\").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new a(this._ecParams,t.part.d.data)));var n={nistp256:\"prime256v1\",nistp384:\"secp384r1\",nistp521:\"secp521r1\"}[t.curve];if(this._dh=f.createECDH(n),\"object\"!=typeof this._dh||\"function\"!=typeof this._dh.setPrivateKey)return g=!1,void r.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if(\"curve25519\"!==t.type)throw new Error(\"DH not supported for \"+t.type+\" keys\");void 0===s&&(s=e(\"jodid25519\")),this._isPriv&&(this._priv=t.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32))}}function i(e){var t=d.curves[e];l.object(t);var n=new p(t.p),r=new p(t.a),i=new p(t.b),o=new p(t.n),a=p.ONE,s=new u.ECCurveFp(n,r,i),c=s.decodePointHex(t.G.toString(\"hex\"));this.curve=s,this.g=c,this.n=o,this.h=a}function o(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString(\"hex\"))}function a(e,t){this._params=e,this._priv=new p(h.mpNormalize(t))}t.exports=r;var s,c,u,p,l=e(\"assert-plus\"),f=e(\"crypto\"),d=e(\"./algs\"),h=e(\"./utils\"),m=e(\"./key\"),v=e(\"./private-key\"),g=void 0!==f.createECDH;r.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},r.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},r.prototype.getKey=r.prototype.getPrivateKey,r.prototype._keyCheck=function(e,t){if(l.object(e,\"key\"),t||h.assertCompatible(e,v,[1,3],\"key\"),h.assertCompatible(e,m,[1,4],\"key\"),e.type!==this._algo)throw new Error(\"A \"+e.type+\" key cannot be used in \"+this._algo+\" Diffie-Hellman\");if(e.curve!==this._curve)throw new Error(\"A key from the \"+e.curve+\" curve cannot be used with a \"+this._curve+\" Diffie-Hellman\");\"dsa\"===e.type&&(l.deepEqual(e.part.p,this._p,\"DSA key prime does not match\"),l.deepEqual(e.part.g,this._g,\"DSA key generator does not match\"))},r.prototype.setKey=function(e){this._keyCheck(e),\"dsa\"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):\"ecdsa\"===e.type?g?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new a(this._ecParams,e.part.d.data):\"curve25519\"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},r.prototype.setPrivateKey=r.prototype.setKey,r.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error(\"DH exchange has not been initialized with a private key yet\");var t;if(\"dsa\"===this._algo)return this._dh.computeSecret(e.part.y.data);if(\"ecdsa\"===this._algo)return g?this._dh.computeSecret(e.part.Q.data):(t=new o(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if(\"curve25519\"===this._algo){t=e.part.R.data,0===t[0]&&(t=t.slice(1));var r=s.dh.computeKey(this._priv.toString(\"binary\"),t.toString(\"binary\"));return new n(r,\"binary\")}throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKey=function(){var e,t,r=[];if(\"dsa\"===this._algo)return this._dh.generateKeys(),r.push({name:\"p\",data:this._p.data}),r.push({name:\"q\",data:this._key.part.q.data}),r.push({name:\"g\",data:this._g.data}),r.push({name:\"y\",data:this._dh.getPublicKey()}),r.push({name:\"x\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"dsa\",parts:r}),this._isPriv=!0,this._key;if(\"ecdsa\"===this._algo){if(g)return this._dh.generateKeys(),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:this._dh.getPublicKey()}),r.push({name:\"d\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),o=new p(f.randomBytes(i.bitLength())),c=i.subtract(p.ONE);return e=o.mod(c).add(p.ONE),t=this._ecParams.getG().multiply(e),e=new n(e.toByteArray()),t=new n(this._ecParams.getCurve().encodePointHex(t),\"hex\"),this._priv=new a(this._ecParams,e),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:t}),r.push({name:\"d\",data:e}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key}if(\"curve25519\"===this._algo)return e=s.dh.generateKey(),t=s.dh.publicKey(e),this._priv=e=new n(e,\"binary\"),t=new n(t,\"binary\"),r.push({name:\"R\",data:t}),r.push({name:\"r\",data:n.concat([e,t])}),this._key=new v({type:\"curve25519\",parts:r}),this._isPriv=!0,this._key;throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKeys=r.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},a.prototype.deriveSharedSecret=function(e){l.ok(e instanceof o);var t=e._pub.multiply(this._priv);return new n(t.getX().toBigInteger().toByteArray())}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./key\":449,\"./private-key\":450,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,\"ecc-jsbn\":91,\"ecc-jsbn/lib/ec\":92,jodid25519:165,jsbn:171}],438:[function(e,t,n){(function(n){function r(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}function i(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}t.exports={Verifier:r,Signer:i};var o,a=e(\"stream\"),s=e(\"util\"),c=e(\"assert-plus\"),u=e(\"./signature\");s.inherits(r,a.Writable),r.prototype._write=function(e,t,n){this.chunks.push(e),n()},r.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},r.prototype.verify=function(e,t){var r;if(u.isSignature(e,[2,0])){if(\"ed25519\"!==e.type)return!1;r=e.toBuffer(\"raw\")}else if(\"string\"==typeof e)r=new n(e,\"base64\");else if(u.isSignature(e,[1,0]))throw new Error(\"signature was created by too old a version of sshpk and cannot be verified\");return c.buffer(r),o.sign.detached.verify(new Uint8Array(n.concat(this.chunks)),new Uint8Array(r),new Uint8Array(this.key.part.R.data))},s.inherits(i,a.Writable),i.prototype._write=function(e,t,n){this.chunks.push(e),n()},i.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},i.prototype.sign=function(){var e=o.sign.detached(new Uint8Array(n.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new n(e),r=u.parse(t,\"ed25519\",\"raw\");return r.hashAlgorithm=\"sha512\",r}}).call(this,e(\"buffer\").Buffer)},{\"./signature\":451,\"assert-plus\":10,buffer:void 0,stream:void 0,tweetnacl:466,util:void 0}],439:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name=\"FingerprintFormatError\",this.fingerprint=e,this.format=t,this.message=\"Fingerprint format is not supported, or is invalid: \",void 0!==e&&(this.message+=\" fingerprint = \"+e),void 0!==t&&(this.message+=\" format = \"+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name=\"InvalidAlgorithmError\",this.algorithm=e,this.message='Algorithm \"'+e+'\" is not supported'}function o(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name=\"KeyParseError\",this.format=t,this.keyName=e,this.innerErr=n,this.message=\"Failed to parse \"+e+\" as a valid \"+t+\" format key: \"+n.message}function a(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name=\"SignatureParseError\",this.type=e,this.format=t,this.innerErr=n,this.message=\"Failed to parse the given data as a \"+e+\" signature in \"+t+\" format: \"+n.message}var s=(e(\"assert-plus\"),e(\"util\"));s.inherits(r,Error),s.inherits(i,Error),s.inherits(o,Error),s.inherits(a,Error),t.exports={FingerprintFormatError:r,InvalidAlgorithmError:i,KeyParseError:o,SignatureParseError:a}},{\"assert-plus\":10,util:void 0}],440:[function(e,t,n){(function(n){function r(e){if(s.object(e,\"options\"),s.buffer(e.hash,\"options.hash\"),s.string(e.algorithm,\"options.algorithm\"),this.algorithm=e.algorithm.toLowerCase(),c.hashAlgs[this.algorithm]!==!0)throw new h(this.algorithm);this.hash=e.hash}function i(e){return e.replace(/(.{2})(?=.)/g,\"$1:\")}function o(e){return e.replace(/=*$/,\"\")}function a(e,t){return e.toUpperCase()+\":\"+o(t)}t.exports=r;var s=e(\"assert-plus\"),c=e(\"./algs\"),u=e(\"crypto\"),p=e(\"./errors\"),l=e(\"./key\"),f=e(\"./utils\"),d=p.FingerprintFormatError,h=p.InvalidAlgorithmError;r.prototype.toString=function(e){switch(void 0===e&&(e=\"md5\"===this.algorithm?\"hex\":\"base64\"),s.string(e),e){case\"hex\":return i(this.hash.toString(\"hex\"));case\"base64\":return a(this.algorithm,this.hash.toString(\"base64\"));default:throw new d(void 0,e)}},r.prototype.matches=function(e){s.object(e,\"key\"),f.assertCompatible(e,l,[1,0],\"key\");var t=e.hash(this.algorithm),n=u.createHash(this.algorithm).update(t).digest(\"base64\");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest(\"base64\")),this.hash2===n},r.parse=function(e,t){s.string(e,\"fingerprint\");var i,o;s.optionalArrayOfString(t,\"algorithms\");var a=e.split(\":\");if(2==a.length){i=a[0].toLowerCase();var u=/^[A-Za-z0-9+\\/=]+$/;if(!u.test(a[1]))throw new d(e);try{o=new n(a[1],\"base64\")}catch(p){throw new d(e)}}else if(a.length>2){i=\"md5\",\"md5\"===a[0].toLowerCase()&&(a=a.slice(1)),a=a.join(\"\");var l=/^[a-fA-F0-9]+$/;if(!l.test(a))throw new d(e);try{o=new n(a,\"hex\")}catch(p){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new h(i);if(void 0!==t&&(t=t.map(function(e){return e.toLowerCase()}),-1===t.indexOf(i)))throw new h(i);return new r({algorithm:i,hash:o})},r.isFingerprint=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,1],r._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./key\":449,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],441:[function(e,t,n){(function(n){function r(e){if(\"string\"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return c.read(e);if(e.match(/^\\s*ssh-[a-z]/))return u.read(e);if(e.match(/^\\s*ecdsa-/))return u.read(e);e=new n(e,\"binary\")}else{if(s.buffer(e),o(e))return c.read(e);if(i(e))return u.read(e)}if(e.readUInt32BE(0)<e.length)return p.read(e);throw new Error(\"Failed to auto-detect format of key\")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&\"ssh-\"===e.slice(t,t+4).toString(\"ascii\")?!0:t+6<=e.length&&\"ecdsa-\"===e.slice(t,t+6).toString(\"ascii\")}function o(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||\"BEGIN\"!==e.slice(t,t+5).toString(\"ascii\"))}function a(e){throw new Error('\"auto\" format cannot be used for writing')}t.exports={read:r,write:a};var s=e(\"assert-plus\"),c=(e(\"../utils\"),e(\"../key\"),e(\"../private-key\"),e(\"./pem\")),u=e(\"./ssh\"),p=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,\"./ssh\":447,\"assert-plus\":10,buffer:void 0}],442:[function(e,t,n){(function(n){function r(e,t){var r=e;\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var i=e.trim().split(\"\\n\"),s=i[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(s,\"invalid PEM header\");var c=i[i.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(c,\"invalid PEM footer\"),o.equal(s[2],c[2]);var d,h=s[2].toLowerCase();s[1]&&(o.equal(s[1],c[1],\"PEM header and footer mismatch\"),d=s[1].trim());for(var m={};;){if(i=i.slice(1),s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/),!s)break;m[s[1].toLowerCase()]=s[2]}if(m[\"proc-type\"]){var v=m[\"proc-type\"].split(\",\");if(\"4\"===v[0]&&\"ENCRYPTED\"===v[1])throw new Error(\"PEM key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\")}if(i=i.slice(0,-1).join(\"\"),e=new n(i,\"base64\"),d&&\"openssh\"===d.toLowerCase())return l.readSSHPrivate(h,e);if(d&&\"ssh2\"===d.toLowerCase())return f.readType(h,e);var g=new a.BerReader(e);return g.originalInput=r,g.readSequence(),d?(t&&o.strictEqual(t,\"pkcs1\"),u.readPkcs1(d,h,g)):(t&&o.strictEqual(t,\"pkcs8\"),p.readPkcs8(d,h,g))}function i(e,t){o.object(e);var r,i={ecdsa:\"EC\",rsa:\"RSA\",dsa:\"DSA\"}[e.type],l=new a.BerWriter;if(c.isPrivateKey(e))t&&\"pkcs8\"===t?(r=\"PRIVATE KEY\",p.writePkcs8(l,e)):(t&&o.strictEqual(t,\"pkcs1\"),r=i+\" PRIVATE KEY\",u.writePkcs1(l,e));else{if(!s.isKey(e))throw new Error(\"key is not a Key or PrivateKey\");t&&\"pkcs1\"===t?(r=i+\" PUBLIC KEY\",u.writePkcs1(l,e)):(t&&o.strictEqual(t,\"pkcs8\"),r=\"PUBLIC KEY\",p.writePkcs8(l,e))}var f=l.buffer.toString(\"base64\"),d=f.length+f.length/64+18+16+2*r.length+10,h=new n(d),m=0;m+=h.write(\"-----BEGIN \"+r+\"-----\\n\",m);for(var v=0;v<f.length;){var g=v+64;g>f.length&&(g=f.length),m+=h.write(f.slice(v,g),m),h[m++]=10,v=g}return m+=h.write(\"-----END \"+r+\"-----\\n\",m),h.slice(0,m)}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"asn1\"),s=(e(\"../algs\"),e(\"../utils\"),e(\"../key\")),c=e(\"../private-key\"),u=e(\"./pkcs1\"),p=e(\"./pkcs8\"),l=e(\"./ssh-private\"),f=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pkcs1\":443,\"./pkcs8\":444,\"./rfc4253\":445,\"./ssh-private\":446,asn1:9,\"assert-plus\":10,buffer:void 0}],443:[function(e,t,n){(function(n){function r(e){return E.read(e,\"pkcs1\")}function i(e){return E.write(e,\"pkcs1\")}function o(e,t){return x.strictEqual(e.peek(),w.Ber.Integer,t+\" is not an Integer\"),\nk.mpNormalize(e.readString(w.Ber.Integer,!0))}function a(e,t,n){switch(e){case\"RSA\":if(\"public\"===t)return s(n);if(\"private\"===t)return c(n);throw new Error(\"Unknown key type: \"+t);case\"DSA\":if(\"public\"===t)return p(n);if(\"private\"===t)return u(n);throw new Error(\"Unknown key type: \"+t);case\"EC\":case\"ECDSA\":if(\"private\"===t)return f(n);if(\"public\"===t)return l(n);throw new Error(\"Unknown key type: \"+t);default:throw new Error(\"Unknown key algo: \"+e)}}function s(e){var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new j(r)}function c(e){var t=o(e,\"version\");x.strictEqual(t[0],0);var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new S(l)}function u(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),0);var n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a=o(e,\"y\"),s=o(e,\"x\"),c={type:\"dsa\",parts:[{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i},{name:\"y\",data:a},{name:\"x\",data:s}]};return new S(c)}function p(e){var t=o(e,\"y\"),n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a={type:\"dsa\",parts:[{name:\"y\",data:t},{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i}]};return new j(a)}function l(e){e.readSequence();var t=e.readOID();x.strictEqual(t,\"1.2.840.10045.2.1\",\"must be ecPublicKey\");for(var r,i=e.readOID(),o=Object.keys(_.curves),a=0;a<o.length;++a){var s=o[a],c=_.curves[s];if(c.pkcs8oid===i){r=s;break}}x.string(r,\"a known ECDSA named curve\");var u=e.readString(w.Ber.BitString,!0);u=k.ecNormalize(u);var p={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(r)},{name:\"Q\",data:u}]};return new j(p)}function f(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),1);var r=e.readString(w.Ber.OctetString,!0);e.readSequence(160);var i=A(e);x.string(i,\"a known elliptic curve\"),e.readSequence(161);var a=e.readString(w.Ber.BitString,!0);a=k.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(i)},{name:\"Q\",data:a},{name:\"d\",data:r}]};return new S(s)}function d(e,t){switch(e.startSequence(),t.type){case\"rsa\":S.isPrivateKey(t)?m(e,t):h(e,t);break;case\"dsa\":S.isPrivateKey(t)?v(e,t):g(e,t);break;case\"ecdsa\":S.isPrivateKey(t)?b(e,t):y(e,t);break;default:throw new Error(\"Unknown key algo: \"+t.type)}e.endSequence()}function h(e,t){e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer)}function m(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),t.part.dmodp&&t.part.dmodq||k.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,w.Ber.Integer),e.writeBuffer(t.part.dmodq.data,w.Ber.Integer),e.writeBuffer(t.part.iqmp.data,w.Ber.Integer)}function v(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer),e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.x.data,w.Ber.Integer)}function g(e,t){e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer)}function y(e,t){e.startSequence(),e.writeOID(\"1.2.840.10045.2.1\");var n=t.part.curve.data.toString(),r=_.curves[n].pkcs8oid;x.string(r,\"a known ECDSA named curve\"),e.writeOID(r),e.endSequence();var i=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,w.Ber.BitString)}function b(e,t){var r=new n(1);r[0]=1,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),o=_.curves[i].pkcs8oid;x.string(o,\"a known ECDSA named curve\"),e.writeOID(o),e.endSequence(),e.startSequence(161);var a=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(a,w.Ber.BitString),e.endSequence()}t.exports={read:r,readPkcs1:a,write:i,writePkcs1:d};var x=e(\"assert-plus\"),w=e(\"asn1\"),_=e(\"../algs\"),k=e(\"../utils\"),j=e(\"../key\"),S=e(\"../private-key\"),E=e(\"./pem\"),O=e(\"./pkcs8\"),A=O.readECDSACurve}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./pkcs8\":444,asn1:9,\"assert-plus\":10,buffer:void 0}],444:[function(e,t,n){(function(n){function r(e){return A.read(e,\"pkcs8\")}function i(e){return A.write(e,\"pkcs8\")}function o(e,t){return _.strictEqual(e.peek(),k.Ber.Integer,t+\" is not an Integer\"),S.mpNormalize(e.readString(k.Ber.Integer,!0))}function a(e,t,n){n.peek()===k.Ber.Integer&&(_.strictEqual(t,\"private\",\"unexpected Integer at start of public key\"),n.readString(k.Ber.Integer,!0)),n.readSequence();var r=n.readOID();switch(r){case\"1.2.840.113549.1.1.1\":return\"public\"===t?s(n):c(n);case\"1.2.840.10040.4.1\":return\"public\"===t?u(n):p(n);case\"1.2.840.10045.2.1\":return\"public\"===t?d(n):f(n);default:throw new Error(\"Unknown key type OID \"+r)}}function s(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.BitString),e.readByte(),e.readSequence();var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",source:e.originalInput,parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new E(r)}function c(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.OctetString),e.readSequence();var t=o(e,\"version\");_.equal(t[0],0,\"unknown RSA private key version\");var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new O(l)}function u(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.BitString),e.readByte();var i=o(e,\"y\"),a={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:i}]};return new E(a)}function p(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.OctetString);var i=o(e,\"x\"),a=S.calculateDSAPublic(r,t,i),s={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:a},{name:\"x\",data:i}]};return new O(s)}function l(e){var t,r,i,o,a;if(e.peek()===k.Ber.OID){var s=e.readOID();for(r=Object.keys(j.curves),i=0;i<r.length;++i)if(o=r[i],a=j.curves[o],a.pkcs8oid===s){t=o;break}}else{e.readSequence();var c=e.readString(k.Ber.Integer,!0);_.strictEqual(c[0],1,\"ECDSA key not version 1\");var u={};e.readSequence();var p=e.readOID();_.strictEqual(p,\"1.2.840.10045.1.1\",\"ECDSA key is not from a prime-field\");var l=u.p=S.mpNormalize(e.readString(k.Ber.Integer,!0));u.size=8*l.length-S.countZeros(l),e.readSequence(),u.a=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),u.b=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),e.peek()===k.Ber.BitString&&(u.s=e.readString(k.Ber.BitString,!0)),u.G=e.readString(k.Ber.OctetString,!0),_.strictEqual(u.G[0],4,\"uncompressed G is required\"),u.n=S.mpNormalize(e.readString(k.Ber.Integer,!0)),u.h=S.mpNormalize(e.readString(k.Ber.Integer,!0)),_.strictEqual(u.h[0],1,\"a cofactor=1 curve is required\"),r=Object.keys(j.curves);var f=Object.keys(u);for(i=0;i<r.length;++i){o=r[i],a=j.curves[o];for(var d=!0,h=0;h<f.length;++h){var m=f[h];if(void 0!==a[m])if(\"object\"==typeof a[m]&&void 0!==a[m].equals){if(!a[m].equals(u[m])){d=!1;break}}else if(n.isBuffer(a[m])){if(a[m].toString(\"binary\")!==u[m].toString(\"binary\")){d=!1;break}}else if(a[m]!==u[m]){d=!1;break}}if(d){t=o;break}}}return t}function f(e){var t=l(e);_.string(t,\"a known elliptic curve\"),e.readSequence(k.Ber.OctetString),e.readSequence();var r=o(e,\"version\");_.equal(r[0],1,\"unknown version of ECDSA key\");var i=e.readString(k.Ber.OctetString,!0);e.readSequence(161);var a=e.readString(k.Ber.BitString,!0);a=S.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:a},{name:\"d\",data:i}]};return new O(s)}function d(e){var t=l(e);_.string(t,\"a known elliptic curve\");var r=e.readString(k.Ber.BitString,!0);r=S.ecNormalize(r);var i={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:r}]};return new E(i)}function h(e,t){if(e.startSequence(),O.isPrivateKey(t)){var r=new n(1);r[0]=0,e.writeBuffer(r,k.Ber.Integer)}switch(e.startSequence(),t.type){case\"rsa\":e.writeOID(\"1.2.840.113549.1.1.1\"),O.isPrivateKey(t)?m(t,e):v(t,e);break;case\"dsa\":e.writeOID(\"1.2.840.10040.4.1\"),O.isPrivateKey(t)?g(t,e):y(t,e);break;case\"ecdsa\":e.writeOID(\"1.2.840.10045.2.1\"),O.isPrivateKey(t)?w(t,e):x(t,e);break;default:throw new Error(\"Unsupported key type: \"+t.type)}e.endSequence()}function m(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=0,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.Integer),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),e.part.dmodp&&e.part.dmodq||S.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,k.Ber.Integer),t.writeBuffer(e.part.dmodq.data,k.Ber.Integer),t.writeBuffer(e.part.iqmp.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function v(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function g(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.writeBuffer(e.part.x.data,k.Ber.Integer),t.endSequence()}function y(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,k.Ber.Integer),t.endSequence()}function b(e,t){var r=j.curves[e.curve];if(r.pkcs8oid)t.writeOID(r.pkcs8oid);else{t.startSequence();var i=new n(1);i.writeUInt8(1,0),t.writeBuffer(i,k.Ber.Integer),t.startSequence(),t.writeOID(\"1.2.840.10045.1.1\"),t.writeBuffer(r.p,k.Ber.Integer),t.endSequence(),t.startSequence();var o=r.p;0===o[0]&&(o=o.slice(1)),t.writeBuffer(o,k.Ber.OctetString),t.writeBuffer(r.b,k.Ber.OctetString),t.writeBuffer(r.s,k.Ber.BitString),t.endSequence(),t.writeBuffer(r.G,k.Ber.OctetString),t.writeBuffer(r.n,k.Ber.Integer);var a=r.h;a||(a=new n(1),a[0]=1),t.writeBuffer(a,k.Ber.Integer),t.endSequence()}}function x(e,t){b(e,t),t.endSequence();var n=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(n,k.Ber.BitString)}function w(e,t){b(e,t),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=1,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.OctetString),t.startSequence(161);var i=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,k.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:r,readPkcs8:a,write:i,writePkcs8:h,readECDSACurve:l,writeECDSACurve:b};var _=e(\"assert-plus\"),k=e(\"asn1\"),j=e(\"../algs\"),S=e(\"../utils\"),E=e(\"../key\"),O=e(\"../private-key\"),A=e(\"./pem\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,asn1:9,\"assert-plus\":10,buffer:void 0}],445:[function(e,t,n){(function(n){function r(e){if(s.string(e),\"ssh-dss\"===e)return\"dsa\";if(\"ssh-rsa\"===e)return\"rsa\";if(\"ssh-ed25519\"===e)return\"ed25519\";if(\"ssh-curve25519\"===e)return\"curve25519\";if(e.match(/^ecdsa-sha2-/))return\"ecdsa\";throw new Error(\"Unknown algorithm \"+e)}function i(e){if(s.object(e),\"dsa\"===e.type)return\"ssh-dss\";if(\"rsa\"===e.type)return\"ssh-rsa\";if(\"ed25519\"===e.type)return\"ssh-ed25519\";if(\"curve25519\"===e.type)return\"ssh-curve25519\";if(\"ecdsa\"===e.type)return\"ecdsa-sha2-\"+e.part.curve.data.toString();throw new Error(\"Unknown key type \"+e.type)}function o(e,t,i){\"string\"==typeof i&&(i=new n(i)),s.buffer(i,\"buf\");var o={},a=o.parts=[],d=new f({buffer:i}),h=d.readString();s.ok(!d.atEnd(),\"key must have at least one part\"),o.type=r(h);var m=c.info[o.type].parts.length;for(t&&\"private\"===t&&(m=c.privInfo[o.type].parts.length);!d.atEnd()&&a.length<m;)a.push(d.readPart());for(;!e&&!d.atEnd();)a.push(d.readPart());s.ok(a.length>=1,\"key must have at least one part\"),s.ok(e||d.atEnd(),\"leftover bytes at end of key\");var v=p,g=c.info[o.type];if(\"private\"!==t&&g.parts.length===a.length||(g=c.privInfo[o.type],v=l),s.strictEqual(g.parts.length,a.length),\"ecdsa\"===o.type){var y=/^ecdsa-sha2-(.+)$/.exec(h);s.ok(null!==y),s.strictEqual(y[1],a[0].data.toString())}for(var b=!0,x=0;x<g.parts.length;++x)if(a[x].name=g.parts[x],\"curve\"!==a[x].name&&g.normalize!==!1){var w=a[x],_=u.mpNormalize(w.data);_!==w.data&&(w.data=_,b=!1)}return b&&(o._rfc4253Cache=d.toBuffer()),e&&\"object\"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(o)}function a(e){s.object(e);var t,n=i(e),r=c.info[e.type];l.isPrivateKey(e)&&(r=c.privInfo[e.type]);var o=r.parts,a=new f({});for(a.writeString(n),t=0;t<o.length;++t){var p=e.part[o[t]].data;r.normalize!==!1&&(p=u.mpNormalize(p)),a.writeBuffer(p)}return a.toBuffer()}t.exports={read:o.bind(void 0,!1,void 0),readType:o.bind(void 0,!1),write:a,readPartial:o.bind(void 0,!0),readInternal:o,keyTypeToAlg:i,algToKeyType:r};var s=e(\"assert-plus\"),c=e(\"../algs\"),u=e(\"../utils\"),p=e(\"../key\"),l=e(\"../private-key\"),f=e(\"../ssh-buffer\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"assert-plus\":10,buffer:void 0}],446:[function(e,t,n){(function(n){function r(e){return u.read(e)}function i(e,t){t=new l({buffer:t});var n=t.readCString();a.strictEqual(n,f,\"bad magic string\");var r=t.readString(),i=t.readString();if(\"none\"!==r||\"none\"!==i)throw new Error(\"OpenSSH-format key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\");t.readString();var o=t.readInt();if(1!==o)throw new Error(\"OpenSSH-format key file contains multiple keys: this is unsupported.\");var s=t.readBuffer();if(\"public\"===e)return a.ok(t.atEnd(),\"excess bytes left after key\"),p.read(s);var c=t.readBuffer();a.ok(t.atEnd(),\"excess bytes left after key\"),t=new l({buffer:c});var u=t.readInt(),d=t.readInt();a.strictEqual(u,d,\"checkints do not match\");var h={},m=p.readInternal(h,\"private\",t.remainder());t.skip(h.consumed);var v=t.readString();return m.comment=v,m}function o(e){var t;t=c.isPrivateKey(e)?e.toPublic():e;var r;if(c.isPrivateKey(e)){r=new l({});var i=s.randomBytes(4).readUInt32BE(0);r.writeInt(i),r.writeInt(i),r.write(e.toBuffer(\"rfc4253\")),r.writeString(e.comment||\"\");for(var o=1;r._offset%8!==0;)r.writeChar(o++)}var a=new l({});a.writeCString(f),a.writeString(\"none\"),a.writeString(\"none\"),a.writeBuffer(new n(0)),a.writeInt(1),a.writeBuffer(t.toBuffer(\"rfc4253\")),r&&a.writeBuffer(r.toBuffer()),a=a.toBuffer();var u;u=c.isPrivateKey(e)?\"OPENSSH PRIVATE KEY\":\"OPENSSH PUBLIC KEY\";var p=a.toString(\"base64\"),d=p.length+p.length/70+18+16+2*u.length+10;a=new n(d);var h=0;h+=a.write(\"-----BEGIN \"+u+\"-----\\n\",h);for(var m=0;m<p.length;){var v=m+70;v>p.length&&(v=p.length),h+=a.write(p.slice(m,v),h),a[h++]=10,m=v}return h+=a.write(\"-----END \"+u+\"-----\\n\",h),a.slice(0,h)}t.exports={read:r,readSSHPrivate:i,write:o};var a=e(\"assert-plus\"),s=(e(\"asn1\"),e(\"../algs\"),e(\"../utils\"),e(\"crypto\")),c=(e(\"../key\"),e(\"../private-key\")),u=e(\"./pem\"),p=e(\"./rfc4253\"),l=e(\"../ssh-buffer\"),f=\"openssh-key-v1\"}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],447:[function(e,t,n){(function(n){function r(e){\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var t=e.trim().replace(/[\\\\\\r]/g,\"\"),r=t.match(c);r||(r=t.match(u)),o.ok(r,\"key must match regex\");var i,s=a.algToKeyType(r[1]),p=new n(r[2],\"base64\"),l={};if(r[4])try{i=a.read(p)}catch(f){r=t.match(u),o.ok(r,\"key must match regex\"),p=new n(r[2],\"base64\"),i=a.readInternal(l,\"public\",p)}else i=a.readInternal(l,\"public\",p);if(o.strictEqual(s,i.type),r[4]&&r[4].length>0)i.comment=r[4];else if(l.consumed){var d=r[2]+r[3],h=4*Math.ceil(l.consumed/3);d=d.slice(0,h-2).replace(/[^a-zA-Z0-9+\\/=]/g,\"\")+d.slice(h-2);var m=l.consumed%3;for(m>0&&\"=\"!==d.slice(h-1,h)&&h--;\"=\"===d.slice(h,h+1);)h++;var v=d.slice(h);v=v.replace(/[\\r\\n]/g,\" \").replace(/^\\s+/,\"\"),v.match(/^[a-zA-Z0-9]/)&&(i.comment=v)}return i}function i(e){if(o.object(e),!s.isKey(e))throw new Error(\"Must be a public key\");var t=[],r=a.keyTypeToAlg(e);t.push(r);var i=a.write(e);return t.push(i.toString(\"base64\")),e.comment&&t.push(e.comment),new n(t.join(\" \"))}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"./rfc4253\"),s=(e(\"../utils\"),e(\"../key\")),c=(e(\"../private-key\"),e(\"./ssh-private\"),/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/]+[=]*)([\\n \\t]+([^\\n]+))?$/),u=/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/ \\t\\n]+[=]*)(.*)$/}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./rfc4253\":445,\"./ssh-private\":446,\"assert-plus\":10,buffer:void 0}],448:[function(e,t,n){var r=e(\"./key\"),i=e(\"./fingerprint\"),o=e(\"./signature\"),a=e(\"./private-key\"),s=e(\"./errors\");t.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:a,parsePrivateKey:a.parse,FingerprintFormatError:s.FingerprintFormatError,InvalidAlgorithmError:s.InvalidAlgorithmError,KeyParseError:s.KeyParseError,SignatureParseError:s.SignatureParseError}},{\"./errors\":439,\"./fingerprint\":440,\"./key\":449,\"./private-key\":450,\"./signature\":451}],449:[function(e,t,n){(function(n){function r(e){o.object(e,\"options\"),o.arrayOfObject(e.parts,\"options.parts\"),o.string(e.type,\"options.type\"),o.optionalString(e.comment,\"options.comment\");var t=a.info[e.type];if(\"object\"!=typeof t)throw new m(e.type);for(var n={},r=0;r<e.parts.length;++r){var i=e.parts[r];n[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,\"ecdsa\"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=a.curves[c].size}else if(\"ed25519\"===this.type)s=256,this.curve=\"curve25519\";else{var u=this.part[t.sizePart];s=u.data.length,s=8*s-f.countZeros(u.data)}this.size=s}t.exports=r;var i,o=e(\"assert-plus\"),a=e(\"./algs\"),s=e(\"crypto\"),c=e(\"./fingerprint\"),u=e(\"./signature\"),p=e(\"./dhe\"),l=e(\"./errors\"),f=e(\"./utils\"),d=e(\"./private-key\");try{i=e(\"./ed-compat\")}catch(h){}var m=l.InvalidAlgorithmError,v=l.KeyParseError,g={};g.auto=e(\"./formats/auto\"),g.pem=e(\"./formats/pem\"),g.pkcs1=e(\"./formats/pkcs1\"),g.pkcs8=e(\"./formats/pkcs8\"),g.rfc4253=e(\"./formats/rfc4253\"),g.ssh=e(\"./formats/ssh\"),g[\"ssh-private\"]=e(\"./formats/ssh-private\"),g.openssh=g[\"ssh-private\"],r.formats=g,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"ssh\"),o.string(e,\"format\"),o.object(g[e],\"formats[format]\"),\"rfc4253\"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this)},r.prototype.toString=function(e){return this.toBuffer(e).toString()},r.prototype.hash=function(e){if(o.string(e,\"algorithm\"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer(\"rfc4253\")).digest();return\"string\"==typeof t&&(t=new n(t,\"binary\")),this._hashCache[e]=t,t},r.prototype.fingerprint=function(e){void 0===e&&(e=\"sha256\"),o.string(e,\"algorithm\");var t={hash:this.hash(e),algorithm:e};return new c(t)},r.prototype.defaultHashAlgorithm=function(){var e=\"sha1\";return\"rsa\"===this.type&&(e=\"sha256\"),\"dsa\"===this.type&&this.size>1024&&(e=\"sha256\"),\"ed25519\"===this.type&&(e=\"sha512\"),\"ecdsa\"===this.type&&(e=this.size<=256?\"sha256\":this.size<=384?\"sha384\":\"sha512\"),e},r.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Verifier(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,a;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=s.createVerify(r)}catch(c){a=c}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=s.createVerify(r)),o.ok(t,\"failed to create verifier\");var p=t.verify.bind(t),l=this.toBuffer(\"pkcs8\"),f=this;return t.verify=function(t,r){if(u.isSignature(t,[2,0]))return t.type!==f.type?!1:t.hashAlgorithm&&t.hashAlgorithm!==e?!1:p(l,t.toBuffer(\"asn1\"));if(\"string\"==typeof t||n.isBuffer(t))return p(l,t,r);throw u.isSignature(t,[1,0])?new Error(\"signature was created by too old a version of sshpk and cannot be verified\"):new TypeError(\"signature must be a string, Buffer, or Signature object\")},t},r.prototype.createDiffieHellman=function(){if(\"rsa\"===this.type)throw new Error(\"RSA keys do not support Diffie-Hellman\");return new p(this)},r.prototype.createDH=r.prototype.createDiffieHellman,r.parse=function(e,t,n){\"string\"!=typeof e&&o.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),o.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),o.object(g[t],\"formats[format]\");try{var r=g[t].read(e);return r instanceof d&&(r=r.toPublic()),r.comment||(r.comment=n),r}catch(i){throw new v(n,t,i)}},r.isKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,5],r._oldVersionDetect=function(e){return o.func(e.toBuffer),o.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./dhe\":437,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh\":447,\"./formats/ssh-private\":446,\"./private-key\":450,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],450:[function(e,t,n){(function(n){function r(e){a.object(e,\"options\"),h.call(this,e),this._pubCache=void 0}t.exports=r;var i,o,a=e(\"assert-plus\"),s=e(\"./algs\"),c=e(\"crypto\"),u=(e(\"./fingerprint\"),e(\"./signature\")),p=e(\"./errors\"),l=e(\"util\"),f=e(\"./utils\");try{i=e(\"./ed-compat\")}catch(d){}var h=e(\"./key\"),m=(p.InvalidAlgorithmError,p.KeyParseError),v={};v.auto=e(\"./formats/auto\"),v.pem=e(\"./formats/pem\"),v.pkcs1=e(\"./formats/pkcs1\"),v.pkcs8=e(\"./formats/pkcs8\"),v.rfc4253=e(\"./formats/rfc4253\"),v[\"ssh-private\"]=e(\"./formats/ssh-private\"),v.openssh=v[\"ssh-private\"],v.ssh=v[\"ssh-private\"],l.inherits(r,h),r.formats=v,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"pkcs1\"),a.string(e,\"format\"),a.object(v[e],\"formats[format]\"),v[e].write(this)},r.prototype.hash=function(e){return this.toPublic().hash(e)},r.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];t.push(this.part[r])}return this._pubCache=new h({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},r.prototype.derive=function(t,i){a.string(t,\"type\"),a.optionalNumber(i,\"size\");var s,c;if(\"ed25519\"===this.type&&\"curve25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.dh.publicKey(s),s=f.mpNormalize(n.concat([s,c])),new r({type:\"curve25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});if(\"curve25519\"===this.type&&\"ed25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.eddsa.publicKey(s.toString(\"binary\")),c=new n(c,\"binary\"),s=f.mpNormalize(n.concat([s,c])),new r({type:\"ed25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});throw new Error(\"Key derivation not supported from \"+this.type+\" to \"+t)},r.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},r.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Signer(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,o;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=c.createSign(r)}catch(s){o=s}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=c.createSign(r)),a.ok(t,\"failed to create verifier\");var p=t.sign.bind(t),l=this.toBuffer(\"pkcs1\"),f=this.type;return t.sign=function(){var t=p(l);return\"string\"==typeof t&&(t=new n(t,\"binary\")),t=u.parse(t,f,\"asn1\"),t.hashAlgorithm=e,t},t},r.parse=function(e,t,n){\"string\"!=typeof e&&a.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),a.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),a.object(v[t],\"formats[format]\");try{var i=v[t].read(e);return a.ok(i instanceof r,\"key is not a private key\"),i.comment||(i.comment=n),i}catch(o){throw new m(n,t,o)}},r.isPrivateKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,4],r._oldVersionDetect=function(e){return a.func(e.toPublic),a.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh-private\":446,\"./key\":449,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,jodid25519:165,util:void 0}],451:[function(e,t,n){(function(n){function r(e){c.object(e,\"options\"),c.arrayOfObject(e.parts,\"options.parts\"),c.string(e.type,\"options.type\");for(var t={},n=0;n<e.parts.length;++n){var r=e.parts[n];t[r.name]=r}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.parts=e.parts,this.part=t}function i(e,t,n,i,o){if(\"ssh\"===n){try{var a=new f({buffer:e}),s=a.readString()}catch(u){}if(s===o){var p=a.readPart();return c.ok(a.atEnd(),\"extra trailing bytes\"),p.name=\"sig\",i.parts.push(p),new r(i)}}return i.parts.push({name:\"sig\",data:e}),new r(i)}function o(e,t,n,i){var o=new l.BerReader(e);o.readSequence();var a=o.readString(l.Ber.Integer,!0),s=o.readString(l.Ber.Integer,!0);return i.parts.push({name:\"r\",data:p.mpNormalize(a)}),i.parts.push({name:\"s\",data:p.mpNormalize(s)}),new r(i)}function a(e,t,n,i){if(40!=e.length){var o=new f({buffer:e}),a=o.readBuffer();\"ssh-dss\"===a.toString(\"ascii\")&&(a=o.readBuffer()),c.ok(o.atEnd(),\"extra trailing bytes\"),c.strictEqual(a.length,40,\"invalid inner length\"),e=a}return i.parts.push({name:\"r\",data:e.slice(0,20)}),i.parts.push({name:\"s\",data:e.slice(20,40)}),new r(i)}function s(e,t,n,i){var o,a,s=new f({buffer:e}),u=s.readBuffer();return u.toString(\"ascii\").match(/^ecdsa-/)?(u=s.readBuffer(),c.ok(s.atEnd(),\"extra trailing bytes on outer\"),s=new f({buffer:u}),o=s.readPart()):o={data:u},a=s.readPart(),c.ok(s.atEnd(),\"extra trailing bytes\"),o.name=\"r\",a.name=\"s\",i.parts.push(o),i.parts.push(a),new r(i)}t.exports=r;var c=e(\"assert-plus\"),u=(e(\"./algs\"),e(\"crypto\"),e(\"./errors\")),p=e(\"./utils\"),l=e(\"asn1\"),f=e(\"./ssh-buffer\"),d=u.InvalidAlgorithmError,h=u.SignatureParseError;r.prototype.toBuffer=function(e){void 0===e&&(e=\"asn1\"),c.string(e,\"format\");var t;switch(this.type){case\"rsa\":case\"ed25519\":return\"ssh\"===e?(t=new f({}),t.writeString(\"ssh-\"+this.type),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case\"dsa\":case\"ecdsa\":var r,i;if(\"asn1\"===e){var o=new l.BerWriter;return o.startSequence(),r=p.mpNormalize(this.part.r.data),i=p.mpNormalize(this.part.s.data),o.writeBuffer(r,l.Ber.Integer),o.writeBuffer(i,l.Ber.Integer),o.endSequence(),o.buffer}if(\"ssh\"===e&&\"dsa\"===this.type)return t=new f({}),t.writeString(\"ssh-dss\"),r=this.part.r.data,0===r[0]&&(r=r.slice(1)),i=this.part.s.data,t.writeBuffer(n.concat([r,i])),t.toBuffer();if(\"ssh\"===e&&\"ecdsa\"===this.type){var a=new f({});r=this.part.r,0===r[0]&&(r=r.slice(1)),a.writePart(r),a.writePart(this.part.s),t=new f({});var s,u=8*this.part.r.data.length;return 256===u?s=\"nistp256\":384===u?s=\"nistp384\":528===u&&(s=\"nistp521\"),t.writeString(\"ecdsa-sha2-\"+s),t.writeBuffer(a.toBuffer()),t.toBuffer()}throw new Error(\"Invalid signature format\");default:throw new Error(\"Invalid signature data\")}},r.prototype.toString=function(e){return c.optionalString(e,\"format\"),this.toBuffer(e).toString(\"base64\")},r.parse=function(e,t,r){\"string\"==typeof e&&(e=new n(e,\"base64\")),c.buffer(e,\"data\"),c.string(r,\"format\"),c.string(t,\"type\");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,\"signature must not be empty\"),u.type){case\"rsa\":return i(e,t,r,u,\"ssh-rsa\");case\"ed25519\":return i(e,t,r,u,\"ssh-ed25519\");case\"dsa\":case\"ecdsa\":return\"asn1\"===r?o(e,t,r,u):\"dsa\"===u.type?a(e,t,r,u):s(e,t,r,u);default:throw new d(t)}}catch(p){if(p instanceof d)throw p;throw new h(t,r,p)}},r.isSignature=function(e,t){return p.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[2,1],r._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty(\"hashAlgorithm\")?[2,0]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./ssh-buffer\":452,\"./utils\":453,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],452:[function(e,t,n){(function(n){function r(e){i.object(e,\"options\"),void 0!==e.buffer&&i.buffer(e.buffer,\"options.buffer\"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new n(this._size),this._offset=0}t.exports=r;var i=e(\"assert-plus\");r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=new n(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,\"length out of bounds at +0x\"+this._offset.toString(16)+\" (data truncated?)\");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,\"c string does not terminate\");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readChar=function(){var e=this._buffer[this._offset++];return e},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(new n(e,\"utf8\"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length;\n}}).call(this,e(\"buffer\").Buffer)},{\"assert-plus\":10,buffer:void 0}],453:[function(e,t,n){(function(n){function r(e,t,n){if(null===e||\"object\"!=typeof e)return!1;if(void 0===n&&(n=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])return!0;for(var r=Object.getPrototypeOf(e),i=0;r.constructor.name!==t.name;)if(r=Object.getPrototypeOf(r),!r||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;return void 0===o&&(o=t._oldVersionDetect(e)),!(o[0]!=n[0]||o[1]<n[1])}function i(e,t,n,r){if(void 0===r&&(r=\"object\"),f.ok(e,r+\" must not be null\"),f.object(e,r+\" must be an object\"),void 0===n&&(n=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])){for(var i=Object.getPrototypeOf(e),o=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),f.ok(i&&++o<=h,r+\" must be a \"+t.name+\" instance\");f.strictEqual(i.constructor.name,t.name,r+\" must be a \"+t.name+\" instance\");var a=i._sshpkApiVersion;void 0===a&&(a=t._oldVersionDetect(e)),f.ok(a[0]==n[0]&&a[1]>=n[1],r+\" must be compatible with \"+t.name+\" klass version \"+n[0]+\".\"+n[1])}}function o(e){for(var t=0,n=8;t<e.length;){var r=1<<n;if((e[t]&r)===r)break;n--,0>n&&(t++,n=8)}return 8*t+(8-n)-1}function a(e,t){f.buffer(e),f.string(t);for(var n=[],r=0,i=0,o=0;o<e.length;++o)if(e[o]===t.charCodeAt(i)?++i:i=e[o]===t.charCodeAt(0)?1:0,i>=t.length){var a=o+1;n.push(e.slice(r,a-i)),r=a,i=0}return r<=e.length&&n.push(e.slice(r,e.length)),n}function s(e,t){if(f.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error(\"Compressed elliptic curve points are not supported\");if(4!==e[0])throw new Error(\"Not a valid elliptic curve point\");if(!t)return e}var r=new n(e.length+1);return r[0]=0,e.copy(r,1),r}function c(e){for(f.buffer(e);e.length>1&&0===e[0]&&0===(128&e[1]);)e=e.slice(1);if(128===(128&e[0])){var t=new n(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function u(e){var t=new n(e.toByteArray());return t=c(t)}function p(t,n,r){f.buffer(t),f.buffer(n),f.buffer(r);try{var i=e(\"jsbn\").BigInteger}catch(o){throw new Error(\"To load a PKCS#8 format DSA private key, the node jsbn library is required.\")}t=new i(t),n=new i(n),r=new i(r);var a=t.modPow(r,n),s=u(a);return s}function l(t){f.object(t),i(t,d,[1,1]);try{var n=e(\"jsbn\").BigInteger}catch(r){throw new Error(\"To write a PEM private key from this source, the node jsbn lib is required.\")}var o,a=new n(t.part.d.data);if(!t.part.dmodp){var s=new n(t.part.p.data),c=a.mod(s.subtract(1));o=u(c),t.part.dmodp={name:\"dmodp\",data:o},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var p=new n(t.part.q.data),l=a.mod(p.subtract(1));o=u(l),t.part.dmodq={name:\"dmodq\",data:o},t.parts.push(t.part.dmodq)}}t.exports={bufferSplit:a,addRSAMissing:l,calculateDSAPublic:p,mpNormalize:c,ecNormalize:s,countZeros:o,assertCompatible:i,isCompatible:r};var f=e(\"assert-plus\"),d=e(\"./private-key\"),h=3}).call(this,e(\"buffer\").Buffer)},{\"./private-key\":450,\"assert-plus\":10,buffer:void 0,jsbn:171}],454:[function(e,t,n){t.exports={100:\"Continue\",101:\"Switching Protocols\",102:\"Processing\",200:\"OK\",201:\"Created\",202:\"Accepted\",203:\"Non-Authoritative Information\",204:\"No Content\",205:\"Reset Content\",206:\"Partial Content\",207:\"Multi-Status\",208:\"Already Reported\",226:\"IM Used\",300:\"Multiple Choices\",301:\"Moved Permanently\",302:\"Found\",303:\"See Other\",304:\"Not Modified\",305:\"Use Proxy\",306:\"(Unused)\",307:\"Temporary Redirect\",308:\"Permanent Redirect\",400:\"Bad Request\",401:\"Unauthorized\",402:\"Payment Required\",403:\"Forbidden\",404:\"Not Found\",405:\"Method Not Allowed\",406:\"Not Acceptable\",407:\"Proxy Authentication Required\",408:\"Request Timeout\",409:\"Conflict\",410:\"Gone\",411:\"Length Required\",412:\"Precondition Failed\",413:\"Payload Too Large\",414:\"URI Too Long\",415:\"Unsupported Media Type\",416:\"Range Not Satisfiable\",417:\"Expectation Failed\",418:\"I'm a teapot\",422:\"Unprocessable Entity\",423:\"Locked\",424:\"Failed Dependency\",425:\"Unordered Collection\",426:\"Upgrade Required\",428:\"Precondition Required\",429:\"Too Many Requests\",431:\"Request Header Fields Too Large\",451:\"Unavailable For Legal Reasons\",500:\"Internal Server Error\",501:\"Not Implemented\",502:\"Bad Gateway\",503:\"Service Unavailable\",504:\"Gateway Timeout\",505:\"HTTP Version Not Supported\",506:\"Variant Also Negotiates\",507:\"Insufficient Storage\",508:\"Loop Detected\",509:\"Bandwidth Limit Exceeded\",510:\"Not Extended\",511:\"Network Authentication Required\"}},{}],455:[function(e,t,n){function r(e){if(\"number\"==typeof e){if(!r[e])throw new Error(\"invalid status code: \"+e);return e}if(\"string\"!=typeof e)throw new TypeError(\"code must be a number or string\");var t=parseInt(e,10);if(!isNaN(t)){if(!r[t])throw new Error(\"invalid status code: \"+t);return t}if(t=r[e.toLowerCase()],!t)throw new Error('invalid status message: \"'+e+'\"');return t}var i=e(\"./codes.json\");t.exports=r,r.codes=Object.keys(i).map(function(e){e=~~e;var t=i[e];return r[e]=t,r[t]=r[t.toLowerCase()]=e,e}),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},{\"./codes.json\":454}],456:[function(e,t,n){function r(e){if(e&&!c(e))throw new Error(\"Unknown encoding: \"+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function a(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e(\"buffer\").Buffer,c=s.isEncoding||function(e){switch(e&&e.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}},u=n.StringDecoder=function(e){switch(this.encoding=(e||\"utf8\").toLowerCase().replace(/[-_]/,\"\"),r(e),this.encoding){case\"utf8\":this.surrogateSize=3;break;case\"ucs2\":case\"utf16le\":this.surrogateSize=2,this.detectIncompleteChar=o;break;case\"base64\":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t=\"\";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return\"\";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=\"\"}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t=\"\";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:void 0}],457:[function(e,t,n){(function(n){function r(e,t){return this instanceof r?(s.call(this),null==e&&(e=\"utf8\"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?\"\":e,void(this.decoder=new i(this.toEncoding))):new r(e,t)}function i(e){switch(c.call(this,e),this.encoding){case\"base64\":this.write=o,this.alignedBuffer=new n(3),this.alignedBytes=0}}function o(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var r=new n(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(r,0,0,this.alignedBytes),e.copy(r,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,r.toString(this.encoding)}var a=e(\"util\"),s=e(\"stream\"),c=e(\"string_decoder\").StringDecoder;t.exports=r,t.exports.AlignedStringDecoder=i,a.inherits(r,s),r.prototype.write=function(e){if(!this.writable){var t=new Error(\"stream not writable\");return t.code=\"EPIPE\",this.emit(\"error\",t),!1}this.fromEncoding&&(n.isBuffer(e)&&(e=e.toString()),e=new n(e,this.fromEncoding));var r=this.decoder.write(e);return r.length&&this.emit(\"data\",r),!this.paused},r.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit(\"data\",e)}},r.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit(\"end\"),this.writable=this.readable=!1,this.destroy())},r.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit(\"close\")},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){this.paused&&this.emit(\"drain\"),this.paused=!1},a.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return\"\";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,stream:void 0,string_decoder:void 0,util:void 0}],458:[function(e,t,n){\"use strict\";function r(e){if(e){var t=e.split(E);if(t){for(var n=null,r=null,i=null,o=null,a=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var p;if(null===i&&(p=z.exec(u))){if(n=parseInt(p[1],10),r=parseInt(p[2],10),i=parseInt(p[3],10),n>23||r>59||i>59)return}else if(null===o&&(p=M.exec(u))){if(o=parseInt(p,10),1>o||o>31)return}else if(null===a&&(p=B.exec(u)))a=N[p[1].toLowerCase()];else if(null===s&&(p=R.exec(u),p&&(s=parseInt(p[0],10),s>=70&&99>=s?s+=1900:s>=0&&69>=s&&(s+=2e3),1601>s)))return}}if(null!==i&&null!==o&&null!==a&&null!==s)return new Date(Date.UTC(s,a,o,n,r,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:\"0\"+t;var n=e.getUTCHours();n=n>=10?n:\"0\"+n;var r=e.getUTCMinutes();r=r>=10?r:\"0\"+r;var i=e.getUTCSeconds();return i=i>=10?i:\"0\"+i,q[e.getUTCDay()]+\", \"+t+\" \"+D[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+n+\":\"+r+\":\"+i+\" GMT\"}function o(e){return null==e?null:(e=e.trim().replace(/^\\./,\"\"),g&&/[^\\u0001-\\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function a(e,t,n){if(null==e||null==t)return null;if(n!==!1&&(e=o(e),t=o(t)),e==t)return!0;if(y.isIP(e))return!1;var r=e.indexOf(t);return 0>=r?!1:e.length!==t.length+r?!1:\".\"===e.substr(r-1,1)}function s(e){if(!e||\"/\"!==e.substr(0,1))return\"/\";if(\"/\"===e)return e;var t=e.lastIndexOf(\"/\");return 0===t?\"/\":e.slice(0,t)}function c(e,t){t&&\"object\"==typeof t||(t={}),e=e.trim();var n=F.exec(e);n&&(e=e.slice(0,n.index));var i=e.indexOf(\";\"),o=t.loose?I:T,a=o.exec(-1===i?e:e.substr(0,i));if(a){var s=new h;if(a[1]?s.key=a[2].trim():s.key=\"\",s.value=a[3].trim(),!C.test(s.key)&&!C.test(s.value)){if(-1===i)return s;var c=e.slice(i).replace(/^\\s*;\\s*/,\"\").trim();if(0===c.length)return s;for(var u=c.split(/\\s*;\\s*/);u.length;){var p,l,f=u.shift(),d=f.indexOf(\"=\");switch(-1===d?(p=f,l=null):(p=f.substr(0,d),l=f.substr(d+1)),p=p.trim().toLowerCase(),l&&(l=l.trim()),p){case\"expires\":if(l){var m=r(l);m&&(s.expires=m)}break;case\"max-age\":if(l&&/^-?[0-9]+$/.test(l)){var v=parseInt(l,10);s.setMaxAge(v)}break;case\"domain\":if(l){var g=l.trim().replace(/^\\./,\"\");g&&(s.domain=g.toLowerCase())}break;case\"path\":s.path=l&&\"/\"===l[0]?l:null;break;case\"secure\":s.secure=!0;break;case\"httponly\":s.httpOnly=!0;break;default:s.extensions=s.extensions||[],s.extensions.push(f)}}return s}}}function u(e){var t;try{t=JSON.parse(e)}catch(n){return n}return t}function p(e){if(!e)return null;var t;if(\"string\"==typeof e){if(t=u(e),t instanceof Error)return null}else t=e;for(var n=new h,r=0;r<h.serializableProperties.length;r++){var i=h.serializableProperties[r];void 0!==t[i]&&t[i]!==h.prototype[i]&&(\"expires\"===i||\"creation\"===i||\"lastAccessed\"===i?null===t[i]?n[i]=null:n[i]=\"Infinity\"==t[i]?\"Infinity\":new Date(t[i]):n[i]=t[i])}return n}function l(e,t){var n=0,r=e.path?e.path.length:0,i=t.path?t.path.length:0;if(n=i-r,0!==n)return n;var o=e.creation?e.creation.getTime():L,a=t.creation?t.creation.getTime():L;return n=o-a,0!==n?n:n=e.creationIndex-t.creationIndex}function f(e){if(\"/\"===e)return[\"/\"];e.lastIndexOf(\"/\")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var n=e.lastIndexOf(\"/\");if(0===n)break;e=e.substr(0,n),t.push(e)}return t.push(\"/\"),t}function d(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(t){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&\"_\"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,\"creationIndex\",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function m(e,t){\"boolean\"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new _),this.store=e}function v(e){return function(){if(!this.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");var t,n,r=Array.prototype.slice.call(arguments);if(r.push(function(e,r){t=e,n=r}),this[e].apply(this,r),t)throw t;return n}}var g,y=e(\"net\"),b=e(\"url\").parse,x=e(\"./pubsuffix\"),w=e(\"./store\").Store,_=e(\"./memstore\").MemoryCookieStore,k=e(\"./pathMatch\").pathMatch,j=e(\"../package.json\").version;try{g=e(\"punycode\")}catch(S){console.warn(\"cookie: can't load punycode; won't use punycode for domain normalization\")}var E=/[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/,O=/[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]/,A=new RegExp(\"^\"+O.source+\"+$\"),C=/[\\x00-\\x1F]/,T=/^(([^=;]+))\\s*=\\s*([^\\n\\r\\0]*)/,I=/^((?:=)?([^=;]*)\\s*=\\s*)?([^\\n\\r\\0]*)/,P=/[\\x20-\\x3A\\x3C-\\x7E]+/,F=/;+$/,M=/^(\\d{1,2})[^\\d]*$/,z=/^(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*$/,B=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,N={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},D=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],q=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],R=/^(\\d{2}|\\d{4})$/,L=2147483647e3,$=0;h.cookiesCreated=0,h.parse=c,h.fromJSON=p,h.prototype.key=\"\",h.prototype.value=\"\",h.prototype.expires=\"Infinity\",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,\"creationIndex\",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||\"creationIndex\"===e||\"_\"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie=\"'+this.toString()+\"; hostOnly=\"+(null!=this.hostOnly?this.hostOnly:\"?\")+\"; aAge=\"+(this.lastAccessed?e-this.lastAccessed.getTime()+\"ms\":\"?\")+\"; cAge=\"+(this.creation?e-this.creation.getTime()+\"ms\":\"?\")+'\"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==h.prototype[r]&&(\"expires\"===r||\"creation\"===r||\"lastAccessed\"===r?null===this[r]?e[r]=null:e[r]=\"Infinity\"==this[r]?\"Infinity\":this[r].toISOString():\"maxAge\"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-(1/0)?this[r].toString():this[r]):this[r]!==h.prototype[r]&&(e[r]=this[r]))}return e},h.prototype.clone=function(){return p(this.toJSON())},h.prototype.validate=function(){if(!A.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||r(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!P.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\\.$/))return!1;var t=x.getPublicSuffix(e);if(null==t)return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=r(e)||\"Infinity\"},h.prototype.setMaxAge=function(e){e===1/0||e===-(1/0)?this.maxAge=e.toString():this.maxAge=e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=\"\"),\"\"===this.key?e:this.key+\"=\"+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(e+=this.expires instanceof Date?\"; Expires=\"+i(this.expires):\"; Expires=\"+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+=\"; Max-Age=\"+this.maxAge),this.domain&&!this.hostOnly&&(e+=\"; Domain=\"+this.domain),this.path&&(e+=\"; Path=\"+this.path),this.secure&&(e+=\"; Secure\"),this.httpOnly&&(e+=\"; HttpOnly\"),this.extensions&&this.extensions.forEach(function(t){e+=\"; \"+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=r(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-(1/0):1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(L):t==-(1/0)?new Date($):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:o(this.domain)},m.prototype.store=null,m.prototype.rejectPublicSuffixes=!0,m.prototype.enableLooseMode=!1;var U=[];U.push(\"setCookie\"),m.prototype.setCookie=function(e,t,n,r){function i(t,i){if(t)return r(t);var o=function(t){return t?r(t):void r(null,e)};if(i){if(n.http===!1&&i.httpOnly)return t=new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,v.updateCookie(i,e,o)}else e.creation=e.lastAccessed=f,v.putCookie(e,o)}var c,u=d(t);n instanceof Function&&(r=n,n={});var p=o(u.hostname),l=this.enableLooseMode;if(null!=n.loose&&(l=n.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return c=new Error(\"Cookie failed to parse\"),r(n.ignoreError?null:c);var f=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var m=x.getPublicSuffix(e.cdomain());if(null==m)return c=new Error(\"Cookie has domain set to a public suffix\"),r(n.ignoreError?null:c)}if(e.domain){if(!a(p,e.cdomain(),!1))return c=new Error(\"Cookie not in this host's domain. Cookie:\"+e.cdomain()+\" Request:\"+p),r(n.ignoreError?null:c);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=p;if(e.path&&\"/\"===e.path[0]||(e.path=s(u.pathname),e.pathIsDefault=!0),n.http===!1&&e.httpOnly)return c=new Error(\"Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:c);var v=this.store;v.updateCookie||(v.updateCookie=function(e,t,n){this.putCookie(t,n)}),v.findCookie(e.domain,e.path,e.key,i)},U.push(\"getCookies\"),m.prototype.getCookies=function(e,t,n){function r(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!a(s,e.domain,!1))return!1;return m||k(c,e.path)?e.secure&&!u?!1:e.httpOnly&&!p?!1:h&&e.expiryTime()<=f?(v.removeCookie(e.domain,e.path,e.key,function(){}),!1):!0:!1}var i=d(e);t instanceof Function&&(n=t,t={});var s=o(i.hostname),c=i.pathname||\"/\",u=t.secure;null!=u||!i.protocol||\"https:\"!=i.protocol&&\"wss:\"!=i.protocol||(u=!0);var p=t.http;null==p&&(p=!0);var f=t.now||Date.now(),h=t.expire!==!1,m=!!t.allPaths,v=this.store;v.findCookies(s,m?null:c,function(e,i){if(e)return n(e);i=i.filter(r),t.sort!==!1&&(i=i.sort(l));var o=new Date;i.forEach(function(e){e.lastAccessed=o}),n(null,i)})},U.push(\"getCookieString\"),m.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.sort(l).map(function(e){return e.cookieString()}).join(\"; \"))};e.push(n),this.getCookies.apply(this,e)},U.push(\"getSetCookieStrings\"),m.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.map(function(e){return e.toString()}))};e.push(n),this.getCookies.apply(this,e)},U.push(\"serialize\"),m.prototype.serialize=function(e){var t=this.store.constructor.name;\"Object\"===t&&(t=null);var n={version:\"tough-cookie@\"+j,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};return this.store.getAllCookies&&\"function\"==typeof this.store.getAllCookies?void this.store.getAllCookies(function(t,r){return t?e(t):(n.cookies=r.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,n))}):e(new Error(\"store does not support getAllCookies and cannot be serialized\"))},m.prototype.toJSON=function(){return this.serializeSync()},U.push(\"_importCookies\"),m.prototype._importCookies=function(e,t){function n(e){if(e)return t(e);if(!i.length)return t(e,r);var o;try{o=p(i.shift())}catch(a){return t(a)}return null===o?n(null):void r.store.putCookie(o,n)}var r=this,i=e.cookies;return i&&Array.isArray(i)?void n():t(new Error(\"serialized jar has no cookies array\"))},m.deserialize=function(e,t,n){3!==arguments.length&&(n=t,t=null);var r;if(\"string\"==typeof e){if(r=u(e),r instanceof Error)return n(r)}else r=e;var i=new m(t,r.rejectPublicSuffixes);i._importCookies(r,function(e){return e?n(e):void n(null,i)})},m.deserializeSync=function(e,t){var n=\"string\"==typeof e?JSON.parse(e):e,r=new m(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");return r._importCookiesSync(n),r},m.fromJSON=m.deserializeSync,U.push(\"clone\"),m.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(n,r){return n?t(n):void m.deserialize(e,r,t)})},U.forEach(function(e){m.prototype[e+\"Sync\"]=v(e)}),t.exports={CookieJar:m,Cookie:h,Store:w,MemoryCookieStore:_,parseDate:r,formatDate:i,parse:c,fromJSON:p,domainMatch:a,defaultPath:s,pathMatch:k,getPublicSuffix:x.getPublicSuffix,cookieCompare:l,permuteDomain:e(\"./permuteDomain\").permuteDomain,permutePath:f,canonicalDomain:o}},{\"../package.json\":464,\"./memstore\":459,\"./pathMatch\":460,\"./permuteDomain\":461,\"./pubsuffix\":462,\"./store\":463,net:void 0,punycode:void 0,url:void 0}],459:[function(e,t,n){\"use strict\";function r(){i.call(this),this.idx={}}var i=e(\"./store\").Store,o=e(\"./permuteDomain\").permuteDomain,a=e(\"./pathMatch\").pathMatch,s=e(\"util\");s.inherits(r,i),n.MemoryCookieStore=r,r.prototype.idx=null,r.prototype.synchronous=!0,r.prototype.inspect=function(){return\"{ idx: \"+s.inspect(this.idx,!1,2)+\" }\"},r.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},r.prototype.findCookies=function(e,t,n){var r=[];if(!e)return n(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(n){if(a(t,n)){var i=e[n];for(var o in i)r.push(i[o])}})}:function(e){for(var t in e){var n=e[t];for(var i in n)r.push(n[i])}};var s=o(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),n(null,r)},r.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},r.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},r.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},r.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},r.prototype.getAllCookies=function(e){var t=[],n=this.idx,r=Object.keys(n);r.forEach(function(e){var r=Object.keys(n[e]);r.forEach(function(r){var i=Object.keys(n[e][r]);i.forEach(function(i){null!==i&&t.push(n[e][r][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{\"./pathMatch\":460,\"./permuteDomain\":461,\"./store\":463,util:void 0}],460:[function(e,t,n){\"use strict\";function r(e,t){if(t===e)return!0;var n=e.indexOf(t);if(0===n){if(\"/\"===t.substr(-1))return!0;if(\"/\"===e.substr(t.length,1))return!0}return!1}n.pathMatch=r},{}],461:[function(e,t,n){\"use strict\";function r(e){var t=i.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)),r=n.split(\".\").reverse(),o=t,a=[o];r.length;)o=r.shift()+\".\"+o,a.push(o);return a}var i=e(\"./pubsuffix\");n.permuteDomain=r},{\"./pubsuffix\":462}],462:[function(e,t,n){\"use strict\";var r=e(\"punycode\");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\\./))return null;var t=r.toASCII(e),n=!1;if(t!==e&&(e=t,n=!0),i[e])return null;e=e.toLowerCase();for(var o=e.split(\".\").reverse(),a=\"\",s=0,c=0;c<o.length;c++){var u=o[c],p=\"*\"+a,l=u+a;i[p]?(s=c+1,i[l]===!1&&s--):i[l]&&(s=c+1),a=\".\"+l}if(i[\"*\"+a])return null;if(s=s||1,o.length>s){var f=o.slice(0,s+1).reverse().join(\".\");return n?r.toUnicode(f):f}return null};var i=t.exports.index=Object.freeze({ac:!0,\"com.ac\":!0,\"edu.ac\":!0,\"gov.ac\":!0,\"net.ac\":!0,\"mil.ac\":!0,\"org.ac\":!0,ad:!0,\"nom.ad\":!0,ae:!0,\"co.ae\":!0,\"net.ae\":!0,\"org.ae\":!0,\"sch.ae\":!0,\"ac.ae\":!0,\"gov.ae\":!0,\"mil.ae\":!0,aero:!0,\"accident-investigation.aero\":!0,\"accident-prevention.aero\":!0,\"aerobatic.aero\":!0,\"aeroclub.aero\":!0,\"aerodrome.aero\":!0,\"agents.aero\":!0,\"aircraft.aero\":!0,\"airline.aero\":!0,\"airport.aero\":!0,\"air-surveillance.aero\":!0,\"airtraffic.aero\":!0,\"air-traffic-control.aero\":!0,\"ambulance.aero\":!0,\"amusement.aero\":!0,\"association.aero\":!0,\"author.aero\":!0,\"ballooning.aero\":!0,\"broker.aero\":!0,\"caa.aero\":!0,\"cargo.aero\":!0,\"catering.aero\":!0,\"certification.aero\":!0,\"championship.aero\":!0,\"charter.aero\":!0,\"civilaviation.aero\":!0,\"club.aero\":!0,\"conference.aero\":!0,\"consultant.aero\":!0,\"consulting.aero\":!0,\"control.aero\":!0,\"council.aero\":!0,\"crew.aero\":!0,\"design.aero\":!0,\"dgca.aero\":!0,\"educator.aero\":!0,\"emergency.aero\":!0,\"engine.aero\":!0,\"engineer.aero\":!0,\"entertainment.aero\":!0,\"equipment.aero\":!0,\"exchange.aero\":!0,\"express.aero\":!0,\"federation.aero\":!0,\"flight.aero\":!0,\"freight.aero\":!0,\"fuel.aero\":!0,\"gliding.aero\":!0,\"government.aero\":!0,\"groundhandling.aero\":!0,\"group.aero\":!0,\"hanggliding.aero\":!0,\"homebuilt.aero\":!0,\"insurance.aero\":!0,\"journal.aero\":!0,\"journalist.aero\":!0,\"leasing.aero\":!0,\"logistics.aero\":!0,\"magazine.aero\":!0,\"maintenance.aero\":!0,\"marketplace.aero\":!0,\"media.aero\":!0,\"microlight.aero\":!0,\"modelling.aero\":!0,\"navigation.aero\":!0,\"parachuting.aero\":!0,\"paragliding.aero\":!0,\"passenger-association.aero\":!0,\"pilot.aero\":!0,\"press.aero\":!0,\"production.aero\":!0,\"recreation.aero\":!0,\"repbody.aero\":!0,\"res.aero\":!0,\"research.aero\":!0,\"rotorcraft.aero\":!0,\"safety.aero\":!0,\"scientist.aero\":!0,\"services.aero\":!0,\"show.aero\":!0,\"skydiving.aero\":!0,\"software.aero\":!0,\"student.aero\":!0,\"taxi.aero\":!0,\"trader.aero\":!0,\"trading.aero\":!0,\"trainer.aero\":!0,\"union.aero\":!0,\"workinggroup.aero\":!0,\"works.aero\":!0,af:!0,\"gov.af\":!0,\"com.af\":!0,\"org.af\":!0,\"net.af\":!0,\"edu.af\":!0,ag:!0,\"com.ag\":!0,\"org.ag\":!0,\"net.ag\":!0,\"co.ag\":!0,\"nom.ag\":!0,ai:!0,\"off.ai\":!0,\"com.ai\":!0,\"net.ai\":!0,\"org.ai\":!0,al:!0,\"com.al\":!0,\"edu.al\":!0,\"gov.al\":!0,\"mil.al\":!0,\"net.al\":!0,\"org.al\":!0,am:!0,an:!0,\"com.an\":!0,\"net.an\":!0,\"org.an\":!0,\"edu.an\":!0,ao:!0,\"ed.ao\":!0,\"gv.ao\":!0,\"og.ao\":!0,\"co.ao\":!0,\"pb.ao\":!0,\"it.ao\":!0,aq:!0,ar:!0,\"com.ar\":!0,\"edu.ar\":!0,\"gob.ar\":!0,\"gov.ar\":!0,\"int.ar\":!0,\"mil.ar\":!0,\"net.ar\":!0,\"org.ar\":!0,\"tur.ar\":!0,arpa:!0,\"e164.arpa\":!0,\"in-addr.arpa\":!0,\"ip6.arpa\":!0,\"iris.arpa\":!0,\"uri.arpa\":!0,\"urn.arpa\":!0,as:!0,\"gov.as\":!0,asia:!0,at:!0,\"ac.at\":!0,\"co.at\":!0,\"gv.at\":!0,\"or.at\":!0,au:!0,\"com.au\":!0,\"net.au\":!0,\"org.au\":!0,\"edu.au\":!0,\"gov.au\":!0,\"asn.au\":!0,\"id.au\":!0,\"info.au\":!0,\"conf.au\":!0,\"oz.au\":!0,\"act.au\":!0,\"nsw.au\":!0,\"nt.au\":!0,\"qld.au\":!0,\"sa.au\":!0,\"tas.au\":!0,\"vic.au\":!0,\"wa.au\":!0,\"act.edu.au\":!0,\"nsw.edu.au\":!0,\"nt.edu.au\":!0,\"qld.edu.au\":!0,\"sa.edu.au\":!0,\"tas.edu.au\":!0,\"vic.edu.au\":!0,\"wa.edu.au\":!0,\"qld.gov.au\":!0,\"sa.gov.au\":!0,\"tas.gov.au\":!0,\"vic.gov.au\":!0,\"wa.gov.au\":!0,aw:!0,\"com.aw\":!0,ax:!0,az:!0,\"com.az\":!0,\"net.az\":!0,\"int.az\":!0,\"gov.az\":!0,\"org.az\":!0,\"edu.az\":!0,\"info.az\":!0,\"pp.az\":!0,\"mil.az\":!0,\"name.az\":!0,\"pro.az\":!0,\"biz.az\":!0,ba:!0,\"org.ba\":!0,\"net.ba\":!0,\"edu.ba\":!0,\"gov.ba\":!0,\"mil.ba\":!0,\"unsa.ba\":!0,\"unbi.ba\":!0,\"co.ba\":!0,\"com.ba\":!0,\"rs.ba\":!0,bb:!0,\"biz.bb\":!0,\"co.bb\":!0,\"com.bb\":!0,\"edu.bb\":!0,\"gov.bb\":!0,\"info.bb\":!0,\"net.bb\":!0,\"org.bb\":!0,\"store.bb\":!0,\"tv.bb\":!0,\"*.bd\":!0,be:!0,\"ac.be\":!0,bf:!0,\"gov.bf\":!0,bg:!0,\"a.bg\":!0,\"b.bg\":!0,\"c.bg\":!0,\"d.bg\":!0,\"e.bg\":!0,\"f.bg\":!0,\"g.bg\":!0,\"h.bg\":!0,\"i.bg\":!0,\"j.bg\":!0,\"k.bg\":!0,\"l.bg\":!0,\"m.bg\":!0,\"n.bg\":!0,\"o.bg\":!0,\"p.bg\":!0,\"q.bg\":!0,\"r.bg\":!0,\"s.bg\":!0,\"t.bg\":!0,\"u.bg\":!0,\"v.bg\":!0,\"w.bg\":!0,\"x.bg\":!0,\"y.bg\":!0,\"z.bg\":!0,\"0.bg\":!0,\"1.bg\":!0,\"2.bg\":!0,\"3.bg\":!0,\"4.bg\":!0,\"5.bg\":!0,\"6.bg\":!0,\"7.bg\":!0,\"8.bg\":!0,\"9.bg\":!0,bh:!0,\"com.bh\":!0,\"edu.bh\":!0,\"net.bh\":!0,\"org.bh\":!0,\"gov.bh\":!0,bi:!0,\"co.bi\":!0,\"com.bi\":!0,\"edu.bi\":!0,\"or.bi\":!0,\"org.bi\":!0,biz:!0,bj:!0,\"asso.bj\":!0,\"barreau.bj\":!0,\"gouv.bj\":!0,bm:!0,\"com.bm\":!0,\"edu.bm\":!0,\"gov.bm\":!0,\"net.bm\":!0,\"org.bm\":!0,\"*.bn\":!0,bo:!0,\"com.bo\":!0,\"edu.bo\":!0,\"gov.bo\":!0,\"gob.bo\":!0,\"int.bo\":!0,\"org.bo\":!0,\"net.bo\":!0,\"mil.bo\":!0,\"tv.bo\":!0,br:!0,\"adm.br\":!0,\"adv.br\":!0,\"agr.br\":!0,\"am.br\":!0,\"arq.br\":!0,\"art.br\":!0,\"ato.br\":!0,\"b.br\":!0,\"bio.br\":!0,\"blog.br\":!0,\"bmd.br\":!0,\"cim.br\":!0,\"cng.br\":!0,\"cnt.br\":!0,\"com.br\":!0,\"coop.br\":!0,\"ecn.br\":!0,\"eco.br\":!0,\"edu.br\":!0,\"emp.br\":!0,\"eng.br\":!0,\"esp.br\":!0,\"etc.br\":!0,\"eti.br\":!0,\"far.br\":!0,\"flog.br\":!0,\"fm.br\":!0,\"fnd.br\":!0,\"fot.br\":!0,\"fst.br\":!0,\"g12.br\":!0,\"ggf.br\":!0,\"gov.br\":!0,\"imb.br\":!0,\"ind.br\":!0,\"inf.br\":!0,\"jor.br\":!0,\"jus.br\":!0,\"leg.br\":!0,\"lel.br\":!0,\"mat.br\":!0,\"med.br\":!0,\"mil.br\":!0,\"mp.br\":!0,\"mus.br\":!0,\"net.br\":!0,\"*.nom.br\":!0,\"not.br\":!0,\"ntr.br\":!0,\"odo.br\":!0,\"org.br\":!0,\"ppg.br\":!0,\"pro.br\":!0,\"psc.br\":!0,\"psi.br\":!0,\"qsl.br\":!0,\"radio.br\":!0,\"rec.br\":!0,\"slg.br\":!0,\"srv.br\":!0,\"taxi.br\":!0,\"teo.br\":!0,\"tmp.br\":!0,\"trd.br\":!0,\"tur.br\":!0,\"tv.br\":!0,\"vet.br\":!0,\"vlog.br\":!0,\"wiki.br\":!0,\"zlg.br\":!0,bs:!0,\"com.bs\":!0,\"net.bs\":!0,\"org.bs\":!0,\"edu.bs\":!0,\"gov.bs\":!0,bt:!0,\"com.bt\":!0,\"edu.bt\":!0,\"gov.bt\":!0,\"net.bt\":!0,\"org.bt\":!0,bv:!0,bw:!0,\"co.bw\":!0,\"org.bw\":!0,by:!0,\"gov.by\":!0,\"mil.by\":!0,\"com.by\":!0,\"of.by\":!0,bz:!0,\"com.bz\":!0,\"net.bz\":!0,\"org.bz\":!0,\"edu.bz\":!0,\"gov.bz\":!0,ca:!0,\"ab.ca\":!0,\"bc.ca\":!0,\"mb.ca\":!0,\"nb.ca\":!0,\"nf.ca\":!0,\"nl.ca\":!0,\"ns.ca\":!0,\"nt.ca\":!0,\"nu.ca\":!0,\"on.ca\":!0,\"pe.ca\":!0,\"qc.ca\":!0,\"sk.ca\":!0,\"yk.ca\":!0,\"gc.ca\":!0,cat:!0,cc:!0,cd:!0,\"gov.cd\":!0,cf:!0,cg:!0,ch:!0,ci:!0,\"org.ci\":!0,\"or.ci\":!0,\"com.ci\":!0,\"co.ci\":!0,\"edu.ci\":!0,\"ed.ci\":!0,\"ac.ci\":!0,\"net.ci\":!0,\"go.ci\":!0,\"asso.ci\":!0,\"xn--aroport-bya.ci\":!0,\"int.ci\":!0,\"presse.ci\":!0,\"md.ci\":!0,\"gouv.ci\":!0,\"*.ck\":!0,\"www.ck\":!1,cl:!0,\"gov.cl\":!0,\"gob.cl\":!0,\"co.cl\":!0,\"mil.cl\":!0,cm:!0,\"co.cm\":!0,\"com.cm\":!0,\"gov.cm\":!0,\"net.cm\":!0,cn:!0,\"ac.cn\":!0,\"com.cn\":!0,\"edu.cn\":!0,\"gov.cn\":!0,\"net.cn\":!0,\"org.cn\":!0,\"mil.cn\":!0,\"xn--55qx5d.cn\":!0,\"xn--io0a7i.cn\":!0,\"xn--od0alg.cn\":!0,\"ah.cn\":!0,\"bj.cn\":!0,\"cq.cn\":!0,\"fj.cn\":!0,\"gd.cn\":!0,\"gs.cn\":!0,\"gz.cn\":!0,\"gx.cn\":!0,\"ha.cn\":!0,\"hb.cn\":!0,\"he.cn\":!0,\"hi.cn\":!0,\"hl.cn\":!0,\"hn.cn\":!0,\"jl.cn\":!0,\"js.cn\":!0,\"jx.cn\":!0,\"ln.cn\":!0,\"nm.cn\":!0,\"nx.cn\":!0,\"qh.cn\":!0,\"sc.cn\":!0,\"sd.cn\":!0,\"sh.cn\":!0,\"sn.cn\":!0,\"sx.cn\":!0,\"tj.cn\":!0,\"xj.cn\":!0,\"xz.cn\":!0,\"yn.cn\":!0,\"zj.cn\":!0,\"hk.cn\":!0,\"mo.cn\":!0,\"tw.cn\":!0,co:!0,\"arts.co\":!0,\"com.co\":!0,\"edu.co\":!0,\"firm.co\":!0,\"gov.co\":!0,\"info.co\":!0,\"int.co\":!0,\"mil.co\":!0,\"net.co\":!0,\"nom.co\":!0,\"org.co\":!0,\"rec.co\":!0,\"web.co\":!0,com:!0,coop:!0,cr:!0,\"ac.cr\":!0,\"co.cr\":!0,\"ed.cr\":!0,\"fi.cr\":!0,\"go.cr\":!0,\"or.cr\":!0,\"sa.cr\":!0,cu:!0,\"com.cu\":!0,\"edu.cu\":!0,\"org.cu\":!0,\"net.cu\":!0,\"gov.cu\":!0,\"inf.cu\":!0,cv:!0,cw:!0,\"com.cw\":!0,\"edu.cw\":!0,\"net.cw\":!0,\"org.cw\":!0,cx:!0,\"gov.cx\":!0,\"ac.cy\":!0,\"biz.cy\":!0,\"com.cy\":!0,\"ekloges.cy\":!0,\"gov.cy\":!0,\n\"ltd.cy\":!0,\"name.cy\":!0,\"net.cy\":!0,\"org.cy\":!0,\"parliament.cy\":!0,\"press.cy\":!0,\"pro.cy\":!0,\"tm.cy\":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,\"com.dm\":!0,\"net.dm\":!0,\"org.dm\":!0,\"edu.dm\":!0,\"gov.dm\":!0,\"do\":!0,\"art.do\":!0,\"com.do\":!0,\"edu.do\":!0,\"gob.do\":!0,\"gov.do\":!0,\"mil.do\":!0,\"net.do\":!0,\"org.do\":!0,\"sld.do\":!0,\"web.do\":!0,dz:!0,\"com.dz\":!0,\"org.dz\":!0,\"net.dz\":!0,\"gov.dz\":!0,\"edu.dz\":!0,\"asso.dz\":!0,\"pol.dz\":!0,\"art.dz\":!0,ec:!0,\"com.ec\":!0,\"info.ec\":!0,\"net.ec\":!0,\"fin.ec\":!0,\"k12.ec\":!0,\"med.ec\":!0,\"pro.ec\":!0,\"org.ec\":!0,\"edu.ec\":!0,\"gov.ec\":!0,\"gob.ec\":!0,\"mil.ec\":!0,edu:!0,ee:!0,\"edu.ee\":!0,\"gov.ee\":!0,\"riik.ee\":!0,\"lib.ee\":!0,\"med.ee\":!0,\"com.ee\":!0,\"pri.ee\":!0,\"aip.ee\":!0,\"org.ee\":!0,\"fie.ee\":!0,eg:!0,\"com.eg\":!0,\"edu.eg\":!0,\"eun.eg\":!0,\"gov.eg\":!0,\"mil.eg\":!0,\"name.eg\":!0,\"net.eg\":!0,\"org.eg\":!0,\"sci.eg\":!0,\"*.er\":!0,es:!0,\"com.es\":!0,\"nom.es\":!0,\"org.es\":!0,\"gob.es\":!0,\"edu.es\":!0,et:!0,\"com.et\":!0,\"gov.et\":!0,\"org.et\":!0,\"edu.et\":!0,\"biz.et\":!0,\"name.et\":!0,\"info.et\":!0,\"net.et\":!0,eu:!0,fi:!0,\"aland.fi\":!0,\"*.fj\":!0,\"*.fk\":!0,fm:!0,fo:!0,fr:!0,\"com.fr\":!0,\"asso.fr\":!0,\"nom.fr\":!0,\"prd.fr\":!0,\"presse.fr\":!0,\"tm.fr\":!0,\"aeroport.fr\":!0,\"assedic.fr\":!0,\"avocat.fr\":!0,\"avoues.fr\":!0,\"cci.fr\":!0,\"chambagri.fr\":!0,\"chirurgiens-dentistes.fr\":!0,\"experts-comptables.fr\":!0,\"geometre-expert.fr\":!0,\"gouv.fr\":!0,\"greta.fr\":!0,\"huissier-justice.fr\":!0,\"medecin.fr\":!0,\"notaires.fr\":!0,\"pharmacien.fr\":!0,\"port.fr\":!0,\"veterinaire.fr\":!0,ga:!0,gb:!0,gd:!0,ge:!0,\"com.ge\":!0,\"edu.ge\":!0,\"gov.ge\":!0,\"org.ge\":!0,\"mil.ge\":!0,\"net.ge\":!0,\"pvt.ge\":!0,gf:!0,gg:!0,\"co.gg\":!0,\"net.gg\":!0,\"org.gg\":!0,gh:!0,\"com.gh\":!0,\"edu.gh\":!0,\"gov.gh\":!0,\"org.gh\":!0,\"mil.gh\":!0,gi:!0,\"com.gi\":!0,\"ltd.gi\":!0,\"gov.gi\":!0,\"mod.gi\":!0,\"edu.gi\":!0,\"org.gi\":!0,gl:!0,\"co.gl\":!0,\"com.gl\":!0,\"edu.gl\":!0,\"net.gl\":!0,\"org.gl\":!0,gm:!0,gn:!0,\"ac.gn\":!0,\"com.gn\":!0,\"edu.gn\":!0,\"gov.gn\":!0,\"org.gn\":!0,\"net.gn\":!0,gov:!0,gp:!0,\"com.gp\":!0,\"net.gp\":!0,\"mobi.gp\":!0,\"edu.gp\":!0,\"org.gp\":!0,\"asso.gp\":!0,gq:!0,gr:!0,\"com.gr\":!0,\"edu.gr\":!0,\"net.gr\":!0,\"org.gr\":!0,\"gov.gr\":!0,gs:!0,gt:!0,\"com.gt\":!0,\"edu.gt\":!0,\"gob.gt\":!0,\"ind.gt\":!0,\"mil.gt\":!0,\"net.gt\":!0,\"org.gt\":!0,\"*.gu\":!0,gw:!0,gy:!0,\"co.gy\":!0,\"com.gy\":!0,\"net.gy\":!0,hk:!0,\"com.hk\":!0,\"edu.hk\":!0,\"gov.hk\":!0,\"idv.hk\":!0,\"net.hk\":!0,\"org.hk\":!0,\"xn--55qx5d.hk\":!0,\"xn--wcvs22d.hk\":!0,\"xn--lcvr32d.hk\":!0,\"xn--mxtq1m.hk\":!0,\"xn--gmqw5a.hk\":!0,\"xn--ciqpn.hk\":!0,\"xn--gmq050i.hk\":!0,\"xn--zf0avx.hk\":!0,\"xn--io0a7i.hk\":!0,\"xn--mk0axi.hk\":!0,\"xn--od0alg.hk\":!0,\"xn--od0aq3b.hk\":!0,\"xn--tn0ag.hk\":!0,\"xn--uc0atv.hk\":!0,\"xn--uc0ay4a.hk\":!0,hm:!0,hn:!0,\"com.hn\":!0,\"edu.hn\":!0,\"org.hn\":!0,\"net.hn\":!0,\"mil.hn\":!0,\"gob.hn\":!0,hr:!0,\"iz.hr\":!0,\"from.hr\":!0,\"name.hr\":!0,\"com.hr\":!0,ht:!0,\"com.ht\":!0,\"shop.ht\":!0,\"firm.ht\":!0,\"info.ht\":!0,\"adult.ht\":!0,\"net.ht\":!0,\"pro.ht\":!0,\"org.ht\":!0,\"med.ht\":!0,\"art.ht\":!0,\"coop.ht\":!0,\"pol.ht\":!0,\"asso.ht\":!0,\"edu.ht\":!0,\"rel.ht\":!0,\"gouv.ht\":!0,\"perso.ht\":!0,hu:!0,\"co.hu\":!0,\"info.hu\":!0,\"org.hu\":!0,\"priv.hu\":!0,\"sport.hu\":!0,\"tm.hu\":!0,\"2000.hu\":!0,\"agrar.hu\":!0,\"bolt.hu\":!0,\"casino.hu\":!0,\"city.hu\":!0,\"erotica.hu\":!0,\"erotika.hu\":!0,\"film.hu\":!0,\"forum.hu\":!0,\"games.hu\":!0,\"hotel.hu\":!0,\"ingatlan.hu\":!0,\"jogasz.hu\":!0,\"konyvelo.hu\":!0,\"lakas.hu\":!0,\"media.hu\":!0,\"news.hu\":!0,\"reklam.hu\":!0,\"sex.hu\":!0,\"shop.hu\":!0,\"suli.hu\":!0,\"szex.hu\":!0,\"tozsde.hu\":!0,\"utazas.hu\":!0,\"video.hu\":!0,id:!0,\"ac.id\":!0,\"biz.id\":!0,\"co.id\":!0,\"desa.id\":!0,\"go.id\":!0,\"mil.id\":!0,\"my.id\":!0,\"net.id\":!0,\"or.id\":!0,\"sch.id\":!0,\"web.id\":!0,ie:!0,\"gov.ie\":!0,il:!0,\"ac.il\":!0,\"co.il\":!0,\"gov.il\":!0,\"idf.il\":!0,\"k12.il\":!0,\"muni.il\":!0,\"net.il\":!0,\"org.il\":!0,im:!0,\"ac.im\":!0,\"co.im\":!0,\"com.im\":!0,\"ltd.co.im\":!0,\"net.im\":!0,\"org.im\":!0,\"plc.co.im\":!0,\"tt.im\":!0,\"tv.im\":!0,\"in\":!0,\"co.in\":!0,\"firm.in\":!0,\"net.in\":!0,\"org.in\":!0,\"gen.in\":!0,\"ind.in\":!0,\"nic.in\":!0,\"ac.in\":!0,\"edu.in\":!0,\"res.in\":!0,\"gov.in\":!0,\"mil.in\":!0,info:!0,\"int\":!0,\"eu.int\":!0,io:!0,\"com.io\":!0,iq:!0,\"gov.iq\":!0,\"edu.iq\":!0,\"mil.iq\":!0,\"com.iq\":!0,\"org.iq\":!0,\"net.iq\":!0,ir:!0,\"ac.ir\":!0,\"co.ir\":!0,\"gov.ir\":!0,\"id.ir\":!0,\"net.ir\":!0,\"org.ir\":!0,\"sch.ir\":!0,\"xn--mgba3a4f16a.ir\":!0,\"xn--mgba3a4fra.ir\":!0,is:!0,\"net.is\":!0,\"com.is\":!0,\"edu.is\":!0,\"gov.is\":!0,\"org.is\":!0,\"int.is\":!0,it:!0,\"gov.it\":!0,\"edu.it\":!0,\"abr.it\":!0,\"abruzzo.it\":!0,\"aosta-valley.it\":!0,\"aostavalley.it\":!0,\"bas.it\":!0,\"basilicata.it\":!0,\"cal.it\":!0,\"calabria.it\":!0,\"cam.it\":!0,\"campania.it\":!0,\"emilia-romagna.it\":!0,\"emiliaromagna.it\":!0,\"emr.it\":!0,\"friuli-v-giulia.it\":!0,\"friuli-ve-giulia.it\":!0,\"friuli-vegiulia.it\":!0,\"friuli-venezia-giulia.it\":!0,\"friuli-veneziagiulia.it\":!0,\"friuli-vgiulia.it\":!0,\"friuliv-giulia.it\":!0,\"friulive-giulia.it\":!0,\"friulivegiulia.it\":!0,\"friulivenezia-giulia.it\":!0,\"friuliveneziagiulia.it\":!0,\"friulivgiulia.it\":!0,\"fvg.it\":!0,\"laz.it\":!0,\"lazio.it\":!0,\"lig.it\":!0,\"liguria.it\":!0,\"lom.it\":!0,\"lombardia.it\":!0,\"lombardy.it\":!0,\"lucania.it\":!0,\"mar.it\":!0,\"marche.it\":!0,\"mol.it\":!0,\"molise.it\":!0,\"piedmont.it\":!0,\"piemonte.it\":!0,\"pmn.it\":!0,\"pug.it\":!0,\"puglia.it\":!0,\"sar.it\":!0,\"sardegna.it\":!0,\"sardinia.it\":!0,\"sic.it\":!0,\"sicilia.it\":!0,\"sicily.it\":!0,\"taa.it\":!0,\"tos.it\":!0,\"toscana.it\":!0,\"trentino-a-adige.it\":!0,\"trentino-aadige.it\":!0,\"trentino-alto-adige.it\":!0,\"trentino-altoadige.it\":!0,\"trentino-s-tirol.it\":!0,\"trentino-stirol.it\":!0,\"trentino-sud-tirol.it\":!0,\"trentino-sudtirol.it\":!0,\"trentino-sued-tirol.it\":!0,\"trentino-suedtirol.it\":!0,\"trentinoa-adige.it\":!0,\"trentinoaadige.it\":!0,\"trentinoalto-adige.it\":!0,\"trentinoaltoadige.it\":!0,\"trentinos-tirol.it\":!0,\"trentinostirol.it\":!0,\"trentinosud-tirol.it\":!0,\"trentinosudtirol.it\":!0,\"trentinosued-tirol.it\":!0,\"trentinosuedtirol.it\":!0,\"tuscany.it\":!0,\"umb.it\":!0,\"umbria.it\":!0,\"val-d-aosta.it\":!0,\"val-daosta.it\":!0,\"vald-aosta.it\":!0,\"valdaosta.it\":!0,\"valle-aosta.it\":!0,\"valle-d-aosta.it\":!0,\"valle-daosta.it\":!0,\"valleaosta.it\":!0,\"valled-aosta.it\":!0,\"valledaosta.it\":!0,\"vallee-aoste.it\":!0,\"valleeaoste.it\":!0,\"vao.it\":!0,\"vda.it\":!0,\"ven.it\":!0,\"veneto.it\":!0,\"ag.it\":!0,\"agrigento.it\":!0,\"al.it\":!0,\"alessandria.it\":!0,\"alto-adige.it\":!0,\"altoadige.it\":!0,\"an.it\":!0,\"ancona.it\":!0,\"andria-barletta-trani.it\":!0,\"andria-trani-barletta.it\":!0,\"andriabarlettatrani.it\":!0,\"andriatranibarletta.it\":!0,\"ao.it\":!0,\"aosta.it\":!0,\"aoste.it\":!0,\"ap.it\":!0,\"aq.it\":!0,\"aquila.it\":!0,\"ar.it\":!0,\"arezzo.it\":!0,\"ascoli-piceno.it\":!0,\"ascolipiceno.it\":!0,\"asti.it\":!0,\"at.it\":!0,\"av.it\":!0,\"avellino.it\":!0,\"ba.it\":!0,\"balsan.it\":!0,\"bari.it\":!0,\"barletta-trani-andria.it\":!0,\"barlettatraniandria.it\":!0,\"belluno.it\":!0,\"benevento.it\":!0,\"bergamo.it\":!0,\"bg.it\":!0,\"bi.it\":!0,\"biella.it\":!0,\"bl.it\":!0,\"bn.it\":!0,\"bo.it\":!0,\"bologna.it\":!0,\"bolzano.it\":!0,\"bozen.it\":!0,\"br.it\":!0,\"brescia.it\":!0,\"brindisi.it\":!0,\"bs.it\":!0,\"bt.it\":!0,\"bz.it\":!0,\"ca.it\":!0,\"cagliari.it\":!0,\"caltanissetta.it\":!0,\"campidano-medio.it\":!0,\"campidanomedio.it\":!0,\"campobasso.it\":!0,\"carbonia-iglesias.it\":!0,\"carboniaiglesias.it\":!0,\"carrara-massa.it\":!0,\"carraramassa.it\":!0,\"caserta.it\":!0,\"catania.it\":!0,\"catanzaro.it\":!0,\"cb.it\":!0,\"ce.it\":!0,\"cesena-forli.it\":!0,\"cesenaforli.it\":!0,\"ch.it\":!0,\"chieti.it\":!0,\"ci.it\":!0,\"cl.it\":!0,\"cn.it\":!0,\"co.it\":!0,\"como.it\":!0,\"cosenza.it\":!0,\"cr.it\":!0,\"cremona.it\":!0,\"crotone.it\":!0,\"cs.it\":!0,\"ct.it\":!0,\"cuneo.it\":!0,\"cz.it\":!0,\"dell-ogliastra.it\":!0,\"dellogliastra.it\":!0,\"en.it\":!0,\"enna.it\":!0,\"fc.it\":!0,\"fe.it\":!0,\"fermo.it\":!0,\"ferrara.it\":!0,\"fg.it\":!0,\"fi.it\":!0,\"firenze.it\":!0,\"florence.it\":!0,\"fm.it\":!0,\"foggia.it\":!0,\"forli-cesena.it\":!0,\"forlicesena.it\":!0,\"fr.it\":!0,\"frosinone.it\":!0,\"ge.it\":!0,\"genoa.it\":!0,\"genova.it\":!0,\"go.it\":!0,\"gorizia.it\":!0,\"gr.it\":!0,\"grosseto.it\":!0,\"iglesias-carbonia.it\":!0,\"iglesiascarbonia.it\":!0,\"im.it\":!0,\"imperia.it\":!0,\"is.it\":!0,\"isernia.it\":!0,\"kr.it\":!0,\"la-spezia.it\":!0,\"laquila.it\":!0,\"laspezia.it\":!0,\"latina.it\":!0,\"lc.it\":!0,\"le.it\":!0,\"lecce.it\":!0,\"lecco.it\":!0,\"li.it\":!0,\"livorno.it\":!0,\"lo.it\":!0,\"lodi.it\":!0,\"lt.it\":!0,\"lu.it\":!0,\"lucca.it\":!0,\"macerata.it\":!0,\"mantova.it\":!0,\"massa-carrara.it\":!0,\"massacarrara.it\":!0,\"matera.it\":!0,\"mb.it\":!0,\"mc.it\":!0,\"me.it\":!0,\"medio-campidano.it\":!0,\"mediocampidano.it\":!0,\"messina.it\":!0,\"mi.it\":!0,\"milan.it\":!0,\"milano.it\":!0,\"mn.it\":!0,\"mo.it\":!0,\"modena.it\":!0,\"monza-brianza.it\":!0,\"monza-e-della-brianza.it\":!0,\"monza.it\":!0,\"monzabrianza.it\":!0,\"monzaebrianza.it\":!0,\"monzaedellabrianza.it\":!0,\"ms.it\":!0,\"mt.it\":!0,\"na.it\":!0,\"naples.it\":!0,\"napoli.it\":!0,\"no.it\":!0,\"novara.it\":!0,\"nu.it\":!0,\"nuoro.it\":!0,\"og.it\":!0,\"ogliastra.it\":!0,\"olbia-tempio.it\":!0,\"olbiatempio.it\":!0,\"or.it\":!0,\"oristano.it\":!0,\"ot.it\":!0,\"pa.it\":!0,\"padova.it\":!0,\"padua.it\":!0,\"palermo.it\":!0,\"parma.it\":!0,\"pavia.it\":!0,\"pc.it\":!0,\"pd.it\":!0,\"pe.it\":!0,\"perugia.it\":!0,\"pesaro-urbino.it\":!0,\"pesarourbino.it\":!0,\"pescara.it\":!0,\"pg.it\":!0,\"pi.it\":!0,\"piacenza.it\":!0,\"pisa.it\":!0,\"pistoia.it\":!0,\"pn.it\":!0,\"po.it\":!0,\"pordenone.it\":!0,\"potenza.it\":!0,\"pr.it\":!0,\"prato.it\":!0,\"pt.it\":!0,\"pu.it\":!0,\"pv.it\":!0,\"pz.it\":!0,\"ra.it\":!0,\"ragusa.it\":!0,\"ravenna.it\":!0,\"rc.it\":!0,\"re.it\":!0,\"reggio-calabria.it\":!0,\"reggio-emilia.it\":!0,\"reggiocalabria.it\":!0,\"reggioemilia.it\":!0,\"rg.it\":!0,\"ri.it\":!0,\"rieti.it\":!0,\"rimini.it\":!0,\"rm.it\":!0,\"rn.it\":!0,\"ro.it\":!0,\"roma.it\":!0,\"rome.it\":!0,\"rovigo.it\":!0,\"sa.it\":!0,\"salerno.it\":!0,\"sassari.it\":!0,\"savona.it\":!0,\"si.it\":!0,\"siena.it\":!0,\"siracusa.it\":!0,\"so.it\":!0,\"sondrio.it\":!0,\"sp.it\":!0,\"sr.it\":!0,\"ss.it\":!0,\"suedtirol.it\":!0,\"sv.it\":!0,\"ta.it\":!0,\"taranto.it\":!0,\"te.it\":!0,\"tempio-olbia.it\":!0,\"tempioolbia.it\":!0,\"teramo.it\":!0,\"terni.it\":!0,\"tn.it\":!0,\"to.it\":!0,\"torino.it\":!0,\"tp.it\":!0,\"tr.it\":!0,\"trani-andria-barletta.it\":!0,\"trani-barletta-andria.it\":!0,\"traniandriabarletta.it\":!0,\"tranibarlettaandria.it\":!0,\"trapani.it\":!0,\"trentino.it\":!0,\"trento.it\":!0,\"treviso.it\":!0,\"trieste.it\":!0,\"ts.it\":!0,\"turin.it\":!0,\"tv.it\":!0,\"ud.it\":!0,\"udine.it\":!0,\"urbino-pesaro.it\":!0,\"urbinopesaro.it\":!0,\"va.it\":!0,\"varese.it\":!0,\"vb.it\":!0,\"vc.it\":!0,\"ve.it\":!0,\"venezia.it\":!0,\"venice.it\":!0,\"verbania.it\":!0,\"vercelli.it\":!0,\"verona.it\":!0,\"vi.it\":!0,\"vibo-valentia.it\":!0,\"vibovalentia.it\":!0,\"vicenza.it\":!0,\"viterbo.it\":!0,\"vr.it\":!0,\"vs.it\":!0,\"vt.it\":!0,\"vv.it\":!0,je:!0,\"co.je\":!0,\"net.je\":!0,\"org.je\":!0,\"*.jm\":!0,jo:!0,\"com.jo\":!0,\"org.jo\":!0,\"net.jo\":!0,\"edu.jo\":!0,\"sch.jo\":!0,\"gov.jo\":!0,\"mil.jo\":!0,\"name.jo\":!0,jobs:!0,jp:!0,\"ac.jp\":!0,\"ad.jp\":!0,\"co.jp\":!0,\"ed.jp\":!0,\"go.jp\":!0,\"gr.jp\":!0,\"lg.jp\":!0,\"ne.jp\":!0,\"or.jp\":!0,\"aichi.jp\":!0,\"akita.jp\":!0,\"aomori.jp\":!0,\"chiba.jp\":!0,\"ehime.jp\":!0,\"fukui.jp\":!0,\"fukuoka.jp\":!0,\"fukushima.jp\":!0,\"gifu.jp\":!0,\"gunma.jp\":!0,\"hiroshima.jp\":!0,\"hokkaido.jp\":!0,\"hyogo.jp\":!0,\"ibaraki.jp\":!0,\"ishikawa.jp\":!0,\"iwate.jp\":!0,\"kagawa.jp\":!0,\"kagoshima.jp\":!0,\"kanagawa.jp\":!0,\"kochi.jp\":!0,\"kumamoto.jp\":!0,\"kyoto.jp\":!0,\"mie.jp\":!0,\"miyagi.jp\":!0,\"miyazaki.jp\":!0,\"nagano.jp\":!0,\"nagasaki.jp\":!0,\"nara.jp\":!0,\"niigata.jp\":!0,\"oita.jp\":!0,\"okayama.jp\":!0,\"okinawa.jp\":!0,\"osaka.jp\":!0,\"saga.jp\":!0,\"saitama.jp\":!0,\"shiga.jp\":!0,\"shimane.jp\":!0,\"shizuoka.jp\":!0,\"tochigi.jp\":!0,\"tokushima.jp\":!0,\"tokyo.jp\":!0,\"tottori.jp\":!0,\"toyama.jp\":!0,\"wakayama.jp\":!0,\"yamagata.jp\":!0,\"yamaguchi.jp\":!0,\"yamanashi.jp\":!0,\"xn--4pvxs.jp\":!0,\"xn--vgu402c.jp\":!0,\"xn--c3s14m.jp\":!0,\"xn--f6qx53a.jp\":!0,\"xn--8pvr4u.jp\":!0,\"xn--uist22h.jp\":!0,\"xn--djrs72d6uy.jp\":!0,\"xn--mkru45i.jp\":!0,\"xn--0trq7p7nn.jp\":!0,\"xn--8ltr62k.jp\":!0,\"xn--2m4a15e.jp\":!0,\"xn--efvn9s.jp\":!0,\"xn--32vp30h.jp\":!0,\"xn--4it797k.jp\":!0,\"xn--1lqs71d.jp\":!0,\"xn--5rtp49c.jp\":!0,\"xn--5js045d.jp\":!0,\"xn--ehqz56n.jp\":!0,\"xn--1lqs03n.jp\":!0,\"xn--qqqt11m.jp\":!0,\"xn--kbrq7o.jp\":!0,\"xn--pssu33l.jp\":!0,\"xn--ntsq17g.jp\":!0,\"xn--uisz3g.jp\":!0,\"xn--6btw5a.jp\":!0,\"xn--1ctwo.jp\":!0,\"xn--6orx2r.jp\":!0,\"xn--rht61e.jp\":!0,\"xn--rht27z.jp\":!0,\"xn--djty4k.jp\":!0,\"xn--nit225k.jp\":!0,\"xn--rht3d.jp\":!0,\"xn--klty5x.jp\":!0,\"xn--kltx9a.jp\":!0,\"xn--kltp7d.jp\":!0,\"xn--uuwu58a.jp\":!0,\"xn--zbx025d.jp\":!0,\"xn--ntso0iqx3a.jp\":!0,\"xn--elqq16h.jp\":!0,\"xn--4it168d.jp\":!0,\"xn--klt787d.jp\":!0,\"xn--rny31h.jp\":!0,\"xn--7t0a264c.jp\":!0,\"xn--5rtq34k.jp\":!0,\"xn--k7yn95e.jp\":!0,\"xn--tor131o.jp\":!0,\"xn--d5qv7z876c.jp\":!0,\"*.kawasaki.jp\":!0,\"*.kitakyushu.jp\":!0,\"*.kobe.jp\":!0,\"*.nagoya.jp\":!0,\"*.sapporo.jp\":!0,\"*.sendai.jp\":!0,\"*.yokohama.jp\":!0,\"city.kawasaki.jp\":!1,\"city.kitakyushu.jp\":!1,\"city.kobe.jp\":!1,\"city.nagoya.jp\":!1,\"city.sapporo.jp\":!1,\"city.sendai.jp\":!1,\"city.yokohama.jp\":!1,\"aisai.aichi.jp\":!0,\"ama.aichi.jp\":!0,\"anjo.aichi.jp\":!0,\"asuke.aichi.jp\":!0,\"chiryu.aichi.jp\":!0,\"chita.aichi.jp\":!0,\"fuso.aichi.jp\":!0,\"gamagori.aichi.jp\":!0,\"handa.aichi.jp\":!0,\"hazu.aichi.jp\":!0,\"hekinan.aichi.jp\":!0,\"higashiura.aichi.jp\":!0,\"ichinomiya.aichi.jp\":!0,\"inazawa.aichi.jp\":!0,\"inuyama.aichi.jp\":!0,\"isshiki.aichi.jp\":!0,\"iwakura.aichi.jp\":!0,\"kanie.aichi.jp\":!0,\"kariya.aichi.jp\":!0,\"kasugai.aichi.jp\":!0,\"kira.aichi.jp\":!0,\"kiyosu.aichi.jp\":!0,\"komaki.aichi.jp\":!0,\"konan.aichi.jp\":!0,\"kota.aichi.jp\":!0,\"mihama.aichi.jp\":!0,\"miyoshi.aichi.jp\":!0,\"nishio.aichi.jp\":!0,\"nisshin.aichi.jp\":!0,\"obu.aichi.jp\":!0,\"oguchi.aichi.jp\":!0,\"oharu.aichi.jp\":!0,\"okazaki.aichi.jp\":!0,\"owariasahi.aichi.jp\":!0,\"seto.aichi.jp\":!0,\"shikatsu.aichi.jp\":!0,\"shinshiro.aichi.jp\":!0,\"shitara.aichi.jp\":!0,\"tahara.aichi.jp\":!0,\"takahama.aichi.jp\":!0,\"tobishima.aichi.jp\":!0,\"toei.aichi.jp\":!0,\"togo.aichi.jp\":!0,\"tokai.aichi.jp\":!0,\"tokoname.aichi.jp\":!0,\"toyoake.aichi.jp\":!0,\"toyohashi.aichi.jp\":!0,\"toyokawa.aichi.jp\":!0,\"toyone.aichi.jp\":!0,\"toyota.aichi.jp\":!0,\"tsushima.aichi.jp\":!0,\"yatomi.aichi.jp\":!0,\"akita.akita.jp\":!0,\"daisen.akita.jp\":!0,\"fujisato.akita.jp\":!0,\"gojome.akita.jp\":!0,\"hachirogata.akita.jp\":!0,\"happou.akita.jp\":!0,\"higashinaruse.akita.jp\":!0,\"honjo.akita.jp\":!0,\"honjyo.akita.jp\":!0,\"ikawa.akita.jp\":!0,\"kamikoani.akita.jp\":!0,\"kamioka.akita.jp\":!0,\"katagami.akita.jp\":!0,\"kazuno.akita.jp\":!0,\"kitaakita.akita.jp\":!0,\"kosaka.akita.jp\":!0,\"kyowa.akita.jp\":!0,\"misato.akita.jp\":!0,\"mitane.akita.jp\":!0,\"moriyoshi.akita.jp\":!0,\"nikaho.akita.jp\":!0,\"noshiro.akita.jp\":!0,\"odate.akita.jp\":!0,\"oga.akita.jp\":!0,\"ogata.akita.jp\":!0,\"semboku.akita.jp\":!0,\"yokote.akita.jp\":!0,\"yurihonjo.akita.jp\":!0,\"aomori.aomori.jp\":!0,\"gonohe.aomori.jp\":!0,\"hachinohe.aomori.jp\":!0,\"hashikami.aomori.jp\":!0,\"hiranai.aomori.jp\":!0,\"hirosaki.aomori.jp\":!0,\"itayanagi.aomori.jp\":!0,\"kuroishi.aomori.jp\":!0,\"misawa.aomori.jp\":!0,\"mutsu.aomori.jp\":!0,\"nakadomari.aomori.jp\":!0,\"noheji.aomori.jp\":!0,\"oirase.aomori.jp\":!0,\"owani.aomori.jp\":!0,\"rokunohe.aomori.jp\":!0,\"sannohe.aomori.jp\":!0,\"shichinohe.aomori.jp\":!0,\"shingo.aomori.jp\":!0,\"takko.aomori.jp\":!0,\"towada.aomori.jp\":!0,\"tsugaru.aomori.jp\":!0,\"tsuruta.aomori.jp\":!0,\"abiko.chiba.jp\":!0,\"asahi.chiba.jp\":!0,\"chonan.chiba.jp\":!0,\"chosei.chiba.jp\":!0,\"choshi.chiba.jp\":!0,\"chuo.chiba.jp\":!0,\"funabashi.chiba.jp\":!0,\"futtsu.chiba.jp\":!0,\"hanamigawa.chiba.jp\":!0,\"ichihara.chiba.jp\":!0,\"ichikawa.chiba.jp\":!0,\"ichinomiya.chiba.jp\":!0,\"inzai.chiba.jp\":!0,\"isumi.chiba.jp\":!0,\"kamagaya.chiba.jp\":!0,\"kamogawa.chiba.jp\":!0,\"kashiwa.chiba.jp\":!0,\"katori.chiba.jp\":!0,\"katsuura.chiba.jp\":!0,\"kimitsu.chiba.jp\":!0,\"kisarazu.chiba.jp\":!0,\"kozaki.chiba.jp\":!0,\"kujukuri.chiba.jp\":!0,\"kyonan.chiba.jp\":!0,\"matsudo.chiba.jp\":!0,\"midori.chiba.jp\":!0,\"mihama.chiba.jp\":!0,\"minamiboso.chiba.jp\":!0,\"mobara.chiba.jp\":!0,\"mutsuzawa.chiba.jp\":!0,\"nagara.chiba.jp\":!0,\"nagareyama.chiba.jp\":!0,\"narashino.chiba.jp\":!0,\"narita.chiba.jp\":!0,\"noda.chiba.jp\":!0,\"oamishirasato.chiba.jp\":!0,\"omigawa.chiba.jp\":!0,\"onjuku.chiba.jp\":!0,\"otaki.chiba.jp\":!0,\"sakae.chiba.jp\":!0,\"sakura.chiba.jp\":!0,\"shimofusa.chiba.jp\":!0,\"shirako.chiba.jp\":!0,\"shiroi.chiba.jp\":!0,\"shisui.chiba.jp\":!0,\"sodegaura.chiba.jp\":!0,\"sosa.chiba.jp\":!0,\"tako.chiba.jp\":!0,\"tateyama.chiba.jp\":!0,\"togane.chiba.jp\":!0,\"tohnosho.chiba.jp\":!0,\"tomisato.chiba.jp\":!0,\"urayasu.chiba.jp\":!0,\"yachimata.chiba.jp\":!0,\"yachiyo.chiba.jp\":!0,\"yokaichiba.chiba.jp\":!0,\"yokoshibahikari.chiba.jp\":!0,\"yotsukaido.chiba.jp\":!0,\"ainan.ehime.jp\":!0,\"honai.ehime.jp\":!0,\"ikata.ehime.jp\":!0,\"imabari.ehime.jp\":!0,\"iyo.ehime.jp\":!0,\"kamijima.ehime.jp\":!0,\"kihoku.ehime.jp\":!0,\"kumakogen.ehime.jp\":!0,\"masaki.ehime.jp\":!0,\"matsuno.ehime.jp\":!0,\"matsuyama.ehime.jp\":!0,\"namikata.ehime.jp\":!0,\"niihama.ehime.jp\":!0,\"ozu.ehime.jp\":!0,\"saijo.ehime.jp\":!0,\"seiyo.ehime.jp\":!0,\"shikokuchuo.ehime.jp\":!0,\"tobe.ehime.jp\":!0,\"toon.ehime.jp\":!0,\"uchiko.ehime.jp\":!0,\"uwajima.ehime.jp\":!0,\"yawatahama.ehime.jp\":!0,\"echizen.fukui.jp\":!0,\"eiheiji.fukui.jp\":!0,\"fukui.fukui.jp\":!0,\"ikeda.fukui.jp\":!0,\"katsuyama.fukui.jp\":!0,\"mihama.fukui.jp\":!0,\"minamiechizen.fukui.jp\":!0,\"obama.fukui.jp\":!0,\"ohi.fukui.jp\":!0,\"ono.fukui.jp\":!0,\"sabae.fukui.jp\":!0,\"sakai.fukui.jp\":!0,\"takahama.fukui.jp\":!0,\"tsuruga.fukui.jp\":!0,\"wakasa.fukui.jp\":!0,\"ashiya.fukuoka.jp\":!0,\"buzen.fukuoka.jp\":!0,\"chikugo.fukuoka.jp\":!0,\"chikuho.fukuoka.jp\":!0,\"chikujo.fukuoka.jp\":!0,\"chikushino.fukuoka.jp\":!0,\"chikuzen.fukuoka.jp\":!0,\"chuo.fukuoka.jp\":!0,\"dazaifu.fukuoka.jp\":!0,\"fukuchi.fukuoka.jp\":!0,\"hakata.fukuoka.jp\":!0,\"higashi.fukuoka.jp\":!0,\"hirokawa.fukuoka.jp\":!0,\"hisayama.fukuoka.jp\":!0,\"iizuka.fukuoka.jp\":!0,\"inatsuki.fukuoka.jp\":!0,\"kaho.fukuoka.jp\":!0,\"kasuga.fukuoka.jp\":!0,\"kasuya.fukuoka.jp\":!0,\"kawara.fukuoka.jp\":!0,\"keisen.fukuoka.jp\":!0,\"koga.fukuoka.jp\":!0,\"kurate.fukuoka.jp\":!0,\"kurogi.fukuoka.jp\":!0,\"kurume.fukuoka.jp\":!0,\"minami.fukuoka.jp\":!0,\"miyako.fukuoka.jp\":!0,\"miyama.fukuoka.jp\":!0,\"miyawaka.fukuoka.jp\":!0,\"mizumaki.fukuoka.jp\":!0,\"munakata.fukuoka.jp\":!0,\"nakagawa.fukuoka.jp\":!0,\"nakama.fukuoka.jp\":!0,\"nishi.fukuoka.jp\":!0,\"nogata.fukuoka.jp\":!0,\"ogori.fukuoka.jp\":!0,\"okagaki.fukuoka.jp\":!0,\"okawa.fukuoka.jp\":!0,\"oki.fukuoka.jp\":!0,\"omuta.fukuoka.jp\":!0,\"onga.fukuoka.jp\":!0,\"onojo.fukuoka.jp\":!0,\"oto.fukuoka.jp\":!0,\"saigawa.fukuoka.jp\":!0,\"sasaguri.fukuoka.jp\":!0,\"shingu.fukuoka.jp\":!0,\"shinyoshitomi.fukuoka.jp\":!0,\"shonai.fukuoka.jp\":!0,\"soeda.fukuoka.jp\":!0,\"sue.fukuoka.jp\":!0,\"tachiarai.fukuoka.jp\":!0,\"tagawa.fukuoka.jp\":!0,\"takata.fukuoka.jp\":!0,\"toho.fukuoka.jp\":!0,\"toyotsu.fukuoka.jp\":!0,\"tsuiki.fukuoka.jp\":!0,\"ukiha.fukuoka.jp\":!0,\"umi.fukuoka.jp\":!0,\"usui.fukuoka.jp\":!0,\"yamada.fukuoka.jp\":!0,\"yame.fukuoka.jp\":!0,\"yanagawa.fukuoka.jp\":!0,\"yukuhashi.fukuoka.jp\":!0,\"aizubange.fukushima.jp\":!0,\"aizumisato.fukushima.jp\":!0,\"aizuwakamatsu.fukushima.jp\":!0,\"asakawa.fukushima.jp\":!0,\"bandai.fukushima.jp\":!0,\"date.fukushima.jp\":!0,\"fukushima.fukushima.jp\":!0,\"furudono.fukushima.jp\":!0,\"futaba.fukushima.jp\":!0,\"hanawa.fukushima.jp\":!0,\"higashi.fukushima.jp\":!0,\"hirata.fukushima.jp\":!0,\"hirono.fukushima.jp\":!0,\"iitate.fukushima.jp\":!0,\"inawashiro.fukushima.jp\":!0,\"ishikawa.fukushima.jp\":!0,\"iwaki.fukushima.jp\":!0,\"izumizaki.fukushima.jp\":!0,\"kagamiishi.fukushima.jp\":!0,\"kaneyama.fukushima.jp\":!0,\"kawamata.fukushima.jp\":!0,\"kitakata.fukushima.jp\":!0,\"kitashiobara.fukushima.jp\":!0,\"koori.fukushima.jp\":!0,\"koriyama.fukushima.jp\":!0,\"kunimi.fukushima.jp\":!0,\"miharu.fukushima.jp\":!0,\"mishima.fukushima.jp\":!0,\"namie.fukushima.jp\":!0,\"nango.fukushima.jp\":!0,\"nishiaizu.fukushima.jp\":!0,\"nishigo.fukushima.jp\":!0,\"okuma.fukushima.jp\":!0,\"omotego.fukushima.jp\":!0,\"ono.fukushima.jp\":!0,\"otama.fukushima.jp\":!0,\"samegawa.fukushima.jp\":!0,\"shimogo.fukushima.jp\":!0,\"shirakawa.fukushima.jp\":!0,\"showa.fukushima.jp\":!0,\"soma.fukushima.jp\":!0,\"sukagawa.fukushima.jp\":!0,\"taishin.fukushima.jp\":!0,\"tamakawa.fukushima.jp\":!0,\"tanagura.fukushima.jp\":!0,\"tenei.fukushima.jp\":!0,\"yabuki.fukushima.jp\":!0,\"yamato.fukushima.jp\":!0,\"yamatsuri.fukushima.jp\":!0,\"yanaizu.fukushima.jp\":!0,\"yugawa.fukushima.jp\":!0,\"anpachi.gifu.jp\":!0,\"ena.gifu.jp\":!0,\"gifu.gifu.jp\":!0,\"ginan.gifu.jp\":!0,\"godo.gifu.jp\":!0,\"gujo.gifu.jp\":!0,\"hashima.gifu.jp\":!0,\"hichiso.gifu.jp\":!0,\"hida.gifu.jp\":!0,\"higashishirakawa.gifu.jp\":!0,\"ibigawa.gifu.jp\":!0,\"ikeda.gifu.jp\":!0,\"kakamigahara.gifu.jp\":!0,\"kani.gifu.jp\":!0,\"kasahara.gifu.jp\":!0,\"kasamatsu.gifu.jp\":!0,\"kawaue.gifu.jp\":!0,\"kitagata.gifu.jp\":!0,\"mino.gifu.jp\":!0,\"minokamo.gifu.jp\":!0,\"mitake.gifu.jp\":!0,\"mizunami.gifu.jp\":!0,\"motosu.gifu.jp\":!0,\"nakatsugawa.gifu.jp\":!0,\"ogaki.gifu.jp\":!0,\"sakahogi.gifu.jp\":!0,\"seki.gifu.jp\":!0,\"sekigahara.gifu.jp\":!0,\"shirakawa.gifu.jp\":!0,\"tajimi.gifu.jp\":!0,\"takayama.gifu.jp\":!0,\"tarui.gifu.jp\":!0,\"toki.gifu.jp\":!0,\"tomika.gifu.jp\":!0,\"wanouchi.gifu.jp\":!0,\"yamagata.gifu.jp\":!0,\"yaotsu.gifu.jp\":!0,\"yoro.gifu.jp\":!0,\"annaka.gunma.jp\":!0,\"chiyoda.gunma.jp\":!0,\"fujioka.gunma.jp\":!0,\"higashiagatsuma.gunma.jp\":!0,\"isesaki.gunma.jp\":!0,\"itakura.gunma.jp\":!0,\"kanna.gunma.jp\":!0,\"kanra.gunma.jp\":!0,\"katashina.gunma.jp\":!0,\"kawaba.gunma.jp\":!0,\"kiryu.gunma.jp\":!0,\"kusatsu.gunma.jp\":!0,\"maebashi.gunma.jp\":!0,\"meiwa.gunma.jp\":!0,\"midori.gunma.jp\":!0,\"minakami.gunma.jp\":!0,\"naganohara.gunma.jp\":!0,\"nakanojo.gunma.jp\":!0,\"nanmoku.gunma.jp\":!0,\"numata.gunma.jp\":!0,\"oizumi.gunma.jp\":!0,\"ora.gunma.jp\":!0,\"ota.gunma.jp\":!0,\"shibukawa.gunma.jp\":!0,\"shimonita.gunma.jp\":!0,\"shinto.gunma.jp\":!0,\"showa.gunma.jp\":!0,\"takasaki.gunma.jp\":!0,\"takayama.gunma.jp\":!0,\"tamamura.gunma.jp\":!0,\"tatebayashi.gunma.jp\":!0,\"tomioka.gunma.jp\":!0,\"tsukiyono.gunma.jp\":!0,\"tsumagoi.gunma.jp\":!0,\"ueno.gunma.jp\":!0,\"yoshioka.gunma.jp\":!0,\"asaminami.hiroshima.jp\":!0,\"daiwa.hiroshima.jp\":!0,\"etajima.hiroshima.jp\":!0,\"fuchu.hiroshima.jp\":!0,\"fukuyama.hiroshima.jp\":!0,\"hatsukaichi.hiroshima.jp\":!0,\"higashihiroshima.hiroshima.jp\":!0,\"hongo.hiroshima.jp\":!0,\"jinsekikogen.hiroshima.jp\":!0,\"kaita.hiroshima.jp\":!0,\"kui.hiroshima.jp\":!0,\"kumano.hiroshima.jp\":!0,\"kure.hiroshima.jp\":!0,\"mihara.hiroshima.jp\":!0,\"miyoshi.hiroshima.jp\":!0,\"naka.hiroshima.jp\":!0,\"onomichi.hiroshima.jp\":!0,\"osakikamijima.hiroshima.jp\":!0,\"otake.hiroshima.jp\":!0,\"saka.hiroshima.jp\":!0,\"sera.hiroshima.jp\":!0,\"seranishi.hiroshima.jp\":!0,\"shinichi.hiroshima.jp\":!0,\"shobara.hiroshima.jp\":!0,\"takehara.hiroshima.jp\":!0,\"abashiri.hokkaido.jp\":!0,\"abira.hokkaido.jp\":!0,\"aibetsu.hokkaido.jp\":!0,\"akabira.hokkaido.jp\":!0,\"akkeshi.hokkaido.jp\":!0,\"asahikawa.hokkaido.jp\":!0,\"ashibetsu.hokkaido.jp\":!0,\"ashoro.hokkaido.jp\":!0,\"assabu.hokkaido.jp\":!0,\"atsuma.hokkaido.jp\":!0,\"bibai.hokkaido.jp\":!0,\"biei.hokkaido.jp\":!0,\"bifuka.hokkaido.jp\":!0,\"bihoro.hokkaido.jp\":!0,\"biratori.hokkaido.jp\":!0,\"chippubetsu.hokkaido.jp\":!0,\"chitose.hokkaido.jp\":!0,\"date.hokkaido.jp\":!0,\"ebetsu.hokkaido.jp\":!0,\"embetsu.hokkaido.jp\":!0,\"eniwa.hokkaido.jp\":!0,\"erimo.hokkaido.jp\":!0,\"esan.hokkaido.jp\":!0,\"esashi.hokkaido.jp\":!0,\"fukagawa.hokkaido.jp\":!0,\"fukushima.hokkaido.jp\":!0,\"furano.hokkaido.jp\":!0,\"furubira.hokkaido.jp\":!0,\"haboro.hokkaido.jp\":!0,\"hakodate.hokkaido.jp\":!0,\"hamatonbetsu.hokkaido.jp\":!0,\"hidaka.hokkaido.jp\":!0,\"higashikagura.hokkaido.jp\":!0,\"higashikawa.hokkaido.jp\":!0,\"hiroo.hokkaido.jp\":!0,\"hokuryu.hokkaido.jp\":!0,\"hokuto.hokkaido.jp\":!0,\"honbetsu.hokkaido.jp\":!0,\"horokanai.hokkaido.jp\":!0,\"horonobe.hokkaido.jp\":!0,\"ikeda.hokkaido.jp\":!0,\"imakane.hokkaido.jp\":!0,\"ishikari.hokkaido.jp\":!0,\"iwamizawa.hokkaido.jp\":!0,\"iwanai.hokkaido.jp\":!0,\"kamifurano.hokkaido.jp\":!0,\"kamikawa.hokkaido.jp\":!0,\"kamishihoro.hokkaido.jp\":!0,\"kamisunagawa.hokkaido.jp\":!0,\"kamoenai.hokkaido.jp\":!0,\"kayabe.hokkaido.jp\":!0,\"kembuchi.hokkaido.jp\":!0,\"kikonai.hokkaido.jp\":!0,\"kimobetsu.hokkaido.jp\":!0,\"kitahiroshima.hokkaido.jp\":!0,\"kitami.hokkaido.jp\":!0,\"kiyosato.hokkaido.jp\":!0,\"koshimizu.hokkaido.jp\":!0,\"kunneppu.hokkaido.jp\":!0,\"kuriyama.hokkaido.jp\":!0,\"kuromatsunai.hokkaido.jp\":!0,\"kushiro.hokkaido.jp\":!0,\"kutchan.hokkaido.jp\":!0,\"kyowa.hokkaido.jp\":!0,\"mashike.hokkaido.jp\":!0,\"matsumae.hokkaido.jp\":!0,\"mikasa.hokkaido.jp\":!0,\"minamifurano.hokkaido.jp\":!0,\"mombetsu.hokkaido.jp\":!0,\"moseushi.hokkaido.jp\":!0,\"mukawa.hokkaido.jp\":!0,\"muroran.hokkaido.jp\":!0,\"naie.hokkaido.jp\":!0,\"nakagawa.hokkaido.jp\":!0,\"nakasatsunai.hokkaido.jp\":!0,\"nakatombetsu.hokkaido.jp\":!0,\"nanae.hokkaido.jp\":!0,\"nanporo.hokkaido.jp\":!0,\"nayoro.hokkaido.jp\":!0,\"nemuro.hokkaido.jp\":!0,\"niikappu.hokkaido.jp\":!0,\"niki.hokkaido.jp\":!0,\"nishiokoppe.hokkaido.jp\":!0,\"noboribetsu.hokkaido.jp\":!0,\"numata.hokkaido.jp\":!0,\"obihiro.hokkaido.jp\":!0,\"obira.hokkaido.jp\":!0,\"oketo.hokkaido.jp\":!0,\"okoppe.hokkaido.jp\":!0,\"otaru.hokkaido.jp\":!0,\"otobe.hokkaido.jp\":!0,\"otofuke.hokkaido.jp\":!0,\"otoineppu.hokkaido.jp\":!0,\"oumu.hokkaido.jp\":!0,\"ozora.hokkaido.jp\":!0,\"pippu.hokkaido.jp\":!0,\"rankoshi.hokkaido.jp\":!0,\"rebun.hokkaido.jp\":!0,\"rikubetsu.hokkaido.jp\":!0,\"rishiri.hokkaido.jp\":!0,\"rishirifuji.hokkaido.jp\":!0,\"saroma.hokkaido.jp\":!0,\"sarufutsu.hokkaido.jp\":!0,\"shakotan.hokkaido.jp\":!0,\"shari.hokkaido.jp\":!0,\"shibecha.hokkaido.jp\":!0,\"shibetsu.hokkaido.jp\":!0,\"shikabe.hokkaido.jp\":!0,\"shikaoi.hokkaido.jp\":!0,\"shimamaki.hokkaido.jp\":!0,\"shimizu.hokkaido.jp\":!0,\"shimokawa.hokkaido.jp\":!0,\"shinshinotsu.hokkaido.jp\":!0,\"shintoku.hokkaido.jp\":!0,\"shiranuka.hokkaido.jp\":!0,\"shiraoi.hokkaido.jp\":!0,\"shiriuchi.hokkaido.jp\":!0,\"sobetsu.hokkaido.jp\":!0,\"sunagawa.hokkaido.jp\":!0,\"taiki.hokkaido.jp\":!0,\"takasu.hokkaido.jp\":!0,\"takikawa.hokkaido.jp\":!0,\"takinoue.hokkaido.jp\":!0,\"teshikaga.hokkaido.jp\":!0,\"tobetsu.hokkaido.jp\":!0,\"tohma.hokkaido.jp\":!0,\"tomakomai.hokkaido.jp\":!0,\"tomari.hokkaido.jp\":!0,\"toya.hokkaido.jp\":!0,\"toyako.hokkaido.jp\":!0,\"toyotomi.hokkaido.jp\":!0,\"toyoura.hokkaido.jp\":!0,\"tsubetsu.hokkaido.jp\":!0,\"tsukigata.hokkaido.jp\":!0,\"urakawa.hokkaido.jp\":!0,\"urausu.hokkaido.jp\":!0,\"uryu.hokkaido.jp\":!0,\"utashinai.hokkaido.jp\":!0,\"wakkanai.hokkaido.jp\":!0,\"wassamu.hokkaido.jp\":!0,\"yakumo.hokkaido.jp\":!0,\"yoichi.hokkaido.jp\":!0,\"aioi.hyogo.jp\":!0,\"akashi.hyogo.jp\":!0,\"ako.hyogo.jp\":!0,\"amagasaki.hyogo.jp\":!0,\"aogaki.hyogo.jp\":!0,\"asago.hyogo.jp\":!0,\"ashiya.hyogo.jp\":!0,\"awaji.hyogo.jp\":!0,\"fukusaki.hyogo.jp\":!0,\"goshiki.hyogo.jp\":!0,\"harima.hyogo.jp\":!0,\"himeji.hyogo.jp\":!0,\"ichikawa.hyogo.jp\":!0,\"inagawa.hyogo.jp\":!0,\"itami.hyogo.jp\":!0,\"kakogawa.hyogo.jp\":!0,\"kamigori.hyogo.jp\":!0,\"kamikawa.hyogo.jp\":!0,\"kasai.hyogo.jp\":!0,\"kasuga.hyogo.jp\":!0,\"kawanishi.hyogo.jp\":!0,\"miki.hyogo.jp\":!0,\"minamiawaji.hyogo.jp\":!0,\"nishinomiya.hyogo.jp\":!0,\"nishiwaki.hyogo.jp\":!0,\"ono.hyogo.jp\":!0,\"sanda.hyogo.jp\":!0,\"sannan.hyogo.jp\":!0,\"sasayama.hyogo.jp\":!0,\"sayo.hyogo.jp\":!0,\"shingu.hyogo.jp\":!0,\"shinonsen.hyogo.jp\":!0,\"shiso.hyogo.jp\":!0,\"sumoto.hyogo.jp\":!0,\"taishi.hyogo.jp\":!0,\"taka.hyogo.jp\":!0,\"takarazuka.hyogo.jp\":!0,\"takasago.hyogo.jp\":!0,\"takino.hyogo.jp\":!0,\"tamba.hyogo.jp\":!0,\"tatsuno.hyogo.jp\":!0,\"toyooka.hyogo.jp\":!0,\"yabu.hyogo.jp\":!0,\"yashiro.hyogo.jp\":!0,\"yoka.hyogo.jp\":!0,\"yokawa.hyogo.jp\":!0,\"ami.ibaraki.jp\":!0,\"asahi.ibaraki.jp\":!0,\"bando.ibaraki.jp\":!0,\"chikusei.ibaraki.jp\":!0,\"daigo.ibaraki.jp\":!0,\"fujishiro.ibaraki.jp\":!0,\"hitachi.ibaraki.jp\":!0,\"hitachinaka.ibaraki.jp\":!0,\"hitachiomiya.ibaraki.jp\":!0,\"hitachiota.ibaraki.jp\":!0,\"ibaraki.ibaraki.jp\":!0,\"ina.ibaraki.jp\":!0,\"inashiki.ibaraki.jp\":!0,\"itako.ibaraki.jp\":!0,\"iwama.ibaraki.jp\":!0,\"joso.ibaraki.jp\":!0,\"kamisu.ibaraki.jp\":!0,\"kasama.ibaraki.jp\":!0,\"kashima.ibaraki.jp\":!0,\"kasumigaura.ibaraki.jp\":!0,\"koga.ibaraki.jp\":!0,\"miho.ibaraki.jp\":!0,\"mito.ibaraki.jp\":!0,\"moriya.ibaraki.jp\":!0,\"naka.ibaraki.jp\":!0,\"namegata.ibaraki.jp\":!0,\"oarai.ibaraki.jp\":!0,\"ogawa.ibaraki.jp\":!0,\"omitama.ibaraki.jp\":!0,\"ryugasaki.ibaraki.jp\":!0,\"sakai.ibaraki.jp\":!0,\"sakuragawa.ibaraki.jp\":!0,\"shimodate.ibaraki.jp\":!0,\"shimotsuma.ibaraki.jp\":!0,\"shirosato.ibaraki.jp\":!0,\"sowa.ibaraki.jp\":!0,\"suifu.ibaraki.jp\":!0,\"takahagi.ibaraki.jp\":!0,\"tamatsukuri.ibaraki.jp\":!0,\"tokai.ibaraki.jp\":!0,\"tomobe.ibaraki.jp\":!0,\"tone.ibaraki.jp\":!0,\"toride.ibaraki.jp\":!0,\"tsuchiura.ibaraki.jp\":!0,\"tsukuba.ibaraki.jp\":!0,\"uchihara.ibaraki.jp\":!0,\"ushiku.ibaraki.jp\":!0,\"yachiyo.ibaraki.jp\":!0,\"yamagata.ibaraki.jp\":!0,\"yawara.ibaraki.jp\":!0,\"yuki.ibaraki.jp\":!0,\"anamizu.ishikawa.jp\":!0,\"hakui.ishikawa.jp\":!0,\"hakusan.ishikawa.jp\":!0,\"kaga.ishikawa.jp\":!0,\"kahoku.ishikawa.jp\":!0,\"kanazawa.ishikawa.jp\":!0,\"kawakita.ishikawa.jp\":!0,\"komatsu.ishikawa.jp\":!0,\"nakanoto.ishikawa.jp\":!0,\"nanao.ishikawa.jp\":!0,\"nomi.ishikawa.jp\":!0,\"nonoichi.ishikawa.jp\":!0,\"noto.ishikawa.jp\":!0,\"shika.ishikawa.jp\":!0,\"suzu.ishikawa.jp\":!0,\"tsubata.ishikawa.jp\":!0,\"tsurugi.ishikawa.jp\":!0,\"uchinada.ishikawa.jp\":!0,\"wajima.ishikawa.jp\":!0,\"fudai.iwate.jp\":!0,\"fujisawa.iwate.jp\":!0,\"hanamaki.iwate.jp\":!0,\"hiraizumi.iwate.jp\":!0,\"hirono.iwate.jp\":!0,\"ichinohe.iwate.jp\":!0,\"ichinoseki.iwate.jp\":!0,\"iwaizumi.iwate.jp\":!0,\"iwate.iwate.jp\":!0,\"joboji.iwate.jp\":!0,\"kamaishi.iwate.jp\":!0,\"kanegasaki.iwate.jp\":!0,\"karumai.iwate.jp\":!0,\"kawai.iwate.jp\":!0,\"kitakami.iwate.jp\":!0,\"kuji.iwate.jp\":!0,\"kunohe.iwate.jp\":!0,\"kuzumaki.iwate.jp\":!0,\"miyako.iwate.jp\":!0,\"mizusawa.iwate.jp\":!0,\"morioka.iwate.jp\":!0,\"ninohe.iwate.jp\":!0,\"noda.iwate.jp\":!0,\"ofunato.iwate.jp\":!0,\"oshu.iwate.jp\":!0,\"otsuchi.iwate.jp\":!0,\"rikuzentakata.iwate.jp\":!0,\"shiwa.iwate.jp\":!0,\"shizukuishi.iwate.jp\":!0,\"sumita.iwate.jp\":!0,\"tanohata.iwate.jp\":!0,\"tono.iwate.jp\":!0,\"yahaba.iwate.jp\":!0,\"yamada.iwate.jp\":!0,\"ayagawa.kagawa.jp\":!0,\"higashikagawa.kagawa.jp\":!0,\"kanonji.kagawa.jp\":!0,\"kotohira.kagawa.jp\":!0,\"manno.kagawa.jp\":!0,\"marugame.kagawa.jp\":!0,\"mitoyo.kagawa.jp\":!0,\"naoshima.kagawa.jp\":!0,\"sanuki.kagawa.jp\":!0,\"tadotsu.kagawa.jp\":!0,\"takamatsu.kagawa.jp\":!0,\"tonosho.kagawa.jp\":!0,\"uchinomi.kagawa.jp\":!0,\"utazu.kagawa.jp\":!0,\"zentsuji.kagawa.jp\":!0,\"akune.kagoshima.jp\":!0,\"amami.kagoshima.jp\":!0,\"hioki.kagoshima.jp\":!0,\"isa.kagoshima.jp\":!0,\"isen.kagoshima.jp\":!0,\"izumi.kagoshima.jp\":!0,\"kagoshima.kagoshima.jp\":!0,\"kanoya.kagoshima.jp\":!0,\"kawanabe.kagoshima.jp\":!0,\"kinko.kagoshima.jp\":!0,\"kouyama.kagoshima.jp\":!0,\"makurazaki.kagoshima.jp\":!0,\"matsumoto.kagoshima.jp\":!0,\"minamitane.kagoshima.jp\":!0,\"nakatane.kagoshima.jp\":!0,\"nishinoomote.kagoshima.jp\":!0,\"satsumasendai.kagoshima.jp\":!0,\"soo.kagoshima.jp\":!0,\"tarumizu.kagoshima.jp\":!0,\"yusui.kagoshima.jp\":!0,\"aikawa.kanagawa.jp\":!0,\"atsugi.kanagawa.jp\":!0,\"ayase.kanagawa.jp\":!0,\"chigasaki.kanagawa.jp\":!0,\"ebina.kanagawa.jp\":!0,\"fujisawa.kanagawa.jp\":!0,\"hadano.kanagawa.jp\":!0,\"hakone.kanagawa.jp\":!0,\"hiratsuka.kanagawa.jp\":!0,\"isehara.kanagawa.jp\":!0,\"kaisei.kanagawa.jp\":!0,\"kamakura.kanagawa.jp\":!0,\"kiyokawa.kanagawa.jp\":!0,\"matsuda.kanagawa.jp\":!0,\"minamiashigara.kanagawa.jp\":!0,\"miura.kanagawa.jp\":!0,\"nakai.kanagawa.jp\":!0,\"ninomiya.kanagawa.jp\":!0,\"odawara.kanagawa.jp\":!0,\"oi.kanagawa.jp\":!0,\"oiso.kanagawa.jp\":!0,\"sagamihara.kanagawa.jp\":!0,\"samukawa.kanagawa.jp\":!0,\"tsukui.kanagawa.jp\":!0,\"yamakita.kanagawa.jp\":!0,\"yamato.kanagawa.jp\":!0,\"yokosuka.kanagawa.jp\":!0,\"yugawara.kanagawa.jp\":!0,\"zama.kanagawa.jp\":!0,\"zushi.kanagawa.jp\":!0,\"aki.kochi.jp\":!0,\"geisei.kochi.jp\":!0,\"hidaka.kochi.jp\":!0,\"higashitsuno.kochi.jp\":!0,\"ino.kochi.jp\":!0,\"kagami.kochi.jp\":!0,\"kami.kochi.jp\":!0,\"kitagawa.kochi.jp\":!0,\"kochi.kochi.jp\":!0,\"mihara.kochi.jp\":!0,\"motoyama.kochi.jp\":!0,\"muroto.kochi.jp\":!0,\"nahari.kochi.jp\":!0,\"nakamura.kochi.jp\":!0,\"nankoku.kochi.jp\":!0,\"nishitosa.kochi.jp\":!0,\"niyodogawa.kochi.jp\":!0,\"ochi.kochi.jp\":!0,\"okawa.kochi.jp\":!0,\"otoyo.kochi.jp\":!0,\"otsuki.kochi.jp\":!0,\"sakawa.kochi.jp\":!0,\"sukumo.kochi.jp\":!0,\"susaki.kochi.jp\":!0,\"tosa.kochi.jp\":!0,\"tosashimizu.kochi.jp\":!0,\"toyo.kochi.jp\":!0,\"tsuno.kochi.jp\":!0,\"umaji.kochi.jp\":!0,\"yasuda.kochi.jp\":!0,\"yusuhara.kochi.jp\":!0,\"amakusa.kumamoto.jp\":!0,\"arao.kumamoto.jp\":!0,\"aso.kumamoto.jp\":!0,\"choyo.kumamoto.jp\":!0,\"gyokuto.kumamoto.jp\":!0,\"hitoyoshi.kumamoto.jp\":!0,\"kamiamakusa.kumamoto.jp\":!0,\"kashima.kumamoto.jp\":!0,\"kikuchi.kumamoto.jp\":!0,\"kosa.kumamoto.jp\":!0,\"kumamoto.kumamoto.jp\":!0,\"mashiki.kumamoto.jp\":!0,\"mifune.kumamoto.jp\":!0,\"minamata.kumamoto.jp\":!0,\"minamioguni.kumamoto.jp\":!0,\"nagasu.kumamoto.jp\":!0,\"nishihara.kumamoto.jp\":!0,\"oguni.kumamoto.jp\":!0,\"ozu.kumamoto.jp\":!0,\"sumoto.kumamoto.jp\":!0,\"takamori.kumamoto.jp\":!0,\"uki.kumamoto.jp\":!0,\"uto.kumamoto.jp\":!0,\"yamaga.kumamoto.jp\":!0,\"yamato.kumamoto.jp\":!0,\"yatsushiro.kumamoto.jp\":!0,\"ayabe.kyoto.jp\":!0,\"fukuchiyama.kyoto.jp\":!0,\"higashiyama.kyoto.jp\":!0,\"ide.kyoto.jp\":!0,\"ine.kyoto.jp\":!0,\"joyo.kyoto.jp\":!0,\"kameoka.kyoto.jp\":!0,\"kamo.kyoto.jp\":!0,\"kita.kyoto.jp\":!0,\"kizu.kyoto.jp\":!0,\"kumiyama.kyoto.jp\":!0,\"kyotamba.kyoto.jp\":!0,\"kyotanabe.kyoto.jp\":!0,\"kyotango.kyoto.jp\":!0,\"maizuru.kyoto.jp\":!0,\"minami.kyoto.jp\":!0,\"minamiyamashiro.kyoto.jp\":!0,\n\"miyazu.kyoto.jp\":!0,\"muko.kyoto.jp\":!0,\"nagaokakyo.kyoto.jp\":!0,\"nakagyo.kyoto.jp\":!0,\"nantan.kyoto.jp\":!0,\"oyamazaki.kyoto.jp\":!0,\"sakyo.kyoto.jp\":!0,\"seika.kyoto.jp\":!0,\"tanabe.kyoto.jp\":!0,\"uji.kyoto.jp\":!0,\"ujitawara.kyoto.jp\":!0,\"wazuka.kyoto.jp\":!0,\"yamashina.kyoto.jp\":!0,\"yawata.kyoto.jp\":!0,\"asahi.mie.jp\":!0,\"inabe.mie.jp\":!0,\"ise.mie.jp\":!0,\"kameyama.mie.jp\":!0,\"kawagoe.mie.jp\":!0,\"kiho.mie.jp\":!0,\"kisosaki.mie.jp\":!0,\"kiwa.mie.jp\":!0,\"komono.mie.jp\":!0,\"kumano.mie.jp\":!0,\"kuwana.mie.jp\":!0,\"matsusaka.mie.jp\":!0,\"meiwa.mie.jp\":!0,\"mihama.mie.jp\":!0,\"minamiise.mie.jp\":!0,\"misugi.mie.jp\":!0,\"miyama.mie.jp\":!0,\"nabari.mie.jp\":!0,\"shima.mie.jp\":!0,\"suzuka.mie.jp\":!0,\"tado.mie.jp\":!0,\"taiki.mie.jp\":!0,\"taki.mie.jp\":!0,\"tamaki.mie.jp\":!0,\"toba.mie.jp\":!0,\"tsu.mie.jp\":!0,\"udono.mie.jp\":!0,\"ureshino.mie.jp\":!0,\"watarai.mie.jp\":!0,\"yokkaichi.mie.jp\":!0,\"furukawa.miyagi.jp\":!0,\"higashimatsushima.miyagi.jp\":!0,\"ishinomaki.miyagi.jp\":!0,\"iwanuma.miyagi.jp\":!0,\"kakuda.miyagi.jp\":!0,\"kami.miyagi.jp\":!0,\"kawasaki.miyagi.jp\":!0,\"kesennuma.miyagi.jp\":!0,\"marumori.miyagi.jp\":!0,\"matsushima.miyagi.jp\":!0,\"minamisanriku.miyagi.jp\":!0,\"misato.miyagi.jp\":!0,\"murata.miyagi.jp\":!0,\"natori.miyagi.jp\":!0,\"ogawara.miyagi.jp\":!0,\"ohira.miyagi.jp\":!0,\"onagawa.miyagi.jp\":!0,\"osaki.miyagi.jp\":!0,\"rifu.miyagi.jp\":!0,\"semine.miyagi.jp\":!0,\"shibata.miyagi.jp\":!0,\"shichikashuku.miyagi.jp\":!0,\"shikama.miyagi.jp\":!0,\"shiogama.miyagi.jp\":!0,\"shiroishi.miyagi.jp\":!0,\"tagajo.miyagi.jp\":!0,\"taiwa.miyagi.jp\":!0,\"tome.miyagi.jp\":!0,\"tomiya.miyagi.jp\":!0,\"wakuya.miyagi.jp\":!0,\"watari.miyagi.jp\":!0,\"yamamoto.miyagi.jp\":!0,\"zao.miyagi.jp\":!0,\"aya.miyazaki.jp\":!0,\"ebino.miyazaki.jp\":!0,\"gokase.miyazaki.jp\":!0,\"hyuga.miyazaki.jp\":!0,\"kadogawa.miyazaki.jp\":!0,\"kawaminami.miyazaki.jp\":!0,\"kijo.miyazaki.jp\":!0,\"kitagawa.miyazaki.jp\":!0,\"kitakata.miyazaki.jp\":!0,\"kitaura.miyazaki.jp\":!0,\"kobayashi.miyazaki.jp\":!0,\"kunitomi.miyazaki.jp\":!0,\"kushima.miyazaki.jp\":!0,\"mimata.miyazaki.jp\":!0,\"miyakonojo.miyazaki.jp\":!0,\"miyazaki.miyazaki.jp\":!0,\"morotsuka.miyazaki.jp\":!0,\"nichinan.miyazaki.jp\":!0,\"nishimera.miyazaki.jp\":!0,\"nobeoka.miyazaki.jp\":!0,\"saito.miyazaki.jp\":!0,\"shiiba.miyazaki.jp\":!0,\"shintomi.miyazaki.jp\":!0,\"takaharu.miyazaki.jp\":!0,\"takanabe.miyazaki.jp\":!0,\"takazaki.miyazaki.jp\":!0,\"tsuno.miyazaki.jp\":!0,\"achi.nagano.jp\":!0,\"agematsu.nagano.jp\":!0,\"anan.nagano.jp\":!0,\"aoki.nagano.jp\":!0,\"asahi.nagano.jp\":!0,\"azumino.nagano.jp\":!0,\"chikuhoku.nagano.jp\":!0,\"chikuma.nagano.jp\":!0,\"chino.nagano.jp\":!0,\"fujimi.nagano.jp\":!0,\"hakuba.nagano.jp\":!0,\"hara.nagano.jp\":!0,\"hiraya.nagano.jp\":!0,\"iida.nagano.jp\":!0,\"iijima.nagano.jp\":!0,\"iiyama.nagano.jp\":!0,\"iizuna.nagano.jp\":!0,\"ikeda.nagano.jp\":!0,\"ikusaka.nagano.jp\":!0,\"ina.nagano.jp\":!0,\"karuizawa.nagano.jp\":!0,\"kawakami.nagano.jp\":!0,\"kiso.nagano.jp\":!0,\"kisofukushima.nagano.jp\":!0,\"kitaaiki.nagano.jp\":!0,\"komagane.nagano.jp\":!0,\"komoro.nagano.jp\":!0,\"matsukawa.nagano.jp\":!0,\"matsumoto.nagano.jp\":!0,\"miasa.nagano.jp\":!0,\"minamiaiki.nagano.jp\":!0,\"minamimaki.nagano.jp\":!0,\"minamiminowa.nagano.jp\":!0,\"minowa.nagano.jp\":!0,\"miyada.nagano.jp\":!0,\"miyota.nagano.jp\":!0,\"mochizuki.nagano.jp\":!0,\"nagano.nagano.jp\":!0,\"nagawa.nagano.jp\":!0,\"nagiso.nagano.jp\":!0,\"nakagawa.nagano.jp\":!0,\"nakano.nagano.jp\":!0,\"nozawaonsen.nagano.jp\":!0,\"obuse.nagano.jp\":!0,\"ogawa.nagano.jp\":!0,\"okaya.nagano.jp\":!0,\"omachi.nagano.jp\":!0,\"omi.nagano.jp\":!0,\"ookuwa.nagano.jp\":!0,\"ooshika.nagano.jp\":!0,\"otaki.nagano.jp\":!0,\"otari.nagano.jp\":!0,\"sakae.nagano.jp\":!0,\"sakaki.nagano.jp\":!0,\"saku.nagano.jp\":!0,\"sakuho.nagano.jp\":!0,\"shimosuwa.nagano.jp\":!0,\"shinanomachi.nagano.jp\":!0,\"shiojiri.nagano.jp\":!0,\"suwa.nagano.jp\":!0,\"suzaka.nagano.jp\":!0,\"takagi.nagano.jp\":!0,\"takamori.nagano.jp\":!0,\"takayama.nagano.jp\":!0,\"tateshina.nagano.jp\":!0,\"tatsuno.nagano.jp\":!0,\"togakushi.nagano.jp\":!0,\"togura.nagano.jp\":!0,\"tomi.nagano.jp\":!0,\"ueda.nagano.jp\":!0,\"wada.nagano.jp\":!0,\"yamagata.nagano.jp\":!0,\"yamanouchi.nagano.jp\":!0,\"yasaka.nagano.jp\":!0,\"yasuoka.nagano.jp\":!0,\"chijiwa.nagasaki.jp\":!0,\"futsu.nagasaki.jp\":!0,\"goto.nagasaki.jp\":!0,\"hasami.nagasaki.jp\":!0,\"hirado.nagasaki.jp\":!0,\"iki.nagasaki.jp\":!0,\"isahaya.nagasaki.jp\":!0,\"kawatana.nagasaki.jp\":!0,\"kuchinotsu.nagasaki.jp\":!0,\"matsuura.nagasaki.jp\":!0,\"nagasaki.nagasaki.jp\":!0,\"obama.nagasaki.jp\":!0,\"omura.nagasaki.jp\":!0,\"oseto.nagasaki.jp\":!0,\"saikai.nagasaki.jp\":!0,\"sasebo.nagasaki.jp\":!0,\"seihi.nagasaki.jp\":!0,\"shimabara.nagasaki.jp\":!0,\"shinkamigoto.nagasaki.jp\":!0,\"togitsu.nagasaki.jp\":!0,\"tsushima.nagasaki.jp\":!0,\"unzen.nagasaki.jp\":!0,\"ando.nara.jp\":!0,\"gose.nara.jp\":!0,\"heguri.nara.jp\":!0,\"higashiyoshino.nara.jp\":!0,\"ikaruga.nara.jp\":!0,\"ikoma.nara.jp\":!0,\"kamikitayama.nara.jp\":!0,\"kanmaki.nara.jp\":!0,\"kashiba.nara.jp\":!0,\"kashihara.nara.jp\":!0,\"katsuragi.nara.jp\":!0,\"kawai.nara.jp\":!0,\"kawakami.nara.jp\":!0,\"kawanishi.nara.jp\":!0,\"koryo.nara.jp\":!0,\"kurotaki.nara.jp\":!0,\"mitsue.nara.jp\":!0,\"miyake.nara.jp\":!0,\"nara.nara.jp\":!0,\"nosegawa.nara.jp\":!0,\"oji.nara.jp\":!0,\"ouda.nara.jp\":!0,\"oyodo.nara.jp\":!0,\"sakurai.nara.jp\":!0,\"sango.nara.jp\":!0,\"shimoichi.nara.jp\":!0,\"shimokitayama.nara.jp\":!0,\"shinjo.nara.jp\":!0,\"soni.nara.jp\":!0,\"takatori.nara.jp\":!0,\"tawaramoto.nara.jp\":!0,\"tenkawa.nara.jp\":!0,\"tenri.nara.jp\":!0,\"uda.nara.jp\":!0,\"yamatokoriyama.nara.jp\":!0,\"yamatotakada.nara.jp\":!0,\"yamazoe.nara.jp\":!0,\"yoshino.nara.jp\":!0,\"aga.niigata.jp\":!0,\"agano.niigata.jp\":!0,\"gosen.niigata.jp\":!0,\"itoigawa.niigata.jp\":!0,\"izumozaki.niigata.jp\":!0,\"joetsu.niigata.jp\":!0,\"kamo.niigata.jp\":!0,\"kariwa.niigata.jp\":!0,\"kashiwazaki.niigata.jp\":!0,\"minamiuonuma.niigata.jp\":!0,\"mitsuke.niigata.jp\":!0,\"muika.niigata.jp\":!0,\"murakami.niigata.jp\":!0,\"myoko.niigata.jp\":!0,\"nagaoka.niigata.jp\":!0,\"niigata.niigata.jp\":!0,\"ojiya.niigata.jp\":!0,\"omi.niigata.jp\":!0,\"sado.niigata.jp\":!0,\"sanjo.niigata.jp\":!0,\"seiro.niigata.jp\":!0,\"seirou.niigata.jp\":!0,\"sekikawa.niigata.jp\":!0,\"shibata.niigata.jp\":!0,\"tagami.niigata.jp\":!0,\"tainai.niigata.jp\":!0,\"tochio.niigata.jp\":!0,\"tokamachi.niigata.jp\":!0,\"tsubame.niigata.jp\":!0,\"tsunan.niigata.jp\":!0,\"uonuma.niigata.jp\":!0,\"yahiko.niigata.jp\":!0,\"yoita.niigata.jp\":!0,\"yuzawa.niigata.jp\":!0,\"beppu.oita.jp\":!0,\"bungoono.oita.jp\":!0,\"bungotakada.oita.jp\":!0,\"hasama.oita.jp\":!0,\"hiji.oita.jp\":!0,\"himeshima.oita.jp\":!0,\"hita.oita.jp\":!0,\"kamitsue.oita.jp\":!0,\"kokonoe.oita.jp\":!0,\"kuju.oita.jp\":!0,\"kunisaki.oita.jp\":!0,\"kusu.oita.jp\":!0,\"oita.oita.jp\":!0,\"saiki.oita.jp\":!0,\"taketa.oita.jp\":!0,\"tsukumi.oita.jp\":!0,\"usa.oita.jp\":!0,\"usuki.oita.jp\":!0,\"yufu.oita.jp\":!0,\"akaiwa.okayama.jp\":!0,\"asakuchi.okayama.jp\":!0,\"bizen.okayama.jp\":!0,\"hayashima.okayama.jp\":!0,\"ibara.okayama.jp\":!0,\"kagamino.okayama.jp\":!0,\"kasaoka.okayama.jp\":!0,\"kibichuo.okayama.jp\":!0,\"kumenan.okayama.jp\":!0,\"kurashiki.okayama.jp\":!0,\"maniwa.okayama.jp\":!0,\"misaki.okayama.jp\":!0,\"nagi.okayama.jp\":!0,\"niimi.okayama.jp\":!0,\"nishiawakura.okayama.jp\":!0,\"okayama.okayama.jp\":!0,\"satosho.okayama.jp\":!0,\"setouchi.okayama.jp\":!0,\"shinjo.okayama.jp\":!0,\"shoo.okayama.jp\":!0,\"soja.okayama.jp\":!0,\"takahashi.okayama.jp\":!0,\"tamano.okayama.jp\":!0,\"tsuyama.okayama.jp\":!0,\"wake.okayama.jp\":!0,\"yakage.okayama.jp\":!0,\"aguni.okinawa.jp\":!0,\"ginowan.okinawa.jp\":!0,\"ginoza.okinawa.jp\":!0,\"gushikami.okinawa.jp\":!0,\"haebaru.okinawa.jp\":!0,\"higashi.okinawa.jp\":!0,\"hirara.okinawa.jp\":!0,\"iheya.okinawa.jp\":!0,\"ishigaki.okinawa.jp\":!0,\"ishikawa.okinawa.jp\":!0,\"itoman.okinawa.jp\":!0,\"izena.okinawa.jp\":!0,\"kadena.okinawa.jp\":!0,\"kin.okinawa.jp\":!0,\"kitadaito.okinawa.jp\":!0,\"kitanakagusuku.okinawa.jp\":!0,\"kumejima.okinawa.jp\":!0,\"kunigami.okinawa.jp\":!0,\"minamidaito.okinawa.jp\":!0,\"motobu.okinawa.jp\":!0,\"nago.okinawa.jp\":!0,\"naha.okinawa.jp\":!0,\"nakagusuku.okinawa.jp\":!0,\"nakijin.okinawa.jp\":!0,\"nanjo.okinawa.jp\":!0,\"nishihara.okinawa.jp\":!0,\"ogimi.okinawa.jp\":!0,\"okinawa.okinawa.jp\":!0,\"onna.okinawa.jp\":!0,\"shimoji.okinawa.jp\":!0,\"taketomi.okinawa.jp\":!0,\"tarama.okinawa.jp\":!0,\"tokashiki.okinawa.jp\":!0,\"tomigusuku.okinawa.jp\":!0,\"tonaki.okinawa.jp\":!0,\"urasoe.okinawa.jp\":!0,\"uruma.okinawa.jp\":!0,\"yaese.okinawa.jp\":!0,\"yomitan.okinawa.jp\":!0,\"yonabaru.okinawa.jp\":!0,\"yonaguni.okinawa.jp\":!0,\"zamami.okinawa.jp\":!0,\"abeno.osaka.jp\":!0,\"chihayaakasaka.osaka.jp\":!0,\"chuo.osaka.jp\":!0,\"daito.osaka.jp\":!0,\"fujiidera.osaka.jp\":!0,\"habikino.osaka.jp\":!0,\"hannan.osaka.jp\":!0,\"higashiosaka.osaka.jp\":!0,\"higashisumiyoshi.osaka.jp\":!0,\"higashiyodogawa.osaka.jp\":!0,\"hirakata.osaka.jp\":!0,\"ibaraki.osaka.jp\":!0,\"ikeda.osaka.jp\":!0,\"izumi.osaka.jp\":!0,\"izumiotsu.osaka.jp\":!0,\"izumisano.osaka.jp\":!0,\"kadoma.osaka.jp\":!0,\"kaizuka.osaka.jp\":!0,\"kanan.osaka.jp\":!0,\"kashiwara.osaka.jp\":!0,\"katano.osaka.jp\":!0,\"kawachinagano.osaka.jp\":!0,\"kishiwada.osaka.jp\":!0,\"kita.osaka.jp\":!0,\"kumatori.osaka.jp\":!0,\"matsubara.osaka.jp\":!0,\"minato.osaka.jp\":!0,\"minoh.osaka.jp\":!0,\"misaki.osaka.jp\":!0,\"moriguchi.osaka.jp\":!0,\"neyagawa.osaka.jp\":!0,\"nishi.osaka.jp\":!0,\"nose.osaka.jp\":!0,\"osakasayama.osaka.jp\":!0,\"sakai.osaka.jp\":!0,\"sayama.osaka.jp\":!0,\"sennan.osaka.jp\":!0,\"settsu.osaka.jp\":!0,\"shijonawate.osaka.jp\":!0,\"shimamoto.osaka.jp\":!0,\"suita.osaka.jp\":!0,\"tadaoka.osaka.jp\":!0,\"taishi.osaka.jp\":!0,\"tajiri.osaka.jp\":!0,\"takaishi.osaka.jp\":!0,\"takatsuki.osaka.jp\":!0,\"tondabayashi.osaka.jp\":!0,\"toyonaka.osaka.jp\":!0,\"toyono.osaka.jp\":!0,\"yao.osaka.jp\":!0,\"ariake.saga.jp\":!0,\"arita.saga.jp\":!0,\"fukudomi.saga.jp\":!0,\"genkai.saga.jp\":!0,\"hamatama.saga.jp\":!0,\"hizen.saga.jp\":!0,\"imari.saga.jp\":!0,\"kamimine.saga.jp\":!0,\"kanzaki.saga.jp\":!0,\"karatsu.saga.jp\":!0,\"kashima.saga.jp\":!0,\"kitagata.saga.jp\":!0,\"kitahata.saga.jp\":!0,\"kiyama.saga.jp\":!0,\"kouhoku.saga.jp\":!0,\"kyuragi.saga.jp\":!0,\"nishiarita.saga.jp\":!0,\"ogi.saga.jp\":!0,\"omachi.saga.jp\":!0,\"ouchi.saga.jp\":!0,\"saga.saga.jp\":!0,\"shiroishi.saga.jp\":!0,\"taku.saga.jp\":!0,\"tara.saga.jp\":!0,\"tosu.saga.jp\":!0,\"yoshinogari.saga.jp\":!0,\"arakawa.saitama.jp\":!0,\"asaka.saitama.jp\":!0,\"chichibu.saitama.jp\":!0,\"fujimi.saitama.jp\":!0,\"fujimino.saitama.jp\":!0,\"fukaya.saitama.jp\":!0,\"hanno.saitama.jp\":!0,\"hanyu.saitama.jp\":!0,\"hasuda.saitama.jp\":!0,\"hatogaya.saitama.jp\":!0,\"hatoyama.saitama.jp\":!0,\"hidaka.saitama.jp\":!0,\"higashichichibu.saitama.jp\":!0,\"higashimatsuyama.saitama.jp\":!0,\"honjo.saitama.jp\":!0,\"ina.saitama.jp\":!0,\"iruma.saitama.jp\":!0,\"iwatsuki.saitama.jp\":!0,\"kamiizumi.saitama.jp\":!0,\"kamikawa.saitama.jp\":!0,\"kamisato.saitama.jp\":!0,\"kasukabe.saitama.jp\":!0,\"kawagoe.saitama.jp\":!0,\"kawaguchi.saitama.jp\":!0,\"kawajima.saitama.jp\":!0,\"kazo.saitama.jp\":!0,\"kitamoto.saitama.jp\":!0,\"koshigaya.saitama.jp\":!0,\"kounosu.saitama.jp\":!0,\"kuki.saitama.jp\":!0,\"kumagaya.saitama.jp\":!0,\"matsubushi.saitama.jp\":!0,\"minano.saitama.jp\":!0,\"misato.saitama.jp\":!0,\"miyashiro.saitama.jp\":!0,\"miyoshi.saitama.jp\":!0,\"moroyama.saitama.jp\":!0,\"nagatoro.saitama.jp\":!0,\"namegawa.saitama.jp\":!0,\"niiza.saitama.jp\":!0,\"ogano.saitama.jp\":!0,\"ogawa.saitama.jp\":!0,\"ogose.saitama.jp\":!0,\"okegawa.saitama.jp\":!0,\"omiya.saitama.jp\":!0,\"otaki.saitama.jp\":!0,\"ranzan.saitama.jp\":!0,\"ryokami.saitama.jp\":!0,\"saitama.saitama.jp\":!0,\"sakado.saitama.jp\":!0,\"satte.saitama.jp\":!0,\"sayama.saitama.jp\":!0,\"shiki.saitama.jp\":!0,\"shiraoka.saitama.jp\":!0,\"soka.saitama.jp\":!0,\"sugito.saitama.jp\":!0,\"toda.saitama.jp\":!0,\"tokigawa.saitama.jp\":!0,\"tokorozawa.saitama.jp\":!0,\"tsurugashima.saitama.jp\":!0,\"urawa.saitama.jp\":!0,\"warabi.saitama.jp\":!0,\"yashio.saitama.jp\":!0,\"yokoze.saitama.jp\":!0,\"yono.saitama.jp\":!0,\"yorii.saitama.jp\":!0,\"yoshida.saitama.jp\":!0,\"yoshikawa.saitama.jp\":!0,\"yoshimi.saitama.jp\":!0,\"aisho.shiga.jp\":!0,\"gamo.shiga.jp\":!0,\"higashiomi.shiga.jp\":!0,\"hikone.shiga.jp\":!0,\"koka.shiga.jp\":!0,\"konan.shiga.jp\":!0,\"kosei.shiga.jp\":!0,\"koto.shiga.jp\":!0,\"kusatsu.shiga.jp\":!0,\"maibara.shiga.jp\":!0,\"moriyama.shiga.jp\":!0,\"nagahama.shiga.jp\":!0,\"nishiazai.shiga.jp\":!0,\"notogawa.shiga.jp\":!0,\"omihachiman.shiga.jp\":!0,\"otsu.shiga.jp\":!0,\"ritto.shiga.jp\":!0,\"ryuoh.shiga.jp\":!0,\"takashima.shiga.jp\":!0,\"takatsuki.shiga.jp\":!0,\"torahime.shiga.jp\":!0,\"toyosato.shiga.jp\":!0,\"yasu.shiga.jp\":!0,\"akagi.shimane.jp\":!0,\"ama.shimane.jp\":!0,\"gotsu.shimane.jp\":!0,\"hamada.shimane.jp\":!0,\"higashiizumo.shimane.jp\":!0,\"hikawa.shimane.jp\":!0,\"hikimi.shimane.jp\":!0,\"izumo.shimane.jp\":!0,\"kakinoki.shimane.jp\":!0,\"masuda.shimane.jp\":!0,\"matsue.shimane.jp\":!0,\"misato.shimane.jp\":!0,\"nishinoshima.shimane.jp\":!0,\"ohda.shimane.jp\":!0,\"okinoshima.shimane.jp\":!0,\"okuizumo.shimane.jp\":!0,\"shimane.shimane.jp\":!0,\"tamayu.shimane.jp\":!0,\"tsuwano.shimane.jp\":!0,\"unnan.shimane.jp\":!0,\"yakumo.shimane.jp\":!0,\"yasugi.shimane.jp\":!0,\"yatsuka.shimane.jp\":!0,\"arai.shizuoka.jp\":!0,\"atami.shizuoka.jp\":!0,\"fuji.shizuoka.jp\":!0,\"fujieda.shizuoka.jp\":!0,\"fujikawa.shizuoka.jp\":!0,\"fujinomiya.shizuoka.jp\":!0,\"fukuroi.shizuoka.jp\":!0,\"gotemba.shizuoka.jp\":!0,\"haibara.shizuoka.jp\":!0,\"hamamatsu.shizuoka.jp\":!0,\"higashiizu.shizuoka.jp\":!0,\"ito.shizuoka.jp\":!0,\"iwata.shizuoka.jp\":!0,\"izu.shizuoka.jp\":!0,\"izunokuni.shizuoka.jp\":!0,\"kakegawa.shizuoka.jp\":!0,\"kannami.shizuoka.jp\":!0,\"kawanehon.shizuoka.jp\":!0,\"kawazu.shizuoka.jp\":!0,\"kikugawa.shizuoka.jp\":!0,\"kosai.shizuoka.jp\":!0,\"makinohara.shizuoka.jp\":!0,\"matsuzaki.shizuoka.jp\":!0,\"minamiizu.shizuoka.jp\":!0,\"mishima.shizuoka.jp\":!0,\"morimachi.shizuoka.jp\":!0,\"nishiizu.shizuoka.jp\":!0,\"numazu.shizuoka.jp\":!0,\"omaezaki.shizuoka.jp\":!0,\"shimada.shizuoka.jp\":!0,\"shimizu.shizuoka.jp\":!0,\"shimoda.shizuoka.jp\":!0,\"shizuoka.shizuoka.jp\":!0,\"susono.shizuoka.jp\":!0,\"yaizu.shizuoka.jp\":!0,\"yoshida.shizuoka.jp\":!0,\"ashikaga.tochigi.jp\":!0,\"bato.tochigi.jp\":!0,\"haga.tochigi.jp\":!0,\"ichikai.tochigi.jp\":!0,\"iwafune.tochigi.jp\":!0,\"kaminokawa.tochigi.jp\":!0,\"kanuma.tochigi.jp\":!0,\"karasuyama.tochigi.jp\":!0,\"kuroiso.tochigi.jp\":!0,\"mashiko.tochigi.jp\":!0,\"mibu.tochigi.jp\":!0,\"moka.tochigi.jp\":!0,\"motegi.tochigi.jp\":!0,\"nasu.tochigi.jp\":!0,\"nasushiobara.tochigi.jp\":!0,\"nikko.tochigi.jp\":!0,\"nishikata.tochigi.jp\":!0,\"nogi.tochigi.jp\":!0,\"ohira.tochigi.jp\":!0,\"ohtawara.tochigi.jp\":!0,\"oyama.tochigi.jp\":!0,\"sakura.tochigi.jp\":!0,\"sano.tochigi.jp\":!0,\"shimotsuke.tochigi.jp\":!0,\"shioya.tochigi.jp\":!0,\"takanezawa.tochigi.jp\":!0,\"tochigi.tochigi.jp\":!0,\"tsuga.tochigi.jp\":!0,\"ujiie.tochigi.jp\":!0,\"utsunomiya.tochigi.jp\":!0,\"yaita.tochigi.jp\":!0,\"aizumi.tokushima.jp\":!0,\"anan.tokushima.jp\":!0,\"ichiba.tokushima.jp\":!0,\"itano.tokushima.jp\":!0,\"kainan.tokushima.jp\":!0,\"komatsushima.tokushima.jp\":!0,\"matsushige.tokushima.jp\":!0,\"mima.tokushima.jp\":!0,\"minami.tokushima.jp\":!0,\"miyoshi.tokushima.jp\":!0,\"mugi.tokushima.jp\":!0,\"nakagawa.tokushima.jp\":!0,\"naruto.tokushima.jp\":!0,\"sanagochi.tokushima.jp\":!0,\"shishikui.tokushima.jp\":!0,\"tokushima.tokushima.jp\":!0,\"wajiki.tokushima.jp\":!0,\"adachi.tokyo.jp\":!0,\"akiruno.tokyo.jp\":!0,\"akishima.tokyo.jp\":!0,\"aogashima.tokyo.jp\":!0,\"arakawa.tokyo.jp\":!0,\"bunkyo.tokyo.jp\":!0,\"chiyoda.tokyo.jp\":!0,\"chofu.tokyo.jp\":!0,\"chuo.tokyo.jp\":!0,\"edogawa.tokyo.jp\":!0,\"fuchu.tokyo.jp\":!0,\"fussa.tokyo.jp\":!0,\"hachijo.tokyo.jp\":!0,\"hachioji.tokyo.jp\":!0,\"hamura.tokyo.jp\":!0,\"higashikurume.tokyo.jp\":!0,\"higashimurayama.tokyo.jp\":!0,\"higashiyamato.tokyo.jp\":!0,\"hino.tokyo.jp\":!0,\"hinode.tokyo.jp\":!0,\"hinohara.tokyo.jp\":!0,\"inagi.tokyo.jp\":!0,\"itabashi.tokyo.jp\":!0,\"katsushika.tokyo.jp\":!0,\"kita.tokyo.jp\":!0,\"kiyose.tokyo.jp\":!0,\"kodaira.tokyo.jp\":!0,\"koganei.tokyo.jp\":!0,\"kokubunji.tokyo.jp\":!0,\"komae.tokyo.jp\":!0,\"koto.tokyo.jp\":!0,\"kouzushima.tokyo.jp\":!0,\"kunitachi.tokyo.jp\":!0,\"machida.tokyo.jp\":!0,\"meguro.tokyo.jp\":!0,\"minato.tokyo.jp\":!0,\"mitaka.tokyo.jp\":!0,\"mizuho.tokyo.jp\":!0,\"musashimurayama.tokyo.jp\":!0,\"musashino.tokyo.jp\":!0,\"nakano.tokyo.jp\":!0,\"nerima.tokyo.jp\":!0,\"ogasawara.tokyo.jp\":!0,\"okutama.tokyo.jp\":!0,\"ome.tokyo.jp\":!0,\"oshima.tokyo.jp\":!0,\"ota.tokyo.jp\":!0,\"setagaya.tokyo.jp\":!0,\"shibuya.tokyo.jp\":!0,\"shinagawa.tokyo.jp\":!0,\"shinjuku.tokyo.jp\":!0,\"suginami.tokyo.jp\":!0,\"sumida.tokyo.jp\":!0,\"tachikawa.tokyo.jp\":!0,\"taito.tokyo.jp\":!0,\"tama.tokyo.jp\":!0,\"toshima.tokyo.jp\":!0,\"chizu.tottori.jp\":!0,\"hino.tottori.jp\":!0,\"kawahara.tottori.jp\":!0,\"koge.tottori.jp\":!0,\"kotoura.tottori.jp\":!0,\"misasa.tottori.jp\":!0,\"nanbu.tottori.jp\":!0,\"nichinan.tottori.jp\":!0,\"sakaiminato.tottori.jp\":!0,\"tottori.tottori.jp\":!0,\"wakasa.tottori.jp\":!0,\"yazu.tottori.jp\":!0,\"yonago.tottori.jp\":!0,\"asahi.toyama.jp\":!0,\"fuchu.toyama.jp\":!0,\"fukumitsu.toyama.jp\":!0,\"funahashi.toyama.jp\":!0,\"himi.toyama.jp\":!0,\"imizu.toyama.jp\":!0,\"inami.toyama.jp\":!0,\"johana.toyama.jp\":!0,\"kamiichi.toyama.jp\":!0,\"kurobe.toyama.jp\":!0,\"nakaniikawa.toyama.jp\":!0,\"namerikawa.toyama.jp\":!0,\"nanto.toyama.jp\":!0,\"nyuzen.toyama.jp\":!0,\"oyabe.toyama.jp\":!0,\"taira.toyama.jp\":!0,\"takaoka.toyama.jp\":!0,\"tateyama.toyama.jp\":!0,\"toga.toyama.jp\":!0,\"tonami.toyama.jp\":!0,\"toyama.toyama.jp\":!0,\"unazuki.toyama.jp\":!0,\"uozu.toyama.jp\":!0,\"yamada.toyama.jp\":!0,\"arida.wakayama.jp\":!0,\"aridagawa.wakayama.jp\":!0,\"gobo.wakayama.jp\":!0,\"hashimoto.wakayama.jp\":!0,\"hidaka.wakayama.jp\":!0,\"hirogawa.wakayama.jp\":!0,\"inami.wakayama.jp\":!0,\"iwade.wakayama.jp\":!0,\"kainan.wakayama.jp\":!0,\"kamitonda.wakayama.jp\":!0,\"katsuragi.wakayama.jp\":!0,\"kimino.wakayama.jp\":!0,\"kinokawa.wakayama.jp\":!0,\"kitayama.wakayama.jp\":!0,\"koya.wakayama.jp\":!0,\"koza.wakayama.jp\":!0,\"kozagawa.wakayama.jp\":!0,\"kudoyama.wakayama.jp\":!0,\"kushimoto.wakayama.jp\":!0,\"mihama.wakayama.jp\":!0,\"misato.wakayama.jp\":!0,\"nachikatsuura.wakayama.jp\":!0,\"shingu.wakayama.jp\":!0,\"shirahama.wakayama.jp\":!0,\"taiji.wakayama.jp\":!0,\"tanabe.wakayama.jp\":!0,\"wakayama.wakayama.jp\":!0,\"yuasa.wakayama.jp\":!0,\"yura.wakayama.jp\":!0,\"asahi.yamagata.jp\":!0,\"funagata.yamagata.jp\":!0,\"higashine.yamagata.jp\":!0,\"iide.yamagata.jp\":!0,\"kahoku.yamagata.jp\":!0,\"kaminoyama.yamagata.jp\":!0,\"kaneyama.yamagata.jp\":!0,\"kawanishi.yamagata.jp\":!0,\"mamurogawa.yamagata.jp\":!0,\"mikawa.yamagata.jp\":!0,\"murayama.yamagata.jp\":!0,\"nagai.yamagata.jp\":!0,\"nakayama.yamagata.jp\":!0,\"nanyo.yamagata.jp\":!0,\"nishikawa.yamagata.jp\":!0,\"obanazawa.yamagata.jp\":!0,\"oe.yamagata.jp\":!0,\"oguni.yamagata.jp\":!0,\"ohkura.yamagata.jp\":!0,\"oishida.yamagata.jp\":!0,\"sagae.yamagata.jp\":!0,\"sakata.yamagata.jp\":!0,\"sakegawa.yamagata.jp\":!0,\"shinjo.yamagata.jp\":!0,\"shirataka.yamagata.jp\":!0,\"shonai.yamagata.jp\":!0,\"takahata.yamagata.jp\":!0,\"tendo.yamagata.jp\":!0,\"tozawa.yamagata.jp\":!0,\"tsuruoka.yamagata.jp\":!0,\"yamagata.yamagata.jp\":!0,\"yamanobe.yamagata.jp\":!0,\"yonezawa.yamagata.jp\":!0,\"yuza.yamagata.jp\":!0,\"abu.yamaguchi.jp\":!0,\"hagi.yamaguchi.jp\":!0,\"hikari.yamaguchi.jp\":!0,\"hofu.yamaguchi.jp\":!0,\"iwakuni.yamaguchi.jp\":!0,\"kudamatsu.yamaguchi.jp\":!0,\"mitou.yamaguchi.jp\":!0,\"nagato.yamaguchi.jp\":!0,\"oshima.yamaguchi.jp\":!0,\"shimonoseki.yamaguchi.jp\":!0,\"shunan.yamaguchi.jp\":!0,\"tabuse.yamaguchi.jp\":!0,\"tokuyama.yamaguchi.jp\":!0,\"toyota.yamaguchi.jp\":!0,\"ube.yamaguchi.jp\":!0,\"yuu.yamaguchi.jp\":!0,\"chuo.yamanashi.jp\":!0,\"doshi.yamanashi.jp\":!0,\"fuefuki.yamanashi.jp\":!0,\"fujikawa.yamanashi.jp\":!0,\"fujikawaguchiko.yamanashi.jp\":!0,\"fujiyoshida.yamanashi.jp\":!0,\"hayakawa.yamanashi.jp\":!0,\"hokuto.yamanashi.jp\":!0,\"ichikawamisato.yamanashi.jp\":!0,\"kai.yamanashi.jp\":!0,\"kofu.yamanashi.jp\":!0,\"koshu.yamanashi.jp\":!0,\"kosuge.yamanashi.jp\":!0,\"minami-alps.yamanashi.jp\":!0,\"minobu.yamanashi.jp\":!0,\"nakamichi.yamanashi.jp\":!0,\"nanbu.yamanashi.jp\":!0,\"narusawa.yamanashi.jp\":!0,\"nirasaki.yamanashi.jp\":!0,\"nishikatsura.yamanashi.jp\":!0,\"oshino.yamanashi.jp\":!0,\"otsuki.yamanashi.jp\":!0,\"showa.yamanashi.jp\":!0,\"tabayama.yamanashi.jp\":!0,\"tsuru.yamanashi.jp\":!0,\"uenohara.yamanashi.jp\":!0,\"yamanakako.yamanashi.jp\":!0,\"yamanashi.yamanashi.jp\":!0,\"*.ke\":!0,kg:!0,\"org.kg\":!0,\"net.kg\":!0,\"com.kg\":!0,\"edu.kg\":!0,\"gov.kg\":!0,\"mil.kg\":!0,\"*.kh\":!0,ki:!0,\"edu.ki\":!0,\"biz.ki\":!0,\"net.ki\":!0,\"org.ki\":!0,\"gov.ki\":!0,\"info.ki\":!0,\"com.ki\":!0,km:!0,\"org.km\":!0,\"nom.km\":!0,\"gov.km\":!0,\"prd.km\":!0,\"tm.km\":!0,\"edu.km\":!0,\"mil.km\":!0,\"ass.km\":!0,\"com.km\":!0,\"coop.km\":!0,\"asso.km\":!0,\"presse.km\":!0,\"medecin.km\":!0,\"notaires.km\":!0,\"pharmaciens.km\":!0,\"veterinaire.km\":!0,\"gouv.km\":!0,kn:!0,\"net.kn\":!0,\"org.kn\":!0,\"edu.kn\":!0,\"gov.kn\":!0,kp:!0,\"com.kp\":!0,\"edu.kp\":!0,\"gov.kp\":!0,\"org.kp\":!0,\"rep.kp\":!0,\"tra.kp\":!0,kr:!0,\"ac.kr\":!0,\"co.kr\":!0,\"es.kr\":!0,\"go.kr\":!0,\"hs.kr\":!0,\"kg.kr\":!0,\"mil.kr\":!0,\"ms.kr\":!0,\"ne.kr\":!0,\"or.kr\":!0,\"pe.kr\":!0,\"re.kr\":!0,\"sc.kr\":!0,\"busan.kr\":!0,\"chungbuk.kr\":!0,\"chungnam.kr\":!0,\"daegu.kr\":!0,\"daejeon.kr\":!0,\"gangwon.kr\":!0,\"gwangju.kr\":!0,\"gyeongbuk.kr\":!0,\"gyeonggi.kr\":!0,\"gyeongnam.kr\":!0,\"incheon.kr\":!0,\"jeju.kr\":!0,\"jeonbuk.kr\":!0,\"jeonnam.kr\":!0,\"seoul.kr\":!0,\"ulsan.kr\":!0,\"*.kw\":!0,ky:!0,\"edu.ky\":!0,\"gov.ky\":!0,\"com.ky\":!0,\"org.ky\":!0,\"net.ky\":!0,kz:!0,\"org.kz\":!0,\"edu.kz\":!0,\"net.kz\":!0,\"gov.kz\":!0,\"mil.kz\":!0,\"com.kz\":!0,la:!0,\"int.la\":!0,\"net.la\":!0,\"info.la\":!0,\"edu.la\":!0,\"gov.la\":!0,\"per.la\":!0,\"com.la\":!0,\"org.la\":!0,lb:!0,\"com.lb\":!0,\"edu.lb\":!0,\"gov.lb\":!0,\"net.lb\":!0,\"org.lb\":!0,lc:!0,\"com.lc\":!0,\"net.lc\":!0,\"co.lc\":!0,\"org.lc\":!0,\"edu.lc\":!0,\"gov.lc\":!0,li:!0,lk:!0,\"gov.lk\":!0,\"sch.lk\":!0,\"net.lk\":!0,\"int.lk\":!0,\"com.lk\":!0,\"org.lk\":!0,\"edu.lk\":!0,\"ngo.lk\":!0,\"soc.lk\":!0,\"web.lk\":!0,\"ltd.lk\":!0,\"assn.lk\":!0,\"grp.lk\":!0,\"hotel.lk\":!0,\"ac.lk\":!0,lr:!0,\"com.lr\":!0,\"edu.lr\":!0,\"gov.lr\":!0,\"org.lr\":!0,\"net.lr\":!0,ls:!0,\"co.ls\":!0,\"org.ls\":!0,lt:!0,\"gov.lt\":!0,lu:!0,lv:!0,\"com.lv\":!0,\"edu.lv\":!0,\"gov.lv\":!0,\"org.lv\":!0,\"mil.lv\":!0,\"id.lv\":!0,\"net.lv\":!0,\"asn.lv\":!0,\"conf.lv\":!0,ly:!0,\"com.ly\":!0,\"net.ly\":!0,\"gov.ly\":!0,\"plc.ly\":!0,\"edu.ly\":!0,\"sch.ly\":!0,\"med.ly\":!0,\"org.ly\":!0,\"id.ly\":!0,ma:!0,\"co.ma\":!0,\"net.ma\":!0,\"gov.ma\":!0,\"org.ma\":!0,\"ac.ma\":!0,\"press.ma\":!0,mc:!0,\"tm.mc\":!0,\"asso.mc\":!0,md:!0,me:!0,\"co.me\":!0,\"net.me\":!0,\"org.me\":!0,\"edu.me\":!0,\"ac.me\":!0,\"gov.me\":!0,\"its.me\":!0,\"priv.me\":!0,mg:!0,\"org.mg\":!0,\"nom.mg\":!0,\"gov.mg\":!0,\"prd.mg\":!0,\"tm.mg\":!0,\"edu.mg\":!0,\"mil.mg\":!0,\"com.mg\":!0,\"co.mg\":!0,mh:!0,mil:!0,mk:!0,\"com.mk\":!0,\"org.mk\":!0,\"net.mk\":!0,\"edu.mk\":!0,\"gov.mk\":!0,\"inf.mk\":!0,\"name.mk\":!0,ml:!0,\"com.ml\":!0,\"edu.ml\":!0,\"gouv.ml\":!0,\"gov.ml\":!0,\"net.ml\":!0,\"org.ml\":!0,\"presse.ml\":!0,\"*.mm\":!0,mn:!0,\"gov.mn\":!0,\"edu.mn\":!0,\"org.mn\":!0,mo:!0,\"com.mo\":!0,\"net.mo\":!0,\"org.mo\":!0,\"edu.mo\":!0,\"gov.mo\":!0,mobi:!0,mp:!0,mq:!0,mr:!0,\"gov.mr\":!0,ms:!0,\"com.ms\":!0,\"edu.ms\":!0,\"gov.ms\":!0,\"net.ms\":!0,\"org.ms\":!0,mt:!0,\"com.mt\":!0,\"edu.mt\":!0,\"net.mt\":!0,\"org.mt\":!0,mu:!0,\"com.mu\":!0,\"net.mu\":!0,\"org.mu\":!0,\"gov.mu\":!0,\"ac.mu\":!0,\"co.mu\":!0,\"or.mu\":!0,museum:!0,\"academy.museum\":!0,\"agriculture.museum\":!0,\"air.museum\":!0,\"airguard.museum\":!0,\"alabama.museum\":!0,\"alaska.museum\":!0,\"amber.museum\":!0,\"ambulance.museum\":!0,\"american.museum\":!0,\"americana.museum\":!0,\"americanantiques.museum\":!0,\"americanart.museum\":!0,\"amsterdam.museum\":!0,\"and.museum\":!0,\"annefrank.museum\":!0,\"anthro.museum\":!0,\"anthropology.museum\":!0,\"antiques.museum\":!0,\"aquarium.museum\":!0,\"arboretum.museum\":!0,\"archaeological.museum\":!0,\"archaeology.museum\":!0,\"architecture.museum\":!0,\"art.museum\":!0,\"artanddesign.museum\":!0,\"artcenter.museum\":!0,\"artdeco.museum\":!0,\"arteducation.museum\":!0,\"artgallery.museum\":!0,\"arts.museum\":!0,\"artsandcrafts.museum\":!0,\"asmatart.museum\":!0,\"assassination.museum\":!0,\"assisi.museum\":!0,\"association.museum\":!0,\"astronomy.museum\":!0,\"atlanta.museum\":!0,\"austin.museum\":!0,\"australia.museum\":!0,\"automotive.museum\":!0,\"aviation.museum\":!0,\"axis.museum\":!0,\"badajoz.museum\":!0,\"baghdad.museum\":!0,\"bahn.museum\":!0,\"bale.museum\":!0,\"baltimore.museum\":!0,\"barcelona.museum\":!0,\"baseball.museum\":!0,\"basel.museum\":!0,\"baths.museum\":!0,\"bauern.museum\":!0,\"beauxarts.museum\":!0,\"beeldengeluid.museum\":!0,\"bellevue.museum\":!0,\"bergbau.museum\":!0,\"berkeley.museum\":!0,\"berlin.museum\":!0,\"bern.museum\":!0,\"bible.museum\":!0,\"bilbao.museum\":!0,\"bill.museum\":!0,\"birdart.museum\":!0,\"birthplace.museum\":!0,\"bonn.museum\":!0,\"boston.museum\":!0,\"botanical.museum\":!0,\"botanicalgarden.museum\":!0,\"botanicgarden.museum\":!0,\"botany.museum\":!0,\"brandywinevalley.museum\":!0,\"brasil.museum\":!0,\"bristol.museum\":!0,\"british.museum\":!0,\"britishcolumbia.museum\":!0,\"broadcast.museum\":!0,\"brunel.museum\":!0,\"brussel.museum\":!0,\"brussels.museum\":!0,\"bruxelles.museum\":!0,\"building.museum\":!0,\"burghof.museum\":!0,\"bus.museum\":!0,\"bushey.museum\":!0,\"cadaques.museum\":!0,\"california.museum\":!0,\"cambridge.museum\":!0,\"can.museum\":!0,\"canada.museum\":!0,\"capebreton.museum\":!0,\"carrier.museum\":!0,\"cartoonart.museum\":!0,\"casadelamoneda.museum\":!0,\"castle.museum\":!0,\"castres.museum\":!0,\"celtic.museum\":!0,\"center.museum\":!0,\"chattanooga.museum\":!0,\"cheltenham.museum\":!0,\"chesapeakebay.museum\":!0,\"chicago.museum\":!0,\"children.museum\":!0,\"childrens.museum\":!0,\"childrensgarden.museum\":!0,\"chiropractic.museum\":!0,\"chocolate.museum\":!0,\"christiansburg.museum\":!0,\"cincinnati.museum\":!0,\"cinema.museum\":!0,\"circus.museum\":!0,\"civilisation.museum\":!0,\"civilization.museum\":!0,\"civilwar.museum\":!0,\"clinton.museum\":!0,\"clock.museum\":!0,\"coal.museum\":!0,\"coastaldefence.museum\":!0,\"cody.museum\":!0,\"coldwar.museum\":!0,\"collection.museum\":!0,\"colonialwilliamsburg.museum\":!0,\"coloradoplateau.museum\":!0,\"columbia.museum\":!0,\"columbus.museum\":!0,\"communication.museum\":!0,\"communications.museum\":!0,\"community.museum\":!0,\"computer.museum\":!0,\"computerhistory.museum\":!0,\"xn--comunicaes-v6a2o.museum\":!0,\"contemporary.museum\":!0,\"contemporaryart.museum\":!0,\"convent.museum\":!0,\"copenhagen.museum\":!0,\"corporation.museum\":!0,\"xn--correios-e-telecomunicaes-ghc29a.museum\":!0,\"corvette.museum\":!0,\"costume.museum\":!0,\"countryestate.museum\":!0,\"county.museum\":!0,\"crafts.museum\":!0,\"cranbrook.museum\":!0,\"creation.museum\":!0,\"cultural.museum\":!0,\"culturalcenter.museum\":!0,\"culture.museum\":!0,\"cyber.museum\":!0,\"cymru.museum\":!0,\"dali.museum\":!0,\"dallas.museum\":!0,\"database.museum\":!0,\"ddr.museum\":!0,\"decorativearts.museum\":!0,\"delaware.museum\":!0,\"delmenhorst.museum\":!0,\"denmark.museum\":!0,\"depot.museum\":!0,\"design.museum\":!0,\"detroit.museum\":!0,\"dinosaur.museum\":!0,\"discovery.museum\":!0,\"dolls.museum\":!0,\"donostia.museum\":!0,\"durham.museum\":!0,\"eastafrica.museum\":!0,\"eastcoast.museum\":!0,\"education.museum\":!0,\"educational.museum\":!0,\"egyptian.museum\":!0,\"eisenbahn.museum\":!0,\"elburg.museum\":!0,\"elvendrell.museum\":!0,\"embroidery.museum\":!0,\"encyclopedic.museum\":!0,\"england.museum\":!0,\"entomology.museum\":!0,\"environment.museum\":!0,\"environmentalconservation.museum\":!0,\"epilepsy.museum\":!0,\"essex.museum\":!0,\"estate.museum\":!0,\"ethnology.museum\":!0,\"exeter.museum\":!0,\"exhibition.museum\":!0,\"family.museum\":!0,\"farm.museum\":!0,\"farmequipment.museum\":!0,\"farmers.museum\":!0,\"farmstead.museum\":!0,\"field.museum\":!0,\"figueres.museum\":!0,\"filatelia.museum\":!0,\"film.museum\":!0,\"fineart.museum\":!0,\"finearts.museum\":!0,\"finland.museum\":!0,\"flanders.museum\":!0,\"florida.museum\":!0,\"force.museum\":!0,\"fortmissoula.museum\":!0,\"fortworth.museum\":!0,\"foundation.museum\":!0,\"francaise.museum\":!0,\"frankfurt.museum\":!0,\"franziskaner.museum\":!0,\"freemasonry.museum\":!0,\"freiburg.museum\":!0,\"fribourg.museum\":!0,\"frog.museum\":!0,\"fundacio.museum\":!0,\"furniture.museum\":!0,\"gallery.museum\":!0,\"garden.museum\":!0,\"gateway.museum\":!0,\"geelvinck.museum\":!0,\"gemological.museum\":!0,\"geology.museum\":!0,\"georgia.museum\":!0,\"giessen.museum\":!0,\"glas.museum\":!0,\"glass.museum\":!0,\"gorge.museum\":!0,\"grandrapids.museum\":!0,\"graz.museum\":!0,\"guernsey.museum\":!0,\"halloffame.museum\":!0,\"hamburg.museum\":!0,\"handson.museum\":!0,\"harvestcelebration.museum\":!0,\"hawaii.museum\":!0,\"health.museum\":!0,\"heimatunduhren.museum\":!0,\"hellas.museum\":!0,\"helsinki.museum\":!0,\"hembygdsforbund.museum\":!0,\"heritage.museum\":!0,\"histoire.museum\":!0,\"historical.museum\":!0,\"historicalsociety.museum\":!0,\"historichouses.museum\":!0,\"historisch.museum\":!0,\"historisches.museum\":!0,\"history.museum\":!0,\"historyofscience.museum\":!0,\"horology.museum\":!0,\"house.museum\":!0,\"humanities.museum\":!0,\"illustration.museum\":!0,\"imageandsound.museum\":!0,\"indian.museum\":!0,\"indiana.museum\":!0,\"indianapolis.museum\":!0,\"indianmarket.museum\":!0,\"intelligence.museum\":!0,\"interactive.museum\":!0,\"iraq.museum\":!0,\"iron.museum\":!0,\"isleofman.museum\":!0,\"jamison.museum\":!0,\"jefferson.museum\":!0,\"jerusalem.museum\":!0,\"jewelry.museum\":!0,\"jewish.museum\":!0,\"jewishart.museum\":!0,\"jfk.museum\":!0,\"journalism.museum\":!0,\"judaica.museum\":!0,\"judygarland.museum\":!0,\"juedisches.museum\":!0,\"juif.museum\":!0,\"karate.museum\":!0,\"karikatur.museum\":!0,\"kids.museum\":!0,\"koebenhavn.museum\":!0,\"koeln.museum\":!0,\"kunst.museum\":!0,\"kunstsammlung.museum\":!0,\"kunstunddesign.museum\":!0,\"labor.museum\":!0,\"labour.museum\":!0,\"lajolla.museum\":!0,\"lancashire.museum\":!0,\"landes.museum\":!0,\"lans.museum\":!0,\"xn--lns-qla.museum\":!0,\"larsson.museum\":!0,\"lewismiller.museum\":!0,\"lincoln.museum\":!0,\"linz.museum\":!0,\"living.museum\":!0,\"livinghistory.museum\":!0,\"localhistory.museum\":!0,\"london.museum\":!0,\"losangeles.museum\":!0,\"louvre.museum\":!0,\"loyalist.museum\":!0,\"lucerne.museum\":!0,\"luxembourg.museum\":!0,\"luzern.museum\":!0,\"mad.museum\":!0,\"madrid.museum\":!0,\"mallorca.museum\":!0,\"manchester.museum\":!0,\"mansion.museum\":!0,\"mansions.museum\":!0,\"manx.museum\":!0,\"marburg.museum\":!0,\"maritime.museum\":!0,\"maritimo.museum\":!0,\"maryland.museum\":!0,\"marylhurst.museum\":!0,\"media.museum\":!0,\"medical.museum\":!0,\"medizinhistorisches.museum\":!0,\"meeres.museum\":!0,\"memorial.museum\":!0,\"mesaverde.museum\":!0,\"michigan.museum\":!0,\"midatlantic.museum\":!0,\"military.museum\":!0,\"mill.museum\":!0,\"miners.museum\":!0,\"mining.museum\":!0,\"minnesota.museum\":!0,\"missile.museum\":!0,\"missoula.museum\":!0,\"modern.museum\":!0,\"moma.museum\":!0,\"money.museum\":!0,\"monmouth.museum\":!0,\"monticello.museum\":!0,\"montreal.museum\":!0,\"moscow.museum\":!0,\"motorcycle.museum\":!0,\"muenchen.museum\":!0,\"muenster.museum\":!0,\"mulhouse.museum\":!0,\"muncie.museum\":!0,\"museet.museum\":!0,\"museumcenter.museum\":!0,\"museumvereniging.museum\":!0,\"music.museum\":!0,\"national.museum\":!0,\"nationalfirearms.museum\":!0,\"nationalheritage.museum\":!0,\"nativeamerican.museum\":!0,\"naturalhistory.museum\":!0,\"naturalhistorymuseum.museum\":!0,\"naturalsciences.museum\":!0,\"nature.museum\":!0,\"naturhistorisches.museum\":!0,\"natuurwetenschappen.museum\":!0,\"naumburg.museum\":!0,\"naval.museum\":!0,\"nebraska.museum\":!0,\"neues.museum\":!0,\"newhampshire.museum\":!0,\"newjersey.museum\":!0,\"newmexico.museum\":!0,\"newport.museum\":!0,\"newspaper.museum\":!0,\"newyork.museum\":!0,\"niepce.museum\":!0,\"norfolk.museum\":!0,\"north.museum\":!0,\"nrw.museum\":!0,\"nuernberg.museum\":!0,\"nuremberg.museum\":!0,\"nyc.museum\":!0,\"nyny.museum\":!0,\"oceanographic.museum\":!0,\"oceanographique.museum\":!0,\"omaha.museum\":!0,\"online.museum\":!0,\"ontario.museum\":!0,\"openair.museum\":!0,\"oregon.museum\":!0,\"oregontrail.museum\":!0,\"otago.museum\":!0,\"oxford.museum\":!0,\"pacific.museum\":!0,\"paderborn.museum\":!0,\"palace.museum\":!0,\"paleo.museum\":!0,\"palmsprings.museum\":!0,\"panama.museum\":!0,\"paris.museum\":!0,\"pasadena.museum\":!0,\"pharmacy.museum\":!0,\"philadelphia.museum\":!0,\"philadelphiaarea.museum\":!0,\"philately.museum\":!0,\"phoenix.museum\":!0,\"photography.museum\":!0,\"pilots.museum\":!0,\"pittsburgh.museum\":!0,\"planetarium.museum\":!0,\"plantation.museum\":!0,\"plants.museum\":!0,\"plaza.museum\":!0,\"portal.museum\":!0,\"portland.museum\":!0,\"portlligat.museum\":!0,\"posts-and-telecommunications.museum\":!0,\"preservation.museum\":!0,\"presidio.museum\":!0,\"press.museum\":!0,\"project.museum\":!0,\"public.museum\":!0,\"pubol.museum\":!0,\"quebec.museum\":!0,\"railroad.museum\":!0,\"railway.museum\":!0,\"research.museum\":!0,\"resistance.museum\":!0,\"riodejaneiro.museum\":!0,\"rochester.museum\":!0,\"rockart.museum\":!0,\"roma.museum\":!0,\"russia.museum\":!0,\"saintlouis.museum\":!0,\"salem.museum\":!0,\"salvadordali.museum\":!0,\"salzburg.museum\":!0,\"sandiego.museum\":!0,\"sanfrancisco.museum\":!0,\"santabarbara.museum\":!0,\"santacruz.museum\":!0,\"santafe.museum\":!0,\"saskatchewan.museum\":!0,\"satx.museum\":!0,\"savannahga.museum\":!0,\"schlesisches.museum\":!0,\"schoenbrunn.museum\":!0,\"schokoladen.museum\":!0,\"school.museum\":!0,\"schweiz.museum\":!0,\"science.museum\":!0,\"scienceandhistory.museum\":!0,\"scienceandindustry.museum\":!0,\"sciencecenter.museum\":!0,\"sciencecenters.museum\":!0,\"science-fiction.museum\":!0,\"sciencehistory.museum\":!0,\"sciences.museum\":!0,\"sciencesnaturelles.museum\":!0,\"scotland.museum\":!0,\"seaport.museum\":!0,\"settlement.museum\":!0,\"settlers.museum\":!0,\"shell.museum\":!0,\"sherbrooke.museum\":!0,\"sibenik.museum\":!0,\"silk.museum\":!0,\n\"ski.museum\":!0,\"skole.museum\":!0,\"society.museum\":!0,\"sologne.museum\":!0,\"soundandvision.museum\":!0,\"southcarolina.museum\":!0,\"southwest.museum\":!0,\"space.museum\":!0,\"spy.museum\":!0,\"square.museum\":!0,\"stadt.museum\":!0,\"stalbans.museum\":!0,\"starnberg.museum\":!0,\"state.museum\":!0,\"stateofdelaware.museum\":!0,\"station.museum\":!0,\"steam.museum\":!0,\"steiermark.museum\":!0,\"stjohn.museum\":!0,\"stockholm.museum\":!0,\"stpetersburg.museum\":!0,\"stuttgart.museum\":!0,\"suisse.museum\":!0,\"surgeonshall.museum\":!0,\"surrey.museum\":!0,\"svizzera.museum\":!0,\"sweden.museum\":!0,\"sydney.museum\":!0,\"tank.museum\":!0,\"tcm.museum\":!0,\"technology.museum\":!0,\"telekommunikation.museum\":!0,\"television.museum\":!0,\"texas.museum\":!0,\"textile.museum\":!0,\"theater.museum\":!0,\"time.museum\":!0,\"timekeeping.museum\":!0,\"topology.museum\":!0,\"torino.museum\":!0,\"touch.museum\":!0,\"town.museum\":!0,\"transport.museum\":!0,\"tree.museum\":!0,\"trolley.museum\":!0,\"trust.museum\":!0,\"trustee.museum\":!0,\"uhren.museum\":!0,\"ulm.museum\":!0,\"undersea.museum\":!0,\"university.museum\":!0,\"usa.museum\":!0,\"usantiques.museum\":!0,\"usarts.museum\":!0,\"uscountryestate.museum\":!0,\"usculture.museum\":!0,\"usdecorativearts.museum\":!0,\"usgarden.museum\":!0,\"ushistory.museum\":!0,\"ushuaia.museum\":!0,\"uslivinghistory.museum\":!0,\"utah.museum\":!0,\"uvic.museum\":!0,\"valley.museum\":!0,\"vantaa.museum\":!0,\"versailles.museum\":!0,\"viking.museum\":!0,\"village.museum\":!0,\"virginia.museum\":!0,\"virtual.museum\":!0,\"virtuel.museum\":!0,\"vlaanderen.museum\":!0,\"volkenkunde.museum\":!0,\"wales.museum\":!0,\"wallonie.museum\":!0,\"war.museum\":!0,\"washingtondc.museum\":!0,\"watchandclock.museum\":!0,\"watch-and-clock.museum\":!0,\"western.museum\":!0,\"westfalen.museum\":!0,\"whaling.museum\":!0,\"wildlife.museum\":!0,\"williamsburg.museum\":!0,\"windmill.museum\":!0,\"workshop.museum\":!0,\"york.museum\":!0,\"yorkshire.museum\":!0,\"yosemite.museum\":!0,\"youth.museum\":!0,\"zoological.museum\":!0,\"zoology.museum\":!0,\"xn--9dbhblg6di.museum\":!0,\"xn--h1aegh.museum\":!0,mv:!0,\"aero.mv\":!0,\"biz.mv\":!0,\"com.mv\":!0,\"coop.mv\":!0,\"edu.mv\":!0,\"gov.mv\":!0,\"info.mv\":!0,\"int.mv\":!0,\"mil.mv\":!0,\"museum.mv\":!0,\"name.mv\":!0,\"net.mv\":!0,\"org.mv\":!0,\"pro.mv\":!0,mw:!0,\"ac.mw\":!0,\"biz.mw\":!0,\"co.mw\":!0,\"com.mw\":!0,\"coop.mw\":!0,\"edu.mw\":!0,\"gov.mw\":!0,\"int.mw\":!0,\"museum.mw\":!0,\"net.mw\":!0,\"org.mw\":!0,mx:!0,\"com.mx\":!0,\"org.mx\":!0,\"gob.mx\":!0,\"edu.mx\":!0,\"net.mx\":!0,my:!0,\"com.my\":!0,\"net.my\":!0,\"org.my\":!0,\"gov.my\":!0,\"edu.my\":!0,\"mil.my\":!0,\"name.my\":!0,\"*.mz\":!0,\"teledata.mz\":!1,na:!0,\"info.na\":!0,\"pro.na\":!0,\"name.na\":!0,\"school.na\":!0,\"or.na\":!0,\"dr.na\":!0,\"us.na\":!0,\"mx.na\":!0,\"ca.na\":!0,\"in.na\":!0,\"cc.na\":!0,\"tv.na\":!0,\"ws.na\":!0,\"mobi.na\":!0,\"co.na\":!0,\"com.na\":!0,\"org.na\":!0,name:!0,nc:!0,\"asso.nc\":!0,ne:!0,net:!0,nf:!0,\"com.nf\":!0,\"net.nf\":!0,\"per.nf\":!0,\"rec.nf\":!0,\"web.nf\":!0,\"arts.nf\":!0,\"firm.nf\":!0,\"info.nf\":!0,\"other.nf\":!0,\"store.nf\":!0,ng:!0,\"com.ng\":!0,\"edu.ng\":!0,\"name.ng\":!0,\"net.ng\":!0,\"org.ng\":!0,\"sch.ng\":!0,\"gov.ng\":!0,\"mil.ng\":!0,\"mobi.ng\":!0,\"*.ni\":!0,nl:!0,\"bv.nl\":!0,no:!0,\"fhs.no\":!0,\"vgs.no\":!0,\"fylkesbibl.no\":!0,\"folkebibl.no\":!0,\"museum.no\":!0,\"idrett.no\":!0,\"priv.no\":!0,\"mil.no\":!0,\"stat.no\":!0,\"dep.no\":!0,\"kommune.no\":!0,\"herad.no\":!0,\"aa.no\":!0,\"ah.no\":!0,\"bu.no\":!0,\"fm.no\":!0,\"hl.no\":!0,\"hm.no\":!0,\"jan-mayen.no\":!0,\"mr.no\":!0,\"nl.no\":!0,\"nt.no\":!0,\"of.no\":!0,\"ol.no\":!0,\"oslo.no\":!0,\"rl.no\":!0,\"sf.no\":!0,\"st.no\":!0,\"svalbard.no\":!0,\"tm.no\":!0,\"tr.no\":!0,\"va.no\":!0,\"vf.no\":!0,\"gs.aa.no\":!0,\"gs.ah.no\":!0,\"gs.bu.no\":!0,\"gs.fm.no\":!0,\"gs.hl.no\":!0,\"gs.hm.no\":!0,\"gs.jan-mayen.no\":!0,\"gs.mr.no\":!0,\"gs.nl.no\":!0,\"gs.nt.no\":!0,\"gs.of.no\":!0,\"gs.ol.no\":!0,\"gs.oslo.no\":!0,\"gs.rl.no\":!0,\"gs.sf.no\":!0,\"gs.st.no\":!0,\"gs.svalbard.no\":!0,\"gs.tm.no\":!0,\"gs.tr.no\":!0,\"gs.va.no\":!0,\"gs.vf.no\":!0,\"akrehamn.no\":!0,\"xn--krehamn-dxa.no\":!0,\"algard.no\":!0,\"xn--lgrd-poac.no\":!0,\"arna.no\":!0,\"brumunddal.no\":!0,\"bryne.no\":!0,\"bronnoysund.no\":!0,\"xn--brnnysund-m8ac.no\":!0,\"drobak.no\":!0,\"xn--drbak-wua.no\":!0,\"egersund.no\":!0,\"fetsund.no\":!0,\"floro.no\":!0,\"xn--flor-jra.no\":!0,\"fredrikstad.no\":!0,\"hokksund.no\":!0,\"honefoss.no\":!0,\"xn--hnefoss-q1a.no\":!0,\"jessheim.no\":!0,\"jorpeland.no\":!0,\"xn--jrpeland-54a.no\":!0,\"kirkenes.no\":!0,\"kopervik.no\":!0,\"krokstadelva.no\":!0,\"langevag.no\":!0,\"xn--langevg-jxa.no\":!0,\"leirvik.no\":!0,\"mjondalen.no\":!0,\"xn--mjndalen-64a.no\":!0,\"mo-i-rana.no\":!0,\"mosjoen.no\":!0,\"xn--mosjen-eya.no\":!0,\"nesoddtangen.no\":!0,\"orkanger.no\":!0,\"osoyro.no\":!0,\"xn--osyro-wua.no\":!0,\"raholt.no\":!0,\"xn--rholt-mra.no\":!0,\"sandnessjoen.no\":!0,\"xn--sandnessjen-ogb.no\":!0,\"skedsmokorset.no\":!0,\"slattum.no\":!0,\"spjelkavik.no\":!0,\"stathelle.no\":!0,\"stavern.no\":!0,\"stjordalshalsen.no\":!0,\"xn--stjrdalshalsen-sqb.no\":!0,\"tananger.no\":!0,\"tranby.no\":!0,\"vossevangen.no\":!0,\"afjord.no\":!0,\"xn--fjord-lra.no\":!0,\"agdenes.no\":!0,\"al.no\":!0,\"xn--l-1fa.no\":!0,\"alesund.no\":!0,\"xn--lesund-hua.no\":!0,\"alstahaug.no\":!0,\"alta.no\":!0,\"xn--lt-liac.no\":!0,\"alaheadju.no\":!0,\"xn--laheadju-7ya.no\":!0,\"alvdal.no\":!0,\"amli.no\":!0,\"xn--mli-tla.no\":!0,\"amot.no\":!0,\"xn--mot-tla.no\":!0,\"andebu.no\":!0,\"andoy.no\":!0,\"xn--andy-ira.no\":!0,\"andasuolo.no\":!0,\"ardal.no\":!0,\"xn--rdal-poa.no\":!0,\"aremark.no\":!0,\"arendal.no\":!0,\"xn--s-1fa.no\":!0,\"aseral.no\":!0,\"xn--seral-lra.no\":!0,\"asker.no\":!0,\"askim.no\":!0,\"askvoll.no\":!0,\"askoy.no\":!0,\"xn--asky-ira.no\":!0,\"asnes.no\":!0,\"xn--snes-poa.no\":!0,\"audnedaln.no\":!0,\"aukra.no\":!0,\"aure.no\":!0,\"aurland.no\":!0,\"aurskog-holand.no\":!0,\"xn--aurskog-hland-jnb.no\":!0,\"austevoll.no\":!0,\"austrheim.no\":!0,\"averoy.no\":!0,\"xn--avery-yua.no\":!0,\"balestrand.no\":!0,\"ballangen.no\":!0,\"balat.no\":!0,\"xn--blt-elab.no\":!0,\"balsfjord.no\":!0,\"bahccavuotna.no\":!0,\"xn--bhccavuotna-k7a.no\":!0,\"bamble.no\":!0,\"bardu.no\":!0,\"beardu.no\":!0,\"beiarn.no\":!0,\"bajddar.no\":!0,\"xn--bjddar-pta.no\":!0,\"baidar.no\":!0,\"xn--bidr-5nac.no\":!0,\"berg.no\":!0,\"bergen.no\":!0,\"berlevag.no\":!0,\"xn--berlevg-jxa.no\":!0,\"bearalvahki.no\":!0,\"xn--bearalvhki-y4a.no\":!0,\"bindal.no\":!0,\"birkenes.no\":!0,\"bjarkoy.no\":!0,\"xn--bjarky-fya.no\":!0,\"bjerkreim.no\":!0,\"bjugn.no\":!0,\"bodo.no\":!0,\"xn--bod-2na.no\":!0,\"badaddja.no\":!0,\"xn--bdddj-mrabd.no\":!0,\"budejju.no\":!0,\"bokn.no\":!0,\"bremanger.no\":!0,\"bronnoy.no\":!0,\"xn--brnny-wuac.no\":!0,\"bygland.no\":!0,\"bykle.no\":!0,\"barum.no\":!0,\"xn--brum-voa.no\":!0,\"bo.telemark.no\":!0,\"xn--b-5ga.telemark.no\":!0,\"bo.nordland.no\":!0,\"xn--b-5ga.nordland.no\":!0,\"bievat.no\":!0,\"xn--bievt-0qa.no\":!0,\"bomlo.no\":!0,\"xn--bmlo-gra.no\":!0,\"batsfjord.no\":!0,\"xn--btsfjord-9za.no\":!0,\"bahcavuotna.no\":!0,\"xn--bhcavuotna-s4a.no\":!0,\"dovre.no\":!0,\"drammen.no\":!0,\"drangedal.no\":!0,\"dyroy.no\":!0,\"xn--dyry-ira.no\":!0,\"donna.no\":!0,\"xn--dnna-gra.no\":!0,\"eid.no\":!0,\"eidfjord.no\":!0,\"eidsberg.no\":!0,\"eidskog.no\":!0,\"eidsvoll.no\":!0,\"eigersund.no\":!0,\"elverum.no\":!0,\"enebakk.no\":!0,\"engerdal.no\":!0,\"etne.no\":!0,\"etnedal.no\":!0,\"evenes.no\":!0,\"evenassi.no\":!0,\"xn--eveni-0qa01ga.no\":!0,\"evje-og-hornnes.no\":!0,\"farsund.no\":!0,\"fauske.no\":!0,\"fuossko.no\":!0,\"fuoisku.no\":!0,\"fedje.no\":!0,\"fet.no\":!0,\"finnoy.no\":!0,\"xn--finny-yua.no\":!0,\"fitjar.no\":!0,\"fjaler.no\":!0,\"fjell.no\":!0,\"flakstad.no\":!0,\"flatanger.no\":!0,\"flekkefjord.no\":!0,\"flesberg.no\":!0,\"flora.no\":!0,\"fla.no\":!0,\"xn--fl-zia.no\":!0,\"folldal.no\":!0,\"forsand.no\":!0,\"fosnes.no\":!0,\"frei.no\":!0,\"frogn.no\":!0,\"froland.no\":!0,\"frosta.no\":!0,\"frana.no\":!0,\"xn--frna-woa.no\":!0,\"froya.no\":!0,\"xn--frya-hra.no\":!0,\"fusa.no\":!0,\"fyresdal.no\":!0,\"forde.no\":!0,\"xn--frde-gra.no\":!0,\"gamvik.no\":!0,\"gangaviika.no\":!0,\"xn--ggaviika-8ya47h.no\":!0,\"gaular.no\":!0,\"gausdal.no\":!0,\"gildeskal.no\":!0,\"xn--gildeskl-g0a.no\":!0,\"giske.no\":!0,\"gjemnes.no\":!0,\"gjerdrum.no\":!0,\"gjerstad.no\":!0,\"gjesdal.no\":!0,\"gjovik.no\":!0,\"xn--gjvik-wua.no\":!0,\"gloppen.no\":!0,\"gol.no\":!0,\"gran.no\":!0,\"grane.no\":!0,\"granvin.no\":!0,\"gratangen.no\":!0,\"grimstad.no\":!0,\"grong.no\":!0,\"kraanghke.no\":!0,\"xn--kranghke-b0a.no\":!0,\"grue.no\":!0,\"gulen.no\":!0,\"hadsel.no\":!0,\"halden.no\":!0,\"halsa.no\":!0,\"hamar.no\":!0,\"hamaroy.no\":!0,\"habmer.no\":!0,\"xn--hbmer-xqa.no\":!0,\"hapmir.no\":!0,\"xn--hpmir-xqa.no\":!0,\"hammerfest.no\":!0,\"hammarfeasta.no\":!0,\"xn--hmmrfeasta-s4ac.no\":!0,\"haram.no\":!0,\"hareid.no\":!0,\"harstad.no\":!0,\"hasvik.no\":!0,\"aknoluokta.no\":!0,\"xn--koluokta-7ya57h.no\":!0,\"hattfjelldal.no\":!0,\"aarborte.no\":!0,\"haugesund.no\":!0,\"hemne.no\":!0,\"hemnes.no\":!0,\"hemsedal.no\":!0,\"heroy.more-og-romsdal.no\":!0,\"xn--hery-ira.xn--mre-og-romsdal-qqb.no\":!0,\"heroy.nordland.no\":!0,\"xn--hery-ira.nordland.no\":!0,\"hitra.no\":!0,\"hjartdal.no\":!0,\"hjelmeland.no\":!0,\"hobol.no\":!0,\"xn--hobl-ira.no\":!0,\"hof.no\":!0,\"hol.no\":!0,\"hole.no\":!0,\"holmestrand.no\":!0,\"holtalen.no\":!0,\"xn--holtlen-hxa.no\":!0,\"hornindal.no\":!0,\"horten.no\":!0,\"hurdal.no\":!0,\"hurum.no\":!0,\"hvaler.no\":!0,\"hyllestad.no\":!0,\"hagebostad.no\":!0,\"xn--hgebostad-g3a.no\":!0,\"hoyanger.no\":!0,\"xn--hyanger-q1a.no\":!0,\"hoylandet.no\":!0,\"xn--hylandet-54a.no\":!0,\"ha.no\":!0,\"xn--h-2fa.no\":!0,\"ibestad.no\":!0,\"inderoy.no\":!0,\"xn--indery-fya.no\":!0,\"iveland.no\":!0,\"jevnaker.no\":!0,\"jondal.no\":!0,\"jolster.no\":!0,\"xn--jlster-bya.no\":!0,\"karasjok.no\":!0,\"karasjohka.no\":!0,\"xn--krjohka-hwab49j.no\":!0,\"karlsoy.no\":!0,\"galsa.no\":!0,\"xn--gls-elac.no\":!0,\"karmoy.no\":!0,\"xn--karmy-yua.no\":!0,\"kautokeino.no\":!0,\"guovdageaidnu.no\":!0,\"klepp.no\":!0,\"klabu.no\":!0,\"xn--klbu-woa.no\":!0,\"kongsberg.no\":!0,\"kongsvinger.no\":!0,\"kragero.no\":!0,\"xn--krager-gya.no\":!0,\"kristiansand.no\":!0,\"kristiansund.no\":!0,\"krodsherad.no\":!0,\"xn--krdsherad-m8a.no\":!0,\"kvalsund.no\":!0,\"rahkkeravju.no\":!0,\"xn--rhkkervju-01af.no\":!0,\"kvam.no\":!0,\"kvinesdal.no\":!0,\"kvinnherad.no\":!0,\"kviteseid.no\":!0,\"kvitsoy.no\":!0,\"xn--kvitsy-fya.no\":!0,\"kvafjord.no\":!0,\"xn--kvfjord-nxa.no\":!0,\"giehtavuoatna.no\":!0,\"kvanangen.no\":!0,\"xn--kvnangen-k0a.no\":!0,\"navuotna.no\":!0,\"xn--nvuotna-hwa.no\":!0,\"kafjord.no\":!0,\"xn--kfjord-iua.no\":!0,\"gaivuotna.no\":!0,\"xn--givuotna-8ya.no\":!0,\"larvik.no\":!0,\"lavangen.no\":!0,\"lavagis.no\":!0,\"loabat.no\":!0,\"xn--loabt-0qa.no\":!0,\"lebesby.no\":!0,\"davvesiida.no\":!0,\"leikanger.no\":!0,\"leirfjord.no\":!0,\"leka.no\":!0,\"leksvik.no\":!0,\"lenvik.no\":!0,\"leangaviika.no\":!0,\"xn--leagaviika-52b.no\":!0,\"lesja.no\":!0,\"levanger.no\":!0,\"lier.no\":!0,\"lierne.no\":!0,\"lillehammer.no\":!0,\"lillesand.no\":!0,\"lindesnes.no\":!0,\"lindas.no\":!0,\"xn--linds-pra.no\":!0,\"lom.no\":!0,\"loppa.no\":!0,\"lahppi.no\":!0,\"xn--lhppi-xqa.no\":!0,\"lund.no\":!0,\"lunner.no\":!0,\"luroy.no\":!0,\"xn--lury-ira.no\":!0,\"luster.no\":!0,\"lyngdal.no\":!0,\"lyngen.no\":!0,\"ivgu.no\":!0,\"lardal.no\":!0,\"lerdal.no\":!0,\"xn--lrdal-sra.no\":!0,\"lodingen.no\":!0,\"xn--ldingen-q1a.no\":!0,\"lorenskog.no\":!0,\"xn--lrenskog-54a.no\":!0,\"loten.no\":!0,\"xn--lten-gra.no\":!0,\"malvik.no\":!0,\"masoy.no\":!0,\"xn--msy-ula0h.no\":!0,\"muosat.no\":!0,\"xn--muost-0qa.no\":!0,\"mandal.no\":!0,\"marker.no\":!0,\"marnardal.no\":!0,\"masfjorden.no\":!0,\"meland.no\":!0,\"meldal.no\":!0,\"melhus.no\":!0,\"meloy.no\":!0,\"xn--mely-ira.no\":!0,\"meraker.no\":!0,\"xn--merker-kua.no\":!0,\"moareke.no\":!0,\"xn--moreke-jua.no\":!0,\"midsund.no\":!0,\"midtre-gauldal.no\":!0,\"modalen.no\":!0,\"modum.no\":!0,\"molde.no\":!0,\"moskenes.no\":!0,\"moss.no\":!0,\"mosvik.no\":!0,\"malselv.no\":!0,\"xn--mlselv-iua.no\":!0,\"malatvuopmi.no\":!0,\"xn--mlatvuopmi-s4a.no\":!0,\"namdalseid.no\":!0,\"aejrie.no\":!0,\"namsos.no\":!0,\"namsskogan.no\":!0,\"naamesjevuemie.no\":!0,\"xn--nmesjevuemie-tcba.no\":!0,\"laakesvuemie.no\":!0,\"nannestad.no\":!0,\"narvik.no\":!0,\"narviika.no\":!0,\"naustdal.no\":!0,\"nedre-eiker.no\":!0,\"nes.akershus.no\":!0,\"nes.buskerud.no\":!0,\"nesna.no\":!0,\"nesodden.no\":!0,\"nesseby.no\":!0,\"unjarga.no\":!0,\"xn--unjrga-rta.no\":!0,\"nesset.no\":!0,\"nissedal.no\":!0,\"nittedal.no\":!0,\"nord-aurdal.no\":!0,\"nord-fron.no\":!0,\"nord-odal.no\":!0,\"norddal.no\":!0,\"nordkapp.no\":!0,\"davvenjarga.no\":!0,\"xn--davvenjrga-y4a.no\":!0,\"nordre-land.no\":!0,\"nordreisa.no\":!0,\"raisa.no\":!0,\"xn--risa-5na.no\":!0,\"nore-og-uvdal.no\":!0,\"notodden.no\":!0,\"naroy.no\":!0,\"xn--nry-yla5g.no\":!0,\"notteroy.no\":!0,\"xn--nttery-byae.no\":!0,\"odda.no\":!0,\"oksnes.no\":!0,\"xn--ksnes-uua.no\":!0,\"oppdal.no\":!0,\"oppegard.no\":!0,\"xn--oppegrd-ixa.no\":!0,\"orkdal.no\":!0,\"orland.no\":!0,\"xn--rland-uua.no\":!0,\"orskog.no\":!0,\"xn--rskog-uua.no\":!0,\"orsta.no\":!0,\"xn--rsta-fra.no\":!0,\"os.hedmark.no\":!0,\"os.hordaland.no\":!0,\"osen.no\":!0,\"osteroy.no\":!0,\"xn--ostery-fya.no\":!0,\"ostre-toten.no\":!0,\"xn--stre-toten-zcb.no\":!0,\"overhalla.no\":!0,\"ovre-eiker.no\":!0,\"xn--vre-eiker-k8a.no\":!0,\"oyer.no\":!0,\"xn--yer-zna.no\":!0,\"oygarden.no\":!0,\"xn--ygarden-p1a.no\":!0,\"oystre-slidre.no\":!0,\"xn--ystre-slidre-ujb.no\":!0,\"porsanger.no\":!0,\"porsangu.no\":!0,\"xn--porsgu-sta26f.no\":!0,\"porsgrunn.no\":!0,\"radoy.no\":!0,\"xn--rady-ira.no\":!0,\"rakkestad.no\":!0,\"rana.no\":!0,\"ruovat.no\":!0,\"randaberg.no\":!0,\"rauma.no\":!0,\"rendalen.no\":!0,\"rennebu.no\":!0,\"rennesoy.no\":!0,\"xn--rennesy-v1a.no\":!0,\"rindal.no\":!0,\"ringebu.no\":!0,\"ringerike.no\":!0,\"ringsaker.no\":!0,\"rissa.no\":!0,\"risor.no\":!0,\"xn--risr-ira.no\":!0,\"roan.no\":!0,\"rollag.no\":!0,\"rygge.no\":!0,\"ralingen.no\":!0,\"xn--rlingen-mxa.no\":!0,\"rodoy.no\":!0,\"xn--rdy-0nab.no\":!0,\"romskog.no\":!0,\"xn--rmskog-bya.no\":!0,\"roros.no\":!0,\"xn--rros-gra.no\":!0,\"rost.no\":!0,\"xn--rst-0na.no\":!0,\"royken.no\":!0,\"xn--ryken-vua.no\":!0,\"royrvik.no\":!0,\"xn--ryrvik-bya.no\":!0,\"rade.no\":!0,\"xn--rde-ula.no\":!0,\"salangen.no\":!0,\"siellak.no\":!0,\"saltdal.no\":!0,\"salat.no\":!0,\"xn--slt-elab.no\":!0,\"xn--slat-5na.no\":!0,\"samnanger.no\":!0,\"sande.more-og-romsdal.no\":!0,\"sande.xn--mre-og-romsdal-qqb.no\":!0,\"sande.vestfold.no\":!0,\"sandefjord.no\":!0,\"sandnes.no\":!0,\"sandoy.no\":!0,\"xn--sandy-yua.no\":!0,\"sarpsborg.no\":!0,\"sauda.no\":!0,\"sauherad.no\":!0,\"sel.no\":!0,\"selbu.no\":!0,\"selje.no\":!0,\"seljord.no\":!0,\"sigdal.no\":!0,\"siljan.no\":!0,\"sirdal.no\":!0,\"skaun.no\":!0,\"skedsmo.no\":!0,\"ski.no\":!0,\"skien.no\":!0,\"skiptvet.no\":!0,\"skjervoy.no\":!0,\"xn--skjervy-v1a.no\":!0,\"skierva.no\":!0,\"xn--skierv-uta.no\":!0,\"skjak.no\":!0,\"xn--skjk-soa.no\":!0,\"skodje.no\":!0,\"skanland.no\":!0,\"xn--sknland-fxa.no\":!0,\"skanit.no\":!0,\"xn--sknit-yqa.no\":!0,\"smola.no\":!0,\"xn--smla-hra.no\":!0,\"snillfjord.no\":!0,\"snasa.no\":!0,\"xn--snsa-roa.no\":!0,\"snoasa.no\":!0,\"snaase.no\":!0,\"xn--snase-nra.no\":!0,\"sogndal.no\":!0,\"sokndal.no\":!0,\"sola.no\":!0,\"solund.no\":!0,\"songdalen.no\":!0,\"sortland.no\":!0,\"spydeberg.no\":!0,\"stange.no\":!0,\"stavanger.no\":!0,\"steigen.no\":!0,\"steinkjer.no\":!0,\"stjordal.no\":!0,\"xn--stjrdal-s1a.no\":!0,\"stokke.no\":!0,\"stor-elvdal.no\":!0,\"stord.no\":!0,\"stordal.no\":!0,\"storfjord.no\":!0,\"omasvuotna.no\":!0,\"strand.no\":!0,\"stranda.no\":!0,\"stryn.no\":!0,\"sula.no\":!0,\"suldal.no\":!0,\"sund.no\":!0,\"sunndal.no\":!0,\"surnadal.no\":!0,\"sveio.no\":!0,\"svelvik.no\":!0,\"sykkylven.no\":!0,\"sogne.no\":!0,\"xn--sgne-gra.no\":!0,\"somna.no\":!0,\"xn--smna-gra.no\":!0,\"sondre-land.no\":!0,\"xn--sndre-land-0cb.no\":!0,\"sor-aurdal.no\":!0,\"xn--sr-aurdal-l8a.no\":!0,\"sor-fron.no\":!0,\"xn--sr-fron-q1a.no\":!0,\"sor-odal.no\":!0,\"xn--sr-odal-q1a.no\":!0,\"sor-varanger.no\":!0,\"xn--sr-varanger-ggb.no\":!0,\"matta-varjjat.no\":!0,\"xn--mtta-vrjjat-k7af.no\":!0,\"sorfold.no\":!0,\"xn--srfold-bya.no\":!0,\"sorreisa.no\":!0,\"xn--srreisa-q1a.no\":!0,\"sorum.no\":!0,\"xn--srum-gra.no\":!0,\"tana.no\":!0,\"deatnu.no\":!0,\"time.no\":!0,\"tingvoll.no\":!0,\"tinn.no\":!0,\"tjeldsund.no\":!0,\"dielddanuorri.no\":!0,\"tjome.no\":!0,\"xn--tjme-hra.no\":!0,\"tokke.no\":!0,\"tolga.no\":!0,\"torsken.no\":!0,\"tranoy.no\":!0,\"xn--trany-yua.no\":!0,\"tromso.no\":!0,\"xn--troms-zua.no\":!0,\"tromsa.no\":!0,\"romsa.no\":!0,\"trondheim.no\":!0,\"troandin.no\":!0,\"trysil.no\":!0,\"trana.no\":!0,\"xn--trna-woa.no\":!0,\"trogstad.no\":!0,\"xn--trgstad-r1a.no\":!0,\"tvedestrand.no\":!0,\"tydal.no\":!0,\"tynset.no\":!0,\"tysfjord.no\":!0,\"divtasvuodna.no\":!0,\"divttasvuotna.no\":!0,\"tysnes.no\":!0,\"tysvar.no\":!0,\"xn--tysvr-vra.no\":!0,\"tonsberg.no\":!0,\"xn--tnsberg-q1a.no\":!0,\"ullensaker.no\":!0,\"ullensvang.no\":!0,\"ulvik.no\":!0,\"utsira.no\":!0,\"vadso.no\":!0,\"xn--vads-jra.no\":!0,\"cahcesuolo.no\":!0,\"xn--hcesuolo-7ya35b.no\":!0,\"vaksdal.no\":!0,\"valle.no\":!0,\"vang.no\":!0,\"vanylven.no\":!0,\"vardo.no\":!0,\"xn--vard-jra.no\":!0,\"varggat.no\":!0,\"xn--vrggt-xqad.no\":!0,\"vefsn.no\":!0,\"vaapste.no\":!0,\"vega.no\":!0,\"vegarshei.no\":!0,\"xn--vegrshei-c0a.no\":!0,\"vennesla.no\":!0,\"verdal.no\":!0,\"verran.no\":!0,\"vestby.no\":!0,\"vestnes.no\":!0,\"vestre-slidre.no\":!0,\"vestre-toten.no\":!0,\"vestvagoy.no\":!0,\"xn--vestvgy-ixa6o.no\":!0,\"vevelstad.no\":!0,\"vik.no\":!0,\"vikna.no\":!0,\"vindafjord.no\":!0,\"volda.no\":!0,\"voss.no\":!0,\"varoy.no\":!0,\"xn--vry-yla5g.no\":!0,\"vagan.no\":!0,\"xn--vgan-qoa.no\":!0,\"voagat.no\":!0,\"vagsoy.no\":!0,\"xn--vgsy-qoa0j.no\":!0,\"vaga.no\":!0,\"xn--vg-yiab.no\":!0,\"valer.ostfold.no\":!0,\"xn--vler-qoa.xn--stfold-9xa.no\":!0,\"valer.hedmark.no\":!0,\"xn--vler-qoa.hedmark.no\":!0,\"*.np\":!0,nr:!0,\"biz.nr\":!0,\"info.nr\":!0,\"gov.nr\":!0,\"edu.nr\":!0,\"org.nr\":!0,\"net.nr\":!0,\"com.nr\":!0,nu:!0,nz:!0,\"ac.nz\":!0,\"co.nz\":!0,\"cri.nz\":!0,\"geek.nz\":!0,\"gen.nz\":!0,\"govt.nz\":!0,\"health.nz\":!0,\"iwi.nz\":!0,\"kiwi.nz\":!0,\"maori.nz\":!0,\"mil.nz\":!0,\"xn--mori-qsa.nz\":!0,\"net.nz\":!0,\"org.nz\":!0,\"parliament.nz\":!0,\"school.nz\":!0,om:!0,\"co.om\":!0,\"com.om\":!0,\"edu.om\":!0,\"gov.om\":!0,\"med.om\":!0,\"museum.om\":!0,\"net.om\":!0,\"org.om\":!0,\"pro.om\":!0,org:!0,pa:!0,\"ac.pa\":!0,\"gob.pa\":!0,\"com.pa\":!0,\"org.pa\":!0,\"sld.pa\":!0,\"edu.pa\":!0,\"net.pa\":!0,\"ing.pa\":!0,\"abo.pa\":!0,\"med.pa\":!0,\"nom.pa\":!0,pe:!0,\"edu.pe\":!0,\"gob.pe\":!0,\"nom.pe\":!0,\"mil.pe\":!0,\"org.pe\":!0,\"com.pe\":!0,\"net.pe\":!0,pf:!0,\"com.pf\":!0,\"org.pf\":!0,\"edu.pf\":!0,\"*.pg\":!0,ph:!0,\"com.ph\":!0,\"net.ph\":!0,\"org.ph\":!0,\"gov.ph\":!0,\"edu.ph\":!0,\"ngo.ph\":!0,\"mil.ph\":!0,\"i.ph\":!0,pk:!0,\"com.pk\":!0,\"net.pk\":!0,\"edu.pk\":!0,\"org.pk\":!0,\"fam.pk\":!0,\"biz.pk\":!0,\"web.pk\":!0,\"gov.pk\":!0,\"gob.pk\":!0,\"gok.pk\":!0,\"gon.pk\":!0,\"gop.pk\":!0,\"gos.pk\":!0,\"info.pk\":!0,pl:!0,\"com.pl\":!0,\"net.pl\":!0,\"org.pl\":!0,\"aid.pl\":!0,\"agro.pl\":!0,\"atm.pl\":!0,\"auto.pl\":!0,\"biz.pl\":!0,\"edu.pl\":!0,\"gmina.pl\":!0,\"gsm.pl\":!0,\"info.pl\":!0,\"mail.pl\":!0,\"miasta.pl\":!0,\"media.pl\":!0,\"mil.pl\":!0,\"nieruchomosci.pl\":!0,\"nom.pl\":!0,\"pc.pl\":!0,\"powiat.pl\":!0,\"priv.pl\":!0,\"realestate.pl\":!0,\"rel.pl\":!0,\"sex.pl\":!0,\"shop.pl\":!0,\"sklep.pl\":!0,\"sos.pl\":!0,\"szkola.pl\":!0,\"targi.pl\":!0,\"tm.pl\":!0,\"tourism.pl\":!0,\"travel.pl\":!0,\"turystyka.pl\":!0,\"gov.pl\":!0,\"ap.gov.pl\":!0,\"ic.gov.pl\":!0,\"is.gov.pl\":!0,\"us.gov.pl\":!0,\"kmpsp.gov.pl\":!0,\"kppsp.gov.pl\":!0,\"kwpsp.gov.pl\":!0,\"psp.gov.pl\":!0,\"wskr.gov.pl\":!0,\"kwp.gov.pl\":!0,\"mw.gov.pl\":!0,\"ug.gov.pl\":!0,\"um.gov.pl\":!0,\"umig.gov.pl\":!0,\"ugim.gov.pl\":!0,\"upow.gov.pl\":!0,\"uw.gov.pl\":!0,\"starostwo.gov.pl\":!0,\"pa.gov.pl\":!0,\"po.gov.pl\":!0,\"psse.gov.pl\":!0,\"pup.gov.pl\":!0,\"rzgw.gov.pl\":!0,\"sa.gov.pl\":!0,\"so.gov.pl\":!0,\"sr.gov.pl\":!0,\"wsa.gov.pl\":!0,\"sko.gov.pl\":!0,\"uzs.gov.pl\":!0,\"wiih.gov.pl\":!0,\"winb.gov.pl\":!0,\"pinb.gov.pl\":!0,\"wios.gov.pl\":!0,\"witd.gov.pl\":!0,\"wzmiuw.gov.pl\":!0,\"piw.gov.pl\":!0,\"wiw.gov.pl\":!0,\"griw.gov.pl\":!0,\"wif.gov.pl\":!0,\"oum.gov.pl\":!0,\"sdn.gov.pl\":!0,\"zp.gov.pl\":!0,\"uppo.gov.pl\":!0,\"mup.gov.pl\":!0,\"wuoz.gov.pl\":!0,\"konsulat.gov.pl\":!0,\"oirm.gov.pl\":!0,\"augustow.pl\":!0,\"babia-gora.pl\":!0,\"bedzin.pl\":!0,\"beskidy.pl\":!0,\"bialowieza.pl\":!0,\"bialystok.pl\":!0,\"bielawa.pl\":!0,\"bieszczady.pl\":!0,\"boleslawiec.pl\":!0,\"bydgoszcz.pl\":!0,\"bytom.pl\":!0,\"cieszyn.pl\":!0,\"czeladz.pl\":!0,\"czest.pl\":!0,\"dlugoleka.pl\":!0,\"elblag.pl\":!0,\"elk.pl\":!0,\"glogow.pl\":!0,\"gniezno.pl\":!0,\"gorlice.pl\":!0,\"grajewo.pl\":!0,\"ilawa.pl\":!0,\"jaworzno.pl\":!0,\"jelenia-gora.pl\":!0,\"jgora.pl\":!0,\"kalisz.pl\":!0,\"kazimierz-dolny.pl\":!0,\"karpacz.pl\":!0,\"kartuzy.pl\":!0,\"kaszuby.pl\":!0,\"katowice.pl\":!0,\"kepno.pl\":!0,\"ketrzyn.pl\":!0,\"klodzko.pl\":!0,\"kobierzyce.pl\":!0,\"kolobrzeg.pl\":!0,\"konin.pl\":!0,\"konskowola.pl\":!0,\"kutno.pl\":!0,\"lapy.pl\":!0,\"lebork.pl\":!0,\"legnica.pl\":!0,\"lezajsk.pl\":!0,\"limanowa.pl\":!0,\"lomza.pl\":!0,\"lowicz.pl\":!0,\"lubin.pl\":!0,\"lukow.pl\":!0,\"malbork.pl\":!0,\"malopolska.pl\":!0,\"mazowsze.pl\":!0,\"mazury.pl\":!0,\"mielec.pl\":!0,\"mielno.pl\":!0,\"mragowo.pl\":!0,\"naklo.pl\":!0,\"nowaruda.pl\":!0,\"nysa.pl\":!0,\"olawa.pl\":!0,\"olecko.pl\":!0,\"olkusz.pl\":!0,\"olsztyn.pl\":!0,\"opoczno.pl\":!0,\"opole.pl\":!0,\"ostroda.pl\":!0,\"ostroleka.pl\":!0,\"ostrowiec.pl\":!0,\"ostrowwlkp.pl\":!0,\"pila.pl\":!0,\"pisz.pl\":!0,\"podhale.pl\":!0,\"podlasie.pl\":!0,\"polkowice.pl\":!0,\"pomorze.pl\":!0,\"pomorskie.pl\":!0,\"prochowice.pl\":!0,\"pruszkow.pl\":!0,\"przeworsk.pl\":!0,\"pulawy.pl\":!0,\"radom.pl\":!0,\"rawa-maz.pl\":!0,\"rybnik.pl\":!0,\"rzeszow.pl\":!0,\"sanok.pl\":!0,\"sejny.pl\":!0,\"slask.pl\":!0,\"slupsk.pl\":!0,\"sosnowiec.pl\":!0,\"stalowa-wola.pl\":!0,\"skoczow.pl\":!0,\"starachowice.pl\":!0,\"stargard.pl\":!0,\"suwalki.pl\":!0,\"swidnica.pl\":!0,\"swiebodzin.pl\":!0,\"swinoujscie.pl\":!0,\"szczecin.pl\":!0,\"szczytno.pl\":!0,\"tarnobrzeg.pl\":!0,\"tgory.pl\":!0,\"turek.pl\":!0,\"tychy.pl\":!0,\"ustka.pl\":!0,\"walbrzych.pl\":!0,\"warmia.pl\":!0,\"warszawa.pl\":!0,\"waw.pl\":!0,\"wegrow.pl\":!0,\"wielun.pl\":!0,\"wlocl.pl\":!0,\"wloclawek.pl\":!0,\"wodzislaw.pl\":!0,\"wolomin.pl\":!0,\"wroclaw.pl\":!0,\"zachpomor.pl\":!0,\"zagan.pl\":!0,\"zarow.pl\":!0,\"zgora.pl\":!0,\"zgorzelec.pl\":!0,pm:!0,pn:!0,\"gov.pn\":!0,\"co.pn\":!0,\"org.pn\":!0,\"edu.pn\":!0,\"net.pn\":!0,post:!0,pr:!0,\"com.pr\":!0,\"net.pr\":!0,\"org.pr\":!0,\"gov.pr\":!0,\"edu.pr\":!0,\"isla.pr\":!0,\"pro.pr\":!0,\"biz.pr\":!0,\"info.pr\":!0,\"name.pr\":!0,\"est.pr\":!0,\"prof.pr\":!0,\"ac.pr\":!0,pro:!0,\"aca.pro\":!0,\"bar.pro\":!0,\"cpa.pro\":!0,\"jur.pro\":!0,\"law.pro\":!0,\"med.pro\":!0,\"eng.pro\":!0,ps:!0,\"edu.ps\":!0,\"gov.ps\":!0,\"sec.ps\":!0,\"plo.ps\":!0,\"com.ps\":!0,\"org.ps\":!0,\"net.ps\":!0,pt:!0,\"net.pt\":!0,\"gov.pt\":!0,\"org.pt\":!0,\"edu.pt\":!0,\"int.pt\":!0,\"publ.pt\":!0,\"com.pt\":!0,\"nome.pt\":!0,pw:!0,\"co.pw\":!0,\"ne.pw\":!0,\"or.pw\":!0,\"ed.pw\":!0,\"go.pw\":!0,\"belau.pw\":!0,py:!0,\"com.py\":!0,\"coop.py\":!0,\"edu.py\":!0,\"gov.py\":!0,\"mil.py\":!0,\"net.py\":!0,\"org.py\":!0,qa:!0,\"com.qa\":!0,\"edu.qa\":!0,\"gov.qa\":!0,\"mil.qa\":!0,\"name.qa\":!0,\"net.qa\":!0,\"org.qa\":!0,\"sch.qa\":!0,re:!0,\"com.re\":!0,\"asso.re\":!0,\"nom.re\":!0,ro:!0,\"com.ro\":!0,\"org.ro\":!0,\"tm.ro\":!0,\"nt.ro\":!0,\"nom.ro\":!0,\"info.ro\":!0,\"rec.ro\":!0,\"arts.ro\":!0,\"firm.ro\":!0,\"store.ro\":!0,\"www.ro\":!0,rs:!0,\"co.rs\":!0,\"org.rs\":!0,\"edu.rs\":!0,\"ac.rs\":!0,\"gov.rs\":!0,\"in.rs\":!0,ru:!0,\"ac.ru\":!0,\"com.ru\":!0,\"edu.ru\":!0,\"int.ru\":!0,\"net.ru\":!0,\"org.ru\":!0,\"pp.ru\":!0,\"adygeya.ru\":!0,\"altai.ru\":!0,\"amur.ru\":!0,\"arkhangelsk.ru\":!0,\"astrakhan.ru\":!0,\"bashkiria.ru\":!0,\"belgorod.ru\":!0,\"bir.ru\":!0,\"bryansk.ru\":!0,\"buryatia.ru\":!0,\"cbg.ru\":!0,\"chel.ru\":!0,\"chelyabinsk.ru\":!0,\"chita.ru\":!0,\"chukotka.ru\":!0,\"chuvashia.ru\":!0,\"dagestan.ru\":!0,\"dudinka.ru\":!0,\"e-burg.ru\":!0,\"grozny.ru\":!0,\"irkutsk.ru\":!0,\"ivanovo.ru\":!0,\"izhevsk.ru\":!0,\"jar.ru\":!0,\"joshkar-ola.ru\":!0,\"kalmykia.ru\":!0,\"kaluga.ru\":!0,\"kamchatka.ru\":!0,\"karelia.ru\":!0,\"kazan.ru\":!0,\"kchr.ru\":!0,\"kemerovo.ru\":!0,\"khabarovsk.ru\":!0,\"khakassia.ru\":!0,\"khv.ru\":!0,\"kirov.ru\":!0,\"koenig.ru\":!0,\"komi.ru\":!0,\"kostroma.ru\":!0,\"krasnoyarsk.ru\":!0,\"kuban.ru\":!0,\"kurgan.ru\":!0,\"kursk.ru\":!0,\"lipetsk.ru\":!0,\"magadan.ru\":!0,\"mari.ru\":!0,\"mari-el.ru\":!0,\"marine.ru\":!0,\"mordovia.ru\":!0,\"msk.ru\":!0,\"murmansk.ru\":!0,\"nalchik.ru\":!0,\"nnov.ru\":!0,\"nov.ru\":!0,\"novosibirsk.ru\":!0,\"nsk.ru\":!0,\"omsk.ru\":!0,\"orenburg.ru\":!0,\"oryol.ru\":!0,\"palana.ru\":!0,\"penza.ru\":!0,\"perm.ru\":!0,\"ptz.ru\":!0,\"rnd.ru\":!0,\"ryazan.ru\":!0,\"sakhalin.ru\":!0,\"samara.ru\":!0,\"saratov.ru\":!0,\"simbirsk.ru\":!0,\"smolensk.ru\":!0,\"spb.ru\":!0,\"stavropol.ru\":!0,\"stv.ru\":!0,\"surgut.ru\":!0,\"tambov.ru\":!0,\"tatarstan.ru\":!0,\"tom.ru\":!0,\"tomsk.ru\":!0,\"tsaritsyn.ru\":!0,\"tsk.ru\":!0,\"tula.ru\":!0,\"tuva.ru\":!0,\"tver.ru\":!0,\"tyumen.ru\":!0,\"udm.ru\":!0,\"udmurtia.ru\":!0,\"ulan-ude.ru\":!0,\"vladikavkaz.ru\":!0,\"vladimir.ru\":!0,\"vladivostok.ru\":!0,\"volgograd.ru\":!0,\"vologda.ru\":!0,\"voronezh.ru\":!0,\"vrn.ru\":!0,\"vyatka.ru\":!0,\"yakutia.ru\":!0,\"yamal.ru\":!0,\"yaroslavl.ru\":!0,\"yekaterinburg.ru\":!0,\"yuzhno-sakhalinsk.ru\":!0,\"amursk.ru\":!0,\"baikal.ru\":!0,\"cmw.ru\":!0,\"fareast.ru\":!0,\"jamal.ru\":!0,\"kms.ru\":!0,\"k-uralsk.ru\":!0,\"kustanai.ru\":!0,\"kuzbass.ru\":!0,\"magnitka.ru\":!0,\"mytis.ru\":!0,\"nakhodka.ru\":!0,\"nkz.ru\":!0,\"norilsk.ru\":!0,\"oskol.ru\":!0,\"pyatigorsk.ru\":!0,\"rubtsovsk.ru\":!0,\"snz.ru\":!0,\"syzran.ru\":!0,\"vdonsk.ru\":!0,\"zgrad.ru\":!0,\"gov.ru\":!0,\"mil.ru\":!0,\"test.ru\":!0,rw:!0,\"gov.rw\":!0,\"net.rw\":!0,\"edu.rw\":!0,\"ac.rw\":!0,\"com.rw\":!0,\"co.rw\":!0,\"int.rw\":!0,\"mil.rw\":!0,\"gouv.rw\":!0,sa:!0,\"com.sa\":!0,\"net.sa\":!0,\"org.sa\":!0,\"gov.sa\":!0,\"med.sa\":!0,\"pub.sa\":!0,\"edu.sa\":!0,\"sch.sa\":!0,sb:!0,\"com.sb\":!0,\"edu.sb\":!0,\"gov.sb\":!0,\"net.sb\":!0,\"org.sb\":!0,sc:!0,\"com.sc\":!0,\"gov.sc\":!0,\"net.sc\":!0,\"org.sc\":!0,\"edu.sc\":!0,sd:!0,\"com.sd\":!0,\"net.sd\":!0,\"org.sd\":!0,\"edu.sd\":!0,\"med.sd\":!0,\"tv.sd\":!0,\"gov.sd\":!0,\"info.sd\":!0,se:!0,\"a.se\":!0,\"ac.se\":!0,\"b.se\":!0,\"bd.se\":!0,\"brand.se\":!0,\"c.se\":!0,\"d.se\":!0,\"e.se\":!0,\"f.se\":!0,\"fh.se\":!0,\"fhsk.se\":!0,\"fhv.se\":!0,\"g.se\":!0,\"h.se\":!0,\"i.se\":!0,\"k.se\":!0,\"komforb.se\":!0,\"kommunalforbund.se\":!0,\"komvux.se\":!0,\"l.se\":!0,\"lanbib.se\":!0,\"m.se\":!0,\"n.se\":!0,\"naturbruksgymn.se\":!0,\"o.se\":!0,\"org.se\":!0,\"p.se\":!0,\"parti.se\":!0,\"pp.se\":!0,\"press.se\":!0,\"r.se\":!0,\"s.se\":!0,\"t.se\":!0,\"tm.se\":!0,\"u.se\":!0,\"w.se\":!0,\"x.se\":!0,\"y.se\":!0,\"z.se\":!0,sg:!0,\"com.sg\":!0,\"net.sg\":!0,\"org.sg\":!0,\"gov.sg\":!0,\"edu.sg\":!0,\"per.sg\":!0,sh:!0,\"com.sh\":!0,\"net.sh\":!0,\"gov.sh\":!0,\"org.sh\":!0,\"mil.sh\":!0,si:!0,sj:!0,sk:!0,sl:!0,\"com.sl\":!0,\"net.sl\":!0,\"edu.sl\":!0,\"gov.sl\":!0,\"org.sl\":!0,sm:!0,sn:!0,\"art.sn\":!0,\"com.sn\":!0,\"edu.sn\":!0,\"gouv.sn\":!0,\"org.sn\":!0,\"perso.sn\":!0,\"univ.sn\":!0,so:!0,\"com.so\":!0,\"net.so\":!0,\"org.so\":!0,sr:!0,st:!0,\"co.st\":!0,\"com.st\":!0,\"consulado.st\":!0,\"edu.st\":!0,\"embaixada.st\":!0,\"gov.st\":!0,\"mil.st\":!0,\"net.st\":!0,\"org.st\":!0,\"principe.st\":!0,\"saotome.st\":!0,\"store.st\":!0,su:!0,\"adygeya.su\":!0,\"arkhangelsk.su\":!0,\"balashov.su\":!0,\"bashkiria.su\":!0,\"bryansk.su\":!0,\"dagestan.su\":!0,\"grozny.su\":!0,\"ivanovo.su\":!0,\"kalmykia.su\":!0,\"kaluga.su\":!0,\"karelia.su\":!0,\"khakassia.su\":!0,\"krasnodar.su\":!0,\"kurgan.su\":!0,\"lenug.su\":!0,\"mordovia.su\":!0,\"msk.su\":!0,\"murmansk.su\":!0,\"nalchik.su\":!0,\"nov.su\":!0,\"obninsk.su\":!0,\"penza.su\":!0,\"pokrovsk.su\":!0,\"sochi.su\":!0,\"spb.su\":!0,\"togliatti.su\":!0,\"troitsk.su\":!0,\"tula.su\":!0,\"tuva.su\":!0,\"vladikavkaz.su\":!0,\"vladimir.su\":!0,\"vologda.su\":!0,sv:!0,\"com.sv\":!0,\"edu.sv\":!0,\"gob.sv\":!0,\"org.sv\":!0,\"red.sv\":!0,sx:!0,\"gov.sx\":!0,sy:!0,\"edu.sy\":!0,\"gov.sy\":!0,\"net.sy\":!0,\"mil.sy\":!0,\"com.sy\":!0,\"org.sy\":!0,sz:!0,\"co.sz\":!0,\"ac.sz\":!0,\"org.sz\":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,\"ac.th\":!0,\"co.th\":!0,\"go.th\":!0,\"in.th\":!0,\"mi.th\":!0,\"net.th\":!0,\"or.th\":!0,tj:!0,\"ac.tj\":!0,\"biz.tj\":!0,\"co.tj\":!0,\"com.tj\":!0,\"edu.tj\":!0,\"go.tj\":!0,\"gov.tj\":!0,\"int.tj\":!0,\"mil.tj\":!0,\"name.tj\":!0,\"net.tj\":!0,\"nic.tj\":!0,\"org.tj\":!0,\"test.tj\":!0,\"web.tj\":!0,tk:!0,tl:!0,\"gov.tl\":!0,tm:!0,\"com.tm\":!0,\"co.tm\":!0,\"org.tm\":!0,\"net.tm\":!0,\"nom.tm\":!0,\"gov.tm\":!0,\"mil.tm\":!0,\"edu.tm\":!0,tn:!0,\"com.tn\":!0,\"ens.tn\":!0,\"fin.tn\":!0,\"gov.tn\":!0,\"ind.tn\":!0,\"intl.tn\":!0,\"nat.tn\":!0,\"net.tn\":!0,\"org.tn\":!0,\"info.tn\":!0,\"perso.tn\":!0,\"tourism.tn\":!0,\"edunet.tn\":!0,\"rnrt.tn\":!0,\"rns.tn\":!0,\"rnu.tn\":!0,\"mincom.tn\":!0,\"agrinet.tn\":!0,\"defense.tn\":!0,\"turen.tn\":!0,to:!0,\"com.to\":!0,\"gov.to\":!0,\"net.to\":!0,\"org.to\":!0,\"edu.to\":!0,\"mil.to\":!0,tp:!0,tr:!0,\"com.tr\":!0,\"info.tr\":!0,\"biz.tr\":!0,\"net.tr\":!0,\"org.tr\":!0,\"web.tr\":!0,\"gen.tr\":!0,\"tv.tr\":!0,\"av.tr\":!0,\"dr.tr\":!0,\"bbs.tr\":!0,\"name.tr\":!0,\"tel.tr\":!0,\"gov.tr\":!0,\"bel.tr\":!0,\"pol.tr\":!0,\"mil.tr\":!0,\"k12.tr\":!0,\"edu.tr\":!0,\"kep.tr\":!0,\"nc.tr\":!0,\"gov.nc.tr\":!0,travel:!0,tt:!0,\"co.tt\":!0,\"com.tt\":!0,\"org.tt\":!0,\"net.tt\":!0,\"biz.tt\":!0,\"info.tt\":!0,\"pro.tt\":!0,\"int.tt\":!0,\"coop.tt\":!0,\"jobs.tt\":!0,\"mobi.tt\":!0,\"travel.tt\":!0,\"museum.tt\":!0,\"aero.tt\":!0,\"name.tt\":!0,\"gov.tt\":!0,\"edu.tt\":!0,tv:!0,tw:!0,\"edu.tw\":!0,\"gov.tw\":!0,\"mil.tw\":!0,\"com.tw\":!0,\"net.tw\":!0,\"org.tw\":!0,\"idv.tw\":!0,\"game.tw\":!0,\"ebiz.tw\":!0,\"club.tw\":!0,\"xn--zf0ao64a.tw\":!0,\"xn--uc0atv.tw\":!0,\"xn--czrw28b.tw\":!0,tz:!0,\"ac.tz\":!0,\"co.tz\":!0,\"go.tz\":!0,\"hotel.tz\":!0,\"info.tz\":!0,\"me.tz\":!0,\"mil.tz\":!0,\"mobi.tz\":!0,\"ne.tz\":!0,\"or.tz\":!0,\"sc.tz\":!0,\"tv.tz\":!0,ua:!0,\"com.ua\":!0,\"edu.ua\":!0,\"gov.ua\":!0,\"in.ua\":!0,\"net.ua\":!0,\"org.ua\":!0,\"cherkassy.ua\":!0,\"cherkasy.ua\":!0,\"chernigov.ua\":!0,\"chernihiv.ua\":!0,\"chernivtsi.ua\":!0,\"chernovtsy.ua\":!0,\"ck.ua\":!0,\"cn.ua\":!0,\"cr.ua\":!0,\"crimea.ua\":!0,\"cv.ua\":!0,\"dn.ua\":!0,\"dnepropetrovsk.ua\":!0,\"dnipropetrovsk.ua\":!0,\"dominic.ua\":!0,\"donetsk.ua\":!0,\"dp.ua\":!0,\"if.ua\":!0,\"ivano-frankivsk.ua\":!0,\"kh.ua\":!0,\"kharkiv.ua\":!0,\"kharkov.ua\":!0,\"kherson.ua\":!0,\"khmelnitskiy.ua\":!0,\"khmelnytskyi.ua\":!0,\"kiev.ua\":!0,\"kirovograd.ua\":!0,\"km.ua\":!0,\"kr.ua\":!0,\"krym.ua\":!0,\"ks.ua\":!0,\"kv.ua\":!0,\"kyiv.ua\":!0,\"lg.ua\":!0,\"lt.ua\":!0,\"lugansk.ua\":!0,\"lutsk.ua\":!0,\"lv.ua\":!0,\"lviv.ua\":!0,\"mk.ua\":!0,\"mykolaiv.ua\":!0,\"nikolaev.ua\":!0,\"od.ua\":!0,\"odesa.ua\":!0,\"odessa.ua\":!0,\"pl.ua\":!0,\"poltava.ua\":!0,\"rivne.ua\":!0,\"rovno.ua\":!0,\"rv.ua\":!0,\"sb.ua\":!0,\"sebastopol.ua\":!0,\"sevastopol.ua\":!0,\"sm.ua\":!0,\"sumy.ua\":!0,\"te.ua\":!0,\"ternopil.ua\":!0,\"uz.ua\":!0,\"uzhgorod.ua\":!0,\"vinnica.ua\":!0,\"vinnytsia.ua\":!0,\"vn.ua\":!0,\"volyn.ua\":!0,\"yalta.ua\":!0,\"zaporizhzhe.ua\":!0,\"zaporizhzhia.ua\":!0,\"zhitomir.ua\":!0,\"zhytomyr.ua\":!0,\"zp.ua\":!0,\"zt.ua\":!0,ug:!0,\"co.ug\":!0,\"or.ug\":!0,\"ac.ug\":!0,\"sc.ug\":!0,\"go.ug\":!0,\"ne.ug\":!0,\"com.ug\":!0,\"org.ug\":!0,uk:!0,\"ac.uk\":!0,\"co.uk\":!0,\"gov.uk\":!0,\"ltd.uk\":!0,\"me.uk\":!0,\"net.uk\":!0,\"nhs.uk\":!0,\"org.uk\":!0,\"plc.uk\":!0,\"police.uk\":!0,\"*.sch.uk\":!0,us:!0,\"dni.us\":!0,\"fed.us\":!0,\"isa.us\":!0,\"kids.us\":!0,\"nsn.us\":!0,\"ak.us\":!0,\"al.us\":!0,\"ar.us\":!0,\"as.us\":!0,\"az.us\":!0,\"ca.us\":!0,\"co.us\":!0,\"ct.us\":!0,\"dc.us\":!0,\"de.us\":!0,\"fl.us\":!0,\"ga.us\":!0,\"gu.us\":!0,\"hi.us\":!0,\"ia.us\":!0,\"id.us\":!0,\"il.us\":!0,\"in.us\":!0,\"ks.us\":!0,\"ky.us\":!0,\"la.us\":!0,\"ma.us\":!0,\"md.us\":!0,\"me.us\":!0,\"mi.us\":!0,\"mn.us\":!0,\"mo.us\":!0,\"ms.us\":!0,\"mt.us\":!0,\"nc.us\":!0,\"nd.us\":!0,\"ne.us\":!0,\"nh.us\":!0,\"nj.us\":!0,\"nm.us\":!0,\"nv.us\":!0,\"ny.us\":!0,\"oh.us\":!0,\"ok.us\":!0,\"or.us\":!0,\"pa.us\":!0,\"pr.us\":!0,\"ri.us\":!0,\"sc.us\":!0,\"sd.us\":!0,\"tn.us\":!0,\"tx.us\":!0,\"ut.us\":!0,\"vi.us\":!0,\"vt.us\":!0,\"va.us\":!0,\"wa.us\":!0,\"wi.us\":!0,\"wv.us\":!0,\"wy.us\":!0,\"k12.ak.us\":!0,\"k12.al.us\":!0,\"k12.ar.us\":!0,\"k12.as.us\":!0,\"k12.az.us\":!0,\"k12.ca.us\":!0,\"k12.co.us\":!0,\"k12.ct.us\":!0,\"k12.dc.us\":!0,\"k12.de.us\":!0,\"k12.fl.us\":!0,\"k12.ga.us\":!0,\"k12.gu.us\":!0,\"k12.ia.us\":!0,\"k12.id.us\":!0,\"k12.il.us\":!0,\"k12.in.us\":!0,\"k12.ks.us\":!0,\"k12.ky.us\":!0,\"k12.la.us\":!0,\"k12.ma.us\":!0,\"k12.md.us\":!0,\"k12.me.us\":!0,\"k12.mi.us\":!0,\"k12.mn.us\":!0,\"k12.mo.us\":!0,\"k12.ms.us\":!0,\"k12.mt.us\":!0,\"k12.nc.us\":!0,\"k12.ne.us\":!0,\"k12.nh.us\":!0,\"k12.nj.us\":!0,\"k12.nm.us\":!0,\"k12.nv.us\":!0,\"k12.ny.us\":!0,\"k12.oh.us\":!0,\"k12.ok.us\":!0,\"k12.or.us\":!0,\"k12.pa.us\":!0,\"k12.pr.us\":!0,\"k12.ri.us\":!0,\"k12.sc.us\":!0,\"k12.tn.us\":!0,\"k12.tx.us\":!0,\"k12.ut.us\":!0,\"k12.vi.us\":!0,\"k12.vt.us\":!0,\"k12.va.us\":!0,\"k12.wa.us\":!0,\"k12.wi.us\":!0,\"k12.wy.us\":!0,\"cc.ak.us\":!0,\"cc.al.us\":!0,\"cc.ar.us\":!0,\"cc.as.us\":!0,\"cc.az.us\":!0,\"cc.ca.us\":!0,\"cc.co.us\":!0,\"cc.ct.us\":!0,\"cc.dc.us\":!0,\"cc.de.us\":!0,\"cc.fl.us\":!0,\"cc.ga.us\":!0,\"cc.gu.us\":!0,\"cc.hi.us\":!0,\"cc.ia.us\":!0,\"cc.id.us\":!0,\"cc.il.us\":!0,\"cc.in.us\":!0,\"cc.ks.us\":!0,\"cc.ky.us\":!0,\"cc.la.us\":!0,\"cc.ma.us\":!0,\"cc.md.us\":!0,\"cc.me.us\":!0,\"cc.mi.us\":!0,\"cc.mn.us\":!0,\"cc.mo.us\":!0,\"cc.ms.us\":!0,\"cc.mt.us\":!0,\"cc.nc.us\":!0,\"cc.nd.us\":!0,\"cc.ne.us\":!0,\"cc.nh.us\":!0,\"cc.nj.us\":!0,\"cc.nm.us\":!0,\"cc.nv.us\":!0,\"cc.ny.us\":!0,\"cc.oh.us\":!0,\"cc.ok.us\":!0,\"cc.or.us\":!0,\"cc.pa.us\":!0,\"cc.pr.us\":!0,\"cc.ri.us\":!0,\"cc.sc.us\":!0,\"cc.sd.us\":!0,\"cc.tn.us\":!0,\"cc.tx.us\":!0,\"cc.ut.us\":!0,\"cc.vi.us\":!0,\"cc.vt.us\":!0,\"cc.va.us\":!0,\"cc.wa.us\":!0,\"cc.wi.us\":!0,\"cc.wv.us\":!0,\"cc.wy.us\":!0,\"lib.ak.us\":!0,\"lib.al.us\":!0,\"lib.ar.us\":!0,\"lib.as.us\":!0,\"lib.az.us\":!0,\"lib.ca.us\":!0,\"lib.co.us\":!0,\"lib.ct.us\":!0,\"lib.dc.us\":!0,\"lib.de.us\":!0,\"lib.fl.us\":!0,\"lib.ga.us\":!0,\"lib.gu.us\":!0,\"lib.hi.us\":!0,\"lib.ia.us\":!0,\"lib.id.us\":!0,\"lib.il.us\":!0,\"lib.in.us\":!0,\"lib.ks.us\":!0,\"lib.ky.us\":!0,\"lib.la.us\":!0,\"lib.ma.us\":!0,\"lib.md.us\":!0,\"lib.me.us\":!0,\"lib.mi.us\":!0,\"lib.mn.us\":!0,\"lib.mo.us\":!0,\"lib.ms.us\":!0,\"lib.mt.us\":!0,\"lib.nc.us\":!0,\"lib.nd.us\":!0,\"lib.ne.us\":!0,\"lib.nh.us\":!0,\"lib.nj.us\":!0,\"lib.nm.us\":!0,\"lib.nv.us\":!0,\"lib.ny.us\":!0,\"lib.oh.us\":!0,\"lib.ok.us\":!0,\"lib.or.us\":!0,\"lib.pa.us\":!0,\"lib.pr.us\":!0,\"lib.ri.us\":!0,\"lib.sc.us\":!0,\"lib.sd.us\":!0,\"lib.tn.us\":!0,\"lib.tx.us\":!0,\"lib.ut.us\":!0,\"lib.vi.us\":!0,\"lib.vt.us\":!0,\"lib.va.us\":!0,\"lib.wa.us\":!0,\"lib.wi.us\":!0,\"lib.wy.us\":!0,\"pvt.k12.ma.us\":!0,\"chtr.k12.ma.us\":!0,\"paroch.k12.ma.us\":!0,uy:!0,\"com.uy\":!0,\"edu.uy\":!0,\"gub.uy\":!0,\"mil.uy\":!0,\"net.uy\":!0,\"org.uy\":!0,uz:!0,\"co.uz\":!0,\"com.uz\":!0,\"net.uz\":!0,\"org.uz\":!0,va:!0,vc:!0,\"com.vc\":!0,\"net.vc\":!0,\"org.vc\":!0,\"gov.vc\":!0,\"mil.vc\":!0,\n\"edu.vc\":!0,ve:!0,\"arts.ve\":!0,\"co.ve\":!0,\"com.ve\":!0,\"e12.ve\":!0,\"edu.ve\":!0,\"firm.ve\":!0,\"gob.ve\":!0,\"gov.ve\":!0,\"info.ve\":!0,\"int.ve\":!0,\"mil.ve\":!0,\"net.ve\":!0,\"org.ve\":!0,\"rec.ve\":!0,\"store.ve\":!0,\"tec.ve\":!0,\"web.ve\":!0,vg:!0,vi:!0,\"co.vi\":!0,\"com.vi\":!0,\"k12.vi\":!0,\"net.vi\":!0,\"org.vi\":!0,vn:!0,\"com.vn\":!0,\"net.vn\":!0,\"org.vn\":!0,\"edu.vn\":!0,\"gov.vn\":!0,\"int.vn\":!0,\"ac.vn\":!0,\"biz.vn\":!0,\"info.vn\":!0,\"name.vn\":!0,\"pro.vn\":!0,\"health.vn\":!0,vu:!0,\"com.vu\":!0,\"edu.vu\":!0,\"net.vu\":!0,\"org.vu\":!0,wf:!0,ws:!0,\"com.ws\":!0,\"net.ws\":!0,\"org.ws\":!0,\"gov.ws\":!0,\"edu.ws\":!0,yt:!0,\"xn--mgbaam7a8h\":!0,\"xn--y9a3aq\":!0,\"xn--54b7fta0cc\":!0,\"xn--90ais\":!0,\"xn--fiqs8s\":!0,\"xn--fiqz9s\":!0,\"xn--lgbbat1ad8j\":!0,\"xn--wgbh1c\":!0,\"xn--node\":!0,\"xn--qxam\":!0,\"xn--j6w193g\":!0,\"xn--h2brj9c\":!0,\"xn--mgbbh1a71e\":!0,\"xn--fpcrj9c3d\":!0,\"xn--gecrj9c\":!0,\"xn--s9brj9c\":!0,\"xn--45brj9c\":!0,\"xn--xkc2dl3a5ee0h\":!0,\"xn--mgba3a4f16a\":!0,\"xn--mgba3a4fra\":!0,\"xn--mgbtx2b\":!0,\"xn--mgbayh7gpa\":!0,\"xn--3e0b707e\":!0,\"xn--80ao21a\":!0,\"xn--fzc2c9e2c\":!0,\"xn--xkc2al3hye2a\":!0,\"xn--mgbc0a9azcg\":!0,\"xn--d1alf\":!0,\"xn--l1acc\":!0,\"xn--mix891f\":!0,\"xn--mix082f\":!0,\"xn--mgbx4cd0ab\":!0,\"xn--mgb9awbf\":!0,\"xn--mgbai9azgqp6j\":!0,\"xn--mgbai9a5eva00b\":!0,\"xn--ygbi2ammx\":!0,\"xn--90a3ac\":!0,\"xn--o1ac.xn--90a3ac\":!0,\"xn--c1avg.xn--90a3ac\":!0,\"xn--90azh.xn--90a3ac\":!0,\"xn--d1at.xn--90a3ac\":!0,\"xn--o1ach.xn--90a3ac\":!0,\"xn--80au.xn--90a3ac\":!0,\"xn--p1ai\":!0,\"xn--wgbl6a\":!0,\"xn--mgberp4a5d4ar\":!0,\"xn--mgberp4a5d4a87g\":!0,\"xn--mgbqly7c0a67fbc\":!0,\"xn--mgbqly7cvafr\":!0,\"xn--mgbpl2fh\":!0,\"xn--yfro4i67o\":!0,\"xn--clchc0ea0b2g2a9gcd\":!0,\"xn--ogbpf8fl\":!0,\"xn--mgbtf8fl\":!0,\"xn--o3cw4h\":!0,\"xn--pgbs0dh\":!0,\"xn--kpry57d\":!0,\"xn--kprw13d\":!0,\"xn--nnx388a\":!0,\"xn--j1amh\":!0,\"xn--mgb2ddes\":!0,xxx:!0,\"*.ye\":!0,\"ac.za\":!0,\"agrica.za\":!0,\"alt.za\":!0,\"co.za\":!0,\"edu.za\":!0,\"gov.za\":!0,\"grondar.za\":!0,\"law.za\":!0,\"mil.za\":!0,\"net.za\":!0,\"ngo.za\":!0,\"nis.za\":!0,\"nom.za\":!0,\"org.za\":!0,\"school.za\":!0,\"tm.za\":!0,\"web.za\":!0,\"*.zm\":!0,\"*.zw\":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,africamagic:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,\"case\":!0,caseih:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,dnp:!0,docs:!0,dodge:!0,dog:!0,doha:!0,domains:!0,doosan:!0,dot:!0,download:!0,drive:!0,dstv:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dwg:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,\"final\":!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyknet:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mutuelle:!0,mzansimagic:!0,nab:!0,nadex:!0,nagoya:!0,naspers:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,\"new\":!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,payu:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,seat:!0,secure:!0,security:!0,seek:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,\"xn--11b4c3d\":!0,\"xn--1ck2e1b\":!0,\"xn--1qqw23a\":!0,\"xn--30rr7y\":!0,\"xn--3bst00m\":!0,\"xn--3ds443g\":!0,\"xn--3oq18vl8pn36a\":!0,\"xn--3pxu8k\":!0,\"xn--42c2d9a\":!0,\"xn--45q11c\":!0,\"xn--4gbrim\":!0,\"xn--4gq48lf9j\":!0,\"xn--55qw42g\":!0,\"xn--55qx5d\":!0,\"xn--5su34j936bgsg\":!0,\"xn--5tzm5g\":!0,\"xn--6frz82g\":!0,\"xn--6qq986b3xl\":!0,\"xn--80adxhks\":!0,\"xn--80asehdb\":!0,\"xn--80aswg\":!0,\"xn--8y0a063a\":!0,\"xn--9dbq2a\":!0,\"xn--9et52u\":!0,\"xn--9krt00a\":!0,\"xn--b4w605ferd\":!0,\"xn--bck1b9a5dre4c\":!0,\"xn--c1avg\":!0,\"xn--c2br7g\":!0,\"xn--cck2b3b\":!0,\"xn--cg4bki\":!0,\"xn--czr694b\":!0,\"xn--czrs0t\":!0,\"xn--czru2d\":!0,\"xn--d1acj3b\":!0,\"xn--eckvdtc9d\":!0,\"xn--efvy88h\":!0,\"xn--estv75g\":!0,\"xn--fct429k\":!0,\"xn--fhbei\":!0,\"xn--fiq228c5hs\":!0,\"xn--fiq64b\":!0,\"xn--fjq720a\":!0,\"xn--flw351e\":!0,\"xn--fzys8d69uvgm\":!0,\"xn--g2xx48c\":!0,\"xn--gckr3f0f\":!0,\"xn--hxt814e\":!0,\"xn--i1b6b1a6a2e\":!0,\"xn--imr513n\":!0,\"xn--io0a7i\":!0,\"xn--j1aef\":!0,\"xn--jlq61u9w7b\":!0,\"xn--jvr189m\":!0,\"xn--kcrx77d1x4a\":!0,\"xn--kpu716f\":!0,\"xn--kput3i\":!0,\"xn--mgba3a3ejt\":!0,\"xn--mgba7c0bbn0a\":!0,\"xn--mgbaakc7dvf\":!0,\"xn--mgbab2bd\":!0,\"xn--mgbb9fbpob\":!0,\"xn--mgbca7dzdo\":!0,\"xn--mgbt3dhd\":!0,\"xn--mk1bu44c\":!0,\"xn--mxtq1m\":!0,\"xn--ngbc5azd\":!0,\"xn--ngbe9e0a\":!0,\"xn--nqv7f\":!0,\"xn--nqv7fs00ema\":!0,\"xn--nyqy26a\":!0,\"xn--p1acf\":!0,\"xn--pbt977c\":!0,\"xn--pssy2u\":!0,\"xn--q9jyb4c\":!0,\"xn--qcka1pmc\":!0,\"xn--rhqv96g\":!0,\"xn--rovu88b\":!0,\"xn--ses554g\":!0,\"xn--t60b56a\":!0,\"xn--tckwe\":!0,\"xn--unup4y\":!0,\"xn--vermgensberater-ctb\":!0,\"xn--vermgensberatung-pwb\":!0,\"xn--vhquv\":!0,\"xn--vuq861b\":!0,\"xn--w4r85el8fhu5dnra\":!0,\"xn--w4rs40l\":!0,\"xn--xhq521b\":!0,\"xn--zfr164b\":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,\"cloudfront.net\":!0,\"ap-northeast-1.compute.amazonaws.com\":!0,\"ap-southeast-1.compute.amazonaws.com\":!0,\"ap-southeast-2.compute.amazonaws.com\":!0,\"cn-north-1.compute.amazonaws.cn\":!0,\"compute.amazonaws.cn\":!0,\"compute.amazonaws.com\":!0,\"compute-1.amazonaws.com\":!0,\"eu-west-1.compute.amazonaws.com\":!0,\"eu-central-1.compute.amazonaws.com\":!0,\"sa-east-1.compute.amazonaws.com\":!0,\"us-east-1.amazonaws.com\":!0,\"us-gov-west-1.compute.amazonaws.com\":!0,\"us-west-1.compute.amazonaws.com\":!0,\"us-west-2.compute.amazonaws.com\":!0,\"z-1.compute-1.amazonaws.com\":!0,\"z-2.compute-1.amazonaws.com\":!0,\"elasticbeanstalk.com\":!0,\"elb.amazonaws.com\":!0,\"s3.amazonaws.com\":!0,\"s3-ap-northeast-1.amazonaws.com\":!0,\"s3-ap-southeast-1.amazonaws.com\":!0,\"s3-ap-southeast-2.amazonaws.com\":!0,\"s3-external-1.amazonaws.com\":!0,\"s3-external-2.amazonaws.com\":!0,\"s3-fips-us-gov-west-1.amazonaws.com\":!0,\"s3-eu-central-1.amazonaws.com\":!0,\"s3-eu-west-1.amazonaws.com\":!0,\"s3-sa-east-1.amazonaws.com\":!0,\"s3-us-gov-west-1.amazonaws.com\":!0,\"s3-us-west-1.amazonaws.com\":!0,\"s3-us-west-2.amazonaws.com\":!0,\"s3.cn-north-1.amazonaws.com.cn\":!0,\"s3.eu-central-1.amazonaws.com\":!0,\"betainabox.com\":!0,\"ae.org\":!0,\"ar.com\":!0,\"br.com\":!0,\"cn.com\":!0,\"com.de\":!0,\"com.se\":!0,\"de.com\":!0,\"eu.com\":!0,\"gb.com\":!0,\"gb.net\":!0,\"hu.com\":!0,\"hu.net\":!0,\"jp.net\":!0,\"jpn.com\":!0,\"kr.com\":!0,\"mex.com\":!0,\"no.com\":!0,\"qc.com\":!0,\"ru.com\":!0,\"sa.com\":!0,\"se.com\":!0,\"se.net\":!0,\"uk.com\":!0,\"uk.net\":!0,\"us.com\":!0,\"uy.com\":!0,\"za.bz\":!0,\"za.com\":!0,\"africa.com\":!0,\"gr.com\":!0,\"in.net\":!0,\"us.org\":!0,\"co.com\":!0,\"c.la\":!0,\"cloudcontrolled.com\":!0,\"cloudcontrolapp.com\":!0,\"co.ca\":!0,\"c.cdn77.org\":!0,\"cdn77-ssl.net\":!0,\"r.cdn77.net\":!0,\"rsc.cdn77.org\":!0,\"ssl.origin.cdn77-secure.org\":!0,\"co.nl\":!0,\"co.no\":!0,\"*.platform.sh\":!0,\"cupcake.is\":!0,\"dreamhosters.com\":!0,\"duckdns.org\":!0,\"dyndns-at-home.com\":!0,\"dyndns-at-work.com\":!0,\"dyndns-blog.com\":!0,\"dyndns-free.com\":!0,\"dyndns-home.com\":!0,\"dyndns-ip.com\":!0,\"dyndns-mail.com\":!0,\"dyndns-office.com\":!0,\"dyndns-pics.com\":!0,\"dyndns-remote.com\":!0,\"dyndns-server.com\":!0,\"dyndns-web.com\":!0,\"dyndns-wiki.com\":!0,\"dyndns-work.com\":!0,\"dyndns.biz\":!0,\"dyndns.info\":!0,\"dyndns.org\":!0,\"dyndns.tv\":!0,\"at-band-camp.net\":!0,\"ath.cx\":!0,\"barrel-of-knowledge.info\":!0,\"barrell-of-knowledge.info\":!0,\"better-than.tv\":!0,\"blogdns.com\":!0,\"blogdns.net\":!0,\"blogdns.org\":!0,\"blogsite.org\":!0,\"boldlygoingnowhere.org\":!0,\"broke-it.net\":!0,\"buyshouses.net\":!0,\"cechire.com\":!0,\"dnsalias.com\":!0,\"dnsalias.net\":!0,\"dnsalias.org\":!0,\"dnsdojo.com\":!0,\"dnsdojo.net\":!0,\"dnsdojo.org\":!0,\"does-it.net\":!0,\"doesntexist.com\":!0,\"doesntexist.org\":!0,\"dontexist.com\":!0,\"dontexist.net\":!0,\"dontexist.org\":!0,\"doomdns.com\":!0,\"doomdns.org\":!0,\"dvrdns.org\":!0,\"dyn-o-saur.com\":!0,\"dynalias.com\":!0,\"dynalias.net\":!0,\"dynalias.org\":!0,\"dynathome.net\":!0,\"dyndns.ws\":!0,\"endofinternet.net\":!0,\"endofinternet.org\":!0,\"endoftheinternet.org\":!0,\"est-a-la-maison.com\":!0,\"est-a-la-masion.com\":!0,\"est-le-patron.com\":!0,\"est-mon-blogueur.com\":!0,\"for-better.biz\":!0,\"for-more.biz\":!0,\"for-our.info\":!0,\"for-some.biz\":!0,\"for-the.biz\":!0,\"forgot.her.name\":!0,\"forgot.his.name\":!0,\"from-ak.com\":!0,\"from-al.com\":!0,\"from-ar.com\":!0,\"from-az.net\":!0,\"from-ca.com\":!0,\"from-co.net\":!0,\"from-ct.com\":!0,\"from-dc.com\":!0,\"from-de.com\":!0,\"from-fl.com\":!0,\"from-ga.com\":!0,\"from-hi.com\":!0,\"from-ia.com\":!0,\"from-id.com\":!0,\"from-il.com\":!0,\"from-in.com\":!0,\"from-ks.com\":!0,\"from-ky.com\":!0,\"from-la.net\":!0,\"from-ma.com\":!0,\"from-md.com\":!0,\"from-me.org\":!0,\"from-mi.com\":!0,\"from-mn.com\":!0,\"from-mo.com\":!0,\"from-ms.com\":!0,\"from-mt.com\":!0,\"from-nc.com\":!0,\"from-nd.com\":!0,\"from-ne.com\":!0,\"from-nh.com\":!0,\"from-nj.com\":!0,\"from-nm.com\":!0,\"from-nv.com\":!0,\"from-ny.net\":!0,\"from-oh.com\":!0,\"from-ok.com\":!0,\"from-or.com\":!0,\"from-pa.com\":!0,\"from-pr.com\":!0,\"from-ri.com\":!0,\"from-sc.com\":!0,\"from-sd.com\":!0,\"from-tn.com\":!0,\"from-tx.com\":!0,\"from-ut.com\":!0,\"from-va.com\":!0,\"from-vt.com\":!0,\"from-wa.com\":!0,\"from-wi.com\":!0,\"from-wv.com\":!0,\"from-wy.com\":!0,\"ftpaccess.cc\":!0,\"fuettertdasnetz.de\":!0,\"game-host.org\":!0,\"game-server.cc\":!0,\"getmyip.com\":!0,\"gets-it.net\":!0,\"go.dyndns.org\":!0,\"gotdns.com\":!0,\"gotdns.org\":!0,\"groks-the.info\":!0,\"groks-this.info\":!0,\"ham-radio-op.net\":!0,\"here-for-more.info\":!0,\"hobby-site.com\":!0,\"hobby-site.org\":!0,\"home.dyndns.org\":!0,\"homedns.org\":!0,\"homeftp.net\":!0,\"homeftp.org\":!0,\"homeip.net\":!0,\"homelinux.com\":!0,\"homelinux.net\":!0,\"homelinux.org\":!0,\"homeunix.com\":!0,\"homeunix.net\":!0,\"homeunix.org\":!0,\"iamallama.com\":!0,\"in-the-band.net\":!0,\"is-a-anarchist.com\":!0,\"is-a-blogger.com\":!0,\"is-a-bookkeeper.com\":!0,\"is-a-bruinsfan.org\":!0,\"is-a-bulls-fan.com\":!0,\"is-a-candidate.org\":!0,\"is-a-caterer.com\":!0,\"is-a-celticsfan.org\":!0,\"is-a-chef.com\":!0,\"is-a-chef.net\":!0,\"is-a-chef.org\":!0,\"is-a-conservative.com\":!0,\"is-a-cpa.com\":!0,\"is-a-cubicle-slave.com\":!0,\"is-a-democrat.com\":!0,\"is-a-designer.com\":!0,\"is-a-doctor.com\":!0,\"is-a-financialadvisor.com\":!0,\"is-a-geek.com\":!0,\"is-a-geek.net\":!0,\"is-a-geek.org\":!0,\"is-a-green.com\":!0,\"is-a-guru.com\":!0,\"is-a-hard-worker.com\":!0,\"is-a-hunter.com\":!0,\"is-a-knight.org\":!0,\"is-a-landscaper.com\":!0,\"is-a-lawyer.com\":!0,\"is-a-liberal.com\":!0,\"is-a-libertarian.com\":!0,\"is-a-linux-user.org\":!0,\"is-a-llama.com\":!0,\"is-a-musician.com\":!0,\"is-a-nascarfan.com\":!0,\"is-a-nurse.com\":!0,\"is-a-painter.com\":!0,\"is-a-patsfan.org\":!0,\"is-a-personaltrainer.com\":!0,\"is-a-photographer.com\":!0,\"is-a-player.com\":!0,\"is-a-republican.com\":!0,\"is-a-rockstar.com\":!0,\"is-a-socialist.com\":!0,\"is-a-soxfan.org\":!0,\"is-a-student.com\":!0,\"is-a-teacher.com\":!0,\"is-a-techie.com\":!0,\"is-a-therapist.com\":!0,\"is-an-accountant.com\":!0,\"is-an-actor.com\":!0,\"is-an-actress.com\":!0,\"is-an-anarchist.com\":!0,\"is-an-artist.com\":!0,\"is-an-engineer.com\":!0,\"is-an-entertainer.com\":!0,\"is-by.us\":!0,\"is-certified.com\":!0,\"is-found.org\":!0,\"is-gone.com\":!0,\"is-into-anime.com\":!0,\"is-into-cars.com\":!0,\"is-into-cartoons.com\":!0,\"is-into-games.com\":!0,\"is-leet.com\":!0,\"is-lost.org\":!0,\"is-not-certified.com\":!0,\"is-saved.org\":!0,\"is-slick.com\":!0,\"is-uberleet.com\":!0,\"is-very-bad.org\":!0,\"is-very-evil.org\":!0,\"is-very-good.org\":!0,\"is-very-nice.org\":!0,\"is-very-sweet.org\":!0,\"is-with-theband.com\":!0,\"isa-geek.com\":!0,\"isa-geek.net\":!0,\"isa-geek.org\":!0,\"isa-hockeynut.com\":!0,\"issmarterthanyou.com\":!0,\"isteingeek.de\":!0,\"istmein.de\":!0,\"kicks-ass.net\":!0,\"kicks-ass.org\":!0,\"knowsitall.info\":!0,\"land-4-sale.us\":!0,\"lebtimnetz.de\":!0,\"leitungsen.de\":!0,\"likes-pie.com\":!0,\"likescandy.com\":!0,\"merseine.nu\":!0,\"mine.nu\":!0,\"misconfused.org\":!0,\"mypets.ws\":!0,\"myphotos.cc\":!0,\"neat-url.com\":!0,\"office-on-the.net\":!0,\"on-the-web.tv\":!0,\"podzone.net\":!0,\"podzone.org\":!0,\"readmyblog.org\":!0,\"saves-the-whales.com\":!0,\"scrapper-site.net\":!0,\"scrapping.cc\":!0,\"selfip.biz\":!0,\"selfip.com\":!0,\"selfip.info\":!0,\"selfip.net\":!0,\"selfip.org\":!0,\"sells-for-less.com\":!0,\"sells-for-u.com\":!0,\"sells-it.net\":!0,\"sellsyourhome.org\":!0,\"servebbs.com\":!0,\"servebbs.net\":!0,\"servebbs.org\":!0,\"serveftp.net\":!0,\"serveftp.org\":!0,\"servegame.org\":!0,\"shacknet.nu\":!0,\"simple-url.com\":!0,\"space-to-rent.com\":!0,\"stuff-4-sale.org\":!0,\"stuff-4-sale.us\":!0,\"teaches-yoga.com\":!0,\"thruhere.net\":!0,\"traeumtgerade.de\":!0,\"webhop.biz\":!0,\"webhop.info\":!0,\"webhop.net\":!0,\"webhop.org\":!0,\"worse-than.tv\":!0,\"writesthisblog.com\":!0,\"eu.org\":!0,\"al.eu.org\":!0,\"asso.eu.org\":!0,\"at.eu.org\":!0,\"au.eu.org\":!0,\"be.eu.org\":!0,\"bg.eu.org\":!0,\"ca.eu.org\":!0,\"cd.eu.org\":!0,\"ch.eu.org\":!0,\"cn.eu.org\":!0,\"cy.eu.org\":!0,\"cz.eu.org\":!0,\"de.eu.org\":!0,\"dk.eu.org\":!0,\"edu.eu.org\":!0,\"ee.eu.org\":!0,\"es.eu.org\":!0,\"fi.eu.org\":!0,\"fr.eu.org\":!0,\"gr.eu.org\":!0,\"hr.eu.org\":!0,\"hu.eu.org\":!0,\"ie.eu.org\":!0,\"il.eu.org\":!0,\"in.eu.org\":!0,\"int.eu.org\":!0,\"is.eu.org\":!0,\"it.eu.org\":!0,\"jp.eu.org\":!0,\"kr.eu.org\":!0,\"lt.eu.org\":!0,\"lu.eu.org\":!0,\"lv.eu.org\":!0,\"mc.eu.org\":!0,\"me.eu.org\":!0,\"mk.eu.org\":!0,\"mt.eu.org\":!0,\"my.eu.org\":!0,\"net.eu.org\":!0,\"ng.eu.org\":!0,\"nl.eu.org\":!0,\"no.eu.org\":!0,\"nz.eu.org\":!0,\"paris.eu.org\":!0,\"pl.eu.org\":!0,\"pt.eu.org\":!0,\"q-a.eu.org\":!0,\"ro.eu.org\":!0,\"ru.eu.org\":!0,\"se.eu.org\":!0,\"si.eu.org\":!0,\"sk.eu.org\":!0,\"tr.eu.org\":!0,\"uk.eu.org\":!0,\"us.eu.org\":!0,\"a.ssl.fastly.net\":!0,\"b.ssl.fastly.net\":!0,\"global.ssl.fastly.net\":!0,\"a.prod.fastly.net\":!0,\"global.prod.fastly.net\":!0,\"firebaseapp.com\":!0,\"flynnhub.com\":!0,\"service.gov.uk\":!0,\"github.io\":!0,\"githubusercontent.com\":!0,\"ro.com\":!0,\"appspot.com\":!0,\"blogspot.ae\":!0,\"blogspot.al\":!0,\"blogspot.am\":!0,\"blogspot.ba\":!0,\"blogspot.be\":!0,\"blogspot.bg\":!0,\"blogspot.bj\":!0,\"blogspot.ca\":!0,\"blogspot.cf\":!0,\"blogspot.ch\":!0,\"blogspot.cl\":!0,\"blogspot.co.at\":!0,\"blogspot.co.id\":!0,\"blogspot.co.il\":!0,\"blogspot.co.ke\":!0,\"blogspot.co.nz\":!0,\"blogspot.co.uk\":!0,\"blogspot.co.za\":!0,\"blogspot.com\":!0,\"blogspot.com.ar\":!0,\"blogspot.com.au\":!0,\"blogspot.com.br\":!0,\"blogspot.com.by\":!0,\"blogspot.com.co\":!0,\"blogspot.com.cy\":!0,\"blogspot.com.ee\":!0,\"blogspot.com.eg\":!0,\"blogspot.com.es\":!0,\"blogspot.com.mt\":!0,\"blogspot.com.ng\":!0,\"blogspot.com.tr\":!0,\"blogspot.com.uy\":!0,\"blogspot.cv\":!0,\"blogspot.cz\":!0,\"blogspot.de\":!0,\"blogspot.dk\":!0,\"blogspot.fi\":!0,\"blogspot.fr\":!0,\"blogspot.gr\":!0,\"blogspot.hk\":!0,\"blogspot.hr\":!0,\"blogspot.hu\":!0,\"blogspot.ie\":!0,\"blogspot.in\":!0,\"blogspot.is\":!0,\"blogspot.it\":!0,\"blogspot.jp\":!0,\"blogspot.kr\":!0,\"blogspot.li\":!0,\"blogspot.lt\":!0,\"blogspot.lu\":!0,\"blogspot.md\":!0,\"blogspot.mk\":!0,\"blogspot.mr\":!0,\"blogspot.mx\":!0,\"blogspot.my\":!0,\"blogspot.nl\":!0,\"blogspot.no\":!0,\"blogspot.pe\":!0,\"blogspot.pt\":!0,\"blogspot.qa\":!0,\"blogspot.re\":!0,\"blogspot.ro\":!0,\"blogspot.rs\":!0,\"blogspot.ru\":!0,\"blogspot.se\":!0,\"blogspot.sg\":!0,\"blogspot.si\":!0,\"blogspot.sk\":!0,\"blogspot.sn\":!0,\"blogspot.td\":!0,\"blogspot.tw\":!0,\"blogspot.ug\":!0,\"blogspot.vn\":!0,\"codespot.com\":!0,\"googleapis.com\":!0,\"googlecode.com\":!0,\"pagespeedmobilizer.com\":!0,\"withgoogle.com\":!0,\"withyoutube.com\":!0,\"herokuapp.com\":!0,\"herokussl.com\":!0,\"iki.fi\":!0,\"biz.at\":!0,\"info.at\":!0,\"co.pl\":!0,\"azurewebsites.net\":!0,\"azure-mobile.net\":!0,\"cloudapp.net\":!0,\"bmoattachments.org\":!0,\"4u.com\":!0,\"nfshost.com\":!0,\"nyc.mn\":!0,\"nid.io\":!0,\"operaunite.com\":!0,\"outsystemscloud.com\":!0,\"art.pl\":!0,\"gliwice.pl\":!0,\"krakow.pl\":!0,\"poznan.pl\":!0,\"wroc.pl\":!0,\"zakopane.pl\":!0,\"pantheon.io\":!0,\"gotpantheon.com\":!0,\"priv.at\":!0,\"qa2.com\":!0,\"rhcloud.com\":!0,\"sandcats.io\":!0,\"biz.ua\":!0,\"co.ua\":!0,\"pp.ua\":!0,\"sinaapp.com\":!0,\"vipsinaapp.com\":!0,\"1kapp.com\":!0,\"gda.pl\":!0,\"gdansk.pl\":!0,\"gdynia.pl\":!0,\"med.pl\":!0,\"sopot.pl\":!0,\"hk.com\":!0,\"hk.org\":!0,\"ltd.hk\":!0,\"inc.hk\":!0,\"yolasite.com\":!0,\"za.net\":!0,\"za.org\":!0})},{punycode:void 0}],463:[function(e,t,n){\"use strict\";function r(){}n.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,n,r){throw new Error(\"findCookie is not implemented\")},r.prototype.findCookies=function(e,t,n){throw new Error(\"findCookies is not implemented\")},r.prototype.putCookie=function(e,t){throw new Error(\"putCookie is not implemented\")},r.prototype.updateCookie=function(e,t,n){throw new Error(\"updateCookie is not implemented\")},r.prototype.removeCookie=function(e,t,n,r){throw new Error(\"removeCookie is not implemented\")},r.prototype.removeCookies=function(e,t,n){throw new Error(\"removeCookies is not implemented\")},r.prototype.getAllCookies=function(e){throw new Error(\"getAllCookies is not implemented (therefore jar cannot be serialized)\")}},{}],464:[function(e,t,n){t.exports={_args:[[\"tough-cookie@~2.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"tough-cookie@>=2.2.0 <2.3.0\",_id:\"tough-cookie@2.2.2\",_inCache:!0,_installable:!0,_location:\"/tough-cookie\",_nodeVersion:\"5.1.1\",_npmOperationalInternal:{host:\"packages-13-west.internal.npmjs.com\",tmp:\"tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946\"},_npmUser:{email:\"jstash@gmail.com\",name:\"jstash\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"tough-cookie\",raw:\"tough-cookie@~2.2.0\",rawSpec:\"~2.2.0\",scope:null,spec:\">=2.2.0 <2.3.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\",_shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",_shrinkwrap:null,_spec:\"tough-cookie@~2.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"jstashewsky@salesforce.com\",name:\"Jeremy Stashewsky\"},bugs:{url:\"https://github.com/SalesforceEng/tough-cookie/issues\"},contributors:[{name:\"Alexander Savin\"},{name:\"Ian Livingstone\"},{name:\"Ivan Nikulin\"},{name:\"Lalit Kapoor\"},{name:\"Sam Thompson\"},{name:\"Sebastian Mayr\"}],dependencies:{},description:\"RFC6265 Cookies and Cookie Jar for node.js\",devDependencies:{async:\"^1.4.2\",vows:\"^0.8.1\"},directories:{},dist:{shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",tarball:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\"},engines:{node:\">=0.10.0\"},files:[\"lib\"],gitHead:\"cc46628c4d7d2e8c372ecba29293ca8a207ec192\",homepage:\"https://github.com/SalesforceEng/tough-cookie\",keywords:[\"HTTP\",\"RFC2965\",\"RFC6265\",\"cookie\",\"cookiejar\",\"cookies\",\"jar\",\"set-cookie\"],license:\"BSD-3-Clause\",main:\"./lib/cookie\",maintainers:[{name:\"jstash\",email:\"jeremy@goinstant.com\"},{name:\"goinstant\",email:\"services@goinstant.com\"}],name:\"tough-cookie\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/SalesforceEng/tough-cookie.git\"},scripts:{suffixup:\"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js\",test:\"vows test/*_test.js\"},version:\"2.2.2\"}},{}],465:[function(e,t,n){(function(t){\"use strict\";function r(e){var t=new s(e);return t.request=l.request,t}function i(e){var t=new s(e);return t.request=l.request,t.createSocket=c,t.defaultPort=443,t}function o(e){var t=new s(e);return t.request=f.request,t}function a(e){var t=new s(e);return t.request=f.request,t.createSocket=c,t.defaultPort=443,t}function s(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||l.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(\"free\",function(e,n,r){for(var i=0,o=t.requests.length;o>i;++i){var a=t.requests[i];if(a.host===n&&a.port===r)return t.requests.splice(i,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function c(e,t){var n=this;s.prototype.createSocket.call(n,e,function(r){var i=p.connect(0,u({},n.options,{servername:e.host,socket:r}));n.sockets[n.sockets.indexOf(r)]=i,t(i)})}function u(e){for(var t=1,n=arguments.length;n>t;++t){var r=arguments[t];if(\"object\"==typeof r)for(var i=Object.keys(r),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==r[s]&&(e[s]=r[s])}}return e}var p=(e(\"net\"),e(\"tls\")),l=e(\"http\"),f=e(\"https\"),d=e(\"events\"),h=e(\"assert\"),m=e(\"util\");n.httpOverHttp=r,n.httpsOverHttp=i,n.httpOverHttps=o,n.httpsOverHttps=a,m.inherits(s,d.EventEmitter),s.prototype.addRequest=function(e,t){var n=this;return\"string\"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets?void n.requests.push({host:t.host,port:t.port,request:e}):void n.createConnection({host:t.host,port:t.port,request:e})},s.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(n){function r(){t.emit(\"free\",n,e.host,e.port)}function i(e){t.removeSocket(n),n.removeListener(\"free\",r),n.removeListener(\"close\",i),n.removeListener(\"agentRemove\",i)}n.on(\"free\",r),n.on(\"close\",i),n.on(\"agentRemove\",i),e.request.onSocket(n)})},s.prototype.createSocket=function(e,n){function r(e){e.upgrade=!0}function i(e,t,n){process.nextTick(function(){o(e,t,n)})}function o(t,r,i){if(l.removeAllListeners(),r.removeAllListeners(),200===t.statusCode)h.equal(i.length,0),v(\"tunneling connection has established\"),s.sockets[s.sockets.indexOf(c)]=r,n(r);else{v(\"tunneling socket could not be established, statusCode=%d\",t.statusCode);var o=new Error(\"tunneling socket could not be established, statusCode=\"+t.statusCode);o.code=\"ECONNRESET\",e.request.emit(\"error\",o),s.removeSocket(c)}}function a(t){l.removeAllListeners(),v(\"tunneling socket could not be established, cause=%s\\n\",t.message,t.stack);var n=new Error(\"tunneling socket could not be established, cause=\"+t.message);n.code=\"ECONNRESET\",e.request.emit(\"error\",n),s.removeSocket(c)}var s=this,c={};s.sockets.push(c);var p=u({},s.proxyOptions,{method:\"CONNECT\",path:e.host+\":\"+e.port,agent:!1});p.proxyAuth&&(p.headers=p.headers||{},p.headers[\"Proxy-Authorization\"]=\"Basic \"+new t(p.proxyAuth).toString(\"base64\")),v(\"making CONNECT request\");var l=s.request(p);l.useChunkedEncodingByDefault=!1,l.once(\"response\",r),l.once(\"upgrade\",i),l.once(\"connect\",o),l.once(\"error\",a),l.end()},s.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createConnection(n)}};var v;v=process.env.NODE_DEBUG&&/\\btunnel\\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);\"string\"==typeof e[0]?e[0]=\"TUNNEL: \"+e[0]:e.unshift(\"TUNNEL:\"),console.error.apply(console,e)}:function(){},n.debug=v}).call(this,e(\"buffer\").Buffer)},{assert:void 0,buffer:void 0,events:void 0,http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],466:[function(e,t,n){!function(t){\"use strict\";function n(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function r(e,t,n,r,i){var o,a=0;for(o=0;i>o;o++)a|=e[t+o]^n[r+o];return(1&a-1>>>8)-1}function i(e,t,n,i){return r(e,t,n,i,16)}function o(e,t,n,i){return r(e,t,n,i,32)}function a(e,t,n,r){\nfor(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;w=w+o|0,_=_+a|0,k=k+s|0,j=j+c|0,S=S+u|0,E=E+p|0,O=O+l|0,A=A+f|0,C=C+d|0,T=T+h|0,I=I+m|0,P=P+v|0,F=F+g|0,M=M+y|0,z=z+b|0,B=B+x|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=_>>>0&255,e[5]=_>>>8&255,e[6]=_>>>16&255,e[7]=_>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=T>>>0&255,e[37]=T>>>8&255,e[38]=T>>>16&255,e[39]=T>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=z>>>0&255,e[57]=z>>>8&255,e[58]=z>>>16&255,e[59]=z>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,n,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=I>>>0&255,e[9]=I>>>8&255,e[10]=I>>>16&255,e[11]=I>>>24&255,e[12]=B>>>0&255,e[13]=B>>>8&255,e[14]=B>>>16&255,e[15]=B>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255}function c(e,t,n,r){a(e,t,n,r)}function u(e,t,n,r){s(e,t,n,r)}function p(e,t,n,r,i,o,a){var s,u,p=new Uint8Array(16),l=new Uint8Array(64);for(u=0;16>u;u++)p[u]=0;for(u=0;8>u;u++)p[u]=o[u];for(;i>=64;){for(c(l,p,a,fe),u=0;64>u;u++)e[t+u]=n[r+u]^l[u];for(s=1,u=8;16>u;u++)s=s+(255&p[u])|0,p[u]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(c(l,p,a,fe),u=0;i>u;u++)e[t+u]=n[r+u]^l[u];return 0}function l(e,t,n,r,i){var o,a,s=new Uint8Array(16),u=new Uint8Array(64);for(a=0;16>a;a++)s[a]=0;for(a=0;8>a;a++)s[a]=r[a];for(;n>=64;){for(c(u,s,i,fe),a=0;64>a;a++)e[t+a]=u[a];for(o=1,a=8;16>a;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;n-=64,t+=64}if(n>0)for(c(u,s,i,fe),a=0;n>a;a++)e[t+a]=u[a];return 0}function f(e,t,n,r,i){var o=new Uint8Array(32);u(o,r,i,fe);for(var a=new Uint8Array(8),s=0;8>s;s++)a[s]=r[s+16];return l(e,t,n,a,o)}function d(e,t,n,r,i,o,a){var s=new Uint8Array(32);u(s,o,a,fe);for(var c=new Uint8Array(8),l=0;8>l;l++)c[l]=o[l+16];return p(e,t,n,r,i,c,s)}function h(e,t,n,r,i,o){var a=new de(o);return a.update(n,r,i),a.finish(e,t),0}function m(e,t,n,r,o,a){var s=new Uint8Array(16);return h(s,0,n,r,o,a),i(e,t,s,0)}function v(e,t,n,r,i){var o;if(32>n)return-1;for(d(e,0,t,0,n,r,i),h(e,16,e,32,n-32,e),o=0;16>o;o++)e[o]=0;return 0}function g(e,t,n,r,i){var o,a=new Uint8Array(32);if(32>n)return-1;if(f(a,0,32,r,i),0!==m(t,16,t,32,n-32,a))return-1;for(d(e,0,t,0,n,r,i),o=0;32>o;o++)e[o]=0;return 0}function y(e,t){var n;for(n=0;16>n;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;16>t;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function x(e,t,n){for(var r,i=~(n-1),o=0;16>o;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function w(e,t){var n,r,i,o=ee(),a=ee();for(n=0;16>n;n++)a[n]=t[n];for(b(a),b(a),b(a),r=0;2>r;r++){for(o[0]=a[0]-65517,n=1;15>n;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,x(a,o,1-i)}for(n=0;16>n;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function _(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return w(n,e),w(r,t),o(n,0,r,0)}function k(e){var t=new Uint8Array(32);return w(t,e),1&t[0]}function j(e,t){var n;for(n=0;16>n;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function S(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]+n[r]}function E(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]-n[r]}function O(e,t,n){var r,i,o=0,a=0,s=0,c=0,u=0,p=0,l=0,f=0,d=0,h=0,m=0,v=0,g=0,y=0,b=0,x=0,w=0,_=0,k=0,j=0,S=0,E=0,O=0,A=0,C=0,T=0,I=0,P=0,F=0,M=0,z=0,B=n[0],N=n[1],D=n[2],q=n[3],R=n[4],L=n[5],$=n[6],U=n[7],H=n[8],V=n[9],W=n[10],Y=n[11],K=n[12],G=n[13],J=n[14],Z=n[15];r=t[0],o+=r*B,a+=r*N,s+=r*D,c+=r*q,u+=r*R,p+=r*L,l+=r*$,f+=r*U,d+=r*H,h+=r*V,m+=r*W,v+=r*Y,g+=r*K,y+=r*G,b+=r*J,x+=r*Z,r=t[1],a+=r*B,s+=r*N,c+=r*D,u+=r*q,p+=r*R,l+=r*L,f+=r*$,d+=r*U,h+=r*H,m+=r*V,v+=r*W,g+=r*Y,y+=r*K,b+=r*G,x+=r*J,w+=r*Z,r=t[2],s+=r*B,c+=r*N,u+=r*D,p+=r*q,l+=r*R,f+=r*L,d+=r*$,h+=r*U,m+=r*H,v+=r*V,g+=r*W,y+=r*Y,b+=r*K,x+=r*G,w+=r*J,_+=r*Z,r=t[3],c+=r*B,u+=r*N,p+=r*D,l+=r*q,f+=r*R,d+=r*L,h+=r*$,m+=r*U,v+=r*H,g+=r*V,y+=r*W,b+=r*Y,x+=r*K,w+=r*G,_+=r*J,k+=r*Z,r=t[4],u+=r*B,p+=r*N,l+=r*D,f+=r*q,d+=r*R,h+=r*L,m+=r*$,v+=r*U,g+=r*H,y+=r*V,b+=r*W,x+=r*Y,w+=r*K,_+=r*G,k+=r*J,j+=r*Z,r=t[5],p+=r*B,l+=r*N,f+=r*D,d+=r*q,h+=r*R,m+=r*L,v+=r*$,g+=r*U,y+=r*H,b+=r*V,x+=r*W,w+=r*Y,_+=r*K,k+=r*G,j+=r*J,S+=r*Z,r=t[6],l+=r*B,f+=r*N,d+=r*D,h+=r*q,m+=r*R,v+=r*L,g+=r*$,y+=r*U,b+=r*H,x+=r*V,w+=r*W,_+=r*Y,k+=r*K,j+=r*G,S+=r*J,E+=r*Z,r=t[7],f+=r*B,d+=r*N,h+=r*D,m+=r*q,v+=r*R,g+=r*L,y+=r*$,b+=r*U,x+=r*H,w+=r*V,_+=r*W,k+=r*Y,j+=r*K,S+=r*G,E+=r*J,O+=r*Z,r=t[8],d+=r*B,h+=r*N,m+=r*D,v+=r*q,g+=r*R,y+=r*L,b+=r*$,x+=r*U,w+=r*H,_+=r*V,k+=r*W,j+=r*Y,S+=r*K,E+=r*G,O+=r*J,A+=r*Z,r=t[9],h+=r*B,m+=r*N,v+=r*D,g+=r*q,y+=r*R,b+=r*L,x+=r*$,w+=r*U,_+=r*H,k+=r*V,j+=r*W,S+=r*Y,E+=r*K,O+=r*G,A+=r*J,C+=r*Z,r=t[10],m+=r*B,v+=r*N,g+=r*D,y+=r*q,b+=r*R,x+=r*L,w+=r*$,_+=r*U,k+=r*H,j+=r*V,S+=r*W,E+=r*Y,O+=r*K,A+=r*G,C+=r*J,T+=r*Z,r=t[11],v+=r*B,g+=r*N,y+=r*D,b+=r*q,x+=r*R,w+=r*L,_+=r*$,k+=r*U,j+=r*H,S+=r*V,E+=r*W,O+=r*Y,A+=r*K,C+=r*G,T+=r*J,I+=r*Z,r=t[12],g+=r*B,y+=r*N,b+=r*D,x+=r*q,w+=r*R,_+=r*L,k+=r*$,j+=r*U,S+=r*H,E+=r*V,O+=r*W,A+=r*Y,C+=r*K,T+=r*G,I+=r*J,P+=r*Z,r=t[13],y+=r*B,b+=r*N,x+=r*D,w+=r*q,_+=r*R,k+=r*L,j+=r*$,S+=r*U,E+=r*H,O+=r*V,A+=r*W,C+=r*Y,T+=r*K,I+=r*G,P+=r*J,F+=r*Z,r=t[14],b+=r*B,x+=r*N,w+=r*D,_+=r*q,k+=r*R,j+=r*L,S+=r*$,E+=r*U,O+=r*H,A+=r*V,C+=r*W,T+=r*Y,I+=r*K,P+=r*G,F+=r*J,M+=r*Z,r=t[15],x+=r*B,w+=r*N,_+=r*D,k+=r*q,j+=r*R,S+=r*L,E+=r*$,O+=r*U,A+=r*H,C+=r*V,T+=r*W,I+=r*Y,P+=r*K,F+=r*G,M+=r*J,z+=r*Z,o+=38*w,a+=38*_,s+=38*k,c+=38*j,u+=38*S,p+=38*E,l+=38*O,f+=38*A,d+=38*C,h+=38*T,m+=38*I,v+=38*P,g+=38*F,y+=38*M,b+=38*z,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=f,e[8]=d,e[9]=h,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=x}function A(e,t){O(e,t,t)}function C(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=253;n>=0;n--)A(r,r),2!==n&&4!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function T(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=250;n>=0;n--)A(r,r),1!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function I(e,t,n){var r,i,o=new Uint8Array(32),a=new Float64Array(80),s=ee(),c=ee(),u=ee(),p=ee(),l=ee(),f=ee();for(i=0;31>i;i++)o[i]=t[i];for(o[31]=127&t[31]|64,o[0]&=248,j(a,n),i=0;16>i;i++)c[i]=a[i],p[i]=s[i]=u[i]=0;for(s[0]=p[0]=1,i=254;i>=0;--i)r=o[i>>>3]>>>(7&i)&1,x(s,c,r),x(u,p,r),S(l,s,u),E(s,s,u),S(u,c,p),E(c,c,p),A(p,l),A(f,s),O(s,u,s),O(u,c,l),S(l,s,u),E(s,s,u),A(c,s),E(u,p,f),O(s,u,ae),S(s,s,p),O(u,u,s),O(s,p,f),O(p,c,a),A(c,l),x(s,c,r),x(u,p,r);for(i=0;16>i;i++)a[i+16]=s[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=p[i];var d=a.subarray(32),h=a.subarray(16);return C(d,d),O(h,h,d),w(e,h),0}function P(e,t){return I(e,t,re)}function F(e,t){return te(t,32),P(e,t)}function M(e,t,n){var r=new Uint8Array(32);return I(r,n,t),u(e,ne,r,fe)}function z(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),he(e,t,n,r,a)}function B(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),me(e,t,n,r,a)}function N(e,t,n,r){for(var i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_,k,j,S,E,O,A,C,T=new Int32Array(16),I=new Int32Array(16),P=e[0],F=e[1],M=e[2],z=e[3],B=e[4],N=e[5],D=e[6],q=e[7],R=t[0],L=t[1],$=t[2],U=t[3],H=t[4],V=t[5],W=t[6],Y=t[7],K=0;r>=128;){for(_=0;16>_;_++)k=8*_+K,T[_]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],I[_]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(_=0;80>_;_++)if(i=P,o=F,a=M,s=z,c=B,u=N,p=D,l=q,f=R,d=L,h=$,m=U,v=H,g=V,y=W,b=Y,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=B&N^~B&D,S=H&V^~H&W,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=ve[2*_],S=ve[2*_+1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=T[_%16],S=I[_%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,x=65535&A|C<<16,w=65535&E|O<<16,j=x,S=w,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(P>>>28|R<<4)^(R>>>2|P<<30)^(R>>>7|P<<25),S=(R>>>28|P<<4)^(P>>>2|R<<30)^(P>>>7|R<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=P&F^P&M^F&M,S=R&L^R&$^L&$,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,l=65535&A|C<<16,b=65535&E|O<<16,j=s,S=m,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=x,S=w,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,s=65535&A|C<<16,m=65535&E|O<<16,F=i,M=o,z=a,B=s,N=c,D=u,q=p,P=l,L=f,$=d,U=h,H=m,V=v,W=g,Y=y,R=b,_%16===15)for(k=0;16>k;k++)j=T[k],S=I[k],E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=T[(k+9)%16],S=I[(k+9)%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+1)%16],w=I[(k+1)%16],j=(x>>>1|w<<31)^(x>>>8|w<<24)^x>>>7,S=(w>>>1|x<<31)^(w>>>8|x<<24)^(w>>>7|x<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+14)%16],w=I[(k+14)%16],j=(x>>>19|w<<13)^(w>>>29|x<<3)^x>>>6,S=(w>>>19|x<<13)^(x>>>29|w<<3)^(w>>>6|x<<26),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,T[k]=65535&A|C<<16,I[k]=65535&E|O<<16;j=P,S=R,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[0],S=t[0],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[0]=P=65535&A|C<<16,t[0]=R=65535&E|O<<16,j=F,S=L,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[1],S=t[1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[1]=F=65535&A|C<<16,t[1]=L=65535&E|O<<16,j=M,S=$,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[2],S=t[2],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[2]=M=65535&A|C<<16,t[2]=$=65535&E|O<<16,j=z,S=U,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[3],S=t[3],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[3]=z=65535&A|C<<16,t[3]=U=65535&E|O<<16,j=B,S=H,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[4],S=t[4],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[4]=B=65535&A|C<<16,t[4]=H=65535&E|O<<16,j=N,S=V,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[5],S=t[5],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[5]=N=65535&A|C<<16,t[5]=V=65535&E|O<<16,j=D,S=W,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[6],S=t[6],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[6]=D=65535&A|C<<16,t[6]=W=65535&E|O<<16,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[7],S=t[7],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[7]=q=65535&A|C<<16,t[7]=Y=65535&E|O<<16,K+=128,r-=128}return r}function D(e,t,r){var i,o=new Int32Array(8),a=new Int32Array(8),s=new Uint8Array(256),c=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,N(o,a,t,r),r%=128,i=0;r>i;i++)s[i]=t[c-r+i];for(s[r]=128,r=256-128*(112>r?1:0),s[r-9]=0,n(s,r-8,c/536870912|0,c<<3),N(o,a,s,r),i=0;8>i;i++)n(e,8*i,o[i],a[i]);return 0}function q(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee(),u=ee(),p=ee();E(n,e[1],e[0]),E(p,t[1],t[0]),O(n,n,p),S(r,e[0],e[1]),S(p,t[0],t[1]),O(r,r,p),O(i,e[3],t[3]),O(i,i,ce),O(o,e[2],t[2]),S(o,o,o),E(a,r,n),E(s,o,i),S(c,o,i),S(u,r,n),O(e[0],a,s),O(e[1],u,c),O(e[2],c,s),O(e[3],a,u)}function R(e,t,n){var r;for(r=0;4>r;r++)x(e[r],t[r],n)}function L(e,t){var n=ee(),r=ee(),i=ee();C(i,t[2]),O(n,t[0],i),O(r,t[1],i),w(e,r),e[31]^=k(n)<<7}function $(e,t,n){var r,i;for(y(e[0],ie),y(e[1],oe),y(e[2],oe),y(e[3],ie),i=255;i>=0;--i)r=n[i/8|0]>>(7&i)&1,R(e,t,r),q(t,e),q(e,e),R(e,t,r)}function U(e,t){var n=[ee(),ee(),ee(),ee()];y(n[0],ue),y(n[1],pe),y(n[2],oe),O(n[3],ue,pe),$(e,n,t)}function H(e,t,n){var r,i=new Uint8Array(64),o=[ee(),ee(),ee(),ee()];for(n||te(t,32),D(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,U(o,i),L(e,o),r=0;32>r;r++)t[r+32]=e[r];return 0}function V(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;o>i;++i)t[i]+=n-16*t[r]*ge[i-(r-32)],n=t[i]+128>>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;32>i;i++)t[i]+=n-(t[31]>>4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;32>i;i++)t[i]-=n*ge[i];for(r=0;32>r;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function W(e){var t,n=new Float64Array(64);for(t=0;64>t;t++)n[t]=e[t];for(t=0;64>t;t++)e[t]=0;V(e,n)}function Y(e,t,n,r){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),p=[ee(),ee(),ee(),ee()];D(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64;var l=n+64;for(i=0;n>i;i++)e[64+i]=t[i];for(i=0;32>i;i++)e[32+i]=a[32+i];for(D(c,e.subarray(32),n+32),W(c),U(p,c),L(e,p),i=32;64>i;i++)e[i]=r[i];for(D(s,e,n+64),W(s),i=0;64>i;i++)u[i]=0;for(i=0;32>i;i++)u[i]=c[i];for(i=0;32>i;i++)for(o=0;32>o;o++)u[i+o]+=s[i]*a[o];return V(e.subarray(32),u),l}function K(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee();return y(e[2],oe),j(e[1],t),A(i,e[1]),O(o,i,se),E(i,i,e[2]),S(o,e[2],o),A(a,o),A(s,a),O(c,s,a),O(n,c,i),O(n,n,o),T(n,n),O(n,n,i),O(n,n,o),O(n,n,o),O(e[0],n,o),A(r,e[0]),O(r,r,o),_(r,i)&&O(e[0],e[0],le),A(r,e[0]),O(r,r,o),_(r,i)?-1:(k(e[0])===t[31]>>7&&E(e[0],ie,e[0]),O(e[3],e[0],e[1]),0)}function G(e,t,n,r){var i,a,s=new Uint8Array(32),c=new Uint8Array(64),u=[ee(),ee(),ee(),ee()],p=[ee(),ee(),ee(),ee()];if(a=-1,64>n)return-1;if(K(p,r))return-1;for(i=0;n>i;i++)e[i]=t[i];for(i=0;32>i;i++)e[i+32]=r[i];if(D(c,e,n),W(c),$(u,p,c),U(p,t.subarray(32)),q(u,p),L(s,u),n-=64,o(t,0,s,0)){for(i=0;n>i;i++)e[i]=0;return-1}for(i=0;n>i;i++)e[i]=t[i+64];return a=n}function J(e,t){if(e.length!==ye)throw new Error(\"bad key size\");if(t.length!==be)throw new Error(\"bad nonce size\")}function Z(e,t){if(e.length!==je)throw new Error(\"bad public key size\");if(t.length!==Se)throw new Error(\"bad secret key size\")}function Q(){var e,t;for(t=0;t<arguments.length;t++)if(\"[object Uint8Array]\"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError(\"unexpected type \"+e+\", use Uint8Array\")}function X(e){for(var t=0;t<e.length;t++)e[t]=0}var ee=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},te=function(){throw new Error(\"no PRNG\")},ne=new Uint8Array(16),re=new Uint8Array(32);re[0]=9;var ie=ee(),oe=ee([1]),ae=ee([56129,1]),se=ee([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),ce=ee([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),ue=ee([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),pe=ee([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),le=ee([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),de=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,n,r,i,o,a,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};de.prototype.blocks=function(e,t,n){for(var r,i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_=this.fin?0:2048,k=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],O=this.h[4],A=this.h[5],C=this.h[6],T=this.h[7],I=this.h[8],P=this.h[9],F=this.r[0],M=this.r[1],z=this.r[2],B=this.r[3],N=this.r[4],D=this.r[5],q=this.r[6],R=this.r[7],L=this.r[8],$=this.r[9];n>=16;)r=255&e[t+0]|(255&e[t+1])<<8,k+=8191&r,i=255&e[t+2]|(255&e[t+3])<<8,j+=8191&(r>>>13|i<<3),o=255&e[t+4]|(255&e[t+5])<<8,S+=8191&(i>>>10|o<<6),a=255&e[t+6]|(255&e[t+7])<<8,E+=8191&(o>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,O+=8191&(a>>>4|s<<12),A+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,C+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,T+=8191&(c>>>11|u<<5),p=255&e[t+14]|(255&e[t+15])<<8,I+=8191&(u>>>8|p<<8),P+=p>>>5|_,l=0,f=l,f+=k*F,f+=j*(5*$),f+=S*(5*L),f+=E*(5*R),f+=O*(5*q),l=f>>>13,f&=8191,f+=A*(5*D),f+=C*(5*N),f+=T*(5*B),f+=I*(5*z),f+=P*(5*M),l+=f>>>13,f&=8191,d=l,d+=k*M,d+=j*F,d+=S*(5*$),d+=E*(5*L),d+=O*(5*R),l=d>>>13,d&=8191,d+=A*(5*q),d+=C*(5*D),d+=T*(5*N),d+=I*(5*B),d+=P*(5*z),l+=d>>>13,d&=8191,h=l,h+=k*z,h+=j*M,h+=S*F,h+=E*(5*$),h+=O*(5*L),l=h>>>13,h&=8191,h+=A*(5*R),h+=C*(5*q),h+=T*(5*D),h+=I*(5*N),h+=P*(5*B),l+=h>>>13,h&=8191,m=l,m+=k*B,m+=j*z,m+=S*M,m+=E*F,m+=O*(5*$),l=m>>>13,m&=8191,m+=A*(5*L),m+=C*(5*R),m+=T*(5*q),m+=I*(5*D),m+=P*(5*N),l+=m>>>13,m&=8191,v=l,v+=k*N,v+=j*B,v+=S*z,v+=E*M,v+=O*F,l=v>>>13,v&=8191,v+=A*(5*$),v+=C*(5*L),v+=T*(5*R),v+=I*(5*q),v+=P*(5*D),l+=v>>>13,v&=8191,g=l,g+=k*D,g+=j*N,g+=S*B,g+=E*z,g+=O*M,l=g>>>13,g&=8191,g+=A*F,g+=C*(5*$),g+=T*(5*L),g+=I*(5*R),g+=P*(5*q),l+=g>>>13,g&=8191,y=l,y+=k*q,y+=j*D,y+=S*N,y+=E*B,y+=O*z,l=y>>>13,y&=8191,y+=A*M,y+=C*F,y+=T*(5*$),y+=I*(5*L),y+=P*(5*R),l+=y>>>13,y&=8191,b=l,b+=k*R,b+=j*q,b+=S*D,b+=E*N,b+=O*B,l=b>>>13,b&=8191,b+=A*z,b+=C*M,b+=T*F,b+=I*(5*$),b+=P*(5*L),l+=b>>>13,b&=8191,x=l,x+=k*L,x+=j*R,x+=S*q,x+=E*D,x+=O*N,l=x>>>13,x&=8191,x+=A*B,x+=C*z,x+=T*M,x+=I*F,x+=P*(5*$),l+=x>>>13,x&=8191,w=l,w+=k*$,w+=j*L,w+=S*R,w+=E*q,w+=O*D,l=w>>>13,w&=8191,w+=A*N,w+=C*B,w+=T*z,w+=I*M,w+=P*F,l+=w>>>13,w&=8191,l=(l<<2)+l|0,l=l+f|0,f=8191&l,l>>>=13,d+=l,k=f,j=d,S=h,E=m,O=v,A=g,C=y,T=b,I=x,P=w,t+=16,n-=16;this.h[0]=k,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=O,this.h[5]=A,this.h[6]=C,this.h[7]=T,this.h[8]=I,this.h[9]=P},de.prototype.finish=function(e,t){var n,r,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;16>o;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,o=2;10>o;o++)this.h[o]+=n,n=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;10>o;o++)a[o]=this.h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;10>o;o++)a[o]&=r;for(r=~r,o=0;10>o;o++)this.h[o]=this.h[o]&r|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;8>o;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},de.prototype.update=function(e,t,n){var r,i;if(this.leftover){for(i=16-this.leftover,i>n&&(i=n),r=0;i>r;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(i=n-n%16,this.blocks(e,t,i),t+=i,n-=i),n){for(r=0;n>r;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var he=v,me=g,ve=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ye=32,be=24,xe=32,we=16,_e=32,ke=32,je=32,Se=32,Ee=32,Oe=be,Ae=xe,Ce=we,Te=64,Ie=32,Pe=64,Fe=32,Me=64;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:d,crypto_stream:f,crypto_stream_salsa20_xor:p,crypto_stream_salsa20:l,crypto_onetimeauth:h,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:o,crypto_secretbox:v,crypto_secretbox_open:g,crypto_scalarmult:I,crypto_scalarmult_base:P,crypto_box_beforenm:M,crypto_box_afternm:he,crypto_box:z,crypto_box_open:B,crypto_box_keypair:F,crypto_hash:D,crypto_sign:Y,crypto_sign_keypair:H,crypto_sign_open:G,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:be,crypto_secretbox_ZEROBYTES:xe,crypto_secretbox_BOXZEROBYTES:we,crypto_scalarmult_BYTES:_e,crypto_scalarmult_SCALARBYTES:ke,crypto_box_PUBLICKEYBYTES:je,crypto_box_SECRETKEYBYTES:Se,crypto_box_BEFORENMBYTES:Ee,crypto_box_NONCEBYTES:Oe,crypto_box_ZEROBYTES:Ae,crypto_box_BOXZEROBYTES:Ce,crypto_sign_BYTES:Te,crypto_sign_PUBLICKEYBYTES:Ie,crypto_sign_SECRETKEYBYTES:Pe,crypto_sign_SEEDBYTES:Fe,crypto_hash_BYTES:Me},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error(\"nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js\")}),t.randomBytes=function(e){var t=new Uint8Array(e);return te(t,e),t},t.secretbox=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(xe+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+xe]=e[o];return v(i,r,r.length,t,n),i.subarray(we)},t.secretbox.open=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(we+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+we]=e[o];return r.length<32?!1:0!==g(i,r,r.length,t,n)?!1:i.subarray(xe)},t.secretbox.keyLength=ye,t.secretbox.nonceLength=be,t.secretbox.overheadLength=we,t.scalarMult=function(e,t){if(Q(e,t),e.length!==ke)throw new Error(\"bad n size\");if(t.length!==_e)throw new Error(\"bad p size\");var n=new Uint8Array(_e);return I(n,e,t),n},t.scalarMult.base=function(e){if(Q(e),e.length!==ke)throw new Error(\"bad n size\");var t=new Uint8Array(_e);return P(t,e),t},t.scalarMult.scalarLength=ke,t.scalarMult.groupElementLength=_e,t.box=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox(e,n,o)},t.box.before=function(e,t){Q(e,t),Z(e,t);var n=new Uint8Array(Ee);return M(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox.open(e,n,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(je),t=new Uint8Array(Se);return F(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Se)throw new Error(\"bad secret key size\");var t=new Uint8Array(je);return P(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=je,t.box.secretKeyLength=Se,t.box.sharedKeyLength=Ee,t.box.nonceLength=Oe,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(Q(e,t),t.length!==Pe)throw new Error(\"bad secret key size\");var n=new Uint8Array(Te+e.length);return Y(n,e,e.length,t),n},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error(\"nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?\");if(Q(e,t),t.length!==Ie)throw new Error(\"bad public key size\");var n=new Uint8Array(e.length),r=G(n,e,e.length,t);if(0>r)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached=function(e,n){for(var r=t.sign(e,n),i=new Uint8Array(Te),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached.verify=function(e,t,n){if(Q(e,t,n),t.length!==Te)throw new Error(\"bad signature size\");if(n.length!==Ie)throw new Error(\"bad public key size\");var r,i=new Uint8Array(Te+e.length),o=new Uint8Array(Te+e.length);for(r=0;Te>r;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+Te]=e[r];return G(o,i,i.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(Ie),t=new Uint8Array(Pe);return H(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Pe)throw new Error(\"bad secret key size\");for(var t=new Uint8Array(Ie),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(Q(e),e.length!==Fe)throw new Error(\"bad seed size\");for(var t=new Uint8Array(Ie),n=new Uint8Array(Pe),r=0;32>r;r++)n[r]=e[r];return H(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=Ie,t.sign.secretKeyLength=Pe,t.sign.seedLength=Fe,t.sign.signatureLength=Te,t.hash=function(e){Q(e);var t=new Uint8Array(Me);return D(t,e,e.length),t},t.hash.hashLength=Me,t.verify=function(e,t){return Q(e,t),0===e.length||0===t.length?!1:e.length!==t.length?!1:0===r(e,0,t,0,e.length)},t.setPRNG=function(e){te=e},function(){var n=\"undefined\"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){var r=65536;t.setPRNG(function(e,t){var i,o=new Uint8Array(t);for(i=0;t>i;i+=r)n.getRandomValues(o.subarray(i,i+Math.min(t-i,r)));\nfor(i=0;t>i;i++)e[i]=o[i];X(o)})}else\"undefined\"!=typeof e&&(n=e(\"crypto\"),n&&n.randomBytes&&t.setPRNG(function(e,t){var r,i=n.randomBytes(t);for(r=0;t>r;r++)e[r]=i[r];X(i)}))}()}(\"undefined\"!=typeof t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:void 0}],467:[function(e,t,n){\"use strict\";function r(e,t){var n,r=t,i=u(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var o;for(n=0;n<r.length;n++)if(s(a(o=r[n]),i))return\"+\"===o[0]||-1!==o.indexOf(\"*\")?i:o;return!1}function i(e){return void 0!==e.headers[\"transfer-encoding\"]||!isNaN(e.headers[\"content-length\"])}function o(e,t){var n=t;if(!i(e))return null;if(arguments.length>2){n=new Array(arguments.length-1);for(var o=0;o<n.length;o++)n[o]=arguments[o+1]}var a=e.headers[\"content-type\"];return r(a,n)}function a(e){if(\"string\"!=typeof e)return!1;switch(e){case\"urlencoded\":return\"application/x-www-form-urlencoded\";case\"multipart\":return\"multipart/*\"}return\"+\"===e[0]?\"*/*\"+e:-1===e.indexOf(\"/\")?l.lookup(e):e}function s(e,t){if(e===!1)return!1;var n=t.split(\"/\"),r=e.split(\"/\");return 2!==n.length||2!==r.length?!1:\"*\"!==r[0]&&r[0]!==n[0]?!1:\"*+\"===r[1].substr(0,2)?r[1].length<=n[1].length+1&&r[1].substr(1)===n[1].substr(1-r[1].length):\"*\"===r[1]||r[1]===n[1]}function c(e){var t=p.parse(e);return t.parameters=void 0,p.format(t)}function u(e){try{return c(e)}catch(t){return null}}var p=e(\"media-typer\"),l=e(\"mime-types\");t.exports=o,t.exports.is=r,t.exports.hasBody=i,t.exports.normalize=a,t.exports.match=s},{\"media-typer\":179,\"mime-types\":184}],468:[function(e,t,n){(function(r){function i(e){v[e]=v(e)}function o(e){return{a:function(t){t.prototype&&(t=t.prototype.constructor.name);var n=Object.prototype.toString.call(e).slice(8,-1).toLowerCase();return null!=e&&n===t.toLowerCase()}}}function a(e){var t=Array.indexOf?function(e,t,n){return e.indexOf(t,n)}:function(e,t,n){var r=e.length,i=n?parseInt(1*n+(0>n?r:0),10):0;for(i=0>i?0:i;r>i;i++)if(i in e&&e[i]===t)return i;return-1};return{startWith:function(t){return o(e).a(String)?e.slice(0,t.length)==t:o(e).a(Array)?e[0]==t:!1},endWith:function(t){return o(e).a(String)?e.slice(-t.length)==t:o(e).a(Array)?e[e.length-1]==t:!1},contain:function(n){return o(e).a(String)?-1!=e.indexOf(n):o(e).a(Object)?e.hasOwnProperty(n):o(e).a(Array)?!!~t(e,n):!1}}}var s=e(\"string_decoder\").StringDecoder,c=e(\"querystring\"),u=e(\"form-data\"),p=e(\"stream\"),l=e(\"mime\"),f=e(\"zlib\"),d=e(\"path\"),h=e(\"url\"),m=e(\"fs\");l.define({\"application/x-www-form-urlencoded\":[\"form\",\"urlencoded\",\"form-data\"]});var v=function(e,t,n,i,c){var g=function(t,n,i,c){function g(e,t,n){var r,i,a,s;if(n=n||{attachment:!1},o(e).a(Object))for(a in e)e.hasOwnProperty(a)&&g(a,e[a],n);else if(o(t).a(Array))for(s=0,i=t.length;i>s;s++)(r=y(t[s]))&&x.rawField(e,r,n);else null!=t&&x.rawField(e,y(t),n);return x}function y(e){return e instanceof r||\"string\"==typeof e?e:o(e).a(Object)?e instanceof m.FileReadStream?e:v.serializers.json(e):e.toString()}function b(e,t){x[e]=function(n){return x.options[t||e]=n,x}}var x={_stream:!1,_multipart:[],_form:[],options:{url:t,method:e,headers:{}},hasHeader:function(e){var t,n;e=e.toLowerCase(),t=Object.keys(x.options.headers),n=t.map(function(e){return e.toLowerCase()});for(var r=0;r<n.length;r++)if(n[r]===e)return t[r];return!1},stream:function(){return x._stream=!0,this},field:function(e,t,n){return g(e,t,n)},attach:function(e,t,n){return n=n||{},n.attachment=!0,g(e,t,n)},rawField:function(e,t,n){x._multipart.push({name:e,value:t,options:n,attachment:n.attachment||!1})},auth:function(e,t,n){return x.options.auth=o(e).a(Object)?e:{user:e,password:t,sendImmediately:n},x},header:function(e,t){if(o(e).a(Object)){for(var n in e)e.hasOwnProperty(n)&&x.header(n,e[n]);return x}var r=x.hasHeader(e);return x.options.headers[r||e]=t,x},query:function(e){return o(e).a(Object)&&(e=v.serializers.form(e)),e.length?(x.options.url+=(a(x.options.url).contain(\"?\")?\"&\":\"?\")+e,x):x},type:function(e){return x.header(\"Content-Type\",a(e).contain(\"/\")?e:l.lookup(e)),x},send:function(e){var t=x.options.headers[x.hasHeader(\"content-type\")];if(o(e).a(Object)&&!r.isBuffer(e))if(t)if(t.indexOf(\"json\"))if(x.options.json=!0,x.options.body&&o(x.options.body).a(Object))for(var n in e)e.hasOwnProperty(n)&&(x.options.body[n]=e[n]);else x.options.body=e;else x.options.body=v.Request.serialize(e,t);else x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")],x.options.body=v.serializers.form(e);else o(e).a(String)?(t||(x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")]),\"application/x-www-form-urlencoded\"==t?x.options.body=x.options.body?x.options.body+\"&\"+e:e:x.options.body=(x.options.body||\"\")+e):x.options.body=e;return x},part:function(e){if(x._multipart||(x.options.multipart=[]),o(e).a(Object)){if(e[\"content-type\"]){var t=v.type(e[\"content-type\"],!0);t&&(e.body=v.Response.parse(e.body))}else o(e.body).a(Object)&&(e.body=Request.serializers.json(e.body));x.options.multipart.push(e)}else x.options.multipart.push({body:e});return x},end:function(e){function t(t,n,r){function i(e){var t=v.trim(e).split(\"=\"),n=v.trim(t[0]),r=v.trim(t.slice(1).join(\"=\"));t[0]&&\"\"!=t[0]&&(p.cookies[n]=\"\"===r?!0:r)}var s,c,u,p={};if(t&&!n)return p.error=t,void(e&&e(p));if(!n)return console.log(\"This is odd, report this action / request to: http://github.com/mashape/unirest-nodejs\"),p.error={message:\"No response found.\"},void(e&&e(p));if(p=n,s=n.statusCode,u=s/100|0,p.code=s,p.status=s,p.statusType=u,p.info=1==u,p.ok=2==u,p.clientError=4==u,p.serverError=5==u,p.accepted=202==s,p.noContent=204==s||1223==s,p.badRequest=400==s,p.unauthorized=401==s,p.notAcceptable=406==s,p.notFound=404==s,p.forbidden=403==s,p.error=4==u||5==u?function(){var e=\"got \"+p.status+\" response\",t=new Error(e);return t.status=p.status,t}():!1,p.cookies={},p.cookie=function(e){return p.cookies[e]},n.cookies&&o(n.cookies).a(Object)&&Object.keys(n.cookies).length>0)p.cookies=n.cookies;else{var l=n.headers[\"set-cookie\"];if(l&&o(l).a(Array))for(var f=0;f<l.length;f++){var d=l[f];o(d).a(String)&&a(d).contain(\";\")&&d.split(\";\").forEach(i)}l=n.headers.cookie,l&&o(l).a(String)&&l.split(\";\").forEach(i)}r=r||n.body,p.raw_body=r,p.headers=n.headers,r&&(u=v.type(p.headers[\"content-type\"],!0),c=u?v.Response.parse(r,u):r),p.body=c,e&&e(p)}function n(e){if(/^(deflate|gzip)$/.test(e.headers[\"content-encoding\"])){var t,n=f.createUnzip(),r=new p,i=e.on;r.req=e.req,n.on(\"error\",function(e){r.emit(\"error\",e)}),e.pipe(n),e.setEncoding=function(e){t=new s(e)},n.on(\"data\",function(e){if(!t)return r.emit(\"data\",e);var n=t.write(e);n.length&&r.emit(\"data\",n)}),n.on(\"end\",function(){r.emit(\"end\")}),e.on=function(t,n){\"data\"==t||\"end\"==t?r.on(t,n):\"error\"==t?i.call(e,t,n):i.call(e,t,n)}}}function r(e){for(var t=0;t<x._multipart.length;t++){var n=x._multipart[t];n.attachment&&o(n.value).a(String)&&(a(n.value).contain(\"http://\")||a(n.value).contain(\"https://\")?n.value=v.request(n.value):n.value=m.createReadStream(d.resolve(n.value))),e.append(n.name,n.value,n.options)}return e}var i,c,l,g;return x._multipart.length&&!x._stream?(l=h.parse(x.options.url),g=new u,(c=x.options.headers[x.hasHeader(\"content-type\")])?x.options.headers[\"content-type\"]=c.split(\";\")[0]+\"; boundary=\"+g.getBoundary():x.options.headers[\"content-type\"]=\"multipart/form-data; boundary=\"+g.getBoundary(),r(g).submit({protocol:l.protocol,port:l.port,host:l.hostname,path:l.path,method:x.options.method,headers:x.options.headers,auth:x.options.auth||l.auth},function(e,r){var i=new s(\"utf8\");return e?t(e,r):(r.body||(r.body=\"\"),r.resume(),n(r),r.on(\"data\",function(e){\"string\"==typeof e?r.body+=e:r.body+=i.write(e)}),void r.on(\"end\",function(){return t(e,r)}))})):(i=v.request(x.options,t),i.on(\"response\",n),x._multipart.length&&x._stream&&r(i.form()),i)}};x.headers=x.header,x.set=x.header,x.complete=x.end,x.as={json:x.end,binary:x.end,string:x.end};for(var w in v[\"enum\"].options)if(v[\"enum\"].options.hasOwnProperty(w)){var _=v[\"enum\"].options[w],k=null;-1!=_.indexOf(\":\")&&(_=_.split(\":\"),k=_[1],_=_[0]),b(_,k)}return n&&\"function\"==typeof n?(c=n,n=null):i&&\"function\"==typeof i&&(c=i,i=null),n&&x.set(n),i&&x.send(i),c?x.end(c):x};return t?g(t,n,i,c):g};v.type=function(e,t){return\"string\"!=typeof e?!1:t?e.split(/ *; */).shift():v.types[e]||e},v.params=function(e){return reduce(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},v.trim=\"\".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\\s*|\\s*$)/g,\"\")},v.parsers={string:function(e){for(var t,n,r={},i=e.split(\"&\"),o=0,a=i.length;a>o;++o)n=i[o],t=n.split(\"=\"),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r},json:function(e){try{e=JSON.parse(e)}catch(t){}return e}},v.serializers={form:function(e){return c.stringify(e)},json:function(e){return JSON.stringify(e)}},v.Request={serialize:function(e,t){var n=v.firstMatch(t,v[\"enum\"].serialize);return n?n(e):e},uid:function(e){for(var t=\"\",n=\"abcdefghijklmnopqrstuvwxyz123456789\",r=n.length;e--;)t+=n[Math.random()*r|0];return t}},v.Response={parse:function(e,t){var n=v.firstMatch(t,v[\"enum\"].parse);return n?n(e):e},parseHeader:function(e){var t,n,r,i,o=e.split(/\\r?\\n/),a={};o.pop();for(var s=0,c=o.length;c>s;++s)n=o[s],t=n.indexOf(\":\"),r=n.slice(0,t).toLowerCase(),i=trim(n.slice(t+1)),a[r]=i;return a}},v.request=e(\"request\"),v.cookie=v.request.cookie,v.pipe=v.request.pipe,v.jar=function(e){e=e||{};var t=v.request.jar();return e.store&&(t._jar.store=e.store),e.rejectPublicSuffixes&&(t._jar.rejectPublicSuffixes=e.rejectPublicSuffixes),t.add=t.setCookie,t.toString=t.getCookieString,t},v[\"enum\"]={serialize:{\"application/x-www-form-urlencoded\":v.serializers.form,\"application/json\":v.serializers.json,\"+json\":v.serializers.json},parse:{\"application/x-www-form-urlencoded\":v.parsers.string,\"application/json\":v.parsers.json,\"+json\":v.parsers.json},methods:[\"GET\",\"HEAD\",\"PUT\",\"POST\",\"PATCH\",\"DELETE\",\"OPTIONS\"],options:[\"uri:url\",\"redirects:maxRedirects\",\"redirect:followRedirect\",\"url\",\"method\",\"qs\",\"form\",\"json\",\"multipart\",\"followRedirect\",\"followAllRedirects\",\"maxRedirects\",\"encoding\",\"pool\",\"timeout\",\"proxy\",\"oauth\",\"hawk\",\"ssl:strictSSL\",\"strictSSL\",\"jar\",\"cookies:jar\",\"aws\",\"httpSignature\",\"localAddress\",\"ip:localAddress\",\"secureProtocol\",\"forever\"]},v.matches=function(e,t){var n=[];for(var r in t)\"undefined\"!=typeof t.length&&(r=t[r]),-1!==e.indexOf(r)&&n.push(t[r]);return n},v.firstMatch=function(e,t){return v.matches(e,t)[0]};for(var g=0;g<v[\"enum\"].methods.length;g++){var y=v[\"enum\"].methods[g].toLowerCase();i(y)}t.exports=n=v}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"form-data\":487,fs:void 0,mime:506,path:void 0,querystring:void 0,request:517,stream:void 0,string_decoder:void 0,url:void 0,zlib:void 0}],469:[function(e,t,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],470:[function(e,t,n){arguments[4][5][0].apply(n,arguments)},{\"./errors\":469,\"./reader\":471,\"./types\":472,\"./writer\":473,dup:5}],471:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0;var t=this;this.__defineGetter__(\"length\",function(){return t._len}),this.__defineGetter__(\"offset\",function(){return t._offset}),this.__defineGetter__(\"remain\",function(){return t._size-t._offset}),this.__defineGetter__(\"buffer\",function(){return t._buf.slice(t._offset)})}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+n.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>this._size-r)return null;if(this._offset=r,0===this.length)return\"\";var i=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?i:i.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>this._size-n)return null;this._offset=n;for(var r=[],i=0,a=0;a<this.length;a++){var c=255&this._buf[this._offset++];i<<=7,i+=127&c,0==(128&c)&&(r.push(i),i=0)}return i=r.shift(),r.unshift(i%40),r.unshift(i/40>>0),r.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset++],o=0;o=127&r;for(var a=1;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&(o=-o),o},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../../node_modules/is-buffer/index.js\":538,\"./errors\":469,\"./types\":472,assert:void 0}],472:[function(e,t,n){arguments[4][7][0].apply(n,arguments)},{dup:7}],473:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[];var t=this;this.__defineGetter__(\"buffer\",function(){if(t._seq.length)throw new InvalidAsn1Error(t._seq.length+\" unended sequence(s)\");return t._buf.slice(0,t._offset)})}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||4286578688===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._shift(start,e,1),this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":469,\"./types\":472,assert:void 0,buffer:void 0}],474:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{\"./ber/index\":470,dup:9}],475:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.charAt(0).toLowerCase()+e.slice(1)}function o(){return _.format.apply(_,arguments)}function a(e,t,n,r){if(!k){n=n||t,r=r||a.caller;var i=typeof e;if(i!==t)throw new x.AssertionError({message:o(E,n,t),actual:i,expected:t,operator:\"===\",stackStartFunction:r})}}function s(e,t,n,r){if(!(k||(n=n||t,r=r||s.caller,e instanceof t)))throw new x.AssertionError({message:o(E,n,t.name),actual:c(e),expected:t.name,operator:\"instanceof\",stackStartFunction:r})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){if(!k){if(n=n||t,!Array.isArray(e))throw new x.AssertionError({message:o(S,n,t),actual:typeof e,expected:\"array\",operator:\"Array.isArray\",stackStartFunction:u.caller});for(var r=0;r<e.length;r++)a(e[r],t,n,u)}}function p(e,t){a(e,\"boolean\",t,p)}function l(e,t){if(!n.isBuffer(e))throw new x.AssertionError({message:o(E,t||\"\",\"Buffer\"),actual:typeof e,expected:\"buffer\",operator:\"Buffer.isBuffer\",stackStartFunction:l})}function f(e,t){a(e,\"function\",t)}function d(e,t){if(a(e,\"number\",t),!k&&(isNaN(e)||!isFinite(e)))throw new x.AssertionError({message:o(E,t,\"number\"),actual:e,expected:\"number\",operator:\"isNaN\",stackStartFunction:d})}function h(e,t){a(e,\"object\",t)}function m(e,t){s(e,w,t)}function v(e,t){s(e,Date,t)}function g(e,t){s(e,RegExp,t)}function y(e,t){a(e,\"string\",t)}function b(e,t){if(y(e,t),!k&&!j.test(e))throw new x.AssertionError({message:o(E,t,\"uuid\"),actual:\"string\",expected:\"uuid\",operator:\"test\",stackStartFunction:b})}var x=e(\"assert\"),w=e(\"stream\").Stream,_=e(\"util\"),k=process.env.NODE_NDEBUG||!1,j=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,S=\"%s ([%s]) required\",E=\"%s (%s) is required\";t.exports={bool:p,buffer:l,date:v,func:f,number:d,object:h,regexp:g,stream:m,string:y,uuid:b},Object.keys(t.exports).forEach(function(e){if(\"buffer\"!==e){var n=\"arrayOf\"+r(e);\"bool\"===e&&(e=\"boolean\"),\"func\"===e&&(e=\"function\"),t.exports[n]=function(t,n){u(t,e,n)}}}),Object.keys(t.exports).forEach(function(e){var n=\"optional\"+r(e),o=i(e.replace(\"arrayOf\",\"\"));\"bool\"===o&&(o=\"boolean\"),\"func\"===o&&(o=\"function\"),-1!==e.indexOf(\"arrayOf\")?t.exports[n]=function(e,t){k||void 0===e||u(e,o,t)}:t.exports[n]=function(e,t){k||void 0===e||a(e,o,t)}}),Object.keys(x).forEach(function(e){return\"AssertionError\"===e?void(t.exports[e]=x[e]):void(t.exports[e]=function(){k||x[e].apply(x[e],arguments)})})}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],476:[function(e,t,n){!function(){function e(e){var t=!1;return function(){if(t)throw new Error(\"Callback was already called.\");t=!0,e.apply(n,arguments)}}var n,r,i={};n=this,null!=n&&(r=n.async),i.noConflict=function(){return n.async=r,i};var o=Object.prototype.toString,a=Array.isArray||function(e){return\"[object Array]\"===o.call(e)},s=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)},c=function(e,t){if(e.map)return e.map(t);var n=[];return s(e,function(e,r,i){n.push(t(e,r,i))}),n},u=function(e,t,n){return e.reduce?e.reduce(t,n):(s(e,function(e,r,i){n=t(n,e,r,i)}),n)},p=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t};\"undefined\"!=typeof process&&process.nextTick?(i.nextTick=process.nextTick,\"undefined\"!=typeof setImmediate?i.setImmediate=function(e){setImmediate(e)}:i.setImmediate=i.nextTick):\"function\"==typeof setImmediate?(i.nextTick=function(e){setImmediate(e)},i.setImmediate=i.nextTick):(i.nextTick=function(e){setTimeout(e,0)},i.setImmediate=i.nextTick),i.each=function(t,n,r){function i(e){e?(r(e),r=function(){}):(o+=1,o>=t.length&&r())}if(r=r||function(){},!t.length)return r();var o=0;s(t,function(t){n(t,e(i))})},i.forEach=i.each,i.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var r=0,i=function(){t(e[r],function(t){t?(n(t),n=function(){}):(r+=1,r>=e.length?n():i())})};i()},i.forEachSeries=i.eachSeries,i.eachLimit=function(e,t,n,r){var i=l(t);i.apply(null,[e,n,r])},i.forEachLimit=i.eachLimit;var l=function(e){return function(t,n,r){if(r=r||function(){},!t.length||0>=e)return r();var i=0,o=0,a=0;!function s(){if(i>=t.length)return r();for(;e>a&&o<t.length;)o+=1,a+=1,n(t[o-1],function(e){e?(r(e),r=function(){}):(i+=1,a-=1,i>=t.length?r():s())})}()}},f=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.each].concat(t))}},d=function(e,t){return function(){var n=Array.prototype.slice.call(arguments);return t.apply(null,[l(e)].concat(n))}},h=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.eachSeries].concat(t))}},m=function(e,t,n,r){if(t=c(t,function(e,t){return{index:t,value:e}}),r){var i=[];e(t,function(e,t){n(e.value,function(n,r){i[e.index]=r,t(n)})},function(e){r(e,i)})}else e(t,function(e,t){n(e.value,function(e){t(e)})})};i.map=f(m),i.mapSeries=h(m),i.mapLimit=function(e,t,n,r){return v(t)(e,n,r)};var v=function(e){return d(e,m)};i.reduce=function(e,t,n,r){i.eachSeries(e,function(e,r){n(t,e,function(e,n){t=n,r(e)})},function(e){r(e,t)})},i.inject=i.reduce,i.foldl=i.reduce,i.reduceRight=function(e,t,n,r){var o=c(e,function(e){return e}).reverse();i.reduce(o,t,n,r)},i.foldr=i.reduceRight;var g=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n&&i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.filter=f(g),i.filterSeries=h(g),i.select=i.filter,i.selectSeries=i.filterSeries;var y=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n||i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.reject=f(y),i.rejectSeries=h(y);var b=function(e,t,n,r){e(t,function(e,t){n(e,function(n){n?(r(e),r=function(){}):t()})},function(e){r()})};i.detect=f(b),i.detectSeries=h(b),i.some=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e&&(n(!0),n=function(){}),r()})},function(e){n(!1)})},i.any=i.some,i.every=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e||(n(!1),n=function(){}),r()})},function(e){n(!0)})},i.all=i.every,i.sortBy=function(e,t,n){i.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){if(e)return n(e);var r=function(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0};n(null,c(t.sort(r),function(e){return e.value}))})},i.auto=function(e,t){t=t||function(){};var n=p(e),r=n.length;if(!r)return t();var o={},c=[],l=function(e){c.unshift(e)},f=function(e){for(var t=0;t<c.length;t+=1)if(c[t]===e)return void c.splice(t,1)},d=function(){r--,s(c.slice(0),function(e){e()})};l(function(){if(!r){var e=t;t=function(){},e(null,o)}}),s(n,function(n){var r=a(e[n])?e[n]:[e[n]],c=function(e){var r=Array.prototype.slice.call(arguments,1);if(r.length<=1&&(r=r[0]),e){var a={};s(p(o),function(e){a[e]=o[e]}),a[n]=r,t(e,a),t=function(){}}else o[n]=r,i.setImmediate(d)},h=r.slice(0,Math.abs(r.length-1))||[],m=function(){return u(h,function(e,t){return e&&o.hasOwnProperty(t)},!0)&&!o.hasOwnProperty(n)};if(m())r[r.length-1](c,o);else{var v=function(){m()&&(f(v),r[r.length-1](c,o))};l(v)}})},i.retry=function(e,t,n){var r=5,o=[];\"function\"==typeof e&&(n=t,t=e,e=r),e=parseInt(e,10)||r;var a=function(r,a){for(var s=function(e,t){return function(n){e(function(e,r){n(!e||t,{err:e,result:r})},a)}};e;)o.push(s(t,!(e-=1)));i.series(o,function(e,t){t=t[t.length-1],(r||n)(t.err,t.result)})};return n?a():a},i.waterfall=function(e,t){if(t=t||function(){},!a(e)){var n=new Error(\"First argument to waterfall must be an array of functions\");return t(n)}if(!e.length)return t();var r=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var o=Array.prototype.slice.call(arguments,1),a=e.next();a?o.push(r(a)):o.push(t),i.setImmediate(function(){e.apply(null,o)})}}};r(i.iterator(e))()};var x=function(e,t,n){if(n=n||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},n);else{var r={};e.each(p(t),function(e,n){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[e]=i,n(t)})},function(e){n(e,r)})}};i.parallel=function(e,t){x({map:i.map,each:i.each},e,t)},i.parallelLimit=function(e,t,n){x({map:v(t),each:l(t)},e,n)},i.series=function(e,t){if(t=t||function(){},a(e))i.mapSeries(e,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},t);else{var n={};i.eachSeries(p(e),function(t,r){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[t]=i,r(e)})},function(e){t(e,n)})}},i.iterator=function(e){var t=function(n){var r=function(){return e.length&&e[n].apply(null,arguments),r.next()};return r.next=function(){return n<e.length-1?t(n+1):null},r};return t(0)},i.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,n,r){var i=[];e(t,function(e,t){n(e,function(e,n){i=i.concat(n||[]),t(e)})},function(e){r(e,i)})};i.concat=f(w),i.concatSeries=h(w),i.whilst=function(e,t,n){e()?t(function(r){return r?n(r):void i.whilst(e,t,n)}):n()},i.doWhilst=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?i.doWhilst(e,t,n):n()})},i.until=function(e,t,n){e()?n():t(function(r){return r?n(r):void i.until(e,t,n)})},i.doUntil=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?n():i.doUntil(e,t,n)})},i.queue=function(t,n){function r(e,t,n,r){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var o={data:t,callback:\"function\"==typeof r?r:null};n?e.tasks.unshift(o):e.tasks.push(o),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}void 0===n&&(n=1);var o=0,c={tasks:[],concurrency:n,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){r(c,e,!1,t)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(e,t){r(c,e,!0,t)},process:function(){if(!c.paused&&o<c.concurrency&&c.tasks.length){var n=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),o+=1;var r=function(){o-=1,n.callback&&n.callback.apply(n,arguments),c.drain&&c.tasks.length+o===0&&c.drain(),c.process()},i=e(r);t(n.data,i)}},length:function(){return c.tasks.length},running:function(){return o},idle:function(){return c.tasks.length+o===0},pause:function(){c.paused!==!0&&(c.paused=!0)},resume:function(){if(c.paused!==!1){c.paused=!1;for(var e=1;e<=c.concurrency;e++)i.setImmediate(c.process)}}};return c},i.priorityQueue=function(e,t){function n(e,t){return e.priority-t.priority}function r(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,c){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var a={data:t,priority:o,callback:\"function\"==typeof c?c:null};e.tasks.splice(r(e.tasks,a,n)+1,0,a),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}var c=i.queue(e,t);return c.push=function(e,t,n){o(c,e,t,n)},delete c.unshift,c},i.cargo=function(e,t){var n=!1,r=[],o={tasks:r,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,n){a(e)||(e=[e]),s(e,function(e){r.push({data:e,callback:\"function\"==typeof n?n:null}),o.drained=!1,o.saturated&&r.length===t&&o.saturated()}),i.setImmediate(o.process)},process:function u(){if(!n){if(0===r.length)return o.drain&&!o.drained&&o.drain(),void(o.drained=!0);var i=\"number\"==typeof t?r.splice(0,t):r.splice(0,r.length),a=c(i,function(e){return e.data});o.empty&&o.empty(),n=!0,e(a,function(){n=!1;var e=arguments;s(i,function(t){t.callback&&t.callback.apply(null,e)}),u()})}},length:function(){return r.length},running:function(){return n}};return o};var _=function(e){return function(t){var n=Array.prototype.slice.call(arguments,1);t.apply(null,n.concat([function(t){var n=Array.prototype.slice.call(arguments,1);\"undefined\"!=typeof console&&(t?console.error&&console.error(t):console[e]&&s(n,function(t){console[e](t)}))}]))}};i.log=_(\"log\"),i.dir=_(\"dir\"),i.memoize=function(e,t){var n={},r={};t=t||function(e){return e};var o=function(){var o=Array.prototype.slice.call(arguments),a=o.pop(),s=t.apply(null,o);\ns in n?i.nextTick(function(){a.apply(null,n[s])}):s in r?r[s].push(a):(r[s]=[a],e.apply(null,o.concat([function(){n[s]=arguments;var e=r[s];delete r[s];for(var t=0,i=e.length;i>t;t++)e[t].apply(null,arguments)}])))};return o.memo=n,o.unmemoized=e,o},i.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},i.times=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.map(r,t,n)},i.timesSeries=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.mapSeries(r,t,n)},i.seq=function(){var e=arguments;return function(){var t=this,n=Array.prototype.slice.call(arguments),r=n.pop();i.reduce(e,n,function(e,n,r){n.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);r(e,t)}]))},function(e,n){r.apply(t,[e].concat(n))})}},i.compose=function(){return i.seq.apply(null,Array.prototype.reverse.call(arguments))};var k=function(e,t){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return e(t,function(e,t){e.apply(n,r.concat([t]))},i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};i.applyEach=f(k),i.applyEachSeries=h(k),i.forever=function(e,t){function n(r){if(r){if(t)return t(r);throw r}e(n)}n()},\"undefined\"!=typeof t&&t.exports?t.exports=i:\"undefined\"!=typeof define&&define.amd?define([],function(){return i}):n.async=i}()},{}],477:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],478:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),this._bufs.push(t?e:new n(e)),this.length+=e.length,this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":513,util:void 0}],479:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":480,dup:434}],480:[function(e,t,n){var r=e(\"http\"),i=e(\"util\"),o=e(\"hoek\"),a={};n=t.exports=a.Boom=function(){if(o.assert(this.constructor===a.Boom,\"Error must be instantiated using new\"),Error.call(this),this.isBoom=!0,this.response={code:0,payload:{},headers:{}},arguments[0]instanceof Error){var e=arguments[0];this.data=e,this.response.code=e.code||500,e.message&&(this.message=e.message)}else{var t=arguments[0],n=arguments[1];o.assert(!isNaN(parseFloat(t))&&isFinite(t)&&t>=400,\"First argument must be a number (400+)\"),this.response.code=t,n&&(this.message=n)}return this.reformat(),this},i.inherits(a.Boom,Error),a.Boom.prototype.reformat=function(){this.response.payload.code=this.response.code,this.response.payload.error=r.STATUS_CODES[this.response.code]||\"Unknown\",this.message&&(this.response.payload.message=o.escapeHtml(this.message))},a.Boom.badRequest=function(e){return new a.Boom(400,e)},a.Boom.unauthorized=function(e,t,n){var r=new a.Boom(401,e);if(!t)return r;var i=\"\";if(\"string\"==typeof t){if(i=t,n)for(var s=Object.keys(n),c=0,u=s.length;u>c;++c){c&&(i+=\",\");var p=n[s[c]];null!==p&&void 0!==p||(p=\"\"),i+=\" \"+s[c]+'=\"'+o.escapeHeaderAttribute(p.toString())+'\"'}e?(n&&(i+=\",\"),i+=' error=\"'+o.escapeHeaderAttribute(e)+'\"'):r.isMissing=!0}else for(var l=t,c=0,u=l.length;u>c;++c)c&&(i+=\", \"),i+=l[c];return r.response.headers[\"WWW-Authenticate\"]=i,r},a.Boom.clientTimeout=function(e){return new a.Boom(408,e)},a.Boom.serverTimeout=function(e){return new a.Boom(503,e)},a.Boom.forbidden=function(e){return new a.Boom(403,e)},a.Boom.notFound=function(e){return new a.Boom(404,e)},a.Boom.internal=function(e,t){var n=new a.Boom(500,e);return t&&t.stack?(n.trace=t.stack.split(\"\\n\"),n.outterTrace=o.displayStack(1)):n.trace=o.displayStack(1),n.data=t,n.response.payload.message=\"An internal server error occurred\",n},a.Boom.passThrough=function(e,t,n,r){var i=new a.Boom(500,\"Pass-through\");return i.data={code:e,payload:t,type:n},i.response.code=e,i.response.type=n,i.response.headers=r,i.response.payload=t,i}},{hoek:494,http:void 0,util:void 0}],481:[function(e,t,n){function r(e){this.dict=e}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return n.set(e,t,r)},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],482:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":485,stream:void 0,util:void 0}],483:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":484,dup:434}],484:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n+=o===a?0:1}return 0===n}},{boom:479,crypto:void 0}],485:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},r.prototype.__defineGetter__(\"readable\",function(){return this.source.readable}),r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],486:[function(e,t,n){function r(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||r.defaultMinSockets,t.on(\"free\",function(e,n,r){var i=n+\":\"+r;if(t.requests[i]&&t.requests[i].length)t.requests[i].shift().onSocket(e);else if(t.sockets[i].length<t.minSockets){t.freeSockets[i]||(t.freeSockets[i]=[]),t.freeSockets[i].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on(\"error\",o)}else e.destroy()})}function i(e){r.call(this,e)}function o(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),u.connect(n)}t.exports=r,r.SSL=i;var a=e(\"util\"),s=e(\"http\").Agent,c=e(\"net\"),u=e(\"tls\"),p=e(\"https\").Agent;a.inherits(r,s),r.defaultMinSockets=5,r.prototype.createConnection=c.createConnection,r.prototype.addRequestNoreuse=s.prototype.addRequest,r.prototype.addRequest=function(e,t,n){var r=t+\":\"+n;if(this.freeSockets[r]&&this.freeSockets[r].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener(\"error\",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,n)},r.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},a.inherits(i,r),i.prototype.createConnection=o,i.prototype.addRequestNoreuse=p.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],487:[function(e,t,n){(function(n){function r(){this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],o.call(this)}function i(e,t){for(var n in t)e[n]||(e[n]=t[n]);return e}var o=e(\"combined-stream\"),a=e(\"util\"),s=e(\"path\"),c=e(\"http\"),u=e(\"https\"),p=e(\"url\").parse,l=e(\"fs\"),f=e(\"mime-types\"),d=e(\"async\");t.exports=r,a.inherits(r,o),r.LINE_BREAK=\"\\r\\n\",r.prototype.append=function(e,t,n){n=n||{};var r=o.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),a.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var i=this._multiPartHeader(e,t,n),s=this._multiPartFooter(e,t,n);r(i),r(t),r(s),this._trackLength(i,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+ +r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):l.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){var i=this.getBoundary(),o=\"\";return null!=n.header?o=n.header:(o+=\"--\"+i+r.LINE_BREAK+'Content-Disposition: form-data; name=\"'+e+'\"',n.filename||t.path?o+='; filename=\"'+s.basename(n.filename||t.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+(n.contentType||f.lookup(n.filename||t.path)):t.readable&&t.hasOwnProperty(\"httpVersion\")&&(o+='; filename=\"'+s.basename(t.client._httpMessage.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+t.headers[\"content-type\"]),o+=r.LINE_BREAK+r.LINE_BREAK),o},r.prototype._multiPartFooter=function(e,t,n){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"},r.prototype.getHeaders=function(e){var t={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(var n in e)t[n.toLowerCase()]=e[n];return t},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),t},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void d.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,o={method:\"post\"};return\"string\"==typeof e?(e=p(e),r=i({port:e.port,path:e.pathname,host:e.hostname},o)):(r=i(e,o),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==e.protocol?u.request(r):c.request(r),this.getLength(function(e,r){n.setHeader(\"Content-Length\",r),this.pipe(n),t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{async:476,buffer:void 0,\"combined-stream\":482,fs:void 0,http:void 0,https:void 0,\"mime-types\":505,path:void 0,url:void 0,util:void 0}],488:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":491,dup:434}],489:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var i={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return i.err=\"Invalid argument type\",i;var c=n.timestamp||Math.floor((s.now()+(n.localtimeOffsetMsec||0))/1e3),u=n.credentials;if(!(u&&u.id&&u.key&&u.algorithm))return i.err=\"Invalid credential object\",i;if(-1===a.algorithms.indexOf(u.algorithm))return i.err=\"Unknown algorithm\",i;\"string\"==typeof e&&(e=r.parse(e));var p={ts:c,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};i.artifacts=p,!p.hash&&n.hasOwnProperty(\"payload\")&&(p.hash=a.calculatePayloadHash(n.payload,u.algorithm,n.contentType));var l=a.calculateMac(\"header\",u,p),f=null!==p.ext&&void 0!==p.ext&&\"\"!==p.ext,d='Hawk id=\"'+u.id+'\", ts=\"'+p.ts+'\", nonce=\"'+p.nonce+(p.hash?'\", hash=\"'+p.hash:\"\")+(f?'\", ext=\"'+s.escapeHeaderAttribute(p.ext):\"\")+'\", mac=\"'+l+'\"';return p.app&&(d+=', app=\"'+p.app+(p.dlg?'\", dlg=\"'+p.dlg:\"\")+'\"'),i.field=d,i},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var o=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(o instanceof Error)return!1;n.ext=o.ext,n.hash=o.hash;var u=a.calculateMac(\"response\",t,n);if(u!==o.mac)return!1;if(!r.hasOwnProperty(\"payload\"))return!0;if(!o.hash)return!1;var p=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return p===o.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now()+(t.localtimeOffsetMsec||0),i=t.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return\"\";if(-1===a.algorithms.indexOf(i.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var o=Math.floor(n/1e3)+t.ttlSec,c=a.calculateMac(\"bewit\",i,{ts:o,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),u=i.id+\"\\\\\"+o+\"\\\\\"+c+\"\\\\\"+t.ext;return s.base64urlEncode(u)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||Math.floor((s.now()+(r.localtimeOffsetMsec||0))/1e3),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":490,\"./utils\":493,cryptiles:483,hoek:494,url:void 0}],490:[function(e,t,n){var r=e(\"crypto\"),i=(e(\"url\"),e(\"./utils\"));n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+(t.resource||\"\")+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(r+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),r+=\"\\n\",t.app&&(r+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),r},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var o=r.createHash(e);return o.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),o.update(i.parseContentType(t)+\"\\n\"),o},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=Math.floor((i.now()+(t||0))/1e3),o=n.calculateTsMac(r,e);return{ts:r,tsm:o}}},{\"./utils\":493,crypto:void 0,url:void 0}],491:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":489,\"./crypto\":490,\"./server\":492,\"./utils\":493,boom:479,sntp:527}],492:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.authenticate=function(e,t,n,i){i=s.nextTick(i),n.nonceFunc=n.nonceFunc||function(e,t,n){return n()},n.timestampSkewSec=n.timestampSkewSec||60;var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=s.parseAuthorizationHeader(u.authorization);if(p instanceof Error)return i(p);var l={method:u.method,host:u.host,port:u.port,resource:u.url,ts:p.ts,nonce:p.nonce,hash:p.hash,ext:p.ext,app:p.app,dlg:p.dlg,mac:p.mac,id:p.id};return p.id&&p.ts&&p.nonce&&p.mac?void t(p.id,function(e,t){if(e)return i(e,t||null,l);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,l);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,l);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,l);var s=a.calculateMac(\"header\",t,l);if(!o.fixedTimeComparison(s,p.mac))return i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,l);if(null!==n.payload&&void 0!==n.payload){if(!p.hash)return i(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,l);var f=a.calculatePayloadHash(n.payload,t.algorithm,u.contentType);if(!o.fixedTimeComparison(f,p.hash))return i(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,l)}n.nonceFunc(p.nonce,p.ts,function(e){if(e)return i(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,l);if(Math.abs(1e3*p.ts-c)>1e3*n.timestampSkewSec){var o=a.timestampMessage(t,n.localtimeOffsetMsec);return i(r.unauthorized(\"Stale timestamp\",\"Hawk\",o),t,l)}return i(null,t,l)})}):i(r.badRequest(\"Missing attributes\"),null,l)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";!t.hash&&n.hasOwnProperty(\"payload\")&&(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+s.escapeHeaderAttribute(t.ext)+'\"'),o},n.authenticateBewit=function(e,t,n,i){i=s.nextTick(i);var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=u.url.match(/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/);if(!p)return i(r.unauthorized(null,\"Hawk\"));if(!p[3])return i(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==u.method&&\"HEAD\"!==u.method)return i(r.unauthorized(\"Invalid method\",\"Hawk\"));if(u.authorization)return i(r.badRequest(\"Multiple authentications\",\"Hawk\"));var l=s.base64urlDecode(p[3]);if(l instanceof Error)return i(r.badRequest(\"Invalid bewit encoding\"));var f=l.split(\"\\\\\");if(!f||4!==f.length)return i(r.badRequest(\"Invalid bewit structure\"));var d={id:f[0],exp:parseInt(f[1],10),mac:f[2],ext:f[3]||\"\"};if(!d.id||!d.exp||!d.mac)return i(r.badRequest(\"Missing bewit attributes\"));var h=p[1];return p[4]&&(h+=p[2]+p[4]),1e3*d.exp<=c?i(r.unauthorized(\"Access expired\",\"Hawk\"),null,d):void t(d.id,function(e,t){if(e)return i(e,t||null,d.ext);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,d);var n=a.calculateMac(\"bewit\",t,{ts:d.exp,nonce:\"\",method:\"GET\",resource:h,host:u.host,port:u.port,ext:d.ext});return o.fixedTimeComparison(n,d.mac)?i(null,t,d):i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d)})},n.authenticateMessage=function(e,t,n,i,c,u,p){p=s.nextTick(p),u.nonceFunc=u.nonceFunc||function(e,t,n){return n()},u.timestampSkewSec=u.timestampSkewSec||60;var l=s.now()+(u.localtimeOffsetMsec||0);return i.id&&i.ts&&i.nonce&&i.hash&&i.mac?void c(i.id,function(s,c){if(s)return p(s,c||null);if(!c)return p(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!c.key||!c.algorithm)return p(r.internal(\"Invalid credentials\"),c);if(-1===a.algorithms.indexOf(c.algorithm))return p(r.internal(\"Unknown algorithm\"),c);var f={ts:i.ts,nonce:i.nonce,host:e,port:t,hash:i.hash},d=a.calculateMac(\"message\",c,f);if(!o.fixedTimeComparison(d,i.mac))return p(r.unauthorized(\"Bad mac\",\"Hawk\"),c);var h=a.calculatePayloadHash(n,c.algorithm);return o.fixedTimeComparison(h,i.hash)?void u.nonceFunc(i.nonce,i.ts,function(e){return e?p(r.unauthorized(\"Invalid nonce\",\"Hawk\"),c):Math.abs(1e3*i.ts-l)>1e3*u.timestampSkewSec?p(r.unauthorized(\"Stale timestamp\"),c):p(null,c)}):p(r.unauthorized(\"Bad message hash\",\"Hawk\"),c)}):p(r.badRequest(\"Invalid authorization\"))}},{\"./crypto\":490,\"./utils\":493,boom:479,cryptiles:483,hoek:494}],493:[function(e,t,n){(function(t){var r=e(\"hoek\"),i=e(\"sntp\"),o=e(\"boom\"),a={};a[\"import\"]=function(){for(var e in r)r.hasOwnProperty(e)&&(n[e]=r[e])},a[\"import\"](),n.version=function(){return n.loadPackage(t+\"/..\").version},n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var n=e.headers[t];if(!n)return null;var r;r=\"[\"===n[0]?/^(?:(?:\\r\\n)?\\s)*(\\[[^\\]]+\\])(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/:/^(?:(?:\\r\\n)?\\s)*([^:]+)(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/;var i=n.match(r);return i&&3===i.length&&i[1]?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;if(!t.host||!t.port){var r=n.parseHost(e,t.hostHeaderName);if(!r)return new Error(\"Invalid Host header\")}var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(){return i.now()},n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return o.unauthorized(null,\"Hawk\");var n=e.match(/^(\\w+)(?:\\s+(.*))?$/);if(!n)return o.badRequest(\"Invalid header syntax\");var r=n[1];if(\"hawk\"!==r.toLowerCase())return o.unauthorized(null,\"Hawk\");var i=n[2];if(!i)return o.badRequest(\"Invalid header syntax\");var a={},s=\"\",c=i.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(s=\"Unknown attribute: \"+n):null===r.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/)?void(s=\"Bad attribute value: \"+n):a.hasOwnProperty(n)?void(s=\"Duplicate attribute: \"+n):(a[n]=r,\"\")});return\"\"!==c?o.badRequest(s||\"Bad header format\"):a},n.unauthorized=function(e){return o.unauthorized(e,\"Hawk\")}}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/hawk/lib\")},{boom:479,hoek:494,sntp:527}],494:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":496,dup:434}],495:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";\nvar i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97&&122>=t||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],496:[function(e,t,n){(function(t){var r=e(\"fs\"),i=e(\"./escape\");n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o=e instanceof Array?[]:{};r.orig.push(e),r.copy.push(o);for(var a in e)if(e.hasOwnProperty(a))if(e[a]instanceof t)o[a]=new t(e[a]);else if(e[a]instanceof Date)o[a]=new Date(e[a].getTime());else if(e[a]instanceof RegExp){var s=\"\"+(e[a].global?\"g\":\"\")+(e[a].ignoreCase?\"i\":\"\")+(e[a].multiline?\"m\":\"\");o[a]=new RegExp(e[a].source,s)}else o[a]=n.clone(e[a],r);return o},n.merge=function(e,t,r,i){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===t||void 0===t||\"object\"==typeof t,\"Invalid source value: must be null, undefined, or an object\"),!t)return e;if(t instanceof Array){n.assert(e instanceof Array,\"Cannot merge array onto an object\"),i===!1&&(e.length=0);for(var o=0,a=t.length;a>o;++o)e.push(t[o]);return e}for(var s=Object.keys(t),c=0,u=s.length;u>c;++c){var p=s[c],l=t[p];l&&\"object\"==typeof l?e[p]&&\"object\"==typeof e[p]?n.merge(e[p],t[p],r,i):e[p]=n.clone(l):null!==l&&void 0!==l?e[p]=l:r!==!1&&(e[p]=l)}return e},n.applyToDefaults=function(e,t){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var r=n.clone(e);return t===!0?r:n.merge(r,t,!1,!1)},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=e instanceof Array?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.matchKeys=function(e,t){for(var n=[],r=0,i=t.length;i>r;++r)e.hasOwnProperty(t[r])&&n.push(t[r]);return n},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.removeKeys=function(e,t){for(var n=0,r=t.length;r>n;n++)delete e[t[n]]},n.reach=function(e,t){for(var n=t.split(\".\"),r=e,i=0,o=n.length;o>i;++i)r&&(r=r[n[i]]);return r},n.inheritAsync=function(e,t,n){n=n||null;for(var r in t)if(t.hasOwnProperty(r)){if(n instanceof Array&&n.indexOf(r)<0)continue;e.prototype[r]=function(e){return function(t){var n=null;try{n=e()}catch(r){return t(r)}return t(null,n)}}(t[r])}},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){var t=Array.prototype.slice.call(arguments,1);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.loadDirModules=function(t,n,i){for(var o={},a=0,s=n.length;s>a;++a)o[n[a]+\".js\"]=!0;var c=r.readdirSync(t);for(a=0,s=c.length;s>a;++a){var u=c[a];if(/\\.js$/.test(u)&&!o[u]){var p=u.substr(0,u.lastIndexOf(\".\")),l=p.charAt(0).toUpperCase()+p.substr(1).toLowerCase();\"function\"!=typeof i?i[l]=e(t+\"/\"+p):i(t+\"/\"+p,p,l)}}},n.rename=function(e,t,n){e[n]=e[t],delete e[t]},n.Timer=function(){this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.loadPackage=function(e){var t={},n=(e||process.env.PWD)+\"/package.json\";if(r.existsSync(n))try{t=JSON.parse(r.readFileSync(n))}catch(i){}return t},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.toss=function(e){var t=3===arguments.length?arguments[1]:\"\",n=3===arguments.length?arguments[2]:arguments[1],r=t instanceof Error?t:t?new Error(t):e instanceof Error?e:new Error;return e instanceof Error||!e?n(r):void 0},n.base64urlEncode=function(e){return new t(e,\"binary\").toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e){if(e&&!e.match(/^[\\w\\-]*$/))return new Error(\"Invalid character\");try{return new t(e.replace(/-/g,\"+\").replace(/:/g,\"/\"),\"base64\").toString(\"binary\")}catch(n){return n}},n.escapeHeaderAttribute=function(e){return n.assert(e.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return i.escapeHtml(e)},n.escapeJavaScript=function(e){return i.escapeJavaScript(e)},n.consoleFunc=console.log,n.printEvent=function(e){var t=function(e){return(10>e?\"0\":\"\")+e},r=new Date(e.timestamp),i=(r.getYear()-100).toString()+t(r.getMonth()+1)+t(r.getDate())+\"/\"+t(r.getHours())+t(r.getMinutes())+t(r.getSeconds())+\".\"+r.getMilliseconds(),o=e.data;if(\"string\"!=typeof e.data)try{o=JSON.stringify(e.data)}catch(a){o=\"JSON Error: \"+a.message}var s=i+\", \"+e.tags[0]+\", \"+o;n.consoleFunc(s)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":495,buffer:void 0,fs:void 0}],497:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./util\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature}},{\"./parser\":498,\"./signer\":499,\"./util\":500,\"./verify\":501}],498:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){r.call(this,e,o)}function a(e){r.call(this,e,a)}function s(e){r.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l={New:0,Params:1},f={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,Error),u.inherits(i,r),u.inherits(o,r),u.inherits(a,r),u.inherits(s,r),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new s(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,r=l.New,u=f.Name,d=\"\",h=\"\",m={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},v=e.headers.authorization;for(n=0;n<v.length;n++){var g=v.charAt(n);switch(Number(r)){case l.New:\" \"!==g?m.scheme+=g:r=l.Params;break;case l.Params:switch(Number(u)){case f.Name:var y=g.charCodeAt(0);if(y>=65&&90>=y||y>=97&&122>=y)d+=g;else{if(\"=\"!==g)throw new o(\"bad param format\");if(0===d.length)throw new o(\"bad param format\");u=f.Quote}break;case f.Quote:if('\"'!==g)throw new o(\"bad param format\");h=\"\",u=f.Value;break;case f.Value:'\"'===g?(m.params[d]=h,u=f.Comma):h+=g;break;case f.Comma:if(\",\"!==g)throw new o(\"bad param format\");d=\"\",u=f.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(m.params.headers&&\"\"!==m.params.headers?m.params.headers=m.params.headers.split(\" \"):e.headers[\"x-date\"]?m.params.headers=[\"x-date\"]:m.params.headers=[\"date\"],!m.scheme||\"Signature\"!==m.scheme)throw new o('scheme was not \"Signature\"');if(!m.params.keyId)throw new o(\"keyId was not specified\");if(!m.params.algorithm)throw new o(\"algorithm was not specified\");if(!m.params.signature)throw new o(\"signature was not specified\");if(m.params.algorithm=m.params.algorithm.toLowerCase(),!p[m.params.algorithm])throw new a(m.params.algorithm+\" is not supported\");for(n=0;n<m.params.headers.length;n++){var b=m.params.headers[n].toLowerCase();if(m.params.headers[n]=b,\"request-line\"!==b){var x=e.headers[b];if(!x)throw new s(b+\" was not in the request\");m.signingString+=b+\": \"+x}else m.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion;n+1<m.params.headers.length&&(m.signingString+=\"\\n\")}var w;if(e.headers.date||e.headers[\"x-date\"]){w=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var _=new Date,k=Math.abs(_.getTime()-w.getTime());if(k>1e3*t.clockSkew)throw new i(\"clock skew of \"+k/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(m.params.headers.indexOf(e)<0)throw new s(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(m.params.algorithm))throw new a(m.params.algorithm+\" is not a supported algorithm\");return m}}},{\"assert-plus\":475,util:void 0}],499:[function(e,t,n){function r(e){this.name=\"MissingHeaderError\",this.message=e,this.stack=(new Error).stack}function i(e){this.name=\"InvalidAlgorithmError\",this.message=e,this.stack=(new Error).stack}function o(e){return parseInt(e,10)<10&&(e=\"0\"+e),e}function a(){var e=new Date,t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];return n[e.getUTCDay()]+\", \"+o(e.getUTCDate())+\" \"+t[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+o(e.getUTCHours())+\":\"+o(e.getUTCMinutes())+\":\"+o(e.getUTCSeconds())+\" GMT\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=(e(\"http\"),e(\"util\").format),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';r.prototype=new Error,i.prototype=new Error,t.exports={signRequest:function(e,t){if(s.object(e,\"request\"),s.object(t,\"options\"),s.optionalString(t.algorithm,\"options.algorithm\"),s.string(t.keyId,\"options.keyId\"),s.optionalArrayOfString(t.headers,\"options.headers\"),s.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",a()),t.headers||(t.headers=[\"date\"]),t.algorithm||(t.algorithm=\"rsa-sha256\"),t.httpVersion||(t.httpVersion=\"1.1\"),t.algorithm=t.algorithm.toLowerCase(),!p[t.algorithm])throw new i(t.algorithm+\" is not supported\");var n,o=\"\";for(n=0;n<t.headers.length;n++){if(\"string\"!=typeof t.headers[n])throw new TypeError(\"options.headers must be an array of Strings\");var f=t.headers[n].toLowerCase();if(\"request-line\"!==f){var d=e.getHeader(f);if(!d)throw new r(f+\" was not in the request\");o+=f+\": \"+d}else o+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion;n+1<t.headers.length&&(o+=\"\\n\")}var h,m=t.algorithm.match(/(hmac|rsa)-(\\w+)/);if(\"hmac\"===m[1]){var v=c.createHmac(m[2].toUpperCase(),t.key);v.update(o),h=v.digest(\"base64\")}else{var g=c.createSign(t.algorithm.toUpperCase());g.update(o),h=g.sign(t.key,\"base64\")}return e.setHeader(\"Authorization\",u(l,t.keyId,t.algorithm,t.headers.join(\" \"),h)),!0}}},{\"assert-plus\":475,crypto:void 0,http:void 0,util:void 0}],500:[function(e,t,n){(function(n){function r(e,t){var n=p.ruint32(e,\"big\",t);t+=4;var r=t+n;return{data:e.slice(t,r),offset:r}}function i(e,t){e.writeByte(2),e.writeLength(t.length);for(var n=0;n<t.length;n++)e.writeByte(t[n]);return e}function o(e){var t,o,a,s,c,p,l,f=\"\",d=0;try{if(t=new n(e.split(\" \")[1],\"base64\"),l=r(t,d),p=l.data.toString(),d=l.offset,\"ssh-rsa\"!==p)throw new Error(\"Invalid ssh key type: \"+p);l=r(t,d),a=l.data,d=l.offset,l=r(t,d),c=l.data}catch(h){throw new Error(\"Invalid ssh key: \"+e)}for(o=new u.BerWriter,o.startSequence(),o.startSequence(),o.writeOID(\"1.2.840.113549.1.1.1\"),o.writeNull(),o.endSequence(),o.startSequence(3),o.writeByte(0),o.startSequence(),i(o,c),i(o,a),o.endSequence(),o.endSequence(),o.endSequence(),l=o.buffer.toString(\"base64\"),s=0;s<l.length;s++)s%64===0&&(f+=\"\\n\"),f+=l.charAt(s);return/\\\\n$/.test(f)||(f+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+f+\"-----END PUBLIC KEY-----\\n\"}function a(e){var t,o,a,s,c,p,l,f,d=0,h=\"\";try{if(t=new n(e.split(\" \")[1],\"base64\"),o=r(t,d),s=o.data.toString(),d=o.offset,!/^ssh-ds[as].*/.test(s))throw new Error(\"Invalid ssh key type: \"+s);o=r(t,d),c=o.data,d=o.offset,o=r(t,d),p=o.data,d=o.offset,o=r(t,d),l=o.data,d=o.offset,o=r(t,d),f=o.data}catch(m){throw console.log(m.stack),new Error(\"Invalid ssh key: \"+e)}a=new u.BerWriter,a.startSequence(),a.startSequence(),a.writeOID(\"1.2.840.10040.4.1\"),a.startSequence(),i(a,c),i(a,p),i(a,l),a.endSequence(),a.endSequence(),a.startSequence(3),a.writeByte(0),i(a,f),a.endSequence(),a.endSequence(),o=a.buffer.toString(\"base64\");for(var v=0;v<o.length;v++)v%64===0&&(h+=\"\\n\"),h+=o.charAt(v);return/\\\\n$/.test(h)||(h+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+h+\"-----END PUBLIC KEY-----\\n\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=e(\"asn1\"),p=e(\"ctype\");t.exports={sshKeyToPEM:function(e){if(s.string(e,\"ssh_key\"),/^ssh-rsa.*/.test(e))return o(e);if(/^ssh-ds[as].*/.test(e))return a(e);throw new Error(\"Only RSA and DSA public keys are allowed\")},fingerprint:function(e){s.string(e,\"ssh_key\");var t=e.split(\" \");if(!t||!t.length||t.length<2)throw new Error(\"invalid ssh key\");var r=new n(t[1],\"base64\"),i=c.createHash(\"md5\");i.update(r);for(var o=i.digest(\"hex\"),a=\"\",u=0;u<o.length;u++)u&&u%2===0&&(a+=\":\"),a+=o[u];return a},pemToRsaSSHKey:function(e,t){s.equal(\"string\",typeof e,\"typeof pem\");var r=e.split(\"\\n\").slice(1,-2).join(\"\"),i=new n(r,\"base64\"),o=new u.BerReader(i);o.readSequence(),o.readSequence();var a=o.readOID();s.equal(a,\"1.2.840.113549.1.1.1\",\"pem not in RSA format\"),o.readByte(),o.readByte(),o.readSequence(3),o.readByte(),o.readSequence(),s.equal(o.peek(),u.Ber.Integer,\"modulus not an integer\"),o._offset=o.readLength(o.offset+1);var c=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length,s.equal(o.peek(),u.Ber.Integer,\"exponent not an integer\"),o._offset=o.readLength(o.offset+1);var p=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length;var l=new n(\"ssh-rsa\"),f=new n(4+l.length+4+c.length+4+p.length),d=0;f.writeUInt32BE(l.length,d),d+=4,l.copy(f,d),d+=l.length,f.writeUInt32BE(p.length,d),d+=4,p.copy(f,d),d+=p.length,f.writeUInt32BE(c.length,d),d+=4,c.copy(f,d),d+=c.length;var h=l.toString()+\" \"+f.toString(\"base64\")+\" \"+(t||\"\");return h}}}).call(this,e(\"buffer\").Buffer)},{asn1:474,\"assert-plus\":475,buffer:void 0,crypto:void 0,ctype:81}],501:[function(e,t,n){var r=e(\"assert-plus\"),i=e(\"crypto\");t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),r.string(t,\"key\");var n=e.algorithm.match(/(HMAC|RSA|DSA)-(\\w+)/);if(!n||3!==n.length)throw new TypeError(\"parsedSignature: unsupported algorithm \"+e.algorithm);if(\"HMAC\"===n[1]){var o=i.createHmac(n[2].toUpperCase(),t);return o.update(e.signingString),o.digest(\"base64\")===e.params.signature}var a=i.createVerify(n[0]);return a.update(e.signingString),a.verify(t,e.params.signature,\"base64\")}}},{\"assert-plus\":475,crypto:void 0}],502:[function(e,t,n){arguments[4][240][0].apply(n,arguments)},{dup:240}],503:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mdp\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{source:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{\nsource:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\nsource:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",extensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\"]},\n\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"mp4a\",\"m4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],504:[function(e,t,n){arguments[4][183][0].apply(n,arguments)},{\"./db.json\":503,dup:183}],505:[function(e,t,n){var r=e(\"mime-db\");n.types=Object.create(null),n.extensions=Object.create(null),Object.keys(r).forEach(function(e){var t=r[e],i=t.extensions;i&&i.length&&(n.extensions[e]=i,i.forEach(function(t){n.types[t]=e}))}),n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){var t=r[e];return t&&t.charset?t.charset:/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e}},{\"mime-db\":504}],506:[function(e,t,n){(function(n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=e(\"path\"),o=e(\"fs\");r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=o.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var a=new r;a.load(i.join(n,\"types/mime.types\")),a.load(i.join(n,\"types/node.types\")),a.default_type=a.lookup(\"bin\"),a.Mime=r,a.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=a}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/mime\")},{fs:void 0,path:void 0}],507:[function(e,t,n){function r(e,t){return f.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return f.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t,n,r,i,o){var a;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,1))}var f=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.sign=l,n.rfc3986=o},{crypto:void 0,querystring:void 0}],508:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":509}],509:[function(e,t,n){arguments[4][110][0].apply(n,arguments)},{\"./parse\":510,\"./stringify\":511,dup:110}],510:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\";else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));n.hasOwnProperty(u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r=e.shift(),o={};if(\"[]\"===r)o=[],o=o.concat(i.parseObject(e,t,n));else{var a=\"[\"===r[0]&&\"]\"===r[r.length-1]?r.slice(1,r.length-1):r,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&r!==a&&c===a&&s>=0&&s<=n.arrayLimit?(o=[],o[s]=i.parseObject(e,t,n)):o[a]=i.parseObject(e,t,n)}return o},i.parseKeys=function(e,t,n){if(e){var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}}},t.exports=function(e,t){if(\"\"===e||null===e||\"undefined\"==typeof e)return{};t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit;for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o={},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p)}return r.compact(o)}},{\"./utils\":512}],511:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",indices:!0};i.stringify=function(e,t,n){if(r.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=\"\"),\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[encodeURIComponent(t)+\"=\"+encodeURIComponent(e)];var o=[];if(\"undefined\"==typeof e)return o;for(var a=Object.keys(e),s=0,c=a.length;c>s;++s){var u=a[s];o=!n.indices&&Array.isArray(e)?o.concat(i.stringify(e[u],t,n)):o.concat(i.stringify(e[u],t+\"[\"+u+\"]\",n))}return o},t.exports=function(e,t){t=t||{};var n=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter;t.indices=\"boolean\"==typeof t.indices?t.indices:i.indices;var r=[];if(\"object\"!=typeof e||null===e)return\"\";for(var o=Object.keys(e),a=0,s=o.length;s>a;++a){var c=o[a];r=r.concat(i.stringify(e[c],c,t))}return r.join(n)}},{\"./utils\":512}],512:[function(e,t,n){n.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)\"undefined\"!=typeof e[n]&&(t[n]=e[n]);return t},n.merge=function(e,t){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):e[t]=!0,e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e));for(var r=Object.keys(t),i=0,o=r.length;o>i;++i){var a=r[i],s=t[a];e[a]?e[a]=n.merge(e[a],s):e[a]=s}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],513:[function(e,t,n){arguments[4][388][0].apply(n,arguments)},{\"./lib/_stream_duplex.js\":514,dup:388}],514:[function(e,t,n){arguments[4][241][0].apply(n,arguments)},{\"./_stream_readable\":515,\"./_stream_writable\":516,\"core-util-is\":77,dup:241,inherits:157}],515:[function(e,t,n){arguments[4][243][0].apply(n,arguments)},{buffer:void 0,\"core-util-is\":77,dup:243,events:void 0,inherits:157,isarray:502,stream:void 0,\"string_decoder/\":456}],516:[function(e,t,n){arguments[4][245][0].apply(n,arguments)},{\"./_stream_duplex\":514,buffer:void 0,\"core-util-is\":77,dup:245,inherits:157,stream:void 0}],517:[function(e,t,n){\"use strict\";function r(e,t,n){return n=l([t,n]),t=f(e,t),p().extend({callback:n}).extend({options:t}).extend({uri:t.uri}).done()}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);return t=o.options,t.callback=o.callback,t.uri=o.uri,new i.Request(t)}function o(e){return\"function\"==typeof e.options._requester?e.options._requester:i}var a=e(\"util\")._extend,s=e(\"./lib/cookies\"),c=e(\"./lib/helpers\"),u=c.isFunction,p=c.constructObject,l=c.filterForCallback,f=c.constructOptionsFrom,d=c.paramsHaveRequestBody;i.get=function(e,t,n){var i=r(e,t,n);return i.options.method=\"GET\",o(i)(i.uri||null,i.options,i.callback)},i.head=function(e,t,n){var i=r(e,t,n);if(i.options.method=\"HEAD\",d(i))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return o(i)(i.uri||null,i.options,i.callback)},i.post=function(e,t,n){var i=r(e,t,n);return i.options.method=\"POST\",\no(i)(i.uri||null,i.options,i.callback)},i.put=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PUT\",o(i)(i.uri||null,i.options,i.callback)},i.patch=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PATCH\",o(i)(i.uri||null,i.options,i.callback)},i.del=function(e,t,n){var i=r(e,t,n);return i.options.method=\"DELETE\",o(i)(i.uri||null,i.options,i.callback)},i.jar=function(e){return s.jar(e)},i.cookie=function(e){return s.parse(e)},i.defaults=function(e,t){var n=this,i=function(i){var o=function(e){return e=a({},e),delete e.headers,e},s=function(e,t){return p().extend(t.headers).extend(e.options.headers).done()};return function(c,p,l){var f=r(c,p,l);return f.options=a(o(e),f.options),e.headers&&(f.options.headers=s(f,e)),u(t)&&(i===n?i=t:f.options._requester=t),i(f.options,f.callback)}},o=i(n);return o.get=i(n.get),o.patch=i(n.patch),o.post=i(n.post),o.put=i(n.put),o.head=i(n.head),o.del=i(n.del),o.cookie=i(n.cookie),o.jar=n.jar,o.defaults=n.defaults,o},i.forever=function(e,t){var n=p();return t&&n.extend(t),e&&(n.agentOptions=e),n.extend({forever:!0}),i.defaults(n.done())},t.exports=i,i.Request=e(\"./request\"),i.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),i.initParams=r},{\"./lib/cookies\":518,\"./lib/helpers\":521,\"./request\":526,util:void 0}],518:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e)}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e)},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],519:[function(e,t,n){\"use strict\";t.exports=function(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}},{}],520:[function(e,t,n){\"use strict\";var r=e(\"util\"),i=e(\"../index\");t.exports=function(){i.debug&&console.error(\"REQUEST %s\",r.format.apply(r,arguments))}},{\"../index\":517,util:void 0}],521:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return e=e||{},{extend:function(t){return i(d(e,t))},done:function(){return e}}}function o(e,t){var n=i();return\"object\"==typeof t?n.extend(t).extend({uri:e}):\"string\"==typeof e?n.extend({uri:e}):n.extend(e),n.done()}function a(e){return\"function\"==typeof e}function s(e){var t=e.filter(a);return t[0]}function c(e){return e.options.body||e.options.requestBodyStream||e.options.json&&\"boolean\"!=typeof e.options.json||e.options.multipart}function u(e){var t;try{t=JSON.stringify(e)}catch(n){t=h(e)}return t}function p(e){return m.createHash(\"md5\").update(e).digest(\"hex\")}function l(e){return e.readable&&e.path&&e.mode}function f(e){return new t(e||\"\",\"ascii\").toString(\"base64\")}var d=e(\"util\")._extend,h=e(\"json-stringify-safe\"),m=e(\"crypto\");n.isFunction=a,n.constructObject=i,n.constructOptionsFrom=o,n.filterForCallback=s,n.paramsHaveRequestBody=c,n.safeStringify=u,n.md5=p,n.isReadStream=l,n.toBase64=f,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173,util:void 0}],522:[function(e,t,n){t.exports={\"text/jade\":[\"jade\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/less\":[\"less\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/coffeescript\":[\"coffee\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/jsx\":[\"jsx\"]}},{}],523:[function(e,t,n){function r(e){Object.keys(e).forEach(function(t){var r=e[t]||[];n.extensions[t]=n.extensions[t]||[],r.forEach(function(e){~n.extensions[t].indexOf(e)||n.extensions[t].push(e),n.types[e]=t})})}n.types=Object.create(null),n.extensions=Object.create(null),n.define=r,n.json={mime:e(\"./mime.json\"),node:e(\"./node.json\"),custom:e(\"./custom.json\")},n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){switch(e){case\"application/json\":return\"UTF-8\";case\"application/javascript\":return\"UTF-8\"}return/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e},r(n.json.mime),r(n.json.node),r(n.json.custom)},{\"./custom.json\":522,\"./mime.json\":524,\"./node.json\":525}],524:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":[],\"application/3gpp-ims+xml\":[],\"application/activemessage\":[],\"application/andrew-inset\":[\"ez\"],\"application/applefile\":[],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomicmail\":[],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/auth-policy+xml\":[],\"application/batch-smtp\":[],\"application/beep+xml\":[],\"application/calendar+xml\":[],\"application/cals-1840\":[],\"application/ccmp+xml\":[],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cea-2018+xml\":[],\"application/cellml+xml\":[],\"application/cfw\":[],\"application/cnrp+xml\":[],\"application/commonground\":[],\"application/conference-info+xml\":[],\"application/cpl+xml\":[],\"application/csta+xml\":[],\"application/cstadata+xml\":[],\"application/cu-seeme\":[\"cu\"],\"application/cybercash\":[],\"application/davmount+xml\":[\"davmount\"],\"application/dca-rft\":[],\"application/dec-dx\":[],\"application/dialog-info+xml\":[],\"application/dicom\":[],\"application/dns\":[],\"application/docbook+xml\":[\"dbk\"],\"application/dskpp+xml\":[],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/dvcs\":[],\"application/ecmascript\":[\"ecma\"],\"application/edi-consent\":[],\"application/edi-x12\":[],\"application/edifact\":[],\"application/emma+xml\":[\"emma\"],\"application/epp+xml\":[],\"application/epub+zip\":[\"epub\"],\"application/eshop\":[],\"application/example\":[],\"application/exi\":[\"exi\"],\"application/fastinfoset\":[],\"application/fastsoap\":[],\"application/fits\":[],\"application/font-tdpfr\":[\"pfr\"],\"application/framework-attributes+xml\":[],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/h224\":[],\"application/held+xml\":[],\"application/http\":[],\"application/hyperstudio\":[\"stk\"],\"application/ibe-key-request+xml\":[],\"application/ibe-pkg-reply+xml\":[],\"application/ibe-pp-data\":[],\"application/iges\":[],\"application/im-iscomposing+xml\":[],\"application/index\":[],\"application/index.cmd\":[],\"application/index.obj\":[],\"application/index.response\":[],\"application/index.vnd\":[],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/iotp\":[],\"application/ipfix\":[\"ipfix\"],\"application/ipp\":[],\"application/isup\":[],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\"],\"application/jsonml+json\":[\"jsonml\"],\"application/kpml-request+xml\":[],\"application/kpml-response+xml\":[],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/macwriteii\":[],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml-content+xml\":[],\"application/mathml-presentation+xml\":[],\"application/mathml+xml\":[\"mathml\"],\"application/mbms-associated-procedure-description+xml\":[],\"application/mbms-deregister+xml\":[],\"application/mbms-envelope+xml\":[],\"application/mbms-msk+xml\":[],\"application/mbms-msk-response+xml\":[],\"application/mbms-protection-description+xml\":[],\"application/mbms-reception-report+xml\":[],\"application/mbms-register+xml\":[],\"application/mbms-register-response+xml\":[],\"application/mbms-user-service-description+xml\":[],\"application/mbox\":[\"mbox\"],\"application/media_control+xml\":[],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mikey\":[],\"application/mods+xml\":[\"mods\"],\"application/moss-keys\":[],\"application/moss-signature\":[],\"application/mosskey-data\":[],\"application/mosskey-request\":[],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\"],\"application/mpeg4-generic\":[],\"application/mpeg4-iod\":[],\"application/mpeg4-iod-xmt\":[],\"application/msc-ivr+xml\":[],\"application/msc-mixer+xml\":[],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/nasdata\":[],\"application/news-checkgroups\":[],\"application/news-groupinfo\":[],\"application/news-transmission\":[],\"application/nss\":[],\"application/ocsp-request\":[],\"application/ocsp-response\":[],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/parityfec\":[],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-keys\":[],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pidf+xml\":[],\"application/pidf-diff+xml\":[],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/poc-settings+xml\":[],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.alvestrand.titrax-sheet\":[],\"application/prs.cww\":[\"cww\"],\"application/prs.nprend\":[],\"application/prs.plucker\":[],\"application/prs.rdf-xml-crypt\":[],\"application/prs.xsf+xml\":[],\"application/pskc+xml\":[\"pskcxml\"],\"application/qsig\":[],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/remote-printing\":[],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/riscos\":[],\"application/rlmi+xml\":[],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rpki-updown\":[],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/rtx\":[],\"application/samlassertion+xml\":[],\"application/samlmetadata+xml\":[],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment\":[],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration\":[],\"application/set-registration-initiation\":[\"setreg\"],\"application/sgml\":[],\"application/sgml-open-catalog\":[],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[],\"application/simple-filter+xml\":[],\"application/simple-message-summary\":[],\"application/simplesymbolcontainer\":[],\"application/slate\":[],\"application/smil\":[],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/soap+fastinfoset\":[],\"application/soap+xml\":[],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/spirits-event+xml\":[],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tamp-apex-update\":[],\"application/tamp-apex-update-confirm\":[],\"application/tamp-community-update\":[],\"application/tamp-community-update-confirm\":[],\"application/tamp-error\":[],\"application/tamp-sequence-adjust\":[],\"application/tamp-sequence-adjust-confirm\":[],\"application/tamp-status-query\":[],\"application/tamp-status-response\":[],\"application/tamp-update\":[],\"application/tamp-update-confirm\":[],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamp-query\":[],\"application/timestamp-reply\":[],\"application/timestamped-data\":[\"tsd\"],\"application/tve-trigger\":[],\"application/ulpfec\":[],\"application/vcard+xml\":[],\"application/vemmi\":[],\"application/vividence.scriptfile\":[],\"application/vnd.3gpp.bsf+xml\":[],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp.sms\":[],\"application/vnd.3gpp2.bcmcsinfo+xml\":[],\"application/vnd.3gpp2.sms\":[],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.partial-upload\":[],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.aether.imp\":[],\"application/vnd.ah-barcode\":[],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.amundsen.maze+xml\":[],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.arastra.swi\":[],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.autopackage\":[],\"application/vnd.avistar+xml\":[],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bluetooth.ep.oob\":[],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.cab-jscript\":[],\"application/vnd.canon-cpdl\":[],\"application/vnd.canon-lips\":[],\"application/vnd.cendio.thinlinc.clientconf\":[],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.cirpack.isdn-ext\":[],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.collection+json\":[],\"application/vnd.commerce-battelle\":[],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.ctct.ws+xml\":[],\"application/vnd.cups-pdf\":[],\"application/vnd.cups-postscript\":[],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.cups-raster\":[],\"application/vnd.cups-raw\":[],\"application/vnd.curl\":[],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.cybank\":[],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dir-bi.plate-dl-nosuffix\":[],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dolby.mobile.1\":[],\"application/vnd.dolby.mobile.2\":[],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.dvbj\":[],\"application/vnd.dvb.esgcontainer\":[],\"application/vnd.dvb.ipdcdftnotifaccess\":[],\"application/vnd.dvb.ipdcesgaccess\":[],\"application/vnd.dvb.ipdcesgaccess2\":[],\"application/vnd.dvb.ipdcesgpdd\":[],\"application/vnd.dvb.ipdcroaming\":[],\"application/vnd.dvb.iptv.alfec-base\":[],\"application/vnd.dvb.iptv.alfec-enhancement\":[],\"application/vnd.dvb.notif-aggregate-root+xml\":[],\"application/vnd.dvb.notif-container+xml\":[],\"application/vnd.dvb.notif-generic+xml\":[],\"application/vnd.dvb.notif-ia-msglist+xml\":[],\"application/vnd.dvb.notif-ia-registration-request+xml\":[],\"application/vnd.dvb.notif-ia-registration-response+xml\":[],\"application/vnd.dvb.notif-init+xml\":[],\"application/vnd.dvb.pfr\":[],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dxr\":[],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.easykaraoke.cdgdownload\":[],\"application/vnd.ecdis-update\":[],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.ecowin.filerequest\":[],\"application/vnd.ecowin.fileupdate\":[],\"application/vnd.ecowin.series\":[],\"application/vnd.ecowin.seriesrequest\":[],\"application/vnd.ecowin.seriesupdate\":[],\"application/vnd.emclient.accessrequest+xml\":[],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.eprints.data+xml\":[],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.ericsson.quickcall\":[],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.etsi.aoc+xml\":[],\"application/vnd.etsi.cug+xml\":[],\"application/vnd.etsi.iptvcommand+xml\":[],\"application/vnd.etsi.iptvdiscovery+xml\":[],\"application/vnd.etsi.iptvprofile+xml\":[],\"application/vnd.etsi.iptvsad-bc+xml\":[],\"application/vnd.etsi.iptvsad-cod+xml\":[],\"application/vnd.etsi.iptvsad-npvr+xml\":[],\"application/vnd.etsi.iptvservice+xml\":[],\"application/vnd.etsi.iptvsync+xml\":[],\"application/vnd.etsi.iptvueprofile+xml\":[],\"application/vnd.etsi.mcid+xml\":[],\"application/vnd.etsi.overload-control-policy-dataset+xml\":[],\"application/vnd.etsi.sci+xml\":[],\"application/vnd.etsi.simservs+xml\":[],\"application/vnd.etsi.tsl+xml\":[],\"application/vnd.etsi.tsl.der\":[],\"application/vnd.eudora.data\":[],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.f-secure.mobile\":[],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.ffsns\":[],\"application/vnd.fints\":[],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.font-fontforge-sfd\":[],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.art-ex\":[],\"application/vnd.fujixerox.art4\":[],\"application/vnd.fujixerox.hbpl\":[],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fut-misnet\":[],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geocube+xml\":[],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.globalplatform.card-content-mgt\":[],\"application/vnd.globalplatform.card-content-mgt-response\":[],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.gridmp\":[],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+json\":[],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hcl-bireports\":[],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.httphone\":[],\"application/vnd.hzn-3d-crossword\":[],\"application/vnd.ibm.afplinedata\":[],\"application/vnd.ibm.electronic-media\":[],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.informedcontrol.rms+xml\":[],\"application/vnd.informix-visionary\":[],\"application/vnd.infotech.project\":[],\"application/vnd.infotech.project+xml\":[],\"application/vnd.innopath.wamp.notification\":[],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intertrust.digibox\":[],\"application/vnd.intertrust.nncp\":[],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.iptc.g2.conceptitem+xml\":[],\"application/vnd.iptc.g2.knowledgeitem+xml\":[],\"application/vnd.iptc.g2.newsitem+xml\":[],\"application/vnd.iptc.g2.newsmessage+xml\":[],\"application/vnd.iptc.g2.packageitem+xml\":[],\"application/vnd.iptc.g2.planningitem+xml\":[],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.japannet-directory-service\":[],\"application/vnd.japannet-jpnstore-wakeup\":[],\"application/vnd.japannet-payment-wakeup\":[],\"application/vnd.japannet-registration\":[],\"application/vnd.japannet-registration-wakeup\":[],\"application/vnd.japannet-setstore-wakeup\":[],\"application/vnd.japannet-verification\":[],\"application/vnd.japannet-verification-wakeup\":[],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.liberty-request+xml\":[],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.marlin.drm.actiontoken+xml\":[],\"application/vnd.marlin.drm.conftoken+xml\":[],\"application/vnd.marlin.drm.license+xml\":[],\"application/vnd.marlin.drm.mdcf\":[],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.meridian-slingshot\":[],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.minisoft-hp3000-save\":[],\"application/vnd.mitsubishi.misty-guard.trustweb\":[],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.motorola.flexsuite\":[],\"application/vnd.motorola.flexsuite.adsi\":[],\"application/vnd.motorola.flexsuite.fis\":[],\"application/vnd.motorola.flexsuite.gotap\":[],\"application/vnd.motorola.flexsuite.kmr\":[],\"application/vnd.motorola.flexsuite.ttc\":[],\"application/vnd.motorola.flexsuite.wem\":[],\"application/vnd.motorola.iprm\":[],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-asf\":[],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-color.iccprofile\":[],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-office.activex+xml\":[],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-opentype\":[],\"application/vnd.ms-package.obfuscated-opentype\":[],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-playready.initiator+xml\":[],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-printing.printticket+xml\":[],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-tnef\":[],\"application/vnd.ms-wmdrm.lic-chlg-req\":[],\"application/vnd.ms-wmdrm.lic-resp\":[],\"application/vnd.ms-wmdrm.meter-chlg-req\":[],\"application/vnd.ms-wmdrm.meter-resp\":[],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.msign\":[],\"application/vnd.multiad.creator\":[],\"application/vnd.multiad.creator.cif\":[],\"application/vnd.music-niff\":[],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.ncd.control\":[],\"application/vnd.ncd.reference\":[],\"application/vnd.nervana\":[],\"application/vnd.netfpx\":[],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.catalogs\":[],\"application/vnd.nokia.conml+wbxml\":[],\"application/vnd.nokia.conml+xml\":[],\"application/vnd.nokia.isds-radio-presets\":[],\"application/vnd.nokia.iptv.config+xml\":[],\"application/vnd.nokia.landmark+wbxml\":[],\"application/vnd.nokia.landmark+xml\":[],\"application/vnd.nokia.landmarkcollection+xml\":[],\"application/vnd.nokia.n-gage.ac+xml\":[],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.ncd\":[],\"application/vnd.nokia.pcd+wbxml\":[],\"application/vnd.nokia.pcd+xml\":[],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.ntt-local.file-transfer\":[],\"application/vnd.ntt-local.sip-ta_remote\":[],\"application/vnd.ntt-local.sip-ta_tcp_stream\":[],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.obn\":[],\"application/vnd.oftn.l10n+json\":[],\"application/vnd.oipf.contentaccessdownload+xml\":[],\"application/vnd.oipf.contentaccessstreaming+xml\":[],\"application/vnd.oipf.cspg-hexbinary\":[],\"application/vnd.oipf.dae.svg+xml\":[],\"application/vnd.oipf.dae.xhtml+xml\":[],\"application/vnd.oipf.mippvcontrolmessage+xml\":[],\"application/vnd.oipf.pae.gem\":[],\"application/vnd.oipf.spdiscovery+xml\":[],\"application/vnd.oipf.spdlist+xml\":[],\"application/vnd.oipf.ueprofile+xml\":[],\"application/vnd.oipf.userprofile+xml\":[],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma-scws-config\":[],\"application/vnd.oma-scws-http-request\":[],\"application/vnd.oma-scws-http-response\":[],\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":[],\"application/vnd.oma.bcast.drm-trigger+xml\":[],\"application/vnd.oma.bcast.imd+xml\":[],\"application/vnd.oma.bcast.ltkm\":[],\"application/vnd.oma.bcast.notification+xml\":[],\"application/vnd.oma.bcast.provisioningtrigger\":[],\"application/vnd.oma.bcast.sgboot\":[],\"application/vnd.oma.bcast.sgdd+xml\":[],\"application/vnd.oma.bcast.sgdu\":[],\"application/vnd.oma.bcast.simple-symbol-container\":[],\"application/vnd.oma.bcast.smartcard-trigger+xml\":[],\"application/vnd.oma.bcast.sprov+xml\":[],\"application/vnd.oma.bcast.stkm\":[],\"application/vnd.oma.cab-address-book+xml\":[],\"application/vnd.oma.cab-feature-handler+xml\":[],\"application/vnd.oma.cab-pcc+xml\":[],\"application/vnd.oma.cab-user-prefs+xml\":[],\"application/vnd.oma.dcd\":[],\"application/vnd.oma.dcdc\":[],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.oma.drm.risd+xml\":[],\"application/vnd.oma.group-usage-list+xml\":[],\"application/vnd.oma.pal+xml\":[],\"application/vnd.oma.poc.detailed-progress-report+xml\":[],\"application/vnd.oma.poc.final-report+xml\":[],\"application/vnd.oma.poc.groups+xml\":[],\"application/vnd.oma.poc.invocation-descriptor+xml\":[],\"application/vnd.oma.poc.optimized-progress-report+xml\":[],\"application/vnd.oma.push\":[],\n\"application/vnd.oma.scidm.messages+xml\":[],\"application/vnd.oma.xcap-directory+xml\":[],\"application/vnd.omads-email+xml\":[],\"application/vnd.omads-file+xml\":[],\"application/vnd.omads-folder+xml\":[],\"application/vnd.omaloc-supl-init\":[],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":[],\"application/vnd.openxmlformats-officedocument.drawing+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":[],\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":[],\"application/vnd.openxmlformats-officedocument.theme+xml\":[],\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":[],\"application/vnd.openxmlformats-officedocument.vmldrawing\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":[],\"application/vnd.openxmlformats-package.core-properties+xml\":[],\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":[],\"application/vnd.openxmlformats-package.relationships+xml\":[],\"application/vnd.quobject-quoxdocument\":[],\"application/vnd.osa.netdeploy\":[],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.bundle\":[],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.otps.ct-kip+xml\":[],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.paos.xml\":[],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.piaccess.application-licence\":[],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.poc.group-advertisement+xml\":[],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.powerbuilder6-s\":[],\"application/vnd.powerbuilder7\":[],\"application/vnd.powerbuilder7-s\":[],\"application/vnd.powerbuilder75\":[],\"application/vnd.powerbuilder75-s\":[],\"application/vnd.preminet\":[],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.pwg-multiplexed\":[],\"application/vnd.pwg-xhtml-print+xml\":[],\"application/vnd.qualcomm.brew-app-res\":[],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.radisys.moml+xml\":[],\"application/vnd.radisys.msml+xml\":[],\"application/vnd.radisys.msml-audit+xml\":[],\"application/vnd.radisys.msml-audit-conf+xml\":[],\"application/vnd.radisys.msml-audit-conn+xml\":[],\"application/vnd.radisys.msml-audit-dialog+xml\":[],\"application/vnd.radisys.msml-audit-stream+xml\":[],\"application/vnd.radisys.msml-conf+xml\":[],\"application/vnd.radisys.msml-dialog+xml\":[],\"application/vnd.radisys.msml-dialog-base+xml\":[],\"application/vnd.radisys.msml-dialog-fax-detect+xml\":[],\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":[],\"application/vnd.radisys.msml-dialog-group+xml\":[],\"application/vnd.radisys.msml-dialog-speech+xml\":[],\"application/vnd.radisys.msml-dialog-transform+xml\":[],\"application/vnd.rainstor.data\":[],\"application/vnd.rapid\":[],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.renlearn.rlprint\":[],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.rs-274x\":[],\"application/vnd.ruckus.download\":[],\"application/vnd.s3sms\":[],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.sbm.cid\":[],\"application/vnd.sbm.mid2\":[],\"application/vnd.scribus\":[],\"application/vnd.sealed.3df\":[],\"application/vnd.sealed.csf\":[],\"application/vnd.sealed.doc\":[],\"application/vnd.sealed.eml\":[],\"application/vnd.sealed.mht\":[],\"application/vnd.sealed.net\":[],\"application/vnd.sealed.ppt\":[],\"application/vnd.sealed.tiff\":[],\"application/vnd.sealed.xls\":[],\"application/vnd.sealedmedia.softseal.html\":[],\"application/vnd.sealedmedia.softseal.pdf\":[],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.notebook\":[],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[],\"application/vnd.software602.filler.form-xml-zip\":[],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.sss-cod\":[],\"application/vnd.sss-dtf\":[],\"application/vnd.sss-ntf\":[],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.street-stream\":[],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sun.wadl+xml\":[],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.swiftview-ics\":[],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dm.notification\":[],\"application/vnd.syncml.ds.notification\":[],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.truedoc\":[],\"application/vnd.ubisoft.webplayer\":[],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.uplanet.alert\":[],\"application/vnd.uplanet.alert-wbxml\":[],\"application/vnd.uplanet.bearer-choice\":[],\"application/vnd.uplanet.bearer-choice-wbxml\":[],\"application/vnd.uplanet.cacheop\":[],\"application/vnd.uplanet.cacheop-wbxml\":[],\"application/vnd.uplanet.channel\":[],\"application/vnd.uplanet.channel-wbxml\":[],\"application/vnd.uplanet.list\":[],\"application/vnd.uplanet.list-wbxml\":[],\"application/vnd.uplanet.listcmd\":[],\"application/vnd.uplanet.listcmd-wbxml\":[],\"application/vnd.uplanet.signal\":[],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.vd-study\":[],\"application/vnd.vectorworks\":[],\"application/vnd.verimatrix.vcas\":[],\"application/vnd.vidsoft.vidconference\":[],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vividence.scriptfile\":[],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.sic\":[],\"application/vnd.wap.slc\":[],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wfa.wsc\":[],\"application/vnd.wmc\":[],\"application/vnd.wmf.bootstrap\":[],\"application/vnd.wolfram.mathematica\":[],\"application/vnd.wolfram.mathematica.package\":[],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wrq-hp3000-labelled\":[],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.wv.csp+wbxml\":[],\"application/vnd.wv.csp+xml\":[],\"application/vnd.wv.ssp+xml\":[],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.xfdl.webform\":[],\"application/vnd.xmi+xml\":[],\"application/vnd.xmpie.cpkg\":[],\"application/vnd.xmpie.dpkg\":[],\"application/vnd.xmpie.plan\":[],\"application/vnd.xmpie.ppkg\":[],\"application/vnd.xmpie.xlim\":[],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.remote-setup\":[],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yamaha.through-ngn\":[],\"application/vnd.yamaha.tunnel-udpencap\":[],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/vq-rtcpxr\":[],\"application/watcherinfo+xml\":[],\"application/whoispp-query\":[],\"application/whoispp-response\":[],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wita\":[],\"application/wordperfect5.1\":[],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-amf\":[],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-conference\":[\"nsc\"],\"application/x-compress\":[],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-dos\":[],\"application/x-font-framemaker\":[],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-libgrx\":[],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-speedo\":[],\"application/x-font-sunos-news\":[],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/font-woff\":[\"woff\"],\"application/x-font-vfont\":[],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-gzip\":[],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/x400-bp\":[],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[],\"application/xcap-caps+xml\":[],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[],\"application/xcap-error+xml\":[],\"application/xcap-ns+xml\":[],\"application/xcon-conference-info-diff+xml\":[],\"application/xcon-conference-info+xml\":[],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xhtml-voice+xml\":[],\"application/xml\":[\"xml\",\"xsl\"],\"application/xml-dtd\":[\"dtd\"],\"application/xml-external-parsed-entity\":[],\"application/xmpp+xml\":[],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/1d-interleaved-parityfec\":[],\"audio/32kadpcm\":[],\"audio/3gpp\":[],\"audio/3gpp2\":[],\"audio/ac3\":[],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[],\"audio/amr-wb\":[],\"audio/amr-wb+\":[],\"audio/asc\":[],\"audio/atrac-advanced-lossless\":[],\"audio/atrac-x\":[],\"audio/atrac3\":[],\"audio/basic\":[\"au\",\"snd\"],\"audio/bv16\":[],\"audio/bv32\":[],\"audio/clearmode\":[],\"audio/cn\":[],\"audio/dat12\":[],\"audio/dls\":[],\"audio/dsr-es201108\":[],\"audio/dsr-es202050\":[],\"audio/dsr-es202211\":[],\"audio/dsr-es202212\":[],\"audio/dv\":[],\"audio/dvi4\":[],\"audio/eac3\":[],\"audio/evrc\":[],\"audio/evrc-qcp\":[],\"audio/evrc0\":[],\"audio/evrc1\":[],\"audio/evrcb\":[],\"audio/evrcb0\":[],\"audio/evrcb1\":[],\"audio/evrcwb\":[],\"audio/evrcwb0\":[],\"audio/evrcwb1\":[],\"audio/example\":[],\"audio/fwdred\":[],\"audio/g719\":[],\"audio/g722\":[],\"audio/g7221\":[],\"audio/g723\":[],\"audio/g726-16\":[],\"audio/g726-24\":[],\"audio/g726-32\":[],\"audio/g726-40\":[],\"audio/g728\":[],\"audio/g729\":[],\"audio/g7291\":[],\"audio/g729d\":[],\"audio/g729e\":[],\"audio/gsm\":[],\"audio/gsm-efr\":[],\"audio/gsm-hr-08\":[],\"audio/ilbc\":[],\"audio/ip-mr_v2.5\":[],\"audio/isac\":[],\"audio/l16\":[],\"audio/l20\":[],\"audio/l24\":[],\"audio/l8\":[],\"audio/lpc\":[],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[],\"audio/mp4\":[\"mp4a\"],\"audio/mp4a-latm\":[],\"audio/mpa\":[],\"audio/mpa-robust\":[],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/mpeg4-generic\":[],\"audio/musepack\":[],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/opus\":[],\"audio/parityfec\":[],\"audio/pcma\":[],\"audio/pcma-wb\":[],\"audio/pcmu-wb\":[],\"audio/pcmu\":[],\"audio/prs.sid\":[],\"audio/qcelp\":[],\"audio/red\":[],\"audio/rtp-enc-aescm128\":[],\"audio/rtp-midi\":[],\"audio/rtx\":[],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/smv\":[],\"audio/smv0\":[],\"audio/smv-qcp\":[],\"audio/sp-midi\":[],\"audio/speex\":[],\"audio/t140c\":[],\"audio/t38\":[],\"audio/telephone-event\":[],\"audio/tone\":[],\"audio/uemclip\":[],\"audio/ulpfec\":[],\"audio/vdvi\":[],\"audio/vmr-wb\":[],\"audio/vnd.3gpp.iufp\":[],\"audio/vnd.4sb\":[],\"audio/vnd.audiokoz\":[],\"audio/vnd.celp\":[],\"audio/vnd.cisco.nse\":[],\"audio/vnd.cmles.radio-events\":[],\"audio/vnd.cns.anp1\":[],\"audio/vnd.cns.inf1\":[],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dlna.adts\":[],\"audio/vnd.dolby.heaac.1\":[],\"audio/vnd.dolby.heaac.2\":[],\"audio/vnd.dolby.mlp\":[],\"audio/vnd.dolby.mps\":[],\"audio/vnd.dolby.pl2\":[],\"audio/vnd.dolby.pl2x\":[],\"audio/vnd.dolby.pl2z\":[],\"audio/vnd.dolby.pulse.1\":[],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.dvb.file\":[],\"audio/vnd.everad.plj\":[],\"audio/vnd.hns.audio\":[],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nokia.mobile-xmf\":[],\"audio/vnd.nortel.vbk\":[],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.octel.sbc\":[],\"audio/vnd.qcelp\":[],\"audio/vnd.rhetorex.32kadpcm\":[],\"audio/vnd.rip\":[\"rip\"],\"audio/vnd.sealedmedia.softseal.mpeg\":[],\"audio/vnd.vmx.cvsd\":[],\"audio/vorbis\":[],\"audio/vorbis-config\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-tta\":[],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-pdb\":[],\"chemical/x-xyz\":[\"xyz\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/example\":[],\"image/fits\":[],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[],\"image/jpx\":[],\"image/ktx\":[\"ktx\"],\"image/naplps\":[],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[],\"image/tiff\":[\"tiff\",\"tif\"],\"image/tiff-fx\":[],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.cns.inf2\":[],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.globalgraphics.pgb\":[],\"image/vnd.microsoft.icon\":[],\"image/vnd.mix\":[],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.radiance\":[],\"image/vnd.sealed.png\":[],\"image/vnd.sealedmedia.softseal.gif\":[],\"image/vnd.sealedmedia.softseal.jpg\":[],\"image/vnd.svf\":[],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/cpim\":[],\"message/delivery-status\":[],\"message/disposition-notification\":[],\"message/example\":[],\"message/external-body\":[],\"message/feedback-report\":[],\"message/global\":[],\"message/global-delivery-status\":[],\"message/global-disposition-notification\":[],\"message/global-headers\":[],\"message/http\":[],\"message/imdn+xml\":[],\"message/news\":[],\"message/partial\":[],\"message/rfc822\":[\"eml\",\"mime\"],\"message/s-http\":[],\"message/sip\":[],\"message/sipfrag\":[],\"message/tracking-status\":[],\"message/vnd.si.simp\":[],\"model/example\":[],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.flatland.3dml\":[],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gs-gdl\":[],\"model/vnd.gs.gdl\":[],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.moml+xml\":[],\"model/vnd.mts\":[\"mts\"],\"model/vnd.parasolid.transmit.binary\":[],\"model/vnd.parasolid.transmit.text\":[],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"multipart/alternative\":[],\"multipart/appledouble\":[],\"multipart/byteranges\":[],\"multipart/digest\":[],\"multipart/encrypted\":[],\"multipart/example\":[],\"multipart/form-data\":[],\"multipart/header-set\":[],\"multipart/mixed\":[],\"multipart/parallel\":[],\"multipart/related\":[],\"multipart/report\":[],\"multipart/signed\":[],\"multipart/voice-message\":[],\"text/1d-interleaved-parityfec\":[],\"text/cache-manifest\":[\"appcache\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/directory\":[],\"text/dns\":[],\"text/ecmascript\":[],\"text/enriched\":[],\"text/example\":[],\"text/fwdred\":[],\"text/html\":[\"html\",\"htm\"],\"text/javascript\":[],\"text/n3\":[\"n3\"],\"text/parityfec\":[],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\"],\"text/prs.fallenstein.rst\":[],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.radisys.msml-basic-layout\":[],\"text/red\":[],\"text/rfc822-headers\":[],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/rtp-enc-aescm128\":[],\"text/rtx\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/t140\":[],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/ulpfec\":[],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.abc\":[],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.dmclientscript\":[],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.esmertec.theme-descriptor\":[],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.iptc.newsml\":[],\"text/vnd.iptc.nitf\":[],\"text/vnd.latex-z\":[],\"text/vnd.motorola.reflex\":[],\"text/vnd.ms-mediapackage\":[],\"text/vnd.net2phone.commcenter.command\":[],\"text/vnd.si.uricatalogue\":[],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.trolltech.linguist\":[],\"text/vnd.wap.si\":[],\"text/vnd.wap.sl\":[],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-java-source\":[\"java\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-nfo\":[\"nfo\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/xml-external-parsed-entity\":[],\"video/1d-interleaved-parityfec\":[],\"video/3gpp\":[\"3gp\"],\"video/3gpp-tt\":[],\"video/3gpp2\":[\"3g2\"],\"video/bmpeg\":[],\"video/bt656\":[],\"video/celb\":[],\"video/dv\":[],\"video/example\":[],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h263-1998\":[],\"video/h263-2000\":[],\"video/h264\":[\"h264\"],\"video/h264-rcdo\":[],\"video/h264-svc\":[],\"video/jpeg\":[\"jpgv\"],\"video/jpeg2000\":[],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp1s\":[],\"video/mp2p\":[],\"video/mp2t\":[],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mp4v-es\":[],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/mpeg4-generic\":[],\"video/mpv\":[],\"video/nv\":[],\"video/ogg\":[\"ogv\"],\"video/parityfec\":[],\"video/pointer\":[],\"video/quicktime\":[\"qt\",\"mov\"],\"video/raw\":[],\"video/rtp-enc-aescm128\":[],\"video/rtx\":[],\"video/smpte292m\":[],\"video/ulpfec\":[],\"video/vc1\":[],\"video/vnd.cctv\":[],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.mp4\":[],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.directv.mpeg\":[],\"video/vnd.directv.mpeg-tts\":[],\"video/vnd.dlna.mpeg-tts\":[],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.hns.video\":[],\"video/vnd.iptvforum.1dparityfec-1010\":[],\"video/vnd.iptvforum.1dparityfec-2005\":[],\"video/vnd.iptvforum.2dparityfec-1010\":[],\"video/vnd.iptvforum.2dparityfec-2005\":[],\"video/vnd.iptvforum.ttsavc\":[],\"video/vnd.iptvforum.ttsmpeg2\":[],\"video/vnd.motorola.video\":[],\"video/vnd.motorola.videop\":[],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.nokia.interleaved-multimedia\":[],\"video/vnd.nokia.videovoip\":[],\"video/vnd.objectvideo\":[],\"video/vnd.sealed.mpeg1\":[],\"video/vnd.sealed.mpeg4\":[],\"video/vnd.sealed.swf\":[],\"video/vnd.sealedmedia.softseal.mov\":[],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],525:[function(e,t,n){t.exports={\"text/vtt\":[\"vtt\"],\"application/x-chrome-extension\":[\"crx\"],\"text/x-component\":[\"htc\"],\"text/cache-manifest\":[\"manifest\"],\"application/octet-stream\":[\"buffer\"],\"application/mp4\":[\"m4p\"],\"audio/mp4\":[\"m4a\"],\"video/MP2T\":[\"ts\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"text/x-lua\":[\"lua\"],\"application/x-lua-bytecode\":[\"luac\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/plain\":[\"ini\"],\"application/dash+xml\":[\"mdp\"],\"font/opentype\":[\"otf\"],\"application/json\":[\"map\"],\"application/xml\":[\"xsd\"]}},{}],526:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=e.portA,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function a(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function s(e){var t=e.proxy,n={proxy:{host:t.hostname,port:+t.port,proxyAuth:t.auth,headers:e.proxyHeaders},rejectUnauthorized:e.rejectUnauthorized,headers:e.headers,ca:e.ca,cert:e.cert,key:e.key};return n}function c(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function u(e){var t=e.uri,n=e.proxy,r=c(t,n);return I[r]}function p(e){var t=process.env.NO_PROXY||process.env.no_proxy||null;\nif(\"*\"===t)return null;if(null!==t){var n,r,i,o,a,s,c;r=e.hostname.replace(/^\\.*/,\".\").toLowerCase(),c=t.split(\",\");for(var u=0,p=c.length;p>u;u++)if(n=c[u].trim().toLowerCase(),n.indexOf(\":\")>-1){if(o=n.split(\":\",2),a=o[0].replace(/^\\.*/,\".\"),s=o[1],i=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),i===s&&r.indexOf(a)===r.length-a.length)return null}else{n=n.replace(/^\\.*/,\".\");var l=r.indexOf(n);if(l>-1&&l===r.length-n.length)return null}}return\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}function l(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function f(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function d(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:f.call(e.request)}}function h(e){var t=this;b.Stream.call(t);var n=Object.keys(h.prototype),o=r(n,e);b.Stream.call(t),y._extend(t,o),e=i(n,e),t.readable=!0,t.writable=!0,\"undefined\"==typeof e.tunnel&&(e.tunnel=!1),e.method&&(t.explicitMethod=!0),t.canTunnel=e.tunnel!==!1&&I,t.init(e)}var m=e(\"http\"),v=e(\"https\"),g=e(\"url\"),y=e(\"util\"),b=e(\"stream\"),x=e(\"qs\"),w=e(\"querystring\"),_=e(\"zlib\"),k=e(\"./lib/helpers\"),j=e(\"bl\"),S=e(\"oauth-sign\"),E=e(\"hawk\"),O=e(\"aws-sign2\"),A=e(\"http-signature\"),C=e(\"node-uuid\"),T=e(\"mime-types\"),I=e(\"tunnel-agent\"),P=e(\"stringstream\"),F=e(\"caseless\"),M=e(\"forever-agent\"),z=e(\"form-data\"),B=e(\"./lib/cookies\"),N=e(\"./lib/copy\"),D=e(\"./lib/debug\"),q=(e(\"net\"),e(\"combined-stream\")),R=k.safeStringify,L=k.md5,$=k.isReadStream,U=k.toBase64,H=k.defer,V=B.jar(),W={},Y=/^https?:/,K=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"transfer-encoding\",\"user-agent\",\"via\"],G=[\"proxy-authorization\"];y.inherits(h,b.Stream),h.prototype.setupTunnel=function(){var e=this;if(\"string\"==typeof e.proxy&&(e.proxy=g.parse(e.proxy)),!e.proxy)return!1;if(!e.tunnel&&\"https:\"!==e.uri.protocol)return!1;e.proxyHeaderExclusiveList||(e.proxyHeaderExclusiveList=[]);var t=e.proxyHeaderExclusiveList.concat(G);e.proxyHeaderWhiteList||(e.proxyHeaderWhiteList=K);var n=e.proxyHeaderWhiteList.concat(t),r=o(e.uri);e.proxyHeaders=a(e.headers,n),e.proxyHeaders.host=r,t.forEach(e.removeHeader,e);var i=u(e),c=s(e);return e.agent=i(c),e.tunnel=!0,!0},h.prototype.init=function(e){var t=this;if(e||(e={}),t.headers=t.headers?N(t.headers):{},F.httpify(t,t.headers),t.method||(t.method=e.method||\"GET\"),t.localAddress=e.localAddress,t.qsLib||(t.qsLib=e.useQuerystring?w:x),D(e),t.pool||t.pool===!1||(t.pool=W),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on(\"error\",t.callback.bind()),t.on(\"complete\",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),!t.uri)return t.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof t.uri&&(t.uri=g.parse(t.uri)),\"unix:\"===t.uri.protocol)return t.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===t.uri.host){var r=t.uri.path.split(\":\"),i=r[0],o=r[1];t.socketPath=i,t.uri.pathname=o,t.uri.path=o,t.uri.host=i,t.uri.hostname=i,t.uri.isUnix=!0}if(t.strictSSL===!1&&(t.rejectUnauthorized=!1),t.hasOwnProperty(\"proxy\")||(t.proxy=p(t.uri)),t.tunnel=!!e.tunnel,t.proxy&&t.setupTunnel(),t.uri.pathname||(t.uri.pathname=\"/\"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var a=g.format(t.uri),s='Invalid URI \"'+a+'\"';return 0===Object.keys(e).length&&(s+=\". This can be caused by a crappy redirection.\"),t.emit(\"error\",new Error(s))}if(t._redirectsFollowed=t._redirectsFollowed||0,t.maxRedirects=void 0!==t.maxRedirects?t.maxRedirects:10,t.allowRedirect=\"function\"==typeof t.followRedirect?t.followRedirect:function(e){return!0},t.followRedirects=void 0!==t.followRedirect?!!t.followRedirect:!0,t.followAllRedirects=void 0!==t.followAllRedirects?t.followAllRedirects:!1,(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),t.setHost=!1,!t.hasHeader(\"host\")){var c=t.originalHostHeaderName||\"host\";t.setHeader(c,t.uri.hostname),t.uri.port&&(80===t.uri.port&&\"http:\"===t.uri.protocol||443===t.uri.port&&\"https:\"===t.uri.protocol||t.setHeader(c,t.getHeader(\"host\")+(\":\"+t.uri.port))),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||(\"http:\"===t.uri.protocol?t.uri.port=80:\"https:\"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var u=e.formData,l=t.form(),f=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in u)if(u.hasOwnProperty(d)){var h=u[d];if(h instanceof Array)for(var y=0;y<h.length;y++)f(d,h[y]);else f(d,h)}}if(e.qs&&t.qs(e.qs),t.uri.path?t.path=t.uri.path:t.path=t.uri.pathname+(t.uri.search||\"\"),0===t.path.length&&(t.path=\"/\"),e.oauth&&t.oauth(e.oauth),e.aws&&t.aws(e.aws),e.hawk&&t.hawk(e.hawk),e.httpSignature&&t.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),t.gzip&&!t.hasHeader(\"accept-encoding\")&&t.setHeader(\"accept-encoding\",\"gzip\"),t.uri.auth&&!t.hasHeader(\"authorization\")){var b=t.uri.auth.split(\":\").map(function(e){return w.unescape(e)});t.auth(b[0],b.slice(1).join(\":\"),!0)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader(\"proxy-authorization\")){var _=t.proxy.auth.split(\":\").map(function(e){return w.unescape(e)}),k=\"Basic \"+U(_.join(\":\"));t.setHeader(\"proxy-authorization\",k)}if(t.proxy&&!t.tunnel&&(t.path=t.uri.protocol+\"//\"+t.uri.host+t.path),e.json&&t.json(e.json),e.multipart&&(t.boundary=C(),t.multipart(e.multipart)),t.body){var j=0;if(n.isBuffer(t.body))j=t.body.length;else if(Array.isArray(t.body))for(var S=0;S<t.body.length;S++)j+=t.body[S].length;else t.body=new n(t.body),j=t.body.length;if(!j)throw new Error(\"Argument error, options.body.\");t.hasHeader(\"content-length\")||t.setHeader(\"content-length\",j)}var E=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol,O={\"http:\":m,\"https:\":v},A=t.httpModules||{};return t.httpModule=A[E]||O[E],t.httpModule?(e.ca&&(t.ca=e.ca),t.agent||(e.agentOptions&&(t.agentOptions=e.agentOptions),e.agentClass?t.agentClass=e.agentClass:e.forever?t.agentClass=\"http:\"===E?M:M.SSL:t.agentClass=t.httpModule.Agent),t.pool===!1?t.agent=!1:t.agent=t.agent||t.getNewAgent(),t.on(\"pipe\",function(e){if(t.ntick&&t._started)throw new Error(\"You cannot pipe to this stream after the outbound request has started.\");if(t.src=e,$(e))t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",T.lookup(e.path));else{if(e.headers)for(var n in e.headers)t.hasHeader(n)||t.setHeader(n,e.headers[n]);t._json&&!t.hasHeader(\"content-type\")&&t.setHeader(\"content-type\",\"application/json\"),e.method&&!t.explicitMethod&&(t.method=e.method)}}),void H(function(){if(!t._aborted){var e=function(){t._form&&t._form.pipe(t),t._multipart&&t._multipart.pipe(t),t.body?(Array.isArray(t.body)?t.body.forEach(function(e){t.write(e)}):t.write(t.body),t.end()):t.requestBodyStream?(console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),t.requestBodyStream.pipe(t)):t.src||(\"GET\"!==t.method&&\"undefined\"!=typeof t.method&&t.setHeader(\"content-length\",0),t.end())};t._form&&!t.hasHeader(\"content-length\")?(t.setHeader(t._form.getHeaders()),t._form.getLength(function(n,r){n||t.setHeader(\"content-length\",r),e()})):e(),t.ntick=!0}})):t.emit(\"error\",new Error(\"Invalid protocol: \"+E))},h.prototype._updateProtocol=function(){var e=this,t=e.uri.protocol;if(\"https:\"===t||e.tunnel){if(e.proxy&&e.setupTunnel())return;switch(e.httpModule=v,e.agentClass){case M:e.agentClass=M.SSL;break;case m.Agent:e.agentClass=v.Agent;break;default:return}e.agent&&(e.agent=e.getNewAgent())}else{switch(e.httpModule=m,e.agentClass){case M.SSL:e.agentClass=M;break;case v.Agent:e.agentClass=m.Agent;break;default:return}e.agent&&(e.agent=null,e.agent=e.getNewAgent())}},h.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=g.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===W&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},h.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=N(e);delete t.auth,D(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timeout&&!e.timeoutTimer&&(e.timeoutTimer=setTimeout(function(){e.abort();var t=new Error(\"ETIMEDOUT\");t.code=\"ETIMEDOUT\",e.emit(\"error\",t)},e.timeout),e.req.setTimeout&&e.req.setTimeout(e.timeout,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",e.emit(\"error\",t)}})),e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",l)}),e.emit(\"request\",e.req)}},h.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},h.prototype.onRequestResponse=function(e){var t=this;if(D(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){D(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(l)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",l)),t._aborted)return D(\"aborted\",t.uri.href),void e.resume();if(t._paused?e.pause():e.resume&&e.resume(),t.response=e,e.request=t,e.toJSON=d,t.httpModule===v&&t.strictSSL&&(!e.hasOwnProperty(\"client\")||!e.client.authorized)){D(\"strict ssl error\",t.uri.href);var r=e.hasOwnProperty(\"client\")?e.client.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+r))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var i=t._jar&&t._jar.setCookie?t._jar:V,o=function(e){try{i.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=F(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(o):o(e.headers[a])}var s=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var c=e.caseless.get(\"location\");if(D(\"redirect\",c),t.followAllRedirects)s=c;else if(t.followRedirects)switch(t.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:s=c}}else if(401===e.statusCode&&t._hasAuth&&!t._sentAuth){var u=e.caseless.get(\"www-authenticate\"),p=u&&u.split(\" \")[0].toLowerCase();switch(D(\"reauth\",p),p){case\"basic\":t.auth(t._user,t._pass,!0),s=t.uri;break;case\"bearer\":t.auth(null,null,!0,t._bearer),s=t.uri;break;case\"digest\":for(var f={},h=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var m=h.exec(u);if(!m)break;f[m[1]]=m[2]||m[3]}var y=L(t._user+\":\"+f.realm+\":\"+t._pass),b=L(t.method+\":\"+t.uri.path),x=/(^|,)\\s*auth\\s*($|,)/.test(f.qop)&&\"auth\",w=x&&\"00000001\",k=x&&C().replace(/-/g,\"\"),S=L(x?y+\":\"+f.nonce+\":\"+w+\":\"+k+\":\"+x+\":\"+b:y+\":\"+f.nonce+\":\"+b),E={username:t._user,realm:f.realm,nonce:f.nonce,uri:t.uri.path,qop:x,response:S,nc:w,cnonce:k,algorithm:f.algorithm,opaque:f.opaque};u=[];for(var O in E)E[O]&&(\"qop\"===O||\"nc\"===O||\"algorithm\"===O?u.push(O+\"=\"+E[O]):u.push(O+'=\"'+E[O]+'\"'));u=\"Digest \"+u.join(\", \"),t.setHeader(\"authorization\",u),t._sentAuth=!0,s=t.uri}}if(s&&t.allowRedirect.call(t,e)){if(D(\"redirect to\",s),t._paused&&e.resume(),t._redirectsFollowed>=t.maxRedirects)return void t.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+t.uri.href));t._redirectsFollowed+=1,Y.test(s)||(s=g.resolve(t.uri.href,s));var A=t.uri;return t.uri=g.parse(s),t.uri.protocol!==A.protocol&&t._updateProtocol(),t.redirects.push({statusCode:e.statusCode,redirectUri:s}),t.followAllRedirects&&401!==e.statusCode&&307!==e.statusCode&&(t.method=\"GET\"),delete t.src,delete t.req,delete t.agent,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader(\"host\"),t.removeHeader(\"content-type\"),t.removeHeader(\"content-length\"),t.uri.hostname!==t.originalHost.split(\":\")[0]&&t.removeHeader(\"authorization\"))),t.emit(\"redirect\"),void t.init()}t._redirectsFollowed=t._redirectsFollowed||0,e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var T;if(t.gzip){var I=e.headers[\"content-encoding\"]||\"identity\";I=I.trim().toLowerCase(),\"gzip\"===I?(T=_.createGunzip(),e.pipe(T)):(\"identity\"!==I&&D(\"ignoring unrecognized Content-Encoding \"+I),T=e)}else T=e;if(t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):T.setEncoding?T.setEncoding(t.encoding):T=T.pipe(P(t.encoding))),t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),T.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),T.on(\"end\",function(e){t.emit(\"end\",e)}),T.on(\"error\",function(e){t.emit(\"error\",e)}),T.on(\"close\",function(){t.emit(\"close\")}),t.callback){var M=j(),z=[];t.on(\"data\",function(e){n.isBuffer(e)?M.append(e):z.push(e)}),t.on(\"end\",function(){if(D(\"end event\",t.uri.href),t._aborted)return void D(\"aborted\",t.uri.href);if(M.length?(D(\"has body\",t.uri.href,M.length),null===t.encoding?e.body=M.slice():e.body=M.toString(t.encoding)):z.length&&(\"utf8\"===t.encoding&&z[0].length>0&&\"\\ufeff\"===z[0][0]&&(z[0]=z[0].substring(1)),e.body=z.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(n){}D(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=\"\"),t.emit(\"complete\",e,e.body)})}else t.on(\"end\",function(){return t._aborted?void D(\"aborted\",t.uri.href):void t.emit(\"complete\",e)});D(\"finish init function\",t.uri.href)},h.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.abort(),e.emit(\"abort\")},h.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},h.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r.qsLib.parse(r.uri.query):{};for(var i in e)n[i]=e[i];return\"\"===r.qsLib.stringify(n)?r:(r.uri=g.parse(r.uri.href.split(\"?\")[0]+\"?\"+r.qsLib.stringify(n)),r.url=r.uri,r.path=r.uri.path,r)},h.prototype.form=function(e){var t=this;return e?(t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?e.toString(\"utf8\"):t.qsLib.stringify(e).toString(\"utf8\"),t):(t._form=new z,t._form)},h.prototype.multipart=function(e){function t(e){return i?o.append(e):o.push(new n(e))}var r=this,i=e instanceof Array||void 0===e.chunked||e.chunked;e=e.data||e;var o=i?new q:[];i&&r.setHeader(\"transfer-encoding\",\"chunked\");var a=r.hasHeader(\"content-type\");if(a&&-1!==r.headers[a].indexOf(\"multipart\")?r.setHeader(a,r.headers[a].split(\";\")[0]+\"; boundary=\"+r.boundary):r.setHeader(\"content-type\",\"multipart/related; boundary=\"+r.boundary),!e.forEach)throw new Error(\"Argument error, options.multipart.\");return r.preambleCRLF&&t(\"\\r\\n\"),e.forEach(function(e){var n=e.body;if(\"undefined\"==typeof n)throw new Error(\"Body attribute missing in multipart.\");var i=\"--\"+r.boundary+\"\\r\\n\";Object.keys(e).forEach(function(t){\"body\"!==t&&(i+=t+\": \"+e[t]+\"\\r\\n\")}),i+=\"\\r\\n\",t(i),t(n),t(\"\\r\\n\")}),t(\"--\"+r.boundary+\"--\"),r.postambleCRLF&&t(\"\\r\\n\"),r[i?\"_multipart\":\"body\"]=o,r},h.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&\"application/x-www-form-urlencoded\"!==t.getHeader(\"content-type\")&&(t.body=R(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=R(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},h.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n};var J=h.prototype.getHeader;h.prototype.auth=function(e,t,n,r){var i=this;if(void 0!==r)return i._bearer=r,i._hasAuth=!0,(n||\"undefined\"==typeof n)&&(\"function\"==typeof r&&(r=r()),i.setHeader(\"authorization\",\"Bearer \"+r),i._sentAuth=!0),i;if(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)throw new Error(\"auth() received invalid user or password\");i._user=e,i._pass=t,i._hasAuth=!0;var o=\"undefined\"!=typeof t?e+\":\"+t:e;return(n||\"undefined\"==typeof n)&&(i.setHeader(\"authorization\",\"Basic \"+U(o)),i._sentAuth=!0),i},h.prototype.aws=function(e,t){var n=this;if(!t)return n._aws=e,n;var r=new Date;n.setHeader(\"date\",r.toUTCString());var i={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:r,contentType:n.getHeader(\"content-type\")||\"\",md5:n.getHeader(\"content-md5\")||\"\",amazonHeaders:O.canonicalizeHeaders(n.headers)},o=n.uri.path;return e.bucket&&o?i.resource=\"/\"+e.bucket+o:e.bucket&&!o?i.resource=\"/\"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource=\"/\"),i.resource=O.canonicalizeResource(i.resource),n.setHeader(\"authorization\",O.authorization(i)),n},h.prototype.httpSignature=function(e){var t=this;return A.signRequest({getHeader:function(e){return J(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),D(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},h.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",E.client.header(t.uri,t.method,e).field)},h.prototype.oauth=function(e){var t,n,r=this;r.hasHeader(\"content-type\")&&\"application/x-www-form-urlencoded\"===r.getHeader(\"content-type\").slice(0,\"application/x-www-form-urlencoded\".length)&&(t=r.body),r.uri.query&&(n=r.uri.query);var i={};for(var o in e)i[\"oauth_\"+o]=e[o];\"oauth_realm\"in i&&delete i.oauth_realm,i.oauth_version||(i.oauth_version=\"1.0\"),i.oauth_timestamp||(i.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),i.oauth_nonce||(i.oauth_nonce=C().replace(/-/g,\"\")),i.oauth_signature_method||(i.oauth_signature_method=\"HMAC-SHA1\");var a=i.oauth_consumer_secret||i.oauth_private_key;delete i.oauth_consumer_secret,delete i.oauth_private_key;var s=i.oauth_token_secret;delete i.oauth_token_secret;var c=r.uri.protocol+\"//\"+r.uri.host+r.uri.pathname,u=r.qsLib.parse([].concat(n,t,r.qsLib.stringify(i)).join(\"&\")),p=S.sign(i.oauth_signature_method,r.method,c,u,a,s),l=e.realm?'realm=\"'+e.realm+'\",':\"\",f=\"OAuth \"+l+Object.keys(i).sort().map(function(e){return e+'=\"'+S.rfc3986(i[e])+'\"'}).join(\",\");return f+=',oauth_signature=\"'+S.rfc3986(p)+'\"',r.setHeader(\"Authorization\",f),r},h.prototype.jar=function(e){var t,n=this;if(0===n._redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:V,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},h.prototype.pipe=function(e,t){var n=this;if(n.response){if(n._destdata)throw new Error(\"You cannot pipe after data has been emitted from the response.\");if(n._ended)throw new Error(\"You cannot pipe after the response has been ended.\");return b.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e}return n.dests.push(e),b.Stream.prototype.pipe.call(n,e,t),e},h.prototype.write=function(){var e=this;return e._started||e.start(),e.req.write.apply(e.req,arguments)},h.prototype.end=function(e){var t=this;e&&t.write(e),t._started||t.start(),t.req.end()},h.prototype.pause=function(){var e=this;e.response?e.response.pause.apply(e.response,arguments):e._paused=!0},h.prototype.resume=function(){var e=this;e.response?e.response.resume.apply(e.response,arguments):e._paused=!1},h.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},h.defaultProxyHeaderWhiteList=K.slice(),h.defaultProxyHeaderExclusiveList=G.slice(),h.prototype.toJSON=f,t.exports=h}).call(this,e(\"buffer\").Buffer)},{\"./lib/cookies\":518,\"./lib/copy\":519,\"./lib/debug\":520,\"./lib/helpers\":521,\"aws-sign2\":477,bl:478,buffer:void 0,caseless:481,\"combined-stream\":482,\"forever-agent\":486,\"form-data\":487,hawk:488,http:void 0,\"http-signature\":497,https:void 0,\"mime-types\":523,net:void 0,\"node-uuid\":361,\"oauth-sign\":507,qs:508,querystring:void 0,stream:void 0,stringstream:457,\"tunnel-agent\":465,url:void 0,util:void 0,zlib:void 0}],527:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":528,dup:434}],528:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=!1,l=function(e,t){return c&&(clearTimeout(c),c=0),p?void 0:(p=!0,f.removeAllListeners(),f.close(),n(e,t))},f=r.createSocket(\"udp4\");f.once(\"error\",function(e){return l(e)}),f.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return l(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return l(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,p=r.transmitTimestamp,f=n;return r.d=f-o-(p-c),r.t=(c-o+(p-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),l(null,r)}):l(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,l(new Error(\"Timeout\"))},s.timeout));for(var d=new t(48),h=0;48>h;h++)d[h]=0;d[0]=35,u=Date.now(),a.fromMsecs(u,d,40),f.send(d,0,d.length,s.port,s.host,function(e,t){return e||48!==t?l(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:494}],529:[function(e,t,n){\"use strict\";function r(e){for(var t=e.listeners(\"data\"),n=0;n<t.length;n++)if(\"ondata\"===t[n].name)return!0;return!1}function i(e){if(!e)throw new TypeError(\"argument stream is required\");if(\"function\"==typeof e.unpipe)return void e.unpipe();if(r(e))for(var t,n=e.listeners(\"close\"),i=0;i<n.length;i++)t=n[i],\"cleanup\"!==t.name&&\"onclose\"!==t.name||t.call(e)}t.exports=i},{}],530:[function(e,t,n){t.exports=e(\"util\").deprecate},{util:void 0}],531:[function(e,t,n){n=t.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},{}],532:[function(e,t,n){\"use strict\";function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"header argument is required\");if(!t)throw new TypeError(\"field argument is required\");for(var n=Array.isArray(t)?t:i(String(t)),r=0;r<n.length;r++)if(a.test(n[r]))throw new TypeError(\"field argument contains an invalid header\");if(\"*\"===e)return e;var o=e,s=i(e.toLowerCase());if(-1!==n.indexOf(\"*\")||-1!==s.indexOf(\"*\"))return\"*\";for(var r=0;r<n.length;r++){var c=n[r].toLowerCase();-1===s.indexOf(c)&&(s.push(c),o=o?o+\", \"+n[r]:n[r])}return o}function i(e){return e.trim().split(/ *, */)}function o(e,t){if(!e||!e.getHeader||!e.setHeader)throw new TypeError(\"res argument is required\");var n=e.getHeader(\"Vary\")||\"\",i=Array.isArray(n)?n.join(\", \"):String(n);(n=r(i,t))&&e.setHeader(\"Vary\",n)}t.exports=o,t.exports.append=r;var a=/[\\(\\)<>@,;:\\\\\"\\/\\[\\]\\?=\\{\\}\\u0020\\u0009]/},{}],533:[function(e,t,n){function r(e){var t,n,r,i;e instanceof Error||\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),i=t.length>0?c.sprintf.apply(null,t):\"\",this.jse_shortmsg=i,this.jse_summary=i,e&&(n=e.cause,n&&e.cause instanceof Error||(n=e),n&&n instanceof Error&&(this.jse_cause=n,this.jse_summary+=\": \"+n.message)),this.message=this.jse_summary,Error.call(this,this.jse_summary),Error.captureStackTrace&&(r=e?e.constructorOpt:void 0,r=r||arguments.callee,Error.captureStackTrace(this,r))}function i(e){a.ok(e.length>0),this.ase_errors=e,r.call(this,e[0],\"first of %d error%s\",e.length,1==e.length?\"\":\"s\")}function o(e){Error.call(this);var t,n,r;\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),t.length>0?this.message=c.sprintf.apply(null,t):this.message=\"\",e&&(e instanceof Error?n=e:(n=e.cause,r=e.constructorOpt)),Error.captureStackTrace(this,r||this.constructor),n&&this.cause(n)}var a=e(\"assert\"),s=e(\"util\"),c=e(\"extsprintf\");n.VError=r,n.WError=o,n.MultiError=i,s.inherits(r,Error),r.prototype.name=\"VError\",r.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),e},r.prototype.cause=function(){return this.jse_cause},s.inherits(i,r),s.inherits(o,Error),o.prototype.name=\"WError\",o.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),this.we_cause&&this.we_cause.message&&(e+=\"; caused by \"+this.we_cause.toString()),e},o.prototype.cause=function(e){return e instanceof Error&&(this.we_cause=e),this.we_cause}},{assert:void 0,extsprintf:114,util:void 0}],534:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)i.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],535:[function(e,t,n){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&\"function\"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){return this instanceof a?(this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,void(n?(n.prev=this,this.next=n):this.next=null)):new a(e,t,n,r)}t.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error(\"removing node which does not belong to this list\");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){\nfor(var e=0,t=arguments.length;t>e;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail.next=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head.prev=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&e>t;t++)n=n.next;return t===e&&null!==n?n.value:void 0},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&e>t;t++)n=n.prev;return t===e&&null!==n?n.value:void 0},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},{}],536:[function(e,t,n){var r={SERVERLESS_PROJECT:\"serverless-starter\",SERVERLESS_STAGE:\"dev\",SERVERLESS_REGION:\"us-east-1\",SERVERLESS_DATA_MODEL_STAGE:\"dev\"};for(var i in r)process.env[i]=r[i];n.handler=e(\"./handler\").handler},{\"./handler\":537}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports.handler=function(e,t){r.multiShow(e,function(e,n){return t.done(e,n)})}},{\"../../lib\":1}],538:[function(e,t,n){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}]},{},[536])(536)});"}}}},"criteria":{"id":{"type":"string","pattern":"/subscriptions/.*","required":true},"name":{"type":"string","pattern":".*/.*","required":true},"function_app_id":{"type":"string","pattern":"/subscriptions/.*/resourceGroups/.*/providers/Microsoft.Web/sites/.*"},"type":{"type":"string","pattern":"Microsoft.Web/sites/functions","required":true},"location":{"type":"string","required":true},"script_root_path_href":{"type":"string","script_href":""},"script_href":{"type":"string","script_href":"https://.*.scm.azurewebsites.net/.*"},"config_href":{"type":"","test_data_href":"https://.*.scm.azurewebsites.net/.*"},"properties":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"required":true},"function_app_id":{"type":"string","minLength":1,"required":true},"script_root_path_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"script_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"config_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"secrets_file_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data":{"type":"string","required":true},"files":{"required":false},"config":{"type":"object","properties":{"bindings":{"type":"array"}}}}}}},{"message":"Failed \"required\" criteria: missing property (type)","context":"#","value":{"value":{"location":"West US","properties":{"config":{"bindings":[{"type":"http","direction":"in","name":"req"}]},"files":{"index.js":"!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var t;t=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,t.lambda=e()}}(function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c=\"function\"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var p=n[a]={exports:{}};t[a][0].call(p.exports,function(e){var n=t[a][1][e];return i(n?n:e)},p,p.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){var r=(e(\"sendgrid\"),e(\"unirest\"),e(\"bluebird\"),e(\"skeemas\"),e(\"mongoose\"),e(\"passport\")),i=e(\"express\");e(\"moment\"),e(\"lodash\");t.exports.singleAll=function(e,t){var n={message:\"Your Serverless function ran successfully via the '\"+e.httpMethod+\"' method!\"};return t(null,n)},t.exports.multiCreate=function(e,t){var n={message:\"Your Serverless function 'multi/create' ran successfully!\"};return t(null,n)},t.exports.multiShow=function(e,t){var n=(i(),n(new Date));r.init;mogoose.connect(\"httt:/p\");var o={message:\"Your Serverless function 'multi/show' ran successfully with the following ID '\"+e.pathId+\"'!\"};return t(null,o)}},{bluebird:18,express:98,lodash:177,moment:187,mongoose:247,passport:371,sendgrid:410,skeemas:419,unirest:468}],2:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(this.headers=e.headers,void(this.negotiator=new a(e))):new r(e)}function i(e){return-1===e.indexOf(\"/\")?s.lookup(e):e}function o(e){return\"string\"==typeof e}var a=e(\"negotiator\"),s=e(\"mime-types\");t.exports=r,r.prototype.type=r.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||0===t.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(i),a=this.negotiator.mediaTypes(r.filter(o)),s=a[0];return s?t[r.indexOf(s)]:!1},r.prototype.encoding=r.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.encodings(t)[0]||!1:this.negotiator.encodings()},r.prototype.charset=r.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.charsets(t)[0]||!1:this.negotiator.charsets()},r.prototype.lang=r.prototype.langs=r.prototype.language=r.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.languages(t)[0]||!1:this.negotiator.languages()}},{\"mime-types\":184,negotiator:356}],3:[function(e,t,n){\"use strict\";function r(e,t,n){for(var i=0;i<e.length;i++){var o=e[i];n>0&&Array.isArray(o)?r(o,t,n-1):t.push(o)}return t}function i(e,t){for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?i(r,t):t.push(r)}return t}function o(e,t){return null==t?i(e,[]):r(e,[],t)}t.exports=o},{}],4:[function(e,t,n){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name=\"InvalidAsn1Error\",t.message=e||\"\",t}}},{}],5:[function(e,t,n){var r=e(\"./errors\"),i=e(\"./types\"),o=e(\"./reader\"),a=e(\"./writer\");t.exports={Reader:o,Writer:a};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in r)r.hasOwnProperty(c)&&(t.exports[c]=r[c])},{\"./errors\":4,\"./reader\":6,\"./types\":7,\"./writer\":8}],6:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(r.prototype,\"offset\",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(r.prototype,\"remain\",{get:function(){return this._size-this._offset}}),Object.defineProperty(r.prototype,\"buffer\",{get:function(){return this._buf.slice(this._offset)}}),r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var r=this.peek();if(null===r)return null;if(r!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+r.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new n(0):\"\";var a=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?a:a.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.readString(e,!0);if(null===t)return null;for(var n=[],r=0,i=0;i<t.length;i++){var a=255&t[i];r<<=7,r+=127&a,0==(128&a)&&(n.push(r),r=0)}return r=n.shift(),n.unshift(r%40),n.unshift(r/40>>0),n.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;for(var r=this._buf[this._offset],o=0,a=0;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&4!==a&&(o-=1<<8*a),o>>0},t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],7:[function(e,t,n){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],8:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,\"buffer\",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+\" unended sequence(s)\");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||-8388608===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],9:[function(e,t,n){var r=e(\"./ber/index\");t.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},{\"./ber/index\":5}],10:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n,r,o){throw new c.AssertionError({message:p.format(\"%s (%s) is required\",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:n||\"===\",stackStartFunction:i.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function a(){}function s(e){var t,n=Object.keys(f);return t=process.env.NODE_NDEBUG?a:function(e,t){e||i(t,\"true\",e)},n.forEach(function(n){if(e)return void(t[n]=a);var r=f[n];t[n]=function(e,t){r.check(e)||i(t,n,r.operator,e,r.actual)}}),n.forEach(function(n){var o=\"optional\"+r(n);if(e)return void(t[o]=a);var s=f[n];t[o]=function(e,t){void 0!==e&&null!==e&&(s.check(e)||i(t,n,s.operator,e,s.actual))}}),n.forEach(function(n){var o=\"arrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}),n.forEach(function(n){var o=\"optionalArrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}}),Object.keys(c).forEach(function(n){return\"AssertionError\"===n?void(t[n]=c[n]):e?void(t[n]=a):void(t[n]=c[n])}),t._setExports=s,t}var c=e(\"assert\"),u=e(\"stream\").Stream,p=e(\"util\"),l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,f={bool:{check:function(e){return\"boolean\"==typeof e}},func:{check:function(e){return\"function\"==typeof e}},string:{check:function(e){return\"string\"==typeof e}},object:{check:function(e){return\"object\"==typeof e&&null!==e}},number:{check:function(e){return\"number\"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return n.isBuffer(e)},operator:\"Buffer.isBuffer\"},array:{check:function(e){return Array.isArray(e)},operator:\"Array.isArray\"},stream:{check:function(e){return e instanceof u},operator:\"instanceof\",actual:o},date:{check:function(e){return e instanceof Date},operator:\"instanceof\",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:\"instanceof\",actual:o},uuid:{check:function(e){return\"string\"==typeof e&&l.test(e)},operator:\"isUUID\"}};t.exports=s(process.env.NODE_NDEBUG)}).call(this,{isBuffer:e(\"../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],11:[function(e,t,n){(function(e){!function(){function n(){}function r(e){return e}function i(e){return!!e}function o(e){return!e}function a(e){return function(){if(null===e)throw new Error(\"Callback was already called.\");e.apply(this,arguments),e=null}}function s(e){return function(){null!==e&&(e.apply(this,arguments),e=null)}}function c(e){return D(e)||\"number\"==typeof e.length&&e.length>=0&&e.length%1===0}function u(e,t){for(var n=-1,r=e.length;++n<r;)t(e[n],n,e)}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e){return p(Array(e),function(e,t){return t})}function f(e,t,n){return u(e,function(e,r,i){n=t(n,e,r,i)}),n}function d(e,t){u(R(e),function(n){t(e[n],n)})}function h(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function m(e){var t,n,r=-1;return c(e)?(t=e.length,function(){return r++,t>r?r:null}):(n=R(e),t=n.length,function(){return r++,t>r?n[r]:null})}function v(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r)}}}function g(e){return function(t,n,r){return e(t,r)}}function y(e){return function(t,r,i){i=s(i||n),t=t||[];var o=m(t);if(0>=e)return i(null);var c=!1,u=0,p=!1;!function l(){if(c&&0>=u)return i(null);for(;e>u&&!p;){var n=o();if(null===n)return c=!0,void(0>=u&&i(null));u+=1,r(t[n],n,a(function(e){u-=1,e?(i(e),p=!0):l()}))}}()}}function b(e){return function(t,n,r){return e(z.eachOf,t,n,r)}}function x(e){return function(t,n,r,i){return e(y(n),t,r,i)}}function w(e){return function(t,n,r){return e(z.eachOfSeries,t,n,r)}}function _(e,t,r,i){i=s(i||n),t=t||[];var o=c(t)?[]:{};e(t,function(e,t,n){r(e,function(e,r){o[t]=r,n(e)})},function(e){i(e,o)})}function k(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(n){n&&i.push({index:t,value:e}),r()})},function(){r(p(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})}function j(e,t,n,r){k(e,t,function(e,t){n(e,function(e){t(!e)})},r)}function S(e,t,n){return function(r,i,o,a){function s(){a&&a(n(!1,void 0))}function c(e,r,i){return a?void o(e,function(r){a&&t(r)&&(a(n(!0,e)),a=o=!1),i()}):i()}arguments.length>3?e(r,i,c,s):(a=o,o=i,e(r,c,s))}}function E(e,t){return t}function O(e,t,r){r=r||n;var i=c(t)?[]:{};e(t,function(e,t,n){e(v(function(e,r){r.length<=1&&(r=r[0]),i[t]=r,n(e)}))},function(e){r(e,i)})}function A(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(e,t){i=i.concat(t||[]),r(e)})},function(e){r(e,i)})}function C(e,t,r){function i(e,t,r,i){if(null!=i&&\"function\"!=typeof i)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length&&e.idle()?z.setImmediate(function(){e.drain()}):(u(t,function(t){var o={data:t,callback:i||n};r?e.tasks.unshift(o):e.tasks.push(o),e.tasks.length===e.concurrency&&e.saturated()}),void z.setImmediate(e.process))}function o(e,t){return function(){s-=1;var n=!1,r=arguments;u(t,function(e){u(c,function(t,r){t!==e||n||(c.splice(r,1),n=!0)}),e.callback.apply(e,r)}),e.tasks.length+s===0&&e.drain(),e.process()}}if(null==t)t=1;else if(0===t)throw new Error(\"Concurrency must not be zero\");var s=0,c=[],l={tasks:[],concurrency:t,payload:r,saturated:n,empty:n,drain:n,started:!1,paused:!1,push:function(e,t){i(l,e,!1,t)},kill:function(){l.drain=n,l.tasks=[]},unshift:function(e,t){i(l,e,!0,t)},process:function(){for(;!l.paused&&s<l.concurrency&&l.tasks.length;){var t=l.payload?l.tasks.splice(0,l.payload):l.tasks.splice(0,l.tasks.length),n=p(t,function(e){return e.data});0===l.tasks.length&&l.empty(),s+=1,c.push(t[0]);var r=a(o(l,t));e(n,r)}},length:function(){return l.tasks.length},running:function(){return s},workersList:function(){return c},idle:function(){return l.tasks.length+s===0},pause:function(){l.paused=!0},resume:function(){if(l.paused!==!1){l.paused=!1;for(var e=Math.min(l.concurrency,l.tasks.length),t=1;e>=t;t++)z.setImmediate(l.process)}}};return l}function T(e){return v(function(t,n){t.apply(null,n.concat([v(function(t,n){\"object\"==typeof console&&(t?console.error&&console.error(t):console[e]&&u(n,function(t){console[e](t)}))})]))})}function I(e){return function(t,n,r){e(l(t),n,r)}}function P(e){return v(function(t,n){var r=v(function(n){var r=this,i=n.pop();return e(t,function(e,t,i){e.apply(r,n.concat([i]))},i)});return n.length?r.apply(this,n):r})}function F(e){return v(function(t){var n=t.pop();t.push(function(){var e=arguments;r?z.setImmediate(function(){n.apply(null,e)}):n.apply(null,e)});var r=!0;e.apply(this,t),r=!1})}var M,z={},B=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof e&&e.global===e&&e||this;null!=B&&(M=B.async),z.noConflict=function(){return B.async=M,z};var N=Object.prototype.toString,D=Array.isArray||function(e){return\"[object Array]\"===N.call(e)},q=function(e){var t=typeof e;return\"function\"===t||\"object\"===t&&!!e},R=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},L=\"function\"==typeof setImmediate&&setImmediate,$=L?function(e){L(e)}:function(e){setTimeout(e,0)};\"object\"==typeof process&&\"function\"==typeof process.nextTick?z.nextTick=process.nextTick:z.nextTick=$,z.setImmediate=L?$:z.nextTick,z.forEach=z.each=function(e,t,n){return z.eachOf(e,g(t),n)},z.forEachSeries=z.eachSeries=function(e,t,n){return z.eachOfSeries(e,g(t),n)},z.forEachLimit=z.eachLimit=function(e,t,n,r){return y(t)(e,g(n),r)},z.forEachOf=z.eachOf=function(e,t,r){function i(e){u--,e?r(e):null===o&&0>=u&&r(null)}r=s(r||n),e=e||[];for(var o,c=m(e),u=0;null!=(o=c());)u+=1,t(e[o],o,a(i));0===u&&r(null)},z.forEachOfSeries=z.eachOfSeries=function(e,t,r){function i(){var n=!0;return null===c?r(null):(t(e[c],c,a(function(e){if(e)r(e);else{if(c=o(),null===c)return r(null);n?z.setImmediate(i):i()}})),void(n=!1))}r=s(r||n),e=e||[];var o=m(e),c=o();i()},z.forEachOfLimit=z.eachOfLimit=function(e,t,n,r){y(t)(e,n,r)},z.map=b(_),z.mapSeries=w(_),z.mapLimit=x(_),z.inject=z.foldl=z.reduce=function(e,t,n,r){z.eachOfSeries(e,function(e,r,i){n(t,e,function(e,n){t=n,i(e)})},function(e){r(e,t)})},z.foldr=z.reduceRight=function(e,t,n,i){var o=p(e,r).reverse();z.reduce(o,t,n,i)},z.transform=function(e,t,n,r){3===arguments.length&&(r=n,n=t,t=D(e)?[]:{}),z.eachOf(e,function(e,r,i){n(t,e,r,i)},function(e){r(e,t)})},z.select=z.filter=b(k),z.selectLimit=z.filterLimit=x(k),z.selectSeries=z.filterSeries=w(k),z.reject=b(j),z.rejectLimit=x(j),z.rejectSeries=w(j),z.any=z.some=S(z.eachOf,i,r),z.someLimit=S(z.eachOfLimit,i,r),z.all=z.every=S(z.eachOf,o,o),z.everyLimit=S(z.eachOfLimit,o,o),z.detect=S(z.eachOf,r,E),z.detectSeries=S(z.eachOfSeries,r,E),z.detectLimit=S(z.eachOfLimit,r,E),z.sortBy=function(e,t,n){function r(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0}z.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){return e?n(e):void n(null,p(t.sort(r),function(e){return e.value}))})},z.auto=function(e,t,r){function i(e){y.unshift(e)}function o(e){var t=h(y,e);t>=0&&y.splice(t,1)}function a(){p--,u(y.slice(0),function(e){e()})}\"function\"==typeof arguments[1]&&(r=t,t=null),r=s(r||n);var c=R(e),p=c.length;if(!p)return r(null);t||(t=p);var l={},m=0,g=!1,y=[];i(function(){p||r(null,l)}),u(c,function(n){function s(){return t>m&&f(b,function(e,t){return e&&l.hasOwnProperty(t)},!0)&&!l.hasOwnProperty(n)}function c(){s()&&(m++,o(c),p[p.length-1](y,l))}if(!g){for(var u,p=D(e[n])?e[n]:[e[n]],y=v(function(e,t){if(m--,t.length<=1&&(t=t[0]),e){var i={};d(l,function(e,t){i[t]=e}),i[n]=t,g=!0,r(e,i)}else l[n]=t,z.setImmediate(a)}),b=p.slice(0,p.length-1),x=b.length;x--;){if(!(u=e[b[x]]))throw new Error(\"Has nonexistent dependency in \"+b.join(\", \"));if(D(u)&&h(u,n)>=0)throw new Error(\"Has cyclic dependencies\")}s()?(m++,p[p.length-1](y,l)):i(c)}})},z.retry=function(e,t,n){function r(e,t){if(\"number\"==typeof t)e.times=parseInt(t,10)||o;else{if(\"object\"!=typeof t)throw new Error(\"Unsupported argument type for 'times': \"+typeof t);e.times=parseInt(t.times,10)||o,e.interval=parseInt(t.interval,10)||a}}function i(e,t){function n(e,n){return function(r){e(function(e,t){r(!e||n,{err:e,result:t})},t)}}function r(e){return function(t){setTimeout(function(){t(null)},e)}}for(;c.times;){var i=!(c.times-=1);s.push(n(c.task,i)),!i&&c.interval>0&&s.push(r(c.interval))}z.series(s,function(t,n){n=n[n.length-1],(e||c.callback)(n.err,n.result)})}var o=5,a=0,s=[],c={times:o,interval:a},u=arguments.length;if(1>u||u>3)throw new Error(\"Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)\");return 2>=u&&\"function\"==typeof e&&(n=t,t=e),\"function\"!=typeof e&&r(c,e),c.callback=n,c.task=t,c.callback?i():i},z.waterfall=function(e,t){function r(e){return v(function(n,i){if(n)t.apply(null,[n].concat(i));else{var o=e.next();o?i.push(r(o)):i.push(t),F(e).apply(null,i)}})}if(t=s(t||n),!D(e)){var i=new Error(\"First argument to waterfall must be an array of functions\");return t(i)}return e.length?void r(z.iterator(e))():t()},z.parallel=function(e,t){O(z.eachOf,e,t)},z.parallelLimit=function(e,t,n){O(y(t),e,n)},z.series=function(e,t){O(z.eachOfSeries,e,t)},z.iterator=function(e){function t(n){function r(){return e.length&&e[n].apply(null,arguments),r.next()}return r.next=function(){return n<e.length-1?t(n+1):null},r}return t(0)},z.apply=v(function(e,t){return v(function(n){return e.apply(null,t.concat(n))})}),z.concat=b(A),z.concatSeries=w(A),z.whilst=function(e,t,r){if(r=r||n,e()){var i=v(function(n,o){n?r(n):e.apply(this,o)?t(i):r.apply(null,[null].concat(o))});t(i)}else r(null)},z.doWhilst=function(e,t,n){var r=0;return z.whilst(function(){return++r<=1||t.apply(this,arguments)},e,n)},z.until=function(e,t,n){return z.whilst(function(){return!e.apply(this,arguments)},t,n)},z.doUntil=function(e,t,n){return z.doWhilst(e,function(){return!t.apply(this,arguments)},n)},z.during=function(e,t,r){r=r||n;var i=v(function(t,n){t?r(t):(n.push(o),e.apply(this,n))}),o=function(e,n){e?r(e):n?t(i):r(null)};e(o)},z.doDuring=function(e,t,n){var r=0;z.during(function(e){r++<1?e(null,!0):t.apply(this,arguments)},e,n)},z.queue=function(e,t){var n=C(function(t,n){e(t[0],n)},t,1);return n},z.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}function i(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,a){if(null!=a&&\"function\"!=typeof a)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length?z.setImmediate(function(){e.drain()}):void u(t,function(t){var s={data:t,priority:o,callback:\"function\"==typeof a?a:n};e.tasks.splice(i(e.tasks,s,r)+1,0,s),e.tasks.length===e.concurrency&&e.saturated(),z.setImmediate(e.process)})}var a=z.queue(e,t);return a.push=function(e,t,n){o(a,e,t,n)},delete a.unshift,a},z.cargo=function(e,t){return C(e,1,t)},z.log=T(\"log\"),z.dir=T(\"dir\"),z.memoize=function(e,t){var n={},i={},o=Object.prototype.hasOwnProperty;t=t||r;var a=v(function(r){var a=r.pop(),s=t.apply(null,r);o.call(n,s)?z.setImmediate(function(){a.apply(null,n[s])}):o.call(i,s)?i[s].push(a):(i[s]=[a],e.apply(null,r.concat([v(function(e){n[s]=e;var t=i[s];delete i[s];for(var r=0,o=t.length;o>r;r++)t[r].apply(null,e)})])))});return a.memo=n,a.unmemoized=e,a},z.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},z.times=I(z.map),z.timesSeries=I(z.mapSeries),z.timesLimit=function(e,t,n,r){return z.mapLimit(l(e),t,n,r)},z.seq=function(){var e=arguments;return v(function(t){var r=this,i=t[t.length-1];\"function\"==typeof i?t.pop():i=n,z.reduce(e,t,function(e,t,n){t.apply(r,e.concat([v(function(e,t){n(e,t)})]))},function(e,t){i.apply(r,[e].concat(t))})})},z.compose=function(){return z.seq.apply(null,Array.prototype.reverse.call(arguments))},z.applyEach=P(z.eachOf),z.applyEachSeries=P(z.eachOfSeries),z.forever=function(e,t){function r(e){return e?i(e):void o(r)}var i=a(t||n),o=F(e);r()},z.ensureAsync=F,z.constant=v(function(e){var t=[null].concat(e);return function(e){return e.apply(this,t)}}),z.wrapSync=z.asyncify=function(e){return v(function(t){var n,r=t.pop();try{n=e.apply(this,t)}catch(i){return r(i)}q(n)&&\"function\"==typeof n.then?n.then(function(e){r(null,e)})[\"catch\"](function(e){r(e.message?e:new Error(e))}):r(null,n)})},\"object\"==typeof t&&t.exports?t.exports=z:\"function\"==typeof define&&define.amd?define([],function(){return z}):B.async=z}()}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],13:[function(e,t,n){(function(t){function r(e,t,n){return p.createHmac(\"sha256\",e).update(t,\"utf8\").digest(n)}function i(e,t){return p.createHash(\"sha256\").update(e,\"utf8\").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e,t){\"string\"==typeof e&&(e=c.parse(e));var n=e.headers=e.headers||{},r=this.matchHost(e.hostname||e.host||n.Host||n.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||r[0]||\"\",this.region=e.region||r[1]||\"us-east-1\",\"email\"===this.service&&(this.service=\"ses\"),!e.method&&e.body&&(e.method=\"POST\"),n.Host||n.host||(n.Host=e.hostname||e.host||this.createHost(),e.port&&(n.Host+=\":\"+e.port)),e.hostname||e.host||(e.hostname=n.Host||n.host)}var s=n,c=e(\"url\"),u=e(\"querystring\"),p=e(\"crypto\"),l=e(\"lru-cache\"),f=l(1e3);a.prototype.matchHost=function(e){var t=(e||\"\").match(/([^\\.]+)\\.(?:([^\\.]*)\\.)?amazonaws\\.com$/),n=(t||[]).slice(1,3);return\"es\"===n[1]&&(n=n.reverse()),n},a.prototype.isSingleRegion=function(){return[\"s3\",\"sdb\"].indexOf(this.service)>=0&&\"us-east-1\"===this.region?!0:[\"cloudfront\",\"ls\",\"route53\",\"iam\",\"importexport\",\"sts\"].indexOf(this.service)>=0},a.prototype.createHost=function(){var e=this.isSingleRegion()?\"\":(\"s3\"===this.service&&\"us-east-1\"!==this.region?\"-\":\".\")+this.region,t=\"ses\"===this.service?\"email\":this.service;return t+e+\".amazonaws.com\"},a.prototype.prepareRequest=function(){this.parsePath();var e,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"!==this.service||e[\"X-Amz-Expires\"]||(e[\"X-Amz-Expires\"]=86400),e[\"X-Amz-Date\"]?this.datetime=e[\"X-Amz-Date\"]:e[\"X-Amz-Date\"]=this.getDateTime(),e[\"X-Amz-Algorithm\"]=\"AWS4-HMAC-SHA256\",e[\"X-Amz-Credential\"]=this.credentials.accessKeyId+\"/\"+this.credentialString(),e[\"X-Amz-SignedHeaders\"]=this.signedHeaders()):(n.doNotModifyHeaders||(!n.body||r[\"Content-Type\"]||r[\"content-type\"]||(r[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\"),!n.body||r[\"Content-Length\"]||r[\"content-length\"]||(r[\"Content-Length\"]=t.byteLength(n.body)),this.credentials.sessionToken&&(r[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"===this.service&&(r[\"X-Amz-Content-Sha256\"]=i(this.request.body||\"\",\"hex\")),r[\"X-Amz-Date\"]?this.datetime=r[\"X-Amz-Date\"]:r[\"X-Amz-Date\"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},a.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query[\"X-Amz-Signature\"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},a.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\\-]|\\.\\d{3}/g,\"\")}return this.datetime},a.prototype.getDate=function(){return this.getDateTime().substr(0,8)},a.prototype.authHeader=function(){return[\"AWS4-HMAC-SHA256 Credential=\"+this.credentials.accessKeyId+\"/\"+this.credentialString(),\"SignedHeaders=\"+this.signedHeaders(),\"Signature=\"+this.signature()].join(\", \")},a.prototype.signature=function(){var e,t,n,i=this.getDate(),o=[this.credentials.secretAccessKey,i,this.region,this.service].join(),a=f.get(o);return a||(e=r(\"AWS4\"+this.credentials.secretAccessKey,i),t=r(e,this.region),n=r(t,this.service),\na=r(n,\"aws4_request\"),f.set(o,a)),r(a,this.stringToSign(),\"hex\")},a.prototype.stringToSign=function(){return[\"AWS4-HMAC-SHA256\",this.getDateTime(),this.credentialString(),i(this.canonicalString(),\"hex\")].join(\"\\n\")},a.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,n=\"\",r=\"s3\"!==this.service,a=\"s3\"===this.service||this.request.doNotEncodePath,s=\"s3\"===this.service,c=\"s3\"===this.service,p=\"s3\"===this.service&&this.request.signQuery?\"UNSIGNED-PAYLOAD\":i(this.request.body||\"\",\"hex\");return t&&(n=o(u.stringify(Object.keys(t).sort().reduce(function(e,n){return n?(e[n]=Array.isArray(t[n])?c?t[n][0]:t[n].slice().sort():t[n],e):e},{})))),\"/\"!==e&&(r&&(e=e.replace(/\\/{2,}/g,\"/\")),e=e.split(\"/\").reduce(function(e,t){return r&&\"..\"===t?e.pop():r&&\".\"===t||(a&&(t=u.unescape(t)),e.push(o(u.escape(t)))),e},[]).join(\"/\"),\"/\"!==e[0]&&(e=\"/\"+e),s&&(e=e.replace(/%2F/g,\"/\"))),[this.request.method||\"GET\",e,n,this.canonicalHeaders()+\"\\n\",this.signedHeaders(),p].join(\"\\n\")},a.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\\s+/g,\" \")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(n){return n.toLowerCase()+\":\"+e(t[n])}).join(\"\\n\")},a.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(\";\")},a.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,\"aws4_request\"].join(\"/\")},a.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},a.prototype.parsePath=function(){var e=this.request.path||\"/\",t=e.indexOf(\"?\"),n=null;t>=0&&(n=u.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\\-._~%\\/]/.test(e)&&(e=e.split(\"/\").map(function(e){return u.escape(u.unescape(e))}).join(\"/\")),this.parsedPath={path:e,query:n}},a.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[\"\"]&&delete t[\"\"],e+\"?\"+o(u.stringify(t))):e},s.RequestSigner=a,s.sign=function(e,t){return new a(e,t).sign()}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"lru-cache\":178,querystring:void 0,url:void 0}],14:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),e instanceof r?(this._bufs.push.apply(this._bufs,e._bufs),this.length+=e.length):(this._bufs.push(t?e:new n(e)),this.length+=e.length),this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":388,util:void 0}],15:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){var t=new n(e),r=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),r}var n=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],16:[function(e,t,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule\"),p=e(\"./queue\"),l=e(\"./util\");r.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(e,t){t?(process.stderr.write(\"Fatal \"+(e instanceof Error?e.stack:e)+\"\\n\"),process.exit(2)):this.throwLater(e)},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},l.hasDevTools?(r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=r,t.exports.firstLineError=s},{\"./queue\":40,\"./schedule\":43,\"./util\":50}],17:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:u};l._then(t,a,void 0,p,f),u._then(s,c,void 0,p,f),p._setOnCancel(u)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],18:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise\")();o.noConflict=r,t.exports=o},{\"./promise\":36}],19:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util\":50}],20:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util\"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype[\"break\"]=t.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var e=this,t=e;e.isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n.isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this.isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if(\"function\"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this.isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":50}],21:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<e.length;++p){var l=e[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return o(n).call(u,c)}else if(\"function\"==typeof l){var f=o(l).call(u,c);if(f===a)return f;if(f)return o(n).call(u,c)}else if(r.isObject(c)){for(var d=i(l),h=0;h<d.length;++h){var m=d[h];if(l[m]!=c[m])continue e}return o(n).call(u,c)}}return t}}var r=e(\"./util\"),i=e(\"./es5\").keys,o=r.tryCatch,a=r.errorObj;return n}},{\"./es5\":27,\"./util\":50}],22:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){this._trace=new t.CapturedTrace(r())}function n(){return i?new t:void 0}function r(){var e=o.length-1;return e>=0?o[e]:void 0}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],23:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t){return{promise:t}}function i(){return!1}function o(e,t,n){var r=this;try{e(t,n,function(e){if(\"function\"!=typeof e)throw new TypeError(\"onCancel must be a function, got: \"+D.toString(e));r._attachCancellationCallback(e)})}catch(i){return i}}function a(e){if(!this.isCancellable())return this;var t=this._onCancel();void 0!==t?D.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function s(){return this._onCancelField}function c(e){this._onCancelField=e}function u(){this._cancellationParent=void 0,this._onCancelField=void 0}function p(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function l(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new I(this._peekContext())}function h(e,t){if(q(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=k(e);D.notEnumerableProp(e,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&Y){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"a promise was created in a \"+n+\"handler but was not returned from it\";r._warn(o,!0,t)}}function v(e,t){var n=e+\" is deprecated and will be removed in a future version.\";return t&&(n+=\" Use \"+t+\" instead.\"),g(n)}function g(e,n,r){if(re.warnings){var i,o=new N(e);if(n)r._attachExtraTrace(o);else if(re.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var a=k(o);o.stack=a.message+\"\\n\"+a.stack.join(\"\\n\")}Q(\"warning\",o)||j(o,\"\",!0)}}function y(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function b(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function x(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function w(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=\"    (No stack trace)\"===r||L.test(r),o=i&&ee(r);i&&!o&&(U&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function _(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||L.test(r))break}return n>0&&(t=t.slice(n)),t}function k(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?_(e):[\"    (No stack trace)\"],{message:n,stack:w(t)}}function j(e,t,n){if(\"undefined\"!=typeof console){var r;if(D.isObject(e)){var i=e.stack;r=t+$(i,e)}else r=t+String(e);\"function\"==typeof M?M(r,n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(r)}}function S(e,t,n,r){var i=!1;try{\"function\"==typeof t&&(i=!0,\"rejectionHandled\"===e?t(r):t(n,r))}catch(o){B.throwLater(o)}\"unhandledRejection\"===e?Q(e,n,r)||i||j(n,\"Unhandled rejection \"):Q(e,r)}function E(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e&&\"function\"==typeof e.toString?e.toString():D.toString(e);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+O(t)+\">, no stack trace)\"}function O(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function A(){return\"function\"==typeof ne}function C(e){var t=e.match(te);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}function T(e,t){if(A()){for(var n,r,i=e.stack.split(\"\\n\"),o=t.stack.split(\"\\n\"),a=-1,s=-1,c=0;c<i.length;++c){var u=C(i[c]);if(u){n=u.fileName,a=u.line;break}}for(var c=0;c<o.length;++c){var u=C(o[c]);if(u){r=u.fileName,s=u.line;break}}0>a||0>s||!n||!r||n!==r||a>=s||(ee=function(e){if(R.test(e))return!0;var t=C(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function I(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ne(this,I),t>32&&this.uncycle()}var P,F,M,z=t._getDomain,B=t._async,N=e(\"./errors\").Warning,D=e(\"./util\"),q=D.canAttachTrace,R=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,L=null,$=null,U=!1,H=!(0==D.env(\"BLUEBIRD_DEBUG\")||!D.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==D.env(\"NODE_ENV\")),V=!(0==D.env(\"BLUEBIRD_WARNINGS\")||!H&&!D.env(\"BLUEBIRD_WARNINGS\")),W=!(0==D.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!H&&!D.env(\"BLUEBIRD_LONG_STACK_TRACES\")),Y=0!=D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(V||!!D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){S(\"rejectionHandled\",P,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),S(\"unhandledRejection\",F,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return g(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=z();F=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=z();P=\"function\"==typeof e?null===t?e:t.bind(e):void 0};var K=function(){};t.longStackTraces=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!re.longStackTraces&&A()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;re.longStackTraces=!0,K=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),B.enableTrampoline(),re.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=h,n.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return re.longStackTraces&&A()};var G=function(){try{var e=document.createEvent(\"CustomEvent\");return e.initCustomEvent(\"testingtheevent\",!1,!0,{}),D.global.dispatchEvent(e),function(e,t){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!D.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),J=function(){return D.isNode?function(){return process.emit.apply(process,arguments)}:D.global?function(e){var t=\"on\"+e.toLowerCase(),n=D.global[t];return n?(n.apply(D.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:r},Q=function(e){var t=!1;try{t=J.apply(null,arguments)}catch(n){B.throwLater(n),t=!0}var r=!1;try{r=G(e,Z[e].apply(null,arguments))}catch(n){B.throwLater(n),r=!0}return r||t};t.config=function(e){if(e=Object(e),\"longStackTraces\"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&K()),\"warnings\"in e){var n=e.warnings;re.warnings=!!n,Y=re.warnings,D.isObject(n)&&\"wForgottenReturn\"in n&&(Y=!!n.wForgottenReturn)}if(\"cancellation\"in e&&e.cancellation&&!re.cancellation){if(B.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");t.prototype._clearCancellationData=u,t.prototype._propagateFrom=p,t.prototype._onCancel=s,t.prototype._setOnCancel=c,t.prototype._attachCancellationCallback=a,t.prototype._execute=o,X=p,re.cancellation=!0}\"monitoring\"in e&&(e.monitoring&&!re.monitoring?(re.monitoring=!0,t.prototype._fireEvent=Q):!e.monitoring&&re.monitoring&&(re.monitoring=!1,t.prototype._fireEvent=i))},t.prototype._fireEvent=i,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(r){return r}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var X=l,ee=function(){return!1},te=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;D.inherits(I,Error),n.CapturedTrace=I,I.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},I.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=k(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(w(i.stack.split(\"\\n\"))),i=i._parent;x(r),b(r),D.notEnumerableProp(e,\"stack\",y(n,r)),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}};var ne=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():E(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,L=e,$=t;var n=Error.captureStackTrace;return ee=function(e){return R.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return L=/@/,$=t,U=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?($=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?E(t):t.toString()},null):(L=e,$=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(M=function(e){console.warn(e)},D.isNode&&process.stderr.isTTY?M=function(e,t){var n=t?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+e+\"\u001b[0m\\n\")}:D.isNode||\"string\"!=typeof(new Error).stack||(M=function(e,t){console.warn(\"%c\"+e,t?\"color: darkorange\":\"color: red\")}));var re={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return W&&t.longStackTraces(),{longStackTraces:function(){return re.longStackTraces},warnings:function(){return re.warnings},cancellation:function(){return re.cancellation},monitoring:function(){return re.monitoring},propagateFromFunction:function(){return X},boundValueFunction:function(){return f},checkForgottenReturns:m,setBounds:T,warn:g,deprecated:v,CapturedTrace:I,fireDomEvent:G,fireGlobalEvent:J}}},{\"./errors\":26,\"./util\":50}],24:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],25:[function(e,t,n){\"use strict\";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return this.mapSeries(e)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,t){return r(e,t)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],26:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5\"),c=s.freeze,u=e(\"./util\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),s.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:x,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5\":27,\"./util\":50}],27:[function(e,t,n){var r=function(){\"use strict\";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,n){\nreturn e[t]=n.value,e},p=function(e){return e},l=function(e){try{return Object(e).constructor.prototype}catch(t){return a}},f=function(e){try{return\"[object Array]\"===o.call(e)}catch(t){return!1}};t.exports={isArray:f,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:p,getPrototypeOf:l,isES5:r,propertyIsWritable:function(){return!0}}}},{}],28:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],29:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function i(e){this.finallyHandler=e}function o(e,t){return null!=e.cancelPromise?(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0):!1}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){return o(this,e)?void 0:(l.e=e,l)}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f.isCancelled()){var d=new p(\"late cancellation observer\");return r._attachExtraTrace(d),l.e=d,l}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),l.e=e,l):(o(this),e)}var u=e(\"./util\"),p=t.CancellationError,l=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return\"function\"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{\"./util\":50}],30:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=d(n[o])(e);if(r._popContext(),a===f){r._pushContext();var s=t.reject(f.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function c(e,n,i,o){if(a.cancellation()){var s=new t(r),c=this._finallyPromise=new t(r);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else{var u=this._promise=new t(r);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}var u=e(\"./errors\"),p=u.TypeError,l=e(\"./util\"),f=l.errorObj,d=l.tryCatch,h=[];l.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),e=d(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new t.CancellationError(\"generator .return() sentinel\");t.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),e=d(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},c.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=d(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=d(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(e){var n=this._promise;if(e===f)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof t)&&(o=s(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new p(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",r)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var a=o._bitField;0===(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&a)?this._promiseFulfilled(o._value()):0!==(16777216&a)?this._promiseRejected(o._reason()):this._promiseCancelled()},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new p(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(t).yieldHandler,r=c,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new p(\"expecting a function but got \"+l.classString(e));h.push(e)},t.spawn=function(e){if(a.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors\":26,\"./util\":50}],31:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){return new Function(\"promise\",\"holder\",\"                           \\n            'use strict';                                                    \\n            holder.pIndex = promise;                                         \\n            \".replace(/Index/g,e))},f=function(e){for(var n=new Array(e),r=0;r<n.length;++r)n[r]=\"this.p\"+(r+1);var i=n.join(\" = \")+\" = null;\",o=\"var promise;\\n\"+n.map(function(e){return\"                                                         \\n                promise = \"+e+\";                                      \\n                if (promise instanceof Promise) {                            \\n                    promise.cancel();                                        \\n                }                                                            \\n            \"}).join(\"\\n\"),a=n.join(\", \"),s=\"Holder$\"+e,p=\"return function(tryCatch, errorObj, Promise) {           \\n            'use strict';                                                    \\n            function [TheName](fn) {                                         \\n                [TheProperties]                                              \\n                this.fn = fn;                                                \\n                this.now = 0;                                                \\n            }                                                                \\n            [TheName].prototype.checkFulfillment = function(promise) {       \\n                var now = ++this.now;                                        \\n                if (now === [TheTotal]) {                                    \\n                    promise._pushContext();                                  \\n                    var callback = this.fn;                                  \\n                    var ret = tryCatch(callback)([ThePassedArguments]);      \\n                    promise._popContext();                                   \\n                    if (ret === errorObj) {                                  \\n                        promise._rejectCallback(ret.e, false);               \\n                    } else {                                                 \\n                        promise._resolveCallback(ret);                       \\n                    }                                                        \\n                }                                                            \\n            };                                                               \\n                                                                             \\n            [TheName].prototype._resultCancelled = function() {              \\n                [CancellationCode]                                           \\n            };                                                               \\n                                                                             \\n            return [TheName];                                                \\n        }(tryCatch, errorObj, Promise);                                      \\n        \";return p=p.replace(/\\[TheName\\]/g,s).replace(/\\[TheTotal\\]/g,e).replace(/\\[ThePassedArguments\\]/g,a).replace(/\\[TheProperties\\]/g,i).replace(/\\[CancellationCode\\]/g,o),new Function(\"tryCatch\",\"errorObj\",\"Promise\",p)(c,u,t)},d=[],h=[],m=[],v=0;8>v;++v)d.push(f(v+1)),h.push(p(v+1)),m.push(l(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],8>=a&&s)){var c=new t(i);c._captureStackTrace();for(var u=d[a-1],p=new u(e),l=h,f=0;a>f;++f){var v=r(arguments[f],c);if(v instanceof t){v=v._target();var g=v._bitField;0===(50397184&g)?(v._then(l[f],o,void 0,c,p),m[f](v,p)):0!==(33554432&g)?l[f].call(c,v._value(),p):0!==(16777216&g)?c._reject(v._reason()):c._cancel()}else l[f].call(c,v,p)}return c._isFateSealed()||(c._setAsyncGuaranteed(),c._setOnCancel(p)),c}for(var y=arguments.length,b=new Array(y),x=0;y>x;++x)b[x]=arguments[x];e&&b.pop();var c=new n(b).promise();return void 0!==e?c.spread(e):c}}},{\"./util\":50}],32:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:d,this._init$(void 0,-2)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+p.classString(t));var o=\"object\"==typeof n&&null!==n?n.concurrency:0;return o=\"number\"==typeof o&&isFinite(o)&&o>=1?o:0,new s(e,t,o,i).promise()}var u=t._getDomain,p=e(\"./util\"),l=p.tryCatch,f=p.errorObj,d=[];p.inherits(s,n),s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,p=this._callback,d=u._boundValue();u._pushContext();var h=l(p).call(d,e,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?\"Promise.filter\":\"Promise.map\",u),h===f)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){v=v._target();var g=v._bitField;if(0===(50397184&g))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&g))return 0!==(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}var y=++this._totalResolved;return y>=o?(null!==s?this._filter(r,s):this._resolve(r),!0):!1},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},s.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},s.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return c(this,e,t,null)},t.map=function(e,t,n,r){return c(e,t,n,r)}}},{\"./util\":50}],33:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){var a=e(\"./util\"),s=a.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"expecting a function but got \"+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e){if(\"function\"!=typeof e)return i(\"expecting a function but got \"+a.classString(e));var r=new t(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var u=arguments[1],p=arguments[2];c=a.isArray(u)?s(e).apply(p,u):s(e).call(p,u)}else c=s(e)();var l=r._popContext();return o.checkForgottenReturns(c,l,\"Promise.try\",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{\"./util\":50}],34:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&p.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=p.keys(e),i=0;i<n.length;++i){var o=n[i];l.test(o)||(t[o]=e[o])}return t}return a.markAsOriginatingFromRejection(e),e}function o(e,t){return function(n,r){if(null!==e){if(n){var o=i(s(n));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var a=arguments.length,c=new Array(Math.max(a-1,0)),u=1;a>u;++u)c[u-1]=arguments[u];e._fulfill(c)}else e._fulfill(r);e=null}}}var a=e(\"./util\"),s=a.maybeWrapAsError,c=e(\"./errors\"),u=c.OperationalError,p=e(\"./es5\"),l=/^(?:name|message|stack|cause)$/;t.exports=o},{\"./errors\":26,\"./es5\":27,\"./util\":50}],35:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+\"\");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===c&&a.throwLater(i.e)}var o=e(\"./util\"),a=t._async,s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./util\":50}],36:[function(e,t,n){\"use strict\";t.exports=function(){function t(){}function n(e,t){if(\"function\"!=typeof t)throw new g(\"expecting a function but got \"+f.classString(t));if(e.constructor!==r)throw new g(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\")}function r(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==b&&(n(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function i(e){this.promise._resolveCallback(e)}function o(e){this.promise._rejectCallback(e,!1)}function a(e){var t=new r(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var s,c=function(){return new g(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new r.PromiseInspection(this._target())},p=function(e){return r.reject(new g(e))},l={},f=e(\"./util\");s=f.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},f.notEnumerableProp(r,\"_getDomain\",s);var d=e(\"./es5\"),h=e(\"./async\"),m=new h;d.defineProperty(r,\"_async\",{value:m});var v=e(\"./errors\"),g=r.TypeError=v.TypeError;r.RangeError=v.RangeError;var y=r.CancellationError=v.CancellationError;r.TimeoutError=v.TimeoutError,r.OperationalError=v.OperationalError,r.RejectionError=v.OperationalError,r.AggregateError=v.AggregateError;var b=function(){},x={},w={},_=e(\"./thenables\")(r,b),k=e(\"./promise_array\")(r,b,_,p,t),j=e(\"./context\")(r),S=j.create,E=e(\"./debuggability\")(r,j),O=(E.CapturedTrace,e(\"./finally\")(r,_)),A=e(\"./catch_filter\")(w),C=e(\"./nodeback\"),T=f.errorObj,I=f.tryCatch;return r.prototype.toString=function(){return\"[object Promise]\"},r.prototype.caught=r.prototype[\"catch\"]=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;t-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"expecting an object but got \"+f.classString(o));r[i++]=o}return r.length=i,e=arguments[n],this.then(void 0,A(r,e,this))}return this.then(void 0,e)},r.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},r.prototype.then=function(e,t){if(E.warnings()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var n=\".then() only accepts functions but was passed: \"+f.classString(e);arguments.length>1&&(n+=\", \"+f.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},r.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},r.prototype.spread=function(e){return\"function\"!=typeof e?p(\"expecting a function but got \"+f.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},r.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},r.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new k(this).promise()},r.prototype.error=function(e){return this.caught(f.originatesFromRejection,e)},r.is=function(e){return e instanceof r},r.fromNode=r.fromCallback=function(e){var t=new r(b);t._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,i=I(e)(C(t,n));return i===T&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},r.all=function(e){return new k(e).promise()},r.cast=function(e){var t=_(e);return t instanceof r||(t=new r(b),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},r.resolve=r.fulfilled=r.cast,r.reject=r.rejected=function(e){var t=new r(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},r.setScheduler=function(e){if(\"function\"!=typeof e)throw new g(\"expecting a function but got \"+f.classString(e));return m.setScheduler(e)},r.prototype._then=function(e,t,n,i,o){var a=void 0!==o,c=a?o:new r(b),u=this._target(),p=u._bitField;a||(c._propagateFrom(this,3),c._captureStackTrace(),void 0===i&&0!==(2097152&this._bitField)&&(i=0!==(50397184&p)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,c));var l=s();if(0!==(50397184&p)){var f,d,h=u._settlePromiseCtx;0!==(33554432&p)?(d=u._rejectionHandler0,f=e):0!==(16777216&p)?(d=u._fulfillmentHandler0,f=t,u._unsetRejectionIsUnhandled()):(h=u._settlePromiseLateCancellationObserver,d=new y(\"late cancellation observer\"),u._attachExtraTrace(d),f=t),m.invoke(h,u,{handler:null===l?f:\"function\"==typeof f&&l.bind(f),promise:c,receiver:i,value:d})}else u._addCallbacks(e,t,c,i,l);return c},r.prototype._length=function(){return 65535&this._bitField},r.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},r.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},r.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},r.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},r.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},r.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},r.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},r.prototype._isFinal=function(){return(4194304&this._bitField)>0},r.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},r.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},r.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},r.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},r.prototype._promiseAt=function(e){return this[4*e-4+2]},r.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},r.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},r.prototype._boundValue=function(){},r.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=l),this._addCallbacks(t,n,r,i,null)},r.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=l),this._addCallbacks(n,r,i,o,null)},r.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof e&&(this._fulfillmentHandler0=null===i?e:i.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,\"function\"==typeof e&&(this[a+0]=null===i?e:i.bind(e)),\"function\"==typeof t&&(this[a+1]=null===i?t:i.bind(t))}return this._setLength(o+1),o},r.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},r.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=_(e,this);if(!(n instanceof r))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i===this)return void this._reject(c());var o=i._bitField;if(0===(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;a>s;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if(0!==(33554432&o))this._fulfill(i._value());else if(0!==(16777216&o))this._reject(i._reason());else{var u=new y(\"late cancellation observer\");i._attachExtraTrace(u),this._reject(u)}}},r.prototype._rejectCallback=function(e,t,n){var r=f.ensureErrorObject(e),i=r===e;if(!i&&!n&&E.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,t?i:!1),this._reject(e)},r.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,n)});n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)},r.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;t===x?n&&\"number\"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=T,o.e=new g(\"cannot .spread() a non-array: \"+f.classString(n))):o=I(e).call(t,n);var a=r._popContext();i=r._bitField,0===(65536&i)&&(o===w?r._reject(n):o===T?r._rejectCallback(o.e,!1):(E.checkForgottenReturns(o,a,\"\",r,this),r._resolveCallback(o)))}},r.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},r.prototype._followee=function(){return this._rejectionHandler0},r.prototype._setFollowee=function(e){this._rejectionHandler0=e},r.prototype._settlePromise=function(e,n,i,o){var a=e instanceof r,s=this._bitField,c=0!==(134217728&s);0!==(65536&s)?(a&&e._invokeInternalOnCancel(),i instanceof O&&i.isFinallyHandler()?(i.cancelPromise=e,I(n).call(i,o)===T&&e._reject(T.e)):n===u?e._fulfill(u.call(i)):i instanceof t?i._promiseCancelled(e):a||e instanceof k?e._cancel():i.cancel()):\"function\"==typeof n?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(n,i,o,e)):n.call(i,o,e):i instanceof t?i._isResolved()||(0!==(33554432&s)?i._promiseFulfilled(o,e):i._promiseRejected(o,e)):a&&(c&&e._setAsyncGuaranteed(),0!==(33554432&s)?e._fulfill(o):e._reject(o))},r.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,o=e.value;\"function\"==typeof t?n instanceof r?this._settlePromiseFromHandler(t,i,o,n):t.call(i,o,n):n instanceof r&&n._reject(o)},r.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},r.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},r.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},r.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():m.settlePromises(this))}},r.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?m.fatalError(e,f.isNode):void((65535&t)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},r.prototype._fulfillPromises=function(e,t){for(var n=1;e>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._rejectPromises=function(e,t){for(var n=1;e>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},r.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},r.defer=r.pending=function(){E.deprecated(\"Promise.defer\",\"new Promise\");var e=new r(b);return{promise:e,resolve:i,reject:o}},f.notEnumerableProp(r,\"_makeSelfResolutionError\",c),e(\"./method\")(r,b,_,p,E),e(\"./bind\")(r,b,_,E),e(\"./cancel\")(r,k,p,E),e(\"./direct_resolve\")(r),e(\"./synchronous_inspection\")(r),e(\"./join\")(r,k,_,b,E),r.Promise=r,e(\"./map.js\")(r,k,p,_,b,E),e(\"./call_get.js\")(r),e(\"./using.js\")(r,p,_,S,b,E),e(\"./timers.js\")(r,b,E),e(\"./generators.js\")(r,p,b,_,t,E),e(\"./nodeify.js\")(r),e(\"./promisify.js\")(r,b),e(\"./props.js\")(r,k,_,p),e(\"./race.js\")(r,b,_,p),e(\"./reduce.js\")(r,k,p,_,b,E),e(\"./settle.js\")(r,k,E),e(\"./some.js\")(r,k,p),e(\"./filter.js\")(r,b),e(\"./each.js\")(r,b),e(\"./any.js\")(r),f.toFastProperties(r),f.toFastProperties(r.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new r(b)),E.setBounds(h.firstLineError,f.lastLineError),r}},{\"./any.js\":15,\"./async\":16,\"./bind\":17,\"./call_get.js\":19,\"./cancel\":20,\"./catch_filter\":21,\"./context\":22,\"./debuggability\":23,\"./direct_resolve\":24,\"./each.js\":25,\"./errors\":26,\"./es5\":27,\"./filter.js\":28,\"./finally\":29,\"./generators.js\":30,\"./join\":31,\"./map.js\":32,\"./method\":33,\"./nodeback\":34,\"./nodeify.js\":35,\"./promise_array\":37,\"./promisify.js\":38,\"./props.js\":39,\"./race.js\":41,\"./reduce.js\":42,\"./settle.js\":44,\"./some.js\":45,\"./synchronous_inspection\":46,\"./thenables\":47,\"./timers.js\":48,\"./using.js\":49,\"./util\":50}],37:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e(\"./util\");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function u(e,n){var o=r(this._values,this._promise);if(o instanceof t){o=o._target();var s=o._bitField;if(this._values=o,0===(50397184&s))return this._promise._setAsyncGuaranteed(),o._then(u,this._reject,void 0,this,n);if(0===(33554432&s))return 0!==(16777216&s)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var p=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(p,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(a(n))):void this._iterate(o)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;n>s;++s){var c=r(e[s],i);c instanceof t?(c=c._target(),a=c._bitField):a=null,o?null!==a&&c.suppressUnhandledRejections():null!==a?0===(50397184&a)?(c._proxy(this,s),this._values[s]=c):o=0!==(33554432&a)?this._promiseFulfilled(c._value(),s):0!==(16777216&a)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(c,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise.isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{\"./util\":50}],38:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o,a,s){function c(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof p&&this!==u?this[p]:e,c=h(o,s);try{a.apply(i,m(arguments,c))}catch(l){o._rejectCallback(v(l),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),p=e;return\"string\"==typeof p&&(e=o),d.notEnumerableProp(c,\"__isPromisified__\",!0),c}function u(e,t,n,r,i){for(var o=new RegExp(j(t)+\"$\"),a=s(e,t,o,n),c=0,u=a.length;u>c;c+=2){var p=a[c],l=a[c+1],h=p+t;if(r===C)e[h]=C(p,f,p,l,t,i);else{var m=r(l,function(){return C(p,f,p,l,t,i)});d.notEnumerableProp(m,\"__isPromisified__\",!0),e[h]=m}}return d.toFastProperties(e),e}function p(e,t,n){return C(e,t,void 0,e,null,n);\n}var l,f={},d=e(\"./util\"),h=e(\"./nodeback\"),m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o,a,s){function c(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=g?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function u(){for(var e=\"\",t=0;t<l.length;++t)e+=\"case \"+l[t]+\":\"+c(l[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",g?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var p=Math.max(0,A(o)-1),l=S(p),g=\"string\"==typeof e||r===f,y=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\",b=\"'use strict';                                                \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise, \"+s+\");   \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n    \".replace(\"[CodeForSwitchCase]\",u()).replace(\"[GetFunctionCode]\",y);return b=b.replace(\"Parameters\",O(p)),new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",b)(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"expecting a function but got \"+d.classString(e));if(i(e))return e;t=Object(t);var n=void 0===t.context?f:t.context,o=!!t.multiArgs,a=p(e,n,o);return d.copyDescriptors(e,a,r),a},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");t=Object(t);var n=!!t.multiArgs,r=t.suffix;\"string\"!=typeof r&&(r=b);var i=t.filter;\"function\"!=typeof i&&(i=k);var o=t.promisifier;if(\"function\"!=typeof o&&(o=C),!d.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var a=d.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];\"constructor\"!==a[s]&&d.isClass(c)&&(u(c.prototype,r,i,o,n),u(c,r,i,o,n))}return u(e,r,i,o,n)}}},{\"./errors\":26,\"./nodeback\":34,\"./util\":50}],39:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){var t,n=!1;if(void 0!==s&&e instanceof s)t=l(e),n=!0;else{var r=p.keys(e),i=r.length;t=new Array(2*i);for(var o=0;i>o;++o){var a=r[o];t[o]=e[a],t[o+i]=a}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function a(e){var n,a=r(e);return u(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var s,c=e(\"./util\"),u=c.isObject,p=e(\"./es5\");\"function\"==typeof Map&&(s=Map);var l=function(){function e(e,r){this[t]=e,this[t+n]=r,t++}var t=0,n=0;return function(r){n=r.size,t=0;var i=new Array(2*r.size);return r.forEach(e,i),i}}(),f=function(e){for(var t=new s,n=e.length/2|0,r=0;n>r;++r){var i=e[n+r],o=e[r];t.set(i,o)}return t};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5\":27,\"./util\":50}],40:[function(e,t,n){\"use strict\";function r(e,t,n,r,i){for(var o=0;i>o;++o)n[o+r]=e[o+t],e[o+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=this._front,r=(n-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,i=this._length,o=n+i&t-1;r(this,0,this,t,o)},t.exports=i},{}],41:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(e=a.asArray(e),null===e)return i(\"expecting an array or an iterable object but got \"+a.classString(e));var u=new t(n);void 0!==o&&u._propagateFrom(o,3);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util\"),s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util\":50}],42:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r,i){this.constructor$(e);var a=f();this._fn=null===a?n:a.bind(n),void 0!==r&&(r=t.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?[]:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+d.classString(t));var o=new s(e,t,n,i);return o.promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(l,void 0,void 0,this,void 0)):l.call(this,n)}function l(e){var n=this.array,r=n._promise,i=h(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),e,this.index,this.length):i.call(r._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(n._currentCancellable=o);var s=r._popContext();return a.checkForgottenReturns(o,s,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var f=t._getDomain,d=e(\"./util\"),h=d.tryCatch;d.inherits(s,n),s.prototype._gotAccum=function(e){void 0!==this._eachValues&&e!==o&&this._eachValues.push(e)},s.prototype._eachComplete=function(e){return this._eachValues.push(e),this._eachValues},s.prototype._init=function(){},s.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},s.prototype.shouldCopyValues=function(){return!1},s.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},s.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},s.prototype._iterate=function(e){this._values=e;var n,r,i=e.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,r){return u(e,t,n,r)}}},{\"./util\":50}],43:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},a=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var s=n.setImmediate,c=process.nextTick;r=i.isRecentNode?function(e){s.call(n,e)}:function(e){c.call(process,e)}}else if(\"function\"==typeof a){var u=a.resolve();r=function(e){u.then(e)}}else r=\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:function(){var e=document.createElement(\"div\"),t={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){e.classList.toggle(\"foo\"),n=!1});i.observe(r,t);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(e,t),o()}}();t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":50}],44:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e)}var o=t.PromiseInspection,a=e(\"./util\");a.inherits(i,n),i.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(\".settle()\",\".reflect()\"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{\"./util\":50}],45:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util\"),s=e(\"./errors\").RangeError,c=e(\"./errors\").AggregateError,u=a.isArray,p={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(p),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t<this._values.length;++t)this._values[t]!==p&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors\":26,\"./util\":50}],46:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=e.prototype._isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype.isCancelled=function(){return this._target()._isCancelled()},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],47:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(p(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(t){return u.e=t,u}}function a(e){return l.call(e,\"_promise0\")}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,l,!0),s=null)}var s=new t(n),p=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var l=!0,f=c.tryCatch(r).call(e,o,a);return l=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),p}var c=e(\"./util\"),u=c.errorObj,p=c.isObject,l={}.hasOwnProperty;return r}},{\"./util\":50}],48:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e(\"./util\"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return p(+this).thenReturn(e)},p=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s))),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return p(e,this)};var l=function(e,t,n){var r;r=\"string\"!=typeof t?t instanceof Error?t:new c(\"operation timed out\"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&l(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{\"./util\":50}],49:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return p._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(l){return s(l)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,p=new t(o);return i(),p}function p(e,t,n){this._data=e,this._promise=t,this._context=n}function l(e,t,n){this.constructor$(e,t,n)}function f(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function d(e){this.length=e,this.promise=null,this[e-1]=null}var h=e(\"./util\"),m=e(\"./errors\").TypeError,v=e(\"./util\").inherits,g=h.errorObj,y=h.tryCatch;p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},p.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},p.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},v(l,p),l.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},d.prototype._resultCancelled=function(){for(var e=this.length,n=0;e>n;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+h.classString(i));var o,s=!0;2===e&&Array.isArray(arguments[0])?(o=arguments[0],e=o.length,s=!1):(o=arguments,e--);for(var c=new d(e),l=0;e>l;++l){var m=o[l];if(p.isDisposer(m)){var v=m;m=m.promise(),m._setDisposable(v)}else{var b=r(m);b instanceof t&&(m=b._then(f,null,null,{resources:c,index:l},void 0))}c[l]=m}for(var x=new Array(c.length),l=0;l<x.length;++l)x[l]=t.resolve(c[l]).reflect();var w=t.all(x).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return g.e=n.error(),g;if(!n.isFulfilled())return void w.cancel();e[t]=n.value()}_._pushContext(),i=y(i);var r=s?i.apply(void 0,e):i(e),o=_._popContext();return a.checkForgottenReturns(r,o,\"Promise.using\",_),r}),_=w.lastly(function(){var e=new t.PromiseInspection(w);return u(c,e)});return c.promise=_,_._setOnCancel(c),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new l(e,this,i());throw new m}}},{\"./errors\":26,\"./util\":50}],50:[function(e,t,n){(function(n){\"use strict\";function r(){try{var e=A;return A=null,e.apply(this,arguments)}catch(t){return O.e=t,O}}function i(e){return A=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!S.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return S.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=S.names(e.prototype),n=S.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=P.test(e+\"\")&&S.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return F.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){return null!==e&&\"object\"==typeof e&&\"string\"==typeof e.message&&\"string\"==typeof e.name}function y(e){try{p(e,\"isOperational\",!0)}catch(t){}}function b(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function x(e){return g(e)&&S.propertyIsWritable(e,\"stack\")}function w(e){return{}.toString.call(e)}function _(e,t,n){for(var r=S.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{S.defineProperty(t,o,S.getDescriptor(e,o))}catch(a){}}}function k(e,t){return N?process.env[e]:t}function j(){if(\"function\"==typeof Promise)try{var e=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(e))return Promise}catch(t){}}var S=e(\"./es5\"),E=\"undefined\"==typeof navigator,O={e:{}},A,C=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof n?n:void 0!==this?this:null,T=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},I=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(S.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=S.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),P=/this\\s*\\.\\s*\\S+\\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,M=function(){return\"stack\"in new Error?function(e){return x(e)?e:new Error(v(e))}:function(e){if(x(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),z=function(e){return S.isArray(e)?e:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var B=\"function\"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};z=function(e){return S.isArray(e)?e:null!=e&&\"function\"==typeof e[Symbol.iterator]?B(e):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),D={isClass:f,isIdentifier:h,inheritedDataKeys:I,getDataPropertyOrDefault:u,thrower:l,isArray:S.isArray,asArray:z,notEnumerableProp:p,isPrimitive:o,isObject:a,isError:g,canEvaluate:E,errorObj:O,tryCatch:i,inherits:T,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:x,ensureErrorObject:M,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:w,copyDescriptors:_,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,env:k,global:C,getNativePromise:j};D.isRecentNode=D.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),D.isNode&&D.toFastProperties(process);try{throw new Error}catch(q){D.lastLineError=q}t.exports=D}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./es5\":27}],51:[function(e,t,n){var r=e(\"http\"),i=e(\"hoek\"),o={};n.wrap=function(e,t,n){return i.assert(e instanceof Error,\"Cannot wrap non-Error object\"),e.isBoom?e:o.initialize(e,t||500,n)},n.create=function(e,t,r){return o.create(e,t,r,n.create)},o.create=function(e,t,n,r){var i=new Error(t?t:void 0);return Error.captureStackTrace(i,r),i.data=n||null,o.initialize(i,e),i},o.initialize=function(e,t,n){var r=parseInt(t,10);return i.assert(!isNaN(r)&&r>=400,\"First argument must be a number (400+):\",t),e.isBoom=!0,e.isServer=r>=500,e.hasOwnProperty(\"data\")||(e.data=null),e.output={statusCode:r,payload:{},headers:{}},e.reformat=o.reformat,e.reformat(),n||e.message||(n=e.output.payload.error),n&&(e.message=n+(e.message?\": \"+e.message:\"\")),e},o.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=r.STATUS_CODES[this.output.statusCode]||\"Unknown\",500===this.output.statusCode?this.output.payload.message=\"An internal server error occurred\":this.message&&(this.output.payload.message=this.message)},n.badRequest=function(e,t){return o.create(400,e,t,n.badRequest)},n.unauthorized=function(e,t,r){var a=o.create(401,e,void 0,n.unauthorized);if(!t)return a;var s=\"\",c=0,u=0;if(\"string\"==typeof t){if(s=t,(r||e)&&(a.output.payload.attributes={}),r){var p=Object.keys(r);for(c=0,u=p.length;u>c;++c){var l=p[c];c&&(s+=\",\");var f=r[l];null!==f&&void 0!==f||(f=\"\"),s+=\" \"+l+'=\"'+i.escapeHeaderAttribute(f.toString())+'\"',a.output.payload.attributes[l]=f}}e?(r&&(s+=\",\"),s+=' error=\"'+i.escapeHeaderAttribute(e)+'\"',a.output.payload.attributes.error=e):a.isMissing=!0}else{var d=t;for(c=0,u=d.length;u>c;++c)c&&(s+=\", \"),s+=d[c]}return a.output.headers[\"WWW-Authenticate\"]=s,a},n.forbidden=function(e,t){return o.create(403,e,t,n.forbidden)},n.notFound=function(e,t){return o.create(404,e,t,n.notFound)},n.methodNotAllowed=function(e,t){return o.create(405,e,t,n.methodNotAllowed)},n.notAcceptable=function(e,t){return o.create(406,e,t,n.notAcceptable)},n.proxyAuthRequired=function(e,t){return o.create(407,e,t,n.proxyAuthRequired)},n.clientTimeout=function(e,t){return o.create(408,e,t,n.clientTimeout)},n.conflict=function(e,t){return o.create(409,e,t,n.conflict)},n.resourceGone=function(e,t){return o.create(410,e,t,n.resourceGone)},n.lengthRequired=function(e,t){return o.create(411,e,t,n.lengthRequired)},n.preconditionFailed=function(e,t){return o.create(412,e,t,n.preconditionFailed)},n.entityTooLarge=function(e,t){return o.create(413,e,t,n.entityTooLarge)},n.uriTooLong=function(e,t){return o.create(414,e,t,n.uriTooLong)},n.unsupportedMediaType=function(e,t){return o.create(415,e,t,n.unsupportedMediaType)},n.rangeNotSatisfiable=function(e,t){return o.create(416,e,t,n.rangeNotSatisfiable)},n.expectationFailed=function(e,t){return o.create(417,e,t,n.expectationFailed)},n.badData=function(e,t){return o.create(422,e,t,n.badData)},n.preconditionRequired=function(e,t){return o.create(428,e,t,n.preconditionRequired)},n.tooManyRequests=function(e,t){return o.create(429,e,t,n.tooManyRequests)},n.internal=function(e,t,r){return o.serverError(e,t,r,n.internal)},o.serverError=function(e,t,r,i){var a;return t instanceof Error?a=n.wrap(t,r,e):(a=o.create(r||500,e,void 0,i),a.data=t),a},n.notImplemented=function(e,t){return o.serverError(e,t,501,n.notImplemented)},n.badGateway=function(e,t){return o.serverError(e,t,502,n.badGateway)},n.serverTimeout=function(e,t){return o.serverError(e,t,503,n.serverTimeout)},n.gatewayTimeout=function(e,t){return o.serverError(e,t,504,n.gatewayTimeout)},n.badImplementation=function(e,t){var r=o.serverError(e,t,500,n.badImplementation);return r.isDeveloperError=!0,r}},{hoek:149,http:void 0}],52:[function(e,t,n){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);if(this._bsontype=\"Binary\",e instanceof Number?(this.sub_type=e,this.position=0):(this.sub_type=null==t?o:t,this.position=0),null==e||e instanceof Number)\"undefined\"!=typeof i?this.buffer=new i(r.BUFFER_SIZE):\"undefined\"!=typeof Uint8Array?this.buffer=new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE)):this.buffer=new Array(r.BUFFER_SIZE),this.position=0;else{if(\"string\"==typeof e)if(\"undefined\"!=typeof i)this.buffer=new i(e);else{if(\"undefined\"==typeof Uint8Array&&\"[object Array]\"!=Object.prototype.toString.call(e))throw new Error(\"only String, Buffer, Uint8Array or Array accepted\");this.buffer=a(e)}else this.buffer=e;this.position=e.length}}if(\"undefined\"!=typeof n)var i=e(\"buffer\").Buffer;r.prototype.put=function(e){if(null!=e.length&&\"number\"!=typeof e&&1!=e.length)throw new Error(\"only accepts single character String, Uint8Array or Array\");if(\"number\"!=typeof e&&0>e||e>255)throw new Error(\"only accepts number in a valid unsigned byte range 0-255\");var t=null;if(t=\"string\"==typeof e?e.charCodeAt(0):null!=e.length?e[0]:e,this.buffer.length>this.position)this.buffer[this.position++]=t;else if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer)){var n=new i(r.BUFFER_SIZE+this.buffer.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n,this.buffer[this.position++]=t}else{var n=null;n=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE+this.buffer.length)):new Array(r.BUFFER_SIZE+this.buffer.length);for(var o=0;o<this.buffer.length;o++)n[o]=this.buffer[o];this.buffer=n,this.buffer[this.position++]=t}},r.prototype.write=function(e,t){if(t=\"number\"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=null;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))n=new i(this.buffer.length+e.length),this.buffer.copy(n,0,0,this.buffer.length);else if(\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)){\nn=new Uint8Array(new ArrayBuffer(this.buffer.length+e.length));for(var r=0;r<this.position;r++)n[r]=this.buffer[r]}this.buffer=n}if(\"undefined\"!=typeof i&&i.isBuffer(e)&&i.isBuffer(this.buffer))e.copy(this.buffer,t,0,e.length),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"undefined\"!=typeof i&&\"string\"==typeof e&&i.isBuffer(this.buffer))this.buffer.write(e,t,\"binary\"),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"[object Uint8Array]\"==Object.prototype.toString.call(e)||\"[object Array]\"==Object.prototype.toString.call(e)&&\"string\"!=typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e[r];this.position=t>this.position?t:this.position}else if(\"string\"==typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e.charCodeAt(r);this.position=t>this.position?t:this.position}},r.prototype.read=function(e,t){if(t=t&&t>0?t:this.position,this.buffer.slice)return this.buffer.slice(e,e+t);for(var n=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(t)):new Array(t),r=0;t>r;r++)n[r]=this.buffer[e++];return n},r.prototype.value=function(e){if(e=null==e?!1:e,e&&\"undefined\"!=typeof i&&i.isBuffer(this.buffer)&&this.buffer.length==this.position)return this.buffer;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))return e?this.buffer.slice(0,this.position):this.buffer.toString(\"binary\",0,this.position);if(e){if(null!=this.buffer.slice)return this.buffer.slice(0,this.position);for(var t=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(this.position)):new Array(this.position),n=0;n<this.position;n++)t[n]=this.buffer[n];return t}return s(this.buffer,0,this.position)},r.prototype.length=function(){return this.position},r.prototype.toJSON=function(){return null!=this.buffer?this.buffer.toString(\"base64\"):\"\"},r.prototype.toString=function(e){return null!=this.buffer?this.buffer.slice(0,this.position).toString(e):\"\"};var o=0,a=function(e){for(var t=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(e.length)):new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},s=function(e,t,n){for(var r=\"\",i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r};r.BUFFER_SIZE=256,r.SUBTYPE_DEFAULT=0,r.SUBTYPE_FUNCTION=1,r.SUBTYPE_BYTE_ARRAY=2,r.SUBTYPE_UUID_OLD=3,r.SUBTYPE_UUID=4,r.SUBTYPE_MD5=5,r.SUBTYPE_USER_DEFINED=128,t.exports=r,t.exports.Binary=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{buffer:void 0}],53:[function(e,t,n){function i(e,t){return this instanceof i?(this.bigEndian=e,void(this.allowExceptions=t)):new i(e,t)}function o(e,t){this.bigEndian=e||0,this.buffer=[],this.setBuffer(t)}for(var a=String.fromCharCode,s=[],c=0;64>c;c++)s[c]=Math.pow(2,c);i.warn=function(e){if(this.allowExceptions)throw new Error(e);return 1},i.decodeFloat=function(e,t,n){var r=new this.Buffer(this.bigEndian,e);r.checkBuffer(t+n+1);var i=s[n-1]-1,o=r.readBits(t+n,1),a=r.readBits(t,n),c=0,u=2,p=r.buffer.length+(-t>>3)-1;do for(var l=r.buffer[++p],f=t%8||8,d=1<<f;d>>=1;l&d&&(c+=1/u),u*=2);while(t-=f);return a==(i<<1)+1?c?NaN:o?-(1/0):+(1/0):(1+-2*o)*(a||c?a?Math.pow(2,a-i)*(1+c):Math.pow(2,-i+1)*c:0)},i.decodeInt=function(e,t,n,r){var i=new this.Buffer(this.bigEndian||r,e),o=i.readBits(0,t),a=s[t];return n&&o>=a/2?o-a:o},i.encodeFloat=function(e,t,n){var i,o,a,c,u,p=s[n-1]-1,l=-p+1,f=p,d=l-t,h=parseFloat(e),m=isNaN(h)||h==-(1/0)||h==+(1/0)?h:0,v=0,g=2*p+1+t+3,y=new Array(g),b=(h=0!==m?0:h)<0,x=Math.floor(h=Math.abs(h)),w=h-x;for(c=g;c;y[--c]=0);for(c=p+2;x&&c;y[--c]=x%2,x=Math.floor(x/2));for(c=p+1;w>0&&c;(y[++c]=((w*=2)>=1)-0)&&--w);for(c=-1;++c<g&&!y[c];);if(y[(i=t-1+(c=(v=p+1-c)>=l&&f>=v?c+1:p+1-(v=l-1)))+1]){if(!(o=y[i]))for(u=i+2;!o&&g>u;o=y[u++]);for(u=i+1;o&&--u>=0;(y[u]=!y[u]-0)&&(o=0));}for(c=0>c-2?-1:c-3;++c<g&&!y[c];);for((v=p+1-c)>=l&&f>=v?++c:l>v&&(v!=p+1-g&&d>v&&this.warn(\"encodeFloat::float underflow\"),c=p+1-(v=l-1)),(x||0!==m)&&(this.warn(x?\"encodeFloat::float overflow\":\"encodeFloat::\"+m),v=f+1,c=p+2,m==-(1/0)?b=1:isNaN(m)&&(y[c]=1)),h=Math.abs(v+p),u=n+1,a=\"\";--u;a=h%2+a,h=h>>=1);for(h=0,u=0,c=(a=(b?\"1\":\"0\")+a+y.slice(c,c+t).join(\"\")).length,r=[];c;u=(u+1)%8)h+=(1<<u)*a.charAt(--c),7==u&&(r[r.length]=String.fromCharCode(h),h=0);return r[r.length]=h?String.fromCharCode(h):\"\",(this.bigEndian?r.reverse():r).join(\"\")},i.encodeInt=function(e,t,n,r){var i=s[t];(e>=i||-(i/2)>e)&&(this.warn(\"encodeInt::overflow\"),e=0),0>e&&(e+=i);for(var o=[];e;o[o.length]=String.fromCharCode(e%256),e=Math.floor(e/256));for(t=-(-t>>3)-o.length;t--;o[o.length]=\"\\x00\");return(this.bigEndian||r?o.reverse():o).join(\"\")},i.toSmall=function(e){return this.decodeInt(e,8,!0)},i.fromSmall=function(e){return this.encodeInt(e,8,!0)},i.toByte=function(e){return this.decodeInt(e,8,!1)},i.fromByte=function(e){return this.encodeInt(e,8,!1)},i.toShort=function(e){return this.decodeInt(e,16,!0)},i.fromShort=function(e){return this.encodeInt(e,16,!0)},i.toWord=function(e){return this.decodeInt(e,16,!1)},i.fromWord=function(e){return this.encodeInt(e,16,!1)},i.toInt=function(e){return this.decodeInt(e,32,!0)},i.fromInt=function(e){return this.encodeInt(e,32,!0)},i.toLong=function(e){return this.decodeInt(e,64,!0)},i.fromLong=function(e){return this.encodeInt(e,64,!0)},i.toDWord=function(e){return this.decodeInt(e,32,!1)},i.fromDWord=function(e){return this.encodeInt(e,32,!1)},i.toQWord=function(e){return this.decodeInt(e,64,!0)},i.fromQWord=function(e){return this.encodeInt(e,64,!0)},i.toFloat=function(e){return this.decodeFloat(e,23,8)},i.fromFloat=function(e){return this.encodeFloat(e,23,8)},i.toDouble=function(e){return this.decodeFloat(e,52,11)},i.fromDouble=function(e){return this.encodeFloat(e,52,11)},i.encode_int32=function(e,t){var n,r,i,o,s;return s=0>e?e+4294967296:e,n=Math.floor(s/16777215),s&=16777215,r=Math.floor(s/65535),s&=65535,i=Math.floor(s/255),s&=255,o=Math.floor(s),t?[a(n),a(r),a(i),a(o)]:a(n)+a(r)+a(i)+a(o)},i.encode_int64=function(e){var t,n,r,i,o,s,c,u,p;return p=0>e?e+0x10000000000000000:e,t=Math.floor(p/72057594037927940),p&=72057594037927940,n=Math.floor(p/0xffffffffffff),p&=0xffffffffffff,r=Math.floor(p/0xffffffffff),p&=0xffffffffff,i=Math.floor(p/4294967295),p&=4294967295,o=Math.floor(p/16777215),p&=16777215,s=Math.floor(p/65535),p&=65535,c=Math.floor(p/255),p&=255,u=Math.floor(p),a(t)+a(n)+a(r)+a(i)+a(o)+a(s)+a(c)+a(u)},i.decode_utf8=function(e){for(var t,n=e.length,r=\"\",i=0,o=0,a=0;n>i;)o=e.charCodeAt(i),128>o?(r+=String.fromCharCode(o),i++):o>191&&224>o?(a=e.charCodeAt(i+1),r+=String.fromCharCode((31&o)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),t=e.charCodeAt(i+2),r+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&t),i+=3);return r},i.encode_cstring=function(e){return unescape(encodeURIComponent(e))+i.fromByte(0)},i.encode_utf8=function(e){for(var t,n=\"\",r=0,i=e.length;i>r;r++)t=e.charCodeAt(r),128>t?n+=String.fromCharCode(t):t>127&&2048>t?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},i.hprint=function(e){for(var t,n=0,r=e.length;r>n;n++)e.charCodeAt(n)<32?(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \")):(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \"));process.stdout.write(\"\\n\\n\")},i.ilprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \"+t.charAt(r)))},i.hlprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \"+t.charAt(r)))},o.prototype.setBuffer=function(e){var t,n,r;if(e){for(n=t=e.length,r=this.buffer=new Array(t);n;r[t-n]=e.charCodeAt(--n));this.bigEndian&&r.reverse()}},o.prototype.hasNeededBits=function(e){return this.buffer.length>=-(-e>>3)},o.prototype.checkBuffer=function(e){if(!this.hasNeededBits(e))throw new Error(\"checkBuffer::missing bytes\")},o.prototype.readBits=function(e,t){function n(e,t){for(;t--;e=1073741824==(1073741824&(e%=2147483648))?2*e:2*(e-1073741824)+2147483647+1);return e}if(0>e||0>=t)return 0;this.checkBuffer(e+t);for(var r,i=e%8,o=this.buffer.length-(e>>3)-1,a=this.buffer.length+(-(e+t)>>3),s=o-a,c=(this.buffer[o]>>i&(1<<(s?8-i:t))-1)+(s&&(r=(e+t)%8)?(this.buffer[a++]&(1<<r)-1)<<(s--<<3)-i:0);s;c+=n(this.buffer[a++],(s--<<3)-i));return c},i.Buffer=o,n.BinaryParser=i},{util:void 0}],54:[function(e,t,n){(function(n){var r=(e(\"./float_parser\").writeIEEE754,e(\"./float_parser\").readIEEE754,e(\"./map\")),i=e(\"./long\").Long,o=e(\"./double\").Double,a=e(\"./timestamp\").Timestamp,s=e(\"./objectid\").ObjectID,c=e(\"./regexp\").BSONRegExp,u=e(\"./symbol\").Symbol,p=e(\"./code\").Code,l=e(\"./min_key\").MinKey,f=e(\"./max_key\").MaxKey,d=e(\"./db_ref\").DBRef,h=e(\"./binary\").Binary,m=e(\"./parser/deserializer\"),v=e(\"./parser/serializer\"),g=e(\"./parser/calculate_size\"),y=17825792,b=new n(y),x=function(){};x.prototype.serialize=function(e,t,r,i,o,a){var s=v(b,e,t,o||0,0,i,a),c=new n(s);return b.copy(c,0,0,c.length),c},x.prototype.serializeWithBufferAndIndex=function(e,t,n,r,i,o){var a=v(b,e,t,r||0,0,i,o);return b.copy(n,r,0,a),r+a-1},x.prototype.deserialize=function(e,t){return m(e,t)},x.prototype.calculateObjectSize=function(e,t,n){return g(e,t,n)},x.prototype.deserializeStream=function(e,t,n,r,i,o){o=null!=o?o:{};for(var a=t,s=0;n>s;s++){var c=e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24;o.index=a,r[i+s]=this.deserialize(e,o),a+=c}return a},x.BSON_INT32_MAX=2147483647,x.BSON_INT32_MIN=-2147483648,x.BSON_INT64_MAX=Math.pow(2,63)-1,x.BSON_INT64_MIN=-Math.pow(2,63),x.JS_INT_MAX=9007199254740992,x.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);x.BSON_DATA_NUMBER=1,x.BSON_DATA_STRING=2,x.BSON_DATA_OBJECT=3,x.BSON_DATA_ARRAY=4,x.BSON_DATA_BINARY=5,x.BSON_DATA_OID=7,x.BSON_DATA_BOOLEAN=8,x.BSON_DATA_DATE=9,x.BSON_DATA_NULL=10,x.BSON_DATA_REGEXP=11,x.BSON_DATA_CODE=13,x.BSON_DATA_SYMBOL=14,x.BSON_DATA_CODE_W_SCOPE=15,x.BSON_DATA_INT=16,x.BSON_DATA_TIMESTAMP=17,x.BSON_DATA_LONG=18,x.BSON_DATA_MIN_KEY=255,x.BSON_DATA_MAX_KEY=127,x.BSON_BINARY_SUBTYPE_DEFAULT=0,x.BSON_BINARY_SUBTYPE_FUNCTION=1,x.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,x.BSON_BINARY_SUBTYPE_UUID=3,x.BSON_BINARY_SUBTYPE_MD5=4,x.BSON_BINARY_SUBTYPE_USER_DEFINED=128,t.exports=x,t.exports.Code=p,t.exports.Map=r,t.exports.Symbol=u,t.exports.BSON=x,t.exports.DBRef=d,t.exports.Binary=h,t.exports.ObjectID=s,t.exports.Long=i,t.exports.Timestamp=a,t.exports.Double=o,t.exports.MinKey=l,t.exports.MaxKey=f,t.exports.BSONRegExp=c}).call(this,e(\"buffer\").Buffer)},{\"./binary\":52,\"./code\":55,\"./db_ref\":56,\"./double\":57,\"./float_parser\":58,\"./long\":60,\"./map\":61,\"./max_key\":62,\"./min_key\":63,\"./objectid\":64,\"./parser/calculate_size\":65,\"./parser/deserializer\":66,\"./parser/serializer\":67,\"./regexp\":68,\"./symbol\":69,\"./timestamp\":70,buffer:void 0}],55:[function(e,t,n){var r=function i(e,t){return this instanceof i?(this._bsontype=\"Code\",this.code=e,void(this.scope=null==t?{}:t)):new i(e,t)};r.prototype.toJSON=function(){return{scope:this.scope,code:this.code}},t.exports=r,t.exports.Code=r},{}],56:[function(e,t,n){function r(e,t,n){return this instanceof r?(this._bsontype=\"DBRef\",this.namespace=e,this.oid=t,void(this.db=n)):new r(e,t,n)}r.prototype.toJSON=function(){return{$ref:this.namespace,$id:this.oid,$db:null==this.db?\"\":this.db}},t.exports=r,t.exports.DBRef=r},{}],57:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Double\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Double=r},{}],58:[function(e,t,n){var r=function(e,t,n,r,i){var o,a,s=\"big\"===n,c=8*i-r-1,u=(1<<c)-1,p=u>>1,l=-7,f=s?0:i-1,d=s?1:-1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-p;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=p}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,s,c,u=\"big\"===r,p=8*o-i-1,l=(1<<p)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=u?o-1:0,m=u?-1:1,v=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<<i|s,p+=i;p>0;e[n+h]=255&a,h+=m,a/=256,p-=8);e[n+h-m]|=128*v};n.readIEEE754=r,n.writeIEEE754=i},{}],59:[function(e,t,n){try{n.BSONPure=e(\"./bson\"),n.BSONNative=e(\"./bson\")}catch(r){}[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(t){var r=e(t);for(var i in r)n[i]=r[i]}),n.pure=function(){var t={};return[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\",\"./bson\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]}),t},n[\"native\"]=function(){var t={};[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]});try{t.BSON=e(\"./bson\")}catch(r){return n.pure()}return t}},{\"./bson\":54}],60:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Long\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Long=r},{}],61:[function(e,t,n){(function(e){\"use strict\";if(\"undefined\"!=typeof e.Map)t.exports=e.Map,t.exports.Map=e.Map;else{var n=function(e){this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var n=e[t],r=n[0],i=n[1];this._keys.push(r),this._values[r]={v:i,i:this._keys.length-1}}};n.prototype.clear=function(){this._keys=[],this._values={}},n.prototype[\"delete\"]=function(e){var t=this._values[e];return null==t?!1:(delete this._values[e],this._keys.splice(t.i,1),!0)},n.prototype.entries=function(){var e=this,t=0;return{next:function(){var n=e._keys[t++];return{value:void 0!==n?[n,e._values[n].v]:void 0,done:void 0===n}}}},n.prototype.forEach=function(e,t){t=t||this;for(var n=0;n<this._keys.length;n++){var r=this._keys[n];e.call(t,this._values[r].v,r,t)}},n.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},n.prototype.has=function(e){return null!=this._values[e]},n.prototype.keys=function(e){var t=this,n=0;return{next:function(){var e=t._keys[n++];return{value:void 0!==e?e:void 0,done:void 0===e}}}},n.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},n.prototype.values=function(e,t){var n=this,r=0;return{next:function(){var e=n._keys[r++];return{value:void 0!==e?n._values[e].v:void 0,done:void 0===e}}}},Object.defineProperty(n.prototype,\"size\",{enumerable:!0,get:function(){return this._keys.length}}),t.exports=n,t.exports.Map=n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],62:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MaxKey\"):new r}t.exports=r,t.exports.MaxKey=r},{}],63:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MinKey\"):new r}t.exports=r,t.exports.MinKey=r},{}],64:[function(e,t,n){for(var r=e(\"./binary_parser\").BinaryParser,i=parseInt(16777215*Math.random(),10),o=new RegExp(\"^[0-9a-fA-F]{24}$\"),a=function u(e){if(!(this instanceof u))return new u(e);if(e instanceof u||e&&e.toHexString)return e;this._bsontype=\"ObjectID\";var t=u.isValid(e);if(!t&&null!=e)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");return t&&\"string\"==typeof e&&24==e.length?u.createFromHexString(e):(null==e||\"number\"==typeof e?this.id=this.generate(e):null!=e&&12===e.length&&(this.id=e),void(u.cacheHexString&&(this.__id=this.toHexString())))},s=[],c=0;256>c;c++)s[c]=(15>=c?\"0\":\"\")+c.toString(16);a.prototype.toHexString=function(){if(a.cacheHexString&&this.__id)return this.__id;for(var e=\"\",t=0;t<this.id.length;t++)e+=s[this.id.charCodeAt(t)];return a.cacheHexString&&(this.__id=e),e},a.prototype.get_inc=function(){return a.index=(a.index+1)%16777215},a.prototype.getInc=function(){return this.get_inc()},a.prototype.generate=function(e){\"number\"!=typeof e&&(e=parseInt(Date.now()/1e3,10));var t=r.encodeInt(e,32,!0,!0),n=r.encodeInt(i,24,!1),o=r.fromShort((\"undefined\"==typeof process?Math.floor(1e5*Math.random()):process.pid)%65535),a=r.encodeInt(this.get_inc(),24,!1,!0);return t+n+o+a},a.prototype.toString=function(){return this.toHexString()},a.prototype.inspect=a.prototype.toString,a.prototype.toJSON=function(){return this.toHexString()},a.prototype.equals=function(e){var t;if(null!=e&&(e instanceof a||e.toHexString))t=e.id;else{if(\"string\"!=typeof e||!a.isValid(e))return!1;t=a.createFromHexString(e).id}return this.id===t},a.prototype.getTimestamp=function(){var e=new Date;return e.setTime(1e3*Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))),e},a.index=parseInt(16777215*Math.random(),10),a.createPk=function(){return new a},a.createFromTime=function(e){var t=r.encodeInt(e,32,!0,!0)+r.encodeInt(0,64,!0,!0);return new a(t)},a.createFromHexString=function(e){if(\"undefined\"==typeof e||null!=e&&24!=e.length)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");var t=e.length;if(t>24)throw new Error(\"Id cannot be longer than 12 bytes\");for(var n,i,o=\"\",s=0;t>s;s+=2)n=e.substr(s,2),i=parseInt(n,16),o+=r.fromByte(i);return new a(o,e)},a.isValid=function(e){return null==e?!1:\"number\"==typeof e?!0:\"string\"==typeof e?12==e.length||24==e.length&&o.test(e):e instanceof a?!0:e.toHexString?12==e.id.length||24==e.id.length&&o.test(e.id):!1},Object.defineProperty(a.prototype,\"generationTime\",{enumerable:!0,get:function(){return Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))},set:function(e){var e=r.encodeInt(e,32,!0,!0);this.id=e+this.id.substr(4),this.toHexString()}}),t.exports=a,t.exports.ObjectID=a,t.exports.ObjectId=a},{\"./binary_parser\":53}],65:[function(e,t,n){(function(n){\"use strict\";function r(e,t,r,y,b){switch(t&&t.toBSON&&(t=t.toBSON()),typeof t){case\"string\":return 1+n.byteLength(e,\"utf8\")+1+4+n.byteLength(t,\"utf8\")+1;case\"number\":return Math.floor(t)===t&&t>=g.JS_INT_MIN&&t<=g.JS_INT_MAX&&t>=g.BSON_INT32_MIN&&t<=g.BSON_INT32_MAX?(null!=e?n.byteLength(e,\"utf8\")+1:0)+5:(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;case\"undefined\":return y||!b?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1:0;case\"boolean\":return(null!=e?n.byteLength(e,\"utf8\")+1:0)+2;case\"object\":if(null==t||t instanceof l||t instanceof f||\"MinKey\"==t._bsontype||\"MaxKey\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1;if(t instanceof s||\"ObjectID\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+13;if(t instanceof Date||m(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(\"undefined\"!=typeof n&&n.isBuffer(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+6+t.length;if(t instanceof i||t instanceof o||t instanceof a||\"Long\"==t._bsontype||\"Double\"==t._bsontype||\"Timestamp\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(t instanceof p||\"Code\"==t._bsontype)return null!=t.scope&&Object.keys(t.scope).length>0?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.code.toString(),\"utf8\")+1+v(t.scope,r,b):(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.code.toString(),\"utf8\")+1;if(t instanceof h||\"Binary\"==t._bsontype)return t.sub_type==h.SUBTYPE_BYTE_ARRAY?(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1+4):(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1);if(t instanceof c||\"Symbol\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+n.byteLength(t.value,\"utf8\")+4+1+1;if(t instanceof d||\"DBRef\"==t._bsontype){var x={$ref:t.namespace,$id:t.oid};return null!=t.db&&(x.$db=t.db),(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+v(x,r,b)}return t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1:t instanceof u||\"BSONRegExp\"==t._bsontype?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.pattern,\"utf8\")+1+n.byteLength(t.options,\"utf8\")+1:(null!=e?n.byteLength(e,\"utf8\")+1:0)+v(t,r,b)+1;case\"function\":if(t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)||\"[object RegExp]\"==String.call(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1;if(r&&null!=t.scope&&Object.keys(t.scope).length>0)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.toString(),\"utf8\")+1+v(t.scope,r,b);if(r)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.toString(),\"utf8\")+1}return 0}var i=(e(\"../float_parser\").writeIEEE754,e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../double\").Double,a=e(\"../timestamp\").Timestamp,s=e(\"../objectid\").ObjectID,c=e(\"../symbol\").Symbol,u=e(\"../regexp\").BSONRegExp,p=e(\"../code\").Code,l=e(\"../min_key\").MinKey,f=e(\"../max_key\").MaxKey,d=e(\"../db_ref\").DBRef,h=e(\"../binary\").Binary,m=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},v=function(e,t,n){var i=5;if(Array.isArray(e))for(var o=0;o<e.length;o++)i+=r(o.toString(),e[o],t,!0,n);else{e.toBSON&&(e=e.toBSON());for(var a in e)i+=r(a,e[a],t,!1,n)}return i},g={};g.functionCache={};g.BSON_DATA_NUMBER=1,g.BSON_DATA_STRING=2,g.BSON_DATA_OBJECT=3,g.BSON_DATA_ARRAY=4,g.BSON_DATA_BINARY=5,g.BSON_DATA_OID=7,g.BSON_DATA_BOOLEAN=8,g.BSON_DATA_DATE=9,g.BSON_DATA_NULL=10,g.BSON_DATA_REGEXP=11,g.BSON_DATA_CODE=13,g.BSON_DATA_SYMBOL=14,g.BSON_DATA_CODE_W_SCOPE=15,g.BSON_DATA_INT=16,g.BSON_DATA_TIMESTAMP=17,g.BSON_DATA_LONG=18,g.BSON_DATA_MIN_KEY=255,g.BSON_DATA_MAX_KEY=127,g.BSON_BINARY_SUBTYPE_DEFAULT=0,g.BSON_BINARY_SUBTYPE_FUNCTION=1,g.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,g.BSON_BINARY_SUBTYPE_UUID=3,g.BSON_BINARY_SUBTYPE_MD5=4,g.BSON_BINARY_SUBTYPE_USER_DEFINED=128,g.BSON_INT32_MAX=2147483647,g.BSON_INT32_MIN=-2147483648,g.BSON_INT64_MAX=Math.pow(2,63)-1,g.BSON_INT64_MIN=-Math.pow(2,63),g.JS_INT_MAX=9007199254740992,g.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=v}).call(this,e(\"buffer\").Buffer)},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,buffer:void 0}],66:[function(require,module,exports){\"use strict\";var readIEEE754=require(\"../float_parser\").readIEEE754,f=require(\"util\").format,Long=require(\"../long\").Long,Double=require(\"../double\").Double,Timestamp=require(\"../timestamp\").Timestamp,ObjectID=require(\"../objectid\").ObjectID,Symbol=require(\"../symbol\").Symbol,Code=require(\"../code\").Code,MinKey=require(\"../min_key\").MinKey,MaxKey=require(\"../max_key\").MaxKey,DBRef=require(\"../db_ref\").DBRef,BSONRegExp=require(\"../regexp\").BSONRegExp,Binary=require(\"../binary\").Binary,deserialize=function(e,t,n){t=null==t?{}:t;var r=t&&t.index?t.index:0,i=e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24;if(5>i||e.length<i)throw new Error(\"corrupt bson message\");if(0!=e[r+i-1])throw new Error(\"One object, sized correctly, with a spot for an EOO, but the EOO isn't 0x00\");return deserializeObject(e,r,t,n)},deserializeObject=function(e,t,n,r){var i=null==n.evalFunctions?!1:n.evalFunctions,o=null==n.cacheFunctions?!1:n.cacheFunctions,a=null==n.cacheFunctionsCrc32?!1:n.cacheFunctionsCrc32,s=null==n.promoteLongs?!0:n.promoteLongs,c=null==n.fieldsAsRaw?null:n.fieldsAsRaw,u=null==n.raw?!1:n.raw,p=\"boolean\"==typeof n.bsonRegExp?n.bsonRegExp:!1,l=null==n.promoteBuffers?!1:n.promoteBuffers;if(e.length<5)throw new Error(\"corrupt bson message < 5 bytes long\");var f=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(5>f||f>e.length)throw new Error(\"corrupt bson message\");for(var d=r?[]:{};;){var h=e[t++];if(0==h)break;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var v=e.toString(\"utf8\",t,m);if(t=m+1,h==BSON.BSON_DATA_STRING){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=e.toString(\"utf8\",t,t+g-1),t+=g}else if(h==BSON.BSON_DATA_OID){var y=e.toString(\"binary\",t,t+12);d[v]=new ObjectID(y),t+=12}else if(h==BSON.BSON_DATA_INT)d[v]=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;else if(h==BSON.BSON_DATA_NUMBER)d[v]=e.readDoubleLE(t),t+=8;else if(h==BSON.BSON_DATA_DATE){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Date(new Long(b,x).toNumber())}else if(h==BSON.BSON_DATA_BOOLEAN)d[v]=1==e[t++];else if(h==BSON.BSON_DATA_OBJECT){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24;\nif(0>=_||_>e.length-t)throw new Error(\"bad embedded document length in bson\");u?d[v]=e.slice(t,t+_):d[v]=deserializeObject(e,w,n,!1),t+=_}else if(h==BSON.BSON_DATA_ARRAY){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,k=n;if(c&&c[v]){k={};for(var j in n)k[j]=n[j];k.raw=!0}d[v]=deserializeObject(e,w,k,!0),t+=_}else if(h==BSON.BSON_DATA_UNDEFINED||h==BSON.BSON_DATA_NULL)d[v]=null;else if(h==BSON.BSON_DATA_LONG){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,S=new Long(b,x);s?d[v]=S.lessThanOrEqual(JS_INT_MAX_LONG)&&S.greaterThanOrEqual(JS_INT_MIN_LONG)?S.toNumber():S:d[v]=S}else if(h==BSON.BSON_DATA_BINARY){var E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,O=e[t++];if(null!=e.slice)O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24),l?d[v]=e.slice(t,t+E):d[v]=new Binary(e.slice(t,t+E),O);else{var A=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(E)):new Array(E);O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);for(var m=0;E>m;m++)A[m]=e[t+m];l?d[v]=A:d[v]=new Binary(A,O)}t+=E}else if(h==BSON.BSON_DATA_REGEXP&&0==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1;for(var I=new Array(T.length),m=0;m<T.length;m++)switch(T[m]){case\"m\":I[m]=\"m\";break;case\"s\":I[m]=\"g\";break;case\"i\":I[m]=\"i\"}d[v]=new RegExp(C,I.join(\"\"))}else if(h==BSON.BSON_DATA_REGEXP&&1==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1,d[v]=new BSONRegExp(C,T)}else if(h==BSON.BSON_DATA_SYMBOL){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=new Symbol(e.toString(\"utf8\",t,t+g-1)),t+=g}else if(h==BSON.BSON_DATA_TIMESTAMP){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Timestamp(b,x)}else if(h==BSON.BSON_DATA_MIN_KEY)d[v]=new MinKey;else if(h==BSON.BSON_DATA_MAX_KEY)d[v]=new MaxKey;else if(h==BSON.BSON_DATA_CODE){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);if(i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P)}else d[v]=new Code(P,{});t+=g}else if(h==BSON.BSON_DATA_CODE_W_SCOPE){var g=(e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);t+=g;var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,M=deserializeObject(e,w,n,!1);if(t+=_,i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P);d[v].scope=M}else d[v]=new Code(P,M)}}return null!=d.$id&&(d=new DBRef(d.$ref,d.$id,d.$db)),d},isolateEvalWithHash=function(functionCache,hash,functionString,object){var value=null;return null==functionCache[hash]&&(eval(\"value = \"+functionString),functionCache[hash]=value),functionCache[hash].bind(object)},isolateEval=function(functionString){var value=null;return eval(\"value = \"+functionString),value},BSON={},functionCache=BSON.functionCache={};BSON.BSON_DATA_NUMBER=1,BSON.BSON_DATA_STRING=2,BSON.BSON_DATA_OBJECT=3,BSON.BSON_DATA_ARRAY=4,BSON.BSON_DATA_BINARY=5,BSON.BSON_DATA_UNDEFINED=7,BSON.BSON_DATA_OID=7,BSON.BSON_DATA_BOOLEAN=8,BSON.BSON_DATA_DATE=9,BSON.BSON_DATA_NULL=10,BSON.BSON_DATA_REGEXP=11,BSON.BSON_DATA_CODE=13,BSON.BSON_DATA_SYMBOL=14,BSON.BSON_DATA_CODE_W_SCOPE=15,BSON.BSON_DATA_INT=16,BSON.BSON_DATA_TIMESTAMP=17,BSON.BSON_DATA_LONG=18,BSON.BSON_DATA_MIN_KEY=255,BSON.BSON_DATA_MAX_KEY=127,BSON.BSON_BINARY_SUBTYPE_DEFAULT=0,BSON.BSON_BINARY_SUBTYPE_FUNCTION=1,BSON.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,BSON.BSON_BINARY_SUBTYPE_UUID=3,BSON.BSON_BINARY_SUBTYPE_MD5=4,BSON.BSON_BINARY_SUBTYPE_USER_DEFINED=128,BSON.BSON_INT32_MAX=2147483647,BSON.BSON_INT32_MIN=-2147483648,BSON.BSON_INT64_MAX=Math.pow(2,63)-1,BSON.BSON_INT64_MIN=-Math.pow(2,63),BSON.JS_INT_MAX=9007199254740992,BSON.JS_INT_MIN=-9007199254740992;var JS_INT_MAX_LONG=Long.fromNumber(9007199254740992),JS_INT_MIN_LONG=Long.fromNumber(-9007199254740992);module.exports=deserialize},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,util:void 0}],67:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../float_parser\").writeIEEE754,i=(e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../map\"),a=(e(\"../double\").Double,e(\"../timestamp\").Timestamp,e(\"../objectid\").ObjectID,e(\"../symbol\").Symbol,e(\"../code\").Code,e(\"../regexp\").BSONRegExp,e(\"../min_key\").MinKey),s=(e(\"../max_key\").MaxKey,e(\"../db_ref\").DBRef,e(\"../binary\").Binary),c=/\\x00/,u=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},l=function(e,t,n,r){e[r++]=T.BSON_DATA_STRING;var i=e.write(t,r,\"utf8\");r=r+i+1,e[r-1]=0;var o=e.write(n,r+4,\"utf8\");return e[r+3]=o+1>>24&255,e[r+2]=o+1>>16&255,e[r+1]=o+1>>8&255,e[r]=o+1&255,r=r+4+o,e[r++]=0,r},f=function(e,t,n,o){if(Math.floor(n)===n&&n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX)if(n>=T.BSON_INT32_MIN&&n<=T.BSON_INT32_MAX){e[o++]=T.BSON_DATA_INT;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,e[o++]=255&n,e[o++]=n>>8&255,e[o++]=n>>16&255,e[o++]=n>>24&255}else if(n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX){e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}else{e[o++]=T.BSON_DATA_LONG;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0;var s=i.fromNumber(n),c=s.getLowBits(),u=s.getHighBits();e[o++]=255&c,e[o++]=c>>8&255,e[o++]=c>>16&255,e[o++]=c>>24&255,e[o++]=255&u,e[o++]=u>>8&255,e[o++]=u>>16&255,e[o++]=u>>24&255}else{e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}return o},d=function(e,t,n,r){e[r++]=T.BSON_DATA_NULL;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},h=function(e,t,n,r){e[r++]=T.BSON_DATA_BOOLEAN;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e[r++]=n?1:0,r},m=function(e,t,n,r){e[r++]=T.BSON_DATA_DATE;var o=e.write(t,r,\"utf8\");r+=o,e[r++]=0;var a=i.fromNumber(n.getTime()),s=a.getLowBits(),c=a.getHighBits();return e[r++]=255&s,e[r++]=s>>8&255,e[r++]=s>>16&255,e[r++]=s>>24&255,e[r++]=255&c,e[r++]=c>>8&255,e[r++]=c>>16&255,e[r++]=c>>24&255,r},v=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");if(r+=i,e[r++]=0,n.source&&null!=n.source.match(c))throw Error(\"value \"+n.source+\" must not contain null bytes\");return r+=e.write(n.source,r,\"utf8\"),e[r++]=0,n.global&&(e[r++]=115),n.ignoreCase&&(e[r++]=105),n.multiline&&(e[r++]=109),e[r++]=0,r},g=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r+=e.write(n.pattern,r,\"utf8\"),e[r++]=0,r+=e.write(n.options,r,\"utf8\"),e[r++]=0,r},y=function(e,t,n,r){null===n?e[r++]=T.BSON_DATA_NULL:n instanceof a?e[r++]=T.BSON_DATA_MIN_KEY:e[r++]=T.BSON_DATA_MAX_KEY;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},b=function(e,t,n,r){e[r++]=T.BSON_DATA_OID;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e.write(n.id,r,\"binary\"),r+12},x=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.length;return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=T.BSON_BINARY_SUBTYPE_DEFAULT,n.copy(e,r,0,o),r+=o},w=function(e,t,n,r,i,o,a,s){e[r++]=Array.isArray(n)?T.BSON_DATA_ARRAY:T.BSON_DATA_OBJECT;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=C(e,n,i,r,o+1,a,s);return u},_=function(e,t,n,r){e[r++]=\"Long\"==n._bsontype?T.BSON_DATA_LONG:T.BSON_DATA_TIMESTAMP;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.getLowBits(),a=n.getHighBits();return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,r},k=function(e,t,n,i){e[i++]=T.BSON_DATA_NUMBER;var o=e.write(t,i,\"utf8\");return i+=o,e[i++]=0,r(e,n,i,\"little\",52,8),i+=8},j=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_CODE;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s=n.toString(),c=e.write(s,r+4,\"utf8\")+1;return e[r]=255&c,e[r+1]=c>>8&255,e[r+2]=c>>16&255,e[r+3]=c>>24&255,r=r+4+c-1,e[r++]=0,r},S=function(e,t,n,r,i,o,a,s){if(null!=n.scope&&Object.keys(n.scope).length>0){e[r++]=T.BSON_DATA_CODE_W_SCOPE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=r,p=\"string\"==typeof n.code?n.code:n.code.toString();r+=4;var l=e.write(p,r+4,\"utf8\")+1;e[r]=255&l,e[r+1]=l>>8&255,e[r+2]=l>>16&255,e[r+3]=l>>24&255,e[r+4+l-1]=0,r=r+l+4;var f=C(e,n.scope,i,r,o+1,a,s);r=f-1;var d=f-u;e[u++]=255&d,e[u++]=d>>8&255,e[u++]=d>>16&255,e[u++]=d>>24&255,e[r++]=0}else{e[r++]=T.BSON_DATA_CODE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var p=n.code.toString(),h=e.write(p,r+4,\"utf8\")+1;e[r]=255&h,e[r+1]=h>>8&255,e[r+2]=h>>16&255,e[r+3]=h>>24&255,r=r+4+h-1,e[r++]=0}return r},E=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.value(!0),a=n.position;return e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,e[r++]=n.sub_type,n.sub_type==s.SUBTYPE_BYTE_ARRAY&&(e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255),o.copy(e,r,0,n.position),r+=n.position},O=function(e,t,n,r){e[r++]=T.BSON_DATA_SYMBOL;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=e.write(n.value,r+4,\"utf8\")+1;return e[r]=255&o,e[r+1]=o>>8&255,e[r+2]=o>>16&255,e[r+3]=o>>24&255,r=r+4+o-1,e[r++]=0,r},A=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_OBJECT;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s,c=r;s=null!=n.db?C(e,{$ref:n.namespace,$id:n.oid,$db:n.db},!1,r,i+1,o):C(e,{$ref:n.namespace,$id:n.oid},!1,r,i+1,o);var u=s-c;return e[c++]=255&u,e[c++]=u>>8&255,e[c++]=u>>16&255,e[c++]=u>>24&255,s},C=function(e,t,r,i,a,s,C){i=i||0;var T=i+4;if(Array.isArray(t))for(var I=0;I<t.length;I++){var P=\"\"+I,F=t[I];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):\"undefined\"==M||null==F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T))}else if(t instanceof o)for(var z=t.entries(),B=!1;!B;){var N=z.next();if(B=N.done,!B){var P=N.value[0],F=N.value[1],M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}else{if(t.toBSON){if(\"function\"!=typeof t.toBSON)throw new Error(\"toBSON is not a function\");if(t=t.toBSON(),null!=t&&\"object\"!=typeof t)throw new Error(\"toBSON function did not return an object\")}for(var P in t){var F=t[P];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}e[T++]=0;var D=T-i;return e[i++]=255&D,e[i++]=D>>8&255,e[i++]=D>>16&255,e[i++]=D>>24&255,T},T={};T.functionCache={};T.BSON_DATA_NUMBER=1,T.BSON_DATA_STRING=2,T.BSON_DATA_OBJECT=3,T.BSON_DATA_ARRAY=4,T.BSON_DATA_BINARY=5,T.BSON_DATA_OID=7,T.BSON_DATA_BOOLEAN=8,T.BSON_DATA_DATE=9,T.BSON_DATA_NULL=10,T.BSON_DATA_REGEXP=11,T.BSON_DATA_CODE=13,T.BSON_DATA_SYMBOL=14,T.BSON_DATA_CODE_W_SCOPE=15,T.BSON_DATA_INT=16,T.BSON_DATA_TIMESTAMP=17,T.BSON_DATA_LONG=18,T.BSON_DATA_MIN_KEY=255,T.BSON_DATA_MAX_KEY=127,T.BSON_BINARY_SUBTYPE_DEFAULT=0,T.BSON_BINARY_SUBTYPE_FUNCTION=1,T.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,T.BSON_BINARY_SUBTYPE_UUID=3,T.BSON_BINARY_SUBTYPE_MD5=4,T.BSON_BINARY_SUBTYPE_USER_DEFINED=128,T.BSON_INT32_MAX=2147483647,T.BSON_INT32_MIN=-2147483648,T.BSON_INT64_MAX=Math.pow(2,63)-1,T.BSON_INT64_MIN=-Math.pow(2,63),T.JS_INT_MAX=9007199254740992,T.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=C}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../map\":61,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70}],68:[function(e,t,n){function r(e,t){if(!(this instanceof r))return new r;this._bsontype=\"BSONRegExp\",this.pattern=e,this.options=t;for(var n=0;n<t.length;n++)if(\"i\"!=this.options[n]&&\"m\"!=this.options[n]&&\"x\"!=this.options[n]&&\"l\"!=this.options[n]&&\"s\"!=this.options[n]&&\"u\"!=this.options[n])throw new Error(\"the regular expression options [\"+this.options[n]+\"] is not supported\")}t.exports=r,t.exports.BSONRegExp=r},{}],69:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Symbol\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toString=function(){return this.value},r.prototype.inspect=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Symbol=r},{}],70:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Timestamp\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Timestamp=r},{}],71:[function(e,t,n){function r(e){this.dict=e||{}}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return\"undefined\"!=typeof t?n.set(e,t,r):void 0},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],72:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":84,stream:void 0,util:void 0}],73:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n=t||{},r=n.type||\"attachment\",a=i(e,n.fallback);return o(new d(r,a))}function i(e,t){if(void 0!==e){var n={};if(\"string\"!=typeof e)throw new TypeError(\"filename must be a string\");if(void 0===t&&(t=!0),\"string\"!=typeof t&&\"boolean\"!=typeof t)throw new TypeError(\"fallback must be a string or boolean\");if(\"string\"==typeof t&&y.test(t))throw new TypeError(\"fallback must be ISO-8859-1 string\");var r=h(e),i=_.test(r),o=\"string\"!=typeof t?t&&s(r):h(t),a=\"string\"==typeof o&&o!==r;return(a||!i||v.test(r))&&(n[\"filename*\"]=r),(i||a)&&(n.filename=a?o:r),n}}function o(e){var t=e.parameters,n=e.type;if(!n||\"string\"!=typeof n||!k.test(n))throw new TypeError(\"invalid type\");var r=String(n).toLowerCase();if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),a=0;a<o.length;a++){i=o[a];var s=\"*\"===i.substr(-1)?f(t[i]):l(t[i]);r+=\"; \"+i+\"=\"+s}return r}function a(e){var t=j.exec(e);if(!t)throw new TypeError(\"invalid extended field value\");var r,i=t[1].toLowerCase(),o=t[2],a=o.replace(g,u);switch(i){case\"iso-8859-1\":r=s(a);break;case\"utf-8\":r=new n(a,\"binary\").toString(\"utf8\");break;default:throw new TypeError(\"unsupported charset in extended field\")}return r}function s(e){return String(e).replace(y,\"?\")}function c(e){if(!e||\"string\"!=typeof e)throw new TypeError(\"argument string is required\");var t=S.exec(e);if(!t)throw new TypeError(\"invalid type format\");var n,r,i=t[0].length,o=t[1].toLowerCase(),s=[],c={};for(i=w.lastIndex=\";\"===t[0].substr(-1)?i-1:i;t=w.exec(e);){if(t.index!==i)throw new TypeError(\"invalid parameter format\");if(i+=t[0].length,n=t[1].toLowerCase(),r=t[2],-1!==s.indexOf(n))throw new TypeError(\"invalid duplicate parameter\");s.push(n),n.indexOf(\"*\")+1!==n.length?\"string\"!=typeof c[n]&&('\"'===r[0]&&(r=r.substr(1,r.length-2).replace(b,\"$1\")),c[n]=r):(n=n.slice(0,-1),r=a(r),c[n]=r)}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return new d(o,c)}function u(e,t){return String.fromCharCode(parseInt(t,16))}function p(e){var t=String(e).charCodeAt(0).toString(16).toUpperCase();return 1===t.length?\"%0\"+t:\"%\"+t}function l(e){var t=String(e);return'\"'+t.replace(x,\"\\\\$1\")+'\"'}function f(e){var t=String(e),n=encodeURIComponent(t).replace(m,p);return\"UTF-8''\"+n}function d(e,t){this.type=e,this.parameters=t}t.exports=r,t.exports.parse=c;var h=e(\"path\").basename,m=/[\\x00-\\x20\"'\\(\\)*,\\/:;<=>?@\\[\\\\\\]\\{\\}\\x7f]/g,v=/%[0-9A-Fa-f]{2}/,g=/%([0-9A-Fa-f]{2})/g,y=/[^\\x20-\\x7e\\xa0-\\xff]/g,b=/\\\\([\\u0000-\\u007f])/g,x=/([\\\\\"])/g,w=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,_=/^[\\x20-\\x7e\\x80-\\xff]+$/,k=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,j=/^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+\\-\\.^_`|~])+)$/,S=/^([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *(?:$|;)/}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,path:void 0}],74:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.type;if(!n||!d.test(n))throw new TypeError(\"invalid type\");var r=n;if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),s=0;s<o.length;s++){if(i=o[s],!p.test(i))throw new TypeError(\"invalid parameter name\");r+=\"; \"+i+\"=\"+a(t[i])}return r}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e),\"string\"!=typeof e))throw new TypeError(\"content-type header is missing from object\");if(\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t=e.indexOf(\";\"),n=-1!==t?e.substr(0,t).trim():e.trim();if(!d.test(n))throw new TypeError(\"invalid media type\");var r,i,a,u=new s(n.toLowerCase());for(c.lastIndex=t;i=c.exec(e);){if(i.index!==t)throw new TypeError(\"invalid parameter format\");t+=i[0].length,r=i[1].toLowerCase(),a=i[2],'\"'===a[0]&&(a=a.substr(1,a.length-2).replace(l,\"$1\")),u.parameters[r]=a}if(-1!==t&&t!==e.length)throw new TypeError(\"invalid parameter format\");return u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){this.parameters=Object.create(null),this.type=e}var c=/; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) */g,u=/^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/,l=/\\\\([\\u000b\\u0020-\\u00ff])/g,f=/([\\\\\"])/g,d=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/;n.format=r,n.parse=i},{}],75:[function(e,t,n){function r(e){return i.createHash(\"sha1\").update(e).digest(\"hex\")}var i=e(\"crypto\");n.sign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Cookie value must be provided as a string.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");return e+\".\"+i.createHmac(\"sha256\",t).update(e).digest(\"base64\").replace(/\\=+$/,\"\")},n.unsign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Signed cookie string must be provided.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");var i=e.slice(0,e.lastIndexOf(\".\")),o=n.sign(i,t);return r(o)==r(e)?i:!1}},{crypto:void 0}],76:[function(e,t,n){function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument str must be a string\");var n={},r=t||{},i=e.split(/; */),s=r.decode||a;return i.forEach(function(e){var t=e.indexOf(\"=\");if(!(0>t)){var r=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();\n'\"'==i[0]&&(i=i.slice(1,-1)),void 0==n[r]&&(n[r]=o(i,s))}}),n}function i(e,t,n){var r=n||{},i=r.encode||s;if(!c.test(e))throw new TypeError(\"argument name is invalid\");var o=i(t);if(o&&!c.test(o))throw new TypeError(\"argument val is invalid\");var a=[e+\"=\"+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error(\"maxAge should be a Number\");a.push(\"Max-Age=\"+u)}if(r.domain){if(!c.test(r.domain))throw new TypeError(\"option domain is invalid\");a.push(\"Domain=\"+r.domain)}if(r.path){if(!c.test(r.path))throw new TypeError(\"option path is invalid\");a.push(\"Path=\"+r.path)}return r.expires&&a.push(\"Expires=\"+r.expires.toUTCString()),r.httpOnly&&a.push(\"HttpOnly\"),r.secure&&a.push(\"Secure\"),a.join(\"; \")}function o(e,t){try{return t(e)}catch(n){return e}}n.parse=r,n.serialize=i;var a=decodeURIComponent,s=encodeURIComponent,c=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/},{}],77:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===v(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function c(e){return\"symbol\"==typeof e}function u(e){return void 0===e}function p(e){return\"[object RegExp]\"===v(e)}function l(e){return\"object\"==typeof e&&null!==e}function f(e){return\"[object Date]\"===v(e)}function d(e){return\"[object Error]\"===v(e)||e instanceof Error}function h(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||\"undefined\"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=c,n.isUndefined=u,n.isRegExp=p,n.isObject=l,n.isDate=f,n.isError=d,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538}],78:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n|=o^a}return 0===n}},{boom:51,crypto:void 0}],79:[function(e,t,n){function r(e,t){var n,r,i,o;if(n=e.name,!(\"signed\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing signed value\");if(!(\"length\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing length value\");if(r=e.integer.signed,i=e.integer.length,o=null,r&&1==i?o=\"int8_t\":1==i?o=\"uint8_t\":r&&2==i?o=\"int16_t\":2==i?o=\"uint16_t\":r&&4==i?o=\"int32_t\":4==i?o=\"uint32_t\":r&&8==i?o=\"int64_t\":8==i&&(o=\"uint64_t\"),null===o)throw new Error(\"Malformed CTF JSON: integer has unsupported length and sign - \"+i+\"/\"+r);return n!=o?\"char\"==n?void p(\"int8_t\"==o):void t.typedef(n,o):void 0}function i(e,t){var n,r;if(n=e.name,!(\"length\"in e[\"float\"]))throw new Error(\"Malformed CTF JSON: float missing length value\");if(r=e[\"float\"].length,4!=r&&8!=r)throw new Error(\"Malformed CTF JSON: float has invalid length value\");if(4==r){if(\"float\"==n)return;t.typedef(n,\"float\")}else if(8==r){if(\"double\"==n)return;t.typedef(n,\"double\")}}function o(e,t){var n,r,i;if(n=e.name,\"string\"!=typeof e.typedef)throw new Error(\"Malformed CTF JSON: typedef value in not a string\");for(r=e.typedef,i=0;i<d.length;i++)if(n==d[i])return;t.typedef(n,r)}function a(e,t){var n,r,i,o,a,s,c;if(s=[],!Array.isArray(e.struct))throw new Error(\"Malformed CTF JSON: struct value is not an array\");for(i=0;i<e.struct.length;i++){if(o=e.struct[i],!(\"name\"in o))throw new Error(\"Malformed CTF JSON: struct member missing name\");if(!(\"type\"in o))throw new Error(\"Malformed CTF JSON: struct member missing type\");if(\"string\"!=typeof o.name)throw new Error(\"Malformed CTF JSON: struct member name isn't a string\");if(\"string\"!=typeof o.type)throw new Error(\"Malformed CTF JSON: struct member type isn't a string\");n=o.name,r=o.type,a=r.indexOf(\" [\"),-1!=a&&(r=r.substring(0,a)+r.substring(a+1,r.length)),c={},c[n]={type:r},s.push(c)}n=e.name,t.typedef(n,s)}function s(e,t){var n,s;if(!(\"name\"in e))throw new Error('Malformed CTF JSON: entry missing \"name\" section');for(n=0;n<f.length;n++)f[n]in e&&s++;if(0===s)throw new Error(\"Malformed CTF JSON: found no entries\");if(s>=2)throw new Error(\"Malformed CTF JSON: found more than one entry\");return\"integer\"in e?void r(e,t):\"float\"in e?void i(e,t):\"typedef\"in e?void o(e,t):\"struct\"in e?void a(e,t):void p(!1,\"shouldn't reach here\")}function c(e,t){var n,r;if(p(e),p(t),!(\"metadata\"in e))throw new Error(\"Invalid CTF JSON: missing metadata section\");if(!(\"ctf2json_version\"in e.metadata))throw new Error(\"Invalid CTF JSON: missing ctf2json_version\");for(n=e.metadata.ctf2json_version,r=0;r<l.length&&l[r]!=n;r++);if(r==l.length)throw new Error(\"Unsuported ctf2json_version: \"+n);if(!(\"data\"in e))throw new Error(\"Invalid CTF JSON: missing data section\");if(!Array.isArray(e.data))throw new Error(\"Malformed CTF JSON: data section is not an array\");for(r=0;r<e.data.length;r++)s(e.data[r],t)}var u=e(\"assert\"),p=u.ok,l=[\"1.0\"],f=[\"integer\",\"float\",\"typedef\",\"struct\"],d=[\"int8_t\",\"uint8_t\",\"int16_t\",\"uint16_t\",\"int32_t\",\"uint32_t\",\"float\",\"double\"];n.ctfParseJson=c},{assert:void 0}],80:[function(e,t,n){function r(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return e[n]}function i(e,t,n){var r=0;return\"big\"==t?(r=e[n]<<8,r|=e[n+1]):(r=e[n],r|=e[n+1]<<8),r}function o(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i(e,t,n)}function a(e,t,n){var r=0;return\"big\"==t?(r=e[n+1]<<16,r|=e[n+2]<<8,r|=e[n+3],r+=e[n]<<24>>>0):(r=e[n+2]<<16,r|=e[n+1]<<8,r|=e[n],r+=e[n+3]<<24>>>0),r}function s(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return a(e,t,n)}function c(e,t,n){var r=new Array(2);return\"big\"==t?(r[0]=s(e,t,n),r[1]=s(e,t,n+4)):(r[0]=s(e,t,n+4),r[1]=s(e,t,n)),r}function u(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return c(e,t,n)}function p(e,t,n){var r;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return r=128&e[n],r?-1*(255-e[n]+1):e[n]}function l(e,t,n){var r,o;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return o=i(e,t,n),r=32768&o,r?-1*(65535-o+1):o}function f(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=a(e,t,n),r=2147483648&i,r?-1*(4294967295-i+1):i}function d(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=c(e,t,n),(r=2147483648&i[0])?(i[0]=-1*(4294967295-i[0]),i[1]=-1*(4294967295-i[1]+1),M.ok(i[1]<=4294967296),-4294967296==i[1]&&(i[1]=0,i[0]--),i):i}function h(e,t,n){var r,i,o,a,s=[],c=127,u=255;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(s[0]=e[n],s[1]=e[n+1],s[2]=e[n+2],s[3]=e[n+3]):(s[3]=e[n],s[2]=e[n+1],s[1]=e[n+2],s[0]=e[n+3]),r=128&s[0],i=(127&s[0])<<1,i|=(128&s[1])>>>7,o=(127&s[1])<<16,o|=s[2]<<8,o|=s[3],r||i!=u||0!==o?r&&i==u&&0===o?Number.NEGATIVE_INFINITY:i==u&&0!==o?Number.NaN:0===i&&0===o?0:(i-=c,i==-c?(i++,a=0):a=1,a=(a+o*Math.pow(2,-23))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function m(e,t,n){var r,i,o,a,s,c=[],u=1023,p=2047;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(c[0]=e[n],c[1]=e[n+1],c[2]=e[n+2],c[3]=e[n+3],c[4]=e[n+4],c[5]=e[n+5],c[6]=e[n+6],c[7]=e[n+7]):(c[7]=e[n],c[6]=e[n+1],c[5]=e[n+2],c[4]=e[n+3],c[3]=e[n+4],c[2]=e[n+5],c[1]=e[n+6],c[0]=e[n+7]),r=128&c[0],i=(127&c[0])<<4,i|=(240&c[1])>>>4,s=c[7],s|=c[6]<<8,s|=c[5]<<16,o=c[4],o|=c[3]<<8,o|=c[2]<<16,o|=(15&c[1])<<24,o*=Math.pow(2,24),o+=s,r||i!=p||0!==o?r&&i==p&&0===o?Number.NEGATIVE_INFINITY:i==p&&0!==o?Number.NaN:0===i&&0===o?0:(i-=u,i==-u?(i++,a=0):a=1,a=(a+o*Math.pow(2,-52))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function v(e,t){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(0>e)throw new Error(\"specified a negative value for writing an unsigned value\");if(e>t)throw new Error(\"value is larger than maximum value for type\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function g(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,255),n[r]=i}function y(e,t,n,r){\"big\"==t?(n[r]=(65280&e)>>>8,n[r+1]=255&e):(n[r+1]=(65280&e)>>>8,n[r]=255&e)}function b(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,65535),y(i,t,n,r)}function x(e,t,n,r){\"big\"==t?(n[r]=(e-(16777215&e))/Math.pow(2,24),n[r+1]=e>>>16&255,n[r+2]=e>>>8&255,n[r+3]=255&e):(n[r+3]=(e-(16777215&e))/Math.pow(2,24),n[r+2]=e>>>16&255,n[r+1]=e>>>8&255,n[r]=255&e)}function w(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,4294967295),x(i,t,n,r)}function _(e,t,n,r){\"big\"==t?(x(e[0],t,n,r),x(e[1],t,n,r+4)):(x(e[0],t,n,r+4),x(e[1],t,n,r))}function k(e,t,n,r){if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");v(e[0],4294967295),v(e[1],4294967295),_(e,t,n,r)}function j(e,t,n){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(e>t)throw new Error(\"value larger than maximum allowed value\");if(n>e)throw new Error(\"value smaller than minimum allowed value\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function S(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,127,-128),i>=0?g(i,t,n,r):g(255+i+1,t,n,r)}function E(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,32767,-32768),i>=0?y(i,t,n,r):y(65535+i+1,t,n,r)}function O(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,2147483647,-2147483648),i>=0?x(i,t,n,r):x(4294967295+i+1,t,n,r)}function A(e,t,n,r){var i,o,a=new Array(2);if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");if(i=e[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,o=e[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=e[0]&&0!=e[1]&&i!=o)throw new Error(\"Both entries in the array must have the same sign\");if(i)v(e[0],2147483647),v(e[1],4294967295);else if(j(e[0],0,-2147483648),j(e[1],0,-4294967295),-2147483648==e[0]&&0!=e[1])throw new Error(\"value smaller than minimum allowed value\");e[0]<0||e[1]<0?(a[0]=4294967295-Math.abs(e[0]),a[1]=4294967296-Math.abs(e[1]),4294967296==a[1]&&(a[1]=0,a[0]++)):(a[0]=e[0],a[1]=e[1]),_(a,t,n,r)}function C(e){return Math.log(e)/Math.log(2)}function T(e){return Math.floor(C(e))}function I(e){return Math.floor(C(e))}function P(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=255,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=255,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=255,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),-127>=s?(o=0,a=e*Math.pow(2,149)&8388607):(o=127+s,a=e*Math.pow(2,23-s),a&=8388607)),c[0]=i<<7|(254&o)>>>1,c[1]=(1&o)<<7|(8323072&a)>>>16,c[2]=(65280&a)>>>8,c[3]=255&a,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3]):(n[r]=c[3],n[r+1]=c[2],n[r+2]=c[1],n[r+3]=c[0])}function F(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=2047,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=2047,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=2047,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),2.225073858507201e-308>=e||-1023>=s?(o=0,a=e*Math.pow(2,1023)*Math.pow(2,51),a%=Math.pow(2,52)):(s>1023&&(s=1023),o=1023+s,a=e*Math.pow(2,-s),a*=Math.pow(2,52),a%=Math.pow(2,52))),c[7]=255&a,c[6]=a>>>8&255,c[5]=a>>>16&255,a=(a-(16777215&a))/Math.pow(2,24),c[4]=255&a,c[3]=a>>>8&255,c[2]=a>>>16&255,c[1]=(15&o)<<4|a>>>24,c[0]=i<<7|(2032&o)>>>4,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3],n[r+4]=c[4],n[r+5]=c[5],n[r+6]=c[6],n[r+7]=c[7]):(n[r+7]=c[0],n[r+6]=c[1],n[r+5]=c[2],n[r+4]=c[3],n[r+3]=c[4],n[r+2]=c[5],n[r+1]=c[6],n[r]=c[7])}var M=e(\"assert\");n.ruint8=r,n.ruint16=o,n.ruint32=s,n.ruint64=u,n.wuint8=g,n.wuint16=b,n.wuint32=w,n.wuint64=k,n.rsint8=p,n.rsint16=l,n.rsint32=f,n.rsint64=d,n.wsint8=S,n.wsint16=E,n.wsint32=O,n.wsint64=A,n.rfloat=h,n.rdouble=m,n.wfloat=P,n.wdouble=F},{assert:void 0}],81:[function(e,t,n){(function(t){function r(e,t,n){var r=N.ruint8(t,e,n);return{value:r,size:1}}function i(e,t,n){var r=N.ruint16(t,e,n);return{value:r,size:2}}function o(e,t,n){var r=N.ruint32(t,e,n);return{value:r,size:4}}function a(e,t,n){var r=N.ruint64(t,e,n);return{value:r,size:8}}function s(e,t,n){var r=N.rsint8(t,e,n);return{value:r,size:1}}function c(e,t,n){var r=N.rsint16(t,e,n);return{value:r,size:2}}function u(e,t,n){var r=N.rsint32(t,e,n);return{value:r,size:4}}function p(e,t,n){var r=N.rsint64(t,e,n);return{value:r,size:8}}function l(e,t,n){var r=N.rfloat(t,e,n);return{value:r,size:4}}function f(e,t,n){var r=N.rdouble(t,e,n);return{value:r,size:8}}function d(e,n,r){var i=new t(1);return i[0]=N.ruint8(n,e,r),{value:i,size:1}}function h(e,n,r,i){var o,a=new t(e);for(o=0;e>o;o++)a[o]=N.ruint8(r,n,i+o);return{value:a,size:e}}function m(e,t,n,r){return N.wuint8(e,t,n,r),1}function v(e,t,n,r){return N.wuint16(e,t,n,r),2}function g(e,t,n,r){return N.wuint32(e,t,n,r),4}function y(e,t,n,r){return N.wuint64(e,t,n,r),8}function b(e,t,n,r){return N.wsint8(e,t,n,r),1}function x(e,t,n,r){return N.wsint16(e,t,n,r),2}function w(e,t,n,r){return N.wsint32(e,t,n,r),4}function _(e,t,n,r){return N.wsint64(e,t,n,r),8}function k(e,t,n,r){return N.wfloat(e,t,n,r),4}function j(e,t,n,r){return N.wdouble(e,t,n,r),8}function S(e,n,r,i){if(!(e instanceof t))throw new Error(\"Input must be a buffer\");return N.ruint8(e[0],n,r,i),1}function E(e,n,r,i,o){var a;if(!(e instanceof t))throw new Error(\"Input must be a buffer\");if(e.length>n)throw new Error(\"value length greater than array length\");for(a=0;a<e.length&&n>a;a++)N.wuint8(e[a],r,i,o+a);for(;n>a;a++)N.wuint8(0,r,o+a);return n}function O(){var e,t={};for(e in q)t[e]=q[e];return t}function A(e){var t,n,r,i;if(\"string\"!=typeof e)throw new Error(\"type must be a Javascript string\");if(n=e.lastIndexOf(\"]\"),-1==n){if(-1!=e.lastIndexOf(\"[\"))throw new Error(\"found invalid type with '[' but no corresponding ']'\");return{type:e}}if(t=e.lastIndexOf(\"[\"),-1==t)throw new Error(\"found invalid type with ']' but no corresponding '['\");if(t>=n)throw new Error(\"malformed type, ']' appears before '['\");return r=e.substring(0,t),i=e.substring(t+1,n),{type:r,len:i}}function C(e,t,n){var r,i,o,a,s,c={};if(!(e instanceof Array))throw new Error(\"definition is not an array\");if(0===e.length)throw new Error(\"definition must have at least one element\");for(r=0;r<e.length;r++){if(o=e[r],!(o instanceof Object))throw new Error(\"definition must be an array ofobjects\");if(a=Object.keys(o),1!=a.length)throw new Error(\"definition entry must only have one key\");if(a[0]in c)throw new Error(\"Specified name already specified: \"+a[0]);if(!(\"type\"in o[a[0]]))throw new Error(\"missing required type definition\");for(s=A(o[a[0]].type);void 0!==s.len;){if(isNaN(parseInt(s.len,10))&&!(s.len in c))throw new Error(\"Given an array length without a matching type\");s=A(s.type)}if(!(s.type in t))throw new Error(\"type not found or typdefed: \"+s.type);if(void 0!==n)for(i=0;i<n.length;i++)if(!(n[i]in o[a[0]]))throw new Error(\"Missing required field: \"+n[i]);c[a[0]]=!0}}function T(e){if(!e)throw new Error(\"missing required argument\");if(!(\"endian\"in e))throw new Error(\"missing required endian value\");if(\"big\"!=e.endian&&\"little\"!=e.endian)throw new Error(\"Invalid endian type\");if(\"char-type\"in e&&\"uint8\"!=e[\"char-type\"]&&\"int8\"!=e[\"char-type\"])throw new Error(\"invalid option for char-type: \"+e[\"char-type\"]);this.endian=e.endian,this.types=O(),\"char-type\"in e&&\"uint8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.uint8_t),\"char-type\"in e&&\"int8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.int8_t)}function I(e,t){for(var n=\"\",r=A(e);void 0!==r.len;){if(isNaN(parseInt(r.len,10))){if(\"number\"!=typeof t[r.len])throw new Error(\"cannot sawp in non-number for array value\");n=\"[\"+t[r.len]+\"]\"+n}else n=\"[\"+r.len+\"]\"+n;r=A(r.type)}return n=r.type+n}function P(e){var t,n,r;for(n=[],t=0;t<e.length;t++)r=Object.keys(e[t])[0],D.ok(\"value\"in e[t][r]),n.push(e[t][r].value);return n}function F(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(e[0]>=1048576)throw new Error(\"value would become approximated\");return e[0]*Math.pow(2,32)+e[1]}function M(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");return Math.pow(2,32)*e[0]+e[1]}function z(e,t){var n=new T(t);return B.ctfParseJson(e,n),n}var B=e(\"./ctf.js\"),N=e(\"./ctio.js\"),D=e(\"assert\"),q={uint8_t:{read:r,write:m},uint16_t:{read:i,write:v},uint32_t:{read:o,write:g},uint64_t:{read:a,write:y},int8_t:{read:s,write:b},int16_t:{read:c,write:x},int32_t:{read:u,write:w},int64_t:{read:p,write:_},\"float\":{read:l,write:k},\"double\":{read:f,write:j},\"char\":{read:d,write:S},\"char[]\":{read:h,write:E}};T.prototype.setEndian=function(e){if(\"big\"!=e&&\"little\"!=e)throw new Error(\"invalid endian type, must be big or little\");this.endian=e},T.prototype.getEndian=function(){return this.endian},T.prototype.typedef=function(e,t){var n;if(void 0===e)throw new(Error(\"missing required typedef argument: name\"));if(void 0===t)throw new(Error(\"missing required typedef argument: value\"));if(\"string\"!=typeof e)throw new(Error(\"the name of a type must be a string\"));if(n=A(e),void 0!==n.len)throw new Error(\"Cannot have an array in the typedef name\");if(e in this.types)throw new Error(\"typedef name already present: \"+e);if(\"string\"!=typeof t&&!(t instanceof Array))throw new Error(\"typedef value must either be a string or struct\");if(\"string\"==typeof t){if(n=A(t),void 0!==n.len&&isNaN(parseInt(n.len,10)))throw new(Error(\"typedef value must use fixed size array when outside of a struct\"));this.types[e]=t}else C(t,this.types),this.types[e]=t},T.prototype.lstypes=function(){var e,t={};for(e in this.types)e in q||(t[e]=this.types[e]);return t},T.prototype.resolveTypedef=function(e,t,n,r,i){var o;if(D.ok(e in this.types),\"string\"==typeof this.types[e]){if(o=A(this.types[e]),\"read\"==t)return this.readEntry(o,n,r);if(\"write\"==t)return this.writeEntry(i,o,n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")}if(\"read\"==t)return this.readStruct(this.types[e],n,r);if(\"write\"==t)return this.writeStruct(i,this.types[e],n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")},T.prototype.readEntry=function(e,t,n){var r,i;if(void 0!==e.len){if(i=parseInt(e.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");r=\"char\"==e.type?this.types[\"char[]\"].read(i,this.endian,t,n):this.readArray(e.type,i,t,n)}else r=e.type in q?this.types[e.type].read(this.endian,t,n):this.resolveTypedef(e.type,\"read\",t,n);return r},T.prototype.readArray=function(e,t,n,r){var i,o,a,s=r,c=new Array(t);for(a=A(e),i=0;t>i;i++)o=this.readEntry(a,n,r),r+=o.size,c[i]=o.value;return{value:c,size:r-s}},T.prototype.readStruct=function(e,t,n){var r,i,o,a,s,c=n,u={};for(i=0;i<e.length;i++)s=Object.keys(e[i])[0],a=e[i][s],o=A(I(a.type,u)),\"offset\"in a&&(n=c+a.offset),r=this.readEntry(o,t,n),n+=r.size,u[s]=r.value;return{value:u,size:n-c}},T.prototype.readData=function(e,t,n){if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");return C(e,this.types),this.readStruct(e,t,n).value},T.prototype.writeArray=function(e,t,n,r,i){var o,a,s=i;if(!(e instanceof Array))throw new Error(\"asked to write an array, but value is not an array\");if(e.length!=n)throw new Error(\"asked to write array of length \"+n+\" but that does not match value length: \"+e.length);for(a=A(t),o=0;n>o;o++)i+=this.writeEntry(e[o],a,r,i);return i-s},T.prototype.writeEntry=function(e,t,n,r){var i,o;if(void 0!==t.len){if(i=parseInt(t.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");o=\"char\"==t.type?this.types[\"char[]\"].write(e,i,this.endian,n,r):this.writeArray(e,t.type,i,n,r)}else o=t.type in q?this.types[t.type].write(e,this.endian,n,r):this.resolveTypedef(t.type,\"write\",n,r,e);return o},T.prototype.writeStruct=function(e,t,n,r){var i,o,a,s,c=r,u={};for(i=0;i<t.length;i++)s=Object.keys(t[i])[0],o=t[i][s],a=A(I(o.type,u)),\"offset\"in o&&(r=c+o.offset),r+=this.writeEntry(e[i],a,n,r),u[s]=e[i];return r},T.prototype.writeData=function(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");if(i=null!=r&&void 0!=r){if(!Array.isArray(r))throw new Error(\"missing values for writing\");C(e,this.types)}else C(e,this.types,[\"value\"]);this.writeStruct(i?r:P(e),e,t,n)},n.Parser=T,n.toAbs64=F,n.toApprox64=M,n.parseCTF=z,n.ruint8=N.ruint8,n.ruint16=N.ruint16,n.ruint32=N.ruint32,n.ruint64=N.ruint64,n.wuint8=N.wuint8,n.wuint16=N.wuint16,n.wuint32=N.wuint32,n.wuint64=N.wuint64,n.rsint8=N.rsint8,n.rsint16=N.rsint16,n.rsint32=N.rsint32,n.rsint64=N.rsint64,n.wsint8=N.wsint8,n.wsint16=N.wsint16,n.wsint32=N.wsint32,n.wsint64=N.wsint64,n.rfloat=N.rfloat,n.rdouble=N.rdouble,n.wfloat=N.wfloat,n.wdouble=N.wdouble}).call(this,e(\"buffer\").Buffer)},{\"./ctf.js\":79,\"./ctio.js\":80,assert:void 0,buffer:void 0}],82:[function(e,t,n){function r(){return n.colors[p++%n.colors.length]}function i(e){function t(){}function i(){var e=i,t=+new Date,o=t-(u||t);e.diff=o,e.prev=u,e.curr=t,u=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),\"string\"!=typeof a[0]&&(a=[\"%o\"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,r){if(\"%%\"===t)return t;s++;var i=n.formatters[r];if(\"function\"==typeof i){var o=a[s];t=i.call(e,o),a.splice(s,1),s--}return t}),\"function\"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var c=i.log||n.log||console.log.bind(console);c.apply(e,a)}t.enabled=!1,i.enabled=!0;var o=n.enabled(e)?i:t;return o.namespace=e,o}function o(e){n.save(e);for(var t=(e||\"\").split(/[\\s,]+/),r=t.length,i=0;r>i;i++)t[i]&&(e=t[i].replace(/\\*/g,\".*?\"),\"-\"===e[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))}function a(){n.enable(\"\")}function s(e){var t,r;for(t=0,r=n.skips.length;r>t;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;r>t;t++)if(n.names[t].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={};var u,p=0},{ms:355}],83:[function(e,t,n){function r(){var e=(process.env.DEBUG_COLORS||\"\").trim().toLowerCase();return 0===e.length?u.isatty(l):\"0\"!==e&&\"no\"!==e&&\"false\"!==e&&\"disabled\"!==e}function i(){var e=arguments,t=this.useColors,r=this.namespace;if(t){var i=this.color;e[0]=\"  \u001b[3\"+i+\";1m\"+r+\" \u001b[0m\"+e[0]+\"\u001b[3\"+i+\"m +\"+n.humanize(this.diff)+\"\u001b[0m\"}else e[0]=(new Date).toUTCString()+\" \"+r+\" \"+e[0];return e}function o(){return f.write(p.format.apply(this,arguments)+\"\\n\")}function a(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e}function s(){return process.env.DEBUG}function c(t){var n,r=process.binding(\"tty_wrap\");switch(r.guessHandleType(t)){case\"TTY\":n=new u.WriteStream(t),n._type=\"tty\",n._handle&&n._handle.unref&&n._handle.unref();break;case\"FILE\":var i=e(\"fs\");n=new i.SyncWriteStream(t,{autoClose:!1}),n._type=\"fs\";break;case\"PIPE\":case\"TCP\":var o=e(\"net\");n=new o.Socket({fd:t,readable:!1,writable:!0}),n.readable=!1,n.read=null,n._type=\"pipe\",n._handle&&n._handle.unref&&n._handle.unref();break;default:throw new Error(\"Implement me. Unknown stream file type!\")}return n.fd=t,n._isStdio=!0,n}var u=e(\"tty\"),p=e(\"util\");n=t.exports=e(\"./debug\"),n.log=o,n.formatArgs=i,n.save=a,n.load=s,n.useColors=r,n.colors=[6,2,3,4,5,1];var l=parseInt(process.env.DEBUG_FD,10)||2,f=1===l?process.stdout:2===l?process.stderr:c(l),d=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};n.formatters.o=function(e){return d(e,this.useColors).replace(/\\s*\\n\\s*/g,\" \")},n.enable(s())},{\"./debug\":82,fs:void 0,net:void 0,tty:void 0,util:void 0}],84:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,\"readable\",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],85:[function(require,module,exports){function containsNamespace(e,t){var n=e.split(/[ ,]+/);t=String(t).toLowerCase();for(var r=0;r<n.length;r++)if((e=n[r])&&(\"*\"===e||e.toLowerCase()===t))return!0;return!1}function convertDataDescriptorToAccessor(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),i=r.value;return r.get=function(){return i},r.writable&&(r.set=function(e){return i=e}),delete r.value,delete r.writable,Object.defineProperty(e,t,r),r}function createArgumentsString(e){for(var t=\"\",n=0;e>n;n++)t+=\", arg\"+n;return t.substr(2)}function createStackString(e){var t=this.name+\": \"+this.namespace;this.message&&(t+=\" deprecated \"+this.message);for(var n=0;n<e.length;n++)t+=\"\\n    at \"+callSiteToString(e[n]);return t}function depd(e){function t(e){log.call(t,e)}if(!e)throw new TypeError(\"argument namespace is required\");var n=getStack(),r=callSiteLocation(n[1]),i=r[0];return t._file=i,t._ignored=isignored(e),t._namespace=e,t._traced=istraced(e),t._warned=Object.create(null),t[\"function\"]=wrapfunction,t.property=wrapproperty,t}function isignored(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||\"\";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||\"\";return containsNamespace(t,e)}function log(e,t){var n=0!==eventListenerCount(process,\"deprecation\");if(n||!this._ignored){var r,i,o,a=0,s=!1,c=getStack(),u=this._file;for(t?(o=callSiteLocation(c[1]),o.name=t.name,u=o[0]):(a=2,t=callSiteLocation(c[a]),o=t);a<c.length;a++)if(r=callSiteLocation(c[a]),i=r[0],i===u)s=!0;else if(i===this._file)u=this._file;else if(s)break;\nvar p=r?t.join(\":\")+\"__\"+r.join(\":\"):void 0;if(!(void 0!==p&&p in this._warned)){if(this._warned[p]=!0,e||(e=defaultMessage(o!==t&&o.name?o:t)),n){var l=DeprecationError(this._namespace,e,c.slice(a));return void process.emit(\"deprecation\",l)}var f=process.stderr.isTTY?formatColor:formatPlain,d=f.call(this,e,r,c.slice(a));process.stderr.write(d+\"\\n\",\"utf8\")}}}function callSiteLocation(e){var t=e.getFileName()||\"<anonymous>\",n=e.getLineNumber(),r=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+\", \"+t);var i=[t,n,r];return i.callSite=e,i.name=e.getFunctionName(),i}function defaultMessage(e){var t=e.callSite,n=e.name;n||(n=\"<anonymous@\"+formatLocation(e)+\">\");var r=t.getThis(),i=r&&t.getTypeName();return\"Object\"===i&&(i=void 0),\"Function\"===i&&(i=r.name||i),i&&t.getMethodName()?i+\".\"+n:n}function formatPlain(e,t,n){var r=(new Date).toUTCString(),i=r+\" \"+this._namespace+\" deprecated \"+e;if(this._traced){for(var o=0;o<n.length;o++)i+=\"\\n    at \"+callSiteToString(n[o]);return i}return t&&(i+=\" at \"+formatLocation(t)),i}function formatColor(e,t,n){var r=\"\u001b[36;1m\"+this._namespace+\"\u001b[22;39m \u001b[33;1mdeprecated\u001b[22;39m \u001b[0m\"+e+\"\u001b[39m\";if(this._traced){for(var i=0;i<n.length;i++)r+=\"\\n    \u001b[36mat \"+callSiteToString(n[i])+\"\u001b[39m\";return r}return t&&(r+=\" \u001b[36m\"+formatLocation(t)+\"\u001b[39m\"),r}function formatLocation(e){return relative(basePath,e[0])+\":\"+e[1]+\":\"+e[2]}function getStack(){var e=Error.stackTraceLimit,t={},n=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(t);var r=t.stack.slice(1);return Error.prepareStackTrace=n,Error.stackTraceLimit=e,r}function prepareObjectStackTrace(e,t){return t}function wrapfunction(fn,message){if(\"function\"!=typeof fn)throw new TypeError(\"argument fn must be a function\");var args=createArgumentsString(fn.length),deprecate=this,stack=getStack(),site=callSiteLocation(stack[1]);site.name=fn.name;var deprecatedfn=eval(\"(function (\"+args+') {\\n\"use strict\"\\nlog.call(deprecate, message, site)\\nreturn fn.apply(this, arguments)\\n})');return deprecatedfn}function wrapproperty(e,t,n){if(!e||\"object\"!=typeof e&&\"function\"!=typeof e)throw new TypeError(\"argument obj must be object\");var r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw new TypeError(\"must call property on owner object\");if(!r.configurable)throw new TypeError(\"property must be configurable\");var i=this,o=getStack(),a=callSiteLocation(o[1]);a.name=t,\"value\"in r&&(r=convertDataDescriptorToAccessor(e,t,n));var s=r.get,c=r.set;\"function\"==typeof s&&(r.get=function(){return log.call(i,n,a),s.apply(this,arguments)}),\"function\"==typeof c&&(r.set=function(){return log.call(i,n,a),c.apply(this,arguments)}),Object.defineProperty(e,t,r)}function DeprecationError(e,t,n){var r,i=new Error;return Object.defineProperty(i,\"constructor\",{value:DeprecationError}),Object.defineProperty(i,\"message\",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(i,\"name\",{enumerable:!1,configurable:!0,value:\"DeprecationError\",writable:!0}),Object.defineProperty(i,\"namespace\",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(i,\"stack\",{configurable:!0,enumerable:!1,get:function(){return void 0!==r?r:r=createStackString.call(this,n)},set:function(e){r=e}}),i}var callSiteToString=require(\"./lib/compat\").callSiteToString,eventListenerCount=require(\"./lib/compat\").eventListenerCount,relative=require(\"path\").relative;module.exports=depd;var basePath=process.cwd()},{\"./lib/compat\":89,path:void 0}],86:[function(e,t,n){(function(e){\"use strict\";function n(t){for(var n=0,r=0,i=t.length;i>r;r++)n+=t[r].length;for(var o=new e(n),a=0,r=0,i=t.length;i>r;r++)t[r].copy(o,a),a+=t[r].length;return o}t.exports=n}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],87:[function(e,t,n){\"use strict\";function r(e){var t,n=\"\";if(e.isNative()?n=\"native\":e.isEval()?(t=e.getScriptNameOrSourceURL(),t||(n=e.getEvalOrigin())):t=e.getFileName(),t){n+=t;var r=e.getLineNumber();if(null!=r){n+=\":\"+r;var i=e.getColumnNumber();i&&(n+=\":\"+i)}}return n||\"unknown source\"}function i(e){var t=!0,n=r(e),i=e.getFunctionName(),a=e.isConstructor(),s=!(e.isToplevel()||a),c=\"\";if(s){var u=e.getMethodName(),p=o(e);i?(p&&0!==i.indexOf(p)&&(c+=p+\".\"),c+=i,u&&i.lastIndexOf(\".\"+u)!==i.length-u.length-1&&(c+=\" [as \"+u+\"]\")):c+=p+\".\"+(u||\"<anonymous>\")}else a?c+=\"new \"+(i||\"<anonymous>\"):i?c+=i:(t=!1,c+=n);return t&&(c+=\" (\"+n+\")\"),c}function o(e){var t=e.receiver;return t.constructor&&t.constructor.name||null}t.exports=i},{}],88:[function(e,t,n){\"use strict\";function r(e,t){return e.listeners(t).length}t.exports=r},{}],89:[function(e,t,n){\"use strict\";function r(e,t,n){function r(){var r=n();return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r}),r}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}function i(e){return e.toString()}var o=e(\"buffer\"),a=e(\"events\").EventEmitter;r(t.exports,\"bufferConcat\",function(){return o.concat||e(\"./buffer-concat\")}),r(t.exports,\"callSiteToString\",function(){function t(e,t){return t}var n=Error.stackTraceLimit,r={},o=Error.prepareStackTrace;Error.prepareStackTrace=t,Error.stackTraceLimit=2,Error.captureStackTrace(r);var a=r.stack.slice();return Error.prepareStackTrace=o,Error.stackTraceLimit=n,a[0].toString?i:e(\"./callsite-tostring\")}),r(t.exports,\"eventListenerCount\",function(){return a.listenerCount||e(\"./event-listener-count\")})},{\"./buffer-concat\":86,\"./callsite-tostring\":87,\"./event-listener-count\":88,buffer:void 0,events:void 0}],90:[function(e,t,n){\"use strict\";function r(e){return e instanceof a?i(e):e instanceof s?(\"function\"==typeof e.destroy&&e.destroy(),e):e}function i(e){return e.destroy(),\"function\"==typeof e.close&&e.on(\"open\",o),e}function o(){\"number\"==typeof this.fd&&this.close()}var a=e(\"fs\").ReadStream,s=e(\"stream\");t.exports=r},{fs:void 0,stream:void 0}],91:[function(e,t,n){(function(t){function r(e,t){return e.length>=t?e:r(\"0\"+e,t)}var i=e(\"crypto\"),o=e(\"jsbn\").BigInteger;e(\"./lib/ec.js\").ECPointFp;n.ECCurves=e(\"./lib/sec.js\"),n.ECKey=function(e,n,a){var s,c=e(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(a){var e=c.getCurve();this.P=e.decodePointHex(n.toString(\"hex\"))}else{if(n.length!=p)return!1;s=new o(n.toString(\"hex\"),16)}else{var l=u.subtract(o.ONE),f=new o(i.randomBytes(u.bitLength()));s=f.mod(l).add(o.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),\"hex\")),s&&(this.PrivateKey=new t(r(s.toString(16),2*p),\"hex\"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var n=e.P.multiply(s);return new t(r(n.getX().toBigInteger().toString(16),2*p),\"hex\")})}}).call(this,e(\"buffer\").Buffer)},{\"./lib/ec.js\":92,\"./lib/sec.js\":93,buffer:void 0,crypto:void 0,jsbn:171}],92:[function(e,t,n){function r(e,t){this.x=t,this.q=e}function i(e){return e==this?!0:this.q.equals(e.q)&&this.x.equals(e.x)}function o(){return this.x}function a(){return new r(this.q,this.x.negate().mod(this.q))}function s(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function c(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function u(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function p(){return new r(this.q,this.x.square().mod(this.q))}function l(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function f(e,t,n,r){this.curve=e,this.x=t,this.y=n,null==r?this.z=I.ONE:this.z=r,this.zinv=null}function d(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function h(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function m(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,n;return t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t.equals(I.ZERO)?(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(I.ZERO)):!1}function v(){return null==this.x&&null==this.y?!0:this.z.equals(I.ZERO)&&!this.y.toBigInteger().equals(I.ZERO)}function g(){return new f(this.curve,this.x,this.y.negate(),this.z)}function y(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(I.ZERO.equals(n))return I.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new I(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),c=i.multiply(a),u=t.square().multiply(this.z),p=u.subtract(c.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),l=c.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(l),d)}function b(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new I(\"3\"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);I.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o))),a=a.mod(this.curve.q);var s=a.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),c=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(c),u)}function x(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new I(\"3\")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add(a?this:i))}return o}function w(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i}function _(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new f(this,null,null),this.reducer=new P(this.q)}function k(){return this.q}function j(){return this.a}function S(){return this.b}function E(e){return e==this?!0:this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function O(){return this.infinity}function A(e){return new r(this.q,e)}function C(e){this.reducer.reduce(e)}function T(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t=\"0\"+t;for(;n.length<r;)n=\"0\"+n;return\"04\"+t+n}var I=e(\"jsbn\").BigInteger,P=I.prototype.Barrett;r.prototype.equals=i,r.prototype.toBigInteger=o,r.prototype.negate=a,r.prototype.add=s,r.prototype.subtract=c,r.prototype.multiply=u,r.prototype.square=p,r.prototype.divide=l,f.prototype.getX=d,f.prototype.getY=h,f.prototype.equals=m,f.prototype.isInfinity=v,f.prototype.negate=g,f.prototype.add=y,f.prototype.twice=b,f.prototype.multiply=x,f.prototype.multiplyTwo=w,_.prototype.getQ=k,_.prototype.getA=j,_.prototype.getB=S,_.prototype.equals=E,_.prototype.getInfinity=O,_.prototype.fromBigInteger=A,_.prototype.reduce=C,_.prototype.encodePointHex=T,_.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var n=e.length-2,r=e.substr(2,n),i=this.fromBigInteger(new I(r,16)),o=i.multiply(i.square().add(this.getA())).add(this.getB()),a=o.sqrt();if(null==a)throw\"Invalid point compression\";var s=a.toBigInteger();return s.testBit(0)!=t&&(a=this.fromBigInteger(this.getQ().subtract(s))),new f(this,i,a);case 4:case 6:case 7:var n=(e.length-2)/2,r=e.substr(2,n),c=e.substr(n+2,n);return new f(this,this.fromBigInteger(new I(r,16)),this.fromBigInteger(new I(c,16)));default:return null}},_.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t=\"0\"+t;var r;return r=e.getY().toBigInteger().isEven()?\"02\":\"03\",r+t},r.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);-1==t.intValue()&&(this.r=I.ONE.shiftLeft(e).subtract(this.q))}return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var n=e.shiftRight(t),r=e.subtract(n.shiftLeft(t));this.getR().equals(I.ONE)||(n=n.multiply(this.getR())),e=n.add(r)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw\"unsupported\";if(this.q.testBit(1)){var e=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(I.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(I.ONE),n=t.shiftRight(1);if(!this.x.modPow(n,this.q).equals(I.ONE))return null;var i,o,a=t.shiftRight(2),s=a.shiftLeft(1).add(I.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do p=new I(this.q.bitLength(),new SecureRandom);while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(n,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(u))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new r(q,o)}while(i.equals(I.ONE)||i.equals(t));return null},r.prototype.lucasSequence=function(e,t,n){for(var r=n.bitLength(),i=n.getLowestSetBit(),o=I.ONE,a=I.TWO,s=e,c=I.ONE,u=I.ONE,p=r-1;p>=i+1;--p)c=this.modMult(c,u),n.testBit(p)?(u=this.modMult(c,t),o=this.modMult(o,s),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1)))):(u=c,o=this.modReduce(o.multiply(a).subtract(c)),s=this.modReduce(s.multiply(a).subtract(e.multiply(c))),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))));c=this.modMult(c,u),u=this.modMult(c,t),o=this.modReduce(o.multiply(a).subtract(c)),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),c=this.modMult(c,u);for(var p=1;i>=p;++p)o=this.modMult(o,a),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,a]};var n={ECCurveFp:_,ECPointFp:f,ECFieldElementFp:r};t.exports=n},{jsbn:171}],93:[function(e,t,n){function r(e,t,n,r){this.curve=e,this.g=t,this.n=n,this.h=r}function i(){return this.curve}function o(){return this.g}function a(){return this.n}function s(){return this.h}function c(e){return new v(e,16)}function u(){var e=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"E87579C11079F43DD824993C2CEE5ED3\"),i=c(\"FFFFFFFE0000000075A30D1B9038A115\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83\");return new r(a,s,i,o)}function p(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\"),t=v.ZERO,n=c(\"7\"),i=c(\"0100000000000000000001B8FA16DFAB9ACA16B6B3\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE\");return new r(a,s,i,o)}function l(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\"),n=c(\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\"),i=c(\"0100000000000000000001F4C8F927AED3CA752257\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32\");return new r(a,s,i,o)}function f(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\"),t=v.ZERO,n=c(\"3\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\");return new r(a,s,i,o)}function d(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\"),n=c(\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811\");return new r(a,s,i,o)}function h(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\"),n=c(\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\");return new r(a,s,i,o)}function m(){var e=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\"),i=c(\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\");return new r(a,s,i,o)}var v=e(\"jsbn\").BigInteger,g=e(\"./ec.js\").ECCurveFp;r.prototype.getCurve=i,r.prototype.getG=o,r.prototype.getN=a,r.prototype.getH=s,t.exports={secp128r1:u,secp160k1:p,secp160r1:l,secp192k1:f,secp192r1:d,secp224r1:h,secp256r1:m}},{\"./ec.js\":92,jsbn:171}],94:[function(e,t,n){\"use strict\";function r(e,t){function n(){r(),t.apply(null,arguments)}function r(){for(var e,t=0;t<a.length;t++)e=a[t],e.ee.removeListener(e.event,e.fn)}function o(e){t=e}if(!Array.isArray(e))throw new TypeError(\"arg must be an array of [ee, events...] arrays\");for(var a=[],s=0;s<e.length;s++){var c=e[s];if(!Array.isArray(c)||c.length<2)throw new TypeError(\"each array member must be [ee, events...]\");for(var u=c[0],p=1;p<c.length;p++){var l=c[p],f=i(l,n);u.on(l,f),a.push({ee:u,event:l,fn:f})}}return o.cancel=r,o}function i(e,t){return function(n){for(var r=new Array(arguments.length),i=this,o=\"error\"===e?n:null,a=0;a<r.length;a++)r[a]=arguments[a];t(o,i,e,r)}}t.exports=r},{}],95:[function(e,t,n){(function(n){(function(){\"use strict\";function r(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function i(e){return\"function\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){H=e}function s(e){K=e}function c(){return function(){process.nextTick(d)}}function u(){return function(){U(d)}}function p(){var e=0,t=new Z(d),n=document.createTextNode(\"\");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){e.port2.postMessage(0)}}function f(){return function(){setTimeout(d,1)}}function d(){for(var e=0;Y>e;e+=2){var t=ee[e],n=ee[e+1];t(n),ee[e]=void 0,ee[e+1]=void 0}Y=0}function h(){try{var t=e,n=t(\"vertx\");return U=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function m(){}function v(){return new TypeError(\"You cannot resolve a promise with itself\")}function g(){return new TypeError(\"A promises callback cannot return that same promise.\")}function y(e){try{return e.then}catch(t){return ie.error=t,ie}}function b(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function x(e,t,n){K(function(e){var r=!1,i=b(n,t,function(n){r||(r=!0,t!==n?k(e,n):S(e,n))},function(t){r||(r=!0,E(e,t))},\"Settle: \"+(e._label||\" unknown promise\"));!r&&i&&(r=!0,E(e,i))},e)}function w(e,t){t._state===ne?S(e,t._result):t._state===re?E(e,t._result):O(t,void 0,function(t){k(e,t)},function(t){E(e,t)})}function _(e,t){if(t.constructor===e.constructor)w(e,t);else{var n=y(t);n===ie?E(e,ie.error):void 0===n?S(e,t):i(n)?x(e,t,n):S(e,t)}}function k(e,t){e===t?E(e,v()):r(t)?_(e,t):S(e,t)}function j(e){e._onerror&&e._onerror(e._result),A(e)}function S(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(A,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,K(j,e))}function O(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ne]=n,i[o+re]=r,0===o&&e._state&&K(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?I(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function T(e,t){try{return e(t)}catch(n){return oe.error=n,oe}}function I(e,t,n,r){var o,a,s,c,u=i(n);if(u){if(o=T(n,r),o===oe?(c=!0,a=o.error,o=null):s=!0,t===o)return void E(t,g())}else o=r,s=!0;t._state!==te||(u&&s?k(t,o):c?E(t,a):e===ne?S(t,o):e===re&&E(t,o))}function P(e,t){try{t(function(t){k(e,t)},function(t){E(e,t)})}catch(n){E(e,n)}}function F(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(m),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?S(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&S(n.promise,n._result))):E(n.promise,n._validationError())}function M(e){return new ae(this,e).promise}function z(e){function t(e){k(i,e)}function n(e){E(i,e)}var r=this,i=new r(m);if(!W(e))return E(i,new TypeError(\"You must pass an array to race.\")),i;for(var o=e.length,a=0;i._state===te&&o>a;a++)O(r.resolve(e[a]),void 0,t,n);return i}function B(e){var t=this;if(e&&\"object\"==typeof e&&e.constructor===t)return e;var n=new t(m);return k(n,e),n}function N(e){var t=this,n=new t(m);return E(n,e),n}function D(){throw new TypeError(\"You must pass a resolver function as the first argument to the promise constructor\")}function q(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\")}function R(e){this._id=le++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==e&&(i(e)||D(),this instanceof R||q(),P(this,e))}function L(){var e;if(\"undefined\"!=typeof n)e=n;else if(\"undefined\"!=typeof self)e=self;else try{e=Function(\"return this\")()}catch(t){throw new Error(\"polyfill failed because global object is unavailable in this environment\")}var r=e.Promise;r&&\"[object Promise]\"===Object.prototype.toString.call(r.resolve())&&!r.cast||(e.Promise=fe)}var $;$=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};var U,H,V,W=$,Y=0,K=({}.toString,function(e,t){ee[Y]=e,ee[Y+1]=t,Y+=2,2===Y&&(H?H(d):V())}),G=\"undefined\"!=typeof window?window:void 0,J=G||{},Z=J.MutationObserver||J.WebKitMutationObserver,Q=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),X=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel,ee=new Array(1e3);V=Q?c():Z?p():X?l():void 0===G&&\"function\"==typeof e?h():f();var te=void 0,ne=1,re=2,ie=new C,oe=new C;F.prototype._validateInput=function(e){return W(e)},F.prototype._validationError=function(){return new Error(\"Array Methods must be provided an Array\")},F.prototype._init=function(){this._result=new Array(this.length)};var ae=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===te&&t>i;i++)e._eachEntry(r[i],i)},F.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;o(e)?e.constructor===r&&e._state!==te?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},F.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===te&&(r._remaining--,e===re?E(i,n):r._result[t]=n),0===r._remaining&&S(i,r._result)},F.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){n._settledAt(ne,t,e)},function(e){n._settledAt(re,t,e)})};var se=M,ce=z,ue=B,pe=N,le=0,fe=R;R.all=se,R.race=ce,R.resolve=ue,R.reject=pe,R._setScheduler=a,R._setAsap=s,R._asap=K,R.prototype={constructor:R,then:function(e,t){var n=this,r=n._state;if(r===ne&&!e||r===re&&!t)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];K(function(){I(r,i,a,o)})}else O(n,i,e,t);return i},\"catch\":function(e){return this.then(null,e)}};var de=L,he={Promise:fe,polyfill:de};\"function\"==typeof define&&define.amd?define(function(){return he}):\"undefined\"!=typeof t&&t.exports?t.exports=he:\"undefined\"!=typeof this&&(this.ES6Promise=he),de()}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],96:[function(e,t,n){\"use strict\";function r(e){var t=\"\"+e,n=i.exec(t);if(!n)return t;var r,o=\"\",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=\"&quot;\";break;case 38:r=\"&amp;\";break;case 39:r=\"&#39;\";break;case 60:r=\"&lt;\";break;case 62:r=\"&gt;\";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=r}return s!==a?o+t.substring(s,a):o}var i=/[\"'&<>]/;t.exports=r},{}],97:[function(e,t,n){(function(n){\"use strict\";function r(e){if(0===e.length)return'\"0-1B2M2Y8AsgTpgAmY7PhCfg\"';var t=s.createHash(\"md5\").update(e,\"utf8\").digest(\"base64\").replace(u,\"\"),r=\"string\"==typeof e?n.byteLength(e,\"utf8\"):e.length;return'\"'+r.toString(16)+\"-\"+t+'\"'}function i(e,t){if(null==e)throw new TypeError(\"argument entity is required\");var i=o(e),s=t&&\"boolean\"==typeof t.weak?t.weak:i;if(!i&&\"string\"!=typeof e&&!n.isBuffer(e))throw new TypeError(\"argument entity must be string, Buffer, or fs.Stats\");var c=i?a(e):r(e);return s?\"W/\"+c:c}function o(e){return\"function\"==typeof c&&e instanceof c?!0:e&&\"object\"==typeof e&&\"ctime\"in e&&\"[object Date]\"===p.call(e.ctime)&&\"mtime\"in e&&\"[object Date]\"===p.call(e.mtime)&&\"ino\"in e&&\"number\"==typeof e.ino&&\"size\"in e&&\"number\"==typeof e.size}function a(e){var t=e.mtime.getTime().toString(16),n=e.size.toString(16);return'\"'+n+\"-\"+t+'\"'}t.exports=i;var s=e(\"crypto\"),c=e(\"fs\").Stats,u=/=+$/,p=Object.prototype.toString}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,fs:void 0}],98:[function(e,t,n){\"use strict\";t.exports=e(\"./lib/express\")},{\"./lib/express\":100}],99:[function(e,t,n){\"use strict\";function r(e){\"test\"!==this.get(\"env\")&&console.error(e.stack||e.toString())}function i(e,t,n){try{e.render(t,n)}catch(r){n(r)}}var o=e(\"finalhandler\"),a=e(\"./router\"),s=e(\"methods\"),c=e(\"./middleware/init\"),u=e(\"./middleware/query\"),p=e(\"debug\")(\"express:application\"),l=e(\"./view\"),f=e(\"http\"),d=e(\"./utils\").compileETag,h=e(\"./utils\").compileQueryParser,m=e(\"./utils\").compileTrust,v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"utils-merge\"),b=e(\"path\").resolve,x=Array.prototype.slice,w=n=t.exports={},_=\"@@symbol:trust_proxy_default\";w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e=process.env.NODE_ENV||\"development\";this.enable(\"x-powered-by\"),this.set(\"etag\",\"weak\"),this.set(\"env\",e),this.set(\"query parser\",\"extended\"),this.set(\"subdomain offset\",2),this.set(\"trust proxy\",!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),p(\"booting in %s mode\",e),this.on(\"mount\",function(e){this.settings[_]===!0&&\"function\"==typeof e.settings[\"trust proxy fn\"]&&(delete this.settings[\"trust proxy\"],delete this.settings[\"trust proxy fn\"]),this.request.__proto__=e.request,this.response.__proto__=e.response,this.engines.__proto__=e.engines,this.settings.__proto__=e.settings}),this.locals=Object.create(null),this.mountpath=\"/\",this.locals.settings=this.settings,this.set(\"view\",l),this.set(\"views\",b(\"views\")),this.set(\"jsonp callback name\",\"callback\"),\"production\"===e&&this.enable(\"view cache\"),Object.defineProperty(this,\"router\",{get:function(){throw new Error(\"'app.router' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.\")}})},w.lazyrouter=function(){this._router||(this._router=new a({caseSensitive:this.enabled(\"case sensitive routing\"),strict:this.enabled(\"strict routing\")}),this._router.use(u(this.get(\"query parser fn\"))),this._router.use(c.init(this)))},w.handle=function(e,t,n){var i=this._router,a=n||o(e,t,{env:this.get(\"env\"),onerror:r.bind(this)});return i?void i.handle(e,t,a):(p(\"no routes defined on app\"),void a())},w.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"app.use() requires middleware functions\");this.lazyrouter();var o=this._router;return i.forEach(function(e){return e&&e.handle&&e.set?(p(\".use app under %s\",n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){t.__proto__=i.request,n.__proto__=i.response,r(e)})}),void e.emit(\"mount\",this)):o.use(n,e)},this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,t){if(\"function\"!=typeof t)throw new Error(\"callback function required\");var n=\".\"!==e[0]?\".\"+e:e;return this.engines[n]=t,this},w.param=function(e,t){if(this.lazyrouter(),Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this._router.param(e,t),this},w.set=function(e,t){if(1===arguments.length)return this.settings[e];switch(p('set \"%s\" to %o',e,t),this.settings[e]=t,e){case\"etag\":this.set(\"etag fn\",d(t));break;case\"query parser\":this.set(\"query parser fn\",h(t));break;case\"trust proxy\":this.set(\"trust proxy fn\",m(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1})}return this},w.path=function(){return this.parent?this.parent.path()+this.mountpath:\"\"},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},s.forEach(function(e){w[e]=function(t){if(\"get\"===e&&1===arguments.length)return this.set(t);this.lazyrouter();var n=this._router.route(t);return n[e].apply(n,x.call(arguments,1)),this}}),w.all=function(e){this.lazyrouter();for(var t=this._router.route(e),n=x.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},w.del=v[\"function\"](w[\"delete\"],\"app.del: Use app.delete instead\"),w.render=function(e,t,n){var r,o=this.cache,a=n,s=this.engines,c=t,u={};if(\"function\"==typeof t&&(a=t,c={}),y(u,this.locals),c._locals&&y(u,c._locals),y(u,c),null==u.cache&&(u.cache=this.enabled(\"view cache\")),u.cache&&(r=o[e]),!r){var p=this.get(\"view\");if(r=new p(e,{defaultEngine:this.get(\"view engine\"),root:this.get(\"views\"),engines:s}),!r.path){var l=Array.isArray(r.root)&&r.root.length>1?'directories \"'+r.root.slice(0,-1).join('\", \"')+'\" or \"'+r.root[r.root.length-1]+'\"':'directory \"'+r.root+'\"',f=new Error('Failed to lookup view \"'+e+'\" in views '+l);return f.view=r,a(f)}u.cache&&(o[e]=r)}i(r,u,a)},w.listen=function(){var e=f.createServer(this);return e.listen.apply(e,arguments)}},{\"./middleware/init\":101,\"./middleware/query\":102,\"./router\":105,\"./utils\":108,\"./view\":109,\"array-flatten\":3,debug:83,depd:85,finalhandler:115,http:void 0,methods:181,path:void 0,\"utils-merge\":531}],100:[function(e,t,n){\"use strict\";function r(){var e=function(t,n,r){e.handle(t,n,r)};return o(e,i.prototype,!1),o(e,a,!1),e.request={__proto__:u,app:e},e.response={__proto__:p,app:e},e.init(),e}var i=e(\"events\").EventEmitter,o=e(\"merge-descriptors\"),a=e(\"./application\"),s=e(\"./router/route\"),c=e(\"./router\"),u=e(\"./request\"),p=e(\"./response\");n=t.exports=r,n.application=a,n.request=u,n.response=p,n.Route=s,n.Router=c,n.query=e(\"./middleware/query\"),n[\"static\"]=e(\"serve-static\"),[\"json\",\"urlencoded\",\"bodyParser\",\"compress\",\"cookieSession\",\"session\",\"logger\",\"cookieParser\",\"favicon\",\"responseTime\",\"errorHandler\",\"timeout\",\"methodOverride\",\"vhost\",\"csrf\",\"directory\",\"limit\",\"multipart\",\"staticCache\"].forEach(function(e){\nObject.defineProperty(n,e,{get:function(){throw new Error(\"Most middleware (like \"+e+\") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.\")},configurable:!0})})},{\"./application\":99,\"./middleware/query\":102,\"./request\":103,\"./response\":104,\"./router\":105,\"./router/route\":107,events:void 0,\"merge-descriptors\":180,\"serve-static\":416}],101:[function(e,t,n){\"use strict\";n.init=function(e){return function(t,n,r){e.enabled(\"x-powered-by\")&&n.setHeader(\"X-Powered-By\",\"Express\"),t.res=n,n.req=t,t.next=r,t.__proto__=e.request,n.__proto__=e.response,n.locals=n.locals||Object.create(null),r()}}},{}],102:[function(e,t,n){\"use strict\";var r=e(\"parseurl\"),i=e(\"qs\");t.exports=function(e){var t=Object.create(e||null),n=i.parse;return\"function\"==typeof e&&(n=e,t=void 0),void 0!==t&&(void 0===t.allowDots&&(t.allowDots=!1),void 0===t.allowPrototypes&&(t.allowPrototypes=!0)),function(e,i,o){if(!e.query){var a=r(e).query;e.query=n(a,t)}o()}}},{parseurl:364,qs:110}],103:[function(e,t,n){\"use strict\";function r(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}var i=e(\"accepts\"),o=e(\"depd\")(\"express\"),a=e(\"net\").isIP,s=e(\"type-is\"),c=e(\"http\"),u=e(\"fresh\"),p=e(\"range-parser\"),l=e(\"parseurl\"),f=e(\"proxy-addr\"),d=n=t.exports={__proto__:c.IncomingMessage.prototype};d.get=d.header=function(e){var t=e.toLowerCase();switch(t){case\"referer\":case\"referrer\":return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=i(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=i(this);return e.encodings.apply(e,arguments)},d.acceptsEncoding=o[\"function\"](d.acceptsEncodings,\"req.acceptsEncoding: Use acceptsEncodings instead\"),d.acceptsCharsets=function(){var e=i(this);return e.charsets.apply(e,arguments)},d.acceptsCharset=o[\"function\"](d.acceptsCharsets,\"req.acceptsCharset: Use acceptsCharsets instead\"),d.acceptsLanguages=function(){var e=i(this);return e.languages.apply(e,arguments)},d.acceptsLanguage=o[\"function\"](d.acceptsLanguages,\"req.acceptsLanguage: Use acceptsLanguages instead\"),d.range=function(e){var t=this.get(\"Range\");if(t)return p(e,t)},d.param=function(e,t){var n=this.params||{},r=this.body||{},i=this.query||{},a=1===arguments.length?\"name\":\"name, default\";return o(\"req.param(\"+a+\"): Use req.params, req.body, or req.query instead\"),null!=n[e]&&n.hasOwnProperty(e)?n[e]:null!=r[e]?r[e]:null!=i[e]?i[e]:t},d.is=function(e){var t=e;if(!Array.isArray(e)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return s(this,t)},r(d,\"protocol\",function(){var e=this.connection.encrypted?\"https\":\"http\",t=this.app.get(\"trust proxy fn\");return t(this.connection.remoteAddress,0)?(e=this.get(\"X-Forwarded-Proto\")||e,e.split(/\\s*,\\s*/)[0]):e}),r(d,\"secure\",function(){return\"https\"===this.protocol}),r(d,\"ip\",function(){var e=this.app.get(\"trust proxy fn\");return f(this,e)}),r(d,\"ips\",function(){var e=this.app.get(\"trust proxy fn\"),t=f.all(this,e);return t.slice(1).reverse()}),r(d,\"subdomains\",function h(){var e=this.hostname;if(!e)return[];var t=this.app.get(\"subdomain offset\"),h=a(e)?[e]:e.split(\".\").reverse();return h.slice(t)}),r(d,\"path\",function(){return l(this).pathname}),r(d,\"hostname\",function(){var e=this.app.get(\"trust proxy fn\"),t=this.get(\"X-Forwarded-Host\");if(t&&e(this.connection.remoteAddress,0)||(t=this.get(\"Host\")),t){var n=\"[\"===t[0]?t.indexOf(\"]\")+1:0,r=t.indexOf(\":\",n);return-1!==r?t.substring(0,r):t}}),r(d,\"host\",o[\"function\"](function(){return this.hostname},\"req.host: Use req.hostname instead\")),r(d,\"fresh\",function(){var e=this.method,t=this.res.statusCode;return\"GET\"!=e&&\"HEAD\"!=e?!1:t>=200&&300>t||304==t?u(this.headers,this.res._headers||{}):!1}),r(d,\"stale\",function(){return!this.fresh}),r(d,\"xhr\",function(){var e=this.get(\"X-Requested-With\")||\"\";return\"xmlhttprequest\"===e.toLowerCase()})},{accepts:2,depd:85,fresh:120,http:void 0,net:void 0,parseurl:364,\"proxy-addr\":380,\"range-parser\":387,\"type-is\":467}],104:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n,r){function i(){if(!d){d=!0;var e=new Error(\"Request aborted\");e.code=\"ECONNABORTED\",r(e)}}function o(){if(!d){d=!0;var e=new Error(\"EISDIR, read\");e.code=\"EISDIR\",r(e)}}function a(e){d||(d=!0,r(e))}function s(){d||(d=!0,r())}function c(){f=!1}function p(e){return e&&\"ECONNRESET\"===e.code?i():e?a(e):void(d||setImmediate(function(){return f===!1||d?void(d||(d=!0,r())):void i()}))}function l(){f=!0}var f,d=!1;t.on(\"directory\",o),t.on(\"end\",s),t.on(\"error\",a),t.on(\"file\",c),t.on(\"stream\",l),u(e,p),n.headers&&t.on(\"headers\",function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e.setHeader(o,t[o])}}),t.pipe(e)}var i=e(\"content-disposition\"),o=e(\"depd\")(\"express\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"./utils\").isAbsolute,u=e(\"on-finished\"),p=e(\"path\"),l=e(\"utils-merge\"),f=e(\"cookie-signature\").sign,d=e(\"./utils\").normalizeType,h=e(\"./utils\").normalizeTypes,m=e(\"./utils\").setCharset,v=s.STATUS_CODES,g=e(\"cookie\"),y=e(\"send\"),b=p.extname,x=y.mime,w=p.resolve,_=e(\"vary\"),k=t.exports={__proto__:s.ServerResponse.prototype},j=/;\\s*charset\\s*=/;k.status=function(e){return this.statusCode=e,this},k.links=function(e){var t=this.get(\"Link\")||\"\";return t&&(t+=\", \"),this.set(\"Link\",t+Object.keys(e).map(function(t){return\"<\"+e[t]+'>; rel=\"'+t+'\"'}).join(\", \"))},k.send=function(e){var t,r,i,a=e,s=this.req,c=this.app;switch(2===arguments.length&&(\"number\"!=typeof arguments[0]&&\"number\"==typeof arguments[1]?(o(\"res.send(body, status): Use res.status(status).send(body) instead\"),this.statusCode=arguments[1]):(o(\"res.send(status, body): Use res.status(status).send(body) instead\"),this.statusCode=arguments[0],a=arguments[1])),\"number\"==typeof a&&1===arguments.length&&(this.get(\"Content-Type\")||this.type(\"txt\"),o(\"res.send(status): Use res.sendStatus(status) instead\"),this.statusCode=a,a=v[a]),typeof a){case\"string\":this.get(\"Content-Type\")||this.type(\"html\");break;case\"boolean\":case\"number\":case\"object\":if(null===a)a=\"\";else{if(!n.isBuffer(a))return this.json(a);this.get(\"Content-Type\")||this.type(\"bin\")}}\"string\"==typeof a&&(t=\"utf8\",i=this.get(\"Content-Type\"),\"string\"==typeof i&&this.set(\"Content-Type\",m(i,\"utf-8\"))),void 0!==a&&(n.isBuffer(a)||(a=new n(a,t),t=void 0),r=a.length,this.set(\"Content-Length\",r));var u,p=void 0!==r&&c.get(\"etag fn\");return\"function\"!=typeof p||this.get(\"ETag\")||(u=p(a,t))&&this.set(\"ETag\",u),s.fresh&&(this.statusCode=304),204!=this.statusCode&&304!=this.statusCode||(this.removeHeader(\"Content-Type\"),this.removeHeader(\"Content-Length\"),this.removeHeader(\"Transfer-Encoding\"),a=\"\"),\"HEAD\"===s.method?this.end():this.end(a,t),this},k.json=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.json(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.json(status, obj): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i);return this.get(\"Content-Type\")||this.set(\"Content-Type\",\"application/json\"),this.send(a)},k.jsonp=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.jsonp(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i),s=this.req.query[n.get(\"jsonp callback name\")];return this.get(\"Content-Type\")||(this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"application/json\")),Array.isArray(s)&&(s=s[0]),\"string\"==typeof s&&0!==s.length&&(this.charset=\"utf-8\",this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"text/javascript\"),s=s.replace(/[^\\[\\]\\w$.]/g,\"\"),a=a.replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"),a=\"/**/ typeof \"+s+\" === 'function' && \"+s+\"(\"+a+\");\"),this.send(a)},k.sendStatus=function(e){var t=v[e]||String(e);return this.statusCode=e,this.type(\"txt\"),this.send(t)},k.sendFile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,u=t||{};if(!e)throw new TypeError(\"path argument is required to res.sendFile\");if(\"function\"==typeof t&&(i=t,u={}),!u.root&&!c(e))throw new TypeError(\"path must be absolute or specify root to res.sendFile\");var p=encodeURI(e),l=y(o,p,u);r(a,l,u,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORTED\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,c=t||{};\"function\"==typeof t&&(i=t,c={});var u=y(o,e,c);r(a,u,c,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORT\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=o[\"function\"](k.sendfile,\"res.sendfile: Use res.sendFile instead\"),k.download=function(e,t,n){var r=n,o=t;\"function\"==typeof t&&(r=t,o=null);var a={\"Content-Disposition\":i(o||e)},s=w(e);return this.sendFile(s,{headers:a},r)},k.contentType=k.type=function(e){var t=-1===e.indexOf(\"/\")?x.lookup(e):e;return this.set(\"Content-Type\",t)},k.format=function(e){var t=this.req,n=t.next,r=e[\"default\"];r&&delete e[\"default\"];var i=Object.keys(e),o=i.length>0?t.accepts(i):!1;if(this.vary(\"Accept\"),o)this.set(\"Content-Type\",d(o).value),e[o](t,this,n);else if(r)r();else{var a=new Error(\"Not Acceptable\");a.status=a.statusCode=406,a.types=h(i).map(function(e){return e.value}),n(a)}return this},k.attachment=function(e){return e&&this.type(b(e)),this.set(\"Content-Disposition\",i(e)),this},k.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},k.set=k.header=function(e,t){if(2===arguments.length){var n=Array.isArray(t)?t.map(String):String(t);if(\"content-type\"===e.toLowerCase()&&!j.test(n)){var r=x.charsets.lookup(n.split(\";\")[0]);r&&(n+=\"; charset=\"+r.toLowerCase())}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this},k.get=function(e){return this.getHeader(e)},k.clearCookie=function(e,t){var n=l({expires:new Date(1),path:\"/\"},t);return this.cookie(e,\"\",n)},k.cookie=function(e,t,n){var r=l({},n),i=this.req.secret,o=r.signed;if(o&&!i)throw new Error('cookieParser(\"secret\") required for signed cookies');var a=\"object\"==typeof t?\"j:\"+JSON.stringify(t):String(t);return o&&(a=\"s:\"+f(a,i)),\"maxAge\"in r&&(r.expires=new Date(Date.now()+r.maxAge),r.maxAge/=1e3),null==r.path&&(r.path=\"/\"),this.append(\"Set-Cookie\",g.serialize(e,String(a),r)),this},k.location=function(e){var t=e;return\"back\"===e&&(t=this.req.get(\"Referrer\")||\"/\"),this.set(\"Location\",t),this},k.redirect=function(e){var t,r=e,i=302;2===arguments.length&&(\"number\"==typeof arguments[0]?(i=arguments[0],r=arguments[1]):(o(\"res.redirect(url, status): Use res.redirect(status, url) instead\"),i=arguments[1])),this.location(r),r=this.get(\"Location\"),this.format({text:function(){t=v[i]+\". Redirecting to \"+encodeURI(r)},html:function(){var e=a(r);t=\"<p>\"+v[i]+'. Redirecting to <a href=\"'+e+'\">'+e+\"</a></p>\"},\"default\":function(){t=\"\"}}),this.statusCode=i,this.set(\"Content-Length\",n.byteLength(t)),\"HEAD\"===this.req.method?this.end():this.end(t)},k.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o(\"res.vary(): Provide a field name\"),this):(_(this,e),this)},k.render=function(e,t,n){var r=this.req.app,i=n,o=t||{},a=this.req,s=this;\"function\"==typeof t&&(i=t,o={}),o._locals=s.locals,i=i||function(e,t){return e?a.next(e):void s.send(t)},r.render(e,o,i)}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":108,buffer:void 0,\"content-disposition\":73,cookie:76,\"cookie-signature\":75,depd:85,\"escape-html\":96,http:void 0,\"on-finished\":363,path:void 0,send:409,\"utils-merge\":531,vary:532}],105:[function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}function i(e){try{return y(e).pathname}catch(t){return}}function o(e){var t=typeof e;return\"object\"!==t?t:w.call(e).replace(b,\"$1\")}function a(e,t){try{return e.match(t)}catch(n){return n}}function s(e,t){if(\"object\"!=typeof t||!t)return e;var n=h({},t);if(!(0 in e&&0 in t))return h(n,e);for(var r=0,i=0;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],i>r&&delete e[r];return h(n,e)}function c(e,t){for(var n=new Array(arguments.length-2),r=new Array(arguments.length-2),i=0;i<n.length;i++)n[i]=arguments[i+2],r[i]=t[n[i]];return function(i){for(var o=0;o<n.length;o++)t[n[o]]=r[o];return e.apply(this,arguments)}}function u(e,t,n){try{var r=t.join(\",\");e.set(\"Allow\",r),e.send(r)}catch(i){n(i)}}function p(e,t){return function(){var n=new Array(arguments.length+1);n[0]=e;for(var r=0,i=arguments.length;i>r;r++)n[r+1]=arguments[r];t.apply(this,n)}}var l=e(\"./route\"),f=e(\"./layer\"),d=e(\"methods\"),h=e(\"utils-merge\"),m=e(\"debug\")(\"express:router\"),v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"parseurl\"),b=/^\\[object (\\S+)\\]$/,x=Array.prototype.slice,w=Object.prototype.toString,_=t.exports=function(e){function t(e,n,r){t.handle(e,n,r)}var n=e||{};return t.__proto__=_,t.params={},t._params=[],t.caseSensitive=n.caseSensitive,t.mergeParams=n.mergeParams,t.strict=n.strict,t.stack=[],t};_.param=function(e,t){if(\"function\"==typeof e)return v(\"router.param(fn): Refactor to use path params\"),void this._params.push(e);var n,r=this._params,i=r.length;\":\"===e[0]&&(v(\"router.param(\"+JSON.stringify(e)+\", fn): Use router.param(\"+JSON.stringify(e.substr(1))+\", fn) instead\"),e=e.substr(1));for(var o=0;i>o;++o)(n=r[o](e,t))&&(t=n);if(\"function\"!=typeof t)throw new Error(\"invalid param() call for \"+e+\", got \"+t);return(this.params[e]=this.params[e]||[]).push(t),this},_.handle=function(e,t,n){function o(n){var c=\"route\"===n?null:n;if(x&&(e.url=e.url.substr(1),x=!1),0!==b.length&&(e.baseUrl=S,e.url=g+b+e.url.substr(g.length),b=\"\"),y>=k.length)return void setImmediate(E,c);var u=i(e);if(null==u)return E(c);for(var p,d,h;d!==!0&&y<k.length;)if(p=k[y++],d=a(p,u),h=p.route,\"boolean\"!=typeof d&&(c=c||d),d===!0&&h)if(c)d=!1;else{var m=e.method,v=h._handles_method(m);v||\"OPTIONS\"!==m||r(_,h._options()),v||\"HEAD\"===m||(d=!1)}if(d!==!0)return E(c);h&&(e.route=h),e.params=f.mergeParams?s(p.params,j):p.params;var O=p.path;f.process_params(p,w,e,t,function(n){return n?o(c||n):h?p.handle_request(e,t,o):void l(p,c,O,u)})}function l(n,r,i,a){var s=a[i.length];return s&&\"/\"!==s&&\".\"!==s?o(r):(0!==i.length&&(m(\"trim prefix (%s) from url %s\",i,e.url),b=i,e.url=g+e.url.substr(g.length+b.length),v||\"/\"===e.url[0]||(e.url=\"/\"+e.url,x=!0),e.baseUrl=S+(\"/\"===b[b.length-1]?b.substring(0,b.length-1):b)),m(\"%s %s : %s\",n.name,i,e.originalUrl),void(r?n.handle_error(r,e,t,o):n.handle_request(e,t,o)))}var f=this;m(\"dispatching %s %s\",e.method,e.url);var d=1+e.url.indexOf(\"?\"),h=d?d-1:e.url.length,v=\"/\"!==e.url[0]&&1+e.url.substr(0,h).indexOf(\"://\"),g=v?e.url.substr(0,e.url.indexOf(\"/\",2+v)):\"\",y=0,b=\"\",x=!1,w={},_=[],k=f.stack,j=e.params,S=e.baseUrl||\"\",E=c(n,e,\"baseUrl\",\"next\",\"params\");e.next=o,\"OPTIONS\"===e.method&&(E=p(E,function(e,n){return n||0===_.length?e(n):void u(t,_,e)})),e.baseUrl=S,e.originalUrl=e.originalUrl||e.url,o()},_.process_params=function(e,t,n,r,i){function o(e){return e?i(e):h>=c.length?i():(m=0,(p=c[h++])?(u=p.name,l=n.params[u],f=s[u],d=t[u],void 0!==l&&f?d&&(d.match===l||d.error&&\"route\"!==d.error)?(n.params[u]=d.value,o(d.error)):(t[u]=d={error:null,match:l,value:l},void a()):o()):i())}function a(e){var t=f[m++];if(d.value=n.params[p.name],e)return d.error=e,void o(e);if(!t)return o();try{t(n,r,a,l,p.name)}catch(i){a(i)}}var s=this.params,c=e.keys;if(!c||0===c.length)return i();var u,p,l,f,d,h=0,m=0;o()},_.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"Router.use() requires middleware functions\");for(var a=0;a<i.length;a++){var e=i[a];if(\"function\"!=typeof e)throw new TypeError(\"Router.use() requires middleware function but got a \"+o(e));m(\"use %s %s\",n,e.name||\"<anonymous>\");var s=new f(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},_.route=function k(e){var k=new l(e),t=new f(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},k.dispatch.bind(k));return t.route=k,this.stack.push(t),k},d.concat(\"all\").forEach(function(e){_[e]=function(t){var n=this.route(t);return n[e].apply(n,x.call(arguments,1)),this}})},{\"./layer\":106,\"./route\":107,\"array-flatten\":3,debug:83,depd:85,methods:181,parseurl:364,\"utils-merge\":531}],106:[function(e,t,n){\"use strict\";function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);a(\"new %s\",e);var i=t||{};this.handle=n,this.name=n.name||\"<anonymous>\",this.params=void 0,this.path=void 0,this.regexp=o(e,this.keys=[],i),\"/\"===e&&i.end===!1&&(this.regexp.fast_slash=!0)}function i(e){if(\"string\"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=\"Failed to decode param '\"+e+\"'\",t.status=t.statusCode=400),t}}var o=e(\"path-to-regexp\"),a=e(\"debug\")(\"express:router:layer\"),s=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.handle_error=function(e,t,n,r){var i=this.handle;if(4!==i.length)return r(e);try{i(e,t,n,r)}catch(o){r(o)}},r.prototype.handle_request=function(e,t,n){var r=this.handle;if(r.length>3)return n();try{r(e,t,n)}catch(i){n(i)}},r.prototype.match=function(e){if(null==e)return this.params=void 0,this.path=void 0,!1;if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;var t=this.regexp.exec(e);if(!t)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var n=this.keys,r=this.params,o=1;o<t.length;o++){var a=n[o-1],c=a.name,u=i(t[o]);void 0===u&&s.call(r,c)||(r[c]=u)}return!0}},{debug:83,\"path-to-regexp\":375}],107:[function(e,t,n){\"use strict\";function r(e){this.path=e,this.stack=[],i(\"new %s\",e),this.methods={}}var i=e(\"debug\")(\"express:router:route\"),o=e(\"array-flatten\"),a=e(\"./layer\"),s=e(\"methods\"),c=Array.prototype.slice,u=Object.prototype.toString;t.exports=r,r.prototype._handles_method=function(e){if(this.methods._all)return!0;var t=e.toLowerCase();return\"head\"!==t||this.methods.head||(t=\"get\"),Boolean(this.methods[t])},r.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(\"head\");for(var t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},r.prototype.dispatch=function(e,t,n){function r(s){if(s&&\"route\"===s)return n();var c=o[i++];return c?c.method&&c.method!==a?r(s):void(s?c.handle_error(s,e,t,r):c.handle_request(e,t,r)):n(s)}var i=0,o=this.stack;if(0===o.length)return n();var a=e.method.toLowerCase();\"head\"!==a||this.methods.head||(a=\"get\"),e.route=this,r()},r.prototype.all=function(){for(var e=o(c.call(arguments)),t=0;t<e.length;t++){var n=e[t];if(\"function\"!=typeof n){var r=u.call(n),i=\"Route.all() requires callback functions but got a \"+r;throw new TypeError(i)}var s=a(\"/\",{},n);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this},s.forEach(function(e){r.prototype[e]=function(){for(var t=o(c.call(arguments)),n=0;n<t.length;n++){var r=t[n];if(\"function\"!=typeof r){var s=u.call(r),p=\"Route.\"+e+\"() requires callback functions but got a \"+s;throw new Error(p)}i(\"%s %s\",e,this.path);var l=a(\"/\",{},r);l.method=e,this.methods[e]=!0,this.stack.push(l)}return this}})},{\"./layer\":106,\"array-flatten\":3,debug:83,methods:181}],108:[function(e,t,n){(function(t){\"use strict\";function r(e,t){for(var n=e.split(/ *; */),r={value:n[0],quality:1,params:{},originalIndex:t},i=1;i<n.length;++i){var o=n[i].split(/ *= */);\"q\"==o[0]?r.quality=parseFloat(o[1]):r.params[o[0]]=o[1]}return r}function i(e){return d.parse(e,{allowDots:!1,allowPrototypes:!0})}function o(){return{}}var a=e(\"content-disposition\"),s=e(\"content-type\"),c=e(\"depd\")(\"express\"),u=e(\"array-flatten\"),p=e(\"send\").mime,l=(e(\"path\").basename,e(\"etag\")),f=e(\"proxy-addr\"),d=e(\"qs\"),h=e(\"querystring\");n.etag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!1})},n.wetag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!0})},n.isAbsolute=function(e){return\"/\"==e[0]?!0:\":\"==e[1]&&\"\\\\\"==e[2]?!0:\"\\\\\\\\\"==e.substring(0,2)?!0:void 0},n.flatten=c[\"function\"](u,\"utils.flatten: use array-flatten npm module instead\"),n.normalizeType=function(e){return~e.indexOf(\"/\")?r(e):{value:p.lookup(e),params:{}}},n.normalizeTypes=function(e){for(var t=[],r=0;r<e.length;++r)t.push(n.normalizeType(e[r]));return t},n.contentDisposition=c[\"function\"](a,\"utils.contentDisposition: use content-disposition npm module instead\"),n.compileETag=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=n.wetag;break;case!1:break;case\"strong\":t=n.etag;break;case\"weak\":t=n.wetag;break;default:throw new TypeError(\"unknown value for etag function: \"+e)}return t},n.compileQueryParser=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=h.parse;break;case!1:t=o;break;case\"extended\":t=i;break;case\"simple\":t=h.parse;break;default:throw new TypeError(\"unknown value for query parser function: \"+e)}return t},n.compileTrust=function(e){return\"function\"==typeof e?e:e===!0?function(){return!0}:\"number\"==typeof e?function(t,n){return e>n}:(\"string\"==typeof e&&(e=e.split(/ *, */)),f.compile(e||[]))},n.setCharset=function(e,t){if(!e||!t)return e;var n=s.parse(e);return n.parameters.charset=t,s.format(n)}}).call(this,e(\"buffer\").Buffer)},{\"array-flatten\":3,buffer:void 0,\"content-disposition\":73,\"content-type\":74,depd:85,etag:97,path:void 0,\"proxy-addr\":380,qs:110,querystring:void 0,send:409}],109:[function(e,t,n){\"use strict\";function r(t,n){var r=n||{};if(this.defaultEngine=r.defaultEngine,this.ext=p(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error(\"No default engine was specified and no extension was provided.\");var i=t;this.ext||(this.ext=\".\"!==this.defaultEngine[0]?\".\"+this.defaultEngine:this.defaultEngine,i+=this.ext),r.engines[this.ext]||(r.engines[this.ext]=e(this.ext.substr(1)).__express),this.engine=r.engines[this.ext],this.path=this.lookup(i)}function i(e){o('stat \"%s\"',e);try{return s.statSync(e)}catch(t){return}}var o=e(\"debug\")(\"express:view\"),a=e(\"path\"),s=e(\"fs\"),c=(e(\"./utils\"),a.dirname),u=a.basename,p=a.extname,l=a.join,f=a.resolve;t.exports=r,r.prototype.lookup=function(e){var t,n=[].concat(this.root);o('lookup \"%s\"',e);for(var r=0;r<n.length&&!t;r++){var i=n[r],a=f(i,e),s=c(a),p=u(a);t=this.resolve(s,p)}return t},r.prototype.render=function(e,t){o('render \"%s\"',this.path),this.engine(this.path,e,t)},r.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),o=i(r);return o&&o.isFile()?r:(r=l(e,u(t,n),\"index\"+n),o=i(r),o&&o.isFile()?r:void 0)}},{\"./utils\":108,debug:83,fs:void 0,path:void 0}],110:[function(e,t,n){var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":111,\"./stringify\":112}],111:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\",t.strictNullHandling&&(n[r.decode(s)]=null);else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));Object.prototype.hasOwnProperty.call(n,u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&o!==a&&c===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"));var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e),s=[];if(a[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!n.allowPrototypes)return;s.push(a[1])}for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,(n.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}},t.exports=function(e,t){if(t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects=\"boolean\"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes=\"boolean\"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return t.plainObjects?Object.create(null):{};for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p,t)}return r.compact(o)}},{\"./utils\":113}],112:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e,t){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e,t){return e}},strictNullHandling:!1};i.stringify=function(e,t,n,o,a){if(\"function\"==typeof a)e=a(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(o)return r.encode(t);e=\"\"}if(\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[r.encode(t)+\"=\"+r.encode(e)];var s=[];if(\"undefined\"==typeof e)return s;for(var c=Array.isArray(a)?a:Object.keys(e),u=0,p=c.length;p>u;++u){var l=c[u];s=Array.isArray(e)?s.concat(i.stringify(e[l],n(t,l),n,o,a)):s.concat(i.stringify(e[l],t+\"[\"+l+\"]\",n,o,a))}return s},t.exports=function(e,t){t=t||{};var n,r,o=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter,a=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling;\"function\"==typeof t.filter?(r=t.filter,e=r(\"\",e)):Array.isArray(t.filter)&&(n=r=t.filter);var s=[];if(\"object\"!=typeof e||null===e)return\"\";var c;c=t.arrayFormat in i.arrayPrefixGenerators?t.arrayFormat:\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var u=i.arrayPrefixGenerators[c];n||(n=Object.keys(e));for(var p=0,l=n.length;l>p;++p){var f=n[p];s=s.concat(i.stringify(e[f],f,u,a,r))}return s.join(o)}},{\"./utils\":113}],113:[function(e,t,n){var r={};r.hexTable=new Array(256);for(var i=0;256>i;++i)r.hexTable[i]=\"%\"+((16>i?\"0\":\"\")+i.toString(16)).toUpperCase();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,i=e.length;i>r;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):\"object\"==typeof e?e[t]=!0:e=[e,t],e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e,r));for(var i=Object.keys(t),o=0,a=i.length;a>o;++o){var s=i[o],c=t[s];Object.prototype.hasOwnProperty.call(e,s)?e[s]=n.merge(e[s],c,r):e[s]=c}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;\"string\"!=typeof e&&(e=\"\"+e);for(var t=\"\",n=0,i=e.length;i>n;++n){var o=e.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?t+=e[n]:128>o?t+=r.hexTable[o]:2048>o?t+=r.hexTable[192|o>>6]+r.hexTable[128|63&o]:55296>o||o>=57344?t+=r.hexTable[224|o>>12]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o]:(++n,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t+=r.hexTable[240|o>>18]+r.hexTable[128|o>>12&63]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o])}return t},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],114:[function(e,t,n){function r(e){var t,n,r,c,u,p,l,f,d,h=[\"([^%]*)\",\"%\",\"(['\\\\-+ #0]*?)\",\"([1-9]\\\\d*)?\",\"(\\\\.([1-9]\\\\d*))?\",\"[lhjztL]*?\",\"([diouxXfFeEgGaAcCsSp%jr])\"].join(\"\"),m=new RegExp(h),v=Array.prototype.slice.call(arguments,1),g=\"\",y=1;for(a.equal(\"string\",typeof e);null!==(d=m.exec(e));)if(g+=d[1],e=e.substring(d[0].length),t=d[2]||\"\",n=d[3]||0,r=d[4]||\"\",c=d[6],u=!1,l=!1,p=\" \",\"%\"!=c){if(0===v.length)throw new Error(\"too few args to sprintf\");if(f=v.shift(),y++,t.match(/[\\' #]/))throw new Error(\"unsupported flags: \"+t);if(r.length>0)throw new Error(\"non-zero precision not supported\");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(p=\"0\"),t.match(/\\+/)&&(l=!0),c){case\"s\":if(void 0===f||null===f)throw new Error(\"argument \"+y+\": attempted to print undefined or null as a string\");g+=i(p,n,u,f.toString());break;case\"d\":f=Math.floor(f);case\"f\":l=l&&f>0?\"+\":\"\",g+=l+i(p,n,u,f.toString());break;case\"j\":0===n&&(n=10),g+=s.inspect(f,!1,n);break;case\"r\":g+=o(f);break;default:throw new Error(\"unsupported conversion: \"+c)}}else g+=\"%\";return g+=e}function i(e,t,n,r){for(var i=r;i.length<t;)n?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(r(\"invalid type for %%r: %j\",e));if(t=\"EXCEPTION: \"+e.constructor.name+\": \"+e.stack,e.cause&&\"function\"==typeof e.cause){var n=e.cause();n&&(t+=\"\\nCaused by: \"+o(n))}return t}var a=e(\"assert\"),s=e(\"util\");n.sprintf=r},{assert:void 0,util:void 0}],115:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){var r=n||{},c=r.env||process.env.NODE_ENV||\"development\",u=r.onerror;return function(n){var r=t.statusCode;if(!n&&t._header)return void o(\"cannot 404 after headers sent\");if(n){n.statusCode&&(r=n.statusCode),n.status&&(r=n.status),(!r||400>r)&&(r=500);var l=\"production\"===c?s.STATUS_CODES[r]:n.stack||n.toString();l=a(l).replace(/\\n/g,\"<br>\").replace(/  /g,\" &nbsp;\")+\"\\n\"}else r=404,l=\"Cannot \"+a(e.method)+\" \"+a(e.originalUrl||e.url)+\"\\n\";return o(\"default %s\",r),n&&u&&p(u,n,e,t),t._header?e.socket.destroy():void i(e,t,r,l)}}function i(e,t,r,i){function o(){return t.statusCode=r,t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.setHeader(\"Content-Type\",\"text/html; charset=utf-8\"),t.setHeader(\"Content-Length\",n.byteLength(i,\"utf8\")),\"HEAD\"===e.method?void t.end():void t.end(i,\"utf8\")}return l(e)?void o():(u(e),c(e,o),void e.resume())}var o=e(\"debug\")(\"finalhandler\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"on-finished\"),u=e(\"unpipe\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},l=c.isFinished;t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,\"escape-html\":96,http:void 0,\"on-finished\":363,unpipe:529}],116:[function(e,t,n){function r(e,t){var n=\"\";return n=\"string\"==typeof e?e+\":\"+t:e.host+\":\"+e.port+\":\"+(e.localAddress?e.localAddress+\":\":\":\")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||c.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on(\"free\",function(e,n,i){var o=r(n,i);if(t.requests[o]&&t.requests[o].length)t.requests[o].shift().onSocket(e);else if(t.sockets[o].length<t.minSockets){t.freeSockets[o]||(t.freeSockets[o]=[]),t.freeSockets[o].push(e);var a=function(){e.destroy()};e._onIdleError=a,e.on(\"error\",a)}else e.destroy()})}function o(e){i.call(this,e)}function a(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\n\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),p.connect(n)}t.exports=i,i.SSL=o;var s=e(\"util\"),c=e(\"http\").Agent,u=e(\"net\"),p=e(\"tls\"),l=e(\"https\").Agent;s.inherits(i,c),i.defaultMinSockets=5,i.prototype.createConnection=u.createConnection,i.prototype.addRequestNoreuse=c.prototype.addRequest,i.prototype.addRequest=function(e,t,n){var i=r(t,n);if(\"string\"!=typeof t){var o=t;n=o.port,t=o.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[i].pop();a.removeListener(\"error\",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,n)},i.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},s.inherits(o,i),o.prototype.createConnection=a,o.prototype.addRequestNoreuse=l.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],117:[function(e,t,n){(function(n){function r(){if(!(this instanceof r))throw new TypeError(\"Failed to construct FormData: Please use the _new_ operator, this object constructor cannot be called as a function.\");this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],i.call(this)}var i=e(\"combined-stream\"),o=e(\"util\"),a=e(\"path\"),s=e(\"http\"),c=e(\"https\"),u=e(\"url\").parse,p=e(\"fs\"),l=e(\"mime-types\"),f=e(\"async\"),d=e(\"./populate.js\");t.exports=r,o.inherits(r,i),r.LINE_BREAK=\"\\r\\n\",r.DEFAULT_CONTENT_TYPE=\"application/octet-stream\",r.prototype.append=function(e,t,n){n=n||{},\"string\"==typeof n&&(n={filename:n});var r=i.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),o.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(a),r(t),r(s),this._trackLength(a,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):p.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){if(n.header)return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a=\"\",s={\"Content-Disposition\":[\"form-data\",'name=\"'+e+'\"'].concat(i||[]),\"Content-Type\":[].concat(o||[])};for(var c in s)s[c].length&&(a+=c+\": \"+s[c].join(\"; \")+r.LINE_BREAK);return\"--\"+this.getBoundary()+r.LINE_BREAK+a+r.LINE_BREAK},r.prototype._getContentDisposition=function(e,t){var n,r=t.filename||e.path;return!r&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(r=e.client._httpMessage.path),r&&(n='filename=\"'+a.basename(r)+'\"'),n},r.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(n=e.headers[\"content-type\"]),!n&&t.filename&&(n=l.lookup(t.filename)),n||\"object\"!=typeof e||(n=r.DEFAULT_CONTENT_TYPE),n},r.prototype._multiPartFooter=function(){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"+r.LINE_BREAK},r.prototype.getHeaders=function(e){var t,n={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),e},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void f.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,i={method:\"post\"};return\"string\"==typeof e?(e=u(e),r=d({port:e.port,path:e.pathname,host:e.hostname},i)):(r=d(e,i),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==r.protocol?c.request(r):s.request(r),this.getLength(function(e,r){return e?void this._error(e):(n.setHeader(\"Content-Length\",r),this.pipe(n),void(t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{\"./populate.js\":118,async:11,buffer:void 0,\"combined-stream\":72,fs:void 0,http:void 0,https:void 0,\"mime-types\":184,path:void 0,url:void 0,util:void 0}],118:[function(e,t,n){t.exports=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e[n]&&(e[n]=t[n]);return e}},{}],119:[function(e,t,n){function r(e){if(!e)throw new TypeError(\"argument req is required\");var t=(e.headers[\"x-forwarded-for\"]||\"\").split(/ *, */).filter(Boolean).reverse(),n=e.connection.remoteAddress,r=[n].concat(t);return r}t.exports=r},{}],120:[function(e,t,n){function r(e,t){var n=!0,r=!0,i=e[\"if-modified-since\"],o=e[\"if-none-match\"],a=t[\"last-modified\"],s=t.etag,c=e[\"cache-control\"];return i||o?c&&-1!==c.indexOf(\"no-cache\")?!1:(o&&(o=o.split(/ *, */)),o&&(n=o.some(function(e){return\"*\"===e||e===s||e===\"W/\"+s})),i&&(i=new Date(i),a=new Date(a),r=i>=a),!(!n||!r)):!1}t.exports=r},{}],121:[function(e,t,n){var r=e(\"util\"),i=/[\\{\\[]/,o=/[\\}\\]]/;t.exports=function(){var e=[],t=0,n=function(n){for(var r=\"\";r.length<2*t;)r+=\"  \";e.push(r+n)},a=function(e){return e?o.test(e.trim()[0])&&i.test(e[e.length-1])?(t--,n(r.format.apply(r,arguments)),t++,a):i.test(e[e.length-1])?(n(r.format.apply(r,arguments)),t++,a):o.test(e.trim()[0])?(t--,n(r.format.apply(r,arguments)),a):(n(r.format.apply(r,arguments)),a):a};return a.toString=function(){return e.join(\"\\n\")},a.toFunction=function(e){var t=\"return (\"+a.toString()+\")\",n=Object.keys(e||{}).map(function(e){return e}),r=n.map(function(t){return e[t]});return Function.apply(null,n.concat(t)).apply(null,r)},arguments.length&&a.apply(null,arguments),a}},{util:void 0}],122:[function(e,t,n){var r=e(\"is-property\"),i=function(e,t){return r(t)?e+\".\"+t:e+\"[\"+JSON.stringify(t)+\"]\"};i.valid=r,i.property=function(e){return r(e)?e:JSON.stringify(e)},t.exports=i},{\"is-property\":161}],123:[function(e,t,n){\"use strict\";function r(e){this.name=\"ValidationError\",this.errors=e}r.prototype=Error.prototype,t.exports=r},{}],124:[function(e,t,n){\"use strict\";var r=e(\"pinkie-promise\"),i=e(\"./runner\"),o=e(\"./schemas\"),a=function(e){return function(t){return new r(function(n,r){i(e,t,function(e,i){return null===e?n(t):r(e)})})}};t.exports=a(o.har),Object.keys(o).map(function(e){t.exports[e]=a(o[e])})},{\"./runner\":125,\"./schemas\":133,\"pinkie-promise\":377}],125:[function(e,t,n){\"use strict\";var r=e(\"./schemas\"),i=e(\"./error\"),o=e(\"is-my-json-valid\");t.exports=function(e,t,n){var a=!1,s=o(e,{greedy:!0,verbose:!0,schemas:r});return void 0!==t&&(a=s(t)),\"function\"==typeof n?n(s.errors?new i(s.errors):null,a):a}},{\"./error\":123,\"./schemas\":133,\"is-my-json-valid\":160}],126:[function(e,t,n){t.exports={properties:{beforeRequest:{$ref:\"#cacheEntry\"},afterRequest:{$ref:\"#cacheEntry\"},comment:{type:\"string\"}}}},{}],127:[function(e,t,n){t.exports={oneOf:[{type:\"object\",optional:!0,required:[\"lastAccess\",\"eTag\",\"hitCount\"],properties:{expires:{type:\"string\"},lastAccess:{type:\"string\"},eTag:{type:\"string\"},hitCount:{type:\"integer\"},comment:{type:\"string\"}}},{type:null,additionalProperties:!1}]}},{}],128:[function(e,t,n){t.exports={type:\"object\",required:[\"size\",\"mimeType\"],properties:{size:{type:\"integer\"},compression:{type:\"integer\"},mimeType:{type:\"string\"},text:{type:\"string\"},encoding:{type:\"string\"},comment:{type:\"string\"}}}},{}],129:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},path:{type:\"string\"},domain:{type:\"string\"},expires:{type:[\"string\",\"null\"],format:\"date-time\"},httpOnly:{type:\"boolean\"},secure:{type:\"boolean\"},comment:{type:\"string\"}}}},{}],130:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"version\"],properties:{name:{type:\"string\"},version:{type:\"string\"},comment:{type:\"string\"}}}},{}],131:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"time\",\"request\",\"response\",\"cache\",\"timings\"],properties:{pageref:{type:\"string\"},startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},time:{type:\"number\",min:0},request:{$ref:\"#request\"},response:{$ref:\"#response\"},cache:{$ref:\"#cache\"},timings:{$ref:\"#timings\"},serverIPAddress:{type:\"string\",oneOf:[{format:\"ipv4\"},{format:\"ipv6\"}]},connection:{type:\"string\"},comment:{type:\"string\"}}}},{}],132:[function(e,t,n){t.exports={type:\"object\",required:[\"log\"],properties:{log:{$ref:\"#log\"}}}},{}],133:[function(e,t,n){\"use strict\";var r={cache:e(\"./cache.json\"),cacheEntry:e(\"./cacheEntry.json\"),content:e(\"./content.json\"),cookie:e(\"./cookie.json\"),creator:e(\"./creator.json\"),entry:e(\"./entry.json\"),har:e(\"./har.json\"),log:e(\"./log.json\"),page:e(\"./page.json\"),pageTimings:e(\"./pageTimings.json\"),postData:e(\"./postData.json\"),record:e(\"./record.json\"),request:e(\"./request.json\"),response:e(\"./response.json\"),timings:e(\"./timings.json\")};r.cache.properties.beforeRequest=r.cacheEntry,r.cache.properties.afterRequest=r.cacheEntry,r.page.properties.pageTimings=r.pageTimings,r.request.properties.cookies.items=r.cookie,r.request.properties.headers.items=r.record,r.request.properties.queryString.items=r.record,r.request.properties.postData=r.postData,r.response.properties.cookies.items=r.cookie,r.response.properties.headers.items=r.record,r.response.properties.content=r.content,r.entry.properties.request=r.request,r.entry.properties.response=r.response,r.entry.properties.cache=r.cache,r.entry.properties.timings=r.timings,r.log.properties.creator=r.creator,r.log.properties.browser=r.creator,r.log.properties.pages.items=r.page,r.log.properties.entries.items=r.entry,r.har.properties.log=r.log,t.exports=r},{\"./cache.json\":126,\"./cacheEntry.json\":127,\"./content.json\":128,\"./cookie.json\":129,\"./creator.json\":130,\"./entry.json\":131,\"./har.json\":132,\"./log.json\":134,\"./page.json\":135,\"./pageTimings.json\":136,\"./postData.json\":137,\"./record.json\":138,\"./request.json\":139,\"./response.json\":140,\"./timings.json\":141}],134:[function(e,t,n){t.exports={type:\"object\",required:[\"version\",\"creator\",\"entries\"],properties:{version:{type:\"string\"},creator:{$ref:\"#creator\"},browser:{$ref:\"#creator\"},pages:{type:\"array\",items:{$ref:\"#page\"}},entries:{type:\"array\",items:{$ref:\"#entry\"}},comment:{type:\"string\"}}}},{}],135:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"id\",\"title\",\"pageTimings\"],properties:{startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},id:{type:\"string\",unique:!0},title:{type:\"string\"},pageTimings:{$ref:\"#pageTimings\"},comment:{type:\"string\"}}}},{}],136:[function(e,t,n){t.exports={type:\"object\",properties:{onContentLoad:{type:\"number\",min:-1},onLoad:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],137:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"mimeType\"],properties:{mimeType:{type:\"string\"},text:{type:\"string\"},params:{type:\"array\",required:[\"name\"],properties:{name:{type:\"string\"},value:{type:\"string\"},fileName:{type:\"string\"},contentType:{type:\"string\"},comment:{type:\"string\"}}},comment:{type:\"string\"}}}},{}],138:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},comment:{type:\"string\"}}}},{}],139:[function(e,t,n){t.exports={type:\"object\",required:[\"method\",\"url\",\"httpVersion\",\"cookies\",\"headers\",\"queryString\",\"headersSize\",\"bodySize\"],properties:{method:{type:\"string\"},url:{type:\"string\",format:\"uri\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},queryString:{type:\"array\",items:{$ref:\"#record\"}},postData:{$ref:\"#postData\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],140:[function(e,t,n){t.exports={type:\"object\",required:[\"status\",\"statusText\",\"httpVersion\",\"cookies\",\"headers\",\"content\",\"redirectURL\",\"headersSize\",\"bodySize\"],properties:{status:{type:\"integer\"},statusText:{type:\"string\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},content:{$ref:\"#content\"},redirectURL:{type:\"string\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],141:[function(e,t,n){t.exports={required:[\"send\",\"wait\",\"receive\"],properties:{dns:{type:\"number\",min:-1},connect:{type:\"number\",min:-1},blocked:{type:\"number\",min:-1},send:{type:\"number\",min:-1},wait:{type:\"number\",min:-1},receive:{type:\"number\",min:-1},ssl:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],142:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var c={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return c.err=\"Invalid argument type\",c;var u=n.timestamp||s.nowSecs(n.localtimeOffsetMsec),p=n.credentials;if(!(p&&p.id&&p.key&&p.algorithm))return c.err=\"Invalid credential object\",c;if(-1===a.algorithms.indexOf(p.algorithm))return c.err=\"Unknown algorithm\",c;\"string\"==typeof e&&(e=r.parse(e));var l={ts:u,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};c.artifacts=l,l.hash||!n.payload&&\"\"!==n.payload||(l.hash=a.calculatePayloadHash(n.payload,p.algorithm,n.contentType));var f=a.calculateMac(\"header\",p,l),d=null!==l.ext&&void 0!==l.ext&&\"\"!==l.ext,h='Hawk id=\"'+p.id+'\", ts=\"'+l.ts+'\", nonce=\"'+l.nonce+(l.hash?'\", hash=\"'+l.hash:\"\")+(d?'\", ext=\"'+i.escapeHeaderAttribute(l.ext):\"\")+'\", mac=\"'+f+'\"';return l.app&&(h+=', app=\"'+l.app+(l.dlg?'\", dlg=\"'+l.dlg:\"\")+'\"'),c.field=h,c},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var u=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(u instanceof Error)return!1;n.ext=u.ext,n.hash=u.hash;var p=a.calculateMac(\"response\",t,n);if(p!==u.mac)return!1;if(!r.payload&&\"\"!==r.payload)return!0;if(!u.hash)return!1;var l=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return l===u.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return\"\";if(-1===a.algorithms.indexOf(o.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var c=Math.floor(n/1e3)+t.ttlSec,u=a.calculateMac(\"bewit\",o,{ts:c,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),p=o.id+\"\\\\\"+c+\"\\\\\"+u+\"\\\\\"+t.ext;return i.base64urlEncode(p)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||s.nowSecs(r.localtimeOffsetMsec),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":143,\"./utils\":146,cryptiles:78,hoek:149,url:void 0}],143:[function(e,t,n){var r=e(\"crypto\"),i=e(\"url\"),o=e(\"./utils\");n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=t.resource||\"\";if(r&&\"/\"!==r[0]){var o=i.parse(r,!1);r=o.path}var a=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+r+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(a+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),a+=\"\\n\",t.app&&(a+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),a},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var i=r.createHash(e);return i.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),i.update(o.parseContentType(t)+\"\\n\"),i},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=o.nowSecs(t),i=n.calculateTsMac(r,e);return{ts:r,tsm:i}}},{\"./utils\":146,crypto:void 0,url:void 0}],144:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":142,\"./crypto\":143,\"./server\":145,\"./utils\":146,boom:51,sntp:434}],145:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\"),c={};n.authenticate=function(e,t,n,u){u=i.nextTick(u),n.nonceFunc=n.nonceFunc||c.nonceFunc,n.timestampSkewSec=n.timestampSkewSec||60;var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));var f=s.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return u(f);var d={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};return f.id&&f.ts&&f.nonce&&f.mac?void t(f.id,function(e,t){if(e)return u(e,t||null,d);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,d);var i=a.calculateMac(\"header\",t,d);if(!o.fixedTimeComparison(i,f.mac))return u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d);if(n.payload||\"\"===n.payload){if(!f.hash)return u(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,d);var s=a.calculatePayloadHash(n.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(s,f.hash))return u(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,d)}n.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return u(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,d);if(Math.abs(1e3*f.ts-p)>1e3*n.timestampSkewSec){var i=a.timestampMessage(t,n.localtimeOffsetMsec);return u(r.unauthorized(\"Stale timestamp\",\"Hawk\",i),t,d)}return u(null,t,d)})}):u(r.badRequest(\"Missing attributes\"),null,d)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";t.hash||!n.payload&&\"\"!==n.payload||(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+i.escapeHeaderAttribute(t.ext)+'\"'),o},c.bewitRegex=/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/,n.authenticateBewit=function(e,t,n,u){u=i.nextTick(u);var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));if(l.url.length>s.limits.maxMatchLength)return u(r.badRequest(\"Resource path exceeds max length\"));var f=l.url.match(c.bewitRegex);if(!f)return u(r.unauthorized(null,\"Hawk\"));if(!f[3])return u(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==l.method&&\"HEAD\"!==l.method)return u(r.unauthorized(\"Invalid method\",\"Hawk\"));if(l.authorization)return u(r.badRequest(\"Multiple authentications\"));var d=i.base64urlDecode(f[3]);if(d instanceof Error)return u(r.badRequest(\"Invalid bewit encoding\"));var h=d.split(\"\\\\\");if(4!==h.length)return u(r.badRequest(\"Invalid bewit structure\"));var m={id:h[0],exp:parseInt(h[1],10),mac:h[2],ext:h[3]||\"\"};if(!m.id||!m.exp||!m.mac)return u(r.badRequest(\"Missing bewit attributes\"));var v=f[1];return f[4]&&(v+=f[2]+f[4]),1e3*m.exp<=p?u(r.unauthorized(\"Access expired\",\"Hawk\"),null,m):void t(m.id,function(e,t){if(e)return u(e,t||null,m.ext);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,m);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,m);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,m);var n=a.calculateMac(\"bewit\",t,{ts:m.exp,nonce:\"\",method:\"GET\",resource:v,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(n,m.mac)?u(null,t,m):u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,m)})},n.authenticateMessage=function(e,t,n,u,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var d=s.now(l.localtimeOffsetMsec);return u.id&&u.ts&&u.nonce&&u.hash&&u.mac?void p(u.id,function(i,s){if(i)return f(i,s||null);if(!s)return f(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!s.key||!s.algorithm)return f(r.internal(\"Invalid credentials\"),s);if(-1===a.algorithms.indexOf(s.algorithm))return f(r.internal(\"Unknown algorithm\"),s);var c={ts:u.ts,nonce:u.nonce,host:e,port:t,hash:u.hash},p=a.calculateMac(\"message\",s,c);if(!o.fixedTimeComparison(p,u.mac))return f(r.unauthorized(\"Bad mac\",\"Hawk\"),s);var h=a.calculatePayloadHash(n,s.algorithm);return o.fixedTimeComparison(h,u.hash)?void l.nonceFunc(s.key,u.nonce,u.ts,function(e){return e?f(r.unauthorized(\"Invalid nonce\",\"Hawk\"),s):Math.abs(1e3*u.ts-d)>1e3*l.timestampSkewSec?f(r.unauthorized(\"Stale timestamp\"),s):f(null,s)}):f(r.unauthorized(\"Bad message hash\",\"Hawk\"),s)}):f(r.badRequest(\"Invalid authorization\"))},c.nonceFunc=function(e,t,n,r){return r()}},{\"./crypto\":143,\"./utils\":146,boom:51,cryptiles:78,hoek:149}],146:[function(e,t,n){var r=e(\"sntp\"),i=e(\"boom\"),o={};n.version=function(){return e(\"../package.json\").version},n.limits={maxMatchLength:4096},o.hostHeaderRegex=/^(?:(?:\\r\\n)?\\s)*((?:[^:]+)|(?:\\[[^\\]]+\\]))(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/,n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var r=e.headers[t];if(!r)return null;if(r.length>n.limits.maxMatchLength)return null;var i=r.match(o.hostHeaderRegex);return i?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;var r;if(!(t.host&&t.port||(r=n.parseHost(e,t.hostHeaderName))))return new Error(\"Invalid Host header\");var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(e){return r.now()+(e||0)},n.nowSecs=function(e){return Math.floor(n.now(e)/1e3)},o.authHeaderRegex=/^(\\w+)(?:\\s+(.*))?$/,o.attributeRegex=/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/,n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return i.unauthorized(null,\"Hawk\");if(e.length>n.limits.maxMatchLength)return i.badRequest(\"Header length too long\");var r=e.match(o.authHeaderRegex);if(!r)return i.badRequest(\"Invalid header syntax\");var a=r[1];if(\"hawk\"!==a.toLowerCase())return i.unauthorized(null,\"Hawk\");var s=r[2];if(!s)return i.badRequest(\"Invalid header syntax\");var c={},u=\"\",p=s.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(u=\"Unknown attribute: \"+n):null===r.match(o.attributeRegex)?void(u=\"Bad attribute value: \"+n):c.hasOwnProperty(n)?void(u=\"Duplicate attribute: \"+n):(c[n]=r,\"\")});return\"\"!==p?i.badRequest(u||\"Bad header format\"):c},n.unauthorized=function(e,t){return i.unauthorized(e,\"Hawk\",t)}},{\"../package.json\":147,boom:51,sntp:434}],147:[function(e,t,n){t.exports={_args:[[\"hawk@~3.1.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"hawk@>=3.1.0 <3.2.0\",_id:\"hawk@3.1.3\",_inCache:!0,_installable:!0,_location:\"/hawk\",_nodeVersion:\"5.4.1\",_npmUser:{email:\"eran@hammer.io\",name:\"hueniverse\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"hawk\",raw:\"hawk@~3.1.0\",rawSpec:\"~3.1.0\",scope:null,spec:\">=3.1.0 <3.2.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\",_shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",_shrinkwrap:null,_spec:\"hawk@~3.1.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"eran@hammer.io\",name:\"Eran Hammer\",url:\"http://hueniverse.com\"},browser:\"./lib/browser.js\",bugs:{url:\"https://github.com/hueniverse/hawk/issues\"},contributors:[],dependencies:{boom:\"2.x.x\",cryptiles:\"2.x.x\",hoek:\"2.x.x\",sntp:\"1.x.x\"},description:\"HTTP Hawk Authentication Scheme\",devDependencies:{code:\"1.x.x\",lab:\"5.x.x\"},directories:{},dist:{shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",tarball:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\"},engines:{node:\">=0.10.32\"},gitHead:\"2f0b93b34ed9b0ebc865838ef70c6a4035591430\",homepage:\"https://github.com/hueniverse/hawk#readme\",keywords:[\"authentication\",\"hawk\",\"http\",\"scheme\"],license:\"BSD-3-Clause\",main:\"lib/index.js\",maintainers:[{name:\"hueniverse\",email:\"eran@hueniverse.com\"}],name:\"hawk\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/hueniverse/hawk.git\"},scripts:{test:\"lab -a code -t 100 -L\",\"test-cov-html\":\"lab -a code -r html -o coverage.html\"},version:\"3.1.3\"}},{}],148:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";var i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],149:[function(e,t,n){(function(t){var r=e(\"crypto\"),i=e(\"path\"),o=e(\"util\"),a=e(\"./escape\"),s={};n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o,a=!1;if(Array.isArray(e))o=[],a=!0;else if(t.isBuffer(e))o=new t(e);else if(e instanceof Date)o=new Date(e.getTime());else if(e instanceof RegExp)o=new RegExp(e);else{var s=Object.getPrototypeOf(e);s&&s.isImmutable?o=e:(o=Object.create(s),a=!0)}if(r.orig.push(e),r.copy.push(o),a)for(var c=Object.getOwnPropertyNames(e),u=0,p=c.length;p>u;++u){var l=c[u],f=Object.getOwnPropertyDescriptor(e,l);f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=n.clone(e[l],r)}return o},n.merge=function(e,r,i,o){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===r||void 0===r||\"object\"==typeof r,\"Invalid source value: must be null, undefined, or an object\"),!r)return e;if(Array.isArray(r)){n.assert(Array.isArray(e),\"Cannot merge array onto an object\"),o===!1&&(e.length=0);for(var a=0,s=r.length;s>a;++a)e.push(n.clone(r[a]));return e}for(var c=Object.keys(r),u=0,p=c.length;p>u;++u){var l=c[u],f=r[l];f&&\"object\"==typeof f?!e[l]||\"object\"!=typeof e[l]||Array.isArray(e[l])^Array.isArray(f)||f instanceof Date||t.isBuffer(f)||f instanceof RegExp?e[l]=n.clone(f):n.merge(e[l],f,i,o):null!==f&&void 0!==f?e[l]=f:i!==!1&&(e[l]=f)}return e},n.applyToDefaults=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var i=n.clone(e);return t===!0?i:n.merge(i,t,r===!0,!1)},n.cloneWithShallow=function(e,t){if(!e||\"object\"!=typeof e)return e;var r=s.store(e,t),i=n.clone(e);return s.restore(i,e,r),i},s.store=function(e,t){for(var r={},i=0,o=t.length;o>i;++i){var a=t[i],c=n.reach(e,a);void 0!==c&&(r[a]=c,s.reachSet(e,a,void 0))}return r},s.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var a=r[i];s.reachSet(e,a,n[a]),s.reachSet(t,a,n[a])}},s.reachSet=function(e,t,n){for(var r=t.split(\".\"),i=e,o=0,a=r.length;a>o;++o){var s=r[o];o+1===a&&(i[s]=n),i=i[s]}},n.applyToDefaultsWithShallow=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),n.assert(r&&Array.isArray(r),\"Invalid keys\"),!t)return null;var i=n.cloneWithShallow(e,r);if(t===!0)return i;var o=s.store(t,r);return n.merge(i,t,!1,!1),s.restore(i,t,o),i},n.deepEqual=function(e,r,i,o){i=i||{prototype:!0};var a=typeof e;if(a!==typeof r)return!1;if(\"object\"!==a||null===e||null===r)return e===r?0!==e||1/e===1/r:e!==e&&r!==r;if(o=o||[],-1!==o.indexOf(e))return!0;if(o.push(e),Array.isArray(e)){if(!Array.isArray(r))return!1;if(!i.part&&e.length!==r.length)return!1;for(var s=0,c=e.length;c>s;++s){if(i.part){for(var u=!1,p=0,l=r.length;l>p;++p)if(n.deepEqual(e[s],r[p],i,o)){u=!0;break}return u}if(!n.deepEqual(e[s],r[s],i,o))return!1;\n}return!0}if(t.isBuffer(e)){if(!t.isBuffer(r))return!1;if(e.length!==r.length)return!1;for(var f=0,d=e.length;d>f;++f)if(e[f]!==r[f])return!1;return!0}if(e instanceof Date)return r instanceof Date&&e.getTime()===r.getTime();if(e instanceof RegExp)return r instanceof RegExp&&e.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;var h=Object.getOwnPropertyNames(e);if(!i.part&&h.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,v=h.length;v>m;++m){var g=h[m],y=Object.getOwnPropertyDescriptor(e,g);if(y.get){if(!n.deepEqual(y,Object.getOwnPropertyDescriptor(r,g),i,o))return!1}else if(!n.deepEqual(e[g],r[g],i,o))return!1}return!0},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=Array.isArray(e)?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.contain=function(e,t,r){var i=null;\"object\"!=typeof e||\"object\"!=typeof t||Array.isArray(e)||Array.isArray(t)?t=[].concat(t):(i=t,t=Object.keys(t)),r=r||{},n.assert(arguments.length>=2,\"Insufficient arguments\"),n.assert(\"string\"==typeof e||\"object\"==typeof e,\"Reference must be string or an object\"),n.assert(t.length,\"Values array cannot be empty\");var o,a;if(r.deep){o=n.deepEqual;var s=r.hasOwnProperty(\"only\"),c=r.hasOwnProperty(\"part\");a={prototype:s?r.only:c?!r.part:!1,part:s?!r.only:c?r.part:!0}}else o=function(e,t){return e===t};for(var u=!1,p=new Array(t.length),l=0,f=p.length;f>l;++l)p[l]=0;if(\"string\"==typeof e){var d=\"(\";for(l=0,f=t.length;f>l;++l){var h=t[l];n.assert(\"string\"==typeof h,\"Cannot compare string reference to non-string value\"),d+=(l?\"|\":\"\")+n.escapeRegex(h)}var m=new RegExp(d+\")\",\"g\"),v=e.replace(m,function(e,n){var r=t.indexOf(n);return++p[r],\"\"});u=!!v}else if(Array.isArray(e))for(l=0,f=e.length;f>l;++l){for(var g=0,y=t.length,b=!1;y>g&&b===!1;++g)b=o(t[g],e[l],a)&&g;b!==!1?++p[b]:u=!0}else{var x=Object.keys(e);for(l=0,f=x.length;f>l;++l){var w=x[l],_=t.indexOf(w);if(-1!==_){if(i&&!o(i[w],e[w],a))return!1;++p[_]}else u=!0}}var k=!1;for(l=0,f=p.length;f>l;++l)if(k=k||!!p[l],r.once&&p[l]>1||!r.part&&!p[l])return!1;return r.only&&u?!1:k},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.reach=function(e,t,r){if(t===!1||null===t||\"undefined\"==typeof t)return e;r=r||{},\"string\"==typeof r&&(r={separator:r});for(var i=t.split(r.separator||\".\"),o=e,a=0,s=i.length;s>a;++a){var c=i[a];if(\"-\"===c[0]&&Array.isArray(o)&&(c=c.slice(1,c.length),c=o.length-c),!o||!o.hasOwnProperty(c)||\"object\"!=typeof o&&r.functions===!1){n.assert(!r.strict||a+1===s,\"Missing segment\",c,\"in reach path \",t),n.assert(\"object\"==typeof o||r.functions===!0||\"function\"!=typeof o,\"Invalid segment\",c,\"in reach path \",t),o=r[\"default\"];break}o=o[c]}return o},n.reachTemplate=function(e,t,r){return t.replace(/{([^}]+)}/g,function(t,i){var o=n.reach(e,i,r);return void 0===o||null===o?\"\":o})},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var t=[],r=1,i=arguments.length;i>r;++r)\"\"!==arguments[r]&&t.push(arguments[r]);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:n.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.Timer=function(){this.ts=0,this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.Bench=function(){this.ts=0,this.reset()},n.Bench.prototype.reset=function(){this.ts=n.Bench.now()},n.Bench.prototype.elapsed=function(){return n.Bench.now()-this.ts},n.Bench.now=function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.base64urlEncode=function(e,n){var r=t.isBuffer(e)?e:new t(e,n||\"binary\");return r.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e,n){if(e&&!/^[\\w\\-]*$/.test(e))return new Error(\"Invalid character\");try{var r=new t(e,\"base64\");return\"buffer\"===n?r:r.toString(n||\"binary\")}catch(i){return i}},n.escapeHeaderAttribute=function(e){return n.assert(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/.test(e),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return a.escapeHtml(e)},n.escapeJavaScript=function(e){return a.escapeJavaScript(e)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}},n.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},n.isAbsolutePath=function(e,t){return e?i.isAbsolute?i.isAbsolute(e):(t=t||process.platform,\"win32\"!==t?\"/\"===e[0]:!!/^(?:[a-zA-Z]:[\\\\\\/])|(?:[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/])/.test(e)):!1},n.isInteger=function(e){return\"number\"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},n.ignore=function(){},n.inherits=o.inherits,n.format=o.format,n.transform=function(e,t,r){if(n.assert(null===e||void 0===e||\"object\"==typeof e||Array.isArray(e),\"Invalid source object: must be null, undefined, an object, or an array\"),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)i.push(n.transform(e[o],t,r));return i}for(var s={},c=Object.keys(t),u=0,p=c.length;p>u;++u){var l=c[u],f=l.split(\".\"),d=t[l];n.assert(\"string\"==typeof d,'All mappings must be \".\" delineated strings');for(var h,m=s;f.length>1;)h=f.shift(),m[h]||(m[h]={}),m=m[h];h=f.shift(),m[h]=n.reach(e,d,r)}return s},n.uniqueFilename=function(e,t){t=t?\".\"!==t[0]?\".\"+t:t:\"\",e=i.resolve(e);var n=[Date.now(),process.pid,r.randomBytes(8).toString(\"hex\")].join(\"-\")+t;return i.join(e,n)},n.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return\"[Cannot display object: \"+e.message+\"]\"}},n.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":148,buffer:void 0,crypto:void 0,path:void 0,util:void 0}],150:[function(e,t,n){function r(e,t){return function n(){if(!n.hookCalled){n.hookCalled=!0;var r=e.apply(t,arguments);r&&r.then&&r.then(function(){},function(){})}}}t.exports={hook:function(e,t,n){if(1!==arguments.length||\"object\"!=typeof e){var i=this.prototype||this,o=i._pres=i._pres||{},a=i._posts=i._posts||{};return o[e]=o[e]||[],a[e]=a[e]||[],i[e]=function(){var o,a=this,s=arguments[arguments.length-1],c=this._pres[e],u=this._posts[e],p=c.length,l=-1,f=i[e].numAsyncPres,d=function(e){return e?h(e):void(--f||v.apply(a,o))},h=function(e){if(\"function\"==typeof s)return s(e);if(n)return n.call(a,e);throw e},m=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,n=Array.prototype.slice.call(arguments);if(!n.length||null==arguments[0]&&\"function\"==typeof s||(o=n),++l<p){if(e=c[l],e.isAsync&&e.length<2)throw new Error(\"Your pre must have next and done arguments -- e.g., function (next, done, ...)\");if(e.length<1)throw new Error(\"Your pre must have a next argument -- e.g., function (next, ...)\");return t=(e.isAsync?[r(m),r(d)]:[r(m)]).concat(o),e.apply(a,t)}return f?void 0:v.apply(a,o)},v=function(){var e,n,i,c,f=Array.prototype.slice.call(arguments);return l===p?(c=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,p=Array.prototype.slice.call(arguments,1);if(p.length&&(o=p),++i<n){if(e=u[i],e.length<1)throw new Error(\"Your post must have a next argument -- e.g., function (next, ...)\");return t=[r(c)].concat(o),e.apply(a,t)}return\"function\"==typeof s?s.apply(a,arguments):void 0},\"function\"==typeof s&&(f[f.length-1]=r(c)),n=u.length,i=-1,e=t.apply(a,f),n&&\"function\"!=typeof s?c():e):void 0};return m.apply(this,arguments)},i[e].numAsyncPres=0,this}for(var s in e)this.hook(s,e[s])},pre:function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1);var i=this.prototype||this,o=i._pres=i._pres||{};return this._lazySetupHooks(i,e,r),(n.isAsync=t)&&i[e].numAsyncPres++,(o[e]=o[e]||[]).push(n),this},post:function(e,t,n){2===arguments.length&&(n=t,t=!1);var r=this.prototype||this,i=r._posts=r._posts||{};return this._lazySetupHooks(r,e),(i[e]=i[e]||[]).push(n),this},removePre:function(e,t){var n=this.prototype||this,r=n._pres||n._pres||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},removePost:function(e,t){var n=this.prototype||this,r=n._posts||n._posts||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},_lazySetupHooks:function(e,t,n){\"undefined\"==typeof e[t].numAsyncPres&&this.hook(t,e[t],n)}}},{}],151:[function(e,t,n){function r(e){return e.split(\" \").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join(\"\").replace(/[^ _0-9a-z]/gi,\"\")}var i=e(\"statuses\"),o=e(\"inherits\");n=t.exports=function s(){for(var e,t,r=500,o={},a=0;a<arguments.length;a++){var c=arguments[a];if(c instanceof Error)e=c,r=e.status||e.statusCode||r;else switch(typeof c){case\"string\":t=c;break;case\"number\":r=c;break;case\"object\":o=c}}\"number\"==typeof r&&i[r]||(r=500);var u=n[r];e||(e=u?new u(t):new Error(t||i[r]),Error.captureStackTrace(e,s)),u&&e instanceof u||(e.expose=500>r,e.status=e.statusCode=r);for(var p in o)\"status\"!==p&&\"statusCode\"!==p&&(e[p]=o[p]);return e};var a=i.codes.filter(function(e){return e>=400});a.forEach(function(e){var t=r(i[e]),a=t.match(/Error$/)?t:t+\"Error\";if(e>=500){var s=function u(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,u),n.__proto__=u.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};return o(s,Error),s.prototype.status=s.prototype.statusCode=e,s.prototype.expose=!1,void(n[e]=n[t]=s)}var c=function p(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,p),n.__proto__=p.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};o(c,Error),c.prototype.status=c.prototype.statusCode=e,c.prototype.expose=!0,n[e]=n[t]=c}),n[\"I'mateapot\"]=n.ImATeapot},{inherits:157,statuses:455}],152:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./utils\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC}},{\"./parser\":153,\"./signer\":154,\"./utils\":155,\"./verify\":156}],153:[function(e,t,n){function r(e){l.call(this,e,r)}function i(e){l.call(this,e,i)}function o(e){l.call(this,e,o)}function a(e){l.call(this,e,a)}function s(e){l.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p=e(\"./utils\"),l=(p.HASH_ALGOS,p.PK_ALGOS,p.HttpSignatureError),f=p.InvalidAlgorithmError,d=p.validateAlgorithm,h={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,l),u.inherits(i,l),u.inherits(o,l),u.inherits(a,l),u.inherits(s,l),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new a(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,u=h.New,p=m.Name,l=\"\",v=\"\",g={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},y=e.headers.authorization;for(n=0;n<y.length;n++){var b=y.charAt(n);switch(Number(u)){case h.New:\" \"!==b?g.scheme+=b:u=h.Params;break;case h.Params:switch(Number(p)){case m.Name:var x=b.charCodeAt(0);if(x>=65&&90>=x||x>=97&&122>=x)l+=b;else{if(\"=\"!==b)throw new i(\"bad param format\");if(0===l.length)throw new i(\"bad param format\");p=m.Quote}break;case m.Quote:if('\"'!==b)throw new i(\"bad param format\");v=\"\",p=m.Value;break;case m.Value:'\"'===b?(g.params[l]=v,p=m.Comma):v+=b;break;case m.Comma:if(\",\"!==b)throw new i(\"bad param format\");l=\"\",p=m.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(g.params.headers&&\"\"!==g.params.headers?g.params.headers=g.params.headers.split(\" \"):e.headers[\"x-date\"]?g.params.headers=[\"x-date\"]:g.params.headers=[\"date\"],!g.scheme||\"Signature\"!==g.scheme)throw new i('scheme was not \"Signature\"');if(!g.params.keyId)throw new i(\"keyId was not specified\");if(!g.params.algorithm)throw new i(\"algorithm was not specified\");if(!g.params.signature)throw new i(\"signature was not specified\");g.params.algorithm=g.params.algorithm.toLowerCase();try{d(g.params.algorithm)}catch(w){throw w instanceof f?new o(g.params.algorithm+\" is not supported\"):w}for(n=0;n<g.params.headers.length;n++){var _=g.params.headers[n].toLowerCase();if(g.params.headers[n]=_,\"request-line\"===_){if(t.strict)throw new s(\"request-line is not a valid header with strict parsing enabled.\");g.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion}else if(\"(request-target)\"===_)g.signingString+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.url;else{var k=e.headers[_];if(void 0===k)throw new a(_+\" was not in the request\");g.signingString+=_+\": \"+k}n+1<g.params.headers.length&&(g.signingString+=\"\\n\")}var j;if(e.headers.date||e.headers[\"x-date\"]){j=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new r(\"clock skew of \"+E/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(g.params.headers.indexOf(e)<0)throw new a(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(g.params.algorithm))throw new o(g.params.algorithm+\" is not a supported algorithm\");return g}}},{\"./utils\":155,\"assert-plus\":10,util:void 0}],154:[function(e,t,n){(function(n){function r(e){v.call(this,e,r)}function i(e){v.call(this,e,i)}function o(e){a.object(e,\"options\");var t=[];if(void 0!==e.algorithm&&(a.string(e.algorithm,\"options.algorithm\"),t=g(e.algorithm)),this.rs_alg=t,void 0!==e.sign)a.func(e.sign,\"options.sign\"),this.rs_signFunc=e.sign;else if(\"hmac\"===t[0]&&void 0!==e.key){if(a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,\"string\"!=typeof e.key&&!n.isBuffer(e.key))throw new TypeError(\"options.key for HMAC must be a string or Buffer\");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest(\"base64\");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError(\"options.sign (func) or options.key is required\");var r=e.key;if((\"string\"==typeof r||n.isBuffer(r))&&(r=u.parsePrivateKey(r)),a.ok(u.PrivateKey.isPrivateKey(r,[1,2]),\"options.key must be a sshpk.PrivateKey\"),this.rs_key=r,a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,!h[r.type])throw new m(r.type.toUpperCase()+\" type keys are not supported\");if(void 0!==t[0]&&r.type!==t[0])throw new m(\"options.key must be a \"+t[0].toUpperCase()+\" key, was given a \"+r.type.toUpperCase()+\" key instead\");this.rs_signer=r.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var a=e(\"assert-plus\"),s=e(\"crypto\"),c=(e(\"http\"),e(\"util\")),u=e(\"sshpk\"),p=e(\"jsprim\"),l=e(\"./utils\"),f=e(\"util\").format,d=l.HASH_ALGOS,h=l.PK_ALGOS,m=l.InvalidAlgorithmError,v=l.HttpSignatureError,g=l.validateAlgorithm,y='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';c.inherits(r,v),c.inherits(i,v),o.prototype.writeHeader=function(e,t){if(a.string(e,\"header\"),e=e.toLowerCase(),a.string(t,\"value\"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+\": \"+t);else{var n=e+\": \"+t;this.rs_headers.length>0&&(n=\"\\n\"+n),this.rs_signer.update(n)}return t},o.prototype.writeDateHeader=function(){return this.writeHeader(\"date\",p.rfc1123(new Date))},o.prototype.writeTarget=function(e,t){a.string(e,\"method\"),a.string(t,\"path\"),e=e.toLowerCase(),this.writeHeader(\"(request-target)\",e+\" \"+t)},o.prototype.sign=function(e){if(a.func(e,\"callback\"),this.rs_headers.length<1)throw new Error(\"At least one header must be signed\");var t,n;if(this.rs_signFunc){var r=this.rs_lines.join(\"\\n\"),i=this;this.rs_signFunc(r,function(r,o){if(r)return void e(r);try{a.object(o,\"signature\"),a.string(o.keyId,\"signature.keyId\"),a.string(o.algorithm,\"signature.algorithm\"),a.string(o.signature,\"signature.signature\"),t=g(o.algorithm),n=f(y,o.keyId,o.algorithm,i.rs_headers.join(\" \"),o.signature)}catch(s){return void e(s)}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(s){return void e(s)}t=(this.rs_alg[0]||this.rs_key.type)+\"-\"+o.hashAlgorithm;var c=o.toString();n=f(y,this.rs_keyId,t,this.rs_headers.join(\" \"),c),e(null,n)}},t.exports={isSigner:function(e){return\"object\"==typeof e&&e instanceof o},createSigner:function(e){return new o(e)},signRequest:function(e,t){a.object(e,\"request\"),a.object(t,\"options\"),a.optionalString(t.algorithm,\"options.algorithm\"),a.string(t.keyId,\"options.keyId\"),a.optionalArrayOfString(t.headers,\"options.headers\"),a.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",p.rfc1123(new Date)),t.headers||(t.headers=[\"date\"]),t.httpVersion||(t.httpVersion=\"1.1\");var o=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),o=g(t.algorithm));var c,l=\"\";for(c=0;c<t.headers.length;c++){if(\"string\"!=typeof t.headers[c])throw new TypeError(\"options.headers must be an array of Strings\");var v=t.headers[c].toLowerCase();if(\"request-line\"===v){if(t.strict)throw new i(\"request-line is not a valid header with strict parsing enabled.\");l+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion}else if(\"(request-target)\"===v)l+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.path;else{var b=e.getHeader(v);if(void 0===b||\"\"===b)throw new r(v+\" was not in the request\");l+=v+\": \"+b}c+1<t.headers.length&&(l+=\"\\n\")}e.hasOwnProperty(\"_stringToSign\")&&(e._stringToSign=l);var x;if(\"hmac\"===o[0]){if(\"string\"!=typeof t.key&&!n.isBuffer(t.key))throw new TypeError(\"options.key must be a string or Buffer\");var w=s.createHmac(o[1].toUpperCase(),t.key);w.update(l),x=w.digest(\"base64\")}else{var _=t.key;if((\"string\"==typeof _||n.isBuffer(_))&&(_=u.parsePrivateKey(t.key)),a.ok(u.PrivateKey.isPrivateKey(_,[1,2]),\"options.key must be a sshpk.PrivateKey\"),!h[_.type])throw new m(_.type.toUpperCase()+\" type keys are not supported\");if(void 0!==o[0]&&_.type!==o[0])throw new m(\"options.key must be a \"+o[0].toUpperCase()+\" key, was given a \"+_.type.toUpperCase()+\" key instead\");var k=_.createSign(o[1]);k.update(l);var j=k.sign();if(!d[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+\" is not a supported hash algorithm\");t.algorithm=_.type+\"-\"+j.hashAlgorithm,x=j.toString(),a.notStrictEqual(x,\"\",\"empty signature produced\")}return e.setHeader(\"Authorization\",f(y,t.keyId,t.algorithm,t.headers.join(\" \"),x)),!0}}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./utils\":155,\"assert-plus\":10,crypto:void 0,http:void 0,jsprim:175,sshpk:448,util:void 0}],155:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){var t=e.toLowerCase().split(\"-\");if(2!==t.length)throw new i(t[0].toUpperCase()+\" is not a valid algorithm\");if(\"hmac\"!==t[0]&&!p[t[0]])throw new i(t[0].toUpperCase()+\" type keys are not supported\");if(!u[t[1]])throw new i(t[1].toUpperCase()+\" is not a supported hash algorithm\");return t}var a=e(\"assert-plus\"),s=e(\"sshpk\"),c=e(\"util\"),u={sha1:!0,sha256:!0,sha512:!0},p={rsa:!0,dsa:!0,ecdsa:!0};c.inherits(r,Error),c.inherits(i,r),t.exports={HASH_ALGOS:u,PK_ALGOS:p,HttpSignatureError:r,InvalidAlgorithmError:i,validateAlgorithm:o,sshKeyToPEM:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.toString(\"pem\")},fingerprint:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.fingerprint(\"md5\").toString(\"hex\")},pemToRsaSSHKey:function(e,t){a.equal(\"string\",typeof e,\"typeof pem\");var n=s.parseKey(e,\"pem\");return n.comment=t,n.toString(\"ssh\")}}},{\"assert-plus\":10,sshpk:448,util:void 0}],156:[function(e,t,n){(function(n){var r=e(\"assert-plus\"),i=e(\"crypto\"),o=e(\"sshpk\"),a=e(\"./utils\"),s=(a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError,a.validateAlgorithm);t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),(\"string\"==typeof t||n.isBuffer(t))&&(t=o.parseKey(t)),r.ok(o.Key.isKey(t,[1,1]),\"pubkey must be a sshpk.Key\");var i=s(e.algorithm);if(\"hmac\"===i[0]||i[0]!==t.type)return!1;var a=t.createVerify(i[1]);return a.update(e.signingString),a.verify(e.params.signature,\"base64\")},verifyHMAC:function(e,t){r.object(e,\"parsedHMAC\"),r.string(t,\"secret\");var o=s(e.algorithm);if(\"hmac\"!==o[0])return!1;var a=o[1].toUpperCase(),c=i.createHmac(a,t);c.update(e.signingString);var u=i.createHmac(a,t);u.update(c.digest()),u=u.digest();var p=i.createHmac(a,t);return p.update(new n(e.params.signature,\"base64\")),p=p.digest(),\"string\"==typeof u?u===p:n.isBuffer(u)&&!u.equals?u.toString(\"binary\")===p.toString(\"binary\"):u.equals(p)}}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":155,\"assert-plus\":10,buffer:void 0,crypto:void 0,sshpk:448}],157:[function(e,t,n){t.exports=e(\"util\").inherits},{util:void 0}],158:[function(e,t,n){(function(){var e,n,r,i,o,a,s,c;n={},c=this,\"undefined\"!=typeof t&&null!==t&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,o;if(e.length!==t.length)throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");for(i=0;r>0;){if(o=n-r,0>o&&(o=0),e[i]>>o!==t[i]>>o)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,o,a,s;null==n&&(n=\"unicast\");for(r in t)for(i=t[r],!i[0]||i[0]instanceof Array||(i=[i]),a=0,s=i.length;s>a;a++)if(o=i[a],e.match.apply(e,o))return r;return n},n.IPv4=function(){function e(e){var t,n,r;if(4!==e.length)throw new Error(\"ipaddr: ipv4 octet count should be 4\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&255>=t))throw new Error(\"ipaddr: ipv4 octet is a byte\");this.octets=e}return e.prototype.kind=function(){return\"ipv4\"},e.prototype.toString=function(){return this.octets.join(\".\")},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv4\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],\"private\":[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(\"::ffff:\"+this.toString())},e}(),r=\"(0?\\\\d+|0x[a-f0-9]+)\",i={fourOctet:new RegExp(\"^\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\",\"i\"),longValue:new RegExp(\"^\"+r+\"$\",\"i\")},n.IPv4.parser=function(e){var t,n,r,o,a;if(n=function(e){return\"0\"===e[0]&&\"x\"!==e[1]?parseInt(e,8):parseInt(e)},t=e.match(i.fourOctet))return function(){var e,i,o,a;for(o=t.slice(1,6),a=[],e=0,i=o.length;i>e;e++)r=o[e],a.push(n(r));return a}();if(t=e.match(i.longValue)){if(a=n(t[1]),a>4294967295||0>a)throw new Error(\"ipaddr: address outside defined range\");return function(){var e,t;for(t=[],o=e=0;24>=e;o=e+=8)t.push(a>>o&255);return t}().reverse()}return null},n.IPv6=function(){function e(e){var t,n,r;if(8!==e.length)throw new Error(\"ipaddr: ipv6 part count should be 8\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&65535>=t))throw new Error(\"ipaddr: ipv6 part should fit to two octets\");this.parts=e}return e.prototype.kind=function(){return\"ipv6\"},e.prototype.toString=function(){var e,t,n,r,i,o,a;for(i=function(){var e,n,r,i;for(r=this.parts,i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push(t.toString(16));return i}.call(this),e=[],n=function(t){return e.push(t)},r=0,o=0,a=i.length;a>o;o++)switch(t=i[o],r){case 0:n(\"0\"===t?\"\":t),r=1;break;case 1:\"0\"===t?r=2:n(t);break;case 2:\"0\"!==t&&(n(\"\"),n(t),r=3);break;case 3:n(t)}return 2===r&&(n(\"\"),n(\"\")),e.join(\":\")},e.prototype.toByteArray=function(){var e,t,n,r,i;for(e=[],i=this.parts,n=0,r=i.length;r>n;n++)t=i[n],e.push(t>>8),e.push(255&t);return e},e.prototype.toNormalizedString=function(){var e;return function(){var t,n,r,i;for(r=this.parts,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.toString(16));return i}.call(this).join(\":\")},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv6\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],\"6to4\":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return\"ipv4Mapped\"===this.range()},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,255&e,t>>8,255&t])},e}(),o=\"(?:[0-9a-f]+::?)+\",a={\"native\":new RegExp(\"^(::)?(\"+o+\")?([0-9a-f]+)?(::)?$\",\"i\"),transitional:new RegExp(\"^((?:\"+o+\")|(?:::)(?:\"+o+\")?)\"+(\"\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\"),\"i\")},e=function(e,t){var n,r,i,o,a;if(e.indexOf(\"::\")!==e.lastIndexOf(\"::\"))return null;for(n=0,r=-1;(r=e.indexOf(\":\",r+1))>=0;)n++;if(\"::\"===e.substr(0,2)&&n--,\"::\"===e.substr(-2,2)&&n--,n>t)return null;for(a=t-n,o=\":\";a--;)o+=\"0:\";return e=e.replace(\"::\",o),\":\"===e[0]&&(e=e.slice(1)),\":\"===e[e.length-1]&&(e=e.slice(0,-1)),function(){var t,n,r,o;for(r=e.split(\":\"),o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(parseInt(i,16));return o}()},n.IPv6.parser=function(t){var n,r;return t.match(a[\"native\"])?e(t,8):(n=t.match(a.transitional))&&(r=e(n[1].slice(0,-1),6))?(r.push(parseInt(n[2])<<8|parseInt(n[3])),r.push(parseInt(n[4])<<8|parseInt(n[5])),r):null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return null!==this.parser(e)},n.IPv4.isValid=function(e){var t;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv6.isValid=function(e){var t;if(\"string\"==typeof e&&-1===e.indexOf(\":\"))return!1;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv4.parse=n.IPv6.parse=function(e){var t;if(t=this.parser(e),null===t)throw new Error(\"ipaddr: string is not formatted like ip address\");return new this(t)},n.IPv4.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&32>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\")},n.IPv6.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&128>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\")},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\")},n.parseCIDR=function(e){var t;try{return n.IPv6.parseCIDR(e)}catch(r){t=r;try{return n.IPv4.parseCIDR(e)}catch(r){throw t=r,new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\")}}},n.process=function(e){var t;return t=this.parse(e),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this)},{}],159:[function(e,t,n){n[\"date-time\"]=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/,n.date=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,n.time=/^\\d{2}:\\d{2}:\\d{2}$/,n.email=/^\\S+@\\S+$/,n[\"ip-address\"]=n.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n.ipv6=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/,n.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\\s]*$/,n.color=/(#?([0-9A-Fa-f]{3,6})\\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\))/,n.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/,n.alpha=/^[a-zA-Z]+$/,n.alphanumeric=/^[a-zA-Z0-9]+$/,n.style=/\\s*(.+?):\\s*([^;]+);?/g,n.phone=/^\\+(?:[0-9] ?){6,14}[0-9]$/,n[\"utc-millisec\"]=/^[0-9]{1,15}\\.?[0-9]{0,15}$/},{}],160:[function(e,t,n){var r=e(\"generate-object-property\"),i=e(\"generate-function\"),o=e(\"jsonpointer\"),a=e(\"xtend\"),s=e(\"./formats\"),c=function(e,t,n){var r=function(e){return e&&e.id===n?e:\"object\"==typeof e&&e?Object.keys(e).reduce(function(t,n){return t||r(e[n])},null):null},i=r(e);if(i)return i;n=n.replace(/^#/,\"\"),n=n.replace(/\\/$/,\"\");try{return o.get(e,decodeURI(n))}catch(a){var s,c=n.indexOf(\"#\");\nif(0!==c)if(-1===c)s=t[n];else{var u=n.slice(0,c);s=t[u];var p=n.slice(c).replace(/^#/,\"\");try{return o.get(s,p)}catch(a){}}else s=t[n];return s||null}},u=function(e){e=JSON.stringify(e);for(var t=/\\[([^\\[\\]\"]+)\\]/;t.test(e);)e=e.replace(t,'.\"+$1+\"');return e},p={};p.any=function(){return\"true\"},p[\"null\"]=function(e){return e+\" === null\"},p[\"boolean\"]=function(e){return\"typeof \"+e+' === \"boolean\"'},p.array=function(e){return\"Array.isArray(\"+e+\")\"},p.object=function(e){return\"typeof \"+e+' === \"object\" && '+e+\" && !Array.isArray(\"+e+\")\"},p.number=function(e){return\"typeof \"+e+' === \"number\"'},p.integer=function(e){return\"typeof \"+e+' === \"number\" && (Math.floor('+e+\") === \"+e+\" || \"+e+\" > 9007199254740992 || \"+e+\" < -9007199254740992)\"},p.string=function(e){return\"typeof \"+e+' === \"string\"'};var l=function(e){for(var t=[],n=0;n<e.length;n++)t.push(\"object\"==typeof e[n]?JSON.stringify(e[n]):e[n]);for(var n=1;n<t.length;n++)if(t.indexOf(t[n])!==n)return!1;return!0},f=function(e,t){var n,r=(0|t)!==t?Math.pow(10,t.toString().split(\".\").pop().length):1;if(r>1){var i=(0|e)!==e?Math.pow(10,e.toString().split(\".\").pop().length):1;n=i>r?!0:Math.round(r*e)%(r*t)}else n=e%t;return!n},d=function(e,t,n,o,h){var m=h?a(s,h.formats):s,v={unique:l,formats:m,isMultipleOf:f},g=h?!!h.verbose:!1,y=h&&void 0!==h.greedy?h.greedy:!1,b={},x=function(e){return e+(b[e]=(b[e]||0)+1)},w={},_=function(e){if(w[e])return w[e];var t=x(\"pattern\");return v[t]=new RegExp(e),w[e]=t,t},k=[\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"x\",\"y\",\"z\"],j=function(){var e=k.shift();return k.push(e+e[0]),e},S=function(e,i,o,a){var l=i.properties,f=i.type,b=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(e,t){l[t]=e}),f=\"array\",b=!0);var w=0,k=function(t,n,r){E(\"errors++\"),o===!0&&(E(\"if (validate.errors === null) validate.errors = []\"),g?E(\"validate.errors.push({field:%s,message:%s,value:%s,type:%s})\",u(n||e),JSON.stringify(t),r||e,JSON.stringify(f)):E(\"validate.errors.push({field:%s,message:%s})\",u(n||e),JSON.stringify(t)))};i.required===!0?(w++,E(\"if (%s === undefined) {\",e),k(\"is required\"),E(\"} else {\")):(w++,E(\"if (%s !== undefined) {\",e));var O=[].concat(f).map(function(t){return p[t||\"any\"](e)}).join(\" || \")||\"true\";if(\"true\"!==O&&(w++,E(\"if (!(%s)) {\",O),k(\"is the wrong type\"),E(\"} else {\")),b)if(i.additionalItems===!1)E(\"if (%s.length > %d) {\",e,i.items.length),k(\"has additional items\"),E(\"}\");else if(i.additionalItems){var A=j();E(\"for (var %s = %d; %s < %s.length; %s++) {\",A,i.items.length,A,e,A),S(e+\"[\"+A+\"]\",i.additionalItems,o,a),E(\"}\")}if(i.format&&m[i.format]){\"string\"!==f&&s[i.format]&&E(\"if (%s) {\",p.string(e));var C=x(\"format\");v[C]=m[i.format],\"function\"==typeof v[C]?E(\"if (!%s(%s)) {\",C,e):E(\"if (!%s.test(%s)) {\",C,e),k(\"must be \"+i.format+\" format\"),E(\"}\"),\"string\"!==f&&s[i.format]&&E(\"}\")}if(Array.isArray(i.required)){var T=function(t){var n=r(e,t);E(\"if (%s === undefined) {\",n),k(\"is required\",n),E(\"missing++\"),E(\"}\")};E(\"if ((%s)) {\",\"object\"!==f?p.object(e):\"true\"),E(\"var missing = 0\"),i.required.map(T),E(\"}\"),y||(E(\"if (missing === 0) {\"),w++)}if(i.uniqueItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (!(unique(%s))) {\",e),k(\"must be unique\"),E(\"}\"),\"array\"!==f&&E(\"}\")),i[\"enum\"]){var I=i[\"enum\"].some(function(e){return\"object\"==typeof e}),P=I?function(t){return\"JSON.stringify(\"+e+\") !== JSON.stringify(\"+JSON.stringify(t)+\")\"}:function(t){return e+\" !== \"+JSON.stringify(t)};E(\"if (%s) {\",i[\"enum\"].map(P).join(\" && \")||\"false\"),k(\"must be an enum value\"),E(\"}\")}if(i.dependencies&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),Object.keys(i.dependencies).forEach(function(t){var n=i.dependencies[t];\"string\"==typeof n&&(n=[n]);var s=function(t){return r(e,t)+\" !== undefined\"};Array.isArray(n)&&(E(\"if (%s !== undefined && !(%s)) {\",r(e,t),n.map(s).join(\" && \")||\"true\"),k(\"dependencies not set\"),E(\"}\")),\"object\"==typeof n&&(E(\"if (%s !== undefined) {\",r(e,t)),S(e,n,o,a),E(\"}\"))}),\"object\"!==f&&E(\"}\")),i.additionalProperties||i.additionalProperties===!1){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var A=j(),F=x(\"keys\"),M=function(e){return F+\"[\"+A+\"] !== \"+JSON.stringify(e)},z=function(e){return\"!\"+_(e)+\".test(\"+F+\"[\"+A+\"])\"},B=Object.keys(l||{}).map(M).concat(Object.keys(i.patternProperties||{}).map(z)).join(\" && \")||\"true\";E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A)(\"if (%s) {\",B),i.additionalProperties===!1?(a&&E(\"delete %s\",e+\"[\"+F+\"[\"+A+\"]]\"),k(\"has additional properties\",null,JSON.stringify(e+\".\")+\" + \"+F+\"[\"+A+\"]\")):S(e+\"[\"+F+\"[\"+A+\"]]\",i.additionalProperties,o,a),E(\"}\")(\"}\"),\"object\"!==f&&E(\"}\")}if(i.$ref){var N=c(n,h&&h.schemas||{},i.$ref);if(N){var D=t[i.$ref];D||(t[i.$ref]=function(e){return D(e)},D=d(N,t,n,!1,h));var C=x(\"ref\");v[C]=D,E(\"if (!(%s(%s))) {\",C,e),k(\"referenced schema does not match\"),E(\"}\")}}if(i.not){var q=x(\"prev\");E(\"var %s = errors\",q),S(e,i.not,!1,a),E(\"if (%s === errors) {\",q),k(\"negative schema matches\"),E(\"} else {\")(\"errors = %s\",q)(\"}\")}if(i.items&&!b){\"array\"!==f&&E(\"if (%s) {\",p.array(e));var A=j();E(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,e,A),S(e+\"[\"+A+\"]\",i.items,o,a),E(\"}\"),\"array\"!==f&&E(\"}\")}if(i.patternProperties){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var F=x(\"keys\"),A=j();E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A),Object.keys(i.patternProperties).forEach(function(t){var n=_(t);E(\"if (%s.test(%s)) {\",n,F+\"[\"+A+\"]\"),S(e+\"[\"+F+\"[\"+A+\"]]\",i.patternProperties[t],o,a),E(\"}\")}),E(\"}\"),\"object\"!==f&&E(\"}\")}if(i.pattern){var R=_(i.pattern);\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (!(%s.test(%s))) {\",R,e),k(\"pattern mismatch\"),E(\"}\"),\"string\"!==f&&E(\"}\")}if(i.allOf&&i.allOf.forEach(function(t){S(e,t,o,a)}),i.anyOf&&i.anyOf.length){var q=x(\"prev\");i.anyOf.forEach(function(t,n){0===n?E(\"var %s = errors\",q):E(\"if (errors !== %s) {\",q)(\"errors = %s\",q),S(e,t,!1,!1)}),i.anyOf.forEach(function(e,t){t&&E(\"}\")}),E(\"if (%s !== errors) {\",q),k(\"no schemas match\"),E(\"}\")}if(i.oneOf&&i.oneOf.length){var q=x(\"prev\"),L=x(\"passes\");E(\"var %s = errors\",q)(\"var %s = 0\",L),i.oneOf.forEach(function(t,n){S(e,t,!1,!1),E(\"if (%s === errors) {\",q)(\"%s++\",L)(\"} else {\")(\"errors = %s\",q)(\"}\")}),E(\"if (%s !== 1) {\",L),k(\"no (or more than one) schemas match\"),E(\"}\")}for(void 0!==i.multipleOf&&(\"number\"!==f&&\"integer\"!==f&&E(\"if (%s) {\",p.number(e)),E(\"if (!isMultipleOf(%s, %d)) {\",e,i.multipleOf),k(\"has a remainder\"),E(\"}\"),\"number\"!==f&&\"integer\"!==f&&E(\"}\")),void 0!==i.maxProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length > %d) {\",e,i.maxProperties),k(\"has more properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.minProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length < %d) {\",e,i.minProperties),k(\"has less properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.maxItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length > %d) {\",e,i.maxItems),k(\"has more items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.minItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length < %d) {\",e,i.minItems),k(\"has less items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.maxLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length > %d) {\",e,i.maxLength),k(\"has longer length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length < %d) {\",e,i.minLength),k(\"has less length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minimum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMinimum?\"<=\":\"<\",i.minimum),k(\"is less than minimum\"),E(\"}\")),void 0!==i.maximum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMaximum?\">=\":\">\",i.maximum),k(\"is more than maximum\"),E(\"}\")),l&&Object.keys(l).forEach(function(t){Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"if (%s !== null) {\",e),S(r(e,t),l[t],o,a),Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"}\")});w--;)E(\"}\")},E=i(\"function validate(data) {\")(\"validate.errors = null\")(\"var errors = 0\");return S(\"data\",e,o,h&&h.filter),E(\"return errors === 0\")(\"}\"),E=E.toFunction(v),E.errors=null,Object.defineProperty&&Object.defineProperty(E,\"error\",{get:function(){return E.errors?E.errors.map(function(e){return e.field+\" \"+e.message}).join(\"\\n\"):\"\"}}),E.toJSON=function(){return e},E};t.exports=function(e,t){return\"string\"==typeof e&&(e=JSON.parse(e)),d(e,{},e,!0,t)},t.exports.filter=function(e,n){var r=t.exports(e,a(n,{filter:!0}));return function(e){return r(e),e}}},{\"./formats\":159,\"generate-function\":121,\"generate-object-property\":122,jsonpointer:174,xtend:534}],161:[function(e,t,n){\"use strict\";function r(e){return/^[$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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][$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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-\\uffdc0-9\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19b0-\\u19c0\\u19c8\\u19c9\\u19d0-\\u19d9\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1dc0-\\u1de6\\u1dfc-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]*$/.test(e)}t.exports=r},{}],162:[function(e,t,n){function r(e){return i(e)||o(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(e){return s[a.call(e)]}t.exports=r,r.strict=i,r.loose=o;var a=Object.prototype.toString,s={\"[object Int8Array]\":!0,\"[object Int16Array]\":!0,\"[object Int32Array]\":!0,\"[object Uint8Array]\":!0,\"[object Uint8ClampedArray]\":!0,\"[object Uint16Array]\":!0,\"[object Uint32Array]\":!0,\"[object Float32Array]\":!0,\"[object Float64Array]\":!0}},{}],163:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==r.call(e)}},{}],164:[function(e,t,n){function r(e){return e instanceof s.Stream}function i(e){return r(e)&&\"function\"==typeof e._read&&\"object\"==typeof e._readableState}function o(e){return r(e)&&\"function\"==typeof e._write&&\"object\"==typeof e._writableState}function a(e){return i(e)&&o(e)}var s=e(\"stream\");t.exports=r,t.exports.isReadable=i,t.exports.isWritable=o,t.exports.isDuplex=a},{stream:void 0}],165:[function(e,t,n){\"use strict\";var r=e(\"./lib/dh\"),i=e(\"./lib/eddsa\"),o=e(\"./lib/curve255\"),a=e(\"./lib/utils\"),s={};s.VERSION=\"0.7.1\",s.dh=r,s.eddsa=i,s.curve255=o,s.utils=a,t.exports=s},{\"./lib/curve255\":167,\"./lib/dh\":168,\"./lib/eddsa\":169,\"./lib/utils\":170}],166:[function(e,t,n){\"use strict\";function r(e,t,n){var r=t>>4,i=e[r];i+=(1<<(15&t))*n,e[r]=i}function i(e,t){return e[t>>4]>>(15&t)&1}function o(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function a(){return[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function s(){return[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function c(e,t){var n,r,i,o=0;for(n=15;n>=0;n--){var a=e[n],s=t[n];o+=(a-s)*(1-o*o),i=o>>31,r=o+i^i,o=~~((o<<1)/(r+1))}return o}function u(e,t){var n,r=[];return r[0]=65535&(n=e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+e[15]+t[15],r}function p(e,t){var n,r=[];return r[0]=65535&(n=524288+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)-8+e[15]-t[15],r}function l(e,t,n,r,i,o,a,s){var c,u=[];return u[0]=65535&(c=s*s),u[1]=65535&(c=(0|c/65536)+2*s*a),u[2]=65535&(c=(0|c/65536)+2*s*o+a*a),u[3]=65535&(c=(0|c/65536)+2*s*i+2*a*o),u[4]=65535&(c=(0|c/65536)+2*s*r+2*a*i+o*o),u[5]=65535&(c=(0|c/65536)+2*s*n+2*a*r+2*o*i),u[6]=65535&(c=(0|c/65536)+2*s*t+2*a*n+2*o*r+i*i),u[7]=65535&(c=(0|c/65536)+2*s*e+2*a*t+2*o*n+2*i*r),u[8]=65535&(c=(0|c/65536)+2*a*e+2*o*t+2*i*n+r*r),u[9]=65535&(c=(0|c/65536)+2*o*e+2*i*t+2*r*n),u[10]=65535&(c=(0|c/65536)+2*i*e+2*r*t+n*n),u[11]=65535&(c=(0|c/65536)+2*r*e+2*n*t),u[12]=65535&(c=(0|c/65536)+2*n*e+t*t),u[13]=65535&(c=(0|c/65536)+2*t*e),u[14]=65535&(c=(0|c/65536)+e*e),u[15]=0|c/65536,u}function f(e){var t,n=l(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8]),r=l(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0]),i=l(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0]),o=[];return o[0]=65535&(t=8388608+r[0]+38*(i[8]-n[8]-r[8]+n[0]-128)),o[1]=65535&(t=8388480+(t>>>16)+r[1]+38*(i[9]-n[9]-r[9]+n[1])),o[2]=65535&(t=8388480+(t>>>16)+r[2]+38*(i[10]-n[10]-r[10]+n[2])),o[3]=65535&(t=8388480+(t>>>16)+r[3]+38*(i[11]-n[11]-r[11]+n[3])),o[4]=65535&(t=8388480+(t>>>16)+r[4]+38*(i[12]-n[12]-r[12]+n[4])),o[5]=65535&(t=8388480+(t>>>16)+r[5]+38*(i[13]-n[13]-r[13]+n[5])),o[6]=65535&(t=8388480+(t>>>16)+r[6]+38*(i[14]-n[14]-r[14]+n[6])),o[7]=65535&(t=8388480+(t>>>16)+r[7]+38*(i[15]-n[15]-r[15]+n[7])),o[8]=65535&(t=8388480+(t>>>16)+r[8]+i[0]-n[0]-r[0]+38*n[8]),o[9]=65535&(t=8388480+(t>>>16)+r[9]+i[1]-n[1]-r[1]+38*n[9]),o[10]=65535&(t=8388480+(t>>>16)+r[10]+i[2]-n[2]-r[2]+38*n[10]),o[11]=65535&(t=8388480+(t>>>16)+r[11]+i[3]-n[3]-r[3]+38*n[11]),o[12]=65535&(t=8388480+(t>>>16)+r[12]+i[4]-n[4]-r[4]+38*n[12]),o[13]=65535&(t=8388480+(t>>>16)+r[13]+i[5]-n[5]-r[5]+38*n[13]),o[14]=65535&(t=8388480+(t>>>16)+r[14]+i[6]-n[6]-r[6]+38*n[14]),o[15]=8388480+(t>>>16)+r[15]+i[7]-n[7]-r[7]+38*n[15],m(o),o}function d(e,t,n,r,i,o,a,s,c,u,p,l,f,d,h,m){var v,g=[];return g[0]=65535&(v=s*m),g[1]=65535&(v=(0|v/65536)+s*h+a*m),g[2]=65535&(v=(0|v/65536)+s*d+a*h+o*m),g[3]=65535&(v=(0|v/65536)+s*f+a*d+o*h+i*m),g[4]=65535&(v=(0|v/65536)+s*l+a*f+o*d+i*h+r*m),g[5]=65535&(v=(0|v/65536)+s*p+a*l+o*f+i*d+r*h+n*m),g[6]=65535&(v=(0|v/65536)+s*u+a*p+o*l+i*f+r*d+n*h+t*m),g[7]=65535&(v=(0|v/65536)+s*c+a*u+o*p+i*l+r*f+n*d+t*h+e*m),g[8]=65535&(v=(0|v/65536)+a*c+o*u+i*p+r*l+n*f+t*d+e*h),g[9]=65535&(v=(0|v/65536)+o*c+i*u+r*p+n*l+t*f+e*d),g[10]=65535&(v=(0|v/65536)+i*c+r*u+n*p+t*l+e*f),g[11]=65535&(v=(0|v/65536)+r*c+n*u+t*p+e*l),g[12]=65535&(v=(0|v/65536)+n*c+t*u+e*p),g[13]=65535&(v=(0|v/65536)+t*c+e*u),g[14]=65535&(v=(0|v/65536)+e*c),g[15]=0|v/65536,g}function h(e,t){var n,r=d(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8],t[15],t[14],t[13],t[12],t[11],t[10],t[9],t[8]),i=d(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0],t[7],t[6],t[5],t[4],t[3],t[2],t[1],t[0]),o=d(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0],t[15]+t[7],t[14]+t[6],t[13]+t[5],t[12]+t[4],t[11]+t[3],t[10]+t[2],t[9]+t[1],t[8]+t[0]),a=[];return a[0]=65535&(n=8388608+i[0]+38*(o[8]-r[8]-i[8]+r[0]-128)),a[1]=65535&(n=8388480+(n>>>16)+i[1]+38*(o[9]-r[9]-i[9]+r[1])),a[2]=65535&(n=8388480+(n>>>16)+i[2]+38*(o[10]-r[10]-i[10]+r[2])),a[3]=65535&(n=8388480+(n>>>16)+i[3]+38*(o[11]-r[11]-i[11]+r[3])),a[4]=65535&(n=8388480+(n>>>16)+i[4]+38*(o[12]-r[12]-i[12]+r[4])),a[5]=65535&(n=8388480+(n>>>16)+i[5]+38*(o[13]-r[13]-i[13]+r[5])),a[6]=65535&(n=8388480+(n>>>16)+i[6]+38*(o[14]-r[14]-i[14]+r[6])),a[7]=65535&(n=8388480+(n>>>16)+i[7]+38*(o[15]-r[15]-i[15]+r[7])),a[8]=65535&(n=8388480+(n>>>16)+i[8]+o[0]-r[0]-i[0]+38*r[8]),a[9]=65535&(n=8388480+(n>>>16)+i[9]+o[1]-r[1]-i[1]+38*r[9]),a[10]=65535&(n=8388480+(n>>>16)+i[10]+o[2]-r[2]-i[2]+38*r[10]),a[11]=65535&(n=8388480+(n>>>16)+i[11]+o[3]-r[3]-i[3]+38*r[11]),a[12]=65535&(n=8388480+(n>>>16)+i[12]+o[4]-r[4]-i[4]+38*r[12]),a[13]=65535&(n=8388480+(n>>>16)+i[13]+o[5]-r[5]-i[5]+38*r[13]),a[14]=65535&(n=8388480+(n>>>16)+i[14]+o[6]-r[6]-i[6]+38*r[14]),a[15]=8388480+(n>>>16)+i[15]+o[7]-r[7]-i[7]+38*r[15],m(a),a}function m(e){var t=e.slice(0),n=[e,t],r=e[15],i=n[32768>r&1];i[15]=32767&r,r=19*(0|r/32768),i[0]=65535&(r+=i[0]),r>>>=16,i[1]=65535&(r+=i[1]),r>>>=16,i[2]=65535&(r+=i[2]),r>>>=16,i[3]=65535&(r+=i[3]),r>>>=16,i[4]=65535&(r+=i[4]),r>>>=16,i[5]=65535&(r+=i[5]),r>>>=16,i[6]=65535&(r+=i[6]),r>>>=16,i[7]=65535&(r+=i[7]),r>>>=16,i[8]=65535&(r+=i[8]),r>>>=16,i[9]=65535&(r+=i[9]),r>>>=16,i[10]=65535&(r+=i[10]),r>>>=16,i[11]=65535&(r+=i[11]),r>>>=16,i[12]=65535&(r+=i[12]),r>>>=16,i[13]=65535&(r+=i[13]),r>>>=16,i[14]=65535&(r+=i[14]),r>>>=16,i[15]+=r}function v(e,t){var n,r=[];return r[0]=65535&(n=19*((0|e[15]>>>15)+(0|t[15]>>>15))+e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+(32767&e[15])+(32767&t[15]),r}function g(e,t){var n,r=[];return r[0]=65535&(n=524288+19*((0|e[15]>>>15)-(0|t[15]>>>15)-1)+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)+32760+(32767&e[15])-(32767&t[15]),r}function y(e){for(var t=e,n=250;--n;)e=f(e),e=h(e,t);return e=f(e),e=f(e),e=h(e,t),e=f(e),e=f(e),e=h(e,t),e=f(e),e=h(e,t)}function b(e){var t,n=121665,r=[];return r[0]=65535&(t=e[0]*n),r[1]=65535&(t=(0|t/65536)+e[1]*n),r[2]=65535&(t=(0|t/65536)+e[2]*n),r[3]=65535&(t=(0|t/65536)+e[3]*n),r[4]=65535&(t=(0|t/65536)+e[4]*n),r[5]=65535&(t=(0|t/65536)+e[5]*n),r[6]=65535&(t=(0|t/65536)+e[6]*n),r[7]=65535&(t=(0|t/65536)+e[7]*n),r[8]=65535&(t=(0|t/65536)+e[8]*n),r[9]=65535&(t=(0|t/65536)+e[9]*n),r[10]=65535&(t=(0|t/65536)+e[10]*n),r[11]=65535&(t=(0|t/65536)+e[11]*n),r[12]=65535&(t=(0|t/65536)+e[12]*n),r[13]=65535&(t=(0|t/65536)+e[13]*n),r[14]=65535&(t=(0|t/65536)+e[14]*n),r[15]=(0|t/65536)+e[15]*n,m(r),r}function x(e,t){var n,r,i,o,a;return i=f(v(e,t)),o=f(g(e,t)),a=g(i,o),n=h(o,i),r=h(v(b(a),i),a),[n,r]}function w(e,t,n,r,i){var o,a,s,c;return s=h(g(e,t),v(n,r)),c=h(v(e,t),g(n,r)),o=f(v(s,c)),a=h(f(g(s,c)),i),[o,a]}function _(e){var t=k.randomBytes(32);e===!0&&(t[0]&=248,t[31]=127&t[31]|64);for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join(\"\")}var k=e(\"crypto\"),j={};j.getbit=i,j.setbit=r,j.addmodp=v,j.invmodp=y,j.mulmodp=h,j.reduce=m,j.dbl=x,j.sum=w,j.ZERO=o,j.ONE=a,j.BASE=s,j.bigintadd=u,j.bigintsub=p,j.bigintcmp=c,j.mulmodp=h,j.sqrmodp=f,j.generateKey=_,t.exports=j},{crypto:void 0}],167:[function(e,t,n){\"use strict\";function r(e,t){var n,r,i;r=t,n=s.dbl(r,s.ONE()),i=[r,s.ONE()];for(var o=255;0==s.getbit(e,o);)if(o--,0>o)return s.ZERO();o--;for(var a=[n,i];o>=0;){var c,u,p=s.getbit(e,o);c=s.sum(a[0][0],a[0][1],a[1][0],a[1][1],r),u=s.dbl(a[1-p][0],a[1-p][1]),a[1-p]=u,a[p]=c,o--}return i=a[1],i[1]=s.invmodp(i[1]),i[0]=s.mulmodp(i[0],i[1]),s.reduce(i[0]),i[0]}function i(e,t){return t||(t=s.BASE()),e[0]&=65528,e[15]=32767&e[15]|16384,r(e,t)}function o(e){var t=c.hexEncode(e);return t=new Array(65-t.length).join(\"0\")+t,t.split(/(..)/).reverse().join(\"\")}function a(e){var t=e.split(/(..)/).reverse().join(\"\");return c.hexDecode(t)}var s=e(\"./core\"),c=e(\"./utils\"),u={};u.curve25519=i,u.curve25519_raw=r,u.hexEncodeVector=o,u.hexDecodeVector=a,u.hexencode=c.hexEncode,u.hexdecode=c.hexDecode,u.base32encode=c.base32encode,u.base32decode=c.base32decode,t.exports=u},{\"./core\":166,\"./utils\":170}],168:[function(e,t,n){(function(n){\"use strict\";function r(e){var t=new Uint16Array(e);return new n(new Uint8Array(t.buffer))}function i(e){if(n.isBuffer(e)){var t=new Uint8Array(e);return new Uint16Array(t.buffer)}for(var r=new Array(16),i=0,o=0;i<e.length;i+=2)r[o]=e.charCodeAt(i+1)<<8|e.charCodeAt(i),o++;return r}var o=e(\"./core\"),a=(e(\"./utils\"),e(\"./curve255\")),s={};s.computeKey=function(e,t){return r(t?a.curve25519(i(e),i(t)):a.curve25519(i(e)))},s.publicKey=function(e){return r(a.curve25519(i(e)))},s.generateKey=function(){return o.generateKey(!0)},t.exports=s}).call(this,e(\"buffer\").Buffer)},{\"./core\":166,\"./curve255\":167,\"./utils\":170,buffer:void 0}],169:[function(e,t,n){(function(n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);if(\"undefined\"==typeof e)return $;var t=e.constructor;if(t!==Array&&t!==Uint16Array&&t!==Uint32Array||16!==e.length)if(t===Array&&32===e.length)this.n=s(e).n;else if(t===String)this.n=D.hexDecode(e);else if(t===Number)this.n=[65535&e,e>>16,0,0,0,0,0,0,0,0,0,0,0,0,0,0];else{if(!(e instanceof r))throw\"Bad argument for bignum: \"+e;this.n=e.n.slice(0);\n}else this.n=e}function i(e,t){for(var n=0,r=0;16>r;r++){var i=e[r]>>16-t;e[r]=e[r]<<t&65535|n,n=i}return e}function o(e,t){for(var n=0,r=15;r>=0;r--){var i=e[r]<<16-t&65535;e[r]=e[r]>>t|n,n=i}return e}function a(e){e=r(e);for(var t=new Array(32),n=31;n>=0;n--)t[n]=255&e.n[0],e.shiftRight(8);return t}function s(e){for(var t=$,n=0;32>n;n++)t.shiftLeft(8),t=t.plus(r(e[n]));return t}function c(e,t){for(var n=N.ONE(),r=0;256>r;r++)1===N.getbit(t,r)&&(n=N.mulmodp(n,e)),e=N.sqrmodp(e);return n}function u(e){return N.reduce(e.n),e.cmp(V)>=0?u(e.minus(V)):-1===e.cmp($)?u(e.plus(V)):e}function p(e){var t=e[0],n=e[1],r=t.sqr(),i=n.sqr(),o=Y.times(r).times(i);return i.minus(r).minus(U).minus(o).modq().equals($)}function l(e){var t=e.sqr(),n=t.minus(U).divide(U.plus(Y.times(t))),r=n.pow(W);return r.times(r).minus(n).equals($)||(r=r.times(K)),r.isOdd()&&(r=V.minus(r)),r}function f(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3],p=r.minus(n).times(s.plus(a)),l=r.plus(n).times(s.minus(a)),f=i.times(H).times(u),d=o.times(H).times(c),h=d.plus(f),m=l.minus(p),v=l.plus(p),g=d.minus(f);return[h.times(m),v.times(g),m.times(v),h.times(g)]}function d(e){var t=e[0],n=e[1],r=e[2],i=t.times(t),o=n.times(n),a=H.times(r).times(r),s=V.minus(i),c=t.plus(n),u=c.times(c).minus(i).minus(o),p=s.plus(o),l=p.minus(a),f=s.minus(o);return[u.times(l),p.times(f),l.times(p),u.times(f)]}function h(e,t){if(t.equals($))return[$,U,U,$];var n=t.isOdd();t.shiftRight(1);var r=d(h(e,t));return n?f(r,e):r}function m(e){var t=e[0],n=e[1];return[t,n,U,t.times(n)]}function v(e){var t=e[0],n=e[1],r=e[2],i=r.inv();return[t.times(i),n.times(i)]}function g(e,t){return v(h(m(e),t))}function y(e,t){return e[e.length-(t>>>3)-1]>>(7&t)&1}function b(e,t){for(var n=[$,U,U,$],r=(t.length<<3)-1;r>=0;r--)n=d(n),1===y(t,r)&&(n=f(n,e));return n}function x(e,t){return v(b(m(e),t))}function w(e){return e.bytes(32).reverse()}function _(e){return r(e.slice(0).reverse())}function k(e){var t=w(e[1]);return e[0].isOdd()&&(t[31]|=128),t}function j(e){e=e.slice(0);var t=e[31]>>7;e[31]&=127;var n=_(e),r=l(n);(1&r.n[0])!==t&&(r=V.minus(r));var i=[r,n];if(!p(i))throw\"Point is not on curve\";return i}function S(e,t){if(void 0!==t)return 256===t?S(D.string2bytes(e)):new q(e,t);if(\"string\"==typeof e)return new q(e,10);if(e instanceof Array||e instanceof Uint8Array||n.isBuffer(e))return new q(e);if(\"number\"==typeof e)return new q(e.toString(),10);throw\"Can't convert \"+e+\" to BigInteger\"}function E(e,t){void 0===t&&(t=e.bitLength()+7>>>3);for(var n=new Array(t),r=t-1;r>=0;r--)n[r]=255&e[0],e=e.shiftRight(8);return n}function O(e){var t=R.createHash(\"sha512\").update(e).digest();return E(S(t),64).reverse()}function A(e){var t=R.createHash(\"sha512\").update(e).digest();return M(z,E(S(t),64)).join(\"\")}function C(e){return S([0].concat(O(e)))}function T(e){return r(O(e).slice(32,64))}function I(e){return C(e).mod(G)}function P(e){var t=T(e);return t.n[0]&=65528,t.n[15]&=16383,t.n[15]|=16384,t}function F(e){return k(g(Q,P(e)))}function M(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function z(e){return String.fromCharCode(e)}function B(e,t){return v(f(m(e),m(t)))}var N=e(\"./core\"),D=(e(\"./curve255\"),e(\"./utils\")),q=e(\"jsbn\").BigInteger,R=e(\"crypto\"),L={};r.prototype={toString:function(){return D.hexEncode(this.n)},toSource:function(){return\"_\"+D.hexEncode(this.n)},plus:function(e){return r(N.bigintadd(this.n,e.n))},minus:function(e){return r(N.bigintsub(this.n,e.n)).modq()},times:function(e){return r(N.mulmodp(this.n,e.n))},divide:function(e){return this.times(e.inv())},sqr:function(){return r(N.sqrmodp(this.n))},cmp:function(e){return N.bigintcmp(this.n,e.n)},equals:function(e){return 0===this.cmp(e)},isOdd:function(){return 1===(1&this.n[0])},shiftLeft:function(e){return i(this.n,e),this},shiftRight:function(e){return o(this.n,e),this},inv:function(){return r(N.invmodp(this.n))},pow:function(e){return r(c(this.n,e.n))},modq:function(){return u(this)},bytes:function(){return a(this)}};var $=r(0),U=r(1),H=r(2),V=r([65517,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,32767]),W=r(\"0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe\"),Y=r(\"52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3\"),K=r(\"2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0\"),G=(r(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\"),S(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\",16)),J=r(4).divide(r(5)),Z=l(J),Q=[Z,J];q.prototype.bytes=function(e){return E(this,e)},L.isOnCurve=function(e){try{p(j(D.string2bytes(e)))}catch(t){if(\"Point is not on curve\"===t)return!1;throw t}return!0},L.publicKey=function(e){return D.bytes2string(F(e))},L.sign=function(e,t,n){n=void 0===n?F(t):D.string2bytes(n);var r=S(P(t).toString(),16),i=A(t),o=O(i.slice(32,64)+e),a=x(Q,o),s=k(a);o=S(o).mod(S(1,10).shiftLeft(512));var c=M(z,s).join(\"\")+M(z,n).join(\"\")+e;return c=I(c).multiply(r).add(o).mod(G),D.bytes2string(s.concat(w(c)))},L.verify=function(e,t,n){e=D.string2bytes(e.slice(0,64)),n=D.string2bytes(n);var r=e.slice(0,32),i=j(r),o=j(n),a=_(e.slice(32,64)),s=C(D.bytes2string(r.concat(n))+t),c=g(Q,a),u=x(o,E(s)),p=B(i,u);return c[0].equals(p[0])&&c[1].equals(p[1])},L.generateKeySeed=function(){return N.generateKey(!1)},t.exports=L}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./core\":166,\"./curve255\":167,\"./utils\":170,crypto:void 0,jsbn:171}],170:[function(e,t,n){\"use strict\";function r(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];t.push(h.substr(r>>>12&15,1)),t.push(h.substr(r>>>8&15,1)),t.push(h.substr(r>>>4&15,1)),t.push(h.substr(15&r,1))}return t.join(\"\")}function i(e){for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.length-1,r=0;n>=0;n-=4)t[r]=h.indexOf(e.charAt(n))|h.indexOf(e.charAt(n-1))<<4|h.indexOf(e.charAt(n-2))<<8|h.indexOf(e.charAt(n-3))<<12,r++;return t}function o(e){var t,n=\"\";for(t=0;255>t;t+=5)n=m.substr(f.getbit(e,t)+(f.getbit(e,t+1)<<1)+(f.getbit(e,t+2)<<2)+(f.getbit(e,t+3)<<3)+(f.getbit(e,t+4)<<4),1)+n;return n}function a(e){var t=0,n=f.ZERO(),r=e.length;for(t=0;r>0&&255>t;t+=5){r--;var i=v[e.substr(r,1)];f.setbit(n,t,1&i),i>>=1,f.setbit(n,t+1,1&i),i>>=1,f.setbit(n,t+2,1&i),i>>=1,f.setbit(n,t+3,1&i),i>>=1,f.setbit(n,t+4,1&i)}return n}function s(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function c(e){return String.fromCharCode(e)}function u(e){return e.charCodeAt(0)}function p(e){return s(c,e).join(\"\")}function l(e){return s(u,e)}var f=e(\"./core\"),d={},h=\"0123456789abcdef\",m=\"abcdefghijklmnopqrstuvwxyz234567\",v=function(){for(var e={},t=0;t<m.length;t++)e[m.charAt(t)]=t;return e}();d.hexEncode=r,d.hexDecode=i,d.base32encode=o,d.base32decode=a,d.bytes2string=p,d.string2bytes=l,t.exports=d},{\"./core\":166}],171:[function(e,t,n){(function(){function e(e,t,n){null!=e&&(\"number\"==typeof e?this.fromNumber(e,t,n):null==t&&\"string\"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new e(null)}function i(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*a;c=a*c+((32767&p)<<15)+n[r]+(1073741823&i),i=(c>>>30)+(p>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i}function a(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*a;c=a*c+((16383&p)<<14)+n[r]+i,i=(c>>28)+(p>>14)+s*u,n[r++]=268435455&c}return i}function s(e){return vt.charAt(e)}function c(e,t){var n=gt[e.charCodeAt(t)];return null==n?-1:n}function u(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function p(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+this.DV:this.t=0}function l(e){var t=r();return t.fromInt(e),t}function f(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:c(t,i);0>s?\"-\"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)}function d(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function h(e){if(this.s<0)return\"-\"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o=\"\",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(n=this[a]>>c)>0&&(i=!0,o=s(n));a>=0;)t>c?(n=(this[a]&(1<<c)-1)<<t-c,n|=this[--a]>>(c+=this.DB-t)):(n=this[a]>>(c-=t)&r,0>=c&&(c+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:\"0\"}function m(){var t=r();return e.ZERO.subTo(this,t),t}function v(){return this.s<0?this.negate():this}function g(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function y(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function b(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)}function x(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function _(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function k(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}function j(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=0>r?-1:0,-1>r?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function S(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}function E(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function O(t,n,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t<o.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=t.s,p=this.DB-y(o[o.t-1]);p>0?(o.lShiftTo(p,s),a.lShiftTo(p,i)):(o.copyTo(s),a.copyTo(i));var l=s.t,f=s[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),h=this.FV/d,m=(1<<this.F1)/d,v=1<<this.F2,g=i.t,b=g-l,x=null==n?r():n;for(s.dlShiftTo(b,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),e.ONE.dlShiftTo(l,x),x.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var w=i[--g]==f?this.DM:Math.floor(i[g]*h+(i[g-1]+v)*m);if((i[g]+=s.am(0,w,i,b,0,l))<w)for(s.dlShiftTo(b,x),i.subTo(x,i);i[g]<--w;)i.subTo(x,i)}null!=n&&(i.drShiftTo(l,n),c!=u&&e.ZERO.subTo(n,n)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),0>c&&e.ZERO.subTo(i,i)}}}function A(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}function C(e){this.m=e}function T(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function I(e){return e}function P(e){e.divRemTo(this.m,null,e)}function F(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function M(e,t){e.squareTo(t),this.reduce(t)}function z(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function N(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n}function D(e){var t=r();return e.copyTo(t),this.reduce(t),t}function q(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function $(){return 0==(this.t>0?1&this[0]:this.s)}function U(t,n){if(t>4294967295||1>t)return e.ONE;var i=r(),o=r(),a=n.convert(this),s=y(t)-1;for(a.copyTo(i);--s>=0;)if(n.sqrTo(i,o),(t&1<<s)>0)n.mulTo(o,a,i);else{var c=i;i=o,o=c}return n.revert(i)}function H(e,t){var n;return n=256>e||t.isEven()?new C(t):new B(t),this.exp(e,n)}function V(){var e=r();return this.copyTo(e),e}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Y(){return 0==this.t?this.s:this[0]<<24>>24}function K(){return 0==this.t?this.s:this[0]<<16>>16}function G(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function J(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Z(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return\"0\";var t=this.chunkSize(e),n=Math.pow(e,t),i=l(n),o=r(),a=r(),s=\"\";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(e)+s}function Q(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<t.length;++u){var p=c(t,u);0>p?\"-\"==t.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+p,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)}function X(t,n,r){if(\"number\"==typeof n)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),se,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=(t>>3)+1,n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}}function ee(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)8>r?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,0>=r&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t}function te(e){return 0==this.compareTo(e)}function ne(e){return this.compareTo(e)<0?this:e}function re(e){return this.compareTo(e)>0?this:e}function ie(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;o>r;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}function oe(e,t){return e&t}function ae(e){var t=r();return this.bitwiseTo(e,oe,t),t}function se(e,t){return e|t}function ce(e){var t=r();return this.bitwiseTo(e,se,t),t}function ue(e,t){return e^t}function pe(e){var t=r();return this.bitwiseTo(e,ue,t),t}function le(e,t){return e&~t}function fe(e){var t=r();return this.bitwiseTo(e,le,t),t}function de(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function he(e){var t=r();return 0>e?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=r();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function ve(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ge(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+ve(this[e]);return this.s<0?this.t*this.DB:-1}function ye(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function be(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=ye(this[n]^t);return e}function xe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function we(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}function _e(e){return this.changeBit(e,se)}function ke(e){return this.changeBit(e,le)}function je(e){return this.changeBit(e,ue)}function Se(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=0>r?-1:0,r>0?t[n++]=r:-1>r&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function Ee(e){var t=r();return this.addTo(e,t),t}function Oe(e){var t=r();return this.subTo(e,t),t}function Ae(e){var t=r();return this.multiplyTo(e,t),t}function Ce(){var e=r();return this.squareTo(e),e}function Te(e){var t=r();return this.divRemTo(e,t,null),t}function Ie(e){var t=r();return this.divRemTo(e,null,t),t}function Pe(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)}function Fe(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Me(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function ze(){}function Be(e){return e}function Ne(e,t,n){e.multiplyTo(t,n)}function De(e,t){e.squareTo(t)}function qe(e){return this.exp(e,new ze)}function Re(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;i>r;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);i>r;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}function Le(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}function $e(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function Ue(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function Ve(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)}function We(e,t){e.squareTo(t),this.reduce(t)}function Ye(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function Ke(e,t){var n,i,o=e.bitLength(),a=l(1);if(0>=o)return a;n=18>o?1:48>o?3:144>o?4:768>o?5:6,i=8>o?new C(t):t.isEven()?new $e(t):new B(t);var s=new Array,c=3,u=n-1,p=(1<<n)-1;if(s[1]=i.convert(this),n>1){var f=r();for(i.sqrTo(s[1],f);p>=c;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var d,h,m=e.t-1,v=!0,g=r();for(o=y(e[m])-1;m>=0;){for(o>=u?d=e[m]>>o-u&p:(d=(e[m]&(1<<o+1)-1)<<u-o,m>0&&(d|=e[m-1]>>this.DB+o-u)),c=n;0==(1&d);)d>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),v)s[d].copyTo(a),v=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(h=a,a=g,g=h),i.mulTo(g,s[d],a)}for(;m>=0&&0==(e[m]&1<<o);)i.sqrTo(a,g),h=a,a=g,g=h,--o<0&&(o=this.DB-1,--m)}return i.revert(a)}function Ge(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(0>o)return t;for(o>i&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function Je(e){if(0>=e)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}function Ze(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Qe(e){var t,n=this.abs();if(1==n.t&&n[0]<=yt[yt.length-1]){for(t=0;t<yt.length;++t)if(n[0]==yt[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<yt.length;){for(var r=yt[t],i=t+1;i<yt.length&&bt>r;)r*=yt[i++];for(r=n.modInt(r);i>t;)if(r%yt[t++]==0)return!1}return n.millerRabin(e)}function Xe(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(0>=i)return!1;var o=n.shiftRight(i);t=t+1>>1,t>yt.length&&(t=yt.length);for(var a=r(),s=0;t>s;++s){a.fromInt(yt[Math.floor(Math.random()*yt.length)]);var c=a.modPow(o,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(n)){for(var u=1;u++<i&&0!=c.compareTo(n);)if(c=c.modPowInt(2,this),0==c.compareTo(e.ONE))return!1;if(0!=c.compareTo(n))return!1}}return!0}function et(e){wt[_t++]^=255&e,wt[_t++]^=e>>8&255,wt[_t++]^=e>>16&255,wt[_t++]^=e>>24&255,_t>=Et&&(_t-=Et)}function tt(){et((new Date).getTime())}function nt(){if(null==xt){for(tt(),xt=ct(),xt.init(wt),_t=0;_t<wt.length;++_t)wt[_t]=0;_t=0}return xt.next()}function rt(e){var t;for(t=0;t<e.length;++t)e[t]=nt()}function it(){}function ot(){this.i=0,this.j=0,this.S=new Array}function at(e){var t,n,r;for(t=0;256>t;++t)this.S[t]=t;for(n=0,t=0;256>t;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function st(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function ct(){return new ot}var ut,pt=0xdeadbeefcafe,lt=15715070==(16777215&pt),ft=\"undefined\"!=typeof navigator;ft&&lt&&\"Microsoft Internet Explorer\"==navigator.appName?(e.prototype.am=o,ut=30):ft&&lt&&\"Netscape\"!=navigator.appName?(e.prototype.am=i,ut=26):(e.prototype.am=a,ut=28),e.prototype.DB=ut,e.prototype.DM=(1<<ut)-1,e.prototype.DV=1<<ut;var dt=52;e.prototype.FV=Math.pow(2,dt),e.prototype.F1=dt-ut,e.prototype.F2=2*ut-dt;var ht,mt,vt=\"0123456789abcdefghijklmnopqrstuvwxyz\",gt=new Array;for(ht=\"0\".charCodeAt(0),mt=0;9>=mt;++mt)gt[ht++]=mt;for(ht=\"a\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;for(ht=\"A\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;C.prototype.convert=T,C.prototype.revert=I,C.prototype.reduce=P,C.prototype.mulTo=F,C.prototype.sqrTo=M,B.prototype.convert=N,B.prototype.revert=D,B.prototype.reduce=q,B.prototype.mulTo=L,B.prototype.sqrTo=R,e.prototype.copyTo=u,e.prototype.fromInt=p,e.prototype.fromString=f,e.prototype.clamp=d,e.prototype.dlShiftTo=x,e.prototype.drShiftTo=w,e.prototype.lShiftTo=_,e.prototype.rShiftTo=k,e.prototype.subTo=j,e.prototype.multiplyTo=S,e.prototype.squareTo=E,e.prototype.divRemTo=O,e.prototype.invDigit=z,e.prototype.isEven=$,e.prototype.exp=U,e.prototype.toString=h,e.prototype.negate=m,e.prototype.abs=v,e.prototype.compareTo=g,e.prototype.bitLength=b,e.prototype.mod=A,e.prototype.modPowInt=H,e.ZERO=l(0),e.ONE=l(1),ze.prototype.convert=Be,ze.prototype.revert=Be,ze.prototype.mulTo=Ne,ze.prototype.sqrTo=De,$e.prototype.convert=Ue,$e.prototype.revert=He,$e.prototype.reduce=Ve,$e.prototype.mulTo=Ye,$e.prototype.sqrTo=We;var yt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bt=(1<<26)/yt[yt.length-1];e.prototype.chunkSize=G,e.prototype.toRadix=Z,e.prototype.fromRadix=Q,e.prototype.fromNumber=X,e.prototype.bitwiseTo=ie,e.prototype.changeBit=we,e.prototype.addTo=Se,e.prototype.dMultiply=Fe,e.prototype.dAddOffset=Me,e.prototype.multiplyLowerTo=Re,e.prototype.multiplyUpperTo=Le,e.prototype.modInt=Je,e.prototype.millerRabin=Xe,e.prototype.clone=V,e.prototype.intValue=W,e.prototype.byteValue=Y,e.prototype.shortValue=K,e.prototype.signum=J,e.prototype.toByteArray=ee,e.prototype.equals=te,e.prototype.min=ne,e.prototype.max=re,e.prototype.and=ae,e.prototype.or=ce,e.prototype.xor=pe,e.prototype.andNot=fe,e.prototype.not=de,e.prototype.shiftLeft=he,e.prototype.shiftRight=me,e.prototype.getLowestSetBit=ge,e.prototype.bitCount=be,e.prototype.testBit=xe,e.prototype.setBit=_e,e.prototype.clearBit=ke,e.prototype.flipBit=je,e.prototype.add=Ee,e.prototype.subtract=Oe,e.prototype.multiply=Ae,e.prototype.divide=Te,e.prototype.remainder=Ie,e.prototype.divideAndRemainder=Pe,e.prototype.modPow=Ke,e.prototype.modInverse=Ze,e.prototype.pow=qe,e.prototype.gcd=Ge,e.prototype.isProbablePrime=Qe,e.prototype.square=Ce,e.prototype.Barrett=$e;var xt,wt,_t;if(null==wt){wt=new Array,_t=0;var kt;if(\"undefined\"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var jt=new Uint8Array(32);for(window.crypto.getRandomValues(jt),kt=0;32>kt;++kt)wt[_t++]=jt[kt]}else if(\"Netscape\"==navigator.appName&&navigator.appVersion<\"5\"){var St=window.crypto.random(32);for(kt=0;kt<St.length;++kt)wt[_t++]=255&St.charCodeAt(kt)}for(;Et>_t;)kt=Math.floor(65536*Math.random()),wt[_t++]=kt>>>8,wt[_t++]=255&kt;_t=0,tt()}it.prototype.nextBytes=rt,ot.prototype.init=at,ot.prototype.next=st;var Et=256;\"undefined\"!=typeof n?n=t.exports={BigInteger:e,SecureRandom:it}:(this.BigInteger=e,this.SecureRandom=it)}).call(this)},{}],172:[function(e,t,n){({define:\"undefined\"!=typeof define?define:function(e,n){t.exports=n()}}).define([],function(){function e(t,n){return e(t,n,{changing:!1})}var t=e;t.Integer={type:\"integer\"};var n={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,n,r){return e(t,n,{changing:r||\"property\"})};var e=t._validate=function(e,t,r){function i(e){return e.type||n[e.name]==e&&e.name.toLowerCase()}function o(e,t,n,u){function p(e){c.push({property:n,message:e})}function l(e,t){if(e){if(!(\"string\"!=typeof e||\"any\"==e||(\"null\"==e?null===t:typeof t==e)||t instanceof Array&&\"array\"==e||t instanceof Date&&\"date\"==e||\"integer\"==e&&t%1===0))return[{property:n,message:typeof t+\" value found, but a \"+e+\" is required\"}];if(e instanceof Array){for(var r=[],i=0;i<e.length&&(r=l(e[i],t)).length;i++);if(r.length)return r}else if(\"object\"==typeof e){var a=c;c=[],o(t,e,n);var s=c;return c=a,s}}return[]}var f;if(n+=n?\"number\"==typeof u?\"[\"+u+\"]\":\"undefined\"==typeof u?\"\":\".\"+u:u,(\"object\"!=typeof t||t instanceof Array)&&(n||\"function\"!=typeof t)&&(!t||!i(t)))return\"function\"==typeof t?e instanceof t||p(\"is not an instance of the class/constructor \"+t.name):t&&p(\"Invalid schema/property definition \"+t),null;if(s&&t.readonly&&p(\"is a readonly field, it can not be changed\"),t[\"extends\"]&&o(e,t[\"extends\"],n,u),void 0===e)t.required&&p(\"is missing and it is required\");else if(c=c.concat(l(i(t),e)),t.disallow&&!l(t.disallow,e).length&&p(\" disallowed value was matched\"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,h=t.items;for(u=0,f=e.length;f>u;u+=1)d&&(h=t.items[u]),r.coerce&&(e[u]=r.coerce(e[u],h)),c.concat(o(e[u],h,n,u))}t.minItems&&e.length<t.minItems&&p(\"There must be a minimum of \"+t.minItems+\" in the array\"),t.maxItems&&e.length>t.maxItems&&p(\"There must be a maximum of \"+t.maxItems+\" in the array\")}else(t.properties||t.additionalProperties)&&c.concat(a(e,t.properties,n,t.additionalProperties));if(t.pattern&&\"string\"==typeof e&&!e.match(t.pattern)&&p(\"does not match the regex pattern \"+t.pattern),t.maxLength&&\"string\"==typeof e&&e.length>t.maxLength&&p(\"may only be \"+t.maxLength+\" characters long\"),t.minLength&&\"string\"==typeof e&&e.length<t.minLength&&p(\"must be at least \"+t.minLength+\" characters long\"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p(\"must have a minimum value of \"+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p(\"must have a maximum value of \"+t.maximum),t[\"enum\"]){var m=t[\"enum\"];f=m.length;for(var v,g=0;f>g;g++)if(m[g]===e){v=1;break}v||p(\"does not have a value in the enumeration \"+m.join(\", \"))}\"number\"==typeof t.maxDecimal&&e.toString().match(new RegExp(\"\\\\.[0-9]{\"+(t.maxDecimal+1)+\",}\"))&&p(\"may only have \"+t.maxDecimal+\" digits of decimal places\")}return null}function a(e,t,n,i){if(\"object\"==typeof t){(\"object\"!=typeof e||e instanceof Array)&&c.push({property:n,message:\"an object is required\"});for(var a in t)if(t.hasOwnProperty(a)){var u=e[a];if(void 0===u&&r.existingOnly)continue;var p=t[a];void 0===u&&p[\"default\"]&&(u=e[a]=p[\"default\"]),r.coerce&&a in e&&(u=e[a]=r.coerce(u,p)),o(u,p,n,a)}}for(a in e){if(e.hasOwnProperty(a)&&(\"_\"!=a.charAt(0)||\"_\"!=a.charAt(1))&&t&&!t[a]&&i===!1){if(r.filter){delete e[a];continue}c.push({property:n,message:typeof u+\"The property \"+a+\" is not defined in the schema and the schema does not allow additional properties\"})}var l=t&&t[a]&&t[a].requires;!l||l in e||c.push({property:n,message:\"the presence of the property \"+a+\" requires that \"+l+\" also be present\"}),u=e[a],!i||t&&\"object\"==typeof t&&a in t||(r.coerce&&(u=e[a]=r.coerce(u,i)),o(u,i,n,a)),!s&&u&&u.$schema&&(c=c.concat(o(u,u.$schema,n,a)))}return c}r||(r={});var s=r.changing,c=[];return t&&o(e,t,\"\",s||\"\"),!s&&e&&e.$schema&&o(e,e.$schema,\"\",\"\"),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return\"for property \"+e.property+\": \"+e.message}).join(\", \\n\"))},t})},{}],173:[function(e,t,n){function r(e,t,n,r){return JSON.stringify(e,i(t,r),n)}function i(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?\"[Circular ~]\":\"[Circular ~.\"+r.slice(0,n.indexOf(t)).join(\".\")+\"]\"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=t.call(this,i,o))}else n.push(o);return null==e?o:e.call(this,i,o)}}n=t.exports=r,n.getSerialize=i},{}],174:[function(e,t,n){var r=function(e){return e.replace(/~./g,function(e){switch(e){case\"~0\":return\"~\";case\"~1\":return\"/\"}throw new Error(\"Invalid tilde escape: \"+e)})},i=function(e,t,n){var o=r(t.shift());if(!e.hasOwnProperty(o))return null;if(0!==t.length)return i(e[o],t,n);if(\"undefined\"==typeof n)return e[o];var a=e[o];return null===n?delete e[o]:e[o]=n,a},o=function(e,t){if(\"object\"!=typeof e)throw new Error(\"Invalid input object.\");if(\"\"===t)return[];if(!t)throw new Error(\"Invalid JSON pointer.\");t=t.split(\"/\");var n=t.shift();if(\"\"!==n)throw new Error(\"Invalid JSON pointer.\");return t},a=function(e,t){return t=o(e,t),0===t.length?e:i(e,t)},s=function(e,t,n){if(t=o(e,t),0===t.length)throw new Error(\"Invalid JSON pointer for set.\");return i(e,t,n)};n.get=a,n.set=s},{}],175:[function(e,t,n){function r(e){var t,n,i=\"__deepCopy\";if(e&&e[i])throw new Error(\"attempted deep copy of cyclic object\");\nif(e&&e.constructor==Object){t={},e[i]=!0;for(n in e)n!=i&&(t[n]=r(e[n]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,n=0;n<e.length;n++)t.push(r(e[n]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||\"object\"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var n;for(n in e){if(!t.hasOwnProperty(n))return!1;if(!i(e[n],t[n]))return!1}for(n in t)if(!e.hasOwnProperty(n))return!1;return!0}function o(e){var t;for(t in e)return!1;return!0}function a(e,t){for(var n in e)t(n,e[n])}function s(e,t){return A.equal(typeof t,\"string\"),c(e,t)}function c(e,t){if(null!==e&&\"object\"==typeof e){if(e.hasOwnProperty(t))return e[t];var n=t.indexOf(\".\");if(-1!=n){var r=t.substr(0,n);if(e.hasOwnProperty(r))return c(e[r],t.substr(n+1))}}}function u(e,t,n){p(e,t,[],n)}function p(e,t,n,r){var i,o;if(0===t)return i=n.slice(0),i.push(e),void r(i);A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);for(o in e)i=n.slice(0),i.push(o),p(e[o],t-1,i,r)}function l(e,t){if(0===t)return[e];A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);var n,r=[];for(n in e)l(e[n],t-1).forEach(function(e){r.push([n].concat(e))});return r}function f(e,t){return e.substr(0,t.length)==t}function d(e,t){return e.substr(e.length-t.length,t.length)==t}function h(e){return\"number\"==typeof e&&(e=new Date(e)),A.ok(e.constructor===Date),C.sprintf(\"%4d-%02d-%02dT%02d:%02d:%02d.%03dZ\",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function m(e){return C.sprintf(\"%s, %02d %s %04d %02d:%02d:%02d GMT\",F[e.getUTCDay()],e.getUTCDate(),P[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function v(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)}function g(e,t){var n=I.validate(t,e);if(0===n.errors.length)return null;var r,i,o=n.errors[0],a=o.property,s=o.message.toLowerCase();-1!=(r=s.indexOf(\"the property \"))&&-1!=(i=s.indexOf(\" is not defined in the schema and the schema does not allow additional properties\"))&&(r+=\"the property \".length,a=\"\"===a?s.substr(r,i-r):a+\".\"+s.substr(r,i-r),s=\"unsupported property\");var c=new T.VError('property \"%s\": %s',a,s);return c.jsv_details=o,c}function y(e){return A.ok(Array.isArray(e)&&e.length>0,\"randElt argument must be a non-empty array\"),e[Math.floor(Math.random()*e.length)]}function b(e){A.ok(e[0]>=0&&e[1]>=0,\"negative numbers not allowed in hrtimes\"),A.ok(e[1]<1e9,\"nanoseconds column overflow\")}function x(e,t){b(e),b(t),A.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],\"negative differences not allowed\");var n=[e[0]-t[0],0];return e[1]>=t[1]?n[1]=e[1]-t[1]:(n[0]--,n[1]=1e9-(t[1]-e[1])),n}function w(e){return b(e),Math.floor(1e9*e[0]+e[1])}function _(e){return b(e),Math.floor(1e6*e[0]+e[1]/1e3)}function k(e){return b(e),Math.floor(1e3*e[0]+e[1]/1e6)}function j(e,t){return b(e),b(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function S(e,t){b(e);var n=[e[0],e[1]];return j(n,t)}function E(e,t){A.ok(\"object\"==typeof e&&null!==e,\"obj argument must be a non-null object\"),A.ok(Array.isArray(t),\"allowed argument must be an array of strings\");for(var n=0;n<t.length;n++)A.ok(\"string\"==typeof t[n],\"allowed argument must be an array of strings\");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})}function O(e,t,n){var r,i;if(r={},n)for(i in n)r[i]=n[i];if(e)for(i in e)r[i]=e[i];if(t)for(i in t)r[i]=t[i];return r}var A=e(\"assert\"),C=(e(\"util\"),e(\"extsprintf\")),T=e(\"verror\"),I=e(\"json-schema\");n.deepCopy=r,n.deepEqual=i,n.isEmpty=o,n.forEachKey=a,n.pluck=s,n.flattenObject=l,n.flattenIter=u,n.validateJsonObject=g,n.validateJsonObjectJS=g,n.randElt=y,n.extraProperties=E,n.mergeObjects=O,n.startsWith=f,n.endsWith=d,n.iso8601=h,n.rfc1123=m,n.parseDateTime=v,n.hrtimediff=x,n.hrtimeDiff=x,n.hrtimeAccum=j,n.hrtimeAdd=S,n.hrtimeNanosec=w,n.hrtimeMicrosec=_,n.hrtimeMillisec=k;var P=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],F=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},{assert:void 0,extsprintf:114,\"json-schema\":172,util:void 0,verror:533}],176:[function(e,t,n){\"use strict\";function r(){this._pres={},this._posts={}}r.prototype.execPre=function(e,t,n){var r=this._pres[e]||[],i=r.length,o=r.numAsync||0,a=0,s=o,c=!1;if(!i)return process.nextTick(function(){n(null)});var u=function(){if(!(a>=i)){var e=r[a];if(e.isAsync)e.fn.call(t,function(e){if(e){if(c)return;return c=!0,n(e)}++a,u.apply(t,arguments)},function(e){if(e){if(c)return;return c=!0,n(e)}return 0===--o?n(null):void 0});else if(e.fn.length>0){var p=[function(e){if(e){if(c)return;return c=!0,n(e)}return++a>=i?s>0?void 0:n(null):void u.apply(t,arguments)}];if(arguments.length>=2)for(var l=1;l<arguments.length;++l)p.push(arguments[l]);e.fn.apply(t,p)}else{if(e.fn.call(t),++a>=i)return s>0?void 0:process.nextTick(function(){n(null)});u()}}};u()},r.prototype.execPost=function(e,t,n,r){var i=this._posts[e]||[],o=i.length,a=0;if(!o)return process.nextTick(function(){r.apply(null,[null].concat(n))});var s=function(){var e=i[a];if(e.length>n.length)e.apply(t,n.concat(function(e){return e?r(e):++a>=o?r.apply(null,[null].concat(n)):void s()}));else{if(e.apply(t,n),++a>=o)return r.apply(null,[null].concat(n));s()}};s()},r.prototype.wrap=function(e,t,n,r,i){var o=r.length>0?r[r.length-1]:null,a=this;this.execPre(e,n,function(s){if(s){if(\"function\"==typeof o)return o(s)}else{var c=\"function\"==typeof o?r.length-1:r.length;t.apply(n,r.slice(0,c).concat(function(){if(arguments[0])return\"function\"==typeof o?o(arguments[0]):void 0;i&&\"function\"==typeof o&&o.apply(n,arguments);var t=Array.prototype.slice.call(arguments,1);a.execPost(e,n,t,function(){return arguments[0]?\"function\"==typeof o?o(arguments[0]):void 0:\"function\"!=typeof o||i?void 0:o.apply(n,arguments)})}))}})},r.prototype.createWrapper=function(e,t,n){var r=this;return function(){var i=Array.prototype.slice.call(arguments);r.wrap(e,t,n,i)}},r.prototype.pre=function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1),this._pres[e]=this._pres[e]||[];var i=this._pres[e];return t&&(i.numAsync=i.numAsync||0,++i.numAsync),i.push({fn:n,isAsync:t}),this},r.prototype.post=function(e,t){return(this._posts[e]=this._posts[e]||[]).push(t),this},r.prototype.clone=function(){var e=new r;for(var t in this._pres)e._pres[t]=this._pres[t].slice();for(var t in this._posts)e._posts[t]=this._posts[t].slice();return e},t.exports=r},{}],177:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function c(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!!e.length&&_(e,t,0)>-1}function d(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function h(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function m(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function v(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function g(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===X?a===a:n(a,s)))var s=a,c=o}return c}function x(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function w(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function _(e,t,n){if(t!==t)return $(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function k(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function j(e,t){var n=e?e.length:0;return n?O(e,t)/n:Oe}function S(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function E(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==X&&(n=n===X?o:n+o)}return n}function A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return h(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function I(e,t){return h(t,function(t){return e[t]})}function P(e,t){for(var n=-1,r=e.length;++n<r&&_(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function z(e,t){if(e!==t){var n=null===e,r=e===X,i=e===e,o=null===t,a=t===X,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function B(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var c=z(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*(\"desc\"==u?-1:1)}}return e.index-t.index}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function D(e){return function(t,n){var r;return t===X&&n===X?0:(t!==X&&(r=t),n!==X&&(r=r===X?n:e(r,n)),r)}}function q(e){return Tn[e]}function R(e){return In[e]}function L(e){return\"\\\\\"+Mn[e]}function $(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function U(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(n){}return t}function H(e,t){return e=\"number\"==typeof e||Pt.test(e)?+e:-1,t=null==t?Se:t,e>-1&&e%1==0&&t>e}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ie||(e[n]=ie,o[i++]=n)}return o}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){if(!e||!jn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function J(e){return e.match(_n)}function Z(e){return Pn[e]}function Q(e){function t(e){if(as(e)&&!Zp(e)&&!(e instanceof Pt)){if(e instanceof M)return e;if(du.call(e,\"__wrapped__\"))return Ji(e)}return new M(e)}function n(){}function M(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=X}function Pt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function Bt(){var e=new Pt(this.__wrapped__);return e.__actions__=Kr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Kr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Kr(this.__views__),e}function Nt(){if(this.__filtered__){var e=new Pt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zp(e),r=0>t,i=n?e.length:0,o=Ci(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=Du(c,this.__takeCount__);if(!n||te>i||i==c&&d==c)return Ir(e,this.__actions__);var h=[];e:for(;c--&&d>f;){u+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==_e)v=x;else if(!x){if(b==we)continue e;break e}}h[f++]=v}return h}function qt(){}function Rt(e,t){return $t(e,t)&&delete e[t]}function Lt(e,t){if(Gu){var n=e[t];return n===re?X:n}return du.call(e,t)?e[t]:X}function $t(e,t){return Gu?e[t]!==X:du.call(e,t)}function Ut(e,t,n){e[t]=Gu&&n===X?re:n}function Ht(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vt(){this.__data__={hash:new qt,map:Vu?new Vu:[],string:new qt}}function Wt(e){var t=this.__data__;return qi(e)?Rt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map[\"delete\"](e):an(t.map,e)}function Yt(e){var t=this.__data__;return qi(e)?Lt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.get(e):sn(t.map,e)}function Kt(e){var t=this.__data__;return qi(e)?$t(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.has(e):cn(t.map,e)}function Gt(e,t){var n=this.__data__;return qi(e)?Ut(\"string\"==typeof e?n.string:n.hash,e,t):Vu?n.map.set(e,t):pn(n.map,e,t),this}function Jt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ht;++t<n;)this.push(e[t])}function Zt(e,t){var n=e.__data__;if(qi(t)){var r=n.__data__,i=\"string\"==typeof t?r.string:r.hash;return i[t]===re}return n.has(t)}function Qt(e){var t=this.__data__;if(qi(e)){var n=t.__data__,r=\"string\"==typeof e?n.string:n.hash;r[e]=re}else t.set(e,re)}function Xt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map[\"delete\"](e)}function nn(e){var t=this.__data__,n=t.array;return n?sn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<te-1?pn(r,e,t):(n.array=null,n.map=new Ht(r)));var i=n.map;return i&&i.set(e,t),this}function an(e,t){var n=un(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Tu.call(e,n,1),!0}function sn(e,t){var n=un(e,t);return 0>n?X:e[n][1]}function cn(e,t){return un(e,t)>-1}function un(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function pn(e,t,n){var r=un(e,t);0>r?e.push([t,n]):e[r][1]=n}function ln(e,t,n,r){return e===X||La(e,pu[n])&&!du.call(r,n)?t:e}function fn(e,t,n){(n===X||La(e[t],n))&&(\"number\"!=typeof t||n!==X||t in e)||(e[t]=n)}function dn(e,t,n){var r=e[t];du.call(e,t)&&La(r,n)&&(n!==X||t in e)||(e[t]=n)}function hn(e,t,n,r){return sp(e,function(e,i,o){t(r,e,n(e),o)}),r}function mn(e,t){return e&&Gr(t,Ws(t),e)}function vn(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?X:Us(e,t[n]);return o}function gn(e,t,n){return e===e&&(n!==X&&(e=n>=e?e:n),t!==X&&(e=e>=t?e:t)),e}function yn(e,t,n,r,i,o,a){var s;if(r&&(s=o?r(e,i,o,a):r(e)),s!==X)return s;if(!os(e))return e;var u=Zp(e);if(u){if(s=Ii(e),!t)return Kr(e,s)}else{var p=Ai(e),l=p==Be||p==Ne;if(Qp(e))return Dr(e,t);if(p==Re||p==Ie||l&&!o){if(U(e))return o?e:{};if(s=Pi(l?{}:e),!t)return Jr(e,mn(s,e))}else{if(!Cn[p])return o?e:{};s=Fi(e,p,yn,t)}}a||(a=new Xt);var f=a.get(e);if(f)return f;if(a.set(e,s),!u)var d=n?bi(e):Ws(e);return c(d||e,function(i,o){d&&(o=i,i=e[o]),dn(s,o,yn(i,t,n,r,o,e,a))}),s}function bn(e){var t=Ws(e),n=t.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=t[i],a=e[o],s=r[o];if(s===X&&!(o in Object(r))||!a(s))return!1}return!0}}function _n(e){return os(e)?Ou(e):{}}function Tn(e,t,n){if(\"function\"!=typeof e)throw new cu(ne);return Cu(function(){e.apply(X,n)},t)}function In(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=h(t,T(n))),r?(o=d,a=!1):t.length>=te&&(o=Zt,a=!1,t=new Jt(t));e:for(;++i<s;){var p=e[i],l=n?n(p):p;if(a&&l===l){for(var m=u;m--;)if(t[m]===l)continue e;c.push(p)}else o(t,l,r)||c.push(p)}return c}function Pn(e,t){var n=!0;return sp(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fn(e,t,n,r){var i=e.length;for(n=As(n),0>n&&(n=-n>i?0:i+n),r=r===X||r>i?i:As(r),0>r&&(r+=i),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Mn(e,t){var n=[];return sp(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Nn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=zi),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Nn(s,t-1,n,r,i):m(i,s):r||(i[i.length]=s)}return i}function Dn(e,t){return e&&up(e,t,Ws)}function Rn(e,t){return e&&pp(e,t,Ws)}function Ln(e,t){return l(t,function(t){return ns(e[t])})}function $n(e,t){t=Di(t,e)?[t]:Br(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:X}function Un(e,t,n){var r=t(e);return Zp(e)?r:m(r,n(e))}function Wn(e,t){return du.call(e,t)||\"object\"==typeof e&&t in e&&null===Ei(e)}function Yn(e,t){return t in Object(e)}function Kn(e,t,n){return e>=Du(t,n)&&e<Nu(t,n)}function Gn(e,t,n){for(var r=n?d:f,i=e[0].length,o=e.length,a=o,s=Array(o),c=1/0,u=[];a--;){var p=e[a];a&&t&&(p=h(p,T(t))),c=Du(p.length,c),s[a]=!n&&(t||i>=120&&p.length>=120)?new Jt(a&&p):X}p=e[0];var l=-1,m=s[0];e:for(;++l<i&&u.length<c;){var v=p[l],g=t?t(v):v;if(!(m?Zt(m,g):r(u,g,n))){for(a=o;--a;){var y=s[a];if(!(y?Zt(y,g):r(e[a],g,n)))continue e}m&&m.push(g),u.push(v)}}return u}function Jn(e,t,n,r){return Dn(e,function(e,i,o){t(r,n(e),i,o)}),r}function Zn(e,t,n){Di(t,e)||(t=Br(t),e=Wi(e,t),t=vo(t));var r=null==e?e:e[t];return null==r?X:o(r,e,n)}function Qn(e,t,n,r,i){return e===t?!0:null==e||null==t||!os(e)&&!as(t)?e!==e&&t!==t:Xn(e,t,Qn,n,r,i)}function Xn(e,t,n,r,i,o){var a=Zp(e),s=Zp(t),c=Pe,u=Pe;a||(c=Ai(e),c=c==Ie?Re:c),s||(u=Ai(t),u=u==Ie?Re:u);var p=c==Re&&!U(e),l=u==Re&&!U(t),f=c==u;if(f&&!p)return o||(o=new Xt),a||ws(e)?vi(e,t,n,r,i,o):gi(e,t,c,n,r,i,o);if(!(i&ve)){var d=p&&du.call(e,\"__wrapped__\"),h=l&&du.call(t,\"__wrapped__\");if(d||h){var m=d?e.value():e,v=h?t.value():t;return o||(o=new Xt),n(m,v,r,i,o)}}return f?(o||(o=new Xt),yi(e,t,n,r,i,o)):!1}function er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===X&&!(c in e))return!1}else{var l=new Xt;if(r)var f=r(u,p,c,e,t,l);if(!(f===X?Qn(p,u,r,me|ve,l):f))return!1}}return!0}function tr(e){return\"function\"==typeof e?e:null==e?Nc:\"object\"==typeof e?Zp(e)?ar(e[0],e[1]):or(e):Vc(e)}function nr(e){return Bu(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ir(e,t){var n=-1,r=Wa(e)?Array(e.length):[];return sp(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function or(e){var t=ki(e);return 1==t.length&&t[0][2]?Ui(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ar(e,t){return Di(e)&&$i(t)?Ui(e,t):function(n){var r=Us(n,e);return r===X&&r===t?Vs(n,e):Qn(t,r,X,me|ve)}}function sr(e,t,n,r,i){if(e!==t){if(!Zp(t)&&!ws(t))var o=Ys(t);c(o||t,function(a,s){if(o&&(s=a,a=t[s]),os(a))i||(i=new Xt),cr(e,t,s,n,sr,r,i);else{var c=r?r(e[s],a,s+\"\",e,t,i):X;c===X&&(c=a),fn(e,s,c)}})}}function cr(e,t,n,r,i,o,a){var s=e[n],c=t[n],u=a.get(c);if(u)return void fn(e,n,u);var p=o?o(s,c,n+\"\",e,t,a):X,l=p===X;l&&(p=c,Zp(c)||ws(c)?Zp(s)?p=s:Ya(s)?p=Kr(s):(l=!1,p=yn(c,!0)):ms(c)||Ha(c)?Ha(s)?p=Is(s):!os(s)||r&&ns(s)?(l=!1,p=yn(c,!0)):p=s:l=!1),a.set(c,p),l&&i(p,c,r,o,a),a[\"delete\"](c),fn(e,n,p)}function ur(e,t){var n=e.length;if(n)return t+=0>t?n:0,H(t,n)?e[t]:X}function pr(e,t,n){var r=-1;t=h(t.length?t:[Nc],T(_i()));var i=ir(e,function(e,n,i){var o=h(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return E(i,function(e,t){return B(e,t,n)})}function lr(e,t){return e=Object(e),v(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function fr(e,t){for(var n=-1,r=xi(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function dr(e){return function(t){return null==t?X:t[e]}}function hr(e){return function(t){return $n(t,e)}}function mr(e,t,n,r){var i=r?k:_,o=-1,a=t.length,s=e;for(n&&(s=h(e,T(n)));++o<a;)for(var c=0,u=t[o],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&Tu.call(s,c,1),Tu.call(e,c,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(H(i))Tu.call(e,i,1);else if(Di(i,e))delete e[i];else{var a=Br(i),s=Wi(e,a);null!=s&&delete s[vo(a)]}}}return e}function gr(e,t){return e+Pu(Ru()*(t-e+1))}function yr(e,t,n,r){for(var i=-1,o=Nu(Iu((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}function br(e,t){var n=\"\";if(!e||1>t||t>Se)return n;do t%2&&(n+=e),t=Pu(t/2),t&&(e+=e);while(t);return n}function xr(e,t,n,r){t=Di(t,e)?[t]:Br(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];if(os(s)){var u=n;if(i!=a){var p=s[c];u=r?r(p,c,s):X,u===X&&(u=null==p?H(t[i+1])?[]:{}:p)}dn(s,c,u)}s=s[c]}return e}function wr(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function _r(e,t){var n;return sp(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function kr(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Te>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return jr(e,t,Nc,n)}function jr(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===X;o>i;){var u=Pu((i+o)/2),p=n(e[u]),l=p!==X,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return Du(o,Ce)}function Sr(e){return Er(e)}function Er(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,c=[i];++n<r;)i=e[n],o=t?t(i):i,La(o,a)||(a=o,c[s++]=i);return c}function Or(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=d;else if(o>=te){var u=t?null:fp(e);if(u)return K(u);a=!1,i=Zt,c=new Jt}else c=t?[]:s;e:for(;++r<o;){var p=e[r],l=t?t(p):p;if(a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function Ar(e,t){t=Di(t,e)?[t]:Br(t),e=Wi(e,t);var n=vo(t);return null!=e&&Hs(e,n)?delete e[n]:!0}function Cr(e,t,n,r){return xr(e,t,n($n(e,t)),r)}function Tr(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?wr(e,r?0:o,r?o+1:i):wr(e,r?o+1:0,r?i:o)}function Ir(e,t){var n=e;return n instanceof Pt&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,m([e],t.args))},n)}function Pr(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?m(In(o,e[r],t,n),In(e[r],o,t,n)):e[r];return o&&o.length?Or(o,t,n):[]}function Fr(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:X;n(a,e[r],s)}return a}function Mr(e){return Ya(e)?e:[]}function zr(e){return\"function\"==typeof e?e:Nc}function Br(e){return Zp(e)?e:gp(e)}function Nr(e,t,n){var r=e.length;return n=n===X?r:n,!t&&n>=r?e:wr(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function qr(e){var t=new e.constructor(e.byteLength);return new _u(t).set(new _u(e)),t}function Rr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Lr(e,t,n){var i=t?n(W(e),!0):W(e);return v(i,r,new e.constructor)}function $r(e){var t=new e.constructor(e.source,Et.exec(e));return t.lastIndex=e.lastIndex,t}function Ur(e,t,n){var r=t?n(K(e),!0):K(e);return v(r,i,new e.constructor)}function Hr(e){return op?Object(op.call(e)):{}}function Vr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wr(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,u=Nu(o-a,0),p=Array(c+u),l=!r;++s<c;)p[s]=t[s];for(;++i<a;)(l||o>i)&&(p[n[i]]=e[i]);for(;u--;)p[s++]=e[i++];return p}function Yr(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,u=t.length,p=Nu(o-s,0),l=Array(p+u),f=!r;++i<p;)l[i]=e[i];for(var d=i;++c<u;)l[d+c]=t[c];for(;++a<s;)(f||o>i)&&(l[d+n[a]]=e[i++]);return l}function Kr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Gr(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];dn(n,a,s)}return n}function Jr(e,t){return Gr(e,Oi(e),t)}function Zr(e,t){return function(n,r){var i=Zp(n)?a:hn,o=t?t():{};return i(n,e,_i(r),o)}}function Qr(e){return Ia(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=\"function\"==typeof o?(i--,o):X,a&&Ni(n[0],n[1],a)&&(o=3>i?X:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Xr(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function ei(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}function ti(e,t,n){function r(){var t=this&&this!==Hn&&this instanceof r?o:e;return t.apply(i?n:this,arguments)}var i=t&oe,o=ii(e);return r}function ni(e){return function(t){t=Fs(t);var n=jn.test(t)?J(t):X,r=n?n[0]:t.charAt(0),i=n?Nr(n,1).join(\"\"):t.slice(1);return r[e]()+i}}function ri(e){return function(t){return v(Fc(dc(t).replace(xn,\"\")),e,\"\")}}function ii(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_n(e.prototype),r=e.apply(n,t);return os(r)?r:n}}function oi(e,t,n){function r(){for(var a=arguments.length,s=Array(a),c=a,u=Si(r);c--;)s[c]=arguments[c];var p=3>a&&s[0]!==u&&s[a-1]!==u?[]:Y(s,u);if(a-=p.length,n>a)return di(e,t,si,r.placeholder,X,s,p,X,X,n-a);var l=this&&this!==Hn&&this instanceof r?i:e;return o(l,this,s)}var i=ii(e);return r}function ai(e){return Ia(function(t){t=Nn(t,1);var n=t.length,r=n,i=M.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(\"function\"!=typeof o)throw new cu(ne);if(i&&!a&&\"wrapper\"==wi(o))var a=new M([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=wi(o),c=\"wrapper\"==s?dp(o):X;a=c&&Ri(c[0])&&c[1]==(fe|ce|pe|de)&&!c[4].length&&1==c[9]?a[wi(c[0])].apply(a,c[3]):1==o.length&&Ri(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Zp(r)&&r.length>=te)return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function si(e,t,n,r,i,o,a,s,c,u){function p(){for(var g=arguments.length,y=g,b=Array(g);y--;)b[y]=arguments[y];if(h)var x=Si(p),w=N(b,x);if(r&&(b=Wr(b,r,i,h)),o&&(b=Yr(b,o,a,h)),g-=w,h&&u>g){var _=Y(b,x);return di(e,t,si,p.placeholder,n,b,_,s,c,u-g)}var k=f?n:this,j=d?k[e]:e;return g=b.length,s?b=Yi(b,s):m&&g>1&&b.reverse(),l&&g>c&&(b.length=c),this&&this!==Hn&&this instanceof p&&(j=v||ii(j)),j.apply(k,b)}var l=t&fe,f=t&oe,d=t&ae,h=t&(ce|ue),m=t&he,v=d?X:ii(e);return p}function ci(e,t){return function(n,r){return Jn(n,e,t(r),{})}}function ui(e){return Ia(function(t){return t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i())),Ia(function(n){var r=this;return e(t,function(e){return o(e,r,n)})})})}function pi(e,t){t=t===X?\" \":t+\"\";var n=t.length;if(2>n)return n?br(t,e):t;var r=br(t,Iu(e/G(t)));return jn.test(t)?Nr(J(r),0,e).join(\"\"):r.slice(0,e)}function li(e,t,n,r){function i(){for(var t=-1,c=arguments.length,u=-1,p=r.length,l=Array(p+c),f=this&&this!==Hn&&this instanceof i?s:e;++u<p;)l[u]=r[u];for(;c--;)l[u++]=arguments[++t];return o(f,a?n:this,l)}var a=t&oe,s=ii(e);return i}function fi(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Ni(t,n,r)&&(n=r=X),t=Ts(t),t=t===t?t:0,n===X?(n=t,t=0):n=Ts(n)||0,r=r===X?n>t?1:-1:Ts(r)||0,yr(t,n,r,e)}}function di(e,t,n,r,i,o,a,s,c,u){var p=t&ce,l=p?a:X,f=p?X:a,d=p?o:X,h=p?X:o;t|=p?pe:le,t&=~(p?le:pe),t&se||(t&=~(oe|ae));var m=[e,t,i,d,l,h,f,s,c,u],v=n.apply(X,m);return Ri(e)&&vp(v,m),v.placeholder=r,v}function hi(e){var t=au[e];return function(e,n){if(e=Ts(e),n=As(n)){var r=(Fs(e)+\"e\").split(\"e\"),i=t(r[0]+\"e\"+(+r[1]+n));return r=(Fs(i)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}function mi(e,t,n,r,i,o,a,s){var c=t&ae;if(!c&&\"function\"!=typeof e)throw new cu(ne);var u=r?r.length:0;if(u||(t&=~(pe|le),r=i=X),a=a===X?a:Nu(As(a),0),s=s===X?s:As(s),u-=i?i.length:0,t&le){var p=r,l=i;r=i=X}var f=c?X:dp(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&Hi(d,f),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=null==d[9]?c?0:e.length:Nu(d[9]-u,0),!s&&t&(ce|ue)&&(t&=~(ce|ue)),t&&t!=oe)h=t==ce||t==ue?oi(e,t,s):t!=pe&&t!=(oe|pe)||i.length?si.apply(X,d):li(e,t,n,r);else var h=ti(e,t,n);var m=f?lp:vp;return m(h,d)}function vi(e,t,n,r,i,o){var a=-1,s=i&ve,c=i&me,u=e.length,p=t.length;if(u!=p&&!(s&&p>u))return!1;var l=o.get(e);if(l)return l==t;var f=!0;for(o.set(e,t);++a<u;){var d=e[a],h=t[a];if(r)var m=s?r(h,d,a,t,e,o):r(d,h,a,e,t,o);if(m!==X){if(m)continue;f=!1;break}if(c){if(!y(t,function(e){return d===e||n(d,e,r,i,o)})){f=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){f=!1;break}}return o[\"delete\"](e),f}function gi(e,t,n,r,i,o,a){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new _u(e),new _u(t)));case Fe:case Me:return+e==+t;case ze:return e.name==t.name&&e.message==t.message;case qe:return e!=+e?t!=+t:e==+t;case $e:case He:return e==t+\"\";case De:var s=W;case Ue:var c=o&ve;if(s||(s=K),e.size!=t.size&&!c)return!1;var u=a.get(e);return u?u==t:(o|=me,a.set(e,t),vi(s(e),s(t),r,i,o,a));case Ve:if(op)return op.call(e)==op.call(t)}return!1}function yi(e,t,n,r,i,o){var a=i&ve,s=Ws(e),c=s.length,u=Ws(t),p=u.length;if(c!=p&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in t:Wn(t,f)))return!1}var d=o.get(e);if(d)return d==t;var h=!0;o.set(e,t);for(var m=a;++l<c;){f=s[l];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,o):r(v,g,f,e,t,o);if(!(y===X?v===g||n(v,g,r,i,o):y)){h=!1;break}m||(m=\"constructor\"==f)}if(h&&!m){var b=e.constructor,x=t.constructor;b!=x&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof x&&x instanceof x)&&(h=!1)}return o[\"delete\"](e),h}function bi(e){return Un(e,Ws,Oi)}function xi(e){return Un(e,Ys,mp)}function wi(e){for(var t=e.name+\"\",n=Qu[t],r=du.call(Qu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function _i(){var e=t.iteratee||Dc;return e=e===Dc?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e){for(var t=tc(e),n=t.length;n--;)t[n][2]=$i(t[n][1]);return t}function ji(e,t){var n=e[t];return ls(n)?n:X}function Si(e){var n=du.call(t,\"placeholder\")?t:e;return n.placeholder}function Ei(e){return Fu(Object(e))}function Oi(e){return Su(Object(e))}function Ai(e){return vu.call(e)}function Ci(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Du(t,e+a);break;case\"takeRight\":e=Nu(e,t-a)}}return{start:e,end:t}}function Ti(e,t,n){t=Di(t,e)?[t]:Br(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&is(o)&&H(a,o)&&(Zp(e)||bs(e)||Ha(e))}function Ii(e){var t=e.length,n=e.constructor(t);return t&&\"string\"==typeof e[0]&&du.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Pi(e){return\"function\"!=typeof e.constructor||Li(e)?{}:_n(Ei(e))}function Fi(e,t,n,r){var i=e.constructor;switch(t){case Ke:return qr(e);case Fe:case Me:return new i(+e);case Ge:return Rr(e,r);case Je:case Ze:case Qe:case Xe:case et:case tt:case nt:case rt:case it:return Vr(e,r);case De:return Lr(e,r,n);case qe:case He:return new i(e);case $e:return $r(e);case Ue:return Ur(e,r,n);case Ve:return Hr(e)}}function Mi(e){var t=e?e.length:X;return is(t)&&(Zp(e)||bs(e)||Ha(e))?A(t,String):null}function zi(e){return Ya(e)&&(Zp(e)||Ha(e))}function Bi(e){return Zp(e)&&!(2==e.length&&!ns(e[0]))}function Ni(e,t,n){if(!os(n))return!1;var r=typeof t;return(\"number\"==r?Wa(n)&&H(t,n.length):\"string\"==r&&t in n)?La(n[t],e):!1}function Di(e,t){var n=typeof e;return\"number\"==n||\"symbol\"==n?!0:!Zp(e)&&(xs(e)||vt.test(e)||!mt.test(e)||null!=t&&e in Object(t))}function qi(e){var t=typeof e;return\"number\"==t||\"boolean\"==t||\"string\"==t&&\"__proto__\"!=e||null==e}function Ri(e){var n=wi(e),r=t[n];if(\"function\"!=typeof r||!(n in Pt.prototype))return!1;if(e===r)return!0;var i=dp(r);return!!i&&e===i[0]}function Li(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||pu;return e===n}function $i(e){return e===e&&!os(e)}function Ui(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==X||e in Object(n))}}function Hi(e,t){var n=e[1],r=t[1],i=n|r,o=(oe|ae|fe)>i,a=r==fe&&n==ce||r==fe&&n==de&&e[7].length<=t[8]||r==(fe|de)&&t[7].length<=t[8]&&n==ce;\nif(!o&&!a)return e;r&oe&&(e[2]=t[2],i|=n&oe?0:se);var s=t[3];if(s){var c=e[3];e[3]=c?Wr(c,s,t[4]):s,e[4]=c?Y(e[3],ie):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Yr(c,s,t[6]):s,e[6]=c?Y(e[5],ie):t[6]),s=t[7],s&&(e[7]=s),r&fe&&(e[8]=null==e[8]?t[8]:Du(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Vi(e,t,n,r,i,o){return os(e)&&os(t)&&sr(e,t,X,Vi,o.set(t,e)),e}function Wi(e,t){return 1==t.length?e:$n(e,wr(t,0,-1))}function Yi(e,t){for(var n=e.length,r=Du(t.length,n),i=Kr(e);r--;){var o=t[r];e[r]=H(o,n)?i[o]:X}return e}function Ki(e){return\"string\"==typeof e||xs(e)?e:e+\"\"}function Gi(e){if(null!=e){try{return fu.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ji(e){if(e instanceof Pt)return e.clone();var t=new M(e.__wrapped__,e.__chain__);return t.__actions__=Kr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zi(e,t,n){t=(n?Ni(e,t,n):t===X)?1:Nu(As(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(Iu(r/t));r>i;)a[o++]=wr(e,i,i+=t);return a}function Qi(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Xi(){var e=arguments.length,t=Ba(arguments[0]);if(2>e)return e?Kr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Nn(n,1))}function eo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),wr(e,0>t?0:t,r)):[]}function to(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0,0>t?0:t)):[]}function no(e,t){return e&&e.length?Tr(e,_i(t,3),!0,!0):[]}function ro(e,t){return e&&e.length?Tr(e,_i(t,3),!0):[]}function io(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Ni(e,t,n)&&(n=0,r=i),Fn(e,t,n,r)):[]}function oo(e,t){return e&&e.length?w(e,_i(t,3)):-1}function ao(e,t){return e&&e.length?w(e,_i(t,3),!0):-1}function so(e){var t=e?e.length:0;return t?Nn(e,1):[]}function co(e){var t=e?e.length:0;return t?Nn(e,je):[]}function uo(e,t){var n=e?e.length:0;return n?(t=t===X?1:As(t),Nn(e,t)):[]}function po(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function lo(e){return e&&e.length?e[0]:X}function fo(e,t,n){var r=e?e.length:0;return r?(n=As(n),0>n&&(n=Nu(r+n,0)),_(e,t,n)):-1}function ho(e){return to(e,1)}function mo(e,t){return e?zu.call(e,t):\"\"}function vo(e){var t=e?e.length:0;return t?e[t-1]:X}function go(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==X&&(i=As(n),i=(0>i?Nu(r+i,0):Du(i,r-1))+1),t!==t)return $(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function yo(e,t){return e&&e.length?ur(e,As(t)):X}function bo(e,t){return e&&e.length&&t&&t.length?mr(e,t):e}function xo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,_i(n)):e}function wo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,X,n):e}function _o(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=_i(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vr(e,i),n}function ko(e){return e?$u.call(e):e}function jo(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Ni(e,t,n)?(t=0,n=r):(t=null==t?0:As(t),n=n===X?r:As(n)),wr(e,t,n)):[]}function So(e,t){return kr(e,t)}function Eo(e,t,n){return jr(e,t,_i(n))}function Oo(e,t){var n=e?e.length:0;if(n){var r=kr(e,t);if(n>r&&La(e[r],t))return r}return-1}function Ao(e,t){return kr(e,t,!0)}function Co(e,t,n){return jr(e,t,_i(n),!0)}function To(e,t){var n=e?e.length:0;if(n){var r=kr(e,t,!0)-1;if(La(e[r],t))return r}return-1}function Io(e){return e&&e.length?Sr(e):[]}function Po(e,t){return e&&e.length?Er(e,_i(t)):[]}function Fo(e){return eo(e,1)}function Mo(e,t,n){return e&&e.length?(t=n||t===X?1:As(t),wr(e,0,0>t?0:t)):[]}function zo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0>t?0:t,r)):[]}function Bo(e,t){return e&&e.length?Tr(e,_i(t,3),!1,!0):[]}function No(e,t){return e&&e.length?Tr(e,_i(t,3)):[]}function Do(e){return e&&e.length?Or(e):[]}function qo(e,t){return e&&e.length?Or(e,_i(t)):[]}function Ro(e,t){return e&&e.length?Or(e,X,t):[]}function Lo(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ya(e)?(t=Nu(e.length,t),!0):void 0}),A(t,function(t){return h(e,dr(t))})}function $o(e,t){if(!e||!e.length)return[];var n=Lo(e);return null==t?n:h(n,function(e){return o(t,X,e)})}function Uo(e,t){return Fr(e||[],t||[],dn)}function Ho(e,t){return Fr(e||[],t||[],xr)}function Vo(e){var n=t(e);return n.__chain__=!0,n}function Wo(e,t){return t(e),e}function Yo(e,t){return t(e)}function Ko(){return Vo(this)}function Go(){return new M(this.value(),this.__chain__)}function Jo(){this.__values__===X&&(this.__values__=Os(this.value()));var e=this.__index__>=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function Zo(){return this}function Qo(e){for(var t,r=this;r instanceof n;){var i=Ji(r);i.__index__=0,i.__values__=X,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Xo(){var e=this.__wrapped__;if(e instanceof Pt){var t=e;return this.__actions__.length&&(t=new Pt(this)),t=t.reverse(),t.__actions__.push({func:Yo,args:[ko],thisArg:X}),new M(t,this.__chain__)}return this.thru(ko)}function ea(){return Ir(this.__wrapped__,this.__actions__)}function ta(e,t,n){var r=Zp(e)?p:Pn;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function na(e,t){var n=Zp(e)?l:Mn;return n(e,_i(t,3))}function ra(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t);return n>-1?e[n]:X}return x(e,t,sp)}function ia(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t,!0);return n>-1?e[n]:X}return x(e,t,cp)}function oa(e,t){return Nn(la(e,t),1)}function aa(e,t){return Nn(la(e,t),je)}function sa(e,t,n){return n=n===X?1:As(n),Nn(la(e,t),n)}function ca(e,t){return\"function\"==typeof t&&Zp(e)?c(e,t):sp(e,_i(t))}function ua(e,t){return\"function\"==typeof t&&Zp(e)?u(e,t):cp(e,_i(t))}function pa(e,t,n,r){e=Wa(e)?e:sc(e),n=n&&!r?As(n):0;var i=e.length;return 0>n&&(n=Nu(i+n,0)),bs(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&_(e,t,n)>-1}function la(e,t){var n=Zp(e)?h:ir;return n(e,_i(t,3))}function fa(e,t,n,r){return null==e?[]:(Zp(t)||(t=null==t?[]:[t]),n=r?X:n,Zp(n)||(n=null==n?[]:[n]),pr(e,t,n))}function da(e,t,n){var r=Zp(e)?v:S,i=arguments.length<3;return r(e,_i(t,4),n,i,sp)}function ha(e,t,n){var r=Zp(e)?g:S,i=arguments.length<3;return r(e,_i(t,4),n,i,cp)}function ma(e,t){var n=Zp(e)?l:Mn;return t=_i(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function va(e){var t=Wa(e)?e:sc(e),n=t.length;return n>0?t[gr(0,n-1)]:X}function ga(e,t,n){var r=-1,i=Os(e),o=i.length,a=o-1;for(t=(n?Ni(e,t,n):t===X)?1:gn(As(t),0,o);++r<t;){var s=gr(r,a),c=i[s];i[s]=i[r],i[r]=c}return i.length=t,i}function ya(e){return ga(e,Ae)}function ba(e){if(null==e)return 0;if(Wa(e)){var t=e.length;return t&&bs(e)?G(e):t}if(as(e)){var n=Ai(e);if(n==De||n==Ue)return e.size}return Ws(e).length}function xa(e,t,n){var r=Zp(e)?y:_r;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function wa(e,t){if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e<1?t.apply(this,arguments):void 0}}function _a(e,t,n){return t=n?X:t,t=e&&null==t?e.length:t,mi(e,fe,X,X,X,X,t)}function ka(e,t){var n;if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=X),n}}function ja(e,t,n){t=n?X:t;var r=mi(e,ce,X,X,X,X,X,t);return r.placeholder=ja.placeholder,r}function Sa(e,t,n){t=n?X:t;var r=mi(e,ue,X,X,X,X,X,t);return r.placeholder=Sa.placeholder,r}function Ea(e,t,n){function r(t){var n=f,r=d;return f=d=X,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Cu(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Du(i,h-r):i}function a(e){var n=e-g,r=e-y;return!g||n>=t||0>n||x&&r>=h}function s(){var e=$p();return a(e)?c(e):void(v=Cu(s,o(e)))}function c(e){return ku(v),v=X,w&&f?r(e):(f=d=X,m)}function u(){v!==X&&ku(v),g=y=0,f=d=v=X}function p(){return v===X?m:c($p())}function l(){var e=$p(),n=a(e);if(f=arguments,d=this,g=e,n){if(v===X)return i(g);if(x)return ku(v),v=Cu(s,t),r(g)}return v===X&&(v=Cu(s,t)),m}var f,d,h,m,v,g=0,y=0,b=!1,x=!1,w=!0;if(\"function\"!=typeof e)throw new cu(ne);return t=Ts(t)||0,os(n)&&(b=!!n.leading,x=\"maxWait\"in n,h=x?Nu(Ts(n.maxWait)||0,t):h,w=\"trailing\"in n?!!n.trailing:w),l.cancel=u,l.flush=p,l}function Oa(e){return mi(e,he)}function Aa(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new cu(ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Aa.Cache||Ht),n}function Ca(e){if(\"function\"!=typeof e)throw new cu(ne);return function(){return!e.apply(this,arguments)}}function Ta(e){return ka(2,e)}function Ia(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=Nu(t===X?e.length-1:As(t),0),function(){for(var n=arguments,r=-1,i=Nu(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,o(e,this,s)}}function Pa(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=t===X?0:Nu(As(t),0),Ia(function(n){var r=n[t],i=Nr(n,0,t);return r&&m(i,r),o(e,this,i)})}function Fa(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new cu(ne);return os(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Ea(e,t,{leading:r,maxWait:t,trailing:i})}function Ma(e){return _a(e,1)}function za(e,t){return t=null==t?Nc:t,Kp(t,e)}function Ba(){if(!arguments.length)return[];var e=arguments[0];return Zp(e)?e:[e]}function Na(e){return yn(e,!1,!0)}function Da(e,t){return yn(e,!1,!0,t)}function qa(e){return yn(e,!0,!0)}function Ra(e,t){return yn(e,!0,!0,t)}function La(e,t){return e===t||e!==e&&t!==t}function $a(e,t){return e>t}function Ua(e,t){return e>=t}function Ha(e){return Ya(e)&&du.call(e,\"callee\")&&(!Au.call(e,\"callee\")||vu.call(e)==Ie)}function Va(e){return as(e)&&vu.call(e)==Ke}function Wa(e){return null!=e&&is(hp(e))&&!ns(e)}function Ya(e){return as(e)&&Wa(e)}function Ka(e){return e===!0||e===!1||as(e)&&vu.call(e)==Fe}function Ga(e){return as(e)&&vu.call(e)==Me}function Ja(e){return!!e&&1===e.nodeType&&as(e)&&!ms(e)}function Za(e){if(Wa(e)&&(Zp(e)||bs(e)||ns(e.splice)||Ha(e)||Qp(e)))return!e.length;if(as(e)){var t=Ai(e);if(t==De||t==Ue)return!e.size}for(var n in e)if(du.call(e,n))return!1;return!(Zu&&Ws(e).length)}function Qa(e,t){return Qn(e,t)}function Xa(e,t,n){n=\"function\"==typeof n?n:X;var r=n?n(e,t):X;return r===X?Qn(e,t,n):!!r}function es(e){return as(e)?vu.call(e)==ze||\"string\"==typeof e.message&&\"string\"==typeof e.name:!1}function ts(e){return\"number\"==typeof e&&Mu(e)}function ns(e){var t=os(e)?vu.call(e):\"\";return t==Be||t==Ne}function rs(e){return\"number\"==typeof e&&e==As(e)}function is(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Se>=e}function os(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function as(e){return!!e&&\"object\"==typeof e}function ss(e){return as(e)&&Ai(e)==De}function cs(e,t){return e===t||er(e,t,ki(t))}function us(e,t,n){return n=\"function\"==typeof n?n:X,er(e,t,ki(t),n)}function ps(e){return hs(e)&&e!=+e}function ls(e){if(!os(e))return!1;var t=ns(e)||U(e)?yu:Tt;return t.test(Gi(e))}function fs(e){return null===e}function ds(e){return null==e}function hs(e){return\"number\"==typeof e||as(e)&&vu.call(e)==qe}function ms(e){if(!as(e)||vu.call(e)!=Re||U(e))return!1;var t=Ei(e);if(null===t)return!0;var n=du.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&fu.call(n)==mu}function vs(e){return os(e)&&vu.call(e)==$e}function gs(e){return rs(e)&&e>=-Se&&Se>=e}function ys(e){return as(e)&&Ai(e)==Ue}function bs(e){return\"string\"==typeof e||!Zp(e)&&as(e)&&vu.call(e)==He}function xs(e){return\"symbol\"==typeof e||as(e)&&vu.call(e)==Ve}function ws(e){return as(e)&&is(e.length)&&!!An[vu.call(e)]}function _s(e){return e===X}function ks(e){return as(e)&&Ai(e)==We}function js(e){return as(e)&&vu.call(e)==Ye}function Ss(e,t){return t>e}function Es(e,t){return t>=e}function Os(e){if(!e)return[];if(Wa(e))return bs(e)?J(e):Kr(e);if(Eu&&e[Eu])return V(e[Eu]());var t=Ai(e),n=t==De?W:t==Ue?K:sc;return n(e)}function As(e){if(!e)return 0===e?e:0;if(e=Ts(e),e===je||e===-je){var t=0>e?-1:1;return t*Ee}var n=e%1;return e===e?n?e-n:e:0}function Cs(e){return e?gn(As(e),0,Ae):0}function Ts(e){if(\"number\"==typeof e)return e;if(xs(e))return Oe;if(os(e)){var t=ns(e.valueOf)?e.valueOf():e;e=os(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(xt,\"\");var n=Ct.test(e);return n||It.test(e)?Bn(e.slice(2),n?2:8):At.test(e)?Oe:+e}function Is(e){return Gr(e,Ys(e))}function Ps(e){return gn(As(e),-Se,Se)}function Fs(e){if(\"string\"==typeof e)return e;if(null==e)return\"\";if(xs(e))return ap?ap.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-je?\"-0\":t}function Ms(e,t){var n=_n(e);return t?mn(n,t):n}function zs(e,t){return x(e,_i(t,3),Dn,!0)}function Bs(e,t){return x(e,_i(t,3),Rn,!0)}function Ns(e,t){return null==e?e:up(e,_i(t),Ys)}function Ds(e,t){return null==e?e:pp(e,_i(t),Ys)}function qs(e,t){return e&&Dn(e,_i(t))}function Rs(e,t){return e&&Rn(e,_i(t))}function Ls(e){return null==e?[]:Ln(e,Ws(e))}function $s(e){return null==e?[]:Ln(e,Ys(e))}function Us(e,t,n){var r=null==e?X:$n(e,t);return r===X?n:r}function Hs(e,t){return null!=e&&Ti(e,t,Wn)}function Vs(e,t){return null!=e&&Ti(e,t,Yn)}function Ws(e){var t=Li(e);if(!t&&!Wa(e))return nr(e);var n=Mi(e),r=!!n,i=n||[],o=i.length;for(var a in e)!Wn(e,a)||r&&(\"length\"==a||H(a,o))||t&&\"constructor\"==a||i.push(a);return i}function Ys(e){for(var t=-1,n=Li(e),r=rr(e),i=r.length,o=Mi(e),a=!!o,s=o||[],c=s.length;++t<i;){var u=r[t];a&&(\"length\"==u||H(u,c))||\"constructor\"==u&&(n||!du.call(e,u))||s.push(u)}return s}function Ks(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[t(e,r,i)]=e}),n}function Gs(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[r]=t(e,r,i)}),n}function Js(e,t){return t=_i(t),fr(e,function(e,n){return!t(e,n)})}function Zs(e,t){return null==e?{}:fr(e,_i(t))}function Qs(e,t,n){t=Di(t,e)?[t]:Br(t);var r=-1,i=t.length;for(i||(e=X,i=1);++r<i;){var o=null==e?X:e[t[r]];o===X&&(r=i,o=n),e=ns(o)?o.call(e):o}return e}function Xs(e,t,n){return null==e?e:xr(e,t,n)}function ec(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:xr(e,t,n,r)}function tc(e){return C(e,Ws(e))}function nc(e){return C(e,Ys(e))}function rc(e,t,n){var r=Zp(e)||ws(e);if(t=_i(t,4),null==n)if(r||os(e)){var i=e.constructor;n=r?Zp(e)?new i:[]:ns(i)?_n(Ei(e)):{}}else n={};return(r?c:Dn)(e,function(e,r,i){return t(n,e,r,i)}),n}function ic(e,t){return null==e?!0:Ar(e,t)}function oc(e,t,n){return null==e?e:Cr(e,t,zr(n))}function ac(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:Cr(e,t,zr(n),r)}function sc(e){return e?I(e,Ws(e)):[]}function cc(e){return null==e?[]:I(e,Ys(e))}function uc(e,t,n){return n===X&&(n=t,t=X),n!==X&&(n=Ts(n),n=n===n?n:0),t!==X&&(t=Ts(t),t=t===t?t:0),gn(Ts(e),t,n)}function pc(e,t,n){return t=Ts(t)||0,n===X?(n=t,t=0):n=Ts(n)||0,e=Ts(e),Kn(e,t,n)}function lc(e,t,n){if(n&&\"boolean\"!=typeof n&&Ni(e,t,n)&&(t=n=X),n===X&&(\"boolean\"==typeof t?(n=t,t=X):\"boolean\"==typeof e&&(n=e,e=X)),e===X&&t===X?(e=0,t=1):(e=Ts(e)||0,t===X?(t=e,e=0):t=Ts(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Ru();return Du(e+i*(t-e+zn(\"1e-\"+((i+\"\").length-1))),t)}return gr(e,t)}function fc(e){return xl(Fs(e).toLowerCase())}function dc(e){return e=Fs(e),e&&e.replace(Ft,q).replace(wn,\"\")}function hc(e,t,n){e=Fs(e),t=\"string\"==typeof t?t:t+\"\";var r=e.length;return n=n===X?r:gn(As(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function mc(e){return e=Fs(e),e&&lt.test(e)?e.replace(ut,R):e}function vc(e){return e=Fs(e),e&&bt.test(e)?e.replace(yt,\"\\\\$&\"):e}function gc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return pi(Pu(i),n)+e+pi(Iu(i),n)}function yc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?e+pi(t-r,n):e}function bc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?pi(t-r,n)+e:e}function xc(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Fs(e).replace(xt,\"\"),qu(e,t||(Ot.test(e)?16:10))}function wc(e,t,n){return t=(n?Ni(e,t,n):t===X)?1:As(t),br(Fs(e),t)}function _c(){var e=arguments,t=Fs(e[0]);return e.length<3?t:Lu.call(t,e[1],e[2])}function kc(e,t,n){return n&&\"number\"!=typeof n&&Ni(e,t,n)&&(t=n=X),(n=n===X?Ae:n>>>0)?(e=Fs(e),e&&(\"string\"==typeof t||null!=t&&!vs(t))&&(t+=\"\",\"\"==t&&jn.test(e))?Nr(J(e),0,n):Uu.call(e,t,n)):[]}function jc(e,t,n){return e=Fs(e),n=gn(As(n),0,e.length),e.lastIndexOf(t,n)==n}function Sc(e,n,r){var i=t.templateSettings;r&&Ni(e,n,r)&&(n=X),e=Fs(e),n=tl({},n,i,ln);var o,a,s=tl({},n.imports,i.imports,ln),c=Ws(s),u=I(s,c),p=0,l=n.interpolate||Mt,f=\"__p += '\",d=su((n.escape||Mt).source+\"|\"+l.source+\"|\"+(l===ht?St:Mt).source+\"|\"+(n.evaluate||Mt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++On+\"]\")+\"\\n\";e.replace(d,function(t,n,r,i,s,c){return r||(r=i),f+=e.slice(p,c).replace(zt,L),n&&(o=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),p=c+t.length,t}),f+=\"';\\n\";var m=n.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(ot,\"\"):f).replace(at,\"$1\").replace(st,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var v=wl(function(){return Function(c,h+\"return \"+f).apply(X,u)});if(v.source=f,es(v))throw v;return v}function Ec(e){return Fs(e).toLowerCase()}function Oc(e){return Fs(e).toUpperCase()}function Ac(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(xt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=J(t),o=P(r,i),a=F(r,i)+1;return Nr(r,o,a).join(\"\")}function Cc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(_t,\"\");if(!(t+=\"\"))return e;var r=J(e),i=F(r,J(t))+1;return Nr(r,0,i).join(\"\")}function Tc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(wt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=P(r,J(t));return Nr(r,i).join(\"\")}function Ic(e,t){var n=ge,r=ye;if(os(t)){var i=\"separator\"in t?t.separator:i;n=\"length\"in t?As(t.length):n,r=\"omission\"in t?Fs(t.omission):r}e=Fs(e);var o=e.length;if(jn.test(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-G(r);if(1>s)return r;var c=a?Nr(a,0,s).join(\"\"):e.slice(0,s);if(i===X)return c+r;if(a&&(s+=c.length-s),vs(i)){if(e.slice(s).search(i)){var u,p=c;for(i.global||(i=su(i.source,Fs(Et.exec(i))+\"g\")),i.lastIndex=0;u=i.exec(p);)var l=u.index;c=c.slice(0,l===X?s:l)}}else if(e.indexOf(i,s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function Pc(e){return e=Fs(e),e&&pt.test(e)?e.replace(ct,Z):e}function Fc(e,t,n){return e=Fs(e),t=n?X:t,t===X&&(t=Sn.test(e)?kn:kt),e.match(t)||[]}function Mc(e){var t=e?e.length:0,n=_i();return e=t?h(e,function(e){if(\"function\"!=typeof e[1])throw new cu(ne);return[n(e[0]),e[1]]}):[],Ia(function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function zc(e){return bn(yn(e,!0))}function Bc(e){return function(){return e}}function Nc(e){return e}function Dc(e){return tr(\"function\"==typeof e?e:yn(e,!0))}function qc(e){return or(yn(e,!0))}function Rc(e,t){return ar(e,yn(t,!0))}function Lc(e,t,n){var r=Ws(t),i=Ln(t,r);null!=n||os(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ln(t,Ws(t)));var o=!(os(n)&&\"chain\"in n&&!n.chain),a=ns(e);return c(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Kr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,m([this.value()],arguments))})}),e}function $c(){return Hn._===this&&(Hn._=gu),this}function Uc(){}function Hc(e){return e=As(e),Ia(function(t){return ur(t,e)})}function Vc(e){return Di(e)?dr(e):hr(e)}function Wc(e){return function(t){return null==e?X:$n(e,t)}}function Yc(e,t){if(e=As(e),1>e||e>Se)return[];var n=Ae,r=Du(e,Ae);t=_i(t),e-=Ae;for(var i=A(r,t);++n<e;)t(n);return i}function Kc(e){return Zp(e)?h(e,Ki):xs(e)?[e]:Kr(gp(e))}function Gc(e){var t=++hu;return Fs(e)+t}function Jc(e){return e&&e.length?b(e,Nc,$a):X}function Zc(e,t){return e&&e.length?b(e,_i(t),$a):X}function Qc(e){return j(e,Nc)}function Xc(e,t){return j(e,_i(t))}function eu(e){return e&&e.length?b(e,Nc,Ss):X}function tu(e,t){return e&&e.length?b(e,_i(t),Ss):X}function nu(e){return e&&e.length?O(e,Nc):0}function ru(e,t){return e&&e.length?O(e,_i(t)):0}e=e?Vn.defaults({},e,Vn.pick(Hn,En)):Hn;var iu=e.Date,ou=e.Error,au=e.Math,su=e.RegExp,cu=e.TypeError,uu=e.Array.prototype,pu=e.Object.prototype,lu=e.String.prototype,fu=e.Function.prototype.toString,du=pu.hasOwnProperty,hu=0,mu=fu.call(Object),vu=pu.toString,gu=Hn._,yu=su(\"^\"+fu.call(du).replace(yt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),bu=qn?e.Buffer:X,xu=e.Reflect,wu=e.Symbol,_u=e.Uint8Array,ku=e.clearTimeout,ju=xu?xu.enumerate:X,Su=Object.getOwnPropertySymbols,Eu=\"symbol\"==typeof(Eu=wu&&wu.iterator)?Eu:X,Ou=Object.create,Au=pu.propertyIsEnumerable,Cu=e.setTimeout,Tu=uu.splice,Iu=au.ceil,Pu=au.floor,Fu=Object.getPrototypeOf,Mu=e.isFinite,zu=uu.join,Bu=Object.keys,Nu=au.max,Du=au.min,qu=e.parseInt,Ru=au.random,Lu=lu.replace,$u=uu.reverse,Uu=lu.split,Hu=ji(e,\"DataView\"),Vu=ji(e,\"Map\"),Wu=ji(e,\"Promise\"),Yu=ji(e,\"Set\"),Ku=ji(e,\"WeakMap\"),Gu=ji(Object,\"create\"),Ju=Ku&&new Ku,Zu=!Au.call({valueOf:1},\"valueOf\"),Qu={},Xu=Gi(Hu),ep=Gi(Vu),tp=Gi(Wu),np=Gi(Yu),rp=Gi(Ku),ip=wu?wu.prototype:X,op=ip?ip.valueOf:X,ap=ip?ip.toString:X;t.templateSettings={escape:ft,evaluate:dt,interpolate:ht,variable:\"\",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,M.prototype=_n(n.prototype),M.prototype.constructor=M,Pt.prototype=_n(n.prototype),Pt.prototype.constructor=Pt,qt.prototype=Gu?Gu(null):pu,Ht.prototype.clear=Vt,Ht.prototype[\"delete\"]=Wt,Ht.prototype.get=Yt,Ht.prototype.has=Kt,Ht.prototype.set=Gt,Jt.prototype.push=Qt,Xt.prototype.clear=en,Xt.prototype[\"delete\"]=tn,Xt.prototype.get=nn,Xt.prototype.has=rn,Xt.prototype.set=on;var sp=Xr(Dn),cp=Xr(Rn,!0),up=ei(),pp=ei(!0);ju&&!Au.call({valueOf:1},\"valueOf\")&&(rr=function(e){return V(ju(e))});var lp=Ju?function(e,t){return Ju.set(e,t),e}:Nc,fp=Yu&&2===new Yu([1,2]).size?function(e){return new Yu(e)}:Uc,dp=Ju?function(e){return Ju.get(e)}:Uc,hp=dr(\"length\");Su||(Oi=function(){return[]});var mp=Su?function(e){for(var t=[];e;)m(t,Oi(e)),e=Ei(e);return t}:Oi;(Hu&&Ai(new Hu(new ArrayBuffer(1)))!=Ge||Vu&&Ai(new Vu)!=De||Wu&&Ai(Wu.resolve())!=Le||Yu&&Ai(new Yu)!=Ue||Ku&&Ai(new Ku)!=We)&&(Ai=function(e){var t=vu.call(e),n=t==Re?e.constructor:X,r=n?Gi(n):X;if(r)switch(r){case Xu:return Ge;case ep:return De;case tp:return Le;case np:return Ue;case rp:return We}return t});var vp=function(){var e=0,t=0;return function(n,r){var i=$p(),o=xe-(i-t);if(t=i,o>0){if(++e>=be)return n}else e=0;return lp(n,r)}}(),gp=Aa(function(e){var t=[];return Fs(e).replace(gt,function(e,n,r,i){t.push(r?i.replace(jt,\"$1\"):n||e)}),t}),yp=Ia(function(e,t){return Ya(e)?In(e,Nn(t,1,Ya,!0)):[]}),bp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),_i(n)):[]}),xp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),X,n):[]}),wp=Ia(function(e){var t=h(e,Mr);return t.length&&t[0]===e[0]?Gn(t):[]}),_p=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,_i(t)):[]}),kp=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,X,t):[]}),jp=Ia(bo),Sp=Ia(function(e,t){t=h(Nn(t,1),String);var n=vn(e,t);return vr(e,t.sort(z)),n}),Ep=Ia(function(e){return Or(Nn(e,1,Ya,!0))}),Op=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),_i(t))}),Ap=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),X,t)}),Cp=Ia(function(e,t){return Ya(e)?In(e,t):[]}),Tp=Ia(function(e){return Pr(l(e,Ya))}),Ip=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),_i(t))}),Pp=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),X,t)}),Fp=Ia(Lo),Mp=Ia(function(e){var t=e.length,n=t>1?e[t-1]:X;return n=\"function\"==typeof n?(e.pop(),n):X,$o(e,n)}),zp=Ia(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pt&&H(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Yo,args:[i],thisArg:X}),new M(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(i)}),Bp=Zr(function(e,t,n){du.call(e,n)?++e[n]:e[n]=1}),Np=Zr(function(e,t,n){du.call(e,n)?e[n].push(t):e[n]=[t]}),Dp=Ia(function(e,t,n){var r=-1,i=\"function\"==typeof t,a=Di(t),s=Wa(e)?Array(e.length):[];return sp(e,function(e){var c=i?t:a&&null!=e?e[t]:X;s[++r]=c?o(c,e,n):Zn(e,t,n)}),s}),qp=Zr(function(e,t,n){e[n]=t}),Rp=Zr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Lp=Ia(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ni(e,t[0],t[1])?t=[]:n>2&&Ni(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zp(t[0])?t[0]:Nn(t,1,Bi),pr(e,t,[])}),$p=iu.now,Up=Ia(function(e,t,n){var r=oe;if(n.length){var i=Y(n,Si(Up));r|=pe}return mi(e,r,t,n,i)}),Hp=Ia(function(e,t,n){var r=oe|ae;if(n.length){var i=Y(n,Si(Hp));r|=pe}return mi(t,r,e,n,i)}),Vp=Ia(function(e,t){return Tn(e,1,t)}),Wp=Ia(function(e,t,n){return Tn(e,Ts(t)||0,n)});Aa.Cache=Ht;var Yp=Ia(function(e,t){t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i()));var n=t.length;return Ia(function(r){for(var i=-1,a=Du(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)})}),Kp=Ia(function(e,t){var n=Y(t,Si(Kp));return mi(e,pe,X,t,n)}),Gp=Ia(function(e,t){var n=Y(t,Si(Gp));return mi(e,le,X,t,n)}),Jp=Ia(function(e,t){return mi(e,de,X,X,X,Nn(t,1))}),Zp=Array.isArray,Qp=bu?function(e){return e instanceof bu}:Bc(!1),Xp=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ws(t),e);for(var n in t)du.call(t,n)&&dn(e,n,t[n])}),el=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ys(t),e);for(var n in t)dn(e,n,t[n])}),tl=Qr(function(e,t,n,r){Gr(t,Ys(t),e,r)}),nl=Qr(function(e,t,n,r){Gr(t,Ws(t),e,r)}),rl=Ia(function(e,t){return vn(e,Nn(t,1))}),il=Ia(function(e){return e.push(X,ln),o(tl,X,e)}),ol=Ia(function(e){return e.push(X,Vi),o(pl,X,e)}),al=ci(function(e,t,n){e[t]=n},Bc(Nc)),sl=ci(function(e,t,n){du.call(e,t)?e[t].push(n):e[t]=[n]},_i),cl=Ia(Zn),ul=Qr(function(e,t,n){sr(e,t,n)}),pl=Qr(function(e,t,n,r){sr(e,t,n,r)}),ll=Ia(function(e,t){return null==e?{}:(t=h(Nn(t,1),Ki),lr(e,In(xi(e),t)))}),fl=Ia(function(e,t){return null==e?{}:lr(e,Nn(t,1))}),dl=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?fc(t):t)}),hl=ri(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),ml=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),vl=ni(\"toLowerCase\"),gl=ri(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),yl=ri(function(e,t,n){return e+(n?\" \":\"\")+xl(t)}),bl=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),xl=ni(\"toUpperCase\"),wl=Ia(function(e,t){try{return o(e,X,t)}catch(n){return es(n)?n:new ou(n)}}),_l=Ia(function(e,t){return c(Nn(t,1),function(t){e[t]=Up(e[t],e)}),e}),kl=ai(),jl=ai(!0),Sl=Ia(function(e,t){return function(n){return Zn(n,e,t)}}),El=Ia(function(e,t){return function(n){return Zn(e,n,t)}}),Ol=ui(h),Al=ui(p),Cl=ui(y),Tl=fi(),Il=fi(!0),Pl=D(function(e,t){return e+t}),Fl=hi(\"ceil\"),Ml=D(function(e,t){return e/t}),zl=hi(\"floor\"),Bl=D(function(e,t){return e*t}),Nl=hi(\"round\"),Dl=D(function(e,t){return e-t});return t.after=wa,t.ary=_a,t.assign=Xp,t.assignIn=el,t.assignInWith=tl,t.assignWith=nl,t.at=rl,t.before=ka,t.bind=Up,t.bindAll=_l,t.bindKey=Hp,t.castArray=Ba,t.chain=Vo,t.chunk=Zi,t.compact=Qi,t.concat=Xi,t.cond=Mc,t.conforms=zc,t.constant=Bc,t.countBy=Bp,t.create=Ms,t.curry=ja,t.curryRight=Sa,t.debounce=Ea,t.defaults=il,t.defaultsDeep=ol,t.defer=Vp,t.delay=Wp,t.difference=yp,t.differenceBy=bp,t.differenceWith=xp,t.drop=eo,t.dropRight=to,t.dropRightWhile=no,t.dropWhile=ro,t.fill=io,t.filter=na,t.flatMap=oa,t.flatMapDeep=aa,t.flatMapDepth=sa,t.flatten=so,t.flattenDeep=co,t.flattenDepth=uo,t.flip=Oa,t.flow=kl,t.flowRight=jl,t.fromPairs=po,t.functions=Ls,t.functionsIn=$s,t.groupBy=Np,t.initial=ho,t.intersection=wp,t.intersectionBy=_p,t.intersectionWith=kp,t.invert=al,t.invertBy=sl,t.invokeMap=Dp,t.iteratee=Dc,t.keyBy=qp,t.keys=Ws,t.keysIn=Ys,t.map=la,t.mapKeys=Ks,t.mapValues=Gs,t.matches=qc,t.matchesProperty=Rc,t.memoize=Aa,t.merge=ul,t.mergeWith=pl,t.method=Sl,t.methodOf=El,t.mixin=Lc,t.negate=Ca,t.nthArg=Hc,t.omit=ll,t.omitBy=Js,t.once=Ta,t.orderBy=fa,t.over=Ol,t.overArgs=Yp,t.overEvery=Al,t.overSome=Cl,t.partial=Kp,t.partialRight=Gp,t.partition=Rp,t.pick=fl,t.pickBy=Zs,t.property=Vc,t.propertyOf=Wc,t.pull=jp,t.pullAll=bo,t.pullAllBy=xo,t.pullAllWith=wo,t.pullAt=Sp,t.range=Tl,t.rangeRight=Il,t.rearg=Jp,t.reject=ma,t.remove=_o,t.rest=Ia,t.reverse=ko,t.sampleSize=ga,t.set=Xs,t.setWith=ec,t.shuffle=ya,t.slice=jo,t.sortBy=Lp,t.sortedUniq=Io,t.sortedUniqBy=Po,t.split=kc,t.spread=Pa,t.tail=Fo,t.take=Mo,t.takeRight=zo,t.takeRightWhile=Bo,t.takeWhile=No,t.tap=Wo,t.throttle=Fa,t.thru=Yo,t.toArray=Os,t.toPairs=tc,t.toPairsIn=nc,t.toPath=Kc,t.toPlainObject=Is,t.transform=rc,t.unary=Ma,t.union=Ep,t.unionBy=Op,t.unionWith=Ap,t.uniq=Do,t.uniqBy=qo,t.uniqWith=Ro,t.unset=ic,t.unzip=Lo,t.unzipWith=$o,t.update=oc,t.updateWith=ac,t.values=sc,t.valuesIn=cc,t.without=Cp,t.words=Fc,t.wrap=za,t.xor=Tp,t.xorBy=Ip,t.xorWith=Pp,t.zip=Fp,t.zipObject=Uo,t.zipObjectDeep=Ho,t.zipWith=Mp,t.entries=tc,t.entriesIn=nc,t.extend=el,t.extendWith=tl,Lc(t,t),t.add=Pl,t.attempt=wl,t.camelCase=dl,t.capitalize=fc,t.ceil=Fl,t.clamp=uc,t.clone=Na,t.cloneDeep=qa,t.cloneDeepWith=Ra,t.cloneWith=Da,t.deburr=dc,t.divide=Ml,t.endsWith=hc,t.eq=La,t.escape=mc,t.escapeRegExp=vc,t.every=ta,t.find=ra,t.findIndex=oo,t.findKey=zs,t.findLast=ia,t.findLastIndex=ao,t.findLastKey=Bs,t.floor=zl,t.forEach=ca,t.forEachRight=ua,t.forIn=Ns,t.forInRight=Ds,t.forOwn=qs,t.forOwnRight=Rs,t.get=Us,t.gt=$a,t.gte=Ua,t.has=Hs,t.hasIn=Vs,t.head=lo,t.identity=Nc,t.includes=pa,t.indexOf=fo,t.inRange=pc,t.invoke=cl,t.isArguments=Ha,t.isArray=Zp,t.isArrayBuffer=Va,t.isArrayLike=Wa,t.isArrayLikeObject=Ya,t.isBoolean=Ka,t.isBuffer=Qp,t.isDate=Ga,t.isElement=Ja,t.isEmpty=Za,t.isEqual=Qa,t.isEqualWith=Xa,t.isError=es,t.isFinite=ts,t.isFunction=ns,t.isInteger=rs,t.isLength=is,t.isMap=ss,t.isMatch=cs,t.isMatchWith=us,t.isNaN=ps,t.isNative=ls,t.isNil=ds,t.isNull=fs,t.isNumber=hs,t.isObject=os,t.isObjectLike=as,t.isPlainObject=ms,t.isRegExp=vs,t.isSafeInteger=gs,t.isSet=ys,t.isString=bs,t.isSymbol=xs,t.isTypedArray=ws,t.isUndefined=_s,t.isWeakMap=ks,t.isWeakSet=js,t.join=mo,t.kebabCase=hl,t.last=vo,t.lastIndexOf=go,t.lowerCase=ml,t.lowerFirst=vl,t.lt=Ss,t.lte=Es,t.max=Jc,t.maxBy=Zc,t.mean=Qc,t.meanBy=Xc,t.min=eu,t.minBy=tu,t.multiply=Bl,t.nth=yo,t.noConflict=$c,t.noop=Uc,t.now=$p,t.pad=gc,t.padEnd=yc,t.padStart=bc,t.parseInt=xc,t.random=lc,t.reduce=da,t.reduceRight=ha,t.repeat=wc,t.replace=_c,t.result=Qs,t.round=Nl,t.runInContext=Q,t.sample=va,t.size=ba,t.snakeCase=gl,t.some=xa,t.sortedIndex=So,t.sortedIndexBy=Eo,t.sortedIndexOf=Oo,t.sortedLastIndex=Ao,t.sortedLastIndexBy=Co,t.sortedLastIndexOf=To,t.startCase=yl,t.startsWith=jc,t.subtract=Dl,t.sum=nu,t.sumBy=ru,t.template=Sc,t.times=Yc,t.toInteger=As,t.toLength=Cs,t.toLower=Ec,t.toNumber=Ts,t.toSafeInteger=Ps,t.toString=Fs,t.toUpper=Oc,t.trim=Ac,t.trimEnd=Cc,t.trimStart=Tc,t.truncate=Ic,t.unescape=Pc,t.uniqueId=Gc,t.upperCase=bl,t.upperFirst=xl,t.each=ca,t.eachRight=ua,t.first=lo,Lc(t,function(){var e={};return Dn(t,function(n,r){du.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ee,c([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),c([\"drop\",\"take\"],function(e,t){Pt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Pt(this);n=n===X?1:Nu(As(n),0);var i=this.clone();return r?i.__takeCount__=Du(n,i.__takeCount__):i.__views__.push({size:Du(n,Ae),type:e+(i.__dir__<0?\"Right\":\"\")}),i},Pt.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),c([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==we||n==ke;Pt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:_i(e,3),type:n\n}),t.__filtered__=t.__filtered__||r,t}}),c([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Pt.prototype[e]=function(){return this[n](1).value()[0]}}),c([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Pt.prototype[e]=function(){return this.__filtered__?new Pt(this):this[n](1)}}),Pt.prototype.compact=function(){return this.filter(Nc)},Pt.prototype.find=function(e){return this.filter(e).head()},Pt.prototype.findLast=function(e){return this.reverse().find(e)},Pt.prototype.invokeMap=Ia(function(e,t){return\"function\"==typeof e?new Pt(this):this.map(function(n){return Zn(n,e,t)})}),Pt.prototype.reject=function(e){return e=_i(e,3),this.filter(function(t){return!e(t)})},Pt.prototype.slice=function(e,t){e=As(e);var n=this;return n.__filtered__&&(e>0||0>t)?new Pt(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==X&&(t=As(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Pt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pt.prototype.toArray=function(){return this.take(Ae)},Dn(Pt.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n],a=i||/^find/.test(n);o&&(t.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,c=n instanceof Pt,u=s[0],p=c||Zp(n),l=function(e){var n=o.apply(t,m([e],s));return i&&f?n[0]:n};p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var f=this.__chain__,d=!!this.__actions__.length,h=a&&!f,v=c&&!d;if(!a&&p){n=v?n:new Pt(this);var g=e.apply(n,s);return g.__actions__.push({func:Yo,args:[l],thisArg:X}),new M(g,f)}return h&&v?e.apply(this,s):(g=this.thru(l),h?i?g.value()[0]:g.value():g)})}),c([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var n=uu[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(Zp(t)?t:[],e)}return this[r](function(t){return n.apply(Zp(t)?t:[],e)})}}),Dn(Pt.prototype,function(e,n){var r=t[n];if(r){var i=r.name+\"\",o=Qu[i]||(Qu[i]=[]);o.push({name:n,func:r})}}),Qu[si(X,ae).name]=[{name:\"wrapper\",func:X}],Pt.prototype.clone=Bt,Pt.prototype.reverse=Nt,Pt.prototype.value=Dt,t.prototype.at=zp,t.prototype.chain=Ko,t.prototype.commit=Go,t.prototype.next=Jo,t.prototype.plant=Qo,t.prototype.reverse=Xo,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=ea,Eu&&(t.prototype[Eu]=Zo),t}var X,ee=\"4.11.1\",te=200,ne=\"Expected a function\",re=\"__lodash_hash_undefined__\",ie=\"__lodash_placeholder__\",oe=1,ae=2,se=4,ce=8,ue=16,pe=32,le=64,fe=128,de=256,he=512,me=1,ve=2,ge=30,ye=\"...\",be=150,xe=16,we=1,_e=2,ke=3,je=1/0,Se=9007199254740991,Ee=1.7976931348623157e308,Oe=NaN,Ae=4294967295,Ce=Ae-1,Te=Ae>>>1,Ie=\"[object Arguments]\",Pe=\"[object Array]\",Fe=\"[object Boolean]\",Me=\"[object Date]\",ze=\"[object Error]\",Be=\"[object Function]\",Ne=\"[object GeneratorFunction]\",De=\"[object Map]\",qe=\"[object Number]\",Re=\"[object Object]\",Le=\"[object Promise]\",$e=\"[object RegExp]\",Ue=\"[object Set]\",He=\"[object String]\",Ve=\"[object Symbol]\",We=\"[object WeakMap]\",Ye=\"[object WeakSet]\",Ke=\"[object ArrayBuffer]\",Ge=\"[object DataView]\",Je=\"[object Float32Array]\",Ze=\"[object Float64Array]\",Qe=\"[object Int8Array]\",Xe=\"[object Int16Array]\",et=\"[object Int32Array]\",tt=\"[object Uint8Array]\",nt=\"[object Uint8ClampedArray]\",rt=\"[object Uint16Array]\",it=\"[object Uint32Array]\",ot=/\\b__p \\+= '';/g,at=/\\b(__p \\+=) '' \\+/g,st=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ct=/&(?:amp|lt|gt|quot|#39|#96);/g,ut=/[&<>\"'`]/g,pt=RegExp(ct.source),lt=RegExp(ut.source),ft=/<%-([\\s\\S]+?)%>/g,dt=/<%([\\s\\S]+?)%>/g,ht=/<%=([\\s\\S]+?)%>/g,mt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,vt=/^\\w*$/,gt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g,yt=/[\\\\^$.*+?()[\\]{}|]/g,bt=RegExp(yt.source),xt=/^\\s+|\\s+$/g,wt=/^\\s+/,_t=/\\s+$/,kt=/[a-zA-Z0-9]+/g,jt=/\\\\(\\\\)?/g,St=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Et=/\\w*$/,Ot=/^0x/i,At=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,Tt=/^\\[object .+?Constructor\\]$/,It=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\\d*)$/,Ft=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Mt=/($^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Bt=\"\\\\ud800-\\\\udfff\",Nt=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",Dt=\"\\\\u20d0-\\\\u20f0\",qt=\"\\\\u2700-\\\\u27bf\",Rt=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Lt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",$t=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",Ut=\"\\\\u2018\\\\u2019\\\\u201c\\\\u201d\",Ht=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Vt=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Wt=\"\\\\ufe0e\\\\ufe0f\",Yt=Lt+$t+Ut+Ht,Kt=\"['’]\",Gt=\"[\"+Bt+\"]\",Jt=\"[\"+Yt+\"]\",Zt=\"[\"+Nt+Dt+\"]\",Qt=\"\\\\d+\",Xt=\"[\"+qt+\"]\",en=\"[\"+Rt+\"]\",tn=\"[^\"+Bt+Yt+Qt+qt+Rt+Vt+\"]\",nn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",rn=\"(?:\"+Zt+\"|\"+nn+\")\",on=\"[^\"+Bt+\"]\",an=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",sn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",cn=\"[\"+Vt+\"]\",un=\"\\\\u200d\",pn=\"(?:\"+en+\"|\"+tn+\")\",ln=\"(?:\"+cn+\"|\"+tn+\")\",fn=\"(?:\"+Kt+\"(?:d|ll|m|re|s|t|ve))?\",dn=\"(?:\"+Kt+\"(?:D|LL|M|RE|S|T|VE))?\",hn=rn+\"?\",mn=\"[\"+Wt+\"]?\",vn=\"(?:\"+un+\"(?:\"+[on,an,sn].join(\"|\")+\")\"+mn+hn+\")*\",gn=mn+hn+vn,yn=\"(?:\"+[Xt,an,sn].join(\"|\")+\")\"+gn,bn=\"(?:\"+[on+Zt+\"?\",Zt,an,sn,Gt].join(\"|\")+\")\",xn=RegExp(Kt,\"g\"),wn=RegExp(Zt,\"g\"),_n=RegExp(nn+\"(?=\"+nn+\")|\"+bn+gn,\"g\"),kn=RegExp([cn+\"?\"+en+\"+\"+fn+\"(?=\"+[Jt,cn,\"$\"].join(\"|\")+\")\",ln+\"+\"+dn+\"(?=\"+[Jt,cn+pn,\"$\"].join(\"|\")+\")\",cn+\"?\"+pn+\"+\"+fn,cn+\"+\"+dn,Qt,yn].join(\"|\"),\"g\"),jn=RegExp(\"[\"+un+Bt+Nt+Dt+Wt+\"]\"),Sn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"Reflect\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],On=-1,An={};An[Je]=An[Ze]=An[Qe]=An[Xe]=An[et]=An[tt]=An[nt]=An[rt]=An[it]=!0,An[Ie]=An[Pe]=An[Ke]=An[Fe]=An[Ge]=An[Me]=An[ze]=An[Be]=An[De]=An[qe]=An[Re]=An[$e]=An[Ue]=An[He]=An[We]=!1;var Cn={};Cn[Ie]=Cn[Pe]=Cn[Ke]=Cn[Ge]=Cn[Fe]=Cn[Me]=Cn[Je]=Cn[Ze]=Cn[Qe]=Cn[Xe]=Cn[et]=Cn[De]=Cn[qe]=Cn[Re]=Cn[$e]=Cn[Ue]=Cn[He]=Cn[Ve]=Cn[tt]=Cn[nt]=Cn[rt]=Cn[it]=!0,Cn[ze]=Cn[Be]=Cn[We]=!1;var Tn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},In={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},Pn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Fn={\"function\":!0,object:!0},Mn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},zn=parseFloat,Bn=parseInt,Nn=Fn[typeof n]&&n&&!n.nodeType?n:X,Dn=Fn[typeof t]&&t&&!t.nodeType?t:X,qn=Dn&&Dn.exports===Nn?Nn:X,Rn=M(Nn&&Dn&&\"object\"==typeof e&&e),Ln=M(Fn[typeof self]&&self),$n=M(Fn[typeof window]&&window),Un=M(Fn[typeof this]&&this),Hn=Rn||$n!==(Un&&Un.window)&&$n||Ln||Un||Function(\"return this\")(),Vn=Q();($n||Ln||{})._=Vn,\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?define(function(){return Vn}):Nn&&Dn?(qn&&((Dn.exports=Vn)._=Vn),Nn._=Vn):Hn._=Vn}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],178:[function(e,t,n){function r(e,t,n){var r;return v[t]?r=v[t]:(r=f(t),v[t]=r),2===arguments.length?e[r]:(e[r]=n,n)}function i(){return 1}function o(e){if(!(this instanceof o))return new o(e);\"number\"==typeof e&&(e={max:e}),e||(e={});var t=r(this,\"max\",e.max);(!t||\"number\"!=typeof t||0>=t)&&r(this,\"max\",1/0);var n=e.length||i;\"function\"!=typeof n&&(n=i),r(this,\"lengthCalculator\",n),r(this,\"allowStale\",e.stale||!1),r(this,\"maxAge\",e.maxAge||0),r(this,\"dispose\",e.dispose),this.reset()}function a(e,t,n,i){var o=n.value;c(e,o)&&(p(e,n),r(e,\"allowStale\")||(o=void 0)),o&&t.call(i,o.value,o.key,e)}function s(e,t,n){var i=r(e,\"cache\").get(t);if(i){var o=i.value;c(e,o)?(p(e,i),r(e,\"allowStale\")||(o=void 0)):n&&r(e,\"lruList\").unshiftNode(i),o&&(o=o.value)}return o}function c(e,t){if(!t||!t.maxAge&&!r(e,\"maxAge\"))return!1;var n=!1,i=Date.now()-t.now;return n=t.maxAge?i>t.maxAge:r(e,\"maxAge\")&&i>r(e,\"maxAge\")}function u(e){if(r(e,\"length\")>r(e,\"max\"))for(var t=r(e,\"lruList\").tail;r(e,\"length\")>r(e,\"max\")&&null!==t;){var n=t.prev;p(e,t),t=n}}function p(e,t){if(t){var n=t.value;r(e,\"dispose\")&&r(e,\"dispose\").call(this,n.key,n.value),r(e,\"length\",r(e,\"length\")-n.length),r(e,\"cache\")[\"delete\"](n.key),r(e,\"lruList\").removeNode(t)}}function l(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}t.exports=o;var f,d=e(\"pseudomap\"),h=e(\"util\"),m=e(\"yallist\"),v={},g=\"function\"==typeof Symbol;f=g?function(e){return Symbol[\"for\"](e)}:function(e){return\"_\"+e},Object.defineProperty(o.prototype,\"max\",{set:function(e){(!e||\"number\"!=typeof e||0>=e)&&(e=1/0),r(this,\"max\",e),u(this)},get:function(){return r(this,\"max\")},enumerable:!0}),Object.defineProperty(o.prototype,\"allowStale\",{set:function(e){r(this,\"allowStale\",!!e)},get:function(){return r(this,\"allowStale\")},enumerable:!0}),Object.defineProperty(o.prototype,\"maxAge\",{set:function(e){(!e||\"number\"!=typeof e||0>e)&&(e=0),r(this,\"maxAge\",e),u(this)},get:function(){return r(this,\"maxAge\")},enumerable:!0}),Object.defineProperty(o.prototype,\"lengthCalculator\",{set:function(e){\"function\"!=typeof e&&(e=i),e!==r(this,\"lengthCalculator\")&&(r(this,\"lengthCalculator\",e),r(this,\"length\",0),r(this,\"lruList\").forEach(function(e){e.length=r(this,\"lengthCalculator\").call(this,e.value,e.key),r(this,\"length\",r(this,\"length\")+e.length)},this)),u(this)},get:function(){return r(this,\"lengthCalculator\")},enumerable:!0}),Object.defineProperty(o.prototype,\"length\",{get:function(){return r(this,\"length\")},enumerable:!0}),Object.defineProperty(o.prototype,\"itemCount\",{get:function(){return r(this,\"lruList\").length},enumerable:!0}),o.prototype.rforEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").tail;null!==n;){var i=n.prev;a(this,e,n,t),n=i}},o.prototype.forEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").head;null!==n;){var i=n.next;a(this,e,n,t),n=i}},o.prototype.keys=function(){return r(this,\"lruList\").toArray().map(function(e){return e.key},this)},o.prototype.values=function(){return r(this,\"lruList\").toArray().map(function(e){return e.value},this)},o.prototype.reset=function(){r(this,\"dispose\")&&r(this,\"lruList\")&&r(this,\"lruList\").length&&r(this,\"lruList\").forEach(function(e){r(this,\"dispose\").call(this,e.key,e.value)},this),r(this,\"cache\",new d),r(this,\"lruList\",new m),r(this,\"length\",0)},o.prototype.dump=function(){return r(this,\"lruList\").map(function(e){return c(this,e)?void 0:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}},this).toArray().filter(function(e){return e})},o.prototype.dumpLru=function(){return r(this,\"lruList\")},o.prototype.inspect=function(e,t){var n=\"LRUCache {\",o=!1,a=r(this,\"allowStale\");a&&(n+=\"\\n  allowStale: true\",o=!0);var s=r(this,\"max\");s&&s!==1/0&&(o&&(n+=\",\"),n+=\"\\n  max: \"+h.inspect(s,t),o=!0);var u=r(this,\"maxAge\");u&&(o&&(n+=\",\"),n+=\"\\n  maxAge: \"+h.inspect(u,t),o=!0);var p=r(this,\"lengthCalculator\");p&&p!==i&&(o&&(n+=\",\"),n+=\"\\n  length: \"+h.inspect(r(this,\"length\"),t),o=!0);var l=!1;return r(this,\"lruList\").forEach(function(e){l?n+=\",\\n  \":(o&&(n+=\",\\n\"),l=!0,n+=\"\\n  \");var r=h.inspect(e.key).split(\"\\n\").join(\"\\n  \"),a={value:e.value};e.maxAge!==u&&(a.maxAge=e.maxAge),p!==i&&(a.length=e.length),c(this,e)&&(a.stale=!0),a=h.inspect(a,t).split(\"\\n\").join(\"\\n  \"),n+=r+\" => \"+a}),(l||o)&&(n+=\"\\n\"),n+=\"}\"},o.prototype.set=function(e,t,n){n=n||r(this,\"maxAge\");var i=n?Date.now():0,o=r(this,\"lengthCalculator\").call(this,t,e);if(r(this,\"cache\").has(e)){if(o>r(this,\"max\"))return p(this,r(this,\"cache\").get(e)),!1;var a=r(this,\"cache\").get(e),s=a.value;return r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,s.value),s.now=i,s.maxAge=n,s.value=t,r(this,\"length\",r(this,\"length\")+(o-s.length)),s.length=o,this.get(e),u(this),!0}var c=new l(e,t,o,i,n);return c.length>r(this,\"max\")?(r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,t),!1):(r(this,\"length\",r(this,\"length\")+c.length),r(this,\"lruList\").unshift(c),r(this,\"cache\").set(e,r(this,\"lruList\").head),u(this),!0)},o.prototype.has=function(e){if(!r(this,\"cache\").has(e))return!1;var t=r(this,\"cache\").get(e).value;return!c(this,t)},o.prototype.get=function(e){return s(this,e,!0)},o.prototype.peek=function(e){return s(this,e,!1)},o.prototype.pop=function(){var e=r(this,\"lruList\").tail;return e?(p(this,e),e.value):null},o.prototype.del=function(e){p(this,r(this,\"cache\").get(e))},o.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},o.prototype.prune=function(){var e=this;r(this,\"cache\").forEach(function(t,n){s(e,n,!1)})}},{pseudomap:381,util:void 0,yallist:535}],179:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.subtype,r=e.suffix,i=e.type;if(!i||!h.test(i))throw new TypeError(\"invalid type\");if(!n||!d.test(n))throw new TypeError(\"invalid subtype\");var o=i+\"/\"+n;if(r){if(!h.test(r))throw new TypeError(\"invalid suffix\");o+=\"+\"+r}if(t&&\"object\"==typeof t)for(var s,c=Object.keys(t).sort(),u=0;u<c.length;u++){if(s=c[u],!p.test(s))throw new TypeError(\"invalid parameter name\");o+=\"; \"+s+\"=\"+a(t[s])}return o}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e)),\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t,n,r,i=e.indexOf(\";\"),a=-1!==i?e.substr(0,i):e,u=s(a),p={};for(c.lastIndex=i;n=c.exec(e);){if(n.index!==i)throw new TypeError(\"invalid parameter format\");i+=n[0].length,t=n[1].toLowerCase(),r=n[2],'\"'===r[0]&&(r=r.substr(1,r.length-2).replace(l,\"$1\")),p[t]=r}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return u.parameters=p,u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){var t=m.exec(e.toLowerCase());if(!t)throw new TypeError(\"invalid media type\");var n,r=t[1],i=t[2],o=i.lastIndexOf(\"+\");-1!==o&&(n=i.substr(o+1),i=i.substr(0,o));var a={type:r,subtype:i,suffix:n};return a}var c=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,u=/^[\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,l=/\\\\([\\u0000-\\u007f])/g,f=/([\\\\\"])/g,d=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,h=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,m=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;n.format=r,n.parse=i},{}],180:[function(e,t,n){\"use strict\";function r(e,t,n){if(!e)throw new TypeError(\"argument dest is required\");if(!t)throw new TypeError(\"argument src is required\");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach(function(r){if(n||!i.call(e,r)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}}),e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],181:[function(e,t,n){\"use strict\";function r(){return o.METHODS&&o.METHODS.map(function(e){return e.toLowerCase()})}function i(){return[\"get\",\"post\",\"put\",\"head\",\"delete\",\"options\",\"trace\",\"copy\",\"lock\",\"mkcol\",\"move\",\"purge\",\"propfind\",\"proppatch\",\"unlock\",\"report\",\"mkactivity\",\"checkout\",\"merge\",\"m-search\",\"notify\",\"subscribe\",\"unsubscribe\",\"patch\",\"search\",\"connect\"]}var o=e(\"http\");t.exports=r()||i()},{http:void 0}],182:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cdni\":{source:\"iana\"},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/csvm+json\":{source:\"iana\",compressible:!0},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mpd\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emergencycalldata.comment+xml\":{source:\"iana\"},\"application/emergencycalldata.deviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.serviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.subscriberinfo+xml\":{source:\"iana\"},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs12\":{source:\"iana\"},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{source:\"iana\",compressible:!0},\"application/problem+json\":{source:\"iana\",compressible:!0},\"application/problem+xml\":{source:\"iana\"},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/rfc+xml\":{source:\"iana\"},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scim+json\":{source:\"iana\",compressible:!0},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{\nsource:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{source:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp-prose+xml\":{source:\"iana\"},\"application/vnd.3gpp-prose-pc3ch+xml\":{source:\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{source:\"iana\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.mid-call+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-ext+xml\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.state-and-event-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.ussd+xml\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anki\":{source:\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.apple.pkpass\":{compressible:!1,extensions:[\"pkpass\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.biopax.rdf+xml\":{source:\"iana\"},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.drive+json\":{source:\"iana\",compressible:!0},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.filmit.zfc\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-apps.document\":{compressible:!1,extensions:[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{compressible:!1,extensions:[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{compressible:!1,extensions:[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.hdt\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{source:\"iana\"},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{source:\"iana\"},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-printschematicket+xml\":{source:\"iana\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.devicepairing\":{source:\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\nsource:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{source:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openblox.game+xml\":{source:\"iana\"},\"application/vnd.openblox.game-binary\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.oxli.countgraph\":{source:\"iana\"},\"application/vnd.pagerduty+json\":{source:\"iana\",compressible:!0},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.uri-map\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-cocoa\":{source:\"nginx\",extensions:[\"cco\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-httpd-php\":{compressible:!0,extensions:[\"php\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-archive-diff\":{source:\"nginx\",extensions:[\"jardiff\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-makeself\":{source:\"nginx\",extensions:[\"run\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdos-program\":{extensions:[\"exe\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-perl\":{source:\"nginx\",extensions:[\"pl\",\"pm\"]},\"application/x-pilot\":{source:\"nginx\",extensions:[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",\nextensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-redhat-package-manager\":{source:\"nginx\",extensions:[\"rpm\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sea\":{source:\"nginx\",extensions:[\"sea\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\",\"tk\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\",\"pem\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/evs\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g711-0\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-m4a\":{source:\"nginx\",extensions:[\"m4a\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-realaudio\":{source:\"nginx\",extensions:[\"ra\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.mozilla.apng\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-jng\":{source:\"nginx\",extensions:[\"jng\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{source:\"nginx\",compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.rosette.annotated-data-model\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mathml\":{source:\"nginx\",extensions:[\"mml\"]},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/slim\":{extensions:[\"slim\",\"slm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{source:\"nginx\",extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-processing\":{compressible:!0,extensions:[\"pde\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-suse-ymp\":{compressible:!0,extensions:[\"ymp\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\"]},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],183:[function(e,t,n){t.exports=e(\"./db.json\")},{\"./db.json\":182}],184:[function(e,t,n){\"use strict\";function r(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),n=t&&c[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&l.test(t[1])?\"UTF-8\":!1}function i(e){if(!e||\"string\"!=typeof e)return!1;var t=-1===e.indexOf(\"/\")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf(\"charset\")){var r=n.charset(t);r&&(t+=\"; charset=\"+r.toLowerCase())}return t}function o(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),r=t&&n.extensions[t[1].toLowerCase()];return r&&r.length?r[0]:!1}function a(e){if(!e||\"string\"!=typeof e)return!1;var t=u(\"x.\"+e).toLowerCase().substr(1);return t?n.types[t]||!1:!1}function s(e,t){var n=[\"nginx\",\"apache\",void 0,\"iana\"];Object.keys(c).forEach(function(r){var i=c[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;a<o.length;a++){var s=o[a];if(t[s]){var u=n.indexOf(c[t[s]].source),p=n.indexOf(i.source);if(\"application/octet-stream\"!==t[s]&&u>p||u===p&&\"application/\"===t[s].substr(0,12))continue}t[s]=r}}})}var c=e(\"mime-db\"),u=e(\"path\").extname,p=/^\\s*([^;\\s]*)(?:;|\\s|$)/,l=/^text\\//i;n.charset=r,n.charsets={lookup:r},n.contentType=i,n.extension=o,n.extensions=Object.create(null),n.lookup=a,n.types=Object.create(null),s(n.extensions,n.types)},{\"mime-db\":183,path:void 0}],185:[function(e,t,n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=(e(\"path\"),e(\"fs\"));r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=i.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var o=new r;o.define(e(\"./types.json\")),o.default_type=o.lookup(\"bin\"),o.Mime=r,o.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=o},{\"./types.json\":186,fs:void 0,path:void 0}],186:[function(e,t,n){t.exports={\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mdp\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[\"woff\"],\"application/font-woff2\":[\"woff2\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\n\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp4\":[\"mp4a\",\"m4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/opentype\":[\"otf\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],187:[function(e,t,n){!function(e,r){\"object\"==typeof n&&\"undefined\"!=typeof t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){\"use strict\";function n(){return cr.apply(null,arguments)}function r(e){cr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,\"toString\")&&(e.toString=t.toString),s(t,\"valueOf\")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Ne(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=l(e),n=ur.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function d(e){var t=u(NaN);return null!=e?c(l(t),e):l(t).userInvalidated=!0,t}function h(e){return void 0===e}function m(e,t){var n,r,i;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=l(t)),h(t._locale)||(e._locale=t._locale),pr.length>0)for(n in pr)r=pr[n],i=t[r],h(i)||(e[r]=i);return e}function v(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),lr===!1&&(lr=!0,n.updateOffset(this),lr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function y(e){return 0>e?Math.ceil(e):Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function _(e,t){var r=!0;return c(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+\"\\nArguments: \"+Array.prototype.slice.call(arguments).join(\", \")+\"\\n\"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),fr[e]||(w(t),fr[e]=!0)}function j(e){return e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}function S(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],j(t)?this[n]=t:this[\"_\"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+\"|\"+/\\d{1,2}/.source)}function O(e,t){var n,r=c({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function A(e){null!=e&&this.set(e)}function C(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=C(e[o]).split(\"-\"),t=i.length,n=C(e[o+1]),n=n?n.split(\"-\"):null;t>0;){if(r=I(i.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function I(n){var r=null;if(!vr[n]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=hr._abbr,e(\"./locale/\"+n),P(r)}catch(i){}return vr[n]}function P(e,t){var n;return e&&(n=h(t)?z(e):F(e,t),n&&(hr=n)),hr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=vr[e]?(k(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale\"),t=O(vr[e]._config,t)):null!=t.parentLocale&&(null!=vr[t.parentLocale]?t=O(vr[t.parentLocale]._config,t):k(\"parentLocaleUndefined\",\"specified parentLocale is not defined yet\")),vr[e]=new A(t),P(e),vr[e]):(delete vr[e],null)}function M(e,t){if(null!=t){var n;null!=vr[e]&&(t=O(vr[e]._config,t)),n=new A(t),n.parentLocale=vr[e],vr[e]=n,P(e)}else null!=vr[e]&&(null!=vr[e].parentLocale?vr[e]=vr[e].parentLocale:null!=vr[e]&&delete vr[e]);return vr[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return hr;if(!i(e)){if(t=I(e))return t;e=[e]}return T(e)}function B(){return dr(vr)}function N(e,t){var n=e.toLowerCase();gr[n]=gr[n+\"s\"]=gr[t]=e}function D(e){return\"string\"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)s(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function R(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):L(this,e)}}function L(e,t){return e.isValid()?e._d[\"get\"+(e._isUTC?\"UTC\":\"\")+t]():NaN;\n}function $(e,t,n){e.isValid()&&e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+t](n)}function U(e,t){var n;if(\"object\"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),j(this[e]))return this[e](t);return this}function H(e,t,n){var r=\"\"+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;\"string\"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return H(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function Y(e){var t,n,r=e.match(yr);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o=\"\";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=G(t,e.localeData()),xr[t]=xr[t]||Y(t),xr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(br.lastIndex=0;r>=0&&br.test(e);)e=e.replace(br,n),br.lastIndex=0,r-=1;return e}function J(e,t,n){qr[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return X(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ee(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),\"number\"==typeof t&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Rr[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Rr,e)&&Rr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,\"\").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,\"\").toLocaleLowerCase();return n?\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(\"^\"+this.months(i,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[r]=new RegExp(\"^\"+this.monthsShort(i,\"\").replace(\".\",\"\")+\"$\",\"i\")),n||this._monthsParse[r]||(o=\"^\"+this.months(i,\"\")+\"|^\"+this.monthsShort(i,\"\"),this._monthsParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"MMMM\"===t&&this._longMonthsParse[r].test(e))return r;if(n&&\"MMM\"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if(\"string\"==typeof t)if(/^\\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),\"number\"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+\"Month\"](t,n),e}function ue(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):L(this,\"Month\")}function pe(){return re(this.year(),this.month())}function le(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=u([2e3,t]),r.push(this.monthsShort(n,\"\")),i.push(this.months(n,\"\")),o.push(this.months(n,\"\")),o.push(this.monthsShort(n,\"\"));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=X(r[t]),i[t]=X(i[t]),o[t]=X(o[t]);this._monthsRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function he(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Ur]<1||n[Ur]>re(n[Lr],n[$r])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Vr]||0!==n[Wr]||0!==n[Yr])?Hr:n[Vr]<0||n[Vr]>59?Vr:n[Wr]<0||n[Wr]>59?Wr:n[Yr]<0||n[Yr]>999?Yr:-1,l(e)._overflowDayOfYear&&(Lr>t||t>Ur)&&(t=Ur),l(e)._overflowWeeks&&-1===t&&(t=Kr),l(e)._overflowWeekday&&-1===t&&(t=Gr),l(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,c=ti.exec(s)||ni.exec(s);if(c){for(l(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(c[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(c[3])){o=(c[2]||\" \")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ri.exec(c[4]))return void(e._isValid=!1);a=\"Z\"}e._f=i+(o||\"\")+(a||\"\"),Te(e)}else e._isValid=!1}function ve(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e){return xe(e)?366:365}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(){return xe(this.year())}function _e(e,t,n){var r=7+t-n,i=(7+ye(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=_e(e,r,i),u=1+7*(t-1)+s+c;return 0>=u?(o=e-1,a=be(o)+u):u>be(e)?(o=e+1,a=u-be(e)):(o=e,a=u),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(be(e)-r+i)/7}function Ee(e,t,n){return null!=e?e:null!=t?t:n}function Oe(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ae(e){var t,n,r,i,o=[];if(!e._d){for(r=Oe(e),e._w&&null==e._a[Ur]&&null==e._a[$r]&&Ce(e),e._dayOfYear&&(i=Ee(e._a[Lr],r[Lr]),e._dayOfYear>be(i)&&(l(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Vr]&&0===e._a[Wr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ye:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function Ce(e){var t,n,r,i,o,a,s,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ee(t.GG,e._a[Lr],je(De(),1,4).year),r=Ee(t.W,1),i=Ee(t.E,1),(1>i||i>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Ee(t.gg,e._a[Lr],je(De(),o,a).year),r=Ee(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(c=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o),1>r||r>Se(n,o,a)?l(e)._overflowWeeks=!0:null!=c?l(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Lr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],l(e).empty=!0;var t,r,i,o,a,s=\"\"+e._i,c=s.length,u=0;for(i=G(e._f,e._locale).match(yr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Z(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&l(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),wr[o]?(r?l(e).empty=!1:l(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&l(e).unusedTokens.push(o);l(e).charsLeftOver=c-u,s.length>0&&l(e).unusedInput.push(s),l(e).bigHour===!0&&e._a[Hr]<=12&&e._a[Hr]>0&&(l(e).bigHour=void 0),l(e).parsedDateParts=e._a.slice(0),l(e).meridiem=e._meridiem,e._a[Hr]=Ie(e._locale,e._a[Hr],e._meridiem),Ae(e),he(e)}function Ie(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Pe(e){var t,n,r,i,o;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),f(t)&&(o+=l(t).charsLeftOver,o+=10*l(t).unusedTokens.length,l(t).score=o,(null==r||r>o)&&(r=o,n=t));c(e,n||t)}function Fe(e){if(!e._d){var t=q(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ae(e)}}function Me(e){var t=new v(he(ze(e)));return t._nextDay&&(t.add(1,\"d\"),t._nextDay=void 0),t}function ze(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),null===t||void 0===n&&\"\"===t?d({nullInput:!0}):(\"string\"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(he(t)):(i(n)?Pe(e):n?Te(e):o(t)?e._d=t:Be(e),f(e)||(e._d=null),e))}function Be(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):\"string\"==typeof t?ve(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ae(e)):\"object\"==typeof t?Fe(e):\"number\"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Ne(e,t,n,r,i){var o={};return\"boolean\"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Me(o)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function qe(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Re(){var e=[].slice.call(arguments,0);return qe(\"isBefore\",e)}function Le(){var e=[].slice.call(arguments,0);return qe(\"isAfter\",e)}function $e(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,p=t.millisecond||0;this._milliseconds=+p+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof $e}function He(e,t){V(e,0,0,function(){var e=this.utcOffset(),n=\"+\";return 0>e&&(e=-e,n=\"-\"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ve(e,t){var n=(t||\"\").match(e)||[],r=n[n.length-1]||[],i=(r+\"\").match(li)||[\"-\",0,0],o=+(60*i[1])+b(i[2]);return\"+\"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(g(e)||o(e)?e.valueOf():De(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):De(e).local()}function Ye(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ke(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?(\"string\"==typeof e?e=Ve(Br,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Ye(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,\"m\"),i!==e&&(!t||this._changeInProgress?lt(this,ot(e-i,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ye(this):null!=e?this:NaN}function Ge(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ze(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ye(this),\"m\")),this}function Qe(){return this._tzm?this.utcOffset(this._tzm):\"string\"==typeof this._i&&this.utcOffset(Ve(zr,this._i)),this}function Xe(e){return this.isValid()?(e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=ze(e),e._a){var t=e._isUTC?u(e._a):De(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:\"number\"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:0,d:b(a[Ur])*n,h:b(a[Hr])*n,m:b(a[Vr])*n,s:b(a[Wr])*n,ms:b(a[Yr])*n}):(a=di.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:\"object\"==typeof o&&(\"from\"in o||\"to\"in o)&&(i=ct(De(o.from),De(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new $e(o),Ue(e)&&s(e,\"_locale\")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function ct(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function pt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period).\"),o=n,n=r,r=o),n=\"string\"==typeof n?+n:n,i=ot(n,r),lt(this,i,e),this}}function lt(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,\"Date\",L(e,\"Date\")+a*r),s&&ce(e,L(e,\"Month\")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||De(),r=We(n,this).startOf(\"day\"),i=this.diff(r,\"days\",!0),o=-6>i?\"sameElse\":-1>i?\"lastWeek\":0>i?\"lastDay\":1>i?\"sameDay\":2>i?\"nextDay\":7>i?\"nextWeek\":\"sameElse\",a=t&&(j(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,De(n)))}function dt(){return new v(this)}function ht(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vt(e,t,n,r){return r=r||\"()\",(\"(\"===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(\")\"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function gt(e,t){var n,r=g(e)?e:De(e);return this.isValid()&&r.isValid()?(t=D(t||\"millisecond\"),\"millisecond\"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function yt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function bt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t),\"year\"===t||\"month\"===t||\"quarter\"===t?(a=wt(this,r),\"quarter\"===t?a/=3:\"year\"===t&&(a/=12)):(o=this-r,a=\"second\"===t?o/1e3:\"minute\"===t?o/6e4:\"hour\"===t?o/36e5:\"day\"===t?(o-i)/864e5:\"week\"===t?(o-i)/6048e5:o),n?a:y(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,\"months\");return 0>t-o?(n=e.clone().add(i-1,\"months\"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,\"months\"),r=(t-o)/(n-o)),-(i+r)||0}function _t(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?j(Date.prototype.toISOString)?this.toDate().toISOString():K(e,\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\"):K(e,\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\")}function jt(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Et(e){return this.from(De(),e)}function Ot(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function At(e){return this.to(De(),e)}function Ct(e){var t;return void 0===e?this._locale._abbr:(t=z(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function It(e){switch(e=D(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Pt(e){return e=D(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Mt(){return Math.floor(this.valueOf()/1e3)}function zt(){return this._offset?new Date(this.valueOf()):this._d}function Bt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dt(){return this.isValid()?this.toISOString():null}function qt(){return f(this)}function Rt(){return c({},l(this))}function Lt(){return l(this).overflow}function $t(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ut(e,t){V(0,[e,e.length],0,t)}function Ht(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vt(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Yt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Kt(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Zt(e){return je(e,this._week.dow,this._week.doy).week}function Qt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function tn(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function nn(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function cn(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(i,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(o=\"^\"+this.weekdays(i,\"\")+\"|^\"+this.weekdaysShort(i,\"\")+\"|^\"+this.weekdaysMin(i,\"\"),this._weekdaysParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function un(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,\"d\")):t}function pn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],p=[];for(t=0;7>t;t++)n=u([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),o=this.weekdays(n,\"\"),a.push(r),s.push(i),c.push(o),p.push(r),p.push(i),p.push(o);for(a.sort(e),s.sort(e),c.sort(e),p.sort(e),t=0;7>t;t++)s[t]=X(s[t]),c[t]=X(c[t]),p[t]=X(p[t]);this._weekdaysRegex=new RegExp(\"^(\"+p.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+c.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function gn(){return this.hours()%12||12}function yn(){return this.hours()||24}function bn(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function xn(e,t){return t._meridiemParse}function wn(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function _n(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function kn(e,t){t[Yr]=b(1e3*(\"0.\"+e))}function jn(){return this._isUTC?\"UTC\":\"\"}function Sn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function En(e){return De(1e3*e)}function On(){return De.apply(null,arguments).parseZone()}function An(e,t,n){var r=this._calendar[e];return j(r)?r.call(t,n):r}function Cn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Tn(){return this._invalidDate}function In(e){return this._ordinal.replace(\"%d\",e)}function Pn(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Mn(e,t){var n=this._relativeTime[e>0?\"future\":\"past\"];return j(n)?n(t):n.replace(/%s/i,t)}function zn(e,t,n,r){var i=z(),o=u().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(\"number\"==typeof e&&(t=e,e=void 0),e=e||\"\",null!=t)return zn(e,t,n,\"month\");var r,i=[];for(r=0;12>r;r++)i[r]=zn(e,r,n,\"month\");return i}function Nn(e,t,n,r){\"boolean\"==typeof e?(\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\");var i=z(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,\"day\");var a,s=[];for(a=0;7>a;a++)s[a]=zn(t,(a+o)%7,r,\"day\");return s}function Dn(e,t){return Bn(e,t,\"months\")}function qn(e,t){return Bn(e,t,\"monthsShort\")}function Rn(e,t,n){return Nn(e,t,n,\"weekdays\")}function Ln(e,t,n){return Nn(e,t,n,\"weekdaysShort\")}function $n(e,t,n){return Nn(e,t,n,\"weekdaysMin\")}function Un(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Hn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Vn(e,t){return Hn(this,e,t,1)}function Wn(e,t){return Hn(this,e,t,-1)}function Yn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Kn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Yn(Jn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=y(o/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,a+=y(n/24),i=y(Gn(a)),s+=i,a-=Yn(Jn(i)),r=y(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Gn(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Zn(e){var t,n,r=this._milliseconds;if(e=D(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+Gn(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=D(e),this[e+\"s\"]()}function tr(e){return function(){return this._data[e]}}function nr(){return y(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as(\"s\")),o=no(r.as(\"m\")),a=no(r.as(\"h\")),s=no(r.as(\"d\")),c=no(r.as(\"M\")),u=no(r.as(\"y\")),p=i<ro.s&&[\"s\",i]||1>=o&&[\"m\"]||o<ro.m&&[\"mm\",o]||1>=a&&[\"h\"]||a<ro.h&&[\"hh\",a]||1>=s&&[\"d\"]||s<ro.d&&[\"dd\",s]||1>=c&&[\"M\"]||c<ro.M&&[\"MM\",c]||1>=u&&[\"y\"]||[\"yy\",u];return p[2]=t,p[3]=+e>0,p[4]=n,rr.apply(null,p)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(o/12),o%=12;var a=n,s=o,c=i,u=t,p=e,l=r,f=this.asSeconds();return f?(0>f?\"-\":\"\")+\"P\"+(a?a+\"Y\":\"\")+(s?s+\"M\":\"\")+(c?c+\"D\":\"\")+(u||p||l?\"T\":\"\")+(u?u+\"H\":\"\")+(p?p+\"M\":\"\")+(l?l+\"S\":\"\"):\"P0D\"}var cr,ur;ur=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var pr=n.momentProperties=[],lr=!1,fr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var dr;dr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var hr,mr,vr={},gr={},yr=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xr={},wr={},_r=/\\d/,kr=/\\d\\d/,jr=/\\d{3}/,Sr=/\\d{4}/,Er=/[+-]?\\d{6}/,Or=/\\d\\d?/,Ar=/\\d\\d\\d\\d?/,Cr=/\\d\\d\\d\\d\\d\\d?/,Tr=/\\d{1,3}/,Ir=/\\d{1,4}/,Pr=/[+-]?\\d{1,6}/,Fr=/\\d+/,Mr=/[+-]?\\d+/,zr=/Z|[+-]\\d\\d:?\\d\\d/gi,Br=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,Nr=/[+-]?\\d+(\\.\\d{1,3})?/,Dr=/[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i,qr={},Rr={},Lr=0,$r=1,Ur=2,Hr=3,Vr=4,Wr=5,Yr=6,Kr=7,Gr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),V(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),V(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),N(\"month\",\"M\"),J(\"M\",Or),J(\"MM\",Or,kr),J(\"MMM\",function(e,t){return t.monthsShortRegex(e)}),J(\"MMMM\",function(e,t){return t.monthsRegex(e)}),ee([\"M\",\"MM\"],function(e,t){t[$r]=b(e)-1}),ee([\"MMM\",\"MMMM\"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[$r]=i:l(n).invalidMonth=e});var Jr=/D[oD]?(\\[[^\\[\\]]*\\]|\\s+)+MMMM?/,Zr=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Qr=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Xr=Dr,ei=Dr,ti=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ni=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ri=/Z|[+-]\\d\\d(?::?\\d\\d)?/,ii=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],oi=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],ai=/^\\/?Date\\((\\-?\\d+)/i;n.createFromInputFallback=_(\"moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),V(\"Y\",0,0,function(){var e=this.year();return 9999>=e?\"\"+e:\"+\"+e}),V(0,[\"YY\",2],0,function(){return this.year()%100}),V(0,[\"YYYY\",4],0,\"year\"),V(0,[\"YYYYY\",5],0,\"year\"),V(0,[\"YYYYYY\",6,!0],0,\"year\"),N(\"year\",\"y\"),J(\"Y\",Mr),J(\"YY\",Or,kr),J(\"YYYY\",Ir,Sr),J(\"YYYYY\",Pr,Er),J(\"YYYYYY\",Pr,Er),ee([\"YYYYY\",\"YYYYYY\"],Lr),ee(\"YYYY\",function(e,t){t[Lr]=2===e.length?n.parseTwoDigitYear(e):b(e)}),ee(\"YY\",function(e,t){t[Lr]=n.parseTwoDigitYear(e)}),ee(\"Y\",function(e,t){t[Lr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var si=R(\"FullYear\",!0);n.ISO_8601=function(){};var ci=_(\"moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:d()}),ui=_(\"moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:d();\n}),pi=function(){return Date.now?Date.now():+new Date};He(\"Z\",\":\"),He(\"ZZ\",\"\"),J(\"Z\",Br),J(\"ZZ\",Br),ee([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(Br,e)});var li=/([\\+\\-]|\\d\\d)/gi;n.updateOffset=function(){};var fi=/^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)\\.?(\\d{3})?\\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=$e.prototype;var hi=pt(1,\"add\"),mi=pt(-1,\"subtract\");n.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",n.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var vi=_(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,[\"gg\",2],0,function(){return this.weekYear()%100}),V(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Ut(\"gggg\",\"weekYear\"),Ut(\"ggggg\",\"weekYear\"),Ut(\"GGGG\",\"isoWeekYear\"),Ut(\"GGGGG\",\"isoWeekYear\"),N(\"weekYear\",\"gg\"),N(\"isoWeekYear\",\"GG\"),J(\"G\",Mr),J(\"g\",Mr),J(\"GG\",Or,kr),J(\"gg\",Or,kr),J(\"GGGG\",Ir,Sr),J(\"gggg\",Ir,Sr),J(\"GGGGG\",Pr,Er),J(\"ggggg\",Pr,Er),te([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),te([\"gg\",\"GG\"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V(\"Q\",0,\"Qo\",\"quarter\"),N(\"quarter\",\"Q\"),J(\"Q\",_r),ee(\"Q\",function(e,t){t[$r]=3*(b(e)-1)}),V(\"w\",[\"ww\",2],\"wo\",\"week\"),V(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),N(\"week\",\"w\"),N(\"isoWeek\",\"W\"),J(\"w\",Or),J(\"ww\",Or,kr),J(\"W\",Or),J(\"WW\",Or,kr),te([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var gi={dow:0,doy:6};V(\"D\",[\"DD\",2],\"Do\",\"date\"),N(\"date\",\"D\"),J(\"D\",Or),J(\"DD\",Or,kr),J(\"Do\",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee([\"D\",\"DD\"],Ur),ee(\"Do\",function(e,t){t[Ur]=b(e.match(Or)[0],10)});var yi=R(\"Date\",!0);V(\"d\",0,\"do\",\"day\"),V(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),V(\"e\",0,0,\"weekday\"),V(\"E\",0,0,\"isoWeekday\"),N(\"day\",\"d\"),N(\"weekday\",\"e\"),N(\"isoWeekday\",\"E\"),J(\"d\",Or),J(\"e\",Or),J(\"E\",Or),J(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),J(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),J(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),te([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),te([\"d\",\"e\",\"E\"],function(e,t,n,r){t[r]=b(e)});var bi=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),xi=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),wi=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),_i=Dr,ki=Dr,ji=Dr;V(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),N(\"dayOfYear\",\"DDD\"),J(\"DDD\",Tr),J(\"DDDD\",jr),ee([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=b(e)}),V(\"H\",[\"HH\",2],0,\"hour\"),V(\"h\",[\"hh\",2],0,gn),V(\"k\",[\"kk\",2],0,yn),V(\"hmm\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)}),V(\"hmmss\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),V(\"Hmm\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)}),V(\"Hmmss\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),bn(\"a\",!0),bn(\"A\",!1),N(\"hour\",\"h\"),J(\"a\",xn),J(\"A\",xn),J(\"H\",Or),J(\"h\",Or),J(\"HH\",Or,kr),J(\"hh\",Or,kr),J(\"hmm\",Ar),J(\"hmmss\",Cr),J(\"Hmm\",Ar),J(\"Hmmss\",Cr),ee([\"H\",\"HH\"],Hr),ee([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee([\"h\",\"hh\"],function(e,t,n){t[Hr]=b(e),l(n).bigHour=!0}),ee(\"hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r)),l(n).bigHour=!0}),ee(\"hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i)),l(n).bigHour=!0}),ee(\"Hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r))}),ee(\"Hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i))});var Si=/[ap]\\.?m?\\.?/i,Ei=R(\"Hours\",!0);V(\"m\",[\"mm\",2],0,\"minute\"),N(\"minute\",\"m\"),J(\"m\",Or),J(\"mm\",Or,kr),ee([\"m\",\"mm\"],Vr);var Oi=R(\"Minutes\",!1);V(\"s\",[\"ss\",2],0,\"second\"),N(\"second\",\"s\"),J(\"s\",Or),J(\"ss\",Or,kr),ee([\"s\",\"ss\"],Wr);var Ai=R(\"Seconds\",!1);V(\"S\",0,0,function(){return~~(this.millisecond()/100)}),V(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),V(0,[\"SSS\",3],0,\"millisecond\"),V(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),V(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),V(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),V(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),V(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),V(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),N(\"millisecond\",\"ms\"),J(\"S\",Tr,_r),J(\"SS\",Tr,kr),J(\"SSS\",Tr,jr);var Ci;for(Ci=\"SSSS\";Ci.length<=9;Ci+=\"S\")J(Ci,Fr);for(Ci=\"S\";Ci.length<=9;Ci+=\"S\")ee(Ci,kn);var Ti=R(\"Milliseconds\",!1);V(\"z\",0,0,\"zoneAbbr\"),V(\"zz\",0,0,\"zoneName\");var Ii=v.prototype;Ii.add=hi,Ii.calendar=ft,Ii.clone=dt,Ii.diff=xt,Ii.endOf=Pt,Ii.format=jt,Ii.from=St,Ii.fromNow=Et,Ii.to=Ot,Ii.toNow=At,Ii.get=U,Ii.invalidAt=Lt,Ii.isAfter=ht,Ii.isBefore=mt,Ii.isBetween=vt,Ii.isSame=gt,Ii.isSameOrAfter=yt,Ii.isSameOrBefore=bt,Ii.isValid=qt,Ii.lang=vi,Ii.locale=Ct,Ii.localeData=Tt,Ii.max=ui,Ii.min=ci,Ii.parsingFlags=Rt,Ii.set=U,Ii.startOf=It,Ii.subtract=mi,Ii.toArray=Bt,Ii.toObject=Nt,Ii.toDate=zt,Ii.toISOString=kt,Ii.toJSON=Dt,Ii.toString=_t,Ii.unix=Mt,Ii.valueOf=Ft,Ii.creationData=$t,Ii.year=si,Ii.isLeapYear=we,Ii.weekYear=Ht,Ii.isoWeekYear=Vt,Ii.quarter=Ii.quarters=Jt,Ii.month=ue,Ii.daysInMonth=pe,Ii.week=Ii.weeks=en,Ii.isoWeek=Ii.isoWeeks=tn,Ii.weeksInYear=Yt,Ii.isoWeeksInYear=Wt,Ii.date=yi,Ii.day=Ii.days=un,Ii.weekday=pn,Ii.isoWeekday=ln,Ii.dayOfYear=vn,Ii.hour=Ii.hours=Ei,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Ai,Ii.millisecond=Ii.milliseconds=Ti,Ii.utcOffset=Ke,Ii.utc=Je,Ii.local=Ze,Ii.parseZone=Qe,Ii.hasAlignedHourOffset=Xe,Ii.isDST=et,Ii.isDSTShifted=tt,Ii.isLocal=nt,Ii.isUtcOffset=rt,Ii.isUtc=it,Ii.isUTC=it,Ii.zoneAbbr=jn,Ii.zoneName=Sn,Ii.dates=_(\"dates accessor is deprecated. Use date instead.\",yi),Ii.months=_(\"months accessor is deprecated. Use month instead\",ue),Ii.years=_(\"years accessor is deprecated. Use year instead\",si),Ii.zone=_(\"moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779\",Ge);var Pi=Ii,Fi={sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},Mi={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},zi=\"Invalid date\",Bi=\"%d\",Ni=/\\d{1,2}/,Di={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},qi=A.prototype;qi._calendar=Fi,qi.calendar=An,qi._longDateFormat=Mi,qi.longDateFormat=Cn,qi._invalidDate=zi,qi.invalidDate=Tn,qi._ordinal=Bi,qi.ordinal=In,qi._ordinalParse=Ni,qi.preparse=Pn,qi.postformat=Pn,qi._relativeTime=Di,qi.relativeTime=Fn,qi.pastFuture=Mn,qi.set=E,qi.months=ie,qi._months=Zr,qi.monthsShort=oe,qi._monthsShort=Qr,qi.monthsParse=se,qi._monthsRegex=ei,qi.monthsRegex=fe,qi._monthsShortRegex=Xr,qi.monthsShortRegex=le,qi.week=Zt,qi._week=gi,qi.firstDayOfYear=Xt,qi.firstDayOfWeek=Qt,qi.weekdays=rn,qi._weekdays=bi,qi.weekdaysMin=an,qi._weekdaysMin=wi,qi.weekdaysShort=on,qi._weekdaysShort=xi,qi.weekdaysParse=cn,qi._weekdaysRegex=_i,qi.weekdaysRegex=fn,qi._weekdaysShortRegex=ki,qi.weekdaysShortRegex=dn,qi._weekdaysMinRegex=ji,qi.weekdaysMinRegex=hn,qi.isPM=wn,qi._meridiemParse=Si,qi.meridiem=_n,P(\"en\",{ordinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),n.lang=_(\"moment.lang is deprecated. Use moment.locale instead.\",P),n.langData=_(\"moment.langData is deprecated. Use moment.localeData instead.\",z);var Ri=Math.abs,Li=Xn(\"ms\"),$i=Xn(\"s\"),Ui=Xn(\"m\"),Hi=Xn(\"h\"),Vi=Xn(\"d\"),Wi=Xn(\"w\"),Yi=Xn(\"M\"),Ki=Xn(\"y\"),Gi=tr(\"milliseconds\"),Ji=tr(\"seconds\"),Zi=tr(\"minutes\"),Qi=tr(\"hours\"),Xi=tr(\"days\"),eo=tr(\"months\"),to=tr(\"years\"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=$e.prototype;oo.abs=Un,oo.add=Vn,oo.subtract=Wn,oo.as=Zn,oo.asMilliseconds=Li,oo.asSeconds=$i,oo.asMinutes=Ui,oo.asHours=Hi,oo.asDays=Vi,oo.asWeeks=Wi,oo.asMonths=Yi,oo.asYears=Ki,oo.valueOf=Qn,oo._bubble=Kn,oo.get=er,oo.milliseconds=Gi,oo.seconds=Ji,oo.minutes=Zi,oo.hours=Qi,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Ct,oo.localeData=Tt,oo.toIsoString=_(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",sr),oo.lang=vi,V(\"X\",0,0,\"unix\"),V(\"x\",0,0,\"valueOf\"),J(\"x\",Mr),J(\"X\",Nr),ee(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee(\"x\",function(e,t,n){n._d=new Date(b(e))}),n.version=\"2.13.0\",r(De),n.fn=Pi,n.min=Re,n.max=Le,n.now=pi,n.utc=u,n.unix=En,n.months=Dn,n.isDate=o,n.locale=P,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Rn,n.parseZone=On,n.localeData=z,n.isDuration=Ue,n.monthsShort=qn,n.weekdaysMin=$n,n.defineLocale=F,n.updateLocale=M,n.locales=B,n.weekdaysShort=Ln,n.normalizeUnits=D,n.relativeTimeThreshold=or,n.prototype=Pi;var ao=n;return ao})},{}],188:[function(e,t,n){t.exports={MongoError:e(\"./lib/error\"),Server:e(\"./lib/topologies/server\"),ReplSet:e(\"./lib/topologies/replset\"),Mongos:e(\"./lib/topologies/mongos\"),Logger:e(\"./lib/connection/logger\"),Cursor:e(\"./lib/cursor\"),ReadPreference:e(\"./lib/topologies/read_preference\"),BSON:e(\"bson\"),Query:e(\"./lib/connection/commands\").Query,MongoCR:e(\"./lib/auth/mongocr\"),X509:e(\"./lib/auth/x509\"),Plain:e(\"./lib/auth/plain\"),GSSAPI:e(\"./lib/auth/gssapi\"),ScramSHA1:e(\"./lib/auth/scram\")}},{\"./lib/auth/gssapi\":189,\"./lib/auth/mongocr\":190,\"./lib/auth/plain\":191,\"./lib/auth/scram\":192,\"./lib/auth/x509\":194,\"./lib/connection/commands\":195,\"./lib/connection/logger\":197,\"./lib/cursor\":200,\"./lib/error\":201,\"./lib/topologies/mongos\":203,\"./lib/topologies/read_preference\":204,\"./lib/topologies/replset\":205,\"./lib/topologies/server\":207,bson:59}],189:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var f=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var d=u.gssapiServiceName||\"mongodb\",h=t.length;if(0==h)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(n,i,c,n,d,e,t,u,function(e,t){h-=1,e?y=e:t.result.$err?y=t.result:t.result.errmsg?y=t.result:(g=!0,v+=1),0==h&&v>0?(m(f.authStore,new a(n,i,c,u)),p(null,!0)):0==h&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a,s,u){var p=new c(a.host,a.port,i,s);p.init(t,n,function(i,s){return i?u(i,!1):void p.transition(\"\",function(i,s){return i?u(i,!1):void f(p,s,e,t,n,r,o,a,u)})})},f=function(e,t,n,r,i,o,a,s,c){var u={saslStart:1,mechanism:\"GSSAPI\",payload:t,autoAuthorize:1};a.command(\"$external.$cmd\",u,{connection:s},function(t,u){if(t)return c(t,!1);var p=u.result;e.transition(u.result.payload,function(t,u){return t?c(t,!1):void d(e,u,p,n,r,i,o,a,s,c)})})},d=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){if(t)return u(t,!1);var p=n.result;e.transition(p.payload,function(t,n){return t?u(t,!1):void h(e,n,p,r,i,o,a,s,c,u)})})},h=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){return t?u(t,!1):void e.transition(null,function(e,t){return e?u(e,null):void u(null,n)})})},m=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],190:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]},c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){e.command(r(\"%s.$cmd\",n),{getnonce:1},{connection:t},function(v,g){var y=null,b=null;if(null==v){y=g.result.nonce;var x=i.createHash(\"md5\");x.update(s+\":mongo:\"+u,\"utf8\");var w=x.digest(\"hex\");x=i.createHash(\"md5\"),x.update(y+s+w,\"utf8\"),b=x.digest(\"hex\")}e.command(r(\"%s.$cmd\",n),{authenticate:1,user:s,nonce:y,key:b},{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}},s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,crypto:void 0,util:void 0}],191:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"bson\").Binary),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){var v=new i(r(\"\\x00%s\\x00%s\",s,u)),g={saslStart:1,mechanism:\"PLAIN\",payload:v,autoAuthorize:1};e.command(\"$external.$cmd\",g,{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}};var c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,bson:59,crypto:void 0,util:void 0}],192:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"bson\").Binary,a=e(\"../error\"),s=function(e,t,n){this.db=e,this.username=t,this.password=n};s.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var c=0,u=function(){this.authStore=[],this.id=c++},p=function(e){for(var t={},n=e.split(\",\"),r=0;r<n.length;r++){var i=n[r].split(\"=\");t[i[0]]=i[1]}return t},l=function(e,t){if(\"string\"!=typeof e)throw new a(\"username must be a string\");if(\"string\"!=typeof t)throw new a(\"password must be a string\");if(0==t.length)throw new a(\"password cannot be empty\");var n=i.createHash(\"md5\");return n.update(e+\":mongo:\"+t,\"utf8\"),n.digest(\"hex\")},f=function(e,t){n.isBuffer(e)||(e=new n(e)),n.isBuffer(t)||(t=new n(t));var r=[];if(e.length>t.length)for(var i=0;i<t.length;i++)r.push(e[i]^t[i]);else for(var i=0;i<e.length;i++)r.push(e[i]^t[i]);return new n(r)},d=function(e,t,r){var o=function(t){var r=i.createHmac(\"sha1\",e);return r.update(t),new n(r.digest(\"base64\"),\"base64\")};t=n.concat([t,new n(\"\\x00\\x00\\x00\u0001\")]);for(var a=o(t),s=a,c=0;r-1>c;c++)s=o(s),a=f(a,s);return a};u.prototype.auth=function(e,t,c,u,m,v){var g=this,y=t.length;if(0==y)return v(null,null);for(var b=0,x=!1,w=null,_=function(t){u=u.replace(\"=\",\"=3D\").replace(\",\",\"=2C\");var _=i.randomBytes(24).toString(\"base64\"),k=r(\"n=%s,r=%s\",u,_),j={saslStart:1,mechanism:\"SCRAM-SHA-1\",payload:new o(r(\"n,,%s\",k)),autoAuthorize:1},S=function(e,t){return e?(b-=1,w=e,!1):t.result.$err?(w=t.result,!1):t.result.errmsg?(w=t.result,!1):(x=!0,b+=1,!0)},E=function(e,t){return 0==e&&t>0?(h(g.authStore,new s(c,u,m)),v(null,!0)):0==e?(null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)):void 0},O=function(e,t){S(e,t),y-=1,E(y,b)};e.command(r(\"%s.$cmd\",c),j,{connection:t},function(x,_){if(0!=S(x,_)){var j=p(_.result.payload.value()),E=parseInt(j.i,10),A=j.s,C=j.r,T=r(\"c=biws,r=%s\",C),I=l(u,m),P=d(I,new n(A,\"base64\"),E),F=i.createHmac(\"sha1\",P);F.update(new n(\"Client Key\"));var M=new n(F.digest(\"base64\"),\"base64\"),z=i.createHash(\"sha1\");z.update(M);var B=new n(z.digest(\"base64\"),\"base64\"),N=[k,_.result.payload.value().toString(\"base64\"),T].join(\",\"),F=i.createHmac(\"sha1\",B);F.update(new n(N));var D=new n(F.digest(\"base64\"),\"base64\"),q=r(\"p=%s\",new n(f(M,D)).toString(\"base64\")),R=[T,q].join(\",\"),F=i.createHmac(\"sha1\",P);F.update(new n(\"Server Key\"));var L=new n(F.digest(\"base64\"),\"base64\"),F=i.createHmac(\"sha1\",L);F.update(new n(N));var $=(new n(F.digest(\"base64\"),\"base64\"),{saslContinue:1,conversationId:_.result.conversationId,payload:new o(new n(R))});e.command(r(\"%s.$cmd\",c),$,{connection:t},function(i,o){if(o&&0==o.result.done){var a={saslContinue:1,conversationId:o.result.conversationId,payload:new n(0)};e.command(r(\"%s.$cmd\",c),a,{connection:t},function(e,t){O(e,t)})}else O(i,o)})}else{if(y-=1,0==y&&b>0)return h(g.authStore,new s(c,u,m)),v(null,!0);if(0==y)return null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)}})},k=function(e){process.nextTick(function(){_(e)})};t.length>0;)k(t.shift())};var h=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};u.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=u}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,bson:59,buffer:void 0,crypto:void 0,util:void 0}],193:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var d=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var h=u.gssapiServiceName||\"mongodb\",m=t.length;if(0==m)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(i,c,h,e,t,u,function(e,t){m-=1,e?y=e:t&&\"object\"==typeof t&&t.result.$err?y=t.result:t&&\"object\"==typeof t&&t.result.errmsg?y=t.result:(g=!0,v+=1),0==m&&v>0?(f(d.authStore,new a(n,i,c,u)),p(null,!0)):0==m&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a){var s={saslStart:1,mechanism:\"GSSAPI\",payload:\"\",autoAuthorize:1},u=new c(i.host,i.port,n,o);r.command(\"$external.$cmd\",s,{connection:i},function(n,o){if(n)return a(n,!1);var s=o.result;u.init(e,t,function(e){return e?a(e):void u.transition(s.payload,function(e,t){if(e)return a(e);var n={saslContinue:1,conversationId:s.conversationId,payload:t};r.command(\"$external.$cmd\",n,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){if(e)return a(e);var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;return n.done?a(null,!0):void a(new Error(\"Authentication failed\"),!1)})})})})})})})})},f=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],194:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"../error\")),o=function(e,t,n){this.db=e,this.username=t,this.password=n};o.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var a=function(){this.authStore=[]};a.prototype.auth=function(e,t,n,a,c,u){var p=this,l=t.length;if(0==l)return u(null,null);for(var f=0,d=!1,h=null;t.length>0;){var m=function(t){var m={authenticate:1,mechanism:\"MONGODB-X509\",user:a};e.command(\"$external.$cmd\",m,{connection:t},function(e,t){l-=1,e?h=e:t.result.$err?h=t.result:t.result.errmsg?h=t.result:(d=!0,f+=1),0==l&&f>0?(s(p.authStore,new o(n,a,c)),u(null,!0)):0==l&&(null==h&&(h=new i(r(\"failed to authenticate using mongocr\"))),u(h,!1))})},v=function(e){process.nextTick(function(){m(e)})};v(t.shift())}};var s=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};a.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=a},{\"../error\":201,crypto:void 0,util:void 0}],195:[function(e,t,n){(function(n){\"use strict\";var r=(e(\"util\").format,e(\"bson\").Long),i=(e(\"./utils\").setProperty,e(\"./utils\").getProperty,e(\"./utils\").getSingleProperty,0),o=2004,a=2005,s=2007,c=2,u=4,p=8,l=16,f=32,d=64,h=128,m=9007199254740992,v=1,g=2,y=4,b=8,x=function(e,t,n,r){var o=this;if(null==t)throw new Error(\"ns must be specified for query\");if(null==n)throw new Error(\"query must be specified for query\");if(~t.indexOf(\"\\x00\"))throw new Error(\"namespace cannot contain a null character\");this.bson=e,this.ns=t,this.query=n,this.options=r||{},this.numberToSkip=r.numberToSkip||0,this.numberToReturn=r.numberToReturn||0,this.returnFieldSelector=r.returnFieldSelector||null,this.requestId=i++%m,this.serializeFunctions=\"boolean\"==typeof r.serializeFunctions?r.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof r.ignoreUndefined?r.ignoreUndefined:!1,this.maxBsonSize=r.maxBsonSize||16777216,this.checkKeys=\"boolean\"==typeof r.checkKeys?r.checkKeys:!0,this.batchSize=o.numberToReturn,this.tailable=!1,this.slaveOk=!1,this.oplogReplay=!1,this.noCursorTimeout=!1,this.awaitData=!1,this.exhaust=!1,this.partial=!1};x.prototype.incRequestId=function(){this.requestId=i++%m},x.nextRequestId=function(){return(i+1)%m},x.prototype.toBin=function(){var e=this,t=[],r=null,i=0;this.tailable&&(i|=c),this.slaveOk&&(i|=u),this.oplogReplay&&(i|=p),this.noCursorTimeout&&(i|=l),this.awaitData&&(i|=f),this.exhaust&&(i|=d),this.partial&&(i|=h),e.batchSize!=e.numberToReturn&&(e.numberToReturn=e.batchSize);var a=new n(20+n.byteLength(e.ns)+1+4+4);t.push(a);var s=e.bson.serialize(this.query,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);t.push(s),e.returnFieldSelector&&Object.keys(e.returnFieldSelector).length>0&&(r=e.bson.serialize(this.returnFieldSelector,this.checkKeys,!0,this.serializeFunctions,this.ignoreUndefined),t.push(r));var m=a.length+s.length+(r?r.length:0),v=4;return a[3]=m>>24&255,a[2]=m>>16&255,a[1]=m>>8&255,a[0]=255&m,a[v+3]=this.requestId>>24&255,a[v+2]=this.requestId>>16&255,a[v+1]=this.requestId>>8&255,a[v]=255&this.requestId,v+=4,a[v+3]=0,a[v+2]=0,a[v+1]=0,a[v]=0,v+=4,a[v+3]=o>>24&255,a[v+2]=o>>16&255,a[v+1]=o>>8&255,a[v]=255&o,v+=4,a[v+3]=i>>24&255,a[v+2]=i>>16&255,a[v+1]=i>>8&255,a[v]=255&i,v+=4,v=v+a.write(this.ns,v,\"utf8\")+1,a[v-1]=0,a[v+3]=this.numberToSkip>>24&255,a[v+2]=this.numberToSkip>>16&255,a[v+1]=this.numberToSkip>>8&255,a[v]=255&this.numberToSkip,v+=4,a[v+3]=this.numberToReturn>>24&255,a[v+2]=this.numberToReturn>>16&255,a[v+1]=this.numberToReturn>>8&255,a[v]=255&this.numberToReturn,v+=4,t},x.getRequestId=function(){return++i%m};var w=function(e,t,n,r){r=r||{},this.numberToReturn=r.numberToReturn||0,this.requestId=i++%m,this.bson=e,this.ns=t,this.cursorId=n};w.prototype.toBin=function(){var e=4+n.byteLength(this.ns)+1+4+8+16,t=0,r=new n(e);return r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=a>>24&255,r[t+2]=a>>16&255,r[t+1]=a>>8&255,r[t]=255&a,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,t=t+r.write(this.ns,t,\"utf8\")+1,r[t-1]=0,r[t+3]=this.numberToReturn>>24&255,r[t+2]=this.numberToReturn>>16&255,r[t+1]=this.numberToReturn>>8&255,r[t]=255&this.numberToReturn,t+=4,r[t+3]=this.cursorId.getLowBits()>>24&255,r[t+2]=this.cursorId.getLowBits()>>16&255,r[t+1]=this.cursorId.getLowBits()>>8&255,r[t]=255&this.cursorId.getLowBits(),t+=4,r[t+3]=this.cursorId.getHighBits()>>24&255,r[t+2]=this.cursorId.getHighBits()>>16&255,r[t+1]=this.cursorId.getHighBits()>>8&255,r[t]=255&this.cursorId.getHighBits(),t+=4,r};var _=function(e,t){this.requestId=i++%m,this.cursorIds=t};_.prototype.toBin=function(){var e=24+8*this.cursorIds.length,t=0,r=new n(e);r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=s>>24&255,r[t+2]=s>>16&255,r[t+1]=s>>8&255,r[t]=255&s,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=this.cursorIds.length>>24&255,r[t+2]=this.cursorIds.length>>16&255,r[t+1]=this.cursorIds.length>>8&255,r[t]=255&this.cursorIds.length,t+=4;for(var i=0;i<this.cursorIds.length;i++)r[t+3]=this.cursorIds[i].getLowBits()>>24&255,r[t+2]=this.cursorIds[i].getLowBits()>>16&255,r[t+1]=this.cursorIds[i].getLowBits()>>8&255,r[t]=255&this.cursorIds[i].getLowBits(),t+=4,r[t+3]=this.cursorIds[i].getHighBits()>>24&255,r[t+2]=this.cursorIds[i].getHighBits()>>16&255,r[t+1]=this.cursorIds[i].getHighBits()>>8&255,r[t]=255&this.cursorIds[i].getHighBits(),t+=4;return r};var k=function(e,t,n,i){i=i||{promoteLongs:!0},this.parsed=!1,this.connection=e,this.index=0,this.raw=n,this.data=n,this.bson=t,this.opts=i,this.length=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.requestId=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.responseTo=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.index=this.index+4,this.responseFlags=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4;var o=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4;var a=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4,this.cursorId=new r(o,a),this.startingFrom=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.numberReturned=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.documents=new Array(this.numberReturned),this.cursorNotFound=0!=(this.responseFlags&v),this.queryFailure=0!=(this.responseFlags&g),this.shardConfigStale=0!=(this.responseFlags&y),this.awaitCapable=0!=(this.responseFlags&b),this.promoteLongs=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0};k.prototype.isParsed=function(){return this.parsed};var j=new n(\"firstBatch\",\"utf8\"),S=new n(\"nextBatch\",\"utf8\");new n(\"id\",\"utf8\").toString(\"hex\"),{firstBatch:j.toString(\"hex\"),nextBatch:S.toString(\"hex\")};k.prototype.parse=function(e){if(!this.parsed){e=e||{};var t=e.raw||!1,n=e.documentsReturnedIn||null;if(1==this.numberReturned&&null!=n&&t){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,o=this.data.slice(this.index,this.index+i),a={};a[n]=!0;var s={promoteLongs:this.opts.promoteLongs,fieldsAsRaw:a};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs);var c=this.bson.deserialize(o,s);return this.documents=c.cursor[n],this.numberReturned=this.documents.length,this.cursorId=\"number\"==typeof c.cursor.id?r.fromNumber(c.cursor.id):c.cursor.id,this.index=this.index+i,void(this.parsed=!0)}for(var u=0;u<this.numberReturned;u++){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,s={promoteLongs:this.opts.promoteLongs};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs),t?this.documents[u]=this.data.slice(this.index,this.index+i):this.documents[u]=this.bson.deserialize(this.data.slice(this.index,this.index+i),s),this.index=this.index+i}this.parsed=!0}},t.exports={Query:x,GetMore:w,Response:k,KillCursor:_}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":199,bson:59,buffer:void 0,util:void 0}],196:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"net\"),a=e(\"tls\"),s=e(\"util\").format,c=e(\"crypto\"),u=(e(\"./utils\").getSingleProperty,e(\"./utils\").debugOptions),p=e(\"./commands\").Response,l=e(\"../error\"),f=e(\"./logger\"),d=0,h=[\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"rejectUnauthorized\",\"promoteLongs\",\"checkServerIdentity\"],m=function(e){if(i.call(this),this.options=e||{},this.id=d++,this.logger=f(\"Connection\",e),!e.bson)throw new Error(\"must pass in valid bson parser\");this.bson=e.bson,this.tag=e.tag,this.messageHandler=e.messageHandler,this.maxBsonMessageSize=e.maxBsonMessageSize||67108864,this.logger.isDebug()&&this.logger.debug(s(\"creating connection %s with options [%s]\",this.id,JSON.stringify(u(h,e)))),this.port=e.port||27017,this.host=e.host||\"localhost\",this.keepAlive=\"boolean\"==typeof e.keepAlive?e.keepAlive:!0,this.keepAliveInitialDelay=e.keepAliveInitialDelay||0,this.noDelay=\"boolean\"==typeof e.noDelay?e.noDelay:!0,this.connectionTimeout=e.connectionTimeout||0,this.socketTimeout=e.socketTimeout||0,this.destroyed=!1,this.domainSocket=-1!=this.host.indexOf(\"/\"),this.singleBufferSerializtion=\"boolean\"==typeof e.singleBufferSerializtion?e.singleBufferSerializtion:!0,this.serializationFunction=this.singleBufferSerializtion?\"toBinUnified\":\"toBin\",this.ca=e.ca||null,this.cert=e.cert||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.ssl=\"boolean\"==typeof e.ssl?e.ssl:!1,this.rejectUnauthorized=\"boolean\"==typeof e.rejectUnauthorized?e.rejectUnauthorized:!0,this.checkServerIdentity=\"boolean\"==typeof e.checkServerIdentity||\"function\"==typeof e.checkServerIdentity?e.checkServerIdentity:!0,this.ssl||(this.rejectUnauthorized=!1),this.responseOptions={promoteLongs:\"boolean\"==typeof e.promoteLongs?e.promoteLongs:!0},this.flushing=!1,this.queue=[],\nthis.connection=null,this.writeStream=null;var t=c.createHash(\"sha1\");t.update(s(\"%s:%s\",this.host,this.port)),this.hashedName=t.digest(\"hex\")};r(m,i),Object.defineProperty(m.prototype,\"socketTimeoutMS\",{enumerable:!0,set:function(e){if(\"number\"!=typeof e)throw new Error(\"socketTimeoutMS requires a boolean\");this.socketTimeout=e,this.connection.setTimeout(e)},get:function(){return this.socketTimeout}});var v=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] errored out with [%s]\",e.id,e.host,e.port,JSON.stringify(t))),e.listeners(\"error\").length>0&&e.emit(\"error\",l.create(t),e)}},g=function(e){return function(){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] timed out\",e.id,e.host,e.port)),e.emit(\"timeout\",l.create(s(\"connection %s to %s:%s timed out\",e.id,e.host,e.port)),e)}},y=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s with for [%s:%s] closed\",e.id,e.host,e.port)),t||e.emit(\"close\",l.create(s(\"connection %s to %s:%s closed\",e.id,e.host,e.port)),e)}},b=function(e){return function(t){for(;t.length>0;)if(e.bytesRead>0&&e.sizeOfMessage>0){var r=e.sizeOfMessage-e.bytesRead;if(r>t.length)t.copy(e.buffer,e.bytesRead),e.bytesRead=e.bytesRead+t.length,t=new n(0);else{t.copy(e.buffer,e.bytesRead,0,r),t=t.slice(r);try{var i=e.buffer;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}}}else if(null!=e.stubBuffer&&e.stubBuffer.length>0)if(e.stubBuffer.length+t.length>4){var s=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(s,0),t.copy(s,e.stubBuffer.length),t=s,e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null}else{var c=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(c,0),t.copy(c,e.stubBuffer.length),t=new n(0)}else if(t.length>4){var u=t[0]|t[1]<<8|t[2]<<16|t[3]<<24;if(0>u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:\"\",bin:e.buffer,parseState:{sizeOfMessage:u,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};return void e.emit(\"parseError\",a,e)}if(u>4&&u<e.maxBsonMessageSize&&u>t.length)e.buffer=new n(u),t.copy(e.buffer,0),e.bytesRead=t.length,e.sizeOfMessage=u,e.stubBuffer=null,t=new n(0);else if(u>4&&u<e.maxBsonMessageSize&&u==t.length)try{var i=t;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}else if(4>=u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:null,bin:t,parseState:{sizeOfMessage:u,bytesRead:0,buffer:null,stubBuffer:null}};e.emit(\"parseError\",a,e),e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0)}else{var i=t.slice(0,u);e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=t.slice(u),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}}else e.stubBuffer=new n(t.length),t.copy(e.stubBuffer,0),t=new n(0)}};m.prototype.connect=function(e){var t=this;if(e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.responseOptions.promoteLongs=e.promoteLongs),t.connection=t.domainSocket?o.createConnection(t.host):o.createConnection(t.port,t.host),t.connection.setKeepAlive(t.keepAlive,t.keepAliveInitialDelay),t.connection.setTimeout(t.connectionTimeout),t.connection.setNoDelay(t.noDelay),t.ssl){var n={socket:t.connection,rejectUnauthorized:t.rejectUnauthorized};t.ca&&(n.ca=t.ca),t.cert&&(n.cert=t.cert),t.key&&(n.key=t.key),t.passphrase&&(n.passphrase=t.passphrase),0==t.checkServerIdentity?n.checkServerIdentity=function(e,t){}:\"function\"==typeof t.checkServerIdentity&&(n.checkServerIdentity=t.checkServerIdentity);try{t.connection=a.connect(t.port,t.host,n,function(){return t.connection.authorizationError&&t.rejectUnauthorized?t.emit(\"error\",t.connection.authorizationError,t,{ssl:!0}):(t.connection.setTimeout(t.socketTimeout),void t.emit(\"connect\",t))})}catch(r){process.nextTick(function(){return t.emit(\"error\",r,t,{ssl:!0})})}t.connection.setTimeout(t.connectionTimeout)}else t.connection.on(\"connect\",function(){t.connection.setTimeout(t.socketTimeout),t.emit(\"connect\",t)});t.connection.once(\"error\",v(t)),t.connection.once(\"timeout\",g(t)),t.connection.once(\"close\",y(t)),t.connection.on(\"data\",b(t))},m.prototype.unref=function(){if(this.connection)this.connection.unref();else{var e=this;this.once(\"connect\",function(){e.connection.unref()})}},m.prototype.destroy=function(){this.connection&&(this.connection.unref&&this.connection.unref(),this.connection.end(),this.connection.destroy()),this.destroyed=!0},m.prototype.write=function(e){if(this.logger.isDebug())if(Array.isArray(e))for(var t=0;t<e.length;t++)this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e[t].toString(\"hex\"),this.host,this.port));else this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e.toString(\"hex\"),this.host,this.port));if(!Array.isArray(e))return this.connection.write(e,\"binary\");for(var t=0;t<e.length;t++)this.connection.write(e[t],\"binary\")},m.prototype.toString=function(){return\"\"+this.id},m.prototype.toJSON=function(){return{id:this.id,host:this.host,port:this.port}},m.prototype.isConnected=function(){return this.destroyed?!1:!this.connection.destroyed&&this.connection.writable},t.exports=m}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,\"./commands\":195,\"./logger\":197,\"./utils\":199,buffer:void 0,crypto:void 0,events:void 0,net:void 0,tls:void 0,util:void 0}],197:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"../error\"),o={},a={},s=null,c=process.pid,u=null,p=function(e,t){if(!(this instanceof p))return new p(e,t);t=t||{};this.className=e,null==u&&t.logger?u=t.logger:null==u&&(u=console.log),null==s&&(s=t.loggerLevel||\"error\"),null==a[this.className]&&(o[this.className]=!0)};p.prototype.debug=function(e,t){if(this.isDebug()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"DEBUG\",this.className,c,n,e),s={type:\"debug\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.info=function(e,t){if(this.isInfo()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"INFO\",this.className,c,n,e),s={type:\"info\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.error=function(e,t){if(this.isError()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"ERROR\",this.className,c,n,e),s={type:\"error\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.isInfo=function(){return\"info\"==s||\"debug\"==s},p.prototype.isError=function(){return\"error\"==s||\"info\"==s||\"debug\"==s},p.prototype.isDebug=function(){return\"debug\"==s},p.reset=function(){s=\"error\",a={}},p.currentLogger=function(){return u},p.setCurrentLogger=function(e){if(\"function\"!=typeof e)throw new i(\"current logger must be a function\");u=e},p.filter=function(e,t){\"class\"==e&&Array.isArray(t)&&(a={},t.forEach(function(e){a[e]=!0}))},p.setLevel=function(e){if(\"info\"!=e&&\"error\"!=e&&\"debug\"!=e)throw new Error(r(\"%s is an illegal logging level\",e));s=e},t.exports=p},{\"../error\":201,util:void 0}],198:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"./connection\"),a=(e(\"./commands\").Query,e(\"./logger\")),s=e(\"util\").format,c=\"disconnected\",u=\"connecting\",p=\"connected\",l=\"destroyed\",f=0,d=function(e){if(i.call(this),this.options=e||{},this.size=\"number\"!=typeof e.size||isNaN(e.size)?5:e.size,this.waitMS=\"number\"!=typeof e.waitMS||isNaN(e.waitMS)?1e3:e.waitMS,this.host=e.host,this.port=e.port,this.messageHandler=e.messageHandler,!e.bson)throw new Error(\"must pass in valid bson parser\");this.availableConnections=[],this.inUseConnections=[],this.newConnections=[],this.connectingConnections=[],this.state=c,this.index=0,this.dead=!1,this.logger=a(\"Pool\",e),this.id=f++,this.tag=e.tag,this.queue=[],this.executing=!1,this.unreference=!1};r(d,i);var h=function(e,t){t.destroy();var n=function(e){for(var n=0;n<e.length;n++)if(e[n]===t)return e.splice(n,1),!0};n(e.availableConnections)||n(e.inUseConnections)||n(e.newConnections)||n(e.connectingConnections)},m=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.listeners(\"error\").length>0&&e.emit(\"error\",t,n)}},v=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] timed out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"timeout\",t,n)}},g=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] closed [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"close\",t,n)}},y=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"parseError\",t,n)}};d.prototype.unref=function(){this.unreference=!0,this.getAll().forEach(function(e){e.unref()})},d.prototype.destroy=function(){this.state=l,this.dead=!0;var e=this.getAll();e.forEach(function(e){[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy()}),this.availableConnections=[],this.connectingConnections=[],this.inUseConnections=[],this.newConnections=[]},d.prototype.connect=function(e){var t=this;this.state=u,this.dead=!1,t.options.messageHandler=t.messageHandler;var n=new o(t.options);[\"close\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"close\",g(t)),n.once(\"error\",m(t)),n.once(\"timeout\",v(t)),n.once(\"parseError\",y(t)),n.on(\"connect\",function(e){return\"DESTROYED\"==t.state?e.destroy():(t.availableConnections.push(e),void t.emit(\"connect\",t))}),n.connect(e)};var b=function(e){e.options.messageHandler=e.messageHandler;var t=new o(e.options);e.connectingConnections.push(t);var n=function(e){return function(t){e.destroy()}},r=[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"],i=function(t){return function(){if(\"DESTROYED\"==e.state){var n=e.connectingConnections.indexOf(t);return-1!=n&&e.connectingConnections.splice(n,1),t.destroy()}r.forEach(function(e){t.removeAllListeners(e)}),t.once(\"close\",g(e)),t.once(\"error\",m(e)),t.once(\"timeout\",v(e)),t.once(\"parseError\",y(e));var n=e.connectingConnections.indexOf(t);-1!=n&&e.connectingConnections.splice(n,1),e.newConnections.push(t),e.emit(\"connection\",t),x(e)()}};t.once(\"close\",n(t)),t.once(\"error\",n(t)),t.once(\"timeout\",n(t)),t.once(\"parseError\",n(t)),t.once(\"connect\",i(t)),t.connect()},x=function(e){return function(){if(\"DESTROYED\"!=e.state&&!e.executing){e.executing=!0;var t=e.availableConnections.length+e.connectingConnections.length+e.inUseConnections.length+e.newConnections.length;if(0==e.availableConnections.length&&0==e.connectingConnections.length&&t<e.size&&e.queue.length>0)return b(e),void(e.executing=!1);for(e.availableConnections.length>e.queue.length?e.queue.length:e.availableConnections.length;;){if(0==e.availableConnections.length)break;if(0==e.queue.length)break;var n=e.availableConnections.pop();if(n.isConnected()){var r=e.queue.shift();r.cb&&(r.cb.connection=n);var i=r.buffer;if(e.inUseConnections.push(n),Array.isArray(i))for(var o=0;o<i.length;o++)n.write(i[o]);else n.write(i);r.immediateRelease&&e.availableConnections.push(n)}}e.executing=!1}}};d.prototype.write=function(e,t,n){var r={buffer:e,cb:t};n&&n.immediateRelease&&(r.immediateRelease=!0),this.queue.push(r),x(this)()},d.prototype.connectionAvailable=function(e){var t=this.newConnections.indexOf(e);-1!=t&&this.newConnections.splice(t,1),t=this.inUseConnections.indexOf(e),-1!=t&&this.inUseConnections.splice(t,1),-1==this.availableConnections.indexOf(e)&&this.availableConnections.push(e),x(this)()},d.prototype.get=function(e){e=e||{},this.index=this.index+1;var t=this.availableConnections.slice(0);return 1==t.length?t[0]:(this.index=this.index%t.length,t[this.index])},d.prototype.getAll=function(){return this.availableConnections.concat(this.inUseConnections).concat(this.connectingConnections).concat(this.newConnections)},d.prototype.isConnected=function(){for(var e=0;e<this.availableConnections.length;e++)if(this.availableConnections[e].isConnected())return!0;for(var e=0;e<this.inUseConnections.length;e++)if(this.inUseConnections[e].isConnected())return!0;for(var e=0;e<this.newConnections.length;e++)if(this.newConnections[e].isConnected())return!0;return this.state==p},d.prototype.isDestroyed=function(){return this.state==l},t.exports=d},{\"./commands\":195,\"./connection\":196,\"./logger\":197,events:void 0,util:void 0}],199:[function(e,t,n){\"use strict\";var r=function(e,t,n,r){Object.defineProperty(e,t.name,{enumerable:!0,set:function(e){if(\"boolean\"!=typeof e)throw new Error(f(\"%s required a boolean\",t.name));1==e&&(r.flags|=n),0==e&&(r.flags&n)==n&&(r.flags^=n),t.value=e},get:function(){return t.value}})},i=function(e,t,n,r,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){return null==r[n]&&e.isParsed&&!e.isParsed()&&e.parse(),\"function\"==typeof i?i(r[n]):r[n]}})},o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=function(e,t){t=t||{};for(var n in e)t[n]=e[n];return t},s=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},c=function(e){var t=process.domain;if(null==t||null==e)return e;var n=t.bind(e);for(var r in e)n[r]=e[r];return n};n.setProperty=r,n.getProperty=i,n.getSingleProperty=o,n.copy=a,n.bindToCurrentDomain=c,n.debugOptions=s},{}],200:[function(e,t,n){\"use strict\";var r=e(\"bson\").Long,i=e(\"./connection/logger\"),o=e(\"./error\"),a=e(\"util\").format,s=function(e,t,n,o,a,s){o=o||{};this.pool=null,this.server=null,this.disconnectHandler=o.disconnectHandler,this.bson=e,this.ns=t,this.cmd=n,this.options=o,this.topology=a,this.cursorState={cursorId:null,cmd:n,documents:o.documents||[],cursorIndex:0,dead:!1,killed:!1,init:!1,notified:!1,limit:o.limit||n.limit||0,skip:o.skip||n.skip||0,batchSize:o.batchSize||n.batchSize||1e3,currentLimit:0,transforms:o.transforms},\"boolean\"==typeof s.promoteLongs&&(this.cursorState.promoteLongs=s.promoteLongs),this.callbacks=null,this.logger=i(\"Cursor\",o),\"number\"==typeof n?(this.cursorState.cursorId=r.fromNumber(n),this.cursorState.lastCursorId=this.cursorState.cursorId):n instanceof r&&(this.cursorState.cursorId=n,this.cursorState.lastCursorId=n)};s.prototype.setCursorBatchSize=function(e){this.cursorState.batchSize=e},s.prototype.cursorBatchSize=function(){return this.cursorState.batchSize},s.prototype.setCursorLimit=function(e){this.cursorState.limit=e},s.prototype.cursorLimit=function(){return this.cursorState.limit},s.prototype.setCursorSkip=function(e){this.cursorState.skip=e},s.prototype.cursorSkip=function(){return this.cursorState.skip};var c=function(e,t,n){try{e(t,n)}catch(t){process.nextTick(function(){throw t})}};s.prototype._find=function(e){var t=this;t.logger.isDebug()&&t.logger.debug(a(\"issue initial query [%s] with flags [%s]\",JSON.stringify(t.cmd),JSON.stringify(t.query)));var n=function(n,i){if(n)return e(n);if(i.queryFailure)return e(o.create(i.documents[0]),null);if(t.connection=i.connection,Array.isArray(i.documents)&&1==i.documents.length&&(!t.cmd.find||t.cmd.find&&0==t.cmd.virtual)&&(\"string\"!=i.documents[0].cursor||i.documents[0].$err||i.documents[0].errmsg||Array.isArray(i.documents[0].result))){if(i.documents[0].$err||i.documents[0].errmsg)return e(o.create(i.documents[0]),null);if(null!=i.documents[0].cursor&&\"string\"!=typeof i.documents[0].cursor){var a=i.documents[0].cursor.id;return i.documents[0].cursor.ns&&(t.ns=i.documents[0].cursor.ns),t.cursorState.cursorId=\"number\"==typeof a?r.fromNumber(a):a,t.cursorState.lastCursorId=t.cursorState.cursorId,Array.isArray(i.documents[0].cursor.firstBatch)&&(t.cursorState.documents=i.documents[0].cursor.firstBatch),e(null,null)}if(Array.isArray(i.documents[0].result))return t.cursorState.documents=i.documents[0].result,t.cursorState.cursorId=r.ZERO,e(null,null)}t.cursorState.cursorId=i.cursorId,t.cursorState.documents=i.documents,t.cursorState.lastCursorId=i.cursorId,t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.query&&(t.cursorState.documents=t.cursorState.transforms.query(i)),e(null,null)};(t.options.raw||t.cmd.raw)&&(n.raw=t.options.raw||t.cmd.raw),\"string\"==typeof t.query.documentsReturnedIn&&(n.documentsReturnedIn=t.query.documentsReturnedIn),\"boolean\"==typeof t.cursorState.promoteLongs&&(n.promoteLongs=t.cursorState.promoteLongs),t.callbacks.register(t.query.requestId,n),t.pool.write(t.query.toBin(),n)},s.prototype._getmore=function(e){this.logger.isDebug()&&this.logger.debug(a(\"schedule getMore call for query [%s]\",JSON.stringify(this.query)));var t=this.options.raw||this.cmd.raw,n=this.cursorState.batchSize;this.cursorState.limit>0&&this.cursorState.currentLimit+n>this.cursorState.limit&&(n=this.cursorState.limit-this.cursorState.currentLimit);var r=this.connection||this.pool;this.server.wireProtocolHandler.getMore(this.bson,this.ns,this.cursorState,n,t,r,this.callbacks,this.options,e)},s.prototype._killcursor=function(e){return this.cursorState.dead=!0,this.cursorState.killed=!0,this.cursorState.documents=[],null==this.cursorState.cursorId||this.cursorState.cursorId.isZero()||0==this.cursorState.init?void(e&&e(null,null)):void this.server.wireProtocolHandler.killCursor(this.bson,this.ns,this.cursorState.cursorId,this.pool,this.callbacks,e)},s.prototype.clone=function(){return this.topology.cursor(this.ns,this.cmd,this.options)},s.prototype.isDead=function(){return 1==this.cursorState.dead},s.prototype.isKilled=function(){return 1==this.cursorState.killed},s.prototype.isNotified=function(){return 1==this.cursorState.notified},s.prototype.bufferedCount=function(){return this.cursorState.documents.length-this.cursorState.cursorIndex},s.prototype.readBufferedDocuments=function(e){var t=this.cursorState.documents.length-this.cursorState.cursorIndex,n=t>e?e:t,r=this.cursorState.documents.slice(this.cursorState.cursorIndex,this.cursorState.cursorIndex+n);if(this.cursorState.transforms&&\"function\"==typeof this.cursorState.transforms.doc)for(var i=0;i<r.length;i++)r[i]=this.cursorState.transforms.doc(r[i]);return this.cursorState.limit>0&&this.cursorState.currentLimit+r.length>this.cursorState.limit&&(r=r.slice(0,this.cursorState.limit-this.cursorState.currentLimit),this.kill()),this.cursorState.currentLimit=this.cursorState.currentLimit+r.length,this.cursorState.cursorIndex=this.cursorState.cursorIndex+r.length,r},s.prototype.kill=function(e){this._killcursor(e)},s.prototype.rewind=function(){this.cursorState.init&&(this.cursorState.dead||this.kill(),this.cursorState.currentLimit=0,this.cursorState.init=!1,this.cursorState.dead=!1,this.cursorState.killed=!1,this.cursorState.notified=!1,this.cursorState.documents=[],this.cursorState.cursorId=null,this.cursorState.cursorIndex=0)};var u=function(e,t){return e.pool&&!e.pool.isConnected()?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,t(o.create(a(\"connection to host %s:%s was destroyed\",e.pool.host,e.pool.port))),!0):!1},p=function(e,t){return e.cursorState.dead&&!e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},l=function(e,t){return e.cursorState.dead&&e.cursorState.killed?(c(t,o.create(\"cursor is dead\")),!0):!1},f=function(e,t){return e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},d=function(e,t){e.cursorState.dead=!0,e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},h=function(e,t){e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},m=(Array.prototype.push,function(e,t){if(e.cursorState.notified)return t(new Error(\"cursor is exhausted\"));if(!f(e,t)&&!p(e,t)&&!l(e,t)){if(!e.cursorState.init){if(!e.topology.isConnected(e.options)&&null!=e.disconnectHandler)return e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t);try{e.server=e.topology.getServer(e.options),e.pool=e.server.s.pool,e.callbacks=e.server.getCallbacks()}catch(n){return null!=e.disconnectHandler?e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t):t(n)}e.cursorState.init=!0;try{e.query=e.server.wireProtocolHandler.command(e.bson,e.ns,e.cmd,e.cursorState,e.topology,e.options)}catch(n){return t(n)}}if(null==e.cursorState.cursorId){if(u(e,t))return;if(e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));e._find(function(n,r){return n?c(t,n,null):0==e.cursorState.documents.length&&e.cursorState.cursorId&&e.cursorState.cursorId.isZero()&&!e.cmd.tailable&&!e.cmd.awaitData?h(e,t):void m(e,t)})}else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);if(e.cursorState.cursorIndex!=e.cursorState.documents.length||r.ZERO.equals(e.cursorState.cursorId)){if(e.cursorState.documents.length==e.cursorState.cursorIndex&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId))return c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData}));if(e.cursorState.documents.length==e.cursorState.cursorIndex&&r.ZERO.equals(e.cursorState.cursorId))d(e,t);else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);e.cursorState.currentLimit+=1;var i=e.cursorState.documents[e.cursorState.cursorIndex++];if(i.$err)return e.kill(),d(e,function(){c(t,new o(i.$err))});e.cursorState.transforms&&\"function\"==typeof e.cursorState.transforms.doc&&(i=e.cursorState.transforms.doc(i)),c(t,null,i)}}else{if(e.cursorState.documents=[],e.cursorState.cursorIndex=0,e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));if(u(e,t))return;e._getmore(function(n,i,a){return n&&43!=n.code?c(t,n):n&&43==n.code||0==e.cursorState.documents.length&&r.ZERO.equals(e.cursorState.cursorId)&&!e.cmd.tailable?(e.cursorState.dead=!0,d(e,t)):(e.connection=a,0==e.cursorState.documents.length&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId)?c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData})):0==e.cursorState.documents.length&&e.cmd.tailable&&!r.ZERO.equals(e.cursorState.cursorId)?m(e,t):e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit?d(e,t):void m(e,t))})}}}});s.prototype.next=function(e){m(this,e)},t.exports=s},{\"./connection/logger\":197,\"./error\":201,bson:59,util:void 0}],201:[function(e,t,n){\"use strict\";function r(e){this.name=\"MongoError\",this.message=e,Error.captureStackTrace(this,r)}r.create=function(e){var t=null;if(e instanceof Error)t=new r(e.message),t.stack=e.stack;else if(\"string\"==typeof e)t=new r(e);else{t=new r(e.message||e.errmsg||e.$err||\"n/a\");for(var n in e)t[n]=e[n]}return t},r.prototype=new Error,t.exports=r},{}],202:[function(e,t,n){\"use strict\";var r=(e(\"../connection/utils\").setProperty,e(\"../connection/utils\").getProperty,e(\"../connection/utils\").getSingleProperty,function(e,t){this.result=e,this.connection=t});r.prototype.toJSON=function(){return this.result},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.exports=r},{\"../connection/utils\":199}],203:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}function i(e,t){if(e.listeners(\"topologyDescriptionChanged\").length>0&&t){var t=t.s,n={topologyType:\"Sharded\",servers:[]};n.servers=n.servers.concat(t.connectedServers.map(function(e){var t=e.getDescription();return t.type=\"Mongos\",t})),n.servers=n.servers.concat(t.disconnectedServers.map(function(e){var t=e.getDescription();return t.type=\"Unknown\",t}));var r={topologyId:e.id,previousDescription:t.topologyDescription,newDescription:n};e.emit(\"topologyDescriptionChanged\",r),t.topologyDescription=n}}var o=e(\"util\").inherits,a=e(\"util\").format,s=e(\"bson\"),c=e(\"../connection/utils\").bindToCurrentDomain,u=e(\"events\").EventEmitter,p=e(\"../cursor\"),l=e(\"bson\")[\"native\"]().BSON,p=e(\"../cursor\"),f=e(\"./server\"),d=e(\"../auth/mongocr\"),h=e(\"../auth/x509\"),m=e(\"../auth/plain\"),v=e(\"../auth/gssapi\"),g=e(\"../auth/sspi\"),y=e(\"../auth/scram\"),b=e(\"../connection/logger\"),x=e(\"./read_preference\"),w=e(\"./session\"),_=e(\"../error\"),k=\"disconnected\",j=\"connecting\",S=\"connected\",E=\"destroyed\",O=[s.Long,s.ObjectID,s.Binary,s.Code,s.DBRef,s.Symbol,s.Double,s.Timestamp,s.MaxKey,s.MinKey],A=null,C=0,T=function(e){var t={};for(var n in e)t[n]=e[n];return t},I=function(e,t){this.s={connectedServers:[],disconnectedServers:[],readPreferenceStrategies:e,lowerBoundLatency:Number.MAX_VALUE,localThresholdMS:t,index:0,topologyDescription:null}};I.prototype.resetDescription=function(){this.s.topologyDescription={topologyType:\"Sharded\",servers:[]}},I.prototype.connected=function(e){this.s.disconnectedServers=this.s.disconnectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.connectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.connectedServers.push(e),this.s.lowerBoundLatency>e.s.isMasterLatencyMS&&(this.s.lowerBoundLatency=e.s.isMasterLatencyMS)},I.prototype.disconnected=function(e){this.s.connectedServers=this.s.connectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.disconnectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.disconnectedServers.push(e)},I.prototype.disconnectedServers=function(){return this.s.disconnectedServers.slice(0)},I.prototype.connectedServers=function(){return this.s.connectedServers.slice(0)},I.prototype.getAll=function(){return this.s.connectedServers.slice(0).concat(this.s.disconnectedServers)},I.prototype.getAllConnections=function(){var e=[];return this.s.connectedServers.forEach(function(t){e=e.concat(t.connections())}),e},I.prototype.unref=function(){for(var e=0;e<this.s.connectedServers.length;e++){var t=this.s.connectedServers[e];[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(e){t.removeAllListeners(e)}),t.unref()}},I.prototype.destroy=function(){for(;this.s.connectedServers.length>0;){var e=this.s.connectedServers.shift();[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy(),this.s.disconnectedServers.push(e)}};var P=function(e,t){t=t||{};var n=t.readPreference||x.primary,r=e.s.connectedServers.slice(0);if(null!=e.s.readPreferenceStrategies&&null!=e.s.readPreferenceStrategies[n]){var i=e.s.readPreferenceStrategies[n].pickServer(r,n);return i?[i]:[]}return r=e.s.connectedServers.filter(function(t){return t.s.isMasterLatencyMS<=e.s.lowerBoundLatency+e.s.localThresholdMS&&t.isConnected()?!0:void 0}),0==r.length&&e.s.connectedServers.length>0?(r=e.s.connectedServers.sort(function(e,t){return e.s.isMasterLatencyMS-t.s.isMasterLatencyMS}),[r[0]]):r};I.prototype.isConnected=function(e){var t=P(this,e);return t.length>0},I.prototype.pickServer=function(e){var t=P(this,{readPreference:e});if(0==t.length)throw new _(\"no mongos proxy available\");return this.s.index=(this.s.index+1)%t.length,t[this.s.index]};var F=function(e,t){var n=this;if(t=t||{},u.call(this),!Array.isArray(e))throw new _(\"seedlist must be an array\");if(0==e.length)throw new _(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new _(\"seedlist entry must contain a host and port\")}),A=null==A?new l(O):A;var r=t.bson?t.bson:A;t.bson=r,this.s={seedlist:e,options:t,logger:b(\"Mongos\",t),reconnectTries:t.reconnectTries||30,haInterval:t.haInterval||5e3,localThresholdMS:t.localThresholdMS||15,fullsetup:!1,Cursor:t.cursorFactory||p,credentials:[],bsonInstance:A,bson:r,pings:{},state:k,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,readPreferenceStrategies:{},authProviders:{},id:C++,authInProgress:!1,authInProgressServers:[],retriesLeft:t.reconnectTries||30,disconnectHandler:t.disconnectHandler},t.connectionTimeout=t.connectionTimeout||1e3,this.s.mongosState=new I(this.s.readPreferenceStrategies,this.s.localThresholdMS),this.addAuthProvider(\"mongocr\",new d),this.addAuthProvider(\"x509\",new h),this.addAuthProvider(\"plain\",new m),this.addAuthProvider(\"gssapi\",new v),this.addAuthProvider(\"sspi\",new g),this.addAuthProvider(\"scram-sha-1\",new y),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.mongosState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"mongos\"}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.mongosState}})};o(F,u),F.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},F.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new _(a(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(O)},F.prototype.lastIsMaster=function(){var e=this.s.mongosState.connectedServers();return e.length>0?e[0].lastIsMaster():null},F.prototype.connect=function(e){var t=this;if(setTimeout(M(t,t.s),t.s.haInterval),e)for(var n in e)t.s.options[n]=e[n];t.s.seedlist.forEach(function(e){var n=T(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.authProviders=t.s.authProviders,n.emitError=!0,n.inTopology=!0,n.topologyId=t.s.id,n.monitoring=!0,t.s.mongosState.disconnected(new f(n))}),this.s.mongosState.resetDescription(),r(this,\"topologyOpening\",{topologyId:this.s.id});var i=t.s.mongosState.disconnectedServers();for(this.s.state=j;i.length>0;){var o=i.shift();[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){o.removeAllListeners(e)}),o.once(\"error\",z(t,t.s,o)),o.once(\"close\",z(t,t.s,o)),o.once(\"timeout\",z(t,t.s,o)),o.once(\"parseError\",z(t,t.s,o)),o.once(\"connect\",q(t,t.s,\"connect\")),o.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),o.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),o.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),o.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),o.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),o.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)}),t.s.logger.isInfo()&&t.s.logger.info(a(\"connecting to server %s\",o.name));var s=function(e){process.nextTick(function(){e.connect()})};s(o)}},F.prototype.unref=function(e){this.s.logger.isInfo()&&this.s.logger.info(a(\"[%s] unreferenced\",this.s.id)),e&&this.listeners(\"close\").length>0&&this.emit(\"close\",this),this.s.mongosState.unref()},F.prototype.destroy=function(e){this.s.state=E,r(this,\"topologyClosed\",{topologyId:this.s.id}),e&&self.listeners(\"close\").length>0&&self.emit(\"close\",self),this.s.mongosState.destroy()},F.prototype.isConnected=function(e){return this.s.mongosState.isConnected(e)},F.prototype.isDestroyed=function(){return this.s.state==E},F.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),\nthis.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"insert\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},F.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"update\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},F.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"remove\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},F.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.state==E)return r(new _(a(\"topology was destroyed\")));var i=this;if(!i.isConnected()&&null!=i.s.disconnectHandler)return r=c(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);var o=null;if(n=n||{},!n.onAll){try{o=i.s.mongosState.pickServer(n.writeConcern?x.primary:n.readPreference)}catch(s){return r(s)}return null==o?r(new _(\"no mongos found\")):void o.command(e,t,n,function(n,o){t.logout&&L(i.s,e),r(n,o)})}for(var u=i.s.mongosState.getAll(),p=u.length,l=0;l<u.length;l++)u[l].command(e,t,n,function(n,o){p-=1,0==p&&(t.logout&&L(i.s,e),r(n,o))})},F.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)},F.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new _(a(\"auth provider %s does not exist\",e));var o=this.s.mongosState.connectedServers().slice(0),s=o.length,c=!0,u=null;for(this.s.authInProgress=!0;o.length>0;){var p=o.shift(),l=[e,t].concat(r.slice(0)),f=l.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&R(n.s,t,l),u)return i(u,!1);i(null,new w({},n))}}]);p.auth.apply(p,f)}},F.prototype.addReadPreferenceStrategy=function(e,t){null==this.s.readPreferenceStrategies&&(this.s.readPreferenceStrategies={}),this.s.readPreferenceStrategies[e]=t},F.prototype.addAuthProvider=function(e,t){this.s.authProviders[e]=t},F.prototype.getConnection=function(e){e=e||{};var t=this.s.mongosState.pickServer(e.readPreference);return null==t?null:t.getConnection()},F.prototype.getServer=function(e){return e=e||{},this.s.mongosState.pickServer(e.readPreference)},F.prototype.connections=function(){return this.s.mongosState.getAllConnections()};var M=function(e,t){return function(){if(t.state!=E){if(t.state==S&&(t.retriesLeft=t.reconnectTries),t.state==k&&0==t.retriesLeft)return e.destroy(),e.emit(\"error\",new _(a(\"failed to reconnect after %s\",t.reconnectTries)));t.state==k&&(t.retriesLeft=t.retriesLeft-1),t.mongosState.isConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess running\"));var n=t.mongosState.disconnectedServers();if(0==n.length)return setTimeout(M(e,t),t.haInterval);var r=n.length;for(t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess found %d disconnected proxies\",r));n.length>0;){var i=function(n){setTimeout(function(){[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"error\",z(e,t,o)),n.once(\"close\",z(e,t,o)),n.once(\"timeout\",z(e,t,o)),n.once(\"connect\",q(e,t,\"ha\")),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}),n.connect()},1)},o=n.shift();t.logger.isDebug()&&t.logger.debug(a(\"attempting to connect to server %s\",o.name)),i(o)}return setTimeout(M(e,t),t.options.connectionTimeout+t.haInterval)}}},z=function(e,t,n){return function(e,n){t.logger.isInfo()&&t.logger.info(a(\"server %s disconnected with error %s\",n.name,JSON.stringify(e))),t.mongosState.disconnected(n);var r=[\"error\",\"close\",\"timeout\",\"connect\"];r.forEach(function(e){n.removeAllListeners(e)})}},B=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s errored out with %s\",r.name,JSON.stringify(n))),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r),t.emitError&&e.emit(\"error\",n,r)}},N=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s timed out\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},D=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s closed\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},q=function(e,t,n){return function(r){t.logger.isInfo()&&t.logger.info(a(\"connected to %s\",r.name)),[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\"].forEach(function(e){r.removeAllListeners(e)});var o=function(r){r.isConnected()&&(r.once(\"error\",B(e,t)),r.once(\"close\",D(e,t)),r.once(\"timeout\",N(e,t)),r.once(\"parseError\",N(e,t))),e.emit(\"joined\",\"mongos\",r),t.mongosState.connected(r),\"ha\"==n&&1==t.mongosState.connectedServers().length&&e.emit(\"reconnect\",r),0==t.mongosState.disconnectedServers().length&&t.mongosState.connectedServers().length>0&&!t.fullsetup&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)),0!=t.mongosState.disconnectedServers().length||t.mongosState.connectedServers().length!=t.seedlist.length||t.all||(t.all=!0,e.emit(\"all\",e)),i(e,t.mongosState),t.state==k?(t.state=S,e.emit(\"reconnect\",e)):t.state==j&&(t.state=S,e.emit(\"connect\",e))};if(t.authInProgress&&t.authInProgressServers.push(r),0==t.credentials.length)return o(r);for(var s=t.credentials.length,c=0;c<t.credentials.length;c++)r.auth.apply(r,t.credentials[c].concat([function(e,t){s-=1,0==s&&o(r)}]))}},R=function(e,t,n){L(e,t+\".dummy\"),e.credentials.push(n)},L=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},$=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=e.mongosState.pickServer()}catch(s){return o(s)}return null==a?o(new _(\"no mongos found\")):void a[t](n,r,i,o)};t.exports=F},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./server\":207,\"./session\":208,bson:59,events:void 0,util:void 0}],204:[function(e,t,n){\"use strict\";var r=[\"primaryPreferred\",\"secondary\",\"secondaryPreferred\",\"nearest\"],i=function(e,t,n){this.preference=e,this.tags=t,this.options=n};i.prototype.slaveOk=function(){return-1!=r.indexOf(this.preference)},i.prototype.equals=function(e){return e.preference==this.preference},i.prototype.toJSON=function(){var e={mode:this.preference};return Array.isArray(this.tags)&&(e.tags=this.tags),e},i.primary=new i(\"primary\"),i.primaryPreferred=new i(\"primaryPreferred\"),i.secondary=new i(\"secondary\"),i.secondaryPreferred=new i(\"secondaryPreferred\"),i.nearest=new i(\"nearest\"),t.exports=i},{}],205:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"bson\"),s=e(\"../connection/utils\").bindToCurrentDomain,c=(e(\"../connection/utils\").debugOptions,e(\"events\").EventEmitter),u=e(\"./server\"),p=e(\"./read_preference\"),l=e(\"../error\"),f=e(\"./strategies/ping\"),d=e(\"./session\"),h=e(\"../cursor\"),m=e(\"bson\")[\"native\"]().BSON,v=e(\"./replset_state\"),g=e(\"../auth/mongocr\"),y=e(\"../auth/x509\"),b=e(\"../auth/plain\"),x=e(\"../auth/gssapi\"),w=e(\"../auth/sspi\"),_=e(\"../auth/scram\"),k=e(\"../connection/logger\"),j=\"connecting\",S=\"connected\",E=\"destroyed\",O=1,A=function(e){var t={};for(var n in e)t[n]=e[n];return t},C=[a.Long,a.ObjectID,a.Binary,a.Code,a.DBRef,a.Symbol,a.Double,a.Timestamp,a.MaxKey,a.MinKey],T=null,I=function(e,t){var n=this;if(t=t||{},t=A(t),!Array.isArray(e))throw new l(\"seedlist must be an array\");if(0==e.length)throw new l(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new l(\"seedlist entry must contain a host and port\")}),c.call(this),T=null==T?new m(C):T,this.s={options:t,logger:k(\"ReplSet\",t),id:O++,index:0,haId:0,credentials:[],Cursor:t.cursorFactory||h,bsonInstance:T,bson:t.bson?t.bson:T,secondaryOnlyConnectionAllowed:\"boolean\"==typeof t.secondaryOnlyConnectionAllowed?t.secondaryOnlyConnectionAllowed:!1,haInterval:t.haInterval||1e4,currentHaInterval:t.haInterval||1e4,debug:\"boolean\"==typeof t.debug?t.debug:!1,setName:t.setName,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,tag:t.tag,disconnectHandler:t.disconnectHandler,readPreferenceStrategies:{},authProviders:{},disconnectedServers:[],initialConnectionServers:[],highAvailabilityProcessRunning:!1,fullsetup:!1,all:!1,seedlist:e,authInProgress:!1,authInProgressServers:[],minHeartbeatFrequencyMS:500,haTimer:null},t.bson=this.s.bson,t.connectionTimeout=t.connectionTimeout||1e4;var r=new v(this,{id:this.s.id,setName:this.s.setName,secondaryOnlyConnectionAllowed:this.s.secondaryOnlyConnectionAllowed});this.s.replState=r,this.addAuthProvider(\"mongocr\",new g),this.addAuthProvider(\"x509\",new y),this.addAuthProvider(\"plain\",new b),this.addAuthProvider(\"gssapi\",new x),this.addAuthProvider(\"sspi\",new w),this.addAuthProvider(\"scram-sha-1\",new _),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.replState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.replState}}),n.s.debug&&Object.defineProperty(this,\"readPreferenceStrategies\",{enumerable:!0,get:function(){return n.s.readPreferenceStrategies}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"replset\"}}),this.addReadPreferenceStrategy(\"nearest\",new f(t))};i(I,c),I.prototype.addReadPreferenceStrategy=function(e,t){this.s.readPreferenceStrategies[e]=t},I.prototype.addAuthProvider=function(e,t){null==this.s.authProviders&&(this.s.authProviders={}),this.s.authProviders[e]=t},I.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},I.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new l(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(C)},I.prototype.lastIsMaster=function(){return this.s.replState.lastIsMaster()},I.prototype.getConnection=function(e){e=e||{};var t=q(this,this.s,e.readPreference);return null==t?null:t.getConnection()},I.prototype.connections=function(){return this.s.replState.getAllConnections({includeArbiters:!0})},I.prototype.getServer=function(e){return e=e||{},q(this,this.s,e.readPreference)},I.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)};var P=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=q(e,e.s,p.primary),e.s.debug&&e.emit(\"pickedServer\",p.primary,a)}catch(s){return o(s)}if(null==a)return o(new l(\"no server found\"));var c=function(t,n){!Q(n)&&!Q(t)||e.s.highAvailabilityProcessRunning||(e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,$(e,e.s,!0)()),o(t,n)};o.operationId&&(c.operationId=o.operationId),a[t](n,r,i,c)};I.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E)return r(new l(o(\"topology was destroyed\")));var i=null,a=this;if(n=n||{},!this.isConnected(n)&&null!=this.s.disconnectHandler)return r=s(r),this.s.disconnectHandler.add(\"command\",e,t,n,r);if(!n.onAll){try{i=q(a,a.s,n.writeConcern?p.primary:n.readPreference),a.s.debug&&a.emit(\"pickedServer\",n.writeConcern?p.primary:n.readPreference,i)}catch(c){return r(c)}return null==i?r(new l(\"no server found\")):void i.command(e,t,n,function(n,i){t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i)})}for(var u=this.s.replState.getAll(),f=u.length,d=0;d<u.length;d++)u[d].command(e,t,n,function(n,i){f-=1,0==f&&(t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i))})},I.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"remove\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},I.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"insert\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},I.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"update\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},I.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new l(o(\"auth provider %s does not exist\",e));var a=this.s.replState.getAll().slice(0),s=a.length,c=!0,u=null;for(this.s.authInProgress=!0;a.length>0;){var p=a.shift(),f=[e,t].concat(r.slice(0)),h=f.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&M(n.s,t,f),u)return i(u,!1);i(null,new d({},n))}}]);p.auth.apply(p,h)}},I.prototype.state=function(){return this.s.replState.state};var F=function(e){return function(e,t){e.arbiterOnly?t.s.options.size=1:e.hidden&&(t.s.options.size=1)}};I.prototype.connect=function(e){var t=this;if(R(t,t.s),e)for(var n in e)this.s.options[n]=e[n];for(this.s.replState.state=j,this.s.fullsetup=!1,this.s.replState.resetDescription(),this.s.seedlist.forEach(function(e){var n=A(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.emitError=!0,n.size=n.size+1,n.monitoring=!0,n.topologyId=t.s.id,n.inTopology=!0,t.s.tag&&(n.tag=t.s.tag),n.authProviders=t.s.authProviders;var r=new u(n);r.on(\"ismaster\",F(t)),t.s.disconnectedServers.push(r),t.s.initialConnectionServers.push(r)}),r(this,\"topologyOpening\",{topologyId:this.s.id});this.s.disconnectedServers.length>0;){var i=t.s.disconnectedServers.shift();i.destroy(),i.once(\"error\",U(t,t.s,\"error\")),i.once(\"close\",U(t,t.s,\"close\")),i.once(\"timeout\",U(t,t.s,\"timeout\")),i.once(\"connect\",H(t,t.s)),i.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),i.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),i.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),i.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),i.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),i.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)});var o=function(e){process.nextTick(function(){e.connect()})};o(i)}},I.prototype.isConnected=function(e){return e=e||{},e.readPreference&&e.readPreference.equals(p.secondary)?this.s.replState.isSecondaryConnected():e.readPreference&&e.readPreference.equals(p.primary)?this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.primaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.secondaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():this.s.secondaryOnlyConnectionAllowed&&this.s.replState.isSecondaryConnected()?!0:this.s.replState.isPrimaryConnected()},I.prototype.isDestroyed=function(){return this.s.replState.state==E},I.prototype.unref=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] unreferenced\",this.s.id)),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.unref();var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)},I.prototype.destroy=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] destroyed\",this.s.id)),this.s.replState.state=E,t.s.haTimer&&clearTimeout(t.s.haTimer),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.destroy(),r(this,\"topologyClosed\",{topologyId:this.s.id});var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)};var M=function(e,t,n){z(e,t+\".dummy\"),e.credentials.push(n)},z=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},B=function(e,t){if(null==e.tags)return t;for(var n=[],r=Array.isArray(e.tags)?o:[o],i=0;i<r.length;i++){for(var o=r[i],a=0;a<t.length;a++){var s=t[a].lastIsMaster().tags||{},c=!0;for(var u in o)s[u]!=o[u]&&(c=!1);c&&n.push(t[a])}if(c)break}return n},N={fullsetup:function(e,t){t.replState.primary&&0!==t.replState.secondaries.length&&(t.fullsetup||e.listeners(\"fullsetup\").length>0&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)))},all:function(e,t){if(t.replState.primary&&e.lastIsMaster()&&Array.isArray(e.lastIsMaster().hosts)&&!t.all){var n=1+t.replState.secondaries.length;n===e.lastIsMaster().hosts.length&&e.listeners(\"all\").length>0&&(t.all=!0,e.emit(\"all\",e))}}},D=function(e,t,n){var r=N[n];if(!r)throw new l(n+\" event not implemented\");r(e,t)},q=function(e,t,n){if(n=n||p.primary,null!=t.readPreferenceStrategies&&null!=t.readPreferenceStrategies[n.preference]){if(null==t.readPreferenceStrategies[n.preference])throw new l(o(\"cannot locate read preference handler for %s\",n.preference));var r=t.readPreferenceStrategies[n.preference].pickServer(t.replState,n);return t.debug&&e.emit(\"pickedServer\",n,r),r}var i=t.replState.getSecondaries();if(n.equals(p.secondary)&&0==i.length)throw new l(\"no secondary server available\");if(n.equals(p.secondaryPreferred)&&0==i.length&&null==t.replState.primary)throw new l(\"no secondary or primary server available\");if(n.equals(p.primary)&&null==t.replState.primary)throw new l(\"no primary server available\");if(n.equals(p.secondary))return t.index=(t.index+1)%i.length,i[t.index];if(n.equals(p.secondaryPreferred)){if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index]}return t.replState.primary}if(n.equals(p.primaryPreferred)){if(t.replState.primary)return t.replState.primary;if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index];throw new l(\"no secondary or primary server available\")}}return t.replState.primary},R=function(e,t){return t.highAvailabilityProcessRunning?void 0:(e.s.haTimer=setTimeout($(e,t,!1),t.currentHaInterval),e.s.haTimer)},L=function(e){return 0!=e.disconnectedServers.length||0!=e.replState.secondaries.length||0!=e.replState.arbiters.length||null!=e.replState.primary},$=function(e,t,n){return function(){if(!t.highAvailabilityProcessRunning&&t.replState.state!=E){t.replState.isPrimaryConnected()?e.s.currentHaInterval=e.s.haInterval:e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,t.replState.clearConnectingServers(),t.replState.clean(),t.highAvailabilityProcessRunning=!0,L(t)||(t.disconnectedServers=t.seedlist.map(function(n){var r=A(t.options);r.host=n.host,r.port=n.port,r.reconnect=!1,r.readPreferenceStrategies=t.readPreferenceStrategies,r.emitError=!0,r.size=r.size+1,r.monitoring=!0,r.topologyId=e.s.id,r.inTopology=!0,t.tag&&(r.tag=t.tag),r.authProviders=t.authProviders;var i=new u(r);return i.on(\"ismaster\",F(e)),i})),t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring process running %s\",t.id,JSON.stringify(t.replState)));var r=t.haId++;for(n=\"boolean\"==typeof n?n:!1,t.replState.isPrimaryConnected()&&t.replState.isSecondaryConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),e.emit(\"ha\",\"start\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}});t.disconnectedServers.length>0;){var i=t.disconnectedServers.shift();t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring attempting to connect to %s\",t.id,i.lastIsMaster()?i.lastIsMaster().me:i.name)),i.once(\"error\",U(e,t,\"error\")),i.once(\"close\",U(e,t,\"close\")),i.once(\"timeout\",U(e,t,\"timeout\")),i.once(\"connect\",H(e,t)),i.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),i.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),i.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),i.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),i.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),i.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var a=function(e){process.nextTick(function(){e.connect()})};a(i)}var s=t.replState.getAll({includeArbiters:!0}),c=s.length;if(0==s.length&&t.replState.state==S)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,void(n||R(e,t));var p=function(i,a){return t.replState.state!=E?i&&!i.isConnected()?a():void(i&&i.isConnected()&&i.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(s,u){if(t.replState.state==E)return a();if(c-=1,s&&c>0)return a();if(s&&0==c)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a();var p=Object.keys(t.readPreferenceStrategies).length,l=u.result;if(t.logger.isDebug()&&t.logger.debug(o(\"[%s] monitoring process ismaster %s\",t.id,JSON.stringify(l))),i.s.ismaster=l,!t.replState.update(l,i)&&!t.replState.contains(i))return i.destroy(),a();if(null!=s||!l.ismaster&&t.primary||!Array.isArray(l.hosts)){if(null==s&&!Array.isArray(l.hosts))return i.destroy(),a()}else{var f=l.hosts;Array.isArray(l.arbiters)&&(f=f.concat(l.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(l.passives)&&(f=f.concat(l.passives)),V(e,t,f)}if(0==p)return c>0?a():(e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a());if(0==c)for(var d in t.readPreferenceStrategies)t.readPreferenceStrategies[d].ha(e,t.replState,function(){return p-=1,0==p?(null==s&&l.ismaster&&Array.isArray(l.hosts)&&V(e,t,l.hosts),e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a()):void 0});a()})):void 0};0==s.length&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t));for(var l=s.length,f=0;f<s.length;f++)p(s[f],function(){l-=1,0==l&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t))})}}},U=function(e,t,n){return function(n,r){return r.destroy(),t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s disconnected\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name)),t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return r.name!=e.name}),t.replState.removeConnectingServer(r.name),t.replState.state!=E?([\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){r.removeAllListeners(e)}),K(t.disconnectedServers,r),0==t.initialConnectionServers&&t.replState.state==j&&(t.secondaryOnlyConnectionAllowed&&!t.replState.isSecondaryConnected()&&!t.replState.isPrimaryConnected()||!t.secondaryOnlyConnectionAllowed&&!t.replState.isPrimaryConnected())&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0)?e.emit(\"error\",new l(\"no valid seed servers in list\")):void(t.disconnectedServers.length==t.seedlist.length&&t.replState.state==j&&t.emitError&&e.listeners(\"error\").length>0&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0&&e.emit(\"error\",new l(\"no valid seed servers in list\"))))):void 0}},H=function(e,t){return function(n){if(t.logger.isInfo()&&t.logger.info(o(\"[%s] connected to %s\",t.id,n.name)),t.replState.state==E)return n.destroy(!1,!1);t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return n.name!=e.name});var r=(n.lastIsMaster(),function(){var r=n.lastIsMaster(),i=[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];if(i.forEach(function(e){n.removeAllListeners(e)}),t.replState.removeConnectingServer(n.name),t.replState.update(r,n)||t.replState.contains(n)){n.isConnected()&&(n.on(\"error\",G(e,t)),n.on(\"close\",Z(e,t)),n.on(\"timeout\",J(e,t)),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}));var a=r.hosts;if(Array.isArray(r.arbiters)&&(a=a.concat(r.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(r.passives)&&(a=a.concat(r.passives)),V(e,t,a),0==t.initialConnectionServers.length&&0==t.replState.connectingServersCount()&&!t.replState.isPrimaryConnected()&&!t.secondaryOnlyConnectionAllowed&&t.replState.state==j)return t.logger.isInfo()&&t.logger.info(o(\"[%s] no primary found in replicaset\",t.id)),e.emit(\"error\",new l(\"no primary found in replicaset\")),e.destroy();D(e,t,\"fullsetup\"),D(e,t,\"all\")}else if(n.destroy(),t.state==j&&0==t.initialConnectionServers.length&&null==t.replState.primary&&0==t.replState.secondaries.length)return e.emit(\"error\",new l(\"no replicaset members found in seedlist\"))});if(e.s.authInProgress&&e.s.authInProgressServers.push(n),0==t.credentials.length)return r();var i=function(e,t,n,r){return t>=n.length||0==n.length?r():void e.auth.apply(e,n[t].concat([function(o,a){return o?r(o):void i(e,t+1,n,r)}]))};i(n,0,t.credentials,function(e){return e?n.destroy():void r()})}},V=function(e,t,n){if(t.replState.state!=E&&Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r],a={};\"object\"==typeof i&&(i=i.host,a.arbiter=i.arbiter),t.replState.contains(i)||t.replState.isConnectingServer(i)||W(e,t,i)||(t.logger.isInfo()&&t.logger.info(o(\"[%s] scheduled server %s for connection\",t.id,i)),t.replState.addConnectingServer(i,i),Y(e,t,i.split(\":\")[0],parseInt(i.split(\":\")[1],10),a))}},W=function(e,t,n){for(var r=0;r<t.initialConnectionServers.length;r++)if(t.initialConnectionServers[r].name==n)return!0;return!1},Y=function(e,t,n,r,i){i=i||{};var o=A(t.options);if(o.host=n,o.port=r,o.reconnect=!1,o.readPreferenceStrategies=t.readPreferenceStrategies,t.tag&&(o.tag=t.tag),o.authProviders=t.authProviders,o.emitError=!0,o.inTopology=!0,o.size=o.size+1,o.monitoring=!0,o.topologyId=e.s.id,i.arbiter&&(o.size=1),e.s.replState.state!=E){var a=new u(o);a.on(\"ismaster\",F(e)),a.once(\"error\",U(e,t,\"error\")),a.once(\"close\",U(e,t,\"close\")),a.once(\"timeout\",U(e,t,\"timeout\")),a.once(\"connect\",H(e,t)),a.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),a.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),a.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),a.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),a.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),a.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var s=function(t){process.nextTick(function(){e.s.replState.state!=E&&t.connect()})};t.replState.addConnectingServer(a.name,n),s(a)}},K=function(e,t){var n=!1;if(null==t)return n;[\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){t.removeAllListeners(e)});for(var r=0;r<e.length;r++)e[r].equals(t)&&(n=!0);return n||e.push(t),n},G=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s errored out with %s\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name,JSON.stringify(n)));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r),i&&t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,r)}}},J=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s timed out\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Z=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s closed\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Q=function(e){var t=e&&e.result?e.result:e;return!(!t||!(\"not master\"==t.err||\"not master\"==t.errmsg||t.$err&&-1!=t.$err.indexOf(\"not master or secondary\")||t.$err&&-1!=t.$err.indexOf(\"not master and slaveOk=false\")||\"node is recovering\"==t.errmsg))};t.exports=I},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./replset_state\":206,\"./server\":207,\"./session\":208,\"./strategies/ping\":209,bson:59,events:void 0,util:void 0}],206:[function(e,t,n){(function(n){\"use strict\";function r(e,t){for(var n={servers:[]},r=0;r<e.servers.length;r++)for(var i=e.servers[r],o=0;o<t.servers.length;o++){var a=t.servers[o];i.address===a.address&&i.type!=a.type&&n.servers.push({address:i.address,from:i.type,to:a.type})}return n}function i(e){if(e.replSet.listeners(\"topologyDescriptionChanged\").length>0){var t=\"Unknown\",n=e.setName;e.isPrimaryConnected()&&e.isSecondaryConnected()?t=\"ReplicaSetWithPrimary\":!e.isPrimaryConnected()&&e.isSecondaryConnected()&&(t=\"ReplicaSetNoPrimary\");var i={topologyType:t,setName:n,servers:[]};if(e.isPrimaryConnected()){var o=e.primary.getDescription();o.type=\"RSPrimary\",i.servers.push(o)}i.servers=i.servers.concat(e.secondaries.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",t})),i.servers=i.servers.concat(e.arbiters.map(function(e){var t=e.getDescription();return t})),i.servers=i.servers.concat(e.passives.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",\nt}));var a={topologyId:e.id,previousDescription:e.replicasetDescription,newDescription:i,diff:r(e.replicasetDescription,i)};e.replSet.emit(\"topologyDescriptionChanged\",a),e.replicasetDescription=i}}var o=e(\"../connection/logger\"),a=e(\"util\").format,s=e(\"bson\").ObjectId,c=e(\"../error\"),u=\"disconnected\",p=\"connecting\",l=\"connected\",f=\"destroyed\",d=function(e,t){this.replSet=e,this.options=t,this.secondaries=[],this.arbiters=[],this.passives=[],this.primary=null,this.state=u,this.electionId=null,this.logger=o(\"ReplSet\",t),this.id=t.id,this.setName=t.setName,this.connectingServers={},this.secondaryOnlyConnectionAllowed=t.secondaryOnlyConnectionAllowed,this.replicasetDescription=null};d.prototype.resetDescription=function(){this.replicasetDescription={topologyType:\"Unknown\",servers:[]}},d.prototype.isSecondaryConnected=function(){for(var e=0;e<this.secondaries.length;e++)if(this.secondaries[e].isConnected())return!0;return!1},d.prototype.isPrimaryConnected=function(){return null!=this.primary&&this.primary.isConnected()},d.prototype.isPrimary=function(e){return null==this.primary?!1:this.primary&&this.primary.equals(e)},d.prototype.isSecondary=function(e){for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;return!1},d.prototype.isPassive=function(e){for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.clearConnectingServers=function(){for(var e in this.connectingServers)\"function\"==typeof this.connectingServers[e].destroy&&this.connectingServers[e].destroy();this.connectingServers={}},d.prototype.removeConnectingServer=function(e){this.connectingServers[e]&&this.connectingServers[e].destroy&&this.connectingServers[e].destroy(),delete this.connectingServers[e]},d.prototype.addConnectingServer=function(e,t){this.connectingServers[e]=t},d.prototype.isConnectingServer=function(e){return null!=this.connectingServers[e]},d.prototype.connectingServersCount=function(){return Object.keys(this.connectingServers).length},d.prototype.contains=function(e){if(this.primary&&this.primary.equals(e))return!0;for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;for(var t=0;t<this.arbiters.length;t++)if(this.arbiters[t].equals(e))return!0;for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.getSecondaries=function(){return this.secondaries=this.secondaries.filter(function(e){return e.isConnected()}),this.secondaries.filter(function(e){return!e.lastIsMaster().hidden})},d.prototype.clean=function(){var e=[];return null==this.primary||this.primary.isConnected()||(e.push(this.primary),this.primary=null),this.secondaries=this.secondaries.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.arbiters=this.arbiters.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.passives=this.passives.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),e},d.prototype.unref=function(){this.primary&&this.primary.unref(),this.secondaries.forEach(function(e){e.unref()}),this.arbiters.forEach(function(e){e.unref()})};var h=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"],m=function(e){h.forEach(function(t){e.removeAllListeners(t)})};d.prototype.destroy=function(){this.state=f,this.primary&&(this.primary.destroy(),m(this.primary)),this.secondaries.forEach(function(e){e.destroy(),m(e)}),this.arbiters.forEach(function(e){e.destroy(),m(e)})},d.prototype.remove=function(e){this.primary&&this.primary.equals(e)&&(this.primary=null);var t=this.arbiters.length;if(this.arbiters=this.arbiters.filter(function(t){return!t.equals(e)}),this.arbiters.length<t)return\"arbiter\";var t=this.passives.length;this.passives=this.passives.filter(function(t){return!t.equals(e)}),this.passives.length<t&&(this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)})),this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)});var n=e.lastIsMaster();return n.ismaster&&n.hosts?\"primary\":n.ismaster?\"secondary\":n.secondary?\"secondary\":n.passive?\"passive\":\"arbiter\"},d.prototype.get=function(e){var t=this.primary?[this.primary]:[];t=t.concat(this.secondaries);for(var n=0;n<t.length;n++)if(t[n].equals(e))return t[n]},d.prototype.getAll=function(e){e=e||{};var t=[];return this.primary&&t.push(this.primary),t=t.concat(this.secondaries),e.includeArbiters&&(t=t.concat(this.arbiters)),t},d.prototype.getAllConnections=function(e){e=e||{};var t=[];return this.primary&&(t=t.concat(this.primary.connections())),this.secondaries.forEach(function(e){t=t.concat(e.connections())}),e.includeArbiters&&this.arbiters.forEach(function(e){t=t.concat(e.connections())}),t},d.prototype.toJSON=function(){return{primary:this.primary?this.primary.lastIsMaster().me:null,secondaries:this.secondaries.map(function(e){return e.lastIsMaster().me})}},d.prototype.lastIsMaster=function(){return this.primary?this.primary.lastIsMaster():this.secondaries.length>0?this.secondaries[0].lastIsMaster():{}},d.prototype.promotePrimary=function(e){var t=this.get(e);return null==t?void(this.primary=e):(this.remove(t),void(this.primary=t))};var v=function(e,t,n){for(var r=0;r<t.length;r++)if(t[r].equals(n))return!1;return t.push(n),!0};d.prototype.addSecondary=function(e){return v(this,this.secondaries,e)},d.prototype.addArbiter=function(e){return v(this,this.arbiters,e)},d.prototype.addPassive=function(e){return v(this,this.passives,e)};var g=function(e,t){var r=new n(e.toHexString(),\"hex\"),i=new n(t.toHexString(),\"hex\");if(r===i)return 0;if(\"function\"==typeof n.compare)return n.compare(r,i);for(var o=r.length,a=i.length,s=Math.min(o,a),c=0;s>c&&r[c]===i[c];c++);return c!==s&&(o=r[c],a=i[c]),a>o?-1:o>a?1:0};d.prototype.update=function(e,t){var n=this;if(this.clean(),!e.ismaster&&!e.secondary&&!e.arbiterOnly||!Array.isArray(e.hosts)){var r=n.remove(t);return n.state==l&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] removing %s from set\",n.id,e.me)),n.replSet.emit(\"left\",r,t)),i(this),!1}if(null==n.setName&&e.setName&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] setting setName to %s\",n.id,e.setName)),n.setName=e.setName),e.setName&&n.setName!=e.setName)return n.logger.isError()&&n.logger.error(a(\"[%s] server in replset %s is not part of the specified setName %s\",n.id,e.setName,n.setName)),n.remove(t),n.replSet.emit(\"error\",new c(\"provided setName for Replicaset Connection does not match setName found in server seedlist\")),i(this),!1;if(n.logger.isInfo()&&n.logger.info(a(\"[%s] updating replicaset state %s\",n.id,JSON.stringify(this))),e.ismaster&&n.setName==e.setName&&!n.isPrimary(e.me)){if(e.electionId instanceof s&&n.electionId instanceof s)if(-1==g(n.electionId,e.electionId))n.electionId=e.electionId;else{if(0!=g(n.electionId,e.electionId))return!1;n.electionId=e.electionId}e.electionId instanceof s&&null==n.electionId&&(n.electionId=e.electionId),n.promotePrimary(t),n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to primary\",n.id,e.me)),n.replSet.emit(\"joined\",\"primary\",this.primary),i(this),n.state==p?(n.state=l,n.replSet.emit(\"connect\",n.replSet)):(n.state=l,n.replSet.emit(\"reconnect\",t))}else{if(!e.ismaster&&n.setName==e.setName&&e.arbiterOnly)return n.addArbiter(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to arbiter\",n.id,e.me)),n.replSet.emit(\"joined\",\"arbiter\",t),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary&&e.passive)return n.addPassive(t)&&n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to passive\",n.id,e.me)),n.replSet.emit(\"joined\",\"passive\",t),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary)return n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to secondary\",n.id,e.me)),n.replSet.emit(\"joined\",\"secondary\",t),n.primary&&n.primary.name==t.name&&(n.primary=null),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1}return!0},t.exports=d}).call(this,e(\"buffer\").Buffer)},{\"../connection/logger\":197,\"../error\":201,bson:59,buffer:void 0,util:void 0}],207:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"../connection/utils\").bindToCurrentDomain,s=e(\"events\").EventEmitter,c=e(\"../connection/pool\"),u=e(\"bson\"),p=e(\"crypto\"),l=e(\"../connection/commands\").Query,f=e(\"../error\"),d=e(\"./read_preference\"),h=e(\"../cursor\"),m=e(\"./command_result\"),v=e(\"../connection/utils\").getSingleProperty,g=e(\"../connection/utils\").getProperty,y=e(\"../connection/utils\").debugOptions,b=e(\"bson\")[\"native\"]().BSON,x=e(\"../wireprotocol/2_4_support\"),w=e(\"../wireprotocol/2_6_support\"),_=e(\"../wireprotocol/3_2_support\"),k=e(\"./session\"),j=e(\"../connection/logger\"),S=e(\"../auth/mongocr\"),E=e(\"../auth/x509\"),O=e(\"../auth/plain\"),A=e(\"../auth/gssapi\"),C=e(\"../auth/sspi\"),T=e(\"../auth/scram\"),I=[u.Long,u.ObjectID,u.Binary,u.Code,u.DBRef,u.Symbol,u.Double,u.Timestamp,u.MaxKey,u.MinKey],P=null,F=0,M=0,z=function(){this.callbacks={},this.id=M++,this.type=\"server\"};z.prototype.flush=function(e){for(var t in this.callbacks)if(!isNaN(parseInt(t,10))){var n=this.callbacks[t];delete this.callbacks[t],n(e,null)}},z.prototype.flushConnection=function(e,t){for(var n in this.callbacks)if(!isNaN(parseInt(n,10))){var r=this.callbacks[n];r.connection&&r.connection.id===t.id?(delete this.callbacks[n],r(e,null)):!r.connection&&r.monitoring&&(delete this.callbacks[n],r(e,null))}},z.prototype.callback=function(e){return this.callbacks[e]},z.prototype.emit=function(e,t,n){var r=this.callbacks[e];delete this.callbacks[e],r(t,n)},z.prototype.raw=function(e){return null==this.callbacks[e]?!1:1==this.callbacks[e].raw},z.prototype.documentsReturnedIn=function(e){return null==this.callbacks[e]?!1:\"string\"==typeof this.callbacks[e].documentsReturnedIn?this.callbacks[e].documentsReturnedIn:null},z.prototype.unregister=function(e){delete this.callbacks[e]},z.prototype.register=function(e,t){this.callbacks[e]=a(t)};var B=\"disconnected\",N=\"connecting\",D=\"connected\",q=\"destroyed\",R=function(e){return e.ismaster&&\"number\"==typeof e.ismaster.minWireVersion},L=function(e){return e&&e.maxWireVersion>=4?new _(new w):e&&e.maxWireVersion>=2?new w:new x},$=function(e,t){if(e&&t&&t.callbacks&&t.callbacks.flush(new f(o(\"server %s received a broken socket pipe error\",e.name))),0==t.currentReconnectRetry)return e.destroy(!0,!0);t.currentReconnectRetry=t.currentReconnectRetry-1,t.state=N,t.pool&&t.pool.destroy(),t.pool=new c(t.options);var n=function(n){t.state=B,t.pool.destroy(),t.currentReconnectRetry=t.currentReconnectRetry-1,t.currentReconnectRetry<=0?(e.state=q,e.emit(\"error\",o(\"failed to connect to %s:%s after %s retries\",t.options.host,t.options.port,t.reconnectTries))):setTimeout(function(){$(e,t)},t.reconnectInterval)};t.pool.once(\"connect\",function(){t.currentReconnectRetry=t.reconnectTries;var r=[\"error\",\"close\",\"timeout\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];r.forEach(function(e){t.pool.removeAllListeners(e)}),t.state=D,t.pool.on(\"error\",n),t.pool.on(\"close\",Y(e,t)),t.pool.on(\"timeout\",W(e,t)),t.pool.on(\"parseError\",V(e,t));var i=Object.keys(t.authProviders);if(0==i.length)return e.emit(\"reconnect\",e);for(var o=t.pool.getAll(),a=i.length,s=0;s<i.length;s++)t.authProviders[i[s]].reauthenticate(e,o,function(n,r){return a-=1,0==a?t.ismaster?e.emit(\"reconnect\",e):K(e,t)():void 0})}),t.pool.once(\"error\",H(e,t)),t.pool.once(\"close\",H(e,t)),t.pool.once(\"timeout\",H(e,t)),t.pool.once(\"parseError\",H(e,t)),t.pool.connect()},U=function(e,t){return function(n,r){try{var i=t.callbacks.callback(n.responseTo),a={raw:t.callbacks.raw(n.responseTo),promoteLongs:i&&\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,documentsReturnedIn:t.callbacks.documentsReturnedIn(n.responseTo)};n.parse(a),(i&&!i.noRelease||!i)&&e.s.pool.connectionAvailable(r),t.logger.isDebug()&&t.logger.debug(o(\"message [%s] received from %s\",n.raw.toString(\"hex\"),e.name)),t.callbacks.emit(n.responseTo,null,n)}catch(s){t.callbacks.flushConnection(new f(s),r),e.destroy()}}},H=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.destroy(),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval)))}},V=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},W=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"timeout\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s timed out\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),e.emit(\"timeout\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},Y=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"close\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s closed\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s sockets closed\",e.name)),r),e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.listeners(\"topologyClosed\").length>0&&!e.s.inTopology&&e.emit(\"topologyClosed\",{topologyId:e.s.id}),e.emit(\"close\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},K=function(e,t){var n=function(n){var r=Object.keys(t.authProviders);if(0==r.length)return n(null,null);for(var i=t.pool.getAll(),o=r.length,a=0;a<r.length;a++)t.authProviders[r[a]].reauthenticate(e,i,function(e,t){return o-=1,0==o?n(null,null):void 0})};return function(){n(function(){t.monitoring&&(e.s.inquireServerStateTimeout=setTimeout(oe(e),t.haInterval));var n=(new Date).getTime();e.command(\"admin.$cmd\",{ismaster:!0},function(r,i){return r?(t.state=B,e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.s.inTopology||e.emit(\"topologyOpening\",{topologyId:e.s.id}),e.emit(\"close\",r,e)):(ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),ne(e,{topologyType:\"Single\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Standalone\"}]}),t.isMasterLatencyMS=(new Date).getTime()-n,r||(t.ismaster=i.result),e.emit(\"ismaster\",i.result,e),t.wireProtocolHandler=L(t.ismaster),t.options.wireProtocolHandler=t.wireProtocolHandler,t.logger.isInfo()&&t.logger.info(o(\"server %s connected with ismaster [%s]\",e.name,JSON.stringify(i.result))),R(t)||null!=t.wireProtocolHandler?(t.ismaster&&t.ismaster.me&&(t.serverDetails.name=t.ismaster.me),null==t.readPreferenceStrategies?(t.state=D,e.emit(\"connect\",e)):void J(e,e.s,\"connect\",[e],function(n,r){return t.state=D,e.emit(\"connect\",e)})):(t.state=B,e.emit(\"error\",new f(\"non supported server version\"),e)))})})}},G=function(e){return e?e.slaveOk():!1},J=function(e,t,n,r,i){if(\"function\"==typeof i){var o=Object.keys(t.readPreferenceStrategies).length;if(0==o)return i(null,null);for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a],c=r.slice(0);c.push(function(e,t){o-=1,0==o&&i(null,null)}),s[n].apply(s,c)}}else for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a];s[n].apply(s,r)}},Z=[\"reconnect\",\"reconnectTries\",\"reconnectInterval\",\"emitError\",\"cursorFactory\",\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"checkServerIdentity\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"key\",\"rejectUnauthorized\",\"promoteLongs\"],Q=function(e){s.call(this),null==P&&(P=new b(I));var t=e.reconnectTries||30;this.s={options:e,callbacks:new z,logger:j(\"Server\",e),state:B,reconnect:\"boolean\"==typeof e.reconnect?e.reconnect:!0,reconnectTries:t,reconnectInterval:e.reconnectInterval||1e3,emitError:\"boolean\"==typeof e.emitError?e.emitError:!1,currentReconnectRetry:t,ismaster:null,readPreferenceStrategies:e.readPreferenceStrategies,authProviders:e.authProviders||{},id:F++,topologyId:e.topologyId||-1,tag:e.tag,disconnectHandler:e.disconnectHandler,monitoring:\"boolean\"==typeof e.monitoring?e.monitoring:!1,haInterval:e.haInterval||1e4,wireProtocolHandler:e.wireProtocolHandler||new x,Cursor:e.cursorFactory||h,bsonInstance:P,inquireServerStateTimeout:null,bson:e.bson?e.bson:P,pool:null,isMasterLatencyMS:0,inTopology:\"boolean\"==typeof e.inTopology?e.inTopology:!1,serverDetails:{host:e.host,port:e.port,name:e.port?o(\"%s:%s\",e.host,e.port):e.host},serverDescription:null,topologyDescription:null};var n=p.createHash(\"sha1\");n.update(o(\"%s:%s\",this.host,this.port)),this.hashedName=n.digest(\"hex\");var r=this.s;e.bson=r.bson,g(this,\"name\",\"name\",r.serverDetails,{}),g(this,\"bson\",\"bson\",r.options,{}),g(this,\"wireProtocolHandler\",\"wireProtocolHandler\",r.options,{}),v(this,\"id\",r.id),e.authProviders||(this.addAuthProvider(\"mongocr\",new S),this.addAuthProvider(\"x509\",new E),this.addAuthProvider(\"plain\",new O),this.addAuthProvider(\"gssapi\",new A),this.addAuthProvider(\"sspi\",new C),this.addAuthProvider(\"scram-sha-1\",new T))};i(Q,s);var X=function(e){return e.s.serverDescription||(e.s.serverDescription={address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}),e.s.serverDescription},ee=function(e,t){e.listeners(\"serverDescriptionChanged\").length>0&&(e.emit(\"serverDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:X(e),newDescription:t}),e.s.serverDescription=t)},te=function(e){return e.s.topologyDescription||(e.s.topologyDescription={topologyType:\"Unknown\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}]}),e.s.topologyDescription},ne=function(e,t){e.listeners(\"topologyDescriptionChanged\").length>0&&(e.emit(\"topologyDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:te(e),newDescription:t}),e.s.serverDescription=t)};Q.prototype.getDescription=function(){var e=this.s.ismaster||{},t={type:re(this),address:this.name};return e.hosts&&(t.hosts=e.hosts),e.arbiters&&(t.arbiters=e.arbiters),e.passives&&(t.passives=e.passives),e.setName&&(t.setName=e.setName),t},Q.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new f(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(I)},Q.prototype.lastIsMaster=function(){return this.s.ismaster},Q.prototype.isMasterLatencyMS=function(){return this.s.isMasterLatencyMS},Q.prototype.connect=function(e){var t=this;e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.s.options.promoteLongs=e.promoteLongs),t.s.pool&&t.s.pool.destroy(),t.s.state=N,t.s.options.messageHandler=U(t,t.s),t.s.pool=new c(t.s.options),t.s.pool.on(\"timeout\",W(t,t.s)),t.s.pool.on(\"close\",Y(t,t.s)),t.s.pool.on(\"error\",H(t,t.s)),t.s.pool.once(\"connect\",K(t,t.s)),t.s.pool.on(\"parseError\",V(t,t.s)),t.s.inTopology||this.emit(\"topologyOpening\",{topologyId:this.s.id}),t.emit(\"serverOpening\",{topologyId:-1!=t.s.topologyId?t.s.topologyId:t.s.id,address:t.name}),t.s.pool.on(\"connection\",function(e){var n=Object.keys(t.s.authProviders);if(0==n.length)return t.s.pool.connectionAvailable(e);for(var r=[e],i=n.length,o=0;o<n.length;o++)t.s.authProviders[n[o]].reauthenticate(t,r,function(n,r){return i-=1,0==i?t.s.pool.connectionAvailable(e):void 0})}),t.s.pool.connect()};var re=function(e,t){return t||(t=e.s.ismaster),t?t.ismaster&&!t.hosts?\"Standalone\":t.ismaster&&\"isdbgrid\"==t.msg?\"Mongos\":t.ismaster?\"RSPrimary\":t.secondary?\"RSSecondary\":t.arbiterOnly?\"RSArbiter\":\"Unknown\":\"Unknown\"},ie=function(e,t,n){var r=re(e,t),i=re(e,n);return i!=r},oe=function(e){return function(){if(e.s.state!=q){var t=(new Date).getTime();r(e,\"serverHeartbeatStarted\",{connectionId:e.name}),e.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(n,i){if(n)r(e,\"serverHearbeatFailed\",{durationMS:o,failure:n,connectionId:e.name});else{e.emit(\"ismaster\",i,e);var o=(new Date).getTime()-t;r(e,\"serverHeartbeatSucceeded\",{durationMS:o,reply:i.result,connectionId:e.name}),ie(e,e.s.ismaster,i.result)&&ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),e.s.ismaster=i.result,e.s.isMasterLatencyMS=o}e.s.inquireServerStateTimeout=setTimeout(oe(e),e.s.haInterval)})}}};Q.prototype.unref=function(){this.s.pool.unref()},Q.prototype.destroy=function(e,t){var n=this;n.s.logger.isDebug()&&n.s.logger.debug(o(\"destroy called on server %s\",n.name)),n.s.state!=q&&(this.s.inquireServerStateTimeout&&clearTimeout(this.s.inquireServerStateTimeout),e&&n.listeners(\"close\").length>0&&n.emit(\"close\",null,n),n.listeners(\"serverClosed\").length>0&&n.emit(\"serverClosed\",{topologyId:-1!=n.s.topologyId?n.s.topologyId:n.s.id,address:n.name}),n.listeners(\"topologyClosed\").length>0&&!n.s.inTopology&&n.emit(\"topologyClosed\",{topologyId:n.s.id}),t&&n.emit(\"destroy\",n),n.s.state=q,n.s.pool&&n.s.pool.destroy(),n.s.callbacks&&n.s.callbacks.flush(new f(o(\"server %s sockets closed\",n.name))))},Q.prototype.isConnected=function(){var e=this;return e.s.pool?e.s.pool.isConnected():!1},Q.prototype.isDestroyed=function(){return this.s.state==q};var ae=function(e,t,n,r,i,o,a){var s=new l(e.s.bson,t,n,r);s.slaveOk=G(i.readPreference),null!=e.s.readPreferenceStrategies&&J(e,e.s,\"startOperation\",[e,s,new Date]);var c=\"boolean\"==typeof i.raw?i.raw:!1,u=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,p=\"boolean\"==typeof i.monitoring?i.monitoring:!1;if(o)for(var d=e.s.pool.getAll(),h=d.length,v=null,g=0;g<d.length;g++){var y=function(t){return function(n,r){if(n&&(v=n),h-=1,0==h){if(J(e,e.s,\"endOperation\",[e,v,r,new Date]),v)return a(f.create(v));r.hashedName=t.hashedName;try{a(null,new m(i.fullResult?r:r.documents[0],d))}catch(n){process.nextTick(function(){throw n})}}}};try{s.incRequestId(),d[g].write(s.toBin())}catch(b){if(h-=1,0==h)return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,y.monitoring=p,y.connection=d[g],e.s.callbacks.register(s.requestId,y(d[g]))}else{var y=function(t,n){if(J(e,e.s,\"endOperation\",[e,t,n,new Date]),t)return a(t);if(n.documents[0].$err||n.documents[0].errmsg||n.documents[0].err||n.documents[0].code)return a(f.create(n.documents[0]));n.hashedName=n.connection.hashedName;try{a(null,new m(i.fullResult?n:n.documents[0],n.connection))}catch(t){process.nextTick(function(){throw t})}};try{y.monitoring=p,i.connection?(y.connection=i.connection,y.noRelease=!0,i.connection.write(s.toBin())):e.s.pool.write(s.toBin(),y,i)}catch(b){return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,e.s.callbacks.register(s.requestId,y)}};Q.prototype.command=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(this.s.state==q)return r(new f(o(\"topology was destroyed\")));if(n=n||{},n.readPreference&&!(n.readPreference instanceof d))throw new Error(\"readPreference must be an instance of ReadPreference\");if(i.s.logger.isDebug()&&i.s.logger.debug(o(\"executing command [%s] against %s\",JSON.stringify({ns:e,cmd:t,options:y(Z,n)}),i.name)),!i.isConnected()&&null!=i.s.disconnectHandler)return r=a(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);if(!i.s.pool.isConnected())return r(new f(o(\"no connection available to server %s\",i.name)));var s=\"boolean\"==typeof n.onAll?n.onAll:!1,c=\"boolean\"==typeof n.checkKeys?n.checkKeys:!1,u=\"boolean\"==typeof n.serializeFunctions?n.serializeFunctions:!1,p=\"boolean\"==typeof n.ignoreUndefined?n.ignoreUndefined:!1,l=(\"boolean\"==typeof n.raw?n.raw:!1,{numberToSkip:0,numberToReturn:-1,checkKeys:c});u&&(l.serializeFunctions=u),p&&(l.ignoreUndefined=p),ae(i,e,t,l,n,s,r)},Q.prototype.insert=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.insert(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"insert\",e,t,n,r))},Q.prototype.update=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.update(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"update\",e,t,n,r))},Q.prototype.remove=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.remove(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"remove\",e,t,n,r))},Q.prototype.auth=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==n.s.authProviders[e]&&\"default\"!=e)throw new f(o(\"auth provider %s does not exist\",e));\"default\"==e&&n.s.ismaster&&n.s.ismaster.maxWireVersion>=3?e=\"scram-sha-1\":\"default\"==e&&(e=\"mongocr\");var a=n.s.pool.getAll(),s=[n,a,t].concat(r.slice(0)).concat([function(e,t){return e?i(e):t?void i(null,new k({},n)):i(new f(\"could not authenticate\"))}]);n.s.authProviders[e].auth.apply(n.s.authProviders[e],s)},Q.prototype.addReadPreferenceStrategy=function(e,t){var n=this;null==n.s.readPreferenceStrategies&&(n.s.readPreferenceStrategies={}),n.s.readPreferenceStrategies[e]=t},Q.prototype.addAuthProvider=function(e,t){var n=this;n.s.authProviders[e]=t},Q.prototype.equals=function(e){return\"string\"==typeof e?e==this.name:e&&e.name?e.name==this.name:!1},Q.prototype.connections=function(){return this.s.pool.getAll()},Q.prototype.getServer=function(e){return this},Q.prototype.getConnection=function(e){return this.s.pool.get()},Q.prototype.getCallbacks=function(){return this.s.callbacks},Q.prototype.parserType=function(){var e=this.s;return-1!=e.options.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},Q.prototype.cursor=function(e,t,n){var r=this.s;n=n||{};var i=n.cursorFactory||r.Cursor;return new i(r.bson,e,t,n,this,r.options)},t.exports=Q},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/commands\":195,\"../connection/logger\":197,\"../connection/pool\":198,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"../wireprotocol/2_4_support\":210,\"../wireprotocol/2_6_support\":211,\"../wireprotocol/3_2_support\":212,\"./command_result\":202,\"./read_preference\":204,\"./session\":208,bson:59,crypto:void 0,events:void 0,util:void 0}],208:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"events\").EventEmitter),o=function(e,t){this.options=e,this.topology=t,i.call(this)};r(o,i),o.prototype.command=function(e,t,n,r){this.topology.command(e,t,n,r)},o.prototype.insert=function(e,t,n,r){this.topology.insert(e,t,n,r)},o.prototype.update=function(e,t,n,r){this.topology.update(e,t,n,r)},o.prototype.remove=function(e,t,n,r){this.topology.remove(e,t,n,r)},o.prototype.cursor=function(e,t,n){return this.topology.cursor(e,t,n)},t.exports=o},{events:void 0,util:void 0}],209:[function(e,t,n){\"use strict\";var r=e(\"../../connection/logger\"),i=e(\"events\").EventEmitter,o=e(\"util\").inherits,a=e(\"util\").format,s=function(e){i.call(this),this.s={pings:{},options:e||{},logger:r(\"Ping\",e),pingInterval:e.pingInterval||1e4,acceptableLatency:e.acceptableLatency||15,debug:\"boolean\"==typeof e.debug?e.debug:!1,index:0,lastPing:null},this.s.logger.isDebug()&&this.s.logger.debug(a(\"ping strategy interval [%s], acceptableLatency [%s]\",this.s.pingInterval,this.s.acceptableLatency)),this.s.debug&&Object.defineProperty(this,\"data\",{enumerable:!0,get:function(){return this.s.pings}})};o(s,i);var c=function(e,t){if(null==e.tags)return t;for(var n=[],r=e.tags,i=0;i<t.length;i++){var o=t[i].lastIsMaster().tags||{},a=!0;for(var s in r)o[s]!=r[s]&&(a=!1);a&&n.push(t[i])}return n};s.prototype.pickServer=function(e,t){var n=this,r=[];e.primary&&r.push(e.primary);for(var i=0;i<e.secondaries.length;i++)r.push(e.secondaries[i]);r=c(t,r);for(var o=[],i=0;i<r.length;i++)o.push({name:r[i].name,time:n.s.pings[r[i].name]||0});o.sort(function(e,t){return e.time>t.time});var s=o.length>0?o[0].time:0;return o=o.filter(function(e){return e.time<=s+n.s.acceptableLatency}),0==o.length&&e.primary?(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked primary server [%s]\",e.primary.name)),e.primary):0==o.length?null:(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked server [%s] with ping latency [%s]\",o[0].name,o[0].time)),n.s.index=n.s.index+1,n.s.index=n.s.index%o.length,e.get(o[n.s.index].name))},s.prototype.startOperation=function(e,t,n){},s.prototype.endOperation=function(e,t,n,r){},s.prototype.ha=function(e,t,n){var r=this,i=t.getAll(),o=i.length;if(0==i.length)return n(null,null);if(null!=r.s.lastPing){var s=(new Date).getTime()-r.s.lastPing.getTime();if(s<r.s.pingInterval)return n(null,null)}for(var c=function(t){var i=new Date;t.command(\"system.$cmd\",{ismaster:1},function(s,c){o-=1;var u=(new Date).getTime()-i.getTime();r.s.pings[t.name]=u,r.s.logger.isDebug()&&r.s.logger.debug(a(\"ha latency for server [%s] is [%s] ms\",t.name,u)),0==o&&(e.emit(\"ping\",s,c?c.result:null),r.s.lastPing=new Date,n(null,null))})};i.length>0;)c(i.shift())};var u=function(e,t){delete e.s.pings[t.name]};s.prototype.close=function(e){u(this,e)},s.prototype.error=function(e){u(this,e)},s.prototype.timeout=function(e){u(this,e)},s.prototype.connect=function(e,t){var n=this,r=new Date;e.command(\"system.$cmd\",{ismaster:1},function(i,o){var s=(new Date).getTime()-r.getTime();n.s.pings[e.name]=s,n.s.logger.isDebug()&&n.s.logger.debug(a(\"connect latency for server [%s] is [%s] ms\",e.name,s)),n.s.lastPing=new Date,t(null,null)})},t.exports=s},{\"../../connection/logger\":197,events:void 0,util:void 0}],210:[function(e,t,n){\"use strict\";var r=e(\"./commands\").Insert,i=e(\"./commands\").Update,o=e(\"./commands\").Remove,a=e(\"../connection/commands\").Query,s=e(\"../connection/utils\").copy,c=e(\"../connection/commands\").KillCursor,u=e(\"../connection/commands\").GetMore,a=e(\"../connection/commands\").Query,p=(e(\"../topologies/read_preference\"),e(\"util\").format),l=e(\"../topologies/command_result\"),f=e(\"../error\"),d=e(\"bson\").Long,h=e(\"./shared\").getReadPreference,m=[\"w\",\"wtimeout\",\"j\",\"fsync\"],v=function(){};v.prototype.insert=function(e,t,n,i,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;\"boolean\"==typeof c.legacy?c.legacy:!1;if(s=Array.isArray(s)?s:[s],s.length>1e3)return u(new f(\"exceeded maximum write batch size of 1000\"));\nvar l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"insert\",r,t,n,i,o,a,s,c,u):j(\"insert\",r,t,n,i,o,a,s,c,u)},v.prototype.update=function(e,t,n,r,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"update\",i,t,n,r,o,a,s,c,u):j(\"update\",i,t,n,r,o,a,s,c,u)},v.prototype.remove=function(e,t,n,r,i,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"remove\",o,t,n,r,i,a,s,c,u):j(\"remove\",o,t,n,r,i,a,s,c,u)},v.prototype.killCursor=function(e,t,n,r,i,o){var a=new c(e,[n]);r&&r.isConnected()&&r.write(a.toBin(),o,{immediateRelease:!0}),n=d.ZERO,o&&o(null,null)},v.prototype.getMore=function(e,t,n,r,i,o,a,s,c){var p=new u(e,t,n.cursorId,{numberToReturn:r}),l=function(e,t){if(e)return c(e);if(0!=(1&t.responseFlags))return c(new f(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?d.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,c(null,null,t.connection)};i&&(l.raw=i),\"boolean\"==typeof n.promoteLongs&&(l.promoteLongs=n.promoteLongs),a.register(p.requestId,l),o.write(p.toBin(),l)},v.prototype.command=function(e,t,n,r,i,o){if(n.find)return g(e,t,n,r,i,o);if(null==r.cursorId){if(n)return y(e,t,n,r,i,o);throw new f(p(\"command %s does not return a cursor\",JSON.stringify(n)))}};var g=function(e,t,n,r,i,o){o=o||{};var c=h(n,o);r.batchSize=n.batchSize||r.batchSize;var u=0;u=0==r.limit?r.batchSize:r.limit<0||r.limit<r.batchSize||r.limit>0&&0==r.batchSize?r.limit:r.batchSize;var l=r.skip||0,d={},m=!1;if(\"mongos\"==i.type&&c&&(d.$readPreference=c.toJSON(),m=!0),n.sort&&(d.orderby=n.sort,m=!0),n.hint&&(d.$hint=n.hint,m=!0),n.snapshot&&(d.$snapshot=n.snapshot,m=!0),n.returnKey&&(d.$returnKey=n.returnKey,m=!0),n.maxScan&&(d.$maxScan=n.maxScan,m=!0),n.min&&(d.$min=n.min,m=!0),n.max&&(d.$max=n.max,m=!0),n.showDiskLoc&&(d.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(d.$comment=n.comment,m=!0),n.maxTimeMS&&(d.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(u=-Math.abs(n.limit||0),m=!0,d.$explain=!0),m?d.$query=n.query:d=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=s(n),delete n.readConcern);var v=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,g=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1,y=new a(e,t,d,{numberToSkip:l,numberToReturn:u,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=c.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},y=function(e,t,n,r,i,o){o=o||{};var s=h(n,o),c={};for(var u in n)c[u]=n[u];var l=t.split(/\\./);if(n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern;var d=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,m=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1;\"mongos\"==i.type&&s&&\"primary\"!=s.preference&&(c={$query:c,$readPreference:s.toJSON()});var v=new a(e,p(\"%s.$cmd\",l.shift()),c,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:m});return v.slaveOk=s.slaveOk(),v},b=function(e){var t=process.domain;return null==t||null==e?e:t.bind(e)},x=function(e){return!(!e.w&&!e.wtimeout&&1!=e.j&&1!=e.fsync&&0!=Object.keys(e).length)},w=function(e){var t={};return null!=e.w&&(t.w=e.w),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),null!=e.j&&(t.j=e.j),null!=e.fsync&&(t.fsync=e.fsync),t},_=function(e,t,n,r){for(var i={ok:1,n:0},o=0;o<n.length;o++){var a=n[o],s=t[o];!a.upserted&&0!=a.updatedExisting||null!=i.upserted||(i.upserted=[]),a.upserted&&i.upserted.push({index:o,_id:a.upserted}),0==a.updatedExisting&&1==a.n&&null==a.upserted&&i.upserted.push({index:o,_id:s.q._id}),1==a.ok&&\"insert\"==e&&null==a.err&&(i.n=i.n+1),null!=a&&0==a.ok||a.err||a.errmsg?(0==a.ok&&(i.ok=0),i.code=a.code,i.errmsg=a.errmsg||a.err||a.errMsg,11e3==a.code||11001==a.code||12582==a.code||16544==a.code||16538==a.code||16542==a.code||14==a.code||13511==a.code?(null==i.writeErrors&&(i.writeErrors=[]),i.writeErrors.push({index:o,code:a.code,errmsg:a.errmsg||a.err||a.errMsg})):i.writeConcernError={code:a.code,errmsg:a.errmsg||a.err||a.errMsg}):\"number\"==typeof a.n?i.n+=a.n:i.n+=1,null!=a&&a.lastOp&&(i.lastOp=a.lastOp)}return new l(i,r)},k=function(e,t,n,r,i,o,s,c,u,l){var d=c.slice(0);l=b(l);var h=[],v=function(d,g){if(0==d.length)return process.nextTick(function(){g(null,_(e,c,h,null))});var y=d.shift(),b=new t(a.getRequestId(),n,i,r,[y],u),k=u.writeConcern||{w:1},j=w(k),S=r.split(\".\").shift();try{var E=[b.toBin()];if(x(j)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=j[m[A]]&&(O[m[A]]=j[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t,n){if(t)return l(t);var r=n.documents[0];return h.push(r),0==r.ok||r.err||r.errmsg?l(null,_(e,c,h,n.connection)):void v(d,l)};s.register(C.requestId,T),o.write(E,T)}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h.push({ok:1,errmsg:I.message,code:14}),process.nextTick(function(){l(null,_(e,c,h,null))})}};v(d,l)},j=function(e,t,n,r,i,o,s,c,u,l){l=b(l);for(var d,h=c.length,v=[],g=u.writeConcern||{w:1},y=w(g),k=0;k<c.length;k++){var j=new t(a.getRequestId(),n,i,r,[c[k]],u),S=r.split(\".\").shift();try{var E=[j.toBin()];if(x(y)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=y[m[A]]&&(O[m[A]]=y[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t){return function(n,r){n&&(d=n),h-=1,n||(v[t]=r.documents[0]),0==h&&process.nextTick(function(){return d?l(d):void l(null,_(e,c,v,r.connection))})}};s.register(C.requestId,T(k)),o.write(E,T(k))}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h-=1,v[k]={ok:1,errmsg:I.message,code:14},0==h&&l(null,_(e,c,v,null))}}y&&0==y.w&&l&&l(null,null)};t.exports=v},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],211:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),i=e(\"../connection/utils\").copy,o=e(\"../connection/commands\").KillCursor,a=e(\"../connection/commands\").GetMore,r=e(\"../connection/commands\").Query,s=(e(\"../topologies/read_preference\"),e(\"util\").format),c=(e(\"../topologies/command_result\"),e(\"../error\")),u=e(\"bson\").Long,p=e(\"./shared\").getReadPreference,l=function(){},f=function(e,t,n,r,i,o,a){if(0==i.length)throw new c(\"insert must contain at least one document\");\"function\"==typeof o&&(a=o,o={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof o.ordered?o.ordered:!0,f=o.writeConcern||{},d={};d[t]=u.join(\".\"),d[n]=i,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f);var h={};\"insert\"==t&&(h.checkKeys=!0),o.serializeFunctions&&(h.serializeFunctions=o.serializeFunctions),o.ignoreUndefined&&(h.ignoreUndefined=o.ignoreUndefined),e.command(s(\"%s.$cmd\",p),d,h,a)};l.prototype.insert=function(e,t,n,r,i,o,a,s,c){f(e,\"insert\",\"documents\",n,a,s,c)},l.prototype.update=function(e,t,n,r,i,o,a,s,c){f(e,\"update\",\"updates\",n,a,s,c)},l.prototype.remove=function(e,t,n,r,i,o,a,s,c){f(e,\"delete\",\"deletes\",n,a,s,c)},l.prototype.killCursor=function(e,t,n,r,i,a){var s=new o(e,[n]);r&&r.isConnected()&&r.write(s.toBin(),a,{immediateRelease:!0}),n=u.ZERO,a&&a(null,null)},l.prototype.getMore=function(e,t,n,r,i,o,s,p,l){var f=new a(e,t,n.cursorId,{numberToReturn:r}),d=function(e,t){if(e)return l(e);if(0!=(1&t.responseFlags))return l(new c(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?u.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,l(null,null,t.connection)};i&&(d.raw=i),\"boolean\"==typeof n.promoteLongs&&(d.promoteLongs=n.promoteLongs),s.register(f.requestId,d),o.write(f.toBin(),d)},l.prototype.command=function(e,t,n,r,i,o){if(n.find)return d(e,t,n,r,i,o);if(null==r.cursorId){if(n)return h(e,t,n,r,i,o);throw new c(s(\"command %s does not return a cursor\",JSON.stringify(n)))}};var d=function(e,t,n,o,a,u){u=u||{};var l=p(n,u);o.batchSize=n.batchSize||o.batchSize;var f=0;f=0==o.limit?o.batchSize:o.limit<0||o.limit<o.batchSize||o.limit>0&&0==o.batchSize?o.limit:o.batchSize;var d=o.skip||0,h={},m=!1;if(\"mongos\"==a.type&&l&&(h.$readPreference=l.toJSON(),m=!0),n.sort&&(h.orderby=n.sort,m=!0),n.hint&&(h.$hint=n.hint,m=!0),n.snapshot&&(h.$snapshot=n.snapshot,m=!0),n.returnKey&&(h.$returnKey=n.returnKey,m=!0),n.maxScan&&(h.$maxScan=n.maxScan,m=!0),n.min&&(h.$min=n.min,m=!0),n.max&&(h.$max=n.max,m=!0),n.showDiskLoc&&(h.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(h.$comment=n.comment,m=!0),n.maxTimeMS&&(h.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(f=-Math.abs(n.limit||0),m=!0,h.$explain=!0),m?h.$query=n.query:h=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=i(n),delete n.readConcern);var v=\"boolean\"==typeof u.serializeFunctions?u.serializeFunctions:!1,g=\"boolean\"==typeof u.ignoreUndefined?u.ignoreUndefined:!1,y=new r(e,t,h,{numberToSkip:d,numberToReturn:f,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=l.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},h=function(e,t,n,i,o,a){a=a||{};var u=p(n,a),l={};for(var f in n)l[f]=n[f];var d=t.split(/\\./),h=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,m=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1;if(n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern,\"mongos\"==o.type&&u&&\"primary\"!=u.preference&&(l={$query:l,$readPreference:u.toJSON()});var v=new r(e,s(\"%s.$cmd\",d.shift()),l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:h,ignoreUndefined:m});return v.slaveOk=u.slaveOk(),v};t.exports=l},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],212:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),r=(e(\"../connection/utils\").copy,e(\"../connection/commands\").KillCursor,e(\"../connection/commands\").GetMore,e(\"../connection/commands\").Query),i=(e(\"../topologies/read_preference\"),e(\"util\").format),o=(e(\"../topologies/command_result\"),e(\"../error\")),a=e(\"bson\").Long,s=e(\"./shared\").getReadPreference,c=function(e){this.legacyWireProtocol=e},u=function(e,t,n,r,a,s,c){if(0==a.length)throw new o(\"insert must contain at least one document\");\"function\"==typeof s&&(c=s,s={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof s.ordered?s.ordered:!0,f=s.writeConcern,d={};d[t]=u.join(\".\"),d[n]=a,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f),\"boolean\"==typeof s.bypassDocumentValidation&&(d.bypassDocumentValidation=s.bypassDocumentValidation);var h={};\"insert\"==t&&(h.checkKeys=!0),s.serializeFunctions&&(h.serializeFunctions=s.serializeFunctions),s.ignoreUndefined&&(h.ignoreUndefined=s.ignoreUndefined),e.command(i(\"%s.$cmd\",p),d,h,c)};c.prototype.insert=function(e,t,n,r,i,o,a,s,c){u(e,\"insert\",\"documents\",n,a,s,c)},c.prototype.update=function(e,t,n,r,i,o,a,s,c){u(e,\"update\",\"updates\",n,a,s,c)},c.prototype.remove=function(e,t,n,r,i,o,a,s,c){u(e,\"delete\",\"deletes\",n,a,s,c)},c.prototype.killCursor=function(e,t,n,a,s,c){var u=t.split(/\\./),p=i(\"%s.$cmd\",u.shift()),l={killCursors:u.join(\".\"),cursors:[n]},f=new r(e,p,l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});f.slaveOk=!0,a&&a.isConnected()&&a.write(f.toBin(),c);var d=function(e,t){if(e){if(\"function\"!=typeof c)return;return c(e)}if(0!=(1&t.responseFlags)){if(\"function\"!=typeof c)return;return c(new o(\"cursor killed or timed out\"),null)}if(!Array.isArray(t.documents)||0==t.documents.length){if(\"function\"!=typeof c)return;return c(new o(i(\"invalid killCursors result returned for cursor id %s\",cursorState.cursorId)))}\"function\"==typeof c&&c(null,t.documents[0])};s.register(f.requestId,d)},c.prototype.getMore=function(e,t,n,s,c,u,p,l,f){l=l||{};var d=t.split(/\\./),h=i(\"%s.$cmd\",d.shift()),m=(\"number\"==typeof n.cmd.maxTimeMS?n.cmd.maxTimeMS:3e3,{getMore:n.cursorId,collection:d.join(\".\"),batchSize:Math.abs(s)});n.cmd.tailable&&\"number\"==typeof n.cmd.maxAwaitTimeMS&&(m.maxTimeMS=n.cmd.maxAwaitTimeMS);var v=new r(e,h,m,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});v.slaveOk=!0;var g=function(e,t){if(e)return f(e);if(0!=(1&t.responseFlags))return f(new o(\"cursor killed or timed out\"),null);if(c)return n.documents=t.documents,n.cursorId=t.cursorId,f(null,t.documents);if(0==t.documents[0].ok)return f(o.create(t.documents[0]));var r=\"number\"==typeof t.documents[0].cursor.id?a.fromNumber(t.documents[0].cursor.id):t.documents[0].cursor.id;n.documents=t.documents[0].cursor.nextBatch,n.cursorId=r,f(null,t.documents[0],t.connection)};c&&(g.raw=c),g.documentsReturnedIn=\"nextBatch\",\"boolean\"==typeof n.promoteLongs&&(g.promoteLongs=n.promoteLongs),p.register(v.requestId,g),u.write(v.toBin(),g)},c.prototype.command=function(e,t,n,r,a,s){if(n.find){var c=p(e,t,n,r,a,s);return n.virtual=!1,c.documentsReturnedIn=\"firstBatch\",c}if(null==r.cursorId){if(n)return l(e,t,n,r,a,s);throw new o(i(\"command %s does not return a cursor\",JSON.stringify(n)))}};var p=function(e,t,n,o,a,c){c=c||{};var u=s(n,c);o.batchSize=n.batchSize||o.batchSize;var p=t.split(/\\./),l=i(\"%s.$cmd\",p.shift()),f={find:p.join(\".\")};n.query&&(f.filter=n.query);var d=n.sort;if(Array.isArray(d)){var h={};if(d.length>0&&!Array.isArray(d[0])){var m=d[1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[0]]=m}else for(var v=0;v<d.length;v++){var m=d[v][1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[v][0]]=m}d=h}n.sort&&(f.sort=d),n.fields&&(f.projection=n.fields),n.hint&&(f.hint=n.hint),n.skip&&(f.skip=n.skip),n.limit&&(f.limit=n.limit),\"number\"==typeof n.batchSize&&(f.batchSize=Math.abs(n.batchSize)),n.limit<0&&(f.limit=Math.abs(n.limit),f.singleBatch=!0),n.comment&&(f.comment=n.comment),n.maxScan&&(f.maxScan=n.maxScan),n.maxTimeMS&&(f.maxTimeMS=n.maxTimeMS),n.min&&(f.min=n.min),n.max&&(f.max=n.max),n.returnKey&&(f.returnKey=n.returnKey),n.showDiskLoc&&(f.showRecordId=n.showDiskLoc),n.snapshot&&(f.snapshot=n.snapshot),n.tailable&&(f.tailable=n.tailable),n.oplogReplay&&(f.oplogReplay=n.oplogReplay),n.noCursorTimeout&&(f.noCursorTimeout=n.noCursorTimeout),n.awaitData&&(f.awaitData=n.awaitData),n.awaitdata&&(f.awaitData=n.awaitdata),n.partial&&(f.partial=n.partial),n.explain&&(f={explain:f}),n.readConcern&&(f.readConcern=n.readConcern);var g=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,y=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(f={$query:f,$readPreference:u.toJSON()});var b=new r(e,l,f,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null,serializeFunctions:g,ignoreUndefined:y});return b.slaveOk=u.slaveOk(),b},l=function(e,t,n,o,a,c){c=c||{};var u=s(n,c),p={};for(var l in n)p[l]=n[l];var f=t.split(/\\./),d=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,h=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(p={$query:p,$readPreference:u.toJSON()});var m=new r(e,i(\"%s.$cmd\",f.shift()),p,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:h});return m.slaveOk=u.slaveOk(),m};t.exports=c},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],213:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../error\"),i=2001,o=2002,a=2006,s=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");if(!Array.isArray(o)||0==o.length)throw new r(\"documents array must contain at least one document to insert\");if(~i.indexOf(\"\\x00\"))throw new r(\"namespace cannot contain a null character\");this.requestId=e,this.bson=n,this.ns=i,this.documents=o,this.ismaster=t,a=a||{},this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!0,this.continueOnError=\"boolean\"==typeof a.continueOnError?a.continueOnError:!1,this.flags=this.continueOnError?1:0};s.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1);e.push(t);for(var i=t.length,a=0;a<this.documents.length;a++){var s=this.bson.serialize(this.documents[a],this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);if(s.length>this.ismaster.maxBsonObjectSize)throw new r(\"Document exceeds maximum allowed bson size of \"+this.ismaster.maxBsonObjectSize+\" bytes\");i+=s.length,e.push(s)}if(i>this.ismaster.maxMessageSizeBytes)throw new r(\"Command exceeds maximum message size of \"+this.ismaster.maxMessageSizeBytes+\" bytes\");var c=0;return t[c+3]=i>>24&255,t[c+2]=i>>16&255,t[c+1]=i>>8&255,t[c]=255&i,c+=4,t[c+3]=this.requestId>>24&255,t[c+2]=this.requestId>>16&255,t[c+1]=this.requestId>>8&255,t[c]=255&this.requestId,c+=4,t[c+3]=0,t[c+2]=0,t[c+1]=0,t[c]=0,c+=4,t[c+3]=o>>24&255,t[c+2]=o>>16&255,t[c+1]=o>>8&255,t[c]=255&o,c+=4,t[c+3]=this.flags>>24&255,t[c+2]=this.flags>>16&255,t[c+1]=this.flags>>8&255,t[c]=255&this.flags,c+=4,c=c+t.write(this.ns,c,\"utf8\")+1,t[c-1]=0,e};var c=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.upsert=\"boolean\"==typeof o[0].upsert?o[0].upsert:!1,this.multi=\"boolean\"==typeof o[0].multi?o[0].multi:!1,this.q=o[0].q,this.u=o[0].u,this.flags=this.upsert?1:0,this.flags=this.multi?2|this.flags:this.flags};c.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,o=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(o),r+=o.length;var a=this.bson.serialize(this.u,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(a),r+=a.length;var s=0;return t[s+3]=r>>24&255,t[s+2]=r>>16&255,t[s+1]=r>>8&255,t[s]=255&r,s+=4,t[s+3]=this.requestId>>24&255,t[s+2]=this.requestId>>16&255,t[s+1]=this.requestId>>8&255,t[s]=255&this.requestId,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,t[s+3]=i>>24&255,t[s+2]=i>>16&255,t[s+1]=i>>8&255,t[s]=255&i,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,s=s+t.write(this.ns,s,\"utf8\")+1,t[s-1]=0,t[s+3]=this.flags>>24&255,t[s+2]=this.flags>>16&255,t[s+1]=this.flags>>8&255,t[s]=255&this.flags,s+=4,e};var u=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.limit=\"number\"==typeof o[0].limit?o[0].limit:1,this.q=o[0].q,this.flags=1==this.limit?1:0};u.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,i=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(i),r+=i.length;var o=0;return t[o+3]=r>>24&255,t[o+2]=r>>16&255,t[o+1]=r>>8&255,t[o]=255&r,o+=4,t[o+3]=this.requestId>>24&255,t[o+2]=this.requestId>>16&255,t[o+1]=this.requestId>>8&255,t[o]=255&this.requestId,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,t[o+3]=a>>24&255,t[o+2]=a>>16&255,t[o+1]=a>>8&255,t[o]=255&a,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,o=o+t.write(this.ns,o,\"utf8\")+1,t[o-1]=0,t[o+3]=this.flags>>24&255,t[o+2]=this.flags>>16&255,t[o+1]=this.flags>>8&255,t[o]=255&this.flags,o+=4,e},t.exports={Insert:s,Update:c,Remove:u}}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,buffer:void 0}],214:[function(e,t,n){var r=e(\"../topologies/read_preference\"),i=function(e,t){var n=e.readPreference||new r(\"primary\");if(t.readPreference&&(n=t.readPreference),\"string\"==typeof n&&(n=new r(n)),!(n instanceof r))throw new MongoError(\"readPreference must be a ReadPreference instance\");return n};t.exports={getReadPreference:i}},{\"../topologies/read_preference\":204}],215:[function(e,t,n){var r=e(\"mongodb-core\"),i=e(\"./lib/apm\"),o=e(\"./lib/mongo_client\").connect;o.MongoError=r.MongoError,o.Admin=e(\"./lib/admin\"),o.MongoClient=e(\"./lib/mongo_client\"),o.Db=e(\"./lib/db\"),o.Collection=e(\"./lib/collection\"),o.Server=e(\"./lib/server\"),o.ReplSet=e(\"./lib/replset\"),o.Mongos=e(\"./lib/mongos\"),o.ReadPreference=e(\"./lib/read_preference\"),o.GridStore=e(\"./lib/gridfs/grid_store\"),o.Chunk=e(\"./lib/gridfs/chunk\"),o.Logger=r.Logger,o.Cursor=e(\"./lib/cursor\"),o.GridFSBucket=e(\"./lib/gridfs-stream\"),o.Binary=r.BSON.Binary,o.Code=r.BSON.Code,o.Map=r.BSON.Map,o.DBRef=r.BSON.DBRef,o.Double=r.BSON.Double,o.Long=r.BSON.Long,o.MinKey=r.BSON.MinKey,o.MaxKey=r.BSON.MaxKey,o.ObjectID=r.BSON.ObjectID,o.ObjectId=r.BSON.ObjectID,o.Symbol=r.BSON.Symbol,o.Timestamp=r.BSON.Timestamp,o.connect=o,o.instrument=function(e,t){return\"function\"==typeof e&&(t=e,e={}),new i(r,e,t)},t.exports=o},{\"./lib/admin\":216,\"./lib/apm\":218,\"./lib/collection\":222,\"./lib/cursor\":224,\"./lib/db\":225,\"./lib/gridfs-stream\":227,\"./lib/gridfs/chunk\":229,\"./lib/gridfs/grid_store\":230,\"./lib/mongo_client\":232,\"./lib/mongos\":233,\"./lib/read_preference\":234,\"./lib/replset\":235,\"./lib/server\":236,\"mongodb-core\":188}],216:[function(e,t,n){\"use strict\";var r=e(\"./utils\").toError,i=e(\"./metadata\"),o=e(\"./utils\").shallowClone,a=function(e,t,n){if(!(this instanceof a))return new a(e,t);this.s={db:e,topology:t,promiseLibrary:n}},s=a.define=new i(\"Admin\",a,!1);a.prototype.command=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},\"function\"==typeof n?this.s.db.executeDbAdminCommand(e,t,function(e,t){return null!=n?n(e,t):null}):new this.s.promiseLibrary(function(n,i){r.s.db.executeDbAdminCommand(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"command\",{callback:!0,promise:!0}),a.prototype.buildInfo=function(e){var t=this;return\"function\"==typeof e?this.serverInfo(e):new this.s.promiseLibrary(function(e,n){t.serverInfo(function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"buildInfo\",{callback:!0,promise:!0}),a.prototype.serverInfo=function(e){var t=this;return\"function\"==typeof e?this.s.db.executeDbAdminCommand({buildinfo:1},function(t,n){return null!=t?e(t,null):void e(null,n)}):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({buildinfo:1},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"serverInfo\",{callback:!0,promise:!0}),a.prototype.serverStatus=function(e){var t=this;return\"function\"==typeof e?c(t,e):new this.s.promiseLibrary(function(e,n){c(t,function(t,r){return t?n(t):void e(r)})})};var c=function(e,t){e.s.db.executeDbAdminCommand({serverStatus:1},function(e,n){return null!=e||1!==n.ok?e?t(e,!1):t(r(n),!1):void t(null,n)})};s.classMethod(\"serverStatus\",{callback:!0,promise:!0}),a.prototype.profilingLevel=function(e){var t=this;return\"function\"==typeof e?u(t,e):new this.s.promiseLibrary(function(e,n){u(t,function(t,r){return t?n(t):void e(r)})})};var u=function(e,t){e.s.db.executeDbAdminCommand({profile:-1},function(e,n){if(n=n,null==e&&1===n.ok){var r=n.was;return 0==r?t(null,\"off\"):1==r?t(null,\"slow_only\"):2==r?t(null,\"all\"):t(new Error(\"Error: illegal profiling level value \"+r),null)}null!=e?t(e,null):t(new Error(\"Error with profile command\"),null)})};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.ping=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),\"function\"==typeof t?this.s.db.executeDbAdminCommand({ping:1},t):new this.s.promiseLibrary(function(e,t){n.s.db.executeDbAdminCommand({ping:1},function(n,r){return n?t(n):void e(r)})})},s.classMethod(\"ping\",{callback:!0,promise:!0}),a.prototype.authenticate=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=o(n),n.authdb=\"admin\",\"function\"==typeof r?this.s.db.authenticate(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.authenticate(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"authenticate\",{callback:!0,promise:!0}),a.prototype.logout=function(e){var t=this;return\"function\"==typeof e?this.s.db.logout({authdb:\"admin\"},e):new this.s.promiseLibrary(function(e,n){t.s.db.logout({authdb:\"admin\"},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"logout\",{callback:!0,promise:!0});var p=function(e,t){return e=o(e),e.w||e.wtimeout||e.j||e.fsync?e:(t.writeConcern&&(e.w&&(e.w=t.writeConcern.w),e.wtimeout&&(e.wtimeout=t.writeConcern.wtimeout),e.j&&(e.j=t.writeConcern.j),e.fsync&&(e.fsync=t.writeConcern.fsync)),e)};a.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift():{},n=n||{},n=p(n,i.s.db),n.dbName=\"admin\",\"function\"==typeof r?i.s.db.addUser(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.addUser(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"addUser\",{callback:!0,promise:!0}),a.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},t=p(t,r.s.db),t.dbName=\"admin\",\"function\"==typeof n?r.s.db.removeUser(e,t,n):new this.s.promiseLibrary(function(n,i){r.s.db.removeUser(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"removeUser\",{callback:!0,promise:!0}),a.prototype.setProfilingLevel=function(e,t){var n=this;return\"function\"==typeof t?l(n,e,t):new this.s.promiseLibrary(function(t,r){l(n,e,function(e,n){return e?r(e):void t(n)})})};var l=function(e,t,n){var r={},i=0;if(\"off\"==t)i=0;else if(\"slow_only\"==t)i=1;else{if(\"all\"!=t)return n(new Error(\"Error: illegal profiling level value \"+t));i=2}r.profile=i,e.s.db.executeDbAdminCommand(r,function(e,r){return r=r,null==e&&1===r.ok?n(null,t):null!=e?n(e,null):n(new Error(\"Error with profile command\"),null)})};s.classMethod(\"setProfilingLevel\",{callback:!0,promise:!0}),a.prototype.profilingInfo=function(e){var t=this;return\"function\"==typeof e?f(t,e):new this.s.promiseLibrary(function(e,n){f(t,function(t,r){return t?n(t):void e(r)})})};var f=function(e,t){try{e.s.topology.cursor(\"admin.system.profile\",{find:\"system.profile\",query:{}},{}).toArray(t)}catch(n){return t(n,null)}};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.validateCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},\"function\"==typeof n?d(r,e,t,n):new this.s.promiseLibrary(function(n,i){d(r,e,t,function(e,t){return e?i(e):void n(t)})})};var d=function(e,t,n,r){for(var i={validate:t},o=Object.keys(n),a=0;a<o.length;a++)n.hasOwnProperty(o[a])&&(i[o[a]]=n[o[a]]);e.s.db.command(i,function(e,n){return null!=e?r(e,null):0===n.ok?r(new Error(\"Error with validate command\"),null):null!=n.result&&n.result.constructor!=String?r(new Error(\"Error with validation data\"),null):null!=n.result&&null!=n.result.match(/exception|corrupt/)?r(new Error(\"Error: invalid collection \"+t),null):null==n.valid||n.valid?r(null,n):r(new Error(\"Error: invalid collection \"+t),null)})};s.classMethod(\"validateCollection\",{callback:!0,promise:!0}),a.prototype.listDatabases=function(e){var t=this;return\"function\"==typeof e?t.s.db.executeDbAdminCommand({listDatabases:1},{},e):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({listDatabases:1},{},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"listDatabases\",{callback:!0,promise:!0}),a.prototype.replSetGetStatus=function(e){var t=this;return\"function\"==typeof e?h(t,e):new this.s.promiseLibrary(function(e,n){h(t,function(t,r){return t?n(t):void e(r)})})};var h=function(e,t){e.s.db.executeDbAdminCommand({replSetGetStatus:1},function(e,n){return null==e&&1===n.ok?t(null,n):e?t(e,!1):void t(r(n),!1)})};s.classMethod(\"replSetGetStatus\",{callback:!0,promise:!0}),t.exports=a},{\"./metadata\":231,\"./utils\":239}],217:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\"),e(\"mongodb-core\").MongoError),o=e(\"stream\").Readable||e(\"readable-stream\").Readable,a=e(\"./metadata\"),s=e(\"./cursor\"),c=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference,function(t,r,i,a,u,p){s.apply(this,Array.prototype.slice.call(arguments,0));var l=c.INIT,f={},d=null,h=a.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),o.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:a,topology:u,topologyOptions:p,promiseLibrary:h}});r(c,o);for(var u in s.prototype)c.prototype[u]=s.prototype[u];var p=c.define=new a(\"AggregationCursor\",c,!0);c.prototype.batchSize=function(e){if(this.s.state==c.CLOSED||this.isDead())throw i.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw i.create({message:\"batchSize requires an integer\",drvier:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},p.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[c]}),c.prototype.geoNear=function(e){return this.s.cmd.pipeline.push({$geoNear:e}),this},p.classMethod(\"geoNear\",{callback:!1,promise:!1,returns:[c]}),c.prototype.group=function(e){return this.s.cmd.pipeline.push({$group:e}),this},p.classMethod(\"group\",{callback:!1,promise:!1,returns:[c]}),c.prototype.limit=function(e){return this.s.cmd.pipeline.push({$limit:e}),this},p.classMethod(\"limit\",{callback:!1,promise:!1,returns:[c]}),c.prototype.match=function(e){return this.s.cmd.pipeline.push({$match:e}),this},p.classMethod(\"match\",{callback:!1,promise:!1,returns:[c]}),c.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},p.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[c]}),c.prototype.out=function(e){return this.s.cmd.pipeline.push({$out:e}),this},p.classMethod(\"out\",{callback:!1,promise:!1,returns:[c]}),c.prototype.project=function(e){return this.s.cmd.pipeline.push({$project:e}),this},p.classMethod(\"project\",{callback:!1,promise:!1,returns:[c]}),c.prototype.lookup=function(e){return this.s.cmd.pipeline.push({$lookup:e}),this},p.classMethod(\"lookup\",{callback:!1,promise:!1,returns:[c]}),c.prototype.redact=function(e){return this.s.cmd.pipeline.push({$redact:e}),this},p.classMethod(\"redact\",{callback:!1,promise:!1,returns:[c]}),c.prototype.skip=function(e){return this.s.cmd.pipeline.push({\n$skip:e}),this},p.classMethod(\"skip\",{callback:!1,promise:!1,returns:[c]}),c.prototype.sort=function(e){return this.s.cmd.pipeline.push({$sort:e}),this},p.classMethod(\"sort\",{callback:!1,promise:!1,returns:[c]}),c.prototype.unwind=function(e){return this.s.cmd.pipeline.push({$unwind:e}),this},p.classMethod(\"unwind\",{callback:!1,promise:!1,returns:[c]}),c.prototype.get=c.prototype.toArray,p.classMethod(\"toArray\",{callback:!0,promise:!0}),p.classMethod(\"each\",{callback:!0,promise:!1}),p.classMethod(\"forEach\",{callback:!0,promise:!1}),p.classMethod(\"next\",{callback:!0,promise:!0}),p.classMethod(\"close\",{callback:!0,promise:!0}),p.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),p.classMethod(\"rewind\",{callback:!1,promise:!1}),p.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),p.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),c.INIT=0,c.OPEN=1,c.CLOSED=2,t.exports=c}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],218:[function(e,t,n){var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./aggregation_cursor\"),a=e(\"./command_cursor\"),s=e(\"./bulk/ordered\").OrderedBulkOperation,c=e(\"./bulk/unordered\").UnorderedBulkOperation,u=e(\"./gridfs/grid_store\"),p=(e(\"./server\"),e(\"./replset\"),e(\"./mongos\"),e(\"./cursor\")),l=e(\"./collection\"),f=e(\"./db\"),d=(e(\"./admin\"),{operationId:1,next:function(){return this.operationId++}}),h={current:function(){return(new Date).getTime()},duration:function(e,t){return t-e}},m=[\"authenticate\",\"saslStart\",\"saslContinue\",\"getnonce\",\"createUser\",\"updateUser\",\"copydbgetnonce\",\"copydbsaslstart\",\"copydb\"],v=function(t,n,i){n=n||{};var v=n.operationIdGenerator||d,g=n.timestampGenerator||h;r.call(this),this.overloads=[];var y=function(e){for(var t=[],n=[u,s,c,a,o,p,l,f],r=0;r<n.length;r++)n[r].define&&t.push(n[r].define.generate());e(null,t)};\"function\"==typeof i&&y(i);var b=this,x=[\"command\",\"insert\",\"update\",\"remove\"],w=t.Server.prototype;x.forEach(function(e){var n=w[e];b.overloads.push({proto:w,name:e,func:n}),w[e]=function(){var r=t.Query.nextRequestId(),i=Array.prototype.slice.call(arguments,0),o=i[0],a=i[1],s=i[2]||{},c=Object.keys(a),u=c[0],p=o.split(\".\")[0];if(\"insert\"!=e||this.lastIsMaster().maxWireVersion)if(\"update\"!=e||this.lastIsMaster().maxWireVersion)if(\"remove\"!=e||this.lastIsMaster().maxWireVersion){if(\"insert\"==e||\"update\"==e||\"remove\"==e&&this.lastIsMaster().maxWireVersion>=2)return n.apply(this,i)}else{u=\"delete\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={\"delete\":l,deletes:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"update\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={update:l,updates:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"insert\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={insert:l,documents:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}var f=i.pop(),d=f.operationId||v.next(),h=this.s.pool.get(),y={command:a,databaseName:p,commandName:u,requestId:r,operationId:d,connectionId:h};m.indexOf(u.toLowerCase())&&(y.commandObj={},y.commandObj[u]=!0),b.emit(\"started\",y);var x=g.current();i.push(function(e,t){var n=g.current(),i={duration:g.duration(x,n),commandName:u,requestId:r,operationId:d,connectionId:h};e||t&&t.result&&0==t.result.ok?(i.failure=e||t.result.writeErrors||t.result,m.indexOf(u.toLowerCase())&&(i.failure={}),b.emit(\"failed\",i)):a&&a.writeConcern&&0==a.writeConcern.w?(i.reply={ok:1},b.emit(\"succeeded\",i)):(i.reply=t&&t.result?t.result:t,-1!=m.indexOf(u.toLowerCase())&&(i.reply={}),b.emit(\"succeeded\",i)),f(e,t)}),n.apply(this,i)}});var x=[\"execute\"],_=[e(\"./bulk/ordered\").Bulk.prototype,e(\"./bulk/unordered\").Bulk.prototype];_.forEach(function(e){x.forEach(function(t){var n=e[t];b.overloads.push({proto:e,name:t,func:n}),e[t]=function(){var e=Array.prototype.slice.call(arguments,0);this.operationId=v.next();var t=e.pop();return\"function\"!=typeof t?n.apply(this,e):(e.push(function(e,n){t(e,n)}),void n.apply(this,e))}})});var x=[\"_find\",\"_getmore\",\"_killcursor\"],_=[e(\"./cursor\").prototype,e(\"./command_cursor\").prototype,e(\"./aggregation_cursor\").prototype],k={_find:\"find\",_getmore:\"getMore\",_killcursor:\"killCursors\",_explain:\"explain\"};_.forEach(function(e){x.forEach(function(n){var r=e[n];b.overloads.push({proto:e,name:n,func:r}),e[n]=function(){var e=this,i=t.Query.nextRequestId(),o=v.next(),a=this.ns.split(\".\"),s=a[0];a.shift();var c=a.join(\".\"),u=this.query,p=this.s.cmd;\"_find\"==n&&(e.operationId=o),\"_getmore\"==n?(u={getMore:this.cursorState.cursorId,collection:c,batchSize:p.batchSize},p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS)):\"_killcursors\"==n?u={killCursors:c,cursors:[this.cursorState.cursorId]}:p.find?(u={find:c,filter:p.query},p.sort&&(u.sort=p.sort),p.fields&&(u.projection=p.fields),p.limit&&p.limit<0?(u.limit=Math.abs(p.limit),u.singleBatch=!0):p.limit&&(u.limit=Math.abs(p.limit)),p.skip&&(u.skip=p.skip),p.hint&&(u.hint=p.hint),p.batchSize&&(u.batchSize=p.batchSize),\"boolean\"==typeof p.returnKey&&(u.returnKey=p.returnKey),p.comment&&(u.comment=p.comment),p.min&&(u.min=p.min),p.max&&(u.max=p.max),p.maxScan&&(u.maxScan=p.maxScan),p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS),\"boolean\"==typeof p.awaitData&&(u.awaitData=p.awaitData),\"boolean\"==typeof p.snapshot&&(u.snapshot=p.snapshot),\"boolean\"==typeof p.tailable&&(u.tailable=p.tailable),\"boolean\"==typeof p.oplogReplay&&(u.oplogReplay=p.oplogReplay),\"boolean\"==typeof p.noCursorTimeout&&(u.noCursorTimeout=p.noCursorTimeout),\"boolean\"==typeof p.partial&&(u.partial=p.partial),\"boolean\"==typeof p.showDiskLoc&&(u.showRecordId=p.showDiskLoc),p.readConcern&&(u.readConcern=p.readConcern),p.explain&&(u.explain=p.explain),p.exhaust&&(u.exhaust=p.exhaust),p.explain&&(u={explain:u,verbosity:\"allPlansExecution\"},p.readConcern&&(u.readConcern=p.readConcern),n=\"_explain\")):u=p;var l=null;this.connection&&(l=this.connection),!l&&this.server&&this.server.getConnection&&(l=this.server.getConnection());var f=\"_find\"==n?Object.keys(u)[0]:k[n],u={command:u,databaseName:s,commandName:f,requestId:i,operationId:this.operationId,connectionId:l},d=Array.prototype.slice.call(arguments,0),h=d.pop();if(\"function\"!=typeof h&&\"killCursors\"!=u.commandName){d.push(h);var m=r.apply(this,d);return new e.s.promiseLibrary(function(t,n){var r=g.current();b.emit(\"started\",u),m.then(function(t){var n={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:e.cursorState.documents};b.emit(\"succeeded\",n)})[\"catch\"](function(t){var a={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",a),n(t)})})}var y=g.current();if(b.emit(\"started\",u),\"killCursors\"==u.commandName&&this.server.lastIsMaster()&&this.server.lastIsMaster().maxWireVersion<4){var u={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:[{ok:1}]};return b.emit(\"succeeded\",u)}d.push(function(t,n){if(t){var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",r)}else{\"getmore\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,nextBatch:e.cursorState.documents},ok:1}:\"find\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,firstBatch:e.cursorState.documents},ok:1}:\"killcursors\"==f.toLowerCase()&&null==n&&(n={cursorsUnknown:[e.cursorState.lastCursorId],ok:1});var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:n&&n.result?n.result:n};b.emit(\"succeeded\",r)}h&&h(t,n)}),r.apply(this,d)}})})};i(v,r),v.prototype.uninstrument=function(){for(var e=0;e<this.overloads.length;e++){var t=this.overloads[e];t.proto[t.name]=t.func}this.removeAllListeners(\"started\"),this.removeAllListeners(\"succeeded\"),this.removeAllListeners(\"failed\")},t.exports=v},{\"./admin\":216,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./collection\":222,\"./command_cursor\":223,\"./cursor\":224,\"./db\":225,\"./gridfs/grid_store\":230,\"./mongos\":233,\"./replset\":235,\"./server\":236,events:void 0,util:void 0}],219:[function(e,t,n){\"use strict\";var r=(e(\"../utils\"),e(\"mongodb-core\").BSON.Long),i=e(\"mongodb-core\").BSON.Timestamp,o=8,a=22,s=64,c=65,u=1,p=2,l=3,f=function(e,t,n){return null!=n.w||null!=n.j||null!=n.fsync?e.writeConcern=n:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern),e},d=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},h=function(e,t){this.originalZeroIndex=t,this.currentIndex=0,this.originalIndexes=[],this.batchType=e,this.operations=[],this.size=0,this.sizeBytes=0},m=function(e,t,n){this.batchType=e,this.index=n,this.operation=t},v=function(e){d(this,\"ok\",e.ok),d(this,\"nInserted\",e.nInserted),d(this,\"nUpserted\",e.nUpserted),d(this,\"nMatched\",e.nMatched),d(this,\"nModified\",e.nModified),d(this,\"nRemoved\",e.nRemoved),this.getInsertedIds=function(){return e.insertedIds},this.getUpsertedIds=function(){return e.upserted},this.getUpsertedIdAt=function(t){return e.upserted[t]},this.getRawResponse=function(){return e},this.hasWriteErrors=function(){return e.writeErrors.length>0},this.getWriteErrorCount=function(){return e.writeErrors.length},this.getWriteErrorAt=function(t){return t<e.writeErrors.length?e.writeErrors[t]:null},this.getWriteErrors=function(){return e.writeErrors},this.getLastOp=function(){return e.lastOp},this.getWriteConcernError=function(){if(0==e.writeConcernErrors.length)return null;if(1==e.writeConcernErrors.length)return e.writeConcernErrors[0];for(var t=\"\",n=0;n<e.writeConcernErrors.length;n++){var r=e.writeConcernErrors[n];t+=r.errmsg,0==n&&(t+=\" and \")}return new g({errmsg:t,code:s})},this.toJSON=function(){return e},this.toString=function(){return\"BulkWriteResult(\"+this.toJSON(e)+\")\"},this.isOk=function(){return 1==e.ok}},g=function(e){return this instanceof g?(d(this,\"code\",e.code),d(this,\"errmsg\",e.errmsg),this.toJSON=function(){return{code:e.code,errmsg:e.errmsg}},void(this.toString=function(){return\"WriteConcernError(\"+e.errmsg+\")\"})):new g(e)},y=function(e){return this instanceof y?(d(this,\"code\",e.code),d(this,\"index\",e.index),d(this,\"errmsg\",e.errmsg),this.getOperation=function(){return e.op},this.toJSON=function(){return{code:e.code,index:e.index,errmsg:e.errmsg,op:e.op}},void(this.toString=function(){return\"WriteError(\"+JSON.stringify(this.toJSON())+\")\"})):new y(e)},b=function(e,t,n,o,a){if(o)a=o;else if(a&&a.result)a=a.result;else if(null==a)return;if(0==a.ok&&1==n.ok){n.ok=0;var s={index:0,code:a.code||0,errmsg:a.message,op:t.operations[0]};return void n.writeErrors.push(new y(s))}if(0!=a.ok||0!=n.ok){if(a.opTime||a.lastOp){var c=a.lastOp||a.opTime,f=null,d=null;if(c instanceof i)null==n.lastOp?n.lastOp=c:c.greaterThan(n.lastOp)&&(n.lastOp=c);else{n.lastOp&&(f=\"number\"==typeof n.lastOp.ts?r.fromNumber(n.lastOp.ts):n.lastOp.ts,d=\"number\"==typeof n.lastOp.t?r.fromNumber(n.lastOp.t):n.lastOp.t);var h=\"number\"==typeof c.ts?r.fromNumber(c.ts):c.ts,m=\"number\"==typeof c.t?r.fromNumber(c.t):c.t;null==n.lastOp?n.lastOp=c:h.greaterThan(f)?n.lastOp=c:h.equals(f)&&m.greaterThan(d)&&(n.lastOp=c)}}t.batchType==u&&a.n&&(n.nInserted=n.nInserted+a.n),t.batchType==l&&a.n&&(n.nRemoved=n.nRemoved+a.n);var v=0;if(Array.isArray(a.upserted)){v=a.upserted.length;for(var b=0;b<a.upserted.length;b++)n.upserted.push({index:a.upserted[b].index+t.originalZeroIndex,_id:a.upserted[b]._id})}else a.upserted&&(v=1,n.upserted.push({index:t.originalZeroIndex,_id:a.upserted}));if(t.batchType==p&&a.n){var x=a.nModified;n.nUpserted=n.nUpserted+v,n.nMatched=n.nMatched+(a.n-v),\"number\"==typeof x?n.nModified=n.nModified+x:n.nModified=null}if(Array.isArray(a.writeErrors))for(var b=0;b<a.writeErrors.length;b++){var s={index:t.originalZeroIndex+a.writeErrors[b].index,code:a.writeErrors[b].code,errmsg:a.writeErrors[b].errmsg,op:t.operations[a.writeErrors[b].index]};n.writeErrors.push(new y(s))}a.writeConcernError&&n.writeConcernErrors.push(new g(a.writeConcernError))}},x=function(e){for(var t={},n=Object.keys(e),r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t};n.BulkWriteResult=v,n.WriteError=y,n.Batch=h,n.LegacyOp=m,n.mergeBatchResults=b,n.cloneOptions=x,n.writeConcern=f,n.INVALID_BSON_ERROR=a,n.WRITE_CONCERN_ERROR=s,n.MULTIPLE_ERROR=c,n.UNKNOWN_ERROR=o,n.INSERT=u,n.UPDATE=p,n.REMOVE=l},{\"../utils\":239,\"mongodb-core\":188}],220:[function(e,t,n){(function(n){\"use strict\";function r(t,r,o){o=null==o?{}:o;var a=!1,s=null,u=t.bson,p=r.collectionName,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=i.writeConcern(c(o),r,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentBatch:null,currentIndex:0,currentBatchSize:0,currentBatchSizeBytes:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:p,bson:u,topology:t,options:o,currentOp:s,executed:a,collection:r,promiseLibrary:h,err:null,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}}var i=e(\"./common\"),o=e(\"../utils\"),a=e(\"../utils\").toError,s=(e(\"util\").format,e(\"../utils\").handleCallback),c=o.shallowClone,u=(i.WriteError,i.BulkWriteResult),p=(i.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),l=e(\"../metadata\"),f=e(\"mongodb-core\").BSON,d=i.Batch,h=i.mergeBatchResults,m=new f.BSONPure,v=function(e){this.s=e.s};v.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.replaceOne=function(e){this.updateOne(e)},v.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},v.prototype.deleteOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.removeOne=v.prototype.deleteOne,v.prototype[\"delete\"]=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.remove=v.prototype[\"delete\"];var g=function(e,t,n){var r=m.calculateObjectSize(n,!1);if(r>=e.s.maxBatchSizeBytes)throw a(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(null==e.s.currentBatch&&(e.s.currentBatch=new d(t,e.s.currentIndex)),e.s.currentBatchSize+1>=e.s.maxWriteBatchSize||e.s.currentBatchSizeBytes+e.s.currentBatchSizeBytes>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t?(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new d(t,e.s.currentIndex),e.s.currentBatchSize=0,e.s.currentBatchSizeBytes=0):(e.s.currentBatchSize=e.s.currentBatchSize+1,e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r),t==i.INSERT&&e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id}),Array.isArray(n))throw a(\"operation passed in cannot be an Array\");return e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentBatch.operations.push(n),e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r,e.s.currentIndex=e.s.currentIndex+1,e},y=r.define=new l(\"OrderedBulkOperation\",r,!1);r.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,g(this,i.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var r=!e.updateOne&&!e.replaceOne,o={q:e[t].filter,u:e[t].update||e[t].replacement,multi:r};return o.upsert=!!e[t].upsert,g(this,i.UPDATE,o)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,g(this,i.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,o={q:e[t].filter,limit:s};return g(this,i.REMOVE,o)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new p),g(this,i.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new p),g(this,i.INSERT,e.insertOne.document);if(!e.insertMany)throw a(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new p),g(this,i.INSERT,e.insertMany[c])},r.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new p),g(this,i.INSERT,e)},r.prototype.find=function(e){if(!e)throw a(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new v(this)},Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}});var b=function(e,t){if(0==e.s.batches.length)return s(t,null,new u(e.s.bulkResult));var n=e.s.batches.shift(),r=function(r,i){if(r&&r.driver||r&&r.message)return s(t,r);r&&(r.ok=0);var o=h(!0,n,e.s.bulkResult,r,i);return null!=o?s(t,null,new u(e.s.bulkResult)):e.s.bulkResult.writeErrors.length>0?s(t,a(e.s.bulkResult.writeErrors[0]),new u(e.s.bulkResult)):void b(e,t)},o={ordered:!0};null!=e.s.writeConcern&&(o.writeConcern=e.s.writeConcern),e.operationId&&(r.operationId=e.operationId),e.s.options.serializeFunctions&&(o.serializeFunctions=!0),e.s.options.ignoreUndefined&&(o.ignoreUndefined=!0),1==e.s.bypassDocumentValidation&&(o.bypassDocumentValidation=!0);try{n.batchType==i.INSERT?e.s.topology.insert(e.s.collection.namespace,n.operations,o,r):n.batchType==i.UPDATE?e.s.topology.update(e.s.collection.namespace,n.operations,o,r):n.batchType==i.REMOVE&&e.s.topology.remove(e.s.collection.namespace,n.operations,o,r)}catch(c){c.ok=0,s(t,null,h(!1,n,e.s.bulkResult,c,null))}};r.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw new a(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentBatch&&this.s.batches.push(this.s.currentBatch),0==this.s.batches.length)throw a(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?b(this,t):new this.s.promiseLibrary(function(e,t){b(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var x=function(e,t,n){return new r(e,t,n)};x.OrderedBulkOperation=r,t.exports=x,t.exports.Bulk=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],221:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./common\"),i=e(\"../utils\"),o=e(\"../utils\").toError,a=(e(\"util\").format,e(\"../utils\").handleCallback),s=i.shallowClone,c=(r.WriteError,r.BulkWriteResult),u=(r.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),p=e(\"mongodb-core\").BSON,l=e(\"../metadata\"),f=r.Batch,d=r.mergeBatchResults,h=new p.BSONPure,m=function(e){this.s=e.s};m.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.replaceOne=function(e){this.updateOne(e)},m.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},m.prototype.removeOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,v(this,r.REMOVE,e)},m.prototype.remove=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,v(this,r.REMOVE,e)};var v=function(e,t,n){var i=h.calculateObjectSize(n,!1);if(i>=e.s.maxBatchSizeBytes)throw o(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(e.s.currentBatch=null,t==r.INSERT?e.s.currentBatch=e.s.currentInsertBatch:t==r.UPDATE?e.s.currentBatch=e.s.currentUpdateBatch:t==r.REMOVE&&(e.s.currentBatch=e.s.currentRemoveBatch),null==e.s.currentBatch&&(e.s.currentBatch=new f(t,e.s.currentIndex)),(e.s.currentBatch.size+1>=e.s.maxWriteBatchSize||e.s.currentBatch.sizeBytes+i>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t)&&(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new f(t,e.s.currentIndex)),Array.isArray(n))throw o(\"operation passed in cannot be an Array\");return e.s.currentBatch.operations.push(n),e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentIndex=e.s.currentIndex+1,t==r.INSERT?(e.s.currentInsertBatch=e.s.currentBatch,e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id})):t==r.UPDATE?e.s.currentUpdateBatch=e.s.currentBatch:t==r.REMOVE&&(e.s.currentRemoveBatch=e.s.currentBatch),e.s.currentBatch.size=e.s.currentBatch.size+1,e.s.currentBatch.sizeBytes=e.s.currentBatch.sizeBytes+i,e},g=function(t,i,o){o=null==o?{}:o;var a=i.collectionName,c=!1,u=null,p=t.bson,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=r.writeConcern(s(o),i,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentInsertBatch:null,currentUpdateBatch:null,currentRemoveBatch:null,currentBatch:null,currentIndex:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:a,bson:p,topology:t,options:o,currentOp:u,executed:c,collection:i,promiseLibrary:h,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}},y=g.define=new l(\"UnorderedBulkOperation\",g,!1);g.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new u),v(this,r.INSERT,e)},g.prototype.find=function(e){if(!e)throw o(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new m(this)},Object.defineProperty(g.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}}),g.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,v(this,r.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var i=!e.updateOne&&!e.replaceOne,a={q:e[t].filter,u:e[t].update||e[t].replacement,multi:i};return e[t].upsert&&(a.upsert=!0),v(this,r.UPDATE,a)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,v(this,r.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,a={q:e[t].filter,limit:s};return v(this,r.REMOVE,a)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new u),v(this,r.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new u),v(this,r.INSERT,e.insertOne.document);if(!e.insertMany)throw o(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new u),v(this,r.INSERT,e.insertMany[c])};var b=function(e,t,n){var i={ordered:!1};null!=e.s.writeConcern&&(i.writeConcern=e.s.writeConcern);var o=function(r,i){return r&&r.driver||r&&r.message?a(n,r):(r&&(r.ok=0),void a(n,null,d(!1,t,e.s.bulkResult,r,i)))};e.operationId&&(o.operationId=e.operationId),e.s.options.serializeFunctions&&(i.serializeFunctions=!0),1==e.s.bypassDocumentValidation&&(i.bypassDocumentValidation=!0);try{t.batchType==r.INSERT?e.s.topology.insert(e.s.collection.namespace,t.operations,i,o):t.batchType==r.UPDATE?e.s.topology.update(e.s.collection.namespace,t.operations,i,o):t.batchType==r.REMOVE&&e.s.topology.remove(e.s.collection.namespace,t.operations,i,o)}catch(s){s.ok=0,a(n,null,d(!1,t,e.s.bulkResult,s,null))}},x=function(e,t){for(var n=e.s.batches.length,r=0;r<e.s.batches.length;r++)b(e,e.s.batches[r],function(r,i){if(r&&(s=r),n-=1,0==n){if(s)return a(t,s);var s=e.s.bulkResult.writeErrors.length>0?o(e.s.bulkResult.writeErrors[0]):null;a(t,s,new c(e.s.bulkResult))}})};g.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw o(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentInsertBatch&&this.s.batches.push(this.s.currentInsertBatch),this.s.currentUpdateBatch&&this.s.batches.push(this.s.currentUpdateBatch),this.s.currentRemoveBatch&&this.s.batches.push(this.s.currentRemoveBatch),0==this.s.batches.length)throw o(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?x(this,t):new this.s.promiseLibrary(function(e,t){x(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var w=function(e,t,n){return new g(e,t,n)};w.UnorderedBulkOperation=g,t.exports=w,t.exports.Bulk=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],222:[function(e,t,n){(function(n,r){\"use strict\";function i(e){if(!d(e))return e;for(var t,n=Object.keys(e),r=n.length,o={};r--;)t=n[r],\"function\"==typeof e[t]?o[t]=new c(String(e[t])):o[t]=i(e[t]);return o}var o=e(\"./utils\").checkCollectionName,a=e(\"mongodb-core\").BSON.ObjectID,s=e(\"mongodb-core\").BSON.Long,c=e(\"mongodb-core\").BSON.Code,u=e(\"util\").format,p=e(\"./aggregation_cursor\"),l=e(\"mongodb-core\").MongoError,f=e(\"./utils\").shallowClone,d=e(\"./utils\").isObject,h=e(\"./utils\").toError,m=e(\"./utils\").normalizeHintField,v=e(\"./utils\").handleCallback,g=e(\"./utils\").decorateCommand,y=e(\"./utils\").formattedOrderClause,b=e(\"./read_preference\"),x=e(\"mongodb-core\").ReadPreference,w=e(\"./command_cursor\"),_=e(\"./metadata\"),k=e(\"./cursor\"),j=e(\"./bulk/unordered\"),S=e(\"./bulk/ordered\"),E=function(t,n,i,s,c,p){o(s);var l=null,f=null==p||null==p.slaveOk?t.slaveOk:p.slaveOk,d=null==p||null==p.serializeFunctions?t.serializeFunctions:p.serializeFunctions,h=null==p||null==p.raw?t.raw:p.raw,m=null,v=null,g=u(\"%s.%s\",i,s),y=p.promiseLibrary;y||(y=\"function\"==typeof r.Promise?r.Promise:e(\"es6-promise\").Promise),p&&p.readPreference?m=p.readPreference:t.options.readPreference&&(m=t.options.readPreference),c=null==c?a:c,this.s={pkFactory:c,db:t,topology:n,dbName:i,options:p,namespace:g,readPreference:m,raw:h,slaveOk:f,serializeFunctions:d,internalHint:l,collectionHint:v,name:s,promiseLibrary:y,readConcern:p.readConcern}},O=E.define=new _(\"Collection\",E,!1);Object.defineProperty(E.prototype,\"collectionName\",{enumerable:!0,get:function(){return this.s.name}}),Object.defineProperty(E.prototype,\"namespace\",{enumerable:!0,get:function(){return this.s.namespace}}),Object.defineProperty(E.prototype,\"readConcern\",{enumerable:!0,get:function(){return this.s.readConcern||{level:\"local\"}}}),Object.defineProperty(E.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}}),Object.defineProperty(E.prototype,\"hint\",{enumerable:!0,get:function(){return this.s.collectionHint},set:function(e){this.s.collectionHint=m(e)}}),E.prototype.find=function(){var e,t=Array.prototype.slice.call(arguments,0),r=\"function\"==typeof t[t.length-1],i=\"function\"==typeof t[0],o=r?t.pop():i?t.shift():null,s=t.length,c=s>=1?t[0]:{},u=s>=2?t[1]:void 0;if(1===s&&i&&(c={},e=t[0]),2!==s||void 0===u||Array.isArray(u)){if(2===s&&Array.isArray(u)&&!Array.isArray(u[0])){for(var p={},f=0;f<u.length;f++)p[u[f]]=1;u=p}}else{for(var d=Object.keys(u),h=!1,f=0;f<d.length;f++)if(null!=me[d[f]]){h=!0;break}h?(e=u,u=void 0):e={}}3===s&&(e=t[2]),c=null==c?{}:c;var g=c;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query selector raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}var g=u;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query fields raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}if((c instanceof a||null!=c&&\"ObjectID\"==c._bsontype)&&(c={_id:c}),e&&e.fields&&!n.isBuffer(e.fields))if(u={},Array.isArray(e.fields))if(e.fields.length)for(var f=0,w=e.fields.length;w>f;f++)u[e.fields[f]]=1;else u._id=1;else u=e.fields;e||(e={});var _={};for(var k in e)_[k]=e[k];if(_.skip=s>3?t[2]:e.skip?e.skip:0,_.limit=s>3?t[3]:e.limit?e.limit:0,_.raw=null!=e.raw&&\"boolean\"==typeof e.raw?e.raw:this.s.raw,_.hint=null!=e.hint?m(e.hint):this.s.collectionHint,_.timeout=5==s?t[4]:\"undefined\"==typeof e.timeout?void 0:e.timeout,_.slaveOk=null!=e.slaveOk?e.slaveOk:this.s.db.slaveOk,_=he(this,_,this.s.db,this),null==_.readPreference||\"primary\"==_.readPreference&&\"primary\"==_.readPreference.mode||(_.slaveOk=!0),null!=c&&\"object\"!=typeof c)throw l.create({message:\"query selector must be an object\",driver:!0});var j={find:this.s.namespace,limit:_.limit,skip:_.skip,query:c};\"boolean\"==typeof _.awaitdata&&(_.awaitData=_.awaitdata),\"boolean\"==typeof _.timeout&&(_.noCursorTimeout=_.timeout);for(var S in _)null!=_[S]&&(j[S]=_[S]);var E=function(e){var t={};if(Array.isArray(e))for(var n=0;n<e.length;n++)Array.isArray(e[n])?t[e[n][0]]=e[n][1]:t[e[n][0]]=1;else t=e;return t};return u&&(j.fields=E(u)),_.db=this.s.db,_.promiseLibrary=this.s.promiseLibrary,null==_.raw&&this.s.raw&&(_.raw=this.s.raw),j.sort&&(j.sort=y(j.sort)),this.s.readConcern&&(j.readConcern=this.s.readConcern),\"function\"==typeof o?v(o,null,this.s.topology.cursor(this.s.namespace,j,_)):this.s.topology.cursor(this.s.namespace,j,_)},O.classMethod(\"find\",{callback:!1,promise:!1,returns:[k]}),E.prototype.insertOne=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&\"function\"==typeof n?n(l.create({message:\"doc parameter must be an object\",driver:!0})):Array.isArray(e)?new this.s.promiseLibrary(function(e,t){t(l.create({message:\"doc parameter must be an object\",driver:!0}))}):(this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var A=function(e,t,n,r){I(e,[t],n,function(e,n){if(null!=r){if(e&&r)return r(e);if(null==n)return r(null,{result:{ok:1}});n.insertedCount=n.result.n,n.insertedId=t._id,r&&r(null,n)}})},C=function(e,t){\nfor(var n=t.getInsertedIds(),r=Object.keys(n),i=new Array(r.length),o=0;o<r.length;o++)n[r[o]]._id&&(i[n[r[o]].index]=n[r[o]]._id);var a={result:{ok:1,n:t.insertedCount},ops:e,insertedCount:t.insertedCount,insertedIds:i};return t.getLastOp()&&(a.result.opTime=t.getLastOp()),a};O.classMethod(\"insertOne\",{callback:!0,promise:!0}),E.prototype.insertMany=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e)&&\"function\"==typeof n)return n(l.create({message:\"docs parameter must be an array of documents\",driver:!0}));if(!Array.isArray(e))return new this.s.promiseLibrary(function(e,t){t(l.create({message:\"docs parameter must be an array of documents\",driver:!0}))});\"boolean\"!=typeof t.checkKeys&&(t.checkKeys=!0),t.serializeFunctions=t.serializeFunctions||r.s.serializeFunctions;var i=\"boolean\"==typeof t.forceServerObjectId?t.forceServerObjectId:r.s.db.options.forceServerObjectId;if(i!==!0)for(var o=0;o<e.length;o++)null==e[o]._id&&(e[o]._id=r.s.pkFactory.createPk());var a=[{insertMany:e}];return\"function\"==typeof n?T(r,a,t,function(t,r){return t?n(t,r):void n(null,C(e,r))}):new this.s.promiseLibrary(function(n,i){T(r,a,t,function(t,r){return t?i(t):void n(C(e,r))})})},O.classMethod(\"insertMany\",{callback:!0,promise:!0}),E.prototype.bulkWrite=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e))throw l.create({message:\"operations must be an array of documents\",driver:!0});return\"function\"==typeof n?T(r,e,t,n):new this.s.promiseLibrary(function(n,i){T(r,e,t,function(e,t){return e&&null==t?i(e):void n(t)})})};var T=function(e,t,n,r){e.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=e.s.options.ignoreUndefined);var i=1==n.ordered||null==n.ordered?e.initializeOrderedBulkOp(n):e.initializeUnorderedBulkOp(n);try{for(var o=0;o<t.length;o++)i.raw(t[o])}catch(a){return r(a,null)}var s=de(f(n),e.s.db,e,n),c=s.writeConcern?s.writeConcern:{};i.execute(c,function(e,t){if(!t&&e)return r(e,null);if(t&&t.hasWriteErrors()&&1==t.getWriteErrorCount())return r(h(t.getWriteErrorAt(0)),t);t.insertedCount=t.nInserted,t.matchedCount=t.nMatched,t.modifiedCount=t.nModified||0,t.deletedCount=t.nRemoved,t.upsertedCount=t.getUpsertedIds().length,t.upsertedIds={},t.insertedIds={},t.n=t.insertedCount;for(var n=t.getInsertedIds(),i=0;i<n.length;i++)t.insertedIds[n[i].index]=n[i]._id;for(var o=t.getUpsertedIds(),i=0;i<o.length;i++)t.upsertedIds[o[i].index]=o[i]._id;if(t.hasWriteErrors()){var a=t.getWriteErrors();return r(h({message:\"write operation failed\",code:a[0].code,writeErrors:a}),t)}return t.getWriteConcernError()?r(h(t.getWriteConcernError()),t):void r(null,t)})},I=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={}),n=n||{},t=Array.isArray(t)?t:[t];var i=de(f(n),e.s.db,e,n);\"boolean\"!=typeof i.checkKeys&&(i.checkKeys=!0),1==i.keepGoing&&(i.ordered=!1),i.serializeFunctions=n.serializeFunctions||e.s.serializeFunctions;var o=\"boolean\"==typeof n.forceServerObjectId?n.forceServerObjectId:e.s.db.options.forceServerObjectId;if(o!==!0)for(var a=0;a<t.length;a++)null==t[a]._id&&(t[a]._id=e.s.pkFactory.createPk());e.s.topology.insert(e.s.namespace,t,i,function(e,n){if(null!=r){if(e)return v(r,e);if(null==n)return v(r,null,null);if(n.result.code)return v(r,h(n.result));if(n.result.writeErrors)return v(r,h(n.result.writeErrors[0]));n.ops=t,v(r,null,n)}})};O.classMethod(\"bulkWrite\",{callback:!0,promise:!0}),E.prototype.insert=function(e,t,n){return\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!1},e=Array.isArray(e)?e:[e],1==t.keepGoing&&(t.ordered=!1),this.insertMany(e,t,n)},O.classMethod(\"insert\",{callback:!0,promise:!0}),E.prototype.updateOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?P(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){P(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var P=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateOne\",{callback:!0,promise:!0}),E.prototype.replaceOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,t.ops=[n],i&&i(null,t)}})};O.classMethod(\"replaceOne\",{callback:!0,promise:!0}),E.prototype.updateMany=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){r.multi=!0,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateMany\",{callback:!0,promise:!0});var z=function(e,t,n,r,i){if(\"function\"==typeof r&&(i=r,r=null),null==r&&(r={}),\"function\"!=typeof i&&(i=null),null==t||\"object\"!=typeof t)return i(h(\"selector must be a valid JavaScript object\"));if(null==n||\"object\"!=typeof n)return i(h(\"document must be a valid JavaScript object\"));var o=de(f(r),e.s.db,e,r);o.serializeFunctions=r.serializeFunctions||e.s.serializeFunctions;var a={q:t,u:n};a.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,a.multi=\"boolean\"==typeof r.multi?r.multi:!1,e.s.topology.update(e.s.namespace,[a],o,function(e,t){return null!=i?e?v(i,e,null):null==t?v(i,null,null):t.result.code?v(i,h(t.result)):t.result.writeErrors?v(i,h(t.result.writeErrors[0])):void v(i,null,t):void 0})};E.prototype.update=function(e,t,n,r){var i=this;return this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?z(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){z(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},O.classMethod(\"update\",{callback:!0,promise:!0}),E.prototype.deleteOne=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?B(r,e,t,n):new this.s.promiseLibrary(function(n,i){B(r,e,t,function(e,t){return e?i(e):void n(t)})})};var B=function(e,t,n,r){n.single=!0,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})};O.classMethod(\"deleteOne\",{callback:!0,promise:!0}),E.prototype.removeOne=E.prototype.deleteOne,O.classMethod(\"removeOne\",{callback:!0,promise:!0}),E.prototype.deleteMany=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?N(r,e,t,n):new this.s.promiseLibrary(function(n,i){N(r,e,t,function(e,t){return e?i(e):void n(t)})})};var N=function(e,t,n,r){n.single=!1,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})},D=function(e,t,n,r){\"function\"==typeof n?(r=n,n={}):\"function\"==typeof t&&(r=t,n={},t={}),n=n||{};var i=de(f(n),e.s.db,e,n);null==t&&(t={});var o={q:t,limit:0};n.single&&(o.limit=1),e.s.topology.remove(e.s.namespace,[o],i,function(e,t){return null!=r?e?v(r,e,null):null==t?v(r,null,null):t.result.code?v(r,h(t.result)):t.result.writeErrors?v(r,h(t.result.writeErrors[0])):void v(r,null,t):void 0})};O.classMethod(\"deleteMany\",{callback:!0,promise:!0}),E.prototype.removeMany=E.prototype.deleteMany,O.classMethod(\"removeMany\",{callback:!0,promise:!0}),E.prototype.remove=function(e,t,n){var r=this;return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})},O.classMethod(\"remove\",{callback:!0,promise:!0}),E.prototype.save=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?q(r,e,t,n):new this.s.promiseLibrary(function(n,i){q(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r){var i=de(f(n),e.s.db,e,n);return null!=t._id?(i.upsert=!0,z(e,{_id:t._id},t,i,r)):void I(e,[t],n,function(e,n){return null!=r?null==t?v(r,null,null):e?v(r,e,null):void v(r,null,n):void 0})};O.classMethod(\"save\",{callback:!0,promise:!0}),E.prototype.findOne=function(){var e=this,t=Array.prototype.slice.call(arguments,0),n=t.pop();return\"function\"!=typeof n&&t.push(n),\"function\"==typeof n?R(e,t,n):new this.s.promiseLibrary(function(n,r){R(e,t,function(e,t){return e?r(e):void n(t)})})};var R=function(e,t,n){var r=e.find.apply(e,t).limit(-1).batchSize(1);r.next(function(e,t){return null!=e?v(n,h(e),null):void v(n,null,t)})};O.classMethod(\"findOne\",{callback:!0,promise:!0}),E.prototype.rename=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?L(r,e,t,n):new this.s.promiseLibrary(function(n,i){L(r,e,t,function(e,t){return e?i(e):void n(t)})})};var L=function(e,t,n,r){o(t);var i=u(\"%s.%s\",e.s.dbName,e.s.name),a=u(\"%s.%s\",e.s.dbName,t),s=\"boolean\"==typeof n.dropTarget?n.dropTarget:!1,c={renameCollection:i,to:a,dropTarget:s};e.s.db.admin().command(c,n,function(n,i){if(n)return v(r,n,null);if(i.errmsg)return v(r,h(i),null);try{return v(r,null,new E(e.s.db,e.s.topology,e.s.dbName,t,e.s.pkFactory,e.s.options))}catch(n){return v(r,h(n),null)}})};O.classMethod(\"rename\",{callback:!0,promise:!0}),E.prototype.drop=function(e){var t=this;return\"function\"==typeof e?t.s.db.dropCollection(t.s.name,e):new this.s.promiseLibrary(function(e,n){t.s.db.dropCollection(t.s.name,function(t,r){return t?n(t):void e(r)})})},O.classMethod(\"drop\",{callback:!0,promise:!0}),E.prototype.options=function(e){var t=this;return\"function\"==typeof e?$(t,e):new this.s.promiseLibrary(function(e,n){$(t,function(t,r){return t?n(t):void e(r)})})};var $=function(e,t){e.s.db.listCollections({name:e.s.name}).toArray(function(n,r){return n?v(t,n):0==r.length?v(t,l.create({message:u(\"collection %s not found\",e.s.namespace),driver:!0})):void v(t,n,r[0].options||null)})};O.classMethod(\"options\",{callback:!0,promise:!0}),E.prototype.isCapped=function(e){var t=this;return\"function\"==typeof e?U(t,e):new this.s.promiseLibrary(function(e,n){U(t,function(t,r){return t?n(t):void e(r)})})};var U=function(e,t){e.options(function(e,n){return e?v(t,e):void v(t,null,n&&n.capped)})};O.classMethod(\"isCapped\",{callback:!0,promise:!0}),E.prototype.createIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t=\"function\"==typeof n?t:n,t=null==t?{}:t,\"function\"==typeof n?H(r,e,t,n):new this.s.promiseLibrary(function(n,i){H(r,e,t,function(e,t){return e?i(e):void n(t)})})};var H=function(e,t,n,r){e.s.db.createIndex(e.s.name,t,n,r)};O.classMethod(\"createIndex\",{callback:!0,promise:!0}),E.prototype.createIndexes=function(e,t){var n=this;return\"function\"==typeof t?V(n,e,t):new this.s.promiseLibrary(function(t,r){V(n,e,function(e,n){return e?r(e):void t(n)})})};var V=function(e,t,n){for(var r=0;r<t.length;r++)if(null==t[r].name){var i=[];for(var o in t[r].key)i.push(u(\"%s_%s\",o,t[r].key[o]));t[r].name=i.join(\"_\")}e.s.db.command({createIndexes:e.s.name,indexes:t},{readPreference:b.PRIMARY},n)};O.classMethod(\"createIndexes\",{callback:!0,promise:!0}),E.prototype.dropIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t.readPreference=b.PRIMARY,\"function\"==typeof n?W(r,e,t,n):new this.s.promiseLibrary(function(n,i){W(r,e,t,function(e,t){return e?i(e):void n(t)})})};var W=function(e,t,n,r){var i={deleteIndexes:e.s.name,index:t};e.s.db.command(i,n,function(e,t){return\"function\"==typeof r?e?v(r,e,null):void v(r,null,t):void 0})};O.classMethod(\"dropIndex\",{callback:!0,promise:!0}),E.prototype.dropIndexes=function(e){var t=this;return\"function\"==typeof e?Y(t,e):new this.s.promiseLibrary(function(e,n){Y(t,function(t,r){return t?n(t):void e(r)})})};var Y=function(e,t){e.dropIndex(\"*\",function(e,n){return e?v(t,e,!1):void v(t,null,!0)})};O.classMethod(\"dropIndexes\",{callback:!0,promise:!0}),E.prototype.dropAllIndexes=E.prototype.dropIndexes,O.classMethod(\"dropAllIndexes\",{callback:!0,promise:!0}),E.prototype.reIndex=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={}),e=e||{},\"function\"==typeof t?K(n,e,t):new this.s.promiseLibrary(function(t,r){K(n,e,function(e,n){return e?r(e):void t(n)})})};var K=function(e,t,n){var r={reIndex:e.s.name};e.s.db.command(r,t,function(e,t){return null!=n?e?v(n,e,null):void v(n,null,!!t.ok):void 0})};O.classMethod(\"reIndex\",{callback:!0,promise:!0}),E.prototype.listIndexes=function(e){if(e=e||{},e=f(e),e.cursorFactory=w,e.promiseLibrary=this.s.promiseLibrary,!this.s.topology.capabilities())throw new l(\"cannot connect to server\");if(this.s.topology.capabilities().hasListIndexesCommand){var t=e.batchSize?{batchSize:e.batchSize}:{},n={listIndexes:this.s.name,cursor:t},t=this.s.topology.cursor(u(\"%s.$cmd\",this.s.dbName),n,e);return e.readPreference&&t.setReadPreference(e.readPreference),t}var r=u(\"%s.system.indexes\",this.s.dbName),t=this.s.topology.cursor(r,{find:r,query:{ns:this.s.namespace}},e);return e.readPreference&&t.setReadPreference(e.readPreference),e.batchSize&&(t=t.batchSize(e.batchSize)),t},O.classMethod(\"listIndexes\",{callback:!1,promise:!1,returns:[w]}),E.prototype.ensureIndex=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?G(r,e,t,n):new this.s.promiseLibrary(function(n,i){G(r,e,t,function(e,t){return e?i(e):void n(t)})})};var G=function(e,t,n,r){e.s.db.ensureIndex(e.s.name,t,n,r)};O.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),E.prototype.indexExists=function(e,t){var n=this;return\"function\"==typeof t?J(n,e,t):new this.s.promiseLibrary(function(t,r){J(n,e,function(e,n){return e?r(e):void t(n)})})};var J=function(e,t,n){e.indexInformation(function(e,r){if(null!=e)return v(n,e,null);if(!Array.isArray(t))return v(n,null,null!=r[t]);for(var i=0;i<t.length;i++)if(null==r[t[i]])return v(n,null,!1);return v(n,null,!0)})};O.classMethod(\"indexExists\",{callback:!0,promise:!0}),E.prototype.indexInformation=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?Z(n,e,t):new this.s.promiseLibrary(function(t,r){Z(n,e,function(e,n){return e?r(e):void t(n)})})};var Z=function(e,t,n){e.s.db.indexInformation(e.s.name,t,n)};O.classMethod(\"indexInformation\",{callback:!0,promise:!0}),E.prototype.count=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n);var o=i.length?i.shift()||{}:{},a=i.length?i.shift()||{}:{};return\"function\"==typeof n?Q(r,o,a,n):(e=e||{},t=t||{},new this.s.promiseLibrary(function(n,i){Q(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var Q=function(e,t,n,r){var i=n.skip,o=n.limit,a=n.hint,s=(n.maxTimeMS,{count:e.s.name,query:t});\"number\"==typeof i&&(s.skip=i),\"number\"==typeof o&&(s.limit=o),a&&(n.hint=a),n=f(n),n=he(e,n,e.s.db,e),e.s.readConcern&&(s.readConcern=e.s.readConcern),e.s.db.command(s,n,function(e,t){return e?v(r,e):void v(r,null,t.n)})};O.classMethod(\"count\",{callback:!0,promise:!0}),E.prototype.distinct=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);r=o.pop(),\"function\"!=typeof r&&o.push(r);var a=o.length?o.shift()||{}:{},s=o.length?o.shift()||{}:{};return\"function\"==typeof r?X(i,e,a,s,r):(t=t||{},n=n||{},new this.s.promiseLibrary(function(r,o){X(i,e,t,n,function(e,t){return e?o(e):void r(t)})}))};var X=function(e,t,n,r,i){var o=(r.maxTimeMS,{distinct:e.s.name,key:t,query:n});r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):void v(i,null,t.values)})};O.classMethod(\"distinct\",{callback:!0,promise:!0}),E.prototype.indexes=function(e){var t=this;return\"function\"==typeof e?ee(t,e):new this.s.promiseLibrary(function(e,n){ee(t,function(t,r){return t?n(t):void e(r)})})};var ee=function(e,t){e.s.db.indexInformation(e.s.name,{full:!0},t)};O.classMethod(\"indexes\",{callback:!0,promise:!0}),E.prototype.stats=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?te(n,e,t):new this.s.promiseLibrary(function(t,r){te(n,e,function(e,n){return e?r(e):void t(n)})})};var te=function(e,t,n){var r={collStats:e.s.name};null!=t.scale&&(r.scale=t.scale),t=f(t),t=he(e,t,e.s.db,e),e.s.db.command(r,t,n)};O.classMethod(\"stats\",{callback:!0,promise:!0}),E.prototype.findOneAndDelete=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");return\"function\"==typeof n?ne(r,e,t,n):new this.s.promiseLibrary(function(n,i){t=t||{},ne(r,e,t,function(e,t){return e?i(e):void n(t)})})};var ne=function(e,t,n,r){var i=f(n);i.fields=n.projection,i.remove=!0,e.findAndModify(t,n.sort,null,i,r)};O.classMethod(\"findOneAndDelete\",{callback:!0,promise:!0}),E.prototype.findOneAndReplace=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"replacement parameter must be an object\");return\"function\"==typeof r?re(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},re(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var re=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndReplace\",{callback:!0,promise:!0}),E.prototype.findOneAndUpdate=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"update parameter must be an object\");return\"function\"==typeof r?ie(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},ie(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ie=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndUpdate\",{callback:!0,promise:!0}),E.prototype.findAndModify=function(e,t,n,r,i){var o=this,a=Array.prototype.slice.call(arguments,1);i=a.pop(),\"function\"!=typeof i&&a.push(i),t=a.length?a.shift()||[]:[],n=a.length?a.shift():null,r=a.length?a.shift()||{}:{};var r=f(r);return r.readPreference=b.PRIMARY,\"function\"==typeof i?oe(o,e,t,n,r,i):new this.s.promiseLibrary(function(i,a){r=r||{},oe(o,e,t,n,r,function(e,t){return e?a(e):void i(t)})})};var oe=function(e,t,n,r,i,o){var a={findandmodify:e.s.name,query:t};n=y(n),n&&(a.sort=n),a[\"new\"]=!!i[\"new\"],a.remove=!!i.remove,a.upsert=!!i.upsert,i.fields&&(a.fields=i.fields),r&&!i.remove&&(a.update=r),null!=i.serializeFunctions?i.serializeFunctions=i.serializeFunctions:i.serializeFunctions=e.s.serializeFunctions,i.checkKeys=!1;var s=de(i,e.s.db,e,i);s.writeConcern&&(a.writeConcern=s.writeConcern),\"boolean\"==typeof s.bypassDocumentValidation&&(a.bypassDocumentValidation=s.bypassDocumentValidation),e.s.db.command(a,i,function(e,t){return e?v(o,e,null):v(o,null,t)})};O.classMethod(\"findAndModify\",{callback:!0,promise:!0}),E.prototype.findAndRemove=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift()||[]:[],n=o.length?o.shift()||{}:{},\"function\"==typeof r?ae(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ae(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ae=function(e,t,n,r,i){r.remove=!0,e.findAndModify(t,n,null,r,i)};O.classMethod(\"findAndRemove\",{callback:!0,promise:!0}),E.prototype.aggregate=function(e,t,n){if(Array.isArray(e))\"function\"==typeof t&&(n=t,t={}),null==t&&null==n&&(t={});else{var r=Array.prototype.slice.call(arguments,0);n=r.pop();var i=r[r.length-1];t=i&&(i.readPreference||i.explain||i.cursor||i.out||i.maxTimeMS||i.allowDiskUse)?r.pop():{},e=r}var o=!1;\"string\"==typeof t.out?(e.push({$out:t.out}),o=!0):e.length>0&&e[e.length-1].$out&&(o=!0);var a={aggregate:this.s.name,pipeline:e};if(\"boolean\"==typeof t.bypassDocumentValidation&&(a.bypassDocumentValidation=t.bypassDocumentValidation),!o&&this.s.readConcern&&(a.readConcern=this.s.readConcern),t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),t=f(t),t=he(this,t,this.s.db,this),t.explain&&(a.explain=t.explain),null!=t.cursor&&\"object\"!=typeof t.cursor)throw h(\"cursor options must be an object\");if(t.promiseLibrary=this.s.promiseLibrary,t.cursorFactory=p,\"function\"!=typeof n){if(!this.s.topology.capabilities())throw new l(\"cannot connect to server\");return this.s.topology.capabilities().hasAggregationCursor&&(t.cursor=t.cursor||{batchSize:1e3},a.cursor=t.cursor),\"boolean\"==typeof t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),this.s.topology.cursor(this.s.namespace,a,t)}return t.cursor?this.s.topology.cursor(this.s.namespace,a,t):void this.s.db.command(a,t,function(e,t){e?v(n,e):t.err||t.errmsg?v(n,h(t)):\"object\"==typeof t&&t.serverPipeline?v(n,null,t.serverPipeline):\"object\"==typeof t&&t.stages?v(n,null,t.stages):v(n,null,t.result)})},O.classMethod(\"aggregate\",{callback:!0,promise:!1}),E.prototype.parallelCollectionScan=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={numCursors:1}),e.numCursors=e.numCursors||1,e.batchSize=e.batchSize||1e3,e=f(e),e=he(this,e,this.s.db,this),e.promiseLibrary=this.s.promiseLibrary,\"function\"==typeof t?se(n,e,t):new this.s.promiseLibrary(function(t,r){se(n,e,function(e,n){return e?r(e):void t(n)})})};var se=function(e,t,n){var r={parallelCollectionScan:e.s.name,numCursors:t.numCursors};e.s.readConcern&&(r.readConcern=e.s.readConcern);var i=t.raw;delete t.raw,e.s.db.command(r,t,function(r,o){if(r)return v(n,r,null);if(null==o)return v(n,new Error(\"no result returned for parallelCollectionScan\"),null);var a=[];i&&(t.raw=i);for(var c=0;c<o.cursors.length;c++){var u=o.cursors[c].cursor.id,p=\"number\"==typeof u?s.fromNumber(u):u;({batchSize:t.batchSize,cursorId:p,items:o.cursors[c].cursor.firstBatch});a.push(e.s.topology.cursor(e.s.namespace,p,t))}v(n,null,a)})};O.classMethod(\"parallelCollectionScan\",{callback:!0,promise:!0}),E.prototype.geoNear=function(e,t,n,r){var i=this,o=\"object\"==typeof e&&e,a=Array.prototype.slice.call(arguments,o?1:2);return r=a.pop(),\"function\"!=typeof r&&a.push(r),n=a.length?a.shift()||{}:{},\"function\"==typeof r?ce(i,e,t,o,n,r):new this.s.promiseLibrary(function(r,a){ce(i,e,t,o,n,function(e,t){return e?a(e):void r(t)})})};var ce=function(e,t,n,r,i,o){var a={geoNear:e.s.name,near:r||[t,n]};i=f(i),i=he(e,i,e.s.db,e);var s={readPreference:!0,geoNear:!0,near:!0};a=g(a,i,s),e.s.readConcern&&(a.readConcern=e.s.readConcern),e.s.db.command(a,i,function(e,t){return e?v(o,e):t.err||t.errmsg?v(o,h(t)):void v(o,null,t)})};O.classMethod(\"geoNear\",{callback:!0,promise:!0}),E.prototype.geoHaystackSearch=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?ue(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ue(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ue=function(e,t,n,r,i){var o={geoSearch:e.s.name,near:[t,n]};o=g(o,r,{readPreference:!0}),r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):((t.err||t.errmsg)&&v(i,utils.toError(t)),void v(i,null,t))})};O.classMethod(\"geoHaystackSearch\",{callback:!0,promise:!0});var pe='function () {\\nvar c = db[ns].find(condition);\\nvar map = new Map();\\nvar reduce_function = reduce;\\n\\nwhile (c.hasNext()) {\\nvar obj = c.next();\\nvar key = {};\\n\\nfor (var i = 0, len = keys.length; i < len; ++i) {\\nvar k = keys[i];\\nkey[k] = obj[k];\\n}\\n\\nvar aggObj = map.get(key);\\n\\nif (aggObj == null) {\\nvar newObj = Object.extend({}, key);\\naggObj = Object.extend(newObj, initial);\\nmap.put(key, aggObj);\\n}\\n\\nreduce_function(obj, aggObj);\\n}\\n\\nreturn { \"result\": map.values() };\\n}';E.prototype.group=function(e,t,n,r,i,o,a,s){var u=this,p=Array.prototype.slice.call(arguments,3);return s=p.pop(),\"function\"!=typeof s&&p.push(s),r=p.length?p.shift():null,i=p.length?p.shift():null,o=p.length?p.shift():null,a=p.length?p.shift()||{}:{},\"function\"!=typeof i&&(o=i,i=null),Array.isArray(e)||!(e instanceof Object)||\"function\"==typeof e||e instanceof c||(e=Object.keys(e)),\"function\"==typeof r&&(r=r.toString()),\"function\"==typeof i&&(i=i.toString()),o=null==o?!0:o,\"function\"==typeof s?le(u,e,t,n,r,i,o,a,s):new this.s.promiseLibrary(function(s,c){le(u,e,t,n,r,i,o,a,function(e,t){return e?c(e):void s(t)})})};var le=function(e,t,n,r,i,o,a,s,u){if(a){var p=i instanceof c?i:new c(i),l={group:{ns:e.s.name,$reduce:p,cond:n,initial:r,out:\"inline\"}};if(null!=o&&(l.group.finalize=o),\"function\"==typeof t||t instanceof c)l.group.$keyf=t instanceof c?t:new c(t);else{var d={};t.forEach(function(e){d[e]=1}),l.group.key=d}s=f(s),s=he(e,s,e.s.db,e),e.s.readConcern&&(l.readConcern=e.s.readConcern),e.s.db.command(l,s,function(e,t){return e?v(u,e,null):void v(u,null,t.retval)})}else{var h=null!=i&&i instanceof c?i.scope:{};h.ns=e.s.name,h.keys=t,h.condition=n,h.initial=r;var m=pe.replace(/ reduce;/,i.toString()+\";\");e.s.db.eval(new c(m,h),function(e,t){return e?v(u,e,null):void v(u,null,t.result||t)})}};O.classMethod(\"group\",{callback:!0,promise:!0}),E.prototype.mapReduce=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),null==n.out)throw new Error(\"the out option parameter must be defined, see mongodb docs for possible values\");return\"function\"==typeof e&&(e=e.toString()),\"function\"==typeof t&&(t=t.toString()),\"function\"==typeof n.finalize&&(n.finalize=n.finalize.toString()),\"function\"==typeof r?fe(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){fe(i,e,t,n,function(e,t,n){return e?o(e):n?void r({results:t,stats:n}):r(t)})})};var fe=function(e,t,n,r,o){var a={mapreduce:e.s.name,map:t,reduce:n};for(var s in r)\"scope\"==s?a[s]=i(r[s]):a[s]=r[s];r=f(r),r=he(e,r,e.s.db,e),0!=r.readPreference&&\"primary\"!=r.readPreference&&r.out&&1!=r.out.inline&&\"inline\"!=r.out?r.readPreference=\"primary\":e.s.readConcern&&(a.readConcern=e.s.readConcern),\"boolean\"==typeof r.bypassDocumentValidation&&(a.bypassDocumentValidation=r.bypassDocumentValidation),e.s.db.command(a,{readPreference:r.readPreference},function(t,n){if(t)return v(o,t);if(1!=n.ok||n.err||n.errmsg)return v(o,h(n));var i={};if(n.timeMillis&&(i.processtime=n.timeMillis),n.counts&&(i.counts=n.counts),n.timing&&(i.timing=n.timing),n.results)return null!=r.verbose&&r.verbose?v(o,null,n.results,i):v(o,null,n.results);var a=null;if(null!=n.result&&\"object\"==typeof n.result){var s=n.result;a=e.s.db.db(s.db).collection(s.collection)}else a=e.s.db.collection(n.result);return null!=r.verbose&&r.verbose?void v(o,t,a,i):v(o,t,a)})};O.classMethod(\"mapReduce\",{callback:!0,promise:!0}),E.prototype.initializeUnorderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,j(this.s.topology,this,e)},O.classMethod(\"initializeUnorderedBulkOp\",{callback:!1,promise:!1,returns:[S.UnorderedBulkOperation]}),E.prototype.initializeOrderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,S(this.s.topology,this,e)},O.classMethod(\"initializeOrderedBulkOp\",{callback:!1,promise:!1,returns:[S.OrderedBulkOperation]});var de=function(e,t,n,r){if(null!=r.w||null!=r.j||null!=r.fsync){var i={};null!=r.w&&(i.w=r.w),null!=r.wtimeout&&(i.wtimeout=r.wtimeout),null!=r.j&&(i.j=r.j),null!=r.fsync&&(i.fsync=r.fsync),e.writeConcern=i}else null!=n.writeConcern.w||null!=n.writeConcern.j||null!=n.writeConcern.fsync?e.writeConcern=n.writeConcern:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},he=function(e,t,n,r){var i=null;if(t.readPreference?i=t.readPreference:e.s.readPreference?i=e.s.readPreference:n.readPreference&&(i=n.readPreference),i instanceof b)t.readPreference=new x(i.mode,i.tags);else if(\"string\"==typeof i)t.readPreference=new x(i);else if(i&&!(i instanceof b)&&\"object\"==typeof i){var o=i.mode||i.preference;o&&\"string\"==typeof o&&(t.readPreference=new x(o,i.tags))}return t},me={limit:1,sort:1,fields:1,skip:1,hint:1,explain:1,snapshot:1,timeout:1,tailable:1,tailableRetryInterval:1,numberOfRetries:1,awaitdata:1,awaitData:1,exhaust:1,batchSize:1,returnKey:1,maxScan:1,min:1,max:1,showDiskLoc:1,comment:1,raw:1,readPreference:1,partial:1,read:1,dbName:1,oplogReplay:1,connection:1,maxTimeMS:1,transforms:1};t.exports=E}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")},\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],223:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\")),o=e(\"mongodb-core\").MongoError,a=e(\"stream\").Readable||e(\"readable-stream\").Readable,s=e(\"./metadata\"),c=e(\"./cursor\"),u=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),p=function(t,r,i,o,s,u){c.apply(this,Array.prototype.slice.call(arguments,0));var l=p.INIT,f={},d=null,h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:s,topologyOptions:u,promiseLibrary:h}};r(p,a);for(var l=[\"_next\",\"next\",\"each\",\"forEach\",\"toArray\",\"rewind\",\"bufferedCount\",\"readBufferedDocuments\",\"close\",\"isClosed\",\"kill\",\"_find\",\"_getmore\",\"_killcursor\",\"isDead\",\"explain\",\"isNotified\",\"isKilled\"],f=0;f<l.length;f++)p.prototype[l[f]]=c.prototype[l[f]];var d=p.define=new s(\"CommandCursor\",p,!0);p.prototype.setReadPreference=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({\nmessage:\"Cursor is closed\",driver:!0});if(this.s.state!=p.INIT)throw o.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof i?this.s.options.readPreference=new u(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new u(e):e instanceof u&&(this.s.options.readPreference=e),this},d.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[p]}),p.prototype.batchSize=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw o.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},d.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[p]}),p.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},d.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[p]}),p.prototype.get=p.prototype.toArray,d.classMethod(\"get\",{callback:!0,promise:!1}),d.classMethod(\"toArray\",{callback:!0,promise:!0}),d.classMethod(\"each\",{callback:!0,promise:!1}),d.classMethod(\"forEach\",{callback:!0,promise:!1}),d.classMethod(\"next\",{callback:!0,promise:!0}),d.classMethod(\"close\",{callback:!0,promise:!0}),d.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),d.classMethod(\"rewind\",{callback:!1,promise:!1}),d.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),d.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),p.INIT=0,p.OPEN=1,p.CLOSED=2,t.exports=p}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],224:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"util\").format,o=e(\"./utils\").formattedOrderClause,a=e(\"./utils\").handleCallback,s=e(\"./read_preference\"),c=e(\"mongodb-core\").MongoError,u=e(\"stream\").Readable||e(\"readable-stream\").Readable,p=e(\"./metadata\"),l=e(\"mongodb-core\").Cursor,f=e(\"mongodb-core\").BSON.Map,d=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),h=[\"tailable\",\"oplogReplay\",\"noCursorTimeout\",\"awaitData\",\"exhaust\",\"partial\"],m=[\"numberOfRetries\",\"tailableRetryInterval\"],v=Array.prototype.push,g=function(t,r,i,o,a,s){l.apply(this,Array.prototype.slice.call(arguments,0));var c=this,p=g.INIT,f={},d=o.numberOfRetries||5,h=o.tailableRetryInterval||500,m=d,v=o.promiseLibrary;v||(v=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),u.call(this,{objectMode:!0}),this.s={numberOfRetries:d,tailableRetryInterval:h,currentNumberOfRetries:m,state:p,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:a,topologyOptions:s,promiseLibrary:v,currentDoc:null},this.timeout=1==c.s.options.noCursorTimeout,this.sortValue=c.s.cmd.sort};r(g,u),l.prototype._next=l.prototype.next;for(var y in l.prototype)g.prototype[y]=l.prototype[y];var b=g.define=new p(\"Cursor\",g,!0);g.prototype.hasNext=function(e){var t=this;return\"function\"==typeof e?t.s.currentDoc?e(null,!0):x(t,function(n,r){return r?(t.s.currentDoc=r,void e(null,!0)):e(null,!1)}):new this.s.promiseLibrary(function(e,n){t.s.currentDoc?e(!0):x(t,function(r,i){return t.s.state==g.CLOSED||t.isDead()?e(!1):r?n(r):i?(t.s.currentDoc=i,void e(!0)):e(!1)})})},b.classMethod(\"hasNext\",{callback:!0,promise:!0}),g.prototype.next=function(e){var t=this;if(\"function\"==typeof e){if(t.s.currentDoc){var n=t.s.currentDoc;return t.s.currentDoc=null,e(null,n)}return x(t,e)}return new this.s.promiseLibrary(function(e,n){if(t.s.currentDoc){var r=t.s.currentDoc;return t.s.currentDoc=null,e(r)}x(t,function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.filter=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.query=e,this},b.classMethod(\"filter\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxScan=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxScan=e,this},b.classMethod(\"maxScan\",{callback:!1,promise:!1,returns:[g]}),g.prototype.hint=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.hint=e,this},b.classMethod(\"hint\",{callback:!1,promise:!1,returns:[g]}),g.prototype.min=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.min=e,this},b.classMethod(\"min\",{callback:!1,promise:!1,returns:[g]}),g.prototype.max=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.max=e,this},b.classMethod(\"max\",{callback:!1,promise:!1,returns:[g]}),g.prototype.returnKey=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.returnKey=e,this},b.classMethod(\"returnKey\",{callback:!1,promise:!1,returns:[g]}),g.prototype.showRecordId=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.showDiskLoc=e,this},b.classMethod(\"showRecordId\",{callback:!1,promise:!1,returns:[g]}),g.prototype.snapshot=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.snapshot=e,this},b.classMethod(\"snapshot\",{callback:!1,promise:!1,returns:[g]}),g.prototype.setCursorOption=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==m.indexOf(e))throw c.create({message:i(\"option %s not a supported option %s\",e,m),driver:!0});return this.s[e]=t,\"numberOfRetries\"==e&&(this.s.currentNumberOfRetries=t),this},b.classMethod(\"setCursorOption\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addCursorFlag=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==h.indexOf(e))throw c.create({message:i(\"flag %s not a supported flag %s\",e,h),driver:!0});if(\"boolean\"!=typeof t)throw c.create({message:i(\"flag %s must be a boolean value\",e),driver:!0});return this.s.cmd[e]=t,this},b.classMethod(\"addCursorFlag\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addQueryModifier=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"$\"!=e[0])throw c.create({message:i(\"%s is not a valid query modifier\"),driver:!0});var n=e.substr(1);return this.s.cmd[n]=t,\"orderby\"==n&&(this.s.cmd.sort=this.s.cmd[n]),this},b.classMethod(\"addQueryModifier\",{callback:!1,promise:!1,returns:[g]}),g.prototype.comment=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.comment=e,this},b.classMethod(\"comment\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxAwaitTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxAwaitTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxAwaitTimeMS=e,this},b.classMethod(\"maxAwaitTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxTimeMS=e,this},b.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMs=g.prototype.maxTimeMS,b.classMethod(\"maxTimeMs\",{callback:!1,promise:!1,returns:[g]}),g.prototype.project=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.fields=e,this},b.classMethod(\"project\",{callback:!1,promise:!1,returns:[g]}),g.prototype.sort=function(e,t){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support sorting\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});var n=e;return Array.isArray(n)&&Array.isArray(n[0])&&(n=new f(n.map(function(e){var t=[e[0],null];if(\"asc\"==e[1])t[1]=1;else if(\"desc\"==e[1])t[1]=-1;else{if(1!=e[1]&&-1!=e[1])throw new c(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[1]=e[1]}return t}))),null!=t&&(n=[[e,t]]),this.s.cmd.sort=n,this.sortValue=n,this},b.classMethod(\"sort\",{callback:!1,promise:!1,returns:[g]}),g.prototype.batchSize=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support batchSize\",driver:!0});if(this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.batchSize=e,this.setCursorBatchSize(e),this},b.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[g]}),g.prototype.limit=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support limit\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"limit requires an integer\",driver:!0});return this.s.cmd.limit=e,this.setCursorLimit(e),this},b.classMethod(\"limit\",{callback:!1,promise:!1,returns:[g]}),g.prototype.skip=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support skip\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"skip requires an integer\",driver:!0});return this.s.cmd.skip=e,this.setCursorSkip(e),this},b.classMethod(\"skip\",{callback:!1,promise:!1,returns:[g]}),g.prototype.nextObject=g.prototype.next;var x=function(e,t){if(e.s.state==g.CLOSED||e.isDead&&e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));if(e.s.state==g.INIT&&e.s.cmd.sort)try{e.s.cmd.sort=o(e.s.cmd.sort)}catch(n){return a(t,n)}e._next(function(n,r){return e.s.state=g.OPEN,n?a(t,n):void a(t,null,r)})};b.classMethod(\"nextObject\",{callback:!0,promise:!0});var w=function(e,t){return 0!=e.bufferedCount()?(e._next(t),w):void 0};g.prototype.next=g.prototype.nextObject,b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.each=function(e){this.rewind(),this.s.state=g.INIT,_(this,e)},b.classMethod(\"each\",{callback:!0,promise:!1});var _=function(e,t){if(!t)throw c.create({message:\"callback is mandatory\",driver:!0});if(!e.isNotified()){if(e.s.state==g.CLOSED||e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));e.s.state==g.INIT&&(e.s.state=g.OPEN);var n=null;if(e.bufferedCount()>0){for(;n=w(e,t);)n(e,t);_(e,t)}else e.next(function(n,r){return n?a(t,n):null==r?(e.s.state=g.CLOSED,a(t,null,null)):void(0!=a(t,null,r)&&_(e,t))})}};g.prototype.forEach=function(e,t){this.each(function(n,r){if(n)return t(n),!1;if(null!=r)return e(r),!0;if(null==r&&t){var i=t;return t=null,i(null),!1}})},b.classMethod(\"forEach\",{callback:!0,promise:!1}),g.prototype.setReadPreference=function(e){if(this.s.state!=g.INIT)throw c.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof s?this.s.options.readPreference=new d(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new d(e):e instanceof d&&(this.s.options.readPreference=e),this},b.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[g]}),g.prototype.toArray=function(e){var t=this;if(t.s.options.tailable)throw c.create({message:\"Tailable cursor cannot be converted to array\",driver:!0});return\"function\"==typeof e?k(t,e):new this.s.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){var n=[];e.rewind(),e.s.state=g.INIT;var r=function(){e._next(function(i,o){if(i)return a(t,i);if(null==o)return e.s.state=g.CLOSED,a(t,null,n);if(n.push(o),e.bufferedCount()>0){var s=e.readBufferedDocuments(e.bufferedCount());e.s.transforms&&\"function\"==typeof e.s.transforms.doc&&(s=s.map(e.s.transforms.doc)),v.apply(n,s)}r()})};r()};b.classMethod(\"toArray\",{callback:!0,promise:!0}),g.prototype.count=function(e,t,n){var r=this;if(null==r.s.cmd.query)throw c.create({message:\"count can only be used with find command\",driver:!0});return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?j(r,e,t,n):new this.s.promiseLibrary(function(n,i){j(r,e,t,function(e,t){return e?i(e):void n(t)})})};var j=function(e,t,n,r){\"function\"==typeof t&&(r=t,t=!0),t&&(\"number\"==typeof e.cursorSkip()&&(n.skip=e.cursorSkip()),\"number\"==typeof e.cursorLimit()&&(n.limit=e.cursorLimit()));var o=e.s.ns.indexOf(\".\"),a={count:e.s.ns.substr(o+1),query:e.s.cmd.query};\"number\"==typeof n.maxTimeMS?a.maxTimeMS=n.maxTimeMS:e.s.cmd&&\"number\"==typeof e.s.cmd.maxTimeMS&&(a.maxTimeMS=e.s.cmd.maxTimeMS),n.skip&&(a.skip=n.skip),n.limit&&(a.limit=n.limit),e.s.options.hint&&(a.hint=e.s.options.hint),e.topology.command(i(\"%s.$cmd\",e.s.ns.substr(0,o)),a,function(e,t){r(e,t?t.result.n:null)})};b.classMethod(\"count\",{callback:!0,promise:!0}),g.prototype.close=function(e){return this.s.state=g.CLOSED,this.kill(),this.emit(\"close\"),\"function\"==typeof e?a(e,null,this):new this.s.promiseLibrary(function(e,t){e()})},b.classMethod(\"close\",{callback:!0,promise:!0}),g.prototype.map=function(e){return this.cursorState.transforms={doc:e},this},b.classMethod(\"map\",{callback:!1,promise:!1,returns:[g]}),g.prototype.isClosed=function(){return this.isDead()},b.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.destroy=function(e){e&&this.emit(\"error\",e),this.pause(),this.close()},b.classMethod(\"destroy\",{callback:!1,promise:!1}),g.prototype.stream=function(e){return this.s.streamOptions=e||{},this},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[g]}),g.prototype.explain=function(e){var t=this;return this.s.cmd.explain=!0,this.s.cmd.readConcern&&delete this.s.cmd.readConcern,\"function\"==typeof e?this._next(e):new this.s.promiseLibrary(function(e,n){t._next(function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"explain\",{callback:!0,promise:!0}),g.prototype._read=function(e){var t=this;return t.s.state==g.CLOSED||t.isDead()?t.push(null):void t.nextObject(function(e,n){return e?(t.listeners(\"error\")&&t.listeners(\"error\").length>0&&t.emit(\"error\",e),t.isDead()||t.close(),t.emit(\"end\"),t.emit(\"finish\")):\"function\"==typeof t.s.streamOptions.transform&&null!=n?t.push(t.s.streamOptions.transform(n)):t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.doc&&null!=n?t.push(t.cursorState.transforms.doc(n)):void t.push(n)})},Object.defineProperty(g.prototype,\"readPreference\",{enumerable:!0,get:function(){return this&&this.s?this.s.options.readPreference:null}}),Object.defineProperty(g.prototype,\"namespace\",{enumerable:!0,get:function(){if(!this||!this.s)return null;var e=this.s.ns||\"\",t=e.indexOf(\".\");return 0>t?{database:this.s.ns,collection:\"\"}:{database:e.substr(0,t),collection:e.substr(t+1)}}}),g.INIT=0,g.OPEN=1,g.CLOSED=2,g.GET_MORE=3,t.exports=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],225:[function(e,t,n){(function(n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./utils\").getSingleProperty,a=e(\"./utils\").shallowClone,s=e(\"./utils\").parseIndexOptions,c=e(\"./utils\").debugOptions,u=e(\"./command_cursor\"),p=e(\"./utils\").handleCallback,l=e(\"./utils\").toError,f=e(\"./read_preference\"),d=e(\"util\").format,h=e(\"./admin\"),m=e(\"mongodb-core\").BSON.Code,v=e(\"mongodb-core\").ReadPreference,g=e(\"mongodb-core\").MongoError,y=e(\"mongodb-core\").ObjectID,b=e(\"./metadata\"),x=e(\"mongodb-core\").Logger,w=e(\"./collection\"),_=e(\"crypto\"),k=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"numberOfRetries\",\"retryMiliSeconds\",\"readPreference\",\"pkFactory\"],j=function(t,i,a){if(a=a||{},!(this instanceof j))return new j(t,i,a);r.call(this);var s=this,c=a.promiseLibrary;c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.promiseLibrary=c,this.s={databaseName:t,dbCache:{},children:[],topology:i,options:a,logger:x(\"Db\",a),bson:i?i.bson:null,authSource:a.authSource,readPreference:a.readPreference,bufferMaxEntries:\"number\"==typeof a.bufferMaxEntries?a.bufferMaxEntries:-1,parentDb:a.parentDb||null,pkFactory:a.pkFactory||y,nativeParser:a.nativeParser||a.native_parser,promiseLibrary:c,noListener:\"boolean\"==typeof a.noListener?a.noListener:!1,readConcern:a.readConcern},U(s.s.databaseName),\"boolean\"==typeof s.s.nativeParser&&(s.s.nativeParser?i.setBSONParserType(\"c++\"):i.setBSONParserType(\"js\")),o(this,\"serverConfig\",s.s.topology),o(this,\"bufferMaxEntries\",s.s.bufferMaxEntries),o(this,\"databaseName\",s.s.databaseName),a.parentDb||this.s.noListener||(i.on(\"error\",V(s,\"error\",s)),i.on(\"timeout\",V(s,\"timeout\",s)),i.on(\"close\",V(s,\"close\",s)),i.on(\"parseError\",V(s,\"parseError\",s)),i.once(\"open\",V(s,\"open\",s)),i.once(\"fullsetup\",V(s,\"fullsetup\",s)),i.once(\"all\",V(s,\"all\",s)),i.on(\"reconnect\",V(s,\"reconnect\",s)))};i(j,r);var S=j.define=new b(\"Db\",j,!1);Object.defineProperty(j.prototype,\"topology\",{enumerable:!0,get:function(){return this.s.topology}}),Object.defineProperty(j.prototype,\"options\",{enumerable:!0,get:function(){return this.s.options}}),Object.defineProperty(j.prototype,\"native_parser\",{enumerable:!0,get:function(){return\"c++\"==this.s.topology.parserType()}}),Object.defineProperty(j.prototype,\"slaveOk\",{enumerable:!0,get:function(){return null!=this.s.options.readPreference&&(\"primary\"!=this.s.options.readPreference||\"primary\"!=this.s.options.readPreference.mode)}}),Object.defineProperty(j.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}});var E=function(e,t){e.s.topology.connect(e,e.s.options,function(n,r){if(null!=t){var i=t;return n?(e.close(),i(n)):void i(null,e)}})};j.prototype.open=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.s.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"open\",{callback:!0,promise:!0});var O=function(e){if(e&&\"string\"==typeof e)return new v(e);if(e instanceof f)return new v(e.mode,e.tags);if(e&&\"object\"==typeof e){var t=e.mode||e.preference;t&&\"string\"==typeof t&&(e=new v(t,e.tags))}return e},A=function(e,t,n,r){if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i=n.dbName||n.authdb||e.s.databaseName;null==n.readPreference&&e.s.readPreference&&(n.readPreference=e.s.readPreference),n.readPreference&&(n.readPreference=O(n.readPreference)),e.s.logger.isDebug()&&e.s.logger.debug(d(\"executing command %s against %s with options [%s]\",JSON.stringify(t),d(\"%s.$cmd\",i),JSON.stringify(c(k,n)))),e.s.topology.command(d(\"%s.$cmd\",i),t,n,function(e,t){return e?p(r,e):n.full?p(r,null,t):void p(r,null,t.result)})};j.prototype.command=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=a(t),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"command\",{callback:!0,promise:!0}),j.prototype.close=function(e,t){\"function\"==typeof e&&(t=e,e=!1),this.s.topology.close(e);var n=this;if(this.listeners(\"close\").length>0){if(this.emit(\"close\"),null==this.parentDb)for(var r=0;r<this.s.children.length;r++)this.s.children[r].emit(\"close\");n.removeAllListeners(\"close\")}return this.s.parentDb&&this.s.parentDb.close(),\"function\"==typeof t?process.nextTick(function(){p(t,null)}):new this.s.promiseLibrary(function(e,t){e()})},S.classMethod(\"close\",{callback:!0,promise:!0}),j.prototype.admin=function(){return new h(this,this.s.topology,this.s.promiseLibrary)},S.classMethod(\"admin\",{callback:!1,promise:!1,returns:[h]}),j.prototype.collection=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readConcern=t.readConcern||this.s.readConcern,this.s.options.ignoreUndefined&&(t.ignoreUndefined=this.s.options.ignoreUndefined),null==t||!t.strict)try{var i=new w(this,this.s.topology,this.s.databaseName,e,this.s.pkFactory,t);return n&&n(null,i),i}catch(o){if(n)return n(o);throw o}if(\"function\"!=typeof n)throw l(d(\"A callback is required in strict mode. While getting collection %s.\",e));return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):void this.listCollections({name:e}).toArray(function(i,o){if(null!=i)return p(n,i,null);if(0==o.length)return p(n,l(d(\"Collection %s does not exist. Currently in strict mode.\",e)),null);try{return p(n,null,new w(r,r.s.topology,r.s.databaseName,e,r.s.pkFactory,t))}catch(i){return p(n,i,null)}})},S.classMethod(\"collection\",{callback:!0,promise:!1,returns:[w]});var C=function(e,t,n,r){var i=H(a(n),e,n);return e.serverConfig&&e.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):void e.listCollections({name:t}).toArray(function(o,a){if(null!=o)return p(r,o,null);if(a.length>0&&i.strict)return p(r,g.create({message:d(\"Collection %s already exists. Currently in strict mode.\",t),driver:!0}),null);if(a.length>0)try{return p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))}catch(o){return p(r,o)}var s={create:t};for(var c in n)null!=n[c]&&\"function\"!=typeof n[c]&&(s[c]=n[c]);e.command(s,i,function(i,o){return i?p(r,i):void p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))})})};j.prototype.createCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift()||{}:{},t.promiseLibrary=t.promiseLibrary||this.s.promiseLibrary,\"string\"==typeof n&&(e=n),\"function\"==typeof n?C(r,e,t,n):new this.s.promiseLibrary(function(n,i){C(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"createCollection\",{callback:!0,promise:!0}),j.prototype.stats=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=e||{};var n={dbStats:!0};return null!=e.scale&&(n.scale=e.scale),this.command(n,e,t)},S.classMethod(\"stats\",{callback:!0,promise:!0});var T=function(e){var t=d(\"%s.\",e);return{doc:function(e){var n=e.name.indexOf(t);return e.name&&0==n&&(e.name=e.name.substr(n+t.length)),e}}};j.prototype.listCollections=function(e,t){if(e=e||{},t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readPreference&&(t.readPreference=O(t.readPreference)),this.serverConfig.capabilities().hasListCollectionsCommand){var n=t.batchSize?{batchSize:t.batchSize}:{},r={listCollections:!0,filter:e,cursor:n};t.cursorFactory=u;var n=this.s.topology.cursor(d(\"%s.$cmd\",this.s.databaseName),r,t);return t.readPreference&&n.setReadPreference(t.readPreference),n}this.serverConfig.capabilities().hasListCollectionsCommand||\"string\"!=typeof e.name||new RegExp(\"^\"+this.databaseName+\"\\\\.\").test(e.name)||(e=a(e),e.name=d(\"%s.%s\",this.s.databaseName,e.name)),null==e&&(e.name=d(\"/%s/\",this.s.databaseName)),e=e.name?{$and:[{name:e.name},{name:/^((?!\\$).)*$/}]}:{name:/^((?!\\$).)*$/};var i={transforms:T(this.s.databaseName)},n=this.collection(j.SYSTEM_NAMESPACE_COLLECTION).find(e,i);return t.readPreference&&n.setReadPreference(t.readPreference),t.batchSize&&(n=n.batchSize(t.batchSize)),n},S.classMethod(\"listCollections\",{callback:!1,promise:!1,returns:[u]});var I=function(e,t,n,r,i){var o=t,a=[];if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));o instanceof m||(o=new m(o)),null==n||Array.isArray(n)||\"function\"==typeof n?null!=n&&Array.isArray(n)&&\"function\"!=typeof n&&(a=n):a=[n];var s={$eval:o,args:a};r.nolock&&(s.nolock=r.nolock),r.readPreference=new v(f.PRIMARY),e.command(s,r,function(e,t){return e?p(i,e,null):t&&1==t.ok?p(i,null,t.retval):t?p(i,g.create({message:d(\"eval failed: %s\",t.errmsg),driver:!0}),null):void p(i,e,t)})};j.prototype.eval=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift():t,n=o.length?o.shift()||{}:{},\"function\"==typeof r?I(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){I(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"eval\",{callback:!0,promise:!0}),j.prototype.renameCollection=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},n.new_collection=!0,\"function\"==typeof r?this.collection(e).rename(t,n,r):new this.s.promiseLibrary(function(r,o){i.collection(e).rename(t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"renameCollection\",{callback:!0,promise:!0}),j.prototype.dropCollection=function(e,t){var n=this,r={drop:e};return\"function\"==typeof t?this.command(r,this.s.options,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e):r.ok?p(t,null,!0):void p(t,null,!1)}):new this.s.promiseLibrary(function(e,t){n.command(r,n.s.options,function(r,i){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):r?t(r):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropCollection\",{callback:!0,promise:!0}),j.prototype.dropDatabase=function(e){var t=this,n={dropDatabase:1};return\"function\"==typeof e?this.command(n,this.s.options,function(n,r){if(t.serverConfig&&t.serverConfig.isDestroyed())return e(new g(\"topology was destroyed\"));if(null!=e)return n?p(e,n,null):void p(e,null,!!r.ok)}):new this.s.promiseLibrary(function(e,r){t.command(n,t.s.options,function(n,i){return t.serverConfig&&t.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):n?r(n):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropDatabase\",{callback:!0,promise:!0});var P=function(e,t){e.listCollections().toArray(function(n,r){return null!=n?p(t,n,null):(r=r.filter(function(e){return-1==e.name.indexOf(\"$\")}),void p(t,null,r.map(function(t){return new w(e,e.s.topology,e.s.databaseName,t.name.replace(e.s.databaseName+\".\",\"\"),e.s.pkFactory,e.s.options)})))})};j.prototype.collections=function(e){var t=this;return\"function\"==typeof e?P(t,e):new t.s.promiseLibrary(function(e,n){P(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"collections\",{callback:!0,promise:!0}),j.prototype.executeDbAdminCommand=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t.readPreference&&!(t.readPreference instanceof f)&&\"object\"==typeof t.readPreference){var i=t.readPreference.mode||t.readPreference.preference;i&&\"string\"==typeof i&&(t.readPreference=new f(i,readPreference.tags))}return\"function\"==typeof n?r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):e?p(n,e):void p(n,null,t.result)}):new r.s.promiseLibrary(function(n,i){r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):e?i(e):void n(t.result)})})},S.classMethod(\"executeDbAdminCommand\",{callback:!0,promise:!0}),j.prototype.createIndex=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},n=\"function\"==typeof r?n:r,n=null==n?{}:n,n=a(n),n.readPreference=f.PRIMARY,\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){var o=H({},e,r);if(o.writeConcern&&\"function\"!=typeof i)throw g.create({message:\"Cannot use a writeConcern without a provided callback\",driver:!0});return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void $(e,t,n,r,function(a,s){if(null==a)return p(i,a,s);if(67===a.code)return p(i,a,s);var c=L(e,t,n,r);o.checkKeys=!1,e.s.topology.insert(d(\"%s.%s\",e.s.databaseName,j.SYSTEM_INDEX_COLLECTION),c,o,function(e,t){return null!=i?e?p(i,e):null==t?p(i,null,null):t.result.writeErrors?p(i,g.create(t.result.writeErrors[0]),null):void p(i,null,c.name):void 0})})};S.classMethod(\"createIndex\",{callback:!0,promise:!0}),j.prototype.ensureIndex=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){var o=H({},e,r),a=L(e,t,n,r),s=a.name;if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));e.indexInformation(t,o,function(o,a){if(null!=o&&26!=o.code)return p(i,o,null);if(null!=a&&a[s]){if(\"function\"==typeof i)return p(i,null,s)}else e.createIndex(t,n,r,i)})};S.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),j.prototype.addChild=function(e){return this.s.parentDb?this.s.parentDb.addChild(e):void this.s.children.push(e)},j.prototype.db=function(e,t){t=t||{};for(var n in this.options)t[n]=this.options[n];if(this.s.dbCache[e]&&t.returnNonCachedInstance!==!0)return this.s.dbCache[e];null!=t.noListener&&0!=t.noListener||(t.parentDb=this),t.promiseLibrary=this.s.promiseLibrary;var r=new j(e,this.s.topology,t);return null!=t.noListener&&0!=t.noListener||this.addChild(r),this.s.dbCache[e]=r,r},S.classMethod(\"db\",{callback:!1,promise:!1,returns:[j]});var z=function(e,t,n,r,i){if(\"string\"==typeof t&&null!=n&&\"object\"==typeof n&&(r=n,n=null),\"function\"==typeof r&&(i=r,r={}),null!=r.digestPassword)throw l(\"The digestPassword option is not supported via add_user. Please use db.command('createUser', ...) instead for this option.\");var o=null!=r.customData?r.customData:{},a=Array.isArray(r.roles)?r.roles:[],s=\"number\"==typeof r.maxTimeMS?r.maxTimeMS:null;0==a.length&&console.log(\"Creating a user without roles is deprecated in MongoDB >= 2.6\");var c={writeCommand:!0};r.dbName&&(c.dbName=r.dbName),null!=s&&(c.maxTimeMS=s),\"admin\"!=e.databaseName.toLowerCase()&&\"admin\"!=r.dbName||Array.isArray(r.roles)?Array.isArray(r.roles)||(a=[\"dbOwner\"]):a=[\"root\"];var u={createUser:t,customData:o,roles:a,digestPassword:!1};u=H(u,e,r);var f=_.createHash(\"md5\");f.update(t+\":mongo:\"+n);var d=f.digest(\"hex\");\"string\"==typeof n&&(u.pwd=d),c.readPreference=v.primary,e.command(u,c,function(e,n){return e&&0==e.ok&&void 0==e.code?p(i,{code:-5e3},null):e?p(i,e,null):void p(i,n.ok?null:l(n),n.ok?[{user:t,pwd:\"\"}]:null)})},B=function(e,t,n,r,i){return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void z(e,t,n,r,function(o,s){if(o&&-5e3==o.code){var c=H(a(r),e,r),u=_.createHash(\"md5\");u.update(t+\":mongo:\"+n);var l=u.digest(\"hex\"),f=r.dbName?e.db(r.dbName):e,d=f.collection(j.SYSTEM_USER_COLLECTION);return void d.count({},function(e,n){return null!=e?p(i,e,null):void d.find({user:t},{dbName:r.dbName}).toArray(function(e,r){return null!=e?p(i,e,null):(c.upsert=!0,void d.update({user:t},{$set:{user:t,pwd:l}},c,function(e,r,o){return 0==n&&e?p(i,null,[{user:t,pwd:l}]):e?p(i,e,null):void p(i,null,[{user:t,pwd:l}])}))})})}return o?p(i,o):void p(i,o,s)})};j.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);\nreturn r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?B(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){B(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"addUser\",{callback:!0,promise:!0});var N=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i={writeCommand:!0};n.dbName&&(i.dbName=n.dbName);var o=\"number\"==typeof n.maxTimeMS?n.maxTimeMS:null;null!=o&&(i.maxTimeMS=o);var a={dropUser:t};a=H(a,e,n),i.readPreference=v.primary,e.command(a,i,function(e,t){return e&&!e.ok&&void 0==e.code?p(r,{code:-5e3}):e?p(r,e,null):void p(r,null,!!t.ok)})},D=function(e,t,n,r){N(e,t,n,function(i,o){if(i&&-5e3==i.code){var s=H(a(n),e,n),c=n.dbName?e.db(n.dbName):e,u=c.collection(j.SYSTEM_USER_COLLECTION);return void u.findOne({user:t},{},function(e,n){return null==n?p(r,e,!1):void u.remove({user:t},s,function(e,t){p(r,e,!0)})})}return i?p(r,i):void p(r,i,o)})};S.classMethod(\"removeUser\",{callback:!0,promise:!0}),j.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r,i){if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));var o=r.authdb?r.authdb:r.dbName;o=r.authSource?r.authSource:o,o=o?o:e.databaseName;var a=function(t,n){e.listeners(\"authenticated\").length>0&&e.emit(\"authenticated\",t,n),p(i,t,n)},s=r.authMechanism||\"\";s=s.toUpperCase(),\"MONGODB-CR\"==s?e.s.topology.auth(\"mongocr\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"PLAIN\"==s?e.s.topology.auth(\"plain\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"MONGODB-X509\"==s?e.s.topology.auth(\"x509\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"SCRAM-SHA-1\"==s?e.s.topology.auth(\"scram-sha-1\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"GSSAPI\"==s?\"win32\"==process.platform?e.s.topology.auth(\"sspi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):e.s.topology.auth(\"gssapi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"DEFAULT\"==s?e.s.topology.auth(\"default\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):p(i,g.create({message:d(\"authentication mechanism %s not supported\",r.authMechanism),driver:!0}))};j.prototype.authenticate=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(n=a(n),n.authMechanism){if(\"GSSAPI\"!=n.authMechanism&&\"MONGODB-CR\"!=n.authMechanism&&\"MONGODB-X509\"!=n.authMechanism&&\"SCRAM-SHA-1\"!=n.authMechanism&&\"PLAIN\"!=n.authMechanism)return p(r,g.create({message:\"only GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\",driver:!0}))}else n.authMechanism=\"DEFAULT\";return\"function\"==typeof r?q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?r(e,t):void r(null,t)}):new this.s.promiseLibrary(function(r,o){q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?o(e):void r(t)})})},S.classMethod(\"authenticate\",{callback:!0,promise:!0}),j.prototype.logout=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{};var i={logout:1};return e.onAll=!0,this.s.authSource&&(e.dbName=this.s.authSource),\"function\"==typeof t?this.command(i,e,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e,!1):void p(t,null,!0)}):new this.s.promiseLibrary(function(t,r){n.command(i,e,function(e,i){return n.serverConfig&&n.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):e?r(e):void t(!0)})})},S.classMethod(\"logout\",{callback:!0,promise:!0});j.prototype.indexInformation=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?R(r,e,t,n):new this.s.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})};var R=function(e,t,n,r){var i=null==n.full?!1:n.full;if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var o=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.name]=[];for(var i in r.key)t[r.name].push([i,r.key[i]])}return t};e.collection(t).listIndexes().toArray(function(e,t){return e?r(l(e)):Array.isArray(t)?i?p(r,null,t):void p(r,null,o(t)):p(r,null,[])})};S.classMethod(\"indexInformation\",{callback:!0,promise:!0});var L=function(e,t,n,r){var i=s(n),o=i.fieldHash,a=(i.keys,\"string\"==typeof r.name?r.name:i.name),c={ns:e.databaseName+\".\"+t,key:o,name:a},u=null==r||\"object\"==typeof r?!1:r;r=null==r||\"boolean\"==typeof r?{}:r;var p=Object.keys(c);for(var l in r)-1==p.indexOf(l)&&(c[l]=r[l]);null==c.unique&&(c.unique=u);for(var f=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],d=0;d<f.length;d++)delete c[f[d]];return c},$=function(e,t,n,r,i){var o=s(n),a=\"string\"==typeof r.name?r.name:o.name,c=[{name:a,key:o.fieldHash}],u=Object.keys(c[0]);for(var f in r){-1==u.indexOf(f)&&(c[0][f]=r[f]);for(var d=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],h=0;h<d.length;h++)delete c[0][d[h]]}var m={createIndexes:t,indexes:c};m=H(m,e,r),e.command(m,r,function(e,t){return e?p(i,e,null):0==t.ok?p(i,l(t),null):void p(i,null,a)})},U=function(e){if(\"string\"!=typeof e)throw g.create({message:\"database name must be a string\",driver:!0});if(0===e.length)throw g.create({message:\"database name cannot be the empty string\",driver:!0});if(\"$external\"!=e)for(var t=[\" \",\".\",\"$\",\"/\",\"\\\\\"],n=0;n<t.length;n++)if(-1!=e.indexOf(t[n]))throw g.create({message:\"database names cannot contain the character '\"+t[n]+\"'\",driver:!0})},H=function(e,t,n){if(null!=n.w||null!=n.j||null!=n.fsync){var r={};n.w&&(r.w=n.w),n.wtimeout&&(r.wtimeout=n.wtimeout),n.j&&(r.j=n.j),n.fsync&&(r.fsync=n.fsync),e.writeConcern=r}else null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},V=function(e,t,n){var r=function(r){if(\"error\"!=t){n.emit(t,r,e);for(var i=0;i<e.s.children.length;i++)e.s.children[i].emit(t,r,e.s.children[i])}};return r};j.prototype.unref=function(e,t){this.s.topology.unref()},j.SYSTEM_NAMESPACE_COLLECTION=\"system.namespaces\",j.SYSTEM_INDEX_COLLECTION=\"system.indexes\",j.SYSTEM_PROFILE_COLLECTION=\"system.profile\",j.SYSTEM_USER_COLLECTION=\"system.users\",j.SYSTEM_COMMAND_COLLECTION=\"$cmd\",j.SYSTEM_JS_COLLECTION=\"system.js\",t.exports=j}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./admin\":216,\"./collection\":222,\"./command_cursor\":223,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,crypto:void 0,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,util:void 0}],226:[function(e,t,n){function r(e,t,n,r,i){this.s={bytesRead:0,chunks:e,cursor:null,expected:0,files:t,filter:r,init:!1,expectedEnd:0,file:null,options:i,readPreference:n},l.Readable.call(this)}function i(e){if(e.s.init)throw new Error(\"You cannot change options after the stream has enteredflowing mode!\")}function o(e){e.destroyed||e.s.cursor.next(function(t,n){if(!e.destroyed){if(t)return p(e,t);if(!n)return e.push(null),e.s.cursor.close(function(t){return t?p(e,t):void e.emit(\"close\")});var r=e.s.file.length-e.s.bytesRead,i=e.s.expected++,o=Math.min(e.s.file.chunkSize,r);if(n.n>i){var a=\"ChunkIsMissing: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.n<i){var a=\"ExtraChunk: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.data.length()!==o){if(0>=r){var a=\"ExtraChunk: Got unexpected n: \"+n.n;return p(e,new Error(a))}var a=\"ChunkIsWrongSize: Got unexpected length: \"+n.data.length()+\", expected: \"+o;return p(e,new Error(a))}if(e.s.bytesRead+=n.data.length(),0===n.data.buffer.length)return e.push(null);var s=null,c=null,u=n.data.buffer;null!=e.s.bytesToSkip&&(s=e.s.bytesToSkip,e.s.bytesToSkip=0),i===e.s.expectedEnd&&null!=e.s.bytesToTrim&&(c=e.s.bytesToTrim),null==s&&null==c||(u=u.slice(s||0,c||u.length)),e.push(u)}})}function a(e){var t={};e.s.readPreference&&(t.readPreference=e.s.readPreference),e.s.options&&e.s.options.sort&&(t.sort=e.s.options.sort),e.s.options&&e.s.options.skip&&(t.skip=e.s.options.skip),e.s.files.findOne(e.s.filter,t,function(t,n){if(t)return p(e,t);if(!n){var r=e.s.filter._id?e.s.filter._id.toString():e.s.filter.filename,i=\"FileNotFound: file \"+r+\" was not found\",o=new Error(i);return o.code=\"ENOENT\",p(e,o)}return n.length<=0?void e.push(null):e.destroyed?void e.emit(\"close\"):(e.s.cursor=e.s.chunks.find({files_id:n._id}).sort({n:1}),e.s.readPreference&&e.s.cursor.setReadPreference(e.s.readPreference),e.s.expectedEnd=Math.ceil(n.length/n.chunkSize),e.s.file=n,e.s.bytesToSkip=c(e,n,e.s.cursor,e.s.options),e.s.bytesToTrim=u(e,n,e.s.cursor,e.s.options),void e.emit(\"file\",n))})}function s(e,t){return e.s.file?t():(e.s.init||(a(e),e.s.init=!0),void e.once(\"file\",function(){t()}))}function c(e,t,n,r){if(r&&null!=r.start){if(r.start>t.length)throw new Error(\"Stream start (\"+r.start+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream start (\"+r.start+\") must not be negative\");if(null!=r.end&&r.end<r.start)throw new Error(\"Stream start (\"+r.start+\") must not be greater than stream end (\"+r.end+\")\");return n.skip(Math.floor(r.start/t.chunkSize)),e.s.bytesRead=Math.floor(r.start/t.chunkSize)*t.chunkSize,e.s.expected=Math.floor(r.start/t.chunkSize),r.start-e.s.bytesRead}}function u(e,t,n,r){if(r&&null!=r.end){if(r.end>t.length)throw new Error(\"Stream end (\"+r.end+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream end (\"+r.end+\") must not be negative\");var i=null!=r.start?Math.floor(r.start/t.chunkSize):0;return n.limit(Math.ceil(r.end/t.chunkSize)-i),e.s.expectedEnd=Math.ceil(r.end/t.chunkSize),Math.ceil(r.end/t.chunkSize)*t.chunkSize-r.end}}function p(e,t){e.emit(\"error\",t)}var l=(e(\"../utils\").shallowClone,e(\"stream\")),f=e(\"util\");t.exports=r,f.inherits(r,l.Readable),r.prototype._read=function(){var e=this;this.destroyed||s(e,function(){o(e)})},r.prototype.start=function(e){return i(this),this.s.options.start=e,this},r.prototype.end=function(e){return i(this),this.s.options.end=e,this},r.prototype.abort=function(e){var t=this;this.push(null),this.destroyed=!0,this.s.cursor?this.s.cursor.close(function(n){t.emit(\"close\"),e&&e(n)}):(this.s.init||t.emit(\"close\"),e&&e())}},{\"../utils\":239,stream:void 0,util:void 0}],227:[function(e,t,n){(function(n){function r(t,r){if(s.apply(this),this.setMaxListeners(0),r&&\"object\"==typeof r){r=p(r);for(var i=Object.keys(d),o=0;o<i.length;++o)r[i[o]]||(r[i[o]]=d[i[o]])}else r=d;this.s={db:t,options:r,_chunksCollection:t.collection(r.bucketName+\".chunks\"),_filesCollection:t.collection(r.bucketName+\".files\"),checkedIndexes:!1,calledOpenUploadStream:!1,promiseLibrary:t.s.promiseLibrary||(\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise)}}function i(e,t,n){e.s._filesCollection.deleteOne({_id:t},function(r,i){return r?n(r):void e.s._chunksCollection.deleteMany({files_id:t},function(e){if(e)return n(e);if(!i.result.n){var r=\"FileNotFound: no file with id \"+t+\" found\";return n(new Error(r))}n()})})}function o(e,t,n,r){var i={_id:t},o={$set:{filename:n}};e.s._filesCollection.updateOne(i,o,function(e,n){return e?r(e):n.result.n?void r():r(l(\"File with id \"+t+\" not found\"))})}function a(e,t){e.s._filesCollection.drop(function(n){return n?t(n):void e.s._chunksCollection.drop(function(e){return e?t(e):t()})})}var s=e(\"events\").EventEmitter,c=e(\"./download\"),u=e(\"./upload\"),p=e(\"../utils\").shallowClone,l=e(\"../utils\").toError,f=e(\"util\"),d={bucketName:\"fs\",chunkSizeBytes:261120};t.exports=r,f.inherits(r,s),r.prototype.openUploadStream=function(e,t){return t=t?p(t):{},t.chunkSizeBytes||(t.chunkSizeBytes=this.s.options.chunkSizeBytes),new u(this,e,t)},r.prototype.openDownloadStream=function(e,t){var n={_id:e},t={start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,n,t)},r.prototype[\"delete\"]=function(e,t){if(\"function\"==typeof t)return i(this,e,t);var n=this;return new this.s.promiseLibrary(function(t,r){i(n,e,function(e,n){e?r(e):t(n)})})},r.prototype.find=function(e,t){e=e||{},t=t||{};var n=this.s._filesCollection.find(e);return null!=t.batchSize&&n.batchSize(t.batchSize),null!=t.limit&&n.limit(t.limit),null!=t.maxTimeMS&&n.maxTimeMS(t.maxTimeMS),null!=t.noCursorTimeout&&n.addCursorFlag(\"noCursorTimeout\",t.noCursorTimeout),null!=t.skip&&n.skip(t.skip),null!=t.sort&&n.sort(t.sort),n},r.prototype.openDownloadStreamByName=function(e,t){var n={uploadDate:-1},r=null;t&&null!=t.revision&&(t.revision>=0?(n={uploadDate:1},r=t.revision):r=-t.revision-1);var i={filename:e},t={sort:n,skip:r,start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,i,t)},r.prototype.rename=function(e,t,n){if(\"function\"==typeof n)return o(this,e,t,n);var r=this;return new this.s.promiseLibrary(function(n,i){o(r,e,t,function(e,t){e?i(e):n(t)})})},r.prototype.drop=function(e){if(\"function\"==typeof e)return a(this,e);var t=this;return new this.s.promiseLibrary(function(e,n){a(t,function(t,r){t?n(t):e(r)})})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../utils\":239,\"./download\":226,\"./upload\":228,\"es6-promise\":95,events:void 0,util:void 0}],228:[function(e,t,n){(function(n){function r(e,t,r){if(this.bucket=e,this.chunks=e.s._chunksCollection,this.filename=t,this.files=e.s._filesCollection,this.options=r,this.id=m.BSON.ObjectId(),this.chunkSizeBytes=this.options.chunkSizeBytes,this.bufToStore=new n(this.chunkSizeBytes),this.length=0,this.md5=v.createHash(\"md5\"),this.n=0,this.pos=0,this.state={streamEnd:!1,outstandingRequests:0,errored:!1,aborted:!1,promiseLibrary:this.bucket.s.promiseLibrary},!this.bucket.s.calledOpenUploadStream){this.bucket.s.calledOpenUploadStream=!0;var i=this;c(this,function(){i.bucket.s.checkedIndexes=!0,i.bucket.emit(\"index\")})}}function i(e,t,n){return e.state.errored?void 0:(e.state.errored=!0,n?n(t):void e.emit(\"error\",t))}function o(e,t,n){return{_id:m.BSON.ObjectId(),files_id:e,n:t,data:n}}function a(e,t){e.chunks.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={files_id:1,n:1};return void e.chunks.createIndex(i,{background:!1},function(e){return e?t(e):void t()})}return t(n)}var o=!1;if(r.forEach(function(e){if(e.key){var t=Object.keys(e.key);2===t.length&&1===e.key.files_id&&1===e.key.n&&(o=!0)}}),o)t();else{var i={files_id:1,n:1},a=l(e);a.background=!1,a.unique=!0,e.chunks.createIndex(i,a,function(e){return e?t(e):void t()})}})}function s(e,t){if(e.state.streamEnd&&0===e.state.outstandingRequests&&!e.state.errored){var n=u(e.id,e.length,e.chunkSizeBytes,e.md5.digest(\"hex\"),e.filename,e.options.contentType,e.options.aliases,e.options.metadata);return h(e,t)?!1:(e.files.insert(n,l(e),function(r){return r?i(e,r,t):void e.emit(\"finish\",n)}),!0)}return!1}function c(e,t){e.files.findOne({},{_id:1},function(n,r){return n?t(n):r?t():void e.files.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={filename:1,uploadDate:1};return void e.files.createIndex(i,{background:!1},function(n){return n?t(n):void a(e,t)})}return t(n)}var o=!1;if(r.forEach(function(e){var t=Object.keys(e.key);2===t.length&&1===e.key.filename&&1===e.key.uploadDate&&(o=!0)}),o)a(e,t);else{var i={filename:1,uploadDate:1},s=l(e);s.background=!1,e.files.createIndex(i,s,function(n){return n?t(n):void a(e,t)})}})})}function u(e,t,n,r,i,o,a,s){var c={_id:e,length:t,chunkSize:n,uploadDate:new Date,md5:r,filename:i};return o&&(c.contentType=o),a&&(c.aliases=a),s&&(c.metadata=s),c}function p(e,t,r,a){if(h(e,a))return!1;var c=n.isBuffer(t)?t:new n(t,r);if(e.length+=c.length,e.pos+c.length<e.chunkSizeBytes)return c.copy(e.bufToStore,e.pos),e.pos+=c.length,a&&a(),!0;for(var u=c.length,p=e.chunkSizeBytes-e.pos,f=Math.min(p,c.length),d=0;u>0;){var m=c.length-u;if(c.copy(e.bufToStore,e.pos,m,m+f),e.pos+=f,p-=f,0===p){e.md5.update(e.bufToStore);var v=o(e.id,e.n,e.bufToStore);if(++e.state.outstandingRequests,++d,h(e,a))return!1;e.chunks.insert(v,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,--d,void(d||(e.emit(\"drain\",v),a&&a(),s(e))))}),p=e.chunkSizeBytes,e.pos=0,++e.n}u-=f,f=Math.min(p,u)}return!1}function l(e){var t={};return e.options.writeConcern&&(t.w=concern.w,t.wtimeout=concern.wtimeout,t.j=concern.j),t}function f(e,t){return e.bucket.s.checkedIndexes?t(!1):(e.bucket.once(\"index\",function(){t(!0)}),!0)}function d(e,t){if(0===e.pos)return s(e,t);++e.state.outstandingRequests;var r=new n(e.pos);e.bufToStore.copy(r,0,0,e.pos),e.md5.update(r);var a=o(e.id,e.n,r);return h(e,t)?!1:void e.chunks.insert(a,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,void s(e))})}function h(e,t){return e.state.aborted?(\"function\"==typeof t&&t(new Error(\"this stream has been aborted\")),!0):!1}var m=e(\"mongodb-core\"),v=e(\"crypto\"),g=(e(\"../utils\").shallowClone,e(\"stream\")),y=e(\"util\"),b=26;t.exports=r,y.inherits(r,g.Writable),r.prototype.write=function(e,t,n){var r=this;return f(this,function(){return p(r,e,t,n)})},r.prototype.abort=function(e){if(this.state.streamEnd){var t=new Error(\"Cannot abort a stream that has already completed\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}if(this.state.aborted){var t=new Error(\"Cannot call abort() on a stream twice\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}this.state.aborted=!0,this.chunks.deleteMany({files_id:this.id},function(t){\"function\"==typeof e&&e(t)})},r.prototype.end=function(e,t,r){if(!h(this,r)){var i=this;if(this.state.streamEnd=!0,r&&this.once(\"finish\",r),!e)return void f(this,function(){d(i)});var i=this;n.isBuffer(e)?e:new n(e,t);this.write(e,t,function(){d(i)})}}}).call(this,e(\"buffer\").Buffer)},{\"../utils\":239,buffer:void 0,crypto:void 0,\"mongodb-core\":188,stream:void 0,util:void 0}],229:[function(e,t,n){(function(n){\"use strict\";var r=e(\"mongodb-core\").BSON.Binary,i=e(\"mongodb-core\").BSON.ObjectID,o=function(e,t,a){if(!(this instanceof o))return new o(e,t);this.file=e;var s=null==t?{}:t;if(this.writeConcern=a||{w:1},this.objectId=null==s._id?new i:s._id,this.chunkNumber=null==s.n?0:s.n,this.data=new r,null==s.data);else if(\"string\"==typeof s.data){var c=new n(s.data.length);c.write(s.data,0,s.data.length,\"binary\"),this.data=new r(c)}else if(Array.isArray(s.data)){var c=new n(s.data.length),u=s.data.join(\"\");c.write(u,0,u.length,\"binary\"),this.data=new r(c)}else if(\"Binary\"===s.data._bsontype)this.data=s.data;else if(!n.isBuffer(s.data))throw Error(\"Illegal chunk format\");this.internalPosition=0};o.prototype.write=function(e,t){return this.data.write(e,this.internalPosition,e.length,\"binary\"),this.internalPosition=this.data.length(),null!=t?t(null,this):this},o.prototype.read=function(e){if(e=null==e||0==e?this.length():e,this.length()-this.internalPosition+1>=e){var t=this.data.read(this.internalPosition,e);return this.internalPosition=this.internalPosition+e,t}return\"\"},o.prototype.readSlice=function(e){if(this.length()-this.internalPosition>=e){var t=null;return null!=this.data.buffer?t=this.data.buffer.slice(this.internalPosition,this.internalPosition+e):(t=new n(e),e=this.data.readInto(t,this.internalPosition)),this.internalPosition=this.internalPosition+e,t}return null},o.prototype.eof=function(){return this.internalPosition==this.length()},o.prototype.getc=function(){return this.read(1)},o.prototype.rewind=function(){this.internalPosition=0,this.data=new r},o.prototype.save=function(e,t){var n=this;\"function\"==typeof e&&(t=e,e={}),n.file.chunkCollection(function(r,i){if(r)return t(r);var o={upsert:!0};for(var a in e)o[a]=e[a];for(var a in n.writeConcern)o[a]=n.writeConcern[a];n.data.length()>0?n.buildMongoObject(function(e){var r={forceServerObjectId:!0};for(var a in n.writeConcern)r[a]=n.writeConcern[a];i.replaceOne({_id:n.objectId},e,o,function(e,r){t(e,n)})}):t(null,n)})},o.prototype.buildMongoObject=function(e){var t={files_id:this.file.fileId,n:this.chunkNumber,data:this.data};null!=this.objectId&&(t._id=this.objectId),e(t)},o.prototype.length=function(){return this.data.length()},Object.defineProperty(o.prototype,\"position\",{enumerable:!0,get:function(){return this.internalPosition},set:function(e){this.internalPosition=e}}),o.DEFAULT_CHUNK_SIZE=261120,t.exports=o}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"mongodb-core\":188}],230:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./chunk\"),i=e(\"mongodb-core\").BSON.ObjectID,o=e(\"../read_preference\"),a=e(\"buffer\").Buffer,s=e(\"../collection\"),c=e(\"fs\"),u=(e(\"timers\"),e(\"util\").format),p=e(\"util\"),l=e(\"../metadata\"),f=e(\"mongodb-core\").MongoError,d=p.inherits,h=e(\"stream\").Duplex||e(\"readable-stream\").Duplex,m=e(\"../utils\").shallowClone,v=0,g=1,y=function H(t,a,s,c,u){if(!(this instanceof H))return new H(t,a,s,c,u);this.db=t,\"undefined\"==typeof u&&(u={}),\"undefined\"==typeof c?(c=s,s=void 0):\"object\"==typeof c&&(u=c,c=s,s=void 0),a instanceof i?(this.referenceBy=g,this.fileId=a,this.filename=s):\"undefined\"==typeof s?(this.referenceBy=v,this.filename=a,null!=c.indexOf(\"w\")&&(this.fileId=new i)):(this.referenceBy=g,this.fileId=a,this.filename=s),this.mode=null==c?\"r\":c,this.options=u||{},this.isOpen=!1,this.root=null==this.options.root?H.DEFAULT_ROOT_COLLECTION:this.options.root,this.position=0,this.readPreference=this.options.readPreference||t.options.readPreference||o.PRIMARY,this.writeConcern=$(t,this.options),this.internalChunkSize=null==this.options.chunkSize?r.DEFAULT_CHUNK_SIZE:this.options.chunkSize;var p=this.options.promiseLibrary;p||(p=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),this.promiseLibrary=p,Object.defineProperty(this,\"chunkSize\",{enumerable:!0,get:function(){return this.internalChunkSize},set:function(e){\"w\"!=this.mode[0]||0!=this.position||null!=this.uploadDate?this.internalChunkSize=this.internalChunkSize:this.internalChunkSize=e}}),Object.defineProperty(this,\"md5\",{enumerable:!0,get:function(){return this.internalMd5}}),Object.defineProperty(this,\"chunkNumber\",{enumerable:!0,get:function(){return this.currentChunk&&this.currentChunk.chunkNumber?this.currentChunk.chunkNumber:null}})},b=y.define=new l(\"Gridstore\",y,!0);y.prototype.open=function(e){var t=this;if(\"w\"!=this.mode&&\"w+\"!=this.mode&&\"r\"!=this.mode)throw f.create({message:\"Illegal mode \"+this.mode,driver:!0});return\"function\"==typeof e?x(t,e):new t.promiseLibrary(function(e,n){x(t,function(t,r){return t?n(t):void e(r)})})};var x=function(e,t){var n=$(e.db,e.options);if(\"w\"==e.mode||\"w+\"==e.mode){var r=e.collection();r.ensureIndex([[\"filename\",1]],n,function(r,i){var o=e.chunkCollection(),a=m(n);a.unique=!0,o.ensureIndex([[\"files_id\",1],[\"n\",1]],a,function(r,i){C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})})})}else C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})};b.classMethod(\"open\",{callback:!0,promise:!0}),y.prototype.eof=function(){return this.position==this.length},b.classMethod(\"eof\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.getc=function(e){var t=this;return\"function\"==typeof e?w(t,e):new t.promiseLibrary(function(e,n){w(t,function(t,r){return t?n(t):void e(r)})})};var w=function(e,t){e.eof()?t(null,null):e.currentChunk.eof()?P(e,e.currentChunk.chunkNumber+1,function(n,r){e.currentChunk=r,e.position=e.position+1,t(n,e.currentChunk.getc())}):(e.position=e.position+1,t(null,e.currentChunk.getc()))};b.classMethod(\"getc\",{callback:!0,promise:!0}),y.prototype.puts=function(e,t){var n=this,r=null==e.match(/\\n$/)?e+\"\\n\":e;return\"function\"==typeof t?this.write(r,t):new n.promiseLibrary(function(e,t){n.write(r,function(n,r){return n?t(n):void e(r)})})},b.classMethod(\"puts\",{callback:!0,promise:!0}),y.prototype.stream=function(){return new U(this)},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[U]}),y.prototype.write=function(e,t,n){var r=this;return\"function\"==typeof n?R(this,e,t,n):new r.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})},b.classMethod(\"write\",{callback:!0,promise:!0}),y.prototype.destroy=function(){this.writable&&(this.readable=!1,this.writable&&(this.writable=!1,this._q.length=0,this.emit(\"close\")))},b.classMethod(\"destroy\",{callback:!1,promise:!1}),y.prototype.writeFile=function(e,t){var n=this;return\"function\"==typeof t?_(n,e,t):new n.promiseLibrary(function(t,r){_(n,e,function(e,n){return e?r(e):void t(n)})})};var _=function(e,t,n){return\"string\"==typeof t?void c.open(t,\"r\",function(t,r){return t?n(t):void e.writeFile(r,n)}):void e.open(function(e,i){return e?n(e,i):void c.fstat(t,function(e,o){if(e)return n(e,i);var a=0,s=0,u=(Math.min(o.size/i.chunkSize),function(){c.read(t,i.chunkSize,a,\"binary\",function(e,p,l){if(e)return n(e,i);a+=l;var f=new r(i,{n:s++},i.writeConcern);f.write(p,function(e,r){return e?n(e,i):void r.save({},function(e,s){return e?n(e,i):(i.position=i.position+p.length,i.currentChunk=r,a>=o.size?(c.close(t),void i.close(function(e,t){return e?n(e,i):n(null,i)})):process.nextTick(u))})})})});process.nextTick(u)})})};b.classMethod(\"writeFile\",{callback:!0,promise:!0}),y.prototype.close=function(e){var t=this;return\"function\"==typeof e?k(t,e):new t.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){if(\"w\"==e.mode[0]){var n=e.writeConcern;null!=e.currentChunk&&e.currentChunk.position>0?e.currentChunk.save({},function(r,i){return r&&\"function\"==typeof t?t(r):void e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):void(null!=e.uploadDate?I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}):(e.uploadDate=new Date,I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})})))})}):e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):(e.uploadDate=new Date,void I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}))})}else\"r\"==e.mode[0]?\"function\"==typeof t&&t(null,null):\"function\"==typeof t&&t(f.create({message:u(\"Illegal mode %s\",e.mode),driver:!0}))};b.classMethod(\"close\",{callback:!0,promise:!0}),y.prototype.chunkCollection=function(e){return\"function\"==typeof e?this.db.collection(this.root+\".chunks\",e):this.db.collection(this.root+\".chunks\")},b.classMethod(\"chunkCollection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.unlink=function(e){var t=this;return\"function\"==typeof e?j(t,e):new t.promiseLibrary(function(e,n){j(t,function(t,r){return t?n(t):void e(r)})})};var j=function(e,t){M(e,function(n){return null!==n?(n.message=\"at deleteChunks: \"+n.message,t(n)):void e.collection(function(n,r){return null!==n?(n.message=\"at collection: \"+n.message,t(n)):void r.remove({_id:e.fileId},e.writeConcern,function(n){t(n,e)})})})};b.classMethod(\"unlink\",{callback:!0,promise:!0}),y.prototype.collection=function(e){return\"function\"==typeof e&&this.db.collection(this.root+\".files\",e),this.db.collection(this.root+\".files\")},b.classMethod(\"collection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.readlines=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift():\"\\n\",e=e||\"\\n\",\"function\"==typeof t?S(n,e,t):new n.promiseLibrary(function(t,r){S(n,e,function(e,n){return e?r(e):void t(n)})})};var S=function(e,t,n){e.read(function(e,r){if(e)return n(e);var i=r.toString().split(t);i=i.length>0?i.splice(0,i.length-1):[];for(var o=0;o<i.length;o++)i[o]=i[o]+t;n(null,i)})};b.classMethod(\"readlines\",{callback:!0,promise:!0}),y.prototype.rewind=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})};var E=function(e,t){0!=e.currentChunk.chunkNumber?\"w\"==e.mode[0]?M(e,function(n,i){return n?t(n):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.position=0,void t(null,e))}):e.currentChunk(0,function(n,r){return n?t(n):(e.currentChunk=r,e.currentChunk.rewind(),e.position=0,void t(null,e))}):(e.currentChunk.rewind(),e.position=0,t(null,e))};b.classMethod(\"rewind\",{callback:!0,promise:!0}),y.prototype.read=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,\"function\"==typeof n?O(r,e,t,n):new r.promiseLibrary(function(n,i){O(r,e,t,function(e,t){return e?i(e):void n(t)})})};var O=function(e,t,n,r){var i=null==t?e.length-e.position:t,o=null==n?new a(i):n;if(o._index=null!=n&&null!=n._index?n._index:0,e.currentChunk.length()-e.currentChunk.position+o._index>=i){var s=e.currentChunk.readSlice(i-o._index);return s.copy(o,o._index),e.position=e.position+o.length,0==i&&0==o.length?r(f.create({message:\"File does not exist\",driver:!0}),null):r(null,o)}var s=e.currentChunk.readSlice(e.currentChunk.length()-e.currentChunk.position);s.copy(o,o._index),o._index+=s.length,P(e,e.currentChunk.chunkNumber+1,function(n,i){return n?r(n):void(i.length()>0?(e.currentChunk=i,e.read(t,o,r)):o._index>0?r(null,o):r(f.create({message:\"no chunks found for file, possibly corrupt\",driver:!0}),null))})};b.classMethod(\"read\",{callback:!0,promise:!0}),y.prototype.tell=function(e){var t=this;return\"function\"==typeof e?e(null,this.position):new t.promiseLibrary(function(e,n){e(t.position)})},b.classMethod(\"tell\",{callback:!0,promise:!0}),y.prototype.seek=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():null,\"function\"==typeof n?A(r,e,t,n):new r.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})};var A=function(e,t,n,r){if(\"r\"!=e.mode)return r(f.create({message:\"seek is only supported for mode r\",driver:!0}));var i=null==n?y.IO_SEEK_SET:n,o=t,a=0;a=i==y.IO_SEEK_CUR?e.position+o:i==y.IO_SEEK_END?e.length+o:o;var s=Math.floor(a/e.chunkSize),c=function(){P(e,s,function(t,n){return t?r(t,null):null==n?r(new Error(\"no chunk found\")):(e.currentChunk=n,e.position=a,e.currentChunk.position=e.position%e.chunkSize,void r(t,e))})};c()};b.classMethod(\"seek\",{callback:!0,promise:!0});var C=function(e,t,n){function o(e){o.err||n(o.err=e)}var a=e.collection(),s=e.referenceBy==g?{_id:e.fileId}:{filename:e.filename};if(s=null==e.fileId&&null==e.filename?null:s,t.readPreference=e.readPreference,null!=s)a.findOne(s,t,function(a,s){if(a)return o(a);if(null!=s)e.fileId=s._id,e.filename=\"r\"==e.mode||void 0==e.filename?s.filename:e.filename,e.contentType=s.contentType,e.internalChunkSize=s.chunkSize,e.uploadDate=s.uploadDate,e.aliases=s.aliases,e.length=s.length,e.metadata=s.metadata,e.internalMd5=s.md5;else{if(\"r\"==e.mode){e.length=0;var c=e.fileId instanceof i?e.fileId.toHexString():e.fileId;return o(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?c:e.filename),driver:!0}),e)}e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0}\"r\"==e.mode?P(e,0,t,function(t,r){return t?o(t):(e.currentChunk=r,e.position=0,void n(null,e))}):\"w\"==e.mode&&s?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w\"==e.mode?(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,\ne.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,n(null,e)):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})});else{e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0;e.chunkCollection();\"w\"==e.mode?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})}},T=function(e,t,n,i){\"function\"==typeof n&&(i=n,n=null);var o=\"boolean\"==typeof n?n:!1;if(\"w\"!=e.mode)i(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?e.referenceBy:e.filename),driver:!0}),null);else{if(!(e.currentChunk.position+t.length>=e.chunkSize))return e.position=e.position+t.length,e.currentChunk.write(t),o?e.close(function(t,n){i(t,e)}):i(null,e);for(var a=e.currentChunk.chunkNumber,s=e.chunkSize-e.currentChunk.position,c=t.slice(0,s),p=t.slice(s),l=[e.currentChunk.write(c)];p.length>=e.chunkSize;){var d=new r(e,{n:a+1},e.writeConcern),c=p.slice(0,e.chunkSize);p=p.slice(e.chunkSize),a+=1,d.write(c),l.push(d)}e.currentChunk=new r(e,{n:a+1},e.writeConcern),p.length>0&&e.currentChunk.write(p),e.position=e.position+t.length;for(var h=l.length,m=0;m<l.length;m++)l[m].save({},function(t,n){return t?i(t):(h-=1,0>=h?o?e.close(function(t,n){i(t,e)}):i(null,e):void 0)})}},I=function(e,t){var n={_id:e.fileId,filename:e.filename,contentType:e.contentType,length:e.position?e.position:0,chunkSize:e.chunkSize,uploadDate:e.uploadDate,aliases:e.aliases,metadata:e.metadata},r={filemd5:e.fileId,root:e.root};e.db.command(r,function(e,r){return e?t(e):(n.md5=r.md5,void t(null,n))})},P=function(e,t,n,i){\"function\"==typeof n&&(i=n,n={}),n=n||e.writeConcern,n.readPreference=e.readPreference,e.chunkCollection().findOne({files_id:e.fileId,n:t},n,function(t,n){if(t)return i(t);var o=null==n?{}:n;i(null,new r(e,o,e.writeConcern))})},F=function(e){return Math.floor((e.length?e.length-1:0)/e.chunkSize)},M=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||e.writeConcern,null!=e.fileId?e.chunkCollection().remove({files_id:e.fileId},t,function(e,t){return e?n(e,!1):void n(null,!0)}):n(null,!0)};y.DEFAULT_ROOT_COLLECTION=\"fs\",y.DEFAULT_CONTENT_TYPE=\"binary/octet-stream\",y.IO_SEEK_SET=0,y.IO_SEEK_CUR=1,y.IO_SEEK_END=2,y.exist=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():{},o=o||{};var c=o.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?z(t,r,i,o,a):new c(function(e,n){z(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var z=function(e,t,n,r,i){var a=r.readPreference||o.PRIMARY,s=null!=n?n:y.DEFAULT_ROOT_COLLECTION;e.collection(s+\".files\",function(e,n){if(e)return i(e);var r=\"string\"==typeof t||\"[object RegExp]\"==Object.prototype.toString.call(t)?{filename:t}:{_id:t};null!=t&&\"object\"==typeof t&&\"[object RegExp]\"!=Object.prototype.toString.call(t)&&(r=t),n.findOne(r,{readPreference:a},function(e,t){return e?i(e):void i(null,null!=t)})})};b.staticMethod(\"exist\",{callback:!0,promise:!0}),y.list=function(t,r,i,o){var a=Array.prototype.slice.call(arguments,1);o=a.pop(),\"function\"!=typeof o&&a.push(o),r=a.length?a.shift():null,i=a.length?a.shift():{},i=i||{};var s=i.promiseLibrary;return s||(s=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?B(t,r,i,o):new s(function(e,n){B(t,r,i,function(t,r){return t?n(t):void e(r)})})};var B=function(e,t,n,r){null!=t&&\"object\"==typeof t&&(n=t,t=null);var i=n.readPreference||o.PRIMARY,a=null!=n.id?n.id:!1,s=null!=t?t:y.DEFAULT_ROOT_COLLECTION,c=[];e.collection(s+\".files\",function(e,t){return e?r(e):void t.find({},{readPreference:i},function(e,t){return e?r(e):void t.each(function(e,t){null!=t?c.push(a?t._id:t.filename):r(e,c)})})})};b.staticMethod(\"list\",{callback:!0,promise:!0}),y.read=function(t,r,i,o,a,s){var c=Array.prototype.slice.call(arguments,2);s=c.pop(),\"function\"!=typeof s&&c.push(s),i=c.length?c.shift():null,o=c.length?c.shift():null,a=c.length?c.shift():null,a=a||{};var u=a?a.promiseLibrary:null;return u||(u=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof s?N(t,r,i,o,a,s):new u(function(e,n){N(t,r,i,o,a,function(t,r){return t?n(t):void e(r)})})};var N=function(e,t,n,r,i,o){new y(e,t,\"r\",i).open(function(e,t){return e?o(e):r&&r>=t.length?o(\"offset larger than size of file\",null):n&&n>t.length?o(\"length is larger than the size of the file\",null):r&&n&&r+n>t.length?o(\"offset and length is larger than the size of the file\",null):void(null!=r?t.seek(r,function(e,t){return e?o(e):void t.read(n,o)}):t.read(n,o))})};b.staticMethod(\"read\",{callback:!0,promise:!0}),y.readlines=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():null,o=o||{};var c=o?o.promiseLibrary:null;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?D(t,r,i,o,a):new c(function(e,n){D(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var D=function(e,t,n,r,i){var o=null==n?\"\\n\":n;new y(e,t,\"r\",r).open(function(e,t){return e?i(e):void t.readlines(o,i)})};b.staticMethod(\"readlines\",{callback:!0,promise:!0}),y.unlink=function(t,r,i,o){var a=this,s=Array.prototype.slice.call(arguments,2);o=s.pop(),\"function\"!=typeof o&&s.push(o),i=s.length?s.shift():{},i=i||{};var c=i.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?q(a,t,r,i,o):new c(function(e,n){q(a,t,r,i,function(t,r){return t?n(t):void e(r)})})};var q=function(e,t,n,r,i){var o=$(t,r);if(n.constructor==Array)for(var a=0,s=0;s<n.length;s++)++a,y.unlink(t,n[s],r,function(t){0==--a&&i(null,e)});else new y(t,n,\"w\",r).open(function(t,n){return t?i(t):void M(n,function(t,r){return t?i(t):void n.collection(function(t,r){return t?i(t):void r.remove({_id:n.fileId},o,function(t,n){i(t,e)})})})})};b.staticMethod(\"unlink\",{callback:!0,promise:!0});var R=function(e,t,n,r){return a.isBuffer(t)?T(e,t,n,r):T(e,new a(t,\"binary\"),n,r)},L=function(e){var t={};return null!=e.w&&(t.w=e.w),1==e.journal&&(t.j=e.journal),1==e.j&&(t.j=e.j),1==e.fsync&&(t.fsync=e.fsync),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),t},$=function(e,t){var n={w:1};if(t=t||{},null!=t.w||\"boolean\"==typeof t.j||\"boolean\"==typeof t.journal||\"boolean\"==typeof t.fsync?n=L(t):null!=t.safe&&\"object\"==typeof t.safe?n=L(t.safe):\"boolean\"==typeof t.safe?n={w:t.safe?1:0}:null!=e.options.w||\"boolean\"==typeof e.options.j||\"boolean\"==typeof e.options.journal||\"boolean\"==typeof e.options.fsync?n=L(e.options):!e.safe||null==e.safe.w&&\"boolean\"!=typeof e.safe.j&&\"boolean\"!=typeof e.safe.journal&&\"boolean\"!=typeof e.safe.fsync?\"boolean\"==typeof e.safe&&(n={w:e.safe?1:0}):n=L(e.safe),n.w<1&&(1==n.journal||1==n.j||1==n.fsync))throw f.create({message:\"No acknowledgement using w < 1 cannot be combined with journal:true or fsync:true\",driver:!0});return n},U=function(e){h.call(this),this.gs=e,this.endCalled=!1,this.totalBytesToRead=this.gs.length-this.gs.position,this.seekPosition=this.gs.position};d(U,h),U.prototype._pipe=U.prototype.pipe,U.prototype.pipe=function(e){var t=this;return t.gs.isOpen?(t.totalBytesToRead=t.gs.length-t.gs.position,t._pipe.apply(t,[e])):t.gs.open(function(n){return n?t.emit(\"error\",n):(t.totalBytesToRead=t.gs.length-t.gs.position,void t._pipe.apply(t,[e]))}),e},U.prototype._read=function(e){var t=this,n=function(){t.gs.read(r,function(e,n){return e&&!t.endCalled?t.emit(\"error\",e):t.endCalled||null==n?t.push(null):(n.length<=t.totalBytesToRead?(t.totalBytesToRead=t.totalBytesToRead-n.length,t.push(n)):n.length>t.totalBytesToRead&&(t.totalBytesToRead=t.totalBytesToRead-n._index,t.push(n.slice(0,n._index))),void(t.totalBytesToRead<=0&&(t.endCalled=!0)))})},r=t.gs.length<t.gs.chunkSize?t.gs.length-t.seekPosition:t.gs.chunkSize;t.gs.isOpen?n():t.gs.open(function(e,r){return t.totalBytesToRead=t.gs.length-t.gs.position,e?t.emit(\"error\",e):void n()})},U.prototype.destroy=function(){this.pause(),this.endCalled=!0,this.gs.close(),this.emit(\"end\")},U.prototype.write=function(e,t,n){var r=this;return r.endCalled?r.emit(\"error\",f.create({message:\"attempting to write to stream after end called\",driver:!0})):r.gs.isOpen?(r.gs.write(e,function(){r.emit(\"drain\")}),!0):(r.gs.open(function(){r.gs.isOpen=!0,r.gs.write(e,function(){process.nextTick(function(){r.emit(\"drain\")})})}),!1)},U.prototype.end=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,r.endCalled=!0,e&&r.gs.write(e,function(){r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})}),r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})},t.exports=y}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../collection\":222,\"../metadata\":231,\"../read_preference\":234,\"../utils\":239,\"./chunk\":229,buffer:void 0,\"es6-promise\":95,fs:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,timers:void 0,util:void 0}],231:[function(e,t,n){var r=e(\"util\").format,i=function(e,t,n){this.name=e,this.object=t,this.stream=\"boolean\"==typeof n?n:!1,this.instrumentations={}};i.prototype.classMethod=function(e,t){var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)};var o=function(e,t){for(var n=[],i=0;i<e.length;i++)n.push(r(\"%s=%s\",e[i],t[e[i]]));return n.join()};i.prototype.staticMethod=function(e,t){t[\"static\"]=!0;var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)},i.prototype.generate=function(e,t){var n={name:this.name,obj:this.object,stream:this.stream,instrumentations:[]};for(var r in this.instrumentations)n.instrumentations.push(this.instrumentations[r]);return n},t.exports=i},{util:void 0}],232:[function(e,t,n){(function(n){\"use strict\";function r(){this.connect=r.connect}var i=e(\"./url_parser\"),o=e(\"./server\"),a=e(\"./mongos\"),s=e(\"./replset\"),c=e(\"./metadata\"),u=e(\"./read_preference\"),p=e(\"./db\"),l=r.define=new c(\"MongoClient\",r,!1);r.connect=function(t,r,i){var o=Array.prototype.slice.call(arguments,1);i=\"function\"==typeof o[o.length-1]?o.pop():null,r=o.length?o.shift():null,r=r||{};var a=r.promiseLibrary;return a||(a=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"!=typeof i?new a(function(e,n){g(t,r,function(t,r){return t?n(t):void e(r)})}):void g(t,r,i)},l.staticMethod(\"connect\",{callback:!0,promise:!0});var f=[\"poolSize\",\"ssl\",\"sslValidate\",\"checkServerIdentity\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"autoReconnect\",\"noDelay\",\"keepAlive\",\"connectionTimeoutMS\",\"socketTimeoutMS\",\"reconnectTries\",\"reconnectInterval\"],d=[\"ha\",\"haInterval\",\"replicaSet\",\"secondaryAcceptableLatencyMS\",\"connectWithNoPrimary\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\"],h=[\"ha\",\"haInterval\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\",\"acceptableLatencyMS\"],m=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"ignoreUndefined\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"readPreference\",\"pkFactory\",\"promiseLibrary\",\"readConcern\"],v=function(e,t){e.server_options||(e.server_options={}),e.db_options||(e.db_options={}),e.rs_options||(e.rs_options={}),e.mongos_options||(e.mongos_options={});for(var n in t)-1!=f.indexOf(n)&&(e.server_options[n]=t[n]),-1!=d.indexOf(n)&&(e.rs_options[n]=t[n]),-1!=h.indexOf(n)&&(e.mongos_options[n]=t[n]),-1!=m.indexOf(n)&&(e.db_options[n]=t[n]);return e},g=function(e,t,n){var r=t.server||{},c=t.mongos||{},u=t.replSet||t.replSetServers||{},l=t.db||{};if(null==n)throw new Error(\"no callback function provided\");var f=i(e,t);if(l)for(var d in l)f.db_options[d]=l[d];if(f.db_options.url=e,r)for(var d in r)f.server_options[d]=r[d];if(u)for(var d in u)f.rs_options[d]=u[d];if((u.ssl||u.sslValidate||u.checkServerIdentity||u.sslCA||u.sslCert||u.sslKey||u.sslPass)&&(f.server_options.ssl=u.ssl,f.server_options.sslValidate=u.sslValidate,f.server_options.checkServerIdentity=u.checkServerIdentity,f.server_options.sslCA=u.sslCA,f.server_options.sslCert=u.sslCert,f.server_options.sslKey=u.sslKey,f.server_options.sslPass=u.sslPass),c)for(var d in c)f.mongos_options[d]=c[d];\"number\"==typeof f.server_options.poolSize&&(f.mongos_options.poolSize||(f.mongos_options.poolSize=f.server_options.poolSize),f.rs_options.poolSize||(f.rs_options.poolSize=f.server_options.poolSize)),(c.ssl||c.sslValidate||c.checkServerIdentity||c.sslCA||c.sslCert||c.sslKey||c.sslPass)&&(f.server_options.ssl=c.ssl,f.server_options.sslValidate=c.sslValidate,f.server_options.checkServerIdentity=c.checkServerIdentity,f.server_options.sslCA=c.sslCA,f.server_options.sslCert=c.sslCert,f.server_options.sslKey=c.sslKey,f.server_options.sslPass=c.sslPass),f.db_options.promiseLibrary=t.promiseLibrary;var h=f.servers.length,m=0,g=0,x=null,w={};if(0==f.servers.length)throw new Error(\"connection string must contain at least one seed host\");f.db_options.native_parser=y(f.db_options),\"boolean\"!=typeof f.server_options.auto_reconnect&&(f.server_options.auto_reconnect=!0),f=v(f,t);for(var _=0;_<f.servers.length;_++){var k=f.server_options.socketOptions||{},j={poolSize:1,socketOptions:{connectTimeoutMS:k.connectTimeoutMS||12e4,socketTimeoutMS:k.socketTimeoutMS||12e4},auto_reconnect:!1};f.server_options.ssl?(j.ssl=f.server_options.ssl,j.sslValidate=f.server_options.sslValidate,j.checkServerIdentity=f.server_options.checkServerIdentity,j.sslCA=f.server_options.sslCA,j.sslCert=f.server_options.sslCert,j.sslKey=f.server_options.sslKey,j.sslPass=f.server_options.sslPass):f.rs_options.ssl&&(j.ssl=f.rs_options.ssl,j.sslValidate=f.rs_options.sslValidate,j.checkServerIdentity=f.rs_options.checkServerIdentity,j.sslCA=f.rs_options.sslCA,j.sslCert=f.rs_options.sslCert,j.sslKey=f.rs_options.sslKey,j.sslPass=f.rs_options.sslPass);var S=null,E=f.servers[_].domain_socket?new o(f.servers[_].domain_socket,j):new o(f.servers[_].host,f.servers[_].port,j),O=function(e){new p(f.dbName,e,{w:1,native_parser:!1,promiseLibrary:t.promiseLibrary}).open(function(r,i){if(h-=1,r)S=r,w[e.host+\":\"+e.port]=e;else{i.close();var c=i.serverConfig.isMasterDoc;c.setName&&g++,c.msg&&\"isdbgrid\"==c.msg&&m++}if(0==h){if(0==g&&0==m&&S)return n(S,null);if(m>0&&g>0)return i&&i.close(),process.nextTick(function(){try{n(new Error(\"cannot combine a list of replicaset seeds and mongos seeds\"))}catch(e){throw e}});if(0!=g||0!=m||1!=f.servers.length||f.rs_options.replicaSet&&f.rs_options.rs_name){if(g>0||m>0||f.rs_options.replicaSet||f.rs_options.rs_name){var u=f.servers.filter(function(e){return null==w[e.host+\":\"+e.port]}).map(function(e){return e.domain_socket?new o(e.domain_socket,27017,f.server_options):new o(e.host,e.port,f.server_options)});if(w={},g>0)try{1!=g||f.rs_options.replicaSet||f.rs_options.rs_name?1==g?(f.rs_options.replicaSet=f.rs_options.replicaSet||f.rs_options.rs_name,x=new s(u,f.rs_options)):x=new s(u,f.rs_options):x=u[0]}catch(r){return n(r,null)}else x=new a(u,f.mongos_options)}}else{var p=f.servers[0];x=p.domain_socket?new o(p.domain_socket,f.server_options):new o(p.host,p.port,f.server_options)}if(null==x)return process.nextTick(function(){try{n(new Error(\"Could not locate any valid servers in initial seed list\"))}catch(e){throw i&&i.close(),e}});x.emitOpen=!1,b(x,f,t,n)}})};O(E)}},y=function(t){if(\"boolean\"==typeof t.native_parser)return t.native_parser;try{return e(\"mongodb-core\").BSON.BSONNative.BSON,!0}catch(n){return!1}},b=function(e,t,n,r){\"string\"==typeof t.db_options.readPreference?t.db_options.readPreference=new u(t.db_options.readPreference):\"string\"==typeof t.db_options.read_preference&&(t.db_options.readPreference=new u(t.db_options.read_preference)),t.db_options.readPreference&&t.db_options.readPreferenceTags?t.db_options.readPreference.tags=t.db_options.readPreferenceTags:t.db_options.readPreference&&t.db_options.read_preference_tags&&(t.db_options.readPreference.tags=t.db_options.read_preference_tags);var i=t.server_options.socketOptions.socketTimeoutMS||0;e instanceof s&&(i=t.rs_options.socketOptions.socketTimeoutMS||i),e.connectTimeoutMS=e.connectTimeoutMS||3e4,e.socketTimeoutMS=e.connectTimeoutMS;var o=new p(t.dbName,e,t.db_options);o.open(function(n,o){if(n)return process.nextTick(function(){try{r(e,null)}catch(e){throw o&&o.close(),e}});if(e.socketTimeoutMS=i||0,null==n&&t.auth){var a=o;t.db_options&&t.db_options.authSource&&(a=o.db(t.db_options.authSource));var s={};t.db_options.authMechanism&&(s.authMechanism=t.db_options.authMechanism),t.db_options.gssapiServiceName&&(s.gssapiServiceName=t.db_options.gssapiServiceName),t.db_options.gssapiServiceRealm&&(s.gssapiServiceRealm=t.db_options.gssapiServiceRealm),t.db_options.gssapiCanonicalizeHostName&&(s.gssapiCanonicalizeHostName=t.db_options.gssapiCanonicalizeHostName),a.authenticate(t.auth.user,t.auth.password,s,function(e,n){n?process.nextTick(function(){try{r(null,o)}catch(e){throw o&&o.close(),e}}):(o&&o.close(),process.nextTick(function(){try{r(e?e:new Error(\"Could not authenticate user \"+t.auth[0]),null)}catch(e){throw o&&o.close(),e}}))})}else process.nextTick(function(){try{r(e,o)}catch(e){throw o&&o.close(),e}})})};t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./db\":225,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./replset\":235,\"./server\":236,\"./url_parser\":238,\"es6-promise\":95,\"mongodb-core\":188}],233:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),a=e(\"mongodb-core\").MongoCR,s=e(\"mongodb-core\").MongoError,c=e(\"mongodb-core\").Mongos,u=e(\"./cursor\"),p=e(\"./aggregation_cursor\"),l=e(\"./command_cursor\"),f=e(\"./metadata\"),d=e(\"./server\"),h=e(\"./topology_base\").Store,m=e(\"./utils\").shallowClone,v=e(\"./utils\").MAX_JS_INT,g=function(e,t){if(!(this instanceof g))return new g(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof d))throw s.create({message:\"all seed list instances must be of the Server type\",driver:!0});var o={force:!1,bufferMaxEntries:-1};-1==o.bufferMaxEntries&&(o.bufferMaxEntries=v);var p=t.store||new h(n,o);r.call(this);var l=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),f=m(t);f.size=\"number\"==typeof t.poolSize?t.poolSize:5,f.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,f.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,f.cursorFactory=u,f.disconnectHandler=p,t.sslCA&&(f.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(f.rejectUnauthorized=t.sslValidate),t.sslKey&&(f.key=t.sslKey),t.sslCert&&(f.cert=t.sslCert),t.sslPass&&(f.passphrase=t.sslPass),t.checkServerIdentity&&(f.checkServerIdentity=t.checkServerIdentity),t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,f.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(f.socketTimeout=t.socketOptions.socketTimeoutMS));var y=\"boolean\"==typeof t.debug?t.debug:!1;y&&(f.debug=y),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(f.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(f.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(f.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.acceptableLatencyMS&&(f.localThresholdMS=t.acceptableLatencyMS||15),f.disconnectHandler=p;var b=new c(l,f),x=null;b.addAuthProvider(\"mongocr\",new a),this.s={mongos:b,sCapabilities:x,debug:y,storeOptions:o,clonedOptions:f,store:p,options:t},Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return n.s.mongos.lastIsMaster()}}),Object.defineProperty(this,\"numberOfConnectedServers\",{enumerable:!0,get:function(){return n.s.mongos.s.mongosState.connectedServers().length}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return n.s.mongos.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.mongos.haInterval}})};i(g,r);var y=g.define=new f(\"Mongos\",g,!1);g.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.removeListener(e,i)}),r.s.mongos.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\"),r.s.store.execute()},s=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.mongos.removeAllListeners(e)}),r.s.mongos.once(\"timeout\",o(\"timeout\")),r.s.mongos.once(\"error\",o(\"error\")),r.s.mongos.once(\"close\",o(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.mongos.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.mongos.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.mongos.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.mongos.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.mongos.on(\"serverOpening\",e(\"serverOpening\")),r.s.mongos.on(\"serverClosed\",e(\"serverClosed\")),r.s.mongos.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.mongos.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.mongos.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.mongos.on(\"joined\",e(\"joined\")),r.s.mongos.on(\"left\",e(\"left\")),r.s.mongos.on(\"fullsetup\",e(\"fullsetup\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){process.nextTick(function(){throw t})}};r.s.mongos.once(\"timeout\",i(\"timeout\")),r.s.mongos.once(\"error\",i(\"error\")),r.s.mongos.once(\"close\",i(\"close\")),r.s.mongos.once(\"connect\",s),r.s.mongos.on(\"reconnect\",a),r.s.mongos.connect(t)},g.prototype.parserType=function(){return this.s.mongos.parserType()},y.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),g.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.mongos.lastIsMaster()?null:(this.s.sCapabilities=new o(this.s.mongos.lastIsMaster()),this.s.sCapabilities)},y.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[o]}),g.prototype.command=function(e,t,n,r){this.s.mongos.command(e,t,n,r)},y.classMethod(\"command\",{callback:!0,promise:!1}),g.prototype.insert=function(e,t,n,r){this.s.mongos.insert(e,t,n,function(e,t){r(e,t)})},y.classMethod(\"insert\",{callback:!0,promise:!1}),g.prototype.update=function(e,t,n,r){this.s.mongos.update(e,t,n,r)},y.classMethod(\"update\",{callback:!0,promise:!1}),g.prototype.remove=function(e,t,n,r){this.s.mongos.remove(e,t,n,r)},y.classMethod(\"remove\",{callback:!0,promise:!1}),g.prototype.isDestroyed=function(){return this.s.mongos.isDestroyed()},g.prototype.isConnected=function(){return this.s.mongos.isConnected()},y.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.mongos.cursor(e,t,n)},y.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[u,p,l]}),g.prototype.setBSONParserType=function(e){return this.s.mongos.setBSONParserType(e)},g.prototype.lastIsMaster=function(){return this.s.mongos.lastIsMaster()},g.prototype.close=function(e){this.s.mongos.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},y.classMethod(\"close\",{callback:!1,promise:!1}),g.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.mongos.auth.apply(this.s.mongos,e)},y.classMethod(\"auth\",{callback:!0,promise:!1}),g.prototype.connections=function(){return this.s.mongos.connections()},y.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=g},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],234:[function(e,t,n){\"use strict\";var r=function(e,t){return this instanceof r?(this._type=\"ReadPreference\",this.mode=e,void(this.tags=t)):new r(e,t)};r.isValid=function(e){return e==r.PRIMARY||e==r.PRIMARY_PREFERRED||e==r.SECONDARY||e==r.SECONDARY_PREFERRED||e==r.NEAREST||1==e||0==e||null==e},r.prototype.isValid=function(e){var t=\"string\"==typeof e?e:this.mode;return r.isValid(t)},r.prototype.toObject=function(){var e={mode:this.mode};return null!=this.tags&&(e.tags=this.tags),e},r.PRIMARY=\"primary\",r.PRIMARY_PREFERRED=\"primaryPreferred\",r.SECONDARY=\"secondary\",r.SECONDARY_PREFERRED=\"secondaryPreferred\",r.NEAREST=\"nearest\",t.exports=r},{}],235:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./server\")),a=(e(\"./mongos\"),e(\"./cursor\")),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=e(\"./read_preference\"),p=(e(\"mongodb-core\").MongoCR,e(\"mongodb-core\").MongoError),l=e(\"./topology_base\").ServerCapabilities,f=e(\"./topology_base\").Store,d=e(\"./metadata\"),h=(e(\"mongodb-core\").Server,e(\"mongodb-core\").ReplSet),m=e(\"mongodb-core\").ReadPreference,v=e(\"./utils\").shallowClone,g=e(\"./utils\").MAX_JS_INT,y=function(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof o))throw p.create({message:\"all seed list instances must be of the Server type\",driver:!0});var s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=g);var c=t.store||new f(n,s);r.call(this);var u=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),l=v(t);l.size=\"number\"==typeof t.poolSize?t.poolSize:5,l.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,l.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,l.cursorFactory=a,l.disconnectHandler=c,t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,l.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(l.socketTimeout=t.socketOptions.socketTimeoutMS));var d=t.replicaSet||t.rs_name;l.setName=d;var m=\"boolean\"==typeof t.debug?t.debug:!1;m&&(l.debug=m),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(l.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(l.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(l.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.secondaryAcceptableLatencyMS&&(l.acceptableLatency=t.secondaryAcceptableLatencyMS),1==t.connectWithNoPrimary&&(l.secondaryOnlyConnectionAllowed=!0),l.disconnectHandler=c,t.sslCA&&(l.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(l.rejectUnauthorized=t.sslValidate),t.sslKey&&(l.key=t.sslKey),t.sslCert&&(l.cert=t.sslCert),t.sslPass&&(l.passphrase=t.sslPass),t.checkServerIdentity&&(l.checkServerIdentity=t.checkServerIdentity);var b=new h(u,l);b.on(\"reconnect\",function(){n.emit(\"reconnect\"),c.execute()}),this.s={replset:b,sCapabilities:null,tag:t.tag,storeOptions:s,clonedOptions:l,store:c,options:t},m&&Object.defineProperty(this,\"replset\",{enumerable:!0,get:function(){return b}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return b.lastIsMaster()}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return b.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return b.haInterval}})};i(y,r);var b=y.define=new d(\"ReplSet\",y,!1),x=function(e){return\"string\"==typeof e.readPreference?e.readPreference=new m(e.readPreference):e.readPreference instanceof u&&(e.readPreference=new m(e.readPreference.mode,e.readPreference.tags)),e};y.prototype.parserType=function(){return this.s.replset.parserType()},b.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),y.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},o=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.replset.removeAllListeners(e)}),r.s.replset.once(\"timeout\",i(\"timeout\")),r.s.replset.once(\"error\",i(\"error\")),r.s.replset.once(\"close\",i(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}},t=function(e){return function(t,n){r.emit(e,t,n.lastIsMaster(),n)}},o=function(e,t){r.emit(\"ha\",e,t),\"start\"==e?r.emit(\"ha_connect\",e,t):\"end\"==e&&r.emit(\"ha_ismaster\",e,t)};r.s.replset.on(\"joined\",t(\"joined\")),r.s.replset.on(\"left\",e(\"left\")),r.s.replset.on(\"ping\",e(\"ping\")),r.s.replset.on(\"ha\",o),r.s.replset.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.replset.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.replset.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.replset.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.replset.on(\"serverOpening\",e(\"serverOpening\")),r.s.replset.on(\"serverClosed\",e(\"serverClosed\")),r.s.replset.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.replset.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.replset.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.replset.on(\"fullsetup\",function(e){r.emit(\"fullsetup\",null,r)}),r.s.replset.on(\"all\",function(e){r.emit(\"all\",null,r)}),r.emit(\"open\",null,r);try{n(null,r)}catch(a){process.nextTick(function(){throw a})}},a=function(e){return function(e){[\"timeout\",\"error\",\"close\"].forEach(function(e){r.s.replset.removeListener(e,a)}),r.s.replset.removeListener(\"connect\",a),r.s.replset.destroy();try{n(e)}catch(e){r.s.replset.isConnected()||process.nextTick(function(){throw e})}}};r.s.replset.once(\"timeout\",a(\"timeout\")),\nr.s.replset.once(\"error\",a(\"error\")),r.s.replset.once(\"close\",a(\"close\")),r.s.replset.once(\"connect\",o),r.s.replset.connect(t)},y.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.replset.lastIsMaster()?null:(this.s.sCapabilities=new l(this.s.replset.lastIsMaster()),this.s.sCapabilities)},b.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[l]}),y.prototype.command=function(e,t,n,r){n=x(n),this.s.replset.command(e,t,n,r)},b.classMethod(\"command\",{callback:!0,promise:!1}),y.prototype.insert=function(e,t,n,r){this.s.replset.insert(e,t,n,r)},b.classMethod(\"insert\",{callback:!0,promise:!1}),y.prototype.update=function(e,t,n,r){this.s.replset.update(e,t,n,r)},b.classMethod(\"update\",{callback:!0,promise:!1}),y.prototype.remove=function(e,t,n,r){this.s.replset.remove(e,t,n,r)},b.classMethod(\"remove\",{callback:!0,promise:!1}),y.prototype.isDestroyed=function(){return this.s.replset.isDestroyed()},y.prototype.isConnected=function(){return this.s.replset.isConnected()},b.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.setBSONParserType=function(e){return this.s.replset.setBSONParserType(e)},y.prototype.cursor=function(e,t,n){return n=x(n),n.disconnectHandler=this.s.store,this.s.replset.cursor(e,t,n)},b.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),y.prototype.lastIsMaster=function(){return this.s.replset.lastIsMaster()},y.prototype.close=function(e){var t=this;this.s.replset.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush());var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\"];n.forEach(function(e){t.removeAllListeners(e)})},b.classMethod(\"close\",{callback:!1,promise:!1}),y.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.replset.auth.apply(this.s.replset,e)},b.classMethod(\"auth\",{callback:!0,promise:!1}),y.prototype.connections=function(){return this.s.replset.connections()},b.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=y},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],236:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"mongodb-core\").Server,a=e(\"./cursor\"),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),p=e(\"./topology_base\").Store,l=e(\"./metadata\"),f=e(\"mongodb-core\").MongoError,d=e(\"./utils\").shallowClone,h=e(\"./utils\").MAX_JS_INT,m=function(e,t,n){if(n=n||{},!(this instanceof m))return new m(e,t,n);r.call(this);var i=this,s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=h);var c=n.store||new p(i,s);if(-1!=e.indexOf(\"/\"))null!=t&&\"object\"==typeof t&&(n=t,t=null);else if(null==t)throw f.create({message:\"port must be specified\",driver:!0});var u=d(n);u.host=e,u.port=t;var l=\"boolean\"==typeof n.auto_reconnect?n.auto_reconnect:!0;l=\"boolean\"==typeof n.autoReconnect?n.autoReconnect:l;var v=\"boolean\"==typeof n.emitError?n.emitError:!0,g=\"number\"==typeof n.poolSize?n.poolSize:5;n.socketOptions&&(n.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=n.socketOptions.connectTimeoutMS,u.connectionTimeout=n.socketOptions.connectTimeoutMS),n.socketOptions.socketTimeoutMS&&(u.socketTimeout=n.socketOptions.socketTimeoutMS),\"number\"==typeof n.socketOptions.keepAlive&&(u.keepAliveInitialDelay=n.socketOptions.keepAlive,u.keepAlive=!0),\"boolean\"==typeof n.socketOptions.noDelay&&(u.noDelay=n.socketOptions.noDelay)),u.cursorFactory=a,u.reconnect=l,u.emitError=v,u.size=g,u.sslCA&&(u.ca=u.sslCA),\"boolean\"==typeof u.sslValidate&&(u.rejectUnauthorized=u.sslValidate),u.sslKey&&(u.key=u.sslKey),u.sslCert&&(u.cert=u.sslCert),u.sslPass&&(u.passphrase=u.sslPass),u.disconnectHandler=c;var y=new o(u);this.s={server:y,sCapabilities:null,clonedOptions:u,reconnect:l,emitError:v,poolSize:g,storeOptions:s,store:c,host:e,port:t,options:n},Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return i.s.server.bson}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return i.s.server.lastIsMaster()}}),Object.defineProperty(this,\"poolSize\",{enumerable:!0,get:function(){return i.s.server.connections().length}}),Object.defineProperty(this,\"autoReconnect\",{enumerable:!0,get:function(){return i.s.reconnect}}),Object.defineProperty(this,\"host\",{enumerable:!0,get:function(){return i.s.host}}),Object.defineProperty(this,\"port\",{enumerable:!0,get:function(){return i.s.port}})};i(m,r);var v=m.define=new l(\"Server\",m,!1);m.prototype.parserType=function(){return this.s.server.parserType()},v.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),m.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.s.server.removeListener(e,u[e])}),r.s.server.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\",r),r.s.store.execute()},s=function(){r.s.store.flush()},c=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.server.removeAllListeners(e)}),r.s.server.once(\"timeout\",o(\"timeout\")),r.s.server.once(\"error\",o(\"error\")),r.s.server.on(\"close\",o(\"close\")),r.s.server.once(\"destroy\",s);var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.server.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.server.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.server.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.server.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.server.on(\"serverOpening\",e(\"serverOpening\")),r.s.server.on(\"serverClosed\",e(\"serverClosed\")),r.s.server.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.server.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.server.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){console.log(t.stack),process.nextTick(function(){throw t})}},u={timeout:i(\"timeout\"),error:i(\"error\"),close:i(\"close\")};r.s.server.once(\"timeout\",u.timeout),r.s.server.once(\"error\",u.error),r.s.server.once(\"close\",u.close),r.s.server.once(\"connect\",c),r.s.server.on(\"reconnect\",a),r.s.server.connect(t)},m.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.server.lastIsMaster()?null:(this.s.sCapabilities=new u(this.s.server.lastIsMaster()),this.s.sCapabilities)},v.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[u]}),m.prototype.command=function(e,t,n,r){this.s.server.command(e,t,n,r)},v.classMethod(\"command\",{callback:!0,promise:!1}),m.prototype.insert=function(e,t,n,r){this.s.server.insert(e,t,n,r)},v.classMethod(\"insert\",{callback:!0,promise:!1}),m.prototype.update=function(e,t,n,r){this.s.server.update(e,t,n,r)},v.classMethod(\"update\",{callback:!0,promise:!1}),m.prototype.remove=function(e,t,n,r){this.s.server.remove(e,t,n,r)},v.classMethod(\"remove\",{callback:!0,promise:!1}),m.prototype.isConnected=function(){return this.s.server.isConnected()},m.prototype.isDestroyed=function(){return this.s.server.isDestroyed()},v.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),m.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.server.cursor(e,t,n)},v.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),m.prototype.setBSONParserType=function(e){return this.s.server.setBSONParserType(e)},m.prototype.lastIsMaster=function(){return this.s.server.lastIsMaster()},m.prototype.close=function(e){this.s.server.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},v.classMethod(\"close\",{callback:!1,promise:!1}),m.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.server.auth.apply(this.s.server,e)},v.classMethod(\"auth\",{callback:!0,promise:!1}),m.prototype.connections=function(){return this.s.server.connections()},v.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=m},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],237:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=e(\"util\").format,o=function(e,t){var n=this,r=[];t=t||{force:!1,bufferMaxEntries:-1},this.s={storedOps:r,storeOptions:t,topology:e},Object.defineProperty(this,\"length\",{enumerable:!0,get:function(){return n.s.storedOps.length}})};o.prototype.add=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,n:t,o:n,op:o,c:a})},o.prototype.addObjectAndMethod=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,m:n,o:t,p:o,c:a})},o.prototype.flush=function(){for(;this.s.storedOps.length>0;)this.s.storedOps.shift().c(r.create({message:i(\"no connection available for operation\"),driver:!0}))},o.prototype.execute=function(){var e=this.s.storedOps;for(this.s.storedOps=[];e.length>0;){var t=e.shift();\"cursor\"==t.t?t.o[t.m].apply(t.o,t.p):this.s.topology[t.t](t.n,t.o,t.op,t.c)}},o.prototype.all=function(){return this.s.storedOps};var a=function(e){var t=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},n=!1,r=!1,i=!1,o=!1,a=!1,s=!1,c=e.maxWriteBatchSize||1e3;e.minWireVersion>=0&&(i=!0),e.maxWireVersion>=1&&(n=!0,o=!0),e.maxWireVersion>=2&&(r=!0),e.maxWireVersion>=3&&(a=!0,s=!0),null==e.minWireVersion&&(e.minWireVersion=0),null==e.maxWireVersion&&(e.maxWireVersion=0),t(this,\"hasAggregationCursor\",n),t(this,\"hasWriteCommands\",r),t(this,\"hasTextSearch\",i),t(this,\"hasAuthCommands\",o),t(this,\"hasListCollectionsCommand\",a),t(this,\"hasListIndexesCommand\",s),t(this,\"minWireVersion\",e.minWireVersion),t(this,\"maxWireVersion\",e.maxWireVersion),t(this,\"maxNumberOfDocsInBatch\",c)};n.Store=o,n.ServerCapabilities=a},{\"mongodb-core\":188,util:void 0}],238:[function(e,t,n){\"use strict\";var r=e(\"./read_preference\"),i=e(\"url\"),o=e(\"util\").format;t.exports=function(e,t){t=t||{};var n=\"\",a=\"\",s=\"\",c=\"admin\",u=i.parse(e,!0);if(\"mongodb:\"!=u.protocol)throw new Error(\"invalid schema, expected mongodb\");if((null==u.hostname||\"\"==u.hostname)&&-1==e.indexOf(\".sock\"))throw new Error(\"no hostname or hostnames provided in connection string\");if(\"0\"==u.port)throw new Error(\"invalid port (zero) with hostname\");if(!isNaN(parseInt(u.port,10))&&parseInt(u.port,10)>65535)throw new Error(\"invalid port (larger than 65535) with hostname\");if(u.path&&u.path.length>0&&\"/\"!=u.path[0]&&-1==e.indexOf(\".sock\"))throw new Error(\"missing delimiting slash between hosts and options\");if(u.query)for(var p in u.query){if(-1!=p.indexOf(\"::\"))throw new Error(\"double colon in host identifier\");if(\"\"==u.query[p])throw new Error(\"query parameter \"+p+\" is an incomplete value pair\")}if(u.auth){var l=u.auth.split(\":\");if(-1!=e.indexOf(u.auth)&&l.length>2)throw new Error(\"Username with password containing an unescaped colon\");if(-1!=e.indexOf(u.auth)&&-1!=u.auth.indexOf(\"@\"))throw new Error(\"Username containing an unescaped at-sign\")}for(var f=e.split(\"?\").shift(),d=f.split(\",\"),h=[],m=0;m<d.length;m++){var v=d[m];-1!=v.indexOf(\"mongodb\")?-1!=v.indexOf(\"@\")?h.push(v.split(\"@\").pop()):h.push(v.substr(\"mongodb://\".length)):-1!=v.indexOf(\"/\")?h.push(v.split(\"/\").shift()):-1==v.indexOf(\"/\")&&h.push(v.trim())}for(var m=0;m<h.length;m++){var g=i.parse(o(\"mongodb://%s\",h[m].trim()));if(g.path&&-1!=g.path.indexOf(\":\"))throw new Error(\"double colon in host identifier\")}if(-1!=e.indexOf(\"?\")?(s=e.substr(e.indexOf(\"?\")+1),n=e.substring(\"mongodb://\".length,e.indexOf(\"?\"))):n=e.substring(\"mongodb://\".length),-1!=n.indexOf(\"@\")&&(a=n.split(\"@\")[0],n=n.split(\"@\")[1]),-1!=n.indexOf(\".sock\")){if(-1!=n.indexOf(\".sock/\")){if(c=n.split(\".sock/\")[1],-1!=c.indexOf(\"/\")){if(2==c.split(\"/\").length&&0==c.split(\"/\")[1].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}n=n.split(\"/\",n.indexOf(\".sock\")+\".sock\".length)}}else if(-1!=n.indexOf(\"/\")){if(n.split(\"/\").length>2){if(0==n.split(\"/\")[2].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}c=n.split(\"/\")[1],n=n.split(\"/\")[0]}var y={},b=a||\"\",x=b.split(\":\",2);x[0]=decodeURIComponent(x[0]),x[1]&&(x[1]=decodeURIComponent(x[1])),2==x.length&&(y.auth={user:x[0],password:x[1]});var w,_,k,j={socketOptions:{}},S={read_preference_tags:[]},E={socketOptions:{}},O={socketOptions:{}};if(y.server_options=j,y.db_options=S,y.rs_options=E,y.mongos_options=O,e.match(/\\.sock/)){var A=e.substring(e.indexOf(\"mongodb://\")+\"mongodb://\".length,e.lastIndexOf(\".sock\")+\".sock\".length);-1!=A.indexOf(\"@\")&&(A=A.split(\"@\")[1]),k=[{domain_socket:A}]}else{w=n;var C={};k=w.split(\",\").map(function(e){var t,n,r;if(r=/\\[([^\\]]+)\\](?:\\:(.+))?/.exec(e))t=r[1],n=parseInt(r[2],10)||27017;else{var i=e.split(\":\",2);t=i[0]||\"localhost\",n=null!=i[1]?parseInt(i[1],10):27017,-1!=t.indexOf(\"?\")&&(t=t.split(/\\?/)[0])}return C[t+\"_\"+n]?null:(C[t+\"_\"+n]=1,{host:t,port:n})}).filter(function(e){return null!=e})}if(y.dbName=c||\"admin\",_=(s||\"\").split(/[&;]/),_.forEach(function(e){if(e){var t=e.split(\"=\"),n=t[0],i=t[1];switch(n){case\"slaveOk\":case\"slave_ok\":j.slave_ok=\"true\"==i,S.slaveOk=\"true\"==i;break;case\"maxPoolSize\":case\"poolSize\":j.poolSize=parseInt(i,10),E.poolSize=parseInt(i,10);break;case\"autoReconnect\":case\"auto_reconnect\":j.auto_reconnect=\"true\"==i;break;case\"minPoolSize\":throw new Error(\"minPoolSize not supported\");case\"maxIdleTimeMS\":throw new Error(\"maxIdleTimeMS not supported\");case\"waitQueueMultiple\":throw new Error(\"waitQueueMultiple not supported\");case\"waitQueueTimeoutMS\":throw new Error(\"waitQueueTimeoutMS not supported\");case\"uuidRepresentation\":throw new Error(\"uuidRepresentation not supported\");case\"ssl\":if(\"prefer\"==i){j.ssl=i,E.ssl=i,O.ssl=i;break}j.ssl=\"true\"==i,E.ssl=\"true\"==i,O.ssl=\"true\"==i;break;case\"sslValidate\":j.sslValidate=\"true\"==i,E.sslValidate=\"true\"==i,O.sslValidate=\"true\"==i;break;case\"replicaSet\":case\"rs_name\":E.rs_name=i;break;case\"reconnectWait\":E.reconnectWait=parseInt(i,10);break;case\"retries\":E.retries=parseInt(i,10);break;case\"readSecondary\":case\"read_secondary\":E.read_secondary=\"true\"==i;break;case\"fsync\":S.fsync=\"true\"==i;break;case\"journal\":S.j=\"true\"==i;break;case\"safe\":S.safe=\"true\"==i;break;case\"nativeParser\":case\"native_parser\":S.native_parser=\"true\"==i;break;case\"readConcernLevel\":S.readConcern={level:i};break;case\"connectTimeoutMS\":j.socketOptions.connectTimeoutMS=parseInt(i,10),E.socketOptions.connectTimeoutMS=parseInt(i,10),O.socketOptions.connectTimeoutMS=parseInt(i,10);break;case\"socketTimeoutMS\":j.socketOptions.socketTimeoutMS=parseInt(i,10),E.socketOptions.socketTimeoutMS=parseInt(i,10),O.socketOptions.socketTimeoutMS=parseInt(i,10);break;case\"w\":S.w=parseInt(i,10),isNaN(S.w)&&(S.w=i);break;case\"authSource\":S.authSource=i;break;case\"gssapiServiceName\":S.gssapiServiceName=i;break;case\"authMechanism\":if(\"GSSAPI\"==i)if(null==y.auth){var o=decodeURIComponent(b);if(-1==o.indexOf(\"@\"))throw new Error(\"GSSAPI requires a provided principal\");y.auth={user:o,password:null}}else y.auth.user=decodeURIComponent(y.auth.user);else\"MONGODB-X509\"==i&&(y.auth={user:decodeURIComponent(b)});if(\"GSSAPI\"!=i&&\"MONGODB-X509\"!=i&&\"MONGODB-CR\"!=i&&\"DEFAULT\"!=i&&\"SCRAM-SHA-1\"!=i&&\"PLAIN\"!=i)throw new Error(\"only DEFAULT, GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\");S.authMechanism=i;break;case\"authMechanismProperties\":var a=i.split(\",\"),s={};a.forEach(function(e){var t=e.split(\":\");s[t[0]]=t[1]}),S.authMechanismProperties=s,\"string\"==typeof s.SERVICE_NAME&&(S.gssapiServiceName=s.SERVICE_NAME),\"string\"==typeof s.SERVICE_REALM&&(S.gssapiServiceRealm=s.SERVICE_REALM),\"string\"==typeof s.CANONICALIZE_HOST_NAME&&(S.gssapiCanonicalizeHostName=\"true\"==s.CANONICALIZE_HOST_NAME);break;case\"wtimeoutMS\":S.wtimeout=parseInt(i,10);break;case\"readPreference\":if(!r.isValid(i))throw new Error(\"readPreference must be either primary/primaryPreferred/secondary/secondaryPreferred/nearest\");S.readPreference=i;break;case\"readPreferenceTags\":i=decodeURIComponent(i);var c={};if(null==i||\"\"==i){S.read_preference_tags.push(c);break}for(var u=i.split(/\\,/),p=0;p<u.length;p++){var l=u[p].trim().split(/\\:/);c[l[0]]=l[1]}S.read_preference_tags.push(c)}}}),0===S.read_preference_tags.length&&(S.read_preference_tags=null),!(-1!=S.w&&0!=S.w||1!=S.journal&&1!=S.fsync&&1!=S.safe))throw new Error(\"w set to -1 or 0 cannot be combined with safe/w/journal/fsync\");return S.readPreference||(S.readPreference=\"primary\"),y.servers=k,y}},{\"./read_preference\":234,url:void 0,util:void 0}],239:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=(e(\"util\").format,function(e){var t={};for(var n in e)t[n]=e[n];return t}),o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=n.formatSortValue=function(e){var t=(\"\"+e).toLowerCase();switch(t){case\"ascending\":case\"asc\":case\"1\":return 1;case\"descending\":case\"desc\":case\"-1\":return-1;default:throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\")}},s=n.formattedOrderClause=function(e){var t={};if(null==e)return null;if(Array.isArray(e)){if(0===e.length)return null;for(var n=0;n<e.length;n++)e[n].constructor==String?t[e[n]]=1:t[e[n][0]]=a(e[n][1])}else if(null!=e&&\"object\"==typeof e)t=e;else{if(\"string\"!=typeof e)throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[e]=1}return t},c=function(e){if(\"string\"!=typeof e)throw Error(\"collection name must be a String\");if(!e||-1!=e.indexOf(\"..\"))throw Error(\"collection names cannot be empty\");if(-1!=e.indexOf(\"$\")&&null==e.match(/((^\\$cmd)|(oplog\\.\\$main))/))throw Error(\"collection names must not contain '$'\");if(null!=e.match(/^\\.|\\.$/))throw Error(\"collection names must not start or end with '.'\");if(~e.indexOf(\"\\x00\"))throw new Error(\"collection names cannot contain a null character\")},u=function(e,t,n,r){try{if(null==e)return;return r?e(t,n,r):e(t,n)}catch(t){return process.nextTick(function(){throw t}),!1}return!0},p=function(e){if(e instanceof Error)return e;for(var t=e.err||e.errmsg||e.errMessage||e,n=r.create({message:t,driver:!0}),i=\"object\"==typeof e?Object.keys(e):[],o=0;o<i.length;o++)try{n[i[o]]=e[i[o]]}catch(a){}return n},l=function(e){var t=null;if(\"string\"==typeof e)t=e;else if(Array.isArray(e))t={},e.forEach(function(e){t[e]=1});else if(null!=e&&\"object\"==typeof e){t={};for(var n in e)t[n]=e[n]}return t},f=function(e){var t,n={},r=[];return\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?e.forEach(function(e){\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?(r.push(e[0]+\"_\"+(e[1]||1)),n[e[0]]=e[1]||1):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]}))}):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]})),{name:r.join(\"_\"),keys:t,fieldHash:n}},d=n.isObject=function(e){return\"[object Object]\"==toString.call(e)},h=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},m=function(e,t,n){for(var r in t)null==n[r]&&(e[r]=t[r]);return e};n.shallowClone=i,n.getSingleProperty=o,n.checkCollectionName=c,n.toError=p,n.formattedOrderClause=s,n.parseIndexOptions=f,n.normalizeHintField=l,n.handleCallback=u,n.decorateCommand=m,n.isObject=d,n.debugOptions=h,n.MAX_JS_INT=9007199254740992},{\"mongodb-core\":188,util:void 0}],240:[function(e,t,n){t.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},{}],241:[function(e,t,n){function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}t.exports=r;var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},s=e(\"core-util-is\");s.inherits=e(\"inherits\");var c=e(\"./_stream_readable\"),u=e(\"./_stream_writable\");s.inherits(r,c),o(a(u.prototype),function(e){r.prototype[e]||(r.prototype[e]=u.prototype[e])})},{\"./_stream_readable\":243,\"./_stream_writable\":245,\"core-util-is\":77,inherits:157}],242:[function(e,t,n){function r(e){return this instanceof r?void i.call(this,e):new r(e)}t.exports=r;var i=e(\"./_stream_transform\"),o=e(\"core-util-is\");o.inherits=e(\"inherits\"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":244,\"core-util-is\":77,inherits:157}],243:[function(e,t,n){function r(t,n){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=e(\"string_decoder/\").StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n||void 0===n)t.reading=!1,t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=C)e=C;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return j.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):x(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){f(e)}):f(e))}function f(e){e.emit(\"readable\")}function d(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(function(){h(e,t)}))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e,t,i){var o=e.write(n);!1===o&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):w(r.pipes,t),e.emit(\"data\",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,void(S.listenerCount(e,\"data\")>0&&y(e))):void(r.ranOut=!0)}function g(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw new Error(\"Cannot switch to old mode now.\");var r=t||!1,i=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on(\"readable\",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit(\"data\",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit(\"pause\")},e.resume=function(){r=!1,i?process.nextTick(function(){e.emit(\"readable\")}):this.read(0),this.emit(\"resume\")},e.emit(\"readable\")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):j.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new j(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function x(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit(\"end\"))}))}function w(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var k=e(\"isarray\"),j=e(\"buffer\").Buffer;i.ReadableState=r;var S=e(\"events\").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e(\"stream\"),O=e(\"core-util-is\");O.inherits=e(\"inherits\");var A;O.inherits(i,E),i.prototype.push=function(e,t){var n=this._readableState;return\"string\"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new j(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.setEncoding=function(t){A||(A=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new A(t),this._readableState.encoding=t};var C=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n,r=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=c(e,t),0===e&&t.ended)return n=null,t.length>0&&t.decoder&&(n=b(e,t),t.length-=n.length),0===t.length&&x(this),n;var i=t.needReadable;return t.length-e<=t.highWaterMark&&(i=!0),(t.ended||t.reading)&&(i=!1),i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=c(r,t)),n=e>0?b(e,t):null,null===n&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&x(this),n},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){e===u&&i()}function r(){e.end()}function i(){e.removeListener(\"close\",a),e.removeListener(\"finish\",s),e.removeListener(\"drain\",d),e.removeListener(\"error\",o),e.removeListener(\"unpipe\",n),u.removeListener(\"end\",r),u.removeListener(\"end\",i),e._writableState&&!e._writableState.needDrain||d()}function o(t){c(),e.removeListener(\"error\",o),0===S.listenerCount(e,\"error\")&&e.emit(\"error\",t)}function a(){e.removeListener(\"finish\",s),c()}function s(){e.removeListener(\"close\",a),c()}function c(){u.unpipe(e)}var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1;var l=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,f=l?r:i;p.endEmitted?process.nextTick(f):u.once(\"end\",f),e.on(\"unpipe\",n);var d=m(u);return e.on(\"drain\",d),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on(\"error\",o),e.once(\"close\",a),e.once(\"finish\",s),e.emit(\"pipe\",u),p.flowing||(this.on(\"readable\",g),p.flowing=!0,process.nextTick(function(){v(u)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if(\"data\"!==e||this._readableState.flowing||y(this),\"readable\"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit(\"resume\")},i.prototype.pause=function(){y(this,!0),this.emit(\"pause\")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)\"function\"==typeof e[i]&&\"undefined\"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return w(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){n&&(n=!1,e.resume())},r},i._fromList=b},{buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:240,stream:void 0,\"string_decoder/\":456}],244:[function(e,t,n){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once(\"finish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=(e._readableState,\ne._transformState);if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}t.exports=o;var s=e(\"./_stream_duplex\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\"),c.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{\"./_stream_duplex\":241,\"core-util-is\":77,inherits:157}],245:[function(e,t,n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var n=e(\"./_stream_duplex\");return this instanceof o||this instanceof n?(this._writableState=new i(t,this),this.writable=!0,void _.call(this)):new o(t)}function a(e,t,n){var r=new Error(\"write after end\");e.emit(\"error\",r),process.nextTick(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!x.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),process.nextTick(function(){r(o)}),i=!1}return i}function c(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new x(t,n)),t}function u(e,t,n,i,o){n=c(t,n,i),x.isBuffer(n)&&(i=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new r(n,i,o)):p(e,t,a,n,i,o),s}function p(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function l(e,t,n,r,i){n?process.nextTick(function(){i(r)}):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function f(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(f(n),t)l(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||v(e,n),r?process.nextTick(function(){h(e,n,o,i)}):h(e,n,o,i)}}function h(e,t,n,r){n||m(e,t),r(),n&&y(e,t)}function m(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function v(e,t){t.bufferProcessing=!0;for(var n=0;n<t.buffer.length;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(p(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,n<t.buffer.length?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit(\"finish\")),n}function b(e,t,n){t.ending=!0,y(e,t),n&&(t.finished?process.nextTick(n):e.once(\"finish\",n)),t.ended=!0}t.exports=o;var x=e(\"buffer\").Buffer;o.WritableState=i;var w=e(\"core-util-is\");w.inherits=e(\"inherits\");var _=e(\"stream\");w.inherits(o,_),o.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return\"function\"==typeof t&&(n=t,t=null),x.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},o.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},o.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),\"undefined\"!=typeof e&&null!==e&&this.write(e,t),r.ending||r.finished||b(this,r,n)}},{\"./_stream_duplex\":241,buffer:void 0,\"core-util-is\":77,inherits:157,stream:void 0}],246:[function(e,t,n){n=t.exports=e(\"./lib/_stream_readable.js\"),n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":241,\"./lib/_stream_passthrough.js\":242,\"./lib/_stream_readable.js\":243,\"./lib/_stream_transform.js\":244,\"./lib/_stream_writable.js\":245}],247:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":271}],248:[function(e,t,n){function r(){throw new Error(\"Can't use ES6 promise with mpromise style constructor\")}r.use=function(e){r.ES6=e},t.exports=r},{}],249:[function(e,t,n){function r(){this._pipeline=[],this._model=void 0,this.options=void 0,1===arguments.length&&a.isArray(arguments[0])?this.append.apply(this,arguments[0]):this.append.apply(this,arguments)}function i(e){var t;return\"object\"!=typeof e?!1:(t=Object.keys(e),1===t.length&&t.some(function(e){return\"$\"===e[0]}))}function o(e){var t=e._model.schema,n=t&&t.discriminatorMapping;if(n&&!n.isRoot){var r=e._pipeline,i=n.key,o=n.value;if(r[0]&&r[0].$match&&!r[0].$match[i])r[0].$match[i]=o;else if(r[0]&&r[0].$geoNear)r[0].$geoNear.query=r[0].$geoNear.query||{},r[0].$geoNear.query[i]=o;else{var a={};a[i]=o,e._pipeline=[{$match:a}].concat(r)}}}var a=e(\"util\"),s=e(\"./utils\"),c=e(\"./promise_provider\"),u=e(\"./query\"),p=u.prototype.read;r.prototype.model=function(e){return this._model=e,this},r.prototype.append=function(){var e=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:s.args(arguments);if(!e.every(i))throw new Error(\"Arguments must be aggregate pipeline operators\");return this._pipeline=this._pipeline.concat(e),this},r.prototype.project=function(e){var t={};if(\"object\"!=typeof e||a.isArray(e)){if(1!==arguments.length||\"string\"!=typeof e)throw new Error(\"Invalid project() argument. Must be string or object\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?0:1;0===n&&(e=e.substring(1)),t[e]=n}})}else Object.keys(e).forEach(function(n){t[n]=e[n]});return this.append({$project:t})},r.prototype.near=function(e){var t={};return t.$geoNear=e,this.append(t)},\"group match skip limit out\".split(\" \").forEach(function(e){r.prototype[e]=function(t){var n={};return n[\"$\"+e]=t,this.append(n)}}),r.prototype.unwind=function(){var e=s.args(arguments);return this.append.apply(this,e.map(function(e){return{$unwind:e&&\"$\"===e.charAt(0)?e:\"$\"+e}}))},r.prototype.lookup=function(e){return this.append({$lookup:e})},r.prototype.sample=function(e){return this.append({$sample:{size:e}})},r.prototype.sort=function(e){var t={};if(\"Object\"===e.constructor.name){var n=[\"desc\",\"descending\",-1];Object.keys(e).forEach(function(r){t[r]=-1===n.indexOf(e[r])?1:-1})}else{if(1!==arguments.length||\"string\"!=typeof e)throw new TypeError(\"Invalid sort() argument. Must be a string or object.\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?-1:1;-1===n&&(e=e.substring(1)),t[e]=n}})}return this.append({$sort:t})},r.prototype.read=function(e,t){return this.options||(this.options={}),p.call(this,e,t),this},r.prototype.explain=function(e){var t=this,n=c.get();return new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{}).explain(function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},r.prototype.allowDiskUse=function(e){return this.options||(this.options={}),this.options.allowDiskUse=e,this},r.prototype.cursor=function(e){return this.options||(this.options={}),this.options.cursor=e||{},this},r.prototype.exec=function(e){if(!this._model)throw new Error(\"Aggregate not bound to any Model\");var t=this,n=c.get();return this.options&&this.options.cursor?this.options.cursor.async?new n.ES6(function(n){return t._model.collection.buffer?void t._model.collection.emitter.once(\"queue\",function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(null,r)}):void process.nextTick(function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(r)})}):this._model.collection.aggregate(this._pipeline,this.options||{}):new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{},function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},t.exports=r},{\"./promise_provider\":275,\"./query\":276,\"./utils\":302,util:void 0}],250:[function(e,t,n){function r(e,t,n,i,p){if(!(this instanceof r))return new r(e,t,n,i,p);if(u.isObject(t)&&!t.instanceOfSchema&&(t=new s(t)),t=this.schema||t,!this.schema&&t.options._id&&(e=e||{},void 0===e._id&&(e._id=new c)),!t)throw new a.MissingSchemaError;this.$__setSchema(t),this.$__=new l,this.$__.emitter=new o,this.isNew=!0,this.errors=void 0,\"boolean\"==typeof n?(this.$__.strictMode=n,n=void 0):(this.$__.strictMode=this.schema.options&&this.schema.options.strict,this.$__.selected=n);for(var f=this.schema.requiredPaths(),d=0;d<f.length;++d)this.$__.activePaths.require(f[d]);this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,n,i),!p&&e&&this.init(e),this.$__registerHooksFromSchema();for(var h in t.methods)this[h]=t.methods[h];for(var m in t.statics)this[m]=t.statics[m]}var i=e(\"./document\"),o=e(\"events\").EventEmitter,a=e(\"./error\"),s=e(\"./schema\"),c=e(\"./types/objectid\"),u=e(\"./utils\"),p=a.ValidationError,l=e(\"./internal\");r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.ValidationError=p,t.exports=n=r},{\"./document\":253,\"./error\":260,\"./internal\":272,\"./schema\":279,\"./types/objectid\":300,\"./utils\":302,events:void 0}],251:[function(e,t,n){function r(e,t){if(Array.isArray(e))e.forEach(function(n,o){return Array.isArray(n)||i.isObject(n)?r(n,t):void(e[o]=t.castForQuery(n))});else for(var n=Object.keys(e),o=n.length;o--;){var a=n[o],s=e[a];Array.isArray(s)||i.isObject(s)?(r(s,t),e[a]=s):e[a]=t.castForQuery(s)}}var i=e(\"./utils\"),o=e(\"./schema/index\");t.exports=function a(e,t){for(var n,s,c,u,p,l,f=Object.keys(t),d=f.length;d--;)if(u=f[d],l=t[u],\"$or\"===u||\"$nor\"===u||\"$and\"===u)for(var h=l.length;h--;)l[h]=a(e,l[h]);else{if(\"$where\"===u){if(p=typeof l,\"string\"!==p&&\"function\"!==p)throw new Error(\"Must have a string or function for $where\");\"function\"===p&&(t[u]=l.toString());continue}if(\"$elemMatch\"===u)l=a(e,l);else{if(!e)continue;if(s=e.path(u)){if(null===l||void 0===l){t[u]=null;continue}if(\"Object\"===l.constructor.name)if(n=Object.keys(l).some(function(e){return\"$\"===e.charAt(0)&&\"$id\"!==e&&\"$ref\"!==e})){var m,v=Object.keys(l);for(h=v.length;h--;)if(m=v[h],c=l[m],\"$exists\"!==m){if(\"$type\"!==m)\"$not\"===m?a(e,c):l[m]=s.castForQuery(m,c);else if(\"number\"!=typeof c)throw new Error(\"$type parameter must be Number\")}else if(\"boolean\"!=typeof c)throw new Error(\"$exists parameter must be Boolean\")}else t[u]=s.castForQuery(l);else t[u]=s.castForQuery(l)}else{for(var g,y,b,x=u.split(\".\"),w=x.length;w--&&(g=x.slice(0,w).join(\".\"),!(s=e.path(g))););if(s){s.caster&&s.caster.schema?(b={},y=x.slice(w).join(\".\"),b[y]=l,t[u]=a(s.caster.schema,b)[y]):t[u]=l;continue}if(i.isObject(l)){var _=l.$near?\"$near\":l.$nearSphere?\"$nearSphere\":l.$within?\"$within\":l.$geoIntersects?\"$geoIntersects\":\"\";if(!_)continue;var k=new o.Number(\"__QueryCasting__\"),j=l[_];if(l.$maxDistance&&(l.$maxDistance=k.castForQuery(l.$maxDistance)),\"$within\"===_){var S=j.$center||j.$centerSphere||j.$box||j.$polygon;if(!S)throw new Error(\"Bad $within paramater: \"+JSON.stringify(l));j=S}else\"$near\"===_&&\"string\"==typeof j.type&&Array.isArray(j.coordinates)?j=j.coordinates:(\"$near\"===_||\"$nearSphere\"===_||\"$geoIntersects\"===_)&&j.$geometry&&\"string\"==typeof j.$geometry.type&&Array.isArray(j.$geometry.coordinates)&&(j=j.$geometry.coordinates);r(j,k)}}}}return t}},{\"./schema/index\":286,\"./utils\":302}],252:[function(e,t,n){var r=t.exports=n=Object.create(null),i=\"disconnected\",o=\"connected\",a=\"connecting\",s=\"disconnecting\",c=\"unauthorized\",u=\"uninitialized\";r[0]=i,r[1]=o,r[2]=a,r[3]=s,r[4]=c,r[99]=u,r[i]=0,r[o]=1,r[a]=2,r[s]=3,r[c]=4,r[u]=99},{}],253:[function(e,t,n){(function(r){function i(e,t,n){this.$__=new E,this.$__.emitter=new h,this.isNew=!0,this.errors=void 0;var r=this.schema;\"boolean\"==typeof t?(this.$__.strictMode=t,t=void 0):(this.$__.strictMode=r.options&&r.options.strict,this.$__.selected=t);for(var o=r.requiredPaths(!0),a=0;a<o.length;++a)this.$__.activePaths.require(o[a]);if(this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,t,n),e&&(e instanceof i&&(this.isNew=e.isNew),this.set(e,void 0,!0)),!r.options.strict&&e){var s=this,u=Object.keys(this._doc);u.forEach(function(e){e in r.tree||c(e,null,s)})}this.$__registerHooksFromSchema()}function o(e,t,n,r){r=r||\"\";for(var i,a,s,c=Object.keys(t),u=c.length;u--;)if(s=c[u],a=r+s,i=e.schema.path(a),i||!w.isObject(t[s])||t[s].constructor&&\"Object\"!==w.getFunctionName(t[s].constructor)){if(null===t[s])n[s]=null;else if(void 0!==t[s])if(i)try{n[s]=i.cast(t[s],e,!0)}catch(p){e.invalidate(p.path,new x({path:p.path,message:p.message,type:\"cast\",value:p.value}))}else n[s]=t[s];e.isModified(a)||e.$__.activePaths.init(a)}else n[s]||(n[s]={}),o(e,t[s],n[s],a+\".\")}function a(e,t,n,r){for(var i,o,a=Object.keys(e),s=a.length;s--;)o=a[s],i=e[o],c(o,\"Object\"===w.getFunctionName(i.constructor)&&Object.keys(i).length&&(!i[r.typeKey]||\"type\"===r.typeKey&&i.type.type)?i:null,t,n,a,r)}function s(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n),t[n].enumerable=!0}),t}function c(e,t,n,r,o,c){var u=(r?r+\".\":\"\")+e;r=r||\"\",t?Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=this;if(this.$__.getters||(this.$__.getters={}),!this.$__.getters[u]){var n=Object.create(Object.getPrototypeOf(this),s(this));r||(n.$__.scope=this);for(var i=0,p=o.length;p>i;++i)Object.defineProperty(n,o[i],{enumerable:!1,writable:!0,configurable:!0,value:void 0});Object.defineProperty(n,\"toObject\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"toJSON\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"$__isNested\",{enumerable:!0,configurable:!0,writable:!1,value:!0}),a(t,n,u,c),this.$__.getters[u]=n}return this.$__.getters[u]},set:function(e){return e instanceof i&&(e=e.toObject()),(this.$__.scope||this).set(u,e)}}):Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return this.get.call(this.$__.scope||this,u)},set:function(e){return this.set.call(this.$__.scope||this,u,e)}})}function u(e){for(var t,n,r,i=Object.keys(e),o=i.length;o--;)n=i[o],r=e[n],w.isObject(r)&&(e[n]=u(r)),void 0!==e[n]?t=!0:delete e[n];return t?e:void 0}function p(e,t,n,r){for(var i,o=e.schema,a=Object.keys(o[n]),s=a.length;s--;){i=a[s];for(var c,u=i.split(\".\"),p=u.length,l=p-1,f=t,d=0;p>d;++d)c=u[d],d===l?f[c]=_(e.get(i),r):f=f[c]||(f[c]={})}return t}var l,f,d,h=e(\"events\").EventEmitter,m=e(\"./error\"),v=e(\"./schema/mixed\"),g=e(\"./schema\"),y=e(\"./error/objectExpected\"),b=e(\"./error/strict\"),x=e(\"./schematype\").ValidatorError,w=e(\"./utils\"),_=w.clone,k=w.isMongooseObject,j=e(\"util\").inspect,S=m.ValidationError,E=e(\"./internal\"),O=w.deepEqual,A=e(\"hooks-fixed\"),C=e(\"./promise_provider\");w.each([\"on\",\"once\",\"emit\",\"listeners\",\"removeListener\",\"setMaxListeners\",\"removeAllListeners\",\"addListener\"],function(e){i.prototype[e]=function(){return this.$__.emitter[e].apply(this.$__.emitter,arguments)}}),i.prototype.constructor=i,i.prototype.schema,i.prototype.isNew,i.prototype.id,i.prototype.errors,i.prototype.$__buildDoc=function(e,t,n){var r,i,o={},a=null,s=this;if(t&&\"Object\"===w.getFunctionName(t.constructor))if(r=Object.keys(t),i=r.length,1===i&&\"_id\"===r[0])a=!!t[r[i]];else for(;i--;)if(\"_id\"!==r[i]&&(!t[r[i]]||\"object\"!=typeof t[r[i]])){a=!t[r[i]];break}for(var c=Object.keys(this.schema.paths),u=c.length,p=0;u>p;++p){var l=c[p];if(\"_id\"===l){if(n)continue;if(e&&\"_id\"in e)continue}for(var f=this.schema.paths[l],d=l.split(\".\"),h=d.length,m=h-1,v=\"\",g=o,y=0,b=!1;h>y;++y){var x,_=d[y];if(v+=_,a===!0){if(v in t)break}else t&&v in t&&(b=!0);if(y===m)if(t&&null!==a)if(a===!0){if(l in t)continue;x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l))}else b&&(x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l)));else x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l));else g=g[_]||(g[_]={}),v+=\".\"}}return o},i.prototype.init=function(e,t,n){if(\"function\"==typeof t&&(n=t,t=null),this.isNew=!1,null!==e._id&&void 0!==e._id&&t&&t.populated&&t.populated.length)for(var r=String(e._id),i=0;i<t.populated.length;++i){var a=t.populated[i];this.populated(a.path,a._docs[r],a)}return o(this,e,this._doc),this.$__storeShard(),this.emit(\"init\",this),n&&n(null),this},i.prototype.$__storeShard=function(){var e=this.schema.options.shardKey||this.schema.options.shardkey;if(e&&\"Object\"===w.getFunctionName(e.constructor))for(var t,n=this.$__.shardval={},r=Object.keys(e),i=r.length,o=0;i>o;++o)t=this.getValue(r[o]),k(t)?n[r[o]]=t.toObject({depopulate:!0}):null===t||void 0===t||!t.valueOf||t.constructor&&\"Date\"===w.getFunctionName(t.constructor)?n[r[o]]=t:n[r[o]]=t.valueOf()};for(var T in A)\"pre\"===T||\"post\"===T?i.prototype[\"$\"+T]=i[\"$\"+T]=A[T]:i.prototype[T]=i[T]=A[T];i.prototype.update=function(){var e=w.args(arguments);return e.unshift({_id:this._id}),this.constructor.update.apply(this.constructor,e)},i.prototype.set=function(e,t,n,r){n&&\"Object\"===w.getFunctionName(n.constructor)&&(r=n,n=void 0);var o,a=r&&r.merge,s=n&&n!==!0,c=n===!0,u=r&&\"strict\"in r?r.strict:this.$__.strictMode;if(s&&(o=this.$__.adhocPaths||(this.$__.adhocPaths={}),o[e]=g.interpretAsType(e,n,this.schema.options)),\"string\"!=typeof e){if(null!==e&&void 0!==e){var p=t?t+\".\":\"\";e instanceof i&&(e=e.$__isNested?e.toObject():e._doc);for(var l,f,d=Object.keys(e),h=d.length;h--;){f=d[h];var x=p+f;if(l=this.schema.pathType(x),null===e[f]||void 0===e[f]||!w.isObject(e[f])||e[f].constructor&&\"Object\"!==w.getFunctionName(e[f].constructor)||\"virtual\"===l||\"real\"===l||this.$__path(x)instanceof v||this.schema.paths[x]&&this.schema.paths[x].options&&this.schema.paths[x].options.ref)if(u){if(c&&void 0===e[f]&&void 0!==this.get(f))continue;if(\"real\"===l||\"virtual\"===l)this.schema.paths[x]&&this.schema.paths[x].$isSingleNested&&e[f]instanceof i&&(e[f]=e[f].toObject({virtuals:!1})),this.set(p+f,e[f],c);else if(\"nested\"===l&&e[f]instanceof i)this.set(p+f,e[f].toObject({virtuals:!1}),c);else if(\"throw\"===u)throw\"nested\"===l?new y(f,e[f]):new b(f)}else void 0!==e[f]&&this.set(p+f,e[f],c);else this.set(e[f],p+f,c)}return this}var _=e;e=t,t=_}var k=this.schema.pathType(e);if(\"nested\"===k&&t)return!w.isObject(t)||t.constructor&&\"Object\"!==w.getFunctionName(t.constructor)?(this.invalidate(e,new m.CastError(\"Object\",t,e)),this):(a||this.setValue(e,null),this.set(t,e,c),this);var j,S=e.split(\".\");if(\"adhocOrUndefined\"===k&&u){var E;for(h=0;h<S.length;++h){var O=S.slice(0,h+1).join(\".\");if(j=this.schema.path(O),j instanceof v){E=!0;break}}if(!E){if(\"throw\"===u)throw new b(e);return this}}else{if(\"virtual\"===k)return j=this.schema.virtualpath(e),j.applySetters(t,this),this;j=this.$__path(e)}var A;if(S.length<=1)A=e;else{for(h=0;h<S.length;++h)if(O=S.slice(0,h+1).join(\".\"),this.isDirectModified(O)||null===this.get(O)){A=O;break}A||(A=e)}var C=c?void 0:this.getValue(e);if(!j)return this.$__set(A,e,c,S,j,t,C),this;var T=!0;try{var I=!1;j.options&&j.options.ref&&t instanceof i&&j.options.ref===t.constructor.modelName&&(this.ownerDocument?this.ownerDocument().populated(this.$__fullPath(e),t._id,{model:t.constructor}):this.populated(e,t._id,{model:t.constructor}),I=!0);var P;j.options&&Array.isArray(j.options.type)&&j.options.type.length&&j.options.type[0].ref&&Array.isArray(t)&&t.length>0&&t[0]instanceof i&&t[0].constructor.modelName&&j.options.type[0].ref===t[0].constructor.modelName&&(this.ownerDocument?(P={model:t[0].constructor},this.ownerDocument().populated(this.$__fullPath(e),t.map(function(e){return e._id}),P)):(P={model:t[0].constructor},this.populated(e,t.map(function(e){return e._id}),P)),I=!0),t=j.applySetters(t,this,!1,C),!I&&this.$__.populated&&delete this.$__.populated[e],this.$markValid(e)}catch(F){var M;F instanceof m.CastError||(M=F),this.invalidate(e,new m.CastError(j.instance,t,e,M)),T=!1}return T&&this.$__set(A,e,c,S,j,t,C),this},i.prototype.$__shouldModify=function(e,t,n,r,o,a,s){return this.isNew?!0:void 0!==a||this.isSelected(t)?void 0===a&&t in this.$__.activePaths.states[\"default\"]?!1:this.populated(t)&&a instanceof i&&O(a._id,s)?!1:O(a,s||this.get(t))?!!(!n&&null!==a&&void 0!==a&&t in this.$__.activePaths.states[\"default\"]&&O(a,o.getDefault(this,n))):!0:!0},i.prototype.$__set=function(t,n,r,i,o,a,s){d=d||e(\"./types/embedded\");var c=this.$__shouldModify(t,n,r,i,o,a,s),u=this;c&&(this.markModified(t,a),f||(f=e(\"./types/array\")),a&&a.isMongooseArray&&(a._registerAtomic(\"$set\",a),this.$__.activePaths.forEach(function(e){0===e.indexOf(n+\".\")&&u.$__.activePaths.ignore(e)})));for(var p=this._doc,l=0,h=i.length;h>l;l++){var m=l+1,v=m===h;v?p[i[l]]=a:p=p[i[l]]&&\"Object\"===w.getFunctionName(p[i[l]].constructor)?p[i[l]]:p[i[l]]&&p[i[l]]instanceof d?p[i[l]]:p[i[l]]&&p[i[l]].$isSingleNested?p[i[l]]:p[i[l]]&&Array.isArray(p[i[l]])?p[i[l]]:p[i[l]]={}}},i.prototype.getValue=function(e){return w.getValue(e,this._doc)},i.prototype.setValue=function(e,t){return w.setValue(e,t,this._doc),this},i.prototype.get=function(e,t){var n;t&&(n=g.interpretAsType(e,t,this.schema.options));for(var r=this.$__path(e)||this.schema.virtualpath(e),i=e.split(\".\"),o=this._doc,a=0,s=i.length;s>a;a++)o=null===o||void 0===o?void 0:o[i[a]];return n&&(o=n.cast(o)),r&&!this.populated(e)&&(o=r.applyGetters(o,this)),o},i.prototype.$__path=function(e){var t=this.$__.adhocPaths,n=t&&t[e];return n?n:this.schema.path(e)},i.prototype.markModified=function(e){this.$__.activePaths.modify(e)},i.prototype.modifiedPaths=function(){var e=Object.keys(this.$__.activePaths.states.modify);return e.reduce(function(e,t){var n=t.split(\".\");return e.concat(n.reduce(function(e,t,r){return e.concat(n.slice(0,r).concat(t).join(\".\"))},[]))},[])},i.prototype.isModified=function(e){return e?!!~this.modifiedPaths().indexOf(e):this.$__.activePaths.some(\"modify\")},i.prototype.$isDefault=function(e){return e in this.$__.activePaths.states[\"default\"]},i.prototype.isDirectModified=function(e){return e in this.$__.activePaths.states.modify},i.prototype.isInit=function(e){return e in this.$__.activePaths.states.init},i.prototype.isSelected=function(e){if(this.$__.selected){if(\"_id\"===e)return 0!==this.$__.selected._id;var t,n=Object.keys(this.$__.selected),r=n.length,i=!1;if(1===r&&\"_id\"===n[0])return 0===this.$__.selected._id;for(;r--;)if(t=n[r],\"_id\"!==t){i=!!this.$__.selected[t];break}if(e in this.$__.selected)return i;r=n.length;for(var o=e+\".\";r--;)if(t=n[r],\"_id\"!==t){if(0===t.indexOf(o))return i;if(0===o.indexOf(t+\".\"))return i}return!i}return!0},i.prototype.validate=function(e,t){var n=this,r=C.get();return\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise?void this.$__validate(t):new r.ES6(function(e,r){n.$__validate(function(n){return t&&t(n),n?void r(n):void e()})})},i.prototype.$__validate=function(e){var t=this,n=function(){var e=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),e){for(var n in e.errors)!t.__parent&&e.errors[n]instanceof m.CastError&&t.invalidate(n,e.errors[n]);return e}},i=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});i=i.concat(Object.keys(this.$__.activePaths.states.init)),i=i.concat(Object.keys(this.$__.activePaths.states.modify)),i=i.concat(Object.keys(this.$__.activePaths.states[\"default\"])),0===i.length&&process.nextTick(function(){var t=n();return t?void e(t):void e()});for(var o={},a=0,s=0;s<i.length;++s){var c=i[s],u=t.getValue(c);if(u&&u.isMongooseArray&&!r.isBuffer(u)&&!u.isMongooseDocumentArray)for(var p=u.length,l=0;p>l;++l)i.push(c+\".\"+l)}var f=function(){var t=n();return t?void e(t):void e()},d=function(e){o[e]||(o[e]=!0,a++,process.nextTick(function(){var n=t.schema.path(e);if(!n)return--a||f();if(!t.$isValid(e))return void(--a||f());var r=t.getValue(e);n.doValidate(r,function(n){n&&t.invalidate(e,n,void 0,!0),--a||f()},t)}))};i.forEach(d)},i.prototype.validateSync=function(e){var t=this;\"string\"==typeof e&&(e=e.split(\" \"));var n=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});if(n=n.concat(Object.keys(this.$__.activePaths.states.init)),n=n.concat(Object.keys(this.$__.activePaths.states.modify)),n=n.concat(Object.keys(this.$__.activePaths.states[\"default\"])),e&&e.length){for(var r=[],i=0;i<n.length;++i)-1!==e.indexOf(n[i])&&r.push(n[i]);n=r}var o={};n.forEach(function(e){if(!o[e]){o[e]=!0;var n=t.schema.path(e);if(n&&t.$isValid(e)){var r=t.getValue(e),i=n.doValidateSync(r,t);i&&t.invalidate(e,i,void 0,!0)}}});var a=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),a)for(var s in a.errors)a.errors[s]instanceof m.CastError&&t.invalidate(s,a.errors[s]);return a},i.prototype.invalidate=function(e,t,n,r){return this.$__.validationError||(this.$__.validationError=new S(this)),this.$__.validationError.errors[e]?void 0:(t&&\"string\"!=typeof t||(t=new x({path:e,message:t,type:r||\"user defined\",value:n})),this.$__.validationError===t?this.$__.validationError:(this.$__.validationError.errors[e]=t,this.$__.validationError))},i.prototype.$markValid=function(e){this.$__.validationError&&this.$__.validationError.errors[e]&&(delete this.$__.validationError.errors[e],0===Object.keys(this.$__.validationError.errors).length&&(this.$__.validationError=null))},i.prototype.$isValid=function(e){return!this.$__.validationError||!this.$__.validationError.errors[e]},i.prototype.$__reset=function(){var t=this;return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return t.getValue(e)}).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).forEach(function(e){for(var t=e.length;t--;){var n=e[t];n&&n.$__reset()}}),this.$__dirty().forEach(function(e){var t=e.value;t&&t._atomics&&(t._atomics={})}),this.$__.activePaths.clear(\"modify\"),this.$__.activePaths.clear(\"default\"),this.$__.validationError=void 0,this.errors=void 0,t=this,this.schema.requiredPaths().forEach(function(e){t.$__.activePaths.require(e)}),this},i.prototype.$__dirty=function(){var e=this,t=this.$__.activePaths.map(\"modify\",function(t){return{path:t,value:e.getValue(t),schema:e.$__path(t)}});t=t.concat(this.$__.activePaths.map(\"default\",function(t){return\"_id\"!==t&&e.getValue(t)?{path:t,value:e.getValue(t),schema:e.$__path(t)}:void 0})),t.sort(function(e,t){return e.path<t.path?-1:e.path>t.path?1:0});var n,r,i=[];return t.forEach(function(e){e&&(0!==e.path.indexOf(n)?(n=e.path+\".\",i.push(e),r=e):r.value&&r.value._atomics&&r.value.hasAtomics()&&(r.value._atomics={},r.value._atomics.$set=r.value))}),r=n=null,i},i.prototype.$__setSchema=function(e){a(e.tree,this,void 0,e.options),this.schema=e},i.prototype.$__getArrayPathsToValidate=function(){return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return this.getValue(e)}.bind(this)).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e})},i.prototype.$__getAllSubdocs=function(){function t(e,n){var r=this[n];return r instanceof d&&e.push(r),r&&r.$isSingleNested&&(e=Object.keys(r._doc).reduce(t.bind(r._doc),e),e.push(r)),r&&r.isMongooseDocumentArray?r.forEach(function(n){n&&n._doc&&(n instanceof d&&e.push(n),e=Object.keys(n._doc).reduce(t.bind(n._doc),e))}):r instanceof i&&r.$__isNested&&(r=r.toObject(),r&&(e=Object.keys(r).reduce(t.bind(r),e))),e}l||(l=e(\"./types/documentarray\")),d=d||e(\"./types/embedded\");var n=Object.keys(this._doc).reduce(t.bind(this),[]);return n},i.prototype.$__registerHooksFromSchema=function(){d=d||e(\"./types/embedded\");var t=C.get(),n=this,r=n.schema&&n.schema.callQueue;if(!r.length)return n;var i=r.reduce(function(e,t){if(\"pre\"!==t[0]&&\"post\"!==t[0]&&\"on\"!==t[0])return n[t[0]].apply(n,t[1]),e;var r=[].slice.call(t[1]),i=\"on\"===t[0]?\"post\":r[0];return i in e||(e[i]={post:[],pre:[]}),\"post\"===t[0]?e[i].post.push(r):\"on\"===t[0]?e[i].push(r):e[i].pre.push(r),e},{post:[]});return i.post.forEach(function(e){n.on.apply(n,e)}),delete i.post,i.init&&n instanceof d?(i.init.pre&&i.init.pre.forEach(function(e){n.$pre.apply(n,e)}),i.init.post&&i.init.post.forEach(function(e){n.$post.apply(n,e)}),delete i.init):i.set&&(i.set.pre&&i.set.pre.forEach(function(e){n.$pre.apply(n,e)}),i.set.post&&i.set.post.forEach(function(e){n.$post.apply(n,e)}),delete i.set),Object.keys(i).forEach(function(e){var r=\"$__original_\"+e;n[e]&&(n[r]=n[e],n[e]=function(){var e,i=[].slice.call(arguments),o=i.pop();return new t.ES6(function(t,a){o&&\"function\"!=typeof o?i.push(o):e=o,i.push(function(r,i){return r?(n.$__handleReject(r),e&&e(r),void a(r)):(e&&e.apply(null,[null].concat(Array.prototype.slice.call(arguments,1))),void t(i))}),n[r].apply(n,i)})},i[e].pre.forEach(function(e){e[0]=r,n.$pre.apply(n,e)}),i[e].post.forEach(function(e){e[0]=r,n.$post.apply(n,e)}))}),n},i.prototype.$__handleReject=function(e){this.listeners(\"error\").length?this.emit(\"error\",e):this.constructor.listeners&&this.constructor.listeners(\"error\").length?this.constructor.emit(\"error\",e):this.listeners&&this.listeners(\"error\").length&&this.emit(\"error\",e)},i.prototype.$toObject=function(e,t){var n={transform:!0,json:t};if(e&&e.depopulate&&!e._skipDepopulateTopLevel&&this.$__.wasPopulated)return _(this._id,e);e&&e._skipDepopulateTopLevel&&(e._skipDepopulateTopLevel=!1),(!e||\"Object\"!==w.getFunctionName(e.constructor)||e&&e._useSchemaOptions)&&(t?(e=this.schema.options.toJSON?_(this.schema.options.toJSON):{},e.json=!0,e._useSchemaOptions=!0):(e=this.schema.options.toObject?_(this.schema.options.toObject):{},e.json=!1,e._useSchemaOptions=!0));for(var r in n)void 0===e[r]&&(e[r]=n[r]);\"minimize\"in e||(e.minimize=this.schema.options.minimize);var i=e.transform,o=_(this._doc,e)||{};e.getters&&(p(this,o,\"paths\",e),e.minimize&&(o=u(o)||{})),(e.virtuals||e.getters&&e.virtuals!==!1)&&p(this,o,\"virtuals\",e),e.versionKey===!1&&this.schema.options.versionKey&&delete o[this.schema.options.versionKey];var a=e.transform;if(a===!0||this.schema.options.toObject&&a){var s=e.json?this.schema.options.toJSON:this.schema.options.toObject;s&&(a=\"function\"==typeof e.transform?e.transform:s.transform)}else e.transform=i;if(\"function\"==typeof a){var c=a(this,o,e);\"undefined\"!=typeof c&&(o=c)}return o},i.prototype.toObject=function(e){return this.$toObject(e)},i.prototype.toJSON=function(e){return this.$toObject(e,!0)},i.prototype.inspect=function(e){var t,n=e&&\"Object\"===w.getFunctionName(e.constructor);return t=n?e:this.schema.options.toObject?_(this.schema.options.toObject):{},t.minimize=!1,t.retainKeyOrder=!0,this.toObject(t)},i.prototype.toString=function(){return j(this.inspect())},i.prototype.equals=function(e){var t=this.get(\"_id\"),n=e.get?e.get(\"_id\"):e;return t||n?t&&t.equals?t.equals(n):t===n:O(this,e)},i.prototype.populate=function(){if(0===arguments.length)return this;var e,t=this.$__.populate||(this.$__.populate={}),n=w.args(arguments);if(\"function\"==typeof n[n.length-1]&&(e=n.pop()),n.length)for(var r=w.populate.apply(null,n),i=0;i<r.length;++i)t[r[i].path]=r[i];if(e){var o=w.object.vals(t);\nthis.$__.populate=void 0,o.__noPromise=!0,this.constructor.populate(this,o,e)}return this},i.prototype.execPopulate=function(){var e=C.get(),t=this;return new e.ES6(function(e,n){t.populate(function(t,r){t?n(t):e(r)})})},i.prototype.populated=function(e,t,n){if(null!==t&&void 0!==t){if(t===!0){if(!this.$__.populated)return;return this.$__.populated[e]}return this.$__.populated||(this.$__.populated={}),this.$__.populated[e]={value:t,options:n},t}if(this.$__.populated){var r=this.$__.populated[e];return r?r.value:void 0}},i.prototype.depopulate=function(e){var t=this.populated(e);t&&(delete this.$__.populated[e],this.set(e,t))},i.prototype.$__fullPath=function(e){return e||\"\"},i.ValidationError=S,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./error/objectExpected\":265,\"./error/strict\":267,\"./internal\":272,\"./promise_provider\":275,\"./schema\":279,\"./schema/mixed\":287,\"./schematype\":292,\"./types/array\":295,\"./types/documentarray\":297,\"./types/embedded\":298,\"./utils\":302,events:void 0,\"hooks-fixed\":150,util:void 0}],254:[function(e,t,n){\"use strict\";var r=e(\"./document.js\"),i=e(\"./browserDocument.js\");t.exports=function(){return\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&document===window.document?i:r}},{\"./browserDocument.js\":250,\"./document.js\":253}],255:[function(e,t,n){t.exports=function(){}},{}],256:[function(e,t,n){var r=e(\"bson\").Binary;t.exports=n=r},{bson:59}],257:[function(e,t,n){n.Binary=e(\"./binary\"),n.ObjectId=e(\"./objectid\"),n.ReadPreference=e(\"./ReadPreference\")},{\"./ReadPreference\":255,\"./binary\":256,\"./objectid\":258}],258:[function(e,t,n){var r=e(\"bson\").ObjectID;t.exports=n=r},{bson:59}],259:[function(e,t,n){(function(n){var r;r=e(\"undefined\"==typeof window?n.MONGOOSE_DRIVER_PATH||\"./node-mongodb-native\":\"./browser\"),t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./browser\":257}],260:[function(e,t,n){function r(e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.message=e,this.name=\"MongooseError\"}r.prototype=Object.create(Error.prototype),r.prototype.constructor=Error,t.exports=n=r,r.messages=e(\"./error/messages\"),r.Messages=r.messages,r.CastError=e(\"./error/cast\"),r.ValidationError=e(\"./error/validation\"),r.ValidatorError=e(\"./error/validator\"),r.VersionError=e(\"./error/version\"),r.OverwriteModelError=e(\"./error/overwriteModel\"),r.MissingSchemaError=e(\"./error/missingSchema\"),r.DivergentArrayError=e(\"./error/divergentArray\")},{\"./error/cast\":261,\"./error/divergentArray\":262,\"./error/messages\":263,\"./error/missingSchema\":264,\"./error/overwriteModel\":266,\"./error/validation\":268,\"./error/validator\":269,\"./error/version\":270}],261:[function(e,t,n){function r(e,t,n,r){i.call(this,\"Cast to \"+e+' failed for value \"'+t+'\" at path \"'+n+'\"'),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"CastError\",this.kind=e,this.value=t,this.path=n,this.reason=r}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],262:[function(e,t,n){function r(e){var t=\"For your own good, using `document.save()` to update an array which was selected using an $elemMatch projection OR populated using skip, limit, query conditions, or exclusion of the _id field when the operation results in a $pop or $set of the entire array is not supported. The following path(s) would have been modified unsafely:\\n  \"+e.join(\"\\n  \")+\"\\nUse Model.update() to update these arrays instead.\";i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"DivergentArrayError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],263:[function(e,t,n){var r=t.exports=n={};r.general={},r.general[\"default\"]=\"Validator failed for path `{PATH}` with value `{VALUE}`\",r.general.required=\"Path `{PATH}` is required.\",r.Number={},r.Number.min=\"Path `{PATH}` ({VALUE}) is less than minimum allowed value ({MIN}).\",r.Number.max=\"Path `{PATH}` ({VALUE}) is more than maximum allowed value ({MAX}).\",r.Date={},r.Date.min=\"Path `{PATH}` ({VALUE}) is before minimum allowed value ({MIN}).\",r.Date.max=\"Path `{PATH}` ({VALUE}) is after maximum allowed value ({MAX}).\",r.String={},r.String[\"enum\"]=\"`{VALUE}` is not a valid enum value for path `{PATH}`.\",r.String.match=\"Path `{PATH}` is invalid ({VALUE}).\",r.String.minlength=\"Path `{PATH}` (`{VALUE}`) is shorter than the minimum allowed length ({MINLENGTH}).\",r.String.maxlength=\"Path `{PATH}` (`{VALUE}`) is longer than the maximum allowed length ({MAXLENGTH}).\"},{}],264:[function(e,t,n){function r(e){var t=\"Schema hasn't been registered for model \\\"\"+e+'\".\\nUse mongoose.model(name, schema)';i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"MissingSchemaError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],265:[function(e,t,n){function r(e,t){i.call(this,\"Tried to set nested object field `\"+e+\"` to primitive value `\"+t+\"` and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ObjectExpectedError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],266:[function(e,t,n){function r(e){i.call(this,\"Cannot overwrite `\"+e+\"` model once compiled.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"OverwriteModelError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],267:[function(e,t,n){function r(e){i.call(this,\"Field `\"+e+\"` is not in schema and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"StrictModeError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],268:[function(e,t,n){function r(e){e&&\"model\"===e.constructor.name?i.call(this,e.constructor.modelName+\" validation failed\"):i.call(this,\"Validation failed\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ValidationError\",this.errors={},e&&(e.errors=this.errors)}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,r.prototype.toString=function(){var e=this.name+\": \",t=[];return Object.keys(this.errors).forEach(function(e){this!==this.errors[e]&&t.push(String(this.errors[e]))},this),e+t.join(\", \")},t.exports=n=r},{\"../error.js\":260}],269:[function(e,t,n){function r(e){var t=e.message;t||(t=o.general[\"default\"]);var n=this.formatMessage(t,e);i.call(this,n),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.properties=e,this.name=\"ValidatorError\",this.kind=e.type,this.path=e.path,this.value=e.value}var i=e(\"../error.js\"),o=i.messages;r.prototype=Object.create(i.prototype),r.prototype.constructor=i,Object.defineProperty(r.prototype,\"properties\",{enumerable:!1,writable:!0,value:null}),r.prototype.formatMessage=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];\"message\"!==i&&(e=e.replace(\"{\"+i.toUpperCase()+\"}\",t[i]))}return e},r.prototype.toString=function(){return this.message},t.exports=r},{\"../error.js\":260}],270:[function(e,t,n){function r(){i.call(this,\"No matching document found.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"VersionError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],271:[function(e,t,n){(function(r){\"use strict\";function i(){this.connections=[],this.plugins=[],this.models={},this.modelSchemas={},this.options={pluralization:!0};var e=this.createConnection();e.models=this.models}function o(e,t){var n=this;for(var r in e)\"function\"==typeof e[r]&&e[r].$hasSideEffects?!function(t){n[t]=function(){return e[t].apply(e,arguments)}}(r):-1!==[\"connection\",\"connections\"].indexOf(r)&&(n[r]=e[r]);this.$opPromise=t}var a=e(\"./schema\"),s=e(\"./schematype\"),c=e(\"./virtualtype\"),u=e(\"./connectionstate\"),p=e(\"./types\"),l=e(\"./query\"),f=e(\"./model\"),d=e(\"./document\"),h=e(\"./utils\"),m=h.toCollectionName,v=e(\"../package.json\"),g=e(\"querystring\"),y=e(\"./aggregate\"),b=e(\"./promise_provider\");i.prototype.STATES=u,i.prototype.set=function(e,t){return 1===arguments.length?this.options[e]:(this.options[e]=t,this)},i.prototype.set.$hasSideEffects=!0,i.prototype.get=i.prototype.set;var x=/^.+,.+$/,w=function(e){if(!e)return!1;var t=e.indexOf(\"?\"),n=!1;if(-1!==t)try{var r=g.parse(e.substr(t+1));r&&r.replicaSet&&(n=!0)}catch(i){return!1}return n};i.prototype.createConnection=function(e,t){var n=new k(this);return this.connections.push(n),arguments.length&&(x.test(arguments[0])||w(arguments[0])?n.openSet.apply(n,arguments):t&&t.replset&&(t.replset.replicaSet||t.replset.rs_name)?n.openSet.apply(n,arguments):n.open.apply(n,arguments)),n},i.prototype.createConnection.$hasSideEffects=!0,i.prototype.connect=function(){var e=this.connection;return x.test(arguments[0])||w(arguments[0])?new o(this,e.openSet.apply(e,arguments)):new o(this,e.open.apply(e,arguments))},i.prototype.connect.$hasSideEffects=!0,i.prototype.disconnect=function(e){var t;this.connections.forEach(function(e){e.close(function(e){t||e&&(t=e)})});var n=b.get();return new o(this,new n.ES6(function(n,r){return e&&e(t),t?void r(t):void n()}))},i.prototype.disconnect.$hasSideEffects=!0,i.prototype.model=function(e,t,n,r){\"string\"==typeof t&&(n=t,t=!1),h.isObject(t)&&!t.instanceOfSchema&&(t=new a(t)),\"boolean\"==typeof n&&(r=n,n=null);var i;if(r&&h.isObject(r)?(i=r,r=!0):i={},!this.modelSchemas[e]){if(!t)throw new S.Error.MissingSchemaError(e);this.modelSchemas[e]=t,this._applyPlugins(t)}var o,s;if(this.models[e]&&i.cache!==!1){if(t&&t.instanceOfSchema&&t!==this.models[e].schema)throw new S.Error.OverwriteModelError(e);return n?(o=this.models[e],t=o.prototype.schema,s=o.__subclass(this.connection,t,n)):this.models[e]}if(!t&&(t=this.modelSchemas[e],!t))throw new S.Error.MissingSchemaError(e);\"pluralization\"in t.options||(t.options.pluralization=this.options.pluralization),n||(n=t.get(\"collection\")||m(e,t.options));var c=i.connection||this.connection;return o=f.compile(e,t,n,c,this),r||o.init(),i.cache===!1?o:(this.models[e]=o,this.models[e])},i.prototype.model.$hasSideEffects=!0,i.prototype.modelNames=function(){var e=Object.keys(this.models);return e},i.prototype.modelNames.$hasSideEffects=!0,i.prototype._applyPlugins=function(e){for(var t=0,n=this.plugins.length;n>t;t++)e.plugin(this.plugins[t][0],this.plugins[t][1])},i.prototype._applyPlugins.$hasSideEffects=!0,i.prototype.plugin=function(e,t){return this.plugins.push([e,t]),this},i.prototype.plugin.$hasSideEffects=!0,i.prototype.__defineGetter__(\"connection\",function(){return this.connections[0]}),i.prototype.__defineSetter__(\"connection\",function(e){this.connections[0]=e});var _=r.MONGOOSE_DRIVER_PATH||\"./drivers/node-mongodb-native\",k=e(_+\"/connection\"),j=e(_+\"/collection\");i.prototype.Aggregate=y,i.prototype.Collection=j,i.prototype.Connection=k,i.prototype.version=v.version,i.prototype.Mongoose=i,i.prototype.Schema=a,i.prototype.SchemaType=s,i.prototype.SchemaTypes=a.Types,i.prototype.VirtualType=c,i.prototype.Types=p,i.prototype.Query=l,Object.defineProperty(i.prototype,\"Promise\",{get:function(){return b.get()},set:function(e){b.set(e)}}),i.prototype.PromiseProvider=b,i.prototype.Model=f,i.prototype.Document=d,i.prototype.DocumentProvider=e(\"./document_provider\"),i.prototype.Error=e(\"./error\"),i.prototype.CastError=e(\"./error/cast\"),i.prototype.mongo=e(\"mongodb\"),i.prototype.mquery=e(\"mquery\"),o.prototype=new i,o.prototype.then=function(e,t){var n=b.get();return this.$opPromise?this.$opPromise.then(e,t):new n.ES6(function(e,t){t(new Error(\"Can only call `.then()` if connect() or disconnect() has been called\"))}).then(e,t)},o.prototype[\"catch\"]=function(e){return this.then(null,e)};var S=t.exports=n=new i}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../package.json\":304,\"./aggregate\":249,\"./connectionstate\":252,\"./document\":253,\"./document_provider\":254,\"./error\":260,\"./error/cast\":261,\"./model\":273,\"./promise_provider\":275,\"./query\":276,\"./schema\":279,\"./schematype\":292,\"./types\":299,\"./utils\":302,\"./virtualtype\":303,mongodb:215,mquery:312,querystring:void 0}],272:[function(e,t,n){function r(){this.strictMode=void 0,this.selected=void 0,this.shardval=void 0,this.saveError=void 0,this.validationError=void 0,this.adhocPaths=void 0,this.removing=void 0,this.inserting=void 0,this.version=void 0,this.getters={},this._id=void 0,this.populate=void 0,this.populated=void 0,this.wasPopulated=!1,this.scope=void 0,this.activePaths=new o,this.ownerDocument=void 0,this.fullPath=void 0}var i=e(\"./statemachine\"),o=i.ctor(\"require\",\"modify\",\"init\",\"default\",\"ignore\");t.exports=n=r},{\"./statemachine\":294}],273:[function(e,t,n){(function(r){function i(e,t,n){_.call(this,e,t,n)}function o(e,t){var n=e.schema.options.skipVersioning;return n?(t=t.replace(/\\.\\d+\\./,\".\"),n[t]):!1}function a(e,t,n,r,i,a){if(a||(a=\"$set\"),n[a]||(n[a]={}),n[a][r.path]=i,e.schema.options.versionKey!==!1&&!o(e,r.path)&&R!==(R&e.$__.version)){switch(a){case\"$set\":case\"$unset\":case\"$pop\":case\"$pull\":case\"$pullAll\":case\"$push\":case\"$pushAll\":case\"$addToSet\":break;default:return}\"$push\"===a||\"$pushAll\"===a||\"$addToSet\"===a?e.$__.version=q:/^\\$p/.test(a)?e.increment():Array.isArray(i)?e.increment():/\\.\\d+\\.|\\.\\d+$/.test(r.path)&&(e.$__.version=D)}}function s(e,t,n,r,i){function o(e){return I(e)?e.toObject({depopulate:1}):e}if(!n.$set||!n.$set[r.path]){if(\"function\"==typeof i.$__getAtomics)return void i.$__getAtomics().forEach(function(i){var o=i[0],s=i[1];a(e,t,n,r,s,o)});var s,c,u=i._atomics,p=Object.keys(u),l=p.length;if(0===l)return I(i)?i=i.toObject({depopulate:1}):i.valueOf&&(i=i.valueOf()),a(e,t,n,r,i);for(;l--;)c=p[l],s=u[c],I(s)?s=s.toObject({depopulate:1}):Array.isArray(s)?s=s.map(o):s.valueOf&&(s=s.valueOf()),\"$addToSet\"===c&&(s={$each:s}),a(e,t,n,r,s,c)}}function c(e,t,n){var r=e.populated(t,!0);if(!r&&e.$__.selected){var i=t.split(\".\")[0];if(e.$__.selected[i]&&e.$__.selected[i].$elemMatch||e.$__.selected[i+\".$\"])return i}if(r&&n&&n.isMongooseArray){var o=r.options.match||r.options.options&&T(r.options.options,\"limit\")||r.options.options&&r.options.options.skip||r.options.select&&(0===r.options.select._id||/\\s?-_id\\s?/.test(r.options.select));if(o){var a=n._atomics;if(0===Object.keys(a).length||a.$set||a.$pop)return t}}}function u(e,t){var n=e.schema.indexes();if(!n.length)return void process.nextTick(function(){t&&t()});var r=function(n){n&&e.schema.options.emitIndexErrors&&e.emit(\"error\",n),e.emit(\"index\",n),t&&t(n)},i=function(t,n,r,i){e.emit(\"index-single-done\",t,n,r,i)},o=function(t,n){e.emit(\"index-single-start\",t,n)},a=function(){var t=n.shift();if(!t)return r();var s=t[0],c=t[1];p(c),o(s,c),e.collection.ensureIndex(s,c,z(function(e,t){return i(e,s,c,t),e?r(e):void a()}))};a()}function p(e){e.safe&&(\"boolean\"==typeof e.safe&&(e.w=e.safe,delete e.safe),\"object\"==typeof e.safe&&(e.w=e.safe.w,e.j=e.safe.j,e.wtimeout=e.safe.wtimeout,delete e.safe))}function l(e,t,n,r,i){function o(e){return e?i(e):void(--a||i(null,t))}var a=n.length;if(0===a)return i(null,t);for(var s,c=a;c--;)s=n[c],\"function\"==typeof s.model&&(e=s.model),d(e,t,s,f.call(e,t,s,r,o))}function f(e,t,n,r){var i=this,o=t.path+\".\",a=t.populate;return a?(Array.isArray(a)||(a=[a]),function(t){function s(e){return e?r(e):void(--c||r())}var c=a.length;return t||!c?r(t):void a.forEach(function(t){t=C.clone(t),t._originalPath||(t._originalPath=t.path,t.path=o+t.path);var r,a=n[o.substr(0,o.length-1)]||i.schema._getSchema(o);\"string\"==typeof t.model?t.model=i.model(t.model):a&&a.caster&&a.caster.options&&a.caster.options.ref?(r=i.model(a.caster.options.ref).schema._getSchema(t._originalPath),n[t.path]=r,r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))):a&&a.options&&a.options.ref&&(r=i.model(a.options.ref).schema._getSchema(t._originalPath),r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))),l(t.model||i,e,C.populate(t),n,s)})}):r}function d(e,t,n,r){function i(e){return void 0!==e}function o(e,t,n,r){return n?f.resolve(n):(v=v.concat(r),void(0===--y&&f.resolve(n,v,e,t)))}var a,s;if(Array.isArray(t)||(t=[t]),0===t.length||t.every(C.isNullOrUndefined))return r();a=h(e,t,n),s=m(a);var c,u,p,l,f,d=a.length,v=[];f=new F(function(e,n,i,o){if(e)return r(e);for(var a,c,u=i.options&&i.options.lean,p=n.length,l={},f={},d=0;p>d;d++)c=n[d],a=String(C.getValue(\"_id\",c)),f[a]=c,l[a]=d,u||(c.$__.wasPopulated=!0);g({rawIds:s,rawDocs:f,rawOrder:l,docs:t,path:i.path,options:o}),r()});var y=d,b=!1;for(c=0;d>c;c++){u=a[c],l=u.options.select,p=u.options.match?C.object.shallowCopy(u.options.match):{};var x=C.array.flatten(u.ids,i);if(x=C.array.unique(x),0===x.length||x.every(C.isNullOrUndefined))--y;else{b=!0,p._id||(p._id={$in:x});var w={};w.sort=u.options.options&&u.options.options.sort||void 0,w.excludeId=$.test(l)||l&&0===l._id,w.excludeId&&(\"string\"==typeof l?l=l.replace(U,\" \"):(l=C.object.shallowCopy(l),delete l._id)),u.options.options&&u.options.options.limit&&(w.originalLimit=u.options.options.limit,u.options.options.limit=u.options.options.limit*x.length),u.Model.find(p,l,u.options.options,o.bind(this,u.options,w))}}return b?void 0:r()}function h(e,t,n){var r,i,o,a,s,c,u,p,l,f,d=t.length,h={},m=[],v=n.model&&n.model.modelName||n.model;for(o=e._getSchema(n.path),o&&o.caster&&(o=o.caster),!o&&e.discriminators&&(l=e.schema.discriminatorMapping.key),a=o&&o.options&&o.options.refPath,r=0;d>r;r++){if(i=t[r],a)u=C.getValue(a,i);else if(v)u=[v];else{var g;!o&&l?(f=C.getValue(l,i),f&&(g=e.db.model(f)._getSchema(n.path),g&&g.caster&&(g=g.caster))):g=o,u=[g&&g.options&&g.options.ref||e.modelName]}if(u){Array.isArray(u)||(u=[u]);for(var y=u.length;y--;)p=u[y],h[p]?h[p].docs.push(i):(s=e.db.model(p),c={model:s},o&&!l&&(n.model=s),C.merge(c,n),h[p]={Model:s,options:c,docs:[i],ids:[]},m.push(h[p]))}}return m}function m(e){var t,n,r,i,o,a,s,c,u,p,l,f=[];for(s=e.length,n=0;s>n;n++)for(i=e[n].docs,a=i.length,p=e[n].options,l=p.path,t=0;a>t;t++)c=void 0,r=i[t],o=String(C.getValue(\"_id\",r)),u=!!r.$__,(!c||Array.isArray(c)&&0===c.length)&&(c=C.getValue(l,r)),c&&(c=v(c),p._docs[o]=Array.isArray(c)?c.slice():c),f.push(c),e[n].ids.push(c),u&&r.populated(l,p._docs[o],p);return f}function v(e){if(e instanceof i)return e._id;if(Array.isArray(e)){for(var t=0;t<e.length;++t)e[t]instanceof i&&(e[t]=e[t]._id);return e}return e}function g(e){function t(e){return y(e,o)}w(e.rawIds,e.rawDocs,e.rawOrder,e.options);for(var n=e.docs,r=e.path,i=e.rawIds,o=e.options,a=0;a<n.length;++a)null!=C.getValue(r,n[a])&&C.setValue(r,i[a],n[a],t)}function y(e,t){if(Array.isArray(e)){for(var n=[],r=e.length,i=0;r>i;++i){var o=e[i];if(x(o)&&(b(o,t),n.push(o),t.originalLimit&&n.length>=t.originalLimit))break}for(;e.length>n.length;)Array.prototype.pop.apply(e,[]);for(i=0;i<n.length;++i)e[i]=n[i];return e}return x(e)?(b(e,t),e):null}function b(e,t){t.excludeId&&(\"function\"==typeof e.setValue?delete e._doc._id:delete e._id)}function x(e){if(null==e)return!1;var t=typeof e;return\"string\"===t?!1:\"number\"===t?!1:r.isBuffer(e)?!1:\"ObjectID\"!==e.constructor.name}function w(e,t,n,r,i){for(var o,a,s,c=[],u=r.sort&&e.length>1,p=0;p<e.length;++p)s=e[p],Array.isArray(s)?(w(s,t,n,r,!0),c.push(s)):null!==s||u?(a=String(s),i?(o=t[a],o?u?c[n[a]]=o:c.push(o):c.push(s)):c[p]=o=t[a]||null):c.push(s);e.length=0,c.length&&c.forEach(function(t,n){t&&(e[n]=t)})}var _=e(\"./document\"),k=e(\"./error\"),j=k.VersionError,S=k.DivergentArrayError,E=e(\"./query\"),O=e(\"./aggregate\"),A=e(\"./schema\"),C=e(\"./utils\"),T=C.object.hasOwnProperty,I=C.isMongooseObject,P=e(\"events\").EventEmitter,F=e(\"./promise\"),M=e(\"util\"),z=C.tick,B=e(\"async\"),N=e(\"./promise_provider\"),D=1,q=2,R=D|q;i.prototype.__proto__=_.prototype,i.prototype.db,i.prototype.collection,i.prototype.modelName,i.prototype.baseModelName,i.prototype.$__handleSave=function(e,t){var n=this;if(!e.safe&&this.schema.options.safe&&(e.safe=this.schema.options.safe),\"boolean\"==typeof e.safe&&(e.safe=null),this.isNew){var r={};this.schema.options.toObject&&this.schema.options.toObject.retainKeyOrder&&(r.retainKeyOrder=!0),r.depopulate=1,r._skipDepopulateTopLevel=!0,r.transform=!1;var i=this.toObject(r);if(!C.object.hasOwnProperty(i||{},\"_id\"))return void setTimeout(function(){t(new Error(\"document must have an _id before saving\"))},0);this.$__version(!0,i),this.collection.insert(i,e.safe,function(e,r){return e?(n.isNew=!0,n.emit(\"isNew\",!0),void t(e)):void t(null,r)}),this.$__reset(),this.isNew=!1,this.emit(\"isNew\",!1),this.$__.inserting=!0}else{this.$__.inserting=!1;var o=this.$__delta();if(!o)return this.$__reset(),void t();if(o instanceof Error)return void t(o);var a=this.$__where(o[0]);if(a instanceof Error)return void t(a);this.collection.update(a,o[1],e.safe,function(e,n){return e?void t(e):void t(null,n)}),this.emit(\"isNew\",!1)}},i.prototype.$__save=function(e,t){var n=this;n.$__handleSave(e,function(e,r){if(e)return t(e);n.$__reset(),n.$__storeShard();var i=0;if(r&&(i=Array.isArray(r)?r.length:r.result&&void 0!==r.result.n?r.result.n:r.result&&void 0!==r.result.nModified?r.result.nModified:r),n.$__.version&&!n.$__.inserting){var o=q===(q&n.$__.version);if(n.$__.version=void 0,0>=i){var a=new j;return t(a)}if(o){var s=n.schema.options.versionKey,c=0|n.getValue(s);n.setValue(s,c+1)}}n.emit(\"save\",n,i),t(null,n,i)})},i.prototype.save=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),e.__noPromise)return this.$__save(e,t);var n=this,r=N.get();return new r.ES6(function(r,i){n.$__save(e,function(e,n,o){return e?(t&&t(e),void i(e)):(t&&t(null,n,o),void r(n,o))})})},i.prototype.$__delta=function(){var e=this.$__dirty();if(e.length||R===this.$__.version){var t={},n={},i=e.length,o=[],u=0;for(t._id=this._doc._id;i>u;++u){var p=e[u],l=p.value,f=c(this,p.path,l);f?o.push(f):o.length||(void 0===l?a(this,t,n,p,1,\"$unset\"):null===l?a(this,t,n,p,null):l._path&&l._atomics?s(this,t,n,p,l):l._path&&r.isBuffer(l)?(l=l.toObject(),a(this,t,n,p,l)):(l=C.clone(l,{depopulate:1}),a(this,t,n,p,l)))}return o.length?new S(o):(this.$__.version&&this.$__version(t,n),[t,n])}},i.prototype.$__version=function(e,t){var n=this.schema.options.versionKey;return e===!0?void(n&&this.setValue(n,t[n]=0)):void(this.isSelected(n)&&(D===(D&this.$__.version)&&(e[n]=this.getValue(n)),q===(q&this.$__.version)&&(t.$set&&\"undefined\"!=typeof t.$set[n]||(t.$inc||(t.$inc={}),t.$inc[n]=1))))},i.prototype.increment=function(){return this.$__.version=R,this},i.prototype.$__where=function(e){e||(e={});var t,n;if(e._id||(e._id=this._doc._id),this.$__.shardval){t=Object.keys(this.$__.shardval),n=t.length;for(var r=0;n>r;++r)e[t[r]]=this.$__.shardval[t[r]]}return null==this._doc._id?new Error(\"No _id found on document!\"):e},i.prototype.remove=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),this.$__.removing)return t&&this.$__.removing.then(function(e){t(null,e)},function(e){t(e)}),this;var n=this,r=N.get();return this.$__.removing=new r.ES6(function(r,i){var o=n.$__where();return o instanceof Error?(i(o),void(t&&t(o))):(!e.safe&&n.schema.options.safe&&(e.safe=n.schema.options.safe),void n.collection.remove(o,e,function(e){return e?(i(e),void(t&&t(e))):(n.emit(\"remove\",n),r(n),void(t&&t(null,n)))}))}),this.$__.removing},i.prototype.model=function(e){return this.db.model(e)},i.discriminator=function(e,t){function n(e,t){if(e=C.clone(e),t=C.clone(t),delete e.toJSON,delete e.toObject,delete t.toJSON,delete t.toObject,delete e._id,delete t._id,!C.deepEqual(e,t))throw new Error(\"Discriminator options are not customizable (except toJSON, toObject, _id)\")}function r(t,r){C.merge(t,r);var o={};o[i]={type:String,\"default\":e},t.add(o),t.discriminatorMapping={key:i,value:e,isRoot:!1},r.options.collection&&(t.options.collection=r.options.collection),n(t.options,r.options);var a=t.options.toJSON,s=t.options.toObject,c=t.options._id;t.options=C.clone(r.options),a&&(t.options.toJSON=a),s&&(t.options.toObject=s),\"undefined\"!=typeof c&&(t.options._id=c),t.callQueue=r.callQueue.concat(t.callQueue.slice(t._defaultMiddleware.length)),t._requiredpaths=void 0}if(!t||!t.instanceOfSchema)throw new Error(\"You must pass a valid discriminator Schema\");if(this.schema.discriminatorMapping&&!this.schema.discriminatorMapping.isRoot)throw new Error('Discriminator \"'+e+'\" can only be a discriminator of the root model');var i=this.schema.options.discriminatorKey;if(t.path(i))throw new Error('Discriminator \"'+e+'\" cannot have field with name \"'+i+'\"');if(r(t,this.schema),this.discriminators||(this.discriminators={}),this.schema.discriminatorMapping||(this.schema.discriminatorMapping={key:i,value:null,isRoot:!0}),this.discriminators[e])throw new Error('Discriminator with name \"'+e+'\" already exists');return this.discriminators[e]=this.db.model(e,t,this.collection.name),this.discriminators[e].prototype.__proto__=this.prototype,Object.defineProperty(this.discriminators[e],\"baseModelName\",{value:this.modelName,configurable:!0,writable:!1}),H(this.discriminators[e],t),V(this.discriminators[e],t),this.discriminators[e]};for(var L in P.prototype)i[L]=P.prototype[L];i.init=function(){(this.schema.options.autoIndex||null===this.schema.options.autoIndex&&this.db.config.autoIndex)&&this.ensureIndexes({__noPromise:!0}),this.schema.emit(\"init\",this)},i.ensureIndexes=function(e,t){if(\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise)return void u(this,t);var n=this,r=N.get();return new r.ES6(function(e,r){u(n,function(n){n&&(t&&t(n),r(n)),t&&t(),e()})})},i.schema,i.db,i.collection,i.base,i.discriminators,i.remove=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E(e,{},this,this.collection);return n.remove(t)},i.find=function(e,t,n,r){\"function\"==typeof e?(r=e,e={},t=null,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof n&&(r=n,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.find(e,r)},i.findById=function(e,t,n,r){return\"undefined\"==typeof e&&(e=null),this.findOne({_id:e},t,n,r)},i.findOne=function(e,t,n,r){\"function\"==typeof n?(r=n,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof e&&(r=e,e={},t=null,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.findOne(e,r)},i.count=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E({},{},this,this.collection);return n.count(e,t)},i.distinct=function(e,t,n){var r=new E({},{},this,this.collection);return\"function\"==typeof t&&(n=t,t={}),r.distinct(e,t,n)},i.where=function(e,t){var n=new E({},{},this,this.collection).find({});return n.where.apply(n,arguments)},i.$where=function(){var e=new E({},{},this,this.collection).find({});return e.$where.apply(e,arguments)},i.findOneAndUpdate=function(e,t,n,r){if(\"function\"==typeof n)r=n,n=null;else if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findOneAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options, callback)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update)\\n  \"+this.modelName+\".findOneAndUpdate(update)\\n  \"+this.modelName+\".findOneAndUpdate()\\n\";throw new TypeError(i)}t=e,e=void 0}var o;n&&n.fields&&(o=n.fields,n.fields=void 0),t=C.clone(t,{depopulate:1}),this.schema.options.versionKey&&n&&n.upsert&&(t.$setOnInsert||(t.$setOnInsert={}),t.$setOnInsert[this.schema.options.versionKey]=0);var a=new E({},{},this,this.collection);return a.select(o),a.findOneAndUpdate(e,t,n,r)},i.findByIdAndUpdate=function(e,t,n,r){if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findByIdAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndUpdate(id, callback)\\n  \"+this.modelName+\".findByIdAndUpdate(id)\\n  \"+this.modelName+\".findByIdAndUpdate()\\n\";throw new TypeError(i)}return this.findOneAndUpdate({_id:e},void 0)}return e instanceof _&&(e=e._id),this.findOneAndUpdate.call(this,{_id:e},t,n,r)},i.findOneAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findOneAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndRemove(conditions, callback)\\n  \"+this.modelName+\".findOneAndRemove(conditions)\\n  \"+this.modelName+\".findOneAndRemove()\\n\";throw new TypeError(r)}\"function\"==typeof t&&(n=t,t=void 0);var i;t&&(i=t.select,t.select=void 0);var o=new E({},{},this,this.collection);return o.select(i),o.findOneAndRemove(e,t,n)},i.findByIdAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findByIdAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndRemove(id, callback)\\n  \"+this.modelName+\".findByIdAndRemove(id)\\n  \"+this.modelName+\".findByIdAndRemove()\\n\";throw new TypeError(r)}return this.findOneAndRemove({_id:e},t,n)},i.create=function(e,t){var n,r;if(Array.isArray(e))n=e,r=t;else{var i=arguments[arguments.length-1];\"function\"==typeof i?(r=i,n=C.args(arguments,0,arguments.length-1)):n=C.args(arguments)}var o=N.get(),a=this,s=new o.ES6(function(t,i){if(0===n.length)return void process.nextTick(function(){r&&r(null),t(null)});var o=[];n.forEach(function(e){o.push(function(t){var n=new a(e),r=function(e,n){return e?t(e):void t(null,n)};n.$__original_save?n.$__original_save({__noPromise:!0},r):n.save({__noPromise:!0},r)})}),B.parallel(o,function(n,o){return n?(r&&r(n),void i(n)):void(e instanceof Array?(t(o),r&&r.call(a,null,o)):(t.apply(s,o),r&&(o.unshift(null),r.apply(a,o))))})});return s},i.insertMany=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,i){var o=[];e.forEach(function(e){o.push(function(t){e=new n(e),e.validate({__noPromise:!0},function(n){return n?t(n):void t(null,e)})})}),B.parallel(o,function(e,o){if(e)return i(e),void(t&&t(e));var a=o.map(function(e){return e.toObject({virtuals:!1})});n.collection.insertMany(a,function(e){return e?(i(e),void(t&&t(e))):(r(o),void(t&&t(null,o)))})})})},i.hydrate=function(t){var n=e(\"./queryhelpers\").createModel(this,t);return n.init(t),n},i.update=function(e,t,n,r){var i=new E({},{},this,this.collection);return e=e instanceof _?e.toObject():C.clone(e,{retainKeyOrder:!0}),n=\"function\"==typeof n?n:C.clone(n),i.update(e,t,n,r)},i.mapReduce=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,o){if(!i.mapReduce.schema){var a={noId:!0,noVirtualId:!0,strict:!1};i.mapReduce.schema=new A({},a)}if(e.out||(e.out={inline:1}),e.verbose!==!1&&(e.verbose=!0),e.map=String(e.map),e.reduce=String(e.reduce),e.query){var s=new E(e.query);s.cast(n),e.query=s._conditions,s=void 0}n.collection.mapReduce(null,null,e,function(e,a,s){if(e)return t&&t(e),void o(e);if(a.findOne&&a.mapReduce){var c=i.compile(\"_mapreduce_\"+a.collectionName,i.mapReduce.schema,a.collectionName,n.db,n.base);return c._mapreduce=!0,t&&t(null,c,s),r(c,s)}t&&t(null,a,s),r(a,s)})})},i.geoNear=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();if(!e)return new i.ES6(function(e,t){var r=new Error(\"Must pass a near option to geoNear\");t(r),n&&n(r)});var o,a;return new i.ES6(function(i,s){\nvar c=function(e,o){function a(e){return e&&!u?(u=!0,s(e),void(n&&n(e))):void(--c<=0&&(i(o.results,o.stats),n&&n(null,o.results,o.stats)))}if(e)return s(e),void(n&&n(e));if(t.lean)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));var c=o.results.length;if(0===c)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));for(var u=!1,p=0;p<o.results.length;p++){var l=o.results[p].obj;o.results[p].obj=new r,o.results[p].obj.init(l,a)}};if(Array.isArray(e)){if(2!==e.length){var u=new Error(\"If using legacy coordinates, must be an array of size 2 for geoNear\");return s(u),void(n&&n(u))}o=e[0],a=e[1],r.collection.geoNear(o,a,t,c)}else{if(\"Point\"!==e.type||!Array.isArray(e.coordinates))return u=new Error(\"Must pass either a legacy coordinate array or GeoJSON Point to geoNear\"),s(u),void(n&&n(u));r.collection.geoNear(e,t,c)}})},i.aggregate=function W(){var W,e,t=[].slice.call(arguments);return\"function\"==typeof t[t.length-1]&&(e=t.pop()),W=new O(1===t.length&&M.isArray(t[0])?t[0]:t),W.model(this),\"undefined\"==typeof e?W:W.exec(e)},i.geoSearch=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();return new i.ES6(function(i,o){var a;return void 0!==e&&C.isObject(e)?t.near?Array.isArray(t.near)||(a=new Error(\"near option must be an array [x, y]\")):a=new Error(\"Must specify the near option in geoSearch\"):a=new Error(\"Must pass conditions to geoSearch\"),a?(n&&n(a),void o(a)):(t.search=e,void r.collection.geoHaystackSearch(t.near[0],t.near[1],t,function(e,a){function s(e){return e&&!u?(n&&n(e),void o(e)):void(--c||u||(n&&n(null,a.results,a.stats),i(a.results,a.stats)))}if(e)return n&&n(e),void o(e);var c=a.results.length;if(t.lean||0===c)return n&&n(null,a.results,a.stats),void i(a.results,a.stats);for(var u=!1,p=0;p<a.results.length;p++){var l=a.results[p];a.results[p]=new r,a.results[p].init(l,{},s)}}))})},i.populate=function(e,t,n){var r=this,i=t&&!!t.__noPromise;t=C.populate(t);var o={};if(!i){var a=N.get();return new a.ES6(function(i,a){l(r,e,t,o,function(e,t){e?(n&&n(e),a(e)):(n&&n(null,t),i(t))})})}l(this,e,t,o,n)};var $=/\\s?-_id\\s?/,U=/\\s?-_id\\s?/g;i._getSchema=function(e){return this.schema._getSchema(e)},i.compile=function(e,t,n,r,o){function a(e,t,n){return this instanceof a?void i.call(this,e,t,n):new a(e,t,n)}var s=t.options.versionKey!==!1;if(s&&!t.paths[t.options.versionKey]){var c={};c[t.options.versionKey]=Number,t.add(c)}a.hooks=t.s.hooks.clone(),a.base=o,a.modelName=e,a.__proto__=i,a.prototype.__proto__=i.prototype,a.model=i.prototype.model,a.db=a.prototype.db=r,a.discriminators=a.prototype.discriminators=void 0,a.prototype.$__setSchema(t);var u={bufferCommands:t.options.bufferCommands,capped:t.options.capped};return a.prototype.collection=r.collection(n,u),H(a,t),V(a,t),a.schema=a.prototype.schema,a.collection=a.prototype.collection,a};var H=function(e,t){function n(t,n){Object.defineProperty(e.prototype,t,{get:function(){var e={};for(var r in n.methods[t])e[r]=n.methods[t][r].bind(this);return e},configurable:!0})}for(var r in t.methods)\"function\"==typeof t.methods[r]?e.prototype[r]=t.methods[r]:n(r,t)},V=function(e,t){for(var n in t.statics)e[n]=t.statics[n]};i.__subclass=function(e,t,n){var r=this,i=function c(e,t,n){return this instanceof c?void r.call(this,e,t,n):new c(e,t,n)};i.__proto__=r,i.prototype.__proto__=r.prototype,i.db=i.prototype.db=e;var o=t&&\"string\"!=typeof t?t:r.prototype.schema,a=o.options||{};n||(n=r.prototype.schema.get(\"collection\")||C.toCollectionName(r.modelName,a));var s={bufferCommands:o?a.bufferCommands:!0,capped:o&&a.capped};return i.prototype.collection=e.collection(n,s),i.collection=i.prototype.collection,i.init(),i},t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregate\":249,\"./document\":253,\"./error\":260,\"./promise\":274,\"./promise_provider\":275,\"./query\":276,\"./queryhelpers\":277,\"./schema\":279,\"./utils\":302,async:11,events:void 0,util:void 0}],274:[function(e,t,n){function r(e){i.call(this,e)}var i=e(\"mpromise\"),o=e(\"util\");r.ES6=function(e){var t=new r;return e(function(){t.complete.apply(t,arguments)},function(e){t.error(e)}),t},r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),r.SUCCESS=\"complete\",r.FAILURE=\"err\",r.prototype.error=function(e){return e instanceof Error||(e instanceof Object&&(e=o.inspect(e)),e=new Error(e)),this.reject(e)},r.prototype.resolve=function(e){return e?this.error(e):this.fulfill.apply(this,Array.prototype.slice.call(arguments,1))},r.prototype.addBack=r.prototype.onResolve,r.prototype.complete=i.prototype.fulfill,r.prototype.addCallback=r.prototype.onFulfill,r.prototype.addErrback=r.prototype.onReject,t.exports=r},{mpromise:307,util:void 0}],275:[function(e,t,n){var r=e(\"./promise\"),i={_promise:r};i.get=function(){return i._promise},i.set=function(t){return t===r?i.reset():(i._promise=e(\"./ES6Promise\"),i._promise.use(t),void(e(\"mquery\").Promise=i._promise.ES6))},i.reset=function(){i._promise=r},t.exports=i},{\"./ES6Promise\":248,\"./promise\":274,mquery:312}],276:[function(e,t,n){function r(e,t,n,i){if(this._mongooseOptions||(this._mongooseOptions={}),t)for(var o=Object.keys(t),a=0;a<o.length;++a){var s=o[a];this._mongooseOptions[s]=t[s]}i&&(this.mongooseCollection=i),n&&(this.model=n,this.schema=n.schema),this.model&&this.model._mapreduce&&this.lean(),p.call(this,this.mongooseCollection,t),e&&this.find(e),this.schema&&(this._count=this.model.hooks.createWrapper(\"count\",r.prototype._count,this),this._execUpdate=this.model.hooks.createWrapper(\"update\",r.prototype._execUpdate,this),this._find=this.model.hooks.createWrapper(\"find\",r.prototype._find,this),this._findOne=this.model.hooks.createWrapper(\"findOne\",r.prototype._findOne,this),this._findOneAndRemove=this.model.hooks.createWrapper(\"findOneAndRemove\",r.prototype._findOneAndRemove,this),this._findOneAndUpdate=this.model.hooks.createWrapper(\"findOneAndUpdate\",r.prototype._findOneAndUpdate,this))}function i(e,t,n,r,i,o){function a(e){return e?o(e):void(--c||o(null,s))}for(var s=[],c=t.length,u=c,p=i?{populated:i}:void 0,l=0;u>l;++l)s[l]=v.createModel(e,t[l],n),s[l].init(t[l],p,a)}function o(e,t,n,r,i,o,a){var s=o?{populated:o}:void 0,c=v.createModel(e,t,r);c.init(t,s,function(e){return e?a(e):n?a(null,c,n):void a(null,c)})}function a(e){if(e&&e.model&&e.model.schema){var t=e.model.schema;t&&t.discriminatorMapping&&!t.discriminatorMapping.isRoot&&(e._conditions[t.discriminatorMapping.key]=t.discriminatorMapping.value)}}function s(e){if(!Array.isArray(e.sort)&&m.isObject(e.sort)){var t=[];for(var n in e.sort)m.object.hasOwnProperty(e.sort,n)&&t.push([n,e.sort[n]]);e.sort=t}}function c(e){try{return e.cast(e.model)}catch(t){return t}}function u(e,t){try{return e._castUpdate(e._update,t)}catch(n){return n}}var p=e(\"mquery\"),l=e(\"util\"),f=e(\"./drivers\").ReadPreference,d=e(\"./promise_provider\"),h=e(\"./services/updateValidators\"),m=e(\"./utils\"),v=e(\"./queryhelpers\"),g=e(\"./querystream\"),y=e(\"./error/strict\"),b=e(\"./cast\");r.prototype=new p,r.prototype.constructor=r,r.base=p.prototype,r.use$geoWithin=p.use$geoWithin,r.prototype.toConstructor=function(){var e=function(n,i){return this instanceof e?(this._mongooseOptions=m.clone(t._mongooseOptions),void r.call(this,n,i||null)):new e(n,i)};l.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=m.clone(this._conditions),t._fields=m.clone(this._fields),t._update=m.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t.model=this.model,t.mongooseCollection=this.mongooseCollection,t._mongooseOptions=this._mongooseOptions,e},r.prototype.read=function _(e,t){var _=f.call(f,e,t);return r.base.read.call(this,_)},r.prototype.setOptions=function(e,t){return t?(this._mongooseOptions=e&&m.clone(e)||{},this.options=e||{},\"populate\"in e&&this.populate(this._mongooseOptions),this):e&&\"Object\"===e.constructor.name?r.base.setOptions.call(this,e):this},r.prototype.getQuery=function(){return this._conditions},r.prototype.getUpdate=function(){return this._update},r.prototype._optionsForExec=function(e){var t=r.base._optionsForExec.call(this);return delete t.populate,(e=e||this.model)?(\"safe\"in t||!e.schema.options.safe||(t.safe=e.schema.options.safe),\"readPreference\"in t||!e.schema.options.read||(t.readPreference=e.schema.options.read),t):t},r.prototype.lean=function(e){return this._mongooseOptions.lean=arguments.length?!!e:!0,this},r.prototype._find=function(e){if(this._castError)return e(this._castError),this;this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._fieldsForExec(),n=this._mongooseOptions,o=this,a=function(r,a){if(r)return e(r);if(0===a.length)return e(null,a);if(!n.populate)return n.lean===!0?e(null,a):i(o.model,a,t,o,null,e);var s=v.preparePopulationOptionsMQ(o,n);s.__noPromise=!0,o.model.populate(a,s,function(r,a){return r?e(r):n.lean===!0?e(null,a):i(o.model,a,t,o,s,e)})};return r.base.find.call(this,{},a)},r.prototype.find=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=m.toObject(e),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(n){this._castError=n}return t?(this._find(t),this):r.base.find.call(this)},r.prototype._findOne=function(e){if(this._castError)return e(this._castError);this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._mongooseOptions,n=this._fieldsForExec(),i=this;r.base.findOne.call(i,{},function(r,a){if(r)return e(r);if(!a)return e(null,null);if(!t.populate)return t.lean===!0?e(null,a):o(i.model,a,null,n,i,null,e);var s=v.preparePopulationOptionsMQ(i,t);s.__noPromise=!0,i.model.populate(a,s,function(r,a){return r?e(r):t.lean===!0?e(null,a):o(i.model,a,null,n,i,s,e)})})},r.prototype.findOne=function(e,t,n,i){\"function\"==typeof e?(i=e,e=null,t=null,n=null):\"function\"==typeof t?(i=t,n=null,t=null):\"function\"==typeof n&&(i=n,n=null),e=m.toObject(e),this.op=\"findOne\",n&&this.setOptions(n),t&&this.select(t),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(o){this._castError=o}return i?(this._findOne(i),this):r.base.findOne.call(this)},r.prototype._count=function(e){try{this.cast(this.model)}catch(t){return process.nextTick(function(){e(t)}),this}var n=this._conditions,r=this._optionsForExec();this._collection.count(n,r,m.tick(e))},r.prototype.count=function(e,t){return\"function\"==typeof e&&(t=e,e=void 0),p.canMerge(e)&&this.merge(e),this.op=\"count\",t?(this._count(t),this):this},r.prototype.distinct=function(e,t,n){n||(\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0,t=void 0)),t=m.toObject(t),p.canMerge(t)&&this.merge(t);try{this.cast(this.model)}catch(i){if(!n)throw i;return n(i),this}return r.base.distinct.call(this,{},e,n)},r.prototype.sort=function(e){var t={};if(arguments.length>1)throw new Error(\"sort() only takes 1 Argument\");if(Array.isArray(e))for(var n=0;n<e.length;n++){if(!Array.isArray(e[n]))throw new Error(\"Invalid sort() argument.\");t[e[n][0]]=e[n][1]}else t=e;return r.base.sort.call(this,t)},r.prototype.remove=function(e,t){\"function\"==typeof e&&(t=e,e=null);var n=\"function\"==typeof t;try{this.cast(this.model)}catch(i){return n?process.nextTick(t.bind(null,i)):this}return r.base.remove.call(this,e,t)},r.prototype.findOneAndUpdate=function(e,t,n,r){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(r=n,n={});break;case 2:\"function\"==typeof t&&(r=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(r=e,e=n=t=void 0):(t=e,e=n=void 0)}return p.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),r?this._findOneAndUpdate(r):this},r.prototype._findOneAndUpdate=function(e){return this._findAndModify(\"update\",e),this},r.prototype.findOneAndRemove=function(e,t,n){switch(this.op=\"findOneAndRemove\",this._validate(),arguments.length){case 2:\"function\"==typeof t&&(n=t,t={});break;case 1:\"function\"==typeof e&&(n=e,e=void 0,t=void 0)}return p.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?(this._findOneAndRemove(n),this):this},r.prototype._findOneAndRemove=function(e){r.base.findOneAndRemove.call(this,e)},r.prototype._findAndModify=function(e,t){if(\"function\"!=typeof t)throw new Error(\"Expected callback in _findAndModify\");var n,r,i,a,p,l=this.model,f=l.schema,d=this;if(n=c(this),n instanceof Error)return t(n);if(a=this._optionsForExec(l),\"strict\"in a&&(this._mongooseOptions.strict=a.strict),\"remove\"===e)a.remove=!0;else{if(\"new\"in a||(a[\"new\"]=!1),\"upsert\"in a||(a.upsert=!1),(a.upsert||a[\"new\"])&&(a.remove=!1),r=u(this,a.overwrite)){if(r instanceof Error)return t(r);r.$set&&0===Object.keys(r.$set).length&&delete r.$set}else{if(!a.upsert)return this.findOne(t);var g=m.clone(n);delete g._id,r={$set:g}}p=h(this,f,r,a)}this._applyPaths();var y=this._mongooseOptions;if(this._fields&&(i=m.clone(this._fields),a.fields=this._castFields(i),a.fields instanceof Error))return t(a.fields);a.sort&&s(a);var b=function(e,n,r){if(e)return t(e);if(!n||m.isObject(n)&&0===Object.keys(n).length)return a.passRawResult?t(null,null,r):t(null,null);if(a.passRawResult||(r=null),!y.populate)return y.lean===!0?t(null,n):o(d.model,n,r,i,d,null,t);var s=v.preparePopulationOptionsMQ(d,y);s.__noPromise=!0,d.model.populate(n,s,function(e,n){return e?t(e):y.lean===!0?t(null,n):o(d.model,n,r,i,d,s,t)})};if((a.runValidators||a.setDefaultsOnInsert)&&p){var x=function(e){return e?t(e):void d._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}))};try{p(x)}catch(w){t(w)}}else this._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}));return this},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&m.mergeClone(this._update,e._update):m.mergeClone(this._update,e)},r.prototype._execUpdate=function(e){var t,n,i=this.model.schema,o=this._conditions,a=this._update,s=this.options;if(this._castError)return e(this._castError),this;if(this.options.runValidators||this.options.setDefaultsOnInsert){n=this,t=h(this,i,a,s);var c=function(t){return t?e(t):void r.base.update.call(n,o,a,s,e)};try{t(c)}catch(u){process.nextTick(function(){e(u)})}return this}return r.base.update.call(this,o,a,s,e),this},r.prototype.update=function(e,t,n,i){\"function\"==typeof n?(i=n,n=null):\"function\"==typeof t?(i=t,t=e,e={},n=null):\"function\"==typeof e?(i=e,e=void 0,t=void 0,n=void 0):\"object\"!=typeof e||t||n||i||(t=e,e=void 0,n=void 0,i=void 0),e=m.toObject(e);var o=i;if(o){if(\"function\"!=typeof o)throw new Error(\"Invalid callback() argument.\");i=function(e,t){o(e,t?t.result:{ok:0,n:0,nModified:0})}}n&&\"strict\"in n&&(this._mongooseOptions.strict=n.strict),!t&&this._update&&(t=this._updateForExec()),p.canMerge(e)&&this.merge(e);var a=c(this);if(a instanceof Error){if(this._castError=a,i)return i(a),this;if(!n||!n.dontThrowCastError)throw a}var s;try{var u={retainKeyOrder:!0};n&&n.minimize&&(u.minimize=!0),s=this._castUpdate(m.clone(t,u),n&&n.overwrite)}catch(l){if(this._castError=a,i)return i(l),this;if(!n||!n.dontThrowCastError)throw l}return s?(m.isObject(n)&&this.setOptions(n),this._update||(this._update=s),i?this._execUpdate(i):r.base.update.call(this,a,s,n,i)):(this.op=\"update\",i&&i(null),this)},r.prototype.exec=function(e,t){var n=d.get(),r=this;return\"function\"==typeof e?(t=e,e=null):\"string\"==typeof e&&(this.op=e),new n.ES6(function(e,n){return r.op?void r[r.op].call(r,function(r,i){return r?(t&&t(r),void n(r)):(t&&t.apply(null,arguments),void e(i))}):(t&&t(null,void 0),void e())})},r.prototype.then=function(e,t){return this.exec().then(e,t)},r.prototype._getSchema=function(e){return this.model._getSchema(e)};var x={$push:1,$pushAll:1,$addToSet:1,$set:1},w={$pop:1,$unset:1,$inc:1};r.prototype._castUpdate=function(e,t){if(e){for(var n,r,i=Object.keys(e),o=i.length,a={},s=!1;o--;){var c=i[o];\"$\"===c[0]||t?\"$set\"===c?a.$set||(a[c]=e[c]):a[c]=e[c]:(a.$set||(e.$set?a.$set=e.$set:a.$set={}),a.$set[c]=e[c],i.splice(o,1),~i.indexOf(\"$set\")||i.push(\"$set\"))}for(o=i.length,t&&(n=!0);o--;)if(c=i[o],r=a[c],s=s||\"$\"===c.charAt(0),!r||\"Object\"!==r.constructor.name||t&&!s){if(!t||\"Object\"!==a.constructor.name){var u=\"Invalid atomic update value for \"+c+\". Expected an object, received \"+typeof r;throw new Error(u)}this._walkUpdatePath(a,\"$set\")}else n|=this._walkUpdatePath(r,c);return n&&a}},r.prototype._walkUpdatePath=function(e,t,n){for(var r,i,o,a=n?n+\".\":\"\",s=Object.keys(e),c=s.length,u=!1,p=this.schema.options.useNestedStrict;c--;)if(i=s[c],o=e[i],o&&\"Object\"===o.constructor.name)if(r=this._getSchema(a+i),r&&r.caster&&t in x)u=!0,\"$each\"in o?(e[i]={$each:this._castUpdateVal(r,o.$each,t)},null!=o.$slice&&(e[i].$slice=0|o.$slice),o.$sort&&(e[i].$sort=o.$sort),(o.$position||0===o.$position)&&(e[i].$position=o.$position)):e[i]=this._castUpdateVal(r,o,t);else if(\"$currentDate\"===t)e[i]=this._castUpdateVal(r,o,t),u=!0;else if(\"$set\"===t&&r)e[i]=this._castUpdateVal(r,o,t),u=!0;else{var l=a+i,f=this.model.schema._getPathType(l),d=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&f.schema||this.schema).options.strict;if(\"undefined\"===f.pathType){if(\"throw\"===d)throw new y(l);if(d){delete e[i];continue}}u|=this._walkUpdatePath(o,t,a+i)||m.isObject(o)&&0===Object.keys(o).length}else{var h=\"$each\"===i||\"$or\"===i||\"$and\"===i?n:a+i;r=this._getSchema(h);var v=this.model.schema._getPathType(h),g=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&v.schema||this.schema).options.strict,b=g&&!r&&!/real|nested/.test(v.pathType);if(b){if(\"throw\"===g)throw new y(a+i);delete e[i]}else{if(\"$rename\"===t){u=!0;continue}u=!0,e[i]=this._castUpdateVal(r,o,t,i)}}return u},r.prototype._castUpdateVal=function(e,t,n,r){if(!e)return n in w?Number(t):t;var i=e.caster&&n in x&&(m.isObject(t)||Array.isArray(t));if(i){var o=e.cast(t);t=Array.isArray(t)?o:e.caster.$isSingleNested?o:o[0]}return n in w?Number(t):\"$currentDate\"===n?\"object\"==typeof t?{$type:t.$type}:Boolean(t):/^\\$/.test(r)?e.castForQuery(r,t):e.castForQuery(t)},r.prototype.populate=function(){var e=m.populate.apply(null,arguments),t=this._mongooseOptions;m.isObject(t.populate)||(t.populate={});for(var n=t.populate,r=0;r<e.length;++r){var i=e[r].path;n[i]&&n[i].populate&&e[r].populate&&(e[r].populate=n[i].populate.concat(e[r].populate)),n[e[r].path]=e[r]}return this},r.prototype.cast=function(e,t){return t||(t=this._conditions),b(e.schema,t)},r.prototype._castFields=function(e){var t,n,r,i,o,a;if(e)for(r=Object.keys(e),n=[],a=r.length;a--;)i=r[a],e[i].$elemMatch&&(t||(t={}),t[i]=e[i],n.push(i));if(t){try{o=this.cast(this.model,t)}catch(s){return s}for(a=n.length;a--;)i=n[a],e[i]=o[i]}return e},r.prototype._applyPaths=function(){var e,t,n,r=this._fields;if(r)for(t=Object.keys(r),n=t.length;n--;)if(\"+\"!==t[n][0]){e=0===r[t[n]];break}var i=[],o=[],a=[],s=function(n,a){if(\"boolean\"==typeof a.selected){var s=\"+\"+n;if(r&&s in r)return delete r[s],void(e===!1&&t.length>1&&!~t.indexOf(n)&&(r[n]=1));var c=n.split(\".\")[0];~o.indexOf(c)||(a.selected?i:o).push(n)}},c=function(e,t){t||(t=\"\"),~a.indexOf(e)||(a.push(e),e.eachPath(function(e,n){t&&(e=t+\".\"+e),s(e,n),n.schema&&c(n.schema,e)}))};switch(c(this.model.schema),e){case!0:o.length&&this.select(\"-\"+o.join(\" -\"));break;case!1:this.model.schema&&this.model.schema.paths._id&&this.model.schema.paths._id.options&&this.model.schema.paths._id.options.select===!1&&i.push(\"-_id\"),i.length&&this.select(i.join(\" \"));break;case void 0:o.length&&this.select(\"-\"+o.join(\" -\"))}a=o=i=t=r=null},r.prototype.stream=function(e){return this._applyPaths(),this._fields=this._castFields(this._fields),new g(this,e)},r.prototype.maxscan=r.base.maxScan,r.prototype.tailable=function(e,t){if(e&&\"Object\"===e.constructor.name&&(t=e,e=!0),void 0===e&&(e=!0),t&&\"object\"==typeof t)for(var n in t)\"awaitdata\"===n?this.options[n]=!!t[n]:this.options[n]=t[n];return r.base.tailable.call(this,e)},r.prototype.near=function(){var e=[],t=this._mongooseOptions.nearSphere;if(1===arguments.length)if(Array.isArray(arguments[0]))e.push({center:arguments[0],spherical:t});else if(\"string\"==typeof arguments[0])e.push(arguments[0]);else{if(!m.isObject(arguments[0]))throw new TypeError(\"invalid argument\");\"boolean\"!=typeof arguments[0].spherical&&(arguments[0].spherical=t),e.push(arguments[0])}else if(2===arguments.length)if(\"number\"==typeof arguments[0]&&\"number\"==typeof arguments[1])e.push({center:[arguments[0],arguments[1]],spherical:t});else if(\"string\"==typeof arguments[0]&&Array.isArray(arguments[1]))e.push(arguments[0]),e.push({center:arguments[1],spherical:t});else{if(\"string\"!=typeof arguments[0]||!m.isObject(arguments[1]))throw new TypeError(\"invalid argument\");e.push(arguments[0]),\"boolean\"!=typeof arguments[1].spherical&&(arguments[1].spherical=t),e.push(arguments[1])}else{if(3!==arguments.length)throw new TypeError(\"invalid argument\");if(\"string\"!=typeof arguments[0]||\"number\"!=typeof arguments[1]||\"number\"!=typeof arguments[2])throw new TypeError(\"invalid argument\");e.push(arguments[0]),e.push({center:[arguments[1],arguments[2]],spherical:t})}return r.base.near.apply(this,e)},r.prototype.nearSphere=function(){return this._mongooseOptions.nearSphere=!0,this.near.apply(this,arguments),this},r.prototype.box=function(e,t){return!Array.isArray(e)&&m.isObject(e)&&(t=e.ur,e=e.ll),r.base.box.call(this,e,t)},r.prototype.center=r.base.circle,r.prototype.centerSphere=function(){arguments[0]&&\"Object\"===arguments[0].constructor.name&&(arguments[0].spherical=!0),arguments[1]&&\"Object\"===arguments[1].constructor.name&&(arguments[1].spherical=!0),r.base.circle.apply(this,arguments)},t.exports=r},{\"./cast\":251,\"./drivers\":259,\"./error/strict\":267,\"./promise_provider\":275,\"./queryhelpers\":277,\"./querystream\":278,\"./services/updateValidators\":293,\"./utils\":302,mquery:312,util:void 0}],277:[function(e,t,n){function r(e){e.options||(e.options={}),e.options.lean=!0}var i=e(\"./utils\");n.preparePopulationOptions=function(e,t){var n=i.object.vals(e.options.populate);return t.lean&&n.forEach(r),n},n.preparePopulationOptionsMQ=function(e,t){var n=i.object.vals(e._mongooseOptions.populate);return t.lean&&n.forEach(r),n},n.createModel=function(e,t,n){var r=e.schema?e.schema.discriminatorMapping:null,i=r&&r.isRoot?r.key:null;return i&&t[i]&&e.discriminators&&e.discriminators[t[i]]?new e.discriminators[t[i]](void 0,n,!0):new e(void 0,n,!0)}},{\"./utils\":302}],278:[function(e,t,n){function r(e,t){a.call(this),this.query=e,this.readable=!0,this.paused=!1,this._cursor=null,this._destroyed=null,this._fields=null,this._buffer=null,this._inline=p,this._running=!1,this._transform=t&&\"function\"==typeof t.transform?t.transform:u;var n=this;process.nextTick(function(){n._init()})}function i(e,t,n){var r=c.createModel(e.query.model,n,e._fields),i=t?{populated:t}:void 0;r.init(n,i,function(t){return t?e.destroy(t):void o(e,r)})}function o(e,t){e.emit(\"data\",e._transform(t)),l===e._inline?e._next():e._inline=f}var a=e(\"stream\").Stream,s=e(\"./utils\"),c=e(\"./queryhelpers\"),u=function(e){return e};r.prototype.__proto__=a.prototype,r.prototype.readable,r.prototype.paused;var p=0,l=1,f=2;r.prototype._init=function(){if(!this._destroyed){var e=this.query,t=e.model,n=e._optionsForExec(t),r=this;try{e.cast(t)}catch(i){return r.destroy(i)}r._fields=s.clone(e._fields),n.fields=e._castFields(r._fields),t.collection.find(e._conditions,n,function(e,t){return e?r.destroy(e):(r._cursor=t,void r._next())})}},r.prototype._next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;if(this._running=!0,this._buffer&&this._buffer.length)for(var e;!this.paused&&!this._destroyed&&(e=this._buffer.shift());)this._onNextObject.apply(this,e);for(;this.__next(););},r.prototype.__next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;var e=this;return e._inline=p,e._cursor.nextObject(function(t,n){e._onNextObject(t,n)}),f===this._inline?!0:void(this._inline=l)},r.prototype._onNextObject=function(e,t){if(!this._destroyed){if(this.paused)return this._buffer||(this._buffer=[]),this._buffer.push([e,t]),this._running=!1,this._running;if(e)return this.destroy(e);if(!t)return this.emit(\"end\"),this.destroy();var n=this.query._mongooseOptions;if(!n.populate)return n.lean===!0?o(this,t):i(this,null,t);var r=this,a=c.preparePopulationOptionsMQ(r.query,r.query._mongooseOptions);a.forEach(function(e){delete e.model}),a.__noPromise=!0,r.query.model.populate(t,a,function(e,t){return e?r.destroy(e):n.lean===!0?o(r,t):i(r,a,t)})}},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){return this.paused=!1,this._cursor&&p!==this._inline?this._running?void 0:this._next():void 0},r.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,this._running=!1,this.readable=!1,this._cursor&&this._cursor.close(),e&&this.emit(\"error\",e),this.emit(\"close\"))},t.exports=n=r},{\"./queryhelpers\":277,\"./utils\":302,stream:void 0}],279:[function(e,t,n){(function(r){function i(e,t){if(!(this instanceof i))return new i(e,t);this.paths={},this.subpaths={},this.virtuals={},this.singleNestedPaths={},this.nested={},this.inherits={},this.callQueue=[],this._indexes=[],this.methods={},this.statics={},this.tree={},this._requiredpaths=void 0,this.discriminatorMapping=void 0,this._indexedpaths=void 0,this.s={hooks:new d,queryHooks:m},this.options=this.defaultOptions(t),e&&this.add(e);var n=e&&e._id&&f.isObject(e._id),r=!this.paths._id&&!this.options.noId&&this.options._id&&!n;r&&(e={_id:{auto:!0}},e._id[this.options.typeKey]=i.ObjectId,this.add(e));var a=!this.paths.id&&!this.options.noVirtualId&&this.options.id;a&&this.virtual(\"id\").get(o);for(var s=0;s<this._defaultMiddleware.length;++s){var c=this._defaultMiddleware[s];this[c.kind](c.hook,!!c.isAsync,c.fn)}this.options.timestamps&&this.setupTimestamp(this.options.timestamps)}function o(){return this.$__._id?this.$__._id:(this.$__._id=null==this._id?null:String(this._id),this.$__._id)}function a(e,t){var n=t.split(/\\.(\\d+)\\.|\\.(\\d+)$/).filter(Boolean);if(n.length<2)return e.paths[n[0]];var r=e.path(n[0]),i=!1;if(!r)return r;for(var o,a=n.length-1,s=1;s<n.length;++s){if(i=!1,o=n[s],s===a&&r&&!r.schema&&!/\\D/.test(o)){r=r instanceof c.Array?r.caster:void 0;break}if(/\\D/.test(o)){if(!r||!r.schema){r=void 0;break}var u=r.schema.pathType(o);i=\"nested\"===u,r=r.schema.path(o)}}return e.subpaths[t]=r,r?\"real\":i?\"nested\":\"adhocOrUndefined\"}function s(e,t){return a(e,t),e.subpaths[t]}var c,u=e(\"./drivers\").ReadPreference,p=e(\"events\").EventEmitter,l=e(\"./virtualtype\"),f=e(\"./utils\"),d=e(\"kareem\"),h=e(\"async\"),m={count:!0,find:!0,findOne:!0,findOneAndUpdate:!0,findOneAndRemove:!0,update:!0};i.prototype=Object.create(p.prototype),i.prototype.constructor=i,i.prototype.instanceOfSchema=!0,Object.defineProperty(i.prototype,\"_defaultMiddleware\",{configurable:!1,enumerable:!1,writable:!1,value:[{kind:\"pre\",hook:\"save\",fn:function(e,t){if(this.ownerDocument)return e();var n,r=t&&\"object\"==typeof t&&\"validateBeforeSave\"in t;n=r?!!t.validateBeforeSave:this.schema.options.validateBeforeSave,n?this.$__original_validate?this.$__original_validate({__noPromise:!0},function(t){e(t)}):this.validate({__noPromise:!0},function(t){e(t)}):e()}},{kind:\"pre\",hook:\"save\",isAsync:!0,fn:function(e,t){var n=this.$__getAllSubdocs();return!n.length||this.$__preSavingFromParent?(t(),void e()):void h.each(n,function(e,t){e.$__preSavingFromParent=!0,e.save(function(e){t(e)})},function(r){for(var i=0;i<n.length;++i)delete n[i].$__preSavingFromParent;return r?void t(r):(e(),void t())})}}]}),i.prototype.paths,i.prototype.tree,i.prototype.defaultOptions=function(e){return e&&e.safe===!1&&(e.safe={w:0}),e&&e.safe&&0===e.safe.w&&(e.versionKey=!1),e=f.options({strict:!0,bufferCommands:!0,capped:!1,versionKey:\"__v\",discriminatorKey:\"__t\",minimize:!0,autoIndex:null,shardKey:null,read:null,validateBeforeSave:!0,noId:!1,_id:!0,noVirtualId:!1,id:!0,typeKey:\"type\"},e),e.read&&(e.read=u(e.read)),e},i.prototype.add=function(e,t){t=t||\"\";for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];if(null==e[i])throw new TypeError(\"Invalid value for schema path `\"+t+i+\"`\");if(Array.isArray(e[i])&&1===e[i].length&&null==e[i][0])throw new TypeError(\"Invalid value for schema Array path `\"+t+i+\"`\");!f.isObject(e[i])||e[i].constructor&&\"Object\"!==f.getFunctionName(e[i].constructor)||e[i][this.options.typeKey]&&(\"type\"!==this.options.typeKey||!e[i].type.type)?this.path(t+i,e[i]):Object.keys(e[i]).length?(this.nested[t+i]=!0,this.add(e[i],t+i+\".\")):this.path(t+i,e[i])}},i.reserved=Object.create(null);var v=i.reserved;v.emit=v.on=v.once=v.listeners=v.removeListener=v.collection=v.db=v.errors=v.init=v.isModified=v.isNew=v.get=v.modelName=v.save=v.schema=v.set=v.toObject=v.validate=v._pres=v._posts=1;var g={};g.increment=\"`increment` should not be used as a schema path name unless you have disabled versioning.\",i.prototype.path=function(e,t){if(void 0===t)return this.paths[e]?this.paths[e]:this.subpaths[e]?this.subpaths[e]:this.singleNestedPaths[e]?this.singleNestedPaths[e]:/\\.\\d+\\.?.*$/.test(e)?s(this,e):void 0;if(v[e])throw new Error(\"`\"+e+\"` may not be used as a schema pathname\");g[e]&&console.log(\"WARN: \"+g[e]);var n=e.split(/\\./),r=n.pop(),o=this.tree;if(n.forEach(function(t,r){if(o[t]||(o[t]={}),\"object\"!=typeof o[t]){var i=\"Cannot set nested path `\"+e+\"`. Parent path `\"+n.slice(0,r).concat([t]).join(\".\")+\"` already set to type \"+o[t].name+\".\";throw new Error(i)}o=o[t]}),o[r]=f.clone(t),this.paths[e]=i.interpretAsType(e,t,this.options),this.paths[e].$isSingleNested){for(var a in this.paths[e].schema.paths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.paths[a];for(a in this.paths[e].schema.singleNestedPaths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.singleNestedPaths[a]}return this},i.interpretAsType=function(e,t,n){if(t.constructor){var o=f.getFunctionName(t.constructor);if(\"Object\"!==o){var a=t;t={},t[n.typeKey]=a}}var s=!t[n.typeKey]||\"type\"===n.typeKey&&t.type.type?{}:t[n.typeKey];if(\"Object\"===f.getFunctionName(s.constructor)||\"mixed\"===s)return new c.Mixed(e,t);if(Array.isArray(s)||Array===s||\"array\"===s){var u=Array===s||\"array\"===s?t.cast:s[0];if(u&&u.instanceOfSchema)return new c.DocumentArray(e,u,t);if(\"string\"==typeof u)u=c[u.charAt(0).toUpperCase()+u.substring(1)];else if(u&&(!u[n.typeKey]||\"type\"===n.typeKey&&u.type.type)&&\"Object\"===f.getFunctionName(u.constructor)&&Object.keys(u).length){var p={minimize:n.minimize};n.typeKey&&(p.typeKey=n.typeKey);var l=new i(u,p);return new c.DocumentArray(e,l,t)}return new c.Array(e,u||c.Mixed,t)}if(s&&s.instanceOfSchema)return new c.Embedded(s,e,t);var d;if(d=r.isBuffer(s)?\"Buffer\":\"string\"==typeof s?s:s.schemaName||f.getFunctionName(s),d&&(d=d.charAt(0).toUpperCase()+d.substring(1)),void 0==c[d])throw new TypeError(\"Undefined type `\"+d+\"` at `\"+e+\"`\\n  Did you try nesting Schemas? You can only nest using refs or arrays.\");return new c[d](e,t)},i.prototype.eachPath=function(e){for(var t=Object.keys(this.paths),n=t.length,r=0;n>r;++r)e(t[r],this.paths[t[r]]);return this},i.prototype.requiredPaths=function(e){if(this._requiredpaths&&!e)return this._requiredpaths;for(var t=Object.keys(this.paths),n=t.length,r=[];n--;){var i=t[n];this.paths[i].isRequired&&r.push(i)}return this._requiredpaths=r,this._requiredpaths},i.prototype.indexedPaths=function(){return this._indexedpaths?this._indexedpaths:(this._indexedpaths=this.indexes(),this._indexedpaths)},i.prototype.pathType=function(e){return e in this.paths?\"real\":e in this.virtuals?\"virtual\":e in this.nested?\"nested\":e in this.subpaths?\"real\":e in this.singleNestedPaths?\"real\":/\\.\\d+\\.|\\.\\d+$/.test(e)?a(this,e):\"adhocOrUndefined\"},i.prototype.hasMixedParent=function(e){var t=e.split(/\\./g);e=\"\";for(var n=0;n<t.length;++n)if(e=n>0?e+\".\"+t[n]:t[n],e in this.paths&&this.paths[e]instanceof c.Mixed)return!0;return!1},i.prototype.setupTimestamp=function(e){if(e){var t=e.createdAt||\"createdAt\",n=e.updatedAt||\"updatedAt\",r={};r[n]=Date,this.paths[t]||(r[t]=Date),\nthis.add(r),this.pre(\"save\",function(e){var r=new Date,i=this._id&&this._id.auto;this[t]||(this[t]=i?this._id.getTimestamp():r),(this.isNew||this.isModified())&&(this[n]=this.isNew?this[t]:r),e()});var i=function(){var e=new Date,r={$set:{},$setOnInsert:{}};return r.$set[n]=e,r.$setOnInsert[t]=e,r};this.pre(\"findOneAndUpdate\",function(e){this.findOneAndUpdate({},i()),e()}),this.pre(\"update\",function(e){this.update({},i()),e()})}},i.prototype.queue=function(e,t){return this.callQueue.push([e,t]),this},i.prototype.pre=function(){var e=arguments[0];return m[e]?(this.s.hooks.pre.apply(this.s.hooks,arguments),this):this.queue(\"pre\",arguments)},i.prototype.post=function(e,t){return m[e]?(this.s.hooks.post.apply(this.s.hooks,arguments),this):t.length<2?this.queue(\"on\",[arguments[0],function(e){return t.call(e,e)}]):this.queue(\"post\",[arguments[0],function(e){var n=this,r=Array.prototype.slice.call(arguments,1);t.call(this,this,function(t){return e.apply(n,[t].concat(r))})}])},i.prototype.plugin=function(e,t){return e(this,t),this},i.prototype.method=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.methods[n]=e[n];else this.methods[e]=t;return this},i.prototype[\"static\"]=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.statics[n]=e[n];else this.statics[e]=t;return this},i.prototype.index=function(e,t){return t||(t={}),t.expires&&f.expires(t),this._indexes.push([e,t]),this},i.prototype.set=function(e,t,n){if(1===arguments.length)return this.options[e];switch(e){case\"read\":this.options[e]=u(t,n);break;case\"safe\":this.options[e]=t===!1?{w:0}:t;break;case\"timestamps\":this.setupTimestamp(t),this.options[e]=t;break;default:this.options[e]=t}return this},i.prototype.get=function(e){return this.options[e]};var y=\"2d 2dsphere hashed text\".split(\" \");Object.defineProperty(i,\"indexTypes\",{get:function(){return y},set:function(){throw new Error(\"Cannot overwrite Schema.indexTypes\")}}),i.prototype.indexes=function(){\"use strict\";function e(e,n){var r,i,o,a,s,c,u=e._indexes,p=u.length,l=0;for(l=0;p>l;++l){for(r=u[l][0],a=Object.keys(r),o=a.length,i={},c=0;o>c;++c)s=a[c],i[n+s]=r[s];t.push([i,u[l][1]])}}var t=[],n={},r=function(o,a){if(!n[a]){n[a]=!0,a=a||\"\";for(var s,u,p,l,d,h,m,v=Object.keys(o.paths),g=0;g<v.length;++g)s=v[g],u=o.paths[s],u instanceof c.DocumentArray||u.$isSingleNested?r(u.schema,s+\".\"):(p=u._index,p!==!1&&null!==p&&void 0!==p&&(l={},d=f.isObject(p),h=d?p:{},m=\"string\"==typeof p?p:d?p.type:!1,m&&~i.indexTypes.indexOf(m)?l[a+s]=m:h.text?(l[a+s]=\"text\",delete h.text):l[a+s]=1,delete h.type,\"background\"in h||(h.background=!0),t.push([l,h])));a?e(o,a):(o._indexes.forEach(function(e){\"background\"in e[1]||(e[1].background=!0)}),t=t.concat(o._indexes))}};return r(this),t},i.prototype.virtual=function(e,t){var n=this.virtuals,r=e.split(\".\");return n[e]=r.reduce(function(n,i,o){return n[i]||(n[i]=o===r.length-1?new l(t,e):{}),n[i]},this.tree),n[e]},i.prototype.virtualpath=function(e){return this.virtuals[e]},i.prototype.remove=function(e){\"string\"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach(function(e){if(this.path(e)){delete this.paths[e];for(var t=e.split(\".\"),n=t.pop(),r=this.tree,i=0;i<t.length;++i)r=r[t[i]];delete r[n]}},this)},i.prototype._getSchema=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;)if(i=e.slice(0,o).join(\".\"),r=n.path(i)){if(r.caster){if(r.caster instanceof c.Mixed)return r.caster;if(o!==e.length&&r.schema)return\"$\"===e[o]?t(e.slice(o+1),r.schema):t(e.slice(o),r.schema)}return r}}var n=this,r=n.path(e);return r?r:t(e.split(\".\"),n)},i.prototype._getPathType=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;){if(i=e.slice(0,o).join(\".\"),r=n.path(i))return r.caster?r.caster instanceof c.Mixed?{schema:r,pathType:\"mixed\"}:o!==e.length&&r.schema?\"$\"===e[o]?o===e.length-1?{schema:r,pathType:\"nested\"}:t(e.slice(o+1),r.schema):t(e.slice(o),r.schema):{schema:r,pathType:r.$isSingleNested?\"nested\":\"array\"}:{schema:r,pathType:\"real\"};if(o===e.length&&n.nested[i])return{schema:n,pathType:\"nested\"}}return{schema:r||n,pathType:\"undefined\"}}var n=this,r=n.path(e);return r?\"real\":t(e.split(\".\"),n)},t.exports=n=i,i.Types=c=e(\"./schema/index\"),n.ObjectId=c.ObjectId}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./drivers\":259,\"./schema/index\":286,\"./utils\":302,\"./virtualtype\":303,async:11,events:void 0,kareem:176}],280:[function(e,t,n){function r(e,t,n){if(t){var r={};\"Object\"===b.getFunctionName(t.constructor)&&(t.type?(r=b.clone(t),delete r.type,t=t.type):t=g);var i=\"string\"==typeof t?t:b.getFunctionName(t),o=i in h?h[i]:t;this.casterConstructor=o,this.caster=new o(null,r),this.caster instanceof v||(this.caster.path=e)}f.call(this,e,n,\"Array\");var a,s,c=this;this.defaultValue&&(a=this.defaultValue,s=\"function\"==typeof a),this[\"default\"](function(){var e=s?a():a||[];return new m(e,c.path,this)})}function i(e){return h.Number.prototype.cast.call(this,e)}function o(e,t){e.forEach(function(n,r){Array.isArray(n)?o(n,t):e[r]=i.call(t,n)})}function a(e){return Array.isArray(e)?(o(e,this),e):e&&e.$geometry?s(e,this):r.prototype.castForQuery.call(this,e)}function s(e,t){switch(e.$geometry.type){case\"Polygon\":case\"LineString\":case\"Point\":o(e.$geometry.coordinates,t)}return e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e}function c(e){var t=this;if(e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e.$box||e.$polygon){var n=e.$box?\"$box\":\"$polygon\";e[n].forEach(function(e){if(!Array.isArray(e)){var t=\"Invalid $within $box argument. Expected an array, received \"+e;throw new TypeError(t)}e.forEach(function(t,n){e[n]=i.call(this,t)})})}else e.$center||e.$centerSphere?(n=e.$center?\"$center\":\"$centerSphere\",e[n].forEach(function(t,r){Array.isArray(t)?t.forEach(function(e,n){t[n]=i.call(this,e)}):e[n][r]=i.call(this,t)})):e.$geometry&&s(e,this);return e}function u(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){if(b.isObject(e)){var t={};return t[this.path]=e,y(this.casterConstructor.schema,t)[this.path]}return e},this),this.castForQuery(e)}function p(e){for(var t,n,r=Object.keys(e),i=r.length,o=0;i>o;++o)t=r[o],n=e[t],0===t.indexOf(\"$\")&&n&&(e[t]=this.castForQuery(t,n));return y(this.casterConstructor.schema,e)}function l(e){var t=e.$geometry;if(t)return s(e,this),e}var f=e(\"../schematype\"),d=f.CastError,h={Boolean:e(\"./boolean\"),Date:e(\"./date\"),Number:e(\"./number\"),String:e(\"./string\"),ObjectId:e(\"./objectid\"),Buffer:e(\"./buffer\")},m=e(\"../types\").Array,v=e(\"../types\").Embedded,g=e(\"./mixed\"),y=e(\"../cast\"),b=e(\"../utils\"),x=b.isMongooseObject;r.schemaName=\"Array\",r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return!(!e||!e.length)},r.prototype.applyGetters=function(e,t){return this.caster.options&&this.caster.options.ref?e:f.prototype.applyGetters.call(this,e,t)},r.prototype.cast=function(e,t,n){if(Array.isArray(e)){if(!e.length&&t)for(var r=t.schema.indexedPaths(),i=0,o=r.length;o>i;++i){var a=r[i][0][this.path];if(\"2dsphere\"===a||\"2d\"===a)return}if(e&&e.isMongooseArray||(e=new m(e,this.path,t)),this.caster)try{for(i=0,o=e.length;o>i;i++)e[i]=this.caster.cast(e[i],t,n)}catch(s){throw new d(s.type,e,this.path,s)}return e}return t&&n&&t.markModified(this.path),this.cast([e],t,n)},r.prototype.castForQuery=function(e,t){var n,r;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Array.\");r=n.call(this,t)}else{r=e;var i=this.casterConstructor.prototype,o=i.castForQuery||i.cast,a=this.caster;Array.isArray(r)?r=r.map(function(e){return b.isObject(e)&&e.$elemMatch?e:(o&&(e=o.call(a,e)),x(e)?e.toObject({virtuals:!1}):e)}):o&&(r=o.call(a,r))}return r&&x(r)?r.toObject({virtuals:!1}):r};var w=r.prototype.$conditionalHandlers={};w.$all=u,w.$options=String,w.$elemMatch=p,w.$geoIntersects=l,w.$or=w.$and=function(e){if(!Array.isArray(e))throw new TypeError(\"conditional $or/$and require array\");for(var t=[],n=0;n<e.length;++n)t.push(y(this.casterConstructor.schema,e[n]));return t},w.$near=w.$nearSphere=a,w.$within=w.$geoWithin=c,w.$size=w.$maxDistance=i,w.$eq=w.$gt=w.$gte=w.$in=w.$lt=w.$lte=w.$ne=w.$nin=w.$regex=r.prototype.castForQuery,t.exports=r},{\"../cast\":251,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],281:[function(e,t,n){function r(e,t){o.call(this,e,t,\"Boolean\")}var i=e(\"../utils\"),o=e(\"../schematype\");r.schemaName=\"Boolean\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return e===!0||e===!1},r.prototype.cast=function(e){return null===e?e:\"0\"===e?!1:\"true\"===e?!0:\"false\"===e?!1:!!e},r.$conditionalHandlers=i.options(o.prototype.$conditionalHandlers,{}),r.prototype.castForQuery=function(e,t){var n;return 2===arguments.length?(n=r.$conditionalHandlers[e],n?n.call(this,t):this.cast(t)):this.cast(e)},t.exports=r},{\"../schematype\":292,\"../utils\":302}],282:[function(e,t,n){(function(n){function r(e,t){u.call(this,e,t,\"Buffer\")}function i(e){return this.castForQuery(e)}var o,a=e(\"./operators/bitwise\"),s=e(\"../utils\"),c=e(\"../types\").Buffer,u=e(\"../schematype\"),p=c.Binary,l=u.CastError;r.schemaName=\"Buffer\",r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return u._isRef(this,e,t,!0)?!!e:!(!e||!e.length)},r.prototype.cast=function(t,r,i){var a;if(u._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(o||(o=e(\"./../document\")),t instanceof o)return t.$__.wasPopulated=!0,t;if(n.isBuffer(t))return t;if(!s.isObject(t))throw new l(\"buffer\",t,this.path);var f=r.$__fullPath(this.path),d=r.ownerDocument?r.ownerDocument():r,h=d.populated(f,!0);return a=new h.options.model(t),a.$__.wasPopulated=!0,a}if(t&&t._id&&(t=t._id),t&&t.isMongooseBuffer)return t;if(n.isBuffer(t))return t&&t.isMongooseBuffer||(t=new c(t,[this.path,r])),t;if(t instanceof p){if(a=new c(t.value(!0),[this.path,r]),\"number\"!=typeof t.sub_type)throw new l(\"buffer\",t,this.path);return a._subtype=t.sub_type,a}if(null===t)return t;var m=typeof t;if(\"string\"===m||\"number\"===m||Array.isArray(t))return\"number\"===m&&(t=[t]),a=new c(t,[this.path,r]);throw new l(\"buffer\",t,this.path)},r.prototype.$conditionalHandlers=s.options(u.prototype.$conditionalHandlers,{$bitsAllClear:a,$bitsAnyClear:a,$bitsAllSet:a,$bitsAnySet:a,$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Buffer.\");return n.call(this,t)}return t=e,this.cast(t).toObject()},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],283:[function(e,t,n){function r(e,t){s.call(this,e,t,\"Date\")}function i(e){return this.cast(e)}var o=e(\"../error\").messages,a=e(\"../utils\"),s=e(\"../schematype\"),c=s.CastError;r.schemaName=\"Date\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.expires=function(e){return this._index&&\"Object\"===this._index.constructor.name||(this._index={}),this._index.expires=e,a.expires(this._index),this},r.prototype.checkRequired=function(e){return e instanceof Date},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),e){var n=t||o.Date.min;n=n.replace(/{MIN}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.minValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()>=n.valueOf()},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),e){var n=t||o.Date.max;n=n.replace(/{MAX}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.maxValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()<=n.valueOf()},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(e){if(null===e||void 0===e||\"\"===e)return null;if(e instanceof Date)return e;var t;if(\"boolean\"==typeof e)throw new c(\"date\",e,this.path);if(e instanceof Number||\"number\"==typeof e||String(e)==Number(e)?t=new Date(Number(e)):e.valueOf&&(t=new Date(e.valueOf())),!isNaN(t.valueOf()))return t;throw new c(\"date\",e,this.path)},r.prototype.$conditionalHandlers=a.options(s.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2!==arguments.length)return this.cast(e);if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Date.\");return n.call(this,t)},t.exports=r},{\"../error\":260,\"../schematype\":292,\"../utils\":302}],284:[function(e,t,n){function r(e,t,n){function r(){u.apply(this,arguments)}r.prototype=Object.create(u.prototype),r.prototype.$__setSchema(t),r.schema=t;for(var i in t.methods)r.prototype[i]=t.methods[i];for(i in t.statics)r[i]=t.statics[i];r.options=n,o.call(this,e,r,n),this.schema=t;var a=this.path,c=this.defaultValue;this[\"default\"](function(){var e=c.call(this);return Array.isArray(e)||(e=[e]),new s(e,a,this)})}function i(e,t,n){if(n&&t){for(var r,i,o=e.path+\".\",a=Object.keys(t),s=a.length,c={};s--;)i=a[s],0===i.indexOf(o)&&(r||(r=!0),c[i.substring(o.length)]=t[i]);return r&&c||void 0}}var o=e(\"./array\"),a=e(\"../error/cast\"),s=e(\"../types/documentarray\"),c=e(\"../schematype\"),u=e(\"../types/embedded\");r.schemaName=\"DocumentArray\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.doValidate=function(e,t,n,r){c.prototype.doValidate.call(this,e,function(n){function i(e){e&&(o=e),--a||t(o)}if(n)return t(n);var o,a=e&&e.length;if(!a)return t();if(r&&r.updateValidator)return t();for(var s=0,c=a;c>s;++s){var u=e[s];u?u.$__original_validate?u.$__original_validate({__noPromise:!0},i):u.validate({__noPromise:!0},i):--a||t(o)}},n)},r.prototype.doValidateSync=function(e,t){var n=c.prototype.doValidateSync.call(this,e,t);if(n)return n;var r=e&&e.length,i=null;if(r){for(var o=0,a=r;a>o&&!i;++o){var s=e[o];if(s){var u=s.validateSync();u&&(i=u)}}return i}},r.prototype.cast=function(e,t,n,r,o){var c,p,l;if(!Array.isArray(e))return t&&n&&t.markModified(this.path),this.cast([e],t,n,r);if(!(e&&e.isMongooseDocumentArray||o&&o.skipDocumentArrayCast)&&(e=new s(e,this.path,t),r&&r._handlers))for(var f in r._handlers)t.removeListener(f,r._handlers[f]);for(l=e.length;l--;)if(e[l]&&(e[l]instanceof u&&e[l].schema!==this.casterConstructor.schema&&(e[l]=e[l].toObject({virtuals:!1})),!(e[l]instanceof u)&&e[l]))if(n)c||(c=i(this,t.$__.selected,n)),p=new this.casterConstructor(null,e,!0,c,l),e[l]=p.init(e[l]);else{try{p=r.id(e[l]._id)}catch(d){}if(r&&p)p.set(e[l]),e[l]=p;else try{p=new this.casterConstructor(e[l],e,void 0,void 0,l),e[l]=p}catch(h){throw new a(\"embedded\",e[l],e._path,h)}}return e},t.exports=r},{\"../error/cast\":261,\"../schematype\":292,\"../types/documentarray\":297,\"../types/embedded\":298,\"./array\":280}],285:[function(e,t,n){function r(e,t,n){var r=function(e,t,n){var r=this;o.apply(this,arguments),this.$parent=n,n&&n.on(\"save\",function(){r.emit(\"save\",r)})};r.prototype=Object.create(o.prototype),r.prototype.$__setSchema(e),r.schema=e,r.$isSingleNested=!0,r.prototype.$basePath=t;for(var a in e.methods)r.prototype[a]=e.methods[a];for(a in e.statics)r[a]=e.statics[a];this.caster=r,this.schema=e,this.$isSingleNested=!0,i.call(this,t,n,\"Embedded\")}var i=e(\"../schematype\"),o=e(\"../types/subdocument\");t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.cast=function(e,t,n){if(e&&e.$isSingleNested)return e;var r=new this.caster(void 0,t?t.$__.selected:void 0,t);return n?r.init(e):r.set(e,void 0,!0),r},r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,new this.caster(t).toObject({virtuals:!1})},r.prototype.doValidate=function(e,t){i.prototype.doValidate.call(this,e,function(n){return n?t(n):e?void e.validate(t,{__noPromise:!0}):t(null)})},r.prototype.doValidateSync=function(e){var t=i.prototype.doValidateSync.call(this,e);if(t)return t;if(e)return e.validateSync()}},{\"../schematype\":292,\"../types/subdocument\":301}],286:[function(e,t,n){n.String=e(\"./string\"),n.Number=e(\"./number\"),n.Boolean=e(\"./boolean\"),n.DocumentArray=e(\"./documentarray\"),n.Embedded=e(\"./embedded\"),n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Date=e(\"./date\"),n.ObjectId=e(\"./objectid\"),n.Mixed=e(\"./mixed\"),n.Oid=n.ObjectId,n.Object=n.Mixed,n.Bool=n.Boolean},{\"./array\":280,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./documentarray\":284,\"./embedded\":285,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],287:[function(e,t,n){function r(e,t){if(t&&t[\"default\"]){var n=t[\"default\"];Array.isArray(n)&&0===n.length?t[\"default\"]=Array:!t.shared&&o.isObject(n)&&0===Object.keys(n).length&&(t[\"default\"]=function(){return{}})}i.call(this,e,t,\"Mixed\")}var i=e(\"../schematype\"),o=e(\"../utils\");r.schemaName=\"Mixed\",r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.cast=function(e){return e},r.prototype.castForQuery=function(e,t){return 2===arguments.length?t:e},t.exports=r},{\"../schematype\":292,\"../utils\":302}],288:[function(e,t,n){(function(n){function r(e,t){s.call(this,e,t,\"Number\")}function i(e){return this.cast(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.cast(e)}):[this.cast(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"./operators/bitwise\"),p=e(\"../error\").messages,l=e(\"../utils\");r.schemaName=\"Number\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:\"number\"==typeof e||e instanceof Number},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.min;n=n.replace(/{MIN}/,e),this.validators.push({validator:this.minValidator=function(t){return null==t||t>=e},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.max;n=n.replace(/{MAX}/,e),this.validators.push({validator:this.maxValidator=function(t){return null==t||e>=t},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"number\"==typeof t)return t;if(n.isBuffer(t)||!l.isObject(t))throw new c(\"number\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,p=u.populated(o,!0),f=new p.options.model(t);return f.$__.wasPopulated=!0,f}var d=t&&t._id?t._id:t;if(!isNaN(d)){if(null===d)return d;if(\"\"===d)return null;if(\"string\"!=typeof d&&\"boolean\"!=typeof d||(d=Number(d)),d instanceof Number)return d;if(\"number\"==typeof d)return d;if(d.toString&&!Array.isArray(d)&&d.toString()==Number(d))return new Number(d)}throw new c(\"number\",t,this.path)},r.prototype.$conditionalHandlers=l.options(s.prototype.$conditionalHandlers,{$bitsAllClear:u,$bitsAnyClear:u,$bitsAllSet:u,$bitsAnySet:u,$gt:i,$gte:i,$lt:i,$lte:i,$mod:o}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Number.\");return n.call(this,t)}return t=this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],289:[function(e,t,n){(function(n){function r(e,t){c.call(this,e,t,\"ObjectID\")}function i(e){return this.cast(e)}function o(){return new p}function a(e){return this.$__._id=null,e}var s,c=e(\"../schematype\"),u=c.CastError,p=e(\"../types/objectid\"),l=e(\"../utils\");r.schemaName=\"ObjectId\",r.prototype=Object.create(c.prototype),r.prototype.constructor=r,r.prototype.auto=function(e){return e&&(this[\"default\"](o),this.set(a)),this},r.prototype.checkRequired=function(e,t){return c._isRef(this,e,t,!0)?!!e:e instanceof p},r.prototype.cast=function(t,r,i){if(c._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(s||(s=e(\"./../document\")),t instanceof s)return t.$__.wasPopulated=!0,t;if(t instanceof p)return t;if(n.isBuffer(t)||!l.isObject(t))throw new u(\"ObjectId\",t,this.path);var o=r.$__fullPath(this.path),a=r.ownerDocument?r.ownerDocument():r,f=a.populated(o,!0),d=t;return r.$__.populated&&r.$__.populated[o]&&r.$__.populated[o].options&&r.$__.populated[o].options.options&&r.$__.populated[o].options.options.lean||(d=new f.options.model(t),d.$__.wasPopulated=!0),d}if(null===t||void 0===t)return t;if(t instanceof p)return t;if(t._id){if(t._id instanceof p)return t._id;if(t._id.toString instanceof Function)try{return p.createFromHexString(t._id.toString())}catch(h){}}if(t.toString instanceof Function)try{return p.createFromHexString(t.toString())}catch(m){throw new u(\"ObjectId\",t,this.path)}throw new u(\"ObjectId\",t,this.path)},r.prototype.$conditionalHandlers=l.options(c.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with ObjectId.\");return n.call(this,t)}return this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types/objectid\":300,\"../utils\":302,\"./../document\":253}],290:[function(e,t,n){(function(n){function r(e){var t=this;return Array.isArray(e)?e.map(function(e){return i(t.path,e)}):n.isBuffer(e)?e:i(t.path,e)}function i(e,t){var n=Number(t);if(isNaN(n))throw new o(\"number\",t,e);return n}var o=e(\"../../error/cast\");t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../../error/cast\":261}],291:[function(e,t,n){(function(n){function r(e,t){this.enumValues=[],this.regExp=null,s.call(this,e,t,\"String\")}function i(e){return this.castForQuery(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"../error\").messages,p=e(\"../utils\");r.schemaName=\"String\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype[\"enum\"]=function(){if(this.enumValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.enumValidator},this),this.enumValidator=!1),void 0===arguments[0]||arguments[0]===!1)return this;var e,t;p.isObject(arguments[0])?(e=arguments[0].values,t=arguments[0].message):(e=arguments,t=u.String[\"enum\"]);for(var n=0;n<e.length;n++)void 0!==e[n]&&this.enumValues.push(this.cast(e[n]));var r=this.enumValues;return this.enumValidator=function(e){return void 0===e||~r.indexOf(e)},this.validators.push({validator:this.enumValidator,message:t,type:\"enum\",enumValues:r}),this},r.prototype.lowercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toLowerCase():e})},r.prototype.uppercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toUpperCase():e})},r.prototype.trim=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.trim():e})},r.prototype.minlength=function(e,t){if(this.minlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.minlength;n=n.replace(/{MINLENGTH}/,e),this.validators.push({validator:this.minlengthValidator=function(t){return null===t||t.length>=e},message:n,type:\"minlength\",minlength:e})}return this},r.prototype.maxlength=function(e,t){if(this.maxlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.maxlength;n=n.replace(/{MAXLENGTH}/,e),this.validators.push({validator:this.maxlengthValidator=function(t){return null===t||t.length<=e},message:n,type:\"maxlength\",maxlength:e})}return this},r.prototype.match=function(e,t){var n=t||u.String.match,r=function(t){if(!e)return!1;var n=null!=t&&\"\"!==t?e.test(t):!0;return n};return this.validators.push({validator:r,message:n,type:\"regexp\",regexp:e}),this},r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:(e instanceof String||\"string\"==typeof e)&&e.length},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"string\"==typeof t)return t;if(n.isBuffer(t)||!p.isObject(t))throw new c(\"string\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,l=u.populated(o,!0),f=new l.options.model(t);return f.$__.wasPopulated=!0,f}if(null===t||void 0===t)return t;if(\"undefined\"!=typeof t){if(t._id&&\"string\"==typeof t._id)return t._id;if(t.toString&&t.toString!==Object.prototype.toString)return t.toString()}throw new c(\"string\",t,this.path)},r.prototype.$conditionalHandlers=p.options(s.prototype.$conditionalHandlers,{$all:o,$gt:i,$gte:i,$lt:i,$lte:i,$options:i,$regex:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with String.\");return n.call(this,t)}return t=e,\"[object RegExp]\"===Object.prototype.toString.call(t)?t:this.cast(t)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253}],292:[function(e,t,n){(function(r){function i(e,t,n){this.path=e,this.instance=n,this.validators=[],this.setters=[],this.getters=[],this.options=t,this._index=null,this.selected;for(var r in t)if(this[r]&&\"function\"==typeof this[r]){if(\"index\"===r&&this._index)continue;var i=Array.isArray(t[r])?t[r]:[t[r]];this[r].apply(this,i)}}function o(e){return this.castForQuery(e)}function a(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var s=e(\"./utils\"),c=e(\"./error\"),u=c.messages,p=c.CastError,l=c.ValidatorError;i.prototype[\"default\"]=function(e){return 1===arguments.length?(this.defaultValue=\"function\"==typeof e?e:this.cast(e),this):(arguments.length>1&&(this.defaultValue=s.args(arguments)),this.defaultValue)},i.prototype.index=function(e){return this._index=e,s.expires(this._index),this},i.prototype.unique=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.unique=e,this},i.prototype.text=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.text=e,this},i.prototype.sparse=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.sparse=e,this},i.prototype.set=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A setter must be a function.\");return this.setters.push(e),this},i.prototype.get=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A getter must be a function.\");return this.getters.push(e),this},i.prototype.validate=function(e,t,n){if(\"function\"==typeof e||e&&\"RegExp\"===s.getFunctionName(e.constructor)){var r;return t instanceof Object&&!n?(r=s.clone(t),r.message||(r.message=r.msg),r.validator=e,r.type=r.type||\"user defined\"):(t||(t=u.general[\"default\"]),n||(n=\"user defined\"),r={message:t,type:n,validator:e}),this.validators.push(r),this}var i,o,a;for(i=0,o=arguments.length;o>i;i++){if(a=arguments[i],!a||\"Object\"!==s.getFunctionName(a.constructor)){var c=\"Invalid validator. Received (\"+typeof a+\") \"+a+\". See http://mongoosejs.com/docs/api.html#schematype_SchemaType-validate\";throw new Error(c)}this.validate(a.validator,a)}return this},i.prototype.required=function(e,t){if(e===!1)return this.validators=this.validators.filter(function(e){return e.validator!==this.requiredValidator},this),this.isRequired=!1,this;var n=this;this.isRequired=!0,this.requiredValidator=function(t){return\"isSelected\"in this&&!this.isSelected(n.path)&&!this.isModified(n.path)?!0:\"function\"==typeof e&&!e.apply(this)||n.checkRequired(t,this)},\"string\"==typeof e&&(t=e,e=void 0);var r=t||u.general.required;return this.validators.unshift({validator:this.requiredValidator,message:r,type:\"required\"}),this},i.prototype.getDefault=function(e,t){var n=\"function\"==typeof this.defaultValue?this.defaultValue.call(e):this.defaultValue;return null!==n&&void 0!==n?this.cast(n,e,t):n},i.prototype.applySetters=function(e,t,n,r,i){for(var o=e,a=this.setters,s=a.length,c=this.caster;s--;)o=a[s].call(t,o,this);if(Array.isArray(o)&&c&&c.setters){for(var u=[],p=0;p<o.length;p++)u.push(c.applySetters(o[p],t,n,r));o=u}return null===o||void 0===o?o:o=this.cast(o,t,n,r,i)},i.prototype.applyGetters=function(e,t){var n=e,r=this.getters,i=r.length;if(!i)return n;for(;i--;)n=r[i].call(t,n,this);return n},i.prototype.select=function(e){return this.selected=!!e,this},i.prototype.doValidate=function(e,t,n){var r=!1,i=this.path,o=this.validators.length;if(!o)return t(null);var a=function(e,n){r||(void 0===e||e?--o||t(null):(r=new l(n),t(r)))},c=this;this.validators.forEach(function(t){if(!r){var o=t.validator,u=s.clone(t);if(u.path=i,u.value=e,o instanceof RegExp)a(o.test(e),u);else if(\"function\"==typeof o){if(void 0===e&&!c.isRequired)return void a(!0,u);2===o.length?o.call(n,e,function(e,t){t&&(u.message=t),a(e,u)}):a(o.call(n,e),u)}}})},i.prototype.doValidateSync=function(e,t){var n=null,r=this.path,i=this.validators.length;if(!i)return null;var o=function(e,t){n||void 0===e||e||(n=new l(t))},a=this;return void 0!==e||a.isRequired?(this.validators.forEach(function(i){if(!n){var a=i.validator,c=s.clone(i);c.path=r,c.value=e,a instanceof RegExp?o(a.test(e),c):\"function\"==typeof a&&2!==a.length&&o(a.call(t,e),c)}}),n):null},i._isRef=function(e,t,n,i){var o=i&&e.options&&e.options.ref;if(!o&&n&&n.$__fullPath){var a=n.$__fullPath(e.path),c=n.ownerDocument?n.ownerDocument():n;o=c.populated(a)}if(o){if(null==t)return!0;if(!r.isBuffer(t)&&\"Binary\"!==t._bsontype&&s.isObject(t))return!0}return!1},i.prototype.$conditionalHandlers={$all:a,$eq:o,$in:a,$ne:o,$nin:a},i.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,this.cast(t)},i.prototype.checkRequired=function(e){return null!=e},t.exports=n=i,n.CastError=p,n.ValidatorError=l}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./utils\":302}],293:[function(e,t,n){(function(n){function r(e,t,n){var i=Object.keys(e),a=i.length;n=n||{},t=t?t+\".\":\"\";for(var s=0;a>s;++s){var c=i[s],u=e[c];n[t+c]=!0,o(u)&&r(u,t+c,n)}return n}function i(e,t){var n=Object.keys(e),r=n.length,a={};t=t?t+\".\":\"\";for(var s=0;r>s;++s){var c=n[s],u=e[c];if(o(u)){var p=i(u,t+c);for(var l in p)a[l]=p[l];Array.isArray(u)&&(a[t+c]=u)}else a[t+c]=u}return a}function o(e){return e&&\"object\"==typeof e&&!(e instanceof Date)&&!(e instanceof c)&&(!Array.isArray(e)||e.length>0)&&!(e instanceof n);\n}var a=e(\"async\"),s=e(\"../error/validation.js\"),c=e(\"../types/objectid\");t.exports=function(e,t,n,o){function c(n){var r=t._getSchema(E[n]);r&&A.push(function(t){r.doValidate(l[E[n]],function(e){e&&(e.path=E[n],C.push(e)),t(null)},o&&\"query\"===o.context?e:null,{updateValidator:!0})})}for(var u=Object.keys(n||{}),p={},l={},f=u.length,d=!1,h={},m=0;f>m;++m)if(\"$\"===u[m].charAt(0)){r(n[u[m]],\"\",h);for(var v=i(n[u[m]]),g=Object.keys(v),y=g.length,b=0;y>b;++b){var x=g[b].replace(\".$.\",\".0.\");x=x.replace(/\\.\\$$/,\".0\"),\"$set\"===u[m]||\"$setOnInsert\"===u[m]?l[x]=v[g[b]]:\"$unset\"===u[m]&&(l[x]=void 0),p[x]=!0}d=!0}if(d||(r(n,\"\",h),l=i(n),p=Object.keys(l)),o&&o.upsert){for(g=Object.keys(e._conditions),y=u.length,m=0;y>m;++m){var w=g[m],_=e._conditions[w];if(_&&\"object\"==typeof _){var k=Object.keys(_),j=k.length,S=!1;for(b=0;j>b;++b)if(\"$\"===k[b].charAt(0)){S=!0;break}if(S)continue}p[w]=!0,h[w]=!0}o.setDefaultsOnInsert&&t.eachPath(function(e,t){if(\"_id\"!==e)if(t.$isSingleNested)t.schema.eachPath(function(t,r){if(\"_id\"!==e){var i=r.getDefault(null,!0);h[e+\".\"+t]||\"undefined\"==typeof i||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e+\".\"+t]=i,l[e+\".\"+t]=i)}});else{var r=t.getDefault(null,!0);h[e]||\"undefined\"==typeof r||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e]=r,l[e]=r)}})}var E=Object.keys(l),O=E.length,A=[],C=[];for(m=0;O>m;++m)c(m);return function(e){a.parallel(A,function(){if(C.length){for(var t=new s(null),n=0;n<C.length;++n)t.errors[C[n].path]=C[n];return e(t)}e(null)})}}}).call(this,e(\"buffer\").Buffer)},{\"../error/validation.js\":268,\"../types/objectid\":300,async:11,buffer:void 0}],294:[function(e,t,n){var r=e(\"./utils\"),i=t.exports=n=function(){};i.ctor=function(){var e=r.args(arguments),t=function(){i.apply(this,arguments),this.paths={},this.states={},this.stateNames=e;for(var t,n=e.length;n--;)t=e[n],this.states[t]={}};return t.prototype=new i,e.forEach(function(e){t.prototype[e]=function(t){this._changeState(t,e)}}),t},i.prototype._changeState=function(e,t){var n=this.states[this.paths[e]];n&&delete n[e],this.paths[e]=t,this.states[t][e]=!0},i.prototype.clear=function(e){for(var t,n=Object.keys(this.states[e]),r=n.length;r--;)t=n[r],delete this.states[e][t],delete this.paths[t]},i.prototype.some=function(){var e=this,t=arguments.length?arguments:this.stateNames;return Array.prototype.some.call(t,function(t){return Object.keys(e.states[t]).length})},i.prototype._iter=function(e){return function(){var t=arguments.length,n=r.args(arguments,0,t-1),i=arguments[t-1];n.length||(n=this.stateNames);var o=this,a=n.reduce(function(e,t){return e.concat(Object.keys(o.states[t]))},[]);return a[e](function(e,t,n){return i(e,t,n)})}},i.prototype.forEach=function(){return this.forEach=this._iter(\"forEach\"),this.forEach.apply(this,arguments)},i.prototype.map=function(){return this.map=this._iter(\"map\"),this.map.apply(this,arguments)}},{\"./utils\":302}],295:[function(e,t,n){(function(r){function i(e,t,n){for(var r=[].concat(e),o={isMongooseArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0},s={},c=Object.keys(i.mixin),u=0;u<c.length;++u)s[c[u]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[c[u]]};for(var p=Object.keys(o),l=0;l<p.length;++l)s[p[l]]={enumerable:!1,configurable:!0,writable:!0,value:o[p[l]]};return Object.defineProperties(r,s),n&&n instanceof a&&(r._parent=n,r._schema=n.schema.path(t)),r}var o=e(\"./embedded\"),a=e(\"../document\"),s=e(\"./objectid\"),c=e(\"../utils\"),u=c.isMongooseObject;i.mixin={_atomics:void 0,_parent:void 0,_cast:function(e){var t,n=this._owner,i=!1;if(this._parent&&(n||(n=this._owner=this._parent.ownerDocument?this._parent.ownerDocument():this._parent),i=n.populated(this._path,!0)),i&&null!==e&&void 0!==e){t=i.options.model,(r.isBuffer(e)||e instanceof s||!c.isObject(e))&&(e={_id:e});var o=e.schema&&e.schema.discriminatorMapping&&void 0!==e.schema.discriminatorMapping.key;return o||(e=new t(e)),this._schema.caster.cast(e,this._parent,!0)}return this._schema.caster.cast(e,this._parent,!1)},_markModified:function(e,t){var n,r=this._parent;return r&&(n=this._path,arguments.length&&(n=null!=t?n+\".\"+this.indexOf(e)+\".\"+t:n+\".\"+e),r.markModified(n)),this},_registerAtomic:function(e,t){if(\"$set\"===e)return this._atomics={$set:t},this;var n=this._atomics;if(\"$pop\"===e&&!(\"$pop\"in n)){var r=this;this._parent.once(\"save\",function(){r._popped=r._shifted=null})}if(this._atomics.$set||Object.keys(n).length&&!(e in n))return this._atomics={$set:this},this;var i;if(\"$pullAll\"===e||\"$pushAll\"===e||\"$addToSet\"===e)n[e]||(n[e]=[]),n[e]=n[e].concat(t);else if(\"$pullDocs\"===e){var a=n.$pull||(n.$pull={});t[0]instanceof o?(i=a.$or||(a.$or=[]),Array.prototype.push.apply(i,t.map(function(e){return e.toObject({virtuals:!1})}))):(i=a._id||(a._id={$in:[]}),i.$in=i.$in.concat(t))}else n[e]=t;return this},$__getAtomics:function(){var e=[],t=Object.keys(this._atomics),n=t.length;if(0===n)return e[0]=[\"$set\",this.toObject({depopulate:1,transform:!1})],e;for(;n--;){var r=t[n],i=this._atomics[r];u(i)?i=i.toObject({depopulate:1,transform:!1}):Array.isArray(i)?i=this.toObject.call(i,{depopulate:1,transform:!1}):i.valueOf&&(i=i.valueOf()),\"$addToSet\"===r&&(i={$each:i}),e.push([r,i])}return e},hasAtomics:function(){return this._atomics&&\"Object\"===this._atomics.constructor.name?Object.keys(this._atomics).length:0},_mapCast:function(e,t){return this._cast(e,this.length+t)},push:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent,void 0,void 0,{skipDocumentArrayCast:!0});var t=[].push.apply(this,e);return this._registerAtomic(\"$pushAll\",e),this._markModified(),t},nonAtomicPush:function(){var e=[].map.call(arguments,this._mapCast,this),t=[].push.apply(this,e);return this._registerAtomic(\"$set\",this),this._markModified(),t},$pop:function(){return this._registerAtomic(\"$pop\",1),this._markModified(),this._popped?void 0:(this._popped=!0,[].pop.call(this))},pop:function(){var e=[].pop.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},$shift:function(){return this._registerAtomic(\"$pop\",-1),this._markModified(),this._shifted?void 0:(this._shifted=!0,[].shift.call(this))},shift:function(){var e=[].shift.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},pull:function(){for(var e,t=[].map.call(arguments,this._cast,this),n=this._parent.get(this._path),r=n.length;r--;)if(e=n[r],e instanceof a){var i=t.some(function(t){return t.equals(e)});i&&[].splice.call(n,r,1)}else~n.indexOf.call(t,e)&&[].splice.call(n,r,1);return t[0]instanceof o?this._registerAtomic(\"$pullDocs\",t.map(function(e){return e._id||e})):this._registerAtomic(\"$pullAll\",t),this._markModified(),this},splice:function(){var e,t,n;if(arguments.length){for(t=[],n=0;n<arguments.length;++n)t[n]=2>n?arguments[n]:this._cast(arguments[n],arguments[0]+(n-2));e=[].splice.apply(this,t),this._registerAtomic(\"$set\",this),this._markModified()}return e},unshift:function(){var e=[].map.call(arguments,this._cast,this);return e=this._schema.applySetters(e,this._parent),[].unshift.apply(this,e),this._registerAtomic(\"$set\",this),this._markModified(),this.length},sort:function(){var e=[].sort.apply(this,arguments);return this._registerAtomic(\"$set\",this),this._markModified(),e},addToSet:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent);var t=[],n=\"\";return e[0]instanceof o?n=\"doc\":e[0]instanceof Date&&(n=\"date\"),e.forEach(function(e){var r;switch(n){case\"doc\":r=this.some(function(t){return t.equals(e)});break;case\"date\":var i=+e;r=this.some(function(e){return+e===i});break;default:r=~this.indexOf(e)}r||([].push.call(this,e),this._registerAtomic(\"$addToSet\",e),this._markModified(),[].push.call(t,e))},this),t},set:function(e,t){var n=this._cast(t,e);return n=this._schema.caster instanceof o?n:this._schema.caster.applySetters(t,this._parent),this[e]=n,this._markModified(e),this},toObject:function(e){return e&&e.depopulate?this.map(function(t){return t instanceof a?t.toObject(e):t}):this.slice()},inspect:function(){return JSON.stringify(this)},indexOf:function(e){e instanceof s&&(e=e.toString());for(var t=0,n=this.length;n>t;++t)if(e==this[t])return t;return-1}},i.mixin.remove=i.mixin.pull,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../utils\":302,\"./embedded\":298,\"./objectid\":300}],296:[function(e,t,n){(function(n){function r(e,t,i){var a,s=arguments.length;a=0===s||null===arguments[0]||void 0===arguments[0]?0:e;var c,u,p;Array.isArray(t)?(u=t[0],p=t[1]):c=t;var l=new n(a,c,i);return o.decorate(l,r.mixin),l.isMongooseBuffer=!0,Object.defineProperties(l,{validators:{value:[]},_path:{value:u},_parent:{value:p}}),p&&\"string\"==typeof u&&Object.defineProperty(l,\"_schema\",{value:p.schema.path(u)}),l._subtype=0,l}var i=e(\"../drivers\").Binary,o=e(\"../utils\");r.mixin={_parent:void 0,_subtype:void 0,_markModified:function(){var e=this._parent;return e&&e.markModified(this._path),this},write:function(){var e=n.prototype.write.apply(this,arguments);return e>0&&this._markModified(),e},copy:function(e){var t=n.prototype.copy.apply(this,arguments);return e&&e.isMongooseBuffer&&e._markModified(),t}},\"writeUInt8 writeUInt16 writeUInt32 writeInt8 writeInt16 writeInt32 writeFloat writeDouble fill utf8Write binaryWrite asciiWrite set writeUInt16LE writeUInt16BE writeUInt32LE writeUInt32BE writeInt16LE writeInt16BE writeInt32LE writeInt32BE writeFloatLE writeFloatBE writeDoubleLE writeDoubleBE\".split(\" \").forEach(function(e){n.prototype[e]&&(r.mixin[e]=function(){var t=n.prototype[e].apply(this,arguments);return this._markModified(),t})}),r.mixin.toObject=function(e){var t=\"number\"==typeof e?e:this._subtype||0;return new i(this,t)},r.mixin.equals=function(e){if(!n.isBuffer(e))return!1;if(this.length!==e.length)return!1;for(var t=0;t<this.length;++t)if(this[t]!==e[t])return!1;return!0},r.mixin.subtype=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid subtype. Expected a number\");this._subtype!==e&&this._markModified(),this._subtype=e},r.Binary=i,t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"../drivers\":259,\"../utils\":302,buffer:void 0}],297:[function(e,t,n){(function(n){function r(e,t,n){for(var o=[].concat(e),a={isMongooseArray:!0,isMongooseDocumentArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0,_handlers:void 0},s={},u=Object.keys(i.mixin),p=0;p<u.length;++p)s[u[p]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[u[p]]};for(var l=Object.keys(r.mixin),f=0;f<l.length;++f)s[l[f]]={enumerable:!1,configurable:!0,writable:!0,value:r.mixin[l[f]]};for(var d=Object.keys(a),h=0;h<d.length;++h)s[d[h]]={enumerable:!1,configurable:!0,writable:!0,value:a[d[h]]};return Object.defineProperties(o,s),n&&n instanceof c&&(o._parent=n,o._schema=n.schema.path(t),o._handlers={isNew:o.notify(\"isNew\"),save:o.notify(\"save\")},n.on(\"save\",o._handlers.save),n.on(\"isNew\",o._handlers.isNew)),o}var i=e(\"./array\"),o=e(\"./objectid\"),a=e(\"../schema/objectid\"),s=e(\"../utils\"),c=e(\"../document\");r.mixin={_cast:function(e,t){return e instanceof this._schema.casterConstructor?(e.__parent&&e.__parentArray||(e.__parent=this._parent,e.__parentArray=this),e.__index=t,e):((n.isBuffer(e)||e instanceof o||!s.isObject(e))&&(e={_id:e}),new this._schema.casterConstructor(e,this,void 0,void 0,t))},id:function(e){var t,n,r;try{var i=a.prototype.cast.call({},e);i&&(t=String(i))}catch(u){t=null}for(var p=0,l=this.length;l>p;p++)if(r=this[p].get(\"_id\"),null!==r&&\"undefined\"!=typeof r)if(r instanceof c){if(n||(n=String(e)),n==r._id)return this[p]}else if(e instanceof o||r instanceof o){if(t==r)return this[p]}else if(s.deepEqual(e,r))return this[p];return null},toObject:function(e){return this.map(function(t){return t&&t.toObject(e)||null})},inspect:function(){return Array.prototype.slice.call(this)},create:function(e){return new this._schema.casterConstructor(e)},notify:function(e){var t=this;return function(n){for(var r=t.length;r--;)if(t[r]){switch(e){case\"save\":n=t[r]}t[r].emit(e,n)}}}},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../schema/objectid\":289,\"../utils\":302,\"./array\":295,\"./objectid\":300}],298:[function(e,t,n){function r(e,t,n,r,i){t?(this.__parentArray=t,this.__parent=t._parent):(this.__parentArray=void 0,this.__parent=void 0),this.__index=i,o.call(this,e,r,n);var a=this;this.on(\"isNew\",function(e){a.isNew=e})}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document_provider\")(),a=e(\"../promise_provider\");r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.markModified=function(e){this.$__.activePaths.modify(e),this.__parentArray&&(this.isNew?this.__parentArray._markModified():this.__parentArray._markModified(this,e))},r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.remove=function(e){if(!this.__parentArray)return this;var t;if(!this.willRemove){if(t=this._doc._id,!t)throw new Error(\"For your own good, Mongoose does not know how to remove an EmbeddedDocument that has no _id\");this.__parentArray.pull({_id:t}),this.willRemove=!0,i(this)}return e&&e(null),this},r.prototype.update=function(){throw new Error(\"The #update method is not available on EmbeddedDocuments\")},r.prototype.inspect=function(){return this.toObject()},r.prototype.invalidate=function(e,t,n,r){if(!this.__parent){var i=\"Unable to invalidate a subdocument that has not been added to an array.\";throw new Error(i)}var o=this.__index;if(\"undefined\"!=typeof o){var a=this.__parentArray._path,s=[a,o,e].join(\".\");this.__parent.invalidate(s,t,n)}return r&&(this.$__.validationError=this.ownerDocument().$__.validationError),!0},r.prototype.$markValid=function(e){if(this.__parent){var t=this.__index;if(\"undefined\"!=typeof t){var n=this.__parentArray._path,r=[n,t,e].join(\".\");this.__parent.$markValid(r)}}},r.prototype.$isValid=function(e){var t=this.__index;return\"undefined\"!=typeof t?!this.__parent.$__.validationError||!this.__parent.$__.validationError.errors[this.$__fullPath(e)]:!0},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.__parent;if(!e)return this;for(;e.__parent;)e=e.__parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.$__fullPath=function(e){if(!this.$__.fullPath){var t=this;if(!t.__parent)return e;for(var n=[];t.__parent;)n.unshift(t.__parentArray._path),t=t.__parent;this.$__.fullPath=n.join(\".\"),this.$__.ownerDocument||(this.$__.ownerDocument=t)}return e?this.$__.fullPath+\".\"+e:this.$__.fullPath},r.prototype.parent=function(){return this.__parent},r.prototype.parentArray=function(){return this.__parentArray},t.exports=r},{\"../document_provider\":254,\"../promise_provider\":275}],299:[function(e,t,n){n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Document=n.Embedded=e(\"./embedded\"),n.DocumentArray=e(\"./documentarray\"),n.ObjectId=e(\"./objectid\"),n.Subdocument=e(\"./subdocument\")},{\"./array\":295,\"./buffer\":296,\"./documentarray\":297,\"./embedded\":298,\"./objectid\":300,\"./subdocument\":301}],300:[function(e,t,n){var r=e(\"../drivers\").ObjectId;t.exports=r},{\"../drivers\":259}],301:[function(e,t,n){function r(e,t){this.$isSingleNested=!0,o.call(this,e,t)}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document\"),a=e(\"../promise_provider\");t.exports=r,r.prototype=Object.create(o.prototype),r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.$isValid=function(e){return this.$parent?this.$parent.$isValid([this.$basePath,e].join(\".\")):void 0},r.prototype.markModified=function(e){o.prototype.markModified.call(this,e),this.$parent&&this.$parent.markModified([this.$basePath,e].join(\".\"))},r.prototype.$markValid=function(e){this.$parent&&this.$parent.$markValid([this.$basePath,e].join(\".\"))},r.prototype.invalidate=function(e,t,n){if(this.$parent)this.$parent.invalidate([this.$basePath,e].join(\".\"),t,n);else if(\"cast\"===t.kind||\"CastError\"===t.name)throw t},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.$parent;if(!e)return this;for(;e.$parent;)e=e.$parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.remove=function(e){this.$parent.set(this.$basePath,null),i(this),e&&e(null)}},{\"../document\":253,\"../promise_provider\":275}],302:[function(e,t,n){(function(t){function r(e){var t;return!~v.indexOf(e.toLowerCase())&&(t=m.filter(function(t){return e.match(t[0])}),t[0])?e.replace(t[0][0],t[0][1]):e}function i(e,t){var n,r,i,o,a,s=t&&t.retainKeyOrder,c=t&&t.minimize,u={};if(s)for(o in e)i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);else for(r=Object.keys(e),a=r.length;a--;)o=r[a],i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);return c?n&&u:u}function o(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(g(e[r],t));return n}function a(e,t,n,r,i,o){this.path=e,this.match=n,this.select=t,this.options=r,this.model=i,\"object\"==typeof o&&(this.populate=o),this._docs={}}var s,c,u,p=e(\"./types/objectid\"),l=e(\"regexp-clone\"),f=e(\"sliced\"),d=e(\"mpath\"),h=e(\"ms\");n.toCollectionName=function(e,t){return t=t||{},\"system.profile\"===e?e:\"system.indexes\"===e?e:t.pluralization===!1?e:r(e.toLowerCase())},n.pluralization=[[/(m)an$/gi,\"$1en\"],[/(pe)rson$/gi,\"$1ople\"],[/(child)$/gi,\"$1ren\"],[/^(ox)$/gi,\"$1en\"],[/(ax|test)is$/gi,\"$1es\"],[/(octop|vir)us$/gi,\"$1i\"],[/(alias|status)$/gi,\"$1es\"],[/(bu)s$/gi,\"$1ses\"],[/(buffal|tomat|potat)o$/gi,\"$1oes\"],[/([ti])um$/gi,\"$1a\"],[/sis$/gi,\"ses\"],[/(?:([^f])fe|([lr])f)$/gi,\"$1$2ves\"],[/(hive)$/gi,\"$1s\"],[/([^aeiouy]|qu)y$/gi,\"$1ies\"],[/(x|ch|ss|sh)$/gi,\"$1es\"],[/(matr|vert|ind)ix|ex$/gi,\"$1ices\"],[/([m|l])ouse$/gi,\"$1ice\"],[/(kn|w|l)ife$/gi,\"$1ives\"],[/(quiz)$/gi,\"$1zes\"],[/s$/gi,\"s\"],[/([^a-z])$/,\"$1\"],[/$/gi,\"s\"]];var m=n.pluralization;n.uncountables=[\"advice\",\"energy\",\"excretion\",\"digestion\",\"cooperation\",\"health\",\"justice\",\"labour\",\"machinery\",\"equipment\",\"information\",\"pollution\",\"sewage\",\"paper\",\"money\",\"species\",\"series\",\"rain\",\"rice\",\"fish\",\"sheep\",\"moose\",\"deer\",\"news\",\"expertise\",\"status\",\"media\"];var v=n.uncountables;n.deepEqual=function w(e,r){if(e===r)return!0;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof p&&r instanceof p)return e.toString()===r.toString();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.ignoreCase===r.ignoreCase&&e.multiline===r.multiline&&e.global===r.global;if(\"object\"!=typeof e&&\"object\"!=typeof r)return e==r;if(null===e||null===r||void 0===e||void 0===r)return!1;if(e.prototype!==r.prototype)return!1;if(e instanceof Number&&r instanceof Number)return e.valueOf()===r.valueOf();if(t.isBuffer(e))return n.buffer.areEqual(e,r);b(e)&&(e=e.toObject()),b(r)&&(r=r.toObject());try{var i,o,a=Object.keys(e),s=Object.keys(r)}catch(c){return!1}if(a.length!==s.length)return!1;for(a.sort(),s.sort(),o=a.length-1;o>=0;o--)if(a[o]!==s[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!w(e[i],r[i]))return!1;return!0},n.clone=function(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return o(e,t);if(b(e))return t&&t.json&&\"function\"==typeof e.toJSON?e.toJSON(t):e.toObject(t);if(e.constructor)switch(n.getFunctionName(e.constructor)){case\"Object\":return i(e,t);case\"Date\":return new e.constructor(+e);case\"RegExp\":return l(e)}return e instanceof p?new p(e.id):!e.constructor&&n.isObject(e)?i(e,t):e.valueOf?e.valueOf():void 0};var g=n.clone;n.options=function(e,t){var n,r=Object.keys(e),i=r.length;for(t=t||{};i--;)n=r[i],n in t||(t[n]=e[n]);return t},n.random=function(){return Math.random().toString().substr(3)},n.merge=function _(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])&&_(e[r],t[r])};var y=Object.prototype.toString;n.toObject=function k(e){var t;if(n.isNullOrUndefined(e))return e;if(e instanceof u)return e.toObject();if(Array.isArray(e)){t=[];for(var r=0,i=e.length;i>r;++r)t.push(k(e[r]));return t}if(e.constructor&&\"Object\"===n.getFunctionName(e.constructor)||!e.constructor&&n.isObject(e)){t={};for(var o in e)t[o]=k(e[o]);return t}return e},n.isObject=function(e){return t.isBuffer(e)?!0:\"[object Object]\"===y.call(e)},n.args=f,n.tick=function(e){return\"function\"==typeof e?function(){try{e.apply(this,arguments)}catch(t){process.nextTick(function(){throw t})}}:void 0},n.isMongooseObject=function(t){return u||(u=e(\"./document\")),c||(c=e(\"./types\").Array),s||(s=e(\"./types\").Buffer),t instanceof u||t&&t.isMongooseArray||t&&t.isMongooseBuffer};var b=n.isMongooseObject;n.expires=function(e){if(e&&\"Object\"===e.constructor.name&&\"expires\"in e){var t;t=\"string\"!=typeof e.expires?e.expires:Math.round(h(e.expires)/1e3),e.expireAfterSeconds=t,delete e.expires}},a.prototype.constructor=Object,n.PopulateOptions=a,n.populate=function(e,t,r,i,o,s){if(1===arguments.length){if(e instanceof a)return[e];if(Array.isArray(e))return e.map(function(e){return n.populate(e)[0]});n.isObject(e)&&(i=e.match,o=e.options,t=e.select,r=e.model,s=e.populate,e=e.path)}else\"string\"!=typeof r&&\"function\"!=typeof r&&(o=i,i=r,r=void 0);if(\"string\"!=typeof e)throw new TypeError(\"utils.populate: invalid path. Expected string. Got typeof `\"+typeof e+\"`\");\"object\"==typeof s&&(s=n.populate(s));var c=[],u=e.split(\" \");o=n.clone(o,{retainKeyOrder:!0});for(var p=0;p<u.length;++p)c.push(new a(u[p],t,i,o,r,s));return c},n.getValue=function(e,t,n){return d.get(e,t,\"_doc\",n)},n.setValue=function(e,t,n,r){d.set(e,t,n,\"_doc\",r)},n.object={},n.object.vals=function(e){for(var t=Object.keys(e),n=t.length,r=[];n--;)r.push(e[t[n]]);return r},n.object.shallowCopy=n.options;var x=Object.prototype.hasOwnProperty;n.object.hasOwnProperty=function(e,t){return x.call(e,t)},n.isNullOrUndefined=function(e){return null===e||void 0===e},n.array={},n.array.flatten=function j(e,t,n){return n||(n=[]),e.forEach(function(e){Array.isArray(e)?j(e,t,n):t&&!t(e)||n.push(e)}),n},n.array.unique=function(e){for(var t={},n={},r=[],i=e.length,o=0;i>o;++o)if(\"number\"==typeof e[o]||\"string\"==typeof e[o]){if(t[e[o]])continue;r.push(e[o]),t[e[o]]=!0}else if(e[o]instanceof p){if(n[e[o].toString()])continue;r.push(e[o]),n[e[o].toString()]=!0}else r.push(e[o]);return r},n.buffer={},n.buffer.areEqual=function(e,n){if(!t.isBuffer(e))return!1;if(!t.isBuffer(n))return!1;if(e.length!==n.length)return!1;for(var r=0,i=e.length;i>r;++r)if(e[r]!==n[r])return!1;return!0},n.getFunctionName=function(e){return e.name?e.name:(e.toString().trim().match(/^function\\s*([^\\s(]+)/)||[])[1]},n.decorate=function(e,t){for(var n in t)e[n]=t[n]},n.mergeClone=function(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)if(r=i[o],\"undefined\"==typeof e[r])e[r]=n.clone(t[r],{retainKeyOrder:1});else if(n.isObject(t[r])){var a=t[r];b(t[r])&&!t[r].isMongooseBuffer&&(a=a.toObject({virtuals:!1})),n.mergeClone(e[r],a)}else e[r]=n.clone(t[r],{retainKeyOrder:1})},n.each=function(e,t){for(var n=0;n<e.length;++n)t(e[n])}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./document\":253,\"./types\":299,\"./types/objectid\":300,mpath:305,ms:355,\"regexp-clone\":392,sliced:431}],303:[function(e,t,n){function r(e,t){this.path=t,this.getters=[],this.setters=[],this.options=e||{}}r.prototype.get=function(e){return this.getters.push(e),this},r.prototype.set=function(e){return this.setters.push(e),this},r.prototype.applyGetters=function(e,t){for(var n=e,r=this.getters.length-1;r>=0;r--)n=this.getters[r].call(t,n,this);return n},r.prototype.applySetters=function(e,t){for(var n=e,r=this.setters.length-1;r>=0;r--)n=this.setters[r].call(t,n,this);return n},t.exports=r},{}],304:[function(e,t,n){t.exports={_args:[[\"mongoose\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"mongoose@*\",_id:\"mongoose@4.4.12\",_inCache:!0,_installable:!0,_location:\"/mongoose\",_nodeVersion:\"5.4.1\",_npmOperationalInternal:{host:\"packages-12-west.internal.npmjs.com\",tmp:\"tmp/mongoose-4.4.12.tgz_1460141300884_0.6968548044096678\"},_npmUser:{email:\"val@karpov.io\",name:\"vkarpov15\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"mongoose\",raw:\"mongoose\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\",_shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",_shrinkwrap:null,_spec:\"mongoose\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"guillermo@learnboost.com\",name:\"Guillermo Rauch\"},browser:\"lib/browser.js\",browserDependencies:{browserify:\"4.1.10\",chai:\"3.5.0\",karma:\"0.12.16\",\"karma-chai\":\"0.1.0\",\"karma-chrome-launcher\":\"0.1.4\",\"karma-mocha\":\"0.1.4\",\"karma-sauce-launcher\":\"0.2.8\"},bugs:{email:\"mongoose-orm@googlegroups.com\",url:\"https://github.com/Automattic/mongoose/issues/new\"},dependencies:{async:\"1.5.2\",bson:\"~0.4.21\",\"hooks-fixed\":\"1.1.0\",kareem:\"1.0.1\",mongodb:\"2.1.16\",mpath:\"0.2.1\",mpromise:\"0.5.5\",mquery:\"1.10.0\",ms:\"0.7.1\",muri:\"1.1.0\",\"regexp-clone\":\"0.0.1\",sliced:\"1.0.1\"},description:\"Mongoose MongoDB ODM\",devDependencies:{acquit:\"0.4.1\",\"acquit-ignore\":\"0.0.3\",benchmark:\"2.0.0\",bluebird:\"3.1.4\",co:\"4.6.0\",dox:\"0.3.1\",eslint:\"2.4.0\",\"highlight.js\":\"7.0.1\",istanbul:\"0.4.2\",jade:\"0.26.3\",lodash:\"4.6.1\",markdown:\"0.3.1\",marked:\"0.3.5\",mocha:\"2.3.4\",\"node-static\":\"0.7.7\",\"power-assert\":\"1.2.0\",q:\"1.4.1\",tbd:\"0.6.4\",\"uglify-js\":\"2.6.1\",underscore:\"1.8.3\"},directories:{lib:\"./lib/mongoose\"},dist:{shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",tarball:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\"},engines:{node:\">=0.6.19\"},gitHead:\"239006ca12982d62369b8716e3fde917084d69ce\",homepage:\"http://mongoosejs.com\",keywords:[\"data\",\"database\",\"datastore\",\"db\",\"document\",\"model\",\"mongodb\",\"nosql\",\"odm\",\"orm\",\"query\",\"schema\"],license:\"MIT\",main:\"./index.js\",maintainers:[{name:\"rauchg\",email:\"rauchg@gmail.com\"},{name:\"tjholowaychuk\",email:\"tj@vision-media.ca\"},{name:\"aaron\",email:\"aaron.heckmann+github@gmail.com\"},{name:\"vkarpov15\",email:\"val@karpov.io\"},{name:\"defunctzombie\",email:\"shtylman@gmail.com\"}],name:\"mongoose\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/Automattic/mongoose.git\"},scripts:{\"fix-lint\":\"eslint . --fix\",\"install-browser\":\"npm install `node format_deps.js`\",posttest:\"eslint . --quiet\",test:\"mocha test/*.test.js test/**/*.test.js\",\"test-cov\":\"istanbul cover --report text --report html _mocha test/*.test.js\"},version:\"4.4.12\"}},{}],305:[function(e,t,n){t.exports=n=e(\"./lib\")},{\"./lib\":306}],306:[function(e,t,n){function r(e){return e}n.get=function(e,t,i,o){var a;\"function\"==typeof i&&(i.length<2?(o=i,i=void 0):(a=i,i=void 0)),o||(o=r);var s=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(s))throw new TypeError(\"Invalid `path`. Must be either string or array\");for(var c,u=t,p=0;p<s.length;++p){if(c=s[p],Array.isArray(u)&&!/^\\d+$/.test(c)){var l=s.slice(p);return u.map(function(e){return e?n.get(l,e,i||a,o):o(void 0)})}if(u=a?a(u,c):i&&u[i]?u[i][c]:u[c],!u)return o(u)}return o(u)},n.set=function(e,t,i,o,a,s){var c;\"function\"==typeof o&&(o.length<2?(a=o,o=void 0):(c=o,o=void 0)),a||(a=r);var u=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(u))throw new TypeError(\"Invalid `path`. Must be either string or array\");if(null!=i){for(var p,l=s||/\\$/.test(e),f=i,d=0,h=u.length-1;h>d;++d)if(p=u[d],\"$\"!=p){if(Array.isArray(f)&&!/^\\d+$/.test(p)){var m=u.slice(d);if(!l&&Array.isArray(t))for(var v=0;v<f.length&&v<t.length;++v)n.set(m,t[v],f[v],o||c,a,l);else for(var v=0;v<f.length;++v)n.set(m,t,f[v],o||c,a,l);return}if(f=c?c(f,p):o&&f[o]?f[o][p]:f[p],!f)return}else if(d==h-1)break;if(p=u[h],o&&f[o]&&(f=f[o]),Array.isArray(f)&&!/^\\d+$/.test(p))if(!l&&Array.isArray(t))for(var g,v=0;v<f.length&&v<t.length;++v)g=f[v],g&&(c?c(g,p,a(t[v])):(g[o]&&(g=g[o]),g[p]=a(t[v])));else for(var v=0;v<f.length;++v)g=f[v],g&&(c?c(g,p,a(t)):(g[o]&&(g=g[o]),g[p]=a(t)));else c?c(f,p,a(t)):f[p]=a(t)}}},{}],307:[function(e,t,n){\"use strict\";function r(e,t,n){return Array.prototype.slice.call(e,t,n)}function i(e,t){var n=r(t);return n.unshift(e),n}function o(e){this.emitter=new c,this.emitted={},this.ended=!1,\"function\"==typeof e&&(this.ended=!0,this.onResolve(e))}function a(e,t){function n(){var n=e.emitter.domain;n&&n!==process.domain&&n.enter();try{var i=t.apply(void 0,r.args)}catch(o){return void e.reject(o)}s(e,i)}function r(){r.args=arguments,process.nextTick(n)}return r}function s(e,t){function n(){l++||s.apply(void 0,i(e,arguments))}function o(t){l++||e.reject(t)}if(e===t)return void e.reject(new TypeError(\"promise and x are the same\"));var a=r(arguments,1),c=typeof t;if(\"undefined\"==c||null==t||\"object\"!=c&&\"function\"!=c)return void e.fulfill.apply(e,a);try{var u=t.then}catch(p){return void e.reject(p)}if(\"function\"!=typeof u)return void e.fulfill.apply(e,a);var l=0;try{var f=u.call(t,n,o);return f}catch(p){if(l++)return;e.reject(p)}}var c=(e(\"util\"),e(\"events\").EventEmitter);t.exports=o,o.SUCCESS=\"fulfill\",o.FAILURE=\"reject\",o.prototype.on=function(e,t){return this.emitted[e]?t.apply(void 0,this.emitted[e]):this.emitter.on(e,t),this},o.prototype.safeEmit=function(e){if(e==o.SUCCESS||e==o.FAILURE){if(this.emitted[o.SUCCESS]||this.emitted[o.FAILURE])return this;this.emitted[e]=r(arguments,1)}return this.emitter.emit.apply(this.emitter,arguments),this},o.prototype.hasRejectListeners=function(){return c.listenerCount(this.emitter,o.FAILURE)>0},o.prototype.fulfill=function(){return this.safeEmit.apply(this,i(o.SUCCESS,arguments))},o.prototype.reject=function(e){if(this.ended&&!this.hasRejectListeners())throw e;return this.safeEmit(o.FAILURE,e)},o.prototype.resolve=function(e,t){return e?this.reject(e):this.fulfill(t)},o.prototype.onFulfill=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.SUCCESS,e)},o.prototype.onReject=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,e)},o.prototype.onResolve=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,function(t){e.call(this,t)}),this.on(o.SUCCESS,function(){e.apply(this,i(null,arguments))}),this},o.prototype.then=function(e,t){var n=new o;return\"function\"==typeof e?this.onFulfill(a(n,e)):this.onFulfill(n.fulfill.bind(n)),\"function\"==typeof t?this.onReject(a(n,t)):this.onReject(n.reject.bind(n)),n},o.prototype.end=o.prototype[\"catch\"]=function(e){return e||this.hasRejectListeners()||(e=function(e){throw e}),this.onReject(e),this.ended=!0,this},o.trace=function(e,t){e.then(function(){console.log(\"%s fulfill %j\",t,r(arguments))},function(){console.log(\"%s reject %j\",t,r(arguments))})},o.prototype.chain=function(e){var t=this;return t.onFulfill(e.fulfill.bind(e)),t.onReject(e.reject.bind(e)),e},o.prototype.all=function(e){var t=new o;return this.then(e).then(function(e){var n,r=0,i=[];return e.length||t.resolve(),e.forEach(function(e,o){n||(r++,e.then(function(e){n||(i[o]=e,--r,0==r&&t.fulfill(i))},function(e){n||(n=e,t.reject(e))}))}),t},t.reject.bind(t)),t},o.hook=function(e){var t=new o,n=new o,r=function(){return--i,0==i&&n.fulfill(),n},i=1,a=t;return e.forEach(function(e){a=a.then(function(){var t=new o;return i++,e(t.resolve.bind(t),r),t})}),a=a.then(r),t.resolve(),a},o.fulfilled=function(){var e=new o;return e.fulfill.apply(e,arguments),e},o.rejected=function(e){return(new o).reject(e)},o.deferred=function(){var e=new o;return{promise:e,reject:e.reject.bind(e),resolve:e.fulfill.bind(e),callback:e.resolve.bind(e)}}},{\nevents:void 0,util:void 0}],308:[function(e,t,n){\"use strict\";function r(){}function i(e){return function(){throw new Error(\"collection.\"+e+\" not implemented\")}}for(var o=[\"find\",\"findOne\",\"update\",\"remove\",\"count\",\"distinct\",\"findAndModify\",\"aggregate\",\"findStream\"],a=0,s=o.length;s>a;++a){var c=o[a];r.prototype[c]=i(c)}t.exports=n=r,r.methods=o},{}],309:[function(e,t,n){\"use strict\";var r=e(\"../env\");if(\"unknown\"==r.type)throw new Error(\"Unknown environment\");t.exports=e(r.isNode?\"./node\":r.isMongo?\"./collection\":\"./collection\")},{\"../env\":311,\"./collection\":308,\"./node\":310}],310:[function(e,t,n){\"use strict\";function r(e){this.collection=e,this.collectionName=e.collectionName}var i=e(\"./collection\"),o=e(\"../utils\");o.inherits(r,i),r.prototype.find=function(e,t,n){this.collection.find(e,t,function(e,t){return e?n(e):void t.toArray(n)})},r.prototype.findOne=function(e,t,n){this.collection.findOne(e,t,n)},r.prototype.count=function(e,t,n){this.collection.count(e,t,n)},r.prototype.distinct=function(e,t,n,r){this.collection.distinct(e,t,n,r)},r.prototype.update=function(e,t,n,r){this.collection.update(e,t,n,r)},r.prototype.remove=function(e,t,n){this.collection.remove(e,t,n)},r.prototype.findAndModify=function(e,t,n,r){var i=Array.isArray(n.sort)?n.sort:[];this.collection.findAndModify(e,i,t,n,r)},r.prototype.findStream=function(e,t,n){return this.collection.find(e,t).stream(n)},r.prototype.findCursor=function(e,t){return this.collection.find(e,t)},t.exports=n=r},{\"../utils\":314,\"./collection\":308}],311:[function(e,t,n){(function(e,r){\"use strict\";n.isNode=\"undefined\"!=typeof process&&\"object\"==typeof t&&\"object\"==typeof e&&\"function\"==typeof r&&process.argv,n.isMongo=!n.isNode&&\"function\"==typeof printjson&&\"function\"==typeof ObjectId&&\"function\"==typeof rs&&\"function\"==typeof sh,n.isBrowser=!n.isNode&&!n.isMongo&&\"undefined\"!=typeof window,n.type=n.isNode?\"node\":n.isMongo?\"mongo\":n.isBrowser?\"browser\":\"unknown\"}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"buffer\").Buffer)},{buffer:void 0}],312:[function(e,t,n){\"use strict\";function r(e,t){if(!(this instanceof r))return new r(e,t);var n=this.constructor.prototype;this.op=n.op||void 0,this.options={},this.setOptions(n.options),this._conditions=n._conditions?u.clone(n._conditions):{},this._fields=n._fields?u.clone(n._fields):void 0,this._update=n._update?u.clone(n._update):void 0,this._path=n._path||void 0,this._distinct=n._distinct||void 0,this._collection=n._collection||void 0,this._traceFunction=n._traceFunction||void 0,t&&this.setOptions(t),e&&(e.find&&e.remove&&e.update?this.collection(e):this.find(e))}function i(e,t,n){if(Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");if(n&&n.$meta){var r=e.sort||(e.sort={});return void(r[t]={$meta:n.$meta})}var i=String(n||1).toLowerCase();if(!/^(?:ascending|asc|descending|desc|1|-1)$/.test(i))throw u.isArray(n)&&(n=\"[\"+n+\"]\"),new TypeError(\"Invalid sort value: {\"+t+\": \"+n+\" }\");var r=e.sort||(e.sort={}),o=n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");r[t]=parseInt(o,10)}function o(e,t,n){if(e.sort=e.sort||[],!Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");e.sort.push([t,n])}var a=e(\"sliced\"),s=e(\"assert\"),c=e(\"util\"),u=e(\"./utils\"),p=e(\"debug\")(\"mquery\"),l=\"$geoWithin\";Object.defineProperty(r,\"use$geoWithin\",{get:function(){return\"$geoWithin\"==l},set:function(e){l=!0===e?\"$geoWithin\":\"$within\"}}),r.prototype.toConstructor=function(){function e(t,n){return this instanceof e?void r.call(this,t,n):new e(t,n)}u.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=u.clone(this._conditions),t._fields=u.clone(this._fields),t._update=u.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t._traceFunction=this._traceFunction,e},r.prototype.setOptions=function(e){if(!e||!u.isObject(e))return this;for(var t,n=u.keys(e),r=0;r<n.length;++r)if(t=n[r],\"function\"==typeof this[t]){var i=u.isArray(e[t])?e[t]:[e[t]];this[t].apply(this,i)}else this.options[t]=e[t];return this},r.prototype.collection=function(e){return this._collection=new r.Collection(e),this},r.prototype.$where=function(e){return this._conditions.$where=e,this},r.prototype.where=function(){if(!arguments.length)return this;this.op||(this.op=\"find\");var e=typeof arguments[0];if(\"string\"==e)return this._path=arguments[0],2===arguments.length&&(this._conditions[this._path]=arguments[1]),this;if(\"object\"==e&&!Array.isArray(arguments[0]))return this.merge(arguments[0]);throw new TypeError(\"path must be a string or object\")},r.prototype.equals=function(e){this._ensurePath(\"equals\");var t=this._path;return this._conditions[t]=e,this},r.prototype.eq=function(e){this._ensurePath(\"eq\");var t=this._path;return this._conditions[t]=e,this},r.prototype.or=function f(e){var f=this._conditions.$or||(this._conditions.$or=[]);return u.isArray(e)||(e=[e]),f.push.apply(f,e),this},r.prototype.nor=function d(e){var d=this._conditions.$nor||(this._conditions.$nor=[]);return u.isArray(e)||(e=[e]),d.push.apply(d,e),this},r.prototype.and=function h(e){var h=this._conditions.$and||(this._conditions.$and=[]);return Array.isArray(e)||(e=[e]),h.push.apply(h,e),this},\"gt gte lt lte ne in nin all regex size maxDistance\".split(\" \").forEach(function(e){r.prototype[e]=function(){var t,n;1===arguments.length?(this._ensurePath(e),n=arguments[0],t=this._path):(n=arguments[1],t=arguments[0]);var r=this._conditions[t]||(this._conditions[t]={});return r[\"$\"+e]=n,this}}),r.prototype.mod=function(){var e,t;1===arguments.length?(this._ensurePath(\"mod\"),e=arguments[0],t=this._path):2!==arguments.length||u.isArray(arguments[1])?3===arguments.length?(e=a(arguments,1),t=arguments[0]):(e=arguments[1],t=arguments[0]):(this._ensurePath(\"mod\"),e=a(arguments),t=this._path);var n=this._conditions[t]||(this._conditions[t]={});return n.$mod=e,this},r.prototype.exists=function(){var e,t;0===arguments.length?(this._ensurePath(\"exists\"),e=this._path,t=!0):1===arguments.length?\"boolean\"==typeof arguments[0]?(this._ensurePath(\"exists\"),e=this._path,t=arguments[0]):(e=arguments[0],t=!0):2===arguments.length&&(e=arguments[0],t=arguments[1]);var n=this._conditions[e]||(this._conditions[e]={});return n.$exists=t,this},r.prototype.elemMatch=function(){if(null==arguments[0])throw new TypeError(\"Invalid argument\");var e,t,n;if(\"function\"==typeof arguments[0])this._ensurePath(\"elemMatch\"),t=this._path,e=arguments[0];else if(u.isObject(arguments[0]))this._ensurePath(\"elemMatch\"),t=this._path,n=arguments[0];else if(\"function\"==typeof arguments[1])t=arguments[0],e=arguments[1];else{if(!arguments[1]||!u.isObject(arguments[1]))throw new TypeError(\"Invalid argument\");t=arguments[0],n=arguments[1]}e&&(n=new r,e(n),n=n._conditions);var i=this._conditions[t]||(this._conditions[t]={});return i.$elemMatch=n,this},r.prototype.within=function(){if(this._ensurePath(\"within\"),this._geoComparison=l,0===arguments.length)return this;if(2===arguments.length)return this.box.apply(this,arguments);if(2<arguments.length)return this.polygon.apply(this,arguments);var e=arguments[0];if(!e)throw new TypeError(\"Invalid argument\");if(e.center)return this.circle(e);if(e.box)return this.box.apply(this,e.box);if(e.polygon)return this.polygon.apply(this,e.polygon);if(e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.box=function(){var e,t;if(3===arguments.length)e=arguments[0],t=[arguments[1],arguments[2]];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");this._ensurePath(\"box\"),e=this._path,t=[arguments[0],arguments[1]]}var n=this._conditions[e]||(this._conditions[e]={});return n[this._geoComparison||l]={$box:t},this},r.prototype.polygon=function(){var e,t;\"string\"==typeof arguments[0]?(t=arguments[0],e=a(arguments,1)):(this._ensurePath(\"polygon\"),t=this._path,e=a(arguments));var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison||l]={$polygon:e},this},r.prototype.circle=function(){var e,t;if(1===arguments.length)this._ensurePath(\"circle\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!(\"radius\"in t&&t.center))throw new Error(\"center and radius are required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$centerSphere\":\"$center\",i=this._geoComparison||l;return n[i]={},n[i][r]=[t.center,t.radius],\"unique\"in t&&(n[i].$uniqueDocs=!!t.unique),this},r.prototype.near=function(){var e,t;if(this._geoComparison=\"$near\",0===arguments.length)return this;if(1===arguments.length)this._ensurePath(\"near\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!t.center)throw new Error(\"center is required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$nearSphere\":\"$near\";if(Array.isArray(t.center)){n[r]=t.center;var i=\"maxDistance\"in t?t.maxDistance:null;null!=i&&(n.$maxDistance=i)}else{if(\"Point\"!=t.center.type||!Array.isArray(t.center.coordinates))throw new Error(c.format(\"Invalid GeoJSON specified for %s\",r));n[r]={$geometry:t.center},\"maxDistance\"in t&&(n[r].$maxDistance=t.maxDistance)}return this},r.prototype.intersects=function(){if(this._ensurePath(\"intersects\"),this._geoComparison=\"$geoIntersects\",0===arguments.length)return this;var e=arguments[0];if(null!=e&&e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.geometry=function(){if(\"$within\"!=this._geoComparison&&\"$geoWithin\"!=this._geoComparison&&\"$near\"!=this._geoComparison&&\"$geoIntersects\"!=this._geoComparison)throw new Error(\"geometry() must come after `within()`, `intersects()`, or `near()\");var e,t;if(1!==arguments.length)throw new TypeError(\"Invalid argument\");if(this._ensurePath(\"geometry\"),t=this._path,e=arguments[0],!e.type||!Array.isArray(e.coordinates))throw new TypeError(\"Invalid argument\");var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison]={$geometry:e},this},r.prototype.select=function(){var e=arguments[0];if(!e)return this;if(1!==arguments.length)throw new Error(\"Invalid select: select only takes 1 argument\");this._validate(\"select\");var t=this._fields||(this._fields={}),n=typeof e;if((\"string\"==n||u.isArgumentsObject(e))&&\"number\"==typeof e.length){\"string\"==n&&(e=e.split(/\\s+/));for(var r=0,i=e.length;i>r;++r){var o=e[r];if(o){var a=\"-\"==o[0]?0:1;0===a&&(o=o.substring(1)),t[o]=a}}return this}if(u.isObject(e)&&!Array.isArray(e)){for(var s=u.keys(e),r=0;r<s.length;++r)t[s[r]]=e[s[r]];return this}throw new TypeError(\"Invalid select() argument. Must be string or object.\")},r.prototype.slice=function(){if(0===arguments.length)return this;this._validate(\"slice\");var e,t;if(1===arguments.length){var n=arguments[0];if(\"object\"==typeof n&&!Array.isArray(n)){for(var r=Object.keys(n),i=r.length,o=0;i>o;++o)this.slice(r[o],n[r[o]]);return this}this._ensurePath(\"slice\"),e=this._path,t=arguments[0]}else 2===arguments.length?\"number\"==typeof arguments[0]?(this._ensurePath(\"slice\"),e=this._path,t=a(arguments)):(e=arguments[0],t=arguments[1]):3===arguments.length&&(e=arguments[0],t=a(arguments,1));var s=this._fields||(this._fields={});return s[e]={$slice:t},this},r.prototype.sort=function(e){if(!e)return this;var t;this._validate(\"sort\");var n=typeof e;if(Array.isArray(e)){t=e.length;for(var r=0;r<e.length;++r)o(this.options,e[r][0],e[r][1]);return this}if(1===arguments.length&&\"string\"==n){e=e.split(/\\s+/),t=e.length;for(var r=0;t>r;++r){var a=e[r];if(a){var s=\"-\"==a[0]?-1:1;-1===s&&(a=a.substring(1)),i(this.options,a,s)}}return this}if(u.isObject(e)){for(var c=u.keys(e),r=0;r<c.length;++r){var a=c[r];i(this.options,a,e[a])}return this}throw new TypeError(\"Invalid sort() argument. Must be a string, object, or array.\")},[\"limit\",\"skip\",\"maxScan\",\"batchSize\",\"comment\"].forEach(function(e){r.prototype[e]=function(t){return this._validate(e),this.options[e]=t,this}}),r.prototype.maxTime=function(e){return this._validate(\"maxTime\"),this.options.maxTimeMS=e,this},r.prototype.snapshot=function(){return this._validate(\"snapshot\"),this.options.snapshot=arguments.length?!!arguments[0]:!0,this},r.prototype.hint=function(){if(0===arguments.length)return this;this._validate(\"hint\");var e=arguments[0];if(u.isObject(e)){var t=this.options.hint||(this.options.hint={});for(var n in e)t[n]=e[n];return this}throw new TypeError(\"Invalid hint. \"+e)},r.prototype.slaveOk=function(e){return this.options.slaveOk=arguments.length?!!e:!0,this},r.prototype.read=function(e){return arguments.length>1&&!r.prototype.read.deprecationWarningIssued&&(console.error(\"Deprecation warning: 'tags' argument is not supported anymore in Query.read() method. Please use mongodb.ReadPreference object instead.\"),r.prototype.read.deprecationWarningIssued=!0),this.options.readPreference=u.readPref(e),this},r.prototype.tailable=function(){return this._validate(\"tailable\"),this.options.tailable=arguments.length?!!arguments[0]:!0,this},r.prototype.merge=function(e){if(!e)return this;if(!r.canMerge(e))throw new TypeError(\"Invalid argument. Expected instanceof mquery or plain object\");return e instanceof r?(e._conditions&&u.merge(this._conditions,e._conditions),e._fields&&(this._fields||(this._fields={}),u.merge(this._fields,e._fields)),e.options&&(this.options||(this.options={}),u.merge(this.options,e.options)),e._update&&(this._update||(this._update={}),u.mergeClone(this._update,e._update)),e._distinct&&(this._distinct=e._distinct),this):(u.merge(this._conditions,e),this)},r.prototype.find=function(e,t){if(this.op=\"find\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"find\",this._collection.collectionName,n,i),t=this._wrapCallback(\"find\",t,{conditions:n,options:i}),this._collection.find(n,i,u.tick(t)),this},r.prototype.cursor=function(e){if(this.op){if(\"find\"!==this.op)throw new TypeError(\".cursor only support .find method\")}else this.find(e);var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"findCursor\",this._collection.collectionName,t,n),this._collection.findCursor(t,n)},r.prototype.findOne=function(e,t){if(this.op=\"findOne\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"findOne\",this._collection.collectionName,n,i),t=this._wrapCallback(\"findOne\",t,{conditions:n,options:i}),this._collection.findOne(n,i,u.tick(t)),this},r.prototype.count=function(e,t){if(this.op=\"count\",this._validate(),\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return p(\"count\",this._collection.collectionName,n,i),t=this._wrapCallback(\"count\",t,{conditions:n,options:i}),this._collection.count(n,i,u.tick(t)),this},r.prototype.distinct=function(e,t,n){if(this.op=\"distinct\",this._validate(),!n){switch(typeof t){case\"function\":n=t,\"string\"==typeof e&&(t=e,e=void 0);break;case\"undefined\":case\"string\":break;default:throw new TypeError(\"Invalid `field` argument. Must be string or function\")}switch(typeof e){case\"function\":n=e,e=t=void 0;break;case\"string\":t=e,e=void 0}}if(\"string\"==typeof t&&(this._distinct=t),r.canMerge(e)&&this.merge(e),!n)return this;if(!this._distinct)throw new Error(\"No value for `distinct` has been declared\");var i=this._conditions,o=this._optionsForExec();return p(\"distinct\",this._collection.collectionName,i,o),n=this._wrapCallback(\"distinct\",n,{conditions:i,options:o}),this._collection.distinct(this._distinct,i,o,u.tick(n)),this},r.prototype.update=function(e,t,n,i){this.op=\"update\";var o;switch(arguments.length){case 3:\"function\"==typeof n&&(i=n,n=void 0);break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0);break;case 1:switch(typeof e){case\"function\":i=e,e=n=t=void 0;break;case\"boolean\":o=e,e=void 0;break;default:t=e,e=n=void 0}}if(r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),u.isObject(n)&&this.setOptions(n),!o&&!i)return this;if(!this._update||!this.options.overwrite&&0===u.keys(this._update).length)return i&&u.soon(i.bind(null,null,0)),this;n=this._optionsForExec(),i||(n.safe=!1);var e=this._conditions;return t=this._updateForExec(),p(\"update\",this._collection.collectionName,e,t,n),i=this._wrapCallback(\"update\",i,{conditions:e,doc:t,options:n}),this._collection.update(e,t,n,u.tick(i)),this},r.prototype.remove=function(e,t){this.op=\"remove\";var n;if(\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)?this.merge(e):!0===e&&(n=e,e=void 0),!n&&!t)return this;var i=this._optionsForExec();t||(i.safe=!1);var o=this._conditions;return p(\"remove\",this._collection.collectionName,o,i),t=this._wrapCallback(\"remove\",t,{conditions:o,options:i}),this._collection.remove(o,i,u.tick(t)),this},r.prototype.findOneAndUpdate=function(e,t,n,i){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(i=n,n={});break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(i=e,e=n=t=void 0):(t=e,e=n=void 0)}return r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),i?this._findAndModify(\"update\",i):this},r.prototype.findOneAndRemove=function(e,t,n){return this.op=\"findOneAndRemove\",this._validate(),\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0),r.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?this._findAndModify(\"remove\",n):this},r.prototype._findAndModify=function(e,t){s.equal(\"function\",typeof t);var n,r,i=this._optionsForExec();if(\"remove\"==e)i.remove=!0;else if(\"new\"in i||(i[\"new\"]=!0),\"upsert\"in i||(i.upsert=!1),r=this._updateForExec(),!r){if(!i.upsert)return this.findOne(t);r={$set:{}}}var n=this._fieldsForExec();n&&(i.fields=n);var o=this._conditions;return p(\"findAndModify\",this._collection.collectionName,o,r,i),t=this._wrapCallback(\"findAndModify\",t,{conditions:o,doc:r,options:i}),this._collection.findAndModify(o,r,i,u.tick(t)),this},r.prototype._wrapCallback=function(e,t,n){var i=this._traceFunction||r.traceFunction;if(i){n.collectionName=this._collection.collectionName;var o=i&&i.call(null,e,n,this),a=(new Date).getTime();return function(e,n){if(o){var r=(new Date).getTime()-a;o.call(null,e,n,r)}t&&t.apply(null,arguments)}}return t},r.prototype.setTraceFunction=function(e){return this._traceFunction=e,this},r.prototype.exec=function(e,t){switch(typeof e){case\"function\":t=e,e=null;break;case\"string\":this.op=e}s.ok(this.op,\"Missing query type: (find, update, etc)\"),\"update\"!=this.op&&\"remove\"!=this.op||t||(t=!0);var n=this;return\"function\"!=typeof t?new r.Promise(function(e,t){n[n.op](function(r,i){r?t(r):e(i),n=e=t=null})}):void this[this.op](t)},r.prototype.thunk=function(){var e=this;return function(t){e.exec(t)}},r.prototype.then=function(e,t){var n=this,i=new r.Promise(function(e,t){n.exec(function(r,i){r?t(r):e(i),n=e=t=null})});return i.then(e,t)},r.prototype.stream=function(e){if(\"find\"!=this.op)throw new Error(\"stream() is only available for find\");var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"stream\",this._collection.collectionName,t,n,e),this._collection.findStream(t,n,e)},r.prototype.selected=function(){return!!(this._fields&&Object.keys(this._fields).length>0)},r.prototype.selectedInclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!1;if(this._fields[n]&&\"object\"==typeof this._fields[n]&&this._fields[n].$meta)return!1}return!0},r.prototype.selectedExclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!0}return!1},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&u.mergeClone(this._update,e._update):u.mergeClone(this._update,e)},r.prototype._optionsForExec=function(){var e=u.clone(this.options,{retainKeyOrder:!0});return e},r.prototype._fieldsForExec=function(){return u.clone(this._fields,{retainKeyOrder:!0})},r.prototype._updateForExec=function(){for(var e=u.clone(this._update,{retainKeyOrder:!0}),t=u.keys(e),n=t.length,r={};n--;){var i=t[n];this.options.overwrite?r[i]=e[i]:\"$\"!==i[0]?(r.$set||(e.$set?r.$set=e.$set:r.$set={}),r.$set[i]=e[i],t.splice(n,1),~t.indexOf(\"$set\")||t.push(\"$set\")):\"$set\"===i?r.$set||(r[i]=e[i]):r[i]=e[i]}return this._compiledUpdate=r,r},r.prototype._ensurePath=function(e){if(!this._path){var t=e+\"() must be used after where() when called with these arguments\";throw new Error(t)}},r.permissions=e(\"./permissions\"),r._isPermitted=function(e,t){var n=r.permissions[t];return n?!0!==n[e]:!0},r.prototype._validate=function(e){var t,n;if(void 0===e){if(n=r.permissions[this.op],\"function\"!=typeof n)return!0;t=n(this)}else r._isPermitted(e,this.op)||(t=e);if(t)throw new Error(t+\" cannot be used with \"+this.op)},r.canMerge=function(e){return e instanceof r||u.isObject(e)},r.setGlobalTraceFunction=function(e){r.traceFunction=e},r.utils=u,r.env=e(\"./env\"),r.Collection=e(\"./collection\"),r.BaseCollection=e(\"./collection/collection\"),r.Promise=e(\"bluebird\"),t.exports=n=r},{\"./collection\":309,\"./collection/collection\":308,\"./env\":311,\"./permissions\":313,\"./utils\":314,assert:void 0,bluebird:318,debug:83,sliced:353,util:void 0}],313:[function(e,t,n){\"use strict\";var r=n;r.distinct=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.distinct);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.distinct.select=r.distinct.slice=r.distinct.sort=r.distinct.limit=r.distinct.skip=r.distinct.batchSize=r.distinct.comment=r.distinct.maxScan=r.distinct.snapshot=r.distinct.hint=r.distinct.tailable=!0,r.findOneAndUpdate=r.findOneAndRemove=function(e){var t,n=Object.keys(r.findOneAndUpdate);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.findOneAndUpdate.limit=r.findOneAndUpdate.skip=r.findOneAndUpdate.batchSize=r.findOneAndUpdate.maxScan=r.findOneAndUpdate.snapshot=r.findOneAndUpdate.hint=r.findOneAndUpdate.tailable=r.findOneAndUpdate.comment=!0,r.count=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.count);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.count.slice=r.count.batchSize=r.count.comment=r.count.maxScan=r.count.snapshot=r.count.tailable=!0},{}],314:[function(e,t,n){(function(t){\"use strict\";function r(e){function t(){}if(arguments.length>1)throw new Error(\"Adding properties is not supported\");return t.prototype=e,new t}var i=e(\"regexp-clone\"),o=n.clone=function u(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return n.cloneArray(e,t);if(e.constructor){if(/ObjectI[dD]$/.test(e.constructor.name))return\"function\"==typeof e.clone?e.clone():new e.constructor(e.id);if(\"ReadPreference\"===e._type&&e.isValid&&e.toObject)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.mode,u(e.tags,t));if(\"Binary\"==e._bsontype&&e.buffer&&e.value)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.value(!0),e.sub_type);if(\"Date\"===e.constructor.name||\"Function\"===e.constructor.name)return new e.constructor(+e);if(\"RegExp\"===e.constructor.name)return i(e);if(\"Buffer\"===e.constructor.name)return n.cloneBuffer(e)}return s(e)?n.cloneObject(e,t):e.valueOf?e.valueOf():void 0};n.cloneObject=function(e,t){var n,r,i,a,s,c=t&&t.retainKeyOrder,u=t&&t.minimize,p={};if(c)for(a in e)i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);else for(r=Object.keys(e),s=r.length;s--;)a=r[s],i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);return u?n&&p:p},n.cloneArray=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(o(e[r],t));return n},n.tick=function(e){return\"function\"==typeof e?function(){var t=arguments;c(function(){e.apply(this,t)})}:void 0},n.merge=function p(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])?p(e[r],t[r]):e[r]=t[r]},n.mergeClone=function l(e,t){for(var r,i=Object.keys(t),a=i.length;a--;)r=i[a],\"undefined\"==typeof e[r]?e[r]=o(t[r],{retainKeyOrder:1}):n.isObject(t[r])?l(e[r],t[r]):e[r]=o(t[r],{retainKeyOrder:1})};n.readPref=function(e){switch(e){case\"p\":e=\"primary\";break;case\"pp\":e=\"primaryPreferred\";break;case\"s\":e=\"secondary\";break;case\"sp\":e=\"secondaryPreferred\";break;case\"n\":e=\"nearest\"}return e};var a=Object.prototype.toString,s=(n.toString=function(e){return a.call(e)},n.isObject=function(e){return\"[object Object]\"==n.toString(e)});n.isArray=function(e){return Array.isArray(e)||\"object\"==typeof e&&\"[object Array]\"==n.toString(e)};n.keys=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.create=\"function\"==typeof Object.create?Object.create:r,n.inherits=function(e,t){e.prototype=n.create(t.prototype),e.prototype.constructor=e};var c=n.soon=\"function\"==typeof setImmediate?setImmediate:process.nextTick;n.cloneBuffer=function(e){var n=new t(e.length);return e.copy(n,0,0,e.length),n},n.isArgumentsObject=function(e){return\"[object Arguments]\"===Object.prototype.toString.call(e)}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"regexp-clone\":392}],315:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],316:[function(e,t,n){\"use strict\";function r(){this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u.isStatic?u(this.drainQueues):u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule.js\"),p=e(\"./queue.js\"),l=e(\"./util.js\");r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},r.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")}},l.hasDevTools?(u.isStatic&&(u=function(e){setTimeout(e,0)}),r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=new r,t.exports.firstLineError=s},{\"./queue.js\":342,\"./schedule.js\":345,\"./util.js\":352}],317:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},o=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,p),s._then(o,a,c._progress,c,p)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072===(131072&this._bitField)},e.bind=function(r,i){var o=n(r),a=new e(t);return a._setBoundTo(o),o instanceof e?o._then(function(){a._resolveCallback(i)},a._reject,a._progress,a,null):a._resolveCallback(i),a}}},{}],318:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise.js\")();o.noConflict=r,t.exports=o},{\"./promise.js\":337}],319:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util.js\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a;\n}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],320:[function(e,t,n){\"use strict\";t.exports=function(t){var n=e(\"./errors.js\"),r=e(\"./async.js\"),i=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{\"./async.js\":316,\"./errors.js\":327}],321:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){this._parent=e;var n=this._length=1+(void 0===e?0:e._length);x(this,t),n>32&&this.uncycle()}function n(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function r(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function i(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function o(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=h.test(r)||\"    (No stack trace)\"===r,o=i&&g(r);i&&!o&&(v&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function a(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||h.test(r))break}return n>0&&(t=t.slice(n)),t}function s(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e.toString();var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+c(t)+\">, no stack trace)\"}function c(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function u(e){var t=e.match(y);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}var p,l=e(\"./async.js\"),f=e(\"./util.js\"),d=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](main|debug|zalgo|instrumented)/,h=null,m=null,v=!1;f.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var a=t.parseStackAndMessage(e),s=a.message,c=[a.stack],u=this;void 0!==u;)c.push(o(u.stack.split(\"\\n\"))),u=u._parent;i(c),r(c),f.notEnumerableProp(e,\"stack\",n(s,c)),f.notEnumerableProp(e,\"__stackCleaned__\",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?a(e):[\"    (No stack trace)\"],{message:n,stack:o(t)}},t.formatAndLogError=function(e,t){if(\"undefined\"!=typeof console){var n;if(\"object\"==typeof e||\"function\"==typeof e){var r=e.stack;n=t+m(r,e)}else n=t+String(e);\"function\"==typeof p?p(n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(n)}},t.unhandledRejection=function(e){t.formatAndLogError(e,\"^--- With additional stack trace: \")},t.isSupported=function(){return\"function\"==typeof x},t.fireRejectionEvent=function(e,n,r,i){var o=!1;try{\"function\"==typeof n&&(o=!0,\"rejectionHandled\"===e?n(i):n(r,i))}catch(a){l.throwLater(a)}var s=!1;try{s=w(e,r,i)}catch(a){s=!0,l.throwLater(a)}var c=!1;if(b)try{c=b(e.toLowerCase(),{reason:r,promise:i})}catch(a){c=!0,l.throwLater(a)}s||o||c||\"unhandledRejection\"!==e||t.formatAndLogError(r,\"Unhandled rejection \")};var g=function(){return!1},y=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;t.setBounds=function(e,n){if(t.isSupported()){for(var r,i,o=e.stack.split(\"\\n\"),a=n.stack.split(\"\\n\"),s=-1,c=-1,p=0;p<o.length;++p){var l=u(o[p]);if(l){r=l.fileName,s=l.line;break}}for(var p=0;p<a.length;++p){var l=u(a[p]);if(l){i=l.fileName,c=l.line;break}}0>s||0>c||!r||!i||r!==i||s>=c||(g=function(e){if(d.test(e))return!0;var t=u(e);return!!(t&&t.fileName===r&&s<=t.line&&t.line<=c)})}};var b,x=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():s(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,h=e,m=t;var n=Error.captureStackTrace;return g=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return h=/@/,m=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(m=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?s(t):t.toString()},null):(h=e,m=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}([]),w=function(){if(f.isNode)return function(e,t,n){return\"rejectionHandled\"===e?process.emit(e,n):process.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent(\"test\");e=n instanceof CustomEvent}catch(r){}if(!e)try{var i=document.createEvent(\"CustomEvent\");i.initCustomEvent(\"testingtheevent\",!1,!0,{}),self.dispatchEvent(i)}catch(r){t=!1}t&&(b=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent(\"CustomEvent\"),r.initCustomEvent(t,!1,!0,n)),r?!self.dispatchEvent(r):!1});var o={};return o.unhandledRejection=\"onunhandledRejection\".toLowerCase(),o.rejectionHandled=\"onrejectionHandled\".toLowerCase(),function(e,t,n){var r=o[e],i=self[r];return i?(\"rejectionHandled\"===e?i.call(self,n):i.call(self,t,n),!0):!1}}();return\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(p=function(e){console.warn(e)},f.isNode&&process.stderr.isTTY?p=function(e){process.stderr.write(\"\u001b[31m\"+e+\"\u001b[39m\\n\")}:f.isNode||\"string\"!=typeof(new Error).stack||(p=function(e){console.warn(\"%c\"+e,\"color: red\")})),t}},{\"./async.js\":316,\"./util.js\":352}],322:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t,n){this._instances=e,this._callback=t,this._promise=n}function r(e,t){var n={},r=a(e).call(n,t);if(r===s)return r;var i=c(n);return i.length?(s.e=new u(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"),s):r}var i=e(\"./util.js\"),o=e(\"./errors.js\"),a=i.tryCatch,s=i.errorObj,c=e(\"./es5.js\").keys,u=o.TypeError;return n.prototype.doFilter=function(e){for(var n=this._callback,i=this._promise,o=i._boundValue(),c=0,u=this._instances.length;u>c;++c){var p=this._instances[c],l=p===Error||null!=p&&p.prototype instanceof Error;if(l&&e instanceof p){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}if(\"function\"==typeof p&&!l){var d=r(p,e);if(d===s){e=s.e;break}if(d){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}}}return t.e=e,t},n}},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],323:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){function r(){this._trace=new t(o())}function i(){return n()?new r:void 0}function o(){var e=a.length-1;return e>=0?a[e]:void 0}var a=[];return r.prototype._pushContext=function(){n()&&void 0!==this._trace&&a.push(this._trace)},r.prototype._popContext=function(){n()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=o,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,i}},{}],324:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r,i,o=t._getDomain,a=e(\"./async.js\"),s=e(\"./errors.js\").Warning,c=e(\"./util.js\"),u=c.canAttachTrace,p=c.isNode&&(!!process.env.BLUEBIRD_DEBUG||\"development\"===process.env.NODE_ENV);return c.isNode&&0==process.env.BLUEBIRD_DEBUG&&(p=!1),p&&a.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0===(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),a.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent(\"rejectionHandled\",r,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent(\"unhandledRejection\",i,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return p&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(p&&u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);c.notEnumerableProp(e,\"stack\",i.message+\"\\n\"+i.stack.join(\"\\n\")),c.notEnumerableProp(e,\"__stackCleaned__\",!0)}}},t.prototype._warn=function(e){var t=new s(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+\"\\n\"+i.stack.join(\"\\n\")}n.formatAndLogError(t,\"\")},t.onPossiblyUnhandledRejection=function(e){var t=o();i=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(a.haveItemsQueued()&&p===!1)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/DT1qyG\\n\");p=n.isSupported(),p&&a.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return p&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},p=!1),function(){return p}}},{\"./async.js\":316,\"./errors.js\":327,\"./util.js\":352}],325:[function(e,t,n){\"use strict\";var r=e(\"./util.js\"),i=r.isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},r=function(){},o=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return void 0===n?this.then(r):i(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return void 0===e?this.then(o):i(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],326:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],327:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5.js\"),c=s.freeze,u=e(\"./util.js\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),l(Error,\"__BluebirdErrorTypes__\",x)),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5.js\":328,\"./util.js\":352}],328:[function(e,t,n){arguments[4][27][0].apply(n,arguments)},{dup:27}],329:[function(e,t,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],330:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(){return this}function o(){throw this}function a(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,n){var r;return r=f(t)?n?a(t):s(t):n?i:o,e._then(r,d,void 0,t,void 0)}function u(e){var i=this.promise,o=this.handler,a=i._isBound()?o.call(i._boundValue()):o();if(void 0!==a){var s=r(a,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(n.e=e,n):e}function p(e){var n=this.promise,i=this.handler,o=n._isBound()?i.call(n._boundValue(),e):i(e);if(void 0!==o){var a=r(o,n);if(a instanceof t)return a=a._target(),c(a,e,!0)}return e}var l=e(\"./util.js\"),f=l.isPrimitive,d=l.thrower;t.prototype._passThroughHandler=function(e,t){if(\"function\"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:p,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{\"./util.js\":352}],331:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=l(n[o])(e);if(r._popContext(),a===p){r._pushContext();var s=t.reject(p.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function a(e,n,i,o){var a=this._promise=new t(r);a._captureStackTrace(),this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(f):f}var s=e(\"./errors.js\"),c=s.TypeError,u=e(\"./util.js\"),p=u.errorObj,l=u.tryCatch,f=[];a.prototype.promise=function(){return this._promise},a.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},a.prototype._continue=function(e){if(e===p)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(e.done===!0)this._promise._resolveCallback(n);else{var r=i(n,this._promise);if(!(r instanceof t)&&(r=o(r,this._yieldHandlers,this._promise),null===r))return void this._throw(new c(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/4Y4pDk\\n\\n\".replace(\"%s\",n)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));r._then(this._next,this._throw,void 0,this,null)}},a.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},a.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new c(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var n=Object(t).yieldHandler,r=a,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i);return o._generator=t,o._next(void 0),o.promise()}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new c(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");f.push(e)},t.spawn=function(e){if(\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var r=new a(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors.js\":327,\"./util.js\":352}],332:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util.js\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){for(var t=[],n=1;e>=n;++n)t.push(\"holder.p\"+n);return new Function(\"holder\",\"                                      \\n            'use strict';                                                    \\n            var callback = holder.fn;                                        \\n            return callback(values);                                         \\n            \".replace(/values/g,t.join(\", \")))},f=[],d=[void 0],h=1;5>=h;++h)f.push(p(h)),d.push(l(h));var m=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};m.prototype.callers=d,m.prototype.checkFulfillment=function(e){var t=this.now;t++;var n=this.total;if(t>=n){var r=this.callers[n];e._pushContext();var i=c(r)(this);e._popContext(),i===u?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],6>a&&s)){var c=new t(i);c._captureStackTrace();for(var u=new m(a,e),p=f,l=0;a>l;++l){var d=r(arguments[l],c);d instanceof t?(d=d._target(),d._isPending()?d._then(p[l],o,void 0,c,u):d._isFulfilled()?p[l].call(c,d._value(),u):c._reject(d._reason())):p[l].call(c,d,u)}return c}for(var h=arguments.length,v=new Array(h),g=0;h>g;++g)v[g]=arguments[g];e&&v.pop();var c=new n(v).promise();return void 0!==e?c.spread(e):c}}},{\"./util.js\":352}],333:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:m,p.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,n,r){var i=\"object\"==typeof n&&null!==n?n.concurrency:0;return i=\"number\"==typeof i&&isFinite(i)&&i>=1?i:0,new a(e,t,i,r)}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj,h={},m=[];l.inherits(a,n),a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===h){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var p=f(c).call(u,e,n,o);if(this._promise._popContext(),p===d)return this._reject(p.e);var l=i(p,this._promise);if(l instanceof t){if(l=l._target(),l._isPending())return s>=1&&this._inFlight++,r[n]=h,l._proxyPromiseArray(this,n);if(!l._isFulfilled())return this._reject(l._reason());p=l._value()}r[n]=p}var m=++this._totalResolved;m>=o&&(null!==a?this._filter(r,a):this._resolve(r))},a.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return\"function\"!=typeof e?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(this,e,t,null).promise()},t.map=function(e,t,n,i){return\"function\"!=typeof t?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(e,t,n,i).promise()}}},{\"./async.js\":316,\"./util.js\":352}],334:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util.js\"),a=o.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e,r,s){if(\"function\"!=typeof e)return i(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var c=new t(n);c._captureStackTrace(),c._pushContext();var u=o.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{\"./util.js\":352}],335:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=n._target(),i=r._getCarriedStackTrace();i.cause=e,e=i}var o=s(t).call(n._boundValue(),e);o===c&&a.throwLater(o.e)}var o=e(\"./util.js\"),a=e(\"./async.js\"),s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./async.js\":316,\"./util.js\":352}],336:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r=e(\"./util.js\"),i=e(\"./async.js\"),o=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,i=e.handler,s=e.promise,c=e.receiver,u=o(i).call(c,n);if(u===a){if(null!=u.e&&\"StopProgressPropagation\"!==u.e.name){var p=r.canAttachTrace(u.e)?u.e:new Error(r.toString(u.e));s._attachExtraTrace(p),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),o=this._progress,a=0;r>a;a++){var s=this._progressHandlerAt(a),c=this._promiseAt(a);if(c instanceof t)\"function\"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(a),value:e}):i.invoke(o,c,e);else{var u=this._receiverAt(a);\"function\"==typeof s?s.call(u,e,c):u instanceof n&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{\"./async.js\":316,\"./util.js\":352}],337:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){if(\"function\"!=typeof e)throw new l(\"the promise constructor requires a resolver function\\n\\n    See http://goo.gl/EC22Yn\\n\");if(this.constructor!==t)throw new l(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/KsIlge\\n\");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==f&&this._resolveFromResolver(e)}function n(e){var n=new t(f);n._fulfillmentHandler0=e,n._rejectionHandler0=e,n._progressHandler0=e,n._promise0=e,n._receiver0=e,n._settledValue=e}var r,i=function(){return new l(\"circular promise resolution chain\\n\\n    See http://goo.gl/LhFpo0\\n\")},o=function(){return new t.PromiseInspection(this._target())},a=function(e){return t.reject(new l(e))},s=e(\"./util.js\");r=s.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(t,\"_getDomain\",r);var c={},u=e(\"./async.js\"),p=e(\"./errors.js\"),l=t.TypeError=p.TypeError;t.RangeError=p.RangeError,t.CancellationError=p.CancellationError,t.TimeoutError=p.TimeoutError,t.OperationalError=p.OperationalError,t.RejectionError=p.OperationalError,t.AggregateError=p.AggregateError;var f=function(){},d={},h={e:null},m=e(\"./thenables.js\")(t,f),v=e(\"./promise_array.js\")(t,f,m,a),g=e(\"./captured_trace.js\")(),y=e(\"./debuggability.js\")(t,g),b=e(\"./context.js\")(t,g,y),x=e(\"./catch_filter.js\")(h),w=e(\"./promise_resolver.js\"),_=w._nodebackForPromise,k=s.errorObj,j=s.tryCatch;return t.prototype.toString=function(){return\"[object Promise]\"},t.prototype.caught=t.prototype[\"catch\"]=function(e){var n=arguments.length;if(n>1){var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var a=arguments[r];if(\"function\"!=typeof a)return t.reject(new l(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"));i[o++]=a}i.length=o,e=arguments[r];var s=new x(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},t.prototype.reflect=function(){return this._then(o,o,void 0,this,void 0)},t.prototype.then=function(e,t,n){if(y()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var r=\".then() only accepts functions but was passed: \"+s.classString(e);arguments.length>1&&(r+=\", \"+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},t.prototype.done=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);r._setIsFinal()},t.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,d,void 0)},t.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},t.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},t.prototype.all=function(){return new v(this).promise()},t.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},t.is=function(e){return e instanceof t},t.fromNode=function(e){var n=new t(f),r=j(e)(_(n));return r===k&&n._rejectCallback(r.e,!0,!0),n},t.all=function(e){return new v(e).promise()},t.defer=t.pending=function(){var e=new t(f);return new w(e)},t.cast=function(e){var n=m(e);if(!(n instanceof t)){var r=n;n=new t(f),n._fulfillUnchecked(r)}return n},t.resolve=t.fulfilled=t.cast,t.reject=t.rejected=function(e){var n=new t(f);return n._captureStackTrace(),n._rejectCallback(e,!0),n},t.setScheduler=function(e){if(\"function\"!=typeof e)throw new l(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var t=u._schedule;return u._schedule=e,t},t.prototype._then=function(e,n,i,o,a){var s=void 0!==a,c=s?a:new t(f);s||(c._propagateFrom(this,5),c._captureStackTrace());var p=this._target();p!==this&&(void 0===o&&(o=this._boundTo),s||c._setIsMigrated());var l=p._addCallbacks(e,n,i,c,o,r());return p._isResolved()&&!p._isSettlePromisesQueued()&&u.invoke(p._settlePromiseAtPostResolution,p,l),c},t.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},t.prototype._length=function(){return 131071&this._bitField},t.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},t.prototype._isFollowing=function(){return 536870912===(536870912&this._bitField)},t.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},t.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},t.prototype._setRejected=function(){this._bitField=134217728|this._bitField},t.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},t.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},t.prototype._isFinal=function(){return(33554432&this._bitField)>0},t.prototype._cancellable=function(){return(67108864&this._bitField)>0},t.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},t.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},t.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},t.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},t.prototype._isMigrated=function(){return(4194304&this._bitField)>0},t.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},t.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},t.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},t.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},t.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e},t.prototype._migrateCallbacks=function(e,n){var r=e._fulfillmentHandlerAt(n),i=e._rejectionHandlerAt(n),o=e._progressHandlerAt(n),a=e._promiseAt(n),s=e._receiverAt(n);a instanceof t&&a._setIsMigrated(),void 0===s&&(s=c),this._addCallbacks(r,i,o,a,s,null)},t.prototype._addCallbacks=function(e,t,n,r,i,o){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==i&&(this._receiver0=i),\"function\"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===o?e:o.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===o?t:o.bind(t)),\"function\"==typeof n&&(this._progressHandler0=null===o?n:o.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=i,\"function\"==typeof e&&(this[s+0]=null===o?e:o.bind(e)),\"function\"==typeof t&&(this[s+1]=null===o?t:o.bind(t)),\"function\"==typeof n&&(this[s+2]=null===o?n:o.bind(n))}return this._setLength(a+1),a},t.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},t.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},t.prototype._resolveCallback=function(e,n){if(!this._isFollowingOrFulfilledOrRejected()){\nif(e===this)return this._rejectCallback(i(),!1,!0);var r=m(e,this);if(!(r instanceof t))return this._fulfill(e);var o=1|(n?4:0);this._propagateFrom(r,o);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;s>c;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},t.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),i=r===e;this._attachExtraTrace(r,t?i:!1),this._reject(e,i?void 0:r)},t.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=j(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,n),t=null)});n=!1,this._popContext(),void 0!==r&&r===k&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},t.prototype._settlePromiseFromHandler=function(e,t,n,r){if(!r._isRejected()){r._pushContext();var o;if(o=t!==d||this._isRejected()?j(e).call(t,n):j(e).apply(this._boundValue(),n),r._popContext(),o===k||o===r||o===h){var a=o===r?i():o.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(o)}},t.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},t.prototype._followee=function(){return this._rejectionHandler0},t.prototype._setFollowee=function(e){this._rejectionHandler0=e},t.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},t.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},t.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},t.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},t.prototype._settlePromiseAt=function(e){var n=this._promiseAt(e),r=n instanceof t;if(r&&n._isMigrated())return n._unsetIsMigrated(),u.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,a=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),\"function\"==typeof i?r?this._settlePromiseFromHandler(i,s,a,n):i.call(s,a,n):s instanceof v?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(a,n):s._promiseRejected(a,n)):r&&(this._isFulfilled()?n._fulfill(a):n._reject(a,o)),e>=4&&4===(31&e)&&u.invokeLater(this._setLength,this,0)},t.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},t.prototype._isSettlePromisesQueued=function(){return-1073741824===(-1073741824&this._bitField)},t.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},t.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},t.prototype._queueSettlePromises=function(){u.settlePromises(this),this._setSettlePromisesQueued()},t.prototype._fulfillUnchecked=function(e){if(e===this){var t=i();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},t.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},t.prototype._rejectUnchecked=function(e,t){if(e===this){var n=i();return this._attachExtraTrace(n),this._rejectUnchecked(n)}return this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?void u.throwLater(function(e){throw\"stack\"in e&&u.invokeFirst(g.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),void(this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled()))},t.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;e>t;t++)this._settlePromiseAt(t)},s.notEnumerableProp(t,\"_makeSelfResolutionError\",i),e(\"./progress.js\")(t,v),e(\"./method.js\")(t,f,m,a),e(\"./bind.js\")(t,f,m),e(\"./finally.js\")(t,h,m),e(\"./direct_resolve.js\")(t),e(\"./synchronous_inspection.js\")(t),e(\"./join.js\")(t,v,m,f),t.Promise=t,e(\"./map.js\")(t,v,a,m,f),e(\"./cancel.js\")(t),e(\"./using.js\")(t,a,m,b),e(\"./generators.js\")(t,a,f,m),e(\"./nodeify.js\")(t),e(\"./call_get.js\")(t),e(\"./props.js\")(t,v,m,a),e(\"./race.js\")(t,f,m,a),e(\"./reduce.js\")(t,v,a,m,f),e(\"./settle.js\")(t,v),e(\"./some.js\")(t,v,a),e(\"./promisify.js\")(t,f),e(\"./any.js\")(t),e(\"./each.js\")(t,f),e(\"./timers.js\")(t,f),e(\"./filter.js\")(t,f),s.toFastProperties(t),s.toFastProperties(t.prototype),n({a:1}),n({b:2}),n({c:3}),n(1),n(function(){}),n(void 0),n(!1),n(new t(f)),g.setBounds(u.firstLineError,s.lastLineError),t}},{\"./any.js\":315,\"./async.js\":316,\"./bind.js\":317,\"./call_get.js\":319,\"./cancel.js\":320,\"./captured_trace.js\":321,\"./catch_filter.js\":322,\"./context.js\":323,\"./debuggability.js\":324,\"./direct_resolve.js\":325,\"./each.js\":326,\"./errors.js\":327,\"./filter.js\":329,\"./finally.js\":330,\"./generators.js\":331,\"./join.js\":332,\"./map.js\":333,\"./method.js\":334,\"./nodeify.js\":335,\"./progress.js\":336,\"./promise_array.js\":338,\"./promise_resolver.js\":339,\"./promisify.js\":340,\"./props.js\":341,\"./race.js\":343,\"./reduce.js\":344,\"./settle.js\":346,\"./some.js\":347,\"./synchronous_inspection.js\":348,\"./thenables.js\":349,\"./timers.js\":350,\"./using.js\":351,\"./util.js\":352}],338:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){switch(e){case-2:return[];case-3:return{}}}function a(e){var r,i=this._promise=new t(n);e instanceof t&&(r=e,i._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e(\"./util.js\"),c=s.isArray;return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function u(e,n){var a=r(this._values,this._promise);if(a instanceof t){if(a=a._target(),this._values=a,!a._isFulfilled())return a._isPending()?void a._then(u,this._reject,void 0,this,n):void this._reject(a._reason());if(a=a._value(),!c(a)){var s=new t.TypeError(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");return void this.__hardReject__(s)}}else if(!c(a))return void this._promise._reject(i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\")._reason());if(0===a.length)return void(-5===n?this._resolveEmptyArray():this._resolve(o(n)));var p=this.getActualLength(a.length);this._length=p,this._values=this.shouldCopyValues()?new Array(p):this._values;for(var l=this._promise,f=0;p>f;++f){var d=this._isResolved(),h=r(a[f],l);h instanceof t?(h=h._target(),d?h._ignoreRejections():h._isPending()?h._proxyPromiseArray(this,f):h._isFulfilled()?this._promiseFulfilled(h._value(),f):this._promiseRejected(h._reason(),f)):d||this._promiseFulfilled(h,f)}},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{\"./util.js\":352}],339:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&d.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new l(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=d.keys(e),i=0;i<n.length;++i){var o=n[i];h.test(o)||(t[o]=e[o])}return t}return s.markAsOriginatingFromRejection(e),e}function o(e){return function(t,n){if(null!==e){if(t){var r=i(c(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;o>s;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}var a,s=e(\"./util.js\"),c=s.maybeWrapAsError,u=e(\"./errors.js\"),p=u.TimeoutError,l=u.OperationalError,f=s.haveGetters,d=e(\"./es5.js\"),h=/^(?:name|message|stack|cause)$/;if(a=f?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=o(e),this.callback=this.asCallback},f){var m={get:function(){return o(this.promise)}};d.defineProperty(a.prototype,\"asCallback\",m),d.defineProperty(a.prototype,\"callback\",m)}a._nodebackForPromise=o,a.prototype.toString=function(){return\"[object PromiseResolver]\"},a.prototype.resolve=a.prototype.fulfill=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._resolveCallback(e)},a.prototype.reject=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._rejectCallback(e)},a.prototype.progress=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._progress(e)},a.prototype.cancel=function(e){this.promise.cancel(e)},a.prototype.timeout=function(){this.reject(new p(\"timeout\"))},a.prototype.isResolved=function(){return this.promise.isResolved()},a.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=a},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],340:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/iWrZbw\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o){function a(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof c&&this!==s?this[c]:e,u=h(o);try{a.apply(i,m(arguments,u))}catch(p){o._rejectCallback(v(p),!0,!0)}return o}var s=function(){return this}(),c=e;return\"string\"==typeof c&&(e=o),d.notEnumerableProp(a,\"__isPromisified__\",!0),a}function u(e,t,n,r){for(var i=new RegExp(j(t)+\"$\"),o=s(e,t,i,n),a=0,c=o.length;c>a;a+=2){var u=o[a],p=o[a+1],l=u+t;if(r===C)e[l]=C(u,f,u,p,t);else{var h=r(p,function(){return C(u,f,u,p,t)});d.notEnumerableProp(h,\"__isPromisified__\",!0),e[l]=h}}return d.toFastProperties(e),e}function p(e,t){return C(e,t,void 0,e)}var l,f={},d=e(\"./util.js\"),h=e(\"./promise_resolver.js\")._nodebackForPromise,m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o){function a(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=p?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function s(){for(var e=\"\",t=0;t<u.length;++t)e+=\"case \"+u[t]+\":\"+a(u[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",p?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var c=Math.max(0,A(o)-1),u=S(c),p=\"string\"==typeof e||r===f,l=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\";return new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",\"'use strict';                            \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise);                      \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n        \".replace(\"Parameters\",O(c)).replace(\"[CodeForSwitchCase]\",s()).replace(\"[GetFunctionCode]\",l))(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");if(i(e))return e;var n=p(e,arguments.length<2?f:t);return d.copyDescriptors(e,n,r),n},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/9ITlV0\\n\");t=Object(t);var n=t.suffix;\"string\"!=typeof n&&(n=b);var r=t.filter;\"function\"!=typeof r&&(r=k);var i=t.promisifier;if(\"function\"!=typeof i&&(i=C),!d.isIdentifier(n))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/8FZo5V\\n\");for(var o=d.inheritedDataKeys(e),a=0;a<o.length;++a){var s=e[o[a]];\"constructor\"!==o[a]&&d.isClass(s)&&(u(s.prototype,n,r,i),u(s,n,r,i))}return u(e,n,r,i)}}},{\"./errors\":327,\"./promise_resolver.js\":339,\"./util.js\":352}],341:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var t=u.keys(e),n=t.length,r=new Array(2*n),i=0;n>i;++i){var o=t[i];r[i]=e[o],r[i+n]=o}this.constructor$(r)}function a(e){var n,a=r(e);return c(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,4),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/OsFKC8\\n\")}var s=e(\"./util.js\"),c=s.isObject,u=e(\"./es5.js\");s.inherits(o,n),o.prototype._init=function(){this._init$(void 0,-3)},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){for(var r={},i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o];this._resolve(r)}},o.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5.js\":328,\"./util.js\":352}],342:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{dup:40}],343:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(!a(e))return i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");var u=new t(n);void 0!==o&&u._propagateFrom(o,5);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util.js\").isArray,s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util.js\":352}],344:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,n,r,a){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=a===o?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(r,this._promise),l=!1,f=c instanceof t;f&&(c=c._target(),c._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),l=!0)),f||this._zerothIsAccum||(this._gotAccum=!0);var d=u();this._callback=null===d?n:d.bind(n),this._accum=r,l||p.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var o=new a(e,t,n,i);return o.promise()}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj;l.inherits(a,n),a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},a.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var o,a=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),o=0;a>o;++o)p[o]=0;if(o=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,p[n]=0===o?1:2):-1===n?(this._accum=e,this._gotAccum=u=!0):0===o?p[n]=1:(p[n]=2,this._accum=e),u){for(var l,h=this._callback,m=this._promise._boundValue(),v=this._reducingIndex;a>v;++v)if(o=p[v],2!==o){if(1!==o)return;if(e=r[v],this._promise._pushContext(),c?(s.push(e),l=f(h).call(m,e,v,a)):l=f(h).call(m,this._accum,e,v,a),this._promise._popContext(),l===d)return this._reject(l.e);var g=i(l,this._promise);if(g instanceof t){if(g=g._target(),g._isPending())return p[v]=4,g._proxyPromiseArray(this,v);if(!g._isFulfilled())return this._reject(g._reason());l=g._value()}this._reducingIndex=v+1,this._accum=l}else this._reducingIndex=v+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,n,r){return c(e,t,n,r)}}},{\"./async.js\":316,\"./util.js\":352}],345:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")};if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=n.setImmediate,s=process.nextTick;r=i.isRecentNode?function(e){a.call(n,e)}:function(e){s.call(process,e)}}else\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?r=\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:(r=function(e){var t=document.createElement(\"div\"),n=new MutationObserver(e);return n.observe(t,{attributes:!0}),function(){t.classList.toggle(\"foo\")}},r.isStatic=!0);t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":352}],346:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){this.constructor$(e)}var i=t.PromiseInspection,o=e(\"./util.js\");o.inherits(r,n),r.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},r.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},r.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new r(e).promise()},t.prototype.settle=function(){return new r(this).promise()}}},{\"./util.js\":352}],347:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/1wAmHx\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util.js\"),s=e(\"./errors.js\").RangeError,c=e(\"./errors.js\").AggregateError,u=a.isArray;a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors.js\":327,\"./util.js\":352}],348:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0===(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],349:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(u(e)){if(e instanceof t)return e;if(o(e)){var p=new t(n);return e._then(p._fulfillUnchecked,p._rejectUncheckedCheckError,p._progressUnchecked,p,null),p}var l=s.tryCatch(i)(e);if(l===c){r&&r._pushContext();var p=t.reject(l.e);return r&&r._popContext(),p}if(\"function\"==typeof l)return a(e,l,r)}return e}function i(e){return e.then}function o(e){return p.call(e,\"_promise0\")}function a(e,r,i){function o(e){p&&(p._resolveCallback(e),p=null)}function a(e){p&&(p._rejectCallback(e,f,!0),p=null)}function u(e){p&&\"function\"==typeof p._progress&&p._progress(e)}var p=new t(n),l=p;i&&i._pushContext(),p._captureStackTrace(),i&&i._popContext();var f=!0,d=s.tryCatch(r).call(e,o,a,u);return f=!1,p&&d===c&&(p._rejectCallback(d.e,!0,!0),p=null),l}var s=e(\"./util.js\"),c=s.errorObj,u=s.isObject,p={}.hasOwnProperty;return r}},{\"./util.js\":352}],350:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var o=e(\"./util.js\"),a=t.TimeoutError,s=function(e,t){if(e.isPending()){var n;!o.isPrimitive(t)&&t instanceof Error?n=t:(\"string\"!=typeof t&&(t=\"operation timed out\"),n=new a(t)),o.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var i=new t(n);return setTimeout(function(){i._fulfill()},r),i}return r=+r,t.resolve(e)._then(c,null,null,r,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var o=setTimeout(function(){s(n,t)},e);return n._then(r,i,void 0,o,void 0)}}},{\"./util.js\":352}],351:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var n=e.length,r=0;n>r;++r){var i=e[r];if(i.isRejected())return t.reject(i.error());e[r]=i._settledValue}return e}function a(e){setTimeout(function(){throw e},0)}function s(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,n){function i(){if(o>=c)return u.resolve();var p=s(e[o++]);if(p instanceof t&&p._isDisposable()){try{p=r(p._getDisposer().tryDispose(n),e.promise)}catch(l){return a(l)}if(p instanceof t)return p._then(i,a,null,null,null)}i()}var o=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new v;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function p(e){var t=new v;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function f(e,t,n){this.constructor$(e,t,n)}function d(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var h=e(\"./errors.js\").TypeError,m=e(\"./util.js\").inherits,v=t.PromiseInspection;l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},m(f,l),f.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var a,s=!0;2===e&&Array.isArray(arguments[0])?(a=arguments[0],e=a.length,s=!1):(a=arguments,e--);for(var c=new Array(e),f=0;e>f;++f){var h=a[f];if(l.isDisposer(h)){var m=h;h=h.promise(),h._setDisposable(m)}else{var v=r(h);v instanceof t&&(h=v._then(d,null,null,{resources:c,index:f},void 0))}c[f]=h}var g=t.settle(c).then(o).then(function(e){g._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{g._popContext()}return t})._then(u,p,void 0,c,void 0);return c.promise=g,g},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new f(e,this,i());throw new h}}},{\"./errors.js\":327,\"./util.js\":352}],352:[function(e,t,n){\"use strict\";function r(){try{var e=E;return E=null,e.apply(this,arguments)}catch(t){return S.e=t,S}}function i(e){return E=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return!o(e)}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!_.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return _.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=_.names(e.prototype),n=_.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=C.test(e+\"\")&&_.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return T.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){try{p(e,\"isOperational\",!0)}catch(t){}}function y(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function b(e){return e instanceof Error&&_.propertyIsWritable(e,\"stack\")}function x(e){return{}.toString.call(e)}\nfunction w(e,t,n){for(var r=_.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{_.defineProperty(t,o,_.getDescriptor(e,o))}catch(a){}}}var _=e(\"./es5.js\"),k=\"undefined\"==typeof navigator,j=function(){try{var e={};return _.defineProperty(e,\"f\",{get:function(){return 3}}),3===e.f}catch(t){return!1}}(),S={e:{}},E,O=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},A=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(_.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=_.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),C=/this\\s*\\.\\s*\\S+\\s*=/,T=/^[a-z$_][a-z$_0-9]*$/i,I=function(){return\"stack\"in new Error?function(e){return b(e)?e:new Error(v(e))}:function(e){if(b(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),P={isClass:f,isIdentifier:h,inheritedDataKeys:A,getDataPropertyOrDefault:u,thrower:l,isArray:_.isArray,haveGetters:j,notEnumerableProp:p,isPrimitive:o,isObject:a,canEvaluate:k,errorObj:S,tryCatch:i,inherits:O,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:b,ensureErrorObject:I,originatesFromRejection:y,markAsOriginatingFromRejection:g,classString:x,copyDescriptors:w,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:\"undefined\"!=typeof process&&\"[object process]\"===x(process).toLowerCase()};P.isRecentNode=P.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),P.isNode&&P.toFastProperties(process);try{throw new Error}catch(F){P.lastLineError=F}t.exports=P},{\"./es5.js\":328}],353:[function(e,t,n){t.exports=n=e(\"./lib/sliced\")},{\"./lib/sliced\":354}],354:[function(e,t,n){t.exports=function(e,t,n){var r=[],i=e.length;if(0===i)return r;var o=0>t?Math.max(0,t+i):t||0;for(void 0!==n&&(i=0>n?n+i:n);i-- >o;)r[i-o]=e[i];return r}},{}],355:[function(e,t,n){function r(e){if(e=\"\"+e,!(e.length>1e4)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||\"ms\").toLowerCase();switch(r){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return n*l;case\"days\":case\"day\":case\"d\":return n*p;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*u;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*c;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n}}}}function i(e){return e>=p?Math.round(e/p)+\"d\":e>=u?Math.round(e/u)+\"h\":e>=c?Math.round(e/c)+\"m\":e>=s?Math.round(e/s)+\"s\":e+\"ms\"}function o(e){return a(e,p,\"day\")||a(e,u,\"hour\")||a(e,c,\"minute\")||a(e,s,\"second\")||e+\" ms\"}function a(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}var s=1e3,c=60*s,u=60*c,p=24*u,l=365.25*p;t.exports=function(e,t){return t=t||{},\"string\"==typeof e?r(e):t[\"long\"]?o(e):i(e)}},{}],356:[function(e,t,n){function r(e){return this instanceof r?void(this.request=e):new r(e)}var i=e(\"./lib/charset\"),o=e(\"./lib/encoding\"),a=e(\"./lib/language\"),s=e(\"./lib/mediaType\");t.exports=r,r.Negotiator=r,r.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},r.prototype.charsets=function(e){return i(this.request.headers[\"accept-charset\"],e)},r.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},r.prototype.encodings=function(e){return o(this.request.headers[\"accept-encoding\"],e)},r.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},r.prototype.languages=function(e){return a(this.request.headers[\"accept-language\"],e)},r.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},r.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},r.prototype.preferredCharset=r.prototype.charset,r.prototype.preferredCharsets=r.prototype.charsets,r.prototype.preferredEncoding=r.prototype.encoding,r.prototype.preferredEncodings=r.prototype.encodings,r.prototype.preferredLanguage=r.prototype.language,r.prototype.preferredLanguages=r.prototype.languages,r.prototype.preferredMediaType=r.prototype.mediaType,r.prototype.preferredMediaTypes=r.prototype.mediaTypes},{\"./lib/charset\":357,\"./lib/encoding\":358,\"./lib/language\":359,\"./lib/mediaType\":360}],357:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{charset:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.charset});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredCharsets=s},{}],358:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=!1,r=1,o=0,s=0;o<t.length;o++){var c=i(t[o].trim(),o);c&&(t[s++]=c,n=n||a(\"identity\",c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:\"identity\",q:r,i:o}),t.length=s,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{encoding:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.encoding)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.encoding});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredEncodings=s},{}],359:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)(?:-(\\S+?))?\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=n[2],o=r;i&&(o+=\"-\"+i);var a=1;if(n[3])for(var s=n[3].split(\";\"),t=0;t<s.length;t++){var c=s[t].split(\"=\");\"q\"===c[0]&&(a=parseFloat(c[1]))}return{prefix:r,suffix:i,q:a,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e);if(!r)return null;var o=0;if(t.full.toLowerCase()===r.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())o|=1;else if(\"*\"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredLanguages=s},{}],360:[function(e,t,n){function r(e){for(var t=l(e),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/\\s*(\\S+?)\\/([^;\\s]+)\\s*(?:;(.*))?/);if(!n)return null;var r=n[1],i=n[2],o=\"\"+r+\"/\"+i,a={},s=1;return n[3]&&(a=n[3].split(\";\").map(function(e){return e.trim().split(\"=\")}).reduce(function(e,t){var n=t[0].toLowerCase(),r=t[1];return e[n]=r&&'\"'===r[0]&&'\"'===r[r.length-1]?r.substr(1,r.length-2):r,e},a),null!=a.q&&(s=parseFloat(a.q),delete a.q)),{type:r,subtype:i,params:a,q:s,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e),o=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())o|=4;else if(\"*\"!=t.type)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())o|=2;else if(\"*\"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return\"*\"==t.params[e]||(t.params[e]||\"\").toLowerCase()==(r.params[e]||\"\").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*/*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}function p(e){for(var t=0,n=0;-1!==(n=e.indexOf('\"',n));)t++,n++;return t}function l(e){for(var t=e.split(\",\"),n=1,r=0;n<t.length;n++)p(t[r])%2==0?t[++r]=t[n]:t[r]+=\",\"+t[n];return t.length=r+1,t}t.exports=s,s.preferredMediaTypes=s},{}],361:[function(e,t,n){(function(n){!function(r){\"use strict\";function i(){var e=r.crypto||r.msCrypto;if(!p&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=p=function(){return e.getRandomValues(t),t},p()}catch(n){}if(!p){var i=new Array(16);l=p=function(){for(var e,t=0;16>t;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},\"undefined\"!=typeof console&&console.warn&&console.warn(\"[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()\")}}function o(){if(\"function\"==typeof e)try{var t=e(\"crypto\").randomBytes;f=p=t&&function(){return t(16)},p()}catch(n){}}function a(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){16>i&&(t[r+i++]=g[e])});16>i;)t[r+i++]=0;return t}function s(e,t){var n=t||0,r=v;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}function c(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=null!=e.clockseq?e.clockseq:w,a=null!=e.msecs?e.msecs:(new Date).getTime(),c=null!=e.nsecs?e.nsecs:k+1,u=a-_+(c-k)/1e4;if(0>u&&null==e.clockseq&&(o=o+1&16383),(0>u||a>_)&&null==e.nsecs&&(c=0),c>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");_=a,k=c,w=o,a+=122192928e5;var p=(1e4*(268435455&a)+c)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var l=a/4294967296*1e4&268435455;i[r++]=l>>>8&255,i[r++]=255&l,i[r++]=l>>>24&15|16,i[r++]=l>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=e.node||x,d=0;6>d;d++)i[r+d]=f[d];return t?t:s(i)}function u(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new m(16):null,e=null),e=e||{};var i=e.random||(e.rng||p)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;16>o;o++)t[r+o]=i[o];return t||s(i)}var p,l,f,d,h;r?i():o();for(var m=\"function\"==typeof n?n:Array,v=[],g={},y=0;256>y;y++)v[y]=(y+256).toString(16).substr(1),g[v[y]]=y;var b=p(),x=[1|b[0],b[1],b[2],b[3],b[4],b[5]],w=16383&(b[6]<<8|b[7]),_=0,k=0,j=u;j.v1=c,j.v4=u,j.parse=a,j.unparse=s,j.BufferClass=m,j._rng=p,j._mathRNG=l,j._nodeRNG=f,j._whatwgRNG=d,\"undefined\"!=typeof t&&t.exports?t.exports=j:\"function\"==typeof define&&define.amd?define(function(){return j}):(h=r.uuid,j.noConflict=function(){return r.uuid=h,j},r.uuid=j)}(\"undefined\"!=typeof window?window:null)}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0}],362:[function(e,t,n){function r(e,t){return d.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return d.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else if(\"object\"==typeof n)for(var o in n)r.push([t+\"[\"+o+\"]\",n[o]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t){var n=[e||\"\",t||\"\"].map(o).join(\"&\");return n}function f(e,t,n,r,i,o){var a,s=1;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;case\"PLAINTEXT\":a=l,s=4;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,s))}var d=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.plaintext=l,n.sign=f,n.rfc3986=o,n.generateBase=c},{crypto:void 0,querystring:void 0}],363:[function(e,t,n){\"use strict\";function r(e,t){return i(e)!==!1?(p(t,null,e),e):(a(e,t),e)}function i(e){var t=e.socket;return\"boolean\"==typeof e.finished?Boolean(e.finished||t&&!t.writable):\"boolean\"==typeof e.complete?Boolean(e.upgrade||!t||!t.readable||e.complete&&!e.readable):void 0}function o(e,t){function n(e){i.cancel(),o.cancel(),a=!0,t(e)}function r(t){e.removeListener(\"socket\",r),a||i===o&&(o=u([[t,\"error\",\"close\"]],n))}var i,o,a=!1;return i=o=u([[e,\"end\",\"finish\"]],n),e.socket?void r(e.socket):(e.on(\"socket\",r),void(void 0===e.socket&&c(e,r)))}function a(e,t){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=s(e),o(e,n)),n.queue.push(t)}function s(e){function t(n){if(e.__onFinished===t&&(e.__onFinished=null),t.queue){var r=t.queue;t.queue=null;for(var i=0;i<r.length;i++)r[i](n,e)}}return t.queue=[],t}function c(e,t){var n=e.assignSocket;\"function\"==typeof n&&(e.assignSocket=function(e){n.call(this,e),t(e)})}t.exports=r,t.exports.isFinished=i;var u=e(\"ee-first\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))}},{\"ee-first\":94}],364:[function(e,t,n){\"use strict\";function r(e){var t=e.url;if(void 0!==t){var n=e._parsedUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedUrl=n)}}function i(e){var t=e.originalUrl;if(\"string\"!=typeof t)return r(e);var n=e._parsedOriginalUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedOriginalUrl=n)}function o(e){var t=\"string\"==typeof e&&p.exec(e);if(t){var n=t[1],r=t[2]||null,i=void 0!==u?new u:{};return i.path=e,i.href=e,i.pathname=n,i.search=r,i.query=r&&r.substr(1),i}return c(e)}function a(e,t){return\"object\"==typeof t&&null!==t&&(void 0===u||t instanceof u)&&t._raw===e}var s=e(\"url\"),c=s.parse,u=s.Url,p=/^(\\/\\/?(?!\\/)[^\\?#\\s]*)(\\?[^#\\s]*)?$/;t.exports=r,t.exports.original=i},{url:void 0}],365:[function(e,t,n){var r=e(\"./strategy\");n=t.exports=r,n.Strategy=r},{\"./strategy\":366}],366:[function(e,t,n){function r(){}r.prototype.authenticate=function(e,t){throw new Error(\"Strategy#authenticate must be overridden by subclass\")},t.exports=r},{}],367:[function(e,t,n){function r(){this._key=\"passport\",this._strategies={},this._serializers=[],this._deserializers=[],this._infoTransformers=[],this._framework=null,this._userProperty=\"user\",this.init()}var i=e(\"./strategies/session\");r.prototype.init=function(){this.framework(e(\"./framework/connect\")()),this.use(new i)},r.prototype.use=function(e,t){if(t||(t=e,e=t.name),!e)throw new Error(\"Authentication strategies must have a name\");return this._strategies[e]=t,this},r.prototype.unuse=function(e){return delete this._strategies[e],this},r.prototype.framework=function(e){return this._framework=e,this},r.prototype.initialize=function(e){return e=e||{},this._userProperty=e.userProperty||\"user\",this._framework.initialize(this,e)},r.prototype.authenticate=function(e,t,n){return this._framework.authenticate(this,e,t,n)},r.prototype.authorize=function(e,t,n){t=t||{},t.assignProperty=\"account\";var r=this._framework.authorize||this._framework.authenticate;return r(this,e,t,n)},r.prototype.session=function(e){return this.authenticate(\"session\",e)},r.prototype.serializeUser=function(e,t,n){if(\"function\"==typeof e)return this._serializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._serializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s||0===s)return n(a,s);var u=i[e];if(!u)return n(new Error(\"Failed to serialize user into session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.deserializeUser=function(e,t,n){if(\"function\"==typeof e)return this._deserializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._deserializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);if(null===s||s===!1)return n(null,!1);var u=i[e];if(!u)return n(new Error(\"Failed to deserialize user out of session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.transformAuthInfo=function(e,t,n){if(\"function\"==typeof e)return this._infoTransformers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._infoTransformers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);var u=i[e];if(!u)return n(null,r);try{var p=u.length;if(1==p){var l=u(r);c(null,l)}else 3==p?u(t,r,c):u(r,c)}catch(f){return n(f)}}(0)},r.prototype._strategy=function(e){return this._strategies[e]},t.exports=r},{\"./framework/connect\":369,\"./strategies/session\":374}],368:[function(e,t,n){function r(e,t){Error.call(this),Error.captureStackTrace(this,arguments.callee),this.name=\"AuthenticationError\",this.message=e,this.status=t||401}r.prototype.__proto__=Error.prototype,t.exports=r},{}],369:[function(e,t,n){var r=e(\"../middleware/initialize\"),i=e(\"../middleware/authenticate\");n=t.exports=function(){return n.__monkeypatchNode(),{initialize:r,authenticate:i}},n.__monkeypatchNode=function(){var t=e(\"http\"),n=e(\"../http/request\");t.IncomingMessage.prototype.login=t.IncomingMessage.prototype.logIn=n.logIn,t.IncomingMessage.prototype.logout=t.IncomingMessage.prototype.logOut=n.logOut,t.IncomingMessage.prototype.isAuthenticated=n.isAuthenticated,t.IncomingMessage.prototype.isUnauthenticated=n.isUnauthenticated}},{\"../http/request\":370,\"../middleware/authenticate\":372,\"../middleware/initialize\":373,http:void 0}],370:[function(e,t,n){var r=n=t.exports={};r.login=r.logIn=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||{};var r=\"user\";this._passport&&this._passport.instance&&(r=this._passport.instance._userProperty||\"user\");var i=void 0===t.session?!0:t.session;if(this[r]=e,i){if(!this._passport)throw new Error(\"passport.initialize() middleware not in use\");if(\"function\"!=typeof n)throw new Error(\"req#login requires a callback function\");var o=this;this._passport.instance.serializeUser(e,this,function(e,t){return e?(o[r]=null,n(e)):(o._passport.session||(o._passport.session={}),o._passport.session.user=t,o.session||(o.session={}),o.session[o._passport.instance._key]=o._passport.session,void n())})}else n&&n()},r.logout=r.logOut=function(){var e=\"user\";this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),this[e]=null,this._passport&&this._passport.session&&delete this._passport.session.user},r.isAuthenticated=function(){var e=\"user\";return this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),!!this[e]},r.isUnauthenticated=function(){return!this.isAuthenticated()}},{}],371:[function(e,t,n){var r=e(\"./authenticator\"),i=e(\"./strategies/session\");n=t.exports=new r,n.Passport=n.Authenticator=r,n.Strategy=e(\"passport-strategy\"),n.strategies={},n.strategies.SessionStrategy=i},{\"./authenticator\":367,\"./strategies/session\":374,\"passport-strategy\":365}],372:[function(e,t,n){var r=e(\"http\"),i=e(\"../http/request\"),o=e(\"../errors/authenticationerror\");t.exports=function(t,n,a,s){\"function\"==typeof a&&(s=a,a={}),a=a||{};var c=!0;return Array.isArray(n)||(n=[n],c=!1),function(u,p,l){function f(){if(s){if(c){var e=d.map(function(e){return e.challenge}),t=d.map(function(e){return e.status});return s(null,!1,e,t)}return s(null,!1,d[0].challenge,d[0].status)}var n,i=d[0]||{},f=i.challenge||{};if(a.failureFlash){var h=a.failureFlash;\"string\"==typeof h&&(h={type:\"error\",message:h}),h.type=h.type||\"error\";var m=h.type||f.type||\"error\";n=h.message||f.message||f,\"string\"==typeof n&&u.flash(m,n)}if(a.failureMessage&&(n=a.failureMessage,\"boolean\"==typeof n&&(n=f.message||f),\"string\"==typeof n&&(u.session.messages=u.session.messages||[],u.session.messages.push(n))),a.failureRedirect)return p.redirect(a.failureRedirect);for(var v,g,y=[],b=0,x=d.length;x>b;b++)i=d[b],f=i.challenge,g=i.status,v=v||g,\"string\"==typeof f&&y.push(f);return p.statusCode=v||401,401==p.statusCode&&y.length&&p.setHeader(\"WWW-Authenticate\",y),a.failWithError?l(new o(r.STATUS_CODES[p.statusCode],v)):void p.end(r.STATUS_CODES[p.statusCode])}r.IncomingMessage.prototype.logIn&&r.IncomingMessage.prototype.logIn!==i.logIn&&e(\"../framework/connect\").__monkeypatchNode();var d=[];!function h(e){var r=n[e];if(!r)return f();var i=t._strategy(r);if(!i)return l(new Error('Unknown authentication strategy \"'+r+'\"'));var o=Object.create(i);o.success=function(e,n){if(s)return s(null,e,n);n=n||{};var r;if(a.successFlash){var i=a.successFlash;\"string\"==typeof i&&(i={type:\"success\",message:i}),i.type=i.type||\"success\";var o=i.type||n.type||\"success\";r=i.message||n.message||n,\"string\"==typeof r&&u.flash(o,r)}return a.successMessage&&(r=a.successMessage,\"boolean\"==typeof r&&(r=n.message||n),\"string\"==typeof r&&(u.session.messages=u.session.messages||[],u.session.messages.push(r))),a.assignProperty?(u[a.assignProperty]=e,l()):void u.logIn(e,a,function(e){function r(){if(a.successReturnToOrRedirect){var e=a.successReturnToOrRedirect;return u.session&&u.session.returnTo&&(e=u.session.returnTo,delete u.session.returnTo),p.redirect(e)}return a.successRedirect?p.redirect(a.successRedirect):void l()}return e?l(e):void(a.authInfo!==!1?t.transformAuthInfo(n,u,function(e,t){return e?l(e):(u.authInfo=t,void r())}):r())})},o.fail=function(t,n){\"number\"==typeof t&&(n=t,t=void 0),d.push({challenge:t,status:n}),h(e+1)},o.redirect=function(e,t){p.statusCode=t||302,p.setHeader(\"Location\",e),p.setHeader(\"Content-Length\",\"0\"),p.end()},o.pass=function(){l()},o.error=function(e){return s?s(e):void l(e)},o.authenticate(u,a)}(0)}}},{\"../errors/authenticationerror\":368,\"../framework/connect\":369,\"../http/request\":370,http:void 0}],373:[function(e,t,n){t.exports=function(e){return function(t,n,r){t._passport={},t._passport.instance=e,t.session&&t.session[e._key]&&(t._passport.session=t.session[e._key]),r()}}},{}],374:[function(e,t,n){function r(){a.call(this),this.name=\"session\"}var i=e(\"pause\"),o=e(\"util\"),a=e(\"passport-strategy\");o.inherits(r,a),r.prototype.authenticate=function(e,t){if(!e._passport)return this.error(new Error(\"passport.initialize() middleware not in use\"));t=t||{};var n,r=this;if(e._passport.session&&(n=e._passport.session.user),n||0===n){var o=t.pauseStream?i(e):null;e._passport.instance.deserializeUser(n,e,function(t,n){if(t)return r.error(t);if(!n)return delete e._passport.session.user,r.pass(),void(o&&o.resume());var i=e._passport.instance._userProperty||\"user\";e[i]=n,r.pass(),o&&o.resume()})}else r.pass()},t.exports=r},{\"passport-strategy\":365,pause:376,util:void 0}],375:[function(e,t,n){function r(e,t,n){n=n||{},t=t||[];var o,a=n.strict,s=n.end!==!1,c=n.sensitive?\"\":\"i\",u=0,p=t.length,l=0,f=0;if(e instanceof RegExp){for(;o=i.exec(e.source);)t.push({name:f++,optional:!1,offset:o.index});return e}if(Array.isArray(e))return e=e.map(function(e){return r(e,t,n).source}),new RegExp(\"(?:\"+e.join(\"|\")+\")\",c);for(e=(\"^\"+e+(a?\"\":\"/\"===e[e.length-1]?\"?\":\"/?\")).replace(/\\/\\(/g,\"/(?:\").replace(/([\\/\\.])/g,\"\\\\$1\").replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g,function(e,n,r,i,o,a,s,c){n=n||\"\",r=r||\"\",o=o||\"([^\\\\/\"+r+\"]+?)\",s=s||\"\",t.push({name:i,optional:!!s,offset:c+u});var p=\"\"+(s?\"\":n)+\"(?:\"+r+(s?n:\"\")+o+(a?\"((?:[\\\\/\"+r+\"].+?)?)\":\"\")+\")\"+s;return u+=p.length-e.length,p}).replace(/\\*/g,function(e,n){for(var r=t.length;r-- >p&&t[r].offset>n;)t[r].offset+=3;return\"(.*)\"});o=i.exec(e);){for(var d=0,h=o.index;\"\\\\\"===e.charAt(--h);)d++;d%2!==1&&((p+l===t.length||t[p+l].offset>o.index)&&t.splice(p+l,0,{name:f++,optional:!1,offset:o.index}),l++)}return e+=s?\"$\":\"/\"===e[e.length-1]?\"\":\"(?=\\\\/|$)\",new RegExp(e,c)}t.exports=r;var i=/\\((?!\\?)/g},{}],376:[function(e,t,n){t.exports=function(e){var t,n,r=[];return e.on(\"data\",t=function(e,t){r.push([\"data\",e,t])}),e.on(\"end\",n=function(e,t){r.push([\"end\",e,t])}),{end:function(){e.removeListener(\"data\",t),e.removeListener(\"end\",n)},resume:function(){this.end();for(var t=0,n=r.length;n>t;++t)e.emit.apply(e,r[t])}}}},{}],377:[function(e,t,n){\"use strict\";t.exports=\"function\"==typeof Promise?Promise:e(\"pinkie\")},{pinkie:378}],378:[function(e,t,n){(function(e){\"use strict\";function n(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],m=!1}function r(e,t){k.push([e,t]),m||(m=!0,_(n,0))}function i(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(i){r(i)}}function o(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if(\"function\"==typeof i){n=y;try{r=i(r)}catch(c){u(o,c)}}a(o,r)||(n===y&&s(o,r),n===b&&u(o,r))}function a(e,t){var n;try{if(e===t)throw new TypeError(\"A promises callback cannot return that same promise.\");if(t&&(\"function\"==typeof t||\"object\"==typeof t)){var r=t.then;if(\"function\"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?c(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(i){return n||u(e,i),!0}return!1}function s(e,t){e!==t&&a(e,t)||c(e,t)}function c(e,t){e._state===v&&(e._state=g,e._data=t,r(l,e))}function u(e,t){e._state===v&&(e._state=g,e._data=t,r(f,e))}function p(e){e._then=e._then.forEach(o)}function l(e){e._state=y,p(e)}function f(t){t._state=b,p(t),!t._handled&&w&&e.process.emit(\"unhandledRejection\",t._data,t)}function d(t){e.process.emit(\"rejectionHandled\",t)}function h(e){if(\"function\"!=typeof e)throw new TypeError(\"Promise resolver \"+e+\" is not a function\");if(this instanceof h==!1)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],i(e,this)}var m,v=\"pending\",g=\"settled\",y=\"fulfilled\",b=\"rejected\",x=function(){},w=\"undefined\"!=typeof e&&\"undefined\"!=typeof e.process&&\"function\"==typeof e.process.emit,_=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,k=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(x),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===b&&w&&r(d,this)),this._state===y||this._state===b?r(o,n):this._then.push(n),n.then},\"catch\":function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.all().\");return new h(function(t,n){function r(e){return a++,function(n){o[e]=n,--a||t(o)}}for(var i,o=[],a=0,s=0;s<e.length;s++)i=e[s],i&&\"function\"==typeof i.then?i.then(r(s),n):o[s]=i;a||t(o)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.race().\");return new h(function(t,n){for(var r,i=0;i<e.length;i++)r=e[i],r&&\"function\"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],379:[function(e,t,n){\"use strict\";function r(e){for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];process.nextTick(function(){e.apply(null,t)})}!process.version||0===process.version.indexOf(\"v0.\")||0===process.version.indexOf(\"v1.\")&&0!==process.version.indexOf(\"v1.8.\")?t.exports=r:t.exports=process.nextTick},{}],380:[function(e,t,n){\"use strict\";function r(e,t){var n=d(e);if(!t)return n;\"function\"!=typeof t&&(t=i(t));for(var r=0;r<n.length-1;r++)t(n[r],r)||(n.length=r+1);return n}function i(e){if(!e)throw new TypeError(\"argument is required\");var t=\"string\"==typeof e?[e]:e;if(!Array.isArray(t))throw new TypeError(\"unsupported trust argument\");for(var n=0;n<t.length;n++)e=t[n],y.hasOwnProperty(e)&&(e=y[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return a(o(t))}function o(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=s(e[n]);return t}function a(e){var t=e.length;return 0===t?p:1===t?f(e[0]):l(e)}function s(e){var t,n,r,i,o=e.lastIndexOf(\"/\");if(t=-1!==o?e.substring(0,o):e,!v(t))throw new TypeError(\"invalid IP address: \"+t);if(t=g(t),n=t.kind(),r=\"ipv6\"===n?128:32,i=-1!==o?e.substring(o+1,e.length):r,\"number\"!=typeof i&&(i=m.test(i)?parseInt(i,10):v(i)?c(i):0),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()&&(t=t.toIPv4Address(),i=r>=i?i-96:i),0>=i||i>r)throw new TypeError(\"invalid range on address: \"+e);return[t,i]}function c(e){var t,n,r=g(e);switch(r.kind()){case\"ipv4\":t=r.octets,n=8;break;case\"ipv6\":t=r.parts,n=16}for(var i,o=Math.pow(2,n)-1,a=0,s=0;s<t.length;s++){i=t[s]&o;{if(i!==o){for(;i;)i=i<<1&o,a+=1;break}a+=n}}return a}function u(e,t){if(!e)throw new TypeError(\"req argument is required\");if(!t)throw new TypeError(\"trust argument is required\");var n=r(e,t),i=n[n.length-1];return i}function p(){return!1}function l(e){return function(t){if(!v(t))return!1;for(var n,r,i,o,a,s,c=g(t),u=c.kind(),p=0;p<e.length;p++){if(r=e[p],i=r[0],o=i.kind(),a=r[1],s=c,u!==o){if(\"ipv6\"!==u||\"ipv4\"!==o||!c.isIPv4MappedAddress())continue;n=n||c.toIPv4Address(),s=n}if(s.match(i,a))return!0}return!1}}function f(e){var t=e[0],n=t.kind(),r=\"ipv4\"===n,i=e[1];return function(e){if(!v(e))return!1;var o=g(e),a=o.kind();return a===n?o.match(t,i):r&&\"ipv6\"===a&&o.isIPv4MappedAddress()?o.toIPv4Address().match(t,i):!1}}t.exports=u,t.exports.all=r,t.exports.compile=i;var d=e(\"forwarded\"),h=e(\"ipaddr.js\"),m=/^[0-9]+$/,v=h.isValid,g=h.parse,y={linklocal:[\"169.254.0.0/16\",\"fe80::/10\"],loopback:[\"127.0.0.1/8\",\"::1/128\"],uniquelocal:[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\",\"fc00::/7\"]}},{forwarded:119,\"ipaddr.js\":158}],381:[function(e,t,n){\"pseudomap\"===process.env.npm_package_name&&\"test\"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP=\"true\"),\"function\"!=typeof Map||process.env.TEST_PSEUDOMAP?t.exports=e(\"./pseudomap\"):t.exports=Map},{\"./pseudomap\":382}],382:[function(e,t,n){function r(e){if(!(this instanceof r))throw new TypeError(\"Constructor PseudoMap requires 'new'\");if(this.clear(),e)if(e instanceof r||\"function\"==typeof Map&&e instanceof Map)e.forEach(function(e,t){this.set(t,e)},this);else{if(!Array.isArray(e))throw new TypeError(\"invalid argument\");e.forEach(function(e){this.set(e[0],e[1])},this)}}function i(e,t){return e===t||e!==e&&t!==t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var n=0,r=\"_\"+t,o=r;c.call(e,o);o=r+n++)if(i(e[o].key,t))return e[o]}function s(e,t,n){for(var r=0,a=\"_\"+t,s=a;c.call(e,s);s=a+r++)if(i(e[s].key,t))return void(e[s].value=n);e.size++,e[s]=new o(t,n,s)}var c=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.forEach=function(e,t){\nt=t||this,Object.keys(this._data).forEach(function(n){\"size\"!==n&&e.call(t,this._data[n].value,this._data[n].key)},this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){s(this._data,e,t)},r.prototype[\"delete\"]=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,\"_data\",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,\"size\",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error(\"iterators are not implemented in this version\")}},{}],383:[function(e,t,n){\"use strict\";var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":384,\"./stringify\":385}],384:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<i.length;++o){var a=i[o],s=-1===a.indexOf(\"]=\")?a.indexOf(\"=\"):a.indexOf(\"]=\")+1;if(-1===s)n[r.decode(a)]=\"\",t.strictNullHandling&&(n[r.decode(a)]=null);else{var c=r.decode(a.slice(0,s)),u=r.decode(a.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(u):n[c]=u}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10);!isNaN(s)&&o!==a&&String(s)===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"):e,o=/^([^\\[\\]]*)/,a=/(\\[[^\\[\\]]*\\])/g,s=o.exec(r),c=[];if(s[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var u=0;null!==(s=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push(\"[\"+r.slice(s.index)+\"]\"),i.parseObject(c,t,n)}},t.exports=function(e,t){var n=t||{};if(n.delimiter=\"string\"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth=\"number\"==typeof n.depth?n.depth:i.depth,n.arrayLimit=\"number\"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.allowDots=\"boolean\"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects=\"boolean\"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes=\"boolean\"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit=\"number\"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling=\"boolean\"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"==typeof e?i.parseValues(e,n):e,a=n.plainObjects?Object.create(null):{},s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],p=i.parseKeys(u,o[u],n);a=r.merge(a,p,n)}return r.compact(a)}},{\"./utils\":386}],385:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},strictNullHandling:!1,skipNulls:!1,encode:!0};i.stringify=function(e,t,n,o,a,s,c,u){var p=e;if(\"function\"==typeof c)p=c(t,p);else if(r.isBuffer(p))p=String(p);else if(p instanceof Date)p=p.toISOString();else if(null===p){if(o)return s?r.encode(t):t;p=\"\"}if(\"string\"==typeof p||\"number\"==typeof p||\"boolean\"==typeof p)return s?[r.encode(t)+\"=\"+r.encode(p)]:[t+\"=\"+p];var l=[];if(\"undefined\"==typeof p)return l;var f;if(Array.isArray(c))f=c;else{var d=Object.keys(p);f=u?d.sort(u):d}for(var h=0;h<f.length;++h){var m=f[h];a&&null===p[m]||(l=Array.isArray(p)?l.concat(i.stringify(p[m],n(t,m),n,o,a,s,c)):l.concat(i.stringify(p[m],t+\"[\"+m+\"]\",n,o,a,s,c)))}return l},t.exports=function(e,t){var n,r,o=e,a=t||{},s=\"undefined\"==typeof a.delimiter?i.delimiter:a.delimiter,c=\"boolean\"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,u=\"boolean\"==typeof a.skipNulls?a.skipNulls:i.skipNulls,p=\"boolean\"==typeof a.encode?a.encode:i.encode,l=\"function\"==typeof a.sort?a.sort:null;\"function\"==typeof a.filter?(r=a.filter,o=r(\"\",o)):Array.isArray(a.filter)&&(n=r=a.filter);var f=[];if(\"object\"!=typeof o||null===o)return\"\";var d;d=a.arrayFormat in i.arrayPrefixGenerators?a.arrayFormat:\"indices\"in a?a.indices?\"indices\":\"repeat\":\"indices\";var h=i.arrayPrefixGenerators[d];n||(n=Object.keys(o)),l&&n.sort(l);for(var m=0;m<n.length;++m){var v=n[m];u&&null===o[v]||(f=f.concat(i.stringify(o[v],v,h,c,u,p,r,l)))}return f.join(s)}},{\"./utils\":386}],386:[function(e,t,n){\"use strict\";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]=\"%\"+((16>t?\"0\":\"\")+t.toString(16)).toUpperCase();return e}();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t){if(Array.isArray(e))e.push(t);else{if(\"object\"!=typeof e)return[e,t];e[t]=!0}return e}if(\"object\"!=typeof e)return[e].concat(t);var i=e;return Array.isArray(e)&&!Array.isArray(t)&&(i=n.arrayToObject(e,r)),Object.keys(t).reduce(function(e,i){var o=t[i];return Object.prototype.hasOwnProperty.call(e,i)?e[i]=n.merge(e[i],o,r):e[i]=o,e},i)},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;for(var t=\"string\"==typeof e?e:String(e),n=\"\",i=0;i<t.length;++i){var o=t.charCodeAt(i);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?n+=t.charAt(i):128>o?n+=r[o]:2048>o?n+=r[192|o>>6]+r[128|63&o]:55296>o||o>=57344?n+=r[224|o>>12]+r[128|o>>6&63]+r[128|63&o]:(i+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),n+=r[240|o>>18]+r[128|o>>12&63]+r[128|o>>6&63]+r[128|63&o])}return n},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;var r=t||[],i=r.indexOf(e);if(-1!==i)return r[i];if(r.push(e),Array.isArray(e)){for(var o=[],a=0;a<e.length;++a)\"undefined\"!=typeof e[a]&&o.push(e[a]);return o}for(var s=Object.keys(e),c=0;c<s.length;++c){var u=s[c];e[u]=n.compact(e[u],r)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],387:[function(e,t,n){\"use strict\";function r(e,t){var n=!0,r=t.indexOf(\"=\");if(-1==r)return-2;var i=t.slice(r+1).split(\",\").map(function(t){var t=t.split(\"-\"),r=parseInt(t[0],10),i=parseInt(t[1],10);return isNaN(r)?(r=e-i,i=e-1):isNaN(i)&&(i=e-1),i>e-1&&(i=e-1),(isNaN(r)||isNaN(i)||r>i||0>r)&&(n=!1),{start:r,end:i}});return i.type=t.slice(0,r),n?i:-1}t.exports=r},{}],388:[function(e,t,n){t.exports=e(\"./lib/_stream_duplex.js\")},{\"./lib/_stream_duplex.js\":389}],389:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(u.call(this,e),p.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e(\"process-nextick-args\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\");var u=e(\"./_stream_readable\"),p=e(\"./_stream_writable\");c.inherits(r,u);for(var l=a(p.prototype),f=0;f<l.length;f++){var d=l[f];r.prototype[d]||(r.prototype[d]=p.prototype[d])}},{\"./_stream_readable\":390,\"./_stream_writable\":391,\"core-util-is\":77,inherits:157,\"process-nextick-args\":379}],390:[function(e,t,n){\"use strict\";function r(t,n){M=M||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof M&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=e(\"string_decoder/\").StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function i(t){return M=M||e(\"./_stream_duplex\"),this instanceof i?(this._readableState=new r(t,this),this.readable=!0,t&&\"function\"==typeof t.read&&(this._read=t.read),void A.call(this)):new i(t)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var c;!t.decoder||i||r||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&l(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=z?e=z:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return O.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,l(e)}}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(P(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?S(f,e):f(e))}function f(e){P(\"emit readable\"),e.emit(\"readable\"),b(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(P(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;P(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C(e,\"data\")&&(t.flowing=!0,b(e))}}function v(e){P(\"readable nexttick read 0\"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(P(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(P(\"flow\",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function x(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:O.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new O(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,S(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function k(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function j(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var S=e(\"process-nextick-args\"),E=e(\"isarray\"),O=e(\"buffer\").Buffer;i.ReadableState=r;var A,C=(e(\"events\"),function(e,t){return e.listeners(t).length});!function(){try{A=e(\"stream\")}catch(t){}finally{A||(A=e(\"events\").EventEmitter)}}();var O=e(\"buffer\").Buffer,T=e(\"core-util-is\");T.inherits=e(\"inherits\");var I=e(\"util\"),P=void 0;P=I&&I.debuglog?I.debuglog(\"stream\"):function(){};var F;T.inherits(i,A);var M,M;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new O(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.isPaused=function(){return this._readableState.flowing===!1},i.prototype.setEncoding=function(t){return F||(F=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new F(t),this._readableState.encoding=t,this};var z=8388608;i.prototype.read=function(e){P(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return P(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):l(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;P(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,P(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,P(\"reading or ended\",r)),r&&(P(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?x(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){P(\"onunpipe\"),e===p&&i()}function r(){P(\"onend\"),e.end()}function i(){P(\"cleanup\"),e.removeListener(\"close\",s),e.removeListener(\"finish\",c),e.removeListener(\"drain\",h),e.removeListener(\"error\",a),e.removeListener(\"unpipe\",n),p.removeListener(\"end\",r),p.removeListener(\"end\",i),p.removeListener(\"data\",o),v=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}function o(t){P(\"ondata\");var n=e.write(t);!1===n&&(1!==l.pipesCount||l.pipes[0]!==e||1!==p.listenerCount(\"data\")||v||(P(\"false write response, pause\",p._readableState.awaitDrain),p._readableState.awaitDrain++),p.pause())}function a(t){P(\"onerror\",t),u(),e.removeListener(\"error\",a),0===C(e,\"error\")&&e.emit(\"error\",t)}function s(){e.removeListener(\"finish\",c),u()}function c(){P(\"onfinish\"),e.removeListener(\"close\",s),u()}function u(){P(\"unpipe\"),p.unpipe(e)}var p=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,P(\"pipe count=%d opts=%j\",l.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,d=f?r:i;l.endEmitted?S(d):p.once(\"end\",d),e.on(\"unpipe\",n);var h=m(p);e.on(\"drain\",h);var v=!1;return p.on(\"data\",o),e._events&&e._events.error?E(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on(\"error\",a),e.once(\"close\",s),e.once(\"finish\",c),e.emit(\"pipe\",p),l.flowing||(P(\"pipe resume\"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var o=j(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(P(\"resume\"),e.flowing=!0,g(this,e)),this},i.prototype.pause=function(){return P(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(P(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(P(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(P(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return k(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){P(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=x},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:163,\"process-nextick-args\":379,\"string_decoder/\":456,util:void 0}],391:[function(e,t,n){\"use strict\";function r(){}function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function o(t,n){C=C||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof C&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},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 _(this),this.corkedRequestsFree.next=new _(this)}function a(t){return C=C||e(\"./_stream_duplex\"),this instanceof a||this instanceof C?(this._writableState=new o(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev)),void O.call(this)):new a(t)}function s(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),k(t,n)}function c(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),k(r,o),i=!1}return i}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new S(t,n)),t}function p(e,t,n,r,o){n=u(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new i(n,r,o),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else l(e,t,!1,a,n,r,o);return s}function l(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,r,i){--t.pendingcb,n?k(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(d(n),t)f(e,n,r,t,i);else{var o=y(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||g(e,n),r?j(m,e,n,o,i):m(e,n,o,i)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),x(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function g(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;l(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,c=n.encoding,u=n.callback,p=t.objectMode?1:s.length;if(l(e,t,!1,p,s,c,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function y(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function x(e,t){var n=y(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function w(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?k(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function _(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var k=e(\"process-nextick-args\"),j=!process.browser&&[\"v0.10\",\"v0.9.\"].indexOf(process.version.slice(0,5))>-1?setImmediate:k,S=e(\"buffer\").Buffer;a.WritableState=o;var E=e(\"core-util-is\");E.inherits=e(\"inherits\");var O,A={deprecate:e(\"util-deprecate\")};!function(){try{O=e(\"stream\")}catch(t){}finally{O||(O=e(\"events\").EventEmitter)}}();var S=e(\"buffer\").Buffer;E.inherits(a,O);var C;o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var C;a.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},a.prototype.write=function(e,t,n){var i=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=r),i.ended?s(this,n):c(this,i,e,n)&&(i.pendingcb++,o=p(this,i,e,t,n)),o},a.prototype.cork=function(){var e=this._writableState;e.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||g(this,e))},a.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},a.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,\"process-nextick-args\":379,\"util-deprecate\":530}],392:[function(e,t,n){function r(e){return\"object\"==typeof e&&\"[object RegExp]\"==i.call(e)}var i=Object.prototype.toString;t.exports=n=function(e){if(!r(e))throw new TypeError(\"Not a RegExp\");var t=[];return e.global&&t.push(\"g\"),e.multiline&&t.push(\"m\"),e.ignoreCase&&t.push(\"i\"),new RegExp(e.source,t.join(\"\"))}},{}],393:[function(e,t,n){\"use strict\";function r(e,t,n){\"function\"==typeof t&&(n=t);var r={};return\"object\"==typeof t?s(r,t,{uri:e}):\"string\"==typeof e?s(r,{uri:e}):s(r,e),r.callback=n,r}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);if(\"HEAD\"===o.method&&l(o))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return new i.Request(o)}function o(e){var t=\"del\"===e?\"DELETE\":e.toUpperCase();return function(e,n,o){var a=r(e,n,o);return a.method=t,i(a,a.callback)}}function a(e,t,n,i){return function(o,a,c){var u=r(o,a,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=\"del\"===i?\"DELETE\":i.toUpperCase()),p(n)&&(e=n),e(l,l.callback)}}var s=e(\"extend\"),c=e(\"./lib/cookies\"),u=e(\"./lib/helpers\"),p=u.isFunction,l=u.paramsHaveRequestBody;i.get=o(\"get\"),i.head=o(\"head\"),i.post=o(\"post\"),i.put=o(\"put\"),i.patch=o(\"patch\"),i.del=o(\"del\"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var n=this;e=e||{},\"function\"==typeof e&&(t=e,e={});var r=a(n,e,t),i=[\"get\",\"head\",\"post\",\"put\",\"patch\",\"del\"];return i.forEach(function(i){r[i]=a(n[i],e,t,i)}),r.cookie=a(n.cookie,e,t),r.jar=n.jar,r.defaults=n.defaults,r},i.forever=function(e,t){var n={};return t&&s(n,t),e&&(n.agentOptions=e),n.forever=!0,i.defaults(n)},t.exports=i,i.Request=e(\"./request\"),i.initParams=r,Object.defineProperty(i,\"debug\",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{\"./lib/cookies\":395,\"./lib/helpers\":398,\"./request\":405,extend:404}],394:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e(\"caseless\"),o=e(\"node-uuid\"),a=e(\"./helpers\"),s=a.md5,c=a.toBase64;r.prototype.basic=function(e,t,n){var r=this;(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)&&r.request.emit(\"error\",new Error(\"auth() received invalid user or password\")),r.user=e,r.pass=t,r.hasAuth=!0;var i=e+\":\"+(t||\"\");if(n||\"undefined\"==typeof n){var o=\"Basic \"+c(i);return r.sentAuth=!0,o}},r.prototype.bearer=function(e,t){var n=this;if(n.bearerToken=e,n.hasAuth=!0,t||\"undefined\"==typeof t){\"function\"==typeof e&&(e=e());var r=\"Bearer \"+(e||\"\");return n.sentAuth=!0,r}},r.prototype.digest=function(e,t,n){for(var r=this,i={},a=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var c=a.exec(n);if(!c)break;i[c[1]]=c[2]||c[3]}var u=function(e,t,n,r,i,o){var a=s(t+\":\"+n+\":\"+r);return e&&\"md5-sess\"===e.toLowerCase()?s(a+\":\"+i+\":\"+o):a},p=/(^|,)\\s*auth\\s*($|,)/.test(i.qop)&&\"auth\",l=p&&\"00000001\",f=p&&o().replace(/-/g,\"\"),d=u(i.algorithm,r.user,i.realm,r.pass,i.nonce,f),h=s(e+\":\"+t),m=s(p?d+\":\"+i.nonce+\":\"+l+\":\"+f+\":\"+p+\":\"+h:d+\":\"+i.nonce+\":\"+h),v={username:r.user,realm:i.realm,nonce:i.nonce,uri:t,qop:p,response:m,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};n=[];for(var g in v)v[g]&&(\"qop\"===g||\"nc\"===g||\"algorithm\"===g?n.push(g+\"=\"+v[g]):n.push(g+'=\"'+v[g]+'\"'));return n=\"Digest \"+n.join(\", \"),r.sentAuth=!0,n},r.prototype.onRequest=function(e,t,n,r){var i,o=this,a=o.request;void 0===r&&void 0===e?o.request.emit(\"error\",new Error(\"no auth mechanism defined\")):i=void 0!==r?o.bearer(r,n):o.basic(e,t,n),i&&a.setHeader(\"authorization\",i)},r.prototype.onResponse=function(e){var t=this,n=t.request;if(!t.hasAuth||t.sentAuth)return null;var r=i(e.headers),o=r.get(\"www-authenticate\"),a=o&&o.split(\" \")[0].toLowerCase();switch(n.debug(\"reauth\",a),a){case\"basic\":return t.basic(t.user,t.pass,!0);case\"bearer\":return t.bearer(t.bearerToken,!0);case\"digest\":return t.digest(n.method,n.path,o)}},n.Auth=r},{\"./helpers\":398,caseless:71,\"node-uuid\":361}],395:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e,{looseMode:!0})}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e,{loose:!0})},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],396:[function(e,t,n){\"use strict\";function r(e){return e.replace(/^\\.*/,\".\").toLowerCase()}function i(e){e=e.trim().toLowerCase();var t=e.split(\":\",2),n=r(t[0]),i=t[1],o=e.indexOf(\":\")>-1;return{hostname:n,port:i,hasPort:o}}function o(e,t){var n=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),o=r(e.hostname),a=t.split(\",\");return a.map(i).some(function(e){var t=o.indexOf(e.hostname),r=t>-1&&t===o.length-e.hostname.length;return e.hasPort?n===e.port&&r:r})}function a(e){var t=process.env.NO_PROXY||process.env.no_proxy||\"\";return\"*\"===t?null:\"\"!==t&&o(e,t)?null:\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}t.exports=a},{}],397:[function(e,t,n){\"use strict\";function r(e){this.request=e}var i=e(\"fs\"),o=e(\"querystring\"),a=e(\"har-validator\"),s=e(\"extend\");r.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var n=[e[t.name],t.value];return e[t.name]=n,e},r.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var n=e.cookies.map(function(e){return e.name+\"=\"+e.value});n.length&&(e.headersObj.cookie=n.join(\"; \"))}if(t([\"multipart/mixed\",\"multipart/related\",\"multipart/form-data\",\"multipart/alternative\"]))e.postData.mimeType=\"multipart/form-data\";else if(t([\"application/x-www-form-urlencoded\"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=o.stringify(e.postData.paramsObj)):e.postData.text=\"\";else if(t([\"text/json\",\"text/x-json\",\"application/json\",\"application/x-json\"])&&(e.postData.mimeType=\"application/json\",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(r){this.request.debug(r),e.postData.mimeType=\"text/plain\"}return e},r.prototype.options=function(e){function t(e){return 0===r.postData.mimeType.indexOf(e)}if(!e.har)return e;var n={};if(s(n,e.har),n.log&&n.log.entries&&(n=n.log.entries[0]),n.url=n.url||e.url||e.uri||e.baseUrl||\"/\",n.httpVersion=n.httpVersion||\"HTTP/1.1\",n.queryString=n.queryString||[],n.headers=n.headers||[],n.cookies=n.cookies||[],n.postData=n.postData||{},n.postData.mimeType=n.postData.mimeType||\"application/octet-stream\",n.bodySize=0,n.headersSize=0,n.postData.size=0,!a.request(n))return e;var r=this.prep(n);return r.url&&(e.url=r.url),r.method&&(e.method=r.method),Object.keys(r.queryObj).length&&(e.qs=r.queryObj),Object.keys(r.headersObj).length&&(e.headers=r.headersObj),t(\"application/x-www-form-urlencoded\")?e.form=r.postData.paramsObj:t(\"application/json\")?r.postData.jsonObj&&(e.body=r.postData.jsonObj,e.json=!0):t(\"multipart/form-data\")?(e.formData={},r.postData.params.forEach(function(t){var n={};return t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?n.value=i.createReadStream(t.fileName):t.value&&(n.value=t.value),t.fileName&&(n.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),void(e.formData[t.name]=n)):void(e.formData[t.name]=t.value)})):r.postData.text&&(e.body=r.postData.text),e},n.Har=r},{extend:404,fs:void 0,\"har-validator\":124,querystring:void 0}],398:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return\"function\"==typeof e}function o(e){return e.body||e.requestBodyStream||e.json&&\"boolean\"!=typeof e.json||e.multipart}function a(e){var t;try{t=JSON.stringify(e)}catch(n){t=f(e)}return t}function s(e){return d.createHash(\"md5\").update(e).digest(\"hex\")}\nfunction c(e){return e.readable&&e.path&&e.mode}function u(e){return new t(e||\"\",\"utf8\").toString(\"base64\")}function p(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function l(){var e=process.version.replace(\"v\",\"\").split(\".\");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}var f=e(\"json-stringify-safe\"),d=e(\"crypto\");n.isFunction=i,n.paramsHaveRequestBody=o,n.safeStringify=a,n.md5=s,n.isReadStream=c,n.toBase64=u,n.copy=p,n.version=l,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173}],399:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e(\"node-uuid\"),o=e(\"combined-stream\"),a=e(\"isstream\");r.prototype.isChunked=function(e){var t=this,n=!1,r=e.data||e;return r.forEach||t.request.emit(\"error\",new Error(\"Argument error, options.multipart.\")),void 0!==e.chunked&&(n=e.chunked),\"chunked\"===t.request.getHeader(\"transfer-encoding\")&&(n=!0),n||r.forEach(function(e){\"undefined\"==typeof e.body&&t.request.emit(\"error\",new Error(\"Body attribute missing in multipart.\")),a(e.body)&&(n=!0)}),n},r.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader(\"transfer-encoding\")&&t.request.setHeader(\"transfer-encoding\",\"chunked\");var n=t.request.getHeader(\"content-type\");n&&-1!==n.indexOf(\"multipart\")?-1!==n.indexOf(\"boundary\")?t.boundary=n.replace(/.*boundary=([^\\s;]+).*/,\"$1\"):t.request.setHeader(\"content-type\",n+\"; boundary=\"+t.boundary):t.request.setHeader(\"content-type\",\"multipart/related; boundary=\"+t.boundary)},r.prototype.build=function(e,n){function r(e){return\"number\"==typeof e&&(e=e.toString()),n?a.append(e):a.push(new t(e))}var i=this,a=n?new o:[];return i.request.preambleCRLF&&r(\"\\r\\n\"),e.forEach(function(e){var t=\"--\"+i.boundary+\"\\r\\n\";Object.keys(e).forEach(function(n){\"body\"!==n&&(t+=n+\": \"+e[n]+\"\\r\\n\")}),t+=\"\\r\\n\",r(t),r(e.body),r(\"\\r\\n\")}),r(\"--\"+i.boundary+\"--\"),i.request.postambleCRLF&&r(\"\\r\\n\"),a},r.prototype.onRequest=function(e){var t=this,n=t.isChunked(e),r=e.data||e;t.setHeaders(n),t.chunked=n,t.body=t.build(r,n)},n.Multipart=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"combined-stream\":72,isstream:164,\"node-uuid\":361}],400:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.params=null}var i=e(\"url\"),o=e(\"qs\"),a=e(\"caseless\"),s=e(\"node-uuid\"),c=e(\"oauth-sign\"),u=e(\"crypto\");r.prototype.buildParams=function(e,t,n,r,i,o){var a={};for(var u in e)a[\"oauth_\"+u]=e[u];a.oauth_version||(a.oauth_version=\"1.0\"),a.oauth_timestamp||(a.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),a.oauth_nonce||(a.oauth_nonce=s().replace(/-/g,\"\")),a.oauth_signature_method||(a.oauth_signature_method=\"HMAC-SHA1\");var p=a.oauth_consumer_secret||a.oauth_private_key;delete a.oauth_consumer_secret,delete a.oauth_private_key;var l=a.oauth_token_secret;delete a.oauth_token_secret;var f=a.oauth_realm;delete a.oauth_realm,delete a.oauth_transport_method;var d=t.protocol+\"//\"+t.host+t.pathname,h=o.parse([].concat(r,i,o.stringify(a)).join(\"&\"));return a.oauth_signature=c.sign(a.oauth_signature_method,n,d,h,p,l),f&&(a.realm=f),a},r.prototype.buildBodyHash=function(e,n){[\"HMAC-SHA1\",\"RSA-SHA1\"].indexOf(e.signature_method||\"HMAC-SHA1\")<0&&this.request.emit(\"error\",new Error(\"oauth: \"+e.signature_method+\" signature_method not supported with body_hash signing.\"));var r=u.createHash(\"sha1\");r.update(n||\"\");var i=r.digest(\"hex\");return new t(i).toString(\"base64\")},r.prototype.concatParams=function(e,t,n){n=n||\"\";var r=Object.keys(e).filter(function(e){return\"realm\"!==e&&\"oauth_signature\"!==e}).sort();return e.realm&&r.splice(0,0,\"realm\"),r.push(\"oauth_signature\"),r.map(function(t){return t+\"=\"+n+c.rfc3986(e[t])+n}).join(t)},r.prototype.onRequest=function(e){var t=this;t.params=e;var n,r,s=t.request.uri||{},c=t.request.method||\"\",u=a(t.request.headers),p=t.request.body||\"\",l=t.request.qsLib||o,f=u.get(\"content-type\")||\"\",d=\"application/x-www-form-urlencoded\",h=e.transport_method||\"header\";f.slice(0,d.length)===d&&(f=d,n=p),s.query&&(r=s.query),\"body\"!==h||\"POST\"===c&&f===d||t.request.emit(\"error\",new Error(\"oauth: transport_method of body requires POST and content-type \"+d)),n||\"boolean\"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,r,n,l);switch(h){case\"header\":t.request.setHeader(\"Authorization\",\"OAuth \"+t.concatParams(m,\",\",'\"'));break;case\"query\":var v=t.request.uri.href+=(r?\"&\":\"?\")+t.concatParams(m,\"&\");t.request.uri=i.parse(v),t.request.path=t.request.uri.path;break;case\"body\":t.request.body=(n?n+\"&\":\"\")+t.concatParams(m,\"&\");break;default:t.request.emit(\"error\",new Error(\"oauth: transport_method invalid\"))}},n.OAuth=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,caseless:71,crypto:void 0,\"node-uuid\":361,\"oauth-sign\":362,qs:383,url:void 0}],401:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e(\"qs\"),o=e(\"querystring\");r.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?o:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},r.prototype.unescape=o.unescape,n.Querystring=r},{qs:383,querystring:void 0}],402:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e(\"url\"),o=/^https?:/;r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),\"function\"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader)},r.prototype.redirectTo=function(e){var t=this,n=t.request,r=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var i=e.caseless.get(\"location\");if(n.debug(\"redirect\",i),t.followAllRedirects)r=i;else if(t.followRedirects)switch(n.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:r=i}}else if(401===e.statusCode){var o=n._auth.onResponse(e);o&&(n.setHeader(\"authorization\",o),r=n.uri)}return r},r.prototype.onResponse=function(e){var t=this,n=t.request,r=t.redirectTo(e);if(!r||!t.allowRedirect.call(n,e))return!1;if(n.debug(\"redirect to\",r),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return n.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+n.uri.href)),!1;t.redirectsFollowed+=1,o.test(r)||(r=i.resolve(n.uri.href,r));var a=n.uri;return n.uri=i.parse(r),n.uri.protocol!==a.protocol&&delete n.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:r}),t.followAllRedirects&&\"HEAD\"!==n.method&&401!==e.statusCode&&307!==e.statusCode&&(n.method=\"GET\"),delete n.src,delete n.req,delete n._started,401!==e.statusCode&&307!==e.statusCode&&(delete n.body,delete n._form,n.headers&&(n.removeHeader(\"host\"),n.removeHeader(\"content-type\"),n.removeHeader(\"content-length\"),n.uri.hostname!==n.originalHost.split(\":\")[0]&&n.removeHeader(\"authorization\"))),t.removeRefererHeader||n.setHeader(\"referer\",a.href),n.emit(\"redirect\"),n.init(),!0},n.Redirect=r},{url:void 0}],403:[function(e,t,n){\"use strict\";function r(e){var t=e.port,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function i(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function o(e,t){var n=e.proxy,r={proxy:{host:n.hostname,port:+n.port,proxyAuth:n.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return r}function a(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function s(e){var t=e.uri,n=e.proxy,r=a(t,n);return p[r]}function c(e){this.request=e,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[],\"undefined\"!=typeof e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e(\"url\"),p=e(\"tunnel-agent\"),l=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"user-agent\",\"via\"],f=[\"proxy-authorization\"];c.prototype.isEnabled=function(){var e=this,t=e.request;return\"undefined\"!=typeof e.tunnelOverride?e.tunnelOverride:\"https:\"===t.uri.protocol},c.prototype.setup=function(e){var t=this,n=t.request;if(e=e||{},\"string\"==typeof n.proxy&&(n.proxy=u.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a=t.proxyHeaderExclusiveList.concat(f),c=t.proxyHeaderWhiteList.concat(a),p=i(n.headers,c);p.host=r(n.uri),a.forEach(n.removeHeader,n);var l=s(n),d=o(n,p);return n.agent=l(d),!0},c.defaultProxyHeaderWhiteList=l,c.defaultProxyHeaderExclusiveList=f,n.Tunnel=c},{\"tunnel-agent\":465,url:void 0}],404:[function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===i.call(e)},a=function(e){if(!e||\"[object Object]\"!==i.call(e))return!1;var t=r.call(e,\"constructor\"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return\"undefined\"==typeof o||r.call(e,o)};t.exports=function s(){var e,t,n,r,i,c,u=arguments[0],p=1,l=arguments.length,f=!1;for(\"boolean\"==typeof u?(f=u,u=arguments[1]||{},p=2):(\"object\"!=typeof u&&\"function\"!=typeof u||null==u)&&(u={});l>p;++p)if(e=arguments[p],null!=e)for(t in e)n=u[t],r=e[t],u!==r&&(f&&r&&(a(r)||(i=o(r)))?(i?(i=!1,c=n&&o(n)?n:[]):c=n&&a(n)?n:{},u[t]=s(f,c,r)):\"undefined\"!=typeof r&&(u[t]=r));return u}},{}],405:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function s(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function c(e){var t=this;e.har&&(t._har=new I(t),e=t._har.options(e)),h.Stream.call(t);var n=Object.keys(c.prototype),o=r(n,e);S(t,o),e=i(n,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new T(t),t._auth=new P(t),t._oauth=new F(t),t._multipart=new M(t),t._redirect=new z(t),t._tunnel=new B(t),t.init(e)}function u(){c.debug&&console.error(\"REQUEST %s\",d.format.apply(d,arguments))}var p=e(\"http\"),l=e(\"https\"),f=e(\"url\"),d=e(\"util\"),h=e(\"stream\"),m=e(\"zlib\"),v=e(\"bl\"),g=e(\"hawk\"),y=e(\"aws-sign2\"),b=e(\"http-signature\"),x=e(\"mime-types\"),w=e(\"stringstream\"),_=e(\"caseless\"),k=e(\"forever-agent\"),j=e(\"form-data\"),S=e(\"extend\"),E=e(\"is-typedarray\").strict,O=e(\"./lib/helpers\"),A=e(\"./lib/cookies\"),C=e(\"./lib/getProxyFromURI\"),T=e(\"./lib/querystring\").Querystring,I=e(\"./lib/har\").Har,P=e(\"./lib/auth\").Auth,F=e(\"./lib/oauth\").OAuth,M=e(\"./lib/multipart\").Multipart,z=e(\"./lib/redirect\").Redirect,B=e(\"./lib/tunnel\").Tunnel,N=O.safeStringify,D=O.isReadStream,q=O.toBase64,R=O.defer,L=O.copy,$=O.version,U=A.jar(),H={};d.inherits(c,h.Stream),c.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),c.prototype.debug=u,c.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=new n(r.body)),!r.hasHeader(\"content-length\")){var e;e=\"string\"==typeof r.body?n.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length,e?r.setHeader(\"content-length\",e):r.emit(\"error\",new Error(\"Argument error, options.body.\"))}}var r=this;e||(e={}),r.headers=r.headers?L(r.headers):{};for(var i in r.headers)\"undefined\"==typeof r.headers[i]&&delete r.headers[i];if(_.httpify(r,r.headers),r.method||(r.method=e.method||\"GET\"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),u(e),r.pool||r.pool===!1||(r.pool=H),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on(\"error\",r.callback.bind()),r.on(\"complete\",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if(\"string\"!=typeof r.baseUrl)return r.emit(\"error\",new Error(\"options.baseUrl must be a string\"));if(\"string\"!=typeof r.uri)return r.emit(\"error\",new Error(\"options.uri must be a string when using options.baseUrl\"));if(0===r.uri.indexOf(\"//\")||-1!==r.uri.indexOf(\"://\"))return r.emit(\"error\",new Error(\"options.uri must be a path when using options.baseUrl\"));var o=r.baseUrl.lastIndexOf(\"/\")===r.baseUrl.length-1,a=0===r.uri.indexOf(\"/\");o&&a?r.uri=r.baseUrl+r.uri.slice(1):o||a?r.uri=r.baseUrl+r.uri:\"\"===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+\"/\"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),\"unix:\"===r.uri.protocol)return r.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===r.uri.host&&r.enableUnixSocket(),r.strictSSL===!1&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname=\"/\"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var s=f.format(r.uri),c='Invalid URI \"'+s+'\"';return 0===Object.keys(e).length&&(c+=\". This can be caused by a crappy redirection.\"),r.abort(),r.emit(\"error\",new Error(c))}if(r.hasOwnProperty(\"proxy\")||(r.proxy=C(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader(\"host\")){var d=r.originalHostHeaderName||\"host\";r.setHeader(d,r.uri.hostname),r.uri.port&&(80===r.uri.port&&\"http:\"===r.uri.protocol||443===r.uri.port&&\"https:\"===r.uri.protocol||r.setHeader(d,r.getHeader(\"host\")+(\":\"+r.uri.port))),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||(\"http:\"===r.uri.protocol?r.uri.port=80:\"https:\"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var h=e.formData,m=r.form(),v=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?m.append(e,t.value,t.options):m.append(e,t)};for(var g in h)if(h.hasOwnProperty(g)){var y=h[g];if(y instanceof Array)for(var b=0;b<y.length;b++)v(g,y[b]);else v(g,y)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||\"\"),0===r.path.length&&(r.path=\"/\"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader(\"accept-encoding\")&&r.setHeader(\"accept-encoding\",\"gzip\"),r.uri.auth&&!r.hasHeader(\"authorization\")){var w=r.uri.auth.split(\":\").map(function(e){return r._qs.unescape(e)});r.auth(w[0],w.slice(1).join(\":\"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader(\"proxy-authorization\")){var j=r.proxy.auth.split(\":\").map(function(e){return r._qs.unescape(e)}),S=\"Basic \"+q(j.join(\":\"));r.setHeader(\"proxy-authorization\",S)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+\"//\"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader(\"authorization\")&&r.oauth(r._oauth.params);var O=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={\"http:\":p,\"https:\":l},T=r.httpModules||{};if(r.httpModule=T[O]||A[O],!r.httpModule)return r.emit(\"error\",new Error(\"Invalid protocol: \"+O));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var I=$();0===I.major&&I.minor<=10?r.agentClass=\"http:\"===O?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;r.pool===!1?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on(\"pipe\",function(e){if(r.ntick&&r._started&&r.emit(\"error\",new Error(\"You cannot pipe to this stream after the outbound request has started.\")),r.src=e,D(e))r.hasHeader(\"content-type\")||r.setHeader(\"content-type\",x.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader(\"content-type\")&&r.setHeader(\"content-type\",\"application/json\"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),R(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end();else if(r.requestBodyStream)console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();\"GET\"!==r.method&&\"undefined\"!=typeof r.method&&r.setHeader(\"content-length\",0),r.end()}};r._form&&!r.hasHeader(\"content-length\")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader(\"content-length\",n),e()})):e(),r.ntick=!0}})},c.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert),e.pfx&&(n.pfx=e.pfx),e.passphrase&&(n.passphrase=e.passphrase);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=f.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i&&(i+=\":\"),i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.pfx&&(i&&(i+=\":\"),i+=n.pfx.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===H&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},c.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=L(e);if(delete t.auth,u(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timing&&(e.startTime=(new Date).getTime()),e.timeout&&!e.timeoutTimer){var n=e.timeout<0?0:e.timeout;e.timeoutTimer=setTimeout(function(){var t=e.req.socket&&e.req.socket.readable===!1;e.abort();var n=new Error(\"ETIMEDOUT\");n.code=\"ETIMEDOUT\",n.connect=t,e.emit(\"error\",n)},n),e.req.setTimeout&&e.req.setTimeout(n,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",t.connect=!1,e.emit(\"error\",t)}})}e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",o)}),e.emit(\"request\",e.req)}},c.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},c.prototype.onRequestResponse=function(e){var t=this;if(u(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){t.timing&&(t.elapsedTime+=(new Date).getTime()-t.startTime,u(\"elapsed time\",t.elapsedTime),e.elapsedTime=t.elapsedTime),u(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(o)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",o)),t._aborted)return u(\"aborted\",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=s,t.httpModule===l&&t.strictSSL&&(!e.hasOwnProperty(\"socket\")||!e.socket.authorized)){u(\"strict ssl error\",t.uri.href);var n=e.hasOwnProperty(\"socket\")?e.socket.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+n))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:U,i=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=_(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(i):i(e.headers[a])}if(!t._redirect.onResponse(e)){e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var c;if(t.gzip){var p=e.headers[\"content-encoding\"]||\"identity\";p=p.trim().toLowerCase(),\"gzip\"===p?(c=m.createGunzip(),e.pipe(c)):(\"identity\"!==p&&u(\"ignoring unrecognized Content-Encoding \"+p),c=e)}else c=e;t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):c.setEncoding?c.setEncoding(t.encoding):c=c.pipe(w(t.encoding))),t._paused&&c.pause(),t.responseContent=c,t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),c.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),c.on(\"end\",function(e){t.emit(\"end\",e)}),c.on(\"error\",function(e){t.emit(\"error\",e)}),c.on(\"close\",function(){t.emit(\"close\")}),t.callback?t.readResponseBody(e):t.on(\"end\",function(){return t._aborted?void u(\"aborted\",t.uri.href):void t.emit(\"complete\",e)}),u(\"finish init function\",t.uri.href)}},c.prototype.readResponseBody=function(e){var t=this;u(\"reading response's body\");var r=v(),i=[];t.on(\"data\",function(e){n.isBuffer(e)?r.append(e):i.push(e)}),t.on(\"end\",function(){if(u(\"end event\",t.uri.href),t._aborted)return void u(\"aborted\",t.uri.href);if(r.length?(u(\"has body\",t.uri.href,r.length),null===t.encoding?e.body=r.slice():e.body=r.toString(t.encoding)):i.length&&(\"utf8\"===t.encoding&&i[0].length>0&&\"\\ufeff\"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(o){u(\"invalid JSON received\",t.uri.href)}u(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=null===t.encoding?new n(0):\"\"),t.emit(\"complete\",e,e.body)})},c.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit(\"abort\")},c.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},c.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r._qs.parse(r.uri.query):{};for(var i in e)n[i]=e[i];var o=r._qs.stringify(n);return\"\"===o?r:(r.uri=f.parse(r.uri.href.split(\"?\")[0]+\"?\"+o),r.url=r.uri,r.path=r.uri.path,\"unix\"===r.uri.host&&r.enableUnixSocket(),r)},c.prototype.form=function(e){var t=this;return e?(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))||t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?t._qs.rfc3986(e.toString(\"utf8\")):t._qs.stringify(e).toString(\"utf8\"),t):(t._form=new j,t._form.on(\"error\",function(e){e.message=\"form-data: \"+e.message,t.emit(\"error\",e),t.abort()}),t._form)},c.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},c.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))?t.body=t._qs.rfc3986(t.body):t.body=N(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=N(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},c.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n},c.prototype.enableUnixSocket=function(){var e=this.uri.path.split(\":\"),t=e[0],n=e[1];this.socketPath=t,this.uri.pathname=n,this.uri.path=n,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},c.prototype.auth=function(e,t,n,r){var i=this;return i._auth.onRequest(e,t,n,r),i},c.prototype.aws=function(t,n){var r=this;if(!n)return r._aws=t,r;if(4==t.sign_version||\"4\"==t.sign_version){var i=e(\"aws4\"),o={host:r.uri.host,path:r.uri.path,method:r.method,headers:{\"content-type\":r.getHeader(\"content-type\")||\"\"},body:r.body},a=i.sign(o,{accessKeyId:t.key,secretAccessKey:t.secret});r.setHeader(\"authorization\",a.headers.Authorization),r.setHeader(\"x-amz-date\",a.headers[\"X-Amz-Date\"])}else{var s=new Date;r.setHeader(\"date\",s.toUTCString());var c={key:t.key,secret:t.secret,verb:r.method.toUpperCase(),date:s,contentType:r.getHeader(\"content-type\")||\"\",md5:r.getHeader(\"content-md5\")||\"\",amazonHeaders:y.canonicalizeHeaders(r.headers)},u=r.uri.path;t.bucket&&u?c.resource=\"/\"+t.bucket+u:t.bucket&&!u?c.resource=\"/\"+t.bucket:!t.bucket&&u?c.resource=u:t.bucket||u||(c.resource=\"/\"),c.resource=y.canonicalizeResource(c.resource),r.setHeader(\"authorization\",y.authorization(c))}return r},c.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),u(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},c.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",g.client.header(t.uri,t.method,e).field)},c.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},c.prototype.jar=function(e){var t,n=this;if(0===n._redirect.redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:U,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},c.prototype.pipe=function(e,t){var n=this;if(!n.response)return n.dests.push(e),h.Stream.prototype.pipe.call(n,e,t),e;if(n._destdata)n.emit(\"error\",new Error(\"You cannot pipe after data has been emitted from the response.\"));else{if(!n._ended)return h.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e;n.emit(\"error\",new Error(\"You cannot pipe after the response has been ended.\"))}},c.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req.write.apply(e.req,arguments)},c.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req.end())},c.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},c.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},c.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},c.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),c.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),c.prototype.toJSON=a,t.exports=c}).call(this,e(\"buffer\").Buffer)},{\"./lib/auth\":394,\"./lib/cookies\":395,\"./lib/getProxyFromURI\":396,\"./lib/har\":397,\"./lib/helpers\":398,\"./lib/multipart\":399,\"./lib/oauth\":400,\"./lib/querystring\":401,\"./lib/redirect\":402,\"./lib/tunnel\":403,\"aws-sign2\":12,aws4:13,bl:14,buffer:void 0,caseless:71,extend:404,\"forever-agent\":116,\"form-data\":117,hawk:144,http:void 0,\"http-signature\":152,https:void 0,\"is-typedarray\":162,\"mime-types\":184,stream:void 0,stringstream:457,url:void 0,util:void 0,zlib:void 0}],406:[function(e,t,n){(function(n){var r=e(\"path\"),i=e(\"fs\"),o=e(\"util\").format,a=e(\"resolve-from\"),s=e(\"semver\"),c=i.existsSync||r.existsSync,u=function(e){for(var t=!1;!t;)if(c(e+\"/package.json\"))t=e;else{if(\"/\"===e)return!1;e=r.dirname(e)}return e},p=function(r,c){c=c||{},c.strict=\"boolean\"==typeof c.strict?c.strict:!0;var p=n;t.parent&&(p=t.parent.filename);var p=u(p);if(!p)throw new Error(\"package.json can not be located\");var l=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),f=r.split(/\\//);if(!l.peerOptionalDependencies)throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));if(l.peerOptionalDependencies&&!l.peerOptionalDependencies[f[0]])throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));var d=l.peerOptionalDependencies[f[0]],h=void 0,m=r;try{h=e(m)}catch(v){try{if(m=a(process.cwd(),r),null==m)return;h=e(m)}catch(v){if(\"MODULE_NOT_FOUND\"===v.code)return}}var p=u(e.resolve(m));if(!p)throw new Error(\"package.json can not be located\");var g=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),y=g.version;if(0==s.satisfies(y,d)&&c.strict){var b=new Error(o(\"optional dependency [%s] found but version [%s] did not satisfy constraint [%s]\",f[0],y,d));throw b.code=\"OPTIONAL_MODULE_NOT_FOUND\",b}return h};p.exists=function(e){try{var t=p(e);return void 0!==t}catch(n){return!1}},t.exports=p}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/require_optional\");\n},{fs:void 0,path:void 0,\"resolve-from\":407,semver:408,util:void 0}],407:[function(e,t,n){\"use strict\";var r=e(\"path\"),i=e(\"module\");t.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected `fromDir` and `moduleId` to be a string\");e=r.resolve(e);var n=r.join(e,\"noop.js\");try{return i._resolveFilename(t,{id:n,filename:n,paths:i._nodeModulePaths(e)})}catch(o){return null}}},{module:void 0,path:void 0}],408:[function(e,t,n){function r(e,t){if(e instanceof a)return e;if(\"string\"!=typeof e)return null;if(e.length>Y)return null;var n=t?G[fe]:G[ue];if(!n.test(e))return null;try{return new a(e,t)}catch(r){return null}}function i(e,t){var n=r(e,t);return n?n.version:null}function o(e,t){var n=r(e.trim().replace(/^[=v]+/,\"\"),t);return n?n.version:null}function a(e,t){if(e instanceof a){if(e.loose===t)return e;e=e.version}else if(\"string\"!=typeof e)throw new TypeError(\"Invalid Version: \"+e);if(e.length>Y)throw new TypeError(\"version is longer than \"+Y+\" characters\");if(!(this instanceof a))return new a(e,t);W(\"SemVer\",e,t),this.loose=t;var n=e.trim().match(t?G[fe]:G[ue]);if(!n)throw new TypeError(\"Invalid Version: \"+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>K||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>K||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>K||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&K>t)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}function s(e,t,n,r){\"string\"==typeof n&&(r=n,n=void 0);try{return new a(e,n).inc(t,r).version}catch(i){return null}}function c(e,t){if(w(e,t))return null;var n=r(e),i=r(t);if(n.prerelease.length||i.prerelease.length){for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return\"pre\"+o;return\"prerelease\"}for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return o}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:t>e?-1:e>t?1:0}function p(e,t){return u(t,e)}function l(e,t){return new a(e,t).major}function f(e,t){return new a(e,t).minor}function d(e,t){return new a(e,t).patch}function h(e,t,n){return new a(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function g(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function y(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function b(e,t,n){return h(e,t,n)>0}function x(e,t,n){return h(e,t,n)<0}function w(e,t,n){return 0===h(e,t,n)}function _(e,t,n){return 0!==h(e,t,n)}function k(e,t,n){return h(e,t,n)>=0}function j(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){var i;switch(t){case\"===\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e===n;break;case\"!==\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e!==n;break;case\"\":case\"=\":case\"==\":i=w(e,n,r);break;case\"!=\":i=_(e,n,r);break;case\">\":i=b(e,n,r);break;case\">=\":i=k(e,n,r);break;case\"<\":i=x(e,n,r);break;case\"<=\":i=j(e,n,r);break;default:throw new TypeError(\"Invalid operator: \"+t)}return i}function E(e,t){if(e instanceof E){if(e.loose===t)return e;e=e.value}return this instanceof E?(W(\"comparator\",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value=\"\":this.value=this.operator+this.semver.version,void W(\"comp\",this)):new E(e,t)}function O(e,t){if(e instanceof O&&e.loose===t)return e;if(!(this instanceof O))return new O(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\\s*\\|\\|\\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError(\"Invalid SemVer Range: \"+e);this.format()}function A(e,t){return new O(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(\" \").trim().split(\" \")})}function C(e,t){return W(\"comp\",e),e=F(e,t),W(\"caret\",e),e=I(e,t),W(\"tildes\",e),e=z(e,t),W(\"xrange\",e),e=N(e,t),W(\"stars\",e),e}function T(e){return!e||\"x\"===e.toLowerCase()||\"*\"===e}function I(e,t){return e.trim().split(/\\s+/).map(function(e){return P(e,t)}).join(\" \")}function P(e,t){var n=t?G[je]:G[ke];return e.replace(n,function(t,n,r,i,o){W(\"tilde\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":o?(W(\"replaceTilde pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\"):a=\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\",W(\"tilde return\",a),a})}function F(e,t){return e.trim().split(/\\s+/).map(function(e){return M(e,t)}).join(\" \")}function M(e,t){W(\"caret\",e,t);var n=t?G[Ce]:G[Ae];return e.replace(n,function(t,n,r,i,o){W(\"caret\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\"0\"===n?\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".0 <\"+(+n+1)+\".0.0\":o?(W(\"replaceCaret pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+(+n+1)+\".0.0\"):(W(\"no pr\"),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+\" <\"+(+n+1)+\".0.0\"),W(\"caret return\",a),a})}function z(e,t){return W(\"replaceXRanges\",e,t),e.split(/\\s+/).map(function(e){return B(e,t)}).join(\" \")}function B(e,t){e=e.trim();var n=t?G[be]:G[ye];return e.replace(n,function(t,n,r,i,o,a){W(\"xRange\",e,t,n,r,i,o,a);var s=T(r),c=s||T(i),u=c||T(o),p=u;return\"=\"===n&&p&&(n=\"\"),s?t=\">\"===n||\"<\"===n?\"<0.0.0\":\"*\":n&&p?(c&&(i=0),u&&(o=0),\">\"===n?(n=\">=\",c?(r=+r+1,i=0,o=0):u&&(i=+i+1,o=0)):\"<=\"===n&&(n=\"<\",c?r=+r+1:i=+i+1),t=n+r+\".\"+i+\".\"+o):c?t=\">=\"+r+\".0.0 <\"+(+r+1)+\".0.0\":u&&(t=\">=\"+r+\".\"+i+\".0 <\"+r+\".\"+(+i+1)+\".0\"),W(\"xRange return\",t),t})}function N(e,t){return W(\"replaceStars\",e,t),e.trim().replace(G[Be],\"\")}function D(e,t,n,r,i,o,a,s,c,u,p,l,f){return t=T(n)?\"\":T(r)?\">=\"+n+\".0.0\":T(i)?\">=\"+n+\".\"+r+\".0\":\">=\"+t,s=T(c)?\"\":T(u)?\"<\"+(+c+1)+\".0.0\":T(p)?\"<\"+c+\".\"+(+u+1)+\".0\":l?\"<=\"+c+\".\"+u+\".\"+p+\"-\"+l:\"<=\"+s,(t+\" \"+s).trim()}function q(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(W(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new O(t,n)}catch(r){return!1}return t.test(e)}function L(e,t,n){return e.filter(function(e){return R(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function $(e,t){try{return new O(e,t).range||\"*\"}catch(n){return null}}function U(e,t,n){return V(e,t,\"<\",n)}function H(e,t,n){return V(e,t,\">\",n)}function V(e,t,n,r){e=new a(e,r),t=new O(t,r);var i,o,s,c,u;switch(n){case\">\":i=b,o=j,s=x,c=\">\",u=\">=\";break;case\"<\":i=x,o=k,s=b,c=\"<\",u=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(R(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var l=t.set[p],f=null,d=null;if(l.forEach(function(e){e.semver===qe&&(e=new E(\">=0.0.0\")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:s(e.semver,d.semver,r)&&(d=e)}),f.operator===c||f.operator===u)return!1;if((!d.operator||d.operator===c)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0}n=t.exports=a;var W;W=\"object\"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\\bsemver\\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(\"SEMVER\"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION=\"2.0.0\";var Y=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,G=n.re=[],J=n.src=[],Z=0,Q=Z++;J[Q]=\"0|[1-9]\\\\d*\";var X=Z++;J[X]=\"[0-9]+\";var ee=Z++;J[ee]=\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";var te=Z++;J[te]=\"(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\";var ne=Z++;J[ne]=\"(\"+J[X]+\")\\\\.(\"+J[X]+\")\\\\.(\"+J[X]+\")\";var re=Z++;J[re]=\"(?:\"+J[Q]+\"|\"+J[ee]+\")\";var ie=Z++;J[ie]=\"(?:\"+J[X]+\"|\"+J[ee]+\")\";var oe=Z++;J[oe]=\"(?:-(\"+J[re]+\"(?:\\\\.\"+J[re]+\")*))\";var ae=Z++;J[ae]=\"(?:-?(\"+J[ie]+\"(?:\\\\.\"+J[ie]+\")*))\";var se=Z++;J[se]=\"[0-9A-Za-z-]+\";var ce=Z++;J[ce]=\"(?:\\\\+(\"+J[se]+\"(?:\\\\.\"+J[se]+\")*))\";var ue=Z++,pe=\"v?\"+J[te]+J[oe]+\"?\"+J[ce]+\"?\";J[ue]=\"^\"+pe+\"$\";var le=\"[v=\\\\s]*\"+J[ne]+J[ae]+\"?\"+J[ce]+\"?\",fe=Z++;J[fe]=\"^\"+le+\"$\";var de=Z++;J[de]=\"((?:<|>)?=?)\";var he=Z++;J[he]=J[X]+\"|x|X|\\\\*\";var me=Z++;J[me]=J[Q]+\"|x|X|\\\\*\";var ve=Z++;J[ve]=\"[v=\\\\s]*(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\"+J[oe]+\")?\"+J[ce]+\"?)?)?\";var ge=Z++;J[ge]=\"[v=\\\\s]*(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\"+J[ae]+\")?\"+J[ce]+\"?)?)?\";var ye=Z++;J[ye]=\"^\"+J[de]+\"\\\\s*\"+J[ve]+\"$\";var be=Z++;J[be]=\"^\"+J[de]+\"\\\\s*\"+J[ge]+\"$\";var xe=Z++;J[xe]=\"(?:~>?)\";var we=Z++;J[we]=\"(\\\\s*)\"+J[xe]+\"\\\\s+\",G[we]=new RegExp(J[we],\"g\");var _e=\"$1~\",ke=Z++;J[ke]=\"^\"+J[xe]+J[ve]+\"$\";var je=Z++;J[je]=\"^\"+J[xe]+J[ge]+\"$\";var Se=Z++;J[Se]=\"(?:\\\\^)\";var Ee=Z++;J[Ee]=\"(\\\\s*)\"+J[Se]+\"\\\\s+\",G[Ee]=new RegExp(J[Ee],\"g\");var Oe=\"$1^\",Ae=Z++;J[Ae]=\"^\"+J[Se]+J[ve]+\"$\";var Ce=Z++;J[Ce]=\"^\"+J[Se]+J[ge]+\"$\";var Te=Z++;J[Te]=\"^\"+J[de]+\"\\\\s*(\"+le+\")$|^$\";var Ie=Z++;J[Ie]=\"^\"+J[de]+\"\\\\s*(\"+pe+\")$|^$\";var Pe=Z++;J[Pe]=\"(\\\\s*)\"+J[de]+\"\\\\s*(\"+le+\"|\"+J[ve]+\")\",G[Pe]=new RegExp(J[Pe],\"g\");var Fe=\"$1$2$3\",Me=Z++;J[Me]=\"^\\\\s*(\"+J[ve]+\")\\\\s+-\\\\s+(\"+J[ve]+\")\\\\s*$\";var ze=Z++;J[ze]=\"^\\\\s*(\"+J[ge]+\")\\\\s+-\\\\s+(\"+J[ge]+\")\\\\s*$\";var Be=Z++;J[Be]=\"(<|>)?=?\\\\s*\\\\*\";for(var Ne=0;Z>Ne;Ne++)W(Ne,J[Ne]),G[Ne]||(G[Ne]=new RegExp(J[Ne]));n.parse=r,n.valid=i,n.clean=o,n.SemVer=a,a.prototype.format=function(){return this.version=this.major+\".\"+this.minor+\".\"+this.patch,this.prerelease.length&&(this.version+=\"-\"+this.prerelease.join(\".\")),this.version},a.prototype.toString=function(){return this.version},a.prototype.compare=function(e){return W(\"SemVer.compare\",this.version,this.loose,e),e instanceof a||(e=new a(e,this.loose)),this.compareMain(e)||this.comparePre(e)},a.prototype.compareMain=function(e){return e instanceof a||(e=new a(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},a.prototype.comparePre=function(e){if(e instanceof a||(e=new a(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(W(\"prerelease compare\",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},a.prototype.inc=function(e,t){switch(e){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",t);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",t);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"prerelease\":0===this.prerelease.length&&this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"major\":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case\"pre\":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)\"number\"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(\"invalid increment argument: \"+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=c,n.compareIdentifiers=u;var De=/^[0-9]+$/;n.rcompareIdentifiers=p,n.major=l,n.minor=f,n.patch=d,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=g,n.rsort=y,n.gt=b,n.lt=x,n.eq=w,n.neq=_,n.gte=k,n.lte=j,n.cmp=S,n.Comparator=E;var qe={};E.prototype.parse=function(e){var t=this.loose?G[Te]:G[Ie],n=e.match(t);if(!n)throw new TypeError(\"Invalid comparator: \"+e);this.operator=n[1],\"=\"===this.operator&&(this.operator=\"\"),n[2]?this.semver=new a(n[2],this.loose):this.semver=qe},E.prototype.toString=function(){return this.value},E.prototype.test=function(e){return W(\"Comparator.test\",e,this.loose),this.semver===qe?!0:(\"string\"==typeof e&&(e=new a(e,this.loose)),S(e,this.operator,this.semver,this.loose))},n.Range=O,O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(\" \").trim()}).join(\"||\").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),W(\"range\",e,t);var n=t?G[ze]:G[Me];e=e.replace(n,D),W(\"hyphen replace\",e),e=e.replace(G[Pe],Fe),W(\"comparator trim\",e,G[Pe]),e=e.replace(G[we],_e),e=e.replace(G[Ee],Oe),e=e.split(/\\s+/).join(\" \");var r=t?G[Te]:G[Ie],i=e.split(\" \").map(function(e){return C(e,t)}).join(\" \").split(/\\s+/);return this.loose&&(i=i.filter(function(e){return!!e.match(r)})),i=i.map(function(e){return new E(e,t)})},n.toComparators=A,O.prototype.test=function(e){if(!e)return!1;\"string\"==typeof e&&(e=new a(e,this.loose));for(var t=0;t<this.set.length;t++)if(q(this.set[t],e))return!0;return!1},n.satisfies=R,n.maxSatisfying=L,n.validRange=$,n.ltr=U,n.gtr=H,n.outside=V},{}],409:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){return new i(e,t,n)}function i(e,t,n){var r=n||{};if(this.options=r,this.path=t,this.req=e,this._etag=void 0!==r.etag?Boolean(r.etag):!0,this._dotfiles=void 0!==r.dotfiles?r.dotfiles:\"ignore\",\"ignore\"!==this._dotfiles&&\"allow\"!==this._dotfiles&&\"deny\"!==this._dotfiles)throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"');this._hidden=Boolean(r.hidden),void 0!==r.hidden&&p(\"hidden: use dotfiles: '\"+(this._hidden?\"allow\":\"ignore\")+\"' instead\"),void 0===r.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==r.extensions?s(r.extensions,\"extensions option\"):[],this._index=void 0!==r.index?s(r.index,\"index option\"):[\"index.html\"],this._lastModified=void 0!==r.lastModified?Boolean(r.lastModified):!0,this._maxage=r.maxAge||r.maxage,this._maxage=\"string\"==typeof this._maxage?k(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),O),this._root=r.root?A(r.root):null,!this._root&&r.from&&this.from(r.from)}function o(e){for(var t=0;t<e.length;t++)if(\".\"===e[t][0])return!0;return!1}function a(e){try{return decodeURIComponent(e)}catch(t){return-1}}function s(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(\"string\"!=typeof n[r])throw new TypeError(t+\" must be array of strings or false\");return n}var c=e(\"http-errors\"),u=e(\"debug\")(\"send\"),p=e(\"depd\")(\"send\"),l=e(\"destroy\"),f=e(\"escape-html\"),d=e(\"range-parser\"),h=e(\"stream\"),m=e(\"mime\"),v=e(\"fresh\"),g=e(\"path\"),y=e(\"fs\"),b=g.normalize,x=g.join,w=e(\"etag\"),_=e(\"events\").EventEmitter,k=e(\"ms\"),j=e(\"on-finished\"),S=e(\"statuses\"),E=g.extname,O=31536e6,A=g.resolve,C=g.sep,T=(Object.prototype.toString,/(?:^|[\\\\\\/])\\.\\.(?:[\\\\\\/]|$)/);t.exports=r,t.exports.mime=m;var I=_.listenerCount||function(e,t){return e.listeners(t).length};i.prototype.__proto__=h.prototype,i.prototype.etag=p[\"function\"](function(e){return e=Boolean(e),u(\"etag %s\",e),this._etag=e,this},\"send.etag: pass etag as option\"),i.prototype.hidden=p[\"function\"](function(e){return e=Boolean(e),u(\"hidden %s\",e),this._hidden=e,this._dotfiles=void 0,this},\"send.hidden: use dotfiles option\"),i.prototype.index=p[\"function\"](function P(e){var P=e?s(e,\"paths argument\"):[];return u(\"index %o\",e),this._index=P,this},\"send.index: pass index as option\"),i.prototype.root=function(e){return e=String(e),this._root=A(e),this},i.prototype.from=p[\"function\"](i.prototype.root,\"send.from: pass root as option\"),i.prototype.root=p[\"function\"](i.prototype.root,\"send.root: pass root as option\"),i.prototype.maxage=p[\"function\"](function(e){return e=\"string\"==typeof e?k(e):Number(e),isNaN(e)&&(e=0),1/0==e&&(e=31536e6),u(\"max-age %d\",e),this._maxage=e,this},\"send.maxage: pass maxAge as option\"),i.prototype.error=function F(e,F){if(0!==I(this,\"error\"))return this.emit(\"error\",c(F,e,{expose:!1}));var t=this.res,r=S[e];t._headers=null,t.statusCode=e,t.setHeader(\"Content-Type\",\"text/plain; charset=UTF-8\"),t.setHeader(\"Content-Length\",n.byteLength(r)),t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.end(r)},i.prototype.hasTrailingSlash=function(){return\"/\"==this.path[this.path.length-1]},i.prototype.isConditionalGET=function(){return this.req.headers[\"if-none-match\"]||this.req.headers[\"if-modified-since\"]},i.prototype.removeContentHeaderFields=function(){for(var e=this.res,t=Object.keys(e._headers||{}),n=0;n<t.length;n++){var r=t[n];\"content-\"===r.substr(0,8)&&\"content-location\"!==r&&e.removeHeader(r)}},i.prototype.notModified=function(){var e=this.res;u(\"not modified\"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},i.prototype.headersAlreadySent=function(){var e=new Error(\"Can't set headers after they are sent.\");u(\"headers already sent\"),this.error(500,e)},i.prototype.isCachable=function(){var e=this.res;return e.statusCode>=200&&e.statusCode<300||304==e.statusCode},i.prototype.onStatError=function(e){switch(e.code){case\"ENAMETOOLONG\":case\"ENOENT\":case\"ENOTDIR\":this.error(404,e);break;default:this.error(500,e)}},i.prototype.isFresh=function(){return v(this.req.headers,this.res._headers)},i.prototype.isRangeFresh=function(){var e=this.req.headers[\"if-range\"];return e?~e.indexOf('\"')?~e.indexOf(this.res._headers.etag):Date.parse(this.res._headers[\"last-modified\"])<=Date.parse(e):!0},i.prototype.redirect=function(e){if(0!==I(this,\"directory\"))return void this.emit(\"directory\");if(this.hasTrailingSlash())return void this.error(403);var t=e+\"/\",r='Redirecting to <a href=\"'+f(t)+'\">'+f(t)+\"</a>\\n\",i=this.res;i.statusCode=301,i.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),i.setHeader(\"Content-Length\",n.byteLength(r)),i.setHeader(\"X-Content-Type-Options\",\"nosniff\"),i.setHeader(\"Location\",t),i.end(r)},i.prototype.pipe=function(e){var t=this._root;this.res=e;var n=a(this.path);if(-1===n)return this.error(400);if(~n.indexOf(\"\\x00\"))return this.error(400);var r;if(null!==t){if(T.test(b(\".\"+C+n)))return u('malicious path \"%s\"',n),this.error(403);n=b(x(t,n)),t=b(t+C),r=n.substr(t.length).split(C)}else{if(T.test(n))return u('malicious path \"%s\"',n),this.error(403);r=b(n).split(C),n=A(n)}if(o(r)){var i=this._dotfiles;switch(void 0===i&&(i=\".\"===r[r.length-1][0]?this._hidden?\"allow\":\"ignore\":\"allow\"),u('%s dotfile \"%s\"',i,n),i){case\"allow\":break;case\"deny\":return this.error(403);case\"ignore\":default:return this.error(404)}}return this._index.length&&\"/\"===this.path[this.path.length-1]?(this.sendIndex(n),e):(this.sendFile(n),e)},i.prototype.send=function(e,t){var n=t.size,r=this.options,i={},o=this.res,a=this.req,s=a.headers.range,c=r.start||0;if(o._header)return this.headersAlreadySent();if(u('pipe \"%s\"',e),this.setHeader(e,t),this.type(e),this.isConditionalGET()&&this.isCachable()&&this.isFresh())return this.notModified();if(n=Math.max(0,n-c),void 0!==r.end){var p=r.end-c+1;n>p&&(n=p)}if(s){if(s=d(n,s),this.isRangeFresh()||(u(\"range stale\"),s=-2),-1==s)return u(\"range unsatisfiable\"),o.setHeader(\"Content-Range\",\"bytes */\"+t.size),this.error(416);-2!=s&&1===s.length&&(u(\"range %j\",s),o.statusCode=206,o.setHeader(\"Content-Range\",\"bytes \"+s[0].start+\"-\"+s[0].end+\"/\"+n),c+=s[0].start,n=s[0].end-s[0].start+1)}for(var l in r)i[l]=r[l];return i.start=c,i.end=Math.max(c,c+n-1),o.setHeader(\"Content-Length\",n),\"HEAD\"==a.method?o.end():void this.stream(e,i)},i.prototype.sendFile=function(e){function t(i){if(r._extensions.length<=n)return i?r.onStatError(i):r.error(404);var o=e+\".\"+r._extensions[n++];u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=0,r=this;u('stat \"%s\"',e),y.stat(e,function(n,i){return n&&\"ENOENT\"===n.code&&!E(e)&&e[e.length-1]!==C?t(n):n?r.onStatError(n):i.isDirectory()?r.redirect(r.path):(r.emit(\"file\",e,i),void r.send(e,i))})},i.prototype.sendIndex=function(e){function t(i){if(++n>=r._index.length)return i?r.onStatError(i):r.error(404);var o=x(e,r._index[n]);u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=-1,r=this;t()},i.prototype.stream=function(e,t){var n=!1,r=this,i=this.res,o=(this.req,y.createReadStream(e,t));this.emit(\"stream\",o),o.pipe(i),j(i,function(){n=!0,l(o)}),o.on(\"error\",function(e){n||(n=!0,l(o),r.onStatError(e))}),o.on(\"end\",function(){r.emit(\"end\")})},i.prototype.type=function(e){var t=this.res;if(!t.getHeader(\"Content-Type\")){var n=m.lookup(e),r=m.charsets.lookup(n);u(\"content-type %s\",n),t.setHeader(\"Content-Type\",n+(r?\"; charset=\"+r:\"\"))}},i.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(\"headers\",n,e,t),n.getHeader(\"Accept-Ranges\")||n.setHeader(\"Accept-Ranges\",\"bytes\"),n.getHeader(\"Cache-Control\")||n.setHeader(\"Cache-Control\",\"public, max-age=\"+Math.floor(this._maxage/1e3)),this._lastModified&&!n.getHeader(\"Last-Modified\")){var r=t.mtime.toUTCString();u(\"modified %s\",r),n.setHeader(\"Last-Modified\",r)}if(this._etag&&!n.getHeader(\"ETag\")){var i=w(t);u(\"etag %s\",i),n.setHeader(\"ETag\",i)}}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,depd:85,destroy:90,\"escape-html\":96,etag:97,events:void 0,fresh:120,fs:void 0,\"http-errors\":151,mime:185,ms:355,\"on-finished\":363,path:void 0,\"range-parser\":387,statuses:455,stream:void 0}],410:[function(e,t,n){t.exports=e(\"./lib/sendgrid\")},{\"./lib/sendgrid\":413}],411:[function(e,t,n){\"use strict\";function r(e){e=e||{},this.to=e.to||[],this.from=e.from||\"\",this.smtpapi=e.smtpapi||new o,this.subject=e.subject||\"\",this.text=e.text||\"\",this.html=e.html||\"\",this.bcc=e.bcc||[],this.cc=e.cc||[],this.replyto=e.replyto||\"\",this.date=e.date||\"\",this.headers=e.headers||{},null!==e.toname&&(this.toname=e.toname),null!==e.fromname&&(this.fromname=e.fromname),this.files=[],e.files&&e.files.forEach(function(e){this.files.push(new i(e))},this)}var i=e(\"./file_handler\"),o=e(\"smtpapi\"),a=e(\"lodash\"),s=e(\"request\"),c=e(\"fs\");r.prototype.addHeader=function(e,t){if(\"undefined\"!=typeof t&&null!==t||(t=\"\"),a.isObject(e))a.extend(this.headers,e);else{var n={};n[e]=t,a.extend(this.headers,n)}return this},r.prototype.setHeaders=function(e){return a.isObject(e)&&(this.headers=e),this},r.prototype.addTo=function(e){return this.to.push(e),this},r.prototype.setSmtpapiTos=function(e){return this.smtpapi.setTos(e),this},r.prototype.addSmtpapiTo=function(e){return this.smtpapi.addTo(e),this},r.prototype.setTos=function(e){return this.to=e,this},r.prototype.setFrom=function(e){return this.from=e,this},r.prototype.setFromName=function(e){this.fromname=e},r.prototype.addCc=function(e){return this.cc.push(e),this},r.prototype.setCcs=function(e){return this.cc=e,this},r.prototype.addBcc=function(e){return this.bcc.push(e),this},r.prototype.setBccs=function(e){return this.bcc=e,this},r.prototype.setSubject=function(e){return this.subject=e,this},r.prototype.setText=function(e){return this.text=e,this},r.prototype.setHtml=function(e){return this.html=e,this},r.prototype.addSubstitution=function(e,t){return this.smtpapi.addSubstitution(e,t),this},r.prototype.setSubstitutions=function(e){return this.smtpapi.setSubstitutions(e),this},r.prototype.addUniqueArg=function(e,t){return this.smtpapi.addUniqueArg(e,t),this},r.prototype.setUniqueArgs=function(e){return this.smtpapi.setUniqueArgs(e),this},r.prototype.addCategory=function(e){return this.smtpapi.addCategory(e),this},r.prototype.setCategories=function(e){return this.smtpapi.setCategories(e),this},r.prototype.addSection=function(e,t){return this.smtpapi.addSection(e,t),this},r.prototype.setSections=function(e){return this.smtpapi.setSections(e),this},r.prototype.addFilter=function(e,t,n){return this.smtpapi.addFilter(e,t,n),this},r.prototype.setFilters=function(e){return this.smtpapi.setFilters(e),this},r.prototype.setASMGroupID=function(e){return this.smtpapi.setASMGroupID(e),this},r.prototype.addFile=function(e){return this.files.push(new i(e)),this},r.prototype.setDate=function(e){return this.date=e,this},r.prototype.setSendAt=function(e){return this.smtpapi.setSendAt(e),this},r.prototype.setSendEachAt=function(e){return this.smtpapi.setSendEachAt(e),this},r.prototype.addSendEachAt=function(e){return this.smtpapi.addSendEachAt(e),this},r.prototype.toWebFormat=function(){var e={to:this.to,from:this.from,\"x-smtpapi\":this.smtpapi.jsonString(),subject:this.subject,text:this.text,html:this.html,headers:JSON.stringify(this.headers)};return this.bcc&&(e.bcc=this.bcc),this.cc&&(e.cc=this.cc),this.html&&(e.html=this.html),this.toname&&(e.toname=this.toname),this.fromname&&(e.fromname=this.fromname),this.replyto&&(e.replyto=this.replyto),this.date&&(e.date=this.date),this.smtpapi.to&&this.smtpapi.to.length&&(e.to=\"\"),this.updateMissingTo(e),this.files&&this.files.forEach(function(t){t.url?t.content=s(t.url):t.path&&(t.content=c.createReadStream(t.path)),e[\"files[\"+t.filename+\"]\"]={filename:t.filename,content:t.content||\" \",contentType:t.contentType,cid:t.cid}}),e},r.prototype._formatFilesForNodeMailer=function(e){var t=this;e&&e.length>0&&e.forEach(function(e){t._formatFileForNodeMailer(e)})},r.prototype._formatFileForNodeMailer=function(e){e.filename&&(e.fileName=e.filename),e.path&&(e.filePath=e.path),e.url&&(e.filePath=e.url),e.content&&(e.contents=e.content),e.filePath||e.content||!e.filename||(e.contents=\" \")},r.prototype.updateMissingTo=function(e){this.smtpapi.jsonObject().to&&this.smtpapi.jsonObject().to.length>0&&(e.to=this.from)},r.prototype.hasFiles=function(){return this.files.length>0},t.exports=r},{\"./file_handler\":412,fs:void 0,lodash:414,request:393,smtpapi:432}],412:[function(e,t,n){(function(n){\"use strict\";function r(e){this.filename=e.filename,e.contentType&&(this.contentType=e.contentType),e.cid&&(this.cid=e.cid),e.content?(this.type=\"content\",this.content=e.content,this.contentType||(this.contentType=o.lookup(this.filename))):e.path?(this.type=\"path\",this.path=e.path,this.filename||(this.filename=e.path.split(\"/\").pop()),a.isEmpty(e.contentType)&&(this.contentType=o.lookup(this.path))):e.url?(this.type=\"url\",this.url=e.url,this.contentType||(this.contentType=o.lookup(this.url))):(this.type=\"none\",this.contentType=\"none\")}var i=e(\"http\"),o=e(\"mime\"),a=e(\"lodash\"),s=e(\"url\"),c=e(\"fs\");r.handlers={content:function(e,t){e.content?t():t(!0,\"Content was missing\")},path:function(e,t){c.readFile(e.path,function(n,r){return n?t(!0,n):(e.content=r,void t())})},url:function(e,t){var r=s.parse(e.url),o=r.host,c=r.path,u=i.request({host:o,path:c,method:\"GET\"},function(r){var i=[],o=0;r.setEncoding(\"base64\"),r.on(\"data\",function(e){o+=n.byteLength(e),i.push(e)}),r.on(\"end\",function(){var r=new n(o,\"base64\"),s=0;a(i).each(function(e){s+=r.write(e,s,\"base64\")}),e.content=r,t()})});u.on(\"error\",function(e){t(!0,e)}),u.end()},none:function(e,t){t(!0,\"File was not included\")}},r.prototype.loadContent=function(e){var t=r.handlers[this.type];t?r.handlers[this.type](this,e):e(!0,\"Upload method not supported\")},t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,fs:void 0,http:void 0,lodash:414,mime:185,url:void 0}],413:[function(e,t,n){\"use strict\";var r=e(\"./../package.json\"),i=e(\"lodash\"),o=e(\"request\"),a=e(\"smtpapi\"),s=e(\"./email\"),c=function(e,t,n){if(!(this instanceof c))return new c(e,t,n);if(\"string\"==typeof t)this.api_user=e,this.api_key=t,this.options=n||{};else{if(\"object\"!=typeof t&&void 0!==t)throw new Error(\"Need a username + password or api key!\");this.api_key=e,this.api_user=null,this.options=t||{}}var u={};u.protocol=this.options.protocol||\"https\",u.host=this.options.host||\"api.sendgrid.com\",u.port=this.options.port||\"\",u.endpoint=this.options.endpoint||\"/api/mail.send.json\",delete this.options.protocol,delete this.options.host,delete this.options.port,delete this.options.endpoint,this.options.uriParts=u,this.options.uri=this.options.uri||u.protocol+\"://\"+u.host+(u.port?\":\"+u.port:\"\")+u.endpoint;var p=function(e,t){var t=t||function(){};e.constructor!==s&&(e=new s(e)),l.bind(this)(e,t)},l=function(e,t){var n={method:\"POST\",headers:{\"User-Agent\":\"sendgrid/\"+r.version+\";nodejs\"}};null===this.api_user&&(n.headers.Authorization=\"Bearer \"+this.api_key);var a=i.merge(n,this.options),s=o(a,function(e,n,r){var i;if(e)return t(e,null);try{i=JSON.parse(r)}catch(o){return o.message=o.message+\" JSONPARSEERROR when parsing: \"+r,t(new Error(o),null)}if(\"success\"!==i.message){var a=\"sendgrid error\";return i.errors&&(a=i.errors.shift()),t(new Error(a),null)}return t(null,i)}),c=e.toWebFormat();null!==this.api_user&&(c.api_user=this.api_user,c.api_key=this.api_key);var u=s.form(),p=function(e,t){u.append(e,t)};for(var l in c){var f=c[l];if(f&&f.filename)f.cid&&u.append(\"content[\"+f.filename+\"]\",f.cid),u.append(\"files[\"+f.filename+\"]\",f.content,{filename:f.filename,contentType:f.contentType});else try{Array.isArray(f)?f.forEach(p.bind(this,l)):p.bind(this)(l,f)}catch(d){}}};return this.version=r.version,this.Email=s,this.smtpapi=a,this.send=p,this.options=this.options,this};t.exports=c},{\"./../package.json\":415,\"./email\":411,lodash:414,request:393,smtpapi:432}],414:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function i(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function o(e,t,n){if(t!==t)return v(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function a(e){return\"function\"==typeof e||!1}function s(e){return null==e?\"\":e+\"\"}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function u(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function l(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=c)return u;var p=n[i];return u*(\"asc\"===p||p===!0?1:-1)}}return e.index-t.index}function f(e){return He[e]}function d(e){return Ve[e]}function h(e,t,n){return t?e=Ke[e]:n&&(e=Ge[e]),\"\\\\\"+e}function m(e){return\"\\\\\"+Ge[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function g(e){return!!e&&\"object\"==typeof e}function y(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=H,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],c=t?t(s,r,e):s;r&&n===c||(n=c,a[++o]=s)}return a}function w(e){for(var t=-1,n=e.length;++t<n&&y(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&y(e.charCodeAt(t)););return t}function k(e){return We[e]}function j(e){function t(e){if(g(e)&&!Cs(e)&&!(e instanceof Z)){if(e instanceof y)return e;if(ta.call(e,\"__chain__\")&&ta.call(e,\"__wrapped__\"))return dr(e)}return new y(e)}function n(){}function y(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Aa,this.__views__=[]}function te(){var e=new Z(this.__wrapped__);return e.__actions__=et(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=et(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=et(this.__views__),e}function re(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function He(){var e=this.__wrapped__.value(),t=this.__dir__,n=Cs(e),r=0>t,i=n?e.length:0,o=Wn(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=ka(c,this.__takeCount__);if(!n||R>i||i==c&&d==c)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;c--&&d>f;){\nu+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==$)v=x;else if(!x){if(b==L)continue e;break e}}h[f++]=v}return h}function Ve(){this.__data__={}}function We(e){return this.has(e)&&delete this.__data__[e]}function Ye(e){return\"__proto__\"==e?S:this.__data__[e]}function Ke(e){return\"__proto__\"!=e&&ta.call(this.__data__,e)}function Ge(e,t){return\"__proto__\"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ga(null),set:new la};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r=\"string\"==typeof t||Mi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Qe(e){var t=this.data;\"string\"==typeof e||Mi(e)?t.set.add(e):t.hash[e]=!0}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Lo(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function et(e,t){var n=-1,r=e.length;for(t||(t=Lo(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function it(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var c=e[i],u=+t(c);n(u,a)&&(a=u,s=c)}return s}function st(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function ct(e,t){for(var n=-1,r=e.length,i=Lo(r);++n<r;)i[n]=t(e[n],n,e);return i}function ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function pt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function lt(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ft(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dt(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}function ht(e,t){return e===S?t:e}function mt(e,t,n,r){return e!==S&&ta.call(r,n)?e:t}function vt(e,t,n){for(var r=-1,i=Rs(t),o=i.length;++r<o;){var a=i[r],s=e[a],c=n(s,t[a],a,e,t);(c===c?c===s:s!==s)&&(s!==S||a in e)||(e[a]=c)}return e}function gt(e,t){return null==t?e:bt(t,Rs(t),e)}function yt(e,t){for(var n=-1,r=null==e,i=!r&&Zn(e),o=i?e.length:0,a=t.length,s=Lo(a);++n<a;){var c=t[n];i?s[n]=Qn(c,o)?e[c]:S:s[n]=r?S:e[c]}return s}function bt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function xt(e,t,n){var r=typeof e;return\"function\"==r?t===S?e:an(e,t,n):null==e?Ao:\"object\"==r?qt(e):t===S?Mo(e):Rt(e,t)}function wt(e,t,n,r,i,o,a){var s;if(n&&(s=i?n(e,r,i):n(e)),s!==S)return s;if(!Mi(e))return e;var c=Cs(e);if(c){if(s=Yn(e),!t)return et(e,s)}else{var u=ra.call(e),p=u==J;if(u!=X&&u!=V&&(!p||i))return Ue[u]?Gn(e,u,t):i?e:{};if(s=Kn(p?{}:e),!t)return gt(s,e)}o||(o=[]),a||(a=[]);for(var l=o.length;l--;)if(o[l]==e)return a[l];return o.push(e),a.push(s),(c?tt:It)(e,function(r,i){s[i]=wt(r,t,n,i,e,o,a)}),s}function _t(e,t,n){if(\"function\"!=typeof e)throw new Jo(U);return fa(function(){e.apply(S,n)},t)}function kt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,a=Un(),s=a==o,c=s&&t.length>=R?mn(t):null,u=t.length;c&&(a=Ze,s=!1,t=c);e:for(;++i<n;){var p=e[i];if(s&&p===p){for(var l=u;l--;)if(t[l]===p)continue e;r.push(p)}else a(t,p,0)<0&&r.push(p)}return r}function jt(e,t){var n=!0;return Ba(e,function(e,r,i){return n=!!t(e,r,i)}),n}function St(e,t,n,r){var i=r,o=i;return Ba(e,function(e,a,s){var c=+t(e,a,s);(n(c,i)||c===r&&c===o)&&(i=c,o=e)}),o}function Et(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ot(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function At(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Ct(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];g(a)&&Zn(a)&&(n||Cs(a)||Si(a))?t?Ct(a,t,n,r):ut(r,a):n||(r[r.length]=a)}return r}function Tt(e,t){return Da(e,t,eo)}function It(e,t){return Da(e,t,Rs)}function Pt(e,t){return qa(e,t,Rs)}function Ft(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Fi(e[a])&&(o[++i]=a)}return o}function Mt(e,t,n){if(null!=e){n!==S&&n in lr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:S}}function zt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Mi(e)&&!g(t)?e!==e&&t!==t:Bt(e,t,zt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Cs(e),c=Cs(t),u=W,p=W;s||(u=ra.call(e),u==V?u=X:u!=X&&(s=Ui(e))),c||(p=ra.call(t),p==V?p=X:p!=X&&(c=Ui(t)));var l=u==X,f=p==X,d=u==p;if(d&&!s&&!l)return qn(e,t,u);if(!i){var h=l&&ta.call(e,\"__wrapped__\"),m=f&&ta.call(t,\"__wrapped__\");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Dn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=lr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var s=a[0],c=e[s],u=a[1];if(o&&a[2]){if(c===S&&!(s in e))return!1}else{var p=n?n(c,u,s):S;if(!(p===S?zt(u,c,n,!0):p))return!1}}return!0}function Dt(e,t){var n=-1,r=Zn(e)?Lo(e.length):[];return Ba(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function qt(e){var t=Hn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==S||n in lr(e))}}return function(e){return Nt(e,t)}}function Rt(e,t){var n=Cs(e),r=er(e)&&rr(t),i=e+\"\";return e=fr(e),function(o){if(null==o)return!1;var a=i;if(o=lr(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Mt(o,Kt(e,0,-1)),null==o)return!1;a=Er(e),o=lr(o)}return o[a]===t?t!==S||a in o:zt(t,o[a],S,!0)}}function Lt(e,t,n,r,i){if(!Mi(e))return e;var o=Zn(t)&&(Cs(t)||Ui(t)),a=o?S:Rs(t);return tt(a||t,function(s,c){if(a&&(c=s,s=t[c]),g(s))r||(r=[]),i||(i=[]),$t(e,t,c,Lt,n,r,i);else{var u=e[c],p=n?n(u,s,c,e,t):S,l=p===S;l&&(p=s),p===S&&(!o||c in e)||!l&&(p===p?p===u:u!==u)||(e[c]=p)}}),e}function $t(e,t,n,r,i,o,a){for(var s=o.length,c=t[n];s--;)if(o[s]==c)return void(e[n]=a[s]);var u=e[n],p=i?i(u,c,n,e,t):S,l=p===S;l&&(p=c,Zn(c)&&(Cs(c)||Ui(c))?p=Cs(u)?u:Zn(u)?et(u):[]:Ri(c)||Si(c)?p=Si(u)?Ki(u):Ri(u)?u:{}:l=!1),o.push(c),a.push(p),l?e[n]=r(p,c,i,o,a):(p===p?p!==u:u===u)&&(e[n]=p)}function Ut(e){return function(t){return null==t?S:t[e]}}function Ht(e){var t=e+\"\";return e=fr(e),function(n){return Mt(n,e,t)}}function Vt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Qn(r)){var i=r;da.call(e,r,1)}}return e}function Wt(e,t){return e+ya(Ea()*(t-e+1))}function Yt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Lo(i);++r<i;)o[r]=e[r+t];return o}function Gt(e,t){var n;return Ba(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Jt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Zt(e,t,n){var r=Ln(),i=-1;t=ct(t,function(e){return r(e)});var o=Dt(e,function(e){var n=ct(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Jt(o,function(e,t){return l(e,t,n)})}function Qt(e,t){var n=0;return Ba(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Xt(e,t){var n=-1,r=Un(),i=e.length,a=r==o,s=a&&i>=R,c=s?mn():null,u=[];c?(r=Ze,a=!1):(s=!1,c=t?[]:u);e:for(;++n<i;){var p=e[n],l=t?t(p,n,e):p;if(a&&p===p){for(var f=c.length;f--;)if(c[f]===l)continue e;t&&c.push(l),u.push(p)}else r(c,l,0)<0&&((t||s)&&c.push(l),u.push(p))}return u}function en(e,t){for(var n=-1,r=t.length,i=Lo(r);++n<r;)i[n]=e[t[n]];return i}function tn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function nn(e,t){var n=e;n instanceof Z&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,ut([n],o.args))}return n}function rn(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Ia>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Ao,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===S;o>i;){var u=ya((i+o)/2),p=n(e[u]),l=p!==S,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return ka(o,Ta)}function an(e,t,n){if(\"function\"!=typeof e)return Ao;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function cn(e,t,n){for(var r=n.length,i=-1,o=_a(e.length-r,0),a=-1,s=t.length,c=Lo(s+o);++a<s;)c[a]=t[a];for(;++i<r;)c[n[i]]=e[i];for(;o--;)c[a++]=e[i++];return c}function un(e,t,n){for(var r=-1,i=n.length,o=-1,a=_a(e.length-i,0),s=-1,c=t.length,u=Lo(a+c);++o<a;)u[o]=e[o];for(var p=o;++s<c;)u[p+s]=t[s];for(;++r<i;)u[p+n[r]]=e[o++];return u}function pn(e,t){return function(n,r,i){var o=t?t():{};if(r=Ln(r,i,3),Cs(n))for(var a=-1,s=n.length;++a<s;){var c=n[a];e(o,c,r(c,a,n),n)}else Ba(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ln(e){return gi(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for(\"function\"==typeof o?(o=an(o,s,5),i-=2):(o=\"function\"==typeof s?s:S,i-=o?1:0),a&&Xn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function fn(e,t){return function(n,r){var i=n?$a(n):0;if(!nr(i))return e(n,r);for(var o=t?i:-1,a=lr(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function dn(e){return function(t,n,r){for(var i=lr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var c=o[s];if(n(i[c],c,i)===!1)break}return t}}function hn(e,t){function n(){var i=this&&this!==nt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function mn(e){return ga&&la?new Je(e):null}function vn(e){return function(t){for(var n=-1,r=So(po(t)),i=r.length,o=\"\";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=za(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function yn(e){function t(n,r,i){i&&Xn(n,r,i)&&(r=S);var o=Nn(n,e,S,S,S,S,S,r);return o.placeholder=t.placeholder,o}return t}function bn(e,t){return gi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(S,n))})}function xn(e,t){return function(n,r,i){if(i&&Xn(n,r,i)&&(r=S),r=Ln(r,i,3),1==r.length){n=Cs(n)?n:pr(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return St(n,r,e,t)}}function wn(e,t){return function(n,r,o){if(r=Ln(r,o,3),Cs(n)){var a=i(n,r,t);return a>-1?n[a]:S}return At(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Ln(n,r,3),i(t,n,e)):-1}}function kn(e){return function(t,n,r){return n=Ln(n,r,3),At(t,n,e,!0)}}function jn(e){return function(){for(var t,n=arguments.length,r=e?n:-1,i=0,o=Lo(n);e?r--:++r<n;){var a=o[i++]=arguments[r];if(\"function\"!=typeof a)throw new Jo(U);!t&&y.prototype.thru&&\"wrapper\"==$n(a)&&(t=new y([],!0))}for(r=t?-1:n;++r<n;){a=o[r];var s=$n(a),c=\"wrapper\"==s?La(a):S;t=c&&tr(c[0])&&c[1]==(M|T|P|z)&&!c[4].length&&1==c[9]?t[$n(c[0])].apply(t,c[3]):1==a.length&&tr(a)?t[s]():t.thru(a)}return function(){var e=arguments,r=e[0];if(t&&1==e.length&&Cs(r)&&r.length>=R)return t.plant(r).value();for(var i=0,a=n?o[i].apply(this,e):r;++i<n;)a=o[i].call(this,a);return a}}}function Sn(e,t){return function(n,r,i){return\"function\"==typeof r&&i===S&&Cs(n)?e(n,r):t(n,an(r,i,3))}}function En(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n,eo)}}function On(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n)}}function An(e){return function(t,n,r){var i={};return n=Ln(n,r,3),It(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=s(t),(e?t:\"\")+Fn(t,n,r)+(e?\"\":t)}}function Tn(e){var t=gi(function(n,r){var i=b(r,t.placeholder);return Nn(n,e,S,r,i)});return t}function In(e,t){return function(n,r,i,o){var a=arguments.length<3;return\"function\"==typeof r&&o===S&&Cs(n)?e(n,r,i,a):Yt(n,Ln(r,o,4),i,a,t)}}function Pn(e,t,n,r,i,o,a,s,c,u){function p(){for(var y=arguments.length,x=y,w=Lo(y);x--;)w[x]=arguments[x];if(r&&(w=cn(w,r,i)),o&&(w=un(w,o,a)),h||v){var _=p.placeholder,k=b(w,_);if(y-=k.length,u>y){var j=s?et(s):S,E=_a(u-y,0),C=h?k:S,T=h?S:k,I=h?w:S,M=h?S:w;t|=h?P:F,t&=~(h?F:P),m||(t&=~(O|A));var z=[e,t,n,I,C,M,T,j,c,E],B=Pn.apply(S,z);return tr(e)&&Ua(B,z),B.placeholder=_,B}}var N=f?n:this,D=d?N[e]:e;return s&&(w=cr(w,s)),l&&c<w.length&&(w.length=c),this&&this!==nt&&this instanceof p&&(D=g||gn(e)),D.apply(N,w)}var l=t&M,f=t&O,d=t&A,h=t&T,m=t&C,v=t&I,g=d?S:gn(e);return p}function Fn(e,t,n){var r=e.length;if(t=+t,r>=t||!xa(t))return\"\";var i=t-r;return n=null==n?\" \":n+\"\",go(n,va(i/n.length)).slice(0,i)}function Mn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,c=-1,u=r.length,p=Lo(u+s);++c<u;)p[c]=r[c];for(;s--;)p[c++]=arguments[++t];var l=this&&this!==nt&&this instanceof i?a:e;return l.apply(o?n:this,p)}var o=t&O,a=gn(e);return i}function zn(e){var t=Vo[e];return function(e,n){return n=n===S?0:+n||0,n?(n=ua(10,n),t(e*n)/n):t(e)}}function Bn(e){return function(t,n,r,i){var o=Ln(r);return null==r&&o===xt?rn(t,n,e):on(t,n,o(r,i,1),e)}}function Nn(e,t,n,r,i,o,a,s){var c=t&A;if(!c&&\"function\"!=typeof e)throw new Jo(U);var u=r?r.length:0;if(u||(t&=~(P|F),r=i=S),u-=i?i.length:0,t&F){var p=r,l=i;r=i=S}var f=c?S:La(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&(ir(d,f),t=d[1],s=d[9]),d[9]=null==s?c?0:e.length:_a(s-u,0)||0,t==O)var h=hn(d[0],d[2]);else h=t!=P&&t!=(O|P)||d[4].length?Pn.apply(S,d):Mn.apply(S,d);var m=f?Ra:Ua;return m(h,d)}function Dn(e,t,n,r,i,o,a){var s=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++s<c;){var p=e[s],l=t[s],f=r?r(i?l:p,i?p:l,s):S;if(f!==S){if(f)continue;return!1}if(i){if(!ft(t,function(e){return p===e||n(p,e,r,i,o,a)}))return!1}else if(p!==l&&!n(p,l,r,i,o,a))return!1}return!0}function qn(e,t,n){switch(n){case Y:case K:return+e==+t;case G:return e.name==t.name&&e.message==t.message;case Q:return e!=+e?t!=+t:e==+t;case ee:case ne:return e==t+\"\"}return!1}function Rn(e,t,n,r,i,o,a){var s=Rs(e),c=s.length,u=Rs(t),p=u.length;if(c!=p&&!i)return!1;for(var l=c;l--;){var f=s[l];if(!(i?f in t:ta.call(t,f)))return!1}for(var d=i;++l<c;){f=s[l];var h=e[f],m=t[f],v=r?r(i?m:h,i?h:m,f):S;if(!(v===S?n(h,m,r,i,o,a):v))return!1;d||(d=\"constructor\"==f)}if(!d){var g=e.constructor,y=t.constructor;if(g!=y&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof g&&g instanceof g&&\"function\"==typeof y&&y instanceof y))return!1}return!0}function Ln(e,n,r){var i=t.callback||Eo;return i=i===Eo?xt:i,r?i(e,n,r):i}function $n(e){for(var t=e.name,n=Ma[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Un(e,n,r){var i=t.indexOf||jr;return i=i===jr?o:i,e?i(e,n,r):i}function Hn(e){for(var t=to(e),n=t.length;n--;)t[n][2]=rr(t[n][1]);return t}function Vn(e,t){var n=null==e?S:e[t];return Ni(n)?n:S}function Wn(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=ka(t,e+a);break;case\"takeRight\":e=_a(e,t-a)}}return{start:e,end:t}}function Yn(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ta.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Kn(e){var t=e.constructor;return\"function\"==typeof t&&t instanceof t||(t=Yo),new t}function Gn(e,t,n){var r=e.constructor;switch(t){case ie:return sn(e);case Y:case K:return new r(+e);case oe:case ae:case se:case ce:case ue:case pe:case le:case fe:case de:var i=e.buffer;return new r(n?sn(i):i,e.byteOffset,e.length);case Q:case ne:return new r(e);case ee:var o=new r(e.source,Pe.exec(e));o.lastIndex=e.lastIndex}return o}function Jn(e,t,n){null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),t=Er(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function Zn(e){return null!=e&&nr($a(e))}function Qn(e,t){return e=\"number\"==typeof e||ze.test(e)?+e:-1,t=null==t?Pa:t,e>-1&&e%1==0&&t>e}function Xn(e,t,n){if(!Mi(n))return!1;var r=typeof t;if(\"number\"==r?Zn(n)&&Qn(t,n.length):\"string\"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if(\"string\"==n&&Se.test(e)||\"number\"==n)return!0;if(Cs(e))return!1;var r=!je.test(e);return r||null!=t&&e in lr(t)}function tr(e){var n=$n(e);if(!(n in Z.prototype))return!1;var r=t[n];if(e===r)return!0;var i=La(r);return!!i&&e===i[0]}function nr(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Mi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=M>i,a=r==M&&n==T||r==M&&n==z&&e[7].length<=t[8]||r==(M|z)&&n==T;if(!o&&!a)return e;r&O&&(e[2]=t[2],i|=n&O?0:C);var s=t[3];if(s){var c=e[3];e[3]=c?cn(c,s,t[4]):et(s),e[4]=c?b(e[3],H):et(t[4])}return s=t[5],s&&(c=e[5],e[5]=c?un(c,s,t[6]):et(s),e[6]=c?b(e[5],H):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&M&&(e[8]=null==e[8]?t[8]:ka(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:Ts(e,t,or)}function ar(e,t){e=lr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function sr(e,t){var n={};return Tt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function cr(e,t){for(var n=e.length,r=ka(t.length,n),i=et(e);r--;){var o=t[r];e[r]=Qn(o,n)?i[o]:S}return e}function ur(e){for(var t=eo(e),n=t.length,r=n&&e.length,i=!!r&&nr(r)&&(Cs(e)||Si(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Qn(s,r)||ta.call(e,s))&&a.push(s)}return a}function pr(e){return null==e?[]:Zn(e)?Mi(e)?e:Yo(e):oo(e)}function lr(e){return Mi(e)?e:Yo(e)}function fr(e){if(Cs(e))return e;var t=[];return s(e).replace(Ee,function(e,n,r,i){t.push(r?i.replace(Te,\"$1\"):n||e)}),t}function dr(e){return e instanceof Z?e.clone():new y(e.__wrapped__,e.__chain__,et(e.__actions__))}function hr(e,t,n){t=(n?Xn(e,t,n):null==t)?1:_a(ya(t)||1,1);for(var r=0,i=e?e.length:0,o=-1,a=Lo(va(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function vr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0):[]}function xr(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function wr(e){return e?e[0]:S}function _r(e,t,n){var r=e?e.length:0;return n&&Xn(e,t,n)&&(t=!1),r?Ct(e,t):[]}function kr(e){var t=e?e.length:0;return t?Ct(e,!0):[]}function jr(e,t,n){var r=e?e.length:0;if(!r)return-1;if(\"number\"==typeof n)n=0>n?_a(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return o(e,t,n||0)}function Sr(e){return gr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Or(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(\"number\"==typeof n)i=(0>n?_a(r+n,0):ka(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)da.call(t,o,1);return t}function Cr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Ln(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Vt(e,o),r}function Tr(e){return vr(e,1)}function Ir(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function Pr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Fr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Mr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!1,!0):[]}function zr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&\"boolean\"!=typeof t&&(r=n,n=Xn(e,t,r)?S:t,t=!1);var a=Ln();return null==n&&a===xt||(n=a(n,r,3)),t&&Un()==o?x(e,n):Xt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Zn(e)?(n=_a(e.length,n),!0):void 0});for(var r=Lo(n);++t<n;)r[t]=ct(e,Ut(t));return r}function Dr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Nr(e);return null==t?i:(t=an(t,n,4),ct(i,function(e){return pt(e,t,S,!0)}))}function qr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Zn(n))var r=r?ut(kt(r,n),kt(n,r)):n}return r?Xt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Cs(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Lr(e){var n=t(e);return n.__chain__=!0,n}function $r(e,t,n){return t.call(n,e),e}function Ur(e,t,n){return t.call(n,e)}function Hr(){return Lr(this)}function Vr(){return new y(this.value(),this.__chain__)}function Wr(e){for(var t,r=this;r instanceof n;){var i=dr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Yr(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[t],thisArg:S}),new y(n,this.__chain__)}return this.thru(t)}function Kr(){return this.value()+\"\"}function Gr(){return nn(this.__wrapped__,this.__actions__)}function Jr(e,t,n){var r=Cs(e)?ot:jt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function Zr(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,t)}function Qr(e,t){return is(e,qt(t))}function Xr(e,t,n,r){var i=e?$a(e):0;return nr(i)||(e=oo(e),i=e.length),n=\"number\"!=typeof n||r&&Xn(t,n,r)?0:0>n?_a(i+n,0):n||0,\"string\"==typeof e||!Cs(e)&&$i(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Cs(e)?ct:Dt;return t=Ln(t,n,3),r(e,t)}function ti(e,t){return ei(e,Mo(t))}function ni(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Xn(e,t,n):null==t){e=pr(e);var r=e.length;return r>0?e[Wt(0,r-1)]:S}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=ka(0>t?0:+t||0,r);++i<t;){var s=Wt(i,a),c=o[s];o[s]=o[i],o[i]=c}return o.length=t,o}function ii(e){return ri(e,Aa)}function oi(e){var t=e?$a(e):0;return nr(t)?t:Rs(e).length}function ai(e,t,n){var r=Cs(e)?ft:Gt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function si(e,t,n){if(null==e)return[];n&&Xn(e,t,n)&&(t=S);var r=-1;t=Ln(t,n,3);var i=Dt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Jt(i,p)}function ci(e,t,n,r){return null==e?[]:(r&&Xn(t,n,r)&&(n=S),Cs(t)||(t=null==t?[]:[t]),Cs(n)||(n=null==n?[]:[n]),Zt(e,t,n))}function ui(e,t){return Zr(e,qt(t))}function pi(e,t){if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var n=e;e=t,t=n}return e=xa(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function li(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=e&&null==t?e.length:_a(+t||0,0),Nn(e,M,S,S,S,S,t)}function fi(e,t){var n;if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function di(e,t,n){function r(){d&&sa(d),u&&sa(u),m=0,u=d=h=S}function i(t,n){n&&sa(n),u=d=h=S,t&&(m=ms(),p=e.apply(f,c),d||u||(c=f=S))}function o(){var e=t-(ms()-l);0>=e||e>t?i(h,u):d=fa(o,e)}function a(){i(g,d)}function s(){if(c=arguments,l=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{u||y||(m=l);var r=v-(l-m),i=0>=r||r>v;i?(u&&(u=sa(u)),m=l,p=e.apply(f,c)):u||(u=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,p=e.apply(f,c)),!i||d||u||(c=f=S),p}var c,u,p,l,f,d,h,m=0,v=!1,g=!0;if(\"function\"!=typeof e)throw new Jo(U);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Mi(n)&&(y=!!n.leading,v=\"maxWait\"in n&&_a(+n.maxWait||0,t),g=\"trailing\"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new Jo(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if(\"function\"!=typeof e)throw new Jo(U);return t=_a(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=_a(n.length-t,0),o=Lo(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=Lo(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function yi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(t){return e.apply(this,t)}}function bi(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Jo(U);return n===!1?r=!1:Mi(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),di(e,t,{leading:r,maxWait:+t,trailing:i})}function xi(e,t){return t=null==t?Ao:t,Nn(t,P,S,[e],[])}function wi(e,t,n,r){return t&&\"boolean\"!=typeof t&&Xn(e,t,n)?t=!1:\"function\"==typeof t&&(r=n,n=t,t=!1),\"function\"==typeof n?wt(e,t,an(n,r,1)):wt(e,t)}function _i(e,t,n){return\"function\"==typeof t?wt(e,!0,an(t,n,1)):wt(e,!0)}function ki(e,t){return e>t}function ji(e,t){return e>=t}function Si(e){return g(e)&&Zn(e)&&ta.call(e,\"callee\")&&!pa.call(e,\"callee\")}function Ei(e){return e===!0||e===!1||g(e)&&ra.call(e)==Y}function Oi(e){return g(e)&&ra.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&g(e)&&!Ri(e)}function Ci(e){return null==e?!0:Zn(e)&&(Cs(e)||$i(e)||Si(e)||g(e)&&Fi(e.splice))?!e.length:!Rs(e).length}function Ti(e,t,n,r){n=\"function\"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?zt(e,t,n):!!i}function Ii(e){return g(e)&&\"string\"==typeof e.message&&ra.call(e)==G}function Pi(e){return\"number\"==typeof e&&xa(e)}function Fi(e){return Mi(e)&&ra.call(e)==J}function Mi(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function zi(e,t,n,r){return n=\"function\"==typeof n?an(n,r,3):S,Nt(e,Hn(t),n)}function Bi(e){return qi(e)&&e!=+e}function Ni(e){return null==e?!1:Fi(e)?oa.test(ea.call(e)):g(e)&&Me.test(e)}function Di(e){return null===e}function qi(e){return\"number\"==typeof e||g(e)&&ra.call(e)==Q}function Ri(e){var t;if(!g(e)||ra.call(e)!=X||Si(e)||!ta.call(e,\"constructor\")&&(t=e.constructor,\"function\"==typeof t&&!(t instanceof t)))return!1;var n;return Tt(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Li(e){return Mi(e)&&ra.call(e)==ee}function $i(e){return\"string\"==typeof e||g(e)&&ra.call(e)==ne}function Ui(e){return g(e)&&nr(e.length)&&!!$e[ra.call(e)]}function Hi(e){return e===S}function Vi(e,t){return t>e}function Wi(e,t){return t>=e}function Yi(e){var t=e?$a(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Gi(e,t,n){var r=za(e);return n&&Xn(e,t,n)&&(t=S),t?gt(r,t):r}function Ji(e){return Ft(e,eo(e))}function Zi(e,t,n){var r=null==e?S:Mt(e,fr(t),t+\"\");return r===S?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Cs(e)||Si(e))}function Xi(e,t,n){n&&Xn(e,t,n)&&(t=S);for(var r=-1,i=Rs(e),o=i.length,a={};++r<o;){var s=i[r],c=e[s];t?ta.call(a,c)?a[c].push(s):a[c]=[s]:a[c]=s}return a}function eo(e){if(null==e)return[];Mi(e)||(e=Yo(e));var t=e.length;t=t&&nr(t)&&(Cs(e)||Si(e))&&t||0;for(var n=e.constructor,r=-1,i=\"function\"==typeof n&&n.prototype===e,o=Lo(t),a=t>0;++r<t;)o[r]=r+\"\";for(var s in e)a&&Qn(s,t)||\"constructor\"==s&&(i||!ta.call(e,s))||o.push(s);return o}function to(e){e=lr(e);for(var t=-1,n=Rs(e),r=n.length,i=Lo(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function no(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),r=null==e?S:e[Er(t)]),r=r===S?n:r),Fi(r)?r.call(e):r}function ro(e,t,n){if(null==e)return e;var r=t+\"\";t=null!=e[r]||er(t,e)?[r]:fr(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];Mi(s)&&(i==a?s[c]=n:null==s[c]&&(s[c]=Qn(t[i+1])?[]:{})),s=s[c]}return e}function io(e,t,n,r){var i=Cs(e)||Ui(e);if(t=Ln(t,r,4),null==n)if(i||Mi(e)){var o=e.constructor;n=i?Cs(e)?new o:[]:za(Fi(o)?o.prototype:S)}else n={};return(i?tt:It)(e,function(e,r,i){return t(n,e,r,i)}),n}function oo(e){return en(e,Rs(e))}function ao(e){return en(e,eo(e))}function so(e,t,n){return t=+t||0,n===S?(n=t,t=0):n=+n||0,e>=ka(t,n)&&e<_a(t,n)}function co(e,t,n){n&&Xn(e,t,n)&&(t=n=S);var r=null==e,i=null==t;if(null==n&&(i&&\"boolean\"==typeof e?(n=e,e=1):\"boolean\"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Ea();return ka(e+o*(t-e+ca(\"1e-\"+((o+\"\").length-1))),t)}return Wt(e,t)}function uo(e){return e=s(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e=s(e),e&&e.replace(Be,f).replace(Ce,\"\")}function lo(e,t,n){e=s(e),t+=\"\";var r=e.length;return n=n===S?r:ka(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=s(e),e&&xe.test(e)?e.replace(ye,d):e}function ho(e){return e=s(e),e&&Ae.test(e)?e.replace(Oe,h):e||\"(?:)\"}function mo(e,t,n){e=s(e),t=+t;var r=e.length;if(r>=t||!xa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Fn(\"\",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Xn(e,t,n):null==t)?t=0:t&&(t=+t),e=xo(e),Sa(e,t||(Fe.test(e)?16:10))}function go(e,t){var n=\"\";if(e=s(e),t=+t,1>t||!e||!xa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=s(e),n=null==n?0:ka(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Xn(e,n,r)&&(n=r=S),e=s(e),n=vt(gt({},r||n),i,mt);var o,a,c=vt(gt({},n.imports),i.imports,mt),u=Rs(c),p=en(c,u),l=0,f=n.interpolate||Ne,d=\"__p += '\",h=Ko((n.escape||Ne).source+\"|\"+f.source+\"|\"+(f===ke?Ie:Ne).source+\"|\"+(n.evaluate||Ne).source+\"|$\",\"g\"),v=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++Le+\"]\")+\"\\n\";e.replace(h,function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(l,c).replace(De,m),n&&(o=!0,d+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,d+=\"';\\n\"+s+\";\\n__p += '\"),r&&(d+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),l=c+t.length,t}),d+=\"';\\n\";var g=n.variable;g||(d=\"with (obj) {\\n\"+d+\"\\n}\\n\"),d=(a?d.replace(he,\"\"):d).replace(me,\"$1\").replace(ve,\"$1;\"),d=\"function(\"+(g||\"obj\")+\") {\\n\"+(g?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+d+\"return __p\\n}\";var y=Zs(function(){return Ho(u,v+\"return \"+d).apply(S,p)});if(y.source=d,Ii(y))throw y;return y}function xo(e,t,n){var r=e;return(e=s(e))?(n?Xn(r,t,n):null==t)?e.slice(w(e),_(e)+1):(t+=\"\",e.slice(c(e,t),u(e,t)+1)):e}function wo(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(w(e)):e.slice(c(e,t+\"\")):e}function _o(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,u(e,t+\"\")+1):e}function ko(e,t,n){n&&Xn(e,t,n)&&(t=S);var r=B,i=N;if(null!=t)if(Mi(t)){var o=\"separator\"in t?t.separator:o;r=\"length\"in t?+t.length||0:r,i=\"omission\"in t?s(t.omission):i}else r=+t||0;if(e=s(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var c=e.slice(0,a);if(null==o)return c+i;if(Li(o)){if(e.slice(a).search(o)){var u,p,l=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||\"\")+\"g\")),o.lastIndex=0;u=o.exec(l);)p=u.index;c=c.slice(0,null==p?a:p)}}else if(e.indexOf(o,a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+i}function jo(e){return e=s(e),e&&be.test(e)?e.replace(ge,k):e}function So(e,t,n){return n&&Xn(e,t,n)&&(t=S),e=s(e),e.match(t||qe)||[]}function Eo(e,t,n){return n&&Xn(e,t,n)&&(t=S),\ng(e)?Co(e):xt(e,t)}function Oo(e){return function(){return e}}function Ao(e){return e}function Co(e){return qt(wt(e,!0))}function To(e,t){return Rt(e,wt(t,!0))}function Io(e,t,n){if(null==n){var r=Mi(t),i=r?Rs(t):S,o=i&&i.length?Ft(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Rs(t)));var a=!0,s=-1,c=Fi(e),u=o.length;n===!1?a=!1:Mi(n)&&\"chain\"in n&&(a=n.chain);for(;++s<u;){var p=o[s],l=t[p];e[p]=l,c&&(e.prototype[p]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,ut([this.value()],arguments))}}(l))}return e}function Po(){return nt._=ia,this}function Fo(){}function Mo(e){return er(e)?Ut(e):Ht(e)}function zo(e){return function(t){return Mt(e,fr(t),t+\"\")}}function Bo(e,t,n){n&&Xn(e,t,n)&&(t=n=S),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=_a(va((t-e)/(n||1)),0),o=Lo(i);++r<i;)o[r]=e,e+=n;return o}function No(e,t,n){if(e=ya(e),1>e||!xa(e))return[];var r=-1,i=Lo(ka(e,Ca));for(t=an(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function Do(e){var t=++na;return s(e)+t}function qo(e,t){return(+e||0)+(+t||0)}function Ro(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=Ln(t,n,3),1==t.length?dt(Cs(e)?e:pr(e),t):Qt(e,t)}e=e?rt.defaults(nt.Object(),e,rt.pick(nt,Re)):nt;var Lo=e.Array,$o=e.Date,Uo=e.Error,Ho=e.Function,Vo=e.Math,Wo=e.Number,Yo=e.Object,Ko=e.RegExp,Go=e.String,Jo=e.TypeError,Zo=Lo.prototype,Qo=Yo.prototype,Xo=Go.prototype,ea=Ho.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=nt._,oa=Ko(\"^\"+ea.call(ta).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),aa=e.ArrayBuffer,sa=e.clearTimeout,ca=e.parseFloat,ua=Vo.pow,pa=Qo.propertyIsEnumerable,la=Vn(e,\"Set\"),fa=e.setTimeout,da=Zo.splice,ha=e.Uint8Array,ma=Vn(e,\"WeakMap\"),va=Vo.ceil,ga=Vn(Yo,\"create\"),ya=Vo.floor,ba=Vn(Lo,\"isArray\"),xa=e.isFinite,wa=Vn(Yo,\"keys\"),_a=Vo.max,ka=Vo.min,ja=Vn($o,\"now\"),Sa=e.parseInt,Ea=Vo.random,Oa=Wo.NEGATIVE_INFINITY,Aa=Wo.POSITIVE_INFINITY,Ca=4294967295,Ta=Ca-1,Ia=Ca>>>1,Pa=9007199254740991,Fa=ma&&new ma,Ma={};t.support={};t.templateSettings={escape:we,evaluate:_e,interpolate:ke,variable:\"\",imports:{_:t}};var za=function(){function e(){}return function(t){if(Mi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),Ba=fn(It),Na=fn(Pt,!0),Da=dn(),qa=dn(!0),Ra=Fa?function(e,t){return Fa.set(e,t),e}:Ao,La=Fa?function(e){return Fa.get(e)}:Fo,$a=Ut(\"length\"),Ua=function(){var e=0,t=0;return function(n,r){var i=ms(),o=q-(i-t);if(t=i,o>0){if(++e>=D)return n}else e=0;return Ra(n,r)}}(),Ha=gi(function(e,t){return g(e)&&Zn(e)?kt(e,Ct(t,!1,!0)):[]}),Va=_n(),Wa=_n(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Lo(l),i=Un(),a=i==o,s=[];n--;){var c=e[n]=Zn(c=e[n])?c:[];r[n]=a&&c.length>=120?mn(n&&c):null}var u=e[0],p=-1,l=u?u.length:0,f=r[0];e:for(;++p<l;)if(c=u[p],(f?Ze(f,c):i(s,c,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,c):i(e[n],c,0))<0)continue e}f&&f.push(c),s.push(c)}return s}),Ka=gi(function(e,t){t=Ct(t);var n=yt(e,t);return Vt(e,t.sort(r)),n}),Ga=Bn(),Ja=Bn(!0),Za=gi(function(e){return Xt(Ct(e,!1,!0))}),Qa=gi(function(e,t){return Zn(e)?kt(e,t):[]}),Xa=gi(Nr),es=gi(function(e){var t=e.length,n=t>2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&\"function\"==typeof n?t-=2:(n=t>1&&\"function\"==typeof r?(--t,r):S,r=S),e.length=t,Dr(e,n,r)}),ts=gi(function(e){return e=Ct(e),this.thru(function(t){return Xe(Cs(t)?t:[lr(t)],e)})}),ns=gi(function(e,t){return yt(e,Ct(t))}),rs=pn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=wn(Ba),os=wn(Na,!0),as=Sn(tt,Ba),ss=Sn(it,Na),cs=pn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=pn(function(e,t,n){e[n]=t}),ps=gi(function(e,t,n){var r=-1,i=\"function\"==typeof t,o=er(t),a=Zn(e)?Lo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Jn(e,t,n)}),a}),ls=pn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=In(pt,Ba),ds=In(lt,Na),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Xn(t[0],t[1],n)&&(t.length=1),Zt(e,Ct(t),[])}),ms=ja||function(){return(new $o).getTime()},vs=gi(function(e,t,n){var r=O;if(n.length){var i=b(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Ct(t):Ji(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=Nn(e[i],O,e)}return e}),ys=gi(function(e,t,n){var r=O|A;if(n.length){var i=b(n,ys.placeholder);r|=P}return Nn(t,r,e,n,i)}),bs=yn(T),xs=yn(I),ws=gi(function(e,t){return _t(e,1,t)}),_s=gi(function(e,t,n){return _t(e,t,n)}),ks=jn(),js=jn(!0),Ss=gi(function(e,t){if(t=Ct(t),\"function\"!=typeof e||!ot(t,a))throw new Jo(U);var n=t.length;return gi(function(r){for(var i=ka(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})}),Es=Tn(P),Os=Tn(F),As=gi(function(e,t){return Nn(e,z,S,S,S,Ct(t))}),Cs=ba||function(e){return g(e)&&nr(e.length)&&ra.call(e)==W},Ts=ln(Lt),Is=ln(function(e,t,n){return n?vt(e,t,n):gt(e,t)}),Ps=bn(Is,ht),Fs=bn(Ts,or),Ms=kn(It),zs=kn(Pt),Bs=En(Da),Ns=En(qa),Ds=On(It),qs=On(Pt),Rs=wa?function(e){var t=null==e?S:e.constructor;return\"function\"==typeof t&&t.prototype===e||\"function\"!=typeof e&&Zn(e)?ur(e):Mi(e)?wa(e):[]}:ur,Ls=An(!0),$s=An(),Us=gi(function(e,t){if(null==e)return{};if(\"function\"!=typeof t[0]){var t=ct(Ct(t),Go);return ar(e,kt(eo(e),t))}var n=an(t[0],t[1],3);return sr(e,function(e,t,r){return!n(e,t,r)})}),Hs=gi(function(e,t){return null==e?{}:\"function\"==typeof t[0]?sr(e,an(t[0],t[1],3)):ar(e,Ct(t))}),Vs=vn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Ws=vn(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Ys=Cn(),Ks=Cn(!0),Gs=vn(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Js=vn(function(e,t,n){return e+(n?\" \":\"\")+(t.charAt(0).toUpperCase()+t.slice(1))}),Zs=gi(function(e,t){try{return e.apply(S,t)}catch(n){return Ii(n)?n:new Uo(n)}}),Qs=gi(function(e,t){return function(n){return Jn(n,e,t)}}),Xs=gi(function(e,t){return function(n){return Jn(e,n,t)}}),ec=zn(\"ceil\"),tc=zn(\"floor\"),nc=xn(ki,Oa),rc=xn(Vi,Aa),ic=zn(\"round\");return t.prototype=n.prototype,y.prototype=za(n.prototype),y.prototype.constructor=y,Z.prototype=za(n.prototype),Z.prototype.constructor=Z,Ve.prototype[\"delete\"]=We,Ve.prototype.get=Ye,Ve.prototype.has=Ke,Ve.prototype.set=Ge,Je.prototype.push=Qe,hi.Cache=Ve,t.after=pi,t.ary=li,t.assign=Is,t.at=ns,t.before=fi,t.bind=vs,t.bindAll=gs,t.bindKey=ys,t.callback=Eo,t.chain=Lr,t.chunk=hr,t.compact=mr,t.constant=Oo,t.countBy=rs,t.create=Gi,t.curry=bs,t.curryRight=xs,t.debounce=di,t.defaults=Ps,t.defaultsDeep=Fs,t.defer=ws,t.delay=_s,t.difference=Ha,t.drop=vr,t.dropRight=gr,t.dropRightWhile=yr,t.dropWhile=br,t.fill=xr,t.filter=Zr,t.flatten=_r,t.flattenDeep=kr,t.flow=ks,t.flowRight=js,t.forEach=as,t.forEachRight=ss,t.forIn=Bs,t.forInRight=Ns,t.forOwn=Ds,t.forOwnRight=qs,t.functions=Ji,t.groupBy=cs,t.indexBy=us,t.initial=Sr,t.intersection=Ya,t.invert=Xi,t.invoke=ps,t.keys=Rs,t.keysIn=eo,t.map=ei,t.mapKeys=Ls,t.mapValues=$s,t.matches=Co,t.matchesProperty=To,t.memoize=hi,t.merge=Ts,t.method=Qs,t.methodOf=Xs,t.mixin=Io,t.modArgs=Ss,t.negate=mi,t.omit=Us,t.once=vi,t.pairs=to,t.partial=Es,t.partialRight=Os,t.partition=ls,t.pick=Hs,t.pluck=ti,t.property=Mo,t.propertyOf=zo,t.pull=Ar,t.pullAt=Ka,t.range=Bo,t.rearg=As,t.reject=ni,t.remove=Cr,t.rest=Tr,t.restParam=gi,t.set=ro,t.shuffle=ii,t.slice=Ir,t.sortBy=si,t.sortByAll=hs,t.sortByOrder=ci,t.spread=yi,t.take=Pr,t.takeRight=Fr,t.takeRightWhile=Mr,t.takeWhile=zr,t.tap=$r,t.throttle=bi,t.thru=Ur,t.times=No,t.toArray=Yi,t.toPlainObject=Ki,t.transform=io,t.union=Za,t.uniq=Br,t.unzip=Nr,t.unzipWith=Dr,t.values=oo,t.valuesIn=ao,t.where=ui,t.without=Qa,t.wrap=xi,t.xor=qr,t.zip=Xa,t.zipObject=Rr,t.zipWith=es,t.backflow=js,t.collect=ei,t.compose=js,t.each=as,t.eachRight=ss,t.extend=Is,t.iteratee=Eo,t.methods=Ji,t.object=Rr,t.select=Zr,t.tail=Tr,t.unique=Br,Io(t,t),t.add=qo,t.attempt=Zs,t.camelCase=Vs,t.capitalize=uo,t.ceil=ec,t.clone=wi,t.cloneDeep=_i,t.deburr=po,t.endsWith=lo,t.escape=fo,t.escapeRegExp=ho,t.every=Jr,t.find=is,t.findIndex=Va,t.findKey=Ms,t.findLast=os,t.findLastIndex=Wa,t.findLastKey=zs,t.findWhere=Qr,t.first=wr,t.floor=tc,t.get=Zi,t.gt=ki,t.gte=ji,t.has=Qi,t.identity=Ao,t.includes=Xr,t.indexOf=jr,t.inRange=so,t.isArguments=Si,t.isArray=Cs,t.isBoolean=Ei,t.isDate=Oi,t.isElement=Ai,t.isEmpty=Ci,t.isEqual=Ti,t.isError=Ii,t.isFinite=Pi,t.isFunction=Fi,t.isMatch=zi,t.isNaN=Bi,t.isNative=Ni,t.isNull=Di,t.isNumber=qi,t.isObject=Mi,t.isPlainObject=Ri,t.isRegExp=Li,t.isString=$i,t.isTypedArray=Ui,t.isUndefined=Hi,t.kebabCase=Ws,t.last=Er,t.lastIndexOf=Or,t.lt=Vi,t.lte=Wi,t.max=nc,t.min=rc,t.noConflict=Po,t.noop=Fo,t.now=ms,t.pad=mo,t.padLeft=Ys,t.padRight=Ks,t.parseInt=vo,t.random=co,t.reduce=fs,t.reduceRight=ds,t.repeat=go,t.result=no,t.round=ic,t.runInContext=j,t.size=oi,t.snakeCase=Gs,t.some=ai,t.sortedIndex=Ga,t.sortedLastIndex=Ja,t.startCase=Js,t.startsWith=yo,t.sum=Ro,t.template=bo,t.trim=xo,t.trimLeft=wo,t.trimRight=_o,t.trunc=ko,t.unescape=jo,t.uniqueId=Do,t.words=So,t.all=Jr,t.any=ai,t.contains=Xr,t.eq=Ti,t.detect=is,t.foldl=fs,t.foldr=ds,t.head=wr,t.include=Xr,t.inject=fs,Io(t,function(){var e={};return It(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ri,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ri(t,e)}):ri(this.value())},t.VERSION=E,tt([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),tt([\"drop\",\"take\"],function(e,t){Z.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Z(this);n=null==n?1:_a(ya(n)||0,0);var i=this.clone();return r?i.__takeCount__=ka(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?\"Right\":\"\")}),i},Z.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),tt([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n!=$;Z.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:Ln(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),tt([\"first\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Z.prototype[e]=function(){return this[n](1).value()[0]}}),tt([\"initial\",\"rest\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[n](1)}}),tt([\"pluck\",\"where\"],function(e,t){var n=t?\"filter\":\"map\",r=t?qt:Mo;Z.prototype[e]=function(e){return this[n](r(e))}}),Z.prototype.compact=function(){return this.filter(Ao)},Z.prototype.reject=function(e,t){return e=Ln(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||0>t)?new Z(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},Z.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Z.prototype.toArray=function(){return this.take(Aa)},It(Z.prototype,function(e,n){var r=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n];o&&(t.prototype[n]=function(){var t=i?[1]:arguments,n=this.__chain__,a=this.__wrapped__,s=!!this.__actions__.length,c=a instanceof Z,u=t[0],p=c||Cs(a);p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var l=function(e){return i&&n?o(e,1)[0]:o.apply(S,ut([e],t))},f={func:Ur,args:[l],thisArg:S},d=c&&!s;if(i&&!n)return d?(a=a.clone(),a.__actions__.push(f),e.call(a)):o.call(S,this.value())[0];if(!i&&p){a=d?a:new Z(this);var h=e.apply(a,t);return h.__actions__.push(f),new y(h,n)}return this.thru(l)})}),tt([\"join\",\"pop\",\"push\",\"replace\",\"shift\",\"sort\",\"splice\",\"split\",\"unshift\"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Zo)[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),It(Z.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ma[i]||(Ma[i]=[]);o.push({name:n,func:r})}}),Ma[Pn(S,A).name]=[{name:\"wrapper\",func:S}],Z.prototype.clone=te,Z.prototype.reverse=re,Z.prototype.value=He,t.prototype.chain=Hr,t.prototype.commit=Vr,t.prototype.concat=ts,t.prototype.plant=Wr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Gr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,E=\"3.10.1\",O=1,A=2,C=4,T=8,I=16,P=32,F=64,M=128,z=256,B=30,N=\"...\",D=150,q=16,R=200,L=1,$=2,U=\"Expected a function\",H=\"__lodash_placeholder__\",V=\"[object Arguments]\",W=\"[object Array]\",Y=\"[object Boolean]\",K=\"[object Date]\",G=\"[object Error]\",J=\"[object Function]\",Z=\"[object Map]\",Q=\"[object Number]\",X=\"[object Object]\",ee=\"[object RegExp]\",te=\"[object Set]\",ne=\"[object String]\",re=\"[object WeakMap]\",ie=\"[object ArrayBuffer]\",oe=\"[object Float32Array]\",ae=\"[object Float64Array]\",se=\"[object Int8Array]\",ce=\"[object Int16Array]\",ue=\"[object Int32Array]\",pe=\"[object Uint8Array]\",le=\"[object Uint8ClampedArray]\",fe=\"[object Uint16Array]\",de=\"[object Uint32Array]\",he=/\\b__p \\+= '';/g,me=/\\b(__p \\+=) '' \\+/g,ve=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,ye=/[&<>\"'`]/g,be=RegExp(ge.source),xe=RegExp(ye.source),we=/<%-([\\s\\S]+?)%>/g,_e=/<%([\\s\\S]+?)%>/g,ke=/<%=([\\s\\S]+?)%>/g,je=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,Se=/^\\w*$/,Ee=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,Oe=/^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,Ae=RegExp(Oe.source),Ce=/[\\u0300-\\u036f\\ufe20-\\ufe23]/g,Te=/\\\\(\\\\)?/g,Ie=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pe=/\\w*$/,Fe=/^0[xX]/,Me=/^\\[object .+?Constructor\\]$/,ze=/^\\d+$/,Be=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Ne=/($^)/,De=/['\\n\\r\\u2028\\u2029\\\\]/g,qe=function(){var e=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",t=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+\";return RegExp(e+\"+(?=\"+e+t+\")|\"+e+\"?\"+t+\"|\"+e+\"+|[0-9]+\",\"g\")}(),Re=[\"Array\",\"ArrayBuffer\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Math\",\"Number\",\"Object\",\"RegExp\",\"Set\",\"String\",\"_\",\"clearTimeout\",\"isFinite\",\"parseFloat\",\"parseInt\",\"setTimeout\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\"],Le=-1,$e={};$e[oe]=$e[ae]=$e[se]=$e[ce]=$e[ue]=$e[pe]=$e[le]=$e[fe]=$e[de]=!0,$e[V]=$e[W]=$e[ie]=$e[Y]=$e[K]=$e[G]=$e[J]=$e[Z]=$e[Q]=$e[X]=$e[ee]=$e[te]=$e[ne]=$e[re]=!1;var Ue={};Ue[V]=Ue[W]=Ue[ie]=Ue[Y]=Ue[K]=Ue[oe]=Ue[ae]=Ue[se]=Ue[ce]=Ue[ue]=Ue[Q]=Ue[X]=Ue[ee]=Ue[ne]=Ue[pe]=Ue[le]=Ue[fe]=Ue[de]=!0,Ue[G]=Ue[J]=Ue[Z]=Ue[te]=Ue[re]=!1;var He={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},Ve={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},We={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Ye={\"function\":!0,object:!0},Ke={0:\"x30\",1:\"x31\",2:\"x32\",3:\"x33\",4:\"x34\",5:\"x35\",6:\"x36\",7:\"x37\",8:\"x38\",9:\"x39\",A:\"x41\",B:\"x42\",C:\"x43\",D:\"x44\",E:\"x45\",F:\"x46\",a:\"x61\",b:\"x62\",c:\"x63\",d:\"x64\",e:\"x65\",f:\"x66\",n:\"x6e\",r:\"x72\",t:\"x74\",u:\"x75\",v:\"x76\",x:\"x78\"},Ge={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Je=Ye[typeof n]&&n&&!n.nodeType&&n,Ze=Ye[typeof t]&&t&&!t.nodeType&&t,Qe=Je&&Ze&&\"object\"==typeof e&&e&&e.Object&&e,Xe=Ye[typeof self]&&self&&self.Object&&self,et=Ye[typeof window]&&window&&window.Object&&window,tt=Ze&&Ze.exports===Je&&Je,nt=Qe||et!==(this&&this.window)&&et||Xe||this,rt=j();\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?(nt._=rt,define(function(){return rt})):Je&&Ze?tt?(Ze.exports=rt)._=rt:Je._=rt:nt._=rt}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],415:[function(e,t,n){t.exports={_args:[[\"sendgrid\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"sendgrid@*\",_id:\"sendgrid@2.0.0\",_inCache:!0,_installable:!0,_location:\"/sendgrid\",_nodeVersion:\"4.1.2\",_npmUser:{email:\"elmer@thinkingserious.com\",name:\"thinkingserious\"},_npmVersion:\"3.3.5\",_phantomChildren:{},_requested:{name:\"sendgrid\",raw:\"sendgrid\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\",_shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",_shrinkwrap:null,_spec:\"sendgrid\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"info@sendgrid.com\",name:\"SendGrid\",url:\"sendgrid.com\"},bugs:{url:\"https://github.com/sendgrid/sendgrid-nodejs/issues\"},contributors:[{name:\"Kyle Partridge\",email:\"kyle.partridge@sendgrid.com\"},{name:\"David Tomberlin\",email:\"david.tomberlin@sendgrid.com\"},{name:\"Swift\",email:\"swift@sendgrid.com\"},{name:\"Brandon West\",email:\"brandon.west@sendgrid.com\"},{name:\"Scott Motte\",email:\"scott.motte@sendgrid.com\"},{name:\"Robert Acosta\",email:\"robert.acosta@sendgrid.com\"}],dependencies:{lodash:\"^3.0.1 || ^2.0.0\",mime:\"^1.2.9\",request:\"^2.60.0\",smtpapi:\"^1.2.0\"},description:\"Official SendGrid NodeJS library.\",devDependencies:{chai:\">= 0.1.6\",dotenv:\"0.0.2\",mocha:\">= 0.9.0\",nock:\"^0.16.0\",sinon:\"^1.6.0\"},directories:{},dist:{shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",tarball:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\"},engines:{node:\">= 0.4.7\"},gitHead:\"a5d9f8985136d948a8c47e525192a87ed60f61bf\",homepage:\"http://sendgrid.com\",license:\"MIT\",maintainers:[{name:\"siyegen\",email:\"siyegen@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"partkyle\",email:\"partkyle@gmail.com\"},{name:\"theycallmeswift\",email:\"theycallmeswift@gmail.com\"},{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"mkbernier\",email:\"mkbernier@gmail.com\"},{name:\"thinkingserious\",email:\"elmer@thinkingserious.com\"}],name:\"sendgrid\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/sendgrid-nodejs.git\"},scripts:{skipped:\"mocha --grep '#skip'\",test:\"mocha --grep '#skip' --invert\"},version:\"2.0.0\"}},{}],416:[function(e,t,n){(function(n){\"use strict\";function r(e,t){if(!e)throw new TypeError(\"root path required\");if(\"string\"!=typeof e)throw new TypeError(\"root path must be a string\");var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,s=n.setHeaders;if(s&&\"function\"!=typeof s)throw new TypeError(\"option setHeaders must be function\");n.maxage=n.maxage||n.maxAge||0,n.root=u(e);var l=i?a():o();return function(e,t,i){if(\"GET\"!==e.method&&\"HEAD\"!==e.method)return r?i():(t.statusCode=405,t.setHeader(\"Allow\",\"GET, HEAD\"),t.setHeader(\"Content-Length\",\"0\"),void t.end());var o=!r,a=c.original(e),u=c(e).pathname;\"/\"===u&&\"/\"!==a.pathname.substr(-1)&&(u=\"\");var f=p(e,u,n);f.on(\"directory\",l),s&&f.on(\"headers\",s),r&&f.on(\"file\",function(){o=!0}),f.on(\"error\",function(e){return!o&&e.statusCode<500?void i():void i(e)}),f.pipe(t)}}function i(e){for(var t=0;t<e.length&&\"/\"===e[t];t++);return t>1?\"/\"+e.substr(t):e}function o(){return function(){this.error(404)}}function a(){return function(){if(this.hasTrailingSlash())return void this.error(404);var e=c.original(this.req);e.path=null,e.pathname=i(e.pathname+\"/\");var t=l.format(e),r='Redirecting to <a href=\"'+s(t)+'\">'+s(t)+\"</a>\\n\",o=this.res;o.statusCode=303,o.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),o.setHeader(\"Content-Length\",n.byteLength(r)),o.setHeader(\"X-Content-Type-Options\",\"nosniff\"),o.setHeader(\"Location\",t),o.end(r)}}var s=e(\"escape-html\"),c=e(\"parseurl\"),u=e(\"path\").resolve,p=e(\"send\"),l=e(\"url\");t.exports=r,t.exports.mime=p.mime}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"escape-html\":96,parseurl:364,path:void 0,send:409,url:void 0}],417:[function(e,t,n){function r(e,t){for(var n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t(e[i]);return r}function i(e){return decodeURI(e.replace(/~1/g,\"/\").replace(/~0/g,\"~\"))}function o(e){if(\"string\"!=typeof e)throw new Error(\"Invalid JSON Pointer: invalid type (\"+typeof e+\")\");var t=r((\"#\"===e[0]?e.substr(1):e).split(\"/\"),i);if(\"\"!==t[0])throw new Error('Invalid JSON Pointer (\"'+e+'\"): non-empty pointers must begin with \"/\" or \"#/\"');return t}function a(e,t){for(var n=1,r=e.length;r>n;n++)if(t=t&&t[e[n]],void 0===t)return;return t}function s(e,t,n){for(var r=1,i=e.length-1;i>r;r++)if(t=(t||void 0)&&t[e[r]],void 0===t)return!1;if(\"object\"!=typeof t)return!1;var o=e[r];return\"-\"===o?Array.isArray(t)?(t[t.length]=n,!0):!1:(t[o]=n,!0)}var c={get:function(e){return a(this.__arrPointer,e)},set:function(e,t){return s(this.__arrPointer,e,t)}};t.exports=function(e){return Object.create(c,{__sPointer:{writable:!1,configurable:!1,enumerable:!1,value:e},__arrPointer:{writable:!1,configurable:!1,enumerable:!1,value:o(e)}})}},{}],418:[function(e,t,n){var r=e(\"skeemas-json-pointer\"),i={add:function(e,t){if(\"string\"!=typeof e)throw new Error('Unable to add JSON Ref: uri must be of type \"string\"');if(~e.indexOf(\"#\"))throw new Error(\"Unable to add JSON Ref (\"+e+\"): uri cannot include a fragment identifier (#)\");return this.__refs[e]=t,this},remove:function(e){return delete this.__refs[e],this},get:function(e,t,n){if(\"string\"!=typeof e)throw new Error('Unable to get JSON Ref: uri must be of type \"string\"');var i=e.split(\"#\");if(i.length>2)throw new Error(\"Unable to get JSON Ref (\"+e+\"): uri cannot contain multiple fragment identifiers (#)\");if(i[0]&&(t=this.__refs[i[0]]),!t)throw new Error(\"Unable to locate JSON Ref (\"+i[0]+\")\");return 1===i.length||n?t:r(i[1]).get(t)}};t.exports=function(){return Object.create(i,{__refs:{writable:!1,configurable:!1,enumerable:!1,value:{}}})}},{\"skeemas-json-pointer\":417}],419:[function(e,t,n){function r(){return Object.create(s,{_refs:{enumerable:!1,writable:!1,value:a()}})}var i=e(\"./validators\"),o=e(\"./validation-context\"),a=e(\"skeemas-json-refs\"),s={addRef:function(e,t){if(\"object\"==typeof e&&(t=e,e=null),e=e||t.id,!e)throw new Error(\"Cannot add a json schema reference without a uri/id.\");return this._refs.add(e,t),this},validate:function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");if(\"string\"==typeof t){var r=t;if(t=this._refs.get(r),!t)throw new Error(\"Unable to locate schema (\"+r+\"). Did you call addRef with this schema?\")}var a=o(t,{instance:e,refs:this._refs,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(a,e,t),a.result.valid&&(a.result.cleanInstance=a.cleanSubject),a.result}};t.exports=r,t.exports.validate=function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");var r=o(t,{instance:e,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(r,e,t),r.result.valid&&(r.result.cleanInstance=r.cleanSubject),r.result},t.exports.use=function(e){if(\"function\"!=typeof e)throw new Error(\"skeemas.use called with non-function. Plugins are in the form function(skeemas){}.\");return e(s),this}},{\"./validation-context\":420,\"./validators\":426,\"skeemas-json-refs\":418}],420:[function(e,t,n){var r=e(\"./validation-result\"),i=e(\"skeemas-json-refs\"),o={addError:function(e,t,n){return this.silent||this.result.addError(e,t,n,this),this},silently:function(e){this.silent=!0;var t=e();return this.silent=!1,t},subcontext:function(e){return a(e,this,this.silent)},runValidations:function(e,t,n){var r,i=this.breakOnError,o=Array.prototype.slice.call(arguments),a=!0;o[0]=this;for(var s=0,c=e.length;c>s;s++)if(r=e[s],r[0]&&(a=r[1].apply(null,o)&&a,i&&!a))return!1;return a}},a=t.exports=function(e,t,n){return t=t||{},Object.create(o,{id:{enumerable:!0,writable:!1,value:[]},schema:{enumerable:!0,writable:!1,value:e||t.schema},path:{enumerable:!0,writable:!1,value:t.path&&t.path.slice()||[\"#\"]},result:{enumerable:!0,writable:!1,value:!n&&t.result||r(t.instance)},refs:{enumerable:!0,writable:!1,value:t.refs||i()},silent:{enumerable:!0,writable:!0,value:!1},breakOnError:{enumerable:!0,writable:!0,value:t.breakOnError||!1},cleanWithDefaults:{enumerable:!0,writable:!0,value:t.cleanWithDefaults||!1},cleanSubject:{enumerable:!0,writable:!0,value:void 0}})}},{\"./validation-result\":421,\"skeemas-json-refs\":418}],421:[function(e,t,n){function r(){return this.message+\" (pointer: \"+this.context+\")\"}var i={addError:function(e,t,n,i){return this.errors.push({message:e,context:i.path.join(\"/\"),value:t,criteria:n,toString:r}),this.valid=!1,this}};t.exports=function(e){return Object.create(i,{instance:{enumerable:!0,writable:!1,value:e},cleanInstance:{enumerable:!0,writable:!0,value:void 0},valid:{enumerable:!0,writable:!0,value:!0},errors:{enumerable:!0,writable:!1,value:[]}})}},{}],422:[function(e,t,n){function r(e,t,n,r){var s=!0;return Array.isArray(n.items)?(s=o(e,t,n,r),\"additionalItems\"in n&&(s=a(e,t,n,r)&&s)):n.items&&(s=i(e,t,n,r)),s}function i(e,t,n,r){var i=n.items;if(\"object\"!=typeof i)throw new Error('Invalid schema: invalid \"items\"');for(var o=e.path.length,a=0,s=t.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function o(e,t,n,r){for(var i=n.items,o=e.path.length,a=0,s=i.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i[a]))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function a(e,t,n,r){var i=n.items.length,o=t.length,a=n.additionalItems;if(a===!1)return i>=o?!0:(e.addError('Failed \"additionalItems\" criteria: no additional items are allowed',t,n),!1);if(\"object\"!=typeof a)throw new Error('Invalid schema: invalid \"additionalItems\"');for(var s=e.path.length;o>i;i++){if(e.path[s]=i,!p(e,t[i],a))return e.addError('Failed \"additionalItems\" criteria',t,n),e.path.length=s,!1;r.push(e.cleanSubject)}return e.path.length=s,!0}function s(e,t,n){return t.length<n.minItems?(e.addError('Failed \"minItems\" criteria',t,n),!1):!0}function c(e,t,n){return t.length>n.maxItems?(e.addError('Failed \"maxItems\" criteria',t,n),!1):!0}function u(e,t,n){for(var r,i=t.length;i--;)for(r=i;r--;)if(l(t[i],t[r]))return e.addError('Failed \"uniqueItems\" criteria',t,n),!1;return!0}var p=e(\"./base\"),l=e(\"./deep-equal\");t.exports=function(e,t,n){if(!Array.isArray(t))return e.addError(\"Failed type:array criteria\",n),!1;var i=[],o=e.runValidations([[\"minItems\"in n,s],[\"maxItems\"in n,c],[\"uniqueItems\"in n,u],[\"items\"in n,r]],t,n,i);return\"items\"in n?e.cleanSubject=i:e.cleanSubject=t.slice(),o}},{\"./base\":423,\"./deep-equal\":425}],423:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return\"number\"===t&&e===Math.round(e)?\"integer\":t}function i(e,t,n){var r=n.format,i=y[r];if(!i)throw new Error(\"Invalid schema: unknown format (\"+r+\")\");var o=i.test?i.test(t):i(t);return o||e.addError('Failed \"format\" criteria ('+r+\")\",t,n),o}function o(e,t,n,r){for(var i,o,a=r.length;a--;){if(i=r[a],\"any\"===i)return!0;if(\"object\"!=typeof i){if(!(i in g.types))throw new Error(\"Invalid schema: invalid type (\"+i+\")\");if(\"number\"===i&&\"integer\"===n)return!0;if(n===i)return!0}else if(o=e.silently(function(){return v(e,t,i)}))return!0}return!1}function a(e,t,n){var r=n.allOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"allOf\" value must be an array');for(var i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o?!0:(e.addError('Failed \"allOf\" criteria',t,r),!1)}function s(e,t,n){var r=n.anyOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"anyOf\" value must be an array');var i=e.silently(function(){for(var n=r.length;n--;)if(v(e,t,r[n]))return!0;return!1});return i?!0:(e.addError('Failed \"anyOf\" criteria',t,r),!1)}function c(e,t,n){var r=n.oneOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"oneOf\" value must be an array');var i=r.length,o=0;return e.silently(function(){for(;i--;)v(e,t,r[i])&&(o+=1)}),1===o?!0:(e.addError('Failed \"oneOf\" criteria',t,r),!1)}function u(e,t,n){var r=n.not,i=e.silently(function(){return!v(e,t,r)});return i?!0:(e.addError('Failed \"not\" criteria',t,n),!1)}function p(e,t,n,r){var i=Array.isArray(n.disallow)?n.disallow:[n.disallow],a=!o(e,t,r,i);return a||e.addError('Failed \"disallow\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function l(e,t,n){for(var r=Array.isArray(n[\"extends\"])?n[\"extends\"]:[n[\"extends\"]],i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o}function f(e,t,n){var r=n[\"enum\"];if(!Array.isArray(r))throw new Error('Invalid schema: \"enum\" value must be an array');for(var i=r.length;i--;)if(g.deepEqual(t,r[i]))return!0;return e.addError('Failed \"enum\" criteria',t,r),!1}function d(e,t,n,r){var i=Array.isArray(n.type)?n.type:[n.type],a=o(e,t,r,i);return a||e.addError('Failed \"type\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function h(e,t,n,r){return g.types[r](e,t,n)}function m(e,t,n){var r=/^#|\\//.test(n.$ref),i=r?n.$ref:e.id.join(\"\")+n.$ref,o=e.refs.get(i,e.schema),a=e;\"#\"!==n.$ref[0]&&(a=e.subcontext(e.refs.get(i,e.schema,!0)));var s=v(a,t,o);return e.cleanSubject=a.cleanSubject,s}function v(e,t,n){if(n.$ref)return m(e,t,n);n.id&&e.id.push(n.id);var o=e.runValidations([[\"type\"in n,d],[\"disallow\"in n,p],[\"enum\"in n,f],[!0,h],[\"format\"in n,i],[\"extends\"in n,l],[\"allOf\"in n,a],[\"anyOf\"in n,s],[\"oneOf\"in n,c],[\"not\"in n,u]],t,n,r(t));return n.id&&e.id.pop(),o}var g=e(\"./\"),y={\"date-time\":/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}[t ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/i,date:/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,time:/^\\d{2}:\\d{2}:\\d{2}$/,color:/^(#[0-9a-f]{3}|#[0-9a-f]{6}|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)$/i,style:/^(?:\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;)*\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;?\\s*$/i,phone:/^(?:(?:\\(?(?:00|\\+)(?:[1-4]\\d\\d|[1-9]\\d?)\\)?)?[\\-\\.\\ \\\\\\/]?)?(?:(?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?){0,})(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(?:\\d+))?$/i,uri:/^(?:([a-z0-9+.-]+:\\/\\/)((?:(?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*)@)?((?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*)(:(?:\\d*))?(\\/(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?|([a-z0-9+.-]+:)(\\/?(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?)(\\?(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?(#(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?$/i,email:/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\\.)+[A-Z]{2,}$/i,ipv4:/^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$/,ipv6:/^\\s*((([0-9A-F]{1,4}:){7}([0-9A-F]{1,4}|:))|(([0-9A-F]{1,4}:){6}(:[0-9A-F]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){5}(((:[0-9A-F]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){4}(((:[0-9A-F]{1,4}){1,3})|((:[0-9A-F]{1,4})((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){3}(((:[0-9A-F]{1,4}){1,4})|((:[0-9A-F]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){2}(((:[0-9A-F]{1,4}){1,5})|((:[0-9A-F]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){1}(((:[0-9A-F]{1,4}){1,6})|((:[0-9A-F]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-F]{1,4}){1,7})|((:[0-9A-F]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/i,\nhostname:/^(?=.{1,255}$)[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?(?:\\.[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?)*\\.?$/i,\"utc-millisec\":function(e){var t=parseInt(e,10);return!isNaN(t)&&t.toString()===e.toString()},regex:function(e){try{new RegExp(e)}catch(t){return!1}return!0}};y[\"host-name\"]=y.hostname,y[\"ip-address\"]=y.ipv4,t.exports=v},{\"./\":426}],424:[function(e,t,n){function r(e,t,n){return\"boolean\"!=typeof t?(e.addError(\"Failed type:boolean criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],425:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return t}function i(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a(e[n],t[n]))return!1;return!0}function o(e,t){var n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(;r--;)if(!a(e[n[r]],t[n[r]]))return!1;return!0}var a=t.exports=function(e,t){if(e===t)return!0;var n=r(e);return n!==r(t)?!1:\"array\"===n?i(e,t):\"object\"===n?o(e,t):!1}},{}],426:[function(e,t,n){n.types={any:function(){return!0},array:e(\"./array\"),\"boolean\":e(\"./boolean\"),integer:e(\"./number\"),\"null\":e(\"./null\"),number:e(\"./number\"),object:e(\"./object\"),string:e(\"./string\")},n.deepEqual=e(\"./deep-equal\"),n.base=e(\"./base\")},{\"./array\":422,\"./base\":423,\"./boolean\":424,\"./deep-equal\":425,\"./null\":427,\"./number\":428,\"./object\":429,\"./string\":430}],427:[function(e,t,n){function r(e,t,n){return null!==t?(e.addError(\"Failed type:null criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],428:[function(e,t,n){function r(e,t,n){return\"number\"!=typeof t?(e.addError(\"Failed type:number criteria\",t,n),!1):!0}function i(e,t,n){return\"number\"!=typeof t||t!==Math.round(t)?(e.addError(\"Failed type:integer criteria\",t,n),!1):!0}function o(e,t,n){var r=n.exclusiveMinimum?t>n.minimum:t>=n.minimum;return r||e.addError('Failed \"minimum\" criteria',t,n),r}function a(e,t,n){var r=n.exclusiveMaximum?t<n.maximum:t<=n.maximum;return r||e.addError('Failed \"maximum\" criteria',t,n),r}function s(e,t,n,r){r=r||\"multipleOf\";var i=t/n[r]%1===0;return i||e.addError('Failed \"'+r+'\" criteria',t,n),i}function c(e,t,n){return s(e,t,n,\"divisibleBy\")}t.exports=function(e,t,n){var u=!0;return\"number\"===n.type&&(u=r(e,t,n)),\"integer\"===n.type&&(u=i(e,t,n)),e.cleanSubject=t,u&&e.runValidations([[\"minimum\"in n,o],[\"maximum\"in n,a],[\"multipleOf\"in n,s],[\"divisibleBy\"in n,c]],t,n)}},{}],429:[function(e,t,n){function r(e,t,n,r){var i=n.properties,o=!0;for(var a in i)a in t?(e.path.push(a),o=f(e,t[a],i[a])&&o,e.path.pop(),r[a]=e.cleanSubject):i[a].required===!0&&(e.addError('Failed \"required\" criteria: missing property ('+a+\")\",t,i),o=!1);return o}function i(e,t,n,r){var i=n.patternProperties;if(\"object\"!=typeof i)throw new Error('Invalid schema: \"patternProperties\" must be an object');for(var o,a,s=!0,c=Object.keys(i),u=c.length,p=Object.keys(t),l=p.length;l--;)for(a=p[l],o=u;o--;)a.match(c[o])&&(e.path.push(a),s=f(e,t[a],i[c[o]])&&s,e.path.pop(),a in r||(r[a]=e.cleanSubject));return s}function o(e,t,n,r){var i=n.additionalProperties;if(i===!0)return!0;var o=Object.keys(t),a=o.length;if(i===!1){for(;a--;)if(!(o[a]in r))return e.addError('Failed \"additionalProperties\" criteria: unexpected property ('+o[a]+\")\",t,n),!1;return!0}if(\"object\"!=typeof i)throw new Error('Invalid schema: \"additionalProperties\" must be a valid schema');for(var s;a--;)o[a]in r||(e.path.push(o[a]),s=f(e,t[o[a]],i)&&s,e.path.pop(),r[o[a]]=e.cleanSubject);return s}function a(e,t,n){var r=Object.keys(t);return r.length<n.minProperties?(e.addError('Failed \"minProperties\" criteria',t,n),!1):!0}function s(e,t,n){var r=Object.keys(t);return r.length>n.maxProperties?(e.addError('Failed \"maxProperties\" criteria',t,n),!1):!0}function c(e,t,n){var r=n.required;if(!Array.isArray(r))throw new Error('Invalid schema: \"required\" must be an array');for(var i=!0,o=r.length;o--;)r[o]in t||(e.addError('Missing required property \"'+r[o]+'\"',t,r[o]),i=!1);return i}function u(e,t,n){var r=n.dependencies;if(\"object\"!=typeof r)throw new Error('Invalid schema: \"dependencies\" must be an object');for(var i,o,a=!0,s=Object.keys(r),c=s.length;c--;)if(s[c]in t)if(i=r[s[c]],\"string\"==typeof i&&(i=[i]),Array.isArray(i))for(o=i.length;o--;)i[o]in t||(e.addError('Missing required property \"'+i[o]+'\"',t,i[o]),a=!1);else{if(\"object\"!=typeof i)throw new Error(\"Invalid schema: dependencies must be string, array, or object\");a=f(e,t,i)&&a}return a}function p(e,t){var n=t.properties;if(n)for(var r in n)\"default\"in n[r]&&!(r in e)&&(e[r]=n[r][\"default\"])}function l(e,t,n){if(\"object\"!=typeof t)return e.addError(\"Failed type:object criteria\",t,n),!1;var l={},f=e.runValidations([[\"properties\"in n,r],[\"patternProperties\"in n,i],[\"additionalProperties\"in n,o],[\"minProperties\"in n,a],[\"maxProperties\"in n,s],[Array.isArray(n.required),c],[\"dependencies\"in n,u]],t,n,l);return e.cleanWithDefaults&&p(l,n),e.cleanSubject=l,f}var f=e(\"./base\");t.exports=l},{\"./base\":423}],430:[function(e,t,n){function r(e,t,n){return s(t).length<n.minLength?(e.addError('Failed \"minLength\" criteria',t,n),!1):!0}function i(e,t,n){return s(t).length>n.maxLength?(e.addError('Failed \"maxLength\" criteria',t,n),!1):!0}function o(e,t,n){var r=n.pattern;return t.match(r)?!0:(e.addError('Failed \"pattern\" criteria ('+r+\")\",t,r),!1)}function a(e,t,n){return\"string\"!=typeof t?(e.addError(\"Failed type:string criteria\",n),!1):(e.cleanSubject=t,e.runValidations([[\"minLength\"in n,r],[\"maxLength\"in n,i],[\"pattern\"in n,o]],t,n))}var s=e(\"punycode\").ucs2.decode;t.exports=a},{punycode:void 0}],431:[function(e,t,n){arguments[4][354][0].apply(n,arguments)},{dup:354}],432:[function(e,t,n){!function(){\"use strict\";var n=e(\"./../package.json\"),r=function(e){this.version=n.version,e=e||{},this.header={},this.header.to=e.to||[],this.header.sub=e.sub||{},this.header.unique_args=e.unique_args||{},this.header.category=e.category||[],this.header.section=e.section||{},this.header.filters=e.filters||{},this.header.send_at=e.send_at||\"\",this.header.send_each_at=e.send_each_at||[],this.header.asm_group_id=e.asm_group_id||{},this.header.ip_pool=e.ip_pool||\"\"};r.prototype.addTo=function(e){e instanceof Array?this.header.to=this.header.to.concat(e):this.header.to.push(e)},r.prototype.setTos=function(e){e instanceof Array?this.header.to=e:this.header.to=[e]},r.prototype.addSubstitution=function(e,t){void 0===this.header.sub[e]&&(this.header.sub[e]=[]),t instanceof Array?this.header.sub[e]=this.header.sub[e].concat(t):this.header.sub[e].push(t)},r.prototype.setSubstitutions=function(e){this.header.sub=e},r.prototype.addUniqueArg=function(e,t){this.header.unique_args[e]=t},r.prototype.setUniqueArgs=function(e){this.header.unique_args=e},r.prototype.addCategory=function(e){e instanceof Array?this.header.category.concat(e):this.header.category.push(e)},r.prototype.setCategories=function(e){e instanceof Array?this.header.category=e:this.header.category=[e]},r.prototype.addSection=function(e,t){this.header.section[e]=t},r.prototype.setSections=function(e){this.header.section=e},r.prototype.addFilter=function(e,t,n){void 0===this.header.filters[e]&&(this.header.filters[e]={settings:{}}),this.header.filters[e].settings[t]=n},r.prototype.setFilters=function(e){this.header.filters=e},r.prototype.setSendAt=function(e){this.header.send_each_at=[],this.header.send_at=e},r.prototype.setSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at=e},r.prototype.addSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at.push(e)},r.prototype.setASMGroupID=function(e){this.header.asm_group_id=e},r.prototype.setIpPool=function(e){this.header.ip_pool=e},r.prototype.jsonObject=function(){var e={};for(var t in this.header)(this.header.hasOwnProperty(t)&&\"object\"==typeof this.header[t]&&Object.keys(this.header[t]).length||\"number\"==typeof this.header[t]&&this.header[t]||\"string\"==typeof this.header[t]&&this.header[t])&&(e[t]=this.header[t]);return e},r.prototype.jsonString=function(){var e=this.jsonObject(),t=JSON.stringify(e);return this.escapeUnicode(t)},r.prototype.escapeUnicode=function(e){return e.replace(/[^ -~]/g,function(e){var t=e.charCodeAt(0);return\"\\\\u\"+(16>t?\"000\":256>t?\"00\":4096>t?\"0\":\"\")+t.toString(16)})},t.exports=r}()},{\"./../package.json\":433}],433:[function(e,t,n){t.exports={_args:[[\"smtpapi@^1.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\"]],_from:\"smtpapi@>=1.2.0 <2.0.0\",_id:\"smtpapi@1.2.0\",_inCache:!0,_installable:!0,_location:\"/smtpapi\",_nodeVersion:\"0.12.6\",_npmUser:{email:\"eddiezane@gmail.com\",name:\"eddiezane\"},_npmVersion:\"2.11.2\",_phantomChildren:{},_requested:{name:\"smtpapi\",raw:\"smtpapi@^1.2.0\",rawSpec:\"^1.2.0\",scope:null,spec:\">=1.2.0 <2.0.0\",type:\"range\"},_requiredBy:[\"/sendgrid\"],_resolved:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\",_shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",_shrinkwrap:null,_spec:\"smtpapi@^1.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\",author:{name:\"scottmotte\"},bugs:{url:\"https://github.com/sendgrid/smtpapi-nodejs/issues\"},contributors:[{name:\"Yamil Asusta\",email:\"yamil@sendgrid.com\",url:\"yamilasusta.com\"},{name:\"Scott Motte\",email:\"scott@scottmotte.com\",url:\"scottmotte.com\"}],dependencies:{},description:\"Build SendGrid X-SMTPAPI headers in nodejs.\",devDependencies:{mocha:\"\",should:\"\"},directories:{test:\"test\"},dist:{shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",tarball:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\"},gitHead:\"866604875fe6b3baef846ebee50342cc19aa990e\",homepage:\"https://github.com/sendgrid/smtpapi-nodejs#readme\",keywords:[\"email\",\"headers\",\"sendgrid\",\"smtp\",\"smtpapi\",\"x-smtpapi\"],license:\"BSD\",main:\"lib/main.js\",maintainers:[{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"}],name:\"smtpapi\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/smtpapi-nodejs.git\"},scripts:{test:\"mocha test/*.js\"},version:\"1.2.0\"}},{}],434:[function(e,t,n){t.exports=e(\"./lib\")},{\"./lib\":435}],435:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=function(e,t){return c&&(clearTimeout(c),c=0),l.removeAllListeners(),l.once(\"error\",a.ignore),l.close(),n(e,t)};p=o.once(p);var l=r.createSocket(\"udp4\");l.once(\"error\",function(e){return p(e)}),l.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return p(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return p(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,l=r.transmitTimestamp,f=n;return r.d=f-o-(l-c),r.t=(c-o+(l-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),p(null,r)}):p(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,p(new Error(\"Timeout\"))},s.timeout));for(var f=new t(48),d=0;48>d;d++)f[d]=0;f[0]=35,u=Date.now(),a.fromMsecs(u,f,40),l.send(f,0,f.length,s.port,s.host,function(e,t){return e||48!==t?p(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset},a.ignore=function(){}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:149}],436:[function(e,t,n){(function(e){var n={dsa:{parts:[\"p\",\"q\",\"g\",\"y\"],sizePart:\"p\"},rsa:{parts:[\"e\",\"n\"],sizePart:\"n\"},ecdsa:{parts:[\"curve\",\"Q\"],sizePart:\"Q\"},ed25519:{parts:[\"R\"],normalize:!1,sizePart:\"R\"}};n.curve25519=n.ed25519;var r={dsa:{parts:[\"p\",\"q\",\"g\",\"y\",\"x\"]},rsa:{parts:[\"n\",\"e\",\"d\",\"iqmp\",\"p\",\"q\"]},ecdsa:{parts:[\"curve\",\"Q\",\"d\"]},ed25519:{parts:[\"R\",\"r\"],normalize:!1}};r.curve25519=r.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},o={nistp256:{size:256,pkcs8oid:\"1.2.840.10045.3.1.7\",p:new e(\"00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00c49d3608 86e70493 6a6678e1 139d26b7819f7e90\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551\".replace(/ /g,\"\"),\"hex\"),G:new e(\"046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5\".replace(/ /g,\"\"),\"hex\")},nistp384:{size:384,pkcs8oid:\"1.3.132.0.34\",p:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00a335926a a319a27a 1d00896a 6773a4827acdac73\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973\".replace(/ /g,\"\"),\"hex\"),G:new e(\"04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f\".replace(/ /g,\"\"),\"hex\")},nistp521:{size:521,pkcs8oid:\"1.3.132.0.35\",p:new e(\"01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00d09e8800 291cb853 96cc6717 393284aaa0da64ba\".replace(/ /g,\"\"),\"hex\"),n:new e(\"01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409\".replace(/ /g,\"\"),\"hex\"),G:new e(\"0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650\".replace(/ /g,\"\"),\"hex\")}};t.exports={info:n,privInfo:r,hashAlgs:i,curves:o}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],437:[function(e,t,n){(function(n){function r(t){if(h.assertCompatible(t,m,[1,4],\"key\"),this._isPriv=v.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,\"dsa\"===t.type){if(!g)throw new Error(\"Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH\");this._dh=f.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if(\"ecdsa\"===t.type){if(!g)return void 0===c&&(c=e(\"ecc-jsbn\")),void 0===u&&(u=e(\"ecc-jsbn/lib/ec\")),void 0===p&&(p=e(\"jsbn\").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new a(this._ecParams,t.part.d.data)));var n={nistp256:\"prime256v1\",nistp384:\"secp384r1\",nistp521:\"secp521r1\"}[t.curve];if(this._dh=f.createECDH(n),\"object\"!=typeof this._dh||\"function\"!=typeof this._dh.setPrivateKey)return g=!1,void r.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if(\"curve25519\"!==t.type)throw new Error(\"DH not supported for \"+t.type+\" keys\");void 0===s&&(s=e(\"jodid25519\")),this._isPriv&&(this._priv=t.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32))}}function i(e){var t=d.curves[e];l.object(t);var n=new p(t.p),r=new p(t.a),i=new p(t.b),o=new p(t.n),a=p.ONE,s=new u.ECCurveFp(n,r,i),c=s.decodePointHex(t.G.toString(\"hex\"));this.curve=s,this.g=c,this.n=o,this.h=a}function o(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString(\"hex\"))}function a(e,t){this._params=e,this._priv=new p(h.mpNormalize(t))}t.exports=r;var s,c,u,p,l=e(\"assert-plus\"),f=e(\"crypto\"),d=e(\"./algs\"),h=e(\"./utils\"),m=e(\"./key\"),v=e(\"./private-key\"),g=void 0!==f.createECDH;r.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},r.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},r.prototype.getKey=r.prototype.getPrivateKey,r.prototype._keyCheck=function(e,t){if(l.object(e,\"key\"),t||h.assertCompatible(e,v,[1,3],\"key\"),h.assertCompatible(e,m,[1,4],\"key\"),e.type!==this._algo)throw new Error(\"A \"+e.type+\" key cannot be used in \"+this._algo+\" Diffie-Hellman\");if(e.curve!==this._curve)throw new Error(\"A key from the \"+e.curve+\" curve cannot be used with a \"+this._curve+\" Diffie-Hellman\");\"dsa\"===e.type&&(l.deepEqual(e.part.p,this._p,\"DSA key prime does not match\"),l.deepEqual(e.part.g,this._g,\"DSA key generator does not match\"))},r.prototype.setKey=function(e){this._keyCheck(e),\"dsa\"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):\"ecdsa\"===e.type?g?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new a(this._ecParams,e.part.d.data):\"curve25519\"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},r.prototype.setPrivateKey=r.prototype.setKey,r.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error(\"DH exchange has not been initialized with a private key yet\");var t;if(\"dsa\"===this._algo)return this._dh.computeSecret(e.part.y.data);if(\"ecdsa\"===this._algo)return g?this._dh.computeSecret(e.part.Q.data):(t=new o(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if(\"curve25519\"===this._algo){t=e.part.R.data,0===t[0]&&(t=t.slice(1));var r=s.dh.computeKey(this._priv.toString(\"binary\"),t.toString(\"binary\"));return new n(r,\"binary\")}throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKey=function(){var e,t,r=[];if(\"dsa\"===this._algo)return this._dh.generateKeys(),r.push({name:\"p\",data:this._p.data}),r.push({name:\"q\",data:this._key.part.q.data}),r.push({name:\"g\",data:this._g.data}),r.push({name:\"y\",data:this._dh.getPublicKey()}),r.push({name:\"x\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"dsa\",parts:r}),this._isPriv=!0,this._key;if(\"ecdsa\"===this._algo){if(g)return this._dh.generateKeys(),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:this._dh.getPublicKey()}),r.push({name:\"d\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),o=new p(f.randomBytes(i.bitLength())),c=i.subtract(p.ONE);return e=o.mod(c).add(p.ONE),t=this._ecParams.getG().multiply(e),e=new n(e.toByteArray()),t=new n(this._ecParams.getCurve().encodePointHex(t),\"hex\"),this._priv=new a(this._ecParams,e),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:t}),r.push({name:\"d\",data:e}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key}if(\"curve25519\"===this._algo)return e=s.dh.generateKey(),t=s.dh.publicKey(e),this._priv=e=new n(e,\"binary\"),t=new n(t,\"binary\"),r.push({name:\"R\",data:t}),r.push({name:\"r\",data:n.concat([e,t])}),this._key=new v({type:\"curve25519\",parts:r}),this._isPriv=!0,this._key;throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKeys=r.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},a.prototype.deriveSharedSecret=function(e){l.ok(e instanceof o);var t=e._pub.multiply(this._priv);return new n(t.getX().toBigInteger().toByteArray())}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./key\":449,\"./private-key\":450,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,\"ecc-jsbn\":91,\"ecc-jsbn/lib/ec\":92,jodid25519:165,jsbn:171}],438:[function(e,t,n){(function(n){function r(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}function i(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}t.exports={Verifier:r,Signer:i};var o,a=e(\"stream\"),s=e(\"util\"),c=e(\"assert-plus\"),u=e(\"./signature\");s.inherits(r,a.Writable),r.prototype._write=function(e,t,n){this.chunks.push(e),n()},r.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},r.prototype.verify=function(e,t){var r;if(u.isSignature(e,[2,0])){if(\"ed25519\"!==e.type)return!1;r=e.toBuffer(\"raw\")}else if(\"string\"==typeof e)r=new n(e,\"base64\");else if(u.isSignature(e,[1,0]))throw new Error(\"signature was created by too old a version of sshpk and cannot be verified\");return c.buffer(r),o.sign.detached.verify(new Uint8Array(n.concat(this.chunks)),new Uint8Array(r),new Uint8Array(this.key.part.R.data))},s.inherits(i,a.Writable),i.prototype._write=function(e,t,n){this.chunks.push(e),n()},i.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},i.prototype.sign=function(){var e=o.sign.detached(new Uint8Array(n.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new n(e),r=u.parse(t,\"ed25519\",\"raw\");return r.hashAlgorithm=\"sha512\",r}}).call(this,e(\"buffer\").Buffer)},{\"./signature\":451,\"assert-plus\":10,buffer:void 0,stream:void 0,tweetnacl:466,util:void 0}],439:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name=\"FingerprintFormatError\",this.fingerprint=e,this.format=t,this.message=\"Fingerprint format is not supported, or is invalid: \",void 0!==e&&(this.message+=\" fingerprint = \"+e),void 0!==t&&(this.message+=\" format = \"+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name=\"InvalidAlgorithmError\",this.algorithm=e,this.message='Algorithm \"'+e+'\" is not supported'}function o(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name=\"KeyParseError\",this.format=t,this.keyName=e,this.innerErr=n,this.message=\"Failed to parse \"+e+\" as a valid \"+t+\" format key: \"+n.message}function a(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name=\"SignatureParseError\",this.type=e,this.format=t,this.innerErr=n,this.message=\"Failed to parse the given data as a \"+e+\" signature in \"+t+\" format: \"+n.message}var s=(e(\"assert-plus\"),e(\"util\"));s.inherits(r,Error),s.inherits(i,Error),s.inherits(o,Error),s.inherits(a,Error),t.exports={FingerprintFormatError:r,InvalidAlgorithmError:i,KeyParseError:o,SignatureParseError:a}},{\"assert-plus\":10,util:void 0}],440:[function(e,t,n){(function(n){function r(e){if(s.object(e,\"options\"),s.buffer(e.hash,\"options.hash\"),s.string(e.algorithm,\"options.algorithm\"),this.algorithm=e.algorithm.toLowerCase(),c.hashAlgs[this.algorithm]!==!0)throw new h(this.algorithm);this.hash=e.hash}function i(e){return e.replace(/(.{2})(?=.)/g,\"$1:\")}function o(e){return e.replace(/=*$/,\"\")}function a(e,t){return e.toUpperCase()+\":\"+o(t)}t.exports=r;var s=e(\"assert-plus\"),c=e(\"./algs\"),u=e(\"crypto\"),p=e(\"./errors\"),l=e(\"./key\"),f=e(\"./utils\"),d=p.FingerprintFormatError,h=p.InvalidAlgorithmError;r.prototype.toString=function(e){switch(void 0===e&&(e=\"md5\"===this.algorithm?\"hex\":\"base64\"),s.string(e),e){case\"hex\":return i(this.hash.toString(\"hex\"));case\"base64\":return a(this.algorithm,this.hash.toString(\"base64\"));default:throw new d(void 0,e)}},r.prototype.matches=function(e){s.object(e,\"key\"),f.assertCompatible(e,l,[1,0],\"key\");var t=e.hash(this.algorithm),n=u.createHash(this.algorithm).update(t).digest(\"base64\");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest(\"base64\")),this.hash2===n},r.parse=function(e,t){s.string(e,\"fingerprint\");var i,o;s.optionalArrayOfString(t,\"algorithms\");var a=e.split(\":\");if(2==a.length){i=a[0].toLowerCase();var u=/^[A-Za-z0-9+\\/=]+$/;if(!u.test(a[1]))throw new d(e);try{o=new n(a[1],\"base64\")}catch(p){throw new d(e)}}else if(a.length>2){i=\"md5\",\"md5\"===a[0].toLowerCase()&&(a=a.slice(1)),a=a.join(\"\");var l=/^[a-fA-F0-9]+$/;if(!l.test(a))throw new d(e);try{o=new n(a,\"hex\")}catch(p){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new h(i);if(void 0!==t&&(t=t.map(function(e){return e.toLowerCase()}),-1===t.indexOf(i)))throw new h(i);return new r({algorithm:i,hash:o})},r.isFingerprint=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,1],r._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./key\":449,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],441:[function(e,t,n){(function(n){function r(e){if(\"string\"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return c.read(e);if(e.match(/^\\s*ssh-[a-z]/))return u.read(e);if(e.match(/^\\s*ecdsa-/))return u.read(e);e=new n(e,\"binary\")}else{if(s.buffer(e),o(e))return c.read(e);if(i(e))return u.read(e)}if(e.readUInt32BE(0)<e.length)return p.read(e);throw new Error(\"Failed to auto-detect format of key\")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&\"ssh-\"===e.slice(t,t+4).toString(\"ascii\")?!0:t+6<=e.length&&\"ecdsa-\"===e.slice(t,t+6).toString(\"ascii\")}function o(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||\"BEGIN\"!==e.slice(t,t+5).toString(\"ascii\"))}function a(e){throw new Error('\"auto\" format cannot be used for writing')}t.exports={read:r,write:a};var s=e(\"assert-plus\"),c=(e(\"../utils\"),e(\"../key\"),e(\"../private-key\"),e(\"./pem\")),u=e(\"./ssh\"),p=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,\"./ssh\":447,\"assert-plus\":10,buffer:void 0}],442:[function(e,t,n){(function(n){function r(e,t){var r=e;\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var i=e.trim().split(\"\\n\"),s=i[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(s,\"invalid PEM header\");var c=i[i.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(c,\"invalid PEM footer\"),o.equal(s[2],c[2]);var d,h=s[2].toLowerCase();s[1]&&(o.equal(s[1],c[1],\"PEM header and footer mismatch\"),d=s[1].trim());for(var m={};;){if(i=i.slice(1),s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/),!s)break;m[s[1].toLowerCase()]=s[2]}if(m[\"proc-type\"]){var v=m[\"proc-type\"].split(\",\");if(\"4\"===v[0]&&\"ENCRYPTED\"===v[1])throw new Error(\"PEM key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\")}if(i=i.slice(0,-1).join(\"\"),e=new n(i,\"base64\"),d&&\"openssh\"===d.toLowerCase())return l.readSSHPrivate(h,e);if(d&&\"ssh2\"===d.toLowerCase())return f.readType(h,e);var g=new a.BerReader(e);return g.originalInput=r,g.readSequence(),d?(t&&o.strictEqual(t,\"pkcs1\"),u.readPkcs1(d,h,g)):(t&&o.strictEqual(t,\"pkcs8\"),p.readPkcs8(d,h,g))}function i(e,t){o.object(e);var r,i={ecdsa:\"EC\",rsa:\"RSA\",dsa:\"DSA\"}[e.type],l=new a.BerWriter;if(c.isPrivateKey(e))t&&\"pkcs8\"===t?(r=\"PRIVATE KEY\",p.writePkcs8(l,e)):(t&&o.strictEqual(t,\"pkcs1\"),r=i+\" PRIVATE KEY\",u.writePkcs1(l,e));else{if(!s.isKey(e))throw new Error(\"key is not a Key or PrivateKey\");t&&\"pkcs1\"===t?(r=i+\" PUBLIC KEY\",u.writePkcs1(l,e)):(t&&o.strictEqual(t,\"pkcs8\"),r=\"PUBLIC KEY\",p.writePkcs8(l,e))}var f=l.buffer.toString(\"base64\"),d=f.length+f.length/64+18+16+2*r.length+10,h=new n(d),m=0;m+=h.write(\"-----BEGIN \"+r+\"-----\\n\",m);for(var v=0;v<f.length;){var g=v+64;g>f.length&&(g=f.length),m+=h.write(f.slice(v,g),m),h[m++]=10,v=g}return m+=h.write(\"-----END \"+r+\"-----\\n\",m),h.slice(0,m)}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"asn1\"),s=(e(\"../algs\"),e(\"../utils\"),e(\"../key\")),c=e(\"../private-key\"),u=e(\"./pkcs1\"),p=e(\"./pkcs8\"),l=e(\"./ssh-private\"),f=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pkcs1\":443,\"./pkcs8\":444,\"./rfc4253\":445,\"./ssh-private\":446,asn1:9,\"assert-plus\":10,buffer:void 0}],443:[function(e,t,n){(function(n){function r(e){return E.read(e,\"pkcs1\")}function i(e){return E.write(e,\"pkcs1\")}function o(e,t){return x.strictEqual(e.peek(),w.Ber.Integer,t+\" is not an Integer\"),\nk.mpNormalize(e.readString(w.Ber.Integer,!0))}function a(e,t,n){switch(e){case\"RSA\":if(\"public\"===t)return s(n);if(\"private\"===t)return c(n);throw new Error(\"Unknown key type: \"+t);case\"DSA\":if(\"public\"===t)return p(n);if(\"private\"===t)return u(n);throw new Error(\"Unknown key type: \"+t);case\"EC\":case\"ECDSA\":if(\"private\"===t)return f(n);if(\"public\"===t)return l(n);throw new Error(\"Unknown key type: \"+t);default:throw new Error(\"Unknown key algo: \"+e)}}function s(e){var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new j(r)}function c(e){var t=o(e,\"version\");x.strictEqual(t[0],0);var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new S(l)}function u(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),0);var n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a=o(e,\"y\"),s=o(e,\"x\"),c={type:\"dsa\",parts:[{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i},{name:\"y\",data:a},{name:\"x\",data:s}]};return new S(c)}function p(e){var t=o(e,\"y\"),n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a={type:\"dsa\",parts:[{name:\"y\",data:t},{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i}]};return new j(a)}function l(e){e.readSequence();var t=e.readOID();x.strictEqual(t,\"1.2.840.10045.2.1\",\"must be ecPublicKey\");for(var r,i=e.readOID(),o=Object.keys(_.curves),a=0;a<o.length;++a){var s=o[a],c=_.curves[s];if(c.pkcs8oid===i){r=s;break}}x.string(r,\"a known ECDSA named curve\");var u=e.readString(w.Ber.BitString,!0);u=k.ecNormalize(u);var p={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(r)},{name:\"Q\",data:u}]};return new j(p)}function f(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),1);var r=e.readString(w.Ber.OctetString,!0);e.readSequence(160);var i=A(e);x.string(i,\"a known elliptic curve\"),e.readSequence(161);var a=e.readString(w.Ber.BitString,!0);a=k.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(i)},{name:\"Q\",data:a},{name:\"d\",data:r}]};return new S(s)}function d(e,t){switch(e.startSequence(),t.type){case\"rsa\":S.isPrivateKey(t)?m(e,t):h(e,t);break;case\"dsa\":S.isPrivateKey(t)?v(e,t):g(e,t);break;case\"ecdsa\":S.isPrivateKey(t)?b(e,t):y(e,t);break;default:throw new Error(\"Unknown key algo: \"+t.type)}e.endSequence()}function h(e,t){e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer)}function m(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),t.part.dmodp&&t.part.dmodq||k.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,w.Ber.Integer),e.writeBuffer(t.part.dmodq.data,w.Ber.Integer),e.writeBuffer(t.part.iqmp.data,w.Ber.Integer)}function v(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer),e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.x.data,w.Ber.Integer)}function g(e,t){e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer)}function y(e,t){e.startSequence(),e.writeOID(\"1.2.840.10045.2.1\");var n=t.part.curve.data.toString(),r=_.curves[n].pkcs8oid;x.string(r,\"a known ECDSA named curve\"),e.writeOID(r),e.endSequence();var i=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,w.Ber.BitString)}function b(e,t){var r=new n(1);r[0]=1,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),o=_.curves[i].pkcs8oid;x.string(o,\"a known ECDSA named curve\"),e.writeOID(o),e.endSequence(),e.startSequence(161);var a=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(a,w.Ber.BitString),e.endSequence()}t.exports={read:r,readPkcs1:a,write:i,writePkcs1:d};var x=e(\"assert-plus\"),w=e(\"asn1\"),_=e(\"../algs\"),k=e(\"../utils\"),j=e(\"../key\"),S=e(\"../private-key\"),E=e(\"./pem\"),O=e(\"./pkcs8\"),A=O.readECDSACurve}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./pkcs8\":444,asn1:9,\"assert-plus\":10,buffer:void 0}],444:[function(e,t,n){(function(n){function r(e){return A.read(e,\"pkcs8\")}function i(e){return A.write(e,\"pkcs8\")}function o(e,t){return _.strictEqual(e.peek(),k.Ber.Integer,t+\" is not an Integer\"),S.mpNormalize(e.readString(k.Ber.Integer,!0))}function a(e,t,n){n.peek()===k.Ber.Integer&&(_.strictEqual(t,\"private\",\"unexpected Integer at start of public key\"),n.readString(k.Ber.Integer,!0)),n.readSequence();var r=n.readOID();switch(r){case\"1.2.840.113549.1.1.1\":return\"public\"===t?s(n):c(n);case\"1.2.840.10040.4.1\":return\"public\"===t?u(n):p(n);case\"1.2.840.10045.2.1\":return\"public\"===t?d(n):f(n);default:throw new Error(\"Unknown key type OID \"+r)}}function s(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.BitString),e.readByte(),e.readSequence();var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",source:e.originalInput,parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new E(r)}function c(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.OctetString),e.readSequence();var t=o(e,\"version\");_.equal(t[0],0,\"unknown RSA private key version\");var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new O(l)}function u(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.BitString),e.readByte();var i=o(e,\"y\"),a={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:i}]};return new E(a)}function p(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.OctetString);var i=o(e,\"x\"),a=S.calculateDSAPublic(r,t,i),s={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:a},{name:\"x\",data:i}]};return new O(s)}function l(e){var t,r,i,o,a;if(e.peek()===k.Ber.OID){var s=e.readOID();for(r=Object.keys(j.curves),i=0;i<r.length;++i)if(o=r[i],a=j.curves[o],a.pkcs8oid===s){t=o;break}}else{e.readSequence();var c=e.readString(k.Ber.Integer,!0);_.strictEqual(c[0],1,\"ECDSA key not version 1\");var u={};e.readSequence();var p=e.readOID();_.strictEqual(p,\"1.2.840.10045.1.1\",\"ECDSA key is not from a prime-field\");var l=u.p=S.mpNormalize(e.readString(k.Ber.Integer,!0));u.size=8*l.length-S.countZeros(l),e.readSequence(),u.a=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),u.b=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),e.peek()===k.Ber.BitString&&(u.s=e.readString(k.Ber.BitString,!0)),u.G=e.readString(k.Ber.OctetString,!0),_.strictEqual(u.G[0],4,\"uncompressed G is required\"),u.n=S.mpNormalize(e.readString(k.Ber.Integer,!0)),u.h=S.mpNormalize(e.readString(k.Ber.Integer,!0)),_.strictEqual(u.h[0],1,\"a cofactor=1 curve is required\"),r=Object.keys(j.curves);var f=Object.keys(u);for(i=0;i<r.length;++i){o=r[i],a=j.curves[o];for(var d=!0,h=0;h<f.length;++h){var m=f[h];if(void 0!==a[m])if(\"object\"==typeof a[m]&&void 0!==a[m].equals){if(!a[m].equals(u[m])){d=!1;break}}else if(n.isBuffer(a[m])){if(a[m].toString(\"binary\")!==u[m].toString(\"binary\")){d=!1;break}}else if(a[m]!==u[m]){d=!1;break}}if(d){t=o;break}}}return t}function f(e){var t=l(e);_.string(t,\"a known elliptic curve\"),e.readSequence(k.Ber.OctetString),e.readSequence();var r=o(e,\"version\");_.equal(r[0],1,\"unknown version of ECDSA key\");var i=e.readString(k.Ber.OctetString,!0);e.readSequence(161);var a=e.readString(k.Ber.BitString,!0);a=S.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:a},{name:\"d\",data:i}]};return new O(s)}function d(e){var t=l(e);_.string(t,\"a known elliptic curve\");var r=e.readString(k.Ber.BitString,!0);r=S.ecNormalize(r);var i={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:r}]};return new E(i)}function h(e,t){if(e.startSequence(),O.isPrivateKey(t)){var r=new n(1);r[0]=0,e.writeBuffer(r,k.Ber.Integer)}switch(e.startSequence(),t.type){case\"rsa\":e.writeOID(\"1.2.840.113549.1.1.1\"),O.isPrivateKey(t)?m(t,e):v(t,e);break;case\"dsa\":e.writeOID(\"1.2.840.10040.4.1\"),O.isPrivateKey(t)?g(t,e):y(t,e);break;case\"ecdsa\":e.writeOID(\"1.2.840.10045.2.1\"),O.isPrivateKey(t)?w(t,e):x(t,e);break;default:throw new Error(\"Unsupported key type: \"+t.type)}e.endSequence()}function m(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=0,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.Integer),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),e.part.dmodp&&e.part.dmodq||S.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,k.Ber.Integer),t.writeBuffer(e.part.dmodq.data,k.Ber.Integer),t.writeBuffer(e.part.iqmp.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function v(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function g(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.writeBuffer(e.part.x.data,k.Ber.Integer),t.endSequence()}function y(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,k.Ber.Integer),t.endSequence()}function b(e,t){var r=j.curves[e.curve];if(r.pkcs8oid)t.writeOID(r.pkcs8oid);else{t.startSequence();var i=new n(1);i.writeUInt8(1,0),t.writeBuffer(i,k.Ber.Integer),t.startSequence(),t.writeOID(\"1.2.840.10045.1.1\"),t.writeBuffer(r.p,k.Ber.Integer),t.endSequence(),t.startSequence();var o=r.p;0===o[0]&&(o=o.slice(1)),t.writeBuffer(o,k.Ber.OctetString),t.writeBuffer(r.b,k.Ber.OctetString),t.writeBuffer(r.s,k.Ber.BitString),t.endSequence(),t.writeBuffer(r.G,k.Ber.OctetString),t.writeBuffer(r.n,k.Ber.Integer);var a=r.h;a||(a=new n(1),a[0]=1),t.writeBuffer(a,k.Ber.Integer),t.endSequence()}}function x(e,t){b(e,t),t.endSequence();var n=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(n,k.Ber.BitString)}function w(e,t){b(e,t),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=1,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.OctetString),t.startSequence(161);var i=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,k.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:r,readPkcs8:a,write:i,writePkcs8:h,readECDSACurve:l,writeECDSACurve:b};var _=e(\"assert-plus\"),k=e(\"asn1\"),j=e(\"../algs\"),S=e(\"../utils\"),E=e(\"../key\"),O=e(\"../private-key\"),A=e(\"./pem\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,asn1:9,\"assert-plus\":10,buffer:void 0}],445:[function(e,t,n){(function(n){function r(e){if(s.string(e),\"ssh-dss\"===e)return\"dsa\";if(\"ssh-rsa\"===e)return\"rsa\";if(\"ssh-ed25519\"===e)return\"ed25519\";if(\"ssh-curve25519\"===e)return\"curve25519\";if(e.match(/^ecdsa-sha2-/))return\"ecdsa\";throw new Error(\"Unknown algorithm \"+e)}function i(e){if(s.object(e),\"dsa\"===e.type)return\"ssh-dss\";if(\"rsa\"===e.type)return\"ssh-rsa\";if(\"ed25519\"===e.type)return\"ssh-ed25519\";if(\"curve25519\"===e.type)return\"ssh-curve25519\";if(\"ecdsa\"===e.type)return\"ecdsa-sha2-\"+e.part.curve.data.toString();throw new Error(\"Unknown key type \"+e.type)}function o(e,t,i){\"string\"==typeof i&&(i=new n(i)),s.buffer(i,\"buf\");var o={},a=o.parts=[],d=new f({buffer:i}),h=d.readString();s.ok(!d.atEnd(),\"key must have at least one part\"),o.type=r(h);var m=c.info[o.type].parts.length;for(t&&\"private\"===t&&(m=c.privInfo[o.type].parts.length);!d.atEnd()&&a.length<m;)a.push(d.readPart());for(;!e&&!d.atEnd();)a.push(d.readPart());s.ok(a.length>=1,\"key must have at least one part\"),s.ok(e||d.atEnd(),\"leftover bytes at end of key\");var v=p,g=c.info[o.type];if(\"private\"!==t&&g.parts.length===a.length||(g=c.privInfo[o.type],v=l),s.strictEqual(g.parts.length,a.length),\"ecdsa\"===o.type){var y=/^ecdsa-sha2-(.+)$/.exec(h);s.ok(null!==y),s.strictEqual(y[1],a[0].data.toString())}for(var b=!0,x=0;x<g.parts.length;++x)if(a[x].name=g.parts[x],\"curve\"!==a[x].name&&g.normalize!==!1){var w=a[x],_=u.mpNormalize(w.data);_!==w.data&&(w.data=_,b=!1)}return b&&(o._rfc4253Cache=d.toBuffer()),e&&\"object\"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(o)}function a(e){s.object(e);var t,n=i(e),r=c.info[e.type];l.isPrivateKey(e)&&(r=c.privInfo[e.type]);var o=r.parts,a=new f({});for(a.writeString(n),t=0;t<o.length;++t){var p=e.part[o[t]].data;r.normalize!==!1&&(p=u.mpNormalize(p)),a.writeBuffer(p)}return a.toBuffer()}t.exports={read:o.bind(void 0,!1,void 0),readType:o.bind(void 0,!1),write:a,readPartial:o.bind(void 0,!0),readInternal:o,keyTypeToAlg:i,algToKeyType:r};var s=e(\"assert-plus\"),c=e(\"../algs\"),u=e(\"../utils\"),p=e(\"../key\"),l=e(\"../private-key\"),f=e(\"../ssh-buffer\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"assert-plus\":10,buffer:void 0}],446:[function(e,t,n){(function(n){function r(e){return u.read(e)}function i(e,t){t=new l({buffer:t});var n=t.readCString();a.strictEqual(n,f,\"bad magic string\");var r=t.readString(),i=t.readString();if(\"none\"!==r||\"none\"!==i)throw new Error(\"OpenSSH-format key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\");t.readString();var o=t.readInt();if(1!==o)throw new Error(\"OpenSSH-format key file contains multiple keys: this is unsupported.\");var s=t.readBuffer();if(\"public\"===e)return a.ok(t.atEnd(),\"excess bytes left after key\"),p.read(s);var c=t.readBuffer();a.ok(t.atEnd(),\"excess bytes left after key\"),t=new l({buffer:c});var u=t.readInt(),d=t.readInt();a.strictEqual(u,d,\"checkints do not match\");var h={},m=p.readInternal(h,\"private\",t.remainder());t.skip(h.consumed);var v=t.readString();return m.comment=v,m}function o(e){var t;t=c.isPrivateKey(e)?e.toPublic():e;var r;if(c.isPrivateKey(e)){r=new l({});var i=s.randomBytes(4).readUInt32BE(0);r.writeInt(i),r.writeInt(i),r.write(e.toBuffer(\"rfc4253\")),r.writeString(e.comment||\"\");for(var o=1;r._offset%8!==0;)r.writeChar(o++)}var a=new l({});a.writeCString(f),a.writeString(\"none\"),a.writeString(\"none\"),a.writeBuffer(new n(0)),a.writeInt(1),a.writeBuffer(t.toBuffer(\"rfc4253\")),r&&a.writeBuffer(r.toBuffer()),a=a.toBuffer();var u;u=c.isPrivateKey(e)?\"OPENSSH PRIVATE KEY\":\"OPENSSH PUBLIC KEY\";var p=a.toString(\"base64\"),d=p.length+p.length/70+18+16+2*u.length+10;a=new n(d);var h=0;h+=a.write(\"-----BEGIN \"+u+\"-----\\n\",h);for(var m=0;m<p.length;){var v=m+70;v>p.length&&(v=p.length),h+=a.write(p.slice(m,v),h),a[h++]=10,m=v}return h+=a.write(\"-----END \"+u+\"-----\\n\",h),a.slice(0,h)}t.exports={read:r,readSSHPrivate:i,write:o};var a=e(\"assert-plus\"),s=(e(\"asn1\"),e(\"../algs\"),e(\"../utils\"),e(\"crypto\")),c=(e(\"../key\"),e(\"../private-key\")),u=e(\"./pem\"),p=e(\"./rfc4253\"),l=e(\"../ssh-buffer\"),f=\"openssh-key-v1\"}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],447:[function(e,t,n){(function(n){function r(e){\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var t=e.trim().replace(/[\\\\\\r]/g,\"\"),r=t.match(c);r||(r=t.match(u)),o.ok(r,\"key must match regex\");var i,s=a.algToKeyType(r[1]),p=new n(r[2],\"base64\"),l={};if(r[4])try{i=a.read(p)}catch(f){r=t.match(u),o.ok(r,\"key must match regex\"),p=new n(r[2],\"base64\"),i=a.readInternal(l,\"public\",p)}else i=a.readInternal(l,\"public\",p);if(o.strictEqual(s,i.type),r[4]&&r[4].length>0)i.comment=r[4];else if(l.consumed){var d=r[2]+r[3],h=4*Math.ceil(l.consumed/3);d=d.slice(0,h-2).replace(/[^a-zA-Z0-9+\\/=]/g,\"\")+d.slice(h-2);var m=l.consumed%3;for(m>0&&\"=\"!==d.slice(h-1,h)&&h--;\"=\"===d.slice(h,h+1);)h++;var v=d.slice(h);v=v.replace(/[\\r\\n]/g,\" \").replace(/^\\s+/,\"\"),v.match(/^[a-zA-Z0-9]/)&&(i.comment=v)}return i}function i(e){if(o.object(e),!s.isKey(e))throw new Error(\"Must be a public key\");var t=[],r=a.keyTypeToAlg(e);t.push(r);var i=a.write(e);return t.push(i.toString(\"base64\")),e.comment&&t.push(e.comment),new n(t.join(\" \"))}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"./rfc4253\"),s=(e(\"../utils\"),e(\"../key\")),c=(e(\"../private-key\"),e(\"./ssh-private\"),/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/]+[=]*)([\\n \\t]+([^\\n]+))?$/),u=/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/ \\t\\n]+[=]*)(.*)$/}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./rfc4253\":445,\"./ssh-private\":446,\"assert-plus\":10,buffer:void 0}],448:[function(e,t,n){var r=e(\"./key\"),i=e(\"./fingerprint\"),o=e(\"./signature\"),a=e(\"./private-key\"),s=e(\"./errors\");t.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:a,parsePrivateKey:a.parse,FingerprintFormatError:s.FingerprintFormatError,InvalidAlgorithmError:s.InvalidAlgorithmError,KeyParseError:s.KeyParseError,SignatureParseError:s.SignatureParseError}},{\"./errors\":439,\"./fingerprint\":440,\"./key\":449,\"./private-key\":450,\"./signature\":451}],449:[function(e,t,n){(function(n){function r(e){o.object(e,\"options\"),o.arrayOfObject(e.parts,\"options.parts\"),o.string(e.type,\"options.type\"),o.optionalString(e.comment,\"options.comment\");var t=a.info[e.type];if(\"object\"!=typeof t)throw new m(e.type);for(var n={},r=0;r<e.parts.length;++r){var i=e.parts[r];n[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,\"ecdsa\"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=a.curves[c].size}else if(\"ed25519\"===this.type)s=256,this.curve=\"curve25519\";else{var u=this.part[t.sizePart];s=u.data.length,s=8*s-f.countZeros(u.data)}this.size=s}t.exports=r;var i,o=e(\"assert-plus\"),a=e(\"./algs\"),s=e(\"crypto\"),c=e(\"./fingerprint\"),u=e(\"./signature\"),p=e(\"./dhe\"),l=e(\"./errors\"),f=e(\"./utils\"),d=e(\"./private-key\");try{i=e(\"./ed-compat\")}catch(h){}var m=l.InvalidAlgorithmError,v=l.KeyParseError,g={};g.auto=e(\"./formats/auto\"),g.pem=e(\"./formats/pem\"),g.pkcs1=e(\"./formats/pkcs1\"),g.pkcs8=e(\"./formats/pkcs8\"),g.rfc4253=e(\"./formats/rfc4253\"),g.ssh=e(\"./formats/ssh\"),g[\"ssh-private\"]=e(\"./formats/ssh-private\"),g.openssh=g[\"ssh-private\"],r.formats=g,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"ssh\"),o.string(e,\"format\"),o.object(g[e],\"formats[format]\"),\"rfc4253\"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this)},r.prototype.toString=function(e){return this.toBuffer(e).toString()},r.prototype.hash=function(e){if(o.string(e,\"algorithm\"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer(\"rfc4253\")).digest();return\"string\"==typeof t&&(t=new n(t,\"binary\")),this._hashCache[e]=t,t},r.prototype.fingerprint=function(e){void 0===e&&(e=\"sha256\"),o.string(e,\"algorithm\");var t={hash:this.hash(e),algorithm:e};return new c(t)},r.prototype.defaultHashAlgorithm=function(){var e=\"sha1\";return\"rsa\"===this.type&&(e=\"sha256\"),\"dsa\"===this.type&&this.size>1024&&(e=\"sha256\"),\"ed25519\"===this.type&&(e=\"sha512\"),\"ecdsa\"===this.type&&(e=this.size<=256?\"sha256\":this.size<=384?\"sha384\":\"sha512\"),e},r.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Verifier(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,a;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=s.createVerify(r)}catch(c){a=c}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=s.createVerify(r)),o.ok(t,\"failed to create verifier\");var p=t.verify.bind(t),l=this.toBuffer(\"pkcs8\"),f=this;return t.verify=function(t,r){if(u.isSignature(t,[2,0]))return t.type!==f.type?!1:t.hashAlgorithm&&t.hashAlgorithm!==e?!1:p(l,t.toBuffer(\"asn1\"));if(\"string\"==typeof t||n.isBuffer(t))return p(l,t,r);throw u.isSignature(t,[1,0])?new Error(\"signature was created by too old a version of sshpk and cannot be verified\"):new TypeError(\"signature must be a string, Buffer, or Signature object\")},t},r.prototype.createDiffieHellman=function(){if(\"rsa\"===this.type)throw new Error(\"RSA keys do not support Diffie-Hellman\");return new p(this)},r.prototype.createDH=r.prototype.createDiffieHellman,r.parse=function(e,t,n){\"string\"!=typeof e&&o.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),o.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),o.object(g[t],\"formats[format]\");try{var r=g[t].read(e);return r instanceof d&&(r=r.toPublic()),r.comment||(r.comment=n),r}catch(i){throw new v(n,t,i)}},r.isKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,5],r._oldVersionDetect=function(e){return o.func(e.toBuffer),o.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./dhe\":437,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh\":447,\"./formats/ssh-private\":446,\"./private-key\":450,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],450:[function(e,t,n){(function(n){function r(e){a.object(e,\"options\"),h.call(this,e),this._pubCache=void 0}t.exports=r;var i,o,a=e(\"assert-plus\"),s=e(\"./algs\"),c=e(\"crypto\"),u=(e(\"./fingerprint\"),e(\"./signature\")),p=e(\"./errors\"),l=e(\"util\"),f=e(\"./utils\");try{i=e(\"./ed-compat\")}catch(d){}var h=e(\"./key\"),m=(p.InvalidAlgorithmError,p.KeyParseError),v={};v.auto=e(\"./formats/auto\"),v.pem=e(\"./formats/pem\"),v.pkcs1=e(\"./formats/pkcs1\"),v.pkcs8=e(\"./formats/pkcs8\"),v.rfc4253=e(\"./formats/rfc4253\"),v[\"ssh-private\"]=e(\"./formats/ssh-private\"),v.openssh=v[\"ssh-private\"],v.ssh=v[\"ssh-private\"],l.inherits(r,h),r.formats=v,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"pkcs1\"),a.string(e,\"format\"),a.object(v[e],\"formats[format]\"),v[e].write(this)},r.prototype.hash=function(e){return this.toPublic().hash(e)},r.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];t.push(this.part[r])}return this._pubCache=new h({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},r.prototype.derive=function(t,i){a.string(t,\"type\"),a.optionalNumber(i,\"size\");var s,c;if(\"ed25519\"===this.type&&\"curve25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.dh.publicKey(s),s=f.mpNormalize(n.concat([s,c])),new r({type:\"curve25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});if(\"curve25519\"===this.type&&\"ed25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.eddsa.publicKey(s.toString(\"binary\")),c=new n(c,\"binary\"),s=f.mpNormalize(n.concat([s,c])),new r({type:\"ed25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});throw new Error(\"Key derivation not supported from \"+this.type+\" to \"+t)},r.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},r.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Signer(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,o;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=c.createSign(r)}catch(s){o=s}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=c.createSign(r)),a.ok(t,\"failed to create verifier\");var p=t.sign.bind(t),l=this.toBuffer(\"pkcs1\"),f=this.type;return t.sign=function(){var t=p(l);return\"string\"==typeof t&&(t=new n(t,\"binary\")),t=u.parse(t,f,\"asn1\"),t.hashAlgorithm=e,t},t},r.parse=function(e,t,n){\"string\"!=typeof e&&a.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),a.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),a.object(v[t],\"formats[format]\");try{var i=v[t].read(e);return a.ok(i instanceof r,\"key is not a private key\"),i.comment||(i.comment=n),i}catch(o){throw new m(n,t,o)}},r.isPrivateKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,4],r._oldVersionDetect=function(e){return a.func(e.toPublic),a.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh-private\":446,\"./key\":449,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,jodid25519:165,util:void 0}],451:[function(e,t,n){(function(n){function r(e){c.object(e,\"options\"),c.arrayOfObject(e.parts,\"options.parts\"),c.string(e.type,\"options.type\");for(var t={},n=0;n<e.parts.length;++n){var r=e.parts[n];t[r.name]=r}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.parts=e.parts,this.part=t}function i(e,t,n,i,o){if(\"ssh\"===n){try{var a=new f({buffer:e}),s=a.readString()}catch(u){}if(s===o){var p=a.readPart();return c.ok(a.atEnd(),\"extra trailing bytes\"),p.name=\"sig\",i.parts.push(p),new r(i)}}return i.parts.push({name:\"sig\",data:e}),new r(i)}function o(e,t,n,i){var o=new l.BerReader(e);o.readSequence();var a=o.readString(l.Ber.Integer,!0),s=o.readString(l.Ber.Integer,!0);return i.parts.push({name:\"r\",data:p.mpNormalize(a)}),i.parts.push({name:\"s\",data:p.mpNormalize(s)}),new r(i)}function a(e,t,n,i){if(40!=e.length){var o=new f({buffer:e}),a=o.readBuffer();\"ssh-dss\"===a.toString(\"ascii\")&&(a=o.readBuffer()),c.ok(o.atEnd(),\"extra trailing bytes\"),c.strictEqual(a.length,40,\"invalid inner length\"),e=a}return i.parts.push({name:\"r\",data:e.slice(0,20)}),i.parts.push({name:\"s\",data:e.slice(20,40)}),new r(i)}function s(e,t,n,i){var o,a,s=new f({buffer:e}),u=s.readBuffer();return u.toString(\"ascii\").match(/^ecdsa-/)?(u=s.readBuffer(),c.ok(s.atEnd(),\"extra trailing bytes on outer\"),s=new f({buffer:u}),o=s.readPart()):o={data:u},a=s.readPart(),c.ok(s.atEnd(),\"extra trailing bytes\"),o.name=\"r\",a.name=\"s\",i.parts.push(o),i.parts.push(a),new r(i)}t.exports=r;var c=e(\"assert-plus\"),u=(e(\"./algs\"),e(\"crypto\"),e(\"./errors\")),p=e(\"./utils\"),l=e(\"asn1\"),f=e(\"./ssh-buffer\"),d=u.InvalidAlgorithmError,h=u.SignatureParseError;r.prototype.toBuffer=function(e){void 0===e&&(e=\"asn1\"),c.string(e,\"format\");var t;switch(this.type){case\"rsa\":case\"ed25519\":return\"ssh\"===e?(t=new f({}),t.writeString(\"ssh-\"+this.type),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case\"dsa\":case\"ecdsa\":var r,i;if(\"asn1\"===e){var o=new l.BerWriter;return o.startSequence(),r=p.mpNormalize(this.part.r.data),i=p.mpNormalize(this.part.s.data),o.writeBuffer(r,l.Ber.Integer),o.writeBuffer(i,l.Ber.Integer),o.endSequence(),o.buffer}if(\"ssh\"===e&&\"dsa\"===this.type)return t=new f({}),t.writeString(\"ssh-dss\"),r=this.part.r.data,0===r[0]&&(r=r.slice(1)),i=this.part.s.data,t.writeBuffer(n.concat([r,i])),t.toBuffer();if(\"ssh\"===e&&\"ecdsa\"===this.type){var a=new f({});r=this.part.r,0===r[0]&&(r=r.slice(1)),a.writePart(r),a.writePart(this.part.s),t=new f({});var s,u=8*this.part.r.data.length;return 256===u?s=\"nistp256\":384===u?s=\"nistp384\":528===u&&(s=\"nistp521\"),t.writeString(\"ecdsa-sha2-\"+s),t.writeBuffer(a.toBuffer()),t.toBuffer()}throw new Error(\"Invalid signature format\");default:throw new Error(\"Invalid signature data\")}},r.prototype.toString=function(e){return c.optionalString(e,\"format\"),this.toBuffer(e).toString(\"base64\")},r.parse=function(e,t,r){\"string\"==typeof e&&(e=new n(e,\"base64\")),c.buffer(e,\"data\"),c.string(r,\"format\"),c.string(t,\"type\");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,\"signature must not be empty\"),u.type){case\"rsa\":return i(e,t,r,u,\"ssh-rsa\");case\"ed25519\":return i(e,t,r,u,\"ssh-ed25519\");case\"dsa\":case\"ecdsa\":return\"asn1\"===r?o(e,t,r,u):\"dsa\"===u.type?a(e,t,r,u):s(e,t,r,u);default:throw new d(t)}}catch(p){if(p instanceof d)throw p;throw new h(t,r,p)}},r.isSignature=function(e,t){return p.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[2,1],r._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty(\"hashAlgorithm\")?[2,0]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./ssh-buffer\":452,\"./utils\":453,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],452:[function(e,t,n){(function(n){function r(e){i.object(e,\"options\"),void 0!==e.buffer&&i.buffer(e.buffer,\"options.buffer\"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new n(this._size),this._offset=0}t.exports=r;var i=e(\"assert-plus\");r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=new n(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,\"length out of bounds at +0x\"+this._offset.toString(16)+\" (data truncated?)\");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,\"c string does not terminate\");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readChar=function(){var e=this._buffer[this._offset++];return e},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(new n(e,\"utf8\"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length;\n}}).call(this,e(\"buffer\").Buffer)},{\"assert-plus\":10,buffer:void 0}],453:[function(e,t,n){(function(n){function r(e,t,n){if(null===e||\"object\"!=typeof e)return!1;if(void 0===n&&(n=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])return!0;for(var r=Object.getPrototypeOf(e),i=0;r.constructor.name!==t.name;)if(r=Object.getPrototypeOf(r),!r||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;return void 0===o&&(o=t._oldVersionDetect(e)),!(o[0]!=n[0]||o[1]<n[1])}function i(e,t,n,r){if(void 0===r&&(r=\"object\"),f.ok(e,r+\" must not be null\"),f.object(e,r+\" must be an object\"),void 0===n&&(n=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])){for(var i=Object.getPrototypeOf(e),o=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),f.ok(i&&++o<=h,r+\" must be a \"+t.name+\" instance\");f.strictEqual(i.constructor.name,t.name,r+\" must be a \"+t.name+\" instance\");var a=i._sshpkApiVersion;void 0===a&&(a=t._oldVersionDetect(e)),f.ok(a[0]==n[0]&&a[1]>=n[1],r+\" must be compatible with \"+t.name+\" klass version \"+n[0]+\".\"+n[1])}}function o(e){for(var t=0,n=8;t<e.length;){var r=1<<n;if((e[t]&r)===r)break;n--,0>n&&(t++,n=8)}return 8*t+(8-n)-1}function a(e,t){f.buffer(e),f.string(t);for(var n=[],r=0,i=0,o=0;o<e.length;++o)if(e[o]===t.charCodeAt(i)?++i:i=e[o]===t.charCodeAt(0)?1:0,i>=t.length){var a=o+1;n.push(e.slice(r,a-i)),r=a,i=0}return r<=e.length&&n.push(e.slice(r,e.length)),n}function s(e,t){if(f.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error(\"Compressed elliptic curve points are not supported\");if(4!==e[0])throw new Error(\"Not a valid elliptic curve point\");if(!t)return e}var r=new n(e.length+1);return r[0]=0,e.copy(r,1),r}function c(e){for(f.buffer(e);e.length>1&&0===e[0]&&0===(128&e[1]);)e=e.slice(1);if(128===(128&e[0])){var t=new n(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function u(e){var t=new n(e.toByteArray());return t=c(t)}function p(t,n,r){f.buffer(t),f.buffer(n),f.buffer(r);try{var i=e(\"jsbn\").BigInteger}catch(o){throw new Error(\"To load a PKCS#8 format DSA private key, the node jsbn library is required.\")}t=new i(t),n=new i(n),r=new i(r);var a=t.modPow(r,n),s=u(a);return s}function l(t){f.object(t),i(t,d,[1,1]);try{var n=e(\"jsbn\").BigInteger}catch(r){throw new Error(\"To write a PEM private key from this source, the node jsbn lib is required.\")}var o,a=new n(t.part.d.data);if(!t.part.dmodp){var s=new n(t.part.p.data),c=a.mod(s.subtract(1));o=u(c),t.part.dmodp={name:\"dmodp\",data:o},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var p=new n(t.part.q.data),l=a.mod(p.subtract(1));o=u(l),t.part.dmodq={name:\"dmodq\",data:o},t.parts.push(t.part.dmodq)}}t.exports={bufferSplit:a,addRSAMissing:l,calculateDSAPublic:p,mpNormalize:c,ecNormalize:s,countZeros:o,assertCompatible:i,isCompatible:r};var f=e(\"assert-plus\"),d=e(\"./private-key\"),h=3}).call(this,e(\"buffer\").Buffer)},{\"./private-key\":450,\"assert-plus\":10,buffer:void 0,jsbn:171}],454:[function(e,t,n){t.exports={100:\"Continue\",101:\"Switching Protocols\",102:\"Processing\",200:\"OK\",201:\"Created\",202:\"Accepted\",203:\"Non-Authoritative Information\",204:\"No Content\",205:\"Reset Content\",206:\"Partial Content\",207:\"Multi-Status\",208:\"Already Reported\",226:\"IM Used\",300:\"Multiple Choices\",301:\"Moved Permanently\",302:\"Found\",303:\"See Other\",304:\"Not Modified\",305:\"Use Proxy\",306:\"(Unused)\",307:\"Temporary Redirect\",308:\"Permanent Redirect\",400:\"Bad Request\",401:\"Unauthorized\",402:\"Payment Required\",403:\"Forbidden\",404:\"Not Found\",405:\"Method Not Allowed\",406:\"Not Acceptable\",407:\"Proxy Authentication Required\",408:\"Request Timeout\",409:\"Conflict\",410:\"Gone\",411:\"Length Required\",412:\"Precondition Failed\",413:\"Payload Too Large\",414:\"URI Too Long\",415:\"Unsupported Media Type\",416:\"Range Not Satisfiable\",417:\"Expectation Failed\",418:\"I'm a teapot\",422:\"Unprocessable Entity\",423:\"Locked\",424:\"Failed Dependency\",425:\"Unordered Collection\",426:\"Upgrade Required\",428:\"Precondition Required\",429:\"Too Many Requests\",431:\"Request Header Fields Too Large\",451:\"Unavailable For Legal Reasons\",500:\"Internal Server Error\",501:\"Not Implemented\",502:\"Bad Gateway\",503:\"Service Unavailable\",504:\"Gateway Timeout\",505:\"HTTP Version Not Supported\",506:\"Variant Also Negotiates\",507:\"Insufficient Storage\",508:\"Loop Detected\",509:\"Bandwidth Limit Exceeded\",510:\"Not Extended\",511:\"Network Authentication Required\"}},{}],455:[function(e,t,n){function r(e){if(\"number\"==typeof e){if(!r[e])throw new Error(\"invalid status code: \"+e);return e}if(\"string\"!=typeof e)throw new TypeError(\"code must be a number or string\");var t=parseInt(e,10);if(!isNaN(t)){if(!r[t])throw new Error(\"invalid status code: \"+t);return t}if(t=r[e.toLowerCase()],!t)throw new Error('invalid status message: \"'+e+'\"');return t}var i=e(\"./codes.json\");t.exports=r,r.codes=Object.keys(i).map(function(e){e=~~e;var t=i[e];return r[e]=t,r[t]=r[t.toLowerCase()]=e,e}),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},{\"./codes.json\":454}],456:[function(e,t,n){function r(e){if(e&&!c(e))throw new Error(\"Unknown encoding: \"+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function a(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e(\"buffer\").Buffer,c=s.isEncoding||function(e){switch(e&&e.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}},u=n.StringDecoder=function(e){switch(this.encoding=(e||\"utf8\").toLowerCase().replace(/[-_]/,\"\"),r(e),this.encoding){case\"utf8\":this.surrogateSize=3;break;case\"ucs2\":case\"utf16le\":this.surrogateSize=2,this.detectIncompleteChar=o;break;case\"base64\":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t=\"\";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return\"\";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=\"\"}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t=\"\";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:void 0}],457:[function(e,t,n){(function(n){function r(e,t){return this instanceof r?(s.call(this),null==e&&(e=\"utf8\"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?\"\":e,void(this.decoder=new i(this.toEncoding))):new r(e,t)}function i(e){switch(c.call(this,e),this.encoding){case\"base64\":this.write=o,this.alignedBuffer=new n(3),this.alignedBytes=0}}function o(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var r=new n(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(r,0,0,this.alignedBytes),e.copy(r,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,r.toString(this.encoding)}var a=e(\"util\"),s=e(\"stream\"),c=e(\"string_decoder\").StringDecoder;t.exports=r,t.exports.AlignedStringDecoder=i,a.inherits(r,s),r.prototype.write=function(e){if(!this.writable){var t=new Error(\"stream not writable\");return t.code=\"EPIPE\",this.emit(\"error\",t),!1}this.fromEncoding&&(n.isBuffer(e)&&(e=e.toString()),e=new n(e,this.fromEncoding));var r=this.decoder.write(e);return r.length&&this.emit(\"data\",r),!this.paused},r.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit(\"data\",e)}},r.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit(\"end\"),this.writable=this.readable=!1,this.destroy())},r.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit(\"close\")},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){this.paused&&this.emit(\"drain\"),this.paused=!1},a.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return\"\";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,stream:void 0,string_decoder:void 0,util:void 0}],458:[function(e,t,n){\"use strict\";function r(e){if(e){var t=e.split(E);if(t){for(var n=null,r=null,i=null,o=null,a=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var p;if(null===i&&(p=z.exec(u))){if(n=parseInt(p[1],10),r=parseInt(p[2],10),i=parseInt(p[3],10),n>23||r>59||i>59)return}else if(null===o&&(p=M.exec(u))){if(o=parseInt(p,10),1>o||o>31)return}else if(null===a&&(p=B.exec(u)))a=N[p[1].toLowerCase()];else if(null===s&&(p=R.exec(u),p&&(s=parseInt(p[0],10),s>=70&&99>=s?s+=1900:s>=0&&69>=s&&(s+=2e3),1601>s)))return}}if(null!==i&&null!==o&&null!==a&&null!==s)return new Date(Date.UTC(s,a,o,n,r,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:\"0\"+t;var n=e.getUTCHours();n=n>=10?n:\"0\"+n;var r=e.getUTCMinutes();r=r>=10?r:\"0\"+r;var i=e.getUTCSeconds();return i=i>=10?i:\"0\"+i,q[e.getUTCDay()]+\", \"+t+\" \"+D[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+n+\":\"+r+\":\"+i+\" GMT\"}function o(e){return null==e?null:(e=e.trim().replace(/^\\./,\"\"),g&&/[^\\u0001-\\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function a(e,t,n){if(null==e||null==t)return null;if(n!==!1&&(e=o(e),t=o(t)),e==t)return!0;if(y.isIP(e))return!1;var r=e.indexOf(t);return 0>=r?!1:e.length!==t.length+r?!1:\".\"===e.substr(r-1,1)}function s(e){if(!e||\"/\"!==e.substr(0,1))return\"/\";if(\"/\"===e)return e;var t=e.lastIndexOf(\"/\");return 0===t?\"/\":e.slice(0,t)}function c(e,t){t&&\"object\"==typeof t||(t={}),e=e.trim();var n=F.exec(e);n&&(e=e.slice(0,n.index));var i=e.indexOf(\";\"),o=t.loose?I:T,a=o.exec(-1===i?e:e.substr(0,i));if(a){var s=new h;if(a[1]?s.key=a[2].trim():s.key=\"\",s.value=a[3].trim(),!C.test(s.key)&&!C.test(s.value)){if(-1===i)return s;var c=e.slice(i).replace(/^\\s*;\\s*/,\"\").trim();if(0===c.length)return s;for(var u=c.split(/\\s*;\\s*/);u.length;){var p,l,f=u.shift(),d=f.indexOf(\"=\");switch(-1===d?(p=f,l=null):(p=f.substr(0,d),l=f.substr(d+1)),p=p.trim().toLowerCase(),l&&(l=l.trim()),p){case\"expires\":if(l){var m=r(l);m&&(s.expires=m)}break;case\"max-age\":if(l&&/^-?[0-9]+$/.test(l)){var v=parseInt(l,10);s.setMaxAge(v)}break;case\"domain\":if(l){var g=l.trim().replace(/^\\./,\"\");g&&(s.domain=g.toLowerCase())}break;case\"path\":s.path=l&&\"/\"===l[0]?l:null;break;case\"secure\":s.secure=!0;break;case\"httponly\":s.httpOnly=!0;break;default:s.extensions=s.extensions||[],s.extensions.push(f)}}return s}}}function u(e){var t;try{t=JSON.parse(e)}catch(n){return n}return t}function p(e){if(!e)return null;var t;if(\"string\"==typeof e){if(t=u(e),t instanceof Error)return null}else t=e;for(var n=new h,r=0;r<h.serializableProperties.length;r++){var i=h.serializableProperties[r];void 0!==t[i]&&t[i]!==h.prototype[i]&&(\"expires\"===i||\"creation\"===i||\"lastAccessed\"===i?null===t[i]?n[i]=null:n[i]=\"Infinity\"==t[i]?\"Infinity\":new Date(t[i]):n[i]=t[i])}return n}function l(e,t){var n=0,r=e.path?e.path.length:0,i=t.path?t.path.length:0;if(n=i-r,0!==n)return n;var o=e.creation?e.creation.getTime():L,a=t.creation?t.creation.getTime():L;return n=o-a,0!==n?n:n=e.creationIndex-t.creationIndex}function f(e){if(\"/\"===e)return[\"/\"];e.lastIndexOf(\"/\")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var n=e.lastIndexOf(\"/\");if(0===n)break;e=e.substr(0,n),t.push(e)}return t.push(\"/\"),t}function d(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(t){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&\"_\"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,\"creationIndex\",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function m(e,t){\"boolean\"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new _),this.store=e}function v(e){return function(){if(!this.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");var t,n,r=Array.prototype.slice.call(arguments);if(r.push(function(e,r){t=e,n=r}),this[e].apply(this,r),t)throw t;return n}}var g,y=e(\"net\"),b=e(\"url\").parse,x=e(\"./pubsuffix\"),w=e(\"./store\").Store,_=e(\"./memstore\").MemoryCookieStore,k=e(\"./pathMatch\").pathMatch,j=e(\"../package.json\").version;try{g=e(\"punycode\")}catch(S){console.warn(\"cookie: can't load punycode; won't use punycode for domain normalization\")}var E=/[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/,O=/[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]/,A=new RegExp(\"^\"+O.source+\"+$\"),C=/[\\x00-\\x1F]/,T=/^(([^=;]+))\\s*=\\s*([^\\n\\r\\0]*)/,I=/^((?:=)?([^=;]*)\\s*=\\s*)?([^\\n\\r\\0]*)/,P=/[\\x20-\\x3A\\x3C-\\x7E]+/,F=/;+$/,M=/^(\\d{1,2})[^\\d]*$/,z=/^(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*$/,B=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,N={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},D=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],q=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],R=/^(\\d{2}|\\d{4})$/,L=2147483647e3,$=0;h.cookiesCreated=0,h.parse=c,h.fromJSON=p,h.prototype.key=\"\",h.prototype.value=\"\",h.prototype.expires=\"Infinity\",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,\"creationIndex\",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||\"creationIndex\"===e||\"_\"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie=\"'+this.toString()+\"; hostOnly=\"+(null!=this.hostOnly?this.hostOnly:\"?\")+\"; aAge=\"+(this.lastAccessed?e-this.lastAccessed.getTime()+\"ms\":\"?\")+\"; cAge=\"+(this.creation?e-this.creation.getTime()+\"ms\":\"?\")+'\"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==h.prototype[r]&&(\"expires\"===r||\"creation\"===r||\"lastAccessed\"===r?null===this[r]?e[r]=null:e[r]=\"Infinity\"==this[r]?\"Infinity\":this[r].toISOString():\"maxAge\"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-(1/0)?this[r].toString():this[r]):this[r]!==h.prototype[r]&&(e[r]=this[r]))}return e},h.prototype.clone=function(){return p(this.toJSON())},h.prototype.validate=function(){if(!A.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||r(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!P.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\\.$/))return!1;var t=x.getPublicSuffix(e);if(null==t)return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=r(e)||\"Infinity\"},h.prototype.setMaxAge=function(e){e===1/0||e===-(1/0)?this.maxAge=e.toString():this.maxAge=e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=\"\"),\"\"===this.key?e:this.key+\"=\"+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(e+=this.expires instanceof Date?\"; Expires=\"+i(this.expires):\"; Expires=\"+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+=\"; Max-Age=\"+this.maxAge),this.domain&&!this.hostOnly&&(e+=\"; Domain=\"+this.domain),this.path&&(e+=\"; Path=\"+this.path),this.secure&&(e+=\"; Secure\"),this.httpOnly&&(e+=\"; HttpOnly\"),this.extensions&&this.extensions.forEach(function(t){e+=\"; \"+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=r(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-(1/0):1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(L):t==-(1/0)?new Date($):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:o(this.domain)},m.prototype.store=null,m.prototype.rejectPublicSuffixes=!0,m.prototype.enableLooseMode=!1;var U=[];U.push(\"setCookie\"),m.prototype.setCookie=function(e,t,n,r){function i(t,i){if(t)return r(t);var o=function(t){return t?r(t):void r(null,e)};if(i){if(n.http===!1&&i.httpOnly)return t=new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,v.updateCookie(i,e,o)}else e.creation=e.lastAccessed=f,v.putCookie(e,o)}var c,u=d(t);n instanceof Function&&(r=n,n={});var p=o(u.hostname),l=this.enableLooseMode;if(null!=n.loose&&(l=n.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return c=new Error(\"Cookie failed to parse\"),r(n.ignoreError?null:c);var f=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var m=x.getPublicSuffix(e.cdomain());if(null==m)return c=new Error(\"Cookie has domain set to a public suffix\"),r(n.ignoreError?null:c)}if(e.domain){if(!a(p,e.cdomain(),!1))return c=new Error(\"Cookie not in this host's domain. Cookie:\"+e.cdomain()+\" Request:\"+p),r(n.ignoreError?null:c);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=p;if(e.path&&\"/\"===e.path[0]||(e.path=s(u.pathname),e.pathIsDefault=!0),n.http===!1&&e.httpOnly)return c=new Error(\"Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:c);var v=this.store;v.updateCookie||(v.updateCookie=function(e,t,n){this.putCookie(t,n)}),v.findCookie(e.domain,e.path,e.key,i)},U.push(\"getCookies\"),m.prototype.getCookies=function(e,t,n){function r(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!a(s,e.domain,!1))return!1;return m||k(c,e.path)?e.secure&&!u?!1:e.httpOnly&&!p?!1:h&&e.expiryTime()<=f?(v.removeCookie(e.domain,e.path,e.key,function(){}),!1):!0:!1}var i=d(e);t instanceof Function&&(n=t,t={});var s=o(i.hostname),c=i.pathname||\"/\",u=t.secure;null!=u||!i.protocol||\"https:\"!=i.protocol&&\"wss:\"!=i.protocol||(u=!0);var p=t.http;null==p&&(p=!0);var f=t.now||Date.now(),h=t.expire!==!1,m=!!t.allPaths,v=this.store;v.findCookies(s,m?null:c,function(e,i){if(e)return n(e);i=i.filter(r),t.sort!==!1&&(i=i.sort(l));var o=new Date;i.forEach(function(e){e.lastAccessed=o}),n(null,i)})},U.push(\"getCookieString\"),m.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.sort(l).map(function(e){return e.cookieString()}).join(\"; \"))};e.push(n),this.getCookies.apply(this,e)},U.push(\"getSetCookieStrings\"),m.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.map(function(e){return e.toString()}))};e.push(n),this.getCookies.apply(this,e)},U.push(\"serialize\"),m.prototype.serialize=function(e){var t=this.store.constructor.name;\"Object\"===t&&(t=null);var n={version:\"tough-cookie@\"+j,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};return this.store.getAllCookies&&\"function\"==typeof this.store.getAllCookies?void this.store.getAllCookies(function(t,r){return t?e(t):(n.cookies=r.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,n))}):e(new Error(\"store does not support getAllCookies and cannot be serialized\"))},m.prototype.toJSON=function(){return this.serializeSync()},U.push(\"_importCookies\"),m.prototype._importCookies=function(e,t){function n(e){if(e)return t(e);if(!i.length)return t(e,r);var o;try{o=p(i.shift())}catch(a){return t(a)}return null===o?n(null):void r.store.putCookie(o,n)}var r=this,i=e.cookies;return i&&Array.isArray(i)?void n():t(new Error(\"serialized jar has no cookies array\"))},m.deserialize=function(e,t,n){3!==arguments.length&&(n=t,t=null);var r;if(\"string\"==typeof e){if(r=u(e),r instanceof Error)return n(r)}else r=e;var i=new m(t,r.rejectPublicSuffixes);i._importCookies(r,function(e){return e?n(e):void n(null,i)})},m.deserializeSync=function(e,t){var n=\"string\"==typeof e?JSON.parse(e):e,r=new m(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");return r._importCookiesSync(n),r},m.fromJSON=m.deserializeSync,U.push(\"clone\"),m.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(n,r){return n?t(n):void m.deserialize(e,r,t)})},U.forEach(function(e){m.prototype[e+\"Sync\"]=v(e)}),t.exports={CookieJar:m,Cookie:h,Store:w,MemoryCookieStore:_,parseDate:r,formatDate:i,parse:c,fromJSON:p,domainMatch:a,defaultPath:s,pathMatch:k,getPublicSuffix:x.getPublicSuffix,cookieCompare:l,permuteDomain:e(\"./permuteDomain\").permuteDomain,permutePath:f,canonicalDomain:o}},{\"../package.json\":464,\"./memstore\":459,\"./pathMatch\":460,\"./permuteDomain\":461,\"./pubsuffix\":462,\"./store\":463,net:void 0,punycode:void 0,url:void 0}],459:[function(e,t,n){\"use strict\";function r(){i.call(this),this.idx={}}var i=e(\"./store\").Store,o=e(\"./permuteDomain\").permuteDomain,a=e(\"./pathMatch\").pathMatch,s=e(\"util\");s.inherits(r,i),n.MemoryCookieStore=r,r.prototype.idx=null,r.prototype.synchronous=!0,r.prototype.inspect=function(){return\"{ idx: \"+s.inspect(this.idx,!1,2)+\" }\"},r.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},r.prototype.findCookies=function(e,t,n){var r=[];if(!e)return n(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(n){if(a(t,n)){var i=e[n];for(var o in i)r.push(i[o])}})}:function(e){for(var t in e){var n=e[t];for(var i in n)r.push(n[i])}};var s=o(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),n(null,r)},r.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},r.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},r.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},r.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},r.prototype.getAllCookies=function(e){var t=[],n=this.idx,r=Object.keys(n);r.forEach(function(e){var r=Object.keys(n[e]);r.forEach(function(r){var i=Object.keys(n[e][r]);i.forEach(function(i){null!==i&&t.push(n[e][r][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{\"./pathMatch\":460,\"./permuteDomain\":461,\"./store\":463,util:void 0}],460:[function(e,t,n){\"use strict\";function r(e,t){if(t===e)return!0;var n=e.indexOf(t);if(0===n){if(\"/\"===t.substr(-1))return!0;if(\"/\"===e.substr(t.length,1))return!0}return!1}n.pathMatch=r},{}],461:[function(e,t,n){\"use strict\";function r(e){var t=i.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)),r=n.split(\".\").reverse(),o=t,a=[o];r.length;)o=r.shift()+\".\"+o,a.push(o);return a}var i=e(\"./pubsuffix\");n.permuteDomain=r},{\"./pubsuffix\":462}],462:[function(e,t,n){\"use strict\";var r=e(\"punycode\");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\\./))return null;var t=r.toASCII(e),n=!1;if(t!==e&&(e=t,n=!0),i[e])return null;e=e.toLowerCase();for(var o=e.split(\".\").reverse(),a=\"\",s=0,c=0;c<o.length;c++){var u=o[c],p=\"*\"+a,l=u+a;i[p]?(s=c+1,i[l]===!1&&s--):i[l]&&(s=c+1),a=\".\"+l}if(i[\"*\"+a])return null;if(s=s||1,o.length>s){var f=o.slice(0,s+1).reverse().join(\".\");return n?r.toUnicode(f):f}return null};var i=t.exports.index=Object.freeze({ac:!0,\"com.ac\":!0,\"edu.ac\":!0,\"gov.ac\":!0,\"net.ac\":!0,\"mil.ac\":!0,\"org.ac\":!0,ad:!0,\"nom.ad\":!0,ae:!0,\"co.ae\":!0,\"net.ae\":!0,\"org.ae\":!0,\"sch.ae\":!0,\"ac.ae\":!0,\"gov.ae\":!0,\"mil.ae\":!0,aero:!0,\"accident-investigation.aero\":!0,\"accident-prevention.aero\":!0,\"aerobatic.aero\":!0,\"aeroclub.aero\":!0,\"aerodrome.aero\":!0,\"agents.aero\":!0,\"aircraft.aero\":!0,\"airline.aero\":!0,\"airport.aero\":!0,\"air-surveillance.aero\":!0,\"airtraffic.aero\":!0,\"air-traffic-control.aero\":!0,\"ambulance.aero\":!0,\"amusement.aero\":!0,\"association.aero\":!0,\"author.aero\":!0,\"ballooning.aero\":!0,\"broker.aero\":!0,\"caa.aero\":!0,\"cargo.aero\":!0,\"catering.aero\":!0,\"certification.aero\":!0,\"championship.aero\":!0,\"charter.aero\":!0,\"civilaviation.aero\":!0,\"club.aero\":!0,\"conference.aero\":!0,\"consultant.aero\":!0,\"consulting.aero\":!0,\"control.aero\":!0,\"council.aero\":!0,\"crew.aero\":!0,\"design.aero\":!0,\"dgca.aero\":!0,\"educator.aero\":!0,\"emergency.aero\":!0,\"engine.aero\":!0,\"engineer.aero\":!0,\"entertainment.aero\":!0,\"equipment.aero\":!0,\"exchange.aero\":!0,\"express.aero\":!0,\"federation.aero\":!0,\"flight.aero\":!0,\"freight.aero\":!0,\"fuel.aero\":!0,\"gliding.aero\":!0,\"government.aero\":!0,\"groundhandling.aero\":!0,\"group.aero\":!0,\"hanggliding.aero\":!0,\"homebuilt.aero\":!0,\"insurance.aero\":!0,\"journal.aero\":!0,\"journalist.aero\":!0,\"leasing.aero\":!0,\"logistics.aero\":!0,\"magazine.aero\":!0,\"maintenance.aero\":!0,\"marketplace.aero\":!0,\"media.aero\":!0,\"microlight.aero\":!0,\"modelling.aero\":!0,\"navigation.aero\":!0,\"parachuting.aero\":!0,\"paragliding.aero\":!0,\"passenger-association.aero\":!0,\"pilot.aero\":!0,\"press.aero\":!0,\"production.aero\":!0,\"recreation.aero\":!0,\"repbody.aero\":!0,\"res.aero\":!0,\"research.aero\":!0,\"rotorcraft.aero\":!0,\"safety.aero\":!0,\"scientist.aero\":!0,\"services.aero\":!0,\"show.aero\":!0,\"skydiving.aero\":!0,\"software.aero\":!0,\"student.aero\":!0,\"taxi.aero\":!0,\"trader.aero\":!0,\"trading.aero\":!0,\"trainer.aero\":!0,\"union.aero\":!0,\"workinggroup.aero\":!0,\"works.aero\":!0,af:!0,\"gov.af\":!0,\"com.af\":!0,\"org.af\":!0,\"net.af\":!0,\"edu.af\":!0,ag:!0,\"com.ag\":!0,\"org.ag\":!0,\"net.ag\":!0,\"co.ag\":!0,\"nom.ag\":!0,ai:!0,\"off.ai\":!0,\"com.ai\":!0,\"net.ai\":!0,\"org.ai\":!0,al:!0,\"com.al\":!0,\"edu.al\":!0,\"gov.al\":!0,\"mil.al\":!0,\"net.al\":!0,\"org.al\":!0,am:!0,an:!0,\"com.an\":!0,\"net.an\":!0,\"org.an\":!0,\"edu.an\":!0,ao:!0,\"ed.ao\":!0,\"gv.ao\":!0,\"og.ao\":!0,\"co.ao\":!0,\"pb.ao\":!0,\"it.ao\":!0,aq:!0,ar:!0,\"com.ar\":!0,\"edu.ar\":!0,\"gob.ar\":!0,\"gov.ar\":!0,\"int.ar\":!0,\"mil.ar\":!0,\"net.ar\":!0,\"org.ar\":!0,\"tur.ar\":!0,arpa:!0,\"e164.arpa\":!0,\"in-addr.arpa\":!0,\"ip6.arpa\":!0,\"iris.arpa\":!0,\"uri.arpa\":!0,\"urn.arpa\":!0,as:!0,\"gov.as\":!0,asia:!0,at:!0,\"ac.at\":!0,\"co.at\":!0,\"gv.at\":!0,\"or.at\":!0,au:!0,\"com.au\":!0,\"net.au\":!0,\"org.au\":!0,\"edu.au\":!0,\"gov.au\":!0,\"asn.au\":!0,\"id.au\":!0,\"info.au\":!0,\"conf.au\":!0,\"oz.au\":!0,\"act.au\":!0,\"nsw.au\":!0,\"nt.au\":!0,\"qld.au\":!0,\"sa.au\":!0,\"tas.au\":!0,\"vic.au\":!0,\"wa.au\":!0,\"act.edu.au\":!0,\"nsw.edu.au\":!0,\"nt.edu.au\":!0,\"qld.edu.au\":!0,\"sa.edu.au\":!0,\"tas.edu.au\":!0,\"vic.edu.au\":!0,\"wa.edu.au\":!0,\"qld.gov.au\":!0,\"sa.gov.au\":!0,\"tas.gov.au\":!0,\"vic.gov.au\":!0,\"wa.gov.au\":!0,aw:!0,\"com.aw\":!0,ax:!0,az:!0,\"com.az\":!0,\"net.az\":!0,\"int.az\":!0,\"gov.az\":!0,\"org.az\":!0,\"edu.az\":!0,\"info.az\":!0,\"pp.az\":!0,\"mil.az\":!0,\"name.az\":!0,\"pro.az\":!0,\"biz.az\":!0,ba:!0,\"org.ba\":!0,\"net.ba\":!0,\"edu.ba\":!0,\"gov.ba\":!0,\"mil.ba\":!0,\"unsa.ba\":!0,\"unbi.ba\":!0,\"co.ba\":!0,\"com.ba\":!0,\"rs.ba\":!0,bb:!0,\"biz.bb\":!0,\"co.bb\":!0,\"com.bb\":!0,\"edu.bb\":!0,\"gov.bb\":!0,\"info.bb\":!0,\"net.bb\":!0,\"org.bb\":!0,\"store.bb\":!0,\"tv.bb\":!0,\"*.bd\":!0,be:!0,\"ac.be\":!0,bf:!0,\"gov.bf\":!0,bg:!0,\"a.bg\":!0,\"b.bg\":!0,\"c.bg\":!0,\"d.bg\":!0,\"e.bg\":!0,\"f.bg\":!0,\"g.bg\":!0,\"h.bg\":!0,\"i.bg\":!0,\"j.bg\":!0,\"k.bg\":!0,\"l.bg\":!0,\"m.bg\":!0,\"n.bg\":!0,\"o.bg\":!0,\"p.bg\":!0,\"q.bg\":!0,\"r.bg\":!0,\"s.bg\":!0,\"t.bg\":!0,\"u.bg\":!0,\"v.bg\":!0,\"w.bg\":!0,\"x.bg\":!0,\"y.bg\":!0,\"z.bg\":!0,\"0.bg\":!0,\"1.bg\":!0,\"2.bg\":!0,\"3.bg\":!0,\"4.bg\":!0,\"5.bg\":!0,\"6.bg\":!0,\"7.bg\":!0,\"8.bg\":!0,\"9.bg\":!0,bh:!0,\"com.bh\":!0,\"edu.bh\":!0,\"net.bh\":!0,\"org.bh\":!0,\"gov.bh\":!0,bi:!0,\"co.bi\":!0,\"com.bi\":!0,\"edu.bi\":!0,\"or.bi\":!0,\"org.bi\":!0,biz:!0,bj:!0,\"asso.bj\":!0,\"barreau.bj\":!0,\"gouv.bj\":!0,bm:!0,\"com.bm\":!0,\"edu.bm\":!0,\"gov.bm\":!0,\"net.bm\":!0,\"org.bm\":!0,\"*.bn\":!0,bo:!0,\"com.bo\":!0,\"edu.bo\":!0,\"gov.bo\":!0,\"gob.bo\":!0,\"int.bo\":!0,\"org.bo\":!0,\"net.bo\":!0,\"mil.bo\":!0,\"tv.bo\":!0,br:!0,\"adm.br\":!0,\"adv.br\":!0,\"agr.br\":!0,\"am.br\":!0,\"arq.br\":!0,\"art.br\":!0,\"ato.br\":!0,\"b.br\":!0,\"bio.br\":!0,\"blog.br\":!0,\"bmd.br\":!0,\"cim.br\":!0,\"cng.br\":!0,\"cnt.br\":!0,\"com.br\":!0,\"coop.br\":!0,\"ecn.br\":!0,\"eco.br\":!0,\"edu.br\":!0,\"emp.br\":!0,\"eng.br\":!0,\"esp.br\":!0,\"etc.br\":!0,\"eti.br\":!0,\"far.br\":!0,\"flog.br\":!0,\"fm.br\":!0,\"fnd.br\":!0,\"fot.br\":!0,\"fst.br\":!0,\"g12.br\":!0,\"ggf.br\":!0,\"gov.br\":!0,\"imb.br\":!0,\"ind.br\":!0,\"inf.br\":!0,\"jor.br\":!0,\"jus.br\":!0,\"leg.br\":!0,\"lel.br\":!0,\"mat.br\":!0,\"med.br\":!0,\"mil.br\":!0,\"mp.br\":!0,\"mus.br\":!0,\"net.br\":!0,\"*.nom.br\":!0,\"not.br\":!0,\"ntr.br\":!0,\"odo.br\":!0,\"org.br\":!0,\"ppg.br\":!0,\"pro.br\":!0,\"psc.br\":!0,\"psi.br\":!0,\"qsl.br\":!0,\"radio.br\":!0,\"rec.br\":!0,\"slg.br\":!0,\"srv.br\":!0,\"taxi.br\":!0,\"teo.br\":!0,\"tmp.br\":!0,\"trd.br\":!0,\"tur.br\":!0,\"tv.br\":!0,\"vet.br\":!0,\"vlog.br\":!0,\"wiki.br\":!0,\"zlg.br\":!0,bs:!0,\"com.bs\":!0,\"net.bs\":!0,\"org.bs\":!0,\"edu.bs\":!0,\"gov.bs\":!0,bt:!0,\"com.bt\":!0,\"edu.bt\":!0,\"gov.bt\":!0,\"net.bt\":!0,\"org.bt\":!0,bv:!0,bw:!0,\"co.bw\":!0,\"org.bw\":!0,by:!0,\"gov.by\":!0,\"mil.by\":!0,\"com.by\":!0,\"of.by\":!0,bz:!0,\"com.bz\":!0,\"net.bz\":!0,\"org.bz\":!0,\"edu.bz\":!0,\"gov.bz\":!0,ca:!0,\"ab.ca\":!0,\"bc.ca\":!0,\"mb.ca\":!0,\"nb.ca\":!0,\"nf.ca\":!0,\"nl.ca\":!0,\"ns.ca\":!0,\"nt.ca\":!0,\"nu.ca\":!0,\"on.ca\":!0,\"pe.ca\":!0,\"qc.ca\":!0,\"sk.ca\":!0,\"yk.ca\":!0,\"gc.ca\":!0,cat:!0,cc:!0,cd:!0,\"gov.cd\":!0,cf:!0,cg:!0,ch:!0,ci:!0,\"org.ci\":!0,\"or.ci\":!0,\"com.ci\":!0,\"co.ci\":!0,\"edu.ci\":!0,\"ed.ci\":!0,\"ac.ci\":!0,\"net.ci\":!0,\"go.ci\":!0,\"asso.ci\":!0,\"xn--aroport-bya.ci\":!0,\"int.ci\":!0,\"presse.ci\":!0,\"md.ci\":!0,\"gouv.ci\":!0,\"*.ck\":!0,\"www.ck\":!1,cl:!0,\"gov.cl\":!0,\"gob.cl\":!0,\"co.cl\":!0,\"mil.cl\":!0,cm:!0,\"co.cm\":!0,\"com.cm\":!0,\"gov.cm\":!0,\"net.cm\":!0,cn:!0,\"ac.cn\":!0,\"com.cn\":!0,\"edu.cn\":!0,\"gov.cn\":!0,\"net.cn\":!0,\"org.cn\":!0,\"mil.cn\":!0,\"xn--55qx5d.cn\":!0,\"xn--io0a7i.cn\":!0,\"xn--od0alg.cn\":!0,\"ah.cn\":!0,\"bj.cn\":!0,\"cq.cn\":!0,\"fj.cn\":!0,\"gd.cn\":!0,\"gs.cn\":!0,\"gz.cn\":!0,\"gx.cn\":!0,\"ha.cn\":!0,\"hb.cn\":!0,\"he.cn\":!0,\"hi.cn\":!0,\"hl.cn\":!0,\"hn.cn\":!0,\"jl.cn\":!0,\"js.cn\":!0,\"jx.cn\":!0,\"ln.cn\":!0,\"nm.cn\":!0,\"nx.cn\":!0,\"qh.cn\":!0,\"sc.cn\":!0,\"sd.cn\":!0,\"sh.cn\":!0,\"sn.cn\":!0,\"sx.cn\":!0,\"tj.cn\":!0,\"xj.cn\":!0,\"xz.cn\":!0,\"yn.cn\":!0,\"zj.cn\":!0,\"hk.cn\":!0,\"mo.cn\":!0,\"tw.cn\":!0,co:!0,\"arts.co\":!0,\"com.co\":!0,\"edu.co\":!0,\"firm.co\":!0,\"gov.co\":!0,\"info.co\":!0,\"int.co\":!0,\"mil.co\":!0,\"net.co\":!0,\"nom.co\":!0,\"org.co\":!0,\"rec.co\":!0,\"web.co\":!0,com:!0,coop:!0,cr:!0,\"ac.cr\":!0,\"co.cr\":!0,\"ed.cr\":!0,\"fi.cr\":!0,\"go.cr\":!0,\"or.cr\":!0,\"sa.cr\":!0,cu:!0,\"com.cu\":!0,\"edu.cu\":!0,\"org.cu\":!0,\"net.cu\":!0,\"gov.cu\":!0,\"inf.cu\":!0,cv:!0,cw:!0,\"com.cw\":!0,\"edu.cw\":!0,\"net.cw\":!0,\"org.cw\":!0,cx:!0,\"gov.cx\":!0,\"ac.cy\":!0,\"biz.cy\":!0,\"com.cy\":!0,\"ekloges.cy\":!0,\"gov.cy\":!0,\n\"ltd.cy\":!0,\"name.cy\":!0,\"net.cy\":!0,\"org.cy\":!0,\"parliament.cy\":!0,\"press.cy\":!0,\"pro.cy\":!0,\"tm.cy\":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,\"com.dm\":!0,\"net.dm\":!0,\"org.dm\":!0,\"edu.dm\":!0,\"gov.dm\":!0,\"do\":!0,\"art.do\":!0,\"com.do\":!0,\"edu.do\":!0,\"gob.do\":!0,\"gov.do\":!0,\"mil.do\":!0,\"net.do\":!0,\"org.do\":!0,\"sld.do\":!0,\"web.do\":!0,dz:!0,\"com.dz\":!0,\"org.dz\":!0,\"net.dz\":!0,\"gov.dz\":!0,\"edu.dz\":!0,\"asso.dz\":!0,\"pol.dz\":!0,\"art.dz\":!0,ec:!0,\"com.ec\":!0,\"info.ec\":!0,\"net.ec\":!0,\"fin.ec\":!0,\"k12.ec\":!0,\"med.ec\":!0,\"pro.ec\":!0,\"org.ec\":!0,\"edu.ec\":!0,\"gov.ec\":!0,\"gob.ec\":!0,\"mil.ec\":!0,edu:!0,ee:!0,\"edu.ee\":!0,\"gov.ee\":!0,\"riik.ee\":!0,\"lib.ee\":!0,\"med.ee\":!0,\"com.ee\":!0,\"pri.ee\":!0,\"aip.ee\":!0,\"org.ee\":!0,\"fie.ee\":!0,eg:!0,\"com.eg\":!0,\"edu.eg\":!0,\"eun.eg\":!0,\"gov.eg\":!0,\"mil.eg\":!0,\"name.eg\":!0,\"net.eg\":!0,\"org.eg\":!0,\"sci.eg\":!0,\"*.er\":!0,es:!0,\"com.es\":!0,\"nom.es\":!0,\"org.es\":!0,\"gob.es\":!0,\"edu.es\":!0,et:!0,\"com.et\":!0,\"gov.et\":!0,\"org.et\":!0,\"edu.et\":!0,\"biz.et\":!0,\"name.et\":!0,\"info.et\":!0,\"net.et\":!0,eu:!0,fi:!0,\"aland.fi\":!0,\"*.fj\":!0,\"*.fk\":!0,fm:!0,fo:!0,fr:!0,\"com.fr\":!0,\"asso.fr\":!0,\"nom.fr\":!0,\"prd.fr\":!0,\"presse.fr\":!0,\"tm.fr\":!0,\"aeroport.fr\":!0,\"assedic.fr\":!0,\"avocat.fr\":!0,\"avoues.fr\":!0,\"cci.fr\":!0,\"chambagri.fr\":!0,\"chirurgiens-dentistes.fr\":!0,\"experts-comptables.fr\":!0,\"geometre-expert.fr\":!0,\"gouv.fr\":!0,\"greta.fr\":!0,\"huissier-justice.fr\":!0,\"medecin.fr\":!0,\"notaires.fr\":!0,\"pharmacien.fr\":!0,\"port.fr\":!0,\"veterinaire.fr\":!0,ga:!0,gb:!0,gd:!0,ge:!0,\"com.ge\":!0,\"edu.ge\":!0,\"gov.ge\":!0,\"org.ge\":!0,\"mil.ge\":!0,\"net.ge\":!0,\"pvt.ge\":!0,gf:!0,gg:!0,\"co.gg\":!0,\"net.gg\":!0,\"org.gg\":!0,gh:!0,\"com.gh\":!0,\"edu.gh\":!0,\"gov.gh\":!0,\"org.gh\":!0,\"mil.gh\":!0,gi:!0,\"com.gi\":!0,\"ltd.gi\":!0,\"gov.gi\":!0,\"mod.gi\":!0,\"edu.gi\":!0,\"org.gi\":!0,gl:!0,\"co.gl\":!0,\"com.gl\":!0,\"edu.gl\":!0,\"net.gl\":!0,\"org.gl\":!0,gm:!0,gn:!0,\"ac.gn\":!0,\"com.gn\":!0,\"edu.gn\":!0,\"gov.gn\":!0,\"org.gn\":!0,\"net.gn\":!0,gov:!0,gp:!0,\"com.gp\":!0,\"net.gp\":!0,\"mobi.gp\":!0,\"edu.gp\":!0,\"org.gp\":!0,\"asso.gp\":!0,gq:!0,gr:!0,\"com.gr\":!0,\"edu.gr\":!0,\"net.gr\":!0,\"org.gr\":!0,\"gov.gr\":!0,gs:!0,gt:!0,\"com.gt\":!0,\"edu.gt\":!0,\"gob.gt\":!0,\"ind.gt\":!0,\"mil.gt\":!0,\"net.gt\":!0,\"org.gt\":!0,\"*.gu\":!0,gw:!0,gy:!0,\"co.gy\":!0,\"com.gy\":!0,\"net.gy\":!0,hk:!0,\"com.hk\":!0,\"edu.hk\":!0,\"gov.hk\":!0,\"idv.hk\":!0,\"net.hk\":!0,\"org.hk\":!0,\"xn--55qx5d.hk\":!0,\"xn--wcvs22d.hk\":!0,\"xn--lcvr32d.hk\":!0,\"xn--mxtq1m.hk\":!0,\"xn--gmqw5a.hk\":!0,\"xn--ciqpn.hk\":!0,\"xn--gmq050i.hk\":!0,\"xn--zf0avx.hk\":!0,\"xn--io0a7i.hk\":!0,\"xn--mk0axi.hk\":!0,\"xn--od0alg.hk\":!0,\"xn--od0aq3b.hk\":!0,\"xn--tn0ag.hk\":!0,\"xn--uc0atv.hk\":!0,\"xn--uc0ay4a.hk\":!0,hm:!0,hn:!0,\"com.hn\":!0,\"edu.hn\":!0,\"org.hn\":!0,\"net.hn\":!0,\"mil.hn\":!0,\"gob.hn\":!0,hr:!0,\"iz.hr\":!0,\"from.hr\":!0,\"name.hr\":!0,\"com.hr\":!0,ht:!0,\"com.ht\":!0,\"shop.ht\":!0,\"firm.ht\":!0,\"info.ht\":!0,\"adult.ht\":!0,\"net.ht\":!0,\"pro.ht\":!0,\"org.ht\":!0,\"med.ht\":!0,\"art.ht\":!0,\"coop.ht\":!0,\"pol.ht\":!0,\"asso.ht\":!0,\"edu.ht\":!0,\"rel.ht\":!0,\"gouv.ht\":!0,\"perso.ht\":!0,hu:!0,\"co.hu\":!0,\"info.hu\":!0,\"org.hu\":!0,\"priv.hu\":!0,\"sport.hu\":!0,\"tm.hu\":!0,\"2000.hu\":!0,\"agrar.hu\":!0,\"bolt.hu\":!0,\"casino.hu\":!0,\"city.hu\":!0,\"erotica.hu\":!0,\"erotika.hu\":!0,\"film.hu\":!0,\"forum.hu\":!0,\"games.hu\":!0,\"hotel.hu\":!0,\"ingatlan.hu\":!0,\"jogasz.hu\":!0,\"konyvelo.hu\":!0,\"lakas.hu\":!0,\"media.hu\":!0,\"news.hu\":!0,\"reklam.hu\":!0,\"sex.hu\":!0,\"shop.hu\":!0,\"suli.hu\":!0,\"szex.hu\":!0,\"tozsde.hu\":!0,\"utazas.hu\":!0,\"video.hu\":!0,id:!0,\"ac.id\":!0,\"biz.id\":!0,\"co.id\":!0,\"desa.id\":!0,\"go.id\":!0,\"mil.id\":!0,\"my.id\":!0,\"net.id\":!0,\"or.id\":!0,\"sch.id\":!0,\"web.id\":!0,ie:!0,\"gov.ie\":!0,il:!0,\"ac.il\":!0,\"co.il\":!0,\"gov.il\":!0,\"idf.il\":!0,\"k12.il\":!0,\"muni.il\":!0,\"net.il\":!0,\"org.il\":!0,im:!0,\"ac.im\":!0,\"co.im\":!0,\"com.im\":!0,\"ltd.co.im\":!0,\"net.im\":!0,\"org.im\":!0,\"plc.co.im\":!0,\"tt.im\":!0,\"tv.im\":!0,\"in\":!0,\"co.in\":!0,\"firm.in\":!0,\"net.in\":!0,\"org.in\":!0,\"gen.in\":!0,\"ind.in\":!0,\"nic.in\":!0,\"ac.in\":!0,\"edu.in\":!0,\"res.in\":!0,\"gov.in\":!0,\"mil.in\":!0,info:!0,\"int\":!0,\"eu.int\":!0,io:!0,\"com.io\":!0,iq:!0,\"gov.iq\":!0,\"edu.iq\":!0,\"mil.iq\":!0,\"com.iq\":!0,\"org.iq\":!0,\"net.iq\":!0,ir:!0,\"ac.ir\":!0,\"co.ir\":!0,\"gov.ir\":!0,\"id.ir\":!0,\"net.ir\":!0,\"org.ir\":!0,\"sch.ir\":!0,\"xn--mgba3a4f16a.ir\":!0,\"xn--mgba3a4fra.ir\":!0,is:!0,\"net.is\":!0,\"com.is\":!0,\"edu.is\":!0,\"gov.is\":!0,\"org.is\":!0,\"int.is\":!0,it:!0,\"gov.it\":!0,\"edu.it\":!0,\"abr.it\":!0,\"abruzzo.it\":!0,\"aosta-valley.it\":!0,\"aostavalley.it\":!0,\"bas.it\":!0,\"basilicata.it\":!0,\"cal.it\":!0,\"calabria.it\":!0,\"cam.it\":!0,\"campania.it\":!0,\"emilia-romagna.it\":!0,\"emiliaromagna.it\":!0,\"emr.it\":!0,\"friuli-v-giulia.it\":!0,\"friuli-ve-giulia.it\":!0,\"friuli-vegiulia.it\":!0,\"friuli-venezia-giulia.it\":!0,\"friuli-veneziagiulia.it\":!0,\"friuli-vgiulia.it\":!0,\"friuliv-giulia.it\":!0,\"friulive-giulia.it\":!0,\"friulivegiulia.it\":!0,\"friulivenezia-giulia.it\":!0,\"friuliveneziagiulia.it\":!0,\"friulivgiulia.it\":!0,\"fvg.it\":!0,\"laz.it\":!0,\"lazio.it\":!0,\"lig.it\":!0,\"liguria.it\":!0,\"lom.it\":!0,\"lombardia.it\":!0,\"lombardy.it\":!0,\"lucania.it\":!0,\"mar.it\":!0,\"marche.it\":!0,\"mol.it\":!0,\"molise.it\":!0,\"piedmont.it\":!0,\"piemonte.it\":!0,\"pmn.it\":!0,\"pug.it\":!0,\"puglia.it\":!0,\"sar.it\":!0,\"sardegna.it\":!0,\"sardinia.it\":!0,\"sic.it\":!0,\"sicilia.it\":!0,\"sicily.it\":!0,\"taa.it\":!0,\"tos.it\":!0,\"toscana.it\":!0,\"trentino-a-adige.it\":!0,\"trentino-aadige.it\":!0,\"trentino-alto-adige.it\":!0,\"trentino-altoadige.it\":!0,\"trentino-s-tirol.it\":!0,\"trentino-stirol.it\":!0,\"trentino-sud-tirol.it\":!0,\"trentino-sudtirol.it\":!0,\"trentino-sued-tirol.it\":!0,\"trentino-suedtirol.it\":!0,\"trentinoa-adige.it\":!0,\"trentinoaadige.it\":!0,\"trentinoalto-adige.it\":!0,\"trentinoaltoadige.it\":!0,\"trentinos-tirol.it\":!0,\"trentinostirol.it\":!0,\"trentinosud-tirol.it\":!0,\"trentinosudtirol.it\":!0,\"trentinosued-tirol.it\":!0,\"trentinosuedtirol.it\":!0,\"tuscany.it\":!0,\"umb.it\":!0,\"umbria.it\":!0,\"val-d-aosta.it\":!0,\"val-daosta.it\":!0,\"vald-aosta.it\":!0,\"valdaosta.it\":!0,\"valle-aosta.it\":!0,\"valle-d-aosta.it\":!0,\"valle-daosta.it\":!0,\"valleaosta.it\":!0,\"valled-aosta.it\":!0,\"valledaosta.it\":!0,\"vallee-aoste.it\":!0,\"valleeaoste.it\":!0,\"vao.it\":!0,\"vda.it\":!0,\"ven.it\":!0,\"veneto.it\":!0,\"ag.it\":!0,\"agrigento.it\":!0,\"al.it\":!0,\"alessandria.it\":!0,\"alto-adige.it\":!0,\"altoadige.it\":!0,\"an.it\":!0,\"ancona.it\":!0,\"andria-barletta-trani.it\":!0,\"andria-trani-barletta.it\":!0,\"andriabarlettatrani.it\":!0,\"andriatranibarletta.it\":!0,\"ao.it\":!0,\"aosta.it\":!0,\"aoste.it\":!0,\"ap.it\":!0,\"aq.it\":!0,\"aquila.it\":!0,\"ar.it\":!0,\"arezzo.it\":!0,\"ascoli-piceno.it\":!0,\"ascolipiceno.it\":!0,\"asti.it\":!0,\"at.it\":!0,\"av.it\":!0,\"avellino.it\":!0,\"ba.it\":!0,\"balsan.it\":!0,\"bari.it\":!0,\"barletta-trani-andria.it\":!0,\"barlettatraniandria.it\":!0,\"belluno.it\":!0,\"benevento.it\":!0,\"bergamo.it\":!0,\"bg.it\":!0,\"bi.it\":!0,\"biella.it\":!0,\"bl.it\":!0,\"bn.it\":!0,\"bo.it\":!0,\"bologna.it\":!0,\"bolzano.it\":!0,\"bozen.it\":!0,\"br.it\":!0,\"brescia.it\":!0,\"brindisi.it\":!0,\"bs.it\":!0,\"bt.it\":!0,\"bz.it\":!0,\"ca.it\":!0,\"cagliari.it\":!0,\"caltanissetta.it\":!0,\"campidano-medio.it\":!0,\"campidanomedio.it\":!0,\"campobasso.it\":!0,\"carbonia-iglesias.it\":!0,\"carboniaiglesias.it\":!0,\"carrara-massa.it\":!0,\"carraramassa.it\":!0,\"caserta.it\":!0,\"catania.it\":!0,\"catanzaro.it\":!0,\"cb.it\":!0,\"ce.it\":!0,\"cesena-forli.it\":!0,\"cesenaforli.it\":!0,\"ch.it\":!0,\"chieti.it\":!0,\"ci.it\":!0,\"cl.it\":!0,\"cn.it\":!0,\"co.it\":!0,\"como.it\":!0,\"cosenza.it\":!0,\"cr.it\":!0,\"cremona.it\":!0,\"crotone.it\":!0,\"cs.it\":!0,\"ct.it\":!0,\"cuneo.it\":!0,\"cz.it\":!0,\"dell-ogliastra.it\":!0,\"dellogliastra.it\":!0,\"en.it\":!0,\"enna.it\":!0,\"fc.it\":!0,\"fe.it\":!0,\"fermo.it\":!0,\"ferrara.it\":!0,\"fg.it\":!0,\"fi.it\":!0,\"firenze.it\":!0,\"florence.it\":!0,\"fm.it\":!0,\"foggia.it\":!0,\"forli-cesena.it\":!0,\"forlicesena.it\":!0,\"fr.it\":!0,\"frosinone.it\":!0,\"ge.it\":!0,\"genoa.it\":!0,\"genova.it\":!0,\"go.it\":!0,\"gorizia.it\":!0,\"gr.it\":!0,\"grosseto.it\":!0,\"iglesias-carbonia.it\":!0,\"iglesiascarbonia.it\":!0,\"im.it\":!0,\"imperia.it\":!0,\"is.it\":!0,\"isernia.it\":!0,\"kr.it\":!0,\"la-spezia.it\":!0,\"laquila.it\":!0,\"laspezia.it\":!0,\"latina.it\":!0,\"lc.it\":!0,\"le.it\":!0,\"lecce.it\":!0,\"lecco.it\":!0,\"li.it\":!0,\"livorno.it\":!0,\"lo.it\":!0,\"lodi.it\":!0,\"lt.it\":!0,\"lu.it\":!0,\"lucca.it\":!0,\"macerata.it\":!0,\"mantova.it\":!0,\"massa-carrara.it\":!0,\"massacarrara.it\":!0,\"matera.it\":!0,\"mb.it\":!0,\"mc.it\":!0,\"me.it\":!0,\"medio-campidano.it\":!0,\"mediocampidano.it\":!0,\"messina.it\":!0,\"mi.it\":!0,\"milan.it\":!0,\"milano.it\":!0,\"mn.it\":!0,\"mo.it\":!0,\"modena.it\":!0,\"monza-brianza.it\":!0,\"monza-e-della-brianza.it\":!0,\"monza.it\":!0,\"monzabrianza.it\":!0,\"monzaebrianza.it\":!0,\"monzaedellabrianza.it\":!0,\"ms.it\":!0,\"mt.it\":!0,\"na.it\":!0,\"naples.it\":!0,\"napoli.it\":!0,\"no.it\":!0,\"novara.it\":!0,\"nu.it\":!0,\"nuoro.it\":!0,\"og.it\":!0,\"ogliastra.it\":!0,\"olbia-tempio.it\":!0,\"olbiatempio.it\":!0,\"or.it\":!0,\"oristano.it\":!0,\"ot.it\":!0,\"pa.it\":!0,\"padova.it\":!0,\"padua.it\":!0,\"palermo.it\":!0,\"parma.it\":!0,\"pavia.it\":!0,\"pc.it\":!0,\"pd.it\":!0,\"pe.it\":!0,\"perugia.it\":!0,\"pesaro-urbino.it\":!0,\"pesarourbino.it\":!0,\"pescara.it\":!0,\"pg.it\":!0,\"pi.it\":!0,\"piacenza.it\":!0,\"pisa.it\":!0,\"pistoia.it\":!0,\"pn.it\":!0,\"po.it\":!0,\"pordenone.it\":!0,\"potenza.it\":!0,\"pr.it\":!0,\"prato.it\":!0,\"pt.it\":!0,\"pu.it\":!0,\"pv.it\":!0,\"pz.it\":!0,\"ra.it\":!0,\"ragusa.it\":!0,\"ravenna.it\":!0,\"rc.it\":!0,\"re.it\":!0,\"reggio-calabria.it\":!0,\"reggio-emilia.it\":!0,\"reggiocalabria.it\":!0,\"reggioemilia.it\":!0,\"rg.it\":!0,\"ri.it\":!0,\"rieti.it\":!0,\"rimini.it\":!0,\"rm.it\":!0,\"rn.it\":!0,\"ro.it\":!0,\"roma.it\":!0,\"rome.it\":!0,\"rovigo.it\":!0,\"sa.it\":!0,\"salerno.it\":!0,\"sassari.it\":!0,\"savona.it\":!0,\"si.it\":!0,\"siena.it\":!0,\"siracusa.it\":!0,\"so.it\":!0,\"sondrio.it\":!0,\"sp.it\":!0,\"sr.it\":!0,\"ss.it\":!0,\"suedtirol.it\":!0,\"sv.it\":!0,\"ta.it\":!0,\"taranto.it\":!0,\"te.it\":!0,\"tempio-olbia.it\":!0,\"tempioolbia.it\":!0,\"teramo.it\":!0,\"terni.it\":!0,\"tn.it\":!0,\"to.it\":!0,\"torino.it\":!0,\"tp.it\":!0,\"tr.it\":!0,\"trani-andria-barletta.it\":!0,\"trani-barletta-andria.it\":!0,\"traniandriabarletta.it\":!0,\"tranibarlettaandria.it\":!0,\"trapani.it\":!0,\"trentino.it\":!0,\"trento.it\":!0,\"treviso.it\":!0,\"trieste.it\":!0,\"ts.it\":!0,\"turin.it\":!0,\"tv.it\":!0,\"ud.it\":!0,\"udine.it\":!0,\"urbino-pesaro.it\":!0,\"urbinopesaro.it\":!0,\"va.it\":!0,\"varese.it\":!0,\"vb.it\":!0,\"vc.it\":!0,\"ve.it\":!0,\"venezia.it\":!0,\"venice.it\":!0,\"verbania.it\":!0,\"vercelli.it\":!0,\"verona.it\":!0,\"vi.it\":!0,\"vibo-valentia.it\":!0,\"vibovalentia.it\":!0,\"vicenza.it\":!0,\"viterbo.it\":!0,\"vr.it\":!0,\"vs.it\":!0,\"vt.it\":!0,\"vv.it\":!0,je:!0,\"co.je\":!0,\"net.je\":!0,\"org.je\":!0,\"*.jm\":!0,jo:!0,\"com.jo\":!0,\"org.jo\":!0,\"net.jo\":!0,\"edu.jo\":!0,\"sch.jo\":!0,\"gov.jo\":!0,\"mil.jo\":!0,\"name.jo\":!0,jobs:!0,jp:!0,\"ac.jp\":!0,\"ad.jp\":!0,\"co.jp\":!0,\"ed.jp\":!0,\"go.jp\":!0,\"gr.jp\":!0,\"lg.jp\":!0,\"ne.jp\":!0,\"or.jp\":!0,\"aichi.jp\":!0,\"akita.jp\":!0,\"aomori.jp\":!0,\"chiba.jp\":!0,\"ehime.jp\":!0,\"fukui.jp\":!0,\"fukuoka.jp\":!0,\"fukushima.jp\":!0,\"gifu.jp\":!0,\"gunma.jp\":!0,\"hiroshima.jp\":!0,\"hokkaido.jp\":!0,\"hyogo.jp\":!0,\"ibaraki.jp\":!0,\"ishikawa.jp\":!0,\"iwate.jp\":!0,\"kagawa.jp\":!0,\"kagoshima.jp\":!0,\"kanagawa.jp\":!0,\"kochi.jp\":!0,\"kumamoto.jp\":!0,\"kyoto.jp\":!0,\"mie.jp\":!0,\"miyagi.jp\":!0,\"miyazaki.jp\":!0,\"nagano.jp\":!0,\"nagasaki.jp\":!0,\"nara.jp\":!0,\"niigata.jp\":!0,\"oita.jp\":!0,\"okayama.jp\":!0,\"okinawa.jp\":!0,\"osaka.jp\":!0,\"saga.jp\":!0,\"saitama.jp\":!0,\"shiga.jp\":!0,\"shimane.jp\":!0,\"shizuoka.jp\":!0,\"tochigi.jp\":!0,\"tokushima.jp\":!0,\"tokyo.jp\":!0,\"tottori.jp\":!0,\"toyama.jp\":!0,\"wakayama.jp\":!0,\"yamagata.jp\":!0,\"yamaguchi.jp\":!0,\"yamanashi.jp\":!0,\"xn--4pvxs.jp\":!0,\"xn--vgu402c.jp\":!0,\"xn--c3s14m.jp\":!0,\"xn--f6qx53a.jp\":!0,\"xn--8pvr4u.jp\":!0,\"xn--uist22h.jp\":!0,\"xn--djrs72d6uy.jp\":!0,\"xn--mkru45i.jp\":!0,\"xn--0trq7p7nn.jp\":!0,\"xn--8ltr62k.jp\":!0,\"xn--2m4a15e.jp\":!0,\"xn--efvn9s.jp\":!0,\"xn--32vp30h.jp\":!0,\"xn--4it797k.jp\":!0,\"xn--1lqs71d.jp\":!0,\"xn--5rtp49c.jp\":!0,\"xn--5js045d.jp\":!0,\"xn--ehqz56n.jp\":!0,\"xn--1lqs03n.jp\":!0,\"xn--qqqt11m.jp\":!0,\"xn--kbrq7o.jp\":!0,\"xn--pssu33l.jp\":!0,\"xn--ntsq17g.jp\":!0,\"xn--uisz3g.jp\":!0,\"xn--6btw5a.jp\":!0,\"xn--1ctwo.jp\":!0,\"xn--6orx2r.jp\":!0,\"xn--rht61e.jp\":!0,\"xn--rht27z.jp\":!0,\"xn--djty4k.jp\":!0,\"xn--nit225k.jp\":!0,\"xn--rht3d.jp\":!0,\"xn--klty5x.jp\":!0,\"xn--kltx9a.jp\":!0,\"xn--kltp7d.jp\":!0,\"xn--uuwu58a.jp\":!0,\"xn--zbx025d.jp\":!0,\"xn--ntso0iqx3a.jp\":!0,\"xn--elqq16h.jp\":!0,\"xn--4it168d.jp\":!0,\"xn--klt787d.jp\":!0,\"xn--rny31h.jp\":!0,\"xn--7t0a264c.jp\":!0,\"xn--5rtq34k.jp\":!0,\"xn--k7yn95e.jp\":!0,\"xn--tor131o.jp\":!0,\"xn--d5qv7z876c.jp\":!0,\"*.kawasaki.jp\":!0,\"*.kitakyushu.jp\":!0,\"*.kobe.jp\":!0,\"*.nagoya.jp\":!0,\"*.sapporo.jp\":!0,\"*.sendai.jp\":!0,\"*.yokohama.jp\":!0,\"city.kawasaki.jp\":!1,\"city.kitakyushu.jp\":!1,\"city.kobe.jp\":!1,\"city.nagoya.jp\":!1,\"city.sapporo.jp\":!1,\"city.sendai.jp\":!1,\"city.yokohama.jp\":!1,\"aisai.aichi.jp\":!0,\"ama.aichi.jp\":!0,\"anjo.aichi.jp\":!0,\"asuke.aichi.jp\":!0,\"chiryu.aichi.jp\":!0,\"chita.aichi.jp\":!0,\"fuso.aichi.jp\":!0,\"gamagori.aichi.jp\":!0,\"handa.aichi.jp\":!0,\"hazu.aichi.jp\":!0,\"hekinan.aichi.jp\":!0,\"higashiura.aichi.jp\":!0,\"ichinomiya.aichi.jp\":!0,\"inazawa.aichi.jp\":!0,\"inuyama.aichi.jp\":!0,\"isshiki.aichi.jp\":!0,\"iwakura.aichi.jp\":!0,\"kanie.aichi.jp\":!0,\"kariya.aichi.jp\":!0,\"kasugai.aichi.jp\":!0,\"kira.aichi.jp\":!0,\"kiyosu.aichi.jp\":!0,\"komaki.aichi.jp\":!0,\"konan.aichi.jp\":!0,\"kota.aichi.jp\":!0,\"mihama.aichi.jp\":!0,\"miyoshi.aichi.jp\":!0,\"nishio.aichi.jp\":!0,\"nisshin.aichi.jp\":!0,\"obu.aichi.jp\":!0,\"oguchi.aichi.jp\":!0,\"oharu.aichi.jp\":!0,\"okazaki.aichi.jp\":!0,\"owariasahi.aichi.jp\":!0,\"seto.aichi.jp\":!0,\"shikatsu.aichi.jp\":!0,\"shinshiro.aichi.jp\":!0,\"shitara.aichi.jp\":!0,\"tahara.aichi.jp\":!0,\"takahama.aichi.jp\":!0,\"tobishima.aichi.jp\":!0,\"toei.aichi.jp\":!0,\"togo.aichi.jp\":!0,\"tokai.aichi.jp\":!0,\"tokoname.aichi.jp\":!0,\"toyoake.aichi.jp\":!0,\"toyohashi.aichi.jp\":!0,\"toyokawa.aichi.jp\":!0,\"toyone.aichi.jp\":!0,\"toyota.aichi.jp\":!0,\"tsushima.aichi.jp\":!0,\"yatomi.aichi.jp\":!0,\"akita.akita.jp\":!0,\"daisen.akita.jp\":!0,\"fujisato.akita.jp\":!0,\"gojome.akita.jp\":!0,\"hachirogata.akita.jp\":!0,\"happou.akita.jp\":!0,\"higashinaruse.akita.jp\":!0,\"honjo.akita.jp\":!0,\"honjyo.akita.jp\":!0,\"ikawa.akita.jp\":!0,\"kamikoani.akita.jp\":!0,\"kamioka.akita.jp\":!0,\"katagami.akita.jp\":!0,\"kazuno.akita.jp\":!0,\"kitaakita.akita.jp\":!0,\"kosaka.akita.jp\":!0,\"kyowa.akita.jp\":!0,\"misato.akita.jp\":!0,\"mitane.akita.jp\":!0,\"moriyoshi.akita.jp\":!0,\"nikaho.akita.jp\":!0,\"noshiro.akita.jp\":!0,\"odate.akita.jp\":!0,\"oga.akita.jp\":!0,\"ogata.akita.jp\":!0,\"semboku.akita.jp\":!0,\"yokote.akita.jp\":!0,\"yurihonjo.akita.jp\":!0,\"aomori.aomori.jp\":!0,\"gonohe.aomori.jp\":!0,\"hachinohe.aomori.jp\":!0,\"hashikami.aomori.jp\":!0,\"hiranai.aomori.jp\":!0,\"hirosaki.aomori.jp\":!0,\"itayanagi.aomori.jp\":!0,\"kuroishi.aomori.jp\":!0,\"misawa.aomori.jp\":!0,\"mutsu.aomori.jp\":!0,\"nakadomari.aomori.jp\":!0,\"noheji.aomori.jp\":!0,\"oirase.aomori.jp\":!0,\"owani.aomori.jp\":!0,\"rokunohe.aomori.jp\":!0,\"sannohe.aomori.jp\":!0,\"shichinohe.aomori.jp\":!0,\"shingo.aomori.jp\":!0,\"takko.aomori.jp\":!0,\"towada.aomori.jp\":!0,\"tsugaru.aomori.jp\":!0,\"tsuruta.aomori.jp\":!0,\"abiko.chiba.jp\":!0,\"asahi.chiba.jp\":!0,\"chonan.chiba.jp\":!0,\"chosei.chiba.jp\":!0,\"choshi.chiba.jp\":!0,\"chuo.chiba.jp\":!0,\"funabashi.chiba.jp\":!0,\"futtsu.chiba.jp\":!0,\"hanamigawa.chiba.jp\":!0,\"ichihara.chiba.jp\":!0,\"ichikawa.chiba.jp\":!0,\"ichinomiya.chiba.jp\":!0,\"inzai.chiba.jp\":!0,\"isumi.chiba.jp\":!0,\"kamagaya.chiba.jp\":!0,\"kamogawa.chiba.jp\":!0,\"kashiwa.chiba.jp\":!0,\"katori.chiba.jp\":!0,\"katsuura.chiba.jp\":!0,\"kimitsu.chiba.jp\":!0,\"kisarazu.chiba.jp\":!0,\"kozaki.chiba.jp\":!0,\"kujukuri.chiba.jp\":!0,\"kyonan.chiba.jp\":!0,\"matsudo.chiba.jp\":!0,\"midori.chiba.jp\":!0,\"mihama.chiba.jp\":!0,\"minamiboso.chiba.jp\":!0,\"mobara.chiba.jp\":!0,\"mutsuzawa.chiba.jp\":!0,\"nagara.chiba.jp\":!0,\"nagareyama.chiba.jp\":!0,\"narashino.chiba.jp\":!0,\"narita.chiba.jp\":!0,\"noda.chiba.jp\":!0,\"oamishirasato.chiba.jp\":!0,\"omigawa.chiba.jp\":!0,\"onjuku.chiba.jp\":!0,\"otaki.chiba.jp\":!0,\"sakae.chiba.jp\":!0,\"sakura.chiba.jp\":!0,\"shimofusa.chiba.jp\":!0,\"shirako.chiba.jp\":!0,\"shiroi.chiba.jp\":!0,\"shisui.chiba.jp\":!0,\"sodegaura.chiba.jp\":!0,\"sosa.chiba.jp\":!0,\"tako.chiba.jp\":!0,\"tateyama.chiba.jp\":!0,\"togane.chiba.jp\":!0,\"tohnosho.chiba.jp\":!0,\"tomisato.chiba.jp\":!0,\"urayasu.chiba.jp\":!0,\"yachimata.chiba.jp\":!0,\"yachiyo.chiba.jp\":!0,\"yokaichiba.chiba.jp\":!0,\"yokoshibahikari.chiba.jp\":!0,\"yotsukaido.chiba.jp\":!0,\"ainan.ehime.jp\":!0,\"honai.ehime.jp\":!0,\"ikata.ehime.jp\":!0,\"imabari.ehime.jp\":!0,\"iyo.ehime.jp\":!0,\"kamijima.ehime.jp\":!0,\"kihoku.ehime.jp\":!0,\"kumakogen.ehime.jp\":!0,\"masaki.ehime.jp\":!0,\"matsuno.ehime.jp\":!0,\"matsuyama.ehime.jp\":!0,\"namikata.ehime.jp\":!0,\"niihama.ehime.jp\":!0,\"ozu.ehime.jp\":!0,\"saijo.ehime.jp\":!0,\"seiyo.ehime.jp\":!0,\"shikokuchuo.ehime.jp\":!0,\"tobe.ehime.jp\":!0,\"toon.ehime.jp\":!0,\"uchiko.ehime.jp\":!0,\"uwajima.ehime.jp\":!0,\"yawatahama.ehime.jp\":!0,\"echizen.fukui.jp\":!0,\"eiheiji.fukui.jp\":!0,\"fukui.fukui.jp\":!0,\"ikeda.fukui.jp\":!0,\"katsuyama.fukui.jp\":!0,\"mihama.fukui.jp\":!0,\"minamiechizen.fukui.jp\":!0,\"obama.fukui.jp\":!0,\"ohi.fukui.jp\":!0,\"ono.fukui.jp\":!0,\"sabae.fukui.jp\":!0,\"sakai.fukui.jp\":!0,\"takahama.fukui.jp\":!0,\"tsuruga.fukui.jp\":!0,\"wakasa.fukui.jp\":!0,\"ashiya.fukuoka.jp\":!0,\"buzen.fukuoka.jp\":!0,\"chikugo.fukuoka.jp\":!0,\"chikuho.fukuoka.jp\":!0,\"chikujo.fukuoka.jp\":!0,\"chikushino.fukuoka.jp\":!0,\"chikuzen.fukuoka.jp\":!0,\"chuo.fukuoka.jp\":!0,\"dazaifu.fukuoka.jp\":!0,\"fukuchi.fukuoka.jp\":!0,\"hakata.fukuoka.jp\":!0,\"higashi.fukuoka.jp\":!0,\"hirokawa.fukuoka.jp\":!0,\"hisayama.fukuoka.jp\":!0,\"iizuka.fukuoka.jp\":!0,\"inatsuki.fukuoka.jp\":!0,\"kaho.fukuoka.jp\":!0,\"kasuga.fukuoka.jp\":!0,\"kasuya.fukuoka.jp\":!0,\"kawara.fukuoka.jp\":!0,\"keisen.fukuoka.jp\":!0,\"koga.fukuoka.jp\":!0,\"kurate.fukuoka.jp\":!0,\"kurogi.fukuoka.jp\":!0,\"kurume.fukuoka.jp\":!0,\"minami.fukuoka.jp\":!0,\"miyako.fukuoka.jp\":!0,\"miyama.fukuoka.jp\":!0,\"miyawaka.fukuoka.jp\":!0,\"mizumaki.fukuoka.jp\":!0,\"munakata.fukuoka.jp\":!0,\"nakagawa.fukuoka.jp\":!0,\"nakama.fukuoka.jp\":!0,\"nishi.fukuoka.jp\":!0,\"nogata.fukuoka.jp\":!0,\"ogori.fukuoka.jp\":!0,\"okagaki.fukuoka.jp\":!0,\"okawa.fukuoka.jp\":!0,\"oki.fukuoka.jp\":!0,\"omuta.fukuoka.jp\":!0,\"onga.fukuoka.jp\":!0,\"onojo.fukuoka.jp\":!0,\"oto.fukuoka.jp\":!0,\"saigawa.fukuoka.jp\":!0,\"sasaguri.fukuoka.jp\":!0,\"shingu.fukuoka.jp\":!0,\"shinyoshitomi.fukuoka.jp\":!0,\"shonai.fukuoka.jp\":!0,\"soeda.fukuoka.jp\":!0,\"sue.fukuoka.jp\":!0,\"tachiarai.fukuoka.jp\":!0,\"tagawa.fukuoka.jp\":!0,\"takata.fukuoka.jp\":!0,\"toho.fukuoka.jp\":!0,\"toyotsu.fukuoka.jp\":!0,\"tsuiki.fukuoka.jp\":!0,\"ukiha.fukuoka.jp\":!0,\"umi.fukuoka.jp\":!0,\"usui.fukuoka.jp\":!0,\"yamada.fukuoka.jp\":!0,\"yame.fukuoka.jp\":!0,\"yanagawa.fukuoka.jp\":!0,\"yukuhashi.fukuoka.jp\":!0,\"aizubange.fukushima.jp\":!0,\"aizumisato.fukushima.jp\":!0,\"aizuwakamatsu.fukushima.jp\":!0,\"asakawa.fukushima.jp\":!0,\"bandai.fukushima.jp\":!0,\"date.fukushima.jp\":!0,\"fukushima.fukushima.jp\":!0,\"furudono.fukushima.jp\":!0,\"futaba.fukushima.jp\":!0,\"hanawa.fukushima.jp\":!0,\"higashi.fukushima.jp\":!0,\"hirata.fukushima.jp\":!0,\"hirono.fukushima.jp\":!0,\"iitate.fukushima.jp\":!0,\"inawashiro.fukushima.jp\":!0,\"ishikawa.fukushima.jp\":!0,\"iwaki.fukushima.jp\":!0,\"izumizaki.fukushima.jp\":!0,\"kagamiishi.fukushima.jp\":!0,\"kaneyama.fukushima.jp\":!0,\"kawamata.fukushima.jp\":!0,\"kitakata.fukushima.jp\":!0,\"kitashiobara.fukushima.jp\":!0,\"koori.fukushima.jp\":!0,\"koriyama.fukushima.jp\":!0,\"kunimi.fukushima.jp\":!0,\"miharu.fukushima.jp\":!0,\"mishima.fukushima.jp\":!0,\"namie.fukushima.jp\":!0,\"nango.fukushima.jp\":!0,\"nishiaizu.fukushima.jp\":!0,\"nishigo.fukushima.jp\":!0,\"okuma.fukushima.jp\":!0,\"omotego.fukushima.jp\":!0,\"ono.fukushima.jp\":!0,\"otama.fukushima.jp\":!0,\"samegawa.fukushima.jp\":!0,\"shimogo.fukushima.jp\":!0,\"shirakawa.fukushima.jp\":!0,\"showa.fukushima.jp\":!0,\"soma.fukushima.jp\":!0,\"sukagawa.fukushima.jp\":!0,\"taishin.fukushima.jp\":!0,\"tamakawa.fukushima.jp\":!0,\"tanagura.fukushima.jp\":!0,\"tenei.fukushima.jp\":!0,\"yabuki.fukushima.jp\":!0,\"yamato.fukushima.jp\":!0,\"yamatsuri.fukushima.jp\":!0,\"yanaizu.fukushima.jp\":!0,\"yugawa.fukushima.jp\":!0,\"anpachi.gifu.jp\":!0,\"ena.gifu.jp\":!0,\"gifu.gifu.jp\":!0,\"ginan.gifu.jp\":!0,\"godo.gifu.jp\":!0,\"gujo.gifu.jp\":!0,\"hashima.gifu.jp\":!0,\"hichiso.gifu.jp\":!0,\"hida.gifu.jp\":!0,\"higashishirakawa.gifu.jp\":!0,\"ibigawa.gifu.jp\":!0,\"ikeda.gifu.jp\":!0,\"kakamigahara.gifu.jp\":!0,\"kani.gifu.jp\":!0,\"kasahara.gifu.jp\":!0,\"kasamatsu.gifu.jp\":!0,\"kawaue.gifu.jp\":!0,\"kitagata.gifu.jp\":!0,\"mino.gifu.jp\":!0,\"minokamo.gifu.jp\":!0,\"mitake.gifu.jp\":!0,\"mizunami.gifu.jp\":!0,\"motosu.gifu.jp\":!0,\"nakatsugawa.gifu.jp\":!0,\"ogaki.gifu.jp\":!0,\"sakahogi.gifu.jp\":!0,\"seki.gifu.jp\":!0,\"sekigahara.gifu.jp\":!0,\"shirakawa.gifu.jp\":!0,\"tajimi.gifu.jp\":!0,\"takayama.gifu.jp\":!0,\"tarui.gifu.jp\":!0,\"toki.gifu.jp\":!0,\"tomika.gifu.jp\":!0,\"wanouchi.gifu.jp\":!0,\"yamagata.gifu.jp\":!0,\"yaotsu.gifu.jp\":!0,\"yoro.gifu.jp\":!0,\"annaka.gunma.jp\":!0,\"chiyoda.gunma.jp\":!0,\"fujioka.gunma.jp\":!0,\"higashiagatsuma.gunma.jp\":!0,\"isesaki.gunma.jp\":!0,\"itakura.gunma.jp\":!0,\"kanna.gunma.jp\":!0,\"kanra.gunma.jp\":!0,\"katashina.gunma.jp\":!0,\"kawaba.gunma.jp\":!0,\"kiryu.gunma.jp\":!0,\"kusatsu.gunma.jp\":!0,\"maebashi.gunma.jp\":!0,\"meiwa.gunma.jp\":!0,\"midori.gunma.jp\":!0,\"minakami.gunma.jp\":!0,\"naganohara.gunma.jp\":!0,\"nakanojo.gunma.jp\":!0,\"nanmoku.gunma.jp\":!0,\"numata.gunma.jp\":!0,\"oizumi.gunma.jp\":!0,\"ora.gunma.jp\":!0,\"ota.gunma.jp\":!0,\"shibukawa.gunma.jp\":!0,\"shimonita.gunma.jp\":!0,\"shinto.gunma.jp\":!0,\"showa.gunma.jp\":!0,\"takasaki.gunma.jp\":!0,\"takayama.gunma.jp\":!0,\"tamamura.gunma.jp\":!0,\"tatebayashi.gunma.jp\":!0,\"tomioka.gunma.jp\":!0,\"tsukiyono.gunma.jp\":!0,\"tsumagoi.gunma.jp\":!0,\"ueno.gunma.jp\":!0,\"yoshioka.gunma.jp\":!0,\"asaminami.hiroshima.jp\":!0,\"daiwa.hiroshima.jp\":!0,\"etajima.hiroshima.jp\":!0,\"fuchu.hiroshima.jp\":!0,\"fukuyama.hiroshima.jp\":!0,\"hatsukaichi.hiroshima.jp\":!0,\"higashihiroshima.hiroshima.jp\":!0,\"hongo.hiroshima.jp\":!0,\"jinsekikogen.hiroshima.jp\":!0,\"kaita.hiroshima.jp\":!0,\"kui.hiroshima.jp\":!0,\"kumano.hiroshima.jp\":!0,\"kure.hiroshima.jp\":!0,\"mihara.hiroshima.jp\":!0,\"miyoshi.hiroshima.jp\":!0,\"naka.hiroshima.jp\":!0,\"onomichi.hiroshima.jp\":!0,\"osakikamijima.hiroshima.jp\":!0,\"otake.hiroshima.jp\":!0,\"saka.hiroshima.jp\":!0,\"sera.hiroshima.jp\":!0,\"seranishi.hiroshima.jp\":!0,\"shinichi.hiroshima.jp\":!0,\"shobara.hiroshima.jp\":!0,\"takehara.hiroshima.jp\":!0,\"abashiri.hokkaido.jp\":!0,\"abira.hokkaido.jp\":!0,\"aibetsu.hokkaido.jp\":!0,\"akabira.hokkaido.jp\":!0,\"akkeshi.hokkaido.jp\":!0,\"asahikawa.hokkaido.jp\":!0,\"ashibetsu.hokkaido.jp\":!0,\"ashoro.hokkaido.jp\":!0,\"assabu.hokkaido.jp\":!0,\"atsuma.hokkaido.jp\":!0,\"bibai.hokkaido.jp\":!0,\"biei.hokkaido.jp\":!0,\"bifuka.hokkaido.jp\":!0,\"bihoro.hokkaido.jp\":!0,\"biratori.hokkaido.jp\":!0,\"chippubetsu.hokkaido.jp\":!0,\"chitose.hokkaido.jp\":!0,\"date.hokkaido.jp\":!0,\"ebetsu.hokkaido.jp\":!0,\"embetsu.hokkaido.jp\":!0,\"eniwa.hokkaido.jp\":!0,\"erimo.hokkaido.jp\":!0,\"esan.hokkaido.jp\":!0,\"esashi.hokkaido.jp\":!0,\"fukagawa.hokkaido.jp\":!0,\"fukushima.hokkaido.jp\":!0,\"furano.hokkaido.jp\":!0,\"furubira.hokkaido.jp\":!0,\"haboro.hokkaido.jp\":!0,\"hakodate.hokkaido.jp\":!0,\"hamatonbetsu.hokkaido.jp\":!0,\"hidaka.hokkaido.jp\":!0,\"higashikagura.hokkaido.jp\":!0,\"higashikawa.hokkaido.jp\":!0,\"hiroo.hokkaido.jp\":!0,\"hokuryu.hokkaido.jp\":!0,\"hokuto.hokkaido.jp\":!0,\"honbetsu.hokkaido.jp\":!0,\"horokanai.hokkaido.jp\":!0,\"horonobe.hokkaido.jp\":!0,\"ikeda.hokkaido.jp\":!0,\"imakane.hokkaido.jp\":!0,\"ishikari.hokkaido.jp\":!0,\"iwamizawa.hokkaido.jp\":!0,\"iwanai.hokkaido.jp\":!0,\"kamifurano.hokkaido.jp\":!0,\"kamikawa.hokkaido.jp\":!0,\"kamishihoro.hokkaido.jp\":!0,\"kamisunagawa.hokkaido.jp\":!0,\"kamoenai.hokkaido.jp\":!0,\"kayabe.hokkaido.jp\":!0,\"kembuchi.hokkaido.jp\":!0,\"kikonai.hokkaido.jp\":!0,\"kimobetsu.hokkaido.jp\":!0,\"kitahiroshima.hokkaido.jp\":!0,\"kitami.hokkaido.jp\":!0,\"kiyosato.hokkaido.jp\":!0,\"koshimizu.hokkaido.jp\":!0,\"kunneppu.hokkaido.jp\":!0,\"kuriyama.hokkaido.jp\":!0,\"kuromatsunai.hokkaido.jp\":!0,\"kushiro.hokkaido.jp\":!0,\"kutchan.hokkaido.jp\":!0,\"kyowa.hokkaido.jp\":!0,\"mashike.hokkaido.jp\":!0,\"matsumae.hokkaido.jp\":!0,\"mikasa.hokkaido.jp\":!0,\"minamifurano.hokkaido.jp\":!0,\"mombetsu.hokkaido.jp\":!0,\"moseushi.hokkaido.jp\":!0,\"mukawa.hokkaido.jp\":!0,\"muroran.hokkaido.jp\":!0,\"naie.hokkaido.jp\":!0,\"nakagawa.hokkaido.jp\":!0,\"nakasatsunai.hokkaido.jp\":!0,\"nakatombetsu.hokkaido.jp\":!0,\"nanae.hokkaido.jp\":!0,\"nanporo.hokkaido.jp\":!0,\"nayoro.hokkaido.jp\":!0,\"nemuro.hokkaido.jp\":!0,\"niikappu.hokkaido.jp\":!0,\"niki.hokkaido.jp\":!0,\"nishiokoppe.hokkaido.jp\":!0,\"noboribetsu.hokkaido.jp\":!0,\"numata.hokkaido.jp\":!0,\"obihiro.hokkaido.jp\":!0,\"obira.hokkaido.jp\":!0,\"oketo.hokkaido.jp\":!0,\"okoppe.hokkaido.jp\":!0,\"otaru.hokkaido.jp\":!0,\"otobe.hokkaido.jp\":!0,\"otofuke.hokkaido.jp\":!0,\"otoineppu.hokkaido.jp\":!0,\"oumu.hokkaido.jp\":!0,\"ozora.hokkaido.jp\":!0,\"pippu.hokkaido.jp\":!0,\"rankoshi.hokkaido.jp\":!0,\"rebun.hokkaido.jp\":!0,\"rikubetsu.hokkaido.jp\":!0,\"rishiri.hokkaido.jp\":!0,\"rishirifuji.hokkaido.jp\":!0,\"saroma.hokkaido.jp\":!0,\"sarufutsu.hokkaido.jp\":!0,\"shakotan.hokkaido.jp\":!0,\"shari.hokkaido.jp\":!0,\"shibecha.hokkaido.jp\":!0,\"shibetsu.hokkaido.jp\":!0,\"shikabe.hokkaido.jp\":!0,\"shikaoi.hokkaido.jp\":!0,\"shimamaki.hokkaido.jp\":!0,\"shimizu.hokkaido.jp\":!0,\"shimokawa.hokkaido.jp\":!0,\"shinshinotsu.hokkaido.jp\":!0,\"shintoku.hokkaido.jp\":!0,\"shiranuka.hokkaido.jp\":!0,\"shiraoi.hokkaido.jp\":!0,\"shiriuchi.hokkaido.jp\":!0,\"sobetsu.hokkaido.jp\":!0,\"sunagawa.hokkaido.jp\":!0,\"taiki.hokkaido.jp\":!0,\"takasu.hokkaido.jp\":!0,\"takikawa.hokkaido.jp\":!0,\"takinoue.hokkaido.jp\":!0,\"teshikaga.hokkaido.jp\":!0,\"tobetsu.hokkaido.jp\":!0,\"tohma.hokkaido.jp\":!0,\"tomakomai.hokkaido.jp\":!0,\"tomari.hokkaido.jp\":!0,\"toya.hokkaido.jp\":!0,\"toyako.hokkaido.jp\":!0,\"toyotomi.hokkaido.jp\":!0,\"toyoura.hokkaido.jp\":!0,\"tsubetsu.hokkaido.jp\":!0,\"tsukigata.hokkaido.jp\":!0,\"urakawa.hokkaido.jp\":!0,\"urausu.hokkaido.jp\":!0,\"uryu.hokkaido.jp\":!0,\"utashinai.hokkaido.jp\":!0,\"wakkanai.hokkaido.jp\":!0,\"wassamu.hokkaido.jp\":!0,\"yakumo.hokkaido.jp\":!0,\"yoichi.hokkaido.jp\":!0,\"aioi.hyogo.jp\":!0,\"akashi.hyogo.jp\":!0,\"ako.hyogo.jp\":!0,\"amagasaki.hyogo.jp\":!0,\"aogaki.hyogo.jp\":!0,\"asago.hyogo.jp\":!0,\"ashiya.hyogo.jp\":!0,\"awaji.hyogo.jp\":!0,\"fukusaki.hyogo.jp\":!0,\"goshiki.hyogo.jp\":!0,\"harima.hyogo.jp\":!0,\"himeji.hyogo.jp\":!0,\"ichikawa.hyogo.jp\":!0,\"inagawa.hyogo.jp\":!0,\"itami.hyogo.jp\":!0,\"kakogawa.hyogo.jp\":!0,\"kamigori.hyogo.jp\":!0,\"kamikawa.hyogo.jp\":!0,\"kasai.hyogo.jp\":!0,\"kasuga.hyogo.jp\":!0,\"kawanishi.hyogo.jp\":!0,\"miki.hyogo.jp\":!0,\"minamiawaji.hyogo.jp\":!0,\"nishinomiya.hyogo.jp\":!0,\"nishiwaki.hyogo.jp\":!0,\"ono.hyogo.jp\":!0,\"sanda.hyogo.jp\":!0,\"sannan.hyogo.jp\":!0,\"sasayama.hyogo.jp\":!0,\"sayo.hyogo.jp\":!0,\"shingu.hyogo.jp\":!0,\"shinonsen.hyogo.jp\":!0,\"shiso.hyogo.jp\":!0,\"sumoto.hyogo.jp\":!0,\"taishi.hyogo.jp\":!0,\"taka.hyogo.jp\":!0,\"takarazuka.hyogo.jp\":!0,\"takasago.hyogo.jp\":!0,\"takino.hyogo.jp\":!0,\"tamba.hyogo.jp\":!0,\"tatsuno.hyogo.jp\":!0,\"toyooka.hyogo.jp\":!0,\"yabu.hyogo.jp\":!0,\"yashiro.hyogo.jp\":!0,\"yoka.hyogo.jp\":!0,\"yokawa.hyogo.jp\":!0,\"ami.ibaraki.jp\":!0,\"asahi.ibaraki.jp\":!0,\"bando.ibaraki.jp\":!0,\"chikusei.ibaraki.jp\":!0,\"daigo.ibaraki.jp\":!0,\"fujishiro.ibaraki.jp\":!0,\"hitachi.ibaraki.jp\":!0,\"hitachinaka.ibaraki.jp\":!0,\"hitachiomiya.ibaraki.jp\":!0,\"hitachiota.ibaraki.jp\":!0,\"ibaraki.ibaraki.jp\":!0,\"ina.ibaraki.jp\":!0,\"inashiki.ibaraki.jp\":!0,\"itako.ibaraki.jp\":!0,\"iwama.ibaraki.jp\":!0,\"joso.ibaraki.jp\":!0,\"kamisu.ibaraki.jp\":!0,\"kasama.ibaraki.jp\":!0,\"kashima.ibaraki.jp\":!0,\"kasumigaura.ibaraki.jp\":!0,\"koga.ibaraki.jp\":!0,\"miho.ibaraki.jp\":!0,\"mito.ibaraki.jp\":!0,\"moriya.ibaraki.jp\":!0,\"naka.ibaraki.jp\":!0,\"namegata.ibaraki.jp\":!0,\"oarai.ibaraki.jp\":!0,\"ogawa.ibaraki.jp\":!0,\"omitama.ibaraki.jp\":!0,\"ryugasaki.ibaraki.jp\":!0,\"sakai.ibaraki.jp\":!0,\"sakuragawa.ibaraki.jp\":!0,\"shimodate.ibaraki.jp\":!0,\"shimotsuma.ibaraki.jp\":!0,\"shirosato.ibaraki.jp\":!0,\"sowa.ibaraki.jp\":!0,\"suifu.ibaraki.jp\":!0,\"takahagi.ibaraki.jp\":!0,\"tamatsukuri.ibaraki.jp\":!0,\"tokai.ibaraki.jp\":!0,\"tomobe.ibaraki.jp\":!0,\"tone.ibaraki.jp\":!0,\"toride.ibaraki.jp\":!0,\"tsuchiura.ibaraki.jp\":!0,\"tsukuba.ibaraki.jp\":!0,\"uchihara.ibaraki.jp\":!0,\"ushiku.ibaraki.jp\":!0,\"yachiyo.ibaraki.jp\":!0,\"yamagata.ibaraki.jp\":!0,\"yawara.ibaraki.jp\":!0,\"yuki.ibaraki.jp\":!0,\"anamizu.ishikawa.jp\":!0,\"hakui.ishikawa.jp\":!0,\"hakusan.ishikawa.jp\":!0,\"kaga.ishikawa.jp\":!0,\"kahoku.ishikawa.jp\":!0,\"kanazawa.ishikawa.jp\":!0,\"kawakita.ishikawa.jp\":!0,\"komatsu.ishikawa.jp\":!0,\"nakanoto.ishikawa.jp\":!0,\"nanao.ishikawa.jp\":!0,\"nomi.ishikawa.jp\":!0,\"nonoichi.ishikawa.jp\":!0,\"noto.ishikawa.jp\":!0,\"shika.ishikawa.jp\":!0,\"suzu.ishikawa.jp\":!0,\"tsubata.ishikawa.jp\":!0,\"tsurugi.ishikawa.jp\":!0,\"uchinada.ishikawa.jp\":!0,\"wajima.ishikawa.jp\":!0,\"fudai.iwate.jp\":!0,\"fujisawa.iwate.jp\":!0,\"hanamaki.iwate.jp\":!0,\"hiraizumi.iwate.jp\":!0,\"hirono.iwate.jp\":!0,\"ichinohe.iwate.jp\":!0,\"ichinoseki.iwate.jp\":!0,\"iwaizumi.iwate.jp\":!0,\"iwate.iwate.jp\":!0,\"joboji.iwate.jp\":!0,\"kamaishi.iwate.jp\":!0,\"kanegasaki.iwate.jp\":!0,\"karumai.iwate.jp\":!0,\"kawai.iwate.jp\":!0,\"kitakami.iwate.jp\":!0,\"kuji.iwate.jp\":!0,\"kunohe.iwate.jp\":!0,\"kuzumaki.iwate.jp\":!0,\"miyako.iwate.jp\":!0,\"mizusawa.iwate.jp\":!0,\"morioka.iwate.jp\":!0,\"ninohe.iwate.jp\":!0,\"noda.iwate.jp\":!0,\"ofunato.iwate.jp\":!0,\"oshu.iwate.jp\":!0,\"otsuchi.iwate.jp\":!0,\"rikuzentakata.iwate.jp\":!0,\"shiwa.iwate.jp\":!0,\"shizukuishi.iwate.jp\":!0,\"sumita.iwate.jp\":!0,\"tanohata.iwate.jp\":!0,\"tono.iwate.jp\":!0,\"yahaba.iwate.jp\":!0,\"yamada.iwate.jp\":!0,\"ayagawa.kagawa.jp\":!0,\"higashikagawa.kagawa.jp\":!0,\"kanonji.kagawa.jp\":!0,\"kotohira.kagawa.jp\":!0,\"manno.kagawa.jp\":!0,\"marugame.kagawa.jp\":!0,\"mitoyo.kagawa.jp\":!0,\"naoshima.kagawa.jp\":!0,\"sanuki.kagawa.jp\":!0,\"tadotsu.kagawa.jp\":!0,\"takamatsu.kagawa.jp\":!0,\"tonosho.kagawa.jp\":!0,\"uchinomi.kagawa.jp\":!0,\"utazu.kagawa.jp\":!0,\"zentsuji.kagawa.jp\":!0,\"akune.kagoshima.jp\":!0,\"amami.kagoshima.jp\":!0,\"hioki.kagoshima.jp\":!0,\"isa.kagoshima.jp\":!0,\"isen.kagoshima.jp\":!0,\"izumi.kagoshima.jp\":!0,\"kagoshima.kagoshima.jp\":!0,\"kanoya.kagoshima.jp\":!0,\"kawanabe.kagoshima.jp\":!0,\"kinko.kagoshima.jp\":!0,\"kouyama.kagoshima.jp\":!0,\"makurazaki.kagoshima.jp\":!0,\"matsumoto.kagoshima.jp\":!0,\"minamitane.kagoshima.jp\":!0,\"nakatane.kagoshima.jp\":!0,\"nishinoomote.kagoshima.jp\":!0,\"satsumasendai.kagoshima.jp\":!0,\"soo.kagoshima.jp\":!0,\"tarumizu.kagoshima.jp\":!0,\"yusui.kagoshima.jp\":!0,\"aikawa.kanagawa.jp\":!0,\"atsugi.kanagawa.jp\":!0,\"ayase.kanagawa.jp\":!0,\"chigasaki.kanagawa.jp\":!0,\"ebina.kanagawa.jp\":!0,\"fujisawa.kanagawa.jp\":!0,\"hadano.kanagawa.jp\":!0,\"hakone.kanagawa.jp\":!0,\"hiratsuka.kanagawa.jp\":!0,\"isehara.kanagawa.jp\":!0,\"kaisei.kanagawa.jp\":!0,\"kamakura.kanagawa.jp\":!0,\"kiyokawa.kanagawa.jp\":!0,\"matsuda.kanagawa.jp\":!0,\"minamiashigara.kanagawa.jp\":!0,\"miura.kanagawa.jp\":!0,\"nakai.kanagawa.jp\":!0,\"ninomiya.kanagawa.jp\":!0,\"odawara.kanagawa.jp\":!0,\"oi.kanagawa.jp\":!0,\"oiso.kanagawa.jp\":!0,\"sagamihara.kanagawa.jp\":!0,\"samukawa.kanagawa.jp\":!0,\"tsukui.kanagawa.jp\":!0,\"yamakita.kanagawa.jp\":!0,\"yamato.kanagawa.jp\":!0,\"yokosuka.kanagawa.jp\":!0,\"yugawara.kanagawa.jp\":!0,\"zama.kanagawa.jp\":!0,\"zushi.kanagawa.jp\":!0,\"aki.kochi.jp\":!0,\"geisei.kochi.jp\":!0,\"hidaka.kochi.jp\":!0,\"higashitsuno.kochi.jp\":!0,\"ino.kochi.jp\":!0,\"kagami.kochi.jp\":!0,\"kami.kochi.jp\":!0,\"kitagawa.kochi.jp\":!0,\"kochi.kochi.jp\":!0,\"mihara.kochi.jp\":!0,\"motoyama.kochi.jp\":!0,\"muroto.kochi.jp\":!0,\"nahari.kochi.jp\":!0,\"nakamura.kochi.jp\":!0,\"nankoku.kochi.jp\":!0,\"nishitosa.kochi.jp\":!0,\"niyodogawa.kochi.jp\":!0,\"ochi.kochi.jp\":!0,\"okawa.kochi.jp\":!0,\"otoyo.kochi.jp\":!0,\"otsuki.kochi.jp\":!0,\"sakawa.kochi.jp\":!0,\"sukumo.kochi.jp\":!0,\"susaki.kochi.jp\":!0,\"tosa.kochi.jp\":!0,\"tosashimizu.kochi.jp\":!0,\"toyo.kochi.jp\":!0,\"tsuno.kochi.jp\":!0,\"umaji.kochi.jp\":!0,\"yasuda.kochi.jp\":!0,\"yusuhara.kochi.jp\":!0,\"amakusa.kumamoto.jp\":!0,\"arao.kumamoto.jp\":!0,\"aso.kumamoto.jp\":!0,\"choyo.kumamoto.jp\":!0,\"gyokuto.kumamoto.jp\":!0,\"hitoyoshi.kumamoto.jp\":!0,\"kamiamakusa.kumamoto.jp\":!0,\"kashima.kumamoto.jp\":!0,\"kikuchi.kumamoto.jp\":!0,\"kosa.kumamoto.jp\":!0,\"kumamoto.kumamoto.jp\":!0,\"mashiki.kumamoto.jp\":!0,\"mifune.kumamoto.jp\":!0,\"minamata.kumamoto.jp\":!0,\"minamioguni.kumamoto.jp\":!0,\"nagasu.kumamoto.jp\":!0,\"nishihara.kumamoto.jp\":!0,\"oguni.kumamoto.jp\":!0,\"ozu.kumamoto.jp\":!0,\"sumoto.kumamoto.jp\":!0,\"takamori.kumamoto.jp\":!0,\"uki.kumamoto.jp\":!0,\"uto.kumamoto.jp\":!0,\"yamaga.kumamoto.jp\":!0,\"yamato.kumamoto.jp\":!0,\"yatsushiro.kumamoto.jp\":!0,\"ayabe.kyoto.jp\":!0,\"fukuchiyama.kyoto.jp\":!0,\"higashiyama.kyoto.jp\":!0,\"ide.kyoto.jp\":!0,\"ine.kyoto.jp\":!0,\"joyo.kyoto.jp\":!0,\"kameoka.kyoto.jp\":!0,\"kamo.kyoto.jp\":!0,\"kita.kyoto.jp\":!0,\"kizu.kyoto.jp\":!0,\"kumiyama.kyoto.jp\":!0,\"kyotamba.kyoto.jp\":!0,\"kyotanabe.kyoto.jp\":!0,\"kyotango.kyoto.jp\":!0,\"maizuru.kyoto.jp\":!0,\"minami.kyoto.jp\":!0,\"minamiyamashiro.kyoto.jp\":!0,\n\"miyazu.kyoto.jp\":!0,\"muko.kyoto.jp\":!0,\"nagaokakyo.kyoto.jp\":!0,\"nakagyo.kyoto.jp\":!0,\"nantan.kyoto.jp\":!0,\"oyamazaki.kyoto.jp\":!0,\"sakyo.kyoto.jp\":!0,\"seika.kyoto.jp\":!0,\"tanabe.kyoto.jp\":!0,\"uji.kyoto.jp\":!0,\"ujitawara.kyoto.jp\":!0,\"wazuka.kyoto.jp\":!0,\"yamashina.kyoto.jp\":!0,\"yawata.kyoto.jp\":!0,\"asahi.mie.jp\":!0,\"inabe.mie.jp\":!0,\"ise.mie.jp\":!0,\"kameyama.mie.jp\":!0,\"kawagoe.mie.jp\":!0,\"kiho.mie.jp\":!0,\"kisosaki.mie.jp\":!0,\"kiwa.mie.jp\":!0,\"komono.mie.jp\":!0,\"kumano.mie.jp\":!0,\"kuwana.mie.jp\":!0,\"matsusaka.mie.jp\":!0,\"meiwa.mie.jp\":!0,\"mihama.mie.jp\":!0,\"minamiise.mie.jp\":!0,\"misugi.mie.jp\":!0,\"miyama.mie.jp\":!0,\"nabari.mie.jp\":!0,\"shima.mie.jp\":!0,\"suzuka.mie.jp\":!0,\"tado.mie.jp\":!0,\"taiki.mie.jp\":!0,\"taki.mie.jp\":!0,\"tamaki.mie.jp\":!0,\"toba.mie.jp\":!0,\"tsu.mie.jp\":!0,\"udono.mie.jp\":!0,\"ureshino.mie.jp\":!0,\"watarai.mie.jp\":!0,\"yokkaichi.mie.jp\":!0,\"furukawa.miyagi.jp\":!0,\"higashimatsushima.miyagi.jp\":!0,\"ishinomaki.miyagi.jp\":!0,\"iwanuma.miyagi.jp\":!0,\"kakuda.miyagi.jp\":!0,\"kami.miyagi.jp\":!0,\"kawasaki.miyagi.jp\":!0,\"kesennuma.miyagi.jp\":!0,\"marumori.miyagi.jp\":!0,\"matsushima.miyagi.jp\":!0,\"minamisanriku.miyagi.jp\":!0,\"misato.miyagi.jp\":!0,\"murata.miyagi.jp\":!0,\"natori.miyagi.jp\":!0,\"ogawara.miyagi.jp\":!0,\"ohira.miyagi.jp\":!0,\"onagawa.miyagi.jp\":!0,\"osaki.miyagi.jp\":!0,\"rifu.miyagi.jp\":!0,\"semine.miyagi.jp\":!0,\"shibata.miyagi.jp\":!0,\"shichikashuku.miyagi.jp\":!0,\"shikama.miyagi.jp\":!0,\"shiogama.miyagi.jp\":!0,\"shiroishi.miyagi.jp\":!0,\"tagajo.miyagi.jp\":!0,\"taiwa.miyagi.jp\":!0,\"tome.miyagi.jp\":!0,\"tomiya.miyagi.jp\":!0,\"wakuya.miyagi.jp\":!0,\"watari.miyagi.jp\":!0,\"yamamoto.miyagi.jp\":!0,\"zao.miyagi.jp\":!0,\"aya.miyazaki.jp\":!0,\"ebino.miyazaki.jp\":!0,\"gokase.miyazaki.jp\":!0,\"hyuga.miyazaki.jp\":!0,\"kadogawa.miyazaki.jp\":!0,\"kawaminami.miyazaki.jp\":!0,\"kijo.miyazaki.jp\":!0,\"kitagawa.miyazaki.jp\":!0,\"kitakata.miyazaki.jp\":!0,\"kitaura.miyazaki.jp\":!0,\"kobayashi.miyazaki.jp\":!0,\"kunitomi.miyazaki.jp\":!0,\"kushima.miyazaki.jp\":!0,\"mimata.miyazaki.jp\":!0,\"miyakonojo.miyazaki.jp\":!0,\"miyazaki.miyazaki.jp\":!0,\"morotsuka.miyazaki.jp\":!0,\"nichinan.miyazaki.jp\":!0,\"nishimera.miyazaki.jp\":!0,\"nobeoka.miyazaki.jp\":!0,\"saito.miyazaki.jp\":!0,\"shiiba.miyazaki.jp\":!0,\"shintomi.miyazaki.jp\":!0,\"takaharu.miyazaki.jp\":!0,\"takanabe.miyazaki.jp\":!0,\"takazaki.miyazaki.jp\":!0,\"tsuno.miyazaki.jp\":!0,\"achi.nagano.jp\":!0,\"agematsu.nagano.jp\":!0,\"anan.nagano.jp\":!0,\"aoki.nagano.jp\":!0,\"asahi.nagano.jp\":!0,\"azumino.nagano.jp\":!0,\"chikuhoku.nagano.jp\":!0,\"chikuma.nagano.jp\":!0,\"chino.nagano.jp\":!0,\"fujimi.nagano.jp\":!0,\"hakuba.nagano.jp\":!0,\"hara.nagano.jp\":!0,\"hiraya.nagano.jp\":!0,\"iida.nagano.jp\":!0,\"iijima.nagano.jp\":!0,\"iiyama.nagano.jp\":!0,\"iizuna.nagano.jp\":!0,\"ikeda.nagano.jp\":!0,\"ikusaka.nagano.jp\":!0,\"ina.nagano.jp\":!0,\"karuizawa.nagano.jp\":!0,\"kawakami.nagano.jp\":!0,\"kiso.nagano.jp\":!0,\"kisofukushima.nagano.jp\":!0,\"kitaaiki.nagano.jp\":!0,\"komagane.nagano.jp\":!0,\"komoro.nagano.jp\":!0,\"matsukawa.nagano.jp\":!0,\"matsumoto.nagano.jp\":!0,\"miasa.nagano.jp\":!0,\"minamiaiki.nagano.jp\":!0,\"minamimaki.nagano.jp\":!0,\"minamiminowa.nagano.jp\":!0,\"minowa.nagano.jp\":!0,\"miyada.nagano.jp\":!0,\"miyota.nagano.jp\":!0,\"mochizuki.nagano.jp\":!0,\"nagano.nagano.jp\":!0,\"nagawa.nagano.jp\":!0,\"nagiso.nagano.jp\":!0,\"nakagawa.nagano.jp\":!0,\"nakano.nagano.jp\":!0,\"nozawaonsen.nagano.jp\":!0,\"obuse.nagano.jp\":!0,\"ogawa.nagano.jp\":!0,\"okaya.nagano.jp\":!0,\"omachi.nagano.jp\":!0,\"omi.nagano.jp\":!0,\"ookuwa.nagano.jp\":!0,\"ooshika.nagano.jp\":!0,\"otaki.nagano.jp\":!0,\"otari.nagano.jp\":!0,\"sakae.nagano.jp\":!0,\"sakaki.nagano.jp\":!0,\"saku.nagano.jp\":!0,\"sakuho.nagano.jp\":!0,\"shimosuwa.nagano.jp\":!0,\"shinanomachi.nagano.jp\":!0,\"shiojiri.nagano.jp\":!0,\"suwa.nagano.jp\":!0,\"suzaka.nagano.jp\":!0,\"takagi.nagano.jp\":!0,\"takamori.nagano.jp\":!0,\"takayama.nagano.jp\":!0,\"tateshina.nagano.jp\":!0,\"tatsuno.nagano.jp\":!0,\"togakushi.nagano.jp\":!0,\"togura.nagano.jp\":!0,\"tomi.nagano.jp\":!0,\"ueda.nagano.jp\":!0,\"wada.nagano.jp\":!0,\"yamagata.nagano.jp\":!0,\"yamanouchi.nagano.jp\":!0,\"yasaka.nagano.jp\":!0,\"yasuoka.nagano.jp\":!0,\"chijiwa.nagasaki.jp\":!0,\"futsu.nagasaki.jp\":!0,\"goto.nagasaki.jp\":!0,\"hasami.nagasaki.jp\":!0,\"hirado.nagasaki.jp\":!0,\"iki.nagasaki.jp\":!0,\"isahaya.nagasaki.jp\":!0,\"kawatana.nagasaki.jp\":!0,\"kuchinotsu.nagasaki.jp\":!0,\"matsuura.nagasaki.jp\":!0,\"nagasaki.nagasaki.jp\":!0,\"obama.nagasaki.jp\":!0,\"omura.nagasaki.jp\":!0,\"oseto.nagasaki.jp\":!0,\"saikai.nagasaki.jp\":!0,\"sasebo.nagasaki.jp\":!0,\"seihi.nagasaki.jp\":!0,\"shimabara.nagasaki.jp\":!0,\"shinkamigoto.nagasaki.jp\":!0,\"togitsu.nagasaki.jp\":!0,\"tsushima.nagasaki.jp\":!0,\"unzen.nagasaki.jp\":!0,\"ando.nara.jp\":!0,\"gose.nara.jp\":!0,\"heguri.nara.jp\":!0,\"higashiyoshino.nara.jp\":!0,\"ikaruga.nara.jp\":!0,\"ikoma.nara.jp\":!0,\"kamikitayama.nara.jp\":!0,\"kanmaki.nara.jp\":!0,\"kashiba.nara.jp\":!0,\"kashihara.nara.jp\":!0,\"katsuragi.nara.jp\":!0,\"kawai.nara.jp\":!0,\"kawakami.nara.jp\":!0,\"kawanishi.nara.jp\":!0,\"koryo.nara.jp\":!0,\"kurotaki.nara.jp\":!0,\"mitsue.nara.jp\":!0,\"miyake.nara.jp\":!0,\"nara.nara.jp\":!0,\"nosegawa.nara.jp\":!0,\"oji.nara.jp\":!0,\"ouda.nara.jp\":!0,\"oyodo.nara.jp\":!0,\"sakurai.nara.jp\":!0,\"sango.nara.jp\":!0,\"shimoichi.nara.jp\":!0,\"shimokitayama.nara.jp\":!0,\"shinjo.nara.jp\":!0,\"soni.nara.jp\":!0,\"takatori.nara.jp\":!0,\"tawaramoto.nara.jp\":!0,\"tenkawa.nara.jp\":!0,\"tenri.nara.jp\":!0,\"uda.nara.jp\":!0,\"yamatokoriyama.nara.jp\":!0,\"yamatotakada.nara.jp\":!0,\"yamazoe.nara.jp\":!0,\"yoshino.nara.jp\":!0,\"aga.niigata.jp\":!0,\"agano.niigata.jp\":!0,\"gosen.niigata.jp\":!0,\"itoigawa.niigata.jp\":!0,\"izumozaki.niigata.jp\":!0,\"joetsu.niigata.jp\":!0,\"kamo.niigata.jp\":!0,\"kariwa.niigata.jp\":!0,\"kashiwazaki.niigata.jp\":!0,\"minamiuonuma.niigata.jp\":!0,\"mitsuke.niigata.jp\":!0,\"muika.niigata.jp\":!0,\"murakami.niigata.jp\":!0,\"myoko.niigata.jp\":!0,\"nagaoka.niigata.jp\":!0,\"niigata.niigata.jp\":!0,\"ojiya.niigata.jp\":!0,\"omi.niigata.jp\":!0,\"sado.niigata.jp\":!0,\"sanjo.niigata.jp\":!0,\"seiro.niigata.jp\":!0,\"seirou.niigata.jp\":!0,\"sekikawa.niigata.jp\":!0,\"shibata.niigata.jp\":!0,\"tagami.niigata.jp\":!0,\"tainai.niigata.jp\":!0,\"tochio.niigata.jp\":!0,\"tokamachi.niigata.jp\":!0,\"tsubame.niigata.jp\":!0,\"tsunan.niigata.jp\":!0,\"uonuma.niigata.jp\":!0,\"yahiko.niigata.jp\":!0,\"yoita.niigata.jp\":!0,\"yuzawa.niigata.jp\":!0,\"beppu.oita.jp\":!0,\"bungoono.oita.jp\":!0,\"bungotakada.oita.jp\":!0,\"hasama.oita.jp\":!0,\"hiji.oita.jp\":!0,\"himeshima.oita.jp\":!0,\"hita.oita.jp\":!0,\"kamitsue.oita.jp\":!0,\"kokonoe.oita.jp\":!0,\"kuju.oita.jp\":!0,\"kunisaki.oita.jp\":!0,\"kusu.oita.jp\":!0,\"oita.oita.jp\":!0,\"saiki.oita.jp\":!0,\"taketa.oita.jp\":!0,\"tsukumi.oita.jp\":!0,\"usa.oita.jp\":!0,\"usuki.oita.jp\":!0,\"yufu.oita.jp\":!0,\"akaiwa.okayama.jp\":!0,\"asakuchi.okayama.jp\":!0,\"bizen.okayama.jp\":!0,\"hayashima.okayama.jp\":!0,\"ibara.okayama.jp\":!0,\"kagamino.okayama.jp\":!0,\"kasaoka.okayama.jp\":!0,\"kibichuo.okayama.jp\":!0,\"kumenan.okayama.jp\":!0,\"kurashiki.okayama.jp\":!0,\"maniwa.okayama.jp\":!0,\"misaki.okayama.jp\":!0,\"nagi.okayama.jp\":!0,\"niimi.okayama.jp\":!0,\"nishiawakura.okayama.jp\":!0,\"okayama.okayama.jp\":!0,\"satosho.okayama.jp\":!0,\"setouchi.okayama.jp\":!0,\"shinjo.okayama.jp\":!0,\"shoo.okayama.jp\":!0,\"soja.okayama.jp\":!0,\"takahashi.okayama.jp\":!0,\"tamano.okayama.jp\":!0,\"tsuyama.okayama.jp\":!0,\"wake.okayama.jp\":!0,\"yakage.okayama.jp\":!0,\"aguni.okinawa.jp\":!0,\"ginowan.okinawa.jp\":!0,\"ginoza.okinawa.jp\":!0,\"gushikami.okinawa.jp\":!0,\"haebaru.okinawa.jp\":!0,\"higashi.okinawa.jp\":!0,\"hirara.okinawa.jp\":!0,\"iheya.okinawa.jp\":!0,\"ishigaki.okinawa.jp\":!0,\"ishikawa.okinawa.jp\":!0,\"itoman.okinawa.jp\":!0,\"izena.okinawa.jp\":!0,\"kadena.okinawa.jp\":!0,\"kin.okinawa.jp\":!0,\"kitadaito.okinawa.jp\":!0,\"kitanakagusuku.okinawa.jp\":!0,\"kumejima.okinawa.jp\":!0,\"kunigami.okinawa.jp\":!0,\"minamidaito.okinawa.jp\":!0,\"motobu.okinawa.jp\":!0,\"nago.okinawa.jp\":!0,\"naha.okinawa.jp\":!0,\"nakagusuku.okinawa.jp\":!0,\"nakijin.okinawa.jp\":!0,\"nanjo.okinawa.jp\":!0,\"nishihara.okinawa.jp\":!0,\"ogimi.okinawa.jp\":!0,\"okinawa.okinawa.jp\":!0,\"onna.okinawa.jp\":!0,\"shimoji.okinawa.jp\":!0,\"taketomi.okinawa.jp\":!0,\"tarama.okinawa.jp\":!0,\"tokashiki.okinawa.jp\":!0,\"tomigusuku.okinawa.jp\":!0,\"tonaki.okinawa.jp\":!0,\"urasoe.okinawa.jp\":!0,\"uruma.okinawa.jp\":!0,\"yaese.okinawa.jp\":!0,\"yomitan.okinawa.jp\":!0,\"yonabaru.okinawa.jp\":!0,\"yonaguni.okinawa.jp\":!0,\"zamami.okinawa.jp\":!0,\"abeno.osaka.jp\":!0,\"chihayaakasaka.osaka.jp\":!0,\"chuo.osaka.jp\":!0,\"daito.osaka.jp\":!0,\"fujiidera.osaka.jp\":!0,\"habikino.osaka.jp\":!0,\"hannan.osaka.jp\":!0,\"higashiosaka.osaka.jp\":!0,\"higashisumiyoshi.osaka.jp\":!0,\"higashiyodogawa.osaka.jp\":!0,\"hirakata.osaka.jp\":!0,\"ibaraki.osaka.jp\":!0,\"ikeda.osaka.jp\":!0,\"izumi.osaka.jp\":!0,\"izumiotsu.osaka.jp\":!0,\"izumisano.osaka.jp\":!0,\"kadoma.osaka.jp\":!0,\"kaizuka.osaka.jp\":!0,\"kanan.osaka.jp\":!0,\"kashiwara.osaka.jp\":!0,\"katano.osaka.jp\":!0,\"kawachinagano.osaka.jp\":!0,\"kishiwada.osaka.jp\":!0,\"kita.osaka.jp\":!0,\"kumatori.osaka.jp\":!0,\"matsubara.osaka.jp\":!0,\"minato.osaka.jp\":!0,\"minoh.osaka.jp\":!0,\"misaki.osaka.jp\":!0,\"moriguchi.osaka.jp\":!0,\"neyagawa.osaka.jp\":!0,\"nishi.osaka.jp\":!0,\"nose.osaka.jp\":!0,\"osakasayama.osaka.jp\":!0,\"sakai.osaka.jp\":!0,\"sayama.osaka.jp\":!0,\"sennan.osaka.jp\":!0,\"settsu.osaka.jp\":!0,\"shijonawate.osaka.jp\":!0,\"shimamoto.osaka.jp\":!0,\"suita.osaka.jp\":!0,\"tadaoka.osaka.jp\":!0,\"taishi.osaka.jp\":!0,\"tajiri.osaka.jp\":!0,\"takaishi.osaka.jp\":!0,\"takatsuki.osaka.jp\":!0,\"tondabayashi.osaka.jp\":!0,\"toyonaka.osaka.jp\":!0,\"toyono.osaka.jp\":!0,\"yao.osaka.jp\":!0,\"ariake.saga.jp\":!0,\"arita.saga.jp\":!0,\"fukudomi.saga.jp\":!0,\"genkai.saga.jp\":!0,\"hamatama.saga.jp\":!0,\"hizen.saga.jp\":!0,\"imari.saga.jp\":!0,\"kamimine.saga.jp\":!0,\"kanzaki.saga.jp\":!0,\"karatsu.saga.jp\":!0,\"kashima.saga.jp\":!0,\"kitagata.saga.jp\":!0,\"kitahata.saga.jp\":!0,\"kiyama.saga.jp\":!0,\"kouhoku.saga.jp\":!0,\"kyuragi.saga.jp\":!0,\"nishiarita.saga.jp\":!0,\"ogi.saga.jp\":!0,\"omachi.saga.jp\":!0,\"ouchi.saga.jp\":!0,\"saga.saga.jp\":!0,\"shiroishi.saga.jp\":!0,\"taku.saga.jp\":!0,\"tara.saga.jp\":!0,\"tosu.saga.jp\":!0,\"yoshinogari.saga.jp\":!0,\"arakawa.saitama.jp\":!0,\"asaka.saitama.jp\":!0,\"chichibu.saitama.jp\":!0,\"fujimi.saitama.jp\":!0,\"fujimino.saitama.jp\":!0,\"fukaya.saitama.jp\":!0,\"hanno.saitama.jp\":!0,\"hanyu.saitama.jp\":!0,\"hasuda.saitama.jp\":!0,\"hatogaya.saitama.jp\":!0,\"hatoyama.saitama.jp\":!0,\"hidaka.saitama.jp\":!0,\"higashichichibu.saitama.jp\":!0,\"higashimatsuyama.saitama.jp\":!0,\"honjo.saitama.jp\":!0,\"ina.saitama.jp\":!0,\"iruma.saitama.jp\":!0,\"iwatsuki.saitama.jp\":!0,\"kamiizumi.saitama.jp\":!0,\"kamikawa.saitama.jp\":!0,\"kamisato.saitama.jp\":!0,\"kasukabe.saitama.jp\":!0,\"kawagoe.saitama.jp\":!0,\"kawaguchi.saitama.jp\":!0,\"kawajima.saitama.jp\":!0,\"kazo.saitama.jp\":!0,\"kitamoto.saitama.jp\":!0,\"koshigaya.saitama.jp\":!0,\"kounosu.saitama.jp\":!0,\"kuki.saitama.jp\":!0,\"kumagaya.saitama.jp\":!0,\"matsubushi.saitama.jp\":!0,\"minano.saitama.jp\":!0,\"misato.saitama.jp\":!0,\"miyashiro.saitama.jp\":!0,\"miyoshi.saitama.jp\":!0,\"moroyama.saitama.jp\":!0,\"nagatoro.saitama.jp\":!0,\"namegawa.saitama.jp\":!0,\"niiza.saitama.jp\":!0,\"ogano.saitama.jp\":!0,\"ogawa.saitama.jp\":!0,\"ogose.saitama.jp\":!0,\"okegawa.saitama.jp\":!0,\"omiya.saitama.jp\":!0,\"otaki.saitama.jp\":!0,\"ranzan.saitama.jp\":!0,\"ryokami.saitama.jp\":!0,\"saitama.saitama.jp\":!0,\"sakado.saitama.jp\":!0,\"satte.saitama.jp\":!0,\"sayama.saitama.jp\":!0,\"shiki.saitama.jp\":!0,\"shiraoka.saitama.jp\":!0,\"soka.saitama.jp\":!0,\"sugito.saitama.jp\":!0,\"toda.saitama.jp\":!0,\"tokigawa.saitama.jp\":!0,\"tokorozawa.saitama.jp\":!0,\"tsurugashima.saitama.jp\":!0,\"urawa.saitama.jp\":!0,\"warabi.saitama.jp\":!0,\"yashio.saitama.jp\":!0,\"yokoze.saitama.jp\":!0,\"yono.saitama.jp\":!0,\"yorii.saitama.jp\":!0,\"yoshida.saitama.jp\":!0,\"yoshikawa.saitama.jp\":!0,\"yoshimi.saitama.jp\":!0,\"aisho.shiga.jp\":!0,\"gamo.shiga.jp\":!0,\"higashiomi.shiga.jp\":!0,\"hikone.shiga.jp\":!0,\"koka.shiga.jp\":!0,\"konan.shiga.jp\":!0,\"kosei.shiga.jp\":!0,\"koto.shiga.jp\":!0,\"kusatsu.shiga.jp\":!0,\"maibara.shiga.jp\":!0,\"moriyama.shiga.jp\":!0,\"nagahama.shiga.jp\":!0,\"nishiazai.shiga.jp\":!0,\"notogawa.shiga.jp\":!0,\"omihachiman.shiga.jp\":!0,\"otsu.shiga.jp\":!0,\"ritto.shiga.jp\":!0,\"ryuoh.shiga.jp\":!0,\"takashima.shiga.jp\":!0,\"takatsuki.shiga.jp\":!0,\"torahime.shiga.jp\":!0,\"toyosato.shiga.jp\":!0,\"yasu.shiga.jp\":!0,\"akagi.shimane.jp\":!0,\"ama.shimane.jp\":!0,\"gotsu.shimane.jp\":!0,\"hamada.shimane.jp\":!0,\"higashiizumo.shimane.jp\":!0,\"hikawa.shimane.jp\":!0,\"hikimi.shimane.jp\":!0,\"izumo.shimane.jp\":!0,\"kakinoki.shimane.jp\":!0,\"masuda.shimane.jp\":!0,\"matsue.shimane.jp\":!0,\"misato.shimane.jp\":!0,\"nishinoshima.shimane.jp\":!0,\"ohda.shimane.jp\":!0,\"okinoshima.shimane.jp\":!0,\"okuizumo.shimane.jp\":!0,\"shimane.shimane.jp\":!0,\"tamayu.shimane.jp\":!0,\"tsuwano.shimane.jp\":!0,\"unnan.shimane.jp\":!0,\"yakumo.shimane.jp\":!0,\"yasugi.shimane.jp\":!0,\"yatsuka.shimane.jp\":!0,\"arai.shizuoka.jp\":!0,\"atami.shizuoka.jp\":!0,\"fuji.shizuoka.jp\":!0,\"fujieda.shizuoka.jp\":!0,\"fujikawa.shizuoka.jp\":!0,\"fujinomiya.shizuoka.jp\":!0,\"fukuroi.shizuoka.jp\":!0,\"gotemba.shizuoka.jp\":!0,\"haibara.shizuoka.jp\":!0,\"hamamatsu.shizuoka.jp\":!0,\"higashiizu.shizuoka.jp\":!0,\"ito.shizuoka.jp\":!0,\"iwata.shizuoka.jp\":!0,\"izu.shizuoka.jp\":!0,\"izunokuni.shizuoka.jp\":!0,\"kakegawa.shizuoka.jp\":!0,\"kannami.shizuoka.jp\":!0,\"kawanehon.shizuoka.jp\":!0,\"kawazu.shizuoka.jp\":!0,\"kikugawa.shizuoka.jp\":!0,\"kosai.shizuoka.jp\":!0,\"makinohara.shizuoka.jp\":!0,\"matsuzaki.shizuoka.jp\":!0,\"minamiizu.shizuoka.jp\":!0,\"mishima.shizuoka.jp\":!0,\"morimachi.shizuoka.jp\":!0,\"nishiizu.shizuoka.jp\":!0,\"numazu.shizuoka.jp\":!0,\"omaezaki.shizuoka.jp\":!0,\"shimada.shizuoka.jp\":!0,\"shimizu.shizuoka.jp\":!0,\"shimoda.shizuoka.jp\":!0,\"shizuoka.shizuoka.jp\":!0,\"susono.shizuoka.jp\":!0,\"yaizu.shizuoka.jp\":!0,\"yoshida.shizuoka.jp\":!0,\"ashikaga.tochigi.jp\":!0,\"bato.tochigi.jp\":!0,\"haga.tochigi.jp\":!0,\"ichikai.tochigi.jp\":!0,\"iwafune.tochigi.jp\":!0,\"kaminokawa.tochigi.jp\":!0,\"kanuma.tochigi.jp\":!0,\"karasuyama.tochigi.jp\":!0,\"kuroiso.tochigi.jp\":!0,\"mashiko.tochigi.jp\":!0,\"mibu.tochigi.jp\":!0,\"moka.tochigi.jp\":!0,\"motegi.tochigi.jp\":!0,\"nasu.tochigi.jp\":!0,\"nasushiobara.tochigi.jp\":!0,\"nikko.tochigi.jp\":!0,\"nishikata.tochigi.jp\":!0,\"nogi.tochigi.jp\":!0,\"ohira.tochigi.jp\":!0,\"ohtawara.tochigi.jp\":!0,\"oyama.tochigi.jp\":!0,\"sakura.tochigi.jp\":!0,\"sano.tochigi.jp\":!0,\"shimotsuke.tochigi.jp\":!0,\"shioya.tochigi.jp\":!0,\"takanezawa.tochigi.jp\":!0,\"tochigi.tochigi.jp\":!0,\"tsuga.tochigi.jp\":!0,\"ujiie.tochigi.jp\":!0,\"utsunomiya.tochigi.jp\":!0,\"yaita.tochigi.jp\":!0,\"aizumi.tokushima.jp\":!0,\"anan.tokushima.jp\":!0,\"ichiba.tokushima.jp\":!0,\"itano.tokushima.jp\":!0,\"kainan.tokushima.jp\":!0,\"komatsushima.tokushima.jp\":!0,\"matsushige.tokushima.jp\":!0,\"mima.tokushima.jp\":!0,\"minami.tokushima.jp\":!0,\"miyoshi.tokushima.jp\":!0,\"mugi.tokushima.jp\":!0,\"nakagawa.tokushima.jp\":!0,\"naruto.tokushima.jp\":!0,\"sanagochi.tokushima.jp\":!0,\"shishikui.tokushima.jp\":!0,\"tokushima.tokushima.jp\":!0,\"wajiki.tokushima.jp\":!0,\"adachi.tokyo.jp\":!0,\"akiruno.tokyo.jp\":!0,\"akishima.tokyo.jp\":!0,\"aogashima.tokyo.jp\":!0,\"arakawa.tokyo.jp\":!0,\"bunkyo.tokyo.jp\":!0,\"chiyoda.tokyo.jp\":!0,\"chofu.tokyo.jp\":!0,\"chuo.tokyo.jp\":!0,\"edogawa.tokyo.jp\":!0,\"fuchu.tokyo.jp\":!0,\"fussa.tokyo.jp\":!0,\"hachijo.tokyo.jp\":!0,\"hachioji.tokyo.jp\":!0,\"hamura.tokyo.jp\":!0,\"higashikurume.tokyo.jp\":!0,\"higashimurayama.tokyo.jp\":!0,\"higashiyamato.tokyo.jp\":!0,\"hino.tokyo.jp\":!0,\"hinode.tokyo.jp\":!0,\"hinohara.tokyo.jp\":!0,\"inagi.tokyo.jp\":!0,\"itabashi.tokyo.jp\":!0,\"katsushika.tokyo.jp\":!0,\"kita.tokyo.jp\":!0,\"kiyose.tokyo.jp\":!0,\"kodaira.tokyo.jp\":!0,\"koganei.tokyo.jp\":!0,\"kokubunji.tokyo.jp\":!0,\"komae.tokyo.jp\":!0,\"koto.tokyo.jp\":!0,\"kouzushima.tokyo.jp\":!0,\"kunitachi.tokyo.jp\":!0,\"machida.tokyo.jp\":!0,\"meguro.tokyo.jp\":!0,\"minato.tokyo.jp\":!0,\"mitaka.tokyo.jp\":!0,\"mizuho.tokyo.jp\":!0,\"musashimurayama.tokyo.jp\":!0,\"musashino.tokyo.jp\":!0,\"nakano.tokyo.jp\":!0,\"nerima.tokyo.jp\":!0,\"ogasawara.tokyo.jp\":!0,\"okutama.tokyo.jp\":!0,\"ome.tokyo.jp\":!0,\"oshima.tokyo.jp\":!0,\"ota.tokyo.jp\":!0,\"setagaya.tokyo.jp\":!0,\"shibuya.tokyo.jp\":!0,\"shinagawa.tokyo.jp\":!0,\"shinjuku.tokyo.jp\":!0,\"suginami.tokyo.jp\":!0,\"sumida.tokyo.jp\":!0,\"tachikawa.tokyo.jp\":!0,\"taito.tokyo.jp\":!0,\"tama.tokyo.jp\":!0,\"toshima.tokyo.jp\":!0,\"chizu.tottori.jp\":!0,\"hino.tottori.jp\":!0,\"kawahara.tottori.jp\":!0,\"koge.tottori.jp\":!0,\"kotoura.tottori.jp\":!0,\"misasa.tottori.jp\":!0,\"nanbu.tottori.jp\":!0,\"nichinan.tottori.jp\":!0,\"sakaiminato.tottori.jp\":!0,\"tottori.tottori.jp\":!0,\"wakasa.tottori.jp\":!0,\"yazu.tottori.jp\":!0,\"yonago.tottori.jp\":!0,\"asahi.toyama.jp\":!0,\"fuchu.toyama.jp\":!0,\"fukumitsu.toyama.jp\":!0,\"funahashi.toyama.jp\":!0,\"himi.toyama.jp\":!0,\"imizu.toyama.jp\":!0,\"inami.toyama.jp\":!0,\"johana.toyama.jp\":!0,\"kamiichi.toyama.jp\":!0,\"kurobe.toyama.jp\":!0,\"nakaniikawa.toyama.jp\":!0,\"namerikawa.toyama.jp\":!0,\"nanto.toyama.jp\":!0,\"nyuzen.toyama.jp\":!0,\"oyabe.toyama.jp\":!0,\"taira.toyama.jp\":!0,\"takaoka.toyama.jp\":!0,\"tateyama.toyama.jp\":!0,\"toga.toyama.jp\":!0,\"tonami.toyama.jp\":!0,\"toyama.toyama.jp\":!0,\"unazuki.toyama.jp\":!0,\"uozu.toyama.jp\":!0,\"yamada.toyama.jp\":!0,\"arida.wakayama.jp\":!0,\"aridagawa.wakayama.jp\":!0,\"gobo.wakayama.jp\":!0,\"hashimoto.wakayama.jp\":!0,\"hidaka.wakayama.jp\":!0,\"hirogawa.wakayama.jp\":!0,\"inami.wakayama.jp\":!0,\"iwade.wakayama.jp\":!0,\"kainan.wakayama.jp\":!0,\"kamitonda.wakayama.jp\":!0,\"katsuragi.wakayama.jp\":!0,\"kimino.wakayama.jp\":!0,\"kinokawa.wakayama.jp\":!0,\"kitayama.wakayama.jp\":!0,\"koya.wakayama.jp\":!0,\"koza.wakayama.jp\":!0,\"kozagawa.wakayama.jp\":!0,\"kudoyama.wakayama.jp\":!0,\"kushimoto.wakayama.jp\":!0,\"mihama.wakayama.jp\":!0,\"misato.wakayama.jp\":!0,\"nachikatsuura.wakayama.jp\":!0,\"shingu.wakayama.jp\":!0,\"shirahama.wakayama.jp\":!0,\"taiji.wakayama.jp\":!0,\"tanabe.wakayama.jp\":!0,\"wakayama.wakayama.jp\":!0,\"yuasa.wakayama.jp\":!0,\"yura.wakayama.jp\":!0,\"asahi.yamagata.jp\":!0,\"funagata.yamagata.jp\":!0,\"higashine.yamagata.jp\":!0,\"iide.yamagata.jp\":!0,\"kahoku.yamagata.jp\":!0,\"kaminoyama.yamagata.jp\":!0,\"kaneyama.yamagata.jp\":!0,\"kawanishi.yamagata.jp\":!0,\"mamurogawa.yamagata.jp\":!0,\"mikawa.yamagata.jp\":!0,\"murayama.yamagata.jp\":!0,\"nagai.yamagata.jp\":!0,\"nakayama.yamagata.jp\":!0,\"nanyo.yamagata.jp\":!0,\"nishikawa.yamagata.jp\":!0,\"obanazawa.yamagata.jp\":!0,\"oe.yamagata.jp\":!0,\"oguni.yamagata.jp\":!0,\"ohkura.yamagata.jp\":!0,\"oishida.yamagata.jp\":!0,\"sagae.yamagata.jp\":!0,\"sakata.yamagata.jp\":!0,\"sakegawa.yamagata.jp\":!0,\"shinjo.yamagata.jp\":!0,\"shirataka.yamagata.jp\":!0,\"shonai.yamagata.jp\":!0,\"takahata.yamagata.jp\":!0,\"tendo.yamagata.jp\":!0,\"tozawa.yamagata.jp\":!0,\"tsuruoka.yamagata.jp\":!0,\"yamagata.yamagata.jp\":!0,\"yamanobe.yamagata.jp\":!0,\"yonezawa.yamagata.jp\":!0,\"yuza.yamagata.jp\":!0,\"abu.yamaguchi.jp\":!0,\"hagi.yamaguchi.jp\":!0,\"hikari.yamaguchi.jp\":!0,\"hofu.yamaguchi.jp\":!0,\"iwakuni.yamaguchi.jp\":!0,\"kudamatsu.yamaguchi.jp\":!0,\"mitou.yamaguchi.jp\":!0,\"nagato.yamaguchi.jp\":!0,\"oshima.yamaguchi.jp\":!0,\"shimonoseki.yamaguchi.jp\":!0,\"shunan.yamaguchi.jp\":!0,\"tabuse.yamaguchi.jp\":!0,\"tokuyama.yamaguchi.jp\":!0,\"toyota.yamaguchi.jp\":!0,\"ube.yamaguchi.jp\":!0,\"yuu.yamaguchi.jp\":!0,\"chuo.yamanashi.jp\":!0,\"doshi.yamanashi.jp\":!0,\"fuefuki.yamanashi.jp\":!0,\"fujikawa.yamanashi.jp\":!0,\"fujikawaguchiko.yamanashi.jp\":!0,\"fujiyoshida.yamanashi.jp\":!0,\"hayakawa.yamanashi.jp\":!0,\"hokuto.yamanashi.jp\":!0,\"ichikawamisato.yamanashi.jp\":!0,\"kai.yamanashi.jp\":!0,\"kofu.yamanashi.jp\":!0,\"koshu.yamanashi.jp\":!0,\"kosuge.yamanashi.jp\":!0,\"minami-alps.yamanashi.jp\":!0,\"minobu.yamanashi.jp\":!0,\"nakamichi.yamanashi.jp\":!0,\"nanbu.yamanashi.jp\":!0,\"narusawa.yamanashi.jp\":!0,\"nirasaki.yamanashi.jp\":!0,\"nishikatsura.yamanashi.jp\":!0,\"oshino.yamanashi.jp\":!0,\"otsuki.yamanashi.jp\":!0,\"showa.yamanashi.jp\":!0,\"tabayama.yamanashi.jp\":!0,\"tsuru.yamanashi.jp\":!0,\"uenohara.yamanashi.jp\":!0,\"yamanakako.yamanashi.jp\":!0,\"yamanashi.yamanashi.jp\":!0,\"*.ke\":!0,kg:!0,\"org.kg\":!0,\"net.kg\":!0,\"com.kg\":!0,\"edu.kg\":!0,\"gov.kg\":!0,\"mil.kg\":!0,\"*.kh\":!0,ki:!0,\"edu.ki\":!0,\"biz.ki\":!0,\"net.ki\":!0,\"org.ki\":!0,\"gov.ki\":!0,\"info.ki\":!0,\"com.ki\":!0,km:!0,\"org.km\":!0,\"nom.km\":!0,\"gov.km\":!0,\"prd.km\":!0,\"tm.km\":!0,\"edu.km\":!0,\"mil.km\":!0,\"ass.km\":!0,\"com.km\":!0,\"coop.km\":!0,\"asso.km\":!0,\"presse.km\":!0,\"medecin.km\":!0,\"notaires.km\":!0,\"pharmaciens.km\":!0,\"veterinaire.km\":!0,\"gouv.km\":!0,kn:!0,\"net.kn\":!0,\"org.kn\":!0,\"edu.kn\":!0,\"gov.kn\":!0,kp:!0,\"com.kp\":!0,\"edu.kp\":!0,\"gov.kp\":!0,\"org.kp\":!0,\"rep.kp\":!0,\"tra.kp\":!0,kr:!0,\"ac.kr\":!0,\"co.kr\":!0,\"es.kr\":!0,\"go.kr\":!0,\"hs.kr\":!0,\"kg.kr\":!0,\"mil.kr\":!0,\"ms.kr\":!0,\"ne.kr\":!0,\"or.kr\":!0,\"pe.kr\":!0,\"re.kr\":!0,\"sc.kr\":!0,\"busan.kr\":!0,\"chungbuk.kr\":!0,\"chungnam.kr\":!0,\"daegu.kr\":!0,\"daejeon.kr\":!0,\"gangwon.kr\":!0,\"gwangju.kr\":!0,\"gyeongbuk.kr\":!0,\"gyeonggi.kr\":!0,\"gyeongnam.kr\":!0,\"incheon.kr\":!0,\"jeju.kr\":!0,\"jeonbuk.kr\":!0,\"jeonnam.kr\":!0,\"seoul.kr\":!0,\"ulsan.kr\":!0,\"*.kw\":!0,ky:!0,\"edu.ky\":!0,\"gov.ky\":!0,\"com.ky\":!0,\"org.ky\":!0,\"net.ky\":!0,kz:!0,\"org.kz\":!0,\"edu.kz\":!0,\"net.kz\":!0,\"gov.kz\":!0,\"mil.kz\":!0,\"com.kz\":!0,la:!0,\"int.la\":!0,\"net.la\":!0,\"info.la\":!0,\"edu.la\":!0,\"gov.la\":!0,\"per.la\":!0,\"com.la\":!0,\"org.la\":!0,lb:!0,\"com.lb\":!0,\"edu.lb\":!0,\"gov.lb\":!0,\"net.lb\":!0,\"org.lb\":!0,lc:!0,\"com.lc\":!0,\"net.lc\":!0,\"co.lc\":!0,\"org.lc\":!0,\"edu.lc\":!0,\"gov.lc\":!0,li:!0,lk:!0,\"gov.lk\":!0,\"sch.lk\":!0,\"net.lk\":!0,\"int.lk\":!0,\"com.lk\":!0,\"org.lk\":!0,\"edu.lk\":!0,\"ngo.lk\":!0,\"soc.lk\":!0,\"web.lk\":!0,\"ltd.lk\":!0,\"assn.lk\":!0,\"grp.lk\":!0,\"hotel.lk\":!0,\"ac.lk\":!0,lr:!0,\"com.lr\":!0,\"edu.lr\":!0,\"gov.lr\":!0,\"org.lr\":!0,\"net.lr\":!0,ls:!0,\"co.ls\":!0,\"org.ls\":!0,lt:!0,\"gov.lt\":!0,lu:!0,lv:!0,\"com.lv\":!0,\"edu.lv\":!0,\"gov.lv\":!0,\"org.lv\":!0,\"mil.lv\":!0,\"id.lv\":!0,\"net.lv\":!0,\"asn.lv\":!0,\"conf.lv\":!0,ly:!0,\"com.ly\":!0,\"net.ly\":!0,\"gov.ly\":!0,\"plc.ly\":!0,\"edu.ly\":!0,\"sch.ly\":!0,\"med.ly\":!0,\"org.ly\":!0,\"id.ly\":!0,ma:!0,\"co.ma\":!0,\"net.ma\":!0,\"gov.ma\":!0,\"org.ma\":!0,\"ac.ma\":!0,\"press.ma\":!0,mc:!0,\"tm.mc\":!0,\"asso.mc\":!0,md:!0,me:!0,\"co.me\":!0,\"net.me\":!0,\"org.me\":!0,\"edu.me\":!0,\"ac.me\":!0,\"gov.me\":!0,\"its.me\":!0,\"priv.me\":!0,mg:!0,\"org.mg\":!0,\"nom.mg\":!0,\"gov.mg\":!0,\"prd.mg\":!0,\"tm.mg\":!0,\"edu.mg\":!0,\"mil.mg\":!0,\"com.mg\":!0,\"co.mg\":!0,mh:!0,mil:!0,mk:!0,\"com.mk\":!0,\"org.mk\":!0,\"net.mk\":!0,\"edu.mk\":!0,\"gov.mk\":!0,\"inf.mk\":!0,\"name.mk\":!0,ml:!0,\"com.ml\":!0,\"edu.ml\":!0,\"gouv.ml\":!0,\"gov.ml\":!0,\"net.ml\":!0,\"org.ml\":!0,\"presse.ml\":!0,\"*.mm\":!0,mn:!0,\"gov.mn\":!0,\"edu.mn\":!0,\"org.mn\":!0,mo:!0,\"com.mo\":!0,\"net.mo\":!0,\"org.mo\":!0,\"edu.mo\":!0,\"gov.mo\":!0,mobi:!0,mp:!0,mq:!0,mr:!0,\"gov.mr\":!0,ms:!0,\"com.ms\":!0,\"edu.ms\":!0,\"gov.ms\":!0,\"net.ms\":!0,\"org.ms\":!0,mt:!0,\"com.mt\":!0,\"edu.mt\":!0,\"net.mt\":!0,\"org.mt\":!0,mu:!0,\"com.mu\":!0,\"net.mu\":!0,\"org.mu\":!0,\"gov.mu\":!0,\"ac.mu\":!0,\"co.mu\":!0,\"or.mu\":!0,museum:!0,\"academy.museum\":!0,\"agriculture.museum\":!0,\"air.museum\":!0,\"airguard.museum\":!0,\"alabama.museum\":!0,\"alaska.museum\":!0,\"amber.museum\":!0,\"ambulance.museum\":!0,\"american.museum\":!0,\"americana.museum\":!0,\"americanantiques.museum\":!0,\"americanart.museum\":!0,\"amsterdam.museum\":!0,\"and.museum\":!0,\"annefrank.museum\":!0,\"anthro.museum\":!0,\"anthropology.museum\":!0,\"antiques.museum\":!0,\"aquarium.museum\":!0,\"arboretum.museum\":!0,\"archaeological.museum\":!0,\"archaeology.museum\":!0,\"architecture.museum\":!0,\"art.museum\":!0,\"artanddesign.museum\":!0,\"artcenter.museum\":!0,\"artdeco.museum\":!0,\"arteducation.museum\":!0,\"artgallery.museum\":!0,\"arts.museum\":!0,\"artsandcrafts.museum\":!0,\"asmatart.museum\":!0,\"assassination.museum\":!0,\"assisi.museum\":!0,\"association.museum\":!0,\"astronomy.museum\":!0,\"atlanta.museum\":!0,\"austin.museum\":!0,\"australia.museum\":!0,\"automotive.museum\":!0,\"aviation.museum\":!0,\"axis.museum\":!0,\"badajoz.museum\":!0,\"baghdad.museum\":!0,\"bahn.museum\":!0,\"bale.museum\":!0,\"baltimore.museum\":!0,\"barcelona.museum\":!0,\"baseball.museum\":!0,\"basel.museum\":!0,\"baths.museum\":!0,\"bauern.museum\":!0,\"beauxarts.museum\":!0,\"beeldengeluid.museum\":!0,\"bellevue.museum\":!0,\"bergbau.museum\":!0,\"berkeley.museum\":!0,\"berlin.museum\":!0,\"bern.museum\":!0,\"bible.museum\":!0,\"bilbao.museum\":!0,\"bill.museum\":!0,\"birdart.museum\":!0,\"birthplace.museum\":!0,\"bonn.museum\":!0,\"boston.museum\":!0,\"botanical.museum\":!0,\"botanicalgarden.museum\":!0,\"botanicgarden.museum\":!0,\"botany.museum\":!0,\"brandywinevalley.museum\":!0,\"brasil.museum\":!0,\"bristol.museum\":!0,\"british.museum\":!0,\"britishcolumbia.museum\":!0,\"broadcast.museum\":!0,\"brunel.museum\":!0,\"brussel.museum\":!0,\"brussels.museum\":!0,\"bruxelles.museum\":!0,\"building.museum\":!0,\"burghof.museum\":!0,\"bus.museum\":!0,\"bushey.museum\":!0,\"cadaques.museum\":!0,\"california.museum\":!0,\"cambridge.museum\":!0,\"can.museum\":!0,\"canada.museum\":!0,\"capebreton.museum\":!0,\"carrier.museum\":!0,\"cartoonart.museum\":!0,\"casadelamoneda.museum\":!0,\"castle.museum\":!0,\"castres.museum\":!0,\"celtic.museum\":!0,\"center.museum\":!0,\"chattanooga.museum\":!0,\"cheltenham.museum\":!0,\"chesapeakebay.museum\":!0,\"chicago.museum\":!0,\"children.museum\":!0,\"childrens.museum\":!0,\"childrensgarden.museum\":!0,\"chiropractic.museum\":!0,\"chocolate.museum\":!0,\"christiansburg.museum\":!0,\"cincinnati.museum\":!0,\"cinema.museum\":!0,\"circus.museum\":!0,\"civilisation.museum\":!0,\"civilization.museum\":!0,\"civilwar.museum\":!0,\"clinton.museum\":!0,\"clock.museum\":!0,\"coal.museum\":!0,\"coastaldefence.museum\":!0,\"cody.museum\":!0,\"coldwar.museum\":!0,\"collection.museum\":!0,\"colonialwilliamsburg.museum\":!0,\"coloradoplateau.museum\":!0,\"columbia.museum\":!0,\"columbus.museum\":!0,\"communication.museum\":!0,\"communications.museum\":!0,\"community.museum\":!0,\"computer.museum\":!0,\"computerhistory.museum\":!0,\"xn--comunicaes-v6a2o.museum\":!0,\"contemporary.museum\":!0,\"contemporaryart.museum\":!0,\"convent.museum\":!0,\"copenhagen.museum\":!0,\"corporation.museum\":!0,\"xn--correios-e-telecomunicaes-ghc29a.museum\":!0,\"corvette.museum\":!0,\"costume.museum\":!0,\"countryestate.museum\":!0,\"county.museum\":!0,\"crafts.museum\":!0,\"cranbrook.museum\":!0,\"creation.museum\":!0,\"cultural.museum\":!0,\"culturalcenter.museum\":!0,\"culture.museum\":!0,\"cyber.museum\":!0,\"cymru.museum\":!0,\"dali.museum\":!0,\"dallas.museum\":!0,\"database.museum\":!0,\"ddr.museum\":!0,\"decorativearts.museum\":!0,\"delaware.museum\":!0,\"delmenhorst.museum\":!0,\"denmark.museum\":!0,\"depot.museum\":!0,\"design.museum\":!0,\"detroit.museum\":!0,\"dinosaur.museum\":!0,\"discovery.museum\":!0,\"dolls.museum\":!0,\"donostia.museum\":!0,\"durham.museum\":!0,\"eastafrica.museum\":!0,\"eastcoast.museum\":!0,\"education.museum\":!0,\"educational.museum\":!0,\"egyptian.museum\":!0,\"eisenbahn.museum\":!0,\"elburg.museum\":!0,\"elvendrell.museum\":!0,\"embroidery.museum\":!0,\"encyclopedic.museum\":!0,\"england.museum\":!0,\"entomology.museum\":!0,\"environment.museum\":!0,\"environmentalconservation.museum\":!0,\"epilepsy.museum\":!0,\"essex.museum\":!0,\"estate.museum\":!0,\"ethnology.museum\":!0,\"exeter.museum\":!0,\"exhibition.museum\":!0,\"family.museum\":!0,\"farm.museum\":!0,\"farmequipment.museum\":!0,\"farmers.museum\":!0,\"farmstead.museum\":!0,\"field.museum\":!0,\"figueres.museum\":!0,\"filatelia.museum\":!0,\"film.museum\":!0,\"fineart.museum\":!0,\"finearts.museum\":!0,\"finland.museum\":!0,\"flanders.museum\":!0,\"florida.museum\":!0,\"force.museum\":!0,\"fortmissoula.museum\":!0,\"fortworth.museum\":!0,\"foundation.museum\":!0,\"francaise.museum\":!0,\"frankfurt.museum\":!0,\"franziskaner.museum\":!0,\"freemasonry.museum\":!0,\"freiburg.museum\":!0,\"fribourg.museum\":!0,\"frog.museum\":!0,\"fundacio.museum\":!0,\"furniture.museum\":!0,\"gallery.museum\":!0,\"garden.museum\":!0,\"gateway.museum\":!0,\"geelvinck.museum\":!0,\"gemological.museum\":!0,\"geology.museum\":!0,\"georgia.museum\":!0,\"giessen.museum\":!0,\"glas.museum\":!0,\"glass.museum\":!0,\"gorge.museum\":!0,\"grandrapids.museum\":!0,\"graz.museum\":!0,\"guernsey.museum\":!0,\"halloffame.museum\":!0,\"hamburg.museum\":!0,\"handson.museum\":!0,\"harvestcelebration.museum\":!0,\"hawaii.museum\":!0,\"health.museum\":!0,\"heimatunduhren.museum\":!0,\"hellas.museum\":!0,\"helsinki.museum\":!0,\"hembygdsforbund.museum\":!0,\"heritage.museum\":!0,\"histoire.museum\":!0,\"historical.museum\":!0,\"historicalsociety.museum\":!0,\"historichouses.museum\":!0,\"historisch.museum\":!0,\"historisches.museum\":!0,\"history.museum\":!0,\"historyofscience.museum\":!0,\"horology.museum\":!0,\"house.museum\":!0,\"humanities.museum\":!0,\"illustration.museum\":!0,\"imageandsound.museum\":!0,\"indian.museum\":!0,\"indiana.museum\":!0,\"indianapolis.museum\":!0,\"indianmarket.museum\":!0,\"intelligence.museum\":!0,\"interactive.museum\":!0,\"iraq.museum\":!0,\"iron.museum\":!0,\"isleofman.museum\":!0,\"jamison.museum\":!0,\"jefferson.museum\":!0,\"jerusalem.museum\":!0,\"jewelry.museum\":!0,\"jewish.museum\":!0,\"jewishart.museum\":!0,\"jfk.museum\":!0,\"journalism.museum\":!0,\"judaica.museum\":!0,\"judygarland.museum\":!0,\"juedisches.museum\":!0,\"juif.museum\":!0,\"karate.museum\":!0,\"karikatur.museum\":!0,\"kids.museum\":!0,\"koebenhavn.museum\":!0,\"koeln.museum\":!0,\"kunst.museum\":!0,\"kunstsammlung.museum\":!0,\"kunstunddesign.museum\":!0,\"labor.museum\":!0,\"labour.museum\":!0,\"lajolla.museum\":!0,\"lancashire.museum\":!0,\"landes.museum\":!0,\"lans.museum\":!0,\"xn--lns-qla.museum\":!0,\"larsson.museum\":!0,\"lewismiller.museum\":!0,\"lincoln.museum\":!0,\"linz.museum\":!0,\"living.museum\":!0,\"livinghistory.museum\":!0,\"localhistory.museum\":!0,\"london.museum\":!0,\"losangeles.museum\":!0,\"louvre.museum\":!0,\"loyalist.museum\":!0,\"lucerne.museum\":!0,\"luxembourg.museum\":!0,\"luzern.museum\":!0,\"mad.museum\":!0,\"madrid.museum\":!0,\"mallorca.museum\":!0,\"manchester.museum\":!0,\"mansion.museum\":!0,\"mansions.museum\":!0,\"manx.museum\":!0,\"marburg.museum\":!0,\"maritime.museum\":!0,\"maritimo.museum\":!0,\"maryland.museum\":!0,\"marylhurst.museum\":!0,\"media.museum\":!0,\"medical.museum\":!0,\"medizinhistorisches.museum\":!0,\"meeres.museum\":!0,\"memorial.museum\":!0,\"mesaverde.museum\":!0,\"michigan.museum\":!0,\"midatlantic.museum\":!0,\"military.museum\":!0,\"mill.museum\":!0,\"miners.museum\":!0,\"mining.museum\":!0,\"minnesota.museum\":!0,\"missile.museum\":!0,\"missoula.museum\":!0,\"modern.museum\":!0,\"moma.museum\":!0,\"money.museum\":!0,\"monmouth.museum\":!0,\"monticello.museum\":!0,\"montreal.museum\":!0,\"moscow.museum\":!0,\"motorcycle.museum\":!0,\"muenchen.museum\":!0,\"muenster.museum\":!0,\"mulhouse.museum\":!0,\"muncie.museum\":!0,\"museet.museum\":!0,\"museumcenter.museum\":!0,\"museumvereniging.museum\":!0,\"music.museum\":!0,\"national.museum\":!0,\"nationalfirearms.museum\":!0,\"nationalheritage.museum\":!0,\"nativeamerican.museum\":!0,\"naturalhistory.museum\":!0,\"naturalhistorymuseum.museum\":!0,\"naturalsciences.museum\":!0,\"nature.museum\":!0,\"naturhistorisches.museum\":!0,\"natuurwetenschappen.museum\":!0,\"naumburg.museum\":!0,\"naval.museum\":!0,\"nebraska.museum\":!0,\"neues.museum\":!0,\"newhampshire.museum\":!0,\"newjersey.museum\":!0,\"newmexico.museum\":!0,\"newport.museum\":!0,\"newspaper.museum\":!0,\"newyork.museum\":!0,\"niepce.museum\":!0,\"norfolk.museum\":!0,\"north.museum\":!0,\"nrw.museum\":!0,\"nuernberg.museum\":!0,\"nuremberg.museum\":!0,\"nyc.museum\":!0,\"nyny.museum\":!0,\"oceanographic.museum\":!0,\"oceanographique.museum\":!0,\"omaha.museum\":!0,\"online.museum\":!0,\"ontario.museum\":!0,\"openair.museum\":!0,\"oregon.museum\":!0,\"oregontrail.museum\":!0,\"otago.museum\":!0,\"oxford.museum\":!0,\"pacific.museum\":!0,\"paderborn.museum\":!0,\"palace.museum\":!0,\"paleo.museum\":!0,\"palmsprings.museum\":!0,\"panama.museum\":!0,\"paris.museum\":!0,\"pasadena.museum\":!0,\"pharmacy.museum\":!0,\"philadelphia.museum\":!0,\"philadelphiaarea.museum\":!0,\"philately.museum\":!0,\"phoenix.museum\":!0,\"photography.museum\":!0,\"pilots.museum\":!0,\"pittsburgh.museum\":!0,\"planetarium.museum\":!0,\"plantation.museum\":!0,\"plants.museum\":!0,\"plaza.museum\":!0,\"portal.museum\":!0,\"portland.museum\":!0,\"portlligat.museum\":!0,\"posts-and-telecommunications.museum\":!0,\"preservation.museum\":!0,\"presidio.museum\":!0,\"press.museum\":!0,\"project.museum\":!0,\"public.museum\":!0,\"pubol.museum\":!0,\"quebec.museum\":!0,\"railroad.museum\":!0,\"railway.museum\":!0,\"research.museum\":!0,\"resistance.museum\":!0,\"riodejaneiro.museum\":!0,\"rochester.museum\":!0,\"rockart.museum\":!0,\"roma.museum\":!0,\"russia.museum\":!0,\"saintlouis.museum\":!0,\"salem.museum\":!0,\"salvadordali.museum\":!0,\"salzburg.museum\":!0,\"sandiego.museum\":!0,\"sanfrancisco.museum\":!0,\"santabarbara.museum\":!0,\"santacruz.museum\":!0,\"santafe.museum\":!0,\"saskatchewan.museum\":!0,\"satx.museum\":!0,\"savannahga.museum\":!0,\"schlesisches.museum\":!0,\"schoenbrunn.museum\":!0,\"schokoladen.museum\":!0,\"school.museum\":!0,\"schweiz.museum\":!0,\"science.museum\":!0,\"scienceandhistory.museum\":!0,\"scienceandindustry.museum\":!0,\"sciencecenter.museum\":!0,\"sciencecenters.museum\":!0,\"science-fiction.museum\":!0,\"sciencehistory.museum\":!0,\"sciences.museum\":!0,\"sciencesnaturelles.museum\":!0,\"scotland.museum\":!0,\"seaport.museum\":!0,\"settlement.museum\":!0,\"settlers.museum\":!0,\"shell.museum\":!0,\"sherbrooke.museum\":!0,\"sibenik.museum\":!0,\"silk.museum\":!0,\n\"ski.museum\":!0,\"skole.museum\":!0,\"society.museum\":!0,\"sologne.museum\":!0,\"soundandvision.museum\":!0,\"southcarolina.museum\":!0,\"southwest.museum\":!0,\"space.museum\":!0,\"spy.museum\":!0,\"square.museum\":!0,\"stadt.museum\":!0,\"stalbans.museum\":!0,\"starnberg.museum\":!0,\"state.museum\":!0,\"stateofdelaware.museum\":!0,\"station.museum\":!0,\"steam.museum\":!0,\"steiermark.museum\":!0,\"stjohn.museum\":!0,\"stockholm.museum\":!0,\"stpetersburg.museum\":!0,\"stuttgart.museum\":!0,\"suisse.museum\":!0,\"surgeonshall.museum\":!0,\"surrey.museum\":!0,\"svizzera.museum\":!0,\"sweden.museum\":!0,\"sydney.museum\":!0,\"tank.museum\":!0,\"tcm.museum\":!0,\"technology.museum\":!0,\"telekommunikation.museum\":!0,\"television.museum\":!0,\"texas.museum\":!0,\"textile.museum\":!0,\"theater.museum\":!0,\"time.museum\":!0,\"timekeeping.museum\":!0,\"topology.museum\":!0,\"torino.museum\":!0,\"touch.museum\":!0,\"town.museum\":!0,\"transport.museum\":!0,\"tree.museum\":!0,\"trolley.museum\":!0,\"trust.museum\":!0,\"trustee.museum\":!0,\"uhren.museum\":!0,\"ulm.museum\":!0,\"undersea.museum\":!0,\"university.museum\":!0,\"usa.museum\":!0,\"usantiques.museum\":!0,\"usarts.museum\":!0,\"uscountryestate.museum\":!0,\"usculture.museum\":!0,\"usdecorativearts.museum\":!0,\"usgarden.museum\":!0,\"ushistory.museum\":!0,\"ushuaia.museum\":!0,\"uslivinghistory.museum\":!0,\"utah.museum\":!0,\"uvic.museum\":!0,\"valley.museum\":!0,\"vantaa.museum\":!0,\"versailles.museum\":!0,\"viking.museum\":!0,\"village.museum\":!0,\"virginia.museum\":!0,\"virtual.museum\":!0,\"virtuel.museum\":!0,\"vlaanderen.museum\":!0,\"volkenkunde.museum\":!0,\"wales.museum\":!0,\"wallonie.museum\":!0,\"war.museum\":!0,\"washingtondc.museum\":!0,\"watchandclock.museum\":!0,\"watch-and-clock.museum\":!0,\"western.museum\":!0,\"westfalen.museum\":!0,\"whaling.museum\":!0,\"wildlife.museum\":!0,\"williamsburg.museum\":!0,\"windmill.museum\":!0,\"workshop.museum\":!0,\"york.museum\":!0,\"yorkshire.museum\":!0,\"yosemite.museum\":!0,\"youth.museum\":!0,\"zoological.museum\":!0,\"zoology.museum\":!0,\"xn--9dbhblg6di.museum\":!0,\"xn--h1aegh.museum\":!0,mv:!0,\"aero.mv\":!0,\"biz.mv\":!0,\"com.mv\":!0,\"coop.mv\":!0,\"edu.mv\":!0,\"gov.mv\":!0,\"info.mv\":!0,\"int.mv\":!0,\"mil.mv\":!0,\"museum.mv\":!0,\"name.mv\":!0,\"net.mv\":!0,\"org.mv\":!0,\"pro.mv\":!0,mw:!0,\"ac.mw\":!0,\"biz.mw\":!0,\"co.mw\":!0,\"com.mw\":!0,\"coop.mw\":!0,\"edu.mw\":!0,\"gov.mw\":!0,\"int.mw\":!0,\"museum.mw\":!0,\"net.mw\":!0,\"org.mw\":!0,mx:!0,\"com.mx\":!0,\"org.mx\":!0,\"gob.mx\":!0,\"edu.mx\":!0,\"net.mx\":!0,my:!0,\"com.my\":!0,\"net.my\":!0,\"org.my\":!0,\"gov.my\":!0,\"edu.my\":!0,\"mil.my\":!0,\"name.my\":!0,\"*.mz\":!0,\"teledata.mz\":!1,na:!0,\"info.na\":!0,\"pro.na\":!0,\"name.na\":!0,\"school.na\":!0,\"or.na\":!0,\"dr.na\":!0,\"us.na\":!0,\"mx.na\":!0,\"ca.na\":!0,\"in.na\":!0,\"cc.na\":!0,\"tv.na\":!0,\"ws.na\":!0,\"mobi.na\":!0,\"co.na\":!0,\"com.na\":!0,\"org.na\":!0,name:!0,nc:!0,\"asso.nc\":!0,ne:!0,net:!0,nf:!0,\"com.nf\":!0,\"net.nf\":!0,\"per.nf\":!0,\"rec.nf\":!0,\"web.nf\":!0,\"arts.nf\":!0,\"firm.nf\":!0,\"info.nf\":!0,\"other.nf\":!0,\"store.nf\":!0,ng:!0,\"com.ng\":!0,\"edu.ng\":!0,\"name.ng\":!0,\"net.ng\":!0,\"org.ng\":!0,\"sch.ng\":!0,\"gov.ng\":!0,\"mil.ng\":!0,\"mobi.ng\":!0,\"*.ni\":!0,nl:!0,\"bv.nl\":!0,no:!0,\"fhs.no\":!0,\"vgs.no\":!0,\"fylkesbibl.no\":!0,\"folkebibl.no\":!0,\"museum.no\":!0,\"idrett.no\":!0,\"priv.no\":!0,\"mil.no\":!0,\"stat.no\":!0,\"dep.no\":!0,\"kommune.no\":!0,\"herad.no\":!0,\"aa.no\":!0,\"ah.no\":!0,\"bu.no\":!0,\"fm.no\":!0,\"hl.no\":!0,\"hm.no\":!0,\"jan-mayen.no\":!0,\"mr.no\":!0,\"nl.no\":!0,\"nt.no\":!0,\"of.no\":!0,\"ol.no\":!0,\"oslo.no\":!0,\"rl.no\":!0,\"sf.no\":!0,\"st.no\":!0,\"svalbard.no\":!0,\"tm.no\":!0,\"tr.no\":!0,\"va.no\":!0,\"vf.no\":!0,\"gs.aa.no\":!0,\"gs.ah.no\":!0,\"gs.bu.no\":!0,\"gs.fm.no\":!0,\"gs.hl.no\":!0,\"gs.hm.no\":!0,\"gs.jan-mayen.no\":!0,\"gs.mr.no\":!0,\"gs.nl.no\":!0,\"gs.nt.no\":!0,\"gs.of.no\":!0,\"gs.ol.no\":!0,\"gs.oslo.no\":!0,\"gs.rl.no\":!0,\"gs.sf.no\":!0,\"gs.st.no\":!0,\"gs.svalbard.no\":!0,\"gs.tm.no\":!0,\"gs.tr.no\":!0,\"gs.va.no\":!0,\"gs.vf.no\":!0,\"akrehamn.no\":!0,\"xn--krehamn-dxa.no\":!0,\"algard.no\":!0,\"xn--lgrd-poac.no\":!0,\"arna.no\":!0,\"brumunddal.no\":!0,\"bryne.no\":!0,\"bronnoysund.no\":!0,\"xn--brnnysund-m8ac.no\":!0,\"drobak.no\":!0,\"xn--drbak-wua.no\":!0,\"egersund.no\":!0,\"fetsund.no\":!0,\"floro.no\":!0,\"xn--flor-jra.no\":!0,\"fredrikstad.no\":!0,\"hokksund.no\":!0,\"honefoss.no\":!0,\"xn--hnefoss-q1a.no\":!0,\"jessheim.no\":!0,\"jorpeland.no\":!0,\"xn--jrpeland-54a.no\":!0,\"kirkenes.no\":!0,\"kopervik.no\":!0,\"krokstadelva.no\":!0,\"langevag.no\":!0,\"xn--langevg-jxa.no\":!0,\"leirvik.no\":!0,\"mjondalen.no\":!0,\"xn--mjndalen-64a.no\":!0,\"mo-i-rana.no\":!0,\"mosjoen.no\":!0,\"xn--mosjen-eya.no\":!0,\"nesoddtangen.no\":!0,\"orkanger.no\":!0,\"osoyro.no\":!0,\"xn--osyro-wua.no\":!0,\"raholt.no\":!0,\"xn--rholt-mra.no\":!0,\"sandnessjoen.no\":!0,\"xn--sandnessjen-ogb.no\":!0,\"skedsmokorset.no\":!0,\"slattum.no\":!0,\"spjelkavik.no\":!0,\"stathelle.no\":!0,\"stavern.no\":!0,\"stjordalshalsen.no\":!0,\"xn--stjrdalshalsen-sqb.no\":!0,\"tananger.no\":!0,\"tranby.no\":!0,\"vossevangen.no\":!0,\"afjord.no\":!0,\"xn--fjord-lra.no\":!0,\"agdenes.no\":!0,\"al.no\":!0,\"xn--l-1fa.no\":!0,\"alesund.no\":!0,\"xn--lesund-hua.no\":!0,\"alstahaug.no\":!0,\"alta.no\":!0,\"xn--lt-liac.no\":!0,\"alaheadju.no\":!0,\"xn--laheadju-7ya.no\":!0,\"alvdal.no\":!0,\"amli.no\":!0,\"xn--mli-tla.no\":!0,\"amot.no\":!0,\"xn--mot-tla.no\":!0,\"andebu.no\":!0,\"andoy.no\":!0,\"xn--andy-ira.no\":!0,\"andasuolo.no\":!0,\"ardal.no\":!0,\"xn--rdal-poa.no\":!0,\"aremark.no\":!0,\"arendal.no\":!0,\"xn--s-1fa.no\":!0,\"aseral.no\":!0,\"xn--seral-lra.no\":!0,\"asker.no\":!0,\"askim.no\":!0,\"askvoll.no\":!0,\"askoy.no\":!0,\"xn--asky-ira.no\":!0,\"asnes.no\":!0,\"xn--snes-poa.no\":!0,\"audnedaln.no\":!0,\"aukra.no\":!0,\"aure.no\":!0,\"aurland.no\":!0,\"aurskog-holand.no\":!0,\"xn--aurskog-hland-jnb.no\":!0,\"austevoll.no\":!0,\"austrheim.no\":!0,\"averoy.no\":!0,\"xn--avery-yua.no\":!0,\"balestrand.no\":!0,\"ballangen.no\":!0,\"balat.no\":!0,\"xn--blt-elab.no\":!0,\"balsfjord.no\":!0,\"bahccavuotna.no\":!0,\"xn--bhccavuotna-k7a.no\":!0,\"bamble.no\":!0,\"bardu.no\":!0,\"beardu.no\":!0,\"beiarn.no\":!0,\"bajddar.no\":!0,\"xn--bjddar-pta.no\":!0,\"baidar.no\":!0,\"xn--bidr-5nac.no\":!0,\"berg.no\":!0,\"bergen.no\":!0,\"berlevag.no\":!0,\"xn--berlevg-jxa.no\":!0,\"bearalvahki.no\":!0,\"xn--bearalvhki-y4a.no\":!0,\"bindal.no\":!0,\"birkenes.no\":!0,\"bjarkoy.no\":!0,\"xn--bjarky-fya.no\":!0,\"bjerkreim.no\":!0,\"bjugn.no\":!0,\"bodo.no\":!0,\"xn--bod-2na.no\":!0,\"badaddja.no\":!0,\"xn--bdddj-mrabd.no\":!0,\"budejju.no\":!0,\"bokn.no\":!0,\"bremanger.no\":!0,\"bronnoy.no\":!0,\"xn--brnny-wuac.no\":!0,\"bygland.no\":!0,\"bykle.no\":!0,\"barum.no\":!0,\"xn--brum-voa.no\":!0,\"bo.telemark.no\":!0,\"xn--b-5ga.telemark.no\":!0,\"bo.nordland.no\":!0,\"xn--b-5ga.nordland.no\":!0,\"bievat.no\":!0,\"xn--bievt-0qa.no\":!0,\"bomlo.no\":!0,\"xn--bmlo-gra.no\":!0,\"batsfjord.no\":!0,\"xn--btsfjord-9za.no\":!0,\"bahcavuotna.no\":!0,\"xn--bhcavuotna-s4a.no\":!0,\"dovre.no\":!0,\"drammen.no\":!0,\"drangedal.no\":!0,\"dyroy.no\":!0,\"xn--dyry-ira.no\":!0,\"donna.no\":!0,\"xn--dnna-gra.no\":!0,\"eid.no\":!0,\"eidfjord.no\":!0,\"eidsberg.no\":!0,\"eidskog.no\":!0,\"eidsvoll.no\":!0,\"eigersund.no\":!0,\"elverum.no\":!0,\"enebakk.no\":!0,\"engerdal.no\":!0,\"etne.no\":!0,\"etnedal.no\":!0,\"evenes.no\":!0,\"evenassi.no\":!0,\"xn--eveni-0qa01ga.no\":!0,\"evje-og-hornnes.no\":!0,\"farsund.no\":!0,\"fauske.no\":!0,\"fuossko.no\":!0,\"fuoisku.no\":!0,\"fedje.no\":!0,\"fet.no\":!0,\"finnoy.no\":!0,\"xn--finny-yua.no\":!0,\"fitjar.no\":!0,\"fjaler.no\":!0,\"fjell.no\":!0,\"flakstad.no\":!0,\"flatanger.no\":!0,\"flekkefjord.no\":!0,\"flesberg.no\":!0,\"flora.no\":!0,\"fla.no\":!0,\"xn--fl-zia.no\":!0,\"folldal.no\":!0,\"forsand.no\":!0,\"fosnes.no\":!0,\"frei.no\":!0,\"frogn.no\":!0,\"froland.no\":!0,\"frosta.no\":!0,\"frana.no\":!0,\"xn--frna-woa.no\":!0,\"froya.no\":!0,\"xn--frya-hra.no\":!0,\"fusa.no\":!0,\"fyresdal.no\":!0,\"forde.no\":!0,\"xn--frde-gra.no\":!0,\"gamvik.no\":!0,\"gangaviika.no\":!0,\"xn--ggaviika-8ya47h.no\":!0,\"gaular.no\":!0,\"gausdal.no\":!0,\"gildeskal.no\":!0,\"xn--gildeskl-g0a.no\":!0,\"giske.no\":!0,\"gjemnes.no\":!0,\"gjerdrum.no\":!0,\"gjerstad.no\":!0,\"gjesdal.no\":!0,\"gjovik.no\":!0,\"xn--gjvik-wua.no\":!0,\"gloppen.no\":!0,\"gol.no\":!0,\"gran.no\":!0,\"grane.no\":!0,\"granvin.no\":!0,\"gratangen.no\":!0,\"grimstad.no\":!0,\"grong.no\":!0,\"kraanghke.no\":!0,\"xn--kranghke-b0a.no\":!0,\"grue.no\":!0,\"gulen.no\":!0,\"hadsel.no\":!0,\"halden.no\":!0,\"halsa.no\":!0,\"hamar.no\":!0,\"hamaroy.no\":!0,\"habmer.no\":!0,\"xn--hbmer-xqa.no\":!0,\"hapmir.no\":!0,\"xn--hpmir-xqa.no\":!0,\"hammerfest.no\":!0,\"hammarfeasta.no\":!0,\"xn--hmmrfeasta-s4ac.no\":!0,\"haram.no\":!0,\"hareid.no\":!0,\"harstad.no\":!0,\"hasvik.no\":!0,\"aknoluokta.no\":!0,\"xn--koluokta-7ya57h.no\":!0,\"hattfjelldal.no\":!0,\"aarborte.no\":!0,\"haugesund.no\":!0,\"hemne.no\":!0,\"hemnes.no\":!0,\"hemsedal.no\":!0,\"heroy.more-og-romsdal.no\":!0,\"xn--hery-ira.xn--mre-og-romsdal-qqb.no\":!0,\"heroy.nordland.no\":!0,\"xn--hery-ira.nordland.no\":!0,\"hitra.no\":!0,\"hjartdal.no\":!0,\"hjelmeland.no\":!0,\"hobol.no\":!0,\"xn--hobl-ira.no\":!0,\"hof.no\":!0,\"hol.no\":!0,\"hole.no\":!0,\"holmestrand.no\":!0,\"holtalen.no\":!0,\"xn--holtlen-hxa.no\":!0,\"hornindal.no\":!0,\"horten.no\":!0,\"hurdal.no\":!0,\"hurum.no\":!0,\"hvaler.no\":!0,\"hyllestad.no\":!0,\"hagebostad.no\":!0,\"xn--hgebostad-g3a.no\":!0,\"hoyanger.no\":!0,\"xn--hyanger-q1a.no\":!0,\"hoylandet.no\":!0,\"xn--hylandet-54a.no\":!0,\"ha.no\":!0,\"xn--h-2fa.no\":!0,\"ibestad.no\":!0,\"inderoy.no\":!0,\"xn--indery-fya.no\":!0,\"iveland.no\":!0,\"jevnaker.no\":!0,\"jondal.no\":!0,\"jolster.no\":!0,\"xn--jlster-bya.no\":!0,\"karasjok.no\":!0,\"karasjohka.no\":!0,\"xn--krjohka-hwab49j.no\":!0,\"karlsoy.no\":!0,\"galsa.no\":!0,\"xn--gls-elac.no\":!0,\"karmoy.no\":!0,\"xn--karmy-yua.no\":!0,\"kautokeino.no\":!0,\"guovdageaidnu.no\":!0,\"klepp.no\":!0,\"klabu.no\":!0,\"xn--klbu-woa.no\":!0,\"kongsberg.no\":!0,\"kongsvinger.no\":!0,\"kragero.no\":!0,\"xn--krager-gya.no\":!0,\"kristiansand.no\":!0,\"kristiansund.no\":!0,\"krodsherad.no\":!0,\"xn--krdsherad-m8a.no\":!0,\"kvalsund.no\":!0,\"rahkkeravju.no\":!0,\"xn--rhkkervju-01af.no\":!0,\"kvam.no\":!0,\"kvinesdal.no\":!0,\"kvinnherad.no\":!0,\"kviteseid.no\":!0,\"kvitsoy.no\":!0,\"xn--kvitsy-fya.no\":!0,\"kvafjord.no\":!0,\"xn--kvfjord-nxa.no\":!0,\"giehtavuoatna.no\":!0,\"kvanangen.no\":!0,\"xn--kvnangen-k0a.no\":!0,\"navuotna.no\":!0,\"xn--nvuotna-hwa.no\":!0,\"kafjord.no\":!0,\"xn--kfjord-iua.no\":!0,\"gaivuotna.no\":!0,\"xn--givuotna-8ya.no\":!0,\"larvik.no\":!0,\"lavangen.no\":!0,\"lavagis.no\":!0,\"loabat.no\":!0,\"xn--loabt-0qa.no\":!0,\"lebesby.no\":!0,\"davvesiida.no\":!0,\"leikanger.no\":!0,\"leirfjord.no\":!0,\"leka.no\":!0,\"leksvik.no\":!0,\"lenvik.no\":!0,\"leangaviika.no\":!0,\"xn--leagaviika-52b.no\":!0,\"lesja.no\":!0,\"levanger.no\":!0,\"lier.no\":!0,\"lierne.no\":!0,\"lillehammer.no\":!0,\"lillesand.no\":!0,\"lindesnes.no\":!0,\"lindas.no\":!0,\"xn--linds-pra.no\":!0,\"lom.no\":!0,\"loppa.no\":!0,\"lahppi.no\":!0,\"xn--lhppi-xqa.no\":!0,\"lund.no\":!0,\"lunner.no\":!0,\"luroy.no\":!0,\"xn--lury-ira.no\":!0,\"luster.no\":!0,\"lyngdal.no\":!0,\"lyngen.no\":!0,\"ivgu.no\":!0,\"lardal.no\":!0,\"lerdal.no\":!0,\"xn--lrdal-sra.no\":!0,\"lodingen.no\":!0,\"xn--ldingen-q1a.no\":!0,\"lorenskog.no\":!0,\"xn--lrenskog-54a.no\":!0,\"loten.no\":!0,\"xn--lten-gra.no\":!0,\"malvik.no\":!0,\"masoy.no\":!0,\"xn--msy-ula0h.no\":!0,\"muosat.no\":!0,\"xn--muost-0qa.no\":!0,\"mandal.no\":!0,\"marker.no\":!0,\"marnardal.no\":!0,\"masfjorden.no\":!0,\"meland.no\":!0,\"meldal.no\":!0,\"melhus.no\":!0,\"meloy.no\":!0,\"xn--mely-ira.no\":!0,\"meraker.no\":!0,\"xn--merker-kua.no\":!0,\"moareke.no\":!0,\"xn--moreke-jua.no\":!0,\"midsund.no\":!0,\"midtre-gauldal.no\":!0,\"modalen.no\":!0,\"modum.no\":!0,\"molde.no\":!0,\"moskenes.no\":!0,\"moss.no\":!0,\"mosvik.no\":!0,\"malselv.no\":!0,\"xn--mlselv-iua.no\":!0,\"malatvuopmi.no\":!0,\"xn--mlatvuopmi-s4a.no\":!0,\"namdalseid.no\":!0,\"aejrie.no\":!0,\"namsos.no\":!0,\"namsskogan.no\":!0,\"naamesjevuemie.no\":!0,\"xn--nmesjevuemie-tcba.no\":!0,\"laakesvuemie.no\":!0,\"nannestad.no\":!0,\"narvik.no\":!0,\"narviika.no\":!0,\"naustdal.no\":!0,\"nedre-eiker.no\":!0,\"nes.akershus.no\":!0,\"nes.buskerud.no\":!0,\"nesna.no\":!0,\"nesodden.no\":!0,\"nesseby.no\":!0,\"unjarga.no\":!0,\"xn--unjrga-rta.no\":!0,\"nesset.no\":!0,\"nissedal.no\":!0,\"nittedal.no\":!0,\"nord-aurdal.no\":!0,\"nord-fron.no\":!0,\"nord-odal.no\":!0,\"norddal.no\":!0,\"nordkapp.no\":!0,\"davvenjarga.no\":!0,\"xn--davvenjrga-y4a.no\":!0,\"nordre-land.no\":!0,\"nordreisa.no\":!0,\"raisa.no\":!0,\"xn--risa-5na.no\":!0,\"nore-og-uvdal.no\":!0,\"notodden.no\":!0,\"naroy.no\":!0,\"xn--nry-yla5g.no\":!0,\"notteroy.no\":!0,\"xn--nttery-byae.no\":!0,\"odda.no\":!0,\"oksnes.no\":!0,\"xn--ksnes-uua.no\":!0,\"oppdal.no\":!0,\"oppegard.no\":!0,\"xn--oppegrd-ixa.no\":!0,\"orkdal.no\":!0,\"orland.no\":!0,\"xn--rland-uua.no\":!0,\"orskog.no\":!0,\"xn--rskog-uua.no\":!0,\"orsta.no\":!0,\"xn--rsta-fra.no\":!0,\"os.hedmark.no\":!0,\"os.hordaland.no\":!0,\"osen.no\":!0,\"osteroy.no\":!0,\"xn--ostery-fya.no\":!0,\"ostre-toten.no\":!0,\"xn--stre-toten-zcb.no\":!0,\"overhalla.no\":!0,\"ovre-eiker.no\":!0,\"xn--vre-eiker-k8a.no\":!0,\"oyer.no\":!0,\"xn--yer-zna.no\":!0,\"oygarden.no\":!0,\"xn--ygarden-p1a.no\":!0,\"oystre-slidre.no\":!0,\"xn--ystre-slidre-ujb.no\":!0,\"porsanger.no\":!0,\"porsangu.no\":!0,\"xn--porsgu-sta26f.no\":!0,\"porsgrunn.no\":!0,\"radoy.no\":!0,\"xn--rady-ira.no\":!0,\"rakkestad.no\":!0,\"rana.no\":!0,\"ruovat.no\":!0,\"randaberg.no\":!0,\"rauma.no\":!0,\"rendalen.no\":!0,\"rennebu.no\":!0,\"rennesoy.no\":!0,\"xn--rennesy-v1a.no\":!0,\"rindal.no\":!0,\"ringebu.no\":!0,\"ringerike.no\":!0,\"ringsaker.no\":!0,\"rissa.no\":!0,\"risor.no\":!0,\"xn--risr-ira.no\":!0,\"roan.no\":!0,\"rollag.no\":!0,\"rygge.no\":!0,\"ralingen.no\":!0,\"xn--rlingen-mxa.no\":!0,\"rodoy.no\":!0,\"xn--rdy-0nab.no\":!0,\"romskog.no\":!0,\"xn--rmskog-bya.no\":!0,\"roros.no\":!0,\"xn--rros-gra.no\":!0,\"rost.no\":!0,\"xn--rst-0na.no\":!0,\"royken.no\":!0,\"xn--ryken-vua.no\":!0,\"royrvik.no\":!0,\"xn--ryrvik-bya.no\":!0,\"rade.no\":!0,\"xn--rde-ula.no\":!0,\"salangen.no\":!0,\"siellak.no\":!0,\"saltdal.no\":!0,\"salat.no\":!0,\"xn--slt-elab.no\":!0,\"xn--slat-5na.no\":!0,\"samnanger.no\":!0,\"sande.more-og-romsdal.no\":!0,\"sande.xn--mre-og-romsdal-qqb.no\":!0,\"sande.vestfold.no\":!0,\"sandefjord.no\":!0,\"sandnes.no\":!0,\"sandoy.no\":!0,\"xn--sandy-yua.no\":!0,\"sarpsborg.no\":!0,\"sauda.no\":!0,\"sauherad.no\":!0,\"sel.no\":!0,\"selbu.no\":!0,\"selje.no\":!0,\"seljord.no\":!0,\"sigdal.no\":!0,\"siljan.no\":!0,\"sirdal.no\":!0,\"skaun.no\":!0,\"skedsmo.no\":!0,\"ski.no\":!0,\"skien.no\":!0,\"skiptvet.no\":!0,\"skjervoy.no\":!0,\"xn--skjervy-v1a.no\":!0,\"skierva.no\":!0,\"xn--skierv-uta.no\":!0,\"skjak.no\":!0,\"xn--skjk-soa.no\":!0,\"skodje.no\":!0,\"skanland.no\":!0,\"xn--sknland-fxa.no\":!0,\"skanit.no\":!0,\"xn--sknit-yqa.no\":!0,\"smola.no\":!0,\"xn--smla-hra.no\":!0,\"snillfjord.no\":!0,\"snasa.no\":!0,\"xn--snsa-roa.no\":!0,\"snoasa.no\":!0,\"snaase.no\":!0,\"xn--snase-nra.no\":!0,\"sogndal.no\":!0,\"sokndal.no\":!0,\"sola.no\":!0,\"solund.no\":!0,\"songdalen.no\":!0,\"sortland.no\":!0,\"spydeberg.no\":!0,\"stange.no\":!0,\"stavanger.no\":!0,\"steigen.no\":!0,\"steinkjer.no\":!0,\"stjordal.no\":!0,\"xn--stjrdal-s1a.no\":!0,\"stokke.no\":!0,\"stor-elvdal.no\":!0,\"stord.no\":!0,\"stordal.no\":!0,\"storfjord.no\":!0,\"omasvuotna.no\":!0,\"strand.no\":!0,\"stranda.no\":!0,\"stryn.no\":!0,\"sula.no\":!0,\"suldal.no\":!0,\"sund.no\":!0,\"sunndal.no\":!0,\"surnadal.no\":!0,\"sveio.no\":!0,\"svelvik.no\":!0,\"sykkylven.no\":!0,\"sogne.no\":!0,\"xn--sgne-gra.no\":!0,\"somna.no\":!0,\"xn--smna-gra.no\":!0,\"sondre-land.no\":!0,\"xn--sndre-land-0cb.no\":!0,\"sor-aurdal.no\":!0,\"xn--sr-aurdal-l8a.no\":!0,\"sor-fron.no\":!0,\"xn--sr-fron-q1a.no\":!0,\"sor-odal.no\":!0,\"xn--sr-odal-q1a.no\":!0,\"sor-varanger.no\":!0,\"xn--sr-varanger-ggb.no\":!0,\"matta-varjjat.no\":!0,\"xn--mtta-vrjjat-k7af.no\":!0,\"sorfold.no\":!0,\"xn--srfold-bya.no\":!0,\"sorreisa.no\":!0,\"xn--srreisa-q1a.no\":!0,\"sorum.no\":!0,\"xn--srum-gra.no\":!0,\"tana.no\":!0,\"deatnu.no\":!0,\"time.no\":!0,\"tingvoll.no\":!0,\"tinn.no\":!0,\"tjeldsund.no\":!0,\"dielddanuorri.no\":!0,\"tjome.no\":!0,\"xn--tjme-hra.no\":!0,\"tokke.no\":!0,\"tolga.no\":!0,\"torsken.no\":!0,\"tranoy.no\":!0,\"xn--trany-yua.no\":!0,\"tromso.no\":!0,\"xn--troms-zua.no\":!0,\"tromsa.no\":!0,\"romsa.no\":!0,\"trondheim.no\":!0,\"troandin.no\":!0,\"trysil.no\":!0,\"trana.no\":!0,\"xn--trna-woa.no\":!0,\"trogstad.no\":!0,\"xn--trgstad-r1a.no\":!0,\"tvedestrand.no\":!0,\"tydal.no\":!0,\"tynset.no\":!0,\"tysfjord.no\":!0,\"divtasvuodna.no\":!0,\"divttasvuotna.no\":!0,\"tysnes.no\":!0,\"tysvar.no\":!0,\"xn--tysvr-vra.no\":!0,\"tonsberg.no\":!0,\"xn--tnsberg-q1a.no\":!0,\"ullensaker.no\":!0,\"ullensvang.no\":!0,\"ulvik.no\":!0,\"utsira.no\":!0,\"vadso.no\":!0,\"xn--vads-jra.no\":!0,\"cahcesuolo.no\":!0,\"xn--hcesuolo-7ya35b.no\":!0,\"vaksdal.no\":!0,\"valle.no\":!0,\"vang.no\":!0,\"vanylven.no\":!0,\"vardo.no\":!0,\"xn--vard-jra.no\":!0,\"varggat.no\":!0,\"xn--vrggt-xqad.no\":!0,\"vefsn.no\":!0,\"vaapste.no\":!0,\"vega.no\":!0,\"vegarshei.no\":!0,\"xn--vegrshei-c0a.no\":!0,\"vennesla.no\":!0,\"verdal.no\":!0,\"verran.no\":!0,\"vestby.no\":!0,\"vestnes.no\":!0,\"vestre-slidre.no\":!0,\"vestre-toten.no\":!0,\"vestvagoy.no\":!0,\"xn--vestvgy-ixa6o.no\":!0,\"vevelstad.no\":!0,\"vik.no\":!0,\"vikna.no\":!0,\"vindafjord.no\":!0,\"volda.no\":!0,\"voss.no\":!0,\"varoy.no\":!0,\"xn--vry-yla5g.no\":!0,\"vagan.no\":!0,\"xn--vgan-qoa.no\":!0,\"voagat.no\":!0,\"vagsoy.no\":!0,\"xn--vgsy-qoa0j.no\":!0,\"vaga.no\":!0,\"xn--vg-yiab.no\":!0,\"valer.ostfold.no\":!0,\"xn--vler-qoa.xn--stfold-9xa.no\":!0,\"valer.hedmark.no\":!0,\"xn--vler-qoa.hedmark.no\":!0,\"*.np\":!0,nr:!0,\"biz.nr\":!0,\"info.nr\":!0,\"gov.nr\":!0,\"edu.nr\":!0,\"org.nr\":!0,\"net.nr\":!0,\"com.nr\":!0,nu:!0,nz:!0,\"ac.nz\":!0,\"co.nz\":!0,\"cri.nz\":!0,\"geek.nz\":!0,\"gen.nz\":!0,\"govt.nz\":!0,\"health.nz\":!0,\"iwi.nz\":!0,\"kiwi.nz\":!0,\"maori.nz\":!0,\"mil.nz\":!0,\"xn--mori-qsa.nz\":!0,\"net.nz\":!0,\"org.nz\":!0,\"parliament.nz\":!0,\"school.nz\":!0,om:!0,\"co.om\":!0,\"com.om\":!0,\"edu.om\":!0,\"gov.om\":!0,\"med.om\":!0,\"museum.om\":!0,\"net.om\":!0,\"org.om\":!0,\"pro.om\":!0,org:!0,pa:!0,\"ac.pa\":!0,\"gob.pa\":!0,\"com.pa\":!0,\"org.pa\":!0,\"sld.pa\":!0,\"edu.pa\":!0,\"net.pa\":!0,\"ing.pa\":!0,\"abo.pa\":!0,\"med.pa\":!0,\"nom.pa\":!0,pe:!0,\"edu.pe\":!0,\"gob.pe\":!0,\"nom.pe\":!0,\"mil.pe\":!0,\"org.pe\":!0,\"com.pe\":!0,\"net.pe\":!0,pf:!0,\"com.pf\":!0,\"org.pf\":!0,\"edu.pf\":!0,\"*.pg\":!0,ph:!0,\"com.ph\":!0,\"net.ph\":!0,\"org.ph\":!0,\"gov.ph\":!0,\"edu.ph\":!0,\"ngo.ph\":!0,\"mil.ph\":!0,\"i.ph\":!0,pk:!0,\"com.pk\":!0,\"net.pk\":!0,\"edu.pk\":!0,\"org.pk\":!0,\"fam.pk\":!0,\"biz.pk\":!0,\"web.pk\":!0,\"gov.pk\":!0,\"gob.pk\":!0,\"gok.pk\":!0,\"gon.pk\":!0,\"gop.pk\":!0,\"gos.pk\":!0,\"info.pk\":!0,pl:!0,\"com.pl\":!0,\"net.pl\":!0,\"org.pl\":!0,\"aid.pl\":!0,\"agro.pl\":!0,\"atm.pl\":!0,\"auto.pl\":!0,\"biz.pl\":!0,\"edu.pl\":!0,\"gmina.pl\":!0,\"gsm.pl\":!0,\"info.pl\":!0,\"mail.pl\":!0,\"miasta.pl\":!0,\"media.pl\":!0,\"mil.pl\":!0,\"nieruchomosci.pl\":!0,\"nom.pl\":!0,\"pc.pl\":!0,\"powiat.pl\":!0,\"priv.pl\":!0,\"realestate.pl\":!0,\"rel.pl\":!0,\"sex.pl\":!0,\"shop.pl\":!0,\"sklep.pl\":!0,\"sos.pl\":!0,\"szkola.pl\":!0,\"targi.pl\":!0,\"tm.pl\":!0,\"tourism.pl\":!0,\"travel.pl\":!0,\"turystyka.pl\":!0,\"gov.pl\":!0,\"ap.gov.pl\":!0,\"ic.gov.pl\":!0,\"is.gov.pl\":!0,\"us.gov.pl\":!0,\"kmpsp.gov.pl\":!0,\"kppsp.gov.pl\":!0,\"kwpsp.gov.pl\":!0,\"psp.gov.pl\":!0,\"wskr.gov.pl\":!0,\"kwp.gov.pl\":!0,\"mw.gov.pl\":!0,\"ug.gov.pl\":!0,\"um.gov.pl\":!0,\"umig.gov.pl\":!0,\"ugim.gov.pl\":!0,\"upow.gov.pl\":!0,\"uw.gov.pl\":!0,\"starostwo.gov.pl\":!0,\"pa.gov.pl\":!0,\"po.gov.pl\":!0,\"psse.gov.pl\":!0,\"pup.gov.pl\":!0,\"rzgw.gov.pl\":!0,\"sa.gov.pl\":!0,\"so.gov.pl\":!0,\"sr.gov.pl\":!0,\"wsa.gov.pl\":!0,\"sko.gov.pl\":!0,\"uzs.gov.pl\":!0,\"wiih.gov.pl\":!0,\"winb.gov.pl\":!0,\"pinb.gov.pl\":!0,\"wios.gov.pl\":!0,\"witd.gov.pl\":!0,\"wzmiuw.gov.pl\":!0,\"piw.gov.pl\":!0,\"wiw.gov.pl\":!0,\"griw.gov.pl\":!0,\"wif.gov.pl\":!0,\"oum.gov.pl\":!0,\"sdn.gov.pl\":!0,\"zp.gov.pl\":!0,\"uppo.gov.pl\":!0,\"mup.gov.pl\":!0,\"wuoz.gov.pl\":!0,\"konsulat.gov.pl\":!0,\"oirm.gov.pl\":!0,\"augustow.pl\":!0,\"babia-gora.pl\":!0,\"bedzin.pl\":!0,\"beskidy.pl\":!0,\"bialowieza.pl\":!0,\"bialystok.pl\":!0,\"bielawa.pl\":!0,\"bieszczady.pl\":!0,\"boleslawiec.pl\":!0,\"bydgoszcz.pl\":!0,\"bytom.pl\":!0,\"cieszyn.pl\":!0,\"czeladz.pl\":!0,\"czest.pl\":!0,\"dlugoleka.pl\":!0,\"elblag.pl\":!0,\"elk.pl\":!0,\"glogow.pl\":!0,\"gniezno.pl\":!0,\"gorlice.pl\":!0,\"grajewo.pl\":!0,\"ilawa.pl\":!0,\"jaworzno.pl\":!0,\"jelenia-gora.pl\":!0,\"jgora.pl\":!0,\"kalisz.pl\":!0,\"kazimierz-dolny.pl\":!0,\"karpacz.pl\":!0,\"kartuzy.pl\":!0,\"kaszuby.pl\":!0,\"katowice.pl\":!0,\"kepno.pl\":!0,\"ketrzyn.pl\":!0,\"klodzko.pl\":!0,\"kobierzyce.pl\":!0,\"kolobrzeg.pl\":!0,\"konin.pl\":!0,\"konskowola.pl\":!0,\"kutno.pl\":!0,\"lapy.pl\":!0,\"lebork.pl\":!0,\"legnica.pl\":!0,\"lezajsk.pl\":!0,\"limanowa.pl\":!0,\"lomza.pl\":!0,\"lowicz.pl\":!0,\"lubin.pl\":!0,\"lukow.pl\":!0,\"malbork.pl\":!0,\"malopolska.pl\":!0,\"mazowsze.pl\":!0,\"mazury.pl\":!0,\"mielec.pl\":!0,\"mielno.pl\":!0,\"mragowo.pl\":!0,\"naklo.pl\":!0,\"nowaruda.pl\":!0,\"nysa.pl\":!0,\"olawa.pl\":!0,\"olecko.pl\":!0,\"olkusz.pl\":!0,\"olsztyn.pl\":!0,\"opoczno.pl\":!0,\"opole.pl\":!0,\"ostroda.pl\":!0,\"ostroleka.pl\":!0,\"ostrowiec.pl\":!0,\"ostrowwlkp.pl\":!0,\"pila.pl\":!0,\"pisz.pl\":!0,\"podhale.pl\":!0,\"podlasie.pl\":!0,\"polkowice.pl\":!0,\"pomorze.pl\":!0,\"pomorskie.pl\":!0,\"prochowice.pl\":!0,\"pruszkow.pl\":!0,\"przeworsk.pl\":!0,\"pulawy.pl\":!0,\"radom.pl\":!0,\"rawa-maz.pl\":!0,\"rybnik.pl\":!0,\"rzeszow.pl\":!0,\"sanok.pl\":!0,\"sejny.pl\":!0,\"slask.pl\":!0,\"slupsk.pl\":!0,\"sosnowiec.pl\":!0,\"stalowa-wola.pl\":!0,\"skoczow.pl\":!0,\"starachowice.pl\":!0,\"stargard.pl\":!0,\"suwalki.pl\":!0,\"swidnica.pl\":!0,\"swiebodzin.pl\":!0,\"swinoujscie.pl\":!0,\"szczecin.pl\":!0,\"szczytno.pl\":!0,\"tarnobrzeg.pl\":!0,\"tgory.pl\":!0,\"turek.pl\":!0,\"tychy.pl\":!0,\"ustka.pl\":!0,\"walbrzych.pl\":!0,\"warmia.pl\":!0,\"warszawa.pl\":!0,\"waw.pl\":!0,\"wegrow.pl\":!0,\"wielun.pl\":!0,\"wlocl.pl\":!0,\"wloclawek.pl\":!0,\"wodzislaw.pl\":!0,\"wolomin.pl\":!0,\"wroclaw.pl\":!0,\"zachpomor.pl\":!0,\"zagan.pl\":!0,\"zarow.pl\":!0,\"zgora.pl\":!0,\"zgorzelec.pl\":!0,pm:!0,pn:!0,\"gov.pn\":!0,\"co.pn\":!0,\"org.pn\":!0,\"edu.pn\":!0,\"net.pn\":!0,post:!0,pr:!0,\"com.pr\":!0,\"net.pr\":!0,\"org.pr\":!0,\"gov.pr\":!0,\"edu.pr\":!0,\"isla.pr\":!0,\"pro.pr\":!0,\"biz.pr\":!0,\"info.pr\":!0,\"name.pr\":!0,\"est.pr\":!0,\"prof.pr\":!0,\"ac.pr\":!0,pro:!0,\"aca.pro\":!0,\"bar.pro\":!0,\"cpa.pro\":!0,\"jur.pro\":!0,\"law.pro\":!0,\"med.pro\":!0,\"eng.pro\":!0,ps:!0,\"edu.ps\":!0,\"gov.ps\":!0,\"sec.ps\":!0,\"plo.ps\":!0,\"com.ps\":!0,\"org.ps\":!0,\"net.ps\":!0,pt:!0,\"net.pt\":!0,\"gov.pt\":!0,\"org.pt\":!0,\"edu.pt\":!0,\"int.pt\":!0,\"publ.pt\":!0,\"com.pt\":!0,\"nome.pt\":!0,pw:!0,\"co.pw\":!0,\"ne.pw\":!0,\"or.pw\":!0,\"ed.pw\":!0,\"go.pw\":!0,\"belau.pw\":!0,py:!0,\"com.py\":!0,\"coop.py\":!0,\"edu.py\":!0,\"gov.py\":!0,\"mil.py\":!0,\"net.py\":!0,\"org.py\":!0,qa:!0,\"com.qa\":!0,\"edu.qa\":!0,\"gov.qa\":!0,\"mil.qa\":!0,\"name.qa\":!0,\"net.qa\":!0,\"org.qa\":!0,\"sch.qa\":!0,re:!0,\"com.re\":!0,\"asso.re\":!0,\"nom.re\":!0,ro:!0,\"com.ro\":!0,\"org.ro\":!0,\"tm.ro\":!0,\"nt.ro\":!0,\"nom.ro\":!0,\"info.ro\":!0,\"rec.ro\":!0,\"arts.ro\":!0,\"firm.ro\":!0,\"store.ro\":!0,\"www.ro\":!0,rs:!0,\"co.rs\":!0,\"org.rs\":!0,\"edu.rs\":!0,\"ac.rs\":!0,\"gov.rs\":!0,\"in.rs\":!0,ru:!0,\"ac.ru\":!0,\"com.ru\":!0,\"edu.ru\":!0,\"int.ru\":!0,\"net.ru\":!0,\"org.ru\":!0,\"pp.ru\":!0,\"adygeya.ru\":!0,\"altai.ru\":!0,\"amur.ru\":!0,\"arkhangelsk.ru\":!0,\"astrakhan.ru\":!0,\"bashkiria.ru\":!0,\"belgorod.ru\":!0,\"bir.ru\":!0,\"bryansk.ru\":!0,\"buryatia.ru\":!0,\"cbg.ru\":!0,\"chel.ru\":!0,\"chelyabinsk.ru\":!0,\"chita.ru\":!0,\"chukotka.ru\":!0,\"chuvashia.ru\":!0,\"dagestan.ru\":!0,\"dudinka.ru\":!0,\"e-burg.ru\":!0,\"grozny.ru\":!0,\"irkutsk.ru\":!0,\"ivanovo.ru\":!0,\"izhevsk.ru\":!0,\"jar.ru\":!0,\"joshkar-ola.ru\":!0,\"kalmykia.ru\":!0,\"kaluga.ru\":!0,\"kamchatka.ru\":!0,\"karelia.ru\":!0,\"kazan.ru\":!0,\"kchr.ru\":!0,\"kemerovo.ru\":!0,\"khabarovsk.ru\":!0,\"khakassia.ru\":!0,\"khv.ru\":!0,\"kirov.ru\":!0,\"koenig.ru\":!0,\"komi.ru\":!0,\"kostroma.ru\":!0,\"krasnoyarsk.ru\":!0,\"kuban.ru\":!0,\"kurgan.ru\":!0,\"kursk.ru\":!0,\"lipetsk.ru\":!0,\"magadan.ru\":!0,\"mari.ru\":!0,\"mari-el.ru\":!0,\"marine.ru\":!0,\"mordovia.ru\":!0,\"msk.ru\":!0,\"murmansk.ru\":!0,\"nalchik.ru\":!0,\"nnov.ru\":!0,\"nov.ru\":!0,\"novosibirsk.ru\":!0,\"nsk.ru\":!0,\"omsk.ru\":!0,\"orenburg.ru\":!0,\"oryol.ru\":!0,\"palana.ru\":!0,\"penza.ru\":!0,\"perm.ru\":!0,\"ptz.ru\":!0,\"rnd.ru\":!0,\"ryazan.ru\":!0,\"sakhalin.ru\":!0,\"samara.ru\":!0,\"saratov.ru\":!0,\"simbirsk.ru\":!0,\"smolensk.ru\":!0,\"spb.ru\":!0,\"stavropol.ru\":!0,\"stv.ru\":!0,\"surgut.ru\":!0,\"tambov.ru\":!0,\"tatarstan.ru\":!0,\"tom.ru\":!0,\"tomsk.ru\":!0,\"tsaritsyn.ru\":!0,\"tsk.ru\":!0,\"tula.ru\":!0,\"tuva.ru\":!0,\"tver.ru\":!0,\"tyumen.ru\":!0,\"udm.ru\":!0,\"udmurtia.ru\":!0,\"ulan-ude.ru\":!0,\"vladikavkaz.ru\":!0,\"vladimir.ru\":!0,\"vladivostok.ru\":!0,\"volgograd.ru\":!0,\"vologda.ru\":!0,\"voronezh.ru\":!0,\"vrn.ru\":!0,\"vyatka.ru\":!0,\"yakutia.ru\":!0,\"yamal.ru\":!0,\"yaroslavl.ru\":!0,\"yekaterinburg.ru\":!0,\"yuzhno-sakhalinsk.ru\":!0,\"amursk.ru\":!0,\"baikal.ru\":!0,\"cmw.ru\":!0,\"fareast.ru\":!0,\"jamal.ru\":!0,\"kms.ru\":!0,\"k-uralsk.ru\":!0,\"kustanai.ru\":!0,\"kuzbass.ru\":!0,\"magnitka.ru\":!0,\"mytis.ru\":!0,\"nakhodka.ru\":!0,\"nkz.ru\":!0,\"norilsk.ru\":!0,\"oskol.ru\":!0,\"pyatigorsk.ru\":!0,\"rubtsovsk.ru\":!0,\"snz.ru\":!0,\"syzran.ru\":!0,\"vdonsk.ru\":!0,\"zgrad.ru\":!0,\"gov.ru\":!0,\"mil.ru\":!0,\"test.ru\":!0,rw:!0,\"gov.rw\":!0,\"net.rw\":!0,\"edu.rw\":!0,\"ac.rw\":!0,\"com.rw\":!0,\"co.rw\":!0,\"int.rw\":!0,\"mil.rw\":!0,\"gouv.rw\":!0,sa:!0,\"com.sa\":!0,\"net.sa\":!0,\"org.sa\":!0,\"gov.sa\":!0,\"med.sa\":!0,\"pub.sa\":!0,\"edu.sa\":!0,\"sch.sa\":!0,sb:!0,\"com.sb\":!0,\"edu.sb\":!0,\"gov.sb\":!0,\"net.sb\":!0,\"org.sb\":!0,sc:!0,\"com.sc\":!0,\"gov.sc\":!0,\"net.sc\":!0,\"org.sc\":!0,\"edu.sc\":!0,sd:!0,\"com.sd\":!0,\"net.sd\":!0,\"org.sd\":!0,\"edu.sd\":!0,\"med.sd\":!0,\"tv.sd\":!0,\"gov.sd\":!0,\"info.sd\":!0,se:!0,\"a.se\":!0,\"ac.se\":!0,\"b.se\":!0,\"bd.se\":!0,\"brand.se\":!0,\"c.se\":!0,\"d.se\":!0,\"e.se\":!0,\"f.se\":!0,\"fh.se\":!0,\"fhsk.se\":!0,\"fhv.se\":!0,\"g.se\":!0,\"h.se\":!0,\"i.se\":!0,\"k.se\":!0,\"komforb.se\":!0,\"kommunalforbund.se\":!0,\"komvux.se\":!0,\"l.se\":!0,\"lanbib.se\":!0,\"m.se\":!0,\"n.se\":!0,\"naturbruksgymn.se\":!0,\"o.se\":!0,\"org.se\":!0,\"p.se\":!0,\"parti.se\":!0,\"pp.se\":!0,\"press.se\":!0,\"r.se\":!0,\"s.se\":!0,\"t.se\":!0,\"tm.se\":!0,\"u.se\":!0,\"w.se\":!0,\"x.se\":!0,\"y.se\":!0,\"z.se\":!0,sg:!0,\"com.sg\":!0,\"net.sg\":!0,\"org.sg\":!0,\"gov.sg\":!0,\"edu.sg\":!0,\"per.sg\":!0,sh:!0,\"com.sh\":!0,\"net.sh\":!0,\"gov.sh\":!0,\"org.sh\":!0,\"mil.sh\":!0,si:!0,sj:!0,sk:!0,sl:!0,\"com.sl\":!0,\"net.sl\":!0,\"edu.sl\":!0,\"gov.sl\":!0,\"org.sl\":!0,sm:!0,sn:!0,\"art.sn\":!0,\"com.sn\":!0,\"edu.sn\":!0,\"gouv.sn\":!0,\"org.sn\":!0,\"perso.sn\":!0,\"univ.sn\":!0,so:!0,\"com.so\":!0,\"net.so\":!0,\"org.so\":!0,sr:!0,st:!0,\"co.st\":!0,\"com.st\":!0,\"consulado.st\":!0,\"edu.st\":!0,\"embaixada.st\":!0,\"gov.st\":!0,\"mil.st\":!0,\"net.st\":!0,\"org.st\":!0,\"principe.st\":!0,\"saotome.st\":!0,\"store.st\":!0,su:!0,\"adygeya.su\":!0,\"arkhangelsk.su\":!0,\"balashov.su\":!0,\"bashkiria.su\":!0,\"bryansk.su\":!0,\"dagestan.su\":!0,\"grozny.su\":!0,\"ivanovo.su\":!0,\"kalmykia.su\":!0,\"kaluga.su\":!0,\"karelia.su\":!0,\"khakassia.su\":!0,\"krasnodar.su\":!0,\"kurgan.su\":!0,\"lenug.su\":!0,\"mordovia.su\":!0,\"msk.su\":!0,\"murmansk.su\":!0,\"nalchik.su\":!0,\"nov.su\":!0,\"obninsk.su\":!0,\"penza.su\":!0,\"pokrovsk.su\":!0,\"sochi.su\":!0,\"spb.su\":!0,\"togliatti.su\":!0,\"troitsk.su\":!0,\"tula.su\":!0,\"tuva.su\":!0,\"vladikavkaz.su\":!0,\"vladimir.su\":!0,\"vologda.su\":!0,sv:!0,\"com.sv\":!0,\"edu.sv\":!0,\"gob.sv\":!0,\"org.sv\":!0,\"red.sv\":!0,sx:!0,\"gov.sx\":!0,sy:!0,\"edu.sy\":!0,\"gov.sy\":!0,\"net.sy\":!0,\"mil.sy\":!0,\"com.sy\":!0,\"org.sy\":!0,sz:!0,\"co.sz\":!0,\"ac.sz\":!0,\"org.sz\":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,\"ac.th\":!0,\"co.th\":!0,\"go.th\":!0,\"in.th\":!0,\"mi.th\":!0,\"net.th\":!0,\"or.th\":!0,tj:!0,\"ac.tj\":!0,\"biz.tj\":!0,\"co.tj\":!0,\"com.tj\":!0,\"edu.tj\":!0,\"go.tj\":!0,\"gov.tj\":!0,\"int.tj\":!0,\"mil.tj\":!0,\"name.tj\":!0,\"net.tj\":!0,\"nic.tj\":!0,\"org.tj\":!0,\"test.tj\":!0,\"web.tj\":!0,tk:!0,tl:!0,\"gov.tl\":!0,tm:!0,\"com.tm\":!0,\"co.tm\":!0,\"org.tm\":!0,\"net.tm\":!0,\"nom.tm\":!0,\"gov.tm\":!0,\"mil.tm\":!0,\"edu.tm\":!0,tn:!0,\"com.tn\":!0,\"ens.tn\":!0,\"fin.tn\":!0,\"gov.tn\":!0,\"ind.tn\":!0,\"intl.tn\":!0,\"nat.tn\":!0,\"net.tn\":!0,\"org.tn\":!0,\"info.tn\":!0,\"perso.tn\":!0,\"tourism.tn\":!0,\"edunet.tn\":!0,\"rnrt.tn\":!0,\"rns.tn\":!0,\"rnu.tn\":!0,\"mincom.tn\":!0,\"agrinet.tn\":!0,\"defense.tn\":!0,\"turen.tn\":!0,to:!0,\"com.to\":!0,\"gov.to\":!0,\"net.to\":!0,\"org.to\":!0,\"edu.to\":!0,\"mil.to\":!0,tp:!0,tr:!0,\"com.tr\":!0,\"info.tr\":!0,\"biz.tr\":!0,\"net.tr\":!0,\"org.tr\":!0,\"web.tr\":!0,\"gen.tr\":!0,\"tv.tr\":!0,\"av.tr\":!0,\"dr.tr\":!0,\"bbs.tr\":!0,\"name.tr\":!0,\"tel.tr\":!0,\"gov.tr\":!0,\"bel.tr\":!0,\"pol.tr\":!0,\"mil.tr\":!0,\"k12.tr\":!0,\"edu.tr\":!0,\"kep.tr\":!0,\"nc.tr\":!0,\"gov.nc.tr\":!0,travel:!0,tt:!0,\"co.tt\":!0,\"com.tt\":!0,\"org.tt\":!0,\"net.tt\":!0,\"biz.tt\":!0,\"info.tt\":!0,\"pro.tt\":!0,\"int.tt\":!0,\"coop.tt\":!0,\"jobs.tt\":!0,\"mobi.tt\":!0,\"travel.tt\":!0,\"museum.tt\":!0,\"aero.tt\":!0,\"name.tt\":!0,\"gov.tt\":!0,\"edu.tt\":!0,tv:!0,tw:!0,\"edu.tw\":!0,\"gov.tw\":!0,\"mil.tw\":!0,\"com.tw\":!0,\"net.tw\":!0,\"org.tw\":!0,\"idv.tw\":!0,\"game.tw\":!0,\"ebiz.tw\":!0,\"club.tw\":!0,\"xn--zf0ao64a.tw\":!0,\"xn--uc0atv.tw\":!0,\"xn--czrw28b.tw\":!0,tz:!0,\"ac.tz\":!0,\"co.tz\":!0,\"go.tz\":!0,\"hotel.tz\":!0,\"info.tz\":!0,\"me.tz\":!0,\"mil.tz\":!0,\"mobi.tz\":!0,\"ne.tz\":!0,\"or.tz\":!0,\"sc.tz\":!0,\"tv.tz\":!0,ua:!0,\"com.ua\":!0,\"edu.ua\":!0,\"gov.ua\":!0,\"in.ua\":!0,\"net.ua\":!0,\"org.ua\":!0,\"cherkassy.ua\":!0,\"cherkasy.ua\":!0,\"chernigov.ua\":!0,\"chernihiv.ua\":!0,\"chernivtsi.ua\":!0,\"chernovtsy.ua\":!0,\"ck.ua\":!0,\"cn.ua\":!0,\"cr.ua\":!0,\"crimea.ua\":!0,\"cv.ua\":!0,\"dn.ua\":!0,\"dnepropetrovsk.ua\":!0,\"dnipropetrovsk.ua\":!0,\"dominic.ua\":!0,\"donetsk.ua\":!0,\"dp.ua\":!0,\"if.ua\":!0,\"ivano-frankivsk.ua\":!0,\"kh.ua\":!0,\"kharkiv.ua\":!0,\"kharkov.ua\":!0,\"kherson.ua\":!0,\"khmelnitskiy.ua\":!0,\"khmelnytskyi.ua\":!0,\"kiev.ua\":!0,\"kirovograd.ua\":!0,\"km.ua\":!0,\"kr.ua\":!0,\"krym.ua\":!0,\"ks.ua\":!0,\"kv.ua\":!0,\"kyiv.ua\":!0,\"lg.ua\":!0,\"lt.ua\":!0,\"lugansk.ua\":!0,\"lutsk.ua\":!0,\"lv.ua\":!0,\"lviv.ua\":!0,\"mk.ua\":!0,\"mykolaiv.ua\":!0,\"nikolaev.ua\":!0,\"od.ua\":!0,\"odesa.ua\":!0,\"odessa.ua\":!0,\"pl.ua\":!0,\"poltava.ua\":!0,\"rivne.ua\":!0,\"rovno.ua\":!0,\"rv.ua\":!0,\"sb.ua\":!0,\"sebastopol.ua\":!0,\"sevastopol.ua\":!0,\"sm.ua\":!0,\"sumy.ua\":!0,\"te.ua\":!0,\"ternopil.ua\":!0,\"uz.ua\":!0,\"uzhgorod.ua\":!0,\"vinnica.ua\":!0,\"vinnytsia.ua\":!0,\"vn.ua\":!0,\"volyn.ua\":!0,\"yalta.ua\":!0,\"zaporizhzhe.ua\":!0,\"zaporizhzhia.ua\":!0,\"zhitomir.ua\":!0,\"zhytomyr.ua\":!0,\"zp.ua\":!0,\"zt.ua\":!0,ug:!0,\"co.ug\":!0,\"or.ug\":!0,\"ac.ug\":!0,\"sc.ug\":!0,\"go.ug\":!0,\"ne.ug\":!0,\"com.ug\":!0,\"org.ug\":!0,uk:!0,\"ac.uk\":!0,\"co.uk\":!0,\"gov.uk\":!0,\"ltd.uk\":!0,\"me.uk\":!0,\"net.uk\":!0,\"nhs.uk\":!0,\"org.uk\":!0,\"plc.uk\":!0,\"police.uk\":!0,\"*.sch.uk\":!0,us:!0,\"dni.us\":!0,\"fed.us\":!0,\"isa.us\":!0,\"kids.us\":!0,\"nsn.us\":!0,\"ak.us\":!0,\"al.us\":!0,\"ar.us\":!0,\"as.us\":!0,\"az.us\":!0,\"ca.us\":!0,\"co.us\":!0,\"ct.us\":!0,\"dc.us\":!0,\"de.us\":!0,\"fl.us\":!0,\"ga.us\":!0,\"gu.us\":!0,\"hi.us\":!0,\"ia.us\":!0,\"id.us\":!0,\"il.us\":!0,\"in.us\":!0,\"ks.us\":!0,\"ky.us\":!0,\"la.us\":!0,\"ma.us\":!0,\"md.us\":!0,\"me.us\":!0,\"mi.us\":!0,\"mn.us\":!0,\"mo.us\":!0,\"ms.us\":!0,\"mt.us\":!0,\"nc.us\":!0,\"nd.us\":!0,\"ne.us\":!0,\"nh.us\":!0,\"nj.us\":!0,\"nm.us\":!0,\"nv.us\":!0,\"ny.us\":!0,\"oh.us\":!0,\"ok.us\":!0,\"or.us\":!0,\"pa.us\":!0,\"pr.us\":!0,\"ri.us\":!0,\"sc.us\":!0,\"sd.us\":!0,\"tn.us\":!0,\"tx.us\":!0,\"ut.us\":!0,\"vi.us\":!0,\"vt.us\":!0,\"va.us\":!0,\"wa.us\":!0,\"wi.us\":!0,\"wv.us\":!0,\"wy.us\":!0,\"k12.ak.us\":!0,\"k12.al.us\":!0,\"k12.ar.us\":!0,\"k12.as.us\":!0,\"k12.az.us\":!0,\"k12.ca.us\":!0,\"k12.co.us\":!0,\"k12.ct.us\":!0,\"k12.dc.us\":!0,\"k12.de.us\":!0,\"k12.fl.us\":!0,\"k12.ga.us\":!0,\"k12.gu.us\":!0,\"k12.ia.us\":!0,\"k12.id.us\":!0,\"k12.il.us\":!0,\"k12.in.us\":!0,\"k12.ks.us\":!0,\"k12.ky.us\":!0,\"k12.la.us\":!0,\"k12.ma.us\":!0,\"k12.md.us\":!0,\"k12.me.us\":!0,\"k12.mi.us\":!0,\"k12.mn.us\":!0,\"k12.mo.us\":!0,\"k12.ms.us\":!0,\"k12.mt.us\":!0,\"k12.nc.us\":!0,\"k12.ne.us\":!0,\"k12.nh.us\":!0,\"k12.nj.us\":!0,\"k12.nm.us\":!0,\"k12.nv.us\":!0,\"k12.ny.us\":!0,\"k12.oh.us\":!0,\"k12.ok.us\":!0,\"k12.or.us\":!0,\"k12.pa.us\":!0,\"k12.pr.us\":!0,\"k12.ri.us\":!0,\"k12.sc.us\":!0,\"k12.tn.us\":!0,\"k12.tx.us\":!0,\"k12.ut.us\":!0,\"k12.vi.us\":!0,\"k12.vt.us\":!0,\"k12.va.us\":!0,\"k12.wa.us\":!0,\"k12.wi.us\":!0,\"k12.wy.us\":!0,\"cc.ak.us\":!0,\"cc.al.us\":!0,\"cc.ar.us\":!0,\"cc.as.us\":!0,\"cc.az.us\":!0,\"cc.ca.us\":!0,\"cc.co.us\":!0,\"cc.ct.us\":!0,\"cc.dc.us\":!0,\"cc.de.us\":!0,\"cc.fl.us\":!0,\"cc.ga.us\":!0,\"cc.gu.us\":!0,\"cc.hi.us\":!0,\"cc.ia.us\":!0,\"cc.id.us\":!0,\"cc.il.us\":!0,\"cc.in.us\":!0,\"cc.ks.us\":!0,\"cc.ky.us\":!0,\"cc.la.us\":!0,\"cc.ma.us\":!0,\"cc.md.us\":!0,\"cc.me.us\":!0,\"cc.mi.us\":!0,\"cc.mn.us\":!0,\"cc.mo.us\":!0,\"cc.ms.us\":!0,\"cc.mt.us\":!0,\"cc.nc.us\":!0,\"cc.nd.us\":!0,\"cc.ne.us\":!0,\"cc.nh.us\":!0,\"cc.nj.us\":!0,\"cc.nm.us\":!0,\"cc.nv.us\":!0,\"cc.ny.us\":!0,\"cc.oh.us\":!0,\"cc.ok.us\":!0,\"cc.or.us\":!0,\"cc.pa.us\":!0,\"cc.pr.us\":!0,\"cc.ri.us\":!0,\"cc.sc.us\":!0,\"cc.sd.us\":!0,\"cc.tn.us\":!0,\"cc.tx.us\":!0,\"cc.ut.us\":!0,\"cc.vi.us\":!0,\"cc.vt.us\":!0,\"cc.va.us\":!0,\"cc.wa.us\":!0,\"cc.wi.us\":!0,\"cc.wv.us\":!0,\"cc.wy.us\":!0,\"lib.ak.us\":!0,\"lib.al.us\":!0,\"lib.ar.us\":!0,\"lib.as.us\":!0,\"lib.az.us\":!0,\"lib.ca.us\":!0,\"lib.co.us\":!0,\"lib.ct.us\":!0,\"lib.dc.us\":!0,\"lib.de.us\":!0,\"lib.fl.us\":!0,\"lib.ga.us\":!0,\"lib.gu.us\":!0,\"lib.hi.us\":!0,\"lib.ia.us\":!0,\"lib.id.us\":!0,\"lib.il.us\":!0,\"lib.in.us\":!0,\"lib.ks.us\":!0,\"lib.ky.us\":!0,\"lib.la.us\":!0,\"lib.ma.us\":!0,\"lib.md.us\":!0,\"lib.me.us\":!0,\"lib.mi.us\":!0,\"lib.mn.us\":!0,\"lib.mo.us\":!0,\"lib.ms.us\":!0,\"lib.mt.us\":!0,\"lib.nc.us\":!0,\"lib.nd.us\":!0,\"lib.ne.us\":!0,\"lib.nh.us\":!0,\"lib.nj.us\":!0,\"lib.nm.us\":!0,\"lib.nv.us\":!0,\"lib.ny.us\":!0,\"lib.oh.us\":!0,\"lib.ok.us\":!0,\"lib.or.us\":!0,\"lib.pa.us\":!0,\"lib.pr.us\":!0,\"lib.ri.us\":!0,\"lib.sc.us\":!0,\"lib.sd.us\":!0,\"lib.tn.us\":!0,\"lib.tx.us\":!0,\"lib.ut.us\":!0,\"lib.vi.us\":!0,\"lib.vt.us\":!0,\"lib.va.us\":!0,\"lib.wa.us\":!0,\"lib.wi.us\":!0,\"lib.wy.us\":!0,\"pvt.k12.ma.us\":!0,\"chtr.k12.ma.us\":!0,\"paroch.k12.ma.us\":!0,uy:!0,\"com.uy\":!0,\"edu.uy\":!0,\"gub.uy\":!0,\"mil.uy\":!0,\"net.uy\":!0,\"org.uy\":!0,uz:!0,\"co.uz\":!0,\"com.uz\":!0,\"net.uz\":!0,\"org.uz\":!0,va:!0,vc:!0,\"com.vc\":!0,\"net.vc\":!0,\"org.vc\":!0,\"gov.vc\":!0,\"mil.vc\":!0,\n\"edu.vc\":!0,ve:!0,\"arts.ve\":!0,\"co.ve\":!0,\"com.ve\":!0,\"e12.ve\":!0,\"edu.ve\":!0,\"firm.ve\":!0,\"gob.ve\":!0,\"gov.ve\":!0,\"info.ve\":!0,\"int.ve\":!0,\"mil.ve\":!0,\"net.ve\":!0,\"org.ve\":!0,\"rec.ve\":!0,\"store.ve\":!0,\"tec.ve\":!0,\"web.ve\":!0,vg:!0,vi:!0,\"co.vi\":!0,\"com.vi\":!0,\"k12.vi\":!0,\"net.vi\":!0,\"org.vi\":!0,vn:!0,\"com.vn\":!0,\"net.vn\":!0,\"org.vn\":!0,\"edu.vn\":!0,\"gov.vn\":!0,\"int.vn\":!0,\"ac.vn\":!0,\"biz.vn\":!0,\"info.vn\":!0,\"name.vn\":!0,\"pro.vn\":!0,\"health.vn\":!0,vu:!0,\"com.vu\":!0,\"edu.vu\":!0,\"net.vu\":!0,\"org.vu\":!0,wf:!0,ws:!0,\"com.ws\":!0,\"net.ws\":!0,\"org.ws\":!0,\"gov.ws\":!0,\"edu.ws\":!0,yt:!0,\"xn--mgbaam7a8h\":!0,\"xn--y9a3aq\":!0,\"xn--54b7fta0cc\":!0,\"xn--90ais\":!0,\"xn--fiqs8s\":!0,\"xn--fiqz9s\":!0,\"xn--lgbbat1ad8j\":!0,\"xn--wgbh1c\":!0,\"xn--node\":!0,\"xn--qxam\":!0,\"xn--j6w193g\":!0,\"xn--h2brj9c\":!0,\"xn--mgbbh1a71e\":!0,\"xn--fpcrj9c3d\":!0,\"xn--gecrj9c\":!0,\"xn--s9brj9c\":!0,\"xn--45brj9c\":!0,\"xn--xkc2dl3a5ee0h\":!0,\"xn--mgba3a4f16a\":!0,\"xn--mgba3a4fra\":!0,\"xn--mgbtx2b\":!0,\"xn--mgbayh7gpa\":!0,\"xn--3e0b707e\":!0,\"xn--80ao21a\":!0,\"xn--fzc2c9e2c\":!0,\"xn--xkc2al3hye2a\":!0,\"xn--mgbc0a9azcg\":!0,\"xn--d1alf\":!0,\"xn--l1acc\":!0,\"xn--mix891f\":!0,\"xn--mix082f\":!0,\"xn--mgbx4cd0ab\":!0,\"xn--mgb9awbf\":!0,\"xn--mgbai9azgqp6j\":!0,\"xn--mgbai9a5eva00b\":!0,\"xn--ygbi2ammx\":!0,\"xn--90a3ac\":!0,\"xn--o1ac.xn--90a3ac\":!0,\"xn--c1avg.xn--90a3ac\":!0,\"xn--90azh.xn--90a3ac\":!0,\"xn--d1at.xn--90a3ac\":!0,\"xn--o1ach.xn--90a3ac\":!0,\"xn--80au.xn--90a3ac\":!0,\"xn--p1ai\":!0,\"xn--wgbl6a\":!0,\"xn--mgberp4a5d4ar\":!0,\"xn--mgberp4a5d4a87g\":!0,\"xn--mgbqly7c0a67fbc\":!0,\"xn--mgbqly7cvafr\":!0,\"xn--mgbpl2fh\":!0,\"xn--yfro4i67o\":!0,\"xn--clchc0ea0b2g2a9gcd\":!0,\"xn--ogbpf8fl\":!0,\"xn--mgbtf8fl\":!0,\"xn--o3cw4h\":!0,\"xn--pgbs0dh\":!0,\"xn--kpry57d\":!0,\"xn--kprw13d\":!0,\"xn--nnx388a\":!0,\"xn--j1amh\":!0,\"xn--mgb2ddes\":!0,xxx:!0,\"*.ye\":!0,\"ac.za\":!0,\"agrica.za\":!0,\"alt.za\":!0,\"co.za\":!0,\"edu.za\":!0,\"gov.za\":!0,\"grondar.za\":!0,\"law.za\":!0,\"mil.za\":!0,\"net.za\":!0,\"ngo.za\":!0,\"nis.za\":!0,\"nom.za\":!0,\"org.za\":!0,\"school.za\":!0,\"tm.za\":!0,\"web.za\":!0,\"*.zm\":!0,\"*.zw\":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,africamagic:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,\"case\":!0,caseih:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,dnp:!0,docs:!0,dodge:!0,dog:!0,doha:!0,domains:!0,doosan:!0,dot:!0,download:!0,drive:!0,dstv:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dwg:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,\"final\":!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyknet:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mutuelle:!0,mzansimagic:!0,nab:!0,nadex:!0,nagoya:!0,naspers:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,\"new\":!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,payu:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,seat:!0,secure:!0,security:!0,seek:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,\"xn--11b4c3d\":!0,\"xn--1ck2e1b\":!0,\"xn--1qqw23a\":!0,\"xn--30rr7y\":!0,\"xn--3bst00m\":!0,\"xn--3ds443g\":!0,\"xn--3oq18vl8pn36a\":!0,\"xn--3pxu8k\":!0,\"xn--42c2d9a\":!0,\"xn--45q11c\":!0,\"xn--4gbrim\":!0,\"xn--4gq48lf9j\":!0,\"xn--55qw42g\":!0,\"xn--55qx5d\":!0,\"xn--5su34j936bgsg\":!0,\"xn--5tzm5g\":!0,\"xn--6frz82g\":!0,\"xn--6qq986b3xl\":!0,\"xn--80adxhks\":!0,\"xn--80asehdb\":!0,\"xn--80aswg\":!0,\"xn--8y0a063a\":!0,\"xn--9dbq2a\":!0,\"xn--9et52u\":!0,\"xn--9krt00a\":!0,\"xn--b4w605ferd\":!0,\"xn--bck1b9a5dre4c\":!0,\"xn--c1avg\":!0,\"xn--c2br7g\":!0,\"xn--cck2b3b\":!0,\"xn--cg4bki\":!0,\"xn--czr694b\":!0,\"xn--czrs0t\":!0,\"xn--czru2d\":!0,\"xn--d1acj3b\":!0,\"xn--eckvdtc9d\":!0,\"xn--efvy88h\":!0,\"xn--estv75g\":!0,\"xn--fct429k\":!0,\"xn--fhbei\":!0,\"xn--fiq228c5hs\":!0,\"xn--fiq64b\":!0,\"xn--fjq720a\":!0,\"xn--flw351e\":!0,\"xn--fzys8d69uvgm\":!0,\"xn--g2xx48c\":!0,\"xn--gckr3f0f\":!0,\"xn--hxt814e\":!0,\"xn--i1b6b1a6a2e\":!0,\"xn--imr513n\":!0,\"xn--io0a7i\":!0,\"xn--j1aef\":!0,\"xn--jlq61u9w7b\":!0,\"xn--jvr189m\":!0,\"xn--kcrx77d1x4a\":!0,\"xn--kpu716f\":!0,\"xn--kput3i\":!0,\"xn--mgba3a3ejt\":!0,\"xn--mgba7c0bbn0a\":!0,\"xn--mgbaakc7dvf\":!0,\"xn--mgbab2bd\":!0,\"xn--mgbb9fbpob\":!0,\"xn--mgbca7dzdo\":!0,\"xn--mgbt3dhd\":!0,\"xn--mk1bu44c\":!0,\"xn--mxtq1m\":!0,\"xn--ngbc5azd\":!0,\"xn--ngbe9e0a\":!0,\"xn--nqv7f\":!0,\"xn--nqv7fs00ema\":!0,\"xn--nyqy26a\":!0,\"xn--p1acf\":!0,\"xn--pbt977c\":!0,\"xn--pssy2u\":!0,\"xn--q9jyb4c\":!0,\"xn--qcka1pmc\":!0,\"xn--rhqv96g\":!0,\"xn--rovu88b\":!0,\"xn--ses554g\":!0,\"xn--t60b56a\":!0,\"xn--tckwe\":!0,\"xn--unup4y\":!0,\"xn--vermgensberater-ctb\":!0,\"xn--vermgensberatung-pwb\":!0,\"xn--vhquv\":!0,\"xn--vuq861b\":!0,\"xn--w4r85el8fhu5dnra\":!0,\"xn--w4rs40l\":!0,\"xn--xhq521b\":!0,\"xn--zfr164b\":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,\"cloudfront.net\":!0,\"ap-northeast-1.compute.amazonaws.com\":!0,\"ap-southeast-1.compute.amazonaws.com\":!0,\"ap-southeast-2.compute.amazonaws.com\":!0,\"cn-north-1.compute.amazonaws.cn\":!0,\"compute.amazonaws.cn\":!0,\"compute.amazonaws.com\":!0,\"compute-1.amazonaws.com\":!0,\"eu-west-1.compute.amazonaws.com\":!0,\"eu-central-1.compute.amazonaws.com\":!0,\"sa-east-1.compute.amazonaws.com\":!0,\"us-east-1.amazonaws.com\":!0,\"us-gov-west-1.compute.amazonaws.com\":!0,\"us-west-1.compute.amazonaws.com\":!0,\"us-west-2.compute.amazonaws.com\":!0,\"z-1.compute-1.amazonaws.com\":!0,\"z-2.compute-1.amazonaws.com\":!0,\"elasticbeanstalk.com\":!0,\"elb.amazonaws.com\":!0,\"s3.amazonaws.com\":!0,\"s3-ap-northeast-1.amazonaws.com\":!0,\"s3-ap-southeast-1.amazonaws.com\":!0,\"s3-ap-southeast-2.amazonaws.com\":!0,\"s3-external-1.amazonaws.com\":!0,\"s3-external-2.amazonaws.com\":!0,\"s3-fips-us-gov-west-1.amazonaws.com\":!0,\"s3-eu-central-1.amazonaws.com\":!0,\"s3-eu-west-1.amazonaws.com\":!0,\"s3-sa-east-1.amazonaws.com\":!0,\"s3-us-gov-west-1.amazonaws.com\":!0,\"s3-us-west-1.amazonaws.com\":!0,\"s3-us-west-2.amazonaws.com\":!0,\"s3.cn-north-1.amazonaws.com.cn\":!0,\"s3.eu-central-1.amazonaws.com\":!0,\"betainabox.com\":!0,\"ae.org\":!0,\"ar.com\":!0,\"br.com\":!0,\"cn.com\":!0,\"com.de\":!0,\"com.se\":!0,\"de.com\":!0,\"eu.com\":!0,\"gb.com\":!0,\"gb.net\":!0,\"hu.com\":!0,\"hu.net\":!0,\"jp.net\":!0,\"jpn.com\":!0,\"kr.com\":!0,\"mex.com\":!0,\"no.com\":!0,\"qc.com\":!0,\"ru.com\":!0,\"sa.com\":!0,\"se.com\":!0,\"se.net\":!0,\"uk.com\":!0,\"uk.net\":!0,\"us.com\":!0,\"uy.com\":!0,\"za.bz\":!0,\"za.com\":!0,\"africa.com\":!0,\"gr.com\":!0,\"in.net\":!0,\"us.org\":!0,\"co.com\":!0,\"c.la\":!0,\"cloudcontrolled.com\":!0,\"cloudcontrolapp.com\":!0,\"co.ca\":!0,\"c.cdn77.org\":!0,\"cdn77-ssl.net\":!0,\"r.cdn77.net\":!0,\"rsc.cdn77.org\":!0,\"ssl.origin.cdn77-secure.org\":!0,\"co.nl\":!0,\"co.no\":!0,\"*.platform.sh\":!0,\"cupcake.is\":!0,\"dreamhosters.com\":!0,\"duckdns.org\":!0,\"dyndns-at-home.com\":!0,\"dyndns-at-work.com\":!0,\"dyndns-blog.com\":!0,\"dyndns-free.com\":!0,\"dyndns-home.com\":!0,\"dyndns-ip.com\":!0,\"dyndns-mail.com\":!0,\"dyndns-office.com\":!0,\"dyndns-pics.com\":!0,\"dyndns-remote.com\":!0,\"dyndns-server.com\":!0,\"dyndns-web.com\":!0,\"dyndns-wiki.com\":!0,\"dyndns-work.com\":!0,\"dyndns.biz\":!0,\"dyndns.info\":!0,\"dyndns.org\":!0,\"dyndns.tv\":!0,\"at-band-camp.net\":!0,\"ath.cx\":!0,\"barrel-of-knowledge.info\":!0,\"barrell-of-knowledge.info\":!0,\"better-than.tv\":!0,\"blogdns.com\":!0,\"blogdns.net\":!0,\"blogdns.org\":!0,\"blogsite.org\":!0,\"boldlygoingnowhere.org\":!0,\"broke-it.net\":!0,\"buyshouses.net\":!0,\"cechire.com\":!0,\"dnsalias.com\":!0,\"dnsalias.net\":!0,\"dnsalias.org\":!0,\"dnsdojo.com\":!0,\"dnsdojo.net\":!0,\"dnsdojo.org\":!0,\"does-it.net\":!0,\"doesntexist.com\":!0,\"doesntexist.org\":!0,\"dontexist.com\":!0,\"dontexist.net\":!0,\"dontexist.org\":!0,\"doomdns.com\":!0,\"doomdns.org\":!0,\"dvrdns.org\":!0,\"dyn-o-saur.com\":!0,\"dynalias.com\":!0,\"dynalias.net\":!0,\"dynalias.org\":!0,\"dynathome.net\":!0,\"dyndns.ws\":!0,\"endofinternet.net\":!0,\"endofinternet.org\":!0,\"endoftheinternet.org\":!0,\"est-a-la-maison.com\":!0,\"est-a-la-masion.com\":!0,\"est-le-patron.com\":!0,\"est-mon-blogueur.com\":!0,\"for-better.biz\":!0,\"for-more.biz\":!0,\"for-our.info\":!0,\"for-some.biz\":!0,\"for-the.biz\":!0,\"forgot.her.name\":!0,\"forgot.his.name\":!0,\"from-ak.com\":!0,\"from-al.com\":!0,\"from-ar.com\":!0,\"from-az.net\":!0,\"from-ca.com\":!0,\"from-co.net\":!0,\"from-ct.com\":!0,\"from-dc.com\":!0,\"from-de.com\":!0,\"from-fl.com\":!0,\"from-ga.com\":!0,\"from-hi.com\":!0,\"from-ia.com\":!0,\"from-id.com\":!0,\"from-il.com\":!0,\"from-in.com\":!0,\"from-ks.com\":!0,\"from-ky.com\":!0,\"from-la.net\":!0,\"from-ma.com\":!0,\"from-md.com\":!0,\"from-me.org\":!0,\"from-mi.com\":!0,\"from-mn.com\":!0,\"from-mo.com\":!0,\"from-ms.com\":!0,\"from-mt.com\":!0,\"from-nc.com\":!0,\"from-nd.com\":!0,\"from-ne.com\":!0,\"from-nh.com\":!0,\"from-nj.com\":!0,\"from-nm.com\":!0,\"from-nv.com\":!0,\"from-ny.net\":!0,\"from-oh.com\":!0,\"from-ok.com\":!0,\"from-or.com\":!0,\"from-pa.com\":!0,\"from-pr.com\":!0,\"from-ri.com\":!0,\"from-sc.com\":!0,\"from-sd.com\":!0,\"from-tn.com\":!0,\"from-tx.com\":!0,\"from-ut.com\":!0,\"from-va.com\":!0,\"from-vt.com\":!0,\"from-wa.com\":!0,\"from-wi.com\":!0,\"from-wv.com\":!0,\"from-wy.com\":!0,\"ftpaccess.cc\":!0,\"fuettertdasnetz.de\":!0,\"game-host.org\":!0,\"game-server.cc\":!0,\"getmyip.com\":!0,\"gets-it.net\":!0,\"go.dyndns.org\":!0,\"gotdns.com\":!0,\"gotdns.org\":!0,\"groks-the.info\":!0,\"groks-this.info\":!0,\"ham-radio-op.net\":!0,\"here-for-more.info\":!0,\"hobby-site.com\":!0,\"hobby-site.org\":!0,\"home.dyndns.org\":!0,\"homedns.org\":!0,\"homeftp.net\":!0,\"homeftp.org\":!0,\"homeip.net\":!0,\"homelinux.com\":!0,\"homelinux.net\":!0,\"homelinux.org\":!0,\"homeunix.com\":!0,\"homeunix.net\":!0,\"homeunix.org\":!0,\"iamallama.com\":!0,\"in-the-band.net\":!0,\"is-a-anarchist.com\":!0,\"is-a-blogger.com\":!0,\"is-a-bookkeeper.com\":!0,\"is-a-bruinsfan.org\":!0,\"is-a-bulls-fan.com\":!0,\"is-a-candidate.org\":!0,\"is-a-caterer.com\":!0,\"is-a-celticsfan.org\":!0,\"is-a-chef.com\":!0,\"is-a-chef.net\":!0,\"is-a-chef.org\":!0,\"is-a-conservative.com\":!0,\"is-a-cpa.com\":!0,\"is-a-cubicle-slave.com\":!0,\"is-a-democrat.com\":!0,\"is-a-designer.com\":!0,\"is-a-doctor.com\":!0,\"is-a-financialadvisor.com\":!0,\"is-a-geek.com\":!0,\"is-a-geek.net\":!0,\"is-a-geek.org\":!0,\"is-a-green.com\":!0,\"is-a-guru.com\":!0,\"is-a-hard-worker.com\":!0,\"is-a-hunter.com\":!0,\"is-a-knight.org\":!0,\"is-a-landscaper.com\":!0,\"is-a-lawyer.com\":!0,\"is-a-liberal.com\":!0,\"is-a-libertarian.com\":!0,\"is-a-linux-user.org\":!0,\"is-a-llama.com\":!0,\"is-a-musician.com\":!0,\"is-a-nascarfan.com\":!0,\"is-a-nurse.com\":!0,\"is-a-painter.com\":!0,\"is-a-patsfan.org\":!0,\"is-a-personaltrainer.com\":!0,\"is-a-photographer.com\":!0,\"is-a-player.com\":!0,\"is-a-republican.com\":!0,\"is-a-rockstar.com\":!0,\"is-a-socialist.com\":!0,\"is-a-soxfan.org\":!0,\"is-a-student.com\":!0,\"is-a-teacher.com\":!0,\"is-a-techie.com\":!0,\"is-a-therapist.com\":!0,\"is-an-accountant.com\":!0,\"is-an-actor.com\":!0,\"is-an-actress.com\":!0,\"is-an-anarchist.com\":!0,\"is-an-artist.com\":!0,\"is-an-engineer.com\":!0,\"is-an-entertainer.com\":!0,\"is-by.us\":!0,\"is-certified.com\":!0,\"is-found.org\":!0,\"is-gone.com\":!0,\"is-into-anime.com\":!0,\"is-into-cars.com\":!0,\"is-into-cartoons.com\":!0,\"is-into-games.com\":!0,\"is-leet.com\":!0,\"is-lost.org\":!0,\"is-not-certified.com\":!0,\"is-saved.org\":!0,\"is-slick.com\":!0,\"is-uberleet.com\":!0,\"is-very-bad.org\":!0,\"is-very-evil.org\":!0,\"is-very-good.org\":!0,\"is-very-nice.org\":!0,\"is-very-sweet.org\":!0,\"is-with-theband.com\":!0,\"isa-geek.com\":!0,\"isa-geek.net\":!0,\"isa-geek.org\":!0,\"isa-hockeynut.com\":!0,\"issmarterthanyou.com\":!0,\"isteingeek.de\":!0,\"istmein.de\":!0,\"kicks-ass.net\":!0,\"kicks-ass.org\":!0,\"knowsitall.info\":!0,\"land-4-sale.us\":!0,\"lebtimnetz.de\":!0,\"leitungsen.de\":!0,\"likes-pie.com\":!0,\"likescandy.com\":!0,\"merseine.nu\":!0,\"mine.nu\":!0,\"misconfused.org\":!0,\"mypets.ws\":!0,\"myphotos.cc\":!0,\"neat-url.com\":!0,\"office-on-the.net\":!0,\"on-the-web.tv\":!0,\"podzone.net\":!0,\"podzone.org\":!0,\"readmyblog.org\":!0,\"saves-the-whales.com\":!0,\"scrapper-site.net\":!0,\"scrapping.cc\":!0,\"selfip.biz\":!0,\"selfip.com\":!0,\"selfip.info\":!0,\"selfip.net\":!0,\"selfip.org\":!0,\"sells-for-less.com\":!0,\"sells-for-u.com\":!0,\"sells-it.net\":!0,\"sellsyourhome.org\":!0,\"servebbs.com\":!0,\"servebbs.net\":!0,\"servebbs.org\":!0,\"serveftp.net\":!0,\"serveftp.org\":!0,\"servegame.org\":!0,\"shacknet.nu\":!0,\"simple-url.com\":!0,\"space-to-rent.com\":!0,\"stuff-4-sale.org\":!0,\"stuff-4-sale.us\":!0,\"teaches-yoga.com\":!0,\"thruhere.net\":!0,\"traeumtgerade.de\":!0,\"webhop.biz\":!0,\"webhop.info\":!0,\"webhop.net\":!0,\"webhop.org\":!0,\"worse-than.tv\":!0,\"writesthisblog.com\":!0,\"eu.org\":!0,\"al.eu.org\":!0,\"asso.eu.org\":!0,\"at.eu.org\":!0,\"au.eu.org\":!0,\"be.eu.org\":!0,\"bg.eu.org\":!0,\"ca.eu.org\":!0,\"cd.eu.org\":!0,\"ch.eu.org\":!0,\"cn.eu.org\":!0,\"cy.eu.org\":!0,\"cz.eu.org\":!0,\"de.eu.org\":!0,\"dk.eu.org\":!0,\"edu.eu.org\":!0,\"ee.eu.org\":!0,\"es.eu.org\":!0,\"fi.eu.org\":!0,\"fr.eu.org\":!0,\"gr.eu.org\":!0,\"hr.eu.org\":!0,\"hu.eu.org\":!0,\"ie.eu.org\":!0,\"il.eu.org\":!0,\"in.eu.org\":!0,\"int.eu.org\":!0,\"is.eu.org\":!0,\"it.eu.org\":!0,\"jp.eu.org\":!0,\"kr.eu.org\":!0,\"lt.eu.org\":!0,\"lu.eu.org\":!0,\"lv.eu.org\":!0,\"mc.eu.org\":!0,\"me.eu.org\":!0,\"mk.eu.org\":!0,\"mt.eu.org\":!0,\"my.eu.org\":!0,\"net.eu.org\":!0,\"ng.eu.org\":!0,\"nl.eu.org\":!0,\"no.eu.org\":!0,\"nz.eu.org\":!0,\"paris.eu.org\":!0,\"pl.eu.org\":!0,\"pt.eu.org\":!0,\"q-a.eu.org\":!0,\"ro.eu.org\":!0,\"ru.eu.org\":!0,\"se.eu.org\":!0,\"si.eu.org\":!0,\"sk.eu.org\":!0,\"tr.eu.org\":!0,\"uk.eu.org\":!0,\"us.eu.org\":!0,\"a.ssl.fastly.net\":!0,\"b.ssl.fastly.net\":!0,\"global.ssl.fastly.net\":!0,\"a.prod.fastly.net\":!0,\"global.prod.fastly.net\":!0,\"firebaseapp.com\":!0,\"flynnhub.com\":!0,\"service.gov.uk\":!0,\"github.io\":!0,\"githubusercontent.com\":!0,\"ro.com\":!0,\"appspot.com\":!0,\"blogspot.ae\":!0,\"blogspot.al\":!0,\"blogspot.am\":!0,\"blogspot.ba\":!0,\"blogspot.be\":!0,\"blogspot.bg\":!0,\"blogspot.bj\":!0,\"blogspot.ca\":!0,\"blogspot.cf\":!0,\"blogspot.ch\":!0,\"blogspot.cl\":!0,\"blogspot.co.at\":!0,\"blogspot.co.id\":!0,\"blogspot.co.il\":!0,\"blogspot.co.ke\":!0,\"blogspot.co.nz\":!0,\"blogspot.co.uk\":!0,\"blogspot.co.za\":!0,\"blogspot.com\":!0,\"blogspot.com.ar\":!0,\"blogspot.com.au\":!0,\"blogspot.com.br\":!0,\"blogspot.com.by\":!0,\"blogspot.com.co\":!0,\"blogspot.com.cy\":!0,\"blogspot.com.ee\":!0,\"blogspot.com.eg\":!0,\"blogspot.com.es\":!0,\"blogspot.com.mt\":!0,\"blogspot.com.ng\":!0,\"blogspot.com.tr\":!0,\"blogspot.com.uy\":!0,\"blogspot.cv\":!0,\"blogspot.cz\":!0,\"blogspot.de\":!0,\"blogspot.dk\":!0,\"blogspot.fi\":!0,\"blogspot.fr\":!0,\"blogspot.gr\":!0,\"blogspot.hk\":!0,\"blogspot.hr\":!0,\"blogspot.hu\":!0,\"blogspot.ie\":!0,\"blogspot.in\":!0,\"blogspot.is\":!0,\"blogspot.it\":!0,\"blogspot.jp\":!0,\"blogspot.kr\":!0,\"blogspot.li\":!0,\"blogspot.lt\":!0,\"blogspot.lu\":!0,\"blogspot.md\":!0,\"blogspot.mk\":!0,\"blogspot.mr\":!0,\"blogspot.mx\":!0,\"blogspot.my\":!0,\"blogspot.nl\":!0,\"blogspot.no\":!0,\"blogspot.pe\":!0,\"blogspot.pt\":!0,\"blogspot.qa\":!0,\"blogspot.re\":!0,\"blogspot.ro\":!0,\"blogspot.rs\":!0,\"blogspot.ru\":!0,\"blogspot.se\":!0,\"blogspot.sg\":!0,\"blogspot.si\":!0,\"blogspot.sk\":!0,\"blogspot.sn\":!0,\"blogspot.td\":!0,\"blogspot.tw\":!0,\"blogspot.ug\":!0,\"blogspot.vn\":!0,\"codespot.com\":!0,\"googleapis.com\":!0,\"googlecode.com\":!0,\"pagespeedmobilizer.com\":!0,\"withgoogle.com\":!0,\"withyoutube.com\":!0,\"herokuapp.com\":!0,\"herokussl.com\":!0,\"iki.fi\":!0,\"biz.at\":!0,\"info.at\":!0,\"co.pl\":!0,\"azurewebsites.net\":!0,\"azure-mobile.net\":!0,\"cloudapp.net\":!0,\"bmoattachments.org\":!0,\"4u.com\":!0,\"nfshost.com\":!0,\"nyc.mn\":!0,\"nid.io\":!0,\"operaunite.com\":!0,\"outsystemscloud.com\":!0,\"art.pl\":!0,\"gliwice.pl\":!0,\"krakow.pl\":!0,\"poznan.pl\":!0,\"wroc.pl\":!0,\"zakopane.pl\":!0,\"pantheon.io\":!0,\"gotpantheon.com\":!0,\"priv.at\":!0,\"qa2.com\":!0,\"rhcloud.com\":!0,\"sandcats.io\":!0,\"biz.ua\":!0,\"co.ua\":!0,\"pp.ua\":!0,\"sinaapp.com\":!0,\"vipsinaapp.com\":!0,\"1kapp.com\":!0,\"gda.pl\":!0,\"gdansk.pl\":!0,\"gdynia.pl\":!0,\"med.pl\":!0,\"sopot.pl\":!0,\"hk.com\":!0,\"hk.org\":!0,\"ltd.hk\":!0,\"inc.hk\":!0,\"yolasite.com\":!0,\"za.net\":!0,\"za.org\":!0})},{punycode:void 0}],463:[function(e,t,n){\"use strict\";function r(){}n.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,n,r){throw new Error(\"findCookie is not implemented\")},r.prototype.findCookies=function(e,t,n){throw new Error(\"findCookies is not implemented\")},r.prototype.putCookie=function(e,t){throw new Error(\"putCookie is not implemented\")},r.prototype.updateCookie=function(e,t,n){throw new Error(\"updateCookie is not implemented\")},r.prototype.removeCookie=function(e,t,n,r){throw new Error(\"removeCookie is not implemented\")},r.prototype.removeCookies=function(e,t,n){throw new Error(\"removeCookies is not implemented\")},r.prototype.getAllCookies=function(e){throw new Error(\"getAllCookies is not implemented (therefore jar cannot be serialized)\")}},{}],464:[function(e,t,n){t.exports={_args:[[\"tough-cookie@~2.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"tough-cookie@>=2.2.0 <2.3.0\",_id:\"tough-cookie@2.2.2\",_inCache:!0,_installable:!0,_location:\"/tough-cookie\",_nodeVersion:\"5.1.1\",_npmOperationalInternal:{host:\"packages-13-west.internal.npmjs.com\",tmp:\"tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946\"},_npmUser:{email:\"jstash@gmail.com\",name:\"jstash\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"tough-cookie\",raw:\"tough-cookie@~2.2.0\",rawSpec:\"~2.2.0\",scope:null,spec:\">=2.2.0 <2.3.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\",_shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",_shrinkwrap:null,_spec:\"tough-cookie@~2.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"jstashewsky@salesforce.com\",name:\"Jeremy Stashewsky\"},bugs:{url:\"https://github.com/SalesforceEng/tough-cookie/issues\"},contributors:[{name:\"Alexander Savin\"},{name:\"Ian Livingstone\"},{name:\"Ivan Nikulin\"},{name:\"Lalit Kapoor\"},{name:\"Sam Thompson\"},{name:\"Sebastian Mayr\"}],dependencies:{},description:\"RFC6265 Cookies and Cookie Jar for node.js\",devDependencies:{async:\"^1.4.2\",vows:\"^0.8.1\"},directories:{},dist:{shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",tarball:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\"},engines:{node:\">=0.10.0\"},files:[\"lib\"],gitHead:\"cc46628c4d7d2e8c372ecba29293ca8a207ec192\",homepage:\"https://github.com/SalesforceEng/tough-cookie\",keywords:[\"HTTP\",\"RFC2965\",\"RFC6265\",\"cookie\",\"cookiejar\",\"cookies\",\"jar\",\"set-cookie\"],license:\"BSD-3-Clause\",main:\"./lib/cookie\",maintainers:[{name:\"jstash\",email:\"jeremy@goinstant.com\"},{name:\"goinstant\",email:\"services@goinstant.com\"}],name:\"tough-cookie\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/SalesforceEng/tough-cookie.git\"},scripts:{suffixup:\"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js\",test:\"vows test/*_test.js\"},version:\"2.2.2\"}},{}],465:[function(e,t,n){(function(t){\"use strict\";function r(e){var t=new s(e);return t.request=l.request,t}function i(e){var t=new s(e);return t.request=l.request,t.createSocket=c,t.defaultPort=443,t}function o(e){var t=new s(e);return t.request=f.request,t}function a(e){var t=new s(e);return t.request=f.request,t.createSocket=c,t.defaultPort=443,t}function s(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||l.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(\"free\",function(e,n,r){for(var i=0,o=t.requests.length;o>i;++i){var a=t.requests[i];if(a.host===n&&a.port===r)return t.requests.splice(i,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function c(e,t){var n=this;s.prototype.createSocket.call(n,e,function(r){var i=p.connect(0,u({},n.options,{servername:e.host,socket:r}));n.sockets[n.sockets.indexOf(r)]=i,t(i)})}function u(e){for(var t=1,n=arguments.length;n>t;++t){var r=arguments[t];if(\"object\"==typeof r)for(var i=Object.keys(r),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==r[s]&&(e[s]=r[s])}}return e}var p=(e(\"net\"),e(\"tls\")),l=e(\"http\"),f=e(\"https\"),d=e(\"events\"),h=e(\"assert\"),m=e(\"util\");n.httpOverHttp=r,n.httpsOverHttp=i,n.httpOverHttps=o,n.httpsOverHttps=a,m.inherits(s,d.EventEmitter),s.prototype.addRequest=function(e,t){var n=this;return\"string\"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets?void n.requests.push({host:t.host,port:t.port,request:e}):void n.createConnection({host:t.host,port:t.port,request:e})},s.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(n){function r(){t.emit(\"free\",n,e.host,e.port)}function i(e){t.removeSocket(n),n.removeListener(\"free\",r),n.removeListener(\"close\",i),n.removeListener(\"agentRemove\",i)}n.on(\"free\",r),n.on(\"close\",i),n.on(\"agentRemove\",i),e.request.onSocket(n)})},s.prototype.createSocket=function(e,n){function r(e){e.upgrade=!0}function i(e,t,n){process.nextTick(function(){o(e,t,n)})}function o(t,r,i){if(l.removeAllListeners(),r.removeAllListeners(),200===t.statusCode)h.equal(i.length,0),v(\"tunneling connection has established\"),s.sockets[s.sockets.indexOf(c)]=r,n(r);else{v(\"tunneling socket could not be established, statusCode=%d\",t.statusCode);var o=new Error(\"tunneling socket could not be established, statusCode=\"+t.statusCode);o.code=\"ECONNRESET\",e.request.emit(\"error\",o),s.removeSocket(c)}}function a(t){l.removeAllListeners(),v(\"tunneling socket could not be established, cause=%s\\n\",t.message,t.stack);var n=new Error(\"tunneling socket could not be established, cause=\"+t.message);n.code=\"ECONNRESET\",e.request.emit(\"error\",n),s.removeSocket(c)}var s=this,c={};s.sockets.push(c);var p=u({},s.proxyOptions,{method:\"CONNECT\",path:e.host+\":\"+e.port,agent:!1});p.proxyAuth&&(p.headers=p.headers||{},p.headers[\"Proxy-Authorization\"]=\"Basic \"+new t(p.proxyAuth).toString(\"base64\")),v(\"making CONNECT request\");var l=s.request(p);l.useChunkedEncodingByDefault=!1,l.once(\"response\",r),l.once(\"upgrade\",i),l.once(\"connect\",o),l.once(\"error\",a),l.end()},s.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createConnection(n)}};var v;v=process.env.NODE_DEBUG&&/\\btunnel\\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);\"string\"==typeof e[0]?e[0]=\"TUNNEL: \"+e[0]:e.unshift(\"TUNNEL:\"),console.error.apply(console,e)}:function(){},n.debug=v}).call(this,e(\"buffer\").Buffer)},{assert:void 0,buffer:void 0,events:void 0,http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],466:[function(e,t,n){!function(t){\"use strict\";function n(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function r(e,t,n,r,i){var o,a=0;for(o=0;i>o;o++)a|=e[t+o]^n[r+o];return(1&a-1>>>8)-1}function i(e,t,n,i){return r(e,t,n,i,16)}function o(e,t,n,i){return r(e,t,n,i,32)}function a(e,t,n,r){\nfor(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;w=w+o|0,_=_+a|0,k=k+s|0,j=j+c|0,S=S+u|0,E=E+p|0,O=O+l|0,A=A+f|0,C=C+d|0,T=T+h|0,I=I+m|0,P=P+v|0,F=F+g|0,M=M+y|0,z=z+b|0,B=B+x|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=_>>>0&255,e[5]=_>>>8&255,e[6]=_>>>16&255,e[7]=_>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=T>>>0&255,e[37]=T>>>8&255,e[38]=T>>>16&255,e[39]=T>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=z>>>0&255,e[57]=z>>>8&255,e[58]=z>>>16&255,e[59]=z>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,n,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=I>>>0&255,e[9]=I>>>8&255,e[10]=I>>>16&255,e[11]=I>>>24&255,e[12]=B>>>0&255,e[13]=B>>>8&255,e[14]=B>>>16&255,e[15]=B>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255}function c(e,t,n,r){a(e,t,n,r)}function u(e,t,n,r){s(e,t,n,r)}function p(e,t,n,r,i,o,a){var s,u,p=new Uint8Array(16),l=new Uint8Array(64);for(u=0;16>u;u++)p[u]=0;for(u=0;8>u;u++)p[u]=o[u];for(;i>=64;){for(c(l,p,a,fe),u=0;64>u;u++)e[t+u]=n[r+u]^l[u];for(s=1,u=8;16>u;u++)s=s+(255&p[u])|0,p[u]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(c(l,p,a,fe),u=0;i>u;u++)e[t+u]=n[r+u]^l[u];return 0}function l(e,t,n,r,i){var o,a,s=new Uint8Array(16),u=new Uint8Array(64);for(a=0;16>a;a++)s[a]=0;for(a=0;8>a;a++)s[a]=r[a];for(;n>=64;){for(c(u,s,i,fe),a=0;64>a;a++)e[t+a]=u[a];for(o=1,a=8;16>a;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;n-=64,t+=64}if(n>0)for(c(u,s,i,fe),a=0;n>a;a++)e[t+a]=u[a];return 0}function f(e,t,n,r,i){var o=new Uint8Array(32);u(o,r,i,fe);for(var a=new Uint8Array(8),s=0;8>s;s++)a[s]=r[s+16];return l(e,t,n,a,o)}function d(e,t,n,r,i,o,a){var s=new Uint8Array(32);u(s,o,a,fe);for(var c=new Uint8Array(8),l=0;8>l;l++)c[l]=o[l+16];return p(e,t,n,r,i,c,s)}function h(e,t,n,r,i,o){var a=new de(o);return a.update(n,r,i),a.finish(e,t),0}function m(e,t,n,r,o,a){var s=new Uint8Array(16);return h(s,0,n,r,o,a),i(e,t,s,0)}function v(e,t,n,r,i){var o;if(32>n)return-1;for(d(e,0,t,0,n,r,i),h(e,16,e,32,n-32,e),o=0;16>o;o++)e[o]=0;return 0}function g(e,t,n,r,i){var o,a=new Uint8Array(32);if(32>n)return-1;if(f(a,0,32,r,i),0!==m(t,16,t,32,n-32,a))return-1;for(d(e,0,t,0,n,r,i),o=0;32>o;o++)e[o]=0;return 0}function y(e,t){var n;for(n=0;16>n;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;16>t;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function x(e,t,n){for(var r,i=~(n-1),o=0;16>o;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function w(e,t){var n,r,i,o=ee(),a=ee();for(n=0;16>n;n++)a[n]=t[n];for(b(a),b(a),b(a),r=0;2>r;r++){for(o[0]=a[0]-65517,n=1;15>n;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,x(a,o,1-i)}for(n=0;16>n;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function _(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return w(n,e),w(r,t),o(n,0,r,0)}function k(e){var t=new Uint8Array(32);return w(t,e),1&t[0]}function j(e,t){var n;for(n=0;16>n;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function S(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]+n[r]}function E(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]-n[r]}function O(e,t,n){var r,i,o=0,a=0,s=0,c=0,u=0,p=0,l=0,f=0,d=0,h=0,m=0,v=0,g=0,y=0,b=0,x=0,w=0,_=0,k=0,j=0,S=0,E=0,O=0,A=0,C=0,T=0,I=0,P=0,F=0,M=0,z=0,B=n[0],N=n[1],D=n[2],q=n[3],R=n[4],L=n[5],$=n[6],U=n[7],H=n[8],V=n[9],W=n[10],Y=n[11],K=n[12],G=n[13],J=n[14],Z=n[15];r=t[0],o+=r*B,a+=r*N,s+=r*D,c+=r*q,u+=r*R,p+=r*L,l+=r*$,f+=r*U,d+=r*H,h+=r*V,m+=r*W,v+=r*Y,g+=r*K,y+=r*G,b+=r*J,x+=r*Z,r=t[1],a+=r*B,s+=r*N,c+=r*D,u+=r*q,p+=r*R,l+=r*L,f+=r*$,d+=r*U,h+=r*H,m+=r*V,v+=r*W,g+=r*Y,y+=r*K,b+=r*G,x+=r*J,w+=r*Z,r=t[2],s+=r*B,c+=r*N,u+=r*D,p+=r*q,l+=r*R,f+=r*L,d+=r*$,h+=r*U,m+=r*H,v+=r*V,g+=r*W,y+=r*Y,b+=r*K,x+=r*G,w+=r*J,_+=r*Z,r=t[3],c+=r*B,u+=r*N,p+=r*D,l+=r*q,f+=r*R,d+=r*L,h+=r*$,m+=r*U,v+=r*H,g+=r*V,y+=r*W,b+=r*Y,x+=r*K,w+=r*G,_+=r*J,k+=r*Z,r=t[4],u+=r*B,p+=r*N,l+=r*D,f+=r*q,d+=r*R,h+=r*L,m+=r*$,v+=r*U,g+=r*H,y+=r*V,b+=r*W,x+=r*Y,w+=r*K,_+=r*G,k+=r*J,j+=r*Z,r=t[5],p+=r*B,l+=r*N,f+=r*D,d+=r*q,h+=r*R,m+=r*L,v+=r*$,g+=r*U,y+=r*H,b+=r*V,x+=r*W,w+=r*Y,_+=r*K,k+=r*G,j+=r*J,S+=r*Z,r=t[6],l+=r*B,f+=r*N,d+=r*D,h+=r*q,m+=r*R,v+=r*L,g+=r*$,y+=r*U,b+=r*H,x+=r*V,w+=r*W,_+=r*Y,k+=r*K,j+=r*G,S+=r*J,E+=r*Z,r=t[7],f+=r*B,d+=r*N,h+=r*D,m+=r*q,v+=r*R,g+=r*L,y+=r*$,b+=r*U,x+=r*H,w+=r*V,_+=r*W,k+=r*Y,j+=r*K,S+=r*G,E+=r*J,O+=r*Z,r=t[8],d+=r*B,h+=r*N,m+=r*D,v+=r*q,g+=r*R,y+=r*L,b+=r*$,x+=r*U,w+=r*H,_+=r*V,k+=r*W,j+=r*Y,S+=r*K,E+=r*G,O+=r*J,A+=r*Z,r=t[9],h+=r*B,m+=r*N,v+=r*D,g+=r*q,y+=r*R,b+=r*L,x+=r*$,w+=r*U,_+=r*H,k+=r*V,j+=r*W,S+=r*Y,E+=r*K,O+=r*G,A+=r*J,C+=r*Z,r=t[10],m+=r*B,v+=r*N,g+=r*D,y+=r*q,b+=r*R,x+=r*L,w+=r*$,_+=r*U,k+=r*H,j+=r*V,S+=r*W,E+=r*Y,O+=r*K,A+=r*G,C+=r*J,T+=r*Z,r=t[11],v+=r*B,g+=r*N,y+=r*D,b+=r*q,x+=r*R,w+=r*L,_+=r*$,k+=r*U,j+=r*H,S+=r*V,E+=r*W,O+=r*Y,A+=r*K,C+=r*G,T+=r*J,I+=r*Z,r=t[12],g+=r*B,y+=r*N,b+=r*D,x+=r*q,w+=r*R,_+=r*L,k+=r*$,j+=r*U,S+=r*H,E+=r*V,O+=r*W,A+=r*Y,C+=r*K,T+=r*G,I+=r*J,P+=r*Z,r=t[13],y+=r*B,b+=r*N,x+=r*D,w+=r*q,_+=r*R,k+=r*L,j+=r*$,S+=r*U,E+=r*H,O+=r*V,A+=r*W,C+=r*Y,T+=r*K,I+=r*G,P+=r*J,F+=r*Z,r=t[14],b+=r*B,x+=r*N,w+=r*D,_+=r*q,k+=r*R,j+=r*L,S+=r*$,E+=r*U,O+=r*H,A+=r*V,C+=r*W,T+=r*Y,I+=r*K,P+=r*G,F+=r*J,M+=r*Z,r=t[15],x+=r*B,w+=r*N,_+=r*D,k+=r*q,j+=r*R,S+=r*L,E+=r*$,O+=r*U,A+=r*H,C+=r*V,T+=r*W,I+=r*Y,P+=r*K,F+=r*G,M+=r*J,z+=r*Z,o+=38*w,a+=38*_,s+=38*k,c+=38*j,u+=38*S,p+=38*E,l+=38*O,f+=38*A,d+=38*C,h+=38*T,m+=38*I,v+=38*P,g+=38*F,y+=38*M,b+=38*z,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=f,e[8]=d,e[9]=h,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=x}function A(e,t){O(e,t,t)}function C(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=253;n>=0;n--)A(r,r),2!==n&&4!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function T(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=250;n>=0;n--)A(r,r),1!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function I(e,t,n){var r,i,o=new Uint8Array(32),a=new Float64Array(80),s=ee(),c=ee(),u=ee(),p=ee(),l=ee(),f=ee();for(i=0;31>i;i++)o[i]=t[i];for(o[31]=127&t[31]|64,o[0]&=248,j(a,n),i=0;16>i;i++)c[i]=a[i],p[i]=s[i]=u[i]=0;for(s[0]=p[0]=1,i=254;i>=0;--i)r=o[i>>>3]>>>(7&i)&1,x(s,c,r),x(u,p,r),S(l,s,u),E(s,s,u),S(u,c,p),E(c,c,p),A(p,l),A(f,s),O(s,u,s),O(u,c,l),S(l,s,u),E(s,s,u),A(c,s),E(u,p,f),O(s,u,ae),S(s,s,p),O(u,u,s),O(s,p,f),O(p,c,a),A(c,l),x(s,c,r),x(u,p,r);for(i=0;16>i;i++)a[i+16]=s[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=p[i];var d=a.subarray(32),h=a.subarray(16);return C(d,d),O(h,h,d),w(e,h),0}function P(e,t){return I(e,t,re)}function F(e,t){return te(t,32),P(e,t)}function M(e,t,n){var r=new Uint8Array(32);return I(r,n,t),u(e,ne,r,fe)}function z(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),he(e,t,n,r,a)}function B(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),me(e,t,n,r,a)}function N(e,t,n,r){for(var i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_,k,j,S,E,O,A,C,T=new Int32Array(16),I=new Int32Array(16),P=e[0],F=e[1],M=e[2],z=e[3],B=e[4],N=e[5],D=e[6],q=e[7],R=t[0],L=t[1],$=t[2],U=t[3],H=t[4],V=t[5],W=t[6],Y=t[7],K=0;r>=128;){for(_=0;16>_;_++)k=8*_+K,T[_]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],I[_]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(_=0;80>_;_++)if(i=P,o=F,a=M,s=z,c=B,u=N,p=D,l=q,f=R,d=L,h=$,m=U,v=H,g=V,y=W,b=Y,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=B&N^~B&D,S=H&V^~H&W,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=ve[2*_],S=ve[2*_+1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=T[_%16],S=I[_%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,x=65535&A|C<<16,w=65535&E|O<<16,j=x,S=w,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(P>>>28|R<<4)^(R>>>2|P<<30)^(R>>>7|P<<25),S=(R>>>28|P<<4)^(P>>>2|R<<30)^(P>>>7|R<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=P&F^P&M^F&M,S=R&L^R&$^L&$,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,l=65535&A|C<<16,b=65535&E|O<<16,j=s,S=m,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=x,S=w,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,s=65535&A|C<<16,m=65535&E|O<<16,F=i,M=o,z=a,B=s,N=c,D=u,q=p,P=l,L=f,$=d,U=h,H=m,V=v,W=g,Y=y,R=b,_%16===15)for(k=0;16>k;k++)j=T[k],S=I[k],E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=T[(k+9)%16],S=I[(k+9)%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+1)%16],w=I[(k+1)%16],j=(x>>>1|w<<31)^(x>>>8|w<<24)^x>>>7,S=(w>>>1|x<<31)^(w>>>8|x<<24)^(w>>>7|x<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+14)%16],w=I[(k+14)%16],j=(x>>>19|w<<13)^(w>>>29|x<<3)^x>>>6,S=(w>>>19|x<<13)^(x>>>29|w<<3)^(w>>>6|x<<26),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,T[k]=65535&A|C<<16,I[k]=65535&E|O<<16;j=P,S=R,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[0],S=t[0],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[0]=P=65535&A|C<<16,t[0]=R=65535&E|O<<16,j=F,S=L,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[1],S=t[1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[1]=F=65535&A|C<<16,t[1]=L=65535&E|O<<16,j=M,S=$,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[2],S=t[2],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[2]=M=65535&A|C<<16,t[2]=$=65535&E|O<<16,j=z,S=U,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[3],S=t[3],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[3]=z=65535&A|C<<16,t[3]=U=65535&E|O<<16,j=B,S=H,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[4],S=t[4],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[4]=B=65535&A|C<<16,t[4]=H=65535&E|O<<16,j=N,S=V,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[5],S=t[5],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[5]=N=65535&A|C<<16,t[5]=V=65535&E|O<<16,j=D,S=W,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[6],S=t[6],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[6]=D=65535&A|C<<16,t[6]=W=65535&E|O<<16,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[7],S=t[7],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[7]=q=65535&A|C<<16,t[7]=Y=65535&E|O<<16,K+=128,r-=128}return r}function D(e,t,r){var i,o=new Int32Array(8),a=new Int32Array(8),s=new Uint8Array(256),c=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,N(o,a,t,r),r%=128,i=0;r>i;i++)s[i]=t[c-r+i];for(s[r]=128,r=256-128*(112>r?1:0),s[r-9]=0,n(s,r-8,c/536870912|0,c<<3),N(o,a,s,r),i=0;8>i;i++)n(e,8*i,o[i],a[i]);return 0}function q(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee(),u=ee(),p=ee();E(n,e[1],e[0]),E(p,t[1],t[0]),O(n,n,p),S(r,e[0],e[1]),S(p,t[0],t[1]),O(r,r,p),O(i,e[3],t[3]),O(i,i,ce),O(o,e[2],t[2]),S(o,o,o),E(a,r,n),E(s,o,i),S(c,o,i),S(u,r,n),O(e[0],a,s),O(e[1],u,c),O(e[2],c,s),O(e[3],a,u)}function R(e,t,n){var r;for(r=0;4>r;r++)x(e[r],t[r],n)}function L(e,t){var n=ee(),r=ee(),i=ee();C(i,t[2]),O(n,t[0],i),O(r,t[1],i),w(e,r),e[31]^=k(n)<<7}function $(e,t,n){var r,i;for(y(e[0],ie),y(e[1],oe),y(e[2],oe),y(e[3],ie),i=255;i>=0;--i)r=n[i/8|0]>>(7&i)&1,R(e,t,r),q(t,e),q(e,e),R(e,t,r)}function U(e,t){var n=[ee(),ee(),ee(),ee()];y(n[0],ue),y(n[1],pe),y(n[2],oe),O(n[3],ue,pe),$(e,n,t)}function H(e,t,n){var r,i=new Uint8Array(64),o=[ee(),ee(),ee(),ee()];for(n||te(t,32),D(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,U(o,i),L(e,o),r=0;32>r;r++)t[r+32]=e[r];return 0}function V(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;o>i;++i)t[i]+=n-16*t[r]*ge[i-(r-32)],n=t[i]+128>>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;32>i;i++)t[i]+=n-(t[31]>>4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;32>i;i++)t[i]-=n*ge[i];for(r=0;32>r;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function W(e){var t,n=new Float64Array(64);for(t=0;64>t;t++)n[t]=e[t];for(t=0;64>t;t++)e[t]=0;V(e,n)}function Y(e,t,n,r){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),p=[ee(),ee(),ee(),ee()];D(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64;var l=n+64;for(i=0;n>i;i++)e[64+i]=t[i];for(i=0;32>i;i++)e[32+i]=a[32+i];for(D(c,e.subarray(32),n+32),W(c),U(p,c),L(e,p),i=32;64>i;i++)e[i]=r[i];for(D(s,e,n+64),W(s),i=0;64>i;i++)u[i]=0;for(i=0;32>i;i++)u[i]=c[i];for(i=0;32>i;i++)for(o=0;32>o;o++)u[i+o]+=s[i]*a[o];return V(e.subarray(32),u),l}function K(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee();return y(e[2],oe),j(e[1],t),A(i,e[1]),O(o,i,se),E(i,i,e[2]),S(o,e[2],o),A(a,o),A(s,a),O(c,s,a),O(n,c,i),O(n,n,o),T(n,n),O(n,n,i),O(n,n,o),O(n,n,o),O(e[0],n,o),A(r,e[0]),O(r,r,o),_(r,i)&&O(e[0],e[0],le),A(r,e[0]),O(r,r,o),_(r,i)?-1:(k(e[0])===t[31]>>7&&E(e[0],ie,e[0]),O(e[3],e[0],e[1]),0)}function G(e,t,n,r){var i,a,s=new Uint8Array(32),c=new Uint8Array(64),u=[ee(),ee(),ee(),ee()],p=[ee(),ee(),ee(),ee()];if(a=-1,64>n)return-1;if(K(p,r))return-1;for(i=0;n>i;i++)e[i]=t[i];for(i=0;32>i;i++)e[i+32]=r[i];if(D(c,e,n),W(c),$(u,p,c),U(p,t.subarray(32)),q(u,p),L(s,u),n-=64,o(t,0,s,0)){for(i=0;n>i;i++)e[i]=0;return-1}for(i=0;n>i;i++)e[i]=t[i+64];return a=n}function J(e,t){if(e.length!==ye)throw new Error(\"bad key size\");if(t.length!==be)throw new Error(\"bad nonce size\")}function Z(e,t){if(e.length!==je)throw new Error(\"bad public key size\");if(t.length!==Se)throw new Error(\"bad secret key size\")}function Q(){var e,t;for(t=0;t<arguments.length;t++)if(\"[object Uint8Array]\"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError(\"unexpected type \"+e+\", use Uint8Array\")}function X(e){for(var t=0;t<e.length;t++)e[t]=0}var ee=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},te=function(){throw new Error(\"no PRNG\")},ne=new Uint8Array(16),re=new Uint8Array(32);re[0]=9;var ie=ee(),oe=ee([1]),ae=ee([56129,1]),se=ee([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),ce=ee([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),ue=ee([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),pe=ee([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),le=ee([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),de=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,n,r,i,o,a,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};de.prototype.blocks=function(e,t,n){for(var r,i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_=this.fin?0:2048,k=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],O=this.h[4],A=this.h[5],C=this.h[6],T=this.h[7],I=this.h[8],P=this.h[9],F=this.r[0],M=this.r[1],z=this.r[2],B=this.r[3],N=this.r[4],D=this.r[5],q=this.r[6],R=this.r[7],L=this.r[8],$=this.r[9];n>=16;)r=255&e[t+0]|(255&e[t+1])<<8,k+=8191&r,i=255&e[t+2]|(255&e[t+3])<<8,j+=8191&(r>>>13|i<<3),o=255&e[t+4]|(255&e[t+5])<<8,S+=8191&(i>>>10|o<<6),a=255&e[t+6]|(255&e[t+7])<<8,E+=8191&(o>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,O+=8191&(a>>>4|s<<12),A+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,C+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,T+=8191&(c>>>11|u<<5),p=255&e[t+14]|(255&e[t+15])<<8,I+=8191&(u>>>8|p<<8),P+=p>>>5|_,l=0,f=l,f+=k*F,f+=j*(5*$),f+=S*(5*L),f+=E*(5*R),f+=O*(5*q),l=f>>>13,f&=8191,f+=A*(5*D),f+=C*(5*N),f+=T*(5*B),f+=I*(5*z),f+=P*(5*M),l+=f>>>13,f&=8191,d=l,d+=k*M,d+=j*F,d+=S*(5*$),d+=E*(5*L),d+=O*(5*R),l=d>>>13,d&=8191,d+=A*(5*q),d+=C*(5*D),d+=T*(5*N),d+=I*(5*B),d+=P*(5*z),l+=d>>>13,d&=8191,h=l,h+=k*z,h+=j*M,h+=S*F,h+=E*(5*$),h+=O*(5*L),l=h>>>13,h&=8191,h+=A*(5*R),h+=C*(5*q),h+=T*(5*D),h+=I*(5*N),h+=P*(5*B),l+=h>>>13,h&=8191,m=l,m+=k*B,m+=j*z,m+=S*M,m+=E*F,m+=O*(5*$),l=m>>>13,m&=8191,m+=A*(5*L),m+=C*(5*R),m+=T*(5*q),m+=I*(5*D),m+=P*(5*N),l+=m>>>13,m&=8191,v=l,v+=k*N,v+=j*B,v+=S*z,v+=E*M,v+=O*F,l=v>>>13,v&=8191,v+=A*(5*$),v+=C*(5*L),v+=T*(5*R),v+=I*(5*q),v+=P*(5*D),l+=v>>>13,v&=8191,g=l,g+=k*D,g+=j*N,g+=S*B,g+=E*z,g+=O*M,l=g>>>13,g&=8191,g+=A*F,g+=C*(5*$),g+=T*(5*L),g+=I*(5*R),g+=P*(5*q),l+=g>>>13,g&=8191,y=l,y+=k*q,y+=j*D,y+=S*N,y+=E*B,y+=O*z,l=y>>>13,y&=8191,y+=A*M,y+=C*F,y+=T*(5*$),y+=I*(5*L),y+=P*(5*R),l+=y>>>13,y&=8191,b=l,b+=k*R,b+=j*q,b+=S*D,b+=E*N,b+=O*B,l=b>>>13,b&=8191,b+=A*z,b+=C*M,b+=T*F,b+=I*(5*$),b+=P*(5*L),l+=b>>>13,b&=8191,x=l,x+=k*L,x+=j*R,x+=S*q,x+=E*D,x+=O*N,l=x>>>13,x&=8191,x+=A*B,x+=C*z,x+=T*M,x+=I*F,x+=P*(5*$),l+=x>>>13,x&=8191,w=l,w+=k*$,w+=j*L,w+=S*R,w+=E*q,w+=O*D,l=w>>>13,w&=8191,w+=A*N,w+=C*B,w+=T*z,w+=I*M,w+=P*F,l+=w>>>13,w&=8191,l=(l<<2)+l|0,l=l+f|0,f=8191&l,l>>>=13,d+=l,k=f,j=d,S=h,E=m,O=v,A=g,C=y,T=b,I=x,P=w,t+=16,n-=16;this.h[0]=k,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=O,this.h[5]=A,this.h[6]=C,this.h[7]=T,this.h[8]=I,this.h[9]=P},de.prototype.finish=function(e,t){var n,r,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;16>o;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,o=2;10>o;o++)this.h[o]+=n,n=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;10>o;o++)a[o]=this.h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;10>o;o++)a[o]&=r;for(r=~r,o=0;10>o;o++)this.h[o]=this.h[o]&r|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;8>o;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},de.prototype.update=function(e,t,n){var r,i;if(this.leftover){for(i=16-this.leftover,i>n&&(i=n),r=0;i>r;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(i=n-n%16,this.blocks(e,t,i),t+=i,n-=i),n){for(r=0;n>r;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var he=v,me=g,ve=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ye=32,be=24,xe=32,we=16,_e=32,ke=32,je=32,Se=32,Ee=32,Oe=be,Ae=xe,Ce=we,Te=64,Ie=32,Pe=64,Fe=32,Me=64;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:d,crypto_stream:f,crypto_stream_salsa20_xor:p,crypto_stream_salsa20:l,crypto_onetimeauth:h,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:o,crypto_secretbox:v,crypto_secretbox_open:g,crypto_scalarmult:I,crypto_scalarmult_base:P,crypto_box_beforenm:M,crypto_box_afternm:he,crypto_box:z,crypto_box_open:B,crypto_box_keypair:F,crypto_hash:D,crypto_sign:Y,crypto_sign_keypair:H,crypto_sign_open:G,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:be,crypto_secretbox_ZEROBYTES:xe,crypto_secretbox_BOXZEROBYTES:we,crypto_scalarmult_BYTES:_e,crypto_scalarmult_SCALARBYTES:ke,crypto_box_PUBLICKEYBYTES:je,crypto_box_SECRETKEYBYTES:Se,crypto_box_BEFORENMBYTES:Ee,crypto_box_NONCEBYTES:Oe,crypto_box_ZEROBYTES:Ae,crypto_box_BOXZEROBYTES:Ce,crypto_sign_BYTES:Te,crypto_sign_PUBLICKEYBYTES:Ie,crypto_sign_SECRETKEYBYTES:Pe,crypto_sign_SEEDBYTES:Fe,crypto_hash_BYTES:Me},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error(\"nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js\")}),t.randomBytes=function(e){var t=new Uint8Array(e);return te(t,e),t},t.secretbox=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(xe+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+xe]=e[o];return v(i,r,r.length,t,n),i.subarray(we)},t.secretbox.open=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(we+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+we]=e[o];return r.length<32?!1:0!==g(i,r,r.length,t,n)?!1:i.subarray(xe)},t.secretbox.keyLength=ye,t.secretbox.nonceLength=be,t.secretbox.overheadLength=we,t.scalarMult=function(e,t){if(Q(e,t),e.length!==ke)throw new Error(\"bad n size\");if(t.length!==_e)throw new Error(\"bad p size\");var n=new Uint8Array(_e);return I(n,e,t),n},t.scalarMult.base=function(e){if(Q(e),e.length!==ke)throw new Error(\"bad n size\");var t=new Uint8Array(_e);return P(t,e),t},t.scalarMult.scalarLength=ke,t.scalarMult.groupElementLength=_e,t.box=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox(e,n,o)},t.box.before=function(e,t){Q(e,t),Z(e,t);var n=new Uint8Array(Ee);return M(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox.open(e,n,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(je),t=new Uint8Array(Se);return F(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Se)throw new Error(\"bad secret key size\");var t=new Uint8Array(je);return P(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=je,t.box.secretKeyLength=Se,t.box.sharedKeyLength=Ee,t.box.nonceLength=Oe,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(Q(e,t),t.length!==Pe)throw new Error(\"bad secret key size\");var n=new Uint8Array(Te+e.length);return Y(n,e,e.length,t),n},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error(\"nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?\");if(Q(e,t),t.length!==Ie)throw new Error(\"bad public key size\");var n=new Uint8Array(e.length),r=G(n,e,e.length,t);if(0>r)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached=function(e,n){for(var r=t.sign(e,n),i=new Uint8Array(Te),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached.verify=function(e,t,n){if(Q(e,t,n),t.length!==Te)throw new Error(\"bad signature size\");if(n.length!==Ie)throw new Error(\"bad public key size\");var r,i=new Uint8Array(Te+e.length),o=new Uint8Array(Te+e.length);for(r=0;Te>r;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+Te]=e[r];return G(o,i,i.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(Ie),t=new Uint8Array(Pe);return H(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Pe)throw new Error(\"bad secret key size\");for(var t=new Uint8Array(Ie),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(Q(e),e.length!==Fe)throw new Error(\"bad seed size\");for(var t=new Uint8Array(Ie),n=new Uint8Array(Pe),r=0;32>r;r++)n[r]=e[r];return H(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=Ie,t.sign.secretKeyLength=Pe,t.sign.seedLength=Fe,t.sign.signatureLength=Te,t.hash=function(e){Q(e);var t=new Uint8Array(Me);return D(t,e,e.length),t},t.hash.hashLength=Me,t.verify=function(e,t){return Q(e,t),0===e.length||0===t.length?!1:e.length!==t.length?!1:0===r(e,0,t,0,e.length)},t.setPRNG=function(e){te=e},function(){var n=\"undefined\"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){var r=65536;t.setPRNG(function(e,t){var i,o=new Uint8Array(t);for(i=0;t>i;i+=r)n.getRandomValues(o.subarray(i,i+Math.min(t-i,r)));\nfor(i=0;t>i;i++)e[i]=o[i];X(o)})}else\"undefined\"!=typeof e&&(n=e(\"crypto\"),n&&n.randomBytes&&t.setPRNG(function(e,t){var r,i=n.randomBytes(t);for(r=0;t>r;r++)e[r]=i[r];X(i)}))}()}(\"undefined\"!=typeof t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:void 0}],467:[function(e,t,n){\"use strict\";function r(e,t){var n,r=t,i=u(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var o;for(n=0;n<r.length;n++)if(s(a(o=r[n]),i))return\"+\"===o[0]||-1!==o.indexOf(\"*\")?i:o;return!1}function i(e){return void 0!==e.headers[\"transfer-encoding\"]||!isNaN(e.headers[\"content-length\"])}function o(e,t){var n=t;if(!i(e))return null;if(arguments.length>2){n=new Array(arguments.length-1);for(var o=0;o<n.length;o++)n[o]=arguments[o+1]}var a=e.headers[\"content-type\"];return r(a,n)}function a(e){if(\"string\"!=typeof e)return!1;switch(e){case\"urlencoded\":return\"application/x-www-form-urlencoded\";case\"multipart\":return\"multipart/*\"}return\"+\"===e[0]?\"*/*\"+e:-1===e.indexOf(\"/\")?l.lookup(e):e}function s(e,t){if(e===!1)return!1;var n=t.split(\"/\"),r=e.split(\"/\");return 2!==n.length||2!==r.length?!1:\"*\"!==r[0]&&r[0]!==n[0]?!1:\"*+\"===r[1].substr(0,2)?r[1].length<=n[1].length+1&&r[1].substr(1)===n[1].substr(1-r[1].length):\"*\"===r[1]||r[1]===n[1]}function c(e){var t=p.parse(e);return t.parameters=void 0,p.format(t)}function u(e){try{return c(e)}catch(t){return null}}var p=e(\"media-typer\"),l=e(\"mime-types\");t.exports=o,t.exports.is=r,t.exports.hasBody=i,t.exports.normalize=a,t.exports.match=s},{\"media-typer\":179,\"mime-types\":184}],468:[function(e,t,n){(function(r){function i(e){v[e]=v(e)}function o(e){return{a:function(t){t.prototype&&(t=t.prototype.constructor.name);var n=Object.prototype.toString.call(e).slice(8,-1).toLowerCase();return null!=e&&n===t.toLowerCase()}}}function a(e){var t=Array.indexOf?function(e,t,n){return e.indexOf(t,n)}:function(e,t,n){var r=e.length,i=n?parseInt(1*n+(0>n?r:0),10):0;for(i=0>i?0:i;r>i;i++)if(i in e&&e[i]===t)return i;return-1};return{startWith:function(t){return o(e).a(String)?e.slice(0,t.length)==t:o(e).a(Array)?e[0]==t:!1},endWith:function(t){return o(e).a(String)?e.slice(-t.length)==t:o(e).a(Array)?e[e.length-1]==t:!1},contain:function(n){return o(e).a(String)?-1!=e.indexOf(n):o(e).a(Object)?e.hasOwnProperty(n):o(e).a(Array)?!!~t(e,n):!1}}}var s=e(\"string_decoder\").StringDecoder,c=e(\"querystring\"),u=e(\"form-data\"),p=e(\"stream\"),l=e(\"mime\"),f=e(\"zlib\"),d=e(\"path\"),h=e(\"url\"),m=e(\"fs\");l.define({\"application/x-www-form-urlencoded\":[\"form\",\"urlencoded\",\"form-data\"]});var v=function(e,t,n,i,c){var g=function(t,n,i,c){function g(e,t,n){var r,i,a,s;if(n=n||{attachment:!1},o(e).a(Object))for(a in e)e.hasOwnProperty(a)&&g(a,e[a],n);else if(o(t).a(Array))for(s=0,i=t.length;i>s;s++)(r=y(t[s]))&&x.rawField(e,r,n);else null!=t&&x.rawField(e,y(t),n);return x}function y(e){return e instanceof r||\"string\"==typeof e?e:o(e).a(Object)?e instanceof m.FileReadStream?e:v.serializers.json(e):e.toString()}function b(e,t){x[e]=function(n){return x.options[t||e]=n,x}}var x={_stream:!1,_multipart:[],_form:[],options:{url:t,method:e,headers:{}},hasHeader:function(e){var t,n;e=e.toLowerCase(),t=Object.keys(x.options.headers),n=t.map(function(e){return e.toLowerCase()});for(var r=0;r<n.length;r++)if(n[r]===e)return t[r];return!1},stream:function(){return x._stream=!0,this},field:function(e,t,n){return g(e,t,n)},attach:function(e,t,n){return n=n||{},n.attachment=!0,g(e,t,n)},rawField:function(e,t,n){x._multipart.push({name:e,value:t,options:n,attachment:n.attachment||!1})},auth:function(e,t,n){return x.options.auth=o(e).a(Object)?e:{user:e,password:t,sendImmediately:n},x},header:function(e,t){if(o(e).a(Object)){for(var n in e)e.hasOwnProperty(n)&&x.header(n,e[n]);return x}var r=x.hasHeader(e);return x.options.headers[r||e]=t,x},query:function(e){return o(e).a(Object)&&(e=v.serializers.form(e)),e.length?(x.options.url+=(a(x.options.url).contain(\"?\")?\"&\":\"?\")+e,x):x},type:function(e){return x.header(\"Content-Type\",a(e).contain(\"/\")?e:l.lookup(e)),x},send:function(e){var t=x.options.headers[x.hasHeader(\"content-type\")];if(o(e).a(Object)&&!r.isBuffer(e))if(t)if(t.indexOf(\"json\"))if(x.options.json=!0,x.options.body&&o(x.options.body).a(Object))for(var n in e)e.hasOwnProperty(n)&&(x.options.body[n]=e[n]);else x.options.body=e;else x.options.body=v.Request.serialize(e,t);else x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")],x.options.body=v.serializers.form(e);else o(e).a(String)?(t||(x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")]),\"application/x-www-form-urlencoded\"==t?x.options.body=x.options.body?x.options.body+\"&\"+e:e:x.options.body=(x.options.body||\"\")+e):x.options.body=e;return x},part:function(e){if(x._multipart||(x.options.multipart=[]),o(e).a(Object)){if(e[\"content-type\"]){var t=v.type(e[\"content-type\"],!0);t&&(e.body=v.Response.parse(e.body))}else o(e.body).a(Object)&&(e.body=Request.serializers.json(e.body));x.options.multipart.push(e)}else x.options.multipart.push({body:e});return x},end:function(e){function t(t,n,r){function i(e){var t=v.trim(e).split(\"=\"),n=v.trim(t[0]),r=v.trim(t.slice(1).join(\"=\"));t[0]&&\"\"!=t[0]&&(p.cookies[n]=\"\"===r?!0:r)}var s,c,u,p={};if(t&&!n)return p.error=t,void(e&&e(p));if(!n)return console.log(\"This is odd, report this action / request to: http://github.com/mashape/unirest-nodejs\"),p.error={message:\"No response found.\"},void(e&&e(p));if(p=n,s=n.statusCode,u=s/100|0,p.code=s,p.status=s,p.statusType=u,p.info=1==u,p.ok=2==u,p.clientError=4==u,p.serverError=5==u,p.accepted=202==s,p.noContent=204==s||1223==s,p.badRequest=400==s,p.unauthorized=401==s,p.notAcceptable=406==s,p.notFound=404==s,p.forbidden=403==s,p.error=4==u||5==u?function(){var e=\"got \"+p.status+\" response\",t=new Error(e);return t.status=p.status,t}():!1,p.cookies={},p.cookie=function(e){return p.cookies[e]},n.cookies&&o(n.cookies).a(Object)&&Object.keys(n.cookies).length>0)p.cookies=n.cookies;else{var l=n.headers[\"set-cookie\"];if(l&&o(l).a(Array))for(var f=0;f<l.length;f++){var d=l[f];o(d).a(String)&&a(d).contain(\";\")&&d.split(\";\").forEach(i)}l=n.headers.cookie,l&&o(l).a(String)&&l.split(\";\").forEach(i)}r=r||n.body,p.raw_body=r,p.headers=n.headers,r&&(u=v.type(p.headers[\"content-type\"],!0),c=u?v.Response.parse(r,u):r),p.body=c,e&&e(p)}function n(e){if(/^(deflate|gzip)$/.test(e.headers[\"content-encoding\"])){var t,n=f.createUnzip(),r=new p,i=e.on;r.req=e.req,n.on(\"error\",function(e){r.emit(\"error\",e)}),e.pipe(n),e.setEncoding=function(e){t=new s(e)},n.on(\"data\",function(e){if(!t)return r.emit(\"data\",e);var n=t.write(e);n.length&&r.emit(\"data\",n)}),n.on(\"end\",function(){r.emit(\"end\")}),e.on=function(t,n){\"data\"==t||\"end\"==t?r.on(t,n):\"error\"==t?i.call(e,t,n):i.call(e,t,n)}}}function r(e){for(var t=0;t<x._multipart.length;t++){var n=x._multipart[t];n.attachment&&o(n.value).a(String)&&(a(n.value).contain(\"http://\")||a(n.value).contain(\"https://\")?n.value=v.request(n.value):n.value=m.createReadStream(d.resolve(n.value))),e.append(n.name,n.value,n.options)}return e}var i,c,l,g;return x._multipart.length&&!x._stream?(l=h.parse(x.options.url),g=new u,(c=x.options.headers[x.hasHeader(\"content-type\")])?x.options.headers[\"content-type\"]=c.split(\";\")[0]+\"; boundary=\"+g.getBoundary():x.options.headers[\"content-type\"]=\"multipart/form-data; boundary=\"+g.getBoundary(),r(g).submit({protocol:l.protocol,port:l.port,host:l.hostname,path:l.path,method:x.options.method,headers:x.options.headers,auth:x.options.auth||l.auth},function(e,r){var i=new s(\"utf8\");return e?t(e,r):(r.body||(r.body=\"\"),r.resume(),n(r),r.on(\"data\",function(e){\"string\"==typeof e?r.body+=e:r.body+=i.write(e)}),void r.on(\"end\",function(){return t(e,r)}))})):(i=v.request(x.options,t),i.on(\"response\",n),x._multipart.length&&x._stream&&r(i.form()),i)}};x.headers=x.header,x.set=x.header,x.complete=x.end,x.as={json:x.end,binary:x.end,string:x.end};for(var w in v[\"enum\"].options)if(v[\"enum\"].options.hasOwnProperty(w)){var _=v[\"enum\"].options[w],k=null;-1!=_.indexOf(\":\")&&(_=_.split(\":\"),k=_[1],_=_[0]),b(_,k)}return n&&\"function\"==typeof n?(c=n,n=null):i&&\"function\"==typeof i&&(c=i,i=null),n&&x.set(n),i&&x.send(i),c?x.end(c):x};return t?g(t,n,i,c):g};v.type=function(e,t){return\"string\"!=typeof e?!1:t?e.split(/ *; */).shift():v.types[e]||e},v.params=function(e){return reduce(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},v.trim=\"\".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\\s*|\\s*$)/g,\"\")},v.parsers={string:function(e){for(var t,n,r={},i=e.split(\"&\"),o=0,a=i.length;a>o;++o)n=i[o],t=n.split(\"=\"),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r},json:function(e){try{e=JSON.parse(e)}catch(t){}return e}},v.serializers={form:function(e){return c.stringify(e)},json:function(e){return JSON.stringify(e)}},v.Request={serialize:function(e,t){var n=v.firstMatch(t,v[\"enum\"].serialize);return n?n(e):e},uid:function(e){for(var t=\"\",n=\"abcdefghijklmnopqrstuvwxyz123456789\",r=n.length;e--;)t+=n[Math.random()*r|0];return t}},v.Response={parse:function(e,t){var n=v.firstMatch(t,v[\"enum\"].parse);return n?n(e):e},parseHeader:function(e){var t,n,r,i,o=e.split(/\\r?\\n/),a={};o.pop();for(var s=0,c=o.length;c>s;++s)n=o[s],t=n.indexOf(\":\"),r=n.slice(0,t).toLowerCase(),i=trim(n.slice(t+1)),a[r]=i;return a}},v.request=e(\"request\"),v.cookie=v.request.cookie,v.pipe=v.request.pipe,v.jar=function(e){e=e||{};var t=v.request.jar();return e.store&&(t._jar.store=e.store),e.rejectPublicSuffixes&&(t._jar.rejectPublicSuffixes=e.rejectPublicSuffixes),t.add=t.setCookie,t.toString=t.getCookieString,t},v[\"enum\"]={serialize:{\"application/x-www-form-urlencoded\":v.serializers.form,\"application/json\":v.serializers.json,\"+json\":v.serializers.json},parse:{\"application/x-www-form-urlencoded\":v.parsers.string,\"application/json\":v.parsers.json,\"+json\":v.parsers.json},methods:[\"GET\",\"HEAD\",\"PUT\",\"POST\",\"PATCH\",\"DELETE\",\"OPTIONS\"],options:[\"uri:url\",\"redirects:maxRedirects\",\"redirect:followRedirect\",\"url\",\"method\",\"qs\",\"form\",\"json\",\"multipart\",\"followRedirect\",\"followAllRedirects\",\"maxRedirects\",\"encoding\",\"pool\",\"timeout\",\"proxy\",\"oauth\",\"hawk\",\"ssl:strictSSL\",\"strictSSL\",\"jar\",\"cookies:jar\",\"aws\",\"httpSignature\",\"localAddress\",\"ip:localAddress\",\"secureProtocol\",\"forever\"]},v.matches=function(e,t){var n=[];for(var r in t)\"undefined\"!=typeof t.length&&(r=t[r]),-1!==e.indexOf(r)&&n.push(t[r]);return n},v.firstMatch=function(e,t){return v.matches(e,t)[0]};for(var g=0;g<v[\"enum\"].methods.length;g++){var y=v[\"enum\"].methods[g].toLowerCase();i(y)}t.exports=n=v}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"form-data\":487,fs:void 0,mime:506,path:void 0,querystring:void 0,request:517,stream:void 0,string_decoder:void 0,url:void 0,zlib:void 0}],469:[function(e,t,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],470:[function(e,t,n){arguments[4][5][0].apply(n,arguments)},{\"./errors\":469,\"./reader\":471,\"./types\":472,\"./writer\":473,dup:5}],471:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0;var t=this;this.__defineGetter__(\"length\",function(){return t._len}),this.__defineGetter__(\"offset\",function(){return t._offset}),this.__defineGetter__(\"remain\",function(){return t._size-t._offset}),this.__defineGetter__(\"buffer\",function(){return t._buf.slice(t._offset)})}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+n.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>this._size-r)return null;if(this._offset=r,0===this.length)return\"\";var i=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?i:i.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>this._size-n)return null;this._offset=n;for(var r=[],i=0,a=0;a<this.length;a++){var c=255&this._buf[this._offset++];i<<=7,i+=127&c,0==(128&c)&&(r.push(i),i=0)}return i=r.shift(),r.unshift(i%40),r.unshift(i/40>>0),r.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset++],o=0;o=127&r;for(var a=1;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&(o=-o),o},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../../node_modules/is-buffer/index.js\":538,\"./errors\":469,\"./types\":472,assert:void 0}],472:[function(e,t,n){arguments[4][7][0].apply(n,arguments)},{dup:7}],473:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[];var t=this;this.__defineGetter__(\"buffer\",function(){if(t._seq.length)throw new InvalidAsn1Error(t._seq.length+\" unended sequence(s)\");return t._buf.slice(0,t._offset)})}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||4286578688===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._shift(start,e,1),this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":469,\"./types\":472,assert:void 0,buffer:void 0}],474:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{\"./ber/index\":470,dup:9}],475:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.charAt(0).toLowerCase()+e.slice(1)}function o(){return _.format.apply(_,arguments)}function a(e,t,n,r){if(!k){n=n||t,r=r||a.caller;var i=typeof e;if(i!==t)throw new x.AssertionError({message:o(E,n,t),actual:i,expected:t,operator:\"===\",stackStartFunction:r})}}function s(e,t,n,r){if(!(k||(n=n||t,r=r||s.caller,e instanceof t)))throw new x.AssertionError({message:o(E,n,t.name),actual:c(e),expected:t.name,operator:\"instanceof\",stackStartFunction:r})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){if(!k){if(n=n||t,!Array.isArray(e))throw new x.AssertionError({message:o(S,n,t),actual:typeof e,expected:\"array\",operator:\"Array.isArray\",stackStartFunction:u.caller});for(var r=0;r<e.length;r++)a(e[r],t,n,u)}}function p(e,t){a(e,\"boolean\",t,p)}function l(e,t){if(!n.isBuffer(e))throw new x.AssertionError({message:o(E,t||\"\",\"Buffer\"),actual:typeof e,expected:\"buffer\",operator:\"Buffer.isBuffer\",stackStartFunction:l})}function f(e,t){a(e,\"function\",t)}function d(e,t){if(a(e,\"number\",t),!k&&(isNaN(e)||!isFinite(e)))throw new x.AssertionError({message:o(E,t,\"number\"),actual:e,expected:\"number\",operator:\"isNaN\",stackStartFunction:d})}function h(e,t){a(e,\"object\",t)}function m(e,t){s(e,w,t)}function v(e,t){s(e,Date,t)}function g(e,t){s(e,RegExp,t)}function y(e,t){a(e,\"string\",t)}function b(e,t){if(y(e,t),!k&&!j.test(e))throw new x.AssertionError({message:o(E,t,\"uuid\"),actual:\"string\",expected:\"uuid\",operator:\"test\",stackStartFunction:b})}var x=e(\"assert\"),w=e(\"stream\").Stream,_=e(\"util\"),k=process.env.NODE_NDEBUG||!1,j=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,S=\"%s ([%s]) required\",E=\"%s (%s) is required\";t.exports={bool:p,buffer:l,date:v,func:f,number:d,object:h,regexp:g,stream:m,string:y,uuid:b},Object.keys(t.exports).forEach(function(e){if(\"buffer\"!==e){var n=\"arrayOf\"+r(e);\"bool\"===e&&(e=\"boolean\"),\"func\"===e&&(e=\"function\"),t.exports[n]=function(t,n){u(t,e,n)}}}),Object.keys(t.exports).forEach(function(e){var n=\"optional\"+r(e),o=i(e.replace(\"arrayOf\",\"\"));\"bool\"===o&&(o=\"boolean\"),\"func\"===o&&(o=\"function\"),-1!==e.indexOf(\"arrayOf\")?t.exports[n]=function(e,t){k||void 0===e||u(e,o,t)}:t.exports[n]=function(e,t){k||void 0===e||a(e,o,t)}}),Object.keys(x).forEach(function(e){return\"AssertionError\"===e?void(t.exports[e]=x[e]):void(t.exports[e]=function(){k||x[e].apply(x[e],arguments)})})}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],476:[function(e,t,n){!function(){function e(e){var t=!1;return function(){if(t)throw new Error(\"Callback was already called.\");t=!0,e.apply(n,arguments)}}var n,r,i={};n=this,null!=n&&(r=n.async),i.noConflict=function(){return n.async=r,i};var o=Object.prototype.toString,a=Array.isArray||function(e){return\"[object Array]\"===o.call(e)},s=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)},c=function(e,t){if(e.map)return e.map(t);var n=[];return s(e,function(e,r,i){n.push(t(e,r,i))}),n},u=function(e,t,n){return e.reduce?e.reduce(t,n):(s(e,function(e,r,i){n=t(n,e,r,i)}),n)},p=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t};\"undefined\"!=typeof process&&process.nextTick?(i.nextTick=process.nextTick,\"undefined\"!=typeof setImmediate?i.setImmediate=function(e){setImmediate(e)}:i.setImmediate=i.nextTick):\"function\"==typeof setImmediate?(i.nextTick=function(e){setImmediate(e)},i.setImmediate=i.nextTick):(i.nextTick=function(e){setTimeout(e,0)},i.setImmediate=i.nextTick),i.each=function(t,n,r){function i(e){e?(r(e),r=function(){}):(o+=1,o>=t.length&&r())}if(r=r||function(){},!t.length)return r();var o=0;s(t,function(t){n(t,e(i))})},i.forEach=i.each,i.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var r=0,i=function(){t(e[r],function(t){t?(n(t),n=function(){}):(r+=1,r>=e.length?n():i())})};i()},i.forEachSeries=i.eachSeries,i.eachLimit=function(e,t,n,r){var i=l(t);i.apply(null,[e,n,r])},i.forEachLimit=i.eachLimit;var l=function(e){return function(t,n,r){if(r=r||function(){},!t.length||0>=e)return r();var i=0,o=0,a=0;!function s(){if(i>=t.length)return r();for(;e>a&&o<t.length;)o+=1,a+=1,n(t[o-1],function(e){e?(r(e),r=function(){}):(i+=1,a-=1,i>=t.length?r():s())})}()}},f=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.each].concat(t))}},d=function(e,t){return function(){var n=Array.prototype.slice.call(arguments);return t.apply(null,[l(e)].concat(n))}},h=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.eachSeries].concat(t))}},m=function(e,t,n,r){if(t=c(t,function(e,t){return{index:t,value:e}}),r){var i=[];e(t,function(e,t){n(e.value,function(n,r){i[e.index]=r,t(n)})},function(e){r(e,i)})}else e(t,function(e,t){n(e.value,function(e){t(e)})})};i.map=f(m),i.mapSeries=h(m),i.mapLimit=function(e,t,n,r){return v(t)(e,n,r)};var v=function(e){return d(e,m)};i.reduce=function(e,t,n,r){i.eachSeries(e,function(e,r){n(t,e,function(e,n){t=n,r(e)})},function(e){r(e,t)})},i.inject=i.reduce,i.foldl=i.reduce,i.reduceRight=function(e,t,n,r){var o=c(e,function(e){return e}).reverse();i.reduce(o,t,n,r)},i.foldr=i.reduceRight;var g=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n&&i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.filter=f(g),i.filterSeries=h(g),i.select=i.filter,i.selectSeries=i.filterSeries;var y=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n||i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.reject=f(y),i.rejectSeries=h(y);var b=function(e,t,n,r){e(t,function(e,t){n(e,function(n){n?(r(e),r=function(){}):t()})},function(e){r()})};i.detect=f(b),i.detectSeries=h(b),i.some=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e&&(n(!0),n=function(){}),r()})},function(e){n(!1)})},i.any=i.some,i.every=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e||(n(!1),n=function(){}),r()})},function(e){n(!0)})},i.all=i.every,i.sortBy=function(e,t,n){i.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){if(e)return n(e);var r=function(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0};n(null,c(t.sort(r),function(e){return e.value}))})},i.auto=function(e,t){t=t||function(){};var n=p(e),r=n.length;if(!r)return t();var o={},c=[],l=function(e){c.unshift(e)},f=function(e){for(var t=0;t<c.length;t+=1)if(c[t]===e)return void c.splice(t,1)},d=function(){r--,s(c.slice(0),function(e){e()})};l(function(){if(!r){var e=t;t=function(){},e(null,o)}}),s(n,function(n){var r=a(e[n])?e[n]:[e[n]],c=function(e){var r=Array.prototype.slice.call(arguments,1);if(r.length<=1&&(r=r[0]),e){var a={};s(p(o),function(e){a[e]=o[e]}),a[n]=r,t(e,a),t=function(){}}else o[n]=r,i.setImmediate(d)},h=r.slice(0,Math.abs(r.length-1))||[],m=function(){return u(h,function(e,t){return e&&o.hasOwnProperty(t)},!0)&&!o.hasOwnProperty(n)};if(m())r[r.length-1](c,o);else{var v=function(){m()&&(f(v),r[r.length-1](c,o))};l(v)}})},i.retry=function(e,t,n){var r=5,o=[];\"function\"==typeof e&&(n=t,t=e,e=r),e=parseInt(e,10)||r;var a=function(r,a){for(var s=function(e,t){return function(n){e(function(e,r){n(!e||t,{err:e,result:r})},a)}};e;)o.push(s(t,!(e-=1)));i.series(o,function(e,t){t=t[t.length-1],(r||n)(t.err,t.result)})};return n?a():a},i.waterfall=function(e,t){if(t=t||function(){},!a(e)){var n=new Error(\"First argument to waterfall must be an array of functions\");return t(n)}if(!e.length)return t();var r=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var o=Array.prototype.slice.call(arguments,1),a=e.next();a?o.push(r(a)):o.push(t),i.setImmediate(function(){e.apply(null,o)})}}};r(i.iterator(e))()};var x=function(e,t,n){if(n=n||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},n);else{var r={};e.each(p(t),function(e,n){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[e]=i,n(t)})},function(e){n(e,r)})}};i.parallel=function(e,t){x({map:i.map,each:i.each},e,t)},i.parallelLimit=function(e,t,n){x({map:v(t),each:l(t)},e,n)},i.series=function(e,t){if(t=t||function(){},a(e))i.mapSeries(e,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},t);else{var n={};i.eachSeries(p(e),function(t,r){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[t]=i,r(e)})},function(e){t(e,n)})}},i.iterator=function(e){var t=function(n){var r=function(){return e.length&&e[n].apply(null,arguments),r.next()};return r.next=function(){return n<e.length-1?t(n+1):null},r};return t(0)},i.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,n,r){var i=[];e(t,function(e,t){n(e,function(e,n){i=i.concat(n||[]),t(e)})},function(e){r(e,i)})};i.concat=f(w),i.concatSeries=h(w),i.whilst=function(e,t,n){e()?t(function(r){return r?n(r):void i.whilst(e,t,n)}):n()},i.doWhilst=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?i.doWhilst(e,t,n):n()})},i.until=function(e,t,n){e()?n():t(function(r){return r?n(r):void i.until(e,t,n)})},i.doUntil=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?n():i.doUntil(e,t,n)})},i.queue=function(t,n){function r(e,t,n,r){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var o={data:t,callback:\"function\"==typeof r?r:null};n?e.tasks.unshift(o):e.tasks.push(o),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}void 0===n&&(n=1);var o=0,c={tasks:[],concurrency:n,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){r(c,e,!1,t)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(e,t){r(c,e,!0,t)},process:function(){if(!c.paused&&o<c.concurrency&&c.tasks.length){var n=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),o+=1;var r=function(){o-=1,n.callback&&n.callback.apply(n,arguments),c.drain&&c.tasks.length+o===0&&c.drain(),c.process()},i=e(r);t(n.data,i)}},length:function(){return c.tasks.length},running:function(){return o},idle:function(){return c.tasks.length+o===0},pause:function(){c.paused!==!0&&(c.paused=!0)},resume:function(){if(c.paused!==!1){c.paused=!1;for(var e=1;e<=c.concurrency;e++)i.setImmediate(c.process)}}};return c},i.priorityQueue=function(e,t){function n(e,t){return e.priority-t.priority}function r(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,c){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var a={data:t,priority:o,callback:\"function\"==typeof c?c:null};e.tasks.splice(r(e.tasks,a,n)+1,0,a),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}var c=i.queue(e,t);return c.push=function(e,t,n){o(c,e,t,n)},delete c.unshift,c},i.cargo=function(e,t){var n=!1,r=[],o={tasks:r,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,n){a(e)||(e=[e]),s(e,function(e){r.push({data:e,callback:\"function\"==typeof n?n:null}),o.drained=!1,o.saturated&&r.length===t&&o.saturated()}),i.setImmediate(o.process)},process:function u(){if(!n){if(0===r.length)return o.drain&&!o.drained&&o.drain(),void(o.drained=!0);var i=\"number\"==typeof t?r.splice(0,t):r.splice(0,r.length),a=c(i,function(e){return e.data});o.empty&&o.empty(),n=!0,e(a,function(){n=!1;var e=arguments;s(i,function(t){t.callback&&t.callback.apply(null,e)}),u()})}},length:function(){return r.length},running:function(){return n}};return o};var _=function(e){return function(t){var n=Array.prototype.slice.call(arguments,1);t.apply(null,n.concat([function(t){var n=Array.prototype.slice.call(arguments,1);\"undefined\"!=typeof console&&(t?console.error&&console.error(t):console[e]&&s(n,function(t){console[e](t)}))}]))}};i.log=_(\"log\"),i.dir=_(\"dir\"),i.memoize=function(e,t){var n={},r={};t=t||function(e){return e};var o=function(){var o=Array.prototype.slice.call(arguments),a=o.pop(),s=t.apply(null,o);\ns in n?i.nextTick(function(){a.apply(null,n[s])}):s in r?r[s].push(a):(r[s]=[a],e.apply(null,o.concat([function(){n[s]=arguments;var e=r[s];delete r[s];for(var t=0,i=e.length;i>t;t++)e[t].apply(null,arguments)}])))};return o.memo=n,o.unmemoized=e,o},i.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},i.times=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.map(r,t,n)},i.timesSeries=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.mapSeries(r,t,n)},i.seq=function(){var e=arguments;return function(){var t=this,n=Array.prototype.slice.call(arguments),r=n.pop();i.reduce(e,n,function(e,n,r){n.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);r(e,t)}]))},function(e,n){r.apply(t,[e].concat(n))})}},i.compose=function(){return i.seq.apply(null,Array.prototype.reverse.call(arguments))};var k=function(e,t){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return e(t,function(e,t){e.apply(n,r.concat([t]))},i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};i.applyEach=f(k),i.applyEachSeries=h(k),i.forever=function(e,t){function n(r){if(r){if(t)return t(r);throw r}e(n)}n()},\"undefined\"!=typeof t&&t.exports?t.exports=i:\"undefined\"!=typeof define&&define.amd?define([],function(){return i}):n.async=i}()},{}],477:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],478:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),this._bufs.push(t?e:new n(e)),this.length+=e.length,this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":513,util:void 0}],479:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":480,dup:434}],480:[function(e,t,n){var r=e(\"http\"),i=e(\"util\"),o=e(\"hoek\"),a={};n=t.exports=a.Boom=function(){if(o.assert(this.constructor===a.Boom,\"Error must be instantiated using new\"),Error.call(this),this.isBoom=!0,this.response={code:0,payload:{},headers:{}},arguments[0]instanceof Error){var e=arguments[0];this.data=e,this.response.code=e.code||500,e.message&&(this.message=e.message)}else{var t=arguments[0],n=arguments[1];o.assert(!isNaN(parseFloat(t))&&isFinite(t)&&t>=400,\"First argument must be a number (400+)\"),this.response.code=t,n&&(this.message=n)}return this.reformat(),this},i.inherits(a.Boom,Error),a.Boom.prototype.reformat=function(){this.response.payload.code=this.response.code,this.response.payload.error=r.STATUS_CODES[this.response.code]||\"Unknown\",this.message&&(this.response.payload.message=o.escapeHtml(this.message))},a.Boom.badRequest=function(e){return new a.Boom(400,e)},a.Boom.unauthorized=function(e,t,n){var r=new a.Boom(401,e);if(!t)return r;var i=\"\";if(\"string\"==typeof t){if(i=t,n)for(var s=Object.keys(n),c=0,u=s.length;u>c;++c){c&&(i+=\",\");var p=n[s[c]];null!==p&&void 0!==p||(p=\"\"),i+=\" \"+s[c]+'=\"'+o.escapeHeaderAttribute(p.toString())+'\"'}e?(n&&(i+=\",\"),i+=' error=\"'+o.escapeHeaderAttribute(e)+'\"'):r.isMissing=!0}else for(var l=t,c=0,u=l.length;u>c;++c)c&&(i+=\", \"),i+=l[c];return r.response.headers[\"WWW-Authenticate\"]=i,r},a.Boom.clientTimeout=function(e){return new a.Boom(408,e)},a.Boom.serverTimeout=function(e){return new a.Boom(503,e)},a.Boom.forbidden=function(e){return new a.Boom(403,e)},a.Boom.notFound=function(e){return new a.Boom(404,e)},a.Boom.internal=function(e,t){var n=new a.Boom(500,e);return t&&t.stack?(n.trace=t.stack.split(\"\\n\"),n.outterTrace=o.displayStack(1)):n.trace=o.displayStack(1),n.data=t,n.response.payload.message=\"An internal server error occurred\",n},a.Boom.passThrough=function(e,t,n,r){var i=new a.Boom(500,\"Pass-through\");return i.data={code:e,payload:t,type:n},i.response.code=e,i.response.type=n,i.response.headers=r,i.response.payload=t,i}},{hoek:494,http:void 0,util:void 0}],481:[function(e,t,n){function r(e){this.dict=e}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return n.set(e,t,r)},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],482:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":485,stream:void 0,util:void 0}],483:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":484,dup:434}],484:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n+=o===a?0:1}return 0===n}},{boom:479,crypto:void 0}],485:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},r.prototype.__defineGetter__(\"readable\",function(){return this.source.readable}),r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],486:[function(e,t,n){function r(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||r.defaultMinSockets,t.on(\"free\",function(e,n,r){var i=n+\":\"+r;if(t.requests[i]&&t.requests[i].length)t.requests[i].shift().onSocket(e);else if(t.sockets[i].length<t.minSockets){t.freeSockets[i]||(t.freeSockets[i]=[]),t.freeSockets[i].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on(\"error\",o)}else e.destroy()})}function i(e){r.call(this,e)}function o(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),u.connect(n)}t.exports=r,r.SSL=i;var a=e(\"util\"),s=e(\"http\").Agent,c=e(\"net\"),u=e(\"tls\"),p=e(\"https\").Agent;a.inherits(r,s),r.defaultMinSockets=5,r.prototype.createConnection=c.createConnection,r.prototype.addRequestNoreuse=s.prototype.addRequest,r.prototype.addRequest=function(e,t,n){var r=t+\":\"+n;if(this.freeSockets[r]&&this.freeSockets[r].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener(\"error\",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,n)},r.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},a.inherits(i,r),i.prototype.createConnection=o,i.prototype.addRequestNoreuse=p.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],487:[function(e,t,n){(function(n){function r(){this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],o.call(this)}function i(e,t){for(var n in t)e[n]||(e[n]=t[n]);return e}var o=e(\"combined-stream\"),a=e(\"util\"),s=e(\"path\"),c=e(\"http\"),u=e(\"https\"),p=e(\"url\").parse,l=e(\"fs\"),f=e(\"mime-types\"),d=e(\"async\");t.exports=r,a.inherits(r,o),r.LINE_BREAK=\"\\r\\n\",r.prototype.append=function(e,t,n){n=n||{};var r=o.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),a.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var i=this._multiPartHeader(e,t,n),s=this._multiPartFooter(e,t,n);r(i),r(t),r(s),this._trackLength(i,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+ +r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):l.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){var i=this.getBoundary(),o=\"\";return null!=n.header?o=n.header:(o+=\"--\"+i+r.LINE_BREAK+'Content-Disposition: form-data; name=\"'+e+'\"',n.filename||t.path?o+='; filename=\"'+s.basename(n.filename||t.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+(n.contentType||f.lookup(n.filename||t.path)):t.readable&&t.hasOwnProperty(\"httpVersion\")&&(o+='; filename=\"'+s.basename(t.client._httpMessage.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+t.headers[\"content-type\"]),o+=r.LINE_BREAK+r.LINE_BREAK),o},r.prototype._multiPartFooter=function(e,t,n){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"},r.prototype.getHeaders=function(e){var t={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(var n in e)t[n.toLowerCase()]=e[n];return t},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),t},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void d.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,o={method:\"post\"};return\"string\"==typeof e?(e=p(e),r=i({port:e.port,path:e.pathname,host:e.hostname},o)):(r=i(e,o),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==e.protocol?u.request(r):c.request(r),this.getLength(function(e,r){n.setHeader(\"Content-Length\",r),this.pipe(n),t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{async:476,buffer:void 0,\"combined-stream\":482,fs:void 0,http:void 0,https:void 0,\"mime-types\":505,path:void 0,url:void 0,util:void 0}],488:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":491,dup:434}],489:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var i={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return i.err=\"Invalid argument type\",i;var c=n.timestamp||Math.floor((s.now()+(n.localtimeOffsetMsec||0))/1e3),u=n.credentials;if(!(u&&u.id&&u.key&&u.algorithm))return i.err=\"Invalid credential object\",i;if(-1===a.algorithms.indexOf(u.algorithm))return i.err=\"Unknown algorithm\",i;\"string\"==typeof e&&(e=r.parse(e));var p={ts:c,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};i.artifacts=p,!p.hash&&n.hasOwnProperty(\"payload\")&&(p.hash=a.calculatePayloadHash(n.payload,u.algorithm,n.contentType));var l=a.calculateMac(\"header\",u,p),f=null!==p.ext&&void 0!==p.ext&&\"\"!==p.ext,d='Hawk id=\"'+u.id+'\", ts=\"'+p.ts+'\", nonce=\"'+p.nonce+(p.hash?'\", hash=\"'+p.hash:\"\")+(f?'\", ext=\"'+s.escapeHeaderAttribute(p.ext):\"\")+'\", mac=\"'+l+'\"';return p.app&&(d+=', app=\"'+p.app+(p.dlg?'\", dlg=\"'+p.dlg:\"\")+'\"'),i.field=d,i},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var o=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(o instanceof Error)return!1;n.ext=o.ext,n.hash=o.hash;var u=a.calculateMac(\"response\",t,n);if(u!==o.mac)return!1;if(!r.hasOwnProperty(\"payload\"))return!0;if(!o.hash)return!1;var p=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return p===o.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now()+(t.localtimeOffsetMsec||0),i=t.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return\"\";if(-1===a.algorithms.indexOf(i.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var o=Math.floor(n/1e3)+t.ttlSec,c=a.calculateMac(\"bewit\",i,{ts:o,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),u=i.id+\"\\\\\"+o+\"\\\\\"+c+\"\\\\\"+t.ext;return s.base64urlEncode(u)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||Math.floor((s.now()+(r.localtimeOffsetMsec||0))/1e3),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":490,\"./utils\":493,cryptiles:483,hoek:494,url:void 0}],490:[function(e,t,n){var r=e(\"crypto\"),i=(e(\"url\"),e(\"./utils\"));n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+(t.resource||\"\")+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(r+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),r+=\"\\n\",t.app&&(r+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),r},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var o=r.createHash(e);return o.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),o.update(i.parseContentType(t)+\"\\n\"),o},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=Math.floor((i.now()+(t||0))/1e3),o=n.calculateTsMac(r,e);return{ts:r,tsm:o}}},{\"./utils\":493,crypto:void 0,url:void 0}],491:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":489,\"./crypto\":490,\"./server\":492,\"./utils\":493,boom:479,sntp:527}],492:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.authenticate=function(e,t,n,i){i=s.nextTick(i),n.nonceFunc=n.nonceFunc||function(e,t,n){return n()},n.timestampSkewSec=n.timestampSkewSec||60;var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=s.parseAuthorizationHeader(u.authorization);if(p instanceof Error)return i(p);var l={method:u.method,host:u.host,port:u.port,resource:u.url,ts:p.ts,nonce:p.nonce,hash:p.hash,ext:p.ext,app:p.app,dlg:p.dlg,mac:p.mac,id:p.id};return p.id&&p.ts&&p.nonce&&p.mac?void t(p.id,function(e,t){if(e)return i(e,t||null,l);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,l);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,l);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,l);var s=a.calculateMac(\"header\",t,l);if(!o.fixedTimeComparison(s,p.mac))return i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,l);if(null!==n.payload&&void 0!==n.payload){if(!p.hash)return i(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,l);var f=a.calculatePayloadHash(n.payload,t.algorithm,u.contentType);if(!o.fixedTimeComparison(f,p.hash))return i(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,l)}n.nonceFunc(p.nonce,p.ts,function(e){if(e)return i(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,l);if(Math.abs(1e3*p.ts-c)>1e3*n.timestampSkewSec){var o=a.timestampMessage(t,n.localtimeOffsetMsec);return i(r.unauthorized(\"Stale timestamp\",\"Hawk\",o),t,l)}return i(null,t,l)})}):i(r.badRequest(\"Missing attributes\"),null,l)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";!t.hash&&n.hasOwnProperty(\"payload\")&&(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+s.escapeHeaderAttribute(t.ext)+'\"'),o},n.authenticateBewit=function(e,t,n,i){i=s.nextTick(i);var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=u.url.match(/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/);if(!p)return i(r.unauthorized(null,\"Hawk\"));if(!p[3])return i(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==u.method&&\"HEAD\"!==u.method)return i(r.unauthorized(\"Invalid method\",\"Hawk\"));if(u.authorization)return i(r.badRequest(\"Multiple authentications\",\"Hawk\"));var l=s.base64urlDecode(p[3]);if(l instanceof Error)return i(r.badRequest(\"Invalid bewit encoding\"));var f=l.split(\"\\\\\");if(!f||4!==f.length)return i(r.badRequest(\"Invalid bewit structure\"));var d={id:f[0],exp:parseInt(f[1],10),mac:f[2],ext:f[3]||\"\"};if(!d.id||!d.exp||!d.mac)return i(r.badRequest(\"Missing bewit attributes\"));var h=p[1];return p[4]&&(h+=p[2]+p[4]),1e3*d.exp<=c?i(r.unauthorized(\"Access expired\",\"Hawk\"),null,d):void t(d.id,function(e,t){if(e)return i(e,t||null,d.ext);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,d);var n=a.calculateMac(\"bewit\",t,{ts:d.exp,nonce:\"\",method:\"GET\",resource:h,host:u.host,port:u.port,ext:d.ext});return o.fixedTimeComparison(n,d.mac)?i(null,t,d):i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d)})},n.authenticateMessage=function(e,t,n,i,c,u,p){p=s.nextTick(p),u.nonceFunc=u.nonceFunc||function(e,t,n){return n()},u.timestampSkewSec=u.timestampSkewSec||60;var l=s.now()+(u.localtimeOffsetMsec||0);return i.id&&i.ts&&i.nonce&&i.hash&&i.mac?void c(i.id,function(s,c){if(s)return p(s,c||null);if(!c)return p(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!c.key||!c.algorithm)return p(r.internal(\"Invalid credentials\"),c);if(-1===a.algorithms.indexOf(c.algorithm))return p(r.internal(\"Unknown algorithm\"),c);var f={ts:i.ts,nonce:i.nonce,host:e,port:t,hash:i.hash},d=a.calculateMac(\"message\",c,f);if(!o.fixedTimeComparison(d,i.mac))return p(r.unauthorized(\"Bad mac\",\"Hawk\"),c);var h=a.calculatePayloadHash(n,c.algorithm);return o.fixedTimeComparison(h,i.hash)?void u.nonceFunc(i.nonce,i.ts,function(e){return e?p(r.unauthorized(\"Invalid nonce\",\"Hawk\"),c):Math.abs(1e3*i.ts-l)>1e3*u.timestampSkewSec?p(r.unauthorized(\"Stale timestamp\"),c):p(null,c)}):p(r.unauthorized(\"Bad message hash\",\"Hawk\"),c)}):p(r.badRequest(\"Invalid authorization\"))}},{\"./crypto\":490,\"./utils\":493,boom:479,cryptiles:483,hoek:494}],493:[function(e,t,n){(function(t){var r=e(\"hoek\"),i=e(\"sntp\"),o=e(\"boom\"),a={};a[\"import\"]=function(){for(var e in r)r.hasOwnProperty(e)&&(n[e]=r[e])},a[\"import\"](),n.version=function(){return n.loadPackage(t+\"/..\").version},n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var n=e.headers[t];if(!n)return null;var r;r=\"[\"===n[0]?/^(?:(?:\\r\\n)?\\s)*(\\[[^\\]]+\\])(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/:/^(?:(?:\\r\\n)?\\s)*([^:]+)(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/;var i=n.match(r);return i&&3===i.length&&i[1]?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;if(!t.host||!t.port){var r=n.parseHost(e,t.hostHeaderName);if(!r)return new Error(\"Invalid Host header\")}var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(){return i.now()},n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return o.unauthorized(null,\"Hawk\");var n=e.match(/^(\\w+)(?:\\s+(.*))?$/);if(!n)return o.badRequest(\"Invalid header syntax\");var r=n[1];if(\"hawk\"!==r.toLowerCase())return o.unauthorized(null,\"Hawk\");var i=n[2];if(!i)return o.badRequest(\"Invalid header syntax\");var a={},s=\"\",c=i.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(s=\"Unknown attribute: \"+n):null===r.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/)?void(s=\"Bad attribute value: \"+n):a.hasOwnProperty(n)?void(s=\"Duplicate attribute: \"+n):(a[n]=r,\"\")});return\"\"!==c?o.badRequest(s||\"Bad header format\"):a},n.unauthorized=function(e){return o.unauthorized(e,\"Hawk\")}}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/hawk/lib\")},{boom:479,hoek:494,sntp:527}],494:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":496,dup:434}],495:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";\nvar i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97&&122>=t||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],496:[function(e,t,n){(function(t){var r=e(\"fs\"),i=e(\"./escape\");n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o=e instanceof Array?[]:{};r.orig.push(e),r.copy.push(o);for(var a in e)if(e.hasOwnProperty(a))if(e[a]instanceof t)o[a]=new t(e[a]);else if(e[a]instanceof Date)o[a]=new Date(e[a].getTime());else if(e[a]instanceof RegExp){var s=\"\"+(e[a].global?\"g\":\"\")+(e[a].ignoreCase?\"i\":\"\")+(e[a].multiline?\"m\":\"\");o[a]=new RegExp(e[a].source,s)}else o[a]=n.clone(e[a],r);return o},n.merge=function(e,t,r,i){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===t||void 0===t||\"object\"==typeof t,\"Invalid source value: must be null, undefined, or an object\"),!t)return e;if(t instanceof Array){n.assert(e instanceof Array,\"Cannot merge array onto an object\"),i===!1&&(e.length=0);for(var o=0,a=t.length;a>o;++o)e.push(t[o]);return e}for(var s=Object.keys(t),c=0,u=s.length;u>c;++c){var p=s[c],l=t[p];l&&\"object\"==typeof l?e[p]&&\"object\"==typeof e[p]?n.merge(e[p],t[p],r,i):e[p]=n.clone(l):null!==l&&void 0!==l?e[p]=l:r!==!1&&(e[p]=l)}return e},n.applyToDefaults=function(e,t){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var r=n.clone(e);return t===!0?r:n.merge(r,t,!1,!1)},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=e instanceof Array?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.matchKeys=function(e,t){for(var n=[],r=0,i=t.length;i>r;++r)e.hasOwnProperty(t[r])&&n.push(t[r]);return n},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.removeKeys=function(e,t){for(var n=0,r=t.length;r>n;n++)delete e[t[n]]},n.reach=function(e,t){for(var n=t.split(\".\"),r=e,i=0,o=n.length;o>i;++i)r&&(r=r[n[i]]);return r},n.inheritAsync=function(e,t,n){n=n||null;for(var r in t)if(t.hasOwnProperty(r)){if(n instanceof Array&&n.indexOf(r)<0)continue;e.prototype[r]=function(e){return function(t){var n=null;try{n=e()}catch(r){return t(r)}return t(null,n)}}(t[r])}},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){var t=Array.prototype.slice.call(arguments,1);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.loadDirModules=function(t,n,i){for(var o={},a=0,s=n.length;s>a;++a)o[n[a]+\".js\"]=!0;var c=r.readdirSync(t);for(a=0,s=c.length;s>a;++a){var u=c[a];if(/\\.js$/.test(u)&&!o[u]){var p=u.substr(0,u.lastIndexOf(\".\")),l=p.charAt(0).toUpperCase()+p.substr(1).toLowerCase();\"function\"!=typeof i?i[l]=e(t+\"/\"+p):i(t+\"/\"+p,p,l)}}},n.rename=function(e,t,n){e[n]=e[t],delete e[t]},n.Timer=function(){this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.loadPackage=function(e){var t={},n=(e||process.env.PWD)+\"/package.json\";if(r.existsSync(n))try{t=JSON.parse(r.readFileSync(n))}catch(i){}return t},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.toss=function(e){var t=3===arguments.length?arguments[1]:\"\",n=3===arguments.length?arguments[2]:arguments[1],r=t instanceof Error?t:t?new Error(t):e instanceof Error?e:new Error;return e instanceof Error||!e?n(r):void 0},n.base64urlEncode=function(e){return new t(e,\"binary\").toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e){if(e&&!e.match(/^[\\w\\-]*$/))return new Error(\"Invalid character\");try{return new t(e.replace(/-/g,\"+\").replace(/:/g,\"/\"),\"base64\").toString(\"binary\")}catch(n){return n}},n.escapeHeaderAttribute=function(e){return n.assert(e.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return i.escapeHtml(e)},n.escapeJavaScript=function(e){return i.escapeJavaScript(e)},n.consoleFunc=console.log,n.printEvent=function(e){var t=function(e){return(10>e?\"0\":\"\")+e},r=new Date(e.timestamp),i=(r.getYear()-100).toString()+t(r.getMonth()+1)+t(r.getDate())+\"/\"+t(r.getHours())+t(r.getMinutes())+t(r.getSeconds())+\".\"+r.getMilliseconds(),o=e.data;if(\"string\"!=typeof e.data)try{o=JSON.stringify(e.data)}catch(a){o=\"JSON Error: \"+a.message}var s=i+\", \"+e.tags[0]+\", \"+o;n.consoleFunc(s)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":495,buffer:void 0,fs:void 0}],497:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./util\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature}},{\"./parser\":498,\"./signer\":499,\"./util\":500,\"./verify\":501}],498:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){r.call(this,e,o)}function a(e){r.call(this,e,a)}function s(e){r.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l={New:0,Params:1},f={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,Error),u.inherits(i,r),u.inherits(o,r),u.inherits(a,r),u.inherits(s,r),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new s(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,r=l.New,u=f.Name,d=\"\",h=\"\",m={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},v=e.headers.authorization;for(n=0;n<v.length;n++){var g=v.charAt(n);switch(Number(r)){case l.New:\" \"!==g?m.scheme+=g:r=l.Params;break;case l.Params:switch(Number(u)){case f.Name:var y=g.charCodeAt(0);if(y>=65&&90>=y||y>=97&&122>=y)d+=g;else{if(\"=\"!==g)throw new o(\"bad param format\");if(0===d.length)throw new o(\"bad param format\");u=f.Quote}break;case f.Quote:if('\"'!==g)throw new o(\"bad param format\");h=\"\",u=f.Value;break;case f.Value:'\"'===g?(m.params[d]=h,u=f.Comma):h+=g;break;case f.Comma:if(\",\"!==g)throw new o(\"bad param format\");d=\"\",u=f.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(m.params.headers&&\"\"!==m.params.headers?m.params.headers=m.params.headers.split(\" \"):e.headers[\"x-date\"]?m.params.headers=[\"x-date\"]:m.params.headers=[\"date\"],!m.scheme||\"Signature\"!==m.scheme)throw new o('scheme was not \"Signature\"');if(!m.params.keyId)throw new o(\"keyId was not specified\");if(!m.params.algorithm)throw new o(\"algorithm was not specified\");if(!m.params.signature)throw new o(\"signature was not specified\");if(m.params.algorithm=m.params.algorithm.toLowerCase(),!p[m.params.algorithm])throw new a(m.params.algorithm+\" is not supported\");for(n=0;n<m.params.headers.length;n++){var b=m.params.headers[n].toLowerCase();if(m.params.headers[n]=b,\"request-line\"!==b){var x=e.headers[b];if(!x)throw new s(b+\" was not in the request\");m.signingString+=b+\": \"+x}else m.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion;n+1<m.params.headers.length&&(m.signingString+=\"\\n\")}var w;if(e.headers.date||e.headers[\"x-date\"]){w=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var _=new Date,k=Math.abs(_.getTime()-w.getTime());if(k>1e3*t.clockSkew)throw new i(\"clock skew of \"+k/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(m.params.headers.indexOf(e)<0)throw new s(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(m.params.algorithm))throw new a(m.params.algorithm+\" is not a supported algorithm\");return m}}},{\"assert-plus\":475,util:void 0}],499:[function(e,t,n){function r(e){this.name=\"MissingHeaderError\",this.message=e,this.stack=(new Error).stack}function i(e){this.name=\"InvalidAlgorithmError\",this.message=e,this.stack=(new Error).stack}function o(e){return parseInt(e,10)<10&&(e=\"0\"+e),e}function a(){var e=new Date,t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];return n[e.getUTCDay()]+\", \"+o(e.getUTCDate())+\" \"+t[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+o(e.getUTCHours())+\":\"+o(e.getUTCMinutes())+\":\"+o(e.getUTCSeconds())+\" GMT\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=(e(\"http\"),e(\"util\").format),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';r.prototype=new Error,i.prototype=new Error,t.exports={signRequest:function(e,t){if(s.object(e,\"request\"),s.object(t,\"options\"),s.optionalString(t.algorithm,\"options.algorithm\"),s.string(t.keyId,\"options.keyId\"),s.optionalArrayOfString(t.headers,\"options.headers\"),s.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",a()),t.headers||(t.headers=[\"date\"]),t.algorithm||(t.algorithm=\"rsa-sha256\"),t.httpVersion||(t.httpVersion=\"1.1\"),t.algorithm=t.algorithm.toLowerCase(),!p[t.algorithm])throw new i(t.algorithm+\" is not supported\");var n,o=\"\";for(n=0;n<t.headers.length;n++){if(\"string\"!=typeof t.headers[n])throw new TypeError(\"options.headers must be an array of Strings\");var f=t.headers[n].toLowerCase();if(\"request-line\"!==f){var d=e.getHeader(f);if(!d)throw new r(f+\" was not in the request\");o+=f+\": \"+d}else o+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion;n+1<t.headers.length&&(o+=\"\\n\")}var h,m=t.algorithm.match(/(hmac|rsa)-(\\w+)/);if(\"hmac\"===m[1]){var v=c.createHmac(m[2].toUpperCase(),t.key);v.update(o),h=v.digest(\"base64\")}else{var g=c.createSign(t.algorithm.toUpperCase());g.update(o),h=g.sign(t.key,\"base64\")}return e.setHeader(\"Authorization\",u(l,t.keyId,t.algorithm,t.headers.join(\" \"),h)),!0}}},{\"assert-plus\":475,crypto:void 0,http:void 0,util:void 0}],500:[function(e,t,n){(function(n){function r(e,t){var n=p.ruint32(e,\"big\",t);t+=4;var r=t+n;return{data:e.slice(t,r),offset:r}}function i(e,t){e.writeByte(2),e.writeLength(t.length);for(var n=0;n<t.length;n++)e.writeByte(t[n]);return e}function o(e){var t,o,a,s,c,p,l,f=\"\",d=0;try{if(t=new n(e.split(\" \")[1],\"base64\"),l=r(t,d),p=l.data.toString(),d=l.offset,\"ssh-rsa\"!==p)throw new Error(\"Invalid ssh key type: \"+p);l=r(t,d),a=l.data,d=l.offset,l=r(t,d),c=l.data}catch(h){throw new Error(\"Invalid ssh key: \"+e)}for(o=new u.BerWriter,o.startSequence(),o.startSequence(),o.writeOID(\"1.2.840.113549.1.1.1\"),o.writeNull(),o.endSequence(),o.startSequence(3),o.writeByte(0),o.startSequence(),i(o,c),i(o,a),o.endSequence(),o.endSequence(),o.endSequence(),l=o.buffer.toString(\"base64\"),s=0;s<l.length;s++)s%64===0&&(f+=\"\\n\"),f+=l.charAt(s);return/\\\\n$/.test(f)||(f+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+f+\"-----END PUBLIC KEY-----\\n\"}function a(e){var t,o,a,s,c,p,l,f,d=0,h=\"\";try{if(t=new n(e.split(\" \")[1],\"base64\"),o=r(t,d),s=o.data.toString(),d=o.offset,!/^ssh-ds[as].*/.test(s))throw new Error(\"Invalid ssh key type: \"+s);o=r(t,d),c=o.data,d=o.offset,o=r(t,d),p=o.data,d=o.offset,o=r(t,d),l=o.data,d=o.offset,o=r(t,d),f=o.data}catch(m){throw console.log(m.stack),new Error(\"Invalid ssh key: \"+e)}a=new u.BerWriter,a.startSequence(),a.startSequence(),a.writeOID(\"1.2.840.10040.4.1\"),a.startSequence(),i(a,c),i(a,p),i(a,l),a.endSequence(),a.endSequence(),a.startSequence(3),a.writeByte(0),i(a,f),a.endSequence(),a.endSequence(),o=a.buffer.toString(\"base64\");for(var v=0;v<o.length;v++)v%64===0&&(h+=\"\\n\"),h+=o.charAt(v);return/\\\\n$/.test(h)||(h+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+h+\"-----END PUBLIC KEY-----\\n\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=e(\"asn1\"),p=e(\"ctype\");t.exports={sshKeyToPEM:function(e){if(s.string(e,\"ssh_key\"),/^ssh-rsa.*/.test(e))return o(e);if(/^ssh-ds[as].*/.test(e))return a(e);throw new Error(\"Only RSA and DSA public keys are allowed\")},fingerprint:function(e){s.string(e,\"ssh_key\");var t=e.split(\" \");if(!t||!t.length||t.length<2)throw new Error(\"invalid ssh key\");var r=new n(t[1],\"base64\"),i=c.createHash(\"md5\");i.update(r);for(var o=i.digest(\"hex\"),a=\"\",u=0;u<o.length;u++)u&&u%2===0&&(a+=\":\"),a+=o[u];return a},pemToRsaSSHKey:function(e,t){s.equal(\"string\",typeof e,\"typeof pem\");var r=e.split(\"\\n\").slice(1,-2).join(\"\"),i=new n(r,\"base64\"),o=new u.BerReader(i);o.readSequence(),o.readSequence();var a=o.readOID();s.equal(a,\"1.2.840.113549.1.1.1\",\"pem not in RSA format\"),o.readByte(),o.readByte(),o.readSequence(3),o.readByte(),o.readSequence(),s.equal(o.peek(),u.Ber.Integer,\"modulus not an integer\"),o._offset=o.readLength(o.offset+1);var c=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length,s.equal(o.peek(),u.Ber.Integer,\"exponent not an integer\"),o._offset=o.readLength(o.offset+1);var p=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length;var l=new n(\"ssh-rsa\"),f=new n(4+l.length+4+c.length+4+p.length),d=0;f.writeUInt32BE(l.length,d),d+=4,l.copy(f,d),d+=l.length,f.writeUInt32BE(p.length,d),d+=4,p.copy(f,d),d+=p.length,f.writeUInt32BE(c.length,d),d+=4,c.copy(f,d),d+=c.length;var h=l.toString()+\" \"+f.toString(\"base64\")+\" \"+(t||\"\");return h}}}).call(this,e(\"buffer\").Buffer)},{asn1:474,\"assert-plus\":475,buffer:void 0,crypto:void 0,ctype:81}],501:[function(e,t,n){var r=e(\"assert-plus\"),i=e(\"crypto\");t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),r.string(t,\"key\");var n=e.algorithm.match(/(HMAC|RSA|DSA)-(\\w+)/);if(!n||3!==n.length)throw new TypeError(\"parsedSignature: unsupported algorithm \"+e.algorithm);if(\"HMAC\"===n[1]){var o=i.createHmac(n[2].toUpperCase(),t);return o.update(e.signingString),o.digest(\"base64\")===e.params.signature}var a=i.createVerify(n[0]);return a.update(e.signingString),a.verify(t,e.params.signature,\"base64\")}}},{\"assert-plus\":475,crypto:void 0}],502:[function(e,t,n){arguments[4][240][0].apply(n,arguments)},{dup:240}],503:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mdp\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{source:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{\nsource:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\nsource:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",extensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\"]},\n\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"mp4a\",\"m4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],504:[function(e,t,n){arguments[4][183][0].apply(n,arguments)},{\"./db.json\":503,dup:183}],505:[function(e,t,n){var r=e(\"mime-db\");n.types=Object.create(null),n.extensions=Object.create(null),Object.keys(r).forEach(function(e){var t=r[e],i=t.extensions;i&&i.length&&(n.extensions[e]=i,i.forEach(function(t){n.types[t]=e}))}),n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){var t=r[e];return t&&t.charset?t.charset:/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e}},{\"mime-db\":504}],506:[function(e,t,n){(function(n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=e(\"path\"),o=e(\"fs\");r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=o.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var a=new r;a.load(i.join(n,\"types/mime.types\")),a.load(i.join(n,\"types/node.types\")),a.default_type=a.lookup(\"bin\"),a.Mime=r,a.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=a}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/mime\")},{fs:void 0,path:void 0}],507:[function(e,t,n){function r(e,t){return f.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return f.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t,n,r,i,o){var a;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,1))}var f=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.sign=l,n.rfc3986=o},{crypto:void 0,querystring:void 0}],508:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":509}],509:[function(e,t,n){arguments[4][110][0].apply(n,arguments)},{\"./parse\":510,\"./stringify\":511,dup:110}],510:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\";else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));n.hasOwnProperty(u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r=e.shift(),o={};if(\"[]\"===r)o=[],o=o.concat(i.parseObject(e,t,n));else{var a=\"[\"===r[0]&&\"]\"===r[r.length-1]?r.slice(1,r.length-1):r,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&r!==a&&c===a&&s>=0&&s<=n.arrayLimit?(o=[],o[s]=i.parseObject(e,t,n)):o[a]=i.parseObject(e,t,n)}return o},i.parseKeys=function(e,t,n){if(e){var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}}},t.exports=function(e,t){if(\"\"===e||null===e||\"undefined\"==typeof e)return{};t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit;for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o={},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p)}return r.compact(o)}},{\"./utils\":512}],511:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",indices:!0};i.stringify=function(e,t,n){if(r.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=\"\"),\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[encodeURIComponent(t)+\"=\"+encodeURIComponent(e)];var o=[];if(\"undefined\"==typeof e)return o;for(var a=Object.keys(e),s=0,c=a.length;c>s;++s){var u=a[s];o=!n.indices&&Array.isArray(e)?o.concat(i.stringify(e[u],t,n)):o.concat(i.stringify(e[u],t+\"[\"+u+\"]\",n))}return o},t.exports=function(e,t){t=t||{};var n=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter;t.indices=\"boolean\"==typeof t.indices?t.indices:i.indices;var r=[];if(\"object\"!=typeof e||null===e)return\"\";for(var o=Object.keys(e),a=0,s=o.length;s>a;++a){var c=o[a];r=r.concat(i.stringify(e[c],c,t))}return r.join(n)}},{\"./utils\":512}],512:[function(e,t,n){n.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)\"undefined\"!=typeof e[n]&&(t[n]=e[n]);return t},n.merge=function(e,t){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):e[t]=!0,e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e));for(var r=Object.keys(t),i=0,o=r.length;o>i;++i){var a=r[i],s=t[a];e[a]?e[a]=n.merge(e[a],s):e[a]=s}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],513:[function(e,t,n){arguments[4][388][0].apply(n,arguments)},{\"./lib/_stream_duplex.js\":514,dup:388}],514:[function(e,t,n){arguments[4][241][0].apply(n,arguments)},{\"./_stream_readable\":515,\"./_stream_writable\":516,\"core-util-is\":77,dup:241,inherits:157}],515:[function(e,t,n){arguments[4][243][0].apply(n,arguments)},{buffer:void 0,\"core-util-is\":77,dup:243,events:void 0,inherits:157,isarray:502,stream:void 0,\"string_decoder/\":456}],516:[function(e,t,n){arguments[4][245][0].apply(n,arguments)},{\"./_stream_duplex\":514,buffer:void 0,\"core-util-is\":77,dup:245,inherits:157,stream:void 0}],517:[function(e,t,n){\"use strict\";function r(e,t,n){return n=l([t,n]),t=f(e,t),p().extend({callback:n}).extend({options:t}).extend({uri:t.uri}).done()}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);return t=o.options,t.callback=o.callback,t.uri=o.uri,new i.Request(t)}function o(e){return\"function\"==typeof e.options._requester?e.options._requester:i}var a=e(\"util\")._extend,s=e(\"./lib/cookies\"),c=e(\"./lib/helpers\"),u=c.isFunction,p=c.constructObject,l=c.filterForCallback,f=c.constructOptionsFrom,d=c.paramsHaveRequestBody;i.get=function(e,t,n){var i=r(e,t,n);return i.options.method=\"GET\",o(i)(i.uri||null,i.options,i.callback)},i.head=function(e,t,n){var i=r(e,t,n);if(i.options.method=\"HEAD\",d(i))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return o(i)(i.uri||null,i.options,i.callback)},i.post=function(e,t,n){var i=r(e,t,n);return i.options.method=\"POST\",\no(i)(i.uri||null,i.options,i.callback)},i.put=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PUT\",o(i)(i.uri||null,i.options,i.callback)},i.patch=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PATCH\",o(i)(i.uri||null,i.options,i.callback)},i.del=function(e,t,n){var i=r(e,t,n);return i.options.method=\"DELETE\",o(i)(i.uri||null,i.options,i.callback)},i.jar=function(e){return s.jar(e)},i.cookie=function(e){return s.parse(e)},i.defaults=function(e,t){var n=this,i=function(i){var o=function(e){return e=a({},e),delete e.headers,e},s=function(e,t){return p().extend(t.headers).extend(e.options.headers).done()};return function(c,p,l){var f=r(c,p,l);return f.options=a(o(e),f.options),e.headers&&(f.options.headers=s(f,e)),u(t)&&(i===n?i=t:f.options._requester=t),i(f.options,f.callback)}},o=i(n);return o.get=i(n.get),o.patch=i(n.patch),o.post=i(n.post),o.put=i(n.put),o.head=i(n.head),o.del=i(n.del),o.cookie=i(n.cookie),o.jar=n.jar,o.defaults=n.defaults,o},i.forever=function(e,t){var n=p();return t&&n.extend(t),e&&(n.agentOptions=e),n.extend({forever:!0}),i.defaults(n.done())},t.exports=i,i.Request=e(\"./request\"),i.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),i.initParams=r},{\"./lib/cookies\":518,\"./lib/helpers\":521,\"./request\":526,util:void 0}],518:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e)}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e)},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],519:[function(e,t,n){\"use strict\";t.exports=function(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}},{}],520:[function(e,t,n){\"use strict\";var r=e(\"util\"),i=e(\"../index\");t.exports=function(){i.debug&&console.error(\"REQUEST %s\",r.format.apply(r,arguments))}},{\"../index\":517,util:void 0}],521:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return e=e||{},{extend:function(t){return i(d(e,t))},done:function(){return e}}}function o(e,t){var n=i();return\"object\"==typeof t?n.extend(t).extend({uri:e}):\"string\"==typeof e?n.extend({uri:e}):n.extend(e),n.done()}function a(e){return\"function\"==typeof e}function s(e){var t=e.filter(a);return t[0]}function c(e){return e.options.body||e.options.requestBodyStream||e.options.json&&\"boolean\"!=typeof e.options.json||e.options.multipart}function u(e){var t;try{t=JSON.stringify(e)}catch(n){t=h(e)}return t}function p(e){return m.createHash(\"md5\").update(e).digest(\"hex\")}function l(e){return e.readable&&e.path&&e.mode}function f(e){return new t(e||\"\",\"ascii\").toString(\"base64\")}var d=e(\"util\")._extend,h=e(\"json-stringify-safe\"),m=e(\"crypto\");n.isFunction=a,n.constructObject=i,n.constructOptionsFrom=o,n.filterForCallback=s,n.paramsHaveRequestBody=c,n.safeStringify=u,n.md5=p,n.isReadStream=l,n.toBase64=f,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173,util:void 0}],522:[function(e,t,n){t.exports={\"text/jade\":[\"jade\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/less\":[\"less\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/coffeescript\":[\"coffee\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/jsx\":[\"jsx\"]}},{}],523:[function(e,t,n){function r(e){Object.keys(e).forEach(function(t){var r=e[t]||[];n.extensions[t]=n.extensions[t]||[],r.forEach(function(e){~n.extensions[t].indexOf(e)||n.extensions[t].push(e),n.types[e]=t})})}n.types=Object.create(null),n.extensions=Object.create(null),n.define=r,n.json={mime:e(\"./mime.json\"),node:e(\"./node.json\"),custom:e(\"./custom.json\")},n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){switch(e){case\"application/json\":return\"UTF-8\";case\"application/javascript\":return\"UTF-8\"}return/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e},r(n.json.mime),r(n.json.node),r(n.json.custom)},{\"./custom.json\":522,\"./mime.json\":524,\"./node.json\":525}],524:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":[],\"application/3gpp-ims+xml\":[],\"application/activemessage\":[],\"application/andrew-inset\":[\"ez\"],\"application/applefile\":[],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomicmail\":[],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/auth-policy+xml\":[],\"application/batch-smtp\":[],\"application/beep+xml\":[],\"application/calendar+xml\":[],\"application/cals-1840\":[],\"application/ccmp+xml\":[],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cea-2018+xml\":[],\"application/cellml+xml\":[],\"application/cfw\":[],\"application/cnrp+xml\":[],\"application/commonground\":[],\"application/conference-info+xml\":[],\"application/cpl+xml\":[],\"application/csta+xml\":[],\"application/cstadata+xml\":[],\"application/cu-seeme\":[\"cu\"],\"application/cybercash\":[],\"application/davmount+xml\":[\"davmount\"],\"application/dca-rft\":[],\"application/dec-dx\":[],\"application/dialog-info+xml\":[],\"application/dicom\":[],\"application/dns\":[],\"application/docbook+xml\":[\"dbk\"],\"application/dskpp+xml\":[],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/dvcs\":[],\"application/ecmascript\":[\"ecma\"],\"application/edi-consent\":[],\"application/edi-x12\":[],\"application/edifact\":[],\"application/emma+xml\":[\"emma\"],\"application/epp+xml\":[],\"application/epub+zip\":[\"epub\"],\"application/eshop\":[],\"application/example\":[],\"application/exi\":[\"exi\"],\"application/fastinfoset\":[],\"application/fastsoap\":[],\"application/fits\":[],\"application/font-tdpfr\":[\"pfr\"],\"application/framework-attributes+xml\":[],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/h224\":[],\"application/held+xml\":[],\"application/http\":[],\"application/hyperstudio\":[\"stk\"],\"application/ibe-key-request+xml\":[],\"application/ibe-pkg-reply+xml\":[],\"application/ibe-pp-data\":[],\"application/iges\":[],\"application/im-iscomposing+xml\":[],\"application/index\":[],\"application/index.cmd\":[],\"application/index.obj\":[],\"application/index.response\":[],\"application/index.vnd\":[],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/iotp\":[],\"application/ipfix\":[\"ipfix\"],\"application/ipp\":[],\"application/isup\":[],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\"],\"application/jsonml+json\":[\"jsonml\"],\"application/kpml-request+xml\":[],\"application/kpml-response+xml\":[],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/macwriteii\":[],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml-content+xml\":[],\"application/mathml-presentation+xml\":[],\"application/mathml+xml\":[\"mathml\"],\"application/mbms-associated-procedure-description+xml\":[],\"application/mbms-deregister+xml\":[],\"application/mbms-envelope+xml\":[],\"application/mbms-msk+xml\":[],\"application/mbms-msk-response+xml\":[],\"application/mbms-protection-description+xml\":[],\"application/mbms-reception-report+xml\":[],\"application/mbms-register+xml\":[],\"application/mbms-register-response+xml\":[],\"application/mbms-user-service-description+xml\":[],\"application/mbox\":[\"mbox\"],\"application/media_control+xml\":[],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mikey\":[],\"application/mods+xml\":[\"mods\"],\"application/moss-keys\":[],\"application/moss-signature\":[],\"application/mosskey-data\":[],\"application/mosskey-request\":[],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\"],\"application/mpeg4-generic\":[],\"application/mpeg4-iod\":[],\"application/mpeg4-iod-xmt\":[],\"application/msc-ivr+xml\":[],\"application/msc-mixer+xml\":[],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/nasdata\":[],\"application/news-checkgroups\":[],\"application/news-groupinfo\":[],\"application/news-transmission\":[],\"application/nss\":[],\"application/ocsp-request\":[],\"application/ocsp-response\":[],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/parityfec\":[],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-keys\":[],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pidf+xml\":[],\"application/pidf-diff+xml\":[],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/poc-settings+xml\":[],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.alvestrand.titrax-sheet\":[],\"application/prs.cww\":[\"cww\"],\"application/prs.nprend\":[],\"application/prs.plucker\":[],\"application/prs.rdf-xml-crypt\":[],\"application/prs.xsf+xml\":[],\"application/pskc+xml\":[\"pskcxml\"],\"application/qsig\":[],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/remote-printing\":[],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/riscos\":[],\"application/rlmi+xml\":[],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rpki-updown\":[],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/rtx\":[],\"application/samlassertion+xml\":[],\"application/samlmetadata+xml\":[],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment\":[],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration\":[],\"application/set-registration-initiation\":[\"setreg\"],\"application/sgml\":[],\"application/sgml-open-catalog\":[],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[],\"application/simple-filter+xml\":[],\"application/simple-message-summary\":[],\"application/simplesymbolcontainer\":[],\"application/slate\":[],\"application/smil\":[],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/soap+fastinfoset\":[],\"application/soap+xml\":[],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/spirits-event+xml\":[],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tamp-apex-update\":[],\"application/tamp-apex-update-confirm\":[],\"application/tamp-community-update\":[],\"application/tamp-community-update-confirm\":[],\"application/tamp-error\":[],\"application/tamp-sequence-adjust\":[],\"application/tamp-sequence-adjust-confirm\":[],\"application/tamp-status-query\":[],\"application/tamp-status-response\":[],\"application/tamp-update\":[],\"application/tamp-update-confirm\":[],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamp-query\":[],\"application/timestamp-reply\":[],\"application/timestamped-data\":[\"tsd\"],\"application/tve-trigger\":[],\"application/ulpfec\":[],\"application/vcard+xml\":[],\"application/vemmi\":[],\"application/vividence.scriptfile\":[],\"application/vnd.3gpp.bsf+xml\":[],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp.sms\":[],\"application/vnd.3gpp2.bcmcsinfo+xml\":[],\"application/vnd.3gpp2.sms\":[],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.partial-upload\":[],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.aether.imp\":[],\"application/vnd.ah-barcode\":[],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.amundsen.maze+xml\":[],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.arastra.swi\":[],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.autopackage\":[],\"application/vnd.avistar+xml\":[],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bluetooth.ep.oob\":[],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.cab-jscript\":[],\"application/vnd.canon-cpdl\":[],\"application/vnd.canon-lips\":[],\"application/vnd.cendio.thinlinc.clientconf\":[],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.cirpack.isdn-ext\":[],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.collection+json\":[],\"application/vnd.commerce-battelle\":[],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.ctct.ws+xml\":[],\"application/vnd.cups-pdf\":[],\"application/vnd.cups-postscript\":[],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.cups-raster\":[],\"application/vnd.cups-raw\":[],\"application/vnd.curl\":[],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.cybank\":[],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dir-bi.plate-dl-nosuffix\":[],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dolby.mobile.1\":[],\"application/vnd.dolby.mobile.2\":[],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.dvbj\":[],\"application/vnd.dvb.esgcontainer\":[],\"application/vnd.dvb.ipdcdftnotifaccess\":[],\"application/vnd.dvb.ipdcesgaccess\":[],\"application/vnd.dvb.ipdcesgaccess2\":[],\"application/vnd.dvb.ipdcesgpdd\":[],\"application/vnd.dvb.ipdcroaming\":[],\"application/vnd.dvb.iptv.alfec-base\":[],\"application/vnd.dvb.iptv.alfec-enhancement\":[],\"application/vnd.dvb.notif-aggregate-root+xml\":[],\"application/vnd.dvb.notif-container+xml\":[],\"application/vnd.dvb.notif-generic+xml\":[],\"application/vnd.dvb.notif-ia-msglist+xml\":[],\"application/vnd.dvb.notif-ia-registration-request+xml\":[],\"application/vnd.dvb.notif-ia-registration-response+xml\":[],\"application/vnd.dvb.notif-init+xml\":[],\"application/vnd.dvb.pfr\":[],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dxr\":[],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.easykaraoke.cdgdownload\":[],\"application/vnd.ecdis-update\":[],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.ecowin.filerequest\":[],\"application/vnd.ecowin.fileupdate\":[],\"application/vnd.ecowin.series\":[],\"application/vnd.ecowin.seriesrequest\":[],\"application/vnd.ecowin.seriesupdate\":[],\"application/vnd.emclient.accessrequest+xml\":[],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.eprints.data+xml\":[],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.ericsson.quickcall\":[],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.etsi.aoc+xml\":[],\"application/vnd.etsi.cug+xml\":[],\"application/vnd.etsi.iptvcommand+xml\":[],\"application/vnd.etsi.iptvdiscovery+xml\":[],\"application/vnd.etsi.iptvprofile+xml\":[],\"application/vnd.etsi.iptvsad-bc+xml\":[],\"application/vnd.etsi.iptvsad-cod+xml\":[],\"application/vnd.etsi.iptvsad-npvr+xml\":[],\"application/vnd.etsi.iptvservice+xml\":[],\"application/vnd.etsi.iptvsync+xml\":[],\"application/vnd.etsi.iptvueprofile+xml\":[],\"application/vnd.etsi.mcid+xml\":[],\"application/vnd.etsi.overload-control-policy-dataset+xml\":[],\"application/vnd.etsi.sci+xml\":[],\"application/vnd.etsi.simservs+xml\":[],\"application/vnd.etsi.tsl+xml\":[],\"application/vnd.etsi.tsl.der\":[],\"application/vnd.eudora.data\":[],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.f-secure.mobile\":[],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.ffsns\":[],\"application/vnd.fints\":[],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.font-fontforge-sfd\":[],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.art-ex\":[],\"application/vnd.fujixerox.art4\":[],\"application/vnd.fujixerox.hbpl\":[],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fut-misnet\":[],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geocube+xml\":[],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.globalplatform.card-content-mgt\":[],\"application/vnd.globalplatform.card-content-mgt-response\":[],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.gridmp\":[],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+json\":[],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hcl-bireports\":[],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.httphone\":[],\"application/vnd.hzn-3d-crossword\":[],\"application/vnd.ibm.afplinedata\":[],\"application/vnd.ibm.electronic-media\":[],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.informedcontrol.rms+xml\":[],\"application/vnd.informix-visionary\":[],\"application/vnd.infotech.project\":[],\"application/vnd.infotech.project+xml\":[],\"application/vnd.innopath.wamp.notification\":[],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intertrust.digibox\":[],\"application/vnd.intertrust.nncp\":[],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.iptc.g2.conceptitem+xml\":[],\"application/vnd.iptc.g2.knowledgeitem+xml\":[],\"application/vnd.iptc.g2.newsitem+xml\":[],\"application/vnd.iptc.g2.newsmessage+xml\":[],\"application/vnd.iptc.g2.packageitem+xml\":[],\"application/vnd.iptc.g2.planningitem+xml\":[],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.japannet-directory-service\":[],\"application/vnd.japannet-jpnstore-wakeup\":[],\"application/vnd.japannet-payment-wakeup\":[],\"application/vnd.japannet-registration\":[],\"application/vnd.japannet-registration-wakeup\":[],\"application/vnd.japannet-setstore-wakeup\":[],\"application/vnd.japannet-verification\":[],\"application/vnd.japannet-verification-wakeup\":[],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.liberty-request+xml\":[],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.marlin.drm.actiontoken+xml\":[],\"application/vnd.marlin.drm.conftoken+xml\":[],\"application/vnd.marlin.drm.license+xml\":[],\"application/vnd.marlin.drm.mdcf\":[],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.meridian-slingshot\":[],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.minisoft-hp3000-save\":[],\"application/vnd.mitsubishi.misty-guard.trustweb\":[],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.motorola.flexsuite\":[],\"application/vnd.motorola.flexsuite.adsi\":[],\"application/vnd.motorola.flexsuite.fis\":[],\"application/vnd.motorola.flexsuite.gotap\":[],\"application/vnd.motorola.flexsuite.kmr\":[],\"application/vnd.motorola.flexsuite.ttc\":[],\"application/vnd.motorola.flexsuite.wem\":[],\"application/vnd.motorola.iprm\":[],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-asf\":[],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-color.iccprofile\":[],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-office.activex+xml\":[],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-opentype\":[],\"application/vnd.ms-package.obfuscated-opentype\":[],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-playready.initiator+xml\":[],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-printing.printticket+xml\":[],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-tnef\":[],\"application/vnd.ms-wmdrm.lic-chlg-req\":[],\"application/vnd.ms-wmdrm.lic-resp\":[],\"application/vnd.ms-wmdrm.meter-chlg-req\":[],\"application/vnd.ms-wmdrm.meter-resp\":[],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.msign\":[],\"application/vnd.multiad.creator\":[],\"application/vnd.multiad.creator.cif\":[],\"application/vnd.music-niff\":[],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.ncd.control\":[],\"application/vnd.ncd.reference\":[],\"application/vnd.nervana\":[],\"application/vnd.netfpx\":[],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.catalogs\":[],\"application/vnd.nokia.conml+wbxml\":[],\"application/vnd.nokia.conml+xml\":[],\"application/vnd.nokia.isds-radio-presets\":[],\"application/vnd.nokia.iptv.config+xml\":[],\"application/vnd.nokia.landmark+wbxml\":[],\"application/vnd.nokia.landmark+xml\":[],\"application/vnd.nokia.landmarkcollection+xml\":[],\"application/vnd.nokia.n-gage.ac+xml\":[],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.ncd\":[],\"application/vnd.nokia.pcd+wbxml\":[],\"application/vnd.nokia.pcd+xml\":[],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.ntt-local.file-transfer\":[],\"application/vnd.ntt-local.sip-ta_remote\":[],\"application/vnd.ntt-local.sip-ta_tcp_stream\":[],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.obn\":[],\"application/vnd.oftn.l10n+json\":[],\"application/vnd.oipf.contentaccessdownload+xml\":[],\"application/vnd.oipf.contentaccessstreaming+xml\":[],\"application/vnd.oipf.cspg-hexbinary\":[],\"application/vnd.oipf.dae.svg+xml\":[],\"application/vnd.oipf.dae.xhtml+xml\":[],\"application/vnd.oipf.mippvcontrolmessage+xml\":[],\"application/vnd.oipf.pae.gem\":[],\"application/vnd.oipf.spdiscovery+xml\":[],\"application/vnd.oipf.spdlist+xml\":[],\"application/vnd.oipf.ueprofile+xml\":[],\"application/vnd.oipf.userprofile+xml\":[],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma-scws-config\":[],\"application/vnd.oma-scws-http-request\":[],\"application/vnd.oma-scws-http-response\":[],\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":[],\"application/vnd.oma.bcast.drm-trigger+xml\":[],\"application/vnd.oma.bcast.imd+xml\":[],\"application/vnd.oma.bcast.ltkm\":[],\"application/vnd.oma.bcast.notification+xml\":[],\"application/vnd.oma.bcast.provisioningtrigger\":[],\"application/vnd.oma.bcast.sgboot\":[],\"application/vnd.oma.bcast.sgdd+xml\":[],\"application/vnd.oma.bcast.sgdu\":[],\"application/vnd.oma.bcast.simple-symbol-container\":[],\"application/vnd.oma.bcast.smartcard-trigger+xml\":[],\"application/vnd.oma.bcast.sprov+xml\":[],\"application/vnd.oma.bcast.stkm\":[],\"application/vnd.oma.cab-address-book+xml\":[],\"application/vnd.oma.cab-feature-handler+xml\":[],\"application/vnd.oma.cab-pcc+xml\":[],\"application/vnd.oma.cab-user-prefs+xml\":[],\"application/vnd.oma.dcd\":[],\"application/vnd.oma.dcdc\":[],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.oma.drm.risd+xml\":[],\"application/vnd.oma.group-usage-list+xml\":[],\"application/vnd.oma.pal+xml\":[],\"application/vnd.oma.poc.detailed-progress-report+xml\":[],\"application/vnd.oma.poc.final-report+xml\":[],\"application/vnd.oma.poc.groups+xml\":[],\"application/vnd.oma.poc.invocation-descriptor+xml\":[],\"application/vnd.oma.poc.optimized-progress-report+xml\":[],\"application/vnd.oma.push\":[],\n\"application/vnd.oma.scidm.messages+xml\":[],\"application/vnd.oma.xcap-directory+xml\":[],\"application/vnd.omads-email+xml\":[],\"application/vnd.omads-file+xml\":[],\"application/vnd.omads-folder+xml\":[],\"application/vnd.omaloc-supl-init\":[],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":[],\"application/vnd.openxmlformats-officedocument.drawing+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":[],\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":[],\"application/vnd.openxmlformats-officedocument.theme+xml\":[],\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":[],\"application/vnd.openxmlformats-officedocument.vmldrawing\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":[],\"application/vnd.openxmlformats-package.core-properties+xml\":[],\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":[],\"application/vnd.openxmlformats-package.relationships+xml\":[],\"application/vnd.quobject-quoxdocument\":[],\"application/vnd.osa.netdeploy\":[],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.bundle\":[],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.otps.ct-kip+xml\":[],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.paos.xml\":[],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.piaccess.application-licence\":[],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.poc.group-advertisement+xml\":[],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.powerbuilder6-s\":[],\"application/vnd.powerbuilder7\":[],\"application/vnd.powerbuilder7-s\":[],\"application/vnd.powerbuilder75\":[],\"application/vnd.powerbuilder75-s\":[],\"application/vnd.preminet\":[],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.pwg-multiplexed\":[],\"application/vnd.pwg-xhtml-print+xml\":[],\"application/vnd.qualcomm.brew-app-res\":[],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.radisys.moml+xml\":[],\"application/vnd.radisys.msml+xml\":[],\"application/vnd.radisys.msml-audit+xml\":[],\"application/vnd.radisys.msml-audit-conf+xml\":[],\"application/vnd.radisys.msml-audit-conn+xml\":[],\"application/vnd.radisys.msml-audit-dialog+xml\":[],\"application/vnd.radisys.msml-audit-stream+xml\":[],\"application/vnd.radisys.msml-conf+xml\":[],\"application/vnd.radisys.msml-dialog+xml\":[],\"application/vnd.radisys.msml-dialog-base+xml\":[],\"application/vnd.radisys.msml-dialog-fax-detect+xml\":[],\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":[],\"application/vnd.radisys.msml-dialog-group+xml\":[],\"application/vnd.radisys.msml-dialog-speech+xml\":[],\"application/vnd.radisys.msml-dialog-transform+xml\":[],\"application/vnd.rainstor.data\":[],\"application/vnd.rapid\":[],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.renlearn.rlprint\":[],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.rs-274x\":[],\"application/vnd.ruckus.download\":[],\"application/vnd.s3sms\":[],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.sbm.cid\":[],\"application/vnd.sbm.mid2\":[],\"application/vnd.scribus\":[],\"application/vnd.sealed.3df\":[],\"application/vnd.sealed.csf\":[],\"application/vnd.sealed.doc\":[],\"application/vnd.sealed.eml\":[],\"application/vnd.sealed.mht\":[],\"application/vnd.sealed.net\":[],\"application/vnd.sealed.ppt\":[],\"application/vnd.sealed.tiff\":[],\"application/vnd.sealed.xls\":[],\"application/vnd.sealedmedia.softseal.html\":[],\"application/vnd.sealedmedia.softseal.pdf\":[],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.notebook\":[],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[],\"application/vnd.software602.filler.form-xml-zip\":[],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.sss-cod\":[],\"application/vnd.sss-dtf\":[],\"application/vnd.sss-ntf\":[],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.street-stream\":[],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sun.wadl+xml\":[],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.swiftview-ics\":[],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dm.notification\":[],\"application/vnd.syncml.ds.notification\":[],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.truedoc\":[],\"application/vnd.ubisoft.webplayer\":[],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.uplanet.alert\":[],\"application/vnd.uplanet.alert-wbxml\":[],\"application/vnd.uplanet.bearer-choice\":[],\"application/vnd.uplanet.bearer-choice-wbxml\":[],\"application/vnd.uplanet.cacheop\":[],\"application/vnd.uplanet.cacheop-wbxml\":[],\"application/vnd.uplanet.channel\":[],\"application/vnd.uplanet.channel-wbxml\":[],\"application/vnd.uplanet.list\":[],\"application/vnd.uplanet.list-wbxml\":[],\"application/vnd.uplanet.listcmd\":[],\"application/vnd.uplanet.listcmd-wbxml\":[],\"application/vnd.uplanet.signal\":[],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.vd-study\":[],\"application/vnd.vectorworks\":[],\"application/vnd.verimatrix.vcas\":[],\"application/vnd.vidsoft.vidconference\":[],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vividence.scriptfile\":[],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.sic\":[],\"application/vnd.wap.slc\":[],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wfa.wsc\":[],\"application/vnd.wmc\":[],\"application/vnd.wmf.bootstrap\":[],\"application/vnd.wolfram.mathematica\":[],\"application/vnd.wolfram.mathematica.package\":[],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wrq-hp3000-labelled\":[],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.wv.csp+wbxml\":[],\"application/vnd.wv.csp+xml\":[],\"application/vnd.wv.ssp+xml\":[],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.xfdl.webform\":[],\"application/vnd.xmi+xml\":[],\"application/vnd.xmpie.cpkg\":[],\"application/vnd.xmpie.dpkg\":[],\"application/vnd.xmpie.plan\":[],\"application/vnd.xmpie.ppkg\":[],\"application/vnd.xmpie.xlim\":[],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.remote-setup\":[],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yamaha.through-ngn\":[],\"application/vnd.yamaha.tunnel-udpencap\":[],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/vq-rtcpxr\":[],\"application/watcherinfo+xml\":[],\"application/whoispp-query\":[],\"application/whoispp-response\":[],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wita\":[],\"application/wordperfect5.1\":[],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-amf\":[],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-conference\":[\"nsc\"],\"application/x-compress\":[],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-dos\":[],\"application/x-font-framemaker\":[],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-libgrx\":[],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-speedo\":[],\"application/x-font-sunos-news\":[],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/font-woff\":[\"woff\"],\"application/x-font-vfont\":[],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-gzip\":[],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/x400-bp\":[],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[],\"application/xcap-caps+xml\":[],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[],\"application/xcap-error+xml\":[],\"application/xcap-ns+xml\":[],\"application/xcon-conference-info-diff+xml\":[],\"application/xcon-conference-info+xml\":[],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xhtml-voice+xml\":[],\"application/xml\":[\"xml\",\"xsl\"],\"application/xml-dtd\":[\"dtd\"],\"application/xml-external-parsed-entity\":[],\"application/xmpp+xml\":[],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/1d-interleaved-parityfec\":[],\"audio/32kadpcm\":[],\"audio/3gpp\":[],\"audio/3gpp2\":[],\"audio/ac3\":[],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[],\"audio/amr-wb\":[],\"audio/amr-wb+\":[],\"audio/asc\":[],\"audio/atrac-advanced-lossless\":[],\"audio/atrac-x\":[],\"audio/atrac3\":[],\"audio/basic\":[\"au\",\"snd\"],\"audio/bv16\":[],\"audio/bv32\":[],\"audio/clearmode\":[],\"audio/cn\":[],\"audio/dat12\":[],\"audio/dls\":[],\"audio/dsr-es201108\":[],\"audio/dsr-es202050\":[],\"audio/dsr-es202211\":[],\"audio/dsr-es202212\":[],\"audio/dv\":[],\"audio/dvi4\":[],\"audio/eac3\":[],\"audio/evrc\":[],\"audio/evrc-qcp\":[],\"audio/evrc0\":[],\"audio/evrc1\":[],\"audio/evrcb\":[],\"audio/evrcb0\":[],\"audio/evrcb1\":[],\"audio/evrcwb\":[],\"audio/evrcwb0\":[],\"audio/evrcwb1\":[],\"audio/example\":[],\"audio/fwdred\":[],\"audio/g719\":[],\"audio/g722\":[],\"audio/g7221\":[],\"audio/g723\":[],\"audio/g726-16\":[],\"audio/g726-24\":[],\"audio/g726-32\":[],\"audio/g726-40\":[],\"audio/g728\":[],\"audio/g729\":[],\"audio/g7291\":[],\"audio/g729d\":[],\"audio/g729e\":[],\"audio/gsm\":[],\"audio/gsm-efr\":[],\"audio/gsm-hr-08\":[],\"audio/ilbc\":[],\"audio/ip-mr_v2.5\":[],\"audio/isac\":[],\"audio/l16\":[],\"audio/l20\":[],\"audio/l24\":[],\"audio/l8\":[],\"audio/lpc\":[],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[],\"audio/mp4\":[\"mp4a\"],\"audio/mp4a-latm\":[],\"audio/mpa\":[],\"audio/mpa-robust\":[],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/mpeg4-generic\":[],\"audio/musepack\":[],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/opus\":[],\"audio/parityfec\":[],\"audio/pcma\":[],\"audio/pcma-wb\":[],\"audio/pcmu-wb\":[],\"audio/pcmu\":[],\"audio/prs.sid\":[],\"audio/qcelp\":[],\"audio/red\":[],\"audio/rtp-enc-aescm128\":[],\"audio/rtp-midi\":[],\"audio/rtx\":[],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/smv\":[],\"audio/smv0\":[],\"audio/smv-qcp\":[],\"audio/sp-midi\":[],\"audio/speex\":[],\"audio/t140c\":[],\"audio/t38\":[],\"audio/telephone-event\":[],\"audio/tone\":[],\"audio/uemclip\":[],\"audio/ulpfec\":[],\"audio/vdvi\":[],\"audio/vmr-wb\":[],\"audio/vnd.3gpp.iufp\":[],\"audio/vnd.4sb\":[],\"audio/vnd.audiokoz\":[],\"audio/vnd.celp\":[],\"audio/vnd.cisco.nse\":[],\"audio/vnd.cmles.radio-events\":[],\"audio/vnd.cns.anp1\":[],\"audio/vnd.cns.inf1\":[],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dlna.adts\":[],\"audio/vnd.dolby.heaac.1\":[],\"audio/vnd.dolby.heaac.2\":[],\"audio/vnd.dolby.mlp\":[],\"audio/vnd.dolby.mps\":[],\"audio/vnd.dolby.pl2\":[],\"audio/vnd.dolby.pl2x\":[],\"audio/vnd.dolby.pl2z\":[],\"audio/vnd.dolby.pulse.1\":[],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.dvb.file\":[],\"audio/vnd.everad.plj\":[],\"audio/vnd.hns.audio\":[],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nokia.mobile-xmf\":[],\"audio/vnd.nortel.vbk\":[],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.octel.sbc\":[],\"audio/vnd.qcelp\":[],\"audio/vnd.rhetorex.32kadpcm\":[],\"audio/vnd.rip\":[\"rip\"],\"audio/vnd.sealedmedia.softseal.mpeg\":[],\"audio/vnd.vmx.cvsd\":[],\"audio/vorbis\":[],\"audio/vorbis-config\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-tta\":[],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-pdb\":[],\"chemical/x-xyz\":[\"xyz\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/example\":[],\"image/fits\":[],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[],\"image/jpx\":[],\"image/ktx\":[\"ktx\"],\"image/naplps\":[],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[],\"image/tiff\":[\"tiff\",\"tif\"],\"image/tiff-fx\":[],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.cns.inf2\":[],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.globalgraphics.pgb\":[],\"image/vnd.microsoft.icon\":[],\"image/vnd.mix\":[],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.radiance\":[],\"image/vnd.sealed.png\":[],\"image/vnd.sealedmedia.softseal.gif\":[],\"image/vnd.sealedmedia.softseal.jpg\":[],\"image/vnd.svf\":[],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/cpim\":[],\"message/delivery-status\":[],\"message/disposition-notification\":[],\"message/example\":[],\"message/external-body\":[],\"message/feedback-report\":[],\"message/global\":[],\"message/global-delivery-status\":[],\"message/global-disposition-notification\":[],\"message/global-headers\":[],\"message/http\":[],\"message/imdn+xml\":[],\"message/news\":[],\"message/partial\":[],\"message/rfc822\":[\"eml\",\"mime\"],\"message/s-http\":[],\"message/sip\":[],\"message/sipfrag\":[],\"message/tracking-status\":[],\"message/vnd.si.simp\":[],\"model/example\":[],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.flatland.3dml\":[],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gs-gdl\":[],\"model/vnd.gs.gdl\":[],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.moml+xml\":[],\"model/vnd.mts\":[\"mts\"],\"model/vnd.parasolid.transmit.binary\":[],\"model/vnd.parasolid.transmit.text\":[],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"multipart/alternative\":[],\"multipart/appledouble\":[],\"multipart/byteranges\":[],\"multipart/digest\":[],\"multipart/encrypted\":[],\"multipart/example\":[],\"multipart/form-data\":[],\"multipart/header-set\":[],\"multipart/mixed\":[],\"multipart/parallel\":[],\"multipart/related\":[],\"multipart/report\":[],\"multipart/signed\":[],\"multipart/voice-message\":[],\"text/1d-interleaved-parityfec\":[],\"text/cache-manifest\":[\"appcache\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/directory\":[],\"text/dns\":[],\"text/ecmascript\":[],\"text/enriched\":[],\"text/example\":[],\"text/fwdred\":[],\"text/html\":[\"html\",\"htm\"],\"text/javascript\":[],\"text/n3\":[\"n3\"],\"text/parityfec\":[],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\"],\"text/prs.fallenstein.rst\":[],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.radisys.msml-basic-layout\":[],\"text/red\":[],\"text/rfc822-headers\":[],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/rtp-enc-aescm128\":[],\"text/rtx\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/t140\":[],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/ulpfec\":[],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.abc\":[],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.dmclientscript\":[],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.esmertec.theme-descriptor\":[],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.iptc.newsml\":[],\"text/vnd.iptc.nitf\":[],\"text/vnd.latex-z\":[],\"text/vnd.motorola.reflex\":[],\"text/vnd.ms-mediapackage\":[],\"text/vnd.net2phone.commcenter.command\":[],\"text/vnd.si.uricatalogue\":[],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.trolltech.linguist\":[],\"text/vnd.wap.si\":[],\"text/vnd.wap.sl\":[],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-java-source\":[\"java\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-nfo\":[\"nfo\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/xml-external-parsed-entity\":[],\"video/1d-interleaved-parityfec\":[],\"video/3gpp\":[\"3gp\"],\"video/3gpp-tt\":[],\"video/3gpp2\":[\"3g2\"],\"video/bmpeg\":[],\"video/bt656\":[],\"video/celb\":[],\"video/dv\":[],\"video/example\":[],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h263-1998\":[],\"video/h263-2000\":[],\"video/h264\":[\"h264\"],\"video/h264-rcdo\":[],\"video/h264-svc\":[],\"video/jpeg\":[\"jpgv\"],\"video/jpeg2000\":[],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp1s\":[],\"video/mp2p\":[],\"video/mp2t\":[],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mp4v-es\":[],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/mpeg4-generic\":[],\"video/mpv\":[],\"video/nv\":[],\"video/ogg\":[\"ogv\"],\"video/parityfec\":[],\"video/pointer\":[],\"video/quicktime\":[\"qt\",\"mov\"],\"video/raw\":[],\"video/rtp-enc-aescm128\":[],\"video/rtx\":[],\"video/smpte292m\":[],\"video/ulpfec\":[],\"video/vc1\":[],\"video/vnd.cctv\":[],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.mp4\":[],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.directv.mpeg\":[],\"video/vnd.directv.mpeg-tts\":[],\"video/vnd.dlna.mpeg-tts\":[],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.hns.video\":[],\"video/vnd.iptvforum.1dparityfec-1010\":[],\"video/vnd.iptvforum.1dparityfec-2005\":[],\"video/vnd.iptvforum.2dparityfec-1010\":[],\"video/vnd.iptvforum.2dparityfec-2005\":[],\"video/vnd.iptvforum.ttsavc\":[],\"video/vnd.iptvforum.ttsmpeg2\":[],\"video/vnd.motorola.video\":[],\"video/vnd.motorola.videop\":[],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.nokia.interleaved-multimedia\":[],\"video/vnd.nokia.videovoip\":[],\"video/vnd.objectvideo\":[],\"video/vnd.sealed.mpeg1\":[],\"video/vnd.sealed.mpeg4\":[],\"video/vnd.sealed.swf\":[],\"video/vnd.sealedmedia.softseal.mov\":[],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],525:[function(e,t,n){t.exports={\"text/vtt\":[\"vtt\"],\"application/x-chrome-extension\":[\"crx\"],\"text/x-component\":[\"htc\"],\"text/cache-manifest\":[\"manifest\"],\"application/octet-stream\":[\"buffer\"],\"application/mp4\":[\"m4p\"],\"audio/mp4\":[\"m4a\"],\"video/MP2T\":[\"ts\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"text/x-lua\":[\"lua\"],\"application/x-lua-bytecode\":[\"luac\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/plain\":[\"ini\"],\"application/dash+xml\":[\"mdp\"],\"font/opentype\":[\"otf\"],\"application/json\":[\"map\"],\"application/xml\":[\"xsd\"]}},{}],526:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=e.portA,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function a(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function s(e){var t=e.proxy,n={proxy:{host:t.hostname,port:+t.port,proxyAuth:t.auth,headers:e.proxyHeaders},rejectUnauthorized:e.rejectUnauthorized,headers:e.headers,ca:e.ca,cert:e.cert,key:e.key};return n}function c(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function u(e){var t=e.uri,n=e.proxy,r=c(t,n);return I[r]}function p(e){var t=process.env.NO_PROXY||process.env.no_proxy||null;\nif(\"*\"===t)return null;if(null!==t){var n,r,i,o,a,s,c;r=e.hostname.replace(/^\\.*/,\".\").toLowerCase(),c=t.split(\",\");for(var u=0,p=c.length;p>u;u++)if(n=c[u].trim().toLowerCase(),n.indexOf(\":\")>-1){if(o=n.split(\":\",2),a=o[0].replace(/^\\.*/,\".\"),s=o[1],i=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),i===s&&r.indexOf(a)===r.length-a.length)return null}else{n=n.replace(/^\\.*/,\".\");var l=r.indexOf(n);if(l>-1&&l===r.length-n.length)return null}}return\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}function l(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function f(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function d(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:f.call(e.request)}}function h(e){var t=this;b.Stream.call(t);var n=Object.keys(h.prototype),o=r(n,e);b.Stream.call(t),y._extend(t,o),e=i(n,e),t.readable=!0,t.writable=!0,\"undefined\"==typeof e.tunnel&&(e.tunnel=!1),e.method&&(t.explicitMethod=!0),t.canTunnel=e.tunnel!==!1&&I,t.init(e)}var m=e(\"http\"),v=e(\"https\"),g=e(\"url\"),y=e(\"util\"),b=e(\"stream\"),x=e(\"qs\"),w=e(\"querystring\"),_=e(\"zlib\"),k=e(\"./lib/helpers\"),j=e(\"bl\"),S=e(\"oauth-sign\"),E=e(\"hawk\"),O=e(\"aws-sign2\"),A=e(\"http-signature\"),C=e(\"node-uuid\"),T=e(\"mime-types\"),I=e(\"tunnel-agent\"),P=e(\"stringstream\"),F=e(\"caseless\"),M=e(\"forever-agent\"),z=e(\"form-data\"),B=e(\"./lib/cookies\"),N=e(\"./lib/copy\"),D=e(\"./lib/debug\"),q=(e(\"net\"),e(\"combined-stream\")),R=k.safeStringify,L=k.md5,$=k.isReadStream,U=k.toBase64,H=k.defer,V=B.jar(),W={},Y=/^https?:/,K=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"transfer-encoding\",\"user-agent\",\"via\"],G=[\"proxy-authorization\"];y.inherits(h,b.Stream),h.prototype.setupTunnel=function(){var e=this;if(\"string\"==typeof e.proxy&&(e.proxy=g.parse(e.proxy)),!e.proxy)return!1;if(!e.tunnel&&\"https:\"!==e.uri.protocol)return!1;e.proxyHeaderExclusiveList||(e.proxyHeaderExclusiveList=[]);var t=e.proxyHeaderExclusiveList.concat(G);e.proxyHeaderWhiteList||(e.proxyHeaderWhiteList=K);var n=e.proxyHeaderWhiteList.concat(t),r=o(e.uri);e.proxyHeaders=a(e.headers,n),e.proxyHeaders.host=r,t.forEach(e.removeHeader,e);var i=u(e),c=s(e);return e.agent=i(c),e.tunnel=!0,!0},h.prototype.init=function(e){var t=this;if(e||(e={}),t.headers=t.headers?N(t.headers):{},F.httpify(t,t.headers),t.method||(t.method=e.method||\"GET\"),t.localAddress=e.localAddress,t.qsLib||(t.qsLib=e.useQuerystring?w:x),D(e),t.pool||t.pool===!1||(t.pool=W),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on(\"error\",t.callback.bind()),t.on(\"complete\",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),!t.uri)return t.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof t.uri&&(t.uri=g.parse(t.uri)),\"unix:\"===t.uri.protocol)return t.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===t.uri.host){var r=t.uri.path.split(\":\"),i=r[0],o=r[1];t.socketPath=i,t.uri.pathname=o,t.uri.path=o,t.uri.host=i,t.uri.hostname=i,t.uri.isUnix=!0}if(t.strictSSL===!1&&(t.rejectUnauthorized=!1),t.hasOwnProperty(\"proxy\")||(t.proxy=p(t.uri)),t.tunnel=!!e.tunnel,t.proxy&&t.setupTunnel(),t.uri.pathname||(t.uri.pathname=\"/\"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var a=g.format(t.uri),s='Invalid URI \"'+a+'\"';return 0===Object.keys(e).length&&(s+=\". This can be caused by a crappy redirection.\"),t.emit(\"error\",new Error(s))}if(t._redirectsFollowed=t._redirectsFollowed||0,t.maxRedirects=void 0!==t.maxRedirects?t.maxRedirects:10,t.allowRedirect=\"function\"==typeof t.followRedirect?t.followRedirect:function(e){return!0},t.followRedirects=void 0!==t.followRedirect?!!t.followRedirect:!0,t.followAllRedirects=void 0!==t.followAllRedirects?t.followAllRedirects:!1,(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),t.setHost=!1,!t.hasHeader(\"host\")){var c=t.originalHostHeaderName||\"host\";t.setHeader(c,t.uri.hostname),t.uri.port&&(80===t.uri.port&&\"http:\"===t.uri.protocol||443===t.uri.port&&\"https:\"===t.uri.protocol||t.setHeader(c,t.getHeader(\"host\")+(\":\"+t.uri.port))),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||(\"http:\"===t.uri.protocol?t.uri.port=80:\"https:\"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var u=e.formData,l=t.form(),f=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in u)if(u.hasOwnProperty(d)){var h=u[d];if(h instanceof Array)for(var y=0;y<h.length;y++)f(d,h[y]);else f(d,h)}}if(e.qs&&t.qs(e.qs),t.uri.path?t.path=t.uri.path:t.path=t.uri.pathname+(t.uri.search||\"\"),0===t.path.length&&(t.path=\"/\"),e.oauth&&t.oauth(e.oauth),e.aws&&t.aws(e.aws),e.hawk&&t.hawk(e.hawk),e.httpSignature&&t.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),t.gzip&&!t.hasHeader(\"accept-encoding\")&&t.setHeader(\"accept-encoding\",\"gzip\"),t.uri.auth&&!t.hasHeader(\"authorization\")){var b=t.uri.auth.split(\":\").map(function(e){return w.unescape(e)});t.auth(b[0],b.slice(1).join(\":\"),!0)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader(\"proxy-authorization\")){var _=t.proxy.auth.split(\":\").map(function(e){return w.unescape(e)}),k=\"Basic \"+U(_.join(\":\"));t.setHeader(\"proxy-authorization\",k)}if(t.proxy&&!t.tunnel&&(t.path=t.uri.protocol+\"//\"+t.uri.host+t.path),e.json&&t.json(e.json),e.multipart&&(t.boundary=C(),t.multipart(e.multipart)),t.body){var j=0;if(n.isBuffer(t.body))j=t.body.length;else if(Array.isArray(t.body))for(var S=0;S<t.body.length;S++)j+=t.body[S].length;else t.body=new n(t.body),j=t.body.length;if(!j)throw new Error(\"Argument error, options.body.\");t.hasHeader(\"content-length\")||t.setHeader(\"content-length\",j)}var E=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol,O={\"http:\":m,\"https:\":v},A=t.httpModules||{};return t.httpModule=A[E]||O[E],t.httpModule?(e.ca&&(t.ca=e.ca),t.agent||(e.agentOptions&&(t.agentOptions=e.agentOptions),e.agentClass?t.agentClass=e.agentClass:e.forever?t.agentClass=\"http:\"===E?M:M.SSL:t.agentClass=t.httpModule.Agent),t.pool===!1?t.agent=!1:t.agent=t.agent||t.getNewAgent(),t.on(\"pipe\",function(e){if(t.ntick&&t._started)throw new Error(\"You cannot pipe to this stream after the outbound request has started.\");if(t.src=e,$(e))t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",T.lookup(e.path));else{if(e.headers)for(var n in e.headers)t.hasHeader(n)||t.setHeader(n,e.headers[n]);t._json&&!t.hasHeader(\"content-type\")&&t.setHeader(\"content-type\",\"application/json\"),e.method&&!t.explicitMethod&&(t.method=e.method)}}),void H(function(){if(!t._aborted){var e=function(){t._form&&t._form.pipe(t),t._multipart&&t._multipart.pipe(t),t.body?(Array.isArray(t.body)?t.body.forEach(function(e){t.write(e)}):t.write(t.body),t.end()):t.requestBodyStream?(console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),t.requestBodyStream.pipe(t)):t.src||(\"GET\"!==t.method&&\"undefined\"!=typeof t.method&&t.setHeader(\"content-length\",0),t.end())};t._form&&!t.hasHeader(\"content-length\")?(t.setHeader(t._form.getHeaders()),t._form.getLength(function(n,r){n||t.setHeader(\"content-length\",r),e()})):e(),t.ntick=!0}})):t.emit(\"error\",new Error(\"Invalid protocol: \"+E))},h.prototype._updateProtocol=function(){var e=this,t=e.uri.protocol;if(\"https:\"===t||e.tunnel){if(e.proxy&&e.setupTunnel())return;switch(e.httpModule=v,e.agentClass){case M:e.agentClass=M.SSL;break;case m.Agent:e.agentClass=v.Agent;break;default:return}e.agent&&(e.agent=e.getNewAgent())}else{switch(e.httpModule=m,e.agentClass){case M.SSL:e.agentClass=M;break;case v.Agent:e.agentClass=m.Agent;break;default:return}e.agent&&(e.agent=null,e.agent=e.getNewAgent())}},h.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=g.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===W&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},h.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=N(e);delete t.auth,D(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timeout&&!e.timeoutTimer&&(e.timeoutTimer=setTimeout(function(){e.abort();var t=new Error(\"ETIMEDOUT\");t.code=\"ETIMEDOUT\",e.emit(\"error\",t)},e.timeout),e.req.setTimeout&&e.req.setTimeout(e.timeout,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",e.emit(\"error\",t)}})),e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",l)}),e.emit(\"request\",e.req)}},h.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},h.prototype.onRequestResponse=function(e){var t=this;if(D(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){D(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(l)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",l)),t._aborted)return D(\"aborted\",t.uri.href),void e.resume();if(t._paused?e.pause():e.resume&&e.resume(),t.response=e,e.request=t,e.toJSON=d,t.httpModule===v&&t.strictSSL&&(!e.hasOwnProperty(\"client\")||!e.client.authorized)){D(\"strict ssl error\",t.uri.href);var r=e.hasOwnProperty(\"client\")?e.client.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+r))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var i=t._jar&&t._jar.setCookie?t._jar:V,o=function(e){try{i.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=F(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(o):o(e.headers[a])}var s=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var c=e.caseless.get(\"location\");if(D(\"redirect\",c),t.followAllRedirects)s=c;else if(t.followRedirects)switch(t.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:s=c}}else if(401===e.statusCode&&t._hasAuth&&!t._sentAuth){var u=e.caseless.get(\"www-authenticate\"),p=u&&u.split(\" \")[0].toLowerCase();switch(D(\"reauth\",p),p){case\"basic\":t.auth(t._user,t._pass,!0),s=t.uri;break;case\"bearer\":t.auth(null,null,!0,t._bearer),s=t.uri;break;case\"digest\":for(var f={},h=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var m=h.exec(u);if(!m)break;f[m[1]]=m[2]||m[3]}var y=L(t._user+\":\"+f.realm+\":\"+t._pass),b=L(t.method+\":\"+t.uri.path),x=/(^|,)\\s*auth\\s*($|,)/.test(f.qop)&&\"auth\",w=x&&\"00000001\",k=x&&C().replace(/-/g,\"\"),S=L(x?y+\":\"+f.nonce+\":\"+w+\":\"+k+\":\"+x+\":\"+b:y+\":\"+f.nonce+\":\"+b),E={username:t._user,realm:f.realm,nonce:f.nonce,uri:t.uri.path,qop:x,response:S,nc:w,cnonce:k,algorithm:f.algorithm,opaque:f.opaque};u=[];for(var O in E)E[O]&&(\"qop\"===O||\"nc\"===O||\"algorithm\"===O?u.push(O+\"=\"+E[O]):u.push(O+'=\"'+E[O]+'\"'));u=\"Digest \"+u.join(\", \"),t.setHeader(\"authorization\",u),t._sentAuth=!0,s=t.uri}}if(s&&t.allowRedirect.call(t,e)){if(D(\"redirect to\",s),t._paused&&e.resume(),t._redirectsFollowed>=t.maxRedirects)return void t.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+t.uri.href));t._redirectsFollowed+=1,Y.test(s)||(s=g.resolve(t.uri.href,s));var A=t.uri;return t.uri=g.parse(s),t.uri.protocol!==A.protocol&&t._updateProtocol(),t.redirects.push({statusCode:e.statusCode,redirectUri:s}),t.followAllRedirects&&401!==e.statusCode&&307!==e.statusCode&&(t.method=\"GET\"),delete t.src,delete t.req,delete t.agent,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader(\"host\"),t.removeHeader(\"content-type\"),t.removeHeader(\"content-length\"),t.uri.hostname!==t.originalHost.split(\":\")[0]&&t.removeHeader(\"authorization\"))),t.emit(\"redirect\"),void t.init()}t._redirectsFollowed=t._redirectsFollowed||0,e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var T;if(t.gzip){var I=e.headers[\"content-encoding\"]||\"identity\";I=I.trim().toLowerCase(),\"gzip\"===I?(T=_.createGunzip(),e.pipe(T)):(\"identity\"!==I&&D(\"ignoring unrecognized Content-Encoding \"+I),T=e)}else T=e;if(t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):T.setEncoding?T.setEncoding(t.encoding):T=T.pipe(P(t.encoding))),t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),T.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),T.on(\"end\",function(e){t.emit(\"end\",e)}),T.on(\"error\",function(e){t.emit(\"error\",e)}),T.on(\"close\",function(){t.emit(\"close\")}),t.callback){var M=j(),z=[];t.on(\"data\",function(e){n.isBuffer(e)?M.append(e):z.push(e)}),t.on(\"end\",function(){if(D(\"end event\",t.uri.href),t._aborted)return void D(\"aborted\",t.uri.href);if(M.length?(D(\"has body\",t.uri.href,M.length),null===t.encoding?e.body=M.slice():e.body=M.toString(t.encoding)):z.length&&(\"utf8\"===t.encoding&&z[0].length>0&&\"\\ufeff\"===z[0][0]&&(z[0]=z[0].substring(1)),e.body=z.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(n){}D(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=\"\"),t.emit(\"complete\",e,e.body)})}else t.on(\"end\",function(){return t._aborted?void D(\"aborted\",t.uri.href):void t.emit(\"complete\",e)});D(\"finish init function\",t.uri.href)},h.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.abort(),e.emit(\"abort\")},h.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},h.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r.qsLib.parse(r.uri.query):{};for(var i in e)n[i]=e[i];return\"\"===r.qsLib.stringify(n)?r:(r.uri=g.parse(r.uri.href.split(\"?\")[0]+\"?\"+r.qsLib.stringify(n)),r.url=r.uri,r.path=r.uri.path,r)},h.prototype.form=function(e){var t=this;return e?(t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?e.toString(\"utf8\"):t.qsLib.stringify(e).toString(\"utf8\"),t):(t._form=new z,t._form)},h.prototype.multipart=function(e){function t(e){return i?o.append(e):o.push(new n(e))}var r=this,i=e instanceof Array||void 0===e.chunked||e.chunked;e=e.data||e;var o=i?new q:[];i&&r.setHeader(\"transfer-encoding\",\"chunked\");var a=r.hasHeader(\"content-type\");if(a&&-1!==r.headers[a].indexOf(\"multipart\")?r.setHeader(a,r.headers[a].split(\";\")[0]+\"; boundary=\"+r.boundary):r.setHeader(\"content-type\",\"multipart/related; boundary=\"+r.boundary),!e.forEach)throw new Error(\"Argument error, options.multipart.\");return r.preambleCRLF&&t(\"\\r\\n\"),e.forEach(function(e){var n=e.body;if(\"undefined\"==typeof n)throw new Error(\"Body attribute missing in multipart.\");var i=\"--\"+r.boundary+\"\\r\\n\";Object.keys(e).forEach(function(t){\"body\"!==t&&(i+=t+\": \"+e[t]+\"\\r\\n\")}),i+=\"\\r\\n\",t(i),t(n),t(\"\\r\\n\")}),t(\"--\"+r.boundary+\"--\"),r.postambleCRLF&&t(\"\\r\\n\"),r[i?\"_multipart\":\"body\"]=o,r},h.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&\"application/x-www-form-urlencoded\"!==t.getHeader(\"content-type\")&&(t.body=R(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=R(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},h.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n};var J=h.prototype.getHeader;h.prototype.auth=function(e,t,n,r){var i=this;if(void 0!==r)return i._bearer=r,i._hasAuth=!0,(n||\"undefined\"==typeof n)&&(\"function\"==typeof r&&(r=r()),i.setHeader(\"authorization\",\"Bearer \"+r),i._sentAuth=!0),i;if(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)throw new Error(\"auth() received invalid user or password\");i._user=e,i._pass=t,i._hasAuth=!0;var o=\"undefined\"!=typeof t?e+\":\"+t:e;return(n||\"undefined\"==typeof n)&&(i.setHeader(\"authorization\",\"Basic \"+U(o)),i._sentAuth=!0),i},h.prototype.aws=function(e,t){var n=this;if(!t)return n._aws=e,n;var r=new Date;n.setHeader(\"date\",r.toUTCString());var i={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:r,contentType:n.getHeader(\"content-type\")||\"\",md5:n.getHeader(\"content-md5\")||\"\",amazonHeaders:O.canonicalizeHeaders(n.headers)},o=n.uri.path;return e.bucket&&o?i.resource=\"/\"+e.bucket+o:e.bucket&&!o?i.resource=\"/\"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource=\"/\"),i.resource=O.canonicalizeResource(i.resource),n.setHeader(\"authorization\",O.authorization(i)),n},h.prototype.httpSignature=function(e){var t=this;return A.signRequest({getHeader:function(e){return J(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),D(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},h.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",E.client.header(t.uri,t.method,e).field)},h.prototype.oauth=function(e){var t,n,r=this;r.hasHeader(\"content-type\")&&\"application/x-www-form-urlencoded\"===r.getHeader(\"content-type\").slice(0,\"application/x-www-form-urlencoded\".length)&&(t=r.body),r.uri.query&&(n=r.uri.query);var i={};for(var o in e)i[\"oauth_\"+o]=e[o];\"oauth_realm\"in i&&delete i.oauth_realm,i.oauth_version||(i.oauth_version=\"1.0\"),i.oauth_timestamp||(i.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),i.oauth_nonce||(i.oauth_nonce=C().replace(/-/g,\"\")),i.oauth_signature_method||(i.oauth_signature_method=\"HMAC-SHA1\");var a=i.oauth_consumer_secret||i.oauth_private_key;delete i.oauth_consumer_secret,delete i.oauth_private_key;var s=i.oauth_token_secret;delete i.oauth_token_secret;var c=r.uri.protocol+\"//\"+r.uri.host+r.uri.pathname,u=r.qsLib.parse([].concat(n,t,r.qsLib.stringify(i)).join(\"&\")),p=S.sign(i.oauth_signature_method,r.method,c,u,a,s),l=e.realm?'realm=\"'+e.realm+'\",':\"\",f=\"OAuth \"+l+Object.keys(i).sort().map(function(e){return e+'=\"'+S.rfc3986(i[e])+'\"'}).join(\",\");return f+=',oauth_signature=\"'+S.rfc3986(p)+'\"',r.setHeader(\"Authorization\",f),r},h.prototype.jar=function(e){var t,n=this;if(0===n._redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:V,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},h.prototype.pipe=function(e,t){var n=this;if(n.response){if(n._destdata)throw new Error(\"You cannot pipe after data has been emitted from the response.\");if(n._ended)throw new Error(\"You cannot pipe after the response has been ended.\");return b.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e}return n.dests.push(e),b.Stream.prototype.pipe.call(n,e,t),e},h.prototype.write=function(){var e=this;return e._started||e.start(),e.req.write.apply(e.req,arguments)},h.prototype.end=function(e){var t=this;e&&t.write(e),t._started||t.start(),t.req.end()},h.prototype.pause=function(){var e=this;e.response?e.response.pause.apply(e.response,arguments):e._paused=!0},h.prototype.resume=function(){var e=this;e.response?e.response.resume.apply(e.response,arguments):e._paused=!1},h.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},h.defaultProxyHeaderWhiteList=K.slice(),h.defaultProxyHeaderExclusiveList=G.slice(),h.prototype.toJSON=f,t.exports=h}).call(this,e(\"buffer\").Buffer)},{\"./lib/cookies\":518,\"./lib/copy\":519,\"./lib/debug\":520,\"./lib/helpers\":521,\"aws-sign2\":477,bl:478,buffer:void 0,caseless:481,\"combined-stream\":482,\"forever-agent\":486,\"form-data\":487,hawk:488,http:void 0,\"http-signature\":497,https:void 0,\"mime-types\":523,net:void 0,\"node-uuid\":361,\"oauth-sign\":507,qs:508,querystring:void 0,stream:void 0,stringstream:457,\"tunnel-agent\":465,url:void 0,util:void 0,zlib:void 0}],527:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":528,dup:434}],528:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=!1,l=function(e,t){return c&&(clearTimeout(c),c=0),p?void 0:(p=!0,f.removeAllListeners(),f.close(),n(e,t))},f=r.createSocket(\"udp4\");f.once(\"error\",function(e){return l(e)}),f.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return l(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return l(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,p=r.transmitTimestamp,f=n;return r.d=f-o-(p-c),r.t=(c-o+(p-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),l(null,r)}):l(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,l(new Error(\"Timeout\"))},s.timeout));for(var d=new t(48),h=0;48>h;h++)d[h]=0;d[0]=35,u=Date.now(),a.fromMsecs(u,d,40),f.send(d,0,d.length,s.port,s.host,function(e,t){return e||48!==t?l(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:494}],529:[function(e,t,n){\"use strict\";function r(e){for(var t=e.listeners(\"data\"),n=0;n<t.length;n++)if(\"ondata\"===t[n].name)return!0;return!1}function i(e){if(!e)throw new TypeError(\"argument stream is required\");if(\"function\"==typeof e.unpipe)return void e.unpipe();if(r(e))for(var t,n=e.listeners(\"close\"),i=0;i<n.length;i++)t=n[i],\"cleanup\"!==t.name&&\"onclose\"!==t.name||t.call(e)}t.exports=i},{}],530:[function(e,t,n){t.exports=e(\"util\").deprecate},{util:void 0}],531:[function(e,t,n){n=t.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},{}],532:[function(e,t,n){\"use strict\";function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"header argument is required\");if(!t)throw new TypeError(\"field argument is required\");for(var n=Array.isArray(t)?t:i(String(t)),r=0;r<n.length;r++)if(a.test(n[r]))throw new TypeError(\"field argument contains an invalid header\");if(\"*\"===e)return e;var o=e,s=i(e.toLowerCase());if(-1!==n.indexOf(\"*\")||-1!==s.indexOf(\"*\"))return\"*\";for(var r=0;r<n.length;r++){var c=n[r].toLowerCase();-1===s.indexOf(c)&&(s.push(c),o=o?o+\", \"+n[r]:n[r])}return o}function i(e){return e.trim().split(/ *, */)}function o(e,t){if(!e||!e.getHeader||!e.setHeader)throw new TypeError(\"res argument is required\");var n=e.getHeader(\"Vary\")||\"\",i=Array.isArray(n)?n.join(\", \"):String(n);(n=r(i,t))&&e.setHeader(\"Vary\",n)}t.exports=o,t.exports.append=r;var a=/[\\(\\)<>@,;:\\\\\"\\/\\[\\]\\?=\\{\\}\\u0020\\u0009]/},{}],533:[function(e,t,n){function r(e){var t,n,r,i;e instanceof Error||\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),i=t.length>0?c.sprintf.apply(null,t):\"\",this.jse_shortmsg=i,this.jse_summary=i,e&&(n=e.cause,n&&e.cause instanceof Error||(n=e),n&&n instanceof Error&&(this.jse_cause=n,this.jse_summary+=\": \"+n.message)),this.message=this.jse_summary,Error.call(this,this.jse_summary),Error.captureStackTrace&&(r=e?e.constructorOpt:void 0,r=r||arguments.callee,Error.captureStackTrace(this,r))}function i(e){a.ok(e.length>0),this.ase_errors=e,r.call(this,e[0],\"first of %d error%s\",e.length,1==e.length?\"\":\"s\")}function o(e){Error.call(this);var t,n,r;\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),t.length>0?this.message=c.sprintf.apply(null,t):this.message=\"\",e&&(e instanceof Error?n=e:(n=e.cause,r=e.constructorOpt)),Error.captureStackTrace(this,r||this.constructor),n&&this.cause(n)}var a=e(\"assert\"),s=e(\"util\"),c=e(\"extsprintf\");n.VError=r,n.WError=o,n.MultiError=i,s.inherits(r,Error),r.prototype.name=\"VError\",r.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),e},r.prototype.cause=function(){return this.jse_cause},s.inherits(i,r),s.inherits(o,Error),o.prototype.name=\"WError\",o.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),this.we_cause&&this.we_cause.message&&(e+=\"; caused by \"+this.we_cause.toString()),e},o.prototype.cause=function(e){return e instanceof Error&&(this.we_cause=e),this.we_cause}},{assert:void 0,extsprintf:114,util:void 0}],534:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)i.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],535:[function(e,t,n){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&\"function\"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){return this instanceof a?(this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,void(n?(n.prev=this,this.next=n):this.next=null)):new a(e,t,n,r)}t.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error(\"removing node which does not belong to this list\");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){\nfor(var e=0,t=arguments.length;t>e;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail.next=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head.prev=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&e>t;t++)n=n.next;return t===e&&null!==n?n.value:void 0},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&e>t;t++)n=n.prev;return t===e&&null!==n?n.value:void 0},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},{}],536:[function(e,t,n){var r={SERVERLESS_PROJECT:\"serverless-starter\",SERVERLESS_STAGE:\"dev\",SERVERLESS_REGION:\"us-east-1\",SERVERLESS_DATA_MODEL_STAGE:\"dev\"};for(var i in r)process.env[i]=r[i];n.handler=e(\"./handler\").handler},{\"./handler\":537}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports.handler=function(e,t){r.multiShow(e,function(e,n){return t.done(e,n)})}},{\"../../lib\":1}],538:[function(e,t,n){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}]},{},[536])(536)});"}}}},"criteria":{"id":{"type":"string","pattern":"/subscriptions/.*","required":true},"name":{"type":"string","pattern":".*/.*","required":true},"function_app_id":{"type":"string","pattern":"/subscriptions/.*/resourceGroups/.*/providers/Microsoft.Web/sites/.*"},"type":{"type":"string","pattern":"Microsoft.Web/sites/functions","required":true},"location":{"type":"string","required":true},"script_root_path_href":{"type":"string","script_href":""},"script_href":{"type":"string","script_href":"https://.*.scm.azurewebsites.net/.*"},"config_href":{"type":"","test_data_href":"https://.*.scm.azurewebsites.net/.*"},"properties":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"required":true},"function_app_id":{"type":"string","minLength":1,"required":true},"script_root_path_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"script_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"config_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"secrets_file_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data":{"type":"string","required":true},"files":{"required":false},"config":{"type":"object","properties":{"bindings":{"type":"array"}}}}}}},{"message":"Failed \"required\" criteria: missing property (location)","context":"#","value":{"value":{"location":"West US","properties":{"config":{"bindings":[{"type":"http","direction":"in","name":"req"}]},"files":{"index.js":"!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var t;t=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,t.lambda=e()}}(function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c=\"function\"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var p=n[a]={exports:{}};t[a][0].call(p.exports,function(e){var n=t[a][1][e];return i(n?n:e)},p,p.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){var r=(e(\"sendgrid\"),e(\"unirest\"),e(\"bluebird\"),e(\"skeemas\"),e(\"mongoose\"),e(\"passport\")),i=e(\"express\");e(\"moment\"),e(\"lodash\");t.exports.singleAll=function(e,t){var n={message:\"Your Serverless function ran successfully via the '\"+e.httpMethod+\"' method!\"};return t(null,n)},t.exports.multiCreate=function(e,t){var n={message:\"Your Serverless function 'multi/create' ran successfully!\"};return t(null,n)},t.exports.multiShow=function(e,t){var n=(i(),n(new Date));r.init;mogoose.connect(\"httt:/p\");var o={message:\"Your Serverless function 'multi/show' ran successfully with the following ID '\"+e.pathId+\"'!\"};return t(null,o)}},{bluebird:18,express:98,lodash:177,moment:187,mongoose:247,passport:371,sendgrid:410,skeemas:419,unirest:468}],2:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(this.headers=e.headers,void(this.negotiator=new a(e))):new r(e)}function i(e){return-1===e.indexOf(\"/\")?s.lookup(e):e}function o(e){return\"string\"==typeof e}var a=e(\"negotiator\"),s=e(\"mime-types\");t.exports=r,r.prototype.type=r.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||0===t.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(i),a=this.negotiator.mediaTypes(r.filter(o)),s=a[0];return s?t[r.indexOf(s)]:!1},r.prototype.encoding=r.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.encodings(t)[0]||!1:this.negotiator.encodings()},r.prototype.charset=r.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.charsets(t)[0]||!1:this.negotiator.charsets()},r.prototype.lang=r.prototype.langs=r.prototype.language=r.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.languages(t)[0]||!1:this.negotiator.languages()}},{\"mime-types\":184,negotiator:356}],3:[function(e,t,n){\"use strict\";function r(e,t,n){for(var i=0;i<e.length;i++){var o=e[i];n>0&&Array.isArray(o)?r(o,t,n-1):t.push(o)}return t}function i(e,t){for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?i(r,t):t.push(r)}return t}function o(e,t){return null==t?i(e,[]):r(e,[],t)}t.exports=o},{}],4:[function(e,t,n){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name=\"InvalidAsn1Error\",t.message=e||\"\",t}}},{}],5:[function(e,t,n){var r=e(\"./errors\"),i=e(\"./types\"),o=e(\"./reader\"),a=e(\"./writer\");t.exports={Reader:o,Writer:a};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in r)r.hasOwnProperty(c)&&(t.exports[c]=r[c])},{\"./errors\":4,\"./reader\":6,\"./types\":7,\"./writer\":8}],6:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(r.prototype,\"offset\",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(r.prototype,\"remain\",{get:function(){return this._size-this._offset}}),Object.defineProperty(r.prototype,\"buffer\",{get:function(){return this._buf.slice(this._offset)}}),r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var r=this.peek();if(null===r)return null;if(r!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+r.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new n(0):\"\";var a=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?a:a.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.readString(e,!0);if(null===t)return null;for(var n=[],r=0,i=0;i<t.length;i++){var a=255&t[i];r<<=7,r+=127&a,0==(128&a)&&(n.push(r),r=0)}return r=n.shift(),n.unshift(r%40),n.unshift(r/40>>0),n.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;for(var r=this._buf[this._offset],o=0,a=0;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&4!==a&&(o-=1<<8*a),o>>0},t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],7:[function(e,t,n){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],8:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,\"buffer\",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+\" unended sequence(s)\");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||-8388608===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],9:[function(e,t,n){var r=e(\"./ber/index\");t.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},{\"./ber/index\":5}],10:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n,r,o){throw new c.AssertionError({message:p.format(\"%s (%s) is required\",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:n||\"===\",stackStartFunction:i.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function a(){}function s(e){var t,n=Object.keys(f);return t=process.env.NODE_NDEBUG?a:function(e,t){e||i(t,\"true\",e)},n.forEach(function(n){if(e)return void(t[n]=a);var r=f[n];t[n]=function(e,t){r.check(e)||i(t,n,r.operator,e,r.actual)}}),n.forEach(function(n){var o=\"optional\"+r(n);if(e)return void(t[o]=a);var s=f[n];t[o]=function(e,t){void 0!==e&&null!==e&&(s.check(e)||i(t,n,s.operator,e,s.actual))}}),n.forEach(function(n){var o=\"arrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}),n.forEach(function(n){var o=\"optionalArrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}}),Object.keys(c).forEach(function(n){return\"AssertionError\"===n?void(t[n]=c[n]):e?void(t[n]=a):void(t[n]=c[n])}),t._setExports=s,t}var c=e(\"assert\"),u=e(\"stream\").Stream,p=e(\"util\"),l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,f={bool:{check:function(e){return\"boolean\"==typeof e}},func:{check:function(e){return\"function\"==typeof e}},string:{check:function(e){return\"string\"==typeof e}},object:{check:function(e){return\"object\"==typeof e&&null!==e}},number:{check:function(e){return\"number\"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return n.isBuffer(e)},operator:\"Buffer.isBuffer\"},array:{check:function(e){return Array.isArray(e)},operator:\"Array.isArray\"},stream:{check:function(e){return e instanceof u},operator:\"instanceof\",actual:o},date:{check:function(e){return e instanceof Date},operator:\"instanceof\",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:\"instanceof\",actual:o},uuid:{check:function(e){return\"string\"==typeof e&&l.test(e)},operator:\"isUUID\"}};t.exports=s(process.env.NODE_NDEBUG)}).call(this,{isBuffer:e(\"../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],11:[function(e,t,n){(function(e){!function(){function n(){}function r(e){return e}function i(e){return!!e}function o(e){return!e}function a(e){return function(){if(null===e)throw new Error(\"Callback was already called.\");e.apply(this,arguments),e=null}}function s(e){return function(){null!==e&&(e.apply(this,arguments),e=null)}}function c(e){return D(e)||\"number\"==typeof e.length&&e.length>=0&&e.length%1===0}function u(e,t){for(var n=-1,r=e.length;++n<r;)t(e[n],n,e)}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e){return p(Array(e),function(e,t){return t})}function f(e,t,n){return u(e,function(e,r,i){n=t(n,e,r,i)}),n}function d(e,t){u(R(e),function(n){t(e[n],n)})}function h(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function m(e){var t,n,r=-1;return c(e)?(t=e.length,function(){return r++,t>r?r:null}):(n=R(e),t=n.length,function(){return r++,t>r?n[r]:null})}function v(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r)}}}function g(e){return function(t,n,r){return e(t,r)}}function y(e){return function(t,r,i){i=s(i||n),t=t||[];var o=m(t);if(0>=e)return i(null);var c=!1,u=0,p=!1;!function l(){if(c&&0>=u)return i(null);for(;e>u&&!p;){var n=o();if(null===n)return c=!0,void(0>=u&&i(null));u+=1,r(t[n],n,a(function(e){u-=1,e?(i(e),p=!0):l()}))}}()}}function b(e){return function(t,n,r){return e(z.eachOf,t,n,r)}}function x(e){return function(t,n,r,i){return e(y(n),t,r,i)}}function w(e){return function(t,n,r){return e(z.eachOfSeries,t,n,r)}}function _(e,t,r,i){i=s(i||n),t=t||[];var o=c(t)?[]:{};e(t,function(e,t,n){r(e,function(e,r){o[t]=r,n(e)})},function(e){i(e,o)})}function k(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(n){n&&i.push({index:t,value:e}),r()})},function(){r(p(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})}function j(e,t,n,r){k(e,t,function(e,t){n(e,function(e){t(!e)})},r)}function S(e,t,n){return function(r,i,o,a){function s(){a&&a(n(!1,void 0))}function c(e,r,i){return a?void o(e,function(r){a&&t(r)&&(a(n(!0,e)),a=o=!1),i()}):i()}arguments.length>3?e(r,i,c,s):(a=o,o=i,e(r,c,s))}}function E(e,t){return t}function O(e,t,r){r=r||n;var i=c(t)?[]:{};e(t,function(e,t,n){e(v(function(e,r){r.length<=1&&(r=r[0]),i[t]=r,n(e)}))},function(e){r(e,i)})}function A(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(e,t){i=i.concat(t||[]),r(e)})},function(e){r(e,i)})}function C(e,t,r){function i(e,t,r,i){if(null!=i&&\"function\"!=typeof i)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length&&e.idle()?z.setImmediate(function(){e.drain()}):(u(t,function(t){var o={data:t,callback:i||n};r?e.tasks.unshift(o):e.tasks.push(o),e.tasks.length===e.concurrency&&e.saturated()}),void z.setImmediate(e.process))}function o(e,t){return function(){s-=1;var n=!1,r=arguments;u(t,function(e){u(c,function(t,r){t!==e||n||(c.splice(r,1),n=!0)}),e.callback.apply(e,r)}),e.tasks.length+s===0&&e.drain(),e.process()}}if(null==t)t=1;else if(0===t)throw new Error(\"Concurrency must not be zero\");var s=0,c=[],l={tasks:[],concurrency:t,payload:r,saturated:n,empty:n,drain:n,started:!1,paused:!1,push:function(e,t){i(l,e,!1,t)},kill:function(){l.drain=n,l.tasks=[]},unshift:function(e,t){i(l,e,!0,t)},process:function(){for(;!l.paused&&s<l.concurrency&&l.tasks.length;){var t=l.payload?l.tasks.splice(0,l.payload):l.tasks.splice(0,l.tasks.length),n=p(t,function(e){return e.data});0===l.tasks.length&&l.empty(),s+=1,c.push(t[0]);var r=a(o(l,t));e(n,r)}},length:function(){return l.tasks.length},running:function(){return s},workersList:function(){return c},idle:function(){return l.tasks.length+s===0},pause:function(){l.paused=!0},resume:function(){if(l.paused!==!1){l.paused=!1;for(var e=Math.min(l.concurrency,l.tasks.length),t=1;e>=t;t++)z.setImmediate(l.process)}}};return l}function T(e){return v(function(t,n){t.apply(null,n.concat([v(function(t,n){\"object\"==typeof console&&(t?console.error&&console.error(t):console[e]&&u(n,function(t){console[e](t)}))})]))})}function I(e){return function(t,n,r){e(l(t),n,r)}}function P(e){return v(function(t,n){var r=v(function(n){var r=this,i=n.pop();return e(t,function(e,t,i){e.apply(r,n.concat([i]))},i)});return n.length?r.apply(this,n):r})}function F(e){return v(function(t){var n=t.pop();t.push(function(){var e=arguments;r?z.setImmediate(function(){n.apply(null,e)}):n.apply(null,e)});var r=!0;e.apply(this,t),r=!1})}var M,z={},B=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof e&&e.global===e&&e||this;null!=B&&(M=B.async),z.noConflict=function(){return B.async=M,z};var N=Object.prototype.toString,D=Array.isArray||function(e){return\"[object Array]\"===N.call(e)},q=function(e){var t=typeof e;return\"function\"===t||\"object\"===t&&!!e},R=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},L=\"function\"==typeof setImmediate&&setImmediate,$=L?function(e){L(e)}:function(e){setTimeout(e,0)};\"object\"==typeof process&&\"function\"==typeof process.nextTick?z.nextTick=process.nextTick:z.nextTick=$,z.setImmediate=L?$:z.nextTick,z.forEach=z.each=function(e,t,n){return z.eachOf(e,g(t),n)},z.forEachSeries=z.eachSeries=function(e,t,n){return z.eachOfSeries(e,g(t),n)},z.forEachLimit=z.eachLimit=function(e,t,n,r){return y(t)(e,g(n),r)},z.forEachOf=z.eachOf=function(e,t,r){function i(e){u--,e?r(e):null===o&&0>=u&&r(null)}r=s(r||n),e=e||[];for(var o,c=m(e),u=0;null!=(o=c());)u+=1,t(e[o],o,a(i));0===u&&r(null)},z.forEachOfSeries=z.eachOfSeries=function(e,t,r){function i(){var n=!0;return null===c?r(null):(t(e[c],c,a(function(e){if(e)r(e);else{if(c=o(),null===c)return r(null);n?z.setImmediate(i):i()}})),void(n=!1))}r=s(r||n),e=e||[];var o=m(e),c=o();i()},z.forEachOfLimit=z.eachOfLimit=function(e,t,n,r){y(t)(e,n,r)},z.map=b(_),z.mapSeries=w(_),z.mapLimit=x(_),z.inject=z.foldl=z.reduce=function(e,t,n,r){z.eachOfSeries(e,function(e,r,i){n(t,e,function(e,n){t=n,i(e)})},function(e){r(e,t)})},z.foldr=z.reduceRight=function(e,t,n,i){var o=p(e,r).reverse();z.reduce(o,t,n,i)},z.transform=function(e,t,n,r){3===arguments.length&&(r=n,n=t,t=D(e)?[]:{}),z.eachOf(e,function(e,r,i){n(t,e,r,i)},function(e){r(e,t)})},z.select=z.filter=b(k),z.selectLimit=z.filterLimit=x(k),z.selectSeries=z.filterSeries=w(k),z.reject=b(j),z.rejectLimit=x(j),z.rejectSeries=w(j),z.any=z.some=S(z.eachOf,i,r),z.someLimit=S(z.eachOfLimit,i,r),z.all=z.every=S(z.eachOf,o,o),z.everyLimit=S(z.eachOfLimit,o,o),z.detect=S(z.eachOf,r,E),z.detectSeries=S(z.eachOfSeries,r,E),z.detectLimit=S(z.eachOfLimit,r,E),z.sortBy=function(e,t,n){function r(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0}z.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){return e?n(e):void n(null,p(t.sort(r),function(e){return e.value}))})},z.auto=function(e,t,r){function i(e){y.unshift(e)}function o(e){var t=h(y,e);t>=0&&y.splice(t,1)}function a(){p--,u(y.slice(0),function(e){e()})}\"function\"==typeof arguments[1]&&(r=t,t=null),r=s(r||n);var c=R(e),p=c.length;if(!p)return r(null);t||(t=p);var l={},m=0,g=!1,y=[];i(function(){p||r(null,l)}),u(c,function(n){function s(){return t>m&&f(b,function(e,t){return e&&l.hasOwnProperty(t)},!0)&&!l.hasOwnProperty(n)}function c(){s()&&(m++,o(c),p[p.length-1](y,l))}if(!g){for(var u,p=D(e[n])?e[n]:[e[n]],y=v(function(e,t){if(m--,t.length<=1&&(t=t[0]),e){var i={};d(l,function(e,t){i[t]=e}),i[n]=t,g=!0,r(e,i)}else l[n]=t,z.setImmediate(a)}),b=p.slice(0,p.length-1),x=b.length;x--;){if(!(u=e[b[x]]))throw new Error(\"Has nonexistent dependency in \"+b.join(\", \"));if(D(u)&&h(u,n)>=0)throw new Error(\"Has cyclic dependencies\")}s()?(m++,p[p.length-1](y,l)):i(c)}})},z.retry=function(e,t,n){function r(e,t){if(\"number\"==typeof t)e.times=parseInt(t,10)||o;else{if(\"object\"!=typeof t)throw new Error(\"Unsupported argument type for 'times': \"+typeof t);e.times=parseInt(t.times,10)||o,e.interval=parseInt(t.interval,10)||a}}function i(e,t){function n(e,n){return function(r){e(function(e,t){r(!e||n,{err:e,result:t})},t)}}function r(e){return function(t){setTimeout(function(){t(null)},e)}}for(;c.times;){var i=!(c.times-=1);s.push(n(c.task,i)),!i&&c.interval>0&&s.push(r(c.interval))}z.series(s,function(t,n){n=n[n.length-1],(e||c.callback)(n.err,n.result)})}var o=5,a=0,s=[],c={times:o,interval:a},u=arguments.length;if(1>u||u>3)throw new Error(\"Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)\");return 2>=u&&\"function\"==typeof e&&(n=t,t=e),\"function\"!=typeof e&&r(c,e),c.callback=n,c.task=t,c.callback?i():i},z.waterfall=function(e,t){function r(e){return v(function(n,i){if(n)t.apply(null,[n].concat(i));else{var o=e.next();o?i.push(r(o)):i.push(t),F(e).apply(null,i)}})}if(t=s(t||n),!D(e)){var i=new Error(\"First argument to waterfall must be an array of functions\");return t(i)}return e.length?void r(z.iterator(e))():t()},z.parallel=function(e,t){O(z.eachOf,e,t)},z.parallelLimit=function(e,t,n){O(y(t),e,n)},z.series=function(e,t){O(z.eachOfSeries,e,t)},z.iterator=function(e){function t(n){function r(){return e.length&&e[n].apply(null,arguments),r.next()}return r.next=function(){return n<e.length-1?t(n+1):null},r}return t(0)},z.apply=v(function(e,t){return v(function(n){return e.apply(null,t.concat(n))})}),z.concat=b(A),z.concatSeries=w(A),z.whilst=function(e,t,r){if(r=r||n,e()){var i=v(function(n,o){n?r(n):e.apply(this,o)?t(i):r.apply(null,[null].concat(o))});t(i)}else r(null)},z.doWhilst=function(e,t,n){var r=0;return z.whilst(function(){return++r<=1||t.apply(this,arguments)},e,n)},z.until=function(e,t,n){return z.whilst(function(){return!e.apply(this,arguments)},t,n)},z.doUntil=function(e,t,n){return z.doWhilst(e,function(){return!t.apply(this,arguments)},n)},z.during=function(e,t,r){r=r||n;var i=v(function(t,n){t?r(t):(n.push(o),e.apply(this,n))}),o=function(e,n){e?r(e):n?t(i):r(null)};e(o)},z.doDuring=function(e,t,n){var r=0;z.during(function(e){r++<1?e(null,!0):t.apply(this,arguments)},e,n)},z.queue=function(e,t){var n=C(function(t,n){e(t[0],n)},t,1);return n},z.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}function i(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,a){if(null!=a&&\"function\"!=typeof a)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length?z.setImmediate(function(){e.drain()}):void u(t,function(t){var s={data:t,priority:o,callback:\"function\"==typeof a?a:n};e.tasks.splice(i(e.tasks,s,r)+1,0,s),e.tasks.length===e.concurrency&&e.saturated(),z.setImmediate(e.process)})}var a=z.queue(e,t);return a.push=function(e,t,n){o(a,e,t,n)},delete a.unshift,a},z.cargo=function(e,t){return C(e,1,t)},z.log=T(\"log\"),z.dir=T(\"dir\"),z.memoize=function(e,t){var n={},i={},o=Object.prototype.hasOwnProperty;t=t||r;var a=v(function(r){var a=r.pop(),s=t.apply(null,r);o.call(n,s)?z.setImmediate(function(){a.apply(null,n[s])}):o.call(i,s)?i[s].push(a):(i[s]=[a],e.apply(null,r.concat([v(function(e){n[s]=e;var t=i[s];delete i[s];for(var r=0,o=t.length;o>r;r++)t[r].apply(null,e)})])))});return a.memo=n,a.unmemoized=e,a},z.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},z.times=I(z.map),z.timesSeries=I(z.mapSeries),z.timesLimit=function(e,t,n,r){return z.mapLimit(l(e),t,n,r)},z.seq=function(){var e=arguments;return v(function(t){var r=this,i=t[t.length-1];\"function\"==typeof i?t.pop():i=n,z.reduce(e,t,function(e,t,n){t.apply(r,e.concat([v(function(e,t){n(e,t)})]))},function(e,t){i.apply(r,[e].concat(t))})})},z.compose=function(){return z.seq.apply(null,Array.prototype.reverse.call(arguments))},z.applyEach=P(z.eachOf),z.applyEachSeries=P(z.eachOfSeries),z.forever=function(e,t){function r(e){return e?i(e):void o(r)}var i=a(t||n),o=F(e);r()},z.ensureAsync=F,z.constant=v(function(e){var t=[null].concat(e);return function(e){return e.apply(this,t)}}),z.wrapSync=z.asyncify=function(e){return v(function(t){var n,r=t.pop();try{n=e.apply(this,t)}catch(i){return r(i)}q(n)&&\"function\"==typeof n.then?n.then(function(e){r(null,e)})[\"catch\"](function(e){r(e.message?e:new Error(e))}):r(null,n)})},\"object\"==typeof t&&t.exports?t.exports=z:\"function\"==typeof define&&define.amd?define([],function(){return z}):B.async=z}()}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],13:[function(e,t,n){(function(t){function r(e,t,n){return p.createHmac(\"sha256\",e).update(t,\"utf8\").digest(n)}function i(e,t){return p.createHash(\"sha256\").update(e,\"utf8\").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e,t){\"string\"==typeof e&&(e=c.parse(e));var n=e.headers=e.headers||{},r=this.matchHost(e.hostname||e.host||n.Host||n.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||r[0]||\"\",this.region=e.region||r[1]||\"us-east-1\",\"email\"===this.service&&(this.service=\"ses\"),!e.method&&e.body&&(e.method=\"POST\"),n.Host||n.host||(n.Host=e.hostname||e.host||this.createHost(),e.port&&(n.Host+=\":\"+e.port)),e.hostname||e.host||(e.hostname=n.Host||n.host)}var s=n,c=e(\"url\"),u=e(\"querystring\"),p=e(\"crypto\"),l=e(\"lru-cache\"),f=l(1e3);a.prototype.matchHost=function(e){var t=(e||\"\").match(/([^\\.]+)\\.(?:([^\\.]*)\\.)?amazonaws\\.com$/),n=(t||[]).slice(1,3);return\"es\"===n[1]&&(n=n.reverse()),n},a.prototype.isSingleRegion=function(){return[\"s3\",\"sdb\"].indexOf(this.service)>=0&&\"us-east-1\"===this.region?!0:[\"cloudfront\",\"ls\",\"route53\",\"iam\",\"importexport\",\"sts\"].indexOf(this.service)>=0},a.prototype.createHost=function(){var e=this.isSingleRegion()?\"\":(\"s3\"===this.service&&\"us-east-1\"!==this.region?\"-\":\".\")+this.region,t=\"ses\"===this.service?\"email\":this.service;return t+e+\".amazonaws.com\"},a.prototype.prepareRequest=function(){this.parsePath();var e,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"!==this.service||e[\"X-Amz-Expires\"]||(e[\"X-Amz-Expires\"]=86400),e[\"X-Amz-Date\"]?this.datetime=e[\"X-Amz-Date\"]:e[\"X-Amz-Date\"]=this.getDateTime(),e[\"X-Amz-Algorithm\"]=\"AWS4-HMAC-SHA256\",e[\"X-Amz-Credential\"]=this.credentials.accessKeyId+\"/\"+this.credentialString(),e[\"X-Amz-SignedHeaders\"]=this.signedHeaders()):(n.doNotModifyHeaders||(!n.body||r[\"Content-Type\"]||r[\"content-type\"]||(r[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\"),!n.body||r[\"Content-Length\"]||r[\"content-length\"]||(r[\"Content-Length\"]=t.byteLength(n.body)),this.credentials.sessionToken&&(r[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"===this.service&&(r[\"X-Amz-Content-Sha256\"]=i(this.request.body||\"\",\"hex\")),r[\"X-Amz-Date\"]?this.datetime=r[\"X-Amz-Date\"]:r[\"X-Amz-Date\"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},a.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query[\"X-Amz-Signature\"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},a.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\\-]|\\.\\d{3}/g,\"\")}return this.datetime},a.prototype.getDate=function(){return this.getDateTime().substr(0,8)},a.prototype.authHeader=function(){return[\"AWS4-HMAC-SHA256 Credential=\"+this.credentials.accessKeyId+\"/\"+this.credentialString(),\"SignedHeaders=\"+this.signedHeaders(),\"Signature=\"+this.signature()].join(\", \")},a.prototype.signature=function(){var e,t,n,i=this.getDate(),o=[this.credentials.secretAccessKey,i,this.region,this.service].join(),a=f.get(o);return a||(e=r(\"AWS4\"+this.credentials.secretAccessKey,i),t=r(e,this.region),n=r(t,this.service),\na=r(n,\"aws4_request\"),f.set(o,a)),r(a,this.stringToSign(),\"hex\")},a.prototype.stringToSign=function(){return[\"AWS4-HMAC-SHA256\",this.getDateTime(),this.credentialString(),i(this.canonicalString(),\"hex\")].join(\"\\n\")},a.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,n=\"\",r=\"s3\"!==this.service,a=\"s3\"===this.service||this.request.doNotEncodePath,s=\"s3\"===this.service,c=\"s3\"===this.service,p=\"s3\"===this.service&&this.request.signQuery?\"UNSIGNED-PAYLOAD\":i(this.request.body||\"\",\"hex\");return t&&(n=o(u.stringify(Object.keys(t).sort().reduce(function(e,n){return n?(e[n]=Array.isArray(t[n])?c?t[n][0]:t[n].slice().sort():t[n],e):e},{})))),\"/\"!==e&&(r&&(e=e.replace(/\\/{2,}/g,\"/\")),e=e.split(\"/\").reduce(function(e,t){return r&&\"..\"===t?e.pop():r&&\".\"===t||(a&&(t=u.unescape(t)),e.push(o(u.escape(t)))),e},[]).join(\"/\"),\"/\"!==e[0]&&(e=\"/\"+e),s&&(e=e.replace(/%2F/g,\"/\"))),[this.request.method||\"GET\",e,n,this.canonicalHeaders()+\"\\n\",this.signedHeaders(),p].join(\"\\n\")},a.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\\s+/g,\" \")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(n){return n.toLowerCase()+\":\"+e(t[n])}).join(\"\\n\")},a.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(\";\")},a.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,\"aws4_request\"].join(\"/\")},a.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},a.prototype.parsePath=function(){var e=this.request.path||\"/\",t=e.indexOf(\"?\"),n=null;t>=0&&(n=u.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\\-._~%\\/]/.test(e)&&(e=e.split(\"/\").map(function(e){return u.escape(u.unescape(e))}).join(\"/\")),this.parsedPath={path:e,query:n}},a.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[\"\"]&&delete t[\"\"],e+\"?\"+o(u.stringify(t))):e},s.RequestSigner=a,s.sign=function(e,t){return new a(e,t).sign()}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"lru-cache\":178,querystring:void 0,url:void 0}],14:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),e instanceof r?(this._bufs.push.apply(this._bufs,e._bufs),this.length+=e.length):(this._bufs.push(t?e:new n(e)),this.length+=e.length),this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":388,util:void 0}],15:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){var t=new n(e),r=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),r}var n=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],16:[function(e,t,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule\"),p=e(\"./queue\"),l=e(\"./util\");r.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(e,t){t?(process.stderr.write(\"Fatal \"+(e instanceof Error?e.stack:e)+\"\\n\"),process.exit(2)):this.throwLater(e)},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},l.hasDevTools?(r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=r,t.exports.firstLineError=s},{\"./queue\":40,\"./schedule\":43,\"./util\":50}],17:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:u};l._then(t,a,void 0,p,f),u._then(s,c,void 0,p,f),p._setOnCancel(u)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],18:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise\")();o.noConflict=r,t.exports=o},{\"./promise\":36}],19:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util\":50}],20:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util\"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype[\"break\"]=t.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var e=this,t=e;e.isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n.isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this.isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if(\"function\"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this.isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":50}],21:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<e.length;++p){var l=e[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return o(n).call(u,c)}else if(\"function\"==typeof l){var f=o(l).call(u,c);if(f===a)return f;if(f)return o(n).call(u,c)}else if(r.isObject(c)){for(var d=i(l),h=0;h<d.length;++h){var m=d[h];if(l[m]!=c[m])continue e}return o(n).call(u,c)}}return t}}var r=e(\"./util\"),i=e(\"./es5\").keys,o=r.tryCatch,a=r.errorObj;return n}},{\"./es5\":27,\"./util\":50}],22:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){this._trace=new t.CapturedTrace(r())}function n(){return i?new t:void 0}function r(){var e=o.length-1;return e>=0?o[e]:void 0}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],23:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t){return{promise:t}}function i(){return!1}function o(e,t,n){var r=this;try{e(t,n,function(e){if(\"function\"!=typeof e)throw new TypeError(\"onCancel must be a function, got: \"+D.toString(e));r._attachCancellationCallback(e)})}catch(i){return i}}function a(e){if(!this.isCancellable())return this;var t=this._onCancel();void 0!==t?D.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function s(){return this._onCancelField}function c(e){this._onCancelField=e}function u(){this._cancellationParent=void 0,this._onCancelField=void 0}function p(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function l(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new I(this._peekContext())}function h(e,t){if(q(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=k(e);D.notEnumerableProp(e,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&Y){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"a promise was created in a \"+n+\"handler but was not returned from it\";r._warn(o,!0,t)}}function v(e,t){var n=e+\" is deprecated and will be removed in a future version.\";return t&&(n+=\" Use \"+t+\" instead.\"),g(n)}function g(e,n,r){if(re.warnings){var i,o=new N(e);if(n)r._attachExtraTrace(o);else if(re.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var a=k(o);o.stack=a.message+\"\\n\"+a.stack.join(\"\\n\")}Q(\"warning\",o)||j(o,\"\",!0)}}function y(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function b(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function x(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function w(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=\"    (No stack trace)\"===r||L.test(r),o=i&&ee(r);i&&!o&&(U&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function _(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||L.test(r))break}return n>0&&(t=t.slice(n)),t}function k(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?_(e):[\"    (No stack trace)\"],{message:n,stack:w(t)}}function j(e,t,n){if(\"undefined\"!=typeof console){var r;if(D.isObject(e)){var i=e.stack;r=t+$(i,e)}else r=t+String(e);\"function\"==typeof M?M(r,n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(r)}}function S(e,t,n,r){var i=!1;try{\"function\"==typeof t&&(i=!0,\"rejectionHandled\"===e?t(r):t(n,r))}catch(o){B.throwLater(o)}\"unhandledRejection\"===e?Q(e,n,r)||i||j(n,\"Unhandled rejection \"):Q(e,r)}function E(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e&&\"function\"==typeof e.toString?e.toString():D.toString(e);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+O(t)+\">, no stack trace)\"}function O(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function A(){return\"function\"==typeof ne}function C(e){var t=e.match(te);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}function T(e,t){if(A()){for(var n,r,i=e.stack.split(\"\\n\"),o=t.stack.split(\"\\n\"),a=-1,s=-1,c=0;c<i.length;++c){var u=C(i[c]);if(u){n=u.fileName,a=u.line;break}}for(var c=0;c<o.length;++c){var u=C(o[c]);if(u){r=u.fileName,s=u.line;break}}0>a||0>s||!n||!r||n!==r||a>=s||(ee=function(e){if(R.test(e))return!0;var t=C(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function I(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ne(this,I),t>32&&this.uncycle()}var P,F,M,z=t._getDomain,B=t._async,N=e(\"./errors\").Warning,D=e(\"./util\"),q=D.canAttachTrace,R=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,L=null,$=null,U=!1,H=!(0==D.env(\"BLUEBIRD_DEBUG\")||!D.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==D.env(\"NODE_ENV\")),V=!(0==D.env(\"BLUEBIRD_WARNINGS\")||!H&&!D.env(\"BLUEBIRD_WARNINGS\")),W=!(0==D.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!H&&!D.env(\"BLUEBIRD_LONG_STACK_TRACES\")),Y=0!=D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(V||!!D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){S(\"rejectionHandled\",P,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),S(\"unhandledRejection\",F,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return g(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=z();F=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=z();P=\"function\"==typeof e?null===t?e:t.bind(e):void 0};var K=function(){};t.longStackTraces=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!re.longStackTraces&&A()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;re.longStackTraces=!0,K=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),B.enableTrampoline(),re.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=h,n.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return re.longStackTraces&&A()};var G=function(){try{var e=document.createEvent(\"CustomEvent\");return e.initCustomEvent(\"testingtheevent\",!1,!0,{}),D.global.dispatchEvent(e),function(e,t){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!D.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),J=function(){return D.isNode?function(){return process.emit.apply(process,arguments)}:D.global?function(e){var t=\"on\"+e.toLowerCase(),n=D.global[t];return n?(n.apply(D.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:r},Q=function(e){var t=!1;try{t=J.apply(null,arguments)}catch(n){B.throwLater(n),t=!0}var r=!1;try{r=G(e,Z[e].apply(null,arguments))}catch(n){B.throwLater(n),r=!0}return r||t};t.config=function(e){if(e=Object(e),\"longStackTraces\"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&K()),\"warnings\"in e){var n=e.warnings;re.warnings=!!n,Y=re.warnings,D.isObject(n)&&\"wForgottenReturn\"in n&&(Y=!!n.wForgottenReturn)}if(\"cancellation\"in e&&e.cancellation&&!re.cancellation){if(B.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");t.prototype._clearCancellationData=u,t.prototype._propagateFrom=p,t.prototype._onCancel=s,t.prototype._setOnCancel=c,t.prototype._attachCancellationCallback=a,t.prototype._execute=o,X=p,re.cancellation=!0}\"monitoring\"in e&&(e.monitoring&&!re.monitoring?(re.monitoring=!0,t.prototype._fireEvent=Q):!e.monitoring&&re.monitoring&&(re.monitoring=!1,t.prototype._fireEvent=i))},t.prototype._fireEvent=i,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(r){return r}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var X=l,ee=function(){return!1},te=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;D.inherits(I,Error),n.CapturedTrace=I,I.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},I.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=k(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(w(i.stack.split(\"\\n\"))),i=i._parent;x(r),b(r),D.notEnumerableProp(e,\"stack\",y(n,r)),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}};var ne=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():E(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,L=e,$=t;var n=Error.captureStackTrace;return ee=function(e){return R.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return L=/@/,$=t,U=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?($=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?E(t):t.toString()},null):(L=e,$=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(M=function(e){console.warn(e)},D.isNode&&process.stderr.isTTY?M=function(e,t){var n=t?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+e+\"\u001b[0m\\n\")}:D.isNode||\"string\"!=typeof(new Error).stack||(M=function(e,t){console.warn(\"%c\"+e,t?\"color: darkorange\":\"color: red\")}));var re={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return W&&t.longStackTraces(),{longStackTraces:function(){return re.longStackTraces},warnings:function(){return re.warnings},cancellation:function(){return re.cancellation},monitoring:function(){return re.monitoring},propagateFromFunction:function(){return X},boundValueFunction:function(){return f},checkForgottenReturns:m,setBounds:T,warn:g,deprecated:v,CapturedTrace:I,fireDomEvent:G,fireGlobalEvent:J}}},{\"./errors\":26,\"./util\":50}],24:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],25:[function(e,t,n){\"use strict\";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return this.mapSeries(e)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,t){return r(e,t)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],26:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5\"),c=s.freeze,u=e(\"./util\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),s.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:x,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5\":27,\"./util\":50}],27:[function(e,t,n){var r=function(){\"use strict\";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,n){\nreturn e[t]=n.value,e},p=function(e){return e},l=function(e){try{return Object(e).constructor.prototype}catch(t){return a}},f=function(e){try{return\"[object Array]\"===o.call(e)}catch(t){return!1}};t.exports={isArray:f,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:p,getPrototypeOf:l,isES5:r,propertyIsWritable:function(){return!0}}}},{}],28:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],29:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function i(e){this.finallyHandler=e}function o(e,t){return null!=e.cancelPromise?(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0):!1}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){return o(this,e)?void 0:(l.e=e,l)}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f.isCancelled()){var d=new p(\"late cancellation observer\");return r._attachExtraTrace(d),l.e=d,l}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),l.e=e,l):(o(this),e)}var u=e(\"./util\"),p=t.CancellationError,l=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return\"function\"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{\"./util\":50}],30:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=d(n[o])(e);if(r._popContext(),a===f){r._pushContext();var s=t.reject(f.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function c(e,n,i,o){if(a.cancellation()){var s=new t(r),c=this._finallyPromise=new t(r);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else{var u=this._promise=new t(r);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}var u=e(\"./errors\"),p=u.TypeError,l=e(\"./util\"),f=l.errorObj,d=l.tryCatch,h=[];l.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),e=d(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new t.CancellationError(\"generator .return() sentinel\");t.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),e=d(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},c.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=d(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=d(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(e){var n=this._promise;if(e===f)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof t)&&(o=s(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new p(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",r)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var a=o._bitField;0===(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&a)?this._promiseFulfilled(o._value()):0!==(16777216&a)?this._promiseRejected(o._reason()):this._promiseCancelled()},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new p(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(t).yieldHandler,r=c,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new p(\"expecting a function but got \"+l.classString(e));h.push(e)},t.spawn=function(e){if(a.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors\":26,\"./util\":50}],31:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){return new Function(\"promise\",\"holder\",\"                           \\n            'use strict';                                                    \\n            holder.pIndex = promise;                                         \\n            \".replace(/Index/g,e))},f=function(e){for(var n=new Array(e),r=0;r<n.length;++r)n[r]=\"this.p\"+(r+1);var i=n.join(\" = \")+\" = null;\",o=\"var promise;\\n\"+n.map(function(e){return\"                                                         \\n                promise = \"+e+\";                                      \\n                if (promise instanceof Promise) {                            \\n                    promise.cancel();                                        \\n                }                                                            \\n            \"}).join(\"\\n\"),a=n.join(\", \"),s=\"Holder$\"+e,p=\"return function(tryCatch, errorObj, Promise) {           \\n            'use strict';                                                    \\n            function [TheName](fn) {                                         \\n                [TheProperties]                                              \\n                this.fn = fn;                                                \\n                this.now = 0;                                                \\n            }                                                                \\n            [TheName].prototype.checkFulfillment = function(promise) {       \\n                var now = ++this.now;                                        \\n                if (now === [TheTotal]) {                                    \\n                    promise._pushContext();                                  \\n                    var callback = this.fn;                                  \\n                    var ret = tryCatch(callback)([ThePassedArguments]);      \\n                    promise._popContext();                                   \\n                    if (ret === errorObj) {                                  \\n                        promise._rejectCallback(ret.e, false);               \\n                    } else {                                                 \\n                        promise._resolveCallback(ret);                       \\n                    }                                                        \\n                }                                                            \\n            };                                                               \\n                                                                             \\n            [TheName].prototype._resultCancelled = function() {              \\n                [CancellationCode]                                           \\n            };                                                               \\n                                                                             \\n            return [TheName];                                                \\n        }(tryCatch, errorObj, Promise);                                      \\n        \";return p=p.replace(/\\[TheName\\]/g,s).replace(/\\[TheTotal\\]/g,e).replace(/\\[ThePassedArguments\\]/g,a).replace(/\\[TheProperties\\]/g,i).replace(/\\[CancellationCode\\]/g,o),new Function(\"tryCatch\",\"errorObj\",\"Promise\",p)(c,u,t)},d=[],h=[],m=[],v=0;8>v;++v)d.push(f(v+1)),h.push(p(v+1)),m.push(l(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],8>=a&&s)){var c=new t(i);c._captureStackTrace();for(var u=d[a-1],p=new u(e),l=h,f=0;a>f;++f){var v=r(arguments[f],c);if(v instanceof t){v=v._target();var g=v._bitField;0===(50397184&g)?(v._then(l[f],o,void 0,c,p),m[f](v,p)):0!==(33554432&g)?l[f].call(c,v._value(),p):0!==(16777216&g)?c._reject(v._reason()):c._cancel()}else l[f].call(c,v,p)}return c._isFateSealed()||(c._setAsyncGuaranteed(),c._setOnCancel(p)),c}for(var y=arguments.length,b=new Array(y),x=0;y>x;++x)b[x]=arguments[x];e&&b.pop();var c=new n(b).promise();return void 0!==e?c.spread(e):c}}},{\"./util\":50}],32:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:d,this._init$(void 0,-2)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+p.classString(t));var o=\"object\"==typeof n&&null!==n?n.concurrency:0;return o=\"number\"==typeof o&&isFinite(o)&&o>=1?o:0,new s(e,t,o,i).promise()}var u=t._getDomain,p=e(\"./util\"),l=p.tryCatch,f=p.errorObj,d=[];p.inherits(s,n),s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,p=this._callback,d=u._boundValue();u._pushContext();var h=l(p).call(d,e,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?\"Promise.filter\":\"Promise.map\",u),h===f)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){v=v._target();var g=v._bitField;if(0===(50397184&g))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&g))return 0!==(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}var y=++this._totalResolved;return y>=o?(null!==s?this._filter(r,s):this._resolve(r),!0):!1},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},s.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},s.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return c(this,e,t,null)},t.map=function(e,t,n,r){return c(e,t,n,r)}}},{\"./util\":50}],33:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){var a=e(\"./util\"),s=a.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"expecting a function but got \"+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e){if(\"function\"!=typeof e)return i(\"expecting a function but got \"+a.classString(e));var r=new t(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var u=arguments[1],p=arguments[2];c=a.isArray(u)?s(e).apply(p,u):s(e).call(p,u)}else c=s(e)();var l=r._popContext();return o.checkForgottenReturns(c,l,\"Promise.try\",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{\"./util\":50}],34:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&p.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=p.keys(e),i=0;i<n.length;++i){var o=n[i];l.test(o)||(t[o]=e[o])}return t}return a.markAsOriginatingFromRejection(e),e}function o(e,t){return function(n,r){if(null!==e){if(n){var o=i(s(n));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var a=arguments.length,c=new Array(Math.max(a-1,0)),u=1;a>u;++u)c[u-1]=arguments[u];e._fulfill(c)}else e._fulfill(r);e=null}}}var a=e(\"./util\"),s=a.maybeWrapAsError,c=e(\"./errors\"),u=c.OperationalError,p=e(\"./es5\"),l=/^(?:name|message|stack|cause)$/;t.exports=o},{\"./errors\":26,\"./es5\":27,\"./util\":50}],35:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+\"\");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===c&&a.throwLater(i.e)}var o=e(\"./util\"),a=t._async,s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./util\":50}],36:[function(e,t,n){\"use strict\";t.exports=function(){function t(){}function n(e,t){if(\"function\"!=typeof t)throw new g(\"expecting a function but got \"+f.classString(t));if(e.constructor!==r)throw new g(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\")}function r(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==b&&(n(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function i(e){this.promise._resolveCallback(e)}function o(e){this.promise._rejectCallback(e,!1)}function a(e){var t=new r(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var s,c=function(){return new g(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new r.PromiseInspection(this._target())},p=function(e){return r.reject(new g(e))},l={},f=e(\"./util\");s=f.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},f.notEnumerableProp(r,\"_getDomain\",s);var d=e(\"./es5\"),h=e(\"./async\"),m=new h;d.defineProperty(r,\"_async\",{value:m});var v=e(\"./errors\"),g=r.TypeError=v.TypeError;r.RangeError=v.RangeError;var y=r.CancellationError=v.CancellationError;r.TimeoutError=v.TimeoutError,r.OperationalError=v.OperationalError,r.RejectionError=v.OperationalError,r.AggregateError=v.AggregateError;var b=function(){},x={},w={},_=e(\"./thenables\")(r,b),k=e(\"./promise_array\")(r,b,_,p,t),j=e(\"./context\")(r),S=j.create,E=e(\"./debuggability\")(r,j),O=(E.CapturedTrace,e(\"./finally\")(r,_)),A=e(\"./catch_filter\")(w),C=e(\"./nodeback\"),T=f.errorObj,I=f.tryCatch;return r.prototype.toString=function(){return\"[object Promise]\"},r.prototype.caught=r.prototype[\"catch\"]=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;t-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"expecting an object but got \"+f.classString(o));r[i++]=o}return r.length=i,e=arguments[n],this.then(void 0,A(r,e,this))}return this.then(void 0,e)},r.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},r.prototype.then=function(e,t){if(E.warnings()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var n=\".then() only accepts functions but was passed: \"+f.classString(e);arguments.length>1&&(n+=\", \"+f.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},r.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},r.prototype.spread=function(e){return\"function\"!=typeof e?p(\"expecting a function but got \"+f.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},r.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},r.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new k(this).promise()},r.prototype.error=function(e){return this.caught(f.originatesFromRejection,e)},r.is=function(e){return e instanceof r},r.fromNode=r.fromCallback=function(e){var t=new r(b);t._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,i=I(e)(C(t,n));return i===T&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},r.all=function(e){return new k(e).promise()},r.cast=function(e){var t=_(e);return t instanceof r||(t=new r(b),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},r.resolve=r.fulfilled=r.cast,r.reject=r.rejected=function(e){var t=new r(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},r.setScheduler=function(e){if(\"function\"!=typeof e)throw new g(\"expecting a function but got \"+f.classString(e));return m.setScheduler(e)},r.prototype._then=function(e,t,n,i,o){var a=void 0!==o,c=a?o:new r(b),u=this._target(),p=u._bitField;a||(c._propagateFrom(this,3),c._captureStackTrace(),void 0===i&&0!==(2097152&this._bitField)&&(i=0!==(50397184&p)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,c));var l=s();if(0!==(50397184&p)){var f,d,h=u._settlePromiseCtx;0!==(33554432&p)?(d=u._rejectionHandler0,f=e):0!==(16777216&p)?(d=u._fulfillmentHandler0,f=t,u._unsetRejectionIsUnhandled()):(h=u._settlePromiseLateCancellationObserver,d=new y(\"late cancellation observer\"),u._attachExtraTrace(d),f=t),m.invoke(h,u,{handler:null===l?f:\"function\"==typeof f&&l.bind(f),promise:c,receiver:i,value:d})}else u._addCallbacks(e,t,c,i,l);return c},r.prototype._length=function(){return 65535&this._bitField},r.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},r.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},r.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},r.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},r.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},r.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},r.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},r.prototype._isFinal=function(){return(4194304&this._bitField)>0},r.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},r.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},r.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},r.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},r.prototype._promiseAt=function(e){return this[4*e-4+2]},r.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},r.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},r.prototype._boundValue=function(){},r.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=l),this._addCallbacks(t,n,r,i,null)},r.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=l),this._addCallbacks(n,r,i,o,null)},r.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof e&&(this._fulfillmentHandler0=null===i?e:i.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,\"function\"==typeof e&&(this[a+0]=null===i?e:i.bind(e)),\"function\"==typeof t&&(this[a+1]=null===i?t:i.bind(t))}return this._setLength(o+1),o},r.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},r.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=_(e,this);if(!(n instanceof r))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i===this)return void this._reject(c());var o=i._bitField;if(0===(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;a>s;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if(0!==(33554432&o))this._fulfill(i._value());else if(0!==(16777216&o))this._reject(i._reason());else{var u=new y(\"late cancellation observer\");i._attachExtraTrace(u),this._reject(u)}}},r.prototype._rejectCallback=function(e,t,n){var r=f.ensureErrorObject(e),i=r===e;if(!i&&!n&&E.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,t?i:!1),this._reject(e)},r.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,n)});n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)},r.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;t===x?n&&\"number\"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=T,o.e=new g(\"cannot .spread() a non-array: \"+f.classString(n))):o=I(e).call(t,n);var a=r._popContext();i=r._bitField,0===(65536&i)&&(o===w?r._reject(n):o===T?r._rejectCallback(o.e,!1):(E.checkForgottenReturns(o,a,\"\",r,this),r._resolveCallback(o)))}},r.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},r.prototype._followee=function(){return this._rejectionHandler0},r.prototype._setFollowee=function(e){this._rejectionHandler0=e},r.prototype._settlePromise=function(e,n,i,o){var a=e instanceof r,s=this._bitField,c=0!==(134217728&s);0!==(65536&s)?(a&&e._invokeInternalOnCancel(),i instanceof O&&i.isFinallyHandler()?(i.cancelPromise=e,I(n).call(i,o)===T&&e._reject(T.e)):n===u?e._fulfill(u.call(i)):i instanceof t?i._promiseCancelled(e):a||e instanceof k?e._cancel():i.cancel()):\"function\"==typeof n?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(n,i,o,e)):n.call(i,o,e):i instanceof t?i._isResolved()||(0!==(33554432&s)?i._promiseFulfilled(o,e):i._promiseRejected(o,e)):a&&(c&&e._setAsyncGuaranteed(),0!==(33554432&s)?e._fulfill(o):e._reject(o))},r.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,o=e.value;\"function\"==typeof t?n instanceof r?this._settlePromiseFromHandler(t,i,o,n):t.call(i,o,n):n instanceof r&&n._reject(o)},r.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},r.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},r.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},r.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():m.settlePromises(this))}},r.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?m.fatalError(e,f.isNode):void((65535&t)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},r.prototype._fulfillPromises=function(e,t){for(var n=1;e>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._rejectPromises=function(e,t){for(var n=1;e>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},r.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},r.defer=r.pending=function(){E.deprecated(\"Promise.defer\",\"new Promise\");var e=new r(b);return{promise:e,resolve:i,reject:o}},f.notEnumerableProp(r,\"_makeSelfResolutionError\",c),e(\"./method\")(r,b,_,p,E),e(\"./bind\")(r,b,_,E),e(\"./cancel\")(r,k,p,E),e(\"./direct_resolve\")(r),e(\"./synchronous_inspection\")(r),e(\"./join\")(r,k,_,b,E),r.Promise=r,e(\"./map.js\")(r,k,p,_,b,E),e(\"./call_get.js\")(r),e(\"./using.js\")(r,p,_,S,b,E),e(\"./timers.js\")(r,b,E),e(\"./generators.js\")(r,p,b,_,t,E),e(\"./nodeify.js\")(r),e(\"./promisify.js\")(r,b),e(\"./props.js\")(r,k,_,p),e(\"./race.js\")(r,b,_,p),e(\"./reduce.js\")(r,k,p,_,b,E),e(\"./settle.js\")(r,k,E),e(\"./some.js\")(r,k,p),e(\"./filter.js\")(r,b),e(\"./each.js\")(r,b),e(\"./any.js\")(r),f.toFastProperties(r),f.toFastProperties(r.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new r(b)),E.setBounds(h.firstLineError,f.lastLineError),r}},{\"./any.js\":15,\"./async\":16,\"./bind\":17,\"./call_get.js\":19,\"./cancel\":20,\"./catch_filter\":21,\"./context\":22,\"./debuggability\":23,\"./direct_resolve\":24,\"./each.js\":25,\"./errors\":26,\"./es5\":27,\"./filter.js\":28,\"./finally\":29,\"./generators.js\":30,\"./join\":31,\"./map.js\":32,\"./method\":33,\"./nodeback\":34,\"./nodeify.js\":35,\"./promise_array\":37,\"./promisify.js\":38,\"./props.js\":39,\"./race.js\":41,\"./reduce.js\":42,\"./settle.js\":44,\"./some.js\":45,\"./synchronous_inspection\":46,\"./thenables\":47,\"./timers.js\":48,\"./using.js\":49,\"./util\":50}],37:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e(\"./util\");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function u(e,n){var o=r(this._values,this._promise);if(o instanceof t){o=o._target();var s=o._bitField;if(this._values=o,0===(50397184&s))return this._promise._setAsyncGuaranteed(),o._then(u,this._reject,void 0,this,n);if(0===(33554432&s))return 0!==(16777216&s)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var p=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(p,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(a(n))):void this._iterate(o)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;n>s;++s){var c=r(e[s],i);c instanceof t?(c=c._target(),a=c._bitField):a=null,o?null!==a&&c.suppressUnhandledRejections():null!==a?0===(50397184&a)?(c._proxy(this,s),this._values[s]=c):o=0!==(33554432&a)?this._promiseFulfilled(c._value(),s):0!==(16777216&a)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(c,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise.isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{\"./util\":50}],38:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o,a,s){function c(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof p&&this!==u?this[p]:e,c=h(o,s);try{a.apply(i,m(arguments,c))}catch(l){o._rejectCallback(v(l),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),p=e;return\"string\"==typeof p&&(e=o),d.notEnumerableProp(c,\"__isPromisified__\",!0),c}function u(e,t,n,r,i){for(var o=new RegExp(j(t)+\"$\"),a=s(e,t,o,n),c=0,u=a.length;u>c;c+=2){var p=a[c],l=a[c+1],h=p+t;if(r===C)e[h]=C(p,f,p,l,t,i);else{var m=r(l,function(){return C(p,f,p,l,t,i)});d.notEnumerableProp(m,\"__isPromisified__\",!0),e[h]=m}}return d.toFastProperties(e),e}function p(e,t,n){return C(e,t,void 0,e,null,n);\n}var l,f={},d=e(\"./util\"),h=e(\"./nodeback\"),m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o,a,s){function c(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=g?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function u(){for(var e=\"\",t=0;t<l.length;++t)e+=\"case \"+l[t]+\":\"+c(l[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",g?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var p=Math.max(0,A(o)-1),l=S(p),g=\"string\"==typeof e||r===f,y=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\",b=\"'use strict';                                                \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise, \"+s+\");   \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n    \".replace(\"[CodeForSwitchCase]\",u()).replace(\"[GetFunctionCode]\",y);return b=b.replace(\"Parameters\",O(p)),new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",b)(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"expecting a function but got \"+d.classString(e));if(i(e))return e;t=Object(t);var n=void 0===t.context?f:t.context,o=!!t.multiArgs,a=p(e,n,o);return d.copyDescriptors(e,a,r),a},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");t=Object(t);var n=!!t.multiArgs,r=t.suffix;\"string\"!=typeof r&&(r=b);var i=t.filter;\"function\"!=typeof i&&(i=k);var o=t.promisifier;if(\"function\"!=typeof o&&(o=C),!d.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var a=d.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];\"constructor\"!==a[s]&&d.isClass(c)&&(u(c.prototype,r,i,o,n),u(c,r,i,o,n))}return u(e,r,i,o,n)}}},{\"./errors\":26,\"./nodeback\":34,\"./util\":50}],39:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){var t,n=!1;if(void 0!==s&&e instanceof s)t=l(e),n=!0;else{var r=p.keys(e),i=r.length;t=new Array(2*i);for(var o=0;i>o;++o){var a=r[o];t[o]=e[a],t[o+i]=a}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function a(e){var n,a=r(e);return u(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var s,c=e(\"./util\"),u=c.isObject,p=e(\"./es5\");\"function\"==typeof Map&&(s=Map);var l=function(){function e(e,r){this[t]=e,this[t+n]=r,t++}var t=0,n=0;return function(r){n=r.size,t=0;var i=new Array(2*r.size);return r.forEach(e,i),i}}(),f=function(e){for(var t=new s,n=e.length/2|0,r=0;n>r;++r){var i=e[n+r],o=e[r];t.set(i,o)}return t};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5\":27,\"./util\":50}],40:[function(e,t,n){\"use strict\";function r(e,t,n,r,i){for(var o=0;i>o;++o)n[o+r]=e[o+t],e[o+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=this._front,r=(n-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,i=this._length,o=n+i&t-1;r(this,0,this,t,o)},t.exports=i},{}],41:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(e=a.asArray(e),null===e)return i(\"expecting an array or an iterable object but got \"+a.classString(e));var u=new t(n);void 0!==o&&u._propagateFrom(o,3);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util\"),s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util\":50}],42:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r,i){this.constructor$(e);var a=f();this._fn=null===a?n:a.bind(n),void 0!==r&&(r=t.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?[]:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+d.classString(t));var o=new s(e,t,n,i);return o.promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(l,void 0,void 0,this,void 0)):l.call(this,n)}function l(e){var n=this.array,r=n._promise,i=h(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),e,this.index,this.length):i.call(r._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(n._currentCancellable=o);var s=r._popContext();return a.checkForgottenReturns(o,s,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var f=t._getDomain,d=e(\"./util\"),h=d.tryCatch;d.inherits(s,n),s.prototype._gotAccum=function(e){void 0!==this._eachValues&&e!==o&&this._eachValues.push(e)},s.prototype._eachComplete=function(e){return this._eachValues.push(e),this._eachValues},s.prototype._init=function(){},s.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},s.prototype.shouldCopyValues=function(){return!1},s.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},s.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},s.prototype._iterate=function(e){this._values=e;var n,r,i=e.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,r){return u(e,t,n,r)}}},{\"./util\":50}],43:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},a=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var s=n.setImmediate,c=process.nextTick;r=i.isRecentNode?function(e){s.call(n,e)}:function(e){c.call(process,e)}}else if(\"function\"==typeof a){var u=a.resolve();r=function(e){u.then(e)}}else r=\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:function(){var e=document.createElement(\"div\"),t={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){e.classList.toggle(\"foo\"),n=!1});i.observe(r,t);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(e,t),o()}}();t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":50}],44:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e)}var o=t.PromiseInspection,a=e(\"./util\");a.inherits(i,n),i.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(\".settle()\",\".reflect()\"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{\"./util\":50}],45:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util\"),s=e(\"./errors\").RangeError,c=e(\"./errors\").AggregateError,u=a.isArray,p={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(p),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t<this._values.length;++t)this._values[t]!==p&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors\":26,\"./util\":50}],46:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=e.prototype._isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype.isCancelled=function(){return this._target()._isCancelled()},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],47:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(p(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(t){return u.e=t,u}}function a(e){return l.call(e,\"_promise0\")}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,l,!0),s=null)}var s=new t(n),p=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var l=!0,f=c.tryCatch(r).call(e,o,a);return l=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),p}var c=e(\"./util\"),u=c.errorObj,p=c.isObject,l={}.hasOwnProperty;return r}},{\"./util\":50}],48:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e(\"./util\"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return p(+this).thenReturn(e)},p=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s))),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return p(e,this)};var l=function(e,t,n){var r;r=\"string\"!=typeof t?t instanceof Error?t:new c(\"operation timed out\"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&l(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{\"./util\":50}],49:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return p._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(l){return s(l)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,p=new t(o);return i(),p}function p(e,t,n){this._data=e,this._promise=t,this._context=n}function l(e,t,n){this.constructor$(e,t,n)}function f(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function d(e){this.length=e,this.promise=null,this[e-1]=null}var h=e(\"./util\"),m=e(\"./errors\").TypeError,v=e(\"./util\").inherits,g=h.errorObj,y=h.tryCatch;p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},p.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},p.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},v(l,p),l.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},d.prototype._resultCancelled=function(){for(var e=this.length,n=0;e>n;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+h.classString(i));var o,s=!0;2===e&&Array.isArray(arguments[0])?(o=arguments[0],e=o.length,s=!1):(o=arguments,e--);for(var c=new d(e),l=0;e>l;++l){var m=o[l];if(p.isDisposer(m)){var v=m;m=m.promise(),m._setDisposable(v)}else{var b=r(m);b instanceof t&&(m=b._then(f,null,null,{resources:c,index:l},void 0))}c[l]=m}for(var x=new Array(c.length),l=0;l<x.length;++l)x[l]=t.resolve(c[l]).reflect();var w=t.all(x).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return g.e=n.error(),g;if(!n.isFulfilled())return void w.cancel();e[t]=n.value()}_._pushContext(),i=y(i);var r=s?i.apply(void 0,e):i(e),o=_._popContext();return a.checkForgottenReturns(r,o,\"Promise.using\",_),r}),_=w.lastly(function(){var e=new t.PromiseInspection(w);return u(c,e)});return c.promise=_,_._setOnCancel(c),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new l(e,this,i());throw new m}}},{\"./errors\":26,\"./util\":50}],50:[function(e,t,n){(function(n){\"use strict\";function r(){try{var e=A;return A=null,e.apply(this,arguments)}catch(t){return O.e=t,O}}function i(e){return A=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!S.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return S.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=S.names(e.prototype),n=S.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=P.test(e+\"\")&&S.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return F.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){return null!==e&&\"object\"==typeof e&&\"string\"==typeof e.message&&\"string\"==typeof e.name}function y(e){try{p(e,\"isOperational\",!0)}catch(t){}}function b(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function x(e){return g(e)&&S.propertyIsWritable(e,\"stack\")}function w(e){return{}.toString.call(e)}function _(e,t,n){for(var r=S.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{S.defineProperty(t,o,S.getDescriptor(e,o))}catch(a){}}}function k(e,t){return N?process.env[e]:t}function j(){if(\"function\"==typeof Promise)try{var e=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(e))return Promise}catch(t){}}var S=e(\"./es5\"),E=\"undefined\"==typeof navigator,O={e:{}},A,C=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof n?n:void 0!==this?this:null,T=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},I=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(S.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=S.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),P=/this\\s*\\.\\s*\\S+\\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,M=function(){return\"stack\"in new Error?function(e){return x(e)?e:new Error(v(e))}:function(e){if(x(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),z=function(e){return S.isArray(e)?e:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var B=\"function\"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};z=function(e){return S.isArray(e)?e:null!=e&&\"function\"==typeof e[Symbol.iterator]?B(e):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),D={isClass:f,isIdentifier:h,inheritedDataKeys:I,getDataPropertyOrDefault:u,thrower:l,isArray:S.isArray,asArray:z,notEnumerableProp:p,isPrimitive:o,isObject:a,isError:g,canEvaluate:E,errorObj:O,tryCatch:i,inherits:T,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:x,ensureErrorObject:M,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:w,copyDescriptors:_,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,env:k,global:C,getNativePromise:j};D.isRecentNode=D.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),D.isNode&&D.toFastProperties(process);try{throw new Error}catch(q){D.lastLineError=q}t.exports=D}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./es5\":27}],51:[function(e,t,n){var r=e(\"http\"),i=e(\"hoek\"),o={};n.wrap=function(e,t,n){return i.assert(e instanceof Error,\"Cannot wrap non-Error object\"),e.isBoom?e:o.initialize(e,t||500,n)},n.create=function(e,t,r){return o.create(e,t,r,n.create)},o.create=function(e,t,n,r){var i=new Error(t?t:void 0);return Error.captureStackTrace(i,r),i.data=n||null,o.initialize(i,e),i},o.initialize=function(e,t,n){var r=parseInt(t,10);return i.assert(!isNaN(r)&&r>=400,\"First argument must be a number (400+):\",t),e.isBoom=!0,e.isServer=r>=500,e.hasOwnProperty(\"data\")||(e.data=null),e.output={statusCode:r,payload:{},headers:{}},e.reformat=o.reformat,e.reformat(),n||e.message||(n=e.output.payload.error),n&&(e.message=n+(e.message?\": \"+e.message:\"\")),e},o.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=r.STATUS_CODES[this.output.statusCode]||\"Unknown\",500===this.output.statusCode?this.output.payload.message=\"An internal server error occurred\":this.message&&(this.output.payload.message=this.message)},n.badRequest=function(e,t){return o.create(400,e,t,n.badRequest)},n.unauthorized=function(e,t,r){var a=o.create(401,e,void 0,n.unauthorized);if(!t)return a;var s=\"\",c=0,u=0;if(\"string\"==typeof t){if(s=t,(r||e)&&(a.output.payload.attributes={}),r){var p=Object.keys(r);for(c=0,u=p.length;u>c;++c){var l=p[c];c&&(s+=\",\");var f=r[l];null!==f&&void 0!==f||(f=\"\"),s+=\" \"+l+'=\"'+i.escapeHeaderAttribute(f.toString())+'\"',a.output.payload.attributes[l]=f}}e?(r&&(s+=\",\"),s+=' error=\"'+i.escapeHeaderAttribute(e)+'\"',a.output.payload.attributes.error=e):a.isMissing=!0}else{var d=t;for(c=0,u=d.length;u>c;++c)c&&(s+=\", \"),s+=d[c]}return a.output.headers[\"WWW-Authenticate\"]=s,a},n.forbidden=function(e,t){return o.create(403,e,t,n.forbidden)},n.notFound=function(e,t){return o.create(404,e,t,n.notFound)},n.methodNotAllowed=function(e,t){return o.create(405,e,t,n.methodNotAllowed)},n.notAcceptable=function(e,t){return o.create(406,e,t,n.notAcceptable)},n.proxyAuthRequired=function(e,t){return o.create(407,e,t,n.proxyAuthRequired)},n.clientTimeout=function(e,t){return o.create(408,e,t,n.clientTimeout)},n.conflict=function(e,t){return o.create(409,e,t,n.conflict)},n.resourceGone=function(e,t){return o.create(410,e,t,n.resourceGone)},n.lengthRequired=function(e,t){return o.create(411,e,t,n.lengthRequired)},n.preconditionFailed=function(e,t){return o.create(412,e,t,n.preconditionFailed)},n.entityTooLarge=function(e,t){return o.create(413,e,t,n.entityTooLarge)},n.uriTooLong=function(e,t){return o.create(414,e,t,n.uriTooLong)},n.unsupportedMediaType=function(e,t){return o.create(415,e,t,n.unsupportedMediaType)},n.rangeNotSatisfiable=function(e,t){return o.create(416,e,t,n.rangeNotSatisfiable)},n.expectationFailed=function(e,t){return o.create(417,e,t,n.expectationFailed)},n.badData=function(e,t){return o.create(422,e,t,n.badData)},n.preconditionRequired=function(e,t){return o.create(428,e,t,n.preconditionRequired)},n.tooManyRequests=function(e,t){return o.create(429,e,t,n.tooManyRequests)},n.internal=function(e,t,r){return o.serverError(e,t,r,n.internal)},o.serverError=function(e,t,r,i){var a;return t instanceof Error?a=n.wrap(t,r,e):(a=o.create(r||500,e,void 0,i),a.data=t),a},n.notImplemented=function(e,t){return o.serverError(e,t,501,n.notImplemented)},n.badGateway=function(e,t){return o.serverError(e,t,502,n.badGateway)},n.serverTimeout=function(e,t){return o.serverError(e,t,503,n.serverTimeout)},n.gatewayTimeout=function(e,t){return o.serverError(e,t,504,n.gatewayTimeout)},n.badImplementation=function(e,t){var r=o.serverError(e,t,500,n.badImplementation);return r.isDeveloperError=!0,r}},{hoek:149,http:void 0}],52:[function(e,t,n){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);if(this._bsontype=\"Binary\",e instanceof Number?(this.sub_type=e,this.position=0):(this.sub_type=null==t?o:t,this.position=0),null==e||e instanceof Number)\"undefined\"!=typeof i?this.buffer=new i(r.BUFFER_SIZE):\"undefined\"!=typeof Uint8Array?this.buffer=new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE)):this.buffer=new Array(r.BUFFER_SIZE),this.position=0;else{if(\"string\"==typeof e)if(\"undefined\"!=typeof i)this.buffer=new i(e);else{if(\"undefined\"==typeof Uint8Array&&\"[object Array]\"!=Object.prototype.toString.call(e))throw new Error(\"only String, Buffer, Uint8Array or Array accepted\");this.buffer=a(e)}else this.buffer=e;this.position=e.length}}if(\"undefined\"!=typeof n)var i=e(\"buffer\").Buffer;r.prototype.put=function(e){if(null!=e.length&&\"number\"!=typeof e&&1!=e.length)throw new Error(\"only accepts single character String, Uint8Array or Array\");if(\"number\"!=typeof e&&0>e||e>255)throw new Error(\"only accepts number in a valid unsigned byte range 0-255\");var t=null;if(t=\"string\"==typeof e?e.charCodeAt(0):null!=e.length?e[0]:e,this.buffer.length>this.position)this.buffer[this.position++]=t;else if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer)){var n=new i(r.BUFFER_SIZE+this.buffer.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n,this.buffer[this.position++]=t}else{var n=null;n=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE+this.buffer.length)):new Array(r.BUFFER_SIZE+this.buffer.length);for(var o=0;o<this.buffer.length;o++)n[o]=this.buffer[o];this.buffer=n,this.buffer[this.position++]=t}},r.prototype.write=function(e,t){if(t=\"number\"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=null;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))n=new i(this.buffer.length+e.length),this.buffer.copy(n,0,0,this.buffer.length);else if(\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)){\nn=new Uint8Array(new ArrayBuffer(this.buffer.length+e.length));for(var r=0;r<this.position;r++)n[r]=this.buffer[r]}this.buffer=n}if(\"undefined\"!=typeof i&&i.isBuffer(e)&&i.isBuffer(this.buffer))e.copy(this.buffer,t,0,e.length),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"undefined\"!=typeof i&&\"string\"==typeof e&&i.isBuffer(this.buffer))this.buffer.write(e,t,\"binary\"),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"[object Uint8Array]\"==Object.prototype.toString.call(e)||\"[object Array]\"==Object.prototype.toString.call(e)&&\"string\"!=typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e[r];this.position=t>this.position?t:this.position}else if(\"string\"==typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e.charCodeAt(r);this.position=t>this.position?t:this.position}},r.prototype.read=function(e,t){if(t=t&&t>0?t:this.position,this.buffer.slice)return this.buffer.slice(e,e+t);for(var n=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(t)):new Array(t),r=0;t>r;r++)n[r]=this.buffer[e++];return n},r.prototype.value=function(e){if(e=null==e?!1:e,e&&\"undefined\"!=typeof i&&i.isBuffer(this.buffer)&&this.buffer.length==this.position)return this.buffer;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))return e?this.buffer.slice(0,this.position):this.buffer.toString(\"binary\",0,this.position);if(e){if(null!=this.buffer.slice)return this.buffer.slice(0,this.position);for(var t=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(this.position)):new Array(this.position),n=0;n<this.position;n++)t[n]=this.buffer[n];return t}return s(this.buffer,0,this.position)},r.prototype.length=function(){return this.position},r.prototype.toJSON=function(){return null!=this.buffer?this.buffer.toString(\"base64\"):\"\"},r.prototype.toString=function(e){return null!=this.buffer?this.buffer.slice(0,this.position).toString(e):\"\"};var o=0,a=function(e){for(var t=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(e.length)):new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},s=function(e,t,n){for(var r=\"\",i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r};r.BUFFER_SIZE=256,r.SUBTYPE_DEFAULT=0,r.SUBTYPE_FUNCTION=1,r.SUBTYPE_BYTE_ARRAY=2,r.SUBTYPE_UUID_OLD=3,r.SUBTYPE_UUID=4,r.SUBTYPE_MD5=5,r.SUBTYPE_USER_DEFINED=128,t.exports=r,t.exports.Binary=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{buffer:void 0}],53:[function(e,t,n){function i(e,t){return this instanceof i?(this.bigEndian=e,void(this.allowExceptions=t)):new i(e,t)}function o(e,t){this.bigEndian=e||0,this.buffer=[],this.setBuffer(t)}for(var a=String.fromCharCode,s=[],c=0;64>c;c++)s[c]=Math.pow(2,c);i.warn=function(e){if(this.allowExceptions)throw new Error(e);return 1},i.decodeFloat=function(e,t,n){var r=new this.Buffer(this.bigEndian,e);r.checkBuffer(t+n+1);var i=s[n-1]-1,o=r.readBits(t+n,1),a=r.readBits(t,n),c=0,u=2,p=r.buffer.length+(-t>>3)-1;do for(var l=r.buffer[++p],f=t%8||8,d=1<<f;d>>=1;l&d&&(c+=1/u),u*=2);while(t-=f);return a==(i<<1)+1?c?NaN:o?-(1/0):+(1/0):(1+-2*o)*(a||c?a?Math.pow(2,a-i)*(1+c):Math.pow(2,-i+1)*c:0)},i.decodeInt=function(e,t,n,r){var i=new this.Buffer(this.bigEndian||r,e),o=i.readBits(0,t),a=s[t];return n&&o>=a/2?o-a:o},i.encodeFloat=function(e,t,n){var i,o,a,c,u,p=s[n-1]-1,l=-p+1,f=p,d=l-t,h=parseFloat(e),m=isNaN(h)||h==-(1/0)||h==+(1/0)?h:0,v=0,g=2*p+1+t+3,y=new Array(g),b=(h=0!==m?0:h)<0,x=Math.floor(h=Math.abs(h)),w=h-x;for(c=g;c;y[--c]=0);for(c=p+2;x&&c;y[--c]=x%2,x=Math.floor(x/2));for(c=p+1;w>0&&c;(y[++c]=((w*=2)>=1)-0)&&--w);for(c=-1;++c<g&&!y[c];);if(y[(i=t-1+(c=(v=p+1-c)>=l&&f>=v?c+1:p+1-(v=l-1)))+1]){if(!(o=y[i]))for(u=i+2;!o&&g>u;o=y[u++]);for(u=i+1;o&&--u>=0;(y[u]=!y[u]-0)&&(o=0));}for(c=0>c-2?-1:c-3;++c<g&&!y[c];);for((v=p+1-c)>=l&&f>=v?++c:l>v&&(v!=p+1-g&&d>v&&this.warn(\"encodeFloat::float underflow\"),c=p+1-(v=l-1)),(x||0!==m)&&(this.warn(x?\"encodeFloat::float overflow\":\"encodeFloat::\"+m),v=f+1,c=p+2,m==-(1/0)?b=1:isNaN(m)&&(y[c]=1)),h=Math.abs(v+p),u=n+1,a=\"\";--u;a=h%2+a,h=h>>=1);for(h=0,u=0,c=(a=(b?\"1\":\"0\")+a+y.slice(c,c+t).join(\"\")).length,r=[];c;u=(u+1)%8)h+=(1<<u)*a.charAt(--c),7==u&&(r[r.length]=String.fromCharCode(h),h=0);return r[r.length]=h?String.fromCharCode(h):\"\",(this.bigEndian?r.reverse():r).join(\"\")},i.encodeInt=function(e,t,n,r){var i=s[t];(e>=i||-(i/2)>e)&&(this.warn(\"encodeInt::overflow\"),e=0),0>e&&(e+=i);for(var o=[];e;o[o.length]=String.fromCharCode(e%256),e=Math.floor(e/256));for(t=-(-t>>3)-o.length;t--;o[o.length]=\"\\x00\");return(this.bigEndian||r?o.reverse():o).join(\"\")},i.toSmall=function(e){return this.decodeInt(e,8,!0)},i.fromSmall=function(e){return this.encodeInt(e,8,!0)},i.toByte=function(e){return this.decodeInt(e,8,!1)},i.fromByte=function(e){return this.encodeInt(e,8,!1)},i.toShort=function(e){return this.decodeInt(e,16,!0)},i.fromShort=function(e){return this.encodeInt(e,16,!0)},i.toWord=function(e){return this.decodeInt(e,16,!1)},i.fromWord=function(e){return this.encodeInt(e,16,!1)},i.toInt=function(e){return this.decodeInt(e,32,!0)},i.fromInt=function(e){return this.encodeInt(e,32,!0)},i.toLong=function(e){return this.decodeInt(e,64,!0)},i.fromLong=function(e){return this.encodeInt(e,64,!0)},i.toDWord=function(e){return this.decodeInt(e,32,!1)},i.fromDWord=function(e){return this.encodeInt(e,32,!1)},i.toQWord=function(e){return this.decodeInt(e,64,!0)},i.fromQWord=function(e){return this.encodeInt(e,64,!0)},i.toFloat=function(e){return this.decodeFloat(e,23,8)},i.fromFloat=function(e){return this.encodeFloat(e,23,8)},i.toDouble=function(e){return this.decodeFloat(e,52,11)},i.fromDouble=function(e){return this.encodeFloat(e,52,11)},i.encode_int32=function(e,t){var n,r,i,o,s;return s=0>e?e+4294967296:e,n=Math.floor(s/16777215),s&=16777215,r=Math.floor(s/65535),s&=65535,i=Math.floor(s/255),s&=255,o=Math.floor(s),t?[a(n),a(r),a(i),a(o)]:a(n)+a(r)+a(i)+a(o)},i.encode_int64=function(e){var t,n,r,i,o,s,c,u,p;return p=0>e?e+0x10000000000000000:e,t=Math.floor(p/72057594037927940),p&=72057594037927940,n=Math.floor(p/0xffffffffffff),p&=0xffffffffffff,r=Math.floor(p/0xffffffffff),p&=0xffffffffff,i=Math.floor(p/4294967295),p&=4294967295,o=Math.floor(p/16777215),p&=16777215,s=Math.floor(p/65535),p&=65535,c=Math.floor(p/255),p&=255,u=Math.floor(p),a(t)+a(n)+a(r)+a(i)+a(o)+a(s)+a(c)+a(u)},i.decode_utf8=function(e){for(var t,n=e.length,r=\"\",i=0,o=0,a=0;n>i;)o=e.charCodeAt(i),128>o?(r+=String.fromCharCode(o),i++):o>191&&224>o?(a=e.charCodeAt(i+1),r+=String.fromCharCode((31&o)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),t=e.charCodeAt(i+2),r+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&t),i+=3);return r},i.encode_cstring=function(e){return unescape(encodeURIComponent(e))+i.fromByte(0)},i.encode_utf8=function(e){for(var t,n=\"\",r=0,i=e.length;i>r;r++)t=e.charCodeAt(r),128>t?n+=String.fromCharCode(t):t>127&&2048>t?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},i.hprint=function(e){for(var t,n=0,r=e.length;r>n;n++)e.charCodeAt(n)<32?(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \")):(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \"));process.stdout.write(\"\\n\\n\")},i.ilprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \"+t.charAt(r)))},i.hlprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \"+t.charAt(r)))},o.prototype.setBuffer=function(e){var t,n,r;if(e){for(n=t=e.length,r=this.buffer=new Array(t);n;r[t-n]=e.charCodeAt(--n));this.bigEndian&&r.reverse()}},o.prototype.hasNeededBits=function(e){return this.buffer.length>=-(-e>>3)},o.prototype.checkBuffer=function(e){if(!this.hasNeededBits(e))throw new Error(\"checkBuffer::missing bytes\")},o.prototype.readBits=function(e,t){function n(e,t){for(;t--;e=1073741824==(1073741824&(e%=2147483648))?2*e:2*(e-1073741824)+2147483647+1);return e}if(0>e||0>=t)return 0;this.checkBuffer(e+t);for(var r,i=e%8,o=this.buffer.length-(e>>3)-1,a=this.buffer.length+(-(e+t)>>3),s=o-a,c=(this.buffer[o]>>i&(1<<(s?8-i:t))-1)+(s&&(r=(e+t)%8)?(this.buffer[a++]&(1<<r)-1)<<(s--<<3)-i:0);s;c+=n(this.buffer[a++],(s--<<3)-i));return c},i.Buffer=o,n.BinaryParser=i},{util:void 0}],54:[function(e,t,n){(function(n){var r=(e(\"./float_parser\").writeIEEE754,e(\"./float_parser\").readIEEE754,e(\"./map\")),i=e(\"./long\").Long,o=e(\"./double\").Double,a=e(\"./timestamp\").Timestamp,s=e(\"./objectid\").ObjectID,c=e(\"./regexp\").BSONRegExp,u=e(\"./symbol\").Symbol,p=e(\"./code\").Code,l=e(\"./min_key\").MinKey,f=e(\"./max_key\").MaxKey,d=e(\"./db_ref\").DBRef,h=e(\"./binary\").Binary,m=e(\"./parser/deserializer\"),v=e(\"./parser/serializer\"),g=e(\"./parser/calculate_size\"),y=17825792,b=new n(y),x=function(){};x.prototype.serialize=function(e,t,r,i,o,a){var s=v(b,e,t,o||0,0,i,a),c=new n(s);return b.copy(c,0,0,c.length),c},x.prototype.serializeWithBufferAndIndex=function(e,t,n,r,i,o){var a=v(b,e,t,r||0,0,i,o);return b.copy(n,r,0,a),r+a-1},x.prototype.deserialize=function(e,t){return m(e,t)},x.prototype.calculateObjectSize=function(e,t,n){return g(e,t,n)},x.prototype.deserializeStream=function(e,t,n,r,i,o){o=null!=o?o:{};for(var a=t,s=0;n>s;s++){var c=e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24;o.index=a,r[i+s]=this.deserialize(e,o),a+=c}return a},x.BSON_INT32_MAX=2147483647,x.BSON_INT32_MIN=-2147483648,x.BSON_INT64_MAX=Math.pow(2,63)-1,x.BSON_INT64_MIN=-Math.pow(2,63),x.JS_INT_MAX=9007199254740992,x.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);x.BSON_DATA_NUMBER=1,x.BSON_DATA_STRING=2,x.BSON_DATA_OBJECT=3,x.BSON_DATA_ARRAY=4,x.BSON_DATA_BINARY=5,x.BSON_DATA_OID=7,x.BSON_DATA_BOOLEAN=8,x.BSON_DATA_DATE=9,x.BSON_DATA_NULL=10,x.BSON_DATA_REGEXP=11,x.BSON_DATA_CODE=13,x.BSON_DATA_SYMBOL=14,x.BSON_DATA_CODE_W_SCOPE=15,x.BSON_DATA_INT=16,x.BSON_DATA_TIMESTAMP=17,x.BSON_DATA_LONG=18,x.BSON_DATA_MIN_KEY=255,x.BSON_DATA_MAX_KEY=127,x.BSON_BINARY_SUBTYPE_DEFAULT=0,x.BSON_BINARY_SUBTYPE_FUNCTION=1,x.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,x.BSON_BINARY_SUBTYPE_UUID=3,x.BSON_BINARY_SUBTYPE_MD5=4,x.BSON_BINARY_SUBTYPE_USER_DEFINED=128,t.exports=x,t.exports.Code=p,t.exports.Map=r,t.exports.Symbol=u,t.exports.BSON=x,t.exports.DBRef=d,t.exports.Binary=h,t.exports.ObjectID=s,t.exports.Long=i,t.exports.Timestamp=a,t.exports.Double=o,t.exports.MinKey=l,t.exports.MaxKey=f,t.exports.BSONRegExp=c}).call(this,e(\"buffer\").Buffer)},{\"./binary\":52,\"./code\":55,\"./db_ref\":56,\"./double\":57,\"./float_parser\":58,\"./long\":60,\"./map\":61,\"./max_key\":62,\"./min_key\":63,\"./objectid\":64,\"./parser/calculate_size\":65,\"./parser/deserializer\":66,\"./parser/serializer\":67,\"./regexp\":68,\"./symbol\":69,\"./timestamp\":70,buffer:void 0}],55:[function(e,t,n){var r=function i(e,t){return this instanceof i?(this._bsontype=\"Code\",this.code=e,void(this.scope=null==t?{}:t)):new i(e,t)};r.prototype.toJSON=function(){return{scope:this.scope,code:this.code}},t.exports=r,t.exports.Code=r},{}],56:[function(e,t,n){function r(e,t,n){return this instanceof r?(this._bsontype=\"DBRef\",this.namespace=e,this.oid=t,void(this.db=n)):new r(e,t,n)}r.prototype.toJSON=function(){return{$ref:this.namespace,$id:this.oid,$db:null==this.db?\"\":this.db}},t.exports=r,t.exports.DBRef=r},{}],57:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Double\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Double=r},{}],58:[function(e,t,n){var r=function(e,t,n,r,i){var o,a,s=\"big\"===n,c=8*i-r-1,u=(1<<c)-1,p=u>>1,l=-7,f=s?0:i-1,d=s?1:-1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-p;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=p}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,s,c,u=\"big\"===r,p=8*o-i-1,l=(1<<p)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=u?o-1:0,m=u?-1:1,v=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<<i|s,p+=i;p>0;e[n+h]=255&a,h+=m,a/=256,p-=8);e[n+h-m]|=128*v};n.readIEEE754=r,n.writeIEEE754=i},{}],59:[function(e,t,n){try{n.BSONPure=e(\"./bson\"),n.BSONNative=e(\"./bson\")}catch(r){}[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(t){var r=e(t);for(var i in r)n[i]=r[i]}),n.pure=function(){var t={};return[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\",\"./bson\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]}),t},n[\"native\"]=function(){var t={};[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]});try{t.BSON=e(\"./bson\")}catch(r){return n.pure()}return t}},{\"./bson\":54}],60:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Long\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Long=r},{}],61:[function(e,t,n){(function(e){\"use strict\";if(\"undefined\"!=typeof e.Map)t.exports=e.Map,t.exports.Map=e.Map;else{var n=function(e){this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var n=e[t],r=n[0],i=n[1];this._keys.push(r),this._values[r]={v:i,i:this._keys.length-1}}};n.prototype.clear=function(){this._keys=[],this._values={}},n.prototype[\"delete\"]=function(e){var t=this._values[e];return null==t?!1:(delete this._values[e],this._keys.splice(t.i,1),!0)},n.prototype.entries=function(){var e=this,t=0;return{next:function(){var n=e._keys[t++];return{value:void 0!==n?[n,e._values[n].v]:void 0,done:void 0===n}}}},n.prototype.forEach=function(e,t){t=t||this;for(var n=0;n<this._keys.length;n++){var r=this._keys[n];e.call(t,this._values[r].v,r,t)}},n.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},n.prototype.has=function(e){return null!=this._values[e]},n.prototype.keys=function(e){var t=this,n=0;return{next:function(){var e=t._keys[n++];return{value:void 0!==e?e:void 0,done:void 0===e}}}},n.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},n.prototype.values=function(e,t){var n=this,r=0;return{next:function(){var e=n._keys[r++];return{value:void 0!==e?n._values[e].v:void 0,done:void 0===e}}}},Object.defineProperty(n.prototype,\"size\",{enumerable:!0,get:function(){return this._keys.length}}),t.exports=n,t.exports.Map=n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],62:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MaxKey\"):new r}t.exports=r,t.exports.MaxKey=r},{}],63:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MinKey\"):new r}t.exports=r,t.exports.MinKey=r},{}],64:[function(e,t,n){for(var r=e(\"./binary_parser\").BinaryParser,i=parseInt(16777215*Math.random(),10),o=new RegExp(\"^[0-9a-fA-F]{24}$\"),a=function u(e){if(!(this instanceof u))return new u(e);if(e instanceof u||e&&e.toHexString)return e;this._bsontype=\"ObjectID\";var t=u.isValid(e);if(!t&&null!=e)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");return t&&\"string\"==typeof e&&24==e.length?u.createFromHexString(e):(null==e||\"number\"==typeof e?this.id=this.generate(e):null!=e&&12===e.length&&(this.id=e),void(u.cacheHexString&&(this.__id=this.toHexString())))},s=[],c=0;256>c;c++)s[c]=(15>=c?\"0\":\"\")+c.toString(16);a.prototype.toHexString=function(){if(a.cacheHexString&&this.__id)return this.__id;for(var e=\"\",t=0;t<this.id.length;t++)e+=s[this.id.charCodeAt(t)];return a.cacheHexString&&(this.__id=e),e},a.prototype.get_inc=function(){return a.index=(a.index+1)%16777215},a.prototype.getInc=function(){return this.get_inc()},a.prototype.generate=function(e){\"number\"!=typeof e&&(e=parseInt(Date.now()/1e3,10));var t=r.encodeInt(e,32,!0,!0),n=r.encodeInt(i,24,!1),o=r.fromShort((\"undefined\"==typeof process?Math.floor(1e5*Math.random()):process.pid)%65535),a=r.encodeInt(this.get_inc(),24,!1,!0);return t+n+o+a},a.prototype.toString=function(){return this.toHexString()},a.prototype.inspect=a.prototype.toString,a.prototype.toJSON=function(){return this.toHexString()},a.prototype.equals=function(e){var t;if(null!=e&&(e instanceof a||e.toHexString))t=e.id;else{if(\"string\"!=typeof e||!a.isValid(e))return!1;t=a.createFromHexString(e).id}return this.id===t},a.prototype.getTimestamp=function(){var e=new Date;return e.setTime(1e3*Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))),e},a.index=parseInt(16777215*Math.random(),10),a.createPk=function(){return new a},a.createFromTime=function(e){var t=r.encodeInt(e,32,!0,!0)+r.encodeInt(0,64,!0,!0);return new a(t)},a.createFromHexString=function(e){if(\"undefined\"==typeof e||null!=e&&24!=e.length)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");var t=e.length;if(t>24)throw new Error(\"Id cannot be longer than 12 bytes\");for(var n,i,o=\"\",s=0;t>s;s+=2)n=e.substr(s,2),i=parseInt(n,16),o+=r.fromByte(i);return new a(o,e)},a.isValid=function(e){return null==e?!1:\"number\"==typeof e?!0:\"string\"==typeof e?12==e.length||24==e.length&&o.test(e):e instanceof a?!0:e.toHexString?12==e.id.length||24==e.id.length&&o.test(e.id):!1},Object.defineProperty(a.prototype,\"generationTime\",{enumerable:!0,get:function(){return Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))},set:function(e){var e=r.encodeInt(e,32,!0,!0);this.id=e+this.id.substr(4),this.toHexString()}}),t.exports=a,t.exports.ObjectID=a,t.exports.ObjectId=a},{\"./binary_parser\":53}],65:[function(e,t,n){(function(n){\"use strict\";function r(e,t,r,y,b){switch(t&&t.toBSON&&(t=t.toBSON()),typeof t){case\"string\":return 1+n.byteLength(e,\"utf8\")+1+4+n.byteLength(t,\"utf8\")+1;case\"number\":return Math.floor(t)===t&&t>=g.JS_INT_MIN&&t<=g.JS_INT_MAX&&t>=g.BSON_INT32_MIN&&t<=g.BSON_INT32_MAX?(null!=e?n.byteLength(e,\"utf8\")+1:0)+5:(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;case\"undefined\":return y||!b?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1:0;case\"boolean\":return(null!=e?n.byteLength(e,\"utf8\")+1:0)+2;case\"object\":if(null==t||t instanceof l||t instanceof f||\"MinKey\"==t._bsontype||\"MaxKey\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1;if(t instanceof s||\"ObjectID\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+13;if(t instanceof Date||m(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(\"undefined\"!=typeof n&&n.isBuffer(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+6+t.length;if(t instanceof i||t instanceof o||t instanceof a||\"Long\"==t._bsontype||\"Double\"==t._bsontype||\"Timestamp\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(t instanceof p||\"Code\"==t._bsontype)return null!=t.scope&&Object.keys(t.scope).length>0?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.code.toString(),\"utf8\")+1+v(t.scope,r,b):(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.code.toString(),\"utf8\")+1;if(t instanceof h||\"Binary\"==t._bsontype)return t.sub_type==h.SUBTYPE_BYTE_ARRAY?(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1+4):(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1);if(t instanceof c||\"Symbol\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+n.byteLength(t.value,\"utf8\")+4+1+1;if(t instanceof d||\"DBRef\"==t._bsontype){var x={$ref:t.namespace,$id:t.oid};return null!=t.db&&(x.$db=t.db),(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+v(x,r,b)}return t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1:t instanceof u||\"BSONRegExp\"==t._bsontype?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.pattern,\"utf8\")+1+n.byteLength(t.options,\"utf8\")+1:(null!=e?n.byteLength(e,\"utf8\")+1:0)+v(t,r,b)+1;case\"function\":if(t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)||\"[object RegExp]\"==String.call(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1;if(r&&null!=t.scope&&Object.keys(t.scope).length>0)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.toString(),\"utf8\")+1+v(t.scope,r,b);if(r)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.toString(),\"utf8\")+1}return 0}var i=(e(\"../float_parser\").writeIEEE754,e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../double\").Double,a=e(\"../timestamp\").Timestamp,s=e(\"../objectid\").ObjectID,c=e(\"../symbol\").Symbol,u=e(\"../regexp\").BSONRegExp,p=e(\"../code\").Code,l=e(\"../min_key\").MinKey,f=e(\"../max_key\").MaxKey,d=e(\"../db_ref\").DBRef,h=e(\"../binary\").Binary,m=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},v=function(e,t,n){var i=5;if(Array.isArray(e))for(var o=0;o<e.length;o++)i+=r(o.toString(),e[o],t,!0,n);else{e.toBSON&&(e=e.toBSON());for(var a in e)i+=r(a,e[a],t,!1,n)}return i},g={};g.functionCache={};g.BSON_DATA_NUMBER=1,g.BSON_DATA_STRING=2,g.BSON_DATA_OBJECT=3,g.BSON_DATA_ARRAY=4,g.BSON_DATA_BINARY=5,g.BSON_DATA_OID=7,g.BSON_DATA_BOOLEAN=8,g.BSON_DATA_DATE=9,g.BSON_DATA_NULL=10,g.BSON_DATA_REGEXP=11,g.BSON_DATA_CODE=13,g.BSON_DATA_SYMBOL=14,g.BSON_DATA_CODE_W_SCOPE=15,g.BSON_DATA_INT=16,g.BSON_DATA_TIMESTAMP=17,g.BSON_DATA_LONG=18,g.BSON_DATA_MIN_KEY=255,g.BSON_DATA_MAX_KEY=127,g.BSON_BINARY_SUBTYPE_DEFAULT=0,g.BSON_BINARY_SUBTYPE_FUNCTION=1,g.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,g.BSON_BINARY_SUBTYPE_UUID=3,g.BSON_BINARY_SUBTYPE_MD5=4,g.BSON_BINARY_SUBTYPE_USER_DEFINED=128,g.BSON_INT32_MAX=2147483647,g.BSON_INT32_MIN=-2147483648,g.BSON_INT64_MAX=Math.pow(2,63)-1,g.BSON_INT64_MIN=-Math.pow(2,63),g.JS_INT_MAX=9007199254740992,g.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=v}).call(this,e(\"buffer\").Buffer)},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,buffer:void 0}],66:[function(require,module,exports){\"use strict\";var readIEEE754=require(\"../float_parser\").readIEEE754,f=require(\"util\").format,Long=require(\"../long\").Long,Double=require(\"../double\").Double,Timestamp=require(\"../timestamp\").Timestamp,ObjectID=require(\"../objectid\").ObjectID,Symbol=require(\"../symbol\").Symbol,Code=require(\"../code\").Code,MinKey=require(\"../min_key\").MinKey,MaxKey=require(\"../max_key\").MaxKey,DBRef=require(\"../db_ref\").DBRef,BSONRegExp=require(\"../regexp\").BSONRegExp,Binary=require(\"../binary\").Binary,deserialize=function(e,t,n){t=null==t?{}:t;var r=t&&t.index?t.index:0,i=e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24;if(5>i||e.length<i)throw new Error(\"corrupt bson message\");if(0!=e[r+i-1])throw new Error(\"One object, sized correctly, with a spot for an EOO, but the EOO isn't 0x00\");return deserializeObject(e,r,t,n)},deserializeObject=function(e,t,n,r){var i=null==n.evalFunctions?!1:n.evalFunctions,o=null==n.cacheFunctions?!1:n.cacheFunctions,a=null==n.cacheFunctionsCrc32?!1:n.cacheFunctionsCrc32,s=null==n.promoteLongs?!0:n.promoteLongs,c=null==n.fieldsAsRaw?null:n.fieldsAsRaw,u=null==n.raw?!1:n.raw,p=\"boolean\"==typeof n.bsonRegExp?n.bsonRegExp:!1,l=null==n.promoteBuffers?!1:n.promoteBuffers;if(e.length<5)throw new Error(\"corrupt bson message < 5 bytes long\");var f=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(5>f||f>e.length)throw new Error(\"corrupt bson message\");for(var d=r?[]:{};;){var h=e[t++];if(0==h)break;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var v=e.toString(\"utf8\",t,m);if(t=m+1,h==BSON.BSON_DATA_STRING){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=e.toString(\"utf8\",t,t+g-1),t+=g}else if(h==BSON.BSON_DATA_OID){var y=e.toString(\"binary\",t,t+12);d[v]=new ObjectID(y),t+=12}else if(h==BSON.BSON_DATA_INT)d[v]=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;else if(h==BSON.BSON_DATA_NUMBER)d[v]=e.readDoubleLE(t),t+=8;else if(h==BSON.BSON_DATA_DATE){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Date(new Long(b,x).toNumber())}else if(h==BSON.BSON_DATA_BOOLEAN)d[v]=1==e[t++];else if(h==BSON.BSON_DATA_OBJECT){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24;\nif(0>=_||_>e.length-t)throw new Error(\"bad embedded document length in bson\");u?d[v]=e.slice(t,t+_):d[v]=deserializeObject(e,w,n,!1),t+=_}else if(h==BSON.BSON_DATA_ARRAY){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,k=n;if(c&&c[v]){k={};for(var j in n)k[j]=n[j];k.raw=!0}d[v]=deserializeObject(e,w,k,!0),t+=_}else if(h==BSON.BSON_DATA_UNDEFINED||h==BSON.BSON_DATA_NULL)d[v]=null;else if(h==BSON.BSON_DATA_LONG){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,S=new Long(b,x);s?d[v]=S.lessThanOrEqual(JS_INT_MAX_LONG)&&S.greaterThanOrEqual(JS_INT_MIN_LONG)?S.toNumber():S:d[v]=S}else if(h==BSON.BSON_DATA_BINARY){var E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,O=e[t++];if(null!=e.slice)O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24),l?d[v]=e.slice(t,t+E):d[v]=new Binary(e.slice(t,t+E),O);else{var A=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(E)):new Array(E);O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);for(var m=0;E>m;m++)A[m]=e[t+m];l?d[v]=A:d[v]=new Binary(A,O)}t+=E}else if(h==BSON.BSON_DATA_REGEXP&&0==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1;for(var I=new Array(T.length),m=0;m<T.length;m++)switch(T[m]){case\"m\":I[m]=\"m\";break;case\"s\":I[m]=\"g\";break;case\"i\":I[m]=\"i\"}d[v]=new RegExp(C,I.join(\"\"))}else if(h==BSON.BSON_DATA_REGEXP&&1==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1,d[v]=new BSONRegExp(C,T)}else if(h==BSON.BSON_DATA_SYMBOL){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=new Symbol(e.toString(\"utf8\",t,t+g-1)),t+=g}else if(h==BSON.BSON_DATA_TIMESTAMP){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Timestamp(b,x)}else if(h==BSON.BSON_DATA_MIN_KEY)d[v]=new MinKey;else if(h==BSON.BSON_DATA_MAX_KEY)d[v]=new MaxKey;else if(h==BSON.BSON_DATA_CODE){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);if(i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P)}else d[v]=new Code(P,{});t+=g}else if(h==BSON.BSON_DATA_CODE_W_SCOPE){var g=(e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);t+=g;var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,M=deserializeObject(e,w,n,!1);if(t+=_,i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P);d[v].scope=M}else d[v]=new Code(P,M)}}return null!=d.$id&&(d=new DBRef(d.$ref,d.$id,d.$db)),d},isolateEvalWithHash=function(functionCache,hash,functionString,object){var value=null;return null==functionCache[hash]&&(eval(\"value = \"+functionString),functionCache[hash]=value),functionCache[hash].bind(object)},isolateEval=function(functionString){var value=null;return eval(\"value = \"+functionString),value},BSON={},functionCache=BSON.functionCache={};BSON.BSON_DATA_NUMBER=1,BSON.BSON_DATA_STRING=2,BSON.BSON_DATA_OBJECT=3,BSON.BSON_DATA_ARRAY=4,BSON.BSON_DATA_BINARY=5,BSON.BSON_DATA_UNDEFINED=7,BSON.BSON_DATA_OID=7,BSON.BSON_DATA_BOOLEAN=8,BSON.BSON_DATA_DATE=9,BSON.BSON_DATA_NULL=10,BSON.BSON_DATA_REGEXP=11,BSON.BSON_DATA_CODE=13,BSON.BSON_DATA_SYMBOL=14,BSON.BSON_DATA_CODE_W_SCOPE=15,BSON.BSON_DATA_INT=16,BSON.BSON_DATA_TIMESTAMP=17,BSON.BSON_DATA_LONG=18,BSON.BSON_DATA_MIN_KEY=255,BSON.BSON_DATA_MAX_KEY=127,BSON.BSON_BINARY_SUBTYPE_DEFAULT=0,BSON.BSON_BINARY_SUBTYPE_FUNCTION=1,BSON.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,BSON.BSON_BINARY_SUBTYPE_UUID=3,BSON.BSON_BINARY_SUBTYPE_MD5=4,BSON.BSON_BINARY_SUBTYPE_USER_DEFINED=128,BSON.BSON_INT32_MAX=2147483647,BSON.BSON_INT32_MIN=-2147483648,BSON.BSON_INT64_MAX=Math.pow(2,63)-1,BSON.BSON_INT64_MIN=-Math.pow(2,63),BSON.JS_INT_MAX=9007199254740992,BSON.JS_INT_MIN=-9007199254740992;var JS_INT_MAX_LONG=Long.fromNumber(9007199254740992),JS_INT_MIN_LONG=Long.fromNumber(-9007199254740992);module.exports=deserialize},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,util:void 0}],67:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../float_parser\").writeIEEE754,i=(e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../map\"),a=(e(\"../double\").Double,e(\"../timestamp\").Timestamp,e(\"../objectid\").ObjectID,e(\"../symbol\").Symbol,e(\"../code\").Code,e(\"../regexp\").BSONRegExp,e(\"../min_key\").MinKey),s=(e(\"../max_key\").MaxKey,e(\"../db_ref\").DBRef,e(\"../binary\").Binary),c=/\\x00/,u=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},l=function(e,t,n,r){e[r++]=T.BSON_DATA_STRING;var i=e.write(t,r,\"utf8\");r=r+i+1,e[r-1]=0;var o=e.write(n,r+4,\"utf8\");return e[r+3]=o+1>>24&255,e[r+2]=o+1>>16&255,e[r+1]=o+1>>8&255,e[r]=o+1&255,r=r+4+o,e[r++]=0,r},f=function(e,t,n,o){if(Math.floor(n)===n&&n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX)if(n>=T.BSON_INT32_MIN&&n<=T.BSON_INT32_MAX){e[o++]=T.BSON_DATA_INT;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,e[o++]=255&n,e[o++]=n>>8&255,e[o++]=n>>16&255,e[o++]=n>>24&255}else if(n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX){e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}else{e[o++]=T.BSON_DATA_LONG;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0;var s=i.fromNumber(n),c=s.getLowBits(),u=s.getHighBits();e[o++]=255&c,e[o++]=c>>8&255,e[o++]=c>>16&255,e[o++]=c>>24&255,e[o++]=255&u,e[o++]=u>>8&255,e[o++]=u>>16&255,e[o++]=u>>24&255}else{e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}return o},d=function(e,t,n,r){e[r++]=T.BSON_DATA_NULL;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},h=function(e,t,n,r){e[r++]=T.BSON_DATA_BOOLEAN;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e[r++]=n?1:0,r},m=function(e,t,n,r){e[r++]=T.BSON_DATA_DATE;var o=e.write(t,r,\"utf8\");r+=o,e[r++]=0;var a=i.fromNumber(n.getTime()),s=a.getLowBits(),c=a.getHighBits();return e[r++]=255&s,e[r++]=s>>8&255,e[r++]=s>>16&255,e[r++]=s>>24&255,e[r++]=255&c,e[r++]=c>>8&255,e[r++]=c>>16&255,e[r++]=c>>24&255,r},v=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");if(r+=i,e[r++]=0,n.source&&null!=n.source.match(c))throw Error(\"value \"+n.source+\" must not contain null bytes\");return r+=e.write(n.source,r,\"utf8\"),e[r++]=0,n.global&&(e[r++]=115),n.ignoreCase&&(e[r++]=105),n.multiline&&(e[r++]=109),e[r++]=0,r},g=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r+=e.write(n.pattern,r,\"utf8\"),e[r++]=0,r+=e.write(n.options,r,\"utf8\"),e[r++]=0,r},y=function(e,t,n,r){null===n?e[r++]=T.BSON_DATA_NULL:n instanceof a?e[r++]=T.BSON_DATA_MIN_KEY:e[r++]=T.BSON_DATA_MAX_KEY;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},b=function(e,t,n,r){e[r++]=T.BSON_DATA_OID;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e.write(n.id,r,\"binary\"),r+12},x=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.length;return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=T.BSON_BINARY_SUBTYPE_DEFAULT,n.copy(e,r,0,o),r+=o},w=function(e,t,n,r,i,o,a,s){e[r++]=Array.isArray(n)?T.BSON_DATA_ARRAY:T.BSON_DATA_OBJECT;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=C(e,n,i,r,o+1,a,s);return u},_=function(e,t,n,r){e[r++]=\"Long\"==n._bsontype?T.BSON_DATA_LONG:T.BSON_DATA_TIMESTAMP;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.getLowBits(),a=n.getHighBits();return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,r},k=function(e,t,n,i){e[i++]=T.BSON_DATA_NUMBER;var o=e.write(t,i,\"utf8\");return i+=o,e[i++]=0,r(e,n,i,\"little\",52,8),i+=8},j=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_CODE;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s=n.toString(),c=e.write(s,r+4,\"utf8\")+1;return e[r]=255&c,e[r+1]=c>>8&255,e[r+2]=c>>16&255,e[r+3]=c>>24&255,r=r+4+c-1,e[r++]=0,r},S=function(e,t,n,r,i,o,a,s){if(null!=n.scope&&Object.keys(n.scope).length>0){e[r++]=T.BSON_DATA_CODE_W_SCOPE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=r,p=\"string\"==typeof n.code?n.code:n.code.toString();r+=4;var l=e.write(p,r+4,\"utf8\")+1;e[r]=255&l,e[r+1]=l>>8&255,e[r+2]=l>>16&255,e[r+3]=l>>24&255,e[r+4+l-1]=0,r=r+l+4;var f=C(e,n.scope,i,r,o+1,a,s);r=f-1;var d=f-u;e[u++]=255&d,e[u++]=d>>8&255,e[u++]=d>>16&255,e[u++]=d>>24&255,e[r++]=0}else{e[r++]=T.BSON_DATA_CODE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var p=n.code.toString(),h=e.write(p,r+4,\"utf8\")+1;e[r]=255&h,e[r+1]=h>>8&255,e[r+2]=h>>16&255,e[r+3]=h>>24&255,r=r+4+h-1,e[r++]=0}return r},E=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.value(!0),a=n.position;return e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,e[r++]=n.sub_type,n.sub_type==s.SUBTYPE_BYTE_ARRAY&&(e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255),o.copy(e,r,0,n.position),r+=n.position},O=function(e,t,n,r){e[r++]=T.BSON_DATA_SYMBOL;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=e.write(n.value,r+4,\"utf8\")+1;return e[r]=255&o,e[r+1]=o>>8&255,e[r+2]=o>>16&255,e[r+3]=o>>24&255,r=r+4+o-1,e[r++]=0,r},A=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_OBJECT;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s,c=r;s=null!=n.db?C(e,{$ref:n.namespace,$id:n.oid,$db:n.db},!1,r,i+1,o):C(e,{$ref:n.namespace,$id:n.oid},!1,r,i+1,o);var u=s-c;return e[c++]=255&u,e[c++]=u>>8&255,e[c++]=u>>16&255,e[c++]=u>>24&255,s},C=function(e,t,r,i,a,s,C){i=i||0;var T=i+4;if(Array.isArray(t))for(var I=0;I<t.length;I++){var P=\"\"+I,F=t[I];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):\"undefined\"==M||null==F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T))}else if(t instanceof o)for(var z=t.entries(),B=!1;!B;){var N=z.next();if(B=N.done,!B){var P=N.value[0],F=N.value[1],M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}else{if(t.toBSON){if(\"function\"!=typeof t.toBSON)throw new Error(\"toBSON is not a function\");if(t=t.toBSON(),null!=t&&\"object\"!=typeof t)throw new Error(\"toBSON function did not return an object\")}for(var P in t){var F=t[P];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}e[T++]=0;var D=T-i;return e[i++]=255&D,e[i++]=D>>8&255,e[i++]=D>>16&255,e[i++]=D>>24&255,T},T={};T.functionCache={};T.BSON_DATA_NUMBER=1,T.BSON_DATA_STRING=2,T.BSON_DATA_OBJECT=3,T.BSON_DATA_ARRAY=4,T.BSON_DATA_BINARY=5,T.BSON_DATA_OID=7,T.BSON_DATA_BOOLEAN=8,T.BSON_DATA_DATE=9,T.BSON_DATA_NULL=10,T.BSON_DATA_REGEXP=11,T.BSON_DATA_CODE=13,T.BSON_DATA_SYMBOL=14,T.BSON_DATA_CODE_W_SCOPE=15,T.BSON_DATA_INT=16,T.BSON_DATA_TIMESTAMP=17,T.BSON_DATA_LONG=18,T.BSON_DATA_MIN_KEY=255,T.BSON_DATA_MAX_KEY=127,T.BSON_BINARY_SUBTYPE_DEFAULT=0,T.BSON_BINARY_SUBTYPE_FUNCTION=1,T.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,T.BSON_BINARY_SUBTYPE_UUID=3,T.BSON_BINARY_SUBTYPE_MD5=4,T.BSON_BINARY_SUBTYPE_USER_DEFINED=128,T.BSON_INT32_MAX=2147483647,T.BSON_INT32_MIN=-2147483648,T.BSON_INT64_MAX=Math.pow(2,63)-1,T.BSON_INT64_MIN=-Math.pow(2,63),T.JS_INT_MAX=9007199254740992,T.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=C}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../map\":61,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70}],68:[function(e,t,n){function r(e,t){if(!(this instanceof r))return new r;this._bsontype=\"BSONRegExp\",this.pattern=e,this.options=t;for(var n=0;n<t.length;n++)if(\"i\"!=this.options[n]&&\"m\"!=this.options[n]&&\"x\"!=this.options[n]&&\"l\"!=this.options[n]&&\"s\"!=this.options[n]&&\"u\"!=this.options[n])throw new Error(\"the regular expression options [\"+this.options[n]+\"] is not supported\")}t.exports=r,t.exports.BSONRegExp=r},{}],69:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Symbol\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toString=function(){return this.value},r.prototype.inspect=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Symbol=r},{}],70:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Timestamp\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Timestamp=r},{}],71:[function(e,t,n){function r(e){this.dict=e||{}}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return\"undefined\"!=typeof t?n.set(e,t,r):void 0},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],72:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":84,stream:void 0,util:void 0}],73:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n=t||{},r=n.type||\"attachment\",a=i(e,n.fallback);return o(new d(r,a))}function i(e,t){if(void 0!==e){var n={};if(\"string\"!=typeof e)throw new TypeError(\"filename must be a string\");if(void 0===t&&(t=!0),\"string\"!=typeof t&&\"boolean\"!=typeof t)throw new TypeError(\"fallback must be a string or boolean\");if(\"string\"==typeof t&&y.test(t))throw new TypeError(\"fallback must be ISO-8859-1 string\");var r=h(e),i=_.test(r),o=\"string\"!=typeof t?t&&s(r):h(t),a=\"string\"==typeof o&&o!==r;return(a||!i||v.test(r))&&(n[\"filename*\"]=r),(i||a)&&(n.filename=a?o:r),n}}function o(e){var t=e.parameters,n=e.type;if(!n||\"string\"!=typeof n||!k.test(n))throw new TypeError(\"invalid type\");var r=String(n).toLowerCase();if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),a=0;a<o.length;a++){i=o[a];var s=\"*\"===i.substr(-1)?f(t[i]):l(t[i]);r+=\"; \"+i+\"=\"+s}return r}function a(e){var t=j.exec(e);if(!t)throw new TypeError(\"invalid extended field value\");var r,i=t[1].toLowerCase(),o=t[2],a=o.replace(g,u);switch(i){case\"iso-8859-1\":r=s(a);break;case\"utf-8\":r=new n(a,\"binary\").toString(\"utf8\");break;default:throw new TypeError(\"unsupported charset in extended field\")}return r}function s(e){return String(e).replace(y,\"?\")}function c(e){if(!e||\"string\"!=typeof e)throw new TypeError(\"argument string is required\");var t=S.exec(e);if(!t)throw new TypeError(\"invalid type format\");var n,r,i=t[0].length,o=t[1].toLowerCase(),s=[],c={};for(i=w.lastIndex=\";\"===t[0].substr(-1)?i-1:i;t=w.exec(e);){if(t.index!==i)throw new TypeError(\"invalid parameter format\");if(i+=t[0].length,n=t[1].toLowerCase(),r=t[2],-1!==s.indexOf(n))throw new TypeError(\"invalid duplicate parameter\");s.push(n),n.indexOf(\"*\")+1!==n.length?\"string\"!=typeof c[n]&&('\"'===r[0]&&(r=r.substr(1,r.length-2).replace(b,\"$1\")),c[n]=r):(n=n.slice(0,-1),r=a(r),c[n]=r)}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return new d(o,c)}function u(e,t){return String.fromCharCode(parseInt(t,16))}function p(e){var t=String(e).charCodeAt(0).toString(16).toUpperCase();return 1===t.length?\"%0\"+t:\"%\"+t}function l(e){var t=String(e);return'\"'+t.replace(x,\"\\\\$1\")+'\"'}function f(e){var t=String(e),n=encodeURIComponent(t).replace(m,p);return\"UTF-8''\"+n}function d(e,t){this.type=e,this.parameters=t}t.exports=r,t.exports.parse=c;var h=e(\"path\").basename,m=/[\\x00-\\x20\"'\\(\\)*,\\/:;<=>?@\\[\\\\\\]\\{\\}\\x7f]/g,v=/%[0-9A-Fa-f]{2}/,g=/%([0-9A-Fa-f]{2})/g,y=/[^\\x20-\\x7e\\xa0-\\xff]/g,b=/\\\\([\\u0000-\\u007f])/g,x=/([\\\\\"])/g,w=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,_=/^[\\x20-\\x7e\\x80-\\xff]+$/,k=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,j=/^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+\\-\\.^_`|~])+)$/,S=/^([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *(?:$|;)/}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,path:void 0}],74:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.type;if(!n||!d.test(n))throw new TypeError(\"invalid type\");var r=n;if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),s=0;s<o.length;s++){if(i=o[s],!p.test(i))throw new TypeError(\"invalid parameter name\");r+=\"; \"+i+\"=\"+a(t[i])}return r}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e),\"string\"!=typeof e))throw new TypeError(\"content-type header is missing from object\");if(\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t=e.indexOf(\";\"),n=-1!==t?e.substr(0,t).trim():e.trim();if(!d.test(n))throw new TypeError(\"invalid media type\");var r,i,a,u=new s(n.toLowerCase());for(c.lastIndex=t;i=c.exec(e);){if(i.index!==t)throw new TypeError(\"invalid parameter format\");t+=i[0].length,r=i[1].toLowerCase(),a=i[2],'\"'===a[0]&&(a=a.substr(1,a.length-2).replace(l,\"$1\")),u.parameters[r]=a}if(-1!==t&&t!==e.length)throw new TypeError(\"invalid parameter format\");return u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){this.parameters=Object.create(null),this.type=e}var c=/; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) */g,u=/^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/,l=/\\\\([\\u000b\\u0020-\\u00ff])/g,f=/([\\\\\"])/g,d=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/;n.format=r,n.parse=i},{}],75:[function(e,t,n){function r(e){return i.createHash(\"sha1\").update(e).digest(\"hex\")}var i=e(\"crypto\");n.sign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Cookie value must be provided as a string.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");return e+\".\"+i.createHmac(\"sha256\",t).update(e).digest(\"base64\").replace(/\\=+$/,\"\")},n.unsign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Signed cookie string must be provided.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");var i=e.slice(0,e.lastIndexOf(\".\")),o=n.sign(i,t);return r(o)==r(e)?i:!1}},{crypto:void 0}],76:[function(e,t,n){function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument str must be a string\");var n={},r=t||{},i=e.split(/; */),s=r.decode||a;return i.forEach(function(e){var t=e.indexOf(\"=\");if(!(0>t)){var r=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();\n'\"'==i[0]&&(i=i.slice(1,-1)),void 0==n[r]&&(n[r]=o(i,s))}}),n}function i(e,t,n){var r=n||{},i=r.encode||s;if(!c.test(e))throw new TypeError(\"argument name is invalid\");var o=i(t);if(o&&!c.test(o))throw new TypeError(\"argument val is invalid\");var a=[e+\"=\"+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error(\"maxAge should be a Number\");a.push(\"Max-Age=\"+u)}if(r.domain){if(!c.test(r.domain))throw new TypeError(\"option domain is invalid\");a.push(\"Domain=\"+r.domain)}if(r.path){if(!c.test(r.path))throw new TypeError(\"option path is invalid\");a.push(\"Path=\"+r.path)}return r.expires&&a.push(\"Expires=\"+r.expires.toUTCString()),r.httpOnly&&a.push(\"HttpOnly\"),r.secure&&a.push(\"Secure\"),a.join(\"; \")}function o(e,t){try{return t(e)}catch(n){return e}}n.parse=r,n.serialize=i;var a=decodeURIComponent,s=encodeURIComponent,c=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/},{}],77:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===v(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function c(e){return\"symbol\"==typeof e}function u(e){return void 0===e}function p(e){return\"[object RegExp]\"===v(e)}function l(e){return\"object\"==typeof e&&null!==e}function f(e){return\"[object Date]\"===v(e)}function d(e){return\"[object Error]\"===v(e)||e instanceof Error}function h(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||\"undefined\"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=c,n.isUndefined=u,n.isRegExp=p,n.isObject=l,n.isDate=f,n.isError=d,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538}],78:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n|=o^a}return 0===n}},{boom:51,crypto:void 0}],79:[function(e,t,n){function r(e,t){var n,r,i,o;if(n=e.name,!(\"signed\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing signed value\");if(!(\"length\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing length value\");if(r=e.integer.signed,i=e.integer.length,o=null,r&&1==i?o=\"int8_t\":1==i?o=\"uint8_t\":r&&2==i?o=\"int16_t\":2==i?o=\"uint16_t\":r&&4==i?o=\"int32_t\":4==i?o=\"uint32_t\":r&&8==i?o=\"int64_t\":8==i&&(o=\"uint64_t\"),null===o)throw new Error(\"Malformed CTF JSON: integer has unsupported length and sign - \"+i+\"/\"+r);return n!=o?\"char\"==n?void p(\"int8_t\"==o):void t.typedef(n,o):void 0}function i(e,t){var n,r;if(n=e.name,!(\"length\"in e[\"float\"]))throw new Error(\"Malformed CTF JSON: float missing length value\");if(r=e[\"float\"].length,4!=r&&8!=r)throw new Error(\"Malformed CTF JSON: float has invalid length value\");if(4==r){if(\"float\"==n)return;t.typedef(n,\"float\")}else if(8==r){if(\"double\"==n)return;t.typedef(n,\"double\")}}function o(e,t){var n,r,i;if(n=e.name,\"string\"!=typeof e.typedef)throw new Error(\"Malformed CTF JSON: typedef value in not a string\");for(r=e.typedef,i=0;i<d.length;i++)if(n==d[i])return;t.typedef(n,r)}function a(e,t){var n,r,i,o,a,s,c;if(s=[],!Array.isArray(e.struct))throw new Error(\"Malformed CTF JSON: struct value is not an array\");for(i=0;i<e.struct.length;i++){if(o=e.struct[i],!(\"name\"in o))throw new Error(\"Malformed CTF JSON: struct member missing name\");if(!(\"type\"in o))throw new Error(\"Malformed CTF JSON: struct member missing type\");if(\"string\"!=typeof o.name)throw new Error(\"Malformed CTF JSON: struct member name isn't a string\");if(\"string\"!=typeof o.type)throw new Error(\"Malformed CTF JSON: struct member type isn't a string\");n=o.name,r=o.type,a=r.indexOf(\" [\"),-1!=a&&(r=r.substring(0,a)+r.substring(a+1,r.length)),c={},c[n]={type:r},s.push(c)}n=e.name,t.typedef(n,s)}function s(e,t){var n,s;if(!(\"name\"in e))throw new Error('Malformed CTF JSON: entry missing \"name\" section');for(n=0;n<f.length;n++)f[n]in e&&s++;if(0===s)throw new Error(\"Malformed CTF JSON: found no entries\");if(s>=2)throw new Error(\"Malformed CTF JSON: found more than one entry\");return\"integer\"in e?void r(e,t):\"float\"in e?void i(e,t):\"typedef\"in e?void o(e,t):\"struct\"in e?void a(e,t):void p(!1,\"shouldn't reach here\")}function c(e,t){var n,r;if(p(e),p(t),!(\"metadata\"in e))throw new Error(\"Invalid CTF JSON: missing metadata section\");if(!(\"ctf2json_version\"in e.metadata))throw new Error(\"Invalid CTF JSON: missing ctf2json_version\");for(n=e.metadata.ctf2json_version,r=0;r<l.length&&l[r]!=n;r++);if(r==l.length)throw new Error(\"Unsuported ctf2json_version: \"+n);if(!(\"data\"in e))throw new Error(\"Invalid CTF JSON: missing data section\");if(!Array.isArray(e.data))throw new Error(\"Malformed CTF JSON: data section is not an array\");for(r=0;r<e.data.length;r++)s(e.data[r],t)}var u=e(\"assert\"),p=u.ok,l=[\"1.0\"],f=[\"integer\",\"float\",\"typedef\",\"struct\"],d=[\"int8_t\",\"uint8_t\",\"int16_t\",\"uint16_t\",\"int32_t\",\"uint32_t\",\"float\",\"double\"];n.ctfParseJson=c},{assert:void 0}],80:[function(e,t,n){function r(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return e[n]}function i(e,t,n){var r=0;return\"big\"==t?(r=e[n]<<8,r|=e[n+1]):(r=e[n],r|=e[n+1]<<8),r}function o(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i(e,t,n)}function a(e,t,n){var r=0;return\"big\"==t?(r=e[n+1]<<16,r|=e[n+2]<<8,r|=e[n+3],r+=e[n]<<24>>>0):(r=e[n+2]<<16,r|=e[n+1]<<8,r|=e[n],r+=e[n+3]<<24>>>0),r}function s(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return a(e,t,n)}function c(e,t,n){var r=new Array(2);return\"big\"==t?(r[0]=s(e,t,n),r[1]=s(e,t,n+4)):(r[0]=s(e,t,n+4),r[1]=s(e,t,n)),r}function u(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return c(e,t,n)}function p(e,t,n){var r;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return r=128&e[n],r?-1*(255-e[n]+1):e[n]}function l(e,t,n){var r,o;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return o=i(e,t,n),r=32768&o,r?-1*(65535-o+1):o}function f(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=a(e,t,n),r=2147483648&i,r?-1*(4294967295-i+1):i}function d(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=c(e,t,n),(r=2147483648&i[0])?(i[0]=-1*(4294967295-i[0]),i[1]=-1*(4294967295-i[1]+1),M.ok(i[1]<=4294967296),-4294967296==i[1]&&(i[1]=0,i[0]--),i):i}function h(e,t,n){var r,i,o,a,s=[],c=127,u=255;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(s[0]=e[n],s[1]=e[n+1],s[2]=e[n+2],s[3]=e[n+3]):(s[3]=e[n],s[2]=e[n+1],s[1]=e[n+2],s[0]=e[n+3]),r=128&s[0],i=(127&s[0])<<1,i|=(128&s[1])>>>7,o=(127&s[1])<<16,o|=s[2]<<8,o|=s[3],r||i!=u||0!==o?r&&i==u&&0===o?Number.NEGATIVE_INFINITY:i==u&&0!==o?Number.NaN:0===i&&0===o?0:(i-=c,i==-c?(i++,a=0):a=1,a=(a+o*Math.pow(2,-23))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function m(e,t,n){var r,i,o,a,s,c=[],u=1023,p=2047;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(c[0]=e[n],c[1]=e[n+1],c[2]=e[n+2],c[3]=e[n+3],c[4]=e[n+4],c[5]=e[n+5],c[6]=e[n+6],c[7]=e[n+7]):(c[7]=e[n],c[6]=e[n+1],c[5]=e[n+2],c[4]=e[n+3],c[3]=e[n+4],c[2]=e[n+5],c[1]=e[n+6],c[0]=e[n+7]),r=128&c[0],i=(127&c[0])<<4,i|=(240&c[1])>>>4,s=c[7],s|=c[6]<<8,s|=c[5]<<16,o=c[4],o|=c[3]<<8,o|=c[2]<<16,o|=(15&c[1])<<24,o*=Math.pow(2,24),o+=s,r||i!=p||0!==o?r&&i==p&&0===o?Number.NEGATIVE_INFINITY:i==p&&0!==o?Number.NaN:0===i&&0===o?0:(i-=u,i==-u?(i++,a=0):a=1,a=(a+o*Math.pow(2,-52))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function v(e,t){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(0>e)throw new Error(\"specified a negative value for writing an unsigned value\");if(e>t)throw new Error(\"value is larger than maximum value for type\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function g(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,255),n[r]=i}function y(e,t,n,r){\"big\"==t?(n[r]=(65280&e)>>>8,n[r+1]=255&e):(n[r+1]=(65280&e)>>>8,n[r]=255&e)}function b(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,65535),y(i,t,n,r)}function x(e,t,n,r){\"big\"==t?(n[r]=(e-(16777215&e))/Math.pow(2,24),n[r+1]=e>>>16&255,n[r+2]=e>>>8&255,n[r+3]=255&e):(n[r+3]=(e-(16777215&e))/Math.pow(2,24),n[r+2]=e>>>16&255,n[r+1]=e>>>8&255,n[r]=255&e)}function w(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,4294967295),x(i,t,n,r)}function _(e,t,n,r){\"big\"==t?(x(e[0],t,n,r),x(e[1],t,n,r+4)):(x(e[0],t,n,r+4),x(e[1],t,n,r))}function k(e,t,n,r){if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");v(e[0],4294967295),v(e[1],4294967295),_(e,t,n,r)}function j(e,t,n){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(e>t)throw new Error(\"value larger than maximum allowed value\");if(n>e)throw new Error(\"value smaller than minimum allowed value\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function S(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,127,-128),i>=0?g(i,t,n,r):g(255+i+1,t,n,r)}function E(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,32767,-32768),i>=0?y(i,t,n,r):y(65535+i+1,t,n,r)}function O(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,2147483647,-2147483648),i>=0?x(i,t,n,r):x(4294967295+i+1,t,n,r)}function A(e,t,n,r){var i,o,a=new Array(2);if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");if(i=e[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,o=e[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=e[0]&&0!=e[1]&&i!=o)throw new Error(\"Both entries in the array must have the same sign\");if(i)v(e[0],2147483647),v(e[1],4294967295);else if(j(e[0],0,-2147483648),j(e[1],0,-4294967295),-2147483648==e[0]&&0!=e[1])throw new Error(\"value smaller than minimum allowed value\");e[0]<0||e[1]<0?(a[0]=4294967295-Math.abs(e[0]),a[1]=4294967296-Math.abs(e[1]),4294967296==a[1]&&(a[1]=0,a[0]++)):(a[0]=e[0],a[1]=e[1]),_(a,t,n,r)}function C(e){return Math.log(e)/Math.log(2)}function T(e){return Math.floor(C(e))}function I(e){return Math.floor(C(e))}function P(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=255,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=255,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=255,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),-127>=s?(o=0,a=e*Math.pow(2,149)&8388607):(o=127+s,a=e*Math.pow(2,23-s),a&=8388607)),c[0]=i<<7|(254&o)>>>1,c[1]=(1&o)<<7|(8323072&a)>>>16,c[2]=(65280&a)>>>8,c[3]=255&a,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3]):(n[r]=c[3],n[r+1]=c[2],n[r+2]=c[1],n[r+3]=c[0])}function F(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=2047,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=2047,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=2047,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),2.225073858507201e-308>=e||-1023>=s?(o=0,a=e*Math.pow(2,1023)*Math.pow(2,51),a%=Math.pow(2,52)):(s>1023&&(s=1023),o=1023+s,a=e*Math.pow(2,-s),a*=Math.pow(2,52),a%=Math.pow(2,52))),c[7]=255&a,c[6]=a>>>8&255,c[5]=a>>>16&255,a=(a-(16777215&a))/Math.pow(2,24),c[4]=255&a,c[3]=a>>>8&255,c[2]=a>>>16&255,c[1]=(15&o)<<4|a>>>24,c[0]=i<<7|(2032&o)>>>4,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3],n[r+4]=c[4],n[r+5]=c[5],n[r+6]=c[6],n[r+7]=c[7]):(n[r+7]=c[0],n[r+6]=c[1],n[r+5]=c[2],n[r+4]=c[3],n[r+3]=c[4],n[r+2]=c[5],n[r+1]=c[6],n[r]=c[7])}var M=e(\"assert\");n.ruint8=r,n.ruint16=o,n.ruint32=s,n.ruint64=u,n.wuint8=g,n.wuint16=b,n.wuint32=w,n.wuint64=k,n.rsint8=p,n.rsint16=l,n.rsint32=f,n.rsint64=d,n.wsint8=S,n.wsint16=E,n.wsint32=O,n.wsint64=A,n.rfloat=h,n.rdouble=m,n.wfloat=P,n.wdouble=F},{assert:void 0}],81:[function(e,t,n){(function(t){function r(e,t,n){var r=N.ruint8(t,e,n);return{value:r,size:1}}function i(e,t,n){var r=N.ruint16(t,e,n);return{value:r,size:2}}function o(e,t,n){var r=N.ruint32(t,e,n);return{value:r,size:4}}function a(e,t,n){var r=N.ruint64(t,e,n);return{value:r,size:8}}function s(e,t,n){var r=N.rsint8(t,e,n);return{value:r,size:1}}function c(e,t,n){var r=N.rsint16(t,e,n);return{value:r,size:2}}function u(e,t,n){var r=N.rsint32(t,e,n);return{value:r,size:4}}function p(e,t,n){var r=N.rsint64(t,e,n);return{value:r,size:8}}function l(e,t,n){var r=N.rfloat(t,e,n);return{value:r,size:4}}function f(e,t,n){var r=N.rdouble(t,e,n);return{value:r,size:8}}function d(e,n,r){var i=new t(1);return i[0]=N.ruint8(n,e,r),{value:i,size:1}}function h(e,n,r,i){var o,a=new t(e);for(o=0;e>o;o++)a[o]=N.ruint8(r,n,i+o);return{value:a,size:e}}function m(e,t,n,r){return N.wuint8(e,t,n,r),1}function v(e,t,n,r){return N.wuint16(e,t,n,r),2}function g(e,t,n,r){return N.wuint32(e,t,n,r),4}function y(e,t,n,r){return N.wuint64(e,t,n,r),8}function b(e,t,n,r){return N.wsint8(e,t,n,r),1}function x(e,t,n,r){return N.wsint16(e,t,n,r),2}function w(e,t,n,r){return N.wsint32(e,t,n,r),4}function _(e,t,n,r){return N.wsint64(e,t,n,r),8}function k(e,t,n,r){return N.wfloat(e,t,n,r),4}function j(e,t,n,r){return N.wdouble(e,t,n,r),8}function S(e,n,r,i){if(!(e instanceof t))throw new Error(\"Input must be a buffer\");return N.ruint8(e[0],n,r,i),1}function E(e,n,r,i,o){var a;if(!(e instanceof t))throw new Error(\"Input must be a buffer\");if(e.length>n)throw new Error(\"value length greater than array length\");for(a=0;a<e.length&&n>a;a++)N.wuint8(e[a],r,i,o+a);for(;n>a;a++)N.wuint8(0,r,o+a);return n}function O(){var e,t={};for(e in q)t[e]=q[e];return t}function A(e){var t,n,r,i;if(\"string\"!=typeof e)throw new Error(\"type must be a Javascript string\");if(n=e.lastIndexOf(\"]\"),-1==n){if(-1!=e.lastIndexOf(\"[\"))throw new Error(\"found invalid type with '[' but no corresponding ']'\");return{type:e}}if(t=e.lastIndexOf(\"[\"),-1==t)throw new Error(\"found invalid type with ']' but no corresponding '['\");if(t>=n)throw new Error(\"malformed type, ']' appears before '['\");return r=e.substring(0,t),i=e.substring(t+1,n),{type:r,len:i}}function C(e,t,n){var r,i,o,a,s,c={};if(!(e instanceof Array))throw new Error(\"definition is not an array\");if(0===e.length)throw new Error(\"definition must have at least one element\");for(r=0;r<e.length;r++){if(o=e[r],!(o instanceof Object))throw new Error(\"definition must be an array ofobjects\");if(a=Object.keys(o),1!=a.length)throw new Error(\"definition entry must only have one key\");if(a[0]in c)throw new Error(\"Specified name already specified: \"+a[0]);if(!(\"type\"in o[a[0]]))throw new Error(\"missing required type definition\");for(s=A(o[a[0]].type);void 0!==s.len;){if(isNaN(parseInt(s.len,10))&&!(s.len in c))throw new Error(\"Given an array length without a matching type\");s=A(s.type)}if(!(s.type in t))throw new Error(\"type not found or typdefed: \"+s.type);if(void 0!==n)for(i=0;i<n.length;i++)if(!(n[i]in o[a[0]]))throw new Error(\"Missing required field: \"+n[i]);c[a[0]]=!0}}function T(e){if(!e)throw new Error(\"missing required argument\");if(!(\"endian\"in e))throw new Error(\"missing required endian value\");if(\"big\"!=e.endian&&\"little\"!=e.endian)throw new Error(\"Invalid endian type\");if(\"char-type\"in e&&\"uint8\"!=e[\"char-type\"]&&\"int8\"!=e[\"char-type\"])throw new Error(\"invalid option for char-type: \"+e[\"char-type\"]);this.endian=e.endian,this.types=O(),\"char-type\"in e&&\"uint8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.uint8_t),\"char-type\"in e&&\"int8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.int8_t)}function I(e,t){for(var n=\"\",r=A(e);void 0!==r.len;){if(isNaN(parseInt(r.len,10))){if(\"number\"!=typeof t[r.len])throw new Error(\"cannot sawp in non-number for array value\");n=\"[\"+t[r.len]+\"]\"+n}else n=\"[\"+r.len+\"]\"+n;r=A(r.type)}return n=r.type+n}function P(e){var t,n,r;for(n=[],t=0;t<e.length;t++)r=Object.keys(e[t])[0],D.ok(\"value\"in e[t][r]),n.push(e[t][r].value);return n}function F(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(e[0]>=1048576)throw new Error(\"value would become approximated\");return e[0]*Math.pow(2,32)+e[1]}function M(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");return Math.pow(2,32)*e[0]+e[1]}function z(e,t){var n=new T(t);return B.ctfParseJson(e,n),n}var B=e(\"./ctf.js\"),N=e(\"./ctio.js\"),D=e(\"assert\"),q={uint8_t:{read:r,write:m},uint16_t:{read:i,write:v},uint32_t:{read:o,write:g},uint64_t:{read:a,write:y},int8_t:{read:s,write:b},int16_t:{read:c,write:x},int32_t:{read:u,write:w},int64_t:{read:p,write:_},\"float\":{read:l,write:k},\"double\":{read:f,write:j},\"char\":{read:d,write:S},\"char[]\":{read:h,write:E}};T.prototype.setEndian=function(e){if(\"big\"!=e&&\"little\"!=e)throw new Error(\"invalid endian type, must be big or little\");this.endian=e},T.prototype.getEndian=function(){return this.endian},T.prototype.typedef=function(e,t){var n;if(void 0===e)throw new(Error(\"missing required typedef argument: name\"));if(void 0===t)throw new(Error(\"missing required typedef argument: value\"));if(\"string\"!=typeof e)throw new(Error(\"the name of a type must be a string\"));if(n=A(e),void 0!==n.len)throw new Error(\"Cannot have an array in the typedef name\");if(e in this.types)throw new Error(\"typedef name already present: \"+e);if(\"string\"!=typeof t&&!(t instanceof Array))throw new Error(\"typedef value must either be a string or struct\");if(\"string\"==typeof t){if(n=A(t),void 0!==n.len&&isNaN(parseInt(n.len,10)))throw new(Error(\"typedef value must use fixed size array when outside of a struct\"));this.types[e]=t}else C(t,this.types),this.types[e]=t},T.prototype.lstypes=function(){var e,t={};for(e in this.types)e in q||(t[e]=this.types[e]);return t},T.prototype.resolveTypedef=function(e,t,n,r,i){var o;if(D.ok(e in this.types),\"string\"==typeof this.types[e]){if(o=A(this.types[e]),\"read\"==t)return this.readEntry(o,n,r);if(\"write\"==t)return this.writeEntry(i,o,n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")}if(\"read\"==t)return this.readStruct(this.types[e],n,r);if(\"write\"==t)return this.writeStruct(i,this.types[e],n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")},T.prototype.readEntry=function(e,t,n){var r,i;if(void 0!==e.len){if(i=parseInt(e.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");r=\"char\"==e.type?this.types[\"char[]\"].read(i,this.endian,t,n):this.readArray(e.type,i,t,n)}else r=e.type in q?this.types[e.type].read(this.endian,t,n):this.resolveTypedef(e.type,\"read\",t,n);return r},T.prototype.readArray=function(e,t,n,r){var i,o,a,s=r,c=new Array(t);for(a=A(e),i=0;t>i;i++)o=this.readEntry(a,n,r),r+=o.size,c[i]=o.value;return{value:c,size:r-s}},T.prototype.readStruct=function(e,t,n){var r,i,o,a,s,c=n,u={};for(i=0;i<e.length;i++)s=Object.keys(e[i])[0],a=e[i][s],o=A(I(a.type,u)),\"offset\"in a&&(n=c+a.offset),r=this.readEntry(o,t,n),n+=r.size,u[s]=r.value;return{value:u,size:n-c}},T.prototype.readData=function(e,t,n){if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");return C(e,this.types),this.readStruct(e,t,n).value},T.prototype.writeArray=function(e,t,n,r,i){var o,a,s=i;if(!(e instanceof Array))throw new Error(\"asked to write an array, but value is not an array\");if(e.length!=n)throw new Error(\"asked to write array of length \"+n+\" but that does not match value length: \"+e.length);for(a=A(t),o=0;n>o;o++)i+=this.writeEntry(e[o],a,r,i);return i-s},T.prototype.writeEntry=function(e,t,n,r){var i,o;if(void 0!==t.len){if(i=parseInt(t.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");o=\"char\"==t.type?this.types[\"char[]\"].write(e,i,this.endian,n,r):this.writeArray(e,t.type,i,n,r)}else o=t.type in q?this.types[t.type].write(e,this.endian,n,r):this.resolveTypedef(t.type,\"write\",n,r,e);return o},T.prototype.writeStruct=function(e,t,n,r){var i,o,a,s,c=r,u={};for(i=0;i<t.length;i++)s=Object.keys(t[i])[0],o=t[i][s],a=A(I(o.type,u)),\"offset\"in o&&(r=c+o.offset),r+=this.writeEntry(e[i],a,n,r),u[s]=e[i];return r},T.prototype.writeData=function(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");if(i=null!=r&&void 0!=r){if(!Array.isArray(r))throw new Error(\"missing values for writing\");C(e,this.types)}else C(e,this.types,[\"value\"]);this.writeStruct(i?r:P(e),e,t,n)},n.Parser=T,n.toAbs64=F,n.toApprox64=M,n.parseCTF=z,n.ruint8=N.ruint8,n.ruint16=N.ruint16,n.ruint32=N.ruint32,n.ruint64=N.ruint64,n.wuint8=N.wuint8,n.wuint16=N.wuint16,n.wuint32=N.wuint32,n.wuint64=N.wuint64,n.rsint8=N.rsint8,n.rsint16=N.rsint16,n.rsint32=N.rsint32,n.rsint64=N.rsint64,n.wsint8=N.wsint8,n.wsint16=N.wsint16,n.wsint32=N.wsint32,n.wsint64=N.wsint64,n.rfloat=N.rfloat,n.rdouble=N.rdouble,n.wfloat=N.wfloat,n.wdouble=N.wdouble}).call(this,e(\"buffer\").Buffer)},{\"./ctf.js\":79,\"./ctio.js\":80,assert:void 0,buffer:void 0}],82:[function(e,t,n){function r(){return n.colors[p++%n.colors.length]}function i(e){function t(){}function i(){var e=i,t=+new Date,o=t-(u||t);e.diff=o,e.prev=u,e.curr=t,u=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),\"string\"!=typeof a[0]&&(a=[\"%o\"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,r){if(\"%%\"===t)return t;s++;var i=n.formatters[r];if(\"function\"==typeof i){var o=a[s];t=i.call(e,o),a.splice(s,1),s--}return t}),\"function\"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var c=i.log||n.log||console.log.bind(console);c.apply(e,a)}t.enabled=!1,i.enabled=!0;var o=n.enabled(e)?i:t;return o.namespace=e,o}function o(e){n.save(e);for(var t=(e||\"\").split(/[\\s,]+/),r=t.length,i=0;r>i;i++)t[i]&&(e=t[i].replace(/\\*/g,\".*?\"),\"-\"===e[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))}function a(){n.enable(\"\")}function s(e){var t,r;for(t=0,r=n.skips.length;r>t;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;r>t;t++)if(n.names[t].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={};var u,p=0},{ms:355}],83:[function(e,t,n){function r(){var e=(process.env.DEBUG_COLORS||\"\").trim().toLowerCase();return 0===e.length?u.isatty(l):\"0\"!==e&&\"no\"!==e&&\"false\"!==e&&\"disabled\"!==e}function i(){var e=arguments,t=this.useColors,r=this.namespace;if(t){var i=this.color;e[0]=\"  \u001b[3\"+i+\";1m\"+r+\" \u001b[0m\"+e[0]+\"\u001b[3\"+i+\"m +\"+n.humanize(this.diff)+\"\u001b[0m\"}else e[0]=(new Date).toUTCString()+\" \"+r+\" \"+e[0];return e}function o(){return f.write(p.format.apply(this,arguments)+\"\\n\")}function a(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e}function s(){return process.env.DEBUG}function c(t){var n,r=process.binding(\"tty_wrap\");switch(r.guessHandleType(t)){case\"TTY\":n=new u.WriteStream(t),n._type=\"tty\",n._handle&&n._handle.unref&&n._handle.unref();break;case\"FILE\":var i=e(\"fs\");n=new i.SyncWriteStream(t,{autoClose:!1}),n._type=\"fs\";break;case\"PIPE\":case\"TCP\":var o=e(\"net\");n=new o.Socket({fd:t,readable:!1,writable:!0}),n.readable=!1,n.read=null,n._type=\"pipe\",n._handle&&n._handle.unref&&n._handle.unref();break;default:throw new Error(\"Implement me. Unknown stream file type!\")}return n.fd=t,n._isStdio=!0,n}var u=e(\"tty\"),p=e(\"util\");n=t.exports=e(\"./debug\"),n.log=o,n.formatArgs=i,n.save=a,n.load=s,n.useColors=r,n.colors=[6,2,3,4,5,1];var l=parseInt(process.env.DEBUG_FD,10)||2,f=1===l?process.stdout:2===l?process.stderr:c(l),d=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};n.formatters.o=function(e){return d(e,this.useColors).replace(/\\s*\\n\\s*/g,\" \")},n.enable(s())},{\"./debug\":82,fs:void 0,net:void 0,tty:void 0,util:void 0}],84:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,\"readable\",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],85:[function(require,module,exports){function containsNamespace(e,t){var n=e.split(/[ ,]+/);t=String(t).toLowerCase();for(var r=0;r<n.length;r++)if((e=n[r])&&(\"*\"===e||e.toLowerCase()===t))return!0;return!1}function convertDataDescriptorToAccessor(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),i=r.value;return r.get=function(){return i},r.writable&&(r.set=function(e){return i=e}),delete r.value,delete r.writable,Object.defineProperty(e,t,r),r}function createArgumentsString(e){for(var t=\"\",n=0;e>n;n++)t+=\", arg\"+n;return t.substr(2)}function createStackString(e){var t=this.name+\": \"+this.namespace;this.message&&(t+=\" deprecated \"+this.message);for(var n=0;n<e.length;n++)t+=\"\\n    at \"+callSiteToString(e[n]);return t}function depd(e){function t(e){log.call(t,e)}if(!e)throw new TypeError(\"argument namespace is required\");var n=getStack(),r=callSiteLocation(n[1]),i=r[0];return t._file=i,t._ignored=isignored(e),t._namespace=e,t._traced=istraced(e),t._warned=Object.create(null),t[\"function\"]=wrapfunction,t.property=wrapproperty,t}function isignored(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||\"\";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||\"\";return containsNamespace(t,e)}function log(e,t){var n=0!==eventListenerCount(process,\"deprecation\");if(n||!this._ignored){var r,i,o,a=0,s=!1,c=getStack(),u=this._file;for(t?(o=callSiteLocation(c[1]),o.name=t.name,u=o[0]):(a=2,t=callSiteLocation(c[a]),o=t);a<c.length;a++)if(r=callSiteLocation(c[a]),i=r[0],i===u)s=!0;else if(i===this._file)u=this._file;else if(s)break;\nvar p=r?t.join(\":\")+\"__\"+r.join(\":\"):void 0;if(!(void 0!==p&&p in this._warned)){if(this._warned[p]=!0,e||(e=defaultMessage(o!==t&&o.name?o:t)),n){var l=DeprecationError(this._namespace,e,c.slice(a));return void process.emit(\"deprecation\",l)}var f=process.stderr.isTTY?formatColor:formatPlain,d=f.call(this,e,r,c.slice(a));process.stderr.write(d+\"\\n\",\"utf8\")}}}function callSiteLocation(e){var t=e.getFileName()||\"<anonymous>\",n=e.getLineNumber(),r=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+\", \"+t);var i=[t,n,r];return i.callSite=e,i.name=e.getFunctionName(),i}function defaultMessage(e){var t=e.callSite,n=e.name;n||(n=\"<anonymous@\"+formatLocation(e)+\">\");var r=t.getThis(),i=r&&t.getTypeName();return\"Object\"===i&&(i=void 0),\"Function\"===i&&(i=r.name||i),i&&t.getMethodName()?i+\".\"+n:n}function formatPlain(e,t,n){var r=(new Date).toUTCString(),i=r+\" \"+this._namespace+\" deprecated \"+e;if(this._traced){for(var o=0;o<n.length;o++)i+=\"\\n    at \"+callSiteToString(n[o]);return i}return t&&(i+=\" at \"+formatLocation(t)),i}function formatColor(e,t,n){var r=\"\u001b[36;1m\"+this._namespace+\"\u001b[22;39m \u001b[33;1mdeprecated\u001b[22;39m \u001b[0m\"+e+\"\u001b[39m\";if(this._traced){for(var i=0;i<n.length;i++)r+=\"\\n    \u001b[36mat \"+callSiteToString(n[i])+\"\u001b[39m\";return r}return t&&(r+=\" \u001b[36m\"+formatLocation(t)+\"\u001b[39m\"),r}function formatLocation(e){return relative(basePath,e[0])+\":\"+e[1]+\":\"+e[2]}function getStack(){var e=Error.stackTraceLimit,t={},n=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(t);var r=t.stack.slice(1);return Error.prepareStackTrace=n,Error.stackTraceLimit=e,r}function prepareObjectStackTrace(e,t){return t}function wrapfunction(fn,message){if(\"function\"!=typeof fn)throw new TypeError(\"argument fn must be a function\");var args=createArgumentsString(fn.length),deprecate=this,stack=getStack(),site=callSiteLocation(stack[1]);site.name=fn.name;var deprecatedfn=eval(\"(function (\"+args+') {\\n\"use strict\"\\nlog.call(deprecate, message, site)\\nreturn fn.apply(this, arguments)\\n})');return deprecatedfn}function wrapproperty(e,t,n){if(!e||\"object\"!=typeof e&&\"function\"!=typeof e)throw new TypeError(\"argument obj must be object\");var r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw new TypeError(\"must call property on owner object\");if(!r.configurable)throw new TypeError(\"property must be configurable\");var i=this,o=getStack(),a=callSiteLocation(o[1]);a.name=t,\"value\"in r&&(r=convertDataDescriptorToAccessor(e,t,n));var s=r.get,c=r.set;\"function\"==typeof s&&(r.get=function(){return log.call(i,n,a),s.apply(this,arguments)}),\"function\"==typeof c&&(r.set=function(){return log.call(i,n,a),c.apply(this,arguments)}),Object.defineProperty(e,t,r)}function DeprecationError(e,t,n){var r,i=new Error;return Object.defineProperty(i,\"constructor\",{value:DeprecationError}),Object.defineProperty(i,\"message\",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(i,\"name\",{enumerable:!1,configurable:!0,value:\"DeprecationError\",writable:!0}),Object.defineProperty(i,\"namespace\",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(i,\"stack\",{configurable:!0,enumerable:!1,get:function(){return void 0!==r?r:r=createStackString.call(this,n)},set:function(e){r=e}}),i}var callSiteToString=require(\"./lib/compat\").callSiteToString,eventListenerCount=require(\"./lib/compat\").eventListenerCount,relative=require(\"path\").relative;module.exports=depd;var basePath=process.cwd()},{\"./lib/compat\":89,path:void 0}],86:[function(e,t,n){(function(e){\"use strict\";function n(t){for(var n=0,r=0,i=t.length;i>r;r++)n+=t[r].length;for(var o=new e(n),a=0,r=0,i=t.length;i>r;r++)t[r].copy(o,a),a+=t[r].length;return o}t.exports=n}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],87:[function(e,t,n){\"use strict\";function r(e){var t,n=\"\";if(e.isNative()?n=\"native\":e.isEval()?(t=e.getScriptNameOrSourceURL(),t||(n=e.getEvalOrigin())):t=e.getFileName(),t){n+=t;var r=e.getLineNumber();if(null!=r){n+=\":\"+r;var i=e.getColumnNumber();i&&(n+=\":\"+i)}}return n||\"unknown source\"}function i(e){var t=!0,n=r(e),i=e.getFunctionName(),a=e.isConstructor(),s=!(e.isToplevel()||a),c=\"\";if(s){var u=e.getMethodName(),p=o(e);i?(p&&0!==i.indexOf(p)&&(c+=p+\".\"),c+=i,u&&i.lastIndexOf(\".\"+u)!==i.length-u.length-1&&(c+=\" [as \"+u+\"]\")):c+=p+\".\"+(u||\"<anonymous>\")}else a?c+=\"new \"+(i||\"<anonymous>\"):i?c+=i:(t=!1,c+=n);return t&&(c+=\" (\"+n+\")\"),c}function o(e){var t=e.receiver;return t.constructor&&t.constructor.name||null}t.exports=i},{}],88:[function(e,t,n){\"use strict\";function r(e,t){return e.listeners(t).length}t.exports=r},{}],89:[function(e,t,n){\"use strict\";function r(e,t,n){function r(){var r=n();return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r}),r}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}function i(e){return e.toString()}var o=e(\"buffer\"),a=e(\"events\").EventEmitter;r(t.exports,\"bufferConcat\",function(){return o.concat||e(\"./buffer-concat\")}),r(t.exports,\"callSiteToString\",function(){function t(e,t){return t}var n=Error.stackTraceLimit,r={},o=Error.prepareStackTrace;Error.prepareStackTrace=t,Error.stackTraceLimit=2,Error.captureStackTrace(r);var a=r.stack.slice();return Error.prepareStackTrace=o,Error.stackTraceLimit=n,a[0].toString?i:e(\"./callsite-tostring\")}),r(t.exports,\"eventListenerCount\",function(){return a.listenerCount||e(\"./event-listener-count\")})},{\"./buffer-concat\":86,\"./callsite-tostring\":87,\"./event-listener-count\":88,buffer:void 0,events:void 0}],90:[function(e,t,n){\"use strict\";function r(e){return e instanceof a?i(e):e instanceof s?(\"function\"==typeof e.destroy&&e.destroy(),e):e}function i(e){return e.destroy(),\"function\"==typeof e.close&&e.on(\"open\",o),e}function o(){\"number\"==typeof this.fd&&this.close()}var a=e(\"fs\").ReadStream,s=e(\"stream\");t.exports=r},{fs:void 0,stream:void 0}],91:[function(e,t,n){(function(t){function r(e,t){return e.length>=t?e:r(\"0\"+e,t)}var i=e(\"crypto\"),o=e(\"jsbn\").BigInteger;e(\"./lib/ec.js\").ECPointFp;n.ECCurves=e(\"./lib/sec.js\"),n.ECKey=function(e,n,a){var s,c=e(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(a){var e=c.getCurve();this.P=e.decodePointHex(n.toString(\"hex\"))}else{if(n.length!=p)return!1;s=new o(n.toString(\"hex\"),16)}else{var l=u.subtract(o.ONE),f=new o(i.randomBytes(u.bitLength()));s=f.mod(l).add(o.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),\"hex\")),s&&(this.PrivateKey=new t(r(s.toString(16),2*p),\"hex\"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var n=e.P.multiply(s);return new t(r(n.getX().toBigInteger().toString(16),2*p),\"hex\")})}}).call(this,e(\"buffer\").Buffer)},{\"./lib/ec.js\":92,\"./lib/sec.js\":93,buffer:void 0,crypto:void 0,jsbn:171}],92:[function(e,t,n){function r(e,t){this.x=t,this.q=e}function i(e){return e==this?!0:this.q.equals(e.q)&&this.x.equals(e.x)}function o(){return this.x}function a(){return new r(this.q,this.x.negate().mod(this.q))}function s(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function c(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function u(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function p(){return new r(this.q,this.x.square().mod(this.q))}function l(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function f(e,t,n,r){this.curve=e,this.x=t,this.y=n,null==r?this.z=I.ONE:this.z=r,this.zinv=null}function d(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function h(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function m(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,n;return t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t.equals(I.ZERO)?(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(I.ZERO)):!1}function v(){return null==this.x&&null==this.y?!0:this.z.equals(I.ZERO)&&!this.y.toBigInteger().equals(I.ZERO)}function g(){return new f(this.curve,this.x,this.y.negate(),this.z)}function y(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(I.ZERO.equals(n))return I.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new I(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),c=i.multiply(a),u=t.square().multiply(this.z),p=u.subtract(c.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),l=c.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(l),d)}function b(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new I(\"3\"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);I.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o))),a=a.mod(this.curve.q);var s=a.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),c=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(c),u)}function x(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new I(\"3\")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add(a?this:i))}return o}function w(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i}function _(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new f(this,null,null),this.reducer=new P(this.q)}function k(){return this.q}function j(){return this.a}function S(){return this.b}function E(e){return e==this?!0:this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function O(){return this.infinity}function A(e){return new r(this.q,e)}function C(e){this.reducer.reduce(e)}function T(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t=\"0\"+t;for(;n.length<r;)n=\"0\"+n;return\"04\"+t+n}var I=e(\"jsbn\").BigInteger,P=I.prototype.Barrett;r.prototype.equals=i,r.prototype.toBigInteger=o,r.prototype.negate=a,r.prototype.add=s,r.prototype.subtract=c,r.prototype.multiply=u,r.prototype.square=p,r.prototype.divide=l,f.prototype.getX=d,f.prototype.getY=h,f.prototype.equals=m,f.prototype.isInfinity=v,f.prototype.negate=g,f.prototype.add=y,f.prototype.twice=b,f.prototype.multiply=x,f.prototype.multiplyTwo=w,_.prototype.getQ=k,_.prototype.getA=j,_.prototype.getB=S,_.prototype.equals=E,_.prototype.getInfinity=O,_.prototype.fromBigInteger=A,_.prototype.reduce=C,_.prototype.encodePointHex=T,_.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var n=e.length-2,r=e.substr(2,n),i=this.fromBigInteger(new I(r,16)),o=i.multiply(i.square().add(this.getA())).add(this.getB()),a=o.sqrt();if(null==a)throw\"Invalid point compression\";var s=a.toBigInteger();return s.testBit(0)!=t&&(a=this.fromBigInteger(this.getQ().subtract(s))),new f(this,i,a);case 4:case 6:case 7:var n=(e.length-2)/2,r=e.substr(2,n),c=e.substr(n+2,n);return new f(this,this.fromBigInteger(new I(r,16)),this.fromBigInteger(new I(c,16)));default:return null}},_.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t=\"0\"+t;var r;return r=e.getY().toBigInteger().isEven()?\"02\":\"03\",r+t},r.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);-1==t.intValue()&&(this.r=I.ONE.shiftLeft(e).subtract(this.q))}return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var n=e.shiftRight(t),r=e.subtract(n.shiftLeft(t));this.getR().equals(I.ONE)||(n=n.multiply(this.getR())),e=n.add(r)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw\"unsupported\";if(this.q.testBit(1)){var e=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(I.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(I.ONE),n=t.shiftRight(1);if(!this.x.modPow(n,this.q).equals(I.ONE))return null;var i,o,a=t.shiftRight(2),s=a.shiftLeft(1).add(I.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do p=new I(this.q.bitLength(),new SecureRandom);while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(n,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(u))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new r(q,o)}while(i.equals(I.ONE)||i.equals(t));return null},r.prototype.lucasSequence=function(e,t,n){for(var r=n.bitLength(),i=n.getLowestSetBit(),o=I.ONE,a=I.TWO,s=e,c=I.ONE,u=I.ONE,p=r-1;p>=i+1;--p)c=this.modMult(c,u),n.testBit(p)?(u=this.modMult(c,t),o=this.modMult(o,s),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1)))):(u=c,o=this.modReduce(o.multiply(a).subtract(c)),s=this.modReduce(s.multiply(a).subtract(e.multiply(c))),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))));c=this.modMult(c,u),u=this.modMult(c,t),o=this.modReduce(o.multiply(a).subtract(c)),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),c=this.modMult(c,u);for(var p=1;i>=p;++p)o=this.modMult(o,a),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,a]};var n={ECCurveFp:_,ECPointFp:f,ECFieldElementFp:r};t.exports=n},{jsbn:171}],93:[function(e,t,n){function r(e,t,n,r){this.curve=e,this.g=t,this.n=n,this.h=r}function i(){return this.curve}function o(){return this.g}function a(){return this.n}function s(){return this.h}function c(e){return new v(e,16)}function u(){var e=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"E87579C11079F43DD824993C2CEE5ED3\"),i=c(\"FFFFFFFE0000000075A30D1B9038A115\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83\");return new r(a,s,i,o)}function p(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\"),t=v.ZERO,n=c(\"7\"),i=c(\"0100000000000000000001B8FA16DFAB9ACA16B6B3\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE\");return new r(a,s,i,o)}function l(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\"),n=c(\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\"),i=c(\"0100000000000000000001F4C8F927AED3CA752257\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32\");return new r(a,s,i,o)}function f(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\"),t=v.ZERO,n=c(\"3\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\");return new r(a,s,i,o)}function d(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\"),n=c(\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811\");return new r(a,s,i,o)}function h(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\"),n=c(\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\");return new r(a,s,i,o)}function m(){var e=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\"),i=c(\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\");return new r(a,s,i,o)}var v=e(\"jsbn\").BigInteger,g=e(\"./ec.js\").ECCurveFp;r.prototype.getCurve=i,r.prototype.getG=o,r.prototype.getN=a,r.prototype.getH=s,t.exports={secp128r1:u,secp160k1:p,secp160r1:l,secp192k1:f,secp192r1:d,secp224r1:h,secp256r1:m}},{\"./ec.js\":92,jsbn:171}],94:[function(e,t,n){\"use strict\";function r(e,t){function n(){r(),t.apply(null,arguments)}function r(){for(var e,t=0;t<a.length;t++)e=a[t],e.ee.removeListener(e.event,e.fn)}function o(e){t=e}if(!Array.isArray(e))throw new TypeError(\"arg must be an array of [ee, events...] arrays\");for(var a=[],s=0;s<e.length;s++){var c=e[s];if(!Array.isArray(c)||c.length<2)throw new TypeError(\"each array member must be [ee, events...]\");for(var u=c[0],p=1;p<c.length;p++){var l=c[p],f=i(l,n);u.on(l,f),a.push({ee:u,event:l,fn:f})}}return o.cancel=r,o}function i(e,t){return function(n){for(var r=new Array(arguments.length),i=this,o=\"error\"===e?n:null,a=0;a<r.length;a++)r[a]=arguments[a];t(o,i,e,r)}}t.exports=r},{}],95:[function(e,t,n){(function(n){(function(){\"use strict\";function r(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function i(e){return\"function\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){H=e}function s(e){K=e}function c(){return function(){process.nextTick(d)}}function u(){return function(){U(d)}}function p(){var e=0,t=new Z(d),n=document.createTextNode(\"\");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){e.port2.postMessage(0)}}function f(){return function(){setTimeout(d,1)}}function d(){for(var e=0;Y>e;e+=2){var t=ee[e],n=ee[e+1];t(n),ee[e]=void 0,ee[e+1]=void 0}Y=0}function h(){try{var t=e,n=t(\"vertx\");return U=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function m(){}function v(){return new TypeError(\"You cannot resolve a promise with itself\")}function g(){return new TypeError(\"A promises callback cannot return that same promise.\")}function y(e){try{return e.then}catch(t){return ie.error=t,ie}}function b(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function x(e,t,n){K(function(e){var r=!1,i=b(n,t,function(n){r||(r=!0,t!==n?k(e,n):S(e,n))},function(t){r||(r=!0,E(e,t))},\"Settle: \"+(e._label||\" unknown promise\"));!r&&i&&(r=!0,E(e,i))},e)}function w(e,t){t._state===ne?S(e,t._result):t._state===re?E(e,t._result):O(t,void 0,function(t){k(e,t)},function(t){E(e,t)})}function _(e,t){if(t.constructor===e.constructor)w(e,t);else{var n=y(t);n===ie?E(e,ie.error):void 0===n?S(e,t):i(n)?x(e,t,n):S(e,t)}}function k(e,t){e===t?E(e,v()):r(t)?_(e,t):S(e,t)}function j(e){e._onerror&&e._onerror(e._result),A(e)}function S(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(A,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,K(j,e))}function O(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ne]=n,i[o+re]=r,0===o&&e._state&&K(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?I(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function T(e,t){try{return e(t)}catch(n){return oe.error=n,oe}}function I(e,t,n,r){var o,a,s,c,u=i(n);if(u){if(o=T(n,r),o===oe?(c=!0,a=o.error,o=null):s=!0,t===o)return void E(t,g())}else o=r,s=!0;t._state!==te||(u&&s?k(t,o):c?E(t,a):e===ne?S(t,o):e===re&&E(t,o))}function P(e,t){try{t(function(t){k(e,t)},function(t){E(e,t)})}catch(n){E(e,n)}}function F(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(m),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?S(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&S(n.promise,n._result))):E(n.promise,n._validationError())}function M(e){return new ae(this,e).promise}function z(e){function t(e){k(i,e)}function n(e){E(i,e)}var r=this,i=new r(m);if(!W(e))return E(i,new TypeError(\"You must pass an array to race.\")),i;for(var o=e.length,a=0;i._state===te&&o>a;a++)O(r.resolve(e[a]),void 0,t,n);return i}function B(e){var t=this;if(e&&\"object\"==typeof e&&e.constructor===t)return e;var n=new t(m);return k(n,e),n}function N(e){var t=this,n=new t(m);return E(n,e),n}function D(){throw new TypeError(\"You must pass a resolver function as the first argument to the promise constructor\")}function q(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\")}function R(e){this._id=le++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==e&&(i(e)||D(),this instanceof R||q(),P(this,e))}function L(){var e;if(\"undefined\"!=typeof n)e=n;else if(\"undefined\"!=typeof self)e=self;else try{e=Function(\"return this\")()}catch(t){throw new Error(\"polyfill failed because global object is unavailable in this environment\")}var r=e.Promise;r&&\"[object Promise]\"===Object.prototype.toString.call(r.resolve())&&!r.cast||(e.Promise=fe)}var $;$=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};var U,H,V,W=$,Y=0,K=({}.toString,function(e,t){ee[Y]=e,ee[Y+1]=t,Y+=2,2===Y&&(H?H(d):V())}),G=\"undefined\"!=typeof window?window:void 0,J=G||{},Z=J.MutationObserver||J.WebKitMutationObserver,Q=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),X=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel,ee=new Array(1e3);V=Q?c():Z?p():X?l():void 0===G&&\"function\"==typeof e?h():f();var te=void 0,ne=1,re=2,ie=new C,oe=new C;F.prototype._validateInput=function(e){return W(e)},F.prototype._validationError=function(){return new Error(\"Array Methods must be provided an Array\")},F.prototype._init=function(){this._result=new Array(this.length)};var ae=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===te&&t>i;i++)e._eachEntry(r[i],i)},F.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;o(e)?e.constructor===r&&e._state!==te?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},F.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===te&&(r._remaining--,e===re?E(i,n):r._result[t]=n),0===r._remaining&&S(i,r._result)},F.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){n._settledAt(ne,t,e)},function(e){n._settledAt(re,t,e)})};var se=M,ce=z,ue=B,pe=N,le=0,fe=R;R.all=se,R.race=ce,R.resolve=ue,R.reject=pe,R._setScheduler=a,R._setAsap=s,R._asap=K,R.prototype={constructor:R,then:function(e,t){var n=this,r=n._state;if(r===ne&&!e||r===re&&!t)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];K(function(){I(r,i,a,o)})}else O(n,i,e,t);return i},\"catch\":function(e){return this.then(null,e)}};var de=L,he={Promise:fe,polyfill:de};\"function\"==typeof define&&define.amd?define(function(){return he}):\"undefined\"!=typeof t&&t.exports?t.exports=he:\"undefined\"!=typeof this&&(this.ES6Promise=he),de()}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],96:[function(e,t,n){\"use strict\";function r(e){var t=\"\"+e,n=i.exec(t);if(!n)return t;var r,o=\"\",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=\"&quot;\";break;case 38:r=\"&amp;\";break;case 39:r=\"&#39;\";break;case 60:r=\"&lt;\";break;case 62:r=\"&gt;\";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=r}return s!==a?o+t.substring(s,a):o}var i=/[\"'&<>]/;t.exports=r},{}],97:[function(e,t,n){(function(n){\"use strict\";function r(e){if(0===e.length)return'\"0-1B2M2Y8AsgTpgAmY7PhCfg\"';var t=s.createHash(\"md5\").update(e,\"utf8\").digest(\"base64\").replace(u,\"\"),r=\"string\"==typeof e?n.byteLength(e,\"utf8\"):e.length;return'\"'+r.toString(16)+\"-\"+t+'\"'}function i(e,t){if(null==e)throw new TypeError(\"argument entity is required\");var i=o(e),s=t&&\"boolean\"==typeof t.weak?t.weak:i;if(!i&&\"string\"!=typeof e&&!n.isBuffer(e))throw new TypeError(\"argument entity must be string, Buffer, or fs.Stats\");var c=i?a(e):r(e);return s?\"W/\"+c:c}function o(e){return\"function\"==typeof c&&e instanceof c?!0:e&&\"object\"==typeof e&&\"ctime\"in e&&\"[object Date]\"===p.call(e.ctime)&&\"mtime\"in e&&\"[object Date]\"===p.call(e.mtime)&&\"ino\"in e&&\"number\"==typeof e.ino&&\"size\"in e&&\"number\"==typeof e.size}function a(e){var t=e.mtime.getTime().toString(16),n=e.size.toString(16);return'\"'+n+\"-\"+t+'\"'}t.exports=i;var s=e(\"crypto\"),c=e(\"fs\").Stats,u=/=+$/,p=Object.prototype.toString}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,fs:void 0}],98:[function(e,t,n){\"use strict\";t.exports=e(\"./lib/express\")},{\"./lib/express\":100}],99:[function(e,t,n){\"use strict\";function r(e){\"test\"!==this.get(\"env\")&&console.error(e.stack||e.toString())}function i(e,t,n){try{e.render(t,n)}catch(r){n(r)}}var o=e(\"finalhandler\"),a=e(\"./router\"),s=e(\"methods\"),c=e(\"./middleware/init\"),u=e(\"./middleware/query\"),p=e(\"debug\")(\"express:application\"),l=e(\"./view\"),f=e(\"http\"),d=e(\"./utils\").compileETag,h=e(\"./utils\").compileQueryParser,m=e(\"./utils\").compileTrust,v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"utils-merge\"),b=e(\"path\").resolve,x=Array.prototype.slice,w=n=t.exports={},_=\"@@symbol:trust_proxy_default\";w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e=process.env.NODE_ENV||\"development\";this.enable(\"x-powered-by\"),this.set(\"etag\",\"weak\"),this.set(\"env\",e),this.set(\"query parser\",\"extended\"),this.set(\"subdomain offset\",2),this.set(\"trust proxy\",!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),p(\"booting in %s mode\",e),this.on(\"mount\",function(e){this.settings[_]===!0&&\"function\"==typeof e.settings[\"trust proxy fn\"]&&(delete this.settings[\"trust proxy\"],delete this.settings[\"trust proxy fn\"]),this.request.__proto__=e.request,this.response.__proto__=e.response,this.engines.__proto__=e.engines,this.settings.__proto__=e.settings}),this.locals=Object.create(null),this.mountpath=\"/\",this.locals.settings=this.settings,this.set(\"view\",l),this.set(\"views\",b(\"views\")),this.set(\"jsonp callback name\",\"callback\"),\"production\"===e&&this.enable(\"view cache\"),Object.defineProperty(this,\"router\",{get:function(){throw new Error(\"'app.router' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.\")}})},w.lazyrouter=function(){this._router||(this._router=new a({caseSensitive:this.enabled(\"case sensitive routing\"),strict:this.enabled(\"strict routing\")}),this._router.use(u(this.get(\"query parser fn\"))),this._router.use(c.init(this)))},w.handle=function(e,t,n){var i=this._router,a=n||o(e,t,{env:this.get(\"env\"),onerror:r.bind(this)});return i?void i.handle(e,t,a):(p(\"no routes defined on app\"),void a())},w.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"app.use() requires middleware functions\");this.lazyrouter();var o=this._router;return i.forEach(function(e){return e&&e.handle&&e.set?(p(\".use app under %s\",n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){t.__proto__=i.request,n.__proto__=i.response,r(e)})}),void e.emit(\"mount\",this)):o.use(n,e)},this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,t){if(\"function\"!=typeof t)throw new Error(\"callback function required\");var n=\".\"!==e[0]?\".\"+e:e;return this.engines[n]=t,this},w.param=function(e,t){if(this.lazyrouter(),Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this._router.param(e,t),this},w.set=function(e,t){if(1===arguments.length)return this.settings[e];switch(p('set \"%s\" to %o',e,t),this.settings[e]=t,e){case\"etag\":this.set(\"etag fn\",d(t));break;case\"query parser\":this.set(\"query parser fn\",h(t));break;case\"trust proxy\":this.set(\"trust proxy fn\",m(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1})}return this},w.path=function(){return this.parent?this.parent.path()+this.mountpath:\"\"},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},s.forEach(function(e){w[e]=function(t){if(\"get\"===e&&1===arguments.length)return this.set(t);this.lazyrouter();var n=this._router.route(t);return n[e].apply(n,x.call(arguments,1)),this}}),w.all=function(e){this.lazyrouter();for(var t=this._router.route(e),n=x.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},w.del=v[\"function\"](w[\"delete\"],\"app.del: Use app.delete instead\"),w.render=function(e,t,n){var r,o=this.cache,a=n,s=this.engines,c=t,u={};if(\"function\"==typeof t&&(a=t,c={}),y(u,this.locals),c._locals&&y(u,c._locals),y(u,c),null==u.cache&&(u.cache=this.enabled(\"view cache\")),u.cache&&(r=o[e]),!r){var p=this.get(\"view\");if(r=new p(e,{defaultEngine:this.get(\"view engine\"),root:this.get(\"views\"),engines:s}),!r.path){var l=Array.isArray(r.root)&&r.root.length>1?'directories \"'+r.root.slice(0,-1).join('\", \"')+'\" or \"'+r.root[r.root.length-1]+'\"':'directory \"'+r.root+'\"',f=new Error('Failed to lookup view \"'+e+'\" in views '+l);return f.view=r,a(f)}u.cache&&(o[e]=r)}i(r,u,a)},w.listen=function(){var e=f.createServer(this);return e.listen.apply(e,arguments)}},{\"./middleware/init\":101,\"./middleware/query\":102,\"./router\":105,\"./utils\":108,\"./view\":109,\"array-flatten\":3,debug:83,depd:85,finalhandler:115,http:void 0,methods:181,path:void 0,\"utils-merge\":531}],100:[function(e,t,n){\"use strict\";function r(){var e=function(t,n,r){e.handle(t,n,r)};return o(e,i.prototype,!1),o(e,a,!1),e.request={__proto__:u,app:e},e.response={__proto__:p,app:e},e.init(),e}var i=e(\"events\").EventEmitter,o=e(\"merge-descriptors\"),a=e(\"./application\"),s=e(\"./router/route\"),c=e(\"./router\"),u=e(\"./request\"),p=e(\"./response\");n=t.exports=r,n.application=a,n.request=u,n.response=p,n.Route=s,n.Router=c,n.query=e(\"./middleware/query\"),n[\"static\"]=e(\"serve-static\"),[\"json\",\"urlencoded\",\"bodyParser\",\"compress\",\"cookieSession\",\"session\",\"logger\",\"cookieParser\",\"favicon\",\"responseTime\",\"errorHandler\",\"timeout\",\"methodOverride\",\"vhost\",\"csrf\",\"directory\",\"limit\",\"multipart\",\"staticCache\"].forEach(function(e){\nObject.defineProperty(n,e,{get:function(){throw new Error(\"Most middleware (like \"+e+\") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.\")},configurable:!0})})},{\"./application\":99,\"./middleware/query\":102,\"./request\":103,\"./response\":104,\"./router\":105,\"./router/route\":107,events:void 0,\"merge-descriptors\":180,\"serve-static\":416}],101:[function(e,t,n){\"use strict\";n.init=function(e){return function(t,n,r){e.enabled(\"x-powered-by\")&&n.setHeader(\"X-Powered-By\",\"Express\"),t.res=n,n.req=t,t.next=r,t.__proto__=e.request,n.__proto__=e.response,n.locals=n.locals||Object.create(null),r()}}},{}],102:[function(e,t,n){\"use strict\";var r=e(\"parseurl\"),i=e(\"qs\");t.exports=function(e){var t=Object.create(e||null),n=i.parse;return\"function\"==typeof e&&(n=e,t=void 0),void 0!==t&&(void 0===t.allowDots&&(t.allowDots=!1),void 0===t.allowPrototypes&&(t.allowPrototypes=!0)),function(e,i,o){if(!e.query){var a=r(e).query;e.query=n(a,t)}o()}}},{parseurl:364,qs:110}],103:[function(e,t,n){\"use strict\";function r(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}var i=e(\"accepts\"),o=e(\"depd\")(\"express\"),a=e(\"net\").isIP,s=e(\"type-is\"),c=e(\"http\"),u=e(\"fresh\"),p=e(\"range-parser\"),l=e(\"parseurl\"),f=e(\"proxy-addr\"),d=n=t.exports={__proto__:c.IncomingMessage.prototype};d.get=d.header=function(e){var t=e.toLowerCase();switch(t){case\"referer\":case\"referrer\":return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=i(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=i(this);return e.encodings.apply(e,arguments)},d.acceptsEncoding=o[\"function\"](d.acceptsEncodings,\"req.acceptsEncoding: Use acceptsEncodings instead\"),d.acceptsCharsets=function(){var e=i(this);return e.charsets.apply(e,arguments)},d.acceptsCharset=o[\"function\"](d.acceptsCharsets,\"req.acceptsCharset: Use acceptsCharsets instead\"),d.acceptsLanguages=function(){var e=i(this);return e.languages.apply(e,arguments)},d.acceptsLanguage=o[\"function\"](d.acceptsLanguages,\"req.acceptsLanguage: Use acceptsLanguages instead\"),d.range=function(e){var t=this.get(\"Range\");if(t)return p(e,t)},d.param=function(e,t){var n=this.params||{},r=this.body||{},i=this.query||{},a=1===arguments.length?\"name\":\"name, default\";return o(\"req.param(\"+a+\"): Use req.params, req.body, or req.query instead\"),null!=n[e]&&n.hasOwnProperty(e)?n[e]:null!=r[e]?r[e]:null!=i[e]?i[e]:t},d.is=function(e){var t=e;if(!Array.isArray(e)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return s(this,t)},r(d,\"protocol\",function(){var e=this.connection.encrypted?\"https\":\"http\",t=this.app.get(\"trust proxy fn\");return t(this.connection.remoteAddress,0)?(e=this.get(\"X-Forwarded-Proto\")||e,e.split(/\\s*,\\s*/)[0]):e}),r(d,\"secure\",function(){return\"https\"===this.protocol}),r(d,\"ip\",function(){var e=this.app.get(\"trust proxy fn\");return f(this,e)}),r(d,\"ips\",function(){var e=this.app.get(\"trust proxy fn\"),t=f.all(this,e);return t.slice(1).reverse()}),r(d,\"subdomains\",function h(){var e=this.hostname;if(!e)return[];var t=this.app.get(\"subdomain offset\"),h=a(e)?[e]:e.split(\".\").reverse();return h.slice(t)}),r(d,\"path\",function(){return l(this).pathname}),r(d,\"hostname\",function(){var e=this.app.get(\"trust proxy fn\"),t=this.get(\"X-Forwarded-Host\");if(t&&e(this.connection.remoteAddress,0)||(t=this.get(\"Host\")),t){var n=\"[\"===t[0]?t.indexOf(\"]\")+1:0,r=t.indexOf(\":\",n);return-1!==r?t.substring(0,r):t}}),r(d,\"host\",o[\"function\"](function(){return this.hostname},\"req.host: Use req.hostname instead\")),r(d,\"fresh\",function(){var e=this.method,t=this.res.statusCode;return\"GET\"!=e&&\"HEAD\"!=e?!1:t>=200&&300>t||304==t?u(this.headers,this.res._headers||{}):!1}),r(d,\"stale\",function(){return!this.fresh}),r(d,\"xhr\",function(){var e=this.get(\"X-Requested-With\")||\"\";return\"xmlhttprequest\"===e.toLowerCase()})},{accepts:2,depd:85,fresh:120,http:void 0,net:void 0,parseurl:364,\"proxy-addr\":380,\"range-parser\":387,\"type-is\":467}],104:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n,r){function i(){if(!d){d=!0;var e=new Error(\"Request aborted\");e.code=\"ECONNABORTED\",r(e)}}function o(){if(!d){d=!0;var e=new Error(\"EISDIR, read\");e.code=\"EISDIR\",r(e)}}function a(e){d||(d=!0,r(e))}function s(){d||(d=!0,r())}function c(){f=!1}function p(e){return e&&\"ECONNRESET\"===e.code?i():e?a(e):void(d||setImmediate(function(){return f===!1||d?void(d||(d=!0,r())):void i()}))}function l(){f=!0}var f,d=!1;t.on(\"directory\",o),t.on(\"end\",s),t.on(\"error\",a),t.on(\"file\",c),t.on(\"stream\",l),u(e,p),n.headers&&t.on(\"headers\",function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e.setHeader(o,t[o])}}),t.pipe(e)}var i=e(\"content-disposition\"),o=e(\"depd\")(\"express\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"./utils\").isAbsolute,u=e(\"on-finished\"),p=e(\"path\"),l=e(\"utils-merge\"),f=e(\"cookie-signature\").sign,d=e(\"./utils\").normalizeType,h=e(\"./utils\").normalizeTypes,m=e(\"./utils\").setCharset,v=s.STATUS_CODES,g=e(\"cookie\"),y=e(\"send\"),b=p.extname,x=y.mime,w=p.resolve,_=e(\"vary\"),k=t.exports={__proto__:s.ServerResponse.prototype},j=/;\\s*charset\\s*=/;k.status=function(e){return this.statusCode=e,this},k.links=function(e){var t=this.get(\"Link\")||\"\";return t&&(t+=\", \"),this.set(\"Link\",t+Object.keys(e).map(function(t){return\"<\"+e[t]+'>; rel=\"'+t+'\"'}).join(\", \"))},k.send=function(e){var t,r,i,a=e,s=this.req,c=this.app;switch(2===arguments.length&&(\"number\"!=typeof arguments[0]&&\"number\"==typeof arguments[1]?(o(\"res.send(body, status): Use res.status(status).send(body) instead\"),this.statusCode=arguments[1]):(o(\"res.send(status, body): Use res.status(status).send(body) instead\"),this.statusCode=arguments[0],a=arguments[1])),\"number\"==typeof a&&1===arguments.length&&(this.get(\"Content-Type\")||this.type(\"txt\"),o(\"res.send(status): Use res.sendStatus(status) instead\"),this.statusCode=a,a=v[a]),typeof a){case\"string\":this.get(\"Content-Type\")||this.type(\"html\");break;case\"boolean\":case\"number\":case\"object\":if(null===a)a=\"\";else{if(!n.isBuffer(a))return this.json(a);this.get(\"Content-Type\")||this.type(\"bin\")}}\"string\"==typeof a&&(t=\"utf8\",i=this.get(\"Content-Type\"),\"string\"==typeof i&&this.set(\"Content-Type\",m(i,\"utf-8\"))),void 0!==a&&(n.isBuffer(a)||(a=new n(a,t),t=void 0),r=a.length,this.set(\"Content-Length\",r));var u,p=void 0!==r&&c.get(\"etag fn\");return\"function\"!=typeof p||this.get(\"ETag\")||(u=p(a,t))&&this.set(\"ETag\",u),s.fresh&&(this.statusCode=304),204!=this.statusCode&&304!=this.statusCode||(this.removeHeader(\"Content-Type\"),this.removeHeader(\"Content-Length\"),this.removeHeader(\"Transfer-Encoding\"),a=\"\"),\"HEAD\"===s.method?this.end():this.end(a,t),this},k.json=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.json(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.json(status, obj): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i);return this.get(\"Content-Type\")||this.set(\"Content-Type\",\"application/json\"),this.send(a)},k.jsonp=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.jsonp(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i),s=this.req.query[n.get(\"jsonp callback name\")];return this.get(\"Content-Type\")||(this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"application/json\")),Array.isArray(s)&&(s=s[0]),\"string\"==typeof s&&0!==s.length&&(this.charset=\"utf-8\",this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"text/javascript\"),s=s.replace(/[^\\[\\]\\w$.]/g,\"\"),a=a.replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"),a=\"/**/ typeof \"+s+\" === 'function' && \"+s+\"(\"+a+\");\"),this.send(a)},k.sendStatus=function(e){var t=v[e]||String(e);return this.statusCode=e,this.type(\"txt\"),this.send(t)},k.sendFile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,u=t||{};if(!e)throw new TypeError(\"path argument is required to res.sendFile\");if(\"function\"==typeof t&&(i=t,u={}),!u.root&&!c(e))throw new TypeError(\"path must be absolute or specify root to res.sendFile\");var p=encodeURI(e),l=y(o,p,u);r(a,l,u,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORTED\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,c=t||{};\"function\"==typeof t&&(i=t,c={});var u=y(o,e,c);r(a,u,c,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORT\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=o[\"function\"](k.sendfile,\"res.sendfile: Use res.sendFile instead\"),k.download=function(e,t,n){var r=n,o=t;\"function\"==typeof t&&(r=t,o=null);var a={\"Content-Disposition\":i(o||e)},s=w(e);return this.sendFile(s,{headers:a},r)},k.contentType=k.type=function(e){var t=-1===e.indexOf(\"/\")?x.lookup(e):e;return this.set(\"Content-Type\",t)},k.format=function(e){var t=this.req,n=t.next,r=e[\"default\"];r&&delete e[\"default\"];var i=Object.keys(e),o=i.length>0?t.accepts(i):!1;if(this.vary(\"Accept\"),o)this.set(\"Content-Type\",d(o).value),e[o](t,this,n);else if(r)r();else{var a=new Error(\"Not Acceptable\");a.status=a.statusCode=406,a.types=h(i).map(function(e){return e.value}),n(a)}return this},k.attachment=function(e){return e&&this.type(b(e)),this.set(\"Content-Disposition\",i(e)),this},k.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},k.set=k.header=function(e,t){if(2===arguments.length){var n=Array.isArray(t)?t.map(String):String(t);if(\"content-type\"===e.toLowerCase()&&!j.test(n)){var r=x.charsets.lookup(n.split(\";\")[0]);r&&(n+=\"; charset=\"+r.toLowerCase())}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this},k.get=function(e){return this.getHeader(e)},k.clearCookie=function(e,t){var n=l({expires:new Date(1),path:\"/\"},t);return this.cookie(e,\"\",n)},k.cookie=function(e,t,n){var r=l({},n),i=this.req.secret,o=r.signed;if(o&&!i)throw new Error('cookieParser(\"secret\") required for signed cookies');var a=\"object\"==typeof t?\"j:\"+JSON.stringify(t):String(t);return o&&(a=\"s:\"+f(a,i)),\"maxAge\"in r&&(r.expires=new Date(Date.now()+r.maxAge),r.maxAge/=1e3),null==r.path&&(r.path=\"/\"),this.append(\"Set-Cookie\",g.serialize(e,String(a),r)),this},k.location=function(e){var t=e;return\"back\"===e&&(t=this.req.get(\"Referrer\")||\"/\"),this.set(\"Location\",t),this},k.redirect=function(e){var t,r=e,i=302;2===arguments.length&&(\"number\"==typeof arguments[0]?(i=arguments[0],r=arguments[1]):(o(\"res.redirect(url, status): Use res.redirect(status, url) instead\"),i=arguments[1])),this.location(r),r=this.get(\"Location\"),this.format({text:function(){t=v[i]+\". Redirecting to \"+encodeURI(r)},html:function(){var e=a(r);t=\"<p>\"+v[i]+'. Redirecting to <a href=\"'+e+'\">'+e+\"</a></p>\"},\"default\":function(){t=\"\"}}),this.statusCode=i,this.set(\"Content-Length\",n.byteLength(t)),\"HEAD\"===this.req.method?this.end():this.end(t)},k.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o(\"res.vary(): Provide a field name\"),this):(_(this,e),this)},k.render=function(e,t,n){var r=this.req.app,i=n,o=t||{},a=this.req,s=this;\"function\"==typeof t&&(i=t,o={}),o._locals=s.locals,i=i||function(e,t){return e?a.next(e):void s.send(t)},r.render(e,o,i)}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":108,buffer:void 0,\"content-disposition\":73,cookie:76,\"cookie-signature\":75,depd:85,\"escape-html\":96,http:void 0,\"on-finished\":363,path:void 0,send:409,\"utils-merge\":531,vary:532}],105:[function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}function i(e){try{return y(e).pathname}catch(t){return}}function o(e){var t=typeof e;return\"object\"!==t?t:w.call(e).replace(b,\"$1\")}function a(e,t){try{return e.match(t)}catch(n){return n}}function s(e,t){if(\"object\"!=typeof t||!t)return e;var n=h({},t);if(!(0 in e&&0 in t))return h(n,e);for(var r=0,i=0;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],i>r&&delete e[r];return h(n,e)}function c(e,t){for(var n=new Array(arguments.length-2),r=new Array(arguments.length-2),i=0;i<n.length;i++)n[i]=arguments[i+2],r[i]=t[n[i]];return function(i){for(var o=0;o<n.length;o++)t[n[o]]=r[o];return e.apply(this,arguments)}}function u(e,t,n){try{var r=t.join(\",\");e.set(\"Allow\",r),e.send(r)}catch(i){n(i)}}function p(e,t){return function(){var n=new Array(arguments.length+1);n[0]=e;for(var r=0,i=arguments.length;i>r;r++)n[r+1]=arguments[r];t.apply(this,n)}}var l=e(\"./route\"),f=e(\"./layer\"),d=e(\"methods\"),h=e(\"utils-merge\"),m=e(\"debug\")(\"express:router\"),v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"parseurl\"),b=/^\\[object (\\S+)\\]$/,x=Array.prototype.slice,w=Object.prototype.toString,_=t.exports=function(e){function t(e,n,r){t.handle(e,n,r)}var n=e||{};return t.__proto__=_,t.params={},t._params=[],t.caseSensitive=n.caseSensitive,t.mergeParams=n.mergeParams,t.strict=n.strict,t.stack=[],t};_.param=function(e,t){if(\"function\"==typeof e)return v(\"router.param(fn): Refactor to use path params\"),void this._params.push(e);var n,r=this._params,i=r.length;\":\"===e[0]&&(v(\"router.param(\"+JSON.stringify(e)+\", fn): Use router.param(\"+JSON.stringify(e.substr(1))+\", fn) instead\"),e=e.substr(1));for(var o=0;i>o;++o)(n=r[o](e,t))&&(t=n);if(\"function\"!=typeof t)throw new Error(\"invalid param() call for \"+e+\", got \"+t);return(this.params[e]=this.params[e]||[]).push(t),this},_.handle=function(e,t,n){function o(n){var c=\"route\"===n?null:n;if(x&&(e.url=e.url.substr(1),x=!1),0!==b.length&&(e.baseUrl=S,e.url=g+b+e.url.substr(g.length),b=\"\"),y>=k.length)return void setImmediate(E,c);var u=i(e);if(null==u)return E(c);for(var p,d,h;d!==!0&&y<k.length;)if(p=k[y++],d=a(p,u),h=p.route,\"boolean\"!=typeof d&&(c=c||d),d===!0&&h)if(c)d=!1;else{var m=e.method,v=h._handles_method(m);v||\"OPTIONS\"!==m||r(_,h._options()),v||\"HEAD\"===m||(d=!1)}if(d!==!0)return E(c);h&&(e.route=h),e.params=f.mergeParams?s(p.params,j):p.params;var O=p.path;f.process_params(p,w,e,t,function(n){return n?o(c||n):h?p.handle_request(e,t,o):void l(p,c,O,u)})}function l(n,r,i,a){var s=a[i.length];return s&&\"/\"!==s&&\".\"!==s?o(r):(0!==i.length&&(m(\"trim prefix (%s) from url %s\",i,e.url),b=i,e.url=g+e.url.substr(g.length+b.length),v||\"/\"===e.url[0]||(e.url=\"/\"+e.url,x=!0),e.baseUrl=S+(\"/\"===b[b.length-1]?b.substring(0,b.length-1):b)),m(\"%s %s : %s\",n.name,i,e.originalUrl),void(r?n.handle_error(r,e,t,o):n.handle_request(e,t,o)))}var f=this;m(\"dispatching %s %s\",e.method,e.url);var d=1+e.url.indexOf(\"?\"),h=d?d-1:e.url.length,v=\"/\"!==e.url[0]&&1+e.url.substr(0,h).indexOf(\"://\"),g=v?e.url.substr(0,e.url.indexOf(\"/\",2+v)):\"\",y=0,b=\"\",x=!1,w={},_=[],k=f.stack,j=e.params,S=e.baseUrl||\"\",E=c(n,e,\"baseUrl\",\"next\",\"params\");e.next=o,\"OPTIONS\"===e.method&&(E=p(E,function(e,n){return n||0===_.length?e(n):void u(t,_,e)})),e.baseUrl=S,e.originalUrl=e.originalUrl||e.url,o()},_.process_params=function(e,t,n,r,i){function o(e){return e?i(e):h>=c.length?i():(m=0,(p=c[h++])?(u=p.name,l=n.params[u],f=s[u],d=t[u],void 0!==l&&f?d&&(d.match===l||d.error&&\"route\"!==d.error)?(n.params[u]=d.value,o(d.error)):(t[u]=d={error:null,match:l,value:l},void a()):o()):i())}function a(e){var t=f[m++];if(d.value=n.params[p.name],e)return d.error=e,void o(e);if(!t)return o();try{t(n,r,a,l,p.name)}catch(i){a(i)}}var s=this.params,c=e.keys;if(!c||0===c.length)return i();var u,p,l,f,d,h=0,m=0;o()},_.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"Router.use() requires middleware functions\");for(var a=0;a<i.length;a++){var e=i[a];if(\"function\"!=typeof e)throw new TypeError(\"Router.use() requires middleware function but got a \"+o(e));m(\"use %s %s\",n,e.name||\"<anonymous>\");var s=new f(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},_.route=function k(e){var k=new l(e),t=new f(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},k.dispatch.bind(k));return t.route=k,this.stack.push(t),k},d.concat(\"all\").forEach(function(e){_[e]=function(t){var n=this.route(t);return n[e].apply(n,x.call(arguments,1)),this}})},{\"./layer\":106,\"./route\":107,\"array-flatten\":3,debug:83,depd:85,methods:181,parseurl:364,\"utils-merge\":531}],106:[function(e,t,n){\"use strict\";function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);a(\"new %s\",e);var i=t||{};this.handle=n,this.name=n.name||\"<anonymous>\",this.params=void 0,this.path=void 0,this.regexp=o(e,this.keys=[],i),\"/\"===e&&i.end===!1&&(this.regexp.fast_slash=!0)}function i(e){if(\"string\"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=\"Failed to decode param '\"+e+\"'\",t.status=t.statusCode=400),t}}var o=e(\"path-to-regexp\"),a=e(\"debug\")(\"express:router:layer\"),s=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.handle_error=function(e,t,n,r){var i=this.handle;if(4!==i.length)return r(e);try{i(e,t,n,r)}catch(o){r(o)}},r.prototype.handle_request=function(e,t,n){var r=this.handle;if(r.length>3)return n();try{r(e,t,n)}catch(i){n(i)}},r.prototype.match=function(e){if(null==e)return this.params=void 0,this.path=void 0,!1;if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;var t=this.regexp.exec(e);if(!t)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var n=this.keys,r=this.params,o=1;o<t.length;o++){var a=n[o-1],c=a.name,u=i(t[o]);void 0===u&&s.call(r,c)||(r[c]=u)}return!0}},{debug:83,\"path-to-regexp\":375}],107:[function(e,t,n){\"use strict\";function r(e){this.path=e,this.stack=[],i(\"new %s\",e),this.methods={}}var i=e(\"debug\")(\"express:router:route\"),o=e(\"array-flatten\"),a=e(\"./layer\"),s=e(\"methods\"),c=Array.prototype.slice,u=Object.prototype.toString;t.exports=r,r.prototype._handles_method=function(e){if(this.methods._all)return!0;var t=e.toLowerCase();return\"head\"!==t||this.methods.head||(t=\"get\"),Boolean(this.methods[t])},r.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(\"head\");for(var t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},r.prototype.dispatch=function(e,t,n){function r(s){if(s&&\"route\"===s)return n();var c=o[i++];return c?c.method&&c.method!==a?r(s):void(s?c.handle_error(s,e,t,r):c.handle_request(e,t,r)):n(s)}var i=0,o=this.stack;if(0===o.length)return n();var a=e.method.toLowerCase();\"head\"!==a||this.methods.head||(a=\"get\"),e.route=this,r()},r.prototype.all=function(){for(var e=o(c.call(arguments)),t=0;t<e.length;t++){var n=e[t];if(\"function\"!=typeof n){var r=u.call(n),i=\"Route.all() requires callback functions but got a \"+r;throw new TypeError(i)}var s=a(\"/\",{},n);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this},s.forEach(function(e){r.prototype[e]=function(){for(var t=o(c.call(arguments)),n=0;n<t.length;n++){var r=t[n];if(\"function\"!=typeof r){var s=u.call(r),p=\"Route.\"+e+\"() requires callback functions but got a \"+s;throw new Error(p)}i(\"%s %s\",e,this.path);var l=a(\"/\",{},r);l.method=e,this.methods[e]=!0,this.stack.push(l)}return this}})},{\"./layer\":106,\"array-flatten\":3,debug:83,methods:181}],108:[function(e,t,n){(function(t){\"use strict\";function r(e,t){for(var n=e.split(/ *; */),r={value:n[0],quality:1,params:{},originalIndex:t},i=1;i<n.length;++i){var o=n[i].split(/ *= */);\"q\"==o[0]?r.quality=parseFloat(o[1]):r.params[o[0]]=o[1]}return r}function i(e){return d.parse(e,{allowDots:!1,allowPrototypes:!0})}function o(){return{}}var a=e(\"content-disposition\"),s=e(\"content-type\"),c=e(\"depd\")(\"express\"),u=e(\"array-flatten\"),p=e(\"send\").mime,l=(e(\"path\").basename,e(\"etag\")),f=e(\"proxy-addr\"),d=e(\"qs\"),h=e(\"querystring\");n.etag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!1})},n.wetag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!0})},n.isAbsolute=function(e){return\"/\"==e[0]?!0:\":\"==e[1]&&\"\\\\\"==e[2]?!0:\"\\\\\\\\\"==e.substring(0,2)?!0:void 0},n.flatten=c[\"function\"](u,\"utils.flatten: use array-flatten npm module instead\"),n.normalizeType=function(e){return~e.indexOf(\"/\")?r(e):{value:p.lookup(e),params:{}}},n.normalizeTypes=function(e){for(var t=[],r=0;r<e.length;++r)t.push(n.normalizeType(e[r]));return t},n.contentDisposition=c[\"function\"](a,\"utils.contentDisposition: use content-disposition npm module instead\"),n.compileETag=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=n.wetag;break;case!1:break;case\"strong\":t=n.etag;break;case\"weak\":t=n.wetag;break;default:throw new TypeError(\"unknown value for etag function: \"+e)}return t},n.compileQueryParser=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=h.parse;break;case!1:t=o;break;case\"extended\":t=i;break;case\"simple\":t=h.parse;break;default:throw new TypeError(\"unknown value for query parser function: \"+e)}return t},n.compileTrust=function(e){return\"function\"==typeof e?e:e===!0?function(){return!0}:\"number\"==typeof e?function(t,n){return e>n}:(\"string\"==typeof e&&(e=e.split(/ *, */)),f.compile(e||[]))},n.setCharset=function(e,t){if(!e||!t)return e;var n=s.parse(e);return n.parameters.charset=t,s.format(n)}}).call(this,e(\"buffer\").Buffer)},{\"array-flatten\":3,buffer:void 0,\"content-disposition\":73,\"content-type\":74,depd:85,etag:97,path:void 0,\"proxy-addr\":380,qs:110,querystring:void 0,send:409}],109:[function(e,t,n){\"use strict\";function r(t,n){var r=n||{};if(this.defaultEngine=r.defaultEngine,this.ext=p(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error(\"No default engine was specified and no extension was provided.\");var i=t;this.ext||(this.ext=\".\"!==this.defaultEngine[0]?\".\"+this.defaultEngine:this.defaultEngine,i+=this.ext),r.engines[this.ext]||(r.engines[this.ext]=e(this.ext.substr(1)).__express),this.engine=r.engines[this.ext],this.path=this.lookup(i)}function i(e){o('stat \"%s\"',e);try{return s.statSync(e)}catch(t){return}}var o=e(\"debug\")(\"express:view\"),a=e(\"path\"),s=e(\"fs\"),c=(e(\"./utils\"),a.dirname),u=a.basename,p=a.extname,l=a.join,f=a.resolve;t.exports=r,r.prototype.lookup=function(e){var t,n=[].concat(this.root);o('lookup \"%s\"',e);for(var r=0;r<n.length&&!t;r++){var i=n[r],a=f(i,e),s=c(a),p=u(a);t=this.resolve(s,p)}return t},r.prototype.render=function(e,t){o('render \"%s\"',this.path),this.engine(this.path,e,t)},r.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),o=i(r);return o&&o.isFile()?r:(r=l(e,u(t,n),\"index\"+n),o=i(r),o&&o.isFile()?r:void 0)}},{\"./utils\":108,debug:83,fs:void 0,path:void 0}],110:[function(e,t,n){var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":111,\"./stringify\":112}],111:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\",t.strictNullHandling&&(n[r.decode(s)]=null);else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));Object.prototype.hasOwnProperty.call(n,u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&o!==a&&c===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"));var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e),s=[];if(a[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!n.allowPrototypes)return;s.push(a[1])}for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,(n.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}},t.exports=function(e,t){if(t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects=\"boolean\"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes=\"boolean\"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return t.plainObjects?Object.create(null):{};for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p,t)}return r.compact(o)}},{\"./utils\":113}],112:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e,t){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e,t){return e}},strictNullHandling:!1};i.stringify=function(e,t,n,o,a){if(\"function\"==typeof a)e=a(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(o)return r.encode(t);e=\"\"}if(\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[r.encode(t)+\"=\"+r.encode(e)];var s=[];if(\"undefined\"==typeof e)return s;for(var c=Array.isArray(a)?a:Object.keys(e),u=0,p=c.length;p>u;++u){var l=c[u];s=Array.isArray(e)?s.concat(i.stringify(e[l],n(t,l),n,o,a)):s.concat(i.stringify(e[l],t+\"[\"+l+\"]\",n,o,a))}return s},t.exports=function(e,t){t=t||{};var n,r,o=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter,a=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling;\"function\"==typeof t.filter?(r=t.filter,e=r(\"\",e)):Array.isArray(t.filter)&&(n=r=t.filter);var s=[];if(\"object\"!=typeof e||null===e)return\"\";var c;c=t.arrayFormat in i.arrayPrefixGenerators?t.arrayFormat:\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var u=i.arrayPrefixGenerators[c];n||(n=Object.keys(e));for(var p=0,l=n.length;l>p;++p){var f=n[p];s=s.concat(i.stringify(e[f],f,u,a,r))}return s.join(o)}},{\"./utils\":113}],113:[function(e,t,n){var r={};r.hexTable=new Array(256);for(var i=0;256>i;++i)r.hexTable[i]=\"%\"+((16>i?\"0\":\"\")+i.toString(16)).toUpperCase();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,i=e.length;i>r;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):\"object\"==typeof e?e[t]=!0:e=[e,t],e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e,r));for(var i=Object.keys(t),o=0,a=i.length;a>o;++o){var s=i[o],c=t[s];Object.prototype.hasOwnProperty.call(e,s)?e[s]=n.merge(e[s],c,r):e[s]=c}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;\"string\"!=typeof e&&(e=\"\"+e);for(var t=\"\",n=0,i=e.length;i>n;++n){var o=e.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?t+=e[n]:128>o?t+=r.hexTable[o]:2048>o?t+=r.hexTable[192|o>>6]+r.hexTable[128|63&o]:55296>o||o>=57344?t+=r.hexTable[224|o>>12]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o]:(++n,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t+=r.hexTable[240|o>>18]+r.hexTable[128|o>>12&63]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o])}return t},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],114:[function(e,t,n){function r(e){var t,n,r,c,u,p,l,f,d,h=[\"([^%]*)\",\"%\",\"(['\\\\-+ #0]*?)\",\"([1-9]\\\\d*)?\",\"(\\\\.([1-9]\\\\d*))?\",\"[lhjztL]*?\",\"([diouxXfFeEgGaAcCsSp%jr])\"].join(\"\"),m=new RegExp(h),v=Array.prototype.slice.call(arguments,1),g=\"\",y=1;for(a.equal(\"string\",typeof e);null!==(d=m.exec(e));)if(g+=d[1],e=e.substring(d[0].length),t=d[2]||\"\",n=d[3]||0,r=d[4]||\"\",c=d[6],u=!1,l=!1,p=\" \",\"%\"!=c){if(0===v.length)throw new Error(\"too few args to sprintf\");if(f=v.shift(),y++,t.match(/[\\' #]/))throw new Error(\"unsupported flags: \"+t);if(r.length>0)throw new Error(\"non-zero precision not supported\");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(p=\"0\"),t.match(/\\+/)&&(l=!0),c){case\"s\":if(void 0===f||null===f)throw new Error(\"argument \"+y+\": attempted to print undefined or null as a string\");g+=i(p,n,u,f.toString());break;case\"d\":f=Math.floor(f);case\"f\":l=l&&f>0?\"+\":\"\",g+=l+i(p,n,u,f.toString());break;case\"j\":0===n&&(n=10),g+=s.inspect(f,!1,n);break;case\"r\":g+=o(f);break;default:throw new Error(\"unsupported conversion: \"+c)}}else g+=\"%\";return g+=e}function i(e,t,n,r){for(var i=r;i.length<t;)n?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(r(\"invalid type for %%r: %j\",e));if(t=\"EXCEPTION: \"+e.constructor.name+\": \"+e.stack,e.cause&&\"function\"==typeof e.cause){var n=e.cause();n&&(t+=\"\\nCaused by: \"+o(n))}return t}var a=e(\"assert\"),s=e(\"util\");n.sprintf=r},{assert:void 0,util:void 0}],115:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){var r=n||{},c=r.env||process.env.NODE_ENV||\"development\",u=r.onerror;return function(n){var r=t.statusCode;if(!n&&t._header)return void o(\"cannot 404 after headers sent\");if(n){n.statusCode&&(r=n.statusCode),n.status&&(r=n.status),(!r||400>r)&&(r=500);var l=\"production\"===c?s.STATUS_CODES[r]:n.stack||n.toString();l=a(l).replace(/\\n/g,\"<br>\").replace(/  /g,\" &nbsp;\")+\"\\n\"}else r=404,l=\"Cannot \"+a(e.method)+\" \"+a(e.originalUrl||e.url)+\"\\n\";return o(\"default %s\",r),n&&u&&p(u,n,e,t),t._header?e.socket.destroy():void i(e,t,r,l)}}function i(e,t,r,i){function o(){return t.statusCode=r,t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.setHeader(\"Content-Type\",\"text/html; charset=utf-8\"),t.setHeader(\"Content-Length\",n.byteLength(i,\"utf8\")),\"HEAD\"===e.method?void t.end():void t.end(i,\"utf8\")}return l(e)?void o():(u(e),c(e,o),void e.resume())}var o=e(\"debug\")(\"finalhandler\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"on-finished\"),u=e(\"unpipe\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},l=c.isFinished;t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,\"escape-html\":96,http:void 0,\"on-finished\":363,unpipe:529}],116:[function(e,t,n){function r(e,t){var n=\"\";return n=\"string\"==typeof e?e+\":\"+t:e.host+\":\"+e.port+\":\"+(e.localAddress?e.localAddress+\":\":\":\")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||c.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on(\"free\",function(e,n,i){var o=r(n,i);if(t.requests[o]&&t.requests[o].length)t.requests[o].shift().onSocket(e);else if(t.sockets[o].length<t.minSockets){t.freeSockets[o]||(t.freeSockets[o]=[]),t.freeSockets[o].push(e);var a=function(){e.destroy()};e._onIdleError=a,e.on(\"error\",a)}else e.destroy()})}function o(e){i.call(this,e)}function a(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\n\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),p.connect(n)}t.exports=i,i.SSL=o;var s=e(\"util\"),c=e(\"http\").Agent,u=e(\"net\"),p=e(\"tls\"),l=e(\"https\").Agent;s.inherits(i,c),i.defaultMinSockets=5,i.prototype.createConnection=u.createConnection,i.prototype.addRequestNoreuse=c.prototype.addRequest,i.prototype.addRequest=function(e,t,n){var i=r(t,n);if(\"string\"!=typeof t){var o=t;n=o.port,t=o.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[i].pop();a.removeListener(\"error\",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,n)},i.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},s.inherits(o,i),o.prototype.createConnection=a,o.prototype.addRequestNoreuse=l.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],117:[function(e,t,n){(function(n){function r(){if(!(this instanceof r))throw new TypeError(\"Failed to construct FormData: Please use the _new_ operator, this object constructor cannot be called as a function.\");this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],i.call(this)}var i=e(\"combined-stream\"),o=e(\"util\"),a=e(\"path\"),s=e(\"http\"),c=e(\"https\"),u=e(\"url\").parse,p=e(\"fs\"),l=e(\"mime-types\"),f=e(\"async\"),d=e(\"./populate.js\");t.exports=r,o.inherits(r,i),r.LINE_BREAK=\"\\r\\n\",r.DEFAULT_CONTENT_TYPE=\"application/octet-stream\",r.prototype.append=function(e,t,n){n=n||{},\"string\"==typeof n&&(n={filename:n});var r=i.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),o.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(a),r(t),r(s),this._trackLength(a,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):p.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){if(n.header)return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a=\"\",s={\"Content-Disposition\":[\"form-data\",'name=\"'+e+'\"'].concat(i||[]),\"Content-Type\":[].concat(o||[])};for(var c in s)s[c].length&&(a+=c+\": \"+s[c].join(\"; \")+r.LINE_BREAK);return\"--\"+this.getBoundary()+r.LINE_BREAK+a+r.LINE_BREAK},r.prototype._getContentDisposition=function(e,t){var n,r=t.filename||e.path;return!r&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(r=e.client._httpMessage.path),r&&(n='filename=\"'+a.basename(r)+'\"'),n},r.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(n=e.headers[\"content-type\"]),!n&&t.filename&&(n=l.lookup(t.filename)),n||\"object\"!=typeof e||(n=r.DEFAULT_CONTENT_TYPE),n},r.prototype._multiPartFooter=function(){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"+r.LINE_BREAK},r.prototype.getHeaders=function(e){var t,n={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),e},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void f.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,i={method:\"post\"};return\"string\"==typeof e?(e=u(e),r=d({port:e.port,path:e.pathname,host:e.hostname},i)):(r=d(e,i),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==r.protocol?c.request(r):s.request(r),this.getLength(function(e,r){return e?void this._error(e):(n.setHeader(\"Content-Length\",r),this.pipe(n),void(t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{\"./populate.js\":118,async:11,buffer:void 0,\"combined-stream\":72,fs:void 0,http:void 0,https:void 0,\"mime-types\":184,path:void 0,url:void 0,util:void 0}],118:[function(e,t,n){t.exports=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e[n]&&(e[n]=t[n]);return e}},{}],119:[function(e,t,n){function r(e){if(!e)throw new TypeError(\"argument req is required\");var t=(e.headers[\"x-forwarded-for\"]||\"\").split(/ *, */).filter(Boolean).reverse(),n=e.connection.remoteAddress,r=[n].concat(t);return r}t.exports=r},{}],120:[function(e,t,n){function r(e,t){var n=!0,r=!0,i=e[\"if-modified-since\"],o=e[\"if-none-match\"],a=t[\"last-modified\"],s=t.etag,c=e[\"cache-control\"];return i||o?c&&-1!==c.indexOf(\"no-cache\")?!1:(o&&(o=o.split(/ *, */)),o&&(n=o.some(function(e){return\"*\"===e||e===s||e===\"W/\"+s})),i&&(i=new Date(i),a=new Date(a),r=i>=a),!(!n||!r)):!1}t.exports=r},{}],121:[function(e,t,n){var r=e(\"util\"),i=/[\\{\\[]/,o=/[\\}\\]]/;t.exports=function(){var e=[],t=0,n=function(n){for(var r=\"\";r.length<2*t;)r+=\"  \";e.push(r+n)},a=function(e){return e?o.test(e.trim()[0])&&i.test(e[e.length-1])?(t--,n(r.format.apply(r,arguments)),t++,a):i.test(e[e.length-1])?(n(r.format.apply(r,arguments)),t++,a):o.test(e.trim()[0])?(t--,n(r.format.apply(r,arguments)),a):(n(r.format.apply(r,arguments)),a):a};return a.toString=function(){return e.join(\"\\n\")},a.toFunction=function(e){var t=\"return (\"+a.toString()+\")\",n=Object.keys(e||{}).map(function(e){return e}),r=n.map(function(t){return e[t]});return Function.apply(null,n.concat(t)).apply(null,r)},arguments.length&&a.apply(null,arguments),a}},{util:void 0}],122:[function(e,t,n){var r=e(\"is-property\"),i=function(e,t){return r(t)?e+\".\"+t:e+\"[\"+JSON.stringify(t)+\"]\"};i.valid=r,i.property=function(e){return r(e)?e:JSON.stringify(e)},t.exports=i},{\"is-property\":161}],123:[function(e,t,n){\"use strict\";function r(e){this.name=\"ValidationError\",this.errors=e}r.prototype=Error.prototype,t.exports=r},{}],124:[function(e,t,n){\"use strict\";var r=e(\"pinkie-promise\"),i=e(\"./runner\"),o=e(\"./schemas\"),a=function(e){return function(t){return new r(function(n,r){i(e,t,function(e,i){return null===e?n(t):r(e)})})}};t.exports=a(o.har),Object.keys(o).map(function(e){t.exports[e]=a(o[e])})},{\"./runner\":125,\"./schemas\":133,\"pinkie-promise\":377}],125:[function(e,t,n){\"use strict\";var r=e(\"./schemas\"),i=e(\"./error\"),o=e(\"is-my-json-valid\");t.exports=function(e,t,n){var a=!1,s=o(e,{greedy:!0,verbose:!0,schemas:r});return void 0!==t&&(a=s(t)),\"function\"==typeof n?n(s.errors?new i(s.errors):null,a):a}},{\"./error\":123,\"./schemas\":133,\"is-my-json-valid\":160}],126:[function(e,t,n){t.exports={properties:{beforeRequest:{$ref:\"#cacheEntry\"},afterRequest:{$ref:\"#cacheEntry\"},comment:{type:\"string\"}}}},{}],127:[function(e,t,n){t.exports={oneOf:[{type:\"object\",optional:!0,required:[\"lastAccess\",\"eTag\",\"hitCount\"],properties:{expires:{type:\"string\"},lastAccess:{type:\"string\"},eTag:{type:\"string\"},hitCount:{type:\"integer\"},comment:{type:\"string\"}}},{type:null,additionalProperties:!1}]}},{}],128:[function(e,t,n){t.exports={type:\"object\",required:[\"size\",\"mimeType\"],properties:{size:{type:\"integer\"},compression:{type:\"integer\"},mimeType:{type:\"string\"},text:{type:\"string\"},encoding:{type:\"string\"},comment:{type:\"string\"}}}},{}],129:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},path:{type:\"string\"},domain:{type:\"string\"},expires:{type:[\"string\",\"null\"],format:\"date-time\"},httpOnly:{type:\"boolean\"},secure:{type:\"boolean\"},comment:{type:\"string\"}}}},{}],130:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"version\"],properties:{name:{type:\"string\"},version:{type:\"string\"},comment:{type:\"string\"}}}},{}],131:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"time\",\"request\",\"response\",\"cache\",\"timings\"],properties:{pageref:{type:\"string\"},startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},time:{type:\"number\",min:0},request:{$ref:\"#request\"},response:{$ref:\"#response\"},cache:{$ref:\"#cache\"},timings:{$ref:\"#timings\"},serverIPAddress:{type:\"string\",oneOf:[{format:\"ipv4\"},{format:\"ipv6\"}]},connection:{type:\"string\"},comment:{type:\"string\"}}}},{}],132:[function(e,t,n){t.exports={type:\"object\",required:[\"log\"],properties:{log:{$ref:\"#log\"}}}},{}],133:[function(e,t,n){\"use strict\";var r={cache:e(\"./cache.json\"),cacheEntry:e(\"./cacheEntry.json\"),content:e(\"./content.json\"),cookie:e(\"./cookie.json\"),creator:e(\"./creator.json\"),entry:e(\"./entry.json\"),har:e(\"./har.json\"),log:e(\"./log.json\"),page:e(\"./page.json\"),pageTimings:e(\"./pageTimings.json\"),postData:e(\"./postData.json\"),record:e(\"./record.json\"),request:e(\"./request.json\"),response:e(\"./response.json\"),timings:e(\"./timings.json\")};r.cache.properties.beforeRequest=r.cacheEntry,r.cache.properties.afterRequest=r.cacheEntry,r.page.properties.pageTimings=r.pageTimings,r.request.properties.cookies.items=r.cookie,r.request.properties.headers.items=r.record,r.request.properties.queryString.items=r.record,r.request.properties.postData=r.postData,r.response.properties.cookies.items=r.cookie,r.response.properties.headers.items=r.record,r.response.properties.content=r.content,r.entry.properties.request=r.request,r.entry.properties.response=r.response,r.entry.properties.cache=r.cache,r.entry.properties.timings=r.timings,r.log.properties.creator=r.creator,r.log.properties.browser=r.creator,r.log.properties.pages.items=r.page,r.log.properties.entries.items=r.entry,r.har.properties.log=r.log,t.exports=r},{\"./cache.json\":126,\"./cacheEntry.json\":127,\"./content.json\":128,\"./cookie.json\":129,\"./creator.json\":130,\"./entry.json\":131,\"./har.json\":132,\"./log.json\":134,\"./page.json\":135,\"./pageTimings.json\":136,\"./postData.json\":137,\"./record.json\":138,\"./request.json\":139,\"./response.json\":140,\"./timings.json\":141}],134:[function(e,t,n){t.exports={type:\"object\",required:[\"version\",\"creator\",\"entries\"],properties:{version:{type:\"string\"},creator:{$ref:\"#creator\"},browser:{$ref:\"#creator\"},pages:{type:\"array\",items:{$ref:\"#page\"}},entries:{type:\"array\",items:{$ref:\"#entry\"}},comment:{type:\"string\"}}}},{}],135:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"id\",\"title\",\"pageTimings\"],properties:{startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},id:{type:\"string\",unique:!0},title:{type:\"string\"},pageTimings:{$ref:\"#pageTimings\"},comment:{type:\"string\"}}}},{}],136:[function(e,t,n){t.exports={type:\"object\",properties:{onContentLoad:{type:\"number\",min:-1},onLoad:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],137:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"mimeType\"],properties:{mimeType:{type:\"string\"},text:{type:\"string\"},params:{type:\"array\",required:[\"name\"],properties:{name:{type:\"string\"},value:{type:\"string\"},fileName:{type:\"string\"},contentType:{type:\"string\"},comment:{type:\"string\"}}},comment:{type:\"string\"}}}},{}],138:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},comment:{type:\"string\"}}}},{}],139:[function(e,t,n){t.exports={type:\"object\",required:[\"method\",\"url\",\"httpVersion\",\"cookies\",\"headers\",\"queryString\",\"headersSize\",\"bodySize\"],properties:{method:{type:\"string\"},url:{type:\"string\",format:\"uri\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},queryString:{type:\"array\",items:{$ref:\"#record\"}},postData:{$ref:\"#postData\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],140:[function(e,t,n){t.exports={type:\"object\",required:[\"status\",\"statusText\",\"httpVersion\",\"cookies\",\"headers\",\"content\",\"redirectURL\",\"headersSize\",\"bodySize\"],properties:{status:{type:\"integer\"},statusText:{type:\"string\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},content:{$ref:\"#content\"},redirectURL:{type:\"string\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],141:[function(e,t,n){t.exports={required:[\"send\",\"wait\",\"receive\"],properties:{dns:{type:\"number\",min:-1},connect:{type:\"number\",min:-1},blocked:{type:\"number\",min:-1},send:{type:\"number\",min:-1},wait:{type:\"number\",min:-1},receive:{type:\"number\",min:-1},ssl:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],142:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var c={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return c.err=\"Invalid argument type\",c;var u=n.timestamp||s.nowSecs(n.localtimeOffsetMsec),p=n.credentials;if(!(p&&p.id&&p.key&&p.algorithm))return c.err=\"Invalid credential object\",c;if(-1===a.algorithms.indexOf(p.algorithm))return c.err=\"Unknown algorithm\",c;\"string\"==typeof e&&(e=r.parse(e));var l={ts:u,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};c.artifacts=l,l.hash||!n.payload&&\"\"!==n.payload||(l.hash=a.calculatePayloadHash(n.payload,p.algorithm,n.contentType));var f=a.calculateMac(\"header\",p,l),d=null!==l.ext&&void 0!==l.ext&&\"\"!==l.ext,h='Hawk id=\"'+p.id+'\", ts=\"'+l.ts+'\", nonce=\"'+l.nonce+(l.hash?'\", hash=\"'+l.hash:\"\")+(d?'\", ext=\"'+i.escapeHeaderAttribute(l.ext):\"\")+'\", mac=\"'+f+'\"';return l.app&&(h+=', app=\"'+l.app+(l.dlg?'\", dlg=\"'+l.dlg:\"\")+'\"'),c.field=h,c},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var u=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(u instanceof Error)return!1;n.ext=u.ext,n.hash=u.hash;var p=a.calculateMac(\"response\",t,n);if(p!==u.mac)return!1;if(!r.payload&&\"\"!==r.payload)return!0;if(!u.hash)return!1;var l=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return l===u.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return\"\";if(-1===a.algorithms.indexOf(o.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var c=Math.floor(n/1e3)+t.ttlSec,u=a.calculateMac(\"bewit\",o,{ts:c,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),p=o.id+\"\\\\\"+c+\"\\\\\"+u+\"\\\\\"+t.ext;return i.base64urlEncode(p)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||s.nowSecs(r.localtimeOffsetMsec),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":143,\"./utils\":146,cryptiles:78,hoek:149,url:void 0}],143:[function(e,t,n){var r=e(\"crypto\"),i=e(\"url\"),o=e(\"./utils\");n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=t.resource||\"\";if(r&&\"/\"!==r[0]){var o=i.parse(r,!1);r=o.path}var a=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+r+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(a+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),a+=\"\\n\",t.app&&(a+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),a},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var i=r.createHash(e);return i.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),i.update(o.parseContentType(t)+\"\\n\"),i},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=o.nowSecs(t),i=n.calculateTsMac(r,e);return{ts:r,tsm:i}}},{\"./utils\":146,crypto:void 0,url:void 0}],144:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":142,\"./crypto\":143,\"./server\":145,\"./utils\":146,boom:51,sntp:434}],145:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\"),c={};n.authenticate=function(e,t,n,u){u=i.nextTick(u),n.nonceFunc=n.nonceFunc||c.nonceFunc,n.timestampSkewSec=n.timestampSkewSec||60;var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));var f=s.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return u(f);var d={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};return f.id&&f.ts&&f.nonce&&f.mac?void t(f.id,function(e,t){if(e)return u(e,t||null,d);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,d);var i=a.calculateMac(\"header\",t,d);if(!o.fixedTimeComparison(i,f.mac))return u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d);if(n.payload||\"\"===n.payload){if(!f.hash)return u(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,d);var s=a.calculatePayloadHash(n.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(s,f.hash))return u(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,d)}n.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return u(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,d);if(Math.abs(1e3*f.ts-p)>1e3*n.timestampSkewSec){var i=a.timestampMessage(t,n.localtimeOffsetMsec);return u(r.unauthorized(\"Stale timestamp\",\"Hawk\",i),t,d)}return u(null,t,d)})}):u(r.badRequest(\"Missing attributes\"),null,d)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";t.hash||!n.payload&&\"\"!==n.payload||(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+i.escapeHeaderAttribute(t.ext)+'\"'),o},c.bewitRegex=/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/,n.authenticateBewit=function(e,t,n,u){u=i.nextTick(u);var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));if(l.url.length>s.limits.maxMatchLength)return u(r.badRequest(\"Resource path exceeds max length\"));var f=l.url.match(c.bewitRegex);if(!f)return u(r.unauthorized(null,\"Hawk\"));if(!f[3])return u(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==l.method&&\"HEAD\"!==l.method)return u(r.unauthorized(\"Invalid method\",\"Hawk\"));if(l.authorization)return u(r.badRequest(\"Multiple authentications\"));var d=i.base64urlDecode(f[3]);if(d instanceof Error)return u(r.badRequest(\"Invalid bewit encoding\"));var h=d.split(\"\\\\\");if(4!==h.length)return u(r.badRequest(\"Invalid bewit structure\"));var m={id:h[0],exp:parseInt(h[1],10),mac:h[2],ext:h[3]||\"\"};if(!m.id||!m.exp||!m.mac)return u(r.badRequest(\"Missing bewit attributes\"));var v=f[1];return f[4]&&(v+=f[2]+f[4]),1e3*m.exp<=p?u(r.unauthorized(\"Access expired\",\"Hawk\"),null,m):void t(m.id,function(e,t){if(e)return u(e,t||null,m.ext);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,m);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,m);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,m);var n=a.calculateMac(\"bewit\",t,{ts:m.exp,nonce:\"\",method:\"GET\",resource:v,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(n,m.mac)?u(null,t,m):u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,m)})},n.authenticateMessage=function(e,t,n,u,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var d=s.now(l.localtimeOffsetMsec);return u.id&&u.ts&&u.nonce&&u.hash&&u.mac?void p(u.id,function(i,s){if(i)return f(i,s||null);if(!s)return f(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!s.key||!s.algorithm)return f(r.internal(\"Invalid credentials\"),s);if(-1===a.algorithms.indexOf(s.algorithm))return f(r.internal(\"Unknown algorithm\"),s);var c={ts:u.ts,nonce:u.nonce,host:e,port:t,hash:u.hash},p=a.calculateMac(\"message\",s,c);if(!o.fixedTimeComparison(p,u.mac))return f(r.unauthorized(\"Bad mac\",\"Hawk\"),s);var h=a.calculatePayloadHash(n,s.algorithm);return o.fixedTimeComparison(h,u.hash)?void l.nonceFunc(s.key,u.nonce,u.ts,function(e){return e?f(r.unauthorized(\"Invalid nonce\",\"Hawk\"),s):Math.abs(1e3*u.ts-d)>1e3*l.timestampSkewSec?f(r.unauthorized(\"Stale timestamp\"),s):f(null,s)}):f(r.unauthorized(\"Bad message hash\",\"Hawk\"),s)}):f(r.badRequest(\"Invalid authorization\"))},c.nonceFunc=function(e,t,n,r){return r()}},{\"./crypto\":143,\"./utils\":146,boom:51,cryptiles:78,hoek:149}],146:[function(e,t,n){var r=e(\"sntp\"),i=e(\"boom\"),o={};n.version=function(){return e(\"../package.json\").version},n.limits={maxMatchLength:4096},o.hostHeaderRegex=/^(?:(?:\\r\\n)?\\s)*((?:[^:]+)|(?:\\[[^\\]]+\\]))(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/,n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var r=e.headers[t];if(!r)return null;if(r.length>n.limits.maxMatchLength)return null;var i=r.match(o.hostHeaderRegex);return i?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;var r;if(!(t.host&&t.port||(r=n.parseHost(e,t.hostHeaderName))))return new Error(\"Invalid Host header\");var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(e){return r.now()+(e||0)},n.nowSecs=function(e){return Math.floor(n.now(e)/1e3)},o.authHeaderRegex=/^(\\w+)(?:\\s+(.*))?$/,o.attributeRegex=/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/,n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return i.unauthorized(null,\"Hawk\");if(e.length>n.limits.maxMatchLength)return i.badRequest(\"Header length too long\");var r=e.match(o.authHeaderRegex);if(!r)return i.badRequest(\"Invalid header syntax\");var a=r[1];if(\"hawk\"!==a.toLowerCase())return i.unauthorized(null,\"Hawk\");var s=r[2];if(!s)return i.badRequest(\"Invalid header syntax\");var c={},u=\"\",p=s.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(u=\"Unknown attribute: \"+n):null===r.match(o.attributeRegex)?void(u=\"Bad attribute value: \"+n):c.hasOwnProperty(n)?void(u=\"Duplicate attribute: \"+n):(c[n]=r,\"\")});return\"\"!==p?i.badRequest(u||\"Bad header format\"):c},n.unauthorized=function(e,t){return i.unauthorized(e,\"Hawk\",t)}},{\"../package.json\":147,boom:51,sntp:434}],147:[function(e,t,n){t.exports={_args:[[\"hawk@~3.1.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"hawk@>=3.1.0 <3.2.0\",_id:\"hawk@3.1.3\",_inCache:!0,_installable:!0,_location:\"/hawk\",_nodeVersion:\"5.4.1\",_npmUser:{email:\"eran@hammer.io\",name:\"hueniverse\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"hawk\",raw:\"hawk@~3.1.0\",rawSpec:\"~3.1.0\",scope:null,spec:\">=3.1.0 <3.2.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\",_shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",_shrinkwrap:null,_spec:\"hawk@~3.1.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"eran@hammer.io\",name:\"Eran Hammer\",url:\"http://hueniverse.com\"},browser:\"./lib/browser.js\",bugs:{url:\"https://github.com/hueniverse/hawk/issues\"},contributors:[],dependencies:{boom:\"2.x.x\",cryptiles:\"2.x.x\",hoek:\"2.x.x\",sntp:\"1.x.x\"},description:\"HTTP Hawk Authentication Scheme\",devDependencies:{code:\"1.x.x\",lab:\"5.x.x\"},directories:{},dist:{shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",tarball:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\"},engines:{node:\">=0.10.32\"},gitHead:\"2f0b93b34ed9b0ebc865838ef70c6a4035591430\",homepage:\"https://github.com/hueniverse/hawk#readme\",keywords:[\"authentication\",\"hawk\",\"http\",\"scheme\"],license:\"BSD-3-Clause\",main:\"lib/index.js\",maintainers:[{name:\"hueniverse\",email:\"eran@hueniverse.com\"}],name:\"hawk\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/hueniverse/hawk.git\"},scripts:{test:\"lab -a code -t 100 -L\",\"test-cov-html\":\"lab -a code -r html -o coverage.html\"},version:\"3.1.3\"}},{}],148:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";var i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],149:[function(e,t,n){(function(t){var r=e(\"crypto\"),i=e(\"path\"),o=e(\"util\"),a=e(\"./escape\"),s={};n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o,a=!1;if(Array.isArray(e))o=[],a=!0;else if(t.isBuffer(e))o=new t(e);else if(e instanceof Date)o=new Date(e.getTime());else if(e instanceof RegExp)o=new RegExp(e);else{var s=Object.getPrototypeOf(e);s&&s.isImmutable?o=e:(o=Object.create(s),a=!0)}if(r.orig.push(e),r.copy.push(o),a)for(var c=Object.getOwnPropertyNames(e),u=0,p=c.length;p>u;++u){var l=c[u],f=Object.getOwnPropertyDescriptor(e,l);f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=n.clone(e[l],r)}return o},n.merge=function(e,r,i,o){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===r||void 0===r||\"object\"==typeof r,\"Invalid source value: must be null, undefined, or an object\"),!r)return e;if(Array.isArray(r)){n.assert(Array.isArray(e),\"Cannot merge array onto an object\"),o===!1&&(e.length=0);for(var a=0,s=r.length;s>a;++a)e.push(n.clone(r[a]));return e}for(var c=Object.keys(r),u=0,p=c.length;p>u;++u){var l=c[u],f=r[l];f&&\"object\"==typeof f?!e[l]||\"object\"!=typeof e[l]||Array.isArray(e[l])^Array.isArray(f)||f instanceof Date||t.isBuffer(f)||f instanceof RegExp?e[l]=n.clone(f):n.merge(e[l],f,i,o):null!==f&&void 0!==f?e[l]=f:i!==!1&&(e[l]=f)}return e},n.applyToDefaults=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var i=n.clone(e);return t===!0?i:n.merge(i,t,r===!0,!1)},n.cloneWithShallow=function(e,t){if(!e||\"object\"!=typeof e)return e;var r=s.store(e,t),i=n.clone(e);return s.restore(i,e,r),i},s.store=function(e,t){for(var r={},i=0,o=t.length;o>i;++i){var a=t[i],c=n.reach(e,a);void 0!==c&&(r[a]=c,s.reachSet(e,a,void 0))}return r},s.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var a=r[i];s.reachSet(e,a,n[a]),s.reachSet(t,a,n[a])}},s.reachSet=function(e,t,n){for(var r=t.split(\".\"),i=e,o=0,a=r.length;a>o;++o){var s=r[o];o+1===a&&(i[s]=n),i=i[s]}},n.applyToDefaultsWithShallow=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),n.assert(r&&Array.isArray(r),\"Invalid keys\"),!t)return null;var i=n.cloneWithShallow(e,r);if(t===!0)return i;var o=s.store(t,r);return n.merge(i,t,!1,!1),s.restore(i,t,o),i},n.deepEqual=function(e,r,i,o){i=i||{prototype:!0};var a=typeof e;if(a!==typeof r)return!1;if(\"object\"!==a||null===e||null===r)return e===r?0!==e||1/e===1/r:e!==e&&r!==r;if(o=o||[],-1!==o.indexOf(e))return!0;if(o.push(e),Array.isArray(e)){if(!Array.isArray(r))return!1;if(!i.part&&e.length!==r.length)return!1;for(var s=0,c=e.length;c>s;++s){if(i.part){for(var u=!1,p=0,l=r.length;l>p;++p)if(n.deepEqual(e[s],r[p],i,o)){u=!0;break}return u}if(!n.deepEqual(e[s],r[s],i,o))return!1;\n}return!0}if(t.isBuffer(e)){if(!t.isBuffer(r))return!1;if(e.length!==r.length)return!1;for(var f=0,d=e.length;d>f;++f)if(e[f]!==r[f])return!1;return!0}if(e instanceof Date)return r instanceof Date&&e.getTime()===r.getTime();if(e instanceof RegExp)return r instanceof RegExp&&e.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;var h=Object.getOwnPropertyNames(e);if(!i.part&&h.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,v=h.length;v>m;++m){var g=h[m],y=Object.getOwnPropertyDescriptor(e,g);if(y.get){if(!n.deepEqual(y,Object.getOwnPropertyDescriptor(r,g),i,o))return!1}else if(!n.deepEqual(e[g],r[g],i,o))return!1}return!0},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=Array.isArray(e)?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.contain=function(e,t,r){var i=null;\"object\"!=typeof e||\"object\"!=typeof t||Array.isArray(e)||Array.isArray(t)?t=[].concat(t):(i=t,t=Object.keys(t)),r=r||{},n.assert(arguments.length>=2,\"Insufficient arguments\"),n.assert(\"string\"==typeof e||\"object\"==typeof e,\"Reference must be string or an object\"),n.assert(t.length,\"Values array cannot be empty\");var o,a;if(r.deep){o=n.deepEqual;var s=r.hasOwnProperty(\"only\"),c=r.hasOwnProperty(\"part\");a={prototype:s?r.only:c?!r.part:!1,part:s?!r.only:c?r.part:!0}}else o=function(e,t){return e===t};for(var u=!1,p=new Array(t.length),l=0,f=p.length;f>l;++l)p[l]=0;if(\"string\"==typeof e){var d=\"(\";for(l=0,f=t.length;f>l;++l){var h=t[l];n.assert(\"string\"==typeof h,\"Cannot compare string reference to non-string value\"),d+=(l?\"|\":\"\")+n.escapeRegex(h)}var m=new RegExp(d+\")\",\"g\"),v=e.replace(m,function(e,n){var r=t.indexOf(n);return++p[r],\"\"});u=!!v}else if(Array.isArray(e))for(l=0,f=e.length;f>l;++l){for(var g=0,y=t.length,b=!1;y>g&&b===!1;++g)b=o(t[g],e[l],a)&&g;b!==!1?++p[b]:u=!0}else{var x=Object.keys(e);for(l=0,f=x.length;f>l;++l){var w=x[l],_=t.indexOf(w);if(-1!==_){if(i&&!o(i[w],e[w],a))return!1;++p[_]}else u=!0}}var k=!1;for(l=0,f=p.length;f>l;++l)if(k=k||!!p[l],r.once&&p[l]>1||!r.part&&!p[l])return!1;return r.only&&u?!1:k},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.reach=function(e,t,r){if(t===!1||null===t||\"undefined\"==typeof t)return e;r=r||{},\"string\"==typeof r&&(r={separator:r});for(var i=t.split(r.separator||\".\"),o=e,a=0,s=i.length;s>a;++a){var c=i[a];if(\"-\"===c[0]&&Array.isArray(o)&&(c=c.slice(1,c.length),c=o.length-c),!o||!o.hasOwnProperty(c)||\"object\"!=typeof o&&r.functions===!1){n.assert(!r.strict||a+1===s,\"Missing segment\",c,\"in reach path \",t),n.assert(\"object\"==typeof o||r.functions===!0||\"function\"!=typeof o,\"Invalid segment\",c,\"in reach path \",t),o=r[\"default\"];break}o=o[c]}return o},n.reachTemplate=function(e,t,r){return t.replace(/{([^}]+)}/g,function(t,i){var o=n.reach(e,i,r);return void 0===o||null===o?\"\":o})},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var t=[],r=1,i=arguments.length;i>r;++r)\"\"!==arguments[r]&&t.push(arguments[r]);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:n.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.Timer=function(){this.ts=0,this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.Bench=function(){this.ts=0,this.reset()},n.Bench.prototype.reset=function(){this.ts=n.Bench.now()},n.Bench.prototype.elapsed=function(){return n.Bench.now()-this.ts},n.Bench.now=function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.base64urlEncode=function(e,n){var r=t.isBuffer(e)?e:new t(e,n||\"binary\");return r.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e,n){if(e&&!/^[\\w\\-]*$/.test(e))return new Error(\"Invalid character\");try{var r=new t(e,\"base64\");return\"buffer\"===n?r:r.toString(n||\"binary\")}catch(i){return i}},n.escapeHeaderAttribute=function(e){return n.assert(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/.test(e),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return a.escapeHtml(e)},n.escapeJavaScript=function(e){return a.escapeJavaScript(e)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}},n.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},n.isAbsolutePath=function(e,t){return e?i.isAbsolute?i.isAbsolute(e):(t=t||process.platform,\"win32\"!==t?\"/\"===e[0]:!!/^(?:[a-zA-Z]:[\\\\\\/])|(?:[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/])/.test(e)):!1},n.isInteger=function(e){return\"number\"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},n.ignore=function(){},n.inherits=o.inherits,n.format=o.format,n.transform=function(e,t,r){if(n.assert(null===e||void 0===e||\"object\"==typeof e||Array.isArray(e),\"Invalid source object: must be null, undefined, an object, or an array\"),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)i.push(n.transform(e[o],t,r));return i}for(var s={},c=Object.keys(t),u=0,p=c.length;p>u;++u){var l=c[u],f=l.split(\".\"),d=t[l];n.assert(\"string\"==typeof d,'All mappings must be \".\" delineated strings');for(var h,m=s;f.length>1;)h=f.shift(),m[h]||(m[h]={}),m=m[h];h=f.shift(),m[h]=n.reach(e,d,r)}return s},n.uniqueFilename=function(e,t){t=t?\".\"!==t[0]?\".\"+t:t:\"\",e=i.resolve(e);var n=[Date.now(),process.pid,r.randomBytes(8).toString(\"hex\")].join(\"-\")+t;return i.join(e,n)},n.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return\"[Cannot display object: \"+e.message+\"]\"}},n.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":148,buffer:void 0,crypto:void 0,path:void 0,util:void 0}],150:[function(e,t,n){function r(e,t){return function n(){if(!n.hookCalled){n.hookCalled=!0;var r=e.apply(t,arguments);r&&r.then&&r.then(function(){},function(){})}}}t.exports={hook:function(e,t,n){if(1!==arguments.length||\"object\"!=typeof e){var i=this.prototype||this,o=i._pres=i._pres||{},a=i._posts=i._posts||{};return o[e]=o[e]||[],a[e]=a[e]||[],i[e]=function(){var o,a=this,s=arguments[arguments.length-1],c=this._pres[e],u=this._posts[e],p=c.length,l=-1,f=i[e].numAsyncPres,d=function(e){return e?h(e):void(--f||v.apply(a,o))},h=function(e){if(\"function\"==typeof s)return s(e);if(n)return n.call(a,e);throw e},m=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,n=Array.prototype.slice.call(arguments);if(!n.length||null==arguments[0]&&\"function\"==typeof s||(o=n),++l<p){if(e=c[l],e.isAsync&&e.length<2)throw new Error(\"Your pre must have next and done arguments -- e.g., function (next, done, ...)\");if(e.length<1)throw new Error(\"Your pre must have a next argument -- e.g., function (next, ...)\");return t=(e.isAsync?[r(m),r(d)]:[r(m)]).concat(o),e.apply(a,t)}return f?void 0:v.apply(a,o)},v=function(){var e,n,i,c,f=Array.prototype.slice.call(arguments);return l===p?(c=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,p=Array.prototype.slice.call(arguments,1);if(p.length&&(o=p),++i<n){if(e=u[i],e.length<1)throw new Error(\"Your post must have a next argument -- e.g., function (next, ...)\");return t=[r(c)].concat(o),e.apply(a,t)}return\"function\"==typeof s?s.apply(a,arguments):void 0},\"function\"==typeof s&&(f[f.length-1]=r(c)),n=u.length,i=-1,e=t.apply(a,f),n&&\"function\"!=typeof s?c():e):void 0};return m.apply(this,arguments)},i[e].numAsyncPres=0,this}for(var s in e)this.hook(s,e[s])},pre:function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1);var i=this.prototype||this,o=i._pres=i._pres||{};return this._lazySetupHooks(i,e,r),(n.isAsync=t)&&i[e].numAsyncPres++,(o[e]=o[e]||[]).push(n),this},post:function(e,t,n){2===arguments.length&&(n=t,t=!1);var r=this.prototype||this,i=r._posts=r._posts||{};return this._lazySetupHooks(r,e),(i[e]=i[e]||[]).push(n),this},removePre:function(e,t){var n=this.prototype||this,r=n._pres||n._pres||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},removePost:function(e,t){var n=this.prototype||this,r=n._posts||n._posts||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},_lazySetupHooks:function(e,t,n){\"undefined\"==typeof e[t].numAsyncPres&&this.hook(t,e[t],n)}}},{}],151:[function(e,t,n){function r(e){return e.split(\" \").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join(\"\").replace(/[^ _0-9a-z]/gi,\"\")}var i=e(\"statuses\"),o=e(\"inherits\");n=t.exports=function s(){for(var e,t,r=500,o={},a=0;a<arguments.length;a++){var c=arguments[a];if(c instanceof Error)e=c,r=e.status||e.statusCode||r;else switch(typeof c){case\"string\":t=c;break;case\"number\":r=c;break;case\"object\":o=c}}\"number\"==typeof r&&i[r]||(r=500);var u=n[r];e||(e=u?new u(t):new Error(t||i[r]),Error.captureStackTrace(e,s)),u&&e instanceof u||(e.expose=500>r,e.status=e.statusCode=r);for(var p in o)\"status\"!==p&&\"statusCode\"!==p&&(e[p]=o[p]);return e};var a=i.codes.filter(function(e){return e>=400});a.forEach(function(e){var t=r(i[e]),a=t.match(/Error$/)?t:t+\"Error\";if(e>=500){var s=function u(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,u),n.__proto__=u.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};return o(s,Error),s.prototype.status=s.prototype.statusCode=e,s.prototype.expose=!1,void(n[e]=n[t]=s)}var c=function p(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,p),n.__proto__=p.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};o(c,Error),c.prototype.status=c.prototype.statusCode=e,c.prototype.expose=!0,n[e]=n[t]=c}),n[\"I'mateapot\"]=n.ImATeapot},{inherits:157,statuses:455}],152:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./utils\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC}},{\"./parser\":153,\"./signer\":154,\"./utils\":155,\"./verify\":156}],153:[function(e,t,n){function r(e){l.call(this,e,r)}function i(e){l.call(this,e,i)}function o(e){l.call(this,e,o)}function a(e){l.call(this,e,a)}function s(e){l.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p=e(\"./utils\"),l=(p.HASH_ALGOS,p.PK_ALGOS,p.HttpSignatureError),f=p.InvalidAlgorithmError,d=p.validateAlgorithm,h={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,l),u.inherits(i,l),u.inherits(o,l),u.inherits(a,l),u.inherits(s,l),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new a(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,u=h.New,p=m.Name,l=\"\",v=\"\",g={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},y=e.headers.authorization;for(n=0;n<y.length;n++){var b=y.charAt(n);switch(Number(u)){case h.New:\" \"!==b?g.scheme+=b:u=h.Params;break;case h.Params:switch(Number(p)){case m.Name:var x=b.charCodeAt(0);if(x>=65&&90>=x||x>=97&&122>=x)l+=b;else{if(\"=\"!==b)throw new i(\"bad param format\");if(0===l.length)throw new i(\"bad param format\");p=m.Quote}break;case m.Quote:if('\"'!==b)throw new i(\"bad param format\");v=\"\",p=m.Value;break;case m.Value:'\"'===b?(g.params[l]=v,p=m.Comma):v+=b;break;case m.Comma:if(\",\"!==b)throw new i(\"bad param format\");l=\"\",p=m.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(g.params.headers&&\"\"!==g.params.headers?g.params.headers=g.params.headers.split(\" \"):e.headers[\"x-date\"]?g.params.headers=[\"x-date\"]:g.params.headers=[\"date\"],!g.scheme||\"Signature\"!==g.scheme)throw new i('scheme was not \"Signature\"');if(!g.params.keyId)throw new i(\"keyId was not specified\");if(!g.params.algorithm)throw new i(\"algorithm was not specified\");if(!g.params.signature)throw new i(\"signature was not specified\");g.params.algorithm=g.params.algorithm.toLowerCase();try{d(g.params.algorithm)}catch(w){throw w instanceof f?new o(g.params.algorithm+\" is not supported\"):w}for(n=0;n<g.params.headers.length;n++){var _=g.params.headers[n].toLowerCase();if(g.params.headers[n]=_,\"request-line\"===_){if(t.strict)throw new s(\"request-line is not a valid header with strict parsing enabled.\");g.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion}else if(\"(request-target)\"===_)g.signingString+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.url;else{var k=e.headers[_];if(void 0===k)throw new a(_+\" was not in the request\");g.signingString+=_+\": \"+k}n+1<g.params.headers.length&&(g.signingString+=\"\\n\")}var j;if(e.headers.date||e.headers[\"x-date\"]){j=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new r(\"clock skew of \"+E/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(g.params.headers.indexOf(e)<0)throw new a(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(g.params.algorithm))throw new o(g.params.algorithm+\" is not a supported algorithm\");return g}}},{\"./utils\":155,\"assert-plus\":10,util:void 0}],154:[function(e,t,n){(function(n){function r(e){v.call(this,e,r)}function i(e){v.call(this,e,i)}function o(e){a.object(e,\"options\");var t=[];if(void 0!==e.algorithm&&(a.string(e.algorithm,\"options.algorithm\"),t=g(e.algorithm)),this.rs_alg=t,void 0!==e.sign)a.func(e.sign,\"options.sign\"),this.rs_signFunc=e.sign;else if(\"hmac\"===t[0]&&void 0!==e.key){if(a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,\"string\"!=typeof e.key&&!n.isBuffer(e.key))throw new TypeError(\"options.key for HMAC must be a string or Buffer\");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest(\"base64\");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError(\"options.sign (func) or options.key is required\");var r=e.key;if((\"string\"==typeof r||n.isBuffer(r))&&(r=u.parsePrivateKey(r)),a.ok(u.PrivateKey.isPrivateKey(r,[1,2]),\"options.key must be a sshpk.PrivateKey\"),this.rs_key=r,a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,!h[r.type])throw new m(r.type.toUpperCase()+\" type keys are not supported\");if(void 0!==t[0]&&r.type!==t[0])throw new m(\"options.key must be a \"+t[0].toUpperCase()+\" key, was given a \"+r.type.toUpperCase()+\" key instead\");this.rs_signer=r.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var a=e(\"assert-plus\"),s=e(\"crypto\"),c=(e(\"http\"),e(\"util\")),u=e(\"sshpk\"),p=e(\"jsprim\"),l=e(\"./utils\"),f=e(\"util\").format,d=l.HASH_ALGOS,h=l.PK_ALGOS,m=l.InvalidAlgorithmError,v=l.HttpSignatureError,g=l.validateAlgorithm,y='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';c.inherits(r,v),c.inherits(i,v),o.prototype.writeHeader=function(e,t){if(a.string(e,\"header\"),e=e.toLowerCase(),a.string(t,\"value\"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+\": \"+t);else{var n=e+\": \"+t;this.rs_headers.length>0&&(n=\"\\n\"+n),this.rs_signer.update(n)}return t},o.prototype.writeDateHeader=function(){return this.writeHeader(\"date\",p.rfc1123(new Date))},o.prototype.writeTarget=function(e,t){a.string(e,\"method\"),a.string(t,\"path\"),e=e.toLowerCase(),this.writeHeader(\"(request-target)\",e+\" \"+t)},o.prototype.sign=function(e){if(a.func(e,\"callback\"),this.rs_headers.length<1)throw new Error(\"At least one header must be signed\");var t,n;if(this.rs_signFunc){var r=this.rs_lines.join(\"\\n\"),i=this;this.rs_signFunc(r,function(r,o){if(r)return void e(r);try{a.object(o,\"signature\"),a.string(o.keyId,\"signature.keyId\"),a.string(o.algorithm,\"signature.algorithm\"),a.string(o.signature,\"signature.signature\"),t=g(o.algorithm),n=f(y,o.keyId,o.algorithm,i.rs_headers.join(\" \"),o.signature)}catch(s){return void e(s)}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(s){return void e(s)}t=(this.rs_alg[0]||this.rs_key.type)+\"-\"+o.hashAlgorithm;var c=o.toString();n=f(y,this.rs_keyId,t,this.rs_headers.join(\" \"),c),e(null,n)}},t.exports={isSigner:function(e){return\"object\"==typeof e&&e instanceof o},createSigner:function(e){return new o(e)},signRequest:function(e,t){a.object(e,\"request\"),a.object(t,\"options\"),a.optionalString(t.algorithm,\"options.algorithm\"),a.string(t.keyId,\"options.keyId\"),a.optionalArrayOfString(t.headers,\"options.headers\"),a.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",p.rfc1123(new Date)),t.headers||(t.headers=[\"date\"]),t.httpVersion||(t.httpVersion=\"1.1\");var o=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),o=g(t.algorithm));var c,l=\"\";for(c=0;c<t.headers.length;c++){if(\"string\"!=typeof t.headers[c])throw new TypeError(\"options.headers must be an array of Strings\");var v=t.headers[c].toLowerCase();if(\"request-line\"===v){if(t.strict)throw new i(\"request-line is not a valid header with strict parsing enabled.\");l+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion}else if(\"(request-target)\"===v)l+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.path;else{var b=e.getHeader(v);if(void 0===b||\"\"===b)throw new r(v+\" was not in the request\");l+=v+\": \"+b}c+1<t.headers.length&&(l+=\"\\n\")}e.hasOwnProperty(\"_stringToSign\")&&(e._stringToSign=l);var x;if(\"hmac\"===o[0]){if(\"string\"!=typeof t.key&&!n.isBuffer(t.key))throw new TypeError(\"options.key must be a string or Buffer\");var w=s.createHmac(o[1].toUpperCase(),t.key);w.update(l),x=w.digest(\"base64\")}else{var _=t.key;if((\"string\"==typeof _||n.isBuffer(_))&&(_=u.parsePrivateKey(t.key)),a.ok(u.PrivateKey.isPrivateKey(_,[1,2]),\"options.key must be a sshpk.PrivateKey\"),!h[_.type])throw new m(_.type.toUpperCase()+\" type keys are not supported\");if(void 0!==o[0]&&_.type!==o[0])throw new m(\"options.key must be a \"+o[0].toUpperCase()+\" key, was given a \"+_.type.toUpperCase()+\" key instead\");var k=_.createSign(o[1]);k.update(l);var j=k.sign();if(!d[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+\" is not a supported hash algorithm\");t.algorithm=_.type+\"-\"+j.hashAlgorithm,x=j.toString(),a.notStrictEqual(x,\"\",\"empty signature produced\")}return e.setHeader(\"Authorization\",f(y,t.keyId,t.algorithm,t.headers.join(\" \"),x)),!0}}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./utils\":155,\"assert-plus\":10,crypto:void 0,http:void 0,jsprim:175,sshpk:448,util:void 0}],155:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){var t=e.toLowerCase().split(\"-\");if(2!==t.length)throw new i(t[0].toUpperCase()+\" is not a valid algorithm\");if(\"hmac\"!==t[0]&&!p[t[0]])throw new i(t[0].toUpperCase()+\" type keys are not supported\");if(!u[t[1]])throw new i(t[1].toUpperCase()+\" is not a supported hash algorithm\");return t}var a=e(\"assert-plus\"),s=e(\"sshpk\"),c=e(\"util\"),u={sha1:!0,sha256:!0,sha512:!0},p={rsa:!0,dsa:!0,ecdsa:!0};c.inherits(r,Error),c.inherits(i,r),t.exports={HASH_ALGOS:u,PK_ALGOS:p,HttpSignatureError:r,InvalidAlgorithmError:i,validateAlgorithm:o,sshKeyToPEM:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.toString(\"pem\")},fingerprint:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.fingerprint(\"md5\").toString(\"hex\")},pemToRsaSSHKey:function(e,t){a.equal(\"string\",typeof e,\"typeof pem\");var n=s.parseKey(e,\"pem\");return n.comment=t,n.toString(\"ssh\")}}},{\"assert-plus\":10,sshpk:448,util:void 0}],156:[function(e,t,n){(function(n){var r=e(\"assert-plus\"),i=e(\"crypto\"),o=e(\"sshpk\"),a=e(\"./utils\"),s=(a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError,a.validateAlgorithm);t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),(\"string\"==typeof t||n.isBuffer(t))&&(t=o.parseKey(t)),r.ok(o.Key.isKey(t,[1,1]),\"pubkey must be a sshpk.Key\");var i=s(e.algorithm);if(\"hmac\"===i[0]||i[0]!==t.type)return!1;var a=t.createVerify(i[1]);return a.update(e.signingString),a.verify(e.params.signature,\"base64\")},verifyHMAC:function(e,t){r.object(e,\"parsedHMAC\"),r.string(t,\"secret\");var o=s(e.algorithm);if(\"hmac\"!==o[0])return!1;var a=o[1].toUpperCase(),c=i.createHmac(a,t);c.update(e.signingString);var u=i.createHmac(a,t);u.update(c.digest()),u=u.digest();var p=i.createHmac(a,t);return p.update(new n(e.params.signature,\"base64\")),p=p.digest(),\"string\"==typeof u?u===p:n.isBuffer(u)&&!u.equals?u.toString(\"binary\")===p.toString(\"binary\"):u.equals(p)}}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":155,\"assert-plus\":10,buffer:void 0,crypto:void 0,sshpk:448}],157:[function(e,t,n){t.exports=e(\"util\").inherits},{util:void 0}],158:[function(e,t,n){(function(){var e,n,r,i,o,a,s,c;n={},c=this,\"undefined\"!=typeof t&&null!==t&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,o;if(e.length!==t.length)throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");for(i=0;r>0;){if(o=n-r,0>o&&(o=0),e[i]>>o!==t[i]>>o)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,o,a,s;null==n&&(n=\"unicast\");for(r in t)for(i=t[r],!i[0]||i[0]instanceof Array||(i=[i]),a=0,s=i.length;s>a;a++)if(o=i[a],e.match.apply(e,o))return r;return n},n.IPv4=function(){function e(e){var t,n,r;if(4!==e.length)throw new Error(\"ipaddr: ipv4 octet count should be 4\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&255>=t))throw new Error(\"ipaddr: ipv4 octet is a byte\");this.octets=e}return e.prototype.kind=function(){return\"ipv4\"},e.prototype.toString=function(){return this.octets.join(\".\")},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv4\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],\"private\":[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(\"::ffff:\"+this.toString())},e}(),r=\"(0?\\\\d+|0x[a-f0-9]+)\",i={fourOctet:new RegExp(\"^\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\",\"i\"),longValue:new RegExp(\"^\"+r+\"$\",\"i\")},n.IPv4.parser=function(e){var t,n,r,o,a;if(n=function(e){return\"0\"===e[0]&&\"x\"!==e[1]?parseInt(e,8):parseInt(e)},t=e.match(i.fourOctet))return function(){var e,i,o,a;for(o=t.slice(1,6),a=[],e=0,i=o.length;i>e;e++)r=o[e],a.push(n(r));return a}();if(t=e.match(i.longValue)){if(a=n(t[1]),a>4294967295||0>a)throw new Error(\"ipaddr: address outside defined range\");return function(){var e,t;for(t=[],o=e=0;24>=e;o=e+=8)t.push(a>>o&255);return t}().reverse()}return null},n.IPv6=function(){function e(e){var t,n,r;if(8!==e.length)throw new Error(\"ipaddr: ipv6 part count should be 8\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&65535>=t))throw new Error(\"ipaddr: ipv6 part should fit to two octets\");this.parts=e}return e.prototype.kind=function(){return\"ipv6\"},e.prototype.toString=function(){var e,t,n,r,i,o,a;for(i=function(){var e,n,r,i;for(r=this.parts,i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push(t.toString(16));return i}.call(this),e=[],n=function(t){return e.push(t)},r=0,o=0,a=i.length;a>o;o++)switch(t=i[o],r){case 0:n(\"0\"===t?\"\":t),r=1;break;case 1:\"0\"===t?r=2:n(t);break;case 2:\"0\"!==t&&(n(\"\"),n(t),r=3);break;case 3:n(t)}return 2===r&&(n(\"\"),n(\"\")),e.join(\":\")},e.prototype.toByteArray=function(){var e,t,n,r,i;for(e=[],i=this.parts,n=0,r=i.length;r>n;n++)t=i[n],e.push(t>>8),e.push(255&t);return e},e.prototype.toNormalizedString=function(){var e;return function(){var t,n,r,i;for(r=this.parts,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.toString(16));return i}.call(this).join(\":\")},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv6\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],\"6to4\":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return\"ipv4Mapped\"===this.range()},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,255&e,t>>8,255&t])},e}(),o=\"(?:[0-9a-f]+::?)+\",a={\"native\":new RegExp(\"^(::)?(\"+o+\")?([0-9a-f]+)?(::)?$\",\"i\"),transitional:new RegExp(\"^((?:\"+o+\")|(?:::)(?:\"+o+\")?)\"+(\"\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\"),\"i\")},e=function(e,t){var n,r,i,o,a;if(e.indexOf(\"::\")!==e.lastIndexOf(\"::\"))return null;for(n=0,r=-1;(r=e.indexOf(\":\",r+1))>=0;)n++;if(\"::\"===e.substr(0,2)&&n--,\"::\"===e.substr(-2,2)&&n--,n>t)return null;for(a=t-n,o=\":\";a--;)o+=\"0:\";return e=e.replace(\"::\",o),\":\"===e[0]&&(e=e.slice(1)),\":\"===e[e.length-1]&&(e=e.slice(0,-1)),function(){var t,n,r,o;for(r=e.split(\":\"),o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(parseInt(i,16));return o}()},n.IPv6.parser=function(t){var n,r;return t.match(a[\"native\"])?e(t,8):(n=t.match(a.transitional))&&(r=e(n[1].slice(0,-1),6))?(r.push(parseInt(n[2])<<8|parseInt(n[3])),r.push(parseInt(n[4])<<8|parseInt(n[5])),r):null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return null!==this.parser(e)},n.IPv4.isValid=function(e){var t;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv6.isValid=function(e){var t;if(\"string\"==typeof e&&-1===e.indexOf(\":\"))return!1;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv4.parse=n.IPv6.parse=function(e){var t;if(t=this.parser(e),null===t)throw new Error(\"ipaddr: string is not formatted like ip address\");return new this(t)},n.IPv4.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&32>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\")},n.IPv6.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&128>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\")},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\")},n.parseCIDR=function(e){var t;try{return n.IPv6.parseCIDR(e)}catch(r){t=r;try{return n.IPv4.parseCIDR(e)}catch(r){throw t=r,new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\")}}},n.process=function(e){var t;return t=this.parse(e),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this)},{}],159:[function(e,t,n){n[\"date-time\"]=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/,n.date=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,n.time=/^\\d{2}:\\d{2}:\\d{2}$/,n.email=/^\\S+@\\S+$/,n[\"ip-address\"]=n.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n.ipv6=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/,n.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\\s]*$/,n.color=/(#?([0-9A-Fa-f]{3,6})\\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\))/,n.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/,n.alpha=/^[a-zA-Z]+$/,n.alphanumeric=/^[a-zA-Z0-9]+$/,n.style=/\\s*(.+?):\\s*([^;]+);?/g,n.phone=/^\\+(?:[0-9] ?){6,14}[0-9]$/,n[\"utc-millisec\"]=/^[0-9]{1,15}\\.?[0-9]{0,15}$/},{}],160:[function(e,t,n){var r=e(\"generate-object-property\"),i=e(\"generate-function\"),o=e(\"jsonpointer\"),a=e(\"xtend\"),s=e(\"./formats\"),c=function(e,t,n){var r=function(e){return e&&e.id===n?e:\"object\"==typeof e&&e?Object.keys(e).reduce(function(t,n){return t||r(e[n])},null):null},i=r(e);if(i)return i;n=n.replace(/^#/,\"\"),n=n.replace(/\\/$/,\"\");try{return o.get(e,decodeURI(n))}catch(a){var s,c=n.indexOf(\"#\");\nif(0!==c)if(-1===c)s=t[n];else{var u=n.slice(0,c);s=t[u];var p=n.slice(c).replace(/^#/,\"\");try{return o.get(s,p)}catch(a){}}else s=t[n];return s||null}},u=function(e){e=JSON.stringify(e);for(var t=/\\[([^\\[\\]\"]+)\\]/;t.test(e);)e=e.replace(t,'.\"+$1+\"');return e},p={};p.any=function(){return\"true\"},p[\"null\"]=function(e){return e+\" === null\"},p[\"boolean\"]=function(e){return\"typeof \"+e+' === \"boolean\"'},p.array=function(e){return\"Array.isArray(\"+e+\")\"},p.object=function(e){return\"typeof \"+e+' === \"object\" && '+e+\" && !Array.isArray(\"+e+\")\"},p.number=function(e){return\"typeof \"+e+' === \"number\"'},p.integer=function(e){return\"typeof \"+e+' === \"number\" && (Math.floor('+e+\") === \"+e+\" || \"+e+\" > 9007199254740992 || \"+e+\" < -9007199254740992)\"},p.string=function(e){return\"typeof \"+e+' === \"string\"'};var l=function(e){for(var t=[],n=0;n<e.length;n++)t.push(\"object\"==typeof e[n]?JSON.stringify(e[n]):e[n]);for(var n=1;n<t.length;n++)if(t.indexOf(t[n])!==n)return!1;return!0},f=function(e,t){var n,r=(0|t)!==t?Math.pow(10,t.toString().split(\".\").pop().length):1;if(r>1){var i=(0|e)!==e?Math.pow(10,e.toString().split(\".\").pop().length):1;n=i>r?!0:Math.round(r*e)%(r*t)}else n=e%t;return!n},d=function(e,t,n,o,h){var m=h?a(s,h.formats):s,v={unique:l,formats:m,isMultipleOf:f},g=h?!!h.verbose:!1,y=h&&void 0!==h.greedy?h.greedy:!1,b={},x=function(e){return e+(b[e]=(b[e]||0)+1)},w={},_=function(e){if(w[e])return w[e];var t=x(\"pattern\");return v[t]=new RegExp(e),w[e]=t,t},k=[\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"x\",\"y\",\"z\"],j=function(){var e=k.shift();return k.push(e+e[0]),e},S=function(e,i,o,a){var l=i.properties,f=i.type,b=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(e,t){l[t]=e}),f=\"array\",b=!0);var w=0,k=function(t,n,r){E(\"errors++\"),o===!0&&(E(\"if (validate.errors === null) validate.errors = []\"),g?E(\"validate.errors.push({field:%s,message:%s,value:%s,type:%s})\",u(n||e),JSON.stringify(t),r||e,JSON.stringify(f)):E(\"validate.errors.push({field:%s,message:%s})\",u(n||e),JSON.stringify(t)))};i.required===!0?(w++,E(\"if (%s === undefined) {\",e),k(\"is required\"),E(\"} else {\")):(w++,E(\"if (%s !== undefined) {\",e));var O=[].concat(f).map(function(t){return p[t||\"any\"](e)}).join(\" || \")||\"true\";if(\"true\"!==O&&(w++,E(\"if (!(%s)) {\",O),k(\"is the wrong type\"),E(\"} else {\")),b)if(i.additionalItems===!1)E(\"if (%s.length > %d) {\",e,i.items.length),k(\"has additional items\"),E(\"}\");else if(i.additionalItems){var A=j();E(\"for (var %s = %d; %s < %s.length; %s++) {\",A,i.items.length,A,e,A),S(e+\"[\"+A+\"]\",i.additionalItems,o,a),E(\"}\")}if(i.format&&m[i.format]){\"string\"!==f&&s[i.format]&&E(\"if (%s) {\",p.string(e));var C=x(\"format\");v[C]=m[i.format],\"function\"==typeof v[C]?E(\"if (!%s(%s)) {\",C,e):E(\"if (!%s.test(%s)) {\",C,e),k(\"must be \"+i.format+\" format\"),E(\"}\"),\"string\"!==f&&s[i.format]&&E(\"}\")}if(Array.isArray(i.required)){var T=function(t){var n=r(e,t);E(\"if (%s === undefined) {\",n),k(\"is required\",n),E(\"missing++\"),E(\"}\")};E(\"if ((%s)) {\",\"object\"!==f?p.object(e):\"true\"),E(\"var missing = 0\"),i.required.map(T),E(\"}\"),y||(E(\"if (missing === 0) {\"),w++)}if(i.uniqueItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (!(unique(%s))) {\",e),k(\"must be unique\"),E(\"}\"),\"array\"!==f&&E(\"}\")),i[\"enum\"]){var I=i[\"enum\"].some(function(e){return\"object\"==typeof e}),P=I?function(t){return\"JSON.stringify(\"+e+\") !== JSON.stringify(\"+JSON.stringify(t)+\")\"}:function(t){return e+\" !== \"+JSON.stringify(t)};E(\"if (%s) {\",i[\"enum\"].map(P).join(\" && \")||\"false\"),k(\"must be an enum value\"),E(\"}\")}if(i.dependencies&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),Object.keys(i.dependencies).forEach(function(t){var n=i.dependencies[t];\"string\"==typeof n&&(n=[n]);var s=function(t){return r(e,t)+\" !== undefined\"};Array.isArray(n)&&(E(\"if (%s !== undefined && !(%s)) {\",r(e,t),n.map(s).join(\" && \")||\"true\"),k(\"dependencies not set\"),E(\"}\")),\"object\"==typeof n&&(E(\"if (%s !== undefined) {\",r(e,t)),S(e,n,o,a),E(\"}\"))}),\"object\"!==f&&E(\"}\")),i.additionalProperties||i.additionalProperties===!1){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var A=j(),F=x(\"keys\"),M=function(e){return F+\"[\"+A+\"] !== \"+JSON.stringify(e)},z=function(e){return\"!\"+_(e)+\".test(\"+F+\"[\"+A+\"])\"},B=Object.keys(l||{}).map(M).concat(Object.keys(i.patternProperties||{}).map(z)).join(\" && \")||\"true\";E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A)(\"if (%s) {\",B),i.additionalProperties===!1?(a&&E(\"delete %s\",e+\"[\"+F+\"[\"+A+\"]]\"),k(\"has additional properties\",null,JSON.stringify(e+\".\")+\" + \"+F+\"[\"+A+\"]\")):S(e+\"[\"+F+\"[\"+A+\"]]\",i.additionalProperties,o,a),E(\"}\")(\"}\"),\"object\"!==f&&E(\"}\")}if(i.$ref){var N=c(n,h&&h.schemas||{},i.$ref);if(N){var D=t[i.$ref];D||(t[i.$ref]=function(e){return D(e)},D=d(N,t,n,!1,h));var C=x(\"ref\");v[C]=D,E(\"if (!(%s(%s))) {\",C,e),k(\"referenced schema does not match\"),E(\"}\")}}if(i.not){var q=x(\"prev\");E(\"var %s = errors\",q),S(e,i.not,!1,a),E(\"if (%s === errors) {\",q),k(\"negative schema matches\"),E(\"} else {\")(\"errors = %s\",q)(\"}\")}if(i.items&&!b){\"array\"!==f&&E(\"if (%s) {\",p.array(e));var A=j();E(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,e,A),S(e+\"[\"+A+\"]\",i.items,o,a),E(\"}\"),\"array\"!==f&&E(\"}\")}if(i.patternProperties){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var F=x(\"keys\"),A=j();E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A),Object.keys(i.patternProperties).forEach(function(t){var n=_(t);E(\"if (%s.test(%s)) {\",n,F+\"[\"+A+\"]\"),S(e+\"[\"+F+\"[\"+A+\"]]\",i.patternProperties[t],o,a),E(\"}\")}),E(\"}\"),\"object\"!==f&&E(\"}\")}if(i.pattern){var R=_(i.pattern);\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (!(%s.test(%s))) {\",R,e),k(\"pattern mismatch\"),E(\"}\"),\"string\"!==f&&E(\"}\")}if(i.allOf&&i.allOf.forEach(function(t){S(e,t,o,a)}),i.anyOf&&i.anyOf.length){var q=x(\"prev\");i.anyOf.forEach(function(t,n){0===n?E(\"var %s = errors\",q):E(\"if (errors !== %s) {\",q)(\"errors = %s\",q),S(e,t,!1,!1)}),i.anyOf.forEach(function(e,t){t&&E(\"}\")}),E(\"if (%s !== errors) {\",q),k(\"no schemas match\"),E(\"}\")}if(i.oneOf&&i.oneOf.length){var q=x(\"prev\"),L=x(\"passes\");E(\"var %s = errors\",q)(\"var %s = 0\",L),i.oneOf.forEach(function(t,n){S(e,t,!1,!1),E(\"if (%s === errors) {\",q)(\"%s++\",L)(\"} else {\")(\"errors = %s\",q)(\"}\")}),E(\"if (%s !== 1) {\",L),k(\"no (or more than one) schemas match\"),E(\"}\")}for(void 0!==i.multipleOf&&(\"number\"!==f&&\"integer\"!==f&&E(\"if (%s) {\",p.number(e)),E(\"if (!isMultipleOf(%s, %d)) {\",e,i.multipleOf),k(\"has a remainder\"),E(\"}\"),\"number\"!==f&&\"integer\"!==f&&E(\"}\")),void 0!==i.maxProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length > %d) {\",e,i.maxProperties),k(\"has more properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.minProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length < %d) {\",e,i.minProperties),k(\"has less properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.maxItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length > %d) {\",e,i.maxItems),k(\"has more items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.minItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length < %d) {\",e,i.minItems),k(\"has less items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.maxLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length > %d) {\",e,i.maxLength),k(\"has longer length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length < %d) {\",e,i.minLength),k(\"has less length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minimum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMinimum?\"<=\":\"<\",i.minimum),k(\"is less than minimum\"),E(\"}\")),void 0!==i.maximum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMaximum?\">=\":\">\",i.maximum),k(\"is more than maximum\"),E(\"}\")),l&&Object.keys(l).forEach(function(t){Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"if (%s !== null) {\",e),S(r(e,t),l[t],o,a),Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"}\")});w--;)E(\"}\")},E=i(\"function validate(data) {\")(\"validate.errors = null\")(\"var errors = 0\");return S(\"data\",e,o,h&&h.filter),E(\"return errors === 0\")(\"}\"),E=E.toFunction(v),E.errors=null,Object.defineProperty&&Object.defineProperty(E,\"error\",{get:function(){return E.errors?E.errors.map(function(e){return e.field+\" \"+e.message}).join(\"\\n\"):\"\"}}),E.toJSON=function(){return e},E};t.exports=function(e,t){return\"string\"==typeof e&&(e=JSON.parse(e)),d(e,{},e,!0,t)},t.exports.filter=function(e,n){var r=t.exports(e,a(n,{filter:!0}));return function(e){return r(e),e}}},{\"./formats\":159,\"generate-function\":121,\"generate-object-property\":122,jsonpointer:174,xtend:534}],161:[function(e,t,n){\"use strict\";function r(e){return/^[$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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][$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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-\\uffdc0-9\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19b0-\\u19c0\\u19c8\\u19c9\\u19d0-\\u19d9\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1dc0-\\u1de6\\u1dfc-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]*$/.test(e)}t.exports=r},{}],162:[function(e,t,n){function r(e){return i(e)||o(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(e){return s[a.call(e)]}t.exports=r,r.strict=i,r.loose=o;var a=Object.prototype.toString,s={\"[object Int8Array]\":!0,\"[object Int16Array]\":!0,\"[object Int32Array]\":!0,\"[object Uint8Array]\":!0,\"[object Uint8ClampedArray]\":!0,\"[object Uint16Array]\":!0,\"[object Uint32Array]\":!0,\"[object Float32Array]\":!0,\"[object Float64Array]\":!0}},{}],163:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==r.call(e)}},{}],164:[function(e,t,n){function r(e){return e instanceof s.Stream}function i(e){return r(e)&&\"function\"==typeof e._read&&\"object\"==typeof e._readableState}function o(e){return r(e)&&\"function\"==typeof e._write&&\"object\"==typeof e._writableState}function a(e){return i(e)&&o(e)}var s=e(\"stream\");t.exports=r,t.exports.isReadable=i,t.exports.isWritable=o,t.exports.isDuplex=a},{stream:void 0}],165:[function(e,t,n){\"use strict\";var r=e(\"./lib/dh\"),i=e(\"./lib/eddsa\"),o=e(\"./lib/curve255\"),a=e(\"./lib/utils\"),s={};s.VERSION=\"0.7.1\",s.dh=r,s.eddsa=i,s.curve255=o,s.utils=a,t.exports=s},{\"./lib/curve255\":167,\"./lib/dh\":168,\"./lib/eddsa\":169,\"./lib/utils\":170}],166:[function(e,t,n){\"use strict\";function r(e,t,n){var r=t>>4,i=e[r];i+=(1<<(15&t))*n,e[r]=i}function i(e,t){return e[t>>4]>>(15&t)&1}function o(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function a(){return[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function s(){return[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function c(e,t){var n,r,i,o=0;for(n=15;n>=0;n--){var a=e[n],s=t[n];o+=(a-s)*(1-o*o),i=o>>31,r=o+i^i,o=~~((o<<1)/(r+1))}return o}function u(e,t){var n,r=[];return r[0]=65535&(n=e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+e[15]+t[15],r}function p(e,t){var n,r=[];return r[0]=65535&(n=524288+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)-8+e[15]-t[15],r}function l(e,t,n,r,i,o,a,s){var c,u=[];return u[0]=65535&(c=s*s),u[1]=65535&(c=(0|c/65536)+2*s*a),u[2]=65535&(c=(0|c/65536)+2*s*o+a*a),u[3]=65535&(c=(0|c/65536)+2*s*i+2*a*o),u[4]=65535&(c=(0|c/65536)+2*s*r+2*a*i+o*o),u[5]=65535&(c=(0|c/65536)+2*s*n+2*a*r+2*o*i),u[6]=65535&(c=(0|c/65536)+2*s*t+2*a*n+2*o*r+i*i),u[7]=65535&(c=(0|c/65536)+2*s*e+2*a*t+2*o*n+2*i*r),u[8]=65535&(c=(0|c/65536)+2*a*e+2*o*t+2*i*n+r*r),u[9]=65535&(c=(0|c/65536)+2*o*e+2*i*t+2*r*n),u[10]=65535&(c=(0|c/65536)+2*i*e+2*r*t+n*n),u[11]=65535&(c=(0|c/65536)+2*r*e+2*n*t),u[12]=65535&(c=(0|c/65536)+2*n*e+t*t),u[13]=65535&(c=(0|c/65536)+2*t*e),u[14]=65535&(c=(0|c/65536)+e*e),u[15]=0|c/65536,u}function f(e){var t,n=l(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8]),r=l(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0]),i=l(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0]),o=[];return o[0]=65535&(t=8388608+r[0]+38*(i[8]-n[8]-r[8]+n[0]-128)),o[1]=65535&(t=8388480+(t>>>16)+r[1]+38*(i[9]-n[9]-r[9]+n[1])),o[2]=65535&(t=8388480+(t>>>16)+r[2]+38*(i[10]-n[10]-r[10]+n[2])),o[3]=65535&(t=8388480+(t>>>16)+r[3]+38*(i[11]-n[11]-r[11]+n[3])),o[4]=65535&(t=8388480+(t>>>16)+r[4]+38*(i[12]-n[12]-r[12]+n[4])),o[5]=65535&(t=8388480+(t>>>16)+r[5]+38*(i[13]-n[13]-r[13]+n[5])),o[6]=65535&(t=8388480+(t>>>16)+r[6]+38*(i[14]-n[14]-r[14]+n[6])),o[7]=65535&(t=8388480+(t>>>16)+r[7]+38*(i[15]-n[15]-r[15]+n[7])),o[8]=65535&(t=8388480+(t>>>16)+r[8]+i[0]-n[0]-r[0]+38*n[8]),o[9]=65535&(t=8388480+(t>>>16)+r[9]+i[1]-n[1]-r[1]+38*n[9]),o[10]=65535&(t=8388480+(t>>>16)+r[10]+i[2]-n[2]-r[2]+38*n[10]),o[11]=65535&(t=8388480+(t>>>16)+r[11]+i[3]-n[3]-r[3]+38*n[11]),o[12]=65535&(t=8388480+(t>>>16)+r[12]+i[4]-n[4]-r[4]+38*n[12]),o[13]=65535&(t=8388480+(t>>>16)+r[13]+i[5]-n[5]-r[5]+38*n[13]),o[14]=65535&(t=8388480+(t>>>16)+r[14]+i[6]-n[6]-r[6]+38*n[14]),o[15]=8388480+(t>>>16)+r[15]+i[7]-n[7]-r[7]+38*n[15],m(o),o}function d(e,t,n,r,i,o,a,s,c,u,p,l,f,d,h,m){var v,g=[];return g[0]=65535&(v=s*m),g[1]=65535&(v=(0|v/65536)+s*h+a*m),g[2]=65535&(v=(0|v/65536)+s*d+a*h+o*m),g[3]=65535&(v=(0|v/65536)+s*f+a*d+o*h+i*m),g[4]=65535&(v=(0|v/65536)+s*l+a*f+o*d+i*h+r*m),g[5]=65535&(v=(0|v/65536)+s*p+a*l+o*f+i*d+r*h+n*m),g[6]=65535&(v=(0|v/65536)+s*u+a*p+o*l+i*f+r*d+n*h+t*m),g[7]=65535&(v=(0|v/65536)+s*c+a*u+o*p+i*l+r*f+n*d+t*h+e*m),g[8]=65535&(v=(0|v/65536)+a*c+o*u+i*p+r*l+n*f+t*d+e*h),g[9]=65535&(v=(0|v/65536)+o*c+i*u+r*p+n*l+t*f+e*d),g[10]=65535&(v=(0|v/65536)+i*c+r*u+n*p+t*l+e*f),g[11]=65535&(v=(0|v/65536)+r*c+n*u+t*p+e*l),g[12]=65535&(v=(0|v/65536)+n*c+t*u+e*p),g[13]=65535&(v=(0|v/65536)+t*c+e*u),g[14]=65535&(v=(0|v/65536)+e*c),g[15]=0|v/65536,g}function h(e,t){var n,r=d(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8],t[15],t[14],t[13],t[12],t[11],t[10],t[9],t[8]),i=d(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0],t[7],t[6],t[5],t[4],t[3],t[2],t[1],t[0]),o=d(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0],t[15]+t[7],t[14]+t[6],t[13]+t[5],t[12]+t[4],t[11]+t[3],t[10]+t[2],t[9]+t[1],t[8]+t[0]),a=[];return a[0]=65535&(n=8388608+i[0]+38*(o[8]-r[8]-i[8]+r[0]-128)),a[1]=65535&(n=8388480+(n>>>16)+i[1]+38*(o[9]-r[9]-i[9]+r[1])),a[2]=65535&(n=8388480+(n>>>16)+i[2]+38*(o[10]-r[10]-i[10]+r[2])),a[3]=65535&(n=8388480+(n>>>16)+i[3]+38*(o[11]-r[11]-i[11]+r[3])),a[4]=65535&(n=8388480+(n>>>16)+i[4]+38*(o[12]-r[12]-i[12]+r[4])),a[5]=65535&(n=8388480+(n>>>16)+i[5]+38*(o[13]-r[13]-i[13]+r[5])),a[6]=65535&(n=8388480+(n>>>16)+i[6]+38*(o[14]-r[14]-i[14]+r[6])),a[7]=65535&(n=8388480+(n>>>16)+i[7]+38*(o[15]-r[15]-i[15]+r[7])),a[8]=65535&(n=8388480+(n>>>16)+i[8]+o[0]-r[0]-i[0]+38*r[8]),a[9]=65535&(n=8388480+(n>>>16)+i[9]+o[1]-r[1]-i[1]+38*r[9]),a[10]=65535&(n=8388480+(n>>>16)+i[10]+o[2]-r[2]-i[2]+38*r[10]),a[11]=65535&(n=8388480+(n>>>16)+i[11]+o[3]-r[3]-i[3]+38*r[11]),a[12]=65535&(n=8388480+(n>>>16)+i[12]+o[4]-r[4]-i[4]+38*r[12]),a[13]=65535&(n=8388480+(n>>>16)+i[13]+o[5]-r[5]-i[5]+38*r[13]),a[14]=65535&(n=8388480+(n>>>16)+i[14]+o[6]-r[6]-i[6]+38*r[14]),a[15]=8388480+(n>>>16)+i[15]+o[7]-r[7]-i[7]+38*r[15],m(a),a}function m(e){var t=e.slice(0),n=[e,t],r=e[15],i=n[32768>r&1];i[15]=32767&r,r=19*(0|r/32768),i[0]=65535&(r+=i[0]),r>>>=16,i[1]=65535&(r+=i[1]),r>>>=16,i[2]=65535&(r+=i[2]),r>>>=16,i[3]=65535&(r+=i[3]),r>>>=16,i[4]=65535&(r+=i[4]),r>>>=16,i[5]=65535&(r+=i[5]),r>>>=16,i[6]=65535&(r+=i[6]),r>>>=16,i[7]=65535&(r+=i[7]),r>>>=16,i[8]=65535&(r+=i[8]),r>>>=16,i[9]=65535&(r+=i[9]),r>>>=16,i[10]=65535&(r+=i[10]),r>>>=16,i[11]=65535&(r+=i[11]),r>>>=16,i[12]=65535&(r+=i[12]),r>>>=16,i[13]=65535&(r+=i[13]),r>>>=16,i[14]=65535&(r+=i[14]),r>>>=16,i[15]+=r}function v(e,t){var n,r=[];return r[0]=65535&(n=19*((0|e[15]>>>15)+(0|t[15]>>>15))+e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+(32767&e[15])+(32767&t[15]),r}function g(e,t){var n,r=[];return r[0]=65535&(n=524288+19*((0|e[15]>>>15)-(0|t[15]>>>15)-1)+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)+32760+(32767&e[15])-(32767&t[15]),r}function y(e){for(var t=e,n=250;--n;)e=f(e),e=h(e,t);return e=f(e),e=f(e),e=h(e,t),e=f(e),e=f(e),e=h(e,t),e=f(e),e=h(e,t)}function b(e){var t,n=121665,r=[];return r[0]=65535&(t=e[0]*n),r[1]=65535&(t=(0|t/65536)+e[1]*n),r[2]=65535&(t=(0|t/65536)+e[2]*n),r[3]=65535&(t=(0|t/65536)+e[3]*n),r[4]=65535&(t=(0|t/65536)+e[4]*n),r[5]=65535&(t=(0|t/65536)+e[5]*n),r[6]=65535&(t=(0|t/65536)+e[6]*n),r[7]=65535&(t=(0|t/65536)+e[7]*n),r[8]=65535&(t=(0|t/65536)+e[8]*n),r[9]=65535&(t=(0|t/65536)+e[9]*n),r[10]=65535&(t=(0|t/65536)+e[10]*n),r[11]=65535&(t=(0|t/65536)+e[11]*n),r[12]=65535&(t=(0|t/65536)+e[12]*n),r[13]=65535&(t=(0|t/65536)+e[13]*n),r[14]=65535&(t=(0|t/65536)+e[14]*n),r[15]=(0|t/65536)+e[15]*n,m(r),r}function x(e,t){var n,r,i,o,a;return i=f(v(e,t)),o=f(g(e,t)),a=g(i,o),n=h(o,i),r=h(v(b(a),i),a),[n,r]}function w(e,t,n,r,i){var o,a,s,c;return s=h(g(e,t),v(n,r)),c=h(v(e,t),g(n,r)),o=f(v(s,c)),a=h(f(g(s,c)),i),[o,a]}function _(e){var t=k.randomBytes(32);e===!0&&(t[0]&=248,t[31]=127&t[31]|64);for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join(\"\")}var k=e(\"crypto\"),j={};j.getbit=i,j.setbit=r,j.addmodp=v,j.invmodp=y,j.mulmodp=h,j.reduce=m,j.dbl=x,j.sum=w,j.ZERO=o,j.ONE=a,j.BASE=s,j.bigintadd=u,j.bigintsub=p,j.bigintcmp=c,j.mulmodp=h,j.sqrmodp=f,j.generateKey=_,t.exports=j},{crypto:void 0}],167:[function(e,t,n){\"use strict\";function r(e,t){var n,r,i;r=t,n=s.dbl(r,s.ONE()),i=[r,s.ONE()];for(var o=255;0==s.getbit(e,o);)if(o--,0>o)return s.ZERO();o--;for(var a=[n,i];o>=0;){var c,u,p=s.getbit(e,o);c=s.sum(a[0][0],a[0][1],a[1][0],a[1][1],r),u=s.dbl(a[1-p][0],a[1-p][1]),a[1-p]=u,a[p]=c,o--}return i=a[1],i[1]=s.invmodp(i[1]),i[0]=s.mulmodp(i[0],i[1]),s.reduce(i[0]),i[0]}function i(e,t){return t||(t=s.BASE()),e[0]&=65528,e[15]=32767&e[15]|16384,r(e,t)}function o(e){var t=c.hexEncode(e);return t=new Array(65-t.length).join(\"0\")+t,t.split(/(..)/).reverse().join(\"\")}function a(e){var t=e.split(/(..)/).reverse().join(\"\");return c.hexDecode(t)}var s=e(\"./core\"),c=e(\"./utils\"),u={};u.curve25519=i,u.curve25519_raw=r,u.hexEncodeVector=o,u.hexDecodeVector=a,u.hexencode=c.hexEncode,u.hexdecode=c.hexDecode,u.base32encode=c.base32encode,u.base32decode=c.base32decode,t.exports=u},{\"./core\":166,\"./utils\":170}],168:[function(e,t,n){(function(n){\"use strict\";function r(e){var t=new Uint16Array(e);return new n(new Uint8Array(t.buffer))}function i(e){if(n.isBuffer(e)){var t=new Uint8Array(e);return new Uint16Array(t.buffer)}for(var r=new Array(16),i=0,o=0;i<e.length;i+=2)r[o]=e.charCodeAt(i+1)<<8|e.charCodeAt(i),o++;return r}var o=e(\"./core\"),a=(e(\"./utils\"),e(\"./curve255\")),s={};s.computeKey=function(e,t){return r(t?a.curve25519(i(e),i(t)):a.curve25519(i(e)))},s.publicKey=function(e){return r(a.curve25519(i(e)))},s.generateKey=function(){return o.generateKey(!0)},t.exports=s}).call(this,e(\"buffer\").Buffer)},{\"./core\":166,\"./curve255\":167,\"./utils\":170,buffer:void 0}],169:[function(e,t,n){(function(n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);if(\"undefined\"==typeof e)return $;var t=e.constructor;if(t!==Array&&t!==Uint16Array&&t!==Uint32Array||16!==e.length)if(t===Array&&32===e.length)this.n=s(e).n;else if(t===String)this.n=D.hexDecode(e);else if(t===Number)this.n=[65535&e,e>>16,0,0,0,0,0,0,0,0,0,0,0,0,0,0];else{if(!(e instanceof r))throw\"Bad argument for bignum: \"+e;this.n=e.n.slice(0);\n}else this.n=e}function i(e,t){for(var n=0,r=0;16>r;r++){var i=e[r]>>16-t;e[r]=e[r]<<t&65535|n,n=i}return e}function o(e,t){for(var n=0,r=15;r>=0;r--){var i=e[r]<<16-t&65535;e[r]=e[r]>>t|n,n=i}return e}function a(e){e=r(e);for(var t=new Array(32),n=31;n>=0;n--)t[n]=255&e.n[0],e.shiftRight(8);return t}function s(e){for(var t=$,n=0;32>n;n++)t.shiftLeft(8),t=t.plus(r(e[n]));return t}function c(e,t){for(var n=N.ONE(),r=0;256>r;r++)1===N.getbit(t,r)&&(n=N.mulmodp(n,e)),e=N.sqrmodp(e);return n}function u(e){return N.reduce(e.n),e.cmp(V)>=0?u(e.minus(V)):-1===e.cmp($)?u(e.plus(V)):e}function p(e){var t=e[0],n=e[1],r=t.sqr(),i=n.sqr(),o=Y.times(r).times(i);return i.minus(r).minus(U).minus(o).modq().equals($)}function l(e){var t=e.sqr(),n=t.minus(U).divide(U.plus(Y.times(t))),r=n.pow(W);return r.times(r).minus(n).equals($)||(r=r.times(K)),r.isOdd()&&(r=V.minus(r)),r}function f(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3],p=r.minus(n).times(s.plus(a)),l=r.plus(n).times(s.minus(a)),f=i.times(H).times(u),d=o.times(H).times(c),h=d.plus(f),m=l.minus(p),v=l.plus(p),g=d.minus(f);return[h.times(m),v.times(g),m.times(v),h.times(g)]}function d(e){var t=e[0],n=e[1],r=e[2],i=t.times(t),o=n.times(n),a=H.times(r).times(r),s=V.minus(i),c=t.plus(n),u=c.times(c).minus(i).minus(o),p=s.plus(o),l=p.minus(a),f=s.minus(o);return[u.times(l),p.times(f),l.times(p),u.times(f)]}function h(e,t){if(t.equals($))return[$,U,U,$];var n=t.isOdd();t.shiftRight(1);var r=d(h(e,t));return n?f(r,e):r}function m(e){var t=e[0],n=e[1];return[t,n,U,t.times(n)]}function v(e){var t=e[0],n=e[1],r=e[2],i=r.inv();return[t.times(i),n.times(i)]}function g(e,t){return v(h(m(e),t))}function y(e,t){return e[e.length-(t>>>3)-1]>>(7&t)&1}function b(e,t){for(var n=[$,U,U,$],r=(t.length<<3)-1;r>=0;r--)n=d(n),1===y(t,r)&&(n=f(n,e));return n}function x(e,t){return v(b(m(e),t))}function w(e){return e.bytes(32).reverse()}function _(e){return r(e.slice(0).reverse())}function k(e){var t=w(e[1]);return e[0].isOdd()&&(t[31]|=128),t}function j(e){e=e.slice(0);var t=e[31]>>7;e[31]&=127;var n=_(e),r=l(n);(1&r.n[0])!==t&&(r=V.minus(r));var i=[r,n];if(!p(i))throw\"Point is not on curve\";return i}function S(e,t){if(void 0!==t)return 256===t?S(D.string2bytes(e)):new q(e,t);if(\"string\"==typeof e)return new q(e,10);if(e instanceof Array||e instanceof Uint8Array||n.isBuffer(e))return new q(e);if(\"number\"==typeof e)return new q(e.toString(),10);throw\"Can't convert \"+e+\" to BigInteger\"}function E(e,t){void 0===t&&(t=e.bitLength()+7>>>3);for(var n=new Array(t),r=t-1;r>=0;r--)n[r]=255&e[0],e=e.shiftRight(8);return n}function O(e){var t=R.createHash(\"sha512\").update(e).digest();return E(S(t),64).reverse()}function A(e){var t=R.createHash(\"sha512\").update(e).digest();return M(z,E(S(t),64)).join(\"\")}function C(e){return S([0].concat(O(e)))}function T(e){return r(O(e).slice(32,64))}function I(e){return C(e).mod(G)}function P(e){var t=T(e);return t.n[0]&=65528,t.n[15]&=16383,t.n[15]|=16384,t}function F(e){return k(g(Q,P(e)))}function M(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function z(e){return String.fromCharCode(e)}function B(e,t){return v(f(m(e),m(t)))}var N=e(\"./core\"),D=(e(\"./curve255\"),e(\"./utils\")),q=e(\"jsbn\").BigInteger,R=e(\"crypto\"),L={};r.prototype={toString:function(){return D.hexEncode(this.n)},toSource:function(){return\"_\"+D.hexEncode(this.n)},plus:function(e){return r(N.bigintadd(this.n,e.n))},minus:function(e){return r(N.bigintsub(this.n,e.n)).modq()},times:function(e){return r(N.mulmodp(this.n,e.n))},divide:function(e){return this.times(e.inv())},sqr:function(){return r(N.sqrmodp(this.n))},cmp:function(e){return N.bigintcmp(this.n,e.n)},equals:function(e){return 0===this.cmp(e)},isOdd:function(){return 1===(1&this.n[0])},shiftLeft:function(e){return i(this.n,e),this},shiftRight:function(e){return o(this.n,e),this},inv:function(){return r(N.invmodp(this.n))},pow:function(e){return r(c(this.n,e.n))},modq:function(){return u(this)},bytes:function(){return a(this)}};var $=r(0),U=r(1),H=r(2),V=r([65517,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,32767]),W=r(\"0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe\"),Y=r(\"52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3\"),K=r(\"2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0\"),G=(r(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\"),S(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\",16)),J=r(4).divide(r(5)),Z=l(J),Q=[Z,J];q.prototype.bytes=function(e){return E(this,e)},L.isOnCurve=function(e){try{p(j(D.string2bytes(e)))}catch(t){if(\"Point is not on curve\"===t)return!1;throw t}return!0},L.publicKey=function(e){return D.bytes2string(F(e))},L.sign=function(e,t,n){n=void 0===n?F(t):D.string2bytes(n);var r=S(P(t).toString(),16),i=A(t),o=O(i.slice(32,64)+e),a=x(Q,o),s=k(a);o=S(o).mod(S(1,10).shiftLeft(512));var c=M(z,s).join(\"\")+M(z,n).join(\"\")+e;return c=I(c).multiply(r).add(o).mod(G),D.bytes2string(s.concat(w(c)))},L.verify=function(e,t,n){e=D.string2bytes(e.slice(0,64)),n=D.string2bytes(n);var r=e.slice(0,32),i=j(r),o=j(n),a=_(e.slice(32,64)),s=C(D.bytes2string(r.concat(n))+t),c=g(Q,a),u=x(o,E(s)),p=B(i,u);return c[0].equals(p[0])&&c[1].equals(p[1])},L.generateKeySeed=function(){return N.generateKey(!1)},t.exports=L}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./core\":166,\"./curve255\":167,\"./utils\":170,crypto:void 0,jsbn:171}],170:[function(e,t,n){\"use strict\";function r(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];t.push(h.substr(r>>>12&15,1)),t.push(h.substr(r>>>8&15,1)),t.push(h.substr(r>>>4&15,1)),t.push(h.substr(15&r,1))}return t.join(\"\")}function i(e){for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.length-1,r=0;n>=0;n-=4)t[r]=h.indexOf(e.charAt(n))|h.indexOf(e.charAt(n-1))<<4|h.indexOf(e.charAt(n-2))<<8|h.indexOf(e.charAt(n-3))<<12,r++;return t}function o(e){var t,n=\"\";for(t=0;255>t;t+=5)n=m.substr(f.getbit(e,t)+(f.getbit(e,t+1)<<1)+(f.getbit(e,t+2)<<2)+(f.getbit(e,t+3)<<3)+(f.getbit(e,t+4)<<4),1)+n;return n}function a(e){var t=0,n=f.ZERO(),r=e.length;for(t=0;r>0&&255>t;t+=5){r--;var i=v[e.substr(r,1)];f.setbit(n,t,1&i),i>>=1,f.setbit(n,t+1,1&i),i>>=1,f.setbit(n,t+2,1&i),i>>=1,f.setbit(n,t+3,1&i),i>>=1,f.setbit(n,t+4,1&i)}return n}function s(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function c(e){return String.fromCharCode(e)}function u(e){return e.charCodeAt(0)}function p(e){return s(c,e).join(\"\")}function l(e){return s(u,e)}var f=e(\"./core\"),d={},h=\"0123456789abcdef\",m=\"abcdefghijklmnopqrstuvwxyz234567\",v=function(){for(var e={},t=0;t<m.length;t++)e[m.charAt(t)]=t;return e}();d.hexEncode=r,d.hexDecode=i,d.base32encode=o,d.base32decode=a,d.bytes2string=p,d.string2bytes=l,t.exports=d},{\"./core\":166}],171:[function(e,t,n){(function(){function e(e,t,n){null!=e&&(\"number\"==typeof e?this.fromNumber(e,t,n):null==t&&\"string\"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new e(null)}function i(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*a;c=a*c+((32767&p)<<15)+n[r]+(1073741823&i),i=(c>>>30)+(p>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i}function a(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*a;c=a*c+((16383&p)<<14)+n[r]+i,i=(c>>28)+(p>>14)+s*u,n[r++]=268435455&c}return i}function s(e){return vt.charAt(e)}function c(e,t){var n=gt[e.charCodeAt(t)];return null==n?-1:n}function u(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function p(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+this.DV:this.t=0}function l(e){var t=r();return t.fromInt(e),t}function f(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:c(t,i);0>s?\"-\"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)}function d(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function h(e){if(this.s<0)return\"-\"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o=\"\",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(n=this[a]>>c)>0&&(i=!0,o=s(n));a>=0;)t>c?(n=(this[a]&(1<<c)-1)<<t-c,n|=this[--a]>>(c+=this.DB-t)):(n=this[a]>>(c-=t)&r,0>=c&&(c+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:\"0\"}function m(){var t=r();return e.ZERO.subTo(this,t),t}function v(){return this.s<0?this.negate():this}function g(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function y(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function b(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)}function x(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function _(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function k(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}function j(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=0>r?-1:0,-1>r?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function S(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}function E(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function O(t,n,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t<o.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=t.s,p=this.DB-y(o[o.t-1]);p>0?(o.lShiftTo(p,s),a.lShiftTo(p,i)):(o.copyTo(s),a.copyTo(i));var l=s.t,f=s[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),h=this.FV/d,m=(1<<this.F1)/d,v=1<<this.F2,g=i.t,b=g-l,x=null==n?r():n;for(s.dlShiftTo(b,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),e.ONE.dlShiftTo(l,x),x.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var w=i[--g]==f?this.DM:Math.floor(i[g]*h+(i[g-1]+v)*m);if((i[g]+=s.am(0,w,i,b,0,l))<w)for(s.dlShiftTo(b,x),i.subTo(x,i);i[g]<--w;)i.subTo(x,i)}null!=n&&(i.drShiftTo(l,n),c!=u&&e.ZERO.subTo(n,n)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),0>c&&e.ZERO.subTo(i,i)}}}function A(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}function C(e){this.m=e}function T(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function I(e){return e}function P(e){e.divRemTo(this.m,null,e)}function F(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function M(e,t){e.squareTo(t),this.reduce(t)}function z(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function N(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n}function D(e){var t=r();return e.copyTo(t),this.reduce(t),t}function q(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function $(){return 0==(this.t>0?1&this[0]:this.s)}function U(t,n){if(t>4294967295||1>t)return e.ONE;var i=r(),o=r(),a=n.convert(this),s=y(t)-1;for(a.copyTo(i);--s>=0;)if(n.sqrTo(i,o),(t&1<<s)>0)n.mulTo(o,a,i);else{var c=i;i=o,o=c}return n.revert(i)}function H(e,t){var n;return n=256>e||t.isEven()?new C(t):new B(t),this.exp(e,n)}function V(){var e=r();return this.copyTo(e),e}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Y(){return 0==this.t?this.s:this[0]<<24>>24}function K(){return 0==this.t?this.s:this[0]<<16>>16}function G(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function J(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Z(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return\"0\";var t=this.chunkSize(e),n=Math.pow(e,t),i=l(n),o=r(),a=r(),s=\"\";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(e)+s}function Q(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<t.length;++u){var p=c(t,u);0>p?\"-\"==t.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+p,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)}function X(t,n,r){if(\"number\"==typeof n)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),se,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=(t>>3)+1,n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}}function ee(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)8>r?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,0>=r&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t}function te(e){return 0==this.compareTo(e)}function ne(e){return this.compareTo(e)<0?this:e}function re(e){return this.compareTo(e)>0?this:e}function ie(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;o>r;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}function oe(e,t){return e&t}function ae(e){var t=r();return this.bitwiseTo(e,oe,t),t}function se(e,t){return e|t}function ce(e){var t=r();return this.bitwiseTo(e,se,t),t}function ue(e,t){return e^t}function pe(e){var t=r();return this.bitwiseTo(e,ue,t),t}function le(e,t){return e&~t}function fe(e){var t=r();return this.bitwiseTo(e,le,t),t}function de(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function he(e){var t=r();return 0>e?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=r();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function ve(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ge(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+ve(this[e]);return this.s<0?this.t*this.DB:-1}function ye(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function be(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=ye(this[n]^t);return e}function xe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function we(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}function _e(e){return this.changeBit(e,se)}function ke(e){return this.changeBit(e,le)}function je(e){return this.changeBit(e,ue)}function Se(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=0>r?-1:0,r>0?t[n++]=r:-1>r&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function Ee(e){var t=r();return this.addTo(e,t),t}function Oe(e){var t=r();return this.subTo(e,t),t}function Ae(e){var t=r();return this.multiplyTo(e,t),t}function Ce(){var e=r();return this.squareTo(e),e}function Te(e){var t=r();return this.divRemTo(e,t,null),t}function Ie(e){var t=r();return this.divRemTo(e,null,t),t}function Pe(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)}function Fe(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Me(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function ze(){}function Be(e){return e}function Ne(e,t,n){e.multiplyTo(t,n)}function De(e,t){e.squareTo(t)}function qe(e){return this.exp(e,new ze)}function Re(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;i>r;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);i>r;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}function Le(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}function $e(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function Ue(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function Ve(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)}function We(e,t){e.squareTo(t),this.reduce(t)}function Ye(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function Ke(e,t){var n,i,o=e.bitLength(),a=l(1);if(0>=o)return a;n=18>o?1:48>o?3:144>o?4:768>o?5:6,i=8>o?new C(t):t.isEven()?new $e(t):new B(t);var s=new Array,c=3,u=n-1,p=(1<<n)-1;if(s[1]=i.convert(this),n>1){var f=r();for(i.sqrTo(s[1],f);p>=c;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var d,h,m=e.t-1,v=!0,g=r();for(o=y(e[m])-1;m>=0;){for(o>=u?d=e[m]>>o-u&p:(d=(e[m]&(1<<o+1)-1)<<u-o,m>0&&(d|=e[m-1]>>this.DB+o-u)),c=n;0==(1&d);)d>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),v)s[d].copyTo(a),v=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(h=a,a=g,g=h),i.mulTo(g,s[d],a)}for(;m>=0&&0==(e[m]&1<<o);)i.sqrTo(a,g),h=a,a=g,g=h,--o<0&&(o=this.DB-1,--m)}return i.revert(a)}function Ge(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(0>o)return t;for(o>i&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function Je(e){if(0>=e)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}function Ze(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Qe(e){var t,n=this.abs();if(1==n.t&&n[0]<=yt[yt.length-1]){for(t=0;t<yt.length;++t)if(n[0]==yt[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<yt.length;){for(var r=yt[t],i=t+1;i<yt.length&&bt>r;)r*=yt[i++];for(r=n.modInt(r);i>t;)if(r%yt[t++]==0)return!1}return n.millerRabin(e)}function Xe(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(0>=i)return!1;var o=n.shiftRight(i);t=t+1>>1,t>yt.length&&(t=yt.length);for(var a=r(),s=0;t>s;++s){a.fromInt(yt[Math.floor(Math.random()*yt.length)]);var c=a.modPow(o,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(n)){for(var u=1;u++<i&&0!=c.compareTo(n);)if(c=c.modPowInt(2,this),0==c.compareTo(e.ONE))return!1;if(0!=c.compareTo(n))return!1}}return!0}function et(e){wt[_t++]^=255&e,wt[_t++]^=e>>8&255,wt[_t++]^=e>>16&255,wt[_t++]^=e>>24&255,_t>=Et&&(_t-=Et)}function tt(){et((new Date).getTime())}function nt(){if(null==xt){for(tt(),xt=ct(),xt.init(wt),_t=0;_t<wt.length;++_t)wt[_t]=0;_t=0}return xt.next()}function rt(e){var t;for(t=0;t<e.length;++t)e[t]=nt()}function it(){}function ot(){this.i=0,this.j=0,this.S=new Array}function at(e){var t,n,r;for(t=0;256>t;++t)this.S[t]=t;for(n=0,t=0;256>t;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function st(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function ct(){return new ot}var ut,pt=0xdeadbeefcafe,lt=15715070==(16777215&pt),ft=\"undefined\"!=typeof navigator;ft&&lt&&\"Microsoft Internet Explorer\"==navigator.appName?(e.prototype.am=o,ut=30):ft&&lt&&\"Netscape\"!=navigator.appName?(e.prototype.am=i,ut=26):(e.prototype.am=a,ut=28),e.prototype.DB=ut,e.prototype.DM=(1<<ut)-1,e.prototype.DV=1<<ut;var dt=52;e.prototype.FV=Math.pow(2,dt),e.prototype.F1=dt-ut,e.prototype.F2=2*ut-dt;var ht,mt,vt=\"0123456789abcdefghijklmnopqrstuvwxyz\",gt=new Array;for(ht=\"0\".charCodeAt(0),mt=0;9>=mt;++mt)gt[ht++]=mt;for(ht=\"a\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;for(ht=\"A\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;C.prototype.convert=T,C.prototype.revert=I,C.prototype.reduce=P,C.prototype.mulTo=F,C.prototype.sqrTo=M,B.prototype.convert=N,B.prototype.revert=D,B.prototype.reduce=q,B.prototype.mulTo=L,B.prototype.sqrTo=R,e.prototype.copyTo=u,e.prototype.fromInt=p,e.prototype.fromString=f,e.prototype.clamp=d,e.prototype.dlShiftTo=x,e.prototype.drShiftTo=w,e.prototype.lShiftTo=_,e.prototype.rShiftTo=k,e.prototype.subTo=j,e.prototype.multiplyTo=S,e.prototype.squareTo=E,e.prototype.divRemTo=O,e.prototype.invDigit=z,e.prototype.isEven=$,e.prototype.exp=U,e.prototype.toString=h,e.prototype.negate=m,e.prototype.abs=v,e.prototype.compareTo=g,e.prototype.bitLength=b,e.prototype.mod=A,e.prototype.modPowInt=H,e.ZERO=l(0),e.ONE=l(1),ze.prototype.convert=Be,ze.prototype.revert=Be,ze.prototype.mulTo=Ne,ze.prototype.sqrTo=De,$e.prototype.convert=Ue,$e.prototype.revert=He,$e.prototype.reduce=Ve,$e.prototype.mulTo=Ye,$e.prototype.sqrTo=We;var yt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bt=(1<<26)/yt[yt.length-1];e.prototype.chunkSize=G,e.prototype.toRadix=Z,e.prototype.fromRadix=Q,e.prototype.fromNumber=X,e.prototype.bitwiseTo=ie,e.prototype.changeBit=we,e.prototype.addTo=Se,e.prototype.dMultiply=Fe,e.prototype.dAddOffset=Me,e.prototype.multiplyLowerTo=Re,e.prototype.multiplyUpperTo=Le,e.prototype.modInt=Je,e.prototype.millerRabin=Xe,e.prototype.clone=V,e.prototype.intValue=W,e.prototype.byteValue=Y,e.prototype.shortValue=K,e.prototype.signum=J,e.prototype.toByteArray=ee,e.prototype.equals=te,e.prototype.min=ne,e.prototype.max=re,e.prototype.and=ae,e.prototype.or=ce,e.prototype.xor=pe,e.prototype.andNot=fe,e.prototype.not=de,e.prototype.shiftLeft=he,e.prototype.shiftRight=me,e.prototype.getLowestSetBit=ge,e.prototype.bitCount=be,e.prototype.testBit=xe,e.prototype.setBit=_e,e.prototype.clearBit=ke,e.prototype.flipBit=je,e.prototype.add=Ee,e.prototype.subtract=Oe,e.prototype.multiply=Ae,e.prototype.divide=Te,e.prototype.remainder=Ie,e.prototype.divideAndRemainder=Pe,e.prototype.modPow=Ke,e.prototype.modInverse=Ze,e.prototype.pow=qe,e.prototype.gcd=Ge,e.prototype.isProbablePrime=Qe,e.prototype.square=Ce,e.prototype.Barrett=$e;var xt,wt,_t;if(null==wt){wt=new Array,_t=0;var kt;if(\"undefined\"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var jt=new Uint8Array(32);for(window.crypto.getRandomValues(jt),kt=0;32>kt;++kt)wt[_t++]=jt[kt]}else if(\"Netscape\"==navigator.appName&&navigator.appVersion<\"5\"){var St=window.crypto.random(32);for(kt=0;kt<St.length;++kt)wt[_t++]=255&St.charCodeAt(kt)}for(;Et>_t;)kt=Math.floor(65536*Math.random()),wt[_t++]=kt>>>8,wt[_t++]=255&kt;_t=0,tt()}it.prototype.nextBytes=rt,ot.prototype.init=at,ot.prototype.next=st;var Et=256;\"undefined\"!=typeof n?n=t.exports={BigInteger:e,SecureRandom:it}:(this.BigInteger=e,this.SecureRandom=it)}).call(this)},{}],172:[function(e,t,n){({define:\"undefined\"!=typeof define?define:function(e,n){t.exports=n()}}).define([],function(){function e(t,n){return e(t,n,{changing:!1})}var t=e;t.Integer={type:\"integer\"};var n={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,n,r){return e(t,n,{changing:r||\"property\"})};var e=t._validate=function(e,t,r){function i(e){return e.type||n[e.name]==e&&e.name.toLowerCase()}function o(e,t,n,u){function p(e){c.push({property:n,message:e})}function l(e,t){if(e){if(!(\"string\"!=typeof e||\"any\"==e||(\"null\"==e?null===t:typeof t==e)||t instanceof Array&&\"array\"==e||t instanceof Date&&\"date\"==e||\"integer\"==e&&t%1===0))return[{property:n,message:typeof t+\" value found, but a \"+e+\" is required\"}];if(e instanceof Array){for(var r=[],i=0;i<e.length&&(r=l(e[i],t)).length;i++);if(r.length)return r}else if(\"object\"==typeof e){var a=c;c=[],o(t,e,n);var s=c;return c=a,s}}return[]}var f;if(n+=n?\"number\"==typeof u?\"[\"+u+\"]\":\"undefined\"==typeof u?\"\":\".\"+u:u,(\"object\"!=typeof t||t instanceof Array)&&(n||\"function\"!=typeof t)&&(!t||!i(t)))return\"function\"==typeof t?e instanceof t||p(\"is not an instance of the class/constructor \"+t.name):t&&p(\"Invalid schema/property definition \"+t),null;if(s&&t.readonly&&p(\"is a readonly field, it can not be changed\"),t[\"extends\"]&&o(e,t[\"extends\"],n,u),void 0===e)t.required&&p(\"is missing and it is required\");else if(c=c.concat(l(i(t),e)),t.disallow&&!l(t.disallow,e).length&&p(\" disallowed value was matched\"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,h=t.items;for(u=0,f=e.length;f>u;u+=1)d&&(h=t.items[u]),r.coerce&&(e[u]=r.coerce(e[u],h)),c.concat(o(e[u],h,n,u))}t.minItems&&e.length<t.minItems&&p(\"There must be a minimum of \"+t.minItems+\" in the array\"),t.maxItems&&e.length>t.maxItems&&p(\"There must be a maximum of \"+t.maxItems+\" in the array\")}else(t.properties||t.additionalProperties)&&c.concat(a(e,t.properties,n,t.additionalProperties));if(t.pattern&&\"string\"==typeof e&&!e.match(t.pattern)&&p(\"does not match the regex pattern \"+t.pattern),t.maxLength&&\"string\"==typeof e&&e.length>t.maxLength&&p(\"may only be \"+t.maxLength+\" characters long\"),t.minLength&&\"string\"==typeof e&&e.length<t.minLength&&p(\"must be at least \"+t.minLength+\" characters long\"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p(\"must have a minimum value of \"+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p(\"must have a maximum value of \"+t.maximum),t[\"enum\"]){var m=t[\"enum\"];f=m.length;for(var v,g=0;f>g;g++)if(m[g]===e){v=1;break}v||p(\"does not have a value in the enumeration \"+m.join(\", \"))}\"number\"==typeof t.maxDecimal&&e.toString().match(new RegExp(\"\\\\.[0-9]{\"+(t.maxDecimal+1)+\",}\"))&&p(\"may only have \"+t.maxDecimal+\" digits of decimal places\")}return null}function a(e,t,n,i){if(\"object\"==typeof t){(\"object\"!=typeof e||e instanceof Array)&&c.push({property:n,message:\"an object is required\"});for(var a in t)if(t.hasOwnProperty(a)){var u=e[a];if(void 0===u&&r.existingOnly)continue;var p=t[a];void 0===u&&p[\"default\"]&&(u=e[a]=p[\"default\"]),r.coerce&&a in e&&(u=e[a]=r.coerce(u,p)),o(u,p,n,a)}}for(a in e){if(e.hasOwnProperty(a)&&(\"_\"!=a.charAt(0)||\"_\"!=a.charAt(1))&&t&&!t[a]&&i===!1){if(r.filter){delete e[a];continue}c.push({property:n,message:typeof u+\"The property \"+a+\" is not defined in the schema and the schema does not allow additional properties\"})}var l=t&&t[a]&&t[a].requires;!l||l in e||c.push({property:n,message:\"the presence of the property \"+a+\" requires that \"+l+\" also be present\"}),u=e[a],!i||t&&\"object\"==typeof t&&a in t||(r.coerce&&(u=e[a]=r.coerce(u,i)),o(u,i,n,a)),!s&&u&&u.$schema&&(c=c.concat(o(u,u.$schema,n,a)))}return c}r||(r={});var s=r.changing,c=[];return t&&o(e,t,\"\",s||\"\"),!s&&e&&e.$schema&&o(e,e.$schema,\"\",\"\"),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return\"for property \"+e.property+\": \"+e.message}).join(\", \\n\"))},t})},{}],173:[function(e,t,n){function r(e,t,n,r){return JSON.stringify(e,i(t,r),n)}function i(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?\"[Circular ~]\":\"[Circular ~.\"+r.slice(0,n.indexOf(t)).join(\".\")+\"]\"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=t.call(this,i,o))}else n.push(o);return null==e?o:e.call(this,i,o)}}n=t.exports=r,n.getSerialize=i},{}],174:[function(e,t,n){var r=function(e){return e.replace(/~./g,function(e){switch(e){case\"~0\":return\"~\";case\"~1\":return\"/\"}throw new Error(\"Invalid tilde escape: \"+e)})},i=function(e,t,n){var o=r(t.shift());if(!e.hasOwnProperty(o))return null;if(0!==t.length)return i(e[o],t,n);if(\"undefined\"==typeof n)return e[o];var a=e[o];return null===n?delete e[o]:e[o]=n,a},o=function(e,t){if(\"object\"!=typeof e)throw new Error(\"Invalid input object.\");if(\"\"===t)return[];if(!t)throw new Error(\"Invalid JSON pointer.\");t=t.split(\"/\");var n=t.shift();if(\"\"!==n)throw new Error(\"Invalid JSON pointer.\");return t},a=function(e,t){return t=o(e,t),0===t.length?e:i(e,t)},s=function(e,t,n){if(t=o(e,t),0===t.length)throw new Error(\"Invalid JSON pointer for set.\");return i(e,t,n)};n.get=a,n.set=s},{}],175:[function(e,t,n){function r(e){var t,n,i=\"__deepCopy\";if(e&&e[i])throw new Error(\"attempted deep copy of cyclic object\");\nif(e&&e.constructor==Object){t={},e[i]=!0;for(n in e)n!=i&&(t[n]=r(e[n]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,n=0;n<e.length;n++)t.push(r(e[n]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||\"object\"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var n;for(n in e){if(!t.hasOwnProperty(n))return!1;if(!i(e[n],t[n]))return!1}for(n in t)if(!e.hasOwnProperty(n))return!1;return!0}function o(e){var t;for(t in e)return!1;return!0}function a(e,t){for(var n in e)t(n,e[n])}function s(e,t){return A.equal(typeof t,\"string\"),c(e,t)}function c(e,t){if(null!==e&&\"object\"==typeof e){if(e.hasOwnProperty(t))return e[t];var n=t.indexOf(\".\");if(-1!=n){var r=t.substr(0,n);if(e.hasOwnProperty(r))return c(e[r],t.substr(n+1))}}}function u(e,t,n){p(e,t,[],n)}function p(e,t,n,r){var i,o;if(0===t)return i=n.slice(0),i.push(e),void r(i);A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);for(o in e)i=n.slice(0),i.push(o),p(e[o],t-1,i,r)}function l(e,t){if(0===t)return[e];A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);var n,r=[];for(n in e)l(e[n],t-1).forEach(function(e){r.push([n].concat(e))});return r}function f(e,t){return e.substr(0,t.length)==t}function d(e,t){return e.substr(e.length-t.length,t.length)==t}function h(e){return\"number\"==typeof e&&(e=new Date(e)),A.ok(e.constructor===Date),C.sprintf(\"%4d-%02d-%02dT%02d:%02d:%02d.%03dZ\",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function m(e){return C.sprintf(\"%s, %02d %s %04d %02d:%02d:%02d GMT\",F[e.getUTCDay()],e.getUTCDate(),P[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function v(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)}function g(e,t){var n=I.validate(t,e);if(0===n.errors.length)return null;var r,i,o=n.errors[0],a=o.property,s=o.message.toLowerCase();-1!=(r=s.indexOf(\"the property \"))&&-1!=(i=s.indexOf(\" is not defined in the schema and the schema does not allow additional properties\"))&&(r+=\"the property \".length,a=\"\"===a?s.substr(r,i-r):a+\".\"+s.substr(r,i-r),s=\"unsupported property\");var c=new T.VError('property \"%s\": %s',a,s);return c.jsv_details=o,c}function y(e){return A.ok(Array.isArray(e)&&e.length>0,\"randElt argument must be a non-empty array\"),e[Math.floor(Math.random()*e.length)]}function b(e){A.ok(e[0]>=0&&e[1]>=0,\"negative numbers not allowed in hrtimes\"),A.ok(e[1]<1e9,\"nanoseconds column overflow\")}function x(e,t){b(e),b(t),A.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],\"negative differences not allowed\");var n=[e[0]-t[0],0];return e[1]>=t[1]?n[1]=e[1]-t[1]:(n[0]--,n[1]=1e9-(t[1]-e[1])),n}function w(e){return b(e),Math.floor(1e9*e[0]+e[1])}function _(e){return b(e),Math.floor(1e6*e[0]+e[1]/1e3)}function k(e){return b(e),Math.floor(1e3*e[0]+e[1]/1e6)}function j(e,t){return b(e),b(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function S(e,t){b(e);var n=[e[0],e[1]];return j(n,t)}function E(e,t){A.ok(\"object\"==typeof e&&null!==e,\"obj argument must be a non-null object\"),A.ok(Array.isArray(t),\"allowed argument must be an array of strings\");for(var n=0;n<t.length;n++)A.ok(\"string\"==typeof t[n],\"allowed argument must be an array of strings\");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})}function O(e,t,n){var r,i;if(r={},n)for(i in n)r[i]=n[i];if(e)for(i in e)r[i]=e[i];if(t)for(i in t)r[i]=t[i];return r}var A=e(\"assert\"),C=(e(\"util\"),e(\"extsprintf\")),T=e(\"verror\"),I=e(\"json-schema\");n.deepCopy=r,n.deepEqual=i,n.isEmpty=o,n.forEachKey=a,n.pluck=s,n.flattenObject=l,n.flattenIter=u,n.validateJsonObject=g,n.validateJsonObjectJS=g,n.randElt=y,n.extraProperties=E,n.mergeObjects=O,n.startsWith=f,n.endsWith=d,n.iso8601=h,n.rfc1123=m,n.parseDateTime=v,n.hrtimediff=x,n.hrtimeDiff=x,n.hrtimeAccum=j,n.hrtimeAdd=S,n.hrtimeNanosec=w,n.hrtimeMicrosec=_,n.hrtimeMillisec=k;var P=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],F=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},{assert:void 0,extsprintf:114,\"json-schema\":172,util:void 0,verror:533}],176:[function(e,t,n){\"use strict\";function r(){this._pres={},this._posts={}}r.prototype.execPre=function(e,t,n){var r=this._pres[e]||[],i=r.length,o=r.numAsync||0,a=0,s=o,c=!1;if(!i)return process.nextTick(function(){n(null)});var u=function(){if(!(a>=i)){var e=r[a];if(e.isAsync)e.fn.call(t,function(e){if(e){if(c)return;return c=!0,n(e)}++a,u.apply(t,arguments)},function(e){if(e){if(c)return;return c=!0,n(e)}return 0===--o?n(null):void 0});else if(e.fn.length>0){var p=[function(e){if(e){if(c)return;return c=!0,n(e)}return++a>=i?s>0?void 0:n(null):void u.apply(t,arguments)}];if(arguments.length>=2)for(var l=1;l<arguments.length;++l)p.push(arguments[l]);e.fn.apply(t,p)}else{if(e.fn.call(t),++a>=i)return s>0?void 0:process.nextTick(function(){n(null)});u()}}};u()},r.prototype.execPost=function(e,t,n,r){var i=this._posts[e]||[],o=i.length,a=0;if(!o)return process.nextTick(function(){r.apply(null,[null].concat(n))});var s=function(){var e=i[a];if(e.length>n.length)e.apply(t,n.concat(function(e){return e?r(e):++a>=o?r.apply(null,[null].concat(n)):void s()}));else{if(e.apply(t,n),++a>=o)return r.apply(null,[null].concat(n));s()}};s()},r.prototype.wrap=function(e,t,n,r,i){var o=r.length>0?r[r.length-1]:null,a=this;this.execPre(e,n,function(s){if(s){if(\"function\"==typeof o)return o(s)}else{var c=\"function\"==typeof o?r.length-1:r.length;t.apply(n,r.slice(0,c).concat(function(){if(arguments[0])return\"function\"==typeof o?o(arguments[0]):void 0;i&&\"function\"==typeof o&&o.apply(n,arguments);var t=Array.prototype.slice.call(arguments,1);a.execPost(e,n,t,function(){return arguments[0]?\"function\"==typeof o?o(arguments[0]):void 0:\"function\"!=typeof o||i?void 0:o.apply(n,arguments)})}))}})},r.prototype.createWrapper=function(e,t,n){var r=this;return function(){var i=Array.prototype.slice.call(arguments);r.wrap(e,t,n,i)}},r.prototype.pre=function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1),this._pres[e]=this._pres[e]||[];var i=this._pres[e];return t&&(i.numAsync=i.numAsync||0,++i.numAsync),i.push({fn:n,isAsync:t}),this},r.prototype.post=function(e,t){return(this._posts[e]=this._posts[e]||[]).push(t),this},r.prototype.clone=function(){var e=new r;for(var t in this._pres)e._pres[t]=this._pres[t].slice();for(var t in this._posts)e._posts[t]=this._posts[t].slice();return e},t.exports=r},{}],177:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function c(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!!e.length&&_(e,t,0)>-1}function d(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function h(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function m(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function v(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function g(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===X?a===a:n(a,s)))var s=a,c=o}return c}function x(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function w(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function _(e,t,n){if(t!==t)return $(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function k(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function j(e,t){var n=e?e.length:0;return n?O(e,t)/n:Oe}function S(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function E(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==X&&(n=n===X?o:n+o)}return n}function A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return h(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function I(e,t){return h(t,function(t){return e[t]})}function P(e,t){for(var n=-1,r=e.length;++n<r&&_(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function z(e,t){if(e!==t){var n=null===e,r=e===X,i=e===e,o=null===t,a=t===X,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function B(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var c=z(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*(\"desc\"==u?-1:1)}}return e.index-t.index}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function D(e){return function(t,n){var r;return t===X&&n===X?0:(t!==X&&(r=t),n!==X&&(r=r===X?n:e(r,n)),r)}}function q(e){return Tn[e]}function R(e){return In[e]}function L(e){return\"\\\\\"+Mn[e]}function $(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function U(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(n){}return t}function H(e,t){return e=\"number\"==typeof e||Pt.test(e)?+e:-1,t=null==t?Se:t,e>-1&&e%1==0&&t>e}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ie||(e[n]=ie,o[i++]=n)}return o}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){if(!e||!jn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function J(e){return e.match(_n)}function Z(e){return Pn[e]}function Q(e){function t(e){if(as(e)&&!Zp(e)&&!(e instanceof Pt)){if(e instanceof M)return e;if(du.call(e,\"__wrapped__\"))return Ji(e)}return new M(e)}function n(){}function M(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=X}function Pt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function Bt(){var e=new Pt(this.__wrapped__);return e.__actions__=Kr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Kr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Kr(this.__views__),e}function Nt(){if(this.__filtered__){var e=new Pt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zp(e),r=0>t,i=n?e.length:0,o=Ci(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=Du(c,this.__takeCount__);if(!n||te>i||i==c&&d==c)return Ir(e,this.__actions__);var h=[];e:for(;c--&&d>f;){u+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==_e)v=x;else if(!x){if(b==we)continue e;break e}}h[f++]=v}return h}function qt(){}function Rt(e,t){return $t(e,t)&&delete e[t]}function Lt(e,t){if(Gu){var n=e[t];return n===re?X:n}return du.call(e,t)?e[t]:X}function $t(e,t){return Gu?e[t]!==X:du.call(e,t)}function Ut(e,t,n){e[t]=Gu&&n===X?re:n}function Ht(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vt(){this.__data__={hash:new qt,map:Vu?new Vu:[],string:new qt}}function Wt(e){var t=this.__data__;return qi(e)?Rt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map[\"delete\"](e):an(t.map,e)}function Yt(e){var t=this.__data__;return qi(e)?Lt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.get(e):sn(t.map,e)}function Kt(e){var t=this.__data__;return qi(e)?$t(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.has(e):cn(t.map,e)}function Gt(e,t){var n=this.__data__;return qi(e)?Ut(\"string\"==typeof e?n.string:n.hash,e,t):Vu?n.map.set(e,t):pn(n.map,e,t),this}function Jt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ht;++t<n;)this.push(e[t])}function Zt(e,t){var n=e.__data__;if(qi(t)){var r=n.__data__,i=\"string\"==typeof t?r.string:r.hash;return i[t]===re}return n.has(t)}function Qt(e){var t=this.__data__;if(qi(e)){var n=t.__data__,r=\"string\"==typeof e?n.string:n.hash;r[e]=re}else t.set(e,re)}function Xt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map[\"delete\"](e)}function nn(e){var t=this.__data__,n=t.array;return n?sn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<te-1?pn(r,e,t):(n.array=null,n.map=new Ht(r)));var i=n.map;return i&&i.set(e,t),this}function an(e,t){var n=un(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Tu.call(e,n,1),!0}function sn(e,t){var n=un(e,t);return 0>n?X:e[n][1]}function cn(e,t){return un(e,t)>-1}function un(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function pn(e,t,n){var r=un(e,t);0>r?e.push([t,n]):e[r][1]=n}function ln(e,t,n,r){return e===X||La(e,pu[n])&&!du.call(r,n)?t:e}function fn(e,t,n){(n===X||La(e[t],n))&&(\"number\"!=typeof t||n!==X||t in e)||(e[t]=n)}function dn(e,t,n){var r=e[t];du.call(e,t)&&La(r,n)&&(n!==X||t in e)||(e[t]=n)}function hn(e,t,n,r){return sp(e,function(e,i,o){t(r,e,n(e),o)}),r}function mn(e,t){return e&&Gr(t,Ws(t),e)}function vn(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?X:Us(e,t[n]);return o}function gn(e,t,n){return e===e&&(n!==X&&(e=n>=e?e:n),t!==X&&(e=e>=t?e:t)),e}function yn(e,t,n,r,i,o,a){var s;if(r&&(s=o?r(e,i,o,a):r(e)),s!==X)return s;if(!os(e))return e;var u=Zp(e);if(u){if(s=Ii(e),!t)return Kr(e,s)}else{var p=Ai(e),l=p==Be||p==Ne;if(Qp(e))return Dr(e,t);if(p==Re||p==Ie||l&&!o){if(U(e))return o?e:{};if(s=Pi(l?{}:e),!t)return Jr(e,mn(s,e))}else{if(!Cn[p])return o?e:{};s=Fi(e,p,yn,t)}}a||(a=new Xt);var f=a.get(e);if(f)return f;if(a.set(e,s),!u)var d=n?bi(e):Ws(e);return c(d||e,function(i,o){d&&(o=i,i=e[o]),dn(s,o,yn(i,t,n,r,o,e,a))}),s}function bn(e){var t=Ws(e),n=t.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=t[i],a=e[o],s=r[o];if(s===X&&!(o in Object(r))||!a(s))return!1}return!0}}function _n(e){return os(e)?Ou(e):{}}function Tn(e,t,n){if(\"function\"!=typeof e)throw new cu(ne);return Cu(function(){e.apply(X,n)},t)}function In(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=h(t,T(n))),r?(o=d,a=!1):t.length>=te&&(o=Zt,a=!1,t=new Jt(t));e:for(;++i<s;){var p=e[i],l=n?n(p):p;if(a&&l===l){for(var m=u;m--;)if(t[m]===l)continue e;c.push(p)}else o(t,l,r)||c.push(p)}return c}function Pn(e,t){var n=!0;return sp(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fn(e,t,n,r){var i=e.length;for(n=As(n),0>n&&(n=-n>i?0:i+n),r=r===X||r>i?i:As(r),0>r&&(r+=i),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Mn(e,t){var n=[];return sp(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Nn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=zi),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Nn(s,t-1,n,r,i):m(i,s):r||(i[i.length]=s)}return i}function Dn(e,t){return e&&up(e,t,Ws)}function Rn(e,t){return e&&pp(e,t,Ws)}function Ln(e,t){return l(t,function(t){return ns(e[t])})}function $n(e,t){t=Di(t,e)?[t]:Br(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:X}function Un(e,t,n){var r=t(e);return Zp(e)?r:m(r,n(e))}function Wn(e,t){return du.call(e,t)||\"object\"==typeof e&&t in e&&null===Ei(e)}function Yn(e,t){return t in Object(e)}function Kn(e,t,n){return e>=Du(t,n)&&e<Nu(t,n)}function Gn(e,t,n){for(var r=n?d:f,i=e[0].length,o=e.length,a=o,s=Array(o),c=1/0,u=[];a--;){var p=e[a];a&&t&&(p=h(p,T(t))),c=Du(p.length,c),s[a]=!n&&(t||i>=120&&p.length>=120)?new Jt(a&&p):X}p=e[0];var l=-1,m=s[0];e:for(;++l<i&&u.length<c;){var v=p[l],g=t?t(v):v;if(!(m?Zt(m,g):r(u,g,n))){for(a=o;--a;){var y=s[a];if(!(y?Zt(y,g):r(e[a],g,n)))continue e}m&&m.push(g),u.push(v)}}return u}function Jn(e,t,n,r){return Dn(e,function(e,i,o){t(r,n(e),i,o)}),r}function Zn(e,t,n){Di(t,e)||(t=Br(t),e=Wi(e,t),t=vo(t));var r=null==e?e:e[t];return null==r?X:o(r,e,n)}function Qn(e,t,n,r,i){return e===t?!0:null==e||null==t||!os(e)&&!as(t)?e!==e&&t!==t:Xn(e,t,Qn,n,r,i)}function Xn(e,t,n,r,i,o){var a=Zp(e),s=Zp(t),c=Pe,u=Pe;a||(c=Ai(e),c=c==Ie?Re:c),s||(u=Ai(t),u=u==Ie?Re:u);var p=c==Re&&!U(e),l=u==Re&&!U(t),f=c==u;if(f&&!p)return o||(o=new Xt),a||ws(e)?vi(e,t,n,r,i,o):gi(e,t,c,n,r,i,o);if(!(i&ve)){var d=p&&du.call(e,\"__wrapped__\"),h=l&&du.call(t,\"__wrapped__\");if(d||h){var m=d?e.value():e,v=h?t.value():t;return o||(o=new Xt),n(m,v,r,i,o)}}return f?(o||(o=new Xt),yi(e,t,n,r,i,o)):!1}function er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===X&&!(c in e))return!1}else{var l=new Xt;if(r)var f=r(u,p,c,e,t,l);if(!(f===X?Qn(p,u,r,me|ve,l):f))return!1}}return!0}function tr(e){return\"function\"==typeof e?e:null==e?Nc:\"object\"==typeof e?Zp(e)?ar(e[0],e[1]):or(e):Vc(e)}function nr(e){return Bu(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ir(e,t){var n=-1,r=Wa(e)?Array(e.length):[];return sp(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function or(e){var t=ki(e);return 1==t.length&&t[0][2]?Ui(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ar(e,t){return Di(e)&&$i(t)?Ui(e,t):function(n){var r=Us(n,e);return r===X&&r===t?Vs(n,e):Qn(t,r,X,me|ve)}}function sr(e,t,n,r,i){if(e!==t){if(!Zp(t)&&!ws(t))var o=Ys(t);c(o||t,function(a,s){if(o&&(s=a,a=t[s]),os(a))i||(i=new Xt),cr(e,t,s,n,sr,r,i);else{var c=r?r(e[s],a,s+\"\",e,t,i):X;c===X&&(c=a),fn(e,s,c)}})}}function cr(e,t,n,r,i,o,a){var s=e[n],c=t[n],u=a.get(c);if(u)return void fn(e,n,u);var p=o?o(s,c,n+\"\",e,t,a):X,l=p===X;l&&(p=c,Zp(c)||ws(c)?Zp(s)?p=s:Ya(s)?p=Kr(s):(l=!1,p=yn(c,!0)):ms(c)||Ha(c)?Ha(s)?p=Is(s):!os(s)||r&&ns(s)?(l=!1,p=yn(c,!0)):p=s:l=!1),a.set(c,p),l&&i(p,c,r,o,a),a[\"delete\"](c),fn(e,n,p)}function ur(e,t){var n=e.length;if(n)return t+=0>t?n:0,H(t,n)?e[t]:X}function pr(e,t,n){var r=-1;t=h(t.length?t:[Nc],T(_i()));var i=ir(e,function(e,n,i){var o=h(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return E(i,function(e,t){return B(e,t,n)})}function lr(e,t){return e=Object(e),v(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function fr(e,t){for(var n=-1,r=xi(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function dr(e){return function(t){return null==t?X:t[e]}}function hr(e){return function(t){return $n(t,e)}}function mr(e,t,n,r){var i=r?k:_,o=-1,a=t.length,s=e;for(n&&(s=h(e,T(n)));++o<a;)for(var c=0,u=t[o],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&Tu.call(s,c,1),Tu.call(e,c,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(H(i))Tu.call(e,i,1);else if(Di(i,e))delete e[i];else{var a=Br(i),s=Wi(e,a);null!=s&&delete s[vo(a)]}}}return e}function gr(e,t){return e+Pu(Ru()*(t-e+1))}function yr(e,t,n,r){for(var i=-1,o=Nu(Iu((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}function br(e,t){var n=\"\";if(!e||1>t||t>Se)return n;do t%2&&(n+=e),t=Pu(t/2),t&&(e+=e);while(t);return n}function xr(e,t,n,r){t=Di(t,e)?[t]:Br(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];if(os(s)){var u=n;if(i!=a){var p=s[c];u=r?r(p,c,s):X,u===X&&(u=null==p?H(t[i+1])?[]:{}:p)}dn(s,c,u)}s=s[c]}return e}function wr(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function _r(e,t){var n;return sp(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function kr(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Te>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return jr(e,t,Nc,n)}function jr(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===X;o>i;){var u=Pu((i+o)/2),p=n(e[u]),l=p!==X,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return Du(o,Ce)}function Sr(e){return Er(e)}function Er(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,c=[i];++n<r;)i=e[n],o=t?t(i):i,La(o,a)||(a=o,c[s++]=i);return c}function Or(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=d;else if(o>=te){var u=t?null:fp(e);if(u)return K(u);a=!1,i=Zt,c=new Jt}else c=t?[]:s;e:for(;++r<o;){var p=e[r],l=t?t(p):p;if(a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function Ar(e,t){t=Di(t,e)?[t]:Br(t),e=Wi(e,t);var n=vo(t);return null!=e&&Hs(e,n)?delete e[n]:!0}function Cr(e,t,n,r){return xr(e,t,n($n(e,t)),r)}function Tr(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?wr(e,r?0:o,r?o+1:i):wr(e,r?o+1:0,r?i:o)}function Ir(e,t){var n=e;return n instanceof Pt&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,m([e],t.args))},n)}function Pr(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?m(In(o,e[r],t,n),In(e[r],o,t,n)):e[r];return o&&o.length?Or(o,t,n):[]}function Fr(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:X;n(a,e[r],s)}return a}function Mr(e){return Ya(e)?e:[]}function zr(e){return\"function\"==typeof e?e:Nc}function Br(e){return Zp(e)?e:gp(e)}function Nr(e,t,n){var r=e.length;return n=n===X?r:n,!t&&n>=r?e:wr(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function qr(e){var t=new e.constructor(e.byteLength);return new _u(t).set(new _u(e)),t}function Rr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Lr(e,t,n){var i=t?n(W(e),!0):W(e);return v(i,r,new e.constructor)}function $r(e){var t=new e.constructor(e.source,Et.exec(e));return t.lastIndex=e.lastIndex,t}function Ur(e,t,n){var r=t?n(K(e),!0):K(e);return v(r,i,new e.constructor)}function Hr(e){return op?Object(op.call(e)):{}}function Vr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wr(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,u=Nu(o-a,0),p=Array(c+u),l=!r;++s<c;)p[s]=t[s];for(;++i<a;)(l||o>i)&&(p[n[i]]=e[i]);for(;u--;)p[s++]=e[i++];return p}function Yr(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,u=t.length,p=Nu(o-s,0),l=Array(p+u),f=!r;++i<p;)l[i]=e[i];for(var d=i;++c<u;)l[d+c]=t[c];for(;++a<s;)(f||o>i)&&(l[d+n[a]]=e[i++]);return l}function Kr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Gr(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];dn(n,a,s)}return n}function Jr(e,t){return Gr(e,Oi(e),t)}function Zr(e,t){return function(n,r){var i=Zp(n)?a:hn,o=t?t():{};return i(n,e,_i(r),o)}}function Qr(e){return Ia(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=\"function\"==typeof o?(i--,o):X,a&&Ni(n[0],n[1],a)&&(o=3>i?X:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Xr(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function ei(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}function ti(e,t,n){function r(){var t=this&&this!==Hn&&this instanceof r?o:e;return t.apply(i?n:this,arguments)}var i=t&oe,o=ii(e);return r}function ni(e){return function(t){t=Fs(t);var n=jn.test(t)?J(t):X,r=n?n[0]:t.charAt(0),i=n?Nr(n,1).join(\"\"):t.slice(1);return r[e]()+i}}function ri(e){return function(t){return v(Fc(dc(t).replace(xn,\"\")),e,\"\")}}function ii(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_n(e.prototype),r=e.apply(n,t);return os(r)?r:n}}function oi(e,t,n){function r(){for(var a=arguments.length,s=Array(a),c=a,u=Si(r);c--;)s[c]=arguments[c];var p=3>a&&s[0]!==u&&s[a-1]!==u?[]:Y(s,u);if(a-=p.length,n>a)return di(e,t,si,r.placeholder,X,s,p,X,X,n-a);var l=this&&this!==Hn&&this instanceof r?i:e;return o(l,this,s)}var i=ii(e);return r}function ai(e){return Ia(function(t){t=Nn(t,1);var n=t.length,r=n,i=M.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(\"function\"!=typeof o)throw new cu(ne);if(i&&!a&&\"wrapper\"==wi(o))var a=new M([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=wi(o),c=\"wrapper\"==s?dp(o):X;a=c&&Ri(c[0])&&c[1]==(fe|ce|pe|de)&&!c[4].length&&1==c[9]?a[wi(c[0])].apply(a,c[3]):1==o.length&&Ri(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Zp(r)&&r.length>=te)return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function si(e,t,n,r,i,o,a,s,c,u){function p(){for(var g=arguments.length,y=g,b=Array(g);y--;)b[y]=arguments[y];if(h)var x=Si(p),w=N(b,x);if(r&&(b=Wr(b,r,i,h)),o&&(b=Yr(b,o,a,h)),g-=w,h&&u>g){var _=Y(b,x);return di(e,t,si,p.placeholder,n,b,_,s,c,u-g)}var k=f?n:this,j=d?k[e]:e;return g=b.length,s?b=Yi(b,s):m&&g>1&&b.reverse(),l&&g>c&&(b.length=c),this&&this!==Hn&&this instanceof p&&(j=v||ii(j)),j.apply(k,b)}var l=t&fe,f=t&oe,d=t&ae,h=t&(ce|ue),m=t&he,v=d?X:ii(e);return p}function ci(e,t){return function(n,r){return Jn(n,e,t(r),{})}}function ui(e){return Ia(function(t){return t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i())),Ia(function(n){var r=this;return e(t,function(e){return o(e,r,n)})})})}function pi(e,t){t=t===X?\" \":t+\"\";var n=t.length;if(2>n)return n?br(t,e):t;var r=br(t,Iu(e/G(t)));return jn.test(t)?Nr(J(r),0,e).join(\"\"):r.slice(0,e)}function li(e,t,n,r){function i(){for(var t=-1,c=arguments.length,u=-1,p=r.length,l=Array(p+c),f=this&&this!==Hn&&this instanceof i?s:e;++u<p;)l[u]=r[u];for(;c--;)l[u++]=arguments[++t];return o(f,a?n:this,l)}var a=t&oe,s=ii(e);return i}function fi(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Ni(t,n,r)&&(n=r=X),t=Ts(t),t=t===t?t:0,n===X?(n=t,t=0):n=Ts(n)||0,r=r===X?n>t?1:-1:Ts(r)||0,yr(t,n,r,e)}}function di(e,t,n,r,i,o,a,s,c,u){var p=t&ce,l=p?a:X,f=p?X:a,d=p?o:X,h=p?X:o;t|=p?pe:le,t&=~(p?le:pe),t&se||(t&=~(oe|ae));var m=[e,t,i,d,l,h,f,s,c,u],v=n.apply(X,m);return Ri(e)&&vp(v,m),v.placeholder=r,v}function hi(e){var t=au[e];return function(e,n){if(e=Ts(e),n=As(n)){var r=(Fs(e)+\"e\").split(\"e\"),i=t(r[0]+\"e\"+(+r[1]+n));return r=(Fs(i)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}function mi(e,t,n,r,i,o,a,s){var c=t&ae;if(!c&&\"function\"!=typeof e)throw new cu(ne);var u=r?r.length:0;if(u||(t&=~(pe|le),r=i=X),a=a===X?a:Nu(As(a),0),s=s===X?s:As(s),u-=i?i.length:0,t&le){var p=r,l=i;r=i=X}var f=c?X:dp(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&Hi(d,f),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=null==d[9]?c?0:e.length:Nu(d[9]-u,0),!s&&t&(ce|ue)&&(t&=~(ce|ue)),t&&t!=oe)h=t==ce||t==ue?oi(e,t,s):t!=pe&&t!=(oe|pe)||i.length?si.apply(X,d):li(e,t,n,r);else var h=ti(e,t,n);var m=f?lp:vp;return m(h,d)}function vi(e,t,n,r,i,o){var a=-1,s=i&ve,c=i&me,u=e.length,p=t.length;if(u!=p&&!(s&&p>u))return!1;var l=o.get(e);if(l)return l==t;var f=!0;for(o.set(e,t);++a<u;){var d=e[a],h=t[a];if(r)var m=s?r(h,d,a,t,e,o):r(d,h,a,e,t,o);if(m!==X){if(m)continue;f=!1;break}if(c){if(!y(t,function(e){return d===e||n(d,e,r,i,o)})){f=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){f=!1;break}}return o[\"delete\"](e),f}function gi(e,t,n,r,i,o,a){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new _u(e),new _u(t)));case Fe:case Me:return+e==+t;case ze:return e.name==t.name&&e.message==t.message;case qe:return e!=+e?t!=+t:e==+t;case $e:case He:return e==t+\"\";case De:var s=W;case Ue:var c=o&ve;if(s||(s=K),e.size!=t.size&&!c)return!1;var u=a.get(e);return u?u==t:(o|=me,a.set(e,t),vi(s(e),s(t),r,i,o,a));case Ve:if(op)return op.call(e)==op.call(t)}return!1}function yi(e,t,n,r,i,o){var a=i&ve,s=Ws(e),c=s.length,u=Ws(t),p=u.length;if(c!=p&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in t:Wn(t,f)))return!1}var d=o.get(e);if(d)return d==t;var h=!0;o.set(e,t);for(var m=a;++l<c;){f=s[l];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,o):r(v,g,f,e,t,o);if(!(y===X?v===g||n(v,g,r,i,o):y)){h=!1;break}m||(m=\"constructor\"==f)}if(h&&!m){var b=e.constructor,x=t.constructor;b!=x&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof x&&x instanceof x)&&(h=!1)}return o[\"delete\"](e),h}function bi(e){return Un(e,Ws,Oi)}function xi(e){return Un(e,Ys,mp)}function wi(e){for(var t=e.name+\"\",n=Qu[t],r=du.call(Qu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function _i(){var e=t.iteratee||Dc;return e=e===Dc?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e){for(var t=tc(e),n=t.length;n--;)t[n][2]=$i(t[n][1]);return t}function ji(e,t){var n=e[t];return ls(n)?n:X}function Si(e){var n=du.call(t,\"placeholder\")?t:e;return n.placeholder}function Ei(e){return Fu(Object(e))}function Oi(e){return Su(Object(e))}function Ai(e){return vu.call(e)}function Ci(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Du(t,e+a);break;case\"takeRight\":e=Nu(e,t-a)}}return{start:e,end:t}}function Ti(e,t,n){t=Di(t,e)?[t]:Br(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&is(o)&&H(a,o)&&(Zp(e)||bs(e)||Ha(e))}function Ii(e){var t=e.length,n=e.constructor(t);return t&&\"string\"==typeof e[0]&&du.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Pi(e){return\"function\"!=typeof e.constructor||Li(e)?{}:_n(Ei(e))}function Fi(e,t,n,r){var i=e.constructor;switch(t){case Ke:return qr(e);case Fe:case Me:return new i(+e);case Ge:return Rr(e,r);case Je:case Ze:case Qe:case Xe:case et:case tt:case nt:case rt:case it:return Vr(e,r);case De:return Lr(e,r,n);case qe:case He:return new i(e);case $e:return $r(e);case Ue:return Ur(e,r,n);case Ve:return Hr(e)}}function Mi(e){var t=e?e.length:X;return is(t)&&(Zp(e)||bs(e)||Ha(e))?A(t,String):null}function zi(e){return Ya(e)&&(Zp(e)||Ha(e))}function Bi(e){return Zp(e)&&!(2==e.length&&!ns(e[0]))}function Ni(e,t,n){if(!os(n))return!1;var r=typeof t;return(\"number\"==r?Wa(n)&&H(t,n.length):\"string\"==r&&t in n)?La(n[t],e):!1}function Di(e,t){var n=typeof e;return\"number\"==n||\"symbol\"==n?!0:!Zp(e)&&(xs(e)||vt.test(e)||!mt.test(e)||null!=t&&e in Object(t))}function qi(e){var t=typeof e;return\"number\"==t||\"boolean\"==t||\"string\"==t&&\"__proto__\"!=e||null==e}function Ri(e){var n=wi(e),r=t[n];if(\"function\"!=typeof r||!(n in Pt.prototype))return!1;if(e===r)return!0;var i=dp(r);return!!i&&e===i[0]}function Li(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||pu;return e===n}function $i(e){return e===e&&!os(e)}function Ui(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==X||e in Object(n))}}function Hi(e,t){var n=e[1],r=t[1],i=n|r,o=(oe|ae|fe)>i,a=r==fe&&n==ce||r==fe&&n==de&&e[7].length<=t[8]||r==(fe|de)&&t[7].length<=t[8]&&n==ce;\nif(!o&&!a)return e;r&oe&&(e[2]=t[2],i|=n&oe?0:se);var s=t[3];if(s){var c=e[3];e[3]=c?Wr(c,s,t[4]):s,e[4]=c?Y(e[3],ie):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Yr(c,s,t[6]):s,e[6]=c?Y(e[5],ie):t[6]),s=t[7],s&&(e[7]=s),r&fe&&(e[8]=null==e[8]?t[8]:Du(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Vi(e,t,n,r,i,o){return os(e)&&os(t)&&sr(e,t,X,Vi,o.set(t,e)),e}function Wi(e,t){return 1==t.length?e:$n(e,wr(t,0,-1))}function Yi(e,t){for(var n=e.length,r=Du(t.length,n),i=Kr(e);r--;){var o=t[r];e[r]=H(o,n)?i[o]:X}return e}function Ki(e){return\"string\"==typeof e||xs(e)?e:e+\"\"}function Gi(e){if(null!=e){try{return fu.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ji(e){if(e instanceof Pt)return e.clone();var t=new M(e.__wrapped__,e.__chain__);return t.__actions__=Kr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zi(e,t,n){t=(n?Ni(e,t,n):t===X)?1:Nu(As(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(Iu(r/t));r>i;)a[o++]=wr(e,i,i+=t);return a}function Qi(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Xi(){var e=arguments.length,t=Ba(arguments[0]);if(2>e)return e?Kr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Nn(n,1))}function eo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),wr(e,0>t?0:t,r)):[]}function to(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0,0>t?0:t)):[]}function no(e,t){return e&&e.length?Tr(e,_i(t,3),!0,!0):[]}function ro(e,t){return e&&e.length?Tr(e,_i(t,3),!0):[]}function io(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Ni(e,t,n)&&(n=0,r=i),Fn(e,t,n,r)):[]}function oo(e,t){return e&&e.length?w(e,_i(t,3)):-1}function ao(e,t){return e&&e.length?w(e,_i(t,3),!0):-1}function so(e){var t=e?e.length:0;return t?Nn(e,1):[]}function co(e){var t=e?e.length:0;return t?Nn(e,je):[]}function uo(e,t){var n=e?e.length:0;return n?(t=t===X?1:As(t),Nn(e,t)):[]}function po(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function lo(e){return e&&e.length?e[0]:X}function fo(e,t,n){var r=e?e.length:0;return r?(n=As(n),0>n&&(n=Nu(r+n,0)),_(e,t,n)):-1}function ho(e){return to(e,1)}function mo(e,t){return e?zu.call(e,t):\"\"}function vo(e){var t=e?e.length:0;return t?e[t-1]:X}function go(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==X&&(i=As(n),i=(0>i?Nu(r+i,0):Du(i,r-1))+1),t!==t)return $(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function yo(e,t){return e&&e.length?ur(e,As(t)):X}function bo(e,t){return e&&e.length&&t&&t.length?mr(e,t):e}function xo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,_i(n)):e}function wo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,X,n):e}function _o(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=_i(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vr(e,i),n}function ko(e){return e?$u.call(e):e}function jo(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Ni(e,t,n)?(t=0,n=r):(t=null==t?0:As(t),n=n===X?r:As(n)),wr(e,t,n)):[]}function So(e,t){return kr(e,t)}function Eo(e,t,n){return jr(e,t,_i(n))}function Oo(e,t){var n=e?e.length:0;if(n){var r=kr(e,t);if(n>r&&La(e[r],t))return r}return-1}function Ao(e,t){return kr(e,t,!0)}function Co(e,t,n){return jr(e,t,_i(n),!0)}function To(e,t){var n=e?e.length:0;if(n){var r=kr(e,t,!0)-1;if(La(e[r],t))return r}return-1}function Io(e){return e&&e.length?Sr(e):[]}function Po(e,t){return e&&e.length?Er(e,_i(t)):[]}function Fo(e){return eo(e,1)}function Mo(e,t,n){return e&&e.length?(t=n||t===X?1:As(t),wr(e,0,0>t?0:t)):[]}function zo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0>t?0:t,r)):[]}function Bo(e,t){return e&&e.length?Tr(e,_i(t,3),!1,!0):[]}function No(e,t){return e&&e.length?Tr(e,_i(t,3)):[]}function Do(e){return e&&e.length?Or(e):[]}function qo(e,t){return e&&e.length?Or(e,_i(t)):[]}function Ro(e,t){return e&&e.length?Or(e,X,t):[]}function Lo(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ya(e)?(t=Nu(e.length,t),!0):void 0}),A(t,function(t){return h(e,dr(t))})}function $o(e,t){if(!e||!e.length)return[];var n=Lo(e);return null==t?n:h(n,function(e){return o(t,X,e)})}function Uo(e,t){return Fr(e||[],t||[],dn)}function Ho(e,t){return Fr(e||[],t||[],xr)}function Vo(e){var n=t(e);return n.__chain__=!0,n}function Wo(e,t){return t(e),e}function Yo(e,t){return t(e)}function Ko(){return Vo(this)}function Go(){return new M(this.value(),this.__chain__)}function Jo(){this.__values__===X&&(this.__values__=Os(this.value()));var e=this.__index__>=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function Zo(){return this}function Qo(e){for(var t,r=this;r instanceof n;){var i=Ji(r);i.__index__=0,i.__values__=X,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Xo(){var e=this.__wrapped__;if(e instanceof Pt){var t=e;return this.__actions__.length&&(t=new Pt(this)),t=t.reverse(),t.__actions__.push({func:Yo,args:[ko],thisArg:X}),new M(t,this.__chain__)}return this.thru(ko)}function ea(){return Ir(this.__wrapped__,this.__actions__)}function ta(e,t,n){var r=Zp(e)?p:Pn;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function na(e,t){var n=Zp(e)?l:Mn;return n(e,_i(t,3))}function ra(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t);return n>-1?e[n]:X}return x(e,t,sp)}function ia(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t,!0);return n>-1?e[n]:X}return x(e,t,cp)}function oa(e,t){return Nn(la(e,t),1)}function aa(e,t){return Nn(la(e,t),je)}function sa(e,t,n){return n=n===X?1:As(n),Nn(la(e,t),n)}function ca(e,t){return\"function\"==typeof t&&Zp(e)?c(e,t):sp(e,_i(t))}function ua(e,t){return\"function\"==typeof t&&Zp(e)?u(e,t):cp(e,_i(t))}function pa(e,t,n,r){e=Wa(e)?e:sc(e),n=n&&!r?As(n):0;var i=e.length;return 0>n&&(n=Nu(i+n,0)),bs(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&_(e,t,n)>-1}function la(e,t){var n=Zp(e)?h:ir;return n(e,_i(t,3))}function fa(e,t,n,r){return null==e?[]:(Zp(t)||(t=null==t?[]:[t]),n=r?X:n,Zp(n)||(n=null==n?[]:[n]),pr(e,t,n))}function da(e,t,n){var r=Zp(e)?v:S,i=arguments.length<3;return r(e,_i(t,4),n,i,sp)}function ha(e,t,n){var r=Zp(e)?g:S,i=arguments.length<3;return r(e,_i(t,4),n,i,cp)}function ma(e,t){var n=Zp(e)?l:Mn;return t=_i(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function va(e){var t=Wa(e)?e:sc(e),n=t.length;return n>0?t[gr(0,n-1)]:X}function ga(e,t,n){var r=-1,i=Os(e),o=i.length,a=o-1;for(t=(n?Ni(e,t,n):t===X)?1:gn(As(t),0,o);++r<t;){var s=gr(r,a),c=i[s];i[s]=i[r],i[r]=c}return i.length=t,i}function ya(e){return ga(e,Ae)}function ba(e){if(null==e)return 0;if(Wa(e)){var t=e.length;return t&&bs(e)?G(e):t}if(as(e)){var n=Ai(e);if(n==De||n==Ue)return e.size}return Ws(e).length}function xa(e,t,n){var r=Zp(e)?y:_r;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function wa(e,t){if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e<1?t.apply(this,arguments):void 0}}function _a(e,t,n){return t=n?X:t,t=e&&null==t?e.length:t,mi(e,fe,X,X,X,X,t)}function ka(e,t){var n;if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=X),n}}function ja(e,t,n){t=n?X:t;var r=mi(e,ce,X,X,X,X,X,t);return r.placeholder=ja.placeholder,r}function Sa(e,t,n){t=n?X:t;var r=mi(e,ue,X,X,X,X,X,t);return r.placeholder=Sa.placeholder,r}function Ea(e,t,n){function r(t){var n=f,r=d;return f=d=X,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Cu(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Du(i,h-r):i}function a(e){var n=e-g,r=e-y;return!g||n>=t||0>n||x&&r>=h}function s(){var e=$p();return a(e)?c(e):void(v=Cu(s,o(e)))}function c(e){return ku(v),v=X,w&&f?r(e):(f=d=X,m)}function u(){v!==X&&ku(v),g=y=0,f=d=v=X}function p(){return v===X?m:c($p())}function l(){var e=$p(),n=a(e);if(f=arguments,d=this,g=e,n){if(v===X)return i(g);if(x)return ku(v),v=Cu(s,t),r(g)}return v===X&&(v=Cu(s,t)),m}var f,d,h,m,v,g=0,y=0,b=!1,x=!1,w=!0;if(\"function\"!=typeof e)throw new cu(ne);return t=Ts(t)||0,os(n)&&(b=!!n.leading,x=\"maxWait\"in n,h=x?Nu(Ts(n.maxWait)||0,t):h,w=\"trailing\"in n?!!n.trailing:w),l.cancel=u,l.flush=p,l}function Oa(e){return mi(e,he)}function Aa(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new cu(ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Aa.Cache||Ht),n}function Ca(e){if(\"function\"!=typeof e)throw new cu(ne);return function(){return!e.apply(this,arguments)}}function Ta(e){return ka(2,e)}function Ia(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=Nu(t===X?e.length-1:As(t),0),function(){for(var n=arguments,r=-1,i=Nu(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,o(e,this,s)}}function Pa(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=t===X?0:Nu(As(t),0),Ia(function(n){var r=n[t],i=Nr(n,0,t);return r&&m(i,r),o(e,this,i)})}function Fa(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new cu(ne);return os(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Ea(e,t,{leading:r,maxWait:t,trailing:i})}function Ma(e){return _a(e,1)}function za(e,t){return t=null==t?Nc:t,Kp(t,e)}function Ba(){if(!arguments.length)return[];var e=arguments[0];return Zp(e)?e:[e]}function Na(e){return yn(e,!1,!0)}function Da(e,t){return yn(e,!1,!0,t)}function qa(e){return yn(e,!0,!0)}function Ra(e,t){return yn(e,!0,!0,t)}function La(e,t){return e===t||e!==e&&t!==t}function $a(e,t){return e>t}function Ua(e,t){return e>=t}function Ha(e){return Ya(e)&&du.call(e,\"callee\")&&(!Au.call(e,\"callee\")||vu.call(e)==Ie)}function Va(e){return as(e)&&vu.call(e)==Ke}function Wa(e){return null!=e&&is(hp(e))&&!ns(e)}function Ya(e){return as(e)&&Wa(e)}function Ka(e){return e===!0||e===!1||as(e)&&vu.call(e)==Fe}function Ga(e){return as(e)&&vu.call(e)==Me}function Ja(e){return!!e&&1===e.nodeType&&as(e)&&!ms(e)}function Za(e){if(Wa(e)&&(Zp(e)||bs(e)||ns(e.splice)||Ha(e)||Qp(e)))return!e.length;if(as(e)){var t=Ai(e);if(t==De||t==Ue)return!e.size}for(var n in e)if(du.call(e,n))return!1;return!(Zu&&Ws(e).length)}function Qa(e,t){return Qn(e,t)}function Xa(e,t,n){n=\"function\"==typeof n?n:X;var r=n?n(e,t):X;return r===X?Qn(e,t,n):!!r}function es(e){return as(e)?vu.call(e)==ze||\"string\"==typeof e.message&&\"string\"==typeof e.name:!1}function ts(e){return\"number\"==typeof e&&Mu(e)}function ns(e){var t=os(e)?vu.call(e):\"\";return t==Be||t==Ne}function rs(e){return\"number\"==typeof e&&e==As(e)}function is(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Se>=e}function os(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function as(e){return!!e&&\"object\"==typeof e}function ss(e){return as(e)&&Ai(e)==De}function cs(e,t){return e===t||er(e,t,ki(t))}function us(e,t,n){return n=\"function\"==typeof n?n:X,er(e,t,ki(t),n)}function ps(e){return hs(e)&&e!=+e}function ls(e){if(!os(e))return!1;var t=ns(e)||U(e)?yu:Tt;return t.test(Gi(e))}function fs(e){return null===e}function ds(e){return null==e}function hs(e){return\"number\"==typeof e||as(e)&&vu.call(e)==qe}function ms(e){if(!as(e)||vu.call(e)!=Re||U(e))return!1;var t=Ei(e);if(null===t)return!0;var n=du.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&fu.call(n)==mu}function vs(e){return os(e)&&vu.call(e)==$e}function gs(e){return rs(e)&&e>=-Se&&Se>=e}function ys(e){return as(e)&&Ai(e)==Ue}function bs(e){return\"string\"==typeof e||!Zp(e)&&as(e)&&vu.call(e)==He}function xs(e){return\"symbol\"==typeof e||as(e)&&vu.call(e)==Ve}function ws(e){return as(e)&&is(e.length)&&!!An[vu.call(e)]}function _s(e){return e===X}function ks(e){return as(e)&&Ai(e)==We}function js(e){return as(e)&&vu.call(e)==Ye}function Ss(e,t){return t>e}function Es(e,t){return t>=e}function Os(e){if(!e)return[];if(Wa(e))return bs(e)?J(e):Kr(e);if(Eu&&e[Eu])return V(e[Eu]());var t=Ai(e),n=t==De?W:t==Ue?K:sc;return n(e)}function As(e){if(!e)return 0===e?e:0;if(e=Ts(e),e===je||e===-je){var t=0>e?-1:1;return t*Ee}var n=e%1;return e===e?n?e-n:e:0}function Cs(e){return e?gn(As(e),0,Ae):0}function Ts(e){if(\"number\"==typeof e)return e;if(xs(e))return Oe;if(os(e)){var t=ns(e.valueOf)?e.valueOf():e;e=os(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(xt,\"\");var n=Ct.test(e);return n||It.test(e)?Bn(e.slice(2),n?2:8):At.test(e)?Oe:+e}function Is(e){return Gr(e,Ys(e))}function Ps(e){return gn(As(e),-Se,Se)}function Fs(e){if(\"string\"==typeof e)return e;if(null==e)return\"\";if(xs(e))return ap?ap.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-je?\"-0\":t}function Ms(e,t){var n=_n(e);return t?mn(n,t):n}function zs(e,t){return x(e,_i(t,3),Dn,!0)}function Bs(e,t){return x(e,_i(t,3),Rn,!0)}function Ns(e,t){return null==e?e:up(e,_i(t),Ys)}function Ds(e,t){return null==e?e:pp(e,_i(t),Ys)}function qs(e,t){return e&&Dn(e,_i(t))}function Rs(e,t){return e&&Rn(e,_i(t))}function Ls(e){return null==e?[]:Ln(e,Ws(e))}function $s(e){return null==e?[]:Ln(e,Ys(e))}function Us(e,t,n){var r=null==e?X:$n(e,t);return r===X?n:r}function Hs(e,t){return null!=e&&Ti(e,t,Wn)}function Vs(e,t){return null!=e&&Ti(e,t,Yn)}function Ws(e){var t=Li(e);if(!t&&!Wa(e))return nr(e);var n=Mi(e),r=!!n,i=n||[],o=i.length;for(var a in e)!Wn(e,a)||r&&(\"length\"==a||H(a,o))||t&&\"constructor\"==a||i.push(a);return i}function Ys(e){for(var t=-1,n=Li(e),r=rr(e),i=r.length,o=Mi(e),a=!!o,s=o||[],c=s.length;++t<i;){var u=r[t];a&&(\"length\"==u||H(u,c))||\"constructor\"==u&&(n||!du.call(e,u))||s.push(u)}return s}function Ks(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[t(e,r,i)]=e}),n}function Gs(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[r]=t(e,r,i)}),n}function Js(e,t){return t=_i(t),fr(e,function(e,n){return!t(e,n)})}function Zs(e,t){return null==e?{}:fr(e,_i(t))}function Qs(e,t,n){t=Di(t,e)?[t]:Br(t);var r=-1,i=t.length;for(i||(e=X,i=1);++r<i;){var o=null==e?X:e[t[r]];o===X&&(r=i,o=n),e=ns(o)?o.call(e):o}return e}function Xs(e,t,n){return null==e?e:xr(e,t,n)}function ec(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:xr(e,t,n,r)}function tc(e){return C(e,Ws(e))}function nc(e){return C(e,Ys(e))}function rc(e,t,n){var r=Zp(e)||ws(e);if(t=_i(t,4),null==n)if(r||os(e)){var i=e.constructor;n=r?Zp(e)?new i:[]:ns(i)?_n(Ei(e)):{}}else n={};return(r?c:Dn)(e,function(e,r,i){return t(n,e,r,i)}),n}function ic(e,t){return null==e?!0:Ar(e,t)}function oc(e,t,n){return null==e?e:Cr(e,t,zr(n))}function ac(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:Cr(e,t,zr(n),r)}function sc(e){return e?I(e,Ws(e)):[]}function cc(e){return null==e?[]:I(e,Ys(e))}function uc(e,t,n){return n===X&&(n=t,t=X),n!==X&&(n=Ts(n),n=n===n?n:0),t!==X&&(t=Ts(t),t=t===t?t:0),gn(Ts(e),t,n)}function pc(e,t,n){return t=Ts(t)||0,n===X?(n=t,t=0):n=Ts(n)||0,e=Ts(e),Kn(e,t,n)}function lc(e,t,n){if(n&&\"boolean\"!=typeof n&&Ni(e,t,n)&&(t=n=X),n===X&&(\"boolean\"==typeof t?(n=t,t=X):\"boolean\"==typeof e&&(n=e,e=X)),e===X&&t===X?(e=0,t=1):(e=Ts(e)||0,t===X?(t=e,e=0):t=Ts(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Ru();return Du(e+i*(t-e+zn(\"1e-\"+((i+\"\").length-1))),t)}return gr(e,t)}function fc(e){return xl(Fs(e).toLowerCase())}function dc(e){return e=Fs(e),e&&e.replace(Ft,q).replace(wn,\"\")}function hc(e,t,n){e=Fs(e),t=\"string\"==typeof t?t:t+\"\";var r=e.length;return n=n===X?r:gn(As(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function mc(e){return e=Fs(e),e&&lt.test(e)?e.replace(ut,R):e}function vc(e){return e=Fs(e),e&&bt.test(e)?e.replace(yt,\"\\\\$&\"):e}function gc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return pi(Pu(i),n)+e+pi(Iu(i),n)}function yc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?e+pi(t-r,n):e}function bc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?pi(t-r,n)+e:e}function xc(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Fs(e).replace(xt,\"\"),qu(e,t||(Ot.test(e)?16:10))}function wc(e,t,n){return t=(n?Ni(e,t,n):t===X)?1:As(t),br(Fs(e),t)}function _c(){var e=arguments,t=Fs(e[0]);return e.length<3?t:Lu.call(t,e[1],e[2])}function kc(e,t,n){return n&&\"number\"!=typeof n&&Ni(e,t,n)&&(t=n=X),(n=n===X?Ae:n>>>0)?(e=Fs(e),e&&(\"string\"==typeof t||null!=t&&!vs(t))&&(t+=\"\",\"\"==t&&jn.test(e))?Nr(J(e),0,n):Uu.call(e,t,n)):[]}function jc(e,t,n){return e=Fs(e),n=gn(As(n),0,e.length),e.lastIndexOf(t,n)==n}function Sc(e,n,r){var i=t.templateSettings;r&&Ni(e,n,r)&&(n=X),e=Fs(e),n=tl({},n,i,ln);var o,a,s=tl({},n.imports,i.imports,ln),c=Ws(s),u=I(s,c),p=0,l=n.interpolate||Mt,f=\"__p += '\",d=su((n.escape||Mt).source+\"|\"+l.source+\"|\"+(l===ht?St:Mt).source+\"|\"+(n.evaluate||Mt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++On+\"]\")+\"\\n\";e.replace(d,function(t,n,r,i,s,c){return r||(r=i),f+=e.slice(p,c).replace(zt,L),n&&(o=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),p=c+t.length,t}),f+=\"';\\n\";var m=n.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(ot,\"\"):f).replace(at,\"$1\").replace(st,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var v=wl(function(){return Function(c,h+\"return \"+f).apply(X,u)});if(v.source=f,es(v))throw v;return v}function Ec(e){return Fs(e).toLowerCase()}function Oc(e){return Fs(e).toUpperCase()}function Ac(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(xt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=J(t),o=P(r,i),a=F(r,i)+1;return Nr(r,o,a).join(\"\")}function Cc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(_t,\"\");if(!(t+=\"\"))return e;var r=J(e),i=F(r,J(t))+1;return Nr(r,0,i).join(\"\")}function Tc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(wt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=P(r,J(t));return Nr(r,i).join(\"\")}function Ic(e,t){var n=ge,r=ye;if(os(t)){var i=\"separator\"in t?t.separator:i;n=\"length\"in t?As(t.length):n,r=\"omission\"in t?Fs(t.omission):r}e=Fs(e);var o=e.length;if(jn.test(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-G(r);if(1>s)return r;var c=a?Nr(a,0,s).join(\"\"):e.slice(0,s);if(i===X)return c+r;if(a&&(s+=c.length-s),vs(i)){if(e.slice(s).search(i)){var u,p=c;for(i.global||(i=su(i.source,Fs(Et.exec(i))+\"g\")),i.lastIndex=0;u=i.exec(p);)var l=u.index;c=c.slice(0,l===X?s:l)}}else if(e.indexOf(i,s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function Pc(e){return e=Fs(e),e&&pt.test(e)?e.replace(ct,Z):e}function Fc(e,t,n){return e=Fs(e),t=n?X:t,t===X&&(t=Sn.test(e)?kn:kt),e.match(t)||[]}function Mc(e){var t=e?e.length:0,n=_i();return e=t?h(e,function(e){if(\"function\"!=typeof e[1])throw new cu(ne);return[n(e[0]),e[1]]}):[],Ia(function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function zc(e){return bn(yn(e,!0))}function Bc(e){return function(){return e}}function Nc(e){return e}function Dc(e){return tr(\"function\"==typeof e?e:yn(e,!0))}function qc(e){return or(yn(e,!0))}function Rc(e,t){return ar(e,yn(t,!0))}function Lc(e,t,n){var r=Ws(t),i=Ln(t,r);null!=n||os(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ln(t,Ws(t)));var o=!(os(n)&&\"chain\"in n&&!n.chain),a=ns(e);return c(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Kr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,m([this.value()],arguments))})}),e}function $c(){return Hn._===this&&(Hn._=gu),this}function Uc(){}function Hc(e){return e=As(e),Ia(function(t){return ur(t,e)})}function Vc(e){return Di(e)?dr(e):hr(e)}function Wc(e){return function(t){return null==e?X:$n(e,t)}}function Yc(e,t){if(e=As(e),1>e||e>Se)return[];var n=Ae,r=Du(e,Ae);t=_i(t),e-=Ae;for(var i=A(r,t);++n<e;)t(n);return i}function Kc(e){return Zp(e)?h(e,Ki):xs(e)?[e]:Kr(gp(e))}function Gc(e){var t=++hu;return Fs(e)+t}function Jc(e){return e&&e.length?b(e,Nc,$a):X}function Zc(e,t){return e&&e.length?b(e,_i(t),$a):X}function Qc(e){return j(e,Nc)}function Xc(e,t){return j(e,_i(t))}function eu(e){return e&&e.length?b(e,Nc,Ss):X}function tu(e,t){return e&&e.length?b(e,_i(t),Ss):X}function nu(e){return e&&e.length?O(e,Nc):0}function ru(e,t){return e&&e.length?O(e,_i(t)):0}e=e?Vn.defaults({},e,Vn.pick(Hn,En)):Hn;var iu=e.Date,ou=e.Error,au=e.Math,su=e.RegExp,cu=e.TypeError,uu=e.Array.prototype,pu=e.Object.prototype,lu=e.String.prototype,fu=e.Function.prototype.toString,du=pu.hasOwnProperty,hu=0,mu=fu.call(Object),vu=pu.toString,gu=Hn._,yu=su(\"^\"+fu.call(du).replace(yt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),bu=qn?e.Buffer:X,xu=e.Reflect,wu=e.Symbol,_u=e.Uint8Array,ku=e.clearTimeout,ju=xu?xu.enumerate:X,Su=Object.getOwnPropertySymbols,Eu=\"symbol\"==typeof(Eu=wu&&wu.iterator)?Eu:X,Ou=Object.create,Au=pu.propertyIsEnumerable,Cu=e.setTimeout,Tu=uu.splice,Iu=au.ceil,Pu=au.floor,Fu=Object.getPrototypeOf,Mu=e.isFinite,zu=uu.join,Bu=Object.keys,Nu=au.max,Du=au.min,qu=e.parseInt,Ru=au.random,Lu=lu.replace,$u=uu.reverse,Uu=lu.split,Hu=ji(e,\"DataView\"),Vu=ji(e,\"Map\"),Wu=ji(e,\"Promise\"),Yu=ji(e,\"Set\"),Ku=ji(e,\"WeakMap\"),Gu=ji(Object,\"create\"),Ju=Ku&&new Ku,Zu=!Au.call({valueOf:1},\"valueOf\"),Qu={},Xu=Gi(Hu),ep=Gi(Vu),tp=Gi(Wu),np=Gi(Yu),rp=Gi(Ku),ip=wu?wu.prototype:X,op=ip?ip.valueOf:X,ap=ip?ip.toString:X;t.templateSettings={escape:ft,evaluate:dt,interpolate:ht,variable:\"\",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,M.prototype=_n(n.prototype),M.prototype.constructor=M,Pt.prototype=_n(n.prototype),Pt.prototype.constructor=Pt,qt.prototype=Gu?Gu(null):pu,Ht.prototype.clear=Vt,Ht.prototype[\"delete\"]=Wt,Ht.prototype.get=Yt,Ht.prototype.has=Kt,Ht.prototype.set=Gt,Jt.prototype.push=Qt,Xt.prototype.clear=en,Xt.prototype[\"delete\"]=tn,Xt.prototype.get=nn,Xt.prototype.has=rn,Xt.prototype.set=on;var sp=Xr(Dn),cp=Xr(Rn,!0),up=ei(),pp=ei(!0);ju&&!Au.call({valueOf:1},\"valueOf\")&&(rr=function(e){return V(ju(e))});var lp=Ju?function(e,t){return Ju.set(e,t),e}:Nc,fp=Yu&&2===new Yu([1,2]).size?function(e){return new Yu(e)}:Uc,dp=Ju?function(e){return Ju.get(e)}:Uc,hp=dr(\"length\");Su||(Oi=function(){return[]});var mp=Su?function(e){for(var t=[];e;)m(t,Oi(e)),e=Ei(e);return t}:Oi;(Hu&&Ai(new Hu(new ArrayBuffer(1)))!=Ge||Vu&&Ai(new Vu)!=De||Wu&&Ai(Wu.resolve())!=Le||Yu&&Ai(new Yu)!=Ue||Ku&&Ai(new Ku)!=We)&&(Ai=function(e){var t=vu.call(e),n=t==Re?e.constructor:X,r=n?Gi(n):X;if(r)switch(r){case Xu:return Ge;case ep:return De;case tp:return Le;case np:return Ue;case rp:return We}return t});var vp=function(){var e=0,t=0;return function(n,r){var i=$p(),o=xe-(i-t);if(t=i,o>0){if(++e>=be)return n}else e=0;return lp(n,r)}}(),gp=Aa(function(e){var t=[];return Fs(e).replace(gt,function(e,n,r,i){t.push(r?i.replace(jt,\"$1\"):n||e)}),t}),yp=Ia(function(e,t){return Ya(e)?In(e,Nn(t,1,Ya,!0)):[]}),bp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),_i(n)):[]}),xp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),X,n):[]}),wp=Ia(function(e){var t=h(e,Mr);return t.length&&t[0]===e[0]?Gn(t):[]}),_p=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,_i(t)):[]}),kp=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,X,t):[]}),jp=Ia(bo),Sp=Ia(function(e,t){t=h(Nn(t,1),String);var n=vn(e,t);return vr(e,t.sort(z)),n}),Ep=Ia(function(e){return Or(Nn(e,1,Ya,!0))}),Op=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),_i(t))}),Ap=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),X,t)}),Cp=Ia(function(e,t){return Ya(e)?In(e,t):[]}),Tp=Ia(function(e){return Pr(l(e,Ya))}),Ip=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),_i(t))}),Pp=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),X,t)}),Fp=Ia(Lo),Mp=Ia(function(e){var t=e.length,n=t>1?e[t-1]:X;return n=\"function\"==typeof n?(e.pop(),n):X,$o(e,n)}),zp=Ia(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pt&&H(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Yo,args:[i],thisArg:X}),new M(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(i)}),Bp=Zr(function(e,t,n){du.call(e,n)?++e[n]:e[n]=1}),Np=Zr(function(e,t,n){du.call(e,n)?e[n].push(t):e[n]=[t]}),Dp=Ia(function(e,t,n){var r=-1,i=\"function\"==typeof t,a=Di(t),s=Wa(e)?Array(e.length):[];return sp(e,function(e){var c=i?t:a&&null!=e?e[t]:X;s[++r]=c?o(c,e,n):Zn(e,t,n)}),s}),qp=Zr(function(e,t,n){e[n]=t}),Rp=Zr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Lp=Ia(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ni(e,t[0],t[1])?t=[]:n>2&&Ni(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zp(t[0])?t[0]:Nn(t,1,Bi),pr(e,t,[])}),$p=iu.now,Up=Ia(function(e,t,n){var r=oe;if(n.length){var i=Y(n,Si(Up));r|=pe}return mi(e,r,t,n,i)}),Hp=Ia(function(e,t,n){var r=oe|ae;if(n.length){var i=Y(n,Si(Hp));r|=pe}return mi(t,r,e,n,i)}),Vp=Ia(function(e,t){return Tn(e,1,t)}),Wp=Ia(function(e,t,n){return Tn(e,Ts(t)||0,n)});Aa.Cache=Ht;var Yp=Ia(function(e,t){t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i()));var n=t.length;return Ia(function(r){for(var i=-1,a=Du(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)})}),Kp=Ia(function(e,t){var n=Y(t,Si(Kp));return mi(e,pe,X,t,n)}),Gp=Ia(function(e,t){var n=Y(t,Si(Gp));return mi(e,le,X,t,n)}),Jp=Ia(function(e,t){return mi(e,de,X,X,X,Nn(t,1))}),Zp=Array.isArray,Qp=bu?function(e){return e instanceof bu}:Bc(!1),Xp=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ws(t),e);for(var n in t)du.call(t,n)&&dn(e,n,t[n])}),el=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ys(t),e);for(var n in t)dn(e,n,t[n])}),tl=Qr(function(e,t,n,r){Gr(t,Ys(t),e,r)}),nl=Qr(function(e,t,n,r){Gr(t,Ws(t),e,r)}),rl=Ia(function(e,t){return vn(e,Nn(t,1))}),il=Ia(function(e){return e.push(X,ln),o(tl,X,e)}),ol=Ia(function(e){return e.push(X,Vi),o(pl,X,e)}),al=ci(function(e,t,n){e[t]=n},Bc(Nc)),sl=ci(function(e,t,n){du.call(e,t)?e[t].push(n):e[t]=[n]},_i),cl=Ia(Zn),ul=Qr(function(e,t,n){sr(e,t,n)}),pl=Qr(function(e,t,n,r){sr(e,t,n,r)}),ll=Ia(function(e,t){return null==e?{}:(t=h(Nn(t,1),Ki),lr(e,In(xi(e),t)))}),fl=Ia(function(e,t){return null==e?{}:lr(e,Nn(t,1))}),dl=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?fc(t):t)}),hl=ri(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),ml=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),vl=ni(\"toLowerCase\"),gl=ri(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),yl=ri(function(e,t,n){return e+(n?\" \":\"\")+xl(t)}),bl=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),xl=ni(\"toUpperCase\"),wl=Ia(function(e,t){try{return o(e,X,t)}catch(n){return es(n)?n:new ou(n)}}),_l=Ia(function(e,t){return c(Nn(t,1),function(t){e[t]=Up(e[t],e)}),e}),kl=ai(),jl=ai(!0),Sl=Ia(function(e,t){return function(n){return Zn(n,e,t)}}),El=Ia(function(e,t){return function(n){return Zn(e,n,t)}}),Ol=ui(h),Al=ui(p),Cl=ui(y),Tl=fi(),Il=fi(!0),Pl=D(function(e,t){return e+t}),Fl=hi(\"ceil\"),Ml=D(function(e,t){return e/t}),zl=hi(\"floor\"),Bl=D(function(e,t){return e*t}),Nl=hi(\"round\"),Dl=D(function(e,t){return e-t});return t.after=wa,t.ary=_a,t.assign=Xp,t.assignIn=el,t.assignInWith=tl,t.assignWith=nl,t.at=rl,t.before=ka,t.bind=Up,t.bindAll=_l,t.bindKey=Hp,t.castArray=Ba,t.chain=Vo,t.chunk=Zi,t.compact=Qi,t.concat=Xi,t.cond=Mc,t.conforms=zc,t.constant=Bc,t.countBy=Bp,t.create=Ms,t.curry=ja,t.curryRight=Sa,t.debounce=Ea,t.defaults=il,t.defaultsDeep=ol,t.defer=Vp,t.delay=Wp,t.difference=yp,t.differenceBy=bp,t.differenceWith=xp,t.drop=eo,t.dropRight=to,t.dropRightWhile=no,t.dropWhile=ro,t.fill=io,t.filter=na,t.flatMap=oa,t.flatMapDeep=aa,t.flatMapDepth=sa,t.flatten=so,t.flattenDeep=co,t.flattenDepth=uo,t.flip=Oa,t.flow=kl,t.flowRight=jl,t.fromPairs=po,t.functions=Ls,t.functionsIn=$s,t.groupBy=Np,t.initial=ho,t.intersection=wp,t.intersectionBy=_p,t.intersectionWith=kp,t.invert=al,t.invertBy=sl,t.invokeMap=Dp,t.iteratee=Dc,t.keyBy=qp,t.keys=Ws,t.keysIn=Ys,t.map=la,t.mapKeys=Ks,t.mapValues=Gs,t.matches=qc,t.matchesProperty=Rc,t.memoize=Aa,t.merge=ul,t.mergeWith=pl,t.method=Sl,t.methodOf=El,t.mixin=Lc,t.negate=Ca,t.nthArg=Hc,t.omit=ll,t.omitBy=Js,t.once=Ta,t.orderBy=fa,t.over=Ol,t.overArgs=Yp,t.overEvery=Al,t.overSome=Cl,t.partial=Kp,t.partialRight=Gp,t.partition=Rp,t.pick=fl,t.pickBy=Zs,t.property=Vc,t.propertyOf=Wc,t.pull=jp,t.pullAll=bo,t.pullAllBy=xo,t.pullAllWith=wo,t.pullAt=Sp,t.range=Tl,t.rangeRight=Il,t.rearg=Jp,t.reject=ma,t.remove=_o,t.rest=Ia,t.reverse=ko,t.sampleSize=ga,t.set=Xs,t.setWith=ec,t.shuffle=ya,t.slice=jo,t.sortBy=Lp,t.sortedUniq=Io,t.sortedUniqBy=Po,t.split=kc,t.spread=Pa,t.tail=Fo,t.take=Mo,t.takeRight=zo,t.takeRightWhile=Bo,t.takeWhile=No,t.tap=Wo,t.throttle=Fa,t.thru=Yo,t.toArray=Os,t.toPairs=tc,t.toPairsIn=nc,t.toPath=Kc,t.toPlainObject=Is,t.transform=rc,t.unary=Ma,t.union=Ep,t.unionBy=Op,t.unionWith=Ap,t.uniq=Do,t.uniqBy=qo,t.uniqWith=Ro,t.unset=ic,t.unzip=Lo,t.unzipWith=$o,t.update=oc,t.updateWith=ac,t.values=sc,t.valuesIn=cc,t.without=Cp,t.words=Fc,t.wrap=za,t.xor=Tp,t.xorBy=Ip,t.xorWith=Pp,t.zip=Fp,t.zipObject=Uo,t.zipObjectDeep=Ho,t.zipWith=Mp,t.entries=tc,t.entriesIn=nc,t.extend=el,t.extendWith=tl,Lc(t,t),t.add=Pl,t.attempt=wl,t.camelCase=dl,t.capitalize=fc,t.ceil=Fl,t.clamp=uc,t.clone=Na,t.cloneDeep=qa,t.cloneDeepWith=Ra,t.cloneWith=Da,t.deburr=dc,t.divide=Ml,t.endsWith=hc,t.eq=La,t.escape=mc,t.escapeRegExp=vc,t.every=ta,t.find=ra,t.findIndex=oo,t.findKey=zs,t.findLast=ia,t.findLastIndex=ao,t.findLastKey=Bs,t.floor=zl,t.forEach=ca,t.forEachRight=ua,t.forIn=Ns,t.forInRight=Ds,t.forOwn=qs,t.forOwnRight=Rs,t.get=Us,t.gt=$a,t.gte=Ua,t.has=Hs,t.hasIn=Vs,t.head=lo,t.identity=Nc,t.includes=pa,t.indexOf=fo,t.inRange=pc,t.invoke=cl,t.isArguments=Ha,t.isArray=Zp,t.isArrayBuffer=Va,t.isArrayLike=Wa,t.isArrayLikeObject=Ya,t.isBoolean=Ka,t.isBuffer=Qp,t.isDate=Ga,t.isElement=Ja,t.isEmpty=Za,t.isEqual=Qa,t.isEqualWith=Xa,t.isError=es,t.isFinite=ts,t.isFunction=ns,t.isInteger=rs,t.isLength=is,t.isMap=ss,t.isMatch=cs,t.isMatchWith=us,t.isNaN=ps,t.isNative=ls,t.isNil=ds,t.isNull=fs,t.isNumber=hs,t.isObject=os,t.isObjectLike=as,t.isPlainObject=ms,t.isRegExp=vs,t.isSafeInteger=gs,t.isSet=ys,t.isString=bs,t.isSymbol=xs,t.isTypedArray=ws,t.isUndefined=_s,t.isWeakMap=ks,t.isWeakSet=js,t.join=mo,t.kebabCase=hl,t.last=vo,t.lastIndexOf=go,t.lowerCase=ml,t.lowerFirst=vl,t.lt=Ss,t.lte=Es,t.max=Jc,t.maxBy=Zc,t.mean=Qc,t.meanBy=Xc,t.min=eu,t.minBy=tu,t.multiply=Bl,t.nth=yo,t.noConflict=$c,t.noop=Uc,t.now=$p,t.pad=gc,t.padEnd=yc,t.padStart=bc,t.parseInt=xc,t.random=lc,t.reduce=da,t.reduceRight=ha,t.repeat=wc,t.replace=_c,t.result=Qs,t.round=Nl,t.runInContext=Q,t.sample=va,t.size=ba,t.snakeCase=gl,t.some=xa,t.sortedIndex=So,t.sortedIndexBy=Eo,t.sortedIndexOf=Oo,t.sortedLastIndex=Ao,t.sortedLastIndexBy=Co,t.sortedLastIndexOf=To,t.startCase=yl,t.startsWith=jc,t.subtract=Dl,t.sum=nu,t.sumBy=ru,t.template=Sc,t.times=Yc,t.toInteger=As,t.toLength=Cs,t.toLower=Ec,t.toNumber=Ts,t.toSafeInteger=Ps,t.toString=Fs,t.toUpper=Oc,t.trim=Ac,t.trimEnd=Cc,t.trimStart=Tc,t.truncate=Ic,t.unescape=Pc,t.uniqueId=Gc,t.upperCase=bl,t.upperFirst=xl,t.each=ca,t.eachRight=ua,t.first=lo,Lc(t,function(){var e={};return Dn(t,function(n,r){du.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ee,c([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),c([\"drop\",\"take\"],function(e,t){Pt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Pt(this);n=n===X?1:Nu(As(n),0);var i=this.clone();return r?i.__takeCount__=Du(n,i.__takeCount__):i.__views__.push({size:Du(n,Ae),type:e+(i.__dir__<0?\"Right\":\"\")}),i},Pt.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),c([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==we||n==ke;Pt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:_i(e,3),type:n\n}),t.__filtered__=t.__filtered__||r,t}}),c([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Pt.prototype[e]=function(){return this[n](1).value()[0]}}),c([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Pt.prototype[e]=function(){return this.__filtered__?new Pt(this):this[n](1)}}),Pt.prototype.compact=function(){return this.filter(Nc)},Pt.prototype.find=function(e){return this.filter(e).head()},Pt.prototype.findLast=function(e){return this.reverse().find(e)},Pt.prototype.invokeMap=Ia(function(e,t){return\"function\"==typeof e?new Pt(this):this.map(function(n){return Zn(n,e,t)})}),Pt.prototype.reject=function(e){return e=_i(e,3),this.filter(function(t){return!e(t)})},Pt.prototype.slice=function(e,t){e=As(e);var n=this;return n.__filtered__&&(e>0||0>t)?new Pt(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==X&&(t=As(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Pt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pt.prototype.toArray=function(){return this.take(Ae)},Dn(Pt.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n],a=i||/^find/.test(n);o&&(t.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,c=n instanceof Pt,u=s[0],p=c||Zp(n),l=function(e){var n=o.apply(t,m([e],s));return i&&f?n[0]:n};p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var f=this.__chain__,d=!!this.__actions__.length,h=a&&!f,v=c&&!d;if(!a&&p){n=v?n:new Pt(this);var g=e.apply(n,s);return g.__actions__.push({func:Yo,args:[l],thisArg:X}),new M(g,f)}return h&&v?e.apply(this,s):(g=this.thru(l),h?i?g.value()[0]:g.value():g)})}),c([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var n=uu[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(Zp(t)?t:[],e)}return this[r](function(t){return n.apply(Zp(t)?t:[],e)})}}),Dn(Pt.prototype,function(e,n){var r=t[n];if(r){var i=r.name+\"\",o=Qu[i]||(Qu[i]=[]);o.push({name:n,func:r})}}),Qu[si(X,ae).name]=[{name:\"wrapper\",func:X}],Pt.prototype.clone=Bt,Pt.prototype.reverse=Nt,Pt.prototype.value=Dt,t.prototype.at=zp,t.prototype.chain=Ko,t.prototype.commit=Go,t.prototype.next=Jo,t.prototype.plant=Qo,t.prototype.reverse=Xo,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=ea,Eu&&(t.prototype[Eu]=Zo),t}var X,ee=\"4.11.1\",te=200,ne=\"Expected a function\",re=\"__lodash_hash_undefined__\",ie=\"__lodash_placeholder__\",oe=1,ae=2,se=4,ce=8,ue=16,pe=32,le=64,fe=128,de=256,he=512,me=1,ve=2,ge=30,ye=\"...\",be=150,xe=16,we=1,_e=2,ke=3,je=1/0,Se=9007199254740991,Ee=1.7976931348623157e308,Oe=NaN,Ae=4294967295,Ce=Ae-1,Te=Ae>>>1,Ie=\"[object Arguments]\",Pe=\"[object Array]\",Fe=\"[object Boolean]\",Me=\"[object Date]\",ze=\"[object Error]\",Be=\"[object Function]\",Ne=\"[object GeneratorFunction]\",De=\"[object Map]\",qe=\"[object Number]\",Re=\"[object Object]\",Le=\"[object Promise]\",$e=\"[object RegExp]\",Ue=\"[object Set]\",He=\"[object String]\",Ve=\"[object Symbol]\",We=\"[object WeakMap]\",Ye=\"[object WeakSet]\",Ke=\"[object ArrayBuffer]\",Ge=\"[object DataView]\",Je=\"[object Float32Array]\",Ze=\"[object Float64Array]\",Qe=\"[object Int8Array]\",Xe=\"[object Int16Array]\",et=\"[object Int32Array]\",tt=\"[object Uint8Array]\",nt=\"[object Uint8ClampedArray]\",rt=\"[object Uint16Array]\",it=\"[object Uint32Array]\",ot=/\\b__p \\+= '';/g,at=/\\b(__p \\+=) '' \\+/g,st=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ct=/&(?:amp|lt|gt|quot|#39|#96);/g,ut=/[&<>\"'`]/g,pt=RegExp(ct.source),lt=RegExp(ut.source),ft=/<%-([\\s\\S]+?)%>/g,dt=/<%([\\s\\S]+?)%>/g,ht=/<%=([\\s\\S]+?)%>/g,mt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,vt=/^\\w*$/,gt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g,yt=/[\\\\^$.*+?()[\\]{}|]/g,bt=RegExp(yt.source),xt=/^\\s+|\\s+$/g,wt=/^\\s+/,_t=/\\s+$/,kt=/[a-zA-Z0-9]+/g,jt=/\\\\(\\\\)?/g,St=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Et=/\\w*$/,Ot=/^0x/i,At=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,Tt=/^\\[object .+?Constructor\\]$/,It=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\\d*)$/,Ft=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Mt=/($^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Bt=\"\\\\ud800-\\\\udfff\",Nt=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",Dt=\"\\\\u20d0-\\\\u20f0\",qt=\"\\\\u2700-\\\\u27bf\",Rt=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Lt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",$t=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",Ut=\"\\\\u2018\\\\u2019\\\\u201c\\\\u201d\",Ht=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Vt=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Wt=\"\\\\ufe0e\\\\ufe0f\",Yt=Lt+$t+Ut+Ht,Kt=\"['’]\",Gt=\"[\"+Bt+\"]\",Jt=\"[\"+Yt+\"]\",Zt=\"[\"+Nt+Dt+\"]\",Qt=\"\\\\d+\",Xt=\"[\"+qt+\"]\",en=\"[\"+Rt+\"]\",tn=\"[^\"+Bt+Yt+Qt+qt+Rt+Vt+\"]\",nn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",rn=\"(?:\"+Zt+\"|\"+nn+\")\",on=\"[^\"+Bt+\"]\",an=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",sn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",cn=\"[\"+Vt+\"]\",un=\"\\\\u200d\",pn=\"(?:\"+en+\"|\"+tn+\")\",ln=\"(?:\"+cn+\"|\"+tn+\")\",fn=\"(?:\"+Kt+\"(?:d|ll|m|re|s|t|ve))?\",dn=\"(?:\"+Kt+\"(?:D|LL|M|RE|S|T|VE))?\",hn=rn+\"?\",mn=\"[\"+Wt+\"]?\",vn=\"(?:\"+un+\"(?:\"+[on,an,sn].join(\"|\")+\")\"+mn+hn+\")*\",gn=mn+hn+vn,yn=\"(?:\"+[Xt,an,sn].join(\"|\")+\")\"+gn,bn=\"(?:\"+[on+Zt+\"?\",Zt,an,sn,Gt].join(\"|\")+\")\",xn=RegExp(Kt,\"g\"),wn=RegExp(Zt,\"g\"),_n=RegExp(nn+\"(?=\"+nn+\")|\"+bn+gn,\"g\"),kn=RegExp([cn+\"?\"+en+\"+\"+fn+\"(?=\"+[Jt,cn,\"$\"].join(\"|\")+\")\",ln+\"+\"+dn+\"(?=\"+[Jt,cn+pn,\"$\"].join(\"|\")+\")\",cn+\"?\"+pn+\"+\"+fn,cn+\"+\"+dn,Qt,yn].join(\"|\"),\"g\"),jn=RegExp(\"[\"+un+Bt+Nt+Dt+Wt+\"]\"),Sn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"Reflect\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],On=-1,An={};An[Je]=An[Ze]=An[Qe]=An[Xe]=An[et]=An[tt]=An[nt]=An[rt]=An[it]=!0,An[Ie]=An[Pe]=An[Ke]=An[Fe]=An[Ge]=An[Me]=An[ze]=An[Be]=An[De]=An[qe]=An[Re]=An[$e]=An[Ue]=An[He]=An[We]=!1;var Cn={};Cn[Ie]=Cn[Pe]=Cn[Ke]=Cn[Ge]=Cn[Fe]=Cn[Me]=Cn[Je]=Cn[Ze]=Cn[Qe]=Cn[Xe]=Cn[et]=Cn[De]=Cn[qe]=Cn[Re]=Cn[$e]=Cn[Ue]=Cn[He]=Cn[Ve]=Cn[tt]=Cn[nt]=Cn[rt]=Cn[it]=!0,Cn[ze]=Cn[Be]=Cn[We]=!1;var Tn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},In={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},Pn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Fn={\"function\":!0,object:!0},Mn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},zn=parseFloat,Bn=parseInt,Nn=Fn[typeof n]&&n&&!n.nodeType?n:X,Dn=Fn[typeof t]&&t&&!t.nodeType?t:X,qn=Dn&&Dn.exports===Nn?Nn:X,Rn=M(Nn&&Dn&&\"object\"==typeof e&&e),Ln=M(Fn[typeof self]&&self),$n=M(Fn[typeof window]&&window),Un=M(Fn[typeof this]&&this),Hn=Rn||$n!==(Un&&Un.window)&&$n||Ln||Un||Function(\"return this\")(),Vn=Q();($n||Ln||{})._=Vn,\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?define(function(){return Vn}):Nn&&Dn?(qn&&((Dn.exports=Vn)._=Vn),Nn._=Vn):Hn._=Vn}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],178:[function(e,t,n){function r(e,t,n){var r;return v[t]?r=v[t]:(r=f(t),v[t]=r),2===arguments.length?e[r]:(e[r]=n,n)}function i(){return 1}function o(e){if(!(this instanceof o))return new o(e);\"number\"==typeof e&&(e={max:e}),e||(e={});var t=r(this,\"max\",e.max);(!t||\"number\"!=typeof t||0>=t)&&r(this,\"max\",1/0);var n=e.length||i;\"function\"!=typeof n&&(n=i),r(this,\"lengthCalculator\",n),r(this,\"allowStale\",e.stale||!1),r(this,\"maxAge\",e.maxAge||0),r(this,\"dispose\",e.dispose),this.reset()}function a(e,t,n,i){var o=n.value;c(e,o)&&(p(e,n),r(e,\"allowStale\")||(o=void 0)),o&&t.call(i,o.value,o.key,e)}function s(e,t,n){var i=r(e,\"cache\").get(t);if(i){var o=i.value;c(e,o)?(p(e,i),r(e,\"allowStale\")||(o=void 0)):n&&r(e,\"lruList\").unshiftNode(i),o&&(o=o.value)}return o}function c(e,t){if(!t||!t.maxAge&&!r(e,\"maxAge\"))return!1;var n=!1,i=Date.now()-t.now;return n=t.maxAge?i>t.maxAge:r(e,\"maxAge\")&&i>r(e,\"maxAge\")}function u(e){if(r(e,\"length\")>r(e,\"max\"))for(var t=r(e,\"lruList\").tail;r(e,\"length\")>r(e,\"max\")&&null!==t;){var n=t.prev;p(e,t),t=n}}function p(e,t){if(t){var n=t.value;r(e,\"dispose\")&&r(e,\"dispose\").call(this,n.key,n.value),r(e,\"length\",r(e,\"length\")-n.length),r(e,\"cache\")[\"delete\"](n.key),r(e,\"lruList\").removeNode(t)}}function l(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}t.exports=o;var f,d=e(\"pseudomap\"),h=e(\"util\"),m=e(\"yallist\"),v={},g=\"function\"==typeof Symbol;f=g?function(e){return Symbol[\"for\"](e)}:function(e){return\"_\"+e},Object.defineProperty(o.prototype,\"max\",{set:function(e){(!e||\"number\"!=typeof e||0>=e)&&(e=1/0),r(this,\"max\",e),u(this)},get:function(){return r(this,\"max\")},enumerable:!0}),Object.defineProperty(o.prototype,\"allowStale\",{set:function(e){r(this,\"allowStale\",!!e)},get:function(){return r(this,\"allowStale\")},enumerable:!0}),Object.defineProperty(o.prototype,\"maxAge\",{set:function(e){(!e||\"number\"!=typeof e||0>e)&&(e=0),r(this,\"maxAge\",e),u(this)},get:function(){return r(this,\"maxAge\")},enumerable:!0}),Object.defineProperty(o.prototype,\"lengthCalculator\",{set:function(e){\"function\"!=typeof e&&(e=i),e!==r(this,\"lengthCalculator\")&&(r(this,\"lengthCalculator\",e),r(this,\"length\",0),r(this,\"lruList\").forEach(function(e){e.length=r(this,\"lengthCalculator\").call(this,e.value,e.key),r(this,\"length\",r(this,\"length\")+e.length)},this)),u(this)},get:function(){return r(this,\"lengthCalculator\")},enumerable:!0}),Object.defineProperty(o.prototype,\"length\",{get:function(){return r(this,\"length\")},enumerable:!0}),Object.defineProperty(o.prototype,\"itemCount\",{get:function(){return r(this,\"lruList\").length},enumerable:!0}),o.prototype.rforEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").tail;null!==n;){var i=n.prev;a(this,e,n,t),n=i}},o.prototype.forEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").head;null!==n;){var i=n.next;a(this,e,n,t),n=i}},o.prototype.keys=function(){return r(this,\"lruList\").toArray().map(function(e){return e.key},this)},o.prototype.values=function(){return r(this,\"lruList\").toArray().map(function(e){return e.value},this)},o.prototype.reset=function(){r(this,\"dispose\")&&r(this,\"lruList\")&&r(this,\"lruList\").length&&r(this,\"lruList\").forEach(function(e){r(this,\"dispose\").call(this,e.key,e.value)},this),r(this,\"cache\",new d),r(this,\"lruList\",new m),r(this,\"length\",0)},o.prototype.dump=function(){return r(this,\"lruList\").map(function(e){return c(this,e)?void 0:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}},this).toArray().filter(function(e){return e})},o.prototype.dumpLru=function(){return r(this,\"lruList\")},o.prototype.inspect=function(e,t){var n=\"LRUCache {\",o=!1,a=r(this,\"allowStale\");a&&(n+=\"\\n  allowStale: true\",o=!0);var s=r(this,\"max\");s&&s!==1/0&&(o&&(n+=\",\"),n+=\"\\n  max: \"+h.inspect(s,t),o=!0);var u=r(this,\"maxAge\");u&&(o&&(n+=\",\"),n+=\"\\n  maxAge: \"+h.inspect(u,t),o=!0);var p=r(this,\"lengthCalculator\");p&&p!==i&&(o&&(n+=\",\"),n+=\"\\n  length: \"+h.inspect(r(this,\"length\"),t),o=!0);var l=!1;return r(this,\"lruList\").forEach(function(e){l?n+=\",\\n  \":(o&&(n+=\",\\n\"),l=!0,n+=\"\\n  \");var r=h.inspect(e.key).split(\"\\n\").join(\"\\n  \"),a={value:e.value};e.maxAge!==u&&(a.maxAge=e.maxAge),p!==i&&(a.length=e.length),c(this,e)&&(a.stale=!0),a=h.inspect(a,t).split(\"\\n\").join(\"\\n  \"),n+=r+\" => \"+a}),(l||o)&&(n+=\"\\n\"),n+=\"}\"},o.prototype.set=function(e,t,n){n=n||r(this,\"maxAge\");var i=n?Date.now():0,o=r(this,\"lengthCalculator\").call(this,t,e);if(r(this,\"cache\").has(e)){if(o>r(this,\"max\"))return p(this,r(this,\"cache\").get(e)),!1;var a=r(this,\"cache\").get(e),s=a.value;return r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,s.value),s.now=i,s.maxAge=n,s.value=t,r(this,\"length\",r(this,\"length\")+(o-s.length)),s.length=o,this.get(e),u(this),!0}var c=new l(e,t,o,i,n);return c.length>r(this,\"max\")?(r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,t),!1):(r(this,\"length\",r(this,\"length\")+c.length),r(this,\"lruList\").unshift(c),r(this,\"cache\").set(e,r(this,\"lruList\").head),u(this),!0)},o.prototype.has=function(e){if(!r(this,\"cache\").has(e))return!1;var t=r(this,\"cache\").get(e).value;return!c(this,t)},o.prototype.get=function(e){return s(this,e,!0)},o.prototype.peek=function(e){return s(this,e,!1)},o.prototype.pop=function(){var e=r(this,\"lruList\").tail;return e?(p(this,e),e.value):null},o.prototype.del=function(e){p(this,r(this,\"cache\").get(e))},o.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},o.prototype.prune=function(){var e=this;r(this,\"cache\").forEach(function(t,n){s(e,n,!1)})}},{pseudomap:381,util:void 0,yallist:535}],179:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.subtype,r=e.suffix,i=e.type;if(!i||!h.test(i))throw new TypeError(\"invalid type\");if(!n||!d.test(n))throw new TypeError(\"invalid subtype\");var o=i+\"/\"+n;if(r){if(!h.test(r))throw new TypeError(\"invalid suffix\");o+=\"+\"+r}if(t&&\"object\"==typeof t)for(var s,c=Object.keys(t).sort(),u=0;u<c.length;u++){if(s=c[u],!p.test(s))throw new TypeError(\"invalid parameter name\");o+=\"; \"+s+\"=\"+a(t[s])}return o}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e)),\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t,n,r,i=e.indexOf(\";\"),a=-1!==i?e.substr(0,i):e,u=s(a),p={};for(c.lastIndex=i;n=c.exec(e);){if(n.index!==i)throw new TypeError(\"invalid parameter format\");i+=n[0].length,t=n[1].toLowerCase(),r=n[2],'\"'===r[0]&&(r=r.substr(1,r.length-2).replace(l,\"$1\")),p[t]=r}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return u.parameters=p,u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){var t=m.exec(e.toLowerCase());if(!t)throw new TypeError(\"invalid media type\");var n,r=t[1],i=t[2],o=i.lastIndexOf(\"+\");-1!==o&&(n=i.substr(o+1),i=i.substr(0,o));var a={type:r,subtype:i,suffix:n};return a}var c=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,u=/^[\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,l=/\\\\([\\u0000-\\u007f])/g,f=/([\\\\\"])/g,d=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,h=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,m=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;n.format=r,n.parse=i},{}],180:[function(e,t,n){\"use strict\";function r(e,t,n){if(!e)throw new TypeError(\"argument dest is required\");if(!t)throw new TypeError(\"argument src is required\");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach(function(r){if(n||!i.call(e,r)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}}),e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],181:[function(e,t,n){\"use strict\";function r(){return o.METHODS&&o.METHODS.map(function(e){return e.toLowerCase()})}function i(){return[\"get\",\"post\",\"put\",\"head\",\"delete\",\"options\",\"trace\",\"copy\",\"lock\",\"mkcol\",\"move\",\"purge\",\"propfind\",\"proppatch\",\"unlock\",\"report\",\"mkactivity\",\"checkout\",\"merge\",\"m-search\",\"notify\",\"subscribe\",\"unsubscribe\",\"patch\",\"search\",\"connect\"]}var o=e(\"http\");t.exports=r()||i()},{http:void 0}],182:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cdni\":{source:\"iana\"},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/csvm+json\":{source:\"iana\",compressible:!0},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mpd\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emergencycalldata.comment+xml\":{source:\"iana\"},\"application/emergencycalldata.deviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.serviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.subscriberinfo+xml\":{source:\"iana\"},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs12\":{source:\"iana\"},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{source:\"iana\",compressible:!0},\"application/problem+json\":{source:\"iana\",compressible:!0},\"application/problem+xml\":{source:\"iana\"},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/rfc+xml\":{source:\"iana\"},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scim+json\":{source:\"iana\",compressible:!0},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{\nsource:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{source:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp-prose+xml\":{source:\"iana\"},\"application/vnd.3gpp-prose-pc3ch+xml\":{source:\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{source:\"iana\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.mid-call+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-ext+xml\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.state-and-event-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.ussd+xml\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anki\":{source:\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.apple.pkpass\":{compressible:!1,extensions:[\"pkpass\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.biopax.rdf+xml\":{source:\"iana\"},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.drive+json\":{source:\"iana\",compressible:!0},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.filmit.zfc\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-apps.document\":{compressible:!1,extensions:[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{compressible:!1,extensions:[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{compressible:!1,extensions:[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.hdt\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{source:\"iana\"},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{source:\"iana\"},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-printschematicket+xml\":{source:\"iana\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.devicepairing\":{source:\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\nsource:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{source:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openblox.game+xml\":{source:\"iana\"},\"application/vnd.openblox.game-binary\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.oxli.countgraph\":{source:\"iana\"},\"application/vnd.pagerduty+json\":{source:\"iana\",compressible:!0},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.uri-map\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-cocoa\":{source:\"nginx\",extensions:[\"cco\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-httpd-php\":{compressible:!0,extensions:[\"php\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-archive-diff\":{source:\"nginx\",extensions:[\"jardiff\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-makeself\":{source:\"nginx\",extensions:[\"run\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdos-program\":{extensions:[\"exe\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-perl\":{source:\"nginx\",extensions:[\"pl\",\"pm\"]},\"application/x-pilot\":{source:\"nginx\",extensions:[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",\nextensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-redhat-package-manager\":{source:\"nginx\",extensions:[\"rpm\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sea\":{source:\"nginx\",extensions:[\"sea\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\",\"tk\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\",\"pem\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/evs\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g711-0\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-m4a\":{source:\"nginx\",extensions:[\"m4a\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-realaudio\":{source:\"nginx\",extensions:[\"ra\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.mozilla.apng\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-jng\":{source:\"nginx\",extensions:[\"jng\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{source:\"nginx\",compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.rosette.annotated-data-model\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mathml\":{source:\"nginx\",extensions:[\"mml\"]},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/slim\":{extensions:[\"slim\",\"slm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{source:\"nginx\",extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-processing\":{compressible:!0,extensions:[\"pde\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-suse-ymp\":{compressible:!0,extensions:[\"ymp\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\"]},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],183:[function(e,t,n){t.exports=e(\"./db.json\")},{\"./db.json\":182}],184:[function(e,t,n){\"use strict\";function r(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),n=t&&c[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&l.test(t[1])?\"UTF-8\":!1}function i(e){if(!e||\"string\"!=typeof e)return!1;var t=-1===e.indexOf(\"/\")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf(\"charset\")){var r=n.charset(t);r&&(t+=\"; charset=\"+r.toLowerCase())}return t}function o(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),r=t&&n.extensions[t[1].toLowerCase()];return r&&r.length?r[0]:!1}function a(e){if(!e||\"string\"!=typeof e)return!1;var t=u(\"x.\"+e).toLowerCase().substr(1);return t?n.types[t]||!1:!1}function s(e,t){var n=[\"nginx\",\"apache\",void 0,\"iana\"];Object.keys(c).forEach(function(r){var i=c[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;a<o.length;a++){var s=o[a];if(t[s]){var u=n.indexOf(c[t[s]].source),p=n.indexOf(i.source);if(\"application/octet-stream\"!==t[s]&&u>p||u===p&&\"application/\"===t[s].substr(0,12))continue}t[s]=r}}})}var c=e(\"mime-db\"),u=e(\"path\").extname,p=/^\\s*([^;\\s]*)(?:;|\\s|$)/,l=/^text\\//i;n.charset=r,n.charsets={lookup:r},n.contentType=i,n.extension=o,n.extensions=Object.create(null),n.lookup=a,n.types=Object.create(null),s(n.extensions,n.types)},{\"mime-db\":183,path:void 0}],185:[function(e,t,n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=(e(\"path\"),e(\"fs\"));r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=i.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var o=new r;o.define(e(\"./types.json\")),o.default_type=o.lookup(\"bin\"),o.Mime=r,o.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=o},{\"./types.json\":186,fs:void 0,path:void 0}],186:[function(e,t,n){t.exports={\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mdp\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[\"woff\"],\"application/font-woff2\":[\"woff2\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\n\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp4\":[\"mp4a\",\"m4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/opentype\":[\"otf\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],187:[function(e,t,n){!function(e,r){\"object\"==typeof n&&\"undefined\"!=typeof t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){\"use strict\";function n(){return cr.apply(null,arguments)}function r(e){cr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,\"toString\")&&(e.toString=t.toString),s(t,\"valueOf\")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Ne(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=l(e),n=ur.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function d(e){var t=u(NaN);return null!=e?c(l(t),e):l(t).userInvalidated=!0,t}function h(e){return void 0===e}function m(e,t){var n,r,i;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=l(t)),h(t._locale)||(e._locale=t._locale),pr.length>0)for(n in pr)r=pr[n],i=t[r],h(i)||(e[r]=i);return e}function v(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),lr===!1&&(lr=!0,n.updateOffset(this),lr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function y(e){return 0>e?Math.ceil(e):Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function _(e,t){var r=!0;return c(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+\"\\nArguments: \"+Array.prototype.slice.call(arguments).join(\", \")+\"\\n\"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),fr[e]||(w(t),fr[e]=!0)}function j(e){return e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}function S(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],j(t)?this[n]=t:this[\"_\"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+\"|\"+/\\d{1,2}/.source)}function O(e,t){var n,r=c({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function A(e){null!=e&&this.set(e)}function C(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=C(e[o]).split(\"-\"),t=i.length,n=C(e[o+1]),n=n?n.split(\"-\"):null;t>0;){if(r=I(i.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function I(n){var r=null;if(!vr[n]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=hr._abbr,e(\"./locale/\"+n),P(r)}catch(i){}return vr[n]}function P(e,t){var n;return e&&(n=h(t)?z(e):F(e,t),n&&(hr=n)),hr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=vr[e]?(k(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale\"),t=O(vr[e]._config,t)):null!=t.parentLocale&&(null!=vr[t.parentLocale]?t=O(vr[t.parentLocale]._config,t):k(\"parentLocaleUndefined\",\"specified parentLocale is not defined yet\")),vr[e]=new A(t),P(e),vr[e]):(delete vr[e],null)}function M(e,t){if(null!=t){var n;null!=vr[e]&&(t=O(vr[e]._config,t)),n=new A(t),n.parentLocale=vr[e],vr[e]=n,P(e)}else null!=vr[e]&&(null!=vr[e].parentLocale?vr[e]=vr[e].parentLocale:null!=vr[e]&&delete vr[e]);return vr[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return hr;if(!i(e)){if(t=I(e))return t;e=[e]}return T(e)}function B(){return dr(vr)}function N(e,t){var n=e.toLowerCase();gr[n]=gr[n+\"s\"]=gr[t]=e}function D(e){return\"string\"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)s(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function R(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):L(this,e)}}function L(e,t){return e.isValid()?e._d[\"get\"+(e._isUTC?\"UTC\":\"\")+t]():NaN;\n}function $(e,t,n){e.isValid()&&e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+t](n)}function U(e,t){var n;if(\"object\"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),j(this[e]))return this[e](t);return this}function H(e,t,n){var r=\"\"+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;\"string\"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return H(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function Y(e){var t,n,r=e.match(yr);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o=\"\";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=G(t,e.localeData()),xr[t]=xr[t]||Y(t),xr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(br.lastIndex=0;r>=0&&br.test(e);)e=e.replace(br,n),br.lastIndex=0,r-=1;return e}function J(e,t,n){qr[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return X(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ee(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),\"number\"==typeof t&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Rr[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Rr,e)&&Rr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,\"\").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,\"\").toLocaleLowerCase();return n?\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(\"^\"+this.months(i,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[r]=new RegExp(\"^\"+this.monthsShort(i,\"\").replace(\".\",\"\")+\"$\",\"i\")),n||this._monthsParse[r]||(o=\"^\"+this.months(i,\"\")+\"|^\"+this.monthsShort(i,\"\"),this._monthsParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"MMMM\"===t&&this._longMonthsParse[r].test(e))return r;if(n&&\"MMM\"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if(\"string\"==typeof t)if(/^\\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),\"number\"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+\"Month\"](t,n),e}function ue(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):L(this,\"Month\")}function pe(){return re(this.year(),this.month())}function le(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=u([2e3,t]),r.push(this.monthsShort(n,\"\")),i.push(this.months(n,\"\")),o.push(this.months(n,\"\")),o.push(this.monthsShort(n,\"\"));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=X(r[t]),i[t]=X(i[t]),o[t]=X(o[t]);this._monthsRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function he(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Ur]<1||n[Ur]>re(n[Lr],n[$r])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Vr]||0!==n[Wr]||0!==n[Yr])?Hr:n[Vr]<0||n[Vr]>59?Vr:n[Wr]<0||n[Wr]>59?Wr:n[Yr]<0||n[Yr]>999?Yr:-1,l(e)._overflowDayOfYear&&(Lr>t||t>Ur)&&(t=Ur),l(e)._overflowWeeks&&-1===t&&(t=Kr),l(e)._overflowWeekday&&-1===t&&(t=Gr),l(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,c=ti.exec(s)||ni.exec(s);if(c){for(l(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(c[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(c[3])){o=(c[2]||\" \")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ri.exec(c[4]))return void(e._isValid=!1);a=\"Z\"}e._f=i+(o||\"\")+(a||\"\"),Te(e)}else e._isValid=!1}function ve(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e){return xe(e)?366:365}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(){return xe(this.year())}function _e(e,t,n){var r=7+t-n,i=(7+ye(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=_e(e,r,i),u=1+7*(t-1)+s+c;return 0>=u?(o=e-1,a=be(o)+u):u>be(e)?(o=e+1,a=u-be(e)):(o=e,a=u),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(be(e)-r+i)/7}function Ee(e,t,n){return null!=e?e:null!=t?t:n}function Oe(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ae(e){var t,n,r,i,o=[];if(!e._d){for(r=Oe(e),e._w&&null==e._a[Ur]&&null==e._a[$r]&&Ce(e),e._dayOfYear&&(i=Ee(e._a[Lr],r[Lr]),e._dayOfYear>be(i)&&(l(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Vr]&&0===e._a[Wr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ye:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function Ce(e){var t,n,r,i,o,a,s,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ee(t.GG,e._a[Lr],je(De(),1,4).year),r=Ee(t.W,1),i=Ee(t.E,1),(1>i||i>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Ee(t.gg,e._a[Lr],je(De(),o,a).year),r=Ee(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(c=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o),1>r||r>Se(n,o,a)?l(e)._overflowWeeks=!0:null!=c?l(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Lr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],l(e).empty=!0;var t,r,i,o,a,s=\"\"+e._i,c=s.length,u=0;for(i=G(e._f,e._locale).match(yr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Z(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&l(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),wr[o]?(r?l(e).empty=!1:l(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&l(e).unusedTokens.push(o);l(e).charsLeftOver=c-u,s.length>0&&l(e).unusedInput.push(s),l(e).bigHour===!0&&e._a[Hr]<=12&&e._a[Hr]>0&&(l(e).bigHour=void 0),l(e).parsedDateParts=e._a.slice(0),l(e).meridiem=e._meridiem,e._a[Hr]=Ie(e._locale,e._a[Hr],e._meridiem),Ae(e),he(e)}function Ie(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Pe(e){var t,n,r,i,o;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),f(t)&&(o+=l(t).charsLeftOver,o+=10*l(t).unusedTokens.length,l(t).score=o,(null==r||r>o)&&(r=o,n=t));c(e,n||t)}function Fe(e){if(!e._d){var t=q(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ae(e)}}function Me(e){var t=new v(he(ze(e)));return t._nextDay&&(t.add(1,\"d\"),t._nextDay=void 0),t}function ze(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),null===t||void 0===n&&\"\"===t?d({nullInput:!0}):(\"string\"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(he(t)):(i(n)?Pe(e):n?Te(e):o(t)?e._d=t:Be(e),f(e)||(e._d=null),e))}function Be(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):\"string\"==typeof t?ve(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ae(e)):\"object\"==typeof t?Fe(e):\"number\"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Ne(e,t,n,r,i){var o={};return\"boolean\"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Me(o)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function qe(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Re(){var e=[].slice.call(arguments,0);return qe(\"isBefore\",e)}function Le(){var e=[].slice.call(arguments,0);return qe(\"isAfter\",e)}function $e(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,p=t.millisecond||0;this._milliseconds=+p+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof $e}function He(e,t){V(e,0,0,function(){var e=this.utcOffset(),n=\"+\";return 0>e&&(e=-e,n=\"-\"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ve(e,t){var n=(t||\"\").match(e)||[],r=n[n.length-1]||[],i=(r+\"\").match(li)||[\"-\",0,0],o=+(60*i[1])+b(i[2]);return\"+\"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(g(e)||o(e)?e.valueOf():De(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):De(e).local()}function Ye(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ke(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?(\"string\"==typeof e?e=Ve(Br,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Ye(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,\"m\"),i!==e&&(!t||this._changeInProgress?lt(this,ot(e-i,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ye(this):null!=e?this:NaN}function Ge(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ze(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ye(this),\"m\")),this}function Qe(){return this._tzm?this.utcOffset(this._tzm):\"string\"==typeof this._i&&this.utcOffset(Ve(zr,this._i)),this}function Xe(e){return this.isValid()?(e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=ze(e),e._a){var t=e._isUTC?u(e._a):De(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:\"number\"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:0,d:b(a[Ur])*n,h:b(a[Hr])*n,m:b(a[Vr])*n,s:b(a[Wr])*n,ms:b(a[Yr])*n}):(a=di.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:\"object\"==typeof o&&(\"from\"in o||\"to\"in o)&&(i=ct(De(o.from),De(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new $e(o),Ue(e)&&s(e,\"_locale\")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function ct(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function pt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period).\"),o=n,n=r,r=o),n=\"string\"==typeof n?+n:n,i=ot(n,r),lt(this,i,e),this}}function lt(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,\"Date\",L(e,\"Date\")+a*r),s&&ce(e,L(e,\"Month\")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||De(),r=We(n,this).startOf(\"day\"),i=this.diff(r,\"days\",!0),o=-6>i?\"sameElse\":-1>i?\"lastWeek\":0>i?\"lastDay\":1>i?\"sameDay\":2>i?\"nextDay\":7>i?\"nextWeek\":\"sameElse\",a=t&&(j(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,De(n)))}function dt(){return new v(this)}function ht(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vt(e,t,n,r){return r=r||\"()\",(\"(\"===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(\")\"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function gt(e,t){var n,r=g(e)?e:De(e);return this.isValid()&&r.isValid()?(t=D(t||\"millisecond\"),\"millisecond\"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function yt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function bt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t),\"year\"===t||\"month\"===t||\"quarter\"===t?(a=wt(this,r),\"quarter\"===t?a/=3:\"year\"===t&&(a/=12)):(o=this-r,a=\"second\"===t?o/1e3:\"minute\"===t?o/6e4:\"hour\"===t?o/36e5:\"day\"===t?(o-i)/864e5:\"week\"===t?(o-i)/6048e5:o),n?a:y(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,\"months\");return 0>t-o?(n=e.clone().add(i-1,\"months\"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,\"months\"),r=(t-o)/(n-o)),-(i+r)||0}function _t(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?j(Date.prototype.toISOString)?this.toDate().toISOString():K(e,\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\"):K(e,\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\")}function jt(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Et(e){return this.from(De(),e)}function Ot(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function At(e){return this.to(De(),e)}function Ct(e){var t;return void 0===e?this._locale._abbr:(t=z(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function It(e){switch(e=D(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Pt(e){return e=D(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Mt(){return Math.floor(this.valueOf()/1e3)}function zt(){return this._offset?new Date(this.valueOf()):this._d}function Bt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dt(){return this.isValid()?this.toISOString():null}function qt(){return f(this)}function Rt(){return c({},l(this))}function Lt(){return l(this).overflow}function $t(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ut(e,t){V(0,[e,e.length],0,t)}function Ht(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vt(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Yt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Kt(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Zt(e){return je(e,this._week.dow,this._week.doy).week}function Qt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function tn(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function nn(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function cn(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(i,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(o=\"^\"+this.weekdays(i,\"\")+\"|^\"+this.weekdaysShort(i,\"\")+\"|^\"+this.weekdaysMin(i,\"\"),this._weekdaysParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function un(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,\"d\")):t}function pn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],p=[];for(t=0;7>t;t++)n=u([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),o=this.weekdays(n,\"\"),a.push(r),s.push(i),c.push(o),p.push(r),p.push(i),p.push(o);for(a.sort(e),s.sort(e),c.sort(e),p.sort(e),t=0;7>t;t++)s[t]=X(s[t]),c[t]=X(c[t]),p[t]=X(p[t]);this._weekdaysRegex=new RegExp(\"^(\"+p.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+c.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function gn(){return this.hours()%12||12}function yn(){return this.hours()||24}function bn(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function xn(e,t){return t._meridiemParse}function wn(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function _n(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function kn(e,t){t[Yr]=b(1e3*(\"0.\"+e))}function jn(){return this._isUTC?\"UTC\":\"\"}function Sn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function En(e){return De(1e3*e)}function On(){return De.apply(null,arguments).parseZone()}function An(e,t,n){var r=this._calendar[e];return j(r)?r.call(t,n):r}function Cn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Tn(){return this._invalidDate}function In(e){return this._ordinal.replace(\"%d\",e)}function Pn(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Mn(e,t){var n=this._relativeTime[e>0?\"future\":\"past\"];return j(n)?n(t):n.replace(/%s/i,t)}function zn(e,t,n,r){var i=z(),o=u().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(\"number\"==typeof e&&(t=e,e=void 0),e=e||\"\",null!=t)return zn(e,t,n,\"month\");var r,i=[];for(r=0;12>r;r++)i[r]=zn(e,r,n,\"month\");return i}function Nn(e,t,n,r){\"boolean\"==typeof e?(\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\");var i=z(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,\"day\");var a,s=[];for(a=0;7>a;a++)s[a]=zn(t,(a+o)%7,r,\"day\");return s}function Dn(e,t){return Bn(e,t,\"months\")}function qn(e,t){return Bn(e,t,\"monthsShort\")}function Rn(e,t,n){return Nn(e,t,n,\"weekdays\")}function Ln(e,t,n){return Nn(e,t,n,\"weekdaysShort\")}function $n(e,t,n){return Nn(e,t,n,\"weekdaysMin\")}function Un(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Hn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Vn(e,t){return Hn(this,e,t,1)}function Wn(e,t){return Hn(this,e,t,-1)}function Yn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Kn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Yn(Jn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=y(o/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,a+=y(n/24),i=y(Gn(a)),s+=i,a-=Yn(Jn(i)),r=y(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Gn(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Zn(e){var t,n,r=this._milliseconds;if(e=D(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+Gn(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=D(e),this[e+\"s\"]()}function tr(e){return function(){return this._data[e]}}function nr(){return y(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as(\"s\")),o=no(r.as(\"m\")),a=no(r.as(\"h\")),s=no(r.as(\"d\")),c=no(r.as(\"M\")),u=no(r.as(\"y\")),p=i<ro.s&&[\"s\",i]||1>=o&&[\"m\"]||o<ro.m&&[\"mm\",o]||1>=a&&[\"h\"]||a<ro.h&&[\"hh\",a]||1>=s&&[\"d\"]||s<ro.d&&[\"dd\",s]||1>=c&&[\"M\"]||c<ro.M&&[\"MM\",c]||1>=u&&[\"y\"]||[\"yy\",u];return p[2]=t,p[3]=+e>0,p[4]=n,rr.apply(null,p)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(o/12),o%=12;var a=n,s=o,c=i,u=t,p=e,l=r,f=this.asSeconds();return f?(0>f?\"-\":\"\")+\"P\"+(a?a+\"Y\":\"\")+(s?s+\"M\":\"\")+(c?c+\"D\":\"\")+(u||p||l?\"T\":\"\")+(u?u+\"H\":\"\")+(p?p+\"M\":\"\")+(l?l+\"S\":\"\"):\"P0D\"}var cr,ur;ur=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var pr=n.momentProperties=[],lr=!1,fr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var dr;dr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var hr,mr,vr={},gr={},yr=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xr={},wr={},_r=/\\d/,kr=/\\d\\d/,jr=/\\d{3}/,Sr=/\\d{4}/,Er=/[+-]?\\d{6}/,Or=/\\d\\d?/,Ar=/\\d\\d\\d\\d?/,Cr=/\\d\\d\\d\\d\\d\\d?/,Tr=/\\d{1,3}/,Ir=/\\d{1,4}/,Pr=/[+-]?\\d{1,6}/,Fr=/\\d+/,Mr=/[+-]?\\d+/,zr=/Z|[+-]\\d\\d:?\\d\\d/gi,Br=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,Nr=/[+-]?\\d+(\\.\\d{1,3})?/,Dr=/[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i,qr={},Rr={},Lr=0,$r=1,Ur=2,Hr=3,Vr=4,Wr=5,Yr=6,Kr=7,Gr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),V(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),V(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),N(\"month\",\"M\"),J(\"M\",Or),J(\"MM\",Or,kr),J(\"MMM\",function(e,t){return t.monthsShortRegex(e)}),J(\"MMMM\",function(e,t){return t.monthsRegex(e)}),ee([\"M\",\"MM\"],function(e,t){t[$r]=b(e)-1}),ee([\"MMM\",\"MMMM\"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[$r]=i:l(n).invalidMonth=e});var Jr=/D[oD]?(\\[[^\\[\\]]*\\]|\\s+)+MMMM?/,Zr=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Qr=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Xr=Dr,ei=Dr,ti=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ni=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ri=/Z|[+-]\\d\\d(?::?\\d\\d)?/,ii=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],oi=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],ai=/^\\/?Date\\((\\-?\\d+)/i;n.createFromInputFallback=_(\"moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),V(\"Y\",0,0,function(){var e=this.year();return 9999>=e?\"\"+e:\"+\"+e}),V(0,[\"YY\",2],0,function(){return this.year()%100}),V(0,[\"YYYY\",4],0,\"year\"),V(0,[\"YYYYY\",5],0,\"year\"),V(0,[\"YYYYYY\",6,!0],0,\"year\"),N(\"year\",\"y\"),J(\"Y\",Mr),J(\"YY\",Or,kr),J(\"YYYY\",Ir,Sr),J(\"YYYYY\",Pr,Er),J(\"YYYYYY\",Pr,Er),ee([\"YYYYY\",\"YYYYYY\"],Lr),ee(\"YYYY\",function(e,t){t[Lr]=2===e.length?n.parseTwoDigitYear(e):b(e)}),ee(\"YY\",function(e,t){t[Lr]=n.parseTwoDigitYear(e)}),ee(\"Y\",function(e,t){t[Lr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var si=R(\"FullYear\",!0);n.ISO_8601=function(){};var ci=_(\"moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:d()}),ui=_(\"moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:d();\n}),pi=function(){return Date.now?Date.now():+new Date};He(\"Z\",\":\"),He(\"ZZ\",\"\"),J(\"Z\",Br),J(\"ZZ\",Br),ee([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(Br,e)});var li=/([\\+\\-]|\\d\\d)/gi;n.updateOffset=function(){};var fi=/^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)\\.?(\\d{3})?\\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=$e.prototype;var hi=pt(1,\"add\"),mi=pt(-1,\"subtract\");n.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",n.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var vi=_(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,[\"gg\",2],0,function(){return this.weekYear()%100}),V(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Ut(\"gggg\",\"weekYear\"),Ut(\"ggggg\",\"weekYear\"),Ut(\"GGGG\",\"isoWeekYear\"),Ut(\"GGGGG\",\"isoWeekYear\"),N(\"weekYear\",\"gg\"),N(\"isoWeekYear\",\"GG\"),J(\"G\",Mr),J(\"g\",Mr),J(\"GG\",Or,kr),J(\"gg\",Or,kr),J(\"GGGG\",Ir,Sr),J(\"gggg\",Ir,Sr),J(\"GGGGG\",Pr,Er),J(\"ggggg\",Pr,Er),te([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),te([\"gg\",\"GG\"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V(\"Q\",0,\"Qo\",\"quarter\"),N(\"quarter\",\"Q\"),J(\"Q\",_r),ee(\"Q\",function(e,t){t[$r]=3*(b(e)-1)}),V(\"w\",[\"ww\",2],\"wo\",\"week\"),V(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),N(\"week\",\"w\"),N(\"isoWeek\",\"W\"),J(\"w\",Or),J(\"ww\",Or,kr),J(\"W\",Or),J(\"WW\",Or,kr),te([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var gi={dow:0,doy:6};V(\"D\",[\"DD\",2],\"Do\",\"date\"),N(\"date\",\"D\"),J(\"D\",Or),J(\"DD\",Or,kr),J(\"Do\",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee([\"D\",\"DD\"],Ur),ee(\"Do\",function(e,t){t[Ur]=b(e.match(Or)[0],10)});var yi=R(\"Date\",!0);V(\"d\",0,\"do\",\"day\"),V(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),V(\"e\",0,0,\"weekday\"),V(\"E\",0,0,\"isoWeekday\"),N(\"day\",\"d\"),N(\"weekday\",\"e\"),N(\"isoWeekday\",\"E\"),J(\"d\",Or),J(\"e\",Or),J(\"E\",Or),J(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),J(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),J(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),te([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),te([\"d\",\"e\",\"E\"],function(e,t,n,r){t[r]=b(e)});var bi=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),xi=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),wi=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),_i=Dr,ki=Dr,ji=Dr;V(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),N(\"dayOfYear\",\"DDD\"),J(\"DDD\",Tr),J(\"DDDD\",jr),ee([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=b(e)}),V(\"H\",[\"HH\",2],0,\"hour\"),V(\"h\",[\"hh\",2],0,gn),V(\"k\",[\"kk\",2],0,yn),V(\"hmm\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)}),V(\"hmmss\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),V(\"Hmm\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)}),V(\"Hmmss\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),bn(\"a\",!0),bn(\"A\",!1),N(\"hour\",\"h\"),J(\"a\",xn),J(\"A\",xn),J(\"H\",Or),J(\"h\",Or),J(\"HH\",Or,kr),J(\"hh\",Or,kr),J(\"hmm\",Ar),J(\"hmmss\",Cr),J(\"Hmm\",Ar),J(\"Hmmss\",Cr),ee([\"H\",\"HH\"],Hr),ee([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee([\"h\",\"hh\"],function(e,t,n){t[Hr]=b(e),l(n).bigHour=!0}),ee(\"hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r)),l(n).bigHour=!0}),ee(\"hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i)),l(n).bigHour=!0}),ee(\"Hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r))}),ee(\"Hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i))});var Si=/[ap]\\.?m?\\.?/i,Ei=R(\"Hours\",!0);V(\"m\",[\"mm\",2],0,\"minute\"),N(\"minute\",\"m\"),J(\"m\",Or),J(\"mm\",Or,kr),ee([\"m\",\"mm\"],Vr);var Oi=R(\"Minutes\",!1);V(\"s\",[\"ss\",2],0,\"second\"),N(\"second\",\"s\"),J(\"s\",Or),J(\"ss\",Or,kr),ee([\"s\",\"ss\"],Wr);var Ai=R(\"Seconds\",!1);V(\"S\",0,0,function(){return~~(this.millisecond()/100)}),V(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),V(0,[\"SSS\",3],0,\"millisecond\"),V(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),V(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),V(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),V(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),V(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),V(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),N(\"millisecond\",\"ms\"),J(\"S\",Tr,_r),J(\"SS\",Tr,kr),J(\"SSS\",Tr,jr);var Ci;for(Ci=\"SSSS\";Ci.length<=9;Ci+=\"S\")J(Ci,Fr);for(Ci=\"S\";Ci.length<=9;Ci+=\"S\")ee(Ci,kn);var Ti=R(\"Milliseconds\",!1);V(\"z\",0,0,\"zoneAbbr\"),V(\"zz\",0,0,\"zoneName\");var Ii=v.prototype;Ii.add=hi,Ii.calendar=ft,Ii.clone=dt,Ii.diff=xt,Ii.endOf=Pt,Ii.format=jt,Ii.from=St,Ii.fromNow=Et,Ii.to=Ot,Ii.toNow=At,Ii.get=U,Ii.invalidAt=Lt,Ii.isAfter=ht,Ii.isBefore=mt,Ii.isBetween=vt,Ii.isSame=gt,Ii.isSameOrAfter=yt,Ii.isSameOrBefore=bt,Ii.isValid=qt,Ii.lang=vi,Ii.locale=Ct,Ii.localeData=Tt,Ii.max=ui,Ii.min=ci,Ii.parsingFlags=Rt,Ii.set=U,Ii.startOf=It,Ii.subtract=mi,Ii.toArray=Bt,Ii.toObject=Nt,Ii.toDate=zt,Ii.toISOString=kt,Ii.toJSON=Dt,Ii.toString=_t,Ii.unix=Mt,Ii.valueOf=Ft,Ii.creationData=$t,Ii.year=si,Ii.isLeapYear=we,Ii.weekYear=Ht,Ii.isoWeekYear=Vt,Ii.quarter=Ii.quarters=Jt,Ii.month=ue,Ii.daysInMonth=pe,Ii.week=Ii.weeks=en,Ii.isoWeek=Ii.isoWeeks=tn,Ii.weeksInYear=Yt,Ii.isoWeeksInYear=Wt,Ii.date=yi,Ii.day=Ii.days=un,Ii.weekday=pn,Ii.isoWeekday=ln,Ii.dayOfYear=vn,Ii.hour=Ii.hours=Ei,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Ai,Ii.millisecond=Ii.milliseconds=Ti,Ii.utcOffset=Ke,Ii.utc=Je,Ii.local=Ze,Ii.parseZone=Qe,Ii.hasAlignedHourOffset=Xe,Ii.isDST=et,Ii.isDSTShifted=tt,Ii.isLocal=nt,Ii.isUtcOffset=rt,Ii.isUtc=it,Ii.isUTC=it,Ii.zoneAbbr=jn,Ii.zoneName=Sn,Ii.dates=_(\"dates accessor is deprecated. Use date instead.\",yi),Ii.months=_(\"months accessor is deprecated. Use month instead\",ue),Ii.years=_(\"years accessor is deprecated. Use year instead\",si),Ii.zone=_(\"moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779\",Ge);var Pi=Ii,Fi={sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},Mi={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},zi=\"Invalid date\",Bi=\"%d\",Ni=/\\d{1,2}/,Di={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},qi=A.prototype;qi._calendar=Fi,qi.calendar=An,qi._longDateFormat=Mi,qi.longDateFormat=Cn,qi._invalidDate=zi,qi.invalidDate=Tn,qi._ordinal=Bi,qi.ordinal=In,qi._ordinalParse=Ni,qi.preparse=Pn,qi.postformat=Pn,qi._relativeTime=Di,qi.relativeTime=Fn,qi.pastFuture=Mn,qi.set=E,qi.months=ie,qi._months=Zr,qi.monthsShort=oe,qi._monthsShort=Qr,qi.monthsParse=se,qi._monthsRegex=ei,qi.monthsRegex=fe,qi._monthsShortRegex=Xr,qi.monthsShortRegex=le,qi.week=Zt,qi._week=gi,qi.firstDayOfYear=Xt,qi.firstDayOfWeek=Qt,qi.weekdays=rn,qi._weekdays=bi,qi.weekdaysMin=an,qi._weekdaysMin=wi,qi.weekdaysShort=on,qi._weekdaysShort=xi,qi.weekdaysParse=cn,qi._weekdaysRegex=_i,qi.weekdaysRegex=fn,qi._weekdaysShortRegex=ki,qi.weekdaysShortRegex=dn,qi._weekdaysMinRegex=ji,qi.weekdaysMinRegex=hn,qi.isPM=wn,qi._meridiemParse=Si,qi.meridiem=_n,P(\"en\",{ordinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),n.lang=_(\"moment.lang is deprecated. Use moment.locale instead.\",P),n.langData=_(\"moment.langData is deprecated. Use moment.localeData instead.\",z);var Ri=Math.abs,Li=Xn(\"ms\"),$i=Xn(\"s\"),Ui=Xn(\"m\"),Hi=Xn(\"h\"),Vi=Xn(\"d\"),Wi=Xn(\"w\"),Yi=Xn(\"M\"),Ki=Xn(\"y\"),Gi=tr(\"milliseconds\"),Ji=tr(\"seconds\"),Zi=tr(\"minutes\"),Qi=tr(\"hours\"),Xi=tr(\"days\"),eo=tr(\"months\"),to=tr(\"years\"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=$e.prototype;oo.abs=Un,oo.add=Vn,oo.subtract=Wn,oo.as=Zn,oo.asMilliseconds=Li,oo.asSeconds=$i,oo.asMinutes=Ui,oo.asHours=Hi,oo.asDays=Vi,oo.asWeeks=Wi,oo.asMonths=Yi,oo.asYears=Ki,oo.valueOf=Qn,oo._bubble=Kn,oo.get=er,oo.milliseconds=Gi,oo.seconds=Ji,oo.minutes=Zi,oo.hours=Qi,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Ct,oo.localeData=Tt,oo.toIsoString=_(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",sr),oo.lang=vi,V(\"X\",0,0,\"unix\"),V(\"x\",0,0,\"valueOf\"),J(\"x\",Mr),J(\"X\",Nr),ee(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee(\"x\",function(e,t,n){n._d=new Date(b(e))}),n.version=\"2.13.0\",r(De),n.fn=Pi,n.min=Re,n.max=Le,n.now=pi,n.utc=u,n.unix=En,n.months=Dn,n.isDate=o,n.locale=P,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Rn,n.parseZone=On,n.localeData=z,n.isDuration=Ue,n.monthsShort=qn,n.weekdaysMin=$n,n.defineLocale=F,n.updateLocale=M,n.locales=B,n.weekdaysShort=Ln,n.normalizeUnits=D,n.relativeTimeThreshold=or,n.prototype=Pi;var ao=n;return ao})},{}],188:[function(e,t,n){t.exports={MongoError:e(\"./lib/error\"),Server:e(\"./lib/topologies/server\"),ReplSet:e(\"./lib/topologies/replset\"),Mongos:e(\"./lib/topologies/mongos\"),Logger:e(\"./lib/connection/logger\"),Cursor:e(\"./lib/cursor\"),ReadPreference:e(\"./lib/topologies/read_preference\"),BSON:e(\"bson\"),Query:e(\"./lib/connection/commands\").Query,MongoCR:e(\"./lib/auth/mongocr\"),X509:e(\"./lib/auth/x509\"),Plain:e(\"./lib/auth/plain\"),GSSAPI:e(\"./lib/auth/gssapi\"),ScramSHA1:e(\"./lib/auth/scram\")}},{\"./lib/auth/gssapi\":189,\"./lib/auth/mongocr\":190,\"./lib/auth/plain\":191,\"./lib/auth/scram\":192,\"./lib/auth/x509\":194,\"./lib/connection/commands\":195,\"./lib/connection/logger\":197,\"./lib/cursor\":200,\"./lib/error\":201,\"./lib/topologies/mongos\":203,\"./lib/topologies/read_preference\":204,\"./lib/topologies/replset\":205,\"./lib/topologies/server\":207,bson:59}],189:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var f=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var d=u.gssapiServiceName||\"mongodb\",h=t.length;if(0==h)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(n,i,c,n,d,e,t,u,function(e,t){h-=1,e?y=e:t.result.$err?y=t.result:t.result.errmsg?y=t.result:(g=!0,v+=1),0==h&&v>0?(m(f.authStore,new a(n,i,c,u)),p(null,!0)):0==h&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a,s,u){var p=new c(a.host,a.port,i,s);p.init(t,n,function(i,s){return i?u(i,!1):void p.transition(\"\",function(i,s){return i?u(i,!1):void f(p,s,e,t,n,r,o,a,u)})})},f=function(e,t,n,r,i,o,a,s,c){var u={saslStart:1,mechanism:\"GSSAPI\",payload:t,autoAuthorize:1};a.command(\"$external.$cmd\",u,{connection:s},function(t,u){if(t)return c(t,!1);var p=u.result;e.transition(u.result.payload,function(t,u){return t?c(t,!1):void d(e,u,p,n,r,i,o,a,s,c)})})},d=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){if(t)return u(t,!1);var p=n.result;e.transition(p.payload,function(t,n){return t?u(t,!1):void h(e,n,p,r,i,o,a,s,c,u)})})},h=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){return t?u(t,!1):void e.transition(null,function(e,t){return e?u(e,null):void u(null,n)})})},m=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],190:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]},c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){e.command(r(\"%s.$cmd\",n),{getnonce:1},{connection:t},function(v,g){var y=null,b=null;if(null==v){y=g.result.nonce;var x=i.createHash(\"md5\");x.update(s+\":mongo:\"+u,\"utf8\");var w=x.digest(\"hex\");x=i.createHash(\"md5\"),x.update(y+s+w,\"utf8\"),b=x.digest(\"hex\")}e.command(r(\"%s.$cmd\",n),{authenticate:1,user:s,nonce:y,key:b},{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}},s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,crypto:void 0,util:void 0}],191:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"bson\").Binary),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){var v=new i(r(\"\\x00%s\\x00%s\",s,u)),g={saslStart:1,mechanism:\"PLAIN\",payload:v,autoAuthorize:1};e.command(\"$external.$cmd\",g,{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}};var c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,bson:59,crypto:void 0,util:void 0}],192:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"bson\").Binary,a=e(\"../error\"),s=function(e,t,n){this.db=e,this.username=t,this.password=n};s.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var c=0,u=function(){this.authStore=[],this.id=c++},p=function(e){for(var t={},n=e.split(\",\"),r=0;r<n.length;r++){var i=n[r].split(\"=\");t[i[0]]=i[1]}return t},l=function(e,t){if(\"string\"!=typeof e)throw new a(\"username must be a string\");if(\"string\"!=typeof t)throw new a(\"password must be a string\");if(0==t.length)throw new a(\"password cannot be empty\");var n=i.createHash(\"md5\");return n.update(e+\":mongo:\"+t,\"utf8\"),n.digest(\"hex\")},f=function(e,t){n.isBuffer(e)||(e=new n(e)),n.isBuffer(t)||(t=new n(t));var r=[];if(e.length>t.length)for(var i=0;i<t.length;i++)r.push(e[i]^t[i]);else for(var i=0;i<e.length;i++)r.push(e[i]^t[i]);return new n(r)},d=function(e,t,r){var o=function(t){var r=i.createHmac(\"sha1\",e);return r.update(t),new n(r.digest(\"base64\"),\"base64\")};t=n.concat([t,new n(\"\\x00\\x00\\x00\u0001\")]);for(var a=o(t),s=a,c=0;r-1>c;c++)s=o(s),a=f(a,s);return a};u.prototype.auth=function(e,t,c,u,m,v){var g=this,y=t.length;if(0==y)return v(null,null);for(var b=0,x=!1,w=null,_=function(t){u=u.replace(\"=\",\"=3D\").replace(\",\",\"=2C\");var _=i.randomBytes(24).toString(\"base64\"),k=r(\"n=%s,r=%s\",u,_),j={saslStart:1,mechanism:\"SCRAM-SHA-1\",payload:new o(r(\"n,,%s\",k)),autoAuthorize:1},S=function(e,t){return e?(b-=1,w=e,!1):t.result.$err?(w=t.result,!1):t.result.errmsg?(w=t.result,!1):(x=!0,b+=1,!0)},E=function(e,t){return 0==e&&t>0?(h(g.authStore,new s(c,u,m)),v(null,!0)):0==e?(null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)):void 0},O=function(e,t){S(e,t),y-=1,E(y,b)};e.command(r(\"%s.$cmd\",c),j,{connection:t},function(x,_){if(0!=S(x,_)){var j=p(_.result.payload.value()),E=parseInt(j.i,10),A=j.s,C=j.r,T=r(\"c=biws,r=%s\",C),I=l(u,m),P=d(I,new n(A,\"base64\"),E),F=i.createHmac(\"sha1\",P);F.update(new n(\"Client Key\"));var M=new n(F.digest(\"base64\"),\"base64\"),z=i.createHash(\"sha1\");z.update(M);var B=new n(z.digest(\"base64\"),\"base64\"),N=[k,_.result.payload.value().toString(\"base64\"),T].join(\",\"),F=i.createHmac(\"sha1\",B);F.update(new n(N));var D=new n(F.digest(\"base64\"),\"base64\"),q=r(\"p=%s\",new n(f(M,D)).toString(\"base64\")),R=[T,q].join(\",\"),F=i.createHmac(\"sha1\",P);F.update(new n(\"Server Key\"));var L=new n(F.digest(\"base64\"),\"base64\"),F=i.createHmac(\"sha1\",L);F.update(new n(N));var $=(new n(F.digest(\"base64\"),\"base64\"),{saslContinue:1,conversationId:_.result.conversationId,payload:new o(new n(R))});e.command(r(\"%s.$cmd\",c),$,{connection:t},function(i,o){if(o&&0==o.result.done){var a={saslContinue:1,conversationId:o.result.conversationId,payload:new n(0)};e.command(r(\"%s.$cmd\",c),a,{connection:t},function(e,t){O(e,t)})}else O(i,o)})}else{if(y-=1,0==y&&b>0)return h(g.authStore,new s(c,u,m)),v(null,!0);if(0==y)return null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)}})},k=function(e){process.nextTick(function(){_(e)})};t.length>0;)k(t.shift())};var h=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};u.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=u}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,bson:59,buffer:void 0,crypto:void 0,util:void 0}],193:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var d=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var h=u.gssapiServiceName||\"mongodb\",m=t.length;if(0==m)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(i,c,h,e,t,u,function(e,t){m-=1,e?y=e:t&&\"object\"==typeof t&&t.result.$err?y=t.result:t&&\"object\"==typeof t&&t.result.errmsg?y=t.result:(g=!0,v+=1),0==m&&v>0?(f(d.authStore,new a(n,i,c,u)),p(null,!0)):0==m&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a){var s={saslStart:1,mechanism:\"GSSAPI\",payload:\"\",autoAuthorize:1},u=new c(i.host,i.port,n,o);r.command(\"$external.$cmd\",s,{connection:i},function(n,o){if(n)return a(n,!1);var s=o.result;u.init(e,t,function(e){return e?a(e):void u.transition(s.payload,function(e,t){if(e)return a(e);var n={saslContinue:1,conversationId:s.conversationId,payload:t};r.command(\"$external.$cmd\",n,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){if(e)return a(e);var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;return n.done?a(null,!0):void a(new Error(\"Authentication failed\"),!1)})})})})})})})})},f=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],194:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"../error\")),o=function(e,t,n){this.db=e,this.username=t,this.password=n};o.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var a=function(){this.authStore=[]};a.prototype.auth=function(e,t,n,a,c,u){var p=this,l=t.length;if(0==l)return u(null,null);for(var f=0,d=!1,h=null;t.length>0;){var m=function(t){var m={authenticate:1,mechanism:\"MONGODB-X509\",user:a};e.command(\"$external.$cmd\",m,{connection:t},function(e,t){l-=1,e?h=e:t.result.$err?h=t.result:t.result.errmsg?h=t.result:(d=!0,f+=1),0==l&&f>0?(s(p.authStore,new o(n,a,c)),u(null,!0)):0==l&&(null==h&&(h=new i(r(\"failed to authenticate using mongocr\"))),u(h,!1))})},v=function(e){process.nextTick(function(){m(e)})};v(t.shift())}};var s=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};a.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=a},{\"../error\":201,crypto:void 0,util:void 0}],195:[function(e,t,n){(function(n){\"use strict\";var r=(e(\"util\").format,e(\"bson\").Long),i=(e(\"./utils\").setProperty,e(\"./utils\").getProperty,e(\"./utils\").getSingleProperty,0),o=2004,a=2005,s=2007,c=2,u=4,p=8,l=16,f=32,d=64,h=128,m=9007199254740992,v=1,g=2,y=4,b=8,x=function(e,t,n,r){var o=this;if(null==t)throw new Error(\"ns must be specified for query\");if(null==n)throw new Error(\"query must be specified for query\");if(~t.indexOf(\"\\x00\"))throw new Error(\"namespace cannot contain a null character\");this.bson=e,this.ns=t,this.query=n,this.options=r||{},this.numberToSkip=r.numberToSkip||0,this.numberToReturn=r.numberToReturn||0,this.returnFieldSelector=r.returnFieldSelector||null,this.requestId=i++%m,this.serializeFunctions=\"boolean\"==typeof r.serializeFunctions?r.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof r.ignoreUndefined?r.ignoreUndefined:!1,this.maxBsonSize=r.maxBsonSize||16777216,this.checkKeys=\"boolean\"==typeof r.checkKeys?r.checkKeys:!0,this.batchSize=o.numberToReturn,this.tailable=!1,this.slaveOk=!1,this.oplogReplay=!1,this.noCursorTimeout=!1,this.awaitData=!1,this.exhaust=!1,this.partial=!1};x.prototype.incRequestId=function(){this.requestId=i++%m},x.nextRequestId=function(){return(i+1)%m},x.prototype.toBin=function(){var e=this,t=[],r=null,i=0;this.tailable&&(i|=c),this.slaveOk&&(i|=u),this.oplogReplay&&(i|=p),this.noCursorTimeout&&(i|=l),this.awaitData&&(i|=f),this.exhaust&&(i|=d),this.partial&&(i|=h),e.batchSize!=e.numberToReturn&&(e.numberToReturn=e.batchSize);var a=new n(20+n.byteLength(e.ns)+1+4+4);t.push(a);var s=e.bson.serialize(this.query,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);t.push(s),e.returnFieldSelector&&Object.keys(e.returnFieldSelector).length>0&&(r=e.bson.serialize(this.returnFieldSelector,this.checkKeys,!0,this.serializeFunctions,this.ignoreUndefined),t.push(r));var m=a.length+s.length+(r?r.length:0),v=4;return a[3]=m>>24&255,a[2]=m>>16&255,a[1]=m>>8&255,a[0]=255&m,a[v+3]=this.requestId>>24&255,a[v+2]=this.requestId>>16&255,a[v+1]=this.requestId>>8&255,a[v]=255&this.requestId,v+=4,a[v+3]=0,a[v+2]=0,a[v+1]=0,a[v]=0,v+=4,a[v+3]=o>>24&255,a[v+2]=o>>16&255,a[v+1]=o>>8&255,a[v]=255&o,v+=4,a[v+3]=i>>24&255,a[v+2]=i>>16&255,a[v+1]=i>>8&255,a[v]=255&i,v+=4,v=v+a.write(this.ns,v,\"utf8\")+1,a[v-1]=0,a[v+3]=this.numberToSkip>>24&255,a[v+2]=this.numberToSkip>>16&255,a[v+1]=this.numberToSkip>>8&255,a[v]=255&this.numberToSkip,v+=4,a[v+3]=this.numberToReturn>>24&255,a[v+2]=this.numberToReturn>>16&255,a[v+1]=this.numberToReturn>>8&255,a[v]=255&this.numberToReturn,v+=4,t},x.getRequestId=function(){return++i%m};var w=function(e,t,n,r){r=r||{},this.numberToReturn=r.numberToReturn||0,this.requestId=i++%m,this.bson=e,this.ns=t,this.cursorId=n};w.prototype.toBin=function(){var e=4+n.byteLength(this.ns)+1+4+8+16,t=0,r=new n(e);return r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=a>>24&255,r[t+2]=a>>16&255,r[t+1]=a>>8&255,r[t]=255&a,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,t=t+r.write(this.ns,t,\"utf8\")+1,r[t-1]=0,r[t+3]=this.numberToReturn>>24&255,r[t+2]=this.numberToReturn>>16&255,r[t+1]=this.numberToReturn>>8&255,r[t]=255&this.numberToReturn,t+=4,r[t+3]=this.cursorId.getLowBits()>>24&255,r[t+2]=this.cursorId.getLowBits()>>16&255,r[t+1]=this.cursorId.getLowBits()>>8&255,r[t]=255&this.cursorId.getLowBits(),t+=4,r[t+3]=this.cursorId.getHighBits()>>24&255,r[t+2]=this.cursorId.getHighBits()>>16&255,r[t+1]=this.cursorId.getHighBits()>>8&255,r[t]=255&this.cursorId.getHighBits(),t+=4,r};var _=function(e,t){this.requestId=i++%m,this.cursorIds=t};_.prototype.toBin=function(){var e=24+8*this.cursorIds.length,t=0,r=new n(e);r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=s>>24&255,r[t+2]=s>>16&255,r[t+1]=s>>8&255,r[t]=255&s,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=this.cursorIds.length>>24&255,r[t+2]=this.cursorIds.length>>16&255,r[t+1]=this.cursorIds.length>>8&255,r[t]=255&this.cursorIds.length,t+=4;for(var i=0;i<this.cursorIds.length;i++)r[t+3]=this.cursorIds[i].getLowBits()>>24&255,r[t+2]=this.cursorIds[i].getLowBits()>>16&255,r[t+1]=this.cursorIds[i].getLowBits()>>8&255,r[t]=255&this.cursorIds[i].getLowBits(),t+=4,r[t+3]=this.cursorIds[i].getHighBits()>>24&255,r[t+2]=this.cursorIds[i].getHighBits()>>16&255,r[t+1]=this.cursorIds[i].getHighBits()>>8&255,r[t]=255&this.cursorIds[i].getHighBits(),t+=4;return r};var k=function(e,t,n,i){i=i||{promoteLongs:!0},this.parsed=!1,this.connection=e,this.index=0,this.raw=n,this.data=n,this.bson=t,this.opts=i,this.length=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.requestId=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.responseTo=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.index=this.index+4,this.responseFlags=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4;var o=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4;var a=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4,this.cursorId=new r(o,a),this.startingFrom=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.numberReturned=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.documents=new Array(this.numberReturned),this.cursorNotFound=0!=(this.responseFlags&v),this.queryFailure=0!=(this.responseFlags&g),this.shardConfigStale=0!=(this.responseFlags&y),this.awaitCapable=0!=(this.responseFlags&b),this.promoteLongs=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0};k.prototype.isParsed=function(){return this.parsed};var j=new n(\"firstBatch\",\"utf8\"),S=new n(\"nextBatch\",\"utf8\");new n(\"id\",\"utf8\").toString(\"hex\"),{firstBatch:j.toString(\"hex\"),nextBatch:S.toString(\"hex\")};k.prototype.parse=function(e){if(!this.parsed){e=e||{};var t=e.raw||!1,n=e.documentsReturnedIn||null;if(1==this.numberReturned&&null!=n&&t){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,o=this.data.slice(this.index,this.index+i),a={};a[n]=!0;var s={promoteLongs:this.opts.promoteLongs,fieldsAsRaw:a};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs);var c=this.bson.deserialize(o,s);return this.documents=c.cursor[n],this.numberReturned=this.documents.length,this.cursorId=\"number\"==typeof c.cursor.id?r.fromNumber(c.cursor.id):c.cursor.id,this.index=this.index+i,void(this.parsed=!0)}for(var u=0;u<this.numberReturned;u++){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,s={promoteLongs:this.opts.promoteLongs};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs),t?this.documents[u]=this.data.slice(this.index,this.index+i):this.documents[u]=this.bson.deserialize(this.data.slice(this.index,this.index+i),s),this.index=this.index+i}this.parsed=!0}},t.exports={Query:x,GetMore:w,Response:k,KillCursor:_}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":199,bson:59,buffer:void 0,util:void 0}],196:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"net\"),a=e(\"tls\"),s=e(\"util\").format,c=e(\"crypto\"),u=(e(\"./utils\").getSingleProperty,e(\"./utils\").debugOptions),p=e(\"./commands\").Response,l=e(\"../error\"),f=e(\"./logger\"),d=0,h=[\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"rejectUnauthorized\",\"promoteLongs\",\"checkServerIdentity\"],m=function(e){if(i.call(this),this.options=e||{},this.id=d++,this.logger=f(\"Connection\",e),!e.bson)throw new Error(\"must pass in valid bson parser\");this.bson=e.bson,this.tag=e.tag,this.messageHandler=e.messageHandler,this.maxBsonMessageSize=e.maxBsonMessageSize||67108864,this.logger.isDebug()&&this.logger.debug(s(\"creating connection %s with options [%s]\",this.id,JSON.stringify(u(h,e)))),this.port=e.port||27017,this.host=e.host||\"localhost\",this.keepAlive=\"boolean\"==typeof e.keepAlive?e.keepAlive:!0,this.keepAliveInitialDelay=e.keepAliveInitialDelay||0,this.noDelay=\"boolean\"==typeof e.noDelay?e.noDelay:!0,this.connectionTimeout=e.connectionTimeout||0,this.socketTimeout=e.socketTimeout||0,this.destroyed=!1,this.domainSocket=-1!=this.host.indexOf(\"/\"),this.singleBufferSerializtion=\"boolean\"==typeof e.singleBufferSerializtion?e.singleBufferSerializtion:!0,this.serializationFunction=this.singleBufferSerializtion?\"toBinUnified\":\"toBin\",this.ca=e.ca||null,this.cert=e.cert||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.ssl=\"boolean\"==typeof e.ssl?e.ssl:!1,this.rejectUnauthorized=\"boolean\"==typeof e.rejectUnauthorized?e.rejectUnauthorized:!0,this.checkServerIdentity=\"boolean\"==typeof e.checkServerIdentity||\"function\"==typeof e.checkServerIdentity?e.checkServerIdentity:!0,this.ssl||(this.rejectUnauthorized=!1),this.responseOptions={promoteLongs:\"boolean\"==typeof e.promoteLongs?e.promoteLongs:!0},this.flushing=!1,this.queue=[],\nthis.connection=null,this.writeStream=null;var t=c.createHash(\"sha1\");t.update(s(\"%s:%s\",this.host,this.port)),this.hashedName=t.digest(\"hex\")};r(m,i),Object.defineProperty(m.prototype,\"socketTimeoutMS\",{enumerable:!0,set:function(e){if(\"number\"!=typeof e)throw new Error(\"socketTimeoutMS requires a boolean\");this.socketTimeout=e,this.connection.setTimeout(e)},get:function(){return this.socketTimeout}});var v=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] errored out with [%s]\",e.id,e.host,e.port,JSON.stringify(t))),e.listeners(\"error\").length>0&&e.emit(\"error\",l.create(t),e)}},g=function(e){return function(){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] timed out\",e.id,e.host,e.port)),e.emit(\"timeout\",l.create(s(\"connection %s to %s:%s timed out\",e.id,e.host,e.port)),e)}},y=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s with for [%s:%s] closed\",e.id,e.host,e.port)),t||e.emit(\"close\",l.create(s(\"connection %s to %s:%s closed\",e.id,e.host,e.port)),e)}},b=function(e){return function(t){for(;t.length>0;)if(e.bytesRead>0&&e.sizeOfMessage>0){var r=e.sizeOfMessage-e.bytesRead;if(r>t.length)t.copy(e.buffer,e.bytesRead),e.bytesRead=e.bytesRead+t.length,t=new n(0);else{t.copy(e.buffer,e.bytesRead,0,r),t=t.slice(r);try{var i=e.buffer;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}}}else if(null!=e.stubBuffer&&e.stubBuffer.length>0)if(e.stubBuffer.length+t.length>4){var s=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(s,0),t.copy(s,e.stubBuffer.length),t=s,e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null}else{var c=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(c,0),t.copy(c,e.stubBuffer.length),t=new n(0)}else if(t.length>4){var u=t[0]|t[1]<<8|t[2]<<16|t[3]<<24;if(0>u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:\"\",bin:e.buffer,parseState:{sizeOfMessage:u,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};return void e.emit(\"parseError\",a,e)}if(u>4&&u<e.maxBsonMessageSize&&u>t.length)e.buffer=new n(u),t.copy(e.buffer,0),e.bytesRead=t.length,e.sizeOfMessage=u,e.stubBuffer=null,t=new n(0);else if(u>4&&u<e.maxBsonMessageSize&&u==t.length)try{var i=t;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}else if(4>=u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:null,bin:t,parseState:{sizeOfMessage:u,bytesRead:0,buffer:null,stubBuffer:null}};e.emit(\"parseError\",a,e),e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0)}else{var i=t.slice(0,u);e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=t.slice(u),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}}else e.stubBuffer=new n(t.length),t.copy(e.stubBuffer,0),t=new n(0)}};m.prototype.connect=function(e){var t=this;if(e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.responseOptions.promoteLongs=e.promoteLongs),t.connection=t.domainSocket?o.createConnection(t.host):o.createConnection(t.port,t.host),t.connection.setKeepAlive(t.keepAlive,t.keepAliveInitialDelay),t.connection.setTimeout(t.connectionTimeout),t.connection.setNoDelay(t.noDelay),t.ssl){var n={socket:t.connection,rejectUnauthorized:t.rejectUnauthorized};t.ca&&(n.ca=t.ca),t.cert&&(n.cert=t.cert),t.key&&(n.key=t.key),t.passphrase&&(n.passphrase=t.passphrase),0==t.checkServerIdentity?n.checkServerIdentity=function(e,t){}:\"function\"==typeof t.checkServerIdentity&&(n.checkServerIdentity=t.checkServerIdentity);try{t.connection=a.connect(t.port,t.host,n,function(){return t.connection.authorizationError&&t.rejectUnauthorized?t.emit(\"error\",t.connection.authorizationError,t,{ssl:!0}):(t.connection.setTimeout(t.socketTimeout),void t.emit(\"connect\",t))})}catch(r){process.nextTick(function(){return t.emit(\"error\",r,t,{ssl:!0})})}t.connection.setTimeout(t.connectionTimeout)}else t.connection.on(\"connect\",function(){t.connection.setTimeout(t.socketTimeout),t.emit(\"connect\",t)});t.connection.once(\"error\",v(t)),t.connection.once(\"timeout\",g(t)),t.connection.once(\"close\",y(t)),t.connection.on(\"data\",b(t))},m.prototype.unref=function(){if(this.connection)this.connection.unref();else{var e=this;this.once(\"connect\",function(){e.connection.unref()})}},m.prototype.destroy=function(){this.connection&&(this.connection.unref&&this.connection.unref(),this.connection.end(),this.connection.destroy()),this.destroyed=!0},m.prototype.write=function(e){if(this.logger.isDebug())if(Array.isArray(e))for(var t=0;t<e.length;t++)this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e[t].toString(\"hex\"),this.host,this.port));else this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e.toString(\"hex\"),this.host,this.port));if(!Array.isArray(e))return this.connection.write(e,\"binary\");for(var t=0;t<e.length;t++)this.connection.write(e[t],\"binary\")},m.prototype.toString=function(){return\"\"+this.id},m.prototype.toJSON=function(){return{id:this.id,host:this.host,port:this.port}},m.prototype.isConnected=function(){return this.destroyed?!1:!this.connection.destroyed&&this.connection.writable},t.exports=m}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,\"./commands\":195,\"./logger\":197,\"./utils\":199,buffer:void 0,crypto:void 0,events:void 0,net:void 0,tls:void 0,util:void 0}],197:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"../error\"),o={},a={},s=null,c=process.pid,u=null,p=function(e,t){if(!(this instanceof p))return new p(e,t);t=t||{};this.className=e,null==u&&t.logger?u=t.logger:null==u&&(u=console.log),null==s&&(s=t.loggerLevel||\"error\"),null==a[this.className]&&(o[this.className]=!0)};p.prototype.debug=function(e,t){if(this.isDebug()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"DEBUG\",this.className,c,n,e),s={type:\"debug\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.info=function(e,t){if(this.isInfo()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"INFO\",this.className,c,n,e),s={type:\"info\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.error=function(e,t){if(this.isError()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"ERROR\",this.className,c,n,e),s={type:\"error\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.isInfo=function(){return\"info\"==s||\"debug\"==s},p.prototype.isError=function(){return\"error\"==s||\"info\"==s||\"debug\"==s},p.prototype.isDebug=function(){return\"debug\"==s},p.reset=function(){s=\"error\",a={}},p.currentLogger=function(){return u},p.setCurrentLogger=function(e){if(\"function\"!=typeof e)throw new i(\"current logger must be a function\");u=e},p.filter=function(e,t){\"class\"==e&&Array.isArray(t)&&(a={},t.forEach(function(e){a[e]=!0}))},p.setLevel=function(e){if(\"info\"!=e&&\"error\"!=e&&\"debug\"!=e)throw new Error(r(\"%s is an illegal logging level\",e));s=e},t.exports=p},{\"../error\":201,util:void 0}],198:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"./connection\"),a=(e(\"./commands\").Query,e(\"./logger\")),s=e(\"util\").format,c=\"disconnected\",u=\"connecting\",p=\"connected\",l=\"destroyed\",f=0,d=function(e){if(i.call(this),this.options=e||{},this.size=\"number\"!=typeof e.size||isNaN(e.size)?5:e.size,this.waitMS=\"number\"!=typeof e.waitMS||isNaN(e.waitMS)?1e3:e.waitMS,this.host=e.host,this.port=e.port,this.messageHandler=e.messageHandler,!e.bson)throw new Error(\"must pass in valid bson parser\");this.availableConnections=[],this.inUseConnections=[],this.newConnections=[],this.connectingConnections=[],this.state=c,this.index=0,this.dead=!1,this.logger=a(\"Pool\",e),this.id=f++,this.tag=e.tag,this.queue=[],this.executing=!1,this.unreference=!1};r(d,i);var h=function(e,t){t.destroy();var n=function(e){for(var n=0;n<e.length;n++)if(e[n]===t)return e.splice(n,1),!0};n(e.availableConnections)||n(e.inUseConnections)||n(e.newConnections)||n(e.connectingConnections)},m=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.listeners(\"error\").length>0&&e.emit(\"error\",t,n)}},v=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] timed out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"timeout\",t,n)}},g=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] closed [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"close\",t,n)}},y=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"parseError\",t,n)}};d.prototype.unref=function(){this.unreference=!0,this.getAll().forEach(function(e){e.unref()})},d.prototype.destroy=function(){this.state=l,this.dead=!0;var e=this.getAll();e.forEach(function(e){[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy()}),this.availableConnections=[],this.connectingConnections=[],this.inUseConnections=[],this.newConnections=[]},d.prototype.connect=function(e){var t=this;this.state=u,this.dead=!1,t.options.messageHandler=t.messageHandler;var n=new o(t.options);[\"close\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"close\",g(t)),n.once(\"error\",m(t)),n.once(\"timeout\",v(t)),n.once(\"parseError\",y(t)),n.on(\"connect\",function(e){return\"DESTROYED\"==t.state?e.destroy():(t.availableConnections.push(e),void t.emit(\"connect\",t))}),n.connect(e)};var b=function(e){e.options.messageHandler=e.messageHandler;var t=new o(e.options);e.connectingConnections.push(t);var n=function(e){return function(t){e.destroy()}},r=[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"],i=function(t){return function(){if(\"DESTROYED\"==e.state){var n=e.connectingConnections.indexOf(t);return-1!=n&&e.connectingConnections.splice(n,1),t.destroy()}r.forEach(function(e){t.removeAllListeners(e)}),t.once(\"close\",g(e)),t.once(\"error\",m(e)),t.once(\"timeout\",v(e)),t.once(\"parseError\",y(e));var n=e.connectingConnections.indexOf(t);-1!=n&&e.connectingConnections.splice(n,1),e.newConnections.push(t),e.emit(\"connection\",t),x(e)()}};t.once(\"close\",n(t)),t.once(\"error\",n(t)),t.once(\"timeout\",n(t)),t.once(\"parseError\",n(t)),t.once(\"connect\",i(t)),t.connect()},x=function(e){return function(){if(\"DESTROYED\"!=e.state&&!e.executing){e.executing=!0;var t=e.availableConnections.length+e.connectingConnections.length+e.inUseConnections.length+e.newConnections.length;if(0==e.availableConnections.length&&0==e.connectingConnections.length&&t<e.size&&e.queue.length>0)return b(e),void(e.executing=!1);for(e.availableConnections.length>e.queue.length?e.queue.length:e.availableConnections.length;;){if(0==e.availableConnections.length)break;if(0==e.queue.length)break;var n=e.availableConnections.pop();if(n.isConnected()){var r=e.queue.shift();r.cb&&(r.cb.connection=n);var i=r.buffer;if(e.inUseConnections.push(n),Array.isArray(i))for(var o=0;o<i.length;o++)n.write(i[o]);else n.write(i);r.immediateRelease&&e.availableConnections.push(n)}}e.executing=!1}}};d.prototype.write=function(e,t,n){var r={buffer:e,cb:t};n&&n.immediateRelease&&(r.immediateRelease=!0),this.queue.push(r),x(this)()},d.prototype.connectionAvailable=function(e){var t=this.newConnections.indexOf(e);-1!=t&&this.newConnections.splice(t,1),t=this.inUseConnections.indexOf(e),-1!=t&&this.inUseConnections.splice(t,1),-1==this.availableConnections.indexOf(e)&&this.availableConnections.push(e),x(this)()},d.prototype.get=function(e){e=e||{},this.index=this.index+1;var t=this.availableConnections.slice(0);return 1==t.length?t[0]:(this.index=this.index%t.length,t[this.index])},d.prototype.getAll=function(){return this.availableConnections.concat(this.inUseConnections).concat(this.connectingConnections).concat(this.newConnections)},d.prototype.isConnected=function(){for(var e=0;e<this.availableConnections.length;e++)if(this.availableConnections[e].isConnected())return!0;for(var e=0;e<this.inUseConnections.length;e++)if(this.inUseConnections[e].isConnected())return!0;for(var e=0;e<this.newConnections.length;e++)if(this.newConnections[e].isConnected())return!0;return this.state==p},d.prototype.isDestroyed=function(){return this.state==l},t.exports=d},{\"./commands\":195,\"./connection\":196,\"./logger\":197,events:void 0,util:void 0}],199:[function(e,t,n){\"use strict\";var r=function(e,t,n,r){Object.defineProperty(e,t.name,{enumerable:!0,set:function(e){if(\"boolean\"!=typeof e)throw new Error(f(\"%s required a boolean\",t.name));1==e&&(r.flags|=n),0==e&&(r.flags&n)==n&&(r.flags^=n),t.value=e},get:function(){return t.value}})},i=function(e,t,n,r,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){return null==r[n]&&e.isParsed&&!e.isParsed()&&e.parse(),\"function\"==typeof i?i(r[n]):r[n]}})},o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=function(e,t){t=t||{};for(var n in e)t[n]=e[n];return t},s=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},c=function(e){var t=process.domain;if(null==t||null==e)return e;var n=t.bind(e);for(var r in e)n[r]=e[r];return n};n.setProperty=r,n.getProperty=i,n.getSingleProperty=o,n.copy=a,n.bindToCurrentDomain=c,n.debugOptions=s},{}],200:[function(e,t,n){\"use strict\";var r=e(\"bson\").Long,i=e(\"./connection/logger\"),o=e(\"./error\"),a=e(\"util\").format,s=function(e,t,n,o,a,s){o=o||{};this.pool=null,this.server=null,this.disconnectHandler=o.disconnectHandler,this.bson=e,this.ns=t,this.cmd=n,this.options=o,this.topology=a,this.cursorState={cursorId:null,cmd:n,documents:o.documents||[],cursorIndex:0,dead:!1,killed:!1,init:!1,notified:!1,limit:o.limit||n.limit||0,skip:o.skip||n.skip||0,batchSize:o.batchSize||n.batchSize||1e3,currentLimit:0,transforms:o.transforms},\"boolean\"==typeof s.promoteLongs&&(this.cursorState.promoteLongs=s.promoteLongs),this.callbacks=null,this.logger=i(\"Cursor\",o),\"number\"==typeof n?(this.cursorState.cursorId=r.fromNumber(n),this.cursorState.lastCursorId=this.cursorState.cursorId):n instanceof r&&(this.cursorState.cursorId=n,this.cursorState.lastCursorId=n)};s.prototype.setCursorBatchSize=function(e){this.cursorState.batchSize=e},s.prototype.cursorBatchSize=function(){return this.cursorState.batchSize},s.prototype.setCursorLimit=function(e){this.cursorState.limit=e},s.prototype.cursorLimit=function(){return this.cursorState.limit},s.prototype.setCursorSkip=function(e){this.cursorState.skip=e},s.prototype.cursorSkip=function(){return this.cursorState.skip};var c=function(e,t,n){try{e(t,n)}catch(t){process.nextTick(function(){throw t})}};s.prototype._find=function(e){var t=this;t.logger.isDebug()&&t.logger.debug(a(\"issue initial query [%s] with flags [%s]\",JSON.stringify(t.cmd),JSON.stringify(t.query)));var n=function(n,i){if(n)return e(n);if(i.queryFailure)return e(o.create(i.documents[0]),null);if(t.connection=i.connection,Array.isArray(i.documents)&&1==i.documents.length&&(!t.cmd.find||t.cmd.find&&0==t.cmd.virtual)&&(\"string\"!=i.documents[0].cursor||i.documents[0].$err||i.documents[0].errmsg||Array.isArray(i.documents[0].result))){if(i.documents[0].$err||i.documents[0].errmsg)return e(o.create(i.documents[0]),null);if(null!=i.documents[0].cursor&&\"string\"!=typeof i.documents[0].cursor){var a=i.documents[0].cursor.id;return i.documents[0].cursor.ns&&(t.ns=i.documents[0].cursor.ns),t.cursorState.cursorId=\"number\"==typeof a?r.fromNumber(a):a,t.cursorState.lastCursorId=t.cursorState.cursorId,Array.isArray(i.documents[0].cursor.firstBatch)&&(t.cursorState.documents=i.documents[0].cursor.firstBatch),e(null,null)}if(Array.isArray(i.documents[0].result))return t.cursorState.documents=i.documents[0].result,t.cursorState.cursorId=r.ZERO,e(null,null)}t.cursorState.cursorId=i.cursorId,t.cursorState.documents=i.documents,t.cursorState.lastCursorId=i.cursorId,t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.query&&(t.cursorState.documents=t.cursorState.transforms.query(i)),e(null,null)};(t.options.raw||t.cmd.raw)&&(n.raw=t.options.raw||t.cmd.raw),\"string\"==typeof t.query.documentsReturnedIn&&(n.documentsReturnedIn=t.query.documentsReturnedIn),\"boolean\"==typeof t.cursorState.promoteLongs&&(n.promoteLongs=t.cursorState.promoteLongs),t.callbacks.register(t.query.requestId,n),t.pool.write(t.query.toBin(),n)},s.prototype._getmore=function(e){this.logger.isDebug()&&this.logger.debug(a(\"schedule getMore call for query [%s]\",JSON.stringify(this.query)));var t=this.options.raw||this.cmd.raw,n=this.cursorState.batchSize;this.cursorState.limit>0&&this.cursorState.currentLimit+n>this.cursorState.limit&&(n=this.cursorState.limit-this.cursorState.currentLimit);var r=this.connection||this.pool;this.server.wireProtocolHandler.getMore(this.bson,this.ns,this.cursorState,n,t,r,this.callbacks,this.options,e)},s.prototype._killcursor=function(e){return this.cursorState.dead=!0,this.cursorState.killed=!0,this.cursorState.documents=[],null==this.cursorState.cursorId||this.cursorState.cursorId.isZero()||0==this.cursorState.init?void(e&&e(null,null)):void this.server.wireProtocolHandler.killCursor(this.bson,this.ns,this.cursorState.cursorId,this.pool,this.callbacks,e)},s.prototype.clone=function(){return this.topology.cursor(this.ns,this.cmd,this.options)},s.prototype.isDead=function(){return 1==this.cursorState.dead},s.prototype.isKilled=function(){return 1==this.cursorState.killed},s.prototype.isNotified=function(){return 1==this.cursorState.notified},s.prototype.bufferedCount=function(){return this.cursorState.documents.length-this.cursorState.cursorIndex},s.prototype.readBufferedDocuments=function(e){var t=this.cursorState.documents.length-this.cursorState.cursorIndex,n=t>e?e:t,r=this.cursorState.documents.slice(this.cursorState.cursorIndex,this.cursorState.cursorIndex+n);if(this.cursorState.transforms&&\"function\"==typeof this.cursorState.transforms.doc)for(var i=0;i<r.length;i++)r[i]=this.cursorState.transforms.doc(r[i]);return this.cursorState.limit>0&&this.cursorState.currentLimit+r.length>this.cursorState.limit&&(r=r.slice(0,this.cursorState.limit-this.cursorState.currentLimit),this.kill()),this.cursorState.currentLimit=this.cursorState.currentLimit+r.length,this.cursorState.cursorIndex=this.cursorState.cursorIndex+r.length,r},s.prototype.kill=function(e){this._killcursor(e)},s.prototype.rewind=function(){this.cursorState.init&&(this.cursorState.dead||this.kill(),this.cursorState.currentLimit=0,this.cursorState.init=!1,this.cursorState.dead=!1,this.cursorState.killed=!1,this.cursorState.notified=!1,this.cursorState.documents=[],this.cursorState.cursorId=null,this.cursorState.cursorIndex=0)};var u=function(e,t){return e.pool&&!e.pool.isConnected()?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,t(o.create(a(\"connection to host %s:%s was destroyed\",e.pool.host,e.pool.port))),!0):!1},p=function(e,t){return e.cursorState.dead&&!e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},l=function(e,t){return e.cursorState.dead&&e.cursorState.killed?(c(t,o.create(\"cursor is dead\")),!0):!1},f=function(e,t){return e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},d=function(e,t){e.cursorState.dead=!0,e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},h=function(e,t){e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},m=(Array.prototype.push,function(e,t){if(e.cursorState.notified)return t(new Error(\"cursor is exhausted\"));if(!f(e,t)&&!p(e,t)&&!l(e,t)){if(!e.cursorState.init){if(!e.topology.isConnected(e.options)&&null!=e.disconnectHandler)return e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t);try{e.server=e.topology.getServer(e.options),e.pool=e.server.s.pool,e.callbacks=e.server.getCallbacks()}catch(n){return null!=e.disconnectHandler?e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t):t(n)}e.cursorState.init=!0;try{e.query=e.server.wireProtocolHandler.command(e.bson,e.ns,e.cmd,e.cursorState,e.topology,e.options)}catch(n){return t(n)}}if(null==e.cursorState.cursorId){if(u(e,t))return;if(e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));e._find(function(n,r){return n?c(t,n,null):0==e.cursorState.documents.length&&e.cursorState.cursorId&&e.cursorState.cursorId.isZero()&&!e.cmd.tailable&&!e.cmd.awaitData?h(e,t):void m(e,t)})}else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);if(e.cursorState.cursorIndex!=e.cursorState.documents.length||r.ZERO.equals(e.cursorState.cursorId)){if(e.cursorState.documents.length==e.cursorState.cursorIndex&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId))return c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData}));if(e.cursorState.documents.length==e.cursorState.cursorIndex&&r.ZERO.equals(e.cursorState.cursorId))d(e,t);else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);e.cursorState.currentLimit+=1;var i=e.cursorState.documents[e.cursorState.cursorIndex++];if(i.$err)return e.kill(),d(e,function(){c(t,new o(i.$err))});e.cursorState.transforms&&\"function\"==typeof e.cursorState.transforms.doc&&(i=e.cursorState.transforms.doc(i)),c(t,null,i)}}else{if(e.cursorState.documents=[],e.cursorState.cursorIndex=0,e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));if(u(e,t))return;e._getmore(function(n,i,a){return n&&43!=n.code?c(t,n):n&&43==n.code||0==e.cursorState.documents.length&&r.ZERO.equals(e.cursorState.cursorId)&&!e.cmd.tailable?(e.cursorState.dead=!0,d(e,t)):(e.connection=a,0==e.cursorState.documents.length&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId)?c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData})):0==e.cursorState.documents.length&&e.cmd.tailable&&!r.ZERO.equals(e.cursorState.cursorId)?m(e,t):e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit?d(e,t):void m(e,t))})}}}});s.prototype.next=function(e){m(this,e)},t.exports=s},{\"./connection/logger\":197,\"./error\":201,bson:59,util:void 0}],201:[function(e,t,n){\"use strict\";function r(e){this.name=\"MongoError\",this.message=e,Error.captureStackTrace(this,r)}r.create=function(e){var t=null;if(e instanceof Error)t=new r(e.message),t.stack=e.stack;else if(\"string\"==typeof e)t=new r(e);else{t=new r(e.message||e.errmsg||e.$err||\"n/a\");for(var n in e)t[n]=e[n]}return t},r.prototype=new Error,t.exports=r},{}],202:[function(e,t,n){\"use strict\";var r=(e(\"../connection/utils\").setProperty,e(\"../connection/utils\").getProperty,e(\"../connection/utils\").getSingleProperty,function(e,t){this.result=e,this.connection=t});r.prototype.toJSON=function(){return this.result},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.exports=r},{\"../connection/utils\":199}],203:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}function i(e,t){if(e.listeners(\"topologyDescriptionChanged\").length>0&&t){var t=t.s,n={topologyType:\"Sharded\",servers:[]};n.servers=n.servers.concat(t.connectedServers.map(function(e){var t=e.getDescription();return t.type=\"Mongos\",t})),n.servers=n.servers.concat(t.disconnectedServers.map(function(e){var t=e.getDescription();return t.type=\"Unknown\",t}));var r={topologyId:e.id,previousDescription:t.topologyDescription,newDescription:n};e.emit(\"topologyDescriptionChanged\",r),t.topologyDescription=n}}var o=e(\"util\").inherits,a=e(\"util\").format,s=e(\"bson\"),c=e(\"../connection/utils\").bindToCurrentDomain,u=e(\"events\").EventEmitter,p=e(\"../cursor\"),l=e(\"bson\")[\"native\"]().BSON,p=e(\"../cursor\"),f=e(\"./server\"),d=e(\"../auth/mongocr\"),h=e(\"../auth/x509\"),m=e(\"../auth/plain\"),v=e(\"../auth/gssapi\"),g=e(\"../auth/sspi\"),y=e(\"../auth/scram\"),b=e(\"../connection/logger\"),x=e(\"./read_preference\"),w=e(\"./session\"),_=e(\"../error\"),k=\"disconnected\",j=\"connecting\",S=\"connected\",E=\"destroyed\",O=[s.Long,s.ObjectID,s.Binary,s.Code,s.DBRef,s.Symbol,s.Double,s.Timestamp,s.MaxKey,s.MinKey],A=null,C=0,T=function(e){var t={};for(var n in e)t[n]=e[n];return t},I=function(e,t){this.s={connectedServers:[],disconnectedServers:[],readPreferenceStrategies:e,lowerBoundLatency:Number.MAX_VALUE,localThresholdMS:t,index:0,topologyDescription:null}};I.prototype.resetDescription=function(){this.s.topologyDescription={topologyType:\"Sharded\",servers:[]}},I.prototype.connected=function(e){this.s.disconnectedServers=this.s.disconnectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.connectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.connectedServers.push(e),this.s.lowerBoundLatency>e.s.isMasterLatencyMS&&(this.s.lowerBoundLatency=e.s.isMasterLatencyMS)},I.prototype.disconnected=function(e){this.s.connectedServers=this.s.connectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.disconnectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.disconnectedServers.push(e)},I.prototype.disconnectedServers=function(){return this.s.disconnectedServers.slice(0)},I.prototype.connectedServers=function(){return this.s.connectedServers.slice(0)},I.prototype.getAll=function(){return this.s.connectedServers.slice(0).concat(this.s.disconnectedServers)},I.prototype.getAllConnections=function(){var e=[];return this.s.connectedServers.forEach(function(t){e=e.concat(t.connections())}),e},I.prototype.unref=function(){for(var e=0;e<this.s.connectedServers.length;e++){var t=this.s.connectedServers[e];[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(e){t.removeAllListeners(e)}),t.unref()}},I.prototype.destroy=function(){for(;this.s.connectedServers.length>0;){var e=this.s.connectedServers.shift();[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy(),this.s.disconnectedServers.push(e)}};var P=function(e,t){t=t||{};var n=t.readPreference||x.primary,r=e.s.connectedServers.slice(0);if(null!=e.s.readPreferenceStrategies&&null!=e.s.readPreferenceStrategies[n]){var i=e.s.readPreferenceStrategies[n].pickServer(r,n);return i?[i]:[]}return r=e.s.connectedServers.filter(function(t){return t.s.isMasterLatencyMS<=e.s.lowerBoundLatency+e.s.localThresholdMS&&t.isConnected()?!0:void 0}),0==r.length&&e.s.connectedServers.length>0?(r=e.s.connectedServers.sort(function(e,t){return e.s.isMasterLatencyMS-t.s.isMasterLatencyMS}),[r[0]]):r};I.prototype.isConnected=function(e){var t=P(this,e);return t.length>0},I.prototype.pickServer=function(e){var t=P(this,{readPreference:e});if(0==t.length)throw new _(\"no mongos proxy available\");return this.s.index=(this.s.index+1)%t.length,t[this.s.index]};var F=function(e,t){var n=this;if(t=t||{},u.call(this),!Array.isArray(e))throw new _(\"seedlist must be an array\");if(0==e.length)throw new _(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new _(\"seedlist entry must contain a host and port\")}),A=null==A?new l(O):A;var r=t.bson?t.bson:A;t.bson=r,this.s={seedlist:e,options:t,logger:b(\"Mongos\",t),reconnectTries:t.reconnectTries||30,haInterval:t.haInterval||5e3,localThresholdMS:t.localThresholdMS||15,fullsetup:!1,Cursor:t.cursorFactory||p,credentials:[],bsonInstance:A,bson:r,pings:{},state:k,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,readPreferenceStrategies:{},authProviders:{},id:C++,authInProgress:!1,authInProgressServers:[],retriesLeft:t.reconnectTries||30,disconnectHandler:t.disconnectHandler},t.connectionTimeout=t.connectionTimeout||1e3,this.s.mongosState=new I(this.s.readPreferenceStrategies,this.s.localThresholdMS),this.addAuthProvider(\"mongocr\",new d),this.addAuthProvider(\"x509\",new h),this.addAuthProvider(\"plain\",new m),this.addAuthProvider(\"gssapi\",new v),this.addAuthProvider(\"sspi\",new g),this.addAuthProvider(\"scram-sha-1\",new y),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.mongosState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"mongos\"}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.mongosState}})};o(F,u),F.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},F.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new _(a(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(O)},F.prototype.lastIsMaster=function(){var e=this.s.mongosState.connectedServers();return e.length>0?e[0].lastIsMaster():null},F.prototype.connect=function(e){var t=this;if(setTimeout(M(t,t.s),t.s.haInterval),e)for(var n in e)t.s.options[n]=e[n];t.s.seedlist.forEach(function(e){var n=T(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.authProviders=t.s.authProviders,n.emitError=!0,n.inTopology=!0,n.topologyId=t.s.id,n.monitoring=!0,t.s.mongosState.disconnected(new f(n))}),this.s.mongosState.resetDescription(),r(this,\"topologyOpening\",{topologyId:this.s.id});var i=t.s.mongosState.disconnectedServers();for(this.s.state=j;i.length>0;){var o=i.shift();[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){o.removeAllListeners(e)}),o.once(\"error\",z(t,t.s,o)),o.once(\"close\",z(t,t.s,o)),o.once(\"timeout\",z(t,t.s,o)),o.once(\"parseError\",z(t,t.s,o)),o.once(\"connect\",q(t,t.s,\"connect\")),o.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),o.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),o.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),o.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),o.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),o.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)}),t.s.logger.isInfo()&&t.s.logger.info(a(\"connecting to server %s\",o.name));var s=function(e){process.nextTick(function(){e.connect()})};s(o)}},F.prototype.unref=function(e){this.s.logger.isInfo()&&this.s.logger.info(a(\"[%s] unreferenced\",this.s.id)),e&&this.listeners(\"close\").length>0&&this.emit(\"close\",this),this.s.mongosState.unref()},F.prototype.destroy=function(e){this.s.state=E,r(this,\"topologyClosed\",{topologyId:this.s.id}),e&&self.listeners(\"close\").length>0&&self.emit(\"close\",self),this.s.mongosState.destroy()},F.prototype.isConnected=function(e){return this.s.mongosState.isConnected(e)},F.prototype.isDestroyed=function(){return this.s.state==E},F.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),\nthis.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"insert\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},F.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"update\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},F.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"remove\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},F.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.state==E)return r(new _(a(\"topology was destroyed\")));var i=this;if(!i.isConnected()&&null!=i.s.disconnectHandler)return r=c(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);var o=null;if(n=n||{},!n.onAll){try{o=i.s.mongosState.pickServer(n.writeConcern?x.primary:n.readPreference)}catch(s){return r(s)}return null==o?r(new _(\"no mongos found\")):void o.command(e,t,n,function(n,o){t.logout&&L(i.s,e),r(n,o)})}for(var u=i.s.mongosState.getAll(),p=u.length,l=0;l<u.length;l++)u[l].command(e,t,n,function(n,o){p-=1,0==p&&(t.logout&&L(i.s,e),r(n,o))})},F.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)},F.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new _(a(\"auth provider %s does not exist\",e));var o=this.s.mongosState.connectedServers().slice(0),s=o.length,c=!0,u=null;for(this.s.authInProgress=!0;o.length>0;){var p=o.shift(),l=[e,t].concat(r.slice(0)),f=l.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&R(n.s,t,l),u)return i(u,!1);i(null,new w({},n))}}]);p.auth.apply(p,f)}},F.prototype.addReadPreferenceStrategy=function(e,t){null==this.s.readPreferenceStrategies&&(this.s.readPreferenceStrategies={}),this.s.readPreferenceStrategies[e]=t},F.prototype.addAuthProvider=function(e,t){this.s.authProviders[e]=t},F.prototype.getConnection=function(e){e=e||{};var t=this.s.mongosState.pickServer(e.readPreference);return null==t?null:t.getConnection()},F.prototype.getServer=function(e){return e=e||{},this.s.mongosState.pickServer(e.readPreference)},F.prototype.connections=function(){return this.s.mongosState.getAllConnections()};var M=function(e,t){return function(){if(t.state!=E){if(t.state==S&&(t.retriesLeft=t.reconnectTries),t.state==k&&0==t.retriesLeft)return e.destroy(),e.emit(\"error\",new _(a(\"failed to reconnect after %s\",t.reconnectTries)));t.state==k&&(t.retriesLeft=t.retriesLeft-1),t.mongosState.isConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess running\"));var n=t.mongosState.disconnectedServers();if(0==n.length)return setTimeout(M(e,t),t.haInterval);var r=n.length;for(t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess found %d disconnected proxies\",r));n.length>0;){var i=function(n){setTimeout(function(){[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"error\",z(e,t,o)),n.once(\"close\",z(e,t,o)),n.once(\"timeout\",z(e,t,o)),n.once(\"connect\",q(e,t,\"ha\")),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}),n.connect()},1)},o=n.shift();t.logger.isDebug()&&t.logger.debug(a(\"attempting to connect to server %s\",o.name)),i(o)}return setTimeout(M(e,t),t.options.connectionTimeout+t.haInterval)}}},z=function(e,t,n){return function(e,n){t.logger.isInfo()&&t.logger.info(a(\"server %s disconnected with error %s\",n.name,JSON.stringify(e))),t.mongosState.disconnected(n);var r=[\"error\",\"close\",\"timeout\",\"connect\"];r.forEach(function(e){n.removeAllListeners(e)})}},B=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s errored out with %s\",r.name,JSON.stringify(n))),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r),t.emitError&&e.emit(\"error\",n,r)}},N=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s timed out\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},D=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s closed\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},q=function(e,t,n){return function(r){t.logger.isInfo()&&t.logger.info(a(\"connected to %s\",r.name)),[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\"].forEach(function(e){r.removeAllListeners(e)});var o=function(r){r.isConnected()&&(r.once(\"error\",B(e,t)),r.once(\"close\",D(e,t)),r.once(\"timeout\",N(e,t)),r.once(\"parseError\",N(e,t))),e.emit(\"joined\",\"mongos\",r),t.mongosState.connected(r),\"ha\"==n&&1==t.mongosState.connectedServers().length&&e.emit(\"reconnect\",r),0==t.mongosState.disconnectedServers().length&&t.mongosState.connectedServers().length>0&&!t.fullsetup&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)),0!=t.mongosState.disconnectedServers().length||t.mongosState.connectedServers().length!=t.seedlist.length||t.all||(t.all=!0,e.emit(\"all\",e)),i(e,t.mongosState),t.state==k?(t.state=S,e.emit(\"reconnect\",e)):t.state==j&&(t.state=S,e.emit(\"connect\",e))};if(t.authInProgress&&t.authInProgressServers.push(r),0==t.credentials.length)return o(r);for(var s=t.credentials.length,c=0;c<t.credentials.length;c++)r.auth.apply(r,t.credentials[c].concat([function(e,t){s-=1,0==s&&o(r)}]))}},R=function(e,t,n){L(e,t+\".dummy\"),e.credentials.push(n)},L=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},$=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=e.mongosState.pickServer()}catch(s){return o(s)}return null==a?o(new _(\"no mongos found\")):void a[t](n,r,i,o)};t.exports=F},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./server\":207,\"./session\":208,bson:59,events:void 0,util:void 0}],204:[function(e,t,n){\"use strict\";var r=[\"primaryPreferred\",\"secondary\",\"secondaryPreferred\",\"nearest\"],i=function(e,t,n){this.preference=e,this.tags=t,this.options=n};i.prototype.slaveOk=function(){return-1!=r.indexOf(this.preference)},i.prototype.equals=function(e){return e.preference==this.preference},i.prototype.toJSON=function(){var e={mode:this.preference};return Array.isArray(this.tags)&&(e.tags=this.tags),e},i.primary=new i(\"primary\"),i.primaryPreferred=new i(\"primaryPreferred\"),i.secondary=new i(\"secondary\"),i.secondaryPreferred=new i(\"secondaryPreferred\"),i.nearest=new i(\"nearest\"),t.exports=i},{}],205:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"bson\"),s=e(\"../connection/utils\").bindToCurrentDomain,c=(e(\"../connection/utils\").debugOptions,e(\"events\").EventEmitter),u=e(\"./server\"),p=e(\"./read_preference\"),l=e(\"../error\"),f=e(\"./strategies/ping\"),d=e(\"./session\"),h=e(\"../cursor\"),m=e(\"bson\")[\"native\"]().BSON,v=e(\"./replset_state\"),g=e(\"../auth/mongocr\"),y=e(\"../auth/x509\"),b=e(\"../auth/plain\"),x=e(\"../auth/gssapi\"),w=e(\"../auth/sspi\"),_=e(\"../auth/scram\"),k=e(\"../connection/logger\"),j=\"connecting\",S=\"connected\",E=\"destroyed\",O=1,A=function(e){var t={};for(var n in e)t[n]=e[n];return t},C=[a.Long,a.ObjectID,a.Binary,a.Code,a.DBRef,a.Symbol,a.Double,a.Timestamp,a.MaxKey,a.MinKey],T=null,I=function(e,t){var n=this;if(t=t||{},t=A(t),!Array.isArray(e))throw new l(\"seedlist must be an array\");if(0==e.length)throw new l(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new l(\"seedlist entry must contain a host and port\")}),c.call(this),T=null==T?new m(C):T,this.s={options:t,logger:k(\"ReplSet\",t),id:O++,index:0,haId:0,credentials:[],Cursor:t.cursorFactory||h,bsonInstance:T,bson:t.bson?t.bson:T,secondaryOnlyConnectionAllowed:\"boolean\"==typeof t.secondaryOnlyConnectionAllowed?t.secondaryOnlyConnectionAllowed:!1,haInterval:t.haInterval||1e4,currentHaInterval:t.haInterval||1e4,debug:\"boolean\"==typeof t.debug?t.debug:!1,setName:t.setName,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,tag:t.tag,disconnectHandler:t.disconnectHandler,readPreferenceStrategies:{},authProviders:{},disconnectedServers:[],initialConnectionServers:[],highAvailabilityProcessRunning:!1,fullsetup:!1,all:!1,seedlist:e,authInProgress:!1,authInProgressServers:[],minHeartbeatFrequencyMS:500,haTimer:null},t.bson=this.s.bson,t.connectionTimeout=t.connectionTimeout||1e4;var r=new v(this,{id:this.s.id,setName:this.s.setName,secondaryOnlyConnectionAllowed:this.s.secondaryOnlyConnectionAllowed});this.s.replState=r,this.addAuthProvider(\"mongocr\",new g),this.addAuthProvider(\"x509\",new y),this.addAuthProvider(\"plain\",new b),this.addAuthProvider(\"gssapi\",new x),this.addAuthProvider(\"sspi\",new w),this.addAuthProvider(\"scram-sha-1\",new _),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.replState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.replState}}),n.s.debug&&Object.defineProperty(this,\"readPreferenceStrategies\",{enumerable:!0,get:function(){return n.s.readPreferenceStrategies}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"replset\"}}),this.addReadPreferenceStrategy(\"nearest\",new f(t))};i(I,c),I.prototype.addReadPreferenceStrategy=function(e,t){this.s.readPreferenceStrategies[e]=t},I.prototype.addAuthProvider=function(e,t){null==this.s.authProviders&&(this.s.authProviders={}),this.s.authProviders[e]=t},I.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},I.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new l(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(C)},I.prototype.lastIsMaster=function(){return this.s.replState.lastIsMaster()},I.prototype.getConnection=function(e){e=e||{};var t=q(this,this.s,e.readPreference);return null==t?null:t.getConnection()},I.prototype.connections=function(){return this.s.replState.getAllConnections({includeArbiters:!0})},I.prototype.getServer=function(e){return e=e||{},q(this,this.s,e.readPreference)},I.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)};var P=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=q(e,e.s,p.primary),e.s.debug&&e.emit(\"pickedServer\",p.primary,a)}catch(s){return o(s)}if(null==a)return o(new l(\"no server found\"));var c=function(t,n){!Q(n)&&!Q(t)||e.s.highAvailabilityProcessRunning||(e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,$(e,e.s,!0)()),o(t,n)};o.operationId&&(c.operationId=o.operationId),a[t](n,r,i,c)};I.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E)return r(new l(o(\"topology was destroyed\")));var i=null,a=this;if(n=n||{},!this.isConnected(n)&&null!=this.s.disconnectHandler)return r=s(r),this.s.disconnectHandler.add(\"command\",e,t,n,r);if(!n.onAll){try{i=q(a,a.s,n.writeConcern?p.primary:n.readPreference),a.s.debug&&a.emit(\"pickedServer\",n.writeConcern?p.primary:n.readPreference,i)}catch(c){return r(c)}return null==i?r(new l(\"no server found\")):void i.command(e,t,n,function(n,i){t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i)})}for(var u=this.s.replState.getAll(),f=u.length,d=0;d<u.length;d++)u[d].command(e,t,n,function(n,i){f-=1,0==f&&(t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i))})},I.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"remove\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},I.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"insert\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},I.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"update\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},I.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new l(o(\"auth provider %s does not exist\",e));var a=this.s.replState.getAll().slice(0),s=a.length,c=!0,u=null;for(this.s.authInProgress=!0;a.length>0;){var p=a.shift(),f=[e,t].concat(r.slice(0)),h=f.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&M(n.s,t,f),u)return i(u,!1);i(null,new d({},n))}}]);p.auth.apply(p,h)}},I.prototype.state=function(){return this.s.replState.state};var F=function(e){return function(e,t){e.arbiterOnly?t.s.options.size=1:e.hidden&&(t.s.options.size=1)}};I.prototype.connect=function(e){var t=this;if(R(t,t.s),e)for(var n in e)this.s.options[n]=e[n];for(this.s.replState.state=j,this.s.fullsetup=!1,this.s.replState.resetDescription(),this.s.seedlist.forEach(function(e){var n=A(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.emitError=!0,n.size=n.size+1,n.monitoring=!0,n.topologyId=t.s.id,n.inTopology=!0,t.s.tag&&(n.tag=t.s.tag),n.authProviders=t.s.authProviders;var r=new u(n);r.on(\"ismaster\",F(t)),t.s.disconnectedServers.push(r),t.s.initialConnectionServers.push(r)}),r(this,\"topologyOpening\",{topologyId:this.s.id});this.s.disconnectedServers.length>0;){var i=t.s.disconnectedServers.shift();i.destroy(),i.once(\"error\",U(t,t.s,\"error\")),i.once(\"close\",U(t,t.s,\"close\")),i.once(\"timeout\",U(t,t.s,\"timeout\")),i.once(\"connect\",H(t,t.s)),i.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),i.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),i.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),i.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),i.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),i.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)});var o=function(e){process.nextTick(function(){e.connect()})};o(i)}},I.prototype.isConnected=function(e){return e=e||{},e.readPreference&&e.readPreference.equals(p.secondary)?this.s.replState.isSecondaryConnected():e.readPreference&&e.readPreference.equals(p.primary)?this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.primaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.secondaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():this.s.secondaryOnlyConnectionAllowed&&this.s.replState.isSecondaryConnected()?!0:this.s.replState.isPrimaryConnected()},I.prototype.isDestroyed=function(){return this.s.replState.state==E},I.prototype.unref=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] unreferenced\",this.s.id)),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.unref();var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)},I.prototype.destroy=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] destroyed\",this.s.id)),this.s.replState.state=E,t.s.haTimer&&clearTimeout(t.s.haTimer),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.destroy(),r(this,\"topologyClosed\",{topologyId:this.s.id});var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)};var M=function(e,t,n){z(e,t+\".dummy\"),e.credentials.push(n)},z=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},B=function(e,t){if(null==e.tags)return t;for(var n=[],r=Array.isArray(e.tags)?o:[o],i=0;i<r.length;i++){for(var o=r[i],a=0;a<t.length;a++){var s=t[a].lastIsMaster().tags||{},c=!0;for(var u in o)s[u]!=o[u]&&(c=!1);c&&n.push(t[a])}if(c)break}return n},N={fullsetup:function(e,t){t.replState.primary&&0!==t.replState.secondaries.length&&(t.fullsetup||e.listeners(\"fullsetup\").length>0&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)))},all:function(e,t){if(t.replState.primary&&e.lastIsMaster()&&Array.isArray(e.lastIsMaster().hosts)&&!t.all){var n=1+t.replState.secondaries.length;n===e.lastIsMaster().hosts.length&&e.listeners(\"all\").length>0&&(t.all=!0,e.emit(\"all\",e))}}},D=function(e,t,n){var r=N[n];if(!r)throw new l(n+\" event not implemented\");r(e,t)},q=function(e,t,n){if(n=n||p.primary,null!=t.readPreferenceStrategies&&null!=t.readPreferenceStrategies[n.preference]){if(null==t.readPreferenceStrategies[n.preference])throw new l(o(\"cannot locate read preference handler for %s\",n.preference));var r=t.readPreferenceStrategies[n.preference].pickServer(t.replState,n);return t.debug&&e.emit(\"pickedServer\",n,r),r}var i=t.replState.getSecondaries();if(n.equals(p.secondary)&&0==i.length)throw new l(\"no secondary server available\");if(n.equals(p.secondaryPreferred)&&0==i.length&&null==t.replState.primary)throw new l(\"no secondary or primary server available\");if(n.equals(p.primary)&&null==t.replState.primary)throw new l(\"no primary server available\");if(n.equals(p.secondary))return t.index=(t.index+1)%i.length,i[t.index];if(n.equals(p.secondaryPreferred)){if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index]}return t.replState.primary}if(n.equals(p.primaryPreferred)){if(t.replState.primary)return t.replState.primary;if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index];throw new l(\"no secondary or primary server available\")}}return t.replState.primary},R=function(e,t){return t.highAvailabilityProcessRunning?void 0:(e.s.haTimer=setTimeout($(e,t,!1),t.currentHaInterval),e.s.haTimer)},L=function(e){return 0!=e.disconnectedServers.length||0!=e.replState.secondaries.length||0!=e.replState.arbiters.length||null!=e.replState.primary},$=function(e,t,n){return function(){if(!t.highAvailabilityProcessRunning&&t.replState.state!=E){t.replState.isPrimaryConnected()?e.s.currentHaInterval=e.s.haInterval:e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,t.replState.clearConnectingServers(),t.replState.clean(),t.highAvailabilityProcessRunning=!0,L(t)||(t.disconnectedServers=t.seedlist.map(function(n){var r=A(t.options);r.host=n.host,r.port=n.port,r.reconnect=!1,r.readPreferenceStrategies=t.readPreferenceStrategies,r.emitError=!0,r.size=r.size+1,r.monitoring=!0,r.topologyId=e.s.id,r.inTopology=!0,t.tag&&(r.tag=t.tag),r.authProviders=t.authProviders;var i=new u(r);return i.on(\"ismaster\",F(e)),i})),t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring process running %s\",t.id,JSON.stringify(t.replState)));var r=t.haId++;for(n=\"boolean\"==typeof n?n:!1,t.replState.isPrimaryConnected()&&t.replState.isSecondaryConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),e.emit(\"ha\",\"start\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}});t.disconnectedServers.length>0;){var i=t.disconnectedServers.shift();t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring attempting to connect to %s\",t.id,i.lastIsMaster()?i.lastIsMaster().me:i.name)),i.once(\"error\",U(e,t,\"error\")),i.once(\"close\",U(e,t,\"close\")),i.once(\"timeout\",U(e,t,\"timeout\")),i.once(\"connect\",H(e,t)),i.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),i.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),i.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),i.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),i.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),i.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var a=function(e){process.nextTick(function(){e.connect()})};a(i)}var s=t.replState.getAll({includeArbiters:!0}),c=s.length;if(0==s.length&&t.replState.state==S)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,void(n||R(e,t));var p=function(i,a){return t.replState.state!=E?i&&!i.isConnected()?a():void(i&&i.isConnected()&&i.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(s,u){if(t.replState.state==E)return a();if(c-=1,s&&c>0)return a();if(s&&0==c)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a();var p=Object.keys(t.readPreferenceStrategies).length,l=u.result;if(t.logger.isDebug()&&t.logger.debug(o(\"[%s] monitoring process ismaster %s\",t.id,JSON.stringify(l))),i.s.ismaster=l,!t.replState.update(l,i)&&!t.replState.contains(i))return i.destroy(),a();if(null!=s||!l.ismaster&&t.primary||!Array.isArray(l.hosts)){if(null==s&&!Array.isArray(l.hosts))return i.destroy(),a()}else{var f=l.hosts;Array.isArray(l.arbiters)&&(f=f.concat(l.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(l.passives)&&(f=f.concat(l.passives)),V(e,t,f)}if(0==p)return c>0?a():(e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a());if(0==c)for(var d in t.readPreferenceStrategies)t.readPreferenceStrategies[d].ha(e,t.replState,function(){return p-=1,0==p?(null==s&&l.ismaster&&Array.isArray(l.hosts)&&V(e,t,l.hosts),e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a()):void 0});a()})):void 0};0==s.length&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t));for(var l=s.length,f=0;f<s.length;f++)p(s[f],function(){l-=1,0==l&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t))})}}},U=function(e,t,n){return function(n,r){return r.destroy(),t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s disconnected\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name)),t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return r.name!=e.name}),t.replState.removeConnectingServer(r.name),t.replState.state!=E?([\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){r.removeAllListeners(e)}),K(t.disconnectedServers,r),0==t.initialConnectionServers&&t.replState.state==j&&(t.secondaryOnlyConnectionAllowed&&!t.replState.isSecondaryConnected()&&!t.replState.isPrimaryConnected()||!t.secondaryOnlyConnectionAllowed&&!t.replState.isPrimaryConnected())&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0)?e.emit(\"error\",new l(\"no valid seed servers in list\")):void(t.disconnectedServers.length==t.seedlist.length&&t.replState.state==j&&t.emitError&&e.listeners(\"error\").length>0&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0&&e.emit(\"error\",new l(\"no valid seed servers in list\"))))):void 0}},H=function(e,t){return function(n){if(t.logger.isInfo()&&t.logger.info(o(\"[%s] connected to %s\",t.id,n.name)),t.replState.state==E)return n.destroy(!1,!1);t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return n.name!=e.name});var r=(n.lastIsMaster(),function(){var r=n.lastIsMaster(),i=[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];if(i.forEach(function(e){n.removeAllListeners(e)}),t.replState.removeConnectingServer(n.name),t.replState.update(r,n)||t.replState.contains(n)){n.isConnected()&&(n.on(\"error\",G(e,t)),n.on(\"close\",Z(e,t)),n.on(\"timeout\",J(e,t)),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}));var a=r.hosts;if(Array.isArray(r.arbiters)&&(a=a.concat(r.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(r.passives)&&(a=a.concat(r.passives)),V(e,t,a),0==t.initialConnectionServers.length&&0==t.replState.connectingServersCount()&&!t.replState.isPrimaryConnected()&&!t.secondaryOnlyConnectionAllowed&&t.replState.state==j)return t.logger.isInfo()&&t.logger.info(o(\"[%s] no primary found in replicaset\",t.id)),e.emit(\"error\",new l(\"no primary found in replicaset\")),e.destroy();D(e,t,\"fullsetup\"),D(e,t,\"all\")}else if(n.destroy(),t.state==j&&0==t.initialConnectionServers.length&&null==t.replState.primary&&0==t.replState.secondaries.length)return e.emit(\"error\",new l(\"no replicaset members found in seedlist\"))});if(e.s.authInProgress&&e.s.authInProgressServers.push(n),0==t.credentials.length)return r();var i=function(e,t,n,r){return t>=n.length||0==n.length?r():void e.auth.apply(e,n[t].concat([function(o,a){return o?r(o):void i(e,t+1,n,r)}]))};i(n,0,t.credentials,function(e){return e?n.destroy():void r()})}},V=function(e,t,n){if(t.replState.state!=E&&Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r],a={};\"object\"==typeof i&&(i=i.host,a.arbiter=i.arbiter),t.replState.contains(i)||t.replState.isConnectingServer(i)||W(e,t,i)||(t.logger.isInfo()&&t.logger.info(o(\"[%s] scheduled server %s for connection\",t.id,i)),t.replState.addConnectingServer(i,i),Y(e,t,i.split(\":\")[0],parseInt(i.split(\":\")[1],10),a))}},W=function(e,t,n){for(var r=0;r<t.initialConnectionServers.length;r++)if(t.initialConnectionServers[r].name==n)return!0;return!1},Y=function(e,t,n,r,i){i=i||{};var o=A(t.options);if(o.host=n,o.port=r,o.reconnect=!1,o.readPreferenceStrategies=t.readPreferenceStrategies,t.tag&&(o.tag=t.tag),o.authProviders=t.authProviders,o.emitError=!0,o.inTopology=!0,o.size=o.size+1,o.monitoring=!0,o.topologyId=e.s.id,i.arbiter&&(o.size=1),e.s.replState.state!=E){var a=new u(o);a.on(\"ismaster\",F(e)),a.once(\"error\",U(e,t,\"error\")),a.once(\"close\",U(e,t,\"close\")),a.once(\"timeout\",U(e,t,\"timeout\")),a.once(\"connect\",H(e,t)),a.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),a.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),a.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),a.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),a.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),a.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var s=function(t){process.nextTick(function(){e.s.replState.state!=E&&t.connect()})};t.replState.addConnectingServer(a.name,n),s(a)}},K=function(e,t){var n=!1;if(null==t)return n;[\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){t.removeAllListeners(e)});for(var r=0;r<e.length;r++)e[r].equals(t)&&(n=!0);return n||e.push(t),n},G=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s errored out with %s\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name,JSON.stringify(n)));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r),i&&t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,r)}}},J=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s timed out\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Z=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s closed\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Q=function(e){var t=e&&e.result?e.result:e;return!(!t||!(\"not master\"==t.err||\"not master\"==t.errmsg||t.$err&&-1!=t.$err.indexOf(\"not master or secondary\")||t.$err&&-1!=t.$err.indexOf(\"not master and slaveOk=false\")||\"node is recovering\"==t.errmsg))};t.exports=I},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./replset_state\":206,\"./server\":207,\"./session\":208,\"./strategies/ping\":209,bson:59,events:void 0,util:void 0}],206:[function(e,t,n){(function(n){\"use strict\";function r(e,t){for(var n={servers:[]},r=0;r<e.servers.length;r++)for(var i=e.servers[r],o=0;o<t.servers.length;o++){var a=t.servers[o];i.address===a.address&&i.type!=a.type&&n.servers.push({address:i.address,from:i.type,to:a.type})}return n}function i(e){if(e.replSet.listeners(\"topologyDescriptionChanged\").length>0){var t=\"Unknown\",n=e.setName;e.isPrimaryConnected()&&e.isSecondaryConnected()?t=\"ReplicaSetWithPrimary\":!e.isPrimaryConnected()&&e.isSecondaryConnected()&&(t=\"ReplicaSetNoPrimary\");var i={topologyType:t,setName:n,servers:[]};if(e.isPrimaryConnected()){var o=e.primary.getDescription();o.type=\"RSPrimary\",i.servers.push(o)}i.servers=i.servers.concat(e.secondaries.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",t})),i.servers=i.servers.concat(e.arbiters.map(function(e){var t=e.getDescription();return t})),i.servers=i.servers.concat(e.passives.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",\nt}));var a={topologyId:e.id,previousDescription:e.replicasetDescription,newDescription:i,diff:r(e.replicasetDescription,i)};e.replSet.emit(\"topologyDescriptionChanged\",a),e.replicasetDescription=i}}var o=e(\"../connection/logger\"),a=e(\"util\").format,s=e(\"bson\").ObjectId,c=e(\"../error\"),u=\"disconnected\",p=\"connecting\",l=\"connected\",f=\"destroyed\",d=function(e,t){this.replSet=e,this.options=t,this.secondaries=[],this.arbiters=[],this.passives=[],this.primary=null,this.state=u,this.electionId=null,this.logger=o(\"ReplSet\",t),this.id=t.id,this.setName=t.setName,this.connectingServers={},this.secondaryOnlyConnectionAllowed=t.secondaryOnlyConnectionAllowed,this.replicasetDescription=null};d.prototype.resetDescription=function(){this.replicasetDescription={topologyType:\"Unknown\",servers:[]}},d.prototype.isSecondaryConnected=function(){for(var e=0;e<this.secondaries.length;e++)if(this.secondaries[e].isConnected())return!0;return!1},d.prototype.isPrimaryConnected=function(){return null!=this.primary&&this.primary.isConnected()},d.prototype.isPrimary=function(e){return null==this.primary?!1:this.primary&&this.primary.equals(e)},d.prototype.isSecondary=function(e){for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;return!1},d.prototype.isPassive=function(e){for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.clearConnectingServers=function(){for(var e in this.connectingServers)\"function\"==typeof this.connectingServers[e].destroy&&this.connectingServers[e].destroy();this.connectingServers={}},d.prototype.removeConnectingServer=function(e){this.connectingServers[e]&&this.connectingServers[e].destroy&&this.connectingServers[e].destroy(),delete this.connectingServers[e]},d.prototype.addConnectingServer=function(e,t){this.connectingServers[e]=t},d.prototype.isConnectingServer=function(e){return null!=this.connectingServers[e]},d.prototype.connectingServersCount=function(){return Object.keys(this.connectingServers).length},d.prototype.contains=function(e){if(this.primary&&this.primary.equals(e))return!0;for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;for(var t=0;t<this.arbiters.length;t++)if(this.arbiters[t].equals(e))return!0;for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.getSecondaries=function(){return this.secondaries=this.secondaries.filter(function(e){return e.isConnected()}),this.secondaries.filter(function(e){return!e.lastIsMaster().hidden})},d.prototype.clean=function(){var e=[];return null==this.primary||this.primary.isConnected()||(e.push(this.primary),this.primary=null),this.secondaries=this.secondaries.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.arbiters=this.arbiters.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.passives=this.passives.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),e},d.prototype.unref=function(){this.primary&&this.primary.unref(),this.secondaries.forEach(function(e){e.unref()}),this.arbiters.forEach(function(e){e.unref()})};var h=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"],m=function(e){h.forEach(function(t){e.removeAllListeners(t)})};d.prototype.destroy=function(){this.state=f,this.primary&&(this.primary.destroy(),m(this.primary)),this.secondaries.forEach(function(e){e.destroy(),m(e)}),this.arbiters.forEach(function(e){e.destroy(),m(e)})},d.prototype.remove=function(e){this.primary&&this.primary.equals(e)&&(this.primary=null);var t=this.arbiters.length;if(this.arbiters=this.arbiters.filter(function(t){return!t.equals(e)}),this.arbiters.length<t)return\"arbiter\";var t=this.passives.length;this.passives=this.passives.filter(function(t){return!t.equals(e)}),this.passives.length<t&&(this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)})),this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)});var n=e.lastIsMaster();return n.ismaster&&n.hosts?\"primary\":n.ismaster?\"secondary\":n.secondary?\"secondary\":n.passive?\"passive\":\"arbiter\"},d.prototype.get=function(e){var t=this.primary?[this.primary]:[];t=t.concat(this.secondaries);for(var n=0;n<t.length;n++)if(t[n].equals(e))return t[n]},d.prototype.getAll=function(e){e=e||{};var t=[];return this.primary&&t.push(this.primary),t=t.concat(this.secondaries),e.includeArbiters&&(t=t.concat(this.arbiters)),t},d.prototype.getAllConnections=function(e){e=e||{};var t=[];return this.primary&&(t=t.concat(this.primary.connections())),this.secondaries.forEach(function(e){t=t.concat(e.connections())}),e.includeArbiters&&this.arbiters.forEach(function(e){t=t.concat(e.connections())}),t},d.prototype.toJSON=function(){return{primary:this.primary?this.primary.lastIsMaster().me:null,secondaries:this.secondaries.map(function(e){return e.lastIsMaster().me})}},d.prototype.lastIsMaster=function(){return this.primary?this.primary.lastIsMaster():this.secondaries.length>0?this.secondaries[0].lastIsMaster():{}},d.prototype.promotePrimary=function(e){var t=this.get(e);return null==t?void(this.primary=e):(this.remove(t),void(this.primary=t))};var v=function(e,t,n){for(var r=0;r<t.length;r++)if(t[r].equals(n))return!1;return t.push(n),!0};d.prototype.addSecondary=function(e){return v(this,this.secondaries,e)},d.prototype.addArbiter=function(e){return v(this,this.arbiters,e)},d.prototype.addPassive=function(e){return v(this,this.passives,e)};var g=function(e,t){var r=new n(e.toHexString(),\"hex\"),i=new n(t.toHexString(),\"hex\");if(r===i)return 0;if(\"function\"==typeof n.compare)return n.compare(r,i);for(var o=r.length,a=i.length,s=Math.min(o,a),c=0;s>c&&r[c]===i[c];c++);return c!==s&&(o=r[c],a=i[c]),a>o?-1:o>a?1:0};d.prototype.update=function(e,t){var n=this;if(this.clean(),!e.ismaster&&!e.secondary&&!e.arbiterOnly||!Array.isArray(e.hosts)){var r=n.remove(t);return n.state==l&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] removing %s from set\",n.id,e.me)),n.replSet.emit(\"left\",r,t)),i(this),!1}if(null==n.setName&&e.setName&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] setting setName to %s\",n.id,e.setName)),n.setName=e.setName),e.setName&&n.setName!=e.setName)return n.logger.isError()&&n.logger.error(a(\"[%s] server in replset %s is not part of the specified setName %s\",n.id,e.setName,n.setName)),n.remove(t),n.replSet.emit(\"error\",new c(\"provided setName for Replicaset Connection does not match setName found in server seedlist\")),i(this),!1;if(n.logger.isInfo()&&n.logger.info(a(\"[%s] updating replicaset state %s\",n.id,JSON.stringify(this))),e.ismaster&&n.setName==e.setName&&!n.isPrimary(e.me)){if(e.electionId instanceof s&&n.electionId instanceof s)if(-1==g(n.electionId,e.electionId))n.electionId=e.electionId;else{if(0!=g(n.electionId,e.electionId))return!1;n.electionId=e.electionId}e.electionId instanceof s&&null==n.electionId&&(n.electionId=e.electionId),n.promotePrimary(t),n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to primary\",n.id,e.me)),n.replSet.emit(\"joined\",\"primary\",this.primary),i(this),n.state==p?(n.state=l,n.replSet.emit(\"connect\",n.replSet)):(n.state=l,n.replSet.emit(\"reconnect\",t))}else{if(!e.ismaster&&n.setName==e.setName&&e.arbiterOnly)return n.addArbiter(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to arbiter\",n.id,e.me)),n.replSet.emit(\"joined\",\"arbiter\",t),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary&&e.passive)return n.addPassive(t)&&n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to passive\",n.id,e.me)),n.replSet.emit(\"joined\",\"passive\",t),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary)return n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to secondary\",n.id,e.me)),n.replSet.emit(\"joined\",\"secondary\",t),n.primary&&n.primary.name==t.name&&(n.primary=null),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1}return!0},t.exports=d}).call(this,e(\"buffer\").Buffer)},{\"../connection/logger\":197,\"../error\":201,bson:59,buffer:void 0,util:void 0}],207:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"../connection/utils\").bindToCurrentDomain,s=e(\"events\").EventEmitter,c=e(\"../connection/pool\"),u=e(\"bson\"),p=e(\"crypto\"),l=e(\"../connection/commands\").Query,f=e(\"../error\"),d=e(\"./read_preference\"),h=e(\"../cursor\"),m=e(\"./command_result\"),v=e(\"../connection/utils\").getSingleProperty,g=e(\"../connection/utils\").getProperty,y=e(\"../connection/utils\").debugOptions,b=e(\"bson\")[\"native\"]().BSON,x=e(\"../wireprotocol/2_4_support\"),w=e(\"../wireprotocol/2_6_support\"),_=e(\"../wireprotocol/3_2_support\"),k=e(\"./session\"),j=e(\"../connection/logger\"),S=e(\"../auth/mongocr\"),E=e(\"../auth/x509\"),O=e(\"../auth/plain\"),A=e(\"../auth/gssapi\"),C=e(\"../auth/sspi\"),T=e(\"../auth/scram\"),I=[u.Long,u.ObjectID,u.Binary,u.Code,u.DBRef,u.Symbol,u.Double,u.Timestamp,u.MaxKey,u.MinKey],P=null,F=0,M=0,z=function(){this.callbacks={},this.id=M++,this.type=\"server\"};z.prototype.flush=function(e){for(var t in this.callbacks)if(!isNaN(parseInt(t,10))){var n=this.callbacks[t];delete this.callbacks[t],n(e,null)}},z.prototype.flushConnection=function(e,t){for(var n in this.callbacks)if(!isNaN(parseInt(n,10))){var r=this.callbacks[n];r.connection&&r.connection.id===t.id?(delete this.callbacks[n],r(e,null)):!r.connection&&r.monitoring&&(delete this.callbacks[n],r(e,null))}},z.prototype.callback=function(e){return this.callbacks[e]},z.prototype.emit=function(e,t,n){var r=this.callbacks[e];delete this.callbacks[e],r(t,n)},z.prototype.raw=function(e){return null==this.callbacks[e]?!1:1==this.callbacks[e].raw},z.prototype.documentsReturnedIn=function(e){return null==this.callbacks[e]?!1:\"string\"==typeof this.callbacks[e].documentsReturnedIn?this.callbacks[e].documentsReturnedIn:null},z.prototype.unregister=function(e){delete this.callbacks[e]},z.prototype.register=function(e,t){this.callbacks[e]=a(t)};var B=\"disconnected\",N=\"connecting\",D=\"connected\",q=\"destroyed\",R=function(e){return e.ismaster&&\"number\"==typeof e.ismaster.minWireVersion},L=function(e){return e&&e.maxWireVersion>=4?new _(new w):e&&e.maxWireVersion>=2?new w:new x},$=function(e,t){if(e&&t&&t.callbacks&&t.callbacks.flush(new f(o(\"server %s received a broken socket pipe error\",e.name))),0==t.currentReconnectRetry)return e.destroy(!0,!0);t.currentReconnectRetry=t.currentReconnectRetry-1,t.state=N,t.pool&&t.pool.destroy(),t.pool=new c(t.options);var n=function(n){t.state=B,t.pool.destroy(),t.currentReconnectRetry=t.currentReconnectRetry-1,t.currentReconnectRetry<=0?(e.state=q,e.emit(\"error\",o(\"failed to connect to %s:%s after %s retries\",t.options.host,t.options.port,t.reconnectTries))):setTimeout(function(){$(e,t)},t.reconnectInterval)};t.pool.once(\"connect\",function(){t.currentReconnectRetry=t.reconnectTries;var r=[\"error\",\"close\",\"timeout\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];r.forEach(function(e){t.pool.removeAllListeners(e)}),t.state=D,t.pool.on(\"error\",n),t.pool.on(\"close\",Y(e,t)),t.pool.on(\"timeout\",W(e,t)),t.pool.on(\"parseError\",V(e,t));var i=Object.keys(t.authProviders);if(0==i.length)return e.emit(\"reconnect\",e);for(var o=t.pool.getAll(),a=i.length,s=0;s<i.length;s++)t.authProviders[i[s]].reauthenticate(e,o,function(n,r){return a-=1,0==a?t.ismaster?e.emit(\"reconnect\",e):K(e,t)():void 0})}),t.pool.once(\"error\",H(e,t)),t.pool.once(\"close\",H(e,t)),t.pool.once(\"timeout\",H(e,t)),t.pool.once(\"parseError\",H(e,t)),t.pool.connect()},U=function(e,t){return function(n,r){try{var i=t.callbacks.callback(n.responseTo),a={raw:t.callbacks.raw(n.responseTo),promoteLongs:i&&\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,documentsReturnedIn:t.callbacks.documentsReturnedIn(n.responseTo)};n.parse(a),(i&&!i.noRelease||!i)&&e.s.pool.connectionAvailable(r),t.logger.isDebug()&&t.logger.debug(o(\"message [%s] received from %s\",n.raw.toString(\"hex\"),e.name)),t.callbacks.emit(n.responseTo,null,n)}catch(s){t.callbacks.flushConnection(new f(s),r),e.destroy()}}},H=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.destroy(),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval)))}},V=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},W=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"timeout\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s timed out\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),e.emit(\"timeout\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},Y=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"close\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s closed\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s sockets closed\",e.name)),r),e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.listeners(\"topologyClosed\").length>0&&!e.s.inTopology&&e.emit(\"topologyClosed\",{topologyId:e.s.id}),e.emit(\"close\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},K=function(e,t){var n=function(n){var r=Object.keys(t.authProviders);if(0==r.length)return n(null,null);for(var i=t.pool.getAll(),o=r.length,a=0;a<r.length;a++)t.authProviders[r[a]].reauthenticate(e,i,function(e,t){return o-=1,0==o?n(null,null):void 0})};return function(){n(function(){t.monitoring&&(e.s.inquireServerStateTimeout=setTimeout(oe(e),t.haInterval));var n=(new Date).getTime();e.command(\"admin.$cmd\",{ismaster:!0},function(r,i){return r?(t.state=B,e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.s.inTopology||e.emit(\"topologyOpening\",{topologyId:e.s.id}),e.emit(\"close\",r,e)):(ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),ne(e,{topologyType:\"Single\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Standalone\"}]}),t.isMasterLatencyMS=(new Date).getTime()-n,r||(t.ismaster=i.result),e.emit(\"ismaster\",i.result,e),t.wireProtocolHandler=L(t.ismaster),t.options.wireProtocolHandler=t.wireProtocolHandler,t.logger.isInfo()&&t.logger.info(o(\"server %s connected with ismaster [%s]\",e.name,JSON.stringify(i.result))),R(t)||null!=t.wireProtocolHandler?(t.ismaster&&t.ismaster.me&&(t.serverDetails.name=t.ismaster.me),null==t.readPreferenceStrategies?(t.state=D,e.emit(\"connect\",e)):void J(e,e.s,\"connect\",[e],function(n,r){return t.state=D,e.emit(\"connect\",e)})):(t.state=B,e.emit(\"error\",new f(\"non supported server version\"),e)))})})}},G=function(e){return e?e.slaveOk():!1},J=function(e,t,n,r,i){if(\"function\"==typeof i){var o=Object.keys(t.readPreferenceStrategies).length;if(0==o)return i(null,null);for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a],c=r.slice(0);c.push(function(e,t){o-=1,0==o&&i(null,null)}),s[n].apply(s,c)}}else for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a];s[n].apply(s,r)}},Z=[\"reconnect\",\"reconnectTries\",\"reconnectInterval\",\"emitError\",\"cursorFactory\",\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"checkServerIdentity\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"key\",\"rejectUnauthorized\",\"promoteLongs\"],Q=function(e){s.call(this),null==P&&(P=new b(I));var t=e.reconnectTries||30;this.s={options:e,callbacks:new z,logger:j(\"Server\",e),state:B,reconnect:\"boolean\"==typeof e.reconnect?e.reconnect:!0,reconnectTries:t,reconnectInterval:e.reconnectInterval||1e3,emitError:\"boolean\"==typeof e.emitError?e.emitError:!1,currentReconnectRetry:t,ismaster:null,readPreferenceStrategies:e.readPreferenceStrategies,authProviders:e.authProviders||{},id:F++,topologyId:e.topologyId||-1,tag:e.tag,disconnectHandler:e.disconnectHandler,monitoring:\"boolean\"==typeof e.monitoring?e.monitoring:!1,haInterval:e.haInterval||1e4,wireProtocolHandler:e.wireProtocolHandler||new x,Cursor:e.cursorFactory||h,bsonInstance:P,inquireServerStateTimeout:null,bson:e.bson?e.bson:P,pool:null,isMasterLatencyMS:0,inTopology:\"boolean\"==typeof e.inTopology?e.inTopology:!1,serverDetails:{host:e.host,port:e.port,name:e.port?o(\"%s:%s\",e.host,e.port):e.host},serverDescription:null,topologyDescription:null};var n=p.createHash(\"sha1\");n.update(o(\"%s:%s\",this.host,this.port)),this.hashedName=n.digest(\"hex\");var r=this.s;e.bson=r.bson,g(this,\"name\",\"name\",r.serverDetails,{}),g(this,\"bson\",\"bson\",r.options,{}),g(this,\"wireProtocolHandler\",\"wireProtocolHandler\",r.options,{}),v(this,\"id\",r.id),e.authProviders||(this.addAuthProvider(\"mongocr\",new S),this.addAuthProvider(\"x509\",new E),this.addAuthProvider(\"plain\",new O),this.addAuthProvider(\"gssapi\",new A),this.addAuthProvider(\"sspi\",new C),this.addAuthProvider(\"scram-sha-1\",new T))};i(Q,s);var X=function(e){return e.s.serverDescription||(e.s.serverDescription={address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}),e.s.serverDescription},ee=function(e,t){e.listeners(\"serverDescriptionChanged\").length>0&&(e.emit(\"serverDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:X(e),newDescription:t}),e.s.serverDescription=t)},te=function(e){return e.s.topologyDescription||(e.s.topologyDescription={topologyType:\"Unknown\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}]}),e.s.topologyDescription},ne=function(e,t){e.listeners(\"topologyDescriptionChanged\").length>0&&(e.emit(\"topologyDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:te(e),newDescription:t}),e.s.serverDescription=t)};Q.prototype.getDescription=function(){var e=this.s.ismaster||{},t={type:re(this),address:this.name};return e.hosts&&(t.hosts=e.hosts),e.arbiters&&(t.arbiters=e.arbiters),e.passives&&(t.passives=e.passives),e.setName&&(t.setName=e.setName),t},Q.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new f(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(I)},Q.prototype.lastIsMaster=function(){return this.s.ismaster},Q.prototype.isMasterLatencyMS=function(){return this.s.isMasterLatencyMS},Q.prototype.connect=function(e){var t=this;e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.s.options.promoteLongs=e.promoteLongs),t.s.pool&&t.s.pool.destroy(),t.s.state=N,t.s.options.messageHandler=U(t,t.s),t.s.pool=new c(t.s.options),t.s.pool.on(\"timeout\",W(t,t.s)),t.s.pool.on(\"close\",Y(t,t.s)),t.s.pool.on(\"error\",H(t,t.s)),t.s.pool.once(\"connect\",K(t,t.s)),t.s.pool.on(\"parseError\",V(t,t.s)),t.s.inTopology||this.emit(\"topologyOpening\",{topologyId:this.s.id}),t.emit(\"serverOpening\",{topologyId:-1!=t.s.topologyId?t.s.topologyId:t.s.id,address:t.name}),t.s.pool.on(\"connection\",function(e){var n=Object.keys(t.s.authProviders);if(0==n.length)return t.s.pool.connectionAvailable(e);for(var r=[e],i=n.length,o=0;o<n.length;o++)t.s.authProviders[n[o]].reauthenticate(t,r,function(n,r){return i-=1,0==i?t.s.pool.connectionAvailable(e):void 0})}),t.s.pool.connect()};var re=function(e,t){return t||(t=e.s.ismaster),t?t.ismaster&&!t.hosts?\"Standalone\":t.ismaster&&\"isdbgrid\"==t.msg?\"Mongos\":t.ismaster?\"RSPrimary\":t.secondary?\"RSSecondary\":t.arbiterOnly?\"RSArbiter\":\"Unknown\":\"Unknown\"},ie=function(e,t,n){var r=re(e,t),i=re(e,n);return i!=r},oe=function(e){return function(){if(e.s.state!=q){var t=(new Date).getTime();r(e,\"serverHeartbeatStarted\",{connectionId:e.name}),e.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(n,i){if(n)r(e,\"serverHearbeatFailed\",{durationMS:o,failure:n,connectionId:e.name});else{e.emit(\"ismaster\",i,e);var o=(new Date).getTime()-t;r(e,\"serverHeartbeatSucceeded\",{durationMS:o,reply:i.result,connectionId:e.name}),ie(e,e.s.ismaster,i.result)&&ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),e.s.ismaster=i.result,e.s.isMasterLatencyMS=o}e.s.inquireServerStateTimeout=setTimeout(oe(e),e.s.haInterval)})}}};Q.prototype.unref=function(){this.s.pool.unref()},Q.prototype.destroy=function(e,t){var n=this;n.s.logger.isDebug()&&n.s.logger.debug(o(\"destroy called on server %s\",n.name)),n.s.state!=q&&(this.s.inquireServerStateTimeout&&clearTimeout(this.s.inquireServerStateTimeout),e&&n.listeners(\"close\").length>0&&n.emit(\"close\",null,n),n.listeners(\"serverClosed\").length>0&&n.emit(\"serverClosed\",{topologyId:-1!=n.s.topologyId?n.s.topologyId:n.s.id,address:n.name}),n.listeners(\"topologyClosed\").length>0&&!n.s.inTopology&&n.emit(\"topologyClosed\",{topologyId:n.s.id}),t&&n.emit(\"destroy\",n),n.s.state=q,n.s.pool&&n.s.pool.destroy(),n.s.callbacks&&n.s.callbacks.flush(new f(o(\"server %s sockets closed\",n.name))))},Q.prototype.isConnected=function(){var e=this;return e.s.pool?e.s.pool.isConnected():!1},Q.prototype.isDestroyed=function(){return this.s.state==q};var ae=function(e,t,n,r,i,o,a){var s=new l(e.s.bson,t,n,r);s.slaveOk=G(i.readPreference),null!=e.s.readPreferenceStrategies&&J(e,e.s,\"startOperation\",[e,s,new Date]);var c=\"boolean\"==typeof i.raw?i.raw:!1,u=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,p=\"boolean\"==typeof i.monitoring?i.monitoring:!1;if(o)for(var d=e.s.pool.getAll(),h=d.length,v=null,g=0;g<d.length;g++){var y=function(t){return function(n,r){if(n&&(v=n),h-=1,0==h){if(J(e,e.s,\"endOperation\",[e,v,r,new Date]),v)return a(f.create(v));r.hashedName=t.hashedName;try{a(null,new m(i.fullResult?r:r.documents[0],d))}catch(n){process.nextTick(function(){throw n})}}}};try{s.incRequestId(),d[g].write(s.toBin())}catch(b){if(h-=1,0==h)return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,y.monitoring=p,y.connection=d[g],e.s.callbacks.register(s.requestId,y(d[g]))}else{var y=function(t,n){if(J(e,e.s,\"endOperation\",[e,t,n,new Date]),t)return a(t);if(n.documents[0].$err||n.documents[0].errmsg||n.documents[0].err||n.documents[0].code)return a(f.create(n.documents[0]));n.hashedName=n.connection.hashedName;try{a(null,new m(i.fullResult?n:n.documents[0],n.connection))}catch(t){process.nextTick(function(){throw t})}};try{y.monitoring=p,i.connection?(y.connection=i.connection,y.noRelease=!0,i.connection.write(s.toBin())):e.s.pool.write(s.toBin(),y,i)}catch(b){return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,e.s.callbacks.register(s.requestId,y)}};Q.prototype.command=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(this.s.state==q)return r(new f(o(\"topology was destroyed\")));if(n=n||{},n.readPreference&&!(n.readPreference instanceof d))throw new Error(\"readPreference must be an instance of ReadPreference\");if(i.s.logger.isDebug()&&i.s.logger.debug(o(\"executing command [%s] against %s\",JSON.stringify({ns:e,cmd:t,options:y(Z,n)}),i.name)),!i.isConnected()&&null!=i.s.disconnectHandler)return r=a(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);if(!i.s.pool.isConnected())return r(new f(o(\"no connection available to server %s\",i.name)));var s=\"boolean\"==typeof n.onAll?n.onAll:!1,c=\"boolean\"==typeof n.checkKeys?n.checkKeys:!1,u=\"boolean\"==typeof n.serializeFunctions?n.serializeFunctions:!1,p=\"boolean\"==typeof n.ignoreUndefined?n.ignoreUndefined:!1,l=(\"boolean\"==typeof n.raw?n.raw:!1,{numberToSkip:0,numberToReturn:-1,checkKeys:c});u&&(l.serializeFunctions=u),p&&(l.ignoreUndefined=p),ae(i,e,t,l,n,s,r)},Q.prototype.insert=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.insert(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"insert\",e,t,n,r))},Q.prototype.update=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.update(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"update\",e,t,n,r))},Q.prototype.remove=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.remove(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"remove\",e,t,n,r))},Q.prototype.auth=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==n.s.authProviders[e]&&\"default\"!=e)throw new f(o(\"auth provider %s does not exist\",e));\"default\"==e&&n.s.ismaster&&n.s.ismaster.maxWireVersion>=3?e=\"scram-sha-1\":\"default\"==e&&(e=\"mongocr\");var a=n.s.pool.getAll(),s=[n,a,t].concat(r.slice(0)).concat([function(e,t){return e?i(e):t?void i(null,new k({},n)):i(new f(\"could not authenticate\"))}]);n.s.authProviders[e].auth.apply(n.s.authProviders[e],s)},Q.prototype.addReadPreferenceStrategy=function(e,t){var n=this;null==n.s.readPreferenceStrategies&&(n.s.readPreferenceStrategies={}),n.s.readPreferenceStrategies[e]=t},Q.prototype.addAuthProvider=function(e,t){var n=this;n.s.authProviders[e]=t},Q.prototype.equals=function(e){return\"string\"==typeof e?e==this.name:e&&e.name?e.name==this.name:!1},Q.prototype.connections=function(){return this.s.pool.getAll()},Q.prototype.getServer=function(e){return this},Q.prototype.getConnection=function(e){return this.s.pool.get()},Q.prototype.getCallbacks=function(){return this.s.callbacks},Q.prototype.parserType=function(){var e=this.s;return-1!=e.options.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},Q.prototype.cursor=function(e,t,n){var r=this.s;n=n||{};var i=n.cursorFactory||r.Cursor;return new i(r.bson,e,t,n,this,r.options)},t.exports=Q},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/commands\":195,\"../connection/logger\":197,\"../connection/pool\":198,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"../wireprotocol/2_4_support\":210,\"../wireprotocol/2_6_support\":211,\"../wireprotocol/3_2_support\":212,\"./command_result\":202,\"./read_preference\":204,\"./session\":208,bson:59,crypto:void 0,events:void 0,util:void 0}],208:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"events\").EventEmitter),o=function(e,t){this.options=e,this.topology=t,i.call(this)};r(o,i),o.prototype.command=function(e,t,n,r){this.topology.command(e,t,n,r)},o.prototype.insert=function(e,t,n,r){this.topology.insert(e,t,n,r)},o.prototype.update=function(e,t,n,r){this.topology.update(e,t,n,r)},o.prototype.remove=function(e,t,n,r){this.topology.remove(e,t,n,r)},o.prototype.cursor=function(e,t,n){return this.topology.cursor(e,t,n)},t.exports=o},{events:void 0,util:void 0}],209:[function(e,t,n){\"use strict\";var r=e(\"../../connection/logger\"),i=e(\"events\").EventEmitter,o=e(\"util\").inherits,a=e(\"util\").format,s=function(e){i.call(this),this.s={pings:{},options:e||{},logger:r(\"Ping\",e),pingInterval:e.pingInterval||1e4,acceptableLatency:e.acceptableLatency||15,debug:\"boolean\"==typeof e.debug?e.debug:!1,index:0,lastPing:null},this.s.logger.isDebug()&&this.s.logger.debug(a(\"ping strategy interval [%s], acceptableLatency [%s]\",this.s.pingInterval,this.s.acceptableLatency)),this.s.debug&&Object.defineProperty(this,\"data\",{enumerable:!0,get:function(){return this.s.pings}})};o(s,i);var c=function(e,t){if(null==e.tags)return t;for(var n=[],r=e.tags,i=0;i<t.length;i++){var o=t[i].lastIsMaster().tags||{},a=!0;for(var s in r)o[s]!=r[s]&&(a=!1);a&&n.push(t[i])}return n};s.prototype.pickServer=function(e,t){var n=this,r=[];e.primary&&r.push(e.primary);for(var i=0;i<e.secondaries.length;i++)r.push(e.secondaries[i]);r=c(t,r);for(var o=[],i=0;i<r.length;i++)o.push({name:r[i].name,time:n.s.pings[r[i].name]||0});o.sort(function(e,t){return e.time>t.time});var s=o.length>0?o[0].time:0;return o=o.filter(function(e){return e.time<=s+n.s.acceptableLatency}),0==o.length&&e.primary?(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked primary server [%s]\",e.primary.name)),e.primary):0==o.length?null:(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked server [%s] with ping latency [%s]\",o[0].name,o[0].time)),n.s.index=n.s.index+1,n.s.index=n.s.index%o.length,e.get(o[n.s.index].name))},s.prototype.startOperation=function(e,t,n){},s.prototype.endOperation=function(e,t,n,r){},s.prototype.ha=function(e,t,n){var r=this,i=t.getAll(),o=i.length;if(0==i.length)return n(null,null);if(null!=r.s.lastPing){var s=(new Date).getTime()-r.s.lastPing.getTime();if(s<r.s.pingInterval)return n(null,null)}for(var c=function(t){var i=new Date;t.command(\"system.$cmd\",{ismaster:1},function(s,c){o-=1;var u=(new Date).getTime()-i.getTime();r.s.pings[t.name]=u,r.s.logger.isDebug()&&r.s.logger.debug(a(\"ha latency for server [%s] is [%s] ms\",t.name,u)),0==o&&(e.emit(\"ping\",s,c?c.result:null),r.s.lastPing=new Date,n(null,null))})};i.length>0;)c(i.shift())};var u=function(e,t){delete e.s.pings[t.name]};s.prototype.close=function(e){u(this,e)},s.prototype.error=function(e){u(this,e)},s.prototype.timeout=function(e){u(this,e)},s.prototype.connect=function(e,t){var n=this,r=new Date;e.command(\"system.$cmd\",{ismaster:1},function(i,o){var s=(new Date).getTime()-r.getTime();n.s.pings[e.name]=s,n.s.logger.isDebug()&&n.s.logger.debug(a(\"connect latency for server [%s] is [%s] ms\",e.name,s)),n.s.lastPing=new Date,t(null,null)})},t.exports=s},{\"../../connection/logger\":197,events:void 0,util:void 0}],210:[function(e,t,n){\"use strict\";var r=e(\"./commands\").Insert,i=e(\"./commands\").Update,o=e(\"./commands\").Remove,a=e(\"../connection/commands\").Query,s=e(\"../connection/utils\").copy,c=e(\"../connection/commands\").KillCursor,u=e(\"../connection/commands\").GetMore,a=e(\"../connection/commands\").Query,p=(e(\"../topologies/read_preference\"),e(\"util\").format),l=e(\"../topologies/command_result\"),f=e(\"../error\"),d=e(\"bson\").Long,h=e(\"./shared\").getReadPreference,m=[\"w\",\"wtimeout\",\"j\",\"fsync\"],v=function(){};v.prototype.insert=function(e,t,n,i,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;\"boolean\"==typeof c.legacy?c.legacy:!1;if(s=Array.isArray(s)?s:[s],s.length>1e3)return u(new f(\"exceeded maximum write batch size of 1000\"));\nvar l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"insert\",r,t,n,i,o,a,s,c,u):j(\"insert\",r,t,n,i,o,a,s,c,u)},v.prototype.update=function(e,t,n,r,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"update\",i,t,n,r,o,a,s,c,u):j(\"update\",i,t,n,r,o,a,s,c,u)},v.prototype.remove=function(e,t,n,r,i,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"remove\",o,t,n,r,i,a,s,c,u):j(\"remove\",o,t,n,r,i,a,s,c,u)},v.prototype.killCursor=function(e,t,n,r,i,o){var a=new c(e,[n]);r&&r.isConnected()&&r.write(a.toBin(),o,{immediateRelease:!0}),n=d.ZERO,o&&o(null,null)},v.prototype.getMore=function(e,t,n,r,i,o,a,s,c){var p=new u(e,t,n.cursorId,{numberToReturn:r}),l=function(e,t){if(e)return c(e);if(0!=(1&t.responseFlags))return c(new f(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?d.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,c(null,null,t.connection)};i&&(l.raw=i),\"boolean\"==typeof n.promoteLongs&&(l.promoteLongs=n.promoteLongs),a.register(p.requestId,l),o.write(p.toBin(),l)},v.prototype.command=function(e,t,n,r,i,o){if(n.find)return g(e,t,n,r,i,o);if(null==r.cursorId){if(n)return y(e,t,n,r,i,o);throw new f(p(\"command %s does not return a cursor\",JSON.stringify(n)))}};var g=function(e,t,n,r,i,o){o=o||{};var c=h(n,o);r.batchSize=n.batchSize||r.batchSize;var u=0;u=0==r.limit?r.batchSize:r.limit<0||r.limit<r.batchSize||r.limit>0&&0==r.batchSize?r.limit:r.batchSize;var l=r.skip||0,d={},m=!1;if(\"mongos\"==i.type&&c&&(d.$readPreference=c.toJSON(),m=!0),n.sort&&(d.orderby=n.sort,m=!0),n.hint&&(d.$hint=n.hint,m=!0),n.snapshot&&(d.$snapshot=n.snapshot,m=!0),n.returnKey&&(d.$returnKey=n.returnKey,m=!0),n.maxScan&&(d.$maxScan=n.maxScan,m=!0),n.min&&(d.$min=n.min,m=!0),n.max&&(d.$max=n.max,m=!0),n.showDiskLoc&&(d.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(d.$comment=n.comment,m=!0),n.maxTimeMS&&(d.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(u=-Math.abs(n.limit||0),m=!0,d.$explain=!0),m?d.$query=n.query:d=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=s(n),delete n.readConcern);var v=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,g=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1,y=new a(e,t,d,{numberToSkip:l,numberToReturn:u,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=c.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},y=function(e,t,n,r,i,o){o=o||{};var s=h(n,o),c={};for(var u in n)c[u]=n[u];var l=t.split(/\\./);if(n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern;var d=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,m=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1;\"mongos\"==i.type&&s&&\"primary\"!=s.preference&&(c={$query:c,$readPreference:s.toJSON()});var v=new a(e,p(\"%s.$cmd\",l.shift()),c,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:m});return v.slaveOk=s.slaveOk(),v},b=function(e){var t=process.domain;return null==t||null==e?e:t.bind(e)},x=function(e){return!(!e.w&&!e.wtimeout&&1!=e.j&&1!=e.fsync&&0!=Object.keys(e).length)},w=function(e){var t={};return null!=e.w&&(t.w=e.w),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),null!=e.j&&(t.j=e.j),null!=e.fsync&&(t.fsync=e.fsync),t},_=function(e,t,n,r){for(var i={ok:1,n:0},o=0;o<n.length;o++){var a=n[o],s=t[o];!a.upserted&&0!=a.updatedExisting||null!=i.upserted||(i.upserted=[]),a.upserted&&i.upserted.push({index:o,_id:a.upserted}),0==a.updatedExisting&&1==a.n&&null==a.upserted&&i.upserted.push({index:o,_id:s.q._id}),1==a.ok&&\"insert\"==e&&null==a.err&&(i.n=i.n+1),null!=a&&0==a.ok||a.err||a.errmsg?(0==a.ok&&(i.ok=0),i.code=a.code,i.errmsg=a.errmsg||a.err||a.errMsg,11e3==a.code||11001==a.code||12582==a.code||16544==a.code||16538==a.code||16542==a.code||14==a.code||13511==a.code?(null==i.writeErrors&&(i.writeErrors=[]),i.writeErrors.push({index:o,code:a.code,errmsg:a.errmsg||a.err||a.errMsg})):i.writeConcernError={code:a.code,errmsg:a.errmsg||a.err||a.errMsg}):\"number\"==typeof a.n?i.n+=a.n:i.n+=1,null!=a&&a.lastOp&&(i.lastOp=a.lastOp)}return new l(i,r)},k=function(e,t,n,r,i,o,s,c,u,l){var d=c.slice(0);l=b(l);var h=[],v=function(d,g){if(0==d.length)return process.nextTick(function(){g(null,_(e,c,h,null))});var y=d.shift(),b=new t(a.getRequestId(),n,i,r,[y],u),k=u.writeConcern||{w:1},j=w(k),S=r.split(\".\").shift();try{var E=[b.toBin()];if(x(j)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=j[m[A]]&&(O[m[A]]=j[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t,n){if(t)return l(t);var r=n.documents[0];return h.push(r),0==r.ok||r.err||r.errmsg?l(null,_(e,c,h,n.connection)):void v(d,l)};s.register(C.requestId,T),o.write(E,T)}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h.push({ok:1,errmsg:I.message,code:14}),process.nextTick(function(){l(null,_(e,c,h,null))})}};v(d,l)},j=function(e,t,n,r,i,o,s,c,u,l){l=b(l);for(var d,h=c.length,v=[],g=u.writeConcern||{w:1},y=w(g),k=0;k<c.length;k++){var j=new t(a.getRequestId(),n,i,r,[c[k]],u),S=r.split(\".\").shift();try{var E=[j.toBin()];if(x(y)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=y[m[A]]&&(O[m[A]]=y[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t){return function(n,r){n&&(d=n),h-=1,n||(v[t]=r.documents[0]),0==h&&process.nextTick(function(){return d?l(d):void l(null,_(e,c,v,r.connection))})}};s.register(C.requestId,T(k)),o.write(E,T(k))}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h-=1,v[k]={ok:1,errmsg:I.message,code:14},0==h&&l(null,_(e,c,v,null))}}y&&0==y.w&&l&&l(null,null)};t.exports=v},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],211:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),i=e(\"../connection/utils\").copy,o=e(\"../connection/commands\").KillCursor,a=e(\"../connection/commands\").GetMore,r=e(\"../connection/commands\").Query,s=(e(\"../topologies/read_preference\"),e(\"util\").format),c=(e(\"../topologies/command_result\"),e(\"../error\")),u=e(\"bson\").Long,p=e(\"./shared\").getReadPreference,l=function(){},f=function(e,t,n,r,i,o,a){if(0==i.length)throw new c(\"insert must contain at least one document\");\"function\"==typeof o&&(a=o,o={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof o.ordered?o.ordered:!0,f=o.writeConcern||{},d={};d[t]=u.join(\".\"),d[n]=i,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f);var h={};\"insert\"==t&&(h.checkKeys=!0),o.serializeFunctions&&(h.serializeFunctions=o.serializeFunctions),o.ignoreUndefined&&(h.ignoreUndefined=o.ignoreUndefined),e.command(s(\"%s.$cmd\",p),d,h,a)};l.prototype.insert=function(e,t,n,r,i,o,a,s,c){f(e,\"insert\",\"documents\",n,a,s,c)},l.prototype.update=function(e,t,n,r,i,o,a,s,c){f(e,\"update\",\"updates\",n,a,s,c)},l.prototype.remove=function(e,t,n,r,i,o,a,s,c){f(e,\"delete\",\"deletes\",n,a,s,c)},l.prototype.killCursor=function(e,t,n,r,i,a){var s=new o(e,[n]);r&&r.isConnected()&&r.write(s.toBin(),a,{immediateRelease:!0}),n=u.ZERO,a&&a(null,null)},l.prototype.getMore=function(e,t,n,r,i,o,s,p,l){var f=new a(e,t,n.cursorId,{numberToReturn:r}),d=function(e,t){if(e)return l(e);if(0!=(1&t.responseFlags))return l(new c(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?u.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,l(null,null,t.connection)};i&&(d.raw=i),\"boolean\"==typeof n.promoteLongs&&(d.promoteLongs=n.promoteLongs),s.register(f.requestId,d),o.write(f.toBin(),d)},l.prototype.command=function(e,t,n,r,i,o){if(n.find)return d(e,t,n,r,i,o);if(null==r.cursorId){if(n)return h(e,t,n,r,i,o);throw new c(s(\"command %s does not return a cursor\",JSON.stringify(n)))}};var d=function(e,t,n,o,a,u){u=u||{};var l=p(n,u);o.batchSize=n.batchSize||o.batchSize;var f=0;f=0==o.limit?o.batchSize:o.limit<0||o.limit<o.batchSize||o.limit>0&&0==o.batchSize?o.limit:o.batchSize;var d=o.skip||0,h={},m=!1;if(\"mongos\"==a.type&&l&&(h.$readPreference=l.toJSON(),m=!0),n.sort&&(h.orderby=n.sort,m=!0),n.hint&&(h.$hint=n.hint,m=!0),n.snapshot&&(h.$snapshot=n.snapshot,m=!0),n.returnKey&&(h.$returnKey=n.returnKey,m=!0),n.maxScan&&(h.$maxScan=n.maxScan,m=!0),n.min&&(h.$min=n.min,m=!0),n.max&&(h.$max=n.max,m=!0),n.showDiskLoc&&(h.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(h.$comment=n.comment,m=!0),n.maxTimeMS&&(h.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(f=-Math.abs(n.limit||0),m=!0,h.$explain=!0),m?h.$query=n.query:h=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=i(n),delete n.readConcern);var v=\"boolean\"==typeof u.serializeFunctions?u.serializeFunctions:!1,g=\"boolean\"==typeof u.ignoreUndefined?u.ignoreUndefined:!1,y=new r(e,t,h,{numberToSkip:d,numberToReturn:f,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=l.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},h=function(e,t,n,i,o,a){a=a||{};var u=p(n,a),l={};for(var f in n)l[f]=n[f];var d=t.split(/\\./),h=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,m=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1;if(n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern,\"mongos\"==o.type&&u&&\"primary\"!=u.preference&&(l={$query:l,$readPreference:u.toJSON()});var v=new r(e,s(\"%s.$cmd\",d.shift()),l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:h,ignoreUndefined:m});return v.slaveOk=u.slaveOk(),v};t.exports=l},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],212:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),r=(e(\"../connection/utils\").copy,e(\"../connection/commands\").KillCursor,e(\"../connection/commands\").GetMore,e(\"../connection/commands\").Query),i=(e(\"../topologies/read_preference\"),e(\"util\").format),o=(e(\"../topologies/command_result\"),e(\"../error\")),a=e(\"bson\").Long,s=e(\"./shared\").getReadPreference,c=function(e){this.legacyWireProtocol=e},u=function(e,t,n,r,a,s,c){if(0==a.length)throw new o(\"insert must contain at least one document\");\"function\"==typeof s&&(c=s,s={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof s.ordered?s.ordered:!0,f=s.writeConcern,d={};d[t]=u.join(\".\"),d[n]=a,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f),\"boolean\"==typeof s.bypassDocumentValidation&&(d.bypassDocumentValidation=s.bypassDocumentValidation);var h={};\"insert\"==t&&(h.checkKeys=!0),s.serializeFunctions&&(h.serializeFunctions=s.serializeFunctions),s.ignoreUndefined&&(h.ignoreUndefined=s.ignoreUndefined),e.command(i(\"%s.$cmd\",p),d,h,c)};c.prototype.insert=function(e,t,n,r,i,o,a,s,c){u(e,\"insert\",\"documents\",n,a,s,c)},c.prototype.update=function(e,t,n,r,i,o,a,s,c){u(e,\"update\",\"updates\",n,a,s,c)},c.prototype.remove=function(e,t,n,r,i,o,a,s,c){u(e,\"delete\",\"deletes\",n,a,s,c)},c.prototype.killCursor=function(e,t,n,a,s,c){var u=t.split(/\\./),p=i(\"%s.$cmd\",u.shift()),l={killCursors:u.join(\".\"),cursors:[n]},f=new r(e,p,l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});f.slaveOk=!0,a&&a.isConnected()&&a.write(f.toBin(),c);var d=function(e,t){if(e){if(\"function\"!=typeof c)return;return c(e)}if(0!=(1&t.responseFlags)){if(\"function\"!=typeof c)return;return c(new o(\"cursor killed or timed out\"),null)}if(!Array.isArray(t.documents)||0==t.documents.length){if(\"function\"!=typeof c)return;return c(new o(i(\"invalid killCursors result returned for cursor id %s\",cursorState.cursorId)))}\"function\"==typeof c&&c(null,t.documents[0])};s.register(f.requestId,d)},c.prototype.getMore=function(e,t,n,s,c,u,p,l,f){l=l||{};var d=t.split(/\\./),h=i(\"%s.$cmd\",d.shift()),m=(\"number\"==typeof n.cmd.maxTimeMS?n.cmd.maxTimeMS:3e3,{getMore:n.cursorId,collection:d.join(\".\"),batchSize:Math.abs(s)});n.cmd.tailable&&\"number\"==typeof n.cmd.maxAwaitTimeMS&&(m.maxTimeMS=n.cmd.maxAwaitTimeMS);var v=new r(e,h,m,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});v.slaveOk=!0;var g=function(e,t){if(e)return f(e);if(0!=(1&t.responseFlags))return f(new o(\"cursor killed or timed out\"),null);if(c)return n.documents=t.documents,n.cursorId=t.cursorId,f(null,t.documents);if(0==t.documents[0].ok)return f(o.create(t.documents[0]));var r=\"number\"==typeof t.documents[0].cursor.id?a.fromNumber(t.documents[0].cursor.id):t.documents[0].cursor.id;n.documents=t.documents[0].cursor.nextBatch,n.cursorId=r,f(null,t.documents[0],t.connection)};c&&(g.raw=c),g.documentsReturnedIn=\"nextBatch\",\"boolean\"==typeof n.promoteLongs&&(g.promoteLongs=n.promoteLongs),p.register(v.requestId,g),u.write(v.toBin(),g)},c.prototype.command=function(e,t,n,r,a,s){if(n.find){var c=p(e,t,n,r,a,s);return n.virtual=!1,c.documentsReturnedIn=\"firstBatch\",c}if(null==r.cursorId){if(n)return l(e,t,n,r,a,s);throw new o(i(\"command %s does not return a cursor\",JSON.stringify(n)))}};var p=function(e,t,n,o,a,c){c=c||{};var u=s(n,c);o.batchSize=n.batchSize||o.batchSize;var p=t.split(/\\./),l=i(\"%s.$cmd\",p.shift()),f={find:p.join(\".\")};n.query&&(f.filter=n.query);var d=n.sort;if(Array.isArray(d)){var h={};if(d.length>0&&!Array.isArray(d[0])){var m=d[1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[0]]=m}else for(var v=0;v<d.length;v++){var m=d[v][1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[v][0]]=m}d=h}n.sort&&(f.sort=d),n.fields&&(f.projection=n.fields),n.hint&&(f.hint=n.hint),n.skip&&(f.skip=n.skip),n.limit&&(f.limit=n.limit),\"number\"==typeof n.batchSize&&(f.batchSize=Math.abs(n.batchSize)),n.limit<0&&(f.limit=Math.abs(n.limit),f.singleBatch=!0),n.comment&&(f.comment=n.comment),n.maxScan&&(f.maxScan=n.maxScan),n.maxTimeMS&&(f.maxTimeMS=n.maxTimeMS),n.min&&(f.min=n.min),n.max&&(f.max=n.max),n.returnKey&&(f.returnKey=n.returnKey),n.showDiskLoc&&(f.showRecordId=n.showDiskLoc),n.snapshot&&(f.snapshot=n.snapshot),n.tailable&&(f.tailable=n.tailable),n.oplogReplay&&(f.oplogReplay=n.oplogReplay),n.noCursorTimeout&&(f.noCursorTimeout=n.noCursorTimeout),n.awaitData&&(f.awaitData=n.awaitData),n.awaitdata&&(f.awaitData=n.awaitdata),n.partial&&(f.partial=n.partial),n.explain&&(f={explain:f}),n.readConcern&&(f.readConcern=n.readConcern);var g=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,y=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(f={$query:f,$readPreference:u.toJSON()});var b=new r(e,l,f,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null,serializeFunctions:g,ignoreUndefined:y});return b.slaveOk=u.slaveOk(),b},l=function(e,t,n,o,a,c){c=c||{};var u=s(n,c),p={};for(var l in n)p[l]=n[l];var f=t.split(/\\./),d=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,h=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(p={$query:p,$readPreference:u.toJSON()});var m=new r(e,i(\"%s.$cmd\",f.shift()),p,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:h});return m.slaveOk=u.slaveOk(),m};t.exports=c},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],213:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../error\"),i=2001,o=2002,a=2006,s=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");if(!Array.isArray(o)||0==o.length)throw new r(\"documents array must contain at least one document to insert\");if(~i.indexOf(\"\\x00\"))throw new r(\"namespace cannot contain a null character\");this.requestId=e,this.bson=n,this.ns=i,this.documents=o,this.ismaster=t,a=a||{},this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!0,this.continueOnError=\"boolean\"==typeof a.continueOnError?a.continueOnError:!1,this.flags=this.continueOnError?1:0};s.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1);e.push(t);for(var i=t.length,a=0;a<this.documents.length;a++){var s=this.bson.serialize(this.documents[a],this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);if(s.length>this.ismaster.maxBsonObjectSize)throw new r(\"Document exceeds maximum allowed bson size of \"+this.ismaster.maxBsonObjectSize+\" bytes\");i+=s.length,e.push(s)}if(i>this.ismaster.maxMessageSizeBytes)throw new r(\"Command exceeds maximum message size of \"+this.ismaster.maxMessageSizeBytes+\" bytes\");var c=0;return t[c+3]=i>>24&255,t[c+2]=i>>16&255,t[c+1]=i>>8&255,t[c]=255&i,c+=4,t[c+3]=this.requestId>>24&255,t[c+2]=this.requestId>>16&255,t[c+1]=this.requestId>>8&255,t[c]=255&this.requestId,c+=4,t[c+3]=0,t[c+2]=0,t[c+1]=0,t[c]=0,c+=4,t[c+3]=o>>24&255,t[c+2]=o>>16&255,t[c+1]=o>>8&255,t[c]=255&o,c+=4,t[c+3]=this.flags>>24&255,t[c+2]=this.flags>>16&255,t[c+1]=this.flags>>8&255,t[c]=255&this.flags,c+=4,c=c+t.write(this.ns,c,\"utf8\")+1,t[c-1]=0,e};var c=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.upsert=\"boolean\"==typeof o[0].upsert?o[0].upsert:!1,this.multi=\"boolean\"==typeof o[0].multi?o[0].multi:!1,this.q=o[0].q,this.u=o[0].u,this.flags=this.upsert?1:0,this.flags=this.multi?2|this.flags:this.flags};c.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,o=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(o),r+=o.length;var a=this.bson.serialize(this.u,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(a),r+=a.length;var s=0;return t[s+3]=r>>24&255,t[s+2]=r>>16&255,t[s+1]=r>>8&255,t[s]=255&r,s+=4,t[s+3]=this.requestId>>24&255,t[s+2]=this.requestId>>16&255,t[s+1]=this.requestId>>8&255,t[s]=255&this.requestId,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,t[s+3]=i>>24&255,t[s+2]=i>>16&255,t[s+1]=i>>8&255,t[s]=255&i,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,s=s+t.write(this.ns,s,\"utf8\")+1,t[s-1]=0,t[s+3]=this.flags>>24&255,t[s+2]=this.flags>>16&255,t[s+1]=this.flags>>8&255,t[s]=255&this.flags,s+=4,e};var u=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.limit=\"number\"==typeof o[0].limit?o[0].limit:1,this.q=o[0].q,this.flags=1==this.limit?1:0};u.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,i=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(i),r+=i.length;var o=0;return t[o+3]=r>>24&255,t[o+2]=r>>16&255,t[o+1]=r>>8&255,t[o]=255&r,o+=4,t[o+3]=this.requestId>>24&255,t[o+2]=this.requestId>>16&255,t[o+1]=this.requestId>>8&255,t[o]=255&this.requestId,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,t[o+3]=a>>24&255,t[o+2]=a>>16&255,t[o+1]=a>>8&255,t[o]=255&a,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,o=o+t.write(this.ns,o,\"utf8\")+1,t[o-1]=0,t[o+3]=this.flags>>24&255,t[o+2]=this.flags>>16&255,t[o+1]=this.flags>>8&255,t[o]=255&this.flags,o+=4,e},t.exports={Insert:s,Update:c,Remove:u}}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,buffer:void 0}],214:[function(e,t,n){var r=e(\"../topologies/read_preference\"),i=function(e,t){var n=e.readPreference||new r(\"primary\");if(t.readPreference&&(n=t.readPreference),\"string\"==typeof n&&(n=new r(n)),!(n instanceof r))throw new MongoError(\"readPreference must be a ReadPreference instance\");return n};t.exports={getReadPreference:i}},{\"../topologies/read_preference\":204}],215:[function(e,t,n){var r=e(\"mongodb-core\"),i=e(\"./lib/apm\"),o=e(\"./lib/mongo_client\").connect;o.MongoError=r.MongoError,o.Admin=e(\"./lib/admin\"),o.MongoClient=e(\"./lib/mongo_client\"),o.Db=e(\"./lib/db\"),o.Collection=e(\"./lib/collection\"),o.Server=e(\"./lib/server\"),o.ReplSet=e(\"./lib/replset\"),o.Mongos=e(\"./lib/mongos\"),o.ReadPreference=e(\"./lib/read_preference\"),o.GridStore=e(\"./lib/gridfs/grid_store\"),o.Chunk=e(\"./lib/gridfs/chunk\"),o.Logger=r.Logger,o.Cursor=e(\"./lib/cursor\"),o.GridFSBucket=e(\"./lib/gridfs-stream\"),o.Binary=r.BSON.Binary,o.Code=r.BSON.Code,o.Map=r.BSON.Map,o.DBRef=r.BSON.DBRef,o.Double=r.BSON.Double,o.Long=r.BSON.Long,o.MinKey=r.BSON.MinKey,o.MaxKey=r.BSON.MaxKey,o.ObjectID=r.BSON.ObjectID,o.ObjectId=r.BSON.ObjectID,o.Symbol=r.BSON.Symbol,o.Timestamp=r.BSON.Timestamp,o.connect=o,o.instrument=function(e,t){return\"function\"==typeof e&&(t=e,e={}),new i(r,e,t)},t.exports=o},{\"./lib/admin\":216,\"./lib/apm\":218,\"./lib/collection\":222,\"./lib/cursor\":224,\"./lib/db\":225,\"./lib/gridfs-stream\":227,\"./lib/gridfs/chunk\":229,\"./lib/gridfs/grid_store\":230,\"./lib/mongo_client\":232,\"./lib/mongos\":233,\"./lib/read_preference\":234,\"./lib/replset\":235,\"./lib/server\":236,\"mongodb-core\":188}],216:[function(e,t,n){\"use strict\";var r=e(\"./utils\").toError,i=e(\"./metadata\"),o=e(\"./utils\").shallowClone,a=function(e,t,n){if(!(this instanceof a))return new a(e,t);this.s={db:e,topology:t,promiseLibrary:n}},s=a.define=new i(\"Admin\",a,!1);a.prototype.command=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},\"function\"==typeof n?this.s.db.executeDbAdminCommand(e,t,function(e,t){return null!=n?n(e,t):null}):new this.s.promiseLibrary(function(n,i){r.s.db.executeDbAdminCommand(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"command\",{callback:!0,promise:!0}),a.prototype.buildInfo=function(e){var t=this;return\"function\"==typeof e?this.serverInfo(e):new this.s.promiseLibrary(function(e,n){t.serverInfo(function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"buildInfo\",{callback:!0,promise:!0}),a.prototype.serverInfo=function(e){var t=this;return\"function\"==typeof e?this.s.db.executeDbAdminCommand({buildinfo:1},function(t,n){return null!=t?e(t,null):void e(null,n)}):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({buildinfo:1},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"serverInfo\",{callback:!0,promise:!0}),a.prototype.serverStatus=function(e){var t=this;return\"function\"==typeof e?c(t,e):new this.s.promiseLibrary(function(e,n){c(t,function(t,r){return t?n(t):void e(r)})})};var c=function(e,t){e.s.db.executeDbAdminCommand({serverStatus:1},function(e,n){return null!=e||1!==n.ok?e?t(e,!1):t(r(n),!1):void t(null,n)})};s.classMethod(\"serverStatus\",{callback:!0,promise:!0}),a.prototype.profilingLevel=function(e){var t=this;return\"function\"==typeof e?u(t,e):new this.s.promiseLibrary(function(e,n){u(t,function(t,r){return t?n(t):void e(r)})})};var u=function(e,t){e.s.db.executeDbAdminCommand({profile:-1},function(e,n){if(n=n,null==e&&1===n.ok){var r=n.was;return 0==r?t(null,\"off\"):1==r?t(null,\"slow_only\"):2==r?t(null,\"all\"):t(new Error(\"Error: illegal profiling level value \"+r),null)}null!=e?t(e,null):t(new Error(\"Error with profile command\"),null)})};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.ping=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),\"function\"==typeof t?this.s.db.executeDbAdminCommand({ping:1},t):new this.s.promiseLibrary(function(e,t){n.s.db.executeDbAdminCommand({ping:1},function(n,r){return n?t(n):void e(r)})})},s.classMethod(\"ping\",{callback:!0,promise:!0}),a.prototype.authenticate=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=o(n),n.authdb=\"admin\",\"function\"==typeof r?this.s.db.authenticate(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.authenticate(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"authenticate\",{callback:!0,promise:!0}),a.prototype.logout=function(e){var t=this;return\"function\"==typeof e?this.s.db.logout({authdb:\"admin\"},e):new this.s.promiseLibrary(function(e,n){t.s.db.logout({authdb:\"admin\"},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"logout\",{callback:!0,promise:!0});var p=function(e,t){return e=o(e),e.w||e.wtimeout||e.j||e.fsync?e:(t.writeConcern&&(e.w&&(e.w=t.writeConcern.w),e.wtimeout&&(e.wtimeout=t.writeConcern.wtimeout),e.j&&(e.j=t.writeConcern.j),e.fsync&&(e.fsync=t.writeConcern.fsync)),e)};a.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift():{},n=n||{},n=p(n,i.s.db),n.dbName=\"admin\",\"function\"==typeof r?i.s.db.addUser(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.addUser(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"addUser\",{callback:!0,promise:!0}),a.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},t=p(t,r.s.db),t.dbName=\"admin\",\"function\"==typeof n?r.s.db.removeUser(e,t,n):new this.s.promiseLibrary(function(n,i){r.s.db.removeUser(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"removeUser\",{callback:!0,promise:!0}),a.prototype.setProfilingLevel=function(e,t){var n=this;return\"function\"==typeof t?l(n,e,t):new this.s.promiseLibrary(function(t,r){l(n,e,function(e,n){return e?r(e):void t(n)})})};var l=function(e,t,n){var r={},i=0;if(\"off\"==t)i=0;else if(\"slow_only\"==t)i=1;else{if(\"all\"!=t)return n(new Error(\"Error: illegal profiling level value \"+t));i=2}r.profile=i,e.s.db.executeDbAdminCommand(r,function(e,r){return r=r,null==e&&1===r.ok?n(null,t):null!=e?n(e,null):n(new Error(\"Error with profile command\"),null)})};s.classMethod(\"setProfilingLevel\",{callback:!0,promise:!0}),a.prototype.profilingInfo=function(e){var t=this;return\"function\"==typeof e?f(t,e):new this.s.promiseLibrary(function(e,n){f(t,function(t,r){return t?n(t):void e(r)})})};var f=function(e,t){try{e.s.topology.cursor(\"admin.system.profile\",{find:\"system.profile\",query:{}},{}).toArray(t)}catch(n){return t(n,null)}};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.validateCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},\"function\"==typeof n?d(r,e,t,n):new this.s.promiseLibrary(function(n,i){d(r,e,t,function(e,t){return e?i(e):void n(t)})})};var d=function(e,t,n,r){for(var i={validate:t},o=Object.keys(n),a=0;a<o.length;a++)n.hasOwnProperty(o[a])&&(i[o[a]]=n[o[a]]);e.s.db.command(i,function(e,n){return null!=e?r(e,null):0===n.ok?r(new Error(\"Error with validate command\"),null):null!=n.result&&n.result.constructor!=String?r(new Error(\"Error with validation data\"),null):null!=n.result&&null!=n.result.match(/exception|corrupt/)?r(new Error(\"Error: invalid collection \"+t),null):null==n.valid||n.valid?r(null,n):r(new Error(\"Error: invalid collection \"+t),null)})};s.classMethod(\"validateCollection\",{callback:!0,promise:!0}),a.prototype.listDatabases=function(e){var t=this;return\"function\"==typeof e?t.s.db.executeDbAdminCommand({listDatabases:1},{},e):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({listDatabases:1},{},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"listDatabases\",{callback:!0,promise:!0}),a.prototype.replSetGetStatus=function(e){var t=this;return\"function\"==typeof e?h(t,e):new this.s.promiseLibrary(function(e,n){h(t,function(t,r){return t?n(t):void e(r)})})};var h=function(e,t){e.s.db.executeDbAdminCommand({replSetGetStatus:1},function(e,n){return null==e&&1===n.ok?t(null,n):e?t(e,!1):void t(r(n),!1)})};s.classMethod(\"replSetGetStatus\",{callback:!0,promise:!0}),t.exports=a},{\"./metadata\":231,\"./utils\":239}],217:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\"),e(\"mongodb-core\").MongoError),o=e(\"stream\").Readable||e(\"readable-stream\").Readable,a=e(\"./metadata\"),s=e(\"./cursor\"),c=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference,function(t,r,i,a,u,p){s.apply(this,Array.prototype.slice.call(arguments,0));var l=c.INIT,f={},d=null,h=a.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),o.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:a,topology:u,topologyOptions:p,promiseLibrary:h}});r(c,o);for(var u in s.prototype)c.prototype[u]=s.prototype[u];var p=c.define=new a(\"AggregationCursor\",c,!0);c.prototype.batchSize=function(e){if(this.s.state==c.CLOSED||this.isDead())throw i.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw i.create({message:\"batchSize requires an integer\",drvier:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},p.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[c]}),c.prototype.geoNear=function(e){return this.s.cmd.pipeline.push({$geoNear:e}),this},p.classMethod(\"geoNear\",{callback:!1,promise:!1,returns:[c]}),c.prototype.group=function(e){return this.s.cmd.pipeline.push({$group:e}),this},p.classMethod(\"group\",{callback:!1,promise:!1,returns:[c]}),c.prototype.limit=function(e){return this.s.cmd.pipeline.push({$limit:e}),this},p.classMethod(\"limit\",{callback:!1,promise:!1,returns:[c]}),c.prototype.match=function(e){return this.s.cmd.pipeline.push({$match:e}),this},p.classMethod(\"match\",{callback:!1,promise:!1,returns:[c]}),c.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},p.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[c]}),c.prototype.out=function(e){return this.s.cmd.pipeline.push({$out:e}),this},p.classMethod(\"out\",{callback:!1,promise:!1,returns:[c]}),c.prototype.project=function(e){return this.s.cmd.pipeline.push({$project:e}),this},p.classMethod(\"project\",{callback:!1,promise:!1,returns:[c]}),c.prototype.lookup=function(e){return this.s.cmd.pipeline.push({$lookup:e}),this},p.classMethod(\"lookup\",{callback:!1,promise:!1,returns:[c]}),c.prototype.redact=function(e){return this.s.cmd.pipeline.push({$redact:e}),this},p.classMethod(\"redact\",{callback:!1,promise:!1,returns:[c]}),c.prototype.skip=function(e){return this.s.cmd.pipeline.push({\n$skip:e}),this},p.classMethod(\"skip\",{callback:!1,promise:!1,returns:[c]}),c.prototype.sort=function(e){return this.s.cmd.pipeline.push({$sort:e}),this},p.classMethod(\"sort\",{callback:!1,promise:!1,returns:[c]}),c.prototype.unwind=function(e){return this.s.cmd.pipeline.push({$unwind:e}),this},p.classMethod(\"unwind\",{callback:!1,promise:!1,returns:[c]}),c.prototype.get=c.prototype.toArray,p.classMethod(\"toArray\",{callback:!0,promise:!0}),p.classMethod(\"each\",{callback:!0,promise:!1}),p.classMethod(\"forEach\",{callback:!0,promise:!1}),p.classMethod(\"next\",{callback:!0,promise:!0}),p.classMethod(\"close\",{callback:!0,promise:!0}),p.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),p.classMethod(\"rewind\",{callback:!1,promise:!1}),p.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),p.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),c.INIT=0,c.OPEN=1,c.CLOSED=2,t.exports=c}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],218:[function(e,t,n){var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./aggregation_cursor\"),a=e(\"./command_cursor\"),s=e(\"./bulk/ordered\").OrderedBulkOperation,c=e(\"./bulk/unordered\").UnorderedBulkOperation,u=e(\"./gridfs/grid_store\"),p=(e(\"./server\"),e(\"./replset\"),e(\"./mongos\"),e(\"./cursor\")),l=e(\"./collection\"),f=e(\"./db\"),d=(e(\"./admin\"),{operationId:1,next:function(){return this.operationId++}}),h={current:function(){return(new Date).getTime()},duration:function(e,t){return t-e}},m=[\"authenticate\",\"saslStart\",\"saslContinue\",\"getnonce\",\"createUser\",\"updateUser\",\"copydbgetnonce\",\"copydbsaslstart\",\"copydb\"],v=function(t,n,i){n=n||{};var v=n.operationIdGenerator||d,g=n.timestampGenerator||h;r.call(this),this.overloads=[];var y=function(e){for(var t=[],n=[u,s,c,a,o,p,l,f],r=0;r<n.length;r++)n[r].define&&t.push(n[r].define.generate());e(null,t)};\"function\"==typeof i&&y(i);var b=this,x=[\"command\",\"insert\",\"update\",\"remove\"],w=t.Server.prototype;x.forEach(function(e){var n=w[e];b.overloads.push({proto:w,name:e,func:n}),w[e]=function(){var r=t.Query.nextRequestId(),i=Array.prototype.slice.call(arguments,0),o=i[0],a=i[1],s=i[2]||{},c=Object.keys(a),u=c[0],p=o.split(\".\")[0];if(\"insert\"!=e||this.lastIsMaster().maxWireVersion)if(\"update\"!=e||this.lastIsMaster().maxWireVersion)if(\"remove\"!=e||this.lastIsMaster().maxWireVersion){if(\"insert\"==e||\"update\"==e||\"remove\"==e&&this.lastIsMaster().maxWireVersion>=2)return n.apply(this,i)}else{u=\"delete\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={\"delete\":l,deletes:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"update\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={update:l,updates:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"insert\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={insert:l,documents:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}var f=i.pop(),d=f.operationId||v.next(),h=this.s.pool.get(),y={command:a,databaseName:p,commandName:u,requestId:r,operationId:d,connectionId:h};m.indexOf(u.toLowerCase())&&(y.commandObj={},y.commandObj[u]=!0),b.emit(\"started\",y);var x=g.current();i.push(function(e,t){var n=g.current(),i={duration:g.duration(x,n),commandName:u,requestId:r,operationId:d,connectionId:h};e||t&&t.result&&0==t.result.ok?(i.failure=e||t.result.writeErrors||t.result,m.indexOf(u.toLowerCase())&&(i.failure={}),b.emit(\"failed\",i)):a&&a.writeConcern&&0==a.writeConcern.w?(i.reply={ok:1},b.emit(\"succeeded\",i)):(i.reply=t&&t.result?t.result:t,-1!=m.indexOf(u.toLowerCase())&&(i.reply={}),b.emit(\"succeeded\",i)),f(e,t)}),n.apply(this,i)}});var x=[\"execute\"],_=[e(\"./bulk/ordered\").Bulk.prototype,e(\"./bulk/unordered\").Bulk.prototype];_.forEach(function(e){x.forEach(function(t){var n=e[t];b.overloads.push({proto:e,name:t,func:n}),e[t]=function(){var e=Array.prototype.slice.call(arguments,0);this.operationId=v.next();var t=e.pop();return\"function\"!=typeof t?n.apply(this,e):(e.push(function(e,n){t(e,n)}),void n.apply(this,e))}})});var x=[\"_find\",\"_getmore\",\"_killcursor\"],_=[e(\"./cursor\").prototype,e(\"./command_cursor\").prototype,e(\"./aggregation_cursor\").prototype],k={_find:\"find\",_getmore:\"getMore\",_killcursor:\"killCursors\",_explain:\"explain\"};_.forEach(function(e){x.forEach(function(n){var r=e[n];b.overloads.push({proto:e,name:n,func:r}),e[n]=function(){var e=this,i=t.Query.nextRequestId(),o=v.next(),a=this.ns.split(\".\"),s=a[0];a.shift();var c=a.join(\".\"),u=this.query,p=this.s.cmd;\"_find\"==n&&(e.operationId=o),\"_getmore\"==n?(u={getMore:this.cursorState.cursorId,collection:c,batchSize:p.batchSize},p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS)):\"_killcursors\"==n?u={killCursors:c,cursors:[this.cursorState.cursorId]}:p.find?(u={find:c,filter:p.query},p.sort&&(u.sort=p.sort),p.fields&&(u.projection=p.fields),p.limit&&p.limit<0?(u.limit=Math.abs(p.limit),u.singleBatch=!0):p.limit&&(u.limit=Math.abs(p.limit)),p.skip&&(u.skip=p.skip),p.hint&&(u.hint=p.hint),p.batchSize&&(u.batchSize=p.batchSize),\"boolean\"==typeof p.returnKey&&(u.returnKey=p.returnKey),p.comment&&(u.comment=p.comment),p.min&&(u.min=p.min),p.max&&(u.max=p.max),p.maxScan&&(u.maxScan=p.maxScan),p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS),\"boolean\"==typeof p.awaitData&&(u.awaitData=p.awaitData),\"boolean\"==typeof p.snapshot&&(u.snapshot=p.snapshot),\"boolean\"==typeof p.tailable&&(u.tailable=p.tailable),\"boolean\"==typeof p.oplogReplay&&(u.oplogReplay=p.oplogReplay),\"boolean\"==typeof p.noCursorTimeout&&(u.noCursorTimeout=p.noCursorTimeout),\"boolean\"==typeof p.partial&&(u.partial=p.partial),\"boolean\"==typeof p.showDiskLoc&&(u.showRecordId=p.showDiskLoc),p.readConcern&&(u.readConcern=p.readConcern),p.explain&&(u.explain=p.explain),p.exhaust&&(u.exhaust=p.exhaust),p.explain&&(u={explain:u,verbosity:\"allPlansExecution\"},p.readConcern&&(u.readConcern=p.readConcern),n=\"_explain\")):u=p;var l=null;this.connection&&(l=this.connection),!l&&this.server&&this.server.getConnection&&(l=this.server.getConnection());var f=\"_find\"==n?Object.keys(u)[0]:k[n],u={command:u,databaseName:s,commandName:f,requestId:i,operationId:this.operationId,connectionId:l},d=Array.prototype.slice.call(arguments,0),h=d.pop();if(\"function\"!=typeof h&&\"killCursors\"!=u.commandName){d.push(h);var m=r.apply(this,d);return new e.s.promiseLibrary(function(t,n){var r=g.current();b.emit(\"started\",u),m.then(function(t){var n={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:e.cursorState.documents};b.emit(\"succeeded\",n)})[\"catch\"](function(t){var a={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",a),n(t)})})}var y=g.current();if(b.emit(\"started\",u),\"killCursors\"==u.commandName&&this.server.lastIsMaster()&&this.server.lastIsMaster().maxWireVersion<4){var u={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:[{ok:1}]};return b.emit(\"succeeded\",u)}d.push(function(t,n){if(t){var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",r)}else{\"getmore\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,nextBatch:e.cursorState.documents},ok:1}:\"find\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,firstBatch:e.cursorState.documents},ok:1}:\"killcursors\"==f.toLowerCase()&&null==n&&(n={cursorsUnknown:[e.cursorState.lastCursorId],ok:1});var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:n&&n.result?n.result:n};b.emit(\"succeeded\",r)}h&&h(t,n)}),r.apply(this,d)}})})};i(v,r),v.prototype.uninstrument=function(){for(var e=0;e<this.overloads.length;e++){var t=this.overloads[e];t.proto[t.name]=t.func}this.removeAllListeners(\"started\"),this.removeAllListeners(\"succeeded\"),this.removeAllListeners(\"failed\")},t.exports=v},{\"./admin\":216,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./collection\":222,\"./command_cursor\":223,\"./cursor\":224,\"./db\":225,\"./gridfs/grid_store\":230,\"./mongos\":233,\"./replset\":235,\"./server\":236,events:void 0,util:void 0}],219:[function(e,t,n){\"use strict\";var r=(e(\"../utils\"),e(\"mongodb-core\").BSON.Long),i=e(\"mongodb-core\").BSON.Timestamp,o=8,a=22,s=64,c=65,u=1,p=2,l=3,f=function(e,t,n){return null!=n.w||null!=n.j||null!=n.fsync?e.writeConcern=n:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern),e},d=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},h=function(e,t){this.originalZeroIndex=t,this.currentIndex=0,this.originalIndexes=[],this.batchType=e,this.operations=[],this.size=0,this.sizeBytes=0},m=function(e,t,n){this.batchType=e,this.index=n,this.operation=t},v=function(e){d(this,\"ok\",e.ok),d(this,\"nInserted\",e.nInserted),d(this,\"nUpserted\",e.nUpserted),d(this,\"nMatched\",e.nMatched),d(this,\"nModified\",e.nModified),d(this,\"nRemoved\",e.nRemoved),this.getInsertedIds=function(){return e.insertedIds},this.getUpsertedIds=function(){return e.upserted},this.getUpsertedIdAt=function(t){return e.upserted[t]},this.getRawResponse=function(){return e},this.hasWriteErrors=function(){return e.writeErrors.length>0},this.getWriteErrorCount=function(){return e.writeErrors.length},this.getWriteErrorAt=function(t){return t<e.writeErrors.length?e.writeErrors[t]:null},this.getWriteErrors=function(){return e.writeErrors},this.getLastOp=function(){return e.lastOp},this.getWriteConcernError=function(){if(0==e.writeConcernErrors.length)return null;if(1==e.writeConcernErrors.length)return e.writeConcernErrors[0];for(var t=\"\",n=0;n<e.writeConcernErrors.length;n++){var r=e.writeConcernErrors[n];t+=r.errmsg,0==n&&(t+=\" and \")}return new g({errmsg:t,code:s})},this.toJSON=function(){return e},this.toString=function(){return\"BulkWriteResult(\"+this.toJSON(e)+\")\"},this.isOk=function(){return 1==e.ok}},g=function(e){return this instanceof g?(d(this,\"code\",e.code),d(this,\"errmsg\",e.errmsg),this.toJSON=function(){return{code:e.code,errmsg:e.errmsg}},void(this.toString=function(){return\"WriteConcernError(\"+e.errmsg+\")\"})):new g(e)},y=function(e){return this instanceof y?(d(this,\"code\",e.code),d(this,\"index\",e.index),d(this,\"errmsg\",e.errmsg),this.getOperation=function(){return e.op},this.toJSON=function(){return{code:e.code,index:e.index,errmsg:e.errmsg,op:e.op}},void(this.toString=function(){return\"WriteError(\"+JSON.stringify(this.toJSON())+\")\"})):new y(e)},b=function(e,t,n,o,a){if(o)a=o;else if(a&&a.result)a=a.result;else if(null==a)return;if(0==a.ok&&1==n.ok){n.ok=0;var s={index:0,code:a.code||0,errmsg:a.message,op:t.operations[0]};return void n.writeErrors.push(new y(s))}if(0!=a.ok||0!=n.ok){if(a.opTime||a.lastOp){var c=a.lastOp||a.opTime,f=null,d=null;if(c instanceof i)null==n.lastOp?n.lastOp=c:c.greaterThan(n.lastOp)&&(n.lastOp=c);else{n.lastOp&&(f=\"number\"==typeof n.lastOp.ts?r.fromNumber(n.lastOp.ts):n.lastOp.ts,d=\"number\"==typeof n.lastOp.t?r.fromNumber(n.lastOp.t):n.lastOp.t);var h=\"number\"==typeof c.ts?r.fromNumber(c.ts):c.ts,m=\"number\"==typeof c.t?r.fromNumber(c.t):c.t;null==n.lastOp?n.lastOp=c:h.greaterThan(f)?n.lastOp=c:h.equals(f)&&m.greaterThan(d)&&(n.lastOp=c)}}t.batchType==u&&a.n&&(n.nInserted=n.nInserted+a.n),t.batchType==l&&a.n&&(n.nRemoved=n.nRemoved+a.n);var v=0;if(Array.isArray(a.upserted)){v=a.upserted.length;for(var b=0;b<a.upserted.length;b++)n.upserted.push({index:a.upserted[b].index+t.originalZeroIndex,_id:a.upserted[b]._id})}else a.upserted&&(v=1,n.upserted.push({index:t.originalZeroIndex,_id:a.upserted}));if(t.batchType==p&&a.n){var x=a.nModified;n.nUpserted=n.nUpserted+v,n.nMatched=n.nMatched+(a.n-v),\"number\"==typeof x?n.nModified=n.nModified+x:n.nModified=null}if(Array.isArray(a.writeErrors))for(var b=0;b<a.writeErrors.length;b++){var s={index:t.originalZeroIndex+a.writeErrors[b].index,code:a.writeErrors[b].code,errmsg:a.writeErrors[b].errmsg,op:t.operations[a.writeErrors[b].index]};n.writeErrors.push(new y(s))}a.writeConcernError&&n.writeConcernErrors.push(new g(a.writeConcernError))}},x=function(e){for(var t={},n=Object.keys(e),r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t};n.BulkWriteResult=v,n.WriteError=y,n.Batch=h,n.LegacyOp=m,n.mergeBatchResults=b,n.cloneOptions=x,n.writeConcern=f,n.INVALID_BSON_ERROR=a,n.WRITE_CONCERN_ERROR=s,n.MULTIPLE_ERROR=c,n.UNKNOWN_ERROR=o,n.INSERT=u,n.UPDATE=p,n.REMOVE=l},{\"../utils\":239,\"mongodb-core\":188}],220:[function(e,t,n){(function(n){\"use strict\";function r(t,r,o){o=null==o?{}:o;var a=!1,s=null,u=t.bson,p=r.collectionName,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=i.writeConcern(c(o),r,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentBatch:null,currentIndex:0,currentBatchSize:0,currentBatchSizeBytes:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:p,bson:u,topology:t,options:o,currentOp:s,executed:a,collection:r,promiseLibrary:h,err:null,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}}var i=e(\"./common\"),o=e(\"../utils\"),a=e(\"../utils\").toError,s=(e(\"util\").format,e(\"../utils\").handleCallback),c=o.shallowClone,u=(i.WriteError,i.BulkWriteResult),p=(i.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),l=e(\"../metadata\"),f=e(\"mongodb-core\").BSON,d=i.Batch,h=i.mergeBatchResults,m=new f.BSONPure,v=function(e){this.s=e.s};v.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.replaceOne=function(e){this.updateOne(e)},v.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},v.prototype.deleteOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.removeOne=v.prototype.deleteOne,v.prototype[\"delete\"]=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.remove=v.prototype[\"delete\"];var g=function(e,t,n){var r=m.calculateObjectSize(n,!1);if(r>=e.s.maxBatchSizeBytes)throw a(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(null==e.s.currentBatch&&(e.s.currentBatch=new d(t,e.s.currentIndex)),e.s.currentBatchSize+1>=e.s.maxWriteBatchSize||e.s.currentBatchSizeBytes+e.s.currentBatchSizeBytes>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t?(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new d(t,e.s.currentIndex),e.s.currentBatchSize=0,e.s.currentBatchSizeBytes=0):(e.s.currentBatchSize=e.s.currentBatchSize+1,e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r),t==i.INSERT&&e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id}),Array.isArray(n))throw a(\"operation passed in cannot be an Array\");return e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentBatch.operations.push(n),e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r,e.s.currentIndex=e.s.currentIndex+1,e},y=r.define=new l(\"OrderedBulkOperation\",r,!1);r.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,g(this,i.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var r=!e.updateOne&&!e.replaceOne,o={q:e[t].filter,u:e[t].update||e[t].replacement,multi:r};return o.upsert=!!e[t].upsert,g(this,i.UPDATE,o)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,g(this,i.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,o={q:e[t].filter,limit:s};return g(this,i.REMOVE,o)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new p),g(this,i.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new p),g(this,i.INSERT,e.insertOne.document);if(!e.insertMany)throw a(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new p),g(this,i.INSERT,e.insertMany[c])},r.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new p),g(this,i.INSERT,e)},r.prototype.find=function(e){if(!e)throw a(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new v(this)},Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}});var b=function(e,t){if(0==e.s.batches.length)return s(t,null,new u(e.s.bulkResult));var n=e.s.batches.shift(),r=function(r,i){if(r&&r.driver||r&&r.message)return s(t,r);r&&(r.ok=0);var o=h(!0,n,e.s.bulkResult,r,i);return null!=o?s(t,null,new u(e.s.bulkResult)):e.s.bulkResult.writeErrors.length>0?s(t,a(e.s.bulkResult.writeErrors[0]),new u(e.s.bulkResult)):void b(e,t)},o={ordered:!0};null!=e.s.writeConcern&&(o.writeConcern=e.s.writeConcern),e.operationId&&(r.operationId=e.operationId),e.s.options.serializeFunctions&&(o.serializeFunctions=!0),e.s.options.ignoreUndefined&&(o.ignoreUndefined=!0),1==e.s.bypassDocumentValidation&&(o.bypassDocumentValidation=!0);try{n.batchType==i.INSERT?e.s.topology.insert(e.s.collection.namespace,n.operations,o,r):n.batchType==i.UPDATE?e.s.topology.update(e.s.collection.namespace,n.operations,o,r):n.batchType==i.REMOVE&&e.s.topology.remove(e.s.collection.namespace,n.operations,o,r)}catch(c){c.ok=0,s(t,null,h(!1,n,e.s.bulkResult,c,null))}};r.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw new a(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentBatch&&this.s.batches.push(this.s.currentBatch),0==this.s.batches.length)throw a(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?b(this,t):new this.s.promiseLibrary(function(e,t){b(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var x=function(e,t,n){return new r(e,t,n)};x.OrderedBulkOperation=r,t.exports=x,t.exports.Bulk=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],221:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./common\"),i=e(\"../utils\"),o=e(\"../utils\").toError,a=(e(\"util\").format,e(\"../utils\").handleCallback),s=i.shallowClone,c=(r.WriteError,r.BulkWriteResult),u=(r.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),p=e(\"mongodb-core\").BSON,l=e(\"../metadata\"),f=r.Batch,d=r.mergeBatchResults,h=new p.BSONPure,m=function(e){this.s=e.s};m.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.replaceOne=function(e){this.updateOne(e)},m.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},m.prototype.removeOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,v(this,r.REMOVE,e)},m.prototype.remove=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,v(this,r.REMOVE,e)};var v=function(e,t,n){var i=h.calculateObjectSize(n,!1);if(i>=e.s.maxBatchSizeBytes)throw o(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(e.s.currentBatch=null,t==r.INSERT?e.s.currentBatch=e.s.currentInsertBatch:t==r.UPDATE?e.s.currentBatch=e.s.currentUpdateBatch:t==r.REMOVE&&(e.s.currentBatch=e.s.currentRemoveBatch),null==e.s.currentBatch&&(e.s.currentBatch=new f(t,e.s.currentIndex)),(e.s.currentBatch.size+1>=e.s.maxWriteBatchSize||e.s.currentBatch.sizeBytes+i>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t)&&(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new f(t,e.s.currentIndex)),Array.isArray(n))throw o(\"operation passed in cannot be an Array\");return e.s.currentBatch.operations.push(n),e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentIndex=e.s.currentIndex+1,t==r.INSERT?(e.s.currentInsertBatch=e.s.currentBatch,e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id})):t==r.UPDATE?e.s.currentUpdateBatch=e.s.currentBatch:t==r.REMOVE&&(e.s.currentRemoveBatch=e.s.currentBatch),e.s.currentBatch.size=e.s.currentBatch.size+1,e.s.currentBatch.sizeBytes=e.s.currentBatch.sizeBytes+i,e},g=function(t,i,o){o=null==o?{}:o;var a=i.collectionName,c=!1,u=null,p=t.bson,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=r.writeConcern(s(o),i,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentInsertBatch:null,currentUpdateBatch:null,currentRemoveBatch:null,currentBatch:null,currentIndex:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:a,bson:p,topology:t,options:o,currentOp:u,executed:c,collection:i,promiseLibrary:h,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}},y=g.define=new l(\"UnorderedBulkOperation\",g,!1);g.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new u),v(this,r.INSERT,e)},g.prototype.find=function(e){if(!e)throw o(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new m(this)},Object.defineProperty(g.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}}),g.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,v(this,r.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var i=!e.updateOne&&!e.replaceOne,a={q:e[t].filter,u:e[t].update||e[t].replacement,multi:i};return e[t].upsert&&(a.upsert=!0),v(this,r.UPDATE,a)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,v(this,r.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,a={q:e[t].filter,limit:s};return v(this,r.REMOVE,a)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new u),v(this,r.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new u),v(this,r.INSERT,e.insertOne.document);if(!e.insertMany)throw o(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new u),v(this,r.INSERT,e.insertMany[c])};var b=function(e,t,n){var i={ordered:!1};null!=e.s.writeConcern&&(i.writeConcern=e.s.writeConcern);var o=function(r,i){return r&&r.driver||r&&r.message?a(n,r):(r&&(r.ok=0),void a(n,null,d(!1,t,e.s.bulkResult,r,i)))};e.operationId&&(o.operationId=e.operationId),e.s.options.serializeFunctions&&(i.serializeFunctions=!0),1==e.s.bypassDocumentValidation&&(i.bypassDocumentValidation=!0);try{t.batchType==r.INSERT?e.s.topology.insert(e.s.collection.namespace,t.operations,i,o):t.batchType==r.UPDATE?e.s.topology.update(e.s.collection.namespace,t.operations,i,o):t.batchType==r.REMOVE&&e.s.topology.remove(e.s.collection.namespace,t.operations,i,o)}catch(s){s.ok=0,a(n,null,d(!1,t,e.s.bulkResult,s,null))}},x=function(e,t){for(var n=e.s.batches.length,r=0;r<e.s.batches.length;r++)b(e,e.s.batches[r],function(r,i){if(r&&(s=r),n-=1,0==n){if(s)return a(t,s);var s=e.s.bulkResult.writeErrors.length>0?o(e.s.bulkResult.writeErrors[0]):null;a(t,s,new c(e.s.bulkResult))}})};g.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw o(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentInsertBatch&&this.s.batches.push(this.s.currentInsertBatch),this.s.currentUpdateBatch&&this.s.batches.push(this.s.currentUpdateBatch),this.s.currentRemoveBatch&&this.s.batches.push(this.s.currentRemoveBatch),0==this.s.batches.length)throw o(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?x(this,t):new this.s.promiseLibrary(function(e,t){x(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var w=function(e,t,n){return new g(e,t,n)};w.UnorderedBulkOperation=g,t.exports=w,t.exports.Bulk=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],222:[function(e,t,n){(function(n,r){\"use strict\";function i(e){if(!d(e))return e;for(var t,n=Object.keys(e),r=n.length,o={};r--;)t=n[r],\"function\"==typeof e[t]?o[t]=new c(String(e[t])):o[t]=i(e[t]);return o}var o=e(\"./utils\").checkCollectionName,a=e(\"mongodb-core\").BSON.ObjectID,s=e(\"mongodb-core\").BSON.Long,c=e(\"mongodb-core\").BSON.Code,u=e(\"util\").format,p=e(\"./aggregation_cursor\"),l=e(\"mongodb-core\").MongoError,f=e(\"./utils\").shallowClone,d=e(\"./utils\").isObject,h=e(\"./utils\").toError,m=e(\"./utils\").normalizeHintField,v=e(\"./utils\").handleCallback,g=e(\"./utils\").decorateCommand,y=e(\"./utils\").formattedOrderClause,b=e(\"./read_preference\"),x=e(\"mongodb-core\").ReadPreference,w=e(\"./command_cursor\"),_=e(\"./metadata\"),k=e(\"./cursor\"),j=e(\"./bulk/unordered\"),S=e(\"./bulk/ordered\"),E=function(t,n,i,s,c,p){o(s);var l=null,f=null==p||null==p.slaveOk?t.slaveOk:p.slaveOk,d=null==p||null==p.serializeFunctions?t.serializeFunctions:p.serializeFunctions,h=null==p||null==p.raw?t.raw:p.raw,m=null,v=null,g=u(\"%s.%s\",i,s),y=p.promiseLibrary;y||(y=\"function\"==typeof r.Promise?r.Promise:e(\"es6-promise\").Promise),p&&p.readPreference?m=p.readPreference:t.options.readPreference&&(m=t.options.readPreference),c=null==c?a:c,this.s={pkFactory:c,db:t,topology:n,dbName:i,options:p,namespace:g,readPreference:m,raw:h,slaveOk:f,serializeFunctions:d,internalHint:l,collectionHint:v,name:s,promiseLibrary:y,readConcern:p.readConcern}},O=E.define=new _(\"Collection\",E,!1);Object.defineProperty(E.prototype,\"collectionName\",{enumerable:!0,get:function(){return this.s.name}}),Object.defineProperty(E.prototype,\"namespace\",{enumerable:!0,get:function(){return this.s.namespace}}),Object.defineProperty(E.prototype,\"readConcern\",{enumerable:!0,get:function(){return this.s.readConcern||{level:\"local\"}}}),Object.defineProperty(E.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}}),Object.defineProperty(E.prototype,\"hint\",{enumerable:!0,get:function(){return this.s.collectionHint},set:function(e){this.s.collectionHint=m(e)}}),E.prototype.find=function(){var e,t=Array.prototype.slice.call(arguments,0),r=\"function\"==typeof t[t.length-1],i=\"function\"==typeof t[0],o=r?t.pop():i?t.shift():null,s=t.length,c=s>=1?t[0]:{},u=s>=2?t[1]:void 0;if(1===s&&i&&(c={},e=t[0]),2!==s||void 0===u||Array.isArray(u)){if(2===s&&Array.isArray(u)&&!Array.isArray(u[0])){for(var p={},f=0;f<u.length;f++)p[u[f]]=1;u=p}}else{for(var d=Object.keys(u),h=!1,f=0;f<d.length;f++)if(null!=me[d[f]]){h=!0;break}h?(e=u,u=void 0):e={}}3===s&&(e=t[2]),c=null==c?{}:c;var g=c;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query selector raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}var g=u;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query fields raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}if((c instanceof a||null!=c&&\"ObjectID\"==c._bsontype)&&(c={_id:c}),e&&e.fields&&!n.isBuffer(e.fields))if(u={},Array.isArray(e.fields))if(e.fields.length)for(var f=0,w=e.fields.length;w>f;f++)u[e.fields[f]]=1;else u._id=1;else u=e.fields;e||(e={});var _={};for(var k in e)_[k]=e[k];if(_.skip=s>3?t[2]:e.skip?e.skip:0,_.limit=s>3?t[3]:e.limit?e.limit:0,_.raw=null!=e.raw&&\"boolean\"==typeof e.raw?e.raw:this.s.raw,_.hint=null!=e.hint?m(e.hint):this.s.collectionHint,_.timeout=5==s?t[4]:\"undefined\"==typeof e.timeout?void 0:e.timeout,_.slaveOk=null!=e.slaveOk?e.slaveOk:this.s.db.slaveOk,_=he(this,_,this.s.db,this),null==_.readPreference||\"primary\"==_.readPreference&&\"primary\"==_.readPreference.mode||(_.slaveOk=!0),null!=c&&\"object\"!=typeof c)throw l.create({message:\"query selector must be an object\",driver:!0});var j={find:this.s.namespace,limit:_.limit,skip:_.skip,query:c};\"boolean\"==typeof _.awaitdata&&(_.awaitData=_.awaitdata),\"boolean\"==typeof _.timeout&&(_.noCursorTimeout=_.timeout);for(var S in _)null!=_[S]&&(j[S]=_[S]);var E=function(e){var t={};if(Array.isArray(e))for(var n=0;n<e.length;n++)Array.isArray(e[n])?t[e[n][0]]=e[n][1]:t[e[n][0]]=1;else t=e;return t};return u&&(j.fields=E(u)),_.db=this.s.db,_.promiseLibrary=this.s.promiseLibrary,null==_.raw&&this.s.raw&&(_.raw=this.s.raw),j.sort&&(j.sort=y(j.sort)),this.s.readConcern&&(j.readConcern=this.s.readConcern),\"function\"==typeof o?v(o,null,this.s.topology.cursor(this.s.namespace,j,_)):this.s.topology.cursor(this.s.namespace,j,_)},O.classMethod(\"find\",{callback:!1,promise:!1,returns:[k]}),E.prototype.insertOne=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&\"function\"==typeof n?n(l.create({message:\"doc parameter must be an object\",driver:!0})):Array.isArray(e)?new this.s.promiseLibrary(function(e,t){t(l.create({message:\"doc parameter must be an object\",driver:!0}))}):(this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var A=function(e,t,n,r){I(e,[t],n,function(e,n){if(null!=r){if(e&&r)return r(e);if(null==n)return r(null,{result:{ok:1}});n.insertedCount=n.result.n,n.insertedId=t._id,r&&r(null,n)}})},C=function(e,t){\nfor(var n=t.getInsertedIds(),r=Object.keys(n),i=new Array(r.length),o=0;o<r.length;o++)n[r[o]]._id&&(i[n[r[o]].index]=n[r[o]]._id);var a={result:{ok:1,n:t.insertedCount},ops:e,insertedCount:t.insertedCount,insertedIds:i};return t.getLastOp()&&(a.result.opTime=t.getLastOp()),a};O.classMethod(\"insertOne\",{callback:!0,promise:!0}),E.prototype.insertMany=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e)&&\"function\"==typeof n)return n(l.create({message:\"docs parameter must be an array of documents\",driver:!0}));if(!Array.isArray(e))return new this.s.promiseLibrary(function(e,t){t(l.create({message:\"docs parameter must be an array of documents\",driver:!0}))});\"boolean\"!=typeof t.checkKeys&&(t.checkKeys=!0),t.serializeFunctions=t.serializeFunctions||r.s.serializeFunctions;var i=\"boolean\"==typeof t.forceServerObjectId?t.forceServerObjectId:r.s.db.options.forceServerObjectId;if(i!==!0)for(var o=0;o<e.length;o++)null==e[o]._id&&(e[o]._id=r.s.pkFactory.createPk());var a=[{insertMany:e}];return\"function\"==typeof n?T(r,a,t,function(t,r){return t?n(t,r):void n(null,C(e,r))}):new this.s.promiseLibrary(function(n,i){T(r,a,t,function(t,r){return t?i(t):void n(C(e,r))})})},O.classMethod(\"insertMany\",{callback:!0,promise:!0}),E.prototype.bulkWrite=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e))throw l.create({message:\"operations must be an array of documents\",driver:!0});return\"function\"==typeof n?T(r,e,t,n):new this.s.promiseLibrary(function(n,i){T(r,e,t,function(e,t){return e&&null==t?i(e):void n(t)})})};var T=function(e,t,n,r){e.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=e.s.options.ignoreUndefined);var i=1==n.ordered||null==n.ordered?e.initializeOrderedBulkOp(n):e.initializeUnorderedBulkOp(n);try{for(var o=0;o<t.length;o++)i.raw(t[o])}catch(a){return r(a,null)}var s=de(f(n),e.s.db,e,n),c=s.writeConcern?s.writeConcern:{};i.execute(c,function(e,t){if(!t&&e)return r(e,null);if(t&&t.hasWriteErrors()&&1==t.getWriteErrorCount())return r(h(t.getWriteErrorAt(0)),t);t.insertedCount=t.nInserted,t.matchedCount=t.nMatched,t.modifiedCount=t.nModified||0,t.deletedCount=t.nRemoved,t.upsertedCount=t.getUpsertedIds().length,t.upsertedIds={},t.insertedIds={},t.n=t.insertedCount;for(var n=t.getInsertedIds(),i=0;i<n.length;i++)t.insertedIds[n[i].index]=n[i]._id;for(var o=t.getUpsertedIds(),i=0;i<o.length;i++)t.upsertedIds[o[i].index]=o[i]._id;if(t.hasWriteErrors()){var a=t.getWriteErrors();return r(h({message:\"write operation failed\",code:a[0].code,writeErrors:a}),t)}return t.getWriteConcernError()?r(h(t.getWriteConcernError()),t):void r(null,t)})},I=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={}),n=n||{},t=Array.isArray(t)?t:[t];var i=de(f(n),e.s.db,e,n);\"boolean\"!=typeof i.checkKeys&&(i.checkKeys=!0),1==i.keepGoing&&(i.ordered=!1),i.serializeFunctions=n.serializeFunctions||e.s.serializeFunctions;var o=\"boolean\"==typeof n.forceServerObjectId?n.forceServerObjectId:e.s.db.options.forceServerObjectId;if(o!==!0)for(var a=0;a<t.length;a++)null==t[a]._id&&(t[a]._id=e.s.pkFactory.createPk());e.s.topology.insert(e.s.namespace,t,i,function(e,n){if(null!=r){if(e)return v(r,e);if(null==n)return v(r,null,null);if(n.result.code)return v(r,h(n.result));if(n.result.writeErrors)return v(r,h(n.result.writeErrors[0]));n.ops=t,v(r,null,n)}})};O.classMethod(\"bulkWrite\",{callback:!0,promise:!0}),E.prototype.insert=function(e,t,n){return\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!1},e=Array.isArray(e)?e:[e],1==t.keepGoing&&(t.ordered=!1),this.insertMany(e,t,n)},O.classMethod(\"insert\",{callback:!0,promise:!0}),E.prototype.updateOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?P(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){P(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var P=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateOne\",{callback:!0,promise:!0}),E.prototype.replaceOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,t.ops=[n],i&&i(null,t)}})};O.classMethod(\"replaceOne\",{callback:!0,promise:!0}),E.prototype.updateMany=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){r.multi=!0,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateMany\",{callback:!0,promise:!0});var z=function(e,t,n,r,i){if(\"function\"==typeof r&&(i=r,r=null),null==r&&(r={}),\"function\"!=typeof i&&(i=null),null==t||\"object\"!=typeof t)return i(h(\"selector must be a valid JavaScript object\"));if(null==n||\"object\"!=typeof n)return i(h(\"document must be a valid JavaScript object\"));var o=de(f(r),e.s.db,e,r);o.serializeFunctions=r.serializeFunctions||e.s.serializeFunctions;var a={q:t,u:n};a.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,a.multi=\"boolean\"==typeof r.multi?r.multi:!1,e.s.topology.update(e.s.namespace,[a],o,function(e,t){return null!=i?e?v(i,e,null):null==t?v(i,null,null):t.result.code?v(i,h(t.result)):t.result.writeErrors?v(i,h(t.result.writeErrors[0])):void v(i,null,t):void 0})};E.prototype.update=function(e,t,n,r){var i=this;return this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?z(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){z(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},O.classMethod(\"update\",{callback:!0,promise:!0}),E.prototype.deleteOne=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?B(r,e,t,n):new this.s.promiseLibrary(function(n,i){B(r,e,t,function(e,t){return e?i(e):void n(t)})})};var B=function(e,t,n,r){n.single=!0,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})};O.classMethod(\"deleteOne\",{callback:!0,promise:!0}),E.prototype.removeOne=E.prototype.deleteOne,O.classMethod(\"removeOne\",{callback:!0,promise:!0}),E.prototype.deleteMany=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?N(r,e,t,n):new this.s.promiseLibrary(function(n,i){N(r,e,t,function(e,t){return e?i(e):void n(t)})})};var N=function(e,t,n,r){n.single=!1,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})},D=function(e,t,n,r){\"function\"==typeof n?(r=n,n={}):\"function\"==typeof t&&(r=t,n={},t={}),n=n||{};var i=de(f(n),e.s.db,e,n);null==t&&(t={});var o={q:t,limit:0};n.single&&(o.limit=1),e.s.topology.remove(e.s.namespace,[o],i,function(e,t){return null!=r?e?v(r,e,null):null==t?v(r,null,null):t.result.code?v(r,h(t.result)):t.result.writeErrors?v(r,h(t.result.writeErrors[0])):void v(r,null,t):void 0})};O.classMethod(\"deleteMany\",{callback:!0,promise:!0}),E.prototype.removeMany=E.prototype.deleteMany,O.classMethod(\"removeMany\",{callback:!0,promise:!0}),E.prototype.remove=function(e,t,n){var r=this;return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})},O.classMethod(\"remove\",{callback:!0,promise:!0}),E.prototype.save=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?q(r,e,t,n):new this.s.promiseLibrary(function(n,i){q(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r){var i=de(f(n),e.s.db,e,n);return null!=t._id?(i.upsert=!0,z(e,{_id:t._id},t,i,r)):void I(e,[t],n,function(e,n){return null!=r?null==t?v(r,null,null):e?v(r,e,null):void v(r,null,n):void 0})};O.classMethod(\"save\",{callback:!0,promise:!0}),E.prototype.findOne=function(){var e=this,t=Array.prototype.slice.call(arguments,0),n=t.pop();return\"function\"!=typeof n&&t.push(n),\"function\"==typeof n?R(e,t,n):new this.s.promiseLibrary(function(n,r){R(e,t,function(e,t){return e?r(e):void n(t)})})};var R=function(e,t,n){var r=e.find.apply(e,t).limit(-1).batchSize(1);r.next(function(e,t){return null!=e?v(n,h(e),null):void v(n,null,t)})};O.classMethod(\"findOne\",{callback:!0,promise:!0}),E.prototype.rename=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?L(r,e,t,n):new this.s.promiseLibrary(function(n,i){L(r,e,t,function(e,t){return e?i(e):void n(t)})})};var L=function(e,t,n,r){o(t);var i=u(\"%s.%s\",e.s.dbName,e.s.name),a=u(\"%s.%s\",e.s.dbName,t),s=\"boolean\"==typeof n.dropTarget?n.dropTarget:!1,c={renameCollection:i,to:a,dropTarget:s};e.s.db.admin().command(c,n,function(n,i){if(n)return v(r,n,null);if(i.errmsg)return v(r,h(i),null);try{return v(r,null,new E(e.s.db,e.s.topology,e.s.dbName,t,e.s.pkFactory,e.s.options))}catch(n){return v(r,h(n),null)}})};O.classMethod(\"rename\",{callback:!0,promise:!0}),E.prototype.drop=function(e){var t=this;return\"function\"==typeof e?t.s.db.dropCollection(t.s.name,e):new this.s.promiseLibrary(function(e,n){t.s.db.dropCollection(t.s.name,function(t,r){return t?n(t):void e(r)})})},O.classMethod(\"drop\",{callback:!0,promise:!0}),E.prototype.options=function(e){var t=this;return\"function\"==typeof e?$(t,e):new this.s.promiseLibrary(function(e,n){$(t,function(t,r){return t?n(t):void e(r)})})};var $=function(e,t){e.s.db.listCollections({name:e.s.name}).toArray(function(n,r){return n?v(t,n):0==r.length?v(t,l.create({message:u(\"collection %s not found\",e.s.namespace),driver:!0})):void v(t,n,r[0].options||null)})};O.classMethod(\"options\",{callback:!0,promise:!0}),E.prototype.isCapped=function(e){var t=this;return\"function\"==typeof e?U(t,e):new this.s.promiseLibrary(function(e,n){U(t,function(t,r){return t?n(t):void e(r)})})};var U=function(e,t){e.options(function(e,n){return e?v(t,e):void v(t,null,n&&n.capped)})};O.classMethod(\"isCapped\",{callback:!0,promise:!0}),E.prototype.createIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t=\"function\"==typeof n?t:n,t=null==t?{}:t,\"function\"==typeof n?H(r,e,t,n):new this.s.promiseLibrary(function(n,i){H(r,e,t,function(e,t){return e?i(e):void n(t)})})};var H=function(e,t,n,r){e.s.db.createIndex(e.s.name,t,n,r)};O.classMethod(\"createIndex\",{callback:!0,promise:!0}),E.prototype.createIndexes=function(e,t){var n=this;return\"function\"==typeof t?V(n,e,t):new this.s.promiseLibrary(function(t,r){V(n,e,function(e,n){return e?r(e):void t(n)})})};var V=function(e,t,n){for(var r=0;r<t.length;r++)if(null==t[r].name){var i=[];for(var o in t[r].key)i.push(u(\"%s_%s\",o,t[r].key[o]));t[r].name=i.join(\"_\")}e.s.db.command({createIndexes:e.s.name,indexes:t},{readPreference:b.PRIMARY},n)};O.classMethod(\"createIndexes\",{callback:!0,promise:!0}),E.prototype.dropIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t.readPreference=b.PRIMARY,\"function\"==typeof n?W(r,e,t,n):new this.s.promiseLibrary(function(n,i){W(r,e,t,function(e,t){return e?i(e):void n(t)})})};var W=function(e,t,n,r){var i={deleteIndexes:e.s.name,index:t};e.s.db.command(i,n,function(e,t){return\"function\"==typeof r?e?v(r,e,null):void v(r,null,t):void 0})};O.classMethod(\"dropIndex\",{callback:!0,promise:!0}),E.prototype.dropIndexes=function(e){var t=this;return\"function\"==typeof e?Y(t,e):new this.s.promiseLibrary(function(e,n){Y(t,function(t,r){return t?n(t):void e(r)})})};var Y=function(e,t){e.dropIndex(\"*\",function(e,n){return e?v(t,e,!1):void v(t,null,!0)})};O.classMethod(\"dropIndexes\",{callback:!0,promise:!0}),E.prototype.dropAllIndexes=E.prototype.dropIndexes,O.classMethod(\"dropAllIndexes\",{callback:!0,promise:!0}),E.prototype.reIndex=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={}),e=e||{},\"function\"==typeof t?K(n,e,t):new this.s.promiseLibrary(function(t,r){K(n,e,function(e,n){return e?r(e):void t(n)})})};var K=function(e,t,n){var r={reIndex:e.s.name};e.s.db.command(r,t,function(e,t){return null!=n?e?v(n,e,null):void v(n,null,!!t.ok):void 0})};O.classMethod(\"reIndex\",{callback:!0,promise:!0}),E.prototype.listIndexes=function(e){if(e=e||{},e=f(e),e.cursorFactory=w,e.promiseLibrary=this.s.promiseLibrary,!this.s.topology.capabilities())throw new l(\"cannot connect to server\");if(this.s.topology.capabilities().hasListIndexesCommand){var t=e.batchSize?{batchSize:e.batchSize}:{},n={listIndexes:this.s.name,cursor:t},t=this.s.topology.cursor(u(\"%s.$cmd\",this.s.dbName),n,e);return e.readPreference&&t.setReadPreference(e.readPreference),t}var r=u(\"%s.system.indexes\",this.s.dbName),t=this.s.topology.cursor(r,{find:r,query:{ns:this.s.namespace}},e);return e.readPreference&&t.setReadPreference(e.readPreference),e.batchSize&&(t=t.batchSize(e.batchSize)),t},O.classMethod(\"listIndexes\",{callback:!1,promise:!1,returns:[w]}),E.prototype.ensureIndex=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?G(r,e,t,n):new this.s.promiseLibrary(function(n,i){G(r,e,t,function(e,t){return e?i(e):void n(t)})})};var G=function(e,t,n,r){e.s.db.ensureIndex(e.s.name,t,n,r)};O.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),E.prototype.indexExists=function(e,t){var n=this;return\"function\"==typeof t?J(n,e,t):new this.s.promiseLibrary(function(t,r){J(n,e,function(e,n){return e?r(e):void t(n)})})};var J=function(e,t,n){e.indexInformation(function(e,r){if(null!=e)return v(n,e,null);if(!Array.isArray(t))return v(n,null,null!=r[t]);for(var i=0;i<t.length;i++)if(null==r[t[i]])return v(n,null,!1);return v(n,null,!0)})};O.classMethod(\"indexExists\",{callback:!0,promise:!0}),E.prototype.indexInformation=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?Z(n,e,t):new this.s.promiseLibrary(function(t,r){Z(n,e,function(e,n){return e?r(e):void t(n)})})};var Z=function(e,t,n){e.s.db.indexInformation(e.s.name,t,n)};O.classMethod(\"indexInformation\",{callback:!0,promise:!0}),E.prototype.count=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n);var o=i.length?i.shift()||{}:{},a=i.length?i.shift()||{}:{};return\"function\"==typeof n?Q(r,o,a,n):(e=e||{},t=t||{},new this.s.promiseLibrary(function(n,i){Q(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var Q=function(e,t,n,r){var i=n.skip,o=n.limit,a=n.hint,s=(n.maxTimeMS,{count:e.s.name,query:t});\"number\"==typeof i&&(s.skip=i),\"number\"==typeof o&&(s.limit=o),a&&(n.hint=a),n=f(n),n=he(e,n,e.s.db,e),e.s.readConcern&&(s.readConcern=e.s.readConcern),e.s.db.command(s,n,function(e,t){return e?v(r,e):void v(r,null,t.n)})};O.classMethod(\"count\",{callback:!0,promise:!0}),E.prototype.distinct=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);r=o.pop(),\"function\"!=typeof r&&o.push(r);var a=o.length?o.shift()||{}:{},s=o.length?o.shift()||{}:{};return\"function\"==typeof r?X(i,e,a,s,r):(t=t||{},n=n||{},new this.s.promiseLibrary(function(r,o){X(i,e,t,n,function(e,t){return e?o(e):void r(t)})}))};var X=function(e,t,n,r,i){var o=(r.maxTimeMS,{distinct:e.s.name,key:t,query:n});r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):void v(i,null,t.values)})};O.classMethod(\"distinct\",{callback:!0,promise:!0}),E.prototype.indexes=function(e){var t=this;return\"function\"==typeof e?ee(t,e):new this.s.promiseLibrary(function(e,n){ee(t,function(t,r){return t?n(t):void e(r)})})};var ee=function(e,t){e.s.db.indexInformation(e.s.name,{full:!0},t)};O.classMethod(\"indexes\",{callback:!0,promise:!0}),E.prototype.stats=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?te(n,e,t):new this.s.promiseLibrary(function(t,r){te(n,e,function(e,n){return e?r(e):void t(n)})})};var te=function(e,t,n){var r={collStats:e.s.name};null!=t.scale&&(r.scale=t.scale),t=f(t),t=he(e,t,e.s.db,e),e.s.db.command(r,t,n)};O.classMethod(\"stats\",{callback:!0,promise:!0}),E.prototype.findOneAndDelete=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");return\"function\"==typeof n?ne(r,e,t,n):new this.s.promiseLibrary(function(n,i){t=t||{},ne(r,e,t,function(e,t){return e?i(e):void n(t)})})};var ne=function(e,t,n,r){var i=f(n);i.fields=n.projection,i.remove=!0,e.findAndModify(t,n.sort,null,i,r)};O.classMethod(\"findOneAndDelete\",{callback:!0,promise:!0}),E.prototype.findOneAndReplace=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"replacement parameter must be an object\");return\"function\"==typeof r?re(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},re(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var re=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndReplace\",{callback:!0,promise:!0}),E.prototype.findOneAndUpdate=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"update parameter must be an object\");return\"function\"==typeof r?ie(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},ie(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ie=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndUpdate\",{callback:!0,promise:!0}),E.prototype.findAndModify=function(e,t,n,r,i){var o=this,a=Array.prototype.slice.call(arguments,1);i=a.pop(),\"function\"!=typeof i&&a.push(i),t=a.length?a.shift()||[]:[],n=a.length?a.shift():null,r=a.length?a.shift()||{}:{};var r=f(r);return r.readPreference=b.PRIMARY,\"function\"==typeof i?oe(o,e,t,n,r,i):new this.s.promiseLibrary(function(i,a){r=r||{},oe(o,e,t,n,r,function(e,t){return e?a(e):void i(t)})})};var oe=function(e,t,n,r,i,o){var a={findandmodify:e.s.name,query:t};n=y(n),n&&(a.sort=n),a[\"new\"]=!!i[\"new\"],a.remove=!!i.remove,a.upsert=!!i.upsert,i.fields&&(a.fields=i.fields),r&&!i.remove&&(a.update=r),null!=i.serializeFunctions?i.serializeFunctions=i.serializeFunctions:i.serializeFunctions=e.s.serializeFunctions,i.checkKeys=!1;var s=de(i,e.s.db,e,i);s.writeConcern&&(a.writeConcern=s.writeConcern),\"boolean\"==typeof s.bypassDocumentValidation&&(a.bypassDocumentValidation=s.bypassDocumentValidation),e.s.db.command(a,i,function(e,t){return e?v(o,e,null):v(o,null,t)})};O.classMethod(\"findAndModify\",{callback:!0,promise:!0}),E.prototype.findAndRemove=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift()||[]:[],n=o.length?o.shift()||{}:{},\"function\"==typeof r?ae(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ae(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ae=function(e,t,n,r,i){r.remove=!0,e.findAndModify(t,n,null,r,i)};O.classMethod(\"findAndRemove\",{callback:!0,promise:!0}),E.prototype.aggregate=function(e,t,n){if(Array.isArray(e))\"function\"==typeof t&&(n=t,t={}),null==t&&null==n&&(t={});else{var r=Array.prototype.slice.call(arguments,0);n=r.pop();var i=r[r.length-1];t=i&&(i.readPreference||i.explain||i.cursor||i.out||i.maxTimeMS||i.allowDiskUse)?r.pop():{},e=r}var o=!1;\"string\"==typeof t.out?(e.push({$out:t.out}),o=!0):e.length>0&&e[e.length-1].$out&&(o=!0);var a={aggregate:this.s.name,pipeline:e};if(\"boolean\"==typeof t.bypassDocumentValidation&&(a.bypassDocumentValidation=t.bypassDocumentValidation),!o&&this.s.readConcern&&(a.readConcern=this.s.readConcern),t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),t=f(t),t=he(this,t,this.s.db,this),t.explain&&(a.explain=t.explain),null!=t.cursor&&\"object\"!=typeof t.cursor)throw h(\"cursor options must be an object\");if(t.promiseLibrary=this.s.promiseLibrary,t.cursorFactory=p,\"function\"!=typeof n){if(!this.s.topology.capabilities())throw new l(\"cannot connect to server\");return this.s.topology.capabilities().hasAggregationCursor&&(t.cursor=t.cursor||{batchSize:1e3},a.cursor=t.cursor),\"boolean\"==typeof t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),this.s.topology.cursor(this.s.namespace,a,t)}return t.cursor?this.s.topology.cursor(this.s.namespace,a,t):void this.s.db.command(a,t,function(e,t){e?v(n,e):t.err||t.errmsg?v(n,h(t)):\"object\"==typeof t&&t.serverPipeline?v(n,null,t.serverPipeline):\"object\"==typeof t&&t.stages?v(n,null,t.stages):v(n,null,t.result)})},O.classMethod(\"aggregate\",{callback:!0,promise:!1}),E.prototype.parallelCollectionScan=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={numCursors:1}),e.numCursors=e.numCursors||1,e.batchSize=e.batchSize||1e3,e=f(e),e=he(this,e,this.s.db,this),e.promiseLibrary=this.s.promiseLibrary,\"function\"==typeof t?se(n,e,t):new this.s.promiseLibrary(function(t,r){se(n,e,function(e,n){return e?r(e):void t(n)})})};var se=function(e,t,n){var r={parallelCollectionScan:e.s.name,numCursors:t.numCursors};e.s.readConcern&&(r.readConcern=e.s.readConcern);var i=t.raw;delete t.raw,e.s.db.command(r,t,function(r,o){if(r)return v(n,r,null);if(null==o)return v(n,new Error(\"no result returned for parallelCollectionScan\"),null);var a=[];i&&(t.raw=i);for(var c=0;c<o.cursors.length;c++){var u=o.cursors[c].cursor.id,p=\"number\"==typeof u?s.fromNumber(u):u;({batchSize:t.batchSize,cursorId:p,items:o.cursors[c].cursor.firstBatch});a.push(e.s.topology.cursor(e.s.namespace,p,t))}v(n,null,a)})};O.classMethod(\"parallelCollectionScan\",{callback:!0,promise:!0}),E.prototype.geoNear=function(e,t,n,r){var i=this,o=\"object\"==typeof e&&e,a=Array.prototype.slice.call(arguments,o?1:2);return r=a.pop(),\"function\"!=typeof r&&a.push(r),n=a.length?a.shift()||{}:{},\"function\"==typeof r?ce(i,e,t,o,n,r):new this.s.promiseLibrary(function(r,a){ce(i,e,t,o,n,function(e,t){return e?a(e):void r(t)})})};var ce=function(e,t,n,r,i,o){var a={geoNear:e.s.name,near:r||[t,n]};i=f(i),i=he(e,i,e.s.db,e);var s={readPreference:!0,geoNear:!0,near:!0};a=g(a,i,s),e.s.readConcern&&(a.readConcern=e.s.readConcern),e.s.db.command(a,i,function(e,t){return e?v(o,e):t.err||t.errmsg?v(o,h(t)):void v(o,null,t)})};O.classMethod(\"geoNear\",{callback:!0,promise:!0}),E.prototype.geoHaystackSearch=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?ue(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ue(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ue=function(e,t,n,r,i){var o={geoSearch:e.s.name,near:[t,n]};o=g(o,r,{readPreference:!0}),r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):((t.err||t.errmsg)&&v(i,utils.toError(t)),void v(i,null,t))})};O.classMethod(\"geoHaystackSearch\",{callback:!0,promise:!0});var pe='function () {\\nvar c = db[ns].find(condition);\\nvar map = new Map();\\nvar reduce_function = reduce;\\n\\nwhile (c.hasNext()) {\\nvar obj = c.next();\\nvar key = {};\\n\\nfor (var i = 0, len = keys.length; i < len; ++i) {\\nvar k = keys[i];\\nkey[k] = obj[k];\\n}\\n\\nvar aggObj = map.get(key);\\n\\nif (aggObj == null) {\\nvar newObj = Object.extend({}, key);\\naggObj = Object.extend(newObj, initial);\\nmap.put(key, aggObj);\\n}\\n\\nreduce_function(obj, aggObj);\\n}\\n\\nreturn { \"result\": map.values() };\\n}';E.prototype.group=function(e,t,n,r,i,o,a,s){var u=this,p=Array.prototype.slice.call(arguments,3);return s=p.pop(),\"function\"!=typeof s&&p.push(s),r=p.length?p.shift():null,i=p.length?p.shift():null,o=p.length?p.shift():null,a=p.length?p.shift()||{}:{},\"function\"!=typeof i&&(o=i,i=null),Array.isArray(e)||!(e instanceof Object)||\"function\"==typeof e||e instanceof c||(e=Object.keys(e)),\"function\"==typeof r&&(r=r.toString()),\"function\"==typeof i&&(i=i.toString()),o=null==o?!0:o,\"function\"==typeof s?le(u,e,t,n,r,i,o,a,s):new this.s.promiseLibrary(function(s,c){le(u,e,t,n,r,i,o,a,function(e,t){return e?c(e):void s(t)})})};var le=function(e,t,n,r,i,o,a,s,u){if(a){var p=i instanceof c?i:new c(i),l={group:{ns:e.s.name,$reduce:p,cond:n,initial:r,out:\"inline\"}};if(null!=o&&(l.group.finalize=o),\"function\"==typeof t||t instanceof c)l.group.$keyf=t instanceof c?t:new c(t);else{var d={};t.forEach(function(e){d[e]=1}),l.group.key=d}s=f(s),s=he(e,s,e.s.db,e),e.s.readConcern&&(l.readConcern=e.s.readConcern),e.s.db.command(l,s,function(e,t){return e?v(u,e,null):void v(u,null,t.retval)})}else{var h=null!=i&&i instanceof c?i.scope:{};h.ns=e.s.name,h.keys=t,h.condition=n,h.initial=r;var m=pe.replace(/ reduce;/,i.toString()+\";\");e.s.db.eval(new c(m,h),function(e,t){return e?v(u,e,null):void v(u,null,t.result||t)})}};O.classMethod(\"group\",{callback:!0,promise:!0}),E.prototype.mapReduce=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),null==n.out)throw new Error(\"the out option parameter must be defined, see mongodb docs for possible values\");return\"function\"==typeof e&&(e=e.toString()),\"function\"==typeof t&&(t=t.toString()),\"function\"==typeof n.finalize&&(n.finalize=n.finalize.toString()),\"function\"==typeof r?fe(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){fe(i,e,t,n,function(e,t,n){return e?o(e):n?void r({results:t,stats:n}):r(t)})})};var fe=function(e,t,n,r,o){var a={mapreduce:e.s.name,map:t,reduce:n};for(var s in r)\"scope\"==s?a[s]=i(r[s]):a[s]=r[s];r=f(r),r=he(e,r,e.s.db,e),0!=r.readPreference&&\"primary\"!=r.readPreference&&r.out&&1!=r.out.inline&&\"inline\"!=r.out?r.readPreference=\"primary\":e.s.readConcern&&(a.readConcern=e.s.readConcern),\"boolean\"==typeof r.bypassDocumentValidation&&(a.bypassDocumentValidation=r.bypassDocumentValidation),e.s.db.command(a,{readPreference:r.readPreference},function(t,n){if(t)return v(o,t);if(1!=n.ok||n.err||n.errmsg)return v(o,h(n));var i={};if(n.timeMillis&&(i.processtime=n.timeMillis),n.counts&&(i.counts=n.counts),n.timing&&(i.timing=n.timing),n.results)return null!=r.verbose&&r.verbose?v(o,null,n.results,i):v(o,null,n.results);var a=null;if(null!=n.result&&\"object\"==typeof n.result){var s=n.result;a=e.s.db.db(s.db).collection(s.collection)}else a=e.s.db.collection(n.result);return null!=r.verbose&&r.verbose?void v(o,t,a,i):v(o,t,a)})};O.classMethod(\"mapReduce\",{callback:!0,promise:!0}),E.prototype.initializeUnorderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,j(this.s.topology,this,e)},O.classMethod(\"initializeUnorderedBulkOp\",{callback:!1,promise:!1,returns:[S.UnorderedBulkOperation]}),E.prototype.initializeOrderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,S(this.s.topology,this,e)},O.classMethod(\"initializeOrderedBulkOp\",{callback:!1,promise:!1,returns:[S.OrderedBulkOperation]});var de=function(e,t,n,r){if(null!=r.w||null!=r.j||null!=r.fsync){var i={};null!=r.w&&(i.w=r.w),null!=r.wtimeout&&(i.wtimeout=r.wtimeout),null!=r.j&&(i.j=r.j),null!=r.fsync&&(i.fsync=r.fsync),e.writeConcern=i}else null!=n.writeConcern.w||null!=n.writeConcern.j||null!=n.writeConcern.fsync?e.writeConcern=n.writeConcern:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},he=function(e,t,n,r){var i=null;if(t.readPreference?i=t.readPreference:e.s.readPreference?i=e.s.readPreference:n.readPreference&&(i=n.readPreference),i instanceof b)t.readPreference=new x(i.mode,i.tags);else if(\"string\"==typeof i)t.readPreference=new x(i);else if(i&&!(i instanceof b)&&\"object\"==typeof i){var o=i.mode||i.preference;o&&\"string\"==typeof o&&(t.readPreference=new x(o,i.tags))}return t},me={limit:1,sort:1,fields:1,skip:1,hint:1,explain:1,snapshot:1,timeout:1,tailable:1,tailableRetryInterval:1,numberOfRetries:1,awaitdata:1,awaitData:1,exhaust:1,batchSize:1,returnKey:1,maxScan:1,min:1,max:1,showDiskLoc:1,comment:1,raw:1,readPreference:1,partial:1,read:1,dbName:1,oplogReplay:1,connection:1,maxTimeMS:1,transforms:1};t.exports=E}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")},\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],223:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\")),o=e(\"mongodb-core\").MongoError,a=e(\"stream\").Readable||e(\"readable-stream\").Readable,s=e(\"./metadata\"),c=e(\"./cursor\"),u=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),p=function(t,r,i,o,s,u){c.apply(this,Array.prototype.slice.call(arguments,0));var l=p.INIT,f={},d=null,h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:s,topologyOptions:u,promiseLibrary:h}};r(p,a);for(var l=[\"_next\",\"next\",\"each\",\"forEach\",\"toArray\",\"rewind\",\"bufferedCount\",\"readBufferedDocuments\",\"close\",\"isClosed\",\"kill\",\"_find\",\"_getmore\",\"_killcursor\",\"isDead\",\"explain\",\"isNotified\",\"isKilled\"],f=0;f<l.length;f++)p.prototype[l[f]]=c.prototype[l[f]];var d=p.define=new s(\"CommandCursor\",p,!0);p.prototype.setReadPreference=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({\nmessage:\"Cursor is closed\",driver:!0});if(this.s.state!=p.INIT)throw o.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof i?this.s.options.readPreference=new u(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new u(e):e instanceof u&&(this.s.options.readPreference=e),this},d.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[p]}),p.prototype.batchSize=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw o.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},d.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[p]}),p.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},d.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[p]}),p.prototype.get=p.prototype.toArray,d.classMethod(\"get\",{callback:!0,promise:!1}),d.classMethod(\"toArray\",{callback:!0,promise:!0}),d.classMethod(\"each\",{callback:!0,promise:!1}),d.classMethod(\"forEach\",{callback:!0,promise:!1}),d.classMethod(\"next\",{callback:!0,promise:!0}),d.classMethod(\"close\",{callback:!0,promise:!0}),d.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),d.classMethod(\"rewind\",{callback:!1,promise:!1}),d.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),d.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),p.INIT=0,p.OPEN=1,p.CLOSED=2,t.exports=p}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],224:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"util\").format,o=e(\"./utils\").formattedOrderClause,a=e(\"./utils\").handleCallback,s=e(\"./read_preference\"),c=e(\"mongodb-core\").MongoError,u=e(\"stream\").Readable||e(\"readable-stream\").Readable,p=e(\"./metadata\"),l=e(\"mongodb-core\").Cursor,f=e(\"mongodb-core\").BSON.Map,d=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),h=[\"tailable\",\"oplogReplay\",\"noCursorTimeout\",\"awaitData\",\"exhaust\",\"partial\"],m=[\"numberOfRetries\",\"tailableRetryInterval\"],v=Array.prototype.push,g=function(t,r,i,o,a,s){l.apply(this,Array.prototype.slice.call(arguments,0));var c=this,p=g.INIT,f={},d=o.numberOfRetries||5,h=o.tailableRetryInterval||500,m=d,v=o.promiseLibrary;v||(v=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),u.call(this,{objectMode:!0}),this.s={numberOfRetries:d,tailableRetryInterval:h,currentNumberOfRetries:m,state:p,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:a,topologyOptions:s,promiseLibrary:v,currentDoc:null},this.timeout=1==c.s.options.noCursorTimeout,this.sortValue=c.s.cmd.sort};r(g,u),l.prototype._next=l.prototype.next;for(var y in l.prototype)g.prototype[y]=l.prototype[y];var b=g.define=new p(\"Cursor\",g,!0);g.prototype.hasNext=function(e){var t=this;return\"function\"==typeof e?t.s.currentDoc?e(null,!0):x(t,function(n,r){return r?(t.s.currentDoc=r,void e(null,!0)):e(null,!1)}):new this.s.promiseLibrary(function(e,n){t.s.currentDoc?e(!0):x(t,function(r,i){return t.s.state==g.CLOSED||t.isDead()?e(!1):r?n(r):i?(t.s.currentDoc=i,void e(!0)):e(!1)})})},b.classMethod(\"hasNext\",{callback:!0,promise:!0}),g.prototype.next=function(e){var t=this;if(\"function\"==typeof e){if(t.s.currentDoc){var n=t.s.currentDoc;return t.s.currentDoc=null,e(null,n)}return x(t,e)}return new this.s.promiseLibrary(function(e,n){if(t.s.currentDoc){var r=t.s.currentDoc;return t.s.currentDoc=null,e(r)}x(t,function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.filter=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.query=e,this},b.classMethod(\"filter\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxScan=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxScan=e,this},b.classMethod(\"maxScan\",{callback:!1,promise:!1,returns:[g]}),g.prototype.hint=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.hint=e,this},b.classMethod(\"hint\",{callback:!1,promise:!1,returns:[g]}),g.prototype.min=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.min=e,this},b.classMethod(\"min\",{callback:!1,promise:!1,returns:[g]}),g.prototype.max=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.max=e,this},b.classMethod(\"max\",{callback:!1,promise:!1,returns:[g]}),g.prototype.returnKey=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.returnKey=e,this},b.classMethod(\"returnKey\",{callback:!1,promise:!1,returns:[g]}),g.prototype.showRecordId=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.showDiskLoc=e,this},b.classMethod(\"showRecordId\",{callback:!1,promise:!1,returns:[g]}),g.prototype.snapshot=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.snapshot=e,this},b.classMethod(\"snapshot\",{callback:!1,promise:!1,returns:[g]}),g.prototype.setCursorOption=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==m.indexOf(e))throw c.create({message:i(\"option %s not a supported option %s\",e,m),driver:!0});return this.s[e]=t,\"numberOfRetries\"==e&&(this.s.currentNumberOfRetries=t),this},b.classMethod(\"setCursorOption\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addCursorFlag=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==h.indexOf(e))throw c.create({message:i(\"flag %s not a supported flag %s\",e,h),driver:!0});if(\"boolean\"!=typeof t)throw c.create({message:i(\"flag %s must be a boolean value\",e),driver:!0});return this.s.cmd[e]=t,this},b.classMethod(\"addCursorFlag\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addQueryModifier=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"$\"!=e[0])throw c.create({message:i(\"%s is not a valid query modifier\"),driver:!0});var n=e.substr(1);return this.s.cmd[n]=t,\"orderby\"==n&&(this.s.cmd.sort=this.s.cmd[n]),this},b.classMethod(\"addQueryModifier\",{callback:!1,promise:!1,returns:[g]}),g.prototype.comment=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.comment=e,this},b.classMethod(\"comment\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxAwaitTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxAwaitTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxAwaitTimeMS=e,this},b.classMethod(\"maxAwaitTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxTimeMS=e,this},b.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMs=g.prototype.maxTimeMS,b.classMethod(\"maxTimeMs\",{callback:!1,promise:!1,returns:[g]}),g.prototype.project=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.fields=e,this},b.classMethod(\"project\",{callback:!1,promise:!1,returns:[g]}),g.prototype.sort=function(e,t){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support sorting\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});var n=e;return Array.isArray(n)&&Array.isArray(n[0])&&(n=new f(n.map(function(e){var t=[e[0],null];if(\"asc\"==e[1])t[1]=1;else if(\"desc\"==e[1])t[1]=-1;else{if(1!=e[1]&&-1!=e[1])throw new c(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[1]=e[1]}return t}))),null!=t&&(n=[[e,t]]),this.s.cmd.sort=n,this.sortValue=n,this},b.classMethod(\"sort\",{callback:!1,promise:!1,returns:[g]}),g.prototype.batchSize=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support batchSize\",driver:!0});if(this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.batchSize=e,this.setCursorBatchSize(e),this},b.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[g]}),g.prototype.limit=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support limit\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"limit requires an integer\",driver:!0});return this.s.cmd.limit=e,this.setCursorLimit(e),this},b.classMethod(\"limit\",{callback:!1,promise:!1,returns:[g]}),g.prototype.skip=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support skip\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"skip requires an integer\",driver:!0});return this.s.cmd.skip=e,this.setCursorSkip(e),this},b.classMethod(\"skip\",{callback:!1,promise:!1,returns:[g]}),g.prototype.nextObject=g.prototype.next;var x=function(e,t){if(e.s.state==g.CLOSED||e.isDead&&e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));if(e.s.state==g.INIT&&e.s.cmd.sort)try{e.s.cmd.sort=o(e.s.cmd.sort)}catch(n){return a(t,n)}e._next(function(n,r){return e.s.state=g.OPEN,n?a(t,n):void a(t,null,r)})};b.classMethod(\"nextObject\",{callback:!0,promise:!0});var w=function(e,t){return 0!=e.bufferedCount()?(e._next(t),w):void 0};g.prototype.next=g.prototype.nextObject,b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.each=function(e){this.rewind(),this.s.state=g.INIT,_(this,e)},b.classMethod(\"each\",{callback:!0,promise:!1});var _=function(e,t){if(!t)throw c.create({message:\"callback is mandatory\",driver:!0});if(!e.isNotified()){if(e.s.state==g.CLOSED||e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));e.s.state==g.INIT&&(e.s.state=g.OPEN);var n=null;if(e.bufferedCount()>0){for(;n=w(e,t);)n(e,t);_(e,t)}else e.next(function(n,r){return n?a(t,n):null==r?(e.s.state=g.CLOSED,a(t,null,null)):void(0!=a(t,null,r)&&_(e,t))})}};g.prototype.forEach=function(e,t){this.each(function(n,r){if(n)return t(n),!1;if(null!=r)return e(r),!0;if(null==r&&t){var i=t;return t=null,i(null),!1}})},b.classMethod(\"forEach\",{callback:!0,promise:!1}),g.prototype.setReadPreference=function(e){if(this.s.state!=g.INIT)throw c.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof s?this.s.options.readPreference=new d(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new d(e):e instanceof d&&(this.s.options.readPreference=e),this},b.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[g]}),g.prototype.toArray=function(e){var t=this;if(t.s.options.tailable)throw c.create({message:\"Tailable cursor cannot be converted to array\",driver:!0});return\"function\"==typeof e?k(t,e):new this.s.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){var n=[];e.rewind(),e.s.state=g.INIT;var r=function(){e._next(function(i,o){if(i)return a(t,i);if(null==o)return e.s.state=g.CLOSED,a(t,null,n);if(n.push(o),e.bufferedCount()>0){var s=e.readBufferedDocuments(e.bufferedCount());e.s.transforms&&\"function\"==typeof e.s.transforms.doc&&(s=s.map(e.s.transforms.doc)),v.apply(n,s)}r()})};r()};b.classMethod(\"toArray\",{callback:!0,promise:!0}),g.prototype.count=function(e,t,n){var r=this;if(null==r.s.cmd.query)throw c.create({message:\"count can only be used with find command\",driver:!0});return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?j(r,e,t,n):new this.s.promiseLibrary(function(n,i){j(r,e,t,function(e,t){return e?i(e):void n(t)})})};var j=function(e,t,n,r){\"function\"==typeof t&&(r=t,t=!0),t&&(\"number\"==typeof e.cursorSkip()&&(n.skip=e.cursorSkip()),\"number\"==typeof e.cursorLimit()&&(n.limit=e.cursorLimit()));var o=e.s.ns.indexOf(\".\"),a={count:e.s.ns.substr(o+1),query:e.s.cmd.query};\"number\"==typeof n.maxTimeMS?a.maxTimeMS=n.maxTimeMS:e.s.cmd&&\"number\"==typeof e.s.cmd.maxTimeMS&&(a.maxTimeMS=e.s.cmd.maxTimeMS),n.skip&&(a.skip=n.skip),n.limit&&(a.limit=n.limit),e.s.options.hint&&(a.hint=e.s.options.hint),e.topology.command(i(\"%s.$cmd\",e.s.ns.substr(0,o)),a,function(e,t){r(e,t?t.result.n:null)})};b.classMethod(\"count\",{callback:!0,promise:!0}),g.prototype.close=function(e){return this.s.state=g.CLOSED,this.kill(),this.emit(\"close\"),\"function\"==typeof e?a(e,null,this):new this.s.promiseLibrary(function(e,t){e()})},b.classMethod(\"close\",{callback:!0,promise:!0}),g.prototype.map=function(e){return this.cursorState.transforms={doc:e},this},b.classMethod(\"map\",{callback:!1,promise:!1,returns:[g]}),g.prototype.isClosed=function(){return this.isDead()},b.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.destroy=function(e){e&&this.emit(\"error\",e),this.pause(),this.close()},b.classMethod(\"destroy\",{callback:!1,promise:!1}),g.prototype.stream=function(e){return this.s.streamOptions=e||{},this},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[g]}),g.prototype.explain=function(e){var t=this;return this.s.cmd.explain=!0,this.s.cmd.readConcern&&delete this.s.cmd.readConcern,\"function\"==typeof e?this._next(e):new this.s.promiseLibrary(function(e,n){t._next(function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"explain\",{callback:!0,promise:!0}),g.prototype._read=function(e){var t=this;return t.s.state==g.CLOSED||t.isDead()?t.push(null):void t.nextObject(function(e,n){return e?(t.listeners(\"error\")&&t.listeners(\"error\").length>0&&t.emit(\"error\",e),t.isDead()||t.close(),t.emit(\"end\"),t.emit(\"finish\")):\"function\"==typeof t.s.streamOptions.transform&&null!=n?t.push(t.s.streamOptions.transform(n)):t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.doc&&null!=n?t.push(t.cursorState.transforms.doc(n)):void t.push(n)})},Object.defineProperty(g.prototype,\"readPreference\",{enumerable:!0,get:function(){return this&&this.s?this.s.options.readPreference:null}}),Object.defineProperty(g.prototype,\"namespace\",{enumerable:!0,get:function(){if(!this||!this.s)return null;var e=this.s.ns||\"\",t=e.indexOf(\".\");return 0>t?{database:this.s.ns,collection:\"\"}:{database:e.substr(0,t),collection:e.substr(t+1)}}}),g.INIT=0,g.OPEN=1,g.CLOSED=2,g.GET_MORE=3,t.exports=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],225:[function(e,t,n){(function(n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./utils\").getSingleProperty,a=e(\"./utils\").shallowClone,s=e(\"./utils\").parseIndexOptions,c=e(\"./utils\").debugOptions,u=e(\"./command_cursor\"),p=e(\"./utils\").handleCallback,l=e(\"./utils\").toError,f=e(\"./read_preference\"),d=e(\"util\").format,h=e(\"./admin\"),m=e(\"mongodb-core\").BSON.Code,v=e(\"mongodb-core\").ReadPreference,g=e(\"mongodb-core\").MongoError,y=e(\"mongodb-core\").ObjectID,b=e(\"./metadata\"),x=e(\"mongodb-core\").Logger,w=e(\"./collection\"),_=e(\"crypto\"),k=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"numberOfRetries\",\"retryMiliSeconds\",\"readPreference\",\"pkFactory\"],j=function(t,i,a){if(a=a||{},!(this instanceof j))return new j(t,i,a);r.call(this);var s=this,c=a.promiseLibrary;c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.promiseLibrary=c,this.s={databaseName:t,dbCache:{},children:[],topology:i,options:a,logger:x(\"Db\",a),bson:i?i.bson:null,authSource:a.authSource,readPreference:a.readPreference,bufferMaxEntries:\"number\"==typeof a.bufferMaxEntries?a.bufferMaxEntries:-1,parentDb:a.parentDb||null,pkFactory:a.pkFactory||y,nativeParser:a.nativeParser||a.native_parser,promiseLibrary:c,noListener:\"boolean\"==typeof a.noListener?a.noListener:!1,readConcern:a.readConcern},U(s.s.databaseName),\"boolean\"==typeof s.s.nativeParser&&(s.s.nativeParser?i.setBSONParserType(\"c++\"):i.setBSONParserType(\"js\")),o(this,\"serverConfig\",s.s.topology),o(this,\"bufferMaxEntries\",s.s.bufferMaxEntries),o(this,\"databaseName\",s.s.databaseName),a.parentDb||this.s.noListener||(i.on(\"error\",V(s,\"error\",s)),i.on(\"timeout\",V(s,\"timeout\",s)),i.on(\"close\",V(s,\"close\",s)),i.on(\"parseError\",V(s,\"parseError\",s)),i.once(\"open\",V(s,\"open\",s)),i.once(\"fullsetup\",V(s,\"fullsetup\",s)),i.once(\"all\",V(s,\"all\",s)),i.on(\"reconnect\",V(s,\"reconnect\",s)))};i(j,r);var S=j.define=new b(\"Db\",j,!1);Object.defineProperty(j.prototype,\"topology\",{enumerable:!0,get:function(){return this.s.topology}}),Object.defineProperty(j.prototype,\"options\",{enumerable:!0,get:function(){return this.s.options}}),Object.defineProperty(j.prototype,\"native_parser\",{enumerable:!0,get:function(){return\"c++\"==this.s.topology.parserType()}}),Object.defineProperty(j.prototype,\"slaveOk\",{enumerable:!0,get:function(){return null!=this.s.options.readPreference&&(\"primary\"!=this.s.options.readPreference||\"primary\"!=this.s.options.readPreference.mode)}}),Object.defineProperty(j.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}});var E=function(e,t){e.s.topology.connect(e,e.s.options,function(n,r){if(null!=t){var i=t;return n?(e.close(),i(n)):void i(null,e)}})};j.prototype.open=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.s.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"open\",{callback:!0,promise:!0});var O=function(e){if(e&&\"string\"==typeof e)return new v(e);if(e instanceof f)return new v(e.mode,e.tags);if(e&&\"object\"==typeof e){var t=e.mode||e.preference;t&&\"string\"==typeof t&&(e=new v(t,e.tags))}return e},A=function(e,t,n,r){if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i=n.dbName||n.authdb||e.s.databaseName;null==n.readPreference&&e.s.readPreference&&(n.readPreference=e.s.readPreference),n.readPreference&&(n.readPreference=O(n.readPreference)),e.s.logger.isDebug()&&e.s.logger.debug(d(\"executing command %s against %s with options [%s]\",JSON.stringify(t),d(\"%s.$cmd\",i),JSON.stringify(c(k,n)))),e.s.topology.command(d(\"%s.$cmd\",i),t,n,function(e,t){return e?p(r,e):n.full?p(r,null,t):void p(r,null,t.result)})};j.prototype.command=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=a(t),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"command\",{callback:!0,promise:!0}),j.prototype.close=function(e,t){\"function\"==typeof e&&(t=e,e=!1),this.s.topology.close(e);var n=this;if(this.listeners(\"close\").length>0){if(this.emit(\"close\"),null==this.parentDb)for(var r=0;r<this.s.children.length;r++)this.s.children[r].emit(\"close\");n.removeAllListeners(\"close\")}return this.s.parentDb&&this.s.parentDb.close(),\"function\"==typeof t?process.nextTick(function(){p(t,null)}):new this.s.promiseLibrary(function(e,t){e()})},S.classMethod(\"close\",{callback:!0,promise:!0}),j.prototype.admin=function(){return new h(this,this.s.topology,this.s.promiseLibrary)},S.classMethod(\"admin\",{callback:!1,promise:!1,returns:[h]}),j.prototype.collection=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readConcern=t.readConcern||this.s.readConcern,this.s.options.ignoreUndefined&&(t.ignoreUndefined=this.s.options.ignoreUndefined),null==t||!t.strict)try{var i=new w(this,this.s.topology,this.s.databaseName,e,this.s.pkFactory,t);return n&&n(null,i),i}catch(o){if(n)return n(o);throw o}if(\"function\"!=typeof n)throw l(d(\"A callback is required in strict mode. While getting collection %s.\",e));return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):void this.listCollections({name:e}).toArray(function(i,o){if(null!=i)return p(n,i,null);if(0==o.length)return p(n,l(d(\"Collection %s does not exist. Currently in strict mode.\",e)),null);try{return p(n,null,new w(r,r.s.topology,r.s.databaseName,e,r.s.pkFactory,t))}catch(i){return p(n,i,null)}})},S.classMethod(\"collection\",{callback:!0,promise:!1,returns:[w]});var C=function(e,t,n,r){var i=H(a(n),e,n);return e.serverConfig&&e.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):void e.listCollections({name:t}).toArray(function(o,a){if(null!=o)return p(r,o,null);if(a.length>0&&i.strict)return p(r,g.create({message:d(\"Collection %s already exists. Currently in strict mode.\",t),driver:!0}),null);if(a.length>0)try{return p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))}catch(o){return p(r,o)}var s={create:t};for(var c in n)null!=n[c]&&\"function\"!=typeof n[c]&&(s[c]=n[c]);e.command(s,i,function(i,o){return i?p(r,i):void p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))})})};j.prototype.createCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift()||{}:{},t.promiseLibrary=t.promiseLibrary||this.s.promiseLibrary,\"string\"==typeof n&&(e=n),\"function\"==typeof n?C(r,e,t,n):new this.s.promiseLibrary(function(n,i){C(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"createCollection\",{callback:!0,promise:!0}),j.prototype.stats=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=e||{};var n={dbStats:!0};return null!=e.scale&&(n.scale=e.scale),this.command(n,e,t)},S.classMethod(\"stats\",{callback:!0,promise:!0});var T=function(e){var t=d(\"%s.\",e);return{doc:function(e){var n=e.name.indexOf(t);return e.name&&0==n&&(e.name=e.name.substr(n+t.length)),e}}};j.prototype.listCollections=function(e,t){if(e=e||{},t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readPreference&&(t.readPreference=O(t.readPreference)),this.serverConfig.capabilities().hasListCollectionsCommand){var n=t.batchSize?{batchSize:t.batchSize}:{},r={listCollections:!0,filter:e,cursor:n};t.cursorFactory=u;var n=this.s.topology.cursor(d(\"%s.$cmd\",this.s.databaseName),r,t);return t.readPreference&&n.setReadPreference(t.readPreference),n}this.serverConfig.capabilities().hasListCollectionsCommand||\"string\"!=typeof e.name||new RegExp(\"^\"+this.databaseName+\"\\\\.\").test(e.name)||(e=a(e),e.name=d(\"%s.%s\",this.s.databaseName,e.name)),null==e&&(e.name=d(\"/%s/\",this.s.databaseName)),e=e.name?{$and:[{name:e.name},{name:/^((?!\\$).)*$/}]}:{name:/^((?!\\$).)*$/};var i={transforms:T(this.s.databaseName)},n=this.collection(j.SYSTEM_NAMESPACE_COLLECTION).find(e,i);return t.readPreference&&n.setReadPreference(t.readPreference),t.batchSize&&(n=n.batchSize(t.batchSize)),n},S.classMethod(\"listCollections\",{callback:!1,promise:!1,returns:[u]});var I=function(e,t,n,r,i){var o=t,a=[];if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));o instanceof m||(o=new m(o)),null==n||Array.isArray(n)||\"function\"==typeof n?null!=n&&Array.isArray(n)&&\"function\"!=typeof n&&(a=n):a=[n];var s={$eval:o,args:a};r.nolock&&(s.nolock=r.nolock),r.readPreference=new v(f.PRIMARY),e.command(s,r,function(e,t){return e?p(i,e,null):t&&1==t.ok?p(i,null,t.retval):t?p(i,g.create({message:d(\"eval failed: %s\",t.errmsg),driver:!0}),null):void p(i,e,t)})};j.prototype.eval=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift():t,n=o.length?o.shift()||{}:{},\"function\"==typeof r?I(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){I(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"eval\",{callback:!0,promise:!0}),j.prototype.renameCollection=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},n.new_collection=!0,\"function\"==typeof r?this.collection(e).rename(t,n,r):new this.s.promiseLibrary(function(r,o){i.collection(e).rename(t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"renameCollection\",{callback:!0,promise:!0}),j.prototype.dropCollection=function(e,t){var n=this,r={drop:e};return\"function\"==typeof t?this.command(r,this.s.options,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e):r.ok?p(t,null,!0):void p(t,null,!1)}):new this.s.promiseLibrary(function(e,t){n.command(r,n.s.options,function(r,i){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):r?t(r):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropCollection\",{callback:!0,promise:!0}),j.prototype.dropDatabase=function(e){var t=this,n={dropDatabase:1};return\"function\"==typeof e?this.command(n,this.s.options,function(n,r){if(t.serverConfig&&t.serverConfig.isDestroyed())return e(new g(\"topology was destroyed\"));if(null!=e)return n?p(e,n,null):void p(e,null,!!r.ok)}):new this.s.promiseLibrary(function(e,r){t.command(n,t.s.options,function(n,i){return t.serverConfig&&t.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):n?r(n):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropDatabase\",{callback:!0,promise:!0});var P=function(e,t){e.listCollections().toArray(function(n,r){return null!=n?p(t,n,null):(r=r.filter(function(e){return-1==e.name.indexOf(\"$\")}),void p(t,null,r.map(function(t){return new w(e,e.s.topology,e.s.databaseName,t.name.replace(e.s.databaseName+\".\",\"\"),e.s.pkFactory,e.s.options)})))})};j.prototype.collections=function(e){var t=this;return\"function\"==typeof e?P(t,e):new t.s.promiseLibrary(function(e,n){P(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"collections\",{callback:!0,promise:!0}),j.prototype.executeDbAdminCommand=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t.readPreference&&!(t.readPreference instanceof f)&&\"object\"==typeof t.readPreference){var i=t.readPreference.mode||t.readPreference.preference;i&&\"string\"==typeof i&&(t.readPreference=new f(i,readPreference.tags))}return\"function\"==typeof n?r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):e?p(n,e):void p(n,null,t.result)}):new r.s.promiseLibrary(function(n,i){r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):e?i(e):void n(t.result)})})},S.classMethod(\"executeDbAdminCommand\",{callback:!0,promise:!0}),j.prototype.createIndex=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},n=\"function\"==typeof r?n:r,n=null==n?{}:n,n=a(n),n.readPreference=f.PRIMARY,\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){var o=H({},e,r);if(o.writeConcern&&\"function\"!=typeof i)throw g.create({message:\"Cannot use a writeConcern without a provided callback\",driver:!0});return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void $(e,t,n,r,function(a,s){if(null==a)return p(i,a,s);if(67===a.code)return p(i,a,s);var c=L(e,t,n,r);o.checkKeys=!1,e.s.topology.insert(d(\"%s.%s\",e.s.databaseName,j.SYSTEM_INDEX_COLLECTION),c,o,function(e,t){return null!=i?e?p(i,e):null==t?p(i,null,null):t.result.writeErrors?p(i,g.create(t.result.writeErrors[0]),null):void p(i,null,c.name):void 0})})};S.classMethod(\"createIndex\",{callback:!0,promise:!0}),j.prototype.ensureIndex=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){var o=H({},e,r),a=L(e,t,n,r),s=a.name;if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));e.indexInformation(t,o,function(o,a){if(null!=o&&26!=o.code)return p(i,o,null);if(null!=a&&a[s]){if(\"function\"==typeof i)return p(i,null,s)}else e.createIndex(t,n,r,i)})};S.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),j.prototype.addChild=function(e){return this.s.parentDb?this.s.parentDb.addChild(e):void this.s.children.push(e)},j.prototype.db=function(e,t){t=t||{};for(var n in this.options)t[n]=this.options[n];if(this.s.dbCache[e]&&t.returnNonCachedInstance!==!0)return this.s.dbCache[e];null!=t.noListener&&0!=t.noListener||(t.parentDb=this),t.promiseLibrary=this.s.promiseLibrary;var r=new j(e,this.s.topology,t);return null!=t.noListener&&0!=t.noListener||this.addChild(r),this.s.dbCache[e]=r,r},S.classMethod(\"db\",{callback:!1,promise:!1,returns:[j]});var z=function(e,t,n,r,i){if(\"string\"==typeof t&&null!=n&&\"object\"==typeof n&&(r=n,n=null),\"function\"==typeof r&&(i=r,r={}),null!=r.digestPassword)throw l(\"The digestPassword option is not supported via add_user. Please use db.command('createUser', ...) instead for this option.\");var o=null!=r.customData?r.customData:{},a=Array.isArray(r.roles)?r.roles:[],s=\"number\"==typeof r.maxTimeMS?r.maxTimeMS:null;0==a.length&&console.log(\"Creating a user without roles is deprecated in MongoDB >= 2.6\");var c={writeCommand:!0};r.dbName&&(c.dbName=r.dbName),null!=s&&(c.maxTimeMS=s),\"admin\"!=e.databaseName.toLowerCase()&&\"admin\"!=r.dbName||Array.isArray(r.roles)?Array.isArray(r.roles)||(a=[\"dbOwner\"]):a=[\"root\"];var u={createUser:t,customData:o,roles:a,digestPassword:!1};u=H(u,e,r);var f=_.createHash(\"md5\");f.update(t+\":mongo:\"+n);var d=f.digest(\"hex\");\"string\"==typeof n&&(u.pwd=d),c.readPreference=v.primary,e.command(u,c,function(e,n){return e&&0==e.ok&&void 0==e.code?p(i,{code:-5e3},null):e?p(i,e,null):void p(i,n.ok?null:l(n),n.ok?[{user:t,pwd:\"\"}]:null)})},B=function(e,t,n,r,i){return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void z(e,t,n,r,function(o,s){if(o&&-5e3==o.code){var c=H(a(r),e,r),u=_.createHash(\"md5\");u.update(t+\":mongo:\"+n);var l=u.digest(\"hex\"),f=r.dbName?e.db(r.dbName):e,d=f.collection(j.SYSTEM_USER_COLLECTION);return void d.count({},function(e,n){return null!=e?p(i,e,null):void d.find({user:t},{dbName:r.dbName}).toArray(function(e,r){return null!=e?p(i,e,null):(c.upsert=!0,void d.update({user:t},{$set:{user:t,pwd:l}},c,function(e,r,o){return 0==n&&e?p(i,null,[{user:t,pwd:l}]):e?p(i,e,null):void p(i,null,[{user:t,pwd:l}])}))})})}return o?p(i,o):void p(i,o,s)})};j.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);\nreturn r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?B(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){B(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"addUser\",{callback:!0,promise:!0});var N=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i={writeCommand:!0};n.dbName&&(i.dbName=n.dbName);var o=\"number\"==typeof n.maxTimeMS?n.maxTimeMS:null;null!=o&&(i.maxTimeMS=o);var a={dropUser:t};a=H(a,e,n),i.readPreference=v.primary,e.command(a,i,function(e,t){return e&&!e.ok&&void 0==e.code?p(r,{code:-5e3}):e?p(r,e,null):void p(r,null,!!t.ok)})},D=function(e,t,n,r){N(e,t,n,function(i,o){if(i&&-5e3==i.code){var s=H(a(n),e,n),c=n.dbName?e.db(n.dbName):e,u=c.collection(j.SYSTEM_USER_COLLECTION);return void u.findOne({user:t},{},function(e,n){return null==n?p(r,e,!1):void u.remove({user:t},s,function(e,t){p(r,e,!0)})})}return i?p(r,i):void p(r,i,o)})};S.classMethod(\"removeUser\",{callback:!0,promise:!0}),j.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r,i){if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));var o=r.authdb?r.authdb:r.dbName;o=r.authSource?r.authSource:o,o=o?o:e.databaseName;var a=function(t,n){e.listeners(\"authenticated\").length>0&&e.emit(\"authenticated\",t,n),p(i,t,n)},s=r.authMechanism||\"\";s=s.toUpperCase(),\"MONGODB-CR\"==s?e.s.topology.auth(\"mongocr\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"PLAIN\"==s?e.s.topology.auth(\"plain\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"MONGODB-X509\"==s?e.s.topology.auth(\"x509\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"SCRAM-SHA-1\"==s?e.s.topology.auth(\"scram-sha-1\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"GSSAPI\"==s?\"win32\"==process.platform?e.s.topology.auth(\"sspi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):e.s.topology.auth(\"gssapi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"DEFAULT\"==s?e.s.topology.auth(\"default\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):p(i,g.create({message:d(\"authentication mechanism %s not supported\",r.authMechanism),driver:!0}))};j.prototype.authenticate=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(n=a(n),n.authMechanism){if(\"GSSAPI\"!=n.authMechanism&&\"MONGODB-CR\"!=n.authMechanism&&\"MONGODB-X509\"!=n.authMechanism&&\"SCRAM-SHA-1\"!=n.authMechanism&&\"PLAIN\"!=n.authMechanism)return p(r,g.create({message:\"only GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\",driver:!0}))}else n.authMechanism=\"DEFAULT\";return\"function\"==typeof r?q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?r(e,t):void r(null,t)}):new this.s.promiseLibrary(function(r,o){q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?o(e):void r(t)})})},S.classMethod(\"authenticate\",{callback:!0,promise:!0}),j.prototype.logout=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{};var i={logout:1};return e.onAll=!0,this.s.authSource&&(e.dbName=this.s.authSource),\"function\"==typeof t?this.command(i,e,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e,!1):void p(t,null,!0)}):new this.s.promiseLibrary(function(t,r){n.command(i,e,function(e,i){return n.serverConfig&&n.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):e?r(e):void t(!0)})})},S.classMethod(\"logout\",{callback:!0,promise:!0});j.prototype.indexInformation=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?R(r,e,t,n):new this.s.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})};var R=function(e,t,n,r){var i=null==n.full?!1:n.full;if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var o=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.name]=[];for(var i in r.key)t[r.name].push([i,r.key[i]])}return t};e.collection(t).listIndexes().toArray(function(e,t){return e?r(l(e)):Array.isArray(t)?i?p(r,null,t):void p(r,null,o(t)):p(r,null,[])})};S.classMethod(\"indexInformation\",{callback:!0,promise:!0});var L=function(e,t,n,r){var i=s(n),o=i.fieldHash,a=(i.keys,\"string\"==typeof r.name?r.name:i.name),c={ns:e.databaseName+\".\"+t,key:o,name:a},u=null==r||\"object\"==typeof r?!1:r;r=null==r||\"boolean\"==typeof r?{}:r;var p=Object.keys(c);for(var l in r)-1==p.indexOf(l)&&(c[l]=r[l]);null==c.unique&&(c.unique=u);for(var f=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],d=0;d<f.length;d++)delete c[f[d]];return c},$=function(e,t,n,r,i){var o=s(n),a=\"string\"==typeof r.name?r.name:o.name,c=[{name:a,key:o.fieldHash}],u=Object.keys(c[0]);for(var f in r){-1==u.indexOf(f)&&(c[0][f]=r[f]);for(var d=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],h=0;h<d.length;h++)delete c[0][d[h]]}var m={createIndexes:t,indexes:c};m=H(m,e,r),e.command(m,r,function(e,t){return e?p(i,e,null):0==t.ok?p(i,l(t),null):void p(i,null,a)})},U=function(e){if(\"string\"!=typeof e)throw g.create({message:\"database name must be a string\",driver:!0});if(0===e.length)throw g.create({message:\"database name cannot be the empty string\",driver:!0});if(\"$external\"!=e)for(var t=[\" \",\".\",\"$\",\"/\",\"\\\\\"],n=0;n<t.length;n++)if(-1!=e.indexOf(t[n]))throw g.create({message:\"database names cannot contain the character '\"+t[n]+\"'\",driver:!0})},H=function(e,t,n){if(null!=n.w||null!=n.j||null!=n.fsync){var r={};n.w&&(r.w=n.w),n.wtimeout&&(r.wtimeout=n.wtimeout),n.j&&(r.j=n.j),n.fsync&&(r.fsync=n.fsync),e.writeConcern=r}else null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},V=function(e,t,n){var r=function(r){if(\"error\"!=t){n.emit(t,r,e);for(var i=0;i<e.s.children.length;i++)e.s.children[i].emit(t,r,e.s.children[i])}};return r};j.prototype.unref=function(e,t){this.s.topology.unref()},j.SYSTEM_NAMESPACE_COLLECTION=\"system.namespaces\",j.SYSTEM_INDEX_COLLECTION=\"system.indexes\",j.SYSTEM_PROFILE_COLLECTION=\"system.profile\",j.SYSTEM_USER_COLLECTION=\"system.users\",j.SYSTEM_COMMAND_COLLECTION=\"$cmd\",j.SYSTEM_JS_COLLECTION=\"system.js\",t.exports=j}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./admin\":216,\"./collection\":222,\"./command_cursor\":223,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,crypto:void 0,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,util:void 0}],226:[function(e,t,n){function r(e,t,n,r,i){this.s={bytesRead:0,chunks:e,cursor:null,expected:0,files:t,filter:r,init:!1,expectedEnd:0,file:null,options:i,readPreference:n},l.Readable.call(this)}function i(e){if(e.s.init)throw new Error(\"You cannot change options after the stream has enteredflowing mode!\")}function o(e){e.destroyed||e.s.cursor.next(function(t,n){if(!e.destroyed){if(t)return p(e,t);if(!n)return e.push(null),e.s.cursor.close(function(t){return t?p(e,t):void e.emit(\"close\")});var r=e.s.file.length-e.s.bytesRead,i=e.s.expected++,o=Math.min(e.s.file.chunkSize,r);if(n.n>i){var a=\"ChunkIsMissing: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.n<i){var a=\"ExtraChunk: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.data.length()!==o){if(0>=r){var a=\"ExtraChunk: Got unexpected n: \"+n.n;return p(e,new Error(a))}var a=\"ChunkIsWrongSize: Got unexpected length: \"+n.data.length()+\", expected: \"+o;return p(e,new Error(a))}if(e.s.bytesRead+=n.data.length(),0===n.data.buffer.length)return e.push(null);var s=null,c=null,u=n.data.buffer;null!=e.s.bytesToSkip&&(s=e.s.bytesToSkip,e.s.bytesToSkip=0),i===e.s.expectedEnd&&null!=e.s.bytesToTrim&&(c=e.s.bytesToTrim),null==s&&null==c||(u=u.slice(s||0,c||u.length)),e.push(u)}})}function a(e){var t={};e.s.readPreference&&(t.readPreference=e.s.readPreference),e.s.options&&e.s.options.sort&&(t.sort=e.s.options.sort),e.s.options&&e.s.options.skip&&(t.skip=e.s.options.skip),e.s.files.findOne(e.s.filter,t,function(t,n){if(t)return p(e,t);if(!n){var r=e.s.filter._id?e.s.filter._id.toString():e.s.filter.filename,i=\"FileNotFound: file \"+r+\" was not found\",o=new Error(i);return o.code=\"ENOENT\",p(e,o)}return n.length<=0?void e.push(null):e.destroyed?void e.emit(\"close\"):(e.s.cursor=e.s.chunks.find({files_id:n._id}).sort({n:1}),e.s.readPreference&&e.s.cursor.setReadPreference(e.s.readPreference),e.s.expectedEnd=Math.ceil(n.length/n.chunkSize),e.s.file=n,e.s.bytesToSkip=c(e,n,e.s.cursor,e.s.options),e.s.bytesToTrim=u(e,n,e.s.cursor,e.s.options),void e.emit(\"file\",n))})}function s(e,t){return e.s.file?t():(e.s.init||(a(e),e.s.init=!0),void e.once(\"file\",function(){t()}))}function c(e,t,n,r){if(r&&null!=r.start){if(r.start>t.length)throw new Error(\"Stream start (\"+r.start+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream start (\"+r.start+\") must not be negative\");if(null!=r.end&&r.end<r.start)throw new Error(\"Stream start (\"+r.start+\") must not be greater than stream end (\"+r.end+\")\");return n.skip(Math.floor(r.start/t.chunkSize)),e.s.bytesRead=Math.floor(r.start/t.chunkSize)*t.chunkSize,e.s.expected=Math.floor(r.start/t.chunkSize),r.start-e.s.bytesRead}}function u(e,t,n,r){if(r&&null!=r.end){if(r.end>t.length)throw new Error(\"Stream end (\"+r.end+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream end (\"+r.end+\") must not be negative\");var i=null!=r.start?Math.floor(r.start/t.chunkSize):0;return n.limit(Math.ceil(r.end/t.chunkSize)-i),e.s.expectedEnd=Math.ceil(r.end/t.chunkSize),Math.ceil(r.end/t.chunkSize)*t.chunkSize-r.end}}function p(e,t){e.emit(\"error\",t)}var l=(e(\"../utils\").shallowClone,e(\"stream\")),f=e(\"util\");t.exports=r,f.inherits(r,l.Readable),r.prototype._read=function(){var e=this;this.destroyed||s(e,function(){o(e)})},r.prototype.start=function(e){return i(this),this.s.options.start=e,this},r.prototype.end=function(e){return i(this),this.s.options.end=e,this},r.prototype.abort=function(e){var t=this;this.push(null),this.destroyed=!0,this.s.cursor?this.s.cursor.close(function(n){t.emit(\"close\"),e&&e(n)}):(this.s.init||t.emit(\"close\"),e&&e())}},{\"../utils\":239,stream:void 0,util:void 0}],227:[function(e,t,n){(function(n){function r(t,r){if(s.apply(this),this.setMaxListeners(0),r&&\"object\"==typeof r){r=p(r);for(var i=Object.keys(d),o=0;o<i.length;++o)r[i[o]]||(r[i[o]]=d[i[o]])}else r=d;this.s={db:t,options:r,_chunksCollection:t.collection(r.bucketName+\".chunks\"),_filesCollection:t.collection(r.bucketName+\".files\"),checkedIndexes:!1,calledOpenUploadStream:!1,promiseLibrary:t.s.promiseLibrary||(\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise)}}function i(e,t,n){e.s._filesCollection.deleteOne({_id:t},function(r,i){return r?n(r):void e.s._chunksCollection.deleteMany({files_id:t},function(e){if(e)return n(e);if(!i.result.n){var r=\"FileNotFound: no file with id \"+t+\" found\";return n(new Error(r))}n()})})}function o(e,t,n,r){var i={_id:t},o={$set:{filename:n}};e.s._filesCollection.updateOne(i,o,function(e,n){return e?r(e):n.result.n?void r():r(l(\"File with id \"+t+\" not found\"))})}function a(e,t){e.s._filesCollection.drop(function(n){return n?t(n):void e.s._chunksCollection.drop(function(e){return e?t(e):t()})})}var s=e(\"events\").EventEmitter,c=e(\"./download\"),u=e(\"./upload\"),p=e(\"../utils\").shallowClone,l=e(\"../utils\").toError,f=e(\"util\"),d={bucketName:\"fs\",chunkSizeBytes:261120};t.exports=r,f.inherits(r,s),r.prototype.openUploadStream=function(e,t){return t=t?p(t):{},t.chunkSizeBytes||(t.chunkSizeBytes=this.s.options.chunkSizeBytes),new u(this,e,t)},r.prototype.openDownloadStream=function(e,t){var n={_id:e},t={start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,n,t)},r.prototype[\"delete\"]=function(e,t){if(\"function\"==typeof t)return i(this,e,t);var n=this;return new this.s.promiseLibrary(function(t,r){i(n,e,function(e,n){e?r(e):t(n)})})},r.prototype.find=function(e,t){e=e||{},t=t||{};var n=this.s._filesCollection.find(e);return null!=t.batchSize&&n.batchSize(t.batchSize),null!=t.limit&&n.limit(t.limit),null!=t.maxTimeMS&&n.maxTimeMS(t.maxTimeMS),null!=t.noCursorTimeout&&n.addCursorFlag(\"noCursorTimeout\",t.noCursorTimeout),null!=t.skip&&n.skip(t.skip),null!=t.sort&&n.sort(t.sort),n},r.prototype.openDownloadStreamByName=function(e,t){var n={uploadDate:-1},r=null;t&&null!=t.revision&&(t.revision>=0?(n={uploadDate:1},r=t.revision):r=-t.revision-1);var i={filename:e},t={sort:n,skip:r,start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,i,t)},r.prototype.rename=function(e,t,n){if(\"function\"==typeof n)return o(this,e,t,n);var r=this;return new this.s.promiseLibrary(function(n,i){o(r,e,t,function(e,t){e?i(e):n(t)})})},r.prototype.drop=function(e){if(\"function\"==typeof e)return a(this,e);var t=this;return new this.s.promiseLibrary(function(e,n){a(t,function(t,r){t?n(t):e(r)})})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../utils\":239,\"./download\":226,\"./upload\":228,\"es6-promise\":95,events:void 0,util:void 0}],228:[function(e,t,n){(function(n){function r(e,t,r){if(this.bucket=e,this.chunks=e.s._chunksCollection,this.filename=t,this.files=e.s._filesCollection,this.options=r,this.id=m.BSON.ObjectId(),this.chunkSizeBytes=this.options.chunkSizeBytes,this.bufToStore=new n(this.chunkSizeBytes),this.length=0,this.md5=v.createHash(\"md5\"),this.n=0,this.pos=0,this.state={streamEnd:!1,outstandingRequests:0,errored:!1,aborted:!1,promiseLibrary:this.bucket.s.promiseLibrary},!this.bucket.s.calledOpenUploadStream){this.bucket.s.calledOpenUploadStream=!0;var i=this;c(this,function(){i.bucket.s.checkedIndexes=!0,i.bucket.emit(\"index\")})}}function i(e,t,n){return e.state.errored?void 0:(e.state.errored=!0,n?n(t):void e.emit(\"error\",t))}function o(e,t,n){return{_id:m.BSON.ObjectId(),files_id:e,n:t,data:n}}function a(e,t){e.chunks.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={files_id:1,n:1};return void e.chunks.createIndex(i,{background:!1},function(e){return e?t(e):void t()})}return t(n)}var o=!1;if(r.forEach(function(e){if(e.key){var t=Object.keys(e.key);2===t.length&&1===e.key.files_id&&1===e.key.n&&(o=!0)}}),o)t();else{var i={files_id:1,n:1},a=l(e);a.background=!1,a.unique=!0,e.chunks.createIndex(i,a,function(e){return e?t(e):void t()})}})}function s(e,t){if(e.state.streamEnd&&0===e.state.outstandingRequests&&!e.state.errored){var n=u(e.id,e.length,e.chunkSizeBytes,e.md5.digest(\"hex\"),e.filename,e.options.contentType,e.options.aliases,e.options.metadata);return h(e,t)?!1:(e.files.insert(n,l(e),function(r){return r?i(e,r,t):void e.emit(\"finish\",n)}),!0)}return!1}function c(e,t){e.files.findOne({},{_id:1},function(n,r){return n?t(n):r?t():void e.files.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={filename:1,uploadDate:1};return void e.files.createIndex(i,{background:!1},function(n){return n?t(n):void a(e,t)})}return t(n)}var o=!1;if(r.forEach(function(e){var t=Object.keys(e.key);2===t.length&&1===e.key.filename&&1===e.key.uploadDate&&(o=!0)}),o)a(e,t);else{var i={filename:1,uploadDate:1},s=l(e);s.background=!1,e.files.createIndex(i,s,function(n){return n?t(n):void a(e,t)})}})})}function u(e,t,n,r,i,o,a,s){var c={_id:e,length:t,chunkSize:n,uploadDate:new Date,md5:r,filename:i};return o&&(c.contentType=o),a&&(c.aliases=a),s&&(c.metadata=s),c}function p(e,t,r,a){if(h(e,a))return!1;var c=n.isBuffer(t)?t:new n(t,r);if(e.length+=c.length,e.pos+c.length<e.chunkSizeBytes)return c.copy(e.bufToStore,e.pos),e.pos+=c.length,a&&a(),!0;for(var u=c.length,p=e.chunkSizeBytes-e.pos,f=Math.min(p,c.length),d=0;u>0;){var m=c.length-u;if(c.copy(e.bufToStore,e.pos,m,m+f),e.pos+=f,p-=f,0===p){e.md5.update(e.bufToStore);var v=o(e.id,e.n,e.bufToStore);if(++e.state.outstandingRequests,++d,h(e,a))return!1;e.chunks.insert(v,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,--d,void(d||(e.emit(\"drain\",v),a&&a(),s(e))))}),p=e.chunkSizeBytes,e.pos=0,++e.n}u-=f,f=Math.min(p,u)}return!1}function l(e){var t={};return e.options.writeConcern&&(t.w=concern.w,t.wtimeout=concern.wtimeout,t.j=concern.j),t}function f(e,t){return e.bucket.s.checkedIndexes?t(!1):(e.bucket.once(\"index\",function(){t(!0)}),!0)}function d(e,t){if(0===e.pos)return s(e,t);++e.state.outstandingRequests;var r=new n(e.pos);e.bufToStore.copy(r,0,0,e.pos),e.md5.update(r);var a=o(e.id,e.n,r);return h(e,t)?!1:void e.chunks.insert(a,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,void s(e))})}function h(e,t){return e.state.aborted?(\"function\"==typeof t&&t(new Error(\"this stream has been aborted\")),!0):!1}var m=e(\"mongodb-core\"),v=e(\"crypto\"),g=(e(\"../utils\").shallowClone,e(\"stream\")),y=e(\"util\"),b=26;t.exports=r,y.inherits(r,g.Writable),r.prototype.write=function(e,t,n){var r=this;return f(this,function(){return p(r,e,t,n)})},r.prototype.abort=function(e){if(this.state.streamEnd){var t=new Error(\"Cannot abort a stream that has already completed\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}if(this.state.aborted){var t=new Error(\"Cannot call abort() on a stream twice\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}this.state.aborted=!0,this.chunks.deleteMany({files_id:this.id},function(t){\"function\"==typeof e&&e(t)})},r.prototype.end=function(e,t,r){if(!h(this,r)){var i=this;if(this.state.streamEnd=!0,r&&this.once(\"finish\",r),!e)return void f(this,function(){d(i)});var i=this;n.isBuffer(e)?e:new n(e,t);this.write(e,t,function(){d(i)})}}}).call(this,e(\"buffer\").Buffer)},{\"../utils\":239,buffer:void 0,crypto:void 0,\"mongodb-core\":188,stream:void 0,util:void 0}],229:[function(e,t,n){(function(n){\"use strict\";var r=e(\"mongodb-core\").BSON.Binary,i=e(\"mongodb-core\").BSON.ObjectID,o=function(e,t,a){if(!(this instanceof o))return new o(e,t);this.file=e;var s=null==t?{}:t;if(this.writeConcern=a||{w:1},this.objectId=null==s._id?new i:s._id,this.chunkNumber=null==s.n?0:s.n,this.data=new r,null==s.data);else if(\"string\"==typeof s.data){var c=new n(s.data.length);c.write(s.data,0,s.data.length,\"binary\"),this.data=new r(c)}else if(Array.isArray(s.data)){var c=new n(s.data.length),u=s.data.join(\"\");c.write(u,0,u.length,\"binary\"),this.data=new r(c)}else if(\"Binary\"===s.data._bsontype)this.data=s.data;else if(!n.isBuffer(s.data))throw Error(\"Illegal chunk format\");this.internalPosition=0};o.prototype.write=function(e,t){return this.data.write(e,this.internalPosition,e.length,\"binary\"),this.internalPosition=this.data.length(),null!=t?t(null,this):this},o.prototype.read=function(e){if(e=null==e||0==e?this.length():e,this.length()-this.internalPosition+1>=e){var t=this.data.read(this.internalPosition,e);return this.internalPosition=this.internalPosition+e,t}return\"\"},o.prototype.readSlice=function(e){if(this.length()-this.internalPosition>=e){var t=null;return null!=this.data.buffer?t=this.data.buffer.slice(this.internalPosition,this.internalPosition+e):(t=new n(e),e=this.data.readInto(t,this.internalPosition)),this.internalPosition=this.internalPosition+e,t}return null},o.prototype.eof=function(){return this.internalPosition==this.length()},o.prototype.getc=function(){return this.read(1)},o.prototype.rewind=function(){this.internalPosition=0,this.data=new r},o.prototype.save=function(e,t){var n=this;\"function\"==typeof e&&(t=e,e={}),n.file.chunkCollection(function(r,i){if(r)return t(r);var o={upsert:!0};for(var a in e)o[a]=e[a];for(var a in n.writeConcern)o[a]=n.writeConcern[a];n.data.length()>0?n.buildMongoObject(function(e){var r={forceServerObjectId:!0};for(var a in n.writeConcern)r[a]=n.writeConcern[a];i.replaceOne({_id:n.objectId},e,o,function(e,r){t(e,n)})}):t(null,n)})},o.prototype.buildMongoObject=function(e){var t={files_id:this.file.fileId,n:this.chunkNumber,data:this.data};null!=this.objectId&&(t._id=this.objectId),e(t)},o.prototype.length=function(){return this.data.length()},Object.defineProperty(o.prototype,\"position\",{enumerable:!0,get:function(){return this.internalPosition},set:function(e){this.internalPosition=e}}),o.DEFAULT_CHUNK_SIZE=261120,t.exports=o}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"mongodb-core\":188}],230:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./chunk\"),i=e(\"mongodb-core\").BSON.ObjectID,o=e(\"../read_preference\"),a=e(\"buffer\").Buffer,s=e(\"../collection\"),c=e(\"fs\"),u=(e(\"timers\"),e(\"util\").format),p=e(\"util\"),l=e(\"../metadata\"),f=e(\"mongodb-core\").MongoError,d=p.inherits,h=e(\"stream\").Duplex||e(\"readable-stream\").Duplex,m=e(\"../utils\").shallowClone,v=0,g=1,y=function H(t,a,s,c,u){if(!(this instanceof H))return new H(t,a,s,c,u);this.db=t,\"undefined\"==typeof u&&(u={}),\"undefined\"==typeof c?(c=s,s=void 0):\"object\"==typeof c&&(u=c,c=s,s=void 0),a instanceof i?(this.referenceBy=g,this.fileId=a,this.filename=s):\"undefined\"==typeof s?(this.referenceBy=v,this.filename=a,null!=c.indexOf(\"w\")&&(this.fileId=new i)):(this.referenceBy=g,this.fileId=a,this.filename=s),this.mode=null==c?\"r\":c,this.options=u||{},this.isOpen=!1,this.root=null==this.options.root?H.DEFAULT_ROOT_COLLECTION:this.options.root,this.position=0,this.readPreference=this.options.readPreference||t.options.readPreference||o.PRIMARY,this.writeConcern=$(t,this.options),this.internalChunkSize=null==this.options.chunkSize?r.DEFAULT_CHUNK_SIZE:this.options.chunkSize;var p=this.options.promiseLibrary;p||(p=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),this.promiseLibrary=p,Object.defineProperty(this,\"chunkSize\",{enumerable:!0,get:function(){return this.internalChunkSize},set:function(e){\"w\"!=this.mode[0]||0!=this.position||null!=this.uploadDate?this.internalChunkSize=this.internalChunkSize:this.internalChunkSize=e}}),Object.defineProperty(this,\"md5\",{enumerable:!0,get:function(){return this.internalMd5}}),Object.defineProperty(this,\"chunkNumber\",{enumerable:!0,get:function(){return this.currentChunk&&this.currentChunk.chunkNumber?this.currentChunk.chunkNumber:null}})},b=y.define=new l(\"Gridstore\",y,!0);y.prototype.open=function(e){var t=this;if(\"w\"!=this.mode&&\"w+\"!=this.mode&&\"r\"!=this.mode)throw f.create({message:\"Illegal mode \"+this.mode,driver:!0});return\"function\"==typeof e?x(t,e):new t.promiseLibrary(function(e,n){x(t,function(t,r){return t?n(t):void e(r)})})};var x=function(e,t){var n=$(e.db,e.options);if(\"w\"==e.mode||\"w+\"==e.mode){var r=e.collection();r.ensureIndex([[\"filename\",1]],n,function(r,i){var o=e.chunkCollection(),a=m(n);a.unique=!0,o.ensureIndex([[\"files_id\",1],[\"n\",1]],a,function(r,i){C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})})})}else C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})};b.classMethod(\"open\",{callback:!0,promise:!0}),y.prototype.eof=function(){return this.position==this.length},b.classMethod(\"eof\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.getc=function(e){var t=this;return\"function\"==typeof e?w(t,e):new t.promiseLibrary(function(e,n){w(t,function(t,r){return t?n(t):void e(r)})})};var w=function(e,t){e.eof()?t(null,null):e.currentChunk.eof()?P(e,e.currentChunk.chunkNumber+1,function(n,r){e.currentChunk=r,e.position=e.position+1,t(n,e.currentChunk.getc())}):(e.position=e.position+1,t(null,e.currentChunk.getc()))};b.classMethod(\"getc\",{callback:!0,promise:!0}),y.prototype.puts=function(e,t){var n=this,r=null==e.match(/\\n$/)?e+\"\\n\":e;return\"function\"==typeof t?this.write(r,t):new n.promiseLibrary(function(e,t){n.write(r,function(n,r){return n?t(n):void e(r)})})},b.classMethod(\"puts\",{callback:!0,promise:!0}),y.prototype.stream=function(){return new U(this)},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[U]}),y.prototype.write=function(e,t,n){var r=this;return\"function\"==typeof n?R(this,e,t,n):new r.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})},b.classMethod(\"write\",{callback:!0,promise:!0}),y.prototype.destroy=function(){this.writable&&(this.readable=!1,this.writable&&(this.writable=!1,this._q.length=0,this.emit(\"close\")))},b.classMethod(\"destroy\",{callback:!1,promise:!1}),y.prototype.writeFile=function(e,t){var n=this;return\"function\"==typeof t?_(n,e,t):new n.promiseLibrary(function(t,r){_(n,e,function(e,n){return e?r(e):void t(n)})})};var _=function(e,t,n){return\"string\"==typeof t?void c.open(t,\"r\",function(t,r){return t?n(t):void e.writeFile(r,n)}):void e.open(function(e,i){return e?n(e,i):void c.fstat(t,function(e,o){if(e)return n(e,i);var a=0,s=0,u=(Math.min(o.size/i.chunkSize),function(){c.read(t,i.chunkSize,a,\"binary\",function(e,p,l){if(e)return n(e,i);a+=l;var f=new r(i,{n:s++},i.writeConcern);f.write(p,function(e,r){return e?n(e,i):void r.save({},function(e,s){return e?n(e,i):(i.position=i.position+p.length,i.currentChunk=r,a>=o.size?(c.close(t),void i.close(function(e,t){return e?n(e,i):n(null,i)})):process.nextTick(u))})})})});process.nextTick(u)})})};b.classMethod(\"writeFile\",{callback:!0,promise:!0}),y.prototype.close=function(e){var t=this;return\"function\"==typeof e?k(t,e):new t.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){if(\"w\"==e.mode[0]){var n=e.writeConcern;null!=e.currentChunk&&e.currentChunk.position>0?e.currentChunk.save({},function(r,i){return r&&\"function\"==typeof t?t(r):void e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):void(null!=e.uploadDate?I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}):(e.uploadDate=new Date,I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})})))})}):e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):(e.uploadDate=new Date,void I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}))})}else\"r\"==e.mode[0]?\"function\"==typeof t&&t(null,null):\"function\"==typeof t&&t(f.create({message:u(\"Illegal mode %s\",e.mode),driver:!0}))};b.classMethod(\"close\",{callback:!0,promise:!0}),y.prototype.chunkCollection=function(e){return\"function\"==typeof e?this.db.collection(this.root+\".chunks\",e):this.db.collection(this.root+\".chunks\")},b.classMethod(\"chunkCollection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.unlink=function(e){var t=this;return\"function\"==typeof e?j(t,e):new t.promiseLibrary(function(e,n){j(t,function(t,r){return t?n(t):void e(r)})})};var j=function(e,t){M(e,function(n){return null!==n?(n.message=\"at deleteChunks: \"+n.message,t(n)):void e.collection(function(n,r){return null!==n?(n.message=\"at collection: \"+n.message,t(n)):void r.remove({_id:e.fileId},e.writeConcern,function(n){t(n,e)})})})};b.classMethod(\"unlink\",{callback:!0,promise:!0}),y.prototype.collection=function(e){return\"function\"==typeof e&&this.db.collection(this.root+\".files\",e),this.db.collection(this.root+\".files\")},b.classMethod(\"collection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.readlines=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift():\"\\n\",e=e||\"\\n\",\"function\"==typeof t?S(n,e,t):new n.promiseLibrary(function(t,r){S(n,e,function(e,n){return e?r(e):void t(n)})})};var S=function(e,t,n){e.read(function(e,r){if(e)return n(e);var i=r.toString().split(t);i=i.length>0?i.splice(0,i.length-1):[];for(var o=0;o<i.length;o++)i[o]=i[o]+t;n(null,i)})};b.classMethod(\"readlines\",{callback:!0,promise:!0}),y.prototype.rewind=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})};var E=function(e,t){0!=e.currentChunk.chunkNumber?\"w\"==e.mode[0]?M(e,function(n,i){return n?t(n):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.position=0,void t(null,e))}):e.currentChunk(0,function(n,r){return n?t(n):(e.currentChunk=r,e.currentChunk.rewind(),e.position=0,void t(null,e))}):(e.currentChunk.rewind(),e.position=0,t(null,e))};b.classMethod(\"rewind\",{callback:!0,promise:!0}),y.prototype.read=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,\"function\"==typeof n?O(r,e,t,n):new r.promiseLibrary(function(n,i){O(r,e,t,function(e,t){return e?i(e):void n(t)})})};var O=function(e,t,n,r){var i=null==t?e.length-e.position:t,o=null==n?new a(i):n;if(o._index=null!=n&&null!=n._index?n._index:0,e.currentChunk.length()-e.currentChunk.position+o._index>=i){var s=e.currentChunk.readSlice(i-o._index);return s.copy(o,o._index),e.position=e.position+o.length,0==i&&0==o.length?r(f.create({message:\"File does not exist\",driver:!0}),null):r(null,o)}var s=e.currentChunk.readSlice(e.currentChunk.length()-e.currentChunk.position);s.copy(o,o._index),o._index+=s.length,P(e,e.currentChunk.chunkNumber+1,function(n,i){return n?r(n):void(i.length()>0?(e.currentChunk=i,e.read(t,o,r)):o._index>0?r(null,o):r(f.create({message:\"no chunks found for file, possibly corrupt\",driver:!0}),null))})};b.classMethod(\"read\",{callback:!0,promise:!0}),y.prototype.tell=function(e){var t=this;return\"function\"==typeof e?e(null,this.position):new t.promiseLibrary(function(e,n){e(t.position)})},b.classMethod(\"tell\",{callback:!0,promise:!0}),y.prototype.seek=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():null,\"function\"==typeof n?A(r,e,t,n):new r.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})};var A=function(e,t,n,r){if(\"r\"!=e.mode)return r(f.create({message:\"seek is only supported for mode r\",driver:!0}));var i=null==n?y.IO_SEEK_SET:n,o=t,a=0;a=i==y.IO_SEEK_CUR?e.position+o:i==y.IO_SEEK_END?e.length+o:o;var s=Math.floor(a/e.chunkSize),c=function(){P(e,s,function(t,n){return t?r(t,null):null==n?r(new Error(\"no chunk found\")):(e.currentChunk=n,e.position=a,e.currentChunk.position=e.position%e.chunkSize,void r(t,e))})};c()};b.classMethod(\"seek\",{callback:!0,promise:!0});var C=function(e,t,n){function o(e){o.err||n(o.err=e)}var a=e.collection(),s=e.referenceBy==g?{_id:e.fileId}:{filename:e.filename};if(s=null==e.fileId&&null==e.filename?null:s,t.readPreference=e.readPreference,null!=s)a.findOne(s,t,function(a,s){if(a)return o(a);if(null!=s)e.fileId=s._id,e.filename=\"r\"==e.mode||void 0==e.filename?s.filename:e.filename,e.contentType=s.contentType,e.internalChunkSize=s.chunkSize,e.uploadDate=s.uploadDate,e.aliases=s.aliases,e.length=s.length,e.metadata=s.metadata,e.internalMd5=s.md5;else{if(\"r\"==e.mode){e.length=0;var c=e.fileId instanceof i?e.fileId.toHexString():e.fileId;return o(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?c:e.filename),driver:!0}),e)}e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0}\"r\"==e.mode?P(e,0,t,function(t,r){return t?o(t):(e.currentChunk=r,e.position=0,void n(null,e))}):\"w\"==e.mode&&s?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w\"==e.mode?(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,\ne.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,n(null,e)):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})});else{e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0;e.chunkCollection();\"w\"==e.mode?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})}},T=function(e,t,n,i){\"function\"==typeof n&&(i=n,n=null);var o=\"boolean\"==typeof n?n:!1;if(\"w\"!=e.mode)i(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?e.referenceBy:e.filename),driver:!0}),null);else{if(!(e.currentChunk.position+t.length>=e.chunkSize))return e.position=e.position+t.length,e.currentChunk.write(t),o?e.close(function(t,n){i(t,e)}):i(null,e);for(var a=e.currentChunk.chunkNumber,s=e.chunkSize-e.currentChunk.position,c=t.slice(0,s),p=t.slice(s),l=[e.currentChunk.write(c)];p.length>=e.chunkSize;){var d=new r(e,{n:a+1},e.writeConcern),c=p.slice(0,e.chunkSize);p=p.slice(e.chunkSize),a+=1,d.write(c),l.push(d)}e.currentChunk=new r(e,{n:a+1},e.writeConcern),p.length>0&&e.currentChunk.write(p),e.position=e.position+t.length;for(var h=l.length,m=0;m<l.length;m++)l[m].save({},function(t,n){return t?i(t):(h-=1,0>=h?o?e.close(function(t,n){i(t,e)}):i(null,e):void 0)})}},I=function(e,t){var n={_id:e.fileId,filename:e.filename,contentType:e.contentType,length:e.position?e.position:0,chunkSize:e.chunkSize,uploadDate:e.uploadDate,aliases:e.aliases,metadata:e.metadata},r={filemd5:e.fileId,root:e.root};e.db.command(r,function(e,r){return e?t(e):(n.md5=r.md5,void t(null,n))})},P=function(e,t,n,i){\"function\"==typeof n&&(i=n,n={}),n=n||e.writeConcern,n.readPreference=e.readPreference,e.chunkCollection().findOne({files_id:e.fileId,n:t},n,function(t,n){if(t)return i(t);var o=null==n?{}:n;i(null,new r(e,o,e.writeConcern))})},F=function(e){return Math.floor((e.length?e.length-1:0)/e.chunkSize)},M=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||e.writeConcern,null!=e.fileId?e.chunkCollection().remove({files_id:e.fileId},t,function(e,t){return e?n(e,!1):void n(null,!0)}):n(null,!0)};y.DEFAULT_ROOT_COLLECTION=\"fs\",y.DEFAULT_CONTENT_TYPE=\"binary/octet-stream\",y.IO_SEEK_SET=0,y.IO_SEEK_CUR=1,y.IO_SEEK_END=2,y.exist=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():{},o=o||{};var c=o.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?z(t,r,i,o,a):new c(function(e,n){z(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var z=function(e,t,n,r,i){var a=r.readPreference||o.PRIMARY,s=null!=n?n:y.DEFAULT_ROOT_COLLECTION;e.collection(s+\".files\",function(e,n){if(e)return i(e);var r=\"string\"==typeof t||\"[object RegExp]\"==Object.prototype.toString.call(t)?{filename:t}:{_id:t};null!=t&&\"object\"==typeof t&&\"[object RegExp]\"!=Object.prototype.toString.call(t)&&(r=t),n.findOne(r,{readPreference:a},function(e,t){return e?i(e):void i(null,null!=t)})})};b.staticMethod(\"exist\",{callback:!0,promise:!0}),y.list=function(t,r,i,o){var a=Array.prototype.slice.call(arguments,1);o=a.pop(),\"function\"!=typeof o&&a.push(o),r=a.length?a.shift():null,i=a.length?a.shift():{},i=i||{};var s=i.promiseLibrary;return s||(s=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?B(t,r,i,o):new s(function(e,n){B(t,r,i,function(t,r){return t?n(t):void e(r)})})};var B=function(e,t,n,r){null!=t&&\"object\"==typeof t&&(n=t,t=null);var i=n.readPreference||o.PRIMARY,a=null!=n.id?n.id:!1,s=null!=t?t:y.DEFAULT_ROOT_COLLECTION,c=[];e.collection(s+\".files\",function(e,t){return e?r(e):void t.find({},{readPreference:i},function(e,t){return e?r(e):void t.each(function(e,t){null!=t?c.push(a?t._id:t.filename):r(e,c)})})})};b.staticMethod(\"list\",{callback:!0,promise:!0}),y.read=function(t,r,i,o,a,s){var c=Array.prototype.slice.call(arguments,2);s=c.pop(),\"function\"!=typeof s&&c.push(s),i=c.length?c.shift():null,o=c.length?c.shift():null,a=c.length?c.shift():null,a=a||{};var u=a?a.promiseLibrary:null;return u||(u=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof s?N(t,r,i,o,a,s):new u(function(e,n){N(t,r,i,o,a,function(t,r){return t?n(t):void e(r)})})};var N=function(e,t,n,r,i,o){new y(e,t,\"r\",i).open(function(e,t){return e?o(e):r&&r>=t.length?o(\"offset larger than size of file\",null):n&&n>t.length?o(\"length is larger than the size of the file\",null):r&&n&&r+n>t.length?o(\"offset and length is larger than the size of the file\",null):void(null!=r?t.seek(r,function(e,t){return e?o(e):void t.read(n,o)}):t.read(n,o))})};b.staticMethod(\"read\",{callback:!0,promise:!0}),y.readlines=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():null,o=o||{};var c=o?o.promiseLibrary:null;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?D(t,r,i,o,a):new c(function(e,n){D(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var D=function(e,t,n,r,i){var o=null==n?\"\\n\":n;new y(e,t,\"r\",r).open(function(e,t){return e?i(e):void t.readlines(o,i)})};b.staticMethod(\"readlines\",{callback:!0,promise:!0}),y.unlink=function(t,r,i,o){var a=this,s=Array.prototype.slice.call(arguments,2);o=s.pop(),\"function\"!=typeof o&&s.push(o),i=s.length?s.shift():{},i=i||{};var c=i.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?q(a,t,r,i,o):new c(function(e,n){q(a,t,r,i,function(t,r){return t?n(t):void e(r)})})};var q=function(e,t,n,r,i){var o=$(t,r);if(n.constructor==Array)for(var a=0,s=0;s<n.length;s++)++a,y.unlink(t,n[s],r,function(t){0==--a&&i(null,e)});else new y(t,n,\"w\",r).open(function(t,n){return t?i(t):void M(n,function(t,r){return t?i(t):void n.collection(function(t,r){return t?i(t):void r.remove({_id:n.fileId},o,function(t,n){i(t,e)})})})})};b.staticMethod(\"unlink\",{callback:!0,promise:!0});var R=function(e,t,n,r){return a.isBuffer(t)?T(e,t,n,r):T(e,new a(t,\"binary\"),n,r)},L=function(e){var t={};return null!=e.w&&(t.w=e.w),1==e.journal&&(t.j=e.journal),1==e.j&&(t.j=e.j),1==e.fsync&&(t.fsync=e.fsync),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),t},$=function(e,t){var n={w:1};if(t=t||{},null!=t.w||\"boolean\"==typeof t.j||\"boolean\"==typeof t.journal||\"boolean\"==typeof t.fsync?n=L(t):null!=t.safe&&\"object\"==typeof t.safe?n=L(t.safe):\"boolean\"==typeof t.safe?n={w:t.safe?1:0}:null!=e.options.w||\"boolean\"==typeof e.options.j||\"boolean\"==typeof e.options.journal||\"boolean\"==typeof e.options.fsync?n=L(e.options):!e.safe||null==e.safe.w&&\"boolean\"!=typeof e.safe.j&&\"boolean\"!=typeof e.safe.journal&&\"boolean\"!=typeof e.safe.fsync?\"boolean\"==typeof e.safe&&(n={w:e.safe?1:0}):n=L(e.safe),n.w<1&&(1==n.journal||1==n.j||1==n.fsync))throw f.create({message:\"No acknowledgement using w < 1 cannot be combined with journal:true or fsync:true\",driver:!0});return n},U=function(e){h.call(this),this.gs=e,this.endCalled=!1,this.totalBytesToRead=this.gs.length-this.gs.position,this.seekPosition=this.gs.position};d(U,h),U.prototype._pipe=U.prototype.pipe,U.prototype.pipe=function(e){var t=this;return t.gs.isOpen?(t.totalBytesToRead=t.gs.length-t.gs.position,t._pipe.apply(t,[e])):t.gs.open(function(n){return n?t.emit(\"error\",n):(t.totalBytesToRead=t.gs.length-t.gs.position,void t._pipe.apply(t,[e]))}),e},U.prototype._read=function(e){var t=this,n=function(){t.gs.read(r,function(e,n){return e&&!t.endCalled?t.emit(\"error\",e):t.endCalled||null==n?t.push(null):(n.length<=t.totalBytesToRead?(t.totalBytesToRead=t.totalBytesToRead-n.length,t.push(n)):n.length>t.totalBytesToRead&&(t.totalBytesToRead=t.totalBytesToRead-n._index,t.push(n.slice(0,n._index))),void(t.totalBytesToRead<=0&&(t.endCalled=!0)))})},r=t.gs.length<t.gs.chunkSize?t.gs.length-t.seekPosition:t.gs.chunkSize;t.gs.isOpen?n():t.gs.open(function(e,r){return t.totalBytesToRead=t.gs.length-t.gs.position,e?t.emit(\"error\",e):void n()})},U.prototype.destroy=function(){this.pause(),this.endCalled=!0,this.gs.close(),this.emit(\"end\")},U.prototype.write=function(e,t,n){var r=this;return r.endCalled?r.emit(\"error\",f.create({message:\"attempting to write to stream after end called\",driver:!0})):r.gs.isOpen?(r.gs.write(e,function(){r.emit(\"drain\")}),!0):(r.gs.open(function(){r.gs.isOpen=!0,r.gs.write(e,function(){process.nextTick(function(){r.emit(\"drain\")})})}),!1)},U.prototype.end=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,r.endCalled=!0,e&&r.gs.write(e,function(){r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})}),r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})},t.exports=y}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../collection\":222,\"../metadata\":231,\"../read_preference\":234,\"../utils\":239,\"./chunk\":229,buffer:void 0,\"es6-promise\":95,fs:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,timers:void 0,util:void 0}],231:[function(e,t,n){var r=e(\"util\").format,i=function(e,t,n){this.name=e,this.object=t,this.stream=\"boolean\"==typeof n?n:!1,this.instrumentations={}};i.prototype.classMethod=function(e,t){var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)};var o=function(e,t){for(var n=[],i=0;i<e.length;i++)n.push(r(\"%s=%s\",e[i],t[e[i]]));return n.join()};i.prototype.staticMethod=function(e,t){t[\"static\"]=!0;var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)},i.prototype.generate=function(e,t){var n={name:this.name,obj:this.object,stream:this.stream,instrumentations:[]};for(var r in this.instrumentations)n.instrumentations.push(this.instrumentations[r]);return n},t.exports=i},{util:void 0}],232:[function(e,t,n){(function(n){\"use strict\";function r(){this.connect=r.connect}var i=e(\"./url_parser\"),o=e(\"./server\"),a=e(\"./mongos\"),s=e(\"./replset\"),c=e(\"./metadata\"),u=e(\"./read_preference\"),p=e(\"./db\"),l=r.define=new c(\"MongoClient\",r,!1);r.connect=function(t,r,i){var o=Array.prototype.slice.call(arguments,1);i=\"function\"==typeof o[o.length-1]?o.pop():null,r=o.length?o.shift():null,r=r||{};var a=r.promiseLibrary;return a||(a=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"!=typeof i?new a(function(e,n){g(t,r,function(t,r){return t?n(t):void e(r)})}):void g(t,r,i)},l.staticMethod(\"connect\",{callback:!0,promise:!0});var f=[\"poolSize\",\"ssl\",\"sslValidate\",\"checkServerIdentity\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"autoReconnect\",\"noDelay\",\"keepAlive\",\"connectionTimeoutMS\",\"socketTimeoutMS\",\"reconnectTries\",\"reconnectInterval\"],d=[\"ha\",\"haInterval\",\"replicaSet\",\"secondaryAcceptableLatencyMS\",\"connectWithNoPrimary\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\"],h=[\"ha\",\"haInterval\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\",\"acceptableLatencyMS\"],m=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"ignoreUndefined\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"readPreference\",\"pkFactory\",\"promiseLibrary\",\"readConcern\"],v=function(e,t){e.server_options||(e.server_options={}),e.db_options||(e.db_options={}),e.rs_options||(e.rs_options={}),e.mongos_options||(e.mongos_options={});for(var n in t)-1!=f.indexOf(n)&&(e.server_options[n]=t[n]),-1!=d.indexOf(n)&&(e.rs_options[n]=t[n]),-1!=h.indexOf(n)&&(e.mongos_options[n]=t[n]),-1!=m.indexOf(n)&&(e.db_options[n]=t[n]);return e},g=function(e,t,n){var r=t.server||{},c=t.mongos||{},u=t.replSet||t.replSetServers||{},l=t.db||{};if(null==n)throw new Error(\"no callback function provided\");var f=i(e,t);if(l)for(var d in l)f.db_options[d]=l[d];if(f.db_options.url=e,r)for(var d in r)f.server_options[d]=r[d];if(u)for(var d in u)f.rs_options[d]=u[d];if((u.ssl||u.sslValidate||u.checkServerIdentity||u.sslCA||u.sslCert||u.sslKey||u.sslPass)&&(f.server_options.ssl=u.ssl,f.server_options.sslValidate=u.sslValidate,f.server_options.checkServerIdentity=u.checkServerIdentity,f.server_options.sslCA=u.sslCA,f.server_options.sslCert=u.sslCert,f.server_options.sslKey=u.sslKey,f.server_options.sslPass=u.sslPass),c)for(var d in c)f.mongos_options[d]=c[d];\"number\"==typeof f.server_options.poolSize&&(f.mongos_options.poolSize||(f.mongos_options.poolSize=f.server_options.poolSize),f.rs_options.poolSize||(f.rs_options.poolSize=f.server_options.poolSize)),(c.ssl||c.sslValidate||c.checkServerIdentity||c.sslCA||c.sslCert||c.sslKey||c.sslPass)&&(f.server_options.ssl=c.ssl,f.server_options.sslValidate=c.sslValidate,f.server_options.checkServerIdentity=c.checkServerIdentity,f.server_options.sslCA=c.sslCA,f.server_options.sslCert=c.sslCert,f.server_options.sslKey=c.sslKey,f.server_options.sslPass=c.sslPass),f.db_options.promiseLibrary=t.promiseLibrary;var h=f.servers.length,m=0,g=0,x=null,w={};if(0==f.servers.length)throw new Error(\"connection string must contain at least one seed host\");f.db_options.native_parser=y(f.db_options),\"boolean\"!=typeof f.server_options.auto_reconnect&&(f.server_options.auto_reconnect=!0),f=v(f,t);for(var _=0;_<f.servers.length;_++){var k=f.server_options.socketOptions||{},j={poolSize:1,socketOptions:{connectTimeoutMS:k.connectTimeoutMS||12e4,socketTimeoutMS:k.socketTimeoutMS||12e4},auto_reconnect:!1};f.server_options.ssl?(j.ssl=f.server_options.ssl,j.sslValidate=f.server_options.sslValidate,j.checkServerIdentity=f.server_options.checkServerIdentity,j.sslCA=f.server_options.sslCA,j.sslCert=f.server_options.sslCert,j.sslKey=f.server_options.sslKey,j.sslPass=f.server_options.sslPass):f.rs_options.ssl&&(j.ssl=f.rs_options.ssl,j.sslValidate=f.rs_options.sslValidate,j.checkServerIdentity=f.rs_options.checkServerIdentity,j.sslCA=f.rs_options.sslCA,j.sslCert=f.rs_options.sslCert,j.sslKey=f.rs_options.sslKey,j.sslPass=f.rs_options.sslPass);var S=null,E=f.servers[_].domain_socket?new o(f.servers[_].domain_socket,j):new o(f.servers[_].host,f.servers[_].port,j),O=function(e){new p(f.dbName,e,{w:1,native_parser:!1,promiseLibrary:t.promiseLibrary}).open(function(r,i){if(h-=1,r)S=r,w[e.host+\":\"+e.port]=e;else{i.close();var c=i.serverConfig.isMasterDoc;c.setName&&g++,c.msg&&\"isdbgrid\"==c.msg&&m++}if(0==h){if(0==g&&0==m&&S)return n(S,null);if(m>0&&g>0)return i&&i.close(),process.nextTick(function(){try{n(new Error(\"cannot combine a list of replicaset seeds and mongos seeds\"))}catch(e){throw e}});if(0!=g||0!=m||1!=f.servers.length||f.rs_options.replicaSet&&f.rs_options.rs_name){if(g>0||m>0||f.rs_options.replicaSet||f.rs_options.rs_name){var u=f.servers.filter(function(e){return null==w[e.host+\":\"+e.port]}).map(function(e){return e.domain_socket?new o(e.domain_socket,27017,f.server_options):new o(e.host,e.port,f.server_options)});if(w={},g>0)try{1!=g||f.rs_options.replicaSet||f.rs_options.rs_name?1==g?(f.rs_options.replicaSet=f.rs_options.replicaSet||f.rs_options.rs_name,x=new s(u,f.rs_options)):x=new s(u,f.rs_options):x=u[0]}catch(r){return n(r,null)}else x=new a(u,f.mongos_options)}}else{var p=f.servers[0];x=p.domain_socket?new o(p.domain_socket,f.server_options):new o(p.host,p.port,f.server_options)}if(null==x)return process.nextTick(function(){try{n(new Error(\"Could not locate any valid servers in initial seed list\"))}catch(e){throw i&&i.close(),e}});x.emitOpen=!1,b(x,f,t,n)}})};O(E)}},y=function(t){if(\"boolean\"==typeof t.native_parser)return t.native_parser;try{return e(\"mongodb-core\").BSON.BSONNative.BSON,!0}catch(n){return!1}},b=function(e,t,n,r){\"string\"==typeof t.db_options.readPreference?t.db_options.readPreference=new u(t.db_options.readPreference):\"string\"==typeof t.db_options.read_preference&&(t.db_options.readPreference=new u(t.db_options.read_preference)),t.db_options.readPreference&&t.db_options.readPreferenceTags?t.db_options.readPreference.tags=t.db_options.readPreferenceTags:t.db_options.readPreference&&t.db_options.read_preference_tags&&(t.db_options.readPreference.tags=t.db_options.read_preference_tags);var i=t.server_options.socketOptions.socketTimeoutMS||0;e instanceof s&&(i=t.rs_options.socketOptions.socketTimeoutMS||i),e.connectTimeoutMS=e.connectTimeoutMS||3e4,e.socketTimeoutMS=e.connectTimeoutMS;var o=new p(t.dbName,e,t.db_options);o.open(function(n,o){if(n)return process.nextTick(function(){try{r(e,null)}catch(e){throw o&&o.close(),e}});if(e.socketTimeoutMS=i||0,null==n&&t.auth){var a=o;t.db_options&&t.db_options.authSource&&(a=o.db(t.db_options.authSource));var s={};t.db_options.authMechanism&&(s.authMechanism=t.db_options.authMechanism),t.db_options.gssapiServiceName&&(s.gssapiServiceName=t.db_options.gssapiServiceName),t.db_options.gssapiServiceRealm&&(s.gssapiServiceRealm=t.db_options.gssapiServiceRealm),t.db_options.gssapiCanonicalizeHostName&&(s.gssapiCanonicalizeHostName=t.db_options.gssapiCanonicalizeHostName),a.authenticate(t.auth.user,t.auth.password,s,function(e,n){n?process.nextTick(function(){try{r(null,o)}catch(e){throw o&&o.close(),e}}):(o&&o.close(),process.nextTick(function(){try{r(e?e:new Error(\"Could not authenticate user \"+t.auth[0]),null)}catch(e){throw o&&o.close(),e}}))})}else process.nextTick(function(){try{r(e,o)}catch(e){throw o&&o.close(),e}})})};t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./db\":225,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./replset\":235,\"./server\":236,\"./url_parser\":238,\"es6-promise\":95,\"mongodb-core\":188}],233:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),a=e(\"mongodb-core\").MongoCR,s=e(\"mongodb-core\").MongoError,c=e(\"mongodb-core\").Mongos,u=e(\"./cursor\"),p=e(\"./aggregation_cursor\"),l=e(\"./command_cursor\"),f=e(\"./metadata\"),d=e(\"./server\"),h=e(\"./topology_base\").Store,m=e(\"./utils\").shallowClone,v=e(\"./utils\").MAX_JS_INT,g=function(e,t){if(!(this instanceof g))return new g(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof d))throw s.create({message:\"all seed list instances must be of the Server type\",driver:!0});var o={force:!1,bufferMaxEntries:-1};-1==o.bufferMaxEntries&&(o.bufferMaxEntries=v);var p=t.store||new h(n,o);r.call(this);var l=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),f=m(t);f.size=\"number\"==typeof t.poolSize?t.poolSize:5,f.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,f.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,f.cursorFactory=u,f.disconnectHandler=p,t.sslCA&&(f.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(f.rejectUnauthorized=t.sslValidate),t.sslKey&&(f.key=t.sslKey),t.sslCert&&(f.cert=t.sslCert),t.sslPass&&(f.passphrase=t.sslPass),t.checkServerIdentity&&(f.checkServerIdentity=t.checkServerIdentity),t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,f.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(f.socketTimeout=t.socketOptions.socketTimeoutMS));var y=\"boolean\"==typeof t.debug?t.debug:!1;y&&(f.debug=y),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(f.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(f.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(f.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.acceptableLatencyMS&&(f.localThresholdMS=t.acceptableLatencyMS||15),f.disconnectHandler=p;var b=new c(l,f),x=null;b.addAuthProvider(\"mongocr\",new a),this.s={mongos:b,sCapabilities:x,debug:y,storeOptions:o,clonedOptions:f,store:p,options:t},Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return n.s.mongos.lastIsMaster()}}),Object.defineProperty(this,\"numberOfConnectedServers\",{enumerable:!0,get:function(){return n.s.mongos.s.mongosState.connectedServers().length}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return n.s.mongos.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.mongos.haInterval}})};i(g,r);var y=g.define=new f(\"Mongos\",g,!1);g.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.removeListener(e,i)}),r.s.mongos.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\"),r.s.store.execute()},s=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.mongos.removeAllListeners(e)}),r.s.mongos.once(\"timeout\",o(\"timeout\")),r.s.mongos.once(\"error\",o(\"error\")),r.s.mongos.once(\"close\",o(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.mongos.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.mongos.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.mongos.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.mongos.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.mongos.on(\"serverOpening\",e(\"serverOpening\")),r.s.mongos.on(\"serverClosed\",e(\"serverClosed\")),r.s.mongos.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.mongos.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.mongos.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.mongos.on(\"joined\",e(\"joined\")),r.s.mongos.on(\"left\",e(\"left\")),r.s.mongos.on(\"fullsetup\",e(\"fullsetup\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){process.nextTick(function(){throw t})}};r.s.mongos.once(\"timeout\",i(\"timeout\")),r.s.mongos.once(\"error\",i(\"error\")),r.s.mongos.once(\"close\",i(\"close\")),r.s.mongos.once(\"connect\",s),r.s.mongos.on(\"reconnect\",a),r.s.mongos.connect(t)},g.prototype.parserType=function(){return this.s.mongos.parserType()},y.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),g.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.mongos.lastIsMaster()?null:(this.s.sCapabilities=new o(this.s.mongos.lastIsMaster()),this.s.sCapabilities)},y.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[o]}),g.prototype.command=function(e,t,n,r){this.s.mongos.command(e,t,n,r)},y.classMethod(\"command\",{callback:!0,promise:!1}),g.prototype.insert=function(e,t,n,r){this.s.mongos.insert(e,t,n,function(e,t){r(e,t)})},y.classMethod(\"insert\",{callback:!0,promise:!1}),g.prototype.update=function(e,t,n,r){this.s.mongos.update(e,t,n,r)},y.classMethod(\"update\",{callback:!0,promise:!1}),g.prototype.remove=function(e,t,n,r){this.s.mongos.remove(e,t,n,r)},y.classMethod(\"remove\",{callback:!0,promise:!1}),g.prototype.isDestroyed=function(){return this.s.mongos.isDestroyed()},g.prototype.isConnected=function(){return this.s.mongos.isConnected()},y.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.mongos.cursor(e,t,n)},y.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[u,p,l]}),g.prototype.setBSONParserType=function(e){return this.s.mongos.setBSONParserType(e)},g.prototype.lastIsMaster=function(){return this.s.mongos.lastIsMaster()},g.prototype.close=function(e){this.s.mongos.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},y.classMethod(\"close\",{callback:!1,promise:!1}),g.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.mongos.auth.apply(this.s.mongos,e)},y.classMethod(\"auth\",{callback:!0,promise:!1}),g.prototype.connections=function(){return this.s.mongos.connections()},y.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=g},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],234:[function(e,t,n){\"use strict\";var r=function(e,t){return this instanceof r?(this._type=\"ReadPreference\",this.mode=e,void(this.tags=t)):new r(e,t)};r.isValid=function(e){return e==r.PRIMARY||e==r.PRIMARY_PREFERRED||e==r.SECONDARY||e==r.SECONDARY_PREFERRED||e==r.NEAREST||1==e||0==e||null==e},r.prototype.isValid=function(e){var t=\"string\"==typeof e?e:this.mode;return r.isValid(t)},r.prototype.toObject=function(){var e={mode:this.mode};return null!=this.tags&&(e.tags=this.tags),e},r.PRIMARY=\"primary\",r.PRIMARY_PREFERRED=\"primaryPreferred\",r.SECONDARY=\"secondary\",r.SECONDARY_PREFERRED=\"secondaryPreferred\",r.NEAREST=\"nearest\",t.exports=r},{}],235:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./server\")),a=(e(\"./mongos\"),e(\"./cursor\")),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=e(\"./read_preference\"),p=(e(\"mongodb-core\").MongoCR,e(\"mongodb-core\").MongoError),l=e(\"./topology_base\").ServerCapabilities,f=e(\"./topology_base\").Store,d=e(\"./metadata\"),h=(e(\"mongodb-core\").Server,e(\"mongodb-core\").ReplSet),m=e(\"mongodb-core\").ReadPreference,v=e(\"./utils\").shallowClone,g=e(\"./utils\").MAX_JS_INT,y=function(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof o))throw p.create({message:\"all seed list instances must be of the Server type\",driver:!0});var s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=g);var c=t.store||new f(n,s);r.call(this);var u=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),l=v(t);l.size=\"number\"==typeof t.poolSize?t.poolSize:5,l.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,l.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,l.cursorFactory=a,l.disconnectHandler=c,t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,l.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(l.socketTimeout=t.socketOptions.socketTimeoutMS));var d=t.replicaSet||t.rs_name;l.setName=d;var m=\"boolean\"==typeof t.debug?t.debug:!1;m&&(l.debug=m),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(l.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(l.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(l.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.secondaryAcceptableLatencyMS&&(l.acceptableLatency=t.secondaryAcceptableLatencyMS),1==t.connectWithNoPrimary&&(l.secondaryOnlyConnectionAllowed=!0),l.disconnectHandler=c,t.sslCA&&(l.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(l.rejectUnauthorized=t.sslValidate),t.sslKey&&(l.key=t.sslKey),t.sslCert&&(l.cert=t.sslCert),t.sslPass&&(l.passphrase=t.sslPass),t.checkServerIdentity&&(l.checkServerIdentity=t.checkServerIdentity);var b=new h(u,l);b.on(\"reconnect\",function(){n.emit(\"reconnect\"),c.execute()}),this.s={replset:b,sCapabilities:null,tag:t.tag,storeOptions:s,clonedOptions:l,store:c,options:t},m&&Object.defineProperty(this,\"replset\",{enumerable:!0,get:function(){return b}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return b.lastIsMaster()}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return b.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return b.haInterval}})};i(y,r);var b=y.define=new d(\"ReplSet\",y,!1),x=function(e){return\"string\"==typeof e.readPreference?e.readPreference=new m(e.readPreference):e.readPreference instanceof u&&(e.readPreference=new m(e.readPreference.mode,e.readPreference.tags)),e};y.prototype.parserType=function(){return this.s.replset.parserType()},b.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),y.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},o=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.replset.removeAllListeners(e)}),r.s.replset.once(\"timeout\",i(\"timeout\")),r.s.replset.once(\"error\",i(\"error\")),r.s.replset.once(\"close\",i(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}},t=function(e){return function(t,n){r.emit(e,t,n.lastIsMaster(),n)}},o=function(e,t){r.emit(\"ha\",e,t),\"start\"==e?r.emit(\"ha_connect\",e,t):\"end\"==e&&r.emit(\"ha_ismaster\",e,t)};r.s.replset.on(\"joined\",t(\"joined\")),r.s.replset.on(\"left\",e(\"left\")),r.s.replset.on(\"ping\",e(\"ping\")),r.s.replset.on(\"ha\",o),r.s.replset.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.replset.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.replset.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.replset.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.replset.on(\"serverOpening\",e(\"serverOpening\")),r.s.replset.on(\"serverClosed\",e(\"serverClosed\")),r.s.replset.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.replset.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.replset.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.replset.on(\"fullsetup\",function(e){r.emit(\"fullsetup\",null,r)}),r.s.replset.on(\"all\",function(e){r.emit(\"all\",null,r)}),r.emit(\"open\",null,r);try{n(null,r)}catch(a){process.nextTick(function(){throw a})}},a=function(e){return function(e){[\"timeout\",\"error\",\"close\"].forEach(function(e){r.s.replset.removeListener(e,a)}),r.s.replset.removeListener(\"connect\",a),r.s.replset.destroy();try{n(e)}catch(e){r.s.replset.isConnected()||process.nextTick(function(){throw e})}}};r.s.replset.once(\"timeout\",a(\"timeout\")),\nr.s.replset.once(\"error\",a(\"error\")),r.s.replset.once(\"close\",a(\"close\")),r.s.replset.once(\"connect\",o),r.s.replset.connect(t)},y.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.replset.lastIsMaster()?null:(this.s.sCapabilities=new l(this.s.replset.lastIsMaster()),this.s.sCapabilities)},b.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[l]}),y.prototype.command=function(e,t,n,r){n=x(n),this.s.replset.command(e,t,n,r)},b.classMethod(\"command\",{callback:!0,promise:!1}),y.prototype.insert=function(e,t,n,r){this.s.replset.insert(e,t,n,r)},b.classMethod(\"insert\",{callback:!0,promise:!1}),y.prototype.update=function(e,t,n,r){this.s.replset.update(e,t,n,r)},b.classMethod(\"update\",{callback:!0,promise:!1}),y.prototype.remove=function(e,t,n,r){this.s.replset.remove(e,t,n,r)},b.classMethod(\"remove\",{callback:!0,promise:!1}),y.prototype.isDestroyed=function(){return this.s.replset.isDestroyed()},y.prototype.isConnected=function(){return this.s.replset.isConnected()},b.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.setBSONParserType=function(e){return this.s.replset.setBSONParserType(e)},y.prototype.cursor=function(e,t,n){return n=x(n),n.disconnectHandler=this.s.store,this.s.replset.cursor(e,t,n)},b.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),y.prototype.lastIsMaster=function(){return this.s.replset.lastIsMaster()},y.prototype.close=function(e){var t=this;this.s.replset.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush());var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\"];n.forEach(function(e){t.removeAllListeners(e)})},b.classMethod(\"close\",{callback:!1,promise:!1}),y.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.replset.auth.apply(this.s.replset,e)},b.classMethod(\"auth\",{callback:!0,promise:!1}),y.prototype.connections=function(){return this.s.replset.connections()},b.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=y},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],236:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"mongodb-core\").Server,a=e(\"./cursor\"),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),p=e(\"./topology_base\").Store,l=e(\"./metadata\"),f=e(\"mongodb-core\").MongoError,d=e(\"./utils\").shallowClone,h=e(\"./utils\").MAX_JS_INT,m=function(e,t,n){if(n=n||{},!(this instanceof m))return new m(e,t,n);r.call(this);var i=this,s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=h);var c=n.store||new p(i,s);if(-1!=e.indexOf(\"/\"))null!=t&&\"object\"==typeof t&&(n=t,t=null);else if(null==t)throw f.create({message:\"port must be specified\",driver:!0});var u=d(n);u.host=e,u.port=t;var l=\"boolean\"==typeof n.auto_reconnect?n.auto_reconnect:!0;l=\"boolean\"==typeof n.autoReconnect?n.autoReconnect:l;var v=\"boolean\"==typeof n.emitError?n.emitError:!0,g=\"number\"==typeof n.poolSize?n.poolSize:5;n.socketOptions&&(n.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=n.socketOptions.connectTimeoutMS,u.connectionTimeout=n.socketOptions.connectTimeoutMS),n.socketOptions.socketTimeoutMS&&(u.socketTimeout=n.socketOptions.socketTimeoutMS),\"number\"==typeof n.socketOptions.keepAlive&&(u.keepAliveInitialDelay=n.socketOptions.keepAlive,u.keepAlive=!0),\"boolean\"==typeof n.socketOptions.noDelay&&(u.noDelay=n.socketOptions.noDelay)),u.cursorFactory=a,u.reconnect=l,u.emitError=v,u.size=g,u.sslCA&&(u.ca=u.sslCA),\"boolean\"==typeof u.sslValidate&&(u.rejectUnauthorized=u.sslValidate),u.sslKey&&(u.key=u.sslKey),u.sslCert&&(u.cert=u.sslCert),u.sslPass&&(u.passphrase=u.sslPass),u.disconnectHandler=c;var y=new o(u);this.s={server:y,sCapabilities:null,clonedOptions:u,reconnect:l,emitError:v,poolSize:g,storeOptions:s,store:c,host:e,port:t,options:n},Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return i.s.server.bson}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return i.s.server.lastIsMaster()}}),Object.defineProperty(this,\"poolSize\",{enumerable:!0,get:function(){return i.s.server.connections().length}}),Object.defineProperty(this,\"autoReconnect\",{enumerable:!0,get:function(){return i.s.reconnect}}),Object.defineProperty(this,\"host\",{enumerable:!0,get:function(){return i.s.host}}),Object.defineProperty(this,\"port\",{enumerable:!0,get:function(){return i.s.port}})};i(m,r);var v=m.define=new l(\"Server\",m,!1);m.prototype.parserType=function(){return this.s.server.parserType()},v.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),m.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.s.server.removeListener(e,u[e])}),r.s.server.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\",r),r.s.store.execute()},s=function(){r.s.store.flush()},c=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.server.removeAllListeners(e)}),r.s.server.once(\"timeout\",o(\"timeout\")),r.s.server.once(\"error\",o(\"error\")),r.s.server.on(\"close\",o(\"close\")),r.s.server.once(\"destroy\",s);var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.server.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.server.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.server.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.server.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.server.on(\"serverOpening\",e(\"serverOpening\")),r.s.server.on(\"serverClosed\",e(\"serverClosed\")),r.s.server.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.server.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.server.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){console.log(t.stack),process.nextTick(function(){throw t})}},u={timeout:i(\"timeout\"),error:i(\"error\"),close:i(\"close\")};r.s.server.once(\"timeout\",u.timeout),r.s.server.once(\"error\",u.error),r.s.server.once(\"close\",u.close),r.s.server.once(\"connect\",c),r.s.server.on(\"reconnect\",a),r.s.server.connect(t)},m.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.server.lastIsMaster()?null:(this.s.sCapabilities=new u(this.s.server.lastIsMaster()),this.s.sCapabilities)},v.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[u]}),m.prototype.command=function(e,t,n,r){this.s.server.command(e,t,n,r)},v.classMethod(\"command\",{callback:!0,promise:!1}),m.prototype.insert=function(e,t,n,r){this.s.server.insert(e,t,n,r)},v.classMethod(\"insert\",{callback:!0,promise:!1}),m.prototype.update=function(e,t,n,r){this.s.server.update(e,t,n,r)},v.classMethod(\"update\",{callback:!0,promise:!1}),m.prototype.remove=function(e,t,n,r){this.s.server.remove(e,t,n,r)},v.classMethod(\"remove\",{callback:!0,promise:!1}),m.prototype.isConnected=function(){return this.s.server.isConnected()},m.prototype.isDestroyed=function(){return this.s.server.isDestroyed()},v.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),m.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.server.cursor(e,t,n)},v.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),m.prototype.setBSONParserType=function(e){return this.s.server.setBSONParserType(e)},m.prototype.lastIsMaster=function(){return this.s.server.lastIsMaster()},m.prototype.close=function(e){this.s.server.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},v.classMethod(\"close\",{callback:!1,promise:!1}),m.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.server.auth.apply(this.s.server,e)},v.classMethod(\"auth\",{callback:!0,promise:!1}),m.prototype.connections=function(){return this.s.server.connections()},v.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=m},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],237:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=e(\"util\").format,o=function(e,t){var n=this,r=[];t=t||{force:!1,bufferMaxEntries:-1},this.s={storedOps:r,storeOptions:t,topology:e},Object.defineProperty(this,\"length\",{enumerable:!0,get:function(){return n.s.storedOps.length}})};o.prototype.add=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,n:t,o:n,op:o,c:a})},o.prototype.addObjectAndMethod=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,m:n,o:t,p:o,c:a})},o.prototype.flush=function(){for(;this.s.storedOps.length>0;)this.s.storedOps.shift().c(r.create({message:i(\"no connection available for operation\"),driver:!0}))},o.prototype.execute=function(){var e=this.s.storedOps;for(this.s.storedOps=[];e.length>0;){var t=e.shift();\"cursor\"==t.t?t.o[t.m].apply(t.o,t.p):this.s.topology[t.t](t.n,t.o,t.op,t.c)}},o.prototype.all=function(){return this.s.storedOps};var a=function(e){var t=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},n=!1,r=!1,i=!1,o=!1,a=!1,s=!1,c=e.maxWriteBatchSize||1e3;e.minWireVersion>=0&&(i=!0),e.maxWireVersion>=1&&(n=!0,o=!0),e.maxWireVersion>=2&&(r=!0),e.maxWireVersion>=3&&(a=!0,s=!0),null==e.minWireVersion&&(e.minWireVersion=0),null==e.maxWireVersion&&(e.maxWireVersion=0),t(this,\"hasAggregationCursor\",n),t(this,\"hasWriteCommands\",r),t(this,\"hasTextSearch\",i),t(this,\"hasAuthCommands\",o),t(this,\"hasListCollectionsCommand\",a),t(this,\"hasListIndexesCommand\",s),t(this,\"minWireVersion\",e.minWireVersion),t(this,\"maxWireVersion\",e.maxWireVersion),t(this,\"maxNumberOfDocsInBatch\",c)};n.Store=o,n.ServerCapabilities=a},{\"mongodb-core\":188,util:void 0}],238:[function(e,t,n){\"use strict\";var r=e(\"./read_preference\"),i=e(\"url\"),o=e(\"util\").format;t.exports=function(e,t){t=t||{};var n=\"\",a=\"\",s=\"\",c=\"admin\",u=i.parse(e,!0);if(\"mongodb:\"!=u.protocol)throw new Error(\"invalid schema, expected mongodb\");if((null==u.hostname||\"\"==u.hostname)&&-1==e.indexOf(\".sock\"))throw new Error(\"no hostname or hostnames provided in connection string\");if(\"0\"==u.port)throw new Error(\"invalid port (zero) with hostname\");if(!isNaN(parseInt(u.port,10))&&parseInt(u.port,10)>65535)throw new Error(\"invalid port (larger than 65535) with hostname\");if(u.path&&u.path.length>0&&\"/\"!=u.path[0]&&-1==e.indexOf(\".sock\"))throw new Error(\"missing delimiting slash between hosts and options\");if(u.query)for(var p in u.query){if(-1!=p.indexOf(\"::\"))throw new Error(\"double colon in host identifier\");if(\"\"==u.query[p])throw new Error(\"query parameter \"+p+\" is an incomplete value pair\")}if(u.auth){var l=u.auth.split(\":\");if(-1!=e.indexOf(u.auth)&&l.length>2)throw new Error(\"Username with password containing an unescaped colon\");if(-1!=e.indexOf(u.auth)&&-1!=u.auth.indexOf(\"@\"))throw new Error(\"Username containing an unescaped at-sign\")}for(var f=e.split(\"?\").shift(),d=f.split(\",\"),h=[],m=0;m<d.length;m++){var v=d[m];-1!=v.indexOf(\"mongodb\")?-1!=v.indexOf(\"@\")?h.push(v.split(\"@\").pop()):h.push(v.substr(\"mongodb://\".length)):-1!=v.indexOf(\"/\")?h.push(v.split(\"/\").shift()):-1==v.indexOf(\"/\")&&h.push(v.trim())}for(var m=0;m<h.length;m++){var g=i.parse(o(\"mongodb://%s\",h[m].trim()));if(g.path&&-1!=g.path.indexOf(\":\"))throw new Error(\"double colon in host identifier\")}if(-1!=e.indexOf(\"?\")?(s=e.substr(e.indexOf(\"?\")+1),n=e.substring(\"mongodb://\".length,e.indexOf(\"?\"))):n=e.substring(\"mongodb://\".length),-1!=n.indexOf(\"@\")&&(a=n.split(\"@\")[0],n=n.split(\"@\")[1]),-1!=n.indexOf(\".sock\")){if(-1!=n.indexOf(\".sock/\")){if(c=n.split(\".sock/\")[1],-1!=c.indexOf(\"/\")){if(2==c.split(\"/\").length&&0==c.split(\"/\")[1].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}n=n.split(\"/\",n.indexOf(\".sock\")+\".sock\".length)}}else if(-1!=n.indexOf(\"/\")){if(n.split(\"/\").length>2){if(0==n.split(\"/\")[2].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}c=n.split(\"/\")[1],n=n.split(\"/\")[0]}var y={},b=a||\"\",x=b.split(\":\",2);x[0]=decodeURIComponent(x[0]),x[1]&&(x[1]=decodeURIComponent(x[1])),2==x.length&&(y.auth={user:x[0],password:x[1]});var w,_,k,j={socketOptions:{}},S={read_preference_tags:[]},E={socketOptions:{}},O={socketOptions:{}};if(y.server_options=j,y.db_options=S,y.rs_options=E,y.mongos_options=O,e.match(/\\.sock/)){var A=e.substring(e.indexOf(\"mongodb://\")+\"mongodb://\".length,e.lastIndexOf(\".sock\")+\".sock\".length);-1!=A.indexOf(\"@\")&&(A=A.split(\"@\")[1]),k=[{domain_socket:A}]}else{w=n;var C={};k=w.split(\",\").map(function(e){var t,n,r;if(r=/\\[([^\\]]+)\\](?:\\:(.+))?/.exec(e))t=r[1],n=parseInt(r[2],10)||27017;else{var i=e.split(\":\",2);t=i[0]||\"localhost\",n=null!=i[1]?parseInt(i[1],10):27017,-1!=t.indexOf(\"?\")&&(t=t.split(/\\?/)[0])}return C[t+\"_\"+n]?null:(C[t+\"_\"+n]=1,{host:t,port:n})}).filter(function(e){return null!=e})}if(y.dbName=c||\"admin\",_=(s||\"\").split(/[&;]/),_.forEach(function(e){if(e){var t=e.split(\"=\"),n=t[0],i=t[1];switch(n){case\"slaveOk\":case\"slave_ok\":j.slave_ok=\"true\"==i,S.slaveOk=\"true\"==i;break;case\"maxPoolSize\":case\"poolSize\":j.poolSize=parseInt(i,10),E.poolSize=parseInt(i,10);break;case\"autoReconnect\":case\"auto_reconnect\":j.auto_reconnect=\"true\"==i;break;case\"minPoolSize\":throw new Error(\"minPoolSize not supported\");case\"maxIdleTimeMS\":throw new Error(\"maxIdleTimeMS not supported\");case\"waitQueueMultiple\":throw new Error(\"waitQueueMultiple not supported\");case\"waitQueueTimeoutMS\":throw new Error(\"waitQueueTimeoutMS not supported\");case\"uuidRepresentation\":throw new Error(\"uuidRepresentation not supported\");case\"ssl\":if(\"prefer\"==i){j.ssl=i,E.ssl=i,O.ssl=i;break}j.ssl=\"true\"==i,E.ssl=\"true\"==i,O.ssl=\"true\"==i;break;case\"sslValidate\":j.sslValidate=\"true\"==i,E.sslValidate=\"true\"==i,O.sslValidate=\"true\"==i;break;case\"replicaSet\":case\"rs_name\":E.rs_name=i;break;case\"reconnectWait\":E.reconnectWait=parseInt(i,10);break;case\"retries\":E.retries=parseInt(i,10);break;case\"readSecondary\":case\"read_secondary\":E.read_secondary=\"true\"==i;break;case\"fsync\":S.fsync=\"true\"==i;break;case\"journal\":S.j=\"true\"==i;break;case\"safe\":S.safe=\"true\"==i;break;case\"nativeParser\":case\"native_parser\":S.native_parser=\"true\"==i;break;case\"readConcernLevel\":S.readConcern={level:i};break;case\"connectTimeoutMS\":j.socketOptions.connectTimeoutMS=parseInt(i,10),E.socketOptions.connectTimeoutMS=parseInt(i,10),O.socketOptions.connectTimeoutMS=parseInt(i,10);break;case\"socketTimeoutMS\":j.socketOptions.socketTimeoutMS=parseInt(i,10),E.socketOptions.socketTimeoutMS=parseInt(i,10),O.socketOptions.socketTimeoutMS=parseInt(i,10);break;case\"w\":S.w=parseInt(i,10),isNaN(S.w)&&(S.w=i);break;case\"authSource\":S.authSource=i;break;case\"gssapiServiceName\":S.gssapiServiceName=i;break;case\"authMechanism\":if(\"GSSAPI\"==i)if(null==y.auth){var o=decodeURIComponent(b);if(-1==o.indexOf(\"@\"))throw new Error(\"GSSAPI requires a provided principal\");y.auth={user:o,password:null}}else y.auth.user=decodeURIComponent(y.auth.user);else\"MONGODB-X509\"==i&&(y.auth={user:decodeURIComponent(b)});if(\"GSSAPI\"!=i&&\"MONGODB-X509\"!=i&&\"MONGODB-CR\"!=i&&\"DEFAULT\"!=i&&\"SCRAM-SHA-1\"!=i&&\"PLAIN\"!=i)throw new Error(\"only DEFAULT, GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\");S.authMechanism=i;break;case\"authMechanismProperties\":var a=i.split(\",\"),s={};a.forEach(function(e){var t=e.split(\":\");s[t[0]]=t[1]}),S.authMechanismProperties=s,\"string\"==typeof s.SERVICE_NAME&&(S.gssapiServiceName=s.SERVICE_NAME),\"string\"==typeof s.SERVICE_REALM&&(S.gssapiServiceRealm=s.SERVICE_REALM),\"string\"==typeof s.CANONICALIZE_HOST_NAME&&(S.gssapiCanonicalizeHostName=\"true\"==s.CANONICALIZE_HOST_NAME);break;case\"wtimeoutMS\":S.wtimeout=parseInt(i,10);break;case\"readPreference\":if(!r.isValid(i))throw new Error(\"readPreference must be either primary/primaryPreferred/secondary/secondaryPreferred/nearest\");S.readPreference=i;break;case\"readPreferenceTags\":i=decodeURIComponent(i);var c={};if(null==i||\"\"==i){S.read_preference_tags.push(c);break}for(var u=i.split(/\\,/),p=0;p<u.length;p++){var l=u[p].trim().split(/\\:/);c[l[0]]=l[1]}S.read_preference_tags.push(c)}}}),0===S.read_preference_tags.length&&(S.read_preference_tags=null),!(-1!=S.w&&0!=S.w||1!=S.journal&&1!=S.fsync&&1!=S.safe))throw new Error(\"w set to -1 or 0 cannot be combined with safe/w/journal/fsync\");return S.readPreference||(S.readPreference=\"primary\"),y.servers=k,y}},{\"./read_preference\":234,url:void 0,util:void 0}],239:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=(e(\"util\").format,function(e){var t={};for(var n in e)t[n]=e[n];return t}),o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=n.formatSortValue=function(e){var t=(\"\"+e).toLowerCase();switch(t){case\"ascending\":case\"asc\":case\"1\":return 1;case\"descending\":case\"desc\":case\"-1\":return-1;default:throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\")}},s=n.formattedOrderClause=function(e){var t={};if(null==e)return null;if(Array.isArray(e)){if(0===e.length)return null;for(var n=0;n<e.length;n++)e[n].constructor==String?t[e[n]]=1:t[e[n][0]]=a(e[n][1])}else if(null!=e&&\"object\"==typeof e)t=e;else{if(\"string\"!=typeof e)throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[e]=1}return t},c=function(e){if(\"string\"!=typeof e)throw Error(\"collection name must be a String\");if(!e||-1!=e.indexOf(\"..\"))throw Error(\"collection names cannot be empty\");if(-1!=e.indexOf(\"$\")&&null==e.match(/((^\\$cmd)|(oplog\\.\\$main))/))throw Error(\"collection names must not contain '$'\");if(null!=e.match(/^\\.|\\.$/))throw Error(\"collection names must not start or end with '.'\");if(~e.indexOf(\"\\x00\"))throw new Error(\"collection names cannot contain a null character\")},u=function(e,t,n,r){try{if(null==e)return;return r?e(t,n,r):e(t,n)}catch(t){return process.nextTick(function(){throw t}),!1}return!0},p=function(e){if(e instanceof Error)return e;for(var t=e.err||e.errmsg||e.errMessage||e,n=r.create({message:t,driver:!0}),i=\"object\"==typeof e?Object.keys(e):[],o=0;o<i.length;o++)try{n[i[o]]=e[i[o]]}catch(a){}return n},l=function(e){var t=null;if(\"string\"==typeof e)t=e;else if(Array.isArray(e))t={},e.forEach(function(e){t[e]=1});else if(null!=e&&\"object\"==typeof e){t={};for(var n in e)t[n]=e[n]}return t},f=function(e){var t,n={},r=[];return\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?e.forEach(function(e){\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?(r.push(e[0]+\"_\"+(e[1]||1)),n[e[0]]=e[1]||1):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]}))}):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]})),{name:r.join(\"_\"),keys:t,fieldHash:n}},d=n.isObject=function(e){return\"[object Object]\"==toString.call(e)},h=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},m=function(e,t,n){for(var r in t)null==n[r]&&(e[r]=t[r]);return e};n.shallowClone=i,n.getSingleProperty=o,n.checkCollectionName=c,n.toError=p,n.formattedOrderClause=s,n.parseIndexOptions=f,n.normalizeHintField=l,n.handleCallback=u,n.decorateCommand=m,n.isObject=d,n.debugOptions=h,n.MAX_JS_INT=9007199254740992},{\"mongodb-core\":188,util:void 0}],240:[function(e,t,n){t.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},{}],241:[function(e,t,n){function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}t.exports=r;var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},s=e(\"core-util-is\");s.inherits=e(\"inherits\");var c=e(\"./_stream_readable\"),u=e(\"./_stream_writable\");s.inherits(r,c),o(a(u.prototype),function(e){r.prototype[e]||(r.prototype[e]=u.prototype[e])})},{\"./_stream_readable\":243,\"./_stream_writable\":245,\"core-util-is\":77,inherits:157}],242:[function(e,t,n){function r(e){return this instanceof r?void i.call(this,e):new r(e)}t.exports=r;var i=e(\"./_stream_transform\"),o=e(\"core-util-is\");o.inherits=e(\"inherits\"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":244,\"core-util-is\":77,inherits:157}],243:[function(e,t,n){function r(t,n){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=e(\"string_decoder/\").StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n||void 0===n)t.reading=!1,t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=C)e=C;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return j.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):x(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){f(e)}):f(e))}function f(e){e.emit(\"readable\")}function d(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(function(){h(e,t)}))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e,t,i){var o=e.write(n);!1===o&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):w(r.pipes,t),e.emit(\"data\",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,void(S.listenerCount(e,\"data\")>0&&y(e))):void(r.ranOut=!0)}function g(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw new Error(\"Cannot switch to old mode now.\");var r=t||!1,i=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on(\"readable\",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit(\"data\",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit(\"pause\")},e.resume=function(){r=!1,i?process.nextTick(function(){e.emit(\"readable\")}):this.read(0),this.emit(\"resume\")},e.emit(\"readable\")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):j.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new j(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function x(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit(\"end\"))}))}function w(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var k=e(\"isarray\"),j=e(\"buffer\").Buffer;i.ReadableState=r;var S=e(\"events\").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e(\"stream\"),O=e(\"core-util-is\");O.inherits=e(\"inherits\");var A;O.inherits(i,E),i.prototype.push=function(e,t){var n=this._readableState;return\"string\"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new j(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.setEncoding=function(t){A||(A=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new A(t),this._readableState.encoding=t};var C=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n,r=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=c(e,t),0===e&&t.ended)return n=null,t.length>0&&t.decoder&&(n=b(e,t),t.length-=n.length),0===t.length&&x(this),n;var i=t.needReadable;return t.length-e<=t.highWaterMark&&(i=!0),(t.ended||t.reading)&&(i=!1),i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=c(r,t)),n=e>0?b(e,t):null,null===n&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&x(this),n},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){e===u&&i()}function r(){e.end()}function i(){e.removeListener(\"close\",a),e.removeListener(\"finish\",s),e.removeListener(\"drain\",d),e.removeListener(\"error\",o),e.removeListener(\"unpipe\",n),u.removeListener(\"end\",r),u.removeListener(\"end\",i),e._writableState&&!e._writableState.needDrain||d()}function o(t){c(),e.removeListener(\"error\",o),0===S.listenerCount(e,\"error\")&&e.emit(\"error\",t)}function a(){e.removeListener(\"finish\",s),c()}function s(){e.removeListener(\"close\",a),c()}function c(){u.unpipe(e)}var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1;var l=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,f=l?r:i;p.endEmitted?process.nextTick(f):u.once(\"end\",f),e.on(\"unpipe\",n);var d=m(u);return e.on(\"drain\",d),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on(\"error\",o),e.once(\"close\",a),e.once(\"finish\",s),e.emit(\"pipe\",u),p.flowing||(this.on(\"readable\",g),p.flowing=!0,process.nextTick(function(){v(u)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if(\"data\"!==e||this._readableState.flowing||y(this),\"readable\"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit(\"resume\")},i.prototype.pause=function(){y(this,!0),this.emit(\"pause\")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)\"function\"==typeof e[i]&&\"undefined\"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return w(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){n&&(n=!1,e.resume())},r},i._fromList=b},{buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:240,stream:void 0,\"string_decoder/\":456}],244:[function(e,t,n){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once(\"finish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=(e._readableState,\ne._transformState);if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}t.exports=o;var s=e(\"./_stream_duplex\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\"),c.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{\"./_stream_duplex\":241,\"core-util-is\":77,inherits:157}],245:[function(e,t,n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var n=e(\"./_stream_duplex\");return this instanceof o||this instanceof n?(this._writableState=new i(t,this),this.writable=!0,void _.call(this)):new o(t)}function a(e,t,n){var r=new Error(\"write after end\");e.emit(\"error\",r),process.nextTick(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!x.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),process.nextTick(function(){r(o)}),i=!1}return i}function c(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new x(t,n)),t}function u(e,t,n,i,o){n=c(t,n,i),x.isBuffer(n)&&(i=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new r(n,i,o)):p(e,t,a,n,i,o),s}function p(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function l(e,t,n,r,i){n?process.nextTick(function(){i(r)}):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function f(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(f(n),t)l(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||v(e,n),r?process.nextTick(function(){h(e,n,o,i)}):h(e,n,o,i)}}function h(e,t,n,r){n||m(e,t),r(),n&&y(e,t)}function m(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function v(e,t){t.bufferProcessing=!0;for(var n=0;n<t.buffer.length;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(p(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,n<t.buffer.length?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit(\"finish\")),n}function b(e,t,n){t.ending=!0,y(e,t),n&&(t.finished?process.nextTick(n):e.once(\"finish\",n)),t.ended=!0}t.exports=o;var x=e(\"buffer\").Buffer;o.WritableState=i;var w=e(\"core-util-is\");w.inherits=e(\"inherits\");var _=e(\"stream\");w.inherits(o,_),o.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return\"function\"==typeof t&&(n=t,t=null),x.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},o.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},o.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),\"undefined\"!=typeof e&&null!==e&&this.write(e,t),r.ending||r.finished||b(this,r,n)}},{\"./_stream_duplex\":241,buffer:void 0,\"core-util-is\":77,inherits:157,stream:void 0}],246:[function(e,t,n){n=t.exports=e(\"./lib/_stream_readable.js\"),n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":241,\"./lib/_stream_passthrough.js\":242,\"./lib/_stream_readable.js\":243,\"./lib/_stream_transform.js\":244,\"./lib/_stream_writable.js\":245}],247:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":271}],248:[function(e,t,n){function r(){throw new Error(\"Can't use ES6 promise with mpromise style constructor\")}r.use=function(e){r.ES6=e},t.exports=r},{}],249:[function(e,t,n){function r(){this._pipeline=[],this._model=void 0,this.options=void 0,1===arguments.length&&a.isArray(arguments[0])?this.append.apply(this,arguments[0]):this.append.apply(this,arguments)}function i(e){var t;return\"object\"!=typeof e?!1:(t=Object.keys(e),1===t.length&&t.some(function(e){return\"$\"===e[0]}))}function o(e){var t=e._model.schema,n=t&&t.discriminatorMapping;if(n&&!n.isRoot){var r=e._pipeline,i=n.key,o=n.value;if(r[0]&&r[0].$match&&!r[0].$match[i])r[0].$match[i]=o;else if(r[0]&&r[0].$geoNear)r[0].$geoNear.query=r[0].$geoNear.query||{},r[0].$geoNear.query[i]=o;else{var a={};a[i]=o,e._pipeline=[{$match:a}].concat(r)}}}var a=e(\"util\"),s=e(\"./utils\"),c=e(\"./promise_provider\"),u=e(\"./query\"),p=u.prototype.read;r.prototype.model=function(e){return this._model=e,this},r.prototype.append=function(){var e=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:s.args(arguments);if(!e.every(i))throw new Error(\"Arguments must be aggregate pipeline operators\");return this._pipeline=this._pipeline.concat(e),this},r.prototype.project=function(e){var t={};if(\"object\"!=typeof e||a.isArray(e)){if(1!==arguments.length||\"string\"!=typeof e)throw new Error(\"Invalid project() argument. Must be string or object\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?0:1;0===n&&(e=e.substring(1)),t[e]=n}})}else Object.keys(e).forEach(function(n){t[n]=e[n]});return this.append({$project:t})},r.prototype.near=function(e){var t={};return t.$geoNear=e,this.append(t)},\"group match skip limit out\".split(\" \").forEach(function(e){r.prototype[e]=function(t){var n={};return n[\"$\"+e]=t,this.append(n)}}),r.prototype.unwind=function(){var e=s.args(arguments);return this.append.apply(this,e.map(function(e){return{$unwind:e&&\"$\"===e.charAt(0)?e:\"$\"+e}}))},r.prototype.lookup=function(e){return this.append({$lookup:e})},r.prototype.sample=function(e){return this.append({$sample:{size:e}})},r.prototype.sort=function(e){var t={};if(\"Object\"===e.constructor.name){var n=[\"desc\",\"descending\",-1];Object.keys(e).forEach(function(r){t[r]=-1===n.indexOf(e[r])?1:-1})}else{if(1!==arguments.length||\"string\"!=typeof e)throw new TypeError(\"Invalid sort() argument. Must be a string or object.\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?-1:1;-1===n&&(e=e.substring(1)),t[e]=n}})}return this.append({$sort:t})},r.prototype.read=function(e,t){return this.options||(this.options={}),p.call(this,e,t),this},r.prototype.explain=function(e){var t=this,n=c.get();return new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{}).explain(function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},r.prototype.allowDiskUse=function(e){return this.options||(this.options={}),this.options.allowDiskUse=e,this},r.prototype.cursor=function(e){return this.options||(this.options={}),this.options.cursor=e||{},this},r.prototype.exec=function(e){if(!this._model)throw new Error(\"Aggregate not bound to any Model\");var t=this,n=c.get();return this.options&&this.options.cursor?this.options.cursor.async?new n.ES6(function(n){return t._model.collection.buffer?void t._model.collection.emitter.once(\"queue\",function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(null,r)}):void process.nextTick(function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(r)})}):this._model.collection.aggregate(this._pipeline,this.options||{}):new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{},function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},t.exports=r},{\"./promise_provider\":275,\"./query\":276,\"./utils\":302,util:void 0}],250:[function(e,t,n){function r(e,t,n,i,p){if(!(this instanceof r))return new r(e,t,n,i,p);if(u.isObject(t)&&!t.instanceOfSchema&&(t=new s(t)),t=this.schema||t,!this.schema&&t.options._id&&(e=e||{},void 0===e._id&&(e._id=new c)),!t)throw new a.MissingSchemaError;this.$__setSchema(t),this.$__=new l,this.$__.emitter=new o,this.isNew=!0,this.errors=void 0,\"boolean\"==typeof n?(this.$__.strictMode=n,n=void 0):(this.$__.strictMode=this.schema.options&&this.schema.options.strict,this.$__.selected=n);for(var f=this.schema.requiredPaths(),d=0;d<f.length;++d)this.$__.activePaths.require(f[d]);this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,n,i),!p&&e&&this.init(e),this.$__registerHooksFromSchema();for(var h in t.methods)this[h]=t.methods[h];for(var m in t.statics)this[m]=t.statics[m]}var i=e(\"./document\"),o=e(\"events\").EventEmitter,a=e(\"./error\"),s=e(\"./schema\"),c=e(\"./types/objectid\"),u=e(\"./utils\"),p=a.ValidationError,l=e(\"./internal\");r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.ValidationError=p,t.exports=n=r},{\"./document\":253,\"./error\":260,\"./internal\":272,\"./schema\":279,\"./types/objectid\":300,\"./utils\":302,events:void 0}],251:[function(e,t,n){function r(e,t){if(Array.isArray(e))e.forEach(function(n,o){return Array.isArray(n)||i.isObject(n)?r(n,t):void(e[o]=t.castForQuery(n))});else for(var n=Object.keys(e),o=n.length;o--;){var a=n[o],s=e[a];Array.isArray(s)||i.isObject(s)?(r(s,t),e[a]=s):e[a]=t.castForQuery(s)}}var i=e(\"./utils\"),o=e(\"./schema/index\");t.exports=function a(e,t){for(var n,s,c,u,p,l,f=Object.keys(t),d=f.length;d--;)if(u=f[d],l=t[u],\"$or\"===u||\"$nor\"===u||\"$and\"===u)for(var h=l.length;h--;)l[h]=a(e,l[h]);else{if(\"$where\"===u){if(p=typeof l,\"string\"!==p&&\"function\"!==p)throw new Error(\"Must have a string or function for $where\");\"function\"===p&&(t[u]=l.toString());continue}if(\"$elemMatch\"===u)l=a(e,l);else{if(!e)continue;if(s=e.path(u)){if(null===l||void 0===l){t[u]=null;continue}if(\"Object\"===l.constructor.name)if(n=Object.keys(l).some(function(e){return\"$\"===e.charAt(0)&&\"$id\"!==e&&\"$ref\"!==e})){var m,v=Object.keys(l);for(h=v.length;h--;)if(m=v[h],c=l[m],\"$exists\"!==m){if(\"$type\"!==m)\"$not\"===m?a(e,c):l[m]=s.castForQuery(m,c);else if(\"number\"!=typeof c)throw new Error(\"$type parameter must be Number\")}else if(\"boolean\"!=typeof c)throw new Error(\"$exists parameter must be Boolean\")}else t[u]=s.castForQuery(l);else t[u]=s.castForQuery(l)}else{for(var g,y,b,x=u.split(\".\"),w=x.length;w--&&(g=x.slice(0,w).join(\".\"),!(s=e.path(g))););if(s){s.caster&&s.caster.schema?(b={},y=x.slice(w).join(\".\"),b[y]=l,t[u]=a(s.caster.schema,b)[y]):t[u]=l;continue}if(i.isObject(l)){var _=l.$near?\"$near\":l.$nearSphere?\"$nearSphere\":l.$within?\"$within\":l.$geoIntersects?\"$geoIntersects\":\"\";if(!_)continue;var k=new o.Number(\"__QueryCasting__\"),j=l[_];if(l.$maxDistance&&(l.$maxDistance=k.castForQuery(l.$maxDistance)),\"$within\"===_){var S=j.$center||j.$centerSphere||j.$box||j.$polygon;if(!S)throw new Error(\"Bad $within paramater: \"+JSON.stringify(l));j=S}else\"$near\"===_&&\"string\"==typeof j.type&&Array.isArray(j.coordinates)?j=j.coordinates:(\"$near\"===_||\"$nearSphere\"===_||\"$geoIntersects\"===_)&&j.$geometry&&\"string\"==typeof j.$geometry.type&&Array.isArray(j.$geometry.coordinates)&&(j=j.$geometry.coordinates);r(j,k)}}}}return t}},{\"./schema/index\":286,\"./utils\":302}],252:[function(e,t,n){var r=t.exports=n=Object.create(null),i=\"disconnected\",o=\"connected\",a=\"connecting\",s=\"disconnecting\",c=\"unauthorized\",u=\"uninitialized\";r[0]=i,r[1]=o,r[2]=a,r[3]=s,r[4]=c,r[99]=u,r[i]=0,r[o]=1,r[a]=2,r[s]=3,r[c]=4,r[u]=99},{}],253:[function(e,t,n){(function(r){function i(e,t,n){this.$__=new E,this.$__.emitter=new h,this.isNew=!0,this.errors=void 0;var r=this.schema;\"boolean\"==typeof t?(this.$__.strictMode=t,t=void 0):(this.$__.strictMode=r.options&&r.options.strict,this.$__.selected=t);for(var o=r.requiredPaths(!0),a=0;a<o.length;++a)this.$__.activePaths.require(o[a]);if(this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,t,n),e&&(e instanceof i&&(this.isNew=e.isNew),this.set(e,void 0,!0)),!r.options.strict&&e){var s=this,u=Object.keys(this._doc);u.forEach(function(e){e in r.tree||c(e,null,s)})}this.$__registerHooksFromSchema()}function o(e,t,n,r){r=r||\"\";for(var i,a,s,c=Object.keys(t),u=c.length;u--;)if(s=c[u],a=r+s,i=e.schema.path(a),i||!w.isObject(t[s])||t[s].constructor&&\"Object\"!==w.getFunctionName(t[s].constructor)){if(null===t[s])n[s]=null;else if(void 0!==t[s])if(i)try{n[s]=i.cast(t[s],e,!0)}catch(p){e.invalidate(p.path,new x({path:p.path,message:p.message,type:\"cast\",value:p.value}))}else n[s]=t[s];e.isModified(a)||e.$__.activePaths.init(a)}else n[s]||(n[s]={}),o(e,t[s],n[s],a+\".\")}function a(e,t,n,r){for(var i,o,a=Object.keys(e),s=a.length;s--;)o=a[s],i=e[o],c(o,\"Object\"===w.getFunctionName(i.constructor)&&Object.keys(i).length&&(!i[r.typeKey]||\"type\"===r.typeKey&&i.type.type)?i:null,t,n,a,r)}function s(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n),t[n].enumerable=!0}),t}function c(e,t,n,r,o,c){var u=(r?r+\".\":\"\")+e;r=r||\"\",t?Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=this;if(this.$__.getters||(this.$__.getters={}),!this.$__.getters[u]){var n=Object.create(Object.getPrototypeOf(this),s(this));r||(n.$__.scope=this);for(var i=0,p=o.length;p>i;++i)Object.defineProperty(n,o[i],{enumerable:!1,writable:!0,configurable:!0,value:void 0});Object.defineProperty(n,\"toObject\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"toJSON\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"$__isNested\",{enumerable:!0,configurable:!0,writable:!1,value:!0}),a(t,n,u,c),this.$__.getters[u]=n}return this.$__.getters[u]},set:function(e){return e instanceof i&&(e=e.toObject()),(this.$__.scope||this).set(u,e)}}):Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return this.get.call(this.$__.scope||this,u)},set:function(e){return this.set.call(this.$__.scope||this,u,e)}})}function u(e){for(var t,n,r,i=Object.keys(e),o=i.length;o--;)n=i[o],r=e[n],w.isObject(r)&&(e[n]=u(r)),void 0!==e[n]?t=!0:delete e[n];return t?e:void 0}function p(e,t,n,r){for(var i,o=e.schema,a=Object.keys(o[n]),s=a.length;s--;){i=a[s];for(var c,u=i.split(\".\"),p=u.length,l=p-1,f=t,d=0;p>d;++d)c=u[d],d===l?f[c]=_(e.get(i),r):f=f[c]||(f[c]={})}return t}var l,f,d,h=e(\"events\").EventEmitter,m=e(\"./error\"),v=e(\"./schema/mixed\"),g=e(\"./schema\"),y=e(\"./error/objectExpected\"),b=e(\"./error/strict\"),x=e(\"./schematype\").ValidatorError,w=e(\"./utils\"),_=w.clone,k=w.isMongooseObject,j=e(\"util\").inspect,S=m.ValidationError,E=e(\"./internal\"),O=w.deepEqual,A=e(\"hooks-fixed\"),C=e(\"./promise_provider\");w.each([\"on\",\"once\",\"emit\",\"listeners\",\"removeListener\",\"setMaxListeners\",\"removeAllListeners\",\"addListener\"],function(e){i.prototype[e]=function(){return this.$__.emitter[e].apply(this.$__.emitter,arguments)}}),i.prototype.constructor=i,i.prototype.schema,i.prototype.isNew,i.prototype.id,i.prototype.errors,i.prototype.$__buildDoc=function(e,t,n){var r,i,o={},a=null,s=this;if(t&&\"Object\"===w.getFunctionName(t.constructor))if(r=Object.keys(t),i=r.length,1===i&&\"_id\"===r[0])a=!!t[r[i]];else for(;i--;)if(\"_id\"!==r[i]&&(!t[r[i]]||\"object\"!=typeof t[r[i]])){a=!t[r[i]];break}for(var c=Object.keys(this.schema.paths),u=c.length,p=0;u>p;++p){var l=c[p];if(\"_id\"===l){if(n)continue;if(e&&\"_id\"in e)continue}for(var f=this.schema.paths[l],d=l.split(\".\"),h=d.length,m=h-1,v=\"\",g=o,y=0,b=!1;h>y;++y){var x,_=d[y];if(v+=_,a===!0){if(v in t)break}else t&&v in t&&(b=!0);if(y===m)if(t&&null!==a)if(a===!0){if(l in t)continue;x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l))}else b&&(x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l)));else x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l));else g=g[_]||(g[_]={}),v+=\".\"}}return o},i.prototype.init=function(e,t,n){if(\"function\"==typeof t&&(n=t,t=null),this.isNew=!1,null!==e._id&&void 0!==e._id&&t&&t.populated&&t.populated.length)for(var r=String(e._id),i=0;i<t.populated.length;++i){var a=t.populated[i];this.populated(a.path,a._docs[r],a)}return o(this,e,this._doc),this.$__storeShard(),this.emit(\"init\",this),n&&n(null),this},i.prototype.$__storeShard=function(){var e=this.schema.options.shardKey||this.schema.options.shardkey;if(e&&\"Object\"===w.getFunctionName(e.constructor))for(var t,n=this.$__.shardval={},r=Object.keys(e),i=r.length,o=0;i>o;++o)t=this.getValue(r[o]),k(t)?n[r[o]]=t.toObject({depopulate:!0}):null===t||void 0===t||!t.valueOf||t.constructor&&\"Date\"===w.getFunctionName(t.constructor)?n[r[o]]=t:n[r[o]]=t.valueOf()};for(var T in A)\"pre\"===T||\"post\"===T?i.prototype[\"$\"+T]=i[\"$\"+T]=A[T]:i.prototype[T]=i[T]=A[T];i.prototype.update=function(){var e=w.args(arguments);return e.unshift({_id:this._id}),this.constructor.update.apply(this.constructor,e)},i.prototype.set=function(e,t,n,r){n&&\"Object\"===w.getFunctionName(n.constructor)&&(r=n,n=void 0);var o,a=r&&r.merge,s=n&&n!==!0,c=n===!0,u=r&&\"strict\"in r?r.strict:this.$__.strictMode;if(s&&(o=this.$__.adhocPaths||(this.$__.adhocPaths={}),o[e]=g.interpretAsType(e,n,this.schema.options)),\"string\"!=typeof e){if(null!==e&&void 0!==e){var p=t?t+\".\":\"\";e instanceof i&&(e=e.$__isNested?e.toObject():e._doc);for(var l,f,d=Object.keys(e),h=d.length;h--;){f=d[h];var x=p+f;if(l=this.schema.pathType(x),null===e[f]||void 0===e[f]||!w.isObject(e[f])||e[f].constructor&&\"Object\"!==w.getFunctionName(e[f].constructor)||\"virtual\"===l||\"real\"===l||this.$__path(x)instanceof v||this.schema.paths[x]&&this.schema.paths[x].options&&this.schema.paths[x].options.ref)if(u){if(c&&void 0===e[f]&&void 0!==this.get(f))continue;if(\"real\"===l||\"virtual\"===l)this.schema.paths[x]&&this.schema.paths[x].$isSingleNested&&e[f]instanceof i&&(e[f]=e[f].toObject({virtuals:!1})),this.set(p+f,e[f],c);else if(\"nested\"===l&&e[f]instanceof i)this.set(p+f,e[f].toObject({virtuals:!1}),c);else if(\"throw\"===u)throw\"nested\"===l?new y(f,e[f]):new b(f)}else void 0!==e[f]&&this.set(p+f,e[f],c);else this.set(e[f],p+f,c)}return this}var _=e;e=t,t=_}var k=this.schema.pathType(e);if(\"nested\"===k&&t)return!w.isObject(t)||t.constructor&&\"Object\"!==w.getFunctionName(t.constructor)?(this.invalidate(e,new m.CastError(\"Object\",t,e)),this):(a||this.setValue(e,null),this.set(t,e,c),this);var j,S=e.split(\".\");if(\"adhocOrUndefined\"===k&&u){var E;for(h=0;h<S.length;++h){var O=S.slice(0,h+1).join(\".\");if(j=this.schema.path(O),j instanceof v){E=!0;break}}if(!E){if(\"throw\"===u)throw new b(e);return this}}else{if(\"virtual\"===k)return j=this.schema.virtualpath(e),j.applySetters(t,this),this;j=this.$__path(e)}var A;if(S.length<=1)A=e;else{for(h=0;h<S.length;++h)if(O=S.slice(0,h+1).join(\".\"),this.isDirectModified(O)||null===this.get(O)){A=O;break}A||(A=e)}var C=c?void 0:this.getValue(e);if(!j)return this.$__set(A,e,c,S,j,t,C),this;var T=!0;try{var I=!1;j.options&&j.options.ref&&t instanceof i&&j.options.ref===t.constructor.modelName&&(this.ownerDocument?this.ownerDocument().populated(this.$__fullPath(e),t._id,{model:t.constructor}):this.populated(e,t._id,{model:t.constructor}),I=!0);var P;j.options&&Array.isArray(j.options.type)&&j.options.type.length&&j.options.type[0].ref&&Array.isArray(t)&&t.length>0&&t[0]instanceof i&&t[0].constructor.modelName&&j.options.type[0].ref===t[0].constructor.modelName&&(this.ownerDocument?(P={model:t[0].constructor},this.ownerDocument().populated(this.$__fullPath(e),t.map(function(e){return e._id}),P)):(P={model:t[0].constructor},this.populated(e,t.map(function(e){return e._id}),P)),I=!0),t=j.applySetters(t,this,!1,C),!I&&this.$__.populated&&delete this.$__.populated[e],this.$markValid(e)}catch(F){var M;F instanceof m.CastError||(M=F),this.invalidate(e,new m.CastError(j.instance,t,e,M)),T=!1}return T&&this.$__set(A,e,c,S,j,t,C),this},i.prototype.$__shouldModify=function(e,t,n,r,o,a,s){return this.isNew?!0:void 0!==a||this.isSelected(t)?void 0===a&&t in this.$__.activePaths.states[\"default\"]?!1:this.populated(t)&&a instanceof i&&O(a._id,s)?!1:O(a,s||this.get(t))?!!(!n&&null!==a&&void 0!==a&&t in this.$__.activePaths.states[\"default\"]&&O(a,o.getDefault(this,n))):!0:!0},i.prototype.$__set=function(t,n,r,i,o,a,s){d=d||e(\"./types/embedded\");var c=this.$__shouldModify(t,n,r,i,o,a,s),u=this;c&&(this.markModified(t,a),f||(f=e(\"./types/array\")),a&&a.isMongooseArray&&(a._registerAtomic(\"$set\",a),this.$__.activePaths.forEach(function(e){0===e.indexOf(n+\".\")&&u.$__.activePaths.ignore(e)})));for(var p=this._doc,l=0,h=i.length;h>l;l++){var m=l+1,v=m===h;v?p[i[l]]=a:p=p[i[l]]&&\"Object\"===w.getFunctionName(p[i[l]].constructor)?p[i[l]]:p[i[l]]&&p[i[l]]instanceof d?p[i[l]]:p[i[l]]&&p[i[l]].$isSingleNested?p[i[l]]:p[i[l]]&&Array.isArray(p[i[l]])?p[i[l]]:p[i[l]]={}}},i.prototype.getValue=function(e){return w.getValue(e,this._doc)},i.prototype.setValue=function(e,t){return w.setValue(e,t,this._doc),this},i.prototype.get=function(e,t){var n;t&&(n=g.interpretAsType(e,t,this.schema.options));for(var r=this.$__path(e)||this.schema.virtualpath(e),i=e.split(\".\"),o=this._doc,a=0,s=i.length;s>a;a++)o=null===o||void 0===o?void 0:o[i[a]];return n&&(o=n.cast(o)),r&&!this.populated(e)&&(o=r.applyGetters(o,this)),o},i.prototype.$__path=function(e){var t=this.$__.adhocPaths,n=t&&t[e];return n?n:this.schema.path(e)},i.prototype.markModified=function(e){this.$__.activePaths.modify(e)},i.prototype.modifiedPaths=function(){var e=Object.keys(this.$__.activePaths.states.modify);return e.reduce(function(e,t){var n=t.split(\".\");return e.concat(n.reduce(function(e,t,r){return e.concat(n.slice(0,r).concat(t).join(\".\"))},[]))},[])},i.prototype.isModified=function(e){return e?!!~this.modifiedPaths().indexOf(e):this.$__.activePaths.some(\"modify\")},i.prototype.$isDefault=function(e){return e in this.$__.activePaths.states[\"default\"]},i.prototype.isDirectModified=function(e){return e in this.$__.activePaths.states.modify},i.prototype.isInit=function(e){return e in this.$__.activePaths.states.init},i.prototype.isSelected=function(e){if(this.$__.selected){if(\"_id\"===e)return 0!==this.$__.selected._id;var t,n=Object.keys(this.$__.selected),r=n.length,i=!1;if(1===r&&\"_id\"===n[0])return 0===this.$__.selected._id;for(;r--;)if(t=n[r],\"_id\"!==t){i=!!this.$__.selected[t];break}if(e in this.$__.selected)return i;r=n.length;for(var o=e+\".\";r--;)if(t=n[r],\"_id\"!==t){if(0===t.indexOf(o))return i;if(0===o.indexOf(t+\".\"))return i}return!i}return!0},i.prototype.validate=function(e,t){var n=this,r=C.get();return\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise?void this.$__validate(t):new r.ES6(function(e,r){n.$__validate(function(n){return t&&t(n),n?void r(n):void e()})})},i.prototype.$__validate=function(e){var t=this,n=function(){var e=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),e){for(var n in e.errors)!t.__parent&&e.errors[n]instanceof m.CastError&&t.invalidate(n,e.errors[n]);return e}},i=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});i=i.concat(Object.keys(this.$__.activePaths.states.init)),i=i.concat(Object.keys(this.$__.activePaths.states.modify)),i=i.concat(Object.keys(this.$__.activePaths.states[\"default\"])),0===i.length&&process.nextTick(function(){var t=n();return t?void e(t):void e()});for(var o={},a=0,s=0;s<i.length;++s){var c=i[s],u=t.getValue(c);if(u&&u.isMongooseArray&&!r.isBuffer(u)&&!u.isMongooseDocumentArray)for(var p=u.length,l=0;p>l;++l)i.push(c+\".\"+l)}var f=function(){var t=n();return t?void e(t):void e()},d=function(e){o[e]||(o[e]=!0,a++,process.nextTick(function(){var n=t.schema.path(e);if(!n)return--a||f();if(!t.$isValid(e))return void(--a||f());var r=t.getValue(e);n.doValidate(r,function(n){n&&t.invalidate(e,n,void 0,!0),--a||f()},t)}))};i.forEach(d)},i.prototype.validateSync=function(e){var t=this;\"string\"==typeof e&&(e=e.split(\" \"));var n=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});if(n=n.concat(Object.keys(this.$__.activePaths.states.init)),n=n.concat(Object.keys(this.$__.activePaths.states.modify)),n=n.concat(Object.keys(this.$__.activePaths.states[\"default\"])),e&&e.length){for(var r=[],i=0;i<n.length;++i)-1!==e.indexOf(n[i])&&r.push(n[i]);n=r}var o={};n.forEach(function(e){if(!o[e]){o[e]=!0;var n=t.schema.path(e);if(n&&t.$isValid(e)){var r=t.getValue(e),i=n.doValidateSync(r,t);i&&t.invalidate(e,i,void 0,!0)}}});var a=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),a)for(var s in a.errors)a.errors[s]instanceof m.CastError&&t.invalidate(s,a.errors[s]);return a},i.prototype.invalidate=function(e,t,n,r){return this.$__.validationError||(this.$__.validationError=new S(this)),this.$__.validationError.errors[e]?void 0:(t&&\"string\"!=typeof t||(t=new x({path:e,message:t,type:r||\"user defined\",value:n})),this.$__.validationError===t?this.$__.validationError:(this.$__.validationError.errors[e]=t,this.$__.validationError))},i.prototype.$markValid=function(e){this.$__.validationError&&this.$__.validationError.errors[e]&&(delete this.$__.validationError.errors[e],0===Object.keys(this.$__.validationError.errors).length&&(this.$__.validationError=null))},i.prototype.$isValid=function(e){return!this.$__.validationError||!this.$__.validationError.errors[e]},i.prototype.$__reset=function(){var t=this;return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return t.getValue(e)}).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).forEach(function(e){for(var t=e.length;t--;){var n=e[t];n&&n.$__reset()}}),this.$__dirty().forEach(function(e){var t=e.value;t&&t._atomics&&(t._atomics={})}),this.$__.activePaths.clear(\"modify\"),this.$__.activePaths.clear(\"default\"),this.$__.validationError=void 0,this.errors=void 0,t=this,this.schema.requiredPaths().forEach(function(e){t.$__.activePaths.require(e)}),this},i.prototype.$__dirty=function(){var e=this,t=this.$__.activePaths.map(\"modify\",function(t){return{path:t,value:e.getValue(t),schema:e.$__path(t)}});t=t.concat(this.$__.activePaths.map(\"default\",function(t){return\"_id\"!==t&&e.getValue(t)?{path:t,value:e.getValue(t),schema:e.$__path(t)}:void 0})),t.sort(function(e,t){return e.path<t.path?-1:e.path>t.path?1:0});var n,r,i=[];return t.forEach(function(e){e&&(0!==e.path.indexOf(n)?(n=e.path+\".\",i.push(e),r=e):r.value&&r.value._atomics&&r.value.hasAtomics()&&(r.value._atomics={},r.value._atomics.$set=r.value))}),r=n=null,i},i.prototype.$__setSchema=function(e){a(e.tree,this,void 0,e.options),this.schema=e},i.prototype.$__getArrayPathsToValidate=function(){return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return this.getValue(e)}.bind(this)).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e})},i.prototype.$__getAllSubdocs=function(){function t(e,n){var r=this[n];return r instanceof d&&e.push(r),r&&r.$isSingleNested&&(e=Object.keys(r._doc).reduce(t.bind(r._doc),e),e.push(r)),r&&r.isMongooseDocumentArray?r.forEach(function(n){n&&n._doc&&(n instanceof d&&e.push(n),e=Object.keys(n._doc).reduce(t.bind(n._doc),e))}):r instanceof i&&r.$__isNested&&(r=r.toObject(),r&&(e=Object.keys(r).reduce(t.bind(r),e))),e}l||(l=e(\"./types/documentarray\")),d=d||e(\"./types/embedded\");var n=Object.keys(this._doc).reduce(t.bind(this),[]);return n},i.prototype.$__registerHooksFromSchema=function(){d=d||e(\"./types/embedded\");var t=C.get(),n=this,r=n.schema&&n.schema.callQueue;if(!r.length)return n;var i=r.reduce(function(e,t){if(\"pre\"!==t[0]&&\"post\"!==t[0]&&\"on\"!==t[0])return n[t[0]].apply(n,t[1]),e;var r=[].slice.call(t[1]),i=\"on\"===t[0]?\"post\":r[0];return i in e||(e[i]={post:[],pre:[]}),\"post\"===t[0]?e[i].post.push(r):\"on\"===t[0]?e[i].push(r):e[i].pre.push(r),e},{post:[]});return i.post.forEach(function(e){n.on.apply(n,e)}),delete i.post,i.init&&n instanceof d?(i.init.pre&&i.init.pre.forEach(function(e){n.$pre.apply(n,e)}),i.init.post&&i.init.post.forEach(function(e){n.$post.apply(n,e)}),delete i.init):i.set&&(i.set.pre&&i.set.pre.forEach(function(e){n.$pre.apply(n,e)}),i.set.post&&i.set.post.forEach(function(e){n.$post.apply(n,e)}),delete i.set),Object.keys(i).forEach(function(e){var r=\"$__original_\"+e;n[e]&&(n[r]=n[e],n[e]=function(){var e,i=[].slice.call(arguments),o=i.pop();return new t.ES6(function(t,a){o&&\"function\"!=typeof o?i.push(o):e=o,i.push(function(r,i){return r?(n.$__handleReject(r),e&&e(r),void a(r)):(e&&e.apply(null,[null].concat(Array.prototype.slice.call(arguments,1))),void t(i))}),n[r].apply(n,i)})},i[e].pre.forEach(function(e){e[0]=r,n.$pre.apply(n,e)}),i[e].post.forEach(function(e){e[0]=r,n.$post.apply(n,e)}))}),n},i.prototype.$__handleReject=function(e){this.listeners(\"error\").length?this.emit(\"error\",e):this.constructor.listeners&&this.constructor.listeners(\"error\").length?this.constructor.emit(\"error\",e):this.listeners&&this.listeners(\"error\").length&&this.emit(\"error\",e)},i.prototype.$toObject=function(e,t){var n={transform:!0,json:t};if(e&&e.depopulate&&!e._skipDepopulateTopLevel&&this.$__.wasPopulated)return _(this._id,e);e&&e._skipDepopulateTopLevel&&(e._skipDepopulateTopLevel=!1),(!e||\"Object\"!==w.getFunctionName(e.constructor)||e&&e._useSchemaOptions)&&(t?(e=this.schema.options.toJSON?_(this.schema.options.toJSON):{},e.json=!0,e._useSchemaOptions=!0):(e=this.schema.options.toObject?_(this.schema.options.toObject):{},e.json=!1,e._useSchemaOptions=!0));for(var r in n)void 0===e[r]&&(e[r]=n[r]);\"minimize\"in e||(e.minimize=this.schema.options.minimize);var i=e.transform,o=_(this._doc,e)||{};e.getters&&(p(this,o,\"paths\",e),e.minimize&&(o=u(o)||{})),(e.virtuals||e.getters&&e.virtuals!==!1)&&p(this,o,\"virtuals\",e),e.versionKey===!1&&this.schema.options.versionKey&&delete o[this.schema.options.versionKey];var a=e.transform;if(a===!0||this.schema.options.toObject&&a){var s=e.json?this.schema.options.toJSON:this.schema.options.toObject;s&&(a=\"function\"==typeof e.transform?e.transform:s.transform)}else e.transform=i;if(\"function\"==typeof a){var c=a(this,o,e);\"undefined\"!=typeof c&&(o=c)}return o},i.prototype.toObject=function(e){return this.$toObject(e)},i.prototype.toJSON=function(e){return this.$toObject(e,!0)},i.prototype.inspect=function(e){var t,n=e&&\"Object\"===w.getFunctionName(e.constructor);return t=n?e:this.schema.options.toObject?_(this.schema.options.toObject):{},t.minimize=!1,t.retainKeyOrder=!0,this.toObject(t)},i.prototype.toString=function(){return j(this.inspect())},i.prototype.equals=function(e){var t=this.get(\"_id\"),n=e.get?e.get(\"_id\"):e;return t||n?t&&t.equals?t.equals(n):t===n:O(this,e)},i.prototype.populate=function(){if(0===arguments.length)return this;var e,t=this.$__.populate||(this.$__.populate={}),n=w.args(arguments);if(\"function\"==typeof n[n.length-1]&&(e=n.pop()),n.length)for(var r=w.populate.apply(null,n),i=0;i<r.length;++i)t[r[i].path]=r[i];if(e){var o=w.object.vals(t);\nthis.$__.populate=void 0,o.__noPromise=!0,this.constructor.populate(this,o,e)}return this},i.prototype.execPopulate=function(){var e=C.get(),t=this;return new e.ES6(function(e,n){t.populate(function(t,r){t?n(t):e(r)})})},i.prototype.populated=function(e,t,n){if(null!==t&&void 0!==t){if(t===!0){if(!this.$__.populated)return;return this.$__.populated[e]}return this.$__.populated||(this.$__.populated={}),this.$__.populated[e]={value:t,options:n},t}if(this.$__.populated){var r=this.$__.populated[e];return r?r.value:void 0}},i.prototype.depopulate=function(e){var t=this.populated(e);t&&(delete this.$__.populated[e],this.set(e,t))},i.prototype.$__fullPath=function(e){return e||\"\"},i.ValidationError=S,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./error/objectExpected\":265,\"./error/strict\":267,\"./internal\":272,\"./promise_provider\":275,\"./schema\":279,\"./schema/mixed\":287,\"./schematype\":292,\"./types/array\":295,\"./types/documentarray\":297,\"./types/embedded\":298,\"./utils\":302,events:void 0,\"hooks-fixed\":150,util:void 0}],254:[function(e,t,n){\"use strict\";var r=e(\"./document.js\"),i=e(\"./browserDocument.js\");t.exports=function(){return\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&document===window.document?i:r}},{\"./browserDocument.js\":250,\"./document.js\":253}],255:[function(e,t,n){t.exports=function(){}},{}],256:[function(e,t,n){var r=e(\"bson\").Binary;t.exports=n=r},{bson:59}],257:[function(e,t,n){n.Binary=e(\"./binary\"),n.ObjectId=e(\"./objectid\"),n.ReadPreference=e(\"./ReadPreference\")},{\"./ReadPreference\":255,\"./binary\":256,\"./objectid\":258}],258:[function(e,t,n){var r=e(\"bson\").ObjectID;t.exports=n=r},{bson:59}],259:[function(e,t,n){(function(n){var r;r=e(\"undefined\"==typeof window?n.MONGOOSE_DRIVER_PATH||\"./node-mongodb-native\":\"./browser\"),t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./browser\":257}],260:[function(e,t,n){function r(e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.message=e,this.name=\"MongooseError\"}r.prototype=Object.create(Error.prototype),r.prototype.constructor=Error,t.exports=n=r,r.messages=e(\"./error/messages\"),r.Messages=r.messages,r.CastError=e(\"./error/cast\"),r.ValidationError=e(\"./error/validation\"),r.ValidatorError=e(\"./error/validator\"),r.VersionError=e(\"./error/version\"),r.OverwriteModelError=e(\"./error/overwriteModel\"),r.MissingSchemaError=e(\"./error/missingSchema\"),r.DivergentArrayError=e(\"./error/divergentArray\")},{\"./error/cast\":261,\"./error/divergentArray\":262,\"./error/messages\":263,\"./error/missingSchema\":264,\"./error/overwriteModel\":266,\"./error/validation\":268,\"./error/validator\":269,\"./error/version\":270}],261:[function(e,t,n){function r(e,t,n,r){i.call(this,\"Cast to \"+e+' failed for value \"'+t+'\" at path \"'+n+'\"'),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"CastError\",this.kind=e,this.value=t,this.path=n,this.reason=r}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],262:[function(e,t,n){function r(e){var t=\"For your own good, using `document.save()` to update an array which was selected using an $elemMatch projection OR populated using skip, limit, query conditions, or exclusion of the _id field when the operation results in a $pop or $set of the entire array is not supported. The following path(s) would have been modified unsafely:\\n  \"+e.join(\"\\n  \")+\"\\nUse Model.update() to update these arrays instead.\";i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"DivergentArrayError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],263:[function(e,t,n){var r=t.exports=n={};r.general={},r.general[\"default\"]=\"Validator failed for path `{PATH}` with value `{VALUE}`\",r.general.required=\"Path `{PATH}` is required.\",r.Number={},r.Number.min=\"Path `{PATH}` ({VALUE}) is less than minimum allowed value ({MIN}).\",r.Number.max=\"Path `{PATH}` ({VALUE}) is more than maximum allowed value ({MAX}).\",r.Date={},r.Date.min=\"Path `{PATH}` ({VALUE}) is before minimum allowed value ({MIN}).\",r.Date.max=\"Path `{PATH}` ({VALUE}) is after maximum allowed value ({MAX}).\",r.String={},r.String[\"enum\"]=\"`{VALUE}` is not a valid enum value for path `{PATH}`.\",r.String.match=\"Path `{PATH}` is invalid ({VALUE}).\",r.String.minlength=\"Path `{PATH}` (`{VALUE}`) is shorter than the minimum allowed length ({MINLENGTH}).\",r.String.maxlength=\"Path `{PATH}` (`{VALUE}`) is longer than the maximum allowed length ({MAXLENGTH}).\"},{}],264:[function(e,t,n){function r(e){var t=\"Schema hasn't been registered for model \\\"\"+e+'\".\\nUse mongoose.model(name, schema)';i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"MissingSchemaError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],265:[function(e,t,n){function r(e,t){i.call(this,\"Tried to set nested object field `\"+e+\"` to primitive value `\"+t+\"` and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ObjectExpectedError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],266:[function(e,t,n){function r(e){i.call(this,\"Cannot overwrite `\"+e+\"` model once compiled.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"OverwriteModelError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],267:[function(e,t,n){function r(e){i.call(this,\"Field `\"+e+\"` is not in schema and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"StrictModeError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],268:[function(e,t,n){function r(e){e&&\"model\"===e.constructor.name?i.call(this,e.constructor.modelName+\" validation failed\"):i.call(this,\"Validation failed\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ValidationError\",this.errors={},e&&(e.errors=this.errors)}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,r.prototype.toString=function(){var e=this.name+\": \",t=[];return Object.keys(this.errors).forEach(function(e){this!==this.errors[e]&&t.push(String(this.errors[e]))},this),e+t.join(\", \")},t.exports=n=r},{\"../error.js\":260}],269:[function(e,t,n){function r(e){var t=e.message;t||(t=o.general[\"default\"]);var n=this.formatMessage(t,e);i.call(this,n),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.properties=e,this.name=\"ValidatorError\",this.kind=e.type,this.path=e.path,this.value=e.value}var i=e(\"../error.js\"),o=i.messages;r.prototype=Object.create(i.prototype),r.prototype.constructor=i,Object.defineProperty(r.prototype,\"properties\",{enumerable:!1,writable:!0,value:null}),r.prototype.formatMessage=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];\"message\"!==i&&(e=e.replace(\"{\"+i.toUpperCase()+\"}\",t[i]))}return e},r.prototype.toString=function(){return this.message},t.exports=r},{\"../error.js\":260}],270:[function(e,t,n){function r(){i.call(this,\"No matching document found.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"VersionError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],271:[function(e,t,n){(function(r){\"use strict\";function i(){this.connections=[],this.plugins=[],this.models={},this.modelSchemas={},this.options={pluralization:!0};var e=this.createConnection();e.models=this.models}function o(e,t){var n=this;for(var r in e)\"function\"==typeof e[r]&&e[r].$hasSideEffects?!function(t){n[t]=function(){return e[t].apply(e,arguments)}}(r):-1!==[\"connection\",\"connections\"].indexOf(r)&&(n[r]=e[r]);this.$opPromise=t}var a=e(\"./schema\"),s=e(\"./schematype\"),c=e(\"./virtualtype\"),u=e(\"./connectionstate\"),p=e(\"./types\"),l=e(\"./query\"),f=e(\"./model\"),d=e(\"./document\"),h=e(\"./utils\"),m=h.toCollectionName,v=e(\"../package.json\"),g=e(\"querystring\"),y=e(\"./aggregate\"),b=e(\"./promise_provider\");i.prototype.STATES=u,i.prototype.set=function(e,t){return 1===arguments.length?this.options[e]:(this.options[e]=t,this)},i.prototype.set.$hasSideEffects=!0,i.prototype.get=i.prototype.set;var x=/^.+,.+$/,w=function(e){if(!e)return!1;var t=e.indexOf(\"?\"),n=!1;if(-1!==t)try{var r=g.parse(e.substr(t+1));r&&r.replicaSet&&(n=!0)}catch(i){return!1}return n};i.prototype.createConnection=function(e,t){var n=new k(this);return this.connections.push(n),arguments.length&&(x.test(arguments[0])||w(arguments[0])?n.openSet.apply(n,arguments):t&&t.replset&&(t.replset.replicaSet||t.replset.rs_name)?n.openSet.apply(n,arguments):n.open.apply(n,arguments)),n},i.prototype.createConnection.$hasSideEffects=!0,i.prototype.connect=function(){var e=this.connection;return x.test(arguments[0])||w(arguments[0])?new o(this,e.openSet.apply(e,arguments)):new o(this,e.open.apply(e,arguments))},i.prototype.connect.$hasSideEffects=!0,i.prototype.disconnect=function(e){var t;this.connections.forEach(function(e){e.close(function(e){t||e&&(t=e)})});var n=b.get();return new o(this,new n.ES6(function(n,r){return e&&e(t),t?void r(t):void n()}))},i.prototype.disconnect.$hasSideEffects=!0,i.prototype.model=function(e,t,n,r){\"string\"==typeof t&&(n=t,t=!1),h.isObject(t)&&!t.instanceOfSchema&&(t=new a(t)),\"boolean\"==typeof n&&(r=n,n=null);var i;if(r&&h.isObject(r)?(i=r,r=!0):i={},!this.modelSchemas[e]){if(!t)throw new S.Error.MissingSchemaError(e);this.modelSchemas[e]=t,this._applyPlugins(t)}var o,s;if(this.models[e]&&i.cache!==!1){if(t&&t.instanceOfSchema&&t!==this.models[e].schema)throw new S.Error.OverwriteModelError(e);return n?(o=this.models[e],t=o.prototype.schema,s=o.__subclass(this.connection,t,n)):this.models[e]}if(!t&&(t=this.modelSchemas[e],!t))throw new S.Error.MissingSchemaError(e);\"pluralization\"in t.options||(t.options.pluralization=this.options.pluralization),n||(n=t.get(\"collection\")||m(e,t.options));var c=i.connection||this.connection;return o=f.compile(e,t,n,c,this),r||o.init(),i.cache===!1?o:(this.models[e]=o,this.models[e])},i.prototype.model.$hasSideEffects=!0,i.prototype.modelNames=function(){var e=Object.keys(this.models);return e},i.prototype.modelNames.$hasSideEffects=!0,i.prototype._applyPlugins=function(e){for(var t=0,n=this.plugins.length;n>t;t++)e.plugin(this.plugins[t][0],this.plugins[t][1])},i.prototype._applyPlugins.$hasSideEffects=!0,i.prototype.plugin=function(e,t){return this.plugins.push([e,t]),this},i.prototype.plugin.$hasSideEffects=!0,i.prototype.__defineGetter__(\"connection\",function(){return this.connections[0]}),i.prototype.__defineSetter__(\"connection\",function(e){this.connections[0]=e});var _=r.MONGOOSE_DRIVER_PATH||\"./drivers/node-mongodb-native\",k=e(_+\"/connection\"),j=e(_+\"/collection\");i.prototype.Aggregate=y,i.prototype.Collection=j,i.prototype.Connection=k,i.prototype.version=v.version,i.prototype.Mongoose=i,i.prototype.Schema=a,i.prototype.SchemaType=s,i.prototype.SchemaTypes=a.Types,i.prototype.VirtualType=c,i.prototype.Types=p,i.prototype.Query=l,Object.defineProperty(i.prototype,\"Promise\",{get:function(){return b.get()},set:function(e){b.set(e)}}),i.prototype.PromiseProvider=b,i.prototype.Model=f,i.prototype.Document=d,i.prototype.DocumentProvider=e(\"./document_provider\"),i.prototype.Error=e(\"./error\"),i.prototype.CastError=e(\"./error/cast\"),i.prototype.mongo=e(\"mongodb\"),i.prototype.mquery=e(\"mquery\"),o.prototype=new i,o.prototype.then=function(e,t){var n=b.get();return this.$opPromise?this.$opPromise.then(e,t):new n.ES6(function(e,t){t(new Error(\"Can only call `.then()` if connect() or disconnect() has been called\"))}).then(e,t)},o.prototype[\"catch\"]=function(e){return this.then(null,e)};var S=t.exports=n=new i}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../package.json\":304,\"./aggregate\":249,\"./connectionstate\":252,\"./document\":253,\"./document_provider\":254,\"./error\":260,\"./error/cast\":261,\"./model\":273,\"./promise_provider\":275,\"./query\":276,\"./schema\":279,\"./schematype\":292,\"./types\":299,\"./utils\":302,\"./virtualtype\":303,mongodb:215,mquery:312,querystring:void 0}],272:[function(e,t,n){function r(){this.strictMode=void 0,this.selected=void 0,this.shardval=void 0,this.saveError=void 0,this.validationError=void 0,this.adhocPaths=void 0,this.removing=void 0,this.inserting=void 0,this.version=void 0,this.getters={},this._id=void 0,this.populate=void 0,this.populated=void 0,this.wasPopulated=!1,this.scope=void 0,this.activePaths=new o,this.ownerDocument=void 0,this.fullPath=void 0}var i=e(\"./statemachine\"),o=i.ctor(\"require\",\"modify\",\"init\",\"default\",\"ignore\");t.exports=n=r},{\"./statemachine\":294}],273:[function(e,t,n){(function(r){function i(e,t,n){_.call(this,e,t,n)}function o(e,t){var n=e.schema.options.skipVersioning;return n?(t=t.replace(/\\.\\d+\\./,\".\"),n[t]):!1}function a(e,t,n,r,i,a){if(a||(a=\"$set\"),n[a]||(n[a]={}),n[a][r.path]=i,e.schema.options.versionKey!==!1&&!o(e,r.path)&&R!==(R&e.$__.version)){switch(a){case\"$set\":case\"$unset\":case\"$pop\":case\"$pull\":case\"$pullAll\":case\"$push\":case\"$pushAll\":case\"$addToSet\":break;default:return}\"$push\"===a||\"$pushAll\"===a||\"$addToSet\"===a?e.$__.version=q:/^\\$p/.test(a)?e.increment():Array.isArray(i)?e.increment():/\\.\\d+\\.|\\.\\d+$/.test(r.path)&&(e.$__.version=D)}}function s(e,t,n,r,i){function o(e){return I(e)?e.toObject({depopulate:1}):e}if(!n.$set||!n.$set[r.path]){if(\"function\"==typeof i.$__getAtomics)return void i.$__getAtomics().forEach(function(i){var o=i[0],s=i[1];a(e,t,n,r,s,o)});var s,c,u=i._atomics,p=Object.keys(u),l=p.length;if(0===l)return I(i)?i=i.toObject({depopulate:1}):i.valueOf&&(i=i.valueOf()),a(e,t,n,r,i);for(;l--;)c=p[l],s=u[c],I(s)?s=s.toObject({depopulate:1}):Array.isArray(s)?s=s.map(o):s.valueOf&&(s=s.valueOf()),\"$addToSet\"===c&&(s={$each:s}),a(e,t,n,r,s,c)}}function c(e,t,n){var r=e.populated(t,!0);if(!r&&e.$__.selected){var i=t.split(\".\")[0];if(e.$__.selected[i]&&e.$__.selected[i].$elemMatch||e.$__.selected[i+\".$\"])return i}if(r&&n&&n.isMongooseArray){var o=r.options.match||r.options.options&&T(r.options.options,\"limit\")||r.options.options&&r.options.options.skip||r.options.select&&(0===r.options.select._id||/\\s?-_id\\s?/.test(r.options.select));if(o){var a=n._atomics;if(0===Object.keys(a).length||a.$set||a.$pop)return t}}}function u(e,t){var n=e.schema.indexes();if(!n.length)return void process.nextTick(function(){t&&t()});var r=function(n){n&&e.schema.options.emitIndexErrors&&e.emit(\"error\",n),e.emit(\"index\",n),t&&t(n)},i=function(t,n,r,i){e.emit(\"index-single-done\",t,n,r,i)},o=function(t,n){e.emit(\"index-single-start\",t,n)},a=function(){var t=n.shift();if(!t)return r();var s=t[0],c=t[1];p(c),o(s,c),e.collection.ensureIndex(s,c,z(function(e,t){return i(e,s,c,t),e?r(e):void a()}))};a()}function p(e){e.safe&&(\"boolean\"==typeof e.safe&&(e.w=e.safe,delete e.safe),\"object\"==typeof e.safe&&(e.w=e.safe.w,e.j=e.safe.j,e.wtimeout=e.safe.wtimeout,delete e.safe))}function l(e,t,n,r,i){function o(e){return e?i(e):void(--a||i(null,t))}var a=n.length;if(0===a)return i(null,t);for(var s,c=a;c--;)s=n[c],\"function\"==typeof s.model&&(e=s.model),d(e,t,s,f.call(e,t,s,r,o))}function f(e,t,n,r){var i=this,o=t.path+\".\",a=t.populate;return a?(Array.isArray(a)||(a=[a]),function(t){function s(e){return e?r(e):void(--c||r())}var c=a.length;return t||!c?r(t):void a.forEach(function(t){t=C.clone(t),t._originalPath||(t._originalPath=t.path,t.path=o+t.path);var r,a=n[o.substr(0,o.length-1)]||i.schema._getSchema(o);\"string\"==typeof t.model?t.model=i.model(t.model):a&&a.caster&&a.caster.options&&a.caster.options.ref?(r=i.model(a.caster.options.ref).schema._getSchema(t._originalPath),n[t.path]=r,r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))):a&&a.options&&a.options.ref&&(r=i.model(a.options.ref).schema._getSchema(t._originalPath),r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))),l(t.model||i,e,C.populate(t),n,s)})}):r}function d(e,t,n,r){function i(e){return void 0!==e}function o(e,t,n,r){return n?f.resolve(n):(v=v.concat(r),void(0===--y&&f.resolve(n,v,e,t)))}var a,s;if(Array.isArray(t)||(t=[t]),0===t.length||t.every(C.isNullOrUndefined))return r();a=h(e,t,n),s=m(a);var c,u,p,l,f,d=a.length,v=[];f=new F(function(e,n,i,o){if(e)return r(e);for(var a,c,u=i.options&&i.options.lean,p=n.length,l={},f={},d=0;p>d;d++)c=n[d],a=String(C.getValue(\"_id\",c)),f[a]=c,l[a]=d,u||(c.$__.wasPopulated=!0);g({rawIds:s,rawDocs:f,rawOrder:l,docs:t,path:i.path,options:o}),r()});var y=d,b=!1;for(c=0;d>c;c++){u=a[c],l=u.options.select,p=u.options.match?C.object.shallowCopy(u.options.match):{};var x=C.array.flatten(u.ids,i);if(x=C.array.unique(x),0===x.length||x.every(C.isNullOrUndefined))--y;else{b=!0,p._id||(p._id={$in:x});var w={};w.sort=u.options.options&&u.options.options.sort||void 0,w.excludeId=$.test(l)||l&&0===l._id,w.excludeId&&(\"string\"==typeof l?l=l.replace(U,\" \"):(l=C.object.shallowCopy(l),delete l._id)),u.options.options&&u.options.options.limit&&(w.originalLimit=u.options.options.limit,u.options.options.limit=u.options.options.limit*x.length),u.Model.find(p,l,u.options.options,o.bind(this,u.options,w))}}return b?void 0:r()}function h(e,t,n){var r,i,o,a,s,c,u,p,l,f,d=t.length,h={},m=[],v=n.model&&n.model.modelName||n.model;for(o=e._getSchema(n.path),o&&o.caster&&(o=o.caster),!o&&e.discriminators&&(l=e.schema.discriminatorMapping.key),a=o&&o.options&&o.options.refPath,r=0;d>r;r++){if(i=t[r],a)u=C.getValue(a,i);else if(v)u=[v];else{var g;!o&&l?(f=C.getValue(l,i),f&&(g=e.db.model(f)._getSchema(n.path),g&&g.caster&&(g=g.caster))):g=o,u=[g&&g.options&&g.options.ref||e.modelName]}if(u){Array.isArray(u)||(u=[u]);for(var y=u.length;y--;)p=u[y],h[p]?h[p].docs.push(i):(s=e.db.model(p),c={model:s},o&&!l&&(n.model=s),C.merge(c,n),h[p]={Model:s,options:c,docs:[i],ids:[]},m.push(h[p]))}}return m}function m(e){var t,n,r,i,o,a,s,c,u,p,l,f=[];for(s=e.length,n=0;s>n;n++)for(i=e[n].docs,a=i.length,p=e[n].options,l=p.path,t=0;a>t;t++)c=void 0,r=i[t],o=String(C.getValue(\"_id\",r)),u=!!r.$__,(!c||Array.isArray(c)&&0===c.length)&&(c=C.getValue(l,r)),c&&(c=v(c),p._docs[o]=Array.isArray(c)?c.slice():c),f.push(c),e[n].ids.push(c),u&&r.populated(l,p._docs[o],p);return f}function v(e){if(e instanceof i)return e._id;if(Array.isArray(e)){for(var t=0;t<e.length;++t)e[t]instanceof i&&(e[t]=e[t]._id);return e}return e}function g(e){function t(e){return y(e,o)}w(e.rawIds,e.rawDocs,e.rawOrder,e.options);for(var n=e.docs,r=e.path,i=e.rawIds,o=e.options,a=0;a<n.length;++a)null!=C.getValue(r,n[a])&&C.setValue(r,i[a],n[a],t)}function y(e,t){if(Array.isArray(e)){for(var n=[],r=e.length,i=0;r>i;++i){var o=e[i];if(x(o)&&(b(o,t),n.push(o),t.originalLimit&&n.length>=t.originalLimit))break}for(;e.length>n.length;)Array.prototype.pop.apply(e,[]);for(i=0;i<n.length;++i)e[i]=n[i];return e}return x(e)?(b(e,t),e):null}function b(e,t){t.excludeId&&(\"function\"==typeof e.setValue?delete e._doc._id:delete e._id)}function x(e){if(null==e)return!1;var t=typeof e;return\"string\"===t?!1:\"number\"===t?!1:r.isBuffer(e)?!1:\"ObjectID\"!==e.constructor.name}function w(e,t,n,r,i){for(var o,a,s,c=[],u=r.sort&&e.length>1,p=0;p<e.length;++p)s=e[p],Array.isArray(s)?(w(s,t,n,r,!0),c.push(s)):null!==s||u?(a=String(s),i?(o=t[a],o?u?c[n[a]]=o:c.push(o):c.push(s)):c[p]=o=t[a]||null):c.push(s);e.length=0,c.length&&c.forEach(function(t,n){t&&(e[n]=t)})}var _=e(\"./document\"),k=e(\"./error\"),j=k.VersionError,S=k.DivergentArrayError,E=e(\"./query\"),O=e(\"./aggregate\"),A=e(\"./schema\"),C=e(\"./utils\"),T=C.object.hasOwnProperty,I=C.isMongooseObject,P=e(\"events\").EventEmitter,F=e(\"./promise\"),M=e(\"util\"),z=C.tick,B=e(\"async\"),N=e(\"./promise_provider\"),D=1,q=2,R=D|q;i.prototype.__proto__=_.prototype,i.prototype.db,i.prototype.collection,i.prototype.modelName,i.prototype.baseModelName,i.prototype.$__handleSave=function(e,t){var n=this;if(!e.safe&&this.schema.options.safe&&(e.safe=this.schema.options.safe),\"boolean\"==typeof e.safe&&(e.safe=null),this.isNew){var r={};this.schema.options.toObject&&this.schema.options.toObject.retainKeyOrder&&(r.retainKeyOrder=!0),r.depopulate=1,r._skipDepopulateTopLevel=!0,r.transform=!1;var i=this.toObject(r);if(!C.object.hasOwnProperty(i||{},\"_id\"))return void setTimeout(function(){t(new Error(\"document must have an _id before saving\"))},0);this.$__version(!0,i),this.collection.insert(i,e.safe,function(e,r){return e?(n.isNew=!0,n.emit(\"isNew\",!0),void t(e)):void t(null,r)}),this.$__reset(),this.isNew=!1,this.emit(\"isNew\",!1),this.$__.inserting=!0}else{this.$__.inserting=!1;var o=this.$__delta();if(!o)return this.$__reset(),void t();if(o instanceof Error)return void t(o);var a=this.$__where(o[0]);if(a instanceof Error)return void t(a);this.collection.update(a,o[1],e.safe,function(e,n){return e?void t(e):void t(null,n)}),this.emit(\"isNew\",!1)}},i.prototype.$__save=function(e,t){var n=this;n.$__handleSave(e,function(e,r){if(e)return t(e);n.$__reset(),n.$__storeShard();var i=0;if(r&&(i=Array.isArray(r)?r.length:r.result&&void 0!==r.result.n?r.result.n:r.result&&void 0!==r.result.nModified?r.result.nModified:r),n.$__.version&&!n.$__.inserting){var o=q===(q&n.$__.version);if(n.$__.version=void 0,0>=i){var a=new j;return t(a)}if(o){var s=n.schema.options.versionKey,c=0|n.getValue(s);n.setValue(s,c+1)}}n.emit(\"save\",n,i),t(null,n,i)})},i.prototype.save=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),e.__noPromise)return this.$__save(e,t);var n=this,r=N.get();return new r.ES6(function(r,i){n.$__save(e,function(e,n,o){return e?(t&&t(e),void i(e)):(t&&t(null,n,o),void r(n,o))})})},i.prototype.$__delta=function(){var e=this.$__dirty();if(e.length||R===this.$__.version){var t={},n={},i=e.length,o=[],u=0;for(t._id=this._doc._id;i>u;++u){var p=e[u],l=p.value,f=c(this,p.path,l);f?o.push(f):o.length||(void 0===l?a(this,t,n,p,1,\"$unset\"):null===l?a(this,t,n,p,null):l._path&&l._atomics?s(this,t,n,p,l):l._path&&r.isBuffer(l)?(l=l.toObject(),a(this,t,n,p,l)):(l=C.clone(l,{depopulate:1}),a(this,t,n,p,l)))}return o.length?new S(o):(this.$__.version&&this.$__version(t,n),[t,n])}},i.prototype.$__version=function(e,t){var n=this.schema.options.versionKey;return e===!0?void(n&&this.setValue(n,t[n]=0)):void(this.isSelected(n)&&(D===(D&this.$__.version)&&(e[n]=this.getValue(n)),q===(q&this.$__.version)&&(t.$set&&\"undefined\"!=typeof t.$set[n]||(t.$inc||(t.$inc={}),t.$inc[n]=1))))},i.prototype.increment=function(){return this.$__.version=R,this},i.prototype.$__where=function(e){e||(e={});var t,n;if(e._id||(e._id=this._doc._id),this.$__.shardval){t=Object.keys(this.$__.shardval),n=t.length;for(var r=0;n>r;++r)e[t[r]]=this.$__.shardval[t[r]]}return null==this._doc._id?new Error(\"No _id found on document!\"):e},i.prototype.remove=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),this.$__.removing)return t&&this.$__.removing.then(function(e){t(null,e)},function(e){t(e)}),this;var n=this,r=N.get();return this.$__.removing=new r.ES6(function(r,i){var o=n.$__where();return o instanceof Error?(i(o),void(t&&t(o))):(!e.safe&&n.schema.options.safe&&(e.safe=n.schema.options.safe),void n.collection.remove(o,e,function(e){return e?(i(e),void(t&&t(e))):(n.emit(\"remove\",n),r(n),void(t&&t(null,n)))}))}),this.$__.removing},i.prototype.model=function(e){return this.db.model(e)},i.discriminator=function(e,t){function n(e,t){if(e=C.clone(e),t=C.clone(t),delete e.toJSON,delete e.toObject,delete t.toJSON,delete t.toObject,delete e._id,delete t._id,!C.deepEqual(e,t))throw new Error(\"Discriminator options are not customizable (except toJSON, toObject, _id)\")}function r(t,r){C.merge(t,r);var o={};o[i]={type:String,\"default\":e},t.add(o),t.discriminatorMapping={key:i,value:e,isRoot:!1},r.options.collection&&(t.options.collection=r.options.collection),n(t.options,r.options);var a=t.options.toJSON,s=t.options.toObject,c=t.options._id;t.options=C.clone(r.options),a&&(t.options.toJSON=a),s&&(t.options.toObject=s),\"undefined\"!=typeof c&&(t.options._id=c),t.callQueue=r.callQueue.concat(t.callQueue.slice(t._defaultMiddleware.length)),t._requiredpaths=void 0}if(!t||!t.instanceOfSchema)throw new Error(\"You must pass a valid discriminator Schema\");if(this.schema.discriminatorMapping&&!this.schema.discriminatorMapping.isRoot)throw new Error('Discriminator \"'+e+'\" can only be a discriminator of the root model');var i=this.schema.options.discriminatorKey;if(t.path(i))throw new Error('Discriminator \"'+e+'\" cannot have field with name \"'+i+'\"');if(r(t,this.schema),this.discriminators||(this.discriminators={}),this.schema.discriminatorMapping||(this.schema.discriminatorMapping={key:i,value:null,isRoot:!0}),this.discriminators[e])throw new Error('Discriminator with name \"'+e+'\" already exists');return this.discriminators[e]=this.db.model(e,t,this.collection.name),this.discriminators[e].prototype.__proto__=this.prototype,Object.defineProperty(this.discriminators[e],\"baseModelName\",{value:this.modelName,configurable:!0,writable:!1}),H(this.discriminators[e],t),V(this.discriminators[e],t),this.discriminators[e]};for(var L in P.prototype)i[L]=P.prototype[L];i.init=function(){(this.schema.options.autoIndex||null===this.schema.options.autoIndex&&this.db.config.autoIndex)&&this.ensureIndexes({__noPromise:!0}),this.schema.emit(\"init\",this)},i.ensureIndexes=function(e,t){if(\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise)return void u(this,t);var n=this,r=N.get();return new r.ES6(function(e,r){u(n,function(n){n&&(t&&t(n),r(n)),t&&t(),e()})})},i.schema,i.db,i.collection,i.base,i.discriminators,i.remove=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E(e,{},this,this.collection);return n.remove(t)},i.find=function(e,t,n,r){\"function\"==typeof e?(r=e,e={},t=null,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof n&&(r=n,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.find(e,r)},i.findById=function(e,t,n,r){return\"undefined\"==typeof e&&(e=null),this.findOne({_id:e},t,n,r)},i.findOne=function(e,t,n,r){\"function\"==typeof n?(r=n,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof e&&(r=e,e={},t=null,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.findOne(e,r)},i.count=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E({},{},this,this.collection);return n.count(e,t)},i.distinct=function(e,t,n){var r=new E({},{},this,this.collection);return\"function\"==typeof t&&(n=t,t={}),r.distinct(e,t,n)},i.where=function(e,t){var n=new E({},{},this,this.collection).find({});return n.where.apply(n,arguments)},i.$where=function(){var e=new E({},{},this,this.collection).find({});return e.$where.apply(e,arguments)},i.findOneAndUpdate=function(e,t,n,r){if(\"function\"==typeof n)r=n,n=null;else if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findOneAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options, callback)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update)\\n  \"+this.modelName+\".findOneAndUpdate(update)\\n  \"+this.modelName+\".findOneAndUpdate()\\n\";throw new TypeError(i)}t=e,e=void 0}var o;n&&n.fields&&(o=n.fields,n.fields=void 0),t=C.clone(t,{depopulate:1}),this.schema.options.versionKey&&n&&n.upsert&&(t.$setOnInsert||(t.$setOnInsert={}),t.$setOnInsert[this.schema.options.versionKey]=0);var a=new E({},{},this,this.collection);return a.select(o),a.findOneAndUpdate(e,t,n,r)},i.findByIdAndUpdate=function(e,t,n,r){if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findByIdAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndUpdate(id, callback)\\n  \"+this.modelName+\".findByIdAndUpdate(id)\\n  \"+this.modelName+\".findByIdAndUpdate()\\n\";throw new TypeError(i)}return this.findOneAndUpdate({_id:e},void 0)}return e instanceof _&&(e=e._id),this.findOneAndUpdate.call(this,{_id:e},t,n,r)},i.findOneAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findOneAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndRemove(conditions, callback)\\n  \"+this.modelName+\".findOneAndRemove(conditions)\\n  \"+this.modelName+\".findOneAndRemove()\\n\";throw new TypeError(r)}\"function\"==typeof t&&(n=t,t=void 0);var i;t&&(i=t.select,t.select=void 0);var o=new E({},{},this,this.collection);return o.select(i),o.findOneAndRemove(e,t,n)},i.findByIdAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findByIdAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndRemove(id, callback)\\n  \"+this.modelName+\".findByIdAndRemove(id)\\n  \"+this.modelName+\".findByIdAndRemove()\\n\";throw new TypeError(r)}return this.findOneAndRemove({_id:e},t,n)},i.create=function(e,t){var n,r;if(Array.isArray(e))n=e,r=t;else{var i=arguments[arguments.length-1];\"function\"==typeof i?(r=i,n=C.args(arguments,0,arguments.length-1)):n=C.args(arguments)}var o=N.get(),a=this,s=new o.ES6(function(t,i){if(0===n.length)return void process.nextTick(function(){r&&r(null),t(null)});var o=[];n.forEach(function(e){o.push(function(t){var n=new a(e),r=function(e,n){return e?t(e):void t(null,n)};n.$__original_save?n.$__original_save({__noPromise:!0},r):n.save({__noPromise:!0},r)})}),B.parallel(o,function(n,o){return n?(r&&r(n),void i(n)):void(e instanceof Array?(t(o),r&&r.call(a,null,o)):(t.apply(s,o),r&&(o.unshift(null),r.apply(a,o))))})});return s},i.insertMany=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,i){var o=[];e.forEach(function(e){o.push(function(t){e=new n(e),e.validate({__noPromise:!0},function(n){return n?t(n):void t(null,e)})})}),B.parallel(o,function(e,o){if(e)return i(e),void(t&&t(e));var a=o.map(function(e){return e.toObject({virtuals:!1})});n.collection.insertMany(a,function(e){return e?(i(e),void(t&&t(e))):(r(o),void(t&&t(null,o)))})})})},i.hydrate=function(t){var n=e(\"./queryhelpers\").createModel(this,t);return n.init(t),n},i.update=function(e,t,n,r){var i=new E({},{},this,this.collection);return e=e instanceof _?e.toObject():C.clone(e,{retainKeyOrder:!0}),n=\"function\"==typeof n?n:C.clone(n),i.update(e,t,n,r)},i.mapReduce=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,o){if(!i.mapReduce.schema){var a={noId:!0,noVirtualId:!0,strict:!1};i.mapReduce.schema=new A({},a)}if(e.out||(e.out={inline:1}),e.verbose!==!1&&(e.verbose=!0),e.map=String(e.map),e.reduce=String(e.reduce),e.query){var s=new E(e.query);s.cast(n),e.query=s._conditions,s=void 0}n.collection.mapReduce(null,null,e,function(e,a,s){if(e)return t&&t(e),void o(e);if(a.findOne&&a.mapReduce){var c=i.compile(\"_mapreduce_\"+a.collectionName,i.mapReduce.schema,a.collectionName,n.db,n.base);return c._mapreduce=!0,t&&t(null,c,s),r(c,s)}t&&t(null,a,s),r(a,s)})})},i.geoNear=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();if(!e)return new i.ES6(function(e,t){var r=new Error(\"Must pass a near option to geoNear\");t(r),n&&n(r)});var o,a;return new i.ES6(function(i,s){\nvar c=function(e,o){function a(e){return e&&!u?(u=!0,s(e),void(n&&n(e))):void(--c<=0&&(i(o.results,o.stats),n&&n(null,o.results,o.stats)))}if(e)return s(e),void(n&&n(e));if(t.lean)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));var c=o.results.length;if(0===c)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));for(var u=!1,p=0;p<o.results.length;p++){var l=o.results[p].obj;o.results[p].obj=new r,o.results[p].obj.init(l,a)}};if(Array.isArray(e)){if(2!==e.length){var u=new Error(\"If using legacy coordinates, must be an array of size 2 for geoNear\");return s(u),void(n&&n(u))}o=e[0],a=e[1],r.collection.geoNear(o,a,t,c)}else{if(\"Point\"!==e.type||!Array.isArray(e.coordinates))return u=new Error(\"Must pass either a legacy coordinate array or GeoJSON Point to geoNear\"),s(u),void(n&&n(u));r.collection.geoNear(e,t,c)}})},i.aggregate=function W(){var W,e,t=[].slice.call(arguments);return\"function\"==typeof t[t.length-1]&&(e=t.pop()),W=new O(1===t.length&&M.isArray(t[0])?t[0]:t),W.model(this),\"undefined\"==typeof e?W:W.exec(e)},i.geoSearch=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();return new i.ES6(function(i,o){var a;return void 0!==e&&C.isObject(e)?t.near?Array.isArray(t.near)||(a=new Error(\"near option must be an array [x, y]\")):a=new Error(\"Must specify the near option in geoSearch\"):a=new Error(\"Must pass conditions to geoSearch\"),a?(n&&n(a),void o(a)):(t.search=e,void r.collection.geoHaystackSearch(t.near[0],t.near[1],t,function(e,a){function s(e){return e&&!u?(n&&n(e),void o(e)):void(--c||u||(n&&n(null,a.results,a.stats),i(a.results,a.stats)))}if(e)return n&&n(e),void o(e);var c=a.results.length;if(t.lean||0===c)return n&&n(null,a.results,a.stats),void i(a.results,a.stats);for(var u=!1,p=0;p<a.results.length;p++){var l=a.results[p];a.results[p]=new r,a.results[p].init(l,{},s)}}))})},i.populate=function(e,t,n){var r=this,i=t&&!!t.__noPromise;t=C.populate(t);var o={};if(!i){var a=N.get();return new a.ES6(function(i,a){l(r,e,t,o,function(e,t){e?(n&&n(e),a(e)):(n&&n(null,t),i(t))})})}l(this,e,t,o,n)};var $=/\\s?-_id\\s?/,U=/\\s?-_id\\s?/g;i._getSchema=function(e){return this.schema._getSchema(e)},i.compile=function(e,t,n,r,o){function a(e,t,n){return this instanceof a?void i.call(this,e,t,n):new a(e,t,n)}var s=t.options.versionKey!==!1;if(s&&!t.paths[t.options.versionKey]){var c={};c[t.options.versionKey]=Number,t.add(c)}a.hooks=t.s.hooks.clone(),a.base=o,a.modelName=e,a.__proto__=i,a.prototype.__proto__=i.prototype,a.model=i.prototype.model,a.db=a.prototype.db=r,a.discriminators=a.prototype.discriminators=void 0,a.prototype.$__setSchema(t);var u={bufferCommands:t.options.bufferCommands,capped:t.options.capped};return a.prototype.collection=r.collection(n,u),H(a,t),V(a,t),a.schema=a.prototype.schema,a.collection=a.prototype.collection,a};var H=function(e,t){function n(t,n){Object.defineProperty(e.prototype,t,{get:function(){var e={};for(var r in n.methods[t])e[r]=n.methods[t][r].bind(this);return e},configurable:!0})}for(var r in t.methods)\"function\"==typeof t.methods[r]?e.prototype[r]=t.methods[r]:n(r,t)},V=function(e,t){for(var n in t.statics)e[n]=t.statics[n]};i.__subclass=function(e,t,n){var r=this,i=function c(e,t,n){return this instanceof c?void r.call(this,e,t,n):new c(e,t,n)};i.__proto__=r,i.prototype.__proto__=r.prototype,i.db=i.prototype.db=e;var o=t&&\"string\"!=typeof t?t:r.prototype.schema,a=o.options||{};n||(n=r.prototype.schema.get(\"collection\")||C.toCollectionName(r.modelName,a));var s={bufferCommands:o?a.bufferCommands:!0,capped:o&&a.capped};return i.prototype.collection=e.collection(n,s),i.collection=i.prototype.collection,i.init(),i},t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregate\":249,\"./document\":253,\"./error\":260,\"./promise\":274,\"./promise_provider\":275,\"./query\":276,\"./queryhelpers\":277,\"./schema\":279,\"./utils\":302,async:11,events:void 0,util:void 0}],274:[function(e,t,n){function r(e){i.call(this,e)}var i=e(\"mpromise\"),o=e(\"util\");r.ES6=function(e){var t=new r;return e(function(){t.complete.apply(t,arguments)},function(e){t.error(e)}),t},r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),r.SUCCESS=\"complete\",r.FAILURE=\"err\",r.prototype.error=function(e){return e instanceof Error||(e instanceof Object&&(e=o.inspect(e)),e=new Error(e)),this.reject(e)},r.prototype.resolve=function(e){return e?this.error(e):this.fulfill.apply(this,Array.prototype.slice.call(arguments,1))},r.prototype.addBack=r.prototype.onResolve,r.prototype.complete=i.prototype.fulfill,r.prototype.addCallback=r.prototype.onFulfill,r.prototype.addErrback=r.prototype.onReject,t.exports=r},{mpromise:307,util:void 0}],275:[function(e,t,n){var r=e(\"./promise\"),i={_promise:r};i.get=function(){return i._promise},i.set=function(t){return t===r?i.reset():(i._promise=e(\"./ES6Promise\"),i._promise.use(t),void(e(\"mquery\").Promise=i._promise.ES6))},i.reset=function(){i._promise=r},t.exports=i},{\"./ES6Promise\":248,\"./promise\":274,mquery:312}],276:[function(e,t,n){function r(e,t,n,i){if(this._mongooseOptions||(this._mongooseOptions={}),t)for(var o=Object.keys(t),a=0;a<o.length;++a){var s=o[a];this._mongooseOptions[s]=t[s]}i&&(this.mongooseCollection=i),n&&(this.model=n,this.schema=n.schema),this.model&&this.model._mapreduce&&this.lean(),p.call(this,this.mongooseCollection,t),e&&this.find(e),this.schema&&(this._count=this.model.hooks.createWrapper(\"count\",r.prototype._count,this),this._execUpdate=this.model.hooks.createWrapper(\"update\",r.prototype._execUpdate,this),this._find=this.model.hooks.createWrapper(\"find\",r.prototype._find,this),this._findOne=this.model.hooks.createWrapper(\"findOne\",r.prototype._findOne,this),this._findOneAndRemove=this.model.hooks.createWrapper(\"findOneAndRemove\",r.prototype._findOneAndRemove,this),this._findOneAndUpdate=this.model.hooks.createWrapper(\"findOneAndUpdate\",r.prototype._findOneAndUpdate,this))}function i(e,t,n,r,i,o){function a(e){return e?o(e):void(--c||o(null,s))}for(var s=[],c=t.length,u=c,p=i?{populated:i}:void 0,l=0;u>l;++l)s[l]=v.createModel(e,t[l],n),s[l].init(t[l],p,a)}function o(e,t,n,r,i,o,a){var s=o?{populated:o}:void 0,c=v.createModel(e,t,r);c.init(t,s,function(e){return e?a(e):n?a(null,c,n):void a(null,c)})}function a(e){if(e&&e.model&&e.model.schema){var t=e.model.schema;t&&t.discriminatorMapping&&!t.discriminatorMapping.isRoot&&(e._conditions[t.discriminatorMapping.key]=t.discriminatorMapping.value)}}function s(e){if(!Array.isArray(e.sort)&&m.isObject(e.sort)){var t=[];for(var n in e.sort)m.object.hasOwnProperty(e.sort,n)&&t.push([n,e.sort[n]]);e.sort=t}}function c(e){try{return e.cast(e.model)}catch(t){return t}}function u(e,t){try{return e._castUpdate(e._update,t)}catch(n){return n}}var p=e(\"mquery\"),l=e(\"util\"),f=e(\"./drivers\").ReadPreference,d=e(\"./promise_provider\"),h=e(\"./services/updateValidators\"),m=e(\"./utils\"),v=e(\"./queryhelpers\"),g=e(\"./querystream\"),y=e(\"./error/strict\"),b=e(\"./cast\");r.prototype=new p,r.prototype.constructor=r,r.base=p.prototype,r.use$geoWithin=p.use$geoWithin,r.prototype.toConstructor=function(){var e=function(n,i){return this instanceof e?(this._mongooseOptions=m.clone(t._mongooseOptions),void r.call(this,n,i||null)):new e(n,i)};l.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=m.clone(this._conditions),t._fields=m.clone(this._fields),t._update=m.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t.model=this.model,t.mongooseCollection=this.mongooseCollection,t._mongooseOptions=this._mongooseOptions,e},r.prototype.read=function _(e,t){var _=f.call(f,e,t);return r.base.read.call(this,_)},r.prototype.setOptions=function(e,t){return t?(this._mongooseOptions=e&&m.clone(e)||{},this.options=e||{},\"populate\"in e&&this.populate(this._mongooseOptions),this):e&&\"Object\"===e.constructor.name?r.base.setOptions.call(this,e):this},r.prototype.getQuery=function(){return this._conditions},r.prototype.getUpdate=function(){return this._update},r.prototype._optionsForExec=function(e){var t=r.base._optionsForExec.call(this);return delete t.populate,(e=e||this.model)?(\"safe\"in t||!e.schema.options.safe||(t.safe=e.schema.options.safe),\"readPreference\"in t||!e.schema.options.read||(t.readPreference=e.schema.options.read),t):t},r.prototype.lean=function(e){return this._mongooseOptions.lean=arguments.length?!!e:!0,this},r.prototype._find=function(e){if(this._castError)return e(this._castError),this;this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._fieldsForExec(),n=this._mongooseOptions,o=this,a=function(r,a){if(r)return e(r);if(0===a.length)return e(null,a);if(!n.populate)return n.lean===!0?e(null,a):i(o.model,a,t,o,null,e);var s=v.preparePopulationOptionsMQ(o,n);s.__noPromise=!0,o.model.populate(a,s,function(r,a){return r?e(r):n.lean===!0?e(null,a):i(o.model,a,t,o,s,e)})};return r.base.find.call(this,{},a)},r.prototype.find=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=m.toObject(e),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(n){this._castError=n}return t?(this._find(t),this):r.base.find.call(this)},r.prototype._findOne=function(e){if(this._castError)return e(this._castError);this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._mongooseOptions,n=this._fieldsForExec(),i=this;r.base.findOne.call(i,{},function(r,a){if(r)return e(r);if(!a)return e(null,null);if(!t.populate)return t.lean===!0?e(null,a):o(i.model,a,null,n,i,null,e);var s=v.preparePopulationOptionsMQ(i,t);s.__noPromise=!0,i.model.populate(a,s,function(r,a){return r?e(r):t.lean===!0?e(null,a):o(i.model,a,null,n,i,s,e)})})},r.prototype.findOne=function(e,t,n,i){\"function\"==typeof e?(i=e,e=null,t=null,n=null):\"function\"==typeof t?(i=t,n=null,t=null):\"function\"==typeof n&&(i=n,n=null),e=m.toObject(e),this.op=\"findOne\",n&&this.setOptions(n),t&&this.select(t),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(o){this._castError=o}return i?(this._findOne(i),this):r.base.findOne.call(this)},r.prototype._count=function(e){try{this.cast(this.model)}catch(t){return process.nextTick(function(){e(t)}),this}var n=this._conditions,r=this._optionsForExec();this._collection.count(n,r,m.tick(e))},r.prototype.count=function(e,t){return\"function\"==typeof e&&(t=e,e=void 0),p.canMerge(e)&&this.merge(e),this.op=\"count\",t?(this._count(t),this):this},r.prototype.distinct=function(e,t,n){n||(\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0,t=void 0)),t=m.toObject(t),p.canMerge(t)&&this.merge(t);try{this.cast(this.model)}catch(i){if(!n)throw i;return n(i),this}return r.base.distinct.call(this,{},e,n)},r.prototype.sort=function(e){var t={};if(arguments.length>1)throw new Error(\"sort() only takes 1 Argument\");if(Array.isArray(e))for(var n=0;n<e.length;n++){if(!Array.isArray(e[n]))throw new Error(\"Invalid sort() argument.\");t[e[n][0]]=e[n][1]}else t=e;return r.base.sort.call(this,t)},r.prototype.remove=function(e,t){\"function\"==typeof e&&(t=e,e=null);var n=\"function\"==typeof t;try{this.cast(this.model)}catch(i){return n?process.nextTick(t.bind(null,i)):this}return r.base.remove.call(this,e,t)},r.prototype.findOneAndUpdate=function(e,t,n,r){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(r=n,n={});break;case 2:\"function\"==typeof t&&(r=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(r=e,e=n=t=void 0):(t=e,e=n=void 0)}return p.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),r?this._findOneAndUpdate(r):this},r.prototype._findOneAndUpdate=function(e){return this._findAndModify(\"update\",e),this},r.prototype.findOneAndRemove=function(e,t,n){switch(this.op=\"findOneAndRemove\",this._validate(),arguments.length){case 2:\"function\"==typeof t&&(n=t,t={});break;case 1:\"function\"==typeof e&&(n=e,e=void 0,t=void 0)}return p.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?(this._findOneAndRemove(n),this):this},r.prototype._findOneAndRemove=function(e){r.base.findOneAndRemove.call(this,e)},r.prototype._findAndModify=function(e,t){if(\"function\"!=typeof t)throw new Error(\"Expected callback in _findAndModify\");var n,r,i,a,p,l=this.model,f=l.schema,d=this;if(n=c(this),n instanceof Error)return t(n);if(a=this._optionsForExec(l),\"strict\"in a&&(this._mongooseOptions.strict=a.strict),\"remove\"===e)a.remove=!0;else{if(\"new\"in a||(a[\"new\"]=!1),\"upsert\"in a||(a.upsert=!1),(a.upsert||a[\"new\"])&&(a.remove=!1),r=u(this,a.overwrite)){if(r instanceof Error)return t(r);r.$set&&0===Object.keys(r.$set).length&&delete r.$set}else{if(!a.upsert)return this.findOne(t);var g=m.clone(n);delete g._id,r={$set:g}}p=h(this,f,r,a)}this._applyPaths();var y=this._mongooseOptions;if(this._fields&&(i=m.clone(this._fields),a.fields=this._castFields(i),a.fields instanceof Error))return t(a.fields);a.sort&&s(a);var b=function(e,n,r){if(e)return t(e);if(!n||m.isObject(n)&&0===Object.keys(n).length)return a.passRawResult?t(null,null,r):t(null,null);if(a.passRawResult||(r=null),!y.populate)return y.lean===!0?t(null,n):o(d.model,n,r,i,d,null,t);var s=v.preparePopulationOptionsMQ(d,y);s.__noPromise=!0,d.model.populate(n,s,function(e,n){return e?t(e):y.lean===!0?t(null,n):o(d.model,n,r,i,d,s,t)})};if((a.runValidators||a.setDefaultsOnInsert)&&p){var x=function(e){return e?t(e):void d._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}))};try{p(x)}catch(w){t(w)}}else this._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}));return this},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&m.mergeClone(this._update,e._update):m.mergeClone(this._update,e)},r.prototype._execUpdate=function(e){var t,n,i=this.model.schema,o=this._conditions,a=this._update,s=this.options;if(this._castError)return e(this._castError),this;if(this.options.runValidators||this.options.setDefaultsOnInsert){n=this,t=h(this,i,a,s);var c=function(t){return t?e(t):void r.base.update.call(n,o,a,s,e)};try{t(c)}catch(u){process.nextTick(function(){e(u)})}return this}return r.base.update.call(this,o,a,s,e),this},r.prototype.update=function(e,t,n,i){\"function\"==typeof n?(i=n,n=null):\"function\"==typeof t?(i=t,t=e,e={},n=null):\"function\"==typeof e?(i=e,e=void 0,t=void 0,n=void 0):\"object\"!=typeof e||t||n||i||(t=e,e=void 0,n=void 0,i=void 0),e=m.toObject(e);var o=i;if(o){if(\"function\"!=typeof o)throw new Error(\"Invalid callback() argument.\");i=function(e,t){o(e,t?t.result:{ok:0,n:0,nModified:0})}}n&&\"strict\"in n&&(this._mongooseOptions.strict=n.strict),!t&&this._update&&(t=this._updateForExec()),p.canMerge(e)&&this.merge(e);var a=c(this);if(a instanceof Error){if(this._castError=a,i)return i(a),this;if(!n||!n.dontThrowCastError)throw a}var s;try{var u={retainKeyOrder:!0};n&&n.minimize&&(u.minimize=!0),s=this._castUpdate(m.clone(t,u),n&&n.overwrite)}catch(l){if(this._castError=a,i)return i(l),this;if(!n||!n.dontThrowCastError)throw l}return s?(m.isObject(n)&&this.setOptions(n),this._update||(this._update=s),i?this._execUpdate(i):r.base.update.call(this,a,s,n,i)):(this.op=\"update\",i&&i(null),this)},r.prototype.exec=function(e,t){var n=d.get(),r=this;return\"function\"==typeof e?(t=e,e=null):\"string\"==typeof e&&(this.op=e),new n.ES6(function(e,n){return r.op?void r[r.op].call(r,function(r,i){return r?(t&&t(r),void n(r)):(t&&t.apply(null,arguments),void e(i))}):(t&&t(null,void 0),void e())})},r.prototype.then=function(e,t){return this.exec().then(e,t)},r.prototype._getSchema=function(e){return this.model._getSchema(e)};var x={$push:1,$pushAll:1,$addToSet:1,$set:1},w={$pop:1,$unset:1,$inc:1};r.prototype._castUpdate=function(e,t){if(e){for(var n,r,i=Object.keys(e),o=i.length,a={},s=!1;o--;){var c=i[o];\"$\"===c[0]||t?\"$set\"===c?a.$set||(a[c]=e[c]):a[c]=e[c]:(a.$set||(e.$set?a.$set=e.$set:a.$set={}),a.$set[c]=e[c],i.splice(o,1),~i.indexOf(\"$set\")||i.push(\"$set\"))}for(o=i.length,t&&(n=!0);o--;)if(c=i[o],r=a[c],s=s||\"$\"===c.charAt(0),!r||\"Object\"!==r.constructor.name||t&&!s){if(!t||\"Object\"!==a.constructor.name){var u=\"Invalid atomic update value for \"+c+\". Expected an object, received \"+typeof r;throw new Error(u)}this._walkUpdatePath(a,\"$set\")}else n|=this._walkUpdatePath(r,c);return n&&a}},r.prototype._walkUpdatePath=function(e,t,n){for(var r,i,o,a=n?n+\".\":\"\",s=Object.keys(e),c=s.length,u=!1,p=this.schema.options.useNestedStrict;c--;)if(i=s[c],o=e[i],o&&\"Object\"===o.constructor.name)if(r=this._getSchema(a+i),r&&r.caster&&t in x)u=!0,\"$each\"in o?(e[i]={$each:this._castUpdateVal(r,o.$each,t)},null!=o.$slice&&(e[i].$slice=0|o.$slice),o.$sort&&(e[i].$sort=o.$sort),(o.$position||0===o.$position)&&(e[i].$position=o.$position)):e[i]=this._castUpdateVal(r,o,t);else if(\"$currentDate\"===t)e[i]=this._castUpdateVal(r,o,t),u=!0;else if(\"$set\"===t&&r)e[i]=this._castUpdateVal(r,o,t),u=!0;else{var l=a+i,f=this.model.schema._getPathType(l),d=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&f.schema||this.schema).options.strict;if(\"undefined\"===f.pathType){if(\"throw\"===d)throw new y(l);if(d){delete e[i];continue}}u|=this._walkUpdatePath(o,t,a+i)||m.isObject(o)&&0===Object.keys(o).length}else{var h=\"$each\"===i||\"$or\"===i||\"$and\"===i?n:a+i;r=this._getSchema(h);var v=this.model.schema._getPathType(h),g=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&v.schema||this.schema).options.strict,b=g&&!r&&!/real|nested/.test(v.pathType);if(b){if(\"throw\"===g)throw new y(a+i);delete e[i]}else{if(\"$rename\"===t){u=!0;continue}u=!0,e[i]=this._castUpdateVal(r,o,t,i)}}return u},r.prototype._castUpdateVal=function(e,t,n,r){if(!e)return n in w?Number(t):t;var i=e.caster&&n in x&&(m.isObject(t)||Array.isArray(t));if(i){var o=e.cast(t);t=Array.isArray(t)?o:e.caster.$isSingleNested?o:o[0]}return n in w?Number(t):\"$currentDate\"===n?\"object\"==typeof t?{$type:t.$type}:Boolean(t):/^\\$/.test(r)?e.castForQuery(r,t):e.castForQuery(t)},r.prototype.populate=function(){var e=m.populate.apply(null,arguments),t=this._mongooseOptions;m.isObject(t.populate)||(t.populate={});for(var n=t.populate,r=0;r<e.length;++r){var i=e[r].path;n[i]&&n[i].populate&&e[r].populate&&(e[r].populate=n[i].populate.concat(e[r].populate)),n[e[r].path]=e[r]}return this},r.prototype.cast=function(e,t){return t||(t=this._conditions),b(e.schema,t)},r.prototype._castFields=function(e){var t,n,r,i,o,a;if(e)for(r=Object.keys(e),n=[],a=r.length;a--;)i=r[a],e[i].$elemMatch&&(t||(t={}),t[i]=e[i],n.push(i));if(t){try{o=this.cast(this.model,t)}catch(s){return s}for(a=n.length;a--;)i=n[a],e[i]=o[i]}return e},r.prototype._applyPaths=function(){var e,t,n,r=this._fields;if(r)for(t=Object.keys(r),n=t.length;n--;)if(\"+\"!==t[n][0]){e=0===r[t[n]];break}var i=[],o=[],a=[],s=function(n,a){if(\"boolean\"==typeof a.selected){var s=\"+\"+n;if(r&&s in r)return delete r[s],void(e===!1&&t.length>1&&!~t.indexOf(n)&&(r[n]=1));var c=n.split(\".\")[0];~o.indexOf(c)||(a.selected?i:o).push(n)}},c=function(e,t){t||(t=\"\"),~a.indexOf(e)||(a.push(e),e.eachPath(function(e,n){t&&(e=t+\".\"+e),s(e,n),n.schema&&c(n.schema,e)}))};switch(c(this.model.schema),e){case!0:o.length&&this.select(\"-\"+o.join(\" -\"));break;case!1:this.model.schema&&this.model.schema.paths._id&&this.model.schema.paths._id.options&&this.model.schema.paths._id.options.select===!1&&i.push(\"-_id\"),i.length&&this.select(i.join(\" \"));break;case void 0:o.length&&this.select(\"-\"+o.join(\" -\"))}a=o=i=t=r=null},r.prototype.stream=function(e){return this._applyPaths(),this._fields=this._castFields(this._fields),new g(this,e)},r.prototype.maxscan=r.base.maxScan,r.prototype.tailable=function(e,t){if(e&&\"Object\"===e.constructor.name&&(t=e,e=!0),void 0===e&&(e=!0),t&&\"object\"==typeof t)for(var n in t)\"awaitdata\"===n?this.options[n]=!!t[n]:this.options[n]=t[n];return r.base.tailable.call(this,e)},r.prototype.near=function(){var e=[],t=this._mongooseOptions.nearSphere;if(1===arguments.length)if(Array.isArray(arguments[0]))e.push({center:arguments[0],spherical:t});else if(\"string\"==typeof arguments[0])e.push(arguments[0]);else{if(!m.isObject(arguments[0]))throw new TypeError(\"invalid argument\");\"boolean\"!=typeof arguments[0].spherical&&(arguments[0].spherical=t),e.push(arguments[0])}else if(2===arguments.length)if(\"number\"==typeof arguments[0]&&\"number\"==typeof arguments[1])e.push({center:[arguments[0],arguments[1]],spherical:t});else if(\"string\"==typeof arguments[0]&&Array.isArray(arguments[1]))e.push(arguments[0]),e.push({center:arguments[1],spherical:t});else{if(\"string\"!=typeof arguments[0]||!m.isObject(arguments[1]))throw new TypeError(\"invalid argument\");e.push(arguments[0]),\"boolean\"!=typeof arguments[1].spherical&&(arguments[1].spherical=t),e.push(arguments[1])}else{if(3!==arguments.length)throw new TypeError(\"invalid argument\");if(\"string\"!=typeof arguments[0]||\"number\"!=typeof arguments[1]||\"number\"!=typeof arguments[2])throw new TypeError(\"invalid argument\");e.push(arguments[0]),e.push({center:[arguments[1],arguments[2]],spherical:t})}return r.base.near.apply(this,e)},r.prototype.nearSphere=function(){return this._mongooseOptions.nearSphere=!0,this.near.apply(this,arguments),this},r.prototype.box=function(e,t){return!Array.isArray(e)&&m.isObject(e)&&(t=e.ur,e=e.ll),r.base.box.call(this,e,t)},r.prototype.center=r.base.circle,r.prototype.centerSphere=function(){arguments[0]&&\"Object\"===arguments[0].constructor.name&&(arguments[0].spherical=!0),arguments[1]&&\"Object\"===arguments[1].constructor.name&&(arguments[1].spherical=!0),r.base.circle.apply(this,arguments)},t.exports=r},{\"./cast\":251,\"./drivers\":259,\"./error/strict\":267,\"./promise_provider\":275,\"./queryhelpers\":277,\"./querystream\":278,\"./services/updateValidators\":293,\"./utils\":302,mquery:312,util:void 0}],277:[function(e,t,n){function r(e){e.options||(e.options={}),e.options.lean=!0}var i=e(\"./utils\");n.preparePopulationOptions=function(e,t){var n=i.object.vals(e.options.populate);return t.lean&&n.forEach(r),n},n.preparePopulationOptionsMQ=function(e,t){var n=i.object.vals(e._mongooseOptions.populate);return t.lean&&n.forEach(r),n},n.createModel=function(e,t,n){var r=e.schema?e.schema.discriminatorMapping:null,i=r&&r.isRoot?r.key:null;return i&&t[i]&&e.discriminators&&e.discriminators[t[i]]?new e.discriminators[t[i]](void 0,n,!0):new e(void 0,n,!0)}},{\"./utils\":302}],278:[function(e,t,n){function r(e,t){a.call(this),this.query=e,this.readable=!0,this.paused=!1,this._cursor=null,this._destroyed=null,this._fields=null,this._buffer=null,this._inline=p,this._running=!1,this._transform=t&&\"function\"==typeof t.transform?t.transform:u;var n=this;process.nextTick(function(){n._init()})}function i(e,t,n){var r=c.createModel(e.query.model,n,e._fields),i=t?{populated:t}:void 0;r.init(n,i,function(t){return t?e.destroy(t):void o(e,r)})}function o(e,t){e.emit(\"data\",e._transform(t)),l===e._inline?e._next():e._inline=f}var a=e(\"stream\").Stream,s=e(\"./utils\"),c=e(\"./queryhelpers\"),u=function(e){return e};r.prototype.__proto__=a.prototype,r.prototype.readable,r.prototype.paused;var p=0,l=1,f=2;r.prototype._init=function(){if(!this._destroyed){var e=this.query,t=e.model,n=e._optionsForExec(t),r=this;try{e.cast(t)}catch(i){return r.destroy(i)}r._fields=s.clone(e._fields),n.fields=e._castFields(r._fields),t.collection.find(e._conditions,n,function(e,t){return e?r.destroy(e):(r._cursor=t,void r._next())})}},r.prototype._next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;if(this._running=!0,this._buffer&&this._buffer.length)for(var e;!this.paused&&!this._destroyed&&(e=this._buffer.shift());)this._onNextObject.apply(this,e);for(;this.__next(););},r.prototype.__next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;var e=this;return e._inline=p,e._cursor.nextObject(function(t,n){e._onNextObject(t,n)}),f===this._inline?!0:void(this._inline=l)},r.prototype._onNextObject=function(e,t){if(!this._destroyed){if(this.paused)return this._buffer||(this._buffer=[]),this._buffer.push([e,t]),this._running=!1,this._running;if(e)return this.destroy(e);if(!t)return this.emit(\"end\"),this.destroy();var n=this.query._mongooseOptions;if(!n.populate)return n.lean===!0?o(this,t):i(this,null,t);var r=this,a=c.preparePopulationOptionsMQ(r.query,r.query._mongooseOptions);a.forEach(function(e){delete e.model}),a.__noPromise=!0,r.query.model.populate(t,a,function(e,t){return e?r.destroy(e):n.lean===!0?o(r,t):i(r,a,t)})}},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){return this.paused=!1,this._cursor&&p!==this._inline?this._running?void 0:this._next():void 0},r.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,this._running=!1,this.readable=!1,this._cursor&&this._cursor.close(),e&&this.emit(\"error\",e),this.emit(\"close\"))},t.exports=n=r},{\"./queryhelpers\":277,\"./utils\":302,stream:void 0}],279:[function(e,t,n){(function(r){function i(e,t){if(!(this instanceof i))return new i(e,t);this.paths={},this.subpaths={},this.virtuals={},this.singleNestedPaths={},this.nested={},this.inherits={},this.callQueue=[],this._indexes=[],this.methods={},this.statics={},this.tree={},this._requiredpaths=void 0,this.discriminatorMapping=void 0,this._indexedpaths=void 0,this.s={hooks:new d,queryHooks:m},this.options=this.defaultOptions(t),e&&this.add(e);var n=e&&e._id&&f.isObject(e._id),r=!this.paths._id&&!this.options.noId&&this.options._id&&!n;r&&(e={_id:{auto:!0}},e._id[this.options.typeKey]=i.ObjectId,this.add(e));var a=!this.paths.id&&!this.options.noVirtualId&&this.options.id;a&&this.virtual(\"id\").get(o);for(var s=0;s<this._defaultMiddleware.length;++s){var c=this._defaultMiddleware[s];this[c.kind](c.hook,!!c.isAsync,c.fn)}this.options.timestamps&&this.setupTimestamp(this.options.timestamps)}function o(){return this.$__._id?this.$__._id:(this.$__._id=null==this._id?null:String(this._id),this.$__._id)}function a(e,t){var n=t.split(/\\.(\\d+)\\.|\\.(\\d+)$/).filter(Boolean);if(n.length<2)return e.paths[n[0]];var r=e.path(n[0]),i=!1;if(!r)return r;for(var o,a=n.length-1,s=1;s<n.length;++s){if(i=!1,o=n[s],s===a&&r&&!r.schema&&!/\\D/.test(o)){r=r instanceof c.Array?r.caster:void 0;break}if(/\\D/.test(o)){if(!r||!r.schema){r=void 0;break}var u=r.schema.pathType(o);i=\"nested\"===u,r=r.schema.path(o)}}return e.subpaths[t]=r,r?\"real\":i?\"nested\":\"adhocOrUndefined\"}function s(e,t){return a(e,t),e.subpaths[t]}var c,u=e(\"./drivers\").ReadPreference,p=e(\"events\").EventEmitter,l=e(\"./virtualtype\"),f=e(\"./utils\"),d=e(\"kareem\"),h=e(\"async\"),m={count:!0,find:!0,findOne:!0,findOneAndUpdate:!0,findOneAndRemove:!0,update:!0};i.prototype=Object.create(p.prototype),i.prototype.constructor=i,i.prototype.instanceOfSchema=!0,Object.defineProperty(i.prototype,\"_defaultMiddleware\",{configurable:!1,enumerable:!1,writable:!1,value:[{kind:\"pre\",hook:\"save\",fn:function(e,t){if(this.ownerDocument)return e();var n,r=t&&\"object\"==typeof t&&\"validateBeforeSave\"in t;n=r?!!t.validateBeforeSave:this.schema.options.validateBeforeSave,n?this.$__original_validate?this.$__original_validate({__noPromise:!0},function(t){e(t)}):this.validate({__noPromise:!0},function(t){e(t)}):e()}},{kind:\"pre\",hook:\"save\",isAsync:!0,fn:function(e,t){var n=this.$__getAllSubdocs();return!n.length||this.$__preSavingFromParent?(t(),void e()):void h.each(n,function(e,t){e.$__preSavingFromParent=!0,e.save(function(e){t(e)})},function(r){for(var i=0;i<n.length;++i)delete n[i].$__preSavingFromParent;return r?void t(r):(e(),void t())})}}]}),i.prototype.paths,i.prototype.tree,i.prototype.defaultOptions=function(e){return e&&e.safe===!1&&(e.safe={w:0}),e&&e.safe&&0===e.safe.w&&(e.versionKey=!1),e=f.options({strict:!0,bufferCommands:!0,capped:!1,versionKey:\"__v\",discriminatorKey:\"__t\",minimize:!0,autoIndex:null,shardKey:null,read:null,validateBeforeSave:!0,noId:!1,_id:!0,noVirtualId:!1,id:!0,typeKey:\"type\"},e),e.read&&(e.read=u(e.read)),e},i.prototype.add=function(e,t){t=t||\"\";for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];if(null==e[i])throw new TypeError(\"Invalid value for schema path `\"+t+i+\"`\");if(Array.isArray(e[i])&&1===e[i].length&&null==e[i][0])throw new TypeError(\"Invalid value for schema Array path `\"+t+i+\"`\");!f.isObject(e[i])||e[i].constructor&&\"Object\"!==f.getFunctionName(e[i].constructor)||e[i][this.options.typeKey]&&(\"type\"!==this.options.typeKey||!e[i].type.type)?this.path(t+i,e[i]):Object.keys(e[i]).length?(this.nested[t+i]=!0,this.add(e[i],t+i+\".\")):this.path(t+i,e[i])}},i.reserved=Object.create(null);var v=i.reserved;v.emit=v.on=v.once=v.listeners=v.removeListener=v.collection=v.db=v.errors=v.init=v.isModified=v.isNew=v.get=v.modelName=v.save=v.schema=v.set=v.toObject=v.validate=v._pres=v._posts=1;var g={};g.increment=\"`increment` should not be used as a schema path name unless you have disabled versioning.\",i.prototype.path=function(e,t){if(void 0===t)return this.paths[e]?this.paths[e]:this.subpaths[e]?this.subpaths[e]:this.singleNestedPaths[e]?this.singleNestedPaths[e]:/\\.\\d+\\.?.*$/.test(e)?s(this,e):void 0;if(v[e])throw new Error(\"`\"+e+\"` may not be used as a schema pathname\");g[e]&&console.log(\"WARN: \"+g[e]);var n=e.split(/\\./),r=n.pop(),o=this.tree;if(n.forEach(function(t,r){if(o[t]||(o[t]={}),\"object\"!=typeof o[t]){var i=\"Cannot set nested path `\"+e+\"`. Parent path `\"+n.slice(0,r).concat([t]).join(\".\")+\"` already set to type \"+o[t].name+\".\";throw new Error(i)}o=o[t]}),o[r]=f.clone(t),this.paths[e]=i.interpretAsType(e,t,this.options),this.paths[e].$isSingleNested){for(var a in this.paths[e].schema.paths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.paths[a];for(a in this.paths[e].schema.singleNestedPaths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.singleNestedPaths[a]}return this},i.interpretAsType=function(e,t,n){if(t.constructor){var o=f.getFunctionName(t.constructor);if(\"Object\"!==o){var a=t;t={},t[n.typeKey]=a}}var s=!t[n.typeKey]||\"type\"===n.typeKey&&t.type.type?{}:t[n.typeKey];if(\"Object\"===f.getFunctionName(s.constructor)||\"mixed\"===s)return new c.Mixed(e,t);if(Array.isArray(s)||Array===s||\"array\"===s){var u=Array===s||\"array\"===s?t.cast:s[0];if(u&&u.instanceOfSchema)return new c.DocumentArray(e,u,t);if(\"string\"==typeof u)u=c[u.charAt(0).toUpperCase()+u.substring(1)];else if(u&&(!u[n.typeKey]||\"type\"===n.typeKey&&u.type.type)&&\"Object\"===f.getFunctionName(u.constructor)&&Object.keys(u).length){var p={minimize:n.minimize};n.typeKey&&(p.typeKey=n.typeKey);var l=new i(u,p);return new c.DocumentArray(e,l,t)}return new c.Array(e,u||c.Mixed,t)}if(s&&s.instanceOfSchema)return new c.Embedded(s,e,t);var d;if(d=r.isBuffer(s)?\"Buffer\":\"string\"==typeof s?s:s.schemaName||f.getFunctionName(s),d&&(d=d.charAt(0).toUpperCase()+d.substring(1)),void 0==c[d])throw new TypeError(\"Undefined type `\"+d+\"` at `\"+e+\"`\\n  Did you try nesting Schemas? You can only nest using refs or arrays.\");return new c[d](e,t)},i.prototype.eachPath=function(e){for(var t=Object.keys(this.paths),n=t.length,r=0;n>r;++r)e(t[r],this.paths[t[r]]);return this},i.prototype.requiredPaths=function(e){if(this._requiredpaths&&!e)return this._requiredpaths;for(var t=Object.keys(this.paths),n=t.length,r=[];n--;){var i=t[n];this.paths[i].isRequired&&r.push(i)}return this._requiredpaths=r,this._requiredpaths},i.prototype.indexedPaths=function(){return this._indexedpaths?this._indexedpaths:(this._indexedpaths=this.indexes(),this._indexedpaths)},i.prototype.pathType=function(e){return e in this.paths?\"real\":e in this.virtuals?\"virtual\":e in this.nested?\"nested\":e in this.subpaths?\"real\":e in this.singleNestedPaths?\"real\":/\\.\\d+\\.|\\.\\d+$/.test(e)?a(this,e):\"adhocOrUndefined\"},i.prototype.hasMixedParent=function(e){var t=e.split(/\\./g);e=\"\";for(var n=0;n<t.length;++n)if(e=n>0?e+\".\"+t[n]:t[n],e in this.paths&&this.paths[e]instanceof c.Mixed)return!0;return!1},i.prototype.setupTimestamp=function(e){if(e){var t=e.createdAt||\"createdAt\",n=e.updatedAt||\"updatedAt\",r={};r[n]=Date,this.paths[t]||(r[t]=Date),\nthis.add(r),this.pre(\"save\",function(e){var r=new Date,i=this._id&&this._id.auto;this[t]||(this[t]=i?this._id.getTimestamp():r),(this.isNew||this.isModified())&&(this[n]=this.isNew?this[t]:r),e()});var i=function(){var e=new Date,r={$set:{},$setOnInsert:{}};return r.$set[n]=e,r.$setOnInsert[t]=e,r};this.pre(\"findOneAndUpdate\",function(e){this.findOneAndUpdate({},i()),e()}),this.pre(\"update\",function(e){this.update({},i()),e()})}},i.prototype.queue=function(e,t){return this.callQueue.push([e,t]),this},i.prototype.pre=function(){var e=arguments[0];return m[e]?(this.s.hooks.pre.apply(this.s.hooks,arguments),this):this.queue(\"pre\",arguments)},i.prototype.post=function(e,t){return m[e]?(this.s.hooks.post.apply(this.s.hooks,arguments),this):t.length<2?this.queue(\"on\",[arguments[0],function(e){return t.call(e,e)}]):this.queue(\"post\",[arguments[0],function(e){var n=this,r=Array.prototype.slice.call(arguments,1);t.call(this,this,function(t){return e.apply(n,[t].concat(r))})}])},i.prototype.plugin=function(e,t){return e(this,t),this},i.prototype.method=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.methods[n]=e[n];else this.methods[e]=t;return this},i.prototype[\"static\"]=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.statics[n]=e[n];else this.statics[e]=t;return this},i.prototype.index=function(e,t){return t||(t={}),t.expires&&f.expires(t),this._indexes.push([e,t]),this},i.prototype.set=function(e,t,n){if(1===arguments.length)return this.options[e];switch(e){case\"read\":this.options[e]=u(t,n);break;case\"safe\":this.options[e]=t===!1?{w:0}:t;break;case\"timestamps\":this.setupTimestamp(t),this.options[e]=t;break;default:this.options[e]=t}return this},i.prototype.get=function(e){return this.options[e]};var y=\"2d 2dsphere hashed text\".split(\" \");Object.defineProperty(i,\"indexTypes\",{get:function(){return y},set:function(){throw new Error(\"Cannot overwrite Schema.indexTypes\")}}),i.prototype.indexes=function(){\"use strict\";function e(e,n){var r,i,o,a,s,c,u=e._indexes,p=u.length,l=0;for(l=0;p>l;++l){for(r=u[l][0],a=Object.keys(r),o=a.length,i={},c=0;o>c;++c)s=a[c],i[n+s]=r[s];t.push([i,u[l][1]])}}var t=[],n={},r=function(o,a){if(!n[a]){n[a]=!0,a=a||\"\";for(var s,u,p,l,d,h,m,v=Object.keys(o.paths),g=0;g<v.length;++g)s=v[g],u=o.paths[s],u instanceof c.DocumentArray||u.$isSingleNested?r(u.schema,s+\".\"):(p=u._index,p!==!1&&null!==p&&void 0!==p&&(l={},d=f.isObject(p),h=d?p:{},m=\"string\"==typeof p?p:d?p.type:!1,m&&~i.indexTypes.indexOf(m)?l[a+s]=m:h.text?(l[a+s]=\"text\",delete h.text):l[a+s]=1,delete h.type,\"background\"in h||(h.background=!0),t.push([l,h])));a?e(o,a):(o._indexes.forEach(function(e){\"background\"in e[1]||(e[1].background=!0)}),t=t.concat(o._indexes))}};return r(this),t},i.prototype.virtual=function(e,t){var n=this.virtuals,r=e.split(\".\");return n[e]=r.reduce(function(n,i,o){return n[i]||(n[i]=o===r.length-1?new l(t,e):{}),n[i]},this.tree),n[e]},i.prototype.virtualpath=function(e){return this.virtuals[e]},i.prototype.remove=function(e){\"string\"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach(function(e){if(this.path(e)){delete this.paths[e];for(var t=e.split(\".\"),n=t.pop(),r=this.tree,i=0;i<t.length;++i)r=r[t[i]];delete r[n]}},this)},i.prototype._getSchema=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;)if(i=e.slice(0,o).join(\".\"),r=n.path(i)){if(r.caster){if(r.caster instanceof c.Mixed)return r.caster;if(o!==e.length&&r.schema)return\"$\"===e[o]?t(e.slice(o+1),r.schema):t(e.slice(o),r.schema)}return r}}var n=this,r=n.path(e);return r?r:t(e.split(\".\"),n)},i.prototype._getPathType=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;){if(i=e.slice(0,o).join(\".\"),r=n.path(i))return r.caster?r.caster instanceof c.Mixed?{schema:r,pathType:\"mixed\"}:o!==e.length&&r.schema?\"$\"===e[o]?o===e.length-1?{schema:r,pathType:\"nested\"}:t(e.slice(o+1),r.schema):t(e.slice(o),r.schema):{schema:r,pathType:r.$isSingleNested?\"nested\":\"array\"}:{schema:r,pathType:\"real\"};if(o===e.length&&n.nested[i])return{schema:n,pathType:\"nested\"}}return{schema:r||n,pathType:\"undefined\"}}var n=this,r=n.path(e);return r?\"real\":t(e.split(\".\"),n)},t.exports=n=i,i.Types=c=e(\"./schema/index\"),n.ObjectId=c.ObjectId}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./drivers\":259,\"./schema/index\":286,\"./utils\":302,\"./virtualtype\":303,async:11,events:void 0,kareem:176}],280:[function(e,t,n){function r(e,t,n){if(t){var r={};\"Object\"===b.getFunctionName(t.constructor)&&(t.type?(r=b.clone(t),delete r.type,t=t.type):t=g);var i=\"string\"==typeof t?t:b.getFunctionName(t),o=i in h?h[i]:t;this.casterConstructor=o,this.caster=new o(null,r),this.caster instanceof v||(this.caster.path=e)}f.call(this,e,n,\"Array\");var a,s,c=this;this.defaultValue&&(a=this.defaultValue,s=\"function\"==typeof a),this[\"default\"](function(){var e=s?a():a||[];return new m(e,c.path,this)})}function i(e){return h.Number.prototype.cast.call(this,e)}function o(e,t){e.forEach(function(n,r){Array.isArray(n)?o(n,t):e[r]=i.call(t,n)})}function a(e){return Array.isArray(e)?(o(e,this),e):e&&e.$geometry?s(e,this):r.prototype.castForQuery.call(this,e)}function s(e,t){switch(e.$geometry.type){case\"Polygon\":case\"LineString\":case\"Point\":o(e.$geometry.coordinates,t)}return e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e}function c(e){var t=this;if(e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e.$box||e.$polygon){var n=e.$box?\"$box\":\"$polygon\";e[n].forEach(function(e){if(!Array.isArray(e)){var t=\"Invalid $within $box argument. Expected an array, received \"+e;throw new TypeError(t)}e.forEach(function(t,n){e[n]=i.call(this,t)})})}else e.$center||e.$centerSphere?(n=e.$center?\"$center\":\"$centerSphere\",e[n].forEach(function(t,r){Array.isArray(t)?t.forEach(function(e,n){t[n]=i.call(this,e)}):e[n][r]=i.call(this,t)})):e.$geometry&&s(e,this);return e}function u(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){if(b.isObject(e)){var t={};return t[this.path]=e,y(this.casterConstructor.schema,t)[this.path]}return e},this),this.castForQuery(e)}function p(e){for(var t,n,r=Object.keys(e),i=r.length,o=0;i>o;++o)t=r[o],n=e[t],0===t.indexOf(\"$\")&&n&&(e[t]=this.castForQuery(t,n));return y(this.casterConstructor.schema,e)}function l(e){var t=e.$geometry;if(t)return s(e,this),e}var f=e(\"../schematype\"),d=f.CastError,h={Boolean:e(\"./boolean\"),Date:e(\"./date\"),Number:e(\"./number\"),String:e(\"./string\"),ObjectId:e(\"./objectid\"),Buffer:e(\"./buffer\")},m=e(\"../types\").Array,v=e(\"../types\").Embedded,g=e(\"./mixed\"),y=e(\"../cast\"),b=e(\"../utils\"),x=b.isMongooseObject;r.schemaName=\"Array\",r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return!(!e||!e.length)},r.prototype.applyGetters=function(e,t){return this.caster.options&&this.caster.options.ref?e:f.prototype.applyGetters.call(this,e,t)},r.prototype.cast=function(e,t,n){if(Array.isArray(e)){if(!e.length&&t)for(var r=t.schema.indexedPaths(),i=0,o=r.length;o>i;++i){var a=r[i][0][this.path];if(\"2dsphere\"===a||\"2d\"===a)return}if(e&&e.isMongooseArray||(e=new m(e,this.path,t)),this.caster)try{for(i=0,o=e.length;o>i;i++)e[i]=this.caster.cast(e[i],t,n)}catch(s){throw new d(s.type,e,this.path,s)}return e}return t&&n&&t.markModified(this.path),this.cast([e],t,n)},r.prototype.castForQuery=function(e,t){var n,r;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Array.\");r=n.call(this,t)}else{r=e;var i=this.casterConstructor.prototype,o=i.castForQuery||i.cast,a=this.caster;Array.isArray(r)?r=r.map(function(e){return b.isObject(e)&&e.$elemMatch?e:(o&&(e=o.call(a,e)),x(e)?e.toObject({virtuals:!1}):e)}):o&&(r=o.call(a,r))}return r&&x(r)?r.toObject({virtuals:!1}):r};var w=r.prototype.$conditionalHandlers={};w.$all=u,w.$options=String,w.$elemMatch=p,w.$geoIntersects=l,w.$or=w.$and=function(e){if(!Array.isArray(e))throw new TypeError(\"conditional $or/$and require array\");for(var t=[],n=0;n<e.length;++n)t.push(y(this.casterConstructor.schema,e[n]));return t},w.$near=w.$nearSphere=a,w.$within=w.$geoWithin=c,w.$size=w.$maxDistance=i,w.$eq=w.$gt=w.$gte=w.$in=w.$lt=w.$lte=w.$ne=w.$nin=w.$regex=r.prototype.castForQuery,t.exports=r},{\"../cast\":251,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],281:[function(e,t,n){function r(e,t){o.call(this,e,t,\"Boolean\")}var i=e(\"../utils\"),o=e(\"../schematype\");r.schemaName=\"Boolean\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return e===!0||e===!1},r.prototype.cast=function(e){return null===e?e:\"0\"===e?!1:\"true\"===e?!0:\"false\"===e?!1:!!e},r.$conditionalHandlers=i.options(o.prototype.$conditionalHandlers,{}),r.prototype.castForQuery=function(e,t){var n;return 2===arguments.length?(n=r.$conditionalHandlers[e],n?n.call(this,t):this.cast(t)):this.cast(e)},t.exports=r},{\"../schematype\":292,\"../utils\":302}],282:[function(e,t,n){(function(n){function r(e,t){u.call(this,e,t,\"Buffer\")}function i(e){return this.castForQuery(e)}var o,a=e(\"./operators/bitwise\"),s=e(\"../utils\"),c=e(\"../types\").Buffer,u=e(\"../schematype\"),p=c.Binary,l=u.CastError;r.schemaName=\"Buffer\",r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return u._isRef(this,e,t,!0)?!!e:!(!e||!e.length)},r.prototype.cast=function(t,r,i){var a;if(u._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(o||(o=e(\"./../document\")),t instanceof o)return t.$__.wasPopulated=!0,t;if(n.isBuffer(t))return t;if(!s.isObject(t))throw new l(\"buffer\",t,this.path);var f=r.$__fullPath(this.path),d=r.ownerDocument?r.ownerDocument():r,h=d.populated(f,!0);return a=new h.options.model(t),a.$__.wasPopulated=!0,a}if(t&&t._id&&(t=t._id),t&&t.isMongooseBuffer)return t;if(n.isBuffer(t))return t&&t.isMongooseBuffer||(t=new c(t,[this.path,r])),t;if(t instanceof p){if(a=new c(t.value(!0),[this.path,r]),\"number\"!=typeof t.sub_type)throw new l(\"buffer\",t,this.path);return a._subtype=t.sub_type,a}if(null===t)return t;var m=typeof t;if(\"string\"===m||\"number\"===m||Array.isArray(t))return\"number\"===m&&(t=[t]),a=new c(t,[this.path,r]);throw new l(\"buffer\",t,this.path)},r.prototype.$conditionalHandlers=s.options(u.prototype.$conditionalHandlers,{$bitsAllClear:a,$bitsAnyClear:a,$bitsAllSet:a,$bitsAnySet:a,$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Buffer.\");return n.call(this,t)}return t=e,this.cast(t).toObject()},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],283:[function(e,t,n){function r(e,t){s.call(this,e,t,\"Date\")}function i(e){return this.cast(e)}var o=e(\"../error\").messages,a=e(\"../utils\"),s=e(\"../schematype\"),c=s.CastError;r.schemaName=\"Date\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.expires=function(e){return this._index&&\"Object\"===this._index.constructor.name||(this._index={}),this._index.expires=e,a.expires(this._index),this},r.prototype.checkRequired=function(e){return e instanceof Date},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),e){var n=t||o.Date.min;n=n.replace(/{MIN}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.minValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()>=n.valueOf()},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),e){var n=t||o.Date.max;n=n.replace(/{MAX}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.maxValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()<=n.valueOf()},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(e){if(null===e||void 0===e||\"\"===e)return null;if(e instanceof Date)return e;var t;if(\"boolean\"==typeof e)throw new c(\"date\",e,this.path);if(e instanceof Number||\"number\"==typeof e||String(e)==Number(e)?t=new Date(Number(e)):e.valueOf&&(t=new Date(e.valueOf())),!isNaN(t.valueOf()))return t;throw new c(\"date\",e,this.path)},r.prototype.$conditionalHandlers=a.options(s.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2!==arguments.length)return this.cast(e);if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Date.\");return n.call(this,t)},t.exports=r},{\"../error\":260,\"../schematype\":292,\"../utils\":302}],284:[function(e,t,n){function r(e,t,n){function r(){u.apply(this,arguments)}r.prototype=Object.create(u.prototype),r.prototype.$__setSchema(t),r.schema=t;for(var i in t.methods)r.prototype[i]=t.methods[i];for(i in t.statics)r[i]=t.statics[i];r.options=n,o.call(this,e,r,n),this.schema=t;var a=this.path,c=this.defaultValue;this[\"default\"](function(){var e=c.call(this);return Array.isArray(e)||(e=[e]),new s(e,a,this)})}function i(e,t,n){if(n&&t){for(var r,i,o=e.path+\".\",a=Object.keys(t),s=a.length,c={};s--;)i=a[s],0===i.indexOf(o)&&(r||(r=!0),c[i.substring(o.length)]=t[i]);return r&&c||void 0}}var o=e(\"./array\"),a=e(\"../error/cast\"),s=e(\"../types/documentarray\"),c=e(\"../schematype\"),u=e(\"../types/embedded\");r.schemaName=\"DocumentArray\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.doValidate=function(e,t,n,r){c.prototype.doValidate.call(this,e,function(n){function i(e){e&&(o=e),--a||t(o)}if(n)return t(n);var o,a=e&&e.length;if(!a)return t();if(r&&r.updateValidator)return t();for(var s=0,c=a;c>s;++s){var u=e[s];u?u.$__original_validate?u.$__original_validate({__noPromise:!0},i):u.validate({__noPromise:!0},i):--a||t(o)}},n)},r.prototype.doValidateSync=function(e,t){var n=c.prototype.doValidateSync.call(this,e,t);if(n)return n;var r=e&&e.length,i=null;if(r){for(var o=0,a=r;a>o&&!i;++o){var s=e[o];if(s){var u=s.validateSync();u&&(i=u)}}return i}},r.prototype.cast=function(e,t,n,r,o){var c,p,l;if(!Array.isArray(e))return t&&n&&t.markModified(this.path),this.cast([e],t,n,r);if(!(e&&e.isMongooseDocumentArray||o&&o.skipDocumentArrayCast)&&(e=new s(e,this.path,t),r&&r._handlers))for(var f in r._handlers)t.removeListener(f,r._handlers[f]);for(l=e.length;l--;)if(e[l]&&(e[l]instanceof u&&e[l].schema!==this.casterConstructor.schema&&(e[l]=e[l].toObject({virtuals:!1})),!(e[l]instanceof u)&&e[l]))if(n)c||(c=i(this,t.$__.selected,n)),p=new this.casterConstructor(null,e,!0,c,l),e[l]=p.init(e[l]);else{try{p=r.id(e[l]._id)}catch(d){}if(r&&p)p.set(e[l]),e[l]=p;else try{p=new this.casterConstructor(e[l],e,void 0,void 0,l),e[l]=p}catch(h){throw new a(\"embedded\",e[l],e._path,h)}}return e},t.exports=r},{\"../error/cast\":261,\"../schematype\":292,\"../types/documentarray\":297,\"../types/embedded\":298,\"./array\":280}],285:[function(e,t,n){function r(e,t,n){var r=function(e,t,n){var r=this;o.apply(this,arguments),this.$parent=n,n&&n.on(\"save\",function(){r.emit(\"save\",r)})};r.prototype=Object.create(o.prototype),r.prototype.$__setSchema(e),r.schema=e,r.$isSingleNested=!0,r.prototype.$basePath=t;for(var a in e.methods)r.prototype[a]=e.methods[a];for(a in e.statics)r[a]=e.statics[a];this.caster=r,this.schema=e,this.$isSingleNested=!0,i.call(this,t,n,\"Embedded\")}var i=e(\"../schematype\"),o=e(\"../types/subdocument\");t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.cast=function(e,t,n){if(e&&e.$isSingleNested)return e;var r=new this.caster(void 0,t?t.$__.selected:void 0,t);return n?r.init(e):r.set(e,void 0,!0),r},r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,new this.caster(t).toObject({virtuals:!1})},r.prototype.doValidate=function(e,t){i.prototype.doValidate.call(this,e,function(n){return n?t(n):e?void e.validate(t,{__noPromise:!0}):t(null)})},r.prototype.doValidateSync=function(e){var t=i.prototype.doValidateSync.call(this,e);if(t)return t;if(e)return e.validateSync()}},{\"../schematype\":292,\"../types/subdocument\":301}],286:[function(e,t,n){n.String=e(\"./string\"),n.Number=e(\"./number\"),n.Boolean=e(\"./boolean\"),n.DocumentArray=e(\"./documentarray\"),n.Embedded=e(\"./embedded\"),n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Date=e(\"./date\"),n.ObjectId=e(\"./objectid\"),n.Mixed=e(\"./mixed\"),n.Oid=n.ObjectId,n.Object=n.Mixed,n.Bool=n.Boolean},{\"./array\":280,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./documentarray\":284,\"./embedded\":285,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],287:[function(e,t,n){function r(e,t){if(t&&t[\"default\"]){var n=t[\"default\"];Array.isArray(n)&&0===n.length?t[\"default\"]=Array:!t.shared&&o.isObject(n)&&0===Object.keys(n).length&&(t[\"default\"]=function(){return{}})}i.call(this,e,t,\"Mixed\")}var i=e(\"../schematype\"),o=e(\"../utils\");r.schemaName=\"Mixed\",r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.cast=function(e){return e},r.prototype.castForQuery=function(e,t){return 2===arguments.length?t:e},t.exports=r},{\"../schematype\":292,\"../utils\":302}],288:[function(e,t,n){(function(n){function r(e,t){s.call(this,e,t,\"Number\")}function i(e){return this.cast(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.cast(e)}):[this.cast(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"./operators/bitwise\"),p=e(\"../error\").messages,l=e(\"../utils\");r.schemaName=\"Number\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:\"number\"==typeof e||e instanceof Number},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.min;n=n.replace(/{MIN}/,e),this.validators.push({validator:this.minValidator=function(t){return null==t||t>=e},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.max;n=n.replace(/{MAX}/,e),this.validators.push({validator:this.maxValidator=function(t){return null==t||e>=t},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"number\"==typeof t)return t;if(n.isBuffer(t)||!l.isObject(t))throw new c(\"number\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,p=u.populated(o,!0),f=new p.options.model(t);return f.$__.wasPopulated=!0,f}var d=t&&t._id?t._id:t;if(!isNaN(d)){if(null===d)return d;if(\"\"===d)return null;if(\"string\"!=typeof d&&\"boolean\"!=typeof d||(d=Number(d)),d instanceof Number)return d;if(\"number\"==typeof d)return d;if(d.toString&&!Array.isArray(d)&&d.toString()==Number(d))return new Number(d)}throw new c(\"number\",t,this.path)},r.prototype.$conditionalHandlers=l.options(s.prototype.$conditionalHandlers,{$bitsAllClear:u,$bitsAnyClear:u,$bitsAllSet:u,$bitsAnySet:u,$gt:i,$gte:i,$lt:i,$lte:i,$mod:o}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Number.\");return n.call(this,t)}return t=this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],289:[function(e,t,n){(function(n){function r(e,t){c.call(this,e,t,\"ObjectID\")}function i(e){return this.cast(e)}function o(){return new p}function a(e){return this.$__._id=null,e}var s,c=e(\"../schematype\"),u=c.CastError,p=e(\"../types/objectid\"),l=e(\"../utils\");r.schemaName=\"ObjectId\",r.prototype=Object.create(c.prototype),r.prototype.constructor=r,r.prototype.auto=function(e){return e&&(this[\"default\"](o),this.set(a)),this},r.prototype.checkRequired=function(e,t){return c._isRef(this,e,t,!0)?!!e:e instanceof p},r.prototype.cast=function(t,r,i){if(c._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(s||(s=e(\"./../document\")),t instanceof s)return t.$__.wasPopulated=!0,t;if(t instanceof p)return t;if(n.isBuffer(t)||!l.isObject(t))throw new u(\"ObjectId\",t,this.path);var o=r.$__fullPath(this.path),a=r.ownerDocument?r.ownerDocument():r,f=a.populated(o,!0),d=t;return r.$__.populated&&r.$__.populated[o]&&r.$__.populated[o].options&&r.$__.populated[o].options.options&&r.$__.populated[o].options.options.lean||(d=new f.options.model(t),d.$__.wasPopulated=!0),d}if(null===t||void 0===t)return t;if(t instanceof p)return t;if(t._id){if(t._id instanceof p)return t._id;if(t._id.toString instanceof Function)try{return p.createFromHexString(t._id.toString())}catch(h){}}if(t.toString instanceof Function)try{return p.createFromHexString(t.toString())}catch(m){throw new u(\"ObjectId\",t,this.path)}throw new u(\"ObjectId\",t,this.path)},r.prototype.$conditionalHandlers=l.options(c.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with ObjectId.\");return n.call(this,t)}return this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types/objectid\":300,\"../utils\":302,\"./../document\":253}],290:[function(e,t,n){(function(n){function r(e){var t=this;return Array.isArray(e)?e.map(function(e){return i(t.path,e)}):n.isBuffer(e)?e:i(t.path,e)}function i(e,t){var n=Number(t);if(isNaN(n))throw new o(\"number\",t,e);return n}var o=e(\"../../error/cast\");t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../../error/cast\":261}],291:[function(e,t,n){(function(n){function r(e,t){this.enumValues=[],this.regExp=null,s.call(this,e,t,\"String\")}function i(e){return this.castForQuery(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"../error\").messages,p=e(\"../utils\");r.schemaName=\"String\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype[\"enum\"]=function(){if(this.enumValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.enumValidator},this),this.enumValidator=!1),void 0===arguments[0]||arguments[0]===!1)return this;var e,t;p.isObject(arguments[0])?(e=arguments[0].values,t=arguments[0].message):(e=arguments,t=u.String[\"enum\"]);for(var n=0;n<e.length;n++)void 0!==e[n]&&this.enumValues.push(this.cast(e[n]));var r=this.enumValues;return this.enumValidator=function(e){return void 0===e||~r.indexOf(e)},this.validators.push({validator:this.enumValidator,message:t,type:\"enum\",enumValues:r}),this},r.prototype.lowercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toLowerCase():e})},r.prototype.uppercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toUpperCase():e})},r.prototype.trim=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.trim():e})},r.prototype.minlength=function(e,t){if(this.minlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.minlength;n=n.replace(/{MINLENGTH}/,e),this.validators.push({validator:this.minlengthValidator=function(t){return null===t||t.length>=e},message:n,type:\"minlength\",minlength:e})}return this},r.prototype.maxlength=function(e,t){if(this.maxlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.maxlength;n=n.replace(/{MAXLENGTH}/,e),this.validators.push({validator:this.maxlengthValidator=function(t){return null===t||t.length<=e},message:n,type:\"maxlength\",maxlength:e})}return this},r.prototype.match=function(e,t){var n=t||u.String.match,r=function(t){if(!e)return!1;var n=null!=t&&\"\"!==t?e.test(t):!0;return n};return this.validators.push({validator:r,message:n,type:\"regexp\",regexp:e}),this},r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:(e instanceof String||\"string\"==typeof e)&&e.length},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"string\"==typeof t)return t;if(n.isBuffer(t)||!p.isObject(t))throw new c(\"string\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,l=u.populated(o,!0),f=new l.options.model(t);return f.$__.wasPopulated=!0,f}if(null===t||void 0===t)return t;if(\"undefined\"!=typeof t){if(t._id&&\"string\"==typeof t._id)return t._id;if(t.toString&&t.toString!==Object.prototype.toString)return t.toString()}throw new c(\"string\",t,this.path)},r.prototype.$conditionalHandlers=p.options(s.prototype.$conditionalHandlers,{$all:o,$gt:i,$gte:i,$lt:i,$lte:i,$options:i,$regex:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with String.\");return n.call(this,t)}return t=e,\"[object RegExp]\"===Object.prototype.toString.call(t)?t:this.cast(t)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253}],292:[function(e,t,n){(function(r){function i(e,t,n){this.path=e,this.instance=n,this.validators=[],this.setters=[],this.getters=[],this.options=t,this._index=null,this.selected;for(var r in t)if(this[r]&&\"function\"==typeof this[r]){if(\"index\"===r&&this._index)continue;var i=Array.isArray(t[r])?t[r]:[t[r]];this[r].apply(this,i)}}function o(e){return this.castForQuery(e)}function a(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var s=e(\"./utils\"),c=e(\"./error\"),u=c.messages,p=c.CastError,l=c.ValidatorError;i.prototype[\"default\"]=function(e){return 1===arguments.length?(this.defaultValue=\"function\"==typeof e?e:this.cast(e),this):(arguments.length>1&&(this.defaultValue=s.args(arguments)),this.defaultValue)},i.prototype.index=function(e){return this._index=e,s.expires(this._index),this},i.prototype.unique=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.unique=e,this},i.prototype.text=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.text=e,this},i.prototype.sparse=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.sparse=e,this},i.prototype.set=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A setter must be a function.\");return this.setters.push(e),this},i.prototype.get=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A getter must be a function.\");return this.getters.push(e),this},i.prototype.validate=function(e,t,n){if(\"function\"==typeof e||e&&\"RegExp\"===s.getFunctionName(e.constructor)){var r;return t instanceof Object&&!n?(r=s.clone(t),r.message||(r.message=r.msg),r.validator=e,r.type=r.type||\"user defined\"):(t||(t=u.general[\"default\"]),n||(n=\"user defined\"),r={message:t,type:n,validator:e}),this.validators.push(r),this}var i,o,a;for(i=0,o=arguments.length;o>i;i++){if(a=arguments[i],!a||\"Object\"!==s.getFunctionName(a.constructor)){var c=\"Invalid validator. Received (\"+typeof a+\") \"+a+\". See http://mongoosejs.com/docs/api.html#schematype_SchemaType-validate\";throw new Error(c)}this.validate(a.validator,a)}return this},i.prototype.required=function(e,t){if(e===!1)return this.validators=this.validators.filter(function(e){return e.validator!==this.requiredValidator},this),this.isRequired=!1,this;var n=this;this.isRequired=!0,this.requiredValidator=function(t){return\"isSelected\"in this&&!this.isSelected(n.path)&&!this.isModified(n.path)?!0:\"function\"==typeof e&&!e.apply(this)||n.checkRequired(t,this)},\"string\"==typeof e&&(t=e,e=void 0);var r=t||u.general.required;return this.validators.unshift({validator:this.requiredValidator,message:r,type:\"required\"}),this},i.prototype.getDefault=function(e,t){var n=\"function\"==typeof this.defaultValue?this.defaultValue.call(e):this.defaultValue;return null!==n&&void 0!==n?this.cast(n,e,t):n},i.prototype.applySetters=function(e,t,n,r,i){for(var o=e,a=this.setters,s=a.length,c=this.caster;s--;)o=a[s].call(t,o,this);if(Array.isArray(o)&&c&&c.setters){for(var u=[],p=0;p<o.length;p++)u.push(c.applySetters(o[p],t,n,r));o=u}return null===o||void 0===o?o:o=this.cast(o,t,n,r,i)},i.prototype.applyGetters=function(e,t){var n=e,r=this.getters,i=r.length;if(!i)return n;for(;i--;)n=r[i].call(t,n,this);return n},i.prototype.select=function(e){return this.selected=!!e,this},i.prototype.doValidate=function(e,t,n){var r=!1,i=this.path,o=this.validators.length;if(!o)return t(null);var a=function(e,n){r||(void 0===e||e?--o||t(null):(r=new l(n),t(r)))},c=this;this.validators.forEach(function(t){if(!r){var o=t.validator,u=s.clone(t);if(u.path=i,u.value=e,o instanceof RegExp)a(o.test(e),u);else if(\"function\"==typeof o){if(void 0===e&&!c.isRequired)return void a(!0,u);2===o.length?o.call(n,e,function(e,t){t&&(u.message=t),a(e,u)}):a(o.call(n,e),u)}}})},i.prototype.doValidateSync=function(e,t){var n=null,r=this.path,i=this.validators.length;if(!i)return null;var o=function(e,t){n||void 0===e||e||(n=new l(t))},a=this;return void 0!==e||a.isRequired?(this.validators.forEach(function(i){if(!n){var a=i.validator,c=s.clone(i);c.path=r,c.value=e,a instanceof RegExp?o(a.test(e),c):\"function\"==typeof a&&2!==a.length&&o(a.call(t,e),c)}}),n):null},i._isRef=function(e,t,n,i){var o=i&&e.options&&e.options.ref;if(!o&&n&&n.$__fullPath){var a=n.$__fullPath(e.path),c=n.ownerDocument?n.ownerDocument():n;o=c.populated(a)}if(o){if(null==t)return!0;if(!r.isBuffer(t)&&\"Binary\"!==t._bsontype&&s.isObject(t))return!0}return!1},i.prototype.$conditionalHandlers={$all:a,$eq:o,$in:a,$ne:o,$nin:a},i.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,this.cast(t)},i.prototype.checkRequired=function(e){return null!=e},t.exports=n=i,n.CastError=p,n.ValidatorError=l}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./utils\":302}],293:[function(e,t,n){(function(n){function r(e,t,n){var i=Object.keys(e),a=i.length;n=n||{},t=t?t+\".\":\"\";for(var s=0;a>s;++s){var c=i[s],u=e[c];n[t+c]=!0,o(u)&&r(u,t+c,n)}return n}function i(e,t){var n=Object.keys(e),r=n.length,a={};t=t?t+\".\":\"\";for(var s=0;r>s;++s){var c=n[s],u=e[c];if(o(u)){var p=i(u,t+c);for(var l in p)a[l]=p[l];Array.isArray(u)&&(a[t+c]=u)}else a[t+c]=u}return a}function o(e){return e&&\"object\"==typeof e&&!(e instanceof Date)&&!(e instanceof c)&&(!Array.isArray(e)||e.length>0)&&!(e instanceof n);\n}var a=e(\"async\"),s=e(\"../error/validation.js\"),c=e(\"../types/objectid\");t.exports=function(e,t,n,o){function c(n){var r=t._getSchema(E[n]);r&&A.push(function(t){r.doValidate(l[E[n]],function(e){e&&(e.path=E[n],C.push(e)),t(null)},o&&\"query\"===o.context?e:null,{updateValidator:!0})})}for(var u=Object.keys(n||{}),p={},l={},f=u.length,d=!1,h={},m=0;f>m;++m)if(\"$\"===u[m].charAt(0)){r(n[u[m]],\"\",h);for(var v=i(n[u[m]]),g=Object.keys(v),y=g.length,b=0;y>b;++b){var x=g[b].replace(\".$.\",\".0.\");x=x.replace(/\\.\\$$/,\".0\"),\"$set\"===u[m]||\"$setOnInsert\"===u[m]?l[x]=v[g[b]]:\"$unset\"===u[m]&&(l[x]=void 0),p[x]=!0}d=!0}if(d||(r(n,\"\",h),l=i(n),p=Object.keys(l)),o&&o.upsert){for(g=Object.keys(e._conditions),y=u.length,m=0;y>m;++m){var w=g[m],_=e._conditions[w];if(_&&\"object\"==typeof _){var k=Object.keys(_),j=k.length,S=!1;for(b=0;j>b;++b)if(\"$\"===k[b].charAt(0)){S=!0;break}if(S)continue}p[w]=!0,h[w]=!0}o.setDefaultsOnInsert&&t.eachPath(function(e,t){if(\"_id\"!==e)if(t.$isSingleNested)t.schema.eachPath(function(t,r){if(\"_id\"!==e){var i=r.getDefault(null,!0);h[e+\".\"+t]||\"undefined\"==typeof i||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e+\".\"+t]=i,l[e+\".\"+t]=i)}});else{var r=t.getDefault(null,!0);h[e]||\"undefined\"==typeof r||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e]=r,l[e]=r)}})}var E=Object.keys(l),O=E.length,A=[],C=[];for(m=0;O>m;++m)c(m);return function(e){a.parallel(A,function(){if(C.length){for(var t=new s(null),n=0;n<C.length;++n)t.errors[C[n].path]=C[n];return e(t)}e(null)})}}}).call(this,e(\"buffer\").Buffer)},{\"../error/validation.js\":268,\"../types/objectid\":300,async:11,buffer:void 0}],294:[function(e,t,n){var r=e(\"./utils\"),i=t.exports=n=function(){};i.ctor=function(){var e=r.args(arguments),t=function(){i.apply(this,arguments),this.paths={},this.states={},this.stateNames=e;for(var t,n=e.length;n--;)t=e[n],this.states[t]={}};return t.prototype=new i,e.forEach(function(e){t.prototype[e]=function(t){this._changeState(t,e)}}),t},i.prototype._changeState=function(e,t){var n=this.states[this.paths[e]];n&&delete n[e],this.paths[e]=t,this.states[t][e]=!0},i.prototype.clear=function(e){for(var t,n=Object.keys(this.states[e]),r=n.length;r--;)t=n[r],delete this.states[e][t],delete this.paths[t]},i.prototype.some=function(){var e=this,t=arguments.length?arguments:this.stateNames;return Array.prototype.some.call(t,function(t){return Object.keys(e.states[t]).length})},i.prototype._iter=function(e){return function(){var t=arguments.length,n=r.args(arguments,0,t-1),i=arguments[t-1];n.length||(n=this.stateNames);var o=this,a=n.reduce(function(e,t){return e.concat(Object.keys(o.states[t]))},[]);return a[e](function(e,t,n){return i(e,t,n)})}},i.prototype.forEach=function(){return this.forEach=this._iter(\"forEach\"),this.forEach.apply(this,arguments)},i.prototype.map=function(){return this.map=this._iter(\"map\"),this.map.apply(this,arguments)}},{\"./utils\":302}],295:[function(e,t,n){(function(r){function i(e,t,n){for(var r=[].concat(e),o={isMongooseArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0},s={},c=Object.keys(i.mixin),u=0;u<c.length;++u)s[c[u]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[c[u]]};for(var p=Object.keys(o),l=0;l<p.length;++l)s[p[l]]={enumerable:!1,configurable:!0,writable:!0,value:o[p[l]]};return Object.defineProperties(r,s),n&&n instanceof a&&(r._parent=n,r._schema=n.schema.path(t)),r}var o=e(\"./embedded\"),a=e(\"../document\"),s=e(\"./objectid\"),c=e(\"../utils\"),u=c.isMongooseObject;i.mixin={_atomics:void 0,_parent:void 0,_cast:function(e){var t,n=this._owner,i=!1;if(this._parent&&(n||(n=this._owner=this._parent.ownerDocument?this._parent.ownerDocument():this._parent),i=n.populated(this._path,!0)),i&&null!==e&&void 0!==e){t=i.options.model,(r.isBuffer(e)||e instanceof s||!c.isObject(e))&&(e={_id:e});var o=e.schema&&e.schema.discriminatorMapping&&void 0!==e.schema.discriminatorMapping.key;return o||(e=new t(e)),this._schema.caster.cast(e,this._parent,!0)}return this._schema.caster.cast(e,this._parent,!1)},_markModified:function(e,t){var n,r=this._parent;return r&&(n=this._path,arguments.length&&(n=null!=t?n+\".\"+this.indexOf(e)+\".\"+t:n+\".\"+e),r.markModified(n)),this},_registerAtomic:function(e,t){if(\"$set\"===e)return this._atomics={$set:t},this;var n=this._atomics;if(\"$pop\"===e&&!(\"$pop\"in n)){var r=this;this._parent.once(\"save\",function(){r._popped=r._shifted=null})}if(this._atomics.$set||Object.keys(n).length&&!(e in n))return this._atomics={$set:this},this;var i;if(\"$pullAll\"===e||\"$pushAll\"===e||\"$addToSet\"===e)n[e]||(n[e]=[]),n[e]=n[e].concat(t);else if(\"$pullDocs\"===e){var a=n.$pull||(n.$pull={});t[0]instanceof o?(i=a.$or||(a.$or=[]),Array.prototype.push.apply(i,t.map(function(e){return e.toObject({virtuals:!1})}))):(i=a._id||(a._id={$in:[]}),i.$in=i.$in.concat(t))}else n[e]=t;return this},$__getAtomics:function(){var e=[],t=Object.keys(this._atomics),n=t.length;if(0===n)return e[0]=[\"$set\",this.toObject({depopulate:1,transform:!1})],e;for(;n--;){var r=t[n],i=this._atomics[r];u(i)?i=i.toObject({depopulate:1,transform:!1}):Array.isArray(i)?i=this.toObject.call(i,{depopulate:1,transform:!1}):i.valueOf&&(i=i.valueOf()),\"$addToSet\"===r&&(i={$each:i}),e.push([r,i])}return e},hasAtomics:function(){return this._atomics&&\"Object\"===this._atomics.constructor.name?Object.keys(this._atomics).length:0},_mapCast:function(e,t){return this._cast(e,this.length+t)},push:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent,void 0,void 0,{skipDocumentArrayCast:!0});var t=[].push.apply(this,e);return this._registerAtomic(\"$pushAll\",e),this._markModified(),t},nonAtomicPush:function(){var e=[].map.call(arguments,this._mapCast,this),t=[].push.apply(this,e);return this._registerAtomic(\"$set\",this),this._markModified(),t},$pop:function(){return this._registerAtomic(\"$pop\",1),this._markModified(),this._popped?void 0:(this._popped=!0,[].pop.call(this))},pop:function(){var e=[].pop.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},$shift:function(){return this._registerAtomic(\"$pop\",-1),this._markModified(),this._shifted?void 0:(this._shifted=!0,[].shift.call(this))},shift:function(){var e=[].shift.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},pull:function(){for(var e,t=[].map.call(arguments,this._cast,this),n=this._parent.get(this._path),r=n.length;r--;)if(e=n[r],e instanceof a){var i=t.some(function(t){return t.equals(e)});i&&[].splice.call(n,r,1)}else~n.indexOf.call(t,e)&&[].splice.call(n,r,1);return t[0]instanceof o?this._registerAtomic(\"$pullDocs\",t.map(function(e){return e._id||e})):this._registerAtomic(\"$pullAll\",t),this._markModified(),this},splice:function(){var e,t,n;if(arguments.length){for(t=[],n=0;n<arguments.length;++n)t[n]=2>n?arguments[n]:this._cast(arguments[n],arguments[0]+(n-2));e=[].splice.apply(this,t),this._registerAtomic(\"$set\",this),this._markModified()}return e},unshift:function(){var e=[].map.call(arguments,this._cast,this);return e=this._schema.applySetters(e,this._parent),[].unshift.apply(this,e),this._registerAtomic(\"$set\",this),this._markModified(),this.length},sort:function(){var e=[].sort.apply(this,arguments);return this._registerAtomic(\"$set\",this),this._markModified(),e},addToSet:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent);var t=[],n=\"\";return e[0]instanceof o?n=\"doc\":e[0]instanceof Date&&(n=\"date\"),e.forEach(function(e){var r;switch(n){case\"doc\":r=this.some(function(t){return t.equals(e)});break;case\"date\":var i=+e;r=this.some(function(e){return+e===i});break;default:r=~this.indexOf(e)}r||([].push.call(this,e),this._registerAtomic(\"$addToSet\",e),this._markModified(),[].push.call(t,e))},this),t},set:function(e,t){var n=this._cast(t,e);return n=this._schema.caster instanceof o?n:this._schema.caster.applySetters(t,this._parent),this[e]=n,this._markModified(e),this},toObject:function(e){return e&&e.depopulate?this.map(function(t){return t instanceof a?t.toObject(e):t}):this.slice()},inspect:function(){return JSON.stringify(this)},indexOf:function(e){e instanceof s&&(e=e.toString());for(var t=0,n=this.length;n>t;++t)if(e==this[t])return t;return-1}},i.mixin.remove=i.mixin.pull,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../utils\":302,\"./embedded\":298,\"./objectid\":300}],296:[function(e,t,n){(function(n){function r(e,t,i){var a,s=arguments.length;a=0===s||null===arguments[0]||void 0===arguments[0]?0:e;var c,u,p;Array.isArray(t)?(u=t[0],p=t[1]):c=t;var l=new n(a,c,i);return o.decorate(l,r.mixin),l.isMongooseBuffer=!0,Object.defineProperties(l,{validators:{value:[]},_path:{value:u},_parent:{value:p}}),p&&\"string\"==typeof u&&Object.defineProperty(l,\"_schema\",{value:p.schema.path(u)}),l._subtype=0,l}var i=e(\"../drivers\").Binary,o=e(\"../utils\");r.mixin={_parent:void 0,_subtype:void 0,_markModified:function(){var e=this._parent;return e&&e.markModified(this._path),this},write:function(){var e=n.prototype.write.apply(this,arguments);return e>0&&this._markModified(),e},copy:function(e){var t=n.prototype.copy.apply(this,arguments);return e&&e.isMongooseBuffer&&e._markModified(),t}},\"writeUInt8 writeUInt16 writeUInt32 writeInt8 writeInt16 writeInt32 writeFloat writeDouble fill utf8Write binaryWrite asciiWrite set writeUInt16LE writeUInt16BE writeUInt32LE writeUInt32BE writeInt16LE writeInt16BE writeInt32LE writeInt32BE writeFloatLE writeFloatBE writeDoubleLE writeDoubleBE\".split(\" \").forEach(function(e){n.prototype[e]&&(r.mixin[e]=function(){var t=n.prototype[e].apply(this,arguments);return this._markModified(),t})}),r.mixin.toObject=function(e){var t=\"number\"==typeof e?e:this._subtype||0;return new i(this,t)},r.mixin.equals=function(e){if(!n.isBuffer(e))return!1;if(this.length!==e.length)return!1;for(var t=0;t<this.length;++t)if(this[t]!==e[t])return!1;return!0},r.mixin.subtype=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid subtype. Expected a number\");this._subtype!==e&&this._markModified(),this._subtype=e},r.Binary=i,t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"../drivers\":259,\"../utils\":302,buffer:void 0}],297:[function(e,t,n){(function(n){function r(e,t,n){for(var o=[].concat(e),a={isMongooseArray:!0,isMongooseDocumentArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0,_handlers:void 0},s={},u=Object.keys(i.mixin),p=0;p<u.length;++p)s[u[p]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[u[p]]};for(var l=Object.keys(r.mixin),f=0;f<l.length;++f)s[l[f]]={enumerable:!1,configurable:!0,writable:!0,value:r.mixin[l[f]]};for(var d=Object.keys(a),h=0;h<d.length;++h)s[d[h]]={enumerable:!1,configurable:!0,writable:!0,value:a[d[h]]};return Object.defineProperties(o,s),n&&n instanceof c&&(o._parent=n,o._schema=n.schema.path(t),o._handlers={isNew:o.notify(\"isNew\"),save:o.notify(\"save\")},n.on(\"save\",o._handlers.save),n.on(\"isNew\",o._handlers.isNew)),o}var i=e(\"./array\"),o=e(\"./objectid\"),a=e(\"../schema/objectid\"),s=e(\"../utils\"),c=e(\"../document\");r.mixin={_cast:function(e,t){return e instanceof this._schema.casterConstructor?(e.__parent&&e.__parentArray||(e.__parent=this._parent,e.__parentArray=this),e.__index=t,e):((n.isBuffer(e)||e instanceof o||!s.isObject(e))&&(e={_id:e}),new this._schema.casterConstructor(e,this,void 0,void 0,t))},id:function(e){var t,n,r;try{var i=a.prototype.cast.call({},e);i&&(t=String(i))}catch(u){t=null}for(var p=0,l=this.length;l>p;p++)if(r=this[p].get(\"_id\"),null!==r&&\"undefined\"!=typeof r)if(r instanceof c){if(n||(n=String(e)),n==r._id)return this[p]}else if(e instanceof o||r instanceof o){if(t==r)return this[p]}else if(s.deepEqual(e,r))return this[p];return null},toObject:function(e){return this.map(function(t){return t&&t.toObject(e)||null})},inspect:function(){return Array.prototype.slice.call(this)},create:function(e){return new this._schema.casterConstructor(e)},notify:function(e){var t=this;return function(n){for(var r=t.length;r--;)if(t[r]){switch(e){case\"save\":n=t[r]}t[r].emit(e,n)}}}},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../schema/objectid\":289,\"../utils\":302,\"./array\":295,\"./objectid\":300}],298:[function(e,t,n){function r(e,t,n,r,i){t?(this.__parentArray=t,this.__parent=t._parent):(this.__parentArray=void 0,this.__parent=void 0),this.__index=i,o.call(this,e,r,n);var a=this;this.on(\"isNew\",function(e){a.isNew=e})}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document_provider\")(),a=e(\"../promise_provider\");r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.markModified=function(e){this.$__.activePaths.modify(e),this.__parentArray&&(this.isNew?this.__parentArray._markModified():this.__parentArray._markModified(this,e))},r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.remove=function(e){if(!this.__parentArray)return this;var t;if(!this.willRemove){if(t=this._doc._id,!t)throw new Error(\"For your own good, Mongoose does not know how to remove an EmbeddedDocument that has no _id\");this.__parentArray.pull({_id:t}),this.willRemove=!0,i(this)}return e&&e(null),this},r.prototype.update=function(){throw new Error(\"The #update method is not available on EmbeddedDocuments\")},r.prototype.inspect=function(){return this.toObject()},r.prototype.invalidate=function(e,t,n,r){if(!this.__parent){var i=\"Unable to invalidate a subdocument that has not been added to an array.\";throw new Error(i)}var o=this.__index;if(\"undefined\"!=typeof o){var a=this.__parentArray._path,s=[a,o,e].join(\".\");this.__parent.invalidate(s,t,n)}return r&&(this.$__.validationError=this.ownerDocument().$__.validationError),!0},r.prototype.$markValid=function(e){if(this.__parent){var t=this.__index;if(\"undefined\"!=typeof t){var n=this.__parentArray._path,r=[n,t,e].join(\".\");this.__parent.$markValid(r)}}},r.prototype.$isValid=function(e){var t=this.__index;return\"undefined\"!=typeof t?!this.__parent.$__.validationError||!this.__parent.$__.validationError.errors[this.$__fullPath(e)]:!0},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.__parent;if(!e)return this;for(;e.__parent;)e=e.__parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.$__fullPath=function(e){if(!this.$__.fullPath){var t=this;if(!t.__parent)return e;for(var n=[];t.__parent;)n.unshift(t.__parentArray._path),t=t.__parent;this.$__.fullPath=n.join(\".\"),this.$__.ownerDocument||(this.$__.ownerDocument=t)}return e?this.$__.fullPath+\".\"+e:this.$__.fullPath},r.prototype.parent=function(){return this.__parent},r.prototype.parentArray=function(){return this.__parentArray},t.exports=r},{\"../document_provider\":254,\"../promise_provider\":275}],299:[function(e,t,n){n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Document=n.Embedded=e(\"./embedded\"),n.DocumentArray=e(\"./documentarray\"),n.ObjectId=e(\"./objectid\"),n.Subdocument=e(\"./subdocument\")},{\"./array\":295,\"./buffer\":296,\"./documentarray\":297,\"./embedded\":298,\"./objectid\":300,\"./subdocument\":301}],300:[function(e,t,n){var r=e(\"../drivers\").ObjectId;t.exports=r},{\"../drivers\":259}],301:[function(e,t,n){function r(e,t){this.$isSingleNested=!0,o.call(this,e,t)}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document\"),a=e(\"../promise_provider\");t.exports=r,r.prototype=Object.create(o.prototype),r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.$isValid=function(e){return this.$parent?this.$parent.$isValid([this.$basePath,e].join(\".\")):void 0},r.prototype.markModified=function(e){o.prototype.markModified.call(this,e),this.$parent&&this.$parent.markModified([this.$basePath,e].join(\".\"))},r.prototype.$markValid=function(e){this.$parent&&this.$parent.$markValid([this.$basePath,e].join(\".\"))},r.prototype.invalidate=function(e,t,n){if(this.$parent)this.$parent.invalidate([this.$basePath,e].join(\".\"),t,n);else if(\"cast\"===t.kind||\"CastError\"===t.name)throw t},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.$parent;if(!e)return this;for(;e.$parent;)e=e.$parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.remove=function(e){this.$parent.set(this.$basePath,null),i(this),e&&e(null)}},{\"../document\":253,\"../promise_provider\":275}],302:[function(e,t,n){(function(t){function r(e){var t;return!~v.indexOf(e.toLowerCase())&&(t=m.filter(function(t){return e.match(t[0])}),t[0])?e.replace(t[0][0],t[0][1]):e}function i(e,t){var n,r,i,o,a,s=t&&t.retainKeyOrder,c=t&&t.minimize,u={};if(s)for(o in e)i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);else for(r=Object.keys(e),a=r.length;a--;)o=r[a],i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);return c?n&&u:u}function o(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(g(e[r],t));return n}function a(e,t,n,r,i,o){this.path=e,this.match=n,this.select=t,this.options=r,this.model=i,\"object\"==typeof o&&(this.populate=o),this._docs={}}var s,c,u,p=e(\"./types/objectid\"),l=e(\"regexp-clone\"),f=e(\"sliced\"),d=e(\"mpath\"),h=e(\"ms\");n.toCollectionName=function(e,t){return t=t||{},\"system.profile\"===e?e:\"system.indexes\"===e?e:t.pluralization===!1?e:r(e.toLowerCase())},n.pluralization=[[/(m)an$/gi,\"$1en\"],[/(pe)rson$/gi,\"$1ople\"],[/(child)$/gi,\"$1ren\"],[/^(ox)$/gi,\"$1en\"],[/(ax|test)is$/gi,\"$1es\"],[/(octop|vir)us$/gi,\"$1i\"],[/(alias|status)$/gi,\"$1es\"],[/(bu)s$/gi,\"$1ses\"],[/(buffal|tomat|potat)o$/gi,\"$1oes\"],[/([ti])um$/gi,\"$1a\"],[/sis$/gi,\"ses\"],[/(?:([^f])fe|([lr])f)$/gi,\"$1$2ves\"],[/(hive)$/gi,\"$1s\"],[/([^aeiouy]|qu)y$/gi,\"$1ies\"],[/(x|ch|ss|sh)$/gi,\"$1es\"],[/(matr|vert|ind)ix|ex$/gi,\"$1ices\"],[/([m|l])ouse$/gi,\"$1ice\"],[/(kn|w|l)ife$/gi,\"$1ives\"],[/(quiz)$/gi,\"$1zes\"],[/s$/gi,\"s\"],[/([^a-z])$/,\"$1\"],[/$/gi,\"s\"]];var m=n.pluralization;n.uncountables=[\"advice\",\"energy\",\"excretion\",\"digestion\",\"cooperation\",\"health\",\"justice\",\"labour\",\"machinery\",\"equipment\",\"information\",\"pollution\",\"sewage\",\"paper\",\"money\",\"species\",\"series\",\"rain\",\"rice\",\"fish\",\"sheep\",\"moose\",\"deer\",\"news\",\"expertise\",\"status\",\"media\"];var v=n.uncountables;n.deepEqual=function w(e,r){if(e===r)return!0;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof p&&r instanceof p)return e.toString()===r.toString();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.ignoreCase===r.ignoreCase&&e.multiline===r.multiline&&e.global===r.global;if(\"object\"!=typeof e&&\"object\"!=typeof r)return e==r;if(null===e||null===r||void 0===e||void 0===r)return!1;if(e.prototype!==r.prototype)return!1;if(e instanceof Number&&r instanceof Number)return e.valueOf()===r.valueOf();if(t.isBuffer(e))return n.buffer.areEqual(e,r);b(e)&&(e=e.toObject()),b(r)&&(r=r.toObject());try{var i,o,a=Object.keys(e),s=Object.keys(r)}catch(c){return!1}if(a.length!==s.length)return!1;for(a.sort(),s.sort(),o=a.length-1;o>=0;o--)if(a[o]!==s[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!w(e[i],r[i]))return!1;return!0},n.clone=function(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return o(e,t);if(b(e))return t&&t.json&&\"function\"==typeof e.toJSON?e.toJSON(t):e.toObject(t);if(e.constructor)switch(n.getFunctionName(e.constructor)){case\"Object\":return i(e,t);case\"Date\":return new e.constructor(+e);case\"RegExp\":return l(e)}return e instanceof p?new p(e.id):!e.constructor&&n.isObject(e)?i(e,t):e.valueOf?e.valueOf():void 0};var g=n.clone;n.options=function(e,t){var n,r=Object.keys(e),i=r.length;for(t=t||{};i--;)n=r[i],n in t||(t[n]=e[n]);return t},n.random=function(){return Math.random().toString().substr(3)},n.merge=function _(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])&&_(e[r],t[r])};var y=Object.prototype.toString;n.toObject=function k(e){var t;if(n.isNullOrUndefined(e))return e;if(e instanceof u)return e.toObject();if(Array.isArray(e)){t=[];for(var r=0,i=e.length;i>r;++r)t.push(k(e[r]));return t}if(e.constructor&&\"Object\"===n.getFunctionName(e.constructor)||!e.constructor&&n.isObject(e)){t={};for(var o in e)t[o]=k(e[o]);return t}return e},n.isObject=function(e){return t.isBuffer(e)?!0:\"[object Object]\"===y.call(e)},n.args=f,n.tick=function(e){return\"function\"==typeof e?function(){try{e.apply(this,arguments)}catch(t){process.nextTick(function(){throw t})}}:void 0},n.isMongooseObject=function(t){return u||(u=e(\"./document\")),c||(c=e(\"./types\").Array),s||(s=e(\"./types\").Buffer),t instanceof u||t&&t.isMongooseArray||t&&t.isMongooseBuffer};var b=n.isMongooseObject;n.expires=function(e){if(e&&\"Object\"===e.constructor.name&&\"expires\"in e){var t;t=\"string\"!=typeof e.expires?e.expires:Math.round(h(e.expires)/1e3),e.expireAfterSeconds=t,delete e.expires}},a.prototype.constructor=Object,n.PopulateOptions=a,n.populate=function(e,t,r,i,o,s){if(1===arguments.length){if(e instanceof a)return[e];if(Array.isArray(e))return e.map(function(e){return n.populate(e)[0]});n.isObject(e)&&(i=e.match,o=e.options,t=e.select,r=e.model,s=e.populate,e=e.path)}else\"string\"!=typeof r&&\"function\"!=typeof r&&(o=i,i=r,r=void 0);if(\"string\"!=typeof e)throw new TypeError(\"utils.populate: invalid path. Expected string. Got typeof `\"+typeof e+\"`\");\"object\"==typeof s&&(s=n.populate(s));var c=[],u=e.split(\" \");o=n.clone(o,{retainKeyOrder:!0});for(var p=0;p<u.length;++p)c.push(new a(u[p],t,i,o,r,s));return c},n.getValue=function(e,t,n){return d.get(e,t,\"_doc\",n)},n.setValue=function(e,t,n,r){d.set(e,t,n,\"_doc\",r)},n.object={},n.object.vals=function(e){for(var t=Object.keys(e),n=t.length,r=[];n--;)r.push(e[t[n]]);return r},n.object.shallowCopy=n.options;var x=Object.prototype.hasOwnProperty;n.object.hasOwnProperty=function(e,t){return x.call(e,t)},n.isNullOrUndefined=function(e){return null===e||void 0===e},n.array={},n.array.flatten=function j(e,t,n){return n||(n=[]),e.forEach(function(e){Array.isArray(e)?j(e,t,n):t&&!t(e)||n.push(e)}),n},n.array.unique=function(e){for(var t={},n={},r=[],i=e.length,o=0;i>o;++o)if(\"number\"==typeof e[o]||\"string\"==typeof e[o]){if(t[e[o]])continue;r.push(e[o]),t[e[o]]=!0}else if(e[o]instanceof p){if(n[e[o].toString()])continue;r.push(e[o]),n[e[o].toString()]=!0}else r.push(e[o]);return r},n.buffer={},n.buffer.areEqual=function(e,n){if(!t.isBuffer(e))return!1;if(!t.isBuffer(n))return!1;if(e.length!==n.length)return!1;for(var r=0,i=e.length;i>r;++r)if(e[r]!==n[r])return!1;return!0},n.getFunctionName=function(e){return e.name?e.name:(e.toString().trim().match(/^function\\s*([^\\s(]+)/)||[])[1]},n.decorate=function(e,t){for(var n in t)e[n]=t[n]},n.mergeClone=function(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)if(r=i[o],\"undefined\"==typeof e[r])e[r]=n.clone(t[r],{retainKeyOrder:1});else if(n.isObject(t[r])){var a=t[r];b(t[r])&&!t[r].isMongooseBuffer&&(a=a.toObject({virtuals:!1})),n.mergeClone(e[r],a)}else e[r]=n.clone(t[r],{retainKeyOrder:1})},n.each=function(e,t){for(var n=0;n<e.length;++n)t(e[n])}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./document\":253,\"./types\":299,\"./types/objectid\":300,mpath:305,ms:355,\"regexp-clone\":392,sliced:431}],303:[function(e,t,n){function r(e,t){this.path=t,this.getters=[],this.setters=[],this.options=e||{}}r.prototype.get=function(e){return this.getters.push(e),this},r.prototype.set=function(e){return this.setters.push(e),this},r.prototype.applyGetters=function(e,t){for(var n=e,r=this.getters.length-1;r>=0;r--)n=this.getters[r].call(t,n,this);return n},r.prototype.applySetters=function(e,t){for(var n=e,r=this.setters.length-1;r>=0;r--)n=this.setters[r].call(t,n,this);return n},t.exports=r},{}],304:[function(e,t,n){t.exports={_args:[[\"mongoose\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"mongoose@*\",_id:\"mongoose@4.4.12\",_inCache:!0,_installable:!0,_location:\"/mongoose\",_nodeVersion:\"5.4.1\",_npmOperationalInternal:{host:\"packages-12-west.internal.npmjs.com\",tmp:\"tmp/mongoose-4.4.12.tgz_1460141300884_0.6968548044096678\"},_npmUser:{email:\"val@karpov.io\",name:\"vkarpov15\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"mongoose\",raw:\"mongoose\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\",_shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",_shrinkwrap:null,_spec:\"mongoose\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"guillermo@learnboost.com\",name:\"Guillermo Rauch\"},browser:\"lib/browser.js\",browserDependencies:{browserify:\"4.1.10\",chai:\"3.5.0\",karma:\"0.12.16\",\"karma-chai\":\"0.1.0\",\"karma-chrome-launcher\":\"0.1.4\",\"karma-mocha\":\"0.1.4\",\"karma-sauce-launcher\":\"0.2.8\"},bugs:{email:\"mongoose-orm@googlegroups.com\",url:\"https://github.com/Automattic/mongoose/issues/new\"},dependencies:{async:\"1.5.2\",bson:\"~0.4.21\",\"hooks-fixed\":\"1.1.0\",kareem:\"1.0.1\",mongodb:\"2.1.16\",mpath:\"0.2.1\",mpromise:\"0.5.5\",mquery:\"1.10.0\",ms:\"0.7.1\",muri:\"1.1.0\",\"regexp-clone\":\"0.0.1\",sliced:\"1.0.1\"},description:\"Mongoose MongoDB ODM\",devDependencies:{acquit:\"0.4.1\",\"acquit-ignore\":\"0.0.3\",benchmark:\"2.0.0\",bluebird:\"3.1.4\",co:\"4.6.0\",dox:\"0.3.1\",eslint:\"2.4.0\",\"highlight.js\":\"7.0.1\",istanbul:\"0.4.2\",jade:\"0.26.3\",lodash:\"4.6.1\",markdown:\"0.3.1\",marked:\"0.3.5\",mocha:\"2.3.4\",\"node-static\":\"0.7.7\",\"power-assert\":\"1.2.0\",q:\"1.4.1\",tbd:\"0.6.4\",\"uglify-js\":\"2.6.1\",underscore:\"1.8.3\"},directories:{lib:\"./lib/mongoose\"},dist:{shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",tarball:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\"},engines:{node:\">=0.6.19\"},gitHead:\"239006ca12982d62369b8716e3fde917084d69ce\",homepage:\"http://mongoosejs.com\",keywords:[\"data\",\"database\",\"datastore\",\"db\",\"document\",\"model\",\"mongodb\",\"nosql\",\"odm\",\"orm\",\"query\",\"schema\"],license:\"MIT\",main:\"./index.js\",maintainers:[{name:\"rauchg\",email:\"rauchg@gmail.com\"},{name:\"tjholowaychuk\",email:\"tj@vision-media.ca\"},{name:\"aaron\",email:\"aaron.heckmann+github@gmail.com\"},{name:\"vkarpov15\",email:\"val@karpov.io\"},{name:\"defunctzombie\",email:\"shtylman@gmail.com\"}],name:\"mongoose\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/Automattic/mongoose.git\"},scripts:{\"fix-lint\":\"eslint . --fix\",\"install-browser\":\"npm install `node format_deps.js`\",posttest:\"eslint . --quiet\",test:\"mocha test/*.test.js test/**/*.test.js\",\"test-cov\":\"istanbul cover --report text --report html _mocha test/*.test.js\"},version:\"4.4.12\"}},{}],305:[function(e,t,n){t.exports=n=e(\"./lib\")},{\"./lib\":306}],306:[function(e,t,n){function r(e){return e}n.get=function(e,t,i,o){var a;\"function\"==typeof i&&(i.length<2?(o=i,i=void 0):(a=i,i=void 0)),o||(o=r);var s=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(s))throw new TypeError(\"Invalid `path`. Must be either string or array\");for(var c,u=t,p=0;p<s.length;++p){if(c=s[p],Array.isArray(u)&&!/^\\d+$/.test(c)){var l=s.slice(p);return u.map(function(e){return e?n.get(l,e,i||a,o):o(void 0)})}if(u=a?a(u,c):i&&u[i]?u[i][c]:u[c],!u)return o(u)}return o(u)},n.set=function(e,t,i,o,a,s){var c;\"function\"==typeof o&&(o.length<2?(a=o,o=void 0):(c=o,o=void 0)),a||(a=r);var u=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(u))throw new TypeError(\"Invalid `path`. Must be either string or array\");if(null!=i){for(var p,l=s||/\\$/.test(e),f=i,d=0,h=u.length-1;h>d;++d)if(p=u[d],\"$\"!=p){if(Array.isArray(f)&&!/^\\d+$/.test(p)){var m=u.slice(d);if(!l&&Array.isArray(t))for(var v=0;v<f.length&&v<t.length;++v)n.set(m,t[v],f[v],o||c,a,l);else for(var v=0;v<f.length;++v)n.set(m,t,f[v],o||c,a,l);return}if(f=c?c(f,p):o&&f[o]?f[o][p]:f[p],!f)return}else if(d==h-1)break;if(p=u[h],o&&f[o]&&(f=f[o]),Array.isArray(f)&&!/^\\d+$/.test(p))if(!l&&Array.isArray(t))for(var g,v=0;v<f.length&&v<t.length;++v)g=f[v],g&&(c?c(g,p,a(t[v])):(g[o]&&(g=g[o]),g[p]=a(t[v])));else for(var v=0;v<f.length;++v)g=f[v],g&&(c?c(g,p,a(t)):(g[o]&&(g=g[o]),g[p]=a(t)));else c?c(f,p,a(t)):f[p]=a(t)}}},{}],307:[function(e,t,n){\"use strict\";function r(e,t,n){return Array.prototype.slice.call(e,t,n)}function i(e,t){var n=r(t);return n.unshift(e),n}function o(e){this.emitter=new c,this.emitted={},this.ended=!1,\"function\"==typeof e&&(this.ended=!0,this.onResolve(e))}function a(e,t){function n(){var n=e.emitter.domain;n&&n!==process.domain&&n.enter();try{var i=t.apply(void 0,r.args)}catch(o){return void e.reject(o)}s(e,i)}function r(){r.args=arguments,process.nextTick(n)}return r}function s(e,t){function n(){l++||s.apply(void 0,i(e,arguments))}function o(t){l++||e.reject(t)}if(e===t)return void e.reject(new TypeError(\"promise and x are the same\"));var a=r(arguments,1),c=typeof t;if(\"undefined\"==c||null==t||\"object\"!=c&&\"function\"!=c)return void e.fulfill.apply(e,a);try{var u=t.then}catch(p){return void e.reject(p)}if(\"function\"!=typeof u)return void e.fulfill.apply(e,a);var l=0;try{var f=u.call(t,n,o);return f}catch(p){if(l++)return;e.reject(p)}}var c=(e(\"util\"),e(\"events\").EventEmitter);t.exports=o,o.SUCCESS=\"fulfill\",o.FAILURE=\"reject\",o.prototype.on=function(e,t){return this.emitted[e]?t.apply(void 0,this.emitted[e]):this.emitter.on(e,t),this},o.prototype.safeEmit=function(e){if(e==o.SUCCESS||e==o.FAILURE){if(this.emitted[o.SUCCESS]||this.emitted[o.FAILURE])return this;this.emitted[e]=r(arguments,1)}return this.emitter.emit.apply(this.emitter,arguments),this},o.prototype.hasRejectListeners=function(){return c.listenerCount(this.emitter,o.FAILURE)>0},o.prototype.fulfill=function(){return this.safeEmit.apply(this,i(o.SUCCESS,arguments))},o.prototype.reject=function(e){if(this.ended&&!this.hasRejectListeners())throw e;return this.safeEmit(o.FAILURE,e)},o.prototype.resolve=function(e,t){return e?this.reject(e):this.fulfill(t)},o.prototype.onFulfill=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.SUCCESS,e)},o.prototype.onReject=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,e)},o.prototype.onResolve=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,function(t){e.call(this,t)}),this.on(o.SUCCESS,function(){e.apply(this,i(null,arguments))}),this},o.prototype.then=function(e,t){var n=new o;return\"function\"==typeof e?this.onFulfill(a(n,e)):this.onFulfill(n.fulfill.bind(n)),\"function\"==typeof t?this.onReject(a(n,t)):this.onReject(n.reject.bind(n)),n},o.prototype.end=o.prototype[\"catch\"]=function(e){return e||this.hasRejectListeners()||(e=function(e){throw e}),this.onReject(e),this.ended=!0,this},o.trace=function(e,t){e.then(function(){console.log(\"%s fulfill %j\",t,r(arguments))},function(){console.log(\"%s reject %j\",t,r(arguments))})},o.prototype.chain=function(e){var t=this;return t.onFulfill(e.fulfill.bind(e)),t.onReject(e.reject.bind(e)),e},o.prototype.all=function(e){var t=new o;return this.then(e).then(function(e){var n,r=0,i=[];return e.length||t.resolve(),e.forEach(function(e,o){n||(r++,e.then(function(e){n||(i[o]=e,--r,0==r&&t.fulfill(i))},function(e){n||(n=e,t.reject(e))}))}),t},t.reject.bind(t)),t},o.hook=function(e){var t=new o,n=new o,r=function(){return--i,0==i&&n.fulfill(),n},i=1,a=t;return e.forEach(function(e){a=a.then(function(){var t=new o;return i++,e(t.resolve.bind(t),r),t})}),a=a.then(r),t.resolve(),a},o.fulfilled=function(){var e=new o;return e.fulfill.apply(e,arguments),e},o.rejected=function(e){return(new o).reject(e)},o.deferred=function(){var e=new o;return{promise:e,reject:e.reject.bind(e),resolve:e.fulfill.bind(e),callback:e.resolve.bind(e)}}},{\nevents:void 0,util:void 0}],308:[function(e,t,n){\"use strict\";function r(){}function i(e){return function(){throw new Error(\"collection.\"+e+\" not implemented\")}}for(var o=[\"find\",\"findOne\",\"update\",\"remove\",\"count\",\"distinct\",\"findAndModify\",\"aggregate\",\"findStream\"],a=0,s=o.length;s>a;++a){var c=o[a];r.prototype[c]=i(c)}t.exports=n=r,r.methods=o},{}],309:[function(e,t,n){\"use strict\";var r=e(\"../env\");if(\"unknown\"==r.type)throw new Error(\"Unknown environment\");t.exports=e(r.isNode?\"./node\":r.isMongo?\"./collection\":\"./collection\")},{\"../env\":311,\"./collection\":308,\"./node\":310}],310:[function(e,t,n){\"use strict\";function r(e){this.collection=e,this.collectionName=e.collectionName}var i=e(\"./collection\"),o=e(\"../utils\");o.inherits(r,i),r.prototype.find=function(e,t,n){this.collection.find(e,t,function(e,t){return e?n(e):void t.toArray(n)})},r.prototype.findOne=function(e,t,n){this.collection.findOne(e,t,n)},r.prototype.count=function(e,t,n){this.collection.count(e,t,n)},r.prototype.distinct=function(e,t,n,r){this.collection.distinct(e,t,n,r)},r.prototype.update=function(e,t,n,r){this.collection.update(e,t,n,r)},r.prototype.remove=function(e,t,n){this.collection.remove(e,t,n)},r.prototype.findAndModify=function(e,t,n,r){var i=Array.isArray(n.sort)?n.sort:[];this.collection.findAndModify(e,i,t,n,r)},r.prototype.findStream=function(e,t,n){return this.collection.find(e,t).stream(n)},r.prototype.findCursor=function(e,t){return this.collection.find(e,t)},t.exports=n=r},{\"../utils\":314,\"./collection\":308}],311:[function(e,t,n){(function(e,r){\"use strict\";n.isNode=\"undefined\"!=typeof process&&\"object\"==typeof t&&\"object\"==typeof e&&\"function\"==typeof r&&process.argv,n.isMongo=!n.isNode&&\"function\"==typeof printjson&&\"function\"==typeof ObjectId&&\"function\"==typeof rs&&\"function\"==typeof sh,n.isBrowser=!n.isNode&&!n.isMongo&&\"undefined\"!=typeof window,n.type=n.isNode?\"node\":n.isMongo?\"mongo\":n.isBrowser?\"browser\":\"unknown\"}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"buffer\").Buffer)},{buffer:void 0}],312:[function(e,t,n){\"use strict\";function r(e,t){if(!(this instanceof r))return new r(e,t);var n=this.constructor.prototype;this.op=n.op||void 0,this.options={},this.setOptions(n.options),this._conditions=n._conditions?u.clone(n._conditions):{},this._fields=n._fields?u.clone(n._fields):void 0,this._update=n._update?u.clone(n._update):void 0,this._path=n._path||void 0,this._distinct=n._distinct||void 0,this._collection=n._collection||void 0,this._traceFunction=n._traceFunction||void 0,t&&this.setOptions(t),e&&(e.find&&e.remove&&e.update?this.collection(e):this.find(e))}function i(e,t,n){if(Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");if(n&&n.$meta){var r=e.sort||(e.sort={});return void(r[t]={$meta:n.$meta})}var i=String(n||1).toLowerCase();if(!/^(?:ascending|asc|descending|desc|1|-1)$/.test(i))throw u.isArray(n)&&(n=\"[\"+n+\"]\"),new TypeError(\"Invalid sort value: {\"+t+\": \"+n+\" }\");var r=e.sort||(e.sort={}),o=n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");r[t]=parseInt(o,10)}function o(e,t,n){if(e.sort=e.sort||[],!Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");e.sort.push([t,n])}var a=e(\"sliced\"),s=e(\"assert\"),c=e(\"util\"),u=e(\"./utils\"),p=e(\"debug\")(\"mquery\"),l=\"$geoWithin\";Object.defineProperty(r,\"use$geoWithin\",{get:function(){return\"$geoWithin\"==l},set:function(e){l=!0===e?\"$geoWithin\":\"$within\"}}),r.prototype.toConstructor=function(){function e(t,n){return this instanceof e?void r.call(this,t,n):new e(t,n)}u.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=u.clone(this._conditions),t._fields=u.clone(this._fields),t._update=u.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t._traceFunction=this._traceFunction,e},r.prototype.setOptions=function(e){if(!e||!u.isObject(e))return this;for(var t,n=u.keys(e),r=0;r<n.length;++r)if(t=n[r],\"function\"==typeof this[t]){var i=u.isArray(e[t])?e[t]:[e[t]];this[t].apply(this,i)}else this.options[t]=e[t];return this},r.prototype.collection=function(e){return this._collection=new r.Collection(e),this},r.prototype.$where=function(e){return this._conditions.$where=e,this},r.prototype.where=function(){if(!arguments.length)return this;this.op||(this.op=\"find\");var e=typeof arguments[0];if(\"string\"==e)return this._path=arguments[0],2===arguments.length&&(this._conditions[this._path]=arguments[1]),this;if(\"object\"==e&&!Array.isArray(arguments[0]))return this.merge(arguments[0]);throw new TypeError(\"path must be a string or object\")},r.prototype.equals=function(e){this._ensurePath(\"equals\");var t=this._path;return this._conditions[t]=e,this},r.prototype.eq=function(e){this._ensurePath(\"eq\");var t=this._path;return this._conditions[t]=e,this},r.prototype.or=function f(e){var f=this._conditions.$or||(this._conditions.$or=[]);return u.isArray(e)||(e=[e]),f.push.apply(f,e),this},r.prototype.nor=function d(e){var d=this._conditions.$nor||(this._conditions.$nor=[]);return u.isArray(e)||(e=[e]),d.push.apply(d,e),this},r.prototype.and=function h(e){var h=this._conditions.$and||(this._conditions.$and=[]);return Array.isArray(e)||(e=[e]),h.push.apply(h,e),this},\"gt gte lt lte ne in nin all regex size maxDistance\".split(\" \").forEach(function(e){r.prototype[e]=function(){var t,n;1===arguments.length?(this._ensurePath(e),n=arguments[0],t=this._path):(n=arguments[1],t=arguments[0]);var r=this._conditions[t]||(this._conditions[t]={});return r[\"$\"+e]=n,this}}),r.prototype.mod=function(){var e,t;1===arguments.length?(this._ensurePath(\"mod\"),e=arguments[0],t=this._path):2!==arguments.length||u.isArray(arguments[1])?3===arguments.length?(e=a(arguments,1),t=arguments[0]):(e=arguments[1],t=arguments[0]):(this._ensurePath(\"mod\"),e=a(arguments),t=this._path);var n=this._conditions[t]||(this._conditions[t]={});return n.$mod=e,this},r.prototype.exists=function(){var e,t;0===arguments.length?(this._ensurePath(\"exists\"),e=this._path,t=!0):1===arguments.length?\"boolean\"==typeof arguments[0]?(this._ensurePath(\"exists\"),e=this._path,t=arguments[0]):(e=arguments[0],t=!0):2===arguments.length&&(e=arguments[0],t=arguments[1]);var n=this._conditions[e]||(this._conditions[e]={});return n.$exists=t,this},r.prototype.elemMatch=function(){if(null==arguments[0])throw new TypeError(\"Invalid argument\");var e,t,n;if(\"function\"==typeof arguments[0])this._ensurePath(\"elemMatch\"),t=this._path,e=arguments[0];else if(u.isObject(arguments[0]))this._ensurePath(\"elemMatch\"),t=this._path,n=arguments[0];else if(\"function\"==typeof arguments[1])t=arguments[0],e=arguments[1];else{if(!arguments[1]||!u.isObject(arguments[1]))throw new TypeError(\"Invalid argument\");t=arguments[0],n=arguments[1]}e&&(n=new r,e(n),n=n._conditions);var i=this._conditions[t]||(this._conditions[t]={});return i.$elemMatch=n,this},r.prototype.within=function(){if(this._ensurePath(\"within\"),this._geoComparison=l,0===arguments.length)return this;if(2===arguments.length)return this.box.apply(this,arguments);if(2<arguments.length)return this.polygon.apply(this,arguments);var e=arguments[0];if(!e)throw new TypeError(\"Invalid argument\");if(e.center)return this.circle(e);if(e.box)return this.box.apply(this,e.box);if(e.polygon)return this.polygon.apply(this,e.polygon);if(e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.box=function(){var e,t;if(3===arguments.length)e=arguments[0],t=[arguments[1],arguments[2]];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");this._ensurePath(\"box\"),e=this._path,t=[arguments[0],arguments[1]]}var n=this._conditions[e]||(this._conditions[e]={});return n[this._geoComparison||l]={$box:t},this},r.prototype.polygon=function(){var e,t;\"string\"==typeof arguments[0]?(t=arguments[0],e=a(arguments,1)):(this._ensurePath(\"polygon\"),t=this._path,e=a(arguments));var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison||l]={$polygon:e},this},r.prototype.circle=function(){var e,t;if(1===arguments.length)this._ensurePath(\"circle\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!(\"radius\"in t&&t.center))throw new Error(\"center and radius are required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$centerSphere\":\"$center\",i=this._geoComparison||l;return n[i]={},n[i][r]=[t.center,t.radius],\"unique\"in t&&(n[i].$uniqueDocs=!!t.unique),this},r.prototype.near=function(){var e,t;if(this._geoComparison=\"$near\",0===arguments.length)return this;if(1===arguments.length)this._ensurePath(\"near\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!t.center)throw new Error(\"center is required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$nearSphere\":\"$near\";if(Array.isArray(t.center)){n[r]=t.center;var i=\"maxDistance\"in t?t.maxDistance:null;null!=i&&(n.$maxDistance=i)}else{if(\"Point\"!=t.center.type||!Array.isArray(t.center.coordinates))throw new Error(c.format(\"Invalid GeoJSON specified for %s\",r));n[r]={$geometry:t.center},\"maxDistance\"in t&&(n[r].$maxDistance=t.maxDistance)}return this},r.prototype.intersects=function(){if(this._ensurePath(\"intersects\"),this._geoComparison=\"$geoIntersects\",0===arguments.length)return this;var e=arguments[0];if(null!=e&&e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.geometry=function(){if(\"$within\"!=this._geoComparison&&\"$geoWithin\"!=this._geoComparison&&\"$near\"!=this._geoComparison&&\"$geoIntersects\"!=this._geoComparison)throw new Error(\"geometry() must come after `within()`, `intersects()`, or `near()\");var e,t;if(1!==arguments.length)throw new TypeError(\"Invalid argument\");if(this._ensurePath(\"geometry\"),t=this._path,e=arguments[0],!e.type||!Array.isArray(e.coordinates))throw new TypeError(\"Invalid argument\");var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison]={$geometry:e},this},r.prototype.select=function(){var e=arguments[0];if(!e)return this;if(1!==arguments.length)throw new Error(\"Invalid select: select only takes 1 argument\");this._validate(\"select\");var t=this._fields||(this._fields={}),n=typeof e;if((\"string\"==n||u.isArgumentsObject(e))&&\"number\"==typeof e.length){\"string\"==n&&(e=e.split(/\\s+/));for(var r=0,i=e.length;i>r;++r){var o=e[r];if(o){var a=\"-\"==o[0]?0:1;0===a&&(o=o.substring(1)),t[o]=a}}return this}if(u.isObject(e)&&!Array.isArray(e)){for(var s=u.keys(e),r=0;r<s.length;++r)t[s[r]]=e[s[r]];return this}throw new TypeError(\"Invalid select() argument. Must be string or object.\")},r.prototype.slice=function(){if(0===arguments.length)return this;this._validate(\"slice\");var e,t;if(1===arguments.length){var n=arguments[0];if(\"object\"==typeof n&&!Array.isArray(n)){for(var r=Object.keys(n),i=r.length,o=0;i>o;++o)this.slice(r[o],n[r[o]]);return this}this._ensurePath(\"slice\"),e=this._path,t=arguments[0]}else 2===arguments.length?\"number\"==typeof arguments[0]?(this._ensurePath(\"slice\"),e=this._path,t=a(arguments)):(e=arguments[0],t=arguments[1]):3===arguments.length&&(e=arguments[0],t=a(arguments,1));var s=this._fields||(this._fields={});return s[e]={$slice:t},this},r.prototype.sort=function(e){if(!e)return this;var t;this._validate(\"sort\");var n=typeof e;if(Array.isArray(e)){t=e.length;for(var r=0;r<e.length;++r)o(this.options,e[r][0],e[r][1]);return this}if(1===arguments.length&&\"string\"==n){e=e.split(/\\s+/),t=e.length;for(var r=0;t>r;++r){var a=e[r];if(a){var s=\"-\"==a[0]?-1:1;-1===s&&(a=a.substring(1)),i(this.options,a,s)}}return this}if(u.isObject(e)){for(var c=u.keys(e),r=0;r<c.length;++r){var a=c[r];i(this.options,a,e[a])}return this}throw new TypeError(\"Invalid sort() argument. Must be a string, object, or array.\")},[\"limit\",\"skip\",\"maxScan\",\"batchSize\",\"comment\"].forEach(function(e){r.prototype[e]=function(t){return this._validate(e),this.options[e]=t,this}}),r.prototype.maxTime=function(e){return this._validate(\"maxTime\"),this.options.maxTimeMS=e,this},r.prototype.snapshot=function(){return this._validate(\"snapshot\"),this.options.snapshot=arguments.length?!!arguments[0]:!0,this},r.prototype.hint=function(){if(0===arguments.length)return this;this._validate(\"hint\");var e=arguments[0];if(u.isObject(e)){var t=this.options.hint||(this.options.hint={});for(var n in e)t[n]=e[n];return this}throw new TypeError(\"Invalid hint. \"+e)},r.prototype.slaveOk=function(e){return this.options.slaveOk=arguments.length?!!e:!0,this},r.prototype.read=function(e){return arguments.length>1&&!r.prototype.read.deprecationWarningIssued&&(console.error(\"Deprecation warning: 'tags' argument is not supported anymore in Query.read() method. Please use mongodb.ReadPreference object instead.\"),r.prototype.read.deprecationWarningIssued=!0),this.options.readPreference=u.readPref(e),this},r.prototype.tailable=function(){return this._validate(\"tailable\"),this.options.tailable=arguments.length?!!arguments[0]:!0,this},r.prototype.merge=function(e){if(!e)return this;if(!r.canMerge(e))throw new TypeError(\"Invalid argument. Expected instanceof mquery or plain object\");return e instanceof r?(e._conditions&&u.merge(this._conditions,e._conditions),e._fields&&(this._fields||(this._fields={}),u.merge(this._fields,e._fields)),e.options&&(this.options||(this.options={}),u.merge(this.options,e.options)),e._update&&(this._update||(this._update={}),u.mergeClone(this._update,e._update)),e._distinct&&(this._distinct=e._distinct),this):(u.merge(this._conditions,e),this)},r.prototype.find=function(e,t){if(this.op=\"find\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"find\",this._collection.collectionName,n,i),t=this._wrapCallback(\"find\",t,{conditions:n,options:i}),this._collection.find(n,i,u.tick(t)),this},r.prototype.cursor=function(e){if(this.op){if(\"find\"!==this.op)throw new TypeError(\".cursor only support .find method\")}else this.find(e);var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"findCursor\",this._collection.collectionName,t,n),this._collection.findCursor(t,n)},r.prototype.findOne=function(e,t){if(this.op=\"findOne\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"findOne\",this._collection.collectionName,n,i),t=this._wrapCallback(\"findOne\",t,{conditions:n,options:i}),this._collection.findOne(n,i,u.tick(t)),this},r.prototype.count=function(e,t){if(this.op=\"count\",this._validate(),\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return p(\"count\",this._collection.collectionName,n,i),t=this._wrapCallback(\"count\",t,{conditions:n,options:i}),this._collection.count(n,i,u.tick(t)),this},r.prototype.distinct=function(e,t,n){if(this.op=\"distinct\",this._validate(),!n){switch(typeof t){case\"function\":n=t,\"string\"==typeof e&&(t=e,e=void 0);break;case\"undefined\":case\"string\":break;default:throw new TypeError(\"Invalid `field` argument. Must be string or function\")}switch(typeof e){case\"function\":n=e,e=t=void 0;break;case\"string\":t=e,e=void 0}}if(\"string\"==typeof t&&(this._distinct=t),r.canMerge(e)&&this.merge(e),!n)return this;if(!this._distinct)throw new Error(\"No value for `distinct` has been declared\");var i=this._conditions,o=this._optionsForExec();return p(\"distinct\",this._collection.collectionName,i,o),n=this._wrapCallback(\"distinct\",n,{conditions:i,options:o}),this._collection.distinct(this._distinct,i,o,u.tick(n)),this},r.prototype.update=function(e,t,n,i){this.op=\"update\";var o;switch(arguments.length){case 3:\"function\"==typeof n&&(i=n,n=void 0);break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0);break;case 1:switch(typeof e){case\"function\":i=e,e=n=t=void 0;break;case\"boolean\":o=e,e=void 0;break;default:t=e,e=n=void 0}}if(r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),u.isObject(n)&&this.setOptions(n),!o&&!i)return this;if(!this._update||!this.options.overwrite&&0===u.keys(this._update).length)return i&&u.soon(i.bind(null,null,0)),this;n=this._optionsForExec(),i||(n.safe=!1);var e=this._conditions;return t=this._updateForExec(),p(\"update\",this._collection.collectionName,e,t,n),i=this._wrapCallback(\"update\",i,{conditions:e,doc:t,options:n}),this._collection.update(e,t,n,u.tick(i)),this},r.prototype.remove=function(e,t){this.op=\"remove\";var n;if(\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)?this.merge(e):!0===e&&(n=e,e=void 0),!n&&!t)return this;var i=this._optionsForExec();t||(i.safe=!1);var o=this._conditions;return p(\"remove\",this._collection.collectionName,o,i),t=this._wrapCallback(\"remove\",t,{conditions:o,options:i}),this._collection.remove(o,i,u.tick(t)),this},r.prototype.findOneAndUpdate=function(e,t,n,i){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(i=n,n={});break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(i=e,e=n=t=void 0):(t=e,e=n=void 0)}return r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),i?this._findAndModify(\"update\",i):this},r.prototype.findOneAndRemove=function(e,t,n){return this.op=\"findOneAndRemove\",this._validate(),\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0),r.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?this._findAndModify(\"remove\",n):this},r.prototype._findAndModify=function(e,t){s.equal(\"function\",typeof t);var n,r,i=this._optionsForExec();if(\"remove\"==e)i.remove=!0;else if(\"new\"in i||(i[\"new\"]=!0),\"upsert\"in i||(i.upsert=!1),r=this._updateForExec(),!r){if(!i.upsert)return this.findOne(t);r={$set:{}}}var n=this._fieldsForExec();n&&(i.fields=n);var o=this._conditions;return p(\"findAndModify\",this._collection.collectionName,o,r,i),t=this._wrapCallback(\"findAndModify\",t,{conditions:o,doc:r,options:i}),this._collection.findAndModify(o,r,i,u.tick(t)),this},r.prototype._wrapCallback=function(e,t,n){var i=this._traceFunction||r.traceFunction;if(i){n.collectionName=this._collection.collectionName;var o=i&&i.call(null,e,n,this),a=(new Date).getTime();return function(e,n){if(o){var r=(new Date).getTime()-a;o.call(null,e,n,r)}t&&t.apply(null,arguments)}}return t},r.prototype.setTraceFunction=function(e){return this._traceFunction=e,this},r.prototype.exec=function(e,t){switch(typeof e){case\"function\":t=e,e=null;break;case\"string\":this.op=e}s.ok(this.op,\"Missing query type: (find, update, etc)\"),\"update\"!=this.op&&\"remove\"!=this.op||t||(t=!0);var n=this;return\"function\"!=typeof t?new r.Promise(function(e,t){n[n.op](function(r,i){r?t(r):e(i),n=e=t=null})}):void this[this.op](t)},r.prototype.thunk=function(){var e=this;return function(t){e.exec(t)}},r.prototype.then=function(e,t){var n=this,i=new r.Promise(function(e,t){n.exec(function(r,i){r?t(r):e(i),n=e=t=null})});return i.then(e,t)},r.prototype.stream=function(e){if(\"find\"!=this.op)throw new Error(\"stream() is only available for find\");var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"stream\",this._collection.collectionName,t,n,e),this._collection.findStream(t,n,e)},r.prototype.selected=function(){return!!(this._fields&&Object.keys(this._fields).length>0)},r.prototype.selectedInclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!1;if(this._fields[n]&&\"object\"==typeof this._fields[n]&&this._fields[n].$meta)return!1}return!0},r.prototype.selectedExclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!0}return!1},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&u.mergeClone(this._update,e._update):u.mergeClone(this._update,e)},r.prototype._optionsForExec=function(){var e=u.clone(this.options,{retainKeyOrder:!0});return e},r.prototype._fieldsForExec=function(){return u.clone(this._fields,{retainKeyOrder:!0})},r.prototype._updateForExec=function(){for(var e=u.clone(this._update,{retainKeyOrder:!0}),t=u.keys(e),n=t.length,r={};n--;){var i=t[n];this.options.overwrite?r[i]=e[i]:\"$\"!==i[0]?(r.$set||(e.$set?r.$set=e.$set:r.$set={}),r.$set[i]=e[i],t.splice(n,1),~t.indexOf(\"$set\")||t.push(\"$set\")):\"$set\"===i?r.$set||(r[i]=e[i]):r[i]=e[i]}return this._compiledUpdate=r,r},r.prototype._ensurePath=function(e){if(!this._path){var t=e+\"() must be used after where() when called with these arguments\";throw new Error(t)}},r.permissions=e(\"./permissions\"),r._isPermitted=function(e,t){var n=r.permissions[t];return n?!0!==n[e]:!0},r.prototype._validate=function(e){var t,n;if(void 0===e){if(n=r.permissions[this.op],\"function\"!=typeof n)return!0;t=n(this)}else r._isPermitted(e,this.op)||(t=e);if(t)throw new Error(t+\" cannot be used with \"+this.op)},r.canMerge=function(e){return e instanceof r||u.isObject(e)},r.setGlobalTraceFunction=function(e){r.traceFunction=e},r.utils=u,r.env=e(\"./env\"),r.Collection=e(\"./collection\"),r.BaseCollection=e(\"./collection/collection\"),r.Promise=e(\"bluebird\"),t.exports=n=r},{\"./collection\":309,\"./collection/collection\":308,\"./env\":311,\"./permissions\":313,\"./utils\":314,assert:void 0,bluebird:318,debug:83,sliced:353,util:void 0}],313:[function(e,t,n){\"use strict\";var r=n;r.distinct=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.distinct);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.distinct.select=r.distinct.slice=r.distinct.sort=r.distinct.limit=r.distinct.skip=r.distinct.batchSize=r.distinct.comment=r.distinct.maxScan=r.distinct.snapshot=r.distinct.hint=r.distinct.tailable=!0,r.findOneAndUpdate=r.findOneAndRemove=function(e){var t,n=Object.keys(r.findOneAndUpdate);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.findOneAndUpdate.limit=r.findOneAndUpdate.skip=r.findOneAndUpdate.batchSize=r.findOneAndUpdate.maxScan=r.findOneAndUpdate.snapshot=r.findOneAndUpdate.hint=r.findOneAndUpdate.tailable=r.findOneAndUpdate.comment=!0,r.count=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.count);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.count.slice=r.count.batchSize=r.count.comment=r.count.maxScan=r.count.snapshot=r.count.tailable=!0},{}],314:[function(e,t,n){(function(t){\"use strict\";function r(e){function t(){}if(arguments.length>1)throw new Error(\"Adding properties is not supported\");return t.prototype=e,new t}var i=e(\"regexp-clone\"),o=n.clone=function u(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return n.cloneArray(e,t);if(e.constructor){if(/ObjectI[dD]$/.test(e.constructor.name))return\"function\"==typeof e.clone?e.clone():new e.constructor(e.id);if(\"ReadPreference\"===e._type&&e.isValid&&e.toObject)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.mode,u(e.tags,t));if(\"Binary\"==e._bsontype&&e.buffer&&e.value)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.value(!0),e.sub_type);if(\"Date\"===e.constructor.name||\"Function\"===e.constructor.name)return new e.constructor(+e);if(\"RegExp\"===e.constructor.name)return i(e);if(\"Buffer\"===e.constructor.name)return n.cloneBuffer(e)}return s(e)?n.cloneObject(e,t):e.valueOf?e.valueOf():void 0};n.cloneObject=function(e,t){var n,r,i,a,s,c=t&&t.retainKeyOrder,u=t&&t.minimize,p={};if(c)for(a in e)i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);else for(r=Object.keys(e),s=r.length;s--;)a=r[s],i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);return u?n&&p:p},n.cloneArray=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(o(e[r],t));return n},n.tick=function(e){return\"function\"==typeof e?function(){var t=arguments;c(function(){e.apply(this,t)})}:void 0},n.merge=function p(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])?p(e[r],t[r]):e[r]=t[r]},n.mergeClone=function l(e,t){for(var r,i=Object.keys(t),a=i.length;a--;)r=i[a],\"undefined\"==typeof e[r]?e[r]=o(t[r],{retainKeyOrder:1}):n.isObject(t[r])?l(e[r],t[r]):e[r]=o(t[r],{retainKeyOrder:1})};n.readPref=function(e){switch(e){case\"p\":e=\"primary\";break;case\"pp\":e=\"primaryPreferred\";break;case\"s\":e=\"secondary\";break;case\"sp\":e=\"secondaryPreferred\";break;case\"n\":e=\"nearest\"}return e};var a=Object.prototype.toString,s=(n.toString=function(e){return a.call(e)},n.isObject=function(e){return\"[object Object]\"==n.toString(e)});n.isArray=function(e){return Array.isArray(e)||\"object\"==typeof e&&\"[object Array]\"==n.toString(e)};n.keys=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.create=\"function\"==typeof Object.create?Object.create:r,n.inherits=function(e,t){e.prototype=n.create(t.prototype),e.prototype.constructor=e};var c=n.soon=\"function\"==typeof setImmediate?setImmediate:process.nextTick;n.cloneBuffer=function(e){var n=new t(e.length);return e.copy(n,0,0,e.length),n},n.isArgumentsObject=function(e){return\"[object Arguments]\"===Object.prototype.toString.call(e)}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"regexp-clone\":392}],315:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],316:[function(e,t,n){\"use strict\";function r(){this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u.isStatic?u(this.drainQueues):u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule.js\"),p=e(\"./queue.js\"),l=e(\"./util.js\");r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},r.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")}},l.hasDevTools?(u.isStatic&&(u=function(e){setTimeout(e,0)}),r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=new r,t.exports.firstLineError=s},{\"./queue.js\":342,\"./schedule.js\":345,\"./util.js\":352}],317:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},o=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,p),s._then(o,a,c._progress,c,p)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072===(131072&this._bitField)},e.bind=function(r,i){var o=n(r),a=new e(t);return a._setBoundTo(o),o instanceof e?o._then(function(){a._resolveCallback(i)},a._reject,a._progress,a,null):a._resolveCallback(i),a}}},{}],318:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise.js\")();o.noConflict=r,t.exports=o},{\"./promise.js\":337}],319:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util.js\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a;\n}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],320:[function(e,t,n){\"use strict\";t.exports=function(t){var n=e(\"./errors.js\"),r=e(\"./async.js\"),i=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{\"./async.js\":316,\"./errors.js\":327}],321:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){this._parent=e;var n=this._length=1+(void 0===e?0:e._length);x(this,t),n>32&&this.uncycle()}function n(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function r(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function i(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function o(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=h.test(r)||\"    (No stack trace)\"===r,o=i&&g(r);i&&!o&&(v&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function a(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||h.test(r))break}return n>0&&(t=t.slice(n)),t}function s(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e.toString();var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+c(t)+\">, no stack trace)\"}function c(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function u(e){var t=e.match(y);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}var p,l=e(\"./async.js\"),f=e(\"./util.js\"),d=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](main|debug|zalgo|instrumented)/,h=null,m=null,v=!1;f.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var a=t.parseStackAndMessage(e),s=a.message,c=[a.stack],u=this;void 0!==u;)c.push(o(u.stack.split(\"\\n\"))),u=u._parent;i(c),r(c),f.notEnumerableProp(e,\"stack\",n(s,c)),f.notEnumerableProp(e,\"__stackCleaned__\",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?a(e):[\"    (No stack trace)\"],{message:n,stack:o(t)}},t.formatAndLogError=function(e,t){if(\"undefined\"!=typeof console){var n;if(\"object\"==typeof e||\"function\"==typeof e){var r=e.stack;n=t+m(r,e)}else n=t+String(e);\"function\"==typeof p?p(n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(n)}},t.unhandledRejection=function(e){t.formatAndLogError(e,\"^--- With additional stack trace: \")},t.isSupported=function(){return\"function\"==typeof x},t.fireRejectionEvent=function(e,n,r,i){var o=!1;try{\"function\"==typeof n&&(o=!0,\"rejectionHandled\"===e?n(i):n(r,i))}catch(a){l.throwLater(a)}var s=!1;try{s=w(e,r,i)}catch(a){s=!0,l.throwLater(a)}var c=!1;if(b)try{c=b(e.toLowerCase(),{reason:r,promise:i})}catch(a){c=!0,l.throwLater(a)}s||o||c||\"unhandledRejection\"!==e||t.formatAndLogError(r,\"Unhandled rejection \")};var g=function(){return!1},y=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;t.setBounds=function(e,n){if(t.isSupported()){for(var r,i,o=e.stack.split(\"\\n\"),a=n.stack.split(\"\\n\"),s=-1,c=-1,p=0;p<o.length;++p){var l=u(o[p]);if(l){r=l.fileName,s=l.line;break}}for(var p=0;p<a.length;++p){var l=u(a[p]);if(l){i=l.fileName,c=l.line;break}}0>s||0>c||!r||!i||r!==i||s>=c||(g=function(e){if(d.test(e))return!0;var t=u(e);return!!(t&&t.fileName===r&&s<=t.line&&t.line<=c)})}};var b,x=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():s(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,h=e,m=t;var n=Error.captureStackTrace;return g=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return h=/@/,m=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(m=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?s(t):t.toString()},null):(h=e,m=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}([]),w=function(){if(f.isNode)return function(e,t,n){return\"rejectionHandled\"===e?process.emit(e,n):process.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent(\"test\");e=n instanceof CustomEvent}catch(r){}if(!e)try{var i=document.createEvent(\"CustomEvent\");i.initCustomEvent(\"testingtheevent\",!1,!0,{}),self.dispatchEvent(i)}catch(r){t=!1}t&&(b=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent(\"CustomEvent\"),r.initCustomEvent(t,!1,!0,n)),r?!self.dispatchEvent(r):!1});var o={};return o.unhandledRejection=\"onunhandledRejection\".toLowerCase(),o.rejectionHandled=\"onrejectionHandled\".toLowerCase(),function(e,t,n){var r=o[e],i=self[r];return i?(\"rejectionHandled\"===e?i.call(self,n):i.call(self,t,n),!0):!1}}();return\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(p=function(e){console.warn(e)},f.isNode&&process.stderr.isTTY?p=function(e){process.stderr.write(\"\u001b[31m\"+e+\"\u001b[39m\\n\")}:f.isNode||\"string\"!=typeof(new Error).stack||(p=function(e){console.warn(\"%c\"+e,\"color: red\")})),t}},{\"./async.js\":316,\"./util.js\":352}],322:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t,n){this._instances=e,this._callback=t,this._promise=n}function r(e,t){var n={},r=a(e).call(n,t);if(r===s)return r;var i=c(n);return i.length?(s.e=new u(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"),s):r}var i=e(\"./util.js\"),o=e(\"./errors.js\"),a=i.tryCatch,s=i.errorObj,c=e(\"./es5.js\").keys,u=o.TypeError;return n.prototype.doFilter=function(e){for(var n=this._callback,i=this._promise,o=i._boundValue(),c=0,u=this._instances.length;u>c;++c){var p=this._instances[c],l=p===Error||null!=p&&p.prototype instanceof Error;if(l&&e instanceof p){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}if(\"function\"==typeof p&&!l){var d=r(p,e);if(d===s){e=s.e;break}if(d){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}}}return t.e=e,t},n}},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],323:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){function r(){this._trace=new t(o())}function i(){return n()?new r:void 0}function o(){var e=a.length-1;return e>=0?a[e]:void 0}var a=[];return r.prototype._pushContext=function(){n()&&void 0!==this._trace&&a.push(this._trace)},r.prototype._popContext=function(){n()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=o,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,i}},{}],324:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r,i,o=t._getDomain,a=e(\"./async.js\"),s=e(\"./errors.js\").Warning,c=e(\"./util.js\"),u=c.canAttachTrace,p=c.isNode&&(!!process.env.BLUEBIRD_DEBUG||\"development\"===process.env.NODE_ENV);return c.isNode&&0==process.env.BLUEBIRD_DEBUG&&(p=!1),p&&a.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0===(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),a.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent(\"rejectionHandled\",r,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent(\"unhandledRejection\",i,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return p&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(p&&u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);c.notEnumerableProp(e,\"stack\",i.message+\"\\n\"+i.stack.join(\"\\n\")),c.notEnumerableProp(e,\"__stackCleaned__\",!0)}}},t.prototype._warn=function(e){var t=new s(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+\"\\n\"+i.stack.join(\"\\n\")}n.formatAndLogError(t,\"\")},t.onPossiblyUnhandledRejection=function(e){var t=o();i=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(a.haveItemsQueued()&&p===!1)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/DT1qyG\\n\");p=n.isSupported(),p&&a.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return p&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},p=!1),function(){return p}}},{\"./async.js\":316,\"./errors.js\":327,\"./util.js\":352}],325:[function(e,t,n){\"use strict\";var r=e(\"./util.js\"),i=r.isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},r=function(){},o=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return void 0===n?this.then(r):i(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return void 0===e?this.then(o):i(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],326:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],327:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5.js\"),c=s.freeze,u=e(\"./util.js\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),l(Error,\"__BluebirdErrorTypes__\",x)),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5.js\":328,\"./util.js\":352}],328:[function(e,t,n){arguments[4][27][0].apply(n,arguments)},{dup:27}],329:[function(e,t,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],330:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(){return this}function o(){throw this}function a(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,n){var r;return r=f(t)?n?a(t):s(t):n?i:o,e._then(r,d,void 0,t,void 0)}function u(e){var i=this.promise,o=this.handler,a=i._isBound()?o.call(i._boundValue()):o();if(void 0!==a){var s=r(a,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(n.e=e,n):e}function p(e){var n=this.promise,i=this.handler,o=n._isBound()?i.call(n._boundValue(),e):i(e);if(void 0!==o){var a=r(o,n);if(a instanceof t)return a=a._target(),c(a,e,!0)}return e}var l=e(\"./util.js\"),f=l.isPrimitive,d=l.thrower;t.prototype._passThroughHandler=function(e,t){if(\"function\"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:p,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{\"./util.js\":352}],331:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=l(n[o])(e);if(r._popContext(),a===p){r._pushContext();var s=t.reject(p.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function a(e,n,i,o){var a=this._promise=new t(r);a._captureStackTrace(),this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(f):f}var s=e(\"./errors.js\"),c=s.TypeError,u=e(\"./util.js\"),p=u.errorObj,l=u.tryCatch,f=[];a.prototype.promise=function(){return this._promise},a.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},a.prototype._continue=function(e){if(e===p)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(e.done===!0)this._promise._resolveCallback(n);else{var r=i(n,this._promise);if(!(r instanceof t)&&(r=o(r,this._yieldHandlers,this._promise),null===r))return void this._throw(new c(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/4Y4pDk\\n\\n\".replace(\"%s\",n)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));r._then(this._next,this._throw,void 0,this,null)}},a.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},a.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new c(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var n=Object(t).yieldHandler,r=a,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i);return o._generator=t,o._next(void 0),o.promise()}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new c(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");f.push(e)},t.spawn=function(e){if(\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var r=new a(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors.js\":327,\"./util.js\":352}],332:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util.js\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){for(var t=[],n=1;e>=n;++n)t.push(\"holder.p\"+n);return new Function(\"holder\",\"                                      \\n            'use strict';                                                    \\n            var callback = holder.fn;                                        \\n            return callback(values);                                         \\n            \".replace(/values/g,t.join(\", \")))},f=[],d=[void 0],h=1;5>=h;++h)f.push(p(h)),d.push(l(h));var m=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};m.prototype.callers=d,m.prototype.checkFulfillment=function(e){var t=this.now;t++;var n=this.total;if(t>=n){var r=this.callers[n];e._pushContext();var i=c(r)(this);e._popContext(),i===u?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],6>a&&s)){var c=new t(i);c._captureStackTrace();for(var u=new m(a,e),p=f,l=0;a>l;++l){var d=r(arguments[l],c);d instanceof t?(d=d._target(),d._isPending()?d._then(p[l],o,void 0,c,u):d._isFulfilled()?p[l].call(c,d._value(),u):c._reject(d._reason())):p[l].call(c,d,u)}return c}for(var h=arguments.length,v=new Array(h),g=0;h>g;++g)v[g]=arguments[g];e&&v.pop();var c=new n(v).promise();return void 0!==e?c.spread(e):c}}},{\"./util.js\":352}],333:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:m,p.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,n,r){var i=\"object\"==typeof n&&null!==n?n.concurrency:0;return i=\"number\"==typeof i&&isFinite(i)&&i>=1?i:0,new a(e,t,i,r)}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj,h={},m=[];l.inherits(a,n),a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===h){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var p=f(c).call(u,e,n,o);if(this._promise._popContext(),p===d)return this._reject(p.e);var l=i(p,this._promise);if(l instanceof t){if(l=l._target(),l._isPending())return s>=1&&this._inFlight++,r[n]=h,l._proxyPromiseArray(this,n);if(!l._isFulfilled())return this._reject(l._reason());p=l._value()}r[n]=p}var m=++this._totalResolved;m>=o&&(null!==a?this._filter(r,a):this._resolve(r))},a.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return\"function\"!=typeof e?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(this,e,t,null).promise()},t.map=function(e,t,n,i){return\"function\"!=typeof t?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(e,t,n,i).promise()}}},{\"./async.js\":316,\"./util.js\":352}],334:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util.js\"),a=o.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e,r,s){if(\"function\"!=typeof e)return i(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var c=new t(n);c._captureStackTrace(),c._pushContext();var u=o.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{\"./util.js\":352}],335:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=n._target(),i=r._getCarriedStackTrace();i.cause=e,e=i}var o=s(t).call(n._boundValue(),e);o===c&&a.throwLater(o.e)}var o=e(\"./util.js\"),a=e(\"./async.js\"),s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./async.js\":316,\"./util.js\":352}],336:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r=e(\"./util.js\"),i=e(\"./async.js\"),o=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,i=e.handler,s=e.promise,c=e.receiver,u=o(i).call(c,n);if(u===a){if(null!=u.e&&\"StopProgressPropagation\"!==u.e.name){var p=r.canAttachTrace(u.e)?u.e:new Error(r.toString(u.e));s._attachExtraTrace(p),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),o=this._progress,a=0;r>a;a++){var s=this._progressHandlerAt(a),c=this._promiseAt(a);if(c instanceof t)\"function\"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(a),value:e}):i.invoke(o,c,e);else{var u=this._receiverAt(a);\"function\"==typeof s?s.call(u,e,c):u instanceof n&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{\"./async.js\":316,\"./util.js\":352}],337:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){if(\"function\"!=typeof e)throw new l(\"the promise constructor requires a resolver function\\n\\n    See http://goo.gl/EC22Yn\\n\");if(this.constructor!==t)throw new l(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/KsIlge\\n\");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==f&&this._resolveFromResolver(e)}function n(e){var n=new t(f);n._fulfillmentHandler0=e,n._rejectionHandler0=e,n._progressHandler0=e,n._promise0=e,n._receiver0=e,n._settledValue=e}var r,i=function(){return new l(\"circular promise resolution chain\\n\\n    See http://goo.gl/LhFpo0\\n\")},o=function(){return new t.PromiseInspection(this._target())},a=function(e){return t.reject(new l(e))},s=e(\"./util.js\");r=s.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(t,\"_getDomain\",r);var c={},u=e(\"./async.js\"),p=e(\"./errors.js\"),l=t.TypeError=p.TypeError;t.RangeError=p.RangeError,t.CancellationError=p.CancellationError,t.TimeoutError=p.TimeoutError,t.OperationalError=p.OperationalError,t.RejectionError=p.OperationalError,t.AggregateError=p.AggregateError;var f=function(){},d={},h={e:null},m=e(\"./thenables.js\")(t,f),v=e(\"./promise_array.js\")(t,f,m,a),g=e(\"./captured_trace.js\")(),y=e(\"./debuggability.js\")(t,g),b=e(\"./context.js\")(t,g,y),x=e(\"./catch_filter.js\")(h),w=e(\"./promise_resolver.js\"),_=w._nodebackForPromise,k=s.errorObj,j=s.tryCatch;return t.prototype.toString=function(){return\"[object Promise]\"},t.prototype.caught=t.prototype[\"catch\"]=function(e){var n=arguments.length;if(n>1){var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var a=arguments[r];if(\"function\"!=typeof a)return t.reject(new l(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"));i[o++]=a}i.length=o,e=arguments[r];var s=new x(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},t.prototype.reflect=function(){return this._then(o,o,void 0,this,void 0)},t.prototype.then=function(e,t,n){if(y()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var r=\".then() only accepts functions but was passed: \"+s.classString(e);arguments.length>1&&(r+=\", \"+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},t.prototype.done=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);r._setIsFinal()},t.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,d,void 0)},t.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},t.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},t.prototype.all=function(){return new v(this).promise()},t.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},t.is=function(e){return e instanceof t},t.fromNode=function(e){var n=new t(f),r=j(e)(_(n));return r===k&&n._rejectCallback(r.e,!0,!0),n},t.all=function(e){return new v(e).promise()},t.defer=t.pending=function(){var e=new t(f);return new w(e)},t.cast=function(e){var n=m(e);if(!(n instanceof t)){var r=n;n=new t(f),n._fulfillUnchecked(r)}return n},t.resolve=t.fulfilled=t.cast,t.reject=t.rejected=function(e){var n=new t(f);return n._captureStackTrace(),n._rejectCallback(e,!0),n},t.setScheduler=function(e){if(\"function\"!=typeof e)throw new l(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var t=u._schedule;return u._schedule=e,t},t.prototype._then=function(e,n,i,o,a){var s=void 0!==a,c=s?a:new t(f);s||(c._propagateFrom(this,5),c._captureStackTrace());var p=this._target();p!==this&&(void 0===o&&(o=this._boundTo),s||c._setIsMigrated());var l=p._addCallbacks(e,n,i,c,o,r());return p._isResolved()&&!p._isSettlePromisesQueued()&&u.invoke(p._settlePromiseAtPostResolution,p,l),c},t.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},t.prototype._length=function(){return 131071&this._bitField},t.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},t.prototype._isFollowing=function(){return 536870912===(536870912&this._bitField)},t.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},t.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},t.prototype._setRejected=function(){this._bitField=134217728|this._bitField},t.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},t.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},t.prototype._isFinal=function(){return(33554432&this._bitField)>0},t.prototype._cancellable=function(){return(67108864&this._bitField)>0},t.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},t.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},t.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},t.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},t.prototype._isMigrated=function(){return(4194304&this._bitField)>0},t.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},t.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},t.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},t.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},t.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e},t.prototype._migrateCallbacks=function(e,n){var r=e._fulfillmentHandlerAt(n),i=e._rejectionHandlerAt(n),o=e._progressHandlerAt(n),a=e._promiseAt(n),s=e._receiverAt(n);a instanceof t&&a._setIsMigrated(),void 0===s&&(s=c),this._addCallbacks(r,i,o,a,s,null)},t.prototype._addCallbacks=function(e,t,n,r,i,o){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==i&&(this._receiver0=i),\"function\"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===o?e:o.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===o?t:o.bind(t)),\"function\"==typeof n&&(this._progressHandler0=null===o?n:o.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=i,\"function\"==typeof e&&(this[s+0]=null===o?e:o.bind(e)),\"function\"==typeof t&&(this[s+1]=null===o?t:o.bind(t)),\"function\"==typeof n&&(this[s+2]=null===o?n:o.bind(n))}return this._setLength(a+1),a},t.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},t.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},t.prototype._resolveCallback=function(e,n){if(!this._isFollowingOrFulfilledOrRejected()){\nif(e===this)return this._rejectCallback(i(),!1,!0);var r=m(e,this);if(!(r instanceof t))return this._fulfill(e);var o=1|(n?4:0);this._propagateFrom(r,o);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;s>c;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},t.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),i=r===e;this._attachExtraTrace(r,t?i:!1),this._reject(e,i?void 0:r)},t.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=j(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,n),t=null)});n=!1,this._popContext(),void 0!==r&&r===k&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},t.prototype._settlePromiseFromHandler=function(e,t,n,r){if(!r._isRejected()){r._pushContext();var o;if(o=t!==d||this._isRejected()?j(e).call(t,n):j(e).apply(this._boundValue(),n),r._popContext(),o===k||o===r||o===h){var a=o===r?i():o.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(o)}},t.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},t.prototype._followee=function(){return this._rejectionHandler0},t.prototype._setFollowee=function(e){this._rejectionHandler0=e},t.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},t.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},t.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},t.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},t.prototype._settlePromiseAt=function(e){var n=this._promiseAt(e),r=n instanceof t;if(r&&n._isMigrated())return n._unsetIsMigrated(),u.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,a=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),\"function\"==typeof i?r?this._settlePromiseFromHandler(i,s,a,n):i.call(s,a,n):s instanceof v?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(a,n):s._promiseRejected(a,n)):r&&(this._isFulfilled()?n._fulfill(a):n._reject(a,o)),e>=4&&4===(31&e)&&u.invokeLater(this._setLength,this,0)},t.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},t.prototype._isSettlePromisesQueued=function(){return-1073741824===(-1073741824&this._bitField)},t.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},t.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},t.prototype._queueSettlePromises=function(){u.settlePromises(this),this._setSettlePromisesQueued()},t.prototype._fulfillUnchecked=function(e){if(e===this){var t=i();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},t.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},t.prototype._rejectUnchecked=function(e,t){if(e===this){var n=i();return this._attachExtraTrace(n),this._rejectUnchecked(n)}return this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?void u.throwLater(function(e){throw\"stack\"in e&&u.invokeFirst(g.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),void(this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled()))},t.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;e>t;t++)this._settlePromiseAt(t)},s.notEnumerableProp(t,\"_makeSelfResolutionError\",i),e(\"./progress.js\")(t,v),e(\"./method.js\")(t,f,m,a),e(\"./bind.js\")(t,f,m),e(\"./finally.js\")(t,h,m),e(\"./direct_resolve.js\")(t),e(\"./synchronous_inspection.js\")(t),e(\"./join.js\")(t,v,m,f),t.Promise=t,e(\"./map.js\")(t,v,a,m,f),e(\"./cancel.js\")(t),e(\"./using.js\")(t,a,m,b),e(\"./generators.js\")(t,a,f,m),e(\"./nodeify.js\")(t),e(\"./call_get.js\")(t),e(\"./props.js\")(t,v,m,a),e(\"./race.js\")(t,f,m,a),e(\"./reduce.js\")(t,v,a,m,f),e(\"./settle.js\")(t,v),e(\"./some.js\")(t,v,a),e(\"./promisify.js\")(t,f),e(\"./any.js\")(t),e(\"./each.js\")(t,f),e(\"./timers.js\")(t,f),e(\"./filter.js\")(t,f),s.toFastProperties(t),s.toFastProperties(t.prototype),n({a:1}),n({b:2}),n({c:3}),n(1),n(function(){}),n(void 0),n(!1),n(new t(f)),g.setBounds(u.firstLineError,s.lastLineError),t}},{\"./any.js\":315,\"./async.js\":316,\"./bind.js\":317,\"./call_get.js\":319,\"./cancel.js\":320,\"./captured_trace.js\":321,\"./catch_filter.js\":322,\"./context.js\":323,\"./debuggability.js\":324,\"./direct_resolve.js\":325,\"./each.js\":326,\"./errors.js\":327,\"./filter.js\":329,\"./finally.js\":330,\"./generators.js\":331,\"./join.js\":332,\"./map.js\":333,\"./method.js\":334,\"./nodeify.js\":335,\"./progress.js\":336,\"./promise_array.js\":338,\"./promise_resolver.js\":339,\"./promisify.js\":340,\"./props.js\":341,\"./race.js\":343,\"./reduce.js\":344,\"./settle.js\":346,\"./some.js\":347,\"./synchronous_inspection.js\":348,\"./thenables.js\":349,\"./timers.js\":350,\"./using.js\":351,\"./util.js\":352}],338:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){switch(e){case-2:return[];case-3:return{}}}function a(e){var r,i=this._promise=new t(n);e instanceof t&&(r=e,i._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e(\"./util.js\"),c=s.isArray;return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function u(e,n){var a=r(this._values,this._promise);if(a instanceof t){if(a=a._target(),this._values=a,!a._isFulfilled())return a._isPending()?void a._then(u,this._reject,void 0,this,n):void this._reject(a._reason());if(a=a._value(),!c(a)){var s=new t.TypeError(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");return void this.__hardReject__(s)}}else if(!c(a))return void this._promise._reject(i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\")._reason());if(0===a.length)return void(-5===n?this._resolveEmptyArray():this._resolve(o(n)));var p=this.getActualLength(a.length);this._length=p,this._values=this.shouldCopyValues()?new Array(p):this._values;for(var l=this._promise,f=0;p>f;++f){var d=this._isResolved(),h=r(a[f],l);h instanceof t?(h=h._target(),d?h._ignoreRejections():h._isPending()?h._proxyPromiseArray(this,f):h._isFulfilled()?this._promiseFulfilled(h._value(),f):this._promiseRejected(h._reason(),f)):d||this._promiseFulfilled(h,f)}},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{\"./util.js\":352}],339:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&d.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new l(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=d.keys(e),i=0;i<n.length;++i){var o=n[i];h.test(o)||(t[o]=e[o])}return t}return s.markAsOriginatingFromRejection(e),e}function o(e){return function(t,n){if(null!==e){if(t){var r=i(c(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;o>s;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}var a,s=e(\"./util.js\"),c=s.maybeWrapAsError,u=e(\"./errors.js\"),p=u.TimeoutError,l=u.OperationalError,f=s.haveGetters,d=e(\"./es5.js\"),h=/^(?:name|message|stack|cause)$/;if(a=f?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=o(e),this.callback=this.asCallback},f){var m={get:function(){return o(this.promise)}};d.defineProperty(a.prototype,\"asCallback\",m),d.defineProperty(a.prototype,\"callback\",m)}a._nodebackForPromise=o,a.prototype.toString=function(){return\"[object PromiseResolver]\"},a.prototype.resolve=a.prototype.fulfill=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._resolveCallback(e)},a.prototype.reject=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._rejectCallback(e)},a.prototype.progress=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._progress(e)},a.prototype.cancel=function(e){this.promise.cancel(e)},a.prototype.timeout=function(){this.reject(new p(\"timeout\"))},a.prototype.isResolved=function(){return this.promise.isResolved()},a.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=a},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],340:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/iWrZbw\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o){function a(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof c&&this!==s?this[c]:e,u=h(o);try{a.apply(i,m(arguments,u))}catch(p){o._rejectCallback(v(p),!0,!0)}return o}var s=function(){return this}(),c=e;return\"string\"==typeof c&&(e=o),d.notEnumerableProp(a,\"__isPromisified__\",!0),a}function u(e,t,n,r){for(var i=new RegExp(j(t)+\"$\"),o=s(e,t,i,n),a=0,c=o.length;c>a;a+=2){var u=o[a],p=o[a+1],l=u+t;if(r===C)e[l]=C(u,f,u,p,t);else{var h=r(p,function(){return C(u,f,u,p,t)});d.notEnumerableProp(h,\"__isPromisified__\",!0),e[l]=h}}return d.toFastProperties(e),e}function p(e,t){return C(e,t,void 0,e)}var l,f={},d=e(\"./util.js\"),h=e(\"./promise_resolver.js\")._nodebackForPromise,m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o){function a(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=p?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function s(){for(var e=\"\",t=0;t<u.length;++t)e+=\"case \"+u[t]+\":\"+a(u[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",p?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var c=Math.max(0,A(o)-1),u=S(c),p=\"string\"==typeof e||r===f,l=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\";return new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",\"'use strict';                            \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise);                      \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n        \".replace(\"Parameters\",O(c)).replace(\"[CodeForSwitchCase]\",s()).replace(\"[GetFunctionCode]\",l))(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");if(i(e))return e;var n=p(e,arguments.length<2?f:t);return d.copyDescriptors(e,n,r),n},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/9ITlV0\\n\");t=Object(t);var n=t.suffix;\"string\"!=typeof n&&(n=b);var r=t.filter;\"function\"!=typeof r&&(r=k);var i=t.promisifier;if(\"function\"!=typeof i&&(i=C),!d.isIdentifier(n))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/8FZo5V\\n\");for(var o=d.inheritedDataKeys(e),a=0;a<o.length;++a){var s=e[o[a]];\"constructor\"!==o[a]&&d.isClass(s)&&(u(s.prototype,n,r,i),u(s,n,r,i))}return u(e,n,r,i)}}},{\"./errors\":327,\"./promise_resolver.js\":339,\"./util.js\":352}],341:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var t=u.keys(e),n=t.length,r=new Array(2*n),i=0;n>i;++i){var o=t[i];r[i]=e[o],r[i+n]=o}this.constructor$(r)}function a(e){var n,a=r(e);return c(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,4),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/OsFKC8\\n\")}var s=e(\"./util.js\"),c=s.isObject,u=e(\"./es5.js\");s.inherits(o,n),o.prototype._init=function(){this._init$(void 0,-3)},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){for(var r={},i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o];this._resolve(r)}},o.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5.js\":328,\"./util.js\":352}],342:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{dup:40}],343:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(!a(e))return i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");var u=new t(n);void 0!==o&&u._propagateFrom(o,5);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util.js\").isArray,s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util.js\":352}],344:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,n,r,a){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=a===o?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(r,this._promise),l=!1,f=c instanceof t;f&&(c=c._target(),c._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),l=!0)),f||this._zerothIsAccum||(this._gotAccum=!0);var d=u();this._callback=null===d?n:d.bind(n),this._accum=r,l||p.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var o=new a(e,t,n,i);return o.promise()}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj;l.inherits(a,n),a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},a.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var o,a=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),o=0;a>o;++o)p[o]=0;if(o=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,p[n]=0===o?1:2):-1===n?(this._accum=e,this._gotAccum=u=!0):0===o?p[n]=1:(p[n]=2,this._accum=e),u){for(var l,h=this._callback,m=this._promise._boundValue(),v=this._reducingIndex;a>v;++v)if(o=p[v],2!==o){if(1!==o)return;if(e=r[v],this._promise._pushContext(),c?(s.push(e),l=f(h).call(m,e,v,a)):l=f(h).call(m,this._accum,e,v,a),this._promise._popContext(),l===d)return this._reject(l.e);var g=i(l,this._promise);if(g instanceof t){if(g=g._target(),g._isPending())return p[v]=4,g._proxyPromiseArray(this,v);if(!g._isFulfilled())return this._reject(g._reason());l=g._value()}this._reducingIndex=v+1,this._accum=l}else this._reducingIndex=v+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,n,r){return c(e,t,n,r)}}},{\"./async.js\":316,\"./util.js\":352}],345:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")};if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=n.setImmediate,s=process.nextTick;r=i.isRecentNode?function(e){a.call(n,e)}:function(e){s.call(process,e)}}else\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?r=\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:(r=function(e){var t=document.createElement(\"div\"),n=new MutationObserver(e);return n.observe(t,{attributes:!0}),function(){t.classList.toggle(\"foo\")}},r.isStatic=!0);t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":352}],346:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){this.constructor$(e)}var i=t.PromiseInspection,o=e(\"./util.js\");o.inherits(r,n),r.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},r.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},r.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new r(e).promise()},t.prototype.settle=function(){return new r(this).promise()}}},{\"./util.js\":352}],347:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/1wAmHx\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util.js\"),s=e(\"./errors.js\").RangeError,c=e(\"./errors.js\").AggregateError,u=a.isArray;a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors.js\":327,\"./util.js\":352}],348:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0===(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],349:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(u(e)){if(e instanceof t)return e;if(o(e)){var p=new t(n);return e._then(p._fulfillUnchecked,p._rejectUncheckedCheckError,p._progressUnchecked,p,null),p}var l=s.tryCatch(i)(e);if(l===c){r&&r._pushContext();var p=t.reject(l.e);return r&&r._popContext(),p}if(\"function\"==typeof l)return a(e,l,r)}return e}function i(e){return e.then}function o(e){return p.call(e,\"_promise0\")}function a(e,r,i){function o(e){p&&(p._resolveCallback(e),p=null)}function a(e){p&&(p._rejectCallback(e,f,!0),p=null)}function u(e){p&&\"function\"==typeof p._progress&&p._progress(e)}var p=new t(n),l=p;i&&i._pushContext(),p._captureStackTrace(),i&&i._popContext();var f=!0,d=s.tryCatch(r).call(e,o,a,u);return f=!1,p&&d===c&&(p._rejectCallback(d.e,!0,!0),p=null),l}var s=e(\"./util.js\"),c=s.errorObj,u=s.isObject,p={}.hasOwnProperty;return r}},{\"./util.js\":352}],350:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var o=e(\"./util.js\"),a=t.TimeoutError,s=function(e,t){if(e.isPending()){var n;!o.isPrimitive(t)&&t instanceof Error?n=t:(\"string\"!=typeof t&&(t=\"operation timed out\"),n=new a(t)),o.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var i=new t(n);return setTimeout(function(){i._fulfill()},r),i}return r=+r,t.resolve(e)._then(c,null,null,r,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var o=setTimeout(function(){s(n,t)},e);return n._then(r,i,void 0,o,void 0)}}},{\"./util.js\":352}],351:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var n=e.length,r=0;n>r;++r){var i=e[r];if(i.isRejected())return t.reject(i.error());e[r]=i._settledValue}return e}function a(e){setTimeout(function(){throw e},0)}function s(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,n){function i(){if(o>=c)return u.resolve();var p=s(e[o++]);if(p instanceof t&&p._isDisposable()){try{p=r(p._getDisposer().tryDispose(n),e.promise)}catch(l){return a(l)}if(p instanceof t)return p._then(i,a,null,null,null)}i()}var o=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new v;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function p(e){var t=new v;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function f(e,t,n){this.constructor$(e,t,n)}function d(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var h=e(\"./errors.js\").TypeError,m=e(\"./util.js\").inherits,v=t.PromiseInspection;l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},m(f,l),f.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var a,s=!0;2===e&&Array.isArray(arguments[0])?(a=arguments[0],e=a.length,s=!1):(a=arguments,e--);for(var c=new Array(e),f=0;e>f;++f){var h=a[f];if(l.isDisposer(h)){var m=h;h=h.promise(),h._setDisposable(m)}else{var v=r(h);v instanceof t&&(h=v._then(d,null,null,{resources:c,index:f},void 0))}c[f]=h}var g=t.settle(c).then(o).then(function(e){g._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{g._popContext()}return t})._then(u,p,void 0,c,void 0);return c.promise=g,g},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new f(e,this,i());throw new h}}},{\"./errors.js\":327,\"./util.js\":352}],352:[function(e,t,n){\"use strict\";function r(){try{var e=E;return E=null,e.apply(this,arguments)}catch(t){return S.e=t,S}}function i(e){return E=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return!o(e)}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!_.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return _.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=_.names(e.prototype),n=_.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=C.test(e+\"\")&&_.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return T.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){try{p(e,\"isOperational\",!0)}catch(t){}}function y(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function b(e){return e instanceof Error&&_.propertyIsWritable(e,\"stack\")}function x(e){return{}.toString.call(e)}\nfunction w(e,t,n){for(var r=_.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{_.defineProperty(t,o,_.getDescriptor(e,o))}catch(a){}}}var _=e(\"./es5.js\"),k=\"undefined\"==typeof navigator,j=function(){try{var e={};return _.defineProperty(e,\"f\",{get:function(){return 3}}),3===e.f}catch(t){return!1}}(),S={e:{}},E,O=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},A=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(_.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=_.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),C=/this\\s*\\.\\s*\\S+\\s*=/,T=/^[a-z$_][a-z$_0-9]*$/i,I=function(){return\"stack\"in new Error?function(e){return b(e)?e:new Error(v(e))}:function(e){if(b(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),P={isClass:f,isIdentifier:h,inheritedDataKeys:A,getDataPropertyOrDefault:u,thrower:l,isArray:_.isArray,haveGetters:j,notEnumerableProp:p,isPrimitive:o,isObject:a,canEvaluate:k,errorObj:S,tryCatch:i,inherits:O,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:b,ensureErrorObject:I,originatesFromRejection:y,markAsOriginatingFromRejection:g,classString:x,copyDescriptors:w,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:\"undefined\"!=typeof process&&\"[object process]\"===x(process).toLowerCase()};P.isRecentNode=P.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),P.isNode&&P.toFastProperties(process);try{throw new Error}catch(F){P.lastLineError=F}t.exports=P},{\"./es5.js\":328}],353:[function(e,t,n){t.exports=n=e(\"./lib/sliced\")},{\"./lib/sliced\":354}],354:[function(e,t,n){t.exports=function(e,t,n){var r=[],i=e.length;if(0===i)return r;var o=0>t?Math.max(0,t+i):t||0;for(void 0!==n&&(i=0>n?n+i:n);i-- >o;)r[i-o]=e[i];return r}},{}],355:[function(e,t,n){function r(e){if(e=\"\"+e,!(e.length>1e4)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||\"ms\").toLowerCase();switch(r){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return n*l;case\"days\":case\"day\":case\"d\":return n*p;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*u;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*c;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n}}}}function i(e){return e>=p?Math.round(e/p)+\"d\":e>=u?Math.round(e/u)+\"h\":e>=c?Math.round(e/c)+\"m\":e>=s?Math.round(e/s)+\"s\":e+\"ms\"}function o(e){return a(e,p,\"day\")||a(e,u,\"hour\")||a(e,c,\"minute\")||a(e,s,\"second\")||e+\" ms\"}function a(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}var s=1e3,c=60*s,u=60*c,p=24*u,l=365.25*p;t.exports=function(e,t){return t=t||{},\"string\"==typeof e?r(e):t[\"long\"]?o(e):i(e)}},{}],356:[function(e,t,n){function r(e){return this instanceof r?void(this.request=e):new r(e)}var i=e(\"./lib/charset\"),o=e(\"./lib/encoding\"),a=e(\"./lib/language\"),s=e(\"./lib/mediaType\");t.exports=r,r.Negotiator=r,r.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},r.prototype.charsets=function(e){return i(this.request.headers[\"accept-charset\"],e)},r.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},r.prototype.encodings=function(e){return o(this.request.headers[\"accept-encoding\"],e)},r.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},r.prototype.languages=function(e){return a(this.request.headers[\"accept-language\"],e)},r.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},r.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},r.prototype.preferredCharset=r.prototype.charset,r.prototype.preferredCharsets=r.prototype.charsets,r.prototype.preferredEncoding=r.prototype.encoding,r.prototype.preferredEncodings=r.prototype.encodings,r.prototype.preferredLanguage=r.prototype.language,r.prototype.preferredLanguages=r.prototype.languages,r.prototype.preferredMediaType=r.prototype.mediaType,r.prototype.preferredMediaTypes=r.prototype.mediaTypes},{\"./lib/charset\":357,\"./lib/encoding\":358,\"./lib/language\":359,\"./lib/mediaType\":360}],357:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{charset:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.charset});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredCharsets=s},{}],358:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=!1,r=1,o=0,s=0;o<t.length;o++){var c=i(t[o].trim(),o);c&&(t[s++]=c,n=n||a(\"identity\",c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:\"identity\",q:r,i:o}),t.length=s,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{encoding:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.encoding)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.encoding});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredEncodings=s},{}],359:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)(?:-(\\S+?))?\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=n[2],o=r;i&&(o+=\"-\"+i);var a=1;if(n[3])for(var s=n[3].split(\";\"),t=0;t<s.length;t++){var c=s[t].split(\"=\");\"q\"===c[0]&&(a=parseFloat(c[1]))}return{prefix:r,suffix:i,q:a,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e);if(!r)return null;var o=0;if(t.full.toLowerCase()===r.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())o|=1;else if(\"*\"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredLanguages=s},{}],360:[function(e,t,n){function r(e){for(var t=l(e),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/\\s*(\\S+?)\\/([^;\\s]+)\\s*(?:;(.*))?/);if(!n)return null;var r=n[1],i=n[2],o=\"\"+r+\"/\"+i,a={},s=1;return n[3]&&(a=n[3].split(\";\").map(function(e){return e.trim().split(\"=\")}).reduce(function(e,t){var n=t[0].toLowerCase(),r=t[1];return e[n]=r&&'\"'===r[0]&&'\"'===r[r.length-1]?r.substr(1,r.length-2):r,e},a),null!=a.q&&(s=parseFloat(a.q),delete a.q)),{type:r,subtype:i,params:a,q:s,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e),o=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())o|=4;else if(\"*\"!=t.type)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())o|=2;else if(\"*\"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return\"*\"==t.params[e]||(t.params[e]||\"\").toLowerCase()==(r.params[e]||\"\").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*/*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}function p(e){for(var t=0,n=0;-1!==(n=e.indexOf('\"',n));)t++,n++;return t}function l(e){for(var t=e.split(\",\"),n=1,r=0;n<t.length;n++)p(t[r])%2==0?t[++r]=t[n]:t[r]+=\",\"+t[n];return t.length=r+1,t}t.exports=s,s.preferredMediaTypes=s},{}],361:[function(e,t,n){(function(n){!function(r){\"use strict\";function i(){var e=r.crypto||r.msCrypto;if(!p&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=p=function(){return e.getRandomValues(t),t},p()}catch(n){}if(!p){var i=new Array(16);l=p=function(){for(var e,t=0;16>t;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},\"undefined\"!=typeof console&&console.warn&&console.warn(\"[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()\")}}function o(){if(\"function\"==typeof e)try{var t=e(\"crypto\").randomBytes;f=p=t&&function(){return t(16)},p()}catch(n){}}function a(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){16>i&&(t[r+i++]=g[e])});16>i;)t[r+i++]=0;return t}function s(e,t){var n=t||0,r=v;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}function c(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=null!=e.clockseq?e.clockseq:w,a=null!=e.msecs?e.msecs:(new Date).getTime(),c=null!=e.nsecs?e.nsecs:k+1,u=a-_+(c-k)/1e4;if(0>u&&null==e.clockseq&&(o=o+1&16383),(0>u||a>_)&&null==e.nsecs&&(c=0),c>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");_=a,k=c,w=o,a+=122192928e5;var p=(1e4*(268435455&a)+c)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var l=a/4294967296*1e4&268435455;i[r++]=l>>>8&255,i[r++]=255&l,i[r++]=l>>>24&15|16,i[r++]=l>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=e.node||x,d=0;6>d;d++)i[r+d]=f[d];return t?t:s(i)}function u(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new m(16):null,e=null),e=e||{};var i=e.random||(e.rng||p)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;16>o;o++)t[r+o]=i[o];return t||s(i)}var p,l,f,d,h;r?i():o();for(var m=\"function\"==typeof n?n:Array,v=[],g={},y=0;256>y;y++)v[y]=(y+256).toString(16).substr(1),g[v[y]]=y;var b=p(),x=[1|b[0],b[1],b[2],b[3],b[4],b[5]],w=16383&(b[6]<<8|b[7]),_=0,k=0,j=u;j.v1=c,j.v4=u,j.parse=a,j.unparse=s,j.BufferClass=m,j._rng=p,j._mathRNG=l,j._nodeRNG=f,j._whatwgRNG=d,\"undefined\"!=typeof t&&t.exports?t.exports=j:\"function\"==typeof define&&define.amd?define(function(){return j}):(h=r.uuid,j.noConflict=function(){return r.uuid=h,j},r.uuid=j)}(\"undefined\"!=typeof window?window:null)}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0}],362:[function(e,t,n){function r(e,t){return d.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return d.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else if(\"object\"==typeof n)for(var o in n)r.push([t+\"[\"+o+\"]\",n[o]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t){var n=[e||\"\",t||\"\"].map(o).join(\"&\");return n}function f(e,t,n,r,i,o){var a,s=1;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;case\"PLAINTEXT\":a=l,s=4;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,s))}var d=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.plaintext=l,n.sign=f,n.rfc3986=o,n.generateBase=c},{crypto:void 0,querystring:void 0}],363:[function(e,t,n){\"use strict\";function r(e,t){return i(e)!==!1?(p(t,null,e),e):(a(e,t),e)}function i(e){var t=e.socket;return\"boolean\"==typeof e.finished?Boolean(e.finished||t&&!t.writable):\"boolean\"==typeof e.complete?Boolean(e.upgrade||!t||!t.readable||e.complete&&!e.readable):void 0}function o(e,t){function n(e){i.cancel(),o.cancel(),a=!0,t(e)}function r(t){e.removeListener(\"socket\",r),a||i===o&&(o=u([[t,\"error\",\"close\"]],n))}var i,o,a=!1;return i=o=u([[e,\"end\",\"finish\"]],n),e.socket?void r(e.socket):(e.on(\"socket\",r),void(void 0===e.socket&&c(e,r)))}function a(e,t){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=s(e),o(e,n)),n.queue.push(t)}function s(e){function t(n){if(e.__onFinished===t&&(e.__onFinished=null),t.queue){var r=t.queue;t.queue=null;for(var i=0;i<r.length;i++)r[i](n,e)}}return t.queue=[],t}function c(e,t){var n=e.assignSocket;\"function\"==typeof n&&(e.assignSocket=function(e){n.call(this,e),t(e)})}t.exports=r,t.exports.isFinished=i;var u=e(\"ee-first\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))}},{\"ee-first\":94}],364:[function(e,t,n){\"use strict\";function r(e){var t=e.url;if(void 0!==t){var n=e._parsedUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedUrl=n)}}function i(e){var t=e.originalUrl;if(\"string\"!=typeof t)return r(e);var n=e._parsedOriginalUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedOriginalUrl=n)}function o(e){var t=\"string\"==typeof e&&p.exec(e);if(t){var n=t[1],r=t[2]||null,i=void 0!==u?new u:{};return i.path=e,i.href=e,i.pathname=n,i.search=r,i.query=r&&r.substr(1),i}return c(e)}function a(e,t){return\"object\"==typeof t&&null!==t&&(void 0===u||t instanceof u)&&t._raw===e}var s=e(\"url\"),c=s.parse,u=s.Url,p=/^(\\/\\/?(?!\\/)[^\\?#\\s]*)(\\?[^#\\s]*)?$/;t.exports=r,t.exports.original=i},{url:void 0}],365:[function(e,t,n){var r=e(\"./strategy\");n=t.exports=r,n.Strategy=r},{\"./strategy\":366}],366:[function(e,t,n){function r(){}r.prototype.authenticate=function(e,t){throw new Error(\"Strategy#authenticate must be overridden by subclass\")},t.exports=r},{}],367:[function(e,t,n){function r(){this._key=\"passport\",this._strategies={},this._serializers=[],this._deserializers=[],this._infoTransformers=[],this._framework=null,this._userProperty=\"user\",this.init()}var i=e(\"./strategies/session\");r.prototype.init=function(){this.framework(e(\"./framework/connect\")()),this.use(new i)},r.prototype.use=function(e,t){if(t||(t=e,e=t.name),!e)throw new Error(\"Authentication strategies must have a name\");return this._strategies[e]=t,this},r.prototype.unuse=function(e){return delete this._strategies[e],this},r.prototype.framework=function(e){return this._framework=e,this},r.prototype.initialize=function(e){return e=e||{},this._userProperty=e.userProperty||\"user\",this._framework.initialize(this,e)},r.prototype.authenticate=function(e,t,n){return this._framework.authenticate(this,e,t,n)},r.prototype.authorize=function(e,t,n){t=t||{},t.assignProperty=\"account\";var r=this._framework.authorize||this._framework.authenticate;return r(this,e,t,n)},r.prototype.session=function(e){return this.authenticate(\"session\",e)},r.prototype.serializeUser=function(e,t,n){if(\"function\"==typeof e)return this._serializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._serializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s||0===s)return n(a,s);var u=i[e];if(!u)return n(new Error(\"Failed to serialize user into session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.deserializeUser=function(e,t,n){if(\"function\"==typeof e)return this._deserializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._deserializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);if(null===s||s===!1)return n(null,!1);var u=i[e];if(!u)return n(new Error(\"Failed to deserialize user out of session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.transformAuthInfo=function(e,t,n){if(\"function\"==typeof e)return this._infoTransformers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._infoTransformers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);var u=i[e];if(!u)return n(null,r);try{var p=u.length;if(1==p){var l=u(r);c(null,l)}else 3==p?u(t,r,c):u(r,c)}catch(f){return n(f)}}(0)},r.prototype._strategy=function(e){return this._strategies[e]},t.exports=r},{\"./framework/connect\":369,\"./strategies/session\":374}],368:[function(e,t,n){function r(e,t){Error.call(this),Error.captureStackTrace(this,arguments.callee),this.name=\"AuthenticationError\",this.message=e,this.status=t||401}r.prototype.__proto__=Error.prototype,t.exports=r},{}],369:[function(e,t,n){var r=e(\"../middleware/initialize\"),i=e(\"../middleware/authenticate\");n=t.exports=function(){return n.__monkeypatchNode(),{initialize:r,authenticate:i}},n.__monkeypatchNode=function(){var t=e(\"http\"),n=e(\"../http/request\");t.IncomingMessage.prototype.login=t.IncomingMessage.prototype.logIn=n.logIn,t.IncomingMessage.prototype.logout=t.IncomingMessage.prototype.logOut=n.logOut,t.IncomingMessage.prototype.isAuthenticated=n.isAuthenticated,t.IncomingMessage.prototype.isUnauthenticated=n.isUnauthenticated}},{\"../http/request\":370,\"../middleware/authenticate\":372,\"../middleware/initialize\":373,http:void 0}],370:[function(e,t,n){var r=n=t.exports={};r.login=r.logIn=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||{};var r=\"user\";this._passport&&this._passport.instance&&(r=this._passport.instance._userProperty||\"user\");var i=void 0===t.session?!0:t.session;if(this[r]=e,i){if(!this._passport)throw new Error(\"passport.initialize() middleware not in use\");if(\"function\"!=typeof n)throw new Error(\"req#login requires a callback function\");var o=this;this._passport.instance.serializeUser(e,this,function(e,t){return e?(o[r]=null,n(e)):(o._passport.session||(o._passport.session={}),o._passport.session.user=t,o.session||(o.session={}),o.session[o._passport.instance._key]=o._passport.session,void n())})}else n&&n()},r.logout=r.logOut=function(){var e=\"user\";this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),this[e]=null,this._passport&&this._passport.session&&delete this._passport.session.user},r.isAuthenticated=function(){var e=\"user\";return this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),!!this[e]},r.isUnauthenticated=function(){return!this.isAuthenticated()}},{}],371:[function(e,t,n){var r=e(\"./authenticator\"),i=e(\"./strategies/session\");n=t.exports=new r,n.Passport=n.Authenticator=r,n.Strategy=e(\"passport-strategy\"),n.strategies={},n.strategies.SessionStrategy=i},{\"./authenticator\":367,\"./strategies/session\":374,\"passport-strategy\":365}],372:[function(e,t,n){var r=e(\"http\"),i=e(\"../http/request\"),o=e(\"../errors/authenticationerror\");t.exports=function(t,n,a,s){\"function\"==typeof a&&(s=a,a={}),a=a||{};var c=!0;return Array.isArray(n)||(n=[n],c=!1),function(u,p,l){function f(){if(s){if(c){var e=d.map(function(e){return e.challenge}),t=d.map(function(e){return e.status});return s(null,!1,e,t)}return s(null,!1,d[0].challenge,d[0].status)}var n,i=d[0]||{},f=i.challenge||{};if(a.failureFlash){var h=a.failureFlash;\"string\"==typeof h&&(h={type:\"error\",message:h}),h.type=h.type||\"error\";var m=h.type||f.type||\"error\";n=h.message||f.message||f,\"string\"==typeof n&&u.flash(m,n)}if(a.failureMessage&&(n=a.failureMessage,\"boolean\"==typeof n&&(n=f.message||f),\"string\"==typeof n&&(u.session.messages=u.session.messages||[],u.session.messages.push(n))),a.failureRedirect)return p.redirect(a.failureRedirect);for(var v,g,y=[],b=0,x=d.length;x>b;b++)i=d[b],f=i.challenge,g=i.status,v=v||g,\"string\"==typeof f&&y.push(f);return p.statusCode=v||401,401==p.statusCode&&y.length&&p.setHeader(\"WWW-Authenticate\",y),a.failWithError?l(new o(r.STATUS_CODES[p.statusCode],v)):void p.end(r.STATUS_CODES[p.statusCode])}r.IncomingMessage.prototype.logIn&&r.IncomingMessage.prototype.logIn!==i.logIn&&e(\"../framework/connect\").__monkeypatchNode();var d=[];!function h(e){var r=n[e];if(!r)return f();var i=t._strategy(r);if(!i)return l(new Error('Unknown authentication strategy \"'+r+'\"'));var o=Object.create(i);o.success=function(e,n){if(s)return s(null,e,n);n=n||{};var r;if(a.successFlash){var i=a.successFlash;\"string\"==typeof i&&(i={type:\"success\",message:i}),i.type=i.type||\"success\";var o=i.type||n.type||\"success\";r=i.message||n.message||n,\"string\"==typeof r&&u.flash(o,r)}return a.successMessage&&(r=a.successMessage,\"boolean\"==typeof r&&(r=n.message||n),\"string\"==typeof r&&(u.session.messages=u.session.messages||[],u.session.messages.push(r))),a.assignProperty?(u[a.assignProperty]=e,l()):void u.logIn(e,a,function(e){function r(){if(a.successReturnToOrRedirect){var e=a.successReturnToOrRedirect;return u.session&&u.session.returnTo&&(e=u.session.returnTo,delete u.session.returnTo),p.redirect(e)}return a.successRedirect?p.redirect(a.successRedirect):void l()}return e?l(e):void(a.authInfo!==!1?t.transformAuthInfo(n,u,function(e,t){return e?l(e):(u.authInfo=t,void r())}):r())})},o.fail=function(t,n){\"number\"==typeof t&&(n=t,t=void 0),d.push({challenge:t,status:n}),h(e+1)},o.redirect=function(e,t){p.statusCode=t||302,p.setHeader(\"Location\",e),p.setHeader(\"Content-Length\",\"0\"),p.end()},o.pass=function(){l()},o.error=function(e){return s?s(e):void l(e)},o.authenticate(u,a)}(0)}}},{\"../errors/authenticationerror\":368,\"../framework/connect\":369,\"../http/request\":370,http:void 0}],373:[function(e,t,n){t.exports=function(e){return function(t,n,r){t._passport={},t._passport.instance=e,t.session&&t.session[e._key]&&(t._passport.session=t.session[e._key]),r()}}},{}],374:[function(e,t,n){function r(){a.call(this),this.name=\"session\"}var i=e(\"pause\"),o=e(\"util\"),a=e(\"passport-strategy\");o.inherits(r,a),r.prototype.authenticate=function(e,t){if(!e._passport)return this.error(new Error(\"passport.initialize() middleware not in use\"));t=t||{};var n,r=this;if(e._passport.session&&(n=e._passport.session.user),n||0===n){var o=t.pauseStream?i(e):null;e._passport.instance.deserializeUser(n,e,function(t,n){if(t)return r.error(t);if(!n)return delete e._passport.session.user,r.pass(),void(o&&o.resume());var i=e._passport.instance._userProperty||\"user\";e[i]=n,r.pass(),o&&o.resume()})}else r.pass()},t.exports=r},{\"passport-strategy\":365,pause:376,util:void 0}],375:[function(e,t,n){function r(e,t,n){n=n||{},t=t||[];var o,a=n.strict,s=n.end!==!1,c=n.sensitive?\"\":\"i\",u=0,p=t.length,l=0,f=0;if(e instanceof RegExp){for(;o=i.exec(e.source);)t.push({name:f++,optional:!1,offset:o.index});return e}if(Array.isArray(e))return e=e.map(function(e){return r(e,t,n).source}),new RegExp(\"(?:\"+e.join(\"|\")+\")\",c);for(e=(\"^\"+e+(a?\"\":\"/\"===e[e.length-1]?\"?\":\"/?\")).replace(/\\/\\(/g,\"/(?:\").replace(/([\\/\\.])/g,\"\\\\$1\").replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g,function(e,n,r,i,o,a,s,c){n=n||\"\",r=r||\"\",o=o||\"([^\\\\/\"+r+\"]+?)\",s=s||\"\",t.push({name:i,optional:!!s,offset:c+u});var p=\"\"+(s?\"\":n)+\"(?:\"+r+(s?n:\"\")+o+(a?\"((?:[\\\\/\"+r+\"].+?)?)\":\"\")+\")\"+s;return u+=p.length-e.length,p}).replace(/\\*/g,function(e,n){for(var r=t.length;r-- >p&&t[r].offset>n;)t[r].offset+=3;return\"(.*)\"});o=i.exec(e);){for(var d=0,h=o.index;\"\\\\\"===e.charAt(--h);)d++;d%2!==1&&((p+l===t.length||t[p+l].offset>o.index)&&t.splice(p+l,0,{name:f++,optional:!1,offset:o.index}),l++)}return e+=s?\"$\":\"/\"===e[e.length-1]?\"\":\"(?=\\\\/|$)\",new RegExp(e,c)}t.exports=r;var i=/\\((?!\\?)/g},{}],376:[function(e,t,n){t.exports=function(e){var t,n,r=[];return e.on(\"data\",t=function(e,t){r.push([\"data\",e,t])}),e.on(\"end\",n=function(e,t){r.push([\"end\",e,t])}),{end:function(){e.removeListener(\"data\",t),e.removeListener(\"end\",n)},resume:function(){this.end();for(var t=0,n=r.length;n>t;++t)e.emit.apply(e,r[t])}}}},{}],377:[function(e,t,n){\"use strict\";t.exports=\"function\"==typeof Promise?Promise:e(\"pinkie\")},{pinkie:378}],378:[function(e,t,n){(function(e){\"use strict\";function n(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],m=!1}function r(e,t){k.push([e,t]),m||(m=!0,_(n,0))}function i(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(i){r(i)}}function o(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if(\"function\"==typeof i){n=y;try{r=i(r)}catch(c){u(o,c)}}a(o,r)||(n===y&&s(o,r),n===b&&u(o,r))}function a(e,t){var n;try{if(e===t)throw new TypeError(\"A promises callback cannot return that same promise.\");if(t&&(\"function\"==typeof t||\"object\"==typeof t)){var r=t.then;if(\"function\"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?c(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(i){return n||u(e,i),!0}return!1}function s(e,t){e!==t&&a(e,t)||c(e,t)}function c(e,t){e._state===v&&(e._state=g,e._data=t,r(l,e))}function u(e,t){e._state===v&&(e._state=g,e._data=t,r(f,e))}function p(e){e._then=e._then.forEach(o)}function l(e){e._state=y,p(e)}function f(t){t._state=b,p(t),!t._handled&&w&&e.process.emit(\"unhandledRejection\",t._data,t)}function d(t){e.process.emit(\"rejectionHandled\",t)}function h(e){if(\"function\"!=typeof e)throw new TypeError(\"Promise resolver \"+e+\" is not a function\");if(this instanceof h==!1)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],i(e,this)}var m,v=\"pending\",g=\"settled\",y=\"fulfilled\",b=\"rejected\",x=function(){},w=\"undefined\"!=typeof e&&\"undefined\"!=typeof e.process&&\"function\"==typeof e.process.emit,_=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,k=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(x),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===b&&w&&r(d,this)),this._state===y||this._state===b?r(o,n):this._then.push(n),n.then},\"catch\":function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.all().\");return new h(function(t,n){function r(e){return a++,function(n){o[e]=n,--a||t(o)}}for(var i,o=[],a=0,s=0;s<e.length;s++)i=e[s],i&&\"function\"==typeof i.then?i.then(r(s),n):o[s]=i;a||t(o)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.race().\");return new h(function(t,n){for(var r,i=0;i<e.length;i++)r=e[i],r&&\"function\"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],379:[function(e,t,n){\"use strict\";function r(e){for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];process.nextTick(function(){e.apply(null,t)})}!process.version||0===process.version.indexOf(\"v0.\")||0===process.version.indexOf(\"v1.\")&&0!==process.version.indexOf(\"v1.8.\")?t.exports=r:t.exports=process.nextTick},{}],380:[function(e,t,n){\"use strict\";function r(e,t){var n=d(e);if(!t)return n;\"function\"!=typeof t&&(t=i(t));for(var r=0;r<n.length-1;r++)t(n[r],r)||(n.length=r+1);return n}function i(e){if(!e)throw new TypeError(\"argument is required\");var t=\"string\"==typeof e?[e]:e;if(!Array.isArray(t))throw new TypeError(\"unsupported trust argument\");for(var n=0;n<t.length;n++)e=t[n],y.hasOwnProperty(e)&&(e=y[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return a(o(t))}function o(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=s(e[n]);return t}function a(e){var t=e.length;return 0===t?p:1===t?f(e[0]):l(e)}function s(e){var t,n,r,i,o=e.lastIndexOf(\"/\");if(t=-1!==o?e.substring(0,o):e,!v(t))throw new TypeError(\"invalid IP address: \"+t);if(t=g(t),n=t.kind(),r=\"ipv6\"===n?128:32,i=-1!==o?e.substring(o+1,e.length):r,\"number\"!=typeof i&&(i=m.test(i)?parseInt(i,10):v(i)?c(i):0),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()&&(t=t.toIPv4Address(),i=r>=i?i-96:i),0>=i||i>r)throw new TypeError(\"invalid range on address: \"+e);return[t,i]}function c(e){var t,n,r=g(e);switch(r.kind()){case\"ipv4\":t=r.octets,n=8;break;case\"ipv6\":t=r.parts,n=16}for(var i,o=Math.pow(2,n)-1,a=0,s=0;s<t.length;s++){i=t[s]&o;{if(i!==o){for(;i;)i=i<<1&o,a+=1;break}a+=n}}return a}function u(e,t){if(!e)throw new TypeError(\"req argument is required\");if(!t)throw new TypeError(\"trust argument is required\");var n=r(e,t),i=n[n.length-1];return i}function p(){return!1}function l(e){return function(t){if(!v(t))return!1;for(var n,r,i,o,a,s,c=g(t),u=c.kind(),p=0;p<e.length;p++){if(r=e[p],i=r[0],o=i.kind(),a=r[1],s=c,u!==o){if(\"ipv6\"!==u||\"ipv4\"!==o||!c.isIPv4MappedAddress())continue;n=n||c.toIPv4Address(),s=n}if(s.match(i,a))return!0}return!1}}function f(e){var t=e[0],n=t.kind(),r=\"ipv4\"===n,i=e[1];return function(e){if(!v(e))return!1;var o=g(e),a=o.kind();return a===n?o.match(t,i):r&&\"ipv6\"===a&&o.isIPv4MappedAddress()?o.toIPv4Address().match(t,i):!1}}t.exports=u,t.exports.all=r,t.exports.compile=i;var d=e(\"forwarded\"),h=e(\"ipaddr.js\"),m=/^[0-9]+$/,v=h.isValid,g=h.parse,y={linklocal:[\"169.254.0.0/16\",\"fe80::/10\"],loopback:[\"127.0.0.1/8\",\"::1/128\"],uniquelocal:[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\",\"fc00::/7\"]}},{forwarded:119,\"ipaddr.js\":158}],381:[function(e,t,n){\"pseudomap\"===process.env.npm_package_name&&\"test\"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP=\"true\"),\"function\"!=typeof Map||process.env.TEST_PSEUDOMAP?t.exports=e(\"./pseudomap\"):t.exports=Map},{\"./pseudomap\":382}],382:[function(e,t,n){function r(e){if(!(this instanceof r))throw new TypeError(\"Constructor PseudoMap requires 'new'\");if(this.clear(),e)if(e instanceof r||\"function\"==typeof Map&&e instanceof Map)e.forEach(function(e,t){this.set(t,e)},this);else{if(!Array.isArray(e))throw new TypeError(\"invalid argument\");e.forEach(function(e){this.set(e[0],e[1])},this)}}function i(e,t){return e===t||e!==e&&t!==t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var n=0,r=\"_\"+t,o=r;c.call(e,o);o=r+n++)if(i(e[o].key,t))return e[o]}function s(e,t,n){for(var r=0,a=\"_\"+t,s=a;c.call(e,s);s=a+r++)if(i(e[s].key,t))return void(e[s].value=n);e.size++,e[s]=new o(t,n,s)}var c=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.forEach=function(e,t){\nt=t||this,Object.keys(this._data).forEach(function(n){\"size\"!==n&&e.call(t,this._data[n].value,this._data[n].key)},this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){s(this._data,e,t)},r.prototype[\"delete\"]=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,\"_data\",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,\"size\",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error(\"iterators are not implemented in this version\")}},{}],383:[function(e,t,n){\"use strict\";var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":384,\"./stringify\":385}],384:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<i.length;++o){var a=i[o],s=-1===a.indexOf(\"]=\")?a.indexOf(\"=\"):a.indexOf(\"]=\")+1;if(-1===s)n[r.decode(a)]=\"\",t.strictNullHandling&&(n[r.decode(a)]=null);else{var c=r.decode(a.slice(0,s)),u=r.decode(a.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(u):n[c]=u}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10);!isNaN(s)&&o!==a&&String(s)===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"):e,o=/^([^\\[\\]]*)/,a=/(\\[[^\\[\\]]*\\])/g,s=o.exec(r),c=[];if(s[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var u=0;null!==(s=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push(\"[\"+r.slice(s.index)+\"]\"),i.parseObject(c,t,n)}},t.exports=function(e,t){var n=t||{};if(n.delimiter=\"string\"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth=\"number\"==typeof n.depth?n.depth:i.depth,n.arrayLimit=\"number\"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.allowDots=\"boolean\"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects=\"boolean\"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes=\"boolean\"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit=\"number\"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling=\"boolean\"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"==typeof e?i.parseValues(e,n):e,a=n.plainObjects?Object.create(null):{},s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],p=i.parseKeys(u,o[u],n);a=r.merge(a,p,n)}return r.compact(a)}},{\"./utils\":386}],385:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},strictNullHandling:!1,skipNulls:!1,encode:!0};i.stringify=function(e,t,n,o,a,s,c,u){var p=e;if(\"function\"==typeof c)p=c(t,p);else if(r.isBuffer(p))p=String(p);else if(p instanceof Date)p=p.toISOString();else if(null===p){if(o)return s?r.encode(t):t;p=\"\"}if(\"string\"==typeof p||\"number\"==typeof p||\"boolean\"==typeof p)return s?[r.encode(t)+\"=\"+r.encode(p)]:[t+\"=\"+p];var l=[];if(\"undefined\"==typeof p)return l;var f;if(Array.isArray(c))f=c;else{var d=Object.keys(p);f=u?d.sort(u):d}for(var h=0;h<f.length;++h){var m=f[h];a&&null===p[m]||(l=Array.isArray(p)?l.concat(i.stringify(p[m],n(t,m),n,o,a,s,c)):l.concat(i.stringify(p[m],t+\"[\"+m+\"]\",n,o,a,s,c)))}return l},t.exports=function(e,t){var n,r,o=e,a=t||{},s=\"undefined\"==typeof a.delimiter?i.delimiter:a.delimiter,c=\"boolean\"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,u=\"boolean\"==typeof a.skipNulls?a.skipNulls:i.skipNulls,p=\"boolean\"==typeof a.encode?a.encode:i.encode,l=\"function\"==typeof a.sort?a.sort:null;\"function\"==typeof a.filter?(r=a.filter,o=r(\"\",o)):Array.isArray(a.filter)&&(n=r=a.filter);var f=[];if(\"object\"!=typeof o||null===o)return\"\";var d;d=a.arrayFormat in i.arrayPrefixGenerators?a.arrayFormat:\"indices\"in a?a.indices?\"indices\":\"repeat\":\"indices\";var h=i.arrayPrefixGenerators[d];n||(n=Object.keys(o)),l&&n.sort(l);for(var m=0;m<n.length;++m){var v=n[m];u&&null===o[v]||(f=f.concat(i.stringify(o[v],v,h,c,u,p,r,l)))}return f.join(s)}},{\"./utils\":386}],386:[function(e,t,n){\"use strict\";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]=\"%\"+((16>t?\"0\":\"\")+t.toString(16)).toUpperCase();return e}();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t){if(Array.isArray(e))e.push(t);else{if(\"object\"!=typeof e)return[e,t];e[t]=!0}return e}if(\"object\"!=typeof e)return[e].concat(t);var i=e;return Array.isArray(e)&&!Array.isArray(t)&&(i=n.arrayToObject(e,r)),Object.keys(t).reduce(function(e,i){var o=t[i];return Object.prototype.hasOwnProperty.call(e,i)?e[i]=n.merge(e[i],o,r):e[i]=o,e},i)},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;for(var t=\"string\"==typeof e?e:String(e),n=\"\",i=0;i<t.length;++i){var o=t.charCodeAt(i);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?n+=t.charAt(i):128>o?n+=r[o]:2048>o?n+=r[192|o>>6]+r[128|63&o]:55296>o||o>=57344?n+=r[224|o>>12]+r[128|o>>6&63]+r[128|63&o]:(i+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),n+=r[240|o>>18]+r[128|o>>12&63]+r[128|o>>6&63]+r[128|63&o])}return n},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;var r=t||[],i=r.indexOf(e);if(-1!==i)return r[i];if(r.push(e),Array.isArray(e)){for(var o=[],a=0;a<e.length;++a)\"undefined\"!=typeof e[a]&&o.push(e[a]);return o}for(var s=Object.keys(e),c=0;c<s.length;++c){var u=s[c];e[u]=n.compact(e[u],r)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],387:[function(e,t,n){\"use strict\";function r(e,t){var n=!0,r=t.indexOf(\"=\");if(-1==r)return-2;var i=t.slice(r+1).split(\",\").map(function(t){var t=t.split(\"-\"),r=parseInt(t[0],10),i=parseInt(t[1],10);return isNaN(r)?(r=e-i,i=e-1):isNaN(i)&&(i=e-1),i>e-1&&(i=e-1),(isNaN(r)||isNaN(i)||r>i||0>r)&&(n=!1),{start:r,end:i}});return i.type=t.slice(0,r),n?i:-1}t.exports=r},{}],388:[function(e,t,n){t.exports=e(\"./lib/_stream_duplex.js\")},{\"./lib/_stream_duplex.js\":389}],389:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(u.call(this,e),p.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e(\"process-nextick-args\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\");var u=e(\"./_stream_readable\"),p=e(\"./_stream_writable\");c.inherits(r,u);for(var l=a(p.prototype),f=0;f<l.length;f++){var d=l[f];r.prototype[d]||(r.prototype[d]=p.prototype[d])}},{\"./_stream_readable\":390,\"./_stream_writable\":391,\"core-util-is\":77,inherits:157,\"process-nextick-args\":379}],390:[function(e,t,n){\"use strict\";function r(t,n){M=M||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof M&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=e(\"string_decoder/\").StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function i(t){return M=M||e(\"./_stream_duplex\"),this instanceof i?(this._readableState=new r(t,this),this.readable=!0,t&&\"function\"==typeof t.read&&(this._read=t.read),void A.call(this)):new i(t)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var c;!t.decoder||i||r||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&l(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=z?e=z:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return O.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,l(e)}}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(P(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?S(f,e):f(e))}function f(e){P(\"emit readable\"),e.emit(\"readable\"),b(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(P(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;P(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C(e,\"data\")&&(t.flowing=!0,b(e))}}function v(e){P(\"readable nexttick read 0\"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(P(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(P(\"flow\",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function x(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:O.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new O(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,S(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function k(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function j(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var S=e(\"process-nextick-args\"),E=e(\"isarray\"),O=e(\"buffer\").Buffer;i.ReadableState=r;var A,C=(e(\"events\"),function(e,t){return e.listeners(t).length});!function(){try{A=e(\"stream\")}catch(t){}finally{A||(A=e(\"events\").EventEmitter)}}();var O=e(\"buffer\").Buffer,T=e(\"core-util-is\");T.inherits=e(\"inherits\");var I=e(\"util\"),P=void 0;P=I&&I.debuglog?I.debuglog(\"stream\"):function(){};var F;T.inherits(i,A);var M,M;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new O(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.isPaused=function(){return this._readableState.flowing===!1},i.prototype.setEncoding=function(t){return F||(F=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new F(t),this._readableState.encoding=t,this};var z=8388608;i.prototype.read=function(e){P(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return P(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):l(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;P(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,P(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,P(\"reading or ended\",r)),r&&(P(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?x(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){P(\"onunpipe\"),e===p&&i()}function r(){P(\"onend\"),e.end()}function i(){P(\"cleanup\"),e.removeListener(\"close\",s),e.removeListener(\"finish\",c),e.removeListener(\"drain\",h),e.removeListener(\"error\",a),e.removeListener(\"unpipe\",n),p.removeListener(\"end\",r),p.removeListener(\"end\",i),p.removeListener(\"data\",o),v=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}function o(t){P(\"ondata\");var n=e.write(t);!1===n&&(1!==l.pipesCount||l.pipes[0]!==e||1!==p.listenerCount(\"data\")||v||(P(\"false write response, pause\",p._readableState.awaitDrain),p._readableState.awaitDrain++),p.pause())}function a(t){P(\"onerror\",t),u(),e.removeListener(\"error\",a),0===C(e,\"error\")&&e.emit(\"error\",t)}function s(){e.removeListener(\"finish\",c),u()}function c(){P(\"onfinish\"),e.removeListener(\"close\",s),u()}function u(){P(\"unpipe\"),p.unpipe(e)}var p=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,P(\"pipe count=%d opts=%j\",l.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,d=f?r:i;l.endEmitted?S(d):p.once(\"end\",d),e.on(\"unpipe\",n);var h=m(p);e.on(\"drain\",h);var v=!1;return p.on(\"data\",o),e._events&&e._events.error?E(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on(\"error\",a),e.once(\"close\",s),e.once(\"finish\",c),e.emit(\"pipe\",p),l.flowing||(P(\"pipe resume\"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var o=j(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(P(\"resume\"),e.flowing=!0,g(this,e)),this},i.prototype.pause=function(){return P(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(P(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(P(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(P(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return k(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){P(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=x},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:163,\"process-nextick-args\":379,\"string_decoder/\":456,util:void 0}],391:[function(e,t,n){\"use strict\";function r(){}function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function o(t,n){C=C||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof C&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},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 _(this),this.corkedRequestsFree.next=new _(this)}function a(t){return C=C||e(\"./_stream_duplex\"),this instanceof a||this instanceof C?(this._writableState=new o(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev)),void O.call(this)):new a(t)}function s(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),k(t,n)}function c(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),k(r,o),i=!1}return i}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new S(t,n)),t}function p(e,t,n,r,o){n=u(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new i(n,r,o),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else l(e,t,!1,a,n,r,o);return s}function l(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,r,i){--t.pendingcb,n?k(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(d(n),t)f(e,n,r,t,i);else{var o=y(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||g(e,n),r?j(m,e,n,o,i):m(e,n,o,i)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),x(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function g(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;l(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,c=n.encoding,u=n.callback,p=t.objectMode?1:s.length;if(l(e,t,!1,p,s,c,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function y(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function x(e,t){var n=y(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function w(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?k(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function _(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var k=e(\"process-nextick-args\"),j=!process.browser&&[\"v0.10\",\"v0.9.\"].indexOf(process.version.slice(0,5))>-1?setImmediate:k,S=e(\"buffer\").Buffer;a.WritableState=o;var E=e(\"core-util-is\");E.inherits=e(\"inherits\");var O,A={deprecate:e(\"util-deprecate\")};!function(){try{O=e(\"stream\")}catch(t){}finally{O||(O=e(\"events\").EventEmitter)}}();var S=e(\"buffer\").Buffer;E.inherits(a,O);var C;o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var C;a.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},a.prototype.write=function(e,t,n){var i=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=r),i.ended?s(this,n):c(this,i,e,n)&&(i.pendingcb++,o=p(this,i,e,t,n)),o},a.prototype.cork=function(){var e=this._writableState;e.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||g(this,e))},a.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},a.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,\"process-nextick-args\":379,\"util-deprecate\":530}],392:[function(e,t,n){function r(e){return\"object\"==typeof e&&\"[object RegExp]\"==i.call(e)}var i=Object.prototype.toString;t.exports=n=function(e){if(!r(e))throw new TypeError(\"Not a RegExp\");var t=[];return e.global&&t.push(\"g\"),e.multiline&&t.push(\"m\"),e.ignoreCase&&t.push(\"i\"),new RegExp(e.source,t.join(\"\"))}},{}],393:[function(e,t,n){\"use strict\";function r(e,t,n){\"function\"==typeof t&&(n=t);var r={};return\"object\"==typeof t?s(r,t,{uri:e}):\"string\"==typeof e?s(r,{uri:e}):s(r,e),r.callback=n,r}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);if(\"HEAD\"===o.method&&l(o))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return new i.Request(o)}function o(e){var t=\"del\"===e?\"DELETE\":e.toUpperCase();return function(e,n,o){var a=r(e,n,o);return a.method=t,i(a,a.callback)}}function a(e,t,n,i){return function(o,a,c){var u=r(o,a,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=\"del\"===i?\"DELETE\":i.toUpperCase()),p(n)&&(e=n),e(l,l.callback)}}var s=e(\"extend\"),c=e(\"./lib/cookies\"),u=e(\"./lib/helpers\"),p=u.isFunction,l=u.paramsHaveRequestBody;i.get=o(\"get\"),i.head=o(\"head\"),i.post=o(\"post\"),i.put=o(\"put\"),i.patch=o(\"patch\"),i.del=o(\"del\"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var n=this;e=e||{},\"function\"==typeof e&&(t=e,e={});var r=a(n,e,t),i=[\"get\",\"head\",\"post\",\"put\",\"patch\",\"del\"];return i.forEach(function(i){r[i]=a(n[i],e,t,i)}),r.cookie=a(n.cookie,e,t),r.jar=n.jar,r.defaults=n.defaults,r},i.forever=function(e,t){var n={};return t&&s(n,t),e&&(n.agentOptions=e),n.forever=!0,i.defaults(n)},t.exports=i,i.Request=e(\"./request\"),i.initParams=r,Object.defineProperty(i,\"debug\",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{\"./lib/cookies\":395,\"./lib/helpers\":398,\"./request\":405,extend:404}],394:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e(\"caseless\"),o=e(\"node-uuid\"),a=e(\"./helpers\"),s=a.md5,c=a.toBase64;r.prototype.basic=function(e,t,n){var r=this;(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)&&r.request.emit(\"error\",new Error(\"auth() received invalid user or password\")),r.user=e,r.pass=t,r.hasAuth=!0;var i=e+\":\"+(t||\"\");if(n||\"undefined\"==typeof n){var o=\"Basic \"+c(i);return r.sentAuth=!0,o}},r.prototype.bearer=function(e,t){var n=this;if(n.bearerToken=e,n.hasAuth=!0,t||\"undefined\"==typeof t){\"function\"==typeof e&&(e=e());var r=\"Bearer \"+(e||\"\");return n.sentAuth=!0,r}},r.prototype.digest=function(e,t,n){for(var r=this,i={},a=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var c=a.exec(n);if(!c)break;i[c[1]]=c[2]||c[3]}var u=function(e,t,n,r,i,o){var a=s(t+\":\"+n+\":\"+r);return e&&\"md5-sess\"===e.toLowerCase()?s(a+\":\"+i+\":\"+o):a},p=/(^|,)\\s*auth\\s*($|,)/.test(i.qop)&&\"auth\",l=p&&\"00000001\",f=p&&o().replace(/-/g,\"\"),d=u(i.algorithm,r.user,i.realm,r.pass,i.nonce,f),h=s(e+\":\"+t),m=s(p?d+\":\"+i.nonce+\":\"+l+\":\"+f+\":\"+p+\":\"+h:d+\":\"+i.nonce+\":\"+h),v={username:r.user,realm:i.realm,nonce:i.nonce,uri:t,qop:p,response:m,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};n=[];for(var g in v)v[g]&&(\"qop\"===g||\"nc\"===g||\"algorithm\"===g?n.push(g+\"=\"+v[g]):n.push(g+'=\"'+v[g]+'\"'));return n=\"Digest \"+n.join(\", \"),r.sentAuth=!0,n},r.prototype.onRequest=function(e,t,n,r){var i,o=this,a=o.request;void 0===r&&void 0===e?o.request.emit(\"error\",new Error(\"no auth mechanism defined\")):i=void 0!==r?o.bearer(r,n):o.basic(e,t,n),i&&a.setHeader(\"authorization\",i)},r.prototype.onResponse=function(e){var t=this,n=t.request;if(!t.hasAuth||t.sentAuth)return null;var r=i(e.headers),o=r.get(\"www-authenticate\"),a=o&&o.split(\" \")[0].toLowerCase();switch(n.debug(\"reauth\",a),a){case\"basic\":return t.basic(t.user,t.pass,!0);case\"bearer\":return t.bearer(t.bearerToken,!0);case\"digest\":return t.digest(n.method,n.path,o)}},n.Auth=r},{\"./helpers\":398,caseless:71,\"node-uuid\":361}],395:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e,{looseMode:!0})}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e,{loose:!0})},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],396:[function(e,t,n){\"use strict\";function r(e){return e.replace(/^\\.*/,\".\").toLowerCase()}function i(e){e=e.trim().toLowerCase();var t=e.split(\":\",2),n=r(t[0]),i=t[1],o=e.indexOf(\":\")>-1;return{hostname:n,port:i,hasPort:o}}function o(e,t){var n=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),o=r(e.hostname),a=t.split(\",\");return a.map(i).some(function(e){var t=o.indexOf(e.hostname),r=t>-1&&t===o.length-e.hostname.length;return e.hasPort?n===e.port&&r:r})}function a(e){var t=process.env.NO_PROXY||process.env.no_proxy||\"\";return\"*\"===t?null:\"\"!==t&&o(e,t)?null:\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}t.exports=a},{}],397:[function(e,t,n){\"use strict\";function r(e){this.request=e}var i=e(\"fs\"),o=e(\"querystring\"),a=e(\"har-validator\"),s=e(\"extend\");r.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var n=[e[t.name],t.value];return e[t.name]=n,e},r.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var n=e.cookies.map(function(e){return e.name+\"=\"+e.value});n.length&&(e.headersObj.cookie=n.join(\"; \"))}if(t([\"multipart/mixed\",\"multipart/related\",\"multipart/form-data\",\"multipart/alternative\"]))e.postData.mimeType=\"multipart/form-data\";else if(t([\"application/x-www-form-urlencoded\"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=o.stringify(e.postData.paramsObj)):e.postData.text=\"\";else if(t([\"text/json\",\"text/x-json\",\"application/json\",\"application/x-json\"])&&(e.postData.mimeType=\"application/json\",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(r){this.request.debug(r),e.postData.mimeType=\"text/plain\"}return e},r.prototype.options=function(e){function t(e){return 0===r.postData.mimeType.indexOf(e)}if(!e.har)return e;var n={};if(s(n,e.har),n.log&&n.log.entries&&(n=n.log.entries[0]),n.url=n.url||e.url||e.uri||e.baseUrl||\"/\",n.httpVersion=n.httpVersion||\"HTTP/1.1\",n.queryString=n.queryString||[],n.headers=n.headers||[],n.cookies=n.cookies||[],n.postData=n.postData||{},n.postData.mimeType=n.postData.mimeType||\"application/octet-stream\",n.bodySize=0,n.headersSize=0,n.postData.size=0,!a.request(n))return e;var r=this.prep(n);return r.url&&(e.url=r.url),r.method&&(e.method=r.method),Object.keys(r.queryObj).length&&(e.qs=r.queryObj),Object.keys(r.headersObj).length&&(e.headers=r.headersObj),t(\"application/x-www-form-urlencoded\")?e.form=r.postData.paramsObj:t(\"application/json\")?r.postData.jsonObj&&(e.body=r.postData.jsonObj,e.json=!0):t(\"multipart/form-data\")?(e.formData={},r.postData.params.forEach(function(t){var n={};return t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?n.value=i.createReadStream(t.fileName):t.value&&(n.value=t.value),t.fileName&&(n.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),void(e.formData[t.name]=n)):void(e.formData[t.name]=t.value)})):r.postData.text&&(e.body=r.postData.text),e},n.Har=r},{extend:404,fs:void 0,\"har-validator\":124,querystring:void 0}],398:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return\"function\"==typeof e}function o(e){return e.body||e.requestBodyStream||e.json&&\"boolean\"!=typeof e.json||e.multipart}function a(e){var t;try{t=JSON.stringify(e)}catch(n){t=f(e)}return t}function s(e){return d.createHash(\"md5\").update(e).digest(\"hex\")}\nfunction c(e){return e.readable&&e.path&&e.mode}function u(e){return new t(e||\"\",\"utf8\").toString(\"base64\")}function p(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function l(){var e=process.version.replace(\"v\",\"\").split(\".\");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}var f=e(\"json-stringify-safe\"),d=e(\"crypto\");n.isFunction=i,n.paramsHaveRequestBody=o,n.safeStringify=a,n.md5=s,n.isReadStream=c,n.toBase64=u,n.copy=p,n.version=l,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173}],399:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e(\"node-uuid\"),o=e(\"combined-stream\"),a=e(\"isstream\");r.prototype.isChunked=function(e){var t=this,n=!1,r=e.data||e;return r.forEach||t.request.emit(\"error\",new Error(\"Argument error, options.multipart.\")),void 0!==e.chunked&&(n=e.chunked),\"chunked\"===t.request.getHeader(\"transfer-encoding\")&&(n=!0),n||r.forEach(function(e){\"undefined\"==typeof e.body&&t.request.emit(\"error\",new Error(\"Body attribute missing in multipart.\")),a(e.body)&&(n=!0)}),n},r.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader(\"transfer-encoding\")&&t.request.setHeader(\"transfer-encoding\",\"chunked\");var n=t.request.getHeader(\"content-type\");n&&-1!==n.indexOf(\"multipart\")?-1!==n.indexOf(\"boundary\")?t.boundary=n.replace(/.*boundary=([^\\s;]+).*/,\"$1\"):t.request.setHeader(\"content-type\",n+\"; boundary=\"+t.boundary):t.request.setHeader(\"content-type\",\"multipart/related; boundary=\"+t.boundary)},r.prototype.build=function(e,n){function r(e){return\"number\"==typeof e&&(e=e.toString()),n?a.append(e):a.push(new t(e))}var i=this,a=n?new o:[];return i.request.preambleCRLF&&r(\"\\r\\n\"),e.forEach(function(e){var t=\"--\"+i.boundary+\"\\r\\n\";Object.keys(e).forEach(function(n){\"body\"!==n&&(t+=n+\": \"+e[n]+\"\\r\\n\")}),t+=\"\\r\\n\",r(t),r(e.body),r(\"\\r\\n\")}),r(\"--\"+i.boundary+\"--\"),i.request.postambleCRLF&&r(\"\\r\\n\"),a},r.prototype.onRequest=function(e){var t=this,n=t.isChunked(e),r=e.data||e;t.setHeaders(n),t.chunked=n,t.body=t.build(r,n)},n.Multipart=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"combined-stream\":72,isstream:164,\"node-uuid\":361}],400:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.params=null}var i=e(\"url\"),o=e(\"qs\"),a=e(\"caseless\"),s=e(\"node-uuid\"),c=e(\"oauth-sign\"),u=e(\"crypto\");r.prototype.buildParams=function(e,t,n,r,i,o){var a={};for(var u in e)a[\"oauth_\"+u]=e[u];a.oauth_version||(a.oauth_version=\"1.0\"),a.oauth_timestamp||(a.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),a.oauth_nonce||(a.oauth_nonce=s().replace(/-/g,\"\")),a.oauth_signature_method||(a.oauth_signature_method=\"HMAC-SHA1\");var p=a.oauth_consumer_secret||a.oauth_private_key;delete a.oauth_consumer_secret,delete a.oauth_private_key;var l=a.oauth_token_secret;delete a.oauth_token_secret;var f=a.oauth_realm;delete a.oauth_realm,delete a.oauth_transport_method;var d=t.protocol+\"//\"+t.host+t.pathname,h=o.parse([].concat(r,i,o.stringify(a)).join(\"&\"));return a.oauth_signature=c.sign(a.oauth_signature_method,n,d,h,p,l),f&&(a.realm=f),a},r.prototype.buildBodyHash=function(e,n){[\"HMAC-SHA1\",\"RSA-SHA1\"].indexOf(e.signature_method||\"HMAC-SHA1\")<0&&this.request.emit(\"error\",new Error(\"oauth: \"+e.signature_method+\" signature_method not supported with body_hash signing.\"));var r=u.createHash(\"sha1\");r.update(n||\"\");var i=r.digest(\"hex\");return new t(i).toString(\"base64\")},r.prototype.concatParams=function(e,t,n){n=n||\"\";var r=Object.keys(e).filter(function(e){return\"realm\"!==e&&\"oauth_signature\"!==e}).sort();return e.realm&&r.splice(0,0,\"realm\"),r.push(\"oauth_signature\"),r.map(function(t){return t+\"=\"+n+c.rfc3986(e[t])+n}).join(t)},r.prototype.onRequest=function(e){var t=this;t.params=e;var n,r,s=t.request.uri||{},c=t.request.method||\"\",u=a(t.request.headers),p=t.request.body||\"\",l=t.request.qsLib||o,f=u.get(\"content-type\")||\"\",d=\"application/x-www-form-urlencoded\",h=e.transport_method||\"header\";f.slice(0,d.length)===d&&(f=d,n=p),s.query&&(r=s.query),\"body\"!==h||\"POST\"===c&&f===d||t.request.emit(\"error\",new Error(\"oauth: transport_method of body requires POST and content-type \"+d)),n||\"boolean\"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,r,n,l);switch(h){case\"header\":t.request.setHeader(\"Authorization\",\"OAuth \"+t.concatParams(m,\",\",'\"'));break;case\"query\":var v=t.request.uri.href+=(r?\"&\":\"?\")+t.concatParams(m,\"&\");t.request.uri=i.parse(v),t.request.path=t.request.uri.path;break;case\"body\":t.request.body=(n?n+\"&\":\"\")+t.concatParams(m,\"&\");break;default:t.request.emit(\"error\",new Error(\"oauth: transport_method invalid\"))}},n.OAuth=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,caseless:71,crypto:void 0,\"node-uuid\":361,\"oauth-sign\":362,qs:383,url:void 0}],401:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e(\"qs\"),o=e(\"querystring\");r.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?o:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},r.prototype.unescape=o.unescape,n.Querystring=r},{qs:383,querystring:void 0}],402:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e(\"url\"),o=/^https?:/;r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),\"function\"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader)},r.prototype.redirectTo=function(e){var t=this,n=t.request,r=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var i=e.caseless.get(\"location\");if(n.debug(\"redirect\",i),t.followAllRedirects)r=i;else if(t.followRedirects)switch(n.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:r=i}}else if(401===e.statusCode){var o=n._auth.onResponse(e);o&&(n.setHeader(\"authorization\",o),r=n.uri)}return r},r.prototype.onResponse=function(e){var t=this,n=t.request,r=t.redirectTo(e);if(!r||!t.allowRedirect.call(n,e))return!1;if(n.debug(\"redirect to\",r),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return n.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+n.uri.href)),!1;t.redirectsFollowed+=1,o.test(r)||(r=i.resolve(n.uri.href,r));var a=n.uri;return n.uri=i.parse(r),n.uri.protocol!==a.protocol&&delete n.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:r}),t.followAllRedirects&&\"HEAD\"!==n.method&&401!==e.statusCode&&307!==e.statusCode&&(n.method=\"GET\"),delete n.src,delete n.req,delete n._started,401!==e.statusCode&&307!==e.statusCode&&(delete n.body,delete n._form,n.headers&&(n.removeHeader(\"host\"),n.removeHeader(\"content-type\"),n.removeHeader(\"content-length\"),n.uri.hostname!==n.originalHost.split(\":\")[0]&&n.removeHeader(\"authorization\"))),t.removeRefererHeader||n.setHeader(\"referer\",a.href),n.emit(\"redirect\"),n.init(),!0},n.Redirect=r},{url:void 0}],403:[function(e,t,n){\"use strict\";function r(e){var t=e.port,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function i(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function o(e,t){var n=e.proxy,r={proxy:{host:n.hostname,port:+n.port,proxyAuth:n.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return r}function a(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function s(e){var t=e.uri,n=e.proxy,r=a(t,n);return p[r]}function c(e){this.request=e,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[],\"undefined\"!=typeof e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e(\"url\"),p=e(\"tunnel-agent\"),l=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"user-agent\",\"via\"],f=[\"proxy-authorization\"];c.prototype.isEnabled=function(){var e=this,t=e.request;return\"undefined\"!=typeof e.tunnelOverride?e.tunnelOverride:\"https:\"===t.uri.protocol},c.prototype.setup=function(e){var t=this,n=t.request;if(e=e||{},\"string\"==typeof n.proxy&&(n.proxy=u.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a=t.proxyHeaderExclusiveList.concat(f),c=t.proxyHeaderWhiteList.concat(a),p=i(n.headers,c);p.host=r(n.uri),a.forEach(n.removeHeader,n);var l=s(n),d=o(n,p);return n.agent=l(d),!0},c.defaultProxyHeaderWhiteList=l,c.defaultProxyHeaderExclusiveList=f,n.Tunnel=c},{\"tunnel-agent\":465,url:void 0}],404:[function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===i.call(e)},a=function(e){if(!e||\"[object Object]\"!==i.call(e))return!1;var t=r.call(e,\"constructor\"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return\"undefined\"==typeof o||r.call(e,o)};t.exports=function s(){var e,t,n,r,i,c,u=arguments[0],p=1,l=arguments.length,f=!1;for(\"boolean\"==typeof u?(f=u,u=arguments[1]||{},p=2):(\"object\"!=typeof u&&\"function\"!=typeof u||null==u)&&(u={});l>p;++p)if(e=arguments[p],null!=e)for(t in e)n=u[t],r=e[t],u!==r&&(f&&r&&(a(r)||(i=o(r)))?(i?(i=!1,c=n&&o(n)?n:[]):c=n&&a(n)?n:{},u[t]=s(f,c,r)):\"undefined\"!=typeof r&&(u[t]=r));return u}},{}],405:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function s(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function c(e){var t=this;e.har&&(t._har=new I(t),e=t._har.options(e)),h.Stream.call(t);var n=Object.keys(c.prototype),o=r(n,e);S(t,o),e=i(n,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new T(t),t._auth=new P(t),t._oauth=new F(t),t._multipart=new M(t),t._redirect=new z(t),t._tunnel=new B(t),t.init(e)}function u(){c.debug&&console.error(\"REQUEST %s\",d.format.apply(d,arguments))}var p=e(\"http\"),l=e(\"https\"),f=e(\"url\"),d=e(\"util\"),h=e(\"stream\"),m=e(\"zlib\"),v=e(\"bl\"),g=e(\"hawk\"),y=e(\"aws-sign2\"),b=e(\"http-signature\"),x=e(\"mime-types\"),w=e(\"stringstream\"),_=e(\"caseless\"),k=e(\"forever-agent\"),j=e(\"form-data\"),S=e(\"extend\"),E=e(\"is-typedarray\").strict,O=e(\"./lib/helpers\"),A=e(\"./lib/cookies\"),C=e(\"./lib/getProxyFromURI\"),T=e(\"./lib/querystring\").Querystring,I=e(\"./lib/har\").Har,P=e(\"./lib/auth\").Auth,F=e(\"./lib/oauth\").OAuth,M=e(\"./lib/multipart\").Multipart,z=e(\"./lib/redirect\").Redirect,B=e(\"./lib/tunnel\").Tunnel,N=O.safeStringify,D=O.isReadStream,q=O.toBase64,R=O.defer,L=O.copy,$=O.version,U=A.jar(),H={};d.inherits(c,h.Stream),c.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),c.prototype.debug=u,c.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=new n(r.body)),!r.hasHeader(\"content-length\")){var e;e=\"string\"==typeof r.body?n.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length,e?r.setHeader(\"content-length\",e):r.emit(\"error\",new Error(\"Argument error, options.body.\"))}}var r=this;e||(e={}),r.headers=r.headers?L(r.headers):{};for(var i in r.headers)\"undefined\"==typeof r.headers[i]&&delete r.headers[i];if(_.httpify(r,r.headers),r.method||(r.method=e.method||\"GET\"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),u(e),r.pool||r.pool===!1||(r.pool=H),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on(\"error\",r.callback.bind()),r.on(\"complete\",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if(\"string\"!=typeof r.baseUrl)return r.emit(\"error\",new Error(\"options.baseUrl must be a string\"));if(\"string\"!=typeof r.uri)return r.emit(\"error\",new Error(\"options.uri must be a string when using options.baseUrl\"));if(0===r.uri.indexOf(\"//\")||-1!==r.uri.indexOf(\"://\"))return r.emit(\"error\",new Error(\"options.uri must be a path when using options.baseUrl\"));var o=r.baseUrl.lastIndexOf(\"/\")===r.baseUrl.length-1,a=0===r.uri.indexOf(\"/\");o&&a?r.uri=r.baseUrl+r.uri.slice(1):o||a?r.uri=r.baseUrl+r.uri:\"\"===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+\"/\"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),\"unix:\"===r.uri.protocol)return r.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===r.uri.host&&r.enableUnixSocket(),r.strictSSL===!1&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname=\"/\"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var s=f.format(r.uri),c='Invalid URI \"'+s+'\"';return 0===Object.keys(e).length&&(c+=\". This can be caused by a crappy redirection.\"),r.abort(),r.emit(\"error\",new Error(c))}if(r.hasOwnProperty(\"proxy\")||(r.proxy=C(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader(\"host\")){var d=r.originalHostHeaderName||\"host\";r.setHeader(d,r.uri.hostname),r.uri.port&&(80===r.uri.port&&\"http:\"===r.uri.protocol||443===r.uri.port&&\"https:\"===r.uri.protocol||r.setHeader(d,r.getHeader(\"host\")+(\":\"+r.uri.port))),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||(\"http:\"===r.uri.protocol?r.uri.port=80:\"https:\"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var h=e.formData,m=r.form(),v=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?m.append(e,t.value,t.options):m.append(e,t)};for(var g in h)if(h.hasOwnProperty(g)){var y=h[g];if(y instanceof Array)for(var b=0;b<y.length;b++)v(g,y[b]);else v(g,y)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||\"\"),0===r.path.length&&(r.path=\"/\"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader(\"accept-encoding\")&&r.setHeader(\"accept-encoding\",\"gzip\"),r.uri.auth&&!r.hasHeader(\"authorization\")){var w=r.uri.auth.split(\":\").map(function(e){return r._qs.unescape(e)});r.auth(w[0],w.slice(1).join(\":\"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader(\"proxy-authorization\")){var j=r.proxy.auth.split(\":\").map(function(e){return r._qs.unescape(e)}),S=\"Basic \"+q(j.join(\":\"));r.setHeader(\"proxy-authorization\",S)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+\"//\"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader(\"authorization\")&&r.oauth(r._oauth.params);var O=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={\"http:\":p,\"https:\":l},T=r.httpModules||{};if(r.httpModule=T[O]||A[O],!r.httpModule)return r.emit(\"error\",new Error(\"Invalid protocol: \"+O));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var I=$();0===I.major&&I.minor<=10?r.agentClass=\"http:\"===O?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;r.pool===!1?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on(\"pipe\",function(e){if(r.ntick&&r._started&&r.emit(\"error\",new Error(\"You cannot pipe to this stream after the outbound request has started.\")),r.src=e,D(e))r.hasHeader(\"content-type\")||r.setHeader(\"content-type\",x.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader(\"content-type\")&&r.setHeader(\"content-type\",\"application/json\"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),R(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end();else if(r.requestBodyStream)console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();\"GET\"!==r.method&&\"undefined\"!=typeof r.method&&r.setHeader(\"content-length\",0),r.end()}};r._form&&!r.hasHeader(\"content-length\")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader(\"content-length\",n),e()})):e(),r.ntick=!0}})},c.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert),e.pfx&&(n.pfx=e.pfx),e.passphrase&&(n.passphrase=e.passphrase);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=f.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i&&(i+=\":\"),i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.pfx&&(i&&(i+=\":\"),i+=n.pfx.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===H&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},c.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=L(e);if(delete t.auth,u(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timing&&(e.startTime=(new Date).getTime()),e.timeout&&!e.timeoutTimer){var n=e.timeout<0?0:e.timeout;e.timeoutTimer=setTimeout(function(){var t=e.req.socket&&e.req.socket.readable===!1;e.abort();var n=new Error(\"ETIMEDOUT\");n.code=\"ETIMEDOUT\",n.connect=t,e.emit(\"error\",n)},n),e.req.setTimeout&&e.req.setTimeout(n,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",t.connect=!1,e.emit(\"error\",t)}})}e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",o)}),e.emit(\"request\",e.req)}},c.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},c.prototype.onRequestResponse=function(e){var t=this;if(u(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){t.timing&&(t.elapsedTime+=(new Date).getTime()-t.startTime,u(\"elapsed time\",t.elapsedTime),e.elapsedTime=t.elapsedTime),u(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(o)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",o)),t._aborted)return u(\"aborted\",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=s,t.httpModule===l&&t.strictSSL&&(!e.hasOwnProperty(\"socket\")||!e.socket.authorized)){u(\"strict ssl error\",t.uri.href);var n=e.hasOwnProperty(\"socket\")?e.socket.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+n))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:U,i=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=_(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(i):i(e.headers[a])}if(!t._redirect.onResponse(e)){e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var c;if(t.gzip){var p=e.headers[\"content-encoding\"]||\"identity\";p=p.trim().toLowerCase(),\"gzip\"===p?(c=m.createGunzip(),e.pipe(c)):(\"identity\"!==p&&u(\"ignoring unrecognized Content-Encoding \"+p),c=e)}else c=e;t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):c.setEncoding?c.setEncoding(t.encoding):c=c.pipe(w(t.encoding))),t._paused&&c.pause(),t.responseContent=c,t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),c.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),c.on(\"end\",function(e){t.emit(\"end\",e)}),c.on(\"error\",function(e){t.emit(\"error\",e)}),c.on(\"close\",function(){t.emit(\"close\")}),t.callback?t.readResponseBody(e):t.on(\"end\",function(){return t._aborted?void u(\"aborted\",t.uri.href):void t.emit(\"complete\",e)}),u(\"finish init function\",t.uri.href)}},c.prototype.readResponseBody=function(e){var t=this;u(\"reading response's body\");var r=v(),i=[];t.on(\"data\",function(e){n.isBuffer(e)?r.append(e):i.push(e)}),t.on(\"end\",function(){if(u(\"end event\",t.uri.href),t._aborted)return void u(\"aborted\",t.uri.href);if(r.length?(u(\"has body\",t.uri.href,r.length),null===t.encoding?e.body=r.slice():e.body=r.toString(t.encoding)):i.length&&(\"utf8\"===t.encoding&&i[0].length>0&&\"\\ufeff\"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(o){u(\"invalid JSON received\",t.uri.href)}u(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=null===t.encoding?new n(0):\"\"),t.emit(\"complete\",e,e.body)})},c.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit(\"abort\")},c.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},c.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r._qs.parse(r.uri.query):{};for(var i in e)n[i]=e[i];var o=r._qs.stringify(n);return\"\"===o?r:(r.uri=f.parse(r.uri.href.split(\"?\")[0]+\"?\"+o),r.url=r.uri,r.path=r.uri.path,\"unix\"===r.uri.host&&r.enableUnixSocket(),r)},c.prototype.form=function(e){var t=this;return e?(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))||t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?t._qs.rfc3986(e.toString(\"utf8\")):t._qs.stringify(e).toString(\"utf8\"),t):(t._form=new j,t._form.on(\"error\",function(e){e.message=\"form-data: \"+e.message,t.emit(\"error\",e),t.abort()}),t._form)},c.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},c.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))?t.body=t._qs.rfc3986(t.body):t.body=N(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=N(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},c.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n},c.prototype.enableUnixSocket=function(){var e=this.uri.path.split(\":\"),t=e[0],n=e[1];this.socketPath=t,this.uri.pathname=n,this.uri.path=n,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},c.prototype.auth=function(e,t,n,r){var i=this;return i._auth.onRequest(e,t,n,r),i},c.prototype.aws=function(t,n){var r=this;if(!n)return r._aws=t,r;if(4==t.sign_version||\"4\"==t.sign_version){var i=e(\"aws4\"),o={host:r.uri.host,path:r.uri.path,method:r.method,headers:{\"content-type\":r.getHeader(\"content-type\")||\"\"},body:r.body},a=i.sign(o,{accessKeyId:t.key,secretAccessKey:t.secret});r.setHeader(\"authorization\",a.headers.Authorization),r.setHeader(\"x-amz-date\",a.headers[\"X-Amz-Date\"])}else{var s=new Date;r.setHeader(\"date\",s.toUTCString());var c={key:t.key,secret:t.secret,verb:r.method.toUpperCase(),date:s,contentType:r.getHeader(\"content-type\")||\"\",md5:r.getHeader(\"content-md5\")||\"\",amazonHeaders:y.canonicalizeHeaders(r.headers)},u=r.uri.path;t.bucket&&u?c.resource=\"/\"+t.bucket+u:t.bucket&&!u?c.resource=\"/\"+t.bucket:!t.bucket&&u?c.resource=u:t.bucket||u||(c.resource=\"/\"),c.resource=y.canonicalizeResource(c.resource),r.setHeader(\"authorization\",y.authorization(c))}return r},c.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),u(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},c.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",g.client.header(t.uri,t.method,e).field)},c.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},c.prototype.jar=function(e){var t,n=this;if(0===n._redirect.redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:U,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},c.prototype.pipe=function(e,t){var n=this;if(!n.response)return n.dests.push(e),h.Stream.prototype.pipe.call(n,e,t),e;if(n._destdata)n.emit(\"error\",new Error(\"You cannot pipe after data has been emitted from the response.\"));else{if(!n._ended)return h.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e;n.emit(\"error\",new Error(\"You cannot pipe after the response has been ended.\"))}},c.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req.write.apply(e.req,arguments)},c.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req.end())},c.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},c.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},c.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},c.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),c.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),c.prototype.toJSON=a,t.exports=c}).call(this,e(\"buffer\").Buffer)},{\"./lib/auth\":394,\"./lib/cookies\":395,\"./lib/getProxyFromURI\":396,\"./lib/har\":397,\"./lib/helpers\":398,\"./lib/multipart\":399,\"./lib/oauth\":400,\"./lib/querystring\":401,\"./lib/redirect\":402,\"./lib/tunnel\":403,\"aws-sign2\":12,aws4:13,bl:14,buffer:void 0,caseless:71,extend:404,\"forever-agent\":116,\"form-data\":117,hawk:144,http:void 0,\"http-signature\":152,https:void 0,\"is-typedarray\":162,\"mime-types\":184,stream:void 0,stringstream:457,url:void 0,util:void 0,zlib:void 0}],406:[function(e,t,n){(function(n){var r=e(\"path\"),i=e(\"fs\"),o=e(\"util\").format,a=e(\"resolve-from\"),s=e(\"semver\"),c=i.existsSync||r.existsSync,u=function(e){for(var t=!1;!t;)if(c(e+\"/package.json\"))t=e;else{if(\"/\"===e)return!1;e=r.dirname(e)}return e},p=function(r,c){c=c||{},c.strict=\"boolean\"==typeof c.strict?c.strict:!0;var p=n;t.parent&&(p=t.parent.filename);var p=u(p);if(!p)throw new Error(\"package.json can not be located\");var l=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),f=r.split(/\\//);if(!l.peerOptionalDependencies)throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));if(l.peerOptionalDependencies&&!l.peerOptionalDependencies[f[0]])throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));var d=l.peerOptionalDependencies[f[0]],h=void 0,m=r;try{h=e(m)}catch(v){try{if(m=a(process.cwd(),r),null==m)return;h=e(m)}catch(v){if(\"MODULE_NOT_FOUND\"===v.code)return}}var p=u(e.resolve(m));if(!p)throw new Error(\"package.json can not be located\");var g=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),y=g.version;if(0==s.satisfies(y,d)&&c.strict){var b=new Error(o(\"optional dependency [%s] found but version [%s] did not satisfy constraint [%s]\",f[0],y,d));throw b.code=\"OPTIONAL_MODULE_NOT_FOUND\",b}return h};p.exists=function(e){try{var t=p(e);return void 0!==t}catch(n){return!1}},t.exports=p}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/require_optional\");\n},{fs:void 0,path:void 0,\"resolve-from\":407,semver:408,util:void 0}],407:[function(e,t,n){\"use strict\";var r=e(\"path\"),i=e(\"module\");t.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected `fromDir` and `moduleId` to be a string\");e=r.resolve(e);var n=r.join(e,\"noop.js\");try{return i._resolveFilename(t,{id:n,filename:n,paths:i._nodeModulePaths(e)})}catch(o){return null}}},{module:void 0,path:void 0}],408:[function(e,t,n){function r(e,t){if(e instanceof a)return e;if(\"string\"!=typeof e)return null;if(e.length>Y)return null;var n=t?G[fe]:G[ue];if(!n.test(e))return null;try{return new a(e,t)}catch(r){return null}}function i(e,t){var n=r(e,t);return n?n.version:null}function o(e,t){var n=r(e.trim().replace(/^[=v]+/,\"\"),t);return n?n.version:null}function a(e,t){if(e instanceof a){if(e.loose===t)return e;e=e.version}else if(\"string\"!=typeof e)throw new TypeError(\"Invalid Version: \"+e);if(e.length>Y)throw new TypeError(\"version is longer than \"+Y+\" characters\");if(!(this instanceof a))return new a(e,t);W(\"SemVer\",e,t),this.loose=t;var n=e.trim().match(t?G[fe]:G[ue]);if(!n)throw new TypeError(\"Invalid Version: \"+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>K||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>K||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>K||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&K>t)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}function s(e,t,n,r){\"string\"==typeof n&&(r=n,n=void 0);try{return new a(e,n).inc(t,r).version}catch(i){return null}}function c(e,t){if(w(e,t))return null;var n=r(e),i=r(t);if(n.prerelease.length||i.prerelease.length){for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return\"pre\"+o;return\"prerelease\"}for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return o}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:t>e?-1:e>t?1:0}function p(e,t){return u(t,e)}function l(e,t){return new a(e,t).major}function f(e,t){return new a(e,t).minor}function d(e,t){return new a(e,t).patch}function h(e,t,n){return new a(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function g(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function y(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function b(e,t,n){return h(e,t,n)>0}function x(e,t,n){return h(e,t,n)<0}function w(e,t,n){return 0===h(e,t,n)}function _(e,t,n){return 0!==h(e,t,n)}function k(e,t,n){return h(e,t,n)>=0}function j(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){var i;switch(t){case\"===\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e===n;break;case\"!==\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e!==n;break;case\"\":case\"=\":case\"==\":i=w(e,n,r);break;case\"!=\":i=_(e,n,r);break;case\">\":i=b(e,n,r);break;case\">=\":i=k(e,n,r);break;case\"<\":i=x(e,n,r);break;case\"<=\":i=j(e,n,r);break;default:throw new TypeError(\"Invalid operator: \"+t)}return i}function E(e,t){if(e instanceof E){if(e.loose===t)return e;e=e.value}return this instanceof E?(W(\"comparator\",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value=\"\":this.value=this.operator+this.semver.version,void W(\"comp\",this)):new E(e,t)}function O(e,t){if(e instanceof O&&e.loose===t)return e;if(!(this instanceof O))return new O(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\\s*\\|\\|\\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError(\"Invalid SemVer Range: \"+e);this.format()}function A(e,t){return new O(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(\" \").trim().split(\" \")})}function C(e,t){return W(\"comp\",e),e=F(e,t),W(\"caret\",e),e=I(e,t),W(\"tildes\",e),e=z(e,t),W(\"xrange\",e),e=N(e,t),W(\"stars\",e),e}function T(e){return!e||\"x\"===e.toLowerCase()||\"*\"===e}function I(e,t){return e.trim().split(/\\s+/).map(function(e){return P(e,t)}).join(\" \")}function P(e,t){var n=t?G[je]:G[ke];return e.replace(n,function(t,n,r,i,o){W(\"tilde\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":o?(W(\"replaceTilde pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\"):a=\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\",W(\"tilde return\",a),a})}function F(e,t){return e.trim().split(/\\s+/).map(function(e){return M(e,t)}).join(\" \")}function M(e,t){W(\"caret\",e,t);var n=t?G[Ce]:G[Ae];return e.replace(n,function(t,n,r,i,o){W(\"caret\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\"0\"===n?\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".0 <\"+(+n+1)+\".0.0\":o?(W(\"replaceCaret pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+(+n+1)+\".0.0\"):(W(\"no pr\"),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+\" <\"+(+n+1)+\".0.0\"),W(\"caret return\",a),a})}function z(e,t){return W(\"replaceXRanges\",e,t),e.split(/\\s+/).map(function(e){return B(e,t)}).join(\" \")}function B(e,t){e=e.trim();var n=t?G[be]:G[ye];return e.replace(n,function(t,n,r,i,o,a){W(\"xRange\",e,t,n,r,i,o,a);var s=T(r),c=s||T(i),u=c||T(o),p=u;return\"=\"===n&&p&&(n=\"\"),s?t=\">\"===n||\"<\"===n?\"<0.0.0\":\"*\":n&&p?(c&&(i=0),u&&(o=0),\">\"===n?(n=\">=\",c?(r=+r+1,i=0,o=0):u&&(i=+i+1,o=0)):\"<=\"===n&&(n=\"<\",c?r=+r+1:i=+i+1),t=n+r+\".\"+i+\".\"+o):c?t=\">=\"+r+\".0.0 <\"+(+r+1)+\".0.0\":u&&(t=\">=\"+r+\".\"+i+\".0 <\"+r+\".\"+(+i+1)+\".0\"),W(\"xRange return\",t),t})}function N(e,t){return W(\"replaceStars\",e,t),e.trim().replace(G[Be],\"\")}function D(e,t,n,r,i,o,a,s,c,u,p,l,f){return t=T(n)?\"\":T(r)?\">=\"+n+\".0.0\":T(i)?\">=\"+n+\".\"+r+\".0\":\">=\"+t,s=T(c)?\"\":T(u)?\"<\"+(+c+1)+\".0.0\":T(p)?\"<\"+c+\".\"+(+u+1)+\".0\":l?\"<=\"+c+\".\"+u+\".\"+p+\"-\"+l:\"<=\"+s,(t+\" \"+s).trim()}function q(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(W(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new O(t,n)}catch(r){return!1}return t.test(e)}function L(e,t,n){return e.filter(function(e){return R(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function $(e,t){try{return new O(e,t).range||\"*\"}catch(n){return null}}function U(e,t,n){return V(e,t,\"<\",n)}function H(e,t,n){return V(e,t,\">\",n)}function V(e,t,n,r){e=new a(e,r),t=new O(t,r);var i,o,s,c,u;switch(n){case\">\":i=b,o=j,s=x,c=\">\",u=\">=\";break;case\"<\":i=x,o=k,s=b,c=\"<\",u=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(R(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var l=t.set[p],f=null,d=null;if(l.forEach(function(e){e.semver===qe&&(e=new E(\">=0.0.0\")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:s(e.semver,d.semver,r)&&(d=e)}),f.operator===c||f.operator===u)return!1;if((!d.operator||d.operator===c)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0}n=t.exports=a;var W;W=\"object\"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\\bsemver\\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(\"SEMVER\"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION=\"2.0.0\";var Y=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,G=n.re=[],J=n.src=[],Z=0,Q=Z++;J[Q]=\"0|[1-9]\\\\d*\";var X=Z++;J[X]=\"[0-9]+\";var ee=Z++;J[ee]=\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";var te=Z++;J[te]=\"(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\";var ne=Z++;J[ne]=\"(\"+J[X]+\")\\\\.(\"+J[X]+\")\\\\.(\"+J[X]+\")\";var re=Z++;J[re]=\"(?:\"+J[Q]+\"|\"+J[ee]+\")\";var ie=Z++;J[ie]=\"(?:\"+J[X]+\"|\"+J[ee]+\")\";var oe=Z++;J[oe]=\"(?:-(\"+J[re]+\"(?:\\\\.\"+J[re]+\")*))\";var ae=Z++;J[ae]=\"(?:-?(\"+J[ie]+\"(?:\\\\.\"+J[ie]+\")*))\";var se=Z++;J[se]=\"[0-9A-Za-z-]+\";var ce=Z++;J[ce]=\"(?:\\\\+(\"+J[se]+\"(?:\\\\.\"+J[se]+\")*))\";var ue=Z++,pe=\"v?\"+J[te]+J[oe]+\"?\"+J[ce]+\"?\";J[ue]=\"^\"+pe+\"$\";var le=\"[v=\\\\s]*\"+J[ne]+J[ae]+\"?\"+J[ce]+\"?\",fe=Z++;J[fe]=\"^\"+le+\"$\";var de=Z++;J[de]=\"((?:<|>)?=?)\";var he=Z++;J[he]=J[X]+\"|x|X|\\\\*\";var me=Z++;J[me]=J[Q]+\"|x|X|\\\\*\";var ve=Z++;J[ve]=\"[v=\\\\s]*(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\"+J[oe]+\")?\"+J[ce]+\"?)?)?\";var ge=Z++;J[ge]=\"[v=\\\\s]*(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\"+J[ae]+\")?\"+J[ce]+\"?)?)?\";var ye=Z++;J[ye]=\"^\"+J[de]+\"\\\\s*\"+J[ve]+\"$\";var be=Z++;J[be]=\"^\"+J[de]+\"\\\\s*\"+J[ge]+\"$\";var xe=Z++;J[xe]=\"(?:~>?)\";var we=Z++;J[we]=\"(\\\\s*)\"+J[xe]+\"\\\\s+\",G[we]=new RegExp(J[we],\"g\");var _e=\"$1~\",ke=Z++;J[ke]=\"^\"+J[xe]+J[ve]+\"$\";var je=Z++;J[je]=\"^\"+J[xe]+J[ge]+\"$\";var Se=Z++;J[Se]=\"(?:\\\\^)\";var Ee=Z++;J[Ee]=\"(\\\\s*)\"+J[Se]+\"\\\\s+\",G[Ee]=new RegExp(J[Ee],\"g\");var Oe=\"$1^\",Ae=Z++;J[Ae]=\"^\"+J[Se]+J[ve]+\"$\";var Ce=Z++;J[Ce]=\"^\"+J[Se]+J[ge]+\"$\";var Te=Z++;J[Te]=\"^\"+J[de]+\"\\\\s*(\"+le+\")$|^$\";var Ie=Z++;J[Ie]=\"^\"+J[de]+\"\\\\s*(\"+pe+\")$|^$\";var Pe=Z++;J[Pe]=\"(\\\\s*)\"+J[de]+\"\\\\s*(\"+le+\"|\"+J[ve]+\")\",G[Pe]=new RegExp(J[Pe],\"g\");var Fe=\"$1$2$3\",Me=Z++;J[Me]=\"^\\\\s*(\"+J[ve]+\")\\\\s+-\\\\s+(\"+J[ve]+\")\\\\s*$\";var ze=Z++;J[ze]=\"^\\\\s*(\"+J[ge]+\")\\\\s+-\\\\s+(\"+J[ge]+\")\\\\s*$\";var Be=Z++;J[Be]=\"(<|>)?=?\\\\s*\\\\*\";for(var Ne=0;Z>Ne;Ne++)W(Ne,J[Ne]),G[Ne]||(G[Ne]=new RegExp(J[Ne]));n.parse=r,n.valid=i,n.clean=o,n.SemVer=a,a.prototype.format=function(){return this.version=this.major+\".\"+this.minor+\".\"+this.patch,this.prerelease.length&&(this.version+=\"-\"+this.prerelease.join(\".\")),this.version},a.prototype.toString=function(){return this.version},a.prototype.compare=function(e){return W(\"SemVer.compare\",this.version,this.loose,e),e instanceof a||(e=new a(e,this.loose)),this.compareMain(e)||this.comparePre(e)},a.prototype.compareMain=function(e){return e instanceof a||(e=new a(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},a.prototype.comparePre=function(e){if(e instanceof a||(e=new a(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(W(\"prerelease compare\",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},a.prototype.inc=function(e,t){switch(e){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",t);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",t);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"prerelease\":0===this.prerelease.length&&this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"major\":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case\"pre\":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)\"number\"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(\"invalid increment argument: \"+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=c,n.compareIdentifiers=u;var De=/^[0-9]+$/;n.rcompareIdentifiers=p,n.major=l,n.minor=f,n.patch=d,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=g,n.rsort=y,n.gt=b,n.lt=x,n.eq=w,n.neq=_,n.gte=k,n.lte=j,n.cmp=S,n.Comparator=E;var qe={};E.prototype.parse=function(e){var t=this.loose?G[Te]:G[Ie],n=e.match(t);if(!n)throw new TypeError(\"Invalid comparator: \"+e);this.operator=n[1],\"=\"===this.operator&&(this.operator=\"\"),n[2]?this.semver=new a(n[2],this.loose):this.semver=qe},E.prototype.toString=function(){return this.value},E.prototype.test=function(e){return W(\"Comparator.test\",e,this.loose),this.semver===qe?!0:(\"string\"==typeof e&&(e=new a(e,this.loose)),S(e,this.operator,this.semver,this.loose))},n.Range=O,O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(\" \").trim()}).join(\"||\").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),W(\"range\",e,t);var n=t?G[ze]:G[Me];e=e.replace(n,D),W(\"hyphen replace\",e),e=e.replace(G[Pe],Fe),W(\"comparator trim\",e,G[Pe]),e=e.replace(G[we],_e),e=e.replace(G[Ee],Oe),e=e.split(/\\s+/).join(\" \");var r=t?G[Te]:G[Ie],i=e.split(\" \").map(function(e){return C(e,t)}).join(\" \").split(/\\s+/);return this.loose&&(i=i.filter(function(e){return!!e.match(r)})),i=i.map(function(e){return new E(e,t)})},n.toComparators=A,O.prototype.test=function(e){if(!e)return!1;\"string\"==typeof e&&(e=new a(e,this.loose));for(var t=0;t<this.set.length;t++)if(q(this.set[t],e))return!0;return!1},n.satisfies=R,n.maxSatisfying=L,n.validRange=$,n.ltr=U,n.gtr=H,n.outside=V},{}],409:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){return new i(e,t,n)}function i(e,t,n){var r=n||{};if(this.options=r,this.path=t,this.req=e,this._etag=void 0!==r.etag?Boolean(r.etag):!0,this._dotfiles=void 0!==r.dotfiles?r.dotfiles:\"ignore\",\"ignore\"!==this._dotfiles&&\"allow\"!==this._dotfiles&&\"deny\"!==this._dotfiles)throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"');this._hidden=Boolean(r.hidden),void 0!==r.hidden&&p(\"hidden: use dotfiles: '\"+(this._hidden?\"allow\":\"ignore\")+\"' instead\"),void 0===r.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==r.extensions?s(r.extensions,\"extensions option\"):[],this._index=void 0!==r.index?s(r.index,\"index option\"):[\"index.html\"],this._lastModified=void 0!==r.lastModified?Boolean(r.lastModified):!0,this._maxage=r.maxAge||r.maxage,this._maxage=\"string\"==typeof this._maxage?k(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),O),this._root=r.root?A(r.root):null,!this._root&&r.from&&this.from(r.from)}function o(e){for(var t=0;t<e.length;t++)if(\".\"===e[t][0])return!0;return!1}function a(e){try{return decodeURIComponent(e)}catch(t){return-1}}function s(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(\"string\"!=typeof n[r])throw new TypeError(t+\" must be array of strings or false\");return n}var c=e(\"http-errors\"),u=e(\"debug\")(\"send\"),p=e(\"depd\")(\"send\"),l=e(\"destroy\"),f=e(\"escape-html\"),d=e(\"range-parser\"),h=e(\"stream\"),m=e(\"mime\"),v=e(\"fresh\"),g=e(\"path\"),y=e(\"fs\"),b=g.normalize,x=g.join,w=e(\"etag\"),_=e(\"events\").EventEmitter,k=e(\"ms\"),j=e(\"on-finished\"),S=e(\"statuses\"),E=g.extname,O=31536e6,A=g.resolve,C=g.sep,T=(Object.prototype.toString,/(?:^|[\\\\\\/])\\.\\.(?:[\\\\\\/]|$)/);t.exports=r,t.exports.mime=m;var I=_.listenerCount||function(e,t){return e.listeners(t).length};i.prototype.__proto__=h.prototype,i.prototype.etag=p[\"function\"](function(e){return e=Boolean(e),u(\"etag %s\",e),this._etag=e,this},\"send.etag: pass etag as option\"),i.prototype.hidden=p[\"function\"](function(e){return e=Boolean(e),u(\"hidden %s\",e),this._hidden=e,this._dotfiles=void 0,this},\"send.hidden: use dotfiles option\"),i.prototype.index=p[\"function\"](function P(e){var P=e?s(e,\"paths argument\"):[];return u(\"index %o\",e),this._index=P,this},\"send.index: pass index as option\"),i.prototype.root=function(e){return e=String(e),this._root=A(e),this},i.prototype.from=p[\"function\"](i.prototype.root,\"send.from: pass root as option\"),i.prototype.root=p[\"function\"](i.prototype.root,\"send.root: pass root as option\"),i.prototype.maxage=p[\"function\"](function(e){return e=\"string\"==typeof e?k(e):Number(e),isNaN(e)&&(e=0),1/0==e&&(e=31536e6),u(\"max-age %d\",e),this._maxage=e,this},\"send.maxage: pass maxAge as option\"),i.prototype.error=function F(e,F){if(0!==I(this,\"error\"))return this.emit(\"error\",c(F,e,{expose:!1}));var t=this.res,r=S[e];t._headers=null,t.statusCode=e,t.setHeader(\"Content-Type\",\"text/plain; charset=UTF-8\"),t.setHeader(\"Content-Length\",n.byteLength(r)),t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.end(r)},i.prototype.hasTrailingSlash=function(){return\"/\"==this.path[this.path.length-1]},i.prototype.isConditionalGET=function(){return this.req.headers[\"if-none-match\"]||this.req.headers[\"if-modified-since\"]},i.prototype.removeContentHeaderFields=function(){for(var e=this.res,t=Object.keys(e._headers||{}),n=0;n<t.length;n++){var r=t[n];\"content-\"===r.substr(0,8)&&\"content-location\"!==r&&e.removeHeader(r)}},i.prototype.notModified=function(){var e=this.res;u(\"not modified\"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},i.prototype.headersAlreadySent=function(){var e=new Error(\"Can't set headers after they are sent.\");u(\"headers already sent\"),this.error(500,e)},i.prototype.isCachable=function(){var e=this.res;return e.statusCode>=200&&e.statusCode<300||304==e.statusCode},i.prototype.onStatError=function(e){switch(e.code){case\"ENAMETOOLONG\":case\"ENOENT\":case\"ENOTDIR\":this.error(404,e);break;default:this.error(500,e)}},i.prototype.isFresh=function(){return v(this.req.headers,this.res._headers)},i.prototype.isRangeFresh=function(){var e=this.req.headers[\"if-range\"];return e?~e.indexOf('\"')?~e.indexOf(this.res._headers.etag):Date.parse(this.res._headers[\"last-modified\"])<=Date.parse(e):!0},i.prototype.redirect=function(e){if(0!==I(this,\"directory\"))return void this.emit(\"directory\");if(this.hasTrailingSlash())return void this.error(403);var t=e+\"/\",r='Redirecting to <a href=\"'+f(t)+'\">'+f(t)+\"</a>\\n\",i=this.res;i.statusCode=301,i.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),i.setHeader(\"Content-Length\",n.byteLength(r)),i.setHeader(\"X-Content-Type-Options\",\"nosniff\"),i.setHeader(\"Location\",t),i.end(r)},i.prototype.pipe=function(e){var t=this._root;this.res=e;var n=a(this.path);if(-1===n)return this.error(400);if(~n.indexOf(\"\\x00\"))return this.error(400);var r;if(null!==t){if(T.test(b(\".\"+C+n)))return u('malicious path \"%s\"',n),this.error(403);n=b(x(t,n)),t=b(t+C),r=n.substr(t.length).split(C)}else{if(T.test(n))return u('malicious path \"%s\"',n),this.error(403);r=b(n).split(C),n=A(n)}if(o(r)){var i=this._dotfiles;switch(void 0===i&&(i=\".\"===r[r.length-1][0]?this._hidden?\"allow\":\"ignore\":\"allow\"),u('%s dotfile \"%s\"',i,n),i){case\"allow\":break;case\"deny\":return this.error(403);case\"ignore\":default:return this.error(404)}}return this._index.length&&\"/\"===this.path[this.path.length-1]?(this.sendIndex(n),e):(this.sendFile(n),e)},i.prototype.send=function(e,t){var n=t.size,r=this.options,i={},o=this.res,a=this.req,s=a.headers.range,c=r.start||0;if(o._header)return this.headersAlreadySent();if(u('pipe \"%s\"',e),this.setHeader(e,t),this.type(e),this.isConditionalGET()&&this.isCachable()&&this.isFresh())return this.notModified();if(n=Math.max(0,n-c),void 0!==r.end){var p=r.end-c+1;n>p&&(n=p)}if(s){if(s=d(n,s),this.isRangeFresh()||(u(\"range stale\"),s=-2),-1==s)return u(\"range unsatisfiable\"),o.setHeader(\"Content-Range\",\"bytes */\"+t.size),this.error(416);-2!=s&&1===s.length&&(u(\"range %j\",s),o.statusCode=206,o.setHeader(\"Content-Range\",\"bytes \"+s[0].start+\"-\"+s[0].end+\"/\"+n),c+=s[0].start,n=s[0].end-s[0].start+1)}for(var l in r)i[l]=r[l];return i.start=c,i.end=Math.max(c,c+n-1),o.setHeader(\"Content-Length\",n),\"HEAD\"==a.method?o.end():void this.stream(e,i)},i.prototype.sendFile=function(e){function t(i){if(r._extensions.length<=n)return i?r.onStatError(i):r.error(404);var o=e+\".\"+r._extensions[n++];u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=0,r=this;u('stat \"%s\"',e),y.stat(e,function(n,i){return n&&\"ENOENT\"===n.code&&!E(e)&&e[e.length-1]!==C?t(n):n?r.onStatError(n):i.isDirectory()?r.redirect(r.path):(r.emit(\"file\",e,i),void r.send(e,i))})},i.prototype.sendIndex=function(e){function t(i){if(++n>=r._index.length)return i?r.onStatError(i):r.error(404);var o=x(e,r._index[n]);u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=-1,r=this;t()},i.prototype.stream=function(e,t){var n=!1,r=this,i=this.res,o=(this.req,y.createReadStream(e,t));this.emit(\"stream\",o),o.pipe(i),j(i,function(){n=!0,l(o)}),o.on(\"error\",function(e){n||(n=!0,l(o),r.onStatError(e))}),o.on(\"end\",function(){r.emit(\"end\")})},i.prototype.type=function(e){var t=this.res;if(!t.getHeader(\"Content-Type\")){var n=m.lookup(e),r=m.charsets.lookup(n);u(\"content-type %s\",n),t.setHeader(\"Content-Type\",n+(r?\"; charset=\"+r:\"\"))}},i.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(\"headers\",n,e,t),n.getHeader(\"Accept-Ranges\")||n.setHeader(\"Accept-Ranges\",\"bytes\"),n.getHeader(\"Cache-Control\")||n.setHeader(\"Cache-Control\",\"public, max-age=\"+Math.floor(this._maxage/1e3)),this._lastModified&&!n.getHeader(\"Last-Modified\")){var r=t.mtime.toUTCString();u(\"modified %s\",r),n.setHeader(\"Last-Modified\",r)}if(this._etag&&!n.getHeader(\"ETag\")){var i=w(t);u(\"etag %s\",i),n.setHeader(\"ETag\",i)}}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,depd:85,destroy:90,\"escape-html\":96,etag:97,events:void 0,fresh:120,fs:void 0,\"http-errors\":151,mime:185,ms:355,\"on-finished\":363,path:void 0,\"range-parser\":387,statuses:455,stream:void 0}],410:[function(e,t,n){t.exports=e(\"./lib/sendgrid\")},{\"./lib/sendgrid\":413}],411:[function(e,t,n){\"use strict\";function r(e){e=e||{},this.to=e.to||[],this.from=e.from||\"\",this.smtpapi=e.smtpapi||new o,this.subject=e.subject||\"\",this.text=e.text||\"\",this.html=e.html||\"\",this.bcc=e.bcc||[],this.cc=e.cc||[],this.replyto=e.replyto||\"\",this.date=e.date||\"\",this.headers=e.headers||{},null!==e.toname&&(this.toname=e.toname),null!==e.fromname&&(this.fromname=e.fromname),this.files=[],e.files&&e.files.forEach(function(e){this.files.push(new i(e))},this)}var i=e(\"./file_handler\"),o=e(\"smtpapi\"),a=e(\"lodash\"),s=e(\"request\"),c=e(\"fs\");r.prototype.addHeader=function(e,t){if(\"undefined\"!=typeof t&&null!==t||(t=\"\"),a.isObject(e))a.extend(this.headers,e);else{var n={};n[e]=t,a.extend(this.headers,n)}return this},r.prototype.setHeaders=function(e){return a.isObject(e)&&(this.headers=e),this},r.prototype.addTo=function(e){return this.to.push(e),this},r.prototype.setSmtpapiTos=function(e){return this.smtpapi.setTos(e),this},r.prototype.addSmtpapiTo=function(e){return this.smtpapi.addTo(e),this},r.prototype.setTos=function(e){return this.to=e,this},r.prototype.setFrom=function(e){return this.from=e,this},r.prototype.setFromName=function(e){this.fromname=e},r.prototype.addCc=function(e){return this.cc.push(e),this},r.prototype.setCcs=function(e){return this.cc=e,this},r.prototype.addBcc=function(e){return this.bcc.push(e),this},r.prototype.setBccs=function(e){return this.bcc=e,this},r.prototype.setSubject=function(e){return this.subject=e,this},r.prototype.setText=function(e){return this.text=e,this},r.prototype.setHtml=function(e){return this.html=e,this},r.prototype.addSubstitution=function(e,t){return this.smtpapi.addSubstitution(e,t),this},r.prototype.setSubstitutions=function(e){return this.smtpapi.setSubstitutions(e),this},r.prototype.addUniqueArg=function(e,t){return this.smtpapi.addUniqueArg(e,t),this},r.prototype.setUniqueArgs=function(e){return this.smtpapi.setUniqueArgs(e),this},r.prototype.addCategory=function(e){return this.smtpapi.addCategory(e),this},r.prototype.setCategories=function(e){return this.smtpapi.setCategories(e),this},r.prototype.addSection=function(e,t){return this.smtpapi.addSection(e,t),this},r.prototype.setSections=function(e){return this.smtpapi.setSections(e),this},r.prototype.addFilter=function(e,t,n){return this.smtpapi.addFilter(e,t,n),this},r.prototype.setFilters=function(e){return this.smtpapi.setFilters(e),this},r.prototype.setASMGroupID=function(e){return this.smtpapi.setASMGroupID(e),this},r.prototype.addFile=function(e){return this.files.push(new i(e)),this},r.prototype.setDate=function(e){return this.date=e,this},r.prototype.setSendAt=function(e){return this.smtpapi.setSendAt(e),this},r.prototype.setSendEachAt=function(e){return this.smtpapi.setSendEachAt(e),this},r.prototype.addSendEachAt=function(e){return this.smtpapi.addSendEachAt(e),this},r.prototype.toWebFormat=function(){var e={to:this.to,from:this.from,\"x-smtpapi\":this.smtpapi.jsonString(),subject:this.subject,text:this.text,html:this.html,headers:JSON.stringify(this.headers)};return this.bcc&&(e.bcc=this.bcc),this.cc&&(e.cc=this.cc),this.html&&(e.html=this.html),this.toname&&(e.toname=this.toname),this.fromname&&(e.fromname=this.fromname),this.replyto&&(e.replyto=this.replyto),this.date&&(e.date=this.date),this.smtpapi.to&&this.smtpapi.to.length&&(e.to=\"\"),this.updateMissingTo(e),this.files&&this.files.forEach(function(t){t.url?t.content=s(t.url):t.path&&(t.content=c.createReadStream(t.path)),e[\"files[\"+t.filename+\"]\"]={filename:t.filename,content:t.content||\" \",contentType:t.contentType,cid:t.cid}}),e},r.prototype._formatFilesForNodeMailer=function(e){var t=this;e&&e.length>0&&e.forEach(function(e){t._formatFileForNodeMailer(e)})},r.prototype._formatFileForNodeMailer=function(e){e.filename&&(e.fileName=e.filename),e.path&&(e.filePath=e.path),e.url&&(e.filePath=e.url),e.content&&(e.contents=e.content),e.filePath||e.content||!e.filename||(e.contents=\" \")},r.prototype.updateMissingTo=function(e){this.smtpapi.jsonObject().to&&this.smtpapi.jsonObject().to.length>0&&(e.to=this.from)},r.prototype.hasFiles=function(){return this.files.length>0},t.exports=r},{\"./file_handler\":412,fs:void 0,lodash:414,request:393,smtpapi:432}],412:[function(e,t,n){(function(n){\"use strict\";function r(e){this.filename=e.filename,e.contentType&&(this.contentType=e.contentType),e.cid&&(this.cid=e.cid),e.content?(this.type=\"content\",this.content=e.content,this.contentType||(this.contentType=o.lookup(this.filename))):e.path?(this.type=\"path\",this.path=e.path,this.filename||(this.filename=e.path.split(\"/\").pop()),a.isEmpty(e.contentType)&&(this.contentType=o.lookup(this.path))):e.url?(this.type=\"url\",this.url=e.url,this.contentType||(this.contentType=o.lookup(this.url))):(this.type=\"none\",this.contentType=\"none\")}var i=e(\"http\"),o=e(\"mime\"),a=e(\"lodash\"),s=e(\"url\"),c=e(\"fs\");r.handlers={content:function(e,t){e.content?t():t(!0,\"Content was missing\")},path:function(e,t){c.readFile(e.path,function(n,r){return n?t(!0,n):(e.content=r,void t())})},url:function(e,t){var r=s.parse(e.url),o=r.host,c=r.path,u=i.request({host:o,path:c,method:\"GET\"},function(r){var i=[],o=0;r.setEncoding(\"base64\"),r.on(\"data\",function(e){o+=n.byteLength(e),i.push(e)}),r.on(\"end\",function(){var r=new n(o,\"base64\"),s=0;a(i).each(function(e){s+=r.write(e,s,\"base64\")}),e.content=r,t()})});u.on(\"error\",function(e){t(!0,e)}),u.end()},none:function(e,t){t(!0,\"File was not included\")}},r.prototype.loadContent=function(e){var t=r.handlers[this.type];t?r.handlers[this.type](this,e):e(!0,\"Upload method not supported\")},t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,fs:void 0,http:void 0,lodash:414,mime:185,url:void 0}],413:[function(e,t,n){\"use strict\";var r=e(\"./../package.json\"),i=e(\"lodash\"),o=e(\"request\"),a=e(\"smtpapi\"),s=e(\"./email\"),c=function(e,t,n){if(!(this instanceof c))return new c(e,t,n);if(\"string\"==typeof t)this.api_user=e,this.api_key=t,this.options=n||{};else{if(\"object\"!=typeof t&&void 0!==t)throw new Error(\"Need a username + password or api key!\");this.api_key=e,this.api_user=null,this.options=t||{}}var u={};u.protocol=this.options.protocol||\"https\",u.host=this.options.host||\"api.sendgrid.com\",u.port=this.options.port||\"\",u.endpoint=this.options.endpoint||\"/api/mail.send.json\",delete this.options.protocol,delete this.options.host,delete this.options.port,delete this.options.endpoint,this.options.uriParts=u,this.options.uri=this.options.uri||u.protocol+\"://\"+u.host+(u.port?\":\"+u.port:\"\")+u.endpoint;var p=function(e,t){var t=t||function(){};e.constructor!==s&&(e=new s(e)),l.bind(this)(e,t)},l=function(e,t){var n={method:\"POST\",headers:{\"User-Agent\":\"sendgrid/\"+r.version+\";nodejs\"}};null===this.api_user&&(n.headers.Authorization=\"Bearer \"+this.api_key);var a=i.merge(n,this.options),s=o(a,function(e,n,r){var i;if(e)return t(e,null);try{i=JSON.parse(r)}catch(o){return o.message=o.message+\" JSONPARSEERROR when parsing: \"+r,t(new Error(o),null)}if(\"success\"!==i.message){var a=\"sendgrid error\";return i.errors&&(a=i.errors.shift()),t(new Error(a),null)}return t(null,i)}),c=e.toWebFormat();null!==this.api_user&&(c.api_user=this.api_user,c.api_key=this.api_key);var u=s.form(),p=function(e,t){u.append(e,t)};for(var l in c){var f=c[l];if(f&&f.filename)f.cid&&u.append(\"content[\"+f.filename+\"]\",f.cid),u.append(\"files[\"+f.filename+\"]\",f.content,{filename:f.filename,contentType:f.contentType});else try{Array.isArray(f)?f.forEach(p.bind(this,l)):p.bind(this)(l,f)}catch(d){}}};return this.version=r.version,this.Email=s,this.smtpapi=a,this.send=p,this.options=this.options,this};t.exports=c},{\"./../package.json\":415,\"./email\":411,lodash:414,request:393,smtpapi:432}],414:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function i(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function o(e,t,n){if(t!==t)return v(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function a(e){return\"function\"==typeof e||!1}function s(e){return null==e?\"\":e+\"\"}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function u(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function l(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=c)return u;var p=n[i];return u*(\"asc\"===p||p===!0?1:-1)}}return e.index-t.index}function f(e){return He[e]}function d(e){return Ve[e]}function h(e,t,n){return t?e=Ke[e]:n&&(e=Ge[e]),\"\\\\\"+e}function m(e){return\"\\\\\"+Ge[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function g(e){return!!e&&\"object\"==typeof e}function y(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=H,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],c=t?t(s,r,e):s;r&&n===c||(n=c,a[++o]=s)}return a}function w(e){for(var t=-1,n=e.length;++t<n&&y(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&y(e.charCodeAt(t)););return t}function k(e){return We[e]}function j(e){function t(e){if(g(e)&&!Cs(e)&&!(e instanceof Z)){if(e instanceof y)return e;if(ta.call(e,\"__chain__\")&&ta.call(e,\"__wrapped__\"))return dr(e)}return new y(e)}function n(){}function y(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Aa,this.__views__=[]}function te(){var e=new Z(this.__wrapped__);return e.__actions__=et(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=et(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=et(this.__views__),e}function re(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function He(){var e=this.__wrapped__.value(),t=this.__dir__,n=Cs(e),r=0>t,i=n?e.length:0,o=Wn(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=ka(c,this.__takeCount__);if(!n||R>i||i==c&&d==c)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;c--&&d>f;){\nu+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==$)v=x;else if(!x){if(b==L)continue e;break e}}h[f++]=v}return h}function Ve(){this.__data__={}}function We(e){return this.has(e)&&delete this.__data__[e]}function Ye(e){return\"__proto__\"==e?S:this.__data__[e]}function Ke(e){return\"__proto__\"!=e&&ta.call(this.__data__,e)}function Ge(e,t){return\"__proto__\"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ga(null),set:new la};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r=\"string\"==typeof t||Mi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Qe(e){var t=this.data;\"string\"==typeof e||Mi(e)?t.set.add(e):t.hash[e]=!0}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Lo(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function et(e,t){var n=-1,r=e.length;for(t||(t=Lo(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function it(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var c=e[i],u=+t(c);n(u,a)&&(a=u,s=c)}return s}function st(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function ct(e,t){for(var n=-1,r=e.length,i=Lo(r);++n<r;)i[n]=t(e[n],n,e);return i}function ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function pt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function lt(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ft(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dt(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}function ht(e,t){return e===S?t:e}function mt(e,t,n,r){return e!==S&&ta.call(r,n)?e:t}function vt(e,t,n){for(var r=-1,i=Rs(t),o=i.length;++r<o;){var a=i[r],s=e[a],c=n(s,t[a],a,e,t);(c===c?c===s:s!==s)&&(s!==S||a in e)||(e[a]=c)}return e}function gt(e,t){return null==t?e:bt(t,Rs(t),e)}function yt(e,t){for(var n=-1,r=null==e,i=!r&&Zn(e),o=i?e.length:0,a=t.length,s=Lo(a);++n<a;){var c=t[n];i?s[n]=Qn(c,o)?e[c]:S:s[n]=r?S:e[c]}return s}function bt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function xt(e,t,n){var r=typeof e;return\"function\"==r?t===S?e:an(e,t,n):null==e?Ao:\"object\"==r?qt(e):t===S?Mo(e):Rt(e,t)}function wt(e,t,n,r,i,o,a){var s;if(n&&(s=i?n(e,r,i):n(e)),s!==S)return s;if(!Mi(e))return e;var c=Cs(e);if(c){if(s=Yn(e),!t)return et(e,s)}else{var u=ra.call(e),p=u==J;if(u!=X&&u!=V&&(!p||i))return Ue[u]?Gn(e,u,t):i?e:{};if(s=Kn(p?{}:e),!t)return gt(s,e)}o||(o=[]),a||(a=[]);for(var l=o.length;l--;)if(o[l]==e)return a[l];return o.push(e),a.push(s),(c?tt:It)(e,function(r,i){s[i]=wt(r,t,n,i,e,o,a)}),s}function _t(e,t,n){if(\"function\"!=typeof e)throw new Jo(U);return fa(function(){e.apply(S,n)},t)}function kt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,a=Un(),s=a==o,c=s&&t.length>=R?mn(t):null,u=t.length;c&&(a=Ze,s=!1,t=c);e:for(;++i<n;){var p=e[i];if(s&&p===p){for(var l=u;l--;)if(t[l]===p)continue e;r.push(p)}else a(t,p,0)<0&&r.push(p)}return r}function jt(e,t){var n=!0;return Ba(e,function(e,r,i){return n=!!t(e,r,i)}),n}function St(e,t,n,r){var i=r,o=i;return Ba(e,function(e,a,s){var c=+t(e,a,s);(n(c,i)||c===r&&c===o)&&(i=c,o=e)}),o}function Et(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ot(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function At(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Ct(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];g(a)&&Zn(a)&&(n||Cs(a)||Si(a))?t?Ct(a,t,n,r):ut(r,a):n||(r[r.length]=a)}return r}function Tt(e,t){return Da(e,t,eo)}function It(e,t){return Da(e,t,Rs)}function Pt(e,t){return qa(e,t,Rs)}function Ft(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Fi(e[a])&&(o[++i]=a)}return o}function Mt(e,t,n){if(null!=e){n!==S&&n in lr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:S}}function zt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Mi(e)&&!g(t)?e!==e&&t!==t:Bt(e,t,zt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Cs(e),c=Cs(t),u=W,p=W;s||(u=ra.call(e),u==V?u=X:u!=X&&(s=Ui(e))),c||(p=ra.call(t),p==V?p=X:p!=X&&(c=Ui(t)));var l=u==X,f=p==X,d=u==p;if(d&&!s&&!l)return qn(e,t,u);if(!i){var h=l&&ta.call(e,\"__wrapped__\"),m=f&&ta.call(t,\"__wrapped__\");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Dn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=lr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var s=a[0],c=e[s],u=a[1];if(o&&a[2]){if(c===S&&!(s in e))return!1}else{var p=n?n(c,u,s):S;if(!(p===S?zt(u,c,n,!0):p))return!1}}return!0}function Dt(e,t){var n=-1,r=Zn(e)?Lo(e.length):[];return Ba(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function qt(e){var t=Hn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==S||n in lr(e))}}return function(e){return Nt(e,t)}}function Rt(e,t){var n=Cs(e),r=er(e)&&rr(t),i=e+\"\";return e=fr(e),function(o){if(null==o)return!1;var a=i;if(o=lr(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Mt(o,Kt(e,0,-1)),null==o)return!1;a=Er(e),o=lr(o)}return o[a]===t?t!==S||a in o:zt(t,o[a],S,!0)}}function Lt(e,t,n,r,i){if(!Mi(e))return e;var o=Zn(t)&&(Cs(t)||Ui(t)),a=o?S:Rs(t);return tt(a||t,function(s,c){if(a&&(c=s,s=t[c]),g(s))r||(r=[]),i||(i=[]),$t(e,t,c,Lt,n,r,i);else{var u=e[c],p=n?n(u,s,c,e,t):S,l=p===S;l&&(p=s),p===S&&(!o||c in e)||!l&&(p===p?p===u:u!==u)||(e[c]=p)}}),e}function $t(e,t,n,r,i,o,a){for(var s=o.length,c=t[n];s--;)if(o[s]==c)return void(e[n]=a[s]);var u=e[n],p=i?i(u,c,n,e,t):S,l=p===S;l&&(p=c,Zn(c)&&(Cs(c)||Ui(c))?p=Cs(u)?u:Zn(u)?et(u):[]:Ri(c)||Si(c)?p=Si(u)?Ki(u):Ri(u)?u:{}:l=!1),o.push(c),a.push(p),l?e[n]=r(p,c,i,o,a):(p===p?p!==u:u===u)&&(e[n]=p)}function Ut(e){return function(t){return null==t?S:t[e]}}function Ht(e){var t=e+\"\";return e=fr(e),function(n){return Mt(n,e,t)}}function Vt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Qn(r)){var i=r;da.call(e,r,1)}}return e}function Wt(e,t){return e+ya(Ea()*(t-e+1))}function Yt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Lo(i);++r<i;)o[r]=e[r+t];return o}function Gt(e,t){var n;return Ba(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Jt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Zt(e,t,n){var r=Ln(),i=-1;t=ct(t,function(e){return r(e)});var o=Dt(e,function(e){var n=ct(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Jt(o,function(e,t){return l(e,t,n)})}function Qt(e,t){var n=0;return Ba(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Xt(e,t){var n=-1,r=Un(),i=e.length,a=r==o,s=a&&i>=R,c=s?mn():null,u=[];c?(r=Ze,a=!1):(s=!1,c=t?[]:u);e:for(;++n<i;){var p=e[n],l=t?t(p,n,e):p;if(a&&p===p){for(var f=c.length;f--;)if(c[f]===l)continue e;t&&c.push(l),u.push(p)}else r(c,l,0)<0&&((t||s)&&c.push(l),u.push(p))}return u}function en(e,t){for(var n=-1,r=t.length,i=Lo(r);++n<r;)i[n]=e[t[n]];return i}function tn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function nn(e,t){var n=e;n instanceof Z&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,ut([n],o.args))}return n}function rn(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Ia>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Ao,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===S;o>i;){var u=ya((i+o)/2),p=n(e[u]),l=p!==S,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return ka(o,Ta)}function an(e,t,n){if(\"function\"!=typeof e)return Ao;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function cn(e,t,n){for(var r=n.length,i=-1,o=_a(e.length-r,0),a=-1,s=t.length,c=Lo(s+o);++a<s;)c[a]=t[a];for(;++i<r;)c[n[i]]=e[i];for(;o--;)c[a++]=e[i++];return c}function un(e,t,n){for(var r=-1,i=n.length,o=-1,a=_a(e.length-i,0),s=-1,c=t.length,u=Lo(a+c);++o<a;)u[o]=e[o];for(var p=o;++s<c;)u[p+s]=t[s];for(;++r<i;)u[p+n[r]]=e[o++];return u}function pn(e,t){return function(n,r,i){var o=t?t():{};if(r=Ln(r,i,3),Cs(n))for(var a=-1,s=n.length;++a<s;){var c=n[a];e(o,c,r(c,a,n),n)}else Ba(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ln(e){return gi(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for(\"function\"==typeof o?(o=an(o,s,5),i-=2):(o=\"function\"==typeof s?s:S,i-=o?1:0),a&&Xn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function fn(e,t){return function(n,r){var i=n?$a(n):0;if(!nr(i))return e(n,r);for(var o=t?i:-1,a=lr(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function dn(e){return function(t,n,r){for(var i=lr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var c=o[s];if(n(i[c],c,i)===!1)break}return t}}function hn(e,t){function n(){var i=this&&this!==nt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function mn(e){return ga&&la?new Je(e):null}function vn(e){return function(t){for(var n=-1,r=So(po(t)),i=r.length,o=\"\";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=za(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function yn(e){function t(n,r,i){i&&Xn(n,r,i)&&(r=S);var o=Nn(n,e,S,S,S,S,S,r);return o.placeholder=t.placeholder,o}return t}function bn(e,t){return gi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(S,n))})}function xn(e,t){return function(n,r,i){if(i&&Xn(n,r,i)&&(r=S),r=Ln(r,i,3),1==r.length){n=Cs(n)?n:pr(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return St(n,r,e,t)}}function wn(e,t){return function(n,r,o){if(r=Ln(r,o,3),Cs(n)){var a=i(n,r,t);return a>-1?n[a]:S}return At(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Ln(n,r,3),i(t,n,e)):-1}}function kn(e){return function(t,n,r){return n=Ln(n,r,3),At(t,n,e,!0)}}function jn(e){return function(){for(var t,n=arguments.length,r=e?n:-1,i=0,o=Lo(n);e?r--:++r<n;){var a=o[i++]=arguments[r];if(\"function\"!=typeof a)throw new Jo(U);!t&&y.prototype.thru&&\"wrapper\"==$n(a)&&(t=new y([],!0))}for(r=t?-1:n;++r<n;){a=o[r];var s=$n(a),c=\"wrapper\"==s?La(a):S;t=c&&tr(c[0])&&c[1]==(M|T|P|z)&&!c[4].length&&1==c[9]?t[$n(c[0])].apply(t,c[3]):1==a.length&&tr(a)?t[s]():t.thru(a)}return function(){var e=arguments,r=e[0];if(t&&1==e.length&&Cs(r)&&r.length>=R)return t.plant(r).value();for(var i=0,a=n?o[i].apply(this,e):r;++i<n;)a=o[i].call(this,a);return a}}}function Sn(e,t){return function(n,r,i){return\"function\"==typeof r&&i===S&&Cs(n)?e(n,r):t(n,an(r,i,3))}}function En(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n,eo)}}function On(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n)}}function An(e){return function(t,n,r){var i={};return n=Ln(n,r,3),It(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=s(t),(e?t:\"\")+Fn(t,n,r)+(e?\"\":t)}}function Tn(e){var t=gi(function(n,r){var i=b(r,t.placeholder);return Nn(n,e,S,r,i)});return t}function In(e,t){return function(n,r,i,o){var a=arguments.length<3;return\"function\"==typeof r&&o===S&&Cs(n)?e(n,r,i,a):Yt(n,Ln(r,o,4),i,a,t)}}function Pn(e,t,n,r,i,o,a,s,c,u){function p(){for(var y=arguments.length,x=y,w=Lo(y);x--;)w[x]=arguments[x];if(r&&(w=cn(w,r,i)),o&&(w=un(w,o,a)),h||v){var _=p.placeholder,k=b(w,_);if(y-=k.length,u>y){var j=s?et(s):S,E=_a(u-y,0),C=h?k:S,T=h?S:k,I=h?w:S,M=h?S:w;t|=h?P:F,t&=~(h?F:P),m||(t&=~(O|A));var z=[e,t,n,I,C,M,T,j,c,E],B=Pn.apply(S,z);return tr(e)&&Ua(B,z),B.placeholder=_,B}}var N=f?n:this,D=d?N[e]:e;return s&&(w=cr(w,s)),l&&c<w.length&&(w.length=c),this&&this!==nt&&this instanceof p&&(D=g||gn(e)),D.apply(N,w)}var l=t&M,f=t&O,d=t&A,h=t&T,m=t&C,v=t&I,g=d?S:gn(e);return p}function Fn(e,t,n){var r=e.length;if(t=+t,r>=t||!xa(t))return\"\";var i=t-r;return n=null==n?\" \":n+\"\",go(n,va(i/n.length)).slice(0,i)}function Mn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,c=-1,u=r.length,p=Lo(u+s);++c<u;)p[c]=r[c];for(;s--;)p[c++]=arguments[++t];var l=this&&this!==nt&&this instanceof i?a:e;return l.apply(o?n:this,p)}var o=t&O,a=gn(e);return i}function zn(e){var t=Vo[e];return function(e,n){return n=n===S?0:+n||0,n?(n=ua(10,n),t(e*n)/n):t(e)}}function Bn(e){return function(t,n,r,i){var o=Ln(r);return null==r&&o===xt?rn(t,n,e):on(t,n,o(r,i,1),e)}}function Nn(e,t,n,r,i,o,a,s){var c=t&A;if(!c&&\"function\"!=typeof e)throw new Jo(U);var u=r?r.length:0;if(u||(t&=~(P|F),r=i=S),u-=i?i.length:0,t&F){var p=r,l=i;r=i=S}var f=c?S:La(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&(ir(d,f),t=d[1],s=d[9]),d[9]=null==s?c?0:e.length:_a(s-u,0)||0,t==O)var h=hn(d[0],d[2]);else h=t!=P&&t!=(O|P)||d[4].length?Pn.apply(S,d):Mn.apply(S,d);var m=f?Ra:Ua;return m(h,d)}function Dn(e,t,n,r,i,o,a){var s=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++s<c;){var p=e[s],l=t[s],f=r?r(i?l:p,i?p:l,s):S;if(f!==S){if(f)continue;return!1}if(i){if(!ft(t,function(e){return p===e||n(p,e,r,i,o,a)}))return!1}else if(p!==l&&!n(p,l,r,i,o,a))return!1}return!0}function qn(e,t,n){switch(n){case Y:case K:return+e==+t;case G:return e.name==t.name&&e.message==t.message;case Q:return e!=+e?t!=+t:e==+t;case ee:case ne:return e==t+\"\"}return!1}function Rn(e,t,n,r,i,o,a){var s=Rs(e),c=s.length,u=Rs(t),p=u.length;if(c!=p&&!i)return!1;for(var l=c;l--;){var f=s[l];if(!(i?f in t:ta.call(t,f)))return!1}for(var d=i;++l<c;){f=s[l];var h=e[f],m=t[f],v=r?r(i?m:h,i?h:m,f):S;if(!(v===S?n(h,m,r,i,o,a):v))return!1;d||(d=\"constructor\"==f)}if(!d){var g=e.constructor,y=t.constructor;if(g!=y&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof g&&g instanceof g&&\"function\"==typeof y&&y instanceof y))return!1}return!0}function Ln(e,n,r){var i=t.callback||Eo;return i=i===Eo?xt:i,r?i(e,n,r):i}function $n(e){for(var t=e.name,n=Ma[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Un(e,n,r){var i=t.indexOf||jr;return i=i===jr?o:i,e?i(e,n,r):i}function Hn(e){for(var t=to(e),n=t.length;n--;)t[n][2]=rr(t[n][1]);return t}function Vn(e,t){var n=null==e?S:e[t];return Ni(n)?n:S}function Wn(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=ka(t,e+a);break;case\"takeRight\":e=_a(e,t-a)}}return{start:e,end:t}}function Yn(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ta.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Kn(e){var t=e.constructor;return\"function\"==typeof t&&t instanceof t||(t=Yo),new t}function Gn(e,t,n){var r=e.constructor;switch(t){case ie:return sn(e);case Y:case K:return new r(+e);case oe:case ae:case se:case ce:case ue:case pe:case le:case fe:case de:var i=e.buffer;return new r(n?sn(i):i,e.byteOffset,e.length);case Q:case ne:return new r(e);case ee:var o=new r(e.source,Pe.exec(e));o.lastIndex=e.lastIndex}return o}function Jn(e,t,n){null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),t=Er(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function Zn(e){return null!=e&&nr($a(e))}function Qn(e,t){return e=\"number\"==typeof e||ze.test(e)?+e:-1,t=null==t?Pa:t,e>-1&&e%1==0&&t>e}function Xn(e,t,n){if(!Mi(n))return!1;var r=typeof t;if(\"number\"==r?Zn(n)&&Qn(t,n.length):\"string\"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if(\"string\"==n&&Se.test(e)||\"number\"==n)return!0;if(Cs(e))return!1;var r=!je.test(e);return r||null!=t&&e in lr(t)}function tr(e){var n=$n(e);if(!(n in Z.prototype))return!1;var r=t[n];if(e===r)return!0;var i=La(r);return!!i&&e===i[0]}function nr(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Mi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=M>i,a=r==M&&n==T||r==M&&n==z&&e[7].length<=t[8]||r==(M|z)&&n==T;if(!o&&!a)return e;r&O&&(e[2]=t[2],i|=n&O?0:C);var s=t[3];if(s){var c=e[3];e[3]=c?cn(c,s,t[4]):et(s),e[4]=c?b(e[3],H):et(t[4])}return s=t[5],s&&(c=e[5],e[5]=c?un(c,s,t[6]):et(s),e[6]=c?b(e[5],H):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&M&&(e[8]=null==e[8]?t[8]:ka(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:Ts(e,t,or)}function ar(e,t){e=lr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function sr(e,t){var n={};return Tt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function cr(e,t){for(var n=e.length,r=ka(t.length,n),i=et(e);r--;){var o=t[r];e[r]=Qn(o,n)?i[o]:S}return e}function ur(e){for(var t=eo(e),n=t.length,r=n&&e.length,i=!!r&&nr(r)&&(Cs(e)||Si(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Qn(s,r)||ta.call(e,s))&&a.push(s)}return a}function pr(e){return null==e?[]:Zn(e)?Mi(e)?e:Yo(e):oo(e)}function lr(e){return Mi(e)?e:Yo(e)}function fr(e){if(Cs(e))return e;var t=[];return s(e).replace(Ee,function(e,n,r,i){t.push(r?i.replace(Te,\"$1\"):n||e)}),t}function dr(e){return e instanceof Z?e.clone():new y(e.__wrapped__,e.__chain__,et(e.__actions__))}function hr(e,t,n){t=(n?Xn(e,t,n):null==t)?1:_a(ya(t)||1,1);for(var r=0,i=e?e.length:0,o=-1,a=Lo(va(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function vr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0):[]}function xr(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function wr(e){return e?e[0]:S}function _r(e,t,n){var r=e?e.length:0;return n&&Xn(e,t,n)&&(t=!1),r?Ct(e,t):[]}function kr(e){var t=e?e.length:0;return t?Ct(e,!0):[]}function jr(e,t,n){var r=e?e.length:0;if(!r)return-1;if(\"number\"==typeof n)n=0>n?_a(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return o(e,t,n||0)}function Sr(e){return gr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Or(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(\"number\"==typeof n)i=(0>n?_a(r+n,0):ka(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)da.call(t,o,1);return t}function Cr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Ln(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Vt(e,o),r}function Tr(e){return vr(e,1)}function Ir(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function Pr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Fr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Mr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!1,!0):[]}function zr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&\"boolean\"!=typeof t&&(r=n,n=Xn(e,t,r)?S:t,t=!1);var a=Ln();return null==n&&a===xt||(n=a(n,r,3)),t&&Un()==o?x(e,n):Xt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Zn(e)?(n=_a(e.length,n),!0):void 0});for(var r=Lo(n);++t<n;)r[t]=ct(e,Ut(t));return r}function Dr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Nr(e);return null==t?i:(t=an(t,n,4),ct(i,function(e){return pt(e,t,S,!0)}))}function qr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Zn(n))var r=r?ut(kt(r,n),kt(n,r)):n}return r?Xt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Cs(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Lr(e){var n=t(e);return n.__chain__=!0,n}function $r(e,t,n){return t.call(n,e),e}function Ur(e,t,n){return t.call(n,e)}function Hr(){return Lr(this)}function Vr(){return new y(this.value(),this.__chain__)}function Wr(e){for(var t,r=this;r instanceof n;){var i=dr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Yr(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[t],thisArg:S}),new y(n,this.__chain__)}return this.thru(t)}function Kr(){return this.value()+\"\"}function Gr(){return nn(this.__wrapped__,this.__actions__)}function Jr(e,t,n){var r=Cs(e)?ot:jt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function Zr(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,t)}function Qr(e,t){return is(e,qt(t))}function Xr(e,t,n,r){var i=e?$a(e):0;return nr(i)||(e=oo(e),i=e.length),n=\"number\"!=typeof n||r&&Xn(t,n,r)?0:0>n?_a(i+n,0):n||0,\"string\"==typeof e||!Cs(e)&&$i(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Cs(e)?ct:Dt;return t=Ln(t,n,3),r(e,t)}function ti(e,t){return ei(e,Mo(t))}function ni(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Xn(e,t,n):null==t){e=pr(e);var r=e.length;return r>0?e[Wt(0,r-1)]:S}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=ka(0>t?0:+t||0,r);++i<t;){var s=Wt(i,a),c=o[s];o[s]=o[i],o[i]=c}return o.length=t,o}function ii(e){return ri(e,Aa)}function oi(e){var t=e?$a(e):0;return nr(t)?t:Rs(e).length}function ai(e,t,n){var r=Cs(e)?ft:Gt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function si(e,t,n){if(null==e)return[];n&&Xn(e,t,n)&&(t=S);var r=-1;t=Ln(t,n,3);var i=Dt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Jt(i,p)}function ci(e,t,n,r){return null==e?[]:(r&&Xn(t,n,r)&&(n=S),Cs(t)||(t=null==t?[]:[t]),Cs(n)||(n=null==n?[]:[n]),Zt(e,t,n))}function ui(e,t){return Zr(e,qt(t))}function pi(e,t){if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var n=e;e=t,t=n}return e=xa(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function li(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=e&&null==t?e.length:_a(+t||0,0),Nn(e,M,S,S,S,S,t)}function fi(e,t){var n;if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function di(e,t,n){function r(){d&&sa(d),u&&sa(u),m=0,u=d=h=S}function i(t,n){n&&sa(n),u=d=h=S,t&&(m=ms(),p=e.apply(f,c),d||u||(c=f=S))}function o(){var e=t-(ms()-l);0>=e||e>t?i(h,u):d=fa(o,e)}function a(){i(g,d)}function s(){if(c=arguments,l=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{u||y||(m=l);var r=v-(l-m),i=0>=r||r>v;i?(u&&(u=sa(u)),m=l,p=e.apply(f,c)):u||(u=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,p=e.apply(f,c)),!i||d||u||(c=f=S),p}var c,u,p,l,f,d,h,m=0,v=!1,g=!0;if(\"function\"!=typeof e)throw new Jo(U);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Mi(n)&&(y=!!n.leading,v=\"maxWait\"in n&&_a(+n.maxWait||0,t),g=\"trailing\"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new Jo(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if(\"function\"!=typeof e)throw new Jo(U);return t=_a(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=_a(n.length-t,0),o=Lo(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=Lo(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function yi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(t){return e.apply(this,t)}}function bi(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Jo(U);return n===!1?r=!1:Mi(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),di(e,t,{leading:r,maxWait:+t,trailing:i})}function xi(e,t){return t=null==t?Ao:t,Nn(t,P,S,[e],[])}function wi(e,t,n,r){return t&&\"boolean\"!=typeof t&&Xn(e,t,n)?t=!1:\"function\"==typeof t&&(r=n,n=t,t=!1),\"function\"==typeof n?wt(e,t,an(n,r,1)):wt(e,t)}function _i(e,t,n){return\"function\"==typeof t?wt(e,!0,an(t,n,1)):wt(e,!0)}function ki(e,t){return e>t}function ji(e,t){return e>=t}function Si(e){return g(e)&&Zn(e)&&ta.call(e,\"callee\")&&!pa.call(e,\"callee\")}function Ei(e){return e===!0||e===!1||g(e)&&ra.call(e)==Y}function Oi(e){return g(e)&&ra.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&g(e)&&!Ri(e)}function Ci(e){return null==e?!0:Zn(e)&&(Cs(e)||$i(e)||Si(e)||g(e)&&Fi(e.splice))?!e.length:!Rs(e).length}function Ti(e,t,n,r){n=\"function\"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?zt(e,t,n):!!i}function Ii(e){return g(e)&&\"string\"==typeof e.message&&ra.call(e)==G}function Pi(e){return\"number\"==typeof e&&xa(e)}function Fi(e){return Mi(e)&&ra.call(e)==J}function Mi(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function zi(e,t,n,r){return n=\"function\"==typeof n?an(n,r,3):S,Nt(e,Hn(t),n)}function Bi(e){return qi(e)&&e!=+e}function Ni(e){return null==e?!1:Fi(e)?oa.test(ea.call(e)):g(e)&&Me.test(e)}function Di(e){return null===e}function qi(e){return\"number\"==typeof e||g(e)&&ra.call(e)==Q}function Ri(e){var t;if(!g(e)||ra.call(e)!=X||Si(e)||!ta.call(e,\"constructor\")&&(t=e.constructor,\"function\"==typeof t&&!(t instanceof t)))return!1;var n;return Tt(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Li(e){return Mi(e)&&ra.call(e)==ee}function $i(e){return\"string\"==typeof e||g(e)&&ra.call(e)==ne}function Ui(e){return g(e)&&nr(e.length)&&!!$e[ra.call(e)]}function Hi(e){return e===S}function Vi(e,t){return t>e}function Wi(e,t){return t>=e}function Yi(e){var t=e?$a(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Gi(e,t,n){var r=za(e);return n&&Xn(e,t,n)&&(t=S),t?gt(r,t):r}function Ji(e){return Ft(e,eo(e))}function Zi(e,t,n){var r=null==e?S:Mt(e,fr(t),t+\"\");return r===S?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Cs(e)||Si(e))}function Xi(e,t,n){n&&Xn(e,t,n)&&(t=S);for(var r=-1,i=Rs(e),o=i.length,a={};++r<o;){var s=i[r],c=e[s];t?ta.call(a,c)?a[c].push(s):a[c]=[s]:a[c]=s}return a}function eo(e){if(null==e)return[];Mi(e)||(e=Yo(e));var t=e.length;t=t&&nr(t)&&(Cs(e)||Si(e))&&t||0;for(var n=e.constructor,r=-1,i=\"function\"==typeof n&&n.prototype===e,o=Lo(t),a=t>0;++r<t;)o[r]=r+\"\";for(var s in e)a&&Qn(s,t)||\"constructor\"==s&&(i||!ta.call(e,s))||o.push(s);return o}function to(e){e=lr(e);for(var t=-1,n=Rs(e),r=n.length,i=Lo(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function no(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),r=null==e?S:e[Er(t)]),r=r===S?n:r),Fi(r)?r.call(e):r}function ro(e,t,n){if(null==e)return e;var r=t+\"\";t=null!=e[r]||er(t,e)?[r]:fr(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];Mi(s)&&(i==a?s[c]=n:null==s[c]&&(s[c]=Qn(t[i+1])?[]:{})),s=s[c]}return e}function io(e,t,n,r){var i=Cs(e)||Ui(e);if(t=Ln(t,r,4),null==n)if(i||Mi(e)){var o=e.constructor;n=i?Cs(e)?new o:[]:za(Fi(o)?o.prototype:S)}else n={};return(i?tt:It)(e,function(e,r,i){return t(n,e,r,i)}),n}function oo(e){return en(e,Rs(e))}function ao(e){return en(e,eo(e))}function so(e,t,n){return t=+t||0,n===S?(n=t,t=0):n=+n||0,e>=ka(t,n)&&e<_a(t,n)}function co(e,t,n){n&&Xn(e,t,n)&&(t=n=S);var r=null==e,i=null==t;if(null==n&&(i&&\"boolean\"==typeof e?(n=e,e=1):\"boolean\"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Ea();return ka(e+o*(t-e+ca(\"1e-\"+((o+\"\").length-1))),t)}return Wt(e,t)}function uo(e){return e=s(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e=s(e),e&&e.replace(Be,f).replace(Ce,\"\")}function lo(e,t,n){e=s(e),t+=\"\";var r=e.length;return n=n===S?r:ka(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=s(e),e&&xe.test(e)?e.replace(ye,d):e}function ho(e){return e=s(e),e&&Ae.test(e)?e.replace(Oe,h):e||\"(?:)\"}function mo(e,t,n){e=s(e),t=+t;var r=e.length;if(r>=t||!xa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Fn(\"\",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Xn(e,t,n):null==t)?t=0:t&&(t=+t),e=xo(e),Sa(e,t||(Fe.test(e)?16:10))}function go(e,t){var n=\"\";if(e=s(e),t=+t,1>t||!e||!xa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=s(e),n=null==n?0:ka(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Xn(e,n,r)&&(n=r=S),e=s(e),n=vt(gt({},r||n),i,mt);var o,a,c=vt(gt({},n.imports),i.imports,mt),u=Rs(c),p=en(c,u),l=0,f=n.interpolate||Ne,d=\"__p += '\",h=Ko((n.escape||Ne).source+\"|\"+f.source+\"|\"+(f===ke?Ie:Ne).source+\"|\"+(n.evaluate||Ne).source+\"|$\",\"g\"),v=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++Le+\"]\")+\"\\n\";e.replace(h,function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(l,c).replace(De,m),n&&(o=!0,d+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,d+=\"';\\n\"+s+\";\\n__p += '\"),r&&(d+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),l=c+t.length,t}),d+=\"';\\n\";var g=n.variable;g||(d=\"with (obj) {\\n\"+d+\"\\n}\\n\"),d=(a?d.replace(he,\"\"):d).replace(me,\"$1\").replace(ve,\"$1;\"),d=\"function(\"+(g||\"obj\")+\") {\\n\"+(g?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+d+\"return __p\\n}\";var y=Zs(function(){return Ho(u,v+\"return \"+d).apply(S,p)});if(y.source=d,Ii(y))throw y;return y}function xo(e,t,n){var r=e;return(e=s(e))?(n?Xn(r,t,n):null==t)?e.slice(w(e),_(e)+1):(t+=\"\",e.slice(c(e,t),u(e,t)+1)):e}function wo(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(w(e)):e.slice(c(e,t+\"\")):e}function _o(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,u(e,t+\"\")+1):e}function ko(e,t,n){n&&Xn(e,t,n)&&(t=S);var r=B,i=N;if(null!=t)if(Mi(t)){var o=\"separator\"in t?t.separator:o;r=\"length\"in t?+t.length||0:r,i=\"omission\"in t?s(t.omission):i}else r=+t||0;if(e=s(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var c=e.slice(0,a);if(null==o)return c+i;if(Li(o)){if(e.slice(a).search(o)){var u,p,l=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||\"\")+\"g\")),o.lastIndex=0;u=o.exec(l);)p=u.index;c=c.slice(0,null==p?a:p)}}else if(e.indexOf(o,a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+i}function jo(e){return e=s(e),e&&be.test(e)?e.replace(ge,k):e}function So(e,t,n){return n&&Xn(e,t,n)&&(t=S),e=s(e),e.match(t||qe)||[]}function Eo(e,t,n){return n&&Xn(e,t,n)&&(t=S),\ng(e)?Co(e):xt(e,t)}function Oo(e){return function(){return e}}function Ao(e){return e}function Co(e){return qt(wt(e,!0))}function To(e,t){return Rt(e,wt(t,!0))}function Io(e,t,n){if(null==n){var r=Mi(t),i=r?Rs(t):S,o=i&&i.length?Ft(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Rs(t)));var a=!0,s=-1,c=Fi(e),u=o.length;n===!1?a=!1:Mi(n)&&\"chain\"in n&&(a=n.chain);for(;++s<u;){var p=o[s],l=t[p];e[p]=l,c&&(e.prototype[p]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,ut([this.value()],arguments))}}(l))}return e}function Po(){return nt._=ia,this}function Fo(){}function Mo(e){return er(e)?Ut(e):Ht(e)}function zo(e){return function(t){return Mt(e,fr(t),t+\"\")}}function Bo(e,t,n){n&&Xn(e,t,n)&&(t=n=S),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=_a(va((t-e)/(n||1)),0),o=Lo(i);++r<i;)o[r]=e,e+=n;return o}function No(e,t,n){if(e=ya(e),1>e||!xa(e))return[];var r=-1,i=Lo(ka(e,Ca));for(t=an(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function Do(e){var t=++na;return s(e)+t}function qo(e,t){return(+e||0)+(+t||0)}function Ro(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=Ln(t,n,3),1==t.length?dt(Cs(e)?e:pr(e),t):Qt(e,t)}e=e?rt.defaults(nt.Object(),e,rt.pick(nt,Re)):nt;var Lo=e.Array,$o=e.Date,Uo=e.Error,Ho=e.Function,Vo=e.Math,Wo=e.Number,Yo=e.Object,Ko=e.RegExp,Go=e.String,Jo=e.TypeError,Zo=Lo.prototype,Qo=Yo.prototype,Xo=Go.prototype,ea=Ho.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=nt._,oa=Ko(\"^\"+ea.call(ta).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),aa=e.ArrayBuffer,sa=e.clearTimeout,ca=e.parseFloat,ua=Vo.pow,pa=Qo.propertyIsEnumerable,la=Vn(e,\"Set\"),fa=e.setTimeout,da=Zo.splice,ha=e.Uint8Array,ma=Vn(e,\"WeakMap\"),va=Vo.ceil,ga=Vn(Yo,\"create\"),ya=Vo.floor,ba=Vn(Lo,\"isArray\"),xa=e.isFinite,wa=Vn(Yo,\"keys\"),_a=Vo.max,ka=Vo.min,ja=Vn($o,\"now\"),Sa=e.parseInt,Ea=Vo.random,Oa=Wo.NEGATIVE_INFINITY,Aa=Wo.POSITIVE_INFINITY,Ca=4294967295,Ta=Ca-1,Ia=Ca>>>1,Pa=9007199254740991,Fa=ma&&new ma,Ma={};t.support={};t.templateSettings={escape:we,evaluate:_e,interpolate:ke,variable:\"\",imports:{_:t}};var za=function(){function e(){}return function(t){if(Mi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),Ba=fn(It),Na=fn(Pt,!0),Da=dn(),qa=dn(!0),Ra=Fa?function(e,t){return Fa.set(e,t),e}:Ao,La=Fa?function(e){return Fa.get(e)}:Fo,$a=Ut(\"length\"),Ua=function(){var e=0,t=0;return function(n,r){var i=ms(),o=q-(i-t);if(t=i,o>0){if(++e>=D)return n}else e=0;return Ra(n,r)}}(),Ha=gi(function(e,t){return g(e)&&Zn(e)?kt(e,Ct(t,!1,!0)):[]}),Va=_n(),Wa=_n(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Lo(l),i=Un(),a=i==o,s=[];n--;){var c=e[n]=Zn(c=e[n])?c:[];r[n]=a&&c.length>=120?mn(n&&c):null}var u=e[0],p=-1,l=u?u.length:0,f=r[0];e:for(;++p<l;)if(c=u[p],(f?Ze(f,c):i(s,c,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,c):i(e[n],c,0))<0)continue e}f&&f.push(c),s.push(c)}return s}),Ka=gi(function(e,t){t=Ct(t);var n=yt(e,t);return Vt(e,t.sort(r)),n}),Ga=Bn(),Ja=Bn(!0),Za=gi(function(e){return Xt(Ct(e,!1,!0))}),Qa=gi(function(e,t){return Zn(e)?kt(e,t):[]}),Xa=gi(Nr),es=gi(function(e){var t=e.length,n=t>2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&\"function\"==typeof n?t-=2:(n=t>1&&\"function\"==typeof r?(--t,r):S,r=S),e.length=t,Dr(e,n,r)}),ts=gi(function(e){return e=Ct(e),this.thru(function(t){return Xe(Cs(t)?t:[lr(t)],e)})}),ns=gi(function(e,t){return yt(e,Ct(t))}),rs=pn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=wn(Ba),os=wn(Na,!0),as=Sn(tt,Ba),ss=Sn(it,Na),cs=pn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=pn(function(e,t,n){e[n]=t}),ps=gi(function(e,t,n){var r=-1,i=\"function\"==typeof t,o=er(t),a=Zn(e)?Lo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Jn(e,t,n)}),a}),ls=pn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=In(pt,Ba),ds=In(lt,Na),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Xn(t[0],t[1],n)&&(t.length=1),Zt(e,Ct(t),[])}),ms=ja||function(){return(new $o).getTime()},vs=gi(function(e,t,n){var r=O;if(n.length){var i=b(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Ct(t):Ji(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=Nn(e[i],O,e)}return e}),ys=gi(function(e,t,n){var r=O|A;if(n.length){var i=b(n,ys.placeholder);r|=P}return Nn(t,r,e,n,i)}),bs=yn(T),xs=yn(I),ws=gi(function(e,t){return _t(e,1,t)}),_s=gi(function(e,t,n){return _t(e,t,n)}),ks=jn(),js=jn(!0),Ss=gi(function(e,t){if(t=Ct(t),\"function\"!=typeof e||!ot(t,a))throw new Jo(U);var n=t.length;return gi(function(r){for(var i=ka(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})}),Es=Tn(P),Os=Tn(F),As=gi(function(e,t){return Nn(e,z,S,S,S,Ct(t))}),Cs=ba||function(e){return g(e)&&nr(e.length)&&ra.call(e)==W},Ts=ln(Lt),Is=ln(function(e,t,n){return n?vt(e,t,n):gt(e,t)}),Ps=bn(Is,ht),Fs=bn(Ts,or),Ms=kn(It),zs=kn(Pt),Bs=En(Da),Ns=En(qa),Ds=On(It),qs=On(Pt),Rs=wa?function(e){var t=null==e?S:e.constructor;return\"function\"==typeof t&&t.prototype===e||\"function\"!=typeof e&&Zn(e)?ur(e):Mi(e)?wa(e):[]}:ur,Ls=An(!0),$s=An(),Us=gi(function(e,t){if(null==e)return{};if(\"function\"!=typeof t[0]){var t=ct(Ct(t),Go);return ar(e,kt(eo(e),t))}var n=an(t[0],t[1],3);return sr(e,function(e,t,r){return!n(e,t,r)})}),Hs=gi(function(e,t){return null==e?{}:\"function\"==typeof t[0]?sr(e,an(t[0],t[1],3)):ar(e,Ct(t))}),Vs=vn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Ws=vn(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Ys=Cn(),Ks=Cn(!0),Gs=vn(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Js=vn(function(e,t,n){return e+(n?\" \":\"\")+(t.charAt(0).toUpperCase()+t.slice(1))}),Zs=gi(function(e,t){try{return e.apply(S,t)}catch(n){return Ii(n)?n:new Uo(n)}}),Qs=gi(function(e,t){return function(n){return Jn(n,e,t)}}),Xs=gi(function(e,t){return function(n){return Jn(e,n,t)}}),ec=zn(\"ceil\"),tc=zn(\"floor\"),nc=xn(ki,Oa),rc=xn(Vi,Aa),ic=zn(\"round\");return t.prototype=n.prototype,y.prototype=za(n.prototype),y.prototype.constructor=y,Z.prototype=za(n.prototype),Z.prototype.constructor=Z,Ve.prototype[\"delete\"]=We,Ve.prototype.get=Ye,Ve.prototype.has=Ke,Ve.prototype.set=Ge,Je.prototype.push=Qe,hi.Cache=Ve,t.after=pi,t.ary=li,t.assign=Is,t.at=ns,t.before=fi,t.bind=vs,t.bindAll=gs,t.bindKey=ys,t.callback=Eo,t.chain=Lr,t.chunk=hr,t.compact=mr,t.constant=Oo,t.countBy=rs,t.create=Gi,t.curry=bs,t.curryRight=xs,t.debounce=di,t.defaults=Ps,t.defaultsDeep=Fs,t.defer=ws,t.delay=_s,t.difference=Ha,t.drop=vr,t.dropRight=gr,t.dropRightWhile=yr,t.dropWhile=br,t.fill=xr,t.filter=Zr,t.flatten=_r,t.flattenDeep=kr,t.flow=ks,t.flowRight=js,t.forEach=as,t.forEachRight=ss,t.forIn=Bs,t.forInRight=Ns,t.forOwn=Ds,t.forOwnRight=qs,t.functions=Ji,t.groupBy=cs,t.indexBy=us,t.initial=Sr,t.intersection=Ya,t.invert=Xi,t.invoke=ps,t.keys=Rs,t.keysIn=eo,t.map=ei,t.mapKeys=Ls,t.mapValues=$s,t.matches=Co,t.matchesProperty=To,t.memoize=hi,t.merge=Ts,t.method=Qs,t.methodOf=Xs,t.mixin=Io,t.modArgs=Ss,t.negate=mi,t.omit=Us,t.once=vi,t.pairs=to,t.partial=Es,t.partialRight=Os,t.partition=ls,t.pick=Hs,t.pluck=ti,t.property=Mo,t.propertyOf=zo,t.pull=Ar,t.pullAt=Ka,t.range=Bo,t.rearg=As,t.reject=ni,t.remove=Cr,t.rest=Tr,t.restParam=gi,t.set=ro,t.shuffle=ii,t.slice=Ir,t.sortBy=si,t.sortByAll=hs,t.sortByOrder=ci,t.spread=yi,t.take=Pr,t.takeRight=Fr,t.takeRightWhile=Mr,t.takeWhile=zr,t.tap=$r,t.throttle=bi,t.thru=Ur,t.times=No,t.toArray=Yi,t.toPlainObject=Ki,t.transform=io,t.union=Za,t.uniq=Br,t.unzip=Nr,t.unzipWith=Dr,t.values=oo,t.valuesIn=ao,t.where=ui,t.without=Qa,t.wrap=xi,t.xor=qr,t.zip=Xa,t.zipObject=Rr,t.zipWith=es,t.backflow=js,t.collect=ei,t.compose=js,t.each=as,t.eachRight=ss,t.extend=Is,t.iteratee=Eo,t.methods=Ji,t.object=Rr,t.select=Zr,t.tail=Tr,t.unique=Br,Io(t,t),t.add=qo,t.attempt=Zs,t.camelCase=Vs,t.capitalize=uo,t.ceil=ec,t.clone=wi,t.cloneDeep=_i,t.deburr=po,t.endsWith=lo,t.escape=fo,t.escapeRegExp=ho,t.every=Jr,t.find=is,t.findIndex=Va,t.findKey=Ms,t.findLast=os,t.findLastIndex=Wa,t.findLastKey=zs,t.findWhere=Qr,t.first=wr,t.floor=tc,t.get=Zi,t.gt=ki,t.gte=ji,t.has=Qi,t.identity=Ao,t.includes=Xr,t.indexOf=jr,t.inRange=so,t.isArguments=Si,t.isArray=Cs,t.isBoolean=Ei,t.isDate=Oi,t.isElement=Ai,t.isEmpty=Ci,t.isEqual=Ti,t.isError=Ii,t.isFinite=Pi,t.isFunction=Fi,t.isMatch=zi,t.isNaN=Bi,t.isNative=Ni,t.isNull=Di,t.isNumber=qi,t.isObject=Mi,t.isPlainObject=Ri,t.isRegExp=Li,t.isString=$i,t.isTypedArray=Ui,t.isUndefined=Hi,t.kebabCase=Ws,t.last=Er,t.lastIndexOf=Or,t.lt=Vi,t.lte=Wi,t.max=nc,t.min=rc,t.noConflict=Po,t.noop=Fo,t.now=ms,t.pad=mo,t.padLeft=Ys,t.padRight=Ks,t.parseInt=vo,t.random=co,t.reduce=fs,t.reduceRight=ds,t.repeat=go,t.result=no,t.round=ic,t.runInContext=j,t.size=oi,t.snakeCase=Gs,t.some=ai,t.sortedIndex=Ga,t.sortedLastIndex=Ja,t.startCase=Js,t.startsWith=yo,t.sum=Ro,t.template=bo,t.trim=xo,t.trimLeft=wo,t.trimRight=_o,t.trunc=ko,t.unescape=jo,t.uniqueId=Do,t.words=So,t.all=Jr,t.any=ai,t.contains=Xr,t.eq=Ti,t.detect=is,t.foldl=fs,t.foldr=ds,t.head=wr,t.include=Xr,t.inject=fs,Io(t,function(){var e={};return It(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ri,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ri(t,e)}):ri(this.value())},t.VERSION=E,tt([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),tt([\"drop\",\"take\"],function(e,t){Z.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Z(this);n=null==n?1:_a(ya(n)||0,0);var i=this.clone();return r?i.__takeCount__=ka(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?\"Right\":\"\")}),i},Z.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),tt([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n!=$;Z.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:Ln(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),tt([\"first\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Z.prototype[e]=function(){return this[n](1).value()[0]}}),tt([\"initial\",\"rest\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[n](1)}}),tt([\"pluck\",\"where\"],function(e,t){var n=t?\"filter\":\"map\",r=t?qt:Mo;Z.prototype[e]=function(e){return this[n](r(e))}}),Z.prototype.compact=function(){return this.filter(Ao)},Z.prototype.reject=function(e,t){return e=Ln(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||0>t)?new Z(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},Z.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Z.prototype.toArray=function(){return this.take(Aa)},It(Z.prototype,function(e,n){var r=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n];o&&(t.prototype[n]=function(){var t=i?[1]:arguments,n=this.__chain__,a=this.__wrapped__,s=!!this.__actions__.length,c=a instanceof Z,u=t[0],p=c||Cs(a);p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var l=function(e){return i&&n?o(e,1)[0]:o.apply(S,ut([e],t))},f={func:Ur,args:[l],thisArg:S},d=c&&!s;if(i&&!n)return d?(a=a.clone(),a.__actions__.push(f),e.call(a)):o.call(S,this.value())[0];if(!i&&p){a=d?a:new Z(this);var h=e.apply(a,t);return h.__actions__.push(f),new y(h,n)}return this.thru(l)})}),tt([\"join\",\"pop\",\"push\",\"replace\",\"shift\",\"sort\",\"splice\",\"split\",\"unshift\"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Zo)[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),It(Z.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ma[i]||(Ma[i]=[]);o.push({name:n,func:r})}}),Ma[Pn(S,A).name]=[{name:\"wrapper\",func:S}],Z.prototype.clone=te,Z.prototype.reverse=re,Z.prototype.value=He,t.prototype.chain=Hr,t.prototype.commit=Vr,t.prototype.concat=ts,t.prototype.plant=Wr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Gr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,E=\"3.10.1\",O=1,A=2,C=4,T=8,I=16,P=32,F=64,M=128,z=256,B=30,N=\"...\",D=150,q=16,R=200,L=1,$=2,U=\"Expected a function\",H=\"__lodash_placeholder__\",V=\"[object Arguments]\",W=\"[object Array]\",Y=\"[object Boolean]\",K=\"[object Date]\",G=\"[object Error]\",J=\"[object Function]\",Z=\"[object Map]\",Q=\"[object Number]\",X=\"[object Object]\",ee=\"[object RegExp]\",te=\"[object Set]\",ne=\"[object String]\",re=\"[object WeakMap]\",ie=\"[object ArrayBuffer]\",oe=\"[object Float32Array]\",ae=\"[object Float64Array]\",se=\"[object Int8Array]\",ce=\"[object Int16Array]\",ue=\"[object Int32Array]\",pe=\"[object Uint8Array]\",le=\"[object Uint8ClampedArray]\",fe=\"[object Uint16Array]\",de=\"[object Uint32Array]\",he=/\\b__p \\+= '';/g,me=/\\b(__p \\+=) '' \\+/g,ve=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,ye=/[&<>\"'`]/g,be=RegExp(ge.source),xe=RegExp(ye.source),we=/<%-([\\s\\S]+?)%>/g,_e=/<%([\\s\\S]+?)%>/g,ke=/<%=([\\s\\S]+?)%>/g,je=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,Se=/^\\w*$/,Ee=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,Oe=/^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,Ae=RegExp(Oe.source),Ce=/[\\u0300-\\u036f\\ufe20-\\ufe23]/g,Te=/\\\\(\\\\)?/g,Ie=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pe=/\\w*$/,Fe=/^0[xX]/,Me=/^\\[object .+?Constructor\\]$/,ze=/^\\d+$/,Be=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Ne=/($^)/,De=/['\\n\\r\\u2028\\u2029\\\\]/g,qe=function(){var e=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",t=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+\";return RegExp(e+\"+(?=\"+e+t+\")|\"+e+\"?\"+t+\"|\"+e+\"+|[0-9]+\",\"g\")}(),Re=[\"Array\",\"ArrayBuffer\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Math\",\"Number\",\"Object\",\"RegExp\",\"Set\",\"String\",\"_\",\"clearTimeout\",\"isFinite\",\"parseFloat\",\"parseInt\",\"setTimeout\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\"],Le=-1,$e={};$e[oe]=$e[ae]=$e[se]=$e[ce]=$e[ue]=$e[pe]=$e[le]=$e[fe]=$e[de]=!0,$e[V]=$e[W]=$e[ie]=$e[Y]=$e[K]=$e[G]=$e[J]=$e[Z]=$e[Q]=$e[X]=$e[ee]=$e[te]=$e[ne]=$e[re]=!1;var Ue={};Ue[V]=Ue[W]=Ue[ie]=Ue[Y]=Ue[K]=Ue[oe]=Ue[ae]=Ue[se]=Ue[ce]=Ue[ue]=Ue[Q]=Ue[X]=Ue[ee]=Ue[ne]=Ue[pe]=Ue[le]=Ue[fe]=Ue[de]=!0,Ue[G]=Ue[J]=Ue[Z]=Ue[te]=Ue[re]=!1;var He={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},Ve={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},We={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Ye={\"function\":!0,object:!0},Ke={0:\"x30\",1:\"x31\",2:\"x32\",3:\"x33\",4:\"x34\",5:\"x35\",6:\"x36\",7:\"x37\",8:\"x38\",9:\"x39\",A:\"x41\",B:\"x42\",C:\"x43\",D:\"x44\",E:\"x45\",F:\"x46\",a:\"x61\",b:\"x62\",c:\"x63\",d:\"x64\",e:\"x65\",f:\"x66\",n:\"x6e\",r:\"x72\",t:\"x74\",u:\"x75\",v:\"x76\",x:\"x78\"},Ge={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Je=Ye[typeof n]&&n&&!n.nodeType&&n,Ze=Ye[typeof t]&&t&&!t.nodeType&&t,Qe=Je&&Ze&&\"object\"==typeof e&&e&&e.Object&&e,Xe=Ye[typeof self]&&self&&self.Object&&self,et=Ye[typeof window]&&window&&window.Object&&window,tt=Ze&&Ze.exports===Je&&Je,nt=Qe||et!==(this&&this.window)&&et||Xe||this,rt=j();\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?(nt._=rt,define(function(){return rt})):Je&&Ze?tt?(Ze.exports=rt)._=rt:Je._=rt:nt._=rt}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],415:[function(e,t,n){t.exports={_args:[[\"sendgrid\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"sendgrid@*\",_id:\"sendgrid@2.0.0\",_inCache:!0,_installable:!0,_location:\"/sendgrid\",_nodeVersion:\"4.1.2\",_npmUser:{email:\"elmer@thinkingserious.com\",name:\"thinkingserious\"},_npmVersion:\"3.3.5\",_phantomChildren:{},_requested:{name:\"sendgrid\",raw:\"sendgrid\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\",_shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",_shrinkwrap:null,_spec:\"sendgrid\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"info@sendgrid.com\",name:\"SendGrid\",url:\"sendgrid.com\"},bugs:{url:\"https://github.com/sendgrid/sendgrid-nodejs/issues\"},contributors:[{name:\"Kyle Partridge\",email:\"kyle.partridge@sendgrid.com\"},{name:\"David Tomberlin\",email:\"david.tomberlin@sendgrid.com\"},{name:\"Swift\",email:\"swift@sendgrid.com\"},{name:\"Brandon West\",email:\"brandon.west@sendgrid.com\"},{name:\"Scott Motte\",email:\"scott.motte@sendgrid.com\"},{name:\"Robert Acosta\",email:\"robert.acosta@sendgrid.com\"}],dependencies:{lodash:\"^3.0.1 || ^2.0.0\",mime:\"^1.2.9\",request:\"^2.60.0\",smtpapi:\"^1.2.0\"},description:\"Official SendGrid NodeJS library.\",devDependencies:{chai:\">= 0.1.6\",dotenv:\"0.0.2\",mocha:\">= 0.9.0\",nock:\"^0.16.0\",sinon:\"^1.6.0\"},directories:{},dist:{shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",tarball:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\"},engines:{node:\">= 0.4.7\"},gitHead:\"a5d9f8985136d948a8c47e525192a87ed60f61bf\",homepage:\"http://sendgrid.com\",license:\"MIT\",maintainers:[{name:\"siyegen\",email:\"siyegen@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"partkyle\",email:\"partkyle@gmail.com\"},{name:\"theycallmeswift\",email:\"theycallmeswift@gmail.com\"},{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"mkbernier\",email:\"mkbernier@gmail.com\"},{name:\"thinkingserious\",email:\"elmer@thinkingserious.com\"}],name:\"sendgrid\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/sendgrid-nodejs.git\"},scripts:{skipped:\"mocha --grep '#skip'\",test:\"mocha --grep '#skip' --invert\"},version:\"2.0.0\"}},{}],416:[function(e,t,n){(function(n){\"use strict\";function r(e,t){if(!e)throw new TypeError(\"root path required\");if(\"string\"!=typeof e)throw new TypeError(\"root path must be a string\");var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,s=n.setHeaders;if(s&&\"function\"!=typeof s)throw new TypeError(\"option setHeaders must be function\");n.maxage=n.maxage||n.maxAge||0,n.root=u(e);var l=i?a():o();return function(e,t,i){if(\"GET\"!==e.method&&\"HEAD\"!==e.method)return r?i():(t.statusCode=405,t.setHeader(\"Allow\",\"GET, HEAD\"),t.setHeader(\"Content-Length\",\"0\"),void t.end());var o=!r,a=c.original(e),u=c(e).pathname;\"/\"===u&&\"/\"!==a.pathname.substr(-1)&&(u=\"\");var f=p(e,u,n);f.on(\"directory\",l),s&&f.on(\"headers\",s),r&&f.on(\"file\",function(){o=!0}),f.on(\"error\",function(e){return!o&&e.statusCode<500?void i():void i(e)}),f.pipe(t)}}function i(e){for(var t=0;t<e.length&&\"/\"===e[t];t++);return t>1?\"/\"+e.substr(t):e}function o(){return function(){this.error(404)}}function a(){return function(){if(this.hasTrailingSlash())return void this.error(404);var e=c.original(this.req);e.path=null,e.pathname=i(e.pathname+\"/\");var t=l.format(e),r='Redirecting to <a href=\"'+s(t)+'\">'+s(t)+\"</a>\\n\",o=this.res;o.statusCode=303,o.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),o.setHeader(\"Content-Length\",n.byteLength(r)),o.setHeader(\"X-Content-Type-Options\",\"nosniff\"),o.setHeader(\"Location\",t),o.end(r)}}var s=e(\"escape-html\"),c=e(\"parseurl\"),u=e(\"path\").resolve,p=e(\"send\"),l=e(\"url\");t.exports=r,t.exports.mime=p.mime}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"escape-html\":96,parseurl:364,path:void 0,send:409,url:void 0}],417:[function(e,t,n){function r(e,t){for(var n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t(e[i]);return r}function i(e){return decodeURI(e.replace(/~1/g,\"/\").replace(/~0/g,\"~\"))}function o(e){if(\"string\"!=typeof e)throw new Error(\"Invalid JSON Pointer: invalid type (\"+typeof e+\")\");var t=r((\"#\"===e[0]?e.substr(1):e).split(\"/\"),i);if(\"\"!==t[0])throw new Error('Invalid JSON Pointer (\"'+e+'\"): non-empty pointers must begin with \"/\" or \"#/\"');return t}function a(e,t){for(var n=1,r=e.length;r>n;n++)if(t=t&&t[e[n]],void 0===t)return;return t}function s(e,t,n){for(var r=1,i=e.length-1;i>r;r++)if(t=(t||void 0)&&t[e[r]],void 0===t)return!1;if(\"object\"!=typeof t)return!1;var o=e[r];return\"-\"===o?Array.isArray(t)?(t[t.length]=n,!0):!1:(t[o]=n,!0)}var c={get:function(e){return a(this.__arrPointer,e)},set:function(e,t){return s(this.__arrPointer,e,t)}};t.exports=function(e){return Object.create(c,{__sPointer:{writable:!1,configurable:!1,enumerable:!1,value:e},__arrPointer:{writable:!1,configurable:!1,enumerable:!1,value:o(e)}})}},{}],418:[function(e,t,n){var r=e(\"skeemas-json-pointer\"),i={add:function(e,t){if(\"string\"!=typeof e)throw new Error('Unable to add JSON Ref: uri must be of type \"string\"');if(~e.indexOf(\"#\"))throw new Error(\"Unable to add JSON Ref (\"+e+\"): uri cannot include a fragment identifier (#)\");return this.__refs[e]=t,this},remove:function(e){return delete this.__refs[e],this},get:function(e,t,n){if(\"string\"!=typeof e)throw new Error('Unable to get JSON Ref: uri must be of type \"string\"');var i=e.split(\"#\");if(i.length>2)throw new Error(\"Unable to get JSON Ref (\"+e+\"): uri cannot contain multiple fragment identifiers (#)\");if(i[0]&&(t=this.__refs[i[0]]),!t)throw new Error(\"Unable to locate JSON Ref (\"+i[0]+\")\");return 1===i.length||n?t:r(i[1]).get(t)}};t.exports=function(){return Object.create(i,{__refs:{writable:!1,configurable:!1,enumerable:!1,value:{}}})}},{\"skeemas-json-pointer\":417}],419:[function(e,t,n){function r(){return Object.create(s,{_refs:{enumerable:!1,writable:!1,value:a()}})}var i=e(\"./validators\"),o=e(\"./validation-context\"),a=e(\"skeemas-json-refs\"),s={addRef:function(e,t){if(\"object\"==typeof e&&(t=e,e=null),e=e||t.id,!e)throw new Error(\"Cannot add a json schema reference without a uri/id.\");return this._refs.add(e,t),this},validate:function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");if(\"string\"==typeof t){var r=t;if(t=this._refs.get(r),!t)throw new Error(\"Unable to locate schema (\"+r+\"). Did you call addRef with this schema?\")}var a=o(t,{instance:e,refs:this._refs,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(a,e,t),a.result.valid&&(a.result.cleanInstance=a.cleanSubject),a.result}};t.exports=r,t.exports.validate=function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");var r=o(t,{instance:e,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(r,e,t),r.result.valid&&(r.result.cleanInstance=r.cleanSubject),r.result},t.exports.use=function(e){if(\"function\"!=typeof e)throw new Error(\"skeemas.use called with non-function. Plugins are in the form function(skeemas){}.\");return e(s),this}},{\"./validation-context\":420,\"./validators\":426,\"skeemas-json-refs\":418}],420:[function(e,t,n){var r=e(\"./validation-result\"),i=e(\"skeemas-json-refs\"),o={addError:function(e,t,n){return this.silent||this.result.addError(e,t,n,this),this},silently:function(e){this.silent=!0;var t=e();return this.silent=!1,t},subcontext:function(e){return a(e,this,this.silent)},runValidations:function(e,t,n){var r,i=this.breakOnError,o=Array.prototype.slice.call(arguments),a=!0;o[0]=this;for(var s=0,c=e.length;c>s;s++)if(r=e[s],r[0]&&(a=r[1].apply(null,o)&&a,i&&!a))return!1;return a}},a=t.exports=function(e,t,n){return t=t||{},Object.create(o,{id:{enumerable:!0,writable:!1,value:[]},schema:{enumerable:!0,writable:!1,value:e||t.schema},path:{enumerable:!0,writable:!1,value:t.path&&t.path.slice()||[\"#\"]},result:{enumerable:!0,writable:!1,value:!n&&t.result||r(t.instance)},refs:{enumerable:!0,writable:!1,value:t.refs||i()},silent:{enumerable:!0,writable:!0,value:!1},breakOnError:{enumerable:!0,writable:!0,value:t.breakOnError||!1},cleanWithDefaults:{enumerable:!0,writable:!0,value:t.cleanWithDefaults||!1},cleanSubject:{enumerable:!0,writable:!0,value:void 0}})}},{\"./validation-result\":421,\"skeemas-json-refs\":418}],421:[function(e,t,n){function r(){return this.message+\" (pointer: \"+this.context+\")\"}var i={addError:function(e,t,n,i){return this.errors.push({message:e,context:i.path.join(\"/\"),value:t,criteria:n,toString:r}),this.valid=!1,this}};t.exports=function(e){return Object.create(i,{instance:{enumerable:!0,writable:!1,value:e},cleanInstance:{enumerable:!0,writable:!0,value:void 0},valid:{enumerable:!0,writable:!0,value:!0},errors:{enumerable:!0,writable:!1,value:[]}})}},{}],422:[function(e,t,n){function r(e,t,n,r){var s=!0;return Array.isArray(n.items)?(s=o(e,t,n,r),\"additionalItems\"in n&&(s=a(e,t,n,r)&&s)):n.items&&(s=i(e,t,n,r)),s}function i(e,t,n,r){var i=n.items;if(\"object\"!=typeof i)throw new Error('Invalid schema: invalid \"items\"');for(var o=e.path.length,a=0,s=t.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function o(e,t,n,r){for(var i=n.items,o=e.path.length,a=0,s=i.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i[a]))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function a(e,t,n,r){var i=n.items.length,o=t.length,a=n.additionalItems;if(a===!1)return i>=o?!0:(e.addError('Failed \"additionalItems\" criteria: no additional items are allowed',t,n),!1);if(\"object\"!=typeof a)throw new Error('Invalid schema: invalid \"additionalItems\"');for(var s=e.path.length;o>i;i++){if(e.path[s]=i,!p(e,t[i],a))return e.addError('Failed \"additionalItems\" criteria',t,n),e.path.length=s,!1;r.push(e.cleanSubject)}return e.path.length=s,!0}function s(e,t,n){return t.length<n.minItems?(e.addError('Failed \"minItems\" criteria',t,n),!1):!0}function c(e,t,n){return t.length>n.maxItems?(e.addError('Failed \"maxItems\" criteria',t,n),!1):!0}function u(e,t,n){for(var r,i=t.length;i--;)for(r=i;r--;)if(l(t[i],t[r]))return e.addError('Failed \"uniqueItems\" criteria',t,n),!1;return!0}var p=e(\"./base\"),l=e(\"./deep-equal\");t.exports=function(e,t,n){if(!Array.isArray(t))return e.addError(\"Failed type:array criteria\",n),!1;var i=[],o=e.runValidations([[\"minItems\"in n,s],[\"maxItems\"in n,c],[\"uniqueItems\"in n,u],[\"items\"in n,r]],t,n,i);return\"items\"in n?e.cleanSubject=i:e.cleanSubject=t.slice(),o}},{\"./base\":423,\"./deep-equal\":425}],423:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return\"number\"===t&&e===Math.round(e)?\"integer\":t}function i(e,t,n){var r=n.format,i=y[r];if(!i)throw new Error(\"Invalid schema: unknown format (\"+r+\")\");var o=i.test?i.test(t):i(t);return o||e.addError('Failed \"format\" criteria ('+r+\")\",t,n),o}function o(e,t,n,r){for(var i,o,a=r.length;a--;){if(i=r[a],\"any\"===i)return!0;if(\"object\"!=typeof i){if(!(i in g.types))throw new Error(\"Invalid schema: invalid type (\"+i+\")\");if(\"number\"===i&&\"integer\"===n)return!0;if(n===i)return!0}else if(o=e.silently(function(){return v(e,t,i)}))return!0}return!1}function a(e,t,n){var r=n.allOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"allOf\" value must be an array');for(var i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o?!0:(e.addError('Failed \"allOf\" criteria',t,r),!1)}function s(e,t,n){var r=n.anyOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"anyOf\" value must be an array');var i=e.silently(function(){for(var n=r.length;n--;)if(v(e,t,r[n]))return!0;return!1});return i?!0:(e.addError('Failed \"anyOf\" criteria',t,r),!1)}function c(e,t,n){var r=n.oneOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"oneOf\" value must be an array');var i=r.length,o=0;return e.silently(function(){for(;i--;)v(e,t,r[i])&&(o+=1)}),1===o?!0:(e.addError('Failed \"oneOf\" criteria',t,r),!1)}function u(e,t,n){var r=n.not,i=e.silently(function(){return!v(e,t,r)});return i?!0:(e.addError('Failed \"not\" criteria',t,n),!1)}function p(e,t,n,r){var i=Array.isArray(n.disallow)?n.disallow:[n.disallow],a=!o(e,t,r,i);return a||e.addError('Failed \"disallow\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function l(e,t,n){for(var r=Array.isArray(n[\"extends\"])?n[\"extends\"]:[n[\"extends\"]],i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o}function f(e,t,n){var r=n[\"enum\"];if(!Array.isArray(r))throw new Error('Invalid schema: \"enum\" value must be an array');for(var i=r.length;i--;)if(g.deepEqual(t,r[i]))return!0;return e.addError('Failed \"enum\" criteria',t,r),!1}function d(e,t,n,r){var i=Array.isArray(n.type)?n.type:[n.type],a=o(e,t,r,i);return a||e.addError('Failed \"type\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function h(e,t,n,r){return g.types[r](e,t,n)}function m(e,t,n){var r=/^#|\\//.test(n.$ref),i=r?n.$ref:e.id.join(\"\")+n.$ref,o=e.refs.get(i,e.schema),a=e;\"#\"!==n.$ref[0]&&(a=e.subcontext(e.refs.get(i,e.schema,!0)));var s=v(a,t,o);return e.cleanSubject=a.cleanSubject,s}function v(e,t,n){if(n.$ref)return m(e,t,n);n.id&&e.id.push(n.id);var o=e.runValidations([[\"type\"in n,d],[\"disallow\"in n,p],[\"enum\"in n,f],[!0,h],[\"format\"in n,i],[\"extends\"in n,l],[\"allOf\"in n,a],[\"anyOf\"in n,s],[\"oneOf\"in n,c],[\"not\"in n,u]],t,n,r(t));return n.id&&e.id.pop(),o}var g=e(\"./\"),y={\"date-time\":/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}[t ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/i,date:/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,time:/^\\d{2}:\\d{2}:\\d{2}$/,color:/^(#[0-9a-f]{3}|#[0-9a-f]{6}|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)$/i,style:/^(?:\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;)*\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;?\\s*$/i,phone:/^(?:(?:\\(?(?:00|\\+)(?:[1-4]\\d\\d|[1-9]\\d?)\\)?)?[\\-\\.\\ \\\\\\/]?)?(?:(?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?){0,})(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(?:\\d+))?$/i,uri:/^(?:([a-z0-9+.-]+:\\/\\/)((?:(?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*)@)?((?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*)(:(?:\\d*))?(\\/(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?|([a-z0-9+.-]+:)(\\/?(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?)(\\?(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?(#(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?$/i,email:/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\\.)+[A-Z]{2,}$/i,ipv4:/^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$/,ipv6:/^\\s*((([0-9A-F]{1,4}:){7}([0-9A-F]{1,4}|:))|(([0-9A-F]{1,4}:){6}(:[0-9A-F]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){5}(((:[0-9A-F]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){4}(((:[0-9A-F]{1,4}){1,3})|((:[0-9A-F]{1,4})((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){3}(((:[0-9A-F]{1,4}){1,4})|((:[0-9A-F]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){2}(((:[0-9A-F]{1,4}){1,5})|((:[0-9A-F]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){1}(((:[0-9A-F]{1,4}){1,6})|((:[0-9A-F]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-F]{1,4}){1,7})|((:[0-9A-F]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/i,\nhostname:/^(?=.{1,255}$)[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?(?:\\.[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?)*\\.?$/i,\"utc-millisec\":function(e){var t=parseInt(e,10);return!isNaN(t)&&t.toString()===e.toString()},regex:function(e){try{new RegExp(e)}catch(t){return!1}return!0}};y[\"host-name\"]=y.hostname,y[\"ip-address\"]=y.ipv4,t.exports=v},{\"./\":426}],424:[function(e,t,n){function r(e,t,n){return\"boolean\"!=typeof t?(e.addError(\"Failed type:boolean criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],425:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return t}function i(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a(e[n],t[n]))return!1;return!0}function o(e,t){var n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(;r--;)if(!a(e[n[r]],t[n[r]]))return!1;return!0}var a=t.exports=function(e,t){if(e===t)return!0;var n=r(e);return n!==r(t)?!1:\"array\"===n?i(e,t):\"object\"===n?o(e,t):!1}},{}],426:[function(e,t,n){n.types={any:function(){return!0},array:e(\"./array\"),\"boolean\":e(\"./boolean\"),integer:e(\"./number\"),\"null\":e(\"./null\"),number:e(\"./number\"),object:e(\"./object\"),string:e(\"./string\")},n.deepEqual=e(\"./deep-equal\"),n.base=e(\"./base\")},{\"./array\":422,\"./base\":423,\"./boolean\":424,\"./deep-equal\":425,\"./null\":427,\"./number\":428,\"./object\":429,\"./string\":430}],427:[function(e,t,n){function r(e,t,n){return null!==t?(e.addError(\"Failed type:null criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],428:[function(e,t,n){function r(e,t,n){return\"number\"!=typeof t?(e.addError(\"Failed type:number criteria\",t,n),!1):!0}function i(e,t,n){return\"number\"!=typeof t||t!==Math.round(t)?(e.addError(\"Failed type:integer criteria\",t,n),!1):!0}function o(e,t,n){var r=n.exclusiveMinimum?t>n.minimum:t>=n.minimum;return r||e.addError('Failed \"minimum\" criteria',t,n),r}function a(e,t,n){var r=n.exclusiveMaximum?t<n.maximum:t<=n.maximum;return r||e.addError('Failed \"maximum\" criteria',t,n),r}function s(e,t,n,r){r=r||\"multipleOf\";var i=t/n[r]%1===0;return i||e.addError('Failed \"'+r+'\" criteria',t,n),i}function c(e,t,n){return s(e,t,n,\"divisibleBy\")}t.exports=function(e,t,n){var u=!0;return\"number\"===n.type&&(u=r(e,t,n)),\"integer\"===n.type&&(u=i(e,t,n)),e.cleanSubject=t,u&&e.runValidations([[\"minimum\"in n,o],[\"maximum\"in n,a],[\"multipleOf\"in n,s],[\"divisibleBy\"in n,c]],t,n)}},{}],429:[function(e,t,n){function r(e,t,n,r){var i=n.properties,o=!0;for(var a in i)a in t?(e.path.push(a),o=f(e,t[a],i[a])&&o,e.path.pop(),r[a]=e.cleanSubject):i[a].required===!0&&(e.addError('Failed \"required\" criteria: missing property ('+a+\")\",t,i),o=!1);return o}function i(e,t,n,r){var i=n.patternProperties;if(\"object\"!=typeof i)throw new Error('Invalid schema: \"patternProperties\" must be an object');for(var o,a,s=!0,c=Object.keys(i),u=c.length,p=Object.keys(t),l=p.length;l--;)for(a=p[l],o=u;o--;)a.match(c[o])&&(e.path.push(a),s=f(e,t[a],i[c[o]])&&s,e.path.pop(),a in r||(r[a]=e.cleanSubject));return s}function o(e,t,n,r){var i=n.additionalProperties;if(i===!0)return!0;var o=Object.keys(t),a=o.length;if(i===!1){for(;a--;)if(!(o[a]in r))return e.addError('Failed \"additionalProperties\" criteria: unexpected property ('+o[a]+\")\",t,n),!1;return!0}if(\"object\"!=typeof i)throw new Error('Invalid schema: \"additionalProperties\" must be a valid schema');for(var s;a--;)o[a]in r||(e.path.push(o[a]),s=f(e,t[o[a]],i)&&s,e.path.pop(),r[o[a]]=e.cleanSubject);return s}function a(e,t,n){var r=Object.keys(t);return r.length<n.minProperties?(e.addError('Failed \"minProperties\" criteria',t,n),!1):!0}function s(e,t,n){var r=Object.keys(t);return r.length>n.maxProperties?(e.addError('Failed \"maxProperties\" criteria',t,n),!1):!0}function c(e,t,n){var r=n.required;if(!Array.isArray(r))throw new Error('Invalid schema: \"required\" must be an array');for(var i=!0,o=r.length;o--;)r[o]in t||(e.addError('Missing required property \"'+r[o]+'\"',t,r[o]),i=!1);return i}function u(e,t,n){var r=n.dependencies;if(\"object\"!=typeof r)throw new Error('Invalid schema: \"dependencies\" must be an object');for(var i,o,a=!0,s=Object.keys(r),c=s.length;c--;)if(s[c]in t)if(i=r[s[c]],\"string\"==typeof i&&(i=[i]),Array.isArray(i))for(o=i.length;o--;)i[o]in t||(e.addError('Missing required property \"'+i[o]+'\"',t,i[o]),a=!1);else{if(\"object\"!=typeof i)throw new Error(\"Invalid schema: dependencies must be string, array, or object\");a=f(e,t,i)&&a}return a}function p(e,t){var n=t.properties;if(n)for(var r in n)\"default\"in n[r]&&!(r in e)&&(e[r]=n[r][\"default\"])}function l(e,t,n){if(\"object\"!=typeof t)return e.addError(\"Failed type:object criteria\",t,n),!1;var l={},f=e.runValidations([[\"properties\"in n,r],[\"patternProperties\"in n,i],[\"additionalProperties\"in n,o],[\"minProperties\"in n,a],[\"maxProperties\"in n,s],[Array.isArray(n.required),c],[\"dependencies\"in n,u]],t,n,l);return e.cleanWithDefaults&&p(l,n),e.cleanSubject=l,f}var f=e(\"./base\");t.exports=l},{\"./base\":423}],430:[function(e,t,n){function r(e,t,n){return s(t).length<n.minLength?(e.addError('Failed \"minLength\" criteria',t,n),!1):!0}function i(e,t,n){return s(t).length>n.maxLength?(e.addError('Failed \"maxLength\" criteria',t,n),!1):!0}function o(e,t,n){var r=n.pattern;return t.match(r)?!0:(e.addError('Failed \"pattern\" criteria ('+r+\")\",t,r),!1)}function a(e,t,n){return\"string\"!=typeof t?(e.addError(\"Failed type:string criteria\",n),!1):(e.cleanSubject=t,e.runValidations([[\"minLength\"in n,r],[\"maxLength\"in n,i],[\"pattern\"in n,o]],t,n))}var s=e(\"punycode\").ucs2.decode;t.exports=a},{punycode:void 0}],431:[function(e,t,n){arguments[4][354][0].apply(n,arguments)},{dup:354}],432:[function(e,t,n){!function(){\"use strict\";var n=e(\"./../package.json\"),r=function(e){this.version=n.version,e=e||{},this.header={},this.header.to=e.to||[],this.header.sub=e.sub||{},this.header.unique_args=e.unique_args||{},this.header.category=e.category||[],this.header.section=e.section||{},this.header.filters=e.filters||{},this.header.send_at=e.send_at||\"\",this.header.send_each_at=e.send_each_at||[],this.header.asm_group_id=e.asm_group_id||{},this.header.ip_pool=e.ip_pool||\"\"};r.prototype.addTo=function(e){e instanceof Array?this.header.to=this.header.to.concat(e):this.header.to.push(e)},r.prototype.setTos=function(e){e instanceof Array?this.header.to=e:this.header.to=[e]},r.prototype.addSubstitution=function(e,t){void 0===this.header.sub[e]&&(this.header.sub[e]=[]),t instanceof Array?this.header.sub[e]=this.header.sub[e].concat(t):this.header.sub[e].push(t)},r.prototype.setSubstitutions=function(e){this.header.sub=e},r.prototype.addUniqueArg=function(e,t){this.header.unique_args[e]=t},r.prototype.setUniqueArgs=function(e){this.header.unique_args=e},r.prototype.addCategory=function(e){e instanceof Array?this.header.category.concat(e):this.header.category.push(e)},r.prototype.setCategories=function(e){e instanceof Array?this.header.category=e:this.header.category=[e]},r.prototype.addSection=function(e,t){this.header.section[e]=t},r.prototype.setSections=function(e){this.header.section=e},r.prototype.addFilter=function(e,t,n){void 0===this.header.filters[e]&&(this.header.filters[e]={settings:{}}),this.header.filters[e].settings[t]=n},r.prototype.setFilters=function(e){this.header.filters=e},r.prototype.setSendAt=function(e){this.header.send_each_at=[],this.header.send_at=e},r.prototype.setSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at=e},r.prototype.addSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at.push(e)},r.prototype.setASMGroupID=function(e){this.header.asm_group_id=e},r.prototype.setIpPool=function(e){this.header.ip_pool=e},r.prototype.jsonObject=function(){var e={};for(var t in this.header)(this.header.hasOwnProperty(t)&&\"object\"==typeof this.header[t]&&Object.keys(this.header[t]).length||\"number\"==typeof this.header[t]&&this.header[t]||\"string\"==typeof this.header[t]&&this.header[t])&&(e[t]=this.header[t]);return e},r.prototype.jsonString=function(){var e=this.jsonObject(),t=JSON.stringify(e);return this.escapeUnicode(t)},r.prototype.escapeUnicode=function(e){return e.replace(/[^ -~]/g,function(e){var t=e.charCodeAt(0);return\"\\\\u\"+(16>t?\"000\":256>t?\"00\":4096>t?\"0\":\"\")+t.toString(16)})},t.exports=r}()},{\"./../package.json\":433}],433:[function(e,t,n){t.exports={_args:[[\"smtpapi@^1.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\"]],_from:\"smtpapi@>=1.2.0 <2.0.0\",_id:\"smtpapi@1.2.0\",_inCache:!0,_installable:!0,_location:\"/smtpapi\",_nodeVersion:\"0.12.6\",_npmUser:{email:\"eddiezane@gmail.com\",name:\"eddiezane\"},_npmVersion:\"2.11.2\",_phantomChildren:{},_requested:{name:\"smtpapi\",raw:\"smtpapi@^1.2.0\",rawSpec:\"^1.2.0\",scope:null,spec:\">=1.2.0 <2.0.0\",type:\"range\"},_requiredBy:[\"/sendgrid\"],_resolved:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\",_shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",_shrinkwrap:null,_spec:\"smtpapi@^1.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\",author:{name:\"scottmotte\"},bugs:{url:\"https://github.com/sendgrid/smtpapi-nodejs/issues\"},contributors:[{name:\"Yamil Asusta\",email:\"yamil@sendgrid.com\",url:\"yamilasusta.com\"},{name:\"Scott Motte\",email:\"scott@scottmotte.com\",url:\"scottmotte.com\"}],dependencies:{},description:\"Build SendGrid X-SMTPAPI headers in nodejs.\",devDependencies:{mocha:\"\",should:\"\"},directories:{test:\"test\"},dist:{shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",tarball:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\"},gitHead:\"866604875fe6b3baef846ebee50342cc19aa990e\",homepage:\"https://github.com/sendgrid/smtpapi-nodejs#readme\",keywords:[\"email\",\"headers\",\"sendgrid\",\"smtp\",\"smtpapi\",\"x-smtpapi\"],license:\"BSD\",main:\"lib/main.js\",maintainers:[{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"}],name:\"smtpapi\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/smtpapi-nodejs.git\"},scripts:{test:\"mocha test/*.js\"},version:\"1.2.0\"}},{}],434:[function(e,t,n){t.exports=e(\"./lib\")},{\"./lib\":435}],435:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=function(e,t){return c&&(clearTimeout(c),c=0),l.removeAllListeners(),l.once(\"error\",a.ignore),l.close(),n(e,t)};p=o.once(p);var l=r.createSocket(\"udp4\");l.once(\"error\",function(e){return p(e)}),l.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return p(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return p(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,l=r.transmitTimestamp,f=n;return r.d=f-o-(l-c),r.t=(c-o+(l-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),p(null,r)}):p(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,p(new Error(\"Timeout\"))},s.timeout));for(var f=new t(48),d=0;48>d;d++)f[d]=0;f[0]=35,u=Date.now(),a.fromMsecs(u,f,40),l.send(f,0,f.length,s.port,s.host,function(e,t){return e||48!==t?p(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset},a.ignore=function(){}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:149}],436:[function(e,t,n){(function(e){var n={dsa:{parts:[\"p\",\"q\",\"g\",\"y\"],sizePart:\"p\"},rsa:{parts:[\"e\",\"n\"],sizePart:\"n\"},ecdsa:{parts:[\"curve\",\"Q\"],sizePart:\"Q\"},ed25519:{parts:[\"R\"],normalize:!1,sizePart:\"R\"}};n.curve25519=n.ed25519;var r={dsa:{parts:[\"p\",\"q\",\"g\",\"y\",\"x\"]},rsa:{parts:[\"n\",\"e\",\"d\",\"iqmp\",\"p\",\"q\"]},ecdsa:{parts:[\"curve\",\"Q\",\"d\"]},ed25519:{parts:[\"R\",\"r\"],normalize:!1}};r.curve25519=r.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},o={nistp256:{size:256,pkcs8oid:\"1.2.840.10045.3.1.7\",p:new e(\"00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00c49d3608 86e70493 6a6678e1 139d26b7819f7e90\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551\".replace(/ /g,\"\"),\"hex\"),G:new e(\"046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5\".replace(/ /g,\"\"),\"hex\")},nistp384:{size:384,pkcs8oid:\"1.3.132.0.34\",p:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00a335926a a319a27a 1d00896a 6773a4827acdac73\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973\".replace(/ /g,\"\"),\"hex\"),G:new e(\"04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f\".replace(/ /g,\"\"),\"hex\")},nistp521:{size:521,pkcs8oid:\"1.3.132.0.35\",p:new e(\"01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00d09e8800 291cb853 96cc6717 393284aaa0da64ba\".replace(/ /g,\"\"),\"hex\"),n:new e(\"01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409\".replace(/ /g,\"\"),\"hex\"),G:new e(\"0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650\".replace(/ /g,\"\"),\"hex\")}};t.exports={info:n,privInfo:r,hashAlgs:i,curves:o}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],437:[function(e,t,n){(function(n){function r(t){if(h.assertCompatible(t,m,[1,4],\"key\"),this._isPriv=v.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,\"dsa\"===t.type){if(!g)throw new Error(\"Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH\");this._dh=f.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if(\"ecdsa\"===t.type){if(!g)return void 0===c&&(c=e(\"ecc-jsbn\")),void 0===u&&(u=e(\"ecc-jsbn/lib/ec\")),void 0===p&&(p=e(\"jsbn\").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new a(this._ecParams,t.part.d.data)));var n={nistp256:\"prime256v1\",nistp384:\"secp384r1\",nistp521:\"secp521r1\"}[t.curve];if(this._dh=f.createECDH(n),\"object\"!=typeof this._dh||\"function\"!=typeof this._dh.setPrivateKey)return g=!1,void r.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if(\"curve25519\"!==t.type)throw new Error(\"DH not supported for \"+t.type+\" keys\");void 0===s&&(s=e(\"jodid25519\")),this._isPriv&&(this._priv=t.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32))}}function i(e){var t=d.curves[e];l.object(t);var n=new p(t.p),r=new p(t.a),i=new p(t.b),o=new p(t.n),a=p.ONE,s=new u.ECCurveFp(n,r,i),c=s.decodePointHex(t.G.toString(\"hex\"));this.curve=s,this.g=c,this.n=o,this.h=a}function o(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString(\"hex\"))}function a(e,t){this._params=e,this._priv=new p(h.mpNormalize(t))}t.exports=r;var s,c,u,p,l=e(\"assert-plus\"),f=e(\"crypto\"),d=e(\"./algs\"),h=e(\"./utils\"),m=e(\"./key\"),v=e(\"./private-key\"),g=void 0!==f.createECDH;r.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},r.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},r.prototype.getKey=r.prototype.getPrivateKey,r.prototype._keyCheck=function(e,t){if(l.object(e,\"key\"),t||h.assertCompatible(e,v,[1,3],\"key\"),h.assertCompatible(e,m,[1,4],\"key\"),e.type!==this._algo)throw new Error(\"A \"+e.type+\" key cannot be used in \"+this._algo+\" Diffie-Hellman\");if(e.curve!==this._curve)throw new Error(\"A key from the \"+e.curve+\" curve cannot be used with a \"+this._curve+\" Diffie-Hellman\");\"dsa\"===e.type&&(l.deepEqual(e.part.p,this._p,\"DSA key prime does not match\"),l.deepEqual(e.part.g,this._g,\"DSA key generator does not match\"))},r.prototype.setKey=function(e){this._keyCheck(e),\"dsa\"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):\"ecdsa\"===e.type?g?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new a(this._ecParams,e.part.d.data):\"curve25519\"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},r.prototype.setPrivateKey=r.prototype.setKey,r.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error(\"DH exchange has not been initialized with a private key yet\");var t;if(\"dsa\"===this._algo)return this._dh.computeSecret(e.part.y.data);if(\"ecdsa\"===this._algo)return g?this._dh.computeSecret(e.part.Q.data):(t=new o(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if(\"curve25519\"===this._algo){t=e.part.R.data,0===t[0]&&(t=t.slice(1));var r=s.dh.computeKey(this._priv.toString(\"binary\"),t.toString(\"binary\"));return new n(r,\"binary\")}throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKey=function(){var e,t,r=[];if(\"dsa\"===this._algo)return this._dh.generateKeys(),r.push({name:\"p\",data:this._p.data}),r.push({name:\"q\",data:this._key.part.q.data}),r.push({name:\"g\",data:this._g.data}),r.push({name:\"y\",data:this._dh.getPublicKey()}),r.push({name:\"x\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"dsa\",parts:r}),this._isPriv=!0,this._key;if(\"ecdsa\"===this._algo){if(g)return this._dh.generateKeys(),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:this._dh.getPublicKey()}),r.push({name:\"d\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),o=new p(f.randomBytes(i.bitLength())),c=i.subtract(p.ONE);return e=o.mod(c).add(p.ONE),t=this._ecParams.getG().multiply(e),e=new n(e.toByteArray()),t=new n(this._ecParams.getCurve().encodePointHex(t),\"hex\"),this._priv=new a(this._ecParams,e),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:t}),r.push({name:\"d\",data:e}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key}if(\"curve25519\"===this._algo)return e=s.dh.generateKey(),t=s.dh.publicKey(e),this._priv=e=new n(e,\"binary\"),t=new n(t,\"binary\"),r.push({name:\"R\",data:t}),r.push({name:\"r\",data:n.concat([e,t])}),this._key=new v({type:\"curve25519\",parts:r}),this._isPriv=!0,this._key;throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKeys=r.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},a.prototype.deriveSharedSecret=function(e){l.ok(e instanceof o);var t=e._pub.multiply(this._priv);return new n(t.getX().toBigInteger().toByteArray())}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./key\":449,\"./private-key\":450,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,\"ecc-jsbn\":91,\"ecc-jsbn/lib/ec\":92,jodid25519:165,jsbn:171}],438:[function(e,t,n){(function(n){function r(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}function i(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}t.exports={Verifier:r,Signer:i};var o,a=e(\"stream\"),s=e(\"util\"),c=e(\"assert-plus\"),u=e(\"./signature\");s.inherits(r,a.Writable),r.prototype._write=function(e,t,n){this.chunks.push(e),n()},r.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},r.prototype.verify=function(e,t){var r;if(u.isSignature(e,[2,0])){if(\"ed25519\"!==e.type)return!1;r=e.toBuffer(\"raw\")}else if(\"string\"==typeof e)r=new n(e,\"base64\");else if(u.isSignature(e,[1,0]))throw new Error(\"signature was created by too old a version of sshpk and cannot be verified\");return c.buffer(r),o.sign.detached.verify(new Uint8Array(n.concat(this.chunks)),new Uint8Array(r),new Uint8Array(this.key.part.R.data))},s.inherits(i,a.Writable),i.prototype._write=function(e,t,n){this.chunks.push(e),n()},i.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},i.prototype.sign=function(){var e=o.sign.detached(new Uint8Array(n.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new n(e),r=u.parse(t,\"ed25519\",\"raw\");return r.hashAlgorithm=\"sha512\",r}}).call(this,e(\"buffer\").Buffer)},{\"./signature\":451,\"assert-plus\":10,buffer:void 0,stream:void 0,tweetnacl:466,util:void 0}],439:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name=\"FingerprintFormatError\",this.fingerprint=e,this.format=t,this.message=\"Fingerprint format is not supported, or is invalid: \",void 0!==e&&(this.message+=\" fingerprint = \"+e),void 0!==t&&(this.message+=\" format = \"+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name=\"InvalidAlgorithmError\",this.algorithm=e,this.message='Algorithm \"'+e+'\" is not supported'}function o(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name=\"KeyParseError\",this.format=t,this.keyName=e,this.innerErr=n,this.message=\"Failed to parse \"+e+\" as a valid \"+t+\" format key: \"+n.message}function a(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name=\"SignatureParseError\",this.type=e,this.format=t,this.innerErr=n,this.message=\"Failed to parse the given data as a \"+e+\" signature in \"+t+\" format: \"+n.message}var s=(e(\"assert-plus\"),e(\"util\"));s.inherits(r,Error),s.inherits(i,Error),s.inherits(o,Error),s.inherits(a,Error),t.exports={FingerprintFormatError:r,InvalidAlgorithmError:i,KeyParseError:o,SignatureParseError:a}},{\"assert-plus\":10,util:void 0}],440:[function(e,t,n){(function(n){function r(e){if(s.object(e,\"options\"),s.buffer(e.hash,\"options.hash\"),s.string(e.algorithm,\"options.algorithm\"),this.algorithm=e.algorithm.toLowerCase(),c.hashAlgs[this.algorithm]!==!0)throw new h(this.algorithm);this.hash=e.hash}function i(e){return e.replace(/(.{2})(?=.)/g,\"$1:\")}function o(e){return e.replace(/=*$/,\"\")}function a(e,t){return e.toUpperCase()+\":\"+o(t)}t.exports=r;var s=e(\"assert-plus\"),c=e(\"./algs\"),u=e(\"crypto\"),p=e(\"./errors\"),l=e(\"./key\"),f=e(\"./utils\"),d=p.FingerprintFormatError,h=p.InvalidAlgorithmError;r.prototype.toString=function(e){switch(void 0===e&&(e=\"md5\"===this.algorithm?\"hex\":\"base64\"),s.string(e),e){case\"hex\":return i(this.hash.toString(\"hex\"));case\"base64\":return a(this.algorithm,this.hash.toString(\"base64\"));default:throw new d(void 0,e)}},r.prototype.matches=function(e){s.object(e,\"key\"),f.assertCompatible(e,l,[1,0],\"key\");var t=e.hash(this.algorithm),n=u.createHash(this.algorithm).update(t).digest(\"base64\");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest(\"base64\")),this.hash2===n},r.parse=function(e,t){s.string(e,\"fingerprint\");var i,o;s.optionalArrayOfString(t,\"algorithms\");var a=e.split(\":\");if(2==a.length){i=a[0].toLowerCase();var u=/^[A-Za-z0-9+\\/=]+$/;if(!u.test(a[1]))throw new d(e);try{o=new n(a[1],\"base64\")}catch(p){throw new d(e)}}else if(a.length>2){i=\"md5\",\"md5\"===a[0].toLowerCase()&&(a=a.slice(1)),a=a.join(\"\");var l=/^[a-fA-F0-9]+$/;if(!l.test(a))throw new d(e);try{o=new n(a,\"hex\")}catch(p){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new h(i);if(void 0!==t&&(t=t.map(function(e){return e.toLowerCase()}),-1===t.indexOf(i)))throw new h(i);return new r({algorithm:i,hash:o})},r.isFingerprint=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,1],r._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./key\":449,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],441:[function(e,t,n){(function(n){function r(e){if(\"string\"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return c.read(e);if(e.match(/^\\s*ssh-[a-z]/))return u.read(e);if(e.match(/^\\s*ecdsa-/))return u.read(e);e=new n(e,\"binary\")}else{if(s.buffer(e),o(e))return c.read(e);if(i(e))return u.read(e)}if(e.readUInt32BE(0)<e.length)return p.read(e);throw new Error(\"Failed to auto-detect format of key\")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&\"ssh-\"===e.slice(t,t+4).toString(\"ascii\")?!0:t+6<=e.length&&\"ecdsa-\"===e.slice(t,t+6).toString(\"ascii\")}function o(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||\"BEGIN\"!==e.slice(t,t+5).toString(\"ascii\"))}function a(e){throw new Error('\"auto\" format cannot be used for writing')}t.exports={read:r,write:a};var s=e(\"assert-plus\"),c=(e(\"../utils\"),e(\"../key\"),e(\"../private-key\"),e(\"./pem\")),u=e(\"./ssh\"),p=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,\"./ssh\":447,\"assert-plus\":10,buffer:void 0}],442:[function(e,t,n){(function(n){function r(e,t){var r=e;\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var i=e.trim().split(\"\\n\"),s=i[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(s,\"invalid PEM header\");var c=i[i.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(c,\"invalid PEM footer\"),o.equal(s[2],c[2]);var d,h=s[2].toLowerCase();s[1]&&(o.equal(s[1],c[1],\"PEM header and footer mismatch\"),d=s[1].trim());for(var m={};;){if(i=i.slice(1),s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/),!s)break;m[s[1].toLowerCase()]=s[2]}if(m[\"proc-type\"]){var v=m[\"proc-type\"].split(\",\");if(\"4\"===v[0]&&\"ENCRYPTED\"===v[1])throw new Error(\"PEM key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\")}if(i=i.slice(0,-1).join(\"\"),e=new n(i,\"base64\"),d&&\"openssh\"===d.toLowerCase())return l.readSSHPrivate(h,e);if(d&&\"ssh2\"===d.toLowerCase())return f.readType(h,e);var g=new a.BerReader(e);return g.originalInput=r,g.readSequence(),d?(t&&o.strictEqual(t,\"pkcs1\"),u.readPkcs1(d,h,g)):(t&&o.strictEqual(t,\"pkcs8\"),p.readPkcs8(d,h,g))}function i(e,t){o.object(e);var r,i={ecdsa:\"EC\",rsa:\"RSA\",dsa:\"DSA\"}[e.type],l=new a.BerWriter;if(c.isPrivateKey(e))t&&\"pkcs8\"===t?(r=\"PRIVATE KEY\",p.writePkcs8(l,e)):(t&&o.strictEqual(t,\"pkcs1\"),r=i+\" PRIVATE KEY\",u.writePkcs1(l,e));else{if(!s.isKey(e))throw new Error(\"key is not a Key or PrivateKey\");t&&\"pkcs1\"===t?(r=i+\" PUBLIC KEY\",u.writePkcs1(l,e)):(t&&o.strictEqual(t,\"pkcs8\"),r=\"PUBLIC KEY\",p.writePkcs8(l,e))}var f=l.buffer.toString(\"base64\"),d=f.length+f.length/64+18+16+2*r.length+10,h=new n(d),m=0;m+=h.write(\"-----BEGIN \"+r+\"-----\\n\",m);for(var v=0;v<f.length;){var g=v+64;g>f.length&&(g=f.length),m+=h.write(f.slice(v,g),m),h[m++]=10,v=g}return m+=h.write(\"-----END \"+r+\"-----\\n\",m),h.slice(0,m)}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"asn1\"),s=(e(\"../algs\"),e(\"../utils\"),e(\"../key\")),c=e(\"../private-key\"),u=e(\"./pkcs1\"),p=e(\"./pkcs8\"),l=e(\"./ssh-private\"),f=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pkcs1\":443,\"./pkcs8\":444,\"./rfc4253\":445,\"./ssh-private\":446,asn1:9,\"assert-plus\":10,buffer:void 0}],443:[function(e,t,n){(function(n){function r(e){return E.read(e,\"pkcs1\")}function i(e){return E.write(e,\"pkcs1\")}function o(e,t){return x.strictEqual(e.peek(),w.Ber.Integer,t+\" is not an Integer\"),\nk.mpNormalize(e.readString(w.Ber.Integer,!0))}function a(e,t,n){switch(e){case\"RSA\":if(\"public\"===t)return s(n);if(\"private\"===t)return c(n);throw new Error(\"Unknown key type: \"+t);case\"DSA\":if(\"public\"===t)return p(n);if(\"private\"===t)return u(n);throw new Error(\"Unknown key type: \"+t);case\"EC\":case\"ECDSA\":if(\"private\"===t)return f(n);if(\"public\"===t)return l(n);throw new Error(\"Unknown key type: \"+t);default:throw new Error(\"Unknown key algo: \"+e)}}function s(e){var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new j(r)}function c(e){var t=o(e,\"version\");x.strictEqual(t[0],0);var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new S(l)}function u(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),0);var n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a=o(e,\"y\"),s=o(e,\"x\"),c={type:\"dsa\",parts:[{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i},{name:\"y\",data:a},{name:\"x\",data:s}]};return new S(c)}function p(e){var t=o(e,\"y\"),n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a={type:\"dsa\",parts:[{name:\"y\",data:t},{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i}]};return new j(a)}function l(e){e.readSequence();var t=e.readOID();x.strictEqual(t,\"1.2.840.10045.2.1\",\"must be ecPublicKey\");for(var r,i=e.readOID(),o=Object.keys(_.curves),a=0;a<o.length;++a){var s=o[a],c=_.curves[s];if(c.pkcs8oid===i){r=s;break}}x.string(r,\"a known ECDSA named curve\");var u=e.readString(w.Ber.BitString,!0);u=k.ecNormalize(u);var p={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(r)},{name:\"Q\",data:u}]};return new j(p)}function f(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),1);var r=e.readString(w.Ber.OctetString,!0);e.readSequence(160);var i=A(e);x.string(i,\"a known elliptic curve\"),e.readSequence(161);var a=e.readString(w.Ber.BitString,!0);a=k.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(i)},{name:\"Q\",data:a},{name:\"d\",data:r}]};return new S(s)}function d(e,t){switch(e.startSequence(),t.type){case\"rsa\":S.isPrivateKey(t)?m(e,t):h(e,t);break;case\"dsa\":S.isPrivateKey(t)?v(e,t):g(e,t);break;case\"ecdsa\":S.isPrivateKey(t)?b(e,t):y(e,t);break;default:throw new Error(\"Unknown key algo: \"+t.type)}e.endSequence()}function h(e,t){e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer)}function m(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),t.part.dmodp&&t.part.dmodq||k.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,w.Ber.Integer),e.writeBuffer(t.part.dmodq.data,w.Ber.Integer),e.writeBuffer(t.part.iqmp.data,w.Ber.Integer)}function v(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer),e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.x.data,w.Ber.Integer)}function g(e,t){e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer)}function y(e,t){e.startSequence(),e.writeOID(\"1.2.840.10045.2.1\");var n=t.part.curve.data.toString(),r=_.curves[n].pkcs8oid;x.string(r,\"a known ECDSA named curve\"),e.writeOID(r),e.endSequence();var i=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,w.Ber.BitString)}function b(e,t){var r=new n(1);r[0]=1,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),o=_.curves[i].pkcs8oid;x.string(o,\"a known ECDSA named curve\"),e.writeOID(o),e.endSequence(),e.startSequence(161);var a=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(a,w.Ber.BitString),e.endSequence()}t.exports={read:r,readPkcs1:a,write:i,writePkcs1:d};var x=e(\"assert-plus\"),w=e(\"asn1\"),_=e(\"../algs\"),k=e(\"../utils\"),j=e(\"../key\"),S=e(\"../private-key\"),E=e(\"./pem\"),O=e(\"./pkcs8\"),A=O.readECDSACurve}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./pkcs8\":444,asn1:9,\"assert-plus\":10,buffer:void 0}],444:[function(e,t,n){(function(n){function r(e){return A.read(e,\"pkcs8\")}function i(e){return A.write(e,\"pkcs8\")}function o(e,t){return _.strictEqual(e.peek(),k.Ber.Integer,t+\" is not an Integer\"),S.mpNormalize(e.readString(k.Ber.Integer,!0))}function a(e,t,n){n.peek()===k.Ber.Integer&&(_.strictEqual(t,\"private\",\"unexpected Integer at start of public key\"),n.readString(k.Ber.Integer,!0)),n.readSequence();var r=n.readOID();switch(r){case\"1.2.840.113549.1.1.1\":return\"public\"===t?s(n):c(n);case\"1.2.840.10040.4.1\":return\"public\"===t?u(n):p(n);case\"1.2.840.10045.2.1\":return\"public\"===t?d(n):f(n);default:throw new Error(\"Unknown key type OID \"+r)}}function s(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.BitString),e.readByte(),e.readSequence();var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",source:e.originalInput,parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new E(r)}function c(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.OctetString),e.readSequence();var t=o(e,\"version\");_.equal(t[0],0,\"unknown RSA private key version\");var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new O(l)}function u(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.BitString),e.readByte();var i=o(e,\"y\"),a={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:i}]};return new E(a)}function p(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.OctetString);var i=o(e,\"x\"),a=S.calculateDSAPublic(r,t,i),s={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:a},{name:\"x\",data:i}]};return new O(s)}function l(e){var t,r,i,o,a;if(e.peek()===k.Ber.OID){var s=e.readOID();for(r=Object.keys(j.curves),i=0;i<r.length;++i)if(o=r[i],a=j.curves[o],a.pkcs8oid===s){t=o;break}}else{e.readSequence();var c=e.readString(k.Ber.Integer,!0);_.strictEqual(c[0],1,\"ECDSA key not version 1\");var u={};e.readSequence();var p=e.readOID();_.strictEqual(p,\"1.2.840.10045.1.1\",\"ECDSA key is not from a prime-field\");var l=u.p=S.mpNormalize(e.readString(k.Ber.Integer,!0));u.size=8*l.length-S.countZeros(l),e.readSequence(),u.a=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),u.b=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),e.peek()===k.Ber.BitString&&(u.s=e.readString(k.Ber.BitString,!0)),u.G=e.readString(k.Ber.OctetString,!0),_.strictEqual(u.G[0],4,\"uncompressed G is required\"),u.n=S.mpNormalize(e.readString(k.Ber.Integer,!0)),u.h=S.mpNormalize(e.readString(k.Ber.Integer,!0)),_.strictEqual(u.h[0],1,\"a cofactor=1 curve is required\"),r=Object.keys(j.curves);var f=Object.keys(u);for(i=0;i<r.length;++i){o=r[i],a=j.curves[o];for(var d=!0,h=0;h<f.length;++h){var m=f[h];if(void 0!==a[m])if(\"object\"==typeof a[m]&&void 0!==a[m].equals){if(!a[m].equals(u[m])){d=!1;break}}else if(n.isBuffer(a[m])){if(a[m].toString(\"binary\")!==u[m].toString(\"binary\")){d=!1;break}}else if(a[m]!==u[m]){d=!1;break}}if(d){t=o;break}}}return t}function f(e){var t=l(e);_.string(t,\"a known elliptic curve\"),e.readSequence(k.Ber.OctetString),e.readSequence();var r=o(e,\"version\");_.equal(r[0],1,\"unknown version of ECDSA key\");var i=e.readString(k.Ber.OctetString,!0);e.readSequence(161);var a=e.readString(k.Ber.BitString,!0);a=S.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:a},{name:\"d\",data:i}]};return new O(s)}function d(e){var t=l(e);_.string(t,\"a known elliptic curve\");var r=e.readString(k.Ber.BitString,!0);r=S.ecNormalize(r);var i={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:r}]};return new E(i)}function h(e,t){if(e.startSequence(),O.isPrivateKey(t)){var r=new n(1);r[0]=0,e.writeBuffer(r,k.Ber.Integer)}switch(e.startSequence(),t.type){case\"rsa\":e.writeOID(\"1.2.840.113549.1.1.1\"),O.isPrivateKey(t)?m(t,e):v(t,e);break;case\"dsa\":e.writeOID(\"1.2.840.10040.4.1\"),O.isPrivateKey(t)?g(t,e):y(t,e);break;case\"ecdsa\":e.writeOID(\"1.2.840.10045.2.1\"),O.isPrivateKey(t)?w(t,e):x(t,e);break;default:throw new Error(\"Unsupported key type: \"+t.type)}e.endSequence()}function m(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=0,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.Integer),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),e.part.dmodp&&e.part.dmodq||S.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,k.Ber.Integer),t.writeBuffer(e.part.dmodq.data,k.Ber.Integer),t.writeBuffer(e.part.iqmp.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function v(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function g(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.writeBuffer(e.part.x.data,k.Ber.Integer),t.endSequence()}function y(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,k.Ber.Integer),t.endSequence()}function b(e,t){var r=j.curves[e.curve];if(r.pkcs8oid)t.writeOID(r.pkcs8oid);else{t.startSequence();var i=new n(1);i.writeUInt8(1,0),t.writeBuffer(i,k.Ber.Integer),t.startSequence(),t.writeOID(\"1.2.840.10045.1.1\"),t.writeBuffer(r.p,k.Ber.Integer),t.endSequence(),t.startSequence();var o=r.p;0===o[0]&&(o=o.slice(1)),t.writeBuffer(o,k.Ber.OctetString),t.writeBuffer(r.b,k.Ber.OctetString),t.writeBuffer(r.s,k.Ber.BitString),t.endSequence(),t.writeBuffer(r.G,k.Ber.OctetString),t.writeBuffer(r.n,k.Ber.Integer);var a=r.h;a||(a=new n(1),a[0]=1),t.writeBuffer(a,k.Ber.Integer),t.endSequence()}}function x(e,t){b(e,t),t.endSequence();var n=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(n,k.Ber.BitString)}function w(e,t){b(e,t),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=1,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.OctetString),t.startSequence(161);var i=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,k.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:r,readPkcs8:a,write:i,writePkcs8:h,readECDSACurve:l,writeECDSACurve:b};var _=e(\"assert-plus\"),k=e(\"asn1\"),j=e(\"../algs\"),S=e(\"../utils\"),E=e(\"../key\"),O=e(\"../private-key\"),A=e(\"./pem\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,asn1:9,\"assert-plus\":10,buffer:void 0}],445:[function(e,t,n){(function(n){function r(e){if(s.string(e),\"ssh-dss\"===e)return\"dsa\";if(\"ssh-rsa\"===e)return\"rsa\";if(\"ssh-ed25519\"===e)return\"ed25519\";if(\"ssh-curve25519\"===e)return\"curve25519\";if(e.match(/^ecdsa-sha2-/))return\"ecdsa\";throw new Error(\"Unknown algorithm \"+e)}function i(e){if(s.object(e),\"dsa\"===e.type)return\"ssh-dss\";if(\"rsa\"===e.type)return\"ssh-rsa\";if(\"ed25519\"===e.type)return\"ssh-ed25519\";if(\"curve25519\"===e.type)return\"ssh-curve25519\";if(\"ecdsa\"===e.type)return\"ecdsa-sha2-\"+e.part.curve.data.toString();throw new Error(\"Unknown key type \"+e.type)}function o(e,t,i){\"string\"==typeof i&&(i=new n(i)),s.buffer(i,\"buf\");var o={},a=o.parts=[],d=new f({buffer:i}),h=d.readString();s.ok(!d.atEnd(),\"key must have at least one part\"),o.type=r(h);var m=c.info[o.type].parts.length;for(t&&\"private\"===t&&(m=c.privInfo[o.type].parts.length);!d.atEnd()&&a.length<m;)a.push(d.readPart());for(;!e&&!d.atEnd();)a.push(d.readPart());s.ok(a.length>=1,\"key must have at least one part\"),s.ok(e||d.atEnd(),\"leftover bytes at end of key\");var v=p,g=c.info[o.type];if(\"private\"!==t&&g.parts.length===a.length||(g=c.privInfo[o.type],v=l),s.strictEqual(g.parts.length,a.length),\"ecdsa\"===o.type){var y=/^ecdsa-sha2-(.+)$/.exec(h);s.ok(null!==y),s.strictEqual(y[1],a[0].data.toString())}for(var b=!0,x=0;x<g.parts.length;++x)if(a[x].name=g.parts[x],\"curve\"!==a[x].name&&g.normalize!==!1){var w=a[x],_=u.mpNormalize(w.data);_!==w.data&&(w.data=_,b=!1)}return b&&(o._rfc4253Cache=d.toBuffer()),e&&\"object\"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(o)}function a(e){s.object(e);var t,n=i(e),r=c.info[e.type];l.isPrivateKey(e)&&(r=c.privInfo[e.type]);var o=r.parts,a=new f({});for(a.writeString(n),t=0;t<o.length;++t){var p=e.part[o[t]].data;r.normalize!==!1&&(p=u.mpNormalize(p)),a.writeBuffer(p)}return a.toBuffer()}t.exports={read:o.bind(void 0,!1,void 0),readType:o.bind(void 0,!1),write:a,readPartial:o.bind(void 0,!0),readInternal:o,keyTypeToAlg:i,algToKeyType:r};var s=e(\"assert-plus\"),c=e(\"../algs\"),u=e(\"../utils\"),p=e(\"../key\"),l=e(\"../private-key\"),f=e(\"../ssh-buffer\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"assert-plus\":10,buffer:void 0}],446:[function(e,t,n){(function(n){function r(e){return u.read(e)}function i(e,t){t=new l({buffer:t});var n=t.readCString();a.strictEqual(n,f,\"bad magic string\");var r=t.readString(),i=t.readString();if(\"none\"!==r||\"none\"!==i)throw new Error(\"OpenSSH-format key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\");t.readString();var o=t.readInt();if(1!==o)throw new Error(\"OpenSSH-format key file contains multiple keys: this is unsupported.\");var s=t.readBuffer();if(\"public\"===e)return a.ok(t.atEnd(),\"excess bytes left after key\"),p.read(s);var c=t.readBuffer();a.ok(t.atEnd(),\"excess bytes left after key\"),t=new l({buffer:c});var u=t.readInt(),d=t.readInt();a.strictEqual(u,d,\"checkints do not match\");var h={},m=p.readInternal(h,\"private\",t.remainder());t.skip(h.consumed);var v=t.readString();return m.comment=v,m}function o(e){var t;t=c.isPrivateKey(e)?e.toPublic():e;var r;if(c.isPrivateKey(e)){r=new l({});var i=s.randomBytes(4).readUInt32BE(0);r.writeInt(i),r.writeInt(i),r.write(e.toBuffer(\"rfc4253\")),r.writeString(e.comment||\"\");for(var o=1;r._offset%8!==0;)r.writeChar(o++)}var a=new l({});a.writeCString(f),a.writeString(\"none\"),a.writeString(\"none\"),a.writeBuffer(new n(0)),a.writeInt(1),a.writeBuffer(t.toBuffer(\"rfc4253\")),r&&a.writeBuffer(r.toBuffer()),a=a.toBuffer();var u;u=c.isPrivateKey(e)?\"OPENSSH PRIVATE KEY\":\"OPENSSH PUBLIC KEY\";var p=a.toString(\"base64\"),d=p.length+p.length/70+18+16+2*u.length+10;a=new n(d);var h=0;h+=a.write(\"-----BEGIN \"+u+\"-----\\n\",h);for(var m=0;m<p.length;){var v=m+70;v>p.length&&(v=p.length),h+=a.write(p.slice(m,v),h),a[h++]=10,m=v}return h+=a.write(\"-----END \"+u+\"-----\\n\",h),a.slice(0,h)}t.exports={read:r,readSSHPrivate:i,write:o};var a=e(\"assert-plus\"),s=(e(\"asn1\"),e(\"../algs\"),e(\"../utils\"),e(\"crypto\")),c=(e(\"../key\"),e(\"../private-key\")),u=e(\"./pem\"),p=e(\"./rfc4253\"),l=e(\"../ssh-buffer\"),f=\"openssh-key-v1\"}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],447:[function(e,t,n){(function(n){function r(e){\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var t=e.trim().replace(/[\\\\\\r]/g,\"\"),r=t.match(c);r||(r=t.match(u)),o.ok(r,\"key must match regex\");var i,s=a.algToKeyType(r[1]),p=new n(r[2],\"base64\"),l={};if(r[4])try{i=a.read(p)}catch(f){r=t.match(u),o.ok(r,\"key must match regex\"),p=new n(r[2],\"base64\"),i=a.readInternal(l,\"public\",p)}else i=a.readInternal(l,\"public\",p);if(o.strictEqual(s,i.type),r[4]&&r[4].length>0)i.comment=r[4];else if(l.consumed){var d=r[2]+r[3],h=4*Math.ceil(l.consumed/3);d=d.slice(0,h-2).replace(/[^a-zA-Z0-9+\\/=]/g,\"\")+d.slice(h-2);var m=l.consumed%3;for(m>0&&\"=\"!==d.slice(h-1,h)&&h--;\"=\"===d.slice(h,h+1);)h++;var v=d.slice(h);v=v.replace(/[\\r\\n]/g,\" \").replace(/^\\s+/,\"\"),v.match(/^[a-zA-Z0-9]/)&&(i.comment=v)}return i}function i(e){if(o.object(e),!s.isKey(e))throw new Error(\"Must be a public key\");var t=[],r=a.keyTypeToAlg(e);t.push(r);var i=a.write(e);return t.push(i.toString(\"base64\")),e.comment&&t.push(e.comment),new n(t.join(\" \"))}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"./rfc4253\"),s=(e(\"../utils\"),e(\"../key\")),c=(e(\"../private-key\"),e(\"./ssh-private\"),/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/]+[=]*)([\\n \\t]+([^\\n]+))?$/),u=/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/ \\t\\n]+[=]*)(.*)$/}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./rfc4253\":445,\"./ssh-private\":446,\"assert-plus\":10,buffer:void 0}],448:[function(e,t,n){var r=e(\"./key\"),i=e(\"./fingerprint\"),o=e(\"./signature\"),a=e(\"./private-key\"),s=e(\"./errors\");t.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:a,parsePrivateKey:a.parse,FingerprintFormatError:s.FingerprintFormatError,InvalidAlgorithmError:s.InvalidAlgorithmError,KeyParseError:s.KeyParseError,SignatureParseError:s.SignatureParseError}},{\"./errors\":439,\"./fingerprint\":440,\"./key\":449,\"./private-key\":450,\"./signature\":451}],449:[function(e,t,n){(function(n){function r(e){o.object(e,\"options\"),o.arrayOfObject(e.parts,\"options.parts\"),o.string(e.type,\"options.type\"),o.optionalString(e.comment,\"options.comment\");var t=a.info[e.type];if(\"object\"!=typeof t)throw new m(e.type);for(var n={},r=0;r<e.parts.length;++r){var i=e.parts[r];n[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,\"ecdsa\"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=a.curves[c].size}else if(\"ed25519\"===this.type)s=256,this.curve=\"curve25519\";else{var u=this.part[t.sizePart];s=u.data.length,s=8*s-f.countZeros(u.data)}this.size=s}t.exports=r;var i,o=e(\"assert-plus\"),a=e(\"./algs\"),s=e(\"crypto\"),c=e(\"./fingerprint\"),u=e(\"./signature\"),p=e(\"./dhe\"),l=e(\"./errors\"),f=e(\"./utils\"),d=e(\"./private-key\");try{i=e(\"./ed-compat\")}catch(h){}var m=l.InvalidAlgorithmError,v=l.KeyParseError,g={};g.auto=e(\"./formats/auto\"),g.pem=e(\"./formats/pem\"),g.pkcs1=e(\"./formats/pkcs1\"),g.pkcs8=e(\"./formats/pkcs8\"),g.rfc4253=e(\"./formats/rfc4253\"),g.ssh=e(\"./formats/ssh\"),g[\"ssh-private\"]=e(\"./formats/ssh-private\"),g.openssh=g[\"ssh-private\"],r.formats=g,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"ssh\"),o.string(e,\"format\"),o.object(g[e],\"formats[format]\"),\"rfc4253\"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this)},r.prototype.toString=function(e){return this.toBuffer(e).toString()},r.prototype.hash=function(e){if(o.string(e,\"algorithm\"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer(\"rfc4253\")).digest();return\"string\"==typeof t&&(t=new n(t,\"binary\")),this._hashCache[e]=t,t},r.prototype.fingerprint=function(e){void 0===e&&(e=\"sha256\"),o.string(e,\"algorithm\");var t={hash:this.hash(e),algorithm:e};return new c(t)},r.prototype.defaultHashAlgorithm=function(){var e=\"sha1\";return\"rsa\"===this.type&&(e=\"sha256\"),\"dsa\"===this.type&&this.size>1024&&(e=\"sha256\"),\"ed25519\"===this.type&&(e=\"sha512\"),\"ecdsa\"===this.type&&(e=this.size<=256?\"sha256\":this.size<=384?\"sha384\":\"sha512\"),e},r.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Verifier(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,a;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=s.createVerify(r)}catch(c){a=c}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=s.createVerify(r)),o.ok(t,\"failed to create verifier\");var p=t.verify.bind(t),l=this.toBuffer(\"pkcs8\"),f=this;return t.verify=function(t,r){if(u.isSignature(t,[2,0]))return t.type!==f.type?!1:t.hashAlgorithm&&t.hashAlgorithm!==e?!1:p(l,t.toBuffer(\"asn1\"));if(\"string\"==typeof t||n.isBuffer(t))return p(l,t,r);throw u.isSignature(t,[1,0])?new Error(\"signature was created by too old a version of sshpk and cannot be verified\"):new TypeError(\"signature must be a string, Buffer, or Signature object\")},t},r.prototype.createDiffieHellman=function(){if(\"rsa\"===this.type)throw new Error(\"RSA keys do not support Diffie-Hellman\");return new p(this)},r.prototype.createDH=r.prototype.createDiffieHellman,r.parse=function(e,t,n){\"string\"!=typeof e&&o.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),o.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),o.object(g[t],\"formats[format]\");try{var r=g[t].read(e);return r instanceof d&&(r=r.toPublic()),r.comment||(r.comment=n),r}catch(i){throw new v(n,t,i)}},r.isKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,5],r._oldVersionDetect=function(e){return o.func(e.toBuffer),o.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./dhe\":437,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh\":447,\"./formats/ssh-private\":446,\"./private-key\":450,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],450:[function(e,t,n){(function(n){function r(e){a.object(e,\"options\"),h.call(this,e),this._pubCache=void 0}t.exports=r;var i,o,a=e(\"assert-plus\"),s=e(\"./algs\"),c=e(\"crypto\"),u=(e(\"./fingerprint\"),e(\"./signature\")),p=e(\"./errors\"),l=e(\"util\"),f=e(\"./utils\");try{i=e(\"./ed-compat\")}catch(d){}var h=e(\"./key\"),m=(p.InvalidAlgorithmError,p.KeyParseError),v={};v.auto=e(\"./formats/auto\"),v.pem=e(\"./formats/pem\"),v.pkcs1=e(\"./formats/pkcs1\"),v.pkcs8=e(\"./formats/pkcs8\"),v.rfc4253=e(\"./formats/rfc4253\"),v[\"ssh-private\"]=e(\"./formats/ssh-private\"),v.openssh=v[\"ssh-private\"],v.ssh=v[\"ssh-private\"],l.inherits(r,h),r.formats=v,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"pkcs1\"),a.string(e,\"format\"),a.object(v[e],\"formats[format]\"),v[e].write(this)},r.prototype.hash=function(e){return this.toPublic().hash(e)},r.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];t.push(this.part[r])}return this._pubCache=new h({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},r.prototype.derive=function(t,i){a.string(t,\"type\"),a.optionalNumber(i,\"size\");var s,c;if(\"ed25519\"===this.type&&\"curve25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.dh.publicKey(s),s=f.mpNormalize(n.concat([s,c])),new r({type:\"curve25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});if(\"curve25519\"===this.type&&\"ed25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.eddsa.publicKey(s.toString(\"binary\")),c=new n(c,\"binary\"),s=f.mpNormalize(n.concat([s,c])),new r({type:\"ed25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});throw new Error(\"Key derivation not supported from \"+this.type+\" to \"+t)},r.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},r.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Signer(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,o;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=c.createSign(r)}catch(s){o=s}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=c.createSign(r)),a.ok(t,\"failed to create verifier\");var p=t.sign.bind(t),l=this.toBuffer(\"pkcs1\"),f=this.type;return t.sign=function(){var t=p(l);return\"string\"==typeof t&&(t=new n(t,\"binary\")),t=u.parse(t,f,\"asn1\"),t.hashAlgorithm=e,t},t},r.parse=function(e,t,n){\"string\"!=typeof e&&a.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),a.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),a.object(v[t],\"formats[format]\");try{var i=v[t].read(e);return a.ok(i instanceof r,\"key is not a private key\"),i.comment||(i.comment=n),i}catch(o){throw new m(n,t,o)}},r.isPrivateKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,4],r._oldVersionDetect=function(e){return a.func(e.toPublic),a.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh-private\":446,\"./key\":449,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,jodid25519:165,util:void 0}],451:[function(e,t,n){(function(n){function r(e){c.object(e,\"options\"),c.arrayOfObject(e.parts,\"options.parts\"),c.string(e.type,\"options.type\");for(var t={},n=0;n<e.parts.length;++n){var r=e.parts[n];t[r.name]=r}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.parts=e.parts,this.part=t}function i(e,t,n,i,o){if(\"ssh\"===n){try{var a=new f({buffer:e}),s=a.readString()}catch(u){}if(s===o){var p=a.readPart();return c.ok(a.atEnd(),\"extra trailing bytes\"),p.name=\"sig\",i.parts.push(p),new r(i)}}return i.parts.push({name:\"sig\",data:e}),new r(i)}function o(e,t,n,i){var o=new l.BerReader(e);o.readSequence();var a=o.readString(l.Ber.Integer,!0),s=o.readString(l.Ber.Integer,!0);return i.parts.push({name:\"r\",data:p.mpNormalize(a)}),i.parts.push({name:\"s\",data:p.mpNormalize(s)}),new r(i)}function a(e,t,n,i){if(40!=e.length){var o=new f({buffer:e}),a=o.readBuffer();\"ssh-dss\"===a.toString(\"ascii\")&&(a=o.readBuffer()),c.ok(o.atEnd(),\"extra trailing bytes\"),c.strictEqual(a.length,40,\"invalid inner length\"),e=a}return i.parts.push({name:\"r\",data:e.slice(0,20)}),i.parts.push({name:\"s\",data:e.slice(20,40)}),new r(i)}function s(e,t,n,i){var o,a,s=new f({buffer:e}),u=s.readBuffer();return u.toString(\"ascii\").match(/^ecdsa-/)?(u=s.readBuffer(),c.ok(s.atEnd(),\"extra trailing bytes on outer\"),s=new f({buffer:u}),o=s.readPart()):o={data:u},a=s.readPart(),c.ok(s.atEnd(),\"extra trailing bytes\"),o.name=\"r\",a.name=\"s\",i.parts.push(o),i.parts.push(a),new r(i)}t.exports=r;var c=e(\"assert-plus\"),u=(e(\"./algs\"),e(\"crypto\"),e(\"./errors\")),p=e(\"./utils\"),l=e(\"asn1\"),f=e(\"./ssh-buffer\"),d=u.InvalidAlgorithmError,h=u.SignatureParseError;r.prototype.toBuffer=function(e){void 0===e&&(e=\"asn1\"),c.string(e,\"format\");var t;switch(this.type){case\"rsa\":case\"ed25519\":return\"ssh\"===e?(t=new f({}),t.writeString(\"ssh-\"+this.type),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case\"dsa\":case\"ecdsa\":var r,i;if(\"asn1\"===e){var o=new l.BerWriter;return o.startSequence(),r=p.mpNormalize(this.part.r.data),i=p.mpNormalize(this.part.s.data),o.writeBuffer(r,l.Ber.Integer),o.writeBuffer(i,l.Ber.Integer),o.endSequence(),o.buffer}if(\"ssh\"===e&&\"dsa\"===this.type)return t=new f({}),t.writeString(\"ssh-dss\"),r=this.part.r.data,0===r[0]&&(r=r.slice(1)),i=this.part.s.data,t.writeBuffer(n.concat([r,i])),t.toBuffer();if(\"ssh\"===e&&\"ecdsa\"===this.type){var a=new f({});r=this.part.r,0===r[0]&&(r=r.slice(1)),a.writePart(r),a.writePart(this.part.s),t=new f({});var s,u=8*this.part.r.data.length;return 256===u?s=\"nistp256\":384===u?s=\"nistp384\":528===u&&(s=\"nistp521\"),t.writeString(\"ecdsa-sha2-\"+s),t.writeBuffer(a.toBuffer()),t.toBuffer()}throw new Error(\"Invalid signature format\");default:throw new Error(\"Invalid signature data\")}},r.prototype.toString=function(e){return c.optionalString(e,\"format\"),this.toBuffer(e).toString(\"base64\")},r.parse=function(e,t,r){\"string\"==typeof e&&(e=new n(e,\"base64\")),c.buffer(e,\"data\"),c.string(r,\"format\"),c.string(t,\"type\");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,\"signature must not be empty\"),u.type){case\"rsa\":return i(e,t,r,u,\"ssh-rsa\");case\"ed25519\":return i(e,t,r,u,\"ssh-ed25519\");case\"dsa\":case\"ecdsa\":return\"asn1\"===r?o(e,t,r,u):\"dsa\"===u.type?a(e,t,r,u):s(e,t,r,u);default:throw new d(t)}}catch(p){if(p instanceof d)throw p;throw new h(t,r,p)}},r.isSignature=function(e,t){return p.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[2,1],r._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty(\"hashAlgorithm\")?[2,0]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./ssh-buffer\":452,\"./utils\":453,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],452:[function(e,t,n){(function(n){function r(e){i.object(e,\"options\"),void 0!==e.buffer&&i.buffer(e.buffer,\"options.buffer\"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new n(this._size),this._offset=0}t.exports=r;var i=e(\"assert-plus\");r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=new n(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,\"length out of bounds at +0x\"+this._offset.toString(16)+\" (data truncated?)\");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,\"c string does not terminate\");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readChar=function(){var e=this._buffer[this._offset++];return e},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(new n(e,\"utf8\"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length;\n}}).call(this,e(\"buffer\").Buffer)},{\"assert-plus\":10,buffer:void 0}],453:[function(e,t,n){(function(n){function r(e,t,n){if(null===e||\"object\"!=typeof e)return!1;if(void 0===n&&(n=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])return!0;for(var r=Object.getPrototypeOf(e),i=0;r.constructor.name!==t.name;)if(r=Object.getPrototypeOf(r),!r||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;return void 0===o&&(o=t._oldVersionDetect(e)),!(o[0]!=n[0]||o[1]<n[1])}function i(e,t,n,r){if(void 0===r&&(r=\"object\"),f.ok(e,r+\" must not be null\"),f.object(e,r+\" must be an object\"),void 0===n&&(n=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])){for(var i=Object.getPrototypeOf(e),o=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),f.ok(i&&++o<=h,r+\" must be a \"+t.name+\" instance\");f.strictEqual(i.constructor.name,t.name,r+\" must be a \"+t.name+\" instance\");var a=i._sshpkApiVersion;void 0===a&&(a=t._oldVersionDetect(e)),f.ok(a[0]==n[0]&&a[1]>=n[1],r+\" must be compatible with \"+t.name+\" klass version \"+n[0]+\".\"+n[1])}}function o(e){for(var t=0,n=8;t<e.length;){var r=1<<n;if((e[t]&r)===r)break;n--,0>n&&(t++,n=8)}return 8*t+(8-n)-1}function a(e,t){f.buffer(e),f.string(t);for(var n=[],r=0,i=0,o=0;o<e.length;++o)if(e[o]===t.charCodeAt(i)?++i:i=e[o]===t.charCodeAt(0)?1:0,i>=t.length){var a=o+1;n.push(e.slice(r,a-i)),r=a,i=0}return r<=e.length&&n.push(e.slice(r,e.length)),n}function s(e,t){if(f.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error(\"Compressed elliptic curve points are not supported\");if(4!==e[0])throw new Error(\"Not a valid elliptic curve point\");if(!t)return e}var r=new n(e.length+1);return r[0]=0,e.copy(r,1),r}function c(e){for(f.buffer(e);e.length>1&&0===e[0]&&0===(128&e[1]);)e=e.slice(1);if(128===(128&e[0])){var t=new n(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function u(e){var t=new n(e.toByteArray());return t=c(t)}function p(t,n,r){f.buffer(t),f.buffer(n),f.buffer(r);try{var i=e(\"jsbn\").BigInteger}catch(o){throw new Error(\"To load a PKCS#8 format DSA private key, the node jsbn library is required.\")}t=new i(t),n=new i(n),r=new i(r);var a=t.modPow(r,n),s=u(a);return s}function l(t){f.object(t),i(t,d,[1,1]);try{var n=e(\"jsbn\").BigInteger}catch(r){throw new Error(\"To write a PEM private key from this source, the node jsbn lib is required.\")}var o,a=new n(t.part.d.data);if(!t.part.dmodp){var s=new n(t.part.p.data),c=a.mod(s.subtract(1));o=u(c),t.part.dmodp={name:\"dmodp\",data:o},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var p=new n(t.part.q.data),l=a.mod(p.subtract(1));o=u(l),t.part.dmodq={name:\"dmodq\",data:o},t.parts.push(t.part.dmodq)}}t.exports={bufferSplit:a,addRSAMissing:l,calculateDSAPublic:p,mpNormalize:c,ecNormalize:s,countZeros:o,assertCompatible:i,isCompatible:r};var f=e(\"assert-plus\"),d=e(\"./private-key\"),h=3}).call(this,e(\"buffer\").Buffer)},{\"./private-key\":450,\"assert-plus\":10,buffer:void 0,jsbn:171}],454:[function(e,t,n){t.exports={100:\"Continue\",101:\"Switching Protocols\",102:\"Processing\",200:\"OK\",201:\"Created\",202:\"Accepted\",203:\"Non-Authoritative Information\",204:\"No Content\",205:\"Reset Content\",206:\"Partial Content\",207:\"Multi-Status\",208:\"Already Reported\",226:\"IM Used\",300:\"Multiple Choices\",301:\"Moved Permanently\",302:\"Found\",303:\"See Other\",304:\"Not Modified\",305:\"Use Proxy\",306:\"(Unused)\",307:\"Temporary Redirect\",308:\"Permanent Redirect\",400:\"Bad Request\",401:\"Unauthorized\",402:\"Payment Required\",403:\"Forbidden\",404:\"Not Found\",405:\"Method Not Allowed\",406:\"Not Acceptable\",407:\"Proxy Authentication Required\",408:\"Request Timeout\",409:\"Conflict\",410:\"Gone\",411:\"Length Required\",412:\"Precondition Failed\",413:\"Payload Too Large\",414:\"URI Too Long\",415:\"Unsupported Media Type\",416:\"Range Not Satisfiable\",417:\"Expectation Failed\",418:\"I'm a teapot\",422:\"Unprocessable Entity\",423:\"Locked\",424:\"Failed Dependency\",425:\"Unordered Collection\",426:\"Upgrade Required\",428:\"Precondition Required\",429:\"Too Many Requests\",431:\"Request Header Fields Too Large\",451:\"Unavailable For Legal Reasons\",500:\"Internal Server Error\",501:\"Not Implemented\",502:\"Bad Gateway\",503:\"Service Unavailable\",504:\"Gateway Timeout\",505:\"HTTP Version Not Supported\",506:\"Variant Also Negotiates\",507:\"Insufficient Storage\",508:\"Loop Detected\",509:\"Bandwidth Limit Exceeded\",510:\"Not Extended\",511:\"Network Authentication Required\"}},{}],455:[function(e,t,n){function r(e){if(\"number\"==typeof e){if(!r[e])throw new Error(\"invalid status code: \"+e);return e}if(\"string\"!=typeof e)throw new TypeError(\"code must be a number or string\");var t=parseInt(e,10);if(!isNaN(t)){if(!r[t])throw new Error(\"invalid status code: \"+t);return t}if(t=r[e.toLowerCase()],!t)throw new Error('invalid status message: \"'+e+'\"');return t}var i=e(\"./codes.json\");t.exports=r,r.codes=Object.keys(i).map(function(e){e=~~e;var t=i[e];return r[e]=t,r[t]=r[t.toLowerCase()]=e,e}),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},{\"./codes.json\":454}],456:[function(e,t,n){function r(e){if(e&&!c(e))throw new Error(\"Unknown encoding: \"+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function a(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e(\"buffer\").Buffer,c=s.isEncoding||function(e){switch(e&&e.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}},u=n.StringDecoder=function(e){switch(this.encoding=(e||\"utf8\").toLowerCase().replace(/[-_]/,\"\"),r(e),this.encoding){case\"utf8\":this.surrogateSize=3;break;case\"ucs2\":case\"utf16le\":this.surrogateSize=2,this.detectIncompleteChar=o;break;case\"base64\":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t=\"\";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return\"\";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=\"\"}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t=\"\";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:void 0}],457:[function(e,t,n){(function(n){function r(e,t){return this instanceof r?(s.call(this),null==e&&(e=\"utf8\"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?\"\":e,void(this.decoder=new i(this.toEncoding))):new r(e,t)}function i(e){switch(c.call(this,e),this.encoding){case\"base64\":this.write=o,this.alignedBuffer=new n(3),this.alignedBytes=0}}function o(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var r=new n(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(r,0,0,this.alignedBytes),e.copy(r,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,r.toString(this.encoding)}var a=e(\"util\"),s=e(\"stream\"),c=e(\"string_decoder\").StringDecoder;t.exports=r,t.exports.AlignedStringDecoder=i,a.inherits(r,s),r.prototype.write=function(e){if(!this.writable){var t=new Error(\"stream not writable\");return t.code=\"EPIPE\",this.emit(\"error\",t),!1}this.fromEncoding&&(n.isBuffer(e)&&(e=e.toString()),e=new n(e,this.fromEncoding));var r=this.decoder.write(e);return r.length&&this.emit(\"data\",r),!this.paused},r.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit(\"data\",e)}},r.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit(\"end\"),this.writable=this.readable=!1,this.destroy())},r.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit(\"close\")},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){this.paused&&this.emit(\"drain\"),this.paused=!1},a.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return\"\";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,stream:void 0,string_decoder:void 0,util:void 0}],458:[function(e,t,n){\"use strict\";function r(e){if(e){var t=e.split(E);if(t){for(var n=null,r=null,i=null,o=null,a=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var p;if(null===i&&(p=z.exec(u))){if(n=parseInt(p[1],10),r=parseInt(p[2],10),i=parseInt(p[3],10),n>23||r>59||i>59)return}else if(null===o&&(p=M.exec(u))){if(o=parseInt(p,10),1>o||o>31)return}else if(null===a&&(p=B.exec(u)))a=N[p[1].toLowerCase()];else if(null===s&&(p=R.exec(u),p&&(s=parseInt(p[0],10),s>=70&&99>=s?s+=1900:s>=0&&69>=s&&(s+=2e3),1601>s)))return}}if(null!==i&&null!==o&&null!==a&&null!==s)return new Date(Date.UTC(s,a,o,n,r,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:\"0\"+t;var n=e.getUTCHours();n=n>=10?n:\"0\"+n;var r=e.getUTCMinutes();r=r>=10?r:\"0\"+r;var i=e.getUTCSeconds();return i=i>=10?i:\"0\"+i,q[e.getUTCDay()]+\", \"+t+\" \"+D[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+n+\":\"+r+\":\"+i+\" GMT\"}function o(e){return null==e?null:(e=e.trim().replace(/^\\./,\"\"),g&&/[^\\u0001-\\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function a(e,t,n){if(null==e||null==t)return null;if(n!==!1&&(e=o(e),t=o(t)),e==t)return!0;if(y.isIP(e))return!1;var r=e.indexOf(t);return 0>=r?!1:e.length!==t.length+r?!1:\".\"===e.substr(r-1,1)}function s(e){if(!e||\"/\"!==e.substr(0,1))return\"/\";if(\"/\"===e)return e;var t=e.lastIndexOf(\"/\");return 0===t?\"/\":e.slice(0,t)}function c(e,t){t&&\"object\"==typeof t||(t={}),e=e.trim();var n=F.exec(e);n&&(e=e.slice(0,n.index));var i=e.indexOf(\";\"),o=t.loose?I:T,a=o.exec(-1===i?e:e.substr(0,i));if(a){var s=new h;if(a[1]?s.key=a[2].trim():s.key=\"\",s.value=a[3].trim(),!C.test(s.key)&&!C.test(s.value)){if(-1===i)return s;var c=e.slice(i).replace(/^\\s*;\\s*/,\"\").trim();if(0===c.length)return s;for(var u=c.split(/\\s*;\\s*/);u.length;){var p,l,f=u.shift(),d=f.indexOf(\"=\");switch(-1===d?(p=f,l=null):(p=f.substr(0,d),l=f.substr(d+1)),p=p.trim().toLowerCase(),l&&(l=l.trim()),p){case\"expires\":if(l){var m=r(l);m&&(s.expires=m)}break;case\"max-age\":if(l&&/^-?[0-9]+$/.test(l)){var v=parseInt(l,10);s.setMaxAge(v)}break;case\"domain\":if(l){var g=l.trim().replace(/^\\./,\"\");g&&(s.domain=g.toLowerCase())}break;case\"path\":s.path=l&&\"/\"===l[0]?l:null;break;case\"secure\":s.secure=!0;break;case\"httponly\":s.httpOnly=!0;break;default:s.extensions=s.extensions||[],s.extensions.push(f)}}return s}}}function u(e){var t;try{t=JSON.parse(e)}catch(n){return n}return t}function p(e){if(!e)return null;var t;if(\"string\"==typeof e){if(t=u(e),t instanceof Error)return null}else t=e;for(var n=new h,r=0;r<h.serializableProperties.length;r++){var i=h.serializableProperties[r];void 0!==t[i]&&t[i]!==h.prototype[i]&&(\"expires\"===i||\"creation\"===i||\"lastAccessed\"===i?null===t[i]?n[i]=null:n[i]=\"Infinity\"==t[i]?\"Infinity\":new Date(t[i]):n[i]=t[i])}return n}function l(e,t){var n=0,r=e.path?e.path.length:0,i=t.path?t.path.length:0;if(n=i-r,0!==n)return n;var o=e.creation?e.creation.getTime():L,a=t.creation?t.creation.getTime():L;return n=o-a,0!==n?n:n=e.creationIndex-t.creationIndex}function f(e){if(\"/\"===e)return[\"/\"];e.lastIndexOf(\"/\")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var n=e.lastIndexOf(\"/\");if(0===n)break;e=e.substr(0,n),t.push(e)}return t.push(\"/\"),t}function d(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(t){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&\"_\"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,\"creationIndex\",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function m(e,t){\"boolean\"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new _),this.store=e}function v(e){return function(){if(!this.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");var t,n,r=Array.prototype.slice.call(arguments);if(r.push(function(e,r){t=e,n=r}),this[e].apply(this,r),t)throw t;return n}}var g,y=e(\"net\"),b=e(\"url\").parse,x=e(\"./pubsuffix\"),w=e(\"./store\").Store,_=e(\"./memstore\").MemoryCookieStore,k=e(\"./pathMatch\").pathMatch,j=e(\"../package.json\").version;try{g=e(\"punycode\")}catch(S){console.warn(\"cookie: can't load punycode; won't use punycode for domain normalization\")}var E=/[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/,O=/[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]/,A=new RegExp(\"^\"+O.source+\"+$\"),C=/[\\x00-\\x1F]/,T=/^(([^=;]+))\\s*=\\s*([^\\n\\r\\0]*)/,I=/^((?:=)?([^=;]*)\\s*=\\s*)?([^\\n\\r\\0]*)/,P=/[\\x20-\\x3A\\x3C-\\x7E]+/,F=/;+$/,M=/^(\\d{1,2})[^\\d]*$/,z=/^(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*$/,B=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,N={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},D=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],q=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],R=/^(\\d{2}|\\d{4})$/,L=2147483647e3,$=0;h.cookiesCreated=0,h.parse=c,h.fromJSON=p,h.prototype.key=\"\",h.prototype.value=\"\",h.prototype.expires=\"Infinity\",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,\"creationIndex\",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||\"creationIndex\"===e||\"_\"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie=\"'+this.toString()+\"; hostOnly=\"+(null!=this.hostOnly?this.hostOnly:\"?\")+\"; aAge=\"+(this.lastAccessed?e-this.lastAccessed.getTime()+\"ms\":\"?\")+\"; cAge=\"+(this.creation?e-this.creation.getTime()+\"ms\":\"?\")+'\"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==h.prototype[r]&&(\"expires\"===r||\"creation\"===r||\"lastAccessed\"===r?null===this[r]?e[r]=null:e[r]=\"Infinity\"==this[r]?\"Infinity\":this[r].toISOString():\"maxAge\"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-(1/0)?this[r].toString():this[r]):this[r]!==h.prototype[r]&&(e[r]=this[r]))}return e},h.prototype.clone=function(){return p(this.toJSON())},h.prototype.validate=function(){if(!A.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||r(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!P.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\\.$/))return!1;var t=x.getPublicSuffix(e);if(null==t)return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=r(e)||\"Infinity\"},h.prototype.setMaxAge=function(e){e===1/0||e===-(1/0)?this.maxAge=e.toString():this.maxAge=e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=\"\"),\"\"===this.key?e:this.key+\"=\"+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(e+=this.expires instanceof Date?\"; Expires=\"+i(this.expires):\"; Expires=\"+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+=\"; Max-Age=\"+this.maxAge),this.domain&&!this.hostOnly&&(e+=\"; Domain=\"+this.domain),this.path&&(e+=\"; Path=\"+this.path),this.secure&&(e+=\"; Secure\"),this.httpOnly&&(e+=\"; HttpOnly\"),this.extensions&&this.extensions.forEach(function(t){e+=\"; \"+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=r(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-(1/0):1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(L):t==-(1/0)?new Date($):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:o(this.domain)},m.prototype.store=null,m.prototype.rejectPublicSuffixes=!0,m.prototype.enableLooseMode=!1;var U=[];U.push(\"setCookie\"),m.prototype.setCookie=function(e,t,n,r){function i(t,i){if(t)return r(t);var o=function(t){return t?r(t):void r(null,e)};if(i){if(n.http===!1&&i.httpOnly)return t=new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,v.updateCookie(i,e,o)}else e.creation=e.lastAccessed=f,v.putCookie(e,o)}var c,u=d(t);n instanceof Function&&(r=n,n={});var p=o(u.hostname),l=this.enableLooseMode;if(null!=n.loose&&(l=n.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return c=new Error(\"Cookie failed to parse\"),r(n.ignoreError?null:c);var f=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var m=x.getPublicSuffix(e.cdomain());if(null==m)return c=new Error(\"Cookie has domain set to a public suffix\"),r(n.ignoreError?null:c)}if(e.domain){if(!a(p,e.cdomain(),!1))return c=new Error(\"Cookie not in this host's domain. Cookie:\"+e.cdomain()+\" Request:\"+p),r(n.ignoreError?null:c);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=p;if(e.path&&\"/\"===e.path[0]||(e.path=s(u.pathname),e.pathIsDefault=!0),n.http===!1&&e.httpOnly)return c=new Error(\"Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:c);var v=this.store;v.updateCookie||(v.updateCookie=function(e,t,n){this.putCookie(t,n)}),v.findCookie(e.domain,e.path,e.key,i)},U.push(\"getCookies\"),m.prototype.getCookies=function(e,t,n){function r(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!a(s,e.domain,!1))return!1;return m||k(c,e.path)?e.secure&&!u?!1:e.httpOnly&&!p?!1:h&&e.expiryTime()<=f?(v.removeCookie(e.domain,e.path,e.key,function(){}),!1):!0:!1}var i=d(e);t instanceof Function&&(n=t,t={});var s=o(i.hostname),c=i.pathname||\"/\",u=t.secure;null!=u||!i.protocol||\"https:\"!=i.protocol&&\"wss:\"!=i.protocol||(u=!0);var p=t.http;null==p&&(p=!0);var f=t.now||Date.now(),h=t.expire!==!1,m=!!t.allPaths,v=this.store;v.findCookies(s,m?null:c,function(e,i){if(e)return n(e);i=i.filter(r),t.sort!==!1&&(i=i.sort(l));var o=new Date;i.forEach(function(e){e.lastAccessed=o}),n(null,i)})},U.push(\"getCookieString\"),m.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.sort(l).map(function(e){return e.cookieString()}).join(\"; \"))};e.push(n),this.getCookies.apply(this,e)},U.push(\"getSetCookieStrings\"),m.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.map(function(e){return e.toString()}))};e.push(n),this.getCookies.apply(this,e)},U.push(\"serialize\"),m.prototype.serialize=function(e){var t=this.store.constructor.name;\"Object\"===t&&(t=null);var n={version:\"tough-cookie@\"+j,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};return this.store.getAllCookies&&\"function\"==typeof this.store.getAllCookies?void this.store.getAllCookies(function(t,r){return t?e(t):(n.cookies=r.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,n))}):e(new Error(\"store does not support getAllCookies and cannot be serialized\"))},m.prototype.toJSON=function(){return this.serializeSync()},U.push(\"_importCookies\"),m.prototype._importCookies=function(e,t){function n(e){if(e)return t(e);if(!i.length)return t(e,r);var o;try{o=p(i.shift())}catch(a){return t(a)}return null===o?n(null):void r.store.putCookie(o,n)}var r=this,i=e.cookies;return i&&Array.isArray(i)?void n():t(new Error(\"serialized jar has no cookies array\"))},m.deserialize=function(e,t,n){3!==arguments.length&&(n=t,t=null);var r;if(\"string\"==typeof e){if(r=u(e),r instanceof Error)return n(r)}else r=e;var i=new m(t,r.rejectPublicSuffixes);i._importCookies(r,function(e){return e?n(e):void n(null,i)})},m.deserializeSync=function(e,t){var n=\"string\"==typeof e?JSON.parse(e):e,r=new m(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");return r._importCookiesSync(n),r},m.fromJSON=m.deserializeSync,U.push(\"clone\"),m.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(n,r){return n?t(n):void m.deserialize(e,r,t)})},U.forEach(function(e){m.prototype[e+\"Sync\"]=v(e)}),t.exports={CookieJar:m,Cookie:h,Store:w,MemoryCookieStore:_,parseDate:r,formatDate:i,parse:c,fromJSON:p,domainMatch:a,defaultPath:s,pathMatch:k,getPublicSuffix:x.getPublicSuffix,cookieCompare:l,permuteDomain:e(\"./permuteDomain\").permuteDomain,permutePath:f,canonicalDomain:o}},{\"../package.json\":464,\"./memstore\":459,\"./pathMatch\":460,\"./permuteDomain\":461,\"./pubsuffix\":462,\"./store\":463,net:void 0,punycode:void 0,url:void 0}],459:[function(e,t,n){\"use strict\";function r(){i.call(this),this.idx={}}var i=e(\"./store\").Store,o=e(\"./permuteDomain\").permuteDomain,a=e(\"./pathMatch\").pathMatch,s=e(\"util\");s.inherits(r,i),n.MemoryCookieStore=r,r.prototype.idx=null,r.prototype.synchronous=!0,r.prototype.inspect=function(){return\"{ idx: \"+s.inspect(this.idx,!1,2)+\" }\"},r.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},r.prototype.findCookies=function(e,t,n){var r=[];if(!e)return n(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(n){if(a(t,n)){var i=e[n];for(var o in i)r.push(i[o])}})}:function(e){for(var t in e){var n=e[t];for(var i in n)r.push(n[i])}};var s=o(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),n(null,r)},r.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},r.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},r.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},r.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},r.prototype.getAllCookies=function(e){var t=[],n=this.idx,r=Object.keys(n);r.forEach(function(e){var r=Object.keys(n[e]);r.forEach(function(r){var i=Object.keys(n[e][r]);i.forEach(function(i){null!==i&&t.push(n[e][r][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{\"./pathMatch\":460,\"./permuteDomain\":461,\"./store\":463,util:void 0}],460:[function(e,t,n){\"use strict\";function r(e,t){if(t===e)return!0;var n=e.indexOf(t);if(0===n){if(\"/\"===t.substr(-1))return!0;if(\"/\"===e.substr(t.length,1))return!0}return!1}n.pathMatch=r},{}],461:[function(e,t,n){\"use strict\";function r(e){var t=i.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)),r=n.split(\".\").reverse(),o=t,a=[o];r.length;)o=r.shift()+\".\"+o,a.push(o);return a}var i=e(\"./pubsuffix\");n.permuteDomain=r},{\"./pubsuffix\":462}],462:[function(e,t,n){\"use strict\";var r=e(\"punycode\");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\\./))return null;var t=r.toASCII(e),n=!1;if(t!==e&&(e=t,n=!0),i[e])return null;e=e.toLowerCase();for(var o=e.split(\".\").reverse(),a=\"\",s=0,c=0;c<o.length;c++){var u=o[c],p=\"*\"+a,l=u+a;i[p]?(s=c+1,i[l]===!1&&s--):i[l]&&(s=c+1),a=\".\"+l}if(i[\"*\"+a])return null;if(s=s||1,o.length>s){var f=o.slice(0,s+1).reverse().join(\".\");return n?r.toUnicode(f):f}return null};var i=t.exports.index=Object.freeze({ac:!0,\"com.ac\":!0,\"edu.ac\":!0,\"gov.ac\":!0,\"net.ac\":!0,\"mil.ac\":!0,\"org.ac\":!0,ad:!0,\"nom.ad\":!0,ae:!0,\"co.ae\":!0,\"net.ae\":!0,\"org.ae\":!0,\"sch.ae\":!0,\"ac.ae\":!0,\"gov.ae\":!0,\"mil.ae\":!0,aero:!0,\"accident-investigation.aero\":!0,\"accident-prevention.aero\":!0,\"aerobatic.aero\":!0,\"aeroclub.aero\":!0,\"aerodrome.aero\":!0,\"agents.aero\":!0,\"aircraft.aero\":!0,\"airline.aero\":!0,\"airport.aero\":!0,\"air-surveillance.aero\":!0,\"airtraffic.aero\":!0,\"air-traffic-control.aero\":!0,\"ambulance.aero\":!0,\"amusement.aero\":!0,\"association.aero\":!0,\"author.aero\":!0,\"ballooning.aero\":!0,\"broker.aero\":!0,\"caa.aero\":!0,\"cargo.aero\":!0,\"catering.aero\":!0,\"certification.aero\":!0,\"championship.aero\":!0,\"charter.aero\":!0,\"civilaviation.aero\":!0,\"club.aero\":!0,\"conference.aero\":!0,\"consultant.aero\":!0,\"consulting.aero\":!0,\"control.aero\":!0,\"council.aero\":!0,\"crew.aero\":!0,\"design.aero\":!0,\"dgca.aero\":!0,\"educator.aero\":!0,\"emergency.aero\":!0,\"engine.aero\":!0,\"engineer.aero\":!0,\"entertainment.aero\":!0,\"equipment.aero\":!0,\"exchange.aero\":!0,\"express.aero\":!0,\"federation.aero\":!0,\"flight.aero\":!0,\"freight.aero\":!0,\"fuel.aero\":!0,\"gliding.aero\":!0,\"government.aero\":!0,\"groundhandling.aero\":!0,\"group.aero\":!0,\"hanggliding.aero\":!0,\"homebuilt.aero\":!0,\"insurance.aero\":!0,\"journal.aero\":!0,\"journalist.aero\":!0,\"leasing.aero\":!0,\"logistics.aero\":!0,\"magazine.aero\":!0,\"maintenance.aero\":!0,\"marketplace.aero\":!0,\"media.aero\":!0,\"microlight.aero\":!0,\"modelling.aero\":!0,\"navigation.aero\":!0,\"parachuting.aero\":!0,\"paragliding.aero\":!0,\"passenger-association.aero\":!0,\"pilot.aero\":!0,\"press.aero\":!0,\"production.aero\":!0,\"recreation.aero\":!0,\"repbody.aero\":!0,\"res.aero\":!0,\"research.aero\":!0,\"rotorcraft.aero\":!0,\"safety.aero\":!0,\"scientist.aero\":!0,\"services.aero\":!0,\"show.aero\":!0,\"skydiving.aero\":!0,\"software.aero\":!0,\"student.aero\":!0,\"taxi.aero\":!0,\"trader.aero\":!0,\"trading.aero\":!0,\"trainer.aero\":!0,\"union.aero\":!0,\"workinggroup.aero\":!0,\"works.aero\":!0,af:!0,\"gov.af\":!0,\"com.af\":!0,\"org.af\":!0,\"net.af\":!0,\"edu.af\":!0,ag:!0,\"com.ag\":!0,\"org.ag\":!0,\"net.ag\":!0,\"co.ag\":!0,\"nom.ag\":!0,ai:!0,\"off.ai\":!0,\"com.ai\":!0,\"net.ai\":!0,\"org.ai\":!0,al:!0,\"com.al\":!0,\"edu.al\":!0,\"gov.al\":!0,\"mil.al\":!0,\"net.al\":!0,\"org.al\":!0,am:!0,an:!0,\"com.an\":!0,\"net.an\":!0,\"org.an\":!0,\"edu.an\":!0,ao:!0,\"ed.ao\":!0,\"gv.ao\":!0,\"og.ao\":!0,\"co.ao\":!0,\"pb.ao\":!0,\"it.ao\":!0,aq:!0,ar:!0,\"com.ar\":!0,\"edu.ar\":!0,\"gob.ar\":!0,\"gov.ar\":!0,\"int.ar\":!0,\"mil.ar\":!0,\"net.ar\":!0,\"org.ar\":!0,\"tur.ar\":!0,arpa:!0,\"e164.arpa\":!0,\"in-addr.arpa\":!0,\"ip6.arpa\":!0,\"iris.arpa\":!0,\"uri.arpa\":!0,\"urn.arpa\":!0,as:!0,\"gov.as\":!0,asia:!0,at:!0,\"ac.at\":!0,\"co.at\":!0,\"gv.at\":!0,\"or.at\":!0,au:!0,\"com.au\":!0,\"net.au\":!0,\"org.au\":!0,\"edu.au\":!0,\"gov.au\":!0,\"asn.au\":!0,\"id.au\":!0,\"info.au\":!0,\"conf.au\":!0,\"oz.au\":!0,\"act.au\":!0,\"nsw.au\":!0,\"nt.au\":!0,\"qld.au\":!0,\"sa.au\":!0,\"tas.au\":!0,\"vic.au\":!0,\"wa.au\":!0,\"act.edu.au\":!0,\"nsw.edu.au\":!0,\"nt.edu.au\":!0,\"qld.edu.au\":!0,\"sa.edu.au\":!0,\"tas.edu.au\":!0,\"vic.edu.au\":!0,\"wa.edu.au\":!0,\"qld.gov.au\":!0,\"sa.gov.au\":!0,\"tas.gov.au\":!0,\"vic.gov.au\":!0,\"wa.gov.au\":!0,aw:!0,\"com.aw\":!0,ax:!0,az:!0,\"com.az\":!0,\"net.az\":!0,\"int.az\":!0,\"gov.az\":!0,\"org.az\":!0,\"edu.az\":!0,\"info.az\":!0,\"pp.az\":!0,\"mil.az\":!0,\"name.az\":!0,\"pro.az\":!0,\"biz.az\":!0,ba:!0,\"org.ba\":!0,\"net.ba\":!0,\"edu.ba\":!0,\"gov.ba\":!0,\"mil.ba\":!0,\"unsa.ba\":!0,\"unbi.ba\":!0,\"co.ba\":!0,\"com.ba\":!0,\"rs.ba\":!0,bb:!0,\"biz.bb\":!0,\"co.bb\":!0,\"com.bb\":!0,\"edu.bb\":!0,\"gov.bb\":!0,\"info.bb\":!0,\"net.bb\":!0,\"org.bb\":!0,\"store.bb\":!0,\"tv.bb\":!0,\"*.bd\":!0,be:!0,\"ac.be\":!0,bf:!0,\"gov.bf\":!0,bg:!0,\"a.bg\":!0,\"b.bg\":!0,\"c.bg\":!0,\"d.bg\":!0,\"e.bg\":!0,\"f.bg\":!0,\"g.bg\":!0,\"h.bg\":!0,\"i.bg\":!0,\"j.bg\":!0,\"k.bg\":!0,\"l.bg\":!0,\"m.bg\":!0,\"n.bg\":!0,\"o.bg\":!0,\"p.bg\":!0,\"q.bg\":!0,\"r.bg\":!0,\"s.bg\":!0,\"t.bg\":!0,\"u.bg\":!0,\"v.bg\":!0,\"w.bg\":!0,\"x.bg\":!0,\"y.bg\":!0,\"z.bg\":!0,\"0.bg\":!0,\"1.bg\":!0,\"2.bg\":!0,\"3.bg\":!0,\"4.bg\":!0,\"5.bg\":!0,\"6.bg\":!0,\"7.bg\":!0,\"8.bg\":!0,\"9.bg\":!0,bh:!0,\"com.bh\":!0,\"edu.bh\":!0,\"net.bh\":!0,\"org.bh\":!0,\"gov.bh\":!0,bi:!0,\"co.bi\":!0,\"com.bi\":!0,\"edu.bi\":!0,\"or.bi\":!0,\"org.bi\":!0,biz:!0,bj:!0,\"asso.bj\":!0,\"barreau.bj\":!0,\"gouv.bj\":!0,bm:!0,\"com.bm\":!0,\"edu.bm\":!0,\"gov.bm\":!0,\"net.bm\":!0,\"org.bm\":!0,\"*.bn\":!0,bo:!0,\"com.bo\":!0,\"edu.bo\":!0,\"gov.bo\":!0,\"gob.bo\":!0,\"int.bo\":!0,\"org.bo\":!0,\"net.bo\":!0,\"mil.bo\":!0,\"tv.bo\":!0,br:!0,\"adm.br\":!0,\"adv.br\":!0,\"agr.br\":!0,\"am.br\":!0,\"arq.br\":!0,\"art.br\":!0,\"ato.br\":!0,\"b.br\":!0,\"bio.br\":!0,\"blog.br\":!0,\"bmd.br\":!0,\"cim.br\":!0,\"cng.br\":!0,\"cnt.br\":!0,\"com.br\":!0,\"coop.br\":!0,\"ecn.br\":!0,\"eco.br\":!0,\"edu.br\":!0,\"emp.br\":!0,\"eng.br\":!0,\"esp.br\":!0,\"etc.br\":!0,\"eti.br\":!0,\"far.br\":!0,\"flog.br\":!0,\"fm.br\":!0,\"fnd.br\":!0,\"fot.br\":!0,\"fst.br\":!0,\"g12.br\":!0,\"ggf.br\":!0,\"gov.br\":!0,\"imb.br\":!0,\"ind.br\":!0,\"inf.br\":!0,\"jor.br\":!0,\"jus.br\":!0,\"leg.br\":!0,\"lel.br\":!0,\"mat.br\":!0,\"med.br\":!0,\"mil.br\":!0,\"mp.br\":!0,\"mus.br\":!0,\"net.br\":!0,\"*.nom.br\":!0,\"not.br\":!0,\"ntr.br\":!0,\"odo.br\":!0,\"org.br\":!0,\"ppg.br\":!0,\"pro.br\":!0,\"psc.br\":!0,\"psi.br\":!0,\"qsl.br\":!0,\"radio.br\":!0,\"rec.br\":!0,\"slg.br\":!0,\"srv.br\":!0,\"taxi.br\":!0,\"teo.br\":!0,\"tmp.br\":!0,\"trd.br\":!0,\"tur.br\":!0,\"tv.br\":!0,\"vet.br\":!0,\"vlog.br\":!0,\"wiki.br\":!0,\"zlg.br\":!0,bs:!0,\"com.bs\":!0,\"net.bs\":!0,\"org.bs\":!0,\"edu.bs\":!0,\"gov.bs\":!0,bt:!0,\"com.bt\":!0,\"edu.bt\":!0,\"gov.bt\":!0,\"net.bt\":!0,\"org.bt\":!0,bv:!0,bw:!0,\"co.bw\":!0,\"org.bw\":!0,by:!0,\"gov.by\":!0,\"mil.by\":!0,\"com.by\":!0,\"of.by\":!0,bz:!0,\"com.bz\":!0,\"net.bz\":!0,\"org.bz\":!0,\"edu.bz\":!0,\"gov.bz\":!0,ca:!0,\"ab.ca\":!0,\"bc.ca\":!0,\"mb.ca\":!0,\"nb.ca\":!0,\"nf.ca\":!0,\"nl.ca\":!0,\"ns.ca\":!0,\"nt.ca\":!0,\"nu.ca\":!0,\"on.ca\":!0,\"pe.ca\":!0,\"qc.ca\":!0,\"sk.ca\":!0,\"yk.ca\":!0,\"gc.ca\":!0,cat:!0,cc:!0,cd:!0,\"gov.cd\":!0,cf:!0,cg:!0,ch:!0,ci:!0,\"org.ci\":!0,\"or.ci\":!0,\"com.ci\":!0,\"co.ci\":!0,\"edu.ci\":!0,\"ed.ci\":!0,\"ac.ci\":!0,\"net.ci\":!0,\"go.ci\":!0,\"asso.ci\":!0,\"xn--aroport-bya.ci\":!0,\"int.ci\":!0,\"presse.ci\":!0,\"md.ci\":!0,\"gouv.ci\":!0,\"*.ck\":!0,\"www.ck\":!1,cl:!0,\"gov.cl\":!0,\"gob.cl\":!0,\"co.cl\":!0,\"mil.cl\":!0,cm:!0,\"co.cm\":!0,\"com.cm\":!0,\"gov.cm\":!0,\"net.cm\":!0,cn:!0,\"ac.cn\":!0,\"com.cn\":!0,\"edu.cn\":!0,\"gov.cn\":!0,\"net.cn\":!0,\"org.cn\":!0,\"mil.cn\":!0,\"xn--55qx5d.cn\":!0,\"xn--io0a7i.cn\":!0,\"xn--od0alg.cn\":!0,\"ah.cn\":!0,\"bj.cn\":!0,\"cq.cn\":!0,\"fj.cn\":!0,\"gd.cn\":!0,\"gs.cn\":!0,\"gz.cn\":!0,\"gx.cn\":!0,\"ha.cn\":!0,\"hb.cn\":!0,\"he.cn\":!0,\"hi.cn\":!0,\"hl.cn\":!0,\"hn.cn\":!0,\"jl.cn\":!0,\"js.cn\":!0,\"jx.cn\":!0,\"ln.cn\":!0,\"nm.cn\":!0,\"nx.cn\":!0,\"qh.cn\":!0,\"sc.cn\":!0,\"sd.cn\":!0,\"sh.cn\":!0,\"sn.cn\":!0,\"sx.cn\":!0,\"tj.cn\":!0,\"xj.cn\":!0,\"xz.cn\":!0,\"yn.cn\":!0,\"zj.cn\":!0,\"hk.cn\":!0,\"mo.cn\":!0,\"tw.cn\":!0,co:!0,\"arts.co\":!0,\"com.co\":!0,\"edu.co\":!0,\"firm.co\":!0,\"gov.co\":!0,\"info.co\":!0,\"int.co\":!0,\"mil.co\":!0,\"net.co\":!0,\"nom.co\":!0,\"org.co\":!0,\"rec.co\":!0,\"web.co\":!0,com:!0,coop:!0,cr:!0,\"ac.cr\":!0,\"co.cr\":!0,\"ed.cr\":!0,\"fi.cr\":!0,\"go.cr\":!0,\"or.cr\":!0,\"sa.cr\":!0,cu:!0,\"com.cu\":!0,\"edu.cu\":!0,\"org.cu\":!0,\"net.cu\":!0,\"gov.cu\":!0,\"inf.cu\":!0,cv:!0,cw:!0,\"com.cw\":!0,\"edu.cw\":!0,\"net.cw\":!0,\"org.cw\":!0,cx:!0,\"gov.cx\":!0,\"ac.cy\":!0,\"biz.cy\":!0,\"com.cy\":!0,\"ekloges.cy\":!0,\"gov.cy\":!0,\n\"ltd.cy\":!0,\"name.cy\":!0,\"net.cy\":!0,\"org.cy\":!0,\"parliament.cy\":!0,\"press.cy\":!0,\"pro.cy\":!0,\"tm.cy\":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,\"com.dm\":!0,\"net.dm\":!0,\"org.dm\":!0,\"edu.dm\":!0,\"gov.dm\":!0,\"do\":!0,\"art.do\":!0,\"com.do\":!0,\"edu.do\":!0,\"gob.do\":!0,\"gov.do\":!0,\"mil.do\":!0,\"net.do\":!0,\"org.do\":!0,\"sld.do\":!0,\"web.do\":!0,dz:!0,\"com.dz\":!0,\"org.dz\":!0,\"net.dz\":!0,\"gov.dz\":!0,\"edu.dz\":!0,\"asso.dz\":!0,\"pol.dz\":!0,\"art.dz\":!0,ec:!0,\"com.ec\":!0,\"info.ec\":!0,\"net.ec\":!0,\"fin.ec\":!0,\"k12.ec\":!0,\"med.ec\":!0,\"pro.ec\":!0,\"org.ec\":!0,\"edu.ec\":!0,\"gov.ec\":!0,\"gob.ec\":!0,\"mil.ec\":!0,edu:!0,ee:!0,\"edu.ee\":!0,\"gov.ee\":!0,\"riik.ee\":!0,\"lib.ee\":!0,\"med.ee\":!0,\"com.ee\":!0,\"pri.ee\":!0,\"aip.ee\":!0,\"org.ee\":!0,\"fie.ee\":!0,eg:!0,\"com.eg\":!0,\"edu.eg\":!0,\"eun.eg\":!0,\"gov.eg\":!0,\"mil.eg\":!0,\"name.eg\":!0,\"net.eg\":!0,\"org.eg\":!0,\"sci.eg\":!0,\"*.er\":!0,es:!0,\"com.es\":!0,\"nom.es\":!0,\"org.es\":!0,\"gob.es\":!0,\"edu.es\":!0,et:!0,\"com.et\":!0,\"gov.et\":!0,\"org.et\":!0,\"edu.et\":!0,\"biz.et\":!0,\"name.et\":!0,\"info.et\":!0,\"net.et\":!0,eu:!0,fi:!0,\"aland.fi\":!0,\"*.fj\":!0,\"*.fk\":!0,fm:!0,fo:!0,fr:!0,\"com.fr\":!0,\"asso.fr\":!0,\"nom.fr\":!0,\"prd.fr\":!0,\"presse.fr\":!0,\"tm.fr\":!0,\"aeroport.fr\":!0,\"assedic.fr\":!0,\"avocat.fr\":!0,\"avoues.fr\":!0,\"cci.fr\":!0,\"chambagri.fr\":!0,\"chirurgiens-dentistes.fr\":!0,\"experts-comptables.fr\":!0,\"geometre-expert.fr\":!0,\"gouv.fr\":!0,\"greta.fr\":!0,\"huissier-justice.fr\":!0,\"medecin.fr\":!0,\"notaires.fr\":!0,\"pharmacien.fr\":!0,\"port.fr\":!0,\"veterinaire.fr\":!0,ga:!0,gb:!0,gd:!0,ge:!0,\"com.ge\":!0,\"edu.ge\":!0,\"gov.ge\":!0,\"org.ge\":!0,\"mil.ge\":!0,\"net.ge\":!0,\"pvt.ge\":!0,gf:!0,gg:!0,\"co.gg\":!0,\"net.gg\":!0,\"org.gg\":!0,gh:!0,\"com.gh\":!0,\"edu.gh\":!0,\"gov.gh\":!0,\"org.gh\":!0,\"mil.gh\":!0,gi:!0,\"com.gi\":!0,\"ltd.gi\":!0,\"gov.gi\":!0,\"mod.gi\":!0,\"edu.gi\":!0,\"org.gi\":!0,gl:!0,\"co.gl\":!0,\"com.gl\":!0,\"edu.gl\":!0,\"net.gl\":!0,\"org.gl\":!0,gm:!0,gn:!0,\"ac.gn\":!0,\"com.gn\":!0,\"edu.gn\":!0,\"gov.gn\":!0,\"org.gn\":!0,\"net.gn\":!0,gov:!0,gp:!0,\"com.gp\":!0,\"net.gp\":!0,\"mobi.gp\":!0,\"edu.gp\":!0,\"org.gp\":!0,\"asso.gp\":!0,gq:!0,gr:!0,\"com.gr\":!0,\"edu.gr\":!0,\"net.gr\":!0,\"org.gr\":!0,\"gov.gr\":!0,gs:!0,gt:!0,\"com.gt\":!0,\"edu.gt\":!0,\"gob.gt\":!0,\"ind.gt\":!0,\"mil.gt\":!0,\"net.gt\":!0,\"org.gt\":!0,\"*.gu\":!0,gw:!0,gy:!0,\"co.gy\":!0,\"com.gy\":!0,\"net.gy\":!0,hk:!0,\"com.hk\":!0,\"edu.hk\":!0,\"gov.hk\":!0,\"idv.hk\":!0,\"net.hk\":!0,\"org.hk\":!0,\"xn--55qx5d.hk\":!0,\"xn--wcvs22d.hk\":!0,\"xn--lcvr32d.hk\":!0,\"xn--mxtq1m.hk\":!0,\"xn--gmqw5a.hk\":!0,\"xn--ciqpn.hk\":!0,\"xn--gmq050i.hk\":!0,\"xn--zf0avx.hk\":!0,\"xn--io0a7i.hk\":!0,\"xn--mk0axi.hk\":!0,\"xn--od0alg.hk\":!0,\"xn--od0aq3b.hk\":!0,\"xn--tn0ag.hk\":!0,\"xn--uc0atv.hk\":!0,\"xn--uc0ay4a.hk\":!0,hm:!0,hn:!0,\"com.hn\":!0,\"edu.hn\":!0,\"org.hn\":!0,\"net.hn\":!0,\"mil.hn\":!0,\"gob.hn\":!0,hr:!0,\"iz.hr\":!0,\"from.hr\":!0,\"name.hr\":!0,\"com.hr\":!0,ht:!0,\"com.ht\":!0,\"shop.ht\":!0,\"firm.ht\":!0,\"info.ht\":!0,\"adult.ht\":!0,\"net.ht\":!0,\"pro.ht\":!0,\"org.ht\":!0,\"med.ht\":!0,\"art.ht\":!0,\"coop.ht\":!0,\"pol.ht\":!0,\"asso.ht\":!0,\"edu.ht\":!0,\"rel.ht\":!0,\"gouv.ht\":!0,\"perso.ht\":!0,hu:!0,\"co.hu\":!0,\"info.hu\":!0,\"org.hu\":!0,\"priv.hu\":!0,\"sport.hu\":!0,\"tm.hu\":!0,\"2000.hu\":!0,\"agrar.hu\":!0,\"bolt.hu\":!0,\"casino.hu\":!0,\"city.hu\":!0,\"erotica.hu\":!0,\"erotika.hu\":!0,\"film.hu\":!0,\"forum.hu\":!0,\"games.hu\":!0,\"hotel.hu\":!0,\"ingatlan.hu\":!0,\"jogasz.hu\":!0,\"konyvelo.hu\":!0,\"lakas.hu\":!0,\"media.hu\":!0,\"news.hu\":!0,\"reklam.hu\":!0,\"sex.hu\":!0,\"shop.hu\":!0,\"suli.hu\":!0,\"szex.hu\":!0,\"tozsde.hu\":!0,\"utazas.hu\":!0,\"video.hu\":!0,id:!0,\"ac.id\":!0,\"biz.id\":!0,\"co.id\":!0,\"desa.id\":!0,\"go.id\":!0,\"mil.id\":!0,\"my.id\":!0,\"net.id\":!0,\"or.id\":!0,\"sch.id\":!0,\"web.id\":!0,ie:!0,\"gov.ie\":!0,il:!0,\"ac.il\":!0,\"co.il\":!0,\"gov.il\":!0,\"idf.il\":!0,\"k12.il\":!0,\"muni.il\":!0,\"net.il\":!0,\"org.il\":!0,im:!0,\"ac.im\":!0,\"co.im\":!0,\"com.im\":!0,\"ltd.co.im\":!0,\"net.im\":!0,\"org.im\":!0,\"plc.co.im\":!0,\"tt.im\":!0,\"tv.im\":!0,\"in\":!0,\"co.in\":!0,\"firm.in\":!0,\"net.in\":!0,\"org.in\":!0,\"gen.in\":!0,\"ind.in\":!0,\"nic.in\":!0,\"ac.in\":!0,\"edu.in\":!0,\"res.in\":!0,\"gov.in\":!0,\"mil.in\":!0,info:!0,\"int\":!0,\"eu.int\":!0,io:!0,\"com.io\":!0,iq:!0,\"gov.iq\":!0,\"edu.iq\":!0,\"mil.iq\":!0,\"com.iq\":!0,\"org.iq\":!0,\"net.iq\":!0,ir:!0,\"ac.ir\":!0,\"co.ir\":!0,\"gov.ir\":!0,\"id.ir\":!0,\"net.ir\":!0,\"org.ir\":!0,\"sch.ir\":!0,\"xn--mgba3a4f16a.ir\":!0,\"xn--mgba3a4fra.ir\":!0,is:!0,\"net.is\":!0,\"com.is\":!0,\"edu.is\":!0,\"gov.is\":!0,\"org.is\":!0,\"int.is\":!0,it:!0,\"gov.it\":!0,\"edu.it\":!0,\"abr.it\":!0,\"abruzzo.it\":!0,\"aosta-valley.it\":!0,\"aostavalley.it\":!0,\"bas.it\":!0,\"basilicata.it\":!0,\"cal.it\":!0,\"calabria.it\":!0,\"cam.it\":!0,\"campania.it\":!0,\"emilia-romagna.it\":!0,\"emiliaromagna.it\":!0,\"emr.it\":!0,\"friuli-v-giulia.it\":!0,\"friuli-ve-giulia.it\":!0,\"friuli-vegiulia.it\":!0,\"friuli-venezia-giulia.it\":!0,\"friuli-veneziagiulia.it\":!0,\"friuli-vgiulia.it\":!0,\"friuliv-giulia.it\":!0,\"friulive-giulia.it\":!0,\"friulivegiulia.it\":!0,\"friulivenezia-giulia.it\":!0,\"friuliveneziagiulia.it\":!0,\"friulivgiulia.it\":!0,\"fvg.it\":!0,\"laz.it\":!0,\"lazio.it\":!0,\"lig.it\":!0,\"liguria.it\":!0,\"lom.it\":!0,\"lombardia.it\":!0,\"lombardy.it\":!0,\"lucania.it\":!0,\"mar.it\":!0,\"marche.it\":!0,\"mol.it\":!0,\"molise.it\":!0,\"piedmont.it\":!0,\"piemonte.it\":!0,\"pmn.it\":!0,\"pug.it\":!0,\"puglia.it\":!0,\"sar.it\":!0,\"sardegna.it\":!0,\"sardinia.it\":!0,\"sic.it\":!0,\"sicilia.it\":!0,\"sicily.it\":!0,\"taa.it\":!0,\"tos.it\":!0,\"toscana.it\":!0,\"trentino-a-adige.it\":!0,\"trentino-aadige.it\":!0,\"trentino-alto-adige.it\":!0,\"trentino-altoadige.it\":!0,\"trentino-s-tirol.it\":!0,\"trentino-stirol.it\":!0,\"trentino-sud-tirol.it\":!0,\"trentino-sudtirol.it\":!0,\"trentino-sued-tirol.it\":!0,\"trentino-suedtirol.it\":!0,\"trentinoa-adige.it\":!0,\"trentinoaadige.it\":!0,\"trentinoalto-adige.it\":!0,\"trentinoaltoadige.it\":!0,\"trentinos-tirol.it\":!0,\"trentinostirol.it\":!0,\"trentinosud-tirol.it\":!0,\"trentinosudtirol.it\":!0,\"trentinosued-tirol.it\":!0,\"trentinosuedtirol.it\":!0,\"tuscany.it\":!0,\"umb.it\":!0,\"umbria.it\":!0,\"val-d-aosta.it\":!0,\"val-daosta.it\":!0,\"vald-aosta.it\":!0,\"valdaosta.it\":!0,\"valle-aosta.it\":!0,\"valle-d-aosta.it\":!0,\"valle-daosta.it\":!0,\"valleaosta.it\":!0,\"valled-aosta.it\":!0,\"valledaosta.it\":!0,\"vallee-aoste.it\":!0,\"valleeaoste.it\":!0,\"vao.it\":!0,\"vda.it\":!0,\"ven.it\":!0,\"veneto.it\":!0,\"ag.it\":!0,\"agrigento.it\":!0,\"al.it\":!0,\"alessandria.it\":!0,\"alto-adige.it\":!0,\"altoadige.it\":!0,\"an.it\":!0,\"ancona.it\":!0,\"andria-barletta-trani.it\":!0,\"andria-trani-barletta.it\":!0,\"andriabarlettatrani.it\":!0,\"andriatranibarletta.it\":!0,\"ao.it\":!0,\"aosta.it\":!0,\"aoste.it\":!0,\"ap.it\":!0,\"aq.it\":!0,\"aquila.it\":!0,\"ar.it\":!0,\"arezzo.it\":!0,\"ascoli-piceno.it\":!0,\"ascolipiceno.it\":!0,\"asti.it\":!0,\"at.it\":!0,\"av.it\":!0,\"avellino.it\":!0,\"ba.it\":!0,\"balsan.it\":!0,\"bari.it\":!0,\"barletta-trani-andria.it\":!0,\"barlettatraniandria.it\":!0,\"belluno.it\":!0,\"benevento.it\":!0,\"bergamo.it\":!0,\"bg.it\":!0,\"bi.it\":!0,\"biella.it\":!0,\"bl.it\":!0,\"bn.it\":!0,\"bo.it\":!0,\"bologna.it\":!0,\"bolzano.it\":!0,\"bozen.it\":!0,\"br.it\":!0,\"brescia.it\":!0,\"brindisi.it\":!0,\"bs.it\":!0,\"bt.it\":!0,\"bz.it\":!0,\"ca.it\":!0,\"cagliari.it\":!0,\"caltanissetta.it\":!0,\"campidano-medio.it\":!0,\"campidanomedio.it\":!0,\"campobasso.it\":!0,\"carbonia-iglesias.it\":!0,\"carboniaiglesias.it\":!0,\"carrara-massa.it\":!0,\"carraramassa.it\":!0,\"caserta.it\":!0,\"catania.it\":!0,\"catanzaro.it\":!0,\"cb.it\":!0,\"ce.it\":!0,\"cesena-forli.it\":!0,\"cesenaforli.it\":!0,\"ch.it\":!0,\"chieti.it\":!0,\"ci.it\":!0,\"cl.it\":!0,\"cn.it\":!0,\"co.it\":!0,\"como.it\":!0,\"cosenza.it\":!0,\"cr.it\":!0,\"cremona.it\":!0,\"crotone.it\":!0,\"cs.it\":!0,\"ct.it\":!0,\"cuneo.it\":!0,\"cz.it\":!0,\"dell-ogliastra.it\":!0,\"dellogliastra.it\":!0,\"en.it\":!0,\"enna.it\":!0,\"fc.it\":!0,\"fe.it\":!0,\"fermo.it\":!0,\"ferrara.it\":!0,\"fg.it\":!0,\"fi.it\":!0,\"firenze.it\":!0,\"florence.it\":!0,\"fm.it\":!0,\"foggia.it\":!0,\"forli-cesena.it\":!0,\"forlicesena.it\":!0,\"fr.it\":!0,\"frosinone.it\":!0,\"ge.it\":!0,\"genoa.it\":!0,\"genova.it\":!0,\"go.it\":!0,\"gorizia.it\":!0,\"gr.it\":!0,\"grosseto.it\":!0,\"iglesias-carbonia.it\":!0,\"iglesiascarbonia.it\":!0,\"im.it\":!0,\"imperia.it\":!0,\"is.it\":!0,\"isernia.it\":!0,\"kr.it\":!0,\"la-spezia.it\":!0,\"laquila.it\":!0,\"laspezia.it\":!0,\"latina.it\":!0,\"lc.it\":!0,\"le.it\":!0,\"lecce.it\":!0,\"lecco.it\":!0,\"li.it\":!0,\"livorno.it\":!0,\"lo.it\":!0,\"lodi.it\":!0,\"lt.it\":!0,\"lu.it\":!0,\"lucca.it\":!0,\"macerata.it\":!0,\"mantova.it\":!0,\"massa-carrara.it\":!0,\"massacarrara.it\":!0,\"matera.it\":!0,\"mb.it\":!0,\"mc.it\":!0,\"me.it\":!0,\"medio-campidano.it\":!0,\"mediocampidano.it\":!0,\"messina.it\":!0,\"mi.it\":!0,\"milan.it\":!0,\"milano.it\":!0,\"mn.it\":!0,\"mo.it\":!0,\"modena.it\":!0,\"monza-brianza.it\":!0,\"monza-e-della-brianza.it\":!0,\"monza.it\":!0,\"monzabrianza.it\":!0,\"monzaebrianza.it\":!0,\"monzaedellabrianza.it\":!0,\"ms.it\":!0,\"mt.it\":!0,\"na.it\":!0,\"naples.it\":!0,\"napoli.it\":!0,\"no.it\":!0,\"novara.it\":!0,\"nu.it\":!0,\"nuoro.it\":!0,\"og.it\":!0,\"ogliastra.it\":!0,\"olbia-tempio.it\":!0,\"olbiatempio.it\":!0,\"or.it\":!0,\"oristano.it\":!0,\"ot.it\":!0,\"pa.it\":!0,\"padova.it\":!0,\"padua.it\":!0,\"palermo.it\":!0,\"parma.it\":!0,\"pavia.it\":!0,\"pc.it\":!0,\"pd.it\":!0,\"pe.it\":!0,\"perugia.it\":!0,\"pesaro-urbino.it\":!0,\"pesarourbino.it\":!0,\"pescara.it\":!0,\"pg.it\":!0,\"pi.it\":!0,\"piacenza.it\":!0,\"pisa.it\":!0,\"pistoia.it\":!0,\"pn.it\":!0,\"po.it\":!0,\"pordenone.it\":!0,\"potenza.it\":!0,\"pr.it\":!0,\"prato.it\":!0,\"pt.it\":!0,\"pu.it\":!0,\"pv.it\":!0,\"pz.it\":!0,\"ra.it\":!0,\"ragusa.it\":!0,\"ravenna.it\":!0,\"rc.it\":!0,\"re.it\":!0,\"reggio-calabria.it\":!0,\"reggio-emilia.it\":!0,\"reggiocalabria.it\":!0,\"reggioemilia.it\":!0,\"rg.it\":!0,\"ri.it\":!0,\"rieti.it\":!0,\"rimini.it\":!0,\"rm.it\":!0,\"rn.it\":!0,\"ro.it\":!0,\"roma.it\":!0,\"rome.it\":!0,\"rovigo.it\":!0,\"sa.it\":!0,\"salerno.it\":!0,\"sassari.it\":!0,\"savona.it\":!0,\"si.it\":!0,\"siena.it\":!0,\"siracusa.it\":!0,\"so.it\":!0,\"sondrio.it\":!0,\"sp.it\":!0,\"sr.it\":!0,\"ss.it\":!0,\"suedtirol.it\":!0,\"sv.it\":!0,\"ta.it\":!0,\"taranto.it\":!0,\"te.it\":!0,\"tempio-olbia.it\":!0,\"tempioolbia.it\":!0,\"teramo.it\":!0,\"terni.it\":!0,\"tn.it\":!0,\"to.it\":!0,\"torino.it\":!0,\"tp.it\":!0,\"tr.it\":!0,\"trani-andria-barletta.it\":!0,\"trani-barletta-andria.it\":!0,\"traniandriabarletta.it\":!0,\"tranibarlettaandria.it\":!0,\"trapani.it\":!0,\"trentino.it\":!0,\"trento.it\":!0,\"treviso.it\":!0,\"trieste.it\":!0,\"ts.it\":!0,\"turin.it\":!0,\"tv.it\":!0,\"ud.it\":!0,\"udine.it\":!0,\"urbino-pesaro.it\":!0,\"urbinopesaro.it\":!0,\"va.it\":!0,\"varese.it\":!0,\"vb.it\":!0,\"vc.it\":!0,\"ve.it\":!0,\"venezia.it\":!0,\"venice.it\":!0,\"verbania.it\":!0,\"vercelli.it\":!0,\"verona.it\":!0,\"vi.it\":!0,\"vibo-valentia.it\":!0,\"vibovalentia.it\":!0,\"vicenza.it\":!0,\"viterbo.it\":!0,\"vr.it\":!0,\"vs.it\":!0,\"vt.it\":!0,\"vv.it\":!0,je:!0,\"co.je\":!0,\"net.je\":!0,\"org.je\":!0,\"*.jm\":!0,jo:!0,\"com.jo\":!0,\"org.jo\":!0,\"net.jo\":!0,\"edu.jo\":!0,\"sch.jo\":!0,\"gov.jo\":!0,\"mil.jo\":!0,\"name.jo\":!0,jobs:!0,jp:!0,\"ac.jp\":!0,\"ad.jp\":!0,\"co.jp\":!0,\"ed.jp\":!0,\"go.jp\":!0,\"gr.jp\":!0,\"lg.jp\":!0,\"ne.jp\":!0,\"or.jp\":!0,\"aichi.jp\":!0,\"akita.jp\":!0,\"aomori.jp\":!0,\"chiba.jp\":!0,\"ehime.jp\":!0,\"fukui.jp\":!0,\"fukuoka.jp\":!0,\"fukushima.jp\":!0,\"gifu.jp\":!0,\"gunma.jp\":!0,\"hiroshima.jp\":!0,\"hokkaido.jp\":!0,\"hyogo.jp\":!0,\"ibaraki.jp\":!0,\"ishikawa.jp\":!0,\"iwate.jp\":!0,\"kagawa.jp\":!0,\"kagoshima.jp\":!0,\"kanagawa.jp\":!0,\"kochi.jp\":!0,\"kumamoto.jp\":!0,\"kyoto.jp\":!0,\"mie.jp\":!0,\"miyagi.jp\":!0,\"miyazaki.jp\":!0,\"nagano.jp\":!0,\"nagasaki.jp\":!0,\"nara.jp\":!0,\"niigata.jp\":!0,\"oita.jp\":!0,\"okayama.jp\":!0,\"okinawa.jp\":!0,\"osaka.jp\":!0,\"saga.jp\":!0,\"saitama.jp\":!0,\"shiga.jp\":!0,\"shimane.jp\":!0,\"shizuoka.jp\":!0,\"tochigi.jp\":!0,\"tokushima.jp\":!0,\"tokyo.jp\":!0,\"tottori.jp\":!0,\"toyama.jp\":!0,\"wakayama.jp\":!0,\"yamagata.jp\":!0,\"yamaguchi.jp\":!0,\"yamanashi.jp\":!0,\"xn--4pvxs.jp\":!0,\"xn--vgu402c.jp\":!0,\"xn--c3s14m.jp\":!0,\"xn--f6qx53a.jp\":!0,\"xn--8pvr4u.jp\":!0,\"xn--uist22h.jp\":!0,\"xn--djrs72d6uy.jp\":!0,\"xn--mkru45i.jp\":!0,\"xn--0trq7p7nn.jp\":!0,\"xn--8ltr62k.jp\":!0,\"xn--2m4a15e.jp\":!0,\"xn--efvn9s.jp\":!0,\"xn--32vp30h.jp\":!0,\"xn--4it797k.jp\":!0,\"xn--1lqs71d.jp\":!0,\"xn--5rtp49c.jp\":!0,\"xn--5js045d.jp\":!0,\"xn--ehqz56n.jp\":!0,\"xn--1lqs03n.jp\":!0,\"xn--qqqt11m.jp\":!0,\"xn--kbrq7o.jp\":!0,\"xn--pssu33l.jp\":!0,\"xn--ntsq17g.jp\":!0,\"xn--uisz3g.jp\":!0,\"xn--6btw5a.jp\":!0,\"xn--1ctwo.jp\":!0,\"xn--6orx2r.jp\":!0,\"xn--rht61e.jp\":!0,\"xn--rht27z.jp\":!0,\"xn--djty4k.jp\":!0,\"xn--nit225k.jp\":!0,\"xn--rht3d.jp\":!0,\"xn--klty5x.jp\":!0,\"xn--kltx9a.jp\":!0,\"xn--kltp7d.jp\":!0,\"xn--uuwu58a.jp\":!0,\"xn--zbx025d.jp\":!0,\"xn--ntso0iqx3a.jp\":!0,\"xn--elqq16h.jp\":!0,\"xn--4it168d.jp\":!0,\"xn--klt787d.jp\":!0,\"xn--rny31h.jp\":!0,\"xn--7t0a264c.jp\":!0,\"xn--5rtq34k.jp\":!0,\"xn--k7yn95e.jp\":!0,\"xn--tor131o.jp\":!0,\"xn--d5qv7z876c.jp\":!0,\"*.kawasaki.jp\":!0,\"*.kitakyushu.jp\":!0,\"*.kobe.jp\":!0,\"*.nagoya.jp\":!0,\"*.sapporo.jp\":!0,\"*.sendai.jp\":!0,\"*.yokohama.jp\":!0,\"city.kawasaki.jp\":!1,\"city.kitakyushu.jp\":!1,\"city.kobe.jp\":!1,\"city.nagoya.jp\":!1,\"city.sapporo.jp\":!1,\"city.sendai.jp\":!1,\"city.yokohama.jp\":!1,\"aisai.aichi.jp\":!0,\"ama.aichi.jp\":!0,\"anjo.aichi.jp\":!0,\"asuke.aichi.jp\":!0,\"chiryu.aichi.jp\":!0,\"chita.aichi.jp\":!0,\"fuso.aichi.jp\":!0,\"gamagori.aichi.jp\":!0,\"handa.aichi.jp\":!0,\"hazu.aichi.jp\":!0,\"hekinan.aichi.jp\":!0,\"higashiura.aichi.jp\":!0,\"ichinomiya.aichi.jp\":!0,\"inazawa.aichi.jp\":!0,\"inuyama.aichi.jp\":!0,\"isshiki.aichi.jp\":!0,\"iwakura.aichi.jp\":!0,\"kanie.aichi.jp\":!0,\"kariya.aichi.jp\":!0,\"kasugai.aichi.jp\":!0,\"kira.aichi.jp\":!0,\"kiyosu.aichi.jp\":!0,\"komaki.aichi.jp\":!0,\"konan.aichi.jp\":!0,\"kota.aichi.jp\":!0,\"mihama.aichi.jp\":!0,\"miyoshi.aichi.jp\":!0,\"nishio.aichi.jp\":!0,\"nisshin.aichi.jp\":!0,\"obu.aichi.jp\":!0,\"oguchi.aichi.jp\":!0,\"oharu.aichi.jp\":!0,\"okazaki.aichi.jp\":!0,\"owariasahi.aichi.jp\":!0,\"seto.aichi.jp\":!0,\"shikatsu.aichi.jp\":!0,\"shinshiro.aichi.jp\":!0,\"shitara.aichi.jp\":!0,\"tahara.aichi.jp\":!0,\"takahama.aichi.jp\":!0,\"tobishima.aichi.jp\":!0,\"toei.aichi.jp\":!0,\"togo.aichi.jp\":!0,\"tokai.aichi.jp\":!0,\"tokoname.aichi.jp\":!0,\"toyoake.aichi.jp\":!0,\"toyohashi.aichi.jp\":!0,\"toyokawa.aichi.jp\":!0,\"toyone.aichi.jp\":!0,\"toyota.aichi.jp\":!0,\"tsushima.aichi.jp\":!0,\"yatomi.aichi.jp\":!0,\"akita.akita.jp\":!0,\"daisen.akita.jp\":!0,\"fujisato.akita.jp\":!0,\"gojome.akita.jp\":!0,\"hachirogata.akita.jp\":!0,\"happou.akita.jp\":!0,\"higashinaruse.akita.jp\":!0,\"honjo.akita.jp\":!0,\"honjyo.akita.jp\":!0,\"ikawa.akita.jp\":!0,\"kamikoani.akita.jp\":!0,\"kamioka.akita.jp\":!0,\"katagami.akita.jp\":!0,\"kazuno.akita.jp\":!0,\"kitaakita.akita.jp\":!0,\"kosaka.akita.jp\":!0,\"kyowa.akita.jp\":!0,\"misato.akita.jp\":!0,\"mitane.akita.jp\":!0,\"moriyoshi.akita.jp\":!0,\"nikaho.akita.jp\":!0,\"noshiro.akita.jp\":!0,\"odate.akita.jp\":!0,\"oga.akita.jp\":!0,\"ogata.akita.jp\":!0,\"semboku.akita.jp\":!0,\"yokote.akita.jp\":!0,\"yurihonjo.akita.jp\":!0,\"aomori.aomori.jp\":!0,\"gonohe.aomori.jp\":!0,\"hachinohe.aomori.jp\":!0,\"hashikami.aomori.jp\":!0,\"hiranai.aomori.jp\":!0,\"hirosaki.aomori.jp\":!0,\"itayanagi.aomori.jp\":!0,\"kuroishi.aomori.jp\":!0,\"misawa.aomori.jp\":!0,\"mutsu.aomori.jp\":!0,\"nakadomari.aomori.jp\":!0,\"noheji.aomori.jp\":!0,\"oirase.aomori.jp\":!0,\"owani.aomori.jp\":!0,\"rokunohe.aomori.jp\":!0,\"sannohe.aomori.jp\":!0,\"shichinohe.aomori.jp\":!0,\"shingo.aomori.jp\":!0,\"takko.aomori.jp\":!0,\"towada.aomori.jp\":!0,\"tsugaru.aomori.jp\":!0,\"tsuruta.aomori.jp\":!0,\"abiko.chiba.jp\":!0,\"asahi.chiba.jp\":!0,\"chonan.chiba.jp\":!0,\"chosei.chiba.jp\":!0,\"choshi.chiba.jp\":!0,\"chuo.chiba.jp\":!0,\"funabashi.chiba.jp\":!0,\"futtsu.chiba.jp\":!0,\"hanamigawa.chiba.jp\":!0,\"ichihara.chiba.jp\":!0,\"ichikawa.chiba.jp\":!0,\"ichinomiya.chiba.jp\":!0,\"inzai.chiba.jp\":!0,\"isumi.chiba.jp\":!0,\"kamagaya.chiba.jp\":!0,\"kamogawa.chiba.jp\":!0,\"kashiwa.chiba.jp\":!0,\"katori.chiba.jp\":!0,\"katsuura.chiba.jp\":!0,\"kimitsu.chiba.jp\":!0,\"kisarazu.chiba.jp\":!0,\"kozaki.chiba.jp\":!0,\"kujukuri.chiba.jp\":!0,\"kyonan.chiba.jp\":!0,\"matsudo.chiba.jp\":!0,\"midori.chiba.jp\":!0,\"mihama.chiba.jp\":!0,\"minamiboso.chiba.jp\":!0,\"mobara.chiba.jp\":!0,\"mutsuzawa.chiba.jp\":!0,\"nagara.chiba.jp\":!0,\"nagareyama.chiba.jp\":!0,\"narashino.chiba.jp\":!0,\"narita.chiba.jp\":!0,\"noda.chiba.jp\":!0,\"oamishirasato.chiba.jp\":!0,\"omigawa.chiba.jp\":!0,\"onjuku.chiba.jp\":!0,\"otaki.chiba.jp\":!0,\"sakae.chiba.jp\":!0,\"sakura.chiba.jp\":!0,\"shimofusa.chiba.jp\":!0,\"shirako.chiba.jp\":!0,\"shiroi.chiba.jp\":!0,\"shisui.chiba.jp\":!0,\"sodegaura.chiba.jp\":!0,\"sosa.chiba.jp\":!0,\"tako.chiba.jp\":!0,\"tateyama.chiba.jp\":!0,\"togane.chiba.jp\":!0,\"tohnosho.chiba.jp\":!0,\"tomisato.chiba.jp\":!0,\"urayasu.chiba.jp\":!0,\"yachimata.chiba.jp\":!0,\"yachiyo.chiba.jp\":!0,\"yokaichiba.chiba.jp\":!0,\"yokoshibahikari.chiba.jp\":!0,\"yotsukaido.chiba.jp\":!0,\"ainan.ehime.jp\":!0,\"honai.ehime.jp\":!0,\"ikata.ehime.jp\":!0,\"imabari.ehime.jp\":!0,\"iyo.ehime.jp\":!0,\"kamijima.ehime.jp\":!0,\"kihoku.ehime.jp\":!0,\"kumakogen.ehime.jp\":!0,\"masaki.ehime.jp\":!0,\"matsuno.ehime.jp\":!0,\"matsuyama.ehime.jp\":!0,\"namikata.ehime.jp\":!0,\"niihama.ehime.jp\":!0,\"ozu.ehime.jp\":!0,\"saijo.ehime.jp\":!0,\"seiyo.ehime.jp\":!0,\"shikokuchuo.ehime.jp\":!0,\"tobe.ehime.jp\":!0,\"toon.ehime.jp\":!0,\"uchiko.ehime.jp\":!0,\"uwajima.ehime.jp\":!0,\"yawatahama.ehime.jp\":!0,\"echizen.fukui.jp\":!0,\"eiheiji.fukui.jp\":!0,\"fukui.fukui.jp\":!0,\"ikeda.fukui.jp\":!0,\"katsuyama.fukui.jp\":!0,\"mihama.fukui.jp\":!0,\"minamiechizen.fukui.jp\":!0,\"obama.fukui.jp\":!0,\"ohi.fukui.jp\":!0,\"ono.fukui.jp\":!0,\"sabae.fukui.jp\":!0,\"sakai.fukui.jp\":!0,\"takahama.fukui.jp\":!0,\"tsuruga.fukui.jp\":!0,\"wakasa.fukui.jp\":!0,\"ashiya.fukuoka.jp\":!0,\"buzen.fukuoka.jp\":!0,\"chikugo.fukuoka.jp\":!0,\"chikuho.fukuoka.jp\":!0,\"chikujo.fukuoka.jp\":!0,\"chikushino.fukuoka.jp\":!0,\"chikuzen.fukuoka.jp\":!0,\"chuo.fukuoka.jp\":!0,\"dazaifu.fukuoka.jp\":!0,\"fukuchi.fukuoka.jp\":!0,\"hakata.fukuoka.jp\":!0,\"higashi.fukuoka.jp\":!0,\"hirokawa.fukuoka.jp\":!0,\"hisayama.fukuoka.jp\":!0,\"iizuka.fukuoka.jp\":!0,\"inatsuki.fukuoka.jp\":!0,\"kaho.fukuoka.jp\":!0,\"kasuga.fukuoka.jp\":!0,\"kasuya.fukuoka.jp\":!0,\"kawara.fukuoka.jp\":!0,\"keisen.fukuoka.jp\":!0,\"koga.fukuoka.jp\":!0,\"kurate.fukuoka.jp\":!0,\"kurogi.fukuoka.jp\":!0,\"kurume.fukuoka.jp\":!0,\"minami.fukuoka.jp\":!0,\"miyako.fukuoka.jp\":!0,\"miyama.fukuoka.jp\":!0,\"miyawaka.fukuoka.jp\":!0,\"mizumaki.fukuoka.jp\":!0,\"munakata.fukuoka.jp\":!0,\"nakagawa.fukuoka.jp\":!0,\"nakama.fukuoka.jp\":!0,\"nishi.fukuoka.jp\":!0,\"nogata.fukuoka.jp\":!0,\"ogori.fukuoka.jp\":!0,\"okagaki.fukuoka.jp\":!0,\"okawa.fukuoka.jp\":!0,\"oki.fukuoka.jp\":!0,\"omuta.fukuoka.jp\":!0,\"onga.fukuoka.jp\":!0,\"onojo.fukuoka.jp\":!0,\"oto.fukuoka.jp\":!0,\"saigawa.fukuoka.jp\":!0,\"sasaguri.fukuoka.jp\":!0,\"shingu.fukuoka.jp\":!0,\"shinyoshitomi.fukuoka.jp\":!0,\"shonai.fukuoka.jp\":!0,\"soeda.fukuoka.jp\":!0,\"sue.fukuoka.jp\":!0,\"tachiarai.fukuoka.jp\":!0,\"tagawa.fukuoka.jp\":!0,\"takata.fukuoka.jp\":!0,\"toho.fukuoka.jp\":!0,\"toyotsu.fukuoka.jp\":!0,\"tsuiki.fukuoka.jp\":!0,\"ukiha.fukuoka.jp\":!0,\"umi.fukuoka.jp\":!0,\"usui.fukuoka.jp\":!0,\"yamada.fukuoka.jp\":!0,\"yame.fukuoka.jp\":!0,\"yanagawa.fukuoka.jp\":!0,\"yukuhashi.fukuoka.jp\":!0,\"aizubange.fukushima.jp\":!0,\"aizumisato.fukushima.jp\":!0,\"aizuwakamatsu.fukushima.jp\":!0,\"asakawa.fukushima.jp\":!0,\"bandai.fukushima.jp\":!0,\"date.fukushima.jp\":!0,\"fukushima.fukushima.jp\":!0,\"furudono.fukushima.jp\":!0,\"futaba.fukushima.jp\":!0,\"hanawa.fukushima.jp\":!0,\"higashi.fukushima.jp\":!0,\"hirata.fukushima.jp\":!0,\"hirono.fukushima.jp\":!0,\"iitate.fukushima.jp\":!0,\"inawashiro.fukushima.jp\":!0,\"ishikawa.fukushima.jp\":!0,\"iwaki.fukushima.jp\":!0,\"izumizaki.fukushima.jp\":!0,\"kagamiishi.fukushima.jp\":!0,\"kaneyama.fukushima.jp\":!0,\"kawamata.fukushima.jp\":!0,\"kitakata.fukushima.jp\":!0,\"kitashiobara.fukushima.jp\":!0,\"koori.fukushima.jp\":!0,\"koriyama.fukushima.jp\":!0,\"kunimi.fukushima.jp\":!0,\"miharu.fukushima.jp\":!0,\"mishima.fukushima.jp\":!0,\"namie.fukushima.jp\":!0,\"nango.fukushima.jp\":!0,\"nishiaizu.fukushima.jp\":!0,\"nishigo.fukushima.jp\":!0,\"okuma.fukushima.jp\":!0,\"omotego.fukushima.jp\":!0,\"ono.fukushima.jp\":!0,\"otama.fukushima.jp\":!0,\"samegawa.fukushima.jp\":!0,\"shimogo.fukushima.jp\":!0,\"shirakawa.fukushima.jp\":!0,\"showa.fukushima.jp\":!0,\"soma.fukushima.jp\":!0,\"sukagawa.fukushima.jp\":!0,\"taishin.fukushima.jp\":!0,\"tamakawa.fukushima.jp\":!0,\"tanagura.fukushima.jp\":!0,\"tenei.fukushima.jp\":!0,\"yabuki.fukushima.jp\":!0,\"yamato.fukushima.jp\":!0,\"yamatsuri.fukushima.jp\":!0,\"yanaizu.fukushima.jp\":!0,\"yugawa.fukushima.jp\":!0,\"anpachi.gifu.jp\":!0,\"ena.gifu.jp\":!0,\"gifu.gifu.jp\":!0,\"ginan.gifu.jp\":!0,\"godo.gifu.jp\":!0,\"gujo.gifu.jp\":!0,\"hashima.gifu.jp\":!0,\"hichiso.gifu.jp\":!0,\"hida.gifu.jp\":!0,\"higashishirakawa.gifu.jp\":!0,\"ibigawa.gifu.jp\":!0,\"ikeda.gifu.jp\":!0,\"kakamigahara.gifu.jp\":!0,\"kani.gifu.jp\":!0,\"kasahara.gifu.jp\":!0,\"kasamatsu.gifu.jp\":!0,\"kawaue.gifu.jp\":!0,\"kitagata.gifu.jp\":!0,\"mino.gifu.jp\":!0,\"minokamo.gifu.jp\":!0,\"mitake.gifu.jp\":!0,\"mizunami.gifu.jp\":!0,\"motosu.gifu.jp\":!0,\"nakatsugawa.gifu.jp\":!0,\"ogaki.gifu.jp\":!0,\"sakahogi.gifu.jp\":!0,\"seki.gifu.jp\":!0,\"sekigahara.gifu.jp\":!0,\"shirakawa.gifu.jp\":!0,\"tajimi.gifu.jp\":!0,\"takayama.gifu.jp\":!0,\"tarui.gifu.jp\":!0,\"toki.gifu.jp\":!0,\"tomika.gifu.jp\":!0,\"wanouchi.gifu.jp\":!0,\"yamagata.gifu.jp\":!0,\"yaotsu.gifu.jp\":!0,\"yoro.gifu.jp\":!0,\"annaka.gunma.jp\":!0,\"chiyoda.gunma.jp\":!0,\"fujioka.gunma.jp\":!0,\"higashiagatsuma.gunma.jp\":!0,\"isesaki.gunma.jp\":!0,\"itakura.gunma.jp\":!0,\"kanna.gunma.jp\":!0,\"kanra.gunma.jp\":!0,\"katashina.gunma.jp\":!0,\"kawaba.gunma.jp\":!0,\"kiryu.gunma.jp\":!0,\"kusatsu.gunma.jp\":!0,\"maebashi.gunma.jp\":!0,\"meiwa.gunma.jp\":!0,\"midori.gunma.jp\":!0,\"minakami.gunma.jp\":!0,\"naganohara.gunma.jp\":!0,\"nakanojo.gunma.jp\":!0,\"nanmoku.gunma.jp\":!0,\"numata.gunma.jp\":!0,\"oizumi.gunma.jp\":!0,\"ora.gunma.jp\":!0,\"ota.gunma.jp\":!0,\"shibukawa.gunma.jp\":!0,\"shimonita.gunma.jp\":!0,\"shinto.gunma.jp\":!0,\"showa.gunma.jp\":!0,\"takasaki.gunma.jp\":!0,\"takayama.gunma.jp\":!0,\"tamamura.gunma.jp\":!0,\"tatebayashi.gunma.jp\":!0,\"tomioka.gunma.jp\":!0,\"tsukiyono.gunma.jp\":!0,\"tsumagoi.gunma.jp\":!0,\"ueno.gunma.jp\":!0,\"yoshioka.gunma.jp\":!0,\"asaminami.hiroshima.jp\":!0,\"daiwa.hiroshima.jp\":!0,\"etajima.hiroshima.jp\":!0,\"fuchu.hiroshima.jp\":!0,\"fukuyama.hiroshima.jp\":!0,\"hatsukaichi.hiroshima.jp\":!0,\"higashihiroshima.hiroshima.jp\":!0,\"hongo.hiroshima.jp\":!0,\"jinsekikogen.hiroshima.jp\":!0,\"kaita.hiroshima.jp\":!0,\"kui.hiroshima.jp\":!0,\"kumano.hiroshima.jp\":!0,\"kure.hiroshima.jp\":!0,\"mihara.hiroshima.jp\":!0,\"miyoshi.hiroshima.jp\":!0,\"naka.hiroshima.jp\":!0,\"onomichi.hiroshima.jp\":!0,\"osakikamijima.hiroshima.jp\":!0,\"otake.hiroshima.jp\":!0,\"saka.hiroshima.jp\":!0,\"sera.hiroshima.jp\":!0,\"seranishi.hiroshima.jp\":!0,\"shinichi.hiroshima.jp\":!0,\"shobara.hiroshima.jp\":!0,\"takehara.hiroshima.jp\":!0,\"abashiri.hokkaido.jp\":!0,\"abira.hokkaido.jp\":!0,\"aibetsu.hokkaido.jp\":!0,\"akabira.hokkaido.jp\":!0,\"akkeshi.hokkaido.jp\":!0,\"asahikawa.hokkaido.jp\":!0,\"ashibetsu.hokkaido.jp\":!0,\"ashoro.hokkaido.jp\":!0,\"assabu.hokkaido.jp\":!0,\"atsuma.hokkaido.jp\":!0,\"bibai.hokkaido.jp\":!0,\"biei.hokkaido.jp\":!0,\"bifuka.hokkaido.jp\":!0,\"bihoro.hokkaido.jp\":!0,\"biratori.hokkaido.jp\":!0,\"chippubetsu.hokkaido.jp\":!0,\"chitose.hokkaido.jp\":!0,\"date.hokkaido.jp\":!0,\"ebetsu.hokkaido.jp\":!0,\"embetsu.hokkaido.jp\":!0,\"eniwa.hokkaido.jp\":!0,\"erimo.hokkaido.jp\":!0,\"esan.hokkaido.jp\":!0,\"esashi.hokkaido.jp\":!0,\"fukagawa.hokkaido.jp\":!0,\"fukushima.hokkaido.jp\":!0,\"furano.hokkaido.jp\":!0,\"furubira.hokkaido.jp\":!0,\"haboro.hokkaido.jp\":!0,\"hakodate.hokkaido.jp\":!0,\"hamatonbetsu.hokkaido.jp\":!0,\"hidaka.hokkaido.jp\":!0,\"higashikagura.hokkaido.jp\":!0,\"higashikawa.hokkaido.jp\":!0,\"hiroo.hokkaido.jp\":!0,\"hokuryu.hokkaido.jp\":!0,\"hokuto.hokkaido.jp\":!0,\"honbetsu.hokkaido.jp\":!0,\"horokanai.hokkaido.jp\":!0,\"horonobe.hokkaido.jp\":!0,\"ikeda.hokkaido.jp\":!0,\"imakane.hokkaido.jp\":!0,\"ishikari.hokkaido.jp\":!0,\"iwamizawa.hokkaido.jp\":!0,\"iwanai.hokkaido.jp\":!0,\"kamifurano.hokkaido.jp\":!0,\"kamikawa.hokkaido.jp\":!0,\"kamishihoro.hokkaido.jp\":!0,\"kamisunagawa.hokkaido.jp\":!0,\"kamoenai.hokkaido.jp\":!0,\"kayabe.hokkaido.jp\":!0,\"kembuchi.hokkaido.jp\":!0,\"kikonai.hokkaido.jp\":!0,\"kimobetsu.hokkaido.jp\":!0,\"kitahiroshima.hokkaido.jp\":!0,\"kitami.hokkaido.jp\":!0,\"kiyosato.hokkaido.jp\":!0,\"koshimizu.hokkaido.jp\":!0,\"kunneppu.hokkaido.jp\":!0,\"kuriyama.hokkaido.jp\":!0,\"kuromatsunai.hokkaido.jp\":!0,\"kushiro.hokkaido.jp\":!0,\"kutchan.hokkaido.jp\":!0,\"kyowa.hokkaido.jp\":!0,\"mashike.hokkaido.jp\":!0,\"matsumae.hokkaido.jp\":!0,\"mikasa.hokkaido.jp\":!0,\"minamifurano.hokkaido.jp\":!0,\"mombetsu.hokkaido.jp\":!0,\"moseushi.hokkaido.jp\":!0,\"mukawa.hokkaido.jp\":!0,\"muroran.hokkaido.jp\":!0,\"naie.hokkaido.jp\":!0,\"nakagawa.hokkaido.jp\":!0,\"nakasatsunai.hokkaido.jp\":!0,\"nakatombetsu.hokkaido.jp\":!0,\"nanae.hokkaido.jp\":!0,\"nanporo.hokkaido.jp\":!0,\"nayoro.hokkaido.jp\":!0,\"nemuro.hokkaido.jp\":!0,\"niikappu.hokkaido.jp\":!0,\"niki.hokkaido.jp\":!0,\"nishiokoppe.hokkaido.jp\":!0,\"noboribetsu.hokkaido.jp\":!0,\"numata.hokkaido.jp\":!0,\"obihiro.hokkaido.jp\":!0,\"obira.hokkaido.jp\":!0,\"oketo.hokkaido.jp\":!0,\"okoppe.hokkaido.jp\":!0,\"otaru.hokkaido.jp\":!0,\"otobe.hokkaido.jp\":!0,\"otofuke.hokkaido.jp\":!0,\"otoineppu.hokkaido.jp\":!0,\"oumu.hokkaido.jp\":!0,\"ozora.hokkaido.jp\":!0,\"pippu.hokkaido.jp\":!0,\"rankoshi.hokkaido.jp\":!0,\"rebun.hokkaido.jp\":!0,\"rikubetsu.hokkaido.jp\":!0,\"rishiri.hokkaido.jp\":!0,\"rishirifuji.hokkaido.jp\":!0,\"saroma.hokkaido.jp\":!0,\"sarufutsu.hokkaido.jp\":!0,\"shakotan.hokkaido.jp\":!0,\"shari.hokkaido.jp\":!0,\"shibecha.hokkaido.jp\":!0,\"shibetsu.hokkaido.jp\":!0,\"shikabe.hokkaido.jp\":!0,\"shikaoi.hokkaido.jp\":!0,\"shimamaki.hokkaido.jp\":!0,\"shimizu.hokkaido.jp\":!0,\"shimokawa.hokkaido.jp\":!0,\"shinshinotsu.hokkaido.jp\":!0,\"shintoku.hokkaido.jp\":!0,\"shiranuka.hokkaido.jp\":!0,\"shiraoi.hokkaido.jp\":!0,\"shiriuchi.hokkaido.jp\":!0,\"sobetsu.hokkaido.jp\":!0,\"sunagawa.hokkaido.jp\":!0,\"taiki.hokkaido.jp\":!0,\"takasu.hokkaido.jp\":!0,\"takikawa.hokkaido.jp\":!0,\"takinoue.hokkaido.jp\":!0,\"teshikaga.hokkaido.jp\":!0,\"tobetsu.hokkaido.jp\":!0,\"tohma.hokkaido.jp\":!0,\"tomakomai.hokkaido.jp\":!0,\"tomari.hokkaido.jp\":!0,\"toya.hokkaido.jp\":!0,\"toyako.hokkaido.jp\":!0,\"toyotomi.hokkaido.jp\":!0,\"toyoura.hokkaido.jp\":!0,\"tsubetsu.hokkaido.jp\":!0,\"tsukigata.hokkaido.jp\":!0,\"urakawa.hokkaido.jp\":!0,\"urausu.hokkaido.jp\":!0,\"uryu.hokkaido.jp\":!0,\"utashinai.hokkaido.jp\":!0,\"wakkanai.hokkaido.jp\":!0,\"wassamu.hokkaido.jp\":!0,\"yakumo.hokkaido.jp\":!0,\"yoichi.hokkaido.jp\":!0,\"aioi.hyogo.jp\":!0,\"akashi.hyogo.jp\":!0,\"ako.hyogo.jp\":!0,\"amagasaki.hyogo.jp\":!0,\"aogaki.hyogo.jp\":!0,\"asago.hyogo.jp\":!0,\"ashiya.hyogo.jp\":!0,\"awaji.hyogo.jp\":!0,\"fukusaki.hyogo.jp\":!0,\"goshiki.hyogo.jp\":!0,\"harima.hyogo.jp\":!0,\"himeji.hyogo.jp\":!0,\"ichikawa.hyogo.jp\":!0,\"inagawa.hyogo.jp\":!0,\"itami.hyogo.jp\":!0,\"kakogawa.hyogo.jp\":!0,\"kamigori.hyogo.jp\":!0,\"kamikawa.hyogo.jp\":!0,\"kasai.hyogo.jp\":!0,\"kasuga.hyogo.jp\":!0,\"kawanishi.hyogo.jp\":!0,\"miki.hyogo.jp\":!0,\"minamiawaji.hyogo.jp\":!0,\"nishinomiya.hyogo.jp\":!0,\"nishiwaki.hyogo.jp\":!0,\"ono.hyogo.jp\":!0,\"sanda.hyogo.jp\":!0,\"sannan.hyogo.jp\":!0,\"sasayama.hyogo.jp\":!0,\"sayo.hyogo.jp\":!0,\"shingu.hyogo.jp\":!0,\"shinonsen.hyogo.jp\":!0,\"shiso.hyogo.jp\":!0,\"sumoto.hyogo.jp\":!0,\"taishi.hyogo.jp\":!0,\"taka.hyogo.jp\":!0,\"takarazuka.hyogo.jp\":!0,\"takasago.hyogo.jp\":!0,\"takino.hyogo.jp\":!0,\"tamba.hyogo.jp\":!0,\"tatsuno.hyogo.jp\":!0,\"toyooka.hyogo.jp\":!0,\"yabu.hyogo.jp\":!0,\"yashiro.hyogo.jp\":!0,\"yoka.hyogo.jp\":!0,\"yokawa.hyogo.jp\":!0,\"ami.ibaraki.jp\":!0,\"asahi.ibaraki.jp\":!0,\"bando.ibaraki.jp\":!0,\"chikusei.ibaraki.jp\":!0,\"daigo.ibaraki.jp\":!0,\"fujishiro.ibaraki.jp\":!0,\"hitachi.ibaraki.jp\":!0,\"hitachinaka.ibaraki.jp\":!0,\"hitachiomiya.ibaraki.jp\":!0,\"hitachiota.ibaraki.jp\":!0,\"ibaraki.ibaraki.jp\":!0,\"ina.ibaraki.jp\":!0,\"inashiki.ibaraki.jp\":!0,\"itako.ibaraki.jp\":!0,\"iwama.ibaraki.jp\":!0,\"joso.ibaraki.jp\":!0,\"kamisu.ibaraki.jp\":!0,\"kasama.ibaraki.jp\":!0,\"kashima.ibaraki.jp\":!0,\"kasumigaura.ibaraki.jp\":!0,\"koga.ibaraki.jp\":!0,\"miho.ibaraki.jp\":!0,\"mito.ibaraki.jp\":!0,\"moriya.ibaraki.jp\":!0,\"naka.ibaraki.jp\":!0,\"namegata.ibaraki.jp\":!0,\"oarai.ibaraki.jp\":!0,\"ogawa.ibaraki.jp\":!0,\"omitama.ibaraki.jp\":!0,\"ryugasaki.ibaraki.jp\":!0,\"sakai.ibaraki.jp\":!0,\"sakuragawa.ibaraki.jp\":!0,\"shimodate.ibaraki.jp\":!0,\"shimotsuma.ibaraki.jp\":!0,\"shirosato.ibaraki.jp\":!0,\"sowa.ibaraki.jp\":!0,\"suifu.ibaraki.jp\":!0,\"takahagi.ibaraki.jp\":!0,\"tamatsukuri.ibaraki.jp\":!0,\"tokai.ibaraki.jp\":!0,\"tomobe.ibaraki.jp\":!0,\"tone.ibaraki.jp\":!0,\"toride.ibaraki.jp\":!0,\"tsuchiura.ibaraki.jp\":!0,\"tsukuba.ibaraki.jp\":!0,\"uchihara.ibaraki.jp\":!0,\"ushiku.ibaraki.jp\":!0,\"yachiyo.ibaraki.jp\":!0,\"yamagata.ibaraki.jp\":!0,\"yawara.ibaraki.jp\":!0,\"yuki.ibaraki.jp\":!0,\"anamizu.ishikawa.jp\":!0,\"hakui.ishikawa.jp\":!0,\"hakusan.ishikawa.jp\":!0,\"kaga.ishikawa.jp\":!0,\"kahoku.ishikawa.jp\":!0,\"kanazawa.ishikawa.jp\":!0,\"kawakita.ishikawa.jp\":!0,\"komatsu.ishikawa.jp\":!0,\"nakanoto.ishikawa.jp\":!0,\"nanao.ishikawa.jp\":!0,\"nomi.ishikawa.jp\":!0,\"nonoichi.ishikawa.jp\":!0,\"noto.ishikawa.jp\":!0,\"shika.ishikawa.jp\":!0,\"suzu.ishikawa.jp\":!0,\"tsubata.ishikawa.jp\":!0,\"tsurugi.ishikawa.jp\":!0,\"uchinada.ishikawa.jp\":!0,\"wajima.ishikawa.jp\":!0,\"fudai.iwate.jp\":!0,\"fujisawa.iwate.jp\":!0,\"hanamaki.iwate.jp\":!0,\"hiraizumi.iwate.jp\":!0,\"hirono.iwate.jp\":!0,\"ichinohe.iwate.jp\":!0,\"ichinoseki.iwate.jp\":!0,\"iwaizumi.iwate.jp\":!0,\"iwate.iwate.jp\":!0,\"joboji.iwate.jp\":!0,\"kamaishi.iwate.jp\":!0,\"kanegasaki.iwate.jp\":!0,\"karumai.iwate.jp\":!0,\"kawai.iwate.jp\":!0,\"kitakami.iwate.jp\":!0,\"kuji.iwate.jp\":!0,\"kunohe.iwate.jp\":!0,\"kuzumaki.iwate.jp\":!0,\"miyako.iwate.jp\":!0,\"mizusawa.iwate.jp\":!0,\"morioka.iwate.jp\":!0,\"ninohe.iwate.jp\":!0,\"noda.iwate.jp\":!0,\"ofunato.iwate.jp\":!0,\"oshu.iwate.jp\":!0,\"otsuchi.iwate.jp\":!0,\"rikuzentakata.iwate.jp\":!0,\"shiwa.iwate.jp\":!0,\"shizukuishi.iwate.jp\":!0,\"sumita.iwate.jp\":!0,\"tanohata.iwate.jp\":!0,\"tono.iwate.jp\":!0,\"yahaba.iwate.jp\":!0,\"yamada.iwate.jp\":!0,\"ayagawa.kagawa.jp\":!0,\"higashikagawa.kagawa.jp\":!0,\"kanonji.kagawa.jp\":!0,\"kotohira.kagawa.jp\":!0,\"manno.kagawa.jp\":!0,\"marugame.kagawa.jp\":!0,\"mitoyo.kagawa.jp\":!0,\"naoshima.kagawa.jp\":!0,\"sanuki.kagawa.jp\":!0,\"tadotsu.kagawa.jp\":!0,\"takamatsu.kagawa.jp\":!0,\"tonosho.kagawa.jp\":!0,\"uchinomi.kagawa.jp\":!0,\"utazu.kagawa.jp\":!0,\"zentsuji.kagawa.jp\":!0,\"akune.kagoshima.jp\":!0,\"amami.kagoshima.jp\":!0,\"hioki.kagoshima.jp\":!0,\"isa.kagoshima.jp\":!0,\"isen.kagoshima.jp\":!0,\"izumi.kagoshima.jp\":!0,\"kagoshima.kagoshima.jp\":!0,\"kanoya.kagoshima.jp\":!0,\"kawanabe.kagoshima.jp\":!0,\"kinko.kagoshima.jp\":!0,\"kouyama.kagoshima.jp\":!0,\"makurazaki.kagoshima.jp\":!0,\"matsumoto.kagoshima.jp\":!0,\"minamitane.kagoshima.jp\":!0,\"nakatane.kagoshima.jp\":!0,\"nishinoomote.kagoshima.jp\":!0,\"satsumasendai.kagoshima.jp\":!0,\"soo.kagoshima.jp\":!0,\"tarumizu.kagoshima.jp\":!0,\"yusui.kagoshima.jp\":!0,\"aikawa.kanagawa.jp\":!0,\"atsugi.kanagawa.jp\":!0,\"ayase.kanagawa.jp\":!0,\"chigasaki.kanagawa.jp\":!0,\"ebina.kanagawa.jp\":!0,\"fujisawa.kanagawa.jp\":!0,\"hadano.kanagawa.jp\":!0,\"hakone.kanagawa.jp\":!0,\"hiratsuka.kanagawa.jp\":!0,\"isehara.kanagawa.jp\":!0,\"kaisei.kanagawa.jp\":!0,\"kamakura.kanagawa.jp\":!0,\"kiyokawa.kanagawa.jp\":!0,\"matsuda.kanagawa.jp\":!0,\"minamiashigara.kanagawa.jp\":!0,\"miura.kanagawa.jp\":!0,\"nakai.kanagawa.jp\":!0,\"ninomiya.kanagawa.jp\":!0,\"odawara.kanagawa.jp\":!0,\"oi.kanagawa.jp\":!0,\"oiso.kanagawa.jp\":!0,\"sagamihara.kanagawa.jp\":!0,\"samukawa.kanagawa.jp\":!0,\"tsukui.kanagawa.jp\":!0,\"yamakita.kanagawa.jp\":!0,\"yamato.kanagawa.jp\":!0,\"yokosuka.kanagawa.jp\":!0,\"yugawara.kanagawa.jp\":!0,\"zama.kanagawa.jp\":!0,\"zushi.kanagawa.jp\":!0,\"aki.kochi.jp\":!0,\"geisei.kochi.jp\":!0,\"hidaka.kochi.jp\":!0,\"higashitsuno.kochi.jp\":!0,\"ino.kochi.jp\":!0,\"kagami.kochi.jp\":!0,\"kami.kochi.jp\":!0,\"kitagawa.kochi.jp\":!0,\"kochi.kochi.jp\":!0,\"mihara.kochi.jp\":!0,\"motoyama.kochi.jp\":!0,\"muroto.kochi.jp\":!0,\"nahari.kochi.jp\":!0,\"nakamura.kochi.jp\":!0,\"nankoku.kochi.jp\":!0,\"nishitosa.kochi.jp\":!0,\"niyodogawa.kochi.jp\":!0,\"ochi.kochi.jp\":!0,\"okawa.kochi.jp\":!0,\"otoyo.kochi.jp\":!0,\"otsuki.kochi.jp\":!0,\"sakawa.kochi.jp\":!0,\"sukumo.kochi.jp\":!0,\"susaki.kochi.jp\":!0,\"tosa.kochi.jp\":!0,\"tosashimizu.kochi.jp\":!0,\"toyo.kochi.jp\":!0,\"tsuno.kochi.jp\":!0,\"umaji.kochi.jp\":!0,\"yasuda.kochi.jp\":!0,\"yusuhara.kochi.jp\":!0,\"amakusa.kumamoto.jp\":!0,\"arao.kumamoto.jp\":!0,\"aso.kumamoto.jp\":!0,\"choyo.kumamoto.jp\":!0,\"gyokuto.kumamoto.jp\":!0,\"hitoyoshi.kumamoto.jp\":!0,\"kamiamakusa.kumamoto.jp\":!0,\"kashima.kumamoto.jp\":!0,\"kikuchi.kumamoto.jp\":!0,\"kosa.kumamoto.jp\":!0,\"kumamoto.kumamoto.jp\":!0,\"mashiki.kumamoto.jp\":!0,\"mifune.kumamoto.jp\":!0,\"minamata.kumamoto.jp\":!0,\"minamioguni.kumamoto.jp\":!0,\"nagasu.kumamoto.jp\":!0,\"nishihara.kumamoto.jp\":!0,\"oguni.kumamoto.jp\":!0,\"ozu.kumamoto.jp\":!0,\"sumoto.kumamoto.jp\":!0,\"takamori.kumamoto.jp\":!0,\"uki.kumamoto.jp\":!0,\"uto.kumamoto.jp\":!0,\"yamaga.kumamoto.jp\":!0,\"yamato.kumamoto.jp\":!0,\"yatsushiro.kumamoto.jp\":!0,\"ayabe.kyoto.jp\":!0,\"fukuchiyama.kyoto.jp\":!0,\"higashiyama.kyoto.jp\":!0,\"ide.kyoto.jp\":!0,\"ine.kyoto.jp\":!0,\"joyo.kyoto.jp\":!0,\"kameoka.kyoto.jp\":!0,\"kamo.kyoto.jp\":!0,\"kita.kyoto.jp\":!0,\"kizu.kyoto.jp\":!0,\"kumiyama.kyoto.jp\":!0,\"kyotamba.kyoto.jp\":!0,\"kyotanabe.kyoto.jp\":!0,\"kyotango.kyoto.jp\":!0,\"maizuru.kyoto.jp\":!0,\"minami.kyoto.jp\":!0,\"minamiyamashiro.kyoto.jp\":!0,\n\"miyazu.kyoto.jp\":!0,\"muko.kyoto.jp\":!0,\"nagaokakyo.kyoto.jp\":!0,\"nakagyo.kyoto.jp\":!0,\"nantan.kyoto.jp\":!0,\"oyamazaki.kyoto.jp\":!0,\"sakyo.kyoto.jp\":!0,\"seika.kyoto.jp\":!0,\"tanabe.kyoto.jp\":!0,\"uji.kyoto.jp\":!0,\"ujitawara.kyoto.jp\":!0,\"wazuka.kyoto.jp\":!0,\"yamashina.kyoto.jp\":!0,\"yawata.kyoto.jp\":!0,\"asahi.mie.jp\":!0,\"inabe.mie.jp\":!0,\"ise.mie.jp\":!0,\"kameyama.mie.jp\":!0,\"kawagoe.mie.jp\":!0,\"kiho.mie.jp\":!0,\"kisosaki.mie.jp\":!0,\"kiwa.mie.jp\":!0,\"komono.mie.jp\":!0,\"kumano.mie.jp\":!0,\"kuwana.mie.jp\":!0,\"matsusaka.mie.jp\":!0,\"meiwa.mie.jp\":!0,\"mihama.mie.jp\":!0,\"minamiise.mie.jp\":!0,\"misugi.mie.jp\":!0,\"miyama.mie.jp\":!0,\"nabari.mie.jp\":!0,\"shima.mie.jp\":!0,\"suzuka.mie.jp\":!0,\"tado.mie.jp\":!0,\"taiki.mie.jp\":!0,\"taki.mie.jp\":!0,\"tamaki.mie.jp\":!0,\"toba.mie.jp\":!0,\"tsu.mie.jp\":!0,\"udono.mie.jp\":!0,\"ureshino.mie.jp\":!0,\"watarai.mie.jp\":!0,\"yokkaichi.mie.jp\":!0,\"furukawa.miyagi.jp\":!0,\"higashimatsushima.miyagi.jp\":!0,\"ishinomaki.miyagi.jp\":!0,\"iwanuma.miyagi.jp\":!0,\"kakuda.miyagi.jp\":!0,\"kami.miyagi.jp\":!0,\"kawasaki.miyagi.jp\":!0,\"kesennuma.miyagi.jp\":!0,\"marumori.miyagi.jp\":!0,\"matsushima.miyagi.jp\":!0,\"minamisanriku.miyagi.jp\":!0,\"misato.miyagi.jp\":!0,\"murata.miyagi.jp\":!0,\"natori.miyagi.jp\":!0,\"ogawara.miyagi.jp\":!0,\"ohira.miyagi.jp\":!0,\"onagawa.miyagi.jp\":!0,\"osaki.miyagi.jp\":!0,\"rifu.miyagi.jp\":!0,\"semine.miyagi.jp\":!0,\"shibata.miyagi.jp\":!0,\"shichikashuku.miyagi.jp\":!0,\"shikama.miyagi.jp\":!0,\"shiogama.miyagi.jp\":!0,\"shiroishi.miyagi.jp\":!0,\"tagajo.miyagi.jp\":!0,\"taiwa.miyagi.jp\":!0,\"tome.miyagi.jp\":!0,\"tomiya.miyagi.jp\":!0,\"wakuya.miyagi.jp\":!0,\"watari.miyagi.jp\":!0,\"yamamoto.miyagi.jp\":!0,\"zao.miyagi.jp\":!0,\"aya.miyazaki.jp\":!0,\"ebino.miyazaki.jp\":!0,\"gokase.miyazaki.jp\":!0,\"hyuga.miyazaki.jp\":!0,\"kadogawa.miyazaki.jp\":!0,\"kawaminami.miyazaki.jp\":!0,\"kijo.miyazaki.jp\":!0,\"kitagawa.miyazaki.jp\":!0,\"kitakata.miyazaki.jp\":!0,\"kitaura.miyazaki.jp\":!0,\"kobayashi.miyazaki.jp\":!0,\"kunitomi.miyazaki.jp\":!0,\"kushima.miyazaki.jp\":!0,\"mimata.miyazaki.jp\":!0,\"miyakonojo.miyazaki.jp\":!0,\"miyazaki.miyazaki.jp\":!0,\"morotsuka.miyazaki.jp\":!0,\"nichinan.miyazaki.jp\":!0,\"nishimera.miyazaki.jp\":!0,\"nobeoka.miyazaki.jp\":!0,\"saito.miyazaki.jp\":!0,\"shiiba.miyazaki.jp\":!0,\"shintomi.miyazaki.jp\":!0,\"takaharu.miyazaki.jp\":!0,\"takanabe.miyazaki.jp\":!0,\"takazaki.miyazaki.jp\":!0,\"tsuno.miyazaki.jp\":!0,\"achi.nagano.jp\":!0,\"agematsu.nagano.jp\":!0,\"anan.nagano.jp\":!0,\"aoki.nagano.jp\":!0,\"asahi.nagano.jp\":!0,\"azumino.nagano.jp\":!0,\"chikuhoku.nagano.jp\":!0,\"chikuma.nagano.jp\":!0,\"chino.nagano.jp\":!0,\"fujimi.nagano.jp\":!0,\"hakuba.nagano.jp\":!0,\"hara.nagano.jp\":!0,\"hiraya.nagano.jp\":!0,\"iida.nagano.jp\":!0,\"iijima.nagano.jp\":!0,\"iiyama.nagano.jp\":!0,\"iizuna.nagano.jp\":!0,\"ikeda.nagano.jp\":!0,\"ikusaka.nagano.jp\":!0,\"ina.nagano.jp\":!0,\"karuizawa.nagano.jp\":!0,\"kawakami.nagano.jp\":!0,\"kiso.nagano.jp\":!0,\"kisofukushima.nagano.jp\":!0,\"kitaaiki.nagano.jp\":!0,\"komagane.nagano.jp\":!0,\"komoro.nagano.jp\":!0,\"matsukawa.nagano.jp\":!0,\"matsumoto.nagano.jp\":!0,\"miasa.nagano.jp\":!0,\"minamiaiki.nagano.jp\":!0,\"minamimaki.nagano.jp\":!0,\"minamiminowa.nagano.jp\":!0,\"minowa.nagano.jp\":!0,\"miyada.nagano.jp\":!0,\"miyota.nagano.jp\":!0,\"mochizuki.nagano.jp\":!0,\"nagano.nagano.jp\":!0,\"nagawa.nagano.jp\":!0,\"nagiso.nagano.jp\":!0,\"nakagawa.nagano.jp\":!0,\"nakano.nagano.jp\":!0,\"nozawaonsen.nagano.jp\":!0,\"obuse.nagano.jp\":!0,\"ogawa.nagano.jp\":!0,\"okaya.nagano.jp\":!0,\"omachi.nagano.jp\":!0,\"omi.nagano.jp\":!0,\"ookuwa.nagano.jp\":!0,\"ooshika.nagano.jp\":!0,\"otaki.nagano.jp\":!0,\"otari.nagano.jp\":!0,\"sakae.nagano.jp\":!0,\"sakaki.nagano.jp\":!0,\"saku.nagano.jp\":!0,\"sakuho.nagano.jp\":!0,\"shimosuwa.nagano.jp\":!0,\"shinanomachi.nagano.jp\":!0,\"shiojiri.nagano.jp\":!0,\"suwa.nagano.jp\":!0,\"suzaka.nagano.jp\":!0,\"takagi.nagano.jp\":!0,\"takamori.nagano.jp\":!0,\"takayama.nagano.jp\":!0,\"tateshina.nagano.jp\":!0,\"tatsuno.nagano.jp\":!0,\"togakushi.nagano.jp\":!0,\"togura.nagano.jp\":!0,\"tomi.nagano.jp\":!0,\"ueda.nagano.jp\":!0,\"wada.nagano.jp\":!0,\"yamagata.nagano.jp\":!0,\"yamanouchi.nagano.jp\":!0,\"yasaka.nagano.jp\":!0,\"yasuoka.nagano.jp\":!0,\"chijiwa.nagasaki.jp\":!0,\"futsu.nagasaki.jp\":!0,\"goto.nagasaki.jp\":!0,\"hasami.nagasaki.jp\":!0,\"hirado.nagasaki.jp\":!0,\"iki.nagasaki.jp\":!0,\"isahaya.nagasaki.jp\":!0,\"kawatana.nagasaki.jp\":!0,\"kuchinotsu.nagasaki.jp\":!0,\"matsuura.nagasaki.jp\":!0,\"nagasaki.nagasaki.jp\":!0,\"obama.nagasaki.jp\":!0,\"omura.nagasaki.jp\":!0,\"oseto.nagasaki.jp\":!0,\"saikai.nagasaki.jp\":!0,\"sasebo.nagasaki.jp\":!0,\"seihi.nagasaki.jp\":!0,\"shimabara.nagasaki.jp\":!0,\"shinkamigoto.nagasaki.jp\":!0,\"togitsu.nagasaki.jp\":!0,\"tsushima.nagasaki.jp\":!0,\"unzen.nagasaki.jp\":!0,\"ando.nara.jp\":!0,\"gose.nara.jp\":!0,\"heguri.nara.jp\":!0,\"higashiyoshino.nara.jp\":!0,\"ikaruga.nara.jp\":!0,\"ikoma.nara.jp\":!0,\"kamikitayama.nara.jp\":!0,\"kanmaki.nara.jp\":!0,\"kashiba.nara.jp\":!0,\"kashihara.nara.jp\":!0,\"katsuragi.nara.jp\":!0,\"kawai.nara.jp\":!0,\"kawakami.nara.jp\":!0,\"kawanishi.nara.jp\":!0,\"koryo.nara.jp\":!0,\"kurotaki.nara.jp\":!0,\"mitsue.nara.jp\":!0,\"miyake.nara.jp\":!0,\"nara.nara.jp\":!0,\"nosegawa.nara.jp\":!0,\"oji.nara.jp\":!0,\"ouda.nara.jp\":!0,\"oyodo.nara.jp\":!0,\"sakurai.nara.jp\":!0,\"sango.nara.jp\":!0,\"shimoichi.nara.jp\":!0,\"shimokitayama.nara.jp\":!0,\"shinjo.nara.jp\":!0,\"soni.nara.jp\":!0,\"takatori.nara.jp\":!0,\"tawaramoto.nara.jp\":!0,\"tenkawa.nara.jp\":!0,\"tenri.nara.jp\":!0,\"uda.nara.jp\":!0,\"yamatokoriyama.nara.jp\":!0,\"yamatotakada.nara.jp\":!0,\"yamazoe.nara.jp\":!0,\"yoshino.nara.jp\":!0,\"aga.niigata.jp\":!0,\"agano.niigata.jp\":!0,\"gosen.niigata.jp\":!0,\"itoigawa.niigata.jp\":!0,\"izumozaki.niigata.jp\":!0,\"joetsu.niigata.jp\":!0,\"kamo.niigata.jp\":!0,\"kariwa.niigata.jp\":!0,\"kashiwazaki.niigata.jp\":!0,\"minamiuonuma.niigata.jp\":!0,\"mitsuke.niigata.jp\":!0,\"muika.niigata.jp\":!0,\"murakami.niigata.jp\":!0,\"myoko.niigata.jp\":!0,\"nagaoka.niigata.jp\":!0,\"niigata.niigata.jp\":!0,\"ojiya.niigata.jp\":!0,\"omi.niigata.jp\":!0,\"sado.niigata.jp\":!0,\"sanjo.niigata.jp\":!0,\"seiro.niigata.jp\":!0,\"seirou.niigata.jp\":!0,\"sekikawa.niigata.jp\":!0,\"shibata.niigata.jp\":!0,\"tagami.niigata.jp\":!0,\"tainai.niigata.jp\":!0,\"tochio.niigata.jp\":!0,\"tokamachi.niigata.jp\":!0,\"tsubame.niigata.jp\":!0,\"tsunan.niigata.jp\":!0,\"uonuma.niigata.jp\":!0,\"yahiko.niigata.jp\":!0,\"yoita.niigata.jp\":!0,\"yuzawa.niigata.jp\":!0,\"beppu.oita.jp\":!0,\"bungoono.oita.jp\":!0,\"bungotakada.oita.jp\":!0,\"hasama.oita.jp\":!0,\"hiji.oita.jp\":!0,\"himeshima.oita.jp\":!0,\"hita.oita.jp\":!0,\"kamitsue.oita.jp\":!0,\"kokonoe.oita.jp\":!0,\"kuju.oita.jp\":!0,\"kunisaki.oita.jp\":!0,\"kusu.oita.jp\":!0,\"oita.oita.jp\":!0,\"saiki.oita.jp\":!0,\"taketa.oita.jp\":!0,\"tsukumi.oita.jp\":!0,\"usa.oita.jp\":!0,\"usuki.oita.jp\":!0,\"yufu.oita.jp\":!0,\"akaiwa.okayama.jp\":!0,\"asakuchi.okayama.jp\":!0,\"bizen.okayama.jp\":!0,\"hayashima.okayama.jp\":!0,\"ibara.okayama.jp\":!0,\"kagamino.okayama.jp\":!0,\"kasaoka.okayama.jp\":!0,\"kibichuo.okayama.jp\":!0,\"kumenan.okayama.jp\":!0,\"kurashiki.okayama.jp\":!0,\"maniwa.okayama.jp\":!0,\"misaki.okayama.jp\":!0,\"nagi.okayama.jp\":!0,\"niimi.okayama.jp\":!0,\"nishiawakura.okayama.jp\":!0,\"okayama.okayama.jp\":!0,\"satosho.okayama.jp\":!0,\"setouchi.okayama.jp\":!0,\"shinjo.okayama.jp\":!0,\"shoo.okayama.jp\":!0,\"soja.okayama.jp\":!0,\"takahashi.okayama.jp\":!0,\"tamano.okayama.jp\":!0,\"tsuyama.okayama.jp\":!0,\"wake.okayama.jp\":!0,\"yakage.okayama.jp\":!0,\"aguni.okinawa.jp\":!0,\"ginowan.okinawa.jp\":!0,\"ginoza.okinawa.jp\":!0,\"gushikami.okinawa.jp\":!0,\"haebaru.okinawa.jp\":!0,\"higashi.okinawa.jp\":!0,\"hirara.okinawa.jp\":!0,\"iheya.okinawa.jp\":!0,\"ishigaki.okinawa.jp\":!0,\"ishikawa.okinawa.jp\":!0,\"itoman.okinawa.jp\":!0,\"izena.okinawa.jp\":!0,\"kadena.okinawa.jp\":!0,\"kin.okinawa.jp\":!0,\"kitadaito.okinawa.jp\":!0,\"kitanakagusuku.okinawa.jp\":!0,\"kumejima.okinawa.jp\":!0,\"kunigami.okinawa.jp\":!0,\"minamidaito.okinawa.jp\":!0,\"motobu.okinawa.jp\":!0,\"nago.okinawa.jp\":!0,\"naha.okinawa.jp\":!0,\"nakagusuku.okinawa.jp\":!0,\"nakijin.okinawa.jp\":!0,\"nanjo.okinawa.jp\":!0,\"nishihara.okinawa.jp\":!0,\"ogimi.okinawa.jp\":!0,\"okinawa.okinawa.jp\":!0,\"onna.okinawa.jp\":!0,\"shimoji.okinawa.jp\":!0,\"taketomi.okinawa.jp\":!0,\"tarama.okinawa.jp\":!0,\"tokashiki.okinawa.jp\":!0,\"tomigusuku.okinawa.jp\":!0,\"tonaki.okinawa.jp\":!0,\"urasoe.okinawa.jp\":!0,\"uruma.okinawa.jp\":!0,\"yaese.okinawa.jp\":!0,\"yomitan.okinawa.jp\":!0,\"yonabaru.okinawa.jp\":!0,\"yonaguni.okinawa.jp\":!0,\"zamami.okinawa.jp\":!0,\"abeno.osaka.jp\":!0,\"chihayaakasaka.osaka.jp\":!0,\"chuo.osaka.jp\":!0,\"daito.osaka.jp\":!0,\"fujiidera.osaka.jp\":!0,\"habikino.osaka.jp\":!0,\"hannan.osaka.jp\":!0,\"higashiosaka.osaka.jp\":!0,\"higashisumiyoshi.osaka.jp\":!0,\"higashiyodogawa.osaka.jp\":!0,\"hirakata.osaka.jp\":!0,\"ibaraki.osaka.jp\":!0,\"ikeda.osaka.jp\":!0,\"izumi.osaka.jp\":!0,\"izumiotsu.osaka.jp\":!0,\"izumisano.osaka.jp\":!0,\"kadoma.osaka.jp\":!0,\"kaizuka.osaka.jp\":!0,\"kanan.osaka.jp\":!0,\"kashiwara.osaka.jp\":!0,\"katano.osaka.jp\":!0,\"kawachinagano.osaka.jp\":!0,\"kishiwada.osaka.jp\":!0,\"kita.osaka.jp\":!0,\"kumatori.osaka.jp\":!0,\"matsubara.osaka.jp\":!0,\"minato.osaka.jp\":!0,\"minoh.osaka.jp\":!0,\"misaki.osaka.jp\":!0,\"moriguchi.osaka.jp\":!0,\"neyagawa.osaka.jp\":!0,\"nishi.osaka.jp\":!0,\"nose.osaka.jp\":!0,\"osakasayama.osaka.jp\":!0,\"sakai.osaka.jp\":!0,\"sayama.osaka.jp\":!0,\"sennan.osaka.jp\":!0,\"settsu.osaka.jp\":!0,\"shijonawate.osaka.jp\":!0,\"shimamoto.osaka.jp\":!0,\"suita.osaka.jp\":!0,\"tadaoka.osaka.jp\":!0,\"taishi.osaka.jp\":!0,\"tajiri.osaka.jp\":!0,\"takaishi.osaka.jp\":!0,\"takatsuki.osaka.jp\":!0,\"tondabayashi.osaka.jp\":!0,\"toyonaka.osaka.jp\":!0,\"toyono.osaka.jp\":!0,\"yao.osaka.jp\":!0,\"ariake.saga.jp\":!0,\"arita.saga.jp\":!0,\"fukudomi.saga.jp\":!0,\"genkai.saga.jp\":!0,\"hamatama.saga.jp\":!0,\"hizen.saga.jp\":!0,\"imari.saga.jp\":!0,\"kamimine.saga.jp\":!0,\"kanzaki.saga.jp\":!0,\"karatsu.saga.jp\":!0,\"kashima.saga.jp\":!0,\"kitagata.saga.jp\":!0,\"kitahata.saga.jp\":!0,\"kiyama.saga.jp\":!0,\"kouhoku.saga.jp\":!0,\"kyuragi.saga.jp\":!0,\"nishiarita.saga.jp\":!0,\"ogi.saga.jp\":!0,\"omachi.saga.jp\":!0,\"ouchi.saga.jp\":!0,\"saga.saga.jp\":!0,\"shiroishi.saga.jp\":!0,\"taku.saga.jp\":!0,\"tara.saga.jp\":!0,\"tosu.saga.jp\":!0,\"yoshinogari.saga.jp\":!0,\"arakawa.saitama.jp\":!0,\"asaka.saitama.jp\":!0,\"chichibu.saitama.jp\":!0,\"fujimi.saitama.jp\":!0,\"fujimino.saitama.jp\":!0,\"fukaya.saitama.jp\":!0,\"hanno.saitama.jp\":!0,\"hanyu.saitama.jp\":!0,\"hasuda.saitama.jp\":!0,\"hatogaya.saitama.jp\":!0,\"hatoyama.saitama.jp\":!0,\"hidaka.saitama.jp\":!0,\"higashichichibu.saitama.jp\":!0,\"higashimatsuyama.saitama.jp\":!0,\"honjo.saitama.jp\":!0,\"ina.saitama.jp\":!0,\"iruma.saitama.jp\":!0,\"iwatsuki.saitama.jp\":!0,\"kamiizumi.saitama.jp\":!0,\"kamikawa.saitama.jp\":!0,\"kamisato.saitama.jp\":!0,\"kasukabe.saitama.jp\":!0,\"kawagoe.saitama.jp\":!0,\"kawaguchi.saitama.jp\":!0,\"kawajima.saitama.jp\":!0,\"kazo.saitama.jp\":!0,\"kitamoto.saitama.jp\":!0,\"koshigaya.saitama.jp\":!0,\"kounosu.saitama.jp\":!0,\"kuki.saitama.jp\":!0,\"kumagaya.saitama.jp\":!0,\"matsubushi.saitama.jp\":!0,\"minano.saitama.jp\":!0,\"misato.saitama.jp\":!0,\"miyashiro.saitama.jp\":!0,\"miyoshi.saitama.jp\":!0,\"moroyama.saitama.jp\":!0,\"nagatoro.saitama.jp\":!0,\"namegawa.saitama.jp\":!0,\"niiza.saitama.jp\":!0,\"ogano.saitama.jp\":!0,\"ogawa.saitama.jp\":!0,\"ogose.saitama.jp\":!0,\"okegawa.saitama.jp\":!0,\"omiya.saitama.jp\":!0,\"otaki.saitama.jp\":!0,\"ranzan.saitama.jp\":!0,\"ryokami.saitama.jp\":!0,\"saitama.saitama.jp\":!0,\"sakado.saitama.jp\":!0,\"satte.saitama.jp\":!0,\"sayama.saitama.jp\":!0,\"shiki.saitama.jp\":!0,\"shiraoka.saitama.jp\":!0,\"soka.saitama.jp\":!0,\"sugito.saitama.jp\":!0,\"toda.saitama.jp\":!0,\"tokigawa.saitama.jp\":!0,\"tokorozawa.saitama.jp\":!0,\"tsurugashima.saitama.jp\":!0,\"urawa.saitama.jp\":!0,\"warabi.saitama.jp\":!0,\"yashio.saitama.jp\":!0,\"yokoze.saitama.jp\":!0,\"yono.saitama.jp\":!0,\"yorii.saitama.jp\":!0,\"yoshida.saitama.jp\":!0,\"yoshikawa.saitama.jp\":!0,\"yoshimi.saitama.jp\":!0,\"aisho.shiga.jp\":!0,\"gamo.shiga.jp\":!0,\"higashiomi.shiga.jp\":!0,\"hikone.shiga.jp\":!0,\"koka.shiga.jp\":!0,\"konan.shiga.jp\":!0,\"kosei.shiga.jp\":!0,\"koto.shiga.jp\":!0,\"kusatsu.shiga.jp\":!0,\"maibara.shiga.jp\":!0,\"moriyama.shiga.jp\":!0,\"nagahama.shiga.jp\":!0,\"nishiazai.shiga.jp\":!0,\"notogawa.shiga.jp\":!0,\"omihachiman.shiga.jp\":!0,\"otsu.shiga.jp\":!0,\"ritto.shiga.jp\":!0,\"ryuoh.shiga.jp\":!0,\"takashima.shiga.jp\":!0,\"takatsuki.shiga.jp\":!0,\"torahime.shiga.jp\":!0,\"toyosato.shiga.jp\":!0,\"yasu.shiga.jp\":!0,\"akagi.shimane.jp\":!0,\"ama.shimane.jp\":!0,\"gotsu.shimane.jp\":!0,\"hamada.shimane.jp\":!0,\"higashiizumo.shimane.jp\":!0,\"hikawa.shimane.jp\":!0,\"hikimi.shimane.jp\":!0,\"izumo.shimane.jp\":!0,\"kakinoki.shimane.jp\":!0,\"masuda.shimane.jp\":!0,\"matsue.shimane.jp\":!0,\"misato.shimane.jp\":!0,\"nishinoshima.shimane.jp\":!0,\"ohda.shimane.jp\":!0,\"okinoshima.shimane.jp\":!0,\"okuizumo.shimane.jp\":!0,\"shimane.shimane.jp\":!0,\"tamayu.shimane.jp\":!0,\"tsuwano.shimane.jp\":!0,\"unnan.shimane.jp\":!0,\"yakumo.shimane.jp\":!0,\"yasugi.shimane.jp\":!0,\"yatsuka.shimane.jp\":!0,\"arai.shizuoka.jp\":!0,\"atami.shizuoka.jp\":!0,\"fuji.shizuoka.jp\":!0,\"fujieda.shizuoka.jp\":!0,\"fujikawa.shizuoka.jp\":!0,\"fujinomiya.shizuoka.jp\":!0,\"fukuroi.shizuoka.jp\":!0,\"gotemba.shizuoka.jp\":!0,\"haibara.shizuoka.jp\":!0,\"hamamatsu.shizuoka.jp\":!0,\"higashiizu.shizuoka.jp\":!0,\"ito.shizuoka.jp\":!0,\"iwata.shizuoka.jp\":!0,\"izu.shizuoka.jp\":!0,\"izunokuni.shizuoka.jp\":!0,\"kakegawa.shizuoka.jp\":!0,\"kannami.shizuoka.jp\":!0,\"kawanehon.shizuoka.jp\":!0,\"kawazu.shizuoka.jp\":!0,\"kikugawa.shizuoka.jp\":!0,\"kosai.shizuoka.jp\":!0,\"makinohara.shizuoka.jp\":!0,\"matsuzaki.shizuoka.jp\":!0,\"minamiizu.shizuoka.jp\":!0,\"mishima.shizuoka.jp\":!0,\"morimachi.shizuoka.jp\":!0,\"nishiizu.shizuoka.jp\":!0,\"numazu.shizuoka.jp\":!0,\"omaezaki.shizuoka.jp\":!0,\"shimada.shizuoka.jp\":!0,\"shimizu.shizuoka.jp\":!0,\"shimoda.shizuoka.jp\":!0,\"shizuoka.shizuoka.jp\":!0,\"susono.shizuoka.jp\":!0,\"yaizu.shizuoka.jp\":!0,\"yoshida.shizuoka.jp\":!0,\"ashikaga.tochigi.jp\":!0,\"bato.tochigi.jp\":!0,\"haga.tochigi.jp\":!0,\"ichikai.tochigi.jp\":!0,\"iwafune.tochigi.jp\":!0,\"kaminokawa.tochigi.jp\":!0,\"kanuma.tochigi.jp\":!0,\"karasuyama.tochigi.jp\":!0,\"kuroiso.tochigi.jp\":!0,\"mashiko.tochigi.jp\":!0,\"mibu.tochigi.jp\":!0,\"moka.tochigi.jp\":!0,\"motegi.tochigi.jp\":!0,\"nasu.tochigi.jp\":!0,\"nasushiobara.tochigi.jp\":!0,\"nikko.tochigi.jp\":!0,\"nishikata.tochigi.jp\":!0,\"nogi.tochigi.jp\":!0,\"ohira.tochigi.jp\":!0,\"ohtawara.tochigi.jp\":!0,\"oyama.tochigi.jp\":!0,\"sakura.tochigi.jp\":!0,\"sano.tochigi.jp\":!0,\"shimotsuke.tochigi.jp\":!0,\"shioya.tochigi.jp\":!0,\"takanezawa.tochigi.jp\":!0,\"tochigi.tochigi.jp\":!0,\"tsuga.tochigi.jp\":!0,\"ujiie.tochigi.jp\":!0,\"utsunomiya.tochigi.jp\":!0,\"yaita.tochigi.jp\":!0,\"aizumi.tokushima.jp\":!0,\"anan.tokushima.jp\":!0,\"ichiba.tokushima.jp\":!0,\"itano.tokushima.jp\":!0,\"kainan.tokushima.jp\":!0,\"komatsushima.tokushima.jp\":!0,\"matsushige.tokushima.jp\":!0,\"mima.tokushima.jp\":!0,\"minami.tokushima.jp\":!0,\"miyoshi.tokushima.jp\":!0,\"mugi.tokushima.jp\":!0,\"nakagawa.tokushima.jp\":!0,\"naruto.tokushima.jp\":!0,\"sanagochi.tokushima.jp\":!0,\"shishikui.tokushima.jp\":!0,\"tokushima.tokushima.jp\":!0,\"wajiki.tokushima.jp\":!0,\"adachi.tokyo.jp\":!0,\"akiruno.tokyo.jp\":!0,\"akishima.tokyo.jp\":!0,\"aogashima.tokyo.jp\":!0,\"arakawa.tokyo.jp\":!0,\"bunkyo.tokyo.jp\":!0,\"chiyoda.tokyo.jp\":!0,\"chofu.tokyo.jp\":!0,\"chuo.tokyo.jp\":!0,\"edogawa.tokyo.jp\":!0,\"fuchu.tokyo.jp\":!0,\"fussa.tokyo.jp\":!0,\"hachijo.tokyo.jp\":!0,\"hachioji.tokyo.jp\":!0,\"hamura.tokyo.jp\":!0,\"higashikurume.tokyo.jp\":!0,\"higashimurayama.tokyo.jp\":!0,\"higashiyamato.tokyo.jp\":!0,\"hino.tokyo.jp\":!0,\"hinode.tokyo.jp\":!0,\"hinohara.tokyo.jp\":!0,\"inagi.tokyo.jp\":!0,\"itabashi.tokyo.jp\":!0,\"katsushika.tokyo.jp\":!0,\"kita.tokyo.jp\":!0,\"kiyose.tokyo.jp\":!0,\"kodaira.tokyo.jp\":!0,\"koganei.tokyo.jp\":!0,\"kokubunji.tokyo.jp\":!0,\"komae.tokyo.jp\":!0,\"koto.tokyo.jp\":!0,\"kouzushima.tokyo.jp\":!0,\"kunitachi.tokyo.jp\":!0,\"machida.tokyo.jp\":!0,\"meguro.tokyo.jp\":!0,\"minato.tokyo.jp\":!0,\"mitaka.tokyo.jp\":!0,\"mizuho.tokyo.jp\":!0,\"musashimurayama.tokyo.jp\":!0,\"musashino.tokyo.jp\":!0,\"nakano.tokyo.jp\":!0,\"nerima.tokyo.jp\":!0,\"ogasawara.tokyo.jp\":!0,\"okutama.tokyo.jp\":!0,\"ome.tokyo.jp\":!0,\"oshima.tokyo.jp\":!0,\"ota.tokyo.jp\":!0,\"setagaya.tokyo.jp\":!0,\"shibuya.tokyo.jp\":!0,\"shinagawa.tokyo.jp\":!0,\"shinjuku.tokyo.jp\":!0,\"suginami.tokyo.jp\":!0,\"sumida.tokyo.jp\":!0,\"tachikawa.tokyo.jp\":!0,\"taito.tokyo.jp\":!0,\"tama.tokyo.jp\":!0,\"toshima.tokyo.jp\":!0,\"chizu.tottori.jp\":!0,\"hino.tottori.jp\":!0,\"kawahara.tottori.jp\":!0,\"koge.tottori.jp\":!0,\"kotoura.tottori.jp\":!0,\"misasa.tottori.jp\":!0,\"nanbu.tottori.jp\":!0,\"nichinan.tottori.jp\":!0,\"sakaiminato.tottori.jp\":!0,\"tottori.tottori.jp\":!0,\"wakasa.tottori.jp\":!0,\"yazu.tottori.jp\":!0,\"yonago.tottori.jp\":!0,\"asahi.toyama.jp\":!0,\"fuchu.toyama.jp\":!0,\"fukumitsu.toyama.jp\":!0,\"funahashi.toyama.jp\":!0,\"himi.toyama.jp\":!0,\"imizu.toyama.jp\":!0,\"inami.toyama.jp\":!0,\"johana.toyama.jp\":!0,\"kamiichi.toyama.jp\":!0,\"kurobe.toyama.jp\":!0,\"nakaniikawa.toyama.jp\":!0,\"namerikawa.toyama.jp\":!0,\"nanto.toyama.jp\":!0,\"nyuzen.toyama.jp\":!0,\"oyabe.toyama.jp\":!0,\"taira.toyama.jp\":!0,\"takaoka.toyama.jp\":!0,\"tateyama.toyama.jp\":!0,\"toga.toyama.jp\":!0,\"tonami.toyama.jp\":!0,\"toyama.toyama.jp\":!0,\"unazuki.toyama.jp\":!0,\"uozu.toyama.jp\":!0,\"yamada.toyama.jp\":!0,\"arida.wakayama.jp\":!0,\"aridagawa.wakayama.jp\":!0,\"gobo.wakayama.jp\":!0,\"hashimoto.wakayama.jp\":!0,\"hidaka.wakayama.jp\":!0,\"hirogawa.wakayama.jp\":!0,\"inami.wakayama.jp\":!0,\"iwade.wakayama.jp\":!0,\"kainan.wakayama.jp\":!0,\"kamitonda.wakayama.jp\":!0,\"katsuragi.wakayama.jp\":!0,\"kimino.wakayama.jp\":!0,\"kinokawa.wakayama.jp\":!0,\"kitayama.wakayama.jp\":!0,\"koya.wakayama.jp\":!0,\"koza.wakayama.jp\":!0,\"kozagawa.wakayama.jp\":!0,\"kudoyama.wakayama.jp\":!0,\"kushimoto.wakayama.jp\":!0,\"mihama.wakayama.jp\":!0,\"misato.wakayama.jp\":!0,\"nachikatsuura.wakayama.jp\":!0,\"shingu.wakayama.jp\":!0,\"shirahama.wakayama.jp\":!0,\"taiji.wakayama.jp\":!0,\"tanabe.wakayama.jp\":!0,\"wakayama.wakayama.jp\":!0,\"yuasa.wakayama.jp\":!0,\"yura.wakayama.jp\":!0,\"asahi.yamagata.jp\":!0,\"funagata.yamagata.jp\":!0,\"higashine.yamagata.jp\":!0,\"iide.yamagata.jp\":!0,\"kahoku.yamagata.jp\":!0,\"kaminoyama.yamagata.jp\":!0,\"kaneyama.yamagata.jp\":!0,\"kawanishi.yamagata.jp\":!0,\"mamurogawa.yamagata.jp\":!0,\"mikawa.yamagata.jp\":!0,\"murayama.yamagata.jp\":!0,\"nagai.yamagata.jp\":!0,\"nakayama.yamagata.jp\":!0,\"nanyo.yamagata.jp\":!0,\"nishikawa.yamagata.jp\":!0,\"obanazawa.yamagata.jp\":!0,\"oe.yamagata.jp\":!0,\"oguni.yamagata.jp\":!0,\"ohkura.yamagata.jp\":!0,\"oishida.yamagata.jp\":!0,\"sagae.yamagata.jp\":!0,\"sakata.yamagata.jp\":!0,\"sakegawa.yamagata.jp\":!0,\"shinjo.yamagata.jp\":!0,\"shirataka.yamagata.jp\":!0,\"shonai.yamagata.jp\":!0,\"takahata.yamagata.jp\":!0,\"tendo.yamagata.jp\":!0,\"tozawa.yamagata.jp\":!0,\"tsuruoka.yamagata.jp\":!0,\"yamagata.yamagata.jp\":!0,\"yamanobe.yamagata.jp\":!0,\"yonezawa.yamagata.jp\":!0,\"yuza.yamagata.jp\":!0,\"abu.yamaguchi.jp\":!0,\"hagi.yamaguchi.jp\":!0,\"hikari.yamaguchi.jp\":!0,\"hofu.yamaguchi.jp\":!0,\"iwakuni.yamaguchi.jp\":!0,\"kudamatsu.yamaguchi.jp\":!0,\"mitou.yamaguchi.jp\":!0,\"nagato.yamaguchi.jp\":!0,\"oshima.yamaguchi.jp\":!0,\"shimonoseki.yamaguchi.jp\":!0,\"shunan.yamaguchi.jp\":!0,\"tabuse.yamaguchi.jp\":!0,\"tokuyama.yamaguchi.jp\":!0,\"toyota.yamaguchi.jp\":!0,\"ube.yamaguchi.jp\":!0,\"yuu.yamaguchi.jp\":!0,\"chuo.yamanashi.jp\":!0,\"doshi.yamanashi.jp\":!0,\"fuefuki.yamanashi.jp\":!0,\"fujikawa.yamanashi.jp\":!0,\"fujikawaguchiko.yamanashi.jp\":!0,\"fujiyoshida.yamanashi.jp\":!0,\"hayakawa.yamanashi.jp\":!0,\"hokuto.yamanashi.jp\":!0,\"ichikawamisato.yamanashi.jp\":!0,\"kai.yamanashi.jp\":!0,\"kofu.yamanashi.jp\":!0,\"koshu.yamanashi.jp\":!0,\"kosuge.yamanashi.jp\":!0,\"minami-alps.yamanashi.jp\":!0,\"minobu.yamanashi.jp\":!0,\"nakamichi.yamanashi.jp\":!0,\"nanbu.yamanashi.jp\":!0,\"narusawa.yamanashi.jp\":!0,\"nirasaki.yamanashi.jp\":!0,\"nishikatsura.yamanashi.jp\":!0,\"oshino.yamanashi.jp\":!0,\"otsuki.yamanashi.jp\":!0,\"showa.yamanashi.jp\":!0,\"tabayama.yamanashi.jp\":!0,\"tsuru.yamanashi.jp\":!0,\"uenohara.yamanashi.jp\":!0,\"yamanakako.yamanashi.jp\":!0,\"yamanashi.yamanashi.jp\":!0,\"*.ke\":!0,kg:!0,\"org.kg\":!0,\"net.kg\":!0,\"com.kg\":!0,\"edu.kg\":!0,\"gov.kg\":!0,\"mil.kg\":!0,\"*.kh\":!0,ki:!0,\"edu.ki\":!0,\"biz.ki\":!0,\"net.ki\":!0,\"org.ki\":!0,\"gov.ki\":!0,\"info.ki\":!0,\"com.ki\":!0,km:!0,\"org.km\":!0,\"nom.km\":!0,\"gov.km\":!0,\"prd.km\":!0,\"tm.km\":!0,\"edu.km\":!0,\"mil.km\":!0,\"ass.km\":!0,\"com.km\":!0,\"coop.km\":!0,\"asso.km\":!0,\"presse.km\":!0,\"medecin.km\":!0,\"notaires.km\":!0,\"pharmaciens.km\":!0,\"veterinaire.km\":!0,\"gouv.km\":!0,kn:!0,\"net.kn\":!0,\"org.kn\":!0,\"edu.kn\":!0,\"gov.kn\":!0,kp:!0,\"com.kp\":!0,\"edu.kp\":!0,\"gov.kp\":!0,\"org.kp\":!0,\"rep.kp\":!0,\"tra.kp\":!0,kr:!0,\"ac.kr\":!0,\"co.kr\":!0,\"es.kr\":!0,\"go.kr\":!0,\"hs.kr\":!0,\"kg.kr\":!0,\"mil.kr\":!0,\"ms.kr\":!0,\"ne.kr\":!0,\"or.kr\":!0,\"pe.kr\":!0,\"re.kr\":!0,\"sc.kr\":!0,\"busan.kr\":!0,\"chungbuk.kr\":!0,\"chungnam.kr\":!0,\"daegu.kr\":!0,\"daejeon.kr\":!0,\"gangwon.kr\":!0,\"gwangju.kr\":!0,\"gyeongbuk.kr\":!0,\"gyeonggi.kr\":!0,\"gyeongnam.kr\":!0,\"incheon.kr\":!0,\"jeju.kr\":!0,\"jeonbuk.kr\":!0,\"jeonnam.kr\":!0,\"seoul.kr\":!0,\"ulsan.kr\":!0,\"*.kw\":!0,ky:!0,\"edu.ky\":!0,\"gov.ky\":!0,\"com.ky\":!0,\"org.ky\":!0,\"net.ky\":!0,kz:!0,\"org.kz\":!0,\"edu.kz\":!0,\"net.kz\":!0,\"gov.kz\":!0,\"mil.kz\":!0,\"com.kz\":!0,la:!0,\"int.la\":!0,\"net.la\":!0,\"info.la\":!0,\"edu.la\":!0,\"gov.la\":!0,\"per.la\":!0,\"com.la\":!0,\"org.la\":!0,lb:!0,\"com.lb\":!0,\"edu.lb\":!0,\"gov.lb\":!0,\"net.lb\":!0,\"org.lb\":!0,lc:!0,\"com.lc\":!0,\"net.lc\":!0,\"co.lc\":!0,\"org.lc\":!0,\"edu.lc\":!0,\"gov.lc\":!0,li:!0,lk:!0,\"gov.lk\":!0,\"sch.lk\":!0,\"net.lk\":!0,\"int.lk\":!0,\"com.lk\":!0,\"org.lk\":!0,\"edu.lk\":!0,\"ngo.lk\":!0,\"soc.lk\":!0,\"web.lk\":!0,\"ltd.lk\":!0,\"assn.lk\":!0,\"grp.lk\":!0,\"hotel.lk\":!0,\"ac.lk\":!0,lr:!0,\"com.lr\":!0,\"edu.lr\":!0,\"gov.lr\":!0,\"org.lr\":!0,\"net.lr\":!0,ls:!0,\"co.ls\":!0,\"org.ls\":!0,lt:!0,\"gov.lt\":!0,lu:!0,lv:!0,\"com.lv\":!0,\"edu.lv\":!0,\"gov.lv\":!0,\"org.lv\":!0,\"mil.lv\":!0,\"id.lv\":!0,\"net.lv\":!0,\"asn.lv\":!0,\"conf.lv\":!0,ly:!0,\"com.ly\":!0,\"net.ly\":!0,\"gov.ly\":!0,\"plc.ly\":!0,\"edu.ly\":!0,\"sch.ly\":!0,\"med.ly\":!0,\"org.ly\":!0,\"id.ly\":!0,ma:!0,\"co.ma\":!0,\"net.ma\":!0,\"gov.ma\":!0,\"org.ma\":!0,\"ac.ma\":!0,\"press.ma\":!0,mc:!0,\"tm.mc\":!0,\"asso.mc\":!0,md:!0,me:!0,\"co.me\":!0,\"net.me\":!0,\"org.me\":!0,\"edu.me\":!0,\"ac.me\":!0,\"gov.me\":!0,\"its.me\":!0,\"priv.me\":!0,mg:!0,\"org.mg\":!0,\"nom.mg\":!0,\"gov.mg\":!0,\"prd.mg\":!0,\"tm.mg\":!0,\"edu.mg\":!0,\"mil.mg\":!0,\"com.mg\":!0,\"co.mg\":!0,mh:!0,mil:!0,mk:!0,\"com.mk\":!0,\"org.mk\":!0,\"net.mk\":!0,\"edu.mk\":!0,\"gov.mk\":!0,\"inf.mk\":!0,\"name.mk\":!0,ml:!0,\"com.ml\":!0,\"edu.ml\":!0,\"gouv.ml\":!0,\"gov.ml\":!0,\"net.ml\":!0,\"org.ml\":!0,\"presse.ml\":!0,\"*.mm\":!0,mn:!0,\"gov.mn\":!0,\"edu.mn\":!0,\"org.mn\":!0,mo:!0,\"com.mo\":!0,\"net.mo\":!0,\"org.mo\":!0,\"edu.mo\":!0,\"gov.mo\":!0,mobi:!0,mp:!0,mq:!0,mr:!0,\"gov.mr\":!0,ms:!0,\"com.ms\":!0,\"edu.ms\":!0,\"gov.ms\":!0,\"net.ms\":!0,\"org.ms\":!0,mt:!0,\"com.mt\":!0,\"edu.mt\":!0,\"net.mt\":!0,\"org.mt\":!0,mu:!0,\"com.mu\":!0,\"net.mu\":!0,\"org.mu\":!0,\"gov.mu\":!0,\"ac.mu\":!0,\"co.mu\":!0,\"or.mu\":!0,museum:!0,\"academy.museum\":!0,\"agriculture.museum\":!0,\"air.museum\":!0,\"airguard.museum\":!0,\"alabama.museum\":!0,\"alaska.museum\":!0,\"amber.museum\":!0,\"ambulance.museum\":!0,\"american.museum\":!0,\"americana.museum\":!0,\"americanantiques.museum\":!0,\"americanart.museum\":!0,\"amsterdam.museum\":!0,\"and.museum\":!0,\"annefrank.museum\":!0,\"anthro.museum\":!0,\"anthropology.museum\":!0,\"antiques.museum\":!0,\"aquarium.museum\":!0,\"arboretum.museum\":!0,\"archaeological.museum\":!0,\"archaeology.museum\":!0,\"architecture.museum\":!0,\"art.museum\":!0,\"artanddesign.museum\":!0,\"artcenter.museum\":!0,\"artdeco.museum\":!0,\"arteducation.museum\":!0,\"artgallery.museum\":!0,\"arts.museum\":!0,\"artsandcrafts.museum\":!0,\"asmatart.museum\":!0,\"assassination.museum\":!0,\"assisi.museum\":!0,\"association.museum\":!0,\"astronomy.museum\":!0,\"atlanta.museum\":!0,\"austin.museum\":!0,\"australia.museum\":!0,\"automotive.museum\":!0,\"aviation.museum\":!0,\"axis.museum\":!0,\"badajoz.museum\":!0,\"baghdad.museum\":!0,\"bahn.museum\":!0,\"bale.museum\":!0,\"baltimore.museum\":!0,\"barcelona.museum\":!0,\"baseball.museum\":!0,\"basel.museum\":!0,\"baths.museum\":!0,\"bauern.museum\":!0,\"beauxarts.museum\":!0,\"beeldengeluid.museum\":!0,\"bellevue.museum\":!0,\"bergbau.museum\":!0,\"berkeley.museum\":!0,\"berlin.museum\":!0,\"bern.museum\":!0,\"bible.museum\":!0,\"bilbao.museum\":!0,\"bill.museum\":!0,\"birdart.museum\":!0,\"birthplace.museum\":!0,\"bonn.museum\":!0,\"boston.museum\":!0,\"botanical.museum\":!0,\"botanicalgarden.museum\":!0,\"botanicgarden.museum\":!0,\"botany.museum\":!0,\"brandywinevalley.museum\":!0,\"brasil.museum\":!0,\"bristol.museum\":!0,\"british.museum\":!0,\"britishcolumbia.museum\":!0,\"broadcast.museum\":!0,\"brunel.museum\":!0,\"brussel.museum\":!0,\"brussels.museum\":!0,\"bruxelles.museum\":!0,\"building.museum\":!0,\"burghof.museum\":!0,\"bus.museum\":!0,\"bushey.museum\":!0,\"cadaques.museum\":!0,\"california.museum\":!0,\"cambridge.museum\":!0,\"can.museum\":!0,\"canada.museum\":!0,\"capebreton.museum\":!0,\"carrier.museum\":!0,\"cartoonart.museum\":!0,\"casadelamoneda.museum\":!0,\"castle.museum\":!0,\"castres.museum\":!0,\"celtic.museum\":!0,\"center.museum\":!0,\"chattanooga.museum\":!0,\"cheltenham.museum\":!0,\"chesapeakebay.museum\":!0,\"chicago.museum\":!0,\"children.museum\":!0,\"childrens.museum\":!0,\"childrensgarden.museum\":!0,\"chiropractic.museum\":!0,\"chocolate.museum\":!0,\"christiansburg.museum\":!0,\"cincinnati.museum\":!0,\"cinema.museum\":!0,\"circus.museum\":!0,\"civilisation.museum\":!0,\"civilization.museum\":!0,\"civilwar.museum\":!0,\"clinton.museum\":!0,\"clock.museum\":!0,\"coal.museum\":!0,\"coastaldefence.museum\":!0,\"cody.museum\":!0,\"coldwar.museum\":!0,\"collection.museum\":!0,\"colonialwilliamsburg.museum\":!0,\"coloradoplateau.museum\":!0,\"columbia.museum\":!0,\"columbus.museum\":!0,\"communication.museum\":!0,\"communications.museum\":!0,\"community.museum\":!0,\"computer.museum\":!0,\"computerhistory.museum\":!0,\"xn--comunicaes-v6a2o.museum\":!0,\"contemporary.museum\":!0,\"contemporaryart.museum\":!0,\"convent.museum\":!0,\"copenhagen.museum\":!0,\"corporation.museum\":!0,\"xn--correios-e-telecomunicaes-ghc29a.museum\":!0,\"corvette.museum\":!0,\"costume.museum\":!0,\"countryestate.museum\":!0,\"county.museum\":!0,\"crafts.museum\":!0,\"cranbrook.museum\":!0,\"creation.museum\":!0,\"cultural.museum\":!0,\"culturalcenter.museum\":!0,\"culture.museum\":!0,\"cyber.museum\":!0,\"cymru.museum\":!0,\"dali.museum\":!0,\"dallas.museum\":!0,\"database.museum\":!0,\"ddr.museum\":!0,\"decorativearts.museum\":!0,\"delaware.museum\":!0,\"delmenhorst.museum\":!0,\"denmark.museum\":!0,\"depot.museum\":!0,\"design.museum\":!0,\"detroit.museum\":!0,\"dinosaur.museum\":!0,\"discovery.museum\":!0,\"dolls.museum\":!0,\"donostia.museum\":!0,\"durham.museum\":!0,\"eastafrica.museum\":!0,\"eastcoast.museum\":!0,\"education.museum\":!0,\"educational.museum\":!0,\"egyptian.museum\":!0,\"eisenbahn.museum\":!0,\"elburg.museum\":!0,\"elvendrell.museum\":!0,\"embroidery.museum\":!0,\"encyclopedic.museum\":!0,\"england.museum\":!0,\"entomology.museum\":!0,\"environment.museum\":!0,\"environmentalconservation.museum\":!0,\"epilepsy.museum\":!0,\"essex.museum\":!0,\"estate.museum\":!0,\"ethnology.museum\":!0,\"exeter.museum\":!0,\"exhibition.museum\":!0,\"family.museum\":!0,\"farm.museum\":!0,\"farmequipment.museum\":!0,\"farmers.museum\":!0,\"farmstead.museum\":!0,\"field.museum\":!0,\"figueres.museum\":!0,\"filatelia.museum\":!0,\"film.museum\":!0,\"fineart.museum\":!0,\"finearts.museum\":!0,\"finland.museum\":!0,\"flanders.museum\":!0,\"florida.museum\":!0,\"force.museum\":!0,\"fortmissoula.museum\":!0,\"fortworth.museum\":!0,\"foundation.museum\":!0,\"francaise.museum\":!0,\"frankfurt.museum\":!0,\"franziskaner.museum\":!0,\"freemasonry.museum\":!0,\"freiburg.museum\":!0,\"fribourg.museum\":!0,\"frog.museum\":!0,\"fundacio.museum\":!0,\"furniture.museum\":!0,\"gallery.museum\":!0,\"garden.museum\":!0,\"gateway.museum\":!0,\"geelvinck.museum\":!0,\"gemological.museum\":!0,\"geology.museum\":!0,\"georgia.museum\":!0,\"giessen.museum\":!0,\"glas.museum\":!0,\"glass.museum\":!0,\"gorge.museum\":!0,\"grandrapids.museum\":!0,\"graz.museum\":!0,\"guernsey.museum\":!0,\"halloffame.museum\":!0,\"hamburg.museum\":!0,\"handson.museum\":!0,\"harvestcelebration.museum\":!0,\"hawaii.museum\":!0,\"health.museum\":!0,\"heimatunduhren.museum\":!0,\"hellas.museum\":!0,\"helsinki.museum\":!0,\"hembygdsforbund.museum\":!0,\"heritage.museum\":!0,\"histoire.museum\":!0,\"historical.museum\":!0,\"historicalsociety.museum\":!0,\"historichouses.museum\":!0,\"historisch.museum\":!0,\"historisches.museum\":!0,\"history.museum\":!0,\"historyofscience.museum\":!0,\"horology.museum\":!0,\"house.museum\":!0,\"humanities.museum\":!0,\"illustration.museum\":!0,\"imageandsound.museum\":!0,\"indian.museum\":!0,\"indiana.museum\":!0,\"indianapolis.museum\":!0,\"indianmarket.museum\":!0,\"intelligence.museum\":!0,\"interactive.museum\":!0,\"iraq.museum\":!0,\"iron.museum\":!0,\"isleofman.museum\":!0,\"jamison.museum\":!0,\"jefferson.museum\":!0,\"jerusalem.museum\":!0,\"jewelry.museum\":!0,\"jewish.museum\":!0,\"jewishart.museum\":!0,\"jfk.museum\":!0,\"journalism.museum\":!0,\"judaica.museum\":!0,\"judygarland.museum\":!0,\"juedisches.museum\":!0,\"juif.museum\":!0,\"karate.museum\":!0,\"karikatur.museum\":!0,\"kids.museum\":!0,\"koebenhavn.museum\":!0,\"koeln.museum\":!0,\"kunst.museum\":!0,\"kunstsammlung.museum\":!0,\"kunstunddesign.museum\":!0,\"labor.museum\":!0,\"labour.museum\":!0,\"lajolla.museum\":!0,\"lancashire.museum\":!0,\"landes.museum\":!0,\"lans.museum\":!0,\"xn--lns-qla.museum\":!0,\"larsson.museum\":!0,\"lewismiller.museum\":!0,\"lincoln.museum\":!0,\"linz.museum\":!0,\"living.museum\":!0,\"livinghistory.museum\":!0,\"localhistory.museum\":!0,\"london.museum\":!0,\"losangeles.museum\":!0,\"louvre.museum\":!0,\"loyalist.museum\":!0,\"lucerne.museum\":!0,\"luxembourg.museum\":!0,\"luzern.museum\":!0,\"mad.museum\":!0,\"madrid.museum\":!0,\"mallorca.museum\":!0,\"manchester.museum\":!0,\"mansion.museum\":!0,\"mansions.museum\":!0,\"manx.museum\":!0,\"marburg.museum\":!0,\"maritime.museum\":!0,\"maritimo.museum\":!0,\"maryland.museum\":!0,\"marylhurst.museum\":!0,\"media.museum\":!0,\"medical.museum\":!0,\"medizinhistorisches.museum\":!0,\"meeres.museum\":!0,\"memorial.museum\":!0,\"mesaverde.museum\":!0,\"michigan.museum\":!0,\"midatlantic.museum\":!0,\"military.museum\":!0,\"mill.museum\":!0,\"miners.museum\":!0,\"mining.museum\":!0,\"minnesota.museum\":!0,\"missile.museum\":!0,\"missoula.museum\":!0,\"modern.museum\":!0,\"moma.museum\":!0,\"money.museum\":!0,\"monmouth.museum\":!0,\"monticello.museum\":!0,\"montreal.museum\":!0,\"moscow.museum\":!0,\"motorcycle.museum\":!0,\"muenchen.museum\":!0,\"muenster.museum\":!0,\"mulhouse.museum\":!0,\"muncie.museum\":!0,\"museet.museum\":!0,\"museumcenter.museum\":!0,\"museumvereniging.museum\":!0,\"music.museum\":!0,\"national.museum\":!0,\"nationalfirearms.museum\":!0,\"nationalheritage.museum\":!0,\"nativeamerican.museum\":!0,\"naturalhistory.museum\":!0,\"naturalhistorymuseum.museum\":!0,\"naturalsciences.museum\":!0,\"nature.museum\":!0,\"naturhistorisches.museum\":!0,\"natuurwetenschappen.museum\":!0,\"naumburg.museum\":!0,\"naval.museum\":!0,\"nebraska.museum\":!0,\"neues.museum\":!0,\"newhampshire.museum\":!0,\"newjersey.museum\":!0,\"newmexico.museum\":!0,\"newport.museum\":!0,\"newspaper.museum\":!0,\"newyork.museum\":!0,\"niepce.museum\":!0,\"norfolk.museum\":!0,\"north.museum\":!0,\"nrw.museum\":!0,\"nuernberg.museum\":!0,\"nuremberg.museum\":!0,\"nyc.museum\":!0,\"nyny.museum\":!0,\"oceanographic.museum\":!0,\"oceanographique.museum\":!0,\"omaha.museum\":!0,\"online.museum\":!0,\"ontario.museum\":!0,\"openair.museum\":!0,\"oregon.museum\":!0,\"oregontrail.museum\":!0,\"otago.museum\":!0,\"oxford.museum\":!0,\"pacific.museum\":!0,\"paderborn.museum\":!0,\"palace.museum\":!0,\"paleo.museum\":!0,\"palmsprings.museum\":!0,\"panama.museum\":!0,\"paris.museum\":!0,\"pasadena.museum\":!0,\"pharmacy.museum\":!0,\"philadelphia.museum\":!0,\"philadelphiaarea.museum\":!0,\"philately.museum\":!0,\"phoenix.museum\":!0,\"photography.museum\":!0,\"pilots.museum\":!0,\"pittsburgh.museum\":!0,\"planetarium.museum\":!0,\"plantation.museum\":!0,\"plants.museum\":!0,\"plaza.museum\":!0,\"portal.museum\":!0,\"portland.museum\":!0,\"portlligat.museum\":!0,\"posts-and-telecommunications.museum\":!0,\"preservation.museum\":!0,\"presidio.museum\":!0,\"press.museum\":!0,\"project.museum\":!0,\"public.museum\":!0,\"pubol.museum\":!0,\"quebec.museum\":!0,\"railroad.museum\":!0,\"railway.museum\":!0,\"research.museum\":!0,\"resistance.museum\":!0,\"riodejaneiro.museum\":!0,\"rochester.museum\":!0,\"rockart.museum\":!0,\"roma.museum\":!0,\"russia.museum\":!0,\"saintlouis.museum\":!0,\"salem.museum\":!0,\"salvadordali.museum\":!0,\"salzburg.museum\":!0,\"sandiego.museum\":!0,\"sanfrancisco.museum\":!0,\"santabarbara.museum\":!0,\"santacruz.museum\":!0,\"santafe.museum\":!0,\"saskatchewan.museum\":!0,\"satx.museum\":!0,\"savannahga.museum\":!0,\"schlesisches.museum\":!0,\"schoenbrunn.museum\":!0,\"schokoladen.museum\":!0,\"school.museum\":!0,\"schweiz.museum\":!0,\"science.museum\":!0,\"scienceandhistory.museum\":!0,\"scienceandindustry.museum\":!0,\"sciencecenter.museum\":!0,\"sciencecenters.museum\":!0,\"science-fiction.museum\":!0,\"sciencehistory.museum\":!0,\"sciences.museum\":!0,\"sciencesnaturelles.museum\":!0,\"scotland.museum\":!0,\"seaport.museum\":!0,\"settlement.museum\":!0,\"settlers.museum\":!0,\"shell.museum\":!0,\"sherbrooke.museum\":!0,\"sibenik.museum\":!0,\"silk.museum\":!0,\n\"ski.museum\":!0,\"skole.museum\":!0,\"society.museum\":!0,\"sologne.museum\":!0,\"soundandvision.museum\":!0,\"southcarolina.museum\":!0,\"southwest.museum\":!0,\"space.museum\":!0,\"spy.museum\":!0,\"square.museum\":!0,\"stadt.museum\":!0,\"stalbans.museum\":!0,\"starnberg.museum\":!0,\"state.museum\":!0,\"stateofdelaware.museum\":!0,\"station.museum\":!0,\"steam.museum\":!0,\"steiermark.museum\":!0,\"stjohn.museum\":!0,\"stockholm.museum\":!0,\"stpetersburg.museum\":!0,\"stuttgart.museum\":!0,\"suisse.museum\":!0,\"surgeonshall.museum\":!0,\"surrey.museum\":!0,\"svizzera.museum\":!0,\"sweden.museum\":!0,\"sydney.museum\":!0,\"tank.museum\":!0,\"tcm.museum\":!0,\"technology.museum\":!0,\"telekommunikation.museum\":!0,\"television.museum\":!0,\"texas.museum\":!0,\"textile.museum\":!0,\"theater.museum\":!0,\"time.museum\":!0,\"timekeeping.museum\":!0,\"topology.museum\":!0,\"torino.museum\":!0,\"touch.museum\":!0,\"town.museum\":!0,\"transport.museum\":!0,\"tree.museum\":!0,\"trolley.museum\":!0,\"trust.museum\":!0,\"trustee.museum\":!0,\"uhren.museum\":!0,\"ulm.museum\":!0,\"undersea.museum\":!0,\"university.museum\":!0,\"usa.museum\":!0,\"usantiques.museum\":!0,\"usarts.museum\":!0,\"uscountryestate.museum\":!0,\"usculture.museum\":!0,\"usdecorativearts.museum\":!0,\"usgarden.museum\":!0,\"ushistory.museum\":!0,\"ushuaia.museum\":!0,\"uslivinghistory.museum\":!0,\"utah.museum\":!0,\"uvic.museum\":!0,\"valley.museum\":!0,\"vantaa.museum\":!0,\"versailles.museum\":!0,\"viking.museum\":!0,\"village.museum\":!0,\"virginia.museum\":!0,\"virtual.museum\":!0,\"virtuel.museum\":!0,\"vlaanderen.museum\":!0,\"volkenkunde.museum\":!0,\"wales.museum\":!0,\"wallonie.museum\":!0,\"war.museum\":!0,\"washingtondc.museum\":!0,\"watchandclock.museum\":!0,\"watch-and-clock.museum\":!0,\"western.museum\":!0,\"westfalen.museum\":!0,\"whaling.museum\":!0,\"wildlife.museum\":!0,\"williamsburg.museum\":!0,\"windmill.museum\":!0,\"workshop.museum\":!0,\"york.museum\":!0,\"yorkshire.museum\":!0,\"yosemite.museum\":!0,\"youth.museum\":!0,\"zoological.museum\":!0,\"zoology.museum\":!0,\"xn--9dbhblg6di.museum\":!0,\"xn--h1aegh.museum\":!0,mv:!0,\"aero.mv\":!0,\"biz.mv\":!0,\"com.mv\":!0,\"coop.mv\":!0,\"edu.mv\":!0,\"gov.mv\":!0,\"info.mv\":!0,\"int.mv\":!0,\"mil.mv\":!0,\"museum.mv\":!0,\"name.mv\":!0,\"net.mv\":!0,\"org.mv\":!0,\"pro.mv\":!0,mw:!0,\"ac.mw\":!0,\"biz.mw\":!0,\"co.mw\":!0,\"com.mw\":!0,\"coop.mw\":!0,\"edu.mw\":!0,\"gov.mw\":!0,\"int.mw\":!0,\"museum.mw\":!0,\"net.mw\":!0,\"org.mw\":!0,mx:!0,\"com.mx\":!0,\"org.mx\":!0,\"gob.mx\":!0,\"edu.mx\":!0,\"net.mx\":!0,my:!0,\"com.my\":!0,\"net.my\":!0,\"org.my\":!0,\"gov.my\":!0,\"edu.my\":!0,\"mil.my\":!0,\"name.my\":!0,\"*.mz\":!0,\"teledata.mz\":!1,na:!0,\"info.na\":!0,\"pro.na\":!0,\"name.na\":!0,\"school.na\":!0,\"or.na\":!0,\"dr.na\":!0,\"us.na\":!0,\"mx.na\":!0,\"ca.na\":!0,\"in.na\":!0,\"cc.na\":!0,\"tv.na\":!0,\"ws.na\":!0,\"mobi.na\":!0,\"co.na\":!0,\"com.na\":!0,\"org.na\":!0,name:!0,nc:!0,\"asso.nc\":!0,ne:!0,net:!0,nf:!0,\"com.nf\":!0,\"net.nf\":!0,\"per.nf\":!0,\"rec.nf\":!0,\"web.nf\":!0,\"arts.nf\":!0,\"firm.nf\":!0,\"info.nf\":!0,\"other.nf\":!0,\"store.nf\":!0,ng:!0,\"com.ng\":!0,\"edu.ng\":!0,\"name.ng\":!0,\"net.ng\":!0,\"org.ng\":!0,\"sch.ng\":!0,\"gov.ng\":!0,\"mil.ng\":!0,\"mobi.ng\":!0,\"*.ni\":!0,nl:!0,\"bv.nl\":!0,no:!0,\"fhs.no\":!0,\"vgs.no\":!0,\"fylkesbibl.no\":!0,\"folkebibl.no\":!0,\"museum.no\":!0,\"idrett.no\":!0,\"priv.no\":!0,\"mil.no\":!0,\"stat.no\":!0,\"dep.no\":!0,\"kommune.no\":!0,\"herad.no\":!0,\"aa.no\":!0,\"ah.no\":!0,\"bu.no\":!0,\"fm.no\":!0,\"hl.no\":!0,\"hm.no\":!0,\"jan-mayen.no\":!0,\"mr.no\":!0,\"nl.no\":!0,\"nt.no\":!0,\"of.no\":!0,\"ol.no\":!0,\"oslo.no\":!0,\"rl.no\":!0,\"sf.no\":!0,\"st.no\":!0,\"svalbard.no\":!0,\"tm.no\":!0,\"tr.no\":!0,\"va.no\":!0,\"vf.no\":!0,\"gs.aa.no\":!0,\"gs.ah.no\":!0,\"gs.bu.no\":!0,\"gs.fm.no\":!0,\"gs.hl.no\":!0,\"gs.hm.no\":!0,\"gs.jan-mayen.no\":!0,\"gs.mr.no\":!0,\"gs.nl.no\":!0,\"gs.nt.no\":!0,\"gs.of.no\":!0,\"gs.ol.no\":!0,\"gs.oslo.no\":!0,\"gs.rl.no\":!0,\"gs.sf.no\":!0,\"gs.st.no\":!0,\"gs.svalbard.no\":!0,\"gs.tm.no\":!0,\"gs.tr.no\":!0,\"gs.va.no\":!0,\"gs.vf.no\":!0,\"akrehamn.no\":!0,\"xn--krehamn-dxa.no\":!0,\"algard.no\":!0,\"xn--lgrd-poac.no\":!0,\"arna.no\":!0,\"brumunddal.no\":!0,\"bryne.no\":!0,\"bronnoysund.no\":!0,\"xn--brnnysund-m8ac.no\":!0,\"drobak.no\":!0,\"xn--drbak-wua.no\":!0,\"egersund.no\":!0,\"fetsund.no\":!0,\"floro.no\":!0,\"xn--flor-jra.no\":!0,\"fredrikstad.no\":!0,\"hokksund.no\":!0,\"honefoss.no\":!0,\"xn--hnefoss-q1a.no\":!0,\"jessheim.no\":!0,\"jorpeland.no\":!0,\"xn--jrpeland-54a.no\":!0,\"kirkenes.no\":!0,\"kopervik.no\":!0,\"krokstadelva.no\":!0,\"langevag.no\":!0,\"xn--langevg-jxa.no\":!0,\"leirvik.no\":!0,\"mjondalen.no\":!0,\"xn--mjndalen-64a.no\":!0,\"mo-i-rana.no\":!0,\"mosjoen.no\":!0,\"xn--mosjen-eya.no\":!0,\"nesoddtangen.no\":!0,\"orkanger.no\":!0,\"osoyro.no\":!0,\"xn--osyro-wua.no\":!0,\"raholt.no\":!0,\"xn--rholt-mra.no\":!0,\"sandnessjoen.no\":!0,\"xn--sandnessjen-ogb.no\":!0,\"skedsmokorset.no\":!0,\"slattum.no\":!0,\"spjelkavik.no\":!0,\"stathelle.no\":!0,\"stavern.no\":!0,\"stjordalshalsen.no\":!0,\"xn--stjrdalshalsen-sqb.no\":!0,\"tananger.no\":!0,\"tranby.no\":!0,\"vossevangen.no\":!0,\"afjord.no\":!0,\"xn--fjord-lra.no\":!0,\"agdenes.no\":!0,\"al.no\":!0,\"xn--l-1fa.no\":!0,\"alesund.no\":!0,\"xn--lesund-hua.no\":!0,\"alstahaug.no\":!0,\"alta.no\":!0,\"xn--lt-liac.no\":!0,\"alaheadju.no\":!0,\"xn--laheadju-7ya.no\":!0,\"alvdal.no\":!0,\"amli.no\":!0,\"xn--mli-tla.no\":!0,\"amot.no\":!0,\"xn--mot-tla.no\":!0,\"andebu.no\":!0,\"andoy.no\":!0,\"xn--andy-ira.no\":!0,\"andasuolo.no\":!0,\"ardal.no\":!0,\"xn--rdal-poa.no\":!0,\"aremark.no\":!0,\"arendal.no\":!0,\"xn--s-1fa.no\":!0,\"aseral.no\":!0,\"xn--seral-lra.no\":!0,\"asker.no\":!0,\"askim.no\":!0,\"askvoll.no\":!0,\"askoy.no\":!0,\"xn--asky-ira.no\":!0,\"asnes.no\":!0,\"xn--snes-poa.no\":!0,\"audnedaln.no\":!0,\"aukra.no\":!0,\"aure.no\":!0,\"aurland.no\":!0,\"aurskog-holand.no\":!0,\"xn--aurskog-hland-jnb.no\":!0,\"austevoll.no\":!0,\"austrheim.no\":!0,\"averoy.no\":!0,\"xn--avery-yua.no\":!0,\"balestrand.no\":!0,\"ballangen.no\":!0,\"balat.no\":!0,\"xn--blt-elab.no\":!0,\"balsfjord.no\":!0,\"bahccavuotna.no\":!0,\"xn--bhccavuotna-k7a.no\":!0,\"bamble.no\":!0,\"bardu.no\":!0,\"beardu.no\":!0,\"beiarn.no\":!0,\"bajddar.no\":!0,\"xn--bjddar-pta.no\":!0,\"baidar.no\":!0,\"xn--bidr-5nac.no\":!0,\"berg.no\":!0,\"bergen.no\":!0,\"berlevag.no\":!0,\"xn--berlevg-jxa.no\":!0,\"bearalvahki.no\":!0,\"xn--bearalvhki-y4a.no\":!0,\"bindal.no\":!0,\"birkenes.no\":!0,\"bjarkoy.no\":!0,\"xn--bjarky-fya.no\":!0,\"bjerkreim.no\":!0,\"bjugn.no\":!0,\"bodo.no\":!0,\"xn--bod-2na.no\":!0,\"badaddja.no\":!0,\"xn--bdddj-mrabd.no\":!0,\"budejju.no\":!0,\"bokn.no\":!0,\"bremanger.no\":!0,\"bronnoy.no\":!0,\"xn--brnny-wuac.no\":!0,\"bygland.no\":!0,\"bykle.no\":!0,\"barum.no\":!0,\"xn--brum-voa.no\":!0,\"bo.telemark.no\":!0,\"xn--b-5ga.telemark.no\":!0,\"bo.nordland.no\":!0,\"xn--b-5ga.nordland.no\":!0,\"bievat.no\":!0,\"xn--bievt-0qa.no\":!0,\"bomlo.no\":!0,\"xn--bmlo-gra.no\":!0,\"batsfjord.no\":!0,\"xn--btsfjord-9za.no\":!0,\"bahcavuotna.no\":!0,\"xn--bhcavuotna-s4a.no\":!0,\"dovre.no\":!0,\"drammen.no\":!0,\"drangedal.no\":!0,\"dyroy.no\":!0,\"xn--dyry-ira.no\":!0,\"donna.no\":!0,\"xn--dnna-gra.no\":!0,\"eid.no\":!0,\"eidfjord.no\":!0,\"eidsberg.no\":!0,\"eidskog.no\":!0,\"eidsvoll.no\":!0,\"eigersund.no\":!0,\"elverum.no\":!0,\"enebakk.no\":!0,\"engerdal.no\":!0,\"etne.no\":!0,\"etnedal.no\":!0,\"evenes.no\":!0,\"evenassi.no\":!0,\"xn--eveni-0qa01ga.no\":!0,\"evje-og-hornnes.no\":!0,\"farsund.no\":!0,\"fauske.no\":!0,\"fuossko.no\":!0,\"fuoisku.no\":!0,\"fedje.no\":!0,\"fet.no\":!0,\"finnoy.no\":!0,\"xn--finny-yua.no\":!0,\"fitjar.no\":!0,\"fjaler.no\":!0,\"fjell.no\":!0,\"flakstad.no\":!0,\"flatanger.no\":!0,\"flekkefjord.no\":!0,\"flesberg.no\":!0,\"flora.no\":!0,\"fla.no\":!0,\"xn--fl-zia.no\":!0,\"folldal.no\":!0,\"forsand.no\":!0,\"fosnes.no\":!0,\"frei.no\":!0,\"frogn.no\":!0,\"froland.no\":!0,\"frosta.no\":!0,\"frana.no\":!0,\"xn--frna-woa.no\":!0,\"froya.no\":!0,\"xn--frya-hra.no\":!0,\"fusa.no\":!0,\"fyresdal.no\":!0,\"forde.no\":!0,\"xn--frde-gra.no\":!0,\"gamvik.no\":!0,\"gangaviika.no\":!0,\"xn--ggaviika-8ya47h.no\":!0,\"gaular.no\":!0,\"gausdal.no\":!0,\"gildeskal.no\":!0,\"xn--gildeskl-g0a.no\":!0,\"giske.no\":!0,\"gjemnes.no\":!0,\"gjerdrum.no\":!0,\"gjerstad.no\":!0,\"gjesdal.no\":!0,\"gjovik.no\":!0,\"xn--gjvik-wua.no\":!0,\"gloppen.no\":!0,\"gol.no\":!0,\"gran.no\":!0,\"grane.no\":!0,\"granvin.no\":!0,\"gratangen.no\":!0,\"grimstad.no\":!0,\"grong.no\":!0,\"kraanghke.no\":!0,\"xn--kranghke-b0a.no\":!0,\"grue.no\":!0,\"gulen.no\":!0,\"hadsel.no\":!0,\"halden.no\":!0,\"halsa.no\":!0,\"hamar.no\":!0,\"hamaroy.no\":!0,\"habmer.no\":!0,\"xn--hbmer-xqa.no\":!0,\"hapmir.no\":!0,\"xn--hpmir-xqa.no\":!0,\"hammerfest.no\":!0,\"hammarfeasta.no\":!0,\"xn--hmmrfeasta-s4ac.no\":!0,\"haram.no\":!0,\"hareid.no\":!0,\"harstad.no\":!0,\"hasvik.no\":!0,\"aknoluokta.no\":!0,\"xn--koluokta-7ya57h.no\":!0,\"hattfjelldal.no\":!0,\"aarborte.no\":!0,\"haugesund.no\":!0,\"hemne.no\":!0,\"hemnes.no\":!0,\"hemsedal.no\":!0,\"heroy.more-og-romsdal.no\":!0,\"xn--hery-ira.xn--mre-og-romsdal-qqb.no\":!0,\"heroy.nordland.no\":!0,\"xn--hery-ira.nordland.no\":!0,\"hitra.no\":!0,\"hjartdal.no\":!0,\"hjelmeland.no\":!0,\"hobol.no\":!0,\"xn--hobl-ira.no\":!0,\"hof.no\":!0,\"hol.no\":!0,\"hole.no\":!0,\"holmestrand.no\":!0,\"holtalen.no\":!0,\"xn--holtlen-hxa.no\":!0,\"hornindal.no\":!0,\"horten.no\":!0,\"hurdal.no\":!0,\"hurum.no\":!0,\"hvaler.no\":!0,\"hyllestad.no\":!0,\"hagebostad.no\":!0,\"xn--hgebostad-g3a.no\":!0,\"hoyanger.no\":!0,\"xn--hyanger-q1a.no\":!0,\"hoylandet.no\":!0,\"xn--hylandet-54a.no\":!0,\"ha.no\":!0,\"xn--h-2fa.no\":!0,\"ibestad.no\":!0,\"inderoy.no\":!0,\"xn--indery-fya.no\":!0,\"iveland.no\":!0,\"jevnaker.no\":!0,\"jondal.no\":!0,\"jolster.no\":!0,\"xn--jlster-bya.no\":!0,\"karasjok.no\":!0,\"karasjohka.no\":!0,\"xn--krjohka-hwab49j.no\":!0,\"karlsoy.no\":!0,\"galsa.no\":!0,\"xn--gls-elac.no\":!0,\"karmoy.no\":!0,\"xn--karmy-yua.no\":!0,\"kautokeino.no\":!0,\"guovdageaidnu.no\":!0,\"klepp.no\":!0,\"klabu.no\":!0,\"xn--klbu-woa.no\":!0,\"kongsberg.no\":!0,\"kongsvinger.no\":!0,\"kragero.no\":!0,\"xn--krager-gya.no\":!0,\"kristiansand.no\":!0,\"kristiansund.no\":!0,\"krodsherad.no\":!0,\"xn--krdsherad-m8a.no\":!0,\"kvalsund.no\":!0,\"rahkkeravju.no\":!0,\"xn--rhkkervju-01af.no\":!0,\"kvam.no\":!0,\"kvinesdal.no\":!0,\"kvinnherad.no\":!0,\"kviteseid.no\":!0,\"kvitsoy.no\":!0,\"xn--kvitsy-fya.no\":!0,\"kvafjord.no\":!0,\"xn--kvfjord-nxa.no\":!0,\"giehtavuoatna.no\":!0,\"kvanangen.no\":!0,\"xn--kvnangen-k0a.no\":!0,\"navuotna.no\":!0,\"xn--nvuotna-hwa.no\":!0,\"kafjord.no\":!0,\"xn--kfjord-iua.no\":!0,\"gaivuotna.no\":!0,\"xn--givuotna-8ya.no\":!0,\"larvik.no\":!0,\"lavangen.no\":!0,\"lavagis.no\":!0,\"loabat.no\":!0,\"xn--loabt-0qa.no\":!0,\"lebesby.no\":!0,\"davvesiida.no\":!0,\"leikanger.no\":!0,\"leirfjord.no\":!0,\"leka.no\":!0,\"leksvik.no\":!0,\"lenvik.no\":!0,\"leangaviika.no\":!0,\"xn--leagaviika-52b.no\":!0,\"lesja.no\":!0,\"levanger.no\":!0,\"lier.no\":!0,\"lierne.no\":!0,\"lillehammer.no\":!0,\"lillesand.no\":!0,\"lindesnes.no\":!0,\"lindas.no\":!0,\"xn--linds-pra.no\":!0,\"lom.no\":!0,\"loppa.no\":!0,\"lahppi.no\":!0,\"xn--lhppi-xqa.no\":!0,\"lund.no\":!0,\"lunner.no\":!0,\"luroy.no\":!0,\"xn--lury-ira.no\":!0,\"luster.no\":!0,\"lyngdal.no\":!0,\"lyngen.no\":!0,\"ivgu.no\":!0,\"lardal.no\":!0,\"lerdal.no\":!0,\"xn--lrdal-sra.no\":!0,\"lodingen.no\":!0,\"xn--ldingen-q1a.no\":!0,\"lorenskog.no\":!0,\"xn--lrenskog-54a.no\":!0,\"loten.no\":!0,\"xn--lten-gra.no\":!0,\"malvik.no\":!0,\"masoy.no\":!0,\"xn--msy-ula0h.no\":!0,\"muosat.no\":!0,\"xn--muost-0qa.no\":!0,\"mandal.no\":!0,\"marker.no\":!0,\"marnardal.no\":!0,\"masfjorden.no\":!0,\"meland.no\":!0,\"meldal.no\":!0,\"melhus.no\":!0,\"meloy.no\":!0,\"xn--mely-ira.no\":!0,\"meraker.no\":!0,\"xn--merker-kua.no\":!0,\"moareke.no\":!0,\"xn--moreke-jua.no\":!0,\"midsund.no\":!0,\"midtre-gauldal.no\":!0,\"modalen.no\":!0,\"modum.no\":!0,\"molde.no\":!0,\"moskenes.no\":!0,\"moss.no\":!0,\"mosvik.no\":!0,\"malselv.no\":!0,\"xn--mlselv-iua.no\":!0,\"malatvuopmi.no\":!0,\"xn--mlatvuopmi-s4a.no\":!0,\"namdalseid.no\":!0,\"aejrie.no\":!0,\"namsos.no\":!0,\"namsskogan.no\":!0,\"naamesjevuemie.no\":!0,\"xn--nmesjevuemie-tcba.no\":!0,\"laakesvuemie.no\":!0,\"nannestad.no\":!0,\"narvik.no\":!0,\"narviika.no\":!0,\"naustdal.no\":!0,\"nedre-eiker.no\":!0,\"nes.akershus.no\":!0,\"nes.buskerud.no\":!0,\"nesna.no\":!0,\"nesodden.no\":!0,\"nesseby.no\":!0,\"unjarga.no\":!0,\"xn--unjrga-rta.no\":!0,\"nesset.no\":!0,\"nissedal.no\":!0,\"nittedal.no\":!0,\"nord-aurdal.no\":!0,\"nord-fron.no\":!0,\"nord-odal.no\":!0,\"norddal.no\":!0,\"nordkapp.no\":!0,\"davvenjarga.no\":!0,\"xn--davvenjrga-y4a.no\":!0,\"nordre-land.no\":!0,\"nordreisa.no\":!0,\"raisa.no\":!0,\"xn--risa-5na.no\":!0,\"nore-og-uvdal.no\":!0,\"notodden.no\":!0,\"naroy.no\":!0,\"xn--nry-yla5g.no\":!0,\"notteroy.no\":!0,\"xn--nttery-byae.no\":!0,\"odda.no\":!0,\"oksnes.no\":!0,\"xn--ksnes-uua.no\":!0,\"oppdal.no\":!0,\"oppegard.no\":!0,\"xn--oppegrd-ixa.no\":!0,\"orkdal.no\":!0,\"orland.no\":!0,\"xn--rland-uua.no\":!0,\"orskog.no\":!0,\"xn--rskog-uua.no\":!0,\"orsta.no\":!0,\"xn--rsta-fra.no\":!0,\"os.hedmark.no\":!0,\"os.hordaland.no\":!0,\"osen.no\":!0,\"osteroy.no\":!0,\"xn--ostery-fya.no\":!0,\"ostre-toten.no\":!0,\"xn--stre-toten-zcb.no\":!0,\"overhalla.no\":!0,\"ovre-eiker.no\":!0,\"xn--vre-eiker-k8a.no\":!0,\"oyer.no\":!0,\"xn--yer-zna.no\":!0,\"oygarden.no\":!0,\"xn--ygarden-p1a.no\":!0,\"oystre-slidre.no\":!0,\"xn--ystre-slidre-ujb.no\":!0,\"porsanger.no\":!0,\"porsangu.no\":!0,\"xn--porsgu-sta26f.no\":!0,\"porsgrunn.no\":!0,\"radoy.no\":!0,\"xn--rady-ira.no\":!0,\"rakkestad.no\":!0,\"rana.no\":!0,\"ruovat.no\":!0,\"randaberg.no\":!0,\"rauma.no\":!0,\"rendalen.no\":!0,\"rennebu.no\":!0,\"rennesoy.no\":!0,\"xn--rennesy-v1a.no\":!0,\"rindal.no\":!0,\"ringebu.no\":!0,\"ringerike.no\":!0,\"ringsaker.no\":!0,\"rissa.no\":!0,\"risor.no\":!0,\"xn--risr-ira.no\":!0,\"roan.no\":!0,\"rollag.no\":!0,\"rygge.no\":!0,\"ralingen.no\":!0,\"xn--rlingen-mxa.no\":!0,\"rodoy.no\":!0,\"xn--rdy-0nab.no\":!0,\"romskog.no\":!0,\"xn--rmskog-bya.no\":!0,\"roros.no\":!0,\"xn--rros-gra.no\":!0,\"rost.no\":!0,\"xn--rst-0na.no\":!0,\"royken.no\":!0,\"xn--ryken-vua.no\":!0,\"royrvik.no\":!0,\"xn--ryrvik-bya.no\":!0,\"rade.no\":!0,\"xn--rde-ula.no\":!0,\"salangen.no\":!0,\"siellak.no\":!0,\"saltdal.no\":!0,\"salat.no\":!0,\"xn--slt-elab.no\":!0,\"xn--slat-5na.no\":!0,\"samnanger.no\":!0,\"sande.more-og-romsdal.no\":!0,\"sande.xn--mre-og-romsdal-qqb.no\":!0,\"sande.vestfold.no\":!0,\"sandefjord.no\":!0,\"sandnes.no\":!0,\"sandoy.no\":!0,\"xn--sandy-yua.no\":!0,\"sarpsborg.no\":!0,\"sauda.no\":!0,\"sauherad.no\":!0,\"sel.no\":!0,\"selbu.no\":!0,\"selje.no\":!0,\"seljord.no\":!0,\"sigdal.no\":!0,\"siljan.no\":!0,\"sirdal.no\":!0,\"skaun.no\":!0,\"skedsmo.no\":!0,\"ski.no\":!0,\"skien.no\":!0,\"skiptvet.no\":!0,\"skjervoy.no\":!0,\"xn--skjervy-v1a.no\":!0,\"skierva.no\":!0,\"xn--skierv-uta.no\":!0,\"skjak.no\":!0,\"xn--skjk-soa.no\":!0,\"skodje.no\":!0,\"skanland.no\":!0,\"xn--sknland-fxa.no\":!0,\"skanit.no\":!0,\"xn--sknit-yqa.no\":!0,\"smola.no\":!0,\"xn--smla-hra.no\":!0,\"snillfjord.no\":!0,\"snasa.no\":!0,\"xn--snsa-roa.no\":!0,\"snoasa.no\":!0,\"snaase.no\":!0,\"xn--snase-nra.no\":!0,\"sogndal.no\":!0,\"sokndal.no\":!0,\"sola.no\":!0,\"solund.no\":!0,\"songdalen.no\":!0,\"sortland.no\":!0,\"spydeberg.no\":!0,\"stange.no\":!0,\"stavanger.no\":!0,\"steigen.no\":!0,\"steinkjer.no\":!0,\"stjordal.no\":!0,\"xn--stjrdal-s1a.no\":!0,\"stokke.no\":!0,\"stor-elvdal.no\":!0,\"stord.no\":!0,\"stordal.no\":!0,\"storfjord.no\":!0,\"omasvuotna.no\":!0,\"strand.no\":!0,\"stranda.no\":!0,\"stryn.no\":!0,\"sula.no\":!0,\"suldal.no\":!0,\"sund.no\":!0,\"sunndal.no\":!0,\"surnadal.no\":!0,\"sveio.no\":!0,\"svelvik.no\":!0,\"sykkylven.no\":!0,\"sogne.no\":!0,\"xn--sgne-gra.no\":!0,\"somna.no\":!0,\"xn--smna-gra.no\":!0,\"sondre-land.no\":!0,\"xn--sndre-land-0cb.no\":!0,\"sor-aurdal.no\":!0,\"xn--sr-aurdal-l8a.no\":!0,\"sor-fron.no\":!0,\"xn--sr-fron-q1a.no\":!0,\"sor-odal.no\":!0,\"xn--sr-odal-q1a.no\":!0,\"sor-varanger.no\":!0,\"xn--sr-varanger-ggb.no\":!0,\"matta-varjjat.no\":!0,\"xn--mtta-vrjjat-k7af.no\":!0,\"sorfold.no\":!0,\"xn--srfold-bya.no\":!0,\"sorreisa.no\":!0,\"xn--srreisa-q1a.no\":!0,\"sorum.no\":!0,\"xn--srum-gra.no\":!0,\"tana.no\":!0,\"deatnu.no\":!0,\"time.no\":!0,\"tingvoll.no\":!0,\"tinn.no\":!0,\"tjeldsund.no\":!0,\"dielddanuorri.no\":!0,\"tjome.no\":!0,\"xn--tjme-hra.no\":!0,\"tokke.no\":!0,\"tolga.no\":!0,\"torsken.no\":!0,\"tranoy.no\":!0,\"xn--trany-yua.no\":!0,\"tromso.no\":!0,\"xn--troms-zua.no\":!0,\"tromsa.no\":!0,\"romsa.no\":!0,\"trondheim.no\":!0,\"troandin.no\":!0,\"trysil.no\":!0,\"trana.no\":!0,\"xn--trna-woa.no\":!0,\"trogstad.no\":!0,\"xn--trgstad-r1a.no\":!0,\"tvedestrand.no\":!0,\"tydal.no\":!0,\"tynset.no\":!0,\"tysfjord.no\":!0,\"divtasvuodna.no\":!0,\"divttasvuotna.no\":!0,\"tysnes.no\":!0,\"tysvar.no\":!0,\"xn--tysvr-vra.no\":!0,\"tonsberg.no\":!0,\"xn--tnsberg-q1a.no\":!0,\"ullensaker.no\":!0,\"ullensvang.no\":!0,\"ulvik.no\":!0,\"utsira.no\":!0,\"vadso.no\":!0,\"xn--vads-jra.no\":!0,\"cahcesuolo.no\":!0,\"xn--hcesuolo-7ya35b.no\":!0,\"vaksdal.no\":!0,\"valle.no\":!0,\"vang.no\":!0,\"vanylven.no\":!0,\"vardo.no\":!0,\"xn--vard-jra.no\":!0,\"varggat.no\":!0,\"xn--vrggt-xqad.no\":!0,\"vefsn.no\":!0,\"vaapste.no\":!0,\"vega.no\":!0,\"vegarshei.no\":!0,\"xn--vegrshei-c0a.no\":!0,\"vennesla.no\":!0,\"verdal.no\":!0,\"verran.no\":!0,\"vestby.no\":!0,\"vestnes.no\":!0,\"vestre-slidre.no\":!0,\"vestre-toten.no\":!0,\"vestvagoy.no\":!0,\"xn--vestvgy-ixa6o.no\":!0,\"vevelstad.no\":!0,\"vik.no\":!0,\"vikna.no\":!0,\"vindafjord.no\":!0,\"volda.no\":!0,\"voss.no\":!0,\"varoy.no\":!0,\"xn--vry-yla5g.no\":!0,\"vagan.no\":!0,\"xn--vgan-qoa.no\":!0,\"voagat.no\":!0,\"vagsoy.no\":!0,\"xn--vgsy-qoa0j.no\":!0,\"vaga.no\":!0,\"xn--vg-yiab.no\":!0,\"valer.ostfold.no\":!0,\"xn--vler-qoa.xn--stfold-9xa.no\":!0,\"valer.hedmark.no\":!0,\"xn--vler-qoa.hedmark.no\":!0,\"*.np\":!0,nr:!0,\"biz.nr\":!0,\"info.nr\":!0,\"gov.nr\":!0,\"edu.nr\":!0,\"org.nr\":!0,\"net.nr\":!0,\"com.nr\":!0,nu:!0,nz:!0,\"ac.nz\":!0,\"co.nz\":!0,\"cri.nz\":!0,\"geek.nz\":!0,\"gen.nz\":!0,\"govt.nz\":!0,\"health.nz\":!0,\"iwi.nz\":!0,\"kiwi.nz\":!0,\"maori.nz\":!0,\"mil.nz\":!0,\"xn--mori-qsa.nz\":!0,\"net.nz\":!0,\"org.nz\":!0,\"parliament.nz\":!0,\"school.nz\":!0,om:!0,\"co.om\":!0,\"com.om\":!0,\"edu.om\":!0,\"gov.om\":!0,\"med.om\":!0,\"museum.om\":!0,\"net.om\":!0,\"org.om\":!0,\"pro.om\":!0,org:!0,pa:!0,\"ac.pa\":!0,\"gob.pa\":!0,\"com.pa\":!0,\"org.pa\":!0,\"sld.pa\":!0,\"edu.pa\":!0,\"net.pa\":!0,\"ing.pa\":!0,\"abo.pa\":!0,\"med.pa\":!0,\"nom.pa\":!0,pe:!0,\"edu.pe\":!0,\"gob.pe\":!0,\"nom.pe\":!0,\"mil.pe\":!0,\"org.pe\":!0,\"com.pe\":!0,\"net.pe\":!0,pf:!0,\"com.pf\":!0,\"org.pf\":!0,\"edu.pf\":!0,\"*.pg\":!0,ph:!0,\"com.ph\":!0,\"net.ph\":!0,\"org.ph\":!0,\"gov.ph\":!0,\"edu.ph\":!0,\"ngo.ph\":!0,\"mil.ph\":!0,\"i.ph\":!0,pk:!0,\"com.pk\":!0,\"net.pk\":!0,\"edu.pk\":!0,\"org.pk\":!0,\"fam.pk\":!0,\"biz.pk\":!0,\"web.pk\":!0,\"gov.pk\":!0,\"gob.pk\":!0,\"gok.pk\":!0,\"gon.pk\":!0,\"gop.pk\":!0,\"gos.pk\":!0,\"info.pk\":!0,pl:!0,\"com.pl\":!0,\"net.pl\":!0,\"org.pl\":!0,\"aid.pl\":!0,\"agro.pl\":!0,\"atm.pl\":!0,\"auto.pl\":!0,\"biz.pl\":!0,\"edu.pl\":!0,\"gmina.pl\":!0,\"gsm.pl\":!0,\"info.pl\":!0,\"mail.pl\":!0,\"miasta.pl\":!0,\"media.pl\":!0,\"mil.pl\":!0,\"nieruchomosci.pl\":!0,\"nom.pl\":!0,\"pc.pl\":!0,\"powiat.pl\":!0,\"priv.pl\":!0,\"realestate.pl\":!0,\"rel.pl\":!0,\"sex.pl\":!0,\"shop.pl\":!0,\"sklep.pl\":!0,\"sos.pl\":!0,\"szkola.pl\":!0,\"targi.pl\":!0,\"tm.pl\":!0,\"tourism.pl\":!0,\"travel.pl\":!0,\"turystyka.pl\":!0,\"gov.pl\":!0,\"ap.gov.pl\":!0,\"ic.gov.pl\":!0,\"is.gov.pl\":!0,\"us.gov.pl\":!0,\"kmpsp.gov.pl\":!0,\"kppsp.gov.pl\":!0,\"kwpsp.gov.pl\":!0,\"psp.gov.pl\":!0,\"wskr.gov.pl\":!0,\"kwp.gov.pl\":!0,\"mw.gov.pl\":!0,\"ug.gov.pl\":!0,\"um.gov.pl\":!0,\"umig.gov.pl\":!0,\"ugim.gov.pl\":!0,\"upow.gov.pl\":!0,\"uw.gov.pl\":!0,\"starostwo.gov.pl\":!0,\"pa.gov.pl\":!0,\"po.gov.pl\":!0,\"psse.gov.pl\":!0,\"pup.gov.pl\":!0,\"rzgw.gov.pl\":!0,\"sa.gov.pl\":!0,\"so.gov.pl\":!0,\"sr.gov.pl\":!0,\"wsa.gov.pl\":!0,\"sko.gov.pl\":!0,\"uzs.gov.pl\":!0,\"wiih.gov.pl\":!0,\"winb.gov.pl\":!0,\"pinb.gov.pl\":!0,\"wios.gov.pl\":!0,\"witd.gov.pl\":!0,\"wzmiuw.gov.pl\":!0,\"piw.gov.pl\":!0,\"wiw.gov.pl\":!0,\"griw.gov.pl\":!0,\"wif.gov.pl\":!0,\"oum.gov.pl\":!0,\"sdn.gov.pl\":!0,\"zp.gov.pl\":!0,\"uppo.gov.pl\":!0,\"mup.gov.pl\":!0,\"wuoz.gov.pl\":!0,\"konsulat.gov.pl\":!0,\"oirm.gov.pl\":!0,\"augustow.pl\":!0,\"babia-gora.pl\":!0,\"bedzin.pl\":!0,\"beskidy.pl\":!0,\"bialowieza.pl\":!0,\"bialystok.pl\":!0,\"bielawa.pl\":!0,\"bieszczady.pl\":!0,\"boleslawiec.pl\":!0,\"bydgoszcz.pl\":!0,\"bytom.pl\":!0,\"cieszyn.pl\":!0,\"czeladz.pl\":!0,\"czest.pl\":!0,\"dlugoleka.pl\":!0,\"elblag.pl\":!0,\"elk.pl\":!0,\"glogow.pl\":!0,\"gniezno.pl\":!0,\"gorlice.pl\":!0,\"grajewo.pl\":!0,\"ilawa.pl\":!0,\"jaworzno.pl\":!0,\"jelenia-gora.pl\":!0,\"jgora.pl\":!0,\"kalisz.pl\":!0,\"kazimierz-dolny.pl\":!0,\"karpacz.pl\":!0,\"kartuzy.pl\":!0,\"kaszuby.pl\":!0,\"katowice.pl\":!0,\"kepno.pl\":!0,\"ketrzyn.pl\":!0,\"klodzko.pl\":!0,\"kobierzyce.pl\":!0,\"kolobrzeg.pl\":!0,\"konin.pl\":!0,\"konskowola.pl\":!0,\"kutno.pl\":!0,\"lapy.pl\":!0,\"lebork.pl\":!0,\"legnica.pl\":!0,\"lezajsk.pl\":!0,\"limanowa.pl\":!0,\"lomza.pl\":!0,\"lowicz.pl\":!0,\"lubin.pl\":!0,\"lukow.pl\":!0,\"malbork.pl\":!0,\"malopolska.pl\":!0,\"mazowsze.pl\":!0,\"mazury.pl\":!0,\"mielec.pl\":!0,\"mielno.pl\":!0,\"mragowo.pl\":!0,\"naklo.pl\":!0,\"nowaruda.pl\":!0,\"nysa.pl\":!0,\"olawa.pl\":!0,\"olecko.pl\":!0,\"olkusz.pl\":!0,\"olsztyn.pl\":!0,\"opoczno.pl\":!0,\"opole.pl\":!0,\"ostroda.pl\":!0,\"ostroleka.pl\":!0,\"ostrowiec.pl\":!0,\"ostrowwlkp.pl\":!0,\"pila.pl\":!0,\"pisz.pl\":!0,\"podhale.pl\":!0,\"podlasie.pl\":!0,\"polkowice.pl\":!0,\"pomorze.pl\":!0,\"pomorskie.pl\":!0,\"prochowice.pl\":!0,\"pruszkow.pl\":!0,\"przeworsk.pl\":!0,\"pulawy.pl\":!0,\"radom.pl\":!0,\"rawa-maz.pl\":!0,\"rybnik.pl\":!0,\"rzeszow.pl\":!0,\"sanok.pl\":!0,\"sejny.pl\":!0,\"slask.pl\":!0,\"slupsk.pl\":!0,\"sosnowiec.pl\":!0,\"stalowa-wola.pl\":!0,\"skoczow.pl\":!0,\"starachowice.pl\":!0,\"stargard.pl\":!0,\"suwalki.pl\":!0,\"swidnica.pl\":!0,\"swiebodzin.pl\":!0,\"swinoujscie.pl\":!0,\"szczecin.pl\":!0,\"szczytno.pl\":!0,\"tarnobrzeg.pl\":!0,\"tgory.pl\":!0,\"turek.pl\":!0,\"tychy.pl\":!0,\"ustka.pl\":!0,\"walbrzych.pl\":!0,\"warmia.pl\":!0,\"warszawa.pl\":!0,\"waw.pl\":!0,\"wegrow.pl\":!0,\"wielun.pl\":!0,\"wlocl.pl\":!0,\"wloclawek.pl\":!0,\"wodzislaw.pl\":!0,\"wolomin.pl\":!0,\"wroclaw.pl\":!0,\"zachpomor.pl\":!0,\"zagan.pl\":!0,\"zarow.pl\":!0,\"zgora.pl\":!0,\"zgorzelec.pl\":!0,pm:!0,pn:!0,\"gov.pn\":!0,\"co.pn\":!0,\"org.pn\":!0,\"edu.pn\":!0,\"net.pn\":!0,post:!0,pr:!0,\"com.pr\":!0,\"net.pr\":!0,\"org.pr\":!0,\"gov.pr\":!0,\"edu.pr\":!0,\"isla.pr\":!0,\"pro.pr\":!0,\"biz.pr\":!0,\"info.pr\":!0,\"name.pr\":!0,\"est.pr\":!0,\"prof.pr\":!0,\"ac.pr\":!0,pro:!0,\"aca.pro\":!0,\"bar.pro\":!0,\"cpa.pro\":!0,\"jur.pro\":!0,\"law.pro\":!0,\"med.pro\":!0,\"eng.pro\":!0,ps:!0,\"edu.ps\":!0,\"gov.ps\":!0,\"sec.ps\":!0,\"plo.ps\":!0,\"com.ps\":!0,\"org.ps\":!0,\"net.ps\":!0,pt:!0,\"net.pt\":!0,\"gov.pt\":!0,\"org.pt\":!0,\"edu.pt\":!0,\"int.pt\":!0,\"publ.pt\":!0,\"com.pt\":!0,\"nome.pt\":!0,pw:!0,\"co.pw\":!0,\"ne.pw\":!0,\"or.pw\":!0,\"ed.pw\":!0,\"go.pw\":!0,\"belau.pw\":!0,py:!0,\"com.py\":!0,\"coop.py\":!0,\"edu.py\":!0,\"gov.py\":!0,\"mil.py\":!0,\"net.py\":!0,\"org.py\":!0,qa:!0,\"com.qa\":!0,\"edu.qa\":!0,\"gov.qa\":!0,\"mil.qa\":!0,\"name.qa\":!0,\"net.qa\":!0,\"org.qa\":!0,\"sch.qa\":!0,re:!0,\"com.re\":!0,\"asso.re\":!0,\"nom.re\":!0,ro:!0,\"com.ro\":!0,\"org.ro\":!0,\"tm.ro\":!0,\"nt.ro\":!0,\"nom.ro\":!0,\"info.ro\":!0,\"rec.ro\":!0,\"arts.ro\":!0,\"firm.ro\":!0,\"store.ro\":!0,\"www.ro\":!0,rs:!0,\"co.rs\":!0,\"org.rs\":!0,\"edu.rs\":!0,\"ac.rs\":!0,\"gov.rs\":!0,\"in.rs\":!0,ru:!0,\"ac.ru\":!0,\"com.ru\":!0,\"edu.ru\":!0,\"int.ru\":!0,\"net.ru\":!0,\"org.ru\":!0,\"pp.ru\":!0,\"adygeya.ru\":!0,\"altai.ru\":!0,\"amur.ru\":!0,\"arkhangelsk.ru\":!0,\"astrakhan.ru\":!0,\"bashkiria.ru\":!0,\"belgorod.ru\":!0,\"bir.ru\":!0,\"bryansk.ru\":!0,\"buryatia.ru\":!0,\"cbg.ru\":!0,\"chel.ru\":!0,\"chelyabinsk.ru\":!0,\"chita.ru\":!0,\"chukotka.ru\":!0,\"chuvashia.ru\":!0,\"dagestan.ru\":!0,\"dudinka.ru\":!0,\"e-burg.ru\":!0,\"grozny.ru\":!0,\"irkutsk.ru\":!0,\"ivanovo.ru\":!0,\"izhevsk.ru\":!0,\"jar.ru\":!0,\"joshkar-ola.ru\":!0,\"kalmykia.ru\":!0,\"kaluga.ru\":!0,\"kamchatka.ru\":!0,\"karelia.ru\":!0,\"kazan.ru\":!0,\"kchr.ru\":!0,\"kemerovo.ru\":!0,\"khabarovsk.ru\":!0,\"khakassia.ru\":!0,\"khv.ru\":!0,\"kirov.ru\":!0,\"koenig.ru\":!0,\"komi.ru\":!0,\"kostroma.ru\":!0,\"krasnoyarsk.ru\":!0,\"kuban.ru\":!0,\"kurgan.ru\":!0,\"kursk.ru\":!0,\"lipetsk.ru\":!0,\"magadan.ru\":!0,\"mari.ru\":!0,\"mari-el.ru\":!0,\"marine.ru\":!0,\"mordovia.ru\":!0,\"msk.ru\":!0,\"murmansk.ru\":!0,\"nalchik.ru\":!0,\"nnov.ru\":!0,\"nov.ru\":!0,\"novosibirsk.ru\":!0,\"nsk.ru\":!0,\"omsk.ru\":!0,\"orenburg.ru\":!0,\"oryol.ru\":!0,\"palana.ru\":!0,\"penza.ru\":!0,\"perm.ru\":!0,\"ptz.ru\":!0,\"rnd.ru\":!0,\"ryazan.ru\":!0,\"sakhalin.ru\":!0,\"samara.ru\":!0,\"saratov.ru\":!0,\"simbirsk.ru\":!0,\"smolensk.ru\":!0,\"spb.ru\":!0,\"stavropol.ru\":!0,\"stv.ru\":!0,\"surgut.ru\":!0,\"tambov.ru\":!0,\"tatarstan.ru\":!0,\"tom.ru\":!0,\"tomsk.ru\":!0,\"tsaritsyn.ru\":!0,\"tsk.ru\":!0,\"tula.ru\":!0,\"tuva.ru\":!0,\"tver.ru\":!0,\"tyumen.ru\":!0,\"udm.ru\":!0,\"udmurtia.ru\":!0,\"ulan-ude.ru\":!0,\"vladikavkaz.ru\":!0,\"vladimir.ru\":!0,\"vladivostok.ru\":!0,\"volgograd.ru\":!0,\"vologda.ru\":!0,\"voronezh.ru\":!0,\"vrn.ru\":!0,\"vyatka.ru\":!0,\"yakutia.ru\":!0,\"yamal.ru\":!0,\"yaroslavl.ru\":!0,\"yekaterinburg.ru\":!0,\"yuzhno-sakhalinsk.ru\":!0,\"amursk.ru\":!0,\"baikal.ru\":!0,\"cmw.ru\":!0,\"fareast.ru\":!0,\"jamal.ru\":!0,\"kms.ru\":!0,\"k-uralsk.ru\":!0,\"kustanai.ru\":!0,\"kuzbass.ru\":!0,\"magnitka.ru\":!0,\"mytis.ru\":!0,\"nakhodka.ru\":!0,\"nkz.ru\":!0,\"norilsk.ru\":!0,\"oskol.ru\":!0,\"pyatigorsk.ru\":!0,\"rubtsovsk.ru\":!0,\"snz.ru\":!0,\"syzran.ru\":!0,\"vdonsk.ru\":!0,\"zgrad.ru\":!0,\"gov.ru\":!0,\"mil.ru\":!0,\"test.ru\":!0,rw:!0,\"gov.rw\":!0,\"net.rw\":!0,\"edu.rw\":!0,\"ac.rw\":!0,\"com.rw\":!0,\"co.rw\":!0,\"int.rw\":!0,\"mil.rw\":!0,\"gouv.rw\":!0,sa:!0,\"com.sa\":!0,\"net.sa\":!0,\"org.sa\":!0,\"gov.sa\":!0,\"med.sa\":!0,\"pub.sa\":!0,\"edu.sa\":!0,\"sch.sa\":!0,sb:!0,\"com.sb\":!0,\"edu.sb\":!0,\"gov.sb\":!0,\"net.sb\":!0,\"org.sb\":!0,sc:!0,\"com.sc\":!0,\"gov.sc\":!0,\"net.sc\":!0,\"org.sc\":!0,\"edu.sc\":!0,sd:!0,\"com.sd\":!0,\"net.sd\":!0,\"org.sd\":!0,\"edu.sd\":!0,\"med.sd\":!0,\"tv.sd\":!0,\"gov.sd\":!0,\"info.sd\":!0,se:!0,\"a.se\":!0,\"ac.se\":!0,\"b.se\":!0,\"bd.se\":!0,\"brand.se\":!0,\"c.se\":!0,\"d.se\":!0,\"e.se\":!0,\"f.se\":!0,\"fh.se\":!0,\"fhsk.se\":!0,\"fhv.se\":!0,\"g.se\":!0,\"h.se\":!0,\"i.se\":!0,\"k.se\":!0,\"komforb.se\":!0,\"kommunalforbund.se\":!0,\"komvux.se\":!0,\"l.se\":!0,\"lanbib.se\":!0,\"m.se\":!0,\"n.se\":!0,\"naturbruksgymn.se\":!0,\"o.se\":!0,\"org.se\":!0,\"p.se\":!0,\"parti.se\":!0,\"pp.se\":!0,\"press.se\":!0,\"r.se\":!0,\"s.se\":!0,\"t.se\":!0,\"tm.se\":!0,\"u.se\":!0,\"w.se\":!0,\"x.se\":!0,\"y.se\":!0,\"z.se\":!0,sg:!0,\"com.sg\":!0,\"net.sg\":!0,\"org.sg\":!0,\"gov.sg\":!0,\"edu.sg\":!0,\"per.sg\":!0,sh:!0,\"com.sh\":!0,\"net.sh\":!0,\"gov.sh\":!0,\"org.sh\":!0,\"mil.sh\":!0,si:!0,sj:!0,sk:!0,sl:!0,\"com.sl\":!0,\"net.sl\":!0,\"edu.sl\":!0,\"gov.sl\":!0,\"org.sl\":!0,sm:!0,sn:!0,\"art.sn\":!0,\"com.sn\":!0,\"edu.sn\":!0,\"gouv.sn\":!0,\"org.sn\":!0,\"perso.sn\":!0,\"univ.sn\":!0,so:!0,\"com.so\":!0,\"net.so\":!0,\"org.so\":!0,sr:!0,st:!0,\"co.st\":!0,\"com.st\":!0,\"consulado.st\":!0,\"edu.st\":!0,\"embaixada.st\":!0,\"gov.st\":!0,\"mil.st\":!0,\"net.st\":!0,\"org.st\":!0,\"principe.st\":!0,\"saotome.st\":!0,\"store.st\":!0,su:!0,\"adygeya.su\":!0,\"arkhangelsk.su\":!0,\"balashov.su\":!0,\"bashkiria.su\":!0,\"bryansk.su\":!0,\"dagestan.su\":!0,\"grozny.su\":!0,\"ivanovo.su\":!0,\"kalmykia.su\":!0,\"kaluga.su\":!0,\"karelia.su\":!0,\"khakassia.su\":!0,\"krasnodar.su\":!0,\"kurgan.su\":!0,\"lenug.su\":!0,\"mordovia.su\":!0,\"msk.su\":!0,\"murmansk.su\":!0,\"nalchik.su\":!0,\"nov.su\":!0,\"obninsk.su\":!0,\"penza.su\":!0,\"pokrovsk.su\":!0,\"sochi.su\":!0,\"spb.su\":!0,\"togliatti.su\":!0,\"troitsk.su\":!0,\"tula.su\":!0,\"tuva.su\":!0,\"vladikavkaz.su\":!0,\"vladimir.su\":!0,\"vologda.su\":!0,sv:!0,\"com.sv\":!0,\"edu.sv\":!0,\"gob.sv\":!0,\"org.sv\":!0,\"red.sv\":!0,sx:!0,\"gov.sx\":!0,sy:!0,\"edu.sy\":!0,\"gov.sy\":!0,\"net.sy\":!0,\"mil.sy\":!0,\"com.sy\":!0,\"org.sy\":!0,sz:!0,\"co.sz\":!0,\"ac.sz\":!0,\"org.sz\":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,\"ac.th\":!0,\"co.th\":!0,\"go.th\":!0,\"in.th\":!0,\"mi.th\":!0,\"net.th\":!0,\"or.th\":!0,tj:!0,\"ac.tj\":!0,\"biz.tj\":!0,\"co.tj\":!0,\"com.tj\":!0,\"edu.tj\":!0,\"go.tj\":!0,\"gov.tj\":!0,\"int.tj\":!0,\"mil.tj\":!0,\"name.tj\":!0,\"net.tj\":!0,\"nic.tj\":!0,\"org.tj\":!0,\"test.tj\":!0,\"web.tj\":!0,tk:!0,tl:!0,\"gov.tl\":!0,tm:!0,\"com.tm\":!0,\"co.tm\":!0,\"org.tm\":!0,\"net.tm\":!0,\"nom.tm\":!0,\"gov.tm\":!0,\"mil.tm\":!0,\"edu.tm\":!0,tn:!0,\"com.tn\":!0,\"ens.tn\":!0,\"fin.tn\":!0,\"gov.tn\":!0,\"ind.tn\":!0,\"intl.tn\":!0,\"nat.tn\":!0,\"net.tn\":!0,\"org.tn\":!0,\"info.tn\":!0,\"perso.tn\":!0,\"tourism.tn\":!0,\"edunet.tn\":!0,\"rnrt.tn\":!0,\"rns.tn\":!0,\"rnu.tn\":!0,\"mincom.tn\":!0,\"agrinet.tn\":!0,\"defense.tn\":!0,\"turen.tn\":!0,to:!0,\"com.to\":!0,\"gov.to\":!0,\"net.to\":!0,\"org.to\":!0,\"edu.to\":!0,\"mil.to\":!0,tp:!0,tr:!0,\"com.tr\":!0,\"info.tr\":!0,\"biz.tr\":!0,\"net.tr\":!0,\"org.tr\":!0,\"web.tr\":!0,\"gen.tr\":!0,\"tv.tr\":!0,\"av.tr\":!0,\"dr.tr\":!0,\"bbs.tr\":!0,\"name.tr\":!0,\"tel.tr\":!0,\"gov.tr\":!0,\"bel.tr\":!0,\"pol.tr\":!0,\"mil.tr\":!0,\"k12.tr\":!0,\"edu.tr\":!0,\"kep.tr\":!0,\"nc.tr\":!0,\"gov.nc.tr\":!0,travel:!0,tt:!0,\"co.tt\":!0,\"com.tt\":!0,\"org.tt\":!0,\"net.tt\":!0,\"biz.tt\":!0,\"info.tt\":!0,\"pro.tt\":!0,\"int.tt\":!0,\"coop.tt\":!0,\"jobs.tt\":!0,\"mobi.tt\":!0,\"travel.tt\":!0,\"museum.tt\":!0,\"aero.tt\":!0,\"name.tt\":!0,\"gov.tt\":!0,\"edu.tt\":!0,tv:!0,tw:!0,\"edu.tw\":!0,\"gov.tw\":!0,\"mil.tw\":!0,\"com.tw\":!0,\"net.tw\":!0,\"org.tw\":!0,\"idv.tw\":!0,\"game.tw\":!0,\"ebiz.tw\":!0,\"club.tw\":!0,\"xn--zf0ao64a.tw\":!0,\"xn--uc0atv.tw\":!0,\"xn--czrw28b.tw\":!0,tz:!0,\"ac.tz\":!0,\"co.tz\":!0,\"go.tz\":!0,\"hotel.tz\":!0,\"info.tz\":!0,\"me.tz\":!0,\"mil.tz\":!0,\"mobi.tz\":!0,\"ne.tz\":!0,\"or.tz\":!0,\"sc.tz\":!0,\"tv.tz\":!0,ua:!0,\"com.ua\":!0,\"edu.ua\":!0,\"gov.ua\":!0,\"in.ua\":!0,\"net.ua\":!0,\"org.ua\":!0,\"cherkassy.ua\":!0,\"cherkasy.ua\":!0,\"chernigov.ua\":!0,\"chernihiv.ua\":!0,\"chernivtsi.ua\":!0,\"chernovtsy.ua\":!0,\"ck.ua\":!0,\"cn.ua\":!0,\"cr.ua\":!0,\"crimea.ua\":!0,\"cv.ua\":!0,\"dn.ua\":!0,\"dnepropetrovsk.ua\":!0,\"dnipropetrovsk.ua\":!0,\"dominic.ua\":!0,\"donetsk.ua\":!0,\"dp.ua\":!0,\"if.ua\":!0,\"ivano-frankivsk.ua\":!0,\"kh.ua\":!0,\"kharkiv.ua\":!0,\"kharkov.ua\":!0,\"kherson.ua\":!0,\"khmelnitskiy.ua\":!0,\"khmelnytskyi.ua\":!0,\"kiev.ua\":!0,\"kirovograd.ua\":!0,\"km.ua\":!0,\"kr.ua\":!0,\"krym.ua\":!0,\"ks.ua\":!0,\"kv.ua\":!0,\"kyiv.ua\":!0,\"lg.ua\":!0,\"lt.ua\":!0,\"lugansk.ua\":!0,\"lutsk.ua\":!0,\"lv.ua\":!0,\"lviv.ua\":!0,\"mk.ua\":!0,\"mykolaiv.ua\":!0,\"nikolaev.ua\":!0,\"od.ua\":!0,\"odesa.ua\":!0,\"odessa.ua\":!0,\"pl.ua\":!0,\"poltava.ua\":!0,\"rivne.ua\":!0,\"rovno.ua\":!0,\"rv.ua\":!0,\"sb.ua\":!0,\"sebastopol.ua\":!0,\"sevastopol.ua\":!0,\"sm.ua\":!0,\"sumy.ua\":!0,\"te.ua\":!0,\"ternopil.ua\":!0,\"uz.ua\":!0,\"uzhgorod.ua\":!0,\"vinnica.ua\":!0,\"vinnytsia.ua\":!0,\"vn.ua\":!0,\"volyn.ua\":!0,\"yalta.ua\":!0,\"zaporizhzhe.ua\":!0,\"zaporizhzhia.ua\":!0,\"zhitomir.ua\":!0,\"zhytomyr.ua\":!0,\"zp.ua\":!0,\"zt.ua\":!0,ug:!0,\"co.ug\":!0,\"or.ug\":!0,\"ac.ug\":!0,\"sc.ug\":!0,\"go.ug\":!0,\"ne.ug\":!0,\"com.ug\":!0,\"org.ug\":!0,uk:!0,\"ac.uk\":!0,\"co.uk\":!0,\"gov.uk\":!0,\"ltd.uk\":!0,\"me.uk\":!0,\"net.uk\":!0,\"nhs.uk\":!0,\"org.uk\":!0,\"plc.uk\":!0,\"police.uk\":!0,\"*.sch.uk\":!0,us:!0,\"dni.us\":!0,\"fed.us\":!0,\"isa.us\":!0,\"kids.us\":!0,\"nsn.us\":!0,\"ak.us\":!0,\"al.us\":!0,\"ar.us\":!0,\"as.us\":!0,\"az.us\":!0,\"ca.us\":!0,\"co.us\":!0,\"ct.us\":!0,\"dc.us\":!0,\"de.us\":!0,\"fl.us\":!0,\"ga.us\":!0,\"gu.us\":!0,\"hi.us\":!0,\"ia.us\":!0,\"id.us\":!0,\"il.us\":!0,\"in.us\":!0,\"ks.us\":!0,\"ky.us\":!0,\"la.us\":!0,\"ma.us\":!0,\"md.us\":!0,\"me.us\":!0,\"mi.us\":!0,\"mn.us\":!0,\"mo.us\":!0,\"ms.us\":!0,\"mt.us\":!0,\"nc.us\":!0,\"nd.us\":!0,\"ne.us\":!0,\"nh.us\":!0,\"nj.us\":!0,\"nm.us\":!0,\"nv.us\":!0,\"ny.us\":!0,\"oh.us\":!0,\"ok.us\":!0,\"or.us\":!0,\"pa.us\":!0,\"pr.us\":!0,\"ri.us\":!0,\"sc.us\":!0,\"sd.us\":!0,\"tn.us\":!0,\"tx.us\":!0,\"ut.us\":!0,\"vi.us\":!0,\"vt.us\":!0,\"va.us\":!0,\"wa.us\":!0,\"wi.us\":!0,\"wv.us\":!0,\"wy.us\":!0,\"k12.ak.us\":!0,\"k12.al.us\":!0,\"k12.ar.us\":!0,\"k12.as.us\":!0,\"k12.az.us\":!0,\"k12.ca.us\":!0,\"k12.co.us\":!0,\"k12.ct.us\":!0,\"k12.dc.us\":!0,\"k12.de.us\":!0,\"k12.fl.us\":!0,\"k12.ga.us\":!0,\"k12.gu.us\":!0,\"k12.ia.us\":!0,\"k12.id.us\":!0,\"k12.il.us\":!0,\"k12.in.us\":!0,\"k12.ks.us\":!0,\"k12.ky.us\":!0,\"k12.la.us\":!0,\"k12.ma.us\":!0,\"k12.md.us\":!0,\"k12.me.us\":!0,\"k12.mi.us\":!0,\"k12.mn.us\":!0,\"k12.mo.us\":!0,\"k12.ms.us\":!0,\"k12.mt.us\":!0,\"k12.nc.us\":!0,\"k12.ne.us\":!0,\"k12.nh.us\":!0,\"k12.nj.us\":!0,\"k12.nm.us\":!0,\"k12.nv.us\":!0,\"k12.ny.us\":!0,\"k12.oh.us\":!0,\"k12.ok.us\":!0,\"k12.or.us\":!0,\"k12.pa.us\":!0,\"k12.pr.us\":!0,\"k12.ri.us\":!0,\"k12.sc.us\":!0,\"k12.tn.us\":!0,\"k12.tx.us\":!0,\"k12.ut.us\":!0,\"k12.vi.us\":!0,\"k12.vt.us\":!0,\"k12.va.us\":!0,\"k12.wa.us\":!0,\"k12.wi.us\":!0,\"k12.wy.us\":!0,\"cc.ak.us\":!0,\"cc.al.us\":!0,\"cc.ar.us\":!0,\"cc.as.us\":!0,\"cc.az.us\":!0,\"cc.ca.us\":!0,\"cc.co.us\":!0,\"cc.ct.us\":!0,\"cc.dc.us\":!0,\"cc.de.us\":!0,\"cc.fl.us\":!0,\"cc.ga.us\":!0,\"cc.gu.us\":!0,\"cc.hi.us\":!0,\"cc.ia.us\":!0,\"cc.id.us\":!0,\"cc.il.us\":!0,\"cc.in.us\":!0,\"cc.ks.us\":!0,\"cc.ky.us\":!0,\"cc.la.us\":!0,\"cc.ma.us\":!0,\"cc.md.us\":!0,\"cc.me.us\":!0,\"cc.mi.us\":!0,\"cc.mn.us\":!0,\"cc.mo.us\":!0,\"cc.ms.us\":!0,\"cc.mt.us\":!0,\"cc.nc.us\":!0,\"cc.nd.us\":!0,\"cc.ne.us\":!0,\"cc.nh.us\":!0,\"cc.nj.us\":!0,\"cc.nm.us\":!0,\"cc.nv.us\":!0,\"cc.ny.us\":!0,\"cc.oh.us\":!0,\"cc.ok.us\":!0,\"cc.or.us\":!0,\"cc.pa.us\":!0,\"cc.pr.us\":!0,\"cc.ri.us\":!0,\"cc.sc.us\":!0,\"cc.sd.us\":!0,\"cc.tn.us\":!0,\"cc.tx.us\":!0,\"cc.ut.us\":!0,\"cc.vi.us\":!0,\"cc.vt.us\":!0,\"cc.va.us\":!0,\"cc.wa.us\":!0,\"cc.wi.us\":!0,\"cc.wv.us\":!0,\"cc.wy.us\":!0,\"lib.ak.us\":!0,\"lib.al.us\":!0,\"lib.ar.us\":!0,\"lib.as.us\":!0,\"lib.az.us\":!0,\"lib.ca.us\":!0,\"lib.co.us\":!0,\"lib.ct.us\":!0,\"lib.dc.us\":!0,\"lib.de.us\":!0,\"lib.fl.us\":!0,\"lib.ga.us\":!0,\"lib.gu.us\":!0,\"lib.hi.us\":!0,\"lib.ia.us\":!0,\"lib.id.us\":!0,\"lib.il.us\":!0,\"lib.in.us\":!0,\"lib.ks.us\":!0,\"lib.ky.us\":!0,\"lib.la.us\":!0,\"lib.ma.us\":!0,\"lib.md.us\":!0,\"lib.me.us\":!0,\"lib.mi.us\":!0,\"lib.mn.us\":!0,\"lib.mo.us\":!0,\"lib.ms.us\":!0,\"lib.mt.us\":!0,\"lib.nc.us\":!0,\"lib.nd.us\":!0,\"lib.ne.us\":!0,\"lib.nh.us\":!0,\"lib.nj.us\":!0,\"lib.nm.us\":!0,\"lib.nv.us\":!0,\"lib.ny.us\":!0,\"lib.oh.us\":!0,\"lib.ok.us\":!0,\"lib.or.us\":!0,\"lib.pa.us\":!0,\"lib.pr.us\":!0,\"lib.ri.us\":!0,\"lib.sc.us\":!0,\"lib.sd.us\":!0,\"lib.tn.us\":!0,\"lib.tx.us\":!0,\"lib.ut.us\":!0,\"lib.vi.us\":!0,\"lib.vt.us\":!0,\"lib.va.us\":!0,\"lib.wa.us\":!0,\"lib.wi.us\":!0,\"lib.wy.us\":!0,\"pvt.k12.ma.us\":!0,\"chtr.k12.ma.us\":!0,\"paroch.k12.ma.us\":!0,uy:!0,\"com.uy\":!0,\"edu.uy\":!0,\"gub.uy\":!0,\"mil.uy\":!0,\"net.uy\":!0,\"org.uy\":!0,uz:!0,\"co.uz\":!0,\"com.uz\":!0,\"net.uz\":!0,\"org.uz\":!0,va:!0,vc:!0,\"com.vc\":!0,\"net.vc\":!0,\"org.vc\":!0,\"gov.vc\":!0,\"mil.vc\":!0,\n\"edu.vc\":!0,ve:!0,\"arts.ve\":!0,\"co.ve\":!0,\"com.ve\":!0,\"e12.ve\":!0,\"edu.ve\":!0,\"firm.ve\":!0,\"gob.ve\":!0,\"gov.ve\":!0,\"info.ve\":!0,\"int.ve\":!0,\"mil.ve\":!0,\"net.ve\":!0,\"org.ve\":!0,\"rec.ve\":!0,\"store.ve\":!0,\"tec.ve\":!0,\"web.ve\":!0,vg:!0,vi:!0,\"co.vi\":!0,\"com.vi\":!0,\"k12.vi\":!0,\"net.vi\":!0,\"org.vi\":!0,vn:!0,\"com.vn\":!0,\"net.vn\":!0,\"org.vn\":!0,\"edu.vn\":!0,\"gov.vn\":!0,\"int.vn\":!0,\"ac.vn\":!0,\"biz.vn\":!0,\"info.vn\":!0,\"name.vn\":!0,\"pro.vn\":!0,\"health.vn\":!0,vu:!0,\"com.vu\":!0,\"edu.vu\":!0,\"net.vu\":!0,\"org.vu\":!0,wf:!0,ws:!0,\"com.ws\":!0,\"net.ws\":!0,\"org.ws\":!0,\"gov.ws\":!0,\"edu.ws\":!0,yt:!0,\"xn--mgbaam7a8h\":!0,\"xn--y9a3aq\":!0,\"xn--54b7fta0cc\":!0,\"xn--90ais\":!0,\"xn--fiqs8s\":!0,\"xn--fiqz9s\":!0,\"xn--lgbbat1ad8j\":!0,\"xn--wgbh1c\":!0,\"xn--node\":!0,\"xn--qxam\":!0,\"xn--j6w193g\":!0,\"xn--h2brj9c\":!0,\"xn--mgbbh1a71e\":!0,\"xn--fpcrj9c3d\":!0,\"xn--gecrj9c\":!0,\"xn--s9brj9c\":!0,\"xn--45brj9c\":!0,\"xn--xkc2dl3a5ee0h\":!0,\"xn--mgba3a4f16a\":!0,\"xn--mgba3a4fra\":!0,\"xn--mgbtx2b\":!0,\"xn--mgbayh7gpa\":!0,\"xn--3e0b707e\":!0,\"xn--80ao21a\":!0,\"xn--fzc2c9e2c\":!0,\"xn--xkc2al3hye2a\":!0,\"xn--mgbc0a9azcg\":!0,\"xn--d1alf\":!0,\"xn--l1acc\":!0,\"xn--mix891f\":!0,\"xn--mix082f\":!0,\"xn--mgbx4cd0ab\":!0,\"xn--mgb9awbf\":!0,\"xn--mgbai9azgqp6j\":!0,\"xn--mgbai9a5eva00b\":!0,\"xn--ygbi2ammx\":!0,\"xn--90a3ac\":!0,\"xn--o1ac.xn--90a3ac\":!0,\"xn--c1avg.xn--90a3ac\":!0,\"xn--90azh.xn--90a3ac\":!0,\"xn--d1at.xn--90a3ac\":!0,\"xn--o1ach.xn--90a3ac\":!0,\"xn--80au.xn--90a3ac\":!0,\"xn--p1ai\":!0,\"xn--wgbl6a\":!0,\"xn--mgberp4a5d4ar\":!0,\"xn--mgberp4a5d4a87g\":!0,\"xn--mgbqly7c0a67fbc\":!0,\"xn--mgbqly7cvafr\":!0,\"xn--mgbpl2fh\":!0,\"xn--yfro4i67o\":!0,\"xn--clchc0ea0b2g2a9gcd\":!0,\"xn--ogbpf8fl\":!0,\"xn--mgbtf8fl\":!0,\"xn--o3cw4h\":!0,\"xn--pgbs0dh\":!0,\"xn--kpry57d\":!0,\"xn--kprw13d\":!0,\"xn--nnx388a\":!0,\"xn--j1amh\":!0,\"xn--mgb2ddes\":!0,xxx:!0,\"*.ye\":!0,\"ac.za\":!0,\"agrica.za\":!0,\"alt.za\":!0,\"co.za\":!0,\"edu.za\":!0,\"gov.za\":!0,\"grondar.za\":!0,\"law.za\":!0,\"mil.za\":!0,\"net.za\":!0,\"ngo.za\":!0,\"nis.za\":!0,\"nom.za\":!0,\"org.za\":!0,\"school.za\":!0,\"tm.za\":!0,\"web.za\":!0,\"*.zm\":!0,\"*.zw\":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,africamagic:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,\"case\":!0,caseih:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,dnp:!0,docs:!0,dodge:!0,dog:!0,doha:!0,domains:!0,doosan:!0,dot:!0,download:!0,drive:!0,dstv:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dwg:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,\"final\":!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyknet:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mutuelle:!0,mzansimagic:!0,nab:!0,nadex:!0,nagoya:!0,naspers:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,\"new\":!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,payu:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,seat:!0,secure:!0,security:!0,seek:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,\"xn--11b4c3d\":!0,\"xn--1ck2e1b\":!0,\"xn--1qqw23a\":!0,\"xn--30rr7y\":!0,\"xn--3bst00m\":!0,\"xn--3ds443g\":!0,\"xn--3oq18vl8pn36a\":!0,\"xn--3pxu8k\":!0,\"xn--42c2d9a\":!0,\"xn--45q11c\":!0,\"xn--4gbrim\":!0,\"xn--4gq48lf9j\":!0,\"xn--55qw42g\":!0,\"xn--55qx5d\":!0,\"xn--5su34j936bgsg\":!0,\"xn--5tzm5g\":!0,\"xn--6frz82g\":!0,\"xn--6qq986b3xl\":!0,\"xn--80adxhks\":!0,\"xn--80asehdb\":!0,\"xn--80aswg\":!0,\"xn--8y0a063a\":!0,\"xn--9dbq2a\":!0,\"xn--9et52u\":!0,\"xn--9krt00a\":!0,\"xn--b4w605ferd\":!0,\"xn--bck1b9a5dre4c\":!0,\"xn--c1avg\":!0,\"xn--c2br7g\":!0,\"xn--cck2b3b\":!0,\"xn--cg4bki\":!0,\"xn--czr694b\":!0,\"xn--czrs0t\":!0,\"xn--czru2d\":!0,\"xn--d1acj3b\":!0,\"xn--eckvdtc9d\":!0,\"xn--efvy88h\":!0,\"xn--estv75g\":!0,\"xn--fct429k\":!0,\"xn--fhbei\":!0,\"xn--fiq228c5hs\":!0,\"xn--fiq64b\":!0,\"xn--fjq720a\":!0,\"xn--flw351e\":!0,\"xn--fzys8d69uvgm\":!0,\"xn--g2xx48c\":!0,\"xn--gckr3f0f\":!0,\"xn--hxt814e\":!0,\"xn--i1b6b1a6a2e\":!0,\"xn--imr513n\":!0,\"xn--io0a7i\":!0,\"xn--j1aef\":!0,\"xn--jlq61u9w7b\":!0,\"xn--jvr189m\":!0,\"xn--kcrx77d1x4a\":!0,\"xn--kpu716f\":!0,\"xn--kput3i\":!0,\"xn--mgba3a3ejt\":!0,\"xn--mgba7c0bbn0a\":!0,\"xn--mgbaakc7dvf\":!0,\"xn--mgbab2bd\":!0,\"xn--mgbb9fbpob\":!0,\"xn--mgbca7dzdo\":!0,\"xn--mgbt3dhd\":!0,\"xn--mk1bu44c\":!0,\"xn--mxtq1m\":!0,\"xn--ngbc5azd\":!0,\"xn--ngbe9e0a\":!0,\"xn--nqv7f\":!0,\"xn--nqv7fs00ema\":!0,\"xn--nyqy26a\":!0,\"xn--p1acf\":!0,\"xn--pbt977c\":!0,\"xn--pssy2u\":!0,\"xn--q9jyb4c\":!0,\"xn--qcka1pmc\":!0,\"xn--rhqv96g\":!0,\"xn--rovu88b\":!0,\"xn--ses554g\":!0,\"xn--t60b56a\":!0,\"xn--tckwe\":!0,\"xn--unup4y\":!0,\"xn--vermgensberater-ctb\":!0,\"xn--vermgensberatung-pwb\":!0,\"xn--vhquv\":!0,\"xn--vuq861b\":!0,\"xn--w4r85el8fhu5dnra\":!0,\"xn--w4rs40l\":!0,\"xn--xhq521b\":!0,\"xn--zfr164b\":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,\"cloudfront.net\":!0,\"ap-northeast-1.compute.amazonaws.com\":!0,\"ap-southeast-1.compute.amazonaws.com\":!0,\"ap-southeast-2.compute.amazonaws.com\":!0,\"cn-north-1.compute.amazonaws.cn\":!0,\"compute.amazonaws.cn\":!0,\"compute.amazonaws.com\":!0,\"compute-1.amazonaws.com\":!0,\"eu-west-1.compute.amazonaws.com\":!0,\"eu-central-1.compute.amazonaws.com\":!0,\"sa-east-1.compute.amazonaws.com\":!0,\"us-east-1.amazonaws.com\":!0,\"us-gov-west-1.compute.amazonaws.com\":!0,\"us-west-1.compute.amazonaws.com\":!0,\"us-west-2.compute.amazonaws.com\":!0,\"z-1.compute-1.amazonaws.com\":!0,\"z-2.compute-1.amazonaws.com\":!0,\"elasticbeanstalk.com\":!0,\"elb.amazonaws.com\":!0,\"s3.amazonaws.com\":!0,\"s3-ap-northeast-1.amazonaws.com\":!0,\"s3-ap-southeast-1.amazonaws.com\":!0,\"s3-ap-southeast-2.amazonaws.com\":!0,\"s3-external-1.amazonaws.com\":!0,\"s3-external-2.amazonaws.com\":!0,\"s3-fips-us-gov-west-1.amazonaws.com\":!0,\"s3-eu-central-1.amazonaws.com\":!0,\"s3-eu-west-1.amazonaws.com\":!0,\"s3-sa-east-1.amazonaws.com\":!0,\"s3-us-gov-west-1.amazonaws.com\":!0,\"s3-us-west-1.amazonaws.com\":!0,\"s3-us-west-2.amazonaws.com\":!0,\"s3.cn-north-1.amazonaws.com.cn\":!0,\"s3.eu-central-1.amazonaws.com\":!0,\"betainabox.com\":!0,\"ae.org\":!0,\"ar.com\":!0,\"br.com\":!0,\"cn.com\":!0,\"com.de\":!0,\"com.se\":!0,\"de.com\":!0,\"eu.com\":!0,\"gb.com\":!0,\"gb.net\":!0,\"hu.com\":!0,\"hu.net\":!0,\"jp.net\":!0,\"jpn.com\":!0,\"kr.com\":!0,\"mex.com\":!0,\"no.com\":!0,\"qc.com\":!0,\"ru.com\":!0,\"sa.com\":!0,\"se.com\":!0,\"se.net\":!0,\"uk.com\":!0,\"uk.net\":!0,\"us.com\":!0,\"uy.com\":!0,\"za.bz\":!0,\"za.com\":!0,\"africa.com\":!0,\"gr.com\":!0,\"in.net\":!0,\"us.org\":!0,\"co.com\":!0,\"c.la\":!0,\"cloudcontrolled.com\":!0,\"cloudcontrolapp.com\":!0,\"co.ca\":!0,\"c.cdn77.org\":!0,\"cdn77-ssl.net\":!0,\"r.cdn77.net\":!0,\"rsc.cdn77.org\":!0,\"ssl.origin.cdn77-secure.org\":!0,\"co.nl\":!0,\"co.no\":!0,\"*.platform.sh\":!0,\"cupcake.is\":!0,\"dreamhosters.com\":!0,\"duckdns.org\":!0,\"dyndns-at-home.com\":!0,\"dyndns-at-work.com\":!0,\"dyndns-blog.com\":!0,\"dyndns-free.com\":!0,\"dyndns-home.com\":!0,\"dyndns-ip.com\":!0,\"dyndns-mail.com\":!0,\"dyndns-office.com\":!0,\"dyndns-pics.com\":!0,\"dyndns-remote.com\":!0,\"dyndns-server.com\":!0,\"dyndns-web.com\":!0,\"dyndns-wiki.com\":!0,\"dyndns-work.com\":!0,\"dyndns.biz\":!0,\"dyndns.info\":!0,\"dyndns.org\":!0,\"dyndns.tv\":!0,\"at-band-camp.net\":!0,\"ath.cx\":!0,\"barrel-of-knowledge.info\":!0,\"barrell-of-knowledge.info\":!0,\"better-than.tv\":!0,\"blogdns.com\":!0,\"blogdns.net\":!0,\"blogdns.org\":!0,\"blogsite.org\":!0,\"boldlygoingnowhere.org\":!0,\"broke-it.net\":!0,\"buyshouses.net\":!0,\"cechire.com\":!0,\"dnsalias.com\":!0,\"dnsalias.net\":!0,\"dnsalias.org\":!0,\"dnsdojo.com\":!0,\"dnsdojo.net\":!0,\"dnsdojo.org\":!0,\"does-it.net\":!0,\"doesntexist.com\":!0,\"doesntexist.org\":!0,\"dontexist.com\":!0,\"dontexist.net\":!0,\"dontexist.org\":!0,\"doomdns.com\":!0,\"doomdns.org\":!0,\"dvrdns.org\":!0,\"dyn-o-saur.com\":!0,\"dynalias.com\":!0,\"dynalias.net\":!0,\"dynalias.org\":!0,\"dynathome.net\":!0,\"dyndns.ws\":!0,\"endofinternet.net\":!0,\"endofinternet.org\":!0,\"endoftheinternet.org\":!0,\"est-a-la-maison.com\":!0,\"est-a-la-masion.com\":!0,\"est-le-patron.com\":!0,\"est-mon-blogueur.com\":!0,\"for-better.biz\":!0,\"for-more.biz\":!0,\"for-our.info\":!0,\"for-some.biz\":!0,\"for-the.biz\":!0,\"forgot.her.name\":!0,\"forgot.his.name\":!0,\"from-ak.com\":!0,\"from-al.com\":!0,\"from-ar.com\":!0,\"from-az.net\":!0,\"from-ca.com\":!0,\"from-co.net\":!0,\"from-ct.com\":!0,\"from-dc.com\":!0,\"from-de.com\":!0,\"from-fl.com\":!0,\"from-ga.com\":!0,\"from-hi.com\":!0,\"from-ia.com\":!0,\"from-id.com\":!0,\"from-il.com\":!0,\"from-in.com\":!0,\"from-ks.com\":!0,\"from-ky.com\":!0,\"from-la.net\":!0,\"from-ma.com\":!0,\"from-md.com\":!0,\"from-me.org\":!0,\"from-mi.com\":!0,\"from-mn.com\":!0,\"from-mo.com\":!0,\"from-ms.com\":!0,\"from-mt.com\":!0,\"from-nc.com\":!0,\"from-nd.com\":!0,\"from-ne.com\":!0,\"from-nh.com\":!0,\"from-nj.com\":!0,\"from-nm.com\":!0,\"from-nv.com\":!0,\"from-ny.net\":!0,\"from-oh.com\":!0,\"from-ok.com\":!0,\"from-or.com\":!0,\"from-pa.com\":!0,\"from-pr.com\":!0,\"from-ri.com\":!0,\"from-sc.com\":!0,\"from-sd.com\":!0,\"from-tn.com\":!0,\"from-tx.com\":!0,\"from-ut.com\":!0,\"from-va.com\":!0,\"from-vt.com\":!0,\"from-wa.com\":!0,\"from-wi.com\":!0,\"from-wv.com\":!0,\"from-wy.com\":!0,\"ftpaccess.cc\":!0,\"fuettertdasnetz.de\":!0,\"game-host.org\":!0,\"game-server.cc\":!0,\"getmyip.com\":!0,\"gets-it.net\":!0,\"go.dyndns.org\":!0,\"gotdns.com\":!0,\"gotdns.org\":!0,\"groks-the.info\":!0,\"groks-this.info\":!0,\"ham-radio-op.net\":!0,\"here-for-more.info\":!0,\"hobby-site.com\":!0,\"hobby-site.org\":!0,\"home.dyndns.org\":!0,\"homedns.org\":!0,\"homeftp.net\":!0,\"homeftp.org\":!0,\"homeip.net\":!0,\"homelinux.com\":!0,\"homelinux.net\":!0,\"homelinux.org\":!0,\"homeunix.com\":!0,\"homeunix.net\":!0,\"homeunix.org\":!0,\"iamallama.com\":!0,\"in-the-band.net\":!0,\"is-a-anarchist.com\":!0,\"is-a-blogger.com\":!0,\"is-a-bookkeeper.com\":!0,\"is-a-bruinsfan.org\":!0,\"is-a-bulls-fan.com\":!0,\"is-a-candidate.org\":!0,\"is-a-caterer.com\":!0,\"is-a-celticsfan.org\":!0,\"is-a-chef.com\":!0,\"is-a-chef.net\":!0,\"is-a-chef.org\":!0,\"is-a-conservative.com\":!0,\"is-a-cpa.com\":!0,\"is-a-cubicle-slave.com\":!0,\"is-a-democrat.com\":!0,\"is-a-designer.com\":!0,\"is-a-doctor.com\":!0,\"is-a-financialadvisor.com\":!0,\"is-a-geek.com\":!0,\"is-a-geek.net\":!0,\"is-a-geek.org\":!0,\"is-a-green.com\":!0,\"is-a-guru.com\":!0,\"is-a-hard-worker.com\":!0,\"is-a-hunter.com\":!0,\"is-a-knight.org\":!0,\"is-a-landscaper.com\":!0,\"is-a-lawyer.com\":!0,\"is-a-liberal.com\":!0,\"is-a-libertarian.com\":!0,\"is-a-linux-user.org\":!0,\"is-a-llama.com\":!0,\"is-a-musician.com\":!0,\"is-a-nascarfan.com\":!0,\"is-a-nurse.com\":!0,\"is-a-painter.com\":!0,\"is-a-patsfan.org\":!0,\"is-a-personaltrainer.com\":!0,\"is-a-photographer.com\":!0,\"is-a-player.com\":!0,\"is-a-republican.com\":!0,\"is-a-rockstar.com\":!0,\"is-a-socialist.com\":!0,\"is-a-soxfan.org\":!0,\"is-a-student.com\":!0,\"is-a-teacher.com\":!0,\"is-a-techie.com\":!0,\"is-a-therapist.com\":!0,\"is-an-accountant.com\":!0,\"is-an-actor.com\":!0,\"is-an-actress.com\":!0,\"is-an-anarchist.com\":!0,\"is-an-artist.com\":!0,\"is-an-engineer.com\":!0,\"is-an-entertainer.com\":!0,\"is-by.us\":!0,\"is-certified.com\":!0,\"is-found.org\":!0,\"is-gone.com\":!0,\"is-into-anime.com\":!0,\"is-into-cars.com\":!0,\"is-into-cartoons.com\":!0,\"is-into-games.com\":!0,\"is-leet.com\":!0,\"is-lost.org\":!0,\"is-not-certified.com\":!0,\"is-saved.org\":!0,\"is-slick.com\":!0,\"is-uberleet.com\":!0,\"is-very-bad.org\":!0,\"is-very-evil.org\":!0,\"is-very-good.org\":!0,\"is-very-nice.org\":!0,\"is-very-sweet.org\":!0,\"is-with-theband.com\":!0,\"isa-geek.com\":!0,\"isa-geek.net\":!0,\"isa-geek.org\":!0,\"isa-hockeynut.com\":!0,\"issmarterthanyou.com\":!0,\"isteingeek.de\":!0,\"istmein.de\":!0,\"kicks-ass.net\":!0,\"kicks-ass.org\":!0,\"knowsitall.info\":!0,\"land-4-sale.us\":!0,\"lebtimnetz.de\":!0,\"leitungsen.de\":!0,\"likes-pie.com\":!0,\"likescandy.com\":!0,\"merseine.nu\":!0,\"mine.nu\":!0,\"misconfused.org\":!0,\"mypets.ws\":!0,\"myphotos.cc\":!0,\"neat-url.com\":!0,\"office-on-the.net\":!0,\"on-the-web.tv\":!0,\"podzone.net\":!0,\"podzone.org\":!0,\"readmyblog.org\":!0,\"saves-the-whales.com\":!0,\"scrapper-site.net\":!0,\"scrapping.cc\":!0,\"selfip.biz\":!0,\"selfip.com\":!0,\"selfip.info\":!0,\"selfip.net\":!0,\"selfip.org\":!0,\"sells-for-less.com\":!0,\"sells-for-u.com\":!0,\"sells-it.net\":!0,\"sellsyourhome.org\":!0,\"servebbs.com\":!0,\"servebbs.net\":!0,\"servebbs.org\":!0,\"serveftp.net\":!0,\"serveftp.org\":!0,\"servegame.org\":!0,\"shacknet.nu\":!0,\"simple-url.com\":!0,\"space-to-rent.com\":!0,\"stuff-4-sale.org\":!0,\"stuff-4-sale.us\":!0,\"teaches-yoga.com\":!0,\"thruhere.net\":!0,\"traeumtgerade.de\":!0,\"webhop.biz\":!0,\"webhop.info\":!0,\"webhop.net\":!0,\"webhop.org\":!0,\"worse-than.tv\":!0,\"writesthisblog.com\":!0,\"eu.org\":!0,\"al.eu.org\":!0,\"asso.eu.org\":!0,\"at.eu.org\":!0,\"au.eu.org\":!0,\"be.eu.org\":!0,\"bg.eu.org\":!0,\"ca.eu.org\":!0,\"cd.eu.org\":!0,\"ch.eu.org\":!0,\"cn.eu.org\":!0,\"cy.eu.org\":!0,\"cz.eu.org\":!0,\"de.eu.org\":!0,\"dk.eu.org\":!0,\"edu.eu.org\":!0,\"ee.eu.org\":!0,\"es.eu.org\":!0,\"fi.eu.org\":!0,\"fr.eu.org\":!0,\"gr.eu.org\":!0,\"hr.eu.org\":!0,\"hu.eu.org\":!0,\"ie.eu.org\":!0,\"il.eu.org\":!0,\"in.eu.org\":!0,\"int.eu.org\":!0,\"is.eu.org\":!0,\"it.eu.org\":!0,\"jp.eu.org\":!0,\"kr.eu.org\":!0,\"lt.eu.org\":!0,\"lu.eu.org\":!0,\"lv.eu.org\":!0,\"mc.eu.org\":!0,\"me.eu.org\":!0,\"mk.eu.org\":!0,\"mt.eu.org\":!0,\"my.eu.org\":!0,\"net.eu.org\":!0,\"ng.eu.org\":!0,\"nl.eu.org\":!0,\"no.eu.org\":!0,\"nz.eu.org\":!0,\"paris.eu.org\":!0,\"pl.eu.org\":!0,\"pt.eu.org\":!0,\"q-a.eu.org\":!0,\"ro.eu.org\":!0,\"ru.eu.org\":!0,\"se.eu.org\":!0,\"si.eu.org\":!0,\"sk.eu.org\":!0,\"tr.eu.org\":!0,\"uk.eu.org\":!0,\"us.eu.org\":!0,\"a.ssl.fastly.net\":!0,\"b.ssl.fastly.net\":!0,\"global.ssl.fastly.net\":!0,\"a.prod.fastly.net\":!0,\"global.prod.fastly.net\":!0,\"firebaseapp.com\":!0,\"flynnhub.com\":!0,\"service.gov.uk\":!0,\"github.io\":!0,\"githubusercontent.com\":!0,\"ro.com\":!0,\"appspot.com\":!0,\"blogspot.ae\":!0,\"blogspot.al\":!0,\"blogspot.am\":!0,\"blogspot.ba\":!0,\"blogspot.be\":!0,\"blogspot.bg\":!0,\"blogspot.bj\":!0,\"blogspot.ca\":!0,\"blogspot.cf\":!0,\"blogspot.ch\":!0,\"blogspot.cl\":!0,\"blogspot.co.at\":!0,\"blogspot.co.id\":!0,\"blogspot.co.il\":!0,\"blogspot.co.ke\":!0,\"blogspot.co.nz\":!0,\"blogspot.co.uk\":!0,\"blogspot.co.za\":!0,\"blogspot.com\":!0,\"blogspot.com.ar\":!0,\"blogspot.com.au\":!0,\"blogspot.com.br\":!0,\"blogspot.com.by\":!0,\"blogspot.com.co\":!0,\"blogspot.com.cy\":!0,\"blogspot.com.ee\":!0,\"blogspot.com.eg\":!0,\"blogspot.com.es\":!0,\"blogspot.com.mt\":!0,\"blogspot.com.ng\":!0,\"blogspot.com.tr\":!0,\"blogspot.com.uy\":!0,\"blogspot.cv\":!0,\"blogspot.cz\":!0,\"blogspot.de\":!0,\"blogspot.dk\":!0,\"blogspot.fi\":!0,\"blogspot.fr\":!0,\"blogspot.gr\":!0,\"blogspot.hk\":!0,\"blogspot.hr\":!0,\"blogspot.hu\":!0,\"blogspot.ie\":!0,\"blogspot.in\":!0,\"blogspot.is\":!0,\"blogspot.it\":!0,\"blogspot.jp\":!0,\"blogspot.kr\":!0,\"blogspot.li\":!0,\"blogspot.lt\":!0,\"blogspot.lu\":!0,\"blogspot.md\":!0,\"blogspot.mk\":!0,\"blogspot.mr\":!0,\"blogspot.mx\":!0,\"blogspot.my\":!0,\"blogspot.nl\":!0,\"blogspot.no\":!0,\"blogspot.pe\":!0,\"blogspot.pt\":!0,\"blogspot.qa\":!0,\"blogspot.re\":!0,\"blogspot.ro\":!0,\"blogspot.rs\":!0,\"blogspot.ru\":!0,\"blogspot.se\":!0,\"blogspot.sg\":!0,\"blogspot.si\":!0,\"blogspot.sk\":!0,\"blogspot.sn\":!0,\"blogspot.td\":!0,\"blogspot.tw\":!0,\"blogspot.ug\":!0,\"blogspot.vn\":!0,\"codespot.com\":!0,\"googleapis.com\":!0,\"googlecode.com\":!0,\"pagespeedmobilizer.com\":!0,\"withgoogle.com\":!0,\"withyoutube.com\":!0,\"herokuapp.com\":!0,\"herokussl.com\":!0,\"iki.fi\":!0,\"biz.at\":!0,\"info.at\":!0,\"co.pl\":!0,\"azurewebsites.net\":!0,\"azure-mobile.net\":!0,\"cloudapp.net\":!0,\"bmoattachments.org\":!0,\"4u.com\":!0,\"nfshost.com\":!0,\"nyc.mn\":!0,\"nid.io\":!0,\"operaunite.com\":!0,\"outsystemscloud.com\":!0,\"art.pl\":!0,\"gliwice.pl\":!0,\"krakow.pl\":!0,\"poznan.pl\":!0,\"wroc.pl\":!0,\"zakopane.pl\":!0,\"pantheon.io\":!0,\"gotpantheon.com\":!0,\"priv.at\":!0,\"qa2.com\":!0,\"rhcloud.com\":!0,\"sandcats.io\":!0,\"biz.ua\":!0,\"co.ua\":!0,\"pp.ua\":!0,\"sinaapp.com\":!0,\"vipsinaapp.com\":!0,\"1kapp.com\":!0,\"gda.pl\":!0,\"gdansk.pl\":!0,\"gdynia.pl\":!0,\"med.pl\":!0,\"sopot.pl\":!0,\"hk.com\":!0,\"hk.org\":!0,\"ltd.hk\":!0,\"inc.hk\":!0,\"yolasite.com\":!0,\"za.net\":!0,\"za.org\":!0})},{punycode:void 0}],463:[function(e,t,n){\"use strict\";function r(){}n.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,n,r){throw new Error(\"findCookie is not implemented\")},r.prototype.findCookies=function(e,t,n){throw new Error(\"findCookies is not implemented\")},r.prototype.putCookie=function(e,t){throw new Error(\"putCookie is not implemented\")},r.prototype.updateCookie=function(e,t,n){throw new Error(\"updateCookie is not implemented\")},r.prototype.removeCookie=function(e,t,n,r){throw new Error(\"removeCookie is not implemented\")},r.prototype.removeCookies=function(e,t,n){throw new Error(\"removeCookies is not implemented\")},r.prototype.getAllCookies=function(e){throw new Error(\"getAllCookies is not implemented (therefore jar cannot be serialized)\")}},{}],464:[function(e,t,n){t.exports={_args:[[\"tough-cookie@~2.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"tough-cookie@>=2.2.0 <2.3.0\",_id:\"tough-cookie@2.2.2\",_inCache:!0,_installable:!0,_location:\"/tough-cookie\",_nodeVersion:\"5.1.1\",_npmOperationalInternal:{host:\"packages-13-west.internal.npmjs.com\",tmp:\"tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946\"},_npmUser:{email:\"jstash@gmail.com\",name:\"jstash\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"tough-cookie\",raw:\"tough-cookie@~2.2.0\",rawSpec:\"~2.2.0\",scope:null,spec:\">=2.2.0 <2.3.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\",_shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",_shrinkwrap:null,_spec:\"tough-cookie@~2.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"jstashewsky@salesforce.com\",name:\"Jeremy Stashewsky\"},bugs:{url:\"https://github.com/SalesforceEng/tough-cookie/issues\"},contributors:[{name:\"Alexander Savin\"},{name:\"Ian Livingstone\"},{name:\"Ivan Nikulin\"},{name:\"Lalit Kapoor\"},{name:\"Sam Thompson\"},{name:\"Sebastian Mayr\"}],dependencies:{},description:\"RFC6265 Cookies and Cookie Jar for node.js\",devDependencies:{async:\"^1.4.2\",vows:\"^0.8.1\"},directories:{},dist:{shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",tarball:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\"},engines:{node:\">=0.10.0\"},files:[\"lib\"],gitHead:\"cc46628c4d7d2e8c372ecba29293ca8a207ec192\",homepage:\"https://github.com/SalesforceEng/tough-cookie\",keywords:[\"HTTP\",\"RFC2965\",\"RFC6265\",\"cookie\",\"cookiejar\",\"cookies\",\"jar\",\"set-cookie\"],license:\"BSD-3-Clause\",main:\"./lib/cookie\",maintainers:[{name:\"jstash\",email:\"jeremy@goinstant.com\"},{name:\"goinstant\",email:\"services@goinstant.com\"}],name:\"tough-cookie\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/SalesforceEng/tough-cookie.git\"},scripts:{suffixup:\"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js\",test:\"vows test/*_test.js\"},version:\"2.2.2\"}},{}],465:[function(e,t,n){(function(t){\"use strict\";function r(e){var t=new s(e);return t.request=l.request,t}function i(e){var t=new s(e);return t.request=l.request,t.createSocket=c,t.defaultPort=443,t}function o(e){var t=new s(e);return t.request=f.request,t}function a(e){var t=new s(e);return t.request=f.request,t.createSocket=c,t.defaultPort=443,t}function s(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||l.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(\"free\",function(e,n,r){for(var i=0,o=t.requests.length;o>i;++i){var a=t.requests[i];if(a.host===n&&a.port===r)return t.requests.splice(i,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function c(e,t){var n=this;s.prototype.createSocket.call(n,e,function(r){var i=p.connect(0,u({},n.options,{servername:e.host,socket:r}));n.sockets[n.sockets.indexOf(r)]=i,t(i)})}function u(e){for(var t=1,n=arguments.length;n>t;++t){var r=arguments[t];if(\"object\"==typeof r)for(var i=Object.keys(r),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==r[s]&&(e[s]=r[s])}}return e}var p=(e(\"net\"),e(\"tls\")),l=e(\"http\"),f=e(\"https\"),d=e(\"events\"),h=e(\"assert\"),m=e(\"util\");n.httpOverHttp=r,n.httpsOverHttp=i,n.httpOverHttps=o,n.httpsOverHttps=a,m.inherits(s,d.EventEmitter),s.prototype.addRequest=function(e,t){var n=this;return\"string\"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets?void n.requests.push({host:t.host,port:t.port,request:e}):void n.createConnection({host:t.host,port:t.port,request:e})},s.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(n){function r(){t.emit(\"free\",n,e.host,e.port)}function i(e){t.removeSocket(n),n.removeListener(\"free\",r),n.removeListener(\"close\",i),n.removeListener(\"agentRemove\",i)}n.on(\"free\",r),n.on(\"close\",i),n.on(\"agentRemove\",i),e.request.onSocket(n)})},s.prototype.createSocket=function(e,n){function r(e){e.upgrade=!0}function i(e,t,n){process.nextTick(function(){o(e,t,n)})}function o(t,r,i){if(l.removeAllListeners(),r.removeAllListeners(),200===t.statusCode)h.equal(i.length,0),v(\"tunneling connection has established\"),s.sockets[s.sockets.indexOf(c)]=r,n(r);else{v(\"tunneling socket could not be established, statusCode=%d\",t.statusCode);var o=new Error(\"tunneling socket could not be established, statusCode=\"+t.statusCode);o.code=\"ECONNRESET\",e.request.emit(\"error\",o),s.removeSocket(c)}}function a(t){l.removeAllListeners(),v(\"tunneling socket could not be established, cause=%s\\n\",t.message,t.stack);var n=new Error(\"tunneling socket could not be established, cause=\"+t.message);n.code=\"ECONNRESET\",e.request.emit(\"error\",n),s.removeSocket(c)}var s=this,c={};s.sockets.push(c);var p=u({},s.proxyOptions,{method:\"CONNECT\",path:e.host+\":\"+e.port,agent:!1});p.proxyAuth&&(p.headers=p.headers||{},p.headers[\"Proxy-Authorization\"]=\"Basic \"+new t(p.proxyAuth).toString(\"base64\")),v(\"making CONNECT request\");var l=s.request(p);l.useChunkedEncodingByDefault=!1,l.once(\"response\",r),l.once(\"upgrade\",i),l.once(\"connect\",o),l.once(\"error\",a),l.end()},s.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createConnection(n)}};var v;v=process.env.NODE_DEBUG&&/\\btunnel\\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);\"string\"==typeof e[0]?e[0]=\"TUNNEL: \"+e[0]:e.unshift(\"TUNNEL:\"),console.error.apply(console,e)}:function(){},n.debug=v}).call(this,e(\"buffer\").Buffer)},{assert:void 0,buffer:void 0,events:void 0,http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],466:[function(e,t,n){!function(t){\"use strict\";function n(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function r(e,t,n,r,i){var o,a=0;for(o=0;i>o;o++)a|=e[t+o]^n[r+o];return(1&a-1>>>8)-1}function i(e,t,n,i){return r(e,t,n,i,16)}function o(e,t,n,i){return r(e,t,n,i,32)}function a(e,t,n,r){\nfor(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;w=w+o|0,_=_+a|0,k=k+s|0,j=j+c|0,S=S+u|0,E=E+p|0,O=O+l|0,A=A+f|0,C=C+d|0,T=T+h|0,I=I+m|0,P=P+v|0,F=F+g|0,M=M+y|0,z=z+b|0,B=B+x|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=_>>>0&255,e[5]=_>>>8&255,e[6]=_>>>16&255,e[7]=_>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=T>>>0&255,e[37]=T>>>8&255,e[38]=T>>>16&255,e[39]=T>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=z>>>0&255,e[57]=z>>>8&255,e[58]=z>>>16&255,e[59]=z>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,n,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=I>>>0&255,e[9]=I>>>8&255,e[10]=I>>>16&255,e[11]=I>>>24&255,e[12]=B>>>0&255,e[13]=B>>>8&255,e[14]=B>>>16&255,e[15]=B>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255}function c(e,t,n,r){a(e,t,n,r)}function u(e,t,n,r){s(e,t,n,r)}function p(e,t,n,r,i,o,a){var s,u,p=new Uint8Array(16),l=new Uint8Array(64);for(u=0;16>u;u++)p[u]=0;for(u=0;8>u;u++)p[u]=o[u];for(;i>=64;){for(c(l,p,a,fe),u=0;64>u;u++)e[t+u]=n[r+u]^l[u];for(s=1,u=8;16>u;u++)s=s+(255&p[u])|0,p[u]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(c(l,p,a,fe),u=0;i>u;u++)e[t+u]=n[r+u]^l[u];return 0}function l(e,t,n,r,i){var o,a,s=new Uint8Array(16),u=new Uint8Array(64);for(a=0;16>a;a++)s[a]=0;for(a=0;8>a;a++)s[a]=r[a];for(;n>=64;){for(c(u,s,i,fe),a=0;64>a;a++)e[t+a]=u[a];for(o=1,a=8;16>a;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;n-=64,t+=64}if(n>0)for(c(u,s,i,fe),a=0;n>a;a++)e[t+a]=u[a];return 0}function f(e,t,n,r,i){var o=new Uint8Array(32);u(o,r,i,fe);for(var a=new Uint8Array(8),s=0;8>s;s++)a[s]=r[s+16];return l(e,t,n,a,o)}function d(e,t,n,r,i,o,a){var s=new Uint8Array(32);u(s,o,a,fe);for(var c=new Uint8Array(8),l=0;8>l;l++)c[l]=o[l+16];return p(e,t,n,r,i,c,s)}function h(e,t,n,r,i,o){var a=new de(o);return a.update(n,r,i),a.finish(e,t),0}function m(e,t,n,r,o,a){var s=new Uint8Array(16);return h(s,0,n,r,o,a),i(e,t,s,0)}function v(e,t,n,r,i){var o;if(32>n)return-1;for(d(e,0,t,0,n,r,i),h(e,16,e,32,n-32,e),o=0;16>o;o++)e[o]=0;return 0}function g(e,t,n,r,i){var o,a=new Uint8Array(32);if(32>n)return-1;if(f(a,0,32,r,i),0!==m(t,16,t,32,n-32,a))return-1;for(d(e,0,t,0,n,r,i),o=0;32>o;o++)e[o]=0;return 0}function y(e,t){var n;for(n=0;16>n;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;16>t;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function x(e,t,n){for(var r,i=~(n-1),o=0;16>o;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function w(e,t){var n,r,i,o=ee(),a=ee();for(n=0;16>n;n++)a[n]=t[n];for(b(a),b(a),b(a),r=0;2>r;r++){for(o[0]=a[0]-65517,n=1;15>n;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,x(a,o,1-i)}for(n=0;16>n;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function _(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return w(n,e),w(r,t),o(n,0,r,0)}function k(e){var t=new Uint8Array(32);return w(t,e),1&t[0]}function j(e,t){var n;for(n=0;16>n;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function S(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]+n[r]}function E(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]-n[r]}function O(e,t,n){var r,i,o=0,a=0,s=0,c=0,u=0,p=0,l=0,f=0,d=0,h=0,m=0,v=0,g=0,y=0,b=0,x=0,w=0,_=0,k=0,j=0,S=0,E=0,O=0,A=0,C=0,T=0,I=0,P=0,F=0,M=0,z=0,B=n[0],N=n[1],D=n[2],q=n[3],R=n[4],L=n[5],$=n[6],U=n[7],H=n[8],V=n[9],W=n[10],Y=n[11],K=n[12],G=n[13],J=n[14],Z=n[15];r=t[0],o+=r*B,a+=r*N,s+=r*D,c+=r*q,u+=r*R,p+=r*L,l+=r*$,f+=r*U,d+=r*H,h+=r*V,m+=r*W,v+=r*Y,g+=r*K,y+=r*G,b+=r*J,x+=r*Z,r=t[1],a+=r*B,s+=r*N,c+=r*D,u+=r*q,p+=r*R,l+=r*L,f+=r*$,d+=r*U,h+=r*H,m+=r*V,v+=r*W,g+=r*Y,y+=r*K,b+=r*G,x+=r*J,w+=r*Z,r=t[2],s+=r*B,c+=r*N,u+=r*D,p+=r*q,l+=r*R,f+=r*L,d+=r*$,h+=r*U,m+=r*H,v+=r*V,g+=r*W,y+=r*Y,b+=r*K,x+=r*G,w+=r*J,_+=r*Z,r=t[3],c+=r*B,u+=r*N,p+=r*D,l+=r*q,f+=r*R,d+=r*L,h+=r*$,m+=r*U,v+=r*H,g+=r*V,y+=r*W,b+=r*Y,x+=r*K,w+=r*G,_+=r*J,k+=r*Z,r=t[4],u+=r*B,p+=r*N,l+=r*D,f+=r*q,d+=r*R,h+=r*L,m+=r*$,v+=r*U,g+=r*H,y+=r*V,b+=r*W,x+=r*Y,w+=r*K,_+=r*G,k+=r*J,j+=r*Z,r=t[5],p+=r*B,l+=r*N,f+=r*D,d+=r*q,h+=r*R,m+=r*L,v+=r*$,g+=r*U,y+=r*H,b+=r*V,x+=r*W,w+=r*Y,_+=r*K,k+=r*G,j+=r*J,S+=r*Z,r=t[6],l+=r*B,f+=r*N,d+=r*D,h+=r*q,m+=r*R,v+=r*L,g+=r*$,y+=r*U,b+=r*H,x+=r*V,w+=r*W,_+=r*Y,k+=r*K,j+=r*G,S+=r*J,E+=r*Z,r=t[7],f+=r*B,d+=r*N,h+=r*D,m+=r*q,v+=r*R,g+=r*L,y+=r*$,b+=r*U,x+=r*H,w+=r*V,_+=r*W,k+=r*Y,j+=r*K,S+=r*G,E+=r*J,O+=r*Z,r=t[8],d+=r*B,h+=r*N,m+=r*D,v+=r*q,g+=r*R,y+=r*L,b+=r*$,x+=r*U,w+=r*H,_+=r*V,k+=r*W,j+=r*Y,S+=r*K,E+=r*G,O+=r*J,A+=r*Z,r=t[9],h+=r*B,m+=r*N,v+=r*D,g+=r*q,y+=r*R,b+=r*L,x+=r*$,w+=r*U,_+=r*H,k+=r*V,j+=r*W,S+=r*Y,E+=r*K,O+=r*G,A+=r*J,C+=r*Z,r=t[10],m+=r*B,v+=r*N,g+=r*D,y+=r*q,b+=r*R,x+=r*L,w+=r*$,_+=r*U,k+=r*H,j+=r*V,S+=r*W,E+=r*Y,O+=r*K,A+=r*G,C+=r*J,T+=r*Z,r=t[11],v+=r*B,g+=r*N,y+=r*D,b+=r*q,x+=r*R,w+=r*L,_+=r*$,k+=r*U,j+=r*H,S+=r*V,E+=r*W,O+=r*Y,A+=r*K,C+=r*G,T+=r*J,I+=r*Z,r=t[12],g+=r*B,y+=r*N,b+=r*D,x+=r*q,w+=r*R,_+=r*L,k+=r*$,j+=r*U,S+=r*H,E+=r*V,O+=r*W,A+=r*Y,C+=r*K,T+=r*G,I+=r*J,P+=r*Z,r=t[13],y+=r*B,b+=r*N,x+=r*D,w+=r*q,_+=r*R,k+=r*L,j+=r*$,S+=r*U,E+=r*H,O+=r*V,A+=r*W,C+=r*Y,T+=r*K,I+=r*G,P+=r*J,F+=r*Z,r=t[14],b+=r*B,x+=r*N,w+=r*D,_+=r*q,k+=r*R,j+=r*L,S+=r*$,E+=r*U,O+=r*H,A+=r*V,C+=r*W,T+=r*Y,I+=r*K,P+=r*G,F+=r*J,M+=r*Z,r=t[15],x+=r*B,w+=r*N,_+=r*D,k+=r*q,j+=r*R,S+=r*L,E+=r*$,O+=r*U,A+=r*H,C+=r*V,T+=r*W,I+=r*Y,P+=r*K,F+=r*G,M+=r*J,z+=r*Z,o+=38*w,a+=38*_,s+=38*k,c+=38*j,u+=38*S,p+=38*E,l+=38*O,f+=38*A,d+=38*C,h+=38*T,m+=38*I,v+=38*P,g+=38*F,y+=38*M,b+=38*z,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=f,e[8]=d,e[9]=h,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=x}function A(e,t){O(e,t,t)}function C(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=253;n>=0;n--)A(r,r),2!==n&&4!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function T(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=250;n>=0;n--)A(r,r),1!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function I(e,t,n){var r,i,o=new Uint8Array(32),a=new Float64Array(80),s=ee(),c=ee(),u=ee(),p=ee(),l=ee(),f=ee();for(i=0;31>i;i++)o[i]=t[i];for(o[31]=127&t[31]|64,o[0]&=248,j(a,n),i=0;16>i;i++)c[i]=a[i],p[i]=s[i]=u[i]=0;for(s[0]=p[0]=1,i=254;i>=0;--i)r=o[i>>>3]>>>(7&i)&1,x(s,c,r),x(u,p,r),S(l,s,u),E(s,s,u),S(u,c,p),E(c,c,p),A(p,l),A(f,s),O(s,u,s),O(u,c,l),S(l,s,u),E(s,s,u),A(c,s),E(u,p,f),O(s,u,ae),S(s,s,p),O(u,u,s),O(s,p,f),O(p,c,a),A(c,l),x(s,c,r),x(u,p,r);for(i=0;16>i;i++)a[i+16]=s[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=p[i];var d=a.subarray(32),h=a.subarray(16);return C(d,d),O(h,h,d),w(e,h),0}function P(e,t){return I(e,t,re)}function F(e,t){return te(t,32),P(e,t)}function M(e,t,n){var r=new Uint8Array(32);return I(r,n,t),u(e,ne,r,fe)}function z(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),he(e,t,n,r,a)}function B(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),me(e,t,n,r,a)}function N(e,t,n,r){for(var i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_,k,j,S,E,O,A,C,T=new Int32Array(16),I=new Int32Array(16),P=e[0],F=e[1],M=e[2],z=e[3],B=e[4],N=e[5],D=e[6],q=e[7],R=t[0],L=t[1],$=t[2],U=t[3],H=t[4],V=t[5],W=t[6],Y=t[7],K=0;r>=128;){for(_=0;16>_;_++)k=8*_+K,T[_]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],I[_]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(_=0;80>_;_++)if(i=P,o=F,a=M,s=z,c=B,u=N,p=D,l=q,f=R,d=L,h=$,m=U,v=H,g=V,y=W,b=Y,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=B&N^~B&D,S=H&V^~H&W,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=ve[2*_],S=ve[2*_+1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=T[_%16],S=I[_%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,x=65535&A|C<<16,w=65535&E|O<<16,j=x,S=w,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(P>>>28|R<<4)^(R>>>2|P<<30)^(R>>>7|P<<25),S=(R>>>28|P<<4)^(P>>>2|R<<30)^(P>>>7|R<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=P&F^P&M^F&M,S=R&L^R&$^L&$,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,l=65535&A|C<<16,b=65535&E|O<<16,j=s,S=m,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=x,S=w,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,s=65535&A|C<<16,m=65535&E|O<<16,F=i,M=o,z=a,B=s,N=c,D=u,q=p,P=l,L=f,$=d,U=h,H=m,V=v,W=g,Y=y,R=b,_%16===15)for(k=0;16>k;k++)j=T[k],S=I[k],E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=T[(k+9)%16],S=I[(k+9)%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+1)%16],w=I[(k+1)%16],j=(x>>>1|w<<31)^(x>>>8|w<<24)^x>>>7,S=(w>>>1|x<<31)^(w>>>8|x<<24)^(w>>>7|x<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+14)%16],w=I[(k+14)%16],j=(x>>>19|w<<13)^(w>>>29|x<<3)^x>>>6,S=(w>>>19|x<<13)^(x>>>29|w<<3)^(w>>>6|x<<26),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,T[k]=65535&A|C<<16,I[k]=65535&E|O<<16;j=P,S=R,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[0],S=t[0],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[0]=P=65535&A|C<<16,t[0]=R=65535&E|O<<16,j=F,S=L,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[1],S=t[1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[1]=F=65535&A|C<<16,t[1]=L=65535&E|O<<16,j=M,S=$,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[2],S=t[2],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[2]=M=65535&A|C<<16,t[2]=$=65535&E|O<<16,j=z,S=U,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[3],S=t[3],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[3]=z=65535&A|C<<16,t[3]=U=65535&E|O<<16,j=B,S=H,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[4],S=t[4],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[4]=B=65535&A|C<<16,t[4]=H=65535&E|O<<16,j=N,S=V,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[5],S=t[5],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[5]=N=65535&A|C<<16,t[5]=V=65535&E|O<<16,j=D,S=W,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[6],S=t[6],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[6]=D=65535&A|C<<16,t[6]=W=65535&E|O<<16,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[7],S=t[7],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[7]=q=65535&A|C<<16,t[7]=Y=65535&E|O<<16,K+=128,r-=128}return r}function D(e,t,r){var i,o=new Int32Array(8),a=new Int32Array(8),s=new Uint8Array(256),c=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,N(o,a,t,r),r%=128,i=0;r>i;i++)s[i]=t[c-r+i];for(s[r]=128,r=256-128*(112>r?1:0),s[r-9]=0,n(s,r-8,c/536870912|0,c<<3),N(o,a,s,r),i=0;8>i;i++)n(e,8*i,o[i],a[i]);return 0}function q(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee(),u=ee(),p=ee();E(n,e[1],e[0]),E(p,t[1],t[0]),O(n,n,p),S(r,e[0],e[1]),S(p,t[0],t[1]),O(r,r,p),O(i,e[3],t[3]),O(i,i,ce),O(o,e[2],t[2]),S(o,o,o),E(a,r,n),E(s,o,i),S(c,o,i),S(u,r,n),O(e[0],a,s),O(e[1],u,c),O(e[2],c,s),O(e[3],a,u)}function R(e,t,n){var r;for(r=0;4>r;r++)x(e[r],t[r],n)}function L(e,t){var n=ee(),r=ee(),i=ee();C(i,t[2]),O(n,t[0],i),O(r,t[1],i),w(e,r),e[31]^=k(n)<<7}function $(e,t,n){var r,i;for(y(e[0],ie),y(e[1],oe),y(e[2],oe),y(e[3],ie),i=255;i>=0;--i)r=n[i/8|0]>>(7&i)&1,R(e,t,r),q(t,e),q(e,e),R(e,t,r)}function U(e,t){var n=[ee(),ee(),ee(),ee()];y(n[0],ue),y(n[1],pe),y(n[2],oe),O(n[3],ue,pe),$(e,n,t)}function H(e,t,n){var r,i=new Uint8Array(64),o=[ee(),ee(),ee(),ee()];for(n||te(t,32),D(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,U(o,i),L(e,o),r=0;32>r;r++)t[r+32]=e[r];return 0}function V(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;o>i;++i)t[i]+=n-16*t[r]*ge[i-(r-32)],n=t[i]+128>>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;32>i;i++)t[i]+=n-(t[31]>>4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;32>i;i++)t[i]-=n*ge[i];for(r=0;32>r;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function W(e){var t,n=new Float64Array(64);for(t=0;64>t;t++)n[t]=e[t];for(t=0;64>t;t++)e[t]=0;V(e,n)}function Y(e,t,n,r){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),p=[ee(),ee(),ee(),ee()];D(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64;var l=n+64;for(i=0;n>i;i++)e[64+i]=t[i];for(i=0;32>i;i++)e[32+i]=a[32+i];for(D(c,e.subarray(32),n+32),W(c),U(p,c),L(e,p),i=32;64>i;i++)e[i]=r[i];for(D(s,e,n+64),W(s),i=0;64>i;i++)u[i]=0;for(i=0;32>i;i++)u[i]=c[i];for(i=0;32>i;i++)for(o=0;32>o;o++)u[i+o]+=s[i]*a[o];return V(e.subarray(32),u),l}function K(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee();return y(e[2],oe),j(e[1],t),A(i,e[1]),O(o,i,se),E(i,i,e[2]),S(o,e[2],o),A(a,o),A(s,a),O(c,s,a),O(n,c,i),O(n,n,o),T(n,n),O(n,n,i),O(n,n,o),O(n,n,o),O(e[0],n,o),A(r,e[0]),O(r,r,o),_(r,i)&&O(e[0],e[0],le),A(r,e[0]),O(r,r,o),_(r,i)?-1:(k(e[0])===t[31]>>7&&E(e[0],ie,e[0]),O(e[3],e[0],e[1]),0)}function G(e,t,n,r){var i,a,s=new Uint8Array(32),c=new Uint8Array(64),u=[ee(),ee(),ee(),ee()],p=[ee(),ee(),ee(),ee()];if(a=-1,64>n)return-1;if(K(p,r))return-1;for(i=0;n>i;i++)e[i]=t[i];for(i=0;32>i;i++)e[i+32]=r[i];if(D(c,e,n),W(c),$(u,p,c),U(p,t.subarray(32)),q(u,p),L(s,u),n-=64,o(t,0,s,0)){for(i=0;n>i;i++)e[i]=0;return-1}for(i=0;n>i;i++)e[i]=t[i+64];return a=n}function J(e,t){if(e.length!==ye)throw new Error(\"bad key size\");if(t.length!==be)throw new Error(\"bad nonce size\")}function Z(e,t){if(e.length!==je)throw new Error(\"bad public key size\");if(t.length!==Se)throw new Error(\"bad secret key size\")}function Q(){var e,t;for(t=0;t<arguments.length;t++)if(\"[object Uint8Array]\"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError(\"unexpected type \"+e+\", use Uint8Array\")}function X(e){for(var t=0;t<e.length;t++)e[t]=0}var ee=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},te=function(){throw new Error(\"no PRNG\")},ne=new Uint8Array(16),re=new Uint8Array(32);re[0]=9;var ie=ee(),oe=ee([1]),ae=ee([56129,1]),se=ee([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),ce=ee([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),ue=ee([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),pe=ee([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),le=ee([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),de=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,n,r,i,o,a,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};de.prototype.blocks=function(e,t,n){for(var r,i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_=this.fin?0:2048,k=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],O=this.h[4],A=this.h[5],C=this.h[6],T=this.h[7],I=this.h[8],P=this.h[9],F=this.r[0],M=this.r[1],z=this.r[2],B=this.r[3],N=this.r[4],D=this.r[5],q=this.r[6],R=this.r[7],L=this.r[8],$=this.r[9];n>=16;)r=255&e[t+0]|(255&e[t+1])<<8,k+=8191&r,i=255&e[t+2]|(255&e[t+3])<<8,j+=8191&(r>>>13|i<<3),o=255&e[t+4]|(255&e[t+5])<<8,S+=8191&(i>>>10|o<<6),a=255&e[t+6]|(255&e[t+7])<<8,E+=8191&(o>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,O+=8191&(a>>>4|s<<12),A+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,C+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,T+=8191&(c>>>11|u<<5),p=255&e[t+14]|(255&e[t+15])<<8,I+=8191&(u>>>8|p<<8),P+=p>>>5|_,l=0,f=l,f+=k*F,f+=j*(5*$),f+=S*(5*L),f+=E*(5*R),f+=O*(5*q),l=f>>>13,f&=8191,f+=A*(5*D),f+=C*(5*N),f+=T*(5*B),f+=I*(5*z),f+=P*(5*M),l+=f>>>13,f&=8191,d=l,d+=k*M,d+=j*F,d+=S*(5*$),d+=E*(5*L),d+=O*(5*R),l=d>>>13,d&=8191,d+=A*(5*q),d+=C*(5*D),d+=T*(5*N),d+=I*(5*B),d+=P*(5*z),l+=d>>>13,d&=8191,h=l,h+=k*z,h+=j*M,h+=S*F,h+=E*(5*$),h+=O*(5*L),l=h>>>13,h&=8191,h+=A*(5*R),h+=C*(5*q),h+=T*(5*D),h+=I*(5*N),h+=P*(5*B),l+=h>>>13,h&=8191,m=l,m+=k*B,m+=j*z,m+=S*M,m+=E*F,m+=O*(5*$),l=m>>>13,m&=8191,m+=A*(5*L),m+=C*(5*R),m+=T*(5*q),m+=I*(5*D),m+=P*(5*N),l+=m>>>13,m&=8191,v=l,v+=k*N,v+=j*B,v+=S*z,v+=E*M,v+=O*F,l=v>>>13,v&=8191,v+=A*(5*$),v+=C*(5*L),v+=T*(5*R),v+=I*(5*q),v+=P*(5*D),l+=v>>>13,v&=8191,g=l,g+=k*D,g+=j*N,g+=S*B,g+=E*z,g+=O*M,l=g>>>13,g&=8191,g+=A*F,g+=C*(5*$),g+=T*(5*L),g+=I*(5*R),g+=P*(5*q),l+=g>>>13,g&=8191,y=l,y+=k*q,y+=j*D,y+=S*N,y+=E*B,y+=O*z,l=y>>>13,y&=8191,y+=A*M,y+=C*F,y+=T*(5*$),y+=I*(5*L),y+=P*(5*R),l+=y>>>13,y&=8191,b=l,b+=k*R,b+=j*q,b+=S*D,b+=E*N,b+=O*B,l=b>>>13,b&=8191,b+=A*z,b+=C*M,b+=T*F,b+=I*(5*$),b+=P*(5*L),l+=b>>>13,b&=8191,x=l,x+=k*L,x+=j*R,x+=S*q,x+=E*D,x+=O*N,l=x>>>13,x&=8191,x+=A*B,x+=C*z,x+=T*M,x+=I*F,x+=P*(5*$),l+=x>>>13,x&=8191,w=l,w+=k*$,w+=j*L,w+=S*R,w+=E*q,w+=O*D,l=w>>>13,w&=8191,w+=A*N,w+=C*B,w+=T*z,w+=I*M,w+=P*F,l+=w>>>13,w&=8191,l=(l<<2)+l|0,l=l+f|0,f=8191&l,l>>>=13,d+=l,k=f,j=d,S=h,E=m,O=v,A=g,C=y,T=b,I=x,P=w,t+=16,n-=16;this.h[0]=k,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=O,this.h[5]=A,this.h[6]=C,this.h[7]=T,this.h[8]=I,this.h[9]=P},de.prototype.finish=function(e,t){var n,r,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;16>o;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,o=2;10>o;o++)this.h[o]+=n,n=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;10>o;o++)a[o]=this.h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;10>o;o++)a[o]&=r;for(r=~r,o=0;10>o;o++)this.h[o]=this.h[o]&r|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;8>o;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},de.prototype.update=function(e,t,n){var r,i;if(this.leftover){for(i=16-this.leftover,i>n&&(i=n),r=0;i>r;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(i=n-n%16,this.blocks(e,t,i),t+=i,n-=i),n){for(r=0;n>r;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var he=v,me=g,ve=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ye=32,be=24,xe=32,we=16,_e=32,ke=32,je=32,Se=32,Ee=32,Oe=be,Ae=xe,Ce=we,Te=64,Ie=32,Pe=64,Fe=32,Me=64;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:d,crypto_stream:f,crypto_stream_salsa20_xor:p,crypto_stream_salsa20:l,crypto_onetimeauth:h,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:o,crypto_secretbox:v,crypto_secretbox_open:g,crypto_scalarmult:I,crypto_scalarmult_base:P,crypto_box_beforenm:M,crypto_box_afternm:he,crypto_box:z,crypto_box_open:B,crypto_box_keypair:F,crypto_hash:D,crypto_sign:Y,crypto_sign_keypair:H,crypto_sign_open:G,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:be,crypto_secretbox_ZEROBYTES:xe,crypto_secretbox_BOXZEROBYTES:we,crypto_scalarmult_BYTES:_e,crypto_scalarmult_SCALARBYTES:ke,crypto_box_PUBLICKEYBYTES:je,crypto_box_SECRETKEYBYTES:Se,crypto_box_BEFORENMBYTES:Ee,crypto_box_NONCEBYTES:Oe,crypto_box_ZEROBYTES:Ae,crypto_box_BOXZEROBYTES:Ce,crypto_sign_BYTES:Te,crypto_sign_PUBLICKEYBYTES:Ie,crypto_sign_SECRETKEYBYTES:Pe,crypto_sign_SEEDBYTES:Fe,crypto_hash_BYTES:Me},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error(\"nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js\")}),t.randomBytes=function(e){var t=new Uint8Array(e);return te(t,e),t},t.secretbox=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(xe+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+xe]=e[o];return v(i,r,r.length,t,n),i.subarray(we)},t.secretbox.open=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(we+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+we]=e[o];return r.length<32?!1:0!==g(i,r,r.length,t,n)?!1:i.subarray(xe)},t.secretbox.keyLength=ye,t.secretbox.nonceLength=be,t.secretbox.overheadLength=we,t.scalarMult=function(e,t){if(Q(e,t),e.length!==ke)throw new Error(\"bad n size\");if(t.length!==_e)throw new Error(\"bad p size\");var n=new Uint8Array(_e);return I(n,e,t),n},t.scalarMult.base=function(e){if(Q(e),e.length!==ke)throw new Error(\"bad n size\");var t=new Uint8Array(_e);return P(t,e),t},t.scalarMult.scalarLength=ke,t.scalarMult.groupElementLength=_e,t.box=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox(e,n,o)},t.box.before=function(e,t){Q(e,t),Z(e,t);var n=new Uint8Array(Ee);return M(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox.open(e,n,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(je),t=new Uint8Array(Se);return F(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Se)throw new Error(\"bad secret key size\");var t=new Uint8Array(je);return P(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=je,t.box.secretKeyLength=Se,t.box.sharedKeyLength=Ee,t.box.nonceLength=Oe,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(Q(e,t),t.length!==Pe)throw new Error(\"bad secret key size\");var n=new Uint8Array(Te+e.length);return Y(n,e,e.length,t),n},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error(\"nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?\");if(Q(e,t),t.length!==Ie)throw new Error(\"bad public key size\");var n=new Uint8Array(e.length),r=G(n,e,e.length,t);if(0>r)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached=function(e,n){for(var r=t.sign(e,n),i=new Uint8Array(Te),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached.verify=function(e,t,n){if(Q(e,t,n),t.length!==Te)throw new Error(\"bad signature size\");if(n.length!==Ie)throw new Error(\"bad public key size\");var r,i=new Uint8Array(Te+e.length),o=new Uint8Array(Te+e.length);for(r=0;Te>r;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+Te]=e[r];return G(o,i,i.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(Ie),t=new Uint8Array(Pe);return H(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Pe)throw new Error(\"bad secret key size\");for(var t=new Uint8Array(Ie),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(Q(e),e.length!==Fe)throw new Error(\"bad seed size\");for(var t=new Uint8Array(Ie),n=new Uint8Array(Pe),r=0;32>r;r++)n[r]=e[r];return H(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=Ie,t.sign.secretKeyLength=Pe,t.sign.seedLength=Fe,t.sign.signatureLength=Te,t.hash=function(e){Q(e);var t=new Uint8Array(Me);return D(t,e,e.length),t},t.hash.hashLength=Me,t.verify=function(e,t){return Q(e,t),0===e.length||0===t.length?!1:e.length!==t.length?!1:0===r(e,0,t,0,e.length)},t.setPRNG=function(e){te=e},function(){var n=\"undefined\"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){var r=65536;t.setPRNG(function(e,t){var i,o=new Uint8Array(t);for(i=0;t>i;i+=r)n.getRandomValues(o.subarray(i,i+Math.min(t-i,r)));\nfor(i=0;t>i;i++)e[i]=o[i];X(o)})}else\"undefined\"!=typeof e&&(n=e(\"crypto\"),n&&n.randomBytes&&t.setPRNG(function(e,t){var r,i=n.randomBytes(t);for(r=0;t>r;r++)e[r]=i[r];X(i)}))}()}(\"undefined\"!=typeof t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:void 0}],467:[function(e,t,n){\"use strict\";function r(e,t){var n,r=t,i=u(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var o;for(n=0;n<r.length;n++)if(s(a(o=r[n]),i))return\"+\"===o[0]||-1!==o.indexOf(\"*\")?i:o;return!1}function i(e){return void 0!==e.headers[\"transfer-encoding\"]||!isNaN(e.headers[\"content-length\"])}function o(e,t){var n=t;if(!i(e))return null;if(arguments.length>2){n=new Array(arguments.length-1);for(var o=0;o<n.length;o++)n[o]=arguments[o+1]}var a=e.headers[\"content-type\"];return r(a,n)}function a(e){if(\"string\"!=typeof e)return!1;switch(e){case\"urlencoded\":return\"application/x-www-form-urlencoded\";case\"multipart\":return\"multipart/*\"}return\"+\"===e[0]?\"*/*\"+e:-1===e.indexOf(\"/\")?l.lookup(e):e}function s(e,t){if(e===!1)return!1;var n=t.split(\"/\"),r=e.split(\"/\");return 2!==n.length||2!==r.length?!1:\"*\"!==r[0]&&r[0]!==n[0]?!1:\"*+\"===r[1].substr(0,2)?r[1].length<=n[1].length+1&&r[1].substr(1)===n[1].substr(1-r[1].length):\"*\"===r[1]||r[1]===n[1]}function c(e){var t=p.parse(e);return t.parameters=void 0,p.format(t)}function u(e){try{return c(e)}catch(t){return null}}var p=e(\"media-typer\"),l=e(\"mime-types\");t.exports=o,t.exports.is=r,t.exports.hasBody=i,t.exports.normalize=a,t.exports.match=s},{\"media-typer\":179,\"mime-types\":184}],468:[function(e,t,n){(function(r){function i(e){v[e]=v(e)}function o(e){return{a:function(t){t.prototype&&(t=t.prototype.constructor.name);var n=Object.prototype.toString.call(e).slice(8,-1).toLowerCase();return null!=e&&n===t.toLowerCase()}}}function a(e){var t=Array.indexOf?function(e,t,n){return e.indexOf(t,n)}:function(e,t,n){var r=e.length,i=n?parseInt(1*n+(0>n?r:0),10):0;for(i=0>i?0:i;r>i;i++)if(i in e&&e[i]===t)return i;return-1};return{startWith:function(t){return o(e).a(String)?e.slice(0,t.length)==t:o(e).a(Array)?e[0]==t:!1},endWith:function(t){return o(e).a(String)?e.slice(-t.length)==t:o(e).a(Array)?e[e.length-1]==t:!1},contain:function(n){return o(e).a(String)?-1!=e.indexOf(n):o(e).a(Object)?e.hasOwnProperty(n):o(e).a(Array)?!!~t(e,n):!1}}}var s=e(\"string_decoder\").StringDecoder,c=e(\"querystring\"),u=e(\"form-data\"),p=e(\"stream\"),l=e(\"mime\"),f=e(\"zlib\"),d=e(\"path\"),h=e(\"url\"),m=e(\"fs\");l.define({\"application/x-www-form-urlencoded\":[\"form\",\"urlencoded\",\"form-data\"]});var v=function(e,t,n,i,c){var g=function(t,n,i,c){function g(e,t,n){var r,i,a,s;if(n=n||{attachment:!1},o(e).a(Object))for(a in e)e.hasOwnProperty(a)&&g(a,e[a],n);else if(o(t).a(Array))for(s=0,i=t.length;i>s;s++)(r=y(t[s]))&&x.rawField(e,r,n);else null!=t&&x.rawField(e,y(t),n);return x}function y(e){return e instanceof r||\"string\"==typeof e?e:o(e).a(Object)?e instanceof m.FileReadStream?e:v.serializers.json(e):e.toString()}function b(e,t){x[e]=function(n){return x.options[t||e]=n,x}}var x={_stream:!1,_multipart:[],_form:[],options:{url:t,method:e,headers:{}},hasHeader:function(e){var t,n;e=e.toLowerCase(),t=Object.keys(x.options.headers),n=t.map(function(e){return e.toLowerCase()});for(var r=0;r<n.length;r++)if(n[r]===e)return t[r];return!1},stream:function(){return x._stream=!0,this},field:function(e,t,n){return g(e,t,n)},attach:function(e,t,n){return n=n||{},n.attachment=!0,g(e,t,n)},rawField:function(e,t,n){x._multipart.push({name:e,value:t,options:n,attachment:n.attachment||!1})},auth:function(e,t,n){return x.options.auth=o(e).a(Object)?e:{user:e,password:t,sendImmediately:n},x},header:function(e,t){if(o(e).a(Object)){for(var n in e)e.hasOwnProperty(n)&&x.header(n,e[n]);return x}var r=x.hasHeader(e);return x.options.headers[r||e]=t,x},query:function(e){return o(e).a(Object)&&(e=v.serializers.form(e)),e.length?(x.options.url+=(a(x.options.url).contain(\"?\")?\"&\":\"?\")+e,x):x},type:function(e){return x.header(\"Content-Type\",a(e).contain(\"/\")?e:l.lookup(e)),x},send:function(e){var t=x.options.headers[x.hasHeader(\"content-type\")];if(o(e).a(Object)&&!r.isBuffer(e))if(t)if(t.indexOf(\"json\"))if(x.options.json=!0,x.options.body&&o(x.options.body).a(Object))for(var n in e)e.hasOwnProperty(n)&&(x.options.body[n]=e[n]);else x.options.body=e;else x.options.body=v.Request.serialize(e,t);else x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")],x.options.body=v.serializers.form(e);else o(e).a(String)?(t||(x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")]),\"application/x-www-form-urlencoded\"==t?x.options.body=x.options.body?x.options.body+\"&\"+e:e:x.options.body=(x.options.body||\"\")+e):x.options.body=e;return x},part:function(e){if(x._multipart||(x.options.multipart=[]),o(e).a(Object)){if(e[\"content-type\"]){var t=v.type(e[\"content-type\"],!0);t&&(e.body=v.Response.parse(e.body))}else o(e.body).a(Object)&&(e.body=Request.serializers.json(e.body));x.options.multipart.push(e)}else x.options.multipart.push({body:e});return x},end:function(e){function t(t,n,r){function i(e){var t=v.trim(e).split(\"=\"),n=v.trim(t[0]),r=v.trim(t.slice(1).join(\"=\"));t[0]&&\"\"!=t[0]&&(p.cookies[n]=\"\"===r?!0:r)}var s,c,u,p={};if(t&&!n)return p.error=t,void(e&&e(p));if(!n)return console.log(\"This is odd, report this action / request to: http://github.com/mashape/unirest-nodejs\"),p.error={message:\"No response found.\"},void(e&&e(p));if(p=n,s=n.statusCode,u=s/100|0,p.code=s,p.status=s,p.statusType=u,p.info=1==u,p.ok=2==u,p.clientError=4==u,p.serverError=5==u,p.accepted=202==s,p.noContent=204==s||1223==s,p.badRequest=400==s,p.unauthorized=401==s,p.notAcceptable=406==s,p.notFound=404==s,p.forbidden=403==s,p.error=4==u||5==u?function(){var e=\"got \"+p.status+\" response\",t=new Error(e);return t.status=p.status,t}():!1,p.cookies={},p.cookie=function(e){return p.cookies[e]},n.cookies&&o(n.cookies).a(Object)&&Object.keys(n.cookies).length>0)p.cookies=n.cookies;else{var l=n.headers[\"set-cookie\"];if(l&&o(l).a(Array))for(var f=0;f<l.length;f++){var d=l[f];o(d).a(String)&&a(d).contain(\";\")&&d.split(\";\").forEach(i)}l=n.headers.cookie,l&&o(l).a(String)&&l.split(\";\").forEach(i)}r=r||n.body,p.raw_body=r,p.headers=n.headers,r&&(u=v.type(p.headers[\"content-type\"],!0),c=u?v.Response.parse(r,u):r),p.body=c,e&&e(p)}function n(e){if(/^(deflate|gzip)$/.test(e.headers[\"content-encoding\"])){var t,n=f.createUnzip(),r=new p,i=e.on;r.req=e.req,n.on(\"error\",function(e){r.emit(\"error\",e)}),e.pipe(n),e.setEncoding=function(e){t=new s(e)},n.on(\"data\",function(e){if(!t)return r.emit(\"data\",e);var n=t.write(e);n.length&&r.emit(\"data\",n)}),n.on(\"end\",function(){r.emit(\"end\")}),e.on=function(t,n){\"data\"==t||\"end\"==t?r.on(t,n):\"error\"==t?i.call(e,t,n):i.call(e,t,n)}}}function r(e){for(var t=0;t<x._multipart.length;t++){var n=x._multipart[t];n.attachment&&o(n.value).a(String)&&(a(n.value).contain(\"http://\")||a(n.value).contain(\"https://\")?n.value=v.request(n.value):n.value=m.createReadStream(d.resolve(n.value))),e.append(n.name,n.value,n.options)}return e}var i,c,l,g;return x._multipart.length&&!x._stream?(l=h.parse(x.options.url),g=new u,(c=x.options.headers[x.hasHeader(\"content-type\")])?x.options.headers[\"content-type\"]=c.split(\";\")[0]+\"; boundary=\"+g.getBoundary():x.options.headers[\"content-type\"]=\"multipart/form-data; boundary=\"+g.getBoundary(),r(g).submit({protocol:l.protocol,port:l.port,host:l.hostname,path:l.path,method:x.options.method,headers:x.options.headers,auth:x.options.auth||l.auth},function(e,r){var i=new s(\"utf8\");return e?t(e,r):(r.body||(r.body=\"\"),r.resume(),n(r),r.on(\"data\",function(e){\"string\"==typeof e?r.body+=e:r.body+=i.write(e)}),void r.on(\"end\",function(){return t(e,r)}))})):(i=v.request(x.options,t),i.on(\"response\",n),x._multipart.length&&x._stream&&r(i.form()),i)}};x.headers=x.header,x.set=x.header,x.complete=x.end,x.as={json:x.end,binary:x.end,string:x.end};for(var w in v[\"enum\"].options)if(v[\"enum\"].options.hasOwnProperty(w)){var _=v[\"enum\"].options[w],k=null;-1!=_.indexOf(\":\")&&(_=_.split(\":\"),k=_[1],_=_[0]),b(_,k)}return n&&\"function\"==typeof n?(c=n,n=null):i&&\"function\"==typeof i&&(c=i,i=null),n&&x.set(n),i&&x.send(i),c?x.end(c):x};return t?g(t,n,i,c):g};v.type=function(e,t){return\"string\"!=typeof e?!1:t?e.split(/ *; */).shift():v.types[e]||e},v.params=function(e){return reduce(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},v.trim=\"\".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\\s*|\\s*$)/g,\"\")},v.parsers={string:function(e){for(var t,n,r={},i=e.split(\"&\"),o=0,a=i.length;a>o;++o)n=i[o],t=n.split(\"=\"),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r},json:function(e){try{e=JSON.parse(e)}catch(t){}return e}},v.serializers={form:function(e){return c.stringify(e)},json:function(e){return JSON.stringify(e)}},v.Request={serialize:function(e,t){var n=v.firstMatch(t,v[\"enum\"].serialize);return n?n(e):e},uid:function(e){for(var t=\"\",n=\"abcdefghijklmnopqrstuvwxyz123456789\",r=n.length;e--;)t+=n[Math.random()*r|0];return t}},v.Response={parse:function(e,t){var n=v.firstMatch(t,v[\"enum\"].parse);return n?n(e):e},parseHeader:function(e){var t,n,r,i,o=e.split(/\\r?\\n/),a={};o.pop();for(var s=0,c=o.length;c>s;++s)n=o[s],t=n.indexOf(\":\"),r=n.slice(0,t).toLowerCase(),i=trim(n.slice(t+1)),a[r]=i;return a}},v.request=e(\"request\"),v.cookie=v.request.cookie,v.pipe=v.request.pipe,v.jar=function(e){e=e||{};var t=v.request.jar();return e.store&&(t._jar.store=e.store),e.rejectPublicSuffixes&&(t._jar.rejectPublicSuffixes=e.rejectPublicSuffixes),t.add=t.setCookie,t.toString=t.getCookieString,t},v[\"enum\"]={serialize:{\"application/x-www-form-urlencoded\":v.serializers.form,\"application/json\":v.serializers.json,\"+json\":v.serializers.json},parse:{\"application/x-www-form-urlencoded\":v.parsers.string,\"application/json\":v.parsers.json,\"+json\":v.parsers.json},methods:[\"GET\",\"HEAD\",\"PUT\",\"POST\",\"PATCH\",\"DELETE\",\"OPTIONS\"],options:[\"uri:url\",\"redirects:maxRedirects\",\"redirect:followRedirect\",\"url\",\"method\",\"qs\",\"form\",\"json\",\"multipart\",\"followRedirect\",\"followAllRedirects\",\"maxRedirects\",\"encoding\",\"pool\",\"timeout\",\"proxy\",\"oauth\",\"hawk\",\"ssl:strictSSL\",\"strictSSL\",\"jar\",\"cookies:jar\",\"aws\",\"httpSignature\",\"localAddress\",\"ip:localAddress\",\"secureProtocol\",\"forever\"]},v.matches=function(e,t){var n=[];for(var r in t)\"undefined\"!=typeof t.length&&(r=t[r]),-1!==e.indexOf(r)&&n.push(t[r]);return n},v.firstMatch=function(e,t){return v.matches(e,t)[0]};for(var g=0;g<v[\"enum\"].methods.length;g++){var y=v[\"enum\"].methods[g].toLowerCase();i(y)}t.exports=n=v}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"form-data\":487,fs:void 0,mime:506,path:void 0,querystring:void 0,request:517,stream:void 0,string_decoder:void 0,url:void 0,zlib:void 0}],469:[function(e,t,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],470:[function(e,t,n){arguments[4][5][0].apply(n,arguments)},{\"./errors\":469,\"./reader\":471,\"./types\":472,\"./writer\":473,dup:5}],471:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0;var t=this;this.__defineGetter__(\"length\",function(){return t._len}),this.__defineGetter__(\"offset\",function(){return t._offset}),this.__defineGetter__(\"remain\",function(){return t._size-t._offset}),this.__defineGetter__(\"buffer\",function(){return t._buf.slice(t._offset)})}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+n.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>this._size-r)return null;if(this._offset=r,0===this.length)return\"\";var i=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?i:i.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>this._size-n)return null;this._offset=n;for(var r=[],i=0,a=0;a<this.length;a++){var c=255&this._buf[this._offset++];i<<=7,i+=127&c,0==(128&c)&&(r.push(i),i=0)}return i=r.shift(),r.unshift(i%40),r.unshift(i/40>>0),r.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset++],o=0;o=127&r;for(var a=1;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&(o=-o),o},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../../node_modules/is-buffer/index.js\":538,\"./errors\":469,\"./types\":472,assert:void 0}],472:[function(e,t,n){arguments[4][7][0].apply(n,arguments)},{dup:7}],473:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[];var t=this;this.__defineGetter__(\"buffer\",function(){if(t._seq.length)throw new InvalidAsn1Error(t._seq.length+\" unended sequence(s)\");return t._buf.slice(0,t._offset)})}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||4286578688===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._shift(start,e,1),this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":469,\"./types\":472,assert:void 0,buffer:void 0}],474:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{\"./ber/index\":470,dup:9}],475:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.charAt(0).toLowerCase()+e.slice(1)}function o(){return _.format.apply(_,arguments)}function a(e,t,n,r){if(!k){n=n||t,r=r||a.caller;var i=typeof e;if(i!==t)throw new x.AssertionError({message:o(E,n,t),actual:i,expected:t,operator:\"===\",stackStartFunction:r})}}function s(e,t,n,r){if(!(k||(n=n||t,r=r||s.caller,e instanceof t)))throw new x.AssertionError({message:o(E,n,t.name),actual:c(e),expected:t.name,operator:\"instanceof\",stackStartFunction:r})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){if(!k){if(n=n||t,!Array.isArray(e))throw new x.AssertionError({message:o(S,n,t),actual:typeof e,expected:\"array\",operator:\"Array.isArray\",stackStartFunction:u.caller});for(var r=0;r<e.length;r++)a(e[r],t,n,u)}}function p(e,t){a(e,\"boolean\",t,p)}function l(e,t){if(!n.isBuffer(e))throw new x.AssertionError({message:o(E,t||\"\",\"Buffer\"),actual:typeof e,expected:\"buffer\",operator:\"Buffer.isBuffer\",stackStartFunction:l})}function f(e,t){a(e,\"function\",t)}function d(e,t){if(a(e,\"number\",t),!k&&(isNaN(e)||!isFinite(e)))throw new x.AssertionError({message:o(E,t,\"number\"),actual:e,expected:\"number\",operator:\"isNaN\",stackStartFunction:d})}function h(e,t){a(e,\"object\",t)}function m(e,t){s(e,w,t)}function v(e,t){s(e,Date,t)}function g(e,t){s(e,RegExp,t)}function y(e,t){a(e,\"string\",t)}function b(e,t){if(y(e,t),!k&&!j.test(e))throw new x.AssertionError({message:o(E,t,\"uuid\"),actual:\"string\",expected:\"uuid\",operator:\"test\",stackStartFunction:b})}var x=e(\"assert\"),w=e(\"stream\").Stream,_=e(\"util\"),k=process.env.NODE_NDEBUG||!1,j=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,S=\"%s ([%s]) required\",E=\"%s (%s) is required\";t.exports={bool:p,buffer:l,date:v,func:f,number:d,object:h,regexp:g,stream:m,string:y,uuid:b},Object.keys(t.exports).forEach(function(e){if(\"buffer\"!==e){var n=\"arrayOf\"+r(e);\"bool\"===e&&(e=\"boolean\"),\"func\"===e&&(e=\"function\"),t.exports[n]=function(t,n){u(t,e,n)}}}),Object.keys(t.exports).forEach(function(e){var n=\"optional\"+r(e),o=i(e.replace(\"arrayOf\",\"\"));\"bool\"===o&&(o=\"boolean\"),\"func\"===o&&(o=\"function\"),-1!==e.indexOf(\"arrayOf\")?t.exports[n]=function(e,t){k||void 0===e||u(e,o,t)}:t.exports[n]=function(e,t){k||void 0===e||a(e,o,t)}}),Object.keys(x).forEach(function(e){return\"AssertionError\"===e?void(t.exports[e]=x[e]):void(t.exports[e]=function(){k||x[e].apply(x[e],arguments)})})}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],476:[function(e,t,n){!function(){function e(e){var t=!1;return function(){if(t)throw new Error(\"Callback was already called.\");t=!0,e.apply(n,arguments)}}var n,r,i={};n=this,null!=n&&(r=n.async),i.noConflict=function(){return n.async=r,i};var o=Object.prototype.toString,a=Array.isArray||function(e){return\"[object Array]\"===o.call(e)},s=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)},c=function(e,t){if(e.map)return e.map(t);var n=[];return s(e,function(e,r,i){n.push(t(e,r,i))}),n},u=function(e,t,n){return e.reduce?e.reduce(t,n):(s(e,function(e,r,i){n=t(n,e,r,i)}),n)},p=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t};\"undefined\"!=typeof process&&process.nextTick?(i.nextTick=process.nextTick,\"undefined\"!=typeof setImmediate?i.setImmediate=function(e){setImmediate(e)}:i.setImmediate=i.nextTick):\"function\"==typeof setImmediate?(i.nextTick=function(e){setImmediate(e)},i.setImmediate=i.nextTick):(i.nextTick=function(e){setTimeout(e,0)},i.setImmediate=i.nextTick),i.each=function(t,n,r){function i(e){e?(r(e),r=function(){}):(o+=1,o>=t.length&&r())}if(r=r||function(){},!t.length)return r();var o=0;s(t,function(t){n(t,e(i))})},i.forEach=i.each,i.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var r=0,i=function(){t(e[r],function(t){t?(n(t),n=function(){}):(r+=1,r>=e.length?n():i())})};i()},i.forEachSeries=i.eachSeries,i.eachLimit=function(e,t,n,r){var i=l(t);i.apply(null,[e,n,r])},i.forEachLimit=i.eachLimit;var l=function(e){return function(t,n,r){if(r=r||function(){},!t.length||0>=e)return r();var i=0,o=0,a=0;!function s(){if(i>=t.length)return r();for(;e>a&&o<t.length;)o+=1,a+=1,n(t[o-1],function(e){e?(r(e),r=function(){}):(i+=1,a-=1,i>=t.length?r():s())})}()}},f=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.each].concat(t))}},d=function(e,t){return function(){var n=Array.prototype.slice.call(arguments);return t.apply(null,[l(e)].concat(n))}},h=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.eachSeries].concat(t))}},m=function(e,t,n,r){if(t=c(t,function(e,t){return{index:t,value:e}}),r){var i=[];e(t,function(e,t){n(e.value,function(n,r){i[e.index]=r,t(n)})},function(e){r(e,i)})}else e(t,function(e,t){n(e.value,function(e){t(e)})})};i.map=f(m),i.mapSeries=h(m),i.mapLimit=function(e,t,n,r){return v(t)(e,n,r)};var v=function(e){return d(e,m)};i.reduce=function(e,t,n,r){i.eachSeries(e,function(e,r){n(t,e,function(e,n){t=n,r(e)})},function(e){r(e,t)})},i.inject=i.reduce,i.foldl=i.reduce,i.reduceRight=function(e,t,n,r){var o=c(e,function(e){return e}).reverse();i.reduce(o,t,n,r)},i.foldr=i.reduceRight;var g=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n&&i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.filter=f(g),i.filterSeries=h(g),i.select=i.filter,i.selectSeries=i.filterSeries;var y=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n||i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.reject=f(y),i.rejectSeries=h(y);var b=function(e,t,n,r){e(t,function(e,t){n(e,function(n){n?(r(e),r=function(){}):t()})},function(e){r()})};i.detect=f(b),i.detectSeries=h(b),i.some=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e&&(n(!0),n=function(){}),r()})},function(e){n(!1)})},i.any=i.some,i.every=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e||(n(!1),n=function(){}),r()})},function(e){n(!0)})},i.all=i.every,i.sortBy=function(e,t,n){i.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){if(e)return n(e);var r=function(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0};n(null,c(t.sort(r),function(e){return e.value}))})},i.auto=function(e,t){t=t||function(){};var n=p(e),r=n.length;if(!r)return t();var o={},c=[],l=function(e){c.unshift(e)},f=function(e){for(var t=0;t<c.length;t+=1)if(c[t]===e)return void c.splice(t,1)},d=function(){r--,s(c.slice(0),function(e){e()})};l(function(){if(!r){var e=t;t=function(){},e(null,o)}}),s(n,function(n){var r=a(e[n])?e[n]:[e[n]],c=function(e){var r=Array.prototype.slice.call(arguments,1);if(r.length<=1&&(r=r[0]),e){var a={};s(p(o),function(e){a[e]=o[e]}),a[n]=r,t(e,a),t=function(){}}else o[n]=r,i.setImmediate(d)},h=r.slice(0,Math.abs(r.length-1))||[],m=function(){return u(h,function(e,t){return e&&o.hasOwnProperty(t)},!0)&&!o.hasOwnProperty(n)};if(m())r[r.length-1](c,o);else{var v=function(){m()&&(f(v),r[r.length-1](c,o))};l(v)}})},i.retry=function(e,t,n){var r=5,o=[];\"function\"==typeof e&&(n=t,t=e,e=r),e=parseInt(e,10)||r;var a=function(r,a){for(var s=function(e,t){return function(n){e(function(e,r){n(!e||t,{err:e,result:r})},a)}};e;)o.push(s(t,!(e-=1)));i.series(o,function(e,t){t=t[t.length-1],(r||n)(t.err,t.result)})};return n?a():a},i.waterfall=function(e,t){if(t=t||function(){},!a(e)){var n=new Error(\"First argument to waterfall must be an array of functions\");return t(n)}if(!e.length)return t();var r=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var o=Array.prototype.slice.call(arguments,1),a=e.next();a?o.push(r(a)):o.push(t),i.setImmediate(function(){e.apply(null,o)})}}};r(i.iterator(e))()};var x=function(e,t,n){if(n=n||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},n);else{var r={};e.each(p(t),function(e,n){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[e]=i,n(t)})},function(e){n(e,r)})}};i.parallel=function(e,t){x({map:i.map,each:i.each},e,t)},i.parallelLimit=function(e,t,n){x({map:v(t),each:l(t)},e,n)},i.series=function(e,t){if(t=t||function(){},a(e))i.mapSeries(e,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},t);else{var n={};i.eachSeries(p(e),function(t,r){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[t]=i,r(e)})},function(e){t(e,n)})}},i.iterator=function(e){var t=function(n){var r=function(){return e.length&&e[n].apply(null,arguments),r.next()};return r.next=function(){return n<e.length-1?t(n+1):null},r};return t(0)},i.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,n,r){var i=[];e(t,function(e,t){n(e,function(e,n){i=i.concat(n||[]),t(e)})},function(e){r(e,i)})};i.concat=f(w),i.concatSeries=h(w),i.whilst=function(e,t,n){e()?t(function(r){return r?n(r):void i.whilst(e,t,n)}):n()},i.doWhilst=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?i.doWhilst(e,t,n):n()})},i.until=function(e,t,n){e()?n():t(function(r){return r?n(r):void i.until(e,t,n)})},i.doUntil=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?n():i.doUntil(e,t,n)})},i.queue=function(t,n){function r(e,t,n,r){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var o={data:t,callback:\"function\"==typeof r?r:null};n?e.tasks.unshift(o):e.tasks.push(o),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}void 0===n&&(n=1);var o=0,c={tasks:[],concurrency:n,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){r(c,e,!1,t)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(e,t){r(c,e,!0,t)},process:function(){if(!c.paused&&o<c.concurrency&&c.tasks.length){var n=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),o+=1;var r=function(){o-=1,n.callback&&n.callback.apply(n,arguments),c.drain&&c.tasks.length+o===0&&c.drain(),c.process()},i=e(r);t(n.data,i)}},length:function(){return c.tasks.length},running:function(){return o},idle:function(){return c.tasks.length+o===0},pause:function(){c.paused!==!0&&(c.paused=!0)},resume:function(){if(c.paused!==!1){c.paused=!1;for(var e=1;e<=c.concurrency;e++)i.setImmediate(c.process)}}};return c},i.priorityQueue=function(e,t){function n(e,t){return e.priority-t.priority}function r(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,c){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var a={data:t,priority:o,callback:\"function\"==typeof c?c:null};e.tasks.splice(r(e.tasks,a,n)+1,0,a),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}var c=i.queue(e,t);return c.push=function(e,t,n){o(c,e,t,n)},delete c.unshift,c},i.cargo=function(e,t){var n=!1,r=[],o={tasks:r,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,n){a(e)||(e=[e]),s(e,function(e){r.push({data:e,callback:\"function\"==typeof n?n:null}),o.drained=!1,o.saturated&&r.length===t&&o.saturated()}),i.setImmediate(o.process)},process:function u(){if(!n){if(0===r.length)return o.drain&&!o.drained&&o.drain(),void(o.drained=!0);var i=\"number\"==typeof t?r.splice(0,t):r.splice(0,r.length),a=c(i,function(e){return e.data});o.empty&&o.empty(),n=!0,e(a,function(){n=!1;var e=arguments;s(i,function(t){t.callback&&t.callback.apply(null,e)}),u()})}},length:function(){return r.length},running:function(){return n}};return o};var _=function(e){return function(t){var n=Array.prototype.slice.call(arguments,1);t.apply(null,n.concat([function(t){var n=Array.prototype.slice.call(arguments,1);\"undefined\"!=typeof console&&(t?console.error&&console.error(t):console[e]&&s(n,function(t){console[e](t)}))}]))}};i.log=_(\"log\"),i.dir=_(\"dir\"),i.memoize=function(e,t){var n={},r={};t=t||function(e){return e};var o=function(){var o=Array.prototype.slice.call(arguments),a=o.pop(),s=t.apply(null,o);\ns in n?i.nextTick(function(){a.apply(null,n[s])}):s in r?r[s].push(a):(r[s]=[a],e.apply(null,o.concat([function(){n[s]=arguments;var e=r[s];delete r[s];for(var t=0,i=e.length;i>t;t++)e[t].apply(null,arguments)}])))};return o.memo=n,o.unmemoized=e,o},i.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},i.times=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.map(r,t,n)},i.timesSeries=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.mapSeries(r,t,n)},i.seq=function(){var e=arguments;return function(){var t=this,n=Array.prototype.slice.call(arguments),r=n.pop();i.reduce(e,n,function(e,n,r){n.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);r(e,t)}]))},function(e,n){r.apply(t,[e].concat(n))})}},i.compose=function(){return i.seq.apply(null,Array.prototype.reverse.call(arguments))};var k=function(e,t){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return e(t,function(e,t){e.apply(n,r.concat([t]))},i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};i.applyEach=f(k),i.applyEachSeries=h(k),i.forever=function(e,t){function n(r){if(r){if(t)return t(r);throw r}e(n)}n()},\"undefined\"!=typeof t&&t.exports?t.exports=i:\"undefined\"!=typeof define&&define.amd?define([],function(){return i}):n.async=i}()},{}],477:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],478:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),this._bufs.push(t?e:new n(e)),this.length+=e.length,this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":513,util:void 0}],479:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":480,dup:434}],480:[function(e,t,n){var r=e(\"http\"),i=e(\"util\"),o=e(\"hoek\"),a={};n=t.exports=a.Boom=function(){if(o.assert(this.constructor===a.Boom,\"Error must be instantiated using new\"),Error.call(this),this.isBoom=!0,this.response={code:0,payload:{},headers:{}},arguments[0]instanceof Error){var e=arguments[0];this.data=e,this.response.code=e.code||500,e.message&&(this.message=e.message)}else{var t=arguments[0],n=arguments[1];o.assert(!isNaN(parseFloat(t))&&isFinite(t)&&t>=400,\"First argument must be a number (400+)\"),this.response.code=t,n&&(this.message=n)}return this.reformat(),this},i.inherits(a.Boom,Error),a.Boom.prototype.reformat=function(){this.response.payload.code=this.response.code,this.response.payload.error=r.STATUS_CODES[this.response.code]||\"Unknown\",this.message&&(this.response.payload.message=o.escapeHtml(this.message))},a.Boom.badRequest=function(e){return new a.Boom(400,e)},a.Boom.unauthorized=function(e,t,n){var r=new a.Boom(401,e);if(!t)return r;var i=\"\";if(\"string\"==typeof t){if(i=t,n)for(var s=Object.keys(n),c=0,u=s.length;u>c;++c){c&&(i+=\",\");var p=n[s[c]];null!==p&&void 0!==p||(p=\"\"),i+=\" \"+s[c]+'=\"'+o.escapeHeaderAttribute(p.toString())+'\"'}e?(n&&(i+=\",\"),i+=' error=\"'+o.escapeHeaderAttribute(e)+'\"'):r.isMissing=!0}else for(var l=t,c=0,u=l.length;u>c;++c)c&&(i+=\", \"),i+=l[c];return r.response.headers[\"WWW-Authenticate\"]=i,r},a.Boom.clientTimeout=function(e){return new a.Boom(408,e)},a.Boom.serverTimeout=function(e){return new a.Boom(503,e)},a.Boom.forbidden=function(e){return new a.Boom(403,e)},a.Boom.notFound=function(e){return new a.Boom(404,e)},a.Boom.internal=function(e,t){var n=new a.Boom(500,e);return t&&t.stack?(n.trace=t.stack.split(\"\\n\"),n.outterTrace=o.displayStack(1)):n.trace=o.displayStack(1),n.data=t,n.response.payload.message=\"An internal server error occurred\",n},a.Boom.passThrough=function(e,t,n,r){var i=new a.Boom(500,\"Pass-through\");return i.data={code:e,payload:t,type:n},i.response.code=e,i.response.type=n,i.response.headers=r,i.response.payload=t,i}},{hoek:494,http:void 0,util:void 0}],481:[function(e,t,n){function r(e){this.dict=e}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return n.set(e,t,r)},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],482:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":485,stream:void 0,util:void 0}],483:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":484,dup:434}],484:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n+=o===a?0:1}return 0===n}},{boom:479,crypto:void 0}],485:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},r.prototype.__defineGetter__(\"readable\",function(){return this.source.readable}),r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],486:[function(e,t,n){function r(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||r.defaultMinSockets,t.on(\"free\",function(e,n,r){var i=n+\":\"+r;if(t.requests[i]&&t.requests[i].length)t.requests[i].shift().onSocket(e);else if(t.sockets[i].length<t.minSockets){t.freeSockets[i]||(t.freeSockets[i]=[]),t.freeSockets[i].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on(\"error\",o)}else e.destroy()})}function i(e){r.call(this,e)}function o(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),u.connect(n)}t.exports=r,r.SSL=i;var a=e(\"util\"),s=e(\"http\").Agent,c=e(\"net\"),u=e(\"tls\"),p=e(\"https\").Agent;a.inherits(r,s),r.defaultMinSockets=5,r.prototype.createConnection=c.createConnection,r.prototype.addRequestNoreuse=s.prototype.addRequest,r.prototype.addRequest=function(e,t,n){var r=t+\":\"+n;if(this.freeSockets[r]&&this.freeSockets[r].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener(\"error\",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,n)},r.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},a.inherits(i,r),i.prototype.createConnection=o,i.prototype.addRequestNoreuse=p.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],487:[function(e,t,n){(function(n){function r(){this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],o.call(this)}function i(e,t){for(var n in t)e[n]||(e[n]=t[n]);return e}var o=e(\"combined-stream\"),a=e(\"util\"),s=e(\"path\"),c=e(\"http\"),u=e(\"https\"),p=e(\"url\").parse,l=e(\"fs\"),f=e(\"mime-types\"),d=e(\"async\");t.exports=r,a.inherits(r,o),r.LINE_BREAK=\"\\r\\n\",r.prototype.append=function(e,t,n){n=n||{};var r=o.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),a.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var i=this._multiPartHeader(e,t,n),s=this._multiPartFooter(e,t,n);r(i),r(t),r(s),this._trackLength(i,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+ +r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):l.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){var i=this.getBoundary(),o=\"\";return null!=n.header?o=n.header:(o+=\"--\"+i+r.LINE_BREAK+'Content-Disposition: form-data; name=\"'+e+'\"',n.filename||t.path?o+='; filename=\"'+s.basename(n.filename||t.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+(n.contentType||f.lookup(n.filename||t.path)):t.readable&&t.hasOwnProperty(\"httpVersion\")&&(o+='; filename=\"'+s.basename(t.client._httpMessage.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+t.headers[\"content-type\"]),o+=r.LINE_BREAK+r.LINE_BREAK),o},r.prototype._multiPartFooter=function(e,t,n){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"},r.prototype.getHeaders=function(e){var t={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(var n in e)t[n.toLowerCase()]=e[n];return t},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),t},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void d.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,o={method:\"post\"};return\"string\"==typeof e?(e=p(e),r=i({port:e.port,path:e.pathname,host:e.hostname},o)):(r=i(e,o),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==e.protocol?u.request(r):c.request(r),this.getLength(function(e,r){n.setHeader(\"Content-Length\",r),this.pipe(n),t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{async:476,buffer:void 0,\"combined-stream\":482,fs:void 0,http:void 0,https:void 0,\"mime-types\":505,path:void 0,url:void 0,util:void 0}],488:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":491,dup:434}],489:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var i={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return i.err=\"Invalid argument type\",i;var c=n.timestamp||Math.floor((s.now()+(n.localtimeOffsetMsec||0))/1e3),u=n.credentials;if(!(u&&u.id&&u.key&&u.algorithm))return i.err=\"Invalid credential object\",i;if(-1===a.algorithms.indexOf(u.algorithm))return i.err=\"Unknown algorithm\",i;\"string\"==typeof e&&(e=r.parse(e));var p={ts:c,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};i.artifacts=p,!p.hash&&n.hasOwnProperty(\"payload\")&&(p.hash=a.calculatePayloadHash(n.payload,u.algorithm,n.contentType));var l=a.calculateMac(\"header\",u,p),f=null!==p.ext&&void 0!==p.ext&&\"\"!==p.ext,d='Hawk id=\"'+u.id+'\", ts=\"'+p.ts+'\", nonce=\"'+p.nonce+(p.hash?'\", hash=\"'+p.hash:\"\")+(f?'\", ext=\"'+s.escapeHeaderAttribute(p.ext):\"\")+'\", mac=\"'+l+'\"';return p.app&&(d+=', app=\"'+p.app+(p.dlg?'\", dlg=\"'+p.dlg:\"\")+'\"'),i.field=d,i},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var o=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(o instanceof Error)return!1;n.ext=o.ext,n.hash=o.hash;var u=a.calculateMac(\"response\",t,n);if(u!==o.mac)return!1;if(!r.hasOwnProperty(\"payload\"))return!0;if(!o.hash)return!1;var p=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return p===o.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now()+(t.localtimeOffsetMsec||0),i=t.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return\"\";if(-1===a.algorithms.indexOf(i.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var o=Math.floor(n/1e3)+t.ttlSec,c=a.calculateMac(\"bewit\",i,{ts:o,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),u=i.id+\"\\\\\"+o+\"\\\\\"+c+\"\\\\\"+t.ext;return s.base64urlEncode(u)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||Math.floor((s.now()+(r.localtimeOffsetMsec||0))/1e3),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":490,\"./utils\":493,cryptiles:483,hoek:494,url:void 0}],490:[function(e,t,n){var r=e(\"crypto\"),i=(e(\"url\"),e(\"./utils\"));n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+(t.resource||\"\")+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(r+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),r+=\"\\n\",t.app&&(r+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),r},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var o=r.createHash(e);return o.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),o.update(i.parseContentType(t)+\"\\n\"),o},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=Math.floor((i.now()+(t||0))/1e3),o=n.calculateTsMac(r,e);return{ts:r,tsm:o}}},{\"./utils\":493,crypto:void 0,url:void 0}],491:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":489,\"./crypto\":490,\"./server\":492,\"./utils\":493,boom:479,sntp:527}],492:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.authenticate=function(e,t,n,i){i=s.nextTick(i),n.nonceFunc=n.nonceFunc||function(e,t,n){return n()},n.timestampSkewSec=n.timestampSkewSec||60;var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=s.parseAuthorizationHeader(u.authorization);if(p instanceof Error)return i(p);var l={method:u.method,host:u.host,port:u.port,resource:u.url,ts:p.ts,nonce:p.nonce,hash:p.hash,ext:p.ext,app:p.app,dlg:p.dlg,mac:p.mac,id:p.id};return p.id&&p.ts&&p.nonce&&p.mac?void t(p.id,function(e,t){if(e)return i(e,t||null,l);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,l);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,l);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,l);var s=a.calculateMac(\"header\",t,l);if(!o.fixedTimeComparison(s,p.mac))return i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,l);if(null!==n.payload&&void 0!==n.payload){if(!p.hash)return i(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,l);var f=a.calculatePayloadHash(n.payload,t.algorithm,u.contentType);if(!o.fixedTimeComparison(f,p.hash))return i(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,l)}n.nonceFunc(p.nonce,p.ts,function(e){if(e)return i(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,l);if(Math.abs(1e3*p.ts-c)>1e3*n.timestampSkewSec){var o=a.timestampMessage(t,n.localtimeOffsetMsec);return i(r.unauthorized(\"Stale timestamp\",\"Hawk\",o),t,l)}return i(null,t,l)})}):i(r.badRequest(\"Missing attributes\"),null,l)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";!t.hash&&n.hasOwnProperty(\"payload\")&&(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+s.escapeHeaderAttribute(t.ext)+'\"'),o},n.authenticateBewit=function(e,t,n,i){i=s.nextTick(i);var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=u.url.match(/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/);if(!p)return i(r.unauthorized(null,\"Hawk\"));if(!p[3])return i(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==u.method&&\"HEAD\"!==u.method)return i(r.unauthorized(\"Invalid method\",\"Hawk\"));if(u.authorization)return i(r.badRequest(\"Multiple authentications\",\"Hawk\"));var l=s.base64urlDecode(p[3]);if(l instanceof Error)return i(r.badRequest(\"Invalid bewit encoding\"));var f=l.split(\"\\\\\");if(!f||4!==f.length)return i(r.badRequest(\"Invalid bewit structure\"));var d={id:f[0],exp:parseInt(f[1],10),mac:f[2],ext:f[3]||\"\"};if(!d.id||!d.exp||!d.mac)return i(r.badRequest(\"Missing bewit attributes\"));var h=p[1];return p[4]&&(h+=p[2]+p[4]),1e3*d.exp<=c?i(r.unauthorized(\"Access expired\",\"Hawk\"),null,d):void t(d.id,function(e,t){if(e)return i(e,t||null,d.ext);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,d);var n=a.calculateMac(\"bewit\",t,{ts:d.exp,nonce:\"\",method:\"GET\",resource:h,host:u.host,port:u.port,ext:d.ext});return o.fixedTimeComparison(n,d.mac)?i(null,t,d):i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d)})},n.authenticateMessage=function(e,t,n,i,c,u,p){p=s.nextTick(p),u.nonceFunc=u.nonceFunc||function(e,t,n){return n()},u.timestampSkewSec=u.timestampSkewSec||60;var l=s.now()+(u.localtimeOffsetMsec||0);return i.id&&i.ts&&i.nonce&&i.hash&&i.mac?void c(i.id,function(s,c){if(s)return p(s,c||null);if(!c)return p(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!c.key||!c.algorithm)return p(r.internal(\"Invalid credentials\"),c);if(-1===a.algorithms.indexOf(c.algorithm))return p(r.internal(\"Unknown algorithm\"),c);var f={ts:i.ts,nonce:i.nonce,host:e,port:t,hash:i.hash},d=a.calculateMac(\"message\",c,f);if(!o.fixedTimeComparison(d,i.mac))return p(r.unauthorized(\"Bad mac\",\"Hawk\"),c);var h=a.calculatePayloadHash(n,c.algorithm);return o.fixedTimeComparison(h,i.hash)?void u.nonceFunc(i.nonce,i.ts,function(e){return e?p(r.unauthorized(\"Invalid nonce\",\"Hawk\"),c):Math.abs(1e3*i.ts-l)>1e3*u.timestampSkewSec?p(r.unauthorized(\"Stale timestamp\"),c):p(null,c)}):p(r.unauthorized(\"Bad message hash\",\"Hawk\"),c)}):p(r.badRequest(\"Invalid authorization\"))}},{\"./crypto\":490,\"./utils\":493,boom:479,cryptiles:483,hoek:494}],493:[function(e,t,n){(function(t){var r=e(\"hoek\"),i=e(\"sntp\"),o=e(\"boom\"),a={};a[\"import\"]=function(){for(var e in r)r.hasOwnProperty(e)&&(n[e]=r[e])},a[\"import\"](),n.version=function(){return n.loadPackage(t+\"/..\").version},n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var n=e.headers[t];if(!n)return null;var r;r=\"[\"===n[0]?/^(?:(?:\\r\\n)?\\s)*(\\[[^\\]]+\\])(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/:/^(?:(?:\\r\\n)?\\s)*([^:]+)(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/;var i=n.match(r);return i&&3===i.length&&i[1]?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;if(!t.host||!t.port){var r=n.parseHost(e,t.hostHeaderName);if(!r)return new Error(\"Invalid Host header\")}var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(){return i.now()},n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return o.unauthorized(null,\"Hawk\");var n=e.match(/^(\\w+)(?:\\s+(.*))?$/);if(!n)return o.badRequest(\"Invalid header syntax\");var r=n[1];if(\"hawk\"!==r.toLowerCase())return o.unauthorized(null,\"Hawk\");var i=n[2];if(!i)return o.badRequest(\"Invalid header syntax\");var a={},s=\"\",c=i.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(s=\"Unknown attribute: \"+n):null===r.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/)?void(s=\"Bad attribute value: \"+n):a.hasOwnProperty(n)?void(s=\"Duplicate attribute: \"+n):(a[n]=r,\"\")});return\"\"!==c?o.badRequest(s||\"Bad header format\"):a},n.unauthorized=function(e){return o.unauthorized(e,\"Hawk\")}}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/hawk/lib\")},{boom:479,hoek:494,sntp:527}],494:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":496,dup:434}],495:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";\nvar i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97&&122>=t||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],496:[function(e,t,n){(function(t){var r=e(\"fs\"),i=e(\"./escape\");n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o=e instanceof Array?[]:{};r.orig.push(e),r.copy.push(o);for(var a in e)if(e.hasOwnProperty(a))if(e[a]instanceof t)o[a]=new t(e[a]);else if(e[a]instanceof Date)o[a]=new Date(e[a].getTime());else if(e[a]instanceof RegExp){var s=\"\"+(e[a].global?\"g\":\"\")+(e[a].ignoreCase?\"i\":\"\")+(e[a].multiline?\"m\":\"\");o[a]=new RegExp(e[a].source,s)}else o[a]=n.clone(e[a],r);return o},n.merge=function(e,t,r,i){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===t||void 0===t||\"object\"==typeof t,\"Invalid source value: must be null, undefined, or an object\"),!t)return e;if(t instanceof Array){n.assert(e instanceof Array,\"Cannot merge array onto an object\"),i===!1&&(e.length=0);for(var o=0,a=t.length;a>o;++o)e.push(t[o]);return e}for(var s=Object.keys(t),c=0,u=s.length;u>c;++c){var p=s[c],l=t[p];l&&\"object\"==typeof l?e[p]&&\"object\"==typeof e[p]?n.merge(e[p],t[p],r,i):e[p]=n.clone(l):null!==l&&void 0!==l?e[p]=l:r!==!1&&(e[p]=l)}return e},n.applyToDefaults=function(e,t){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var r=n.clone(e);return t===!0?r:n.merge(r,t,!1,!1)},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=e instanceof Array?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.matchKeys=function(e,t){for(var n=[],r=0,i=t.length;i>r;++r)e.hasOwnProperty(t[r])&&n.push(t[r]);return n},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.removeKeys=function(e,t){for(var n=0,r=t.length;r>n;n++)delete e[t[n]]},n.reach=function(e,t){for(var n=t.split(\".\"),r=e,i=0,o=n.length;o>i;++i)r&&(r=r[n[i]]);return r},n.inheritAsync=function(e,t,n){n=n||null;for(var r in t)if(t.hasOwnProperty(r)){if(n instanceof Array&&n.indexOf(r)<0)continue;e.prototype[r]=function(e){return function(t){var n=null;try{n=e()}catch(r){return t(r)}return t(null,n)}}(t[r])}},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){var t=Array.prototype.slice.call(arguments,1);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.loadDirModules=function(t,n,i){for(var o={},a=0,s=n.length;s>a;++a)o[n[a]+\".js\"]=!0;var c=r.readdirSync(t);for(a=0,s=c.length;s>a;++a){var u=c[a];if(/\\.js$/.test(u)&&!o[u]){var p=u.substr(0,u.lastIndexOf(\".\")),l=p.charAt(0).toUpperCase()+p.substr(1).toLowerCase();\"function\"!=typeof i?i[l]=e(t+\"/\"+p):i(t+\"/\"+p,p,l)}}},n.rename=function(e,t,n){e[n]=e[t],delete e[t]},n.Timer=function(){this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.loadPackage=function(e){var t={},n=(e||process.env.PWD)+\"/package.json\";if(r.existsSync(n))try{t=JSON.parse(r.readFileSync(n))}catch(i){}return t},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.toss=function(e){var t=3===arguments.length?arguments[1]:\"\",n=3===arguments.length?arguments[2]:arguments[1],r=t instanceof Error?t:t?new Error(t):e instanceof Error?e:new Error;return e instanceof Error||!e?n(r):void 0},n.base64urlEncode=function(e){return new t(e,\"binary\").toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e){if(e&&!e.match(/^[\\w\\-]*$/))return new Error(\"Invalid character\");try{return new t(e.replace(/-/g,\"+\").replace(/:/g,\"/\"),\"base64\").toString(\"binary\")}catch(n){return n}},n.escapeHeaderAttribute=function(e){return n.assert(e.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return i.escapeHtml(e)},n.escapeJavaScript=function(e){return i.escapeJavaScript(e)},n.consoleFunc=console.log,n.printEvent=function(e){var t=function(e){return(10>e?\"0\":\"\")+e},r=new Date(e.timestamp),i=(r.getYear()-100).toString()+t(r.getMonth()+1)+t(r.getDate())+\"/\"+t(r.getHours())+t(r.getMinutes())+t(r.getSeconds())+\".\"+r.getMilliseconds(),o=e.data;if(\"string\"!=typeof e.data)try{o=JSON.stringify(e.data)}catch(a){o=\"JSON Error: \"+a.message}var s=i+\", \"+e.tags[0]+\", \"+o;n.consoleFunc(s)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":495,buffer:void 0,fs:void 0}],497:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./util\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature}},{\"./parser\":498,\"./signer\":499,\"./util\":500,\"./verify\":501}],498:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){r.call(this,e,o)}function a(e){r.call(this,e,a)}function s(e){r.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l={New:0,Params:1},f={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,Error),u.inherits(i,r),u.inherits(o,r),u.inherits(a,r),u.inherits(s,r),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new s(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,r=l.New,u=f.Name,d=\"\",h=\"\",m={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},v=e.headers.authorization;for(n=0;n<v.length;n++){var g=v.charAt(n);switch(Number(r)){case l.New:\" \"!==g?m.scheme+=g:r=l.Params;break;case l.Params:switch(Number(u)){case f.Name:var y=g.charCodeAt(0);if(y>=65&&90>=y||y>=97&&122>=y)d+=g;else{if(\"=\"!==g)throw new o(\"bad param format\");if(0===d.length)throw new o(\"bad param format\");u=f.Quote}break;case f.Quote:if('\"'!==g)throw new o(\"bad param format\");h=\"\",u=f.Value;break;case f.Value:'\"'===g?(m.params[d]=h,u=f.Comma):h+=g;break;case f.Comma:if(\",\"!==g)throw new o(\"bad param format\");d=\"\",u=f.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(m.params.headers&&\"\"!==m.params.headers?m.params.headers=m.params.headers.split(\" \"):e.headers[\"x-date\"]?m.params.headers=[\"x-date\"]:m.params.headers=[\"date\"],!m.scheme||\"Signature\"!==m.scheme)throw new o('scheme was not \"Signature\"');if(!m.params.keyId)throw new o(\"keyId was not specified\");if(!m.params.algorithm)throw new o(\"algorithm was not specified\");if(!m.params.signature)throw new o(\"signature was not specified\");if(m.params.algorithm=m.params.algorithm.toLowerCase(),!p[m.params.algorithm])throw new a(m.params.algorithm+\" is not supported\");for(n=0;n<m.params.headers.length;n++){var b=m.params.headers[n].toLowerCase();if(m.params.headers[n]=b,\"request-line\"!==b){var x=e.headers[b];if(!x)throw new s(b+\" was not in the request\");m.signingString+=b+\": \"+x}else m.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion;n+1<m.params.headers.length&&(m.signingString+=\"\\n\")}var w;if(e.headers.date||e.headers[\"x-date\"]){w=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var _=new Date,k=Math.abs(_.getTime()-w.getTime());if(k>1e3*t.clockSkew)throw new i(\"clock skew of \"+k/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(m.params.headers.indexOf(e)<0)throw new s(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(m.params.algorithm))throw new a(m.params.algorithm+\" is not a supported algorithm\");return m}}},{\"assert-plus\":475,util:void 0}],499:[function(e,t,n){function r(e){this.name=\"MissingHeaderError\",this.message=e,this.stack=(new Error).stack}function i(e){this.name=\"InvalidAlgorithmError\",this.message=e,this.stack=(new Error).stack}function o(e){return parseInt(e,10)<10&&(e=\"0\"+e),e}function a(){var e=new Date,t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];return n[e.getUTCDay()]+\", \"+o(e.getUTCDate())+\" \"+t[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+o(e.getUTCHours())+\":\"+o(e.getUTCMinutes())+\":\"+o(e.getUTCSeconds())+\" GMT\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=(e(\"http\"),e(\"util\").format),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';r.prototype=new Error,i.prototype=new Error,t.exports={signRequest:function(e,t){if(s.object(e,\"request\"),s.object(t,\"options\"),s.optionalString(t.algorithm,\"options.algorithm\"),s.string(t.keyId,\"options.keyId\"),s.optionalArrayOfString(t.headers,\"options.headers\"),s.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",a()),t.headers||(t.headers=[\"date\"]),t.algorithm||(t.algorithm=\"rsa-sha256\"),t.httpVersion||(t.httpVersion=\"1.1\"),t.algorithm=t.algorithm.toLowerCase(),!p[t.algorithm])throw new i(t.algorithm+\" is not supported\");var n,o=\"\";for(n=0;n<t.headers.length;n++){if(\"string\"!=typeof t.headers[n])throw new TypeError(\"options.headers must be an array of Strings\");var f=t.headers[n].toLowerCase();if(\"request-line\"!==f){var d=e.getHeader(f);if(!d)throw new r(f+\" was not in the request\");o+=f+\": \"+d}else o+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion;n+1<t.headers.length&&(o+=\"\\n\")}var h,m=t.algorithm.match(/(hmac|rsa)-(\\w+)/);if(\"hmac\"===m[1]){var v=c.createHmac(m[2].toUpperCase(),t.key);v.update(o),h=v.digest(\"base64\")}else{var g=c.createSign(t.algorithm.toUpperCase());g.update(o),h=g.sign(t.key,\"base64\")}return e.setHeader(\"Authorization\",u(l,t.keyId,t.algorithm,t.headers.join(\" \"),h)),!0}}},{\"assert-plus\":475,crypto:void 0,http:void 0,util:void 0}],500:[function(e,t,n){(function(n){function r(e,t){var n=p.ruint32(e,\"big\",t);t+=4;var r=t+n;return{data:e.slice(t,r),offset:r}}function i(e,t){e.writeByte(2),e.writeLength(t.length);for(var n=0;n<t.length;n++)e.writeByte(t[n]);return e}function o(e){var t,o,a,s,c,p,l,f=\"\",d=0;try{if(t=new n(e.split(\" \")[1],\"base64\"),l=r(t,d),p=l.data.toString(),d=l.offset,\"ssh-rsa\"!==p)throw new Error(\"Invalid ssh key type: \"+p);l=r(t,d),a=l.data,d=l.offset,l=r(t,d),c=l.data}catch(h){throw new Error(\"Invalid ssh key: \"+e)}for(o=new u.BerWriter,o.startSequence(),o.startSequence(),o.writeOID(\"1.2.840.113549.1.1.1\"),o.writeNull(),o.endSequence(),o.startSequence(3),o.writeByte(0),o.startSequence(),i(o,c),i(o,a),o.endSequence(),o.endSequence(),o.endSequence(),l=o.buffer.toString(\"base64\"),s=0;s<l.length;s++)s%64===0&&(f+=\"\\n\"),f+=l.charAt(s);return/\\\\n$/.test(f)||(f+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+f+\"-----END PUBLIC KEY-----\\n\"}function a(e){var t,o,a,s,c,p,l,f,d=0,h=\"\";try{if(t=new n(e.split(\" \")[1],\"base64\"),o=r(t,d),s=o.data.toString(),d=o.offset,!/^ssh-ds[as].*/.test(s))throw new Error(\"Invalid ssh key type: \"+s);o=r(t,d),c=o.data,d=o.offset,o=r(t,d),p=o.data,d=o.offset,o=r(t,d),l=o.data,d=o.offset,o=r(t,d),f=o.data}catch(m){throw console.log(m.stack),new Error(\"Invalid ssh key: \"+e)}a=new u.BerWriter,a.startSequence(),a.startSequence(),a.writeOID(\"1.2.840.10040.4.1\"),a.startSequence(),i(a,c),i(a,p),i(a,l),a.endSequence(),a.endSequence(),a.startSequence(3),a.writeByte(0),i(a,f),a.endSequence(),a.endSequence(),o=a.buffer.toString(\"base64\");for(var v=0;v<o.length;v++)v%64===0&&(h+=\"\\n\"),h+=o.charAt(v);return/\\\\n$/.test(h)||(h+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+h+\"-----END PUBLIC KEY-----\\n\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=e(\"asn1\"),p=e(\"ctype\");t.exports={sshKeyToPEM:function(e){if(s.string(e,\"ssh_key\"),/^ssh-rsa.*/.test(e))return o(e);if(/^ssh-ds[as].*/.test(e))return a(e);throw new Error(\"Only RSA and DSA public keys are allowed\")},fingerprint:function(e){s.string(e,\"ssh_key\");var t=e.split(\" \");if(!t||!t.length||t.length<2)throw new Error(\"invalid ssh key\");var r=new n(t[1],\"base64\"),i=c.createHash(\"md5\");i.update(r);for(var o=i.digest(\"hex\"),a=\"\",u=0;u<o.length;u++)u&&u%2===0&&(a+=\":\"),a+=o[u];return a},pemToRsaSSHKey:function(e,t){s.equal(\"string\",typeof e,\"typeof pem\");var r=e.split(\"\\n\").slice(1,-2).join(\"\"),i=new n(r,\"base64\"),o=new u.BerReader(i);o.readSequence(),o.readSequence();var a=o.readOID();s.equal(a,\"1.2.840.113549.1.1.1\",\"pem not in RSA format\"),o.readByte(),o.readByte(),o.readSequence(3),o.readByte(),o.readSequence(),s.equal(o.peek(),u.Ber.Integer,\"modulus not an integer\"),o._offset=o.readLength(o.offset+1);var c=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length,s.equal(o.peek(),u.Ber.Integer,\"exponent not an integer\"),o._offset=o.readLength(o.offset+1);var p=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length;var l=new n(\"ssh-rsa\"),f=new n(4+l.length+4+c.length+4+p.length),d=0;f.writeUInt32BE(l.length,d),d+=4,l.copy(f,d),d+=l.length,f.writeUInt32BE(p.length,d),d+=4,p.copy(f,d),d+=p.length,f.writeUInt32BE(c.length,d),d+=4,c.copy(f,d),d+=c.length;var h=l.toString()+\" \"+f.toString(\"base64\")+\" \"+(t||\"\");return h}}}).call(this,e(\"buffer\").Buffer)},{asn1:474,\"assert-plus\":475,buffer:void 0,crypto:void 0,ctype:81}],501:[function(e,t,n){var r=e(\"assert-plus\"),i=e(\"crypto\");t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),r.string(t,\"key\");var n=e.algorithm.match(/(HMAC|RSA|DSA)-(\\w+)/);if(!n||3!==n.length)throw new TypeError(\"parsedSignature: unsupported algorithm \"+e.algorithm);if(\"HMAC\"===n[1]){var o=i.createHmac(n[2].toUpperCase(),t);return o.update(e.signingString),o.digest(\"base64\")===e.params.signature}var a=i.createVerify(n[0]);return a.update(e.signingString),a.verify(t,e.params.signature,\"base64\")}}},{\"assert-plus\":475,crypto:void 0}],502:[function(e,t,n){arguments[4][240][0].apply(n,arguments)},{dup:240}],503:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mdp\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{source:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{\nsource:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\nsource:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",extensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\"]},\n\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"mp4a\",\"m4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],504:[function(e,t,n){arguments[4][183][0].apply(n,arguments)},{\"./db.json\":503,dup:183}],505:[function(e,t,n){var r=e(\"mime-db\");n.types=Object.create(null),n.extensions=Object.create(null),Object.keys(r).forEach(function(e){var t=r[e],i=t.extensions;i&&i.length&&(n.extensions[e]=i,i.forEach(function(t){n.types[t]=e}))}),n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){var t=r[e];return t&&t.charset?t.charset:/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e}},{\"mime-db\":504}],506:[function(e,t,n){(function(n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=e(\"path\"),o=e(\"fs\");r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=o.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var a=new r;a.load(i.join(n,\"types/mime.types\")),a.load(i.join(n,\"types/node.types\")),a.default_type=a.lookup(\"bin\"),a.Mime=r,a.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=a}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/mime\")},{fs:void 0,path:void 0}],507:[function(e,t,n){function r(e,t){return f.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return f.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t,n,r,i,o){var a;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,1))}var f=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.sign=l,n.rfc3986=o},{crypto:void 0,querystring:void 0}],508:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":509}],509:[function(e,t,n){arguments[4][110][0].apply(n,arguments)},{\"./parse\":510,\"./stringify\":511,dup:110}],510:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\";else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));n.hasOwnProperty(u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r=e.shift(),o={};if(\"[]\"===r)o=[],o=o.concat(i.parseObject(e,t,n));else{var a=\"[\"===r[0]&&\"]\"===r[r.length-1]?r.slice(1,r.length-1):r,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&r!==a&&c===a&&s>=0&&s<=n.arrayLimit?(o=[],o[s]=i.parseObject(e,t,n)):o[a]=i.parseObject(e,t,n)}return o},i.parseKeys=function(e,t,n){if(e){var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}}},t.exports=function(e,t){if(\"\"===e||null===e||\"undefined\"==typeof e)return{};t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit;for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o={},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p)}return r.compact(o)}},{\"./utils\":512}],511:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",indices:!0};i.stringify=function(e,t,n){if(r.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=\"\"),\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[encodeURIComponent(t)+\"=\"+encodeURIComponent(e)];var o=[];if(\"undefined\"==typeof e)return o;for(var a=Object.keys(e),s=0,c=a.length;c>s;++s){var u=a[s];o=!n.indices&&Array.isArray(e)?o.concat(i.stringify(e[u],t,n)):o.concat(i.stringify(e[u],t+\"[\"+u+\"]\",n))}return o},t.exports=function(e,t){t=t||{};var n=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter;t.indices=\"boolean\"==typeof t.indices?t.indices:i.indices;var r=[];if(\"object\"!=typeof e||null===e)return\"\";for(var o=Object.keys(e),a=0,s=o.length;s>a;++a){var c=o[a];r=r.concat(i.stringify(e[c],c,t))}return r.join(n)}},{\"./utils\":512}],512:[function(e,t,n){n.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)\"undefined\"!=typeof e[n]&&(t[n]=e[n]);return t},n.merge=function(e,t){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):e[t]=!0,e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e));for(var r=Object.keys(t),i=0,o=r.length;o>i;++i){var a=r[i],s=t[a];e[a]?e[a]=n.merge(e[a],s):e[a]=s}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],513:[function(e,t,n){arguments[4][388][0].apply(n,arguments)},{\"./lib/_stream_duplex.js\":514,dup:388}],514:[function(e,t,n){arguments[4][241][0].apply(n,arguments)},{\"./_stream_readable\":515,\"./_stream_writable\":516,\"core-util-is\":77,dup:241,inherits:157}],515:[function(e,t,n){arguments[4][243][0].apply(n,arguments)},{buffer:void 0,\"core-util-is\":77,dup:243,events:void 0,inherits:157,isarray:502,stream:void 0,\"string_decoder/\":456}],516:[function(e,t,n){arguments[4][245][0].apply(n,arguments)},{\"./_stream_duplex\":514,buffer:void 0,\"core-util-is\":77,dup:245,inherits:157,stream:void 0}],517:[function(e,t,n){\"use strict\";function r(e,t,n){return n=l([t,n]),t=f(e,t),p().extend({callback:n}).extend({options:t}).extend({uri:t.uri}).done()}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);return t=o.options,t.callback=o.callback,t.uri=o.uri,new i.Request(t)}function o(e){return\"function\"==typeof e.options._requester?e.options._requester:i}var a=e(\"util\")._extend,s=e(\"./lib/cookies\"),c=e(\"./lib/helpers\"),u=c.isFunction,p=c.constructObject,l=c.filterForCallback,f=c.constructOptionsFrom,d=c.paramsHaveRequestBody;i.get=function(e,t,n){var i=r(e,t,n);return i.options.method=\"GET\",o(i)(i.uri||null,i.options,i.callback)},i.head=function(e,t,n){var i=r(e,t,n);if(i.options.method=\"HEAD\",d(i))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return o(i)(i.uri||null,i.options,i.callback)},i.post=function(e,t,n){var i=r(e,t,n);return i.options.method=\"POST\",\no(i)(i.uri||null,i.options,i.callback)},i.put=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PUT\",o(i)(i.uri||null,i.options,i.callback)},i.patch=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PATCH\",o(i)(i.uri||null,i.options,i.callback)},i.del=function(e,t,n){var i=r(e,t,n);return i.options.method=\"DELETE\",o(i)(i.uri||null,i.options,i.callback)},i.jar=function(e){return s.jar(e)},i.cookie=function(e){return s.parse(e)},i.defaults=function(e,t){var n=this,i=function(i){var o=function(e){return e=a({},e),delete e.headers,e},s=function(e,t){return p().extend(t.headers).extend(e.options.headers).done()};return function(c,p,l){var f=r(c,p,l);return f.options=a(o(e),f.options),e.headers&&(f.options.headers=s(f,e)),u(t)&&(i===n?i=t:f.options._requester=t),i(f.options,f.callback)}},o=i(n);return o.get=i(n.get),o.patch=i(n.patch),o.post=i(n.post),o.put=i(n.put),o.head=i(n.head),o.del=i(n.del),o.cookie=i(n.cookie),o.jar=n.jar,o.defaults=n.defaults,o},i.forever=function(e,t){var n=p();return t&&n.extend(t),e&&(n.agentOptions=e),n.extend({forever:!0}),i.defaults(n.done())},t.exports=i,i.Request=e(\"./request\"),i.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),i.initParams=r},{\"./lib/cookies\":518,\"./lib/helpers\":521,\"./request\":526,util:void 0}],518:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e)}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e)},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],519:[function(e,t,n){\"use strict\";t.exports=function(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}},{}],520:[function(e,t,n){\"use strict\";var r=e(\"util\"),i=e(\"../index\");t.exports=function(){i.debug&&console.error(\"REQUEST %s\",r.format.apply(r,arguments))}},{\"../index\":517,util:void 0}],521:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return e=e||{},{extend:function(t){return i(d(e,t))},done:function(){return e}}}function o(e,t){var n=i();return\"object\"==typeof t?n.extend(t).extend({uri:e}):\"string\"==typeof e?n.extend({uri:e}):n.extend(e),n.done()}function a(e){return\"function\"==typeof e}function s(e){var t=e.filter(a);return t[0]}function c(e){return e.options.body||e.options.requestBodyStream||e.options.json&&\"boolean\"!=typeof e.options.json||e.options.multipart}function u(e){var t;try{t=JSON.stringify(e)}catch(n){t=h(e)}return t}function p(e){return m.createHash(\"md5\").update(e).digest(\"hex\")}function l(e){return e.readable&&e.path&&e.mode}function f(e){return new t(e||\"\",\"ascii\").toString(\"base64\")}var d=e(\"util\")._extend,h=e(\"json-stringify-safe\"),m=e(\"crypto\");n.isFunction=a,n.constructObject=i,n.constructOptionsFrom=o,n.filterForCallback=s,n.paramsHaveRequestBody=c,n.safeStringify=u,n.md5=p,n.isReadStream=l,n.toBase64=f,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173,util:void 0}],522:[function(e,t,n){t.exports={\"text/jade\":[\"jade\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/less\":[\"less\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/coffeescript\":[\"coffee\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/jsx\":[\"jsx\"]}},{}],523:[function(e,t,n){function r(e){Object.keys(e).forEach(function(t){var r=e[t]||[];n.extensions[t]=n.extensions[t]||[],r.forEach(function(e){~n.extensions[t].indexOf(e)||n.extensions[t].push(e),n.types[e]=t})})}n.types=Object.create(null),n.extensions=Object.create(null),n.define=r,n.json={mime:e(\"./mime.json\"),node:e(\"./node.json\"),custom:e(\"./custom.json\")},n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){switch(e){case\"application/json\":return\"UTF-8\";case\"application/javascript\":return\"UTF-8\"}return/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e},r(n.json.mime),r(n.json.node),r(n.json.custom)},{\"./custom.json\":522,\"./mime.json\":524,\"./node.json\":525}],524:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":[],\"application/3gpp-ims+xml\":[],\"application/activemessage\":[],\"application/andrew-inset\":[\"ez\"],\"application/applefile\":[],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomicmail\":[],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/auth-policy+xml\":[],\"application/batch-smtp\":[],\"application/beep+xml\":[],\"application/calendar+xml\":[],\"application/cals-1840\":[],\"application/ccmp+xml\":[],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cea-2018+xml\":[],\"application/cellml+xml\":[],\"application/cfw\":[],\"application/cnrp+xml\":[],\"application/commonground\":[],\"application/conference-info+xml\":[],\"application/cpl+xml\":[],\"application/csta+xml\":[],\"application/cstadata+xml\":[],\"application/cu-seeme\":[\"cu\"],\"application/cybercash\":[],\"application/davmount+xml\":[\"davmount\"],\"application/dca-rft\":[],\"application/dec-dx\":[],\"application/dialog-info+xml\":[],\"application/dicom\":[],\"application/dns\":[],\"application/docbook+xml\":[\"dbk\"],\"application/dskpp+xml\":[],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/dvcs\":[],\"application/ecmascript\":[\"ecma\"],\"application/edi-consent\":[],\"application/edi-x12\":[],\"application/edifact\":[],\"application/emma+xml\":[\"emma\"],\"application/epp+xml\":[],\"application/epub+zip\":[\"epub\"],\"application/eshop\":[],\"application/example\":[],\"application/exi\":[\"exi\"],\"application/fastinfoset\":[],\"application/fastsoap\":[],\"application/fits\":[],\"application/font-tdpfr\":[\"pfr\"],\"application/framework-attributes+xml\":[],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/h224\":[],\"application/held+xml\":[],\"application/http\":[],\"application/hyperstudio\":[\"stk\"],\"application/ibe-key-request+xml\":[],\"application/ibe-pkg-reply+xml\":[],\"application/ibe-pp-data\":[],\"application/iges\":[],\"application/im-iscomposing+xml\":[],\"application/index\":[],\"application/index.cmd\":[],\"application/index.obj\":[],\"application/index.response\":[],\"application/index.vnd\":[],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/iotp\":[],\"application/ipfix\":[\"ipfix\"],\"application/ipp\":[],\"application/isup\":[],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\"],\"application/jsonml+json\":[\"jsonml\"],\"application/kpml-request+xml\":[],\"application/kpml-response+xml\":[],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/macwriteii\":[],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml-content+xml\":[],\"application/mathml-presentation+xml\":[],\"application/mathml+xml\":[\"mathml\"],\"application/mbms-associated-procedure-description+xml\":[],\"application/mbms-deregister+xml\":[],\"application/mbms-envelope+xml\":[],\"application/mbms-msk+xml\":[],\"application/mbms-msk-response+xml\":[],\"application/mbms-protection-description+xml\":[],\"application/mbms-reception-report+xml\":[],\"application/mbms-register+xml\":[],\"application/mbms-register-response+xml\":[],\"application/mbms-user-service-description+xml\":[],\"application/mbox\":[\"mbox\"],\"application/media_control+xml\":[],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mikey\":[],\"application/mods+xml\":[\"mods\"],\"application/moss-keys\":[],\"application/moss-signature\":[],\"application/mosskey-data\":[],\"application/mosskey-request\":[],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\"],\"application/mpeg4-generic\":[],\"application/mpeg4-iod\":[],\"application/mpeg4-iod-xmt\":[],\"application/msc-ivr+xml\":[],\"application/msc-mixer+xml\":[],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/nasdata\":[],\"application/news-checkgroups\":[],\"application/news-groupinfo\":[],\"application/news-transmission\":[],\"application/nss\":[],\"application/ocsp-request\":[],\"application/ocsp-response\":[],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/parityfec\":[],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-keys\":[],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pidf+xml\":[],\"application/pidf-diff+xml\":[],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/poc-settings+xml\":[],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.alvestrand.titrax-sheet\":[],\"application/prs.cww\":[\"cww\"],\"application/prs.nprend\":[],\"application/prs.plucker\":[],\"application/prs.rdf-xml-crypt\":[],\"application/prs.xsf+xml\":[],\"application/pskc+xml\":[\"pskcxml\"],\"application/qsig\":[],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/remote-printing\":[],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/riscos\":[],\"application/rlmi+xml\":[],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rpki-updown\":[],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/rtx\":[],\"application/samlassertion+xml\":[],\"application/samlmetadata+xml\":[],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment\":[],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration\":[],\"application/set-registration-initiation\":[\"setreg\"],\"application/sgml\":[],\"application/sgml-open-catalog\":[],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[],\"application/simple-filter+xml\":[],\"application/simple-message-summary\":[],\"application/simplesymbolcontainer\":[],\"application/slate\":[],\"application/smil\":[],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/soap+fastinfoset\":[],\"application/soap+xml\":[],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/spirits-event+xml\":[],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tamp-apex-update\":[],\"application/tamp-apex-update-confirm\":[],\"application/tamp-community-update\":[],\"application/tamp-community-update-confirm\":[],\"application/tamp-error\":[],\"application/tamp-sequence-adjust\":[],\"application/tamp-sequence-adjust-confirm\":[],\"application/tamp-status-query\":[],\"application/tamp-status-response\":[],\"application/tamp-update\":[],\"application/tamp-update-confirm\":[],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamp-query\":[],\"application/timestamp-reply\":[],\"application/timestamped-data\":[\"tsd\"],\"application/tve-trigger\":[],\"application/ulpfec\":[],\"application/vcard+xml\":[],\"application/vemmi\":[],\"application/vividence.scriptfile\":[],\"application/vnd.3gpp.bsf+xml\":[],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp.sms\":[],\"application/vnd.3gpp2.bcmcsinfo+xml\":[],\"application/vnd.3gpp2.sms\":[],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.partial-upload\":[],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.aether.imp\":[],\"application/vnd.ah-barcode\":[],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.amundsen.maze+xml\":[],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.arastra.swi\":[],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.autopackage\":[],\"application/vnd.avistar+xml\":[],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bluetooth.ep.oob\":[],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.cab-jscript\":[],\"application/vnd.canon-cpdl\":[],\"application/vnd.canon-lips\":[],\"application/vnd.cendio.thinlinc.clientconf\":[],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.cirpack.isdn-ext\":[],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.collection+json\":[],\"application/vnd.commerce-battelle\":[],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.ctct.ws+xml\":[],\"application/vnd.cups-pdf\":[],\"application/vnd.cups-postscript\":[],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.cups-raster\":[],\"application/vnd.cups-raw\":[],\"application/vnd.curl\":[],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.cybank\":[],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dir-bi.plate-dl-nosuffix\":[],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dolby.mobile.1\":[],\"application/vnd.dolby.mobile.2\":[],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.dvbj\":[],\"application/vnd.dvb.esgcontainer\":[],\"application/vnd.dvb.ipdcdftnotifaccess\":[],\"application/vnd.dvb.ipdcesgaccess\":[],\"application/vnd.dvb.ipdcesgaccess2\":[],\"application/vnd.dvb.ipdcesgpdd\":[],\"application/vnd.dvb.ipdcroaming\":[],\"application/vnd.dvb.iptv.alfec-base\":[],\"application/vnd.dvb.iptv.alfec-enhancement\":[],\"application/vnd.dvb.notif-aggregate-root+xml\":[],\"application/vnd.dvb.notif-container+xml\":[],\"application/vnd.dvb.notif-generic+xml\":[],\"application/vnd.dvb.notif-ia-msglist+xml\":[],\"application/vnd.dvb.notif-ia-registration-request+xml\":[],\"application/vnd.dvb.notif-ia-registration-response+xml\":[],\"application/vnd.dvb.notif-init+xml\":[],\"application/vnd.dvb.pfr\":[],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dxr\":[],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.easykaraoke.cdgdownload\":[],\"application/vnd.ecdis-update\":[],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.ecowin.filerequest\":[],\"application/vnd.ecowin.fileupdate\":[],\"application/vnd.ecowin.series\":[],\"application/vnd.ecowin.seriesrequest\":[],\"application/vnd.ecowin.seriesupdate\":[],\"application/vnd.emclient.accessrequest+xml\":[],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.eprints.data+xml\":[],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.ericsson.quickcall\":[],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.etsi.aoc+xml\":[],\"application/vnd.etsi.cug+xml\":[],\"application/vnd.etsi.iptvcommand+xml\":[],\"application/vnd.etsi.iptvdiscovery+xml\":[],\"application/vnd.etsi.iptvprofile+xml\":[],\"application/vnd.etsi.iptvsad-bc+xml\":[],\"application/vnd.etsi.iptvsad-cod+xml\":[],\"application/vnd.etsi.iptvsad-npvr+xml\":[],\"application/vnd.etsi.iptvservice+xml\":[],\"application/vnd.etsi.iptvsync+xml\":[],\"application/vnd.etsi.iptvueprofile+xml\":[],\"application/vnd.etsi.mcid+xml\":[],\"application/vnd.etsi.overload-control-policy-dataset+xml\":[],\"application/vnd.etsi.sci+xml\":[],\"application/vnd.etsi.simservs+xml\":[],\"application/vnd.etsi.tsl+xml\":[],\"application/vnd.etsi.tsl.der\":[],\"application/vnd.eudora.data\":[],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.f-secure.mobile\":[],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.ffsns\":[],\"application/vnd.fints\":[],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.font-fontforge-sfd\":[],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.art-ex\":[],\"application/vnd.fujixerox.art4\":[],\"application/vnd.fujixerox.hbpl\":[],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fut-misnet\":[],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geocube+xml\":[],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.globalplatform.card-content-mgt\":[],\"application/vnd.globalplatform.card-content-mgt-response\":[],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.gridmp\":[],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+json\":[],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hcl-bireports\":[],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.httphone\":[],\"application/vnd.hzn-3d-crossword\":[],\"application/vnd.ibm.afplinedata\":[],\"application/vnd.ibm.electronic-media\":[],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.informedcontrol.rms+xml\":[],\"application/vnd.informix-visionary\":[],\"application/vnd.infotech.project\":[],\"application/vnd.infotech.project+xml\":[],\"application/vnd.innopath.wamp.notification\":[],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intertrust.digibox\":[],\"application/vnd.intertrust.nncp\":[],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.iptc.g2.conceptitem+xml\":[],\"application/vnd.iptc.g2.knowledgeitem+xml\":[],\"application/vnd.iptc.g2.newsitem+xml\":[],\"application/vnd.iptc.g2.newsmessage+xml\":[],\"application/vnd.iptc.g2.packageitem+xml\":[],\"application/vnd.iptc.g2.planningitem+xml\":[],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.japannet-directory-service\":[],\"application/vnd.japannet-jpnstore-wakeup\":[],\"application/vnd.japannet-payment-wakeup\":[],\"application/vnd.japannet-registration\":[],\"application/vnd.japannet-registration-wakeup\":[],\"application/vnd.japannet-setstore-wakeup\":[],\"application/vnd.japannet-verification\":[],\"application/vnd.japannet-verification-wakeup\":[],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.liberty-request+xml\":[],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.marlin.drm.actiontoken+xml\":[],\"application/vnd.marlin.drm.conftoken+xml\":[],\"application/vnd.marlin.drm.license+xml\":[],\"application/vnd.marlin.drm.mdcf\":[],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.meridian-slingshot\":[],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.minisoft-hp3000-save\":[],\"application/vnd.mitsubishi.misty-guard.trustweb\":[],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.motorola.flexsuite\":[],\"application/vnd.motorola.flexsuite.adsi\":[],\"application/vnd.motorola.flexsuite.fis\":[],\"application/vnd.motorola.flexsuite.gotap\":[],\"application/vnd.motorola.flexsuite.kmr\":[],\"application/vnd.motorola.flexsuite.ttc\":[],\"application/vnd.motorola.flexsuite.wem\":[],\"application/vnd.motorola.iprm\":[],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-asf\":[],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-color.iccprofile\":[],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-office.activex+xml\":[],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-opentype\":[],\"application/vnd.ms-package.obfuscated-opentype\":[],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-playready.initiator+xml\":[],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-printing.printticket+xml\":[],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-tnef\":[],\"application/vnd.ms-wmdrm.lic-chlg-req\":[],\"application/vnd.ms-wmdrm.lic-resp\":[],\"application/vnd.ms-wmdrm.meter-chlg-req\":[],\"application/vnd.ms-wmdrm.meter-resp\":[],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.msign\":[],\"application/vnd.multiad.creator\":[],\"application/vnd.multiad.creator.cif\":[],\"application/vnd.music-niff\":[],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.ncd.control\":[],\"application/vnd.ncd.reference\":[],\"application/vnd.nervana\":[],\"application/vnd.netfpx\":[],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.catalogs\":[],\"application/vnd.nokia.conml+wbxml\":[],\"application/vnd.nokia.conml+xml\":[],\"application/vnd.nokia.isds-radio-presets\":[],\"application/vnd.nokia.iptv.config+xml\":[],\"application/vnd.nokia.landmark+wbxml\":[],\"application/vnd.nokia.landmark+xml\":[],\"application/vnd.nokia.landmarkcollection+xml\":[],\"application/vnd.nokia.n-gage.ac+xml\":[],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.ncd\":[],\"application/vnd.nokia.pcd+wbxml\":[],\"application/vnd.nokia.pcd+xml\":[],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.ntt-local.file-transfer\":[],\"application/vnd.ntt-local.sip-ta_remote\":[],\"application/vnd.ntt-local.sip-ta_tcp_stream\":[],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.obn\":[],\"application/vnd.oftn.l10n+json\":[],\"application/vnd.oipf.contentaccessdownload+xml\":[],\"application/vnd.oipf.contentaccessstreaming+xml\":[],\"application/vnd.oipf.cspg-hexbinary\":[],\"application/vnd.oipf.dae.svg+xml\":[],\"application/vnd.oipf.dae.xhtml+xml\":[],\"application/vnd.oipf.mippvcontrolmessage+xml\":[],\"application/vnd.oipf.pae.gem\":[],\"application/vnd.oipf.spdiscovery+xml\":[],\"application/vnd.oipf.spdlist+xml\":[],\"application/vnd.oipf.ueprofile+xml\":[],\"application/vnd.oipf.userprofile+xml\":[],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma-scws-config\":[],\"application/vnd.oma-scws-http-request\":[],\"application/vnd.oma-scws-http-response\":[],\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":[],\"application/vnd.oma.bcast.drm-trigger+xml\":[],\"application/vnd.oma.bcast.imd+xml\":[],\"application/vnd.oma.bcast.ltkm\":[],\"application/vnd.oma.bcast.notification+xml\":[],\"application/vnd.oma.bcast.provisioningtrigger\":[],\"application/vnd.oma.bcast.sgboot\":[],\"application/vnd.oma.bcast.sgdd+xml\":[],\"application/vnd.oma.bcast.sgdu\":[],\"application/vnd.oma.bcast.simple-symbol-container\":[],\"application/vnd.oma.bcast.smartcard-trigger+xml\":[],\"application/vnd.oma.bcast.sprov+xml\":[],\"application/vnd.oma.bcast.stkm\":[],\"application/vnd.oma.cab-address-book+xml\":[],\"application/vnd.oma.cab-feature-handler+xml\":[],\"application/vnd.oma.cab-pcc+xml\":[],\"application/vnd.oma.cab-user-prefs+xml\":[],\"application/vnd.oma.dcd\":[],\"application/vnd.oma.dcdc\":[],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.oma.drm.risd+xml\":[],\"application/vnd.oma.group-usage-list+xml\":[],\"application/vnd.oma.pal+xml\":[],\"application/vnd.oma.poc.detailed-progress-report+xml\":[],\"application/vnd.oma.poc.final-report+xml\":[],\"application/vnd.oma.poc.groups+xml\":[],\"application/vnd.oma.poc.invocation-descriptor+xml\":[],\"application/vnd.oma.poc.optimized-progress-report+xml\":[],\"application/vnd.oma.push\":[],\n\"application/vnd.oma.scidm.messages+xml\":[],\"application/vnd.oma.xcap-directory+xml\":[],\"application/vnd.omads-email+xml\":[],\"application/vnd.omads-file+xml\":[],\"application/vnd.omads-folder+xml\":[],\"application/vnd.omaloc-supl-init\":[],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":[],\"application/vnd.openxmlformats-officedocument.drawing+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":[],\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":[],\"application/vnd.openxmlformats-officedocument.theme+xml\":[],\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":[],\"application/vnd.openxmlformats-officedocument.vmldrawing\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":[],\"application/vnd.openxmlformats-package.core-properties+xml\":[],\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":[],\"application/vnd.openxmlformats-package.relationships+xml\":[],\"application/vnd.quobject-quoxdocument\":[],\"application/vnd.osa.netdeploy\":[],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.bundle\":[],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.otps.ct-kip+xml\":[],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.paos.xml\":[],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.piaccess.application-licence\":[],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.poc.group-advertisement+xml\":[],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.powerbuilder6-s\":[],\"application/vnd.powerbuilder7\":[],\"application/vnd.powerbuilder7-s\":[],\"application/vnd.powerbuilder75\":[],\"application/vnd.powerbuilder75-s\":[],\"application/vnd.preminet\":[],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.pwg-multiplexed\":[],\"application/vnd.pwg-xhtml-print+xml\":[],\"application/vnd.qualcomm.brew-app-res\":[],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.radisys.moml+xml\":[],\"application/vnd.radisys.msml+xml\":[],\"application/vnd.radisys.msml-audit+xml\":[],\"application/vnd.radisys.msml-audit-conf+xml\":[],\"application/vnd.radisys.msml-audit-conn+xml\":[],\"application/vnd.radisys.msml-audit-dialog+xml\":[],\"application/vnd.radisys.msml-audit-stream+xml\":[],\"application/vnd.radisys.msml-conf+xml\":[],\"application/vnd.radisys.msml-dialog+xml\":[],\"application/vnd.radisys.msml-dialog-base+xml\":[],\"application/vnd.radisys.msml-dialog-fax-detect+xml\":[],\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":[],\"application/vnd.radisys.msml-dialog-group+xml\":[],\"application/vnd.radisys.msml-dialog-speech+xml\":[],\"application/vnd.radisys.msml-dialog-transform+xml\":[],\"application/vnd.rainstor.data\":[],\"application/vnd.rapid\":[],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.renlearn.rlprint\":[],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.rs-274x\":[],\"application/vnd.ruckus.download\":[],\"application/vnd.s3sms\":[],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.sbm.cid\":[],\"application/vnd.sbm.mid2\":[],\"application/vnd.scribus\":[],\"application/vnd.sealed.3df\":[],\"application/vnd.sealed.csf\":[],\"application/vnd.sealed.doc\":[],\"application/vnd.sealed.eml\":[],\"application/vnd.sealed.mht\":[],\"application/vnd.sealed.net\":[],\"application/vnd.sealed.ppt\":[],\"application/vnd.sealed.tiff\":[],\"application/vnd.sealed.xls\":[],\"application/vnd.sealedmedia.softseal.html\":[],\"application/vnd.sealedmedia.softseal.pdf\":[],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.notebook\":[],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[],\"application/vnd.software602.filler.form-xml-zip\":[],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.sss-cod\":[],\"application/vnd.sss-dtf\":[],\"application/vnd.sss-ntf\":[],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.street-stream\":[],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sun.wadl+xml\":[],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.swiftview-ics\":[],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dm.notification\":[],\"application/vnd.syncml.ds.notification\":[],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.truedoc\":[],\"application/vnd.ubisoft.webplayer\":[],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.uplanet.alert\":[],\"application/vnd.uplanet.alert-wbxml\":[],\"application/vnd.uplanet.bearer-choice\":[],\"application/vnd.uplanet.bearer-choice-wbxml\":[],\"application/vnd.uplanet.cacheop\":[],\"application/vnd.uplanet.cacheop-wbxml\":[],\"application/vnd.uplanet.channel\":[],\"application/vnd.uplanet.channel-wbxml\":[],\"application/vnd.uplanet.list\":[],\"application/vnd.uplanet.list-wbxml\":[],\"application/vnd.uplanet.listcmd\":[],\"application/vnd.uplanet.listcmd-wbxml\":[],\"application/vnd.uplanet.signal\":[],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.vd-study\":[],\"application/vnd.vectorworks\":[],\"application/vnd.verimatrix.vcas\":[],\"application/vnd.vidsoft.vidconference\":[],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vividence.scriptfile\":[],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.sic\":[],\"application/vnd.wap.slc\":[],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wfa.wsc\":[],\"application/vnd.wmc\":[],\"application/vnd.wmf.bootstrap\":[],\"application/vnd.wolfram.mathematica\":[],\"application/vnd.wolfram.mathematica.package\":[],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wrq-hp3000-labelled\":[],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.wv.csp+wbxml\":[],\"application/vnd.wv.csp+xml\":[],\"application/vnd.wv.ssp+xml\":[],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.xfdl.webform\":[],\"application/vnd.xmi+xml\":[],\"application/vnd.xmpie.cpkg\":[],\"application/vnd.xmpie.dpkg\":[],\"application/vnd.xmpie.plan\":[],\"application/vnd.xmpie.ppkg\":[],\"application/vnd.xmpie.xlim\":[],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.remote-setup\":[],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yamaha.through-ngn\":[],\"application/vnd.yamaha.tunnel-udpencap\":[],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/vq-rtcpxr\":[],\"application/watcherinfo+xml\":[],\"application/whoispp-query\":[],\"application/whoispp-response\":[],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wita\":[],\"application/wordperfect5.1\":[],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-amf\":[],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-conference\":[\"nsc\"],\"application/x-compress\":[],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-dos\":[],\"application/x-font-framemaker\":[],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-libgrx\":[],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-speedo\":[],\"application/x-font-sunos-news\":[],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/font-woff\":[\"woff\"],\"application/x-font-vfont\":[],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-gzip\":[],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/x400-bp\":[],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[],\"application/xcap-caps+xml\":[],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[],\"application/xcap-error+xml\":[],\"application/xcap-ns+xml\":[],\"application/xcon-conference-info-diff+xml\":[],\"application/xcon-conference-info+xml\":[],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xhtml-voice+xml\":[],\"application/xml\":[\"xml\",\"xsl\"],\"application/xml-dtd\":[\"dtd\"],\"application/xml-external-parsed-entity\":[],\"application/xmpp+xml\":[],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/1d-interleaved-parityfec\":[],\"audio/32kadpcm\":[],\"audio/3gpp\":[],\"audio/3gpp2\":[],\"audio/ac3\":[],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[],\"audio/amr-wb\":[],\"audio/amr-wb+\":[],\"audio/asc\":[],\"audio/atrac-advanced-lossless\":[],\"audio/atrac-x\":[],\"audio/atrac3\":[],\"audio/basic\":[\"au\",\"snd\"],\"audio/bv16\":[],\"audio/bv32\":[],\"audio/clearmode\":[],\"audio/cn\":[],\"audio/dat12\":[],\"audio/dls\":[],\"audio/dsr-es201108\":[],\"audio/dsr-es202050\":[],\"audio/dsr-es202211\":[],\"audio/dsr-es202212\":[],\"audio/dv\":[],\"audio/dvi4\":[],\"audio/eac3\":[],\"audio/evrc\":[],\"audio/evrc-qcp\":[],\"audio/evrc0\":[],\"audio/evrc1\":[],\"audio/evrcb\":[],\"audio/evrcb0\":[],\"audio/evrcb1\":[],\"audio/evrcwb\":[],\"audio/evrcwb0\":[],\"audio/evrcwb1\":[],\"audio/example\":[],\"audio/fwdred\":[],\"audio/g719\":[],\"audio/g722\":[],\"audio/g7221\":[],\"audio/g723\":[],\"audio/g726-16\":[],\"audio/g726-24\":[],\"audio/g726-32\":[],\"audio/g726-40\":[],\"audio/g728\":[],\"audio/g729\":[],\"audio/g7291\":[],\"audio/g729d\":[],\"audio/g729e\":[],\"audio/gsm\":[],\"audio/gsm-efr\":[],\"audio/gsm-hr-08\":[],\"audio/ilbc\":[],\"audio/ip-mr_v2.5\":[],\"audio/isac\":[],\"audio/l16\":[],\"audio/l20\":[],\"audio/l24\":[],\"audio/l8\":[],\"audio/lpc\":[],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[],\"audio/mp4\":[\"mp4a\"],\"audio/mp4a-latm\":[],\"audio/mpa\":[],\"audio/mpa-robust\":[],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/mpeg4-generic\":[],\"audio/musepack\":[],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/opus\":[],\"audio/parityfec\":[],\"audio/pcma\":[],\"audio/pcma-wb\":[],\"audio/pcmu-wb\":[],\"audio/pcmu\":[],\"audio/prs.sid\":[],\"audio/qcelp\":[],\"audio/red\":[],\"audio/rtp-enc-aescm128\":[],\"audio/rtp-midi\":[],\"audio/rtx\":[],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/smv\":[],\"audio/smv0\":[],\"audio/smv-qcp\":[],\"audio/sp-midi\":[],\"audio/speex\":[],\"audio/t140c\":[],\"audio/t38\":[],\"audio/telephone-event\":[],\"audio/tone\":[],\"audio/uemclip\":[],\"audio/ulpfec\":[],\"audio/vdvi\":[],\"audio/vmr-wb\":[],\"audio/vnd.3gpp.iufp\":[],\"audio/vnd.4sb\":[],\"audio/vnd.audiokoz\":[],\"audio/vnd.celp\":[],\"audio/vnd.cisco.nse\":[],\"audio/vnd.cmles.radio-events\":[],\"audio/vnd.cns.anp1\":[],\"audio/vnd.cns.inf1\":[],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dlna.adts\":[],\"audio/vnd.dolby.heaac.1\":[],\"audio/vnd.dolby.heaac.2\":[],\"audio/vnd.dolby.mlp\":[],\"audio/vnd.dolby.mps\":[],\"audio/vnd.dolby.pl2\":[],\"audio/vnd.dolby.pl2x\":[],\"audio/vnd.dolby.pl2z\":[],\"audio/vnd.dolby.pulse.1\":[],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.dvb.file\":[],\"audio/vnd.everad.plj\":[],\"audio/vnd.hns.audio\":[],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nokia.mobile-xmf\":[],\"audio/vnd.nortel.vbk\":[],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.octel.sbc\":[],\"audio/vnd.qcelp\":[],\"audio/vnd.rhetorex.32kadpcm\":[],\"audio/vnd.rip\":[\"rip\"],\"audio/vnd.sealedmedia.softseal.mpeg\":[],\"audio/vnd.vmx.cvsd\":[],\"audio/vorbis\":[],\"audio/vorbis-config\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-tta\":[],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-pdb\":[],\"chemical/x-xyz\":[\"xyz\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/example\":[],\"image/fits\":[],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[],\"image/jpx\":[],\"image/ktx\":[\"ktx\"],\"image/naplps\":[],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[],\"image/tiff\":[\"tiff\",\"tif\"],\"image/tiff-fx\":[],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.cns.inf2\":[],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.globalgraphics.pgb\":[],\"image/vnd.microsoft.icon\":[],\"image/vnd.mix\":[],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.radiance\":[],\"image/vnd.sealed.png\":[],\"image/vnd.sealedmedia.softseal.gif\":[],\"image/vnd.sealedmedia.softseal.jpg\":[],\"image/vnd.svf\":[],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/cpim\":[],\"message/delivery-status\":[],\"message/disposition-notification\":[],\"message/example\":[],\"message/external-body\":[],\"message/feedback-report\":[],\"message/global\":[],\"message/global-delivery-status\":[],\"message/global-disposition-notification\":[],\"message/global-headers\":[],\"message/http\":[],\"message/imdn+xml\":[],\"message/news\":[],\"message/partial\":[],\"message/rfc822\":[\"eml\",\"mime\"],\"message/s-http\":[],\"message/sip\":[],\"message/sipfrag\":[],\"message/tracking-status\":[],\"message/vnd.si.simp\":[],\"model/example\":[],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.flatland.3dml\":[],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gs-gdl\":[],\"model/vnd.gs.gdl\":[],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.moml+xml\":[],\"model/vnd.mts\":[\"mts\"],\"model/vnd.parasolid.transmit.binary\":[],\"model/vnd.parasolid.transmit.text\":[],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"multipart/alternative\":[],\"multipart/appledouble\":[],\"multipart/byteranges\":[],\"multipart/digest\":[],\"multipart/encrypted\":[],\"multipart/example\":[],\"multipart/form-data\":[],\"multipart/header-set\":[],\"multipart/mixed\":[],\"multipart/parallel\":[],\"multipart/related\":[],\"multipart/report\":[],\"multipart/signed\":[],\"multipart/voice-message\":[],\"text/1d-interleaved-parityfec\":[],\"text/cache-manifest\":[\"appcache\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/directory\":[],\"text/dns\":[],\"text/ecmascript\":[],\"text/enriched\":[],\"text/example\":[],\"text/fwdred\":[],\"text/html\":[\"html\",\"htm\"],\"text/javascript\":[],\"text/n3\":[\"n3\"],\"text/parityfec\":[],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\"],\"text/prs.fallenstein.rst\":[],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.radisys.msml-basic-layout\":[],\"text/red\":[],\"text/rfc822-headers\":[],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/rtp-enc-aescm128\":[],\"text/rtx\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/t140\":[],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/ulpfec\":[],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.abc\":[],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.dmclientscript\":[],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.esmertec.theme-descriptor\":[],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.iptc.newsml\":[],\"text/vnd.iptc.nitf\":[],\"text/vnd.latex-z\":[],\"text/vnd.motorola.reflex\":[],\"text/vnd.ms-mediapackage\":[],\"text/vnd.net2phone.commcenter.command\":[],\"text/vnd.si.uricatalogue\":[],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.trolltech.linguist\":[],\"text/vnd.wap.si\":[],\"text/vnd.wap.sl\":[],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-java-source\":[\"java\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-nfo\":[\"nfo\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/xml-external-parsed-entity\":[],\"video/1d-interleaved-parityfec\":[],\"video/3gpp\":[\"3gp\"],\"video/3gpp-tt\":[],\"video/3gpp2\":[\"3g2\"],\"video/bmpeg\":[],\"video/bt656\":[],\"video/celb\":[],\"video/dv\":[],\"video/example\":[],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h263-1998\":[],\"video/h263-2000\":[],\"video/h264\":[\"h264\"],\"video/h264-rcdo\":[],\"video/h264-svc\":[],\"video/jpeg\":[\"jpgv\"],\"video/jpeg2000\":[],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp1s\":[],\"video/mp2p\":[],\"video/mp2t\":[],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mp4v-es\":[],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/mpeg4-generic\":[],\"video/mpv\":[],\"video/nv\":[],\"video/ogg\":[\"ogv\"],\"video/parityfec\":[],\"video/pointer\":[],\"video/quicktime\":[\"qt\",\"mov\"],\"video/raw\":[],\"video/rtp-enc-aescm128\":[],\"video/rtx\":[],\"video/smpte292m\":[],\"video/ulpfec\":[],\"video/vc1\":[],\"video/vnd.cctv\":[],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.mp4\":[],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.directv.mpeg\":[],\"video/vnd.directv.mpeg-tts\":[],\"video/vnd.dlna.mpeg-tts\":[],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.hns.video\":[],\"video/vnd.iptvforum.1dparityfec-1010\":[],\"video/vnd.iptvforum.1dparityfec-2005\":[],\"video/vnd.iptvforum.2dparityfec-1010\":[],\"video/vnd.iptvforum.2dparityfec-2005\":[],\"video/vnd.iptvforum.ttsavc\":[],\"video/vnd.iptvforum.ttsmpeg2\":[],\"video/vnd.motorola.video\":[],\"video/vnd.motorola.videop\":[],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.nokia.interleaved-multimedia\":[],\"video/vnd.nokia.videovoip\":[],\"video/vnd.objectvideo\":[],\"video/vnd.sealed.mpeg1\":[],\"video/vnd.sealed.mpeg4\":[],\"video/vnd.sealed.swf\":[],\"video/vnd.sealedmedia.softseal.mov\":[],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],525:[function(e,t,n){t.exports={\"text/vtt\":[\"vtt\"],\"application/x-chrome-extension\":[\"crx\"],\"text/x-component\":[\"htc\"],\"text/cache-manifest\":[\"manifest\"],\"application/octet-stream\":[\"buffer\"],\"application/mp4\":[\"m4p\"],\"audio/mp4\":[\"m4a\"],\"video/MP2T\":[\"ts\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"text/x-lua\":[\"lua\"],\"application/x-lua-bytecode\":[\"luac\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/plain\":[\"ini\"],\"application/dash+xml\":[\"mdp\"],\"font/opentype\":[\"otf\"],\"application/json\":[\"map\"],\"application/xml\":[\"xsd\"]}},{}],526:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=e.portA,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function a(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function s(e){var t=e.proxy,n={proxy:{host:t.hostname,port:+t.port,proxyAuth:t.auth,headers:e.proxyHeaders},rejectUnauthorized:e.rejectUnauthorized,headers:e.headers,ca:e.ca,cert:e.cert,key:e.key};return n}function c(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function u(e){var t=e.uri,n=e.proxy,r=c(t,n);return I[r]}function p(e){var t=process.env.NO_PROXY||process.env.no_proxy||null;\nif(\"*\"===t)return null;if(null!==t){var n,r,i,o,a,s,c;r=e.hostname.replace(/^\\.*/,\".\").toLowerCase(),c=t.split(\",\");for(var u=0,p=c.length;p>u;u++)if(n=c[u].trim().toLowerCase(),n.indexOf(\":\")>-1){if(o=n.split(\":\",2),a=o[0].replace(/^\\.*/,\".\"),s=o[1],i=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),i===s&&r.indexOf(a)===r.length-a.length)return null}else{n=n.replace(/^\\.*/,\".\");var l=r.indexOf(n);if(l>-1&&l===r.length-n.length)return null}}return\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}function l(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function f(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function d(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:f.call(e.request)}}function h(e){var t=this;b.Stream.call(t);var n=Object.keys(h.prototype),o=r(n,e);b.Stream.call(t),y._extend(t,o),e=i(n,e),t.readable=!0,t.writable=!0,\"undefined\"==typeof e.tunnel&&(e.tunnel=!1),e.method&&(t.explicitMethod=!0),t.canTunnel=e.tunnel!==!1&&I,t.init(e)}var m=e(\"http\"),v=e(\"https\"),g=e(\"url\"),y=e(\"util\"),b=e(\"stream\"),x=e(\"qs\"),w=e(\"querystring\"),_=e(\"zlib\"),k=e(\"./lib/helpers\"),j=e(\"bl\"),S=e(\"oauth-sign\"),E=e(\"hawk\"),O=e(\"aws-sign2\"),A=e(\"http-signature\"),C=e(\"node-uuid\"),T=e(\"mime-types\"),I=e(\"tunnel-agent\"),P=e(\"stringstream\"),F=e(\"caseless\"),M=e(\"forever-agent\"),z=e(\"form-data\"),B=e(\"./lib/cookies\"),N=e(\"./lib/copy\"),D=e(\"./lib/debug\"),q=(e(\"net\"),e(\"combined-stream\")),R=k.safeStringify,L=k.md5,$=k.isReadStream,U=k.toBase64,H=k.defer,V=B.jar(),W={},Y=/^https?:/,K=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"transfer-encoding\",\"user-agent\",\"via\"],G=[\"proxy-authorization\"];y.inherits(h,b.Stream),h.prototype.setupTunnel=function(){var e=this;if(\"string\"==typeof e.proxy&&(e.proxy=g.parse(e.proxy)),!e.proxy)return!1;if(!e.tunnel&&\"https:\"!==e.uri.protocol)return!1;e.proxyHeaderExclusiveList||(e.proxyHeaderExclusiveList=[]);var t=e.proxyHeaderExclusiveList.concat(G);e.proxyHeaderWhiteList||(e.proxyHeaderWhiteList=K);var n=e.proxyHeaderWhiteList.concat(t),r=o(e.uri);e.proxyHeaders=a(e.headers,n),e.proxyHeaders.host=r,t.forEach(e.removeHeader,e);var i=u(e),c=s(e);return e.agent=i(c),e.tunnel=!0,!0},h.prototype.init=function(e){var t=this;if(e||(e={}),t.headers=t.headers?N(t.headers):{},F.httpify(t,t.headers),t.method||(t.method=e.method||\"GET\"),t.localAddress=e.localAddress,t.qsLib||(t.qsLib=e.useQuerystring?w:x),D(e),t.pool||t.pool===!1||(t.pool=W),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on(\"error\",t.callback.bind()),t.on(\"complete\",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),!t.uri)return t.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof t.uri&&(t.uri=g.parse(t.uri)),\"unix:\"===t.uri.protocol)return t.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===t.uri.host){var r=t.uri.path.split(\":\"),i=r[0],o=r[1];t.socketPath=i,t.uri.pathname=o,t.uri.path=o,t.uri.host=i,t.uri.hostname=i,t.uri.isUnix=!0}if(t.strictSSL===!1&&(t.rejectUnauthorized=!1),t.hasOwnProperty(\"proxy\")||(t.proxy=p(t.uri)),t.tunnel=!!e.tunnel,t.proxy&&t.setupTunnel(),t.uri.pathname||(t.uri.pathname=\"/\"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var a=g.format(t.uri),s='Invalid URI \"'+a+'\"';return 0===Object.keys(e).length&&(s+=\". This can be caused by a crappy redirection.\"),t.emit(\"error\",new Error(s))}if(t._redirectsFollowed=t._redirectsFollowed||0,t.maxRedirects=void 0!==t.maxRedirects?t.maxRedirects:10,t.allowRedirect=\"function\"==typeof t.followRedirect?t.followRedirect:function(e){return!0},t.followRedirects=void 0!==t.followRedirect?!!t.followRedirect:!0,t.followAllRedirects=void 0!==t.followAllRedirects?t.followAllRedirects:!1,(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),t.setHost=!1,!t.hasHeader(\"host\")){var c=t.originalHostHeaderName||\"host\";t.setHeader(c,t.uri.hostname),t.uri.port&&(80===t.uri.port&&\"http:\"===t.uri.protocol||443===t.uri.port&&\"https:\"===t.uri.protocol||t.setHeader(c,t.getHeader(\"host\")+(\":\"+t.uri.port))),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||(\"http:\"===t.uri.protocol?t.uri.port=80:\"https:\"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var u=e.formData,l=t.form(),f=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in u)if(u.hasOwnProperty(d)){var h=u[d];if(h instanceof Array)for(var y=0;y<h.length;y++)f(d,h[y]);else f(d,h)}}if(e.qs&&t.qs(e.qs),t.uri.path?t.path=t.uri.path:t.path=t.uri.pathname+(t.uri.search||\"\"),0===t.path.length&&(t.path=\"/\"),e.oauth&&t.oauth(e.oauth),e.aws&&t.aws(e.aws),e.hawk&&t.hawk(e.hawk),e.httpSignature&&t.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),t.gzip&&!t.hasHeader(\"accept-encoding\")&&t.setHeader(\"accept-encoding\",\"gzip\"),t.uri.auth&&!t.hasHeader(\"authorization\")){var b=t.uri.auth.split(\":\").map(function(e){return w.unescape(e)});t.auth(b[0],b.slice(1).join(\":\"),!0)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader(\"proxy-authorization\")){var _=t.proxy.auth.split(\":\").map(function(e){return w.unescape(e)}),k=\"Basic \"+U(_.join(\":\"));t.setHeader(\"proxy-authorization\",k)}if(t.proxy&&!t.tunnel&&(t.path=t.uri.protocol+\"//\"+t.uri.host+t.path),e.json&&t.json(e.json),e.multipart&&(t.boundary=C(),t.multipart(e.multipart)),t.body){var j=0;if(n.isBuffer(t.body))j=t.body.length;else if(Array.isArray(t.body))for(var S=0;S<t.body.length;S++)j+=t.body[S].length;else t.body=new n(t.body),j=t.body.length;if(!j)throw new Error(\"Argument error, options.body.\");t.hasHeader(\"content-length\")||t.setHeader(\"content-length\",j)}var E=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol,O={\"http:\":m,\"https:\":v},A=t.httpModules||{};return t.httpModule=A[E]||O[E],t.httpModule?(e.ca&&(t.ca=e.ca),t.agent||(e.agentOptions&&(t.agentOptions=e.agentOptions),e.agentClass?t.agentClass=e.agentClass:e.forever?t.agentClass=\"http:\"===E?M:M.SSL:t.agentClass=t.httpModule.Agent),t.pool===!1?t.agent=!1:t.agent=t.agent||t.getNewAgent(),t.on(\"pipe\",function(e){if(t.ntick&&t._started)throw new Error(\"You cannot pipe to this stream after the outbound request has started.\");if(t.src=e,$(e))t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",T.lookup(e.path));else{if(e.headers)for(var n in e.headers)t.hasHeader(n)||t.setHeader(n,e.headers[n]);t._json&&!t.hasHeader(\"content-type\")&&t.setHeader(\"content-type\",\"application/json\"),e.method&&!t.explicitMethod&&(t.method=e.method)}}),void H(function(){if(!t._aborted){var e=function(){t._form&&t._form.pipe(t),t._multipart&&t._multipart.pipe(t),t.body?(Array.isArray(t.body)?t.body.forEach(function(e){t.write(e)}):t.write(t.body),t.end()):t.requestBodyStream?(console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),t.requestBodyStream.pipe(t)):t.src||(\"GET\"!==t.method&&\"undefined\"!=typeof t.method&&t.setHeader(\"content-length\",0),t.end())};t._form&&!t.hasHeader(\"content-length\")?(t.setHeader(t._form.getHeaders()),t._form.getLength(function(n,r){n||t.setHeader(\"content-length\",r),e()})):e(),t.ntick=!0}})):t.emit(\"error\",new Error(\"Invalid protocol: \"+E))},h.prototype._updateProtocol=function(){var e=this,t=e.uri.protocol;if(\"https:\"===t||e.tunnel){if(e.proxy&&e.setupTunnel())return;switch(e.httpModule=v,e.agentClass){case M:e.agentClass=M.SSL;break;case m.Agent:e.agentClass=v.Agent;break;default:return}e.agent&&(e.agent=e.getNewAgent())}else{switch(e.httpModule=m,e.agentClass){case M.SSL:e.agentClass=M;break;case v.Agent:e.agentClass=m.Agent;break;default:return}e.agent&&(e.agent=null,e.agent=e.getNewAgent())}},h.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=g.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===W&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},h.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=N(e);delete t.auth,D(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timeout&&!e.timeoutTimer&&(e.timeoutTimer=setTimeout(function(){e.abort();var t=new Error(\"ETIMEDOUT\");t.code=\"ETIMEDOUT\",e.emit(\"error\",t)},e.timeout),e.req.setTimeout&&e.req.setTimeout(e.timeout,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",e.emit(\"error\",t)}})),e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",l)}),e.emit(\"request\",e.req)}},h.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},h.prototype.onRequestResponse=function(e){var t=this;if(D(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){D(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(l)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",l)),t._aborted)return D(\"aborted\",t.uri.href),void e.resume();if(t._paused?e.pause():e.resume&&e.resume(),t.response=e,e.request=t,e.toJSON=d,t.httpModule===v&&t.strictSSL&&(!e.hasOwnProperty(\"client\")||!e.client.authorized)){D(\"strict ssl error\",t.uri.href);var r=e.hasOwnProperty(\"client\")?e.client.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+r))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var i=t._jar&&t._jar.setCookie?t._jar:V,o=function(e){try{i.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=F(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(o):o(e.headers[a])}var s=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var c=e.caseless.get(\"location\");if(D(\"redirect\",c),t.followAllRedirects)s=c;else if(t.followRedirects)switch(t.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:s=c}}else if(401===e.statusCode&&t._hasAuth&&!t._sentAuth){var u=e.caseless.get(\"www-authenticate\"),p=u&&u.split(\" \")[0].toLowerCase();switch(D(\"reauth\",p),p){case\"basic\":t.auth(t._user,t._pass,!0),s=t.uri;break;case\"bearer\":t.auth(null,null,!0,t._bearer),s=t.uri;break;case\"digest\":for(var f={},h=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var m=h.exec(u);if(!m)break;f[m[1]]=m[2]||m[3]}var y=L(t._user+\":\"+f.realm+\":\"+t._pass),b=L(t.method+\":\"+t.uri.path),x=/(^|,)\\s*auth\\s*($|,)/.test(f.qop)&&\"auth\",w=x&&\"00000001\",k=x&&C().replace(/-/g,\"\"),S=L(x?y+\":\"+f.nonce+\":\"+w+\":\"+k+\":\"+x+\":\"+b:y+\":\"+f.nonce+\":\"+b),E={username:t._user,realm:f.realm,nonce:f.nonce,uri:t.uri.path,qop:x,response:S,nc:w,cnonce:k,algorithm:f.algorithm,opaque:f.opaque};u=[];for(var O in E)E[O]&&(\"qop\"===O||\"nc\"===O||\"algorithm\"===O?u.push(O+\"=\"+E[O]):u.push(O+'=\"'+E[O]+'\"'));u=\"Digest \"+u.join(\", \"),t.setHeader(\"authorization\",u),t._sentAuth=!0,s=t.uri}}if(s&&t.allowRedirect.call(t,e)){if(D(\"redirect to\",s),t._paused&&e.resume(),t._redirectsFollowed>=t.maxRedirects)return void t.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+t.uri.href));t._redirectsFollowed+=1,Y.test(s)||(s=g.resolve(t.uri.href,s));var A=t.uri;return t.uri=g.parse(s),t.uri.protocol!==A.protocol&&t._updateProtocol(),t.redirects.push({statusCode:e.statusCode,redirectUri:s}),t.followAllRedirects&&401!==e.statusCode&&307!==e.statusCode&&(t.method=\"GET\"),delete t.src,delete t.req,delete t.agent,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader(\"host\"),t.removeHeader(\"content-type\"),t.removeHeader(\"content-length\"),t.uri.hostname!==t.originalHost.split(\":\")[0]&&t.removeHeader(\"authorization\"))),t.emit(\"redirect\"),void t.init()}t._redirectsFollowed=t._redirectsFollowed||0,e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var T;if(t.gzip){var I=e.headers[\"content-encoding\"]||\"identity\";I=I.trim().toLowerCase(),\"gzip\"===I?(T=_.createGunzip(),e.pipe(T)):(\"identity\"!==I&&D(\"ignoring unrecognized Content-Encoding \"+I),T=e)}else T=e;if(t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):T.setEncoding?T.setEncoding(t.encoding):T=T.pipe(P(t.encoding))),t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),T.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),T.on(\"end\",function(e){t.emit(\"end\",e)}),T.on(\"error\",function(e){t.emit(\"error\",e)}),T.on(\"close\",function(){t.emit(\"close\")}),t.callback){var M=j(),z=[];t.on(\"data\",function(e){n.isBuffer(e)?M.append(e):z.push(e)}),t.on(\"end\",function(){if(D(\"end event\",t.uri.href),t._aborted)return void D(\"aborted\",t.uri.href);if(M.length?(D(\"has body\",t.uri.href,M.length),null===t.encoding?e.body=M.slice():e.body=M.toString(t.encoding)):z.length&&(\"utf8\"===t.encoding&&z[0].length>0&&\"\\ufeff\"===z[0][0]&&(z[0]=z[0].substring(1)),e.body=z.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(n){}D(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=\"\"),t.emit(\"complete\",e,e.body)})}else t.on(\"end\",function(){return t._aborted?void D(\"aborted\",t.uri.href):void t.emit(\"complete\",e)});D(\"finish init function\",t.uri.href)},h.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.abort(),e.emit(\"abort\")},h.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},h.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r.qsLib.parse(r.uri.query):{};for(var i in e)n[i]=e[i];return\"\"===r.qsLib.stringify(n)?r:(r.uri=g.parse(r.uri.href.split(\"?\")[0]+\"?\"+r.qsLib.stringify(n)),r.url=r.uri,r.path=r.uri.path,r)},h.prototype.form=function(e){var t=this;return e?(t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?e.toString(\"utf8\"):t.qsLib.stringify(e).toString(\"utf8\"),t):(t._form=new z,t._form)},h.prototype.multipart=function(e){function t(e){return i?o.append(e):o.push(new n(e))}var r=this,i=e instanceof Array||void 0===e.chunked||e.chunked;e=e.data||e;var o=i?new q:[];i&&r.setHeader(\"transfer-encoding\",\"chunked\");var a=r.hasHeader(\"content-type\");if(a&&-1!==r.headers[a].indexOf(\"multipart\")?r.setHeader(a,r.headers[a].split(\";\")[0]+\"; boundary=\"+r.boundary):r.setHeader(\"content-type\",\"multipart/related; boundary=\"+r.boundary),!e.forEach)throw new Error(\"Argument error, options.multipart.\");return r.preambleCRLF&&t(\"\\r\\n\"),e.forEach(function(e){var n=e.body;if(\"undefined\"==typeof n)throw new Error(\"Body attribute missing in multipart.\");var i=\"--\"+r.boundary+\"\\r\\n\";Object.keys(e).forEach(function(t){\"body\"!==t&&(i+=t+\": \"+e[t]+\"\\r\\n\")}),i+=\"\\r\\n\",t(i),t(n),t(\"\\r\\n\")}),t(\"--\"+r.boundary+\"--\"),r.postambleCRLF&&t(\"\\r\\n\"),r[i?\"_multipart\":\"body\"]=o,r},h.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&\"application/x-www-form-urlencoded\"!==t.getHeader(\"content-type\")&&(t.body=R(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=R(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},h.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n};var J=h.prototype.getHeader;h.prototype.auth=function(e,t,n,r){var i=this;if(void 0!==r)return i._bearer=r,i._hasAuth=!0,(n||\"undefined\"==typeof n)&&(\"function\"==typeof r&&(r=r()),i.setHeader(\"authorization\",\"Bearer \"+r),i._sentAuth=!0),i;if(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)throw new Error(\"auth() received invalid user or password\");i._user=e,i._pass=t,i._hasAuth=!0;var o=\"undefined\"!=typeof t?e+\":\"+t:e;return(n||\"undefined\"==typeof n)&&(i.setHeader(\"authorization\",\"Basic \"+U(o)),i._sentAuth=!0),i},h.prototype.aws=function(e,t){var n=this;if(!t)return n._aws=e,n;var r=new Date;n.setHeader(\"date\",r.toUTCString());var i={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:r,contentType:n.getHeader(\"content-type\")||\"\",md5:n.getHeader(\"content-md5\")||\"\",amazonHeaders:O.canonicalizeHeaders(n.headers)},o=n.uri.path;return e.bucket&&o?i.resource=\"/\"+e.bucket+o:e.bucket&&!o?i.resource=\"/\"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource=\"/\"),i.resource=O.canonicalizeResource(i.resource),n.setHeader(\"authorization\",O.authorization(i)),n},h.prototype.httpSignature=function(e){var t=this;return A.signRequest({getHeader:function(e){return J(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),D(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},h.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",E.client.header(t.uri,t.method,e).field)},h.prototype.oauth=function(e){var t,n,r=this;r.hasHeader(\"content-type\")&&\"application/x-www-form-urlencoded\"===r.getHeader(\"content-type\").slice(0,\"application/x-www-form-urlencoded\".length)&&(t=r.body),r.uri.query&&(n=r.uri.query);var i={};for(var o in e)i[\"oauth_\"+o]=e[o];\"oauth_realm\"in i&&delete i.oauth_realm,i.oauth_version||(i.oauth_version=\"1.0\"),i.oauth_timestamp||(i.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),i.oauth_nonce||(i.oauth_nonce=C().replace(/-/g,\"\")),i.oauth_signature_method||(i.oauth_signature_method=\"HMAC-SHA1\");var a=i.oauth_consumer_secret||i.oauth_private_key;delete i.oauth_consumer_secret,delete i.oauth_private_key;var s=i.oauth_token_secret;delete i.oauth_token_secret;var c=r.uri.protocol+\"//\"+r.uri.host+r.uri.pathname,u=r.qsLib.parse([].concat(n,t,r.qsLib.stringify(i)).join(\"&\")),p=S.sign(i.oauth_signature_method,r.method,c,u,a,s),l=e.realm?'realm=\"'+e.realm+'\",':\"\",f=\"OAuth \"+l+Object.keys(i).sort().map(function(e){return e+'=\"'+S.rfc3986(i[e])+'\"'}).join(\",\");return f+=',oauth_signature=\"'+S.rfc3986(p)+'\"',r.setHeader(\"Authorization\",f),r},h.prototype.jar=function(e){var t,n=this;if(0===n._redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:V,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},h.prototype.pipe=function(e,t){var n=this;if(n.response){if(n._destdata)throw new Error(\"You cannot pipe after data has been emitted from the response.\");if(n._ended)throw new Error(\"You cannot pipe after the response has been ended.\");return b.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e}return n.dests.push(e),b.Stream.prototype.pipe.call(n,e,t),e},h.prototype.write=function(){var e=this;return e._started||e.start(),e.req.write.apply(e.req,arguments)},h.prototype.end=function(e){var t=this;e&&t.write(e),t._started||t.start(),t.req.end()},h.prototype.pause=function(){var e=this;e.response?e.response.pause.apply(e.response,arguments):e._paused=!0},h.prototype.resume=function(){var e=this;e.response?e.response.resume.apply(e.response,arguments):e._paused=!1},h.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},h.defaultProxyHeaderWhiteList=K.slice(),h.defaultProxyHeaderExclusiveList=G.slice(),h.prototype.toJSON=f,t.exports=h}).call(this,e(\"buffer\").Buffer)},{\"./lib/cookies\":518,\"./lib/copy\":519,\"./lib/debug\":520,\"./lib/helpers\":521,\"aws-sign2\":477,bl:478,buffer:void 0,caseless:481,\"combined-stream\":482,\"forever-agent\":486,\"form-data\":487,hawk:488,http:void 0,\"http-signature\":497,https:void 0,\"mime-types\":523,net:void 0,\"node-uuid\":361,\"oauth-sign\":507,qs:508,querystring:void 0,stream:void 0,stringstream:457,\"tunnel-agent\":465,url:void 0,util:void 0,zlib:void 0}],527:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":528,dup:434}],528:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=!1,l=function(e,t){return c&&(clearTimeout(c),c=0),p?void 0:(p=!0,f.removeAllListeners(),f.close(),n(e,t))},f=r.createSocket(\"udp4\");f.once(\"error\",function(e){return l(e)}),f.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return l(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return l(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,p=r.transmitTimestamp,f=n;return r.d=f-o-(p-c),r.t=(c-o+(p-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),l(null,r)}):l(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,l(new Error(\"Timeout\"))},s.timeout));for(var d=new t(48),h=0;48>h;h++)d[h]=0;d[0]=35,u=Date.now(),a.fromMsecs(u,d,40),f.send(d,0,d.length,s.port,s.host,function(e,t){return e||48!==t?l(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:494}],529:[function(e,t,n){\"use strict\";function r(e){for(var t=e.listeners(\"data\"),n=0;n<t.length;n++)if(\"ondata\"===t[n].name)return!0;return!1}function i(e){if(!e)throw new TypeError(\"argument stream is required\");if(\"function\"==typeof e.unpipe)return void e.unpipe();if(r(e))for(var t,n=e.listeners(\"close\"),i=0;i<n.length;i++)t=n[i],\"cleanup\"!==t.name&&\"onclose\"!==t.name||t.call(e)}t.exports=i},{}],530:[function(e,t,n){t.exports=e(\"util\").deprecate},{util:void 0}],531:[function(e,t,n){n=t.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},{}],532:[function(e,t,n){\"use strict\";function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"header argument is required\");if(!t)throw new TypeError(\"field argument is required\");for(var n=Array.isArray(t)?t:i(String(t)),r=0;r<n.length;r++)if(a.test(n[r]))throw new TypeError(\"field argument contains an invalid header\");if(\"*\"===e)return e;var o=e,s=i(e.toLowerCase());if(-1!==n.indexOf(\"*\")||-1!==s.indexOf(\"*\"))return\"*\";for(var r=0;r<n.length;r++){var c=n[r].toLowerCase();-1===s.indexOf(c)&&(s.push(c),o=o?o+\", \"+n[r]:n[r])}return o}function i(e){return e.trim().split(/ *, */)}function o(e,t){if(!e||!e.getHeader||!e.setHeader)throw new TypeError(\"res argument is required\");var n=e.getHeader(\"Vary\")||\"\",i=Array.isArray(n)?n.join(\", \"):String(n);(n=r(i,t))&&e.setHeader(\"Vary\",n)}t.exports=o,t.exports.append=r;var a=/[\\(\\)<>@,;:\\\\\"\\/\\[\\]\\?=\\{\\}\\u0020\\u0009]/},{}],533:[function(e,t,n){function r(e){var t,n,r,i;e instanceof Error||\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),i=t.length>0?c.sprintf.apply(null,t):\"\",this.jse_shortmsg=i,this.jse_summary=i,e&&(n=e.cause,n&&e.cause instanceof Error||(n=e),n&&n instanceof Error&&(this.jse_cause=n,this.jse_summary+=\": \"+n.message)),this.message=this.jse_summary,Error.call(this,this.jse_summary),Error.captureStackTrace&&(r=e?e.constructorOpt:void 0,r=r||arguments.callee,Error.captureStackTrace(this,r))}function i(e){a.ok(e.length>0),this.ase_errors=e,r.call(this,e[0],\"first of %d error%s\",e.length,1==e.length?\"\":\"s\")}function o(e){Error.call(this);var t,n,r;\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),t.length>0?this.message=c.sprintf.apply(null,t):this.message=\"\",e&&(e instanceof Error?n=e:(n=e.cause,r=e.constructorOpt)),Error.captureStackTrace(this,r||this.constructor),n&&this.cause(n)}var a=e(\"assert\"),s=e(\"util\"),c=e(\"extsprintf\");n.VError=r,n.WError=o,n.MultiError=i,s.inherits(r,Error),r.prototype.name=\"VError\",r.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),e},r.prototype.cause=function(){return this.jse_cause},s.inherits(i,r),s.inherits(o,Error),o.prototype.name=\"WError\",o.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),this.we_cause&&this.we_cause.message&&(e+=\"; caused by \"+this.we_cause.toString()),e},o.prototype.cause=function(e){return e instanceof Error&&(this.we_cause=e),this.we_cause}},{assert:void 0,extsprintf:114,util:void 0}],534:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)i.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],535:[function(e,t,n){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&\"function\"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){return this instanceof a?(this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,void(n?(n.prev=this,this.next=n):this.next=null)):new a(e,t,n,r)}t.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error(\"removing node which does not belong to this list\");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){\nfor(var e=0,t=arguments.length;t>e;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail.next=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head.prev=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&e>t;t++)n=n.next;return t===e&&null!==n?n.value:void 0},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&e>t;t++)n=n.prev;return t===e&&null!==n?n.value:void 0},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},{}],536:[function(e,t,n){var r={SERVERLESS_PROJECT:\"serverless-starter\",SERVERLESS_STAGE:\"dev\",SERVERLESS_REGION:\"us-east-1\",SERVERLESS_DATA_MODEL_STAGE:\"dev\"};for(var i in r)process.env[i]=r[i];n.handler=e(\"./handler\").handler},{\"./handler\":537}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports.handler=function(e,t){r.multiShow(e,function(e,n){return t.done(e,n)})}},{\"../../lib\":1}],538:[function(e,t,n){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}]},{},[536])(536)});"}}}},"criteria":{"id":{"type":"string","pattern":"/subscriptions/.*","required":true},"name":{"type":"string","pattern":".*/.*","required":true},"function_app_id":{"type":"string","pattern":"/subscriptions/.*/resourceGroups/.*/providers/Microsoft.Web/sites/.*"},"type":{"type":"string","pattern":"Microsoft.Web/sites/functions","required":true},"location":{"type":"string","required":true},"script_root_path_href":{"type":"string","script_href":""},"script_href":{"type":"string","script_href":"https://.*.scm.azurewebsites.net/.*"},"config_href":{"type":"","test_data_href":"https://.*.scm.azurewebsites.net/.*"},"properties":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"required":true},"function_app_id":{"type":"string","minLength":1,"required":true},"script_root_path_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"script_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"config_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"secrets_file_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data":{"type":"string","required":true},"files":{"required":false},"config":{"type":"object","properties":{"bindings":{"type":"array"}}}}}}},{"message":"Failed \"additionalProperties\" criteria: unexpected property (value)","context":"#","value":{"value":{"location":"West US","properties":{"config":{"bindings":[{"type":"http","direction":"in","name":"req"}]},"files":{"index.js":"!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var t;t=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,t.lambda=e()}}(function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var c=\"function\"==typeof require&&require;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var p=n[a]={exports:{}};t[a][0].call(p.exports,function(e){var n=t[a][1][e];return i(n?n:e)},p,p.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){var r=(e(\"sendgrid\"),e(\"unirest\"),e(\"bluebird\"),e(\"skeemas\"),e(\"mongoose\"),e(\"passport\")),i=e(\"express\");e(\"moment\"),e(\"lodash\");t.exports.singleAll=function(e,t){var n={message:\"Your Serverless function ran successfully via the '\"+e.httpMethod+\"' method!\"};return t(null,n)},t.exports.multiCreate=function(e,t){var n={message:\"Your Serverless function 'multi/create' ran successfully!\"};return t(null,n)},t.exports.multiShow=function(e,t){var n=(i(),n(new Date));r.init;mogoose.connect(\"httt:/p\");var o={message:\"Your Serverless function 'multi/show' ran successfully with the following ID '\"+e.pathId+\"'!\"};return t(null,o)}},{bluebird:18,express:98,lodash:177,moment:187,mongoose:247,passport:371,sendgrid:410,skeemas:419,unirest:468}],2:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(this.headers=e.headers,void(this.negotiator=new a(e))):new r(e)}function i(e){return-1===e.indexOf(\"/\")?s.lookup(e):e}function o(e){return\"string\"==typeof e}var a=e(\"negotiator\"),s=e(\"mime-types\");t.exports=r,r.prototype.type=r.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||0===t.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(i),a=this.negotiator.mediaTypes(r.filter(o)),s=a[0];return s?t[r.indexOf(s)]:!1},r.prototype.encoding=r.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.encodings(t)[0]||!1:this.negotiator.encodings()},r.prototype.charset=r.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.charsets(t)[0]||!1:this.negotiator.charsets()},r.prototype.lang=r.prototype.langs=r.prototype.language=r.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return t&&0!==t.length?this.negotiator.languages(t)[0]||!1:this.negotiator.languages()}},{\"mime-types\":184,negotiator:356}],3:[function(e,t,n){\"use strict\";function r(e,t,n){for(var i=0;i<e.length;i++){var o=e[i];n>0&&Array.isArray(o)?r(o,t,n-1):t.push(o)}return t}function i(e,t){for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?i(r,t):t.push(r)}return t}function o(e,t){return null==t?i(e,[]):r(e,[],t)}t.exports=o},{}],4:[function(e,t,n){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name=\"InvalidAsn1Error\",t.message=e||\"\",t}}},{}],5:[function(e,t,n){var r=e(\"./errors\"),i=e(\"./types\"),o=e(\"./reader\"),a=e(\"./writer\");t.exports={Reader:o,Writer:a};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in r)r.hasOwnProperty(c)&&(t.exports[c]=r[c])},{\"./errors\":4,\"./reader\":6,\"./types\":7,\"./writer\":8}],6:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(r.prototype,\"offset\",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(r.prototype,\"remain\",{get:function(){return this._size-this._offset}}),Object.defineProperty(r.prototype,\"buffer\",{get:function(){return this._buf.slice(this._offset)}}),r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var r=this.peek();if(null===r)return null;if(r!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+r.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new n(0):\"\";var a=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?a:a.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.readString(e,!0);if(null===t)return null;for(var n=[],r=0,i=0;i<t.length;i++){var a=255&t[i];r<<=7,r+=127&a,0==(128&a)&&(n.push(r),r=0)}return r=n.shift(),n.unshift(r%40),n.unshift(r/40>>0),n.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;for(var r=this._buf[this._offset],o=0,a=0;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&4!==a&&(o-=1<<8*a),o>>0},t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],7:[function(e,t,n){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],8:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,\"buffer\",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+\" unended sequence(s)\");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||-8388608===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":4,\"./types\":7,assert:void 0,buffer:void 0}],9:[function(e,t,n){var r=e(\"./ber/index\");t.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},{\"./ber/index\":5}],10:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e,t,n,r,o){throw new c.AssertionError({message:p.format(\"%s (%s) is required\",e,t),actual:void 0===o?typeof r:o(r),expected:t,operator:n||\"===\",stackStartFunction:i.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function a(){}function s(e){var t,n=Object.keys(f);return t=process.env.NODE_NDEBUG?a:function(e,t){e||i(t,\"true\",e)},n.forEach(function(n){if(e)return void(t[n]=a);var r=f[n];t[n]=function(e,t){r.check(e)||i(t,n,r.operator,e,r.actual)}}),n.forEach(function(n){var o=\"optional\"+r(n);if(e)return void(t[o]=a);var s=f[n];t[o]=function(e,t){void 0!==e&&null!==e&&(s.check(e)||i(t,n,s.operator,e,s.actual))}}),n.forEach(function(n){var o=\"arrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}),n.forEach(function(n){var o=\"optionalArrayOf\"+r(n);if(e)return void(t[o]=a);var s=f[n],c=\"[\"+n+\"]\";t[o]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||i(t,c,s.operator,e,s.actual);var n;for(n=0;n<e.length;n++)s.check(e[n])||i(t,c,s.operator,e,s.actual)}}}),Object.keys(c).forEach(function(n){return\"AssertionError\"===n?void(t[n]=c[n]):e?void(t[n]=a):void(t[n]=c[n])}),t._setExports=s,t}var c=e(\"assert\"),u=e(\"stream\").Stream,p=e(\"util\"),l=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,f={bool:{check:function(e){return\"boolean\"==typeof e}},func:{check:function(e){return\"function\"==typeof e}},string:{check:function(e){return\"string\"==typeof e}},object:{check:function(e){return\"object\"==typeof e&&null!==e}},number:{check:function(e){return\"number\"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return n.isBuffer(e)},operator:\"Buffer.isBuffer\"},array:{check:function(e){return Array.isArray(e)},operator:\"Array.isArray\"},stream:{check:function(e){return e instanceof u},operator:\"instanceof\",actual:o},date:{check:function(e){return e instanceof Date},operator:\"instanceof\",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:\"instanceof\",actual:o},uuid:{check:function(e){return\"string\"==typeof e&&l.test(e)},operator:\"isUUID\"}};t.exports=s(process.env.NODE_NDEBUG)}).call(this,{isBuffer:e(\"../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],11:[function(e,t,n){(function(e){!function(){function n(){}function r(e){return e}function i(e){return!!e}function o(e){return!e}function a(e){return function(){if(null===e)throw new Error(\"Callback was already called.\");e.apply(this,arguments),e=null}}function s(e){return function(){null!==e&&(e.apply(this,arguments),e=null)}}function c(e){return D(e)||\"number\"==typeof e.length&&e.length>=0&&e.length%1===0}function u(e,t){for(var n=-1,r=e.length;++n<r;)t(e[n],n,e)}function p(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e){return p(Array(e),function(e,t){return t})}function f(e,t,n){return u(e,function(e,r,i){n=t(n,e,r,i)}),n}function d(e,t){u(R(e),function(n){t(e[n],n)})}function h(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}function m(e){var t,n,r=-1;return c(e)?(t=e.length,function(){return r++,t>r?r:null}):(n=R(e),t=n.length,function(){return r++,t>r?n[r]:null})}function v(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;n>i;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r)}}}function g(e){return function(t,n,r){return e(t,r)}}function y(e){return function(t,r,i){i=s(i||n),t=t||[];var o=m(t);if(0>=e)return i(null);var c=!1,u=0,p=!1;!function l(){if(c&&0>=u)return i(null);for(;e>u&&!p;){var n=o();if(null===n)return c=!0,void(0>=u&&i(null));u+=1,r(t[n],n,a(function(e){u-=1,e?(i(e),p=!0):l()}))}}()}}function b(e){return function(t,n,r){return e(z.eachOf,t,n,r)}}function x(e){return function(t,n,r,i){return e(y(n),t,r,i)}}function w(e){return function(t,n,r){return e(z.eachOfSeries,t,n,r)}}function _(e,t,r,i){i=s(i||n),t=t||[];var o=c(t)?[]:{};e(t,function(e,t,n){r(e,function(e,r){o[t]=r,n(e)})},function(e){i(e,o)})}function k(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(n){n&&i.push({index:t,value:e}),r()})},function(){r(p(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})}function j(e,t,n,r){k(e,t,function(e,t){n(e,function(e){t(!e)})},r)}function S(e,t,n){return function(r,i,o,a){function s(){a&&a(n(!1,void 0))}function c(e,r,i){return a?void o(e,function(r){a&&t(r)&&(a(n(!0,e)),a=o=!1),i()}):i()}arguments.length>3?e(r,i,c,s):(a=o,o=i,e(r,c,s))}}function E(e,t){return t}function O(e,t,r){r=r||n;var i=c(t)?[]:{};e(t,function(e,t,n){e(v(function(e,r){r.length<=1&&(r=r[0]),i[t]=r,n(e)}))},function(e){r(e,i)})}function A(e,t,n,r){var i=[];e(t,function(e,t,r){n(e,function(e,t){i=i.concat(t||[]),r(e)})},function(e){r(e,i)})}function C(e,t,r){function i(e,t,r,i){if(null!=i&&\"function\"!=typeof i)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length&&e.idle()?z.setImmediate(function(){e.drain()}):(u(t,function(t){var o={data:t,callback:i||n};r?e.tasks.unshift(o):e.tasks.push(o),e.tasks.length===e.concurrency&&e.saturated()}),void z.setImmediate(e.process))}function o(e,t){return function(){s-=1;var n=!1,r=arguments;u(t,function(e){u(c,function(t,r){t!==e||n||(c.splice(r,1),n=!0)}),e.callback.apply(e,r)}),e.tasks.length+s===0&&e.drain(),e.process()}}if(null==t)t=1;else if(0===t)throw new Error(\"Concurrency must not be zero\");var s=0,c=[],l={tasks:[],concurrency:t,payload:r,saturated:n,empty:n,drain:n,started:!1,paused:!1,push:function(e,t){i(l,e,!1,t)},kill:function(){l.drain=n,l.tasks=[]},unshift:function(e,t){i(l,e,!0,t)},process:function(){for(;!l.paused&&s<l.concurrency&&l.tasks.length;){var t=l.payload?l.tasks.splice(0,l.payload):l.tasks.splice(0,l.tasks.length),n=p(t,function(e){return e.data});0===l.tasks.length&&l.empty(),s+=1,c.push(t[0]);var r=a(o(l,t));e(n,r)}},length:function(){return l.tasks.length},running:function(){return s},workersList:function(){return c},idle:function(){return l.tasks.length+s===0},pause:function(){l.paused=!0},resume:function(){if(l.paused!==!1){l.paused=!1;for(var e=Math.min(l.concurrency,l.tasks.length),t=1;e>=t;t++)z.setImmediate(l.process)}}};return l}function T(e){return v(function(t,n){t.apply(null,n.concat([v(function(t,n){\"object\"==typeof console&&(t?console.error&&console.error(t):console[e]&&u(n,function(t){console[e](t)}))})]))})}function I(e){return function(t,n,r){e(l(t),n,r)}}function P(e){return v(function(t,n){var r=v(function(n){var r=this,i=n.pop();return e(t,function(e,t,i){e.apply(r,n.concat([i]))},i)});return n.length?r.apply(this,n):r})}function F(e){return v(function(t){var n=t.pop();t.push(function(){var e=arguments;r?z.setImmediate(function(){n.apply(null,e)}):n.apply(null,e)});var r=!0;e.apply(this,t),r=!1})}var M,z={},B=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof e&&e.global===e&&e||this;null!=B&&(M=B.async),z.noConflict=function(){return B.async=M,z};var N=Object.prototype.toString,D=Array.isArray||function(e){return\"[object Array]\"===N.call(e)},q=function(e){var t=typeof e;return\"function\"===t||\"object\"===t&&!!e},R=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},L=\"function\"==typeof setImmediate&&setImmediate,$=L?function(e){L(e)}:function(e){setTimeout(e,0)};\"object\"==typeof process&&\"function\"==typeof process.nextTick?z.nextTick=process.nextTick:z.nextTick=$,z.setImmediate=L?$:z.nextTick,z.forEach=z.each=function(e,t,n){return z.eachOf(e,g(t),n)},z.forEachSeries=z.eachSeries=function(e,t,n){return z.eachOfSeries(e,g(t),n)},z.forEachLimit=z.eachLimit=function(e,t,n,r){return y(t)(e,g(n),r)},z.forEachOf=z.eachOf=function(e,t,r){function i(e){u--,e?r(e):null===o&&0>=u&&r(null)}r=s(r||n),e=e||[];for(var o,c=m(e),u=0;null!=(o=c());)u+=1,t(e[o],o,a(i));0===u&&r(null)},z.forEachOfSeries=z.eachOfSeries=function(e,t,r){function i(){var n=!0;return null===c?r(null):(t(e[c],c,a(function(e){if(e)r(e);else{if(c=o(),null===c)return r(null);n?z.setImmediate(i):i()}})),void(n=!1))}r=s(r||n),e=e||[];var o=m(e),c=o();i()},z.forEachOfLimit=z.eachOfLimit=function(e,t,n,r){y(t)(e,n,r)},z.map=b(_),z.mapSeries=w(_),z.mapLimit=x(_),z.inject=z.foldl=z.reduce=function(e,t,n,r){z.eachOfSeries(e,function(e,r,i){n(t,e,function(e,n){t=n,i(e)})},function(e){r(e,t)})},z.foldr=z.reduceRight=function(e,t,n,i){var o=p(e,r).reverse();z.reduce(o,t,n,i)},z.transform=function(e,t,n,r){3===arguments.length&&(r=n,n=t,t=D(e)?[]:{}),z.eachOf(e,function(e,r,i){n(t,e,r,i)},function(e){r(e,t)})},z.select=z.filter=b(k),z.selectLimit=z.filterLimit=x(k),z.selectSeries=z.filterSeries=w(k),z.reject=b(j),z.rejectLimit=x(j),z.rejectSeries=w(j),z.any=z.some=S(z.eachOf,i,r),z.someLimit=S(z.eachOfLimit,i,r),z.all=z.every=S(z.eachOf,o,o),z.everyLimit=S(z.eachOfLimit,o,o),z.detect=S(z.eachOf,r,E),z.detectSeries=S(z.eachOfSeries,r,E),z.detectLimit=S(z.eachOfLimit,r,E),z.sortBy=function(e,t,n){function r(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0}z.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){return e?n(e):void n(null,p(t.sort(r),function(e){return e.value}))})},z.auto=function(e,t,r){function i(e){y.unshift(e)}function o(e){var t=h(y,e);t>=0&&y.splice(t,1)}function a(){p--,u(y.slice(0),function(e){e()})}\"function\"==typeof arguments[1]&&(r=t,t=null),r=s(r||n);var c=R(e),p=c.length;if(!p)return r(null);t||(t=p);var l={},m=0,g=!1,y=[];i(function(){p||r(null,l)}),u(c,function(n){function s(){return t>m&&f(b,function(e,t){return e&&l.hasOwnProperty(t)},!0)&&!l.hasOwnProperty(n)}function c(){s()&&(m++,o(c),p[p.length-1](y,l))}if(!g){for(var u,p=D(e[n])?e[n]:[e[n]],y=v(function(e,t){if(m--,t.length<=1&&(t=t[0]),e){var i={};d(l,function(e,t){i[t]=e}),i[n]=t,g=!0,r(e,i)}else l[n]=t,z.setImmediate(a)}),b=p.slice(0,p.length-1),x=b.length;x--;){if(!(u=e[b[x]]))throw new Error(\"Has nonexistent dependency in \"+b.join(\", \"));if(D(u)&&h(u,n)>=0)throw new Error(\"Has cyclic dependencies\")}s()?(m++,p[p.length-1](y,l)):i(c)}})},z.retry=function(e,t,n){function r(e,t){if(\"number\"==typeof t)e.times=parseInt(t,10)||o;else{if(\"object\"!=typeof t)throw new Error(\"Unsupported argument type for 'times': \"+typeof t);e.times=parseInt(t.times,10)||o,e.interval=parseInt(t.interval,10)||a}}function i(e,t){function n(e,n){return function(r){e(function(e,t){r(!e||n,{err:e,result:t})},t)}}function r(e){return function(t){setTimeout(function(){t(null)},e)}}for(;c.times;){var i=!(c.times-=1);s.push(n(c.task,i)),!i&&c.interval>0&&s.push(r(c.interval))}z.series(s,function(t,n){n=n[n.length-1],(e||c.callback)(n.err,n.result)})}var o=5,a=0,s=[],c={times:o,interval:a},u=arguments.length;if(1>u||u>3)throw new Error(\"Invalid arguments - must be either (task), (task, callback), (times, task) or (times, task, callback)\");return 2>=u&&\"function\"==typeof e&&(n=t,t=e),\"function\"!=typeof e&&r(c,e),c.callback=n,c.task=t,c.callback?i():i},z.waterfall=function(e,t){function r(e){return v(function(n,i){if(n)t.apply(null,[n].concat(i));else{var o=e.next();o?i.push(r(o)):i.push(t),F(e).apply(null,i)}})}if(t=s(t||n),!D(e)){var i=new Error(\"First argument to waterfall must be an array of functions\");return t(i)}return e.length?void r(z.iterator(e))():t()},z.parallel=function(e,t){O(z.eachOf,e,t)},z.parallelLimit=function(e,t,n){O(y(t),e,n)},z.series=function(e,t){O(z.eachOfSeries,e,t)},z.iterator=function(e){function t(n){function r(){return e.length&&e[n].apply(null,arguments),r.next()}return r.next=function(){return n<e.length-1?t(n+1):null},r}return t(0)},z.apply=v(function(e,t){return v(function(n){return e.apply(null,t.concat(n))})}),z.concat=b(A),z.concatSeries=w(A),z.whilst=function(e,t,r){if(r=r||n,e()){var i=v(function(n,o){n?r(n):e.apply(this,o)?t(i):r.apply(null,[null].concat(o))});t(i)}else r(null)},z.doWhilst=function(e,t,n){var r=0;return z.whilst(function(){return++r<=1||t.apply(this,arguments)},e,n)},z.until=function(e,t,n){return z.whilst(function(){return!e.apply(this,arguments)},t,n)},z.doUntil=function(e,t,n){return z.doWhilst(e,function(){return!t.apply(this,arguments)},n)},z.during=function(e,t,r){r=r||n;var i=v(function(t,n){t?r(t):(n.push(o),e.apply(this,n))}),o=function(e,n){e?r(e):n?t(i):r(null)};e(o)},z.doDuring=function(e,t,n){var r=0;z.during(function(e){r++<1?e(null,!0):t.apply(this,arguments)},e,n)},z.queue=function(e,t){var n=C(function(t,n){e(t[0],n)},t,1);return n},z.priorityQueue=function(e,t){function r(e,t){return e.priority-t.priority}function i(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,a){if(null!=a&&\"function\"!=typeof a)throw new Error(\"task callback must be a function\");return e.started=!0,D(t)||(t=[t]),0===t.length?z.setImmediate(function(){e.drain()}):void u(t,function(t){var s={data:t,priority:o,callback:\"function\"==typeof a?a:n};e.tasks.splice(i(e.tasks,s,r)+1,0,s),e.tasks.length===e.concurrency&&e.saturated(),z.setImmediate(e.process)})}var a=z.queue(e,t);return a.push=function(e,t,n){o(a,e,t,n)},delete a.unshift,a},z.cargo=function(e,t){return C(e,1,t)},z.log=T(\"log\"),z.dir=T(\"dir\"),z.memoize=function(e,t){var n={},i={},o=Object.prototype.hasOwnProperty;t=t||r;var a=v(function(r){var a=r.pop(),s=t.apply(null,r);o.call(n,s)?z.setImmediate(function(){a.apply(null,n[s])}):o.call(i,s)?i[s].push(a):(i[s]=[a],e.apply(null,r.concat([v(function(e){n[s]=e;var t=i[s];delete i[s];for(var r=0,o=t.length;o>r;r++)t[r].apply(null,e)})])))});return a.memo=n,a.unmemoized=e,a},z.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},z.times=I(z.map),z.timesSeries=I(z.mapSeries),z.timesLimit=function(e,t,n,r){return z.mapLimit(l(e),t,n,r)},z.seq=function(){var e=arguments;return v(function(t){var r=this,i=t[t.length-1];\"function\"==typeof i?t.pop():i=n,z.reduce(e,t,function(e,t,n){t.apply(r,e.concat([v(function(e,t){n(e,t)})]))},function(e,t){i.apply(r,[e].concat(t))})})},z.compose=function(){return z.seq.apply(null,Array.prototype.reverse.call(arguments))},z.applyEach=P(z.eachOf),z.applyEachSeries=P(z.eachOfSeries),z.forever=function(e,t){function r(e){return e?i(e):void o(r)}var i=a(t||n),o=F(e);r()},z.ensureAsync=F,z.constant=v(function(e){var t=[null].concat(e);return function(e){return e.apply(this,t)}}),z.wrapSync=z.asyncify=function(e){return v(function(t){var n,r=t.pop();try{n=e.apply(this,t)}catch(i){return r(i)}q(n)&&\"function\"==typeof n.then?n.then(function(e){r(null,e)})[\"catch\"](function(e){r(e.message?e:new Error(e))}):r(null,n)})},\"object\"==typeof t&&t.exports?t.exports=z:\"function\"==typeof define&&define.amd?define([],function(){return z}):B.async=z}()}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],13:[function(e,t,n){(function(t){function r(e,t,n){return p.createHmac(\"sha256\",e).update(t,\"utf8\").digest(n)}function i(e,t){return p.createHash(\"sha256\").update(e,\"utf8\").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e,t){\"string\"==typeof e&&(e=c.parse(e));var n=e.headers=e.headers||{},r=this.matchHost(e.hostname||e.host||n.Host||n.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||r[0]||\"\",this.region=e.region||r[1]||\"us-east-1\",\"email\"===this.service&&(this.service=\"ses\"),!e.method&&e.body&&(e.method=\"POST\"),n.Host||n.host||(n.Host=e.hostname||e.host||this.createHost(),e.port&&(n.Host+=\":\"+e.port)),e.hostname||e.host||(e.hostname=n.Host||n.host)}var s=n,c=e(\"url\"),u=e(\"querystring\"),p=e(\"crypto\"),l=e(\"lru-cache\"),f=l(1e3);a.prototype.matchHost=function(e){var t=(e||\"\").match(/([^\\.]+)\\.(?:([^\\.]*)\\.)?amazonaws\\.com$/),n=(t||[]).slice(1,3);return\"es\"===n[1]&&(n=n.reverse()),n},a.prototype.isSingleRegion=function(){return[\"s3\",\"sdb\"].indexOf(this.service)>=0&&\"us-east-1\"===this.region?!0:[\"cloudfront\",\"ls\",\"route53\",\"iam\",\"importexport\",\"sts\"].indexOf(this.service)>=0},a.prototype.createHost=function(){var e=this.isSingleRegion()?\"\":(\"s3\"===this.service&&\"us-east-1\"!==this.region?\"-\":\".\")+this.region,t=\"ses\"===this.service?\"email\":this.service;return t+e+\".amazonaws.com\"},a.prototype.prepareRequest=function(){this.parsePath();var e,n=this.request,r=n.headers;n.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"!==this.service||e[\"X-Amz-Expires\"]||(e[\"X-Amz-Expires\"]=86400),e[\"X-Amz-Date\"]?this.datetime=e[\"X-Amz-Date\"]:e[\"X-Amz-Date\"]=this.getDateTime(),e[\"X-Amz-Algorithm\"]=\"AWS4-HMAC-SHA256\",e[\"X-Amz-Credential\"]=this.credentials.accessKeyId+\"/\"+this.credentialString(),e[\"X-Amz-SignedHeaders\"]=this.signedHeaders()):(n.doNotModifyHeaders||(!n.body||r[\"Content-Type\"]||r[\"content-type\"]||(r[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\"),!n.body||r[\"Content-Length\"]||r[\"content-length\"]||(r[\"Content-Length\"]=t.byteLength(n.body)),this.credentials.sessionToken&&(r[\"X-Amz-Security-Token\"]=this.credentials.sessionToken),\"s3\"===this.service&&(r[\"X-Amz-Content-Sha256\"]=i(this.request.body||\"\",\"hex\")),r[\"X-Amz-Date\"]?this.datetime=r[\"X-Amz-Date\"]:r[\"X-Amz-Date\"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},a.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query[\"X-Amz-Signature\"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},a.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\\-]|\\.\\d{3}/g,\"\")}return this.datetime},a.prototype.getDate=function(){return this.getDateTime().substr(0,8)},a.prototype.authHeader=function(){return[\"AWS4-HMAC-SHA256 Credential=\"+this.credentials.accessKeyId+\"/\"+this.credentialString(),\"SignedHeaders=\"+this.signedHeaders(),\"Signature=\"+this.signature()].join(\", \")},a.prototype.signature=function(){var e,t,n,i=this.getDate(),o=[this.credentials.secretAccessKey,i,this.region,this.service].join(),a=f.get(o);return a||(e=r(\"AWS4\"+this.credentials.secretAccessKey,i),t=r(e,this.region),n=r(t,this.service),\na=r(n,\"aws4_request\"),f.set(o,a)),r(a,this.stringToSign(),\"hex\")},a.prototype.stringToSign=function(){return[\"AWS4-HMAC-SHA256\",this.getDateTime(),this.credentialString(),i(this.canonicalString(),\"hex\")].join(\"\\n\")},a.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,n=\"\",r=\"s3\"!==this.service,a=\"s3\"===this.service||this.request.doNotEncodePath,s=\"s3\"===this.service,c=\"s3\"===this.service,p=\"s3\"===this.service&&this.request.signQuery?\"UNSIGNED-PAYLOAD\":i(this.request.body||\"\",\"hex\");return t&&(n=o(u.stringify(Object.keys(t).sort().reduce(function(e,n){return n?(e[n]=Array.isArray(t[n])?c?t[n][0]:t[n].slice().sort():t[n],e):e},{})))),\"/\"!==e&&(r&&(e=e.replace(/\\/{2,}/g,\"/\")),e=e.split(\"/\").reduce(function(e,t){return r&&\"..\"===t?e.pop():r&&\".\"===t||(a&&(t=u.unescape(t)),e.push(o(u.escape(t)))),e},[]).join(\"/\"),\"/\"!==e[0]&&(e=\"/\"+e),s&&(e=e.replace(/%2F/g,\"/\"))),[this.request.method||\"GET\",e,n,this.canonicalHeaders()+\"\\n\",this.signedHeaders(),p].join(\"\\n\")},a.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\\s+/g,\" \")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(n){return n.toLowerCase()+\":\"+e(t[n])}).join(\"\\n\")},a.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(\";\")},a.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,\"aws4_request\"].join(\"/\")},a.prototype.defaultCredentials=function(){var e=process.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},a.prototype.parsePath=function(){var e=this.request.path||\"/\",t=e.indexOf(\"?\"),n=null;t>=0&&(n=u.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\\-._~%\\/]/.test(e)&&(e=e.split(\"/\").map(function(e){return u.escape(u.unescape(e))}).join(\"/\")),this.parsedPath={path:e,query:n}},a.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[\"\"]&&delete t[\"\"],e+\"?\"+o(u.stringify(t))):e},s.RequestSigner=a,s.sign=function(e,t){return new a(e,t).sign()}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"lru-cache\":178,querystring:void 0,url:void 0}],14:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),e instanceof r?(this._bufs.push.apply(this._bufs,e._bufs),this.length+=e.length):(this._bufs.push(t?e:new n(e)),this.length+=e.length),this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":388,util:void 0}],15:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){var t=new n(e),r=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),r}var n=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],16:[function(e,t,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule\"),p=e(\"./queue\"),l=e(\"./util\");r.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(e,t){t?(process.stderr.write(\"Fatal \"+(e instanceof Error?e.stack:e)+\"\\n\"),process.exit(2)):this.throwLater(e)},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},l.hasDevTools?(r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=r,t.exports.firstLineError=s},{\"./queue\":40,\"./schedule\":43,\"./util\":50}],17:[function(e,t,n){\"use strict\";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0===(50397184&this._bitField)&&this._resolveCallback(t.target)},c=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),p=new e(t);p._propagateFrom(this,1);var l=this._target();if(p._setBoundTo(u),u instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:l,bindingPromise:u};l._then(t,a,void 0,p,f),u._then(s,c,void 0,p,f),p._setOnCancel(u)}else p._resolveCallback(l);return p},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],18:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise\")();o.noConflict=r,t.exports=o},{\"./promise\":36}],19:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(Math.max(t-1,0)),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util\":50}],20:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util\"),a=o.tryCatch,s=o.errorObj,c=t._async;t.prototype[\"break\"]=t.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var e=this,t=e;e.isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n.isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this.isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if(\"function\"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this.isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":50}],21:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<e.length;++p){var l=e[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return o(n).call(u,c)}else if(\"function\"==typeof l){var f=o(l).call(u,c);if(f===a)return f;if(f)return o(n).call(u,c)}else if(r.isObject(c)){for(var d=i(l),h=0;h<d.length;++h){var m=d[h];if(l[m]!=c[m])continue e}return o(n).call(u,c)}}return t}}var r=e(\"./util\"),i=e(\"./es5\").keys,o=r.tryCatch,a=r.errorObj;return n}},{\"./es5\":27,\"./util\":50}],22:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){this._trace=new t.CapturedTrace(r())}function n(){return i?new t:void 0}function r(){var e=o.length-1;return e>=0?o[e]:void 0}var i=!1,o=[];return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},t.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},t.prototype._popContext=function(){if(void 0!==this._trace){var e=o.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},t.CapturedTrace=null,t.create=n,t.deactivateLongStackTraces=function(){},t.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,c=e.prototype._promiseCreated;t.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=c,i=!1},i=!0,e.prototype._pushContext=t.prototype._pushContext,e.prototype._popContext=t.prototype._popContext,e._peekContext=e.prototype._peekContext=r,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},t}},{}],23:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t){return{promise:t}}function i(){return!1}function o(e,t,n){var r=this;try{e(t,n,function(e){if(\"function\"!=typeof e)throw new TypeError(\"onCancel must be a function, got: \"+D.toString(e));r._attachCancellationCallback(e)})}catch(i){return i}}function a(e){if(!this.isCancellable())return this;var t=this._onCancel();void 0!==t?D.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function s(){return this._onCancelField}function c(e){this._onCancelField=e}function u(){this._cancellationParent=void 0,this._onCancelField=void 0}function p(e,t){if(0!==(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function l(e,t){0!==(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}function f(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e}function d(){this._trace=new I(this._peekContext())}function h(e,t){if(q(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=k(e);D.notEnumerableProp(e,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}}}function m(e,t,n,r,i){if(void 0===e&&null!==t&&Y){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"a promise was created in a \"+n+\"handler but was not returned from it\";r._warn(o,!0,t)}}function v(e,t){var n=e+\" is deprecated and will be removed in a future version.\";return t&&(n+=\" Use \"+t+\" instead.\"),g(n)}function g(e,n,r){if(re.warnings){var i,o=new N(e);if(n)r._attachExtraTrace(o);else if(re.longStackTraces&&(i=t._peekContext()))i.attachExtraTrace(o);else{var a=k(o);o.stack=a.message+\"\\n\"+a.stack.join(\"\\n\")}Q(\"warning\",o)||j(o,\"\",!0)}}function y(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function b(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function x(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function w(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=\"    (No stack trace)\"===r||L.test(r),o=i&&ee(r);i&&!o&&(U&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function _(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||L.test(r))break}return n>0&&(t=t.slice(n)),t}function k(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?_(e):[\"    (No stack trace)\"],{message:n,stack:w(t)}}function j(e,t,n){if(\"undefined\"!=typeof console){var r;if(D.isObject(e)){var i=e.stack;r=t+$(i,e)}else r=t+String(e);\"function\"==typeof M?M(r,n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(r)}}function S(e,t,n,r){var i=!1;try{\"function\"==typeof t&&(i=!0,\"rejectionHandled\"===e?t(r):t(n,r))}catch(o){B.throwLater(o)}\"unhandledRejection\"===e?Q(e,n,r)||i||j(n,\"Unhandled rejection \"):Q(e,r)}function E(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e&&\"function\"==typeof e.toString?e.toString():D.toString(e);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+O(t)+\">, no stack trace)\"}function O(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function A(){return\"function\"==typeof ne}function C(e){var t=e.match(te);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}function T(e,t){if(A()){for(var n,r,i=e.stack.split(\"\\n\"),o=t.stack.split(\"\\n\"),a=-1,s=-1,c=0;c<i.length;++c){var u=C(i[c]);if(u){n=u.fileName,a=u.line;break}}for(var c=0;c<o.length;++c){var u=C(o[c]);if(u){r=u.fileName,s=u.line;break}}0>a||0>s||!n||!r||n!==r||a>=s||(ee=function(e){if(R.test(e))return!0;var t=C(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}}function I(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);ne(this,I),t>32&&this.uncycle()}var P,F,M,z=t._getDomain,B=t._async,N=e(\"./errors\").Warning,D=e(\"./util\"),q=D.canAttachTrace,R=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,L=null,$=null,U=!1,H=!(0==D.env(\"BLUEBIRD_DEBUG\")||!D.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==D.env(\"NODE_ENV\")),V=!(0==D.env(\"BLUEBIRD_WARNINGS\")||!H&&!D.env(\"BLUEBIRD_WARNINGS\")),W=!(0==D.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!H&&!D.env(\"BLUEBIRD_LONG_STACK_TRACES\")),Y=0!=D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(V||!!D.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));t.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},t.prototype._ensurePossibleRejectionHandled=function(){0===(524288&this._bitField)&&(this._setRejectionIsUnhandled(),B.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){S(\"rejectionHandled\",P,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},t.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),S(\"unhandledRejection\",F,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},t.prototype._warn=function(e,t,n){return g(e,t,n||this)},t.onPossiblyUnhandledRejection=function(e){var t=z();F=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=z();P=\"function\"==typeof e?null===t?e:t.bind(e):void 0};var K=function(){};t.longStackTraces=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!re.longStackTraces&&A()){var e=t.prototype._captureStackTrace,r=t.prototype._attachExtraTrace;re.longStackTraces=!0,K=function(){if(B.haveItemsQueued()&&!re.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");t.prototype._captureStackTrace=e,t.prototype._attachExtraTrace=r,n.deactivateLongStackTraces(),B.enableTrampoline(),re.longStackTraces=!1},t.prototype._captureStackTrace=d,t.prototype._attachExtraTrace=h,n.activateLongStackTraces(),B.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return re.longStackTraces&&A()};var G=function(){try{var e=document.createEvent(\"CustomEvent\");return e.initCustomEvent(\"testingtheevent\",!1,!0,{}),D.global.dispatchEvent(e),function(e,t){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(e.toLowerCase(),!1,!0,t),!D.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),J=function(){return D.isNode?function(){return process.emit.apply(process,arguments)}:D.global?function(e){var t=\"on\"+e.toLowerCase(),n=D.global[t];return n?(n.apply(D.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),Z={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:r},Q=function(e){var t=!1;try{t=J.apply(null,arguments)}catch(n){B.throwLater(n),t=!0}var r=!1;try{r=G(e,Z[e].apply(null,arguments))}catch(n){B.throwLater(n),r=!0}return r||t};t.config=function(e){if(e=Object(e),\"longStackTraces\"in e&&(e.longStackTraces?t.longStackTraces():!e.longStackTraces&&t.hasLongStackTraces()&&K()),\"warnings\"in e){var n=e.warnings;re.warnings=!!n,Y=re.warnings,D.isObject(n)&&\"wForgottenReturn\"in n&&(Y=!!n.wForgottenReturn)}if(\"cancellation\"in e&&e.cancellation&&!re.cancellation){if(B.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");t.prototype._clearCancellationData=u,t.prototype._propagateFrom=p,t.prototype._onCancel=s,t.prototype._setOnCancel=c,t.prototype._attachCancellationCallback=a,t.prototype._execute=o,X=p,re.cancellation=!0}\"monitoring\"in e&&(e.monitoring&&!re.monitoring?(re.monitoring=!0,t.prototype._fireEvent=Q):!e.monitoring&&re.monitoring&&(re.monitoring=!1,t.prototype._fireEvent=i))},t.prototype._fireEvent=i,t.prototype._execute=function(e,t,n){try{e(t,n)}catch(r){return r}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(e){},t.prototype._attachCancellationCallback=function(e){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(e,t){};var X=l,ee=function(){return!1},te=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;D.inherits(I,Error),n.CapturedTrace=I,I.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},I.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=k(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(w(i.stack.split(\"\\n\"))),i=i._parent;x(r),b(r),D.notEnumerableProp(e,\"stack\",y(n,r)),D.notEnumerableProp(e,\"__stackCleaned__\",!0)}};var ne=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():E(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,L=e,$=t;var n=Error.captureStackTrace;return ee=function(e){return R.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return L=/@/,$=t,U=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?($=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?E(t):t.toString()},null):(L=e,$=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(M=function(e){console.warn(e)},D.isNode&&process.stderr.isTTY?M=function(e,t){var n=t?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+e+\"\u001b[0m\\n\")}:D.isNode||\"string\"!=typeof(new Error).stack||(M=function(e,t){console.warn(\"%c\"+e,t?\"color: darkorange\":\"color: red\")}));var re={warnings:V,longStackTraces:!1,cancellation:!1,monitoring:!1};return W&&t.longStackTraces(),{longStackTraces:function(){return re.longStackTraces},warnings:function(){return re.warnings},cancellation:function(){return re.cancellation},monitoring:function(){return re.monitoring},propagateFromFunction:function(){return X},boundValueFunction:function(){return f},checkForgottenReturns:m,setBounds:T,warn:g,deprecated:v,CapturedTrace:I,fireDomEvent:G,fireGlobalEvent:J}}},{\"./errors\":26,\"./util\":50}],24:[function(e,t,n){\"use strict\";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],25:[function(e,t,n){\"use strict\";t.exports=function(e,t){function n(){return o(this)}function r(e,n){return i(e,n,t,t)}var i=e.reduce,o=e.all;e.prototype.each=function(e){return this.mapSeries(e)._then(n,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return i(this,e,t,t)},e.each=function(e,t){return r(e,t)._then(n,void 0,void 0,e,void 0)},e.mapSeries=r}},{}],26:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5\"),c=s.freeze,u=e(\"./util\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),s.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:x,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5\":27,\"./util\":50}],27:[function(e,t,n){var r=function(){\"use strict\";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,n){\nreturn e[t]=n.value,e},p=function(e){return e},l=function(e){try{return Object(e).constructor.prototype}catch(t){return a}},f=function(e){try{return\"[object Array]\"===o.call(e)}catch(t){return!1}};t.exports={isArray:f,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:p,getPrototypeOf:l,isES5:r,propertyIsWritable:function(){return!0}}}},{}],28:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],29:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function i(e){this.finallyHandler=e}function o(e,t){return null!=e.cancelPromise?(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0):!1}function a(){return c.call(this,this.promise._target()._settledValue())}function s(e){return o(this,e)?void 0:(l.e=e,l)}function c(e){var r=this.promise,c=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?c.call(r._boundValue()):c.call(r._boundValue(),e);if(void 0!==u){r._setReturnedNonUndefined();var f=n(u,r);if(f instanceof t){if(null!=this.cancelPromise){if(f.isCancelled()){var d=new p(\"late cancellation observer\");return r._attachExtraTrace(d),l.e=d,l}f.isPending()&&f._attachCancellationCallback(new i(this))}return f._then(a,s,void 0,this,void 0)}}}return r.isRejected()?(o(this),l.e=e,l):(o(this),e)}var u=e(\"./util\"),p=t.CancellationError,l=u.errorObj;return r.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){o(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,i){return\"function\"!=typeof e?this.then():this._then(n,i,void 0,new r(this,t,e),void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThrough(e,0,c,c)},t.prototype.tap=function(e){return this._passThrough(e,1,c)},r}},{\"./util\":50}],30:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=d(n[o])(e);if(r._popContext(),a===f){r._pushContext();var s=t.reject(f.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function c(e,n,i,o){if(a.cancellation()){var s=new t(r),c=this._finallyPromise=new t(r);this._promise=s.lastly(function(){return c}),s._captureStackTrace(),s._setOnCancel(this)}else{var u=this._promise=new t(r);u._captureStackTrace()}this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(h):h,this._yieldedPromise=null,this._cancellationPhase=!1}var u=e(\"./errors\"),p=u.TypeError,l=e(\"./util\"),f=l.errorObj,d=l.tryCatch,h=[];l.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var e,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),e=d(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new t.CancellationError(\"generator .return() sentinel\");t.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),e=d(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},c.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=d(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=d(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(e){var n=this._promise;if(e===f)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(e.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof t)&&(o=s(o,this._yieldHandlers,this._promise),null===o))return void this._promiseRejected(new p(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",r)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var a=o._bitField;0===(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&a)?this._promiseFulfilled(o._value()):0!==(16777216&a)?this._promiseRejected(o._reason()):this._promiseCancelled()},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new p(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(t).yieldHandler,r=c,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new p(\"expecting a function but got \"+l.classString(e));h.push(e)},t.spawn=function(e){if(a.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors\":26,\"./util\":50}],31:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){return new Function(\"promise\",\"holder\",\"                           \\n            'use strict';                                                    \\n            holder.pIndex = promise;                                         \\n            \".replace(/Index/g,e))},f=function(e){for(var n=new Array(e),r=0;r<n.length;++r)n[r]=\"this.p\"+(r+1);var i=n.join(\" = \")+\" = null;\",o=\"var promise;\\n\"+n.map(function(e){return\"                                                         \\n                promise = \"+e+\";                                      \\n                if (promise instanceof Promise) {                            \\n                    promise.cancel();                                        \\n                }                                                            \\n            \"}).join(\"\\n\"),a=n.join(\", \"),s=\"Holder$\"+e,p=\"return function(tryCatch, errorObj, Promise) {           \\n            'use strict';                                                    \\n            function [TheName](fn) {                                         \\n                [TheProperties]                                              \\n                this.fn = fn;                                                \\n                this.now = 0;                                                \\n            }                                                                \\n            [TheName].prototype.checkFulfillment = function(promise) {       \\n                var now = ++this.now;                                        \\n                if (now === [TheTotal]) {                                    \\n                    promise._pushContext();                                  \\n                    var callback = this.fn;                                  \\n                    var ret = tryCatch(callback)([ThePassedArguments]);      \\n                    promise._popContext();                                   \\n                    if (ret === errorObj) {                                  \\n                        promise._rejectCallback(ret.e, false);               \\n                    } else {                                                 \\n                        promise._resolveCallback(ret);                       \\n                    }                                                        \\n                }                                                            \\n            };                                                               \\n                                                                             \\n            [TheName].prototype._resultCancelled = function() {              \\n                [CancellationCode]                                           \\n            };                                                               \\n                                                                             \\n            return [TheName];                                                \\n        }(tryCatch, errorObj, Promise);                                      \\n        \";return p=p.replace(/\\[TheName\\]/g,s).replace(/\\[TheTotal\\]/g,e).replace(/\\[ThePassedArguments\\]/g,a).replace(/\\[TheProperties\\]/g,i).replace(/\\[CancellationCode\\]/g,o),new Function(\"tryCatch\",\"errorObj\",\"Promise\",p)(c,u,t)},d=[],h=[],m=[],v=0;8>v;++v)d.push(f(v+1)),h.push(p(v+1)),m.push(l(v+1));o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],8>=a&&s)){var c=new t(i);c._captureStackTrace();for(var u=d[a-1],p=new u(e),l=h,f=0;a>f;++f){var v=r(arguments[f],c);if(v instanceof t){v=v._target();var g=v._bitField;0===(50397184&g)?(v._then(l[f],o,void 0,c,p),m[f](v,p)):0!==(33554432&g)?l[f].call(c,v._value(),p):0!==(16777216&g)?c._reject(v._reason()):c._cancel()}else l[f].call(c,v,p)}return c._isFateSealed()||(c._setAsyncGuaranteed(),c._setOnCancel(p)),c}for(var y=arguments.length,b=new Array(y),x=0;y>x;++x)b[x]=arguments[x];e&&b.pop();var c=new n(b).promise();return void 0!==e?c.spread(e):c}}},{\"./util\":50}],32:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:d,this._init$(void 0,-2)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+p.classString(t));var o=\"object\"==typeof n&&null!==n?n.concurrency:0;return o=\"number\"==typeof o&&isFinite(o)&&o>=1?o:0,new s(e,t,o,i).promise()}var u=t._getDomain,p=e(\"./util\"),l=p.tryCatch,f=p.errorObj,d=[];p.inherits(s,n),s.prototype._init=function(){},s.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var u=this._promise,p=this._callback,d=u._boundValue();u._pushContext();var h=l(p).call(d,e,n,o),m=u._popContext();if(a.checkForgottenReturns(h,m,null!==s?\"Promise.filter\":\"Promise.map\",u),h===f)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){v=v._target();var g=v._bitField;if(0===(50397184&g))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&g))return 0!==(16777216&g)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}var y=++this._totalResolved;return y>=o?(null!==s?this._filter(r,s):this._resolve(r),!0):!1},s.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},s.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},s.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return c(this,e,t,null)},t.map=function(e,t,n,r){return c(e,t,n,r)}}},{\"./util\":50}],33:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){var a=e(\"./util\"),s=a.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"expecting a function but got \"+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e){if(\"function\"!=typeof e)return i(\"expecting a function but got \"+a.classString(e));var r=new t(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var u=arguments[1],p=arguments[2];c=a.isArray(u)?s(e).apply(p,u):s(e).call(p,u)}else c=s(e)();var l=r._popContext();return o.checkForgottenReturns(c,l,\"Promise.try\",r),r._resolveFromSyncValue(c),r},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{\"./util\":50}],34:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&p.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new u(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=p.keys(e),i=0;i<n.length;++i){var o=n[i];l.test(o)||(t[o]=e[o])}return t}return a.markAsOriginatingFromRejection(e),e}function o(e,t){return function(n,r){if(null!==e){if(n){var o=i(s(n));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var a=arguments.length,c=new Array(Math.max(a-1,0)),u=1;a>u;++u)c[u-1]=arguments[u];e._fulfill(c)}else e._fulfill(r);e=null}}}var a=e(\"./util\"),s=a.maybeWrapAsError,c=e(\"./errors\"),u=c.OperationalError,p=e(\"./es5\"),l=/^(?:name|message|stack|cause)$/;t.exports=o},{\"./errors\":26,\"./es5\":27,\"./util\":50}],35:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=new Error(e+\"\");r.cause=e,e=r}var i=s(t).call(n._boundValue(),e);i===c&&a.throwLater(i.e)}var o=e(\"./util\"),a=t._async,s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./util\":50}],36:[function(e,t,n){\"use strict\";t.exports=function(){function t(){}function n(e,t){if(\"function\"!=typeof t)throw new g(\"expecting a function but got \"+f.classString(t));if(e.constructor!==r)throw new g(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\")}function r(e){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,e!==b&&(n(this,e),this._resolveFromExecutor(e)),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function i(e){this.promise._resolveCallback(e)}function o(e){this.promise._rejectCallback(e,!1)}function a(e){var t=new r(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}var s,c=function(){return new g(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new r.PromiseInspection(this._target())},p=function(e){return r.reject(new g(e))},l={},f=e(\"./util\");s=f.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},f.notEnumerableProp(r,\"_getDomain\",s);var d=e(\"./es5\"),h=e(\"./async\"),m=new h;d.defineProperty(r,\"_async\",{value:m});var v=e(\"./errors\"),g=r.TypeError=v.TypeError;r.RangeError=v.RangeError;var y=r.CancellationError=v.CancellationError;r.TimeoutError=v.TimeoutError,r.OperationalError=v.OperationalError,r.RejectionError=v.OperationalError,r.AggregateError=v.AggregateError;var b=function(){},x={},w={},_=e(\"./thenables\")(r,b),k=e(\"./promise_array\")(r,b,_,p,t),j=e(\"./context\")(r),S=j.create,E=e(\"./debuggability\")(r,j),O=(E.CapturedTrace,e(\"./finally\")(r,_)),A=e(\"./catch_filter\")(w),C=e(\"./nodeback\"),T=f.errorObj,I=f.tryCatch;return r.prototype.toString=function(){return\"[object Promise]\"},r.prototype.caught=r.prototype[\"catch\"]=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;t-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"expecting an object but got \"+f.classString(o));r[i++]=o}return r.length=i,e=arguments[n],this.then(void 0,A(r,e,this))}return this.then(void 0,e)},r.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},r.prototype.then=function(e,t){if(E.warnings()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var n=\".then() only accepts functions but was passed: \"+f.classString(e);arguments.length>1&&(n+=\", \"+f.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},r.prototype.done=function(e,t){var n=this._then(e,t,void 0,void 0,void 0);n._setIsFinal()},r.prototype.spread=function(e){return\"function\"!=typeof e?p(\"expecting a function but got \"+f.classString(e)):this.all()._then(e,void 0,void 0,x,void 0)},r.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},r.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new k(this).promise()},r.prototype.error=function(e){return this.caught(f.originatesFromRejection,e)},r.is=function(e){return e instanceof r},r.fromNode=r.fromCallback=function(e){var t=new r(b);t._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,i=I(e)(C(t,n));return i===T&&t._rejectCallback(i.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},r.all=function(e){return new k(e).promise()},r.cast=function(e){var t=_(e);return t instanceof r||(t=new r(b),t._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},r.resolve=r.fulfilled=r.cast,r.reject=r.rejected=function(e){var t=new r(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},r.setScheduler=function(e){if(\"function\"!=typeof e)throw new g(\"expecting a function but got \"+f.classString(e));return m.setScheduler(e)},r.prototype._then=function(e,t,n,i,o){var a=void 0!==o,c=a?o:new r(b),u=this._target(),p=u._bitField;a||(c._propagateFrom(this,3),c._captureStackTrace(),void 0===i&&0!==(2097152&this._bitField)&&(i=0!==(50397184&p)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,c));var l=s();if(0!==(50397184&p)){var f,d,h=u._settlePromiseCtx;0!==(33554432&p)?(d=u._rejectionHandler0,f=e):0!==(16777216&p)?(d=u._fulfillmentHandler0,f=t,u._unsetRejectionIsUnhandled()):(h=u._settlePromiseLateCancellationObserver,d=new y(\"late cancellation observer\"),u._attachExtraTrace(d),f=t),m.invoke(h,u,{handler:null===l?f:\"function\"==typeof f&&l.bind(f),promise:c,receiver:i,value:d})}else u._addCallbacks(e,t,c,i,l);return c},r.prototype._length=function(){return 65535&this._bitField},r.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},r.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},r.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},r.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},r.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},r.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},r.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},r.prototype._isFinal=function(){return(4194304&this._bitField)>0},r.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},r.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},r.prototype._setAsyncGuaranteed=function(){m.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},r.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},r.prototype._promiseAt=function(e){return this[4*e-4+2]},r.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},r.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},r.prototype._boundValue=function(){},r.prototype._migrateCallback0=function(e){var t=(e._bitField,e._fulfillmentHandler0),n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=l),this._addCallbacks(t,n,r,i,null)},r.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=l),this._addCallbacks(n,r,i,o,null)},r.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof e&&(this._fulfillmentHandler0=null===i?e:i.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===i?t:i.bind(t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,\"function\"==typeof e&&(this[a+0]=null===i?e:i.bind(e)),\"function\"==typeof t&&(this[a+1]=null===i?t:i.bind(t))}return this._setLength(o+1),o},r.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},r.prototype._resolveCallback=function(e,t){if(0===(117506048&this._bitField)){if(e===this)return this._rejectCallback(c(),!1);var n=_(e,this);if(!(n instanceof r))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i===this)return void this._reject(c());var o=i._bitField;if(0===(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;a>s;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(i)}else if(0!==(33554432&o))this._fulfill(i._value());else if(0!==(16777216&o))this._reject(i._reason());else{var u=new y(\"late cancellation observer\");i._attachExtraTrace(u),this._reject(u)}}},r.prototype._rejectCallback=function(e,t,n){var r=f.ensureErrorObject(e),i=r===e;if(!i&&!n&&E.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,t?i:!1),this._reject(e)},r.prototype._resolveFromExecutor=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,function(e){t._resolveCallback(e)},function(e){t._rejectCallback(e,n)});n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)},r.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;t===x?n&&\"number\"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=T,o.e=new g(\"cannot .spread() a non-array: \"+f.classString(n))):o=I(e).call(t,n);var a=r._popContext();i=r._bitField,0===(65536&i)&&(o===w?r._reject(n):o===T?r._rejectCallback(o.e,!1):(E.checkForgottenReturns(o,a,\"\",r,this),r._resolveCallback(o)))}},r.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},r.prototype._followee=function(){return this._rejectionHandler0},r.prototype._setFollowee=function(e){this._rejectionHandler0=e},r.prototype._settlePromise=function(e,n,i,o){var a=e instanceof r,s=this._bitField,c=0!==(134217728&s);0!==(65536&s)?(a&&e._invokeInternalOnCancel(),i instanceof O&&i.isFinallyHandler()?(i.cancelPromise=e,I(n).call(i,o)===T&&e._reject(T.e)):n===u?e._fulfill(u.call(i)):i instanceof t?i._promiseCancelled(e):a||e instanceof k?e._cancel():i.cancel()):\"function\"==typeof n?a?(c&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(n,i,o,e)):n.call(i,o,e):i instanceof t?i._isResolved()||(0!==(33554432&s)?i._promiseFulfilled(o,e):i._promiseRejected(o,e)):a&&(c&&e._setAsyncGuaranteed(),0!==(33554432&s)?e._fulfill(o):e._reject(o))},r.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,i=e.receiver,o=e.value;\"function\"==typeof t?n instanceof r?this._settlePromiseFromHandler(t,i,o,n):t.call(i,o,n):n instanceof r&&n._reject(o)},r.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},r.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},r.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},r.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!==(134217728&t)?this._settlePromises():m.settlePromises(this))}},r.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16))return this._setRejected(),this._fulfillmentHandler0=e,this._isFinal()?m.fatalError(e,f.isNode):void((65535&t)>0?m.settlePromises(this):this._ensurePossibleRejectionHandled())},r.prototype._fulfillPromises=function(e,t){for(var n=1;e>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._rejectPromises=function(e,t){for(var n=1;e>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},r.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!==(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},r.prototype._settledValue=function(){var e=this._bitField;return 0!==(33554432&e)?this._rejectionHandler0:0!==(16777216&e)?this._fulfillmentHandler0:void 0},r.defer=r.pending=function(){E.deprecated(\"Promise.defer\",\"new Promise\");var e=new r(b);return{promise:e,resolve:i,reject:o}},f.notEnumerableProp(r,\"_makeSelfResolutionError\",c),e(\"./method\")(r,b,_,p,E),e(\"./bind\")(r,b,_,E),e(\"./cancel\")(r,k,p,E),e(\"./direct_resolve\")(r),e(\"./synchronous_inspection\")(r),e(\"./join\")(r,k,_,b,E),r.Promise=r,e(\"./map.js\")(r,k,p,_,b,E),e(\"./call_get.js\")(r),e(\"./using.js\")(r,p,_,S,b,E),e(\"./timers.js\")(r,b,E),e(\"./generators.js\")(r,p,b,_,t,E),e(\"./nodeify.js\")(r),e(\"./promisify.js\")(r,b),e(\"./props.js\")(r,k,_,p),e(\"./race.js\")(r,b,_,p),e(\"./reduce.js\")(r,k,p,_,b,E),e(\"./settle.js\")(r,k,E),e(\"./some.js\")(r,k,p),e(\"./filter.js\")(r,b),e(\"./each.js\")(r,b),e(\"./any.js\")(r),f.toFastProperties(r),f.toFastProperties(r.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new r(b)),E.setBounds(h.firstLineError,f.lastLineError),r}},{\"./any.js\":15,\"./async\":16,\"./bind\":17,\"./call_get.js\":19,\"./cancel\":20,\"./catch_filter\":21,\"./context\":22,\"./debuggability\":23,\"./direct_resolve\":24,\"./each.js\":25,\"./errors\":26,\"./es5\":27,\"./filter.js\":28,\"./finally\":29,\"./generators.js\":30,\"./join\":31,\"./map.js\":32,\"./method\":33,\"./nodeback\":34,\"./nodeify.js\":35,\"./promise_array\":37,\"./promisify.js\":38,\"./props.js\":39,\"./race.js\":41,\"./reduce.js\":42,\"./settle.js\":44,\"./some.js\":45,\"./synchronous_inspection\":46,\"./thenables\":47,\"./timers.js\":48,\"./using.js\":49,\"./util\":50}],37:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e){switch(e){case-2:return[];case-3:return{}}}function s(e){var r=this._promise=new t(n);e instanceof t&&r._propagateFrom(e,3),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=e(\"./util\");c.isArray;return c.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function u(e,n){var o=r(this._values,this._promise);if(o instanceof t){o=o._target();var s=o._bitField;if(this._values=o,0===(50397184&s))return this._promise._setAsyncGuaranteed(),o._then(u,this._reject,void 0,this,n);if(0===(33554432&s))return 0!==(16777216&s)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var p=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(p,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(a(n))):void this._iterate(o)},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;n>s;++s){var c=r(e[s],i);c instanceof t?(c=c._target(),a=c._bitField):a=null,o?null!==a&&c.suppressUnhandledRejections():null!==a?0===(50397184&a)?(c._proxy(this,s),this._values[s]=c):o=0!==(33554432&a)?this._promiseFulfilled(c._value(),s):0!==(16777216&a)?this._promiseRejected(c._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(c,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise.isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{\"./util\":50}],38:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o,a,s){function c(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof p&&this!==u?this[p]:e,c=h(o,s);try{a.apply(i,m(arguments,c))}catch(l){o._rejectCallback(v(l),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var u=function(){return this}(),p=e;return\"string\"==typeof p&&(e=o),d.notEnumerableProp(c,\"__isPromisified__\",!0),c}function u(e,t,n,r,i){for(var o=new RegExp(j(t)+\"$\"),a=s(e,t,o,n),c=0,u=a.length;u>c;c+=2){var p=a[c],l=a[c+1],h=p+t;if(r===C)e[h]=C(p,f,p,l,t,i);else{var m=r(l,function(){return C(p,f,p,l,t,i)});d.notEnumerableProp(m,\"__isPromisified__\",!0),e[h]=m}}return d.toFastProperties(e),e}function p(e,t,n){return C(e,t,void 0,e,null,n);\n}var l,f={},d=e(\"./util\"),h=e(\"./nodeback\"),m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o,a,s){function c(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=g?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function u(){for(var e=\"\",t=0;t<l.length;++t)e+=\"case \"+l[t]+\":\"+c(l[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",g?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var p=Math.max(0,A(o)-1),l=S(p),g=\"string\"==typeof e||r===f,y=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\",b=\"'use strict';                                                \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise, \"+s+\");   \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            if (!promise._isFateSealed()) promise._setAsyncGuaranteed();     \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n    \".replace(\"[CodeForSwitchCase]\",u()).replace(\"[GetFunctionCode]\",y);return b=b.replace(\"Parameters\",O(p)),new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",b)(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"expecting a function but got \"+d.classString(e));if(i(e))return e;t=Object(t);var n=void 0===t.context?f:t.context,o=!!t.multiArgs,a=p(e,n,o);return d.copyDescriptors(e,a,r),a},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");t=Object(t);var n=!!t.multiArgs,r=t.suffix;\"string\"!=typeof r&&(r=b);var i=t.filter;\"function\"!=typeof i&&(i=k);var o=t.promisifier;if(\"function\"!=typeof o&&(o=C),!d.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var a=d.inheritedDataKeys(e),s=0;s<a.length;++s){var c=e[a[s]];\"constructor\"!==a[s]&&d.isClass(c)&&(u(c.prototype,r,i,o,n),u(c,r,i,o,n))}return u(e,r,i,o,n)}}},{\"./errors\":26,\"./nodeback\":34,\"./util\":50}],39:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){var t,n=!1;if(void 0!==s&&e instanceof s)t=l(e),n=!0;else{var r=p.keys(e),i=r.length;t=new Array(2*i);for(var o=0;i>o;++o){var a=r[o];t[o]=e[a],t[o+i]=a}}this.constructor$(t),this._isMap=n,this._init$(void 0,-3)}function a(e){var n,a=r(e);return u(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var s,c=e(\"./util\"),u=c.isObject,p=e(\"./es5\");\"function\"==typeof Map&&(s=Map);var l=function(){function e(e,r){this[t]=e,this[t+n]=r,t++}var t=0,n=0;return function(r){n=r.size,t=0;var i=new Array(2*r.size);return r.forEach(e,i),i}}(),f=function(e){for(var t=new s,n=e.length/2|0,r=0;n>r;++r){var i=e[n+r],o=e[r];t.set(i,o)}return t};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=f(this._values);else{r={};for(var i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5\":27,\"./util\":50}],40:[function(e,t,n){\"use strict\";function r(e,t,n,r,i){for(var o=0;i>o;++o)n[o+r]=e[o+t],e[o+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1);var n=this._front+t&this._capacity-1;this[n]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var n=this._front,r=(n-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,n){this._unshiftOne(n),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e;var n=this._front,i=this._length,o=n+i&t-1;r(this,0,this,t,o)},t.exports=i},{}],41:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(e=a.asArray(e),null===e)return i(\"expecting an array or an iterable object but got \"+a.classString(e));var u=new t(n);void 0!==o&&u._propagateFrom(o,3);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util\"),s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util\":50}],42:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e,n,r,i){this.constructor$(e);var a=f();this._fn=null===a?n:a.bind(n),void 0!==r&&(r=t.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?[]:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function u(e,t,n,i){if(\"function\"!=typeof t)return r(\"expecting a function but got \"+d.classString(t));var o=new s(e,t,n,i);return o.promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(l,void 0,void 0,this,void 0)):l.call(this,n)}function l(e){var n=this.array,r=n._promise,i=h(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),e,this.index,this.length):i.call(r._boundValue(),this.accum,e,this.index,this.length),o instanceof t&&(n._currentCancellable=o);var s=r._popContext();return a.checkForgottenReturns(o,s,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var f=t._getDomain,d=e(\"./util\"),h=d.tryCatch;d.inherits(s,n),s.prototype._gotAccum=function(e){void 0!==this._eachValues&&e!==o&&this._eachValues.push(e)},s.prototype._eachComplete=function(e){return this._eachValues.push(e),this._eachValues},s.prototype._init=function(){},s.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},s.prototype.shouldCopyValues=function(){return!1},s.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},s.prototype._resultCancelled=function(e){return e===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel()))},s.prototype._iterate=function(e){this._values=e;var n,r,i=e.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return u(this,e,t,null)},t.reduce=function(e,t,n,r){return u(e,t,n,r)}}},{\"./util\":50}],43:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},a=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var s=n.setImmediate,c=process.nextTick;r=i.isRecentNode?function(e){s.call(n,e)}:function(e){c.call(process,e)}}else if(\"function\"==typeof a){var u=a.resolve();r=function(e){u.then(e)}}else r=\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:function(){var e=document.createElement(\"div\"),t={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){e.classList.toggle(\"foo\"),n=!1});i.observe(r,t);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(e,t),o()}}();t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":50}],44:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e)}var o=t.PromiseInspection,a=e(\"./util\");a.inherits(i,n),i.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(e,t){var n=new o;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},i.prototype._promiseRejected=function(e,t){var n=new o;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(\".settle()\",\".reflect()\"),new i(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{\"./util\":50}],45:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util\"),s=e(\"./errors\").RangeError,c=e(\"./errors\").AggregateError,u=a.isArray,p={};a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(p),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new c,t=this.length();t<this._values.length;++t)this._values[t]!==p&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors\":26,\"./util\":50}],46:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0===(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};t.prototype.isCancelled=e.prototype._isCancelled=function(){return 65536===(65536&this._bitField)},e.prototype.isCancelled=function(){return this._target()._isCancelled()},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],47:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(p(e)){if(e instanceof t)return e;var i=o(e);if(i===u){r&&r._pushContext();var c=t.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(a(e)){var c=new t(n);return e._then(c._fulfill,c._reject,void 0,c,null),c}return s(e,i,r)}}return e}function i(e){return e.then}function o(e){try{return i(e)}catch(t){return u.e=t,u}}function a(e){return l.call(e,\"_promise0\")}function s(e,r,i){function o(e){s&&(s._resolveCallback(e),s=null)}function a(e){s&&(s._rejectCallback(e,l,!0),s=null)}var s=new t(n),p=s;i&&i._pushContext(),s._captureStackTrace(),i&&i._popContext();var l=!0,f=c.tryCatch(r).call(e,o,a);return l=!1,s&&f===u&&(s._rejectCallback(f.e,!0,!0),s=null),p}var c=e(\"./util\"),u=c.errorObj,p=c.isObject,l={}.hasOwnProperty;return r}},{\"./util\":50}],48:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.handle=e}function o(e){return clearTimeout(this.handle),e}function a(e){throw clearTimeout(this.handle),e}var s=e(\"./util\"),c=t.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var u=function(e){return p(+this).thenReturn(e)},p=t.delay=function(e,o){var a,s;return void 0!==o?(a=t.resolve(o)._then(u,null,null,e,void 0),r.cancellation()&&o instanceof t&&a._setOnCancel(o)):(a=new t(n),s=setTimeout(function(){a._fulfill()},+e),r.cancellation()&&a._setOnCancel(new i(s))),a._setAsyncGuaranteed(),a};t.prototype.delay=function(e){return p(e,this)};var l=function(e,t,n){var r;r=\"string\"!=typeof t?t instanceof Error?t:new c(\"operation timed out\"):new c(t),s.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()};t.prototype.timeout=function(e,t){e=+e;var n,s,c=new i(setTimeout(function(){n.isPending()&&l(n,t,s)},e));return r.cancellation()?(s=this.then(),n=s._then(o,a,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,a,void 0,c,void 0),n}}},{\"./util\":50}],49:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o,a){function s(e){setTimeout(function(){throw e},0)}function c(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function u(e,n){function i(){if(a>=u)return p._fulfill();var o=c(e[a++]);if(o instanceof t&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),e.promise)}catch(l){return s(l)}if(o instanceof t)return o._then(i,s,null,null,null)}i()}var a=0,u=e.length,p=new t(o);return i(),p}function p(e,t,n){this._data=e,this._promise=t,this._context=n}function l(e,t,n){this.constructor$(e,t,n)}function f(e){return p.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function d(e){this.length=e,this.promise=null,this[e-1]=null}var h=e(\"./util\"),m=e(\"./errors\").TypeError,v=e(\"./util\").inherits,g=h.errorObj,y=h.tryCatch;p.prototype.data=function(){return this._data},p.prototype.promise=function(){return this._promise},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},p.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},p.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},v(l,p),l.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},d.prototype._resultCancelled=function(){for(var e=this.length,n=0;e>n;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+h.classString(i));var o,s=!0;2===e&&Array.isArray(arguments[0])?(o=arguments[0],e=o.length,s=!1):(o=arguments,e--);for(var c=new d(e),l=0;e>l;++l){var m=o[l];if(p.isDisposer(m)){var v=m;m=m.promise(),m._setDisposable(v)}else{var b=r(m);b instanceof t&&(m=b._then(f,null,null,{resources:c,index:l},void 0))}c[l]=m}for(var x=new Array(c.length),l=0;l<x.length;++l)x[l]=t.resolve(c[l]).reflect();var w=t.all(x).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return g.e=n.error(),g;if(!n.isFulfilled())return void w.cancel();e[t]=n.value()}_._pushContext(),i=y(i);var r=s?i.apply(void 0,e):i(e),o=_._popContext();return a.checkForgottenReturns(r,o,\"Promise.using\",_),r}),_=w.lastly(function(){var e=new t.PromiseInspection(w);return u(c,e)});return c.promise=_,_._setOnCancel(c),_},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new l(e,this,i());throw new m}}},{\"./errors\":26,\"./util\":50}],50:[function(e,t,n){(function(n){\"use strict\";function r(){try{var e=A;return A=null,e.apply(this,arguments)}catch(t){return O.e=t,O}}function i(e){return A=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!S.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return S.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=S.names(e.prototype),n=S.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=P.test(e+\"\")&&S.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return F.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){return null!==e&&\"object\"==typeof e&&\"string\"==typeof e.message&&\"string\"==typeof e.name}function y(e){try{p(e,\"isOperational\",!0)}catch(t){}}function b(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function x(e){return g(e)&&S.propertyIsWritable(e,\"stack\")}function w(e){return{}.toString.call(e)}function _(e,t,n){for(var r=S.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{S.defineProperty(t,o,S.getDescriptor(e,o))}catch(a){}}}function k(e,t){return N?process.env[e]:t}function j(){if(\"function\"==typeof Promise)try{var e=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(e))return Promise}catch(t){}}var S=e(\"./es5\"),E=\"undefined\"==typeof navigator,O={e:{}},A,C=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof n?n:void 0!==this?this:null,T=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},I=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(S.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=S.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),P=/this\\s*\\.\\s*\\S+\\s*=/,F=/^[a-z$_][a-z$_0-9]*$/i,M=function(){return\"stack\"in new Error?function(e){return x(e)?e:new Error(v(e))}:function(e){if(x(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),z=function(e){return S.isArray(e)?e:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var B=\"function\"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};z=function(e){return S.isArray(e)?e:null!=e&&\"function\"==typeof e[Symbol.iterator]?B(e):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),D={isClass:f,isIdentifier:h,inheritedDataKeys:I,getDataPropertyOrDefault:u,thrower:l,isArray:S.isArray,asArray:z,notEnumerableProp:p,isPrimitive:o,isObject:a,isError:g,canEvaluate:E,errorObj:O,tryCatch:i,inherits:T,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:x,ensureErrorObject:M,originatesFromRejection:b,markAsOriginatingFromRejection:y,classString:w,copyDescriptors:_,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,env:k,global:C,getNativePromise:j};D.isRecentNode=D.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),D.isNode&&D.toFastProperties(process);try{throw new Error}catch(q){D.lastLineError=q}t.exports=D}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./es5\":27}],51:[function(e,t,n){var r=e(\"http\"),i=e(\"hoek\"),o={};n.wrap=function(e,t,n){return i.assert(e instanceof Error,\"Cannot wrap non-Error object\"),e.isBoom?e:o.initialize(e,t||500,n)},n.create=function(e,t,r){return o.create(e,t,r,n.create)},o.create=function(e,t,n,r){var i=new Error(t?t:void 0);return Error.captureStackTrace(i,r),i.data=n||null,o.initialize(i,e),i},o.initialize=function(e,t,n){var r=parseInt(t,10);return i.assert(!isNaN(r)&&r>=400,\"First argument must be a number (400+):\",t),e.isBoom=!0,e.isServer=r>=500,e.hasOwnProperty(\"data\")||(e.data=null),e.output={statusCode:r,payload:{},headers:{}},e.reformat=o.reformat,e.reformat(),n||e.message||(n=e.output.payload.error),n&&(e.message=n+(e.message?\": \"+e.message:\"\")),e},o.reformat=function(){this.output.payload.statusCode=this.output.statusCode,this.output.payload.error=r.STATUS_CODES[this.output.statusCode]||\"Unknown\",500===this.output.statusCode?this.output.payload.message=\"An internal server error occurred\":this.message&&(this.output.payload.message=this.message)},n.badRequest=function(e,t){return o.create(400,e,t,n.badRequest)},n.unauthorized=function(e,t,r){var a=o.create(401,e,void 0,n.unauthorized);if(!t)return a;var s=\"\",c=0,u=0;if(\"string\"==typeof t){if(s=t,(r||e)&&(a.output.payload.attributes={}),r){var p=Object.keys(r);for(c=0,u=p.length;u>c;++c){var l=p[c];c&&(s+=\",\");var f=r[l];null!==f&&void 0!==f||(f=\"\"),s+=\" \"+l+'=\"'+i.escapeHeaderAttribute(f.toString())+'\"',a.output.payload.attributes[l]=f}}e?(r&&(s+=\",\"),s+=' error=\"'+i.escapeHeaderAttribute(e)+'\"',a.output.payload.attributes.error=e):a.isMissing=!0}else{var d=t;for(c=0,u=d.length;u>c;++c)c&&(s+=\", \"),s+=d[c]}return a.output.headers[\"WWW-Authenticate\"]=s,a},n.forbidden=function(e,t){return o.create(403,e,t,n.forbidden)},n.notFound=function(e,t){return o.create(404,e,t,n.notFound)},n.methodNotAllowed=function(e,t){return o.create(405,e,t,n.methodNotAllowed)},n.notAcceptable=function(e,t){return o.create(406,e,t,n.notAcceptable)},n.proxyAuthRequired=function(e,t){return o.create(407,e,t,n.proxyAuthRequired)},n.clientTimeout=function(e,t){return o.create(408,e,t,n.clientTimeout)},n.conflict=function(e,t){return o.create(409,e,t,n.conflict)},n.resourceGone=function(e,t){return o.create(410,e,t,n.resourceGone)},n.lengthRequired=function(e,t){return o.create(411,e,t,n.lengthRequired)},n.preconditionFailed=function(e,t){return o.create(412,e,t,n.preconditionFailed)},n.entityTooLarge=function(e,t){return o.create(413,e,t,n.entityTooLarge)},n.uriTooLong=function(e,t){return o.create(414,e,t,n.uriTooLong)},n.unsupportedMediaType=function(e,t){return o.create(415,e,t,n.unsupportedMediaType)},n.rangeNotSatisfiable=function(e,t){return o.create(416,e,t,n.rangeNotSatisfiable)},n.expectationFailed=function(e,t){return o.create(417,e,t,n.expectationFailed)},n.badData=function(e,t){return o.create(422,e,t,n.badData)},n.preconditionRequired=function(e,t){return o.create(428,e,t,n.preconditionRequired)},n.tooManyRequests=function(e,t){return o.create(429,e,t,n.tooManyRequests)},n.internal=function(e,t,r){return o.serverError(e,t,r,n.internal)},o.serverError=function(e,t,r,i){var a;return t instanceof Error?a=n.wrap(t,r,e):(a=o.create(r||500,e,void 0,i),a.data=t),a},n.notImplemented=function(e,t){return o.serverError(e,t,501,n.notImplemented)},n.badGateway=function(e,t){return o.serverError(e,t,502,n.badGateway)},n.serverTimeout=function(e,t){return o.serverError(e,t,503,n.serverTimeout)},n.gatewayTimeout=function(e,t){return o.serverError(e,t,504,n.gatewayTimeout)},n.badImplementation=function(e,t){var r=o.serverError(e,t,500,n.badImplementation);return r.isDeveloperError=!0,r}},{hoek:149,http:void 0}],52:[function(e,t,n){(function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);if(this._bsontype=\"Binary\",e instanceof Number?(this.sub_type=e,this.position=0):(this.sub_type=null==t?o:t,this.position=0),null==e||e instanceof Number)\"undefined\"!=typeof i?this.buffer=new i(r.BUFFER_SIZE):\"undefined\"!=typeof Uint8Array?this.buffer=new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE)):this.buffer=new Array(r.BUFFER_SIZE),this.position=0;else{if(\"string\"==typeof e)if(\"undefined\"!=typeof i)this.buffer=new i(e);else{if(\"undefined\"==typeof Uint8Array&&\"[object Array]\"!=Object.prototype.toString.call(e))throw new Error(\"only String, Buffer, Uint8Array or Array accepted\");this.buffer=a(e)}else this.buffer=e;this.position=e.length}}if(\"undefined\"!=typeof n)var i=e(\"buffer\").Buffer;r.prototype.put=function(e){if(null!=e.length&&\"number\"!=typeof e&&1!=e.length)throw new Error(\"only accepts single character String, Uint8Array or Array\");if(\"number\"!=typeof e&&0>e||e>255)throw new Error(\"only accepts number in a valid unsigned byte range 0-255\");var t=null;if(t=\"string\"==typeof e?e.charCodeAt(0):null!=e.length?e[0]:e,this.buffer.length>this.position)this.buffer[this.position++]=t;else if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer)){var n=new i(r.BUFFER_SIZE+this.buffer.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n,this.buffer[this.position++]=t}else{var n=null;n=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(r.BUFFER_SIZE+this.buffer.length)):new Array(r.BUFFER_SIZE+this.buffer.length);for(var o=0;o<this.buffer.length;o++)n[o]=this.buffer[o];this.buffer=n,this.buffer[this.position++]=t}},r.prototype.write=function(e,t){if(t=\"number\"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=null;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))n=new i(this.buffer.length+e.length),this.buffer.copy(n,0,0,this.buffer.length);else if(\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)){\nn=new Uint8Array(new ArrayBuffer(this.buffer.length+e.length));for(var r=0;r<this.position;r++)n[r]=this.buffer[r]}this.buffer=n}if(\"undefined\"!=typeof i&&i.isBuffer(e)&&i.isBuffer(this.buffer))e.copy(this.buffer,t,0,e.length),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"undefined\"!=typeof i&&\"string\"==typeof e&&i.isBuffer(this.buffer))this.buffer.write(e,t,\"binary\"),this.position=t+e.length>this.position?t+e.length:this.position;else if(\"[object Uint8Array]\"==Object.prototype.toString.call(e)||\"[object Array]\"==Object.prototype.toString.call(e)&&\"string\"!=typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e[r];this.position=t>this.position?t:this.position}else if(\"string\"==typeof e){for(var r=0;r<e.length;r++)this.buffer[t++]=e.charCodeAt(r);this.position=t>this.position?t:this.position}},r.prototype.read=function(e,t){if(t=t&&t>0?t:this.position,this.buffer.slice)return this.buffer.slice(e,e+t);for(var n=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(t)):new Array(t),r=0;t>r;r++)n[r]=this.buffer[e++];return n},r.prototype.value=function(e){if(e=null==e?!1:e,e&&\"undefined\"!=typeof i&&i.isBuffer(this.buffer)&&this.buffer.length==this.position)return this.buffer;if(\"undefined\"!=typeof i&&i.isBuffer(this.buffer))return e?this.buffer.slice(0,this.position):this.buffer.toString(\"binary\",0,this.position);if(e){if(null!=this.buffer.slice)return this.buffer.slice(0,this.position);for(var t=\"[object Uint8Array]\"==Object.prototype.toString.call(this.buffer)?new Uint8Array(new ArrayBuffer(this.position)):new Array(this.position),n=0;n<this.position;n++)t[n]=this.buffer[n];return t}return s(this.buffer,0,this.position)},r.prototype.length=function(){return this.position},r.prototype.toJSON=function(){return null!=this.buffer?this.buffer.toString(\"base64\"):\"\"},r.prototype.toString=function(e){return null!=this.buffer?this.buffer.slice(0,this.position).toString(e):\"\"};var o=0,a=function(e){for(var t=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(e.length)):new Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},s=function(e,t,n){for(var r=\"\",i=t;n>i;i++)r+=String.fromCharCode(e[i]);return r};r.BUFFER_SIZE=256,r.SUBTYPE_DEFAULT=0,r.SUBTYPE_FUNCTION=1,r.SUBTYPE_BYTE_ARRAY=2,r.SUBTYPE_UUID_OLD=3,r.SUBTYPE_UUID=4,r.SUBTYPE_MD5=5,r.SUBTYPE_USER_DEFINED=128,t.exports=r,t.exports.Binary=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{buffer:void 0}],53:[function(e,t,n){function i(e,t){return this instanceof i?(this.bigEndian=e,void(this.allowExceptions=t)):new i(e,t)}function o(e,t){this.bigEndian=e||0,this.buffer=[],this.setBuffer(t)}for(var a=String.fromCharCode,s=[],c=0;64>c;c++)s[c]=Math.pow(2,c);i.warn=function(e){if(this.allowExceptions)throw new Error(e);return 1},i.decodeFloat=function(e,t,n){var r=new this.Buffer(this.bigEndian,e);r.checkBuffer(t+n+1);var i=s[n-1]-1,o=r.readBits(t+n,1),a=r.readBits(t,n),c=0,u=2,p=r.buffer.length+(-t>>3)-1;do for(var l=r.buffer[++p],f=t%8||8,d=1<<f;d>>=1;l&d&&(c+=1/u),u*=2);while(t-=f);return a==(i<<1)+1?c?NaN:o?-(1/0):+(1/0):(1+-2*o)*(a||c?a?Math.pow(2,a-i)*(1+c):Math.pow(2,-i+1)*c:0)},i.decodeInt=function(e,t,n,r){var i=new this.Buffer(this.bigEndian||r,e),o=i.readBits(0,t),a=s[t];return n&&o>=a/2?o-a:o},i.encodeFloat=function(e,t,n){var i,o,a,c,u,p=s[n-1]-1,l=-p+1,f=p,d=l-t,h=parseFloat(e),m=isNaN(h)||h==-(1/0)||h==+(1/0)?h:0,v=0,g=2*p+1+t+3,y=new Array(g),b=(h=0!==m?0:h)<0,x=Math.floor(h=Math.abs(h)),w=h-x;for(c=g;c;y[--c]=0);for(c=p+2;x&&c;y[--c]=x%2,x=Math.floor(x/2));for(c=p+1;w>0&&c;(y[++c]=((w*=2)>=1)-0)&&--w);for(c=-1;++c<g&&!y[c];);if(y[(i=t-1+(c=(v=p+1-c)>=l&&f>=v?c+1:p+1-(v=l-1)))+1]){if(!(o=y[i]))for(u=i+2;!o&&g>u;o=y[u++]);for(u=i+1;o&&--u>=0;(y[u]=!y[u]-0)&&(o=0));}for(c=0>c-2?-1:c-3;++c<g&&!y[c];);for((v=p+1-c)>=l&&f>=v?++c:l>v&&(v!=p+1-g&&d>v&&this.warn(\"encodeFloat::float underflow\"),c=p+1-(v=l-1)),(x||0!==m)&&(this.warn(x?\"encodeFloat::float overflow\":\"encodeFloat::\"+m),v=f+1,c=p+2,m==-(1/0)?b=1:isNaN(m)&&(y[c]=1)),h=Math.abs(v+p),u=n+1,a=\"\";--u;a=h%2+a,h=h>>=1);for(h=0,u=0,c=(a=(b?\"1\":\"0\")+a+y.slice(c,c+t).join(\"\")).length,r=[];c;u=(u+1)%8)h+=(1<<u)*a.charAt(--c),7==u&&(r[r.length]=String.fromCharCode(h),h=0);return r[r.length]=h?String.fromCharCode(h):\"\",(this.bigEndian?r.reverse():r).join(\"\")},i.encodeInt=function(e,t,n,r){var i=s[t];(e>=i||-(i/2)>e)&&(this.warn(\"encodeInt::overflow\"),e=0),0>e&&(e+=i);for(var o=[];e;o[o.length]=String.fromCharCode(e%256),e=Math.floor(e/256));for(t=-(-t>>3)-o.length;t--;o[o.length]=\"\\x00\");return(this.bigEndian||r?o.reverse():o).join(\"\")},i.toSmall=function(e){return this.decodeInt(e,8,!0)},i.fromSmall=function(e){return this.encodeInt(e,8,!0)},i.toByte=function(e){return this.decodeInt(e,8,!1)},i.fromByte=function(e){return this.encodeInt(e,8,!1)},i.toShort=function(e){return this.decodeInt(e,16,!0)},i.fromShort=function(e){return this.encodeInt(e,16,!0)},i.toWord=function(e){return this.decodeInt(e,16,!1)},i.fromWord=function(e){return this.encodeInt(e,16,!1)},i.toInt=function(e){return this.decodeInt(e,32,!0)},i.fromInt=function(e){return this.encodeInt(e,32,!0)},i.toLong=function(e){return this.decodeInt(e,64,!0)},i.fromLong=function(e){return this.encodeInt(e,64,!0)},i.toDWord=function(e){return this.decodeInt(e,32,!1)},i.fromDWord=function(e){return this.encodeInt(e,32,!1)},i.toQWord=function(e){return this.decodeInt(e,64,!0)},i.fromQWord=function(e){return this.encodeInt(e,64,!0)},i.toFloat=function(e){return this.decodeFloat(e,23,8)},i.fromFloat=function(e){return this.encodeFloat(e,23,8)},i.toDouble=function(e){return this.decodeFloat(e,52,11)},i.fromDouble=function(e){return this.encodeFloat(e,52,11)},i.encode_int32=function(e,t){var n,r,i,o,s;return s=0>e?e+4294967296:e,n=Math.floor(s/16777215),s&=16777215,r=Math.floor(s/65535),s&=65535,i=Math.floor(s/255),s&=255,o=Math.floor(s),t?[a(n),a(r),a(i),a(o)]:a(n)+a(r)+a(i)+a(o)},i.encode_int64=function(e){var t,n,r,i,o,s,c,u,p;return p=0>e?e+0x10000000000000000:e,t=Math.floor(p/72057594037927940),p&=72057594037927940,n=Math.floor(p/0xffffffffffff),p&=0xffffffffffff,r=Math.floor(p/0xffffffffff),p&=0xffffffffff,i=Math.floor(p/4294967295),p&=4294967295,o=Math.floor(p/16777215),p&=16777215,s=Math.floor(p/65535),p&=65535,c=Math.floor(p/255),p&=255,u=Math.floor(p),a(t)+a(n)+a(r)+a(i)+a(o)+a(s)+a(c)+a(u)},i.decode_utf8=function(e){for(var t,n=e.length,r=\"\",i=0,o=0,a=0;n>i;)o=e.charCodeAt(i),128>o?(r+=String.fromCharCode(o),i++):o>191&&224>o?(a=e.charCodeAt(i+1),r+=String.fromCharCode((31&o)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),t=e.charCodeAt(i+2),r+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&t),i+=3);return r},i.encode_cstring=function(e){return unescape(encodeURIComponent(e))+i.fromByte(0)},i.encode_utf8=function(e){for(var t,n=\"\",r=0,i=e.length;i>r;r++)t=e.charCodeAt(r),128>t?n+=String.fromCharCode(t):t>127&&2048>t?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},i.hprint=function(e){for(var t,n=0,r=e.length;r>n;n++)e.charCodeAt(n)<32?(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \")):(t=e.charCodeAt(n)<=15?\"0\"+e.charCodeAt(n).toString(16):e.charCodeAt(n).toString(16),process.stdout.write(t+\" \"));process.stdout.write(\"\\n\\n\")},i.ilprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(10):t.charCodeAt(r).toString(10),e(\"util\").debug(n+\" : \"+t.charAt(r)))},i.hlprint=function(t){for(var n,r=0,i=t.length;i>r;r++)t.charCodeAt(r)<32?(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \")):(n=t.charCodeAt(r)<=15?\"0\"+t.charCodeAt(r).toString(16):t.charCodeAt(r).toString(16),e(\"util\").debug(n+\" : \"+t.charAt(r)))},o.prototype.setBuffer=function(e){var t,n,r;if(e){for(n=t=e.length,r=this.buffer=new Array(t);n;r[t-n]=e.charCodeAt(--n));this.bigEndian&&r.reverse()}},o.prototype.hasNeededBits=function(e){return this.buffer.length>=-(-e>>3)},o.prototype.checkBuffer=function(e){if(!this.hasNeededBits(e))throw new Error(\"checkBuffer::missing bytes\")},o.prototype.readBits=function(e,t){function n(e,t){for(;t--;e=1073741824==(1073741824&(e%=2147483648))?2*e:2*(e-1073741824)+2147483647+1);return e}if(0>e||0>=t)return 0;this.checkBuffer(e+t);for(var r,i=e%8,o=this.buffer.length-(e>>3)-1,a=this.buffer.length+(-(e+t)>>3),s=o-a,c=(this.buffer[o]>>i&(1<<(s?8-i:t))-1)+(s&&(r=(e+t)%8)?(this.buffer[a++]&(1<<r)-1)<<(s--<<3)-i:0);s;c+=n(this.buffer[a++],(s--<<3)-i));return c},i.Buffer=o,n.BinaryParser=i},{util:void 0}],54:[function(e,t,n){(function(n){var r=(e(\"./float_parser\").writeIEEE754,e(\"./float_parser\").readIEEE754,e(\"./map\")),i=e(\"./long\").Long,o=e(\"./double\").Double,a=e(\"./timestamp\").Timestamp,s=e(\"./objectid\").ObjectID,c=e(\"./regexp\").BSONRegExp,u=e(\"./symbol\").Symbol,p=e(\"./code\").Code,l=e(\"./min_key\").MinKey,f=e(\"./max_key\").MaxKey,d=e(\"./db_ref\").DBRef,h=e(\"./binary\").Binary,m=e(\"./parser/deserializer\"),v=e(\"./parser/serializer\"),g=e(\"./parser/calculate_size\"),y=17825792,b=new n(y),x=function(){};x.prototype.serialize=function(e,t,r,i,o,a){var s=v(b,e,t,o||0,0,i,a),c=new n(s);return b.copy(c,0,0,c.length),c},x.prototype.serializeWithBufferAndIndex=function(e,t,n,r,i,o){var a=v(b,e,t,r||0,0,i,o);return b.copy(n,r,0,a),r+a-1},x.prototype.deserialize=function(e,t){return m(e,t)},x.prototype.calculateObjectSize=function(e,t,n){return g(e,t,n)},x.prototype.deserializeStream=function(e,t,n,r,i,o){o=null!=o?o:{};for(var a=t,s=0;n>s;s++){var c=e[a]|e[a+1]<<8|e[a+2]<<16|e[a+3]<<24;o.index=a,r[i+s]=this.deserialize(e,o),a+=c}return a},x.BSON_INT32_MAX=2147483647,x.BSON_INT32_MIN=-2147483648,x.BSON_INT64_MAX=Math.pow(2,63)-1,x.BSON_INT64_MIN=-Math.pow(2,63),x.JS_INT_MAX=9007199254740992,x.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);x.BSON_DATA_NUMBER=1,x.BSON_DATA_STRING=2,x.BSON_DATA_OBJECT=3,x.BSON_DATA_ARRAY=4,x.BSON_DATA_BINARY=5,x.BSON_DATA_OID=7,x.BSON_DATA_BOOLEAN=8,x.BSON_DATA_DATE=9,x.BSON_DATA_NULL=10,x.BSON_DATA_REGEXP=11,x.BSON_DATA_CODE=13,x.BSON_DATA_SYMBOL=14,x.BSON_DATA_CODE_W_SCOPE=15,x.BSON_DATA_INT=16,x.BSON_DATA_TIMESTAMP=17,x.BSON_DATA_LONG=18,x.BSON_DATA_MIN_KEY=255,x.BSON_DATA_MAX_KEY=127,x.BSON_BINARY_SUBTYPE_DEFAULT=0,x.BSON_BINARY_SUBTYPE_FUNCTION=1,x.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,x.BSON_BINARY_SUBTYPE_UUID=3,x.BSON_BINARY_SUBTYPE_MD5=4,x.BSON_BINARY_SUBTYPE_USER_DEFINED=128,t.exports=x,t.exports.Code=p,t.exports.Map=r,t.exports.Symbol=u,t.exports.BSON=x,t.exports.DBRef=d,t.exports.Binary=h,t.exports.ObjectID=s,t.exports.Long=i,t.exports.Timestamp=a,t.exports.Double=o,t.exports.MinKey=l,t.exports.MaxKey=f,t.exports.BSONRegExp=c}).call(this,e(\"buffer\").Buffer)},{\"./binary\":52,\"./code\":55,\"./db_ref\":56,\"./double\":57,\"./float_parser\":58,\"./long\":60,\"./map\":61,\"./max_key\":62,\"./min_key\":63,\"./objectid\":64,\"./parser/calculate_size\":65,\"./parser/deserializer\":66,\"./parser/serializer\":67,\"./regexp\":68,\"./symbol\":69,\"./timestamp\":70,buffer:void 0}],55:[function(e,t,n){var r=function i(e,t){return this instanceof i?(this._bsontype=\"Code\",this.code=e,void(this.scope=null==t?{}:t)):new i(e,t)};r.prototype.toJSON=function(){return{scope:this.scope,code:this.code}},t.exports=r,t.exports.Code=r},{}],56:[function(e,t,n){function r(e,t,n){return this instanceof r?(this._bsontype=\"DBRef\",this.namespace=e,this.oid=t,void(this.db=n)):new r(e,t,n)}r.prototype.toJSON=function(){return{$ref:this.namespace,$id:this.oid,$db:null==this.db?\"\":this.db}},t.exports=r,t.exports.DBRef=r},{}],57:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Double\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Double=r},{}],58:[function(e,t,n){var r=function(e,t,n,r,i){var o,a,s=\"big\"===n,c=8*i-r-1,u=(1<<c)-1,p=u>>1,l=-7,f=s?0:i-1,d=s?1:-1,h=e[t+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=c;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-p;else{if(o===u)return a?NaN:(h?-1:1)*(1/0);a+=Math.pow(2,r),o-=p}return(h?-1:1)*a*Math.pow(2,o-r)},i=function(e,t,n,r,i,o){var a,s,c,u=\"big\"===r,p=8*o-i-1,l=(1<<p)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=u?o-1:0,m=u?-1:1,v=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+f>=1?d/c:d*Math.pow(2,1-f),t*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<<i|s,p+=i;p>0;e[n+h]=255&a,h+=m,a/=256,p-=8);e[n+h-m]|=128*v};n.readIEEE754=r,n.writeIEEE754=i},{}],59:[function(e,t,n){try{n.BSONPure=e(\"./bson\"),n.BSONNative=e(\"./bson\")}catch(r){}[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(t){var r=e(t);for(var i in r)n[i]=r[i]}),n.pure=function(){var t={};return[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\",\"./bson\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]}),t},n[\"native\"]=function(){var t={};[\"./binary_parser\",\"./binary\",\"./code\",\"./map\",\"./db_ref\",\"./double\",\"./max_key\",\"./min_key\",\"./objectid\",\"./regexp\",\"./symbol\",\"./timestamp\",\"./long\"].forEach(function(n){var r=e(n);for(var i in r)t[i]=r[i]});try{t.BSON=e(\"./bson\")}catch(r){return n.pure()}return t}},{\"./bson\":54}],60:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Long\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Long=r},{}],61:[function(e,t,n){(function(e){\"use strict\";if(\"undefined\"!=typeof e.Map)t.exports=e.Map,t.exports.Map=e.Map;else{var n=function(e){this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var n=e[t],r=n[0],i=n[1];this._keys.push(r),this._values[r]={v:i,i:this._keys.length-1}}};n.prototype.clear=function(){this._keys=[],this._values={}},n.prototype[\"delete\"]=function(e){var t=this._values[e];return null==t?!1:(delete this._values[e],this._keys.splice(t.i,1),!0)},n.prototype.entries=function(){var e=this,t=0;return{next:function(){var n=e._keys[t++];return{value:void 0!==n?[n,e._values[n].v]:void 0,done:void 0===n}}}},n.prototype.forEach=function(e,t){t=t||this;for(var n=0;n<this._keys.length;n++){var r=this._keys[n];e.call(t,this._values[r].v,r,t)}},n.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},n.prototype.has=function(e){return null!=this._values[e]},n.prototype.keys=function(e){var t=this,n=0;return{next:function(){var e=t._keys[n++];return{value:void 0!==e?e:void 0,done:void 0===e}}}},n.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},n.prototype.values=function(e,t){var n=this,r=0;return{next:function(){var e=n._keys[r++];return{value:void 0!==e?n._values[e].v:void 0,done:void 0===e}}}},Object.defineProperty(n.prototype,\"size\",{enumerable:!0,get:function(){return this._keys.length}}),t.exports=n,t.exports.Map=n}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],62:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MaxKey\"):new r}t.exports=r,t.exports.MaxKey=r},{}],63:[function(e,t,n){function r(){return this instanceof r?void(this._bsontype=\"MinKey\"):new r}t.exports=r,t.exports.MinKey=r},{}],64:[function(e,t,n){for(var r=e(\"./binary_parser\").BinaryParser,i=parseInt(16777215*Math.random(),10),o=new RegExp(\"^[0-9a-fA-F]{24}$\"),a=function u(e){if(!(this instanceof u))return new u(e);if(e instanceof u||e&&e.toHexString)return e;this._bsontype=\"ObjectID\";var t=u.isValid(e);if(!t&&null!=e)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");return t&&\"string\"==typeof e&&24==e.length?u.createFromHexString(e):(null==e||\"number\"==typeof e?this.id=this.generate(e):null!=e&&12===e.length&&(this.id=e),void(u.cacheHexString&&(this.__id=this.toHexString())))},s=[],c=0;256>c;c++)s[c]=(15>=c?\"0\":\"\")+c.toString(16);a.prototype.toHexString=function(){if(a.cacheHexString&&this.__id)return this.__id;for(var e=\"\",t=0;t<this.id.length;t++)e+=s[this.id.charCodeAt(t)];return a.cacheHexString&&(this.__id=e),e},a.prototype.get_inc=function(){return a.index=(a.index+1)%16777215},a.prototype.getInc=function(){return this.get_inc()},a.prototype.generate=function(e){\"number\"!=typeof e&&(e=parseInt(Date.now()/1e3,10));var t=r.encodeInt(e,32,!0,!0),n=r.encodeInt(i,24,!1),o=r.fromShort((\"undefined\"==typeof process?Math.floor(1e5*Math.random()):process.pid)%65535),a=r.encodeInt(this.get_inc(),24,!1,!0);return t+n+o+a},a.prototype.toString=function(){return this.toHexString()},a.prototype.inspect=a.prototype.toString,a.prototype.toJSON=function(){return this.toHexString()},a.prototype.equals=function(e){var t;if(null!=e&&(e instanceof a||e.toHexString))t=e.id;else{if(\"string\"!=typeof e||!a.isValid(e))return!1;t=a.createFromHexString(e).id}return this.id===t},a.prototype.getTimestamp=function(){var e=new Date;return e.setTime(1e3*Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))),e},a.index=parseInt(16777215*Math.random(),10),a.createPk=function(){return new a},a.createFromTime=function(e){var t=r.encodeInt(e,32,!0,!0)+r.encodeInt(0,64,!0,!0);return new a(t)},a.createFromHexString=function(e){if(\"undefined\"==typeof e||null!=e&&24!=e.length)throw new Error(\"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters\");var t=e.length;if(t>24)throw new Error(\"Id cannot be longer than 12 bytes\");for(var n,i,o=\"\",s=0;t>s;s+=2)n=e.substr(s,2),i=parseInt(n,16),o+=r.fromByte(i);return new a(o,e)},a.isValid=function(e){return null==e?!1:\"number\"==typeof e?!0:\"string\"==typeof e?12==e.length||24==e.length&&o.test(e):e instanceof a?!0:e.toHexString?12==e.id.length||24==e.id.length&&o.test(e.id):!1},Object.defineProperty(a.prototype,\"generationTime\",{enumerable:!0,get:function(){return Math.floor(r.decodeInt(this.id.substring(0,4),32,!0,!0))},set:function(e){var e=r.encodeInt(e,32,!0,!0);this.id=e+this.id.substr(4),this.toHexString()}}),t.exports=a,t.exports.ObjectID=a,t.exports.ObjectId=a},{\"./binary_parser\":53}],65:[function(e,t,n){(function(n){\"use strict\";function r(e,t,r,y,b){switch(t&&t.toBSON&&(t=t.toBSON()),typeof t){case\"string\":return 1+n.byteLength(e,\"utf8\")+1+4+n.byteLength(t,\"utf8\")+1;case\"number\":return Math.floor(t)===t&&t>=g.JS_INT_MIN&&t<=g.JS_INT_MAX&&t>=g.BSON_INT32_MIN&&t<=g.BSON_INT32_MAX?(null!=e?n.byteLength(e,\"utf8\")+1:0)+5:(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;case\"undefined\":return y||!b?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1:0;case\"boolean\":return(null!=e?n.byteLength(e,\"utf8\")+1:0)+2;case\"object\":if(null==t||t instanceof l||t instanceof f||\"MinKey\"==t._bsontype||\"MaxKey\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1;if(t instanceof s||\"ObjectID\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+13;if(t instanceof Date||m(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(\"undefined\"!=typeof n&&n.isBuffer(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+6+t.length;if(t instanceof i||t instanceof o||t instanceof a||\"Long\"==t._bsontype||\"Double\"==t._bsontype||\"Timestamp\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+9;if(t instanceof p||\"Code\"==t._bsontype)return null!=t.scope&&Object.keys(t.scope).length>0?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.code.toString(),\"utf8\")+1+v(t.scope,r,b):(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.code.toString(),\"utf8\")+1;if(t instanceof h||\"Binary\"==t._bsontype)return t.sub_type==h.SUBTYPE_BYTE_ARRAY?(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1+4):(null!=e?n.byteLength(e,\"utf8\")+1:0)+(t.position+1+4+1);if(t instanceof c||\"Symbol\"==t._bsontype)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+n.byteLength(t.value,\"utf8\")+4+1+1;if(t instanceof d||\"DBRef\"==t._bsontype){var x={$ref:t.namespace,$id:t.oid};return null!=t.db&&(x.$db=t.db),(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+v(x,r,b)}return t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1:t instanceof u||\"BSONRegExp\"==t._bsontype?(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.pattern,\"utf8\")+1+n.byteLength(t.options,\"utf8\")+1:(null!=e?n.byteLength(e,\"utf8\")+1:0)+v(t,r,b)+1;case\"function\":if(t instanceof RegExp||\"[object RegExp]\"===Object.prototype.toString.call(t)||\"[object RegExp]\"==String.call(t))return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+n.byteLength(t.source,\"utf8\")+1+(t.global?1:0)+(t.ignoreCase?1:0)+(t.multiline?1:0)+1;if(r&&null!=t.scope&&Object.keys(t.scope).length>0)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+4+n.byteLength(t.toString(),\"utf8\")+1+v(t.scope,r,b);if(r)return(null!=e?n.byteLength(e,\"utf8\")+1:0)+1+4+n.byteLength(t.toString(),\"utf8\")+1}return 0}var i=(e(\"../float_parser\").writeIEEE754,e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../double\").Double,a=e(\"../timestamp\").Timestamp,s=e(\"../objectid\").ObjectID,c=e(\"../symbol\").Symbol,u=e(\"../regexp\").BSONRegExp,p=e(\"../code\").Code,l=e(\"../min_key\").MinKey,f=e(\"../max_key\").MaxKey,d=e(\"../db_ref\").DBRef,h=e(\"../binary\").Binary,m=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},v=function(e,t,n){var i=5;if(Array.isArray(e))for(var o=0;o<e.length;o++)i+=r(o.toString(),e[o],t,!0,n);else{e.toBSON&&(e=e.toBSON());for(var a in e)i+=r(a,e[a],t,!1,n)}return i},g={};g.functionCache={};g.BSON_DATA_NUMBER=1,g.BSON_DATA_STRING=2,g.BSON_DATA_OBJECT=3,g.BSON_DATA_ARRAY=4,g.BSON_DATA_BINARY=5,g.BSON_DATA_OID=7,g.BSON_DATA_BOOLEAN=8,g.BSON_DATA_DATE=9,g.BSON_DATA_NULL=10,g.BSON_DATA_REGEXP=11,g.BSON_DATA_CODE=13,g.BSON_DATA_SYMBOL=14,g.BSON_DATA_CODE_W_SCOPE=15,g.BSON_DATA_INT=16,g.BSON_DATA_TIMESTAMP=17,g.BSON_DATA_LONG=18,g.BSON_DATA_MIN_KEY=255,g.BSON_DATA_MAX_KEY=127,g.BSON_BINARY_SUBTYPE_DEFAULT=0,g.BSON_BINARY_SUBTYPE_FUNCTION=1,g.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,g.BSON_BINARY_SUBTYPE_UUID=3,g.BSON_BINARY_SUBTYPE_MD5=4,g.BSON_BINARY_SUBTYPE_USER_DEFINED=128,g.BSON_INT32_MAX=2147483647,g.BSON_INT32_MIN=-2147483648,g.BSON_INT64_MAX=Math.pow(2,63)-1,g.BSON_INT64_MIN=-Math.pow(2,63),g.JS_INT_MAX=9007199254740992,g.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=v}).call(this,e(\"buffer\").Buffer)},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,buffer:void 0}],66:[function(require,module,exports){\"use strict\";var readIEEE754=require(\"../float_parser\").readIEEE754,f=require(\"util\").format,Long=require(\"../long\").Long,Double=require(\"../double\").Double,Timestamp=require(\"../timestamp\").Timestamp,ObjectID=require(\"../objectid\").ObjectID,Symbol=require(\"../symbol\").Symbol,Code=require(\"../code\").Code,MinKey=require(\"../min_key\").MinKey,MaxKey=require(\"../max_key\").MaxKey,DBRef=require(\"../db_ref\").DBRef,BSONRegExp=require(\"../regexp\").BSONRegExp,Binary=require(\"../binary\").Binary,deserialize=function(e,t,n){t=null==t?{}:t;var r=t&&t.index?t.index:0,i=e[r]|e[r+1]<<8|e[r+2]<<16|e[r+3]<<24;if(5>i||e.length<i)throw new Error(\"corrupt bson message\");if(0!=e[r+i-1])throw new Error(\"One object, sized correctly, with a spot for an EOO, but the EOO isn't 0x00\");return deserializeObject(e,r,t,n)},deserializeObject=function(e,t,n,r){var i=null==n.evalFunctions?!1:n.evalFunctions,o=null==n.cacheFunctions?!1:n.cacheFunctions,a=null==n.cacheFunctionsCrc32?!1:n.cacheFunctionsCrc32,s=null==n.promoteLongs?!0:n.promoteLongs,c=null==n.fieldsAsRaw?null:n.fieldsAsRaw,u=null==n.raw?!1:n.raw,p=\"boolean\"==typeof n.bsonRegExp?n.bsonRegExp:!1,l=null==n.promoteBuffers?!1:n.promoteBuffers;if(e.length<5)throw new Error(\"corrupt bson message < 5 bytes long\");var f=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(5>f||f>e.length)throw new Error(\"corrupt bson message\");for(var d=r?[]:{};;){var h=e[t++];if(0==h)break;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var v=e.toString(\"utf8\",t,m);if(t=m+1,h==BSON.BSON_DATA_STRING){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=e.toString(\"utf8\",t,t+g-1),t+=g}else if(h==BSON.BSON_DATA_OID){var y=e.toString(\"binary\",t,t+12);d[v]=new ObjectID(y),t+=12}else if(h==BSON.BSON_DATA_INT)d[v]=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;else if(h==BSON.BSON_DATA_NUMBER)d[v]=e.readDoubleLE(t),t+=8;else if(h==BSON.BSON_DATA_DATE){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Date(new Long(b,x).toNumber())}else if(h==BSON.BSON_DATA_BOOLEAN)d[v]=1==e[t++];else if(h==BSON.BSON_DATA_OBJECT){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24;\nif(0>=_||_>e.length-t)throw new Error(\"bad embedded document length in bson\");u?d[v]=e.slice(t,t+_):d[v]=deserializeObject(e,w,n,!1),t+=_}else if(h==BSON.BSON_DATA_ARRAY){var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,k=n;if(c&&c[v]){k={};for(var j in n)k[j]=n[j];k.raw=!0}d[v]=deserializeObject(e,w,k,!0),t+=_}else if(h==BSON.BSON_DATA_UNDEFINED||h==BSON.BSON_DATA_NULL)d[v]=null;else if(h==BSON.BSON_DATA_LONG){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,S=new Long(b,x);s?d[v]=S.lessThanOrEqual(JS_INT_MAX_LONG)&&S.greaterThanOrEqual(JS_INT_MIN_LONG)?S.toNumber():S:d[v]=S}else if(h==BSON.BSON_DATA_BINARY){var E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,O=e[t++];if(null!=e.slice)O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24),l?d[v]=e.slice(t,t+E):d[v]=new Binary(e.slice(t,t+E),O);else{var A=\"undefined\"!=typeof Uint8Array?new Uint8Array(new ArrayBuffer(E)):new Array(E);O==Binary.SUBTYPE_BYTE_ARRAY&&(E=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);for(var m=0;E>m;m++)A[m]=e[t+m];l?d[v]=A:d[v]=new Binary(A,O)}t+=E}else if(h==BSON.BSON_DATA_REGEXP&&0==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1;for(var I=new Array(T.length),m=0;m<T.length;m++)switch(T[m]){case\"m\":I[m]=\"m\";break;case\"s\":I[m]=\"g\";break;case\"i\":I[m]=\"i\"}d[v]=new RegExp(C,I.join(\"\"))}else if(h==BSON.BSON_DATA_REGEXP&&1==p){for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var C=e.toString(\"utf8\",t,m);t=m+1;for(var m=t;0!==e[m]&&m<e.length;)m++;if(m>=e.length)throw new Error(\"Bad BSON Document: illegal CString\");var T=e.toString(\"utf8\",t,m);t=m+1,d[v]=new BSONRegExp(C,T)}else if(h==BSON.BSON_DATA_SYMBOL){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");d[v]=new Symbol(e.toString(\"utf8\",t,t+g-1)),t+=g}else if(h==BSON.BSON_DATA_TIMESTAMP){var b=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,x=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;d[v]=new Timestamp(b,x)}else if(h==BSON.BSON_DATA_MIN_KEY)d[v]=new MinKey;else if(h==BSON.BSON_DATA_MAX_KEY)d[v]=new MaxKey;else if(h==BSON.BSON_DATA_CODE){var g=e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24;if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);if(i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P)}else d[v]=new Code(P,{});t+=g}else if(h==BSON.BSON_DATA_CODE_W_SCOPE){var g=(e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24,e[t++]|e[t++]<<8|e[t++]<<16|e[t++]<<24);if(0>=g||g>e.length-t||0!=e[t+g-1])throw new Error(\"bad string length in bson\");var P=e.toString(\"utf8\",t,t+g-1);t+=g;var w=t,_=e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,M=deserializeObject(e,w,n,!1);if(t+=_,i){if(o){var F=a?crc32(P):P;d[v]=isolateEvalWithHash(functionCache,F,P,d)}else d[v]=isolateEval(P);d[v].scope=M}else d[v]=new Code(P,M)}}return null!=d.$id&&(d=new DBRef(d.$ref,d.$id,d.$db)),d},isolateEvalWithHash=function(functionCache,hash,functionString,object){var value=null;return null==functionCache[hash]&&(eval(\"value = \"+functionString),functionCache[hash]=value),functionCache[hash].bind(object)},isolateEval=function(functionString){var value=null;return eval(\"value = \"+functionString),value},BSON={},functionCache=BSON.functionCache={};BSON.BSON_DATA_NUMBER=1,BSON.BSON_DATA_STRING=2,BSON.BSON_DATA_OBJECT=3,BSON.BSON_DATA_ARRAY=4,BSON.BSON_DATA_BINARY=5,BSON.BSON_DATA_UNDEFINED=7,BSON.BSON_DATA_OID=7,BSON.BSON_DATA_BOOLEAN=8,BSON.BSON_DATA_DATE=9,BSON.BSON_DATA_NULL=10,BSON.BSON_DATA_REGEXP=11,BSON.BSON_DATA_CODE=13,BSON.BSON_DATA_SYMBOL=14,BSON.BSON_DATA_CODE_W_SCOPE=15,BSON.BSON_DATA_INT=16,BSON.BSON_DATA_TIMESTAMP=17,BSON.BSON_DATA_LONG=18,BSON.BSON_DATA_MIN_KEY=255,BSON.BSON_DATA_MAX_KEY=127,BSON.BSON_BINARY_SUBTYPE_DEFAULT=0,BSON.BSON_BINARY_SUBTYPE_FUNCTION=1,BSON.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,BSON.BSON_BINARY_SUBTYPE_UUID=3,BSON.BSON_BINARY_SUBTYPE_MD5=4,BSON.BSON_BINARY_SUBTYPE_USER_DEFINED=128,BSON.BSON_INT32_MAX=2147483647,BSON.BSON_INT32_MIN=-2147483648,BSON.BSON_INT64_MAX=Math.pow(2,63)-1,BSON.BSON_INT64_MIN=-Math.pow(2,63),BSON.JS_INT_MAX=9007199254740992,BSON.JS_INT_MIN=-9007199254740992;var JS_INT_MAX_LONG=Long.fromNumber(9007199254740992),JS_INT_MIN_LONG=Long.fromNumber(-9007199254740992);module.exports=deserialize},{\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70,util:void 0}],67:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../float_parser\").writeIEEE754,i=(e(\"../float_parser\").readIEEE754,e(\"../long\").Long),o=e(\"../map\"),a=(e(\"../double\").Double,e(\"../timestamp\").Timestamp,e(\"../objectid\").ObjectID,e(\"../symbol\").Symbol,e(\"../code\").Code,e(\"../regexp\").BSONRegExp,e(\"../min_key\").MinKey),s=(e(\"../max_key\").MaxKey,e(\"../db_ref\").DBRef,e(\"../binary\").Binary),c=/\\x00/,u=function(e){return\"object\"==typeof e&&\"[object Date]\"===Object.prototype.toString.call(e)},p=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},l=function(e,t,n,r){e[r++]=T.BSON_DATA_STRING;var i=e.write(t,r,\"utf8\");r=r+i+1,e[r-1]=0;var o=e.write(n,r+4,\"utf8\");return e[r+3]=o+1>>24&255,e[r+2]=o+1>>16&255,e[r+1]=o+1>>8&255,e[r]=o+1&255,r=r+4+o,e[r++]=0,r},f=function(e,t,n,o){if(Math.floor(n)===n&&n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX)if(n>=T.BSON_INT32_MIN&&n<=T.BSON_INT32_MAX){e[o++]=T.BSON_DATA_INT;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,e[o++]=255&n,e[o++]=n>>8&255,e[o++]=n>>16&255,e[o++]=n>>24&255}else if(n>=T.JS_INT_MIN&&n<=T.JS_INT_MAX){e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}else{e[o++]=T.BSON_DATA_LONG;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0;var s=i.fromNumber(n),c=s.getLowBits(),u=s.getHighBits();e[o++]=255&c,e[o++]=c>>8&255,e[o++]=c>>16&255,e[o++]=c>>24&255,e[o++]=255&u,e[o++]=u>>8&255,e[o++]=u>>16&255,e[o++]=u>>24&255}else{e[o++]=T.BSON_DATA_NUMBER;var a=e.write(t,o,\"utf8\");o+=a,e[o++]=0,r(e,n,o,\"little\",52,8),o+=8}return o},d=function(e,t,n,r){e[r++]=T.BSON_DATA_NULL;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},h=function(e,t,n,r){e[r++]=T.BSON_DATA_BOOLEAN;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e[r++]=n?1:0,r},m=function(e,t,n,r){e[r++]=T.BSON_DATA_DATE;var o=e.write(t,r,\"utf8\");r+=o,e[r++]=0;var a=i.fromNumber(n.getTime()),s=a.getLowBits(),c=a.getHighBits();return e[r++]=255&s,e[r++]=s>>8&255,e[r++]=s>>16&255,e[r++]=s>>24&255,e[r++]=255&c,e[r++]=c>>8&255,e[r++]=c>>16&255,e[r++]=c>>24&255,r},v=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");if(r+=i,e[r++]=0,n.source&&null!=n.source.match(c))throw Error(\"value \"+n.source+\" must not contain null bytes\");return r+=e.write(n.source,r,\"utf8\"),e[r++]=0,n.global&&(e[r++]=115),n.ignoreCase&&(e[r++]=105),n.multiline&&(e[r++]=109),e[r++]=0,r},g=function(e,t,n,r){e[r++]=T.BSON_DATA_REGEXP;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r+=e.write(n.pattern,r,\"utf8\"),e[r++]=0,r+=e.write(n.options,r,\"utf8\"),e[r++]=0,r},y=function(e,t,n,r){null===n?e[r++]=T.BSON_DATA_NULL:n instanceof a?e[r++]=T.BSON_DATA_MIN_KEY:e[r++]=T.BSON_DATA_MAX_KEY;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,r},b=function(e,t,n,r){e[r++]=T.BSON_DATA_OID;var i=e.write(t,r,\"utf8\");return r+=i,e[r++]=0,e.write(n.id,r,\"binary\"),r+12},x=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.length;return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=T.BSON_BINARY_SUBTYPE_DEFAULT,n.copy(e,r,0,o),r+=o},w=function(e,t,n,r,i,o,a,s){e[r++]=Array.isArray(n)?T.BSON_DATA_ARRAY:T.BSON_DATA_OBJECT;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=C(e,n,i,r,o+1,a,s);return u},_=function(e,t,n,r){e[r++]=\"Long\"==n._bsontype?T.BSON_DATA_LONG:T.BSON_DATA_TIMESTAMP;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.getLowBits(),a=n.getHighBits();return e[r++]=255&o,e[r++]=o>>8&255,e[r++]=o>>16&255,e[r++]=o>>24&255,e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,r},k=function(e,t,n,i){e[i++]=T.BSON_DATA_NUMBER;var o=e.write(t,i,\"utf8\");return i+=o,e[i++]=0,r(e,n,i,\"little\",52,8),i+=8},j=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_CODE;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s=n.toString(),c=e.write(s,r+4,\"utf8\")+1;return e[r]=255&c,e[r+1]=c>>8&255,e[r+2]=c>>16&255,e[r+3]=c>>24&255,r=r+4+c-1,e[r++]=0,r},S=function(e,t,n,r,i,o,a,s){if(null!=n.scope&&Object.keys(n.scope).length>0){e[r++]=T.BSON_DATA_CODE_W_SCOPE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var u=r,p=\"string\"==typeof n.code?n.code:n.code.toString();r+=4;var l=e.write(p,r+4,\"utf8\")+1;e[r]=255&l,e[r+1]=l>>8&255,e[r+2]=l>>16&255,e[r+3]=l>>24&255,e[r+4+l-1]=0,r=r+l+4;var f=C(e,n.scope,i,r,o+1,a,s);r=f-1;var d=f-u;e[u++]=255&d,e[u++]=d>>8&255,e[u++]=d>>16&255,e[u++]=d>>24&255,e[r++]=0}else{e[r++]=T.BSON_DATA_CODE;var c=e.write(t,r,\"utf8\");r+=c,e[r++]=0;var p=n.code.toString(),h=e.write(p,r+4,\"utf8\")+1;e[r]=255&h,e[r+1]=h>>8&255,e[r+2]=h>>16&255,e[r+3]=h>>24&255,r=r+4+h-1,e[r++]=0}return r},E=function(e,t,n,r){e[r++]=T.BSON_DATA_BINARY;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=n.value(!0),a=n.position;return e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255,e[r++]=n.sub_type,n.sub_type==s.SUBTYPE_BYTE_ARRAY&&(e[r++]=255&a,e[r++]=a>>8&255,e[r++]=a>>16&255,e[r++]=a>>24&255),o.copy(e,r,0,n.position),r+=n.position},O=function(e,t,n,r){e[r++]=T.BSON_DATA_SYMBOL;var i=e.write(t,r,\"utf8\");r+=i,e[r++]=0;var o=e.write(n.value,r+4,\"utf8\")+1;return e[r]=255&o,e[r+1]=o>>8&255,e[r+2]=o>>16&255,e[r+3]=o>>24&255,r=r+4+o-1,e[r++]=0,r},A=function(e,t,n,r,i,o){e[r++]=T.BSON_DATA_OBJECT;var a=e.write(t,r,\"utf8\");r+=a,e[r++]=0;var s,c=r;s=null!=n.db?C(e,{$ref:n.namespace,$id:n.oid,$db:n.db},!1,r,i+1,o):C(e,{$ref:n.namespace,$id:n.oid},!1,r,i+1,o);var u=s-c;return e[c++]=255&u,e[c++]=u>>8&255,e[c++]=u>>16&255,e[c++]=u>>24&255,s},C=function(e,t,r,i,a,s,C){i=i||0;var T=i+4;if(Array.isArray(t))for(var I=0;I<t.length;I++){var P=\"\"+I,F=t[I];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):\"undefined\"==M||null==F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T))}else if(t instanceof o)for(var z=t.entries(),B=!1;!B;){var N=z.next();if(B=N.done,!B){var P=N.value[0],F=N.value[1],M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}else{if(t.toBSON){if(\"function\"!=typeof t.toBSON)throw new Error(\"toBSON is not a function\");if(t=t.toBSON(),null!=t&&\"object\"!=typeof t)throw new Error(\"toBSON function did not return an object\")}for(var P in t){var F=t[P];if(F&&F.toBSON){if(\"function\"!=typeof F.toBSON)throw new Error(\"toBSON is not a function\");F=F.toBSON()}var M=typeof F;if(\"$db\"!=P&&\"$ref\"!=P&&\"$id\"!=P){if(null!=P.match(c))throw Error(\"key \"+P+\" must not contain null bytes\");if(r){if(\"$\"==P[0])throw Error(\"key \"+P+\" must not start with '$'\");if(~P.indexOf(\".\"))throw Error(\"key \"+P+\" must not contain '.'\")}}\"string\"==M?T=l(e,P,F,T):\"number\"==M?T=f(e,P,F,T):\"boolean\"==M?T=h(e,P,F,T):F instanceof Date||u(F)?T=m(e,P,F,T):void 0===F&&1==C||(null===F||void 0===F?T=d(e,P,F,T):\"ObjectID\"==F._bsontype?T=b(e,P,F,T):n.isBuffer(F)?T=x(e,P,F,T):F instanceof RegExp||p(F)?T=v(e,P,F,T):\"object\"==M&&null==F._bsontype?T=w(e,P,F,T,r,a,s,C):\"Long\"==F._bsontype||\"Timestamp\"==F._bsontype?T=_(e,P,F,T):\"Double\"==F._bsontype?T=k(e,P,F,T):\"Code\"==F._bsontype?T=S(e,P,F,T,r,a,s,C):\"function\"==typeof F&&s?T=j(e,P,F,T,r,a,s):\"Binary\"==F._bsontype?T=E(e,P,F,T):\"Symbol\"==F._bsontype?T=O(e,P,F,T):\"DBRef\"==F._bsontype?T=A(e,P,F,T,a,s):\"BSONRegExp\"==F._bsontype?T=g(e,P,F,T):\"MinKey\"!=F._bsontype&&\"MaxKey\"!=F._bsontype||(T=y(e,P,F,T)))}}e[T++]=0;var D=T-i;return e[i++]=255&D,e[i++]=D>>8&255,e[i++]=D>>16&255,e[i++]=D>>24&255,T},T={};T.functionCache={};T.BSON_DATA_NUMBER=1,T.BSON_DATA_STRING=2,T.BSON_DATA_OBJECT=3,T.BSON_DATA_ARRAY=4,T.BSON_DATA_BINARY=5,T.BSON_DATA_OID=7,T.BSON_DATA_BOOLEAN=8,T.BSON_DATA_DATE=9,T.BSON_DATA_NULL=10,T.BSON_DATA_REGEXP=11,T.BSON_DATA_CODE=13,T.BSON_DATA_SYMBOL=14,T.BSON_DATA_CODE_W_SCOPE=15,T.BSON_DATA_INT=16,T.BSON_DATA_TIMESTAMP=17,T.BSON_DATA_LONG=18,T.BSON_DATA_MIN_KEY=255,T.BSON_DATA_MAX_KEY=127,T.BSON_BINARY_SUBTYPE_DEFAULT=0,T.BSON_BINARY_SUBTYPE_FUNCTION=1,T.BSON_BINARY_SUBTYPE_BYTE_ARRAY=2,T.BSON_BINARY_SUBTYPE_UUID=3,T.BSON_BINARY_SUBTYPE_MD5=4,T.BSON_BINARY_SUBTYPE_USER_DEFINED=128,T.BSON_INT32_MAX=2147483647,T.BSON_INT32_MIN=-2147483648,T.BSON_INT64_MAX=Math.pow(2,63)-1,T.BSON_INT64_MIN=-Math.pow(2,63),T.JS_INT_MAX=9007199254740992,T.JS_INT_MIN=-9007199254740992;i.fromNumber(9007199254740992),i.fromNumber(-9007199254740992);t.exports=C}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../binary\":52,\"../code\":55,\"../db_ref\":56,\"../double\":57,\"../float_parser\":58,\"../long\":60,\"../map\":61,\"../max_key\":62,\"../min_key\":63,\"../objectid\":64,\"../regexp\":68,\"../symbol\":69,\"../timestamp\":70}],68:[function(e,t,n){function r(e,t){if(!(this instanceof r))return new r;this._bsontype=\"BSONRegExp\",this.pattern=e,this.options=t;for(var n=0;n<t.length;n++)if(\"i\"!=this.options[n]&&\"m\"!=this.options[n]&&\"x\"!=this.options[n]&&\"l\"!=this.options[n]&&\"s\"!=this.options[n]&&\"u\"!=this.options[n])throw new Error(\"the regular expression options [\"+this.options[n]+\"] is not supported\")}t.exports=r,t.exports.BSONRegExp=r},{}],69:[function(e,t,n){function r(e){return this instanceof r?(this._bsontype=\"Symbol\",void(this.value=e)):new r(e)}r.prototype.valueOf=function(){return this.value},r.prototype.toString=function(){return this.value},r.prototype.inspect=function(){return this.value},r.prototype.toJSON=function(){return this.value},t.exports=r,t.exports.Symbol=r},{}],70:[function(e,t,n){function r(e,t){return this instanceof r?(this._bsontype=\"Timestamp\",this.low_=0|e,void(this.high_=0|t)):new r(e,t)}r.prototype.toInt=function(){return this.low_},r.prototype.toNumber=function(){return this.high_*r.TWO_PWR_32_DBL_+this.getLowBitsUnsigned()},r.prototype.toJSON=function(){return this.toString()},r.prototype.toString=function(e){var t=e||10;if(2>t||t>36)throw Error(\"radix out of range: \"+t);if(this.isZero())return\"0\";if(this.isNegative()){if(this.equals(r.MIN_VALUE)){var n=r.fromNumber(t),i=this.div(n),o=i.multiply(n).subtract(this);return i.toString(t)+o.toInt().toString(t)}return\"-\"+this.negate().toString(t)}for(var a=r.fromNumber(Math.pow(t,6)),o=this,s=\"\";;){var c=o.div(a),u=o.subtract(c.multiply(a)).toInt(),p=u.toString(t);if(o=c,o.isZero())return p+s;for(;p.length<6;)p=\"0\"+p;s=\"\"+p+s}},r.prototype.getHighBits=function(){return this.high_},r.prototype.getLowBits=function(){return this.low_},r.prototype.getLowBitsUnsigned=function(){return this.low_>=0?this.low_:r.TWO_PWR_32_DBL_+this.low_},r.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.equals(r.MIN_VALUE)?64:this.negate().getNumBitsAbs();for(var e=0!=this.high_?this.high_:this.low_,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high_?t+33:t+1},r.prototype.isZero=function(){return 0==this.high_&&0==this.low_},r.prototype.isNegative=function(){return this.high_<0},r.prototype.isOdd=function(){return 1==(1&this.low_)},r.prototype.equals=function(e){return this.high_==e.high_&&this.low_==e.low_},r.prototype.notEquals=function(e){return this.high_!=e.high_||this.low_!=e.low_},r.prototype.lessThan=function(e){return this.compare(e)<0},r.prototype.lessThanOrEqual=function(e){return this.compare(e)<=0},r.prototype.greaterThan=function(e){return this.compare(e)>0},r.prototype.greaterThanOrEqual=function(e){return this.compare(e)>=0},r.prototype.compare=function(e){if(this.equals(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.subtract(e).isNegative()?-1:1},r.prototype.negate=function(){return this.equals(r.MIN_VALUE)?r.MIN_VALUE:this.not().add(r.ONE)},r.prototype.add=function(e){var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o+u,f+=d>>>16,d&=65535,f+=i+c,l+=f>>>16,f&=65535,l+=n+s,p+=l>>>16,l&=65535,p+=t+a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.subtract=function(e){return this.add(e.negate())},r.prototype.multiply=function(e){if(this.isZero())return r.ZERO;if(e.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE))return e.isOdd()?r.MIN_VALUE:r.ZERO;if(e.equals(r.MIN_VALUE))return this.isOdd()?r.MIN_VALUE:r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().multiply(e.negate()):this.negate().multiply(e).negate();if(e.isNegative())return this.multiply(e.negate()).negate();if(this.lessThan(r.TWO_PWR_24_)&&e.lessThan(r.TWO_PWR_24_))return r.fromNumber(this.toNumber()*e.toNumber());var t=this.high_>>>16,n=65535&this.high_,i=this.low_>>>16,o=65535&this.low_,a=e.high_>>>16,s=65535&e.high_,c=e.low_>>>16,u=65535&e.low_,p=0,l=0,f=0,d=0;return d+=o*u,f+=d>>>16,d&=65535,f+=i*u,l+=f>>>16,f&=65535,f+=o*c,l+=f>>>16,f&=65535,l+=n*u,p+=l>>>16,l&=65535,l+=i*c,p+=l>>>16,l&=65535,l+=o*s,p+=l>>>16,l&=65535,p+=t*u+n*c+i*s+o*a,p&=65535,r.fromBits(f<<16|d,p<<16|l)},r.prototype.div=function(e){if(e.isZero())throw Error(\"division by zero\");if(this.isZero())return r.ZERO;if(this.equals(r.MIN_VALUE)){if(e.equals(r.ONE)||e.equals(r.NEG_ONE))return r.MIN_VALUE;if(e.equals(r.MIN_VALUE))return r.ONE;var t=this.shiftRight(1),n=t.div(e).shiftLeft(1);if(n.equals(r.ZERO))return e.isNegative()?r.ONE:r.NEG_ONE;var i=this.subtract(e.multiply(n)),o=n.add(i.div(e));return o}if(e.equals(r.MIN_VALUE))return r.ZERO;if(this.isNegative())return e.isNegative()?this.negate().div(e.negate()):this.negate().div(e).negate();if(e.isNegative())return this.div(e.negate()).negate();for(var a=r.ZERO,i=this;i.greaterThanOrEqual(e);){for(var n=Math.max(1,Math.floor(i.toNumber()/e.toNumber())),s=Math.ceil(Math.log(n)/Math.LN2),c=48>=s?1:Math.pow(2,s-48),u=r.fromNumber(n),p=u.multiply(e);p.isNegative()||p.greaterThan(i);)n-=c,u=r.fromNumber(n),p=u.multiply(e);u.isZero()&&(u=r.ONE),a=a.add(u),i=i.subtract(p)}return a},r.prototype.modulo=function(e){return this.subtract(this.div(e).multiply(e))},r.prototype.not=function(){return r.fromBits(~this.low_,~this.high_)},r.prototype.and=function(e){return r.fromBits(this.low_&e.low_,this.high_&e.high_)},r.prototype.or=function(e){return r.fromBits(this.low_|e.low_,this.high_|e.high_)},r.prototype.xor=function(e){return r.fromBits(this.low_^e.low_,this.high_^e.high_)},r.prototype.shiftLeft=function(e){if(e&=63,0==e)return this;var t=this.low_;if(32>e){var n=this.high_;return r.fromBits(t<<e,n<<e|t>>>32-e)}return r.fromBits(0,t<<e-32)},r.prototype.shiftRight=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>e)}return r.fromBits(t>>e-32,t>=0?0:-1)},r.prototype.shiftRightUnsigned=function(e){if(e&=63,0==e)return this;var t=this.high_;if(32>e){var n=this.low_;return r.fromBits(n>>>e|t<<32-e,t>>>e)}return 32==e?r.fromBits(t,0):r.fromBits(t>>>e-32,0)},r.fromInt=function(e){if(e>=-128&&128>e){var t=r.INT_CACHE_[e];if(t)return t}var n=new r(0|e,0>e?-1:0);return e>=-128&&128>e&&(r.INT_CACHE_[e]=n),n},r.fromNumber=function(e){return isNaN(e)||!isFinite(e)?r.ZERO:e<=-r.TWO_PWR_63_DBL_?r.MIN_VALUE:e+1>=r.TWO_PWR_63_DBL_?r.MAX_VALUE:0>e?r.fromNumber(-e).negate():new r(e%r.TWO_PWR_32_DBL_|0,e/r.TWO_PWR_32_DBL_|0)},r.fromBits=function(e,t){return new r(e,t)},r.fromString=function(e,t){if(0==e.length)throw Error(\"number format error: empty string\");var n=t||10;if(2>n||n>36)throw Error(\"radix out of range: \"+n);if(\"-\"==e.charAt(0))return r.fromString(e.substring(1),n).negate();if(e.indexOf(\"-\")>=0)throw Error('number format error: interior \"-\" character: '+e);for(var i=r.fromNumber(Math.pow(n,8)),o=r.ZERO,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);if(8>s){var u=r.fromNumber(Math.pow(n,s));o=o.multiply(u).add(r.fromNumber(c))}else o=o.multiply(i),o=o.add(r.fromNumber(c))}return o},r.INT_CACHE_={},r.TWO_PWR_16_DBL_=65536,r.TWO_PWR_24_DBL_=1<<24,r.TWO_PWR_32_DBL_=r.TWO_PWR_16_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_31_DBL_=r.TWO_PWR_32_DBL_/2,r.TWO_PWR_48_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_16_DBL_,r.TWO_PWR_64_DBL_=r.TWO_PWR_32_DBL_*r.TWO_PWR_32_DBL_,r.TWO_PWR_63_DBL_=r.TWO_PWR_64_DBL_/2,r.ZERO=r.fromInt(0),r.ONE=r.fromInt(1),r.NEG_ONE=r.fromInt(-1),r.MAX_VALUE=r.fromBits(-1,2147483647),r.MIN_VALUE=r.fromBits(0,-2147483648),r.TWO_PWR_24_=r.fromInt(1<<24),t.exports=r,t.exports.Timestamp=r},{}],71:[function(e,t,n){function r(e){this.dict=e||{}}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return\"undefined\"!=typeof t?n.set(e,t,r):void 0},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],72:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":84,stream:void 0,util:void 0}],73:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n=t||{},r=n.type||\"attachment\",a=i(e,n.fallback);return o(new d(r,a))}function i(e,t){if(void 0!==e){var n={};if(\"string\"!=typeof e)throw new TypeError(\"filename must be a string\");if(void 0===t&&(t=!0),\"string\"!=typeof t&&\"boolean\"!=typeof t)throw new TypeError(\"fallback must be a string or boolean\");if(\"string\"==typeof t&&y.test(t))throw new TypeError(\"fallback must be ISO-8859-1 string\");var r=h(e),i=_.test(r),o=\"string\"!=typeof t?t&&s(r):h(t),a=\"string\"==typeof o&&o!==r;return(a||!i||v.test(r))&&(n[\"filename*\"]=r),(i||a)&&(n.filename=a?o:r),n}}function o(e){var t=e.parameters,n=e.type;if(!n||\"string\"!=typeof n||!k.test(n))throw new TypeError(\"invalid type\");var r=String(n).toLowerCase();if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),a=0;a<o.length;a++){i=o[a];var s=\"*\"===i.substr(-1)?f(t[i]):l(t[i]);r+=\"; \"+i+\"=\"+s}return r}function a(e){var t=j.exec(e);if(!t)throw new TypeError(\"invalid extended field value\");var r,i=t[1].toLowerCase(),o=t[2],a=o.replace(g,u);switch(i){case\"iso-8859-1\":r=s(a);break;case\"utf-8\":r=new n(a,\"binary\").toString(\"utf8\");break;default:throw new TypeError(\"unsupported charset in extended field\")}return r}function s(e){return String(e).replace(y,\"?\")}function c(e){if(!e||\"string\"!=typeof e)throw new TypeError(\"argument string is required\");var t=S.exec(e);if(!t)throw new TypeError(\"invalid type format\");var n,r,i=t[0].length,o=t[1].toLowerCase(),s=[],c={};for(i=w.lastIndex=\";\"===t[0].substr(-1)?i-1:i;t=w.exec(e);){if(t.index!==i)throw new TypeError(\"invalid parameter format\");if(i+=t[0].length,n=t[1].toLowerCase(),r=t[2],-1!==s.indexOf(n))throw new TypeError(\"invalid duplicate parameter\");s.push(n),n.indexOf(\"*\")+1!==n.length?\"string\"!=typeof c[n]&&('\"'===r[0]&&(r=r.substr(1,r.length-2).replace(b,\"$1\")),c[n]=r):(n=n.slice(0,-1),r=a(r),c[n]=r)}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return new d(o,c)}function u(e,t){return String.fromCharCode(parseInt(t,16))}function p(e){var t=String(e).charCodeAt(0).toString(16).toUpperCase();return 1===t.length?\"%0\"+t:\"%\"+t}function l(e){var t=String(e);return'\"'+t.replace(x,\"\\\\$1\")+'\"'}function f(e){var t=String(e),n=encodeURIComponent(t).replace(m,p);return\"UTF-8''\"+n}function d(e,t){this.type=e,this.parameters=t}t.exports=r,t.exports.parse=c;var h=e(\"path\").basename,m=/[\\x00-\\x20\"'\\(\\)*,\\/:;<=>?@\\[\\\\\\]\\{\\}\\x7f]/g,v=/%[0-9A-Fa-f]{2}/,g=/%([0-9A-Fa-f]{2})/g,y=/[^\\x20-\\x7e\\xa0-\\xff]/g,b=/\\\\([\\u0000-\\u007f])/g,x=/([\\\\\"])/g,w=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,_=/^[\\x20-\\x7e\\x80-\\xff]+$/,k=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,j=/^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+\\-\\.^_`|~])+)$/,S=/^([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *(?:$|;)/}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,path:void 0}],74:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.type;if(!n||!d.test(n))throw new TypeError(\"invalid type\");var r=n;if(t&&\"object\"==typeof t)for(var i,o=Object.keys(t).sort(),s=0;s<o.length;s++){if(i=o[s],!p.test(i))throw new TypeError(\"invalid parameter name\");r+=\"; \"+i+\"=\"+a(t[i])}return r}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e),\"string\"!=typeof e))throw new TypeError(\"content-type header is missing from object\");if(\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t=e.indexOf(\";\"),n=-1!==t?e.substr(0,t).trim():e.trim();if(!d.test(n))throw new TypeError(\"invalid media type\");var r,i,a,u=new s(n.toLowerCase());for(c.lastIndex=t;i=c.exec(e);){if(i.index!==t)throw new TypeError(\"invalid parameter format\");t+=i[0].length,r=i[1].toLowerCase(),a=i[2],'\"'===a[0]&&(a=a.substr(1,a.length-2).replace(l,\"$1\")),u.parameters[r]=a}if(-1!==t&&t!==e.length)throw new TypeError(\"invalid parameter format\");return u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){this.parameters=Object.create(null),this.type=e}var c=/; *([!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+) */g,u=/^[\\u000b\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/,l=/\\\\([\\u000b\\u0020-\\u00ff])/g,f=/([\\\\\"])/g,d=/^[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+\\/[!#$%&'\\*\\+\\-\\.\\^_`\\|~0-9A-Za-z]+$/;n.format=r,n.parse=i},{}],75:[function(e,t,n){function r(e){return i.createHash(\"sha1\").update(e).digest(\"hex\")}var i=e(\"crypto\");n.sign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Cookie value must be provided as a string.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");return e+\".\"+i.createHmac(\"sha256\",t).update(e).digest(\"base64\").replace(/\\=+$/,\"\")},n.unsign=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"Signed cookie string must be provided.\");if(\"string\"!=typeof t)throw new TypeError(\"Secret string must be provided.\");var i=e.slice(0,e.lastIndexOf(\".\")),o=n.sign(i,t);return r(o)==r(e)?i:!1}},{crypto:void 0}],76:[function(e,t,n){function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument str must be a string\");var n={},r=t||{},i=e.split(/; */),s=r.decode||a;return i.forEach(function(e){var t=e.indexOf(\"=\");if(!(0>t)){var r=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();\n'\"'==i[0]&&(i=i.slice(1,-1)),void 0==n[r]&&(n[r]=o(i,s))}}),n}function i(e,t,n){var r=n||{},i=r.encode||s;if(!c.test(e))throw new TypeError(\"argument name is invalid\");var o=i(t);if(o&&!c.test(o))throw new TypeError(\"argument val is invalid\");var a=[e+\"=\"+o];if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error(\"maxAge should be a Number\");a.push(\"Max-Age=\"+u)}if(r.domain){if(!c.test(r.domain))throw new TypeError(\"option domain is invalid\");a.push(\"Domain=\"+r.domain)}if(r.path){if(!c.test(r.path))throw new TypeError(\"option path is invalid\");a.push(\"Path=\"+r.path)}return r.expires&&a.push(\"Expires=\"+r.expires.toUTCString()),r.httpOnly&&a.push(\"HttpOnly\"),r.secure&&a.push(\"Secure\"),a.join(\"; \")}function o(e,t){try{return t(e)}catch(n){return e}}n.parse=r,n.serialize=i;var a=decodeURIComponent,s=encodeURIComponent,c=/^[\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+$/},{}],77:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===v(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function c(e){return\"symbol\"==typeof e}function u(e){return void 0===e}function p(e){return\"[object RegExp]\"===v(e)}function l(e){return\"object\"==typeof e&&null!==e}function f(e){return\"[object Date]\"===v(e)}function d(e){return\"[object Error]\"===v(e)||e instanceof Error}function h(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||\"undefined\"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=i,n.isNullOrUndefined=o,n.isNumber=a,n.isString=s,n.isSymbol=c,n.isUndefined=u,n.isRegExp=p,n.isObject=l,n.isDate=f,n.isError=d,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538}],78:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n|=o^a}return 0===n}},{boom:51,crypto:void 0}],79:[function(e,t,n){function r(e,t){var n,r,i,o;if(n=e.name,!(\"signed\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing signed value\");if(!(\"length\"in e.integer))throw new Error(\"Malformed CTF JSON: integer missing length value\");if(r=e.integer.signed,i=e.integer.length,o=null,r&&1==i?o=\"int8_t\":1==i?o=\"uint8_t\":r&&2==i?o=\"int16_t\":2==i?o=\"uint16_t\":r&&4==i?o=\"int32_t\":4==i?o=\"uint32_t\":r&&8==i?o=\"int64_t\":8==i&&(o=\"uint64_t\"),null===o)throw new Error(\"Malformed CTF JSON: integer has unsupported length and sign - \"+i+\"/\"+r);return n!=o?\"char\"==n?void p(\"int8_t\"==o):void t.typedef(n,o):void 0}function i(e,t){var n,r;if(n=e.name,!(\"length\"in e[\"float\"]))throw new Error(\"Malformed CTF JSON: float missing length value\");if(r=e[\"float\"].length,4!=r&&8!=r)throw new Error(\"Malformed CTF JSON: float has invalid length value\");if(4==r){if(\"float\"==n)return;t.typedef(n,\"float\")}else if(8==r){if(\"double\"==n)return;t.typedef(n,\"double\")}}function o(e,t){var n,r,i;if(n=e.name,\"string\"!=typeof e.typedef)throw new Error(\"Malformed CTF JSON: typedef value in not a string\");for(r=e.typedef,i=0;i<d.length;i++)if(n==d[i])return;t.typedef(n,r)}function a(e,t){var n,r,i,o,a,s,c;if(s=[],!Array.isArray(e.struct))throw new Error(\"Malformed CTF JSON: struct value is not an array\");for(i=0;i<e.struct.length;i++){if(o=e.struct[i],!(\"name\"in o))throw new Error(\"Malformed CTF JSON: struct member missing name\");if(!(\"type\"in o))throw new Error(\"Malformed CTF JSON: struct member missing type\");if(\"string\"!=typeof o.name)throw new Error(\"Malformed CTF JSON: struct member name isn't a string\");if(\"string\"!=typeof o.type)throw new Error(\"Malformed CTF JSON: struct member type isn't a string\");n=o.name,r=o.type,a=r.indexOf(\" [\"),-1!=a&&(r=r.substring(0,a)+r.substring(a+1,r.length)),c={},c[n]={type:r},s.push(c)}n=e.name,t.typedef(n,s)}function s(e,t){var n,s;if(!(\"name\"in e))throw new Error('Malformed CTF JSON: entry missing \"name\" section');for(n=0;n<f.length;n++)f[n]in e&&s++;if(0===s)throw new Error(\"Malformed CTF JSON: found no entries\");if(s>=2)throw new Error(\"Malformed CTF JSON: found more than one entry\");return\"integer\"in e?void r(e,t):\"float\"in e?void i(e,t):\"typedef\"in e?void o(e,t):\"struct\"in e?void a(e,t):void p(!1,\"shouldn't reach here\")}function c(e,t){var n,r;if(p(e),p(t),!(\"metadata\"in e))throw new Error(\"Invalid CTF JSON: missing metadata section\");if(!(\"ctf2json_version\"in e.metadata))throw new Error(\"Invalid CTF JSON: missing ctf2json_version\");for(n=e.metadata.ctf2json_version,r=0;r<l.length&&l[r]!=n;r++);if(r==l.length)throw new Error(\"Unsuported ctf2json_version: \"+n);if(!(\"data\"in e))throw new Error(\"Invalid CTF JSON: missing data section\");if(!Array.isArray(e.data))throw new Error(\"Malformed CTF JSON: data section is not an array\");for(r=0;r<e.data.length;r++)s(e.data[r],t)}var u=e(\"assert\"),p=u.ok,l=[\"1.0\"],f=[\"integer\",\"float\",\"typedef\",\"struct\"],d=[\"int8_t\",\"uint8_t\",\"int16_t\",\"uint16_t\",\"int32_t\",\"uint32_t\",\"float\",\"double\"];n.ctfParseJson=c},{assert:void 0}],80:[function(e,t,n){function r(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return e[n]}function i(e,t,n){var r=0;return\"big\"==t?(r=e[n]<<8,r|=e[n+1]):(r=e[n],r|=e[n+1]<<8),r}function o(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i(e,t,n)}function a(e,t,n){var r=0;return\"big\"==t?(r=e[n+1]<<16,r|=e[n+2]<<8,r|=e[n+3],r+=e[n]<<24>>>0):(r=e[n+2]<<16,r|=e[n+1]<<8,r|=e[n],r+=e[n+3]<<24>>>0),r}function s(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return a(e,t,n)}function c(e,t,n){var r=new Array(2);return\"big\"==t?(r[0]=s(e,t,n),r[1]=s(e,t,n+4)):(r[0]=s(e,t,n+4),r[1]=s(e,t,n)),r}function u(e,t,n){if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return c(e,t,n)}function p(e,t,n){var r;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n>=e.length)throw new Error(\"Trying to read beyond buffer length\");return r=128&e[n],r?-1*(255-e[n]+1):e[n]}function l(e,t,n){var r,o;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+1>=e.length)throw new Error(\"Trying to read beyond buffer length\");return o=i(e,t,n),r=32768&o,r?-1*(65535-o+1):o}function f(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=a(e,t,n),r=2147483648&i,r?-1*(4294967295-i+1):i}function d(e,t,n){var r,i;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return i=c(e,t,n),(r=2147483648&i[0])?(i[0]=-1*(4294967295-i[0]),i[1]=-1*(4294967295-i[1]+1),M.ok(i[1]<=4294967296),-4294967296==i[1]&&(i[1]=0,i[0]--),i):i}function h(e,t,n){var r,i,o,a,s=[],c=127,u=255;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+3>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(s[0]=e[n],s[1]=e[n+1],s[2]=e[n+2],s[3]=e[n+3]):(s[3]=e[n],s[2]=e[n+1],s[1]=e[n+2],s[0]=e[n+3]),r=128&s[0],i=(127&s[0])<<1,i|=(128&s[1])>>>7,o=(127&s[1])<<16,o|=s[2]<<8,o|=s[3],r||i!=u||0!==o?r&&i==u&&0===o?Number.NEGATIVE_INFINITY:i==u&&0!==o?Number.NaN:0===i&&0===o?0:(i-=c,i==-c?(i++,a=0):a=1,a=(a+o*Math.pow(2,-23))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function m(e,t,n){var r,i,o,a,s,c=[],u=1023,p=2047;if(void 0===t)throw new Error(\"missing endian\");if(void 0===e)throw new Error(\"missing buffer\");if(void 0===n)throw new Error(\"missing offset\");if(n+7>=e.length)throw new Error(\"Trying to read beyond buffer length\");return\"big\"==t?(c[0]=e[n],c[1]=e[n+1],c[2]=e[n+2],c[3]=e[n+3],c[4]=e[n+4],c[5]=e[n+5],c[6]=e[n+6],c[7]=e[n+7]):(c[7]=e[n],c[6]=e[n+1],c[5]=e[n+2],c[4]=e[n+3],c[3]=e[n+4],c[2]=e[n+5],c[1]=e[n+6],c[0]=e[n+7]),r=128&c[0],i=(127&c[0])<<4,i|=(240&c[1])>>>4,s=c[7],s|=c[6]<<8,s|=c[5]<<16,o=c[4],o|=c[3]<<8,o|=c[2]<<16,o|=(15&c[1])<<24,o*=Math.pow(2,24),o+=s,r||i!=p||0!==o?r&&i==p&&0===o?Number.NEGATIVE_INFINITY:i==p&&0!==o?Number.NaN:0===i&&0===o?0:(i-=u,i==-u?(i++,a=0):a=1,a=(a+o*Math.pow(2,-52))*Math.pow(2,i),r&&(a*=-1),a):Number.POSITIVE_INFINITY}function v(e,t){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(0>e)throw new Error(\"specified a negative value for writing an unsigned value\");if(e>t)throw new Error(\"value is larger than maximum value for type\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function g(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,255),n[r]=i}function y(e,t,n,r){\"big\"==t?(n[r]=(65280&e)>>>8,n[r+1]=255&e):(n[r+1]=(65280&e)>>>8,n[r]=255&e)}function b(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,65535),y(i,t,n,r)}function x(e,t,n,r){\"big\"==t?(n[r]=(e-(16777215&e))/Math.pow(2,24),n[r+1]=e>>>16&255,n[r+2]=e>>>8&255,n[r+3]=255&e):(n[r+3]=(e-(16777215&e))/Math.pow(2,24),n[r+2]=e>>>16&255,n[r+1]=e>>>8&255,n[r]=255&e)}function w(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=v(e,4294967295),x(i,t,n,r)}function _(e,t,n,r){\"big\"==t?(x(e[0],t,n,r),x(e[1],t,n,r+4)):(x(e[0],t,n,r+4),x(e[1],t,n,r))}function k(e,t,n,r){if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");v(e[0],4294967295),v(e[1],4294967295),_(e,t,n,r)}function j(e,t,n){if(\"number\"!=typeof e)throw new(Error(\"cannot write a non-number as a number\"));if(e>t)throw new Error(\"value larger than maximum allowed value\");if(n>e)throw new Error(\"value smaller than minimum allowed value\");if(Math.floor(e)!==e)throw new Error(\"value has a fractional component\");return e}function S(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,127,-128),i>=0?g(i,t,n,r):g(255+i+1,t,n,r)}function E(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+1>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,32767,-32768),i>=0?y(i,t,n,r):y(65535+i+1,t,n,r)}function O(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");i=j(e,2147483647,-2147483648),i>=0?x(i,t,n,r):x(4294967295+i+1,t,n,r)}function A(e,t,n,r){var i,o,a=new Array(2);if(void 0===e)throw new Error(\"missing value\");if(!(e instanceof Array))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");if(i=e[0]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,o=e[1]*Number.POSITIVE_INFINITY==Number.POSITIVE_INFINITY,0!=e[0]&&0!=e[1]&&i!=o)throw new Error(\"Both entries in the array must have the same sign\");if(i)v(e[0],2147483647),v(e[1],4294967295);else if(j(e[0],0,-2147483648),j(e[1],0,-4294967295),-2147483648==e[0]&&0!=e[1])throw new Error(\"value smaller than minimum allowed value\");e[0]<0||e[1]<0?(a[0]=4294967295-Math.abs(e[0]),a[1]=4294967296-Math.abs(e[1]),4294967296==a[1]&&(a[1]=0,a[0]++)):(a[0]=e[0],a[1]=e[1]),_(a,t,n,r)}function C(e){return Math.log(e)/Math.log(2)}function T(e){return Math.floor(C(e))}function I(e){return Math.floor(C(e))}function P(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+3>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=255,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=255,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=255,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),-127>=s?(o=0,a=e*Math.pow(2,149)&8388607):(o=127+s,a=e*Math.pow(2,23-s),a&=8388607)),c[0]=i<<7|(254&o)>>>1,c[1]=(1&o)<<7|(8323072&a)>>>16,c[2]=(65280&a)>>>8,c[3]=255&a,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3]):(n[r]=c[3],n[r+1]=c[2],n[r+2]=c[1],n[r+3]=c[0])}function F(e,t,n,r){var i,o,a,s,c=[];if(void 0===e)throw new Error(\"missing value\");if(void 0===t)throw new Error(\"missing endian\");if(void 0===n)throw new Error(\"missing buffer\");if(void 0===r)throw new Error(\"missing offset\");if(r+7>=n.length)throw new Error(\"Trying to read beyond buffer length\");isNaN(e)?(i=0,o=2047,a=23):e==Number.POSITIVE_INFINITY?(i=0,o=2047,a=0):e==Number.NEGATIVE_INFINITY?(i=1,o=2047,a=0):(0>e?(i=1,e=Math.abs(e)):i=0,s=1>e?I(e):T(e),2.225073858507201e-308>=e||-1023>=s?(o=0,a=e*Math.pow(2,1023)*Math.pow(2,51),a%=Math.pow(2,52)):(s>1023&&(s=1023),o=1023+s,a=e*Math.pow(2,-s),a*=Math.pow(2,52),a%=Math.pow(2,52))),c[7]=255&a,c[6]=a>>>8&255,c[5]=a>>>16&255,a=(a-(16777215&a))/Math.pow(2,24),c[4]=255&a,c[3]=a>>>8&255,c[2]=a>>>16&255,c[1]=(15&o)<<4|a>>>24,c[0]=i<<7|(2032&o)>>>4,\"big\"==t?(n[r]=c[0],n[r+1]=c[1],n[r+2]=c[2],n[r+3]=c[3],n[r+4]=c[4],n[r+5]=c[5],n[r+6]=c[6],n[r+7]=c[7]):(n[r+7]=c[0],n[r+6]=c[1],n[r+5]=c[2],n[r+4]=c[3],n[r+3]=c[4],n[r+2]=c[5],n[r+1]=c[6],n[r]=c[7])}var M=e(\"assert\");n.ruint8=r,n.ruint16=o,n.ruint32=s,n.ruint64=u,n.wuint8=g,n.wuint16=b,n.wuint32=w,n.wuint64=k,n.rsint8=p,n.rsint16=l,n.rsint32=f,n.rsint64=d,n.wsint8=S,n.wsint16=E,n.wsint32=O,n.wsint64=A,n.rfloat=h,n.rdouble=m,n.wfloat=P,n.wdouble=F},{assert:void 0}],81:[function(e,t,n){(function(t){function r(e,t,n){var r=N.ruint8(t,e,n);return{value:r,size:1}}function i(e,t,n){var r=N.ruint16(t,e,n);return{value:r,size:2}}function o(e,t,n){var r=N.ruint32(t,e,n);return{value:r,size:4}}function a(e,t,n){var r=N.ruint64(t,e,n);return{value:r,size:8}}function s(e,t,n){var r=N.rsint8(t,e,n);return{value:r,size:1}}function c(e,t,n){var r=N.rsint16(t,e,n);return{value:r,size:2}}function u(e,t,n){var r=N.rsint32(t,e,n);return{value:r,size:4}}function p(e,t,n){var r=N.rsint64(t,e,n);return{value:r,size:8}}function l(e,t,n){var r=N.rfloat(t,e,n);return{value:r,size:4}}function f(e,t,n){var r=N.rdouble(t,e,n);return{value:r,size:8}}function d(e,n,r){var i=new t(1);return i[0]=N.ruint8(n,e,r),{value:i,size:1}}function h(e,n,r,i){var o,a=new t(e);for(o=0;e>o;o++)a[o]=N.ruint8(r,n,i+o);return{value:a,size:e}}function m(e,t,n,r){return N.wuint8(e,t,n,r),1}function v(e,t,n,r){return N.wuint16(e,t,n,r),2}function g(e,t,n,r){return N.wuint32(e,t,n,r),4}function y(e,t,n,r){return N.wuint64(e,t,n,r),8}function b(e,t,n,r){return N.wsint8(e,t,n,r),1}function x(e,t,n,r){return N.wsint16(e,t,n,r),2}function w(e,t,n,r){return N.wsint32(e,t,n,r),4}function _(e,t,n,r){return N.wsint64(e,t,n,r),8}function k(e,t,n,r){return N.wfloat(e,t,n,r),4}function j(e,t,n,r){return N.wdouble(e,t,n,r),8}function S(e,n,r,i){if(!(e instanceof t))throw new Error(\"Input must be a buffer\");return N.ruint8(e[0],n,r,i),1}function E(e,n,r,i,o){var a;if(!(e instanceof t))throw new Error(\"Input must be a buffer\");if(e.length>n)throw new Error(\"value length greater than array length\");for(a=0;a<e.length&&n>a;a++)N.wuint8(e[a],r,i,o+a);for(;n>a;a++)N.wuint8(0,r,o+a);return n}function O(){var e,t={};for(e in q)t[e]=q[e];return t}function A(e){var t,n,r,i;if(\"string\"!=typeof e)throw new Error(\"type must be a Javascript string\");if(n=e.lastIndexOf(\"]\"),-1==n){if(-1!=e.lastIndexOf(\"[\"))throw new Error(\"found invalid type with '[' but no corresponding ']'\");return{type:e}}if(t=e.lastIndexOf(\"[\"),-1==t)throw new Error(\"found invalid type with ']' but no corresponding '['\");if(t>=n)throw new Error(\"malformed type, ']' appears before '['\");return r=e.substring(0,t),i=e.substring(t+1,n),{type:r,len:i}}function C(e,t,n){var r,i,o,a,s,c={};if(!(e instanceof Array))throw new Error(\"definition is not an array\");if(0===e.length)throw new Error(\"definition must have at least one element\");for(r=0;r<e.length;r++){if(o=e[r],!(o instanceof Object))throw new Error(\"definition must be an array ofobjects\");if(a=Object.keys(o),1!=a.length)throw new Error(\"definition entry must only have one key\");if(a[0]in c)throw new Error(\"Specified name already specified: \"+a[0]);if(!(\"type\"in o[a[0]]))throw new Error(\"missing required type definition\");for(s=A(o[a[0]].type);void 0!==s.len;){if(isNaN(parseInt(s.len,10))&&!(s.len in c))throw new Error(\"Given an array length without a matching type\");s=A(s.type)}if(!(s.type in t))throw new Error(\"type not found or typdefed: \"+s.type);if(void 0!==n)for(i=0;i<n.length;i++)if(!(n[i]in o[a[0]]))throw new Error(\"Missing required field: \"+n[i]);c[a[0]]=!0}}function T(e){if(!e)throw new Error(\"missing required argument\");if(!(\"endian\"in e))throw new Error(\"missing required endian value\");if(\"big\"!=e.endian&&\"little\"!=e.endian)throw new Error(\"Invalid endian type\");if(\"char-type\"in e&&\"uint8\"!=e[\"char-type\"]&&\"int8\"!=e[\"char-type\"])throw new Error(\"invalid option for char-type: \"+e[\"char-type\"]);this.endian=e.endian,this.types=O(),\"char-type\"in e&&\"uint8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.uint8_t),\"char-type\"in e&&\"int8\"==e[\"char-type\"]&&(this.types[\"char\"]=this.types.int8_t)}function I(e,t){for(var n=\"\",r=A(e);void 0!==r.len;){if(isNaN(parseInt(r.len,10))){if(\"number\"!=typeof t[r.len])throw new Error(\"cannot sawp in non-number for array value\");n=\"[\"+t[r.len]+\"]\"+n}else n=\"[\"+r.len+\"]\"+n;r=A(r.type)}return n=r.type+n}function P(e){var t,n,r;for(n=[],t=0;t<e.length;t++)r=Object.keys(e[t])[0],D.ok(\"value\"in e[t][r]),n.push(e[t][r].value);return n}function F(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");if(e[0]>=1048576)throw new Error(\"value would become approximated\");return e[0]*Math.pow(2,32)+e[1]}function M(e){if(void 0===e)throw new Error(\"missing required arg: value\");if(!Array.isArray(e))throw new Error(\"value must be an array\");if(2!=e.length)throw new Error(\"value must be an array of length 2\");return Math.pow(2,32)*e[0]+e[1]}function z(e,t){var n=new T(t);return B.ctfParseJson(e,n),n}var B=e(\"./ctf.js\"),N=e(\"./ctio.js\"),D=e(\"assert\"),q={uint8_t:{read:r,write:m},uint16_t:{read:i,write:v},uint32_t:{read:o,write:g},uint64_t:{read:a,write:y},int8_t:{read:s,write:b},int16_t:{read:c,write:x},int32_t:{read:u,write:w},int64_t:{read:p,write:_},\"float\":{read:l,write:k},\"double\":{read:f,write:j},\"char\":{read:d,write:S},\"char[]\":{read:h,write:E}};T.prototype.setEndian=function(e){if(\"big\"!=e&&\"little\"!=e)throw new Error(\"invalid endian type, must be big or little\");this.endian=e},T.prototype.getEndian=function(){return this.endian},T.prototype.typedef=function(e,t){var n;if(void 0===e)throw new(Error(\"missing required typedef argument: name\"));if(void 0===t)throw new(Error(\"missing required typedef argument: value\"));if(\"string\"!=typeof e)throw new(Error(\"the name of a type must be a string\"));if(n=A(e),void 0!==n.len)throw new Error(\"Cannot have an array in the typedef name\");if(e in this.types)throw new Error(\"typedef name already present: \"+e);if(\"string\"!=typeof t&&!(t instanceof Array))throw new Error(\"typedef value must either be a string or struct\");if(\"string\"==typeof t){if(n=A(t),void 0!==n.len&&isNaN(parseInt(n.len,10)))throw new(Error(\"typedef value must use fixed size array when outside of a struct\"));this.types[e]=t}else C(t,this.types),this.types[e]=t},T.prototype.lstypes=function(){var e,t={};for(e in this.types)e in q||(t[e]=this.types[e]);return t},T.prototype.resolveTypedef=function(e,t,n,r,i){var o;if(D.ok(e in this.types),\"string\"==typeof this.types[e]){if(o=A(this.types[e]),\"read\"==t)return this.readEntry(o,n,r);if(\"write\"==t)return this.writeEntry(i,o,n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")}if(\"read\"==t)return this.readStruct(this.types[e],n,r);if(\"write\"==t)return this.writeStruct(i,this.types[e],n,r);throw new Error(\"invalid dispatch type to resolveTypedef\")},T.prototype.readEntry=function(e,t,n){var r,i;if(void 0!==e.len){if(i=parseInt(e.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");r=\"char\"==e.type?this.types[\"char[]\"].read(i,this.endian,t,n):this.readArray(e.type,i,t,n)}else r=e.type in q?this.types[e.type].read(this.endian,t,n):this.resolveTypedef(e.type,\"read\",t,n);return r},T.prototype.readArray=function(e,t,n,r){var i,o,a,s=r,c=new Array(t);for(a=A(e),i=0;t>i;i++)o=this.readEntry(a,n,r),r+=o.size,c[i]=o.value;return{value:c,size:r-s}},T.prototype.readStruct=function(e,t,n){var r,i,o,a,s,c=n,u={};for(i=0;i<e.length;i++)s=Object.keys(e[i])[0],a=e[i][s],o=A(I(a.type,u)),\"offset\"in a&&(n=c+a.offset),r=this.readEntry(o,t,n),n+=r.size,u[s]=r.value;return{value:u,size:n-c}},T.prototype.readData=function(e,t,n){if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");return C(e,this.types),this.readStruct(e,t,n).value},T.prototype.writeArray=function(e,t,n,r,i){var o,a,s=i;if(!(e instanceof Array))throw new Error(\"asked to write an array, but value is not an array\");if(e.length!=n)throw new Error(\"asked to write array of length \"+n+\" but that does not match value length: \"+e.length);for(a=A(t),o=0;n>o;o++)i+=this.writeEntry(e[o],a,r,i);return i-s},T.prototype.writeEntry=function(e,t,n,r){var i,o;if(void 0!==t.len){if(i=parseInt(t.len,10),isNaN(i))throw new Error(\"somehow got a non-numeric length\");o=\"char\"==t.type?this.types[\"char[]\"].write(e,i,this.endian,n,r):this.writeArray(e,t.type,i,n,r)}else o=t.type in q?this.types[t.type].write(e,this.endian,n,r):this.resolveTypedef(t.type,\"write\",n,r,e);return o},T.prototype.writeStruct=function(e,t,n,r){var i,o,a,s,c=r,u={};for(i=0;i<t.length;i++)s=Object.keys(t[i])[0],o=t[i][s],a=A(I(o.type,u)),\"offset\"in o&&(r=c+o.offset),r+=this.writeEntry(e[i],a,n,r),u[s]=e[i];return r},T.prototype.writeData=function(e,t,n,r){var i;if(void 0===e)throw new Error(\"missing definition for what we should beparsing\");if(void 0===t)throw new Error(\"missing buffer for what we should be parsing\");if(void 0===n)throw new Error(\"missing offset for what we should be parsing\");if(i=null!=r&&void 0!=r){if(!Array.isArray(r))throw new Error(\"missing values for writing\");C(e,this.types)}else C(e,this.types,[\"value\"]);this.writeStruct(i?r:P(e),e,t,n)},n.Parser=T,n.toAbs64=F,n.toApprox64=M,n.parseCTF=z,n.ruint8=N.ruint8,n.ruint16=N.ruint16,n.ruint32=N.ruint32,n.ruint64=N.ruint64,n.wuint8=N.wuint8,n.wuint16=N.wuint16,n.wuint32=N.wuint32,n.wuint64=N.wuint64,n.rsint8=N.rsint8,n.rsint16=N.rsint16,n.rsint32=N.rsint32,n.rsint64=N.rsint64,n.wsint8=N.wsint8,n.wsint16=N.wsint16,n.wsint32=N.wsint32,n.wsint64=N.wsint64,n.rfloat=N.rfloat,n.rdouble=N.rdouble,n.wfloat=N.wfloat,n.wdouble=N.wdouble}).call(this,e(\"buffer\").Buffer)},{\"./ctf.js\":79,\"./ctio.js\":80,assert:void 0,buffer:void 0}],82:[function(e,t,n){function r(){return n.colors[p++%n.colors.length]}function i(e){function t(){}function i(){var e=i,t=+new Date,o=t-(u||t);e.diff=o,e.prev=u,e.curr=t,u=t,null==e.useColors&&(e.useColors=n.useColors()),null==e.color&&e.useColors&&(e.color=r());var a=Array.prototype.slice.call(arguments);a[0]=n.coerce(a[0]),\"string\"!=typeof a[0]&&(a=[\"%o\"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(t,r){if(\"%%\"===t)return t;s++;var i=n.formatters[r];if(\"function\"==typeof i){var o=a[s];t=i.call(e,o),a.splice(s,1),s--}return t}),\"function\"==typeof n.formatArgs&&(a=n.formatArgs.apply(e,a));var c=i.log||n.log||console.log.bind(console);c.apply(e,a)}t.enabled=!1,i.enabled=!0;var o=n.enabled(e)?i:t;return o.namespace=e,o}function o(e){n.save(e);for(var t=(e||\"\").split(/[\\s,]+/),r=t.length,i=0;r>i;i++)t[i]&&(e=t[i].replace(/\\*/g,\".*?\"),\"-\"===e[0]?n.skips.push(new RegExp(\"^\"+e.substr(1)+\"$\")):n.names.push(new RegExp(\"^\"+e+\"$\")))}function a(){n.enable(\"\")}function s(e){var t,r;for(t=0,r=n.skips.length;r>t;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;r>t;t++)if(n.names[t].test(e))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=i,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=e(\"ms\"),n.names=[],n.skips=[],n.formatters={};var u,p=0},{ms:355}],83:[function(e,t,n){function r(){var e=(process.env.DEBUG_COLORS||\"\").trim().toLowerCase();return 0===e.length?u.isatty(l):\"0\"!==e&&\"no\"!==e&&\"false\"!==e&&\"disabled\"!==e}function i(){var e=arguments,t=this.useColors,r=this.namespace;if(t){var i=this.color;e[0]=\"  \u001b[3\"+i+\";1m\"+r+\" \u001b[0m\"+e[0]+\"\u001b[3\"+i+\"m +\"+n.humanize(this.diff)+\"\u001b[0m\"}else e[0]=(new Date).toUTCString()+\" \"+r+\" \"+e[0];return e}function o(){return f.write(p.format.apply(this,arguments)+\"\\n\")}function a(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e}function s(){return process.env.DEBUG}function c(t){var n,r=process.binding(\"tty_wrap\");switch(r.guessHandleType(t)){case\"TTY\":n=new u.WriteStream(t),n._type=\"tty\",n._handle&&n._handle.unref&&n._handle.unref();break;case\"FILE\":var i=e(\"fs\");n=new i.SyncWriteStream(t,{autoClose:!1}),n._type=\"fs\";break;case\"PIPE\":case\"TCP\":var o=e(\"net\");n=new o.Socket({fd:t,readable:!1,writable:!0}),n.readable=!1,n.read=null,n._type=\"pipe\",n._handle&&n._handle.unref&&n._handle.unref();break;default:throw new Error(\"Implement me. Unknown stream file type!\")}return n.fd=t,n._isStdio=!0,n}var u=e(\"tty\"),p=e(\"util\");n=t.exports=e(\"./debug\"),n.log=o,n.formatArgs=i,n.save=a,n.load=s,n.useColors=r,n.colors=[6,2,3,4,5,1];var l=parseInt(process.env.DEBUG_FD,10)||2,f=1===l?process.stdout:2===l?process.stderr:c(l),d=4===p.inspect.length?function(e,t){return p.inspect(e,void 0,void 0,t)}:function(e,t){return p.inspect(e,{colors:t})};n.formatters.o=function(e){return d(e,this.useColors).replace(/\\s*\\n\\s*/g,\" \")},n.enable(s())},{\"./debug\":82,fs:void 0,net:void 0,tty:void 0,util:void 0}],84:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(r.prototype,\"readable\",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),r.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],85:[function(require,module,exports){function containsNamespace(e,t){var n=e.split(/[ ,]+/);t=String(t).toLowerCase();for(var r=0;r<n.length;r++)if((e=n[r])&&(\"*\"===e||e.toLowerCase()===t))return!0;return!1}function convertDataDescriptorToAccessor(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t),i=r.value;return r.get=function(){return i},r.writable&&(r.set=function(e){return i=e}),delete r.value,delete r.writable,Object.defineProperty(e,t,r),r}function createArgumentsString(e){for(var t=\"\",n=0;e>n;n++)t+=\", arg\"+n;return t.substr(2)}function createStackString(e){var t=this.name+\": \"+this.namespace;this.message&&(t+=\" deprecated \"+this.message);for(var n=0;n<e.length;n++)t+=\"\\n    at \"+callSiteToString(e[n]);return t}function depd(e){function t(e){log.call(t,e)}if(!e)throw new TypeError(\"argument namespace is required\");var n=getStack(),r=callSiteLocation(n[1]),i=r[0];return t._file=i,t._ignored=isignored(e),t._namespace=e,t._traced=istraced(e),t._warned=Object.create(null),t[\"function\"]=wrapfunction,t.property=wrapproperty,t}function isignored(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||\"\";return containsNamespace(t,e)}function istraced(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||\"\";return containsNamespace(t,e)}function log(e,t){var n=0!==eventListenerCount(process,\"deprecation\");if(n||!this._ignored){var r,i,o,a=0,s=!1,c=getStack(),u=this._file;for(t?(o=callSiteLocation(c[1]),o.name=t.name,u=o[0]):(a=2,t=callSiteLocation(c[a]),o=t);a<c.length;a++)if(r=callSiteLocation(c[a]),i=r[0],i===u)s=!0;else if(i===this._file)u=this._file;else if(s)break;\nvar p=r?t.join(\":\")+\"__\"+r.join(\":\"):void 0;if(!(void 0!==p&&p in this._warned)){if(this._warned[p]=!0,e||(e=defaultMessage(o!==t&&o.name?o:t)),n){var l=DeprecationError(this._namespace,e,c.slice(a));return void process.emit(\"deprecation\",l)}var f=process.stderr.isTTY?formatColor:formatPlain,d=f.call(this,e,r,c.slice(a));process.stderr.write(d+\"\\n\",\"utf8\")}}}function callSiteLocation(e){var t=e.getFileName()||\"<anonymous>\",n=e.getLineNumber(),r=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+\", \"+t);var i=[t,n,r];return i.callSite=e,i.name=e.getFunctionName(),i}function defaultMessage(e){var t=e.callSite,n=e.name;n||(n=\"<anonymous@\"+formatLocation(e)+\">\");var r=t.getThis(),i=r&&t.getTypeName();return\"Object\"===i&&(i=void 0),\"Function\"===i&&(i=r.name||i),i&&t.getMethodName()?i+\".\"+n:n}function formatPlain(e,t,n){var r=(new Date).toUTCString(),i=r+\" \"+this._namespace+\" deprecated \"+e;if(this._traced){for(var o=0;o<n.length;o++)i+=\"\\n    at \"+callSiteToString(n[o]);return i}return t&&(i+=\" at \"+formatLocation(t)),i}function formatColor(e,t,n){var r=\"\u001b[36;1m\"+this._namespace+\"\u001b[22;39m \u001b[33;1mdeprecated\u001b[22;39m \u001b[0m\"+e+\"\u001b[39m\";if(this._traced){for(var i=0;i<n.length;i++)r+=\"\\n    \u001b[36mat \"+callSiteToString(n[i])+\"\u001b[39m\";return r}return t&&(r+=\" \u001b[36m\"+formatLocation(t)+\"\u001b[39m\"),r}function formatLocation(e){return relative(basePath,e[0])+\":\"+e[1]+\":\"+e[2]}function getStack(){var e=Error.stackTraceLimit,t={},n=Error.prepareStackTrace;Error.prepareStackTrace=prepareObjectStackTrace,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(t);var r=t.stack.slice(1);return Error.prepareStackTrace=n,Error.stackTraceLimit=e,r}function prepareObjectStackTrace(e,t){return t}function wrapfunction(fn,message){if(\"function\"!=typeof fn)throw new TypeError(\"argument fn must be a function\");var args=createArgumentsString(fn.length),deprecate=this,stack=getStack(),site=callSiteLocation(stack[1]);site.name=fn.name;var deprecatedfn=eval(\"(function (\"+args+') {\\n\"use strict\"\\nlog.call(deprecate, message, site)\\nreturn fn.apply(this, arguments)\\n})');return deprecatedfn}function wrapproperty(e,t,n){if(!e||\"object\"!=typeof e&&\"function\"!=typeof e)throw new TypeError(\"argument obj must be object\");var r=Object.getOwnPropertyDescriptor(e,t);if(!r)throw new TypeError(\"must call property on owner object\");if(!r.configurable)throw new TypeError(\"property must be configurable\");var i=this,o=getStack(),a=callSiteLocation(o[1]);a.name=t,\"value\"in r&&(r=convertDataDescriptorToAccessor(e,t,n));var s=r.get,c=r.set;\"function\"==typeof s&&(r.get=function(){return log.call(i,n,a),s.apply(this,arguments)}),\"function\"==typeof c&&(r.set=function(){return log.call(i,n,a),c.apply(this,arguments)}),Object.defineProperty(e,t,r)}function DeprecationError(e,t,n){var r,i=new Error;return Object.defineProperty(i,\"constructor\",{value:DeprecationError}),Object.defineProperty(i,\"message\",{configurable:!0,enumerable:!1,value:t,writable:!0}),Object.defineProperty(i,\"name\",{enumerable:!1,configurable:!0,value:\"DeprecationError\",writable:!0}),Object.defineProperty(i,\"namespace\",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(i,\"stack\",{configurable:!0,enumerable:!1,get:function(){return void 0!==r?r:r=createStackString.call(this,n)},set:function(e){r=e}}),i}var callSiteToString=require(\"./lib/compat\").callSiteToString,eventListenerCount=require(\"./lib/compat\").eventListenerCount,relative=require(\"path\").relative;module.exports=depd;var basePath=process.cwd()},{\"./lib/compat\":89,path:void 0}],86:[function(e,t,n){(function(e){\"use strict\";function n(t){for(var n=0,r=0,i=t.length;i>r;r++)n+=t[r].length;for(var o=new e(n),a=0,r=0,i=t.length;i>r;r++)t[r].copy(o,a),a+=t[r].length;return o}t.exports=n}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],87:[function(e,t,n){\"use strict\";function r(e){var t,n=\"\";if(e.isNative()?n=\"native\":e.isEval()?(t=e.getScriptNameOrSourceURL(),t||(n=e.getEvalOrigin())):t=e.getFileName(),t){n+=t;var r=e.getLineNumber();if(null!=r){n+=\":\"+r;var i=e.getColumnNumber();i&&(n+=\":\"+i)}}return n||\"unknown source\"}function i(e){var t=!0,n=r(e),i=e.getFunctionName(),a=e.isConstructor(),s=!(e.isToplevel()||a),c=\"\";if(s){var u=e.getMethodName(),p=o(e);i?(p&&0!==i.indexOf(p)&&(c+=p+\".\"),c+=i,u&&i.lastIndexOf(\".\"+u)!==i.length-u.length-1&&(c+=\" [as \"+u+\"]\")):c+=p+\".\"+(u||\"<anonymous>\")}else a?c+=\"new \"+(i||\"<anonymous>\"):i?c+=i:(t=!1,c+=n);return t&&(c+=\" (\"+n+\")\"),c}function o(e){var t=e.receiver;return t.constructor&&t.constructor.name||null}t.exports=i},{}],88:[function(e,t,n){\"use strict\";function r(e,t){return e.listeners(t).length}t.exports=r},{}],89:[function(e,t,n){\"use strict\";function r(e,t,n){function r(){var r=n();return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r}),r}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}function i(e){return e.toString()}var o=e(\"buffer\"),a=e(\"events\").EventEmitter;r(t.exports,\"bufferConcat\",function(){return o.concat||e(\"./buffer-concat\")}),r(t.exports,\"callSiteToString\",function(){function t(e,t){return t}var n=Error.stackTraceLimit,r={},o=Error.prepareStackTrace;Error.prepareStackTrace=t,Error.stackTraceLimit=2,Error.captureStackTrace(r);var a=r.stack.slice();return Error.prepareStackTrace=o,Error.stackTraceLimit=n,a[0].toString?i:e(\"./callsite-tostring\")}),r(t.exports,\"eventListenerCount\",function(){return a.listenerCount||e(\"./event-listener-count\")})},{\"./buffer-concat\":86,\"./callsite-tostring\":87,\"./event-listener-count\":88,buffer:void 0,events:void 0}],90:[function(e,t,n){\"use strict\";function r(e){return e instanceof a?i(e):e instanceof s?(\"function\"==typeof e.destroy&&e.destroy(),e):e}function i(e){return e.destroy(),\"function\"==typeof e.close&&e.on(\"open\",o),e}function o(){\"number\"==typeof this.fd&&this.close()}var a=e(\"fs\").ReadStream,s=e(\"stream\");t.exports=r},{fs:void 0,stream:void 0}],91:[function(e,t,n){(function(t){function r(e,t){return e.length>=t?e:r(\"0\"+e,t)}var i=e(\"crypto\"),o=e(\"jsbn\").BigInteger;e(\"./lib/ec.js\").ECPointFp;n.ECCurves=e(\"./lib/sec.js\"),n.ECKey=function(e,n,a){var s,c=e(),u=c.getN(),p=Math.floor(u.bitLength()/8);if(n)if(a){var e=c.getCurve();this.P=e.decodePointHex(n.toString(\"hex\"))}else{if(n.length!=p)return!1;s=new o(n.toString(\"hex\"),16)}else{var l=u.subtract(o.ONE),f=new o(i.randomBytes(u.bitLength()));s=f.mod(l).add(o.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),\"hex\")),s&&(this.PrivateKey=new t(r(s.toString(16),2*p),\"hex\"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var n=e.P.multiply(s);return new t(r(n.getX().toBigInteger().toString(16),2*p),\"hex\")})}}).call(this,e(\"buffer\").Buffer)},{\"./lib/ec.js\":92,\"./lib/sec.js\":93,buffer:void 0,crypto:void 0,jsbn:171}],92:[function(e,t,n){function r(e,t){this.x=t,this.q=e}function i(e){return e==this?!0:this.q.equals(e.q)&&this.x.equals(e.x)}function o(){return this.x}function a(){return new r(this.q,this.x.negate().mod(this.q))}function s(e){return new r(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function c(e){return new r(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function u(e){return new r(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function p(){return new r(this.q,this.x.square().mod(this.q))}function l(e){return new r(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function f(e,t,n,r){this.curve=e,this.x=t,this.y=n,null==r?this.z=I.ONE:this.z=r,this.zinv=null}function d(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function h(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)}function m(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,n;return t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),t.equals(I.ZERO)?(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(I.ZERO)):!1}function v(){return null==this.x&&null==this.y?!0:this.z.equals(I.ZERO)&&!this.y.toBigInteger().equals(I.ZERO)}function g(){return new f(this.curve,this.x,this.y.negate(),this.z)}function y(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(I.ZERO.equals(n))return I.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new I(\"3\"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),a=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=a.multiply(n),c=i.multiply(a),u=t.square().multiply(this.z),p=u.subtract(c.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),l=c.multiply(r).multiply(t).subtract(o.multiply(s)).subtract(u.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),d=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(l),d)}function b(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new I(\"3\"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),i=r.multiply(n).mod(this.curve.q),o=this.curve.a.toBigInteger(),a=t.square().multiply(e);I.ZERO.equals(o)||(a=a.add(this.z.square().multiply(o))),a=a.mod(this.curve.q);var s=a.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(r).mod(this.curve.q),c=a.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(a.square().multiply(a)).mod(this.curve.q),u=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new f(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(c),u)}function x(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new I(\"3\")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();var a=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add(a?this:i))}return o}function w(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=n.testBit(r)?i.add(o):i.add(this):n.testBit(r)&&(i=i.add(t)),--r;return i}function _(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new f(this,null,null),this.reducer=new P(this.q)}function k(){return this.q}function j(){return this.a}function S(){return this.b}function E(e){return e==this?!0:this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function O(){return this.infinity}function A(e){return new r(this.q,e)}function C(e){this.reducer.reduce(e)}function T(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t=\"0\"+t;for(;n.length<r;)n=\"0\"+n;return\"04\"+t+n}var I=e(\"jsbn\").BigInteger,P=I.prototype.Barrett;r.prototype.equals=i,r.prototype.toBigInteger=o,r.prototype.negate=a,r.prototype.add=s,r.prototype.subtract=c,r.prototype.multiply=u,r.prototype.square=p,r.prototype.divide=l,f.prototype.getX=d,f.prototype.getY=h,f.prototype.equals=m,f.prototype.isInfinity=v,f.prototype.negate=g,f.prototype.add=y,f.prototype.twice=b,f.prototype.multiply=x,f.prototype.multiplyTwo=w,_.prototype.getQ=k,_.prototype.getA=j,_.prototype.getB=S,_.prototype.equals=E,_.prototype.getInfinity=O,_.prototype.fromBigInteger=A,_.prototype.reduce=C,_.prototype.encodePointHex=T,_.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var n=e.length-2,r=e.substr(2,n),i=this.fromBigInteger(new I(r,16)),o=i.multiply(i.square().add(this.getA())).add(this.getB()),a=o.sqrt();if(null==a)throw\"Invalid point compression\";var s=a.toBigInteger();return s.testBit(0)!=t&&(a=this.fromBigInteger(this.getQ().subtract(s))),new f(this,i,a);case 4:case 6:case 7:var n=(e.length-2)/2,r=e.substr(2,n),c=e.substr(n+2,n);return new f(this,this.fromBigInteger(new I(r,16)),this.fromBigInteger(new I(c,16)));default:return null}},_.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return\"00\";var t=e.getX().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t=\"0\"+t;var r;return r=e.getY().toBigInteger().isEven()?\"02\":\"03\",r+t},r.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();if(e>128){var t=this.q.shiftRight(e-64);-1==t.intValue()&&(this.r=I.ONE.shiftLeft(e).subtract(this.q))}return this.r},r.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},r.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var n=e.shiftRight(t),r=e.subtract(n.shiftLeft(t));this.getR().equals(I.ONE)||(n=n.multiply(this.getR())),e=n.add(r)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},r.prototype.sqrt=function(){if(!this.q.testBit(0))throw\"unsupported\";if(this.q.testBit(1)){var e=new r(this.q,this.x.modPow(this.q.shiftRight(2).add(I.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(I.ONE),n=t.shiftRight(1);if(!this.x.modPow(n,this.q).equals(I.ONE))return null;var i,o,a=t.shiftRight(2),s=a.shiftLeft(1).add(I.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do p=new I(this.q.bitLength(),new SecureRandom);while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(n,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],o=l[1],this.modMult(o,o).equals(u))return o.testBit(0)&&(o=o.add(q)),o=o.shiftRight(1),new r(q,o)}while(i.equals(I.ONE)||i.equals(t));return null},r.prototype.lucasSequence=function(e,t,n){for(var r=n.bitLength(),i=n.getLowestSetBit(),o=I.ONE,a=I.TWO,s=e,c=I.ONE,u=I.ONE,p=r-1;p>=i+1;--p)c=this.modMult(c,u),n.testBit(p)?(u=this.modMult(c,t),o=this.modMult(o,s),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1)))):(u=c,o=this.modReduce(o.multiply(a).subtract(c)),s=this.modReduce(s.multiply(a).subtract(e.multiply(c))),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))));c=this.modMult(c,u),u=this.modMult(c,t),o=this.modReduce(o.multiply(a).subtract(c)),a=this.modReduce(s.multiply(a).subtract(e.multiply(c))),c=this.modMult(c,u);for(var p=1;i>=p;++p)o=this.modMult(o,a),a=this.modReduce(a.multiply(a).subtract(c.shiftLeft(1))),c=this.modMult(c,c);return[o,a]};var n={ECCurveFp:_,ECPointFp:f,ECFieldElementFp:r};t.exports=n},{jsbn:171}],93:[function(e,t,n){function r(e,t,n,r){this.curve=e,this.g=t,this.n=n,this.h=r}function i(){return this.curve}function o(){return this.g}function a(){return this.n}function s(){return this.h}function c(e){return new v(e,16)}function u(){var e=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"E87579C11079F43DD824993C2CEE5ED3\"),i=c(\"FFFFFFFE0000000075A30D1B9038A115\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83\");return new r(a,s,i,o)}function p(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73\"),t=v.ZERO,n=c(\"7\"),i=c(\"0100000000000000000001B8FA16DFAB9ACA16B6B3\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE\");return new r(a,s,i,o)}function l(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC\"),n=c(\"1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45\"),i=c(\"0100000000000000000001F4C8F927AED3CA752257\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32\");return new r(a,s,i,o)}function f(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37\"),t=v.ZERO,n=c(\"3\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D\");return new r(a,s,i,o)}function d(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC\"),n=c(\"64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811\");return new r(a,s,i,o)}function h(){var e=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001\"),t=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE\"),n=c(\"B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4\"),i=c(\"FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34\");return new r(a,s,i,o)}function m(){var e=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF\"),t=c(\"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC\"),n=c(\"5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B\"),i=c(\"FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551\"),o=v.ONE,a=new g(e,t,n),s=a.decodePointHex(\"046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5\");return new r(a,s,i,o)}var v=e(\"jsbn\").BigInteger,g=e(\"./ec.js\").ECCurveFp;r.prototype.getCurve=i,r.prototype.getG=o,r.prototype.getN=a,r.prototype.getH=s,t.exports={secp128r1:u,secp160k1:p,secp160r1:l,secp192k1:f,secp192r1:d,secp224r1:h,secp256r1:m}},{\"./ec.js\":92,jsbn:171}],94:[function(e,t,n){\"use strict\";function r(e,t){function n(){r(),t.apply(null,arguments)}function r(){for(var e,t=0;t<a.length;t++)e=a[t],e.ee.removeListener(e.event,e.fn)}function o(e){t=e}if(!Array.isArray(e))throw new TypeError(\"arg must be an array of [ee, events...] arrays\");for(var a=[],s=0;s<e.length;s++){var c=e[s];if(!Array.isArray(c)||c.length<2)throw new TypeError(\"each array member must be [ee, events...]\");for(var u=c[0],p=1;p<c.length;p++){var l=c[p],f=i(l,n);u.on(l,f),a.push({ee:u,event:l,fn:f})}}return o.cancel=r,o}function i(e,t){return function(n){for(var r=new Array(arguments.length),i=this,o=\"error\"===e?n:null,a=0;a<r.length;a++)r[a]=arguments[a];t(o,i,e,r)}}t.exports=r},{}],95:[function(e,t,n){(function(n){(function(){\"use strict\";function r(e){return\"function\"==typeof e||\"object\"==typeof e&&null!==e}function i(e){return\"function\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){H=e}function s(e){K=e}function c(){return function(){process.nextTick(d)}}function u(){return function(){U(d)}}function p(){var e=0,t=new Z(d),n=document.createTextNode(\"\");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function l(){var e=new MessageChannel;return e.port1.onmessage=d,function(){e.port2.postMessage(0)}}function f(){return function(){setTimeout(d,1)}}function d(){for(var e=0;Y>e;e+=2){var t=ee[e],n=ee[e+1];t(n),ee[e]=void 0,ee[e+1]=void 0}Y=0}function h(){try{var t=e,n=t(\"vertx\");return U=n.runOnLoop||n.runOnContext,u()}catch(r){return f()}}function m(){}function v(){return new TypeError(\"You cannot resolve a promise with itself\")}function g(){return new TypeError(\"A promises callback cannot return that same promise.\")}function y(e){try{return e.then}catch(t){return ie.error=t,ie}}function b(e,t,n,r){try{e.call(t,n,r)}catch(i){return i}}function x(e,t,n){K(function(e){var r=!1,i=b(n,t,function(n){r||(r=!0,t!==n?k(e,n):S(e,n))},function(t){r||(r=!0,E(e,t))},\"Settle: \"+(e._label||\" unknown promise\"));!r&&i&&(r=!0,E(e,i))},e)}function w(e,t){t._state===ne?S(e,t._result):t._state===re?E(e,t._result):O(t,void 0,function(t){k(e,t)},function(t){E(e,t)})}function _(e,t){if(t.constructor===e.constructor)w(e,t);else{var n=y(t);n===ie?E(e,ie.error):void 0===n?S(e,t):i(n)?x(e,t,n):S(e,t)}}function k(e,t){e===t?E(e,v()):r(t)?_(e,t):S(e,t)}function j(e){e._onerror&&e._onerror(e._result),A(e)}function S(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(A,e))}function E(e,t){e._state===te&&(e._state=re,e._result=t,K(j,e))}function O(e,t,n,r){var i=e._subscribers,o=i.length;e._onerror=null,i[o]=t,i[o+ne]=n,i[o+re]=r,0===o&&e._state&&K(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,i,o=e._result,a=0;a<t.length;a+=3)r=t[a],i=t[a+n],r?I(n,r,i,o):i(o);e._subscribers.length=0}}function C(){this.error=null}function T(e,t){try{return e(t)}catch(n){return oe.error=n,oe}}function I(e,t,n,r){var o,a,s,c,u=i(n);if(u){if(o=T(n,r),o===oe?(c=!0,a=o.error,o=null):s=!0,t===o)return void E(t,g())}else o=r,s=!0;t._state!==te||(u&&s?k(t,o):c?E(t,a):e===ne?S(t,o):e===re&&E(t,o))}function P(e,t){try{t(function(t){k(e,t)},function(t){E(e,t)})}catch(n){E(e,n)}}function F(e,t){var n=this;n._instanceConstructor=e,n.promise=new e(m),n._validateInput(t)?(n._input=t,n.length=t.length,n._remaining=t.length,n._init(),0===n.length?S(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&S(n.promise,n._result))):E(n.promise,n._validationError())}function M(e){return new ae(this,e).promise}function z(e){function t(e){k(i,e)}function n(e){E(i,e)}var r=this,i=new r(m);if(!W(e))return E(i,new TypeError(\"You must pass an array to race.\")),i;for(var o=e.length,a=0;i._state===te&&o>a;a++)O(r.resolve(e[a]),void 0,t,n);return i}function B(e){var t=this;if(e&&\"object\"==typeof e&&e.constructor===t)return e;var n=new t(m);return k(n,e),n}function N(e){var t=this,n=new t(m);return E(n,e),n}function D(){throw new TypeError(\"You must pass a resolver function as the first argument to the promise constructor\")}function q(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\")}function R(e){this._id=le++,this._state=void 0,this._result=void 0,this._subscribers=[],m!==e&&(i(e)||D(),this instanceof R||q(),P(this,e))}function L(){var e;if(\"undefined\"!=typeof n)e=n;else if(\"undefined\"!=typeof self)e=self;else try{e=Function(\"return this\")()}catch(t){throw new Error(\"polyfill failed because global object is unavailable in this environment\")}var r=e.Promise;r&&\"[object Promise]\"===Object.prototype.toString.call(r.resolve())&&!r.cast||(e.Promise=fe)}var $;$=Array.isArray?Array.isArray:function(e){return\"[object Array]\"===Object.prototype.toString.call(e)};var U,H,V,W=$,Y=0,K=({}.toString,function(e,t){ee[Y]=e,ee[Y+1]=t,Y+=2,2===Y&&(H?H(d):V())}),G=\"undefined\"!=typeof window?window:void 0,J=G||{},Z=J.MutationObserver||J.WebKitMutationObserver,Q=\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),X=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel,ee=new Array(1e3);V=Q?c():Z?p():X?l():void 0===G&&\"function\"==typeof e?h():f();var te=void 0,ne=1,re=2,ie=new C,oe=new C;F.prototype._validateInput=function(e){return W(e)},F.prototype._validationError=function(){return new Error(\"Array Methods must be provided an Array\")},F.prototype._init=function(){this._result=new Array(this.length)};var ae=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,n=e.promise,r=e._input,i=0;n._state===te&&t>i;i++)e._eachEntry(r[i],i)},F.prototype._eachEntry=function(e,t){var n=this,r=n._instanceConstructor;o(e)?e.constructor===r&&e._state!==te?(e._onerror=null,n._settledAt(e._state,t,e._result)):n._willSettleAt(r.resolve(e),t):(n._remaining--,n._result[t]=e)},F.prototype._settledAt=function(e,t,n){var r=this,i=r.promise;i._state===te&&(r._remaining--,e===re?E(i,n):r._result[t]=n),0===r._remaining&&S(i,r._result)},F.prototype._willSettleAt=function(e,t){var n=this;O(e,void 0,function(e){n._settledAt(ne,t,e)},function(e){n._settledAt(re,t,e)})};var se=M,ce=z,ue=B,pe=N,le=0,fe=R;R.all=se,R.race=ce,R.resolve=ue,R.reject=pe,R._setScheduler=a,R._setAsap=s,R._asap=K,R.prototype={constructor:R,then:function(e,t){var n=this,r=n._state;if(r===ne&&!e||r===re&&!t)return this;var i=new this.constructor(m),o=n._result;if(r){var a=arguments[r-1];K(function(){I(r,i,a,o)})}else O(n,i,e,t);return i},\"catch\":function(e){return this.then(null,e)}};var de=L,he={Promise:fe,polyfill:de};\"function\"==typeof define&&define.amd?define(function(){return he}):\"undefined\"!=typeof t&&t.exports?t.exports=he:\"undefined\"!=typeof this&&(this.ES6Promise=he),de()}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],96:[function(e,t,n){\"use strict\";function r(e){var t=\"\"+e,n=i.exec(t);if(!n)return t;var r,o=\"\",a=0,s=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r=\"&quot;\";break;case 38:r=\"&amp;\";break;case 39:r=\"&#39;\";break;case 60:r=\"&lt;\";break;case 62:r=\"&gt;\";break;default:continue}s!==a&&(o+=t.substring(s,a)),s=a+1,o+=r}return s!==a?o+t.substring(s,a):o}var i=/[\"'&<>]/;t.exports=r},{}],97:[function(e,t,n){(function(n){\"use strict\";function r(e){if(0===e.length)return'\"0-1B2M2Y8AsgTpgAmY7PhCfg\"';var t=s.createHash(\"md5\").update(e,\"utf8\").digest(\"base64\").replace(u,\"\"),r=\"string\"==typeof e?n.byteLength(e,\"utf8\"):e.length;return'\"'+r.toString(16)+\"-\"+t+'\"'}function i(e,t){if(null==e)throw new TypeError(\"argument entity is required\");var i=o(e),s=t&&\"boolean\"==typeof t.weak?t.weak:i;if(!i&&\"string\"!=typeof e&&!n.isBuffer(e))throw new TypeError(\"argument entity must be string, Buffer, or fs.Stats\");var c=i?a(e):r(e);return s?\"W/\"+c:c}function o(e){return\"function\"==typeof c&&e instanceof c?!0:e&&\"object\"==typeof e&&\"ctime\"in e&&\"[object Date]\"===p.call(e.ctime)&&\"mtime\"in e&&\"[object Date]\"===p.call(e.mtime)&&\"ino\"in e&&\"number\"==typeof e.ino&&\"size\"in e&&\"number\"==typeof e.size}function a(e){var t=e.mtime.getTime().toString(16),n=e.size.toString(16);return'\"'+n+\"-\"+t+'\"'}t.exports=i;var s=e(\"crypto\"),c=e(\"fs\").Stats,u=/=+$/,p=Object.prototype.toString}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,fs:void 0}],98:[function(e,t,n){\"use strict\";t.exports=e(\"./lib/express\")},{\"./lib/express\":100}],99:[function(e,t,n){\"use strict\";function r(e){\"test\"!==this.get(\"env\")&&console.error(e.stack||e.toString())}function i(e,t,n){try{e.render(t,n)}catch(r){n(r)}}var o=e(\"finalhandler\"),a=e(\"./router\"),s=e(\"methods\"),c=e(\"./middleware/init\"),u=e(\"./middleware/query\"),p=e(\"debug\")(\"express:application\"),l=e(\"./view\"),f=e(\"http\"),d=e(\"./utils\").compileETag,h=e(\"./utils\").compileQueryParser,m=e(\"./utils\").compileTrust,v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"utils-merge\"),b=e(\"path\").resolve,x=Array.prototype.slice,w=n=t.exports={},_=\"@@symbol:trust_proxy_default\";w.init=function(){this.cache={},this.engines={},this.settings={},this.defaultConfiguration()},w.defaultConfiguration=function(){var e=process.env.NODE_ENV||\"development\";this.enable(\"x-powered-by\"),this.set(\"etag\",\"weak\"),this.set(\"env\",e),this.set(\"query parser\",\"extended\"),this.set(\"subdomain offset\",2),this.set(\"trust proxy\",!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),p(\"booting in %s mode\",e),this.on(\"mount\",function(e){this.settings[_]===!0&&\"function\"==typeof e.settings[\"trust proxy fn\"]&&(delete this.settings[\"trust proxy\"],delete this.settings[\"trust proxy fn\"]),this.request.__proto__=e.request,this.response.__proto__=e.response,this.engines.__proto__=e.engines,this.settings.__proto__=e.settings}),this.locals=Object.create(null),this.mountpath=\"/\",this.locals.settings=this.settings,this.set(\"view\",l),this.set(\"views\",b(\"views\")),this.set(\"jsonp callback name\",\"callback\"),\"production\"===e&&this.enable(\"view cache\"),Object.defineProperty(this,\"router\",{get:function(){throw new Error(\"'app.router' is deprecated!\\nPlease see the 3.x to 4.x migration guide for details on how to update your app.\")}})},w.lazyrouter=function(){this._router||(this._router=new a({caseSensitive:this.enabled(\"case sensitive routing\"),strict:this.enabled(\"strict routing\")}),this._router.use(u(this.get(\"query parser fn\"))),this._router.use(c.init(this)))},w.handle=function(e,t,n){var i=this._router,a=n||o(e,t,{env:this.get(\"env\"),onerror:r.bind(this)});return i?void i.handle(e,t,a):(p(\"no routes defined on app\"),void a())},w.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"app.use() requires middleware functions\");this.lazyrouter();var o=this._router;return i.forEach(function(e){return e&&e.handle&&e.set?(p(\".use app under %s\",n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){t.__proto__=i.request,n.__proto__=i.response,r(e)})}),void e.emit(\"mount\",this)):o.use(n,e)},this),this},w.route=function(e){return this.lazyrouter(),this._router.route(e)},w.engine=function(e,t){if(\"function\"!=typeof t)throw new Error(\"callback function required\");var n=\".\"!==e[0]?\".\"+e:e;return this.engines[n]=t,this},w.param=function(e,t){if(this.lazyrouter(),Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this._router.param(e,t),this},w.set=function(e,t){if(1===arguments.length)return this.settings[e];switch(p('set \"%s\" to %o',e,t),this.settings[e]=t,e){case\"etag\":this.set(\"etag fn\",d(t));break;case\"query parser\":this.set(\"query parser fn\",h(t));break;case\"trust proxy\":this.set(\"trust proxy fn\",m(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1})}return this},w.path=function(){return this.parent?this.parent.path()+this.mountpath:\"\"},w.enabled=function(e){return Boolean(this.set(e))},w.disabled=function(e){return!this.set(e)},w.enable=function(e){return this.set(e,!0)},w.disable=function(e){return this.set(e,!1)},s.forEach(function(e){w[e]=function(t){if(\"get\"===e&&1===arguments.length)return this.set(t);this.lazyrouter();var n=this._router.route(t);return n[e].apply(n,x.call(arguments,1)),this}}),w.all=function(e){this.lazyrouter();for(var t=this._router.route(e),n=x.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},w.del=v[\"function\"](w[\"delete\"],\"app.del: Use app.delete instead\"),w.render=function(e,t,n){var r,o=this.cache,a=n,s=this.engines,c=t,u={};if(\"function\"==typeof t&&(a=t,c={}),y(u,this.locals),c._locals&&y(u,c._locals),y(u,c),null==u.cache&&(u.cache=this.enabled(\"view cache\")),u.cache&&(r=o[e]),!r){var p=this.get(\"view\");if(r=new p(e,{defaultEngine:this.get(\"view engine\"),root:this.get(\"views\"),engines:s}),!r.path){var l=Array.isArray(r.root)&&r.root.length>1?'directories \"'+r.root.slice(0,-1).join('\", \"')+'\" or \"'+r.root[r.root.length-1]+'\"':'directory \"'+r.root+'\"',f=new Error('Failed to lookup view \"'+e+'\" in views '+l);return f.view=r,a(f)}u.cache&&(o[e]=r)}i(r,u,a)},w.listen=function(){var e=f.createServer(this);return e.listen.apply(e,arguments)}},{\"./middleware/init\":101,\"./middleware/query\":102,\"./router\":105,\"./utils\":108,\"./view\":109,\"array-flatten\":3,debug:83,depd:85,finalhandler:115,http:void 0,methods:181,path:void 0,\"utils-merge\":531}],100:[function(e,t,n){\"use strict\";function r(){var e=function(t,n,r){e.handle(t,n,r)};return o(e,i.prototype,!1),o(e,a,!1),e.request={__proto__:u,app:e},e.response={__proto__:p,app:e},e.init(),e}var i=e(\"events\").EventEmitter,o=e(\"merge-descriptors\"),a=e(\"./application\"),s=e(\"./router/route\"),c=e(\"./router\"),u=e(\"./request\"),p=e(\"./response\");n=t.exports=r,n.application=a,n.request=u,n.response=p,n.Route=s,n.Router=c,n.query=e(\"./middleware/query\"),n[\"static\"]=e(\"serve-static\"),[\"json\",\"urlencoded\",\"bodyParser\",\"compress\",\"cookieSession\",\"session\",\"logger\",\"cookieParser\",\"favicon\",\"responseTime\",\"errorHandler\",\"timeout\",\"methodOverride\",\"vhost\",\"csrf\",\"directory\",\"limit\",\"multipart\",\"staticCache\"].forEach(function(e){\nObject.defineProperty(n,e,{get:function(){throw new Error(\"Most middleware (like \"+e+\") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.\")},configurable:!0})})},{\"./application\":99,\"./middleware/query\":102,\"./request\":103,\"./response\":104,\"./router\":105,\"./router/route\":107,events:void 0,\"merge-descriptors\":180,\"serve-static\":416}],101:[function(e,t,n){\"use strict\";n.init=function(e){return function(t,n,r){e.enabled(\"x-powered-by\")&&n.setHeader(\"X-Powered-By\",\"Express\"),t.res=n,n.req=t,t.next=r,t.__proto__=e.request,n.__proto__=e.response,n.locals=n.locals||Object.create(null),r()}}},{}],102:[function(e,t,n){\"use strict\";var r=e(\"parseurl\"),i=e(\"qs\");t.exports=function(e){var t=Object.create(e||null),n=i.parse;return\"function\"==typeof e&&(n=e,t=void 0),void 0!==t&&(void 0===t.allowDots&&(t.allowDots=!1),void 0===t.allowPrototypes&&(t.allowPrototypes=!0)),function(e,i,o){if(!e.query){var a=r(e).query;e.query=n(a,t)}o()}}},{parseurl:364,qs:110}],103:[function(e,t,n){\"use strict\";function r(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}var i=e(\"accepts\"),o=e(\"depd\")(\"express\"),a=e(\"net\").isIP,s=e(\"type-is\"),c=e(\"http\"),u=e(\"fresh\"),p=e(\"range-parser\"),l=e(\"parseurl\"),f=e(\"proxy-addr\"),d=n=t.exports={__proto__:c.IncomingMessage.prototype};d.get=d.header=function(e){var t=e.toLowerCase();switch(t){case\"referer\":case\"referrer\":return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=i(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=i(this);return e.encodings.apply(e,arguments)},d.acceptsEncoding=o[\"function\"](d.acceptsEncodings,\"req.acceptsEncoding: Use acceptsEncodings instead\"),d.acceptsCharsets=function(){var e=i(this);return e.charsets.apply(e,arguments)},d.acceptsCharset=o[\"function\"](d.acceptsCharsets,\"req.acceptsCharset: Use acceptsCharsets instead\"),d.acceptsLanguages=function(){var e=i(this);return e.languages.apply(e,arguments)},d.acceptsLanguage=o[\"function\"](d.acceptsLanguages,\"req.acceptsLanguage: Use acceptsLanguages instead\"),d.range=function(e){var t=this.get(\"Range\");if(t)return p(e,t)},d.param=function(e,t){var n=this.params||{},r=this.body||{},i=this.query||{},a=1===arguments.length?\"name\":\"name, default\";return o(\"req.param(\"+a+\"): Use req.params, req.body, or req.query instead\"),null!=n[e]&&n.hasOwnProperty(e)?n[e]:null!=r[e]?r[e]:null!=i[e]?i[e]:t},d.is=function(e){var t=e;if(!Array.isArray(e)){t=new Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return s(this,t)},r(d,\"protocol\",function(){var e=this.connection.encrypted?\"https\":\"http\",t=this.app.get(\"trust proxy fn\");return t(this.connection.remoteAddress,0)?(e=this.get(\"X-Forwarded-Proto\")||e,e.split(/\\s*,\\s*/)[0]):e}),r(d,\"secure\",function(){return\"https\"===this.protocol}),r(d,\"ip\",function(){var e=this.app.get(\"trust proxy fn\");return f(this,e)}),r(d,\"ips\",function(){var e=this.app.get(\"trust proxy fn\"),t=f.all(this,e);return t.slice(1).reverse()}),r(d,\"subdomains\",function h(){var e=this.hostname;if(!e)return[];var t=this.app.get(\"subdomain offset\"),h=a(e)?[e]:e.split(\".\").reverse();return h.slice(t)}),r(d,\"path\",function(){return l(this).pathname}),r(d,\"hostname\",function(){var e=this.app.get(\"trust proxy fn\"),t=this.get(\"X-Forwarded-Host\");if(t&&e(this.connection.remoteAddress,0)||(t=this.get(\"Host\")),t){var n=\"[\"===t[0]?t.indexOf(\"]\")+1:0,r=t.indexOf(\":\",n);return-1!==r?t.substring(0,r):t}}),r(d,\"host\",o[\"function\"](function(){return this.hostname},\"req.host: Use req.hostname instead\")),r(d,\"fresh\",function(){var e=this.method,t=this.res.statusCode;return\"GET\"!=e&&\"HEAD\"!=e?!1:t>=200&&300>t||304==t?u(this.headers,this.res._headers||{}):!1}),r(d,\"stale\",function(){return!this.fresh}),r(d,\"xhr\",function(){var e=this.get(\"X-Requested-With\")||\"\";return\"xmlhttprequest\"===e.toLowerCase()})},{accepts:2,depd:85,fresh:120,http:void 0,net:void 0,parseurl:364,\"proxy-addr\":380,\"range-parser\":387,\"type-is\":467}],104:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n,r){function i(){if(!d){d=!0;var e=new Error(\"Request aborted\");e.code=\"ECONNABORTED\",r(e)}}function o(){if(!d){d=!0;var e=new Error(\"EISDIR, read\");e.code=\"EISDIR\",r(e)}}function a(e){d||(d=!0,r(e))}function s(){d||(d=!0,r())}function c(){f=!1}function p(e){return e&&\"ECONNRESET\"===e.code?i():e?a(e):void(d||setImmediate(function(){return f===!1||d?void(d||(d=!0,r())):void i()}))}function l(){f=!0}var f,d=!1;t.on(\"directory\",o),t.on(\"end\",s),t.on(\"error\",a),t.on(\"file\",c),t.on(\"stream\",l),u(e,p),n.headers&&t.on(\"headers\",function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e.setHeader(o,t[o])}}),t.pipe(e)}var i=e(\"content-disposition\"),o=e(\"depd\")(\"express\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"./utils\").isAbsolute,u=e(\"on-finished\"),p=e(\"path\"),l=e(\"utils-merge\"),f=e(\"cookie-signature\").sign,d=e(\"./utils\").normalizeType,h=e(\"./utils\").normalizeTypes,m=e(\"./utils\").setCharset,v=s.STATUS_CODES,g=e(\"cookie\"),y=e(\"send\"),b=p.extname,x=y.mime,w=p.resolve,_=e(\"vary\"),k=t.exports={__proto__:s.ServerResponse.prototype},j=/;\\s*charset\\s*=/;k.status=function(e){return this.statusCode=e,this},k.links=function(e){var t=this.get(\"Link\")||\"\";return t&&(t+=\", \"),this.set(\"Link\",t+Object.keys(e).map(function(t){return\"<\"+e[t]+'>; rel=\"'+t+'\"'}).join(\", \"))},k.send=function(e){var t,r,i,a=e,s=this.req,c=this.app;switch(2===arguments.length&&(\"number\"!=typeof arguments[0]&&\"number\"==typeof arguments[1]?(o(\"res.send(body, status): Use res.status(status).send(body) instead\"),this.statusCode=arguments[1]):(o(\"res.send(status, body): Use res.status(status).send(body) instead\"),this.statusCode=arguments[0],a=arguments[1])),\"number\"==typeof a&&1===arguments.length&&(this.get(\"Content-Type\")||this.type(\"txt\"),o(\"res.send(status): Use res.sendStatus(status) instead\"),this.statusCode=a,a=v[a]),typeof a){case\"string\":this.get(\"Content-Type\")||this.type(\"html\");break;case\"boolean\":case\"number\":case\"object\":if(null===a)a=\"\";else{if(!n.isBuffer(a))return this.json(a);this.get(\"Content-Type\")||this.type(\"bin\")}}\"string\"==typeof a&&(t=\"utf8\",i=this.get(\"Content-Type\"),\"string\"==typeof i&&this.set(\"Content-Type\",m(i,\"utf-8\"))),void 0!==a&&(n.isBuffer(a)||(a=new n(a,t),t=void 0),r=a.length,this.set(\"Content-Length\",r));var u,p=void 0!==r&&c.get(\"etag fn\");return\"function\"!=typeof p||this.get(\"ETag\")||(u=p(a,t))&&this.set(\"ETag\",u),s.fresh&&(this.statusCode=304),204!=this.statusCode&&304!=this.statusCode||(this.removeHeader(\"Content-Type\"),this.removeHeader(\"Content-Length\"),this.removeHeader(\"Transfer-Encoding\"),a=\"\"),\"HEAD\"===s.method?this.end():this.end(a,t),this},k.json=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.json(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.json(status, obj): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i);return this.get(\"Content-Type\")||this.set(\"Content-Type\",\"application/json\"),this.send(a)},k.jsonp=function(e){var t=e;2===arguments.length&&(\"number\"==typeof arguments[1]?(o(\"res.jsonp(obj, status): Use res.status(status).json(obj) instead\"),this.statusCode=arguments[1]):(o(\"res.jsonp(status, obj): Use res.status(status).jsonp(obj) instead\"),this.statusCode=arguments[0],t=arguments[1]));var n=this.app,r=n.get(\"json replacer\"),i=n.get(\"json spaces\"),a=JSON.stringify(t,r,i),s=this.req.query[n.get(\"jsonp callback name\")];return this.get(\"Content-Type\")||(this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"application/json\")),Array.isArray(s)&&(s=s[0]),\"string\"==typeof s&&0!==s.length&&(this.charset=\"utf-8\",this.set(\"X-Content-Type-Options\",\"nosniff\"),this.set(\"Content-Type\",\"text/javascript\"),s=s.replace(/[^\\[\\]\\w$.]/g,\"\"),a=a.replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"),a=\"/**/ typeof \"+s+\" === 'function' && \"+s+\"(\"+a+\");\"),this.send(a)},k.sendStatus=function(e){var t=v[e]||String(e);return this.statusCode=e,this.type(\"txt\"),this.send(t)},k.sendFile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,u=t||{};if(!e)throw new TypeError(\"path argument is required to res.sendFile\");if(\"function\"==typeof t&&(i=t,u={}),!u.root&&!c(e))throw new TypeError(\"path must be absolute or specify root to res.sendFile\");var p=encodeURI(e),l=y(o,p,u);r(a,l,u,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORTED\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=function(e,t,n){var i=n,o=this.req,a=this,s=o.next,c=t||{};\"function\"==typeof t&&(i=t,c={});var u=y(o,e,c);r(a,u,c,function(e){return i?i(e):e&&\"EISDIR\"===e.code?s():void(e&&\"ECONNABORT\"!==e.code&&\"write\"!==e.syscall&&s(e))})},k.sendfile=o[\"function\"](k.sendfile,\"res.sendfile: Use res.sendFile instead\"),k.download=function(e,t,n){var r=n,o=t;\"function\"==typeof t&&(r=t,o=null);var a={\"Content-Disposition\":i(o||e)},s=w(e);return this.sendFile(s,{headers:a},r)},k.contentType=k.type=function(e){var t=-1===e.indexOf(\"/\")?x.lookup(e):e;return this.set(\"Content-Type\",t)},k.format=function(e){var t=this.req,n=t.next,r=e[\"default\"];r&&delete e[\"default\"];var i=Object.keys(e),o=i.length>0?t.accepts(i):!1;if(this.vary(\"Accept\"),o)this.set(\"Content-Type\",d(o).value),e[o](t,this,n);else if(r)r();else{var a=new Error(\"Not Acceptable\");a.status=a.statusCode=406,a.types=h(i).map(function(e){return e.value}),n(a)}return this},k.attachment=function(e){return e&&this.type(b(e)),this.set(\"Content-Disposition\",i(e)),this},k.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},k.set=k.header=function(e,t){if(2===arguments.length){var n=Array.isArray(t)?t.map(String):String(t);if(\"content-type\"===e.toLowerCase()&&!j.test(n)){var r=x.charsets.lookup(n.split(\";\")[0]);r&&(n+=\"; charset=\"+r.toLowerCase())}this.setHeader(e,n)}else for(var i in e)this.set(i,e[i]);return this},k.get=function(e){return this.getHeader(e)},k.clearCookie=function(e,t){var n=l({expires:new Date(1),path:\"/\"},t);return this.cookie(e,\"\",n)},k.cookie=function(e,t,n){var r=l({},n),i=this.req.secret,o=r.signed;if(o&&!i)throw new Error('cookieParser(\"secret\") required for signed cookies');var a=\"object\"==typeof t?\"j:\"+JSON.stringify(t):String(t);return o&&(a=\"s:\"+f(a,i)),\"maxAge\"in r&&(r.expires=new Date(Date.now()+r.maxAge),r.maxAge/=1e3),null==r.path&&(r.path=\"/\"),this.append(\"Set-Cookie\",g.serialize(e,String(a),r)),this},k.location=function(e){var t=e;return\"back\"===e&&(t=this.req.get(\"Referrer\")||\"/\"),this.set(\"Location\",t),this},k.redirect=function(e){var t,r=e,i=302;2===arguments.length&&(\"number\"==typeof arguments[0]?(i=arguments[0],r=arguments[1]):(o(\"res.redirect(url, status): Use res.redirect(status, url) instead\"),i=arguments[1])),this.location(r),r=this.get(\"Location\"),this.format({text:function(){t=v[i]+\". Redirecting to \"+encodeURI(r)},html:function(){var e=a(r);t=\"<p>\"+v[i]+'. Redirecting to <a href=\"'+e+'\">'+e+\"</a></p>\"},\"default\":function(){t=\"\"}}),this.statusCode=i,this.set(\"Content-Length\",n.byteLength(t)),\"HEAD\"===this.req.method?this.end():this.end(t)},k.vary=function(e){return!e||Array.isArray(e)&&!e.length?(o(\"res.vary(): Provide a field name\"),this):(_(this,e),this)},k.render=function(e,t,n){var r=this.req.app,i=n,o=t||{},a=this.req,s=this;\"function\"==typeof t&&(i=t,o={}),o._locals=s.locals,i=i||function(e,t){return e?a.next(e):void s.send(t)},r.render(e,o,i)}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":108,buffer:void 0,\"content-disposition\":73,cookie:76,\"cookie-signature\":75,depd:85,\"escape-html\":96,http:void 0,\"on-finished\":363,path:void 0,send:409,\"utils-merge\":531,vary:532}],105:[function(e,t,n){\"use strict\";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];-1===e.indexOf(r)&&e.push(r)}}function i(e){try{return y(e).pathname}catch(t){return}}function o(e){var t=typeof e;return\"object\"!==t?t:w.call(e).replace(b,\"$1\")}function a(e,t){try{return e.match(t)}catch(n){return n}}function s(e,t){if(\"object\"!=typeof t||!t)return e;var n=h({},t);if(!(0 in e&&0 in t))return h(n,e);for(var r=0,i=0;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],i>r&&delete e[r];return h(n,e)}function c(e,t){for(var n=new Array(arguments.length-2),r=new Array(arguments.length-2),i=0;i<n.length;i++)n[i]=arguments[i+2],r[i]=t[n[i]];return function(i){for(var o=0;o<n.length;o++)t[n[o]]=r[o];return e.apply(this,arguments)}}function u(e,t,n){try{var r=t.join(\",\");e.set(\"Allow\",r),e.send(r)}catch(i){n(i)}}function p(e,t){return function(){var n=new Array(arguments.length+1);n[0]=e;for(var r=0,i=arguments.length;i>r;r++)n[r+1]=arguments[r];t.apply(this,n)}}var l=e(\"./route\"),f=e(\"./layer\"),d=e(\"methods\"),h=e(\"utils-merge\"),m=e(\"debug\")(\"express:router\"),v=e(\"depd\")(\"express\"),g=e(\"array-flatten\"),y=e(\"parseurl\"),b=/^\\[object (\\S+)\\]$/,x=Array.prototype.slice,w=Object.prototype.toString,_=t.exports=function(e){function t(e,n,r){t.handle(e,n,r)}var n=e||{};return t.__proto__=_,t.params={},t._params=[],t.caseSensitive=n.caseSensitive,t.mergeParams=n.mergeParams,t.strict=n.strict,t.stack=[],t};_.param=function(e,t){if(\"function\"==typeof e)return v(\"router.param(fn): Refactor to use path params\"),void this._params.push(e);var n,r=this._params,i=r.length;\":\"===e[0]&&(v(\"router.param(\"+JSON.stringify(e)+\", fn): Use router.param(\"+JSON.stringify(e.substr(1))+\", fn) instead\"),e=e.substr(1));for(var o=0;i>o;++o)(n=r[o](e,t))&&(t=n);if(\"function\"!=typeof t)throw new Error(\"invalid param() call for \"+e+\", got \"+t);return(this.params[e]=this.params[e]||[]).push(t),this},_.handle=function(e,t,n){function o(n){var c=\"route\"===n?null:n;if(x&&(e.url=e.url.substr(1),x=!1),0!==b.length&&(e.baseUrl=S,e.url=g+b+e.url.substr(g.length),b=\"\"),y>=k.length)return void setImmediate(E,c);var u=i(e);if(null==u)return E(c);for(var p,d,h;d!==!0&&y<k.length;)if(p=k[y++],d=a(p,u),h=p.route,\"boolean\"!=typeof d&&(c=c||d),d===!0&&h)if(c)d=!1;else{var m=e.method,v=h._handles_method(m);v||\"OPTIONS\"!==m||r(_,h._options()),v||\"HEAD\"===m||(d=!1)}if(d!==!0)return E(c);h&&(e.route=h),e.params=f.mergeParams?s(p.params,j):p.params;var O=p.path;f.process_params(p,w,e,t,function(n){return n?o(c||n):h?p.handle_request(e,t,o):void l(p,c,O,u)})}function l(n,r,i,a){var s=a[i.length];return s&&\"/\"!==s&&\".\"!==s?o(r):(0!==i.length&&(m(\"trim prefix (%s) from url %s\",i,e.url),b=i,e.url=g+e.url.substr(g.length+b.length),v||\"/\"===e.url[0]||(e.url=\"/\"+e.url,x=!0),e.baseUrl=S+(\"/\"===b[b.length-1]?b.substring(0,b.length-1):b)),m(\"%s %s : %s\",n.name,i,e.originalUrl),void(r?n.handle_error(r,e,t,o):n.handle_request(e,t,o)))}var f=this;m(\"dispatching %s %s\",e.method,e.url);var d=1+e.url.indexOf(\"?\"),h=d?d-1:e.url.length,v=\"/\"!==e.url[0]&&1+e.url.substr(0,h).indexOf(\"://\"),g=v?e.url.substr(0,e.url.indexOf(\"/\",2+v)):\"\",y=0,b=\"\",x=!1,w={},_=[],k=f.stack,j=e.params,S=e.baseUrl||\"\",E=c(n,e,\"baseUrl\",\"next\",\"params\");e.next=o,\"OPTIONS\"===e.method&&(E=p(E,function(e,n){return n||0===_.length?e(n):void u(t,_,e)})),e.baseUrl=S,e.originalUrl=e.originalUrl||e.url,o()},_.process_params=function(e,t,n,r,i){function o(e){return e?i(e):h>=c.length?i():(m=0,(p=c[h++])?(u=p.name,l=n.params[u],f=s[u],d=t[u],void 0!==l&&f?d&&(d.match===l||d.error&&\"route\"!==d.error)?(n.params[u]=d.value,o(d.error)):(t[u]=d={error:null,match:l,value:l},void a()):o()):i())}function a(e){var t=f[m++];if(d.value=n.params[p.name],e)return d.error=e,void o(e);if(!t)return o();try{t(n,r,a,l,p.name)}catch(i){a(i)}}var s=this.params,c=e.keys;if(!c||0===c.length)return i();var u,p,l,f,d,h=0,m=0;o()},_.use=function(e){var t=0,n=\"/\";if(\"function\"!=typeof e){for(var r=e;Array.isArray(r)&&0!==r.length;)r=r[0];\"function\"!=typeof r&&(t=1,n=e)}var i=g(x.call(arguments,t));if(0===i.length)throw new TypeError(\"Router.use() requires middleware functions\");for(var a=0;a<i.length;a++){var e=i[a];if(\"function\"!=typeof e)throw new TypeError(\"Router.use() requires middleware function but got a \"+o(e));m(\"use %s %s\",n,e.name||\"<anonymous>\");var s=new f(n,{sensitive:this.caseSensitive,strict:!1,end:!1},e);s.route=void 0,this.stack.push(s)}return this},_.route=function k(e){var k=new l(e),t=new f(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},k.dispatch.bind(k));return t.route=k,this.stack.push(t),k},d.concat(\"all\").forEach(function(e){_[e]=function(t){var n=this.route(t);return n[e].apply(n,x.call(arguments,1)),this}})},{\"./layer\":106,\"./route\":107,\"array-flatten\":3,debug:83,depd:85,methods:181,parseurl:364,\"utils-merge\":531}],106:[function(e,t,n){\"use strict\";function r(e,t,n){if(!(this instanceof r))return new r(e,t,n);a(\"new %s\",e);var i=t||{};this.handle=n,this.name=n.name||\"<anonymous>\",this.params=void 0,this.path=void 0,this.regexp=o(e,this.keys=[],i),\"/\"===e&&i.end===!1&&(this.regexp.fast_slash=!0)}function i(e){if(\"string\"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=\"Failed to decode param '\"+e+\"'\",t.status=t.statusCode=400),t}}var o=e(\"path-to-regexp\"),a=e(\"debug\")(\"express:router:layer\"),s=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.handle_error=function(e,t,n,r){var i=this.handle;if(4!==i.length)return r(e);try{i(e,t,n,r)}catch(o){r(o)}},r.prototype.handle_request=function(e,t,n){var r=this.handle;if(r.length>3)return n();try{r(e,t,n)}catch(i){n(i)}},r.prototype.match=function(e){if(null==e)return this.params=void 0,this.path=void 0,!1;if(this.regexp.fast_slash)return this.params={},this.path=\"\",!0;var t=this.regexp.exec(e);if(!t)return this.params=void 0,this.path=void 0,!1;this.params={},this.path=t[0];for(var n=this.keys,r=this.params,o=1;o<t.length;o++){var a=n[o-1],c=a.name,u=i(t[o]);void 0===u&&s.call(r,c)||(r[c]=u)}return!0}},{debug:83,\"path-to-regexp\":375}],107:[function(e,t,n){\"use strict\";function r(e){this.path=e,this.stack=[],i(\"new %s\",e),this.methods={}}var i=e(\"debug\")(\"express:router:route\"),o=e(\"array-flatten\"),a=e(\"./layer\"),s=e(\"methods\"),c=Array.prototype.slice,u=Object.prototype.toString;t.exports=r,r.prototype._handles_method=function(e){if(this.methods._all)return!0;var t=e.toLowerCase();return\"head\"!==t||this.methods.head||(t=\"get\"),Boolean(this.methods[t])},r.prototype._options=function(){var e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(\"head\");for(var t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},r.prototype.dispatch=function(e,t,n){function r(s){if(s&&\"route\"===s)return n();var c=o[i++];return c?c.method&&c.method!==a?r(s):void(s?c.handle_error(s,e,t,r):c.handle_request(e,t,r)):n(s)}var i=0,o=this.stack;if(0===o.length)return n();var a=e.method.toLowerCase();\"head\"!==a||this.methods.head||(a=\"get\"),e.route=this,r()},r.prototype.all=function(){for(var e=o(c.call(arguments)),t=0;t<e.length;t++){var n=e[t];if(\"function\"!=typeof n){var r=u.call(n),i=\"Route.all() requires callback functions but got a \"+r;throw new TypeError(i)}var s=a(\"/\",{},n);s.method=void 0,this.methods._all=!0,this.stack.push(s)}return this},s.forEach(function(e){r.prototype[e]=function(){for(var t=o(c.call(arguments)),n=0;n<t.length;n++){var r=t[n];if(\"function\"!=typeof r){var s=u.call(r),p=\"Route.\"+e+\"() requires callback functions but got a \"+s;throw new Error(p)}i(\"%s %s\",e,this.path);var l=a(\"/\",{},r);l.method=e,this.methods[e]=!0,this.stack.push(l)}return this}})},{\"./layer\":106,\"array-flatten\":3,debug:83,methods:181}],108:[function(e,t,n){(function(t){\"use strict\";function r(e,t){for(var n=e.split(/ *; */),r={value:n[0],quality:1,params:{},originalIndex:t},i=1;i<n.length;++i){var o=n[i].split(/ *= */);\"q\"==o[0]?r.quality=parseFloat(o[1]):r.params[o[0]]=o[1]}return r}function i(e){return d.parse(e,{allowDots:!1,allowPrototypes:!0})}function o(){return{}}var a=e(\"content-disposition\"),s=e(\"content-type\"),c=e(\"depd\")(\"express\"),u=e(\"array-flatten\"),p=e(\"send\").mime,l=(e(\"path\").basename,e(\"etag\")),f=e(\"proxy-addr\"),d=e(\"qs\"),h=e(\"querystring\");n.etag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!1})},n.wetag=function(e,n){var r=t.isBuffer(e)?e:new t(e,n);return l(r,{weak:!0})},n.isAbsolute=function(e){return\"/\"==e[0]?!0:\":\"==e[1]&&\"\\\\\"==e[2]?!0:\"\\\\\\\\\"==e.substring(0,2)?!0:void 0},n.flatten=c[\"function\"](u,\"utils.flatten: use array-flatten npm module instead\"),n.normalizeType=function(e){return~e.indexOf(\"/\")?r(e):{value:p.lookup(e),params:{}}},n.normalizeTypes=function(e){for(var t=[],r=0;r<e.length;++r)t.push(n.normalizeType(e[r]));return t},n.contentDisposition=c[\"function\"](a,\"utils.contentDisposition: use content-disposition npm module instead\"),n.compileETag=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=n.wetag;break;case!1:break;case\"strong\":t=n.etag;break;case\"weak\":t=n.wetag;break;default:throw new TypeError(\"unknown value for etag function: \"+e)}return t},n.compileQueryParser=function(e){var t;if(\"function\"==typeof e)return e;switch(e){case!0:t=h.parse;break;case!1:t=o;break;case\"extended\":t=i;break;case\"simple\":t=h.parse;break;default:throw new TypeError(\"unknown value for query parser function: \"+e)}return t},n.compileTrust=function(e){return\"function\"==typeof e?e:e===!0?function(){return!0}:\"number\"==typeof e?function(t,n){return e>n}:(\"string\"==typeof e&&(e=e.split(/ *, */)),f.compile(e||[]))},n.setCharset=function(e,t){if(!e||!t)return e;var n=s.parse(e);return n.parameters.charset=t,s.format(n)}}).call(this,e(\"buffer\").Buffer)},{\"array-flatten\":3,buffer:void 0,\"content-disposition\":73,\"content-type\":74,depd:85,etag:97,path:void 0,\"proxy-addr\":380,qs:110,querystring:void 0,send:409}],109:[function(e,t,n){\"use strict\";function r(t,n){var r=n||{};if(this.defaultEngine=r.defaultEngine,this.ext=p(t),this.name=t,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error(\"No default engine was specified and no extension was provided.\");var i=t;this.ext||(this.ext=\".\"!==this.defaultEngine[0]?\".\"+this.defaultEngine:this.defaultEngine,i+=this.ext),r.engines[this.ext]||(r.engines[this.ext]=e(this.ext.substr(1)).__express),this.engine=r.engines[this.ext],this.path=this.lookup(i)}function i(e){o('stat \"%s\"',e);try{return s.statSync(e)}catch(t){return}}var o=e(\"debug\")(\"express:view\"),a=e(\"path\"),s=e(\"fs\"),c=(e(\"./utils\"),a.dirname),u=a.basename,p=a.extname,l=a.join,f=a.resolve;t.exports=r,r.prototype.lookup=function(e){var t,n=[].concat(this.root);o('lookup \"%s\"',e);for(var r=0;r<n.length&&!t;r++){var i=n[r],a=f(i,e),s=c(a),p=u(a);t=this.resolve(s,p)}return t},r.prototype.render=function(e,t){o('render \"%s\"',this.path),this.engine(this.path,e,t)},r.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),o=i(r);return o&&o.isFile()?r:(r=l(e,u(t,n),\"index\"+n),o=i(r),o&&o.isFile()?r:void 0)}},{\"./utils\":108,debug:83,fs:void 0,path:void 0}],110:[function(e,t,n){var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":111,\"./stringify\":112}],111:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\",t.strictNullHandling&&(n[r.decode(s)]=null);else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));Object.prototype.hasOwnProperty.call(n,u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&o!==a&&c===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"));var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e),s=[];if(a[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(a[1])&&!n.allowPrototypes)return;s.push(a[1])}for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,(n.plainObjects||!Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}},t.exports=function(e,t){if(t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects=\"boolean\"==typeof t.plainObjects?t.plainObjects:i.plainObjects,t.allowPrototypes=\"boolean\"==typeof t.allowPrototypes?t.allowPrototypes:i.allowPrototypes,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit,t.strictNullHandling=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return t.plainObjects?Object.create(null):{};for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o=t.plainObjects?Object.create(null):{},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p,t)}return r.compact(o)}},{\"./utils\":113}],112:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e,t){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e,t){return e}},strictNullHandling:!1};i.stringify=function(e,t,n,o,a){if(\"function\"==typeof a)e=a(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(o)return r.encode(t);e=\"\"}if(\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[r.encode(t)+\"=\"+r.encode(e)];var s=[];if(\"undefined\"==typeof e)return s;for(var c=Array.isArray(a)?a:Object.keys(e),u=0,p=c.length;p>u;++u){var l=c[u];s=Array.isArray(e)?s.concat(i.stringify(e[l],n(t,l),n,o,a)):s.concat(i.stringify(e[l],t+\"[\"+l+\"]\",n,o,a))}return s},t.exports=function(e,t){t=t||{};var n,r,o=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter,a=\"boolean\"==typeof t.strictNullHandling?t.strictNullHandling:i.strictNullHandling;\"function\"==typeof t.filter?(r=t.filter,e=r(\"\",e)):Array.isArray(t.filter)&&(n=r=t.filter);var s=[];if(\"object\"!=typeof e||null===e)return\"\";var c;c=t.arrayFormat in i.arrayPrefixGenerators?t.arrayFormat:\"indices\"in t?t.indices?\"indices\":\"repeat\":\"indices\";var u=i.arrayPrefixGenerators[c];n||(n=Object.keys(e));for(var p=0,l=n.length;l>p;++p){var f=n[p];s=s.concat(i.stringify(e[f],f,u,a,r))}return s.join(o)}},{\"./utils\":113}],113:[function(e,t,n){var r={};r.hexTable=new Array(256);for(var i=0;256>i;++i)r.hexTable[i]=\"%\"+((16>i?\"0\":\"\")+i.toString(16)).toUpperCase();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,i=e.length;i>r;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):\"object\"==typeof e?e[t]=!0:e=[e,t],e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e,r));for(var i=Object.keys(t),o=0,a=i.length;a>o;++o){var s=i[o],c=t[s];Object.prototype.hasOwnProperty.call(e,s)?e[s]=n.merge(e[s],c,r):e[s]=c}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;\"string\"!=typeof e&&(e=\"\"+e);for(var t=\"\",n=0,i=e.length;i>n;++n){var o=e.charCodeAt(n);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?t+=e[n]:128>o?t+=r.hexTable[o]:2048>o?t+=r.hexTable[192|o>>6]+r.hexTable[128|63&o]:55296>o||o>=57344?t+=r.hexTable[224|o>>12]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o]:(++n,o=65536+((1023&o)<<10|1023&e.charCodeAt(n)),t+=r.hexTable[240|o>>18]+r.hexTable[128|o>>12&63]+r.hexTable[128|o>>6&63]+r.hexTable[128|63&o])}return t},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],114:[function(e,t,n){function r(e){var t,n,r,c,u,p,l,f,d,h=[\"([^%]*)\",\"%\",\"(['\\\\-+ #0]*?)\",\"([1-9]\\\\d*)?\",\"(\\\\.([1-9]\\\\d*))?\",\"[lhjztL]*?\",\"([diouxXfFeEgGaAcCsSp%jr])\"].join(\"\"),m=new RegExp(h),v=Array.prototype.slice.call(arguments,1),g=\"\",y=1;for(a.equal(\"string\",typeof e);null!==(d=m.exec(e));)if(g+=d[1],e=e.substring(d[0].length),t=d[2]||\"\",n=d[3]||0,r=d[4]||\"\",c=d[6],u=!1,l=!1,p=\" \",\"%\"!=c){if(0===v.length)throw new Error(\"too few args to sprintf\");if(f=v.shift(),y++,t.match(/[\\' #]/))throw new Error(\"unsupported flags: \"+t);if(r.length>0)throw new Error(\"non-zero precision not supported\");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(p=\"0\"),t.match(/\\+/)&&(l=!0),c){case\"s\":if(void 0===f||null===f)throw new Error(\"argument \"+y+\": attempted to print undefined or null as a string\");g+=i(p,n,u,f.toString());break;case\"d\":f=Math.floor(f);case\"f\":l=l&&f>0?\"+\":\"\",g+=l+i(p,n,u,f.toString());break;case\"j\":0===n&&(n=10),g+=s.inspect(f,!1,n);break;case\"r\":g+=o(f);break;default:throw new Error(\"unsupported conversion: \"+c)}}else g+=\"%\";return g+=e}function i(e,t,n,r){for(var i=r;i.length<t;)n?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(r(\"invalid type for %%r: %j\",e));if(t=\"EXCEPTION: \"+e.constructor.name+\": \"+e.stack,e.cause&&\"function\"==typeof e.cause){var n=e.cause();n&&(t+=\"\\nCaused by: \"+o(n))}return t}var a=e(\"assert\"),s=e(\"util\");n.sprintf=r},{assert:void 0,util:void 0}],115:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){var r=n||{},c=r.env||process.env.NODE_ENV||\"development\",u=r.onerror;return function(n){var r=t.statusCode;if(!n&&t._header)return void o(\"cannot 404 after headers sent\");if(n){n.statusCode&&(r=n.statusCode),n.status&&(r=n.status),(!r||400>r)&&(r=500);var l=\"production\"===c?s.STATUS_CODES[r]:n.stack||n.toString();l=a(l).replace(/\\n/g,\"<br>\").replace(/  /g,\" &nbsp;\")+\"\\n\"}else r=404,l=\"Cannot \"+a(e.method)+\" \"+a(e.originalUrl||e.url)+\"\\n\";return o(\"default %s\",r),n&&u&&p(u,n,e,t),t._header?e.socket.destroy():void i(e,t,r,l)}}function i(e,t,r,i){function o(){return t.statusCode=r,t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.setHeader(\"Content-Type\",\"text/html; charset=utf-8\"),t.setHeader(\"Content-Length\",n.byteLength(i,\"utf8\")),\"HEAD\"===e.method?void t.end():void t.end(i,\"utf8\")}return l(e)?void o():(u(e),c(e,o),void e.resume())}var o=e(\"debug\")(\"finalhandler\"),a=e(\"escape-html\"),s=e(\"http\"),c=e(\"on-finished\"),u=e(\"unpipe\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))},l=c.isFinished;t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,\"escape-html\":96,http:void 0,\"on-finished\":363,unpipe:529}],116:[function(e,t,n){function r(e,t){var n=\"\";return n=\"string\"==typeof e?e+\":\"+t:e.host+\":\"+e.port+\":\"+(e.localAddress?e.localAddress+\":\":\":\")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||c.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on(\"free\",function(e,n,i){var o=r(n,i);if(t.requests[o]&&t.requests[o].length)t.requests[o].shift().onSocket(e);else if(t.sockets[o].length<t.minSockets){t.freeSockets[o]||(t.freeSockets[o]=[]),t.freeSockets[o].push(e);var a=function(){e.destroy()};e._onIdleError=a,e.on(\"error\",a)}else e.destroy()})}function o(e){i.call(this,e)}function a(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\n\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),p.connect(n)}t.exports=i,i.SSL=o;var s=e(\"util\"),c=e(\"http\").Agent,u=e(\"net\"),p=e(\"tls\"),l=e(\"https\").Agent;s.inherits(i,c),i.defaultMinSockets=5,i.prototype.createConnection=u.createConnection,i.prototype.addRequestNoreuse=c.prototype.addRequest,i.prototype.addRequest=function(e,t,n){var i=r(t,n);if(\"string\"!=typeof t){var o=t;n=o.port,t=o.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var a=this.freeSockets[i].pop();a.removeListener(\"error\",a._onIdleError),delete a._onIdleError,e._reusedSocket=!0,e.onSocket(a)}else this.addRequestNoreuse(e,t,n)},i.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},s.inherits(o,i),o.prototype.createConnection=a,o.prototype.addRequestNoreuse=l.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],117:[function(e,t,n){(function(n){function r(){if(!(this instanceof r))throw new TypeError(\"Failed to construct FormData: Please use the _new_ operator, this object constructor cannot be called as a function.\");this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],i.call(this)}var i=e(\"combined-stream\"),o=e(\"util\"),a=e(\"path\"),s=e(\"http\"),c=e(\"https\"),u=e(\"url\").parse,p=e(\"fs\"),l=e(\"mime-types\"),f=e(\"async\"),d=e(\"./populate.js\");t.exports=r,o.inherits(r,i),r.LINE_BREAK=\"\\r\\n\",r.DEFAULT_CONTENT_TYPE=\"application/octet-stream\",r.prototype.append=function(e,t,n){n=n||{},\"string\"==typeof n&&(n={filename:n});var r=i.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),o.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();r(a),r(t),r(s),this._trackLength(a,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):p.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){if(n.header)return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),a=\"\",s={\"Content-Disposition\":[\"form-data\",'name=\"'+e+'\"'].concat(i||[]),\"Content-Type\":[].concat(o||[])};for(var c in s)s[c].length&&(a+=c+\": \"+s[c].join(\"; \")+r.LINE_BREAK);return\"--\"+this.getBoundary()+r.LINE_BREAK+a+r.LINE_BREAK},r.prototype._getContentDisposition=function(e,t){var n,r=t.filename||e.path;return!r&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(r=e.client._httpMessage.path),r&&(n='filename=\"'+a.basename(r)+'\"'),n},r.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty(\"httpVersion\")&&(n=e.headers[\"content-type\"]),!n&&t.filename&&(n=l.lookup(t.filename)),n||\"object\"!=typeof e||(n=r.DEFAULT_CONTENT_TYPE),n},r.prototype._multiPartFooter=function(){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"+r.LINE_BREAK},r.prototype.getHeaders=function(e){var t,n={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),e},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void f.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,i={method:\"post\"};return\"string\"==typeof e?(e=u(e),r=d({port:e.port,path:e.pathname,host:e.hostname},i)):(r=d(e,i),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==r.protocol?c.request(r):s.request(r),this.getLength(function(e,r){return e?void this._error(e):(n.setHeader(\"Content-Length\",r),this.pipe(n),void(t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{\"./populate.js\":118,async:11,buffer:void 0,\"combined-stream\":72,fs:void 0,http:void 0,https:void 0,\"mime-types\":184,path:void 0,url:void 0,util:void 0}],118:[function(e,t,n){t.exports=function(e,t){for(var n in t)t.hasOwnProperty(n)&&!e[n]&&(e[n]=t[n]);return e}},{}],119:[function(e,t,n){function r(e){if(!e)throw new TypeError(\"argument req is required\");var t=(e.headers[\"x-forwarded-for\"]||\"\").split(/ *, */).filter(Boolean).reverse(),n=e.connection.remoteAddress,r=[n].concat(t);return r}t.exports=r},{}],120:[function(e,t,n){function r(e,t){var n=!0,r=!0,i=e[\"if-modified-since\"],o=e[\"if-none-match\"],a=t[\"last-modified\"],s=t.etag,c=e[\"cache-control\"];return i||o?c&&-1!==c.indexOf(\"no-cache\")?!1:(o&&(o=o.split(/ *, */)),o&&(n=o.some(function(e){return\"*\"===e||e===s||e===\"W/\"+s})),i&&(i=new Date(i),a=new Date(a),r=i>=a),!(!n||!r)):!1}t.exports=r},{}],121:[function(e,t,n){var r=e(\"util\"),i=/[\\{\\[]/,o=/[\\}\\]]/;t.exports=function(){var e=[],t=0,n=function(n){for(var r=\"\";r.length<2*t;)r+=\"  \";e.push(r+n)},a=function(e){return e?o.test(e.trim()[0])&&i.test(e[e.length-1])?(t--,n(r.format.apply(r,arguments)),t++,a):i.test(e[e.length-1])?(n(r.format.apply(r,arguments)),t++,a):o.test(e.trim()[0])?(t--,n(r.format.apply(r,arguments)),a):(n(r.format.apply(r,arguments)),a):a};return a.toString=function(){return e.join(\"\\n\")},a.toFunction=function(e){var t=\"return (\"+a.toString()+\")\",n=Object.keys(e||{}).map(function(e){return e}),r=n.map(function(t){return e[t]});return Function.apply(null,n.concat(t)).apply(null,r)},arguments.length&&a.apply(null,arguments),a}},{util:void 0}],122:[function(e,t,n){var r=e(\"is-property\"),i=function(e,t){return r(t)?e+\".\"+t:e+\"[\"+JSON.stringify(t)+\"]\"};i.valid=r,i.property=function(e){return r(e)?e:JSON.stringify(e)},t.exports=i},{\"is-property\":161}],123:[function(e,t,n){\"use strict\";function r(e){this.name=\"ValidationError\",this.errors=e}r.prototype=Error.prototype,t.exports=r},{}],124:[function(e,t,n){\"use strict\";var r=e(\"pinkie-promise\"),i=e(\"./runner\"),o=e(\"./schemas\"),a=function(e){return function(t){return new r(function(n,r){i(e,t,function(e,i){return null===e?n(t):r(e)})})}};t.exports=a(o.har),Object.keys(o).map(function(e){t.exports[e]=a(o[e])})},{\"./runner\":125,\"./schemas\":133,\"pinkie-promise\":377}],125:[function(e,t,n){\"use strict\";var r=e(\"./schemas\"),i=e(\"./error\"),o=e(\"is-my-json-valid\");t.exports=function(e,t,n){var a=!1,s=o(e,{greedy:!0,verbose:!0,schemas:r});return void 0!==t&&(a=s(t)),\"function\"==typeof n?n(s.errors?new i(s.errors):null,a):a}},{\"./error\":123,\"./schemas\":133,\"is-my-json-valid\":160}],126:[function(e,t,n){t.exports={properties:{beforeRequest:{$ref:\"#cacheEntry\"},afterRequest:{$ref:\"#cacheEntry\"},comment:{type:\"string\"}}}},{}],127:[function(e,t,n){t.exports={oneOf:[{type:\"object\",optional:!0,required:[\"lastAccess\",\"eTag\",\"hitCount\"],properties:{expires:{type:\"string\"},lastAccess:{type:\"string\"},eTag:{type:\"string\"},hitCount:{type:\"integer\"},comment:{type:\"string\"}}},{type:null,additionalProperties:!1}]}},{}],128:[function(e,t,n){t.exports={type:\"object\",required:[\"size\",\"mimeType\"],properties:{size:{type:\"integer\"},compression:{type:\"integer\"},mimeType:{type:\"string\"},text:{type:\"string\"},encoding:{type:\"string\"},comment:{type:\"string\"}}}},{}],129:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},path:{type:\"string\"},domain:{type:\"string\"},expires:{type:[\"string\",\"null\"],format:\"date-time\"},httpOnly:{type:\"boolean\"},secure:{type:\"boolean\"},comment:{type:\"string\"}}}},{}],130:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"version\"],properties:{name:{type:\"string\"},version:{type:\"string\"},comment:{type:\"string\"}}}},{}],131:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"time\",\"request\",\"response\",\"cache\",\"timings\"],properties:{pageref:{type:\"string\"},startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},time:{type:\"number\",min:0},request:{$ref:\"#request\"},response:{$ref:\"#response\"},cache:{$ref:\"#cache\"},timings:{$ref:\"#timings\"},serverIPAddress:{type:\"string\",oneOf:[{format:\"ipv4\"},{format:\"ipv6\"}]},connection:{type:\"string\"},comment:{type:\"string\"}}}},{}],132:[function(e,t,n){t.exports={type:\"object\",required:[\"log\"],properties:{log:{$ref:\"#log\"}}}},{}],133:[function(e,t,n){\"use strict\";var r={cache:e(\"./cache.json\"),cacheEntry:e(\"./cacheEntry.json\"),content:e(\"./content.json\"),cookie:e(\"./cookie.json\"),creator:e(\"./creator.json\"),entry:e(\"./entry.json\"),har:e(\"./har.json\"),log:e(\"./log.json\"),page:e(\"./page.json\"),pageTimings:e(\"./pageTimings.json\"),postData:e(\"./postData.json\"),record:e(\"./record.json\"),request:e(\"./request.json\"),response:e(\"./response.json\"),timings:e(\"./timings.json\")};r.cache.properties.beforeRequest=r.cacheEntry,r.cache.properties.afterRequest=r.cacheEntry,r.page.properties.pageTimings=r.pageTimings,r.request.properties.cookies.items=r.cookie,r.request.properties.headers.items=r.record,r.request.properties.queryString.items=r.record,r.request.properties.postData=r.postData,r.response.properties.cookies.items=r.cookie,r.response.properties.headers.items=r.record,r.response.properties.content=r.content,r.entry.properties.request=r.request,r.entry.properties.response=r.response,r.entry.properties.cache=r.cache,r.entry.properties.timings=r.timings,r.log.properties.creator=r.creator,r.log.properties.browser=r.creator,r.log.properties.pages.items=r.page,r.log.properties.entries.items=r.entry,r.har.properties.log=r.log,t.exports=r},{\"./cache.json\":126,\"./cacheEntry.json\":127,\"./content.json\":128,\"./cookie.json\":129,\"./creator.json\":130,\"./entry.json\":131,\"./har.json\":132,\"./log.json\":134,\"./page.json\":135,\"./pageTimings.json\":136,\"./postData.json\":137,\"./record.json\":138,\"./request.json\":139,\"./response.json\":140,\"./timings.json\":141}],134:[function(e,t,n){t.exports={type:\"object\",required:[\"version\",\"creator\",\"entries\"],properties:{version:{type:\"string\"},creator:{$ref:\"#creator\"},browser:{$ref:\"#creator\"},pages:{type:\"array\",items:{$ref:\"#page\"}},entries:{type:\"array\",items:{$ref:\"#entry\"}},comment:{type:\"string\"}}}},{}],135:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"startedDateTime\",\"id\",\"title\",\"pageTimings\"],properties:{startedDateTime:{type:\"string\",format:\"date-time\",pattern:\"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))\"},id:{type:\"string\",unique:!0},title:{type:\"string\"},pageTimings:{$ref:\"#pageTimings\"},comment:{type:\"string\"}}}},{}],136:[function(e,t,n){t.exports={type:\"object\",properties:{onContentLoad:{type:\"number\",min:-1},onLoad:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],137:[function(e,t,n){t.exports={type:\"object\",optional:!0,required:[\"mimeType\"],properties:{mimeType:{type:\"string\"},text:{type:\"string\"},params:{type:\"array\",required:[\"name\"],properties:{name:{type:\"string\"},value:{type:\"string\"},fileName:{type:\"string\"},contentType:{type:\"string\"},comment:{type:\"string\"}}},comment:{type:\"string\"}}}},{}],138:[function(e,t,n){t.exports={type:\"object\",required:[\"name\",\"value\"],properties:{name:{type:\"string\"},value:{type:\"string\"},comment:{type:\"string\"}}}},{}],139:[function(e,t,n){t.exports={type:\"object\",required:[\"method\",\"url\",\"httpVersion\",\"cookies\",\"headers\",\"queryString\",\"headersSize\",\"bodySize\"],properties:{method:{type:\"string\"},url:{type:\"string\",format:\"uri\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},queryString:{type:\"array\",items:{$ref:\"#record\"}},postData:{$ref:\"#postData\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],140:[function(e,t,n){t.exports={type:\"object\",required:[\"status\",\"statusText\",\"httpVersion\",\"cookies\",\"headers\",\"content\",\"redirectURL\",\"headersSize\",\"bodySize\"],properties:{status:{type:\"integer\"},statusText:{type:\"string\"},httpVersion:{type:\"string\"},cookies:{type:\"array\",items:{$ref:\"#cookie\"}},headers:{type:\"array\",items:{$ref:\"#record\"}},content:{$ref:\"#content\"},redirectURL:{type:\"string\"},headersSize:{type:\"integer\"},bodySize:{type:\"integer\"},comment:{type:\"string\"}}}},{}],141:[function(e,t,n){t.exports={required:[\"send\",\"wait\",\"receive\"],properties:{dns:{type:\"number\",min:-1},connect:{type:\"number\",min:-1},blocked:{type:\"number\",min:-1},send:{type:\"number\",min:-1},wait:{type:\"number\",min:-1},receive:{type:\"number\",min:-1},ssl:{type:\"number\",min:-1},comment:{type:\"string\"}}}},{}],142:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var c={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return c.err=\"Invalid argument type\",c;var u=n.timestamp||s.nowSecs(n.localtimeOffsetMsec),p=n.credentials;if(!(p&&p.id&&p.key&&p.algorithm))return c.err=\"Invalid credential object\",c;if(-1===a.algorithms.indexOf(p.algorithm))return c.err=\"Unknown algorithm\",c;\"string\"==typeof e&&(e=r.parse(e));var l={ts:u,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};c.artifacts=l,l.hash||!n.payload&&\"\"!==n.payload||(l.hash=a.calculatePayloadHash(n.payload,p.algorithm,n.contentType));var f=a.calculateMac(\"header\",p,l),d=null!==l.ext&&void 0!==l.ext&&\"\"!==l.ext,h='Hawk id=\"'+p.id+'\", ts=\"'+l.ts+'\", nonce=\"'+l.nonce+(l.hash?'\", hash=\"'+l.hash:\"\")+(d?'\", ext=\"'+i.escapeHeaderAttribute(l.ext):\"\")+'\", mac=\"'+f+'\"';return l.app&&(h+=', app=\"'+l.app+(l.dlg?'\", dlg=\"'+l.dlg:\"\")+'\"'),c.field=h,c},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var u=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(u instanceof Error)return!1;n.ext=u.ext,n.hash=u.hash;var p=a.calculateMac(\"response\",t,n);if(p!==u.mac)return!1;if(!r.payload&&\"\"!==r.payload)return!0;if(!u.hash)return!1;var l=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return l===u.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now(t.localtimeOffsetMsec),o=t.credentials;if(!(o&&o.id&&o.key&&o.algorithm))return\"\";if(-1===a.algorithms.indexOf(o.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var c=Math.floor(n/1e3)+t.ttlSec,u=a.calculateMac(\"bewit\",o,{ts:c,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),p=o.id+\"\\\\\"+c+\"\\\\\"+u+\"\\\\\"+t.ext;return i.base64urlEncode(p)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||s.nowSecs(r.localtimeOffsetMsec),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":143,\"./utils\":146,cryptiles:78,hoek:149,url:void 0}],143:[function(e,t,n){var r=e(\"crypto\"),i=e(\"url\"),o=e(\"./utils\");n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=t.resource||\"\";if(r&&\"/\"!==r[0]){var o=i.parse(r,!1);r=o.path}var a=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+r+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(a+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),a+=\"\\n\",t.app&&(a+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),a},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var i=r.createHash(e);return i.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),i.update(o.parseContentType(t)+\"\\n\"),i},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=o.nowSecs(t),i=n.calculateTsMac(r,e);return{ts:r,tsm:i}}},{\"./utils\":146,crypto:void 0,url:void 0}],144:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":142,\"./crypto\":143,\"./server\":145,\"./utils\":146,boom:51,sntp:434}],145:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\"),c={};n.authenticate=function(e,t,n,u){u=i.nextTick(u),n.nonceFunc=n.nonceFunc||c.nonceFunc,n.timestampSkewSec=n.timestampSkewSec||60;var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));var f=s.parseAuthorizationHeader(l.authorization);if(f instanceof Error)return u(f);var d={method:l.method,host:l.host,port:l.port,resource:l.url,ts:f.ts,nonce:f.nonce,hash:f.hash,ext:f.ext,app:f.app,dlg:f.dlg,mac:f.mac,id:f.id};return f.id&&f.ts&&f.nonce&&f.mac?void t(f.id,function(e,t){if(e)return u(e,t||null,d);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,d);var i=a.calculateMac(\"header\",t,d);if(!o.fixedTimeComparison(i,f.mac))return u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d);if(n.payload||\"\"===n.payload){if(!f.hash)return u(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,d);var s=a.calculatePayloadHash(n.payload,t.algorithm,l.contentType);if(!o.fixedTimeComparison(s,f.hash))return u(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,d)}n.nonceFunc(t.key,f.nonce,f.ts,function(e){if(e)return u(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,d);if(Math.abs(1e3*f.ts-p)>1e3*n.timestampSkewSec){var i=a.timestampMessage(t,n.localtimeOffsetMsec);return u(r.unauthorized(\"Stale timestamp\",\"Hawk\",i),t,d)}return u(null,t,d)})}):u(r.badRequest(\"Missing attributes\"),null,d)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.authenticatePayloadHash=function(e,t){return o.fixedTimeComparison(e,t.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";t.hash||!n.payload&&\"\"!==n.payload||(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+i.escapeHeaderAttribute(t.ext)+'\"'),o},c.bewitRegex=/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/,n.authenticateBewit=function(e,t,n,u){u=i.nextTick(u);var p=s.now(n.localtimeOffsetMsec),l=s.parseRequest(e,n);if(l instanceof Error)return u(r.badRequest(l.message));if(l.url.length>s.limits.maxMatchLength)return u(r.badRequest(\"Resource path exceeds max length\"));var f=l.url.match(c.bewitRegex);if(!f)return u(r.unauthorized(null,\"Hawk\"));if(!f[3])return u(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==l.method&&\"HEAD\"!==l.method)return u(r.unauthorized(\"Invalid method\",\"Hawk\"));if(l.authorization)return u(r.badRequest(\"Multiple authentications\"));var d=i.base64urlDecode(f[3]);if(d instanceof Error)return u(r.badRequest(\"Invalid bewit encoding\"));var h=d.split(\"\\\\\");if(4!==h.length)return u(r.badRequest(\"Invalid bewit structure\"));var m={id:h[0],exp:parseInt(h[1],10),mac:h[2],ext:h[3]||\"\"};if(!m.id||!m.exp||!m.mac)return u(r.badRequest(\"Missing bewit attributes\"));var v=f[1];return f[4]&&(v+=f[2]+f[4]),1e3*m.exp<=p?u(r.unauthorized(\"Access expired\",\"Hawk\"),null,m):void t(m.id,function(e,t){if(e)return u(e,t||null,m.ext);if(!t)return u(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,m);if(!t.key||!t.algorithm)return u(r.internal(\"Invalid credentials\"),t,m);if(-1===a.algorithms.indexOf(t.algorithm))return u(r.internal(\"Unknown algorithm\"),t,m);var n=a.calculateMac(\"bewit\",t,{ts:m.exp,nonce:\"\",method:\"GET\",resource:v,host:l.host,port:l.port,ext:m.ext});return o.fixedTimeComparison(n,m.mac)?u(null,t,m):u(r.unauthorized(\"Bad mac\",\"Hawk\"),t,m)})},n.authenticateMessage=function(e,t,n,u,p,l,f){f=i.nextTick(f),l.nonceFunc=l.nonceFunc||c.nonceFunc,l.timestampSkewSec=l.timestampSkewSec||60;var d=s.now(l.localtimeOffsetMsec);return u.id&&u.ts&&u.nonce&&u.hash&&u.mac?void p(u.id,function(i,s){if(i)return f(i,s||null);if(!s)return f(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!s.key||!s.algorithm)return f(r.internal(\"Invalid credentials\"),s);if(-1===a.algorithms.indexOf(s.algorithm))return f(r.internal(\"Unknown algorithm\"),s);var c={ts:u.ts,nonce:u.nonce,host:e,port:t,hash:u.hash},p=a.calculateMac(\"message\",s,c);if(!o.fixedTimeComparison(p,u.mac))return f(r.unauthorized(\"Bad mac\",\"Hawk\"),s);var h=a.calculatePayloadHash(n,s.algorithm);return o.fixedTimeComparison(h,u.hash)?void l.nonceFunc(s.key,u.nonce,u.ts,function(e){return e?f(r.unauthorized(\"Invalid nonce\",\"Hawk\"),s):Math.abs(1e3*u.ts-d)>1e3*l.timestampSkewSec?f(r.unauthorized(\"Stale timestamp\"),s):f(null,s)}):f(r.unauthorized(\"Bad message hash\",\"Hawk\"),s)}):f(r.badRequest(\"Invalid authorization\"))},c.nonceFunc=function(e,t,n,r){return r()}},{\"./crypto\":143,\"./utils\":146,boom:51,cryptiles:78,hoek:149}],146:[function(e,t,n){var r=e(\"sntp\"),i=e(\"boom\"),o={};n.version=function(){return e(\"../package.json\").version},n.limits={maxMatchLength:4096},o.hostHeaderRegex=/^(?:(?:\\r\\n)?\\s)*((?:[^:]+)|(?:\\[[^\\]]+\\]))(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/,n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var r=e.headers[t];if(!r)return null;if(r.length>n.limits.maxMatchLength)return null;var i=r.match(o.hostHeaderRegex);return i?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;var r;if(!(t.host&&t.port||(r=n.parseHost(e,t.hostHeaderName))))return new Error(\"Invalid Host header\");var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(e){return r.now()+(e||0)},n.nowSecs=function(e){return Math.floor(n.now(e)/1e3)},o.authHeaderRegex=/^(\\w+)(?:\\s+(.*))?$/,o.attributeRegex=/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/,n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return i.unauthorized(null,\"Hawk\");if(e.length>n.limits.maxMatchLength)return i.badRequest(\"Header length too long\");var r=e.match(o.authHeaderRegex);if(!r)return i.badRequest(\"Invalid header syntax\");var a=r[1];if(\"hawk\"!==a.toLowerCase())return i.unauthorized(null,\"Hawk\");var s=r[2];if(!s)return i.badRequest(\"Invalid header syntax\");var c={},u=\"\",p=s.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(u=\"Unknown attribute: \"+n):null===r.match(o.attributeRegex)?void(u=\"Bad attribute value: \"+n):c.hasOwnProperty(n)?void(u=\"Duplicate attribute: \"+n):(c[n]=r,\"\")});return\"\"!==p?i.badRequest(u||\"Bad header format\"):c},n.unauthorized=function(e,t){return i.unauthorized(e,\"Hawk\",t)}},{\"../package.json\":147,boom:51,sntp:434}],147:[function(e,t,n){t.exports={_args:[[\"hawk@~3.1.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"hawk@>=3.1.0 <3.2.0\",_id:\"hawk@3.1.3\",_inCache:!0,_installable:!0,_location:\"/hawk\",_nodeVersion:\"5.4.1\",_npmUser:{email:\"eran@hammer.io\",name:\"hueniverse\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"hawk\",raw:\"hawk@~3.1.0\",rawSpec:\"~3.1.0\",scope:null,spec:\">=3.1.0 <3.2.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\",_shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",_shrinkwrap:null,_spec:\"hawk@~3.1.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"eran@hammer.io\",name:\"Eran Hammer\",url:\"http://hueniverse.com\"},browser:\"./lib/browser.js\",bugs:{url:\"https://github.com/hueniverse/hawk/issues\"},contributors:[],dependencies:{boom:\"2.x.x\",cryptiles:\"2.x.x\",hoek:\"2.x.x\",sntp:\"1.x.x\"},description:\"HTTP Hawk Authentication Scheme\",devDependencies:{code:\"1.x.x\",lab:\"5.x.x\"},directories:{},dist:{shasum:\"078444bd7c1640b0fe540d2c9b73d59678e8e1c4\",tarball:\"https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz\"},engines:{node:\">=0.10.32\"},gitHead:\"2f0b93b34ed9b0ebc865838ef70c6a4035591430\",homepage:\"https://github.com/hueniverse/hawk#readme\",keywords:[\"authentication\",\"hawk\",\"http\",\"scheme\"],license:\"BSD-3-Clause\",main:\"lib/index.js\",maintainers:[{name:\"hueniverse\",email:\"eran@hueniverse.com\"}],name:\"hawk\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/hueniverse/hawk.git\"},scripts:{test:\"lab -a code -t 100 -L\",\"test-cov-html\":\"lab -a code -r html -o coverage.html\"},version:\"3.1.3\"}},{}],148:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";var i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],149:[function(e,t,n){(function(t){var r=e(\"crypto\"),i=e(\"path\"),o=e(\"util\"),a=e(\"./escape\"),s={};n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o,a=!1;if(Array.isArray(e))o=[],a=!0;else if(t.isBuffer(e))o=new t(e);else if(e instanceof Date)o=new Date(e.getTime());else if(e instanceof RegExp)o=new RegExp(e);else{var s=Object.getPrototypeOf(e);s&&s.isImmutable?o=e:(o=Object.create(s),a=!0)}if(r.orig.push(e),r.copy.push(o),a)for(var c=Object.getOwnPropertyNames(e),u=0,p=c.length;p>u;++u){var l=c[u],f=Object.getOwnPropertyDescriptor(e,l);f&&(f.get||f.set)?Object.defineProperty(o,l,f):o[l]=n.clone(e[l],r)}return o},n.merge=function(e,r,i,o){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===r||void 0===r||\"object\"==typeof r,\"Invalid source value: must be null, undefined, or an object\"),!r)return e;if(Array.isArray(r)){n.assert(Array.isArray(e),\"Cannot merge array onto an object\"),o===!1&&(e.length=0);for(var a=0,s=r.length;s>a;++a)e.push(n.clone(r[a]));return e}for(var c=Object.keys(r),u=0,p=c.length;p>u;++u){var l=c[u],f=r[l];f&&\"object\"==typeof f?!e[l]||\"object\"!=typeof e[l]||Array.isArray(e[l])^Array.isArray(f)||f instanceof Date||t.isBuffer(f)||f instanceof RegExp?e[l]=n.clone(f):n.merge(e[l],f,i,o):null!==f&&void 0!==f?e[l]=f:i!==!1&&(e[l]=f)}return e},n.applyToDefaults=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var i=n.clone(e);return t===!0?i:n.merge(i,t,r===!0,!1)},n.cloneWithShallow=function(e,t){if(!e||\"object\"!=typeof e)return e;var r=s.store(e,t),i=n.clone(e);return s.restore(i,e,r),i},s.store=function(e,t){for(var r={},i=0,o=t.length;o>i;++i){var a=t[i],c=n.reach(e,a);void 0!==c&&(r[a]=c,s.reachSet(e,a,void 0))}return r},s.restore=function(e,t,n){for(var r=Object.keys(n),i=0,o=r.length;o>i;++i){var a=r[i];s.reachSet(e,a,n[a]),s.reachSet(t,a,n[a])}},s.reachSet=function(e,t,n){for(var r=t.split(\".\"),i=e,o=0,a=r.length;a>o;++o){var s=r[o];o+1===a&&(i[s]=n),i=i[s]}},n.applyToDefaultsWithShallow=function(e,t,r){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),n.assert(r&&Array.isArray(r),\"Invalid keys\"),!t)return null;var i=n.cloneWithShallow(e,r);if(t===!0)return i;var o=s.store(t,r);return n.merge(i,t,!1,!1),s.restore(i,t,o),i},n.deepEqual=function(e,r,i,o){i=i||{prototype:!0};var a=typeof e;if(a!==typeof r)return!1;if(\"object\"!==a||null===e||null===r)return e===r?0!==e||1/e===1/r:e!==e&&r!==r;if(o=o||[],-1!==o.indexOf(e))return!0;if(o.push(e),Array.isArray(e)){if(!Array.isArray(r))return!1;if(!i.part&&e.length!==r.length)return!1;for(var s=0,c=e.length;c>s;++s){if(i.part){for(var u=!1,p=0,l=r.length;l>p;++p)if(n.deepEqual(e[s],r[p],i,o)){u=!0;break}return u}if(!n.deepEqual(e[s],r[s],i,o))return!1;\n}return!0}if(t.isBuffer(e)){if(!t.isBuffer(r))return!1;if(e.length!==r.length)return!1;for(var f=0,d=e.length;d>f;++f)if(e[f]!==r[f])return!1;return!0}if(e instanceof Date)return r instanceof Date&&e.getTime()===r.getTime();if(e instanceof RegExp)return r instanceof RegExp&&e.toString()===r.toString();if(i.prototype&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(r))return!1;var h=Object.getOwnPropertyNames(e);if(!i.part&&h.length!==Object.getOwnPropertyNames(r).length)return!1;for(var m=0,v=h.length;v>m;++m){var g=h[m],y=Object.getOwnPropertyDescriptor(e,g);if(y.get){if(!n.deepEqual(y,Object.getOwnPropertyDescriptor(r,g),i,o))return!1}else if(!n.deepEqual(e[g],r[g],i,o))return!1}return!0},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=Array.isArray(e)?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.contain=function(e,t,r){var i=null;\"object\"!=typeof e||\"object\"!=typeof t||Array.isArray(e)||Array.isArray(t)?t=[].concat(t):(i=t,t=Object.keys(t)),r=r||{},n.assert(arguments.length>=2,\"Insufficient arguments\"),n.assert(\"string\"==typeof e||\"object\"==typeof e,\"Reference must be string or an object\"),n.assert(t.length,\"Values array cannot be empty\");var o,a;if(r.deep){o=n.deepEqual;var s=r.hasOwnProperty(\"only\"),c=r.hasOwnProperty(\"part\");a={prototype:s?r.only:c?!r.part:!1,part:s?!r.only:c?r.part:!0}}else o=function(e,t){return e===t};for(var u=!1,p=new Array(t.length),l=0,f=p.length;f>l;++l)p[l]=0;if(\"string\"==typeof e){var d=\"(\";for(l=0,f=t.length;f>l;++l){var h=t[l];n.assert(\"string\"==typeof h,\"Cannot compare string reference to non-string value\"),d+=(l?\"|\":\"\")+n.escapeRegex(h)}var m=new RegExp(d+\")\",\"g\"),v=e.replace(m,function(e,n){var r=t.indexOf(n);return++p[r],\"\"});u=!!v}else if(Array.isArray(e))for(l=0,f=e.length;f>l;++l){for(var g=0,y=t.length,b=!1;y>g&&b===!1;++g)b=o(t[g],e[l],a)&&g;b!==!1?++p[b]:u=!0}else{var x=Object.keys(e);for(l=0,f=x.length;f>l;++l){var w=x[l],_=t.indexOf(w);if(-1!==_){if(i&&!o(i[w],e[w],a))return!1;++p[_]}else u=!0}}var k=!1;for(l=0,f=p.length;f>l;++l)if(k=k||!!p[l],r.once&&p[l]>1||!r.part&&!p[l])return!1;return r.only&&u?!1:k},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.reach=function(e,t,r){if(t===!1||null===t||\"undefined\"==typeof t)return e;r=r||{},\"string\"==typeof r&&(r={separator:r});for(var i=t.split(r.separator||\".\"),o=e,a=0,s=i.length;s>a;++a){var c=i[a];if(\"-\"===c[0]&&Array.isArray(o)&&(c=c.slice(1,c.length),c=o.length-c),!o||!o.hasOwnProperty(c)||\"object\"!=typeof o&&r.functions===!1){n.assert(!r.strict||a+1===s,\"Missing segment\",c,\"in reach path \",t),n.assert(\"object\"==typeof o||r.functions===!0||\"function\"!=typeof o,\"Invalid segment\",c,\"in reach path \",t),o=r[\"default\"];break}o=o[c]}return o},n.reachTemplate=function(e,t,r){return t.replace(/{([^}]+)}/g,function(t,i){var o=n.reach(e,i,r);return void 0===o||null===o?\"\":o})},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){if(2===arguments.length&&arguments[1]instanceof Error)throw arguments[1];for(var t=[],r=1,i=arguments.length;i>r;++r)\"\"!==arguments[r]&&t.push(arguments[r]);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:n.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.Timer=function(){this.ts=0,this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.Bench=function(){this.ts=0,this.reset()},n.Bench.prototype.reset=function(){this.ts=n.Bench.now()},n.Bench.prototype.elapsed=function(){return n.Bench.now()-this.ts},n.Bench.now=function(){var e=process.hrtime();return 1e3*e[0]+e[1]/1e6},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.base64urlEncode=function(e,n){var r=t.isBuffer(e)?e:new t(e,n||\"binary\");return r.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e,n){if(e&&!/^[\\w\\-]*$/.test(e))return new Error(\"Invalid character\");try{var r=new t(e,\"base64\");return\"buffer\"===n?r:r.toString(n||\"binary\")}catch(i){return i}},n.escapeHeaderAttribute=function(e){return n.assert(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/.test(e),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return a.escapeHtml(e)},n.escapeJavaScript=function(e){return a.escapeJavaScript(e)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}},n.once=function(e){if(e._hoekOnce)return e;var t=!1,n=function(){t||(t=!0,e.apply(null,arguments))};return n._hoekOnce=!0,n},n.isAbsolutePath=function(e,t){return e?i.isAbsolute?i.isAbsolute(e):(t=t||process.platform,\"win32\"!==t?\"/\"===e[0]:!!/^(?:[a-zA-Z]:[\\\\\\/])|(?:[\\\\\\/]{2}[^\\\\\\/]+[\\\\\\/]+[^\\\\\\/])/.test(e)):!1},n.isInteger=function(e){return\"number\"==typeof e&&parseFloat(e)===parseInt(e,10)&&!isNaN(e)},n.ignore=function(){},n.inherits=o.inherits,n.format=o.format,n.transform=function(e,t,r){if(n.assert(null===e||void 0===e||\"object\"==typeof e||Array.isArray(e),\"Invalid source object: must be null, undefined, an object, or an array\"),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)i.push(n.transform(e[o],t,r));return i}for(var s={},c=Object.keys(t),u=0,p=c.length;p>u;++u){var l=c[u],f=l.split(\".\"),d=t[l];n.assert(\"string\"==typeof d,'All mappings must be \".\" delineated strings');for(var h,m=s;f.length>1;)h=f.shift(),m[h]||(m[h]={}),m=m[h];h=f.shift(),m[h]=n.reach(e,d,r)}return s},n.uniqueFilename=function(e,t){t=t?\".\"!==t[0]?\".\"+t:t:\"\",e=i.resolve(e);var n=[Date.now(),process.pid,r.randomBytes(8).toString(\"hex\")].join(\"-\")+t;return i.join(e,n)},n.stringify=function(){try{return JSON.stringify.apply(null,arguments)}catch(e){return\"[Cannot display object: \"+e.message+\"]\"}},n.shallow=function(e){for(var t={},n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r];t[o]=e[o]}return t}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":148,buffer:void 0,crypto:void 0,path:void 0,util:void 0}],150:[function(e,t,n){function r(e,t){return function n(){if(!n.hookCalled){n.hookCalled=!0;var r=e.apply(t,arguments);r&&r.then&&r.then(function(){},function(){})}}}t.exports={hook:function(e,t,n){if(1!==arguments.length||\"object\"!=typeof e){var i=this.prototype||this,o=i._pres=i._pres||{},a=i._posts=i._posts||{};return o[e]=o[e]||[],a[e]=a[e]||[],i[e]=function(){var o,a=this,s=arguments[arguments.length-1],c=this._pres[e],u=this._posts[e],p=c.length,l=-1,f=i[e].numAsyncPres,d=function(e){return e?h(e):void(--f||v.apply(a,o))},h=function(e){if(\"function\"==typeof s)return s(e);if(n)return n.call(a,e);throw e},m=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,n=Array.prototype.slice.call(arguments);if(!n.length||null==arguments[0]&&\"function\"==typeof s||(o=n),++l<p){if(e=c[l],e.isAsync&&e.length<2)throw new Error(\"Your pre must have next and done arguments -- e.g., function (next, done, ...)\");if(e.length<1)throw new Error(\"Your pre must have a next argument -- e.g., function (next, ...)\");return t=(e.isAsync?[r(m),r(d)]:[r(m)]).concat(o),e.apply(a,t)}return f?void 0:v.apply(a,o)},v=function(){var e,n,i,c,f=Array.prototype.slice.call(arguments);return l===p?(c=function(){if(arguments[0]instanceof Error)return h(arguments[0]);var e,t,p=Array.prototype.slice.call(arguments,1);if(p.length&&(o=p),++i<n){if(e=u[i],e.length<1)throw new Error(\"Your post must have a next argument -- e.g., function (next, ...)\");return t=[r(c)].concat(o),e.apply(a,t)}return\"function\"==typeof s?s.apply(a,arguments):void 0},\"function\"==typeof s&&(f[f.length-1]=r(c)),n=u.length,i=-1,e=t.apply(a,f),n&&\"function\"!=typeof s?c():e):void 0};return m.apply(this,arguments)},i[e].numAsyncPres=0,this}for(var s in e)this.hook(s,e[s])},pre:function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1);var i=this.prototype||this,o=i._pres=i._pres||{};return this._lazySetupHooks(i,e,r),(n.isAsync=t)&&i[e].numAsyncPres++,(o[e]=o[e]||[]).push(n),this},post:function(e,t,n){2===arguments.length&&(n=t,t=!1);var r=this.prototype||this,i=r._posts=r._posts||{};return this._lazySetupHooks(r,e),(i[e]=i[e]||[]).push(n),this},removePre:function(e,t){var n=this.prototype||this,r=n._pres||n._pres||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},removePost:function(e,t){var n=this.prototype||this,r=n._posts||n._posts||{};return r[e]?(1===arguments.length?r[e].length=0:r[e]=r[e].filter(function(e){return e!==t}),this):this},_lazySetupHooks:function(e,t,n){\"undefined\"==typeof e[t].numAsyncPres&&this.hook(t,e[t],n)}}},{}],151:[function(e,t,n){function r(e){return e.split(\" \").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join(\"\").replace(/[^ _0-9a-z]/gi,\"\")}var i=e(\"statuses\"),o=e(\"inherits\");n=t.exports=function s(){for(var e,t,r=500,o={},a=0;a<arguments.length;a++){var c=arguments[a];if(c instanceof Error)e=c,r=e.status||e.statusCode||r;else switch(typeof c){case\"string\":t=c;break;case\"number\":r=c;break;case\"object\":o=c}}\"number\"==typeof r&&i[r]||(r=500);var u=n[r];e||(e=u?new u(t):new Error(t||i[r]),Error.captureStackTrace(e,s)),u&&e instanceof u||(e.expose=500>r,e.status=e.statusCode=r);for(var p in o)\"status\"!==p&&\"statusCode\"!==p&&(e[p]=o[p]);return e};var a=i.codes.filter(function(e){return e>=400});a.forEach(function(e){var t=r(i[e]),a=t.match(/Error$/)?t:t+\"Error\";if(e>=500){var s=function u(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,u),n.__proto__=u.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};return o(s,Error),s.prototype.status=s.prototype.statusCode=e,s.prototype.expose=!1,void(n[e]=n[t]=s)}var c=function p(t){var n=new Error(null!=t?t:i[e]);return Error.captureStackTrace(n,p),n.__proto__=p.prototype,Object.defineProperty(n,\"name\",{enumerable:!1,configurable:!0,value:a,writable:!0}),n};o(c,Error),c.prototype.status=c.prototype.statusCode=e,c.prototype.expose=!0,n[e]=n[t]=c}),n[\"I'mateapot\"]=n.ImATeapot},{inherits:157,statuses:455}],152:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./utils\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature,verifyHMAC:o.verifyHMAC}},{\"./parser\":153,\"./signer\":154,\"./utils\":155,\"./verify\":156}],153:[function(e,t,n){function r(e){l.call(this,e,r)}function i(e){l.call(this,e,i)}function o(e){l.call(this,e,o)}function a(e){l.call(this,e,a)}function s(e){l.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p=e(\"./utils\"),l=(p.HASH_ALGOS,p.PK_ALGOS,p.HttpSignatureError),f=p.InvalidAlgorithmError,d=p.validateAlgorithm,h={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,l),u.inherits(i,l),u.inherits(o,l),u.inherits(a,l),u.inherits(s,l),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new a(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,u=h.New,p=m.Name,l=\"\",v=\"\",g={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},y=e.headers.authorization;for(n=0;n<y.length;n++){var b=y.charAt(n);switch(Number(u)){case h.New:\" \"!==b?g.scheme+=b:u=h.Params;break;case h.Params:switch(Number(p)){case m.Name:var x=b.charCodeAt(0);if(x>=65&&90>=x||x>=97&&122>=x)l+=b;else{if(\"=\"!==b)throw new i(\"bad param format\");if(0===l.length)throw new i(\"bad param format\");p=m.Quote}break;case m.Quote:if('\"'!==b)throw new i(\"bad param format\");v=\"\",p=m.Value;break;case m.Value:'\"'===b?(g.params[l]=v,p=m.Comma):v+=b;break;case m.Comma:if(\",\"!==b)throw new i(\"bad param format\");l=\"\",p=m.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(g.params.headers&&\"\"!==g.params.headers?g.params.headers=g.params.headers.split(\" \"):e.headers[\"x-date\"]?g.params.headers=[\"x-date\"]:g.params.headers=[\"date\"],!g.scheme||\"Signature\"!==g.scheme)throw new i('scheme was not \"Signature\"');if(!g.params.keyId)throw new i(\"keyId was not specified\");if(!g.params.algorithm)throw new i(\"algorithm was not specified\");if(!g.params.signature)throw new i(\"signature was not specified\");g.params.algorithm=g.params.algorithm.toLowerCase();try{d(g.params.algorithm)}catch(w){throw w instanceof f?new o(g.params.algorithm+\" is not supported\"):w}for(n=0;n<g.params.headers.length;n++){var _=g.params.headers[n].toLowerCase();if(g.params.headers[n]=_,\"request-line\"===_){if(t.strict)throw new s(\"request-line is not a valid header with strict parsing enabled.\");g.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion}else if(\"(request-target)\"===_)g.signingString+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.url;else{var k=e.headers[_];if(void 0===k)throw new a(_+\" was not in the request\");g.signingString+=_+\": \"+k}n+1<g.params.headers.length&&(g.signingString+=\"\\n\")}var j;if(e.headers.date||e.headers[\"x-date\"]){j=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new r(\"clock skew of \"+E/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(g.params.headers.indexOf(e)<0)throw new a(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(g.params.algorithm))throw new o(g.params.algorithm+\" is not a supported algorithm\");return g}}},{\"./utils\":155,\"assert-plus\":10,util:void 0}],154:[function(e,t,n){(function(n){function r(e){v.call(this,e,r)}function i(e){v.call(this,e,i)}function o(e){a.object(e,\"options\");var t=[];if(void 0!==e.algorithm&&(a.string(e.algorithm,\"options.algorithm\"),t=g(e.algorithm)),this.rs_alg=t,void 0!==e.sign)a.func(e.sign,\"options.sign\"),this.rs_signFunc=e.sign;else if(\"hmac\"===t[0]&&void 0!==e.key){if(a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,\"string\"!=typeof e.key&&!n.isBuffer(e.key))throw new TypeError(\"options.key for HMAC must be a string or Buffer\");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest(\"base64\");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError(\"options.sign (func) or options.key is required\");var r=e.key;if((\"string\"==typeof r||n.isBuffer(r))&&(r=u.parsePrivateKey(r)),a.ok(u.PrivateKey.isPrivateKey(r,[1,2]),\"options.key must be a sshpk.PrivateKey\"),this.rs_key=r,a.string(e.keyId,\"options.keyId\"),this.rs_keyId=e.keyId,!h[r.type])throw new m(r.type.toUpperCase()+\" type keys are not supported\");if(void 0!==t[0]&&r.type!==t[0])throw new m(\"options.key must be a \"+t[0].toUpperCase()+\" key, was given a \"+r.type.toUpperCase()+\" key instead\");this.rs_signer=r.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var a=e(\"assert-plus\"),s=e(\"crypto\"),c=(e(\"http\"),e(\"util\")),u=e(\"sshpk\"),p=e(\"jsprim\"),l=e(\"./utils\"),f=e(\"util\").format,d=l.HASH_ALGOS,h=l.PK_ALGOS,m=l.InvalidAlgorithmError,v=l.HttpSignatureError,g=l.validateAlgorithm,y='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';c.inherits(r,v),c.inherits(i,v),o.prototype.writeHeader=function(e,t){if(a.string(e,\"header\"),e=e.toLowerCase(),a.string(t,\"value\"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+\": \"+t);else{var n=e+\": \"+t;this.rs_headers.length>0&&(n=\"\\n\"+n),this.rs_signer.update(n)}return t},o.prototype.writeDateHeader=function(){return this.writeHeader(\"date\",p.rfc1123(new Date))},o.prototype.writeTarget=function(e,t){a.string(e,\"method\"),a.string(t,\"path\"),e=e.toLowerCase(),this.writeHeader(\"(request-target)\",e+\" \"+t)},o.prototype.sign=function(e){if(a.func(e,\"callback\"),this.rs_headers.length<1)throw new Error(\"At least one header must be signed\");var t,n;if(this.rs_signFunc){var r=this.rs_lines.join(\"\\n\"),i=this;this.rs_signFunc(r,function(r,o){if(r)return void e(r);try{a.object(o,\"signature\"),a.string(o.keyId,\"signature.keyId\"),a.string(o.algorithm,\"signature.algorithm\"),a.string(o.signature,\"signature.signature\"),t=g(o.algorithm),n=f(y,o.keyId,o.algorithm,i.rs_headers.join(\" \"),o.signature)}catch(s){return void e(s)}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(s){return void e(s)}t=(this.rs_alg[0]||this.rs_key.type)+\"-\"+o.hashAlgorithm;var c=o.toString();n=f(y,this.rs_keyId,t,this.rs_headers.join(\" \"),c),e(null,n)}},t.exports={isSigner:function(e){return\"object\"==typeof e&&e instanceof o},createSigner:function(e){return new o(e)},signRequest:function(e,t){a.object(e,\"request\"),a.object(t,\"options\"),a.optionalString(t.algorithm,\"options.algorithm\"),a.string(t.keyId,\"options.keyId\"),a.optionalArrayOfString(t.headers,\"options.headers\"),a.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",p.rfc1123(new Date)),t.headers||(t.headers=[\"date\"]),t.httpVersion||(t.httpVersion=\"1.1\");var o=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),o=g(t.algorithm));var c,l=\"\";for(c=0;c<t.headers.length;c++){if(\"string\"!=typeof t.headers[c])throw new TypeError(\"options.headers must be an array of Strings\");var v=t.headers[c].toLowerCase();if(\"request-line\"===v){if(t.strict)throw new i(\"request-line is not a valid header with strict parsing enabled.\");l+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion}else if(\"(request-target)\"===v)l+=\"(request-target): \"+e.method.toLowerCase()+\" \"+e.path;else{var b=e.getHeader(v);if(void 0===b||\"\"===b)throw new r(v+\" was not in the request\");l+=v+\": \"+b}c+1<t.headers.length&&(l+=\"\\n\")}e.hasOwnProperty(\"_stringToSign\")&&(e._stringToSign=l);var x;if(\"hmac\"===o[0]){if(\"string\"!=typeof t.key&&!n.isBuffer(t.key))throw new TypeError(\"options.key must be a string or Buffer\");var w=s.createHmac(o[1].toUpperCase(),t.key);w.update(l),x=w.digest(\"base64\")}else{var _=t.key;if((\"string\"==typeof _||n.isBuffer(_))&&(_=u.parsePrivateKey(t.key)),a.ok(u.PrivateKey.isPrivateKey(_,[1,2]),\"options.key must be a sshpk.PrivateKey\"),!h[_.type])throw new m(_.type.toUpperCase()+\" type keys are not supported\");if(void 0!==o[0]&&_.type!==o[0])throw new m(\"options.key must be a \"+o[0].toUpperCase()+\" key, was given a \"+_.type.toUpperCase()+\" key instead\");var k=_.createSign(o[1]);k.update(l);var j=k.sign();if(!d[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+\" is not a supported hash algorithm\");t.algorithm=_.type+\"-\"+j.hashAlgorithm,x=j.toString(),a.notStrictEqual(x,\"\",\"empty signature produced\")}return e.setHeader(\"Authorization\",f(y,t.keyId,t.algorithm,t.headers.join(\" \"),x)),!0}}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./utils\":155,\"assert-plus\":10,crypto:void 0,http:void 0,jsprim:175,sshpk:448,util:void 0}],155:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){var t=e.toLowerCase().split(\"-\");if(2!==t.length)throw new i(t[0].toUpperCase()+\" is not a valid algorithm\");if(\"hmac\"!==t[0]&&!p[t[0]])throw new i(t[0].toUpperCase()+\" type keys are not supported\");if(!u[t[1]])throw new i(t[1].toUpperCase()+\" is not a supported hash algorithm\");return t}var a=e(\"assert-plus\"),s=e(\"sshpk\"),c=e(\"util\"),u={sha1:!0,sha256:!0,sha512:!0},p={rsa:!0,dsa:!0,ecdsa:!0};c.inherits(r,Error),c.inherits(i,r),t.exports={HASH_ALGOS:u,PK_ALGOS:p,HttpSignatureError:r,InvalidAlgorithmError:i,validateAlgorithm:o,sshKeyToPEM:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.toString(\"pem\")},fingerprint:function(e){a.string(e,\"ssh_key\");var t=s.parseKey(e,\"ssh\");return t.fingerprint(\"md5\").toString(\"hex\")},pemToRsaSSHKey:function(e,t){a.equal(\"string\",typeof e,\"typeof pem\");var n=s.parseKey(e,\"pem\");return n.comment=t,n.toString(\"ssh\")}}},{\"assert-plus\":10,sshpk:448,util:void 0}],156:[function(e,t,n){(function(n){var r=e(\"assert-plus\"),i=e(\"crypto\"),o=e(\"sshpk\"),a=e(\"./utils\"),s=(a.HASH_ALGOS,a.PK_ALGOS,a.InvalidAlgorithmError,a.HttpSignatureError,a.validateAlgorithm);t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),(\"string\"==typeof t||n.isBuffer(t))&&(t=o.parseKey(t)),r.ok(o.Key.isKey(t,[1,1]),\"pubkey must be a sshpk.Key\");var i=s(e.algorithm);if(\"hmac\"===i[0]||i[0]!==t.type)return!1;var a=t.createVerify(i[1]);return a.update(e.signingString),a.verify(e.params.signature,\"base64\")},verifyHMAC:function(e,t){r.object(e,\"parsedHMAC\"),r.string(t,\"secret\");var o=s(e.algorithm);if(\"hmac\"!==o[0])return!1;var a=o[1].toUpperCase(),c=i.createHmac(a,t);c.update(e.signingString);var u=i.createHmac(a,t);u.update(c.digest()),u=u.digest();var p=i.createHmac(a,t);return p.update(new n(e.params.signature,\"base64\")),p=p.digest(),\"string\"==typeof u?u===p:n.isBuffer(u)&&!u.equals?u.toString(\"binary\")===p.toString(\"binary\"):u.equals(p)}}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":155,\"assert-plus\":10,buffer:void 0,crypto:void 0,sshpk:448}],157:[function(e,t,n){t.exports=e(\"util\").inherits},{util:void 0}],158:[function(e,t,n){(function(){var e,n,r,i,o,a,s,c;n={},c=this,\"undefined\"!=typeof t&&null!==t&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,o;if(e.length!==t.length)throw new Error(\"ipaddr: cannot match CIDR for objects with different lengths\");for(i=0;r>0;){if(o=n-r,0>o&&(o=0),e[i]>>o!==t[i]>>o)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,o,a,s;null==n&&(n=\"unicast\");for(r in t)for(i=t[r],!i[0]||i[0]instanceof Array||(i=[i]),a=0,s=i.length;s>a;a++)if(o=i[a],e.match.apply(e,o))return r;return n},n.IPv4=function(){function e(e){var t,n,r;if(4!==e.length)throw new Error(\"ipaddr: ipv4 octet count should be 4\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&255>=t))throw new Error(\"ipaddr: ipv4 octet is a byte\");this.octets=e}return e.prototype.kind=function(){return\"ipv4\"},e.prototype.toString=function(){return this.octets.join(\".\")},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv4\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv4 address with non-ipv4 one\");return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],\"private\":[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(\"::ffff:\"+this.toString())},e}(),r=\"(0?\\\\d+|0x[a-f0-9]+)\",i={fourOctet:new RegExp(\"^\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\",\"i\"),longValue:new RegExp(\"^\"+r+\"$\",\"i\")},n.IPv4.parser=function(e){var t,n,r,o,a;if(n=function(e){return\"0\"===e[0]&&\"x\"!==e[1]?parseInt(e,8):parseInt(e)},t=e.match(i.fourOctet))return function(){var e,i,o,a;for(o=t.slice(1,6),a=[],e=0,i=o.length;i>e;e++)r=o[e],a.push(n(r));return a}();if(t=e.match(i.longValue)){if(a=n(t[1]),a>4294967295||0>a)throw new Error(\"ipaddr: address outside defined range\");return function(){var e,t;for(t=[],o=e=0;24>=e;o=e+=8)t.push(a>>o&255);return t}().reverse()}return null},n.IPv6=function(){function e(e){var t,n,r;if(8!==e.length)throw new Error(\"ipaddr: ipv6 part count should be 8\");for(n=0,r=e.length;r>n;n++)if(t=e[n],!(t>=0&&65535>=t))throw new Error(\"ipaddr: ipv6 part should fit to two octets\");this.parts=e}return e.prototype.kind=function(){return\"ipv6\"},e.prototype.toString=function(){var e,t,n,r,i,o,a;for(i=function(){var e,n,r,i;for(r=this.parts,i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push(t.toString(16));return i}.call(this),e=[],n=function(t){return e.push(t)},r=0,o=0,a=i.length;a>o;o++)switch(t=i[o],r){case 0:n(\"0\"===t?\"\":t),r=1;break;case 1:\"0\"===t?r=2:n(t);break;case 2:\"0\"!==t&&(n(\"\"),n(t),r=3);break;case 3:n(t)}return 2===r&&(n(\"\"),n(\"\")),e.join(\":\")},e.prototype.toByteArray=function(){var e,t,n,r,i;for(e=[],i=this.parts,n=0,r=i.length;r>n;n++)t=i[n],e.push(t>>8),e.push(255&t);return e},e.prototype.toNormalizedString=function(){var e;return function(){var t,n,r,i;for(r=this.parts,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(e.toString(16));return i}.call(this).join(\":\")},e.prototype.match=function(e,t){var n;if(void 0===t&&(n=e,e=n[0],t=n[1]),\"ipv6\"!==e.kind())throw new Error(\"ipaddr: cannot match ipv6 address with non-ipv6 one\");return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],\"6to4\":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return\"ipv4Mapped\"===this.range()},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw new Error(\"ipaddr: trying to convert a generic ipv6 address to ipv4\");return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,255&e,t>>8,255&t])},e}(),o=\"(?:[0-9a-f]+::?)+\",a={\"native\":new RegExp(\"^(::)?(\"+o+\")?([0-9a-f]+)?(::)?$\",\"i\"),transitional:new RegExp(\"^((?:\"+o+\")|(?:::)(?:\"+o+\")?)\"+(\"\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"\\\\.\"+r+\"$\"),\"i\")},e=function(e,t){var n,r,i,o,a;if(e.indexOf(\"::\")!==e.lastIndexOf(\"::\"))return null;for(n=0,r=-1;(r=e.indexOf(\":\",r+1))>=0;)n++;if(\"::\"===e.substr(0,2)&&n--,\"::\"===e.substr(-2,2)&&n--,n>t)return null;for(a=t-n,o=\":\";a--;)o+=\"0:\";return e=e.replace(\"::\",o),\":\"===e[0]&&(e=e.slice(1)),\":\"===e[e.length-1]&&(e=e.slice(0,-1)),function(){var t,n,r,o;for(r=e.split(\":\"),o=[],t=0,n=r.length;n>t;t++)i=r[t],o.push(parseInt(i,16));return o}()},n.IPv6.parser=function(t){var n,r;return t.match(a[\"native\"])?e(t,8):(n=t.match(a.transitional))&&(r=e(n[1].slice(0,-1),6))?(r.push(parseInt(n[2])<<8|parseInt(n[3])),r.push(parseInt(n[4])<<8|parseInt(n[5])),r):null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return null!==this.parser(e)},n.IPv4.isValid=function(e){var t;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv6.isValid=function(e){var t;if(\"string\"==typeof e&&-1===e.indexOf(\":\"))return!1;try{return new this(this.parser(e)),!0}catch(n){return t=n,!1}},n.IPv4.parse=n.IPv6.parse=function(e){var t;if(t=this.parser(e),null===t)throw new Error(\"ipaddr: string is not formatted like ip address\");return new this(t)},n.IPv4.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&32>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv4 CIDR range\")},n.IPv6.parseCIDR=function(e){var t,n;if((n=e.match(/^(.+)\\/(\\d+)$/))&&(t=parseInt(n[2]),t>=0&&128>=t))return[this.parse(n[1]),t];throw new Error(\"ipaddr: string is not formatted like an IPv6 CIDR range\")},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw new Error(\"ipaddr: the address has neither IPv6 nor IPv4 format\")},n.parseCIDR=function(e){var t;try{return n.IPv6.parseCIDR(e)}catch(r){t=r;try{return n.IPv4.parseCIDR(e)}catch(r){throw t=r,new Error(\"ipaddr: the address has neither IPv6 nor IPv4 CIDR format\")}}},n.process=function(e){var t;return t=this.parse(e),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(this)},{}],159:[function(e,t,n){n[\"date-time\"]=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}[tT ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/,n.date=/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,n.time=/^\\d{2}:\\d{2}:\\d{2}$/,n.email=/^\\S+@\\S+$/,n[\"ip-address\"]=n.ipv4=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,n.ipv6=/^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/,n.uri=/^[a-zA-Z][a-zA-Z0-9+-.]*:[^\\s]*$/,n.color=/(#?([0-9A-Fa-f]{3,6})\\b)|(aqua)|(black)|(blue)|(fuchsia)|(gray)|(green)|(lime)|(maroon)|(navy)|(olive)|(orange)|(purple)|(red)|(silver)|(teal)|(white)|(yellow)|(rgb\\(\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*,\\s*\\b([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\b\\s*\\))|(rgb\\(\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*,\\s*(\\d?\\d%|100%)+\\s*\\))/,n.hostname=/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9])(\\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]{0,61}[a-zA-Z0-9]))*$/,n.alpha=/^[a-zA-Z]+$/,n.alphanumeric=/^[a-zA-Z0-9]+$/,n.style=/\\s*(.+?):\\s*([^;]+);?/g,n.phone=/^\\+(?:[0-9] ?){6,14}[0-9]$/,n[\"utc-millisec\"]=/^[0-9]{1,15}\\.?[0-9]{0,15}$/},{}],160:[function(e,t,n){var r=e(\"generate-object-property\"),i=e(\"generate-function\"),o=e(\"jsonpointer\"),a=e(\"xtend\"),s=e(\"./formats\"),c=function(e,t,n){var r=function(e){return e&&e.id===n?e:\"object\"==typeof e&&e?Object.keys(e).reduce(function(t,n){return t||r(e[n])},null):null},i=r(e);if(i)return i;n=n.replace(/^#/,\"\"),n=n.replace(/\\/$/,\"\");try{return o.get(e,decodeURI(n))}catch(a){var s,c=n.indexOf(\"#\");\nif(0!==c)if(-1===c)s=t[n];else{var u=n.slice(0,c);s=t[u];var p=n.slice(c).replace(/^#/,\"\");try{return o.get(s,p)}catch(a){}}else s=t[n];return s||null}},u=function(e){e=JSON.stringify(e);for(var t=/\\[([^\\[\\]\"]+)\\]/;t.test(e);)e=e.replace(t,'.\"+$1+\"');return e},p={};p.any=function(){return\"true\"},p[\"null\"]=function(e){return e+\" === null\"},p[\"boolean\"]=function(e){return\"typeof \"+e+' === \"boolean\"'},p.array=function(e){return\"Array.isArray(\"+e+\")\"},p.object=function(e){return\"typeof \"+e+' === \"object\" && '+e+\" && !Array.isArray(\"+e+\")\"},p.number=function(e){return\"typeof \"+e+' === \"number\"'},p.integer=function(e){return\"typeof \"+e+' === \"number\" && (Math.floor('+e+\") === \"+e+\" || \"+e+\" > 9007199254740992 || \"+e+\" < -9007199254740992)\"},p.string=function(e){return\"typeof \"+e+' === \"string\"'};var l=function(e){for(var t=[],n=0;n<e.length;n++)t.push(\"object\"==typeof e[n]?JSON.stringify(e[n]):e[n]);for(var n=1;n<t.length;n++)if(t.indexOf(t[n])!==n)return!1;return!0},f=function(e,t){var n,r=(0|t)!==t?Math.pow(10,t.toString().split(\".\").pop().length):1;if(r>1){var i=(0|e)!==e?Math.pow(10,e.toString().split(\".\").pop().length):1;n=i>r?!0:Math.round(r*e)%(r*t)}else n=e%t;return!n},d=function(e,t,n,o,h){var m=h?a(s,h.formats):s,v={unique:l,formats:m,isMultipleOf:f},g=h?!!h.verbose:!1,y=h&&void 0!==h.greedy?h.greedy:!1,b={},x=function(e){return e+(b[e]=(b[e]||0)+1)},w={},_=function(e){if(w[e])return w[e];var t=x(\"pattern\");return v[t]=new RegExp(e),w[e]=t,t},k=[\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"x\",\"y\",\"z\"],j=function(){var e=k.shift();return k.push(e+e[0]),e},S=function(e,i,o,a){var l=i.properties,f=i.type,b=!1;Array.isArray(i.items)&&(l={},i.items.forEach(function(e,t){l[t]=e}),f=\"array\",b=!0);var w=0,k=function(t,n,r){E(\"errors++\"),o===!0&&(E(\"if (validate.errors === null) validate.errors = []\"),g?E(\"validate.errors.push({field:%s,message:%s,value:%s,type:%s})\",u(n||e),JSON.stringify(t),r||e,JSON.stringify(f)):E(\"validate.errors.push({field:%s,message:%s})\",u(n||e),JSON.stringify(t)))};i.required===!0?(w++,E(\"if (%s === undefined) {\",e),k(\"is required\"),E(\"} else {\")):(w++,E(\"if (%s !== undefined) {\",e));var O=[].concat(f).map(function(t){return p[t||\"any\"](e)}).join(\" || \")||\"true\";if(\"true\"!==O&&(w++,E(\"if (!(%s)) {\",O),k(\"is the wrong type\"),E(\"} else {\")),b)if(i.additionalItems===!1)E(\"if (%s.length > %d) {\",e,i.items.length),k(\"has additional items\"),E(\"}\");else if(i.additionalItems){var A=j();E(\"for (var %s = %d; %s < %s.length; %s++) {\",A,i.items.length,A,e,A),S(e+\"[\"+A+\"]\",i.additionalItems,o,a),E(\"}\")}if(i.format&&m[i.format]){\"string\"!==f&&s[i.format]&&E(\"if (%s) {\",p.string(e));var C=x(\"format\");v[C]=m[i.format],\"function\"==typeof v[C]?E(\"if (!%s(%s)) {\",C,e):E(\"if (!%s.test(%s)) {\",C,e),k(\"must be \"+i.format+\" format\"),E(\"}\"),\"string\"!==f&&s[i.format]&&E(\"}\")}if(Array.isArray(i.required)){var T=function(t){var n=r(e,t);E(\"if (%s === undefined) {\",n),k(\"is required\",n),E(\"missing++\"),E(\"}\")};E(\"if ((%s)) {\",\"object\"!==f?p.object(e):\"true\"),E(\"var missing = 0\"),i.required.map(T),E(\"}\"),y||(E(\"if (missing === 0) {\"),w++)}if(i.uniqueItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (!(unique(%s))) {\",e),k(\"must be unique\"),E(\"}\"),\"array\"!==f&&E(\"}\")),i[\"enum\"]){var I=i[\"enum\"].some(function(e){return\"object\"==typeof e}),P=I?function(t){return\"JSON.stringify(\"+e+\") !== JSON.stringify(\"+JSON.stringify(t)+\")\"}:function(t){return e+\" !== \"+JSON.stringify(t)};E(\"if (%s) {\",i[\"enum\"].map(P).join(\" && \")||\"false\"),k(\"must be an enum value\"),E(\"}\")}if(i.dependencies&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),Object.keys(i.dependencies).forEach(function(t){var n=i.dependencies[t];\"string\"==typeof n&&(n=[n]);var s=function(t){return r(e,t)+\" !== undefined\"};Array.isArray(n)&&(E(\"if (%s !== undefined && !(%s)) {\",r(e,t),n.map(s).join(\" && \")||\"true\"),k(\"dependencies not set\"),E(\"}\")),\"object\"==typeof n&&(E(\"if (%s !== undefined) {\",r(e,t)),S(e,n,o,a),E(\"}\"))}),\"object\"!==f&&E(\"}\")),i.additionalProperties||i.additionalProperties===!1){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var A=j(),F=x(\"keys\"),M=function(e){return F+\"[\"+A+\"] !== \"+JSON.stringify(e)},z=function(e){return\"!\"+_(e)+\".test(\"+F+\"[\"+A+\"])\"},B=Object.keys(l||{}).map(M).concat(Object.keys(i.patternProperties||{}).map(z)).join(\" && \")||\"true\";E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A)(\"if (%s) {\",B),i.additionalProperties===!1?(a&&E(\"delete %s\",e+\"[\"+F+\"[\"+A+\"]]\"),k(\"has additional properties\",null,JSON.stringify(e+\".\")+\" + \"+F+\"[\"+A+\"]\")):S(e+\"[\"+F+\"[\"+A+\"]]\",i.additionalProperties,o,a),E(\"}\")(\"}\"),\"object\"!==f&&E(\"}\")}if(i.$ref){var N=c(n,h&&h.schemas||{},i.$ref);if(N){var D=t[i.$ref];D||(t[i.$ref]=function(e){return D(e)},D=d(N,t,n,!1,h));var C=x(\"ref\");v[C]=D,E(\"if (!(%s(%s))) {\",C,e),k(\"referenced schema does not match\"),E(\"}\")}}if(i.not){var q=x(\"prev\");E(\"var %s = errors\",q),S(e,i.not,!1,a),E(\"if (%s === errors) {\",q),k(\"negative schema matches\"),E(\"} else {\")(\"errors = %s\",q)(\"}\")}if(i.items&&!b){\"array\"!==f&&E(\"if (%s) {\",p.array(e));var A=j();E(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,e,A),S(e+\"[\"+A+\"]\",i.items,o,a),E(\"}\"),\"array\"!==f&&E(\"}\")}if(i.patternProperties){\"object\"!==f&&E(\"if (%s) {\",p.object(e));var F=x(\"keys\"),A=j();E(\"var %s = Object.keys(%s)\",F,e)(\"for (var %s = 0; %s < %s.length; %s++) {\",A,A,F,A),Object.keys(i.patternProperties).forEach(function(t){var n=_(t);E(\"if (%s.test(%s)) {\",n,F+\"[\"+A+\"]\"),S(e+\"[\"+F+\"[\"+A+\"]]\",i.patternProperties[t],o,a),E(\"}\")}),E(\"}\"),\"object\"!==f&&E(\"}\")}if(i.pattern){var R=_(i.pattern);\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (!(%s.test(%s))) {\",R,e),k(\"pattern mismatch\"),E(\"}\"),\"string\"!==f&&E(\"}\")}if(i.allOf&&i.allOf.forEach(function(t){S(e,t,o,a)}),i.anyOf&&i.anyOf.length){var q=x(\"prev\");i.anyOf.forEach(function(t,n){0===n?E(\"var %s = errors\",q):E(\"if (errors !== %s) {\",q)(\"errors = %s\",q),S(e,t,!1,!1)}),i.anyOf.forEach(function(e,t){t&&E(\"}\")}),E(\"if (%s !== errors) {\",q),k(\"no schemas match\"),E(\"}\")}if(i.oneOf&&i.oneOf.length){var q=x(\"prev\"),L=x(\"passes\");E(\"var %s = errors\",q)(\"var %s = 0\",L),i.oneOf.forEach(function(t,n){S(e,t,!1,!1),E(\"if (%s === errors) {\",q)(\"%s++\",L)(\"} else {\")(\"errors = %s\",q)(\"}\")}),E(\"if (%s !== 1) {\",L),k(\"no (or more than one) schemas match\"),E(\"}\")}for(void 0!==i.multipleOf&&(\"number\"!==f&&\"integer\"!==f&&E(\"if (%s) {\",p.number(e)),E(\"if (!isMultipleOf(%s, %d)) {\",e,i.multipleOf),k(\"has a remainder\"),E(\"}\"),\"number\"!==f&&\"integer\"!==f&&E(\"}\")),void 0!==i.maxProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length > %d) {\",e,i.maxProperties),k(\"has more properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.minProperties&&(\"object\"!==f&&E(\"if (%s) {\",p.object(e)),E(\"if (Object.keys(%s).length < %d) {\",e,i.minProperties),k(\"has less properties than allowed\"),E(\"}\"),\"object\"!==f&&E(\"}\")),void 0!==i.maxItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length > %d) {\",e,i.maxItems),k(\"has more items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.minItems&&(\"array\"!==f&&E(\"if (%s) {\",p.array(e)),E(\"if (%s.length < %d) {\",e,i.minItems),k(\"has less items than allowed\"),E(\"}\"),\"array\"!==f&&E(\"}\")),void 0!==i.maxLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length > %d) {\",e,i.maxLength),k(\"has longer length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minLength&&(\"string\"!==f&&E(\"if (%s) {\",p.string(e)),E(\"if (%s.length < %d) {\",e,i.minLength),k(\"has less length than allowed\"),E(\"}\"),\"string\"!==f&&E(\"}\")),void 0!==i.minimum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMinimum?\"<=\":\"<\",i.minimum),k(\"is less than minimum\"),E(\"}\")),void 0!==i.maximum&&(E(\"if (%s %s %d) {\",e,i.exclusiveMaximum?\">=\":\">\",i.maximum),k(\"is more than maximum\"),E(\"}\")),l&&Object.keys(l).forEach(function(t){Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"if (%s !== null) {\",e),S(r(e,t),l[t],o,a),Array.isArray(f)&&-1!==f.indexOf(\"null\")&&E(\"}\")});w--;)E(\"}\")},E=i(\"function validate(data) {\")(\"validate.errors = null\")(\"var errors = 0\");return S(\"data\",e,o,h&&h.filter),E(\"return errors === 0\")(\"}\"),E=E.toFunction(v),E.errors=null,Object.defineProperty&&Object.defineProperty(E,\"error\",{get:function(){return E.errors?E.errors.map(function(e){return e.field+\" \"+e.message}).join(\"\\n\"):\"\"}}),E.toJSON=function(){return e},E};t.exports=function(e,t){return\"string\"==typeof e&&(e=JSON.parse(e)),d(e,{},e,!0,t)},t.exports.filter=function(e,n){var r=t.exports(e,a(n,{filter:!0}));return function(e){return r(e),e}}},{\"./formats\":159,\"generate-function\":121,\"generate-object-property\":122,jsonpointer:174,xtend:534}],161:[function(e,t,n){\"use strict\";function r(e){return/^[$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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][$A-Z\\_a-z\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\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\\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-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\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\\u0d60\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\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\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\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\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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-\\uffdc0-9\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19b0-\\u19c0\\u19c8\\u19c9\\u19d0-\\u19d9\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1dc0-\\u1de6\\u1dfc-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]*$/.test(e)}t.exports=r},{}],162:[function(e,t,n){function r(e){return i(e)||o(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function o(e){return s[a.call(e)]}t.exports=r,r.strict=i,r.loose=o;var a=Object.prototype.toString,s={\"[object Int8Array]\":!0,\"[object Int16Array]\":!0,\"[object Int32Array]\":!0,\"[object Uint8Array]\":!0,\"[object Uint8ClampedArray]\":!0,\"[object Uint16Array]\":!0,\"[object Uint32Array]\":!0,\"[object Float32Array]\":!0,\"[object Float64Array]\":!0}},{}],163:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==r.call(e)}},{}],164:[function(e,t,n){function r(e){return e instanceof s.Stream}function i(e){return r(e)&&\"function\"==typeof e._read&&\"object\"==typeof e._readableState}function o(e){return r(e)&&\"function\"==typeof e._write&&\"object\"==typeof e._writableState}function a(e){return i(e)&&o(e)}var s=e(\"stream\");t.exports=r,t.exports.isReadable=i,t.exports.isWritable=o,t.exports.isDuplex=a},{stream:void 0}],165:[function(e,t,n){\"use strict\";var r=e(\"./lib/dh\"),i=e(\"./lib/eddsa\"),o=e(\"./lib/curve255\"),a=e(\"./lib/utils\"),s={};s.VERSION=\"0.7.1\",s.dh=r,s.eddsa=i,s.curve255=o,s.utils=a,t.exports=s},{\"./lib/curve255\":167,\"./lib/dh\":168,\"./lib/eddsa\":169,\"./lib/utils\":170}],166:[function(e,t,n){\"use strict\";function r(e,t,n){var r=t>>4,i=e[r];i+=(1<<(15&t))*n,e[r]=i}function i(e,t){return e[t>>4]>>(15&t)&1}function o(){return[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function a(){return[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function s(){return[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}function c(e,t){var n,r,i,o=0;for(n=15;n>=0;n--){var a=e[n],s=t[n];o+=(a-s)*(1-o*o),i=o>>31,r=o+i^i,o=~~((o<<1)/(r+1))}return o}function u(e,t){var n,r=[];return r[0]=65535&(n=e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+e[15]+t[15],r}function p(e,t){var n,r=[];return r[0]=65535&(n=524288+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)-8+e[15]-t[15],r}function l(e,t,n,r,i,o,a,s){var c,u=[];return u[0]=65535&(c=s*s),u[1]=65535&(c=(0|c/65536)+2*s*a),u[2]=65535&(c=(0|c/65536)+2*s*o+a*a),u[3]=65535&(c=(0|c/65536)+2*s*i+2*a*o),u[4]=65535&(c=(0|c/65536)+2*s*r+2*a*i+o*o),u[5]=65535&(c=(0|c/65536)+2*s*n+2*a*r+2*o*i),u[6]=65535&(c=(0|c/65536)+2*s*t+2*a*n+2*o*r+i*i),u[7]=65535&(c=(0|c/65536)+2*s*e+2*a*t+2*o*n+2*i*r),u[8]=65535&(c=(0|c/65536)+2*a*e+2*o*t+2*i*n+r*r),u[9]=65535&(c=(0|c/65536)+2*o*e+2*i*t+2*r*n),u[10]=65535&(c=(0|c/65536)+2*i*e+2*r*t+n*n),u[11]=65535&(c=(0|c/65536)+2*r*e+2*n*t),u[12]=65535&(c=(0|c/65536)+2*n*e+t*t),u[13]=65535&(c=(0|c/65536)+2*t*e),u[14]=65535&(c=(0|c/65536)+e*e),u[15]=0|c/65536,u}function f(e){var t,n=l(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8]),r=l(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0]),i=l(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0]),o=[];return o[0]=65535&(t=8388608+r[0]+38*(i[8]-n[8]-r[8]+n[0]-128)),o[1]=65535&(t=8388480+(t>>>16)+r[1]+38*(i[9]-n[9]-r[9]+n[1])),o[2]=65535&(t=8388480+(t>>>16)+r[2]+38*(i[10]-n[10]-r[10]+n[2])),o[3]=65535&(t=8388480+(t>>>16)+r[3]+38*(i[11]-n[11]-r[11]+n[3])),o[4]=65535&(t=8388480+(t>>>16)+r[4]+38*(i[12]-n[12]-r[12]+n[4])),o[5]=65535&(t=8388480+(t>>>16)+r[5]+38*(i[13]-n[13]-r[13]+n[5])),o[6]=65535&(t=8388480+(t>>>16)+r[6]+38*(i[14]-n[14]-r[14]+n[6])),o[7]=65535&(t=8388480+(t>>>16)+r[7]+38*(i[15]-n[15]-r[15]+n[7])),o[8]=65535&(t=8388480+(t>>>16)+r[8]+i[0]-n[0]-r[0]+38*n[8]),o[9]=65535&(t=8388480+(t>>>16)+r[9]+i[1]-n[1]-r[1]+38*n[9]),o[10]=65535&(t=8388480+(t>>>16)+r[10]+i[2]-n[2]-r[2]+38*n[10]),o[11]=65535&(t=8388480+(t>>>16)+r[11]+i[3]-n[3]-r[3]+38*n[11]),o[12]=65535&(t=8388480+(t>>>16)+r[12]+i[4]-n[4]-r[4]+38*n[12]),o[13]=65535&(t=8388480+(t>>>16)+r[13]+i[5]-n[5]-r[5]+38*n[13]),o[14]=65535&(t=8388480+(t>>>16)+r[14]+i[6]-n[6]-r[6]+38*n[14]),o[15]=8388480+(t>>>16)+r[15]+i[7]-n[7]-r[7]+38*n[15],m(o),o}function d(e,t,n,r,i,o,a,s,c,u,p,l,f,d,h,m){var v,g=[];return g[0]=65535&(v=s*m),g[1]=65535&(v=(0|v/65536)+s*h+a*m),g[2]=65535&(v=(0|v/65536)+s*d+a*h+o*m),g[3]=65535&(v=(0|v/65536)+s*f+a*d+o*h+i*m),g[4]=65535&(v=(0|v/65536)+s*l+a*f+o*d+i*h+r*m),g[5]=65535&(v=(0|v/65536)+s*p+a*l+o*f+i*d+r*h+n*m),g[6]=65535&(v=(0|v/65536)+s*u+a*p+o*l+i*f+r*d+n*h+t*m),g[7]=65535&(v=(0|v/65536)+s*c+a*u+o*p+i*l+r*f+n*d+t*h+e*m),g[8]=65535&(v=(0|v/65536)+a*c+o*u+i*p+r*l+n*f+t*d+e*h),g[9]=65535&(v=(0|v/65536)+o*c+i*u+r*p+n*l+t*f+e*d),g[10]=65535&(v=(0|v/65536)+i*c+r*u+n*p+t*l+e*f),g[11]=65535&(v=(0|v/65536)+r*c+n*u+t*p+e*l),g[12]=65535&(v=(0|v/65536)+n*c+t*u+e*p),g[13]=65535&(v=(0|v/65536)+t*c+e*u),g[14]=65535&(v=(0|v/65536)+e*c),g[15]=0|v/65536,g}function h(e,t){var n,r=d(e[15],e[14],e[13],e[12],e[11],e[10],e[9],e[8],t[15],t[14],t[13],t[12],t[11],t[10],t[9],t[8]),i=d(e[7],e[6],e[5],e[4],e[3],e[2],e[1],e[0],t[7],t[6],t[5],t[4],t[3],t[2],t[1],t[0]),o=d(e[15]+e[7],e[14]+e[6],e[13]+e[5],e[12]+e[4],e[11]+e[3],e[10]+e[2],e[9]+e[1],e[8]+e[0],t[15]+t[7],t[14]+t[6],t[13]+t[5],t[12]+t[4],t[11]+t[3],t[10]+t[2],t[9]+t[1],t[8]+t[0]),a=[];return a[0]=65535&(n=8388608+i[0]+38*(o[8]-r[8]-i[8]+r[0]-128)),a[1]=65535&(n=8388480+(n>>>16)+i[1]+38*(o[9]-r[9]-i[9]+r[1])),a[2]=65535&(n=8388480+(n>>>16)+i[2]+38*(o[10]-r[10]-i[10]+r[2])),a[3]=65535&(n=8388480+(n>>>16)+i[3]+38*(o[11]-r[11]-i[11]+r[3])),a[4]=65535&(n=8388480+(n>>>16)+i[4]+38*(o[12]-r[12]-i[12]+r[4])),a[5]=65535&(n=8388480+(n>>>16)+i[5]+38*(o[13]-r[13]-i[13]+r[5])),a[6]=65535&(n=8388480+(n>>>16)+i[6]+38*(o[14]-r[14]-i[14]+r[6])),a[7]=65535&(n=8388480+(n>>>16)+i[7]+38*(o[15]-r[15]-i[15]+r[7])),a[8]=65535&(n=8388480+(n>>>16)+i[8]+o[0]-r[0]-i[0]+38*r[8]),a[9]=65535&(n=8388480+(n>>>16)+i[9]+o[1]-r[1]-i[1]+38*r[9]),a[10]=65535&(n=8388480+(n>>>16)+i[10]+o[2]-r[2]-i[2]+38*r[10]),a[11]=65535&(n=8388480+(n>>>16)+i[11]+o[3]-r[3]-i[3]+38*r[11]),a[12]=65535&(n=8388480+(n>>>16)+i[12]+o[4]-r[4]-i[4]+38*r[12]),a[13]=65535&(n=8388480+(n>>>16)+i[13]+o[5]-r[5]-i[5]+38*r[13]),a[14]=65535&(n=8388480+(n>>>16)+i[14]+o[6]-r[6]-i[6]+38*r[14]),a[15]=8388480+(n>>>16)+i[15]+o[7]-r[7]-i[7]+38*r[15],m(a),a}function m(e){var t=e.slice(0),n=[e,t],r=e[15],i=n[32768>r&1];i[15]=32767&r,r=19*(0|r/32768),i[0]=65535&(r+=i[0]),r>>>=16,i[1]=65535&(r+=i[1]),r>>>=16,i[2]=65535&(r+=i[2]),r>>>=16,i[3]=65535&(r+=i[3]),r>>>=16,i[4]=65535&(r+=i[4]),r>>>=16,i[5]=65535&(r+=i[5]),r>>>=16,i[6]=65535&(r+=i[6]),r>>>=16,i[7]=65535&(r+=i[7]),r>>>=16,i[8]=65535&(r+=i[8]),r>>>=16,i[9]=65535&(r+=i[9]),r>>>=16,i[10]=65535&(r+=i[10]),r>>>=16,i[11]=65535&(r+=i[11]),r>>>=16,i[12]=65535&(r+=i[12]),r>>>=16,i[13]=65535&(r+=i[13]),r>>>=16,i[14]=65535&(r+=i[14]),r>>>=16,i[15]+=r}function v(e,t){var n,r=[];return r[0]=65535&(n=19*((0|e[15]>>>15)+(0|t[15]>>>15))+e[0]+t[0]),r[1]=65535&(n=(n>>>16)+e[1]+t[1]),r[2]=65535&(n=(n>>>16)+e[2]+t[2]),r[3]=65535&(n=(n>>>16)+e[3]+t[3]),r[4]=65535&(n=(n>>>16)+e[4]+t[4]),r[5]=65535&(n=(n>>>16)+e[5]+t[5]),r[6]=65535&(n=(n>>>16)+e[6]+t[6]),r[7]=65535&(n=(n>>>16)+e[7]+t[7]),r[8]=65535&(n=(n>>>16)+e[8]+t[8]),r[9]=65535&(n=(n>>>16)+e[9]+t[9]),r[10]=65535&(n=(n>>>16)+e[10]+t[10]),r[11]=65535&(n=(n>>>16)+e[11]+t[11]),r[12]=65535&(n=(n>>>16)+e[12]+t[12]),r[13]=65535&(n=(n>>>16)+e[13]+t[13]),r[14]=65535&(n=(n>>>16)+e[14]+t[14]),r[15]=(n>>>16)+(32767&e[15])+(32767&t[15]),r}function g(e,t){var n,r=[];return r[0]=65535&(n=524288+19*((0|e[15]>>>15)-(0|t[15]>>>15)-1)+e[0]-t[0]),r[1]=65535&(n=(n>>>16)+524280+e[1]-t[1]),r[2]=65535&(n=(n>>>16)+524280+e[2]-t[2]),r[3]=65535&(n=(n>>>16)+524280+e[3]-t[3]),r[4]=65535&(n=(n>>>16)+524280+e[4]-t[4]),r[5]=65535&(n=(n>>>16)+524280+e[5]-t[5]),r[6]=65535&(n=(n>>>16)+524280+e[6]-t[6]),r[7]=65535&(n=(n>>>16)+524280+e[7]-t[7]),r[8]=65535&(n=(n>>>16)+524280+e[8]-t[8]),r[9]=65535&(n=(n>>>16)+524280+e[9]-t[9]),r[10]=65535&(n=(n>>>16)+524280+e[10]-t[10]),r[11]=65535&(n=(n>>>16)+524280+e[11]-t[11]),r[12]=65535&(n=(n>>>16)+524280+e[12]-t[12]),r[13]=65535&(n=(n>>>16)+524280+e[13]-t[13]),r[14]=65535&(n=(n>>>16)+524280+e[14]-t[14]),r[15]=(n>>>16)+32760+(32767&e[15])-(32767&t[15]),r}function y(e){for(var t=e,n=250;--n;)e=f(e),e=h(e,t);return e=f(e),e=f(e),e=h(e,t),e=f(e),e=f(e),e=h(e,t),e=f(e),e=h(e,t)}function b(e){var t,n=121665,r=[];return r[0]=65535&(t=e[0]*n),r[1]=65535&(t=(0|t/65536)+e[1]*n),r[2]=65535&(t=(0|t/65536)+e[2]*n),r[3]=65535&(t=(0|t/65536)+e[3]*n),r[4]=65535&(t=(0|t/65536)+e[4]*n),r[5]=65535&(t=(0|t/65536)+e[5]*n),r[6]=65535&(t=(0|t/65536)+e[6]*n),r[7]=65535&(t=(0|t/65536)+e[7]*n),r[8]=65535&(t=(0|t/65536)+e[8]*n),r[9]=65535&(t=(0|t/65536)+e[9]*n),r[10]=65535&(t=(0|t/65536)+e[10]*n),r[11]=65535&(t=(0|t/65536)+e[11]*n),r[12]=65535&(t=(0|t/65536)+e[12]*n),r[13]=65535&(t=(0|t/65536)+e[13]*n),r[14]=65535&(t=(0|t/65536)+e[14]*n),r[15]=(0|t/65536)+e[15]*n,m(r),r}function x(e,t){var n,r,i,o,a;return i=f(v(e,t)),o=f(g(e,t)),a=g(i,o),n=h(o,i),r=h(v(b(a),i),a),[n,r]}function w(e,t,n,r,i){var o,a,s,c;return s=h(g(e,t),v(n,r)),c=h(v(e,t),g(n,r)),o=f(v(s,c)),a=h(f(g(s,c)),i),[o,a]}function _(e){var t=k.randomBytes(32);e===!0&&(t[0]&=248,t[31]=127&t[31]|64);for(var n=[],r=0;r<t.length;r++)n.push(String.fromCharCode(t[r]));return n.join(\"\")}var k=e(\"crypto\"),j={};j.getbit=i,j.setbit=r,j.addmodp=v,j.invmodp=y,j.mulmodp=h,j.reduce=m,j.dbl=x,j.sum=w,j.ZERO=o,j.ONE=a,j.BASE=s,j.bigintadd=u,j.bigintsub=p,j.bigintcmp=c,j.mulmodp=h,j.sqrmodp=f,j.generateKey=_,t.exports=j},{crypto:void 0}],167:[function(e,t,n){\"use strict\";function r(e,t){var n,r,i;r=t,n=s.dbl(r,s.ONE()),i=[r,s.ONE()];for(var o=255;0==s.getbit(e,o);)if(o--,0>o)return s.ZERO();o--;for(var a=[n,i];o>=0;){var c,u,p=s.getbit(e,o);c=s.sum(a[0][0],a[0][1],a[1][0],a[1][1],r),u=s.dbl(a[1-p][0],a[1-p][1]),a[1-p]=u,a[p]=c,o--}return i=a[1],i[1]=s.invmodp(i[1]),i[0]=s.mulmodp(i[0],i[1]),s.reduce(i[0]),i[0]}function i(e,t){return t||(t=s.BASE()),e[0]&=65528,e[15]=32767&e[15]|16384,r(e,t)}function o(e){var t=c.hexEncode(e);return t=new Array(65-t.length).join(\"0\")+t,t.split(/(..)/).reverse().join(\"\")}function a(e){var t=e.split(/(..)/).reverse().join(\"\");return c.hexDecode(t)}var s=e(\"./core\"),c=e(\"./utils\"),u={};u.curve25519=i,u.curve25519_raw=r,u.hexEncodeVector=o,u.hexDecodeVector=a,u.hexencode=c.hexEncode,u.hexdecode=c.hexDecode,u.base32encode=c.base32encode,u.base32decode=c.base32decode,t.exports=u},{\"./core\":166,\"./utils\":170}],168:[function(e,t,n){(function(n){\"use strict\";function r(e){var t=new Uint16Array(e);return new n(new Uint8Array(t.buffer))}function i(e){if(n.isBuffer(e)){var t=new Uint8Array(e);return new Uint16Array(t.buffer)}for(var r=new Array(16),i=0,o=0;i<e.length;i+=2)r[o]=e.charCodeAt(i+1)<<8|e.charCodeAt(i),o++;return r}var o=e(\"./core\"),a=(e(\"./utils\"),e(\"./curve255\")),s={};s.computeKey=function(e,t){return r(t?a.curve25519(i(e),i(t)):a.curve25519(i(e)))},s.publicKey=function(e){return r(a.curve25519(i(e)))},s.generateKey=function(){return o.generateKey(!0)},t.exports=s}).call(this,e(\"buffer\").Buffer)},{\"./core\":166,\"./curve255\":167,\"./utils\":170,buffer:void 0}],169:[function(e,t,n){(function(n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);if(\"undefined\"==typeof e)return $;var t=e.constructor;if(t!==Array&&t!==Uint16Array&&t!==Uint32Array||16!==e.length)if(t===Array&&32===e.length)this.n=s(e).n;else if(t===String)this.n=D.hexDecode(e);else if(t===Number)this.n=[65535&e,e>>16,0,0,0,0,0,0,0,0,0,0,0,0,0,0];else{if(!(e instanceof r))throw\"Bad argument for bignum: \"+e;this.n=e.n.slice(0);\n}else this.n=e}function i(e,t){for(var n=0,r=0;16>r;r++){var i=e[r]>>16-t;e[r]=e[r]<<t&65535|n,n=i}return e}function o(e,t){for(var n=0,r=15;r>=0;r--){var i=e[r]<<16-t&65535;e[r]=e[r]>>t|n,n=i}return e}function a(e){e=r(e);for(var t=new Array(32),n=31;n>=0;n--)t[n]=255&e.n[0],e.shiftRight(8);return t}function s(e){for(var t=$,n=0;32>n;n++)t.shiftLeft(8),t=t.plus(r(e[n]));return t}function c(e,t){for(var n=N.ONE(),r=0;256>r;r++)1===N.getbit(t,r)&&(n=N.mulmodp(n,e)),e=N.sqrmodp(e);return n}function u(e){return N.reduce(e.n),e.cmp(V)>=0?u(e.minus(V)):-1===e.cmp($)?u(e.plus(V)):e}function p(e){var t=e[0],n=e[1],r=t.sqr(),i=n.sqr(),o=Y.times(r).times(i);return i.minus(r).minus(U).minus(o).modq().equals($)}function l(e){var t=e.sqr(),n=t.minus(U).divide(U.plus(Y.times(t))),r=n.pow(W);return r.times(r).minus(n).equals($)||(r=r.times(K)),r.isOdd()&&(r=V.minus(r)),r}function f(e,t){var n=e[0],r=e[1],i=e[2],o=e[3],a=t[0],s=t[1],c=t[2],u=t[3],p=r.minus(n).times(s.plus(a)),l=r.plus(n).times(s.minus(a)),f=i.times(H).times(u),d=o.times(H).times(c),h=d.plus(f),m=l.minus(p),v=l.plus(p),g=d.minus(f);return[h.times(m),v.times(g),m.times(v),h.times(g)]}function d(e){var t=e[0],n=e[1],r=e[2],i=t.times(t),o=n.times(n),a=H.times(r).times(r),s=V.minus(i),c=t.plus(n),u=c.times(c).minus(i).minus(o),p=s.plus(o),l=p.minus(a),f=s.minus(o);return[u.times(l),p.times(f),l.times(p),u.times(f)]}function h(e,t){if(t.equals($))return[$,U,U,$];var n=t.isOdd();t.shiftRight(1);var r=d(h(e,t));return n?f(r,e):r}function m(e){var t=e[0],n=e[1];return[t,n,U,t.times(n)]}function v(e){var t=e[0],n=e[1],r=e[2],i=r.inv();return[t.times(i),n.times(i)]}function g(e,t){return v(h(m(e),t))}function y(e,t){return e[e.length-(t>>>3)-1]>>(7&t)&1}function b(e,t){for(var n=[$,U,U,$],r=(t.length<<3)-1;r>=0;r--)n=d(n),1===y(t,r)&&(n=f(n,e));return n}function x(e,t){return v(b(m(e),t))}function w(e){return e.bytes(32).reverse()}function _(e){return r(e.slice(0).reverse())}function k(e){var t=w(e[1]);return e[0].isOdd()&&(t[31]|=128),t}function j(e){e=e.slice(0);var t=e[31]>>7;e[31]&=127;var n=_(e),r=l(n);(1&r.n[0])!==t&&(r=V.minus(r));var i=[r,n];if(!p(i))throw\"Point is not on curve\";return i}function S(e,t){if(void 0!==t)return 256===t?S(D.string2bytes(e)):new q(e,t);if(\"string\"==typeof e)return new q(e,10);if(e instanceof Array||e instanceof Uint8Array||n.isBuffer(e))return new q(e);if(\"number\"==typeof e)return new q(e.toString(),10);throw\"Can't convert \"+e+\" to BigInteger\"}function E(e,t){void 0===t&&(t=e.bitLength()+7>>>3);for(var n=new Array(t),r=t-1;r>=0;r--)n[r]=255&e[0],e=e.shiftRight(8);return n}function O(e){var t=R.createHash(\"sha512\").update(e).digest();return E(S(t),64).reverse()}function A(e){var t=R.createHash(\"sha512\").update(e).digest();return M(z,E(S(t),64)).join(\"\")}function C(e){return S([0].concat(O(e)))}function T(e){return r(O(e).slice(32,64))}function I(e){return C(e).mod(G)}function P(e){var t=T(e);return t.n[0]&=65528,t.n[15]&=16383,t.n[15]|=16384,t}function F(e){return k(g(Q,P(e)))}function M(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function z(e){return String.fromCharCode(e)}function B(e,t){return v(f(m(e),m(t)))}var N=e(\"./core\"),D=(e(\"./curve255\"),e(\"./utils\")),q=e(\"jsbn\").BigInteger,R=e(\"crypto\"),L={};r.prototype={toString:function(){return D.hexEncode(this.n)},toSource:function(){return\"_\"+D.hexEncode(this.n)},plus:function(e){return r(N.bigintadd(this.n,e.n))},minus:function(e){return r(N.bigintsub(this.n,e.n)).modq()},times:function(e){return r(N.mulmodp(this.n,e.n))},divide:function(e){return this.times(e.inv())},sqr:function(){return r(N.sqrmodp(this.n))},cmp:function(e){return N.bigintcmp(this.n,e.n)},equals:function(e){return 0===this.cmp(e)},isOdd:function(){return 1===(1&this.n[0])},shiftLeft:function(e){return i(this.n,e),this},shiftRight:function(e){return o(this.n,e),this},inv:function(){return r(N.invmodp(this.n))},pow:function(e){return r(c(this.n,e.n))},modq:function(){return u(this)},bytes:function(){return a(this)}};var $=r(0),U=r(1),H=r(2),V=r([65517,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,32767]),W=r(\"0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe\"),Y=r(\"52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3\"),K=r(\"2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0\"),G=(r(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\"),S(\"1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed\",16)),J=r(4).divide(r(5)),Z=l(J),Q=[Z,J];q.prototype.bytes=function(e){return E(this,e)},L.isOnCurve=function(e){try{p(j(D.string2bytes(e)))}catch(t){if(\"Point is not on curve\"===t)return!1;throw t}return!0},L.publicKey=function(e){return D.bytes2string(F(e))},L.sign=function(e,t,n){n=void 0===n?F(t):D.string2bytes(n);var r=S(P(t).toString(),16),i=A(t),o=O(i.slice(32,64)+e),a=x(Q,o),s=k(a);o=S(o).mod(S(1,10).shiftLeft(512));var c=M(z,s).join(\"\")+M(z,n).join(\"\")+e;return c=I(c).multiply(r).add(o).mod(G),D.bytes2string(s.concat(w(c)))},L.verify=function(e,t,n){e=D.string2bytes(e.slice(0,64)),n=D.string2bytes(n);var r=e.slice(0,32),i=j(r),o=j(n),a=_(e.slice(32,64)),s=C(D.bytes2string(r.concat(n))+t),c=g(Q,a),u=x(o,E(s)),p=B(i,u);return c[0].equals(p[0])&&c[1].equals(p[1])},L.generateKeySeed=function(){return N.generateKey(!1)},t.exports=L}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./core\":166,\"./curve255\":167,\"./utils\":170,crypto:void 0,jsbn:171}],170:[function(e,t,n){\"use strict\";function r(e){for(var t=[],n=e.length-1;n>=0;n--){var r=e[n];t.push(h.substr(r>>>12&15,1)),t.push(h.substr(r>>>8&15,1)),t.push(h.substr(r>>>4&15,1)),t.push(h.substr(15&r,1))}return t.join(\"\")}function i(e){for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=e.length-1,r=0;n>=0;n-=4)t[r]=h.indexOf(e.charAt(n))|h.indexOf(e.charAt(n-1))<<4|h.indexOf(e.charAt(n-2))<<8|h.indexOf(e.charAt(n-3))<<12,r++;return t}function o(e){var t,n=\"\";for(t=0;255>t;t+=5)n=m.substr(f.getbit(e,t)+(f.getbit(e,t+1)<<1)+(f.getbit(e,t+2)<<2)+(f.getbit(e,t+3)<<3)+(f.getbit(e,t+4)<<4),1)+n;return n}function a(e){var t=0,n=f.ZERO(),r=e.length;for(t=0;r>0&&255>t;t+=5){r--;var i=v[e.substr(r,1)];f.setbit(n,t,1&i),i>>=1,f.setbit(n,t+1,1&i),i>>=1,f.setbit(n,t+2,1&i),i>>=1,f.setbit(n,t+3,1&i),i>>=1,f.setbit(n,t+4,1&i)}return n}function s(e,t){for(var n=new Array(t.length),r=0;r<t.length;r++)n[r]=e(t[r]);return n}function c(e){return String.fromCharCode(e)}function u(e){return e.charCodeAt(0)}function p(e){return s(c,e).join(\"\")}function l(e){return s(u,e)}var f=e(\"./core\"),d={},h=\"0123456789abcdef\",m=\"abcdefghijklmnopqrstuvwxyz234567\",v=function(){for(var e={},t=0;t<m.length;t++)e[m.charAt(t)]=t;return e}();d.hexEncode=r,d.hexDecode=i,d.base32encode=o,d.base32decode=a,d.bytes2string=p,d.string2bytes=l,t.exports=d},{\"./core\":166}],171:[function(e,t,n){(function(){function e(e,t,n){null!=e&&(\"number\"==typeof e?this.fromNumber(e,t,n):null==t&&\"string\"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new e(null)}function i(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*a;c=a*c+((32767&p)<<15)+n[r]+(1073741823&i),i=(c>>>30)+(p>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i}function a(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*a;c=a*c+((16383&p)<<14)+n[r]+i,i=(c>>28)+(p>>14)+s*u,n[r++]=268435455&c}return i}function s(e){return vt.charAt(e)}function c(e,t){var n=gt[e.charCodeAt(t)];return null==n?-1:n}function u(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function p(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+this.DV:this.t=0}function l(e){var t=r();return t.fromInt(e),t}function f(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:c(t,i);0>s?\"-\"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)}function d(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t}function h(e){if(this.s<0)return\"-\"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o=\"\",a=this.t,c=this.DB-a*this.DB%t;if(a-- >0)for(c<this.DB&&(n=this[a]>>c)>0&&(i=!0,o=s(n));a>=0;)t>c?(n=(this[a]&(1<<c)-1)<<t-c,n|=this[--a]>>(c+=this.DB-t)):(n=this[a]>>(c-=t)&r,0>=c&&(c+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:\"0\"}function m(){var t=r();return e.ZERO.subTo(this,t),t}function v(){return this.s<0?this.negate():this}function g(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0}function y(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function b(){return this.t<=0?0:this.DB*(this.t-1)+y(this[this.t-1]^this.s&this.DM)}function x(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function _(e,t){var n,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}function k(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)return void(t.t=0);var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}function j(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=0>r?-1:0,-1>r?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function S(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)}function E(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function O(t,n,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t<o.t)return null!=n&&n.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=t.s,p=this.DB-y(o[o.t-1]);p>0?(o.lShiftTo(p,s),a.lShiftTo(p,i)):(o.copyTo(s),a.copyTo(i));var l=s.t,f=s[l-1];if(0!=f){var d=f*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),h=this.FV/d,m=(1<<this.F1)/d,v=1<<this.F2,g=i.t,b=g-l,x=null==n?r():n;for(s.dlShiftTo(b,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),e.ONE.dlShiftTo(l,x),x.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var w=i[--g]==f?this.DM:Math.floor(i[g]*h+(i[g-1]+v)*m);if((i[g]+=s.am(0,w,i,b,0,l))<w)for(s.dlShiftTo(b,x),i.subTo(x,i);i[g]<--w;)i.subTo(x,i)}null!=n&&(i.drShiftTo(l,n),c!=u&&e.ZERO.subTo(n,n)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),0>c&&e.ZERO.subTo(i,i)}}}function A(t){var n=r();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n}function C(e){this.m=e}function T(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function I(e){return e}function P(e){e.divRemTo(this.m,null,e)}function F(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function M(e,t){e.squareTo(t),this.reduce(t)}function z(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function N(t){var n=r();return t.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),t.s<0&&n.compareTo(e.ZERO)>0&&this.m.subTo(n,n),n}function D(e){var t=r();return e.copyTo(t),this.reduce(t),t}function q(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function $(){return 0==(this.t>0?1&this[0]:this.s)}function U(t,n){if(t>4294967295||1>t)return e.ONE;var i=r(),o=r(),a=n.convert(this),s=y(t)-1;for(a.copyTo(i);--s>=0;)if(n.sqrTo(i,o),(t&1<<s)>0)n.mulTo(o,a,i);else{var c=i;i=o,o=c}return n.revert(i)}function H(e,t){var n;return n=256>e||t.isEven()?new C(t):new B(t),this.exp(e,n)}function V(){var e=r();return this.copyTo(e),e}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function Y(){return 0==this.t?this.s:this[0]<<24>>24}function K(){return 0==this.t?this.s:this[0]<<16>>16}function G(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function J(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Z(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return\"0\";var t=this.chunkSize(e),n=Math.pow(e,t),i=l(n),o=r(),a=r(),s=\"\";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(e)+s}function Q(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,u=0;u<t.length;++u){var p=c(t,u);0>p?\"-\"==t.charAt(u)&&0==this.signum()&&(o=!0):(s=n*s+p,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)}function X(t,n,r){if(\"number\"==typeof n)if(2>t)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),se,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=(t>>3)+1,n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}}function ee(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)8>r?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,0>=r&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t}function te(e){return 0==this.compareTo(e)}function ne(e){return this.compareTo(e)<0?this:e}function re(e){return this.compareTo(e)>0?this:e}function ie(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;o>r;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()}function oe(e,t){return e&t}function ae(e){var t=r();return this.bitwiseTo(e,oe,t),t}function se(e,t){return e|t}function ce(e){var t=r();return this.bitwiseTo(e,se,t),t}function ue(e,t){return e^t}function pe(e){var t=r();return this.bitwiseTo(e,ue,t),t}function le(e,t){return e&~t}function fe(e){var t=r();return this.bitwiseTo(e,le,t),t}function de(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function he(e){var t=r();return 0>e?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=r();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function ve(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ge(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+ve(this[e]);return this.s<0?this.t*this.DB:-1}function ye(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function be(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=ye(this[n]^t);return e}function xe(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function we(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r}function _e(e){return this.changeBit(e,se)}function ke(e){return this.changeBit(e,le)}function je(e){return this.changeBit(e,ue)}function Se(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);i>n;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=0>r?-1:0,r>0?t[n++]=r:-1>r&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function Ee(e){var t=r();return this.addTo(e,t),t}function Oe(e){var t=r();return this.subTo(e,t),t}function Ae(e){var t=r();return this.multiplyTo(e,t),t}function Ce(){var e=r();return this.squareTo(e),e}function Te(e){var t=r();return this.divRemTo(e,t,null),t}function Ie(e){var t=r();return this.divRemTo(e,null,t),t}function Pe(e){var t=r(),n=r();return this.divRemTo(e,t,n),new Array(t,n)}function Fe(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Me(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function ze(){}function Be(e){return e}function Ne(e,t,n){e.multiplyTo(t,n)}function De(e,t){e.squareTo(t)}function qe(e){return this.exp(e,new ze)}function Re(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;i>r;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);i>r;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()}function Le(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)}function $e(t){this.r2=r(),this.q3=r(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function Ue(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function Ve(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)}function We(e,t){e.squareTo(t),this.reduce(t)}function Ye(e,t,n){e.multiplyTo(t,n),this.reduce(n)}function Ke(e,t){var n,i,o=e.bitLength(),a=l(1);if(0>=o)return a;n=18>o?1:48>o?3:144>o?4:768>o?5:6,i=8>o?new C(t):t.isEven()?new $e(t):new B(t);var s=new Array,c=3,u=n-1,p=(1<<n)-1;if(s[1]=i.convert(this),n>1){var f=r();for(i.sqrTo(s[1],f);p>=c;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var d,h,m=e.t-1,v=!0,g=r();for(o=y(e[m])-1;m>=0;){for(o>=u?d=e[m]>>o-u&p:(d=(e[m]&(1<<o+1)-1)<<u-o,m>0&&(d|=e[m-1]>>this.DB+o-u)),c=n;0==(1&d);)d>>=1,--c;if((o-=c)<0&&(o+=this.DB,--m),v)s[d].copyTo(a),v=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(h=a,a=g,g=h),i.mulTo(g,s[d],a)}for(;m>=0&&0==(e[m]&1<<o);)i.sqrTo(a,g),h=a,a=g,g=h,--o<0&&(o=this.DB-1,--m)}return i.revert(a)}function Ge(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(0>o)return t;for(o>i&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function Je(e){if(0>=e)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n}function Ze(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=l(1),a=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Qe(e){var t,n=this.abs();if(1==n.t&&n[0]<=yt[yt.length-1]){for(t=0;t<yt.length;++t)if(n[0]==yt[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<yt.length;){for(var r=yt[t],i=t+1;i<yt.length&&bt>r;)r*=yt[i++];for(r=n.modInt(r);i>t;)if(r%yt[t++]==0)return!1}return n.millerRabin(e)}function Xe(t){var n=this.subtract(e.ONE),i=n.getLowestSetBit();if(0>=i)return!1;var o=n.shiftRight(i);t=t+1>>1,t>yt.length&&(t=yt.length);for(var a=r(),s=0;t>s;++s){a.fromInt(yt[Math.floor(Math.random()*yt.length)]);var c=a.modPow(o,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(n)){for(var u=1;u++<i&&0!=c.compareTo(n);)if(c=c.modPowInt(2,this),0==c.compareTo(e.ONE))return!1;if(0!=c.compareTo(n))return!1}}return!0}function et(e){wt[_t++]^=255&e,wt[_t++]^=e>>8&255,wt[_t++]^=e>>16&255,wt[_t++]^=e>>24&255,_t>=Et&&(_t-=Et)}function tt(){et((new Date).getTime())}function nt(){if(null==xt){for(tt(),xt=ct(),xt.init(wt),_t=0;_t<wt.length;++_t)wt[_t]=0;_t=0}return xt.next()}function rt(e){var t;for(t=0;t<e.length;++t)e[t]=nt()}function it(){}function ot(){this.i=0,this.j=0,this.S=new Array}function at(e){var t,n,r;for(t=0;256>t;++t)this.S[t]=t;for(n=0,t=0;256>t;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function st(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function ct(){return new ot}var ut,pt=0xdeadbeefcafe,lt=15715070==(16777215&pt),ft=\"undefined\"!=typeof navigator;ft&&lt&&\"Microsoft Internet Explorer\"==navigator.appName?(e.prototype.am=o,ut=30):ft&&lt&&\"Netscape\"!=navigator.appName?(e.prototype.am=i,ut=26):(e.prototype.am=a,ut=28),e.prototype.DB=ut,e.prototype.DM=(1<<ut)-1,e.prototype.DV=1<<ut;var dt=52;e.prototype.FV=Math.pow(2,dt),e.prototype.F1=dt-ut,e.prototype.F2=2*ut-dt;var ht,mt,vt=\"0123456789abcdefghijklmnopqrstuvwxyz\",gt=new Array;for(ht=\"0\".charCodeAt(0),mt=0;9>=mt;++mt)gt[ht++]=mt;for(ht=\"a\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;for(ht=\"A\".charCodeAt(0),mt=10;36>mt;++mt)gt[ht++]=mt;C.prototype.convert=T,C.prototype.revert=I,C.prototype.reduce=P,C.prototype.mulTo=F,C.prototype.sqrTo=M,B.prototype.convert=N,B.prototype.revert=D,B.prototype.reduce=q,B.prototype.mulTo=L,B.prototype.sqrTo=R,e.prototype.copyTo=u,e.prototype.fromInt=p,e.prototype.fromString=f,e.prototype.clamp=d,e.prototype.dlShiftTo=x,e.prototype.drShiftTo=w,e.prototype.lShiftTo=_,e.prototype.rShiftTo=k,e.prototype.subTo=j,e.prototype.multiplyTo=S,e.prototype.squareTo=E,e.prototype.divRemTo=O,e.prototype.invDigit=z,e.prototype.isEven=$,e.prototype.exp=U,e.prototype.toString=h,e.prototype.negate=m,e.prototype.abs=v,e.prototype.compareTo=g,e.prototype.bitLength=b,e.prototype.mod=A,e.prototype.modPowInt=H,e.ZERO=l(0),e.ONE=l(1),ze.prototype.convert=Be,ze.prototype.revert=Be,ze.prototype.mulTo=Ne,ze.prototype.sqrTo=De,$e.prototype.convert=Ue,$e.prototype.revert=He,$e.prototype.reduce=Ve,$e.prototype.mulTo=Ye,$e.prototype.sqrTo=We;var yt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bt=(1<<26)/yt[yt.length-1];e.prototype.chunkSize=G,e.prototype.toRadix=Z,e.prototype.fromRadix=Q,e.prototype.fromNumber=X,e.prototype.bitwiseTo=ie,e.prototype.changeBit=we,e.prototype.addTo=Se,e.prototype.dMultiply=Fe,e.prototype.dAddOffset=Me,e.prototype.multiplyLowerTo=Re,e.prototype.multiplyUpperTo=Le,e.prototype.modInt=Je,e.prototype.millerRabin=Xe,e.prototype.clone=V,e.prototype.intValue=W,e.prototype.byteValue=Y,e.prototype.shortValue=K,e.prototype.signum=J,e.prototype.toByteArray=ee,e.prototype.equals=te,e.prototype.min=ne,e.prototype.max=re,e.prototype.and=ae,e.prototype.or=ce,e.prototype.xor=pe,e.prototype.andNot=fe,e.prototype.not=de,e.prototype.shiftLeft=he,e.prototype.shiftRight=me,e.prototype.getLowestSetBit=ge,e.prototype.bitCount=be,e.prototype.testBit=xe,e.prototype.setBit=_e,e.prototype.clearBit=ke,e.prototype.flipBit=je,e.prototype.add=Ee,e.prototype.subtract=Oe,e.prototype.multiply=Ae,e.prototype.divide=Te,e.prototype.remainder=Ie,e.prototype.divideAndRemainder=Pe,e.prototype.modPow=Ke,e.prototype.modInverse=Ze,e.prototype.pow=qe,e.prototype.gcd=Ge,e.prototype.isProbablePrime=Qe,e.prototype.square=Ce,e.prototype.Barrett=$e;var xt,wt,_t;if(null==wt){wt=new Array,_t=0;var kt;if(\"undefined\"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var jt=new Uint8Array(32);for(window.crypto.getRandomValues(jt),kt=0;32>kt;++kt)wt[_t++]=jt[kt]}else if(\"Netscape\"==navigator.appName&&navigator.appVersion<\"5\"){var St=window.crypto.random(32);for(kt=0;kt<St.length;++kt)wt[_t++]=255&St.charCodeAt(kt)}for(;Et>_t;)kt=Math.floor(65536*Math.random()),wt[_t++]=kt>>>8,wt[_t++]=255&kt;_t=0,tt()}it.prototype.nextBytes=rt,ot.prototype.init=at,ot.prototype.next=st;var Et=256;\"undefined\"!=typeof n?n=t.exports={BigInteger:e,SecureRandom:it}:(this.BigInteger=e,this.SecureRandom=it)}).call(this)},{}],172:[function(e,t,n){({define:\"undefined\"!=typeof define?define:function(e,n){t.exports=n()}}).define([],function(){function e(t,n){return e(t,n,{changing:!1})}var t=e;t.Integer={type:\"integer\"};var n={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,n,r){return e(t,n,{changing:r||\"property\"})};var e=t._validate=function(e,t,r){function i(e){return e.type||n[e.name]==e&&e.name.toLowerCase()}function o(e,t,n,u){function p(e){c.push({property:n,message:e})}function l(e,t){if(e){if(!(\"string\"!=typeof e||\"any\"==e||(\"null\"==e?null===t:typeof t==e)||t instanceof Array&&\"array\"==e||t instanceof Date&&\"date\"==e||\"integer\"==e&&t%1===0))return[{property:n,message:typeof t+\" value found, but a \"+e+\" is required\"}];if(e instanceof Array){for(var r=[],i=0;i<e.length&&(r=l(e[i],t)).length;i++);if(r.length)return r}else if(\"object\"==typeof e){var a=c;c=[],o(t,e,n);var s=c;return c=a,s}}return[]}var f;if(n+=n?\"number\"==typeof u?\"[\"+u+\"]\":\"undefined\"==typeof u?\"\":\".\"+u:u,(\"object\"!=typeof t||t instanceof Array)&&(n||\"function\"!=typeof t)&&(!t||!i(t)))return\"function\"==typeof t?e instanceof t||p(\"is not an instance of the class/constructor \"+t.name):t&&p(\"Invalid schema/property definition \"+t),null;if(s&&t.readonly&&p(\"is a readonly field, it can not be changed\"),t[\"extends\"]&&o(e,t[\"extends\"],n,u),void 0===e)t.required&&p(\"is missing and it is required\");else if(c=c.concat(l(i(t),e)),t.disallow&&!l(t.disallow,e).length&&p(\" disallowed value was matched\"),null!==e){if(e instanceof Array){if(t.items){var d=t.items instanceof Array,h=t.items;for(u=0,f=e.length;f>u;u+=1)d&&(h=t.items[u]),r.coerce&&(e[u]=r.coerce(e[u],h)),c.concat(o(e[u],h,n,u))}t.minItems&&e.length<t.minItems&&p(\"There must be a minimum of \"+t.minItems+\" in the array\"),t.maxItems&&e.length>t.maxItems&&p(\"There must be a maximum of \"+t.maxItems+\" in the array\")}else(t.properties||t.additionalProperties)&&c.concat(a(e,t.properties,n,t.additionalProperties));if(t.pattern&&\"string\"==typeof e&&!e.match(t.pattern)&&p(\"does not match the regex pattern \"+t.pattern),t.maxLength&&\"string\"==typeof e&&e.length>t.maxLength&&p(\"may only be \"+t.maxLength+\" characters long\"),t.minLength&&\"string\"==typeof e&&e.length<t.minLength&&p(\"must be at least \"+t.minLength+\" characters long\"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&p(\"must have a minimum value of \"+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&p(\"must have a maximum value of \"+t.maximum),t[\"enum\"]){var m=t[\"enum\"];f=m.length;for(var v,g=0;f>g;g++)if(m[g]===e){v=1;break}v||p(\"does not have a value in the enumeration \"+m.join(\", \"))}\"number\"==typeof t.maxDecimal&&e.toString().match(new RegExp(\"\\\\.[0-9]{\"+(t.maxDecimal+1)+\",}\"))&&p(\"may only have \"+t.maxDecimal+\" digits of decimal places\")}return null}function a(e,t,n,i){if(\"object\"==typeof t){(\"object\"!=typeof e||e instanceof Array)&&c.push({property:n,message:\"an object is required\"});for(var a in t)if(t.hasOwnProperty(a)){var u=e[a];if(void 0===u&&r.existingOnly)continue;var p=t[a];void 0===u&&p[\"default\"]&&(u=e[a]=p[\"default\"]),r.coerce&&a in e&&(u=e[a]=r.coerce(u,p)),o(u,p,n,a)}}for(a in e){if(e.hasOwnProperty(a)&&(\"_\"!=a.charAt(0)||\"_\"!=a.charAt(1))&&t&&!t[a]&&i===!1){if(r.filter){delete e[a];continue}c.push({property:n,message:typeof u+\"The property \"+a+\" is not defined in the schema and the schema does not allow additional properties\"})}var l=t&&t[a]&&t[a].requires;!l||l in e||c.push({property:n,message:\"the presence of the property \"+a+\" requires that \"+l+\" also be present\"}),u=e[a],!i||t&&\"object\"==typeof t&&a in t||(r.coerce&&(u=e[a]=r.coerce(u,i)),o(u,i,n,a)),!s&&u&&u.$schema&&(c=c.concat(o(u,u.$schema,n,a)))}return c}r||(r={});var s=r.changing,c=[];return t&&o(e,t,\"\",s||\"\"),!s&&e&&e.$schema&&o(e,e.$schema,\"\",\"\"),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return\"for property \"+e.property+\": \"+e.message}).join(\", \\n\"))},t})},{}],173:[function(e,t,n){function r(e,t,n,r){return JSON.stringify(e,i(t,r),n)}function i(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?\"[Circular ~]\":\"[Circular ~.\"+r.slice(0,n.indexOf(t)).join(\".\")+\"]\"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=t.call(this,i,o))}else n.push(o);return null==e?o:e.call(this,i,o)}}n=t.exports=r,n.getSerialize=i},{}],174:[function(e,t,n){var r=function(e){return e.replace(/~./g,function(e){switch(e){case\"~0\":return\"~\";case\"~1\":return\"/\"}throw new Error(\"Invalid tilde escape: \"+e)})},i=function(e,t,n){var o=r(t.shift());if(!e.hasOwnProperty(o))return null;if(0!==t.length)return i(e[o],t,n);if(\"undefined\"==typeof n)return e[o];var a=e[o];return null===n?delete e[o]:e[o]=n,a},o=function(e,t){if(\"object\"!=typeof e)throw new Error(\"Invalid input object.\");if(\"\"===t)return[];if(!t)throw new Error(\"Invalid JSON pointer.\");t=t.split(\"/\");var n=t.shift();if(\"\"!==n)throw new Error(\"Invalid JSON pointer.\");return t},a=function(e,t){return t=o(e,t),0===t.length?e:i(e,t)},s=function(e,t,n){if(t=o(e,t),0===t.length)throw new Error(\"Invalid JSON pointer for set.\");return i(e,t,n)};n.get=a,n.set=s},{}],175:[function(e,t,n){function r(e){var t,n,i=\"__deepCopy\";if(e&&e[i])throw new Error(\"attempted deep copy of cyclic object\");\nif(e&&e.constructor==Object){t={},e[i]=!0;for(n in e)n!=i&&(t[n]=r(e[n]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,n=0;n<e.length;n++)t.push(r(e[n]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||\"object\"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var n;for(n in e){if(!t.hasOwnProperty(n))return!1;if(!i(e[n],t[n]))return!1}for(n in t)if(!e.hasOwnProperty(n))return!1;return!0}function o(e){var t;for(t in e)return!1;return!0}function a(e,t){for(var n in e)t(n,e[n])}function s(e,t){return A.equal(typeof t,\"string\"),c(e,t)}function c(e,t){if(null!==e&&\"object\"==typeof e){if(e.hasOwnProperty(t))return e[t];var n=t.indexOf(\".\");if(-1!=n){var r=t.substr(0,n);if(e.hasOwnProperty(r))return c(e[r],t.substr(n+1))}}}function u(e,t,n){p(e,t,[],n)}function p(e,t,n,r){var i,o;if(0===t)return i=n.slice(0),i.push(e),void r(i);A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);for(o in e)i=n.slice(0),i.push(o),p(e[o],t-1,i,r)}function l(e,t){if(0===t)return[e];A.ok(null!==e),A.equal(typeof e,\"object\"),A.equal(typeof t,\"number\"),A.ok(t>=0);var n,r=[];for(n in e)l(e[n],t-1).forEach(function(e){r.push([n].concat(e))});return r}function f(e,t){return e.substr(0,t.length)==t}function d(e,t){return e.substr(e.length-t.length,t.length)==t}function h(e){return\"number\"==typeof e&&(e=new Date(e)),A.ok(e.constructor===Date),C.sprintf(\"%4d-%02d-%02dT%02d:%02d:%02d.%03dZ\",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function m(e){return C.sprintf(\"%s, %02d %s %04d %02d:%02d:%02d GMT\",F[e.getUTCDay()],e.getUTCDate(),P[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function v(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)}function g(e,t){var n=I.validate(t,e);if(0===n.errors.length)return null;var r,i,o=n.errors[0],a=o.property,s=o.message.toLowerCase();-1!=(r=s.indexOf(\"the property \"))&&-1!=(i=s.indexOf(\" is not defined in the schema and the schema does not allow additional properties\"))&&(r+=\"the property \".length,a=\"\"===a?s.substr(r,i-r):a+\".\"+s.substr(r,i-r),s=\"unsupported property\");var c=new T.VError('property \"%s\": %s',a,s);return c.jsv_details=o,c}function y(e){return A.ok(Array.isArray(e)&&e.length>0,\"randElt argument must be a non-empty array\"),e[Math.floor(Math.random()*e.length)]}function b(e){A.ok(e[0]>=0&&e[1]>=0,\"negative numbers not allowed in hrtimes\"),A.ok(e[1]<1e9,\"nanoseconds column overflow\")}function x(e,t){b(e),b(t),A.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],\"negative differences not allowed\");var n=[e[0]-t[0],0];return e[1]>=t[1]?n[1]=e[1]-t[1]:(n[0]--,n[1]=1e9-(t[1]-e[1])),n}function w(e){return b(e),Math.floor(1e9*e[0]+e[1])}function _(e){return b(e),Math.floor(1e6*e[0]+e[1]/1e3)}function k(e){return b(e),Math.floor(1e3*e[0]+e[1]/1e6)}function j(e,t){return b(e),b(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function S(e,t){b(e);var n=[e[0],e[1]];return j(n,t)}function E(e,t){A.ok(\"object\"==typeof e&&null!==e,\"obj argument must be a non-null object\"),A.ok(Array.isArray(t),\"allowed argument must be an array of strings\");for(var n=0;n<t.length;n++)A.ok(\"string\"==typeof t[n],\"allowed argument must be an array of strings\");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})}function O(e,t,n){var r,i;if(r={},n)for(i in n)r[i]=n[i];if(e)for(i in e)r[i]=e[i];if(t)for(i in t)r[i]=t[i];return r}var A=e(\"assert\"),C=(e(\"util\"),e(\"extsprintf\")),T=e(\"verror\"),I=e(\"json-schema\");n.deepCopy=r,n.deepEqual=i,n.isEmpty=o,n.forEachKey=a,n.pluck=s,n.flattenObject=l,n.flattenIter=u,n.validateJsonObject=g,n.validateJsonObjectJS=g,n.randElt=y,n.extraProperties=E,n.mergeObjects=O,n.startsWith=f,n.endsWith=d,n.iso8601=h,n.rfc1123=m,n.parseDateTime=v,n.hrtimediff=x,n.hrtimeDiff=x,n.hrtimeAccum=j,n.hrtimeAdd=S,n.hrtimeNanosec=w,n.hrtimeMicrosec=_,n.hrtimeMillisec=k;var P=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],F=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]},{assert:void 0,extsprintf:114,\"json-schema\":172,util:void 0,verror:533}],176:[function(e,t,n){\"use strict\";function r(){this._pres={},this._posts={}}r.prototype.execPre=function(e,t,n){var r=this._pres[e]||[],i=r.length,o=r.numAsync||0,a=0,s=o,c=!1;if(!i)return process.nextTick(function(){n(null)});var u=function(){if(!(a>=i)){var e=r[a];if(e.isAsync)e.fn.call(t,function(e){if(e){if(c)return;return c=!0,n(e)}++a,u.apply(t,arguments)},function(e){if(e){if(c)return;return c=!0,n(e)}return 0===--o?n(null):void 0});else if(e.fn.length>0){var p=[function(e){if(e){if(c)return;return c=!0,n(e)}return++a>=i?s>0?void 0:n(null):void u.apply(t,arguments)}];if(arguments.length>=2)for(var l=1;l<arguments.length;++l)p.push(arguments[l]);e.fn.apply(t,p)}else{if(e.fn.call(t),++a>=i)return s>0?void 0:process.nextTick(function(){n(null)});u()}}};u()},r.prototype.execPost=function(e,t,n,r){var i=this._posts[e]||[],o=i.length,a=0;if(!o)return process.nextTick(function(){r.apply(null,[null].concat(n))});var s=function(){var e=i[a];if(e.length>n.length)e.apply(t,n.concat(function(e){return e?r(e):++a>=o?r.apply(null,[null].concat(n)):void s()}));else{if(e.apply(t,n),++a>=o)return r.apply(null,[null].concat(n));s()}};s()},r.prototype.wrap=function(e,t,n,r,i){var o=r.length>0?r[r.length-1]:null,a=this;this.execPre(e,n,function(s){if(s){if(\"function\"==typeof o)return o(s)}else{var c=\"function\"==typeof o?r.length-1:r.length;t.apply(n,r.slice(0,c).concat(function(){if(arguments[0])return\"function\"==typeof o?o(arguments[0]):void 0;i&&\"function\"==typeof o&&o.apply(n,arguments);var t=Array.prototype.slice.call(arguments,1);a.execPost(e,n,t,function(){return arguments[0]?\"function\"==typeof o?o(arguments[0]):void 0:\"function\"!=typeof o||i?void 0:o.apply(n,arguments)})}))}})},r.prototype.createWrapper=function(e,t,n){var r=this;return function(){var i=Array.prototype.slice.call(arguments);r.wrap(e,t,n,i)}},r.prototype.pre=function(e,t,n,r){\"boolean\"!=typeof arguments[1]&&(r=n,n=t,t=!1),this._pres[e]=this._pres[e]||[];var i=this._pres[e];return t&&(i.numAsync=i.numAsync||0,++i.numAsync),i.push({fn:n,isAsync:t}),this},r.prototype.post=function(e,t){return(this._posts[e]=this._posts[e]||[]).push(t),this},r.prototype.clone=function(){var e=new r;for(var t in this._pres)e._pres[t]=this._pres[t].slice();for(var t in this._posts)e._posts[t]=this._posts[t].slice();return e},t.exports=r},{}],177:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function i(e,t){return e.add(t),e}function o(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t,n,r){for(var i=-1,o=e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function s(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Array(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function c(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function p(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function l(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function f(e,t){return!!e.length&&_(e,t,0)>-1}function d(e,t,n){for(var r=-1,i=e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function h(e,t){for(var n=-1,r=e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function m(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function v(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function g(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function y(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function b(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(s===X?a===a:n(a,s)))var s=a,c=o}return c}function x(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function w(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function _(e,t,n){if(t!==t)return $(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function k(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function j(e,t){var n=e?e.length:0;return n?O(e,t)/n:Oe}function S(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function E(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function O(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==X&&(n=n===X?o:n+o)}return n}function A(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e,t){return h(t,function(t){return[t,e[t]]})}function T(e){return function(t){return e(t)}}function I(e,t){return h(t,function(t){return e[t]})}function P(e,t){for(var n=-1,r=e.length;++n<r&&_(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length;n--&&_(t,e[n],0)>-1;);return n}function M(e){return e&&e.Object===Object?e:null}function z(e,t){if(e!==t){var n=null===e,r=e===X,i=e===e,o=null===t,a=t===X,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function B(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var c=z(i[r],o[r]);if(c){if(r>=s)return c;var u=n[r];return c*(\"desc\"==u?-1:1)}}return e.index-t.index}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&r++;return r}function D(e){return function(t,n){var r;return t===X&&n===X?0:(t!==X&&(r=t),n!==X&&(r=r===X?n:e(r,n)),r)}}function q(e){return Tn[e]}function R(e){return In[e]}function L(e){return\"\\\\\"+Mn[e]}function $(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function U(e){var t=!1;if(null!=e&&\"function\"!=typeof e.toString)try{t=!!(e+\"\")}catch(n){}return t}function H(e,t){return e=\"number\"==typeof e||Pt.test(e)?+e:-1,t=null==t?Se:t,e>-1&&e%1==0&&t>e}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Y(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ie||(e[n]=ie,o[i++]=n)}return o}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){if(!e||!jn.test(e))return e.length;for(var t=_n.lastIndex=0;_n.test(e);)t++;return t}function J(e){return e.match(_n)}function Z(e){return Pn[e]}function Q(e){function t(e){if(as(e)&&!Zp(e)&&!(e instanceof Pt)){if(e instanceof M)return e;if(du.call(e,\"__wrapped__\"))return Ji(e)}return new M(e)}function n(){}function M(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=X}function Pt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ae,this.__views__=[]}function Bt(){var e=new Pt(this.__wrapped__);return e.__actions__=Kr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Kr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Kr(this.__views__),e}function Nt(){if(this.__filtered__){var e=new Pt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Dt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Zp(e),r=0>t,i=n?e.length:0,o=Ci(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=Du(c,this.__takeCount__);if(!n||te>i||i==c&&d==c)return Ir(e,this.__actions__);var h=[];e:for(;c--&&d>f;){u+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==_e)v=x;else if(!x){if(b==we)continue e;break e}}h[f++]=v}return h}function qt(){}function Rt(e,t){return $t(e,t)&&delete e[t]}function Lt(e,t){if(Gu){var n=e[t];return n===re?X:n}return du.call(e,t)?e[t]:X}function $t(e,t){return Gu?e[t]!==X:du.call(e,t)}function Ut(e,t,n){e[t]=Gu&&n===X?re:n}function Ht(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vt(){this.__data__={hash:new qt,map:Vu?new Vu:[],string:new qt}}function Wt(e){var t=this.__data__;return qi(e)?Rt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map[\"delete\"](e):an(t.map,e)}function Yt(e){var t=this.__data__;return qi(e)?Lt(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.get(e):sn(t.map,e)}function Kt(e){var t=this.__data__;return qi(e)?$t(\"string\"==typeof e?t.string:t.hash,e):Vu?t.map.has(e):cn(t.map,e)}function Gt(e,t){var n=this.__data__;return qi(e)?Ut(\"string\"==typeof e?n.string:n.hash,e,t):Vu?n.map.set(e,t):pn(n.map,e,t),this}function Jt(e){var t=-1,n=e?e.length:0;for(this.__data__=new Ht;++t<n;)this.push(e[t])}function Zt(e,t){var n=e.__data__;if(qi(t)){var r=n.__data__,i=\"string\"==typeof t?r.string:r.hash;return i[t]===re}return n.has(t)}function Qt(e){var t=this.__data__;if(qi(e)){var n=t.__data__,r=\"string\"==typeof e?n.string:n.hash;r[e]=re}else t.set(e,re)}function Xt(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__={array:[],map:null}}function tn(e){var t=this.__data__,n=t.array;return n?an(n,e):t.map[\"delete\"](e)}function nn(e){var t=this.__data__,n=t.array;return n?sn(n,e):t.map.get(e)}function rn(e){var t=this.__data__,n=t.array;return n?cn(n,e):t.map.has(e)}function on(e,t){var n=this.__data__,r=n.array;r&&(r.length<te-1?pn(r,e,t):(n.array=null,n.map=new Ht(r)));var i=n.map;return i&&i.set(e,t),this}function an(e,t){var n=un(e,t);if(0>n)return!1;var r=e.length-1;return n==r?e.pop():Tu.call(e,n,1),!0}function sn(e,t){var n=un(e,t);return 0>n?X:e[n][1]}function cn(e,t){return un(e,t)>-1}function un(e,t){for(var n=e.length;n--;)if(La(e[n][0],t))return n;return-1}function pn(e,t,n){var r=un(e,t);0>r?e.push([t,n]):e[r][1]=n}function ln(e,t,n,r){return e===X||La(e,pu[n])&&!du.call(r,n)?t:e}function fn(e,t,n){(n===X||La(e[t],n))&&(\"number\"!=typeof t||n!==X||t in e)||(e[t]=n)}function dn(e,t,n){var r=e[t];du.call(e,t)&&La(r,n)&&(n!==X||t in e)||(e[t]=n)}function hn(e,t,n,r){return sp(e,function(e,i,o){t(r,e,n(e),o)}),r}function mn(e,t){return e&&Gr(t,Ws(t),e)}function vn(e,t){for(var n=-1,r=null==e,i=t.length,o=Array(i);++n<i;)o[n]=r?X:Us(e,t[n]);return o}function gn(e,t,n){return e===e&&(n!==X&&(e=n>=e?e:n),t!==X&&(e=e>=t?e:t)),e}function yn(e,t,n,r,i,o,a){var s;if(r&&(s=o?r(e,i,o,a):r(e)),s!==X)return s;if(!os(e))return e;var u=Zp(e);if(u){if(s=Ii(e),!t)return Kr(e,s)}else{var p=Ai(e),l=p==Be||p==Ne;if(Qp(e))return Dr(e,t);if(p==Re||p==Ie||l&&!o){if(U(e))return o?e:{};if(s=Pi(l?{}:e),!t)return Jr(e,mn(s,e))}else{if(!Cn[p])return o?e:{};s=Fi(e,p,yn,t)}}a||(a=new Xt);var f=a.get(e);if(f)return f;if(a.set(e,s),!u)var d=n?bi(e):Ws(e);return c(d||e,function(i,o){d&&(o=i,i=e[o]),dn(s,o,yn(i,t,n,r,o,e,a))}),s}function bn(e){var t=Ws(e),n=t.length;return function(r){if(null==r)return!n;for(var i=n;i--;){var o=t[i],a=e[o],s=r[o];if(s===X&&!(o in Object(r))||!a(s))return!1}return!0}}function _n(e){return os(e)?Ou(e):{}}function Tn(e,t,n){if(\"function\"!=typeof e)throw new cu(ne);return Cu(function(){e.apply(X,n)},t)}function In(e,t,n,r){var i=-1,o=f,a=!0,s=e.length,c=[],u=t.length;if(!s)return c;n&&(t=h(t,T(n))),r?(o=d,a=!1):t.length>=te&&(o=Zt,a=!1,t=new Jt(t));e:for(;++i<s;){var p=e[i],l=n?n(p):p;if(a&&l===l){for(var m=u;m--;)if(t[m]===l)continue e;c.push(p)}else o(t,l,r)||c.push(p)}return c}function Pn(e,t){var n=!0;return sp(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Fn(e,t,n,r){var i=e.length;for(n=As(n),0>n&&(n=-n>i?0:i+n),r=r===X||r>i?i:As(r),0>r&&(r+=i),r=n>r?0:Cs(r);r>n;)e[n++]=t;return e}function Mn(e,t){var n=[];return sp(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Nn(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=zi),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?Nn(s,t-1,n,r,i):m(i,s):r||(i[i.length]=s)}return i}function Dn(e,t){return e&&up(e,t,Ws)}function Rn(e,t){return e&&pp(e,t,Ws)}function Ln(e,t){return l(t,function(t){return ns(e[t])})}function $n(e,t){t=Di(t,e)?[t]:Br(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[t[n++]];return n&&n==r?e:X}function Un(e,t,n){var r=t(e);return Zp(e)?r:m(r,n(e))}function Wn(e,t){return du.call(e,t)||\"object\"==typeof e&&t in e&&null===Ei(e)}function Yn(e,t){return t in Object(e)}function Kn(e,t,n){return e>=Du(t,n)&&e<Nu(t,n)}function Gn(e,t,n){for(var r=n?d:f,i=e[0].length,o=e.length,a=o,s=Array(o),c=1/0,u=[];a--;){var p=e[a];a&&t&&(p=h(p,T(t))),c=Du(p.length,c),s[a]=!n&&(t||i>=120&&p.length>=120)?new Jt(a&&p):X}p=e[0];var l=-1,m=s[0];e:for(;++l<i&&u.length<c;){var v=p[l],g=t?t(v):v;if(!(m?Zt(m,g):r(u,g,n))){for(a=o;--a;){var y=s[a];if(!(y?Zt(y,g):r(e[a],g,n)))continue e}m&&m.push(g),u.push(v)}}return u}function Jn(e,t,n,r){return Dn(e,function(e,i,o){t(r,n(e),i,o)}),r}function Zn(e,t,n){Di(t,e)||(t=Br(t),e=Wi(e,t),t=vo(t));var r=null==e?e:e[t];return null==r?X:o(r,e,n)}function Qn(e,t,n,r,i){return e===t?!0:null==e||null==t||!os(e)&&!as(t)?e!==e&&t!==t:Xn(e,t,Qn,n,r,i)}function Xn(e,t,n,r,i,o){var a=Zp(e),s=Zp(t),c=Pe,u=Pe;a||(c=Ai(e),c=c==Ie?Re:c),s||(u=Ai(t),u=u==Ie?Re:u);var p=c==Re&&!U(e),l=u==Re&&!U(t),f=c==u;if(f&&!p)return o||(o=new Xt),a||ws(e)?vi(e,t,n,r,i,o):gi(e,t,c,n,r,i,o);if(!(i&ve)){var d=p&&du.call(e,\"__wrapped__\"),h=l&&du.call(t,\"__wrapped__\");if(d||h){var m=d?e.value():e,v=h?t.value():t;return o||(o=new Xt),n(m,v,r,i,o)}}return f?(o||(o=new Xt),yi(e,t,n,r,i,o)):!1}function er(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=Object(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===X&&!(c in e))return!1}else{var l=new Xt;if(r)var f=r(u,p,c,e,t,l);if(!(f===X?Qn(p,u,r,me|ve,l):f))return!1}}return!0}function tr(e){return\"function\"==typeof e?e:null==e?Nc:\"object\"==typeof e?Zp(e)?ar(e[0],e[1]):or(e):Vc(e)}function nr(e){return Bu(Object(e))}function rr(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}function ir(e,t){var n=-1,r=Wa(e)?Array(e.length):[];return sp(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function or(e){var t=ki(e);return 1==t.length&&t[0][2]?Ui(t[0][0],t[0][1]):function(n){return n===e||er(n,e,t)}}function ar(e,t){return Di(e)&&$i(t)?Ui(e,t):function(n){var r=Us(n,e);return r===X&&r===t?Vs(n,e):Qn(t,r,X,me|ve)}}function sr(e,t,n,r,i){if(e!==t){if(!Zp(t)&&!ws(t))var o=Ys(t);c(o||t,function(a,s){if(o&&(s=a,a=t[s]),os(a))i||(i=new Xt),cr(e,t,s,n,sr,r,i);else{var c=r?r(e[s],a,s+\"\",e,t,i):X;c===X&&(c=a),fn(e,s,c)}})}}function cr(e,t,n,r,i,o,a){var s=e[n],c=t[n],u=a.get(c);if(u)return void fn(e,n,u);var p=o?o(s,c,n+\"\",e,t,a):X,l=p===X;l&&(p=c,Zp(c)||ws(c)?Zp(s)?p=s:Ya(s)?p=Kr(s):(l=!1,p=yn(c,!0)):ms(c)||Ha(c)?Ha(s)?p=Is(s):!os(s)||r&&ns(s)?(l=!1,p=yn(c,!0)):p=s:l=!1),a.set(c,p),l&&i(p,c,r,o,a),a[\"delete\"](c),fn(e,n,p)}function ur(e,t){var n=e.length;if(n)return t+=0>t?n:0,H(t,n)?e[t]:X}function pr(e,t,n){var r=-1;t=h(t.length?t:[Nc],T(_i()));var i=ir(e,function(e,n,i){var o=h(t,function(t){return t(e)});return{criteria:o,index:++r,value:e}});return E(i,function(e,t){return B(e,t,n)})}function lr(e,t){return e=Object(e),v(t,function(t,n){return n in e&&(t[n]=e[n]),t},{})}function fr(e,t){for(var n=-1,r=xi(e),i=r.length,o={};++n<i;){var a=r[n],s=e[a];t(s,a)&&(o[a]=s)}return o}function dr(e){return function(t){return null==t?X:t[e]}}function hr(e){return function(t){return $n(t,e)}}function mr(e,t,n,r){var i=r?k:_,o=-1,a=t.length,s=e;for(n&&(s=h(e,T(n)));++o<a;)for(var c=0,u=t[o],p=n?n(u):u;(c=i(s,p,c,r))>-1;)s!==e&&Tu.call(s,c,1),Tu.call(e,c,1);return e}function vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(r==n||i!=o){var o=i;if(H(i))Tu.call(e,i,1);else if(Di(i,e))delete e[i];else{var a=Br(i),s=Wi(e,a);null!=s&&delete s[vo(a)]}}}return e}function gr(e,t){return e+Pu(Ru()*(t-e+1))}function yr(e,t,n,r){for(var i=-1,o=Nu(Iu((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}function br(e,t){var n=\"\";if(!e||1>t||t>Se)return n;do t%2&&(n+=e),t=Pu(t/2),t&&(e+=e);while(t);return n}function xr(e,t,n,r){t=Di(t,e)?[t]:Br(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];if(os(s)){var u=n;if(i!=a){var p=s[c];u=r?r(p,c,s):X,u===X&&(u=null==p?H(t[i+1])?[]:{}:p)}dn(s,c,u)}s=s[c]}return e}function wr(e,t,n){var r=-1,i=e.length;0>t&&(t=-t>i?0:i+t),n=n>i?i:n,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function _r(e,t){var n;return sp(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function kr(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Te>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return jr(e,t,Nc,n)}function jr(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===X;o>i;){var u=Pu((i+o)/2),p=n(e[u]),l=p!==X,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return Du(o,Ce)}function Sr(e){return Er(e)}function Er(e,t){for(var n=0,r=e.length,i=e[0],o=t?t(i):i,a=o,s=1,c=[i];++n<r;)i=e[n],o=t?t(i):i,La(o,a)||(a=o,c[s++]=i);return c}function Or(e,t,n){var r=-1,i=f,o=e.length,a=!0,s=[],c=s;if(n)a=!1,i=d;else if(o>=te){var u=t?null:fp(e);if(u)return K(u);a=!1,i=Zt,c=new Jt}else c=t?[]:s;e:for(;++r<o;){var p=e[r],l=t?t(p):p;if(a&&l===l){for(var h=c.length;h--;)if(c[h]===l)continue e;t&&c.push(l),s.push(p)}else i(c,l,n)||(c!==s&&c.push(l),s.push(p))}return s}function Ar(e,t){t=Di(t,e)?[t]:Br(t),e=Wi(e,t);var n=vo(t);return null!=e&&Hs(e,n)?delete e[n]:!0}function Cr(e,t,n,r){return xr(e,t,n($n(e,t)),r)}function Tr(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?wr(e,r?0:o,r?o+1:i):wr(e,r?o+1:0,r?i:o)}function Ir(e,t){var n=e;return n instanceof Pt&&(n=n.value()),v(t,function(e,t){return t.func.apply(t.thisArg,m([e],t.args))},n)}function Pr(e,t,n){for(var r=-1,i=e.length;++r<i;)var o=o?m(In(o,e[r],t,n),In(e[r],o,t,n)):e[r];return o&&o.length?Or(o,t,n):[]}function Fr(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=o>r?t[r]:X;n(a,e[r],s)}return a}function Mr(e){return Ya(e)?e:[]}function zr(e){return\"function\"==typeof e?e:Nc}function Br(e){return Zp(e)?e:gp(e)}function Nr(e,t,n){var r=e.length;return n=n===X?r:n,!t&&n>=r?e:wr(e,t,n)}function Dr(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function qr(e){var t=new e.constructor(e.byteLength);return new _u(t).set(new _u(e)),t}function Rr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Lr(e,t,n){var i=t?n(W(e),!0):W(e);return v(i,r,new e.constructor)}function $r(e){var t=new e.constructor(e.source,Et.exec(e));return t.lastIndex=e.lastIndex,t}function Ur(e,t,n){var r=t?n(K(e),!0):K(e);return v(r,i,new e.constructor)}function Hr(e){return op?Object(op.call(e)):{}}function Vr(e,t){var n=t?qr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Wr(e,t,n,r){for(var i=-1,o=e.length,a=n.length,s=-1,c=t.length,u=Nu(o-a,0),p=Array(c+u),l=!r;++s<c;)p[s]=t[s];for(;++i<a;)(l||o>i)&&(p[n[i]]=e[i]);for(;u--;)p[s++]=e[i++];return p}function Yr(e,t,n,r){for(var i=-1,o=e.length,a=-1,s=n.length,c=-1,u=t.length,p=Nu(o-s,0),l=Array(p+u),f=!r;++i<p;)l[i]=e[i];for(var d=i;++c<u;)l[d+c]=t[c];for(;++a<s;)(f||o>i)&&(l[d+n[a]]=e[i++]);return l}function Kr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function Gr(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):e[a];dn(n,a,s)}return n}function Jr(e,t){return Gr(e,Oi(e),t)}function Zr(e,t){return function(n,r){var i=Zp(n)?a:hn,o=t?t():{};return i(n,e,_i(r),o)}}function Qr(e){return Ia(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:X,a=i>2?n[2]:X;for(o=\"function\"==typeof o?(i--,o):X,a&&Ni(n[0],n[1],a)&&(o=3>i?X:o,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t})}function Xr(e,t){return function(n,r){if(null==n)return n;if(!Wa(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function ei(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(n(o[c],c,o)===!1)break}return t}}function ti(e,t,n){function r(){var t=this&&this!==Hn&&this instanceof r?o:e;return t.apply(i?n:this,arguments)}var i=t&oe,o=ii(e);return r}function ni(e){return function(t){t=Fs(t);var n=jn.test(t)?J(t):X,r=n?n[0]:t.charAt(0),i=n?Nr(n,1).join(\"\"):t.slice(1);return r[e]()+i}}function ri(e){return function(t){return v(Fc(dc(t).replace(xn,\"\")),e,\"\")}}function ii(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=_n(e.prototype),r=e.apply(n,t);return os(r)?r:n}}function oi(e,t,n){function r(){for(var a=arguments.length,s=Array(a),c=a,u=Si(r);c--;)s[c]=arguments[c];var p=3>a&&s[0]!==u&&s[a-1]!==u?[]:Y(s,u);if(a-=p.length,n>a)return di(e,t,si,r.placeholder,X,s,p,X,X,n-a);var l=this&&this!==Hn&&this instanceof r?i:e;return o(l,this,s)}var i=ii(e);return r}function ai(e){return Ia(function(t){t=Nn(t,1);var n=t.length,r=n,i=M.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if(\"function\"!=typeof o)throw new cu(ne);if(i&&!a&&\"wrapper\"==wi(o))var a=new M([],!0)}for(r=a?r:n;++r<n;){o=t[r];var s=wi(o),c=\"wrapper\"==s?dp(o):X;a=c&&Ri(c[0])&&c[1]==(fe|ce|pe|de)&&!c[4].length&&1==c[9]?a[wi(c[0])].apply(a,c[3]):1==o.length&&Ri(o)?a[s]():a.thru(o)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Zp(r)&&r.length>=te)return a.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function si(e,t,n,r,i,o,a,s,c,u){function p(){for(var g=arguments.length,y=g,b=Array(g);y--;)b[y]=arguments[y];if(h)var x=Si(p),w=N(b,x);if(r&&(b=Wr(b,r,i,h)),o&&(b=Yr(b,o,a,h)),g-=w,h&&u>g){var _=Y(b,x);return di(e,t,si,p.placeholder,n,b,_,s,c,u-g)}var k=f?n:this,j=d?k[e]:e;return g=b.length,s?b=Yi(b,s):m&&g>1&&b.reverse(),l&&g>c&&(b.length=c),this&&this!==Hn&&this instanceof p&&(j=v||ii(j)),j.apply(k,b)}var l=t&fe,f=t&oe,d=t&ae,h=t&(ce|ue),m=t&he,v=d?X:ii(e);return p}function ci(e,t){return function(n,r){return Jn(n,e,t(r),{})}}function ui(e){return Ia(function(t){return t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i())),Ia(function(n){var r=this;return e(t,function(e){return o(e,r,n)})})})}function pi(e,t){t=t===X?\" \":t+\"\";var n=t.length;if(2>n)return n?br(t,e):t;var r=br(t,Iu(e/G(t)));return jn.test(t)?Nr(J(r),0,e).join(\"\"):r.slice(0,e)}function li(e,t,n,r){function i(){for(var t=-1,c=arguments.length,u=-1,p=r.length,l=Array(p+c),f=this&&this!==Hn&&this instanceof i?s:e;++u<p;)l[u]=r[u];for(;c--;)l[u++]=arguments[++t];return o(f,a?n:this,l)}var a=t&oe,s=ii(e);return i}function fi(e){return function(t,n,r){return r&&\"number\"!=typeof r&&Ni(t,n,r)&&(n=r=X),t=Ts(t),t=t===t?t:0,n===X?(n=t,t=0):n=Ts(n)||0,r=r===X?n>t?1:-1:Ts(r)||0,yr(t,n,r,e)}}function di(e,t,n,r,i,o,a,s,c,u){var p=t&ce,l=p?a:X,f=p?X:a,d=p?o:X,h=p?X:o;t|=p?pe:le,t&=~(p?le:pe),t&se||(t&=~(oe|ae));var m=[e,t,i,d,l,h,f,s,c,u],v=n.apply(X,m);return Ri(e)&&vp(v,m),v.placeholder=r,v}function hi(e){var t=au[e];return function(e,n){if(e=Ts(e),n=As(n)){var r=(Fs(e)+\"e\").split(\"e\"),i=t(r[0]+\"e\"+(+r[1]+n));return r=(Fs(i)+\"e\").split(\"e\"),+(r[0]+\"e\"+(+r[1]-n))}return t(e)}}function mi(e,t,n,r,i,o,a,s){var c=t&ae;if(!c&&\"function\"!=typeof e)throw new cu(ne);var u=r?r.length:0;if(u||(t&=~(pe|le),r=i=X),a=a===X?a:Nu(As(a),0),s=s===X?s:As(s),u-=i?i.length:0,t&le){var p=r,l=i;r=i=X}var f=c?X:dp(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&Hi(d,f),e=d[0],t=d[1],n=d[2],r=d[3],i=d[4],s=d[9]=null==d[9]?c?0:e.length:Nu(d[9]-u,0),!s&&t&(ce|ue)&&(t&=~(ce|ue)),t&&t!=oe)h=t==ce||t==ue?oi(e,t,s):t!=pe&&t!=(oe|pe)||i.length?si.apply(X,d):li(e,t,n,r);else var h=ti(e,t,n);var m=f?lp:vp;return m(h,d)}function vi(e,t,n,r,i,o){var a=-1,s=i&ve,c=i&me,u=e.length,p=t.length;if(u!=p&&!(s&&p>u))return!1;var l=o.get(e);if(l)return l==t;var f=!0;for(o.set(e,t);++a<u;){var d=e[a],h=t[a];if(r)var m=s?r(h,d,a,t,e,o):r(d,h,a,e,t,o);if(m!==X){if(m)continue;f=!1;break}if(c){if(!y(t,function(e){return d===e||n(d,e,r,i,o)})){f=!1;break}}else if(d!==h&&!n(d,h,r,i,o)){f=!1;break}}return o[\"delete\"](e),f}function gi(e,t,n,r,i,o,a){switch(n){case Ge:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ke:return!(e.byteLength!=t.byteLength||!r(new _u(e),new _u(t)));case Fe:case Me:return+e==+t;case ze:return e.name==t.name&&e.message==t.message;case qe:return e!=+e?t!=+t:e==+t;case $e:case He:return e==t+\"\";case De:var s=W;case Ue:var c=o&ve;if(s||(s=K),e.size!=t.size&&!c)return!1;var u=a.get(e);return u?u==t:(o|=me,a.set(e,t),vi(s(e),s(t),r,i,o,a));case Ve:if(op)return op.call(e)==op.call(t)}return!1}function yi(e,t,n,r,i,o){var a=i&ve,s=Ws(e),c=s.length,u=Ws(t),p=u.length;if(c!=p&&!a)return!1;for(var l=c;l--;){var f=s[l];if(!(a?f in t:Wn(t,f)))return!1}var d=o.get(e);if(d)return d==t;var h=!0;o.set(e,t);for(var m=a;++l<c;){f=s[l];var v=e[f],g=t[f];if(r)var y=a?r(g,v,f,t,e,o):r(v,g,f,e,t,o);if(!(y===X?v===g||n(v,g,r,i,o):y)){h=!1;break}m||(m=\"constructor\"==f)}if(h&&!m){var b=e.constructor,x=t.constructor;b!=x&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof b&&b instanceof b&&\"function\"==typeof x&&x instanceof x)&&(h=!1)}return o[\"delete\"](e),h}function bi(e){return Un(e,Ws,Oi)}function xi(e){return Un(e,Ys,mp)}function wi(e){for(var t=e.name+\"\",n=Qu[t],r=du.call(Qu,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function _i(){var e=t.iteratee||Dc;return e=e===Dc?tr:e,arguments.length?e(arguments[0],arguments[1]):e}function ki(e){for(var t=tc(e),n=t.length;n--;)t[n][2]=$i(t[n][1]);return t}function ji(e,t){var n=e[t];return ls(n)?n:X}function Si(e){var n=du.call(t,\"placeholder\")?t:e;return n.placeholder}function Ei(e){return Fu(Object(e))}function Oi(e){return Su(Object(e))}function Ai(e){return vu.call(e)}function Ci(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=Du(t,e+a);break;case\"takeRight\":e=Nu(e,t-a)}}return{start:e,end:t}}function Ti(e,t,n){t=Di(t,e)?[t]:Br(t);for(var r,i=-1,o=t.length;++i<o;){var a=t[i];if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var o=e?e.length:0;return!!o&&is(o)&&H(a,o)&&(Zp(e)||bs(e)||Ha(e))}function Ii(e){var t=e.length,n=e.constructor(t);return t&&\"string\"==typeof e[0]&&du.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Pi(e){return\"function\"!=typeof e.constructor||Li(e)?{}:_n(Ei(e))}function Fi(e,t,n,r){var i=e.constructor;switch(t){case Ke:return qr(e);case Fe:case Me:return new i(+e);case Ge:return Rr(e,r);case Je:case Ze:case Qe:case Xe:case et:case tt:case nt:case rt:case it:return Vr(e,r);case De:return Lr(e,r,n);case qe:case He:return new i(e);case $e:return $r(e);case Ue:return Ur(e,r,n);case Ve:return Hr(e)}}function Mi(e){var t=e?e.length:X;return is(t)&&(Zp(e)||bs(e)||Ha(e))?A(t,String):null}function zi(e){return Ya(e)&&(Zp(e)||Ha(e))}function Bi(e){return Zp(e)&&!(2==e.length&&!ns(e[0]))}function Ni(e,t,n){if(!os(n))return!1;var r=typeof t;return(\"number\"==r?Wa(n)&&H(t,n.length):\"string\"==r&&t in n)?La(n[t],e):!1}function Di(e,t){var n=typeof e;return\"number\"==n||\"symbol\"==n?!0:!Zp(e)&&(xs(e)||vt.test(e)||!mt.test(e)||null!=t&&e in Object(t))}function qi(e){var t=typeof e;return\"number\"==t||\"boolean\"==t||\"string\"==t&&\"__proto__\"!=e||null==e}function Ri(e){var n=wi(e),r=t[n];if(\"function\"!=typeof r||!(n in Pt.prototype))return!1;if(e===r)return!0;var i=dp(r);return!!i&&e===i[0]}function Li(e){var t=e&&e.constructor,n=\"function\"==typeof t&&t.prototype||pu;return e===n}function $i(e){return e===e&&!os(e)}function Ui(e,t){return function(n){return null==n?!1:n[e]===t&&(t!==X||e in Object(n))}}function Hi(e,t){var n=e[1],r=t[1],i=n|r,o=(oe|ae|fe)>i,a=r==fe&&n==ce||r==fe&&n==de&&e[7].length<=t[8]||r==(fe|de)&&t[7].length<=t[8]&&n==ce;\nif(!o&&!a)return e;r&oe&&(e[2]=t[2],i|=n&oe?0:se);var s=t[3];if(s){var c=e[3];e[3]=c?Wr(c,s,t[4]):s,e[4]=c?Y(e[3],ie):t[4]}return s=t[5],s&&(c=e[5],e[5]=c?Yr(c,s,t[6]):s,e[6]=c?Y(e[5],ie):t[6]),s=t[7],s&&(e[7]=s),r&fe&&(e[8]=null==e[8]?t[8]:Du(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Vi(e,t,n,r,i,o){return os(e)&&os(t)&&sr(e,t,X,Vi,o.set(t,e)),e}function Wi(e,t){return 1==t.length?e:$n(e,wr(t,0,-1))}function Yi(e,t){for(var n=e.length,r=Du(t.length,n),i=Kr(e);r--;){var o=t[r];e[r]=H(o,n)?i[o]:X}return e}function Ki(e){return\"string\"==typeof e||xs(e)?e:e+\"\"}function Gi(e){if(null!=e){try{return fu.call(e)}catch(t){}try{return e+\"\"}catch(t){}}return\"\"}function Ji(e){if(e instanceof Pt)return e.clone();var t=new M(e.__wrapped__,e.__chain__);return t.__actions__=Kr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Zi(e,t,n){t=(n?Ni(e,t,n):t===X)?1:Nu(As(t),0);var r=e?e.length:0;if(!r||1>t)return[];for(var i=0,o=0,a=Array(Iu(r/t));r>i;)a[o++]=wr(e,i,i+=t);return a}function Qi(e){for(var t=-1,n=e?e.length:0,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function Xi(){var e=arguments.length,t=Ba(arguments[0]);if(2>e)return e?Kr(t):[];for(var n=Array(e-1);e--;)n[e-1]=arguments[e];return s(t,Nn(n,1))}function eo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),wr(e,0>t?0:t,r)):[]}function to(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0,0>t?0:t)):[]}function no(e,t){return e&&e.length?Tr(e,_i(t,3),!0,!0):[]}function ro(e,t){return e&&e.length?Tr(e,_i(t,3),!0):[]}function io(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Ni(e,t,n)&&(n=0,r=i),Fn(e,t,n,r)):[]}function oo(e,t){return e&&e.length?w(e,_i(t,3)):-1}function ao(e,t){return e&&e.length?w(e,_i(t,3),!0):-1}function so(e){var t=e?e.length:0;return t?Nn(e,1):[]}function co(e){var t=e?e.length:0;return t?Nn(e,je):[]}function uo(e,t){var n=e?e.length:0;return n?(t=t===X?1:As(t),Nn(e,t)):[]}function po(e){for(var t=-1,n=e?e.length:0,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function lo(e){return e&&e.length?e[0]:X}function fo(e,t,n){var r=e?e.length:0;return r?(n=As(n),0>n&&(n=Nu(r+n,0)),_(e,t,n)):-1}function ho(e){return to(e,1)}function mo(e,t){return e?zu.call(e,t):\"\"}function vo(e){var t=e?e.length:0;return t?e[t-1]:X}function go(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(n!==X&&(i=As(n),i=(0>i?Nu(r+i,0):Du(i,r-1))+1),t!==t)return $(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function yo(e,t){return e&&e.length?ur(e,As(t)):X}function bo(e,t){return e&&e.length&&t&&t.length?mr(e,t):e}function xo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,_i(n)):e}function wo(e,t,n){return e&&e.length&&t&&t.length?mr(e,t,X,n):e}function _o(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=_i(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return vr(e,i),n}function ko(e){return e?$u.call(e):e}function jo(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Ni(e,t,n)?(t=0,n=r):(t=null==t?0:As(t),n=n===X?r:As(n)),wr(e,t,n)):[]}function So(e,t){return kr(e,t)}function Eo(e,t,n){return jr(e,t,_i(n))}function Oo(e,t){var n=e?e.length:0;if(n){var r=kr(e,t);if(n>r&&La(e[r],t))return r}return-1}function Ao(e,t){return kr(e,t,!0)}function Co(e,t,n){return jr(e,t,_i(n),!0)}function To(e,t){var n=e?e.length:0;if(n){var r=kr(e,t,!0)-1;if(La(e[r],t))return r}return-1}function Io(e){return e&&e.length?Sr(e):[]}function Po(e,t){return e&&e.length?Er(e,_i(t)):[]}function Fo(e){return eo(e,1)}function Mo(e,t,n){return e&&e.length?(t=n||t===X?1:As(t),wr(e,0,0>t?0:t)):[]}function zo(e,t,n){var r=e?e.length:0;return r?(t=n||t===X?1:As(t),t=r-t,wr(e,0>t?0:t,r)):[]}function Bo(e,t){return e&&e.length?Tr(e,_i(t,3),!1,!0):[]}function No(e,t){return e&&e.length?Tr(e,_i(t,3)):[]}function Do(e){return e&&e.length?Or(e):[]}function qo(e,t){return e&&e.length?Or(e,_i(t)):[]}function Ro(e,t){return e&&e.length?Or(e,X,t):[]}function Lo(e){if(!e||!e.length)return[];var t=0;return e=l(e,function(e){return Ya(e)?(t=Nu(e.length,t),!0):void 0}),A(t,function(t){return h(e,dr(t))})}function $o(e,t){if(!e||!e.length)return[];var n=Lo(e);return null==t?n:h(n,function(e){return o(t,X,e)})}function Uo(e,t){return Fr(e||[],t||[],dn)}function Ho(e,t){return Fr(e||[],t||[],xr)}function Vo(e){var n=t(e);return n.__chain__=!0,n}function Wo(e,t){return t(e),e}function Yo(e,t){return t(e)}function Ko(){return Vo(this)}function Go(){return new M(this.value(),this.__chain__)}function Jo(){this.__values__===X&&(this.__values__=Os(this.value()));var e=this.__index__>=this.__values__.length,t=e?X:this.__values__[this.__index__++];return{done:e,value:t}}function Zo(){return this}function Qo(e){for(var t,r=this;r instanceof n;){var i=Ji(r);i.__index__=0,i.__values__=X,t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Xo(){var e=this.__wrapped__;if(e instanceof Pt){var t=e;return this.__actions__.length&&(t=new Pt(this)),t=t.reverse(),t.__actions__.push({func:Yo,args:[ko],thisArg:X}),new M(t,this.__chain__)}return this.thru(ko)}function ea(){return Ir(this.__wrapped__,this.__actions__)}function ta(e,t,n){var r=Zp(e)?p:Pn;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function na(e,t){var n=Zp(e)?l:Mn;return n(e,_i(t,3))}function ra(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t);return n>-1?e[n]:X}return x(e,t,sp)}function ia(e,t){if(t=_i(t,3),Zp(e)){var n=w(e,t,!0);return n>-1?e[n]:X}return x(e,t,cp)}function oa(e,t){return Nn(la(e,t),1)}function aa(e,t){return Nn(la(e,t),je)}function sa(e,t,n){return n=n===X?1:As(n),Nn(la(e,t),n)}function ca(e,t){return\"function\"==typeof t&&Zp(e)?c(e,t):sp(e,_i(t))}function ua(e,t){return\"function\"==typeof t&&Zp(e)?u(e,t):cp(e,_i(t))}function pa(e,t,n,r){e=Wa(e)?e:sc(e),n=n&&!r?As(n):0;var i=e.length;return 0>n&&(n=Nu(i+n,0)),bs(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&_(e,t,n)>-1}function la(e,t){var n=Zp(e)?h:ir;return n(e,_i(t,3))}function fa(e,t,n,r){return null==e?[]:(Zp(t)||(t=null==t?[]:[t]),n=r?X:n,Zp(n)||(n=null==n?[]:[n]),pr(e,t,n))}function da(e,t,n){var r=Zp(e)?v:S,i=arguments.length<3;return r(e,_i(t,4),n,i,sp)}function ha(e,t,n){var r=Zp(e)?g:S,i=arguments.length<3;return r(e,_i(t,4),n,i,cp)}function ma(e,t){var n=Zp(e)?l:Mn;return t=_i(t,3),n(e,function(e,n,r){return!t(e,n,r)})}function va(e){var t=Wa(e)?e:sc(e),n=t.length;return n>0?t[gr(0,n-1)]:X}function ga(e,t,n){var r=-1,i=Os(e),o=i.length,a=o-1;for(t=(n?Ni(e,t,n):t===X)?1:gn(As(t),0,o);++r<t;){var s=gr(r,a),c=i[s];i[s]=i[r],i[r]=c}return i.length=t,i}function ya(e){return ga(e,Ae)}function ba(e){if(null==e)return 0;if(Wa(e)){var t=e.length;return t&&bs(e)?G(e):t}if(as(e)){var n=Ai(e);if(n==De||n==Ue)return e.size}return Ws(e).length}function xa(e,t,n){var r=Zp(e)?y:_r;return n&&Ni(e,t,n)&&(t=X),r(e,_i(t,3))}function wa(e,t){if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e<1?t.apply(this,arguments):void 0}}function _a(e,t,n){return t=n?X:t,t=e&&null==t?e.length:t,mi(e,fe,X,X,X,X,t)}function ka(e,t){var n;if(\"function\"!=typeof t)throw new cu(ne);return e=As(e),function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=X),n}}function ja(e,t,n){t=n?X:t;var r=mi(e,ce,X,X,X,X,X,t);return r.placeholder=ja.placeholder,r}function Sa(e,t,n){t=n?X:t;var r=mi(e,ue,X,X,X,X,X,t);return r.placeholder=Sa.placeholder,r}function Ea(e,t,n){function r(t){var n=f,r=d;return f=d=X,y=t,m=e.apply(r,n)}function i(e){return y=e,v=Cu(s,t),b?r(e):m}function o(e){var n=e-g,r=e-y,i=t-n;return x?Du(i,h-r):i}function a(e){var n=e-g,r=e-y;return!g||n>=t||0>n||x&&r>=h}function s(){var e=$p();return a(e)?c(e):void(v=Cu(s,o(e)))}function c(e){return ku(v),v=X,w&&f?r(e):(f=d=X,m)}function u(){v!==X&&ku(v),g=y=0,f=d=v=X}function p(){return v===X?m:c($p())}function l(){var e=$p(),n=a(e);if(f=arguments,d=this,g=e,n){if(v===X)return i(g);if(x)return ku(v),v=Cu(s,t),r(g)}return v===X&&(v=Cu(s,t)),m}var f,d,h,m,v,g=0,y=0,b=!1,x=!1,w=!0;if(\"function\"!=typeof e)throw new cu(ne);return t=Ts(t)||0,os(n)&&(b=!!n.leading,x=\"maxWait\"in n,h=x?Nu(Ts(n.maxWait)||0,t):h,w=\"trailing\"in n?!!n.trailing:w),l.cancel=u,l.flush=p,l}function Oa(e){return mi(e,he)}function Aa(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new cu(ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Aa.Cache||Ht),n}function Ca(e){if(\"function\"!=typeof e)throw new cu(ne);return function(){return!e.apply(this,arguments)}}function Ta(e){return ka(2,e)}function Ia(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=Nu(t===X?e.length-1:As(t),0),function(){for(var n=arguments,r=-1,i=Nu(n.length-t,0),a=Array(i);++r<i;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,o(e,this,s)}}function Pa(e,t){if(\"function\"!=typeof e)throw new cu(ne);return t=t===X?0:Nu(As(t),0),Ia(function(n){var r=n[t],i=Nr(n,0,t);return r&&m(i,r),o(e,this,i)})}function Fa(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new cu(ne);return os(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),Ea(e,t,{leading:r,maxWait:t,trailing:i})}function Ma(e){return _a(e,1)}function za(e,t){return t=null==t?Nc:t,Kp(t,e)}function Ba(){if(!arguments.length)return[];var e=arguments[0];return Zp(e)?e:[e]}function Na(e){return yn(e,!1,!0)}function Da(e,t){return yn(e,!1,!0,t)}function qa(e){return yn(e,!0,!0)}function Ra(e,t){return yn(e,!0,!0,t)}function La(e,t){return e===t||e!==e&&t!==t}function $a(e,t){return e>t}function Ua(e,t){return e>=t}function Ha(e){return Ya(e)&&du.call(e,\"callee\")&&(!Au.call(e,\"callee\")||vu.call(e)==Ie)}function Va(e){return as(e)&&vu.call(e)==Ke}function Wa(e){return null!=e&&is(hp(e))&&!ns(e)}function Ya(e){return as(e)&&Wa(e)}function Ka(e){return e===!0||e===!1||as(e)&&vu.call(e)==Fe}function Ga(e){return as(e)&&vu.call(e)==Me}function Ja(e){return!!e&&1===e.nodeType&&as(e)&&!ms(e)}function Za(e){if(Wa(e)&&(Zp(e)||bs(e)||ns(e.splice)||Ha(e)||Qp(e)))return!e.length;if(as(e)){var t=Ai(e);if(t==De||t==Ue)return!e.size}for(var n in e)if(du.call(e,n))return!1;return!(Zu&&Ws(e).length)}function Qa(e,t){return Qn(e,t)}function Xa(e,t,n){n=\"function\"==typeof n?n:X;var r=n?n(e,t):X;return r===X?Qn(e,t,n):!!r}function es(e){return as(e)?vu.call(e)==ze||\"string\"==typeof e.message&&\"string\"==typeof e.name:!1}function ts(e){return\"number\"==typeof e&&Mu(e)}function ns(e){var t=os(e)?vu.call(e):\"\";return t==Be||t==Ne}function rs(e){return\"number\"==typeof e&&e==As(e)}function is(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Se>=e}function os(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function as(e){return!!e&&\"object\"==typeof e}function ss(e){return as(e)&&Ai(e)==De}function cs(e,t){return e===t||er(e,t,ki(t))}function us(e,t,n){return n=\"function\"==typeof n?n:X,er(e,t,ki(t),n)}function ps(e){return hs(e)&&e!=+e}function ls(e){if(!os(e))return!1;var t=ns(e)||U(e)?yu:Tt;return t.test(Gi(e))}function fs(e){return null===e}function ds(e){return null==e}function hs(e){return\"number\"==typeof e||as(e)&&vu.call(e)==qe}function ms(e){if(!as(e)||vu.call(e)!=Re||U(e))return!1;var t=Ei(e);if(null===t)return!0;var n=du.call(t,\"constructor\")&&t.constructor;return\"function\"==typeof n&&n instanceof n&&fu.call(n)==mu}function vs(e){return os(e)&&vu.call(e)==$e}function gs(e){return rs(e)&&e>=-Se&&Se>=e}function ys(e){return as(e)&&Ai(e)==Ue}function bs(e){return\"string\"==typeof e||!Zp(e)&&as(e)&&vu.call(e)==He}function xs(e){return\"symbol\"==typeof e||as(e)&&vu.call(e)==Ve}function ws(e){return as(e)&&is(e.length)&&!!An[vu.call(e)]}function _s(e){return e===X}function ks(e){return as(e)&&Ai(e)==We}function js(e){return as(e)&&vu.call(e)==Ye}function Ss(e,t){return t>e}function Es(e,t){return t>=e}function Os(e){if(!e)return[];if(Wa(e))return bs(e)?J(e):Kr(e);if(Eu&&e[Eu])return V(e[Eu]());var t=Ai(e),n=t==De?W:t==Ue?K:sc;return n(e)}function As(e){if(!e)return 0===e?e:0;if(e=Ts(e),e===je||e===-je){var t=0>e?-1:1;return t*Ee}var n=e%1;return e===e?n?e-n:e:0}function Cs(e){return e?gn(As(e),0,Ae):0}function Ts(e){if(\"number\"==typeof e)return e;if(xs(e))return Oe;if(os(e)){var t=ns(e.valueOf)?e.valueOf():e;e=os(t)?t+\"\":t}if(\"string\"!=typeof e)return 0===e?e:+e;e=e.replace(xt,\"\");var n=Ct.test(e);return n||It.test(e)?Bn(e.slice(2),n?2:8):At.test(e)?Oe:+e}function Is(e){return Gr(e,Ys(e))}function Ps(e){return gn(As(e),-Se,Se)}function Fs(e){if(\"string\"==typeof e)return e;if(null==e)return\"\";if(xs(e))return ap?ap.call(e):\"\";var t=e+\"\";return\"0\"==t&&1/e==-je?\"-0\":t}function Ms(e,t){var n=_n(e);return t?mn(n,t):n}function zs(e,t){return x(e,_i(t,3),Dn,!0)}function Bs(e,t){return x(e,_i(t,3),Rn,!0)}function Ns(e,t){return null==e?e:up(e,_i(t),Ys)}function Ds(e,t){return null==e?e:pp(e,_i(t),Ys)}function qs(e,t){return e&&Dn(e,_i(t))}function Rs(e,t){return e&&Rn(e,_i(t))}function Ls(e){return null==e?[]:Ln(e,Ws(e))}function $s(e){return null==e?[]:Ln(e,Ys(e))}function Us(e,t,n){var r=null==e?X:$n(e,t);return r===X?n:r}function Hs(e,t){return null!=e&&Ti(e,t,Wn)}function Vs(e,t){return null!=e&&Ti(e,t,Yn)}function Ws(e){var t=Li(e);if(!t&&!Wa(e))return nr(e);var n=Mi(e),r=!!n,i=n||[],o=i.length;for(var a in e)!Wn(e,a)||r&&(\"length\"==a||H(a,o))||t&&\"constructor\"==a||i.push(a);return i}function Ys(e){for(var t=-1,n=Li(e),r=rr(e),i=r.length,o=Mi(e),a=!!o,s=o||[],c=s.length;++t<i;){var u=r[t];a&&(\"length\"==u||H(u,c))||\"constructor\"==u&&(n||!du.call(e,u))||s.push(u)}return s}function Ks(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[t(e,r,i)]=e}),n}function Gs(e,t){var n={};return t=_i(t,3),Dn(e,function(e,r,i){n[r]=t(e,r,i)}),n}function Js(e,t){return t=_i(t),fr(e,function(e,n){return!t(e,n)})}function Zs(e,t){return null==e?{}:fr(e,_i(t))}function Qs(e,t,n){t=Di(t,e)?[t]:Br(t);var r=-1,i=t.length;for(i||(e=X,i=1);++r<i;){var o=null==e?X:e[t[r]];o===X&&(r=i,o=n),e=ns(o)?o.call(e):o}return e}function Xs(e,t,n){return null==e?e:xr(e,t,n)}function ec(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:xr(e,t,n,r)}function tc(e){return C(e,Ws(e))}function nc(e){return C(e,Ys(e))}function rc(e,t,n){var r=Zp(e)||ws(e);if(t=_i(t,4),null==n)if(r||os(e)){var i=e.constructor;n=r?Zp(e)?new i:[]:ns(i)?_n(Ei(e)):{}}else n={};return(r?c:Dn)(e,function(e,r,i){return t(n,e,r,i)}),n}function ic(e,t){return null==e?!0:Ar(e,t)}function oc(e,t,n){return null==e?e:Cr(e,t,zr(n))}function ac(e,t,n,r){return r=\"function\"==typeof r?r:X,null==e?e:Cr(e,t,zr(n),r)}function sc(e){return e?I(e,Ws(e)):[]}function cc(e){return null==e?[]:I(e,Ys(e))}function uc(e,t,n){return n===X&&(n=t,t=X),n!==X&&(n=Ts(n),n=n===n?n:0),t!==X&&(t=Ts(t),t=t===t?t:0),gn(Ts(e),t,n)}function pc(e,t,n){return t=Ts(t)||0,n===X?(n=t,t=0):n=Ts(n)||0,e=Ts(e),Kn(e,t,n)}function lc(e,t,n){if(n&&\"boolean\"!=typeof n&&Ni(e,t,n)&&(t=n=X),n===X&&(\"boolean\"==typeof t?(n=t,t=X):\"boolean\"==typeof e&&(n=e,e=X)),e===X&&t===X?(e=0,t=1):(e=Ts(e)||0,t===X?(t=e,e=0):t=Ts(t)||0),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Ru();return Du(e+i*(t-e+zn(\"1e-\"+((i+\"\").length-1))),t)}return gr(e,t)}function fc(e){return xl(Fs(e).toLowerCase())}function dc(e){return e=Fs(e),e&&e.replace(Ft,q).replace(wn,\"\")}function hc(e,t,n){e=Fs(e),t=\"string\"==typeof t?t:t+\"\";var r=e.length;return n=n===X?r:gn(As(n),0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function mc(e){return e=Fs(e),e&&lt.test(e)?e.replace(ut,R):e}function vc(e){return e=Fs(e),e&&bt.test(e)?e.replace(yt,\"\\\\$&\"):e}function gc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return pi(Pu(i),n)+e+pi(Iu(i),n)}function yc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?e+pi(t-r,n):e}function bc(e,t,n){e=Fs(e),t=As(t);var r=t?G(e):0;return t&&t>r?pi(t-r,n)+e:e}function xc(e,t,n){return n||null==t?t=0:t&&(t=+t),e=Fs(e).replace(xt,\"\"),qu(e,t||(Ot.test(e)?16:10))}function wc(e,t,n){return t=(n?Ni(e,t,n):t===X)?1:As(t),br(Fs(e),t)}function _c(){var e=arguments,t=Fs(e[0]);return e.length<3?t:Lu.call(t,e[1],e[2])}function kc(e,t,n){return n&&\"number\"!=typeof n&&Ni(e,t,n)&&(t=n=X),(n=n===X?Ae:n>>>0)?(e=Fs(e),e&&(\"string\"==typeof t||null!=t&&!vs(t))&&(t+=\"\",\"\"==t&&jn.test(e))?Nr(J(e),0,n):Uu.call(e,t,n)):[]}function jc(e,t,n){return e=Fs(e),n=gn(As(n),0,e.length),e.lastIndexOf(t,n)==n}function Sc(e,n,r){var i=t.templateSettings;r&&Ni(e,n,r)&&(n=X),e=Fs(e),n=tl({},n,i,ln);var o,a,s=tl({},n.imports,i.imports,ln),c=Ws(s),u=I(s,c),p=0,l=n.interpolate||Mt,f=\"__p += '\",d=su((n.escape||Mt).source+\"|\"+l.source+\"|\"+(l===ht?St:Mt).source+\"|\"+(n.evaluate||Mt).source+\"|$\",\"g\"),h=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++On+\"]\")+\"\\n\";e.replace(d,function(t,n,r,i,s,c){return r||(r=i),f+=e.slice(p,c).replace(zt,L),n&&(o=!0,f+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,f+=\"';\\n\"+s+\";\\n__p += '\"),r&&(f+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),p=c+t.length,t}),f+=\"';\\n\";var m=n.variable;m||(f=\"with (obj) {\\n\"+f+\"\\n}\\n\"),f=(a?f.replace(ot,\"\"):f).replace(at,\"$1\").replace(st,\"$1;\"),f=\"function(\"+(m||\"obj\")+\") {\\n\"+(m?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+f+\"return __p\\n}\";var v=wl(function(){return Function(c,h+\"return \"+f).apply(X,u)});if(v.source=f,es(v))throw v;return v}function Ec(e){return Fs(e).toLowerCase()}function Oc(e){return Fs(e).toUpperCase()}function Ac(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(xt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=J(t),o=P(r,i),a=F(r,i)+1;return Nr(r,o,a).join(\"\")}function Cc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(_t,\"\");if(!(t+=\"\"))return e;var r=J(e),i=F(r,J(t))+1;return Nr(r,0,i).join(\"\")}function Tc(e,t,n){if(e=Fs(e),!e)return e;if(n||t===X)return e.replace(wt,\"\");if(!(t+=\"\"))return e;var r=J(e),i=P(r,J(t));return Nr(r,i).join(\"\")}function Ic(e,t){var n=ge,r=ye;if(os(t)){var i=\"separator\"in t?t.separator:i;n=\"length\"in t?As(t.length):n,r=\"omission\"in t?Fs(t.omission):r}e=Fs(e);var o=e.length;if(jn.test(e)){var a=J(e);o=a.length}if(n>=o)return e;var s=n-G(r);if(1>s)return r;var c=a?Nr(a,0,s).join(\"\"):e.slice(0,s);if(i===X)return c+r;if(a&&(s+=c.length-s),vs(i)){if(e.slice(s).search(i)){var u,p=c;for(i.global||(i=su(i.source,Fs(Et.exec(i))+\"g\")),i.lastIndex=0;u=i.exec(p);)var l=u.index;c=c.slice(0,l===X?s:l)}}else if(e.indexOf(i,s)!=s){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r}function Pc(e){return e=Fs(e),e&&pt.test(e)?e.replace(ct,Z):e}function Fc(e,t,n){return e=Fs(e),t=n?X:t,t===X&&(t=Sn.test(e)?kn:kt),e.match(t)||[]}function Mc(e){var t=e?e.length:0,n=_i();return e=t?h(e,function(e){if(\"function\"!=typeof e[1])throw new cu(ne);return[n(e[0]),e[1]]}):[],Ia(function(n){for(var r=-1;++r<t;){var i=e[r];if(o(i[0],this,n))return o(i[1],this,n)}})}function zc(e){return bn(yn(e,!0))}function Bc(e){return function(){return e}}function Nc(e){return e}function Dc(e){return tr(\"function\"==typeof e?e:yn(e,!0))}function qc(e){return or(yn(e,!0))}function Rc(e,t){return ar(e,yn(t,!0))}function Lc(e,t,n){var r=Ws(t),i=Ln(t,r);null!=n||os(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Ln(t,Ws(t)));var o=!(os(n)&&\"chain\"in n&&!n.chain),a=ns(e);return c(i,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=Kr(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,m([this.value()],arguments))})}),e}function $c(){return Hn._===this&&(Hn._=gu),this}function Uc(){}function Hc(e){return e=As(e),Ia(function(t){return ur(t,e)})}function Vc(e){return Di(e)?dr(e):hr(e)}function Wc(e){return function(t){return null==e?X:$n(e,t)}}function Yc(e,t){if(e=As(e),1>e||e>Se)return[];var n=Ae,r=Du(e,Ae);t=_i(t),e-=Ae;for(var i=A(r,t);++n<e;)t(n);return i}function Kc(e){return Zp(e)?h(e,Ki):xs(e)?[e]:Kr(gp(e))}function Gc(e){var t=++hu;return Fs(e)+t}function Jc(e){return e&&e.length?b(e,Nc,$a):X}function Zc(e,t){return e&&e.length?b(e,_i(t),$a):X}function Qc(e){return j(e,Nc)}function Xc(e,t){return j(e,_i(t))}function eu(e){return e&&e.length?b(e,Nc,Ss):X}function tu(e,t){return e&&e.length?b(e,_i(t),Ss):X}function nu(e){return e&&e.length?O(e,Nc):0}function ru(e,t){return e&&e.length?O(e,_i(t)):0}e=e?Vn.defaults({},e,Vn.pick(Hn,En)):Hn;var iu=e.Date,ou=e.Error,au=e.Math,su=e.RegExp,cu=e.TypeError,uu=e.Array.prototype,pu=e.Object.prototype,lu=e.String.prototype,fu=e.Function.prototype.toString,du=pu.hasOwnProperty,hu=0,mu=fu.call(Object),vu=pu.toString,gu=Hn._,yu=su(\"^\"+fu.call(du).replace(yt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),bu=qn?e.Buffer:X,xu=e.Reflect,wu=e.Symbol,_u=e.Uint8Array,ku=e.clearTimeout,ju=xu?xu.enumerate:X,Su=Object.getOwnPropertySymbols,Eu=\"symbol\"==typeof(Eu=wu&&wu.iterator)?Eu:X,Ou=Object.create,Au=pu.propertyIsEnumerable,Cu=e.setTimeout,Tu=uu.splice,Iu=au.ceil,Pu=au.floor,Fu=Object.getPrototypeOf,Mu=e.isFinite,zu=uu.join,Bu=Object.keys,Nu=au.max,Du=au.min,qu=e.parseInt,Ru=au.random,Lu=lu.replace,$u=uu.reverse,Uu=lu.split,Hu=ji(e,\"DataView\"),Vu=ji(e,\"Map\"),Wu=ji(e,\"Promise\"),Yu=ji(e,\"Set\"),Ku=ji(e,\"WeakMap\"),Gu=ji(Object,\"create\"),Ju=Ku&&new Ku,Zu=!Au.call({valueOf:1},\"valueOf\"),Qu={},Xu=Gi(Hu),ep=Gi(Vu),tp=Gi(Wu),np=Gi(Yu),rp=Gi(Ku),ip=wu?wu.prototype:X,op=ip?ip.valueOf:X,ap=ip?ip.toString:X;t.templateSettings={escape:ft,evaluate:dt,interpolate:ht,variable:\"\",imports:{_:t}},t.prototype=n.prototype,t.prototype.constructor=t,M.prototype=_n(n.prototype),M.prototype.constructor=M,Pt.prototype=_n(n.prototype),Pt.prototype.constructor=Pt,qt.prototype=Gu?Gu(null):pu,Ht.prototype.clear=Vt,Ht.prototype[\"delete\"]=Wt,Ht.prototype.get=Yt,Ht.prototype.has=Kt,Ht.prototype.set=Gt,Jt.prototype.push=Qt,Xt.prototype.clear=en,Xt.prototype[\"delete\"]=tn,Xt.prototype.get=nn,Xt.prototype.has=rn,Xt.prototype.set=on;var sp=Xr(Dn),cp=Xr(Rn,!0),up=ei(),pp=ei(!0);ju&&!Au.call({valueOf:1},\"valueOf\")&&(rr=function(e){return V(ju(e))});var lp=Ju?function(e,t){return Ju.set(e,t),e}:Nc,fp=Yu&&2===new Yu([1,2]).size?function(e){return new Yu(e)}:Uc,dp=Ju?function(e){return Ju.get(e)}:Uc,hp=dr(\"length\");Su||(Oi=function(){return[]});var mp=Su?function(e){for(var t=[];e;)m(t,Oi(e)),e=Ei(e);return t}:Oi;(Hu&&Ai(new Hu(new ArrayBuffer(1)))!=Ge||Vu&&Ai(new Vu)!=De||Wu&&Ai(Wu.resolve())!=Le||Yu&&Ai(new Yu)!=Ue||Ku&&Ai(new Ku)!=We)&&(Ai=function(e){var t=vu.call(e),n=t==Re?e.constructor:X,r=n?Gi(n):X;if(r)switch(r){case Xu:return Ge;case ep:return De;case tp:return Le;case np:return Ue;case rp:return We}return t});var vp=function(){var e=0,t=0;return function(n,r){var i=$p(),o=xe-(i-t);if(t=i,o>0){if(++e>=be)return n}else e=0;return lp(n,r)}}(),gp=Aa(function(e){var t=[];return Fs(e).replace(gt,function(e,n,r,i){t.push(r?i.replace(jt,\"$1\"):n||e)}),t}),yp=Ia(function(e,t){return Ya(e)?In(e,Nn(t,1,Ya,!0)):[]}),bp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),_i(n)):[]}),xp=Ia(function(e,t){var n=vo(t);return Ya(n)&&(n=X),Ya(e)?In(e,Nn(t,1,Ya,!0),X,n):[]}),wp=Ia(function(e){var t=h(e,Mr);return t.length&&t[0]===e[0]?Gn(t):[]}),_p=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,_i(t)):[]}),kp=Ia(function(e){var t=vo(e),n=h(e,Mr);return t===vo(n)?t=X:n.pop(),n.length&&n[0]===e[0]?Gn(n,X,t):[]}),jp=Ia(bo),Sp=Ia(function(e,t){t=h(Nn(t,1),String);var n=vn(e,t);return vr(e,t.sort(z)),n}),Ep=Ia(function(e){return Or(Nn(e,1,Ya,!0))}),Op=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),_i(t))}),Ap=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Or(Nn(e,1,Ya,!0),X,t)}),Cp=Ia(function(e,t){return Ya(e)?In(e,t):[]}),Tp=Ia(function(e){return Pr(l(e,Ya))}),Ip=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),_i(t))}),Pp=Ia(function(e){var t=vo(e);return Ya(t)&&(t=X),Pr(l(e,Ya),X,t)}),Fp=Ia(Lo),Mp=Ia(function(e){var t=e.length,n=t>1?e[t-1]:X;return n=\"function\"==typeof n?(e.pop(),n):X,$o(e,n)}),zp=Ia(function(e){e=Nn(e,1);var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return vn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pt&&H(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Yo,args:[i],thisArg:X}),new M(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(X),e})):this.thru(i)}),Bp=Zr(function(e,t,n){du.call(e,n)?++e[n]:e[n]=1}),Np=Zr(function(e,t,n){du.call(e,n)?e[n].push(t):e[n]=[t]}),Dp=Ia(function(e,t,n){var r=-1,i=\"function\"==typeof t,a=Di(t),s=Wa(e)?Array(e.length):[];return sp(e,function(e){var c=i?t:a&&null!=e?e[t]:X;s[++r]=c?o(c,e,n):Zn(e,t,n)}),s}),qp=Zr(function(e,t,n){e[n]=t}),Rp=Zr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Lp=Ia(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ni(e,t[0],t[1])?t=[]:n>2&&Ni(t[0],t[1],t[2])&&(t=[t[0]]),t=1==t.length&&Zp(t[0])?t[0]:Nn(t,1,Bi),pr(e,t,[])}),$p=iu.now,Up=Ia(function(e,t,n){var r=oe;if(n.length){var i=Y(n,Si(Up));r|=pe}return mi(e,r,t,n,i)}),Hp=Ia(function(e,t,n){var r=oe|ae;if(n.length){var i=Y(n,Si(Hp));r|=pe}return mi(t,r,e,n,i)}),Vp=Ia(function(e,t){return Tn(e,1,t)}),Wp=Ia(function(e,t,n){return Tn(e,Ts(t)||0,n)});Aa.Cache=Ht;var Yp=Ia(function(e,t){t=1==t.length&&Zp(t[0])?h(t[0],T(_i())):h(Nn(t,1,Bi),T(_i()));var n=t.length;return Ia(function(r){for(var i=-1,a=Du(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return o(e,this,r)})}),Kp=Ia(function(e,t){var n=Y(t,Si(Kp));return mi(e,pe,X,t,n)}),Gp=Ia(function(e,t){var n=Y(t,Si(Gp));return mi(e,le,X,t,n)}),Jp=Ia(function(e,t){return mi(e,de,X,X,X,Nn(t,1))}),Zp=Array.isArray,Qp=bu?function(e){return e instanceof bu}:Bc(!1),Xp=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ws(t),e);for(var n in t)du.call(t,n)&&dn(e,n,t[n])}),el=Qr(function(e,t){if(Zu||Li(t)||Wa(t))return void Gr(t,Ys(t),e);for(var n in t)dn(e,n,t[n])}),tl=Qr(function(e,t,n,r){Gr(t,Ys(t),e,r)}),nl=Qr(function(e,t,n,r){Gr(t,Ws(t),e,r)}),rl=Ia(function(e,t){return vn(e,Nn(t,1))}),il=Ia(function(e){return e.push(X,ln),o(tl,X,e)}),ol=Ia(function(e){return e.push(X,Vi),o(pl,X,e)}),al=ci(function(e,t,n){e[t]=n},Bc(Nc)),sl=ci(function(e,t,n){du.call(e,t)?e[t].push(n):e[t]=[n]},_i),cl=Ia(Zn),ul=Qr(function(e,t,n){sr(e,t,n)}),pl=Qr(function(e,t,n,r){sr(e,t,n,r)}),ll=Ia(function(e,t){return null==e?{}:(t=h(Nn(t,1),Ki),lr(e,In(xi(e),t)))}),fl=Ia(function(e,t){return null==e?{}:lr(e,Nn(t,1))}),dl=ri(function(e,t,n){return t=t.toLowerCase(),e+(n?fc(t):t)}),hl=ri(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),ml=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toLowerCase()}),vl=ni(\"toLowerCase\"),gl=ri(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),yl=ri(function(e,t,n){return e+(n?\" \":\"\")+xl(t)}),bl=ri(function(e,t,n){return e+(n?\" \":\"\")+t.toUpperCase()}),xl=ni(\"toUpperCase\"),wl=Ia(function(e,t){try{return o(e,X,t)}catch(n){return es(n)?n:new ou(n)}}),_l=Ia(function(e,t){return c(Nn(t,1),function(t){e[t]=Up(e[t],e)}),e}),kl=ai(),jl=ai(!0),Sl=Ia(function(e,t){return function(n){return Zn(n,e,t)}}),El=Ia(function(e,t){return function(n){return Zn(e,n,t)}}),Ol=ui(h),Al=ui(p),Cl=ui(y),Tl=fi(),Il=fi(!0),Pl=D(function(e,t){return e+t}),Fl=hi(\"ceil\"),Ml=D(function(e,t){return e/t}),zl=hi(\"floor\"),Bl=D(function(e,t){return e*t}),Nl=hi(\"round\"),Dl=D(function(e,t){return e-t});return t.after=wa,t.ary=_a,t.assign=Xp,t.assignIn=el,t.assignInWith=tl,t.assignWith=nl,t.at=rl,t.before=ka,t.bind=Up,t.bindAll=_l,t.bindKey=Hp,t.castArray=Ba,t.chain=Vo,t.chunk=Zi,t.compact=Qi,t.concat=Xi,t.cond=Mc,t.conforms=zc,t.constant=Bc,t.countBy=Bp,t.create=Ms,t.curry=ja,t.curryRight=Sa,t.debounce=Ea,t.defaults=il,t.defaultsDeep=ol,t.defer=Vp,t.delay=Wp,t.difference=yp,t.differenceBy=bp,t.differenceWith=xp,t.drop=eo,t.dropRight=to,t.dropRightWhile=no,t.dropWhile=ro,t.fill=io,t.filter=na,t.flatMap=oa,t.flatMapDeep=aa,t.flatMapDepth=sa,t.flatten=so,t.flattenDeep=co,t.flattenDepth=uo,t.flip=Oa,t.flow=kl,t.flowRight=jl,t.fromPairs=po,t.functions=Ls,t.functionsIn=$s,t.groupBy=Np,t.initial=ho,t.intersection=wp,t.intersectionBy=_p,t.intersectionWith=kp,t.invert=al,t.invertBy=sl,t.invokeMap=Dp,t.iteratee=Dc,t.keyBy=qp,t.keys=Ws,t.keysIn=Ys,t.map=la,t.mapKeys=Ks,t.mapValues=Gs,t.matches=qc,t.matchesProperty=Rc,t.memoize=Aa,t.merge=ul,t.mergeWith=pl,t.method=Sl,t.methodOf=El,t.mixin=Lc,t.negate=Ca,t.nthArg=Hc,t.omit=ll,t.omitBy=Js,t.once=Ta,t.orderBy=fa,t.over=Ol,t.overArgs=Yp,t.overEvery=Al,t.overSome=Cl,t.partial=Kp,t.partialRight=Gp,t.partition=Rp,t.pick=fl,t.pickBy=Zs,t.property=Vc,t.propertyOf=Wc,t.pull=jp,t.pullAll=bo,t.pullAllBy=xo,t.pullAllWith=wo,t.pullAt=Sp,t.range=Tl,t.rangeRight=Il,t.rearg=Jp,t.reject=ma,t.remove=_o,t.rest=Ia,t.reverse=ko,t.sampleSize=ga,t.set=Xs,t.setWith=ec,t.shuffle=ya,t.slice=jo,t.sortBy=Lp,t.sortedUniq=Io,t.sortedUniqBy=Po,t.split=kc,t.spread=Pa,t.tail=Fo,t.take=Mo,t.takeRight=zo,t.takeRightWhile=Bo,t.takeWhile=No,t.tap=Wo,t.throttle=Fa,t.thru=Yo,t.toArray=Os,t.toPairs=tc,t.toPairsIn=nc,t.toPath=Kc,t.toPlainObject=Is,t.transform=rc,t.unary=Ma,t.union=Ep,t.unionBy=Op,t.unionWith=Ap,t.uniq=Do,t.uniqBy=qo,t.uniqWith=Ro,t.unset=ic,t.unzip=Lo,t.unzipWith=$o,t.update=oc,t.updateWith=ac,t.values=sc,t.valuesIn=cc,t.without=Cp,t.words=Fc,t.wrap=za,t.xor=Tp,t.xorBy=Ip,t.xorWith=Pp,t.zip=Fp,t.zipObject=Uo,t.zipObjectDeep=Ho,t.zipWith=Mp,t.entries=tc,t.entriesIn=nc,t.extend=el,t.extendWith=tl,Lc(t,t),t.add=Pl,t.attempt=wl,t.camelCase=dl,t.capitalize=fc,t.ceil=Fl,t.clamp=uc,t.clone=Na,t.cloneDeep=qa,t.cloneDeepWith=Ra,t.cloneWith=Da,t.deburr=dc,t.divide=Ml,t.endsWith=hc,t.eq=La,t.escape=mc,t.escapeRegExp=vc,t.every=ta,t.find=ra,t.findIndex=oo,t.findKey=zs,t.findLast=ia,t.findLastIndex=ao,t.findLastKey=Bs,t.floor=zl,t.forEach=ca,t.forEachRight=ua,t.forIn=Ns,t.forInRight=Ds,t.forOwn=qs,t.forOwnRight=Rs,t.get=Us,t.gt=$a,t.gte=Ua,t.has=Hs,t.hasIn=Vs,t.head=lo,t.identity=Nc,t.includes=pa,t.indexOf=fo,t.inRange=pc,t.invoke=cl,t.isArguments=Ha,t.isArray=Zp,t.isArrayBuffer=Va,t.isArrayLike=Wa,t.isArrayLikeObject=Ya,t.isBoolean=Ka,t.isBuffer=Qp,t.isDate=Ga,t.isElement=Ja,t.isEmpty=Za,t.isEqual=Qa,t.isEqualWith=Xa,t.isError=es,t.isFinite=ts,t.isFunction=ns,t.isInteger=rs,t.isLength=is,t.isMap=ss,t.isMatch=cs,t.isMatchWith=us,t.isNaN=ps,t.isNative=ls,t.isNil=ds,t.isNull=fs,t.isNumber=hs,t.isObject=os,t.isObjectLike=as,t.isPlainObject=ms,t.isRegExp=vs,t.isSafeInteger=gs,t.isSet=ys,t.isString=bs,t.isSymbol=xs,t.isTypedArray=ws,t.isUndefined=_s,t.isWeakMap=ks,t.isWeakSet=js,t.join=mo,t.kebabCase=hl,t.last=vo,t.lastIndexOf=go,t.lowerCase=ml,t.lowerFirst=vl,t.lt=Ss,t.lte=Es,t.max=Jc,t.maxBy=Zc,t.mean=Qc,t.meanBy=Xc,t.min=eu,t.minBy=tu,t.multiply=Bl,t.nth=yo,t.noConflict=$c,t.noop=Uc,t.now=$p,t.pad=gc,t.padEnd=yc,t.padStart=bc,t.parseInt=xc,t.random=lc,t.reduce=da,t.reduceRight=ha,t.repeat=wc,t.replace=_c,t.result=Qs,t.round=Nl,t.runInContext=Q,t.sample=va,t.size=ba,t.snakeCase=gl,t.some=xa,t.sortedIndex=So,t.sortedIndexBy=Eo,t.sortedIndexOf=Oo,t.sortedLastIndex=Ao,t.sortedLastIndexBy=Co,t.sortedLastIndexOf=To,t.startCase=yl,t.startsWith=jc,t.subtract=Dl,t.sum=nu,t.sumBy=ru,t.template=Sc,t.times=Yc,t.toInteger=As,t.toLength=Cs,t.toLower=Ec,t.toNumber=Ts,t.toSafeInteger=Ps,t.toString=Fs,t.toUpper=Oc,t.trim=Ac,t.trimEnd=Cc,t.trimStart=Tc,t.truncate=Ic,t.unescape=Pc,t.uniqueId=Gc,t.upperCase=bl,t.upperFirst=xl,t.each=ca,t.eachRight=ua,t.first=lo,Lc(t,function(){var e={};return Dn(t,function(n,r){du.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ee,c([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),c([\"drop\",\"take\"],function(e,t){Pt.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Pt(this);n=n===X?1:Nu(As(n),0);var i=this.clone();return r?i.__takeCount__=Du(n,i.__takeCount__):i.__views__.push({size:Du(n,Ae),type:e+(i.__dir__<0?\"Right\":\"\")}),i},Pt.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),c([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n==we||n==ke;Pt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:_i(e,3),type:n\n}),t.__filtered__=t.__filtered__||r,t}}),c([\"head\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Pt.prototype[e]=function(){return this[n](1).value()[0]}}),c([\"initial\",\"tail\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Pt.prototype[e]=function(){return this.__filtered__?new Pt(this):this[n](1)}}),Pt.prototype.compact=function(){return this.filter(Nc)},Pt.prototype.find=function(e){return this.filter(e).head()},Pt.prototype.findLast=function(e){return this.reverse().find(e)},Pt.prototype.invokeMap=Ia(function(e,t){return\"function\"==typeof e?new Pt(this):this.map(function(n){return Zn(n,e,t)})}),Pt.prototype.reject=function(e){return e=_i(e,3),this.filter(function(t){return!e(t)})},Pt.prototype.slice=function(e,t){e=As(e);var n=this;return n.__filtered__&&(e>0||0>t)?new Pt(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==X&&(t=As(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},Pt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pt.prototype.toArray=function(){return this.take(Ae)},Dn(Pt.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n],a=i||/^find/.test(n);o&&(t.prototype[n]=function(){var n=this.__wrapped__,s=i?[1]:arguments,c=n instanceof Pt,u=s[0],p=c||Zp(n),l=function(e){var n=o.apply(t,m([e],s));return i&&f?n[0]:n};p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var f=this.__chain__,d=!!this.__actions__.length,h=a&&!f,v=c&&!d;if(!a&&p){n=v?n:new Pt(this);var g=e.apply(n,s);return g.__actions__.push({func:Yo,args:[l],thisArg:X}),new M(g,f)}return h&&v?e.apply(this,s):(g=this.thru(l),h?i?g.value()[0]:g.value():g)})}),c([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(e){var n=uu[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var t=this.value();return n.apply(Zp(t)?t:[],e)}return this[r](function(t){return n.apply(Zp(t)?t:[],e)})}}),Dn(Pt.prototype,function(e,n){var r=t[n];if(r){var i=r.name+\"\",o=Qu[i]||(Qu[i]=[]);o.push({name:n,func:r})}}),Qu[si(X,ae).name]=[{name:\"wrapper\",func:X}],Pt.prototype.clone=Bt,Pt.prototype.reverse=Nt,Pt.prototype.value=Dt,t.prototype.at=zp,t.prototype.chain=Ko,t.prototype.commit=Go,t.prototype.next=Jo,t.prototype.plant=Qo,t.prototype.reverse=Xo,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=ea,Eu&&(t.prototype[Eu]=Zo),t}var X,ee=\"4.11.1\",te=200,ne=\"Expected a function\",re=\"__lodash_hash_undefined__\",ie=\"__lodash_placeholder__\",oe=1,ae=2,se=4,ce=8,ue=16,pe=32,le=64,fe=128,de=256,he=512,me=1,ve=2,ge=30,ye=\"...\",be=150,xe=16,we=1,_e=2,ke=3,je=1/0,Se=9007199254740991,Ee=1.7976931348623157e308,Oe=NaN,Ae=4294967295,Ce=Ae-1,Te=Ae>>>1,Ie=\"[object Arguments]\",Pe=\"[object Array]\",Fe=\"[object Boolean]\",Me=\"[object Date]\",ze=\"[object Error]\",Be=\"[object Function]\",Ne=\"[object GeneratorFunction]\",De=\"[object Map]\",qe=\"[object Number]\",Re=\"[object Object]\",Le=\"[object Promise]\",$e=\"[object RegExp]\",Ue=\"[object Set]\",He=\"[object String]\",Ve=\"[object Symbol]\",We=\"[object WeakMap]\",Ye=\"[object WeakSet]\",Ke=\"[object ArrayBuffer]\",Ge=\"[object DataView]\",Je=\"[object Float32Array]\",Ze=\"[object Float64Array]\",Qe=\"[object Int8Array]\",Xe=\"[object Int16Array]\",et=\"[object Int32Array]\",tt=\"[object Uint8Array]\",nt=\"[object Uint8ClampedArray]\",rt=\"[object Uint16Array]\",it=\"[object Uint32Array]\",ot=/\\b__p \\+= '';/g,at=/\\b(__p \\+=) '' \\+/g,st=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ct=/&(?:amp|lt|gt|quot|#39|#96);/g,ut=/[&<>\"'`]/g,pt=RegExp(ct.source),lt=RegExp(ut.source),ft=/<%-([\\s\\S]+?)%>/g,dt=/<%([\\s\\S]+?)%>/g,ht=/<%=([\\s\\S]+?)%>/g,mt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,vt=/^\\w*$/,gt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g,yt=/[\\\\^$.*+?()[\\]{}|]/g,bt=RegExp(yt.source),xt=/^\\s+|\\s+$/g,wt=/^\\s+/,_t=/\\s+$/,kt=/[a-zA-Z0-9]+/g,jt=/\\\\(\\\\)?/g,St=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Et=/\\w*$/,Ot=/^0x/i,At=/^[-+]0x[0-9a-f]+$/i,Ct=/^0b[01]+$/i,Tt=/^\\[object .+?Constructor\\]$/,It=/^0o[0-7]+$/i,Pt=/^(?:0|[1-9]\\d*)$/,Ft=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Mt=/($^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Bt=\"\\\\ud800-\\\\udfff\",Nt=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",Dt=\"\\\\u20d0-\\\\u20f0\",qt=\"\\\\u2700-\\\\u27bf\",Rt=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",Lt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",$t=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",Ut=\"\\\\u2018\\\\u2019\\\\u201c\\\\u201d\",Ht=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Vt=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\",Wt=\"\\\\ufe0e\\\\ufe0f\",Yt=Lt+$t+Ut+Ht,Kt=\"['’]\",Gt=\"[\"+Bt+\"]\",Jt=\"[\"+Yt+\"]\",Zt=\"[\"+Nt+Dt+\"]\",Qt=\"\\\\d+\",Xt=\"[\"+qt+\"]\",en=\"[\"+Rt+\"]\",tn=\"[^\"+Bt+Yt+Qt+qt+Rt+Vt+\"]\",nn=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",rn=\"(?:\"+Zt+\"|\"+nn+\")\",on=\"[^\"+Bt+\"]\",an=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",sn=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",cn=\"[\"+Vt+\"]\",un=\"\\\\u200d\",pn=\"(?:\"+en+\"|\"+tn+\")\",ln=\"(?:\"+cn+\"|\"+tn+\")\",fn=\"(?:\"+Kt+\"(?:d|ll|m|re|s|t|ve))?\",dn=\"(?:\"+Kt+\"(?:D|LL|M|RE|S|T|VE))?\",hn=rn+\"?\",mn=\"[\"+Wt+\"]?\",vn=\"(?:\"+un+\"(?:\"+[on,an,sn].join(\"|\")+\")\"+mn+hn+\")*\",gn=mn+hn+vn,yn=\"(?:\"+[Xt,an,sn].join(\"|\")+\")\"+gn,bn=\"(?:\"+[on+Zt+\"?\",Zt,an,sn,Gt].join(\"|\")+\")\",xn=RegExp(Kt,\"g\"),wn=RegExp(Zt,\"g\"),_n=RegExp(nn+\"(?=\"+nn+\")|\"+bn+gn,\"g\"),kn=RegExp([cn+\"?\"+en+\"+\"+fn+\"(?=\"+[Jt,cn,\"$\"].join(\"|\")+\")\",ln+\"+\"+dn+\"(?=\"+[Jt,cn+pn,\"$\"].join(\"|\")+\")\",cn+\"?\"+pn+\"+\"+fn,cn+\"+\"+dn,Qt,yn].join(\"|\"),\"g\"),jn=RegExp(\"[\"+un+Bt+Nt+Dt+Wt+\"]\"),Sn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"Reflect\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],On=-1,An={};An[Je]=An[Ze]=An[Qe]=An[Xe]=An[et]=An[tt]=An[nt]=An[rt]=An[it]=!0,An[Ie]=An[Pe]=An[Ke]=An[Fe]=An[Ge]=An[Me]=An[ze]=An[Be]=An[De]=An[qe]=An[Re]=An[$e]=An[Ue]=An[He]=An[We]=!1;var Cn={};Cn[Ie]=Cn[Pe]=Cn[Ke]=Cn[Ge]=Cn[Fe]=Cn[Me]=Cn[Je]=Cn[Ze]=Cn[Qe]=Cn[Xe]=Cn[et]=Cn[De]=Cn[qe]=Cn[Re]=Cn[$e]=Cn[Ue]=Cn[He]=Cn[Ve]=Cn[tt]=Cn[nt]=Cn[rt]=Cn[it]=!0,Cn[ze]=Cn[Be]=Cn[We]=!1;var Tn={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},In={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},Pn={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Fn={\"function\":!0,object:!0},Mn={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},zn=parseFloat,Bn=parseInt,Nn=Fn[typeof n]&&n&&!n.nodeType?n:X,Dn=Fn[typeof t]&&t&&!t.nodeType?t:X,qn=Dn&&Dn.exports===Nn?Nn:X,Rn=M(Nn&&Dn&&\"object\"==typeof e&&e),Ln=M(Fn[typeof self]&&self),$n=M(Fn[typeof window]&&window),Un=M(Fn[typeof this]&&this),Hn=Rn||$n!==(Un&&Un.window)&&$n||Ln||Un||Function(\"return this\")(),Vn=Q();($n||Ln||{})._=Vn,\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?define(function(){return Vn}):Nn&&Dn?(qn&&((Dn.exports=Vn)._=Vn),Nn._=Vn):Hn._=Vn}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],178:[function(e,t,n){function r(e,t,n){var r;return v[t]?r=v[t]:(r=f(t),v[t]=r),2===arguments.length?e[r]:(e[r]=n,n)}function i(){return 1}function o(e){if(!(this instanceof o))return new o(e);\"number\"==typeof e&&(e={max:e}),e||(e={});var t=r(this,\"max\",e.max);(!t||\"number\"!=typeof t||0>=t)&&r(this,\"max\",1/0);var n=e.length||i;\"function\"!=typeof n&&(n=i),r(this,\"lengthCalculator\",n),r(this,\"allowStale\",e.stale||!1),r(this,\"maxAge\",e.maxAge||0),r(this,\"dispose\",e.dispose),this.reset()}function a(e,t,n,i){var o=n.value;c(e,o)&&(p(e,n),r(e,\"allowStale\")||(o=void 0)),o&&t.call(i,o.value,o.key,e)}function s(e,t,n){var i=r(e,\"cache\").get(t);if(i){var o=i.value;c(e,o)?(p(e,i),r(e,\"allowStale\")||(o=void 0)):n&&r(e,\"lruList\").unshiftNode(i),o&&(o=o.value)}return o}function c(e,t){if(!t||!t.maxAge&&!r(e,\"maxAge\"))return!1;var n=!1,i=Date.now()-t.now;return n=t.maxAge?i>t.maxAge:r(e,\"maxAge\")&&i>r(e,\"maxAge\")}function u(e){if(r(e,\"length\")>r(e,\"max\"))for(var t=r(e,\"lruList\").tail;r(e,\"length\")>r(e,\"max\")&&null!==t;){var n=t.prev;p(e,t),t=n}}function p(e,t){if(t){var n=t.value;r(e,\"dispose\")&&r(e,\"dispose\").call(this,n.key,n.value),r(e,\"length\",r(e,\"length\")-n.length),r(e,\"cache\")[\"delete\"](n.key),r(e,\"lruList\").removeNode(t)}}function l(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}t.exports=o;var f,d=e(\"pseudomap\"),h=e(\"util\"),m=e(\"yallist\"),v={},g=\"function\"==typeof Symbol;f=g?function(e){return Symbol[\"for\"](e)}:function(e){return\"_\"+e},Object.defineProperty(o.prototype,\"max\",{set:function(e){(!e||\"number\"!=typeof e||0>=e)&&(e=1/0),r(this,\"max\",e),u(this)},get:function(){return r(this,\"max\")},enumerable:!0}),Object.defineProperty(o.prototype,\"allowStale\",{set:function(e){r(this,\"allowStale\",!!e)},get:function(){return r(this,\"allowStale\")},enumerable:!0}),Object.defineProperty(o.prototype,\"maxAge\",{set:function(e){(!e||\"number\"!=typeof e||0>e)&&(e=0),r(this,\"maxAge\",e),u(this)},get:function(){return r(this,\"maxAge\")},enumerable:!0}),Object.defineProperty(o.prototype,\"lengthCalculator\",{set:function(e){\"function\"!=typeof e&&(e=i),e!==r(this,\"lengthCalculator\")&&(r(this,\"lengthCalculator\",e),r(this,\"length\",0),r(this,\"lruList\").forEach(function(e){e.length=r(this,\"lengthCalculator\").call(this,e.value,e.key),r(this,\"length\",r(this,\"length\")+e.length)},this)),u(this)},get:function(){return r(this,\"lengthCalculator\")},enumerable:!0}),Object.defineProperty(o.prototype,\"length\",{get:function(){return r(this,\"length\")},enumerable:!0}),Object.defineProperty(o.prototype,\"itemCount\",{get:function(){return r(this,\"lruList\").length},enumerable:!0}),o.prototype.rforEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").tail;null!==n;){var i=n.prev;a(this,e,n,t),n=i}},o.prototype.forEach=function(e,t){t=t||this;for(var n=r(this,\"lruList\").head;null!==n;){var i=n.next;a(this,e,n,t),n=i}},o.prototype.keys=function(){return r(this,\"lruList\").toArray().map(function(e){return e.key},this)},o.prototype.values=function(){return r(this,\"lruList\").toArray().map(function(e){return e.value},this)},o.prototype.reset=function(){r(this,\"dispose\")&&r(this,\"lruList\")&&r(this,\"lruList\").length&&r(this,\"lruList\").forEach(function(e){r(this,\"dispose\").call(this,e.key,e.value)},this),r(this,\"cache\",new d),r(this,\"lruList\",new m),r(this,\"length\",0)},o.prototype.dump=function(){return r(this,\"lruList\").map(function(e){return c(this,e)?void 0:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}},this).toArray().filter(function(e){return e})},o.prototype.dumpLru=function(){return r(this,\"lruList\")},o.prototype.inspect=function(e,t){var n=\"LRUCache {\",o=!1,a=r(this,\"allowStale\");a&&(n+=\"\\n  allowStale: true\",o=!0);var s=r(this,\"max\");s&&s!==1/0&&(o&&(n+=\",\"),n+=\"\\n  max: \"+h.inspect(s,t),o=!0);var u=r(this,\"maxAge\");u&&(o&&(n+=\",\"),n+=\"\\n  maxAge: \"+h.inspect(u,t),o=!0);var p=r(this,\"lengthCalculator\");p&&p!==i&&(o&&(n+=\",\"),n+=\"\\n  length: \"+h.inspect(r(this,\"length\"),t),o=!0);var l=!1;return r(this,\"lruList\").forEach(function(e){l?n+=\",\\n  \":(o&&(n+=\",\\n\"),l=!0,n+=\"\\n  \");var r=h.inspect(e.key).split(\"\\n\").join(\"\\n  \"),a={value:e.value};e.maxAge!==u&&(a.maxAge=e.maxAge),p!==i&&(a.length=e.length),c(this,e)&&(a.stale=!0),a=h.inspect(a,t).split(\"\\n\").join(\"\\n  \"),n+=r+\" => \"+a}),(l||o)&&(n+=\"\\n\"),n+=\"}\"},o.prototype.set=function(e,t,n){n=n||r(this,\"maxAge\");var i=n?Date.now():0,o=r(this,\"lengthCalculator\").call(this,t,e);if(r(this,\"cache\").has(e)){if(o>r(this,\"max\"))return p(this,r(this,\"cache\").get(e)),!1;var a=r(this,\"cache\").get(e),s=a.value;return r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,s.value),s.now=i,s.maxAge=n,s.value=t,r(this,\"length\",r(this,\"length\")+(o-s.length)),s.length=o,this.get(e),u(this),!0}var c=new l(e,t,o,i,n);return c.length>r(this,\"max\")?(r(this,\"dispose\")&&r(this,\"dispose\").call(this,e,t),!1):(r(this,\"length\",r(this,\"length\")+c.length),r(this,\"lruList\").unshift(c),r(this,\"cache\").set(e,r(this,\"lruList\").head),u(this),!0)},o.prototype.has=function(e){if(!r(this,\"cache\").has(e))return!1;var t=r(this,\"cache\").get(e).value;return!c(this,t)},o.prototype.get=function(e){return s(this,e,!0)},o.prototype.peek=function(e){return s(this,e,!1)},o.prototype.pop=function(){var e=r(this,\"lruList\").tail;return e?(p(this,e),e.value):null},o.prototype.del=function(e){p(this,r(this,\"cache\").get(e))},o.prototype.load=function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}},o.prototype.prune=function(){var e=this;r(this,\"cache\").forEach(function(t,n){s(e,n,!1)})}},{pseudomap:381,util:void 0,yallist:535}],179:[function(e,t,n){function r(e){if(!e||\"object\"!=typeof e)throw new TypeError(\"argument obj is required\");var t=e.parameters,n=e.subtype,r=e.suffix,i=e.type;if(!i||!h.test(i))throw new TypeError(\"invalid type\");if(!n||!d.test(n))throw new TypeError(\"invalid subtype\");var o=i+\"/\"+n;if(r){if(!h.test(r))throw new TypeError(\"invalid suffix\");o+=\"+\"+r}if(t&&\"object\"==typeof t)for(var s,c=Object.keys(t).sort(),u=0;u<c.length;u++){if(s=c[u],!p.test(s))throw new TypeError(\"invalid parameter name\");o+=\"; \"+s+\"=\"+a(t[s])}return o}function i(e){if(!e)throw new TypeError(\"argument string is required\");if(\"object\"==typeof e&&(e=o(e)),\"string\"!=typeof e)throw new TypeError(\"argument string is required to be a string\");var t,n,r,i=e.indexOf(\";\"),a=-1!==i?e.substr(0,i):e,u=s(a),p={};for(c.lastIndex=i;n=c.exec(e);){if(n.index!==i)throw new TypeError(\"invalid parameter format\");i+=n[0].length,t=n[1].toLowerCase(),r=n[2],'\"'===r[0]&&(r=r.substr(1,r.length-2).replace(l,\"$1\")),p[t]=r}if(-1!==i&&i!==e.length)throw new TypeError(\"invalid parameter format\");return u.parameters=p,u}function o(e){return\"function\"==typeof e.getHeader?e.getHeader(\"content-type\"):\"object\"==typeof e.headers?e.headers&&e.headers[\"content-type\"]:void 0}function a(e){var t=String(e);if(p.test(t))return t;if(t.length>0&&!u.test(t))throw new TypeError(\"invalid parameter value\");return'\"'+t.replace(f,\"\\\\$1\")+'\"'}function s(e){var t=m.exec(e.toLowerCase());if(!t)throw new TypeError(\"invalid media type\");var n,r=t[1],i=t[2],o=i.lastIndexOf(\"+\");-1!==o&&(n=i.substr(o+1),i=i.substr(0,o));var a={type:r,subtype:i,suffix:n};return a}var c=/; *([!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) *= *(\"(?:[ !\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u0020-\\u007e])*\"|[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+) */g,u=/^[\\u0020-\\u007e\\u0080-\\u00ff]+$/,p=/^[!#$%&'\\*\\+\\-\\.0-9A-Z\\^_`a-z\\|~]+$/,l=/\\\\([\\u0000-\\u007f])/g,f=/([\\\\\"])/g,d=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,h=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,m=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;n.format=r,n.parse=i},{}],180:[function(e,t,n){\"use strict\";function r(e,t,n){if(!e)throw new TypeError(\"argument dest is required\");if(!t)throw new TypeError(\"argument src is required\");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach(function(r){if(n||!i.call(e,r)){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}}),e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],181:[function(e,t,n){\"use strict\";function r(){return o.METHODS&&o.METHODS.map(function(e){return e.toLowerCase()})}function i(){return[\"get\",\"post\",\"put\",\"head\",\"delete\",\"options\",\"trace\",\"copy\",\"lock\",\"mkcol\",\"move\",\"purge\",\"propfind\",\"proppatch\",\"unlock\",\"report\",\"mkactivity\",\"checkout\",\"merge\",\"m-search\",\"notify\",\"subscribe\",\"unsubscribe\",\"patch\",\"search\",\"connect\"]}var o=e(\"http\");t.exports=r()||i()},{http:void 0}],182:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cdni\":{source:\"iana\"},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/csvm+json\":{source:\"iana\",compressible:!0},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mpd\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emergencycalldata.comment+xml\":{source:\"iana\"},\"application/emergencycalldata.deviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.providerinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.serviceinfo+xml\":{source:\"iana\"},\"application/emergencycalldata.subscriberinfo+xml\":{source:\"iana\"},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\",\"war\",\"ear\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs12\":{source:\"iana\"},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/ppsp-tracker+json\":{source:\"iana\",compressible:!0},\"application/problem+json\":{source:\"iana\",compressible:!0},\"application/problem+xml\":{source:\"iana\"},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/rfc+xml\":{source:\"iana\"},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scim+json\":{source:\"iana\",compressible:!0},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{\nsource:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{source:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp-prose+xml\":{source:\"iana\"},\"application/vnd.3gpp-prose-pc3ch+xml\":{source:\"iana\"},\"application/vnd.3gpp.access-transfer-events+xml\":{source:\"iana\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.mid-call+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-ext+xml\":{source:\"iana\"},\"application/vnd.3gpp.srvcc-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.state-and-event-info+xml\":{source:\"iana\"},\"application/vnd.3gpp.ussd+xml\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anki\":{source:\"iana\"},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.apple.pkpass\":{compressible:!1,extensions:[\"pkpass\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.biopax.rdf+xml\":{source:\"iana\"},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.drive+json\":{source:\"iana\",compressible:!0},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.filmit.zfc\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.firemonkeys.cloudcell\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-apps.document\":{compressible:!1,extensions:[\"gdoc\"]},\"application/vnd.google-apps.presentation\":{compressible:!1,extensions:[\"gslides\"]},\"application/vnd.google-apps.spreadsheet\":{compressible:!1,extensions:[\"gsheet\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.hdt\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.mapbox-vector-tile\":{source:\"iana\"},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printdevicecapabilities+xml\":{source:\"iana\"},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-printschematicket+xml\":{source:\"iana\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.devicepairing\":{source:\"iana\"},\"application/vnd.ms-windows.nwprinting.oob\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-windows.wsd.oob\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{\nsource:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{source:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openblox.game+xml\":{source:\"iana\"},\"application/vnd.openblox.game-binary\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.oxli.countgraph\":{source:\"iana\"},\"application/vnd.pagerduty+json\":{source:\"iana\",compressible:!0},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.uri-map\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-cocoa\":{source:\"nginx\",extensions:[\"cco\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-httpd-php\":{compressible:!0,extensions:[\"php\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-archive-diff\":{source:\"nginx\",extensions:[\"jardiff\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-makeself\":{source:\"nginx\",extensions:[\"run\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdos-program\":{extensions:[\"exe\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-perl\":{source:\"nginx\",extensions:[\"pl\",\"pm\"]},\"application/x-pilot\":{source:\"nginx\",extensions:[\"prc\",\"pdb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",\nextensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-redhat-package-manager\":{source:\"nginx\",extensions:[\"rpm\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sea\":{source:\"nginx\",extensions:[\"sea\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\",\"tk\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\",\"pem\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\",\"rng\"]},\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/evs\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g711-0\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"m4a\",\"mp4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-m4a\":{source:\"nginx\",extensions:[\"m4a\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-realaudio\":{source:\"nginx\",extensions:[\"ra\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.mozilla.apng\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-jng\":{source:\"nginx\",extensions:[\"jng\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{source:\"nginx\",compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.rosette.annotated-data-model\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\",\"shtml\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mathml\":{source:\"nginx\",extensions:[\"mml\"]},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/slim\":{extensions:[\"slim\",\"slm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{source:\"nginx\",extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-processing\":{compressible:!0,extensions:[\"pde\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-suse-ymp\":{compressible:!0,extensions:[\"ymp\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\"]},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\",\"3gpp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],183:[function(e,t,n){t.exports=e(\"./db.json\")},{\"./db.json\":182}],184:[function(e,t,n){\"use strict\";function r(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),n=t&&c[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&l.test(t[1])?\"UTF-8\":!1}function i(e){if(!e||\"string\"!=typeof e)return!1;var t=-1===e.indexOf(\"/\")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf(\"charset\")){var r=n.charset(t);r&&(t+=\"; charset=\"+r.toLowerCase())}return t}function o(e){if(!e||\"string\"!=typeof e)return!1;var t=p.exec(e),r=t&&n.extensions[t[1].toLowerCase()];return r&&r.length?r[0]:!1}function a(e){if(!e||\"string\"!=typeof e)return!1;var t=u(\"x.\"+e).toLowerCase().substr(1);return t?n.types[t]||!1:!1}function s(e,t){var n=[\"nginx\",\"apache\",void 0,\"iana\"];Object.keys(c).forEach(function(r){var i=c[r],o=i.extensions;if(o&&o.length){e[r]=o;for(var a=0;a<o.length;a++){var s=o[a];if(t[s]){var u=n.indexOf(c[t[s]].source),p=n.indexOf(i.source);if(\"application/octet-stream\"!==t[s]&&u>p||u===p&&\"application/\"===t[s].substr(0,12))continue}t[s]=r}}})}var c=e(\"mime-db\"),u=e(\"path\").extname,p=/^\\s*([^;\\s]*)(?:;|\\s|$)/,l=/^text\\//i;n.charset=r,n.charsets={lookup:r},n.contentType=i,n.extension=o,n.extensions=Object.create(null),n.lookup=a,n.types=Object.create(null),s(n.extensions,n.types)},{\"mime-db\":183,path:void 0}],185:[function(e,t,n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=(e(\"path\"),e(\"fs\"));r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=i.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var o=new r;o.define(e(\"./types.json\")),o.default_type=o.lookup(\"bin\"),o.Mime=r,o.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=o},{\"./types.json\":186,fs:void 0,path:void 0}],186:[function(e,t,n){t.exports={\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mdp\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/font-tdpfr\":[\"pfr\"],\"application/font-woff\":[\"woff\"],\"application/font-woff2\":[\"woff2\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\n\"application/prs.cww\":[\"cww\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/adpcm\":[\"adp\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mp4\":[\"mp4a\",\"m4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"font/opentype\":[\"otf\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/ktx\":[\"ktx\"],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/tiff\":[\"tiff\",\"tif\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/hjson\":[\"hjson\"],\"text/html\":[\"html\",\"htm\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/richtext\":[\"rtx\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/vtt\":[\"vtt\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],187:[function(e,t,n){!function(e,r){\"object\"==typeof n&&\"undefined\"!=typeof t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){\"use strict\";function n(){return cr.apply(null,arguments)}function r(e){cr=e}function i(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,\"toString\")&&(e.toString=t.toString),s(t,\"valueOf\")&&(e.valueOf=t.valueOf),e}function u(e,t,n,r){return Ne(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(e){return null==e._pf&&(e._pf=p()),e._pf}function f(e){if(null==e._isValid){var t=l(e),n=ur.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function d(e){var t=u(NaN);return null!=e?c(l(t),e):l(t).userInvalidated=!0,t}function h(e){return void 0===e}function m(e,t){var n,r,i;if(h(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),h(t._i)||(e._i=t._i),h(t._f)||(e._f=t._f),h(t._l)||(e._l=t._l),h(t._strict)||(e._strict=t._strict),h(t._tzm)||(e._tzm=t._tzm),h(t._isUTC)||(e._isUTC=t._isUTC),h(t._offset)||(e._offset=t._offset),h(t._pf)||(e._pf=l(t)),h(t._locale)||(e._locale=t._locale),pr.length>0)for(n in pr)r=pr[n],i=t[r],h(i)||(e[r]=i);return e}function v(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),lr===!1&&(lr=!0,n.updateOffset(this),lr=!1)}function g(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function y(e){return 0>e?Math.ceil(e):Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&\"undefined\"!=typeof console&&console.warn&&console.warn(\"Deprecation warning: \"+e)}function _(e,t){var r=!0;return c(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+\"\\nArguments: \"+Array.prototype.slice.call(arguments).join(\", \")+\"\\n\"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),fr[e]||(w(t),fr[e]=!0)}function j(e){return e instanceof Function||\"[object Function]\"===Object.prototype.toString.call(e)}function S(e){return\"[object Object]\"===Object.prototype.toString.call(e)}function E(e){var t,n;for(n in e)t=e[n],j(t)?this[n]=t:this[\"_\"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+\"|\"+/\\d{1,2}/.source)}function O(e,t){var n,r=c({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function A(e){null!=e&&this.set(e)}function C(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function T(e){for(var t,n,r,i,o=0;o<e.length;){for(i=C(e[o]).split(\"-\"),t=i.length,n=C(e[o+1]),n=n?n.split(\"-\"):null;t>0;){if(r=I(i.slice(0,t).join(\"-\")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function I(n){var r=null;if(!vr[n]&&\"undefined\"!=typeof t&&t&&t.exports)try{r=hr._abbr,e(\"./locale/\"+n),P(r)}catch(i){}return vr[n]}function P(e,t){var n;return e&&(n=h(t)?z(e):F(e,t),n&&(hr=n)),hr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=vr[e]?(k(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale\"),t=O(vr[e]._config,t)):null!=t.parentLocale&&(null!=vr[t.parentLocale]?t=O(vr[t.parentLocale]._config,t):k(\"parentLocaleUndefined\",\"specified parentLocale is not defined yet\")),vr[e]=new A(t),P(e),vr[e]):(delete vr[e],null)}function M(e,t){if(null!=t){var n;null!=vr[e]&&(t=O(vr[e]._config,t)),n=new A(t),n.parentLocale=vr[e],vr[e]=n,P(e)}else null!=vr[e]&&(null!=vr[e].parentLocale?vr[e]=vr[e].parentLocale:null!=vr[e]&&delete vr[e]);return vr[e]}function z(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return hr;if(!i(e)){if(t=I(e))return t;e=[e]}return T(e)}function B(){return dr(vr)}function N(e,t){var n=e.toLowerCase();gr[n]=gr[n+\"s\"]=gr[t]=e}function D(e){return\"string\"==typeof e?gr[e]||gr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)s(e,n)&&(t=D(n),t&&(r[t]=e[n]));return r}function R(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):L(this,e)}}function L(e,t){return e.isValid()?e._d[\"get\"+(e._isUTC?\"UTC\":\"\")+t]():NaN;\n}function $(e,t,n){e.isValid()&&e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+t](n)}function U(e,t){var n;if(\"object\"==typeof e)for(n in e)this.set(n,e[n]);else if(e=D(e),j(this[e]))return this[e](t);return this}function H(e,t,n){var r=\"\"+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?\"+\":\"\":\"-\")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;\"string\"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return H(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\\[[\\s\\S]/)?e.replace(/^\\[|\\]$/g,\"\"):e.replace(/\\\\/g,\"\")}function Y(e){var t,n,r=e.match(yr);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o=\"\";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function K(e,t){return e.isValid()?(t=G(t,e.localeData()),xr[t]=xr[t]||Y(t),xr[t](e)):e.localeData().invalidDate()}function G(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(br.lastIndex=0;r>=0&&br.test(e);)e=e.replace(br,n),br.lastIndex=0,r-=1;return e}function J(e,t,n){qr[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Z(e,t){return s(qr,e)?qr[e](t._strict,t._locale):new RegExp(Q(e))}function Q(e){return X(e.replace(\"\\\\\",\"\").replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function X(e){return e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\")}function ee(e,t){var n,r=t;for(\"string\"==typeof e&&(e=[e]),\"number\"==typeof t&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)Rr[e[n]]=r}function te(e,t){ee(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function ne(e,t,n){null!=t&&s(Rr,e)&&Rr[e](t,n._a,n,e)}function re(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function ie(e,t){return i(this._months)?this._months[e.month()]:this._months[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function oe(e,t){return i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jr.test(t)?\"format\":\"standalone\"][e.month()]}function ae(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;12>r;++r)o=u([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,\"\").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,\"\").toLocaleLowerCase();return n?\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):\"MMM\"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=u([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp(\"^\"+this.months(i,\"\").replace(\".\",\"\")+\"$\",\"i\"),this._shortMonthsParse[r]=new RegExp(\"^\"+this.monthsShort(i,\"\").replace(\".\",\"\")+\"$\",\"i\")),n||this._monthsParse[r]||(o=\"^\"+this.months(i,\"\")+\"|^\"+this.monthsShort(i,\"\"),this._monthsParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"MMMM\"===t&&this._longMonthsParse[r].test(e))return r;if(n&&\"MMM\"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ce(e,t){var n;if(!e.isValid())return e;if(\"string\"==typeof t)if(/^\\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),\"number\"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d[\"set\"+(e._isUTC?\"UTC\":\"\")+\"Month\"](t,n),e}function ue(e){return null!=e?(ce(this,e),n.updateOffset(this,!0),this):L(this,\"Month\")}function pe(){return re(this.year(),this.month())}function le(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function fe(e){return this._monthsParseExact?(s(this,\"_monthsRegex\")||de.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function de(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=u([2e3,t]),r.push(this.monthsShort(n,\"\")),i.push(this.months(n,\"\")),o.push(this.months(n,\"\")),o.push(this.monthsShort(n,\"\"));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=X(r[t]),i[t]=X(i[t]),o[t]=X(o[t]);this._monthsRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(\"^(\"+i.join(\"|\")+\")\",\"i\"),this._monthsShortStrictRegex=new RegExp(\"^(\"+r.join(\"|\")+\")\",\"i\")}function he(e){var t,n=e._a;return n&&-2===l(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Ur]<1||n[Ur]>re(n[Lr],n[$r])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Vr]||0!==n[Wr]||0!==n[Yr])?Hr:n[Vr]<0||n[Vr]>59?Vr:n[Wr]<0||n[Wr]>59?Wr:n[Yr]<0||n[Yr]>999?Yr:-1,l(e)._overflowDayOfYear&&(Lr>t||t>Ur)&&(t=Ur),l(e)._overflowWeeks&&-1===t&&(t=Kr),l(e)._overflowWeekday&&-1===t&&(t=Gr),l(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,c=ti.exec(s)||ni.exec(s);if(c){for(l(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(c[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(c[3])){o=(c[2]||\" \")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(c[4]){if(!ri.exec(c[4]))return void(e._isValid=!1);a=\"Z\"}e._f=i+(o||\"\")+(a||\"\"),Te(e)}else e._isValid=!1}function ve(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ge(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ye(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function be(e){return xe(e)?366:365}function xe(e){return e%4===0&&e%100!==0||e%400===0}function we(){return xe(this.year())}function _e(e,t,n){var r=7+t-n,i=(7+ye(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,c=_e(e,r,i),u=1+7*(t-1)+s+c;return 0>=u?(o=e-1,a=be(o)+u):u>be(e)?(o=e+1,a=u-be(e)):(o=e,a=u),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(be(e)-r+i)/7}function Ee(e,t,n){return null!=e?e:null!=t?t:n}function Oe(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ae(e){var t,n,r,i,o=[];if(!e._d){for(r=Oe(e),e._w&&null==e._a[Ur]&&null==e._a[$r]&&Ce(e),e._dayOfYear&&(i=Ee(e._a[Lr],r[Lr]),e._dayOfYear>be(i)&&(l(e)._overflowDayOfYear=!0),n=ye(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Vr]&&0===e._a[Wr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ye:ge).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function Ce(e){var t,n,r,i,o,a,s,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Ee(t.GG,e._a[Lr],je(De(),1,4).year),r=Ee(t.W,1),i=Ee(t.E,1),(1>i||i>7)&&(c=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=Ee(t.gg,e._a[Lr],je(De(),o,a).year),r=Ee(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(c=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(c=!0)):i=o),1>r||r>Se(n,o,a)?l(e)._overflowWeeks=!0:null!=c?l(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Lr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],l(e).empty=!0;var t,r,i,o,a,s=\"\"+e._i,c=s.length,u=0;for(i=G(e._f,e._locale).match(yr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(Z(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&l(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),wr[o]?(r?l(e).empty=!1:l(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&l(e).unusedTokens.push(o);l(e).charsLeftOver=c-u,s.length>0&&l(e).unusedInput.push(s),l(e).bigHour===!0&&e._a[Hr]<=12&&e._a[Hr]>0&&(l(e).bigHour=void 0),l(e).parsedDateParts=e._a.slice(0),l(e).meridiem=e._meridiem,e._a[Hr]=Ie(e._locale,e._a[Hr],e._meridiem),Ae(e),he(e)}function Ie(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Pe(e){var t,n,r,i,o;if(0===e._f.length)return l(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Te(t),f(t)&&(o+=l(t).charsLeftOver,o+=10*l(t).unusedTokens.length,l(t).score=o,(null==r||r>o)&&(r=o,n=t));c(e,n||t)}function Fe(e){if(!e._d){var t=q(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ae(e)}}function Me(e){var t=new v(he(ze(e)));return t._nextDay&&(t.add(1,\"d\"),t._nextDay=void 0),t}function ze(e){var t=e._i,n=e._f;return e._locale=e._locale||z(e._l),null===t||void 0===n&&\"\"===t?d({nullInput:!0}):(\"string\"==typeof t&&(e._i=t=e._locale.preparse(t)),g(t)?new v(he(t)):(i(n)?Pe(e):n?Te(e):o(t)?e._d=t:Be(e),f(e)||(e._d=null),e))}function Be(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):\"string\"==typeof t?ve(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),Ae(e)):\"object\"==typeof t?Fe(e):\"number\"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Ne(e,t,n,r,i){var o={};return\"boolean\"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Me(o)}function De(e,t,n,r){return Ne(e,t,n,r,!1)}function qe(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return De();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Re(){var e=[].slice.call(arguments,0);return qe(\"isBefore\",e)}function Le(){var e=[].slice.call(arguments,0);return qe(\"isAfter\",e)}function $e(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,c=t.minute||0,u=t.second||0,p=t.millisecond||0;this._milliseconds=+p+1e3*u+6e4*c+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=z(),this._bubble()}function Ue(e){return e instanceof $e}function He(e,t){V(e,0,0,function(){var e=this.utcOffset(),n=\"+\";return 0>e&&(e=-e,n=\"-\"),n+H(~~(e/60),2)+t+H(~~e%60,2)})}function Ve(e,t){var n=(t||\"\").match(e)||[],r=n[n.length-1]||[],i=(r+\"\").match(li)||[\"-\",0,0],o=+(60*i[1])+b(i[2]);return\"+\"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(g(e)||o(e)?e.valueOf():De(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):De(e).local()}function Ye(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ke(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?(\"string\"==typeof e?e=Ve(Br,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Ye(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,\"m\"),i!==e&&(!t||this._changeInProgress?lt(this,ot(e-i,\"m\"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Ye(this):null!=e?this:NaN}function Ge(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Je(e){return this.utcOffset(0,e)}function Ze(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ye(this),\"m\")),this}function Qe(){return this._tzm?this.utcOffset(this._tzm):\"string\"==typeof this._i&&this.utcOffset(Ve(zr,this._i)),this}function Xe(e){return this.isValid()?(e=e?De(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=ze(e),e._a){var t=e._isUTC?u(e._a):De(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:\"number\"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=fi.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:0,d:b(a[Ur])*n,h:b(a[Hr])*n,m:b(a[Vr])*n,s:b(a[Wr])*n,ms:b(a[Yr])*n}):(a=di.exec(e))?(n=\"-\"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:\"object\"==typeof o&&(\"from\"in o||\"to\"in o)&&(i=ct(De(o.from),De(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new $e(o),Ue(e)&&s(e,\"_locale\")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(\",\",\".\"));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,\"M\").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,\"M\"),n}function ct(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ut(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function pt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,\"moment().\"+t+\"(period, number) is deprecated. Please use moment().\"+t+\"(number, period).\"),o=n,n=r,r=o),n=\"string\"==typeof n?+n:n,i=ot(n,r),lt(this,i,e),this}}function lt(e,t,r,i){var o=t._milliseconds,a=ut(t._days),s=ut(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,\"Date\",L(e,\"Date\")+a*r),s&&ce(e,L(e,\"Month\")+s*r),i&&n.updateOffset(e,a||s))}function ft(e,t){var n=e||De(),r=We(n,this).startOf(\"day\"),i=this.diff(r,\"days\",!0),o=-6>i?\"sameElse\":-1>i?\"lastWeek\":0>i?\"lastDay\":1>i?\"sameDay\":2>i?\"nextDay\":7>i?\"nextWeek\":\"sameElse\",a=t&&(j(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,De(n)))}function dt(){return new v(this)}function ht(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function mt(e,t){var n=g(e)?e:De(e);return this.isValid()&&n.isValid()?(t=D(h(t)?\"millisecond\":t),\"millisecond\"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function vt(e,t,n,r){return r=r||\"()\",(\"(\"===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(\")\"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function gt(e,t){var n,r=g(e)?e:De(e);return this.isValid()&&r.isValid()?(t=D(t||\"millisecond\"),\"millisecond\"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function yt(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function bt(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function xt(e,t,n){var r,i,o,a;return this.isValid()?(r=We(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t),\"year\"===t||\"month\"===t||\"quarter\"===t?(a=wt(this,r),\"quarter\"===t?a/=3:\"year\"===t&&(a/=12)):(o=this-r,a=\"second\"===t?o/1e3:\"minute\"===t?o/6e4:\"hour\"===t?o/36e5:\"day\"===t?(o-i)/864e5:\"week\"===t?(o-i)/6048e5:o),n?a:y(a)):NaN):NaN}function wt(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,\"months\");return 0>t-o?(n=e.clone().add(i-1,\"months\"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,\"months\"),r=(t-o)/(n-o)),-(i+r)||0}function _t(){return this.clone().locale(\"en\").format(\"ddd MMM DD YYYY HH:mm:ss [GMT]ZZ\")}function kt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?j(Date.prototype.toISOString)?this.toDate().toISOString():K(e,\"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]\"):K(e,\"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]\")}function jt(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=K(this,e);return this.localeData().postformat(t)}function St(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Et(e){return this.from(De(),e)}function Ot(e,t){return this.isValid()&&(g(e)&&e.isValid()||De(e).isValid())?ot({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function At(e){return this.to(De(),e)}function Ct(e){var t;return void 0===e?this._locale._abbr:(t=z(e),null!=t&&(this._locale=t),this)}function Tt(){return this._locale}function It(e){switch(e=D(e)){case\"year\":this.month(0);case\"quarter\":case\"month\":this.date(1);case\"week\":case\"isoWeek\":case\"day\":case\"date\":this.hours(0);case\"hour\":this.minutes(0);case\"minute\":this.seconds(0);case\"second\":this.milliseconds(0)}return\"week\"===e&&this.weekday(0),\"isoWeek\"===e&&this.isoWeekday(1),\"quarter\"===e&&this.month(3*Math.floor(this.month()/3)),this}function Pt(e){return e=D(e),void 0===e||\"millisecond\"===e?this:(\"date\"===e&&(e=\"day\"),this.startOf(e).add(1,\"isoWeek\"===e?\"week\":e).subtract(1,\"ms\"))}function Ft(){return this._d.valueOf()-6e4*(this._offset||0)}function Mt(){return Math.floor(this.valueOf()/1e3)}function zt(){return this._offset?new Date(this.valueOf()):this._d}function Bt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Nt(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dt(){return this.isValid()?this.toISOString():null}function qt(){return f(this)}function Rt(){return c({},l(this))}function Lt(){return l(this).overflow}function $t(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ut(e,t){V(0,[e,e.length],0,t)}function Ht(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vt(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wt(){return Se(this.year(),1,4)}function Yt(){var e=this.localeData()._week;return Se(this.year(),e.dow,e.doy)}function Kt(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(o=Se(e,r,i),t>o&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=ye(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Jt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Zt(e){return je(e,this._week.dow,this._week.doy).week}function Qt(){return this._week.dow}function Xt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),\"d\")}function tn(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),\"d\")}function nn(e,t){return\"string\"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),\"number\"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?\"format\":\"standalone\"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=u([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,\"\").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,\"\").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,\"\").toLocaleLowerCase();return n?\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):\"dddd\"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):\"ddd\"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function cn(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=u([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp(\"^\"+this.weekdays(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._shortWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysShort(i,\"\").replace(\".\",\".?\")+\"$\",\"i\"),this._minWeekdaysParse[r]=new RegExp(\"^\"+this.weekdaysMin(i,\"\").replace(\".\",\".?\")+\"$\",\"i\")),this._weekdaysParse[r]||(o=\"^\"+this.weekdays(i,\"\")+\"|^\"+this.weekdaysShort(i,\"\")+\"|^\"+this.weekdaysMin(i,\"\"),this._weekdaysParse[r]=new RegExp(o.replace(\".\",\"\"),\"i\")),n&&\"dddd\"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&\"ddd\"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&\"dd\"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function un(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,\"d\")):t}function pn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,\"d\")}function ln(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function fn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(e){return this._weekdaysParseExact?(s(this,\"_weekdaysRegex\")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],c=[],p=[];for(t=0;7>t;t++)n=u([2e3,1]).day(t),r=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),o=this.weekdays(n,\"\"),a.push(r),s.push(i),c.push(o),p.push(r),p.push(i),p.push(o);for(a.sort(e),s.sort(e),c.sort(e),p.sort(e),t=0;7>t;t++)s[t]=X(s[t]),c[t]=X(c[t]),p[t]=X(p[t]);this._weekdaysRegex=new RegExp(\"^(\"+p.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+c.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+s.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function vn(e){var t=Math.round((this.clone().startOf(\"day\")-this.clone().startOf(\"year\"))/864e5)+1;return null==e?t:this.add(e-t,\"d\")}function gn(){return this.hours()%12||12}function yn(){return this.hours()||24}function bn(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function xn(e,t){return t._meridiemParse}function wn(e){return\"p\"===(e+\"\").toLowerCase().charAt(0)}function _n(e,t,n){return e>11?n?\"pm\":\"PM\":n?\"am\":\"AM\"}function kn(e,t){t[Yr]=b(1e3*(\"0.\"+e))}function jn(){return this._isUTC?\"UTC\":\"\"}function Sn(){return this._isUTC?\"Coordinated Universal Time\":\"\"}function En(e){return De(1e3*e)}function On(){return De.apply(null,arguments).parseZone()}function An(e,t,n){var r=this._calendar[e];return j(r)?r.call(t,n):r}function Cn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function Tn(){return this._invalidDate}function In(e){return this._ordinal.replace(\"%d\",e)}function Pn(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return j(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Mn(e,t){var n=this._relativeTime[e>0?\"future\":\"past\"];return j(n)?n(t):n.replace(/%s/i,t)}function zn(e,t,n,r){var i=z(),o=u().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(\"number\"==typeof e&&(t=e,e=void 0),e=e||\"\",null!=t)return zn(e,t,n,\"month\");var r,i=[];for(r=0;12>r;r++)i[r]=zn(e,r,n,\"month\");return i}function Nn(e,t,n,r){\"boolean\"==typeof e?(\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\"):(t=e,n=t,e=!1,\"number\"==typeof t&&(n=t,t=void 0),t=t||\"\");var i=z(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,\"day\");var a,s=[];for(a=0;7>a;a++)s[a]=zn(t,(a+o)%7,r,\"day\");return s}function Dn(e,t){return Bn(e,t,\"months\")}function qn(e,t){return Bn(e,t,\"monthsShort\")}function Rn(e,t,n){return Nn(e,t,n,\"weekdays\")}function Ln(e,t,n){return Nn(e,t,n,\"weekdaysShort\")}function $n(e,t,n){return Nn(e,t,n,\"weekdaysMin\")}function Un(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Hn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Vn(e,t){return Hn(this,e,t,1)}function Wn(e,t){return Hn(this,e,t,-1)}function Yn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Kn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Yn(Jn(s)+a),a=0,s=0),c.milliseconds=o%1e3,e=y(o/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,a+=y(n/24),i=y(Gn(a)),s+=i,a-=Yn(Jn(i)),r=y(s/12),s%=12,c.days=a,c.months=s,c.years=r,this}function Gn(e){return 4800*e/146097}function Jn(e){return 146097*e/4800}function Zn(e){var t,n,r=this._milliseconds;if(e=D(e),\"month\"===e||\"year\"===e)return t=this._days+r/864e5,n=this._months+Gn(t),\"month\"===e?n:n/12;switch(t=this._days+Math.round(Jn(this._months)),e){case\"week\":return t/7+r/6048e5;case\"day\":return t+r/864e5;case\"hour\":return 24*t+r/36e5;case\"minute\":return 1440*t+r/6e4;case\"second\":return 86400*t+r/1e3;case\"millisecond\":return Math.floor(864e5*t)+r;default:throw new Error(\"Unknown unit \"+e)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12)}function Xn(e){return function(){return this.as(e)}}function er(e){return e=D(e),this[e+\"s\"]()}function tr(e){return function(){return this._data[e]}}function nr(){return y(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as(\"s\")),o=no(r.as(\"m\")),a=no(r.as(\"h\")),s=no(r.as(\"d\")),c=no(r.as(\"M\")),u=no(r.as(\"y\")),p=i<ro.s&&[\"s\",i]||1>=o&&[\"m\"]||o<ro.m&&[\"mm\",o]||1>=a&&[\"h\"]||a<ro.h&&[\"hh\",a]||1>=s&&[\"d\"]||s<ro.d&&[\"dd\",s]||1>=c&&[\"M\"]||c<ro.M&&[\"MM\",c]||1>=u&&[\"y\"]||[\"yy\",u];return p[2]=t,p[3]=+e>0,p[4]=n,rr.apply(null,p)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=y(r/60),t=y(e/60),r%=60,e%=60,n=y(o/12),o%=12;var a=n,s=o,c=i,u=t,p=e,l=r,f=this.asSeconds();return f?(0>f?\"-\":\"\")+\"P\"+(a?a+\"Y\":\"\")+(s?s+\"M\":\"\")+(c?c+\"D\":\"\")+(u||p||l?\"T\":\"\")+(u?u+\"H\":\"\")+(p?p+\"M\":\"\")+(l?l+\"S\":\"\"):\"P0D\"}var cr,ur;ur=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var pr=n.momentProperties=[],lr=!1,fr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var dr;dr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var hr,mr,vr={},gr={},yr=/(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,br=/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xr={},wr={},_r=/\\d/,kr=/\\d\\d/,jr=/\\d{3}/,Sr=/\\d{4}/,Er=/[+-]?\\d{6}/,Or=/\\d\\d?/,Ar=/\\d\\d\\d\\d?/,Cr=/\\d\\d\\d\\d\\d\\d?/,Tr=/\\d{1,3}/,Ir=/\\d{1,4}/,Pr=/[+-]?\\d{1,6}/,Fr=/\\d+/,Mr=/[+-]?\\d+/,zr=/Z|[+-]\\d\\d:?\\d\\d/gi,Br=/Z|[+-]\\d\\d(?::?\\d\\d)?/gi,Nr=/[+-]?\\d+(\\.\\d{1,3})?/,Dr=/[0-9]*['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+|[\\u0600-\\u06FF\\/]+(\\s*?[\\u0600-\\u06FF]+){1,2}/i,qr={},Rr={},Lr=0,$r=1,Ur=2,Hr=3,Vr=4,Wr=5,Yr=6,Kr=7,Gr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V(\"M\",[\"MM\",2],\"Mo\",function(){return this.month()+1}),V(\"MMM\",0,0,function(e){return this.localeData().monthsShort(this,e)}),V(\"MMMM\",0,0,function(e){return this.localeData().months(this,e)}),N(\"month\",\"M\"),J(\"M\",Or),J(\"MM\",Or,kr),J(\"MMM\",function(e,t){return t.monthsShortRegex(e)}),J(\"MMMM\",function(e,t){return t.monthsRegex(e)}),ee([\"M\",\"MM\"],function(e,t){t[$r]=b(e)-1}),ee([\"MMM\",\"MMMM\"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[$r]=i:l(n).invalidMonth=e});var Jr=/D[oD]?(\\[[^\\[\\]]*\\]|\\s+)+MMMM?/,Zr=\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),Qr=\"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec\".split(\"_\"),Xr=Dr,ei=Dr,ti=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ni=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?/,ri=/Z|[+-]\\d\\d(?::?\\d\\d)?/,ii=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],oi=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],ai=/^\\/?Date\\((\\-?\\d+)/i;n.createFromInputFallback=_(\"moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.\",function(e){e._d=new Date(e._i+(e._useUTC?\" UTC\":\"\"))}),V(\"Y\",0,0,function(){var e=this.year();return 9999>=e?\"\"+e:\"+\"+e}),V(0,[\"YY\",2],0,function(){return this.year()%100}),V(0,[\"YYYY\",4],0,\"year\"),V(0,[\"YYYYY\",5],0,\"year\"),V(0,[\"YYYYYY\",6,!0],0,\"year\"),N(\"year\",\"y\"),J(\"Y\",Mr),J(\"YY\",Or,kr),J(\"YYYY\",Ir,Sr),J(\"YYYYY\",Pr,Er),J(\"YYYYYY\",Pr,Er),ee([\"YYYYY\",\"YYYYYY\"],Lr),ee(\"YYYY\",function(e,t){t[Lr]=2===e.length?n.parseTwoDigitYear(e):b(e)}),ee(\"YY\",function(e,t){t[Lr]=n.parseTwoDigitYear(e)}),ee(\"Y\",function(e,t){t[Lr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var si=R(\"FullYear\",!0);n.ISO_8601=function(){};var ci=_(\"moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:d()}),ui=_(\"moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548\",function(){var e=De.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:d();\n}),pi=function(){return Date.now?Date.now():+new Date};He(\"Z\",\":\"),He(\"ZZ\",\"\"),J(\"Z\",Br),J(\"ZZ\",Br),ee([\"Z\",\"ZZ\"],function(e,t,n){n._useUTC=!0,n._tzm=Ve(Br,e)});var li=/([\\+\\-]|\\d\\d)/gi;n.updateOffset=function(){};var fi=/^(\\-)?(?:(\\d*)[. ])?(\\d+)\\:(\\d+)(?:\\:(\\d+)\\.?(\\d{3})?\\d*)?$/,di=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=$e.prototype;var hi=pt(1,\"add\"),mi=pt(-1,\"subtract\");n.defaultFormat=\"YYYY-MM-DDTHH:mm:ssZ\",n.defaultFormatUtc=\"YYYY-MM-DDTHH:mm:ss[Z]\";var vi=_(\"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.\",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,[\"gg\",2],0,function(){return this.weekYear()%100}),V(0,[\"GG\",2],0,function(){return this.isoWeekYear()%100}),Ut(\"gggg\",\"weekYear\"),Ut(\"ggggg\",\"weekYear\"),Ut(\"GGGG\",\"isoWeekYear\"),Ut(\"GGGGG\",\"isoWeekYear\"),N(\"weekYear\",\"gg\"),N(\"isoWeekYear\",\"GG\"),J(\"G\",Mr),J(\"g\",Mr),J(\"GG\",Or,kr),J(\"gg\",Or,kr),J(\"GGGG\",Ir,Sr),J(\"gggg\",Ir,Sr),J(\"GGGGG\",Pr,Er),J(\"ggggg\",Pr,Er),te([\"gggg\",\"ggggg\",\"GGGG\",\"GGGGG\"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),te([\"gg\",\"GG\"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V(\"Q\",0,\"Qo\",\"quarter\"),N(\"quarter\",\"Q\"),J(\"Q\",_r),ee(\"Q\",function(e,t){t[$r]=3*(b(e)-1)}),V(\"w\",[\"ww\",2],\"wo\",\"week\"),V(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),N(\"week\",\"w\"),N(\"isoWeek\",\"W\"),J(\"w\",Or),J(\"ww\",Or,kr),J(\"W\",Or),J(\"WW\",Or,kr),te([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var gi={dow:0,doy:6};V(\"D\",[\"DD\",2],\"Do\",\"date\"),N(\"date\",\"D\"),J(\"D\",Or),J(\"DD\",Or,kr),J(\"Do\",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee([\"D\",\"DD\"],Ur),ee(\"Do\",function(e,t){t[Ur]=b(e.match(Or)[0],10)});var yi=R(\"Date\",!0);V(\"d\",0,\"do\",\"day\"),V(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),V(\"e\",0,0,\"weekday\"),V(\"E\",0,0,\"isoWeekday\"),N(\"day\",\"d\"),N(\"weekday\",\"e\"),N(\"isoWeekday\",\"E\"),J(\"d\",Or),J(\"e\",Or),J(\"E\",Or),J(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),J(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),J(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),te([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:l(n).invalidWeekday=e}),te([\"d\",\"e\",\"E\"],function(e,t,n,r){t[r]=b(e)});var bi=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),xi=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\"),wi=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\"),_i=Dr,ki=Dr,ji=Dr;V(\"DDD\",[\"DDDD\",3],\"DDDo\",\"dayOfYear\"),N(\"dayOfYear\",\"DDD\"),J(\"DDD\",Tr),J(\"DDDD\",jr),ee([\"DDD\",\"DDDD\"],function(e,t,n){n._dayOfYear=b(e)}),V(\"H\",[\"HH\",2],0,\"hour\"),V(\"h\",[\"hh\",2],0,gn),V(\"k\",[\"kk\",2],0,yn),V(\"hmm\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)}),V(\"hmmss\",0,0,function(){return\"\"+gn.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),V(\"Hmm\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)}),V(\"Hmmss\",0,0,function(){return\"\"+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),bn(\"a\",!0),bn(\"A\",!1),N(\"hour\",\"h\"),J(\"a\",xn),J(\"A\",xn),J(\"H\",Or),J(\"h\",Or),J(\"HH\",Or,kr),J(\"hh\",Or,kr),J(\"hmm\",Ar),J(\"hmmss\",Cr),J(\"Hmm\",Ar),J(\"Hmmss\",Cr),ee([\"H\",\"HH\"],Hr),ee([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee([\"h\",\"hh\"],function(e,t,n){t[Hr]=b(e),l(n).bigHour=!0}),ee(\"hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r)),l(n).bigHour=!0}),ee(\"hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i)),l(n).bigHour=!0}),ee(\"Hmm\",function(e,t,n){var r=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r))}),ee(\"Hmmss\",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=b(e.substr(0,r)),t[Vr]=b(e.substr(r,2)),t[Wr]=b(e.substr(i))});var Si=/[ap]\\.?m?\\.?/i,Ei=R(\"Hours\",!0);V(\"m\",[\"mm\",2],0,\"minute\"),N(\"minute\",\"m\"),J(\"m\",Or),J(\"mm\",Or,kr),ee([\"m\",\"mm\"],Vr);var Oi=R(\"Minutes\",!1);V(\"s\",[\"ss\",2],0,\"second\"),N(\"second\",\"s\"),J(\"s\",Or),J(\"ss\",Or,kr),ee([\"s\",\"ss\"],Wr);var Ai=R(\"Seconds\",!1);V(\"S\",0,0,function(){return~~(this.millisecond()/100)}),V(0,[\"SS\",2],0,function(){return~~(this.millisecond()/10)}),V(0,[\"SSS\",3],0,\"millisecond\"),V(0,[\"SSSS\",4],0,function(){return 10*this.millisecond()}),V(0,[\"SSSSS\",5],0,function(){return 100*this.millisecond()}),V(0,[\"SSSSSS\",6],0,function(){return 1e3*this.millisecond()}),V(0,[\"SSSSSSS\",7],0,function(){return 1e4*this.millisecond()}),V(0,[\"SSSSSSSS\",8],0,function(){return 1e5*this.millisecond()}),V(0,[\"SSSSSSSSS\",9],0,function(){return 1e6*this.millisecond()}),N(\"millisecond\",\"ms\"),J(\"S\",Tr,_r),J(\"SS\",Tr,kr),J(\"SSS\",Tr,jr);var Ci;for(Ci=\"SSSS\";Ci.length<=9;Ci+=\"S\")J(Ci,Fr);for(Ci=\"S\";Ci.length<=9;Ci+=\"S\")ee(Ci,kn);var Ti=R(\"Milliseconds\",!1);V(\"z\",0,0,\"zoneAbbr\"),V(\"zz\",0,0,\"zoneName\");var Ii=v.prototype;Ii.add=hi,Ii.calendar=ft,Ii.clone=dt,Ii.diff=xt,Ii.endOf=Pt,Ii.format=jt,Ii.from=St,Ii.fromNow=Et,Ii.to=Ot,Ii.toNow=At,Ii.get=U,Ii.invalidAt=Lt,Ii.isAfter=ht,Ii.isBefore=mt,Ii.isBetween=vt,Ii.isSame=gt,Ii.isSameOrAfter=yt,Ii.isSameOrBefore=bt,Ii.isValid=qt,Ii.lang=vi,Ii.locale=Ct,Ii.localeData=Tt,Ii.max=ui,Ii.min=ci,Ii.parsingFlags=Rt,Ii.set=U,Ii.startOf=It,Ii.subtract=mi,Ii.toArray=Bt,Ii.toObject=Nt,Ii.toDate=zt,Ii.toISOString=kt,Ii.toJSON=Dt,Ii.toString=_t,Ii.unix=Mt,Ii.valueOf=Ft,Ii.creationData=$t,Ii.year=si,Ii.isLeapYear=we,Ii.weekYear=Ht,Ii.isoWeekYear=Vt,Ii.quarter=Ii.quarters=Jt,Ii.month=ue,Ii.daysInMonth=pe,Ii.week=Ii.weeks=en,Ii.isoWeek=Ii.isoWeeks=tn,Ii.weeksInYear=Yt,Ii.isoWeeksInYear=Wt,Ii.date=yi,Ii.day=Ii.days=un,Ii.weekday=pn,Ii.isoWeekday=ln,Ii.dayOfYear=vn,Ii.hour=Ii.hours=Ei,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Ai,Ii.millisecond=Ii.milliseconds=Ti,Ii.utcOffset=Ke,Ii.utc=Je,Ii.local=Ze,Ii.parseZone=Qe,Ii.hasAlignedHourOffset=Xe,Ii.isDST=et,Ii.isDSTShifted=tt,Ii.isLocal=nt,Ii.isUtcOffset=rt,Ii.isUtc=it,Ii.isUTC=it,Ii.zoneAbbr=jn,Ii.zoneName=Sn,Ii.dates=_(\"dates accessor is deprecated. Use date instead.\",yi),Ii.months=_(\"months accessor is deprecated. Use month instead\",ue),Ii.years=_(\"years accessor is deprecated. Use year instead\",si),Ii.zone=_(\"moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779\",Ge);var Pi=Ii,Fi={sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},Mi={LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},zi=\"Invalid date\",Bi=\"%d\",Ni=/\\d{1,2}/,Di={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},qi=A.prototype;qi._calendar=Fi,qi.calendar=An,qi._longDateFormat=Mi,qi.longDateFormat=Cn,qi._invalidDate=zi,qi.invalidDate=Tn,qi._ordinal=Bi,qi.ordinal=In,qi._ordinalParse=Ni,qi.preparse=Pn,qi.postformat=Pn,qi._relativeTime=Di,qi.relativeTime=Fn,qi.pastFuture=Mn,qi.set=E,qi.months=ie,qi._months=Zr,qi.monthsShort=oe,qi._monthsShort=Qr,qi.monthsParse=se,qi._monthsRegex=ei,qi.monthsRegex=fe,qi._monthsShortRegex=Xr,qi.monthsShortRegex=le,qi.week=Zt,qi._week=gi,qi.firstDayOfYear=Xt,qi.firstDayOfWeek=Qt,qi.weekdays=rn,qi._weekdays=bi,qi.weekdaysMin=an,qi._weekdaysMin=wi,qi.weekdaysShort=on,qi._weekdaysShort=xi,qi.weekdaysParse=cn,qi._weekdaysRegex=_i,qi.weekdaysRegex=fn,qi._weekdaysShortRegex=ki,qi.weekdaysShortRegex=dn,qi._weekdaysMinRegex=ji,qi.weekdaysMinRegex=hn,qi.isPM=wn,qi._meridiemParse=Si,qi.meridiem=_n,P(\"en\",{ordinalParse:/\\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?\"th\":1===t?\"st\":2===t?\"nd\":3===t?\"rd\":\"th\";return e+n}}),n.lang=_(\"moment.lang is deprecated. Use moment.locale instead.\",P),n.langData=_(\"moment.langData is deprecated. Use moment.localeData instead.\",z);var Ri=Math.abs,Li=Xn(\"ms\"),$i=Xn(\"s\"),Ui=Xn(\"m\"),Hi=Xn(\"h\"),Vi=Xn(\"d\"),Wi=Xn(\"w\"),Yi=Xn(\"M\"),Ki=Xn(\"y\"),Gi=tr(\"milliseconds\"),Ji=tr(\"seconds\"),Zi=tr(\"minutes\"),Qi=tr(\"hours\"),Xi=tr(\"days\"),eo=tr(\"months\"),to=tr(\"years\"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=$e.prototype;oo.abs=Un,oo.add=Vn,oo.subtract=Wn,oo.as=Zn,oo.asMilliseconds=Li,oo.asSeconds=$i,oo.asMinutes=Ui,oo.asHours=Hi,oo.asDays=Vi,oo.asWeeks=Wi,oo.asMonths=Yi,oo.asYears=Ki,oo.valueOf=Qn,oo._bubble=Kn,oo.get=er,oo.milliseconds=Gi,oo.seconds=Ji,oo.minutes=Zi,oo.hours=Qi,oo.days=Xi,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Ct,oo.localeData=Tt,oo.toIsoString=_(\"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)\",sr),oo.lang=vi,V(\"X\",0,0,\"unix\"),V(\"x\",0,0,\"valueOf\"),J(\"x\",Mr),J(\"X\",Nr),ee(\"X\",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee(\"x\",function(e,t,n){n._d=new Date(b(e))}),n.version=\"2.13.0\",r(De),n.fn=Pi,n.min=Re,n.max=Le,n.now=pi,n.utc=u,n.unix=En,n.months=Dn,n.isDate=o,n.locale=P,n.invalid=d,n.duration=ot,n.isMoment=g,n.weekdays=Rn,n.parseZone=On,n.localeData=z,n.isDuration=Ue,n.monthsShort=qn,n.weekdaysMin=$n,n.defineLocale=F,n.updateLocale=M,n.locales=B,n.weekdaysShort=Ln,n.normalizeUnits=D,n.relativeTimeThreshold=or,n.prototype=Pi;var ao=n;return ao})},{}],188:[function(e,t,n){t.exports={MongoError:e(\"./lib/error\"),Server:e(\"./lib/topologies/server\"),ReplSet:e(\"./lib/topologies/replset\"),Mongos:e(\"./lib/topologies/mongos\"),Logger:e(\"./lib/connection/logger\"),Cursor:e(\"./lib/cursor\"),ReadPreference:e(\"./lib/topologies/read_preference\"),BSON:e(\"bson\"),Query:e(\"./lib/connection/commands\").Query,MongoCR:e(\"./lib/auth/mongocr\"),X509:e(\"./lib/auth/x509\"),Plain:e(\"./lib/auth/plain\"),GSSAPI:e(\"./lib/auth/gssapi\"),ScramSHA1:e(\"./lib/auth/scram\")}},{\"./lib/auth/gssapi\":189,\"./lib/auth/mongocr\":190,\"./lib/auth/plain\":191,\"./lib/auth/scram\":192,\"./lib/auth/x509\":194,\"./lib/connection/commands\":195,\"./lib/connection/logger\":197,\"./lib/cursor\":200,\"./lib/error\":201,\"./lib/topologies/mongos\":203,\"./lib/topologies/read_preference\":204,\"./lib/topologies/replset\":205,\"./lib/topologies/server\":207,bson:59}],189:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var f=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var d=u.gssapiServiceName||\"mongodb\",h=t.length;if(0==h)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(n,i,c,n,d,e,t,u,function(e,t){h-=1,e?y=e:t.result.$err?y=t.result:t.result.errmsg?y=t.result:(g=!0,v+=1),0==h&&v>0?(m(f.authStore,new a(n,i,c,u)),p(null,!0)):0==h&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a,s,u){var p=new c(a.host,a.port,i,s);p.init(t,n,function(i,s){return i?u(i,!1):void p.transition(\"\",function(i,s){return i?u(i,!1):void f(p,s,e,t,n,r,o,a,u)})})},f=function(e,t,n,r,i,o,a,s,c){var u={saslStart:1,mechanism:\"GSSAPI\",payload:t,autoAuthorize:1};a.command(\"$external.$cmd\",u,{connection:s},function(t,u){if(t)return c(t,!1);var p=u.result;e.transition(u.result.payload,function(t,u){return t?c(t,!1):void d(e,u,p,n,r,i,o,a,s,c)})})},d=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){if(t)return u(t,!1);var p=n.result;e.transition(p.payload,function(t,n){return t?u(t,!1):void h(e,n,p,r,i,o,a,s,c,u)})})},h=function(e,t,n,r,i,o,a,s,c,u){var p={saslContinue:1,conversationId:n.conversationId,payload:t};s.command(\"$external.$cmd\",p,{connection:c},function(t,n){return t?u(t,!1):void e.transition(null,function(e,t){return e?u(e,null):void u(null,n)})})},m=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],190:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]},c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){e.command(r(\"%s.$cmd\",n),{getnonce:1},{connection:t},function(v,g){var y=null,b=null;if(null==v){y=g.result.nonce;var x=i.createHash(\"md5\");x.update(s+\":mongo:\"+u,\"utf8\");var w=x.digest(\"hex\");x=i.createHash(\"md5\"),x.update(y+s+w,\"utf8\"),b=x.digest(\"hex\")}e.command(r(\"%s.$cmd\",n),{authenticate:1,user:s,nonce:y,key:b},{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}},s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,crypto:void 0,util:void 0}],191:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"bson\").Binary),o=e(\"../error\"),a=function(e,t,n){this.db=e,this.username=t,this.password=n};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=function(){this.authStore=[]};s.prototype.auth=function(e,t,n,s,u,p){var l=this,f=t.length;if(0==f)return p(null,null);for(var d=0,h=!1,m=null;t.length>0;){var v=function(t){var v=new i(r(\"\\x00%s\\x00%s\",s,u)),g={saslStart:1,mechanism:\"PLAIN\",payload:v,autoAuthorize:1};e.command(\"$external.$cmd\",g,{connection:t},function(e,t){f-=1,e?m=e:t.result.$err?m=t.result:t.result.errmsg?m=t.result:(h=!0,d+=1),0==f&&d>0?(c(l.authStore,new a(n,s,u)),p(null,!0)):0==f&&(null==m&&(m=new o(r(\"failed to authenticate using mongocr\"))),p(m,!1))})},g=function(e){process.nextTick(function(){v(e)})};g(t.shift())}};var c=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};s.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=s},{\"../error\":201,bson:59,crypto:void 0,util:void 0}],192:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").format,i=e(\"crypto\"),o=e(\"bson\").Binary,a=e(\"../error\"),s=function(e,t,n){this.db=e,this.username=t,this.password=n};s.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var c=0,u=function(){this.authStore=[],this.id=c++},p=function(e){for(var t={},n=e.split(\",\"),r=0;r<n.length;r++){var i=n[r].split(\"=\");t[i[0]]=i[1]}return t},l=function(e,t){if(\"string\"!=typeof e)throw new a(\"username must be a string\");if(\"string\"!=typeof t)throw new a(\"password must be a string\");if(0==t.length)throw new a(\"password cannot be empty\");var n=i.createHash(\"md5\");return n.update(e+\":mongo:\"+t,\"utf8\"),n.digest(\"hex\")},f=function(e,t){n.isBuffer(e)||(e=new n(e)),n.isBuffer(t)||(t=new n(t));var r=[];if(e.length>t.length)for(var i=0;i<t.length;i++)r.push(e[i]^t[i]);else for(var i=0;i<e.length;i++)r.push(e[i]^t[i]);return new n(r)},d=function(e,t,r){var o=function(t){var r=i.createHmac(\"sha1\",e);return r.update(t),new n(r.digest(\"base64\"),\"base64\")};t=n.concat([t,new n(\"\\x00\\x00\\x00\u0001\")]);for(var a=o(t),s=a,c=0;r-1>c;c++)s=o(s),a=f(a,s);return a};u.prototype.auth=function(e,t,c,u,m,v){var g=this,y=t.length;if(0==y)return v(null,null);for(var b=0,x=!1,w=null,_=function(t){u=u.replace(\"=\",\"=3D\").replace(\",\",\"=2C\");var _=i.randomBytes(24).toString(\"base64\"),k=r(\"n=%s,r=%s\",u,_),j={saslStart:1,mechanism:\"SCRAM-SHA-1\",payload:new o(r(\"n,,%s\",k)),autoAuthorize:1},S=function(e,t){return e?(b-=1,w=e,!1):t.result.$err?(w=t.result,!1):t.result.errmsg?(w=t.result,!1):(x=!0,b+=1,!0)},E=function(e,t){return 0==e&&t>0?(h(g.authStore,new s(c,u,m)),v(null,!0)):0==e?(null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)):void 0},O=function(e,t){S(e,t),y-=1,E(y,b)};e.command(r(\"%s.$cmd\",c),j,{connection:t},function(x,_){if(0!=S(x,_)){var j=p(_.result.payload.value()),E=parseInt(j.i,10),A=j.s,C=j.r,T=r(\"c=biws,r=%s\",C),I=l(u,m),P=d(I,new n(A,\"base64\"),E),F=i.createHmac(\"sha1\",P);F.update(new n(\"Client Key\"));var M=new n(F.digest(\"base64\"),\"base64\"),z=i.createHash(\"sha1\");z.update(M);var B=new n(z.digest(\"base64\"),\"base64\"),N=[k,_.result.payload.value().toString(\"base64\"),T].join(\",\"),F=i.createHmac(\"sha1\",B);F.update(new n(N));var D=new n(F.digest(\"base64\"),\"base64\"),q=r(\"p=%s\",new n(f(M,D)).toString(\"base64\")),R=[T,q].join(\",\"),F=i.createHmac(\"sha1\",P);F.update(new n(\"Server Key\"));var L=new n(F.digest(\"base64\"),\"base64\"),F=i.createHmac(\"sha1\",L);F.update(new n(N));var $=(new n(F.digest(\"base64\"),\"base64\"),{saslContinue:1,conversationId:_.result.conversationId,payload:new o(new n(R))});e.command(r(\"%s.$cmd\",c),$,{connection:t},function(i,o){if(o&&0==o.result.done){var a={saslContinue:1,conversationId:o.result.conversationId,payload:new n(0)};e.command(r(\"%s.$cmd\",c),a,{connection:t},function(e,t){O(e,t)})}else O(i,o)})}else{if(y-=1,0==y&&b>0)return h(g.authStore,new s(c,u,m)),v(null,!0);if(0==y)return null==w&&(w=new a(r(\"failed to authenticate using scram\"))),v(w,!1)}})},k=function(e){process.nextTick(function(){_(e)})};t.length>0;)k(t.shift())};var h=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};u.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=u}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,bson:59,buffer:void 0,crypto:void 0,util:void 0}],193:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"require_optional\")),o=e(\"../error\"),a=function(e,t,n,r){this.db=e,this.username=t,this.password=n,this.options=r};a.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var s=null,c=null;try{s=i(\"kerberos\").Kerberos,c=i(\"kerberos\").processes.MongoAuthProcess}catch(u){}var p=function(){this.authStore=[]};p.prototype.auth=function(e,t,n,i,c,u,p){var d=this;if(null==s)return p(new Error(\"Kerberos library is not installed\"));var h=u.gssapiServiceName||\"mongodb\",m=t.length;if(0==m)return p(null,null);for(var v=0,g=!1,y=null;t.length>0;){var b=function(t){l(i,c,h,e,t,u,function(e,t){m-=1,e?y=e:t&&\"object\"==typeof t&&t.result.$err?y=t.result:t&&\"object\"==typeof t&&t.result.errmsg?y=t.result:(g=!0,v+=1),0==m&&v>0?(f(d.authStore,new a(n,i,c,u)),p(null,!0)):0==m&&(null==y&&(y=new o(r(\"failed to authenticate using mongocr\"))),p(y,!1))})},x=function(e){process.nextTick(function(){b(e)})};x(t.shift())}};var l=function(e,t,n,r,i,o,a){var s={saslStart:1,mechanism:\"GSSAPI\",payload:\"\",autoAuthorize:1},u=new c(i.host,i.port,n,o);r.command(\"$external.$cmd\",s,{connection:i},function(n,o){if(n)return a(n,!1);var s=o.result;u.init(e,t,function(e){return e?a(e):void u.transition(s.payload,function(e,t){if(e)return a(e);var n={saslContinue:1,conversationId:s.conversationId,payload:t};r.command(\"$external.$cmd\",n,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){if(e)return a(e);var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;u.transition(n.payload,function(e,t){var o={saslContinue:1,conversationId:n.conversationId,payload:t};r.command(\"$external.$cmd\",o,{connection:i},function(e,t){if(e)return a(e,!1);var n=t.result;return n.done?a(null,!0):void a(new Error(\"Authentication failed\"),!1)})})})})})})})})},f=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};p.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,r[o].options,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=p},{\"../error\":201,crypto:void 0,require_optional:406,util:void 0}],194:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=(e(\"crypto\"),e(\"../error\")),o=function(e,t,n){this.db=e,this.username=t,this.password=n};o.prototype.equal=function(e){return e.db==this.db&&e.username==this.username&&e.password==this.password};var a=function(){this.authStore=[]};a.prototype.auth=function(e,t,n,a,c,u){var p=this,l=t.length;if(0==l)return u(null,null);for(var f=0,d=!1,h=null;t.length>0;){var m=function(t){var m={authenticate:1,mechanism:\"MONGODB-X509\",user:a};e.command(\"$external.$cmd\",m,{connection:t},function(e,t){l-=1,e?h=e:t.result.$err?h=t.result:t.result.errmsg?h=t.result:(d=!0,f+=1),0==l&&f>0?(s(p.authStore,new o(n,a,c)),u(null,!0)):0==l&&(null==h&&(h=new i(r(\"failed to authenticate using mongocr\"))),u(h,!1))})},v=function(e){process.nextTick(function(){m(e)})};v(t.shift())}};var s=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(e[r].equal(t)){n=!0;break}n||e.push(t)};a.prototype.reauthenticate=function(e,t,n){var r=this.authStore.slice(0),i=r.length;if(0==i)return n(null,null);for(var o=0;o<r.length;o++)this.auth(e,t,r[o].db,r[o].username,r[o].password,function(e,t){e&&(e=e),i-=1,0==i&&n(e,null)})},t.exports=a},{\"../error\":201,crypto:void 0,util:void 0}],195:[function(e,t,n){(function(n){\"use strict\";var r=(e(\"util\").format,e(\"bson\").Long),i=(e(\"./utils\").setProperty,e(\"./utils\").getProperty,e(\"./utils\").getSingleProperty,0),o=2004,a=2005,s=2007,c=2,u=4,p=8,l=16,f=32,d=64,h=128,m=9007199254740992,v=1,g=2,y=4,b=8,x=function(e,t,n,r){var o=this;if(null==t)throw new Error(\"ns must be specified for query\");if(null==n)throw new Error(\"query must be specified for query\");if(~t.indexOf(\"\\x00\"))throw new Error(\"namespace cannot contain a null character\");this.bson=e,this.ns=t,this.query=n,this.options=r||{},this.numberToSkip=r.numberToSkip||0,this.numberToReturn=r.numberToReturn||0,this.returnFieldSelector=r.returnFieldSelector||null,this.requestId=i++%m,this.serializeFunctions=\"boolean\"==typeof r.serializeFunctions?r.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof r.ignoreUndefined?r.ignoreUndefined:!1,this.maxBsonSize=r.maxBsonSize||16777216,this.checkKeys=\"boolean\"==typeof r.checkKeys?r.checkKeys:!0,this.batchSize=o.numberToReturn,this.tailable=!1,this.slaveOk=!1,this.oplogReplay=!1,this.noCursorTimeout=!1,this.awaitData=!1,this.exhaust=!1,this.partial=!1};x.prototype.incRequestId=function(){this.requestId=i++%m},x.nextRequestId=function(){return(i+1)%m},x.prototype.toBin=function(){var e=this,t=[],r=null,i=0;this.tailable&&(i|=c),this.slaveOk&&(i|=u),this.oplogReplay&&(i|=p),this.noCursorTimeout&&(i|=l),this.awaitData&&(i|=f),this.exhaust&&(i|=d),this.partial&&(i|=h),e.batchSize!=e.numberToReturn&&(e.numberToReturn=e.batchSize);var a=new n(20+n.byteLength(e.ns)+1+4+4);t.push(a);var s=e.bson.serialize(this.query,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);t.push(s),e.returnFieldSelector&&Object.keys(e.returnFieldSelector).length>0&&(r=e.bson.serialize(this.returnFieldSelector,this.checkKeys,!0,this.serializeFunctions,this.ignoreUndefined),t.push(r));var m=a.length+s.length+(r?r.length:0),v=4;return a[3]=m>>24&255,a[2]=m>>16&255,a[1]=m>>8&255,a[0]=255&m,a[v+3]=this.requestId>>24&255,a[v+2]=this.requestId>>16&255,a[v+1]=this.requestId>>8&255,a[v]=255&this.requestId,v+=4,a[v+3]=0,a[v+2]=0,a[v+1]=0,a[v]=0,v+=4,a[v+3]=o>>24&255,a[v+2]=o>>16&255,a[v+1]=o>>8&255,a[v]=255&o,v+=4,a[v+3]=i>>24&255,a[v+2]=i>>16&255,a[v+1]=i>>8&255,a[v]=255&i,v+=4,v=v+a.write(this.ns,v,\"utf8\")+1,a[v-1]=0,a[v+3]=this.numberToSkip>>24&255,a[v+2]=this.numberToSkip>>16&255,a[v+1]=this.numberToSkip>>8&255,a[v]=255&this.numberToSkip,v+=4,a[v+3]=this.numberToReturn>>24&255,a[v+2]=this.numberToReturn>>16&255,a[v+1]=this.numberToReturn>>8&255,a[v]=255&this.numberToReturn,v+=4,t},x.getRequestId=function(){return++i%m};var w=function(e,t,n,r){r=r||{},this.numberToReturn=r.numberToReturn||0,this.requestId=i++%m,this.bson=e,this.ns=t,this.cursorId=n};w.prototype.toBin=function(){var e=4+n.byteLength(this.ns)+1+4+8+16,t=0,r=new n(e);return r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=a>>24&255,r[t+2]=a>>16&255,r[t+1]=a>>8&255,r[t]=255&a,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,t=t+r.write(this.ns,t,\"utf8\")+1,r[t-1]=0,r[t+3]=this.numberToReturn>>24&255,r[t+2]=this.numberToReturn>>16&255,r[t+1]=this.numberToReturn>>8&255,r[t]=255&this.numberToReturn,t+=4,r[t+3]=this.cursorId.getLowBits()>>24&255,r[t+2]=this.cursorId.getLowBits()>>16&255,r[t+1]=this.cursorId.getLowBits()>>8&255,r[t]=255&this.cursorId.getLowBits(),t+=4,r[t+3]=this.cursorId.getHighBits()>>24&255,r[t+2]=this.cursorId.getHighBits()>>16&255,r[t+1]=this.cursorId.getHighBits()>>8&255,r[t]=255&this.cursorId.getHighBits(),t+=4,r};var _=function(e,t){this.requestId=i++%m,this.cursorIds=t};_.prototype.toBin=function(){var e=24+8*this.cursorIds.length,t=0,r=new n(e);r[t+3]=e>>24&255,r[t+2]=e>>16&255,r[t+1]=e>>8&255,r[t]=255&e,t+=4,r[t+3]=this.requestId>>24&255,r[t+2]=this.requestId>>16&255,r[t+1]=this.requestId>>8&255,r[t]=255&this.requestId,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=s>>24&255,r[t+2]=s>>16&255,r[t+1]=s>>8&255,r[t]=255&s,t+=4,r[t+3]=0,r[t+2]=0,r[t+1]=0,r[t]=0,t+=4,r[t+3]=this.cursorIds.length>>24&255,r[t+2]=this.cursorIds.length>>16&255,r[t+1]=this.cursorIds.length>>8&255,r[t]=255&this.cursorIds.length,t+=4;for(var i=0;i<this.cursorIds.length;i++)r[t+3]=this.cursorIds[i].getLowBits()>>24&255,r[t+2]=this.cursorIds[i].getLowBits()>>16&255,r[t+1]=this.cursorIds[i].getLowBits()>>8&255,r[t]=255&this.cursorIds[i].getLowBits(),t+=4,r[t+3]=this.cursorIds[i].getHighBits()>>24&255,r[t+2]=this.cursorIds[i].getHighBits()>>16&255,r[t+1]=this.cursorIds[i].getHighBits()>>8&255,r[t]=255&this.cursorIds[i].getHighBits(),t+=4;return r};var k=function(e,t,n,i){i=i||{promoteLongs:!0},this.parsed=!1,this.connection=e,this.index=0,this.raw=n,this.data=n,this.bson=t,this.opts=i,this.length=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.requestId=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.responseTo=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.index=this.index+4,this.responseFlags=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4;var o=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4;var a=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24;this.index=this.index+4,this.cursorId=new r(o,a),this.startingFrom=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.numberReturned=n[this.index]|n[this.index+1]<<8|n[this.index+2]<<16|n[this.index+3]<<24,this.index=this.index+4,this.documents=new Array(this.numberReturned),this.cursorNotFound=0!=(this.responseFlags&v),this.queryFailure=0!=(this.responseFlags&g),this.shardConfigStale=0!=(this.responseFlags&y),this.awaitCapable=0!=(this.responseFlags&b),this.promoteLongs=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0};k.prototype.isParsed=function(){return this.parsed};var j=new n(\"firstBatch\",\"utf8\"),S=new n(\"nextBatch\",\"utf8\");new n(\"id\",\"utf8\").toString(\"hex\"),{firstBatch:j.toString(\"hex\"),nextBatch:S.toString(\"hex\")};k.prototype.parse=function(e){if(!this.parsed){e=e||{};var t=e.raw||!1,n=e.documentsReturnedIn||null;if(1==this.numberReturned&&null!=n&&t){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,o=this.data.slice(this.index,this.index+i),a={};a[n]=!0;var s={promoteLongs:this.opts.promoteLongs,fieldsAsRaw:a};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs);var c=this.bson.deserialize(o,s);return this.documents=c.cursor[n],this.numberReturned=this.documents.length,this.cursorId=\"number\"==typeof c.cursor.id?r.fromNumber(c.cursor.id):c.cursor.id,this.index=this.index+i,void(this.parsed=!0)}for(var u=0;u<this.numberReturned;u++){var i=this.data[this.index]|this.data[this.index+1]<<8|this.data[this.index+2]<<16|this.data[this.index+3]<<24,s={promoteLongs:this.opts.promoteLongs};\"boolean\"==typeof e.promoteLongs&&(s.promoteLongs=e.promoteLongs),t?this.documents[u]=this.data.slice(this.index,this.index+i):this.documents[u]=this.bson.deserialize(this.data.slice(this.index,this.index+i),s),this.index=this.index+i}this.parsed=!0}},t.exports={Query:x,GetMore:w,Response:k,KillCursor:_}}).call(this,e(\"buffer\").Buffer)},{\"./utils\":199,bson:59,buffer:void 0,util:void 0}],196:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"net\"),a=e(\"tls\"),s=e(\"util\").format,c=e(\"crypto\"),u=(e(\"./utils\").getSingleProperty,e(\"./utils\").debugOptions),p=e(\"./commands\").Response,l=e(\"../error\"),f=e(\"./logger\"),d=0,h=[\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"rejectUnauthorized\",\"promoteLongs\",\"checkServerIdentity\"],m=function(e){if(i.call(this),this.options=e||{},this.id=d++,this.logger=f(\"Connection\",e),!e.bson)throw new Error(\"must pass in valid bson parser\");this.bson=e.bson,this.tag=e.tag,this.messageHandler=e.messageHandler,this.maxBsonMessageSize=e.maxBsonMessageSize||67108864,this.logger.isDebug()&&this.logger.debug(s(\"creating connection %s with options [%s]\",this.id,JSON.stringify(u(h,e)))),this.port=e.port||27017,this.host=e.host||\"localhost\",this.keepAlive=\"boolean\"==typeof e.keepAlive?e.keepAlive:!0,this.keepAliveInitialDelay=e.keepAliveInitialDelay||0,this.noDelay=\"boolean\"==typeof e.noDelay?e.noDelay:!0,this.connectionTimeout=e.connectionTimeout||0,this.socketTimeout=e.socketTimeout||0,this.destroyed=!1,this.domainSocket=-1!=this.host.indexOf(\"/\"),this.singleBufferSerializtion=\"boolean\"==typeof e.singleBufferSerializtion?e.singleBufferSerializtion:!0,this.serializationFunction=this.singleBufferSerializtion?\"toBinUnified\":\"toBin\",this.ca=e.ca||null,this.cert=e.cert||null,this.key=e.key||null,this.passphrase=e.passphrase||null,this.ssl=\"boolean\"==typeof e.ssl?e.ssl:!1,this.rejectUnauthorized=\"boolean\"==typeof e.rejectUnauthorized?e.rejectUnauthorized:!0,this.checkServerIdentity=\"boolean\"==typeof e.checkServerIdentity||\"function\"==typeof e.checkServerIdentity?e.checkServerIdentity:!0,this.ssl||(this.rejectUnauthorized=!1),this.responseOptions={promoteLongs:\"boolean\"==typeof e.promoteLongs?e.promoteLongs:!0},this.flushing=!1,this.queue=[],\nthis.connection=null,this.writeStream=null;var t=c.createHash(\"sha1\");t.update(s(\"%s:%s\",this.host,this.port)),this.hashedName=t.digest(\"hex\")};r(m,i),Object.defineProperty(m.prototype,\"socketTimeoutMS\",{enumerable:!0,set:function(e){if(\"number\"!=typeof e)throw new Error(\"socketTimeoutMS requires a boolean\");this.socketTimeout=e,this.connection.setTimeout(e)},get:function(){return this.socketTimeout}});var v=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] errored out with [%s]\",e.id,e.host,e.port,JSON.stringify(t))),e.listeners(\"error\").length>0&&e.emit(\"error\",l.create(t),e)}},g=function(e){return function(){e.logger.isDebug()&&e.logger.debug(s(\"connection %s for [%s:%s] timed out\",e.id,e.host,e.port)),e.emit(\"timeout\",l.create(s(\"connection %s to %s:%s timed out\",e.id,e.host,e.port)),e)}},y=function(e){return function(t){e.logger.isDebug()&&e.logger.debug(s(\"connection %s with for [%s:%s] closed\",e.id,e.host,e.port)),t||e.emit(\"close\",l.create(s(\"connection %s to %s:%s closed\",e.id,e.host,e.port)),e)}},b=function(e){return function(t){for(;t.length>0;)if(e.bytesRead>0&&e.sizeOfMessage>0){var r=e.sizeOfMessage-e.bytesRead;if(r>t.length)t.copy(e.buffer,e.bytesRead),e.bytesRead=e.bytesRead+t.length,t=new n(0);else{t.copy(e.buffer,e.bytesRead,0,r),t=t.slice(r);try{var i=e.buffer;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}}}else if(null!=e.stubBuffer&&e.stubBuffer.length>0)if(e.stubBuffer.length+t.length>4){var s=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(s,0),t.copy(s,e.stubBuffer.length),t=s,e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null}else{var c=new n(e.stubBuffer.length+t.length);e.stubBuffer.copy(c,0),t.copy(c,e.stubBuffer.length),t=new n(0)}else if(t.length>4){var u=t[0]|t[1]<<8|t[2]<<16|t[3]<<24;if(0>u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:\"\",bin:e.buffer,parseState:{sizeOfMessage:u,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};return void e.emit(\"parseError\",a,e)}if(u>4&&u<e.maxBsonMessageSize&&u>t.length)e.buffer=new n(u),t.copy(e.buffer,0),e.bytesRead=t.length,e.sizeOfMessage=u,e.stubBuffer=null,t=new n(0);else if(u>4&&u<e.maxBsonMessageSize&&u==t.length)try{var i=t;e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}catch(o){var a={err:\"socketHandler\",trace:o,bin:e.buffer,parseState:{sizeOfMessage:e.sizeOfMessage,bytesRead:e.bytesRead,stubBuffer:e.stubBuffer}};e.emit(\"parseError\",a,e)}else if(4>=u||u>e.maxBsonMessageSize){var a={err:\"socketHandler\",trace:null,bin:t,parseState:{sizeOfMessage:u,bytesRead:0,buffer:null,stubBuffer:null}};e.emit(\"parseError\",a,e),e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=new n(0)}else{var i=t.slice(0,u);e.buffer=null,e.sizeOfMessage=0,e.bytesRead=0,e.stubBuffer=null,t=t.slice(u),e.messageHandler(new p(e,e.bson,i,e.responseOptions),e)}}else e.stubBuffer=new n(t.length),t.copy(e.stubBuffer,0),t=new n(0)}};m.prototype.connect=function(e){var t=this;if(e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.responseOptions.promoteLongs=e.promoteLongs),t.connection=t.domainSocket?o.createConnection(t.host):o.createConnection(t.port,t.host),t.connection.setKeepAlive(t.keepAlive,t.keepAliveInitialDelay),t.connection.setTimeout(t.connectionTimeout),t.connection.setNoDelay(t.noDelay),t.ssl){var n={socket:t.connection,rejectUnauthorized:t.rejectUnauthorized};t.ca&&(n.ca=t.ca),t.cert&&(n.cert=t.cert),t.key&&(n.key=t.key),t.passphrase&&(n.passphrase=t.passphrase),0==t.checkServerIdentity?n.checkServerIdentity=function(e,t){}:\"function\"==typeof t.checkServerIdentity&&(n.checkServerIdentity=t.checkServerIdentity);try{t.connection=a.connect(t.port,t.host,n,function(){return t.connection.authorizationError&&t.rejectUnauthorized?t.emit(\"error\",t.connection.authorizationError,t,{ssl:!0}):(t.connection.setTimeout(t.socketTimeout),void t.emit(\"connect\",t))})}catch(r){process.nextTick(function(){return t.emit(\"error\",r,t,{ssl:!0})})}t.connection.setTimeout(t.connectionTimeout)}else t.connection.on(\"connect\",function(){t.connection.setTimeout(t.socketTimeout),t.emit(\"connect\",t)});t.connection.once(\"error\",v(t)),t.connection.once(\"timeout\",g(t)),t.connection.once(\"close\",y(t)),t.connection.on(\"data\",b(t))},m.prototype.unref=function(){if(this.connection)this.connection.unref();else{var e=this;this.once(\"connect\",function(){e.connection.unref()})}},m.prototype.destroy=function(){this.connection&&(this.connection.unref&&this.connection.unref(),this.connection.end(),this.connection.destroy()),this.destroyed=!0},m.prototype.write=function(e){if(this.logger.isDebug())if(Array.isArray(e))for(var t=0;t<e.length;t++)this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e[t].toString(\"hex\"),this.host,this.port));else this.logger.debug(s(\"writing buffer [%s] to %s:%s\",e.toString(\"hex\"),this.host,this.port));if(!Array.isArray(e))return this.connection.write(e,\"binary\");for(var t=0;t<e.length;t++)this.connection.write(e[t],\"binary\")},m.prototype.toString=function(){return\"\"+this.id},m.prototype.toJSON=function(){return{id:this.id,host:this.host,port:this.port}},m.prototype.isConnected=function(){return this.destroyed?!1:!this.connection.destroyed&&this.connection.writable},t.exports=m}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,\"./commands\":195,\"./logger\":197,\"./utils\":199,buffer:void 0,crypto:void 0,events:void 0,net:void 0,tls:void 0,util:void 0}],197:[function(e,t,n){\"use strict\";var r=e(\"util\").format,i=e(\"../error\"),o={},a={},s=null,c=process.pid,u=null,p=function(e,t){if(!(this instanceof p))return new p(e,t);t=t||{};this.className=e,null==u&&t.logger?u=t.logger:null==u&&(u=console.log),null==s&&(s=t.loggerLevel||\"error\"),null==a[this.className]&&(o[this.className]=!0)};p.prototype.debug=function(e,t){if(this.isDebug()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"DEBUG\",this.className,c,n,e),s={type:\"debug\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.info=function(e,t){if(this.isInfo()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"INFO\",this.className,c,n,e),s={type:\"info\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.error=function(e,t){if(this.isError()&&(Object.keys(a).length>0&&a[this.className]||0==Object.keys(a).length&&o[this.className])){var n=(new Date).getTime(),i=r(\"[%s-%s:%s] %s %s\",\"ERROR\",this.className,c,n,e),s={type:\"error\",message:e,className:this.className,pid:c,date:n};t&&(s.meta=t),u(i,s)}},p.prototype.isInfo=function(){return\"info\"==s||\"debug\"==s},p.prototype.isError=function(){return\"error\"==s||\"info\"==s||\"debug\"==s},p.prototype.isDebug=function(){return\"debug\"==s},p.reset=function(){s=\"error\",a={}},p.currentLogger=function(){return u},p.setCurrentLogger=function(e){if(\"function\"!=typeof e)throw new i(\"current logger must be a function\");u=e},p.filter=function(e,t){\"class\"==e&&Array.isArray(t)&&(a={},t.forEach(function(e){a[e]=!0}))},p.setLevel=function(e){if(\"info\"!=e&&\"error\"!=e&&\"debug\"!=e)throw new Error(r(\"%s is an illegal logging level\",e));s=e},t.exports=p},{\"../error\":201,util:void 0}],198:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=e(\"events\").EventEmitter,o=e(\"./connection\"),a=(e(\"./commands\").Query,e(\"./logger\")),s=e(\"util\").format,c=\"disconnected\",u=\"connecting\",p=\"connected\",l=\"destroyed\",f=0,d=function(e){if(i.call(this),this.options=e||{},this.size=\"number\"!=typeof e.size||isNaN(e.size)?5:e.size,this.waitMS=\"number\"!=typeof e.waitMS||isNaN(e.waitMS)?1e3:e.waitMS,this.host=e.host,this.port=e.port,this.messageHandler=e.messageHandler,!e.bson)throw new Error(\"must pass in valid bson parser\");this.availableConnections=[],this.inUseConnections=[],this.newConnections=[],this.connectingConnections=[],this.state=c,this.index=0,this.dead=!1,this.logger=a(\"Pool\",e),this.id=f++,this.tag=e.tag,this.queue=[],this.executing=!1,this.unreference=!1};r(d,i);var h=function(e,t){t.destroy();var n=function(e){for(var n=0;n<e.length;n++)if(e[n]===t)return e.splice(n,1),!0};n(e.availableConnections)||n(e.inUseConnections)||n(e.newConnections)||n(e.connectingConnections)},m=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.listeners(\"error\").length>0&&e.emit(\"error\",t,n)}},v=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] timed out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"timeout\",t,n)}},g=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] closed [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"close\",t,n)}},y=function(e){return function(t,n){e.logger.isDebug()&&e.logger.debug(s(\"pool [%s] errored out [%s] with connection [%s]\",this.dead,JSON.stringify(t),JSON.stringify(n))),n.destroy(),h(e,n),e.emit(\"parseError\",t,n)}};d.prototype.unref=function(){this.unreference=!0,this.getAll().forEach(function(e){e.unref()})},d.prototype.destroy=function(){this.state=l,this.dead=!0;var e=this.getAll();e.forEach(function(e){[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy()}),this.availableConnections=[],this.connectingConnections=[],this.inUseConnections=[],this.newConnections=[]},d.prototype.connect=function(e){var t=this;this.state=u,this.dead=!1,t.options.messageHandler=t.messageHandler;var n=new o(t.options);[\"close\",\"error\",\"timeout\",\"parseError\",\"connect\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"close\",g(t)),n.once(\"error\",m(t)),n.once(\"timeout\",v(t)),n.once(\"parseError\",y(t)),n.on(\"connect\",function(e){return\"DESTROYED\"==t.state?e.destroy():(t.availableConnections.push(e),void t.emit(\"connect\",t))}),n.connect(e)};var b=function(e){e.options.messageHandler=e.messageHandler;var t=new o(e.options);e.connectingConnections.push(t);var n=function(e){return function(t){e.destroy()}},r=[\"close\",\"message\",\"error\",\"timeout\",\"parseError\",\"connect\"],i=function(t){return function(){if(\"DESTROYED\"==e.state){var n=e.connectingConnections.indexOf(t);return-1!=n&&e.connectingConnections.splice(n,1),t.destroy()}r.forEach(function(e){t.removeAllListeners(e)}),t.once(\"close\",g(e)),t.once(\"error\",m(e)),t.once(\"timeout\",v(e)),t.once(\"parseError\",y(e));var n=e.connectingConnections.indexOf(t);-1!=n&&e.connectingConnections.splice(n,1),e.newConnections.push(t),e.emit(\"connection\",t),x(e)()}};t.once(\"close\",n(t)),t.once(\"error\",n(t)),t.once(\"timeout\",n(t)),t.once(\"parseError\",n(t)),t.once(\"connect\",i(t)),t.connect()},x=function(e){return function(){if(\"DESTROYED\"!=e.state&&!e.executing){e.executing=!0;var t=e.availableConnections.length+e.connectingConnections.length+e.inUseConnections.length+e.newConnections.length;if(0==e.availableConnections.length&&0==e.connectingConnections.length&&t<e.size&&e.queue.length>0)return b(e),void(e.executing=!1);for(e.availableConnections.length>e.queue.length?e.queue.length:e.availableConnections.length;;){if(0==e.availableConnections.length)break;if(0==e.queue.length)break;var n=e.availableConnections.pop();if(n.isConnected()){var r=e.queue.shift();r.cb&&(r.cb.connection=n);var i=r.buffer;if(e.inUseConnections.push(n),Array.isArray(i))for(var o=0;o<i.length;o++)n.write(i[o]);else n.write(i);r.immediateRelease&&e.availableConnections.push(n)}}e.executing=!1}}};d.prototype.write=function(e,t,n){var r={buffer:e,cb:t};n&&n.immediateRelease&&(r.immediateRelease=!0),this.queue.push(r),x(this)()},d.prototype.connectionAvailable=function(e){var t=this.newConnections.indexOf(e);-1!=t&&this.newConnections.splice(t,1),t=this.inUseConnections.indexOf(e),-1!=t&&this.inUseConnections.splice(t,1),-1==this.availableConnections.indexOf(e)&&this.availableConnections.push(e),x(this)()},d.prototype.get=function(e){e=e||{},this.index=this.index+1;var t=this.availableConnections.slice(0);return 1==t.length?t[0]:(this.index=this.index%t.length,t[this.index])},d.prototype.getAll=function(){return this.availableConnections.concat(this.inUseConnections).concat(this.connectingConnections).concat(this.newConnections)},d.prototype.isConnected=function(){for(var e=0;e<this.availableConnections.length;e++)if(this.availableConnections[e].isConnected())return!0;for(var e=0;e<this.inUseConnections.length;e++)if(this.inUseConnections[e].isConnected())return!0;for(var e=0;e<this.newConnections.length;e++)if(this.newConnections[e].isConnected())return!0;return this.state==p},d.prototype.isDestroyed=function(){return this.state==l},t.exports=d},{\"./commands\":195,\"./connection\":196,\"./logger\":197,events:void 0,util:void 0}],199:[function(e,t,n){\"use strict\";var r=function(e,t,n,r){Object.defineProperty(e,t.name,{enumerable:!0,set:function(e){if(\"boolean\"!=typeof e)throw new Error(f(\"%s required a boolean\",t.name));1==e&&(r.flags|=n),0==e&&(r.flags&n)==n&&(r.flags^=n),t.value=e},get:function(){return t.value}})},i=function(e,t,n,r,i){Object.defineProperty(e,t,{enumerable:!0,get:function(){return null==r[n]&&e.isParsed&&!e.isParsed()&&e.parse(),\"function\"==typeof i?i(r[n]):r[n]}})},o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=function(e,t){t=t||{};for(var n in e)t[n]=e[n];return t},s=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},c=function(e){var t=process.domain;if(null==t||null==e)return e;var n=t.bind(e);for(var r in e)n[r]=e[r];return n};n.setProperty=r,n.getProperty=i,n.getSingleProperty=o,n.copy=a,n.bindToCurrentDomain=c,n.debugOptions=s},{}],200:[function(e,t,n){\"use strict\";var r=e(\"bson\").Long,i=e(\"./connection/logger\"),o=e(\"./error\"),a=e(\"util\").format,s=function(e,t,n,o,a,s){o=o||{};this.pool=null,this.server=null,this.disconnectHandler=o.disconnectHandler,this.bson=e,this.ns=t,this.cmd=n,this.options=o,this.topology=a,this.cursorState={cursorId:null,cmd:n,documents:o.documents||[],cursorIndex:0,dead:!1,killed:!1,init:!1,notified:!1,limit:o.limit||n.limit||0,skip:o.skip||n.skip||0,batchSize:o.batchSize||n.batchSize||1e3,currentLimit:0,transforms:o.transforms},\"boolean\"==typeof s.promoteLongs&&(this.cursorState.promoteLongs=s.promoteLongs),this.callbacks=null,this.logger=i(\"Cursor\",o),\"number\"==typeof n?(this.cursorState.cursorId=r.fromNumber(n),this.cursorState.lastCursorId=this.cursorState.cursorId):n instanceof r&&(this.cursorState.cursorId=n,this.cursorState.lastCursorId=n)};s.prototype.setCursorBatchSize=function(e){this.cursorState.batchSize=e},s.prototype.cursorBatchSize=function(){return this.cursorState.batchSize},s.prototype.setCursorLimit=function(e){this.cursorState.limit=e},s.prototype.cursorLimit=function(){return this.cursorState.limit},s.prototype.setCursorSkip=function(e){this.cursorState.skip=e},s.prototype.cursorSkip=function(){return this.cursorState.skip};var c=function(e,t,n){try{e(t,n)}catch(t){process.nextTick(function(){throw t})}};s.prototype._find=function(e){var t=this;t.logger.isDebug()&&t.logger.debug(a(\"issue initial query [%s] with flags [%s]\",JSON.stringify(t.cmd),JSON.stringify(t.query)));var n=function(n,i){if(n)return e(n);if(i.queryFailure)return e(o.create(i.documents[0]),null);if(t.connection=i.connection,Array.isArray(i.documents)&&1==i.documents.length&&(!t.cmd.find||t.cmd.find&&0==t.cmd.virtual)&&(\"string\"!=i.documents[0].cursor||i.documents[0].$err||i.documents[0].errmsg||Array.isArray(i.documents[0].result))){if(i.documents[0].$err||i.documents[0].errmsg)return e(o.create(i.documents[0]),null);if(null!=i.documents[0].cursor&&\"string\"!=typeof i.documents[0].cursor){var a=i.documents[0].cursor.id;return i.documents[0].cursor.ns&&(t.ns=i.documents[0].cursor.ns),t.cursorState.cursorId=\"number\"==typeof a?r.fromNumber(a):a,t.cursorState.lastCursorId=t.cursorState.cursorId,Array.isArray(i.documents[0].cursor.firstBatch)&&(t.cursorState.documents=i.documents[0].cursor.firstBatch),e(null,null)}if(Array.isArray(i.documents[0].result))return t.cursorState.documents=i.documents[0].result,t.cursorState.cursorId=r.ZERO,e(null,null)}t.cursorState.cursorId=i.cursorId,t.cursorState.documents=i.documents,t.cursorState.lastCursorId=i.cursorId,t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.query&&(t.cursorState.documents=t.cursorState.transforms.query(i)),e(null,null)};(t.options.raw||t.cmd.raw)&&(n.raw=t.options.raw||t.cmd.raw),\"string\"==typeof t.query.documentsReturnedIn&&(n.documentsReturnedIn=t.query.documentsReturnedIn),\"boolean\"==typeof t.cursorState.promoteLongs&&(n.promoteLongs=t.cursorState.promoteLongs),t.callbacks.register(t.query.requestId,n),t.pool.write(t.query.toBin(),n)},s.prototype._getmore=function(e){this.logger.isDebug()&&this.logger.debug(a(\"schedule getMore call for query [%s]\",JSON.stringify(this.query)));var t=this.options.raw||this.cmd.raw,n=this.cursorState.batchSize;this.cursorState.limit>0&&this.cursorState.currentLimit+n>this.cursorState.limit&&(n=this.cursorState.limit-this.cursorState.currentLimit);var r=this.connection||this.pool;this.server.wireProtocolHandler.getMore(this.bson,this.ns,this.cursorState,n,t,r,this.callbacks,this.options,e)},s.prototype._killcursor=function(e){return this.cursorState.dead=!0,this.cursorState.killed=!0,this.cursorState.documents=[],null==this.cursorState.cursorId||this.cursorState.cursorId.isZero()||0==this.cursorState.init?void(e&&e(null,null)):void this.server.wireProtocolHandler.killCursor(this.bson,this.ns,this.cursorState.cursorId,this.pool,this.callbacks,e)},s.prototype.clone=function(){return this.topology.cursor(this.ns,this.cmd,this.options)},s.prototype.isDead=function(){return 1==this.cursorState.dead},s.prototype.isKilled=function(){return 1==this.cursorState.killed},s.prototype.isNotified=function(){return 1==this.cursorState.notified},s.prototype.bufferedCount=function(){return this.cursorState.documents.length-this.cursorState.cursorIndex},s.prototype.readBufferedDocuments=function(e){var t=this.cursorState.documents.length-this.cursorState.cursorIndex,n=t>e?e:t,r=this.cursorState.documents.slice(this.cursorState.cursorIndex,this.cursorState.cursorIndex+n);if(this.cursorState.transforms&&\"function\"==typeof this.cursorState.transforms.doc)for(var i=0;i<r.length;i++)r[i]=this.cursorState.transforms.doc(r[i]);return this.cursorState.limit>0&&this.cursorState.currentLimit+r.length>this.cursorState.limit&&(r=r.slice(0,this.cursorState.limit-this.cursorState.currentLimit),this.kill()),this.cursorState.currentLimit=this.cursorState.currentLimit+r.length,this.cursorState.cursorIndex=this.cursorState.cursorIndex+r.length,r},s.prototype.kill=function(e){this._killcursor(e)},s.prototype.rewind=function(){this.cursorState.init&&(this.cursorState.dead||this.kill(),this.cursorState.currentLimit=0,this.cursorState.init=!1,this.cursorState.dead=!1,this.cursorState.killed=!1,this.cursorState.notified=!1,this.cursorState.documents=[],this.cursorState.cursorId=null,this.cursorState.cursorIndex=0)};var u=function(e,t){return e.pool&&!e.pool.isConnected()?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,t(o.create(a(\"connection to host %s:%s was destroyed\",e.pool.host,e.pool.port))),!0):!1},p=function(e,t){return e.cursorState.dead&&!e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.killed=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},l=function(e,t){return e.cursorState.dead&&e.cursorState.killed?(c(t,o.create(\"cursor is dead\")),!0):!1},f=function(e,t){return e.cursorState.killed?(e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null),!0):!1},d=function(e,t){e.cursorState.dead=!0,e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},h=function(e,t){e.cursorState.notified=!0,e.cursorState.documents=[],e.cursorState.cursorIndex=0,c(t,null,null)},m=(Array.prototype.push,function(e,t){if(e.cursorState.notified)return t(new Error(\"cursor is exhausted\"));if(!f(e,t)&&!p(e,t)&&!l(e,t)){if(!e.cursorState.init){if(!e.topology.isConnected(e.options)&&null!=e.disconnectHandler)return e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t);try{e.server=e.topology.getServer(e.options),e.pool=e.server.s.pool,e.callbacks=e.server.getCallbacks()}catch(n){return null!=e.disconnectHandler?e.disconnectHandler.addObjectAndMethod(\"cursor\",e,\"next\",[t],t):t(n)}e.cursorState.init=!0;try{e.query=e.server.wireProtocolHandler.command(e.bson,e.ns,e.cmd,e.cursorState,e.topology,e.options)}catch(n){return t(n)}}if(null==e.cursorState.cursorId){if(u(e,t))return;if(e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));e._find(function(n,r){return n?c(t,n,null):0==e.cursorState.documents.length&&e.cursorState.cursorId&&e.cursorState.cursorId.isZero()&&!e.cmd.tailable&&!e.cmd.awaitData?h(e,t):void m(e,t)})}else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);if(e.cursorState.cursorIndex!=e.cursorState.documents.length||r.ZERO.equals(e.cursorState.cursorId)){if(e.cursorState.documents.length==e.cursorState.cursorIndex&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId))return c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData}));if(e.cursorState.documents.length==e.cursorState.cursorIndex&&r.ZERO.equals(e.cursorState.cursorId))d(e,t);else{if(e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit)return e.kill(),d(e,t);e.cursorState.currentLimit+=1;var i=e.cursorState.documents[e.cursorState.cursorIndex++];if(i.$err)return e.kill(),d(e,function(){c(t,new o(i.$err))});e.cursorState.transforms&&\"function\"==typeof e.cursorState.transforms.doc&&(i=e.cursorState.transforms.doc(i)),c(t,null,i)}}else{if(e.cursorState.documents=[],e.cursorState.cursorIndex=0,e.topology.isDestroyed())return t(new o(a(\"connection destroyed, not possible to instantiate cursor\")));if(u(e,t))return;e._getmore(function(n,i,a){return n&&43!=n.code?c(t,n):n&&43==n.code||0==e.cursorState.documents.length&&r.ZERO.equals(e.cursorState.cursorId)&&!e.cmd.tailable?(e.cursorState.dead=!0,d(e,t)):(e.connection=a,0==e.cursorState.documents.length&&e.cmd.tailable&&r.ZERO.equals(e.cursorState.cursorId)?c(t,o.create({message:\"No more documents in tailed cursor\",tailable:e.cmd.tailable,awaitData:e.cmd.awaitData})):0==e.cursorState.documents.length&&e.cmd.tailable&&!r.ZERO.equals(e.cursorState.cursorId)?m(e,t):e.cursorState.limit>0&&e.cursorState.currentLimit>=e.cursorState.limit?d(e,t):void m(e,t))})}}}});s.prototype.next=function(e){m(this,e)},t.exports=s},{\"./connection/logger\":197,\"./error\":201,bson:59,util:void 0}],201:[function(e,t,n){\"use strict\";function r(e){this.name=\"MongoError\",this.message=e,Error.captureStackTrace(this,r)}r.create=function(e){var t=null;if(e instanceof Error)t=new r(e.message),t.stack=e.stack;else if(\"string\"==typeof e)t=new r(e);else{t=new r(e.message||e.errmsg||e.$err||\"n/a\");for(var n in e)t[n]=e[n]}return t},r.prototype=new Error,t.exports=r},{}],202:[function(e,t,n){\"use strict\";var r=(e(\"../connection/utils\").setProperty,e(\"../connection/utils\").getProperty,e(\"../connection/utils\").getSingleProperty,function(e,t){this.result=e,this.connection=t});r.prototype.toJSON=function(){return this.result},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.exports=r},{\"../connection/utils\":199}],203:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}function i(e,t){if(e.listeners(\"topologyDescriptionChanged\").length>0&&t){var t=t.s,n={topologyType:\"Sharded\",servers:[]};n.servers=n.servers.concat(t.connectedServers.map(function(e){var t=e.getDescription();return t.type=\"Mongos\",t})),n.servers=n.servers.concat(t.disconnectedServers.map(function(e){var t=e.getDescription();return t.type=\"Unknown\",t}));var r={topologyId:e.id,previousDescription:t.topologyDescription,newDescription:n};e.emit(\"topologyDescriptionChanged\",r),t.topologyDescription=n}}var o=e(\"util\").inherits,a=e(\"util\").format,s=e(\"bson\"),c=e(\"../connection/utils\").bindToCurrentDomain,u=e(\"events\").EventEmitter,p=e(\"../cursor\"),l=e(\"bson\")[\"native\"]().BSON,p=e(\"../cursor\"),f=e(\"./server\"),d=e(\"../auth/mongocr\"),h=e(\"../auth/x509\"),m=e(\"../auth/plain\"),v=e(\"../auth/gssapi\"),g=e(\"../auth/sspi\"),y=e(\"../auth/scram\"),b=e(\"../connection/logger\"),x=e(\"./read_preference\"),w=e(\"./session\"),_=e(\"../error\"),k=\"disconnected\",j=\"connecting\",S=\"connected\",E=\"destroyed\",O=[s.Long,s.ObjectID,s.Binary,s.Code,s.DBRef,s.Symbol,s.Double,s.Timestamp,s.MaxKey,s.MinKey],A=null,C=0,T=function(e){var t={};for(var n in e)t[n]=e[n];return t},I=function(e,t){this.s={connectedServers:[],disconnectedServers:[],readPreferenceStrategies:e,lowerBoundLatency:Number.MAX_VALUE,localThresholdMS:t,index:0,topologyDescription:null}};I.prototype.resetDescription=function(){this.s.topologyDescription={topologyType:\"Sharded\",servers:[]}},I.prototype.connected=function(e){this.s.disconnectedServers=this.s.disconnectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.connectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.connectedServers.push(e),this.s.lowerBoundLatency>e.s.isMasterLatencyMS&&(this.s.lowerBoundLatency=e.s.isMasterLatencyMS)},I.prototype.disconnected=function(e){this.s.connectedServers=this.s.connectedServers.filter(function(t){return!t.equals(e)});var t=!1;this.s.disconnectedServers.forEach(function(n){n.equals(e)&&(t=!0)}),t||this.s.disconnectedServers.push(e)},I.prototype.disconnectedServers=function(){return this.s.disconnectedServers.slice(0)},I.prototype.connectedServers=function(){return this.s.connectedServers.slice(0)},I.prototype.getAll=function(){return this.s.connectedServers.slice(0).concat(this.s.disconnectedServers)},I.prototype.getAllConnections=function(){var e=[];return this.s.connectedServers.forEach(function(t){e=e.concat(t.connections())}),e},I.prototype.unref=function(){for(var e=0;e<this.s.connectedServers.length;e++){var t=this.s.connectedServers[e];[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(e){t.removeAllListeners(e)}),t.unref()}},I.prototype.destroy=function(){for(;this.s.connectedServers.length>0;){var e=this.s.connectedServers.shift();[\"error\",\"close\",\"timeout\",\"connect\"].forEach(function(t){e.removeAllListeners(t)}),e.destroy(),this.s.disconnectedServers.push(e)}};var P=function(e,t){t=t||{};var n=t.readPreference||x.primary,r=e.s.connectedServers.slice(0);if(null!=e.s.readPreferenceStrategies&&null!=e.s.readPreferenceStrategies[n]){var i=e.s.readPreferenceStrategies[n].pickServer(r,n);return i?[i]:[]}return r=e.s.connectedServers.filter(function(t){return t.s.isMasterLatencyMS<=e.s.lowerBoundLatency+e.s.localThresholdMS&&t.isConnected()?!0:void 0}),0==r.length&&e.s.connectedServers.length>0?(r=e.s.connectedServers.sort(function(e,t){return e.s.isMasterLatencyMS-t.s.isMasterLatencyMS}),[r[0]]):r};I.prototype.isConnected=function(e){var t=P(this,e);return t.length>0},I.prototype.pickServer=function(e){var t=P(this,{readPreference:e});if(0==t.length)throw new _(\"no mongos proxy available\");return this.s.index=(this.s.index+1)%t.length,t[this.s.index]};var F=function(e,t){var n=this;if(t=t||{},u.call(this),!Array.isArray(e))throw new _(\"seedlist must be an array\");if(0==e.length)throw new _(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new _(\"seedlist entry must contain a host and port\")}),A=null==A?new l(O):A;var r=t.bson?t.bson:A;t.bson=r,this.s={seedlist:e,options:t,logger:b(\"Mongos\",t),reconnectTries:t.reconnectTries||30,haInterval:t.haInterval||5e3,localThresholdMS:t.localThresholdMS||15,fullsetup:!1,Cursor:t.cursorFactory||p,credentials:[],bsonInstance:A,bson:r,pings:{},state:k,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,readPreferenceStrategies:{},authProviders:{},id:C++,authInProgress:!1,authInProgressServers:[],retriesLeft:t.reconnectTries||30,disconnectHandler:t.disconnectHandler},t.connectionTimeout=t.connectionTimeout||1e3,this.s.mongosState=new I(this.s.readPreferenceStrategies,this.s.localThresholdMS),this.addAuthProvider(\"mongocr\",new d),this.addAuthProvider(\"x509\",new h),this.addAuthProvider(\"plain\",new m),this.addAuthProvider(\"gssapi\",new v),this.addAuthProvider(\"sspi\",new g),this.addAuthProvider(\"scram-sha-1\",new y),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.mongosState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"mongos\"}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.mongosState}})};o(F,u),F.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},F.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new _(a(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(O)},F.prototype.lastIsMaster=function(){var e=this.s.mongosState.connectedServers();return e.length>0?e[0].lastIsMaster():null},F.prototype.connect=function(e){var t=this;if(setTimeout(M(t,t.s),t.s.haInterval),e)for(var n in e)t.s.options[n]=e[n];t.s.seedlist.forEach(function(e){var n=T(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.authProviders=t.s.authProviders,n.emitError=!0,n.inTopology=!0,n.topologyId=t.s.id,n.monitoring=!0,t.s.mongosState.disconnected(new f(n))}),this.s.mongosState.resetDescription(),r(this,\"topologyOpening\",{topologyId:this.s.id});var i=t.s.mongosState.disconnectedServers();for(this.s.state=j;i.length>0;){var o=i.shift();[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){o.removeAllListeners(e)}),o.once(\"error\",z(t,t.s,o)),o.once(\"close\",z(t,t.s,o)),o.once(\"timeout\",z(t,t.s,o)),o.once(\"parseError\",z(t,t.s,o)),o.once(\"connect\",q(t,t.s,\"connect\")),o.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),o.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),o.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),o.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),o.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),o.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)}),t.s.logger.isInfo()&&t.s.logger.info(a(\"connecting to server %s\",o.name));var s=function(e){process.nextTick(function(){e.connect()})};s(o)}},F.prototype.unref=function(e){this.s.logger.isInfo()&&this.s.logger.info(a(\"[%s] unreferenced\",this.s.id)),e&&this.listeners(\"close\").length>0&&this.emit(\"close\",this),this.s.mongosState.unref()},F.prototype.destroy=function(e){this.s.state=E,r(this,\"topologyClosed\",{topologyId:this.s.id}),e&&self.listeners(\"close\").length>0&&self.emit(\"close\",self),this.s.mongosState.destroy()},F.prototype.isConnected=function(e){return this.s.mongosState.isConnected(e)},F.prototype.isDestroyed=function(){return this.s.state==E},F.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),\nthis.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"insert\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},F.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"update\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},F.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.state==E?r(new _(a(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void $(this.s,\"remove\",e,t,n,r):(r=c(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},F.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.state==E)return r(new _(a(\"topology was destroyed\")));var i=this;if(!i.isConnected()&&null!=i.s.disconnectHandler)return r=c(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);var o=null;if(n=n||{},!n.onAll){try{o=i.s.mongosState.pickServer(n.writeConcern?x.primary:n.readPreference)}catch(s){return r(s)}return null==o?r(new _(\"no mongos found\")):void o.command(e,t,n,function(n,o){t.logout&&L(i.s,e),r(n,o)})}for(var u=i.s.mongosState.getAll(),p=u.length,l=0;l<u.length;l++)u[l].command(e,t,n,function(n,o){p-=1,0==p&&(t.logout&&L(i.s,e),r(n,o))})},F.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)},F.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new _(a(\"auth provider %s does not exist\",e));var o=this.s.mongosState.connectedServers().slice(0),s=o.length,c=!0,u=null;for(this.s.authInProgress=!0;o.length>0;){var p=o.shift(),l=[e,t].concat(r.slice(0)),f=l.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&R(n.s,t,l),u)return i(u,!1);i(null,new w({},n))}}]);p.auth.apply(p,f)}},F.prototype.addReadPreferenceStrategy=function(e,t){null==this.s.readPreferenceStrategies&&(this.s.readPreferenceStrategies={}),this.s.readPreferenceStrategies[e]=t},F.prototype.addAuthProvider=function(e,t){this.s.authProviders[e]=t},F.prototype.getConnection=function(e){e=e||{};var t=this.s.mongosState.pickServer(e.readPreference);return null==t?null:t.getConnection()},F.prototype.getServer=function(e){return e=e||{},this.s.mongosState.pickServer(e.readPreference)},F.prototype.connections=function(){return this.s.mongosState.getAllConnections()};var M=function(e,t){return function(){if(t.state!=E){if(t.state==S&&(t.retriesLeft=t.reconnectTries),t.state==k&&0==t.retriesLeft)return e.destroy(),e.emit(\"error\",new _(a(\"failed to reconnect after %s\",t.reconnectTries)));t.state==k&&(t.retriesLeft=t.retriesLeft-1),t.mongosState.isConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess running\"));var n=t.mongosState.disconnectedServers();if(0==n.length)return setTimeout(M(e,t),t.haInterval);var r=n.length;for(t.logger.isDebug()&&t.logger.debug(a(\"mongos ha proceess found %d disconnected proxies\",r));n.length>0;){var i=function(n){setTimeout(function(){[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){n.removeAllListeners(e)}),n.once(\"error\",z(e,t,o)),n.once(\"close\",z(e,t,o)),n.once(\"timeout\",z(e,t,o)),n.once(\"connect\",q(e,t,\"ha\")),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}),n.connect()},1)},o=n.shift();t.logger.isDebug()&&t.logger.debug(a(\"attempting to connect to server %s\",o.name)),i(o)}return setTimeout(M(e,t),t.options.connectionTimeout+t.haInterval)}}},z=function(e,t,n){return function(e,n){t.logger.isInfo()&&t.logger.info(a(\"server %s disconnected with error %s\",n.name,JSON.stringify(e))),t.mongosState.disconnected(n);var r=[\"error\",\"close\",\"timeout\",\"connect\"];r.forEach(function(e){n.removeAllListeners(e)})}},B=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s errored out with %s\",r.name,JSON.stringify(n))),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r),t.emitError&&e.emit(\"error\",n,r)}},N=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s timed out\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},D=function(e,t){return function(n,r){t.logger.isInfo()&&t.logger.info(a(\"server %s closed\",r.name)),t.mongosState.disconnected(r),0==t.mongosState.connectedServers().length&&(t.state=k),i(e,t.mongosState),e.emit(\"left\",\"mongos\",r)}},q=function(e,t,n){return function(r){t.logger.isInfo()&&t.logger.info(a(\"connected to %s\",r.name)),[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"parseError\"].forEach(function(e){r.removeAllListeners(e)});var o=function(r){r.isConnected()&&(r.once(\"error\",B(e,t)),r.once(\"close\",D(e,t)),r.once(\"timeout\",N(e,t)),r.once(\"parseError\",N(e,t))),e.emit(\"joined\",\"mongos\",r),t.mongosState.connected(r),\"ha\"==n&&1==t.mongosState.connectedServers().length&&e.emit(\"reconnect\",r),0==t.mongosState.disconnectedServers().length&&t.mongosState.connectedServers().length>0&&!t.fullsetup&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)),0!=t.mongosState.disconnectedServers().length||t.mongosState.connectedServers().length!=t.seedlist.length||t.all||(t.all=!0,e.emit(\"all\",e)),i(e,t.mongosState),t.state==k?(t.state=S,e.emit(\"reconnect\",e)):t.state==j&&(t.state=S,e.emit(\"connect\",e))};if(t.authInProgress&&t.authInProgressServers.push(r),0==t.credentials.length)return o(r);for(var s=t.credentials.length,c=0;c<t.credentials.length;c++)r.auth.apply(r,t.credentials[c].concat([function(e,t){s-=1,0==s&&o(r)}]))}},R=function(e,t,n){L(e,t+\".dummy\"),e.credentials.push(n)},L=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},$=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=e.mongosState.pickServer()}catch(s){return o(s)}return null==a?o(new _(\"no mongos found\")):void a[t](n,r,i,o)};t.exports=F},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./server\":207,\"./session\":208,bson:59,events:void 0,util:void 0}],204:[function(e,t,n){\"use strict\";var r=[\"primaryPreferred\",\"secondary\",\"secondaryPreferred\",\"nearest\"],i=function(e,t,n){this.preference=e,this.tags=t,this.options=n};i.prototype.slaveOk=function(){return-1!=r.indexOf(this.preference)},i.prototype.equals=function(e){return e.preference==this.preference},i.prototype.toJSON=function(){var e={mode:this.preference};return Array.isArray(this.tags)&&(e.tags=this.tags),e},i.primary=new i(\"primary\"),i.primaryPreferred=new i(\"primaryPreferred\"),i.secondary=new i(\"secondary\"),i.secondaryPreferred=new i(\"secondaryPreferred\"),i.nearest=new i(\"nearest\"),t.exports=i},{}],205:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"bson\"),s=e(\"../connection/utils\").bindToCurrentDomain,c=(e(\"../connection/utils\").debugOptions,e(\"events\").EventEmitter),u=e(\"./server\"),p=e(\"./read_preference\"),l=e(\"../error\"),f=e(\"./strategies/ping\"),d=e(\"./session\"),h=e(\"../cursor\"),m=e(\"bson\")[\"native\"]().BSON,v=e(\"./replset_state\"),g=e(\"../auth/mongocr\"),y=e(\"../auth/x509\"),b=e(\"../auth/plain\"),x=e(\"../auth/gssapi\"),w=e(\"../auth/sspi\"),_=e(\"../auth/scram\"),k=e(\"../connection/logger\"),j=\"connecting\",S=\"connected\",E=\"destroyed\",O=1,A=function(e){var t={};for(var n in e)t[n]=e[n];return t},C=[a.Long,a.ObjectID,a.Binary,a.Code,a.DBRef,a.Symbol,a.Double,a.Timestamp,a.MaxKey,a.MinKey],T=null,I=function(e,t){var n=this;if(t=t||{},t=A(t),!Array.isArray(e))throw new l(\"seedlist must be an array\");if(0==e.length)throw new l(\"seedlist must contain at least one entry\");e.forEach(function(e){if(\"string\"!=typeof e.host||\"number\"!=typeof e.port)throw new l(\"seedlist entry must contain a host and port\")}),c.call(this),T=null==T?new m(C):T,this.s={options:t,logger:k(\"ReplSet\",t),id:O++,index:0,haId:0,credentials:[],Cursor:t.cursorFactory||h,bsonInstance:T,bson:t.bson?t.bson:T,secondaryOnlyConnectionAllowed:\"boolean\"==typeof t.secondaryOnlyConnectionAllowed?t.secondaryOnlyConnectionAllowed:!1,haInterval:t.haInterval||1e4,currentHaInterval:t.haInterval||1e4,debug:\"boolean\"==typeof t.debug?t.debug:!1,setName:t.setName,emitError:\"boolean\"==typeof t.emitError?t.emitError:!1,tag:t.tag,disconnectHandler:t.disconnectHandler,readPreferenceStrategies:{},authProviders:{},disconnectedServers:[],initialConnectionServers:[],highAvailabilityProcessRunning:!1,fullsetup:!1,all:!1,seedlist:e,authInProgress:!1,authInProgressServers:[],minHeartbeatFrequencyMS:500,haTimer:null},t.bson=this.s.bson,t.connectionTimeout=t.connectionTimeout||1e4;var r=new v(this,{id:this.s.id,setName:this.s.setName,secondaryOnlyConnectionAllowed:this.s.secondaryOnlyConnectionAllowed});this.s.replState=r,this.addAuthProvider(\"mongocr\",new g),this.addAuthProvider(\"x509\",new y),this.addAuthProvider(\"plain\",new b),this.addAuthProvider(\"gssapi\",new x),this.addAuthProvider(\"sspi\",new w),this.addAuthProvider(\"scram-sha-1\",new _),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){var e=n.s.replState.getAll();return e.length>0?e[0].bson:null}}),Object.defineProperty(this,\"id\",{enumerable:!0,get:function(){return n.s.id}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.haInterval}}),Object.defineProperty(this,\"state\",{enumerable:!0,get:function(){return n.s.replState}}),n.s.debug&&Object.defineProperty(this,\"readPreferenceStrategies\",{enumerable:!0,get:function(){return n.s.readPreferenceStrategies}}),Object.defineProperty(this,\"type\",{enumerable:!0,get:function(){return\"replset\"}}),this.addReadPreferenceStrategy(\"nearest\",new f(t))};i(I,c),I.prototype.addReadPreferenceStrategy=function(e,t){this.s.readPreferenceStrategies[e]=t},I.prototype.addAuthProvider=function(e,t){null==this.s.authProviders&&(this.s.authProviders={}),this.s.authProviders[e]=t},I.prototype.parserType=function(){return-1!=this.s.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},I.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new l(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(C)},I.prototype.lastIsMaster=function(){return this.s.replState.lastIsMaster()},I.prototype.getConnection=function(e){e=e||{};var t=q(this,this.s,e.readPreference);return null==t?null:t.getConnection()},I.prototype.connections=function(){return this.s.replState.getAllConnections({includeArbiters:!0})},I.prototype.getServer=function(e){return e=e||{},q(this,this.s,e.readPreference)},I.prototype.cursor=function(e,t,n){n=n||{};var r=n.cursorFactory||this.s.Cursor;return new r(this.s.bson,e,t,n,this,this.s.options)};var P=function(e,t,n,r,i,o){\"function\"==typeof i&&(o=i,i={});var a=null;i=i||{};try{a=q(e,e.s,p.primary),e.s.debug&&e.emit(\"pickedServer\",p.primary,a)}catch(s){return o(s)}if(null==a)return o(new l(\"no server found\"));var c=function(t,n){!Q(n)&&!Q(t)||e.s.highAvailabilityProcessRunning||(e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,$(e,e.s,!0)()),o(t,n)};o.operationId&&(c.operationId=o.operationId),a[t](n,r,i,c)};I.prototype.command=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E)return r(new l(o(\"topology was destroyed\")));var i=null,a=this;if(n=n||{},!this.isConnected(n)&&null!=this.s.disconnectHandler)return r=s(r),this.s.disconnectHandler.add(\"command\",e,t,n,r);if(!n.onAll){try{i=q(a,a.s,n.writeConcern?p.primary:n.readPreference),a.s.debug&&a.emit(\"pickedServer\",n.writeConcern?p.primary:n.readPreference,i)}catch(c){return r(c)}return null==i?r(new l(\"no server found\")):void i.command(e,t,n,function(n,i){t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i)})}for(var u=this.s.replState.getAll(),f=u.length,d=0;d<u.length;d++)u[d].command(e,t,n,function(n,i){f-=1,0==f&&(t.logout&&z(a.s,e),!Q(i)&&!Q(n)||a.s.highAvailabilityProcessRunning||$(a,a.s,!0)(),r(n,i))})},I.prototype.remove=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"remove\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"remove\",e,t,n,r))},I.prototype.insert=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"insert\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"insert\",e,t,n,r))},I.prototype.update=function(e,t,n,r){return\"function\"==typeof n&&(r=n,n={}),this.s.replState.state==E?r(new l(o(\"topology was destroyed\"))):this.isConnected()||null==this.s.disconnectHandler?void P(this,\"update\",e,t,n,r):(r=s(r),this.s.disconnectHandler.add(\"update\",e,t,n,r))},I.prototype.auth=function(e,t){var n=(Array.prototype.slice.call(arguments,0).slice(0),this),r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==this.s.authProviders[e]&&\"default\"!=e)throw new l(o(\"auth provider %s does not exist\",e));var a=this.s.replState.getAll().slice(0),s=a.length,c=!0,u=null;for(this.s.authInProgress=!0;a.length>0;){var p=a.shift(),f=[e,t].concat(r.slice(0)),h=f.concat([function(o,a){if(s-=1,o&&(u=o),a||(c=!1),0==s){if(n.s.authInProgressServers.length>0)return n.s.authInProgressServers=[],n.auth.apply(n,[e,t].concat(r).concat([i]));if(n.s.authInProgress=!1,null==u&&M(n.s,t,f),u)return i(u,!1);i(null,new d({},n))}}]);p.auth.apply(p,h)}},I.prototype.state=function(){return this.s.replState.state};var F=function(e){return function(e,t){e.arbiterOnly?t.s.options.size=1:e.hidden&&(t.s.options.size=1)}};I.prototype.connect=function(e){var t=this;if(R(t,t.s),e)for(var n in e)this.s.options[n]=e[n];for(this.s.replState.state=j,this.s.fullsetup=!1,this.s.replState.resetDescription(),this.s.seedlist.forEach(function(e){var n=A(t.s.options);n.host=e.host,n.port=e.port,n.reconnect=!1,n.readPreferenceStrategies=t.s.readPreferenceStrategies,n.emitError=!0,n.size=n.size+1,n.monitoring=!0,n.topologyId=t.s.id,n.inTopology=!0,t.s.tag&&(n.tag=t.s.tag),n.authProviders=t.s.authProviders;var r=new u(n);r.on(\"ismaster\",F(t)),t.s.disconnectedServers.push(r),t.s.initialConnectionServers.push(r)}),r(this,\"topologyOpening\",{topologyId:this.s.id});this.s.disconnectedServers.length>0;){var i=t.s.disconnectedServers.shift();i.destroy(),i.once(\"error\",U(t,t.s,\"error\")),i.once(\"close\",U(t,t.s,\"close\")),i.once(\"timeout\",U(t,t.s,\"timeout\")),i.once(\"connect\",H(t,t.s)),i.on(\"serverOpening\",function(e){t.emit(\"serverOpening\",e)}),i.on(\"serverDescriptionChanged\",function(e){t.emit(\"serverDescriptionChanged\",e)}),i.on(\"serverHeartbeatStarted\",function(e){t.emit(\"serverHeartbeatStarted\",e)}),i.on(\"serverHeartbeatSucceeded\",function(e){t.emit(\"serverHeartbeatSucceeded\",e)}),i.on(\"serverHearbeatFailed\",function(e){t.emit(\"serverHearbeatFailed\",e)}),i.on(\"serverClosed\",function(e){t.emit(\"serverClosed\",e)});var o=function(e){process.nextTick(function(){e.connect()})};o(i)}},I.prototype.isConnected=function(e){return e=e||{},e.readPreference&&e.readPreference.equals(p.secondary)?this.s.replState.isSecondaryConnected():e.readPreference&&e.readPreference.equals(p.primary)?this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.primaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():e.readPreference&&e.readPreference.equals(p.secondaryPreferred)?this.s.replState.isSecondaryConnected()||this.s.replState.isPrimaryConnected():this.s.secondaryOnlyConnectionAllowed&&this.s.replState.isSecondaryConnected()?!0:this.s.replState.isPrimaryConnected()},I.prototype.isDestroyed=function(){return this.s.replState.state==E},I.prototype.unref=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] unreferenced\",this.s.id)),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.unref();var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)},I.prototype.destroy=function(e){var t=this;this.s.logger.isInfo()&&this.s.logger.info(o(\"[%s] destroyed\",this.s.id)),this.s.replState.state=E,t.s.haTimer&&clearTimeout(t.s.haTimer),e&&t.listeners(\"close\").length>0&&t.emit(\"close\",t),this.s.replState.destroy(),r(this,\"topologyClosed\",{topologyId:this.s.id});var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];n.forEach(function(e){t.removeAllListeners(e)}),clearTimeout(t.s.haTimer)};var M=function(e,t,n){z(e,t+\".dummy\"),e.credentials.push(n)},z=function(e,t){for(var n=t.split(\".\")[0],r=[],i=0;i<e.credentials.length;i++)e.credentials[i][1]!=n&&r.push(e.credentials[i]);e.credentials=r},B=function(e,t){if(null==e.tags)return t;for(var n=[],r=Array.isArray(e.tags)?o:[o],i=0;i<r.length;i++){for(var o=r[i],a=0;a<t.length;a++){var s=t[a].lastIsMaster().tags||{},c=!0;for(var u in o)s[u]!=o[u]&&(c=!1);c&&n.push(t[a])}if(c)break}return n},N={fullsetup:function(e,t){t.replState.primary&&0!==t.replState.secondaries.length&&(t.fullsetup||e.listeners(\"fullsetup\").length>0&&(t.fullsetup=!0,e.emit(\"fullsetup\",e)))},all:function(e,t){if(t.replState.primary&&e.lastIsMaster()&&Array.isArray(e.lastIsMaster().hosts)&&!t.all){var n=1+t.replState.secondaries.length;n===e.lastIsMaster().hosts.length&&e.listeners(\"all\").length>0&&(t.all=!0,e.emit(\"all\",e))}}},D=function(e,t,n){var r=N[n];if(!r)throw new l(n+\" event not implemented\");r(e,t)},q=function(e,t,n){if(n=n||p.primary,null!=t.readPreferenceStrategies&&null!=t.readPreferenceStrategies[n.preference]){if(null==t.readPreferenceStrategies[n.preference])throw new l(o(\"cannot locate read preference handler for %s\",n.preference));var r=t.readPreferenceStrategies[n.preference].pickServer(t.replState,n);return t.debug&&e.emit(\"pickedServer\",n,r),r}var i=t.replState.getSecondaries();if(n.equals(p.secondary)&&0==i.length)throw new l(\"no secondary server available\");if(n.equals(p.secondaryPreferred)&&0==i.length&&null==t.replState.primary)throw new l(\"no secondary or primary server available\");if(n.equals(p.primary)&&null==t.replState.primary)throw new l(\"no primary server available\");if(n.equals(p.secondary))return t.index=(t.index+1)%i.length,i[t.index];if(n.equals(p.secondaryPreferred)){if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index]}return t.replState.primary}if(n.equals(p.primaryPreferred)){if(t.replState.primary)return t.replState.primary;if(i.length>0){var a=B(n,i);if(a.length>0)return t.index=(t.index+1)%a.length,a[t.index];throw new l(\"no secondary or primary server available\")}}return t.replState.primary},R=function(e,t){return t.highAvailabilityProcessRunning?void 0:(e.s.haTimer=setTimeout($(e,t,!1),t.currentHaInterval),e.s.haTimer)},L=function(e){return 0!=e.disconnectedServers.length||0!=e.replState.secondaries.length||0!=e.replState.arbiters.length||null!=e.replState.primary},$=function(e,t,n){return function(){if(!t.highAvailabilityProcessRunning&&t.replState.state!=E){t.replState.isPrimaryConnected()?e.s.currentHaInterval=e.s.haInterval:e.s.currentHaInterval=e.s.minHeartbeatFrequencyMS,t.replState.clearConnectingServers(),t.replState.clean(),t.highAvailabilityProcessRunning=!0,L(t)||(t.disconnectedServers=t.seedlist.map(function(n){var r=A(t.options);r.host=n.host,r.port=n.port,r.reconnect=!1,r.readPreferenceStrategies=t.readPreferenceStrategies,r.emitError=!0,r.size=r.size+1,r.monitoring=!0,r.topologyId=e.s.id,r.inTopology=!0,t.tag&&(r.tag=t.tag),r.authProviders=t.authProviders;var i=new u(r);return i.on(\"ismaster\",F(e)),i})),t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring process running %s\",t.id,JSON.stringify(t.replState)));var r=t.haId++;for(n=\"boolean\"==typeof n?n:!1,t.replState.isPrimaryConnected()&&t.replState.isSecondaryConnected()&&t.disconnectHandler&&t.disconnectHandler.execute(),e.emit(\"ha\",\"start\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}});t.disconnectedServers.length>0;){var i=t.disconnectedServers.shift();t.logger.isInfo()&&t.logger.info(o(\"[%s] monitoring attempting to connect to %s\",t.id,i.lastIsMaster()?i.lastIsMaster().me:i.name)),i.once(\"error\",U(e,t,\"error\")),i.once(\"close\",U(e,t,\"close\")),i.once(\"timeout\",U(e,t,\"timeout\")),i.once(\"connect\",H(e,t)),i.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),i.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),i.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),i.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),i.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),i.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var a=function(e){process.nextTick(function(){e.connect()})};a(i)}var s=t.replState.getAll({includeArbiters:!0}),c=s.length;if(0==s.length&&t.replState.state==S)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,void(n||R(e,t));var p=function(i,a){return t.replState.state!=E?i&&!i.isConnected()?a():void(i&&i.isConnected()&&i.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(s,u){if(t.replState.state==E)return a();if(c-=1,s&&c>0)return a();if(s&&0==c)return e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a();var p=Object.keys(t.readPreferenceStrategies).length,l=u.result;if(t.logger.isDebug()&&t.logger.debug(o(\"[%s] monitoring process ismaster %s\",t.id,JSON.stringify(l))),i.s.ismaster=l,!t.replState.update(l,i)&&!t.replState.contains(i))return i.destroy(),a();if(null!=s||!l.ismaster&&t.primary||!Array.isArray(l.hosts)){if(null==s&&!Array.isArray(l.hosts))return i.destroy(),a()}else{var f=l.hosts;Array.isArray(l.arbiters)&&(f=f.concat(l.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(l.passives)&&(f=f.concat(l.passives)),V(e,t,f)}if(0==p)return c>0?a():(e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a());if(0==c)for(var d in t.readPreferenceStrategies)t.readPreferenceStrategies[d].ha(e,t.replState,function(){return p-=1,0==p?(null==s&&l.ismaster&&Array.isArray(l.hosts)&&V(e,t,l.hosts),e.emit(\"ha\",\"end\",{norepeat:n,id:r,state:t.replState?t.replState.toJSON():{}}),t.highAvailabilityProcessRunning=!1,a()):void 0});a()})):void 0};0==s.length&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t));for(var l=s.length,f=0;f<s.length;f++)p(s[f],function(){l-=1,0==l&&(t.highAvailabilityProcessRunning=!1,D(e,t,\"fullsetup\"),D(e,t,\"all\"),n||R(e,t))})}}},U=function(e,t,n){return function(n,r){return r.destroy(),t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s disconnected\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name)),t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return r.name!=e.name}),t.replState.removeConnectingServer(r.name),t.replState.state!=E?([\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){r.removeAllListeners(e)}),K(t.disconnectedServers,r),0==t.initialConnectionServers&&t.replState.state==j&&(t.secondaryOnlyConnectionAllowed&&!t.replState.isSecondaryConnected()&&!t.replState.isPrimaryConnected()||!t.secondaryOnlyConnectionAllowed&&!t.replState.isPrimaryConnected())&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0)?e.emit(\"error\",new l(\"no valid seed servers in list\")):void(t.disconnectedServers.length==t.seedlist.length&&t.replState.state==j&&t.emitError&&e.listeners(\"error\").length>0&&(t.logger.isInfo()&&t.logger.info(o(\"[%s] no valid seed servers in list\",t.id)),e.listeners(\"error\").length>0&&e.emit(\"error\",new l(\"no valid seed servers in list\"))))):void 0}},H=function(e,t){return function(n){if(t.logger.isInfo()&&t.logger.info(o(\"[%s] connected to %s\",t.id,n.name)),t.replState.state==E)return n.destroy(!1,!1);t.initialConnectionServers=t.initialConnectionServers.filter(function(e){return n.name!=e.name});var r=(n.lastIsMaster(),function(){var r=n.lastIsMaster(),i=[\"error\",\"close\",\"timeout\",\"connect\",\"message\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];if(i.forEach(function(e){n.removeAllListeners(e)}),t.replState.removeConnectingServer(n.name),t.replState.update(r,n)||t.replState.contains(n)){n.isConnected()&&(n.on(\"error\",G(e,t)),n.on(\"close\",Z(e,t)),n.on(\"timeout\",J(e,t)),n.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),n.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),n.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),n.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),n.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),n.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)}));var a=r.hosts;if(Array.isArray(r.arbiters)&&(a=a.concat(r.arbiters.map(function(e){return{host:e,arbiter:!0}}))),Array.isArray(r.passives)&&(a=a.concat(r.passives)),V(e,t,a),0==t.initialConnectionServers.length&&0==t.replState.connectingServersCount()&&!t.replState.isPrimaryConnected()&&!t.secondaryOnlyConnectionAllowed&&t.replState.state==j)return t.logger.isInfo()&&t.logger.info(o(\"[%s] no primary found in replicaset\",t.id)),e.emit(\"error\",new l(\"no primary found in replicaset\")),e.destroy();D(e,t,\"fullsetup\"),D(e,t,\"all\")}else if(n.destroy(),t.state==j&&0==t.initialConnectionServers.length&&null==t.replState.primary&&0==t.replState.secondaries.length)return e.emit(\"error\",new l(\"no replicaset members found in seedlist\"))});if(e.s.authInProgress&&e.s.authInProgressServers.push(n),0==t.credentials.length)return r();var i=function(e,t,n,r){return t>=n.length||0==n.length?r():void e.auth.apply(e,n[t].concat([function(o,a){return o?r(o):void i(e,t+1,n,r)}]))};i(n,0,t.credentials,function(e){return e?n.destroy():void r()})}},V=function(e,t,n){if(t.replState.state!=E&&Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r],a={};\"object\"==typeof i&&(i=i.host,a.arbiter=i.arbiter),t.replState.contains(i)||t.replState.isConnectingServer(i)||W(e,t,i)||(t.logger.isInfo()&&t.logger.info(o(\"[%s] scheduled server %s for connection\",t.id,i)),t.replState.addConnectingServer(i,i),Y(e,t,i.split(\":\")[0],parseInt(i.split(\":\")[1],10),a))}},W=function(e,t,n){for(var r=0;r<t.initialConnectionServers.length;r++)if(t.initialConnectionServers[r].name==n)return!0;return!1},Y=function(e,t,n,r,i){i=i||{};var o=A(t.options);if(o.host=n,o.port=r,o.reconnect=!1,o.readPreferenceStrategies=t.readPreferenceStrategies,t.tag&&(o.tag=t.tag),o.authProviders=t.authProviders,o.emitError=!0,o.inTopology=!0,o.size=o.size+1,o.monitoring=!0,o.topologyId=e.s.id,i.arbiter&&(o.size=1),e.s.replState.state!=E){var a=new u(o);a.on(\"ismaster\",F(e)),a.once(\"error\",U(e,t,\"error\")),a.once(\"close\",U(e,t,\"close\")),a.once(\"timeout\",U(e,t,\"timeout\")),a.once(\"connect\",H(e,t)),a.on(\"serverOpening\",function(t){e.emit(\"serverOpening\",t)}),a.on(\"serverDescriptionChanged\",function(t){e.emit(\"serverDescriptionChanged\",t)}),a.on(\"serverHeartbeatStarted\",function(t){e.emit(\"serverHeartbeatStarted\",t)}),a.on(\"serverHeartbeatSucceeded\",function(t){e.emit(\"serverHeartbeatSucceeded\",t)}),a.on(\"serverHearbeatFailed\",function(t){e.emit(\"serverHearbeatFailed\",t)}),a.on(\"serverClosed\",function(t){e.emit(\"serverClosed\",t)});var s=function(t){process.nextTick(function(){e.s.replState.state!=E&&t.connect()})};t.replState.addConnectingServer(a.name,n),s(a)}},K=function(e,t){var n=!1;if(null==t)return n;[\"error\",\"close\",\"timeout\",\"connect\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"].forEach(function(e){t.removeAllListeners(e)});for(var r=0;r<e.length;r++)e[r].equals(t)&&(n=!0);return n||e.push(t),n},G=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s errored out with %s\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name,JSON.stringify(n)));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r),i&&t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,r)}}},J=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s timed out\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Z=function(e,t){return function(n,r){if(r.destroy(),t.replState.removeConnectingServer(r.name),t.replState.state!=E){t.logger.isInfo()&&t.logger.info(o(\"[%s] server %s closed\",t.id,r.lastIsMaster()?r.lastIsMaster().me:r.name));var i=K(t.disconnectedServers,r);i||e.emit(\"left\",t.replState.remove(r),r)}}},Q=function(e){var t=e&&e.result?e.result:e;return!(!t||!(\"not master\"==t.err||\"not master\"==t.errmsg||t.$err&&-1!=t.$err.indexOf(\"not master or secondary\")||t.$err&&-1!=t.$err.indexOf(\"not master and slaveOk=false\")||\"node is recovering\"==t.errmsg))};t.exports=I},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/logger\":197,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"./read_preference\":204,\"./replset_state\":206,\"./server\":207,\"./session\":208,\"./strategies/ping\":209,bson:59,events:void 0,util:void 0}],206:[function(e,t,n){(function(n){\"use strict\";function r(e,t){for(var n={servers:[]},r=0;r<e.servers.length;r++)for(var i=e.servers[r],o=0;o<t.servers.length;o++){var a=t.servers[o];i.address===a.address&&i.type!=a.type&&n.servers.push({address:i.address,from:i.type,to:a.type})}return n}function i(e){if(e.replSet.listeners(\"topologyDescriptionChanged\").length>0){var t=\"Unknown\",n=e.setName;e.isPrimaryConnected()&&e.isSecondaryConnected()?t=\"ReplicaSetWithPrimary\":!e.isPrimaryConnected()&&e.isSecondaryConnected()&&(t=\"ReplicaSetNoPrimary\");var i={topologyType:t,setName:n,servers:[]};if(e.isPrimaryConnected()){var o=e.primary.getDescription();o.type=\"RSPrimary\",i.servers.push(o)}i.servers=i.servers.concat(e.secondaries.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",t})),i.servers=i.servers.concat(e.arbiters.map(function(e){var t=e.getDescription();return t})),i.servers=i.servers.concat(e.passives.map(function(e){var t=e.getDescription();return t.type=\"RSSecondary\",\nt}));var a={topologyId:e.id,previousDescription:e.replicasetDescription,newDescription:i,diff:r(e.replicasetDescription,i)};e.replSet.emit(\"topologyDescriptionChanged\",a),e.replicasetDescription=i}}var o=e(\"../connection/logger\"),a=e(\"util\").format,s=e(\"bson\").ObjectId,c=e(\"../error\"),u=\"disconnected\",p=\"connecting\",l=\"connected\",f=\"destroyed\",d=function(e,t){this.replSet=e,this.options=t,this.secondaries=[],this.arbiters=[],this.passives=[],this.primary=null,this.state=u,this.electionId=null,this.logger=o(\"ReplSet\",t),this.id=t.id,this.setName=t.setName,this.connectingServers={},this.secondaryOnlyConnectionAllowed=t.secondaryOnlyConnectionAllowed,this.replicasetDescription=null};d.prototype.resetDescription=function(){this.replicasetDescription={topologyType:\"Unknown\",servers:[]}},d.prototype.isSecondaryConnected=function(){for(var e=0;e<this.secondaries.length;e++)if(this.secondaries[e].isConnected())return!0;return!1},d.prototype.isPrimaryConnected=function(){return null!=this.primary&&this.primary.isConnected()},d.prototype.isPrimary=function(e){return null==this.primary?!1:this.primary&&this.primary.equals(e)},d.prototype.isSecondary=function(e){for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;return!1},d.prototype.isPassive=function(e){for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.clearConnectingServers=function(){for(var e in this.connectingServers)\"function\"==typeof this.connectingServers[e].destroy&&this.connectingServers[e].destroy();this.connectingServers={}},d.prototype.removeConnectingServer=function(e){this.connectingServers[e]&&this.connectingServers[e].destroy&&this.connectingServers[e].destroy(),delete this.connectingServers[e]},d.prototype.addConnectingServer=function(e,t){this.connectingServers[e]=t},d.prototype.isConnectingServer=function(e){return null!=this.connectingServers[e]},d.prototype.connectingServersCount=function(){return Object.keys(this.connectingServers).length},d.prototype.contains=function(e){if(this.primary&&this.primary.equals(e))return!0;for(var t=0;t<this.secondaries.length;t++)if(this.secondaries[t].equals(e))return!0;for(var t=0;t<this.arbiters.length;t++)if(this.arbiters[t].equals(e))return!0;for(var t=0;t<this.passives.length;t++)if(this.passives[t].equals(e))return!0;return!1},d.prototype.getSecondaries=function(){return this.secondaries=this.secondaries.filter(function(e){return e.isConnected()}),this.secondaries.filter(function(e){return!e.lastIsMaster().hidden})},d.prototype.clean=function(){var e=[];return null==this.primary||this.primary.isConnected()||(e.push(this.primary),this.primary=null),this.secondaries=this.secondaries.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.arbiters=this.arbiters.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),this.passives=this.passives.filter(function(t){return t.isConnected()||e.push(t),t.isConnected()}),e},d.prototype.unref=function(){this.primary&&this.primary.unref(),this.secondaries.forEach(function(e){e.unref()}),this.arbiters.forEach(function(e){e.unref()})};var h=[\"timeout\",\"error\",\"close\",\"joined\",\"left\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"],m=function(e){h.forEach(function(t){e.removeAllListeners(t)})};d.prototype.destroy=function(){this.state=f,this.primary&&(this.primary.destroy(),m(this.primary)),this.secondaries.forEach(function(e){e.destroy(),m(e)}),this.arbiters.forEach(function(e){e.destroy(),m(e)})},d.prototype.remove=function(e){this.primary&&this.primary.equals(e)&&(this.primary=null);var t=this.arbiters.length;if(this.arbiters=this.arbiters.filter(function(t){return!t.equals(e)}),this.arbiters.length<t)return\"arbiter\";var t=this.passives.length;this.passives=this.passives.filter(function(t){return!t.equals(e)}),this.passives.length<t&&(this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)})),this.secondaries=this.secondaries.filter(function(t){return!t.equals(e)});var n=e.lastIsMaster();return n.ismaster&&n.hosts?\"primary\":n.ismaster?\"secondary\":n.secondary?\"secondary\":n.passive?\"passive\":\"arbiter\"},d.prototype.get=function(e){var t=this.primary?[this.primary]:[];t=t.concat(this.secondaries);for(var n=0;n<t.length;n++)if(t[n].equals(e))return t[n]},d.prototype.getAll=function(e){e=e||{};var t=[];return this.primary&&t.push(this.primary),t=t.concat(this.secondaries),e.includeArbiters&&(t=t.concat(this.arbiters)),t},d.prototype.getAllConnections=function(e){e=e||{};var t=[];return this.primary&&(t=t.concat(this.primary.connections())),this.secondaries.forEach(function(e){t=t.concat(e.connections())}),e.includeArbiters&&this.arbiters.forEach(function(e){t=t.concat(e.connections())}),t},d.prototype.toJSON=function(){return{primary:this.primary?this.primary.lastIsMaster().me:null,secondaries:this.secondaries.map(function(e){return e.lastIsMaster().me})}},d.prototype.lastIsMaster=function(){return this.primary?this.primary.lastIsMaster():this.secondaries.length>0?this.secondaries[0].lastIsMaster():{}},d.prototype.promotePrimary=function(e){var t=this.get(e);return null==t?void(this.primary=e):(this.remove(t),void(this.primary=t))};var v=function(e,t,n){for(var r=0;r<t.length;r++)if(t[r].equals(n))return!1;return t.push(n),!0};d.prototype.addSecondary=function(e){return v(this,this.secondaries,e)},d.prototype.addArbiter=function(e){return v(this,this.arbiters,e)},d.prototype.addPassive=function(e){return v(this,this.passives,e)};var g=function(e,t){var r=new n(e.toHexString(),\"hex\"),i=new n(t.toHexString(),\"hex\");if(r===i)return 0;if(\"function\"==typeof n.compare)return n.compare(r,i);for(var o=r.length,a=i.length,s=Math.min(o,a),c=0;s>c&&r[c]===i[c];c++);return c!==s&&(o=r[c],a=i[c]),a>o?-1:o>a?1:0};d.prototype.update=function(e,t){var n=this;if(this.clean(),!e.ismaster&&!e.secondary&&!e.arbiterOnly||!Array.isArray(e.hosts)){var r=n.remove(t);return n.state==l&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] removing %s from set\",n.id,e.me)),n.replSet.emit(\"left\",r,t)),i(this),!1}if(null==n.setName&&e.setName&&(n.logger.isInfo()&&n.logger.info(a(\"[%s] setting setName to %s\",n.id,e.setName)),n.setName=e.setName),e.setName&&n.setName!=e.setName)return n.logger.isError()&&n.logger.error(a(\"[%s] server in replset %s is not part of the specified setName %s\",n.id,e.setName,n.setName)),n.remove(t),n.replSet.emit(\"error\",new c(\"provided setName for Replicaset Connection does not match setName found in server seedlist\")),i(this),!1;if(n.logger.isInfo()&&n.logger.info(a(\"[%s] updating replicaset state %s\",n.id,JSON.stringify(this))),e.ismaster&&n.setName==e.setName&&!n.isPrimary(e.me)){if(e.electionId instanceof s&&n.electionId instanceof s)if(-1==g(n.electionId,e.electionId))n.electionId=e.electionId;else{if(0!=g(n.electionId,e.electionId))return!1;n.electionId=e.electionId}e.electionId instanceof s&&null==n.electionId&&(n.electionId=e.electionId),n.promotePrimary(t),n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to primary\",n.id,e.me)),n.replSet.emit(\"joined\",\"primary\",this.primary),i(this),n.state==p?(n.state=l,n.replSet.emit(\"connect\",n.replSet)):(n.state=l,n.replSet.emit(\"reconnect\",t))}else{if(!e.ismaster&&n.setName==e.setName&&e.arbiterOnly)return n.addArbiter(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to arbiter\",n.id,e.me)),n.replSet.emit(\"joined\",\"arbiter\",t),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary&&e.passive)return n.addPassive(t)&&n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to passive\",n.id,e.me)),n.replSet.emit(\"joined\",\"passive\",t),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1;if(!e.ismaster&&n.setName==e.setName&&e.secondary)return n.addSecondary(t)?(n.logger.isInfo()&&n.logger.info(a(\"[%s] promoting %s to secondary\",n.id,e.me)),n.replSet.emit(\"joined\",\"secondary\",t),n.primary&&n.primary.name==t.name&&(n.primary=null),n.secondaryOnlyConnectionAllowed&&n.state==p&&(n.state=l,n.replSet.emit(\"connect\",n.replSet)),i(this),!0):!1}return!0},t.exports=d}).call(this,e(\"buffer\").Buffer)},{\"../connection/logger\":197,\"../error\":201,bson:59,buffer:void 0,util:void 0}],207:[function(e,t,n){\"use strict\";function r(e,t,n){e.listeners(t).length>0&&e.emit(t,n)}var i=e(\"util\").inherits,o=e(\"util\").format,a=e(\"../connection/utils\").bindToCurrentDomain,s=e(\"events\").EventEmitter,c=e(\"../connection/pool\"),u=e(\"bson\"),p=e(\"crypto\"),l=e(\"../connection/commands\").Query,f=e(\"../error\"),d=e(\"./read_preference\"),h=e(\"../cursor\"),m=e(\"./command_result\"),v=e(\"../connection/utils\").getSingleProperty,g=e(\"../connection/utils\").getProperty,y=e(\"../connection/utils\").debugOptions,b=e(\"bson\")[\"native\"]().BSON,x=e(\"../wireprotocol/2_4_support\"),w=e(\"../wireprotocol/2_6_support\"),_=e(\"../wireprotocol/3_2_support\"),k=e(\"./session\"),j=e(\"../connection/logger\"),S=e(\"../auth/mongocr\"),E=e(\"../auth/x509\"),O=e(\"../auth/plain\"),A=e(\"../auth/gssapi\"),C=e(\"../auth/sspi\"),T=e(\"../auth/scram\"),I=[u.Long,u.ObjectID,u.Binary,u.Code,u.DBRef,u.Symbol,u.Double,u.Timestamp,u.MaxKey,u.MinKey],P=null,F=0,M=0,z=function(){this.callbacks={},this.id=M++,this.type=\"server\"};z.prototype.flush=function(e){for(var t in this.callbacks)if(!isNaN(parseInt(t,10))){var n=this.callbacks[t];delete this.callbacks[t],n(e,null)}},z.prototype.flushConnection=function(e,t){for(var n in this.callbacks)if(!isNaN(parseInt(n,10))){var r=this.callbacks[n];r.connection&&r.connection.id===t.id?(delete this.callbacks[n],r(e,null)):!r.connection&&r.monitoring&&(delete this.callbacks[n],r(e,null))}},z.prototype.callback=function(e){return this.callbacks[e]},z.prototype.emit=function(e,t,n){var r=this.callbacks[e];delete this.callbacks[e],r(t,n)},z.prototype.raw=function(e){return null==this.callbacks[e]?!1:1==this.callbacks[e].raw},z.prototype.documentsReturnedIn=function(e){return null==this.callbacks[e]?!1:\"string\"==typeof this.callbacks[e].documentsReturnedIn?this.callbacks[e].documentsReturnedIn:null},z.prototype.unregister=function(e){delete this.callbacks[e]},z.prototype.register=function(e,t){this.callbacks[e]=a(t)};var B=\"disconnected\",N=\"connecting\",D=\"connected\",q=\"destroyed\",R=function(e){return e.ismaster&&\"number\"==typeof e.ismaster.minWireVersion},L=function(e){return e&&e.maxWireVersion>=4?new _(new w):e&&e.maxWireVersion>=2?new w:new x},$=function(e,t){if(e&&t&&t.callbacks&&t.callbacks.flush(new f(o(\"server %s received a broken socket pipe error\",e.name))),0==t.currentReconnectRetry)return e.destroy(!0,!0);t.currentReconnectRetry=t.currentReconnectRetry-1,t.state=N,t.pool&&t.pool.destroy(),t.pool=new c(t.options);var n=function(n){t.state=B,t.pool.destroy(),t.currentReconnectRetry=t.currentReconnectRetry-1,t.currentReconnectRetry<=0?(e.state=q,e.emit(\"error\",o(\"failed to connect to %s:%s after %s retries\",t.options.host,t.options.port,t.reconnectTries))):setTimeout(function(){$(e,t)},t.reconnectInterval)};t.pool.once(\"connect\",function(){t.currentReconnectRetry=t.reconnectTries;var r=[\"error\",\"close\",\"timeout\",\"parseError\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\"];r.forEach(function(e){t.pool.removeAllListeners(e)}),t.state=D,t.pool.on(\"error\",n),t.pool.on(\"close\",Y(e,t)),t.pool.on(\"timeout\",W(e,t)),t.pool.on(\"parseError\",V(e,t));var i=Object.keys(t.authProviders);if(0==i.length)return e.emit(\"reconnect\",e);for(var o=t.pool.getAll(),a=i.length,s=0;s<i.length;s++)t.authProviders[i[s]].reauthenticate(e,o,function(n,r){return a-=1,0==a?t.ismaster?e.emit(\"reconnect\",e):K(e,t)():void 0})}),t.pool.once(\"error\",H(e,t)),t.pool.once(\"close\",H(e,t)),t.pool.once(\"timeout\",H(e,t)),t.pool.once(\"parseError\",H(e,t)),t.pool.connect()},U=function(e,t){return function(n,r){try{var i=t.callbacks.callback(n.responseTo),a={raw:t.callbacks.raw(n.responseTo),promoteLongs:i&&\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,documentsReturnedIn:t.callbacks.documentsReturnedIn(n.responseTo)};n.parse(a),(i&&!i.noRelease||!i)&&e.s.pool.connectionAvailable(r),t.logger.isDebug()&&t.logger.debug(o(\"message [%s] received from %s\",n.raw.toString(\"hex\"),e.name)),t.callbacks.emit(n.responseTo,null,n)}catch(s){t.callbacks.flushConnection(new f(s),r),e.destroy()}}},H=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.destroy(),t.emitError&&e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval)))}},V=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"error\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s errored out with %s\",e.name,JSON.stringify(n))),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s received an error %s\",e.name,JSON.stringify(n))),r),e.listeners(\"error\").length>0&&e.emit(\"error\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},W=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"timeout\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s timed out\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),e.emit(\"timeout\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},Y=function(e,t){return function(n,r){t.state!=B&&t.state!=q&&(e.s.callbacks&&e.s.callbacks.flushConnection(new f(o(\"server %s timed out\",e.name)),r),0==t.pool.getAll().length&&(t.state=B,null!=t.readPreferenceStrategies&&J(e,e.s,\"close\",[e]),t.logger.isInfo()&&t.logger.info(o(\"server %s closed\",e.name)),t.callbacks&&t.callbacks.flushConnection(new f(o(\"server %s sockets closed\",e.name)),r),e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.listeners(\"topologyClosed\").length>0&&!e.s.inTopology&&e.emit(\"topologyClosed\",{topologyId:e.s.id}),e.emit(\"close\",n,e),t.reconnect&&setTimeout(function(){$(e,t)},t.reconnectInterval),e.destroy()))}},K=function(e,t){var n=function(n){var r=Object.keys(t.authProviders);if(0==r.length)return n(null,null);for(var i=t.pool.getAll(),o=r.length,a=0;a<r.length;a++)t.authProviders[r[a]].reauthenticate(e,i,function(e,t){return o-=1,0==o?n(null,null):void 0})};return function(){n(function(){t.monitoring&&(e.s.inquireServerStateTimeout=setTimeout(oe(e),t.haInterval));var n=(new Date).getTime();e.command(\"admin.$cmd\",{ismaster:!0},function(r,i){return r?(t.state=B,e.listeners(\"serverClosed\").length>0&&e.emit(\"serverClosed\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name}),e.s.inTopology||e.emit(\"topologyOpening\",{topologyId:e.s.id}),e.emit(\"close\",r,e)):(ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),ne(e,{topologyType:\"Single\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Standalone\"}]}),t.isMasterLatencyMS=(new Date).getTime()-n,r||(t.ismaster=i.result),e.emit(\"ismaster\",i.result,e),t.wireProtocolHandler=L(t.ismaster),t.options.wireProtocolHandler=t.wireProtocolHandler,t.logger.isInfo()&&t.logger.info(o(\"server %s connected with ismaster [%s]\",e.name,JSON.stringify(i.result))),R(t)||null!=t.wireProtocolHandler?(t.ismaster&&t.ismaster.me&&(t.serverDetails.name=t.ismaster.me),null==t.readPreferenceStrategies?(t.state=D,e.emit(\"connect\",e)):void J(e,e.s,\"connect\",[e],function(n,r){return t.state=D,e.emit(\"connect\",e)})):(t.state=B,e.emit(\"error\",new f(\"non supported server version\"),e)))})})}},G=function(e){return e?e.slaveOk():!1},J=function(e,t,n,r,i){if(\"function\"==typeof i){var o=Object.keys(t.readPreferenceStrategies).length;if(0==o)return i(null,null);for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a],c=r.slice(0);c.push(function(e,t){o-=1,0==o&&i(null,null)}),s[n].apply(s,c)}}else for(var a in t.readPreferenceStrategies)if(t.readPreferenceStrategies[a][n]){var s=t.readPreferenceStrategies[a];s[n].apply(s,r)}},Z=[\"reconnect\",\"reconnectTries\",\"reconnectInterval\",\"emitError\",\"cursorFactory\",\"host\",\"port\",\"size\",\"keepAlive\",\"keepAliveInitialDelay\",\"noDelay\",\"connectionTimeout\",\"checkServerIdentity\",\"socketTimeout\",\"singleBufferSerializtion\",\"ssl\",\"ca\",\"cert\",\"key\",\"rejectUnauthorized\",\"promoteLongs\"],Q=function(e){s.call(this),null==P&&(P=new b(I));var t=e.reconnectTries||30;this.s={options:e,callbacks:new z,logger:j(\"Server\",e),state:B,reconnect:\"boolean\"==typeof e.reconnect?e.reconnect:!0,reconnectTries:t,reconnectInterval:e.reconnectInterval||1e3,emitError:\"boolean\"==typeof e.emitError?e.emitError:!1,currentReconnectRetry:t,ismaster:null,readPreferenceStrategies:e.readPreferenceStrategies,authProviders:e.authProviders||{},id:F++,topologyId:e.topologyId||-1,tag:e.tag,disconnectHandler:e.disconnectHandler,monitoring:\"boolean\"==typeof e.monitoring?e.monitoring:!1,haInterval:e.haInterval||1e4,wireProtocolHandler:e.wireProtocolHandler||new x,Cursor:e.cursorFactory||h,bsonInstance:P,inquireServerStateTimeout:null,bson:e.bson?e.bson:P,pool:null,isMasterLatencyMS:0,inTopology:\"boolean\"==typeof e.inTopology?e.inTopology:!1,serverDetails:{host:e.host,port:e.port,name:e.port?o(\"%s:%s\",e.host,e.port):e.host},serverDescription:null,topologyDescription:null};var n=p.createHash(\"sha1\");n.update(o(\"%s:%s\",this.host,this.port)),this.hashedName=n.digest(\"hex\");var r=this.s;e.bson=r.bson,g(this,\"name\",\"name\",r.serverDetails,{}),g(this,\"bson\",\"bson\",r.options,{}),g(this,\"wireProtocolHandler\",\"wireProtocolHandler\",r.options,{}),v(this,\"id\",r.id),e.authProviders||(this.addAuthProvider(\"mongocr\",new S),this.addAuthProvider(\"x509\",new E),this.addAuthProvider(\"plain\",new O),this.addAuthProvider(\"gssapi\",new A),this.addAuthProvider(\"sspi\",new C),this.addAuthProvider(\"scram-sha-1\",new T))};i(Q,s);var X=function(e){return e.s.serverDescription||(e.s.serverDescription={address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}),e.s.serverDescription},ee=function(e,t){e.listeners(\"serverDescriptionChanged\").length>0&&(e.emit(\"serverDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:X(e),newDescription:t}),e.s.serverDescription=t)},te=function(e){return e.s.topologyDescription||(e.s.topologyDescription={topologyType:\"Unknown\",servers:[{address:e.name,arbiters:[],hosts:[],passives:[],type:\"Unknown\"}]}),e.s.topologyDescription},ne=function(e,t){e.listeners(\"topologyDescriptionChanged\").length>0&&(e.emit(\"topologyDescriptionChanged\",{topologyId:-1!=e.s.topologyId?e.s.topologyId:e.s.id,address:e.name,previousDescription:te(e),newDescription:t}),e.s.serverDescription=t)};Q.prototype.getDescription=function(){var e=this.s.ismaster||{},t={type:re(this),address:this.name};return e.hosts&&(t.hosts=e.hosts),e.arbiters&&(t.arbiters=e.arbiters),e.passives&&(t.passives=e.passives),e.setName&&(t.setName=e.setName),t},Q.prototype.setBSONParserType=function(t){var n=null;if(\"c++\"==t)n=e(\"bson\")[\"native\"]().BSON;else{if(\"js\"!=t)throw new f(o(\"% parser not supported\",t));n=e(\"bson\").pure().BSON}this.s.options.bson=new n(I)},Q.prototype.lastIsMaster=function(){return this.s.ismaster},Q.prototype.isMasterLatencyMS=function(){return this.s.isMasterLatencyMS},Q.prototype.connect=function(e){var t=this;e=e||{},\"boolean\"==typeof e.promoteLongs&&(t.s.options.promoteLongs=e.promoteLongs),t.s.pool&&t.s.pool.destroy(),t.s.state=N,t.s.options.messageHandler=U(t,t.s),t.s.pool=new c(t.s.options),t.s.pool.on(\"timeout\",W(t,t.s)),t.s.pool.on(\"close\",Y(t,t.s)),t.s.pool.on(\"error\",H(t,t.s)),t.s.pool.once(\"connect\",K(t,t.s)),t.s.pool.on(\"parseError\",V(t,t.s)),t.s.inTopology||this.emit(\"topologyOpening\",{topologyId:this.s.id}),t.emit(\"serverOpening\",{topologyId:-1!=t.s.topologyId?t.s.topologyId:t.s.id,address:t.name}),t.s.pool.on(\"connection\",function(e){var n=Object.keys(t.s.authProviders);if(0==n.length)return t.s.pool.connectionAvailable(e);for(var r=[e],i=n.length,o=0;o<n.length;o++)t.s.authProviders[n[o]].reauthenticate(t,r,function(n,r){return i-=1,0==i?t.s.pool.connectionAvailable(e):void 0})}),t.s.pool.connect()};var re=function(e,t){return t||(t=e.s.ismaster),t?t.ismaster&&!t.hosts?\"Standalone\":t.ismaster&&\"isdbgrid\"==t.msg?\"Mongos\":t.ismaster?\"RSPrimary\":t.secondary?\"RSSecondary\":t.arbiterOnly?\"RSArbiter\":\"Unknown\":\"Unknown\"},ie=function(e,t,n){var r=re(e,t),i=re(e,n);return i!=r},oe=function(e){return function(){if(e.s.state!=q){var t=(new Date).getTime();r(e,\"serverHeartbeatStarted\",{connectionId:e.name}),e.command(\"admin.$cmd\",{ismaster:!0},{monitoring:!0},function(n,i){if(n)r(e,\"serverHearbeatFailed\",{durationMS:o,failure:n,connectionId:e.name});else{e.emit(\"ismaster\",i,e);var o=(new Date).getTime()-t;r(e,\"serverHeartbeatSucceeded\",{durationMS:o,reply:i.result,connectionId:e.name}),ie(e,e.s.ismaster,i.result)&&ee(e,{address:e.name,arbiters:[],hosts:[],passives:[],type:e.s.inTopology?re(e):\"Standalone\"}),e.s.ismaster=i.result,e.s.isMasterLatencyMS=o}e.s.inquireServerStateTimeout=setTimeout(oe(e),e.s.haInterval)})}}};Q.prototype.unref=function(){this.s.pool.unref()},Q.prototype.destroy=function(e,t){var n=this;n.s.logger.isDebug()&&n.s.logger.debug(o(\"destroy called on server %s\",n.name)),n.s.state!=q&&(this.s.inquireServerStateTimeout&&clearTimeout(this.s.inquireServerStateTimeout),e&&n.listeners(\"close\").length>0&&n.emit(\"close\",null,n),n.listeners(\"serverClosed\").length>0&&n.emit(\"serverClosed\",{topologyId:-1!=n.s.topologyId?n.s.topologyId:n.s.id,address:n.name}),n.listeners(\"topologyClosed\").length>0&&!n.s.inTopology&&n.emit(\"topologyClosed\",{topologyId:n.s.id}),t&&n.emit(\"destroy\",n),n.s.state=q,n.s.pool&&n.s.pool.destroy(),n.s.callbacks&&n.s.callbacks.flush(new f(o(\"server %s sockets closed\",n.name))))},Q.prototype.isConnected=function(){var e=this;return e.s.pool?e.s.pool.isConnected():!1},Q.prototype.isDestroyed=function(){return this.s.state==q};var ae=function(e,t,n,r,i,o,a){var s=new l(e.s.bson,t,n,r);s.slaveOk=G(i.readPreference),null!=e.s.readPreferenceStrategies&&J(e,e.s,\"startOperation\",[e,s,new Date]);var c=\"boolean\"==typeof i.raw?i.raw:!1,u=\"boolean\"==typeof i.promoteLongs?i.promoteLongs:!0,p=\"boolean\"==typeof i.monitoring?i.monitoring:!1;if(o)for(var d=e.s.pool.getAll(),h=d.length,v=null,g=0;g<d.length;g++){var y=function(t){return function(n,r){if(n&&(v=n),h-=1,0==h){if(J(e,e.s,\"endOperation\",[e,v,r,new Date]),v)return a(f.create(v));r.hashedName=t.hashedName;try{a(null,new m(i.fullResult?r:r.documents[0],d))}catch(n){process.nextTick(function(){throw n})}}}};try{s.incRequestId(),d[g].write(s.toBin())}catch(b){if(h-=1,0==h)return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,y.monitoring=p,y.connection=d[g],e.s.callbacks.register(s.requestId,y(d[g]))}else{var y=function(t,n){if(J(e,e.s,\"endOperation\",[e,t,n,new Date]),t)return a(t);if(n.documents[0].$err||n.documents[0].errmsg||n.documents[0].err||n.documents[0].code)return a(f.create(n.documents[0]));n.hashedName=n.connection.hashedName;try{a(null,new m(i.fullResult?n:n.documents[0],n.connection))}catch(t){process.nextTick(function(){throw t})}};try{y.monitoring=p,i.connection?(y.connection=i.connection,y.noRelease=!0,i.connection.write(s.toBin())):e.s.pool.write(s.toBin(),y,i)}catch(b){return a(f.create(b))}c&&(y.raw=!0),y.promoteLongs=u,e.s.callbacks.register(s.requestId,y)}};Q.prototype.command=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(this.s.state==q)return r(new f(o(\"topology was destroyed\")));if(n=n||{},n.readPreference&&!(n.readPreference instanceof d))throw new Error(\"readPreference must be an instance of ReadPreference\");if(i.s.logger.isDebug()&&i.s.logger.debug(o(\"executing command [%s] against %s\",JSON.stringify({ns:e,cmd:t,options:y(Z,n)}),i.name)),!i.isConnected()&&null!=i.s.disconnectHandler)return r=a(r),i.s.disconnectHandler.add(\"command\",e,t,n,r);if(!i.s.pool.isConnected())return r(new f(o(\"no connection available to server %s\",i.name)));var s=\"boolean\"==typeof n.onAll?n.onAll:!1,c=\"boolean\"==typeof n.checkKeys?n.checkKeys:!1,u=\"boolean\"==typeof n.serializeFunctions?n.serializeFunctions:!1,p=\"boolean\"==typeof n.ignoreUndefined?n.ignoreUndefined:!1,l=(\"boolean\"==typeof n.raw?n.raw:!1,{numberToSkip:0,numberToReturn:-1,checkKeys:c});u&&(l.serializeFunctions=u),p&&(l.ignoreUndefined=p),ae(i,e,t,l,n,s,r)},Q.prototype.insert=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.insert(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"insert\",e,t,n,r))},Q.prototype.update=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.update(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"update\",e,t,n,r))},Q.prototype.remove=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;return this.s.state==q?r(new f(o(\"topology was destroyed\"))):i.isConnected()||null==i.s.disconnectHandler?(t=Array.isArray(t)?t:[t],i.s.wireProtocolHandler.remove(i,i.s.ismaster,e,i.s.bson,i.s.pool,i.s.callbacks,t,n,r)):(r=a(r),i.s.disconnectHandler.add(\"remove\",e,t,n,r))},Q.prototype.auth=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,2),i=r.pop();if(null==n.s.authProviders[e]&&\"default\"!=e)throw new f(o(\"auth provider %s does not exist\",e));\"default\"==e&&n.s.ismaster&&n.s.ismaster.maxWireVersion>=3?e=\"scram-sha-1\":\"default\"==e&&(e=\"mongocr\");var a=n.s.pool.getAll(),s=[n,a,t].concat(r.slice(0)).concat([function(e,t){return e?i(e):t?void i(null,new k({},n)):i(new f(\"could not authenticate\"))}]);n.s.authProviders[e].auth.apply(n.s.authProviders[e],s)},Q.prototype.addReadPreferenceStrategy=function(e,t){var n=this;null==n.s.readPreferenceStrategies&&(n.s.readPreferenceStrategies={}),n.s.readPreferenceStrategies[e]=t},Q.prototype.addAuthProvider=function(e,t){var n=this;n.s.authProviders[e]=t},Q.prototype.equals=function(e){return\"string\"==typeof e?e==this.name:e&&e.name?e.name==this.name:!1},Q.prototype.connections=function(){return this.s.pool.getAll()},Q.prototype.getServer=function(e){return this},Q.prototype.getConnection=function(e){return this.s.pool.get()},Q.prototype.getCallbacks=function(){return this.s.callbacks},Q.prototype.parserType=function(){var e=this.s;return-1!=e.options.bson.serialize.toString().indexOf(\"[native code]\")?\"c++\":\"js\"},Q.prototype.cursor=function(e,t,n){var r=this.s;n=n||{};var i=n.cursorFactory||r.Cursor;return new i(r.bson,e,t,n,this,r.options)},t.exports=Q},{\"../auth/gssapi\":189,\"../auth/mongocr\":190,\"../auth/plain\":191,\"../auth/scram\":192,\"../auth/sspi\":193,\"../auth/x509\":194,\"../connection/commands\":195,\"../connection/logger\":197,\"../connection/pool\":198,\"../connection/utils\":199,\"../cursor\":200,\"../error\":201,\"../wireprotocol/2_4_support\":210,\"../wireprotocol/2_6_support\":211,\"../wireprotocol/3_2_support\":212,\"./command_result\":202,\"./read_preference\":204,\"./session\":208,bson:59,crypto:void 0,events:void 0,util:void 0}],208:[function(e,t,n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"events\").EventEmitter),o=function(e,t){this.options=e,this.topology=t,i.call(this)};r(o,i),o.prototype.command=function(e,t,n,r){this.topology.command(e,t,n,r)},o.prototype.insert=function(e,t,n,r){this.topology.insert(e,t,n,r)},o.prototype.update=function(e,t,n,r){this.topology.update(e,t,n,r)},o.prototype.remove=function(e,t,n,r){this.topology.remove(e,t,n,r)},o.prototype.cursor=function(e,t,n){return this.topology.cursor(e,t,n)},t.exports=o},{events:void 0,util:void 0}],209:[function(e,t,n){\"use strict\";var r=e(\"../../connection/logger\"),i=e(\"events\").EventEmitter,o=e(\"util\").inherits,a=e(\"util\").format,s=function(e){i.call(this),this.s={pings:{},options:e||{},logger:r(\"Ping\",e),pingInterval:e.pingInterval||1e4,acceptableLatency:e.acceptableLatency||15,debug:\"boolean\"==typeof e.debug?e.debug:!1,index:0,lastPing:null},this.s.logger.isDebug()&&this.s.logger.debug(a(\"ping strategy interval [%s], acceptableLatency [%s]\",this.s.pingInterval,this.s.acceptableLatency)),this.s.debug&&Object.defineProperty(this,\"data\",{enumerable:!0,get:function(){return this.s.pings}})};o(s,i);var c=function(e,t){if(null==e.tags)return t;for(var n=[],r=e.tags,i=0;i<t.length;i++){var o=t[i].lastIsMaster().tags||{},a=!0;for(var s in r)o[s]!=r[s]&&(a=!1);a&&n.push(t[i])}return n};s.prototype.pickServer=function(e,t){var n=this,r=[];e.primary&&r.push(e.primary);for(var i=0;i<e.secondaries.length;i++)r.push(e.secondaries[i]);r=c(t,r);for(var o=[],i=0;i<r.length;i++)o.push({name:r[i].name,time:n.s.pings[r[i].name]||0});o.sort(function(e,t){return e.time>t.time});var s=o.length>0?o[0].time:0;return o=o.filter(function(e){return e.time<=s+n.s.acceptableLatency}),0==o.length&&e.primary?(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked primary server [%s]\",e.primary.name)),e.primary):0==o.length?null:(n.s.logger.isInfo()&&n.s.logger.info(a(\"picked server [%s] with ping latency [%s]\",o[0].name,o[0].time)),n.s.index=n.s.index+1,n.s.index=n.s.index%o.length,e.get(o[n.s.index].name))},s.prototype.startOperation=function(e,t,n){},s.prototype.endOperation=function(e,t,n,r){},s.prototype.ha=function(e,t,n){var r=this,i=t.getAll(),o=i.length;if(0==i.length)return n(null,null);if(null!=r.s.lastPing){var s=(new Date).getTime()-r.s.lastPing.getTime();if(s<r.s.pingInterval)return n(null,null)}for(var c=function(t){var i=new Date;t.command(\"system.$cmd\",{ismaster:1},function(s,c){o-=1;var u=(new Date).getTime()-i.getTime();r.s.pings[t.name]=u,r.s.logger.isDebug()&&r.s.logger.debug(a(\"ha latency for server [%s] is [%s] ms\",t.name,u)),0==o&&(e.emit(\"ping\",s,c?c.result:null),r.s.lastPing=new Date,n(null,null))})};i.length>0;)c(i.shift())};var u=function(e,t){delete e.s.pings[t.name]};s.prototype.close=function(e){u(this,e)},s.prototype.error=function(e){u(this,e)},s.prototype.timeout=function(e){u(this,e)},s.prototype.connect=function(e,t){var n=this,r=new Date;e.command(\"system.$cmd\",{ismaster:1},function(i,o){var s=(new Date).getTime()-r.getTime();n.s.pings[e.name]=s,n.s.logger.isDebug()&&n.s.logger.debug(a(\"connect latency for server [%s] is [%s] ms\",e.name,s)),n.s.lastPing=new Date,t(null,null)})},t.exports=s},{\"../../connection/logger\":197,events:void 0,util:void 0}],210:[function(e,t,n){\"use strict\";var r=e(\"./commands\").Insert,i=e(\"./commands\").Update,o=e(\"./commands\").Remove,a=e(\"../connection/commands\").Query,s=e(\"../connection/utils\").copy,c=e(\"../connection/commands\").KillCursor,u=e(\"../connection/commands\").GetMore,a=e(\"../connection/commands\").Query,p=(e(\"../topologies/read_preference\"),e(\"util\").format),l=e(\"../topologies/command_result\"),f=e(\"../error\"),d=e(\"bson\").Long,h=e(\"./shared\").getReadPreference,m=[\"w\",\"wtimeout\",\"j\",\"fsync\"],v=function(){};v.prototype.insert=function(e,t,n,i,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;\"boolean\"==typeof c.legacy?c.legacy:!1;if(s=Array.isArray(s)?s:[s],s.length>1e3)return u(new f(\"exceeded maximum write batch size of 1000\"));\nvar l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"insert\",r,t,n,i,o,a,s,c,u):j(\"insert\",r,t,n,i,o,a,s,c,u)},v.prototype.update=function(e,t,n,r,o,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"update\",i,t,n,r,o,a,s,c,u):j(\"update\",i,t,n,r,o,a,s,c,u)},v.prototype.remove=function(e,t,n,r,i,a,s,c,u){c=c||{};var p=\"boolean\"==typeof c.ordered?c.ordered:!0;s=Array.isArray(s)?s:[s];var l=c.writeConcern||{w:1};return p&&0!=l.w?k(\"remove\",o,t,n,r,i,a,s,c,u):j(\"remove\",o,t,n,r,i,a,s,c,u)},v.prototype.killCursor=function(e,t,n,r,i,o){var a=new c(e,[n]);r&&r.isConnected()&&r.write(a.toBin(),o,{immediateRelease:!0}),n=d.ZERO,o&&o(null,null)},v.prototype.getMore=function(e,t,n,r,i,o,a,s,c){var p=new u(e,t,n.cursorId,{numberToReturn:r}),l=function(e,t){if(e)return c(e);if(0!=(1&t.responseFlags))return c(new f(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?d.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,c(null,null,t.connection)};i&&(l.raw=i),\"boolean\"==typeof n.promoteLongs&&(l.promoteLongs=n.promoteLongs),a.register(p.requestId,l),o.write(p.toBin(),l)},v.prototype.command=function(e,t,n,r,i,o){if(n.find)return g(e,t,n,r,i,o);if(null==r.cursorId){if(n)return y(e,t,n,r,i,o);throw new f(p(\"command %s does not return a cursor\",JSON.stringify(n)))}};var g=function(e,t,n,r,i,o){o=o||{};var c=h(n,o);r.batchSize=n.batchSize||r.batchSize;var u=0;u=0==r.limit?r.batchSize:r.limit<0||r.limit<r.batchSize||r.limit>0&&0==r.batchSize?r.limit:r.batchSize;var l=r.skip||0,d={},m=!1;if(\"mongos\"==i.type&&c&&(d.$readPreference=c.toJSON(),m=!0),n.sort&&(d.orderby=n.sort,m=!0),n.hint&&(d.$hint=n.hint,m=!0),n.snapshot&&(d.$snapshot=n.snapshot,m=!0),n.returnKey&&(d.$returnKey=n.returnKey,m=!0),n.maxScan&&(d.$maxScan=n.maxScan,m=!0),n.min&&(d.$min=n.min,m=!0),n.max&&(d.$max=n.max,m=!0),n.showDiskLoc&&(d.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(d.$comment=n.comment,m=!0),n.maxTimeMS&&(d.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(u=-Math.abs(n.limit||0),m=!0,d.$explain=!0),m?d.$query=n.query:d=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=s(n),delete n.readConcern);var v=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,g=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1,y=new a(e,t,d,{numberToSkip:l,numberToReturn:u,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=c.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},y=function(e,t,n,r,i,o){o=o||{};var s=h(n,o),c={};for(var u in n)c[u]=n[u];var l=t.split(/\\./);if(n.readConcern&&\"local\"!=n.readConcern.level)throw new f(p(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern;var d=\"boolean\"==typeof o.serializeFunctions?o.serializeFunctions:!1,m=\"boolean\"==typeof o.ignoreUndefined?o.ignoreUndefined:!1;\"mongos\"==i.type&&s&&\"primary\"!=s.preference&&(c={$query:c,$readPreference:s.toJSON()});var v=new a(e,p(\"%s.$cmd\",l.shift()),c,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:m});return v.slaveOk=s.slaveOk(),v},b=function(e){var t=process.domain;return null==t||null==e?e:t.bind(e)},x=function(e){return!(!e.w&&!e.wtimeout&&1!=e.j&&1!=e.fsync&&0!=Object.keys(e).length)},w=function(e){var t={};return null!=e.w&&(t.w=e.w),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),null!=e.j&&(t.j=e.j),null!=e.fsync&&(t.fsync=e.fsync),t},_=function(e,t,n,r){for(var i={ok:1,n:0},o=0;o<n.length;o++){var a=n[o],s=t[o];!a.upserted&&0!=a.updatedExisting||null!=i.upserted||(i.upserted=[]),a.upserted&&i.upserted.push({index:o,_id:a.upserted}),0==a.updatedExisting&&1==a.n&&null==a.upserted&&i.upserted.push({index:o,_id:s.q._id}),1==a.ok&&\"insert\"==e&&null==a.err&&(i.n=i.n+1),null!=a&&0==a.ok||a.err||a.errmsg?(0==a.ok&&(i.ok=0),i.code=a.code,i.errmsg=a.errmsg||a.err||a.errMsg,11e3==a.code||11001==a.code||12582==a.code||16544==a.code||16538==a.code||16542==a.code||14==a.code||13511==a.code?(null==i.writeErrors&&(i.writeErrors=[]),i.writeErrors.push({index:o,code:a.code,errmsg:a.errmsg||a.err||a.errMsg})):i.writeConcernError={code:a.code,errmsg:a.errmsg||a.err||a.errMsg}):\"number\"==typeof a.n?i.n+=a.n:i.n+=1,null!=a&&a.lastOp&&(i.lastOp=a.lastOp)}return new l(i,r)},k=function(e,t,n,r,i,o,s,c,u,l){var d=c.slice(0);l=b(l);var h=[],v=function(d,g){if(0==d.length)return process.nextTick(function(){g(null,_(e,c,h,null))});var y=d.shift(),b=new t(a.getRequestId(),n,i,r,[y],u),k=u.writeConcern||{w:1},j=w(k),S=r.split(\".\").shift();try{var E=[b.toBin()];if(x(j)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=j[m[A]]&&(O[m[A]]=j[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t,n){if(t)return l(t);var r=n.documents[0];return h.push(r),0==r.ok||r.err||r.errmsg?l(null,_(e,c,h,n.connection)):void v(d,l)};s.register(C.requestId,T),o.write(E,T)}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h.push({ok:1,errmsg:I.message,code:14}),process.nextTick(function(){l(null,_(e,c,h,null))})}};v(d,l)},j=function(e,t,n,r,i,o,s,c,u,l){l=b(l);for(var d,h=c.length,v=[],g=u.writeConcern||{w:1},y=w(g),k=0;k<c.length;k++){var j=new t(a.getRequestId(),n,i,r,[c[k]],u),S=r.split(\".\").shift();try{var E=[j.toBin()];if(x(y)){for(var O={getlasterror:1},A=0;A<m.length;A++)null!=y[m[A]]&&(O[m[A]]=y[m[A]]);var C=new a(i,p(\"%s.$cmd\",S),O,{numberToReturn:-1});E.push(C.toBin());var T=function(t){return function(n,r){n&&(d=n),h-=1,n||(v[t]=r.documents[0]),0==h&&process.nextTick(function(){return d?l(d):void l(null,_(e,c,v,r.connection))})}};s.register(C.requestId,T(k)),o.write(E,T(k))}else o.write(E,l,{immediateRelease:!0})}catch(I){\"string\"==typeof I&&(I=new f(I)),h-=1,v[k]={ok:1,errmsg:I.message,code:14},0==h&&l(null,_(e,c,v,null))}}y&&0==y.w&&l&&l(null,null)};t.exports=v},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],211:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),i=e(\"../connection/utils\").copy,o=e(\"../connection/commands\").KillCursor,a=e(\"../connection/commands\").GetMore,r=e(\"../connection/commands\").Query,s=(e(\"../topologies/read_preference\"),e(\"util\").format),c=(e(\"../topologies/command_result\"),e(\"../error\")),u=e(\"bson\").Long,p=e(\"./shared\").getReadPreference,l=function(){},f=function(e,t,n,r,i,o,a){if(0==i.length)throw new c(\"insert must contain at least one document\");\"function\"==typeof o&&(a=o,o={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof o.ordered?o.ordered:!0,f=o.writeConcern||{},d={};d[t]=u.join(\".\"),d[n]=i,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f);var h={};\"insert\"==t&&(h.checkKeys=!0),o.serializeFunctions&&(h.serializeFunctions=o.serializeFunctions),o.ignoreUndefined&&(h.ignoreUndefined=o.ignoreUndefined),e.command(s(\"%s.$cmd\",p),d,h,a)};l.prototype.insert=function(e,t,n,r,i,o,a,s,c){f(e,\"insert\",\"documents\",n,a,s,c)},l.prototype.update=function(e,t,n,r,i,o,a,s,c){f(e,\"update\",\"updates\",n,a,s,c)},l.prototype.remove=function(e,t,n,r,i,o,a,s,c){f(e,\"delete\",\"deletes\",n,a,s,c)},l.prototype.killCursor=function(e,t,n,r,i,a){var s=new o(e,[n]);r&&r.isConnected()&&r.write(s.toBin(),a,{immediateRelease:!0}),n=u.ZERO,a&&a(null,null)},l.prototype.getMore=function(e,t,n,r,i,o,s,p,l){var f=new a(e,t,n.cursorId,{numberToReturn:r}),d=function(e,t){if(e)return l(e);if(0!=(1&t.responseFlags))return l(new c(\"cursor killed or timed out\"),null);var r=\"number\"==typeof t.cursorId?u.fromNumber(t.cursorId):t.cursorId;n.documents=t.documents,n.cursorId=r,l(null,null,t.connection)};i&&(d.raw=i),\"boolean\"==typeof n.promoteLongs&&(d.promoteLongs=n.promoteLongs),s.register(f.requestId,d),o.write(f.toBin(),d)},l.prototype.command=function(e,t,n,r,i,o){if(n.find)return d(e,t,n,r,i,o);if(null==r.cursorId){if(n)return h(e,t,n,r,i,o);throw new c(s(\"command %s does not return a cursor\",JSON.stringify(n)))}};var d=function(e,t,n,o,a,u){u=u||{};var l=p(n,u);o.batchSize=n.batchSize||o.batchSize;var f=0;f=0==o.limit?o.batchSize:o.limit<0||o.limit<o.batchSize||o.limit>0&&0==o.batchSize?o.limit:o.batchSize;var d=o.skip||0,h={},m=!1;if(\"mongos\"==a.type&&l&&(h.$readPreference=l.toJSON(),m=!0),n.sort&&(h.orderby=n.sort,m=!0),n.hint&&(h.$hint=n.hint,m=!0),n.snapshot&&(h.$snapshot=n.snapshot,m=!0),n.returnKey&&(h.$returnKey=n.returnKey,m=!0),n.maxScan&&(h.$maxScan=n.maxScan,m=!0),n.min&&(h.$min=n.min,m=!0),n.max&&(h.$max=n.max,m=!0),n.showDiskLoc&&(h.$showDiskLoc=n.showDiskLoc,m=!0),n.comment&&(h.$comment=n.comment,m=!0),n.maxTimeMS&&(h.$maxTimeMS=n.maxTimeMS,m=!0),n.explain&&(f=-Math.abs(n.limit||0),m=!0,h.$explain=!0),m?h.$query=n.query:h=n.query,n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server find command does not support a readConcern level of %s\",n.readConcern.level));n.readConcern&&(n=i(n),delete n.readConcern);var v=\"boolean\"==typeof u.serializeFunctions?u.serializeFunctions:!1,g=\"boolean\"==typeof u.ignoreUndefined?u.ignoreUndefined:!1,y=new r(e,t,h,{numberToSkip:d,numberToReturn:f,checkKeys:!1,returnFieldSelector:n.fields,serializeFunctions:v,ignoreUndefined:g});return y.slaveOk=l.slaveOk(),\"boolean\"==typeof n.tailable&&(y.tailable=n.tailable),\"boolean\"==typeof n.oplogReplay&&(y.oplogReplay=n.oplogReplay),\"boolean\"==typeof n.noCursorTimeout&&(y.noCursorTimeout=n.noCursorTimeout),\"boolean\"==typeof n.awaitData&&(y.awaitData=n.awaitData),\"boolean\"==typeof n.partial&&(y.partial=n.partial),y},h=function(e,t,n,i,o,a){a=a||{};var u=p(n,a),l={};for(var f in n)l[f]=n[f];var d=t.split(/\\./),h=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,m=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1;if(n.readConcern&&\"local\"!=n.readConcern.level)throw new c(s(\"server %s command does not support a readConcern level of %s\",JSON.stringify(n),n.readConcern.level));n.readConcern&&delete n.readConcern,\"mongos\"==o.type&&u&&\"primary\"!=u.preference&&(l={$query:l,$readPreference:u.toJSON()});var v=new r(e,s(\"%s.$cmd\",d.shift()),l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:h,ignoreUndefined:m});return v.slaveOk=u.slaveOk(),v};t.exports=l},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],212:[function(e,t,n){\"use strict\";var r=(e(\"./commands\").Insert,e(\"./commands\").Update,e(\"./commands\").Remove,e(\"../connection/commands\").Query),r=(e(\"../connection/utils\").copy,e(\"../connection/commands\").KillCursor,e(\"../connection/commands\").GetMore,e(\"../connection/commands\").Query),i=(e(\"../topologies/read_preference\"),e(\"util\").format),o=(e(\"../topologies/command_result\"),e(\"../error\")),a=e(\"bson\").Long,s=e(\"./shared\").getReadPreference,c=function(e){this.legacyWireProtocol=e},u=function(e,t,n,r,a,s,c){if(0==a.length)throw new o(\"insert must contain at least one document\");\"function\"==typeof s&&(c=s,s={});var u=r.split(\".\"),p=u.shift(),l=\"boolean\"==typeof s.ordered?s.ordered:!0,f=s.writeConcern,d={};d[t]=u.join(\".\"),d[n]=a,d.ordered=l,f&&Object.keys(f).length>0&&(d.writeConcern=f),\"boolean\"==typeof s.bypassDocumentValidation&&(d.bypassDocumentValidation=s.bypassDocumentValidation);var h={};\"insert\"==t&&(h.checkKeys=!0),s.serializeFunctions&&(h.serializeFunctions=s.serializeFunctions),s.ignoreUndefined&&(h.ignoreUndefined=s.ignoreUndefined),e.command(i(\"%s.$cmd\",p),d,h,c)};c.prototype.insert=function(e,t,n,r,i,o,a,s,c){u(e,\"insert\",\"documents\",n,a,s,c)},c.prototype.update=function(e,t,n,r,i,o,a,s,c){u(e,\"update\",\"updates\",n,a,s,c)},c.prototype.remove=function(e,t,n,r,i,o,a,s,c){u(e,\"delete\",\"deletes\",n,a,s,c)},c.prototype.killCursor=function(e,t,n,a,s,c){var u=t.split(/\\./),p=i(\"%s.$cmd\",u.shift()),l={killCursors:u.join(\".\"),cursors:[n]},f=new r(e,p,l,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});f.slaveOk=!0,a&&a.isConnected()&&a.write(f.toBin(),c);var d=function(e,t){if(e){if(\"function\"!=typeof c)return;return c(e)}if(0!=(1&t.responseFlags)){if(\"function\"!=typeof c)return;return c(new o(\"cursor killed or timed out\"),null)}if(!Array.isArray(t.documents)||0==t.documents.length){if(\"function\"!=typeof c)return;return c(new o(i(\"invalid killCursors result returned for cursor id %s\",cursorState.cursorId)))}\"function\"==typeof c&&c(null,t.documents[0])};s.register(f.requestId,d)},c.prototype.getMore=function(e,t,n,s,c,u,p,l,f){l=l||{};var d=t.split(/\\./),h=i(\"%s.$cmd\",d.shift()),m=(\"number\"==typeof n.cmd.maxTimeMS?n.cmd.maxTimeMS:3e3,{getMore:n.cursorId,collection:d.join(\".\"),batchSize:Math.abs(s)});n.cmd.tailable&&\"number\"==typeof n.cmd.maxAwaitTimeMS&&(m.maxTimeMS=n.cmd.maxAwaitTimeMS);var v=new r(e,h,m,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null});v.slaveOk=!0;var g=function(e,t){if(e)return f(e);if(0!=(1&t.responseFlags))return f(new o(\"cursor killed or timed out\"),null);if(c)return n.documents=t.documents,n.cursorId=t.cursorId,f(null,t.documents);if(0==t.documents[0].ok)return f(o.create(t.documents[0]));var r=\"number\"==typeof t.documents[0].cursor.id?a.fromNumber(t.documents[0].cursor.id):t.documents[0].cursor.id;n.documents=t.documents[0].cursor.nextBatch,n.cursorId=r,f(null,t.documents[0],t.connection)};c&&(g.raw=c),g.documentsReturnedIn=\"nextBatch\",\"boolean\"==typeof n.promoteLongs&&(g.promoteLongs=n.promoteLongs),p.register(v.requestId,g),u.write(v.toBin(),g)},c.prototype.command=function(e,t,n,r,a,s){if(n.find){var c=p(e,t,n,r,a,s);return n.virtual=!1,c.documentsReturnedIn=\"firstBatch\",c}if(null==r.cursorId){if(n)return l(e,t,n,r,a,s);throw new o(i(\"command %s does not return a cursor\",JSON.stringify(n)))}};var p=function(e,t,n,o,a,c){c=c||{};var u=s(n,c);o.batchSize=n.batchSize||o.batchSize;var p=t.split(/\\./),l=i(\"%s.$cmd\",p.shift()),f={find:p.join(\".\")};n.query&&(f.filter=n.query);var d=n.sort;if(Array.isArray(d)){var h={};if(d.length>0&&!Array.isArray(d[0])){var m=d[1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[0]]=m}else for(var v=0;v<d.length;v++){var m=d[v][1];\"asc\"==m?m=1:\"desc\"==m&&(m=-1),h[d[v][0]]=m}d=h}n.sort&&(f.sort=d),n.fields&&(f.projection=n.fields),n.hint&&(f.hint=n.hint),n.skip&&(f.skip=n.skip),n.limit&&(f.limit=n.limit),\"number\"==typeof n.batchSize&&(f.batchSize=Math.abs(n.batchSize)),n.limit<0&&(f.limit=Math.abs(n.limit),f.singleBatch=!0),n.comment&&(f.comment=n.comment),n.maxScan&&(f.maxScan=n.maxScan),n.maxTimeMS&&(f.maxTimeMS=n.maxTimeMS),n.min&&(f.min=n.min),n.max&&(f.max=n.max),n.returnKey&&(f.returnKey=n.returnKey),n.showDiskLoc&&(f.showRecordId=n.showDiskLoc),n.snapshot&&(f.snapshot=n.snapshot),n.tailable&&(f.tailable=n.tailable),n.oplogReplay&&(f.oplogReplay=n.oplogReplay),n.noCursorTimeout&&(f.noCursorTimeout=n.noCursorTimeout),n.awaitData&&(f.awaitData=n.awaitData),n.awaitdata&&(f.awaitData=n.awaitdata),n.partial&&(f.partial=n.partial),n.explain&&(f={explain:f}),n.readConcern&&(f.readConcern=n.readConcern);var g=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,y=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(f={$query:f,$readPreference:u.toJSON()});var b=new r(e,l,f,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,returnFieldSelector:null,serializeFunctions:g,ignoreUndefined:y});return b.slaveOk=u.slaveOk(),b},l=function(e,t,n,o,a,c){c=c||{};var u=s(n,c),p={};for(var l in n)p[l]=n[l];var f=t.split(/\\./),d=\"boolean\"==typeof c.serializeFunctions?c.serializeFunctions:!1,h=\"boolean\"==typeof c.ignoreUndefined?c.ignoreUndefined:!1;\"mongos\"==a.type&&u&&\"primary\"!=u.preference&&(p={$query:p,$readPreference:u.toJSON()});var m=new r(e,i(\"%s.$cmd\",f.shift()),p,{numberToSkip:0,numberToReturn:-1,checkKeys:!1,serializeFunctions:d,ignoreUndefined:h});return m.slaveOk=u.slaveOk(),m};t.exports=c},{\"../connection/commands\":195,\"../connection/utils\":199,\"../error\":201,\"../topologies/command_result\":202,\"../topologies/read_preference\":204,\"./commands\":213,\"./shared\":214,bson:59,util:void 0}],213:[function(e,t,n){(function(n){\"use strict\";var r=e(\"../error\"),i=2001,o=2002,a=2006,s=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");if(!Array.isArray(o)||0==o.length)throw new r(\"documents array must contain at least one document to insert\");if(~i.indexOf(\"\\x00\"))throw new r(\"namespace cannot contain a null character\");this.requestId=e,this.bson=n,this.ns=i,this.documents=o,this.ismaster=t,a=a||{},this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!0,this.continueOnError=\"boolean\"==typeof a.continueOnError?a.continueOnError:!1,this.flags=this.continueOnError?1:0};s.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1);e.push(t);for(var i=t.length,a=0;a<this.documents.length;a++){var s=this.bson.serialize(this.documents[a],this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);if(s.length>this.ismaster.maxBsonObjectSize)throw new r(\"Document exceeds maximum allowed bson size of \"+this.ismaster.maxBsonObjectSize+\" bytes\");i+=s.length,e.push(s)}if(i>this.ismaster.maxMessageSizeBytes)throw new r(\"Command exceeds maximum message size of \"+this.ismaster.maxMessageSizeBytes+\" bytes\");var c=0;return t[c+3]=i>>24&255,t[c+2]=i>>16&255,t[c+1]=i>>8&255,t[c]=255&i,c+=4,t[c+3]=this.requestId>>24&255,t[c+2]=this.requestId>>16&255,t[c+1]=this.requestId>>8&255,t[c]=255&this.requestId,c+=4,t[c+3]=0,t[c+2]=0,t[c+1]=0,t[c]=0,c+=4,t[c+3]=o>>24&255,t[c+2]=o>>16&255,t[c+1]=o>>8&255,t[c]=255&o,c+=4,t[c+3]=this.flags>>24&255,t[c+2]=this.flags>>16&255,t[c+1]=this.flags>>8&255,t[c]=255&this.flags,c+=4,c=c+t.write(this.ns,c,\"utf8\")+1,t[c-1]=0,e};var c=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.upsert=\"boolean\"==typeof o[0].upsert?o[0].upsert:!1,this.multi=\"boolean\"==typeof o[0].multi?o[0].multi:!1,this.q=o[0].q,this.u=o[0].u,this.flags=this.upsert?1:0,this.flags=this.multi?2|this.flags:this.flags};c.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,o=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(o),r+=o.length;var a=this.bson.serialize(this.u,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(a),r+=a.length;var s=0;return t[s+3]=r>>24&255,t[s+2]=r>>16&255,t[s+1]=r>>8&255,t[s]=255&r,s+=4,t[s+3]=this.requestId>>24&255,t[s+2]=this.requestId>>16&255,t[s+1]=this.requestId>>8&255,t[s]=255&this.requestId,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,t[s+3]=i>>24&255,t[s+2]=i>>16&255,t[s+1]=i>>8&255,t[s]=255&i,s+=4,t[s+3]=0,t[s+2]=0,t[s+1]=0,t[s]=0,s+=4,s=s+t.write(this.ns,s,\"utf8\")+1,t[s-1]=0,t[s+3]=this.flags>>24&255,t[s+2]=this.flags>>16&255,t[s+1]=this.flags>>8&255,t[s]=255&this.flags,s+=4,e};var u=function(e,t,n,i,o,a){if(null==i)throw new r(\"ns must be specified for query\");a=a||{},this.requestId=e,this.bson=n,this.ns=i,this.ismaster=t,this.serializeFunctions=\"boolean\"==typeof a.serializeFunctions?a.serializeFunctions:!1,this.ignoreUndefined=\"boolean\"==typeof a.ignoreUndefined?a.ignoreUndefined:!1,this.checkKeys=\"boolean\"==typeof a.checkKeys?a.checkKeys:!1,this.limit=\"number\"==typeof o[0].limit?o[0].limit:1,this.q=o[0].q,this.flags=1==this.limit?1:0};u.prototype.toBin=function(){var e=[],t=new n(20+n.byteLength(this.ns)+1+4);e.push(t);var r=t.length,i=this.bson.serialize(this.q,this.checkKeys,!0,this.serializeFunctions,0,this.ignoreUndefined);e.push(i),r+=i.length;var o=0;return t[o+3]=r>>24&255,t[o+2]=r>>16&255,t[o+1]=r>>8&255,t[o]=255&r,o+=4,t[o+3]=this.requestId>>24&255,t[o+2]=this.requestId>>16&255,t[o+1]=this.requestId>>8&255,t[o]=255&this.requestId,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,t[o+3]=a>>24&255,t[o+2]=a>>16&255,t[o+1]=a>>8&255,t[o]=255&a,o+=4,t[o+3]=0,t[o+2]=0,t[o+1]=0,t[o]=0,o+=4,o=o+t.write(this.ns,o,\"utf8\")+1,t[o-1]=0,t[o+3]=this.flags>>24&255,t[o+2]=this.flags>>16&255,t[o+1]=this.flags>>8&255,t[o]=255&this.flags,o+=4,e},t.exports={Insert:s,Update:c,Remove:u}}).call(this,e(\"buffer\").Buffer)},{\"../error\":201,buffer:void 0}],214:[function(e,t,n){var r=e(\"../topologies/read_preference\"),i=function(e,t){var n=e.readPreference||new r(\"primary\");if(t.readPreference&&(n=t.readPreference),\"string\"==typeof n&&(n=new r(n)),!(n instanceof r))throw new MongoError(\"readPreference must be a ReadPreference instance\");return n};t.exports={getReadPreference:i}},{\"../topologies/read_preference\":204}],215:[function(e,t,n){var r=e(\"mongodb-core\"),i=e(\"./lib/apm\"),o=e(\"./lib/mongo_client\").connect;o.MongoError=r.MongoError,o.Admin=e(\"./lib/admin\"),o.MongoClient=e(\"./lib/mongo_client\"),o.Db=e(\"./lib/db\"),o.Collection=e(\"./lib/collection\"),o.Server=e(\"./lib/server\"),o.ReplSet=e(\"./lib/replset\"),o.Mongos=e(\"./lib/mongos\"),o.ReadPreference=e(\"./lib/read_preference\"),o.GridStore=e(\"./lib/gridfs/grid_store\"),o.Chunk=e(\"./lib/gridfs/chunk\"),o.Logger=r.Logger,o.Cursor=e(\"./lib/cursor\"),o.GridFSBucket=e(\"./lib/gridfs-stream\"),o.Binary=r.BSON.Binary,o.Code=r.BSON.Code,o.Map=r.BSON.Map,o.DBRef=r.BSON.DBRef,o.Double=r.BSON.Double,o.Long=r.BSON.Long,o.MinKey=r.BSON.MinKey,o.MaxKey=r.BSON.MaxKey,o.ObjectID=r.BSON.ObjectID,o.ObjectId=r.BSON.ObjectID,o.Symbol=r.BSON.Symbol,o.Timestamp=r.BSON.Timestamp,o.connect=o,o.instrument=function(e,t){return\"function\"==typeof e&&(t=e,e={}),new i(r,e,t)},t.exports=o},{\"./lib/admin\":216,\"./lib/apm\":218,\"./lib/collection\":222,\"./lib/cursor\":224,\"./lib/db\":225,\"./lib/gridfs-stream\":227,\"./lib/gridfs/chunk\":229,\"./lib/gridfs/grid_store\":230,\"./lib/mongo_client\":232,\"./lib/mongos\":233,\"./lib/read_preference\":234,\"./lib/replset\":235,\"./lib/server\":236,\"mongodb-core\":188}],216:[function(e,t,n){\"use strict\";var r=e(\"./utils\").toError,i=e(\"./metadata\"),o=e(\"./utils\").shallowClone,a=function(e,t,n){if(!(this instanceof a))return new a(e,t);this.s={db:e,topology:t,promiseLibrary:n}},s=a.define=new i(\"Admin\",a,!1);a.prototype.command=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},\"function\"==typeof n?this.s.db.executeDbAdminCommand(e,t,function(e,t){return null!=n?n(e,t):null}):new this.s.promiseLibrary(function(n,i){r.s.db.executeDbAdminCommand(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"command\",{callback:!0,promise:!0}),a.prototype.buildInfo=function(e){var t=this;return\"function\"==typeof e?this.serverInfo(e):new this.s.promiseLibrary(function(e,n){t.serverInfo(function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"buildInfo\",{callback:!0,promise:!0}),a.prototype.serverInfo=function(e){var t=this;return\"function\"==typeof e?this.s.db.executeDbAdminCommand({buildinfo:1},function(t,n){return null!=t?e(t,null):void e(null,n)}):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({buildinfo:1},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"serverInfo\",{callback:!0,promise:!0}),a.prototype.serverStatus=function(e){var t=this;return\"function\"==typeof e?c(t,e):new this.s.promiseLibrary(function(e,n){c(t,function(t,r){return t?n(t):void e(r)})})};var c=function(e,t){e.s.db.executeDbAdminCommand({serverStatus:1},function(e,n){return null!=e||1!==n.ok?e?t(e,!1):t(r(n),!1):void t(null,n)})};s.classMethod(\"serverStatus\",{callback:!0,promise:!0}),a.prototype.profilingLevel=function(e){var t=this;return\"function\"==typeof e?u(t,e):new this.s.promiseLibrary(function(e,n){u(t,function(t,r){return t?n(t):void e(r)})})};var u=function(e,t){e.s.db.executeDbAdminCommand({profile:-1},function(e,n){if(n=n,null==e&&1===n.ok){var r=n.was;return 0==r?t(null,\"off\"):1==r?t(null,\"slow_only\"):2==r?t(null,\"all\"):t(new Error(\"Error: illegal profiling level value \"+r),null)}null!=e?t(e,null):t(new Error(\"Error with profile command\"),null)})};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.ping=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),\"function\"==typeof t?this.s.db.executeDbAdminCommand({ping:1},t):new this.s.promiseLibrary(function(e,t){n.s.db.executeDbAdminCommand({ping:1},function(n,r){return n?t(n):void e(r)})})},s.classMethod(\"ping\",{callback:!0,promise:!0}),a.prototype.authenticate=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=o(n),n.authdb=\"admin\",\"function\"==typeof r?this.s.db.authenticate(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.authenticate(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"authenticate\",{callback:!0,promise:!0}),a.prototype.logout=function(e){var t=this;return\"function\"==typeof e?this.s.db.logout({authdb:\"admin\"},e):new this.s.promiseLibrary(function(e,n){t.s.db.logout({authdb:\"admin\"},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"logout\",{callback:!0,promise:!0});var p=function(e,t){return e=o(e),e.w||e.wtimeout||e.j||e.fsync?e:(t.writeConcern&&(e.w&&(e.w=t.writeConcern.w),e.wtimeout&&(e.wtimeout=t.writeConcern.wtimeout),e.j&&(e.j=t.writeConcern.j),e.fsync&&(e.fsync=t.writeConcern.fsync)),e)};a.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift():{},n=n||{},n=p(n,i.s.db),n.dbName=\"admin\",\"function\"==typeof r?i.s.db.addUser(e,t,n,r):new this.s.promiseLibrary(function(r,o){i.s.db.addUser(e,t,n,function(e,t){return e?o(e):void r(t)})})},s.classMethod(\"addUser\",{callback:!0,promise:!0}),a.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},t=p(t,r.s.db),t.dbName=\"admin\",\"function\"==typeof n?r.s.db.removeUser(e,t,n):new this.s.promiseLibrary(function(n,i){r.s.db.removeUser(e,t,function(e,t){return e?i(e):void n(t)})})},s.classMethod(\"removeUser\",{callback:!0,promise:!0}),a.prototype.setProfilingLevel=function(e,t){var n=this;return\"function\"==typeof t?l(n,e,t):new this.s.promiseLibrary(function(t,r){l(n,e,function(e,n){return e?r(e):void t(n)})})};var l=function(e,t,n){var r={},i=0;if(\"off\"==t)i=0;else if(\"slow_only\"==t)i=1;else{if(\"all\"!=t)return n(new Error(\"Error: illegal profiling level value \"+t));i=2}r.profile=i,e.s.db.executeDbAdminCommand(r,function(e,r){return r=r,null==e&&1===r.ok?n(null,t):null!=e?n(e,null):n(new Error(\"Error with profile command\"),null)})};s.classMethod(\"setProfilingLevel\",{callback:!0,promise:!0}),a.prototype.profilingInfo=function(e){var t=this;return\"function\"==typeof e?f(t,e):new this.s.promiseLibrary(function(e,n){f(t,function(t,r){return t?n(t):void e(r)})})};var f=function(e,t){try{e.s.topology.cursor(\"admin.system.profile\",{find:\"system.profile\",query:{}},{}).toArray(t)}catch(n){return t(n,null)}};s.classMethod(\"profilingLevel\",{callback:!0,promise:!0}),a.prototype.validateCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():{},t=t||{},\"function\"==typeof n?d(r,e,t,n):new this.s.promiseLibrary(function(n,i){d(r,e,t,function(e,t){return e?i(e):void n(t)})})};var d=function(e,t,n,r){for(var i={validate:t},o=Object.keys(n),a=0;a<o.length;a++)n.hasOwnProperty(o[a])&&(i[o[a]]=n[o[a]]);e.s.db.command(i,function(e,n){return null!=e?r(e,null):0===n.ok?r(new Error(\"Error with validate command\"),null):null!=n.result&&n.result.constructor!=String?r(new Error(\"Error with validation data\"),null):null!=n.result&&null!=n.result.match(/exception|corrupt/)?r(new Error(\"Error: invalid collection \"+t),null):null==n.valid||n.valid?r(null,n):r(new Error(\"Error: invalid collection \"+t),null)})};s.classMethod(\"validateCollection\",{callback:!0,promise:!0}),a.prototype.listDatabases=function(e){var t=this;return\"function\"==typeof e?t.s.db.executeDbAdminCommand({listDatabases:1},{},e):new this.s.promiseLibrary(function(e,n){t.s.db.executeDbAdminCommand({listDatabases:1},{},function(t,r){return t?n(t):void e(r)})})},s.classMethod(\"listDatabases\",{callback:!0,promise:!0}),a.prototype.replSetGetStatus=function(e){var t=this;return\"function\"==typeof e?h(t,e):new this.s.promiseLibrary(function(e,n){h(t,function(t,r){return t?n(t):void e(r)})})};var h=function(e,t){e.s.db.executeDbAdminCommand({replSetGetStatus:1},function(e,n){return null==e&&1===n.ok?t(null,n):e?t(e,!1):void t(r(n),!1)})};s.classMethod(\"replSetGetStatus\",{callback:!0,promise:!0}),t.exports=a},{\"./metadata\":231,\"./utils\":239}],217:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\"),e(\"mongodb-core\").MongoError),o=e(\"stream\").Readable||e(\"readable-stream\").Readable,a=e(\"./metadata\"),s=e(\"./cursor\"),c=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference,function(t,r,i,a,u,p){s.apply(this,Array.prototype.slice.call(arguments,0));var l=c.INIT,f={},d=null,h=a.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),o.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:a,topology:u,topologyOptions:p,promiseLibrary:h}});r(c,o);for(var u in s.prototype)c.prototype[u]=s.prototype[u];var p=c.define=new a(\"AggregationCursor\",c,!0);c.prototype.batchSize=function(e){if(this.s.state==c.CLOSED||this.isDead())throw i.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw i.create({message:\"batchSize requires an integer\",drvier:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},p.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[c]}),c.prototype.geoNear=function(e){return this.s.cmd.pipeline.push({$geoNear:e}),this},p.classMethod(\"geoNear\",{callback:!1,promise:!1,returns:[c]}),c.prototype.group=function(e){return this.s.cmd.pipeline.push({$group:e}),this},p.classMethod(\"group\",{callback:!1,promise:!1,returns:[c]}),c.prototype.limit=function(e){return this.s.cmd.pipeline.push({$limit:e}),this},p.classMethod(\"limit\",{callback:!1,promise:!1,returns:[c]}),c.prototype.match=function(e){return this.s.cmd.pipeline.push({$match:e}),this},p.classMethod(\"match\",{callback:!1,promise:!1,returns:[c]}),c.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},p.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[c]}),c.prototype.out=function(e){return this.s.cmd.pipeline.push({$out:e}),this},p.classMethod(\"out\",{callback:!1,promise:!1,returns:[c]}),c.prototype.project=function(e){return this.s.cmd.pipeline.push({$project:e}),this},p.classMethod(\"project\",{callback:!1,promise:!1,returns:[c]}),c.prototype.lookup=function(e){return this.s.cmd.pipeline.push({$lookup:e}),this},p.classMethod(\"lookup\",{callback:!1,promise:!1,returns:[c]}),c.prototype.redact=function(e){return this.s.cmd.pipeline.push({$redact:e}),this},p.classMethod(\"redact\",{callback:!1,promise:!1,returns:[c]}),c.prototype.skip=function(e){return this.s.cmd.pipeline.push({\n$skip:e}),this},p.classMethod(\"skip\",{callback:!1,promise:!1,returns:[c]}),c.prototype.sort=function(e){return this.s.cmd.pipeline.push({$sort:e}),this},p.classMethod(\"sort\",{callback:!1,promise:!1,returns:[c]}),c.prototype.unwind=function(e){return this.s.cmd.pipeline.push({$unwind:e}),this},p.classMethod(\"unwind\",{callback:!1,promise:!1,returns:[c]}),c.prototype.get=c.prototype.toArray,p.classMethod(\"toArray\",{callback:!0,promise:!0}),p.classMethod(\"each\",{callback:!0,promise:!1}),p.classMethod(\"forEach\",{callback:!0,promise:!1}),p.classMethod(\"next\",{callback:!0,promise:!0}),p.classMethod(\"close\",{callback:!0,promise:!0}),p.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),p.classMethod(\"rewind\",{callback:!1,promise:!1}),p.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),p.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),c.INIT=0,c.OPEN=1,c.CLOSED=2,t.exports=c}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],218:[function(e,t,n){var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./aggregation_cursor\"),a=e(\"./command_cursor\"),s=e(\"./bulk/ordered\").OrderedBulkOperation,c=e(\"./bulk/unordered\").UnorderedBulkOperation,u=e(\"./gridfs/grid_store\"),p=(e(\"./server\"),e(\"./replset\"),e(\"./mongos\"),e(\"./cursor\")),l=e(\"./collection\"),f=e(\"./db\"),d=(e(\"./admin\"),{operationId:1,next:function(){return this.operationId++}}),h={current:function(){return(new Date).getTime()},duration:function(e,t){return t-e}},m=[\"authenticate\",\"saslStart\",\"saslContinue\",\"getnonce\",\"createUser\",\"updateUser\",\"copydbgetnonce\",\"copydbsaslstart\",\"copydb\"],v=function(t,n,i){n=n||{};var v=n.operationIdGenerator||d,g=n.timestampGenerator||h;r.call(this),this.overloads=[];var y=function(e){for(var t=[],n=[u,s,c,a,o,p,l,f],r=0;r<n.length;r++)n[r].define&&t.push(n[r].define.generate());e(null,t)};\"function\"==typeof i&&y(i);var b=this,x=[\"command\",\"insert\",\"update\",\"remove\"],w=t.Server.prototype;x.forEach(function(e){var n=w[e];b.overloads.push({proto:w,name:e,func:n}),w[e]=function(){var r=t.Query.nextRequestId(),i=Array.prototype.slice.call(arguments,0),o=i[0],a=i[1],s=i[2]||{},c=Object.keys(a),u=c[0],p=o.split(\".\")[0];if(\"insert\"!=e||this.lastIsMaster().maxWireVersion)if(\"update\"!=e||this.lastIsMaster().maxWireVersion)if(\"remove\"!=e||this.lastIsMaster().maxWireVersion){if(\"insert\"==e||\"update\"==e||\"remove\"==e&&this.lastIsMaster().maxWireVersion>=2)return n.apply(this,i)}else{u=\"delete\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={\"delete\":l,deletes:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"update\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={update:l,updates:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}else{u=\"insert\";var l=o.split(\".\");l.shift(),l=l.join(\".\"),a={insert:l,documents:a},s.writeConcern&&Object.keys(s.writeConcern).length>0&&(a.writeConcern=s.writeConcern),a.ordered=void 0!=s.ordered?s.ordered:!0}var f=i.pop(),d=f.operationId||v.next(),h=this.s.pool.get(),y={command:a,databaseName:p,commandName:u,requestId:r,operationId:d,connectionId:h};m.indexOf(u.toLowerCase())&&(y.commandObj={},y.commandObj[u]=!0),b.emit(\"started\",y);var x=g.current();i.push(function(e,t){var n=g.current(),i={duration:g.duration(x,n),commandName:u,requestId:r,operationId:d,connectionId:h};e||t&&t.result&&0==t.result.ok?(i.failure=e||t.result.writeErrors||t.result,m.indexOf(u.toLowerCase())&&(i.failure={}),b.emit(\"failed\",i)):a&&a.writeConcern&&0==a.writeConcern.w?(i.reply={ok:1},b.emit(\"succeeded\",i)):(i.reply=t&&t.result?t.result:t,-1!=m.indexOf(u.toLowerCase())&&(i.reply={}),b.emit(\"succeeded\",i)),f(e,t)}),n.apply(this,i)}});var x=[\"execute\"],_=[e(\"./bulk/ordered\").Bulk.prototype,e(\"./bulk/unordered\").Bulk.prototype];_.forEach(function(e){x.forEach(function(t){var n=e[t];b.overloads.push({proto:e,name:t,func:n}),e[t]=function(){var e=Array.prototype.slice.call(arguments,0);this.operationId=v.next();var t=e.pop();return\"function\"!=typeof t?n.apply(this,e):(e.push(function(e,n){t(e,n)}),void n.apply(this,e))}})});var x=[\"_find\",\"_getmore\",\"_killcursor\"],_=[e(\"./cursor\").prototype,e(\"./command_cursor\").prototype,e(\"./aggregation_cursor\").prototype],k={_find:\"find\",_getmore:\"getMore\",_killcursor:\"killCursors\",_explain:\"explain\"};_.forEach(function(e){x.forEach(function(n){var r=e[n];b.overloads.push({proto:e,name:n,func:r}),e[n]=function(){var e=this,i=t.Query.nextRequestId(),o=v.next(),a=this.ns.split(\".\"),s=a[0];a.shift();var c=a.join(\".\"),u=this.query,p=this.s.cmd;\"_find\"==n&&(e.operationId=o),\"_getmore\"==n?(u={getMore:this.cursorState.cursorId,collection:c,batchSize:p.batchSize},p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS)):\"_killcursors\"==n?u={killCursors:c,cursors:[this.cursorState.cursorId]}:p.find?(u={find:c,filter:p.query},p.sort&&(u.sort=p.sort),p.fields&&(u.projection=p.fields),p.limit&&p.limit<0?(u.limit=Math.abs(p.limit),u.singleBatch=!0):p.limit&&(u.limit=Math.abs(p.limit)),p.skip&&(u.skip=p.skip),p.hint&&(u.hint=p.hint),p.batchSize&&(u.batchSize=p.batchSize),\"boolean\"==typeof p.returnKey&&(u.returnKey=p.returnKey),p.comment&&(u.comment=p.comment),p.min&&(u.min=p.min),p.max&&(u.max=p.max),p.maxScan&&(u.maxScan=p.maxScan),p.maxTimeMS&&(u.maxTimeMS=p.maxTimeMS),\"boolean\"==typeof p.awaitData&&(u.awaitData=p.awaitData),\"boolean\"==typeof p.snapshot&&(u.snapshot=p.snapshot),\"boolean\"==typeof p.tailable&&(u.tailable=p.tailable),\"boolean\"==typeof p.oplogReplay&&(u.oplogReplay=p.oplogReplay),\"boolean\"==typeof p.noCursorTimeout&&(u.noCursorTimeout=p.noCursorTimeout),\"boolean\"==typeof p.partial&&(u.partial=p.partial),\"boolean\"==typeof p.showDiskLoc&&(u.showRecordId=p.showDiskLoc),p.readConcern&&(u.readConcern=p.readConcern),p.explain&&(u.explain=p.explain),p.exhaust&&(u.exhaust=p.exhaust),p.explain&&(u={explain:u,verbosity:\"allPlansExecution\"},p.readConcern&&(u.readConcern=p.readConcern),n=\"_explain\")):u=p;var l=null;this.connection&&(l=this.connection),!l&&this.server&&this.server.getConnection&&(l=this.server.getConnection());var f=\"_find\"==n?Object.keys(u)[0]:k[n],u={command:u,databaseName:s,commandName:f,requestId:i,operationId:this.operationId,connectionId:l},d=Array.prototype.slice.call(arguments,0),h=d.pop();if(\"function\"!=typeof h&&\"killCursors\"!=u.commandName){d.push(h);var m=r.apply(this,d);return new e.s.promiseLibrary(function(t,n){var r=g.current();b.emit(\"started\",u),m.then(function(t){var n={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:e.cursorState.documents};b.emit(\"succeeded\",n)})[\"catch\"](function(t){var a={duration:g.duration(r,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",a),n(t)})})}var y=g.current();if(b.emit(\"started\",u),\"killCursors\"==u.commandName&&this.server.lastIsMaster()&&this.server.lastIsMaster().maxWireVersion<4){var u={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:[{ok:1}]};return b.emit(\"succeeded\",u)}d.push(function(t,n){if(t){var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:o,connectionId:e.server.getConnection(),failure:t};b.emit(\"failed\",r)}else{\"getmore\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,nextBatch:e.cursorState.documents},ok:1}:\"find\"==f.toLowerCase()&&null==n?n={cursor:{id:e.cursorState.cursorId,ns:e.ns,firstBatch:e.cursorState.documents},ok:1}:\"killcursors\"==f.toLowerCase()&&null==n&&(n={cursorsUnknown:[e.cursorState.lastCursorId],ok:1});var r={duration:g.duration(y,g.current()),commandName:f,requestId:i,operationId:e.operationId,connectionId:e.server.getConnection(),reply:n&&n.result?n.result:n};b.emit(\"succeeded\",r)}h&&h(t,n)}),r.apply(this,d)}})})};i(v,r),v.prototype.uninstrument=function(){for(var e=0;e<this.overloads.length;e++){var t=this.overloads[e];t.proto[t.name]=t.func}this.removeAllListeners(\"started\"),this.removeAllListeners(\"succeeded\"),this.removeAllListeners(\"failed\")},t.exports=v},{\"./admin\":216,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./collection\":222,\"./command_cursor\":223,\"./cursor\":224,\"./db\":225,\"./gridfs/grid_store\":230,\"./mongos\":233,\"./replset\":235,\"./server\":236,events:void 0,util:void 0}],219:[function(e,t,n){\"use strict\";var r=(e(\"../utils\"),e(\"mongodb-core\").BSON.Long),i=e(\"mongodb-core\").BSON.Timestamp,o=8,a=22,s=64,c=65,u=1,p=2,l=3,f=function(e,t,n){return null!=n.w||null!=n.j||null!=n.fsync?e.writeConcern=n:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern),e},d=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},h=function(e,t){this.originalZeroIndex=t,this.currentIndex=0,this.originalIndexes=[],this.batchType=e,this.operations=[],this.size=0,this.sizeBytes=0},m=function(e,t,n){this.batchType=e,this.index=n,this.operation=t},v=function(e){d(this,\"ok\",e.ok),d(this,\"nInserted\",e.nInserted),d(this,\"nUpserted\",e.nUpserted),d(this,\"nMatched\",e.nMatched),d(this,\"nModified\",e.nModified),d(this,\"nRemoved\",e.nRemoved),this.getInsertedIds=function(){return e.insertedIds},this.getUpsertedIds=function(){return e.upserted},this.getUpsertedIdAt=function(t){return e.upserted[t]},this.getRawResponse=function(){return e},this.hasWriteErrors=function(){return e.writeErrors.length>0},this.getWriteErrorCount=function(){return e.writeErrors.length},this.getWriteErrorAt=function(t){return t<e.writeErrors.length?e.writeErrors[t]:null},this.getWriteErrors=function(){return e.writeErrors},this.getLastOp=function(){return e.lastOp},this.getWriteConcernError=function(){if(0==e.writeConcernErrors.length)return null;if(1==e.writeConcernErrors.length)return e.writeConcernErrors[0];for(var t=\"\",n=0;n<e.writeConcernErrors.length;n++){var r=e.writeConcernErrors[n];t+=r.errmsg,0==n&&(t+=\" and \")}return new g({errmsg:t,code:s})},this.toJSON=function(){return e},this.toString=function(){return\"BulkWriteResult(\"+this.toJSON(e)+\")\"},this.isOk=function(){return 1==e.ok}},g=function(e){return this instanceof g?(d(this,\"code\",e.code),d(this,\"errmsg\",e.errmsg),this.toJSON=function(){return{code:e.code,errmsg:e.errmsg}},void(this.toString=function(){return\"WriteConcernError(\"+e.errmsg+\")\"})):new g(e)},y=function(e){return this instanceof y?(d(this,\"code\",e.code),d(this,\"index\",e.index),d(this,\"errmsg\",e.errmsg),this.getOperation=function(){return e.op},this.toJSON=function(){return{code:e.code,index:e.index,errmsg:e.errmsg,op:e.op}},void(this.toString=function(){return\"WriteError(\"+JSON.stringify(this.toJSON())+\")\"})):new y(e)},b=function(e,t,n,o,a){if(o)a=o;else if(a&&a.result)a=a.result;else if(null==a)return;if(0==a.ok&&1==n.ok){n.ok=0;var s={index:0,code:a.code||0,errmsg:a.message,op:t.operations[0]};return void n.writeErrors.push(new y(s))}if(0!=a.ok||0!=n.ok){if(a.opTime||a.lastOp){var c=a.lastOp||a.opTime,f=null,d=null;if(c instanceof i)null==n.lastOp?n.lastOp=c:c.greaterThan(n.lastOp)&&(n.lastOp=c);else{n.lastOp&&(f=\"number\"==typeof n.lastOp.ts?r.fromNumber(n.lastOp.ts):n.lastOp.ts,d=\"number\"==typeof n.lastOp.t?r.fromNumber(n.lastOp.t):n.lastOp.t);var h=\"number\"==typeof c.ts?r.fromNumber(c.ts):c.ts,m=\"number\"==typeof c.t?r.fromNumber(c.t):c.t;null==n.lastOp?n.lastOp=c:h.greaterThan(f)?n.lastOp=c:h.equals(f)&&m.greaterThan(d)&&(n.lastOp=c)}}t.batchType==u&&a.n&&(n.nInserted=n.nInserted+a.n),t.batchType==l&&a.n&&(n.nRemoved=n.nRemoved+a.n);var v=0;if(Array.isArray(a.upserted)){v=a.upserted.length;for(var b=0;b<a.upserted.length;b++)n.upserted.push({index:a.upserted[b].index+t.originalZeroIndex,_id:a.upserted[b]._id})}else a.upserted&&(v=1,n.upserted.push({index:t.originalZeroIndex,_id:a.upserted}));if(t.batchType==p&&a.n){var x=a.nModified;n.nUpserted=n.nUpserted+v,n.nMatched=n.nMatched+(a.n-v),\"number\"==typeof x?n.nModified=n.nModified+x:n.nModified=null}if(Array.isArray(a.writeErrors))for(var b=0;b<a.writeErrors.length;b++){var s={index:t.originalZeroIndex+a.writeErrors[b].index,code:a.writeErrors[b].code,errmsg:a.writeErrors[b].errmsg,op:t.operations[a.writeErrors[b].index]};n.writeErrors.push(new y(s))}a.writeConcernError&&n.writeConcernErrors.push(new g(a.writeConcernError))}},x=function(e){for(var t={},n=Object.keys(e),r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t};n.BulkWriteResult=v,n.WriteError=y,n.Batch=h,n.LegacyOp=m,n.mergeBatchResults=b,n.cloneOptions=x,n.writeConcern=f,n.INVALID_BSON_ERROR=a,n.WRITE_CONCERN_ERROR=s,n.MULTIPLE_ERROR=c,n.UNKNOWN_ERROR=o,n.INSERT=u,n.UPDATE=p,n.REMOVE=l},{\"../utils\":239,\"mongodb-core\":188}],220:[function(e,t,n){(function(n){\"use strict\";function r(t,r,o){o=null==o?{}:o;var a=!1,s=null,u=t.bson,p=r.collectionName,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=i.writeConcern(c(o),r,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentBatch:null,currentIndex:0,currentBatchSize:0,currentBatchSizeBytes:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:p,bson:u,topology:t,options:o,currentOp:s,executed:a,collection:r,promiseLibrary:h,err:null,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}}var i=e(\"./common\"),o=e(\"../utils\"),a=e(\"../utils\").toError,s=(e(\"util\").format,e(\"../utils\").handleCallback),c=o.shallowClone,u=(i.WriteError,i.BulkWriteResult),p=(i.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),l=e(\"../metadata\"),f=e(\"mongodb-core\").BSON,d=i.Batch,h=i.mergeBatchResults,m=new f.BSONPure,v=function(e){this.s=e.s};v.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,g(this,i.UPDATE,n)},v.prototype.replaceOne=function(e){this.updateOne(e)},v.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},v.prototype.deleteOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.removeOne=v.prototype.deleteOne,v.prototype[\"delete\"]=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,g(this,i.REMOVE,e)},v.prototype.remove=v.prototype[\"delete\"];var g=function(e,t,n){var r=m.calculateObjectSize(n,!1);if(r>=e.s.maxBatchSizeBytes)throw a(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(null==e.s.currentBatch&&(e.s.currentBatch=new d(t,e.s.currentIndex)),e.s.currentBatchSize+1>=e.s.maxWriteBatchSize||e.s.currentBatchSizeBytes+e.s.currentBatchSizeBytes>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t?(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new d(t,e.s.currentIndex),e.s.currentBatchSize=0,e.s.currentBatchSizeBytes=0):(e.s.currentBatchSize=e.s.currentBatchSize+1,e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r),t==i.INSERT&&e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id}),Array.isArray(n))throw a(\"operation passed in cannot be an Array\");return e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentBatch.operations.push(n),e.s.currentBatchSizeBytes=e.s.currentBatchSizeBytes+r,e.s.currentIndex=e.s.currentIndex+1,e},y=r.define=new l(\"OrderedBulkOperation\",r,!1);r.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,g(this,i.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var r=!e.updateOne&&!e.replaceOne,o={q:e[t].filter,u:e[t].update||e[t].replacement,multi:r};return o.upsert=!!e[t].upsert,g(this,i.UPDATE,o)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,g(this,i.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,o={q:e[t].filter,limit:s};return g(this,i.REMOVE,o)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new p),g(this,i.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new p),g(this,i.INSERT,e.insertOne.document);if(!e.insertMany)throw a(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new p),g(this,i.INSERT,e.insertMany[c])},r.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new p),g(this,i.INSERT,e)},r.prototype.find=function(e){if(!e)throw a(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new v(this)},Object.defineProperty(r.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}});var b=function(e,t){if(0==e.s.batches.length)return s(t,null,new u(e.s.bulkResult));var n=e.s.batches.shift(),r=function(r,i){if(r&&r.driver||r&&r.message)return s(t,r);r&&(r.ok=0);var o=h(!0,n,e.s.bulkResult,r,i);return null!=o?s(t,null,new u(e.s.bulkResult)):e.s.bulkResult.writeErrors.length>0?s(t,a(e.s.bulkResult.writeErrors[0]),new u(e.s.bulkResult)):void b(e,t)},o={ordered:!0};null!=e.s.writeConcern&&(o.writeConcern=e.s.writeConcern),e.operationId&&(r.operationId=e.operationId),e.s.options.serializeFunctions&&(o.serializeFunctions=!0),e.s.options.ignoreUndefined&&(o.ignoreUndefined=!0),1==e.s.bypassDocumentValidation&&(o.bypassDocumentValidation=!0);try{n.batchType==i.INSERT?e.s.topology.insert(e.s.collection.namespace,n.operations,o,r):n.batchType==i.UPDATE?e.s.topology.update(e.s.collection.namespace,n.operations,o,r):n.batchType==i.REMOVE&&e.s.topology.remove(e.s.collection.namespace,n.operations,o,r)}catch(c){c.ok=0,s(t,null,h(!1,n,e.s.bulkResult,c,null))}};r.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw new a(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentBatch&&this.s.batches.push(this.s.currentBatch),0==this.s.batches.length)throw a(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?b(this,t):new this.s.promiseLibrary(function(e,t){b(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var x=function(e,t,n){return new r(e,t,n)};x.OrderedBulkOperation=r,t.exports=x,t.exports.Bulk=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],221:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./common\"),i=e(\"../utils\"),o=e(\"../utils\").toError,a=(e(\"util\").format,e(\"../utils\").handleCallback),s=i.shallowClone,c=(r.WriteError,r.BulkWriteResult),u=(r.LegacyOp,e(\"mongodb-core\").BSON.ObjectID),p=e(\"mongodb-core\").BSON,l=e(\"../metadata\"),f=r.Batch,d=r.mergeBatchResults,h=new p.BSONPure,m=function(e){this.s=e.s};m.prototype.update=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!0,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.updateOne=function(e){var t=\"boolean\"==typeof this.s.currentOp.upsert?this.s.currentOp.upsert:!1,n={q:this.s.currentOp.selector,u:e,multi:!1,upsert:t};return this.s.currentOp=null,v(this,r.UPDATE,n)},m.prototype.replaceOne=function(e){this.updateOne(e)},m.prototype.upsert=function(){return this.s.currentOp.upsert=!0,this},m.prototype.removeOne=function(){var e={q:this.s.currentOp.selector,limit:1};return this.s.currentOp=null,v(this,r.REMOVE,e)},m.prototype.remove=function(){var e={q:this.s.currentOp.selector,limit:0};return this.s.currentOp=null,v(this,r.REMOVE,e)};var v=function(e,t,n){var i=h.calculateObjectSize(n,!1);if(i>=e.s.maxBatchSizeBytes)throw o(\"document is larger than the maximum size \"+e.s.maxBatchSizeBytes);if(e.s.currentBatch=null,t==r.INSERT?e.s.currentBatch=e.s.currentInsertBatch:t==r.UPDATE?e.s.currentBatch=e.s.currentUpdateBatch:t==r.REMOVE&&(e.s.currentBatch=e.s.currentRemoveBatch),null==e.s.currentBatch&&(e.s.currentBatch=new f(t,e.s.currentIndex)),(e.s.currentBatch.size+1>=e.s.maxWriteBatchSize||e.s.currentBatch.sizeBytes+i>=e.s.maxBatchSizeBytes||e.s.currentBatch.batchType!=t)&&(e.s.batches.push(e.s.currentBatch),e.s.currentBatch=new f(t,e.s.currentIndex)),Array.isArray(n))throw o(\"operation passed in cannot be an Array\");return e.s.currentBatch.operations.push(n),e.s.currentBatch.originalIndexes.push(e.s.currentIndex),e.s.currentIndex=e.s.currentIndex+1,t==r.INSERT?(e.s.currentInsertBatch=e.s.currentBatch,e.s.bulkResult.insertedIds.push({index:e.s.currentIndex,_id:n._id})):t==r.UPDATE?e.s.currentUpdateBatch=e.s.currentBatch:t==r.REMOVE&&(e.s.currentRemoveBatch=e.s.currentBatch),e.s.currentBatch.size=e.s.currentBatch.size+1,e.s.currentBatch.sizeBytes=e.s.currentBatch.sizeBytes+i,e},g=function(t,i,o){o=null==o?{}:o;var a=i.collectionName,c=!1,u=null,p=t.bson,l=t.isMasterDoc&&t.isMasterDoc.maxBsonObjectSize?t.isMasterDoc.maxBsonObjectSize:16793600,f=t.isMasterDoc&&t.isMasterDoc.maxWriteBatchSize?t.isMasterDoc.maxWriteBatchSize:1e3,d=r.writeConcern(s(o),i,o),h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise);var m={ok:1,writeErrors:[],writeConcernErrors:[],insertedIds:[],nInserted:0,nUpserted:0,nMatched:0,nModified:0,nRemoved:0,upserted:[]};this.s={bulkResult:m,currentInsertBatch:null,currentUpdateBatch:null,currentRemoveBatch:null,currentBatch:null,currentIndex:0,batches:[],writeConcern:d,maxBatchSizeBytes:l,maxWriteBatchSize:f,namespace:a,bson:p,topology:t,options:o,currentOp:u,executed:c,collection:i,promiseLibrary:h,bypassDocumentValidation:\"boolean\"==typeof o.bypassDocumentValidation?o.bypassDocumentValidation:!1}},y=g.define=new l(\"UnorderedBulkOperation\",g,!1);g.prototype.insert=function(e){return this.s.collection.s.db.options.forceServerObjectId!==!0&&null==e._id&&(e._id=new u),v(this,r.INSERT,e)},g.prototype.find=function(e){if(!e)throw o(\"Bulk find operation must specify a selector\");return this.s.currentOp={selector:e},new m(this)},Object.defineProperty(g.prototype,\"length\",{enumerable:!0,get:function(){return this.s.currentIndex}}),g.prototype.raw=function(e){var t=Object.keys(e)[0],n=\"boolean\"==typeof this.s.options.forceServerObjectId?this.s.options.forceServerObjectId:this.s.collection.s.db.options.forceServerObjectId;if(e.updateOne&&e.updateOne.q||e.updateMany&&e.updateMany.q||e.replaceOne&&e.replaceOne.q)return e[t].multi=!e.updateOne&&!e.replaceOne,v(this,r.UPDATE,e[t]);if(e.updateOne||e.updateMany||e.replaceOne){var i=!e.updateOne&&!e.replaceOne,a={q:e[t].filter,u:e[t].update||e[t].replacement,multi:i};return e[t].upsert&&(a.upsert=!0),v(this,r.UPDATE,a)}if(e.removeOne||e.removeMany||e.deleteOne&&e.deleteOne.q||e.deleteMany&&e.deleteMany.q)return e[t].limit=e.removeOne?1:0,v(this,r.REMOVE,e[t]);if(e.deleteOne||e.deleteMany){var s=e.deleteOne?1:0,a={q:e[t].filter,limit:s};return v(this,r.REMOVE,a)}if(e.insertOne&&null==e.insertOne.document)return n!==!0&&null==e.insertOne._id&&(e.insertOne._id=new u),v(this,r.INSERT,e.insertOne);if(e.insertOne&&e.insertOne.document)return n!==!0&&null==e.insertOne.document._id&&(e.insertOne.document._id=new u),v(this,r.INSERT,e.insertOne.document);if(!e.insertMany)throw o(\"bulkWrite only supports insertOne, insertMany, updateOne, updateMany, removeOne, removeMany, deleteOne, deleteMany\");for(var c=0;c<e.insertMany.length;c++)n!==!0&&null==e.insertMany[c]._id&&(e.insertMany[c]._id=new u),v(this,r.INSERT,e.insertMany[c])};var b=function(e,t,n){var i={ordered:!1};null!=e.s.writeConcern&&(i.writeConcern=e.s.writeConcern);var o=function(r,i){return r&&r.driver||r&&r.message?a(n,r):(r&&(r.ok=0),void a(n,null,d(!1,t,e.s.bulkResult,r,i)))};e.operationId&&(o.operationId=e.operationId),e.s.options.serializeFunctions&&(i.serializeFunctions=!0),1==e.s.bypassDocumentValidation&&(i.bypassDocumentValidation=!0);try{t.batchType==r.INSERT?e.s.topology.insert(e.s.collection.namespace,t.operations,i,o):t.batchType==r.UPDATE?e.s.topology.update(e.s.collection.namespace,t.operations,i,o):t.batchType==r.REMOVE&&e.s.topology.remove(e.s.collection.namespace,t.operations,i,o)}catch(s){s.ok=0,a(n,null,d(!1,t,e.s.bulkResult,s,null))}},x=function(e,t){for(var n=e.s.batches.length,r=0;r<e.s.batches.length;r++)b(e,e.s.batches[r],function(r,i){if(r&&(s=r),n-=1,0==n){if(s)return a(t,s);var s=e.s.bulkResult.writeErrors.length>0?o(e.s.bulkResult.writeErrors[0]):null;a(t,s,new c(e.s.bulkResult))}})};g.prototype.execute=function(e,t){var n=this;if(this.s.executed)throw o(\"batch cannot be re-executed\");if(\"function\"==typeof e?t=e:this.s.writeConcern=e,this.s.currentInsertBatch&&this.s.batches.push(this.s.currentInsertBatch),this.s.currentUpdateBatch&&this.s.batches.push(this.s.currentUpdateBatch),this.s.currentRemoveBatch&&this.s.batches.push(this.s.currentRemoveBatch),0==this.s.batches.length)throw o(\"Invalid Operation, No operations in bulk\");return\"function\"==typeof t?x(this,t):new this.s.promiseLibrary(function(e,t){x(n,function(n,r){return n?t(n):void e(r)})})},y.classMethod(\"execute\",{callback:!0,promise:!1});var w=function(e,t,n){return new g(e,t,n)};w.UnorderedBulkOperation=g,t.exports=w,t.exports.Bulk=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../metadata\":231,\"../utils\":239,\"./common\":219,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],222:[function(e,t,n){(function(n,r){\"use strict\";function i(e){if(!d(e))return e;for(var t,n=Object.keys(e),r=n.length,o={};r--;)t=n[r],\"function\"==typeof e[t]?o[t]=new c(String(e[t])):o[t]=i(e[t]);return o}var o=e(\"./utils\").checkCollectionName,a=e(\"mongodb-core\").BSON.ObjectID,s=e(\"mongodb-core\").BSON.Long,c=e(\"mongodb-core\").BSON.Code,u=e(\"util\").format,p=e(\"./aggregation_cursor\"),l=e(\"mongodb-core\").MongoError,f=e(\"./utils\").shallowClone,d=e(\"./utils\").isObject,h=e(\"./utils\").toError,m=e(\"./utils\").normalizeHintField,v=e(\"./utils\").handleCallback,g=e(\"./utils\").decorateCommand,y=e(\"./utils\").formattedOrderClause,b=e(\"./read_preference\"),x=e(\"mongodb-core\").ReadPreference,w=e(\"./command_cursor\"),_=e(\"./metadata\"),k=e(\"./cursor\"),j=e(\"./bulk/unordered\"),S=e(\"./bulk/ordered\"),E=function(t,n,i,s,c,p){o(s);var l=null,f=null==p||null==p.slaveOk?t.slaveOk:p.slaveOk,d=null==p||null==p.serializeFunctions?t.serializeFunctions:p.serializeFunctions,h=null==p||null==p.raw?t.raw:p.raw,m=null,v=null,g=u(\"%s.%s\",i,s),y=p.promiseLibrary;y||(y=\"function\"==typeof r.Promise?r.Promise:e(\"es6-promise\").Promise),p&&p.readPreference?m=p.readPreference:t.options.readPreference&&(m=t.options.readPreference),c=null==c?a:c,this.s={pkFactory:c,db:t,topology:n,dbName:i,options:p,namespace:g,readPreference:m,raw:h,slaveOk:f,serializeFunctions:d,internalHint:l,collectionHint:v,name:s,promiseLibrary:y,readConcern:p.readConcern}},O=E.define=new _(\"Collection\",E,!1);Object.defineProperty(E.prototype,\"collectionName\",{enumerable:!0,get:function(){return this.s.name}}),Object.defineProperty(E.prototype,\"namespace\",{enumerable:!0,get:function(){return this.s.namespace}}),Object.defineProperty(E.prototype,\"readConcern\",{enumerable:!0,get:function(){return this.s.readConcern||{level:\"local\"}}}),Object.defineProperty(E.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}}),Object.defineProperty(E.prototype,\"hint\",{enumerable:!0,get:function(){return this.s.collectionHint},set:function(e){this.s.collectionHint=m(e)}}),E.prototype.find=function(){var e,t=Array.prototype.slice.call(arguments,0),r=\"function\"==typeof t[t.length-1],i=\"function\"==typeof t[0],o=r?t.pop():i?t.shift():null,s=t.length,c=s>=1?t[0]:{},u=s>=2?t[1]:void 0;if(1===s&&i&&(c={},e=t[0]),2!==s||void 0===u||Array.isArray(u)){if(2===s&&Array.isArray(u)&&!Array.isArray(u[0])){for(var p={},f=0;f<u.length;f++)p[u[f]]=1;u=p}}else{for(var d=Object.keys(u),h=!1,f=0;f<d.length;f++)if(null!=me[d[f]]){h=!0;break}h?(e=u,u=void 0):e={}}3===s&&(e=t[2]),c=null==c?{}:c;var g=c;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query selector raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}var g=u;if(n.isBuffer(g)){var b=g[0]|g[1]<<8|g[2]<<16|g[3]<<24;if(b!=g.length){var x=new Error(\"query fields raw message size does not match message header size [\"+g.length+\"] != [\"+b+\"]\");throw x.name=\"MongoError\",x}}if((c instanceof a||null!=c&&\"ObjectID\"==c._bsontype)&&(c={_id:c}),e&&e.fields&&!n.isBuffer(e.fields))if(u={},Array.isArray(e.fields))if(e.fields.length)for(var f=0,w=e.fields.length;w>f;f++)u[e.fields[f]]=1;else u._id=1;else u=e.fields;e||(e={});var _={};for(var k in e)_[k]=e[k];if(_.skip=s>3?t[2]:e.skip?e.skip:0,_.limit=s>3?t[3]:e.limit?e.limit:0,_.raw=null!=e.raw&&\"boolean\"==typeof e.raw?e.raw:this.s.raw,_.hint=null!=e.hint?m(e.hint):this.s.collectionHint,_.timeout=5==s?t[4]:\"undefined\"==typeof e.timeout?void 0:e.timeout,_.slaveOk=null!=e.slaveOk?e.slaveOk:this.s.db.slaveOk,_=he(this,_,this.s.db,this),null==_.readPreference||\"primary\"==_.readPreference&&\"primary\"==_.readPreference.mode||(_.slaveOk=!0),null!=c&&\"object\"!=typeof c)throw l.create({message:\"query selector must be an object\",driver:!0});var j={find:this.s.namespace,limit:_.limit,skip:_.skip,query:c};\"boolean\"==typeof _.awaitdata&&(_.awaitData=_.awaitdata),\"boolean\"==typeof _.timeout&&(_.noCursorTimeout=_.timeout);for(var S in _)null!=_[S]&&(j[S]=_[S]);var E=function(e){var t={};if(Array.isArray(e))for(var n=0;n<e.length;n++)Array.isArray(e[n])?t[e[n][0]]=e[n][1]:t[e[n][0]]=1;else t=e;return t};return u&&(j.fields=E(u)),_.db=this.s.db,_.promiseLibrary=this.s.promiseLibrary,null==_.raw&&this.s.raw&&(_.raw=this.s.raw),j.sort&&(j.sort=y(j.sort)),this.s.readConcern&&(j.readConcern=this.s.readConcern),\"function\"==typeof o?v(o,null,this.s.topology.cursor(this.s.namespace,j,_)):this.s.topology.cursor(this.s.namespace,j,_)},O.classMethod(\"find\",{callback:!1,promise:!1,returns:[k]}),E.prototype.insertOne=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},Array.isArray(e)&&\"function\"==typeof n?n(l.create({message:\"doc parameter must be an object\",driver:!0})):Array.isArray(e)?new this.s.promiseLibrary(function(e,t){t(l.create({message:\"doc parameter must be an object\",driver:!0}))}):(this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var A=function(e,t,n,r){I(e,[t],n,function(e,n){if(null!=r){if(e&&r)return r(e);if(null==n)return r(null,{result:{ok:1}});n.insertedCount=n.result.n,n.insertedId=t._id,r&&r(null,n)}})},C=function(e,t){\nfor(var n=t.getInsertedIds(),r=Object.keys(n),i=new Array(r.length),o=0;o<r.length;o++)n[r[o]]._id&&(i[n[r[o]].index]=n[r[o]]._id);var a={result:{ok:1,n:t.insertedCount},ops:e,insertedCount:t.insertedCount,insertedIds:i};return t.getLastOp()&&(a.result.opTime=t.getLastOp()),a};O.classMethod(\"insertOne\",{callback:!0,promise:!0}),E.prototype.insertMany=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e)&&\"function\"==typeof n)return n(l.create({message:\"docs parameter must be an array of documents\",driver:!0}));if(!Array.isArray(e))return new this.s.promiseLibrary(function(e,t){t(l.create({message:\"docs parameter must be an array of documents\",driver:!0}))});\"boolean\"!=typeof t.checkKeys&&(t.checkKeys=!0),t.serializeFunctions=t.serializeFunctions||r.s.serializeFunctions;var i=\"boolean\"==typeof t.forceServerObjectId?t.forceServerObjectId:r.s.db.options.forceServerObjectId;if(i!==!0)for(var o=0;o<e.length;o++)null==e[o]._id&&(e[o]._id=r.s.pkFactory.createPk());var a=[{insertMany:e}];return\"function\"==typeof n?T(r,a,t,function(t,r){return t?n(t,r):void n(null,C(e,r))}):new this.s.promiseLibrary(function(n,i){T(r,a,t,function(t,r){return t?i(t):void n(C(e,r))})})},O.classMethod(\"insertMany\",{callback:!0,promise:!0}),E.prototype.bulkWrite=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!0},!Array.isArray(e))throw l.create({message:\"operations must be an array of documents\",driver:!0});return\"function\"==typeof n?T(r,e,t,n):new this.s.promiseLibrary(function(n,i){T(r,e,t,function(e,t){return e&&null==t?i(e):void n(t)})})};var T=function(e,t,n,r){e.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=e.s.options.ignoreUndefined);var i=1==n.ordered||null==n.ordered?e.initializeOrderedBulkOp(n):e.initializeUnorderedBulkOp(n);try{for(var o=0;o<t.length;o++)i.raw(t[o])}catch(a){return r(a,null)}var s=de(f(n),e.s.db,e,n),c=s.writeConcern?s.writeConcern:{};i.execute(c,function(e,t){if(!t&&e)return r(e,null);if(t&&t.hasWriteErrors()&&1==t.getWriteErrorCount())return r(h(t.getWriteErrorAt(0)),t);t.insertedCount=t.nInserted,t.matchedCount=t.nMatched,t.modifiedCount=t.nModified||0,t.deletedCount=t.nRemoved,t.upsertedCount=t.getUpsertedIds().length,t.upsertedIds={},t.insertedIds={},t.n=t.insertedCount;for(var n=t.getInsertedIds(),i=0;i<n.length;i++)t.insertedIds[n[i].index]=n[i]._id;for(var o=t.getUpsertedIds(),i=0;i<o.length;i++)t.upsertedIds[o[i].index]=o[i]._id;if(t.hasWriteErrors()){var a=t.getWriteErrors();return r(h({message:\"write operation failed\",code:a[0].code,writeErrors:a}),t)}return t.getWriteConcernError()?r(h(t.getWriteConcernError()),t):void r(null,t)})},I=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={}),n=n||{},t=Array.isArray(t)?t:[t];var i=de(f(n),e.s.db,e,n);\"boolean\"!=typeof i.checkKeys&&(i.checkKeys=!0),1==i.keepGoing&&(i.ordered=!1),i.serializeFunctions=n.serializeFunctions||e.s.serializeFunctions;var o=\"boolean\"==typeof n.forceServerObjectId?n.forceServerObjectId:e.s.db.options.forceServerObjectId;if(o!==!0)for(var a=0;a<t.length;a++)null==t[a]._id&&(t[a]._id=e.s.pkFactory.createPk());e.s.topology.insert(e.s.namespace,t,i,function(e,n){if(null!=r){if(e)return v(r,e);if(null==n)return v(r,null,null);if(n.result.code)return v(r,h(n.result));if(n.result.writeErrors)return v(r,h(n.result.writeErrors[0]));n.ops=t,v(r,null,n)}})};O.classMethod(\"bulkWrite\",{callback:!0,promise:!0}),E.prototype.insert=function(e,t,n){return\"function\"==typeof t&&(n=t,t={}),t=t||{ordered:!1},e=Array.isArray(e)?e:[e],1==t.keepGoing&&(t.ordered=!1),this.insertMany(e,t,n)},O.classMethod(\"insert\",{callback:!0,promise:!0}),E.prototype.updateOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?P(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){P(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var P=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateOne\",{callback:!0,promise:!0}),E.prototype.replaceOne=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){r.multi=!1,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,t.ops=[n],i&&i(null,t)}})};O.classMethod(\"replaceOne\",{callback:!0,promise:!0}),E.prototype.updateMany=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=f(n),this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){r.multi=!0,z(e,t,n,r,function(e,t){if(null!=i){if(e&&i)return i(e);if(null==t)return i(null,{result:{ok:1}});t.matchedCount=t.result.n,t.modifiedCount=null!=t.result.nModified?t.result.nModified:t.result.n,t.upsertedId=Array.isArray(t.result.upserted)&&t.result.upserted.length>0?t.result.upserted[0]:null,t.upsertedCount=Array.isArray(t.result.upserted)&&t.result.upserted.length?t.result.upserted.length:0,i&&i(null,t)}})};O.classMethod(\"updateMany\",{callback:!0,promise:!0});var z=function(e,t,n,r,i){if(\"function\"==typeof r&&(i=r,r=null),null==r&&(r={}),\"function\"!=typeof i&&(i=null),null==t||\"object\"!=typeof t)return i(h(\"selector must be a valid JavaScript object\"));if(null==n||\"object\"!=typeof n)return i(h(\"document must be a valid JavaScript object\"));var o=de(f(r),e.s.db,e,r);o.serializeFunctions=r.serializeFunctions||e.s.serializeFunctions;var a={q:t,u:n};a.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,a.multi=\"boolean\"==typeof r.multi?r.multi:!1,e.s.topology.update(e.s.namespace,[a],o,function(e,t){return null!=i?e?v(i,e,null):null==t?v(i,null,null):t.result.code?v(i,h(t.result)):t.result.writeErrors?v(i,h(t.result.writeErrors[0])):void v(i,null,t):void 0})};E.prototype.update=function(e,t,n,r){var i=this;return this.s.options.ignoreUndefined&&(n=f(n),n.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof r?z(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){z(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},O.classMethod(\"update\",{callback:!0,promise:!0}),E.prototype.deleteOne=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?B(r,e,t,n):new this.s.promiseLibrary(function(n,i){B(r,e,t,function(e,t){return e?i(e):void n(t)})})};var B=function(e,t,n,r){n.single=!0,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})};O.classMethod(\"deleteOne\",{callback:!0,promise:!0}),E.prototype.removeOne=E.prototype.deleteOne,O.classMethod(\"removeOne\",{callback:!0,promise:!0}),E.prototype.deleteMany=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={});var t=f(t);return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?N(r,e,t,n):new this.s.promiseLibrary(function(n,i){N(r,e,t,function(e,t){return e?i(e):void n(t)})})};var N=function(e,t,n,r){n.single=!1,D(e,t,n,function(e,t){if(null!=r){if(e&&r)return r(e);if(null==t)return r(null,{result:{ok:1}});t.deletedCount=t.result.n,r&&r(null,t)}})},D=function(e,t,n,r){\"function\"==typeof n?(r=n,n={}):\"function\"==typeof t&&(r=t,n={},t={}),n=n||{};var i=de(f(n),e.s.db,e,n);null==t&&(t={});var o={q:t,limit:0};n.single&&(o.limit=1),e.s.topology.remove(e.s.namespace,[o],i,function(e,t){return null!=r?e?v(r,e,null):null==t?v(r,null,null):t.result.code?v(r,h(t.result)):t.result.writeErrors?v(r,h(t.result.writeErrors[0])):void v(r,null,t):void 0})};O.classMethod(\"deleteMany\",{callback:!0,promise:!0}),E.prototype.removeMany=E.prototype.deleteMany,O.classMethod(\"removeMany\",{callback:!0,promise:!0}),E.prototype.remove=function(e,t,n){var r=this;return this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})},O.classMethod(\"remove\",{callback:!0,promise:!0}),E.prototype.save=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},this.s.options.ignoreUndefined&&(t=f(t),t.ignoreUndefined=this.s.options.ignoreUndefined),\"function\"==typeof n?q(r,e,t,n):new this.s.promiseLibrary(function(n,i){q(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r){var i=de(f(n),e.s.db,e,n);return null!=t._id?(i.upsert=!0,z(e,{_id:t._id},t,i,r)):void I(e,[t],n,function(e,n){return null!=r?null==t?v(r,null,null):e?v(r,e,null):void v(r,null,n):void 0})};O.classMethod(\"save\",{callback:!0,promise:!0}),E.prototype.findOne=function(){var e=this,t=Array.prototype.slice.call(arguments,0),n=t.pop();return\"function\"!=typeof n&&t.push(n),\"function\"==typeof n?R(e,t,n):new this.s.promiseLibrary(function(n,r){R(e,t,function(e,t){return e?r(e):void n(t)})})};var R=function(e,t,n){var r=e.find.apply(e,t).limit(-1).batchSize(1);r.next(function(e,t){return null!=e?v(n,h(e),null):void v(n,null,t)})};O.classMethod(\"findOne\",{callback:!0,promise:!0}),E.prototype.rename=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?L(r,e,t,n):new this.s.promiseLibrary(function(n,i){L(r,e,t,function(e,t){return e?i(e):void n(t)})})};var L=function(e,t,n,r){o(t);var i=u(\"%s.%s\",e.s.dbName,e.s.name),a=u(\"%s.%s\",e.s.dbName,t),s=\"boolean\"==typeof n.dropTarget?n.dropTarget:!1,c={renameCollection:i,to:a,dropTarget:s};e.s.db.admin().command(c,n,function(n,i){if(n)return v(r,n,null);if(i.errmsg)return v(r,h(i),null);try{return v(r,null,new E(e.s.db,e.s.topology,e.s.dbName,t,e.s.pkFactory,e.s.options))}catch(n){return v(r,h(n),null)}})};O.classMethod(\"rename\",{callback:!0,promise:!0}),E.prototype.drop=function(e){var t=this;return\"function\"==typeof e?t.s.db.dropCollection(t.s.name,e):new this.s.promiseLibrary(function(e,n){t.s.db.dropCollection(t.s.name,function(t,r){return t?n(t):void e(r)})})},O.classMethod(\"drop\",{callback:!0,promise:!0}),E.prototype.options=function(e){var t=this;return\"function\"==typeof e?$(t,e):new this.s.promiseLibrary(function(e,n){$(t,function(t,r){return t?n(t):void e(r)})})};var $=function(e,t){e.s.db.listCollections({name:e.s.name}).toArray(function(n,r){return n?v(t,n):0==r.length?v(t,l.create({message:u(\"collection %s not found\",e.s.namespace),driver:!0})):void v(t,n,r[0].options||null)})};O.classMethod(\"options\",{callback:!0,promise:!0}),E.prototype.isCapped=function(e){var t=this;return\"function\"==typeof e?U(t,e):new this.s.promiseLibrary(function(e,n){U(t,function(t,r){return t?n(t):void e(r)})})};var U=function(e,t){e.options(function(e,n){return e?v(t,e):void v(t,null,n&&n.capped)})};O.classMethod(\"isCapped\",{callback:!0,promise:!0}),E.prototype.createIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t=\"function\"==typeof n?t:n,t=null==t?{}:t,\"function\"==typeof n?H(r,e,t,n):new this.s.promiseLibrary(function(n,i){H(r,e,t,function(e,t){return e?i(e):void n(t)})})};var H=function(e,t,n,r){e.s.db.createIndex(e.s.name,t,n,r)};O.classMethod(\"createIndex\",{callback:!0,promise:!0}),E.prototype.createIndexes=function(e,t){var n=this;return\"function\"==typeof t?V(n,e,t):new this.s.promiseLibrary(function(t,r){V(n,e,function(e,n){return e?r(e):void t(n)})})};var V=function(e,t,n){for(var r=0;r<t.length;r++)if(null==t[r].name){var i=[];for(var o in t[r].key)i.push(u(\"%s_%s\",o,t[r].key[o]));t[r].name=i.join(\"_\")}e.s.db.command({createIndexes:e.s.name,indexes:t},{readPreference:b.PRIMARY},n)};O.classMethod(\"createIndexes\",{callback:!0,promise:!0}),E.prototype.dropIndex=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},t.readPreference=b.PRIMARY,\"function\"==typeof n?W(r,e,t,n):new this.s.promiseLibrary(function(n,i){W(r,e,t,function(e,t){return e?i(e):void n(t)})})};var W=function(e,t,n,r){var i={deleteIndexes:e.s.name,index:t};e.s.db.command(i,n,function(e,t){return\"function\"==typeof r?e?v(r,e,null):void v(r,null,t):void 0})};O.classMethod(\"dropIndex\",{callback:!0,promise:!0}),E.prototype.dropIndexes=function(e){var t=this;return\"function\"==typeof e?Y(t,e):new this.s.promiseLibrary(function(e,n){Y(t,function(t,r){return t?n(t):void e(r)})})};var Y=function(e,t){e.dropIndex(\"*\",function(e,n){return e?v(t,e,!1):void v(t,null,!0)})};O.classMethod(\"dropIndexes\",{callback:!0,promise:!0}),E.prototype.dropAllIndexes=E.prototype.dropIndexes,O.classMethod(\"dropAllIndexes\",{callback:!0,promise:!0}),E.prototype.reIndex=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={}),e=e||{},\"function\"==typeof t?K(n,e,t):new this.s.promiseLibrary(function(t,r){K(n,e,function(e,n){return e?r(e):void t(n)})})};var K=function(e,t,n){var r={reIndex:e.s.name};e.s.db.command(r,t,function(e,t){return null!=n?e?v(n,e,null):void v(n,null,!!t.ok):void 0})};O.classMethod(\"reIndex\",{callback:!0,promise:!0}),E.prototype.listIndexes=function(e){if(e=e||{},e=f(e),e.cursorFactory=w,e.promiseLibrary=this.s.promiseLibrary,!this.s.topology.capabilities())throw new l(\"cannot connect to server\");if(this.s.topology.capabilities().hasListIndexesCommand){var t=e.batchSize?{batchSize:e.batchSize}:{},n={listIndexes:this.s.name,cursor:t},t=this.s.topology.cursor(u(\"%s.$cmd\",this.s.dbName),n,e);return e.readPreference&&t.setReadPreference(e.readPreference),t}var r=u(\"%s.system.indexes\",this.s.dbName),t=this.s.topology.cursor(r,{find:r,query:{ns:this.s.namespace}},e);return e.readPreference&&t.setReadPreference(e.readPreference),e.batchSize&&(t=t.batchSize(e.batchSize)),t},O.classMethod(\"listIndexes\",{callback:!1,promise:!1,returns:[w]}),E.prototype.ensureIndex=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?G(r,e,t,n):new this.s.promiseLibrary(function(n,i){G(r,e,t,function(e,t){return e?i(e):void n(t)})})};var G=function(e,t,n,r){e.s.db.ensureIndex(e.s.name,t,n,r)};O.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),E.prototype.indexExists=function(e,t){var n=this;return\"function\"==typeof t?J(n,e,t):new this.s.promiseLibrary(function(t,r){J(n,e,function(e,n){return e?r(e):void t(n)})})};var J=function(e,t,n){e.indexInformation(function(e,r){if(null!=e)return v(n,e,null);if(!Array.isArray(t))return v(n,null,null!=r[t]);for(var i=0;i<t.length;i++)if(null==r[t[i]])return v(n,null,!1);return v(n,null,!0)})};O.classMethod(\"indexExists\",{callback:!0,promise:!0}),E.prototype.indexInformation=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?Z(n,e,t):new this.s.promiseLibrary(function(t,r){Z(n,e,function(e,n){return e?r(e):void t(n)})})};var Z=function(e,t,n){e.s.db.indexInformation(e.s.name,t,n)};O.classMethod(\"indexInformation\",{callback:!0,promise:!0}),E.prototype.count=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n);var o=i.length?i.shift()||{}:{},a=i.length?i.shift()||{}:{};return\"function\"==typeof n?Q(r,o,a,n):(e=e||{},t=t||{},new this.s.promiseLibrary(function(n,i){Q(r,e,t,function(e,t){return e?i(e):void n(t)})}))};var Q=function(e,t,n,r){var i=n.skip,o=n.limit,a=n.hint,s=(n.maxTimeMS,{count:e.s.name,query:t});\"number\"==typeof i&&(s.skip=i),\"number\"==typeof o&&(s.limit=o),a&&(n.hint=a),n=f(n),n=he(e,n,e.s.db,e),e.s.readConcern&&(s.readConcern=e.s.readConcern),e.s.db.command(s,n,function(e,t){return e?v(r,e):void v(r,null,t.n)})};O.classMethod(\"count\",{callback:!0,promise:!0}),E.prototype.distinct=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);r=o.pop(),\"function\"!=typeof r&&o.push(r);var a=o.length?o.shift()||{}:{},s=o.length?o.shift()||{}:{};return\"function\"==typeof r?X(i,e,a,s,r):(t=t||{},n=n||{},new this.s.promiseLibrary(function(r,o){X(i,e,t,n,function(e,t){return e?o(e):void r(t)})}))};var X=function(e,t,n,r,i){var o=(r.maxTimeMS,{distinct:e.s.name,key:t,query:n});r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):void v(i,null,t.values)})};O.classMethod(\"distinct\",{callback:!0,promise:!0}),E.prototype.indexes=function(e){var t=this;return\"function\"==typeof e?ee(t,e):new this.s.promiseLibrary(function(e,n){ee(t,function(t,r){return t?n(t):void e(r)})})};var ee=function(e,t){e.s.db.indexInformation(e.s.name,{full:!0},t)};O.classMethod(\"indexes\",{callback:!0,promise:!0}),E.prototype.stats=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{},\"function\"==typeof t?te(n,e,t):new this.s.promiseLibrary(function(t,r){te(n,e,function(e,n){return e?r(e):void t(n)})})};var te=function(e,t,n){var r={collStats:e.s.name};null!=t.scale&&(r.scale=t.scale),t=f(t),t=he(e,t,e.s.db,e),e.s.db.command(r,t,n)};O.classMethod(\"stats\",{callback:!0,promise:!0}),E.prototype.findOneAndDelete=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");return\"function\"==typeof n?ne(r,e,t,n):new this.s.promiseLibrary(function(n,i){t=t||{},ne(r,e,t,function(e,t){return e?i(e):void n(t)})})};var ne=function(e,t,n,r){var i=f(n);i.fields=n.projection,i.remove=!0,e.findAndModify(t,n.sort,null,i,r)};O.classMethod(\"findOneAndDelete\",{callback:!0,promise:!0}),E.prototype.findOneAndReplace=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"replacement parameter must be an object\");return\"function\"==typeof r?re(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},re(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var re=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndReplace\",{callback:!0,promise:!0}),E.prototype.findOneAndUpdate=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),n=n||{},null==e||\"object\"!=typeof e)throw h(\"filter parameter must be an object\");if(null==t||\"object\"!=typeof t)throw h(\"update parameter must be an object\");return\"function\"==typeof r?ie(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){n=n||{},ie(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ie=function(e,t,n,r,i){var o=f(r);o.fields=r.projection,o.update=!0,o[\"new\"]=\"boolean\"==typeof r.returnOriginal?!r.returnOriginal:!1,o.upsert=\"boolean\"==typeof r.upsert?r.upsert:!1,e.findAndModify(t,r.sort,n,o,i)};O.classMethod(\"findOneAndUpdate\",{callback:!0,promise:!0}),E.prototype.findAndModify=function(e,t,n,r,i){var o=this,a=Array.prototype.slice.call(arguments,1);i=a.pop(),\"function\"!=typeof i&&a.push(i),t=a.length?a.shift()||[]:[],n=a.length?a.shift():null,r=a.length?a.shift()||{}:{};var r=f(r);return r.readPreference=b.PRIMARY,\"function\"==typeof i?oe(o,e,t,n,r,i):new this.s.promiseLibrary(function(i,a){r=r||{},oe(o,e,t,n,r,function(e,t){return e?a(e):void i(t)})})};var oe=function(e,t,n,r,i,o){var a={findandmodify:e.s.name,query:t};n=y(n),n&&(a.sort=n),a[\"new\"]=!!i[\"new\"],a.remove=!!i.remove,a.upsert=!!i.upsert,i.fields&&(a.fields=i.fields),r&&!i.remove&&(a.update=r),null!=i.serializeFunctions?i.serializeFunctions=i.serializeFunctions:i.serializeFunctions=e.s.serializeFunctions,i.checkKeys=!1;var s=de(i,e.s.db,e,i);s.writeConcern&&(a.writeConcern=s.writeConcern),\"boolean\"==typeof s.bypassDocumentValidation&&(a.bypassDocumentValidation=s.bypassDocumentValidation),e.s.db.command(a,i,function(e,t){return e?v(o,e,null):v(o,null,t)})};O.classMethod(\"findAndModify\",{callback:!0,promise:!0}),E.prototype.findAndRemove=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift()||[]:[],n=o.length?o.shift()||{}:{},\"function\"==typeof r?ae(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ae(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ae=function(e,t,n,r,i){r.remove=!0,e.findAndModify(t,n,null,r,i)};O.classMethod(\"findAndRemove\",{callback:!0,promise:!0}),E.prototype.aggregate=function(e,t,n){if(Array.isArray(e))\"function\"==typeof t&&(n=t,t={}),null==t&&null==n&&(t={});else{var r=Array.prototype.slice.call(arguments,0);n=r.pop();var i=r[r.length-1];t=i&&(i.readPreference||i.explain||i.cursor||i.out||i.maxTimeMS||i.allowDiskUse)?r.pop():{},e=r}var o=!1;\"string\"==typeof t.out?(e.push({$out:t.out}),o=!0):e.length>0&&e[e.length-1].$out&&(o=!0);var a={aggregate:this.s.name,pipeline:e};if(\"boolean\"==typeof t.bypassDocumentValidation&&(a.bypassDocumentValidation=t.bypassDocumentValidation),!o&&this.s.readConcern&&(a.readConcern=this.s.readConcern),t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),t=f(t),t=he(this,t,this.s.db,this),t.explain&&(a.explain=t.explain),null!=t.cursor&&\"object\"!=typeof t.cursor)throw h(\"cursor options must be an object\");if(t.promiseLibrary=this.s.promiseLibrary,t.cursorFactory=p,\"function\"!=typeof n){if(!this.s.topology.capabilities())throw new l(\"cannot connect to server\");return this.s.topology.capabilities().hasAggregationCursor&&(t.cursor=t.cursor||{batchSize:1e3},a.cursor=t.cursor),\"boolean\"==typeof t.allowDiskUse&&(a.allowDiskUse=t.allowDiskUse),\"number\"==typeof t.maxTimeMS&&(a.maxTimeMS=t.maxTimeMS),this.s.topology.cursor(this.s.namespace,a,t)}return t.cursor?this.s.topology.cursor(this.s.namespace,a,t):void this.s.db.command(a,t,function(e,t){e?v(n,e):t.err||t.errmsg?v(n,h(t)):\"object\"==typeof t&&t.serverPipeline?v(n,null,t.serverPipeline):\"object\"==typeof t&&t.stages?v(n,null,t.stages):v(n,null,t.result)})},O.classMethod(\"aggregate\",{callback:!0,promise:!1}),E.prototype.parallelCollectionScan=function(e,t){var n=this;return\"function\"==typeof e&&(t=e,e={numCursors:1}),e.numCursors=e.numCursors||1,e.batchSize=e.batchSize||1e3,e=f(e),e=he(this,e,this.s.db,this),e.promiseLibrary=this.s.promiseLibrary,\"function\"==typeof t?se(n,e,t):new this.s.promiseLibrary(function(t,r){se(n,e,function(e,n){return e?r(e):void t(n)})})};var se=function(e,t,n){var r={parallelCollectionScan:e.s.name,numCursors:t.numCursors};e.s.readConcern&&(r.readConcern=e.s.readConcern);var i=t.raw;delete t.raw,e.s.db.command(r,t,function(r,o){if(r)return v(n,r,null);if(null==o)return v(n,new Error(\"no result returned for parallelCollectionScan\"),null);var a=[];i&&(t.raw=i);for(var c=0;c<o.cursors.length;c++){var u=o.cursors[c].cursor.id,p=\"number\"==typeof u?s.fromNumber(u):u;({batchSize:t.batchSize,cursorId:p,items:o.cursors[c].cursor.firstBatch});a.push(e.s.topology.cursor(e.s.namespace,p,t))}v(n,null,a)})};O.classMethod(\"parallelCollectionScan\",{callback:!0,promise:!0}),E.prototype.geoNear=function(e,t,n,r){var i=this,o=\"object\"==typeof e&&e,a=Array.prototype.slice.call(arguments,o?1:2);return r=a.pop(),\"function\"!=typeof r&&a.push(r),n=a.length?a.shift()||{}:{},\"function\"==typeof r?ce(i,e,t,o,n,r):new this.s.promiseLibrary(function(r,a){ce(i,e,t,o,n,function(e,t){return e?a(e):void r(t)})})};var ce=function(e,t,n,r,i,o){var a={geoNear:e.s.name,near:r||[t,n]};i=f(i),i=he(e,i,e.s.db,e);var s={readPreference:!0,geoNear:!0,near:!0};a=g(a,i,s),e.s.readConcern&&(a.readConcern=e.s.readConcern),e.s.db.command(a,i,function(e,t){return e?v(o,e):t.err||t.errmsg?v(o,h(t)):void v(o,null,t)})};O.classMethod(\"geoNear\",{callback:!0,promise:!0}),E.prototype.geoHaystackSearch=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?ue(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){ue(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var ue=function(e,t,n,r,i){var o={geoSearch:e.s.name,near:[t,n]};o=g(o,r,{readPreference:!0}),r=f(r),r=he(e,r,e.s.db,e),e.s.readConcern&&(o.readConcern=e.s.readConcern),e.s.db.command(o,r,function(e,t){return e?v(i,e):((t.err||t.errmsg)&&v(i,utils.toError(t)),void v(i,null,t))})};O.classMethod(\"geoHaystackSearch\",{callback:!0,promise:!0});var pe='function () {\\nvar c = db[ns].find(condition);\\nvar map = new Map();\\nvar reduce_function = reduce;\\n\\nwhile (c.hasNext()) {\\nvar obj = c.next();\\nvar key = {};\\n\\nfor (var i = 0, len = keys.length; i < len; ++i) {\\nvar k = keys[i];\\nkey[k] = obj[k];\\n}\\n\\nvar aggObj = map.get(key);\\n\\nif (aggObj == null) {\\nvar newObj = Object.extend({}, key);\\naggObj = Object.extend(newObj, initial);\\nmap.put(key, aggObj);\\n}\\n\\nreduce_function(obj, aggObj);\\n}\\n\\nreturn { \"result\": map.values() };\\n}';E.prototype.group=function(e,t,n,r,i,o,a,s){var u=this,p=Array.prototype.slice.call(arguments,3);return s=p.pop(),\"function\"!=typeof s&&p.push(s),r=p.length?p.shift():null,i=p.length?p.shift():null,o=p.length?p.shift():null,a=p.length?p.shift()||{}:{},\"function\"!=typeof i&&(o=i,i=null),Array.isArray(e)||!(e instanceof Object)||\"function\"==typeof e||e instanceof c||(e=Object.keys(e)),\"function\"==typeof r&&(r=r.toString()),\"function\"==typeof i&&(i=i.toString()),o=null==o?!0:o,\"function\"==typeof s?le(u,e,t,n,r,i,o,a,s):new this.s.promiseLibrary(function(s,c){le(u,e,t,n,r,i,o,a,function(e,t){return e?c(e):void s(t)})})};var le=function(e,t,n,r,i,o,a,s,u){if(a){var p=i instanceof c?i:new c(i),l={group:{ns:e.s.name,$reduce:p,cond:n,initial:r,out:\"inline\"}};if(null!=o&&(l.group.finalize=o),\"function\"==typeof t||t instanceof c)l.group.$keyf=t instanceof c?t:new c(t);else{var d={};t.forEach(function(e){d[e]=1}),l.group.key=d}s=f(s),s=he(e,s,e.s.db,e),e.s.readConcern&&(l.readConcern=e.s.readConcern),e.s.db.command(l,s,function(e,t){return e?v(u,e,null):void v(u,null,t.retval)})}else{var h=null!=i&&i instanceof c?i.scope:{};h.ns=e.s.name,h.keys=t,h.condition=n,h.initial=r;var m=pe.replace(/ reduce;/,i.toString()+\";\");e.s.db.eval(new c(m,h),function(e,t){return e?v(u,e,null):void v(u,null,t.result||t)})}};O.classMethod(\"group\",{callback:!0,promise:!0}),E.prototype.mapReduce=function(e,t,n,r){var i=this;if(\"function\"==typeof n&&(r=n,n={}),null==n.out)throw new Error(\"the out option parameter must be defined, see mongodb docs for possible values\");return\"function\"==typeof e&&(e=e.toString()),\"function\"==typeof t&&(t=t.toString()),\"function\"==typeof n.finalize&&(n.finalize=n.finalize.toString()),\"function\"==typeof r?fe(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){fe(i,e,t,n,function(e,t,n){return e?o(e):n?void r({results:t,stats:n}):r(t)})})};var fe=function(e,t,n,r,o){var a={mapreduce:e.s.name,map:t,reduce:n};for(var s in r)\"scope\"==s?a[s]=i(r[s]):a[s]=r[s];r=f(r),r=he(e,r,e.s.db,e),0!=r.readPreference&&\"primary\"!=r.readPreference&&r.out&&1!=r.out.inline&&\"inline\"!=r.out?r.readPreference=\"primary\":e.s.readConcern&&(a.readConcern=e.s.readConcern),\"boolean\"==typeof r.bypassDocumentValidation&&(a.bypassDocumentValidation=r.bypassDocumentValidation),e.s.db.command(a,{readPreference:r.readPreference},function(t,n){if(t)return v(o,t);if(1!=n.ok||n.err||n.errmsg)return v(o,h(n));var i={};if(n.timeMillis&&(i.processtime=n.timeMillis),n.counts&&(i.counts=n.counts),n.timing&&(i.timing=n.timing),n.results)return null!=r.verbose&&r.verbose?v(o,null,n.results,i):v(o,null,n.results);var a=null;if(null!=n.result&&\"object\"==typeof n.result){var s=n.result;a=e.s.db.db(s.db).collection(s.collection)}else a=e.s.db.collection(n.result);return null!=r.verbose&&r.verbose?void v(o,t,a,i):v(o,t,a)})};O.classMethod(\"mapReduce\",{callback:!0,promise:!0}),E.prototype.initializeUnorderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,j(this.s.topology,this,e)},O.classMethod(\"initializeUnorderedBulkOp\",{callback:!1,promise:!1,returns:[S.UnorderedBulkOperation]}),E.prototype.initializeOrderedBulkOp=function(e){return e=e||{},e.promiseLibrary=this.s.promiseLibrary,S(this.s.topology,this,e)},O.classMethod(\"initializeOrderedBulkOp\",{callback:!1,promise:!1,returns:[S.OrderedBulkOperation]});var de=function(e,t,n,r){if(null!=r.w||null!=r.j||null!=r.fsync){var i={};null!=r.w&&(i.w=r.w),null!=r.wtimeout&&(i.wtimeout=r.wtimeout),null!=r.j&&(i.j=r.j),null!=r.fsync&&(i.fsync=r.fsync),e.writeConcern=i}else null!=n.writeConcern.w||null!=n.writeConcern.j||null!=n.writeConcern.fsync?e.writeConcern=n.writeConcern:null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},he=function(e,t,n,r){var i=null;if(t.readPreference?i=t.readPreference:e.s.readPreference?i=e.s.readPreference:n.readPreference&&(i=n.readPreference),i instanceof b)t.readPreference=new x(i.mode,i.tags);else if(\"string\"==typeof i)t.readPreference=new x(i);else if(i&&!(i instanceof b)&&\"object\"==typeof i){var o=i.mode||i.preference;o&&\"string\"==typeof o&&(t.readPreference=new x(o,i.tags))}return t},me={limit:1,sort:1,fields:1,skip:1,hint:1,explain:1,snapshot:1,timeout:1,tailable:1,tailableRetryInterval:1,numberOfRetries:1,awaitdata:1,awaitData:1,exhaust:1,batchSize:1,returnKey:1,maxScan:1,min:1,max:1,showDiskLoc:1,comment:1,raw:1,readPreference:1,partial:1,read:1,dbName:1,oplogReplay:1,connection:1,maxTimeMS:1,transforms:1};t.exports=E}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")},\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregation_cursor\":217,\"./bulk/ordered\":220,\"./bulk/unordered\":221,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,util:void 0}],223:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=(e(\"util\").format,e(\"./utils\").toError,e(\"./utils\").getSingleProperty,e(\"./utils\").formattedOrderClause,e(\"./utils\").handleCallback,e(\"mongodb-core\").Logger,e(\"events\").EventEmitter,e(\"./read_preference\")),o=e(\"mongodb-core\").MongoError,a=e(\"stream\").Readable||e(\"readable-stream\").Readable,s=e(\"./metadata\"),c=e(\"./cursor\"),u=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),p=function(t,r,i,o,s,u){c.apply(this,Array.prototype.slice.call(arguments,0));var l=p.INIT,f={},d=null,h=o.promiseLibrary;h||(h=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.call(this,{objectMode:!0}),this.s={maxTimeMS:d,state:l,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:s,topologyOptions:u,promiseLibrary:h}};r(p,a);for(var l=[\"_next\",\"next\",\"each\",\"forEach\",\"toArray\",\"rewind\",\"bufferedCount\",\"readBufferedDocuments\",\"close\",\"isClosed\",\"kill\",\"_find\",\"_getmore\",\"_killcursor\",\"isDead\",\"explain\",\"isNotified\",\"isKilled\"],f=0;f<l.length;f++)p.prototype[l[f]]=c.prototype[l[f]];var d=p.define=new s(\"CommandCursor\",p,!0);p.prototype.setReadPreference=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({\nmessage:\"Cursor is closed\",driver:!0});if(this.s.state!=p.INIT)throw o.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof i?this.s.options.readPreference=new u(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new u(e):e instanceof u&&(this.s.options.readPreference=e),this},d.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[p]}),p.prototype.batchSize=function(e){if(this.s.state==p.CLOSED||this.isDead())throw o.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw o.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.cursor&&(this.s.cmd.cursor.batchSize=e),this.setCursorBatchSize(e),this},d.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[p]}),p.prototype.maxTimeMS=function(e){return this.s.topology.lastIsMaster().minWireVersion>2&&(this.s.cmd.maxTimeMS=e),this},d.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[p]}),p.prototype.get=p.prototype.toArray,d.classMethod(\"get\",{callback:!0,promise:!1}),d.classMethod(\"toArray\",{callback:!0,promise:!0}),d.classMethod(\"each\",{callback:!0,promise:!1}),d.classMethod(\"forEach\",{callback:!0,promise:!1}),d.classMethod(\"next\",{callback:!0,promise:!0}),d.classMethod(\"close\",{callback:!0,promise:!0}),d.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),d.classMethod(\"rewind\",{callback:!1,promise:!1}),d.classMethod(\"bufferedCount\",{callback:!1,promise:!1,returns:[Number]}),d.classMethod(\"readBufferedDocuments\",{callback:!1,promise:!1,returns:[Array]}),p.INIT=0,p.OPEN=1,p.CLOSED=2,t.exports=p}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./cursor\":224,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],224:[function(e,t,n){(function(n){\"use strict\";var r=e(\"util\").inherits,i=e(\"util\").format,o=e(\"./utils\").formattedOrderClause,a=e(\"./utils\").handleCallback,s=e(\"./read_preference\"),c=e(\"mongodb-core\").MongoError,u=e(\"stream\").Readable||e(\"readable-stream\").Readable,p=e(\"./metadata\"),l=e(\"mongodb-core\").Cursor,f=e(\"mongodb-core\").BSON.Map,d=(e(\"mongodb-core\").Query,e(\"mongodb-core\").ReadPreference),h=[\"tailable\",\"oplogReplay\",\"noCursorTimeout\",\"awaitData\",\"exhaust\",\"partial\"],m=[\"numberOfRetries\",\"tailableRetryInterval\"],v=Array.prototype.push,g=function(t,r,i,o,a,s){l.apply(this,Array.prototype.slice.call(arguments,0));var c=this,p=g.INIT,f={},d=o.numberOfRetries||5,h=o.tailableRetryInterval||500,m=d,v=o.promiseLibrary;v||(v=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),u.call(this,{objectMode:!0}),this.s={numberOfRetries:d,tailableRetryInterval:h,currentNumberOfRetries:m,state:p,streamOptions:f,bson:t,ns:r,cmd:i,options:o,topology:a,topologyOptions:s,promiseLibrary:v,currentDoc:null},this.timeout=1==c.s.options.noCursorTimeout,this.sortValue=c.s.cmd.sort};r(g,u),l.prototype._next=l.prototype.next;for(var y in l.prototype)g.prototype[y]=l.prototype[y];var b=g.define=new p(\"Cursor\",g,!0);g.prototype.hasNext=function(e){var t=this;return\"function\"==typeof e?t.s.currentDoc?e(null,!0):x(t,function(n,r){return r?(t.s.currentDoc=r,void e(null,!0)):e(null,!1)}):new this.s.promiseLibrary(function(e,n){t.s.currentDoc?e(!0):x(t,function(r,i){return t.s.state==g.CLOSED||t.isDead()?e(!1):r?n(r):i?(t.s.currentDoc=i,void e(!0)):e(!1)})})},b.classMethod(\"hasNext\",{callback:!0,promise:!0}),g.prototype.next=function(e){var t=this;if(\"function\"==typeof e){if(t.s.currentDoc){var n=t.s.currentDoc;return t.s.currentDoc=null,e(null,n)}return x(t,e)}return new this.s.promiseLibrary(function(e,n){if(t.s.currentDoc){var r=t.s.currentDoc;return t.s.currentDoc=null,e(r)}x(t,function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.filter=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.query=e,this},b.classMethod(\"filter\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxScan=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxScan=e,this},b.classMethod(\"maxScan\",{callback:!1,promise:!1,returns:[g]}),g.prototype.hint=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.hint=e,this},b.classMethod(\"hint\",{callback:!1,promise:!1,returns:[g]}),g.prototype.min=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.min=e,this},b.classMethod(\"min\",{callback:!1,promise:!1,returns:[g]}),g.prototype.max=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.max=e,this},b.classMethod(\"max\",{callback:!1,promise:!1,returns:[g]}),g.prototype.returnKey=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.returnKey=e,this},b.classMethod(\"returnKey\",{callback:!1,promise:!1,returns:[g]}),g.prototype.showRecordId=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.showDiskLoc=e,this},b.classMethod(\"showRecordId\",{callback:!1,promise:!1,returns:[g]}),g.prototype.snapshot=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.snapshot=e,this},b.classMethod(\"snapshot\",{callback:!1,promise:!1,returns:[g]}),g.prototype.setCursorOption=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==m.indexOf(e))throw c.create({message:i(\"option %s not a supported option %s\",e,m),driver:!0});return this.s[e]=t,\"numberOfRetries\"==e&&(this.s.currentNumberOfRetries=t),this},b.classMethod(\"setCursorOption\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addCursorFlag=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(-1==h.indexOf(e))throw c.create({message:i(\"flag %s not a supported flag %s\",e,h),driver:!0});if(\"boolean\"!=typeof t)throw c.create({message:i(\"flag %s must be a boolean value\",e),driver:!0});return this.s.cmd[e]=t,this},b.classMethod(\"addCursorFlag\",{callback:!1,promise:!1,returns:[g]}),g.prototype.addQueryModifier=function(e,t){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"$\"!=e[0])throw c.create({message:i(\"%s is not a valid query modifier\"),driver:!0});var n=e.substr(1);return this.s.cmd[n]=t,\"orderby\"==n&&(this.s.cmd.sort=this.s.cmd[n]),this},b.classMethod(\"addQueryModifier\",{callback:!1,promise:!1,returns:[g]}),g.prototype.comment=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.comment=e,this},b.classMethod(\"comment\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxAwaitTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxAwaitTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxAwaitTimeMS=e,this},b.classMethod(\"maxAwaitTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMS=function(e){if(\"number\"!=typeof e)throw c.create({message:\"maxTimeMS must be a number\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.maxTimeMS=e,this},b.classMethod(\"maxTimeMS\",{callback:!1,promise:!1,returns:[g]}),g.prototype.maxTimeMs=g.prototype.maxTimeMS,b.classMethod(\"maxTimeMs\",{callback:!1,promise:!1,returns:[g]}),g.prototype.project=function(e){if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});return this.s.cmd.fields=e,this},b.classMethod(\"project\",{callback:!1,promise:!1,returns:[g]}),g.prototype.sort=function(e,t){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support sorting\",driver:!0});if(this.s.state==g.CLOSED||this.s.state==g.OPEN||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});var n=e;return Array.isArray(n)&&Array.isArray(n[0])&&(n=new f(n.map(function(e){var t=[e[0],null];if(\"asc\"==e[1])t[1]=1;else if(\"desc\"==e[1])t[1]=-1;else{if(1!=e[1]&&-1!=e[1])throw new c(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[1]=e[1]}return t}))),null!=t&&(n=[[e,t]]),this.s.cmd.sort=n,this.sortValue=n,this},b.classMethod(\"sort\",{callback:!1,promise:!1,returns:[g]}),g.prototype.batchSize=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support batchSize\",driver:!0});if(this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"batchSize requires an integer\",driver:!0});return this.s.cmd.batchSize=e,this.setCursorBatchSize(e),this},b.classMethod(\"batchSize\",{callback:!1,promise:!1,returns:[g]}),g.prototype.limit=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support limit\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"limit requires an integer\",driver:!0});return this.s.cmd.limit=e,this.setCursorLimit(e),this},b.classMethod(\"limit\",{callback:!1,promise:!1,returns:[g]}),g.prototype.skip=function(e){if(this.s.options.tailable)throw c.create({message:\"Tailable cursor doesn't support skip\",driver:!0});if(this.s.state==g.OPEN||this.s.state==g.CLOSED||this.isDead())throw c.create({message:\"Cursor is closed\",driver:!0});if(\"number\"!=typeof e)throw c.create({message:\"skip requires an integer\",driver:!0});return this.s.cmd.skip=e,this.setCursorSkip(e),this},b.classMethod(\"skip\",{callback:!1,promise:!1,returns:[g]}),g.prototype.nextObject=g.prototype.next;var x=function(e,t){if(e.s.state==g.CLOSED||e.isDead&&e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));if(e.s.state==g.INIT&&e.s.cmd.sort)try{e.s.cmd.sort=o(e.s.cmd.sort)}catch(n){return a(t,n)}e._next(function(n,r){return e.s.state=g.OPEN,n?a(t,n):void a(t,null,r)})};b.classMethod(\"nextObject\",{callback:!0,promise:!0});var w=function(e,t){return 0!=e.bufferedCount()?(e._next(t),w):void 0};g.prototype.next=g.prototype.nextObject,b.classMethod(\"next\",{callback:!0,promise:!0}),g.prototype.each=function(e){this.rewind(),this.s.state=g.INIT,_(this,e)},b.classMethod(\"each\",{callback:!0,promise:!1});var _=function(e,t){if(!t)throw c.create({message:\"callback is mandatory\",driver:!0});if(!e.isNotified()){if(e.s.state==g.CLOSED||e.isDead())return a(t,c.create({message:\"Cursor is closed\",driver:!0}));e.s.state==g.INIT&&(e.s.state=g.OPEN);var n=null;if(e.bufferedCount()>0){for(;n=w(e,t);)n(e,t);_(e,t)}else e.next(function(n,r){return n?a(t,n):null==r?(e.s.state=g.CLOSED,a(t,null,null)):void(0!=a(t,null,r)&&_(e,t))})}};g.prototype.forEach=function(e,t){this.each(function(n,r){if(n)return t(n),!1;if(null!=r)return e(r),!0;if(null==r&&t){var i=t;return t=null,i(null),!1}})},b.classMethod(\"forEach\",{callback:!0,promise:!1}),g.prototype.setReadPreference=function(e){if(this.s.state!=g.INIT)throw c.create({message:\"cannot change cursor readPreference after cursor has been accessed\",driver:!0});return e instanceof s?this.s.options.readPreference=new d(e.mode,e.tags):\"string\"==typeof e?this.s.options.readPreference=new d(e):e instanceof d&&(this.s.options.readPreference=e),this},b.classMethod(\"setReadPreference\",{callback:!1,promise:!1,returns:[g]}),g.prototype.toArray=function(e){var t=this;if(t.s.options.tailable)throw c.create({message:\"Tailable cursor cannot be converted to array\",driver:!0});return\"function\"==typeof e?k(t,e):new this.s.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){var n=[];e.rewind(),e.s.state=g.INIT;var r=function(){e._next(function(i,o){if(i)return a(t,i);if(null==o)return e.s.state=g.CLOSED,a(t,null,n);if(n.push(o),e.bufferedCount()>0){var s=e.readBufferedDocuments(e.bufferedCount());e.s.transforms&&\"function\"==typeof e.s.transforms.doc&&(s=s.map(e.s.transforms.doc)),v.apply(n,s)}r()})};r()};b.classMethod(\"toArray\",{callback:!0,promise:!0}),g.prototype.count=function(e,t,n){var r=this;if(null==r.s.cmd.query)throw c.create({message:\"count can only be used with find command\",driver:!0});return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?j(r,e,t,n):new this.s.promiseLibrary(function(n,i){j(r,e,t,function(e,t){return e?i(e):void n(t)})})};var j=function(e,t,n,r){\"function\"==typeof t&&(r=t,t=!0),t&&(\"number\"==typeof e.cursorSkip()&&(n.skip=e.cursorSkip()),\"number\"==typeof e.cursorLimit()&&(n.limit=e.cursorLimit()));var o=e.s.ns.indexOf(\".\"),a={count:e.s.ns.substr(o+1),query:e.s.cmd.query};\"number\"==typeof n.maxTimeMS?a.maxTimeMS=n.maxTimeMS:e.s.cmd&&\"number\"==typeof e.s.cmd.maxTimeMS&&(a.maxTimeMS=e.s.cmd.maxTimeMS),n.skip&&(a.skip=n.skip),n.limit&&(a.limit=n.limit),e.s.options.hint&&(a.hint=e.s.options.hint),e.topology.command(i(\"%s.$cmd\",e.s.ns.substr(0,o)),a,function(e,t){r(e,t?t.result.n:null)})};b.classMethod(\"count\",{callback:!0,promise:!0}),g.prototype.close=function(e){return this.s.state=g.CLOSED,this.kill(),this.emit(\"close\"),\"function\"==typeof e?a(e,null,this):new this.s.promiseLibrary(function(e,t){e()})},b.classMethod(\"close\",{callback:!0,promise:!0}),g.prototype.map=function(e){return this.cursorState.transforms={doc:e},this},b.classMethod(\"map\",{callback:!1,promise:!1,returns:[g]}),g.prototype.isClosed=function(){return this.isDead()},b.classMethod(\"isClosed\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.destroy=function(e){e&&this.emit(\"error\",e),this.pause(),this.close()},b.classMethod(\"destroy\",{callback:!1,promise:!1}),g.prototype.stream=function(e){return this.s.streamOptions=e||{},this},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[g]}),g.prototype.explain=function(e){var t=this;return this.s.cmd.explain=!0,this.s.cmd.readConcern&&delete this.s.cmd.readConcern,\"function\"==typeof e?this._next(e):new this.s.promiseLibrary(function(e,n){t._next(function(t,r){return t?n(t):void e(r)})})},b.classMethod(\"explain\",{callback:!0,promise:!0}),g.prototype._read=function(e){var t=this;return t.s.state==g.CLOSED||t.isDead()?t.push(null):void t.nextObject(function(e,n){return e?(t.listeners(\"error\")&&t.listeners(\"error\").length>0&&t.emit(\"error\",e),t.isDead()||t.close(),t.emit(\"end\"),t.emit(\"finish\")):\"function\"==typeof t.s.streamOptions.transform&&null!=n?t.push(t.s.streamOptions.transform(n)):t.cursorState.transforms&&\"function\"==typeof t.cursorState.transforms.doc&&null!=n?t.push(t.cursorState.transforms.doc(n)):void t.push(n)})},Object.defineProperty(g.prototype,\"readPreference\",{enumerable:!0,get:function(){return this&&this.s?this.s.options.readPreference:null}}),Object.defineProperty(g.prototype,\"namespace\",{enumerable:!0,get:function(){if(!this||!this.s)return null;var e=this.s.ns||\"\",t=e.indexOf(\".\");return 0>t?{database:this.s.ns,collection:\"\"}:{database:e.substr(0,t),collection:e.substr(t+1)}}}),g.INIT=0,g.OPEN=1,g.CLOSED=2,g.GET_MORE=3,t.exports=g}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,\"es6-promise\":95,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,util:void 0}],225:[function(e,t,n){(function(n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"./utils\").getSingleProperty,a=e(\"./utils\").shallowClone,s=e(\"./utils\").parseIndexOptions,c=e(\"./utils\").debugOptions,u=e(\"./command_cursor\"),p=e(\"./utils\").handleCallback,l=e(\"./utils\").toError,f=e(\"./read_preference\"),d=e(\"util\").format,h=e(\"./admin\"),m=e(\"mongodb-core\").BSON.Code,v=e(\"mongodb-core\").ReadPreference,g=e(\"mongodb-core\").MongoError,y=e(\"mongodb-core\").ObjectID,b=e(\"./metadata\"),x=e(\"mongodb-core\").Logger,w=e(\"./collection\"),_=e(\"crypto\"),k=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"numberOfRetries\",\"retryMiliSeconds\",\"readPreference\",\"pkFactory\"],j=function(t,i,a){if(a=a||{},!(this instanceof j))return new j(t,i,a);r.call(this);var s=this,c=a.promiseLibrary;c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),a.promiseLibrary=c,this.s={databaseName:t,dbCache:{},children:[],topology:i,options:a,logger:x(\"Db\",a),bson:i?i.bson:null,authSource:a.authSource,readPreference:a.readPreference,bufferMaxEntries:\"number\"==typeof a.bufferMaxEntries?a.bufferMaxEntries:-1,parentDb:a.parentDb||null,pkFactory:a.pkFactory||y,nativeParser:a.nativeParser||a.native_parser,promiseLibrary:c,noListener:\"boolean\"==typeof a.noListener?a.noListener:!1,readConcern:a.readConcern},U(s.s.databaseName),\"boolean\"==typeof s.s.nativeParser&&(s.s.nativeParser?i.setBSONParserType(\"c++\"):i.setBSONParserType(\"js\")),o(this,\"serverConfig\",s.s.topology),o(this,\"bufferMaxEntries\",s.s.bufferMaxEntries),o(this,\"databaseName\",s.s.databaseName),a.parentDb||this.s.noListener||(i.on(\"error\",V(s,\"error\",s)),i.on(\"timeout\",V(s,\"timeout\",s)),i.on(\"close\",V(s,\"close\",s)),i.on(\"parseError\",V(s,\"parseError\",s)),i.once(\"open\",V(s,\"open\",s)),i.once(\"fullsetup\",V(s,\"fullsetup\",s)),i.once(\"all\",V(s,\"all\",s)),i.on(\"reconnect\",V(s,\"reconnect\",s)))};i(j,r);var S=j.define=new b(\"Db\",j,!1);Object.defineProperty(j.prototype,\"topology\",{enumerable:!0,get:function(){return this.s.topology}}),Object.defineProperty(j.prototype,\"options\",{enumerable:!0,get:function(){return this.s.options}}),Object.defineProperty(j.prototype,\"native_parser\",{enumerable:!0,get:function(){return\"c++\"==this.s.topology.parserType()}}),Object.defineProperty(j.prototype,\"slaveOk\",{enumerable:!0,get:function(){return null!=this.s.options.readPreference&&(\"primary\"!=this.s.options.readPreference||\"primary\"!=this.s.options.readPreference.mode)}}),Object.defineProperty(j.prototype,\"writeConcern\",{enumerable:!0,get:function(){var e={};return null!=this.s.options.w&&(e.w=this.s.options.w),null!=this.s.options.j&&(e.j=this.s.options.j),null!=this.s.options.fsync&&(e.fsync=this.s.options.fsync),null!=this.s.options.wtimeout&&(e.wtimeout=this.s.options.wtimeout),e}});var E=function(e,t){e.s.topology.connect(e,e.s.options,function(n,r){if(null!=t){var i=t;return n?(e.close(),i(n)):void i(null,e)}})};j.prototype.open=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.s.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"open\",{callback:!0,promise:!0});var O=function(e){if(e&&\"string\"==typeof e)return new v(e);if(e instanceof f)return new v(e.mode,e.tags);if(e&&\"object\"==typeof e){var t=e.mode||e.preference;t&&\"string\"==typeof t&&(e=new v(t,e.tags))}return e},A=function(e,t,n,r){if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i=n.dbName||n.authdb||e.s.databaseName;null==n.readPreference&&e.s.readPreference&&(n.readPreference=e.s.readPreference),n.readPreference&&(n.readPreference=O(n.readPreference)),e.s.logger.isDebug()&&e.s.logger.debug(d(\"executing command %s against %s with options [%s]\",JSON.stringify(t),d(\"%s.$cmd\",i),JSON.stringify(c(k,n)))),e.s.topology.command(d(\"%s.$cmd\",i),t,n,function(e,t){return e?p(r,e):n.full?p(r,null,t):void p(r,null,t.result)})};j.prototype.command=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=a(t),\"function\"==typeof n?A(r,e,t,n):new this.s.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"command\",{callback:!0,promise:!0}),j.prototype.close=function(e,t){\"function\"==typeof e&&(t=e,e=!1),this.s.topology.close(e);var n=this;if(this.listeners(\"close\").length>0){if(this.emit(\"close\"),null==this.parentDb)for(var r=0;r<this.s.children.length;r++)this.s.children[r].emit(\"close\");n.removeAllListeners(\"close\")}return this.s.parentDb&&this.s.parentDb.close(),\"function\"==typeof t?process.nextTick(function(){p(t,null)}):new this.s.promiseLibrary(function(e,t){e()})},S.classMethod(\"close\",{callback:!0,promise:!0}),j.prototype.admin=function(){return new h(this,this.s.topology,this.s.promiseLibrary)},S.classMethod(\"admin\",{callback:!1,promise:!1,returns:[h]}),j.prototype.collection=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readConcern=t.readConcern||this.s.readConcern,this.s.options.ignoreUndefined&&(t.ignoreUndefined=this.s.options.ignoreUndefined),null==t||!t.strict)try{var i=new w(this,this.s.topology,this.s.databaseName,e,this.s.pkFactory,t);return n&&n(null,i),i}catch(o){if(n)return n(o);throw o}if(\"function\"!=typeof n)throw l(d(\"A callback is required in strict mode. While getting collection %s.\",e));return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):void this.listCollections({name:e}).toArray(function(i,o){if(null!=i)return p(n,i,null);if(0==o.length)return p(n,l(d(\"Collection %s does not exist. Currently in strict mode.\",e)),null);try{return p(n,null,new w(r,r.s.topology,r.s.databaseName,e,r.s.pkFactory,t))}catch(i){return p(n,i,null)}})},S.classMethod(\"collection\",{callback:!0,promise:!1,returns:[w]});var C=function(e,t,n,r){var i=H(a(n),e,n);return e.serverConfig&&e.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):void e.listCollections({name:t}).toArray(function(o,a){if(null!=o)return p(r,o,null);if(a.length>0&&i.strict)return p(r,g.create({message:d(\"Collection %s already exists. Currently in strict mode.\",t),driver:!0}),null);if(a.length>0)try{return p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))}catch(o){return p(r,o)}var s={create:t};for(var c in n)null!=n[c]&&\"function\"!=typeof n[c]&&(s[c]=n[c]);e.command(s,i,function(i,o){return i?p(r,i):void p(r,null,new w(e,e.s.topology,e.s.databaseName,t,e.s.pkFactory,n))})})};j.prototype.createCollection=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift()||{}:{},t.promiseLibrary=t.promiseLibrary||this.s.promiseLibrary,\"string\"==typeof n&&(e=n),\"function\"==typeof n?C(r,e,t,n):new this.s.promiseLibrary(function(n,i){C(r,e,t,function(e,t){return e?i(e):void n(t)})})},S.classMethod(\"createCollection\",{callback:!0,promise:!0}),j.prototype.stats=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=e||{};var n={dbStats:!0};return null!=e.scale&&(n.scale=e.scale),this.command(n,e,t)},S.classMethod(\"stats\",{callback:!0,promise:!0});var T=function(e){var t=d(\"%s.\",e);return{doc:function(e){var n=e.name.indexOf(t);return e.name&&0==n&&(e.name=e.name.substr(n+t.length)),e}}};j.prototype.listCollections=function(e,t){if(e=e||{},t=t||{},t=a(t),t.promiseLibrary=this.s.promiseLibrary,t.readPreference&&(t.readPreference=O(t.readPreference)),this.serverConfig.capabilities().hasListCollectionsCommand){var n=t.batchSize?{batchSize:t.batchSize}:{},r={listCollections:!0,filter:e,cursor:n};t.cursorFactory=u;var n=this.s.topology.cursor(d(\"%s.$cmd\",this.s.databaseName),r,t);return t.readPreference&&n.setReadPreference(t.readPreference),n}this.serverConfig.capabilities().hasListCollectionsCommand||\"string\"!=typeof e.name||new RegExp(\"^\"+this.databaseName+\"\\\\.\").test(e.name)||(e=a(e),e.name=d(\"%s.%s\",this.s.databaseName,e.name)),null==e&&(e.name=d(\"/%s/\",this.s.databaseName)),e=e.name?{$and:[{name:e.name},{name:/^((?!\\$).)*$/}]}:{name:/^((?!\\$).)*$/};var i={transforms:T(this.s.databaseName)},n=this.collection(j.SYSTEM_NAMESPACE_COLLECTION).find(e,i);return t.readPreference&&n.setReadPreference(t.readPreference),t.batchSize&&(n=n.batchSize(t.batchSize)),n},S.classMethod(\"listCollections\",{callback:!1,promise:!1,returns:[u]});var I=function(e,t,n,r,i){var o=t,a=[];if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));o instanceof m||(o=new m(o)),null==n||Array.isArray(n)||\"function\"==typeof n?null!=n&&Array.isArray(n)&&\"function\"!=typeof n&&(a=n):a=[n];var s={$eval:o,args:a};r.nolock&&(s.nolock=r.nolock),r.readPreference=new v(f.PRIMARY),e.command(s,r,function(e,t){return e?p(i,e,null):t&&1==t.ok?p(i,null,t.retval):t?p(i,g.create({message:d(\"eval failed: %s\",t.errmsg),driver:!0}),null):void p(i,e,t)})};j.prototype.eval=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,1);return r=o.pop(),\"function\"!=typeof r&&o.push(r),t=o.length?o.shift():t,n=o.length?o.shift()||{}:{},\"function\"==typeof r?I(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){I(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"eval\",{callback:!0,promise:!0}),j.prototype.renameCollection=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},n.new_collection=!0,\"function\"==typeof r?this.collection(e).rename(t,n,r):new this.s.promiseLibrary(function(r,o){i.collection(e).rename(t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"renameCollection\",{callback:!0,promise:!0}),j.prototype.dropCollection=function(e,t){var n=this,r={drop:e};return\"function\"==typeof t?this.command(r,this.s.options,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e):r.ok?p(t,null,!0):void p(t,null,!1)}):new this.s.promiseLibrary(function(e,t){n.command(r,n.s.options,function(r,i){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):r?t(r):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropCollection\",{callback:!0,promise:!0}),j.prototype.dropDatabase=function(e){var t=this,n={dropDatabase:1};return\"function\"==typeof e?this.command(n,this.s.options,function(n,r){if(t.serverConfig&&t.serverConfig.isDestroyed())return e(new g(\"topology was destroyed\"));if(null!=e)return n?p(e,n,null):void p(e,null,!!r.ok)}):new this.s.promiseLibrary(function(e,r){t.command(n,t.s.options,function(n,i){return t.serverConfig&&t.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):n?r(n):i.ok?e(!0):void e(!1)})})},S.classMethod(\"dropDatabase\",{callback:!0,promise:!0});var P=function(e,t){e.listCollections().toArray(function(n,r){return null!=n?p(t,n,null):(r=r.filter(function(e){return-1==e.name.indexOf(\"$\")}),void p(t,null,r.map(function(t){return new w(e,e.s.topology,e.s.databaseName,t.name.replace(e.s.databaseName+\".\",\"\"),e.s.pkFactory,e.s.options)})))})};j.prototype.collections=function(e){var t=this;return\"function\"==typeof e?P(t,e):new t.s.promiseLibrary(function(e,n){P(t,function(t,r){return t?n(t):void e(r)})})},S.classMethod(\"collections\",{callback:!0,promise:!0}),j.prototype.executeDbAdminCommand=function(e,t,n){var r=this;if(\"function\"==typeof t&&(n=t,t={}),t=t||{},t.readPreference&&!(t.readPreference instanceof f)&&\"object\"==typeof t.readPreference){var i=t.readPreference.mode||t.readPreference.preference;i&&\"string\"==typeof i&&(t.readPreference=new f(i,readPreference.tags))}return\"function\"==typeof n?r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?n(new g(\"topology was destroyed\")):e?p(n,e):void p(n,null,t.result)}):new r.s.promiseLibrary(function(n,i){r.s.topology.command(\"admin.$cmd\",e,t,function(e,t){return r.serverConfig&&r.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):e?i(e):void n(t.result)})})},S.classMethod(\"executeDbAdminCommand\",{callback:!0,promise:!0}),j.prototype.createIndex=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);return r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},n=\"function\"==typeof r?n:r,n=null==n?{}:n,n=a(n),n.readPreference=f.PRIMARY,\"function\"==typeof r?F(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){F(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var F=function(e,t,n,r,i){var o=H({},e,r);if(o.writeConcern&&\"function\"!=typeof i)throw g.create({message:\"Cannot use a writeConcern without a provided callback\",driver:!0});return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void $(e,t,n,r,function(a,s){if(null==a)return p(i,a,s);if(67===a.code)return p(i,a,s);var c=L(e,t,n,r);o.checkKeys=!1,e.s.topology.insert(d(\"%s.%s\",e.s.databaseName,j.SYSTEM_INDEX_COLLECTION),c,o,function(e,t){return null!=i?e?p(i,e):null==t?p(i,null,null):t.result.writeErrors?p(i,g.create(t.result.writeErrors[0]),null):void p(i,null,c.name):void 0})})};S.classMethod(\"createIndex\",{callback:!0,promise:!0}),j.prototype.ensureIndex=function(e,t,n,r){var i=this;return\"function\"==typeof n&&(r=n,n={}),n=n||{},\"function\"==typeof r?M(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){M(i,e,t,n,function(e,t){return e?o(e):void r(t)})})};var M=function(e,t,n,r,i){var o=H({},e,r),a=L(e,t,n,r),s=a.name;if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));e.indexInformation(t,o,function(o,a){if(null!=o&&26!=o.code)return p(i,o,null);if(null!=a&&a[s]){if(\"function\"==typeof i)return p(i,null,s)}else e.createIndex(t,n,r,i)})};S.classMethod(\"ensureIndex\",{callback:!0,promise:!0}),j.prototype.addChild=function(e){return this.s.parentDb?this.s.parentDb.addChild(e):void this.s.children.push(e)},j.prototype.db=function(e,t){t=t||{};for(var n in this.options)t[n]=this.options[n];if(this.s.dbCache[e]&&t.returnNonCachedInstance!==!0)return this.s.dbCache[e];null!=t.noListener&&0!=t.noListener||(t.parentDb=this),t.promiseLibrary=this.s.promiseLibrary;var r=new j(e,this.s.topology,t);return null!=t.noListener&&0!=t.noListener||this.addChild(r),this.s.dbCache[e]=r,r},S.classMethod(\"db\",{callback:!1,promise:!1,returns:[j]});var z=function(e,t,n,r,i){if(\"string\"==typeof t&&null!=n&&\"object\"==typeof n&&(r=n,n=null),\"function\"==typeof r&&(i=r,r={}),null!=r.digestPassword)throw l(\"The digestPassword option is not supported via add_user. Please use db.command('createUser', ...) instead for this option.\");var o=null!=r.customData?r.customData:{},a=Array.isArray(r.roles)?r.roles:[],s=\"number\"==typeof r.maxTimeMS?r.maxTimeMS:null;0==a.length&&console.log(\"Creating a user without roles is deprecated in MongoDB >= 2.6\");var c={writeCommand:!0};r.dbName&&(c.dbName=r.dbName),null!=s&&(c.maxTimeMS=s),\"admin\"!=e.databaseName.toLowerCase()&&\"admin\"!=r.dbName||Array.isArray(r.roles)?Array.isArray(r.roles)||(a=[\"dbOwner\"]):a=[\"root\"];var u={createUser:t,customData:o,roles:a,digestPassword:!1};u=H(u,e,r);var f=_.createHash(\"md5\");f.update(t+\":mongo:\"+n);var d=f.digest(\"hex\");\"string\"==typeof n&&(u.pwd=d),c.readPreference=v.primary,e.command(u,c,function(e,n){return e&&0==e.ok&&void 0==e.code?p(i,{code:-5e3},null):e?p(i,e,null):void p(i,n.ok?null:l(n),n.ok?[{user:t,pwd:\"\"}]:null)})},B=function(e,t,n,r,i){return e.serverConfig&&e.serverConfig.isDestroyed()?i(new g(\"topology was destroyed\")):void z(e,t,n,r,function(o,s){if(o&&-5e3==o.code){var c=H(a(r),e,r),u=_.createHash(\"md5\");u.update(t+\":mongo:\"+n);var l=u.digest(\"hex\"),f=r.dbName?e.db(r.dbName):e,d=f.collection(j.SYSTEM_USER_COLLECTION);return void d.count({},function(e,n){return null!=e?p(i,e,null):void d.find({user:t},{dbName:r.dbName}).toArray(function(e,r){return null!=e?p(i,e,null):(c.upsert=!0,void d.update({user:t},{$set:{user:t,pwd:l}},c,function(e,r,o){return 0==n&&e?p(i,null,[{user:t,pwd:l}]):e?p(i,e,null):void p(i,null,[{user:t,pwd:l}])}))})})}return o?p(i,o):void p(i,o,s)})};j.prototype.addUser=function(e,t,n,r){var i=this,o=Array.prototype.slice.call(arguments,2);\nreturn r=o.pop(),\"function\"!=typeof r&&o.push(r),n=o.length?o.shift()||{}:{},\"function\"==typeof r?B(i,e,t,n,r):new this.s.promiseLibrary(function(r,o){B(i,e,t,n,function(e,t){return e?o(e):void r(t)})})},S.classMethod(\"addUser\",{callback:!0,promise:!0});var N=function(e,t,n,r){if(\"function\"==typeof n&&(r=n,n={}),e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var i={writeCommand:!0};n.dbName&&(i.dbName=n.dbName);var o=\"number\"==typeof n.maxTimeMS?n.maxTimeMS:null;null!=o&&(i.maxTimeMS=o);var a={dropUser:t};a=H(a,e,n),i.readPreference=v.primary,e.command(a,i,function(e,t){return e&&!e.ok&&void 0==e.code?p(r,{code:-5e3}):e?p(r,e,null):void p(r,null,!!t.ok)})},D=function(e,t,n,r){N(e,t,n,function(i,o){if(i&&-5e3==i.code){var s=H(a(n),e,n),c=n.dbName?e.db(n.dbName):e,u=c.collection(j.SYSTEM_USER_COLLECTION);return void u.findOne({user:t},{},function(e,n){return null==n?p(r,e,!1):void u.remove({user:t},s,function(e,t){p(r,e,!0)})})}return i?p(r,i):void p(r,i,o)})};S.classMethod(\"removeUser\",{callback:!0,promise:!0}),j.prototype.removeUser=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift()||{}:{},\"function\"==typeof n?D(r,e,t,n):new this.s.promiseLibrary(function(n,i){D(r,e,t,function(e,t){return e?i(e):void n(t)})})};var q=function(e,t,n,r,i){if(e.serverConfig&&e.serverConfig.isDestroyed())return i(new g(\"topology was destroyed\"));var o=r.authdb?r.authdb:r.dbName;o=r.authSource?r.authSource:o,o=o?o:e.databaseName;var a=function(t,n){e.listeners(\"authenticated\").length>0&&e.emit(\"authenticated\",t,n),p(i,t,n)},s=r.authMechanism||\"\";s=s.toUpperCase(),\"MONGODB-CR\"==s?e.s.topology.auth(\"mongocr\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"PLAIN\"==s?e.s.topology.auth(\"plain\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"MONGODB-X509\"==s?e.s.topology.auth(\"x509\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"SCRAM-SHA-1\"==s?e.s.topology.auth(\"scram-sha-1\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"GSSAPI\"==s?\"win32\"==process.platform?e.s.topology.auth(\"sspi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):e.s.topology.auth(\"gssapi\",o,t,n,r,function(e,t){return e?p(i,e,!1):void a(null,!0)}):\"DEFAULT\"==s?e.s.topology.auth(\"default\",o,t,n,function(e,t){return e?p(i,e,!1):void a(null,!0)}):p(i,g.create({message:d(\"authentication mechanism %s not supported\",r.authMechanism),driver:!0}))};j.prototype.authenticate=function(e,t,n,r){\"function\"==typeof n&&(r=n,n={});var i=this;if(n=a(n),n.authMechanism){if(\"GSSAPI\"!=n.authMechanism&&\"MONGODB-CR\"!=n.authMechanism&&\"MONGODB-X509\"!=n.authMechanism&&\"SCRAM-SHA-1\"!=n.authMechanism&&\"PLAIN\"!=n.authMechanism)return p(r,g.create({message:\"only GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\",driver:!0}))}else n.authMechanism=\"DEFAULT\";return\"function\"==typeof r?q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?r(e,t):void r(null,t)}):new this.s.promiseLibrary(function(r,o){q(i,e,t,n,function(e,t){return e&&e.message&&-1!=e.message.indexOf(\"saslStart\")&&(e.code=59),e?o(e):void r(t)})})},S.classMethod(\"authenticate\",{callback:!0,promise:!0}),j.prototype.logout=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift()||{}:{};var i={logout:1};return e.onAll=!0,this.s.authSource&&(e.dbName=this.s.authSource),\"function\"==typeof t?this.command(i,e,function(e,r){return n.serverConfig&&n.serverConfig.isDestroyed()?t(new g(\"topology was destroyed\")):e?p(t,e,!1):void p(t,null,!0)}):new this.s.promiseLibrary(function(t,r){n.command(i,e,function(e,i){return n.serverConfig&&n.serverConfig.isDestroyed()?r(new g(\"topology was destroyed\")):e?r(e):void t(!0)})})},S.classMethod(\"logout\",{callback:!0,promise:!0});j.prototype.indexInformation=function(e,t,n){var r=this;return\"function\"==typeof t&&(n=t,t={}),t=t||{},\"function\"==typeof n?R(r,e,t,n):new this.s.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})};var R=function(e,t,n,r){var i=null==n.full?!1:n.full;if(e.serverConfig&&e.serverConfig.isDestroyed())return r(new g(\"topology was destroyed\"));var o=function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];t[r.name]=[];for(var i in r.key)t[r.name].push([i,r.key[i]])}return t};e.collection(t).listIndexes().toArray(function(e,t){return e?r(l(e)):Array.isArray(t)?i?p(r,null,t):void p(r,null,o(t)):p(r,null,[])})};S.classMethod(\"indexInformation\",{callback:!0,promise:!0});var L=function(e,t,n,r){var i=s(n),o=i.fieldHash,a=(i.keys,\"string\"==typeof r.name?r.name:i.name),c={ns:e.databaseName+\".\"+t,key:o,name:a},u=null==r||\"object\"==typeof r?!1:r;r=null==r||\"boolean\"==typeof r?{}:r;var p=Object.keys(c);for(var l in r)-1==p.indexOf(l)&&(c[l]=r[l]);null==c.unique&&(c.unique=u);for(var f=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],d=0;d<f.length;d++)delete c[f[d]];return c},$=function(e,t,n,r,i){var o=s(n),a=\"string\"==typeof r.name?r.name:o.name,c=[{name:a,key:o.fieldHash}],u=Object.keys(c[0]);for(var f in r){-1==u.indexOf(f)&&(c[0][f]=r[f]);for(var d=[\"w\",\"wtimeout\",\"j\",\"fsync\",\"readPreference\"],h=0;h<d.length;h++)delete c[0][d[h]]}var m={createIndexes:t,indexes:c};m=H(m,e,r),e.command(m,r,function(e,t){return e?p(i,e,null):0==t.ok?p(i,l(t),null):void p(i,null,a)})},U=function(e){if(\"string\"!=typeof e)throw g.create({message:\"database name must be a string\",driver:!0});if(0===e.length)throw g.create({message:\"database name cannot be the empty string\",driver:!0});if(\"$external\"!=e)for(var t=[\" \",\".\",\"$\",\"/\",\"\\\\\"],n=0;n<t.length;n++)if(-1!=e.indexOf(t[n]))throw g.create({message:\"database names cannot contain the character '\"+t[n]+\"'\",driver:!0})},H=function(e,t,n){if(null!=n.w||null!=n.j||null!=n.fsync){var r={};n.w&&(r.w=n.w),n.wtimeout&&(r.wtimeout=n.wtimeout),n.j&&(r.j=n.j),n.fsync&&(r.fsync=n.fsync),e.writeConcern=r}else null==t.writeConcern.w&&null==t.writeConcern.j&&null==t.writeConcern.fsync||(e.writeConcern=t.writeConcern);return e},V=function(e,t,n){var r=function(r){if(\"error\"!=t){n.emit(t,r,e);for(var i=0;i<e.s.children.length;i++)e.s.children[i].emit(t,r,e.s.children[i])}};return r};j.prototype.unref=function(e,t){this.s.topology.unref()},j.SYSTEM_NAMESPACE_COLLECTION=\"system.namespaces\",j.SYSTEM_INDEX_COLLECTION=\"system.indexes\",j.SYSTEM_PROFILE_COLLECTION=\"system.profile\",j.SYSTEM_USER_COLLECTION=\"system.users\",j.SYSTEM_COMMAND_COLLECTION=\"$cmd\",j.SYSTEM_JS_COLLECTION=\"system.js\",t.exports=j}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./admin\":216,\"./collection\":222,\"./command_cursor\":223,\"./metadata\":231,\"./read_preference\":234,\"./utils\":239,crypto:void 0,\"es6-promise\":95,events:void 0,\"mongodb-core\":188,util:void 0}],226:[function(e,t,n){function r(e,t,n,r,i){this.s={bytesRead:0,chunks:e,cursor:null,expected:0,files:t,filter:r,init:!1,expectedEnd:0,file:null,options:i,readPreference:n},l.Readable.call(this)}function i(e){if(e.s.init)throw new Error(\"You cannot change options after the stream has enteredflowing mode!\")}function o(e){e.destroyed||e.s.cursor.next(function(t,n){if(!e.destroyed){if(t)return p(e,t);if(!n)return e.push(null),e.s.cursor.close(function(t){return t?p(e,t):void e.emit(\"close\")});var r=e.s.file.length-e.s.bytesRead,i=e.s.expected++,o=Math.min(e.s.file.chunkSize,r);if(n.n>i){var a=\"ChunkIsMissing: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.n<i){var a=\"ExtraChunk: Got unexpected n: \"+n.n+\", expected: \"+i;return p(e,new Error(a))}if(n.data.length()!==o){if(0>=r){var a=\"ExtraChunk: Got unexpected n: \"+n.n;return p(e,new Error(a))}var a=\"ChunkIsWrongSize: Got unexpected length: \"+n.data.length()+\", expected: \"+o;return p(e,new Error(a))}if(e.s.bytesRead+=n.data.length(),0===n.data.buffer.length)return e.push(null);var s=null,c=null,u=n.data.buffer;null!=e.s.bytesToSkip&&(s=e.s.bytesToSkip,e.s.bytesToSkip=0),i===e.s.expectedEnd&&null!=e.s.bytesToTrim&&(c=e.s.bytesToTrim),null==s&&null==c||(u=u.slice(s||0,c||u.length)),e.push(u)}})}function a(e){var t={};e.s.readPreference&&(t.readPreference=e.s.readPreference),e.s.options&&e.s.options.sort&&(t.sort=e.s.options.sort),e.s.options&&e.s.options.skip&&(t.skip=e.s.options.skip),e.s.files.findOne(e.s.filter,t,function(t,n){if(t)return p(e,t);if(!n){var r=e.s.filter._id?e.s.filter._id.toString():e.s.filter.filename,i=\"FileNotFound: file \"+r+\" was not found\",o=new Error(i);return o.code=\"ENOENT\",p(e,o)}return n.length<=0?void e.push(null):e.destroyed?void e.emit(\"close\"):(e.s.cursor=e.s.chunks.find({files_id:n._id}).sort({n:1}),e.s.readPreference&&e.s.cursor.setReadPreference(e.s.readPreference),e.s.expectedEnd=Math.ceil(n.length/n.chunkSize),e.s.file=n,e.s.bytesToSkip=c(e,n,e.s.cursor,e.s.options),e.s.bytesToTrim=u(e,n,e.s.cursor,e.s.options),void e.emit(\"file\",n))})}function s(e,t){return e.s.file?t():(e.s.init||(a(e),e.s.init=!0),void e.once(\"file\",function(){t()}))}function c(e,t,n,r){if(r&&null!=r.start){if(r.start>t.length)throw new Error(\"Stream start (\"+r.start+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream start (\"+r.start+\") must not be negative\");if(null!=r.end&&r.end<r.start)throw new Error(\"Stream start (\"+r.start+\") must not be greater than stream end (\"+r.end+\")\");return n.skip(Math.floor(r.start/t.chunkSize)),e.s.bytesRead=Math.floor(r.start/t.chunkSize)*t.chunkSize,e.s.expected=Math.floor(r.start/t.chunkSize),r.start-e.s.bytesRead}}function u(e,t,n,r){if(r&&null!=r.end){if(r.end>t.length)throw new Error(\"Stream end (\"+r.end+\") must not be more than the length of the file (\"+t.length+\")\");if(r.start<0)throw new Error(\"Stream end (\"+r.end+\") must not be negative\");var i=null!=r.start?Math.floor(r.start/t.chunkSize):0;return n.limit(Math.ceil(r.end/t.chunkSize)-i),e.s.expectedEnd=Math.ceil(r.end/t.chunkSize),Math.ceil(r.end/t.chunkSize)*t.chunkSize-r.end}}function p(e,t){e.emit(\"error\",t)}var l=(e(\"../utils\").shallowClone,e(\"stream\")),f=e(\"util\");t.exports=r,f.inherits(r,l.Readable),r.prototype._read=function(){var e=this;this.destroyed||s(e,function(){o(e)})},r.prototype.start=function(e){return i(this),this.s.options.start=e,this},r.prototype.end=function(e){return i(this),this.s.options.end=e,this},r.prototype.abort=function(e){var t=this;this.push(null),this.destroyed=!0,this.s.cursor?this.s.cursor.close(function(n){t.emit(\"close\"),e&&e(n)}):(this.s.init||t.emit(\"close\"),e&&e())}},{\"../utils\":239,stream:void 0,util:void 0}],227:[function(e,t,n){(function(n){function r(t,r){if(s.apply(this),this.setMaxListeners(0),r&&\"object\"==typeof r){r=p(r);for(var i=Object.keys(d),o=0;o<i.length;++o)r[i[o]]||(r[i[o]]=d[i[o]])}else r=d;this.s={db:t,options:r,_chunksCollection:t.collection(r.bucketName+\".chunks\"),_filesCollection:t.collection(r.bucketName+\".files\"),checkedIndexes:!1,calledOpenUploadStream:!1,promiseLibrary:t.s.promiseLibrary||(\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise)}}function i(e,t,n){e.s._filesCollection.deleteOne({_id:t},function(r,i){return r?n(r):void e.s._chunksCollection.deleteMany({files_id:t},function(e){if(e)return n(e);if(!i.result.n){var r=\"FileNotFound: no file with id \"+t+\" found\";return n(new Error(r))}n()})})}function o(e,t,n,r){var i={_id:t},o={$set:{filename:n}};e.s._filesCollection.updateOne(i,o,function(e,n){return e?r(e):n.result.n?void r():r(l(\"File with id \"+t+\" not found\"))})}function a(e,t){e.s._filesCollection.drop(function(n){return n?t(n):void e.s._chunksCollection.drop(function(e){return e?t(e):t()})})}var s=e(\"events\").EventEmitter,c=e(\"./download\"),u=e(\"./upload\"),p=e(\"../utils\").shallowClone,l=e(\"../utils\").toError,f=e(\"util\"),d={bucketName:\"fs\",chunkSizeBytes:261120};t.exports=r,f.inherits(r,s),r.prototype.openUploadStream=function(e,t){return t=t?p(t):{},t.chunkSizeBytes||(t.chunkSizeBytes=this.s.options.chunkSizeBytes),new u(this,e,t)},r.prototype.openDownloadStream=function(e,t){var n={_id:e},t={start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,n,t)},r.prototype[\"delete\"]=function(e,t){if(\"function\"==typeof t)return i(this,e,t);var n=this;return new this.s.promiseLibrary(function(t,r){i(n,e,function(e,n){e?r(e):t(n)})})},r.prototype.find=function(e,t){e=e||{},t=t||{};var n=this.s._filesCollection.find(e);return null!=t.batchSize&&n.batchSize(t.batchSize),null!=t.limit&&n.limit(t.limit),null!=t.maxTimeMS&&n.maxTimeMS(t.maxTimeMS),null!=t.noCursorTimeout&&n.addCursorFlag(\"noCursorTimeout\",t.noCursorTimeout),null!=t.skip&&n.skip(t.skip),null!=t.sort&&n.sort(t.sort),n},r.prototype.openDownloadStreamByName=function(e,t){var n={uploadDate:-1},r=null;t&&null!=t.revision&&(t.revision>=0?(n={uploadDate:1},r=t.revision):r=-t.revision-1);var i={filename:e},t={sort:n,skip:r,start:t&&t.start,end:t&&t.end};return new c(this.s._chunksCollection,this.s._filesCollection,this.s.options.readPreference,i,t)},r.prototype.rename=function(e,t,n){if(\"function\"==typeof n)return o(this,e,t,n);var r=this;return new this.s.promiseLibrary(function(n,i){o(r,e,t,function(e,t){e?i(e):n(t)})})},r.prototype.drop=function(e){if(\"function\"==typeof e)return a(this,e);var t=this;return new this.s.promiseLibrary(function(e,n){a(t,function(t,r){t?n(t):e(r)})})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../utils\":239,\"./download\":226,\"./upload\":228,\"es6-promise\":95,events:void 0,util:void 0}],228:[function(e,t,n){(function(n){function r(e,t,r){if(this.bucket=e,this.chunks=e.s._chunksCollection,this.filename=t,this.files=e.s._filesCollection,this.options=r,this.id=m.BSON.ObjectId(),this.chunkSizeBytes=this.options.chunkSizeBytes,this.bufToStore=new n(this.chunkSizeBytes),this.length=0,this.md5=v.createHash(\"md5\"),this.n=0,this.pos=0,this.state={streamEnd:!1,outstandingRequests:0,errored:!1,aborted:!1,promiseLibrary:this.bucket.s.promiseLibrary},!this.bucket.s.calledOpenUploadStream){this.bucket.s.calledOpenUploadStream=!0;var i=this;c(this,function(){i.bucket.s.checkedIndexes=!0,i.bucket.emit(\"index\")})}}function i(e,t,n){return e.state.errored?void 0:(e.state.errored=!0,n?n(t):void e.emit(\"error\",t))}function o(e,t,n){return{_id:m.BSON.ObjectId(),files_id:e,n:t,data:n}}function a(e,t){e.chunks.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={files_id:1,n:1};return void e.chunks.createIndex(i,{background:!1},function(e){return e?t(e):void t()})}return t(n)}var o=!1;if(r.forEach(function(e){if(e.key){var t=Object.keys(e.key);2===t.length&&1===e.key.files_id&&1===e.key.n&&(o=!0)}}),o)t();else{var i={files_id:1,n:1},a=l(e);a.background=!1,a.unique=!0,e.chunks.createIndex(i,a,function(e){return e?t(e):void t()})}})}function s(e,t){if(e.state.streamEnd&&0===e.state.outstandingRequests&&!e.state.errored){var n=u(e.id,e.length,e.chunkSizeBytes,e.md5.digest(\"hex\"),e.filename,e.options.contentType,e.options.aliases,e.options.metadata);return h(e,t)?!1:(e.files.insert(n,l(e),function(r){return r?i(e,r,t):void e.emit(\"finish\",n)}),!0)}return!1}function c(e,t){e.files.findOne({},{_id:1},function(n,r){return n?t(n):r?t():void e.files.listIndexes().toArray(function(n,r){if(n){if(n.code===b){var i={filename:1,uploadDate:1};return void e.files.createIndex(i,{background:!1},function(n){return n?t(n):void a(e,t)})}return t(n)}var o=!1;if(r.forEach(function(e){var t=Object.keys(e.key);2===t.length&&1===e.key.filename&&1===e.key.uploadDate&&(o=!0)}),o)a(e,t);else{var i={filename:1,uploadDate:1},s=l(e);s.background=!1,e.files.createIndex(i,s,function(n){return n?t(n):void a(e,t)})}})})}function u(e,t,n,r,i,o,a,s){var c={_id:e,length:t,chunkSize:n,uploadDate:new Date,md5:r,filename:i};return o&&(c.contentType=o),a&&(c.aliases=a),s&&(c.metadata=s),c}function p(e,t,r,a){if(h(e,a))return!1;var c=n.isBuffer(t)?t:new n(t,r);if(e.length+=c.length,e.pos+c.length<e.chunkSizeBytes)return c.copy(e.bufToStore,e.pos),e.pos+=c.length,a&&a(),!0;for(var u=c.length,p=e.chunkSizeBytes-e.pos,f=Math.min(p,c.length),d=0;u>0;){var m=c.length-u;if(c.copy(e.bufToStore,e.pos,m,m+f),e.pos+=f,p-=f,0===p){e.md5.update(e.bufToStore);var v=o(e.id,e.n,e.bufToStore);if(++e.state.outstandingRequests,++d,h(e,a))return!1;e.chunks.insert(v,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,--d,void(d||(e.emit(\"drain\",v),a&&a(),s(e))))}),p=e.chunkSizeBytes,e.pos=0,++e.n}u-=f,f=Math.min(p,u)}return!1}function l(e){var t={};return e.options.writeConcern&&(t.w=concern.w,t.wtimeout=concern.wtimeout,t.j=concern.j),t}function f(e,t){return e.bucket.s.checkedIndexes?t(!1):(e.bucket.once(\"index\",function(){t(!0)}),!0)}function d(e,t){if(0===e.pos)return s(e,t);++e.state.outstandingRequests;var r=new n(e.pos);e.bufToStore.copy(r,0,0,e.pos),e.md5.update(r);var a=o(e.id,e.n,r);return h(e,t)?!1:void e.chunks.insert(a,l(e),function(t){return t?i(e,t):(--e.state.outstandingRequests,void s(e))})}function h(e,t){return e.state.aborted?(\"function\"==typeof t&&t(new Error(\"this stream has been aborted\")),!0):!1}var m=e(\"mongodb-core\"),v=e(\"crypto\"),g=(e(\"../utils\").shallowClone,e(\"stream\")),y=e(\"util\"),b=26;t.exports=r,y.inherits(r,g.Writable),r.prototype.write=function(e,t,n){var r=this;return f(this,function(){return p(r,e,t,n)})},r.prototype.abort=function(e){if(this.state.streamEnd){var t=new Error(\"Cannot abort a stream that has already completed\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}if(this.state.aborted){var t=new Error(\"Cannot call abort() on a stream twice\");return\"function\"==typeof e?e(t):this.state.promiseLibrary.reject(t)}this.state.aborted=!0,this.chunks.deleteMany({files_id:this.id},function(t){\"function\"==typeof e&&e(t)})},r.prototype.end=function(e,t,r){if(!h(this,r)){var i=this;if(this.state.streamEnd=!0,r&&this.once(\"finish\",r),!e)return void f(this,function(){d(i)});var i=this;n.isBuffer(e)?e:new n(e,t);this.write(e,t,function(){d(i)})}}}).call(this,e(\"buffer\").Buffer)},{\"../utils\":239,buffer:void 0,crypto:void 0,\"mongodb-core\":188,stream:void 0,util:void 0}],229:[function(e,t,n){(function(n){\"use strict\";var r=e(\"mongodb-core\").BSON.Binary,i=e(\"mongodb-core\").BSON.ObjectID,o=function(e,t,a){if(!(this instanceof o))return new o(e,t);this.file=e;var s=null==t?{}:t;if(this.writeConcern=a||{w:1},this.objectId=null==s._id?new i:s._id,this.chunkNumber=null==s.n?0:s.n,this.data=new r,null==s.data);else if(\"string\"==typeof s.data){var c=new n(s.data.length);c.write(s.data,0,s.data.length,\"binary\"),this.data=new r(c)}else if(Array.isArray(s.data)){var c=new n(s.data.length),u=s.data.join(\"\");c.write(u,0,u.length,\"binary\"),this.data=new r(c)}else if(\"Binary\"===s.data._bsontype)this.data=s.data;else if(!n.isBuffer(s.data))throw Error(\"Illegal chunk format\");this.internalPosition=0};o.prototype.write=function(e,t){return this.data.write(e,this.internalPosition,e.length,\"binary\"),this.internalPosition=this.data.length(),null!=t?t(null,this):this},o.prototype.read=function(e){if(e=null==e||0==e?this.length():e,this.length()-this.internalPosition+1>=e){var t=this.data.read(this.internalPosition,e);return this.internalPosition=this.internalPosition+e,t}return\"\"},o.prototype.readSlice=function(e){if(this.length()-this.internalPosition>=e){var t=null;return null!=this.data.buffer?t=this.data.buffer.slice(this.internalPosition,this.internalPosition+e):(t=new n(e),e=this.data.readInto(t,this.internalPosition)),this.internalPosition=this.internalPosition+e,t}return null},o.prototype.eof=function(){return this.internalPosition==this.length()},o.prototype.getc=function(){return this.read(1)},o.prototype.rewind=function(){this.internalPosition=0,this.data=new r},o.prototype.save=function(e,t){var n=this;\"function\"==typeof e&&(t=e,e={}),n.file.chunkCollection(function(r,i){if(r)return t(r);var o={upsert:!0};for(var a in e)o[a]=e[a];for(var a in n.writeConcern)o[a]=n.writeConcern[a];n.data.length()>0?n.buildMongoObject(function(e){var r={forceServerObjectId:!0};for(var a in n.writeConcern)r[a]=n.writeConcern[a];i.replaceOne({_id:n.objectId},e,o,function(e,r){t(e,n)})}):t(null,n)})},o.prototype.buildMongoObject=function(e){var t={files_id:this.file.fileId,n:this.chunkNumber,data:this.data};null!=this.objectId&&(t._id=this.objectId),e(t)},o.prototype.length=function(){return this.data.length()},Object.defineProperty(o.prototype,\"position\",{enumerable:!0,get:function(){return this.internalPosition},set:function(e){this.internalPosition=e}}),o.DEFAULT_CHUNK_SIZE=261120,t.exports=o}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"mongodb-core\":188}],230:[function(e,t,n){(function(n){\"use strict\";var r=e(\"./chunk\"),i=e(\"mongodb-core\").BSON.ObjectID,o=e(\"../read_preference\"),a=e(\"buffer\").Buffer,s=e(\"../collection\"),c=e(\"fs\"),u=(e(\"timers\"),e(\"util\").format),p=e(\"util\"),l=e(\"../metadata\"),f=e(\"mongodb-core\").MongoError,d=p.inherits,h=e(\"stream\").Duplex||e(\"readable-stream\").Duplex,m=e(\"../utils\").shallowClone,v=0,g=1,y=function H(t,a,s,c,u){if(!(this instanceof H))return new H(t,a,s,c,u);this.db=t,\"undefined\"==typeof u&&(u={}),\"undefined\"==typeof c?(c=s,s=void 0):\"object\"==typeof c&&(u=c,c=s,s=void 0),a instanceof i?(this.referenceBy=g,this.fileId=a,this.filename=s):\"undefined\"==typeof s?(this.referenceBy=v,this.filename=a,null!=c.indexOf(\"w\")&&(this.fileId=new i)):(this.referenceBy=g,this.fileId=a,this.filename=s),this.mode=null==c?\"r\":c,this.options=u||{},this.isOpen=!1,this.root=null==this.options.root?H.DEFAULT_ROOT_COLLECTION:this.options.root,this.position=0,this.readPreference=this.options.readPreference||t.options.readPreference||o.PRIMARY,this.writeConcern=$(t,this.options),this.internalChunkSize=null==this.options.chunkSize?r.DEFAULT_CHUNK_SIZE:this.options.chunkSize;var p=this.options.promiseLibrary;p||(p=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),this.promiseLibrary=p,Object.defineProperty(this,\"chunkSize\",{enumerable:!0,get:function(){return this.internalChunkSize},set:function(e){\"w\"!=this.mode[0]||0!=this.position||null!=this.uploadDate?this.internalChunkSize=this.internalChunkSize:this.internalChunkSize=e}}),Object.defineProperty(this,\"md5\",{enumerable:!0,get:function(){return this.internalMd5}}),Object.defineProperty(this,\"chunkNumber\",{enumerable:!0,get:function(){return this.currentChunk&&this.currentChunk.chunkNumber?this.currentChunk.chunkNumber:null}})},b=y.define=new l(\"Gridstore\",y,!0);y.prototype.open=function(e){var t=this;if(\"w\"!=this.mode&&\"w+\"!=this.mode&&\"r\"!=this.mode)throw f.create({message:\"Illegal mode \"+this.mode,driver:!0});return\"function\"==typeof e?x(t,e):new t.promiseLibrary(function(e,n){x(t,function(t,r){return t?n(t):void e(r)})})};var x=function(e,t){var n=$(e.db,e.options);if(\"w\"==e.mode||\"w+\"==e.mode){var r=e.collection();r.ensureIndex([[\"filename\",1]],n,function(r,i){var o=e.chunkCollection(),a=m(n);a.unique=!0,o.ensureIndex([[\"files_id\",1],[\"n\",1]],a,function(r,i){C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})})})}else C(e,n,function(n,r){return n?t(n):(e.isOpen=!0,void t(n,r))})};b.classMethod(\"open\",{callback:!0,promise:!0}),y.prototype.eof=function(){return this.position==this.length},b.classMethod(\"eof\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.getc=function(e){var t=this;return\"function\"==typeof e?w(t,e):new t.promiseLibrary(function(e,n){w(t,function(t,r){return t?n(t):void e(r)})})};var w=function(e,t){e.eof()?t(null,null):e.currentChunk.eof()?P(e,e.currentChunk.chunkNumber+1,function(n,r){e.currentChunk=r,e.position=e.position+1,t(n,e.currentChunk.getc())}):(e.position=e.position+1,t(null,e.currentChunk.getc()))};b.classMethod(\"getc\",{callback:!0,promise:!0}),y.prototype.puts=function(e,t){var n=this,r=null==e.match(/\\n$/)?e+\"\\n\":e;return\"function\"==typeof t?this.write(r,t):new n.promiseLibrary(function(e,t){n.write(r,function(n,r){return n?t(n):void e(r)})})},b.classMethod(\"puts\",{callback:!0,promise:!0}),y.prototype.stream=function(){return new U(this)},b.classMethod(\"stream\",{callback:!1,promise:!1,returns:[U]}),y.prototype.write=function(e,t,n){var r=this;return\"function\"==typeof n?R(this,e,t,n):new r.promiseLibrary(function(n,i){R(r,e,t,function(e,t){return e?i(e):void n(t)})})},b.classMethod(\"write\",{callback:!0,promise:!0}),y.prototype.destroy=function(){this.writable&&(this.readable=!1,this.writable&&(this.writable=!1,this._q.length=0,this.emit(\"close\")))},b.classMethod(\"destroy\",{callback:!1,promise:!1}),y.prototype.writeFile=function(e,t){var n=this;return\"function\"==typeof t?_(n,e,t):new n.promiseLibrary(function(t,r){_(n,e,function(e,n){return e?r(e):void t(n)})})};var _=function(e,t,n){return\"string\"==typeof t?void c.open(t,\"r\",function(t,r){return t?n(t):void e.writeFile(r,n)}):void e.open(function(e,i){return e?n(e,i):void c.fstat(t,function(e,o){if(e)return n(e,i);var a=0,s=0,u=(Math.min(o.size/i.chunkSize),function(){c.read(t,i.chunkSize,a,\"binary\",function(e,p,l){if(e)return n(e,i);a+=l;var f=new r(i,{n:s++},i.writeConcern);f.write(p,function(e,r){return e?n(e,i):void r.save({},function(e,s){return e?n(e,i):(i.position=i.position+p.length,i.currentChunk=r,a>=o.size?(c.close(t),void i.close(function(e,t){return e?n(e,i):n(null,i)})):process.nextTick(u))})})})});process.nextTick(u)})})};b.classMethod(\"writeFile\",{callback:!0,promise:!0}),y.prototype.close=function(e){var t=this;return\"function\"==typeof e?k(t,e):new t.promiseLibrary(function(e,n){k(t,function(t,r){return t?n(t):void e(r)})})};var k=function(e,t){if(\"w\"==e.mode[0]){var n=e.writeConcern;null!=e.currentChunk&&e.currentChunk.position>0?e.currentChunk.save({},function(r,i){return r&&\"function\"==typeof t?t(r):void e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):void(null!=e.uploadDate?I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}):(e.uploadDate=new Date,I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})})))})}):e.collection(function(r,i){return r&&\"function\"==typeof t?t(r):(e.uploadDate=new Date,void I(e,function(e,r){if(e){if(\"function\"==typeof t)return t(e);throw e}i.save(r,n,function(e){\"function\"==typeof t&&t(e,r)})}))})}else\"r\"==e.mode[0]?\"function\"==typeof t&&t(null,null):\"function\"==typeof t&&t(f.create({message:u(\"Illegal mode %s\",e.mode),driver:!0}))};b.classMethod(\"close\",{callback:!0,promise:!0}),y.prototype.chunkCollection=function(e){return\"function\"==typeof e?this.db.collection(this.root+\".chunks\",e):this.db.collection(this.root+\".chunks\")},b.classMethod(\"chunkCollection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.unlink=function(e){var t=this;return\"function\"==typeof e?j(t,e):new t.promiseLibrary(function(e,n){j(t,function(t,r){return t?n(t):void e(r)})})};var j=function(e,t){M(e,function(n){return null!==n?(n.message=\"at deleteChunks: \"+n.message,t(n)):void e.collection(function(n,r){return null!==n?(n.message=\"at collection: \"+n.message,t(n)):void r.remove({_id:e.fileId},e.writeConcern,function(n){t(n,e)})})})};b.classMethod(\"unlink\",{callback:!0,promise:!0}),y.prototype.collection=function(e){return\"function\"==typeof e&&this.db.collection(this.root+\".files\",e),this.db.collection(this.root+\".files\")},b.classMethod(\"collection\",{callback:!0,promise:!1,returns:[s]}),y.prototype.readlines=function(e,t){var n=this,r=Array.prototype.slice.call(arguments,0);return t=r.pop(),\"function\"!=typeof t&&r.push(t),e=r.length?r.shift():\"\\n\",e=e||\"\\n\",\"function\"==typeof t?S(n,e,t):new n.promiseLibrary(function(t,r){S(n,e,function(e,n){return e?r(e):void t(n)})})};var S=function(e,t,n){e.read(function(e,r){if(e)return n(e);var i=r.toString().split(t);i=i.length>0?i.splice(0,i.length-1):[];for(var o=0;o<i.length;o++)i[o]=i[o]+t;n(null,i)})};b.classMethod(\"readlines\",{callback:!0,promise:!0}),y.prototype.rewind=function(e){var t=this;return\"function\"==typeof e?E(t,e):new t.promiseLibrary(function(e,n){E(t,function(t,r){return t?n(t):void e(r)})})};var E=function(e,t){0!=e.currentChunk.chunkNumber?\"w\"==e.mode[0]?M(e,function(n,i){return n?t(n):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.position=0,void t(null,e))}):e.currentChunk(0,function(n,r){return n?t(n):(e.currentChunk=r,e.currentChunk.rewind(),e.position=0,void t(null,e))}):(e.currentChunk.rewind(),e.position=0,t(null,e))};b.classMethod(\"rewind\",{callback:!0,promise:!0}),y.prototype.read=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);return n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,\"function\"==typeof n?O(r,e,t,n):new r.promiseLibrary(function(n,i){O(r,e,t,function(e,t){return e?i(e):void n(t)})})};var O=function(e,t,n,r){var i=null==t?e.length-e.position:t,o=null==n?new a(i):n;if(o._index=null!=n&&null!=n._index?n._index:0,e.currentChunk.length()-e.currentChunk.position+o._index>=i){var s=e.currentChunk.readSlice(i-o._index);return s.copy(o,o._index),e.position=e.position+o.length,0==i&&0==o.length?r(f.create({message:\"File does not exist\",driver:!0}),null):r(null,o)}var s=e.currentChunk.readSlice(e.currentChunk.length()-e.currentChunk.position);s.copy(o,o._index),o._index+=s.length,P(e,e.currentChunk.chunkNumber+1,function(n,i){return n?r(n):void(i.length()>0?(e.currentChunk=i,e.read(t,o,r)):o._index>0?r(null,o):r(f.create({message:\"no chunks found for file, possibly corrupt\",driver:!0}),null))})};b.classMethod(\"read\",{callback:!0,promise:!0}),y.prototype.tell=function(e){var t=this;return\"function\"==typeof e?e(null,this.position):new t.promiseLibrary(function(e,n){e(t.position)})},b.classMethod(\"tell\",{callback:!0,promise:!0}),y.prototype.seek=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,1);return n=i.pop(),\"function\"!=typeof n&&i.push(n),t=i.length?i.shift():null,\"function\"==typeof n?A(r,e,t,n):new r.promiseLibrary(function(n,i){A(r,e,t,function(e,t){return e?i(e):void n(t)})})};var A=function(e,t,n,r){if(\"r\"!=e.mode)return r(f.create({message:\"seek is only supported for mode r\",driver:!0}));var i=null==n?y.IO_SEEK_SET:n,o=t,a=0;a=i==y.IO_SEEK_CUR?e.position+o:i==y.IO_SEEK_END?e.length+o:o;var s=Math.floor(a/e.chunkSize),c=function(){P(e,s,function(t,n){return t?r(t,null):null==n?r(new Error(\"no chunk found\")):(e.currentChunk=n,e.position=a,e.currentChunk.position=e.position%e.chunkSize,void r(t,e))})};c()};b.classMethod(\"seek\",{callback:!0,promise:!0});var C=function(e,t,n){function o(e){o.err||n(o.err=e)}var a=e.collection(),s=e.referenceBy==g?{_id:e.fileId}:{filename:e.filename};if(s=null==e.fileId&&null==e.filename?null:s,t.readPreference=e.readPreference,null!=s)a.findOne(s,t,function(a,s){if(a)return o(a);if(null!=s)e.fileId=s._id,e.filename=\"r\"==e.mode||void 0==e.filename?s.filename:e.filename,e.contentType=s.contentType,e.internalChunkSize=s.chunkSize,e.uploadDate=s.uploadDate,e.aliases=s.aliases,e.length=s.length,e.metadata=s.metadata,e.internalMd5=s.md5;else{if(\"r\"==e.mode){e.length=0;var c=e.fileId instanceof i?e.fileId.toHexString():e.fileId;return o(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?c:e.filename),driver:!0}),e)}e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0}\"r\"==e.mode?P(e,0,t,function(t,r){return t?o(t):(e.currentChunk=r,e.position=0,void n(null,e))}):\"w\"==e.mode&&s?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w\"==e.mode?(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,\ne.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,n(null,e)):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})});else{e.fileId=null==e.fileId?new i:e.fileId,e.contentType=y.DEFAULT_CONTENT_TYPE,e.internalChunkSize=null==e.internalChunkSize?r.DEFAULT_CHUNK_SIZE:e.internalChunkSize,e.length=0;e.chunkCollection();\"w\"==e.mode?M(e,t,function(t,i){return t?o(t):(e.currentChunk=new r(e,{n:0},e.writeConcern),e.contentType=null==e.options.content_type?e.contentType:e.options.content_type,e.internalChunkSize=null==e.options.chunk_size?e.internalChunkSize:e.options.chunk_size,e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=0,void n(null,e))}):\"w+\"==e.mode&&P(e,F(e),t,function(t,i){return t?o(t):(e.currentChunk=null==i?new r(e,{n:0},e.writeConcern):i,e.currentChunk.position=e.currentChunk.data.length(),e.metadata=null==e.options.metadata?e.metadata:e.options.metadata,e.aliases=null==e.options.aliases?e.aliases:e.options.aliases,e.position=e.length,void n(null,e))})}},T=function(e,t,n,i){\"function\"==typeof n&&(i=n,n=null);var o=\"boolean\"==typeof n?n:!1;if(\"w\"!=e.mode)i(f.create({message:u(\"file with id %s not opened for writing\",e.referenceBy==g?e.referenceBy:e.filename),driver:!0}),null);else{if(!(e.currentChunk.position+t.length>=e.chunkSize))return e.position=e.position+t.length,e.currentChunk.write(t),o?e.close(function(t,n){i(t,e)}):i(null,e);for(var a=e.currentChunk.chunkNumber,s=e.chunkSize-e.currentChunk.position,c=t.slice(0,s),p=t.slice(s),l=[e.currentChunk.write(c)];p.length>=e.chunkSize;){var d=new r(e,{n:a+1},e.writeConcern),c=p.slice(0,e.chunkSize);p=p.slice(e.chunkSize),a+=1,d.write(c),l.push(d)}e.currentChunk=new r(e,{n:a+1},e.writeConcern),p.length>0&&e.currentChunk.write(p),e.position=e.position+t.length;for(var h=l.length,m=0;m<l.length;m++)l[m].save({},function(t,n){return t?i(t):(h-=1,0>=h?o?e.close(function(t,n){i(t,e)}):i(null,e):void 0)})}},I=function(e,t){var n={_id:e.fileId,filename:e.filename,contentType:e.contentType,length:e.position?e.position:0,chunkSize:e.chunkSize,uploadDate:e.uploadDate,aliases:e.aliases,metadata:e.metadata},r={filemd5:e.fileId,root:e.root};e.db.command(r,function(e,r){return e?t(e):(n.md5=r.md5,void t(null,n))})},P=function(e,t,n,i){\"function\"==typeof n&&(i=n,n={}),n=n||e.writeConcern,n.readPreference=e.readPreference,e.chunkCollection().findOne({files_id:e.fileId,n:t},n,function(t,n){if(t)return i(t);var o=null==n?{}:n;i(null,new r(e,o,e.writeConcern))})},F=function(e){return Math.floor((e.length?e.length-1:0)/e.chunkSize)},M=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||e.writeConcern,null!=e.fileId?e.chunkCollection().remove({files_id:e.fileId},t,function(e,t){return e?n(e,!1):void n(null,!0)}):n(null,!0)};y.DEFAULT_ROOT_COLLECTION=\"fs\",y.DEFAULT_CONTENT_TYPE=\"binary/octet-stream\",y.IO_SEEK_SET=0,y.IO_SEEK_CUR=1,y.IO_SEEK_END=2,y.exist=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():{},o=o||{};var c=o.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?z(t,r,i,o,a):new c(function(e,n){z(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var z=function(e,t,n,r,i){var a=r.readPreference||o.PRIMARY,s=null!=n?n:y.DEFAULT_ROOT_COLLECTION;e.collection(s+\".files\",function(e,n){if(e)return i(e);var r=\"string\"==typeof t||\"[object RegExp]\"==Object.prototype.toString.call(t)?{filename:t}:{_id:t};null!=t&&\"object\"==typeof t&&\"[object RegExp]\"!=Object.prototype.toString.call(t)&&(r=t),n.findOne(r,{readPreference:a},function(e,t){return e?i(e):void i(null,null!=t)})})};b.staticMethod(\"exist\",{callback:!0,promise:!0}),y.list=function(t,r,i,o){var a=Array.prototype.slice.call(arguments,1);o=a.pop(),\"function\"!=typeof o&&a.push(o),r=a.length?a.shift():null,i=a.length?a.shift():{},i=i||{};var s=i.promiseLibrary;return s||(s=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?B(t,r,i,o):new s(function(e,n){B(t,r,i,function(t,r){return t?n(t):void e(r)})})};var B=function(e,t,n,r){null!=t&&\"object\"==typeof t&&(n=t,t=null);var i=n.readPreference||o.PRIMARY,a=null!=n.id?n.id:!1,s=null!=t?t:y.DEFAULT_ROOT_COLLECTION,c=[];e.collection(s+\".files\",function(e,t){return e?r(e):void t.find({},{readPreference:i},function(e,t){return e?r(e):void t.each(function(e,t){null!=t?c.push(a?t._id:t.filename):r(e,c)})})})};b.staticMethod(\"list\",{callback:!0,promise:!0}),y.read=function(t,r,i,o,a,s){var c=Array.prototype.slice.call(arguments,2);s=c.pop(),\"function\"!=typeof s&&c.push(s),i=c.length?c.shift():null,o=c.length?c.shift():null,a=c.length?c.shift():null,a=a||{};var u=a?a.promiseLibrary:null;return u||(u=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof s?N(t,r,i,o,a,s):new u(function(e,n){N(t,r,i,o,a,function(t,r){return t?n(t):void e(r)})})};var N=function(e,t,n,r,i,o){new y(e,t,\"r\",i).open(function(e,t){return e?o(e):r&&r>=t.length?o(\"offset larger than size of file\",null):n&&n>t.length?o(\"length is larger than the size of the file\",null):r&&n&&r+n>t.length?o(\"offset and length is larger than the size of the file\",null):void(null!=r?t.seek(r,function(e,t){return e?o(e):void t.read(n,o)}):t.read(n,o))})};b.staticMethod(\"read\",{callback:!0,promise:!0}),y.readlines=function(t,r,i,o,a){var s=Array.prototype.slice.call(arguments,2);a=s.pop(),\"function\"!=typeof a&&s.push(a),i=s.length?s.shift():null,o=s.length?s.shift():null,o=o||{};var c=o?o.promiseLibrary:null;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof a?D(t,r,i,o,a):new c(function(e,n){D(t,r,i,o,function(t,r){return t?n(t):void e(r)})})};var D=function(e,t,n,r,i){var o=null==n?\"\\n\":n;new y(e,t,\"r\",r).open(function(e,t){return e?i(e):void t.readlines(o,i)})};b.staticMethod(\"readlines\",{callback:!0,promise:!0}),y.unlink=function(t,r,i,o){var a=this,s=Array.prototype.slice.call(arguments,2);o=s.pop(),\"function\"!=typeof o&&s.push(o),i=s.length?s.shift():{},i=i||{};var c=i.promiseLibrary;return c||(c=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"==typeof o?q(a,t,r,i,o):new c(function(e,n){q(a,t,r,i,function(t,r){return t?n(t):void e(r)})})};var q=function(e,t,n,r,i){var o=$(t,r);if(n.constructor==Array)for(var a=0,s=0;s<n.length;s++)++a,y.unlink(t,n[s],r,function(t){0==--a&&i(null,e)});else new y(t,n,\"w\",r).open(function(t,n){return t?i(t):void M(n,function(t,r){return t?i(t):void n.collection(function(t,r){return t?i(t):void r.remove({_id:n.fileId},o,function(t,n){i(t,e)})})})})};b.staticMethod(\"unlink\",{callback:!0,promise:!0});var R=function(e,t,n,r){return a.isBuffer(t)?T(e,t,n,r):T(e,new a(t,\"binary\"),n,r)},L=function(e){var t={};return null!=e.w&&(t.w=e.w),1==e.journal&&(t.j=e.journal),1==e.j&&(t.j=e.j),1==e.fsync&&(t.fsync=e.fsync),null!=e.wtimeout&&(t.wtimeout=e.wtimeout),t},$=function(e,t){var n={w:1};if(t=t||{},null!=t.w||\"boolean\"==typeof t.j||\"boolean\"==typeof t.journal||\"boolean\"==typeof t.fsync?n=L(t):null!=t.safe&&\"object\"==typeof t.safe?n=L(t.safe):\"boolean\"==typeof t.safe?n={w:t.safe?1:0}:null!=e.options.w||\"boolean\"==typeof e.options.j||\"boolean\"==typeof e.options.journal||\"boolean\"==typeof e.options.fsync?n=L(e.options):!e.safe||null==e.safe.w&&\"boolean\"!=typeof e.safe.j&&\"boolean\"!=typeof e.safe.journal&&\"boolean\"!=typeof e.safe.fsync?\"boolean\"==typeof e.safe&&(n={w:e.safe?1:0}):n=L(e.safe),n.w<1&&(1==n.journal||1==n.j||1==n.fsync))throw f.create({message:\"No acknowledgement using w < 1 cannot be combined with journal:true or fsync:true\",driver:!0});return n},U=function(e){h.call(this),this.gs=e,this.endCalled=!1,this.totalBytesToRead=this.gs.length-this.gs.position,this.seekPosition=this.gs.position};d(U,h),U.prototype._pipe=U.prototype.pipe,U.prototype.pipe=function(e){var t=this;return t.gs.isOpen?(t.totalBytesToRead=t.gs.length-t.gs.position,t._pipe.apply(t,[e])):t.gs.open(function(n){return n?t.emit(\"error\",n):(t.totalBytesToRead=t.gs.length-t.gs.position,void t._pipe.apply(t,[e]))}),e},U.prototype._read=function(e){var t=this,n=function(){t.gs.read(r,function(e,n){return e&&!t.endCalled?t.emit(\"error\",e):t.endCalled||null==n?t.push(null):(n.length<=t.totalBytesToRead?(t.totalBytesToRead=t.totalBytesToRead-n.length,t.push(n)):n.length>t.totalBytesToRead&&(t.totalBytesToRead=t.totalBytesToRead-n._index,t.push(n.slice(0,n._index))),void(t.totalBytesToRead<=0&&(t.endCalled=!0)))})},r=t.gs.length<t.gs.chunkSize?t.gs.length-t.seekPosition:t.gs.chunkSize;t.gs.isOpen?n():t.gs.open(function(e,r){return t.totalBytesToRead=t.gs.length-t.gs.position,e?t.emit(\"error\",e):void n()})},U.prototype.destroy=function(){this.pause(),this.endCalled=!0,this.gs.close(),this.emit(\"end\")},U.prototype.write=function(e,t,n){var r=this;return r.endCalled?r.emit(\"error\",f.create({message:\"attempting to write to stream after end called\",driver:!0})):r.gs.isOpen?(r.gs.write(e,function(){r.emit(\"drain\")}),!0):(r.gs.open(function(){r.gs.isOpen=!0,r.gs.write(e,function(){process.nextTick(function(){r.emit(\"drain\")})})}),!1)},U.prototype.end=function(e,t,n){var r=this,i=Array.prototype.slice.call(arguments,0);n=i.pop(),\"function\"!=typeof n&&i.push(n),e=i.length?i.shift():null,t=i.length?i.shift():null,r.endCalled=!0,e&&r.gs.write(e,function(){r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})}),r.gs.close(function(){\"function\"==typeof n&&n(),r.emit(\"end\")})},t.exports=y}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../collection\":222,\"../metadata\":231,\"../read_preference\":234,\"../utils\":239,\"./chunk\":229,buffer:void 0,\"es6-promise\":95,fs:void 0,\"mongodb-core\":188,\"readable-stream\":246,stream:void 0,timers:void 0,util:void 0}],231:[function(e,t,n){var r=e(\"util\").format,i=function(e,t,n){this.name=e,this.object=t,this.stream=\"boolean\"==typeof n?n:!1,this.instrumentations={}};i.prototype.classMethod=function(e,t){var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)};var o=function(e,t){for(var n=[],i=0;i<e.length;i++)n.push(r(\"%s=%s\",e[i],t[e[i]]));return n.join()};i.prototype.staticMethod=function(e,t){t[\"static\"]=!0;var n=Object.keys(t).sort(),r=o(n,t);null==this.instrumentations[r]&&(this.instrumentations[r]={methods:[],options:t}),this.instrumentations[r].methods.push(e)},i.prototype.generate=function(e,t){var n={name:this.name,obj:this.object,stream:this.stream,instrumentations:[]};for(var r in this.instrumentations)n.instrumentations.push(this.instrumentations[r]);return n},t.exports=i},{util:void 0}],232:[function(e,t,n){(function(n){\"use strict\";function r(){this.connect=r.connect}var i=e(\"./url_parser\"),o=e(\"./server\"),a=e(\"./mongos\"),s=e(\"./replset\"),c=e(\"./metadata\"),u=e(\"./read_preference\"),p=e(\"./db\"),l=r.define=new c(\"MongoClient\",r,!1);r.connect=function(t,r,i){var o=Array.prototype.slice.call(arguments,1);i=\"function\"==typeof o[o.length-1]?o.pop():null,r=o.length?o.shift():null,r=r||{};var a=r.promiseLibrary;return a||(a=\"function\"==typeof n.Promise?n.Promise:e(\"es6-promise\").Promise),\"function\"!=typeof i?new a(function(e,n){g(t,r,function(t,r){return t?n(t):void e(r)})}):void g(t,r,i)},l.staticMethod(\"connect\",{callback:!0,promise:!0});var f=[\"poolSize\",\"ssl\",\"sslValidate\",\"checkServerIdentity\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"autoReconnect\",\"noDelay\",\"keepAlive\",\"connectionTimeoutMS\",\"socketTimeoutMS\",\"reconnectTries\",\"reconnectInterval\"],d=[\"ha\",\"haInterval\",\"replicaSet\",\"secondaryAcceptableLatencyMS\",\"connectWithNoPrimary\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\"],h=[\"ha\",\"haInterval\",\"poolSize\",\"ssl\",\"checkServerIdentity\",\"sslValidate\",\"sslCA\",\"sslCert\",\"sslKey\",\"sslPass\",\"noDelay\",\"keepAlive\",\"connectTimeoutMS\",\"socketTimeoutMS\",\"acceptableLatencyMS\"],m=[\"authSource\",\"w\",\"wtimeout\",\"j\",\"native_parser\",\"forceServerObjectId\",\"serializeFunctions\",\"ignoreUndefined\",\"raw\",\"promoteLongs\",\"bufferMaxEntries\",\"readPreference\",\"pkFactory\",\"promiseLibrary\",\"readConcern\"],v=function(e,t){e.server_options||(e.server_options={}),e.db_options||(e.db_options={}),e.rs_options||(e.rs_options={}),e.mongos_options||(e.mongos_options={});for(var n in t)-1!=f.indexOf(n)&&(e.server_options[n]=t[n]),-1!=d.indexOf(n)&&(e.rs_options[n]=t[n]),-1!=h.indexOf(n)&&(e.mongos_options[n]=t[n]),-1!=m.indexOf(n)&&(e.db_options[n]=t[n]);return e},g=function(e,t,n){var r=t.server||{},c=t.mongos||{},u=t.replSet||t.replSetServers||{},l=t.db||{};if(null==n)throw new Error(\"no callback function provided\");var f=i(e,t);if(l)for(var d in l)f.db_options[d]=l[d];if(f.db_options.url=e,r)for(var d in r)f.server_options[d]=r[d];if(u)for(var d in u)f.rs_options[d]=u[d];if((u.ssl||u.sslValidate||u.checkServerIdentity||u.sslCA||u.sslCert||u.sslKey||u.sslPass)&&(f.server_options.ssl=u.ssl,f.server_options.sslValidate=u.sslValidate,f.server_options.checkServerIdentity=u.checkServerIdentity,f.server_options.sslCA=u.sslCA,f.server_options.sslCert=u.sslCert,f.server_options.sslKey=u.sslKey,f.server_options.sslPass=u.sslPass),c)for(var d in c)f.mongos_options[d]=c[d];\"number\"==typeof f.server_options.poolSize&&(f.mongos_options.poolSize||(f.mongos_options.poolSize=f.server_options.poolSize),f.rs_options.poolSize||(f.rs_options.poolSize=f.server_options.poolSize)),(c.ssl||c.sslValidate||c.checkServerIdentity||c.sslCA||c.sslCert||c.sslKey||c.sslPass)&&(f.server_options.ssl=c.ssl,f.server_options.sslValidate=c.sslValidate,f.server_options.checkServerIdentity=c.checkServerIdentity,f.server_options.sslCA=c.sslCA,f.server_options.sslCert=c.sslCert,f.server_options.sslKey=c.sslKey,f.server_options.sslPass=c.sslPass),f.db_options.promiseLibrary=t.promiseLibrary;var h=f.servers.length,m=0,g=0,x=null,w={};if(0==f.servers.length)throw new Error(\"connection string must contain at least one seed host\");f.db_options.native_parser=y(f.db_options),\"boolean\"!=typeof f.server_options.auto_reconnect&&(f.server_options.auto_reconnect=!0),f=v(f,t);for(var _=0;_<f.servers.length;_++){var k=f.server_options.socketOptions||{},j={poolSize:1,socketOptions:{connectTimeoutMS:k.connectTimeoutMS||12e4,socketTimeoutMS:k.socketTimeoutMS||12e4},auto_reconnect:!1};f.server_options.ssl?(j.ssl=f.server_options.ssl,j.sslValidate=f.server_options.sslValidate,j.checkServerIdentity=f.server_options.checkServerIdentity,j.sslCA=f.server_options.sslCA,j.sslCert=f.server_options.sslCert,j.sslKey=f.server_options.sslKey,j.sslPass=f.server_options.sslPass):f.rs_options.ssl&&(j.ssl=f.rs_options.ssl,j.sslValidate=f.rs_options.sslValidate,j.checkServerIdentity=f.rs_options.checkServerIdentity,j.sslCA=f.rs_options.sslCA,j.sslCert=f.rs_options.sslCert,j.sslKey=f.rs_options.sslKey,j.sslPass=f.rs_options.sslPass);var S=null,E=f.servers[_].domain_socket?new o(f.servers[_].domain_socket,j):new o(f.servers[_].host,f.servers[_].port,j),O=function(e){new p(f.dbName,e,{w:1,native_parser:!1,promiseLibrary:t.promiseLibrary}).open(function(r,i){if(h-=1,r)S=r,w[e.host+\":\"+e.port]=e;else{i.close();var c=i.serverConfig.isMasterDoc;c.setName&&g++,c.msg&&\"isdbgrid\"==c.msg&&m++}if(0==h){if(0==g&&0==m&&S)return n(S,null);if(m>0&&g>0)return i&&i.close(),process.nextTick(function(){try{n(new Error(\"cannot combine a list of replicaset seeds and mongos seeds\"))}catch(e){throw e}});if(0!=g||0!=m||1!=f.servers.length||f.rs_options.replicaSet&&f.rs_options.rs_name){if(g>0||m>0||f.rs_options.replicaSet||f.rs_options.rs_name){var u=f.servers.filter(function(e){return null==w[e.host+\":\"+e.port]}).map(function(e){return e.domain_socket?new o(e.domain_socket,27017,f.server_options):new o(e.host,e.port,f.server_options)});if(w={},g>0)try{1!=g||f.rs_options.replicaSet||f.rs_options.rs_name?1==g?(f.rs_options.replicaSet=f.rs_options.replicaSet||f.rs_options.rs_name,x=new s(u,f.rs_options)):x=new s(u,f.rs_options):x=u[0]}catch(r){return n(r,null)}else x=new a(u,f.mongos_options)}}else{var p=f.servers[0];x=p.domain_socket?new o(p.domain_socket,f.server_options):new o(p.host,p.port,f.server_options)}if(null==x)return process.nextTick(function(){try{n(new Error(\"Could not locate any valid servers in initial seed list\"))}catch(e){throw i&&i.close(),e}});x.emitOpen=!1,b(x,f,t,n)}})};O(E)}},y=function(t){if(\"boolean\"==typeof t.native_parser)return t.native_parser;try{return e(\"mongodb-core\").BSON.BSONNative.BSON,!0}catch(n){return!1}},b=function(e,t,n,r){\"string\"==typeof t.db_options.readPreference?t.db_options.readPreference=new u(t.db_options.readPreference):\"string\"==typeof t.db_options.read_preference&&(t.db_options.readPreference=new u(t.db_options.read_preference)),t.db_options.readPreference&&t.db_options.readPreferenceTags?t.db_options.readPreference.tags=t.db_options.readPreferenceTags:t.db_options.readPreference&&t.db_options.read_preference_tags&&(t.db_options.readPreference.tags=t.db_options.read_preference_tags);var i=t.server_options.socketOptions.socketTimeoutMS||0;e instanceof s&&(i=t.rs_options.socketOptions.socketTimeoutMS||i),e.connectTimeoutMS=e.connectTimeoutMS||3e4,e.socketTimeoutMS=e.connectTimeoutMS;var o=new p(t.dbName,e,t.db_options);o.open(function(n,o){if(n)return process.nextTick(function(){try{r(e,null)}catch(e){throw o&&o.close(),e}});if(e.socketTimeoutMS=i||0,null==n&&t.auth){var a=o;t.db_options&&t.db_options.authSource&&(a=o.db(t.db_options.authSource));var s={};t.db_options.authMechanism&&(s.authMechanism=t.db_options.authMechanism),t.db_options.gssapiServiceName&&(s.gssapiServiceName=t.db_options.gssapiServiceName),t.db_options.gssapiServiceRealm&&(s.gssapiServiceRealm=t.db_options.gssapiServiceRealm),t.db_options.gssapiCanonicalizeHostName&&(s.gssapiCanonicalizeHostName=t.db_options.gssapiCanonicalizeHostName),a.authenticate(t.auth.user,t.auth.password,s,function(e,n){n?process.nextTick(function(){try{r(null,o)}catch(e){throw o&&o.close(),e}}):(o&&o.close(),process.nextTick(function(){try{r(e?e:new Error(\"Could not authenticate user \"+t.auth[0]),null)}catch(e){throw o&&o.close(),e}}))})}else process.nextTick(function(){try{r(e,o)}catch(e){throw o&&o.close(),e}})})};t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./db\":225,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./replset\":235,\"./server\":236,\"./url_parser\":238,\"es6-promise\":95,\"mongodb-core\":188}],233:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),a=e(\"mongodb-core\").MongoCR,s=e(\"mongodb-core\").MongoError,c=e(\"mongodb-core\").Mongos,u=e(\"./cursor\"),p=e(\"./aggregation_cursor\"),l=e(\"./command_cursor\"),f=e(\"./metadata\"),d=e(\"./server\"),h=e(\"./topology_base\").Store,m=e(\"./utils\").shallowClone,v=e(\"./utils\").MAX_JS_INT,g=function(e,t){if(!(this instanceof g))return new g(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof d))throw s.create({message:\"all seed list instances must be of the Server type\",driver:!0});var o={force:!1,bufferMaxEntries:-1};-1==o.bufferMaxEntries&&(o.bufferMaxEntries=v);var p=t.store||new h(n,o);r.call(this);var l=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),f=m(t);f.size=\"number\"==typeof t.poolSize?t.poolSize:5,f.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,f.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,f.cursorFactory=u,f.disconnectHandler=p,t.sslCA&&(f.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(f.rejectUnauthorized=t.sslValidate),t.sslKey&&(f.key=t.sslKey),t.sslCert&&(f.cert=t.sslCert),t.sslPass&&(f.passphrase=t.sslPass),t.checkServerIdentity&&(f.checkServerIdentity=t.checkServerIdentity),t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,f.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(f.socketTimeout=t.socketOptions.socketTimeoutMS));var y=\"boolean\"==typeof t.debug?t.debug:!1;y&&(f.debug=y),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(f.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(f.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(f.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(f.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.acceptableLatencyMS&&(f.localThresholdMS=t.acceptableLatencyMS||15),f.disconnectHandler=p;var b=new c(l,f),x=null;b.addAuthProvider(\"mongocr\",new a),this.s={mongos:b,sCapabilities:x,debug:y,storeOptions:o,clonedOptions:f,store:p,options:t},Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return n.s.mongos.lastIsMaster()}}),Object.defineProperty(this,\"numberOfConnectedServers\",{enumerable:!0,get:function(){return n.s.mongos.s.mongosState.connectedServers().length}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return n.s.mongos.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return n.s.mongos.haInterval}})};i(g,r);var y=g.define=new f(\"Mongos\",g,!1);g.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.removeListener(e,i)}),r.s.mongos.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\"),r.s.store.execute()},s=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.mongos.removeAllListeners(e)}),r.s.mongos.once(\"timeout\",o(\"timeout\")),r.s.mongos.once(\"error\",o(\"error\")),r.s.mongos.once(\"close\",o(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.mongos.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.mongos.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.mongos.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.mongos.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.mongos.on(\"serverOpening\",e(\"serverOpening\")),r.s.mongos.on(\"serverClosed\",e(\"serverClosed\")),r.s.mongos.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.mongos.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.mongos.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.mongos.on(\"joined\",e(\"joined\")),r.s.mongos.on(\"left\",e(\"left\")),r.s.mongos.on(\"fullsetup\",e(\"fullsetup\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){process.nextTick(function(){throw t})}};r.s.mongos.once(\"timeout\",i(\"timeout\")),r.s.mongos.once(\"error\",i(\"error\")),r.s.mongos.once(\"close\",i(\"close\")),r.s.mongos.once(\"connect\",s),r.s.mongos.on(\"reconnect\",a),r.s.mongos.connect(t)},g.prototype.parserType=function(){return this.s.mongos.parserType()},y.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),g.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.mongos.lastIsMaster()?null:(this.s.sCapabilities=new o(this.s.mongos.lastIsMaster()),this.s.sCapabilities)},y.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[o]}),g.prototype.command=function(e,t,n,r){this.s.mongos.command(e,t,n,r)},y.classMethod(\"command\",{callback:!0,promise:!1}),g.prototype.insert=function(e,t,n,r){this.s.mongos.insert(e,t,n,function(e,t){r(e,t)})},y.classMethod(\"insert\",{callback:!0,promise:!1}),g.prototype.update=function(e,t,n,r){this.s.mongos.update(e,t,n,r)},y.classMethod(\"update\",{callback:!0,promise:!1}),g.prototype.remove=function(e,t,n,r){this.s.mongos.remove(e,t,n,r)},y.classMethod(\"remove\",{callback:!0,promise:!1}),g.prototype.isDestroyed=function(){return this.s.mongos.isDestroyed()},g.prototype.isConnected=function(){return this.s.mongos.isConnected()},y.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),g.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.mongos.cursor(e,t,n)},y.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[u,p,l]}),g.prototype.setBSONParserType=function(e){return this.s.mongos.setBSONParserType(e)},g.prototype.lastIsMaster=function(){return this.s.mongos.lastIsMaster()},g.prototype.close=function(e){this.s.mongos.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},y.classMethod(\"close\",{callback:!1,promise:!1}),g.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.mongos.auth.apply(this.s.mongos,e)},y.classMethod(\"auth\",{callback:!0,promise:!1}),g.prototype.connections=function(){return this.s.mongos.connections()},y.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=g},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],234:[function(e,t,n){\"use strict\";var r=function(e,t){return this instanceof r?(this._type=\"ReadPreference\",this.mode=e,void(this.tags=t)):new r(e,t)};r.isValid=function(e){return e==r.PRIMARY||e==r.PRIMARY_PREFERRED||e==r.SECONDARY||e==r.SECONDARY_PREFERRED||e==r.NEAREST||1==e||0==e||null==e},r.prototype.isValid=function(e){var t=\"string\"==typeof e?e:this.mode;return r.isValid(t)},r.prototype.toObject=function(){var e={mode:this.mode};return null!=this.tags&&(e.tags=this.tags),e},r.PRIMARY=\"primary\",r.PRIMARY_PREFERRED=\"primaryPreferred\",r.SECONDARY=\"secondary\",r.SECONDARY_PREFERRED=\"secondaryPreferred\",r.NEAREST=\"nearest\",t.exports=r},{}],235:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=(e(\"util\").format,e(\"./server\")),a=(e(\"./mongos\"),e(\"./cursor\")),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=e(\"./read_preference\"),p=(e(\"mongodb-core\").MongoCR,e(\"mongodb-core\").MongoError),l=e(\"./topology_base\").ServerCapabilities,f=e(\"./topology_base\").Store,d=e(\"./metadata\"),h=(e(\"mongodb-core\").Server,e(\"mongodb-core\").ReplSet),m=e(\"mongodb-core\").ReadPreference,v=e(\"./utils\").shallowClone,g=e(\"./utils\").MAX_JS_INT,y=function(e,t){if(!(this instanceof y))return new y(e,t);t=t||{};for(var n=this,i=0;i<e.length;i++)if(!(e[i]instanceof o))throw p.create({message:\"all seed list instances must be of the Server type\",driver:!0});var s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=g);var c=t.store||new f(n,s);r.call(this);var u=(t.tag,e.map(function(e){return{host:e.host,port:e.port}})),l=v(t);l.size=\"number\"==typeof t.poolSize?t.poolSize:5,l.reconnect=\"boolean\"==typeof t.auto_reconnect?t.auto_reconnect:!0,l.emitError=\"boolean\"==typeof t.emitError?t.emitError:!0,l.cursorFactory=a,l.disconnectHandler=c,t.socketOptions&&(t.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=t.socketOptions.connectTimeoutMS,l.connectionTimeout=t.socketOptions.connectTimeoutMS),t.socketOptions.socketTimeoutMS&&(l.socketTimeout=t.socketOptions.socketTimeoutMS));var d=t.replicaSet||t.rs_name;l.setName=d;var m=\"boolean\"==typeof t.debug?t.debug:!1;m&&(l.debug=m),t.socketOptions&&\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAlive=!0,\"number\"==typeof t.socketOptions.keepAlive&&(l.keepAliveInitialDelay=t.socketOptions.keepAlive)),t.socketOptions&&\"number\"==typeof t.socketOptions.connectionTimeout&&(l.connectionTimeout=t.socketOptions.connectionTimeout),t.socketOptions&&\"number\"==typeof t.socketOptions.socketTimeout&&(l.socketTimeout=t.socketOptions.socketTimeout),t.socketOptions&&\"boolean\"==typeof t.socketOptions.noDelay&&(l.noDelay=t.socketOptions.noDelay),\"number\"==typeof t.secondaryAcceptableLatencyMS&&(l.acceptableLatency=t.secondaryAcceptableLatencyMS),1==t.connectWithNoPrimary&&(l.secondaryOnlyConnectionAllowed=!0),l.disconnectHandler=c,t.sslCA&&(l.ca=t.sslCA),\"boolean\"==typeof t.sslValidate&&(l.rejectUnauthorized=t.sslValidate),t.sslKey&&(l.key=t.sslKey),t.sslCert&&(l.cert=t.sslCert),t.sslPass&&(l.passphrase=t.sslPass),t.checkServerIdentity&&(l.checkServerIdentity=t.checkServerIdentity);var b=new h(u,l);b.on(\"reconnect\",function(){n.emit(\"reconnect\"),c.execute()}),this.s={replset:b,sCapabilities:null,tag:t.tag,storeOptions:s,clonedOptions:l,store:c,options:t},m&&Object.defineProperty(this,\"replset\",{enumerable:!0,get:function(){return b}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return b.lastIsMaster()}}),Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return b.bson}}),Object.defineProperty(this,\"haInterval\",{enumerable:!0,get:function(){return b.haInterval}})};i(y,r);var b=y.define=new d(\"ReplSet\",y,!1),x=function(e){return\"string\"==typeof e.readPreference?e.readPreference=new m(e.readPreference):e.readPreference instanceof u&&(e.readPreference=new m(e.readPreference.mode,e.readPreference.tags)),e};y.prototype.parserType=function(){return this.s.replset.parserType()},b.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),y.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},o=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.replset.removeAllListeners(e)}),r.s.replset.once(\"timeout\",i(\"timeout\")),r.s.replset.once(\"error\",i(\"error\")),r.s.replset.once(\"close\",i(\"close\"));var e=function(e){return function(t,n){r.emit(e,t,n)}},t=function(e){return function(t,n){r.emit(e,t,n.lastIsMaster(),n)}},o=function(e,t){r.emit(\"ha\",e,t),\"start\"==e?r.emit(\"ha_connect\",e,t):\"end\"==e&&r.emit(\"ha_ismaster\",e,t)};r.s.replset.on(\"joined\",t(\"joined\")),r.s.replset.on(\"left\",e(\"left\")),r.s.replset.on(\"ping\",e(\"ping\")),r.s.replset.on(\"ha\",o),r.s.replset.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.replset.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.replset.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.replset.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.replset.on(\"serverOpening\",e(\"serverOpening\")),r.s.replset.on(\"serverClosed\",e(\"serverClosed\")),r.s.replset.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.replset.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.replset.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.s.replset.on(\"fullsetup\",function(e){r.emit(\"fullsetup\",null,r)}),r.s.replset.on(\"all\",function(e){r.emit(\"all\",null,r)}),r.emit(\"open\",null,r);try{n(null,r)}catch(a){process.nextTick(function(){throw a})}},a=function(e){return function(e){[\"timeout\",\"error\",\"close\"].forEach(function(e){r.s.replset.removeListener(e,a)}),r.s.replset.removeListener(\"connect\",a),r.s.replset.destroy();try{n(e)}catch(e){r.s.replset.isConnected()||process.nextTick(function(){throw e})}}};r.s.replset.once(\"timeout\",a(\"timeout\")),\nr.s.replset.once(\"error\",a(\"error\")),r.s.replset.once(\"close\",a(\"close\")),r.s.replset.once(\"connect\",o),r.s.replset.connect(t)},y.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.replset.lastIsMaster()?null:(this.s.sCapabilities=new l(this.s.replset.lastIsMaster()),this.s.sCapabilities)},b.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[l]}),y.prototype.command=function(e,t,n,r){n=x(n),this.s.replset.command(e,t,n,r)},b.classMethod(\"command\",{callback:!0,promise:!1}),y.prototype.insert=function(e,t,n,r){this.s.replset.insert(e,t,n,r)},b.classMethod(\"insert\",{callback:!0,promise:!1}),y.prototype.update=function(e,t,n,r){this.s.replset.update(e,t,n,r)},b.classMethod(\"update\",{callback:!0,promise:!1}),y.prototype.remove=function(e,t,n,r){this.s.replset.remove(e,t,n,r)},b.classMethod(\"remove\",{callback:!0,promise:!1}),y.prototype.isDestroyed=function(){return this.s.replset.isDestroyed()},y.prototype.isConnected=function(){return this.s.replset.isConnected()},b.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),y.prototype.setBSONParserType=function(e){return this.s.replset.setBSONParserType(e)},y.prototype.cursor=function(e,t,n){return n=x(n),n.disconnectHandler=this.s.store,this.s.replset.cursor(e,t,n)},b.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),y.prototype.lastIsMaster=function(){return this.s.replset.lastIsMaster()},y.prototype.close=function(e){var t=this;this.s.replset.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush());var n=[\"timeout\",\"error\",\"close\",\"joined\",\"left\"];n.forEach(function(e){t.removeAllListeners(e)})},b.classMethod(\"close\",{callback:!1,promise:!1}),y.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.replset.auth.apply(this.s.replset,e)},b.classMethod(\"auth\",{callback:!0,promise:!1}),y.prototype.connections=function(){return this.s.replset.connections()},b.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=y},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./mongos\":233,\"./read_preference\":234,\"./server\":236,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],236:[function(e,t,n){\"use strict\";var r=e(\"events\").EventEmitter,i=e(\"util\").inherits,o=e(\"mongodb-core\").Server,a=e(\"./cursor\"),s=e(\"./aggregation_cursor\"),c=e(\"./command_cursor\"),u=(e(\"util\").format,e(\"./topology_base\").ServerCapabilities),p=e(\"./topology_base\").Store,l=e(\"./metadata\"),f=e(\"mongodb-core\").MongoError,d=e(\"./utils\").shallowClone,h=e(\"./utils\").MAX_JS_INT,m=function(e,t,n){if(n=n||{},!(this instanceof m))return new m(e,t,n);r.call(this);var i=this,s={force:!1,bufferMaxEntries:-1};-1==s.bufferMaxEntries&&(s.bufferMaxEntries=h);var c=n.store||new p(i,s);if(-1!=e.indexOf(\"/\"))null!=t&&\"object\"==typeof t&&(n=t,t=null);else if(null==t)throw f.create({message:\"port must be specified\",driver:!0});var u=d(n);u.host=e,u.port=t;var l=\"boolean\"==typeof n.auto_reconnect?n.auto_reconnect:!0;l=\"boolean\"==typeof n.autoReconnect?n.autoReconnect:l;var v=\"boolean\"==typeof n.emitError?n.emitError:!0,g=\"number\"==typeof n.poolSize?n.poolSize:5;n.socketOptions&&(n.socketOptions.connectTimeoutMS&&(this.connectTimeoutMS=n.socketOptions.connectTimeoutMS,u.connectionTimeout=n.socketOptions.connectTimeoutMS),n.socketOptions.socketTimeoutMS&&(u.socketTimeout=n.socketOptions.socketTimeoutMS),\"number\"==typeof n.socketOptions.keepAlive&&(u.keepAliveInitialDelay=n.socketOptions.keepAlive,u.keepAlive=!0),\"boolean\"==typeof n.socketOptions.noDelay&&(u.noDelay=n.socketOptions.noDelay)),u.cursorFactory=a,u.reconnect=l,u.emitError=v,u.size=g,u.sslCA&&(u.ca=u.sslCA),\"boolean\"==typeof u.sslValidate&&(u.rejectUnauthorized=u.sslValidate),u.sslKey&&(u.key=u.sslKey),u.sslCert&&(u.cert=u.sslCert),u.sslPass&&(u.passphrase=u.sslPass),u.disconnectHandler=c;var y=new o(u);this.s={server:y,sCapabilities:null,clonedOptions:u,reconnect:l,emitError:v,poolSize:g,storeOptions:s,store:c,host:e,port:t,options:n},Object.defineProperty(this,\"bson\",{enumerable:!0,get:function(){return i.s.server.bson}}),Object.defineProperty(this,\"isMasterDoc\",{enumerable:!0,get:function(){return i.s.server.lastIsMaster()}}),Object.defineProperty(this,\"poolSize\",{enumerable:!0,get:function(){return i.s.server.connections().length}}),Object.defineProperty(this,\"autoReconnect\",{enumerable:!0,get:function(){return i.s.reconnect}}),Object.defineProperty(this,\"host\",{enumerable:!0,get:function(){return i.s.host}}),Object.defineProperty(this,\"port\",{enumerable:!0,get:function(){return i.s.port}})};i(m,r);var v=m.define=new l(\"Server\",m,!1);m.prototype.parserType=function(){return this.s.server.parserType()},v.classMethod(\"parserType\",{callback:!1,promise:!1,returns:[String]}),m.prototype.connect=function(e,t,n){var r=this;\"function\"==typeof t&&(n=t,t={}),null==t&&(t={}),\"function\"!=typeof n&&(n=null),r.s.options=t,r.s.storeOptions.bufferMaxEntries=e.bufferMaxEntries;var i=function(e){return function(e){var t=[\"timeout\",\"error\",\"close\"];t.forEach(function(e){r.s.server.removeListener(e,u[e])}),r.s.server.removeListener(\"connect\",i);try{n(e)}catch(e){process.nextTick(function(){throw e})}}},o=function(e){return function(t){\"error\"!=e&&r.emit(e,t)}},a=function(e){r.emit(\"reconnect\",r),r.s.store.execute()},s=function(){r.s.store.flush()},c=function(){[\"timeout\",\"error\",\"close\",\"serverOpening\",\"serverDescriptionChanged\",\"serverHeartbeatStarted\",\"serverHeartbeatSucceeded\",\"serverHearbeatFailed\",\"serverClosed\",\"topologyOpening\",\"topologyClosed\",\"topologyDescriptionChanged\"].forEach(function(e){r.s.server.removeAllListeners(e)}),r.s.server.once(\"timeout\",o(\"timeout\")),r.s.server.once(\"error\",o(\"error\")),r.s.server.on(\"close\",o(\"close\")),r.s.server.once(\"destroy\",s);var e=function(e){return function(t,n){r.emit(e,t,n)}};r.s.server.on(\"serverDescriptionChanged\",e(\"serverDescriptionChanged\")),r.s.server.on(\"serverHeartbeatStarted\",e(\"serverHeartbeatStarted\")),r.s.server.on(\"serverHeartbeatSucceeded\",e(\"serverHeartbeatSucceeded\")),r.s.server.on(\"serverHearbeatFailed\",e(\"serverHearbeatFailed\")),r.s.server.on(\"serverOpening\",e(\"serverOpening\")),r.s.server.on(\"serverClosed\",e(\"serverClosed\")),r.s.server.on(\"topologyOpening\",e(\"topologyOpening\")),r.s.server.on(\"topologyClosed\",e(\"topologyClosed\")),r.s.server.on(\"topologyDescriptionChanged\",e(\"topologyDescriptionChanged\")),r.emit(\"open\",null,r);try{n(null,r)}catch(t){console.log(t.stack),process.nextTick(function(){throw t})}},u={timeout:i(\"timeout\"),error:i(\"error\"),close:i(\"close\")};r.s.server.once(\"timeout\",u.timeout),r.s.server.once(\"error\",u.error),r.s.server.once(\"close\",u.close),r.s.server.once(\"connect\",c),r.s.server.on(\"reconnect\",a),r.s.server.connect(t)},m.prototype.capabilities=function(){return this.s.sCapabilities?this.s.sCapabilities:null==this.s.server.lastIsMaster()?null:(this.s.sCapabilities=new u(this.s.server.lastIsMaster()),this.s.sCapabilities)},v.classMethod(\"capabilities\",{callback:!1,promise:!1,returns:[u]}),m.prototype.command=function(e,t,n,r){this.s.server.command(e,t,n,r)},v.classMethod(\"command\",{callback:!0,promise:!1}),m.prototype.insert=function(e,t,n,r){this.s.server.insert(e,t,n,r)},v.classMethod(\"insert\",{callback:!0,promise:!1}),m.prototype.update=function(e,t,n,r){this.s.server.update(e,t,n,r)},v.classMethod(\"update\",{callback:!0,promise:!1}),m.prototype.remove=function(e,t,n,r){this.s.server.remove(e,t,n,r)},v.classMethod(\"remove\",{callback:!0,promise:!1}),m.prototype.isConnected=function(){return this.s.server.isConnected()},m.prototype.isDestroyed=function(){return this.s.server.isDestroyed()},v.classMethod(\"isConnected\",{callback:!1,promise:!1,returns:[Boolean]}),m.prototype.cursor=function(e,t,n){return n.disconnectHandler=this.s.store,this.s.server.cursor(e,t,n)},v.classMethod(\"cursor\",{callback:!1,promise:!1,returns:[a,s,c]}),m.prototype.setBSONParserType=function(e){return this.s.server.setBSONParserType(e)},m.prototype.lastIsMaster=function(){return this.s.server.lastIsMaster()},m.prototype.close=function(e){this.s.server.destroy(),1==e&&(this.s.storeOptions.force=e,this.s.store.flush())},v.classMethod(\"close\",{callback:!1,promise:!1}),m.prototype.auth=function(){var e=Array.prototype.slice.call(arguments,0);this.s.server.auth.apply(this.s.server,e)},v.classMethod(\"auth\",{callback:!0,promise:!1}),m.prototype.connections=function(){return this.s.server.connections()},v.classMethod(\"connections\",{callback:!1,promise:!1,returns:[Array]}),t.exports=m},{\"./aggregation_cursor\":217,\"./command_cursor\":223,\"./cursor\":224,\"./metadata\":231,\"./topology_base\":237,\"./utils\":239,events:void 0,\"mongodb-core\":188,util:void 0}],237:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=e(\"util\").format,o=function(e,t){var n=this,r=[];t=t||{force:!1,bufferMaxEntries:-1},this.s={storedOps:r,storeOptions:t,topology:e},Object.defineProperty(this,\"length\",{enumerable:!0,get:function(){return n.s.storedOps.length}})};o.prototype.add=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,n:t,o:n,op:o,c:a})},o.prototype.addObjectAndMethod=function(e,t,n,o,a){if(this.s.storeOptions.force)return a(r.create({message:\"db closed by application\",driver:!0}));if(0==this.s.storeOptions.bufferMaxEntries)return a(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}));if(this.s.storeOptions.bufferMaxEntries>0&&this.s.storedOps.length>this.s.storeOptions.bufferMaxEntries)for(;this.s.storedOps.length>0;){var s=this.s.storedOps.shift();s.c(r.create({message:i(\"no connection available for operation and number of stored operation > %s\",this.s.storeOptions.bufferMaxEntries),driver:!0}))}else this.s.storedOps.push({t:e,m:n,o:t,p:o,c:a})},o.prototype.flush=function(){for(;this.s.storedOps.length>0;)this.s.storedOps.shift().c(r.create({message:i(\"no connection available for operation\"),driver:!0}))},o.prototype.execute=function(){var e=this.s.storedOps;for(this.s.storedOps=[];e.length>0;){var t=e.shift();\"cursor\"==t.t?t.o[t.m].apply(t.o,t.p):this.s.topology[t.t](t.n,t.o,t.op,t.c)}},o.prototype.all=function(){return this.s.storedOps};var a=function(e){var t=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},n=!1,r=!1,i=!1,o=!1,a=!1,s=!1,c=e.maxWriteBatchSize||1e3;e.minWireVersion>=0&&(i=!0),e.maxWireVersion>=1&&(n=!0,o=!0),e.maxWireVersion>=2&&(r=!0),e.maxWireVersion>=3&&(a=!0,s=!0),null==e.minWireVersion&&(e.minWireVersion=0),null==e.maxWireVersion&&(e.maxWireVersion=0),t(this,\"hasAggregationCursor\",n),t(this,\"hasWriteCommands\",r),t(this,\"hasTextSearch\",i),t(this,\"hasAuthCommands\",o),t(this,\"hasListCollectionsCommand\",a),t(this,\"hasListIndexesCommand\",s),t(this,\"minWireVersion\",e.minWireVersion),t(this,\"maxWireVersion\",e.maxWireVersion),t(this,\"maxNumberOfDocsInBatch\",c)};n.Store=o,n.ServerCapabilities=a},{\"mongodb-core\":188,util:void 0}],238:[function(e,t,n){\"use strict\";var r=e(\"./read_preference\"),i=e(\"url\"),o=e(\"util\").format;t.exports=function(e,t){t=t||{};var n=\"\",a=\"\",s=\"\",c=\"admin\",u=i.parse(e,!0);if(\"mongodb:\"!=u.protocol)throw new Error(\"invalid schema, expected mongodb\");if((null==u.hostname||\"\"==u.hostname)&&-1==e.indexOf(\".sock\"))throw new Error(\"no hostname or hostnames provided in connection string\");if(\"0\"==u.port)throw new Error(\"invalid port (zero) with hostname\");if(!isNaN(parseInt(u.port,10))&&parseInt(u.port,10)>65535)throw new Error(\"invalid port (larger than 65535) with hostname\");if(u.path&&u.path.length>0&&\"/\"!=u.path[0]&&-1==e.indexOf(\".sock\"))throw new Error(\"missing delimiting slash between hosts and options\");if(u.query)for(var p in u.query){if(-1!=p.indexOf(\"::\"))throw new Error(\"double colon in host identifier\");if(\"\"==u.query[p])throw new Error(\"query parameter \"+p+\" is an incomplete value pair\")}if(u.auth){var l=u.auth.split(\":\");if(-1!=e.indexOf(u.auth)&&l.length>2)throw new Error(\"Username with password containing an unescaped colon\");if(-1!=e.indexOf(u.auth)&&-1!=u.auth.indexOf(\"@\"))throw new Error(\"Username containing an unescaped at-sign\")}for(var f=e.split(\"?\").shift(),d=f.split(\",\"),h=[],m=0;m<d.length;m++){var v=d[m];-1!=v.indexOf(\"mongodb\")?-1!=v.indexOf(\"@\")?h.push(v.split(\"@\").pop()):h.push(v.substr(\"mongodb://\".length)):-1!=v.indexOf(\"/\")?h.push(v.split(\"/\").shift()):-1==v.indexOf(\"/\")&&h.push(v.trim())}for(var m=0;m<h.length;m++){var g=i.parse(o(\"mongodb://%s\",h[m].trim()));if(g.path&&-1!=g.path.indexOf(\":\"))throw new Error(\"double colon in host identifier\")}if(-1!=e.indexOf(\"?\")?(s=e.substr(e.indexOf(\"?\")+1),n=e.substring(\"mongodb://\".length,e.indexOf(\"?\"))):n=e.substring(\"mongodb://\".length),-1!=n.indexOf(\"@\")&&(a=n.split(\"@\")[0],n=n.split(\"@\")[1]),-1!=n.indexOf(\".sock\")){if(-1!=n.indexOf(\".sock/\")){if(c=n.split(\".sock/\")[1],-1!=c.indexOf(\"/\")){if(2==c.split(\"/\").length&&0==c.split(\"/\")[1].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}n=n.split(\"/\",n.indexOf(\".sock\")+\".sock\".length)}}else if(-1!=n.indexOf(\"/\")){if(n.split(\"/\").length>2){if(0==n.split(\"/\")[2].length)throw new Error(\"Illegal trailing backslash after database name\");throw new Error(\"More than 1 database name in URL\")}c=n.split(\"/\")[1],n=n.split(\"/\")[0]}var y={},b=a||\"\",x=b.split(\":\",2);x[0]=decodeURIComponent(x[0]),x[1]&&(x[1]=decodeURIComponent(x[1])),2==x.length&&(y.auth={user:x[0],password:x[1]});var w,_,k,j={socketOptions:{}},S={read_preference_tags:[]},E={socketOptions:{}},O={socketOptions:{}};if(y.server_options=j,y.db_options=S,y.rs_options=E,y.mongos_options=O,e.match(/\\.sock/)){var A=e.substring(e.indexOf(\"mongodb://\")+\"mongodb://\".length,e.lastIndexOf(\".sock\")+\".sock\".length);-1!=A.indexOf(\"@\")&&(A=A.split(\"@\")[1]),k=[{domain_socket:A}]}else{w=n;var C={};k=w.split(\",\").map(function(e){var t,n,r;if(r=/\\[([^\\]]+)\\](?:\\:(.+))?/.exec(e))t=r[1],n=parseInt(r[2],10)||27017;else{var i=e.split(\":\",2);t=i[0]||\"localhost\",n=null!=i[1]?parseInt(i[1],10):27017,-1!=t.indexOf(\"?\")&&(t=t.split(/\\?/)[0])}return C[t+\"_\"+n]?null:(C[t+\"_\"+n]=1,{host:t,port:n})}).filter(function(e){return null!=e})}if(y.dbName=c||\"admin\",_=(s||\"\").split(/[&;]/),_.forEach(function(e){if(e){var t=e.split(\"=\"),n=t[0],i=t[1];switch(n){case\"slaveOk\":case\"slave_ok\":j.slave_ok=\"true\"==i,S.slaveOk=\"true\"==i;break;case\"maxPoolSize\":case\"poolSize\":j.poolSize=parseInt(i,10),E.poolSize=parseInt(i,10);break;case\"autoReconnect\":case\"auto_reconnect\":j.auto_reconnect=\"true\"==i;break;case\"minPoolSize\":throw new Error(\"minPoolSize not supported\");case\"maxIdleTimeMS\":throw new Error(\"maxIdleTimeMS not supported\");case\"waitQueueMultiple\":throw new Error(\"waitQueueMultiple not supported\");case\"waitQueueTimeoutMS\":throw new Error(\"waitQueueTimeoutMS not supported\");case\"uuidRepresentation\":throw new Error(\"uuidRepresentation not supported\");case\"ssl\":if(\"prefer\"==i){j.ssl=i,E.ssl=i,O.ssl=i;break}j.ssl=\"true\"==i,E.ssl=\"true\"==i,O.ssl=\"true\"==i;break;case\"sslValidate\":j.sslValidate=\"true\"==i,E.sslValidate=\"true\"==i,O.sslValidate=\"true\"==i;break;case\"replicaSet\":case\"rs_name\":E.rs_name=i;break;case\"reconnectWait\":E.reconnectWait=parseInt(i,10);break;case\"retries\":E.retries=parseInt(i,10);break;case\"readSecondary\":case\"read_secondary\":E.read_secondary=\"true\"==i;break;case\"fsync\":S.fsync=\"true\"==i;break;case\"journal\":S.j=\"true\"==i;break;case\"safe\":S.safe=\"true\"==i;break;case\"nativeParser\":case\"native_parser\":S.native_parser=\"true\"==i;break;case\"readConcernLevel\":S.readConcern={level:i};break;case\"connectTimeoutMS\":j.socketOptions.connectTimeoutMS=parseInt(i,10),E.socketOptions.connectTimeoutMS=parseInt(i,10),O.socketOptions.connectTimeoutMS=parseInt(i,10);break;case\"socketTimeoutMS\":j.socketOptions.socketTimeoutMS=parseInt(i,10),E.socketOptions.socketTimeoutMS=parseInt(i,10),O.socketOptions.socketTimeoutMS=parseInt(i,10);break;case\"w\":S.w=parseInt(i,10),isNaN(S.w)&&(S.w=i);break;case\"authSource\":S.authSource=i;break;case\"gssapiServiceName\":S.gssapiServiceName=i;break;case\"authMechanism\":if(\"GSSAPI\"==i)if(null==y.auth){var o=decodeURIComponent(b);if(-1==o.indexOf(\"@\"))throw new Error(\"GSSAPI requires a provided principal\");y.auth={user:o,password:null}}else y.auth.user=decodeURIComponent(y.auth.user);else\"MONGODB-X509\"==i&&(y.auth={user:decodeURIComponent(b)});if(\"GSSAPI\"!=i&&\"MONGODB-X509\"!=i&&\"MONGODB-CR\"!=i&&\"DEFAULT\"!=i&&\"SCRAM-SHA-1\"!=i&&\"PLAIN\"!=i)throw new Error(\"only DEFAULT, GSSAPI, PLAIN, MONGODB-X509, SCRAM-SHA-1 or MONGODB-CR is supported by authMechanism\");S.authMechanism=i;break;case\"authMechanismProperties\":var a=i.split(\",\"),s={};a.forEach(function(e){var t=e.split(\":\");s[t[0]]=t[1]}),S.authMechanismProperties=s,\"string\"==typeof s.SERVICE_NAME&&(S.gssapiServiceName=s.SERVICE_NAME),\"string\"==typeof s.SERVICE_REALM&&(S.gssapiServiceRealm=s.SERVICE_REALM),\"string\"==typeof s.CANONICALIZE_HOST_NAME&&(S.gssapiCanonicalizeHostName=\"true\"==s.CANONICALIZE_HOST_NAME);break;case\"wtimeoutMS\":S.wtimeout=parseInt(i,10);break;case\"readPreference\":if(!r.isValid(i))throw new Error(\"readPreference must be either primary/primaryPreferred/secondary/secondaryPreferred/nearest\");S.readPreference=i;break;case\"readPreferenceTags\":i=decodeURIComponent(i);var c={};if(null==i||\"\"==i){S.read_preference_tags.push(c);break}for(var u=i.split(/\\,/),p=0;p<u.length;p++){var l=u[p].trim().split(/\\:/);c[l[0]]=l[1]}S.read_preference_tags.push(c)}}}),0===S.read_preference_tags.length&&(S.read_preference_tags=null),!(-1!=S.w&&0!=S.w||1!=S.journal&&1!=S.fsync&&1!=S.safe))throw new Error(\"w set to -1 or 0 cannot be combined with safe/w/journal/fsync\");return S.readPreference||(S.readPreference=\"primary\"),y.servers=k,y}},{\"./read_preference\":234,url:void 0,util:void 0}],239:[function(e,t,n){\"use strict\";var r=e(\"mongodb-core\").MongoError,i=(e(\"util\").format,function(e){var t={};for(var n in e)t[n]=e[n];return t}),o=function(e,t,n){Object.defineProperty(e,t,{enumerable:!0,get:function(){return n}})},a=n.formatSortValue=function(e){var t=(\"\"+e).toLowerCase();switch(t){case\"ascending\":case\"asc\":case\"1\":return 1;case\"descending\":case\"desc\":case\"-1\":return-1;default:throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\")}},s=n.formattedOrderClause=function(e){var t={};if(null==e)return null;if(Array.isArray(e)){if(0===e.length)return null;for(var n=0;n<e.length;n++)e[n].constructor==String?t[e[n]]=1:t[e[n][0]]=a(e[n][1])}else if(null!=e&&\"object\"==typeof e)t=e;else{if(\"string\"!=typeof e)throw new Error(\"Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]\");t[e]=1}return t},c=function(e){if(\"string\"!=typeof e)throw Error(\"collection name must be a String\");if(!e||-1!=e.indexOf(\"..\"))throw Error(\"collection names cannot be empty\");if(-1!=e.indexOf(\"$\")&&null==e.match(/((^\\$cmd)|(oplog\\.\\$main))/))throw Error(\"collection names must not contain '$'\");if(null!=e.match(/^\\.|\\.$/))throw Error(\"collection names must not start or end with '.'\");if(~e.indexOf(\"\\x00\"))throw new Error(\"collection names cannot contain a null character\")},u=function(e,t,n,r){try{if(null==e)return;return r?e(t,n,r):e(t,n)}catch(t){return process.nextTick(function(){throw t}),!1}return!0},p=function(e){if(e instanceof Error)return e;for(var t=e.err||e.errmsg||e.errMessage||e,n=r.create({message:t,driver:!0}),i=\"object\"==typeof e?Object.keys(e):[],o=0;o<i.length;o++)try{n[i[o]]=e[i[o]]}catch(a){}return n},l=function(e){var t=null;if(\"string\"==typeof e)t=e;else if(Array.isArray(e))t={},e.forEach(function(e){t[e]=1});else if(null!=e&&\"object\"==typeof e){t={};for(var n in e)t[n]=e[n]}return t},f=function(e){var t,n={},r=[];return\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?e.forEach(function(e){\"string\"==typeof e?(r.push(e+\"_1\"),n[e]=1):Array.isArray(e)?(r.push(e[0]+\"_\"+(e[1]||1)),n[e[0]]=e[1]||1):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]}))}):d(e)&&(t=Object.keys(e),t.forEach(function(t){r.push(t+\"_\"+e[t]),n[t]=e[t]})),{name:r.join(\"_\"),keys:t,fieldHash:n}},d=n.isObject=function(e){return\"[object Object]\"==toString.call(e)},h=function(e,t){var n={};return e.forEach(function(e){n[e]=t[e]}),n},m=function(e,t,n){for(var r in t)null==n[r]&&(e[r]=t[r]);return e};n.shallowClone=i,n.getSingleProperty=o,n.checkCollectionName=c,n.toError=p,n.formattedOrderClause=s,n.parseIndexOptions=f,n.normalizeHintField=l,n.handleCallback=u,n.decorateCommand=m,n.isObject=d,n.debugOptions=h,n.MAX_JS_INT=9007199254740992},{\"mongodb-core\":188,util:void 0}],240:[function(e,t,n){t.exports=Array.isArray||function(e){return\"[object Array]\"==Object.prototype.toString.call(e)}},{}],241:[function(e,t,n){function r(e){return this instanceof r?(c.call(this,e),u.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||process.nextTick(this.end.bind(this))}function o(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}t.exports=r;var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t},s=e(\"core-util-is\");s.inherits=e(\"inherits\");var c=e(\"./_stream_readable\"),u=e(\"./_stream_writable\");s.inherits(r,c),o(a(u.prototype),function(e){r.prototype[e]||(r.prototype[e]=u.prototype[e])})},{\"./_stream_readable\":243,\"./_stream_writable\":245,\"core-util-is\":77,inherits:157}],242:[function(e,t,n){function r(e){return this instanceof r?void i.call(this,e):new r(e)}t.exports=r;var i=e(\"./_stream_transform\"),o=e(\"core-util-is\");o.inherits=e(\"inherits\"),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},{\"./_stream_transform\":244,\"core-util-is\":77,inherits:157}],243:[function(e,t,n){function r(t,n){t=t||{};var r=t.highWaterMark;this.highWaterMark=r||0===r?r:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=e(\"string_decoder/\").StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function i(e){return this instanceof i?(this._readableState=new r(e,this),this.readable=!0,void E.call(this)):new i(e)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n||void 0===n)t.reading=!1,t.ended||p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else!t.decoder||i||r||(n=t.decoder.write(n)),t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):(t.reading=!1,t.buffer.push(n)),t.needReadable&&l(e),d(e,t);else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){if(e>=C)e=C;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return j.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(t.decoder&&!t.ended){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.length>0?l(e):x(e)}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,t.sync?process.nextTick(function(){f(e)}):f(e))}function f(e){e.emit(\"readable\")}function d(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(function(){h(e,t)}))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;t.awaitDrain--,0===t.awaitDrain&&v(e)}}function v(e){function t(e,t,i){var o=e.write(n);!1===o&&r.awaitDrain++}var n,r=e._readableState;for(r.awaitDrain=0;r.pipesCount&&null!==(n=e.read());)if(1===r.pipesCount?t(r.pipes,0,null):w(r.pipes,t),e.emit(\"data\",n),r.awaitDrain>0)return;return 0===r.pipesCount?(r.flowing=!1,void(S.listenerCount(e,\"data\")>0&&y(e))):void(r.ranOut=!0)}function g(){this._readableState.ranOut&&(this._readableState.ranOut=!1,v(this))}function y(e,t){var n=e._readableState;if(n.flowing)throw new Error(\"Cannot switch to old mode now.\");var r=t||!1,i=!1;e.readable=!0,e.pipe=E.prototype.pipe,e.on=e.addListener=E.prototype.on,e.on(\"readable\",function(){i=!0;for(var t;!r&&null!==(t=e.read());)e.emit(\"data\",t);null===t&&(i=!1,e._readableState.needReadable=!0)}),e.pause=function(){r=!0,this.emit(\"pause\")},e.resume=function(){r=!1,i?process.nextTick(function(){e.emit(\"readable\")}):this.read(0),this.emit(\"resume\")},e.emit(\"readable\")}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):j.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new j(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function x(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");!t.endEmitted&&t.calledRead&&(t.ended=!0,process.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit(\"end\"))}))}function w(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function _(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var k=e(\"isarray\"),j=e(\"buffer\").Buffer;i.ReadableState=r;var S=e(\"events\").EventEmitter;S.listenerCount||(S.listenerCount=function(e,t){return e.listeners(t).length});var E=e(\"stream\"),O=e(\"core-util-is\");O.inherits=e(\"inherits\");var A;O.inherits(i,E),i.prototype.push=function(e,t){var n=this._readableState;return\"string\"!=typeof e||n.objectMode||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new j(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.setEncoding=function(t){A||(A=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new A(t),this._readableState.encoding=t};var C=8388608;i.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var n,r=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return l(this),null;if(e=c(e,t),0===e&&t.ended)return n=null,t.length>0&&t.decoder&&(n=b(e,t),t.length-=n.length),0===t.length&&x(this),n;var i=t.needReadable;return t.length-e<=t.highWaterMark&&(i=!0),(t.ended||t.reading)&&(i=!1),i&&(t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=c(r,t)),n=e>0?b(e,t):null,null===n&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),t.ended&&!t.endEmitted&&0===t.length&&x(this),n},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){e===u&&i()}function r(){e.end()}function i(){e.removeListener(\"close\",a),e.removeListener(\"finish\",s),e.removeListener(\"drain\",d),e.removeListener(\"error\",o),e.removeListener(\"unpipe\",n),u.removeListener(\"end\",r),u.removeListener(\"end\",i),e._writableState&&!e._writableState.needDrain||d()}function o(t){c(),e.removeListener(\"error\",o),0===S.listenerCount(e,\"error\")&&e.emit(\"error\",t)}function a(){e.removeListener(\"finish\",s),c()}function s(){e.removeListener(\"close\",a),c()}function c(){u.unpipe(e)}var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1;var l=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,f=l?r:i;p.endEmitted?process.nextTick(f):u.once(\"end\",f),e.on(\"unpipe\",n);var d=m(u);return e.on(\"drain\",d),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on(\"error\",o),e.once(\"close\",a),e.once(\"finish\",s),e.emit(\"pipe\",u),p.flowing||(this.on(\"readable\",g),p.flowing=!0,process.nextTick(function(){v(u)})),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener(\"readable\",g),t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var i=_(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if(\"data\"!==e||this._readableState.flowing||y(this),\"readable\"===e&&this.readable){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):this.read(0))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){y(this),this.read(0),this.emit(\"resume\")},i.prototype.pause=function(){y(this,!0),this.emit(\"pause\")},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)\"function\"==typeof e[i]&&\"undefined\"==typeof this[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return w(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){n&&(n=!1,e.resume())},r},i._fromList=b},{buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:240,stream:void 0,\"string_decoder/\":456}],244:[function(e,t,n){function r(e,t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i&&i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e);var t=(this._transformState=new r(e,this),this);this._readableState.needReadable=!0,this._readableState.sync=!1,this.once(\"finish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=(e._readableState,\ne._transformState);if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}t.exports=o;var s=e(\"./_stream_duplex\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\"),c.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{\"./_stream_duplex\":241,\"core-util-is\":77,inherits:157}],245:[function(e,t,n){function r(e,t,n){this.chunk=e,this.encoding=t,this.callback=n}function i(e,t){e=e||{};var n=e.highWaterMark;this.highWaterMark=n||0===n?n:16384,this.objectMode=!!e.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var r=e.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(t,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(t){var n=e(\"./_stream_duplex\");return this instanceof o||this instanceof n?(this._writableState=new i(t,this),this.writable=!0,void _.call(this)):new o(t)}function a(e,t,n){var r=new Error(\"write after end\");e.emit(\"error\",r),process.nextTick(function(){n(r)})}function s(e,t,n,r){var i=!0;if(!x.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),process.nextTick(function(){r(o)}),i=!1}return i}function c(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new x(t,n)),t}function u(e,t,n,i,o){n=c(t,n,i),x.isBuffer(n)&&(i=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;return s||(t.needDrain=!0),t.writing?t.buffer.push(new r(n,i,o)):p(e,t,a,n,i,o),s}function p(e,t,n,r,i,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1}function l(e,t,n,r,i){n?process.nextTick(function(){i(r)}):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function f(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(f(n),t)l(e,n,r,t,i);else{var o=g(e,n);o||n.bufferProcessing||!n.buffer.length||v(e,n),r?process.nextTick(function(){h(e,n,o,i)}):h(e,n,o,i)}}function h(e,t,n,r){n||m(e,t),r(),n&&y(e,t)}function m(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function v(e,t){t.bufferProcessing=!0;for(var n=0;n<t.buffer.length;n++){var r=t.buffer[n],i=r.chunk,o=r.encoding,a=r.callback,s=t.objectMode?1:i.length;if(p(e,t,s,i,o,a),t.writing){n++;break}}t.bufferProcessing=!1,n<t.buffer.length?t.buffer=t.buffer.slice(n):t.buffer.length=0}function g(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function y(e,t){var n=g(e,t);return n&&(t.finished=!0,e.emit(\"finish\")),n}function b(e,t,n){t.ending=!0,y(e,t),n&&(t.finished?process.nextTick(n):e.once(\"finish\",n)),t.ended=!0}t.exports=o;var x=e(\"buffer\").Buffer;o.WritableState=i;var w=e(\"core-util-is\");w.inherits=e(\"inherits\");var _=e(\"stream\");w.inherits(o,_),o.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},o.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return\"function\"==typeof t&&(n=t,t=null),x.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=function(){}),r.ended?a(this,r,n):s(this,r,e,n)&&(i=u(this,r,e,t,n)),i},o.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},o.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),\"undefined\"!=typeof e&&null!==e&&this.write(e,t),r.ending||r.finished||b(this,r,n)}},{\"./_stream_duplex\":241,buffer:void 0,\"core-util-is\":77,inherits:157,stream:void 0}],246:[function(e,t,n){n=t.exports=e(\"./lib/_stream_readable.js\"),n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":241,\"./lib/_stream_passthrough.js\":242,\"./lib/_stream_readable.js\":243,\"./lib/_stream_transform.js\":244,\"./lib/_stream_writable.js\":245}],247:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":271}],248:[function(e,t,n){function r(){throw new Error(\"Can't use ES6 promise with mpromise style constructor\")}r.use=function(e){r.ES6=e},t.exports=r},{}],249:[function(e,t,n){function r(){this._pipeline=[],this._model=void 0,this.options=void 0,1===arguments.length&&a.isArray(arguments[0])?this.append.apply(this,arguments[0]):this.append.apply(this,arguments)}function i(e){var t;return\"object\"!=typeof e?!1:(t=Object.keys(e),1===t.length&&t.some(function(e){return\"$\"===e[0]}))}function o(e){var t=e._model.schema,n=t&&t.discriminatorMapping;if(n&&!n.isRoot){var r=e._pipeline,i=n.key,o=n.value;if(r[0]&&r[0].$match&&!r[0].$match[i])r[0].$match[i]=o;else if(r[0]&&r[0].$geoNear)r[0].$geoNear.query=r[0].$geoNear.query||{},r[0].$geoNear.query[i]=o;else{var a={};a[i]=o,e._pipeline=[{$match:a}].concat(r)}}}var a=e(\"util\"),s=e(\"./utils\"),c=e(\"./promise_provider\"),u=e(\"./query\"),p=u.prototype.read;r.prototype.model=function(e){return this._model=e,this},r.prototype.append=function(){var e=1===arguments.length&&a.isArray(arguments[0])?arguments[0]:s.args(arguments);if(!e.every(i))throw new Error(\"Arguments must be aggregate pipeline operators\");return this._pipeline=this._pipeline.concat(e),this},r.prototype.project=function(e){var t={};if(\"object\"!=typeof e||a.isArray(e)){if(1!==arguments.length||\"string\"!=typeof e)throw new Error(\"Invalid project() argument. Must be string or object\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?0:1;0===n&&(e=e.substring(1)),t[e]=n}})}else Object.keys(e).forEach(function(n){t[n]=e[n]});return this.append({$project:t})},r.prototype.near=function(e){var t={};return t.$geoNear=e,this.append(t)},\"group match skip limit out\".split(\" \").forEach(function(e){r.prototype[e]=function(t){var n={};return n[\"$\"+e]=t,this.append(n)}}),r.prototype.unwind=function(){var e=s.args(arguments);return this.append.apply(this,e.map(function(e){return{$unwind:e&&\"$\"===e.charAt(0)?e:\"$\"+e}}))},r.prototype.lookup=function(e){return this.append({$lookup:e})},r.prototype.sample=function(e){return this.append({$sample:{size:e}})},r.prototype.sort=function(e){var t={};if(\"Object\"===e.constructor.name){var n=[\"desc\",\"descending\",-1];Object.keys(e).forEach(function(r){t[r]=-1===n.indexOf(e[r])?1:-1})}else{if(1!==arguments.length||\"string\"!=typeof e)throw new TypeError(\"Invalid sort() argument. Must be a string or object.\");e.split(/\\s+/).forEach(function(e){if(e){var n=\"-\"===e[0]?-1:1;-1===n&&(e=e.substring(1)),t[e]=n}})}return this.append({$sort:t})},r.prototype.read=function(e,t){return this.options||(this.options={}),p.call(this,e,t),this},r.prototype.explain=function(e){var t=this,n=c.get();return new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{}).explain(function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},r.prototype.allowDiskUse=function(e){return this.options||(this.options={}),this.options.allowDiskUse=e,this},r.prototype.cursor=function(e){return this.options||(this.options={}),this.options.cursor=e||{},this},r.prototype.exec=function(e){if(!this._model)throw new Error(\"Aggregate not bound to any Model\");var t=this,n=c.get();return this.options&&this.options.cursor?this.options.cursor.async?new n.ES6(function(n){return t._model.collection.buffer?void t._model.collection.emitter.once(\"queue\",function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(null,r)}):void process.nextTick(function(){var r=t._model.collection.aggregate(t._pipeline,t.options||{});n(r),e&&e(r)})}):this._model.collection.aggregate(this._pipeline,this.options||{}):new n.ES6(function(n,r){if(!t._pipeline.length){var i=new Error(\"Aggregate has empty pipeline\");return e&&e(i),void r(i)}o(t),t._model.collection.aggregate(t._pipeline,t.options||{},function(t,i){return t?(e&&e(t),void r(t)):(e&&e(null,i),void n(i))})})},t.exports=r},{\"./promise_provider\":275,\"./query\":276,\"./utils\":302,util:void 0}],250:[function(e,t,n){function r(e,t,n,i,p){if(!(this instanceof r))return new r(e,t,n,i,p);if(u.isObject(t)&&!t.instanceOfSchema&&(t=new s(t)),t=this.schema||t,!this.schema&&t.options._id&&(e=e||{},void 0===e._id&&(e._id=new c)),!t)throw new a.MissingSchemaError;this.$__setSchema(t),this.$__=new l,this.$__.emitter=new o,this.isNew=!0,this.errors=void 0,\"boolean\"==typeof n?(this.$__.strictMode=n,n=void 0):(this.$__.strictMode=this.schema.options&&this.schema.options.strict,this.$__.selected=n);for(var f=this.schema.requiredPaths(),d=0;d<f.length;++d)this.$__.activePaths.require(f[d]);this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,n,i),!p&&e&&this.init(e),this.$__registerHooksFromSchema();for(var h in t.methods)this[h]=t.methods[h];for(var m in t.statics)this[m]=t.statics[m]}var i=e(\"./document\"),o=e(\"events\").EventEmitter,a=e(\"./error\"),s=e(\"./schema\"),c=e(\"./types/objectid\"),u=e(\"./utils\"),p=a.ValidationError,l=e(\"./internal\");r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.ValidationError=p,t.exports=n=r},{\"./document\":253,\"./error\":260,\"./internal\":272,\"./schema\":279,\"./types/objectid\":300,\"./utils\":302,events:void 0}],251:[function(e,t,n){function r(e,t){if(Array.isArray(e))e.forEach(function(n,o){return Array.isArray(n)||i.isObject(n)?r(n,t):void(e[o]=t.castForQuery(n))});else for(var n=Object.keys(e),o=n.length;o--;){var a=n[o],s=e[a];Array.isArray(s)||i.isObject(s)?(r(s,t),e[a]=s):e[a]=t.castForQuery(s)}}var i=e(\"./utils\"),o=e(\"./schema/index\");t.exports=function a(e,t){for(var n,s,c,u,p,l,f=Object.keys(t),d=f.length;d--;)if(u=f[d],l=t[u],\"$or\"===u||\"$nor\"===u||\"$and\"===u)for(var h=l.length;h--;)l[h]=a(e,l[h]);else{if(\"$where\"===u){if(p=typeof l,\"string\"!==p&&\"function\"!==p)throw new Error(\"Must have a string or function for $where\");\"function\"===p&&(t[u]=l.toString());continue}if(\"$elemMatch\"===u)l=a(e,l);else{if(!e)continue;if(s=e.path(u)){if(null===l||void 0===l){t[u]=null;continue}if(\"Object\"===l.constructor.name)if(n=Object.keys(l).some(function(e){return\"$\"===e.charAt(0)&&\"$id\"!==e&&\"$ref\"!==e})){var m,v=Object.keys(l);for(h=v.length;h--;)if(m=v[h],c=l[m],\"$exists\"!==m){if(\"$type\"!==m)\"$not\"===m?a(e,c):l[m]=s.castForQuery(m,c);else if(\"number\"!=typeof c)throw new Error(\"$type parameter must be Number\")}else if(\"boolean\"!=typeof c)throw new Error(\"$exists parameter must be Boolean\")}else t[u]=s.castForQuery(l);else t[u]=s.castForQuery(l)}else{for(var g,y,b,x=u.split(\".\"),w=x.length;w--&&(g=x.slice(0,w).join(\".\"),!(s=e.path(g))););if(s){s.caster&&s.caster.schema?(b={},y=x.slice(w).join(\".\"),b[y]=l,t[u]=a(s.caster.schema,b)[y]):t[u]=l;continue}if(i.isObject(l)){var _=l.$near?\"$near\":l.$nearSphere?\"$nearSphere\":l.$within?\"$within\":l.$geoIntersects?\"$geoIntersects\":\"\";if(!_)continue;var k=new o.Number(\"__QueryCasting__\"),j=l[_];if(l.$maxDistance&&(l.$maxDistance=k.castForQuery(l.$maxDistance)),\"$within\"===_){var S=j.$center||j.$centerSphere||j.$box||j.$polygon;if(!S)throw new Error(\"Bad $within paramater: \"+JSON.stringify(l));j=S}else\"$near\"===_&&\"string\"==typeof j.type&&Array.isArray(j.coordinates)?j=j.coordinates:(\"$near\"===_||\"$nearSphere\"===_||\"$geoIntersects\"===_)&&j.$geometry&&\"string\"==typeof j.$geometry.type&&Array.isArray(j.$geometry.coordinates)&&(j=j.$geometry.coordinates);r(j,k)}}}}return t}},{\"./schema/index\":286,\"./utils\":302}],252:[function(e,t,n){var r=t.exports=n=Object.create(null),i=\"disconnected\",o=\"connected\",a=\"connecting\",s=\"disconnecting\",c=\"unauthorized\",u=\"uninitialized\";r[0]=i,r[1]=o,r[2]=a,r[3]=s,r[4]=c,r[99]=u,r[i]=0,r[o]=1,r[a]=2,r[s]=3,r[c]=4,r[u]=99},{}],253:[function(e,t,n){(function(r){function i(e,t,n){this.$__=new E,this.$__.emitter=new h,this.isNew=!0,this.errors=void 0;var r=this.schema;\"boolean\"==typeof t?(this.$__.strictMode=t,t=void 0):(this.$__.strictMode=r.options&&r.options.strict,this.$__.selected=t);for(var o=r.requiredPaths(!0),a=0;a<o.length;++a)this.$__.activePaths.require(o[a]);if(this.$__.emitter.setMaxListeners(0),this._doc=this.$__buildDoc(e,t,n),e&&(e instanceof i&&(this.isNew=e.isNew),this.set(e,void 0,!0)),!r.options.strict&&e){var s=this,u=Object.keys(this._doc);u.forEach(function(e){e in r.tree||c(e,null,s)})}this.$__registerHooksFromSchema()}function o(e,t,n,r){r=r||\"\";for(var i,a,s,c=Object.keys(t),u=c.length;u--;)if(s=c[u],a=r+s,i=e.schema.path(a),i||!w.isObject(t[s])||t[s].constructor&&\"Object\"!==w.getFunctionName(t[s].constructor)){if(null===t[s])n[s]=null;else if(void 0!==t[s])if(i)try{n[s]=i.cast(t[s],e,!0)}catch(p){e.invalidate(p.path,new x({path:p.path,message:p.message,type:\"cast\",value:p.value}))}else n[s]=t[s];e.isModified(a)||e.$__.activePaths.init(a)}else n[s]||(n[s]={}),o(e,t[s],n[s],a+\".\")}function a(e,t,n,r){for(var i,o,a=Object.keys(e),s=a.length;s--;)o=a[s],i=e[o],c(o,\"Object\"===w.getFunctionName(i.constructor)&&Object.keys(i).length&&(!i[r.typeKey]||\"type\"===r.typeKey&&i.type.type)?i:null,t,n,a,r)}function s(e){var t={};return Object.getOwnPropertyNames(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n),t[n].enumerable=!0}),t}function c(e,t,n,r,o,c){var u=(r?r+\".\":\"\")+e;r=r||\"\",t?Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=this;if(this.$__.getters||(this.$__.getters={}),!this.$__.getters[u]){var n=Object.create(Object.getPrototypeOf(this),s(this));r||(n.$__.scope=this);for(var i=0,p=o.length;p>i;++i)Object.defineProperty(n,o[i],{enumerable:!1,writable:!0,configurable:!0,value:void 0});Object.defineProperty(n,\"toObject\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"toJSON\",{enumerable:!0,configurable:!0,writable:!1,value:function(){return e.get(u)}}),Object.defineProperty(n,\"$__isNested\",{enumerable:!0,configurable:!0,writable:!1,value:!0}),a(t,n,u,c),this.$__.getters[u]=n}return this.$__.getters[u]},set:function(e){return e instanceof i&&(e=e.toObject()),(this.$__.scope||this).set(u,e)}}):Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){return this.get.call(this.$__.scope||this,u)},set:function(e){return this.set.call(this.$__.scope||this,u,e)}})}function u(e){for(var t,n,r,i=Object.keys(e),o=i.length;o--;)n=i[o],r=e[n],w.isObject(r)&&(e[n]=u(r)),void 0!==e[n]?t=!0:delete e[n];return t?e:void 0}function p(e,t,n,r){for(var i,o=e.schema,a=Object.keys(o[n]),s=a.length;s--;){i=a[s];for(var c,u=i.split(\".\"),p=u.length,l=p-1,f=t,d=0;p>d;++d)c=u[d],d===l?f[c]=_(e.get(i),r):f=f[c]||(f[c]={})}return t}var l,f,d,h=e(\"events\").EventEmitter,m=e(\"./error\"),v=e(\"./schema/mixed\"),g=e(\"./schema\"),y=e(\"./error/objectExpected\"),b=e(\"./error/strict\"),x=e(\"./schematype\").ValidatorError,w=e(\"./utils\"),_=w.clone,k=w.isMongooseObject,j=e(\"util\").inspect,S=m.ValidationError,E=e(\"./internal\"),O=w.deepEqual,A=e(\"hooks-fixed\"),C=e(\"./promise_provider\");w.each([\"on\",\"once\",\"emit\",\"listeners\",\"removeListener\",\"setMaxListeners\",\"removeAllListeners\",\"addListener\"],function(e){i.prototype[e]=function(){return this.$__.emitter[e].apply(this.$__.emitter,arguments)}}),i.prototype.constructor=i,i.prototype.schema,i.prototype.isNew,i.prototype.id,i.prototype.errors,i.prototype.$__buildDoc=function(e,t,n){var r,i,o={},a=null,s=this;if(t&&\"Object\"===w.getFunctionName(t.constructor))if(r=Object.keys(t),i=r.length,1===i&&\"_id\"===r[0])a=!!t[r[i]];else for(;i--;)if(\"_id\"!==r[i]&&(!t[r[i]]||\"object\"!=typeof t[r[i]])){a=!t[r[i]];break}for(var c=Object.keys(this.schema.paths),u=c.length,p=0;u>p;++p){var l=c[p];if(\"_id\"===l){if(n)continue;if(e&&\"_id\"in e)continue}for(var f=this.schema.paths[l],d=l.split(\".\"),h=d.length,m=h-1,v=\"\",g=o,y=0,b=!1;h>y;++y){var x,_=d[y];if(v+=_,a===!0){if(v in t)break}else t&&v in t&&(b=!0);if(y===m)if(t&&null!==a)if(a===!0){if(l in t)continue;x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l))}else b&&(x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l)));else x=f.getDefault(s,!0),\"undefined\"!=typeof x&&(g[_]=x,s.$__.activePaths[\"default\"](l));else g=g[_]||(g[_]={}),v+=\".\"}}return o},i.prototype.init=function(e,t,n){if(\"function\"==typeof t&&(n=t,t=null),this.isNew=!1,null!==e._id&&void 0!==e._id&&t&&t.populated&&t.populated.length)for(var r=String(e._id),i=0;i<t.populated.length;++i){var a=t.populated[i];this.populated(a.path,a._docs[r],a)}return o(this,e,this._doc),this.$__storeShard(),this.emit(\"init\",this),n&&n(null),this},i.prototype.$__storeShard=function(){var e=this.schema.options.shardKey||this.schema.options.shardkey;if(e&&\"Object\"===w.getFunctionName(e.constructor))for(var t,n=this.$__.shardval={},r=Object.keys(e),i=r.length,o=0;i>o;++o)t=this.getValue(r[o]),k(t)?n[r[o]]=t.toObject({depopulate:!0}):null===t||void 0===t||!t.valueOf||t.constructor&&\"Date\"===w.getFunctionName(t.constructor)?n[r[o]]=t:n[r[o]]=t.valueOf()};for(var T in A)\"pre\"===T||\"post\"===T?i.prototype[\"$\"+T]=i[\"$\"+T]=A[T]:i.prototype[T]=i[T]=A[T];i.prototype.update=function(){var e=w.args(arguments);return e.unshift({_id:this._id}),this.constructor.update.apply(this.constructor,e)},i.prototype.set=function(e,t,n,r){n&&\"Object\"===w.getFunctionName(n.constructor)&&(r=n,n=void 0);var o,a=r&&r.merge,s=n&&n!==!0,c=n===!0,u=r&&\"strict\"in r?r.strict:this.$__.strictMode;if(s&&(o=this.$__.adhocPaths||(this.$__.adhocPaths={}),o[e]=g.interpretAsType(e,n,this.schema.options)),\"string\"!=typeof e){if(null!==e&&void 0!==e){var p=t?t+\".\":\"\";e instanceof i&&(e=e.$__isNested?e.toObject():e._doc);for(var l,f,d=Object.keys(e),h=d.length;h--;){f=d[h];var x=p+f;if(l=this.schema.pathType(x),null===e[f]||void 0===e[f]||!w.isObject(e[f])||e[f].constructor&&\"Object\"!==w.getFunctionName(e[f].constructor)||\"virtual\"===l||\"real\"===l||this.$__path(x)instanceof v||this.schema.paths[x]&&this.schema.paths[x].options&&this.schema.paths[x].options.ref)if(u){if(c&&void 0===e[f]&&void 0!==this.get(f))continue;if(\"real\"===l||\"virtual\"===l)this.schema.paths[x]&&this.schema.paths[x].$isSingleNested&&e[f]instanceof i&&(e[f]=e[f].toObject({virtuals:!1})),this.set(p+f,e[f],c);else if(\"nested\"===l&&e[f]instanceof i)this.set(p+f,e[f].toObject({virtuals:!1}),c);else if(\"throw\"===u)throw\"nested\"===l?new y(f,e[f]):new b(f)}else void 0!==e[f]&&this.set(p+f,e[f],c);else this.set(e[f],p+f,c)}return this}var _=e;e=t,t=_}var k=this.schema.pathType(e);if(\"nested\"===k&&t)return!w.isObject(t)||t.constructor&&\"Object\"!==w.getFunctionName(t.constructor)?(this.invalidate(e,new m.CastError(\"Object\",t,e)),this):(a||this.setValue(e,null),this.set(t,e,c),this);var j,S=e.split(\".\");if(\"adhocOrUndefined\"===k&&u){var E;for(h=0;h<S.length;++h){var O=S.slice(0,h+1).join(\".\");if(j=this.schema.path(O),j instanceof v){E=!0;break}}if(!E){if(\"throw\"===u)throw new b(e);return this}}else{if(\"virtual\"===k)return j=this.schema.virtualpath(e),j.applySetters(t,this),this;j=this.$__path(e)}var A;if(S.length<=1)A=e;else{for(h=0;h<S.length;++h)if(O=S.slice(0,h+1).join(\".\"),this.isDirectModified(O)||null===this.get(O)){A=O;break}A||(A=e)}var C=c?void 0:this.getValue(e);if(!j)return this.$__set(A,e,c,S,j,t,C),this;var T=!0;try{var I=!1;j.options&&j.options.ref&&t instanceof i&&j.options.ref===t.constructor.modelName&&(this.ownerDocument?this.ownerDocument().populated(this.$__fullPath(e),t._id,{model:t.constructor}):this.populated(e,t._id,{model:t.constructor}),I=!0);var P;j.options&&Array.isArray(j.options.type)&&j.options.type.length&&j.options.type[0].ref&&Array.isArray(t)&&t.length>0&&t[0]instanceof i&&t[0].constructor.modelName&&j.options.type[0].ref===t[0].constructor.modelName&&(this.ownerDocument?(P={model:t[0].constructor},this.ownerDocument().populated(this.$__fullPath(e),t.map(function(e){return e._id}),P)):(P={model:t[0].constructor},this.populated(e,t.map(function(e){return e._id}),P)),I=!0),t=j.applySetters(t,this,!1,C),!I&&this.$__.populated&&delete this.$__.populated[e],this.$markValid(e)}catch(F){var M;F instanceof m.CastError||(M=F),this.invalidate(e,new m.CastError(j.instance,t,e,M)),T=!1}return T&&this.$__set(A,e,c,S,j,t,C),this},i.prototype.$__shouldModify=function(e,t,n,r,o,a,s){return this.isNew?!0:void 0!==a||this.isSelected(t)?void 0===a&&t in this.$__.activePaths.states[\"default\"]?!1:this.populated(t)&&a instanceof i&&O(a._id,s)?!1:O(a,s||this.get(t))?!!(!n&&null!==a&&void 0!==a&&t in this.$__.activePaths.states[\"default\"]&&O(a,o.getDefault(this,n))):!0:!0},i.prototype.$__set=function(t,n,r,i,o,a,s){d=d||e(\"./types/embedded\");var c=this.$__shouldModify(t,n,r,i,o,a,s),u=this;c&&(this.markModified(t,a),f||(f=e(\"./types/array\")),a&&a.isMongooseArray&&(a._registerAtomic(\"$set\",a),this.$__.activePaths.forEach(function(e){0===e.indexOf(n+\".\")&&u.$__.activePaths.ignore(e)})));for(var p=this._doc,l=0,h=i.length;h>l;l++){var m=l+1,v=m===h;v?p[i[l]]=a:p=p[i[l]]&&\"Object\"===w.getFunctionName(p[i[l]].constructor)?p[i[l]]:p[i[l]]&&p[i[l]]instanceof d?p[i[l]]:p[i[l]]&&p[i[l]].$isSingleNested?p[i[l]]:p[i[l]]&&Array.isArray(p[i[l]])?p[i[l]]:p[i[l]]={}}},i.prototype.getValue=function(e){return w.getValue(e,this._doc)},i.prototype.setValue=function(e,t){return w.setValue(e,t,this._doc),this},i.prototype.get=function(e,t){var n;t&&(n=g.interpretAsType(e,t,this.schema.options));for(var r=this.$__path(e)||this.schema.virtualpath(e),i=e.split(\".\"),o=this._doc,a=0,s=i.length;s>a;a++)o=null===o||void 0===o?void 0:o[i[a]];return n&&(o=n.cast(o)),r&&!this.populated(e)&&(o=r.applyGetters(o,this)),o},i.prototype.$__path=function(e){var t=this.$__.adhocPaths,n=t&&t[e];return n?n:this.schema.path(e)},i.prototype.markModified=function(e){this.$__.activePaths.modify(e)},i.prototype.modifiedPaths=function(){var e=Object.keys(this.$__.activePaths.states.modify);return e.reduce(function(e,t){var n=t.split(\".\");return e.concat(n.reduce(function(e,t,r){return e.concat(n.slice(0,r).concat(t).join(\".\"))},[]))},[])},i.prototype.isModified=function(e){return e?!!~this.modifiedPaths().indexOf(e):this.$__.activePaths.some(\"modify\")},i.prototype.$isDefault=function(e){return e in this.$__.activePaths.states[\"default\"]},i.prototype.isDirectModified=function(e){return e in this.$__.activePaths.states.modify},i.prototype.isInit=function(e){return e in this.$__.activePaths.states.init},i.prototype.isSelected=function(e){if(this.$__.selected){if(\"_id\"===e)return 0!==this.$__.selected._id;var t,n=Object.keys(this.$__.selected),r=n.length,i=!1;if(1===r&&\"_id\"===n[0])return 0===this.$__.selected._id;for(;r--;)if(t=n[r],\"_id\"!==t){i=!!this.$__.selected[t];break}if(e in this.$__.selected)return i;r=n.length;for(var o=e+\".\";r--;)if(t=n[r],\"_id\"!==t){if(0===t.indexOf(o))return i;if(0===o.indexOf(t+\".\"))return i}return!i}return!0},i.prototype.validate=function(e,t){var n=this,r=C.get();return\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise?void this.$__validate(t):new r.ES6(function(e,r){n.$__validate(function(n){return t&&t(n),n?void r(n):void e()})})},i.prototype.$__validate=function(e){var t=this,n=function(){var e=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),e){for(var n in e.errors)!t.__parent&&e.errors[n]instanceof m.CastError&&t.invalidate(n,e.errors[n]);return e}},i=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});i=i.concat(Object.keys(this.$__.activePaths.states.init)),i=i.concat(Object.keys(this.$__.activePaths.states.modify)),i=i.concat(Object.keys(this.$__.activePaths.states[\"default\"])),0===i.length&&process.nextTick(function(){var t=n();return t?void e(t):void e()});for(var o={},a=0,s=0;s<i.length;++s){var c=i[s],u=t.getValue(c);if(u&&u.isMongooseArray&&!r.isBuffer(u)&&!u.isMongooseDocumentArray)for(var p=u.length,l=0;p>l;++l)i.push(c+\".\"+l)}var f=function(){var t=n();return t?void e(t):void e()},d=function(e){o[e]||(o[e]=!0,a++,process.nextTick(function(){var n=t.schema.path(e);if(!n)return--a||f();if(!t.$isValid(e))return void(--a||f());var r=t.getValue(e);n.doValidate(r,function(n){n&&t.invalidate(e,n,void 0,!0),--a||f()},t)}))};i.forEach(d)},i.prototype.validateSync=function(e){var t=this;\"string\"==typeof e&&(e=e.split(\" \"));var n=Object.keys(this.$__.activePaths.states.require).filter(function(e){return!(!t.isSelected(e)&&!t.isModified(e))});if(n=n.concat(Object.keys(this.$__.activePaths.states.init)),n=n.concat(Object.keys(this.$__.activePaths.states.modify)),n=n.concat(Object.keys(this.$__.activePaths.states[\"default\"])),e&&e.length){for(var r=[],i=0;i<n.length;++i)-1!==e.indexOf(n[i])&&r.push(n[i]);n=r}var o={};n.forEach(function(e){if(!o[e]){o[e]=!0;var n=t.schema.path(e);if(n&&t.$isValid(e)){var r=t.getValue(e),i=n.doValidateSync(r,t);i&&t.invalidate(e,i,void 0,!0)}}});var a=t.$__.validationError;if(t.$__.validationError=void 0,t.emit(\"validate\",t),a)for(var s in a.errors)a.errors[s]instanceof m.CastError&&t.invalidate(s,a.errors[s]);return a},i.prototype.invalidate=function(e,t,n,r){return this.$__.validationError||(this.$__.validationError=new S(this)),this.$__.validationError.errors[e]?void 0:(t&&\"string\"!=typeof t||(t=new x({path:e,message:t,type:r||\"user defined\",value:n})),this.$__.validationError===t?this.$__.validationError:(this.$__.validationError.errors[e]=t,this.$__.validationError))},i.prototype.$markValid=function(e){this.$__.validationError&&this.$__.validationError.errors[e]&&(delete this.$__.validationError.errors[e],0===Object.keys(this.$__.validationError.errors).length&&(this.$__.validationError=null))},i.prototype.$isValid=function(e){return!this.$__.validationError||!this.$__.validationError.errors[e]},i.prototype.$__reset=function(){var t=this;return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return t.getValue(e)}).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).forEach(function(e){for(var t=e.length;t--;){var n=e[t];n&&n.$__reset()}}),this.$__dirty().forEach(function(e){var t=e.value;t&&t._atomics&&(t._atomics={})}),this.$__.activePaths.clear(\"modify\"),this.$__.activePaths.clear(\"default\"),this.$__.validationError=void 0,this.errors=void 0,t=this,this.schema.requiredPaths().forEach(function(e){t.$__.activePaths.require(e)}),this},i.prototype.$__dirty=function(){var e=this,t=this.$__.activePaths.map(\"modify\",function(t){return{path:t,value:e.getValue(t),schema:e.$__path(t)}});t=t.concat(this.$__.activePaths.map(\"default\",function(t){return\"_id\"!==t&&e.getValue(t)?{path:t,value:e.getValue(t),schema:e.$__path(t)}:void 0})),t.sort(function(e,t){return e.path<t.path?-1:e.path>t.path?1:0});var n,r,i=[];return t.forEach(function(e){e&&(0!==e.path.indexOf(n)?(n=e.path+\".\",i.push(e),r=e):r.value&&r.value._atomics&&r.value.hasAtomics()&&(r.value._atomics={},r.value._atomics.$set=r.value))}),r=n=null,i},i.prototype.$__setSchema=function(e){a(e.tree,this,void 0,e.options),this.schema=e},i.prototype.$__getArrayPathsToValidate=function(){return l||(l=e(\"./types/documentarray\")),this.$__.activePaths.map(\"init\",\"modify\",function(e){return this.getValue(e)}.bind(this)).filter(function(e){return e&&e instanceof Array&&e.isMongooseDocumentArray&&e.length}).reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e})},i.prototype.$__getAllSubdocs=function(){function t(e,n){var r=this[n];return r instanceof d&&e.push(r),r&&r.$isSingleNested&&(e=Object.keys(r._doc).reduce(t.bind(r._doc),e),e.push(r)),r&&r.isMongooseDocumentArray?r.forEach(function(n){n&&n._doc&&(n instanceof d&&e.push(n),e=Object.keys(n._doc).reduce(t.bind(n._doc),e))}):r instanceof i&&r.$__isNested&&(r=r.toObject(),r&&(e=Object.keys(r).reduce(t.bind(r),e))),e}l||(l=e(\"./types/documentarray\")),d=d||e(\"./types/embedded\");var n=Object.keys(this._doc).reduce(t.bind(this),[]);return n},i.prototype.$__registerHooksFromSchema=function(){d=d||e(\"./types/embedded\");var t=C.get(),n=this,r=n.schema&&n.schema.callQueue;if(!r.length)return n;var i=r.reduce(function(e,t){if(\"pre\"!==t[0]&&\"post\"!==t[0]&&\"on\"!==t[0])return n[t[0]].apply(n,t[1]),e;var r=[].slice.call(t[1]),i=\"on\"===t[0]?\"post\":r[0];return i in e||(e[i]={post:[],pre:[]}),\"post\"===t[0]?e[i].post.push(r):\"on\"===t[0]?e[i].push(r):e[i].pre.push(r),e},{post:[]});return i.post.forEach(function(e){n.on.apply(n,e)}),delete i.post,i.init&&n instanceof d?(i.init.pre&&i.init.pre.forEach(function(e){n.$pre.apply(n,e)}),i.init.post&&i.init.post.forEach(function(e){n.$post.apply(n,e)}),delete i.init):i.set&&(i.set.pre&&i.set.pre.forEach(function(e){n.$pre.apply(n,e)}),i.set.post&&i.set.post.forEach(function(e){n.$post.apply(n,e)}),delete i.set),Object.keys(i).forEach(function(e){var r=\"$__original_\"+e;n[e]&&(n[r]=n[e],n[e]=function(){var e,i=[].slice.call(arguments),o=i.pop();return new t.ES6(function(t,a){o&&\"function\"!=typeof o?i.push(o):e=o,i.push(function(r,i){return r?(n.$__handleReject(r),e&&e(r),void a(r)):(e&&e.apply(null,[null].concat(Array.prototype.slice.call(arguments,1))),void t(i))}),n[r].apply(n,i)})},i[e].pre.forEach(function(e){e[0]=r,n.$pre.apply(n,e)}),i[e].post.forEach(function(e){e[0]=r,n.$post.apply(n,e)}))}),n},i.prototype.$__handleReject=function(e){this.listeners(\"error\").length?this.emit(\"error\",e):this.constructor.listeners&&this.constructor.listeners(\"error\").length?this.constructor.emit(\"error\",e):this.listeners&&this.listeners(\"error\").length&&this.emit(\"error\",e)},i.prototype.$toObject=function(e,t){var n={transform:!0,json:t};if(e&&e.depopulate&&!e._skipDepopulateTopLevel&&this.$__.wasPopulated)return _(this._id,e);e&&e._skipDepopulateTopLevel&&(e._skipDepopulateTopLevel=!1),(!e||\"Object\"!==w.getFunctionName(e.constructor)||e&&e._useSchemaOptions)&&(t?(e=this.schema.options.toJSON?_(this.schema.options.toJSON):{},e.json=!0,e._useSchemaOptions=!0):(e=this.schema.options.toObject?_(this.schema.options.toObject):{},e.json=!1,e._useSchemaOptions=!0));for(var r in n)void 0===e[r]&&(e[r]=n[r]);\"minimize\"in e||(e.minimize=this.schema.options.minimize);var i=e.transform,o=_(this._doc,e)||{};e.getters&&(p(this,o,\"paths\",e),e.minimize&&(o=u(o)||{})),(e.virtuals||e.getters&&e.virtuals!==!1)&&p(this,o,\"virtuals\",e),e.versionKey===!1&&this.schema.options.versionKey&&delete o[this.schema.options.versionKey];var a=e.transform;if(a===!0||this.schema.options.toObject&&a){var s=e.json?this.schema.options.toJSON:this.schema.options.toObject;s&&(a=\"function\"==typeof e.transform?e.transform:s.transform)}else e.transform=i;if(\"function\"==typeof a){var c=a(this,o,e);\"undefined\"!=typeof c&&(o=c)}return o},i.prototype.toObject=function(e){return this.$toObject(e)},i.prototype.toJSON=function(e){return this.$toObject(e,!0)},i.prototype.inspect=function(e){var t,n=e&&\"Object\"===w.getFunctionName(e.constructor);return t=n?e:this.schema.options.toObject?_(this.schema.options.toObject):{},t.minimize=!1,t.retainKeyOrder=!0,this.toObject(t)},i.prototype.toString=function(){return j(this.inspect())},i.prototype.equals=function(e){var t=this.get(\"_id\"),n=e.get?e.get(\"_id\"):e;return t||n?t&&t.equals?t.equals(n):t===n:O(this,e)},i.prototype.populate=function(){if(0===arguments.length)return this;var e,t=this.$__.populate||(this.$__.populate={}),n=w.args(arguments);if(\"function\"==typeof n[n.length-1]&&(e=n.pop()),n.length)for(var r=w.populate.apply(null,n),i=0;i<r.length;++i)t[r[i].path]=r[i];if(e){var o=w.object.vals(t);\nthis.$__.populate=void 0,o.__noPromise=!0,this.constructor.populate(this,o,e)}return this},i.prototype.execPopulate=function(){var e=C.get(),t=this;return new e.ES6(function(e,n){t.populate(function(t,r){t?n(t):e(r)})})},i.prototype.populated=function(e,t,n){if(null!==t&&void 0!==t){if(t===!0){if(!this.$__.populated)return;return this.$__.populated[e]}return this.$__.populated||(this.$__.populated={}),this.$__.populated[e]={value:t,options:n},t}if(this.$__.populated){var r=this.$__.populated[e];return r?r.value:void 0}},i.prototype.depopulate=function(e){var t=this.populated(e);t&&(delete this.$__.populated[e],this.set(e,t))},i.prototype.$__fullPath=function(e){return e||\"\"},i.ValidationError=S,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./error/objectExpected\":265,\"./error/strict\":267,\"./internal\":272,\"./promise_provider\":275,\"./schema\":279,\"./schema/mixed\":287,\"./schematype\":292,\"./types/array\":295,\"./types/documentarray\":297,\"./types/embedded\":298,\"./utils\":302,events:void 0,\"hooks-fixed\":150,util:void 0}],254:[function(e,t,n){\"use strict\";var r=e(\"./document.js\"),i=e(\"./browserDocument.js\");t.exports=function(){return\"undefined\"!=typeof window&&\"undefined\"!=typeof document&&document===window.document?i:r}},{\"./browserDocument.js\":250,\"./document.js\":253}],255:[function(e,t,n){t.exports=function(){}},{}],256:[function(e,t,n){var r=e(\"bson\").Binary;t.exports=n=r},{bson:59}],257:[function(e,t,n){n.Binary=e(\"./binary\"),n.ObjectId=e(\"./objectid\"),n.ReadPreference=e(\"./ReadPreference\")},{\"./ReadPreference\":255,\"./binary\":256,\"./objectid\":258}],258:[function(e,t,n){var r=e(\"bson\").ObjectID;t.exports=n=r},{bson:59}],259:[function(e,t,n){(function(n){var r;r=e(\"undefined\"==typeof window?n.MONGOOSE_DRIVER_PATH||\"./node-mongodb-native\":\"./browser\"),t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./browser\":257}],260:[function(e,t,n){function r(e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.message=e,this.name=\"MongooseError\"}r.prototype=Object.create(Error.prototype),r.prototype.constructor=Error,t.exports=n=r,r.messages=e(\"./error/messages\"),r.Messages=r.messages,r.CastError=e(\"./error/cast\"),r.ValidationError=e(\"./error/validation\"),r.ValidatorError=e(\"./error/validator\"),r.VersionError=e(\"./error/version\"),r.OverwriteModelError=e(\"./error/overwriteModel\"),r.MissingSchemaError=e(\"./error/missingSchema\"),r.DivergentArrayError=e(\"./error/divergentArray\")},{\"./error/cast\":261,\"./error/divergentArray\":262,\"./error/messages\":263,\"./error/missingSchema\":264,\"./error/overwriteModel\":266,\"./error/validation\":268,\"./error/validator\":269,\"./error/version\":270}],261:[function(e,t,n){function r(e,t,n,r){i.call(this,\"Cast to \"+e+' failed for value \"'+t+'\" at path \"'+n+'\"'),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"CastError\",this.kind=e,this.value=t,this.path=n,this.reason=r}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],262:[function(e,t,n){function r(e){var t=\"For your own good, using `document.save()` to update an array which was selected using an $elemMatch projection OR populated using skip, limit, query conditions, or exclusion of the _id field when the operation results in a $pop or $set of the entire array is not supported. The following path(s) would have been modified unsafely:\\n  \"+e.join(\"\\n  \")+\"\\nUse Model.update() to update these arrays instead.\";i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"DivergentArrayError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],263:[function(e,t,n){var r=t.exports=n={};r.general={},r.general[\"default\"]=\"Validator failed for path `{PATH}` with value `{VALUE}`\",r.general.required=\"Path `{PATH}` is required.\",r.Number={},r.Number.min=\"Path `{PATH}` ({VALUE}) is less than minimum allowed value ({MIN}).\",r.Number.max=\"Path `{PATH}` ({VALUE}) is more than maximum allowed value ({MAX}).\",r.Date={},r.Date.min=\"Path `{PATH}` ({VALUE}) is before minimum allowed value ({MIN}).\",r.Date.max=\"Path `{PATH}` ({VALUE}) is after maximum allowed value ({MAX}).\",r.String={},r.String[\"enum\"]=\"`{VALUE}` is not a valid enum value for path `{PATH}`.\",r.String.match=\"Path `{PATH}` is invalid ({VALUE}).\",r.String.minlength=\"Path `{PATH}` (`{VALUE}`) is shorter than the minimum allowed length ({MINLENGTH}).\",r.String.maxlength=\"Path `{PATH}` (`{VALUE}`) is longer than the maximum allowed length ({MAXLENGTH}).\"},{}],264:[function(e,t,n){function r(e){var t=\"Schema hasn't been registered for model \\\"\"+e+'\".\\nUse mongoose.model(name, schema)';i.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"MissingSchemaError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],265:[function(e,t,n){function r(e,t){i.call(this,\"Tried to set nested object field `\"+e+\"` to primitive value `\"+t+\"` and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ObjectExpectedError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],266:[function(e,t,n){function r(e){i.call(this,\"Cannot overwrite `\"+e+\"` model once compiled.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"OverwriteModelError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],267:[function(e,t,n){function r(e){i.call(this,\"Field `\"+e+\"` is not in schema and strict mode is set to throw.\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"StrictModeError\",this.path=e}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],268:[function(e,t,n){function r(e){e&&\"model\"===e.constructor.name?i.call(this,e.constructor.modelName+\" validation failed\"):i.call(this,\"Validation failed\"),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.name=\"ValidationError\",this.errors={},e&&(e.errors=this.errors)}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,r.prototype.toString=function(){var e=this.name+\": \",t=[];return Object.keys(this.errors).forEach(function(e){this!==this.errors[e]&&t.push(String(this.errors[e]))},this),e+t.join(\", \")},t.exports=n=r},{\"../error.js\":260}],269:[function(e,t,n){function r(e){var t=e.message;t||(t=o.general[\"default\"]);var n=this.formatMessage(t,e);i.call(this,n),Error.captureStackTrace?Error.captureStackTrace(this):this.stack=(new Error).stack,this.properties=e,this.name=\"ValidatorError\",this.kind=e.type,this.path=e.path,this.value=e.value}var i=e(\"../error.js\"),o=i.messages;r.prototype=Object.create(i.prototype),r.prototype.constructor=i,Object.defineProperty(r.prototype,\"properties\",{enumerable:!1,writable:!0,value:null}),r.prototype.formatMessage=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;++r){var i=n[r];\"message\"!==i&&(e=e.replace(\"{\"+i.toUpperCase()+\"}\",t[i]))}return e},r.prototype.toString=function(){return this.message},t.exports=r},{\"../error.js\":260}],270:[function(e,t,n){function r(){i.call(this,\"No matching document found.\"),Error.captureStackTrace&&Error.captureStackTrace(this,arguments.callee),this.name=\"VersionError\"}var i=e(\"../error.js\");r.prototype=Object.create(i.prototype),r.prototype.constructor=i,t.exports=r},{\"../error.js\":260}],271:[function(e,t,n){(function(r){\"use strict\";function i(){this.connections=[],this.plugins=[],this.models={},this.modelSchemas={},this.options={pluralization:!0};var e=this.createConnection();e.models=this.models}function o(e,t){var n=this;for(var r in e)\"function\"==typeof e[r]&&e[r].$hasSideEffects?!function(t){n[t]=function(){return e[t].apply(e,arguments)}}(r):-1!==[\"connection\",\"connections\"].indexOf(r)&&(n[r]=e[r]);this.$opPromise=t}var a=e(\"./schema\"),s=e(\"./schematype\"),c=e(\"./virtualtype\"),u=e(\"./connectionstate\"),p=e(\"./types\"),l=e(\"./query\"),f=e(\"./model\"),d=e(\"./document\"),h=e(\"./utils\"),m=h.toCollectionName,v=e(\"../package.json\"),g=e(\"querystring\"),y=e(\"./aggregate\"),b=e(\"./promise_provider\");i.prototype.STATES=u,i.prototype.set=function(e,t){return 1===arguments.length?this.options[e]:(this.options[e]=t,this)},i.prototype.set.$hasSideEffects=!0,i.prototype.get=i.prototype.set;var x=/^.+,.+$/,w=function(e){if(!e)return!1;var t=e.indexOf(\"?\"),n=!1;if(-1!==t)try{var r=g.parse(e.substr(t+1));r&&r.replicaSet&&(n=!0)}catch(i){return!1}return n};i.prototype.createConnection=function(e,t){var n=new k(this);return this.connections.push(n),arguments.length&&(x.test(arguments[0])||w(arguments[0])?n.openSet.apply(n,arguments):t&&t.replset&&(t.replset.replicaSet||t.replset.rs_name)?n.openSet.apply(n,arguments):n.open.apply(n,arguments)),n},i.prototype.createConnection.$hasSideEffects=!0,i.prototype.connect=function(){var e=this.connection;return x.test(arguments[0])||w(arguments[0])?new o(this,e.openSet.apply(e,arguments)):new o(this,e.open.apply(e,arguments))},i.prototype.connect.$hasSideEffects=!0,i.prototype.disconnect=function(e){var t;this.connections.forEach(function(e){e.close(function(e){t||e&&(t=e)})});var n=b.get();return new o(this,new n.ES6(function(n,r){return e&&e(t),t?void r(t):void n()}))},i.prototype.disconnect.$hasSideEffects=!0,i.prototype.model=function(e,t,n,r){\"string\"==typeof t&&(n=t,t=!1),h.isObject(t)&&!t.instanceOfSchema&&(t=new a(t)),\"boolean\"==typeof n&&(r=n,n=null);var i;if(r&&h.isObject(r)?(i=r,r=!0):i={},!this.modelSchemas[e]){if(!t)throw new S.Error.MissingSchemaError(e);this.modelSchemas[e]=t,this._applyPlugins(t)}var o,s;if(this.models[e]&&i.cache!==!1){if(t&&t.instanceOfSchema&&t!==this.models[e].schema)throw new S.Error.OverwriteModelError(e);return n?(o=this.models[e],t=o.prototype.schema,s=o.__subclass(this.connection,t,n)):this.models[e]}if(!t&&(t=this.modelSchemas[e],!t))throw new S.Error.MissingSchemaError(e);\"pluralization\"in t.options||(t.options.pluralization=this.options.pluralization),n||(n=t.get(\"collection\")||m(e,t.options));var c=i.connection||this.connection;return o=f.compile(e,t,n,c,this),r||o.init(),i.cache===!1?o:(this.models[e]=o,this.models[e])},i.prototype.model.$hasSideEffects=!0,i.prototype.modelNames=function(){var e=Object.keys(this.models);return e},i.prototype.modelNames.$hasSideEffects=!0,i.prototype._applyPlugins=function(e){for(var t=0,n=this.plugins.length;n>t;t++)e.plugin(this.plugins[t][0],this.plugins[t][1])},i.prototype._applyPlugins.$hasSideEffects=!0,i.prototype.plugin=function(e,t){return this.plugins.push([e,t]),this},i.prototype.plugin.$hasSideEffects=!0,i.prototype.__defineGetter__(\"connection\",function(){return this.connections[0]}),i.prototype.__defineSetter__(\"connection\",function(e){this.connections[0]=e});var _=r.MONGOOSE_DRIVER_PATH||\"./drivers/node-mongodb-native\",k=e(_+\"/connection\"),j=e(_+\"/collection\");i.prototype.Aggregate=y,i.prototype.Collection=j,i.prototype.Connection=k,i.prototype.version=v.version,i.prototype.Mongoose=i,i.prototype.Schema=a,i.prototype.SchemaType=s,i.prototype.SchemaTypes=a.Types,i.prototype.VirtualType=c,i.prototype.Types=p,i.prototype.Query=l,Object.defineProperty(i.prototype,\"Promise\",{get:function(){return b.get()},set:function(e){b.set(e)}}),i.prototype.PromiseProvider=b,i.prototype.Model=f,i.prototype.Document=d,i.prototype.DocumentProvider=e(\"./document_provider\"),i.prototype.Error=e(\"./error\"),i.prototype.CastError=e(\"./error/cast\"),i.prototype.mongo=e(\"mongodb\"),i.prototype.mquery=e(\"mquery\"),o.prototype=new i,o.prototype.then=function(e,t){var n=b.get();return this.$opPromise?this.$opPromise.then(e,t):new n.ES6(function(e,t){t(new Error(\"Can only call `.then()` if connect() or disconnect() has been called\"))}).then(e,t)},o.prototype[\"catch\"]=function(e){return this.then(null,e)};var S=t.exports=n=new i}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../package.json\":304,\"./aggregate\":249,\"./connectionstate\":252,\"./document\":253,\"./document_provider\":254,\"./error\":260,\"./error/cast\":261,\"./model\":273,\"./promise_provider\":275,\"./query\":276,\"./schema\":279,\"./schematype\":292,\"./types\":299,\"./utils\":302,\"./virtualtype\":303,mongodb:215,mquery:312,querystring:void 0}],272:[function(e,t,n){function r(){this.strictMode=void 0,this.selected=void 0,this.shardval=void 0,this.saveError=void 0,this.validationError=void 0,this.adhocPaths=void 0,this.removing=void 0,this.inserting=void 0,this.version=void 0,this.getters={},this._id=void 0,this.populate=void 0,this.populated=void 0,this.wasPopulated=!1,this.scope=void 0,this.activePaths=new o,this.ownerDocument=void 0,this.fullPath=void 0}var i=e(\"./statemachine\"),o=i.ctor(\"require\",\"modify\",\"init\",\"default\",\"ignore\");t.exports=n=r},{\"./statemachine\":294}],273:[function(e,t,n){(function(r){function i(e,t,n){_.call(this,e,t,n)}function o(e,t){var n=e.schema.options.skipVersioning;return n?(t=t.replace(/\\.\\d+\\./,\".\"),n[t]):!1}function a(e,t,n,r,i,a){if(a||(a=\"$set\"),n[a]||(n[a]={}),n[a][r.path]=i,e.schema.options.versionKey!==!1&&!o(e,r.path)&&R!==(R&e.$__.version)){switch(a){case\"$set\":case\"$unset\":case\"$pop\":case\"$pull\":case\"$pullAll\":case\"$push\":case\"$pushAll\":case\"$addToSet\":break;default:return}\"$push\"===a||\"$pushAll\"===a||\"$addToSet\"===a?e.$__.version=q:/^\\$p/.test(a)?e.increment():Array.isArray(i)?e.increment():/\\.\\d+\\.|\\.\\d+$/.test(r.path)&&(e.$__.version=D)}}function s(e,t,n,r,i){function o(e){return I(e)?e.toObject({depopulate:1}):e}if(!n.$set||!n.$set[r.path]){if(\"function\"==typeof i.$__getAtomics)return void i.$__getAtomics().forEach(function(i){var o=i[0],s=i[1];a(e,t,n,r,s,o)});var s,c,u=i._atomics,p=Object.keys(u),l=p.length;if(0===l)return I(i)?i=i.toObject({depopulate:1}):i.valueOf&&(i=i.valueOf()),a(e,t,n,r,i);for(;l--;)c=p[l],s=u[c],I(s)?s=s.toObject({depopulate:1}):Array.isArray(s)?s=s.map(o):s.valueOf&&(s=s.valueOf()),\"$addToSet\"===c&&(s={$each:s}),a(e,t,n,r,s,c)}}function c(e,t,n){var r=e.populated(t,!0);if(!r&&e.$__.selected){var i=t.split(\".\")[0];if(e.$__.selected[i]&&e.$__.selected[i].$elemMatch||e.$__.selected[i+\".$\"])return i}if(r&&n&&n.isMongooseArray){var o=r.options.match||r.options.options&&T(r.options.options,\"limit\")||r.options.options&&r.options.options.skip||r.options.select&&(0===r.options.select._id||/\\s?-_id\\s?/.test(r.options.select));if(o){var a=n._atomics;if(0===Object.keys(a).length||a.$set||a.$pop)return t}}}function u(e,t){var n=e.schema.indexes();if(!n.length)return void process.nextTick(function(){t&&t()});var r=function(n){n&&e.schema.options.emitIndexErrors&&e.emit(\"error\",n),e.emit(\"index\",n),t&&t(n)},i=function(t,n,r,i){e.emit(\"index-single-done\",t,n,r,i)},o=function(t,n){e.emit(\"index-single-start\",t,n)},a=function(){var t=n.shift();if(!t)return r();var s=t[0],c=t[1];p(c),o(s,c),e.collection.ensureIndex(s,c,z(function(e,t){return i(e,s,c,t),e?r(e):void a()}))};a()}function p(e){e.safe&&(\"boolean\"==typeof e.safe&&(e.w=e.safe,delete e.safe),\"object\"==typeof e.safe&&(e.w=e.safe.w,e.j=e.safe.j,e.wtimeout=e.safe.wtimeout,delete e.safe))}function l(e,t,n,r,i){function o(e){return e?i(e):void(--a||i(null,t))}var a=n.length;if(0===a)return i(null,t);for(var s,c=a;c--;)s=n[c],\"function\"==typeof s.model&&(e=s.model),d(e,t,s,f.call(e,t,s,r,o))}function f(e,t,n,r){var i=this,o=t.path+\".\",a=t.populate;return a?(Array.isArray(a)||(a=[a]),function(t){function s(e){return e?r(e):void(--c||r())}var c=a.length;return t||!c?r(t):void a.forEach(function(t){t=C.clone(t),t._originalPath||(t._originalPath=t.path,t.path=o+t.path);var r,a=n[o.substr(0,o.length-1)]||i.schema._getSchema(o);\"string\"==typeof t.model?t.model=i.model(t.model):a&&a.caster&&a.caster.options&&a.caster.options.ref?(r=i.model(a.caster.options.ref).schema._getSchema(t._originalPath),n[t.path]=r,r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))):a&&a.options&&a.options.ref&&(r=i.model(a.options.ref).schema._getSchema(t._originalPath),r&&r.options&&r.options.ref?t.model=i.model(r.options.ref):r&&r.caster&&r.caster.options&&r.caster.options.ref&&(t.model=i.model(r.caster.options.ref))),l(t.model||i,e,C.populate(t),n,s)})}):r}function d(e,t,n,r){function i(e){return void 0!==e}function o(e,t,n,r){return n?f.resolve(n):(v=v.concat(r),void(0===--y&&f.resolve(n,v,e,t)))}var a,s;if(Array.isArray(t)||(t=[t]),0===t.length||t.every(C.isNullOrUndefined))return r();a=h(e,t,n),s=m(a);var c,u,p,l,f,d=a.length,v=[];f=new F(function(e,n,i,o){if(e)return r(e);for(var a,c,u=i.options&&i.options.lean,p=n.length,l={},f={},d=0;p>d;d++)c=n[d],a=String(C.getValue(\"_id\",c)),f[a]=c,l[a]=d,u||(c.$__.wasPopulated=!0);g({rawIds:s,rawDocs:f,rawOrder:l,docs:t,path:i.path,options:o}),r()});var y=d,b=!1;for(c=0;d>c;c++){u=a[c],l=u.options.select,p=u.options.match?C.object.shallowCopy(u.options.match):{};var x=C.array.flatten(u.ids,i);if(x=C.array.unique(x),0===x.length||x.every(C.isNullOrUndefined))--y;else{b=!0,p._id||(p._id={$in:x});var w={};w.sort=u.options.options&&u.options.options.sort||void 0,w.excludeId=$.test(l)||l&&0===l._id,w.excludeId&&(\"string\"==typeof l?l=l.replace(U,\" \"):(l=C.object.shallowCopy(l),delete l._id)),u.options.options&&u.options.options.limit&&(w.originalLimit=u.options.options.limit,u.options.options.limit=u.options.options.limit*x.length),u.Model.find(p,l,u.options.options,o.bind(this,u.options,w))}}return b?void 0:r()}function h(e,t,n){var r,i,o,a,s,c,u,p,l,f,d=t.length,h={},m=[],v=n.model&&n.model.modelName||n.model;for(o=e._getSchema(n.path),o&&o.caster&&(o=o.caster),!o&&e.discriminators&&(l=e.schema.discriminatorMapping.key),a=o&&o.options&&o.options.refPath,r=0;d>r;r++){if(i=t[r],a)u=C.getValue(a,i);else if(v)u=[v];else{var g;!o&&l?(f=C.getValue(l,i),f&&(g=e.db.model(f)._getSchema(n.path),g&&g.caster&&(g=g.caster))):g=o,u=[g&&g.options&&g.options.ref||e.modelName]}if(u){Array.isArray(u)||(u=[u]);for(var y=u.length;y--;)p=u[y],h[p]?h[p].docs.push(i):(s=e.db.model(p),c={model:s},o&&!l&&(n.model=s),C.merge(c,n),h[p]={Model:s,options:c,docs:[i],ids:[]},m.push(h[p]))}}return m}function m(e){var t,n,r,i,o,a,s,c,u,p,l,f=[];for(s=e.length,n=0;s>n;n++)for(i=e[n].docs,a=i.length,p=e[n].options,l=p.path,t=0;a>t;t++)c=void 0,r=i[t],o=String(C.getValue(\"_id\",r)),u=!!r.$__,(!c||Array.isArray(c)&&0===c.length)&&(c=C.getValue(l,r)),c&&(c=v(c),p._docs[o]=Array.isArray(c)?c.slice():c),f.push(c),e[n].ids.push(c),u&&r.populated(l,p._docs[o],p);return f}function v(e){if(e instanceof i)return e._id;if(Array.isArray(e)){for(var t=0;t<e.length;++t)e[t]instanceof i&&(e[t]=e[t]._id);return e}return e}function g(e){function t(e){return y(e,o)}w(e.rawIds,e.rawDocs,e.rawOrder,e.options);for(var n=e.docs,r=e.path,i=e.rawIds,o=e.options,a=0;a<n.length;++a)null!=C.getValue(r,n[a])&&C.setValue(r,i[a],n[a],t)}function y(e,t){if(Array.isArray(e)){for(var n=[],r=e.length,i=0;r>i;++i){var o=e[i];if(x(o)&&(b(o,t),n.push(o),t.originalLimit&&n.length>=t.originalLimit))break}for(;e.length>n.length;)Array.prototype.pop.apply(e,[]);for(i=0;i<n.length;++i)e[i]=n[i];return e}return x(e)?(b(e,t),e):null}function b(e,t){t.excludeId&&(\"function\"==typeof e.setValue?delete e._doc._id:delete e._id)}function x(e){if(null==e)return!1;var t=typeof e;return\"string\"===t?!1:\"number\"===t?!1:r.isBuffer(e)?!1:\"ObjectID\"!==e.constructor.name}function w(e,t,n,r,i){for(var o,a,s,c=[],u=r.sort&&e.length>1,p=0;p<e.length;++p)s=e[p],Array.isArray(s)?(w(s,t,n,r,!0),c.push(s)):null!==s||u?(a=String(s),i?(o=t[a],o?u?c[n[a]]=o:c.push(o):c.push(s)):c[p]=o=t[a]||null):c.push(s);e.length=0,c.length&&c.forEach(function(t,n){t&&(e[n]=t)})}var _=e(\"./document\"),k=e(\"./error\"),j=k.VersionError,S=k.DivergentArrayError,E=e(\"./query\"),O=e(\"./aggregate\"),A=e(\"./schema\"),C=e(\"./utils\"),T=C.object.hasOwnProperty,I=C.isMongooseObject,P=e(\"events\").EventEmitter,F=e(\"./promise\"),M=e(\"util\"),z=C.tick,B=e(\"async\"),N=e(\"./promise_provider\"),D=1,q=2,R=D|q;i.prototype.__proto__=_.prototype,i.prototype.db,i.prototype.collection,i.prototype.modelName,i.prototype.baseModelName,i.prototype.$__handleSave=function(e,t){var n=this;if(!e.safe&&this.schema.options.safe&&(e.safe=this.schema.options.safe),\"boolean\"==typeof e.safe&&(e.safe=null),this.isNew){var r={};this.schema.options.toObject&&this.schema.options.toObject.retainKeyOrder&&(r.retainKeyOrder=!0),r.depopulate=1,r._skipDepopulateTopLevel=!0,r.transform=!1;var i=this.toObject(r);if(!C.object.hasOwnProperty(i||{},\"_id\"))return void setTimeout(function(){t(new Error(\"document must have an _id before saving\"))},0);this.$__version(!0,i),this.collection.insert(i,e.safe,function(e,r){return e?(n.isNew=!0,n.emit(\"isNew\",!0),void t(e)):void t(null,r)}),this.$__reset(),this.isNew=!1,this.emit(\"isNew\",!1),this.$__.inserting=!0}else{this.$__.inserting=!1;var o=this.$__delta();if(!o)return this.$__reset(),void t();if(o instanceof Error)return void t(o);var a=this.$__where(o[0]);if(a instanceof Error)return void t(a);this.collection.update(a,o[1],e.safe,function(e,n){return e?void t(e):void t(null,n)}),this.emit(\"isNew\",!1)}},i.prototype.$__save=function(e,t){var n=this;n.$__handleSave(e,function(e,r){if(e)return t(e);n.$__reset(),n.$__storeShard();var i=0;if(r&&(i=Array.isArray(r)?r.length:r.result&&void 0!==r.result.n?r.result.n:r.result&&void 0!==r.result.nModified?r.result.nModified:r),n.$__.version&&!n.$__.inserting){var o=q===(q&n.$__.version);if(n.$__.version=void 0,0>=i){var a=new j;return t(a)}if(o){var s=n.schema.options.versionKey,c=0|n.getValue(s);n.setValue(s,c+1)}}n.emit(\"save\",n,i),t(null,n,i)})},i.prototype.save=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),e.__noPromise)return this.$__save(e,t);var n=this,r=N.get();return new r.ES6(function(r,i){n.$__save(e,function(e,n,o){return e?(t&&t(e),void i(e)):(t&&t(null,n,o),void r(n,o))})})},i.prototype.$__delta=function(){var e=this.$__dirty();if(e.length||R===this.$__.version){var t={},n={},i=e.length,o=[],u=0;for(t._id=this._doc._id;i>u;++u){var p=e[u],l=p.value,f=c(this,p.path,l);f?o.push(f):o.length||(void 0===l?a(this,t,n,p,1,\"$unset\"):null===l?a(this,t,n,p,null):l._path&&l._atomics?s(this,t,n,p,l):l._path&&r.isBuffer(l)?(l=l.toObject(),a(this,t,n,p,l)):(l=C.clone(l,{depopulate:1}),a(this,t,n,p,l)))}return o.length?new S(o):(this.$__.version&&this.$__version(t,n),[t,n])}},i.prototype.$__version=function(e,t){var n=this.schema.options.versionKey;return e===!0?void(n&&this.setValue(n,t[n]=0)):void(this.isSelected(n)&&(D===(D&this.$__.version)&&(e[n]=this.getValue(n)),q===(q&this.$__.version)&&(t.$set&&\"undefined\"!=typeof t.$set[n]||(t.$inc||(t.$inc={}),t.$inc[n]=1))))},i.prototype.increment=function(){return this.$__.version=R,this},i.prototype.$__where=function(e){e||(e={});var t,n;if(e._id||(e._id=this._doc._id),this.$__.shardval){t=Object.keys(this.$__.shardval),n=t.length;for(var r=0;n>r;++r)e[t[r]]=this.$__.shardval[t[r]]}return null==this._doc._id?new Error(\"No _id found on document!\"):e},i.prototype.remove=function(e,t){if(\"function\"==typeof e&&(t=e,e=void 0),e||(e={}),this.$__.removing)return t&&this.$__.removing.then(function(e){t(null,e)},function(e){t(e)}),this;var n=this,r=N.get();return this.$__.removing=new r.ES6(function(r,i){var o=n.$__where();return o instanceof Error?(i(o),void(t&&t(o))):(!e.safe&&n.schema.options.safe&&(e.safe=n.schema.options.safe),void n.collection.remove(o,e,function(e){return e?(i(e),void(t&&t(e))):(n.emit(\"remove\",n),r(n),void(t&&t(null,n)))}))}),this.$__.removing},i.prototype.model=function(e){return this.db.model(e)},i.discriminator=function(e,t){function n(e,t){if(e=C.clone(e),t=C.clone(t),delete e.toJSON,delete e.toObject,delete t.toJSON,delete t.toObject,delete e._id,delete t._id,!C.deepEqual(e,t))throw new Error(\"Discriminator options are not customizable (except toJSON, toObject, _id)\")}function r(t,r){C.merge(t,r);var o={};o[i]={type:String,\"default\":e},t.add(o),t.discriminatorMapping={key:i,value:e,isRoot:!1},r.options.collection&&(t.options.collection=r.options.collection),n(t.options,r.options);var a=t.options.toJSON,s=t.options.toObject,c=t.options._id;t.options=C.clone(r.options),a&&(t.options.toJSON=a),s&&(t.options.toObject=s),\"undefined\"!=typeof c&&(t.options._id=c),t.callQueue=r.callQueue.concat(t.callQueue.slice(t._defaultMiddleware.length)),t._requiredpaths=void 0}if(!t||!t.instanceOfSchema)throw new Error(\"You must pass a valid discriminator Schema\");if(this.schema.discriminatorMapping&&!this.schema.discriminatorMapping.isRoot)throw new Error('Discriminator \"'+e+'\" can only be a discriminator of the root model');var i=this.schema.options.discriminatorKey;if(t.path(i))throw new Error('Discriminator \"'+e+'\" cannot have field with name \"'+i+'\"');if(r(t,this.schema),this.discriminators||(this.discriminators={}),this.schema.discriminatorMapping||(this.schema.discriminatorMapping={key:i,value:null,isRoot:!0}),this.discriminators[e])throw new Error('Discriminator with name \"'+e+'\" already exists');return this.discriminators[e]=this.db.model(e,t,this.collection.name),this.discriminators[e].prototype.__proto__=this.prototype,Object.defineProperty(this.discriminators[e],\"baseModelName\",{value:this.modelName,configurable:!0,writable:!1}),H(this.discriminators[e],t),V(this.discriminators[e],t),this.discriminators[e]};for(var L in P.prototype)i[L]=P.prototype[L];i.init=function(){(this.schema.options.autoIndex||null===this.schema.options.autoIndex&&this.db.config.autoIndex)&&this.ensureIndexes({__noPromise:!0}),this.schema.emit(\"init\",this)},i.ensureIndexes=function(e,t){if(\"function\"==typeof e&&(t=e,e=null),e&&e.__noPromise)return void u(this,t);var n=this,r=N.get();return new r.ES6(function(e,r){u(n,function(n){n&&(t&&t(n),r(n)),t&&t(),e()})})},i.schema,i.db,i.collection,i.base,i.discriminators,i.remove=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E(e,{},this,this.collection);return n.remove(t)},i.find=function(e,t,n,r){\"function\"==typeof e?(r=e,e={},t=null,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof n&&(r=n,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.find(e,r)},i.findById=function(e,t,n,r){return\"undefined\"==typeof e&&(e=null),this.findOne({_id:e},t,n,r)},i.findOne=function(e,t,n,r){\"function\"==typeof n?(r=n,n=null):\"function\"==typeof t?(r=t,t=null,n=null):\"function\"==typeof e&&(r=e,e={},t=null,n=null);var i=new E({},{},this,this.collection);return i.select(t),i.setOptions(n),this.schema.discriminatorMapping&&i.selectedInclusively()&&i.select(this.schema.options.discriminatorKey),i.findOne(e,r)},i.count=function(e,t){\"function\"==typeof e&&(t=e,e={});var n=new E({},{},this,this.collection);return n.count(e,t)},i.distinct=function(e,t,n){var r=new E({},{},this,this.collection);return\"function\"==typeof t&&(n=t,t={}),r.distinct(e,t,n)},i.where=function(e,t){var n=new E({},{},this,this.collection).find({});return n.where.apply(n,arguments)},i.$where=function(){var e=new E({},{},this,this.collection).find({});return e.$where.apply(e,arguments)},i.findOneAndUpdate=function(e,t,n,r){if(\"function\"==typeof n)r=n,n=null;else if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findOneAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options, callback)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update, options)\\n  \"+this.modelName+\".findOneAndUpdate(conditions, update)\\n  \"+this.modelName+\".findOneAndUpdate(update)\\n  \"+this.modelName+\".findOneAndUpdate()\\n\";throw new TypeError(i)}t=e,e=void 0}var o;n&&n.fields&&(o=n.fields,n.fields=void 0),t=C.clone(t,{depopulate:1}),this.schema.options.versionKey&&n&&n.upsert&&(t.$setOnInsert||(t.$setOnInsert={}),t.$setOnInsert[this.schema.options.versionKey]=0);var a=new E({},{},this,this.collection);return a.select(o),a.findOneAndUpdate(e,t,n,r)},i.findByIdAndUpdate=function(e,t,n,r){if(1===arguments.length){if(\"function\"==typeof e){var i=\"Model.findByIdAndUpdate(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndUpdate(id, callback)\\n  \"+this.modelName+\".findByIdAndUpdate(id)\\n  \"+this.modelName+\".findByIdAndUpdate()\\n\";throw new TypeError(i)}return this.findOneAndUpdate({_id:e},void 0)}return e instanceof _&&(e=e._id),this.findOneAndUpdate.call(this,{_id:e},t,n,r)},i.findOneAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findOneAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findOneAndRemove(conditions, callback)\\n  \"+this.modelName+\".findOneAndRemove(conditions)\\n  \"+this.modelName+\".findOneAndRemove()\\n\";throw new TypeError(r)}\"function\"==typeof t&&(n=t,t=void 0);var i;t&&(i=t.select,t.select=void 0);var o=new E({},{},this,this.collection);return o.select(i),o.findOneAndRemove(e,t,n)},i.findByIdAndRemove=function(e,t,n){if(1===arguments.length&&\"function\"==typeof e){var r=\"Model.findByIdAndRemove(): First argument must not be a function.\\n\\n  \"+this.modelName+\".findByIdAndRemove(id, callback)\\n  \"+this.modelName+\".findByIdAndRemove(id)\\n  \"+this.modelName+\".findByIdAndRemove()\\n\";throw new TypeError(r)}return this.findOneAndRemove({_id:e},t,n)},i.create=function(e,t){var n,r;if(Array.isArray(e))n=e,r=t;else{var i=arguments[arguments.length-1];\"function\"==typeof i?(r=i,n=C.args(arguments,0,arguments.length-1)):n=C.args(arguments)}var o=N.get(),a=this,s=new o.ES6(function(t,i){if(0===n.length)return void process.nextTick(function(){r&&r(null),t(null)});var o=[];n.forEach(function(e){o.push(function(t){var n=new a(e),r=function(e,n){return e?t(e):void t(null,n)};n.$__original_save?n.$__original_save({__noPromise:!0},r):n.save({__noPromise:!0},r)})}),B.parallel(o,function(n,o){return n?(r&&r(n),void i(n)):void(e instanceof Array?(t(o),r&&r.call(a,null,o)):(t.apply(s,o),r&&(o.unshift(null),r.apply(a,o))))})});return s},i.insertMany=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,i){var o=[];e.forEach(function(e){o.push(function(t){e=new n(e),e.validate({__noPromise:!0},function(n){return n?t(n):void t(null,e)})})}),B.parallel(o,function(e,o){if(e)return i(e),void(t&&t(e));var a=o.map(function(e){return e.toObject({virtuals:!1})});n.collection.insertMany(a,function(e){return e?(i(e),void(t&&t(e))):(r(o),void(t&&t(null,o)))})})})},i.hydrate=function(t){var n=e(\"./queryhelpers\").createModel(this,t);return n.init(t),n},i.update=function(e,t,n,r){var i=new E({},{},this,this.collection);return e=e instanceof _?e.toObject():C.clone(e,{retainKeyOrder:!0}),n=\"function\"==typeof n?n:C.clone(n),i.update(e,t,n,r)},i.mapReduce=function(e,t){var n=this,r=N.get();return new r.ES6(function(r,o){if(!i.mapReduce.schema){var a={noId:!0,noVirtualId:!0,strict:!1};i.mapReduce.schema=new A({},a)}if(e.out||(e.out={inline:1}),e.verbose!==!1&&(e.verbose=!0),e.map=String(e.map),e.reduce=String(e.reduce),e.query){var s=new E(e.query);s.cast(n),e.query=s._conditions,s=void 0}n.collection.mapReduce(null,null,e,function(e,a,s){if(e)return t&&t(e),void o(e);if(a.findOne&&a.mapReduce){var c=i.compile(\"_mapreduce_\"+a.collectionName,i.mapReduce.schema,a.collectionName,n.db,n.base);return c._mapreduce=!0,t&&t(null,c,s),r(c,s)}t&&t(null,a,s),r(a,s)})})},i.geoNear=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();if(!e)return new i.ES6(function(e,t){var r=new Error(\"Must pass a near option to geoNear\");t(r),n&&n(r)});var o,a;return new i.ES6(function(i,s){\nvar c=function(e,o){function a(e){return e&&!u?(u=!0,s(e),void(n&&n(e))):void(--c<=0&&(i(o.results,o.stats),n&&n(null,o.results,o.stats)))}if(e)return s(e),void(n&&n(e));if(t.lean)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));var c=o.results.length;if(0===c)return i(o.results,o.stats),void(n&&n(null,o.results,o.stats));for(var u=!1,p=0;p<o.results.length;p++){var l=o.results[p].obj;o.results[p].obj=new r,o.results[p].obj.init(l,a)}};if(Array.isArray(e)){if(2!==e.length){var u=new Error(\"If using legacy coordinates, must be an array of size 2 for geoNear\");return s(u),void(n&&n(u))}o=e[0],a=e[1],r.collection.geoNear(o,a,t,c)}else{if(\"Point\"!==e.type||!Array.isArray(e.coordinates))return u=new Error(\"Must pass either a legacy coordinate array or GeoJSON Point to geoNear\"),s(u),void(n&&n(u));r.collection.geoNear(e,t,c)}})},i.aggregate=function W(){var W,e,t=[].slice.call(arguments);return\"function\"==typeof t[t.length-1]&&(e=t.pop()),W=new O(1===t.length&&M.isArray(t[0])?t[0]:t),W.model(this),\"undefined\"==typeof e?W:W.exec(e)},i.geoSearch=function(e,t,n){\"function\"==typeof t&&(n=t,t={});var r=this,i=N.get();return new i.ES6(function(i,o){var a;return void 0!==e&&C.isObject(e)?t.near?Array.isArray(t.near)||(a=new Error(\"near option must be an array [x, y]\")):a=new Error(\"Must specify the near option in geoSearch\"):a=new Error(\"Must pass conditions to geoSearch\"),a?(n&&n(a),void o(a)):(t.search=e,void r.collection.geoHaystackSearch(t.near[0],t.near[1],t,function(e,a){function s(e){return e&&!u?(n&&n(e),void o(e)):void(--c||u||(n&&n(null,a.results,a.stats),i(a.results,a.stats)))}if(e)return n&&n(e),void o(e);var c=a.results.length;if(t.lean||0===c)return n&&n(null,a.results,a.stats),void i(a.results,a.stats);for(var u=!1,p=0;p<a.results.length;p++){var l=a.results[p];a.results[p]=new r,a.results[p].init(l,{},s)}}))})},i.populate=function(e,t,n){var r=this,i=t&&!!t.__noPromise;t=C.populate(t);var o={};if(!i){var a=N.get();return new a.ES6(function(i,a){l(r,e,t,o,function(e,t){e?(n&&n(e),a(e)):(n&&n(null,t),i(t))})})}l(this,e,t,o,n)};var $=/\\s?-_id\\s?/,U=/\\s?-_id\\s?/g;i._getSchema=function(e){return this.schema._getSchema(e)},i.compile=function(e,t,n,r,o){function a(e,t,n){return this instanceof a?void i.call(this,e,t,n):new a(e,t,n)}var s=t.options.versionKey!==!1;if(s&&!t.paths[t.options.versionKey]){var c={};c[t.options.versionKey]=Number,t.add(c)}a.hooks=t.s.hooks.clone(),a.base=o,a.modelName=e,a.__proto__=i,a.prototype.__proto__=i.prototype,a.model=i.prototype.model,a.db=a.prototype.db=r,a.discriminators=a.prototype.discriminators=void 0,a.prototype.$__setSchema(t);var u={bufferCommands:t.options.bufferCommands,capped:t.options.capped};return a.prototype.collection=r.collection(n,u),H(a,t),V(a,t),a.schema=a.prototype.schema,a.collection=a.prototype.collection,a};var H=function(e,t){function n(t,n){Object.defineProperty(e.prototype,t,{get:function(){var e={};for(var r in n.methods[t])e[r]=n.methods[t][r].bind(this);return e},configurable:!0})}for(var r in t.methods)\"function\"==typeof t.methods[r]?e.prototype[r]=t.methods[r]:n(r,t)},V=function(e,t){for(var n in t.statics)e[n]=t.statics[n]};i.__subclass=function(e,t,n){var r=this,i=function c(e,t,n){return this instanceof c?void r.call(this,e,t,n):new c(e,t,n)};i.__proto__=r,i.prototype.__proto__=r.prototype,i.db=i.prototype.db=e;var o=t&&\"string\"!=typeof t?t:r.prototype.schema,a=o.options||{};n||(n=r.prototype.schema.get(\"collection\")||C.toCollectionName(r.modelName,a));var s={bufferCommands:o?a.bufferCommands:!0,capped:o&&a.capped};return i.prototype.collection=e.collection(n,s),i.collection=i.prototype.collection,i.init(),i},t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./aggregate\":249,\"./document\":253,\"./error\":260,\"./promise\":274,\"./promise_provider\":275,\"./query\":276,\"./queryhelpers\":277,\"./schema\":279,\"./utils\":302,async:11,events:void 0,util:void 0}],274:[function(e,t,n){function r(e){i.call(this,e)}var i=e(\"mpromise\"),o=e(\"util\");r.ES6=function(e){var t=new r;return e(function(){t.complete.apply(t,arguments)},function(e){t.error(e)}),t},r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),r.SUCCESS=\"complete\",r.FAILURE=\"err\",r.prototype.error=function(e){return e instanceof Error||(e instanceof Object&&(e=o.inspect(e)),e=new Error(e)),this.reject(e)},r.prototype.resolve=function(e){return e?this.error(e):this.fulfill.apply(this,Array.prototype.slice.call(arguments,1))},r.prototype.addBack=r.prototype.onResolve,r.prototype.complete=i.prototype.fulfill,r.prototype.addCallback=r.prototype.onFulfill,r.prototype.addErrback=r.prototype.onReject,t.exports=r},{mpromise:307,util:void 0}],275:[function(e,t,n){var r=e(\"./promise\"),i={_promise:r};i.get=function(){return i._promise},i.set=function(t){return t===r?i.reset():(i._promise=e(\"./ES6Promise\"),i._promise.use(t),void(e(\"mquery\").Promise=i._promise.ES6))},i.reset=function(){i._promise=r},t.exports=i},{\"./ES6Promise\":248,\"./promise\":274,mquery:312}],276:[function(e,t,n){function r(e,t,n,i){if(this._mongooseOptions||(this._mongooseOptions={}),t)for(var o=Object.keys(t),a=0;a<o.length;++a){var s=o[a];this._mongooseOptions[s]=t[s]}i&&(this.mongooseCollection=i),n&&(this.model=n,this.schema=n.schema),this.model&&this.model._mapreduce&&this.lean(),p.call(this,this.mongooseCollection,t),e&&this.find(e),this.schema&&(this._count=this.model.hooks.createWrapper(\"count\",r.prototype._count,this),this._execUpdate=this.model.hooks.createWrapper(\"update\",r.prototype._execUpdate,this),this._find=this.model.hooks.createWrapper(\"find\",r.prototype._find,this),this._findOne=this.model.hooks.createWrapper(\"findOne\",r.prototype._findOne,this),this._findOneAndRemove=this.model.hooks.createWrapper(\"findOneAndRemove\",r.prototype._findOneAndRemove,this),this._findOneAndUpdate=this.model.hooks.createWrapper(\"findOneAndUpdate\",r.prototype._findOneAndUpdate,this))}function i(e,t,n,r,i,o){function a(e){return e?o(e):void(--c||o(null,s))}for(var s=[],c=t.length,u=c,p=i?{populated:i}:void 0,l=0;u>l;++l)s[l]=v.createModel(e,t[l],n),s[l].init(t[l],p,a)}function o(e,t,n,r,i,o,a){var s=o?{populated:o}:void 0,c=v.createModel(e,t,r);c.init(t,s,function(e){return e?a(e):n?a(null,c,n):void a(null,c)})}function a(e){if(e&&e.model&&e.model.schema){var t=e.model.schema;t&&t.discriminatorMapping&&!t.discriminatorMapping.isRoot&&(e._conditions[t.discriminatorMapping.key]=t.discriminatorMapping.value)}}function s(e){if(!Array.isArray(e.sort)&&m.isObject(e.sort)){var t=[];for(var n in e.sort)m.object.hasOwnProperty(e.sort,n)&&t.push([n,e.sort[n]]);e.sort=t}}function c(e){try{return e.cast(e.model)}catch(t){return t}}function u(e,t){try{return e._castUpdate(e._update,t)}catch(n){return n}}var p=e(\"mquery\"),l=e(\"util\"),f=e(\"./drivers\").ReadPreference,d=e(\"./promise_provider\"),h=e(\"./services/updateValidators\"),m=e(\"./utils\"),v=e(\"./queryhelpers\"),g=e(\"./querystream\"),y=e(\"./error/strict\"),b=e(\"./cast\");r.prototype=new p,r.prototype.constructor=r,r.base=p.prototype,r.use$geoWithin=p.use$geoWithin,r.prototype.toConstructor=function(){var e=function(n,i){return this instanceof e?(this._mongooseOptions=m.clone(t._mongooseOptions),void r.call(this,n,i||null)):new e(n,i)};l.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=m.clone(this._conditions),t._fields=m.clone(this._fields),t._update=m.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t.model=this.model,t.mongooseCollection=this.mongooseCollection,t._mongooseOptions=this._mongooseOptions,e},r.prototype.read=function _(e,t){var _=f.call(f,e,t);return r.base.read.call(this,_)},r.prototype.setOptions=function(e,t){return t?(this._mongooseOptions=e&&m.clone(e)||{},this.options=e||{},\"populate\"in e&&this.populate(this._mongooseOptions),this):e&&\"Object\"===e.constructor.name?r.base.setOptions.call(this,e):this},r.prototype.getQuery=function(){return this._conditions},r.prototype.getUpdate=function(){return this._update},r.prototype._optionsForExec=function(e){var t=r.base._optionsForExec.call(this);return delete t.populate,(e=e||this.model)?(\"safe\"in t||!e.schema.options.safe||(t.safe=e.schema.options.safe),\"readPreference\"in t||!e.schema.options.read||(t.readPreference=e.schema.options.read),t):t},r.prototype.lean=function(e){return this._mongooseOptions.lean=arguments.length?!!e:!0,this},r.prototype._find=function(e){if(this._castError)return e(this._castError),this;this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._fieldsForExec(),n=this._mongooseOptions,o=this,a=function(r,a){if(r)return e(r);if(0===a.length)return e(null,a);if(!n.populate)return n.lean===!0?e(null,a):i(o.model,a,t,o,null,e);var s=v.preparePopulationOptionsMQ(o,n);s.__noPromise=!0,o.model.populate(a,s,function(r,a){return r?e(r):n.lean===!0?e(null,a):i(o.model,a,t,o,s,e)})};return r.base.find.call(this,{},a)},r.prototype.find=function(e,t){\"function\"==typeof e&&(t=e,e={}),e=m.toObject(e),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(n){this._castError=n}return t?(this._find(t),this):r.base.find.call(this)},r.prototype._findOne=function(e){if(this._castError)return e(this._castError);this._applyPaths(),this._fields=this._castFields(this._fields);var t=this._mongooseOptions,n=this._fieldsForExec(),i=this;r.base.findOne.call(i,{},function(r,a){if(r)return e(r);if(!a)return e(null,null);if(!t.populate)return t.lean===!0?e(null,a):o(i.model,a,null,n,i,null,e);var s=v.preparePopulationOptionsMQ(i,t);s.__noPromise=!0,i.model.populate(a,s,function(r,a){return r?e(r):t.lean===!0?e(null,a):o(i.model,a,null,n,i,s,e)})})},r.prototype.findOne=function(e,t,n,i){\"function\"==typeof e?(i=e,e=null,t=null,n=null):\"function\"==typeof t?(i=t,n=null,t=null):\"function\"==typeof n&&(i=n,n=null),e=m.toObject(e),this.op=\"findOne\",n&&this.setOptions(n),t&&this.select(t),p.canMerge(e)&&this.merge(e),a(this);try{this.cast(this.model),this._castError=null}catch(o){this._castError=o}return i?(this._findOne(i),this):r.base.findOne.call(this)},r.prototype._count=function(e){try{this.cast(this.model)}catch(t){return process.nextTick(function(){e(t)}),this}var n=this._conditions,r=this._optionsForExec();this._collection.count(n,r,m.tick(e))},r.prototype.count=function(e,t){return\"function\"==typeof e&&(t=e,e=void 0),p.canMerge(e)&&this.merge(e),this.op=\"count\",t?(this._count(t),this):this},r.prototype.distinct=function(e,t,n){n||(\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0,t=void 0)),t=m.toObject(t),p.canMerge(t)&&this.merge(t);try{this.cast(this.model)}catch(i){if(!n)throw i;return n(i),this}return r.base.distinct.call(this,{},e,n)},r.prototype.sort=function(e){var t={};if(arguments.length>1)throw new Error(\"sort() only takes 1 Argument\");if(Array.isArray(e))for(var n=0;n<e.length;n++){if(!Array.isArray(e[n]))throw new Error(\"Invalid sort() argument.\");t[e[n][0]]=e[n][1]}else t=e;return r.base.sort.call(this,t)},r.prototype.remove=function(e,t){\"function\"==typeof e&&(t=e,e=null);var n=\"function\"==typeof t;try{this.cast(this.model)}catch(i){return n?process.nextTick(t.bind(null,i)):this}return r.base.remove.call(this,e,t)},r.prototype.findOneAndUpdate=function(e,t,n,r){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(r=n,n={});break;case 2:\"function\"==typeof t&&(r=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(r=e,e=n=t=void 0):(t=e,e=n=void 0)}return p.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),r?this._findOneAndUpdate(r):this},r.prototype._findOneAndUpdate=function(e){return this._findAndModify(\"update\",e),this},r.prototype.findOneAndRemove=function(e,t,n){switch(this.op=\"findOneAndRemove\",this._validate(),arguments.length){case 2:\"function\"==typeof t&&(n=t,t={});break;case 1:\"function\"==typeof e&&(n=e,e=void 0,t=void 0)}return p.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?(this._findOneAndRemove(n),this):this},r.prototype._findOneAndRemove=function(e){r.base.findOneAndRemove.call(this,e)},r.prototype._findAndModify=function(e,t){if(\"function\"!=typeof t)throw new Error(\"Expected callback in _findAndModify\");var n,r,i,a,p,l=this.model,f=l.schema,d=this;if(n=c(this),n instanceof Error)return t(n);if(a=this._optionsForExec(l),\"strict\"in a&&(this._mongooseOptions.strict=a.strict),\"remove\"===e)a.remove=!0;else{if(\"new\"in a||(a[\"new\"]=!1),\"upsert\"in a||(a.upsert=!1),(a.upsert||a[\"new\"])&&(a.remove=!1),r=u(this,a.overwrite)){if(r instanceof Error)return t(r);r.$set&&0===Object.keys(r.$set).length&&delete r.$set}else{if(!a.upsert)return this.findOne(t);var g=m.clone(n);delete g._id,r={$set:g}}p=h(this,f,r,a)}this._applyPaths();var y=this._mongooseOptions;if(this._fields&&(i=m.clone(this._fields),a.fields=this._castFields(i),a.fields instanceof Error))return t(a.fields);a.sort&&s(a);var b=function(e,n,r){if(e)return t(e);if(!n||m.isObject(n)&&0===Object.keys(n).length)return a.passRawResult?t(null,null,r):t(null,null);if(a.passRawResult||(r=null),!y.populate)return y.lean===!0?t(null,n):o(d.model,n,r,i,d,null,t);var s=v.preparePopulationOptionsMQ(d,y);s.__noPromise=!0,d.model.populate(n,s,function(e,n){return e?t(e):y.lean===!0?t(null,n):o(d.model,n,r,i,d,s,t)})};if((a.runValidators||a.setDefaultsOnInsert)&&p){var x=function(e){return e?t(e):void d._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}))};try{p(x)}catch(w){t(w)}}else this._collection.findAndModify(n,r,a,m.tick(function(e,t){return b(e,t?t.value:t,t)}));return this},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&m.mergeClone(this._update,e._update):m.mergeClone(this._update,e)},r.prototype._execUpdate=function(e){var t,n,i=this.model.schema,o=this._conditions,a=this._update,s=this.options;if(this._castError)return e(this._castError),this;if(this.options.runValidators||this.options.setDefaultsOnInsert){n=this,t=h(this,i,a,s);var c=function(t){return t?e(t):void r.base.update.call(n,o,a,s,e)};try{t(c)}catch(u){process.nextTick(function(){e(u)})}return this}return r.base.update.call(this,o,a,s,e),this},r.prototype.update=function(e,t,n,i){\"function\"==typeof n?(i=n,n=null):\"function\"==typeof t?(i=t,t=e,e={},n=null):\"function\"==typeof e?(i=e,e=void 0,t=void 0,n=void 0):\"object\"!=typeof e||t||n||i||(t=e,e=void 0,n=void 0,i=void 0),e=m.toObject(e);var o=i;if(o){if(\"function\"!=typeof o)throw new Error(\"Invalid callback() argument.\");i=function(e,t){o(e,t?t.result:{ok:0,n:0,nModified:0})}}n&&\"strict\"in n&&(this._mongooseOptions.strict=n.strict),!t&&this._update&&(t=this._updateForExec()),p.canMerge(e)&&this.merge(e);var a=c(this);if(a instanceof Error){if(this._castError=a,i)return i(a),this;if(!n||!n.dontThrowCastError)throw a}var s;try{var u={retainKeyOrder:!0};n&&n.minimize&&(u.minimize=!0),s=this._castUpdate(m.clone(t,u),n&&n.overwrite)}catch(l){if(this._castError=a,i)return i(l),this;if(!n||!n.dontThrowCastError)throw l}return s?(m.isObject(n)&&this.setOptions(n),this._update||(this._update=s),i?this._execUpdate(i):r.base.update.call(this,a,s,n,i)):(this.op=\"update\",i&&i(null),this)},r.prototype.exec=function(e,t){var n=d.get(),r=this;return\"function\"==typeof e?(t=e,e=null):\"string\"==typeof e&&(this.op=e),new n.ES6(function(e,n){return r.op?void r[r.op].call(r,function(r,i){return r?(t&&t(r),void n(r)):(t&&t.apply(null,arguments),void e(i))}):(t&&t(null,void 0),void e())})},r.prototype.then=function(e,t){return this.exec().then(e,t)},r.prototype._getSchema=function(e){return this.model._getSchema(e)};var x={$push:1,$pushAll:1,$addToSet:1,$set:1},w={$pop:1,$unset:1,$inc:1};r.prototype._castUpdate=function(e,t){if(e){for(var n,r,i=Object.keys(e),o=i.length,a={},s=!1;o--;){var c=i[o];\"$\"===c[0]||t?\"$set\"===c?a.$set||(a[c]=e[c]):a[c]=e[c]:(a.$set||(e.$set?a.$set=e.$set:a.$set={}),a.$set[c]=e[c],i.splice(o,1),~i.indexOf(\"$set\")||i.push(\"$set\"))}for(o=i.length,t&&(n=!0);o--;)if(c=i[o],r=a[c],s=s||\"$\"===c.charAt(0),!r||\"Object\"!==r.constructor.name||t&&!s){if(!t||\"Object\"!==a.constructor.name){var u=\"Invalid atomic update value for \"+c+\". Expected an object, received \"+typeof r;throw new Error(u)}this._walkUpdatePath(a,\"$set\")}else n|=this._walkUpdatePath(r,c);return n&&a}},r.prototype._walkUpdatePath=function(e,t,n){for(var r,i,o,a=n?n+\".\":\"\",s=Object.keys(e),c=s.length,u=!1,p=this.schema.options.useNestedStrict;c--;)if(i=s[c],o=e[i],o&&\"Object\"===o.constructor.name)if(r=this._getSchema(a+i),r&&r.caster&&t in x)u=!0,\"$each\"in o?(e[i]={$each:this._castUpdateVal(r,o.$each,t)},null!=o.$slice&&(e[i].$slice=0|o.$slice),o.$sort&&(e[i].$sort=o.$sort),(o.$position||0===o.$position)&&(e[i].$position=o.$position)):e[i]=this._castUpdateVal(r,o,t);else if(\"$currentDate\"===t)e[i]=this._castUpdateVal(r,o,t),u=!0;else if(\"$set\"===t&&r)e[i]=this._castUpdateVal(r,o,t),u=!0;else{var l=a+i,f=this.model.schema._getPathType(l),d=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&f.schema||this.schema).options.strict;if(\"undefined\"===f.pathType){if(\"throw\"===d)throw new y(l);if(d){delete e[i];continue}}u|=this._walkUpdatePath(o,t,a+i)||m.isObject(o)&&0===Object.keys(o).length}else{var h=\"$each\"===i||\"$or\"===i||\"$and\"===i?n:a+i;r=this._getSchema(h);var v=this.model.schema._getPathType(h),g=\"strict\"in this._mongooseOptions?this._mongooseOptions.strict:(p&&v.schema||this.schema).options.strict,b=g&&!r&&!/real|nested/.test(v.pathType);if(b){if(\"throw\"===g)throw new y(a+i);delete e[i]}else{if(\"$rename\"===t){u=!0;continue}u=!0,e[i]=this._castUpdateVal(r,o,t,i)}}return u},r.prototype._castUpdateVal=function(e,t,n,r){if(!e)return n in w?Number(t):t;var i=e.caster&&n in x&&(m.isObject(t)||Array.isArray(t));if(i){var o=e.cast(t);t=Array.isArray(t)?o:e.caster.$isSingleNested?o:o[0]}return n in w?Number(t):\"$currentDate\"===n?\"object\"==typeof t?{$type:t.$type}:Boolean(t):/^\\$/.test(r)?e.castForQuery(r,t):e.castForQuery(t)},r.prototype.populate=function(){var e=m.populate.apply(null,arguments),t=this._mongooseOptions;m.isObject(t.populate)||(t.populate={});for(var n=t.populate,r=0;r<e.length;++r){var i=e[r].path;n[i]&&n[i].populate&&e[r].populate&&(e[r].populate=n[i].populate.concat(e[r].populate)),n[e[r].path]=e[r]}return this},r.prototype.cast=function(e,t){return t||(t=this._conditions),b(e.schema,t)},r.prototype._castFields=function(e){var t,n,r,i,o,a;if(e)for(r=Object.keys(e),n=[],a=r.length;a--;)i=r[a],e[i].$elemMatch&&(t||(t={}),t[i]=e[i],n.push(i));if(t){try{o=this.cast(this.model,t)}catch(s){return s}for(a=n.length;a--;)i=n[a],e[i]=o[i]}return e},r.prototype._applyPaths=function(){var e,t,n,r=this._fields;if(r)for(t=Object.keys(r),n=t.length;n--;)if(\"+\"!==t[n][0]){e=0===r[t[n]];break}var i=[],o=[],a=[],s=function(n,a){if(\"boolean\"==typeof a.selected){var s=\"+\"+n;if(r&&s in r)return delete r[s],void(e===!1&&t.length>1&&!~t.indexOf(n)&&(r[n]=1));var c=n.split(\".\")[0];~o.indexOf(c)||(a.selected?i:o).push(n)}},c=function(e,t){t||(t=\"\"),~a.indexOf(e)||(a.push(e),e.eachPath(function(e,n){t&&(e=t+\".\"+e),s(e,n),n.schema&&c(n.schema,e)}))};switch(c(this.model.schema),e){case!0:o.length&&this.select(\"-\"+o.join(\" -\"));break;case!1:this.model.schema&&this.model.schema.paths._id&&this.model.schema.paths._id.options&&this.model.schema.paths._id.options.select===!1&&i.push(\"-_id\"),i.length&&this.select(i.join(\" \"));break;case void 0:o.length&&this.select(\"-\"+o.join(\" -\"))}a=o=i=t=r=null},r.prototype.stream=function(e){return this._applyPaths(),this._fields=this._castFields(this._fields),new g(this,e)},r.prototype.maxscan=r.base.maxScan,r.prototype.tailable=function(e,t){if(e&&\"Object\"===e.constructor.name&&(t=e,e=!0),void 0===e&&(e=!0),t&&\"object\"==typeof t)for(var n in t)\"awaitdata\"===n?this.options[n]=!!t[n]:this.options[n]=t[n];return r.base.tailable.call(this,e)},r.prototype.near=function(){var e=[],t=this._mongooseOptions.nearSphere;if(1===arguments.length)if(Array.isArray(arguments[0]))e.push({center:arguments[0],spherical:t});else if(\"string\"==typeof arguments[0])e.push(arguments[0]);else{if(!m.isObject(arguments[0]))throw new TypeError(\"invalid argument\");\"boolean\"!=typeof arguments[0].spherical&&(arguments[0].spherical=t),e.push(arguments[0])}else if(2===arguments.length)if(\"number\"==typeof arguments[0]&&\"number\"==typeof arguments[1])e.push({center:[arguments[0],arguments[1]],spherical:t});else if(\"string\"==typeof arguments[0]&&Array.isArray(arguments[1]))e.push(arguments[0]),e.push({center:arguments[1],spherical:t});else{if(\"string\"!=typeof arguments[0]||!m.isObject(arguments[1]))throw new TypeError(\"invalid argument\");e.push(arguments[0]),\"boolean\"!=typeof arguments[1].spherical&&(arguments[1].spherical=t),e.push(arguments[1])}else{if(3!==arguments.length)throw new TypeError(\"invalid argument\");if(\"string\"!=typeof arguments[0]||\"number\"!=typeof arguments[1]||\"number\"!=typeof arguments[2])throw new TypeError(\"invalid argument\");e.push(arguments[0]),e.push({center:[arguments[1],arguments[2]],spherical:t})}return r.base.near.apply(this,e)},r.prototype.nearSphere=function(){return this._mongooseOptions.nearSphere=!0,this.near.apply(this,arguments),this},r.prototype.box=function(e,t){return!Array.isArray(e)&&m.isObject(e)&&(t=e.ur,e=e.ll),r.base.box.call(this,e,t)},r.prototype.center=r.base.circle,r.prototype.centerSphere=function(){arguments[0]&&\"Object\"===arguments[0].constructor.name&&(arguments[0].spherical=!0),arguments[1]&&\"Object\"===arguments[1].constructor.name&&(arguments[1].spherical=!0),r.base.circle.apply(this,arguments)},t.exports=r},{\"./cast\":251,\"./drivers\":259,\"./error/strict\":267,\"./promise_provider\":275,\"./queryhelpers\":277,\"./querystream\":278,\"./services/updateValidators\":293,\"./utils\":302,mquery:312,util:void 0}],277:[function(e,t,n){function r(e){e.options||(e.options={}),e.options.lean=!0}var i=e(\"./utils\");n.preparePopulationOptions=function(e,t){var n=i.object.vals(e.options.populate);return t.lean&&n.forEach(r),n},n.preparePopulationOptionsMQ=function(e,t){var n=i.object.vals(e._mongooseOptions.populate);return t.lean&&n.forEach(r),n},n.createModel=function(e,t,n){var r=e.schema?e.schema.discriminatorMapping:null,i=r&&r.isRoot?r.key:null;return i&&t[i]&&e.discriminators&&e.discriminators[t[i]]?new e.discriminators[t[i]](void 0,n,!0):new e(void 0,n,!0)}},{\"./utils\":302}],278:[function(e,t,n){function r(e,t){a.call(this),this.query=e,this.readable=!0,this.paused=!1,this._cursor=null,this._destroyed=null,this._fields=null,this._buffer=null,this._inline=p,this._running=!1,this._transform=t&&\"function\"==typeof t.transform?t.transform:u;var n=this;process.nextTick(function(){n._init()})}function i(e,t,n){var r=c.createModel(e.query.model,n,e._fields),i=t?{populated:t}:void 0;r.init(n,i,function(t){return t?e.destroy(t):void o(e,r)})}function o(e,t){e.emit(\"data\",e._transform(t)),l===e._inline?e._next():e._inline=f}var a=e(\"stream\").Stream,s=e(\"./utils\"),c=e(\"./queryhelpers\"),u=function(e){return e};r.prototype.__proto__=a.prototype,r.prototype.readable,r.prototype.paused;var p=0,l=1,f=2;r.prototype._init=function(){if(!this._destroyed){var e=this.query,t=e.model,n=e._optionsForExec(t),r=this;try{e.cast(t)}catch(i){return r.destroy(i)}r._fields=s.clone(e._fields),n.fields=e._castFields(r._fields),t.collection.find(e._conditions,n,function(e,t){return e?r.destroy(e):(r._cursor=t,void r._next())})}},r.prototype._next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;if(this._running=!0,this._buffer&&this._buffer.length)for(var e;!this.paused&&!this._destroyed&&(e=this._buffer.shift());)this._onNextObject.apply(this,e);for(;this.__next(););},r.prototype.__next=function(){if(this.paused||this._destroyed)return this._running=!1,this._running;var e=this;return e._inline=p,e._cursor.nextObject(function(t,n){e._onNextObject(t,n)}),f===this._inline?!0:void(this._inline=l)},r.prototype._onNextObject=function(e,t){if(!this._destroyed){if(this.paused)return this._buffer||(this._buffer=[]),this._buffer.push([e,t]),this._running=!1,this._running;if(e)return this.destroy(e);if(!t)return this.emit(\"end\"),this.destroy();var n=this.query._mongooseOptions;if(!n.populate)return n.lean===!0?o(this,t):i(this,null,t);var r=this,a=c.preparePopulationOptionsMQ(r.query,r.query._mongooseOptions);a.forEach(function(e){delete e.model}),a.__noPromise=!0,r.query.model.populate(t,a,function(e,t){return e?r.destroy(e):n.lean===!0?o(r,t):i(r,a,t)})}},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){return this.paused=!1,this._cursor&&p!==this._inline?this._running?void 0:this._next():void 0},r.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,this._running=!1,this.readable=!1,this._cursor&&this._cursor.close(),e&&this.emit(\"error\",e),this.emit(\"close\"))},t.exports=n=r},{\"./queryhelpers\":277,\"./utils\":302,stream:void 0}],279:[function(e,t,n){(function(r){function i(e,t){if(!(this instanceof i))return new i(e,t);this.paths={},this.subpaths={},this.virtuals={},this.singleNestedPaths={},this.nested={},this.inherits={},this.callQueue=[],this._indexes=[],this.methods={},this.statics={},this.tree={},this._requiredpaths=void 0,this.discriminatorMapping=void 0,this._indexedpaths=void 0,this.s={hooks:new d,queryHooks:m},this.options=this.defaultOptions(t),e&&this.add(e);var n=e&&e._id&&f.isObject(e._id),r=!this.paths._id&&!this.options.noId&&this.options._id&&!n;r&&(e={_id:{auto:!0}},e._id[this.options.typeKey]=i.ObjectId,this.add(e));var a=!this.paths.id&&!this.options.noVirtualId&&this.options.id;a&&this.virtual(\"id\").get(o);for(var s=0;s<this._defaultMiddleware.length;++s){var c=this._defaultMiddleware[s];this[c.kind](c.hook,!!c.isAsync,c.fn)}this.options.timestamps&&this.setupTimestamp(this.options.timestamps)}function o(){return this.$__._id?this.$__._id:(this.$__._id=null==this._id?null:String(this._id),this.$__._id)}function a(e,t){var n=t.split(/\\.(\\d+)\\.|\\.(\\d+)$/).filter(Boolean);if(n.length<2)return e.paths[n[0]];var r=e.path(n[0]),i=!1;if(!r)return r;for(var o,a=n.length-1,s=1;s<n.length;++s){if(i=!1,o=n[s],s===a&&r&&!r.schema&&!/\\D/.test(o)){r=r instanceof c.Array?r.caster:void 0;break}if(/\\D/.test(o)){if(!r||!r.schema){r=void 0;break}var u=r.schema.pathType(o);i=\"nested\"===u,r=r.schema.path(o)}}return e.subpaths[t]=r,r?\"real\":i?\"nested\":\"adhocOrUndefined\"}function s(e,t){return a(e,t),e.subpaths[t]}var c,u=e(\"./drivers\").ReadPreference,p=e(\"events\").EventEmitter,l=e(\"./virtualtype\"),f=e(\"./utils\"),d=e(\"kareem\"),h=e(\"async\"),m={count:!0,find:!0,findOne:!0,findOneAndUpdate:!0,findOneAndRemove:!0,update:!0};i.prototype=Object.create(p.prototype),i.prototype.constructor=i,i.prototype.instanceOfSchema=!0,Object.defineProperty(i.prototype,\"_defaultMiddleware\",{configurable:!1,enumerable:!1,writable:!1,value:[{kind:\"pre\",hook:\"save\",fn:function(e,t){if(this.ownerDocument)return e();var n,r=t&&\"object\"==typeof t&&\"validateBeforeSave\"in t;n=r?!!t.validateBeforeSave:this.schema.options.validateBeforeSave,n?this.$__original_validate?this.$__original_validate({__noPromise:!0},function(t){e(t)}):this.validate({__noPromise:!0},function(t){e(t)}):e()}},{kind:\"pre\",hook:\"save\",isAsync:!0,fn:function(e,t){var n=this.$__getAllSubdocs();return!n.length||this.$__preSavingFromParent?(t(),void e()):void h.each(n,function(e,t){e.$__preSavingFromParent=!0,e.save(function(e){t(e)})},function(r){for(var i=0;i<n.length;++i)delete n[i].$__preSavingFromParent;return r?void t(r):(e(),void t())})}}]}),i.prototype.paths,i.prototype.tree,i.prototype.defaultOptions=function(e){return e&&e.safe===!1&&(e.safe={w:0}),e&&e.safe&&0===e.safe.w&&(e.versionKey=!1),e=f.options({strict:!0,bufferCommands:!0,capped:!1,versionKey:\"__v\",discriminatorKey:\"__t\",minimize:!0,autoIndex:null,shardKey:null,read:null,validateBeforeSave:!0,noId:!1,_id:!0,noVirtualId:!1,id:!0,typeKey:\"type\"},e),e.read&&(e.read=u(e.read)),e},i.prototype.add=function(e,t){t=t||\"\";for(var n=Object.keys(e),r=0;r<n.length;++r){var i=n[r];if(null==e[i])throw new TypeError(\"Invalid value for schema path `\"+t+i+\"`\");if(Array.isArray(e[i])&&1===e[i].length&&null==e[i][0])throw new TypeError(\"Invalid value for schema Array path `\"+t+i+\"`\");!f.isObject(e[i])||e[i].constructor&&\"Object\"!==f.getFunctionName(e[i].constructor)||e[i][this.options.typeKey]&&(\"type\"!==this.options.typeKey||!e[i].type.type)?this.path(t+i,e[i]):Object.keys(e[i]).length?(this.nested[t+i]=!0,this.add(e[i],t+i+\".\")):this.path(t+i,e[i])}},i.reserved=Object.create(null);var v=i.reserved;v.emit=v.on=v.once=v.listeners=v.removeListener=v.collection=v.db=v.errors=v.init=v.isModified=v.isNew=v.get=v.modelName=v.save=v.schema=v.set=v.toObject=v.validate=v._pres=v._posts=1;var g={};g.increment=\"`increment` should not be used as a schema path name unless you have disabled versioning.\",i.prototype.path=function(e,t){if(void 0===t)return this.paths[e]?this.paths[e]:this.subpaths[e]?this.subpaths[e]:this.singleNestedPaths[e]?this.singleNestedPaths[e]:/\\.\\d+\\.?.*$/.test(e)?s(this,e):void 0;if(v[e])throw new Error(\"`\"+e+\"` may not be used as a schema pathname\");g[e]&&console.log(\"WARN: \"+g[e]);var n=e.split(/\\./),r=n.pop(),o=this.tree;if(n.forEach(function(t,r){if(o[t]||(o[t]={}),\"object\"!=typeof o[t]){var i=\"Cannot set nested path `\"+e+\"`. Parent path `\"+n.slice(0,r).concat([t]).join(\".\")+\"` already set to type \"+o[t].name+\".\";throw new Error(i)}o=o[t]}),o[r]=f.clone(t),this.paths[e]=i.interpretAsType(e,t,this.options),this.paths[e].$isSingleNested){for(var a in this.paths[e].schema.paths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.paths[a];for(a in this.paths[e].schema.singleNestedPaths)this.singleNestedPaths[e+\".\"+a]=this.paths[e].schema.singleNestedPaths[a]}return this},i.interpretAsType=function(e,t,n){if(t.constructor){var o=f.getFunctionName(t.constructor);if(\"Object\"!==o){var a=t;t={},t[n.typeKey]=a}}var s=!t[n.typeKey]||\"type\"===n.typeKey&&t.type.type?{}:t[n.typeKey];if(\"Object\"===f.getFunctionName(s.constructor)||\"mixed\"===s)return new c.Mixed(e,t);if(Array.isArray(s)||Array===s||\"array\"===s){var u=Array===s||\"array\"===s?t.cast:s[0];if(u&&u.instanceOfSchema)return new c.DocumentArray(e,u,t);if(\"string\"==typeof u)u=c[u.charAt(0).toUpperCase()+u.substring(1)];else if(u&&(!u[n.typeKey]||\"type\"===n.typeKey&&u.type.type)&&\"Object\"===f.getFunctionName(u.constructor)&&Object.keys(u).length){var p={minimize:n.minimize};n.typeKey&&(p.typeKey=n.typeKey);var l=new i(u,p);return new c.DocumentArray(e,l,t)}return new c.Array(e,u||c.Mixed,t)}if(s&&s.instanceOfSchema)return new c.Embedded(s,e,t);var d;if(d=r.isBuffer(s)?\"Buffer\":\"string\"==typeof s?s:s.schemaName||f.getFunctionName(s),d&&(d=d.charAt(0).toUpperCase()+d.substring(1)),void 0==c[d])throw new TypeError(\"Undefined type `\"+d+\"` at `\"+e+\"`\\n  Did you try nesting Schemas? You can only nest using refs or arrays.\");return new c[d](e,t)},i.prototype.eachPath=function(e){for(var t=Object.keys(this.paths),n=t.length,r=0;n>r;++r)e(t[r],this.paths[t[r]]);return this},i.prototype.requiredPaths=function(e){if(this._requiredpaths&&!e)return this._requiredpaths;for(var t=Object.keys(this.paths),n=t.length,r=[];n--;){var i=t[n];this.paths[i].isRequired&&r.push(i)}return this._requiredpaths=r,this._requiredpaths},i.prototype.indexedPaths=function(){return this._indexedpaths?this._indexedpaths:(this._indexedpaths=this.indexes(),this._indexedpaths)},i.prototype.pathType=function(e){return e in this.paths?\"real\":e in this.virtuals?\"virtual\":e in this.nested?\"nested\":e in this.subpaths?\"real\":e in this.singleNestedPaths?\"real\":/\\.\\d+\\.|\\.\\d+$/.test(e)?a(this,e):\"adhocOrUndefined\"},i.prototype.hasMixedParent=function(e){var t=e.split(/\\./g);e=\"\";for(var n=0;n<t.length;++n)if(e=n>0?e+\".\"+t[n]:t[n],e in this.paths&&this.paths[e]instanceof c.Mixed)return!0;return!1},i.prototype.setupTimestamp=function(e){if(e){var t=e.createdAt||\"createdAt\",n=e.updatedAt||\"updatedAt\",r={};r[n]=Date,this.paths[t]||(r[t]=Date),\nthis.add(r),this.pre(\"save\",function(e){var r=new Date,i=this._id&&this._id.auto;this[t]||(this[t]=i?this._id.getTimestamp():r),(this.isNew||this.isModified())&&(this[n]=this.isNew?this[t]:r),e()});var i=function(){var e=new Date,r={$set:{},$setOnInsert:{}};return r.$set[n]=e,r.$setOnInsert[t]=e,r};this.pre(\"findOneAndUpdate\",function(e){this.findOneAndUpdate({},i()),e()}),this.pre(\"update\",function(e){this.update({},i()),e()})}},i.prototype.queue=function(e,t){return this.callQueue.push([e,t]),this},i.prototype.pre=function(){var e=arguments[0];return m[e]?(this.s.hooks.pre.apply(this.s.hooks,arguments),this):this.queue(\"pre\",arguments)},i.prototype.post=function(e,t){return m[e]?(this.s.hooks.post.apply(this.s.hooks,arguments),this):t.length<2?this.queue(\"on\",[arguments[0],function(e){return t.call(e,e)}]):this.queue(\"post\",[arguments[0],function(e){var n=this,r=Array.prototype.slice.call(arguments,1);t.call(this,this,function(t){return e.apply(n,[t].concat(r))})}])},i.prototype.plugin=function(e,t){return e(this,t),this},i.prototype.method=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.methods[n]=e[n];else this.methods[e]=t;return this},i.prototype[\"static\"]=function(e,t){if(\"string\"!=typeof e)for(var n in e)this.statics[n]=e[n];else this.statics[e]=t;return this},i.prototype.index=function(e,t){return t||(t={}),t.expires&&f.expires(t),this._indexes.push([e,t]),this},i.prototype.set=function(e,t,n){if(1===arguments.length)return this.options[e];switch(e){case\"read\":this.options[e]=u(t,n);break;case\"safe\":this.options[e]=t===!1?{w:0}:t;break;case\"timestamps\":this.setupTimestamp(t),this.options[e]=t;break;default:this.options[e]=t}return this},i.prototype.get=function(e){return this.options[e]};var y=\"2d 2dsphere hashed text\".split(\" \");Object.defineProperty(i,\"indexTypes\",{get:function(){return y},set:function(){throw new Error(\"Cannot overwrite Schema.indexTypes\")}}),i.prototype.indexes=function(){\"use strict\";function e(e,n){var r,i,o,a,s,c,u=e._indexes,p=u.length,l=0;for(l=0;p>l;++l){for(r=u[l][0],a=Object.keys(r),o=a.length,i={},c=0;o>c;++c)s=a[c],i[n+s]=r[s];t.push([i,u[l][1]])}}var t=[],n={},r=function(o,a){if(!n[a]){n[a]=!0,a=a||\"\";for(var s,u,p,l,d,h,m,v=Object.keys(o.paths),g=0;g<v.length;++g)s=v[g],u=o.paths[s],u instanceof c.DocumentArray||u.$isSingleNested?r(u.schema,s+\".\"):(p=u._index,p!==!1&&null!==p&&void 0!==p&&(l={},d=f.isObject(p),h=d?p:{},m=\"string\"==typeof p?p:d?p.type:!1,m&&~i.indexTypes.indexOf(m)?l[a+s]=m:h.text?(l[a+s]=\"text\",delete h.text):l[a+s]=1,delete h.type,\"background\"in h||(h.background=!0),t.push([l,h])));a?e(o,a):(o._indexes.forEach(function(e){\"background\"in e[1]||(e[1].background=!0)}),t=t.concat(o._indexes))}};return r(this),t},i.prototype.virtual=function(e,t){var n=this.virtuals,r=e.split(\".\");return n[e]=r.reduce(function(n,i,o){return n[i]||(n[i]=o===r.length-1?new l(t,e):{}),n[i]},this.tree),n[e]},i.prototype.virtualpath=function(e){return this.virtuals[e]},i.prototype.remove=function(e){\"string\"==typeof e&&(e=[e]),Array.isArray(e)&&e.forEach(function(e){if(this.path(e)){delete this.paths[e];for(var t=e.split(\".\"),n=t.pop(),r=this.tree,i=0;i<t.length;++i)r=r[t[i]];delete r[n]}},this)},i.prototype._getSchema=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;)if(i=e.slice(0,o).join(\".\"),r=n.path(i)){if(r.caster){if(r.caster instanceof c.Mixed)return r.caster;if(o!==e.length&&r.schema)return\"$\"===e[o]?t(e.slice(o+1),r.schema):t(e.slice(o),r.schema)}return r}}var n=this,r=n.path(e);return r?r:t(e.split(\".\"),n)},i.prototype._getPathType=function(e){function t(e,n){for(var r,i,o=e.length+1;o--;){if(i=e.slice(0,o).join(\".\"),r=n.path(i))return r.caster?r.caster instanceof c.Mixed?{schema:r,pathType:\"mixed\"}:o!==e.length&&r.schema?\"$\"===e[o]?o===e.length-1?{schema:r,pathType:\"nested\"}:t(e.slice(o+1),r.schema):t(e.slice(o),r.schema):{schema:r,pathType:r.$isSingleNested?\"nested\":\"array\"}:{schema:r,pathType:\"real\"};if(o===e.length&&n.nested[i])return{schema:n,pathType:\"nested\"}}return{schema:r||n,pathType:\"undefined\"}}var n=this,r=n.path(e);return r?\"real\":t(e.split(\".\"),n)},t.exports=n=i,i.Types=c=e(\"./schema/index\"),n.ObjectId=c.ObjectId}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./drivers\":259,\"./schema/index\":286,\"./utils\":302,\"./virtualtype\":303,async:11,events:void 0,kareem:176}],280:[function(e,t,n){function r(e,t,n){if(t){var r={};\"Object\"===b.getFunctionName(t.constructor)&&(t.type?(r=b.clone(t),delete r.type,t=t.type):t=g);var i=\"string\"==typeof t?t:b.getFunctionName(t),o=i in h?h[i]:t;this.casterConstructor=o,this.caster=new o(null,r),this.caster instanceof v||(this.caster.path=e)}f.call(this,e,n,\"Array\");var a,s,c=this;this.defaultValue&&(a=this.defaultValue,s=\"function\"==typeof a),this[\"default\"](function(){var e=s?a():a||[];return new m(e,c.path,this)})}function i(e){return h.Number.prototype.cast.call(this,e)}function o(e,t){e.forEach(function(n,r){Array.isArray(n)?o(n,t):e[r]=i.call(t,n)})}function a(e){return Array.isArray(e)?(o(e,this),e):e&&e.$geometry?s(e,this):r.prototype.castForQuery.call(this,e)}function s(e,t){switch(e.$geometry.type){case\"Polygon\":case\"LineString\":case\"Point\":o(e.$geometry.coordinates,t)}return e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e}function c(e){var t=this;if(e.$maxDistance&&(e.$maxDistance=i.call(t,e.$maxDistance)),e.$box||e.$polygon){var n=e.$box?\"$box\":\"$polygon\";e[n].forEach(function(e){if(!Array.isArray(e)){var t=\"Invalid $within $box argument. Expected an array, received \"+e;throw new TypeError(t)}e.forEach(function(t,n){e[n]=i.call(this,t)})})}else e.$center||e.$centerSphere?(n=e.$center?\"$center\":\"$centerSphere\",e[n].forEach(function(t,r){Array.isArray(t)?t.forEach(function(e,n){t[n]=i.call(this,e)}):e[n][r]=i.call(this,t)})):e.$geometry&&s(e,this);return e}function u(e){return Array.isArray(e)||(e=[e]),e=e.map(function(e){if(b.isObject(e)){var t={};return t[this.path]=e,y(this.casterConstructor.schema,t)[this.path]}return e},this),this.castForQuery(e)}function p(e){for(var t,n,r=Object.keys(e),i=r.length,o=0;i>o;++o)t=r[o],n=e[t],0===t.indexOf(\"$\")&&n&&(e[t]=this.castForQuery(t,n));return y(this.casterConstructor.schema,e)}function l(e){var t=e.$geometry;if(t)return s(e,this),e}var f=e(\"../schematype\"),d=f.CastError,h={Boolean:e(\"./boolean\"),Date:e(\"./date\"),Number:e(\"./number\"),String:e(\"./string\"),ObjectId:e(\"./objectid\"),Buffer:e(\"./buffer\")},m=e(\"../types\").Array,v=e(\"../types\").Embedded,g=e(\"./mixed\"),y=e(\"../cast\"),b=e(\"../utils\"),x=b.isMongooseObject;r.schemaName=\"Array\",r.prototype=Object.create(f.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return!(!e||!e.length)},r.prototype.applyGetters=function(e,t){return this.caster.options&&this.caster.options.ref?e:f.prototype.applyGetters.call(this,e,t)},r.prototype.cast=function(e,t,n){if(Array.isArray(e)){if(!e.length&&t)for(var r=t.schema.indexedPaths(),i=0,o=r.length;o>i;++i){var a=r[i][0][this.path];if(\"2dsphere\"===a||\"2d\"===a)return}if(e&&e.isMongooseArray||(e=new m(e,this.path,t)),this.caster)try{for(i=0,o=e.length;o>i;i++)e[i]=this.caster.cast(e[i],t,n)}catch(s){throw new d(s.type,e,this.path,s)}return e}return t&&n&&t.markModified(this.path),this.cast([e],t,n)},r.prototype.castForQuery=function(e,t){var n,r;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Array.\");r=n.call(this,t)}else{r=e;var i=this.casterConstructor.prototype,o=i.castForQuery||i.cast,a=this.caster;Array.isArray(r)?r=r.map(function(e){return b.isObject(e)&&e.$elemMatch?e:(o&&(e=o.call(a,e)),x(e)?e.toObject({virtuals:!1}):e)}):o&&(r=o.call(a,r))}return r&&x(r)?r.toObject({virtuals:!1}):r};var w=r.prototype.$conditionalHandlers={};w.$all=u,w.$options=String,w.$elemMatch=p,w.$geoIntersects=l,w.$or=w.$and=function(e){if(!Array.isArray(e))throw new TypeError(\"conditional $or/$and require array\");for(var t=[],n=0;n<e.length;++n)t.push(y(this.casterConstructor.schema,e[n]));return t},w.$near=w.$nearSphere=a,w.$within=w.$geoWithin=c,w.$size=w.$maxDistance=i,w.$eq=w.$gt=w.$gte=w.$in=w.$lt=w.$lte=w.$ne=w.$nin=w.$regex=r.prototype.castForQuery,t.exports=r},{\"../cast\":251,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],281:[function(e,t,n){function r(e,t){o.call(this,e,t,\"Boolean\")}var i=e(\"../utils\"),o=e(\"../schematype\");r.schemaName=\"Boolean\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e){return e===!0||e===!1},r.prototype.cast=function(e){return null===e?e:\"0\"===e?!1:\"true\"===e?!0:\"false\"===e?!1:!!e},r.$conditionalHandlers=i.options(o.prototype.$conditionalHandlers,{}),r.prototype.castForQuery=function(e,t){var n;return 2===arguments.length?(n=r.$conditionalHandlers[e],n?n.call(this,t):this.cast(t)):this.cast(e)},t.exports=r},{\"../schematype\":292,\"../utils\":302}],282:[function(e,t,n){(function(n){function r(e,t){u.call(this,e,t,\"Buffer\")}function i(e){return this.castForQuery(e)}var o,a=e(\"./operators/bitwise\"),s=e(\"../utils\"),c=e(\"../types\").Buffer,u=e(\"../schematype\"),p=c.Binary,l=u.CastError;r.schemaName=\"Buffer\",r.prototype=Object.create(u.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return u._isRef(this,e,t,!0)?!!e:!(!e||!e.length)},r.prototype.cast=function(t,r,i){var a;if(u._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(o||(o=e(\"./../document\")),t instanceof o)return t.$__.wasPopulated=!0,t;if(n.isBuffer(t))return t;if(!s.isObject(t))throw new l(\"buffer\",t,this.path);var f=r.$__fullPath(this.path),d=r.ownerDocument?r.ownerDocument():r,h=d.populated(f,!0);return a=new h.options.model(t),a.$__.wasPopulated=!0,a}if(t&&t._id&&(t=t._id),t&&t.isMongooseBuffer)return t;if(n.isBuffer(t))return t&&t.isMongooseBuffer||(t=new c(t,[this.path,r])),t;if(t instanceof p){if(a=new c(t.value(!0),[this.path,r]),\"number\"!=typeof t.sub_type)throw new l(\"buffer\",t,this.path);return a._subtype=t.sub_type,a}if(null===t)return t;var m=typeof t;if(\"string\"===m||\"number\"===m||Array.isArray(t))return\"number\"===m&&(t=[t]),a=new c(t,[this.path,r]);throw new l(\"buffer\",t,this.path)},r.prototype.$conditionalHandlers=s.options(u.prototype.$conditionalHandlers,{$bitsAllClear:a,$bitsAnyClear:a,$bitsAllSet:a,$bitsAnySet:a,$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Buffer.\");return n.call(this,t)}return t=e,this.cast(t).toObject()},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types\":299,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],283:[function(e,t,n){function r(e,t){s.call(this,e,t,\"Date\")}function i(e){return this.cast(e)}var o=e(\"../error\").messages,a=e(\"../utils\"),s=e(\"../schematype\"),c=s.CastError;r.schemaName=\"Date\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.expires=function(e){return this._index&&\"Object\"===this._index.constructor.name||(this._index={}),this._index.expires=e,a.expires(this._index),this},r.prototype.checkRequired=function(e){return e instanceof Date},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),e){var n=t||o.Date.min;n=n.replace(/{MIN}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.minValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()>=n.valueOf()},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),e){var n=t||o.Date.max;n=n.replace(/{MAX}/,e===Date.now?\"Date.now()\":this.cast(e).toString());var r=this;this.validators.push({validator:this.maxValidator=function(t){var n=e===Date.now?e():r.cast(e);return null===t||t.valueOf()<=n.valueOf()},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(e){if(null===e||void 0===e||\"\"===e)return null;if(e instanceof Date)return e;var t;if(\"boolean\"==typeof e)throw new c(\"date\",e,this.path);if(e instanceof Number||\"number\"==typeof e||String(e)==Number(e)?t=new Date(Number(e)):e.valueOf&&(t=new Date(e.valueOf())),!isNaN(t.valueOf()))return t;throw new c(\"date\",e,this.path)},r.prototype.$conditionalHandlers=a.options(s.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2!==arguments.length)return this.cast(e);if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Date.\");return n.call(this,t)},t.exports=r},{\"../error\":260,\"../schematype\":292,\"../utils\":302}],284:[function(e,t,n){function r(e,t,n){function r(){u.apply(this,arguments)}r.prototype=Object.create(u.prototype),r.prototype.$__setSchema(t),r.schema=t;for(var i in t.methods)r.prototype[i]=t.methods[i];for(i in t.statics)r[i]=t.statics[i];r.options=n,o.call(this,e,r,n),this.schema=t;var a=this.path,c=this.defaultValue;this[\"default\"](function(){var e=c.call(this);return Array.isArray(e)||(e=[e]),new s(e,a,this)})}function i(e,t,n){if(n&&t){for(var r,i,o=e.path+\".\",a=Object.keys(t),s=a.length,c={};s--;)i=a[s],0===i.indexOf(o)&&(r||(r=!0),c[i.substring(o.length)]=t[i]);return r&&c||void 0}}var o=e(\"./array\"),a=e(\"../error/cast\"),s=e(\"../types/documentarray\"),c=e(\"../schematype\"),u=e(\"../types/embedded\");r.schemaName=\"DocumentArray\",r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.doValidate=function(e,t,n,r){c.prototype.doValidate.call(this,e,function(n){function i(e){e&&(o=e),--a||t(o)}if(n)return t(n);var o,a=e&&e.length;if(!a)return t();if(r&&r.updateValidator)return t();for(var s=0,c=a;c>s;++s){var u=e[s];u?u.$__original_validate?u.$__original_validate({__noPromise:!0},i):u.validate({__noPromise:!0},i):--a||t(o)}},n)},r.prototype.doValidateSync=function(e,t){var n=c.prototype.doValidateSync.call(this,e,t);if(n)return n;var r=e&&e.length,i=null;if(r){for(var o=0,a=r;a>o&&!i;++o){var s=e[o];if(s){var u=s.validateSync();u&&(i=u)}}return i}},r.prototype.cast=function(e,t,n,r,o){var c,p,l;if(!Array.isArray(e))return t&&n&&t.markModified(this.path),this.cast([e],t,n,r);if(!(e&&e.isMongooseDocumentArray||o&&o.skipDocumentArrayCast)&&(e=new s(e,this.path,t),r&&r._handlers))for(var f in r._handlers)t.removeListener(f,r._handlers[f]);for(l=e.length;l--;)if(e[l]&&(e[l]instanceof u&&e[l].schema!==this.casterConstructor.schema&&(e[l]=e[l].toObject({virtuals:!1})),!(e[l]instanceof u)&&e[l]))if(n)c||(c=i(this,t.$__.selected,n)),p=new this.casterConstructor(null,e,!0,c,l),e[l]=p.init(e[l]);else{try{p=r.id(e[l]._id)}catch(d){}if(r&&p)p.set(e[l]),e[l]=p;else try{p=new this.casterConstructor(e[l],e,void 0,void 0,l),e[l]=p}catch(h){throw new a(\"embedded\",e[l],e._path,h)}}return e},t.exports=r},{\"../error/cast\":261,\"../schematype\":292,\"../types/documentarray\":297,\"../types/embedded\":298,\"./array\":280}],285:[function(e,t,n){function r(e,t,n){var r=function(e,t,n){var r=this;o.apply(this,arguments),this.$parent=n,n&&n.on(\"save\",function(){r.emit(\"save\",r)})};r.prototype=Object.create(o.prototype),r.prototype.$__setSchema(e),r.schema=e,r.$isSingleNested=!0,r.prototype.$basePath=t;for(var a in e.methods)r.prototype[a]=e.methods[a];for(a in e.statics)r[a]=e.statics[a];this.caster=r,this.schema=e,this.$isSingleNested=!0,i.call(this,t,n,\"Embedded\")}var i=e(\"../schematype\"),o=e(\"../types/subdocument\");t.exports=r,r.prototype=Object.create(i.prototype),r.prototype.cast=function(e,t,n){if(e&&e.$isSingleNested)return e;var r=new this.caster(void 0,t?t.$__.selected:void 0,t);return n?r.init(e):r.set(e,void 0,!0),r},r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,new this.caster(t).toObject({virtuals:!1})},r.prototype.doValidate=function(e,t){i.prototype.doValidate.call(this,e,function(n){return n?t(n):e?void e.validate(t,{__noPromise:!0}):t(null)})},r.prototype.doValidateSync=function(e){var t=i.prototype.doValidateSync.call(this,e);if(t)return t;if(e)return e.validateSync()}},{\"../schematype\":292,\"../types/subdocument\":301}],286:[function(e,t,n){n.String=e(\"./string\"),n.Number=e(\"./number\"),n.Boolean=e(\"./boolean\"),n.DocumentArray=e(\"./documentarray\"),n.Embedded=e(\"./embedded\"),n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Date=e(\"./date\"),n.ObjectId=e(\"./objectid\"),n.Mixed=e(\"./mixed\"),n.Oid=n.ObjectId,n.Object=n.Mixed,n.Bool=n.Boolean},{\"./array\":280,\"./boolean\":281,\"./buffer\":282,\"./date\":283,\"./documentarray\":284,\"./embedded\":285,\"./mixed\":287,\"./number\":288,\"./objectid\":289,\"./string\":291}],287:[function(e,t,n){function r(e,t){if(t&&t[\"default\"]){var n=t[\"default\"];Array.isArray(n)&&0===n.length?t[\"default\"]=Array:!t.shared&&o.isObject(n)&&0===Object.keys(n).length&&(t[\"default\"]=function(){return{}})}i.call(this,e,t,\"Mixed\")}var i=e(\"../schematype\"),o=e(\"../utils\");r.schemaName=\"Mixed\",r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.cast=function(e){return e},r.prototype.castForQuery=function(e,t){return 2===arguments.length?t:e},t.exports=r},{\"../schematype\":292,\"../utils\":302}],288:[function(e,t,n){(function(n){function r(e,t){s.call(this,e,t,\"Number\")}function i(e){return this.cast(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.cast(e)}):[this.cast(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"./operators/bitwise\"),p=e(\"../error\").messages,l=e(\"../utils\");r.schemaName=\"Number\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:\"number\"==typeof e||e instanceof Number},r.prototype.min=function(e,t){if(this.minValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.min;n=n.replace(/{MIN}/,e),this.validators.push({validator:this.minValidator=function(t){return null==t||t>=e},message:n,type:\"min\",min:e})}return this},r.prototype.max=function(e,t){if(this.maxValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxValidator},this)),null!==e&&void 0!==e){var n=t||p.Number.max;n=n.replace(/{MAX}/,e),this.validators.push({validator:this.maxValidator=function(t){return null==t||e>=t},message:n,type:\"max\",max:e})}return this},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"number\"==typeof t)return t;if(n.isBuffer(t)||!l.isObject(t))throw new c(\"number\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,p=u.populated(o,!0),f=new p.options.model(t);return f.$__.wasPopulated=!0,f}var d=t&&t._id?t._id:t;if(!isNaN(d)){if(null===d)return d;if(\"\"===d)return null;if(\"string\"!=typeof d&&\"boolean\"!=typeof d||(d=Number(d)),d instanceof Number)return d;if(\"number\"==typeof d)return d;if(d.toString&&!Array.isArray(d)&&d.toString()==Number(d))return new Number(d)}throw new c(\"number\",t,this.path)},r.prototype.$conditionalHandlers=l.options(s.prototype.$conditionalHandlers,{$bitsAllClear:u,$bitsAnyClear:u,$bitsAllSet:u,$bitsAnySet:u,$gt:i,$gte:i,$lt:i,$lte:i,$mod:o}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with Number.\");return n.call(this,t)}return t=this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253,\"./operators/bitwise\":290}],289:[function(e,t,n){(function(n){function r(e,t){c.call(this,e,t,\"ObjectID\")}function i(e){return this.cast(e)}function o(){return new p}function a(e){return this.$__._id=null,e}var s,c=e(\"../schematype\"),u=c.CastError,p=e(\"../types/objectid\"),l=e(\"../utils\");r.schemaName=\"ObjectId\",r.prototype=Object.create(c.prototype),r.prototype.constructor=r,r.prototype.auto=function(e){return e&&(this[\"default\"](o),this.set(a)),this},r.prototype.checkRequired=function(e,t){return c._isRef(this,e,t,!0)?!!e:e instanceof p},r.prototype.cast=function(t,r,i){if(c._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(s||(s=e(\"./../document\")),t instanceof s)return t.$__.wasPopulated=!0,t;if(t instanceof p)return t;if(n.isBuffer(t)||!l.isObject(t))throw new u(\"ObjectId\",t,this.path);var o=r.$__fullPath(this.path),a=r.ownerDocument?r.ownerDocument():r,f=a.populated(o,!0),d=t;return r.$__.populated&&r.$__.populated[o]&&r.$__.populated[o].options&&r.$__.populated[o].options.options&&r.$__.populated[o].options.options.lean||(d=new f.options.model(t),d.$__.wasPopulated=!0),d}if(null===t||void 0===t)return t;if(t instanceof p)return t;if(t._id){if(t._id instanceof p)return t._id;if(t._id.toString instanceof Function)try{return p.createFromHexString(t._id.toString())}catch(h){}}if(t.toString instanceof Function)try{return p.createFromHexString(t.toString())}catch(m){throw new u(\"ObjectId\",t,this.path)}throw new u(\"ObjectId\",t,this.path)},r.prototype.$conditionalHandlers=l.options(c.prototype.$conditionalHandlers,{$gt:i,$gte:i,$lt:i,$lte:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with ObjectId.\");return n.call(this,t)}return this.cast(e)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../schematype\":292,\"../types/objectid\":300,\"../utils\":302,\"./../document\":253}],290:[function(e,t,n){(function(n){function r(e){var t=this;return Array.isArray(e)?e.map(function(e){return i(t.path,e)}):n.isBuffer(e)?e:i(t.path,e)}function i(e,t){var n=Number(t);if(isNaN(n))throw new o(\"number\",t,e);return n}var o=e(\"../../error/cast\");t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"../../error/cast\":261}],291:[function(e,t,n){(function(n){function r(e,t){this.enumValues=[],this.regExp=null,s.call(this,e,t,\"String\")}function i(e){return this.castForQuery(e)}function o(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var a,s=e(\"../schematype\"),c=s.CastError,u=e(\"../error\").messages,p=e(\"../utils\");r.schemaName=\"String\",r.prototype=Object.create(s.prototype),r.prototype.constructor=r,r.prototype[\"enum\"]=function(){if(this.enumValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.enumValidator},this),this.enumValidator=!1),void 0===arguments[0]||arguments[0]===!1)return this;var e,t;p.isObject(arguments[0])?(e=arguments[0].values,t=arguments[0].message):(e=arguments,t=u.String[\"enum\"]);for(var n=0;n<e.length;n++)void 0!==e[n]&&this.enumValues.push(this.cast(e[n]));var r=this.enumValues;return this.enumValidator=function(e){return void 0===e||~r.indexOf(e)},this.validators.push({validator:this.enumValidator,message:t,type:\"enum\",enumValues:r}),this},r.prototype.lowercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toLowerCase():e})},r.prototype.uppercase=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.toUpperCase():e})},r.prototype.trim=function(){return this.set(function(e,t){return\"string\"!=typeof e&&(e=t.cast(e)),e?e.trim():e})},r.prototype.minlength=function(e,t){if(this.minlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.minlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.minlength;n=n.replace(/{MINLENGTH}/,e),this.validators.push({validator:this.minlengthValidator=function(t){return null===t||t.length>=e},message:n,type:\"minlength\",minlength:e})}return this},r.prototype.maxlength=function(e,t){if(this.maxlengthValidator&&(this.validators=this.validators.filter(function(e){return e.validator!==this.maxlengthValidator},this)),null!==e&&void 0!==e){var n=t||u.String.maxlength;n=n.replace(/{MAXLENGTH}/,e),this.validators.push({validator:this.maxlengthValidator=function(t){return null===t||t.length<=e},message:n,type:\"maxlength\",maxlength:e})}return this},r.prototype.match=function(e,t){var n=t||u.String.match,r=function(t){if(!e)return!1;var n=null!=t&&\"\"!==t?e.test(t):!0;return n};return this.validators.push({validator:r,message:n,type:\"regexp\",regexp:e}),this},r.prototype.checkRequired=function(e,t){return s._isRef(this,e,t,!0)?!!e:(e instanceof String||\"string\"==typeof e)&&e.length},r.prototype.cast=function(t,r,i){if(s._isRef(this,t,r,i)){if(null===t||void 0===t)return t;if(a||(a=e(\"./../document\")),t instanceof a)return t.$__.wasPopulated=!0,t;if(\"string\"==typeof t)return t;if(n.isBuffer(t)||!p.isObject(t))throw new c(\"string\",t,this.path);var o=r.$__fullPath(this.path),u=r.ownerDocument?r.ownerDocument():r,l=u.populated(o,!0),f=new l.options.model(t);return f.$__.wasPopulated=!0,f}if(null===t||void 0===t)return t;if(\"undefined\"!=typeof t){if(t._id&&\"string\"==typeof t._id)return t._id;if(t.toString&&t.toString!==Object.prototype.toString)return t.toString()}throw new c(\"string\",t,this.path)},r.prototype.$conditionalHandlers=p.options(s.prototype.$conditionalHandlers,{$all:o,$gt:i,$gte:i,$lt:i,$lte:i,$options:i,$regex:i}),r.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e+\" with String.\");return n.call(this,t)}return t=e,\"[object RegExp]\"===Object.prototype.toString.call(t)?t:this.cast(t)},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../error\":260,\"../schematype\":292,\"../utils\":302,\"./../document\":253}],292:[function(e,t,n){(function(r){function i(e,t,n){this.path=e,this.instance=n,this.validators=[],this.setters=[],this.getters=[],this.options=t,this._index=null,this.selected;for(var r in t)if(this[r]&&\"function\"==typeof this[r]){if(\"index\"===r&&this._index)continue;var i=Array.isArray(t[r])?t[r]:[t[r]];this[r].apply(this,i)}}function o(e){return this.castForQuery(e)}function a(e){var t=this;return Array.isArray(e)?e.map(function(e){return t.castForQuery(e)}):[this.castForQuery(e)]}var s=e(\"./utils\"),c=e(\"./error\"),u=c.messages,p=c.CastError,l=c.ValidatorError;i.prototype[\"default\"]=function(e){return 1===arguments.length?(this.defaultValue=\"function\"==typeof e?e:this.cast(e),this):(arguments.length>1&&(this.defaultValue=s.args(arguments)),this.defaultValue)},i.prototype.index=function(e){return this._index=e,s.expires(this._index),this},i.prototype.unique=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.unique=e,this},i.prototype.text=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.text=e,this},i.prototype.sparse=function(e){return null===this._index||void 0===this._index||\"boolean\"==typeof this._index?this._index={}:\"string\"==typeof this._index&&(this._index={type:this._index}),this._index.sparse=e,this},i.prototype.set=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A setter must be a function.\");return this.setters.push(e),this},i.prototype.get=function(e){if(\"function\"!=typeof e)throw new TypeError(\"A getter must be a function.\");return this.getters.push(e),this},i.prototype.validate=function(e,t,n){if(\"function\"==typeof e||e&&\"RegExp\"===s.getFunctionName(e.constructor)){var r;return t instanceof Object&&!n?(r=s.clone(t),r.message||(r.message=r.msg),r.validator=e,r.type=r.type||\"user defined\"):(t||(t=u.general[\"default\"]),n||(n=\"user defined\"),r={message:t,type:n,validator:e}),this.validators.push(r),this}var i,o,a;for(i=0,o=arguments.length;o>i;i++){if(a=arguments[i],!a||\"Object\"!==s.getFunctionName(a.constructor)){var c=\"Invalid validator. Received (\"+typeof a+\") \"+a+\". See http://mongoosejs.com/docs/api.html#schematype_SchemaType-validate\";throw new Error(c)}this.validate(a.validator,a)}return this},i.prototype.required=function(e,t){if(e===!1)return this.validators=this.validators.filter(function(e){return e.validator!==this.requiredValidator},this),this.isRequired=!1,this;var n=this;this.isRequired=!0,this.requiredValidator=function(t){return\"isSelected\"in this&&!this.isSelected(n.path)&&!this.isModified(n.path)?!0:\"function\"==typeof e&&!e.apply(this)||n.checkRequired(t,this)},\"string\"==typeof e&&(t=e,e=void 0);var r=t||u.general.required;return this.validators.unshift({validator:this.requiredValidator,message:r,type:\"required\"}),this},i.prototype.getDefault=function(e,t){var n=\"function\"==typeof this.defaultValue?this.defaultValue.call(e):this.defaultValue;return null!==n&&void 0!==n?this.cast(n,e,t):n},i.prototype.applySetters=function(e,t,n,r,i){for(var o=e,a=this.setters,s=a.length,c=this.caster;s--;)o=a[s].call(t,o,this);if(Array.isArray(o)&&c&&c.setters){for(var u=[],p=0;p<o.length;p++)u.push(c.applySetters(o[p],t,n,r));o=u}return null===o||void 0===o?o:o=this.cast(o,t,n,r,i)},i.prototype.applyGetters=function(e,t){var n=e,r=this.getters,i=r.length;if(!i)return n;for(;i--;)n=r[i].call(t,n,this);return n},i.prototype.select=function(e){return this.selected=!!e,this},i.prototype.doValidate=function(e,t,n){var r=!1,i=this.path,o=this.validators.length;if(!o)return t(null);var a=function(e,n){r||(void 0===e||e?--o||t(null):(r=new l(n),t(r)))},c=this;this.validators.forEach(function(t){if(!r){var o=t.validator,u=s.clone(t);if(u.path=i,u.value=e,o instanceof RegExp)a(o.test(e),u);else if(\"function\"==typeof o){if(void 0===e&&!c.isRequired)return void a(!0,u);2===o.length?o.call(n,e,function(e,t){t&&(u.message=t),a(e,u)}):a(o.call(n,e),u)}}})},i.prototype.doValidateSync=function(e,t){var n=null,r=this.path,i=this.validators.length;if(!i)return null;var o=function(e,t){n||void 0===e||e||(n=new l(t))},a=this;return void 0!==e||a.isRequired?(this.validators.forEach(function(i){if(!n){var a=i.validator,c=s.clone(i);c.path=r,c.value=e,a instanceof RegExp?o(a.test(e),c):\"function\"==typeof a&&2!==a.length&&o(a.call(t,e),c)}}),n):null},i._isRef=function(e,t,n,i){var o=i&&e.options&&e.options.ref;if(!o&&n&&n.$__fullPath){var a=n.$__fullPath(e.path),c=n.ownerDocument?n.ownerDocument():n;o=c.populated(a)}if(o){if(null==t)return!0;if(!r.isBuffer(t)&&\"Binary\"!==t._bsontype&&s.isObject(t))return!0}return!1},i.prototype.$conditionalHandlers={$all:a,$eq:o,$in:a,$ne:o,$nin:a},i.prototype.castForQuery=function(e,t){var n;if(2===arguments.length){if(n=this.$conditionalHandlers[e],!n)throw new Error(\"Can't use \"+e);return n.call(this,t)}return t=e,this.cast(t)},i.prototype.checkRequired=function(e){return null!=e},t.exports=n=i,n.CastError=p,n.ValidatorError=l}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./error\":260,\"./utils\":302}],293:[function(e,t,n){(function(n){function r(e,t,n){var i=Object.keys(e),a=i.length;n=n||{},t=t?t+\".\":\"\";for(var s=0;a>s;++s){var c=i[s],u=e[c];n[t+c]=!0,o(u)&&r(u,t+c,n)}return n}function i(e,t){var n=Object.keys(e),r=n.length,a={};t=t?t+\".\":\"\";for(var s=0;r>s;++s){var c=n[s],u=e[c];if(o(u)){var p=i(u,t+c);for(var l in p)a[l]=p[l];Array.isArray(u)&&(a[t+c]=u)}else a[t+c]=u}return a}function o(e){return e&&\"object\"==typeof e&&!(e instanceof Date)&&!(e instanceof c)&&(!Array.isArray(e)||e.length>0)&&!(e instanceof n);\n}var a=e(\"async\"),s=e(\"../error/validation.js\"),c=e(\"../types/objectid\");t.exports=function(e,t,n,o){function c(n){var r=t._getSchema(E[n]);r&&A.push(function(t){r.doValidate(l[E[n]],function(e){e&&(e.path=E[n],C.push(e)),t(null)},o&&\"query\"===o.context?e:null,{updateValidator:!0})})}for(var u=Object.keys(n||{}),p={},l={},f=u.length,d=!1,h={},m=0;f>m;++m)if(\"$\"===u[m].charAt(0)){r(n[u[m]],\"\",h);for(var v=i(n[u[m]]),g=Object.keys(v),y=g.length,b=0;y>b;++b){var x=g[b].replace(\".$.\",\".0.\");x=x.replace(/\\.\\$$/,\".0\"),\"$set\"===u[m]||\"$setOnInsert\"===u[m]?l[x]=v[g[b]]:\"$unset\"===u[m]&&(l[x]=void 0),p[x]=!0}d=!0}if(d||(r(n,\"\",h),l=i(n),p=Object.keys(l)),o&&o.upsert){for(g=Object.keys(e._conditions),y=u.length,m=0;y>m;++m){var w=g[m],_=e._conditions[w];if(_&&\"object\"==typeof _){var k=Object.keys(_),j=k.length,S=!1;for(b=0;j>b;++b)if(\"$\"===k[b].charAt(0)){S=!0;break}if(S)continue}p[w]=!0,h[w]=!0}o.setDefaultsOnInsert&&t.eachPath(function(e,t){if(\"_id\"!==e)if(t.$isSingleNested)t.schema.eachPath(function(t,r){if(\"_id\"!==e){var i=r.getDefault(null,!0);h[e+\".\"+t]||\"undefined\"==typeof i||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e+\".\"+t]=i,l[e+\".\"+t]=i)}});else{var r=t.getDefault(null,!0);h[e]||\"undefined\"==typeof r||(n.$setOnInsert=n.$setOnInsert||{},n.$setOnInsert[e]=r,l[e]=r)}})}var E=Object.keys(l),O=E.length,A=[],C=[];for(m=0;O>m;++m)c(m);return function(e){a.parallel(A,function(){if(C.length){for(var t=new s(null),n=0;n<C.length;++n)t.errors[C[n].path]=C[n];return e(t)}e(null)})}}}).call(this,e(\"buffer\").Buffer)},{\"../error/validation.js\":268,\"../types/objectid\":300,async:11,buffer:void 0}],294:[function(e,t,n){var r=e(\"./utils\"),i=t.exports=n=function(){};i.ctor=function(){var e=r.args(arguments),t=function(){i.apply(this,arguments),this.paths={},this.states={},this.stateNames=e;for(var t,n=e.length;n--;)t=e[n],this.states[t]={}};return t.prototype=new i,e.forEach(function(e){t.prototype[e]=function(t){this._changeState(t,e)}}),t},i.prototype._changeState=function(e,t){var n=this.states[this.paths[e]];n&&delete n[e],this.paths[e]=t,this.states[t][e]=!0},i.prototype.clear=function(e){for(var t,n=Object.keys(this.states[e]),r=n.length;r--;)t=n[r],delete this.states[e][t],delete this.paths[t]},i.prototype.some=function(){var e=this,t=arguments.length?arguments:this.stateNames;return Array.prototype.some.call(t,function(t){return Object.keys(e.states[t]).length})},i.prototype._iter=function(e){return function(){var t=arguments.length,n=r.args(arguments,0,t-1),i=arguments[t-1];n.length||(n=this.stateNames);var o=this,a=n.reduce(function(e,t){return e.concat(Object.keys(o.states[t]))},[]);return a[e](function(e,t,n){return i(e,t,n)})}},i.prototype.forEach=function(){return this.forEach=this._iter(\"forEach\"),this.forEach.apply(this,arguments)},i.prototype.map=function(){return this.map=this._iter(\"map\"),this.map.apply(this,arguments)}},{\"./utils\":302}],295:[function(e,t,n){(function(r){function i(e,t,n){for(var r=[].concat(e),o={isMongooseArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0},s={},c=Object.keys(i.mixin),u=0;u<c.length;++u)s[c[u]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[c[u]]};for(var p=Object.keys(o),l=0;l<p.length;++l)s[p[l]]={enumerable:!1,configurable:!0,writable:!0,value:o[p[l]]};return Object.defineProperties(r,s),n&&n instanceof a&&(r._parent=n,r._schema=n.schema.path(t)),r}var o=e(\"./embedded\"),a=e(\"../document\"),s=e(\"./objectid\"),c=e(\"../utils\"),u=c.isMongooseObject;i.mixin={_atomics:void 0,_parent:void 0,_cast:function(e){var t,n=this._owner,i=!1;if(this._parent&&(n||(n=this._owner=this._parent.ownerDocument?this._parent.ownerDocument():this._parent),i=n.populated(this._path,!0)),i&&null!==e&&void 0!==e){t=i.options.model,(r.isBuffer(e)||e instanceof s||!c.isObject(e))&&(e={_id:e});var o=e.schema&&e.schema.discriminatorMapping&&void 0!==e.schema.discriminatorMapping.key;return o||(e=new t(e)),this._schema.caster.cast(e,this._parent,!0)}return this._schema.caster.cast(e,this._parent,!1)},_markModified:function(e,t){var n,r=this._parent;return r&&(n=this._path,arguments.length&&(n=null!=t?n+\".\"+this.indexOf(e)+\".\"+t:n+\".\"+e),r.markModified(n)),this},_registerAtomic:function(e,t){if(\"$set\"===e)return this._atomics={$set:t},this;var n=this._atomics;if(\"$pop\"===e&&!(\"$pop\"in n)){var r=this;this._parent.once(\"save\",function(){r._popped=r._shifted=null})}if(this._atomics.$set||Object.keys(n).length&&!(e in n))return this._atomics={$set:this},this;var i;if(\"$pullAll\"===e||\"$pushAll\"===e||\"$addToSet\"===e)n[e]||(n[e]=[]),n[e]=n[e].concat(t);else if(\"$pullDocs\"===e){var a=n.$pull||(n.$pull={});t[0]instanceof o?(i=a.$or||(a.$or=[]),Array.prototype.push.apply(i,t.map(function(e){return e.toObject({virtuals:!1})}))):(i=a._id||(a._id={$in:[]}),i.$in=i.$in.concat(t))}else n[e]=t;return this},$__getAtomics:function(){var e=[],t=Object.keys(this._atomics),n=t.length;if(0===n)return e[0]=[\"$set\",this.toObject({depopulate:1,transform:!1})],e;for(;n--;){var r=t[n],i=this._atomics[r];u(i)?i=i.toObject({depopulate:1,transform:!1}):Array.isArray(i)?i=this.toObject.call(i,{depopulate:1,transform:!1}):i.valueOf&&(i=i.valueOf()),\"$addToSet\"===r&&(i={$each:i}),e.push([r,i])}return e},hasAtomics:function(){return this._atomics&&\"Object\"===this._atomics.constructor.name?Object.keys(this._atomics).length:0},_mapCast:function(e,t){return this._cast(e,this.length+t)},push:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent,void 0,void 0,{skipDocumentArrayCast:!0});var t=[].push.apply(this,e);return this._registerAtomic(\"$pushAll\",e),this._markModified(),t},nonAtomicPush:function(){var e=[].map.call(arguments,this._mapCast,this),t=[].push.apply(this,e);return this._registerAtomic(\"$set\",this),this._markModified(),t},$pop:function(){return this._registerAtomic(\"$pop\",1),this._markModified(),this._popped?void 0:(this._popped=!0,[].pop.call(this))},pop:function(){var e=[].pop.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},$shift:function(){return this._registerAtomic(\"$pop\",-1),this._markModified(),this._shifted?void 0:(this._shifted=!0,[].shift.call(this))},shift:function(){var e=[].shift.call(this);return this._registerAtomic(\"$set\",this),this._markModified(),e},pull:function(){for(var e,t=[].map.call(arguments,this._cast,this),n=this._parent.get(this._path),r=n.length;r--;)if(e=n[r],e instanceof a){var i=t.some(function(t){return t.equals(e)});i&&[].splice.call(n,r,1)}else~n.indexOf.call(t,e)&&[].splice.call(n,r,1);return t[0]instanceof o?this._registerAtomic(\"$pullDocs\",t.map(function(e){return e._id||e})):this._registerAtomic(\"$pullAll\",t),this._markModified(),this},splice:function(){var e,t,n;if(arguments.length){for(t=[],n=0;n<arguments.length;++n)t[n]=2>n?arguments[n]:this._cast(arguments[n],arguments[0]+(n-2));e=[].splice.apply(this,t),this._registerAtomic(\"$set\",this),this._markModified()}return e},unshift:function(){var e=[].map.call(arguments,this._cast,this);return e=this._schema.applySetters(e,this._parent),[].unshift.apply(this,e),this._registerAtomic(\"$set\",this),this._markModified(),this.length},sort:function(){var e=[].sort.apply(this,arguments);return this._registerAtomic(\"$set\",this),this._markModified(),e},addToSet:function(){var e=[].map.call(arguments,this._mapCast,this);e=this._schema.applySetters(e,this._parent);var t=[],n=\"\";return e[0]instanceof o?n=\"doc\":e[0]instanceof Date&&(n=\"date\"),e.forEach(function(e){var r;switch(n){case\"doc\":r=this.some(function(t){return t.equals(e)});break;case\"date\":var i=+e;r=this.some(function(e){return+e===i});break;default:r=~this.indexOf(e)}r||([].push.call(this,e),this._registerAtomic(\"$addToSet\",e),this._markModified(),[].push.call(t,e))},this),t},set:function(e,t){var n=this._cast(t,e);return n=this._schema.caster instanceof o?n:this._schema.caster.applySetters(t,this._parent),this[e]=n,this._markModified(e),this},toObject:function(e){return e&&e.depopulate?this.map(function(t){return t instanceof a?t.toObject(e):t}):this.slice()},inspect:function(){return JSON.stringify(this)},indexOf:function(e){e instanceof s&&(e=e.toString());for(var t=0,n=this.length;n>t;++t)if(e==this[t])return t;return-1}},i.mixin.remove=i.mixin.pull,t.exports=n=i}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../utils\":302,\"./embedded\":298,\"./objectid\":300}],296:[function(e,t,n){(function(n){function r(e,t,i){var a,s=arguments.length;a=0===s||null===arguments[0]||void 0===arguments[0]?0:e;var c,u,p;Array.isArray(t)?(u=t[0],p=t[1]):c=t;var l=new n(a,c,i);return o.decorate(l,r.mixin),l.isMongooseBuffer=!0,Object.defineProperties(l,{validators:{value:[]},_path:{value:u},_parent:{value:p}}),p&&\"string\"==typeof u&&Object.defineProperty(l,\"_schema\",{value:p.schema.path(u)}),l._subtype=0,l}var i=e(\"../drivers\").Binary,o=e(\"../utils\");r.mixin={_parent:void 0,_subtype:void 0,_markModified:function(){var e=this._parent;return e&&e.markModified(this._path),this},write:function(){var e=n.prototype.write.apply(this,arguments);return e>0&&this._markModified(),e},copy:function(e){var t=n.prototype.copy.apply(this,arguments);return e&&e.isMongooseBuffer&&e._markModified(),t}},\"writeUInt8 writeUInt16 writeUInt32 writeInt8 writeInt16 writeInt32 writeFloat writeDouble fill utf8Write binaryWrite asciiWrite set writeUInt16LE writeUInt16BE writeUInt32LE writeUInt32BE writeInt16LE writeInt16BE writeInt32LE writeInt32BE writeFloatLE writeFloatBE writeDoubleLE writeDoubleBE\".split(\" \").forEach(function(e){n.prototype[e]&&(r.mixin[e]=function(){var t=n.prototype[e].apply(this,arguments);return this._markModified(),t})}),r.mixin.toObject=function(e){var t=\"number\"==typeof e?e:this._subtype||0;return new i(this,t)},r.mixin.equals=function(e){if(!n.isBuffer(e))return!1;if(this.length!==e.length)return!1;for(var t=0;t<this.length;++t)if(this[t]!==e[t])return!1;return!0},r.mixin.subtype=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid subtype. Expected a number\");this._subtype!==e&&this._markModified(),this._subtype=e},r.Binary=i,t.exports=r}).call(this,e(\"buffer\").Buffer)},{\"../drivers\":259,\"../utils\":302,buffer:void 0}],297:[function(e,t,n){(function(n){function r(e,t,n){for(var o=[].concat(e),a={isMongooseArray:!0,isMongooseDocumentArray:!0,validators:[],_path:t,_atomics:{},_schema:void 0,_handlers:void 0},s={},u=Object.keys(i.mixin),p=0;p<u.length;++p)s[u[p]]={enumerable:!1,configurable:!0,writable:!0,value:i.mixin[u[p]]};for(var l=Object.keys(r.mixin),f=0;f<l.length;++f)s[l[f]]={enumerable:!1,configurable:!0,writable:!0,value:r.mixin[l[f]]};for(var d=Object.keys(a),h=0;h<d.length;++h)s[d[h]]={enumerable:!1,configurable:!0,writable:!0,value:a[d[h]]};return Object.defineProperties(o,s),n&&n instanceof c&&(o._parent=n,o._schema=n.schema.path(t),o._handlers={isNew:o.notify(\"isNew\"),save:o.notify(\"save\")},n.on(\"save\",o._handlers.save),n.on(\"isNew\",o._handlers.isNew)),o}var i=e(\"./array\"),o=e(\"./objectid\"),a=e(\"../schema/objectid\"),s=e(\"../utils\"),c=e(\"../document\");r.mixin={_cast:function(e,t){return e instanceof this._schema.casterConstructor?(e.__parent&&e.__parentArray||(e.__parent=this._parent,e.__parentArray=this),e.__index=t,e):((n.isBuffer(e)||e instanceof o||!s.isObject(e))&&(e={_id:e}),new this._schema.casterConstructor(e,this,void 0,void 0,t))},id:function(e){var t,n,r;try{var i=a.prototype.cast.call({},e);i&&(t=String(i))}catch(u){t=null}for(var p=0,l=this.length;l>p;p++)if(r=this[p].get(\"_id\"),null!==r&&\"undefined\"!=typeof r)if(r instanceof c){if(n||(n=String(e)),n==r._id)return this[p]}else if(e instanceof o||r instanceof o){if(t==r)return this[p]}else if(s.deepEqual(e,r))return this[p];return null},toObject:function(e){return this.map(function(t){return t&&t.toObject(e)||null})},inspect:function(){return Array.prototype.slice.call(this)},create:function(e){return new this._schema.casterConstructor(e)},notify:function(e){var t=this;return function(n){for(var r=t.length;r--;)if(t[r]){switch(e){case\"save\":n=t[r]}t[r].emit(e,n)}}}},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,\"../document\":253,\"../schema/objectid\":289,\"../utils\":302,\"./array\":295,\"./objectid\":300}],298:[function(e,t,n){function r(e,t,n,r,i){t?(this.__parentArray=t,this.__parent=t._parent):(this.__parentArray=void 0,this.__parent=void 0),this.__index=i,o.call(this,e,r,n);var a=this;this.on(\"isNew\",function(e){a.isNew=e})}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document_provider\")(),a=e(\"../promise_provider\");r.prototype=Object.create(o.prototype),r.prototype.constructor=r,r.prototype.markModified=function(e){this.$__.activePaths.modify(e),this.__parentArray&&(this.isNew?this.__parentArray._markModified():this.__parentArray._markModified(this,e))},r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.remove=function(e){if(!this.__parentArray)return this;var t;if(!this.willRemove){if(t=this._doc._id,!t)throw new Error(\"For your own good, Mongoose does not know how to remove an EmbeddedDocument that has no _id\");this.__parentArray.pull({_id:t}),this.willRemove=!0,i(this)}return e&&e(null),this},r.prototype.update=function(){throw new Error(\"The #update method is not available on EmbeddedDocuments\")},r.prototype.inspect=function(){return this.toObject()},r.prototype.invalidate=function(e,t,n,r){if(!this.__parent){var i=\"Unable to invalidate a subdocument that has not been added to an array.\";throw new Error(i)}var o=this.__index;if(\"undefined\"!=typeof o){var a=this.__parentArray._path,s=[a,o,e].join(\".\");this.__parent.invalidate(s,t,n)}return r&&(this.$__.validationError=this.ownerDocument().$__.validationError),!0},r.prototype.$markValid=function(e){if(this.__parent){var t=this.__index;if(\"undefined\"!=typeof t){var n=this.__parentArray._path,r=[n,t,e].join(\".\");this.__parent.$markValid(r)}}},r.prototype.$isValid=function(e){var t=this.__index;return\"undefined\"!=typeof t?!this.__parent.$__.validationError||!this.__parent.$__.validationError.errors[this.$__fullPath(e)]:!0},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.__parent;if(!e)return this;for(;e.__parent;)e=e.__parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.$__fullPath=function(e){if(!this.$__.fullPath){var t=this;if(!t.__parent)return e;for(var n=[];t.__parent;)n.unshift(t.__parentArray._path),t=t.__parent;this.$__.fullPath=n.join(\".\"),this.$__.ownerDocument||(this.$__.ownerDocument=t)}return e?this.$__.fullPath+\".\"+e:this.$__.fullPath},r.prototype.parent=function(){return this.__parent},r.prototype.parentArray=function(){return this.__parentArray},t.exports=r},{\"../document_provider\":254,\"../promise_provider\":275}],299:[function(e,t,n){n.Array=e(\"./array\"),n.Buffer=e(\"./buffer\"),n.Document=n.Embedded=e(\"./embedded\"),n.DocumentArray=e(\"./documentarray\"),n.ObjectId=e(\"./objectid\"),n.Subdocument=e(\"./subdocument\")},{\"./array\":295,\"./buffer\":296,\"./documentarray\":297,\"./embedded\":298,\"./objectid\":300,\"./subdocument\":301}],300:[function(e,t,n){var r=e(\"../drivers\").ObjectId;t.exports=r},{\"../drivers\":259}],301:[function(e,t,n){function r(e,t){this.$isSingleNested=!0,o.call(this,e,t)}function i(e){function t(){n.removeListener(\"save\",t),n.removeListener(\"remove\",t),e.emit(\"remove\",e),n=e=null}var n=e.ownerDocument();n.on(\"save\",t),n.on(\"remove\",t)}var o=e(\"../document\"),a=e(\"../promise_provider\");t.exports=r,r.prototype=Object.create(o.prototype),r.prototype.save=function(e){var t=a.get();return new t.ES6(function(t){e&&e(),t()})},r.prototype.$isValid=function(e){return this.$parent?this.$parent.$isValid([this.$basePath,e].join(\".\")):void 0},r.prototype.markModified=function(e){o.prototype.markModified.call(this,e),this.$parent&&this.$parent.markModified([this.$basePath,e].join(\".\"))},r.prototype.$markValid=function(e){this.$parent&&this.$parent.$markValid([this.$basePath,e].join(\".\"))},r.prototype.invalidate=function(e,t,n){if(this.$parent)this.$parent.invalidate([this.$basePath,e].join(\".\"),t,n);else if(\"cast\"===t.kind||\"CastError\"===t.name)throw t},r.prototype.ownerDocument=function(){if(this.$__.ownerDocument)return this.$__.ownerDocument;var e=this.$parent;if(!e)return this;for(;e.$parent;)e=e.$parent;return this.$__.ownerDocument=e,this.$__.ownerDocument},r.prototype.remove=function(e){this.$parent.set(this.$basePath,null),i(this),e&&e(null)}},{\"../document\":253,\"../promise_provider\":275}],302:[function(e,t,n){(function(t){function r(e){var t;return!~v.indexOf(e.toLowerCase())&&(t=m.filter(function(t){return e.match(t[0])}),t[0])?e.replace(t[0][0],t[0][1]):e}function i(e,t){var n,r,i,o,a,s=t&&t.retainKeyOrder,c=t&&t.minimize,u={};if(s)for(o in e)i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);else for(r=Object.keys(e),a=r.length;a--;)o=r[a],i=g(e[o],t),c&&\"undefined\"==typeof i||(n||(n=!0),u[o]=i);return c?n&&u:u}function o(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(g(e[r],t));return n}function a(e,t,n,r,i,o){this.path=e,this.match=n,this.select=t,this.options=r,this.model=i,\"object\"==typeof o&&(this.populate=o),this._docs={}}var s,c,u,p=e(\"./types/objectid\"),l=e(\"regexp-clone\"),f=e(\"sliced\"),d=e(\"mpath\"),h=e(\"ms\");n.toCollectionName=function(e,t){return t=t||{},\"system.profile\"===e?e:\"system.indexes\"===e?e:t.pluralization===!1?e:r(e.toLowerCase())},n.pluralization=[[/(m)an$/gi,\"$1en\"],[/(pe)rson$/gi,\"$1ople\"],[/(child)$/gi,\"$1ren\"],[/^(ox)$/gi,\"$1en\"],[/(ax|test)is$/gi,\"$1es\"],[/(octop|vir)us$/gi,\"$1i\"],[/(alias|status)$/gi,\"$1es\"],[/(bu)s$/gi,\"$1ses\"],[/(buffal|tomat|potat)o$/gi,\"$1oes\"],[/([ti])um$/gi,\"$1a\"],[/sis$/gi,\"ses\"],[/(?:([^f])fe|([lr])f)$/gi,\"$1$2ves\"],[/(hive)$/gi,\"$1s\"],[/([^aeiouy]|qu)y$/gi,\"$1ies\"],[/(x|ch|ss|sh)$/gi,\"$1es\"],[/(matr|vert|ind)ix|ex$/gi,\"$1ices\"],[/([m|l])ouse$/gi,\"$1ice\"],[/(kn|w|l)ife$/gi,\"$1ives\"],[/(quiz)$/gi,\"$1zes\"],[/s$/gi,\"s\"],[/([^a-z])$/,\"$1\"],[/$/gi,\"s\"]];var m=n.pluralization;n.uncountables=[\"advice\",\"energy\",\"excretion\",\"digestion\",\"cooperation\",\"health\",\"justice\",\"labour\",\"machinery\",\"equipment\",\"information\",\"pollution\",\"sewage\",\"paper\",\"money\",\"species\",\"series\",\"rain\",\"rice\",\"fish\",\"sheep\",\"moose\",\"deer\",\"news\",\"expertise\",\"status\",\"media\"];var v=n.uncountables;n.deepEqual=function w(e,r){if(e===r)return!0;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof p&&r instanceof p)return e.toString()===r.toString();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.ignoreCase===r.ignoreCase&&e.multiline===r.multiline&&e.global===r.global;if(\"object\"!=typeof e&&\"object\"!=typeof r)return e==r;if(null===e||null===r||void 0===e||void 0===r)return!1;if(e.prototype!==r.prototype)return!1;if(e instanceof Number&&r instanceof Number)return e.valueOf()===r.valueOf();if(t.isBuffer(e))return n.buffer.areEqual(e,r);b(e)&&(e=e.toObject()),b(r)&&(r=r.toObject());try{var i,o,a=Object.keys(e),s=Object.keys(r)}catch(c){return!1}if(a.length!==s.length)return!1;for(a.sort(),s.sort(),o=a.length-1;o>=0;o--)if(a[o]!==s[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!w(e[i],r[i]))return!1;return!0},n.clone=function(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return o(e,t);if(b(e))return t&&t.json&&\"function\"==typeof e.toJSON?e.toJSON(t):e.toObject(t);if(e.constructor)switch(n.getFunctionName(e.constructor)){case\"Object\":return i(e,t);case\"Date\":return new e.constructor(+e);case\"RegExp\":return l(e)}return e instanceof p?new p(e.id):!e.constructor&&n.isObject(e)?i(e,t):e.valueOf?e.valueOf():void 0};var g=n.clone;n.options=function(e,t){var n,r=Object.keys(e),i=r.length;for(t=t||{};i--;)n=r[i],n in t||(t[n]=e[n]);return t},n.random=function(){return Math.random().toString().substr(3)},n.merge=function _(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])&&_(e[r],t[r])};var y=Object.prototype.toString;n.toObject=function k(e){var t;if(n.isNullOrUndefined(e))return e;if(e instanceof u)return e.toObject();if(Array.isArray(e)){t=[];for(var r=0,i=e.length;i>r;++r)t.push(k(e[r]));return t}if(e.constructor&&\"Object\"===n.getFunctionName(e.constructor)||!e.constructor&&n.isObject(e)){t={};for(var o in e)t[o]=k(e[o]);return t}return e},n.isObject=function(e){return t.isBuffer(e)?!0:\"[object Object]\"===y.call(e)},n.args=f,n.tick=function(e){return\"function\"==typeof e?function(){try{e.apply(this,arguments)}catch(t){process.nextTick(function(){throw t})}}:void 0},n.isMongooseObject=function(t){return u||(u=e(\"./document\")),c||(c=e(\"./types\").Array),s||(s=e(\"./types\").Buffer),t instanceof u||t&&t.isMongooseArray||t&&t.isMongooseBuffer};var b=n.isMongooseObject;n.expires=function(e){if(e&&\"Object\"===e.constructor.name&&\"expires\"in e){var t;t=\"string\"!=typeof e.expires?e.expires:Math.round(h(e.expires)/1e3),e.expireAfterSeconds=t,delete e.expires}},a.prototype.constructor=Object,n.PopulateOptions=a,n.populate=function(e,t,r,i,o,s){if(1===arguments.length){if(e instanceof a)return[e];if(Array.isArray(e))return e.map(function(e){return n.populate(e)[0]});n.isObject(e)&&(i=e.match,o=e.options,t=e.select,r=e.model,s=e.populate,e=e.path)}else\"string\"!=typeof r&&\"function\"!=typeof r&&(o=i,i=r,r=void 0);if(\"string\"!=typeof e)throw new TypeError(\"utils.populate: invalid path. Expected string. Got typeof `\"+typeof e+\"`\");\"object\"==typeof s&&(s=n.populate(s));var c=[],u=e.split(\" \");o=n.clone(o,{retainKeyOrder:!0});for(var p=0;p<u.length;++p)c.push(new a(u[p],t,i,o,r,s));return c},n.getValue=function(e,t,n){return d.get(e,t,\"_doc\",n)},n.setValue=function(e,t,n,r){d.set(e,t,n,\"_doc\",r)},n.object={},n.object.vals=function(e){for(var t=Object.keys(e),n=t.length,r=[];n--;)r.push(e[t[n]]);return r},n.object.shallowCopy=n.options;var x=Object.prototype.hasOwnProperty;n.object.hasOwnProperty=function(e,t){return x.call(e,t)},n.isNullOrUndefined=function(e){return null===e||void 0===e},n.array={},n.array.flatten=function j(e,t,n){return n||(n=[]),e.forEach(function(e){Array.isArray(e)?j(e,t,n):t&&!t(e)||n.push(e)}),n},n.array.unique=function(e){for(var t={},n={},r=[],i=e.length,o=0;i>o;++o)if(\"number\"==typeof e[o]||\"string\"==typeof e[o]){if(t[e[o]])continue;r.push(e[o]),t[e[o]]=!0}else if(e[o]instanceof p){if(n[e[o].toString()])continue;r.push(e[o]),n[e[o].toString()]=!0}else r.push(e[o]);return r},n.buffer={},n.buffer.areEqual=function(e,n){if(!t.isBuffer(e))return!1;if(!t.isBuffer(n))return!1;if(e.length!==n.length)return!1;for(var r=0,i=e.length;i>r;++r)if(e[r]!==n[r])return!1;return!0},n.getFunctionName=function(e){return e.name?e.name:(e.toString().trim().match(/^function\\s*([^\\s(]+)/)||[])[1]},n.decorate=function(e,t){for(var n in t)e[n]=t[n]},n.mergeClone=function(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)if(r=i[o],\"undefined\"==typeof e[r])e[r]=n.clone(t[r],{retainKeyOrder:1});else if(n.isObject(t[r])){var a=t[r];b(t[r])&&!t[r].isMongooseBuffer&&(a=a.toObject({virtuals:!1})),n.mergeClone(e[r],a)}else e[r]=n.clone(t[r],{retainKeyOrder:1})},n.each=function(e,t){for(var n=0;n<e.length;++n)t(e[n])}}).call(this,{isBuffer:e(\"../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../node_modules/is-buffer/index.js\":538,\"./document\":253,\"./types\":299,\"./types/objectid\":300,mpath:305,ms:355,\"regexp-clone\":392,sliced:431}],303:[function(e,t,n){function r(e,t){this.path=t,this.getters=[],this.setters=[],this.options=e||{}}r.prototype.get=function(e){return this.getters.push(e),this},r.prototype.set=function(e){return this.setters.push(e),this},r.prototype.applyGetters=function(e,t){for(var n=e,r=this.getters.length-1;r>=0;r--)n=this.getters[r].call(t,n,this);return n},r.prototype.applySetters=function(e,t){for(var n=e,r=this.setters.length-1;r>=0;r--)n=this.setters[r].call(t,n,this);return n},t.exports=r},{}],304:[function(e,t,n){t.exports={_args:[[\"mongoose\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"mongoose@*\",_id:\"mongoose@4.4.12\",_inCache:!0,_installable:!0,_location:\"/mongoose\",_nodeVersion:\"5.4.1\",_npmOperationalInternal:{host:\"packages-12-west.internal.npmjs.com\",tmp:\"tmp/mongoose-4.4.12.tgz_1460141300884_0.6968548044096678\"},_npmUser:{email:\"val@karpov.io\",name:\"vkarpov15\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"mongoose\",raw:\"mongoose\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\",_shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",_shrinkwrap:null,_spec:\"mongoose\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"guillermo@learnboost.com\",name:\"Guillermo Rauch\"},browser:\"lib/browser.js\",browserDependencies:{browserify:\"4.1.10\",chai:\"3.5.0\",karma:\"0.12.16\",\"karma-chai\":\"0.1.0\",\"karma-chrome-launcher\":\"0.1.4\",\"karma-mocha\":\"0.1.4\",\"karma-sauce-launcher\":\"0.2.8\"},bugs:{email:\"mongoose-orm@googlegroups.com\",url:\"https://github.com/Automattic/mongoose/issues/new\"},dependencies:{async:\"1.5.2\",bson:\"~0.4.21\",\"hooks-fixed\":\"1.1.0\",kareem:\"1.0.1\",mongodb:\"2.1.16\",mpath:\"0.2.1\",mpromise:\"0.5.5\",mquery:\"1.10.0\",ms:\"0.7.1\",muri:\"1.1.0\",\"regexp-clone\":\"0.0.1\",sliced:\"1.0.1\"},description:\"Mongoose MongoDB ODM\",devDependencies:{acquit:\"0.4.1\",\"acquit-ignore\":\"0.0.3\",benchmark:\"2.0.0\",bluebird:\"3.1.4\",co:\"4.6.0\",dox:\"0.3.1\",eslint:\"2.4.0\",\"highlight.js\":\"7.0.1\",istanbul:\"0.4.2\",jade:\"0.26.3\",lodash:\"4.6.1\",markdown:\"0.3.1\",marked:\"0.3.5\",mocha:\"2.3.4\",\"node-static\":\"0.7.7\",\"power-assert\":\"1.2.0\",q:\"1.4.1\",tbd:\"0.6.4\",\"uglify-js\":\"2.6.1\",underscore:\"1.8.3\"},directories:{lib:\"./lib/mongoose\"},dist:{shasum:\"5b4b17e9431fe815b6bc14ca9f10c1b2d4a19d9c\",tarball:\"https://registry.npmjs.org/mongoose/-/mongoose-4.4.12.tgz\"},engines:{node:\">=0.6.19\"},gitHead:\"239006ca12982d62369b8716e3fde917084d69ce\",homepage:\"http://mongoosejs.com\",keywords:[\"data\",\"database\",\"datastore\",\"db\",\"document\",\"model\",\"mongodb\",\"nosql\",\"odm\",\"orm\",\"query\",\"schema\"],license:\"MIT\",main:\"./index.js\",maintainers:[{name:\"rauchg\",email:\"rauchg@gmail.com\"},{name:\"tjholowaychuk\",email:\"tj@vision-media.ca\"},{name:\"aaron\",email:\"aaron.heckmann+github@gmail.com\"},{name:\"vkarpov15\",email:\"val@karpov.io\"},{name:\"defunctzombie\",email:\"shtylman@gmail.com\"}],name:\"mongoose\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/Automattic/mongoose.git\"},scripts:{\"fix-lint\":\"eslint . --fix\",\"install-browser\":\"npm install `node format_deps.js`\",posttest:\"eslint . --quiet\",test:\"mocha test/*.test.js test/**/*.test.js\",\"test-cov\":\"istanbul cover --report text --report html _mocha test/*.test.js\"},version:\"4.4.12\"}},{}],305:[function(e,t,n){t.exports=n=e(\"./lib\")},{\"./lib\":306}],306:[function(e,t,n){function r(e){return e}n.get=function(e,t,i,o){var a;\"function\"==typeof i&&(i.length<2?(o=i,i=void 0):(a=i,i=void 0)),o||(o=r);var s=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(s))throw new TypeError(\"Invalid `path`. Must be either string or array\");for(var c,u=t,p=0;p<s.length;++p){if(c=s[p],Array.isArray(u)&&!/^\\d+$/.test(c)){var l=s.slice(p);return u.map(function(e){return e?n.get(l,e,i||a,o):o(void 0)})}if(u=a?a(u,c):i&&u[i]?u[i][c]:u[c],!u)return o(u)}return o(u)},n.set=function(e,t,i,o,a,s){var c;\"function\"==typeof o&&(o.length<2?(a=o,o=void 0):(c=o,o=void 0)),a||(a=r);var u=\"string\"==typeof e?e.split(\".\"):e;if(!Array.isArray(u))throw new TypeError(\"Invalid `path`. Must be either string or array\");if(null!=i){for(var p,l=s||/\\$/.test(e),f=i,d=0,h=u.length-1;h>d;++d)if(p=u[d],\"$\"!=p){if(Array.isArray(f)&&!/^\\d+$/.test(p)){var m=u.slice(d);if(!l&&Array.isArray(t))for(var v=0;v<f.length&&v<t.length;++v)n.set(m,t[v],f[v],o||c,a,l);else for(var v=0;v<f.length;++v)n.set(m,t,f[v],o||c,a,l);return}if(f=c?c(f,p):o&&f[o]?f[o][p]:f[p],!f)return}else if(d==h-1)break;if(p=u[h],o&&f[o]&&(f=f[o]),Array.isArray(f)&&!/^\\d+$/.test(p))if(!l&&Array.isArray(t))for(var g,v=0;v<f.length&&v<t.length;++v)g=f[v],g&&(c?c(g,p,a(t[v])):(g[o]&&(g=g[o]),g[p]=a(t[v])));else for(var v=0;v<f.length;++v)g=f[v],g&&(c?c(g,p,a(t)):(g[o]&&(g=g[o]),g[p]=a(t)));else c?c(f,p,a(t)):f[p]=a(t)}}},{}],307:[function(e,t,n){\"use strict\";function r(e,t,n){return Array.prototype.slice.call(e,t,n)}function i(e,t){var n=r(t);return n.unshift(e),n}function o(e){this.emitter=new c,this.emitted={},this.ended=!1,\"function\"==typeof e&&(this.ended=!0,this.onResolve(e))}function a(e,t){function n(){var n=e.emitter.domain;n&&n!==process.domain&&n.enter();try{var i=t.apply(void 0,r.args)}catch(o){return void e.reject(o)}s(e,i)}function r(){r.args=arguments,process.nextTick(n)}return r}function s(e,t){function n(){l++||s.apply(void 0,i(e,arguments))}function o(t){l++||e.reject(t)}if(e===t)return void e.reject(new TypeError(\"promise and x are the same\"));var a=r(arguments,1),c=typeof t;if(\"undefined\"==c||null==t||\"object\"!=c&&\"function\"!=c)return void e.fulfill.apply(e,a);try{var u=t.then}catch(p){return void e.reject(p)}if(\"function\"!=typeof u)return void e.fulfill.apply(e,a);var l=0;try{var f=u.call(t,n,o);return f}catch(p){if(l++)return;e.reject(p)}}var c=(e(\"util\"),e(\"events\").EventEmitter);t.exports=o,o.SUCCESS=\"fulfill\",o.FAILURE=\"reject\",o.prototype.on=function(e,t){return this.emitted[e]?t.apply(void 0,this.emitted[e]):this.emitter.on(e,t),this},o.prototype.safeEmit=function(e){if(e==o.SUCCESS||e==o.FAILURE){if(this.emitted[o.SUCCESS]||this.emitted[o.FAILURE])return this;this.emitted[e]=r(arguments,1)}return this.emitter.emit.apply(this.emitter,arguments),this},o.prototype.hasRejectListeners=function(){return c.listenerCount(this.emitter,o.FAILURE)>0},o.prototype.fulfill=function(){return this.safeEmit.apply(this,i(o.SUCCESS,arguments))},o.prototype.reject=function(e){if(this.ended&&!this.hasRejectListeners())throw e;return this.safeEmit(o.FAILURE,e)},o.prototype.resolve=function(e,t){return e?this.reject(e):this.fulfill(t)},o.prototype.onFulfill=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.SUCCESS,e)},o.prototype.onReject=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,e)},o.prototype.onResolve=function(e){if(!e)return this;if(\"function\"!=typeof e)throw new TypeError(\"fn should be a function\");return this.on(o.FAILURE,function(t){e.call(this,t)}),this.on(o.SUCCESS,function(){e.apply(this,i(null,arguments))}),this},o.prototype.then=function(e,t){var n=new o;return\"function\"==typeof e?this.onFulfill(a(n,e)):this.onFulfill(n.fulfill.bind(n)),\"function\"==typeof t?this.onReject(a(n,t)):this.onReject(n.reject.bind(n)),n},o.prototype.end=o.prototype[\"catch\"]=function(e){return e||this.hasRejectListeners()||(e=function(e){throw e}),this.onReject(e),this.ended=!0,this},o.trace=function(e,t){e.then(function(){console.log(\"%s fulfill %j\",t,r(arguments))},function(){console.log(\"%s reject %j\",t,r(arguments))})},o.prototype.chain=function(e){var t=this;return t.onFulfill(e.fulfill.bind(e)),t.onReject(e.reject.bind(e)),e},o.prototype.all=function(e){var t=new o;return this.then(e).then(function(e){var n,r=0,i=[];return e.length||t.resolve(),e.forEach(function(e,o){n||(r++,e.then(function(e){n||(i[o]=e,--r,0==r&&t.fulfill(i))},function(e){n||(n=e,t.reject(e))}))}),t},t.reject.bind(t)),t},o.hook=function(e){var t=new o,n=new o,r=function(){return--i,0==i&&n.fulfill(),n},i=1,a=t;return e.forEach(function(e){a=a.then(function(){var t=new o;return i++,e(t.resolve.bind(t),r),t})}),a=a.then(r),t.resolve(),a},o.fulfilled=function(){var e=new o;return e.fulfill.apply(e,arguments),e},o.rejected=function(e){return(new o).reject(e)},o.deferred=function(){var e=new o;return{promise:e,reject:e.reject.bind(e),resolve:e.fulfill.bind(e),callback:e.resolve.bind(e)}}},{\nevents:void 0,util:void 0}],308:[function(e,t,n){\"use strict\";function r(){}function i(e){return function(){throw new Error(\"collection.\"+e+\" not implemented\")}}for(var o=[\"find\",\"findOne\",\"update\",\"remove\",\"count\",\"distinct\",\"findAndModify\",\"aggregate\",\"findStream\"],a=0,s=o.length;s>a;++a){var c=o[a];r.prototype[c]=i(c)}t.exports=n=r,r.methods=o},{}],309:[function(e,t,n){\"use strict\";var r=e(\"../env\");if(\"unknown\"==r.type)throw new Error(\"Unknown environment\");t.exports=e(r.isNode?\"./node\":r.isMongo?\"./collection\":\"./collection\")},{\"../env\":311,\"./collection\":308,\"./node\":310}],310:[function(e,t,n){\"use strict\";function r(e){this.collection=e,this.collectionName=e.collectionName}var i=e(\"./collection\"),o=e(\"../utils\");o.inherits(r,i),r.prototype.find=function(e,t,n){this.collection.find(e,t,function(e,t){return e?n(e):void t.toArray(n)})},r.prototype.findOne=function(e,t,n){this.collection.findOne(e,t,n)},r.prototype.count=function(e,t,n){this.collection.count(e,t,n)},r.prototype.distinct=function(e,t,n,r){this.collection.distinct(e,t,n,r)},r.prototype.update=function(e,t,n,r){this.collection.update(e,t,n,r)},r.prototype.remove=function(e,t,n){this.collection.remove(e,t,n)},r.prototype.findAndModify=function(e,t,n,r){var i=Array.isArray(n.sort)?n.sort:[];this.collection.findAndModify(e,i,t,n,r)},r.prototype.findStream=function(e,t,n){return this.collection.find(e,t).stream(n)},r.prototype.findCursor=function(e,t){return this.collection.find(e,t)},t.exports=n=r},{\"../utils\":314,\"./collection\":308}],311:[function(e,t,n){(function(e,r){\"use strict\";n.isNode=\"undefined\"!=typeof process&&\"object\"==typeof t&&\"object\"==typeof e&&\"function\"==typeof r&&process.argv,n.isMongo=!n.isNode&&\"function\"==typeof printjson&&\"function\"==typeof ObjectId&&\"function\"==typeof rs&&\"function\"==typeof sh,n.isBrowser=!n.isNode&&!n.isMongo&&\"undefined\"!=typeof window,n.type=n.isNode?\"node\":n.isMongo?\"mongo\":n.isBrowser?\"browser\":\"unknown\"}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"buffer\").Buffer)},{buffer:void 0}],312:[function(e,t,n){\"use strict\";function r(e,t){if(!(this instanceof r))return new r(e,t);var n=this.constructor.prototype;this.op=n.op||void 0,this.options={},this.setOptions(n.options),this._conditions=n._conditions?u.clone(n._conditions):{},this._fields=n._fields?u.clone(n._fields):void 0,this._update=n._update?u.clone(n._update):void 0,this._path=n._path||void 0,this._distinct=n._distinct||void 0,this._collection=n._collection||void 0,this._traceFunction=n._traceFunction||void 0,t&&this.setOptions(t),e&&(e.find&&e.remove&&e.update?this.collection(e):this.find(e))}function i(e,t,n){if(Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");if(n&&n.$meta){var r=e.sort||(e.sort={});return void(r[t]={$meta:n.$meta})}var i=String(n||1).toLowerCase();if(!/^(?:ascending|asc|descending|desc|1|-1)$/.test(i))throw u.isArray(n)&&(n=\"[\"+n+\"]\"),new TypeError(\"Invalid sort value: {\"+t+\": \"+n+\" }\");var r=e.sort||(e.sort={}),o=n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");r[t]=parseInt(o,10)}function o(e,t,n){if(e.sort=e.sort||[],!Array.isArray(e.sort))throw new TypeError(\"Can't mix sort syntaxes. Use either array or object:\\n- `.sort([['field', 1], ['test', -1]])`\\n- `.sort({ field: 1, test: -1 })`\");n.toString().replace(\"asc\",\"1\").replace(\"ascending\",\"1\").replace(\"desc\",\"-1\").replace(\"descending\",\"-1\");e.sort.push([t,n])}var a=e(\"sliced\"),s=e(\"assert\"),c=e(\"util\"),u=e(\"./utils\"),p=e(\"debug\")(\"mquery\"),l=\"$geoWithin\";Object.defineProperty(r,\"use$geoWithin\",{get:function(){return\"$geoWithin\"==l},set:function(e){l=!0===e?\"$geoWithin\":\"$within\"}}),r.prototype.toConstructor=function(){function e(t,n){return this instanceof e?void r.call(this,t,n):new e(t,n)}u.inherits(e,r);var t=e.prototype;return t.options={},t.setOptions(this.options),t.op=this.op,t._conditions=u.clone(this._conditions),t._fields=u.clone(this._fields),t._update=u.clone(this._update),t._path=this._path,t._distinct=this._distinct,t._collection=this._collection,t._traceFunction=this._traceFunction,e},r.prototype.setOptions=function(e){if(!e||!u.isObject(e))return this;for(var t,n=u.keys(e),r=0;r<n.length;++r)if(t=n[r],\"function\"==typeof this[t]){var i=u.isArray(e[t])?e[t]:[e[t]];this[t].apply(this,i)}else this.options[t]=e[t];return this},r.prototype.collection=function(e){return this._collection=new r.Collection(e),this},r.prototype.$where=function(e){return this._conditions.$where=e,this},r.prototype.where=function(){if(!arguments.length)return this;this.op||(this.op=\"find\");var e=typeof arguments[0];if(\"string\"==e)return this._path=arguments[0],2===arguments.length&&(this._conditions[this._path]=arguments[1]),this;if(\"object\"==e&&!Array.isArray(arguments[0]))return this.merge(arguments[0]);throw new TypeError(\"path must be a string or object\")},r.prototype.equals=function(e){this._ensurePath(\"equals\");var t=this._path;return this._conditions[t]=e,this},r.prototype.eq=function(e){this._ensurePath(\"eq\");var t=this._path;return this._conditions[t]=e,this},r.prototype.or=function f(e){var f=this._conditions.$or||(this._conditions.$or=[]);return u.isArray(e)||(e=[e]),f.push.apply(f,e),this},r.prototype.nor=function d(e){var d=this._conditions.$nor||(this._conditions.$nor=[]);return u.isArray(e)||(e=[e]),d.push.apply(d,e),this},r.prototype.and=function h(e){var h=this._conditions.$and||(this._conditions.$and=[]);return Array.isArray(e)||(e=[e]),h.push.apply(h,e),this},\"gt gte lt lte ne in nin all regex size maxDistance\".split(\" \").forEach(function(e){r.prototype[e]=function(){var t,n;1===arguments.length?(this._ensurePath(e),n=arguments[0],t=this._path):(n=arguments[1],t=arguments[0]);var r=this._conditions[t]||(this._conditions[t]={});return r[\"$\"+e]=n,this}}),r.prototype.mod=function(){var e,t;1===arguments.length?(this._ensurePath(\"mod\"),e=arguments[0],t=this._path):2!==arguments.length||u.isArray(arguments[1])?3===arguments.length?(e=a(arguments,1),t=arguments[0]):(e=arguments[1],t=arguments[0]):(this._ensurePath(\"mod\"),e=a(arguments),t=this._path);var n=this._conditions[t]||(this._conditions[t]={});return n.$mod=e,this},r.prototype.exists=function(){var e,t;0===arguments.length?(this._ensurePath(\"exists\"),e=this._path,t=!0):1===arguments.length?\"boolean\"==typeof arguments[0]?(this._ensurePath(\"exists\"),e=this._path,t=arguments[0]):(e=arguments[0],t=!0):2===arguments.length&&(e=arguments[0],t=arguments[1]);var n=this._conditions[e]||(this._conditions[e]={});return n.$exists=t,this},r.prototype.elemMatch=function(){if(null==arguments[0])throw new TypeError(\"Invalid argument\");var e,t,n;if(\"function\"==typeof arguments[0])this._ensurePath(\"elemMatch\"),t=this._path,e=arguments[0];else if(u.isObject(arguments[0]))this._ensurePath(\"elemMatch\"),t=this._path,n=arguments[0];else if(\"function\"==typeof arguments[1])t=arguments[0],e=arguments[1];else{if(!arguments[1]||!u.isObject(arguments[1]))throw new TypeError(\"Invalid argument\");t=arguments[0],n=arguments[1]}e&&(n=new r,e(n),n=n._conditions);var i=this._conditions[t]||(this._conditions[t]={});return i.$elemMatch=n,this},r.prototype.within=function(){if(this._ensurePath(\"within\"),this._geoComparison=l,0===arguments.length)return this;if(2===arguments.length)return this.box.apply(this,arguments);if(2<arguments.length)return this.polygon.apply(this,arguments);var e=arguments[0];if(!e)throw new TypeError(\"Invalid argument\");if(e.center)return this.circle(e);if(e.box)return this.box.apply(this,e.box);if(e.polygon)return this.polygon.apply(this,e.polygon);if(e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.box=function(){var e,t;if(3===arguments.length)e=arguments[0],t=[arguments[1],arguments[2]];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");this._ensurePath(\"box\"),e=this._path,t=[arguments[0],arguments[1]]}var n=this._conditions[e]||(this._conditions[e]={});return n[this._geoComparison||l]={$box:t},this},r.prototype.polygon=function(){var e,t;\"string\"==typeof arguments[0]?(t=arguments[0],e=a(arguments,1)):(this._ensurePath(\"polygon\"),t=this._path,e=a(arguments));var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison||l]={$polygon:e},this},r.prototype.circle=function(){var e,t;if(1===arguments.length)this._ensurePath(\"circle\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!(\"radius\"in t&&t.center))throw new Error(\"center and radius are required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$centerSphere\":\"$center\",i=this._geoComparison||l;return n[i]={},n[i][r]=[t.center,t.radius],\"unique\"in t&&(n[i].$uniqueDocs=!!t.unique),this},r.prototype.near=function(){var e,t;if(this._geoComparison=\"$near\",0===arguments.length)return this;if(1===arguments.length)this._ensurePath(\"near\"),e=this._path,t=arguments[0];else{if(2!==arguments.length)throw new TypeError(\"Invalid argument\");e=arguments[0],t=arguments[1]}if(!t.center)throw new Error(\"center is required\");var n=this._conditions[e]||(this._conditions[e]={}),r=t.spherical?\"$nearSphere\":\"$near\";if(Array.isArray(t.center)){n[r]=t.center;var i=\"maxDistance\"in t?t.maxDistance:null;null!=i&&(n.$maxDistance=i)}else{if(\"Point\"!=t.center.type||!Array.isArray(t.center.coordinates))throw new Error(c.format(\"Invalid GeoJSON specified for %s\",r));n[r]={$geometry:t.center},\"maxDistance\"in t&&(n[r].$maxDistance=t.maxDistance)}return this},r.prototype.intersects=function(){if(this._ensurePath(\"intersects\"),this._geoComparison=\"$geoIntersects\",0===arguments.length)return this;var e=arguments[0];if(null!=e&&e.type&&e.coordinates)return this.geometry(e);throw new TypeError(\"Invalid argument\")},r.prototype.geometry=function(){if(\"$within\"!=this._geoComparison&&\"$geoWithin\"!=this._geoComparison&&\"$near\"!=this._geoComparison&&\"$geoIntersects\"!=this._geoComparison)throw new Error(\"geometry() must come after `within()`, `intersects()`, or `near()\");var e,t;if(1!==arguments.length)throw new TypeError(\"Invalid argument\");if(this._ensurePath(\"geometry\"),t=this._path,e=arguments[0],!e.type||!Array.isArray(e.coordinates))throw new TypeError(\"Invalid argument\");var n=this._conditions[t]||(this._conditions[t]={});return n[this._geoComparison]={$geometry:e},this},r.prototype.select=function(){var e=arguments[0];if(!e)return this;if(1!==arguments.length)throw new Error(\"Invalid select: select only takes 1 argument\");this._validate(\"select\");var t=this._fields||(this._fields={}),n=typeof e;if((\"string\"==n||u.isArgumentsObject(e))&&\"number\"==typeof e.length){\"string\"==n&&(e=e.split(/\\s+/));for(var r=0,i=e.length;i>r;++r){var o=e[r];if(o){var a=\"-\"==o[0]?0:1;0===a&&(o=o.substring(1)),t[o]=a}}return this}if(u.isObject(e)&&!Array.isArray(e)){for(var s=u.keys(e),r=0;r<s.length;++r)t[s[r]]=e[s[r]];return this}throw new TypeError(\"Invalid select() argument. Must be string or object.\")},r.prototype.slice=function(){if(0===arguments.length)return this;this._validate(\"slice\");var e,t;if(1===arguments.length){var n=arguments[0];if(\"object\"==typeof n&&!Array.isArray(n)){for(var r=Object.keys(n),i=r.length,o=0;i>o;++o)this.slice(r[o],n[r[o]]);return this}this._ensurePath(\"slice\"),e=this._path,t=arguments[0]}else 2===arguments.length?\"number\"==typeof arguments[0]?(this._ensurePath(\"slice\"),e=this._path,t=a(arguments)):(e=arguments[0],t=arguments[1]):3===arguments.length&&(e=arguments[0],t=a(arguments,1));var s=this._fields||(this._fields={});return s[e]={$slice:t},this},r.prototype.sort=function(e){if(!e)return this;var t;this._validate(\"sort\");var n=typeof e;if(Array.isArray(e)){t=e.length;for(var r=0;r<e.length;++r)o(this.options,e[r][0],e[r][1]);return this}if(1===arguments.length&&\"string\"==n){e=e.split(/\\s+/),t=e.length;for(var r=0;t>r;++r){var a=e[r];if(a){var s=\"-\"==a[0]?-1:1;-1===s&&(a=a.substring(1)),i(this.options,a,s)}}return this}if(u.isObject(e)){for(var c=u.keys(e),r=0;r<c.length;++r){var a=c[r];i(this.options,a,e[a])}return this}throw new TypeError(\"Invalid sort() argument. Must be a string, object, or array.\")},[\"limit\",\"skip\",\"maxScan\",\"batchSize\",\"comment\"].forEach(function(e){r.prototype[e]=function(t){return this._validate(e),this.options[e]=t,this}}),r.prototype.maxTime=function(e){return this._validate(\"maxTime\"),this.options.maxTimeMS=e,this},r.prototype.snapshot=function(){return this._validate(\"snapshot\"),this.options.snapshot=arguments.length?!!arguments[0]:!0,this},r.prototype.hint=function(){if(0===arguments.length)return this;this._validate(\"hint\");var e=arguments[0];if(u.isObject(e)){var t=this.options.hint||(this.options.hint={});for(var n in e)t[n]=e[n];return this}throw new TypeError(\"Invalid hint. \"+e)},r.prototype.slaveOk=function(e){return this.options.slaveOk=arguments.length?!!e:!0,this},r.prototype.read=function(e){return arguments.length>1&&!r.prototype.read.deprecationWarningIssued&&(console.error(\"Deprecation warning: 'tags' argument is not supported anymore in Query.read() method. Please use mongodb.ReadPreference object instead.\"),r.prototype.read.deprecationWarningIssued=!0),this.options.readPreference=u.readPref(e),this},r.prototype.tailable=function(){return this._validate(\"tailable\"),this.options.tailable=arguments.length?!!arguments[0]:!0,this},r.prototype.merge=function(e){if(!e)return this;if(!r.canMerge(e))throw new TypeError(\"Invalid argument. Expected instanceof mquery or plain object\");return e instanceof r?(e._conditions&&u.merge(this._conditions,e._conditions),e._fields&&(this._fields||(this._fields={}),u.merge(this._fields,e._fields)),e.options&&(this.options||(this.options={}),u.merge(this.options,e.options)),e._update&&(this._update||(this._update={}),u.mergeClone(this._update,e._update)),e._distinct&&(this._distinct=e._distinct),this):(u.merge(this._conditions,e),this)},r.prototype.find=function(e,t){if(this.op=\"find\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"find\",this._collection.collectionName,n,i),t=this._wrapCallback(\"find\",t,{conditions:n,options:i}),this._collection.find(n,i,u.tick(t)),this},r.prototype.cursor=function(e){if(this.op){if(\"find\"!==this.op)throw new TypeError(\".cursor only support .find method\")}else this.find(e);var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"findCursor\",this._collection.collectionName,t,n),this._collection.findCursor(t,n)},r.prototype.findOne=function(e,t){if(this.op=\"findOne\",\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return i.fields=this._fieldsForExec(),p(\"findOne\",this._collection.collectionName,n,i),t=this._wrapCallback(\"findOne\",t,{conditions:n,options:i}),this._collection.findOne(n,i,u.tick(t)),this},r.prototype.count=function(e,t){if(this.op=\"count\",this._validate(),\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)&&this.merge(e),!t)return this;var n=this._conditions,i=this._optionsForExec();return p(\"count\",this._collection.collectionName,n,i),t=this._wrapCallback(\"count\",t,{conditions:n,options:i}),this._collection.count(n,i,u.tick(t)),this},r.prototype.distinct=function(e,t,n){if(this.op=\"distinct\",this._validate(),!n){switch(typeof t){case\"function\":n=t,\"string\"==typeof e&&(t=e,e=void 0);break;case\"undefined\":case\"string\":break;default:throw new TypeError(\"Invalid `field` argument. Must be string or function\")}switch(typeof e){case\"function\":n=e,e=t=void 0;break;case\"string\":t=e,e=void 0}}if(\"string\"==typeof t&&(this._distinct=t),r.canMerge(e)&&this.merge(e),!n)return this;if(!this._distinct)throw new Error(\"No value for `distinct` has been declared\");var i=this._conditions,o=this._optionsForExec();return p(\"distinct\",this._collection.collectionName,i,o),n=this._wrapCallback(\"distinct\",n,{conditions:i,options:o}),this._collection.distinct(this._distinct,i,o,u.tick(n)),this},r.prototype.update=function(e,t,n,i){this.op=\"update\";var o;switch(arguments.length){case 3:\"function\"==typeof n&&(i=n,n=void 0);break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0);break;case 1:switch(typeof e){case\"function\":i=e,e=n=t=void 0;break;case\"boolean\":o=e,e=void 0;break;default:t=e,e=n=void 0}}if(r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),u.isObject(n)&&this.setOptions(n),!o&&!i)return this;if(!this._update||!this.options.overwrite&&0===u.keys(this._update).length)return i&&u.soon(i.bind(null,null,0)),this;n=this._optionsForExec(),i||(n.safe=!1);var e=this._conditions;return t=this._updateForExec(),p(\"update\",this._collection.collectionName,e,t,n),i=this._wrapCallback(\"update\",i,{conditions:e,doc:t,options:n}),this._collection.update(e,t,n,u.tick(i)),this},r.prototype.remove=function(e,t){this.op=\"remove\";var n;if(\"function\"==typeof e?(t=e,e=void 0):r.canMerge(e)?this.merge(e):!0===e&&(n=e,e=void 0),!n&&!t)return this;var i=this._optionsForExec();t||(i.safe=!1);var o=this._conditions;return p(\"remove\",this._collection.collectionName,o,i),t=this._wrapCallback(\"remove\",t,{conditions:o,options:i}),this._collection.remove(o,i,u.tick(t)),this},r.prototype.findOneAndUpdate=function(e,t,n,i){switch(this.op=\"findOneAndUpdate\",this._validate(),arguments.length){case 3:\"function\"==typeof n&&(i=n,n={});break;case 2:\"function\"==typeof t&&(i=t,t=e,e=void 0),n=void 0;break;case 1:\"function\"==typeof e?(i=e,e=n=t=void 0):(t=e,e=n=void 0)}return r.canMerge(e)&&this.merge(e),t&&this._mergeUpdate(t),n&&this.setOptions(n),i?this._findAndModify(\"update\",i):this},r.prototype.findOneAndRemove=function(e,t,n){return this.op=\"findOneAndRemove\",this._validate(),\"function\"==typeof t?(n=t,t=void 0):\"function\"==typeof e&&(n=e,e=void 0),r.canMerge(e)&&this.merge(e),t&&this.setOptions(t),n?this._findAndModify(\"remove\",n):this},r.prototype._findAndModify=function(e,t){s.equal(\"function\",typeof t);var n,r,i=this._optionsForExec();if(\"remove\"==e)i.remove=!0;else if(\"new\"in i||(i[\"new\"]=!0),\"upsert\"in i||(i.upsert=!1),r=this._updateForExec(),!r){if(!i.upsert)return this.findOne(t);r={$set:{}}}var n=this._fieldsForExec();n&&(i.fields=n);var o=this._conditions;return p(\"findAndModify\",this._collection.collectionName,o,r,i),t=this._wrapCallback(\"findAndModify\",t,{conditions:o,doc:r,options:i}),this._collection.findAndModify(o,r,i,u.tick(t)),this},r.prototype._wrapCallback=function(e,t,n){var i=this._traceFunction||r.traceFunction;if(i){n.collectionName=this._collection.collectionName;var o=i&&i.call(null,e,n,this),a=(new Date).getTime();return function(e,n){if(o){var r=(new Date).getTime()-a;o.call(null,e,n,r)}t&&t.apply(null,arguments)}}return t},r.prototype.setTraceFunction=function(e){return this._traceFunction=e,this},r.prototype.exec=function(e,t){switch(typeof e){case\"function\":t=e,e=null;break;case\"string\":this.op=e}s.ok(this.op,\"Missing query type: (find, update, etc)\"),\"update\"!=this.op&&\"remove\"!=this.op||t||(t=!0);var n=this;return\"function\"!=typeof t?new r.Promise(function(e,t){n[n.op](function(r,i){r?t(r):e(i),n=e=t=null})}):void this[this.op](t)},r.prototype.thunk=function(){var e=this;return function(t){e.exec(t)}},r.prototype.then=function(e,t){var n=this,i=new r.Promise(function(e,t){n.exec(function(r,i){r?t(r):e(i),n=e=t=null})});return i.then(e,t)},r.prototype.stream=function(e){if(\"find\"!=this.op)throw new Error(\"stream() is only available for find\");var t=this._conditions,n=this._optionsForExec();return n.fields=this._fieldsForExec(),p(\"stream\",this._collection.collectionName,t,n,e),this._collection.findStream(t,n,e)},r.prototype.selected=function(){return!!(this._fields&&Object.keys(this._fields).length>0)},r.prototype.selectedInclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!1;if(this._fields[n]&&\"object\"==typeof this._fields[n]&&this._fields[n].$meta)return!1}return!0},r.prototype.selectedExclusively=function(){if(!this._fields)return!1;var e=Object.keys(this._fields);if(0===e.length)return!1;for(var t=0;t<e.length;++t){var n=e[t];if(0===this._fields[n])return!0}return!1},r.prototype._mergeUpdate=function(e){this._update||(this._update={}),e instanceof r?e._update&&u.mergeClone(this._update,e._update):u.mergeClone(this._update,e)},r.prototype._optionsForExec=function(){var e=u.clone(this.options,{retainKeyOrder:!0});return e},r.prototype._fieldsForExec=function(){return u.clone(this._fields,{retainKeyOrder:!0})},r.prototype._updateForExec=function(){for(var e=u.clone(this._update,{retainKeyOrder:!0}),t=u.keys(e),n=t.length,r={};n--;){var i=t[n];this.options.overwrite?r[i]=e[i]:\"$\"!==i[0]?(r.$set||(e.$set?r.$set=e.$set:r.$set={}),r.$set[i]=e[i],t.splice(n,1),~t.indexOf(\"$set\")||t.push(\"$set\")):\"$set\"===i?r.$set||(r[i]=e[i]):r[i]=e[i]}return this._compiledUpdate=r,r},r.prototype._ensurePath=function(e){if(!this._path){var t=e+\"() must be used after where() when called with these arguments\";throw new Error(t)}},r.permissions=e(\"./permissions\"),r._isPermitted=function(e,t){var n=r.permissions[t];return n?!0!==n[e]:!0},r.prototype._validate=function(e){var t,n;if(void 0===e){if(n=r.permissions[this.op],\"function\"!=typeof n)return!0;t=n(this)}else r._isPermitted(e,this.op)||(t=e);if(t)throw new Error(t+\" cannot be used with \"+this.op)},r.canMerge=function(e){return e instanceof r||u.isObject(e)},r.setGlobalTraceFunction=function(e){r.traceFunction=e},r.utils=u,r.env=e(\"./env\"),r.Collection=e(\"./collection\"),r.BaseCollection=e(\"./collection/collection\"),r.Promise=e(\"bluebird\"),t.exports=n=r},{\"./collection\":309,\"./collection/collection\":308,\"./env\":311,\"./permissions\":313,\"./utils\":314,assert:void 0,bluebird:318,debug:83,sliced:353,util:void 0}],313:[function(e,t,n){\"use strict\";var r=n;r.distinct=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.distinct);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.distinct.select=r.distinct.slice=r.distinct.sort=r.distinct.limit=r.distinct.skip=r.distinct.batchSize=r.distinct.comment=r.distinct.maxScan=r.distinct.snapshot=r.distinct.hint=r.distinct.tailable=!0,r.findOneAndUpdate=r.findOneAndRemove=function(e){var t,n=Object.keys(r.findOneAndUpdate);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.findOneAndUpdate.limit=r.findOneAndUpdate.skip=r.findOneAndUpdate.batchSize=r.findOneAndUpdate.maxScan=r.findOneAndUpdate.snapshot=r.findOneAndUpdate.hint=r.findOneAndUpdate.tailable=r.findOneAndUpdate.comment=!0,r.count=function(e){if(e._fields&&Object.keys(e._fields).length>0)return\"field selection and slice\";var t,n=Object.keys(r.count);return n.every(function(n){return e.options[n]?(t=n,!1):!0}),t},r.count.slice=r.count.batchSize=r.count.comment=r.count.maxScan=r.count.snapshot=r.count.tailable=!0},{}],314:[function(e,t,n){(function(t){\"use strict\";function r(e){function t(){}if(arguments.length>1)throw new Error(\"Adding properties is not supported\");return t.prototype=e,new t}var i=e(\"regexp-clone\"),o=n.clone=function u(e,t){if(void 0===e||null===e)return e;if(Array.isArray(e))return n.cloneArray(e,t);if(e.constructor){if(/ObjectI[dD]$/.test(e.constructor.name))return\"function\"==typeof e.clone?e.clone():new e.constructor(e.id);if(\"ReadPreference\"===e._type&&e.isValid&&e.toObject)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.mode,u(e.tags,t));if(\"Binary\"==e._bsontype&&e.buffer&&e.value)return\"function\"==typeof e.clone?e.clone():new e.constructor(e.value(!0),e.sub_type);if(\"Date\"===e.constructor.name||\"Function\"===e.constructor.name)return new e.constructor(+e);if(\"RegExp\"===e.constructor.name)return i(e);if(\"Buffer\"===e.constructor.name)return n.cloneBuffer(e)}return s(e)?n.cloneObject(e,t):e.valueOf?e.valueOf():void 0};n.cloneObject=function(e,t){var n,r,i,a,s,c=t&&t.retainKeyOrder,u=t&&t.minimize,p={};if(c)for(a in e)i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);else for(r=Object.keys(e),s=r.length;s--;)a=r[s],i=o(e[a],t),u&&\"undefined\"==typeof i||(n||(n=!0),p[a]=i);return u?n&&p:p},n.cloneArray=function(e,t){for(var n=[],r=0,i=e.length;i>r;r++)n.push(o(e[r],t));return n},n.tick=function(e){return\"function\"==typeof e?function(){var t=arguments;c(function(){e.apply(this,t)})}:void 0},n.merge=function p(e,t){for(var r,i=Object.keys(t),o=i.length;o--;)r=i[o],\"undefined\"==typeof e[r]?e[r]=t[r]:n.isObject(t[r])?p(e[r],t[r]):e[r]=t[r]},n.mergeClone=function l(e,t){for(var r,i=Object.keys(t),a=i.length;a--;)r=i[a],\"undefined\"==typeof e[r]?e[r]=o(t[r],{retainKeyOrder:1}):n.isObject(t[r])?l(e[r],t[r]):e[r]=o(t[r],{retainKeyOrder:1})};n.readPref=function(e){switch(e){case\"p\":e=\"primary\";break;case\"pp\":e=\"primaryPreferred\";break;case\"s\":e=\"secondary\";break;case\"sp\":e=\"secondaryPreferred\";break;case\"n\":e=\"nearest\"}return e};var a=Object.prototype.toString,s=(n.toString=function(e){return a.call(e)},n.isObject=function(e){return\"[object Object]\"==n.toString(e)});n.isArray=function(e){return Array.isArray(e)||\"object\"==typeof e&&\"[object Array]\"==n.toString(e)};n.keys=Object.keys||function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},n.create=\"function\"==typeof Object.create?Object.create:r,n.inherits=function(e,t){e.prototype=n.create(t.prototype),e.prototype.constructor=e};var c=n.soon=\"function\"==typeof setImmediate?setImmediate:process.nextTick;n.cloneBuffer=function(e){var n=new t(e.length);return e.copy(n,0,0,e.length),n},n.isArgumentsObject=function(e){return\"[object Arguments]\"===Object.prototype.toString.call(e)}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"regexp-clone\":392}],315:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{dup:15}],316:[function(e,t,n){\"use strict\";function r(){this._isTickUsed=!1,this._lateQueue=new p(16),this._normalQueue=new p(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=u.isStatic?u(this.drainQueues):u}function i(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()}function o(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()}function a(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(c){s=c}var u=e(\"./schedule.js\"),p=e(\"./queue.js\"),l=e(\"./util.js\");r.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},r.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},r.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),\"undefined\"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")}},l.hasDevTools?(u.isStatic&&(u=function(e){setTimeout(e,0)}),r.prototype.invokeLater=function(e,t,n){this._trampolineEnabled?i.call(this,e,t,n):this._schedule(function(){setTimeout(function(){e.call(t,n)},100)})},r.prototype.invoke=function(e,t,n){this._trampolineEnabled?o.call(this,e,t,n):this._schedule(function(){e.call(t,n)})},r.prototype.settlePromises=function(e){this._trampolineEnabled?a.call(this,e):this._schedule(function(){e._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=a),r.prototype.invokeFirst=function(e,t,n){this._normalQueue.unshift(e,t,n),this._queueTick()},r.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if(\"function\"==typeof t){var n=e.shift(),r=e.shift();t.call(n,r)}else t._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},t.exports=new r,t.exports.firstLineError=s},{\"./queue.js\":342,\"./schedule.js\":345,\"./util.js\":352}],317:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){var r=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(r,r,null,this,e)},o=function(e,t){this._isPending()&&this._resolveCallback(t.target)},a=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(r){var s=n(r),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,p),s._then(o,a,c._progress,c,p)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072===(131072&this._bitField)},e.bind=function(r,i){var o=n(r),a=new e(t);return a._setBoundTo(o),o instanceof e?o._then(function(){a._resolveCallback(i)},a._reject,a._progress,a,null):a._resolveCallback(i),a}}},{}],318:[function(e,t,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(e){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=e(\"./promise.js\")();o.noConflict=r,t.exports=o},{\"./promise.js\":337}],319:[function(e,t,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}t.exports=function(t){function n(e,n){var r;if(null!=e&&(r=e[n]),\"function\"!=typeof r){var i=\"Object \"+p.classString(e)+\" has no method '\"+p.toString(n)+\"'\";throw new t.TypeError(i)}return r}function r(e){var t=this.pop(),r=n(e,t);return r.apply(e,this)}function a(e){return e[this]}function s(e){var t=+this;return 0>t&&(t=Math.max(0,t+e.length)),e[t]}var c,u,p=e(\"./util.js\"),l=p.canEvaluate,f=p.isIdentifier,d=function(e){return new Function(\"ensureMethod\",\"                                    \\n        return function(obj) {                                               \\n            'use strict'                                                     \\n            var len = this.length;                                           \\n            ensureMethod(obj, 'methodName');                                 \\n            switch(len) {                                                    \\n                case 1: return obj.methodName(this[0]);                      \\n                case 2: return obj.methodName(this[0], this[1]);             \\n                case 3: return obj.methodName(this[0], this[1], this[2]);    \\n                case 0: return obj.methodName();                             \\n                default:                                                     \\n                    return obj.methodName.apply(obj, this);                  \\n            }                                                                \\n        };                                                                   \\n        \".replace(/methodName/g,e))(n)},h=function(e){return new Function(\"obj\",\"                                             \\n        'use strict';                                                        \\n        return obj.propertyName;                                             \\n        \".replace(\"propertyName\",e))},m=function(e,t,n){var r=n[e];if(\"function\"!=typeof r){if(!f(e))return null;if(r=t(e),n[e]=r,n[\" size\"]++,n[\" size\"]>512){for(var i=Object.keys(n),o=0;256>o;++o)delete n[i[o]];n[\" size\"]=i.length-256}}return r};c=function(e){return m(e,d,i)},u=function(e){return m(e,h,o)},t.prototype.call=function(e){for(var t=arguments.length,n=new Array(t-1),i=1;t>i;++i)n[i-1]=arguments[i];if(l){var o=c(e);if(null!==o)return this._then(o,void 0,void 0,n,void 0)}return n.push(e),this._then(r,void 0,void 0,n,void 0)},t.prototype.get=function(e){var t,n=\"number\"==typeof e;if(n)t=s;else if(l){var r=u(e);t=null!==r?r:a;\n}else t=a;return this._then(t,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],320:[function(e,t,n){\"use strict\";t.exports=function(t){var n=e(\"./errors.js\"),r=e(\"./async.js\"),i=n.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,n=this;void 0!==(t=n._cancellationParent)&&t.isCancellable();)n=t;this._unsetCancellable(),n._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),r.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(r.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);return r._setCancellable(),r._cancellationParent=void 0,r}}},{\"./async.js\":316,\"./errors.js\":327}],321:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){this._parent=e;var n=this._length=1+(void 0===e?0:e._length);x(this,t),n>32&&this.uncycle()}function n(e,t){for(var n=0;n<t.length-1;++n)t[n].push(\"From previous event:\"),t[n]=t[n].join(\"\\n\");return n<t.length&&(t[n]=t[n].join(\"\\n\")),e+\"\\n\"+t.join(\"\\n\")}function r(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function i(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(var s=a;s>=0;--s){var c=r[s];if(t[i]!==c)break;t.pop(),i--}t=r}}function o(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=h.test(r)||\"    (No stack trace)\"===r,o=i&&g(r);i&&!o&&(v&&\" \"!==r.charAt(0)&&(r=\"    \"+r),t.push(r))}return t}function a(e){for(var t=e.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<t.length;++n){var r=t[n];if(\"    (No stack trace)\"===r||h.test(r))break}return n>0&&(t=t.slice(n)),t}function s(e){var t;if(\"function\"==typeof e)t=\"[function \"+(e.name||\"anonymous\")+\"]\";else{t=e.toString();var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(t))try{var r=JSON.stringify(e);t=r}catch(i){}0===t.length&&(t=\"(empty array)\")}return\"(<\"+c(t)+\">, no stack trace)\"}function c(e){var t=41;return e.length<t?e:e.substr(0,t-3)+\"...\"}function u(e){var t=e.match(y);return t?{fileName:t[1],line:parseInt(t[2],10)}:void 0}var p,l=e(\"./async.js\"),f=e(\"./util.js\"),d=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](main|debug|zalgo|instrumented)/,h=null,m=null,v=!1;f.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(2>e)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;e=this._length=r;for(var r=e-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;e>r;++r){var a=t[r].stack,s=n[a];if(void 0!==s&&s!==r){s>0&&(t[s-1]._parent=void 0,t[s-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var c=r>0?t[r-1]:this;e-1>s?(c._parent=t[s+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var u=c._length+1,p=r-2;p>=0;--p)t[p]._length=u,u++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var a=t.parseStackAndMessage(e),s=a.message,c=[a.stack],u=this;void 0!==u;)c.push(o(u.stack.split(\"\\n\"))),u=u._parent;i(c),r(c),f.notEnumerableProp(e,\"stack\",n(s,c)),f.notEnumerableProp(e,\"__stackCleaned__\",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,n=e.toString();return t=\"string\"==typeof t&&t.length>0?a(e):[\"    (No stack trace)\"],{message:n,stack:o(t)}},t.formatAndLogError=function(e,t){if(\"undefined\"!=typeof console){var n;if(\"object\"==typeof e||\"function\"==typeof e){var r=e.stack;n=t+m(r,e)}else n=t+String(e);\"function\"==typeof p?p(n):\"function\"!=typeof console.log&&\"object\"!=typeof console.log||console.log(n)}},t.unhandledRejection=function(e){t.formatAndLogError(e,\"^--- With additional stack trace: \")},t.isSupported=function(){return\"function\"==typeof x},t.fireRejectionEvent=function(e,n,r,i){var o=!1;try{\"function\"==typeof n&&(o=!0,\"rejectionHandled\"===e?n(i):n(r,i))}catch(a){l.throwLater(a)}var s=!1;try{s=w(e,r,i)}catch(a){s=!0,l.throwLater(a)}var c=!1;if(b)try{c=b(e.toLowerCase(),{reason:r,promise:i})}catch(a){c=!0,l.throwLater(a)}s||o||c||\"unhandledRejection\"!==e||t.formatAndLogError(r,\"Unhandled rejection \")};var g=function(){return!1},y=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;t.setBounds=function(e,n){if(t.isSupported()){for(var r,i,o=e.stack.split(\"\\n\"),a=n.stack.split(\"\\n\"),s=-1,c=-1,p=0;p<o.length;++p){var l=u(o[p]);if(l){r=l.fileName,s=l.line;break}}for(var p=0;p<a.length;++p){var l=u(a[p]);if(l){i=l.fileName,c=l.line;break}}0>s||0>c||!r||!i||r!==i||s>=c||(g=function(e){if(d.test(e))return!0;var t=u(e);return!!(t&&t.fileName===r&&s<=t.line&&t.line<=c)})}};var b,x=function(){var e=/^\\s*at\\s*/,t=function(e,t){return\"string\"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():s(t)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,h=e,m=t;var n=Error.captureStackTrace;return g=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,n(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return h=/@/,m=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(m=function(e,t){return\"string\"==typeof e?e:\"object\"!=typeof t&&\"function\"!=typeof t||void 0===t.name||void 0===t.message?s(t):t.toString()},null):(h=e,m=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}([]),w=function(){if(f.isNode)return function(e,t,n){return\"rejectionHandled\"===e?process.emit(e,n):process.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent(\"test\");e=n instanceof CustomEvent}catch(r){}if(!e)try{var i=document.createEvent(\"CustomEvent\");i.initCustomEvent(\"testingtheevent\",!1,!0,{}),self.dispatchEvent(i)}catch(r){t=!1}t&&(b=function(t,n){var r;return e?r=new self.CustomEvent(t,{detail:n,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(r=document.createEvent(\"CustomEvent\"),r.initCustomEvent(t,!1,!0,n)),r?!self.dispatchEvent(r):!1});var o={};return o.unhandledRejection=\"onunhandledRejection\".toLowerCase(),o.rejectionHandled=\"onrejectionHandled\".toLowerCase(),function(e,t,n){var r=o[e],i=self[r];return i?(\"rejectionHandled\"===e?i.call(self,n):i.call(self,t,n),!0):!1}}();return\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(p=function(e){console.warn(e)},f.isNode&&process.stderr.isTTY?p=function(e){process.stderr.write(\"\u001b[31m\"+e+\"\u001b[39m\\n\")}:f.isNode||\"string\"!=typeof(new Error).stack||(p=function(e){console.warn(\"%c\"+e,\"color: red\")})),t}},{\"./async.js\":316,\"./util.js\":352}],322:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t,n){this._instances=e,this._callback=t,this._promise=n}function r(e,t){var n={},r=a(e).call(n,t);if(r===s)return r;var i=c(n);return i.length?(s.e=new u(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"),s):r}var i=e(\"./util.js\"),o=e(\"./errors.js\"),a=i.tryCatch,s=i.errorObj,c=e(\"./es5.js\").keys,u=o.TypeError;return n.prototype.doFilter=function(e){for(var n=this._callback,i=this._promise,o=i._boundValue(),c=0,u=this._instances.length;u>c;++c){var p=this._instances[c],l=p===Error||null!=p&&p.prototype instanceof Error;if(l&&e instanceof p){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}if(\"function\"==typeof p&&!l){var d=r(p,e);if(d===s){e=s.e;break}if(d){var f=a(n).call(o,e);return f===s?(t.e=f.e,t):f}}}return t.e=e,t},n}},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],323:[function(e,t,n){\"use strict\";t.exports=function(e,t,n){function r(){this._trace=new t(o())}function i(){return n()?new r:void 0}function o(){var e=a.length-1;return e>=0?a[e]:void 0}var a=[];return r.prototype._pushContext=function(){n()&&void 0!==this._trace&&a.push(this._trace)},r.prototype._popContext=function(){n()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=o,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,i}},{}],324:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r,i,o=t._getDomain,a=e(\"./async.js\"),s=e(\"./errors.js\").Warning,c=e(\"./util.js\"),u=c.canAttachTrace,p=c.isNode&&(!!process.env.BLUEBIRD_DEBUG||\"development\"===process.env.NODE_ENV);return c.isNode&&0==process.env.BLUEBIRD_DEBUG&&(p=!1),p&&a.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0===(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),a.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent(\"rejectionHandled\",r,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent(\"unhandledRejection\",i,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return p&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(p&&u(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);c.notEnumerableProp(e,\"stack\",i.message+\"\\n\"+i.stack.join(\"\\n\")),c.notEnumerableProp(e,\"__stackCleaned__\",!0)}}},t.prototype._warn=function(e){var t=new s(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+\"\\n\"+i.stack.join(\"\\n\")}n.formatAndLogError(t,\"\")},t.onPossiblyUnhandledRejection=function(e){var t=o();i=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();r=\"function\"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(a.haveItemsQueued()&&p===!1)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/DT1qyG\\n\");p=n.isSupported(),p&&a.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return p&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},p=!1),function(){return p}}},{\"./async.js\":316,\"./errors.js\":327,\"./util.js\":352}],325:[function(e,t,n){\"use strict\";var r=e(\"./util.js\"),i=r.isPrimitive;t.exports=function(e){var t=function(){return this},n=function(){throw this},r=function(){},o=function(){throw void 0},a=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype[\"return\"]=e.prototype.thenReturn=function(n){return void 0===n?this.then(r):i(n)?this._then(a(n,2),void 0,void 0,void 0,void 0):(n instanceof e&&n._ignoreRejections(),this._then(t,void 0,void 0,n,void 0))},e.prototype[\"throw\"]=e.prototype.thenThrow=function(e){return void 0===e?this.then(o):i(e)?this._then(a(e,1),void 0,void 0,void 0,void 0):this._then(n,void 0,void 0,e,void 0)}}},{\"./util.js\":352}],326:[function(e,t,n){\"use strict\";t.exports=function(e,t){var n=e.reduce;e.prototype.each=function(e){return n(this,e,null,t)},e.each=function(e,r){return n(e,r,null,t)}}},{}],327:[function(e,t,n){\"use strict\";function r(e,t){function n(r){return this instanceof n?(l(this,\"message\",\"string\"==typeof r?r:t),l(this,\"name\",e),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return p(n,Error),n}function i(e){return this instanceof i?(l(this,\"name\",\"OperationalError\"),l(this,\"message\",e),this.cause=e,this.isOperational=!0,void(e instanceof Error?(l(this,\"message\",e.message),l(this,\"stack\",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(e)}var o,a,s=e(\"./es5.js\"),c=s.freeze,u=e(\"./util.js\"),p=u.inherits,l=u.notEnumerableProp,f=r(\"Warning\",\"warning\"),d=r(\"CancellationError\",\"cancellation error\"),h=r(\"TimeoutError\",\"timeout error\"),m=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,a=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),a=r(\"RangeError\",\"range error\")}for(var g=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),y=0;y<g.length;++y)\"function\"==typeof Array.prototype[g[y]]&&(m.prototype[g[y]]=Array.prototype[g[y]]);s.defineProperty(m.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(\" \"),t=\"\\n\"+e+\"AggregateError of:\\n\";b++,e=Array(4*b+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=e+i[o];r=i.join(\"\\n\"),t+=r+\"\\n\"}return b--,t},p(i,Error);var x=Error.__BluebirdErrorTypes__;x||(x=c({CancellationError:d,TimeoutError:h,OperationalError:i,RejectionError:i,AggregateError:m}),l(Error,\"__BluebirdErrorTypes__\",x)),t.exports={Error:Error,TypeError:o,RangeError:a,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:f}},{\"./es5.js\":328,\"./util.js\":352}],328:[function(e,t,n){arguments[4][27][0].apply(n,arguments)},{dup:27}],329:[function(e,t,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],330:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(){return this}function o(){throw this}function a(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,n){var r;return r=f(t)?n?a(t):s(t):n?i:o,e._then(r,d,void 0,t,void 0)}function u(e){var i=this.promise,o=this.handler,a=i._isBound()?o.call(i._boundValue()):o();if(void 0!==a){var s=r(a,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(n.e=e,n):e}function p(e){var n=this.promise,i=this.handler,o=n._isBound()?i.call(n._boundValue(),e):i(e);if(void 0!==o){var a=r(o,n);if(a instanceof t)return a=a._target(),c(a,e,!0)}return e}var l=e(\"./util.js\"),f=l.isPrimitive,d=l.thrower;t.prototype._passThroughHandler=function(e,t){if(\"function\"!=typeof e)return this.then();var n={promise:this,handler:e};return this._then(t?u:p,t?u:void 0,void 0,n,void 0)},t.prototype.lastly=t.prototype[\"finally\"]=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{\"./util.js\":352}],331:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=l(n[o])(e);if(r._popContext(),a===p){r._pushContext();var s=t.reject(p.e);return r._popContext(),s}var c=i(a,r);if(c instanceof t)return c}return null}function a(e,n,i,o){var a=this._promise=new t(r);a._captureStackTrace(),this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(f):f}var s=e(\"./errors.js\"),c=s.TypeError,u=e(\"./util.js\"),p=u.errorObj,l=u.tryCatch,f=[];a.prototype.promise=function(){return this._promise},a.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},a.prototype._continue=function(e){if(e===p)return this._promise._rejectCallback(e.e,!1,!0);var n=e.value;if(e.done===!0)this._promise._resolveCallback(n);else{var r=i(n,this._promise);if(!(r instanceof t)&&(r=o(r,this._yieldHandlers,this._promise),null===r))return void this._throw(new c(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/4Y4pDk\\n\\n\".replace(\"%s\",n)+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));r._then(this._next,this._throw,void 0,this,null)}},a.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator[\"throw\"]).call(this._generator,e);this._promise._popContext(),this._continue(t)},a.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if(\"function\"!=typeof e)throw new c(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var n=Object(t).yieldHandler,r=a,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i);return o._generator=t,o._next(void 0),o.promise()}},t.coroutine.addYieldHandler=function(e){if(\"function\"!=typeof e)throw new c(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");f.push(e)},t.spawn=function(e){if(\"function\"!=typeof e)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/6Vqhm0\\n\");var r=new a(e,this),i=r.promise();return r._run(t.spawn),i}}},{\"./errors.js\":327,\"./util.js\":352}],332:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o,a=e(\"./util.js\"),s=a.canEvaluate,c=a.tryCatch,u=a.errorObj;if(s){for(var p=function(e){return new Function(\"value\",\"holder\",\"                             \\n            'use strict';                                                    \\n            holder.pIndex = value;                                           \\n            holder.checkFulfillment(this);                                   \\n            \".replace(/Index/g,e))},l=function(e){for(var t=[],n=1;e>=n;++n)t.push(\"holder.p\"+n);return new Function(\"holder\",\"                                      \\n            'use strict';                                                    \\n            var callback = holder.fn;                                        \\n            return callback(values);                                         \\n            \".replace(/values/g,t.join(\", \")))},f=[],d=[void 0],h=1;5>=h;++h)f.push(p(h)),d.push(l(h));var m=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};m.prototype.callers=d,m.prototype.checkFulfillment=function(e){var t=this.now;t++;var n=this.total;if(t>=n){var r=this.callers[n];e._pushContext();var i=c(r)(this);e._popContext(),i===u?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var o=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&\"function\"==typeof arguments[a]&&(e=arguments[a],6>a&&s)){var c=new t(i);c._captureStackTrace();for(var u=new m(a,e),p=f,l=0;a>l;++l){var d=r(arguments[l],c);d instanceof t?(d=d._target(),d._isPending()?d._then(p[l],o,void 0,c,u):d._isFulfilled()?p[l].call(c,d._value(),u):c._reject(d._reason())):p[l].call(c,d,u)}return c}for(var h=arguments.length,v=new Array(h),g=0;h>g;++g)v[g]=arguments[g];e&&v.pop();var c=new n(v).promise();return void 0!==e?c.spread(e):c}}},{\"./util.js\":352}],333:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,t,n,r){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=n>=1?[]:m,p.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,n,r){var i=\"object\"==typeof n&&null!==n?n.concurrency:0;return i=\"number\"==typeof i&&isFinite(i)&&i>=1?i:0,new a(e,t,i,r)}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj,h={},m=[];l.inherits(a,n),a.prototype._init=function(){},a.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),a=this._preservedValues,s=this._limit;if(r[n]===h){if(r[n]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return r[n]=e,void this._queue.push(n);null!==a&&(a[n]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var p=f(c).call(u,e,n,o);if(this._promise._popContext(),p===d)return this._reject(p.e);var l=i(p,this._promise);if(l instanceof t){if(l=l._target(),l._isPending())return s>=1&&this._inFlight++,r[n]=h,l._proxyPromiseArray(this,n);if(!l._isFulfilled())return this._reject(l._reason());p=l._value()}r[n]=p}var m=++this._totalResolved;m>=o&&(null!==a?this._filter(r,a):this._resolve(r))},a.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;n>o;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return\"function\"!=typeof e?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(this,e,t,null).promise()},t.map=function(e,t,n,i){return\"function\"!=typeof t?r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\"):c(e,t,n,i).promise()}}},{\"./async.js\":316,\"./util.js\":352}],334:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){var o=e(\"./util.js\"),a=o.tryCatch;t.method=function(e){if(\"function\"!=typeof e)throw new t.TypeError(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=a(e).apply(this,arguments);return r._popContext(),r._resolveFromSyncValue(i),r}},t.attempt=t[\"try\"]=function(e,r,s){if(\"function\"!=typeof e)return i(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var c=new t(n);c._captureStackTrace(),c._pushContext();var u=o.isArray(r)?a(e).apply(s,r):a(e).call(s,r);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===o.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{\"./util.js\":352}],335:[function(e,t,n){\"use strict\";t.exports=function(t){function n(e,t){var n=this;if(!o.isArray(e))return r.call(n,e,t);var i=s(t).apply(n._boundValue(),[null].concat(e));i===c&&a.throwLater(i.e)}function r(e,t){var n=this,r=n._boundValue(),i=void 0===e?s(t).call(r,null):s(t).call(r,null,e);i===c&&a.throwLater(i.e)}function i(e,t){var n=this;if(!e){var r=n._target(),i=r._getCarriedStackTrace();i.cause=e,e=i}var o=s(t).call(n._boundValue(),e);o===c&&a.throwLater(o.e)}var o=e(\"./util.js\"),a=e(\"./async.js\"),s=o.tryCatch,c=o.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if(\"function\"==typeof e){var o=r;void 0!==t&&Object(t).spread&&(o=n),this._then(o,i,void 0,this,e)}return this}}},{\"./async.js\":316,\"./util.js\":352}],336:[function(e,t,n){\"use strict\";t.exports=function(t,n){var r=e(\"./util.js\"),i=e(\"./async.js\"),o=r.tryCatch,a=r.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var n=e.value,i=e.handler,s=e.promise,c=e.receiver,u=o(i).call(c,n);if(u===a){if(null!=u.e&&\"StopProgressPropagation\"!==u.e.name){var p=r.canAttachTrace(u.e)?u.e:new Error(r.toString(u.e));s._attachExtraTrace(p),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var r=this._length(),o=this._progress,a=0;r>a;a++){var s=this._progressHandlerAt(a),c=this._promiseAt(a);if(c instanceof t)\"function\"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(a),value:e}):i.invoke(o,c,e);else{var u=this._receiverAt(a);\"function\"==typeof s?s.call(u,e,c):u instanceof n&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{\"./async.js\":316,\"./util.js\":352}],337:[function(e,t,n){\"use strict\";t.exports=function(){function t(e){if(\"function\"!=typeof e)throw new l(\"the promise constructor requires a resolver function\\n\\n    See http://goo.gl/EC22Yn\\n\");if(this.constructor!==t)throw new l(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/KsIlge\\n\");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==f&&this._resolveFromResolver(e)}function n(e){var n=new t(f);n._fulfillmentHandler0=e,n._rejectionHandler0=e,n._progressHandler0=e,n._promise0=e,n._receiver0=e,n._settledValue=e}var r,i=function(){return new l(\"circular promise resolution chain\\n\\n    See http://goo.gl/LhFpo0\\n\")},o=function(){return new t.PromiseInspection(this._target())},a=function(e){return t.reject(new l(e))},s=e(\"./util.js\");r=s.isNode?function(){var e=process.domain;return void 0===e&&(e=null),e}:function(){return null},s.notEnumerableProp(t,\"_getDomain\",r);var c={},u=e(\"./async.js\"),p=e(\"./errors.js\"),l=t.TypeError=p.TypeError;t.RangeError=p.RangeError,t.CancellationError=p.CancellationError,t.TimeoutError=p.TimeoutError,t.OperationalError=p.OperationalError,t.RejectionError=p.OperationalError,t.AggregateError=p.AggregateError;var f=function(){},d={},h={e:null},m=e(\"./thenables.js\")(t,f),v=e(\"./promise_array.js\")(t,f,m,a),g=e(\"./captured_trace.js\")(),y=e(\"./debuggability.js\")(t,g),b=e(\"./context.js\")(t,g,y),x=e(\"./catch_filter.js\")(h),w=e(\"./promise_resolver.js\"),_=w._nodebackForPromise,k=s.errorObj,j=s.tryCatch;return t.prototype.toString=function(){return\"[object Promise]\"},t.prototype.caught=t.prototype[\"catch\"]=function(e){var n=arguments.length;if(n>1){var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var a=arguments[r];if(\"function\"!=typeof a)return t.reject(new l(\"Catch filter must inherit from Error or be a simple predicate function\\n\\n    See http://goo.gl/o84o68\\n\"));i[o++]=a}i.length=o,e=arguments[r];var s=new x(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},t.prototype.reflect=function(){return this._then(o,o,void 0,this,void 0)},t.prototype.then=function(e,t,n){if(y()&&arguments.length>0&&\"function\"!=typeof e&&\"function\"!=typeof t){var r=\".then() only accepts functions but was passed: \"+s.classString(e);arguments.length>1&&(r+=\", \"+s.classString(t)),this._warn(r)}return this._then(e,t,n,void 0,void 0)},t.prototype.done=function(e,t,n){var r=this._then(e,t,n,void 0,void 0);r._setIsFinal()},t.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,d,void 0)},t.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},t.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},t.prototype.all=function(){return new v(this).promise()},t.prototype.error=function(e){return this.caught(s.originatesFromRejection,e)},t.is=function(e){return e instanceof t},t.fromNode=function(e){var n=new t(f),r=j(e)(_(n));return r===k&&n._rejectCallback(r.e,!0,!0),n},t.all=function(e){return new v(e).promise()},t.defer=t.pending=function(){var e=new t(f);return new w(e)},t.cast=function(e){var n=m(e);if(!(n instanceof t)){var r=n;n=new t(f),n._fulfillUnchecked(r)}return n},t.resolve=t.fulfilled=t.cast,t.reject=t.rejected=function(e){var n=new t(f);return n._captureStackTrace(),n._rejectCallback(e,!0),n},t.setScheduler=function(e){if(\"function\"!=typeof e)throw new l(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var t=u._schedule;return u._schedule=e,t},t.prototype._then=function(e,n,i,o,a){var s=void 0!==a,c=s?a:new t(f);s||(c._propagateFrom(this,5),c._captureStackTrace());var p=this._target();p!==this&&(void 0===o&&(o=this._boundTo),s||c._setIsMigrated());var l=p._addCallbacks(e,n,i,c,o,r());return p._isResolved()&&!p._isSettlePromisesQueued()&&u.invoke(p._settlePromiseAtPostResolution,p,l),c},t.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},t.prototype._length=function(){return 131071&this._bitField},t.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},t.prototype._isFollowing=function(){return 536870912===(536870912&this._bitField)},t.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},t.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},t.prototype._setRejected=function(){this._bitField=134217728|this._bitField},t.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},t.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},t.prototype._isFinal=function(){return(33554432&this._bitField)>0},t.prototype._cancellable=function(){return(67108864&this._bitField)>0},t.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},t.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},t.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},t.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},t.prototype._isMigrated=function(){return(4194304&this._bitField)>0},t.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==c)return void 0===t&&this._isBound()?this._boundValue():t},t.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},t.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},t.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},t.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof t?e.isFulfilled()?e.value():void 0:e},t.prototype._migrateCallbacks=function(e,n){var r=e._fulfillmentHandlerAt(n),i=e._rejectionHandlerAt(n),o=e._progressHandlerAt(n),a=e._promiseAt(n),s=e._receiverAt(n);a instanceof t&&a._setIsMigrated(),void 0===s&&(s=c),this._addCallbacks(r,i,o,a,s,null)},t.prototype._addCallbacks=function(e,t,n,r,i,o){var a=this._length();if(a>=131066&&(a=0,this._setLength(0)),0===a)this._promise0=r,void 0!==i&&(this._receiver0=i),\"function\"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===o?e:o.bind(e)),\"function\"==typeof t&&(this._rejectionHandler0=null===o?t:o.bind(t)),\"function\"==typeof n&&(this._progressHandler0=null===o?n:o.bind(n));else{var s=5*a-5;this[s+3]=r,this[s+4]=i,\"function\"==typeof e&&(this[s+0]=null===o?e:o.bind(e)),\"function\"==typeof t&&(this[s+1]=null===o?t:o.bind(t)),\"function\"==typeof n&&(this[s+2]=null===o?n:o.bind(n))}return this._setLength(a+1),a},t.prototype._setProxyHandlers=function(e,t){var n=this._length();if(n>=131066&&(n=0,this._setLength(0)),0===n)this._promise0=t,this._receiver0=e;else{var r=5*n-5;this[r+3]=t,this[r+4]=e}this._setLength(n+1)},t.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},t.prototype._resolveCallback=function(e,n){if(!this._isFollowingOrFulfilledOrRejected()){\nif(e===this)return this._rejectCallback(i(),!1,!0);var r=m(e,this);if(!(r instanceof t))return this._fulfill(e);var o=1|(n?4:0);this._propagateFrom(r,o);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;s>c;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},t.prototype._rejectCallback=function(e,t,n){n||s.markAsOriginatingFromRejection(e);var r=s.ensureErrorObject(e),i=r===e;this._attachExtraTrace(r,t?i:!1),this._reject(e,i?void 0:r)},t.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=j(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,n),t=null)});n=!1,this._popContext(),void 0!==r&&r===k&&null!==t&&(t._rejectCallback(r.e,!0,!0),t=null)},t.prototype._settlePromiseFromHandler=function(e,t,n,r){if(!r._isRejected()){r._pushContext();var o;if(o=t!==d||this._isRejected()?j(e).call(t,n):j(e).apply(this._boundValue(),n),r._popContext(),o===k||o===r||o===h){var a=o===r?i():o.e;r._rejectCallback(a,!1,!0)}else r._resolveCallback(o)}},t.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},t.prototype._followee=function(){return this._rejectionHandler0},t.prototype._setFollowee=function(e){this._rejectionHandler0=e},t.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},t.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},t.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},t.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},t.prototype._settlePromiseAt=function(e){var n=this._promiseAt(e),r=n instanceof t;if(r&&n._isMigrated())return n._unsetIsMigrated(),u.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),o=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,a=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),\"function\"==typeof i?r?this._settlePromiseFromHandler(i,s,a,n):i.call(s,a,n):s instanceof v?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(a,n):s._promiseRejected(a,n)):r&&(this._isFulfilled()?n._fulfill(a):n._reject(a,o)),e>=4&&4===(31&e)&&u.invokeLater(this._setLength,this,0)},t.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},t.prototype._isSettlePromisesQueued=function(){return-1073741824===(-1073741824&this._bitField)},t.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},t.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},t.prototype._queueSettlePromises=function(){u.settlePromises(this),this._setSettlePromisesQueued()},t.prototype._fulfillUnchecked=function(e){if(e===this){var t=i();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},t.prototype._rejectUncheckedCheckError=function(e){var t=s.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},t.prototype._rejectUnchecked=function(e,t){if(e===this){var n=i();return this._attachExtraTrace(n),this._rejectUnchecked(n)}return this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?void u.throwLater(function(e){throw\"stack\"in e&&u.invokeFirst(g.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),void(this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled()))},t.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;e>t;t++)this._settlePromiseAt(t)},s.notEnumerableProp(t,\"_makeSelfResolutionError\",i),e(\"./progress.js\")(t,v),e(\"./method.js\")(t,f,m,a),e(\"./bind.js\")(t,f,m),e(\"./finally.js\")(t,h,m),e(\"./direct_resolve.js\")(t),e(\"./synchronous_inspection.js\")(t),e(\"./join.js\")(t,v,m,f),t.Promise=t,e(\"./map.js\")(t,v,a,m,f),e(\"./cancel.js\")(t),e(\"./using.js\")(t,a,m,b),e(\"./generators.js\")(t,a,f,m),e(\"./nodeify.js\")(t),e(\"./call_get.js\")(t),e(\"./props.js\")(t,v,m,a),e(\"./race.js\")(t,f,m,a),e(\"./reduce.js\")(t,v,a,m,f),e(\"./settle.js\")(t,v),e(\"./some.js\")(t,v,a),e(\"./promisify.js\")(t,f),e(\"./any.js\")(t),e(\"./each.js\")(t,f),e(\"./timers.js\")(t,f),e(\"./filter.js\")(t,f),s.toFastProperties(t),s.toFastProperties(t.prototype),n({a:1}),n({b:2}),n({c:3}),n(1),n(function(){}),n(void 0),n(!1),n(new t(f)),g.setBounds(u.firstLineError,s.lastLineError),t}},{\"./any.js\":315,\"./async.js\":316,\"./bind.js\":317,\"./call_get.js\":319,\"./cancel.js\":320,\"./captured_trace.js\":321,\"./catch_filter.js\":322,\"./context.js\":323,\"./debuggability.js\":324,\"./direct_resolve.js\":325,\"./each.js\":326,\"./errors.js\":327,\"./filter.js\":329,\"./finally.js\":330,\"./generators.js\":331,\"./join.js\":332,\"./map.js\":333,\"./method.js\":334,\"./nodeify.js\":335,\"./progress.js\":336,\"./promise_array.js\":338,\"./promise_resolver.js\":339,\"./promisify.js\":340,\"./props.js\":341,\"./race.js\":343,\"./reduce.js\":344,\"./settle.js\":346,\"./some.js\":347,\"./synchronous_inspection.js\":348,\"./thenables.js\":349,\"./timers.js\":350,\"./using.js\":351,\"./util.js\":352}],338:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){switch(e){case-2:return[];case-3:return{}}}function a(e){var r,i=this._promise=new t(n);e instanceof t&&(r=e,i._propagateFrom(r,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e(\"./util.js\"),c=s.isArray;return a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function u(e,n){var a=r(this._values,this._promise);if(a instanceof t){if(a=a._target(),this._values=a,!a._isFulfilled())return a._isPending()?void a._then(u,this._reject,void 0,this,n):void this._reject(a._reason());if(a=a._value(),!c(a)){var s=new t.TypeError(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");return void this.__hardReject__(s)}}else if(!c(a))return void this._promise._reject(i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\")._reason());if(0===a.length)return void(-5===n?this._resolveEmptyArray():this._resolve(o(n)));var p=this.getActualLength(a.length);this._length=p,this._values=this.shouldCopyValues()?new Array(p):this._values;for(var l=this._promise,f=0;p>f;++f){var d=this._isResolved(),h=r(a[f],l);h instanceof t?(h=h._target(),d?h._ignoreRejections():h._isPending()?h._proxyPromiseArray(this,f):h._isFulfilled()?this._promiseFulfilled(h._value(),f):this._promiseRejected(h._reason(),f)):d||this._promiseFulfilled(h,f)}},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},a.prototype.__hardReject__=a.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},a.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},a.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},a.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(e){return e},a}},{\"./util.js\":352}],339:[function(e,t,n){\"use strict\";function r(e){return e instanceof Error&&d.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(r(e)){t=new l(e),t.name=e.name,t.message=e.message,t.stack=e.stack;for(var n=d.keys(e),i=0;i<n.length;++i){var o=n[i];h.test(o)||(t[o]=e[o])}return t}return s.markAsOriginatingFromRejection(e),e}function o(e){return function(t,n){if(null!==e){if(t){var r=i(c(t));e._attachExtraTrace(r),e._reject(r)}else if(arguments.length>2){for(var o=arguments.length,a=new Array(o-1),s=1;o>s;++s)a[s-1]=arguments[s];e._fulfill(a)}else e._fulfill(n);e=null}}}var a,s=e(\"./util.js\"),c=s.maybeWrapAsError,u=e(\"./errors.js\"),p=u.TimeoutError,l=u.OperationalError,f=s.haveGetters,d=e(\"./es5.js\"),h=/^(?:name|message|stack|cause)$/;if(a=f?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=o(e),this.callback=this.asCallback},f){var m={get:function(){return o(this.promise)}};d.defineProperty(a.prototype,\"asCallback\",m),d.defineProperty(a.prototype,\"callback\",m)}a._nodebackForPromise=o,a.prototype.toString=function(){return\"[object PromiseResolver]\"},a.prototype.resolve=a.prototype.fulfill=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._resolveCallback(e)},a.prototype.reject=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._rejectCallback(e)},a.prototype.progress=function(e){if(!(this instanceof a))throw new TypeError(\"Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\\n\\n    See http://goo.gl/sdkXL9\\n\");this.promise._progress(e)},a.prototype.cancel=function(e){this.promise.cancel(e)},a.prototype.timeout=function(){this.reject(new p(\"timeout\"))},a.prototype.isResolved=function(){return this.promise.isResolved()},a.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=a},{\"./errors.js\":327,\"./es5.js\":328,\"./util.js\":352}],340:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){return!_.test(e)}function i(e){try{return e.__isPromisified__===!0}catch(t){return!1}}function o(e,t,n){var r=d.getDataPropertyOrDefault(e,t+n,x);return r?i(r):!1}function a(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,\"\"),a=0;a<e.length;a+=2)if(e[a]===o)throw new y(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/iWrZbw\\n\".replace(\"%s\",t))}}function s(e,t,n,r){for(var s=d.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var p=s[u],l=e[p],f=r===k?!0:k(p,l,e);\"function\"!=typeof l||i(l)||o(e,p,t)||!r(p,l,e,f)||c.push(p,l)}return a(c,t,n),c}function c(e,r,i,o){function a(){var i=r;r===f&&(i=this);var o=new t(n);o._captureStackTrace();var a=\"string\"==typeof c&&this!==s?this[c]:e,u=h(o);try{a.apply(i,m(arguments,u))}catch(p){o._rejectCallback(v(p),!0,!0)}return o}var s=function(){return this}(),c=e;return\"string\"==typeof c&&(e=o),d.notEnumerableProp(a,\"__isPromisified__\",!0),a}function u(e,t,n,r){for(var i=new RegExp(j(t)+\"$\"),o=s(e,t,i,n),a=0,c=o.length;c>a;a+=2){var u=o[a],p=o[a+1],l=u+t;if(r===C)e[l]=C(u,f,u,p,t);else{var h=r(p,function(){return C(u,f,u,p,t)});d.notEnumerableProp(h,\"__isPromisified__\",!0),e[l]=h}}return d.toFastProperties(e),e}function p(e,t){return C(e,t,void 0,e)}var l,f={},d=e(\"./util.js\"),h=e(\"./promise_resolver.js\")._nodebackForPromise,m=d.withAppended,v=d.maybeWrapAsError,g=d.canEvaluate,y=e(\"./errors\").TypeError,b=\"Async\",x={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],_=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),k=function(e){return d.isIdentifier(e)&&\"_\"!==e.charAt(0)&&\"constructor\"!==e},j=function(e){return e.replace(/([$])/,\"\\\\$\")},S=function(e){for(var t=[e],n=Math.max(0,e-1-3),r=e-1;r>=n;--r)t.push(r);for(var r=e+1;3>=r;++r)t.push(r);return t},E=function(e){return d.filledRange(e,\"_arg\",\"\")},O=function(e){return d.filledRange(Math.max(e,3),\"_arg\",\"\")},A=function(e){return\"number\"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,r,i,o){function a(e){var t,n=E(e).join(\", \"),i=e>0?\", \":\"\";return t=p?\"ret = callback.call(this, {{args}}, nodeback); break;\\n\":void 0===r?\"ret = callback({{args}}, nodeback); break;\\n\":\"ret = callback.call(receiver, {{args}}, nodeback); break;\\n\",t.replace(\"{{args}}\",n).replace(\", \",i)}function s(){for(var e=\"\",t=0;t<u.length;++t)e+=\"case \"+u[t]+\":\"+a(u[t]);return e+=\"                                                             \\n        default:                                                             \\n            var args = new Array(len + 1);                                   \\n            var i = 0;                                                       \\n            for (var i = 0; i < len; ++i) {                                  \\n               args[i] = arguments[i];                                       \\n            }                                                                \\n            args[i] = nodeback;                                              \\n            [CodeForCall]                                                    \\n            break;                                                           \\n        \".replace(\"[CodeForCall]\",p?\"ret = callback.apply(this, args);\\n\":\"ret = callback.apply(receiver, args);\\n\")}var c=Math.max(0,A(o)-1),u=S(c),p=\"string\"==typeof e||r===f,l=\"string\"==typeof e?\"this != null ? this['\"+e+\"'] : fn\":\"fn\";return new Function(\"Promise\",\"fn\",\"receiver\",\"withAppended\",\"maybeWrapAsError\",\"nodebackForPromise\",\"tryCatch\",\"errorObj\",\"notEnumerableProp\",\"INTERNAL\",\"'use strict';                            \\n        var ret = function (Parameters) {                                    \\n            'use strict';                                                    \\n            var len = arguments.length;                                      \\n            var promise = new Promise(INTERNAL);                             \\n            promise._captureStackTrace();                                    \\n            var nodeback = nodebackForPromise(promise);                      \\n            var ret;                                                         \\n            var callback = tryCatch([GetFunctionCode]);                      \\n            switch(len) {                                                    \\n                [CodeForSwitchCase]                                          \\n            }                                                                \\n            if (ret === errorObj) {                                          \\n                promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\\n            }                                                                \\n            return promise;                                                  \\n        };                                                                   \\n        notEnumerableProp(ret, '__isPromisified__', true);                   \\n        return ret;                                                          \\n        \".replace(\"Parameters\",O(c)).replace(\"[CodeForSwitchCase]\",s()).replace(\"[GetFunctionCode]\",l))(t,o,r,m,v,h,d.tryCatch,d.errorObj,d.notEnumerableProp,n)};var C=g?l:c;t.promisify=function(e,t){if(\"function\"!=typeof e)throw new y(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");if(i(e))return e;var n=p(e,arguments.length<2?f:t);return d.copyDescriptors(e,n,r),n},t.promisifyAll=function(e,t){if(\"function\"!=typeof e&&\"object\"!=typeof e)throw new y(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/9ITlV0\\n\");t=Object(t);var n=t.suffix;\"string\"!=typeof n&&(n=b);var r=t.filter;\"function\"!=typeof r&&(r=k);var i=t.promisifier;if(\"function\"!=typeof i&&(i=C),!d.isIdentifier(n))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/8FZo5V\\n\");for(var o=d.inheritedDataKeys(e),a=0;a<o.length;++a){var s=e[o[a]];\"constructor\"!==o[a]&&d.isClass(s)&&(u(s.prototype,n,r,i),u(s,n,r,i))}return u(e,n,r,i)}}},{\"./errors\":327,\"./promise_resolver.js\":339,\"./util.js\":352}],341:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var t=u.keys(e),n=t.length,r=new Array(2*n),i=0;n>i;++i){var o=t[i];r[i]=e[o],r[i+n]=o}this.constructor$(r)}function a(e){var n,a=r(e);return c(a)?(n=a instanceof t?a._then(t.props,void 0,void 0,void 0,void 0):new o(a).promise(),a instanceof t&&n._propagateFrom(a,4),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/OsFKC8\\n\")}var s=e(\"./util.js\"),c=s.isObject,u=e(\"./es5.js\");s.inherits(o,n),o.prototype._init=function(){this._init$(void 0,-3)},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e;var n=++this._totalResolved;if(n>=this._length){for(var r={},i=this.length(),o=0,a=this.length();a>o;++o)r[this._values[o+i]]=this._values[o];this._resolve(r)}},o.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return a(this)},t.props=function(e){return a(e)}}},{\"./es5.js\":328,\"./util.js\":352}],342:[function(e,t,n){arguments[4][40][0].apply(n,arguments)},{dup:40}],343:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e,o){var c=r(e);if(c instanceof t)return s(c);if(!a(e))return i(\"expecting an array, a promise or a thenable\\n\\n    See http://goo.gl/s8MMhc\\n\");var u=new t(n);void 0!==o&&u._propagateFrom(o,5);for(var p=u._fulfill,l=u._reject,f=0,d=e.length;d>f;++f){var h=e[f];(void 0!==h||f in e)&&t.cast(h)._then(p,l,void 0,u,null)}return u}var a=e(\"./util.js\").isArray,s=function(e){return e.then(function(t){return o(t,e)})};t.race=function(e){return o(e,void 0)},t.prototype.race=function(){return o(this,void 0)}}},{\"./util.js\":352}],344:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i,o){function a(e,n,r,a){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=a===o?[]:null,this._zerothIsAccum=void 0===r,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(r,this._promise),l=!1,f=c instanceof t;f&&(c=c._target(),c._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(r=c._value(),this._gotAccum=!0):(this._reject(c._reason()),l=!0)),f||this._zerothIsAccum||(this._gotAccum=!0);var d=u();this._callback=null===d?n:d.bind(n),this._accum=r,l||p.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,n,i){if(\"function\"!=typeof t)return r(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var o=new a(e,t,n,i);return o.promise()}var u=t._getDomain,p=e(\"./async.js\"),l=e(\"./util.js\"),f=l.tryCatch,d=l.errorObj;l.inherits(a,n),a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},a.prototype._promiseFulfilled=function(e,n){var r=this._values;r[n]=e;var o,a=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,p=this._valuesPhase;if(!p)for(p=this._valuesPhase=new Array(a),o=0;a>o;++o)p[o]=0;if(o=p[n],0===n&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,p[n]=0===o?1:2):-1===n?(this._accum=e,this._gotAccum=u=!0):0===o?p[n]=1:(p[n]=2,this._accum=e),u){for(var l,h=this._callback,m=this._promise._boundValue(),v=this._reducingIndex;a>v;++v)if(o=p[v],2!==o){if(1!==o)return;if(e=r[v],this._promise._pushContext(),c?(s.push(e),l=f(h).call(m,e,v,a)):l=f(h).call(m,this._accum,e,v,a),this._promise._popContext(),l===d)return this._reject(l.e);var g=i(l,this._promise);if(g instanceof t){if(g=g._target(),g._isPending())return p[v]=4,g._proxyPromiseArray(this,v);if(!g._isFulfilled())return this._reject(g._reason());l=g._value()}this._reducingIndex=v+1,this._accum=l}else this._reducingIndex=v+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,n,r){return c(e,t,n,r)}}},{\"./async.js\":316,\"./util.js\":352}],345:[function(e,t,n){(function(n){\"use strict\";var r,i=e(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/m3OTXk\\n\")};if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=n.setImmediate,s=process.nextTick;r=i.isRecentNode?function(e){a.call(n,e)}:function(e){s.call(process,e)}}else\"undefined\"==typeof MutationObserver||\"undefined\"!=typeof window&&window.navigator&&window.navigator.standalone?r=\"undefined\"!=typeof setImmediate?function(e){setImmediate(e)}:\"undefined\"!=typeof setTimeout?function(e){setTimeout(e,0)}:o:(r=function(e){var t=document.createElement(\"div\"),n=new MutationObserver(e);return n.observe(t,{attributes:!0}),function(){t.classList.toggle(\"foo\")}},r.isStatic=!0);t.exports=r}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./util\":352}],346:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){this.constructor$(e)}var i=t.PromiseInspection,o=e(\"./util.js\");o.inherits(r,n),r.prototype._promiseResolved=function(e,t){this._values[e]=t;var n=++this._totalResolved;n>=this._length&&this._resolve(this._values)},r.prototype._promiseFulfilled=function(e,t){var n=new i;n._bitField=268435456,n._settledValue=e,this._promiseResolved(t,n)},r.prototype._promiseRejected=function(e,t){var n=new i;n._bitField=134217728,n._settledValue=e,this._promiseResolved(t,n)},t.settle=function(e){return new r(e).promise()},t.prototype.settle=function(){return new r(this).promise()}}},{\"./util.js\":352}],347:[function(e,t,n){\"use strict\";t.exports=function(t,n,r){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(e,t){if((0|t)!==t||0>t)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/1wAmHx\\n\");var n=new i(e),o=n.promise();return n.setHowMany(t),n.init(),o}var a=e(\"./util.js\"),s=e(\"./errors.js\").RangeError,c=e(\"./errors.js\").AggregateError,u=a.isArray;a.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,n=this.length();n<this._values.length;++n)t.push(this._values[n]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+e+\" items\";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return o(e,t)},t.prototype.some=function(e){return o(this,e)},t._SomePromiseArray=i}},{\"./errors.js\":327,\"./util.js\":352}],348:[function(e,t,n){\"use strict\";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0===(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/hc1DLj\\n\");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/hPuiwB\\n\");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],349:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e,r){if(u(e)){if(e instanceof t)return e;if(o(e)){var p=new t(n);return e._then(p._fulfillUnchecked,p._rejectUncheckedCheckError,p._progressUnchecked,p,null),p}var l=s.tryCatch(i)(e);if(l===c){r&&r._pushContext();var p=t.reject(l.e);return r&&r._popContext(),p}if(\"function\"==typeof l)return a(e,l,r)}return e}function i(e){return e.then}function o(e){return p.call(e,\"_promise0\")}function a(e,r,i){function o(e){p&&(p._resolveCallback(e),p=null)}function a(e){p&&(p._rejectCallback(e,f,!0),p=null)}function u(e){p&&\"function\"==typeof p._progress&&p._progress(e)}var p=new t(n),l=p;i&&i._pushContext(),p._captureStackTrace(),i&&i._popContext();var f=!0,d=s.tryCatch(r).call(e,o,a,u);return f=!1,p&&d===c&&(p._rejectCallback(d.e,!0,!0),p=null),l}var s=e(\"./util.js\"),c=s.errorObj,u=s.isObject,p={}.hasOwnProperty;return r}},{\"./util.js\":352}],350:[function(e,t,n){\"use strict\";t.exports=function(t,n){function r(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var o=e(\"./util.js\"),a=t.TimeoutError,s=function(e,t){if(e.isPending()){var n;!o.isPrimitive(t)&&t instanceof Error?n=t:(\"string\"!=typeof t&&(t=\"operation timed out\"),n=new a(t)),o.markAsOriginatingFromRejection(n),e._attachExtraTrace(n),e._cancel(n)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,r){if(void 0===r){r=e,e=void 0;var i=new t(n);return setTimeout(function(){i._fulfill()},r),i}return r=+r,t.resolve(e)._then(c,null,null,r,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var n=this.then().cancellable();n._cancellationParent=this;var o=setTimeout(function(){s(n,t)},e);return n._then(r,i,void 0,o,void 0)}}},{\"./util.js\":352}],351:[function(e,t,n){\"use strict\";t.exports=function(t,n,r,i){function o(e){for(var n=e.length,r=0;n>r;++r){var i=e[r];if(i.isRejected())return t.reject(i.error());e[r]=i._settledValue}return e}function a(e){setTimeout(function(){throw e},0)}function s(e){var t=r(e);return t!==e&&\"function\"==typeof e._isDisposable&&\"function\"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,n){function i(){if(o>=c)return u.resolve();var p=s(e[o++]);if(p instanceof t&&p._isDisposable()){try{p=r(p._getDisposer().tryDispose(n),e.promise)}catch(l){return a(l)}if(p instanceof t)return p._then(i,a,null,null,null)}i()}var o=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new v;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function p(e){var t=new v;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function l(e,t,n){this._data=e,this._promise=t,this._context=n}function f(e,t,n){this.constructor$(e,t,n)}function d(e){return l.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var h=e(\"./errors.js\").TypeError,m=e(\"./util.js\").inherits,v=t.PromiseInspection;l.prototype.data=function(){return this._data},l.prototype.promise=function(){return this._promise},l.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},l.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=null!==t?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},l.isDisposer=function(e){return null!=e&&\"function\"==typeof e.resource&&\"function\"==typeof e.tryDispose},m(f,l),f.prototype.doDispose=function(e,t){var n=this.data();return n.call(e,e,t)},t.using=function(){var e=arguments.length;if(2>e)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[e-1];if(\"function\"!=typeof i)return n(\"fn must be a function\\n\\n    See http://goo.gl/916lJJ\\n\");var a,s=!0;2===e&&Array.isArray(arguments[0])?(a=arguments[0],e=a.length,s=!1):(a=arguments,e--);for(var c=new Array(e),f=0;e>f;++f){var h=a[f];if(l.isDisposer(h)){var m=h;h=h.promise(),h._setDisposable(m)}else{var v=r(h);v instanceof t&&(h=v._then(d,null,null,{resources:c,index:f},void 0))}c[f]=h}var g=t.settle(c).then(o).then(function(e){g._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{g._popContext()}return t})._then(u,p,void 0,c,void 0);return c.promise=g,g},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if(\"function\"==typeof e)return new f(e,this,i());throw new h}}},{\"./errors.js\":327,\"./util.js\":352}],352:[function(e,t,n){\"use strict\";function r(){try{var e=E;return E=null,e.apply(this,arguments)}catch(t){return S.e=t,S}}function i(e){return E=e,r}function o(e){return null==e||e===!0||e===!1||\"string\"==typeof e||\"number\"==typeof e}function a(e){return!o(e)}function s(e){return o(e)?new Error(v(e)):e}function c(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=e[n];return i[n]=t,i}function u(e,t,n){if(!_.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function p(e,t,n){if(o(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return _.defineProperty(e,t,r),e}function l(e){throw e}function f(e){try{if(\"function\"==typeof e){var t=_.names(e.prototype),n=_.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&\"constructor\"===t[0]),i=C.test(e+\"\")&&_.names(e).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function d(e){function t(){}t.prototype=e;for(var n=8;n--;)new t;return e}function h(e){return T.test(e)}function m(e,t,n){for(var r=new Array(e),i=0;e>i;++i)r[i]=t+i+n;return r}function v(e){try{return e+\"\"}catch(t){return\"[no string representation]\"}}function g(e){try{p(e,\"isOperational\",!0)}catch(t){}}function y(e){return null==e?!1:e instanceof Error.__BluebirdErrorTypes__.OperationalError||e.isOperational===!0}function b(e){return e instanceof Error&&_.propertyIsWritable(e,\"stack\")}function x(e){return{}.toString.call(e)}\nfunction w(e,t,n){for(var r=_.names(e),i=0;i<r.length;++i){var o=r[i];if(n(o))try{_.defineProperty(t,o,_.getDescriptor(e,o))}catch(a){}}}var _=e(\"./es5.js\"),k=\"undefined\"==typeof navigator,j=function(){try{var e={};return _.defineProperty(e,\"f\",{get:function(){return 3}}),3===e.f}catch(t){return!1}}(),S={e:{}},E,O=function(e,t){function n(){this.constructor=e,this.constructor$=t;for(var n in t.prototype)r.call(t.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=t.prototype[n])}var r={}.hasOwnProperty;return n.prototype=t.prototype,e.prototype=new n,e.prototype},A=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(_.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var o;try{o=n(e)}catch(a){return r}for(var s=0;s<o.length;++s){var c=o[s];if(!i[c]){i[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&r.push(c)}}e=_.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),C=/this\\s*\\.\\s*\\S+\\s*=/,T=/^[a-z$_][a-z$_0-9]*$/i,I=function(){return\"stack\"in new Error?function(e){return b(e)?e:new Error(v(e))}:function(e){if(b(e))return e;try{throw new Error(v(e))}catch(t){return t}}}(),P={isClass:f,isIdentifier:h,inheritedDataKeys:A,getDataPropertyOrDefault:u,thrower:l,isArray:_.isArray,haveGetters:j,notEnumerableProp:p,isPrimitive:o,isObject:a,canEvaluate:k,errorObj:S,tryCatch:i,inherits:O,withAppended:c,maybeWrapAsError:s,toFastProperties:d,filledRange:m,toString:v,canAttachTrace:b,ensureErrorObject:I,originatesFromRejection:y,markAsOriginatingFromRejection:g,classString:x,copyDescriptors:w,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:\"undefined\"!=typeof process&&\"[object process]\"===x(process).toLowerCase()};P.isRecentNode=P.isNode&&function(){var e=process.versions.node.split(\".\").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),P.isNode&&P.toFastProperties(process);try{throw new Error}catch(F){P.lastLineError=F}t.exports=P},{\"./es5.js\":328}],353:[function(e,t,n){t.exports=n=e(\"./lib/sliced\")},{\"./lib/sliced\":354}],354:[function(e,t,n){t.exports=function(e,t,n){var r=[],i=e.length;if(0===i)return r;var o=0>t?Math.max(0,t+i):t||0;for(void 0!==n&&(i=0>n?n+i:n);i-- >o;)r[i-o]=e[i];return r}},{}],355:[function(e,t,n){function r(e){if(e=\"\"+e,!(e.length>1e4)){var t=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||\"ms\").toLowerCase();switch(r){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return n*l;case\"days\":case\"day\":case\"d\":return n*p;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return n*u;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return n*c;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return n*s;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return n}}}}function i(e){return e>=p?Math.round(e/p)+\"d\":e>=u?Math.round(e/u)+\"h\":e>=c?Math.round(e/c)+\"m\":e>=s?Math.round(e/s)+\"s\":e+\"ms\"}function o(e){return a(e,p,\"day\")||a(e,u,\"hour\")||a(e,c,\"minute\")||a(e,s,\"second\")||e+\" ms\"}function a(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+\" \"+n:Math.ceil(e/t)+\" \"+n+\"s\"}var s=1e3,c=60*s,u=60*c,p=24*u,l=365.25*p;t.exports=function(e,t){return t=t||{},\"string\"==typeof e?r(e):t[\"long\"]?o(e):i(e)}},{}],356:[function(e,t,n){function r(e){return this instanceof r?void(this.request=e):new r(e)}var i=e(\"./lib/charset\"),o=e(\"./lib/encoding\"),a=e(\"./lib/language\"),s=e(\"./lib/mediaType\");t.exports=r,r.Negotiator=r,r.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},r.prototype.charsets=function(e){return i(this.request.headers[\"accept-charset\"],e)},r.prototype.encoding=function(e){var t=this.encodings(e);return t&&t[0]},r.prototype.encodings=function(e){return o(this.request.headers[\"accept-encoding\"],e)},r.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},r.prototype.languages=function(e){return a(this.request.headers[\"accept-language\"],e)},r.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},r.prototype.mediaTypes=function(e){return s(this.request.headers.accept,e)},r.prototype.preferredCharset=r.prototype.charset,r.prototype.preferredCharsets=r.prototype.charsets,r.prototype.preferredEncoding=r.prototype.encoding,r.prototype.preferredEncodings=r.prototype.encodings,r.prototype.preferredLanguage=r.prototype.language,r.prototype.preferredLanguages=r.prototype.languages,r.prototype.preferredMediaType=r.prototype.mediaType,r.prototype.preferredMediaTypes=r.prototype.mediaTypes},{\"./lib/charset\":357,\"./lib/encoding\":358,\"./lib/language\":359,\"./lib/mediaType\":360}],357:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{charset:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.charset});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredCharsets=s},{}],358:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=!1,r=1,o=0,s=0;o<t.length;o++){var c=i(t[o].trim(),o);c&&(t[s++]=c,n=n||a(\"identity\",c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:\"identity\",q:r,i:o}),t.length=s,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=1;if(n[2])for(var o=n[2].split(\";\"),t=0;t<o.length;t++){var a=o[t].trim().split(\"=\");if(\"q\"===a[0]){i=parseFloat(a[1]);break}}return{encoding:r,q:i,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(\"*\"!==t.encoding)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.encoding});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredEncodings=s},{}],359:[function(e,t,n){function r(e){for(var t=e.split(\",\"),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/^\\s*(\\S+?)(?:-(\\S+?))?\\s*(?:;(.*))?$/);if(!n)return null;var r=n[1],i=n[2],o=r;i&&(o+=\"-\"+i);var a=1;if(n[3])for(var s=n[3].split(\";\"),t=0;t<s.length;t++){var c=s[t].split(\"=\");\"q\"===c[0]&&(a=parseFloat(c[1]))}return{prefix:r,suffix:i,q:a,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e);if(!r)return null;var o=0;if(t.full.toLowerCase()===r.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())o|=1;else if(\"*\"!==t.full)return null;return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}t.exports=s,s.preferredLanguages=s},{}],360:[function(e,t,n){function r(e){for(var t=l(e),n=0,r=0;n<t.length;n++){var o=i(t[n].trim(),n);o&&(t[r++]=o)}return t.length=r,t}function i(e,t){var n=e.match(/\\s*(\\S+?)\\/([^;\\s]+)\\s*(?:;(.*))?/);if(!n)return null;var r=n[1],i=n[2],o=\"\"+r+\"/\"+i,a={},s=1;return n[3]&&(a=n[3].split(\";\").map(function(e){return e.trim().split(\"=\")}).reduce(function(e,t){var n=t[0].toLowerCase(),r=t[1];return e[n]=r&&'\"'===r[0]&&'\"'===r[r.length-1]?r.substr(1,r.length-2):r,e},a),null!=a.q&&(s=parseFloat(a.q),delete a.q)),{type:r,subtype:i,params:a,q:s,i:t,full:o}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var o=a(e,t[i],n);o&&(r.s-o.s||r.q-o.q||r.o-o.o)<0&&(r=o)}return r}function a(e,t,n){var r=i(e),o=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())o|=4;else if(\"*\"!=t.type)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())o|=2;else if(\"*\"!=t.subtype)return null;var a=Object.keys(t.params);if(a.length>0){if(!a.every(function(e){return\"*\"==t.params[e]||(t.params[e]||\"\").toLowerCase()==(r.params[e]||\"\").toLowerCase()}))return null;o|=1}return{i:n,o:t.i,q:t.q,s:o}}function s(e,t){var n=r(void 0===e?\"*/*\":e||\"\");if(!t)return n.filter(u).sort(c).map(function(e){return e.full});var i=t.map(function(e,t){return o(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.q>0}function p(e){for(var t=0,n=0;-1!==(n=e.indexOf('\"',n));)t++,n++;return t}function l(e){for(var t=e.split(\",\"),n=1,r=0;n<t.length;n++)p(t[r])%2==0?t[++r]=t[n]:t[r]+=\",\"+t[n];return t.length=r+1,t}t.exports=s,s.preferredMediaTypes=s},{}],361:[function(e,t,n){(function(n){!function(r){\"use strict\";function i(){var e=r.crypto||r.msCrypto;if(!p&&e&&e.getRandomValues)try{var t=new Uint8Array(16);d=p=function(){return e.getRandomValues(t),t},p()}catch(n){}if(!p){var i=new Array(16);l=p=function(){for(var e,t=0;16>t;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i},\"undefined\"!=typeof console&&console.warn&&console.warn(\"[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()\")}}function o(){if(\"function\"==typeof e)try{var t=e(\"crypto\").randomBytes;f=p=t&&function(){return t(16)},p()}catch(n){}}function a(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(e){16>i&&(t[r+i++]=g[e])});16>i;)t[r+i++]=0;return t}function s(e,t){var n=t||0,r=v;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+\"-\"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}function c(e,t,n){var r=t&&n||0,i=t||[];e=e||{};var o=null!=e.clockseq?e.clockseq:w,a=null!=e.msecs?e.msecs:(new Date).getTime(),c=null!=e.nsecs?e.nsecs:k+1,u=a-_+(c-k)/1e4;if(0>u&&null==e.clockseq&&(o=o+1&16383),(0>u||a>_)&&null==e.nsecs&&(c=0),c>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");_=a,k=c,w=o,a+=122192928e5;var p=(1e4*(268435455&a)+c)%4294967296;i[r++]=p>>>24&255,i[r++]=p>>>16&255,i[r++]=p>>>8&255,i[r++]=255&p;var l=a/4294967296*1e4&268435455;i[r++]=l>>>8&255,i[r++]=255&l,i[r++]=l>>>24&15|16,i[r++]=l>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var f=e.node||x,d=0;6>d;d++)i[r+d]=f[d];return t?t:s(i)}function u(e,t,n){var r=t&&n||0;\"string\"==typeof e&&(t=\"binary\"===e?new m(16):null,e=null),e=e||{};var i=e.random||(e.rng||p)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;16>o;o++)t[r+o]=i[o];return t||s(i)}var p,l,f,d,h;r?i():o();for(var m=\"function\"==typeof n?n:Array,v=[],g={},y=0;256>y;y++)v[y]=(y+256).toString(16).substr(1),g[v[y]]=y;var b=p(),x=[1|b[0],b[1],b[2],b[3],b[4],b[5]],w=16383&(b[6]<<8|b[7]),_=0,k=0,j=u;j.v1=c,j.v4=u,j.parse=a,j.unparse=s,j.BufferClass=m,j._rng=p,j._mathRNG=l,j._nodeRNG=f,j._whatwgRNG=d,\"undefined\"!=typeof t&&t.exports?t.exports=j:\"function\"==typeof define&&define.amd?define(function(){return j}):(h=r.uuid,j.noConflict=function(){return r.uuid=h,j},r.uuid=j)}(\"undefined\"!=typeof window?window:null)}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0}],362:[function(e,t,n){function r(e,t){return d.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return d.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else if(\"object\"==typeof n)for(var o in n)r.push([t+\"[\"+o+\"]\",n[o]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t){var n=[e||\"\",t||\"\"].map(o).join(\"&\");return n}function f(e,t,n,r,i,o){var a,s=1;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;case\"PLAINTEXT\":a=l,s=4;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,s))}var d=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.plaintext=l,n.sign=f,n.rfc3986=o,n.generateBase=c},{crypto:void 0,querystring:void 0}],363:[function(e,t,n){\"use strict\";function r(e,t){return i(e)!==!1?(p(t,null,e),e):(a(e,t),e)}function i(e){var t=e.socket;return\"boolean\"==typeof e.finished?Boolean(e.finished||t&&!t.writable):\"boolean\"==typeof e.complete?Boolean(e.upgrade||!t||!t.readable||e.complete&&!e.readable):void 0}function o(e,t){function n(e){i.cancel(),o.cancel(),a=!0,t(e)}function r(t){e.removeListener(\"socket\",r),a||i===o&&(o=u([[t,\"error\",\"close\"]],n))}var i,o,a=!1;return i=o=u([[e,\"end\",\"finish\"]],n),e.socket?void r(e.socket):(e.on(\"socket\",r),void(void 0===e.socket&&c(e,r)))}function a(e,t){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=s(e),o(e,n)),n.queue.push(t)}function s(e){function t(n){if(e.__onFinished===t&&(e.__onFinished=null),t.queue){var r=t.queue;t.queue=null;for(var i=0;i<r.length;i++)r[i](n,e)}}return t.queue=[],t}function c(e,t){var n=e.assignSocket;\"function\"==typeof n&&(e.assignSocket=function(e){n.call(this,e),t(e)})}t.exports=r,t.exports.isFinished=i;var u=e(\"ee-first\"),p=\"function\"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))}},{\"ee-first\":94}],364:[function(e,t,n){\"use strict\";function r(e){var t=e.url;if(void 0!==t){var n=e._parsedUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedUrl=n)}}function i(e){var t=e.originalUrl;if(\"string\"!=typeof t)return r(e);var n=e._parsedOriginalUrl;return a(t,n)?n:(n=o(t),n._raw=t,e._parsedOriginalUrl=n)}function o(e){var t=\"string\"==typeof e&&p.exec(e);if(t){var n=t[1],r=t[2]||null,i=void 0!==u?new u:{};return i.path=e,i.href=e,i.pathname=n,i.search=r,i.query=r&&r.substr(1),i}return c(e)}function a(e,t){return\"object\"==typeof t&&null!==t&&(void 0===u||t instanceof u)&&t._raw===e}var s=e(\"url\"),c=s.parse,u=s.Url,p=/^(\\/\\/?(?!\\/)[^\\?#\\s]*)(\\?[^#\\s]*)?$/;t.exports=r,t.exports.original=i},{url:void 0}],365:[function(e,t,n){var r=e(\"./strategy\");n=t.exports=r,n.Strategy=r},{\"./strategy\":366}],366:[function(e,t,n){function r(){}r.prototype.authenticate=function(e,t){throw new Error(\"Strategy#authenticate must be overridden by subclass\")},t.exports=r},{}],367:[function(e,t,n){function r(){this._key=\"passport\",this._strategies={},this._serializers=[],this._deserializers=[],this._infoTransformers=[],this._framework=null,this._userProperty=\"user\",this.init()}var i=e(\"./strategies/session\");r.prototype.init=function(){this.framework(e(\"./framework/connect\")()),this.use(new i)},r.prototype.use=function(e,t){if(t||(t=e,e=t.name),!e)throw new Error(\"Authentication strategies must have a name\");return this._strategies[e]=t,this},r.prototype.unuse=function(e){return delete this._strategies[e],this},r.prototype.framework=function(e){return this._framework=e,this},r.prototype.initialize=function(e){return e=e||{},this._userProperty=e.userProperty||\"user\",this._framework.initialize(this,e)},r.prototype.authenticate=function(e,t,n){return this._framework.authenticate(this,e,t,n)},r.prototype.authorize=function(e,t,n){t=t||{},t.assignProperty=\"account\";var r=this._framework.authorize||this._framework.authenticate;return r(this,e,t,n)},r.prototype.session=function(e){return this.authenticate(\"session\",e)},r.prototype.serializeUser=function(e,t,n){if(\"function\"==typeof e)return this._serializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._serializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s||0===s)return n(a,s);var u=i[e];if(!u)return n(new Error(\"Failed to serialize user into session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.deserializeUser=function(e,t,n){if(\"function\"==typeof e)return this._deserializers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._deserializers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);if(null===s||s===!1)return n(null,!1);var u=i[e];if(!u)return n(new Error(\"Failed to deserialize user out of session\"));try{var p=u.length;3==p?u(t,r,c):u(r,c)}catch(l){return n(l)}}(0)},r.prototype.transformAuthInfo=function(e,t,n){if(\"function\"==typeof e)return this._infoTransformers.push(e);var r=e;\"function\"==typeof t&&(n=t,t=void 0);var i=this._infoTransformers;!function o(e,a,s){function c(t,n){o(e+1,t,n)}if(\"pass\"===a&&(a=void 0),a||s)return n(a,s);var u=i[e];if(!u)return n(null,r);try{var p=u.length;if(1==p){var l=u(r);c(null,l)}else 3==p?u(t,r,c):u(r,c)}catch(f){return n(f)}}(0)},r.prototype._strategy=function(e){return this._strategies[e]},t.exports=r},{\"./framework/connect\":369,\"./strategies/session\":374}],368:[function(e,t,n){function r(e,t){Error.call(this),Error.captureStackTrace(this,arguments.callee),this.name=\"AuthenticationError\",this.message=e,this.status=t||401}r.prototype.__proto__=Error.prototype,t.exports=r},{}],369:[function(e,t,n){var r=e(\"../middleware/initialize\"),i=e(\"../middleware/authenticate\");n=t.exports=function(){return n.__monkeypatchNode(),{initialize:r,authenticate:i}},n.__monkeypatchNode=function(){var t=e(\"http\"),n=e(\"../http/request\");t.IncomingMessage.prototype.login=t.IncomingMessage.prototype.logIn=n.logIn,t.IncomingMessage.prototype.logout=t.IncomingMessage.prototype.logOut=n.logOut,t.IncomingMessage.prototype.isAuthenticated=n.isAuthenticated,t.IncomingMessage.prototype.isUnauthenticated=n.isUnauthenticated}},{\"../http/request\":370,\"../middleware/authenticate\":372,\"../middleware/initialize\":373,http:void 0}],370:[function(e,t,n){var r=n=t.exports={};r.login=r.logIn=function(e,t,n){\"function\"==typeof t&&(n=t,t={}),t=t||{};var r=\"user\";this._passport&&this._passport.instance&&(r=this._passport.instance._userProperty||\"user\");var i=void 0===t.session?!0:t.session;if(this[r]=e,i){if(!this._passport)throw new Error(\"passport.initialize() middleware not in use\");if(\"function\"!=typeof n)throw new Error(\"req#login requires a callback function\");var o=this;this._passport.instance.serializeUser(e,this,function(e,t){return e?(o[r]=null,n(e)):(o._passport.session||(o._passport.session={}),o._passport.session.user=t,o.session||(o.session={}),o.session[o._passport.instance._key]=o._passport.session,void n())})}else n&&n()},r.logout=r.logOut=function(){var e=\"user\";this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),this[e]=null,this._passport&&this._passport.session&&delete this._passport.session.user},r.isAuthenticated=function(){var e=\"user\";return this._passport&&this._passport.instance&&(e=this._passport.instance._userProperty||\"user\"),!!this[e]},r.isUnauthenticated=function(){return!this.isAuthenticated()}},{}],371:[function(e,t,n){var r=e(\"./authenticator\"),i=e(\"./strategies/session\");n=t.exports=new r,n.Passport=n.Authenticator=r,n.Strategy=e(\"passport-strategy\"),n.strategies={},n.strategies.SessionStrategy=i},{\"./authenticator\":367,\"./strategies/session\":374,\"passport-strategy\":365}],372:[function(e,t,n){var r=e(\"http\"),i=e(\"../http/request\"),o=e(\"../errors/authenticationerror\");t.exports=function(t,n,a,s){\"function\"==typeof a&&(s=a,a={}),a=a||{};var c=!0;return Array.isArray(n)||(n=[n],c=!1),function(u,p,l){function f(){if(s){if(c){var e=d.map(function(e){return e.challenge}),t=d.map(function(e){return e.status});return s(null,!1,e,t)}return s(null,!1,d[0].challenge,d[0].status)}var n,i=d[0]||{},f=i.challenge||{};if(a.failureFlash){var h=a.failureFlash;\"string\"==typeof h&&(h={type:\"error\",message:h}),h.type=h.type||\"error\";var m=h.type||f.type||\"error\";n=h.message||f.message||f,\"string\"==typeof n&&u.flash(m,n)}if(a.failureMessage&&(n=a.failureMessage,\"boolean\"==typeof n&&(n=f.message||f),\"string\"==typeof n&&(u.session.messages=u.session.messages||[],u.session.messages.push(n))),a.failureRedirect)return p.redirect(a.failureRedirect);for(var v,g,y=[],b=0,x=d.length;x>b;b++)i=d[b],f=i.challenge,g=i.status,v=v||g,\"string\"==typeof f&&y.push(f);return p.statusCode=v||401,401==p.statusCode&&y.length&&p.setHeader(\"WWW-Authenticate\",y),a.failWithError?l(new o(r.STATUS_CODES[p.statusCode],v)):void p.end(r.STATUS_CODES[p.statusCode])}r.IncomingMessage.prototype.logIn&&r.IncomingMessage.prototype.logIn!==i.logIn&&e(\"../framework/connect\").__monkeypatchNode();var d=[];!function h(e){var r=n[e];if(!r)return f();var i=t._strategy(r);if(!i)return l(new Error('Unknown authentication strategy \"'+r+'\"'));var o=Object.create(i);o.success=function(e,n){if(s)return s(null,e,n);n=n||{};var r;if(a.successFlash){var i=a.successFlash;\"string\"==typeof i&&(i={type:\"success\",message:i}),i.type=i.type||\"success\";var o=i.type||n.type||\"success\";r=i.message||n.message||n,\"string\"==typeof r&&u.flash(o,r)}return a.successMessage&&(r=a.successMessage,\"boolean\"==typeof r&&(r=n.message||n),\"string\"==typeof r&&(u.session.messages=u.session.messages||[],u.session.messages.push(r))),a.assignProperty?(u[a.assignProperty]=e,l()):void u.logIn(e,a,function(e){function r(){if(a.successReturnToOrRedirect){var e=a.successReturnToOrRedirect;return u.session&&u.session.returnTo&&(e=u.session.returnTo,delete u.session.returnTo),p.redirect(e)}return a.successRedirect?p.redirect(a.successRedirect):void l()}return e?l(e):void(a.authInfo!==!1?t.transformAuthInfo(n,u,function(e,t){return e?l(e):(u.authInfo=t,void r())}):r())})},o.fail=function(t,n){\"number\"==typeof t&&(n=t,t=void 0),d.push({challenge:t,status:n}),h(e+1)},o.redirect=function(e,t){p.statusCode=t||302,p.setHeader(\"Location\",e),p.setHeader(\"Content-Length\",\"0\"),p.end()},o.pass=function(){l()},o.error=function(e){return s?s(e):void l(e)},o.authenticate(u,a)}(0)}}},{\"../errors/authenticationerror\":368,\"../framework/connect\":369,\"../http/request\":370,http:void 0}],373:[function(e,t,n){t.exports=function(e){return function(t,n,r){t._passport={},t._passport.instance=e,t.session&&t.session[e._key]&&(t._passport.session=t.session[e._key]),r()}}},{}],374:[function(e,t,n){function r(){a.call(this),this.name=\"session\"}var i=e(\"pause\"),o=e(\"util\"),a=e(\"passport-strategy\");o.inherits(r,a),r.prototype.authenticate=function(e,t){if(!e._passport)return this.error(new Error(\"passport.initialize() middleware not in use\"));t=t||{};var n,r=this;if(e._passport.session&&(n=e._passport.session.user),n||0===n){var o=t.pauseStream?i(e):null;e._passport.instance.deserializeUser(n,e,function(t,n){if(t)return r.error(t);if(!n)return delete e._passport.session.user,r.pass(),void(o&&o.resume());var i=e._passport.instance._userProperty||\"user\";e[i]=n,r.pass(),o&&o.resume()})}else r.pass()},t.exports=r},{\"passport-strategy\":365,pause:376,util:void 0}],375:[function(e,t,n){function r(e,t,n){n=n||{},t=t||[];var o,a=n.strict,s=n.end!==!1,c=n.sensitive?\"\":\"i\",u=0,p=t.length,l=0,f=0;if(e instanceof RegExp){for(;o=i.exec(e.source);)t.push({name:f++,optional:!1,offset:o.index});return e}if(Array.isArray(e))return e=e.map(function(e){return r(e,t,n).source}),new RegExp(\"(?:\"+e.join(\"|\")+\")\",c);for(e=(\"^\"+e+(a?\"\":\"/\"===e[e.length-1]?\"?\":\"/?\")).replace(/\\/\\(/g,\"/(?:\").replace(/([\\/\\.])/g,\"\\\\$1\").replace(/(\\\\\\/)?(\\\\\\.)?:(\\w+)(\\(.*?\\))?(\\*)?(\\?)?/g,function(e,n,r,i,o,a,s,c){n=n||\"\",r=r||\"\",o=o||\"([^\\\\/\"+r+\"]+?)\",s=s||\"\",t.push({name:i,optional:!!s,offset:c+u});var p=\"\"+(s?\"\":n)+\"(?:\"+r+(s?n:\"\")+o+(a?\"((?:[\\\\/\"+r+\"].+?)?)\":\"\")+\")\"+s;return u+=p.length-e.length,p}).replace(/\\*/g,function(e,n){for(var r=t.length;r-- >p&&t[r].offset>n;)t[r].offset+=3;return\"(.*)\"});o=i.exec(e);){for(var d=0,h=o.index;\"\\\\\"===e.charAt(--h);)d++;d%2!==1&&((p+l===t.length||t[p+l].offset>o.index)&&t.splice(p+l,0,{name:f++,optional:!1,offset:o.index}),l++)}return e+=s?\"$\":\"/\"===e[e.length-1]?\"\":\"(?=\\\\/|$)\",new RegExp(e,c)}t.exports=r;var i=/\\((?!\\?)/g},{}],376:[function(e,t,n){t.exports=function(e){var t,n,r=[];return e.on(\"data\",t=function(e,t){r.push([\"data\",e,t])}),e.on(\"end\",n=function(e,t){r.push([\"end\",e,t])}),{end:function(){e.removeListener(\"data\",t),e.removeListener(\"end\",n)},resume:function(){this.end();for(var t=0,n=r.length;n>t;++t)e.emit.apply(e,r[t])}}}},{}],377:[function(e,t,n){\"use strict\";t.exports=\"function\"==typeof Promise?Promise:e(\"pinkie\")},{pinkie:378}],378:[function(e,t,n){(function(e){\"use strict\";function n(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],m=!1}function r(e,t){k.push([e,t]),m||(m=!0,_(n,0))}function i(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(i){r(i)}}function o(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if(\"function\"==typeof i){n=y;try{r=i(r)}catch(c){u(o,c)}}a(o,r)||(n===y&&s(o,r),n===b&&u(o,r))}function a(e,t){var n;try{if(e===t)throw new TypeError(\"A promises callback cannot return that same promise.\");if(t&&(\"function\"==typeof t||\"object\"==typeof t)){var r=t.then;if(\"function\"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?c(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(i){return n||u(e,i),!0}return!1}function s(e,t){e!==t&&a(e,t)||c(e,t)}function c(e,t){e._state===v&&(e._state=g,e._data=t,r(l,e))}function u(e,t){e._state===v&&(e._state=g,e._data=t,r(f,e))}function p(e){e._then=e._then.forEach(o)}function l(e){e._state=y,p(e)}function f(t){t._state=b,p(t),!t._handled&&w&&e.process.emit(\"unhandledRejection\",t._data,t)}function d(t){e.process.emit(\"rejectionHandled\",t)}function h(e){if(\"function\"!=typeof e)throw new TypeError(\"Promise resolver \"+e+\" is not a function\");if(this instanceof h==!1)throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");this._then=[],i(e,this)}var m,v=\"pending\",g=\"settled\",y=\"fulfilled\",b=\"rejected\",x=function(){},w=\"undefined\"!=typeof e&&\"undefined\"!=typeof e.process&&\"function\"==typeof e.process.emit,_=\"undefined\"==typeof setImmediate?setTimeout:setImmediate,k=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(x),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===b&&w&&r(d,this)),this._state===y||this._state===b?r(o,n):this._then.push(n),n.then},\"catch\":function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.all().\");return new h(function(t,n){function r(e){return a++,function(n){o[e]=n,--a||t(o)}}for(var i,o=[],a=0,s=0;s<e.length;s++)i=e[s],i&&\"function\"==typeof i.then?i.then(r(s),n):o[s]=i;a||t(o)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError(\"You must pass an array to Promise.race().\");return new h(function(t,n){for(var r,i=0;i<e.length;i++)r=e[i],r&&\"function\"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],379:[function(e,t,n){\"use strict\";function r(e){for(var t=new Array(arguments.length-1),n=0;n<t.length;)t[n++]=arguments[n];process.nextTick(function(){e.apply(null,t)})}!process.version||0===process.version.indexOf(\"v0.\")||0===process.version.indexOf(\"v1.\")&&0!==process.version.indexOf(\"v1.8.\")?t.exports=r:t.exports=process.nextTick},{}],380:[function(e,t,n){\"use strict\";function r(e,t){var n=d(e);if(!t)return n;\"function\"!=typeof t&&(t=i(t));for(var r=0;r<n.length-1;r++)t(n[r],r)||(n.length=r+1);return n}function i(e){if(!e)throw new TypeError(\"argument is required\");var t=\"string\"==typeof e?[e]:e;if(!Array.isArray(t))throw new TypeError(\"unsupported trust argument\");for(var n=0;n<t.length;n++)e=t[n],y.hasOwnProperty(e)&&(e=y[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return a(o(t))}function o(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=s(e[n]);return t}function a(e){var t=e.length;return 0===t?p:1===t?f(e[0]):l(e)}function s(e){var t,n,r,i,o=e.lastIndexOf(\"/\");if(t=-1!==o?e.substring(0,o):e,!v(t))throw new TypeError(\"invalid IP address: \"+t);if(t=g(t),n=t.kind(),r=\"ipv6\"===n?128:32,i=-1!==o?e.substring(o+1,e.length):r,\"number\"!=typeof i&&(i=m.test(i)?parseInt(i,10):v(i)?c(i):0),\"ipv6\"===t.kind()&&t.isIPv4MappedAddress()&&(t=t.toIPv4Address(),i=r>=i?i-96:i),0>=i||i>r)throw new TypeError(\"invalid range on address: \"+e);return[t,i]}function c(e){var t,n,r=g(e);switch(r.kind()){case\"ipv4\":t=r.octets,n=8;break;case\"ipv6\":t=r.parts,n=16}for(var i,o=Math.pow(2,n)-1,a=0,s=0;s<t.length;s++){i=t[s]&o;{if(i!==o){for(;i;)i=i<<1&o,a+=1;break}a+=n}}return a}function u(e,t){if(!e)throw new TypeError(\"req argument is required\");if(!t)throw new TypeError(\"trust argument is required\");var n=r(e,t),i=n[n.length-1];return i}function p(){return!1}function l(e){return function(t){if(!v(t))return!1;for(var n,r,i,o,a,s,c=g(t),u=c.kind(),p=0;p<e.length;p++){if(r=e[p],i=r[0],o=i.kind(),a=r[1],s=c,u!==o){if(\"ipv6\"!==u||\"ipv4\"!==o||!c.isIPv4MappedAddress())continue;n=n||c.toIPv4Address(),s=n}if(s.match(i,a))return!0}return!1}}function f(e){var t=e[0],n=t.kind(),r=\"ipv4\"===n,i=e[1];return function(e){if(!v(e))return!1;var o=g(e),a=o.kind();return a===n?o.match(t,i):r&&\"ipv6\"===a&&o.isIPv4MappedAddress()?o.toIPv4Address().match(t,i):!1}}t.exports=u,t.exports.all=r,t.exports.compile=i;var d=e(\"forwarded\"),h=e(\"ipaddr.js\"),m=/^[0-9]+$/,v=h.isValid,g=h.parse,y={linklocal:[\"169.254.0.0/16\",\"fe80::/10\"],loopback:[\"127.0.0.1/8\",\"::1/128\"],uniquelocal:[\"10.0.0.0/8\",\"172.16.0.0/12\",\"192.168.0.0/16\",\"fc00::/7\"]}},{forwarded:119,\"ipaddr.js\":158}],381:[function(e,t,n){\"pseudomap\"===process.env.npm_package_name&&\"test\"===process.env.npm_lifecycle_script&&(process.env.TEST_PSEUDOMAP=\"true\"),\"function\"!=typeof Map||process.env.TEST_PSEUDOMAP?t.exports=e(\"./pseudomap\"):t.exports=Map},{\"./pseudomap\":382}],382:[function(e,t,n){function r(e){if(!(this instanceof r))throw new TypeError(\"Constructor PseudoMap requires 'new'\");if(this.clear(),e)if(e instanceof r||\"function\"==typeof Map&&e instanceof Map)e.forEach(function(e,t){this.set(t,e)},this);else{if(!Array.isArray(e))throw new TypeError(\"invalid argument\");e.forEach(function(e){this.set(e[0],e[1])},this)}}function i(e,t){return e===t||e!==e&&t!==t}function o(e,t,n){this.key=e,this.value=t,this._index=n}function a(e,t){for(var n=0,r=\"_\"+t,o=r;c.call(e,o);o=r+n++)if(i(e[o].key,t))return e[o]}function s(e,t,n){for(var r=0,a=\"_\"+t,s=a;c.call(e,s);s=a+r++)if(i(e[s].key,t))return void(e[s].value=n);e.size++,e[s]=new o(t,n,s)}var c=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.forEach=function(e,t){\nt=t||this,Object.keys(this._data).forEach(function(n){\"size\"!==n&&e.call(t,this._data[n].value,this._data[n].key)},this)},r.prototype.has=function(e){return!!a(this._data,e)},r.prototype.get=function(e){var t=a(this._data,e);return t&&t.value},r.prototype.set=function(e,t){s(this._data,e,t)},r.prototype[\"delete\"]=function(e){var t=a(this._data,e);t&&(delete this._data[t._index],this._data.size--)},r.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,\"_data\",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(r.prototype,\"size\",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),r.prototype.values=r.prototype.keys=r.prototype.entries=function(){throw new Error(\"iterators are not implemented in this version\")}},{}],383:[function(e,t,n){\"use strict\";var r=e(\"./stringify\"),i=e(\"./parse\");t.exports={stringify:r,parse:i}},{\"./parse\":384,\"./stringify\":385}],384:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1,allowDots:!1};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0;o<i.length;++o){var a=i[o],s=-1===a.indexOf(\"]=\")?a.indexOf(\"=\"):a.indexOf(\"]=\")+1;if(-1===s)n[r.decode(a)]=\"\",t.strictNullHandling&&(n[r.decode(a)]=null);else{var c=r.decode(a.slice(0,s)),u=r.decode(a.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(u):n[c]=u}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r,o=e.shift();if(\"[]\"===o)r=[],r=r.concat(i.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var a=\"[\"===o[0]&&\"]\"===o[o.length-1]?o.slice(1,o.length-1):o,s=parseInt(a,10);!isNaN(s)&&o!==a&&String(s)===a&&s>=0&&n.parseArrays&&s<=n.arrayLimit?(r=[],r[s]=i.parseObject(e,t,n)):r[a]=i.parseObject(e,t,n)}return r},i.parseKeys=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\\.([^\\.\\[]+)/g,\"[$1]\"):e,o=/^([^\\[\\]]*)/,a=/(\\[[^\\[\\]]*\\])/g,s=o.exec(r),c=[];if(s[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(s[1])&&!n.allowPrototypes)return;c.push(s[1])}for(var u=0;null!==(s=a.exec(r))&&u<n.depth;)u+=1,(n.plainObjects||!Object.prototype.hasOwnProperty(s[1].replace(/\\[|\\]/g,\"\"))||n.allowPrototypes)&&c.push(s[1]);return s&&c.push(\"[\"+r.slice(s.index)+\"]\"),i.parseObject(c,t,n)}},t.exports=function(e,t){var n=t||{};if(n.delimiter=\"string\"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth=\"number\"==typeof n.depth?n.depth:i.depth,n.arrayLimit=\"number\"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=n.parseArrays!==!1,n.allowDots=\"boolean\"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects=\"boolean\"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes=\"boolean\"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit=\"number\"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling=\"boolean\"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,\"\"===e||null===e||\"undefined\"==typeof e)return n.plainObjects?Object.create(null):{};for(var o=\"string\"==typeof e?i.parseValues(e,n):e,a=n.plainObjects?Object.create(null):{},s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],p=i.parseKeys(u,o[u],n);a=r.merge(a,p,n)}return r.compact(a)}},{\"./utils\":386}],385:[function(e,t,n){\"use strict\";var r=e(\"./utils\"),i={delimiter:\"&\",arrayPrefixGenerators:{brackets:function(e){return e+\"[]\"},indices:function(e,t){return e+\"[\"+t+\"]\"},repeat:function(e){return e}},strictNullHandling:!1,skipNulls:!1,encode:!0};i.stringify=function(e,t,n,o,a,s,c,u){var p=e;if(\"function\"==typeof c)p=c(t,p);else if(r.isBuffer(p))p=String(p);else if(p instanceof Date)p=p.toISOString();else if(null===p){if(o)return s?r.encode(t):t;p=\"\"}if(\"string\"==typeof p||\"number\"==typeof p||\"boolean\"==typeof p)return s?[r.encode(t)+\"=\"+r.encode(p)]:[t+\"=\"+p];var l=[];if(\"undefined\"==typeof p)return l;var f;if(Array.isArray(c))f=c;else{var d=Object.keys(p);f=u?d.sort(u):d}for(var h=0;h<f.length;++h){var m=f[h];a&&null===p[m]||(l=Array.isArray(p)?l.concat(i.stringify(p[m],n(t,m),n,o,a,s,c)):l.concat(i.stringify(p[m],t+\"[\"+m+\"]\",n,o,a,s,c)))}return l},t.exports=function(e,t){var n,r,o=e,a=t||{},s=\"undefined\"==typeof a.delimiter?i.delimiter:a.delimiter,c=\"boolean\"==typeof a.strictNullHandling?a.strictNullHandling:i.strictNullHandling,u=\"boolean\"==typeof a.skipNulls?a.skipNulls:i.skipNulls,p=\"boolean\"==typeof a.encode?a.encode:i.encode,l=\"function\"==typeof a.sort?a.sort:null;\"function\"==typeof a.filter?(r=a.filter,o=r(\"\",o)):Array.isArray(a.filter)&&(n=r=a.filter);var f=[];if(\"object\"!=typeof o||null===o)return\"\";var d;d=a.arrayFormat in i.arrayPrefixGenerators?a.arrayFormat:\"indices\"in a?a.indices?\"indices\":\"repeat\":\"indices\";var h=i.arrayPrefixGenerators[d];n||(n=Object.keys(o)),l&&n.sort(l);for(var m=0;m<n.length;++m){var v=n[m];u&&null===o[v]||(f=f.concat(i.stringify(o[v],v,h,c,u,p,r,l)))}return f.join(s)}},{\"./utils\":386}],386:[function(e,t,n){\"use strict\";var r=function(){for(var e=new Array(256),t=0;256>t;++t)e[t]=\"%\"+((16>t?\"0\":\"\")+t.toString(16)).toUpperCase();return e}();n.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)\"undefined\"!=typeof e[r]&&(n[r]=e[r]);return n},n.merge=function(e,t,r){if(!t)return e;if(\"object\"!=typeof t){if(Array.isArray(e))e.push(t);else{if(\"object\"!=typeof e)return[e,t];e[t]=!0}return e}if(\"object\"!=typeof e)return[e].concat(t);var i=e;return Array.isArray(e)&&!Array.isArray(t)&&(i=n.arrayToObject(e,r)),Object.keys(t).reduce(function(e,i){var o=t[i];return Object.prototype.hasOwnProperty.call(e,i)?e[i]=n.merge(e[i],o,r):e[i]=o,e},i)},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.encode=function(e){if(0===e.length)return e;for(var t=\"string\"==typeof e?e:String(e),n=\"\",i=0;i<t.length;++i){var o=t.charCodeAt(i);45===o||46===o||95===o||126===o||o>=48&&57>=o||o>=65&&90>=o||o>=97&&122>=o?n+=t.charAt(i):128>o?n+=r[o]:2048>o?n+=r[192|o>>6]+r[128|63&o]:55296>o||o>=57344?n+=r[224|o>>12]+r[128|o>>6&63]+r[128|63&o]:(i+=1,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),n+=r[240|o>>18]+r[128|o>>12&63]+r[128|o>>6&63]+r[128|63&o])}return n},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;var r=t||[],i=r.indexOf(e);if(-1!==i)return r[i];if(r.push(e),Array.isArray(e)){for(var o=[],a=0;a<e.length;++a)\"undefined\"!=typeof e[a]&&o.push(e[a]);return o}for(var s=Object.keys(e),c=0;c<s.length;++c){var u=s[c];e[u]=n.compact(e[u],r)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],387:[function(e,t,n){\"use strict\";function r(e,t){var n=!0,r=t.indexOf(\"=\");if(-1==r)return-2;var i=t.slice(r+1).split(\",\").map(function(t){var t=t.split(\"-\"),r=parseInt(t[0],10),i=parseInt(t[1],10);return isNaN(r)?(r=e-i,i=e-1):isNaN(i)&&(i=e-1),i>e-1&&(i=e-1),(isNaN(r)||isNaN(i)||r>i||0>r)&&(n=!1),{start:r,end:i}});return i.type=t.slice(0,r),n?i:-1}t.exports=r},{}],388:[function(e,t,n){t.exports=e(\"./lib/_stream_duplex.js\")},{\"./lib/_stream_duplex.js\":389}],389:[function(e,t,n){\"use strict\";function r(e){return this instanceof r?(u.call(this,e),p.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once(\"end\",i)):new r(e)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e(\"process-nextick-args\"),c=e(\"core-util-is\");c.inherits=e(\"inherits\");var u=e(\"./_stream_readable\"),p=e(\"./_stream_writable\");c.inherits(r,u);for(var l=a(p.prototype),f=0;f<l.length;f++){var d=l[f];r.prototype[d]||(r.prototype[d]=p.prototype[d])}},{\"./_stream_readable\":390,\"./_stream_writable\":391,\"core-util-is\":77,inherits:157,\"process-nextick-args\":379}],390:[function(e,t,n){\"use strict\";function r(t,n){M=M||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof M&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],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.defaultEncoding=t.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(F||(F=e(\"string_decoder/\").StringDecoder),this.decoder=new F(t.encoding),this.encoding=t.encoding)}function i(t){return M=M||e(\"./_stream_duplex\"),this instanceof i?(this._readableState=new r(t,this),this.readable=!0,t&&\"function\"==typeof t.read&&(this._read=t.read),void A.call(this)):new i(t)}function o(e,t,n,r,i){var o=u(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,p(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var c;!t.decoder||i||r||(n=t.decoder.write(n),c=!t.objectMode&&0===n.length),i||(t.reading=!1),c||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&l(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=z?e=z:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function c(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return O.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function p(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,l(e)}}function l(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(P(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?S(f,e):f(e))}function f(e){P(\"emit readable\"),e.emit(\"readable\"),b(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(P(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;P(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C(e,\"data\")&&(t.flowing=!0,b(e))}}function v(e){P(\"readable nexttick read 0\"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(P(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),b(e),t.flowing&&!t.reading&&e.read(0)}function b(e){var t=e._readableState;if(P(\"flow\",t.flowing),t.flowing)do var n=e.read();while(null!==n&&t.flowing)}function x(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:O.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new O(e);for(var c=0,u=0,p=r.length;p>u&&e>c;u++){var s=r[0],l=Math.min(e-c,s.length);o?n+=s.slice(0,l):s.copy(n,c,0,l),l<s.length?r[0]=s.slice(l):r.shift(),c+=l}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,S(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function k(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}function j(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}t.exports=i;var S=e(\"process-nextick-args\"),E=e(\"isarray\"),O=e(\"buffer\").Buffer;i.ReadableState=r;var A,C=(e(\"events\"),function(e,t){return e.listeners(t).length});!function(){try{A=e(\"stream\")}catch(t){}finally{A||(A=e(\"events\").EventEmitter)}}();var O=e(\"buffer\").Buffer,T=e(\"core-util-is\");T.inherits=e(\"inherits\");var I=e(\"util\"),P=void 0;P=I&&I.debuglog?I.debuglog(\"stream\"):function(){};var F;T.inherits(i,A);var M,M;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=new O(e,t),t=\"\")),o(this,n,e,t,!1)},i.prototype.unshift=function(e){var t=this._readableState;return o(this,t,e,\"\",!0)},i.prototype.isPaused=function(){return this._readableState.flowing===!1},i.prototype.setEncoding=function(t){return F||(F=e(\"string_decoder/\").StringDecoder),this._readableState.decoder=new F(t),this._readableState.encoding=t,this};var z=8388608;i.prototype.read=function(e){P(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return P(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):l(this),null;if(e=c(e,t),0===e&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;P(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,P(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,P(\"reading or ended\",r)),r&&(P(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=c(n,t));var i;return i=e>0?x(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,t){function n(e){P(\"onunpipe\"),e===p&&i()}function r(){P(\"onend\"),e.end()}function i(){P(\"cleanup\"),e.removeListener(\"close\",s),e.removeListener(\"finish\",c),e.removeListener(\"drain\",h),e.removeListener(\"error\",a),e.removeListener(\"unpipe\",n),p.removeListener(\"end\",r),p.removeListener(\"end\",i),p.removeListener(\"data\",o),v=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h()}function o(t){P(\"ondata\");var n=e.write(t);!1===n&&(1!==l.pipesCount||l.pipes[0]!==e||1!==p.listenerCount(\"data\")||v||(P(\"false write response, pause\",p._readableState.awaitDrain),p._readableState.awaitDrain++),p.pause())}function a(t){P(\"onerror\",t),u(),e.removeListener(\"error\",a),0===C(e,\"error\")&&e.emit(\"error\",t)}function s(){e.removeListener(\"finish\",c),u()}function c(){P(\"onfinish\"),e.removeListener(\"close\",s),u()}function u(){P(\"unpipe\"),p.unpipe(e)}var p=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,P(\"pipe count=%d opts=%j\",l.pipesCount,t);var f=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,d=f?r:i;l.endEmitted?S(d):p.once(\"end\",d),e.on(\"unpipe\",n);var h=m(p);e.on(\"drain\",h);var v=!1;return p.on(\"data\",o),e._events&&e._events.error?E(e._events.error)?e._events.error.unshift(a):e._events.error=[a,e._events.error]:e.on(\"error\",a),e.once(\"close\",s),e.once(\"finish\",c),e.emit(\"pipe\",p),l.flowing||(P(\"pipe resume\"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit(\"unpipe\",this);return this}var o=j(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&l(this,r):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(P(\"resume\"),e.flowing=!0,g(this,e)),this},i.prototype.pause=function(){return P(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(P(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(P(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){if(P(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,e.pause())}});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));var o=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];return k(o,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){P(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=x},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,isarray:163,\"process-nextick-args\":379,\"string_decoder/\":456,util:void 0}],391:[function(e,t,n){\"use strict\";function r(){}function i(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function o(t,n){C=C||e(\"./_stream_duplex\"),t=t||{},this.objectMode=!!t.objectMode,n instanceof C&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},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 _(this),this.corkedRequestsFree.next=new _(this)}function a(t){return C=C||e(\"./_stream_duplex\"),this instanceof a||this instanceof C?(this._writableState=new o(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev)),void O.call(this)):new a(t)}function s(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),k(t,n)}function c(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),k(r,o),i=!1}return i}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||\"string\"!=typeof t||(t=new S(t,n)),t}function p(e,t,n,r,o){n=u(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new i(n,r,o),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else l(e,t,!1,a,n,r,o);return s}function l(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function f(e,t,n,r,i){--t.pendingcb,n?k(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function d(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(d(n),t)f(e,n,r,t,i);else{var o=y(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||g(e,n),r?j(m,e,n,o,i):m(e,n,o,i)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),x(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function g(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;l(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,c=n.encoding,u=n.callback,p=t.objectMode?1:s.length;if(l(e,t,!1,p,s,c,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function y(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function x(e,t){var n=y(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function w(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?k(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function _(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var k=e(\"process-nextick-args\"),j=!process.browser&&[\"v0.10\",\"v0.9.\"].indexOf(process.version.slice(0,5))>-1?setImmediate:k,S=e(\"buffer\").Buffer;a.WritableState=o;var E=e(\"core-util-is\");E.inherits=e(\"inherits\");var O,A={deprecate:e(\"util-deprecate\")};!function(){try{O=e(\"stream\")}catch(t){}finally{O||(O=e(\"events\").EventEmitter)}}();var S=e(\"buffer\").Buffer;E.inherits(a,O);var C;o.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(o.prototype,\"buffer\",{get:A.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var C;a.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},a.prototype.write=function(e,t,n){var i=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=r),i.ended?s(this,n):c(this,i,e,n)&&(i.pendingcb++,o=p(this,i,e,t,n)),o},a.prototype.cork=function(){var e=this._writableState;e.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||g(this,e))},a.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},a.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}},{\"./_stream_duplex\":389,buffer:void 0,\"core-util-is\":77,events:void 0,inherits:157,\"process-nextick-args\":379,\"util-deprecate\":530}],392:[function(e,t,n){function r(e){return\"object\"==typeof e&&\"[object RegExp]\"==i.call(e)}var i=Object.prototype.toString;t.exports=n=function(e){if(!r(e))throw new TypeError(\"Not a RegExp\");var t=[];return e.global&&t.push(\"g\"),e.multiline&&t.push(\"m\"),e.ignoreCase&&t.push(\"i\"),new RegExp(e.source,t.join(\"\"))}},{}],393:[function(e,t,n){\"use strict\";function r(e,t,n){\"function\"==typeof t&&(n=t);var r={};return\"object\"==typeof t?s(r,t,{uri:e}):\"string\"==typeof e?s(r,{uri:e}):s(r,e),r.callback=n,r}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);if(\"HEAD\"===o.method&&l(o))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return new i.Request(o)}function o(e){var t=\"del\"===e?\"DELETE\":e.toUpperCase();return function(e,n,o){var a=r(e,n,o);return a.method=t,i(a,a.callback)}}function a(e,t,n,i){return function(o,a,c){var u=r(o,a,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=\"del\"===i?\"DELETE\":i.toUpperCase()),p(n)&&(e=n),e(l,l.callback)}}var s=e(\"extend\"),c=e(\"./lib/cookies\"),u=e(\"./lib/helpers\"),p=u.isFunction,l=u.paramsHaveRequestBody;i.get=o(\"get\"),i.head=o(\"head\"),i.post=o(\"post\"),i.put=o(\"put\"),i.patch=o(\"patch\"),i.del=o(\"del\"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var n=this;e=e||{},\"function\"==typeof e&&(t=e,e={});var r=a(n,e,t),i=[\"get\",\"head\",\"post\",\"put\",\"patch\",\"del\"];return i.forEach(function(i){r[i]=a(n[i],e,t,i)}),r.cookie=a(n.cookie,e,t),r.jar=n.jar,r.defaults=n.defaults,r},i.forever=function(e,t){var n={};return t&&s(n,t),e&&(n.agentOptions=e),n.forever=!0,i.defaults(n)},t.exports=i,i.Request=e(\"./request\"),i.initParams=r,Object.defineProperty(i,\"debug\",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{\"./lib/cookies\":395,\"./lib/helpers\":398,\"./request\":405,extend:404}],394:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e(\"caseless\"),o=e(\"node-uuid\"),a=e(\"./helpers\"),s=a.md5,c=a.toBase64;r.prototype.basic=function(e,t,n){var r=this;(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)&&r.request.emit(\"error\",new Error(\"auth() received invalid user or password\")),r.user=e,r.pass=t,r.hasAuth=!0;var i=e+\":\"+(t||\"\");if(n||\"undefined\"==typeof n){var o=\"Basic \"+c(i);return r.sentAuth=!0,o}},r.prototype.bearer=function(e,t){var n=this;if(n.bearerToken=e,n.hasAuth=!0,t||\"undefined\"==typeof t){\"function\"==typeof e&&(e=e());var r=\"Bearer \"+(e||\"\");return n.sentAuth=!0,r}},r.prototype.digest=function(e,t,n){for(var r=this,i={},a=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var c=a.exec(n);if(!c)break;i[c[1]]=c[2]||c[3]}var u=function(e,t,n,r,i,o){var a=s(t+\":\"+n+\":\"+r);return e&&\"md5-sess\"===e.toLowerCase()?s(a+\":\"+i+\":\"+o):a},p=/(^|,)\\s*auth\\s*($|,)/.test(i.qop)&&\"auth\",l=p&&\"00000001\",f=p&&o().replace(/-/g,\"\"),d=u(i.algorithm,r.user,i.realm,r.pass,i.nonce,f),h=s(e+\":\"+t),m=s(p?d+\":\"+i.nonce+\":\"+l+\":\"+f+\":\"+p+\":\"+h:d+\":\"+i.nonce+\":\"+h),v={username:r.user,realm:i.realm,nonce:i.nonce,uri:t,qop:p,response:m,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};n=[];for(var g in v)v[g]&&(\"qop\"===g||\"nc\"===g||\"algorithm\"===g?n.push(g+\"=\"+v[g]):n.push(g+'=\"'+v[g]+'\"'));return n=\"Digest \"+n.join(\", \"),r.sentAuth=!0,n},r.prototype.onRequest=function(e,t,n,r){var i,o=this,a=o.request;void 0===r&&void 0===e?o.request.emit(\"error\",new Error(\"no auth mechanism defined\")):i=void 0!==r?o.bearer(r,n):o.basic(e,t,n),i&&a.setHeader(\"authorization\",i)},r.prototype.onResponse=function(e){var t=this,n=t.request;if(!t.hasAuth||t.sentAuth)return null;var r=i(e.headers),o=r.get(\"www-authenticate\"),a=o&&o.split(\" \")[0].toLowerCase();switch(n.debug(\"reauth\",a),a){case\"basic\":return t.basic(t.user,t.pass,!0);case\"bearer\":return t.bearer(t.bearerToken,!0);case\"digest\":return t.digest(n.method,n.path,o)}},n.Auth=r},{\"./helpers\":398,caseless:71,\"node-uuid\":361}],395:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e,{looseMode:!0})}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e,{loose:!0})},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],396:[function(e,t,n){\"use strict\";function r(e){return e.replace(/^\\.*/,\".\").toLowerCase()}function i(e){e=e.trim().toLowerCase();var t=e.split(\":\",2),n=r(t[0]),i=t[1],o=e.indexOf(\":\")>-1;return{hostname:n,port:i,hasPort:o}}function o(e,t){var n=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),o=r(e.hostname),a=t.split(\",\");return a.map(i).some(function(e){var t=o.indexOf(e.hostname),r=t>-1&&t===o.length-e.hostname.length;return e.hasPort?n===e.port&&r:r})}function a(e){var t=process.env.NO_PROXY||process.env.no_proxy||\"\";return\"*\"===t?null:\"\"!==t&&o(e,t)?null:\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}t.exports=a},{}],397:[function(e,t,n){\"use strict\";function r(e){this.request=e}var i=e(\"fs\"),o=e(\"querystring\"),a=e(\"har-validator\"),s=e(\"extend\");r.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var n=[e[t.name],t.value];return e[t.name]=n,e},r.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var n=e.cookies.map(function(e){return e.name+\"=\"+e.value});n.length&&(e.headersObj.cookie=n.join(\"; \"))}if(t([\"multipart/mixed\",\"multipart/related\",\"multipart/form-data\",\"multipart/alternative\"]))e.postData.mimeType=\"multipart/form-data\";else if(t([\"application/x-www-form-urlencoded\"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=o.stringify(e.postData.paramsObj)):e.postData.text=\"\";else if(t([\"text/json\",\"text/x-json\",\"application/json\",\"application/x-json\"])&&(e.postData.mimeType=\"application/json\",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(r){this.request.debug(r),e.postData.mimeType=\"text/plain\"}return e},r.prototype.options=function(e){function t(e){return 0===r.postData.mimeType.indexOf(e)}if(!e.har)return e;var n={};if(s(n,e.har),n.log&&n.log.entries&&(n=n.log.entries[0]),n.url=n.url||e.url||e.uri||e.baseUrl||\"/\",n.httpVersion=n.httpVersion||\"HTTP/1.1\",n.queryString=n.queryString||[],n.headers=n.headers||[],n.cookies=n.cookies||[],n.postData=n.postData||{},n.postData.mimeType=n.postData.mimeType||\"application/octet-stream\",n.bodySize=0,n.headersSize=0,n.postData.size=0,!a.request(n))return e;var r=this.prep(n);return r.url&&(e.url=r.url),r.method&&(e.method=r.method),Object.keys(r.queryObj).length&&(e.qs=r.queryObj),Object.keys(r.headersObj).length&&(e.headers=r.headersObj),t(\"application/x-www-form-urlencoded\")?e.form=r.postData.paramsObj:t(\"application/json\")?r.postData.jsonObj&&(e.body=r.postData.jsonObj,e.json=!0):t(\"multipart/form-data\")?(e.formData={},r.postData.params.forEach(function(t){var n={};return t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?n.value=i.createReadStream(t.fileName):t.value&&(n.value=t.value),t.fileName&&(n.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),void(e.formData[t.name]=n)):void(e.formData[t.name]=t.value)})):r.postData.text&&(e.body=r.postData.text),e},n.Har=r},{extend:404,fs:void 0,\"har-validator\":124,querystring:void 0}],398:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return\"function\"==typeof e}function o(e){return e.body||e.requestBodyStream||e.json&&\"boolean\"!=typeof e.json||e.multipart}function a(e){var t;try{t=JSON.stringify(e)}catch(n){t=f(e)}return t}function s(e){return d.createHash(\"md5\").update(e).digest(\"hex\")}\nfunction c(e){return e.readable&&e.path&&e.mode}function u(e){return new t(e||\"\",\"utf8\").toString(\"base64\")}function p(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function l(){var e=process.version.replace(\"v\",\"\").split(\".\");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}var f=e(\"json-stringify-safe\"),d=e(\"crypto\");n.isFunction=i,n.paramsHaveRequestBody=o,n.safeStringify=a,n.md5=s,n.isReadStream=c,n.toBase64=u,n.copy=p,n.version=l,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173}],399:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e(\"node-uuid\"),o=e(\"combined-stream\"),a=e(\"isstream\");r.prototype.isChunked=function(e){var t=this,n=!1,r=e.data||e;return r.forEach||t.request.emit(\"error\",new Error(\"Argument error, options.multipart.\")),void 0!==e.chunked&&(n=e.chunked),\"chunked\"===t.request.getHeader(\"transfer-encoding\")&&(n=!0),n||r.forEach(function(e){\"undefined\"==typeof e.body&&t.request.emit(\"error\",new Error(\"Body attribute missing in multipart.\")),a(e.body)&&(n=!0)}),n},r.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader(\"transfer-encoding\")&&t.request.setHeader(\"transfer-encoding\",\"chunked\");var n=t.request.getHeader(\"content-type\");n&&-1!==n.indexOf(\"multipart\")?-1!==n.indexOf(\"boundary\")?t.boundary=n.replace(/.*boundary=([^\\s;]+).*/,\"$1\"):t.request.setHeader(\"content-type\",n+\"; boundary=\"+t.boundary):t.request.setHeader(\"content-type\",\"multipart/related; boundary=\"+t.boundary)},r.prototype.build=function(e,n){function r(e){return\"number\"==typeof e&&(e=e.toString()),n?a.append(e):a.push(new t(e))}var i=this,a=n?new o:[];return i.request.preambleCRLF&&r(\"\\r\\n\"),e.forEach(function(e){var t=\"--\"+i.boundary+\"\\r\\n\";Object.keys(e).forEach(function(n){\"body\"!==n&&(t+=n+\": \"+e[n]+\"\\r\\n\")}),t+=\"\\r\\n\",r(t),r(e.body),r(\"\\r\\n\")}),r(\"--\"+i.boundary+\"--\"),i.request.postambleCRLF&&r(\"\\r\\n\"),a},r.prototype.onRequest=function(e){var t=this,n=t.isChunked(e),r=e.data||e;t.setHeaders(n),t.chunked=n,t.body=t.build(r,n)},n.Multipart=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"combined-stream\":72,isstream:164,\"node-uuid\":361}],400:[function(e,t,n){(function(t){\"use strict\";function r(e){this.request=e,this.params=null}var i=e(\"url\"),o=e(\"qs\"),a=e(\"caseless\"),s=e(\"node-uuid\"),c=e(\"oauth-sign\"),u=e(\"crypto\");r.prototype.buildParams=function(e,t,n,r,i,o){var a={};for(var u in e)a[\"oauth_\"+u]=e[u];a.oauth_version||(a.oauth_version=\"1.0\"),a.oauth_timestamp||(a.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),a.oauth_nonce||(a.oauth_nonce=s().replace(/-/g,\"\")),a.oauth_signature_method||(a.oauth_signature_method=\"HMAC-SHA1\");var p=a.oauth_consumer_secret||a.oauth_private_key;delete a.oauth_consumer_secret,delete a.oauth_private_key;var l=a.oauth_token_secret;delete a.oauth_token_secret;var f=a.oauth_realm;delete a.oauth_realm,delete a.oauth_transport_method;var d=t.protocol+\"//\"+t.host+t.pathname,h=o.parse([].concat(r,i,o.stringify(a)).join(\"&\"));return a.oauth_signature=c.sign(a.oauth_signature_method,n,d,h,p,l),f&&(a.realm=f),a},r.prototype.buildBodyHash=function(e,n){[\"HMAC-SHA1\",\"RSA-SHA1\"].indexOf(e.signature_method||\"HMAC-SHA1\")<0&&this.request.emit(\"error\",new Error(\"oauth: \"+e.signature_method+\" signature_method not supported with body_hash signing.\"));var r=u.createHash(\"sha1\");r.update(n||\"\");var i=r.digest(\"hex\");return new t(i).toString(\"base64\")},r.prototype.concatParams=function(e,t,n){n=n||\"\";var r=Object.keys(e).filter(function(e){return\"realm\"!==e&&\"oauth_signature\"!==e}).sort();return e.realm&&r.splice(0,0,\"realm\"),r.push(\"oauth_signature\"),r.map(function(t){return t+\"=\"+n+c.rfc3986(e[t])+n}).join(t)},r.prototype.onRequest=function(e){var t=this;t.params=e;var n,r,s=t.request.uri||{},c=t.request.method||\"\",u=a(t.request.headers),p=t.request.body||\"\",l=t.request.qsLib||o,f=u.get(\"content-type\")||\"\",d=\"application/x-www-form-urlencoded\",h=e.transport_method||\"header\";f.slice(0,d.length)===d&&(f=d,n=p),s.query&&(r=s.query),\"body\"!==h||\"POST\"===c&&f===d||t.request.emit(\"error\",new Error(\"oauth: transport_method of body requires POST and content-type \"+d)),n||\"boolean\"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,r,n,l);switch(h){case\"header\":t.request.setHeader(\"Authorization\",\"OAuth \"+t.concatParams(m,\",\",'\"'));break;case\"query\":var v=t.request.uri.href+=(r?\"&\":\"?\")+t.concatParams(m,\"&\");t.request.uri=i.parse(v),t.request.path=t.request.uri.path;break;case\"body\":t.request.body=(n?n+\"&\":\"\")+t.concatParams(m,\"&\");break;default:t.request.emit(\"error\",new Error(\"oauth: transport_method invalid\"))}},n.OAuth=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,caseless:71,crypto:void 0,\"node-uuid\":361,\"oauth-sign\":362,qs:383,url:void 0}],401:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e(\"qs\"),o=e(\"querystring\");r.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?o:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},r.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},r.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},r.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},r.prototype.unescape=o.unescape,n.Querystring=r},{qs:383,querystring:void 0}],402:[function(e,t,n){\"use strict\";function r(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e(\"url\"),o=/^https?:/;r.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),\"function\"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader)},r.prototype.redirectTo=function(e){var t=this,n=t.request,r=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var i=e.caseless.get(\"location\");if(n.debug(\"redirect\",i),t.followAllRedirects)r=i;else if(t.followRedirects)switch(n.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:r=i}}else if(401===e.statusCode){var o=n._auth.onResponse(e);o&&(n.setHeader(\"authorization\",o),r=n.uri)}return r},r.prototype.onResponse=function(e){var t=this,n=t.request,r=t.redirectTo(e);if(!r||!t.allowRedirect.call(n,e))return!1;if(n.debug(\"redirect to\",r),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return n.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+n.uri.href)),!1;t.redirectsFollowed+=1,o.test(r)||(r=i.resolve(n.uri.href,r));var a=n.uri;return n.uri=i.parse(r),n.uri.protocol!==a.protocol&&delete n.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:r}),t.followAllRedirects&&\"HEAD\"!==n.method&&401!==e.statusCode&&307!==e.statusCode&&(n.method=\"GET\"),delete n.src,delete n.req,delete n._started,401!==e.statusCode&&307!==e.statusCode&&(delete n.body,delete n._form,n.headers&&(n.removeHeader(\"host\"),n.removeHeader(\"content-type\"),n.removeHeader(\"content-length\"),n.uri.hostname!==n.originalHost.split(\":\")[0]&&n.removeHeader(\"authorization\"))),t.removeRefererHeader||n.setHeader(\"referer\",a.href),n.emit(\"redirect\"),n.init(),!0},n.Redirect=r},{url:void 0}],403:[function(e,t,n){\"use strict\";function r(e){var t=e.port,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function i(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function o(e,t){var n=e.proxy,r={proxy:{host:n.hostname,port:+n.port,proxyAuth:n.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return r}function a(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function s(e){var t=e.uri,n=e.proxy,r=a(t,n);return p[r]}function c(e){this.request=e,this.proxyHeaderWhiteList=l,this.proxyHeaderExclusiveList=[],\"undefined\"!=typeof e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e(\"url\"),p=e(\"tunnel-agent\"),l=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"user-agent\",\"via\"],f=[\"proxy-authorization\"];c.prototype.isEnabled=function(){var e=this,t=e.request;return\"undefined\"!=typeof e.tunnelOverride?e.tunnelOverride:\"https:\"===t.uri.protocol},c.prototype.setup=function(e){var t=this,n=t.request;if(e=e||{},\"string\"==typeof n.proxy&&(n.proxy=u.parse(n.proxy)),!n.proxy||!n.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var a=t.proxyHeaderExclusiveList.concat(f),c=t.proxyHeaderWhiteList.concat(a),p=i(n.headers,c);p.host=r(n.uri),a.forEach(n.removeHeader,n);var l=s(n),d=o(n,p);return n.agent=l(d),!0},c.defaultProxyHeaderWhiteList=l,c.defaultProxyHeaderExclusiveList=f,n.Tunnel=c},{\"tunnel-agent\":465,url:void 0}],404:[function(e,t,n){\"use strict\";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=function(e){return\"function\"==typeof Array.isArray?Array.isArray(e):\"[object Array]\"===i.call(e)},a=function(e){if(!e||\"[object Object]\"!==i.call(e))return!1;var t=r.call(e,\"constructor\"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,\"isPrototypeOf\");if(e.constructor&&!t&&!n)return!1;var o;for(o in e);return\"undefined\"==typeof o||r.call(e,o)};t.exports=function s(){var e,t,n,r,i,c,u=arguments[0],p=1,l=arguments.length,f=!1;for(\"boolean\"==typeof u?(f=u,u=arguments[1]||{},p=2):(\"object\"!=typeof u&&\"function\"!=typeof u||null==u)&&(u={});l>p;++p)if(e=arguments[p],null!=e)for(t in e)n=u[t],r=e[t],u!==r&&(f&&r&&(a(r)||(i=o(r)))?(i?(i=!1,c=n&&o(n)?n:[]):c=n&&a(n)?n:{},u[t]=s(f,c,r)):\"undefined\"!=typeof r&&(u[t]=r));return u}},{}],405:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function s(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function c(e){var t=this;e.har&&(t._har=new I(t),e=t._har.options(e)),h.Stream.call(t);var n=Object.keys(c.prototype),o=r(n,e);S(t,o),e=i(n,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new T(t),t._auth=new P(t),t._oauth=new F(t),t._multipart=new M(t),t._redirect=new z(t),t._tunnel=new B(t),t.init(e)}function u(){c.debug&&console.error(\"REQUEST %s\",d.format.apply(d,arguments))}var p=e(\"http\"),l=e(\"https\"),f=e(\"url\"),d=e(\"util\"),h=e(\"stream\"),m=e(\"zlib\"),v=e(\"bl\"),g=e(\"hawk\"),y=e(\"aws-sign2\"),b=e(\"http-signature\"),x=e(\"mime-types\"),w=e(\"stringstream\"),_=e(\"caseless\"),k=e(\"forever-agent\"),j=e(\"form-data\"),S=e(\"extend\"),E=e(\"is-typedarray\").strict,O=e(\"./lib/helpers\"),A=e(\"./lib/cookies\"),C=e(\"./lib/getProxyFromURI\"),T=e(\"./lib/querystring\").Querystring,I=e(\"./lib/har\").Har,P=e(\"./lib/auth\").Auth,F=e(\"./lib/oauth\").OAuth,M=e(\"./lib/multipart\").Multipart,z=e(\"./lib/redirect\").Redirect,B=e(\"./lib/tunnel\").Tunnel,N=O.safeStringify,D=O.isReadStream,q=O.toBase64,R=O.defer,L=O.copy,$=O.version,U=A.jar(),H={};d.inherits(c,h.Stream),c.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),c.prototype.debug=u,c.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=new n(r.body)),!r.hasHeader(\"content-length\")){var e;e=\"string\"==typeof r.body?n.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length,e?r.setHeader(\"content-length\",e):r.emit(\"error\",new Error(\"Argument error, options.body.\"))}}var r=this;e||(e={}),r.headers=r.headers?L(r.headers):{};for(var i in r.headers)\"undefined\"==typeof r.headers[i]&&delete r.headers[i];if(_.httpify(r,r.headers),r.method||(r.method=e.method||\"GET\"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),u(e),r.pool||r.pool===!1||(r.pool=H),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on(\"error\",r.callback.bind()),r.on(\"complete\",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if(\"string\"!=typeof r.baseUrl)return r.emit(\"error\",new Error(\"options.baseUrl must be a string\"));if(\"string\"!=typeof r.uri)return r.emit(\"error\",new Error(\"options.uri must be a string when using options.baseUrl\"));if(0===r.uri.indexOf(\"//\")||-1!==r.uri.indexOf(\"://\"))return r.emit(\"error\",new Error(\"options.uri must be a path when using options.baseUrl\"));var o=r.baseUrl.lastIndexOf(\"/\")===r.baseUrl.length-1,a=0===r.uri.indexOf(\"/\");o&&a?r.uri=r.baseUrl+r.uri.slice(1):o||a?r.uri=r.baseUrl+r.uri:\"\"===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+\"/\"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),\"unix:\"===r.uri.protocol)return r.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===r.uri.host&&r.enableUnixSocket(),r.strictSSL===!1&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname=\"/\"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var s=f.format(r.uri),c='Invalid URI \"'+s+'\"';return 0===Object.keys(e).length&&(c+=\". This can be caused by a crappy redirection.\"),r.abort(),r.emit(\"error\",new Error(c))}if(r.hasOwnProperty(\"proxy\")||(r.proxy=C(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader(\"host\")){var d=r.originalHostHeaderName||\"host\";r.setHeader(d,r.uri.hostname),r.uri.port&&(80===r.uri.port&&\"http:\"===r.uri.protocol||443===r.uri.port&&\"https:\"===r.uri.protocol||r.setHeader(d,r.getHeader(\"host\")+(\":\"+r.uri.port))),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||(\"http:\"===r.uri.protocol?r.uri.port=80:\"https:\"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var h=e.formData,m=r.form(),v=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?m.append(e,t.value,t.options):m.append(e,t)};for(var g in h)if(h.hasOwnProperty(g)){var y=h[g];if(y instanceof Array)for(var b=0;b<y.length;b++)v(g,y[b]);else v(g,y)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||\"\"),0===r.path.length&&(r.path=\"/\"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader(\"accept-encoding\")&&r.setHeader(\"accept-encoding\",\"gzip\"),r.uri.auth&&!r.hasHeader(\"authorization\")){var w=r.uri.auth.split(\":\").map(function(e){return r._qs.unescape(e)});r.auth(w[0],w.slice(1).join(\":\"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader(\"proxy-authorization\")){var j=r.proxy.auth.split(\":\").map(function(e){return r._qs.unescape(e)}),S=\"Basic \"+q(j.join(\":\"));r.setHeader(\"proxy-authorization\",S)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+\"//\"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader(\"authorization\")&&r.oauth(r._oauth.params);var O=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={\"http:\":p,\"https:\":l},T=r.httpModules||{};if(r.httpModule=T[O]||A[O],!r.httpModule)return r.emit(\"error\",new Error(\"Invalid protocol: \"+O));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var I=$();0===I.major&&I.minor<=10?r.agentClass=\"http:\"===O?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;r.pool===!1?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on(\"pipe\",function(e){if(r.ntick&&r._started&&r.emit(\"error\",new Error(\"You cannot pipe to this stream after the outbound request has started.\")),r.src=e,D(e))r.hasHeader(\"content-type\")||r.setHeader(\"content-type\",x.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader(\"content-type\")&&r.setHeader(\"content-type\",\"application/json\"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),R(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end();else if(r.requestBodyStream)console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();\"GET\"!==r.method&&\"undefined\"!=typeof r.method&&r.setHeader(\"content-length\",0),r.end()}};r._form&&!r.hasHeader(\"content-length\")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader(\"content-length\",n),e()})):e(),r.ntick=!0}})},c.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert),e.pfx&&(n.pfx=e.pfx),e.passphrase&&(n.passphrase=e.passphrase);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=f.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i&&(i+=\":\"),i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.pfx&&(i&&(i+=\":\"),i+=n.pfx.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===H&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},c.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=L(e);if(delete t.auth,u(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timing&&(e.startTime=(new Date).getTime()),e.timeout&&!e.timeoutTimer){var n=e.timeout<0?0:e.timeout;e.timeoutTimer=setTimeout(function(){var t=e.req.socket&&e.req.socket.readable===!1;e.abort();var n=new Error(\"ETIMEDOUT\");n.code=\"ETIMEDOUT\",n.connect=t,e.emit(\"error\",n)},n),e.req.setTimeout&&e.req.setTimeout(n,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",t.connect=!1,e.emit(\"error\",t)}})}e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",o)}),e.emit(\"request\",e.req)}},c.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},c.prototype.onRequestResponse=function(e){var t=this;if(u(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){t.timing&&(t.elapsedTime+=(new Date).getTime()-t.startTime,u(\"elapsed time\",t.elapsedTime),e.elapsedTime=t.elapsedTime),u(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(o)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",o)),t._aborted)return u(\"aborted\",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=s,t.httpModule===l&&t.strictSSL&&(!e.hasOwnProperty(\"socket\")||!e.socket.authorized)){u(\"strict ssl error\",t.uri.href);var n=e.hasOwnProperty(\"socket\")?e.socket.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+n))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:U,i=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=_(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(i):i(e.headers[a])}if(!t._redirect.onResponse(e)){e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var c;if(t.gzip){var p=e.headers[\"content-encoding\"]||\"identity\";p=p.trim().toLowerCase(),\"gzip\"===p?(c=m.createGunzip(),e.pipe(c)):(\"identity\"!==p&&u(\"ignoring unrecognized Content-Encoding \"+p),c=e)}else c=e;t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):c.setEncoding?c.setEncoding(t.encoding):c=c.pipe(w(t.encoding))),t._paused&&c.pause(),t.responseContent=c,t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),c.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),c.on(\"end\",function(e){t.emit(\"end\",e)}),c.on(\"error\",function(e){t.emit(\"error\",e)}),c.on(\"close\",function(){t.emit(\"close\")}),t.callback?t.readResponseBody(e):t.on(\"end\",function(){return t._aborted?void u(\"aborted\",t.uri.href):void t.emit(\"complete\",e)}),u(\"finish init function\",t.uri.href)}},c.prototype.readResponseBody=function(e){var t=this;u(\"reading response's body\");var r=v(),i=[];t.on(\"data\",function(e){n.isBuffer(e)?r.append(e):i.push(e)}),t.on(\"end\",function(){if(u(\"end event\",t.uri.href),t._aborted)return void u(\"aborted\",t.uri.href);if(r.length?(u(\"has body\",t.uri.href,r.length),null===t.encoding?e.body=r.slice():e.body=r.toString(t.encoding)):i.length&&(\"utf8\"===t.encoding&&i[0].length>0&&\"\\ufeff\"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(o){u(\"invalid JSON received\",t.uri.href)}u(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=null===t.encoding?new n(0):\"\"),t.emit(\"complete\",e,e.body)})},c.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit(\"abort\")},c.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},c.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r._qs.parse(r.uri.query):{};for(var i in e)n[i]=e[i];var o=r._qs.stringify(n);return\"\"===o?r:(r.uri=f.parse(r.uri.href.split(\"?\")[0]+\"?\"+o),r.url=r.uri,r.path=r.uri.path,\"unix\"===r.uri.host&&r.enableUnixSocket(),r)},c.prototype.form=function(e){var t=this;return e?(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))||t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?t._qs.rfc3986(e.toString(\"utf8\")):t._qs.stringify(e).toString(\"utf8\"),t):(t._form=new j,t._form.on(\"error\",function(e){e.message=\"form-data: \"+e.message,t.emit(\"error\",e),t.abort()}),t._form)},c.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},c.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&(/^application\\/x-www-form-urlencoded\\b/.test(t.getHeader(\"content-type\"))?t.body=t._qs.rfc3986(t.body):t.body=N(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=N(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},c.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n},c.prototype.enableUnixSocket=function(){var e=this.uri.path.split(\":\"),t=e[0],n=e[1];this.socketPath=t,this.uri.pathname=n,this.uri.path=n,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},c.prototype.auth=function(e,t,n,r){var i=this;return i._auth.onRequest(e,t,n,r),i},c.prototype.aws=function(t,n){var r=this;if(!n)return r._aws=t,r;if(4==t.sign_version||\"4\"==t.sign_version){var i=e(\"aws4\"),o={host:r.uri.host,path:r.uri.path,method:r.method,headers:{\"content-type\":r.getHeader(\"content-type\")||\"\"},body:r.body},a=i.sign(o,{accessKeyId:t.key,secretAccessKey:t.secret});r.setHeader(\"authorization\",a.headers.Authorization),r.setHeader(\"x-amz-date\",a.headers[\"X-Amz-Date\"])}else{var s=new Date;r.setHeader(\"date\",s.toUTCString());var c={key:t.key,secret:t.secret,verb:r.method.toUpperCase(),date:s,contentType:r.getHeader(\"content-type\")||\"\",md5:r.getHeader(\"content-md5\")||\"\",amazonHeaders:y.canonicalizeHeaders(r.headers)},u=r.uri.path;t.bucket&&u?c.resource=\"/\"+t.bucket+u:t.bucket&&!u?c.resource=\"/\"+t.bucket:!t.bucket&&u?c.resource=u:t.bucket||u||(c.resource=\"/\"),c.resource=y.canonicalizeResource(c.resource),r.setHeader(\"authorization\",y.authorization(c))}return r},c.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),u(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},c.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",g.client.header(t.uri,t.method,e).field)},c.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},c.prototype.jar=function(e){var t,n=this;if(0===n._redirect.redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:U,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},c.prototype.pipe=function(e,t){var n=this;if(!n.response)return n.dests.push(e),h.Stream.prototype.pipe.call(n,e,t),e;if(n._destdata)n.emit(\"error\",new Error(\"You cannot pipe after data has been emitted from the response.\"));else{if(!n._ended)return h.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e;n.emit(\"error\",new Error(\"You cannot pipe after the response has been ended.\"))}},c.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req.write.apply(e.req,arguments)},c.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req.end())},c.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},c.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},c.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},c.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),c.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),c.prototype.toJSON=a,t.exports=c}).call(this,e(\"buffer\").Buffer)},{\"./lib/auth\":394,\"./lib/cookies\":395,\"./lib/getProxyFromURI\":396,\"./lib/har\":397,\"./lib/helpers\":398,\"./lib/multipart\":399,\"./lib/oauth\":400,\"./lib/querystring\":401,\"./lib/redirect\":402,\"./lib/tunnel\":403,\"aws-sign2\":12,aws4:13,bl:14,buffer:void 0,caseless:71,extend:404,\"forever-agent\":116,\"form-data\":117,hawk:144,http:void 0,\"http-signature\":152,https:void 0,\"is-typedarray\":162,\"mime-types\":184,stream:void 0,stringstream:457,url:void 0,util:void 0,zlib:void 0}],406:[function(e,t,n){(function(n){var r=e(\"path\"),i=e(\"fs\"),o=e(\"util\").format,a=e(\"resolve-from\"),s=e(\"semver\"),c=i.existsSync||r.existsSync,u=function(e){for(var t=!1;!t;)if(c(e+\"/package.json\"))t=e;else{if(\"/\"===e)return!1;e=r.dirname(e)}return e},p=function(r,c){c=c||{},c.strict=\"boolean\"==typeof c.strict?c.strict:!0;var p=n;t.parent&&(p=t.parent.filename);var p=u(p);if(!p)throw new Error(\"package.json can not be located\");var l=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),f=r.split(/\\//);if(!l.peerOptionalDependencies)throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));if(l.peerOptionalDependencies&&!l.peerOptionalDependencies[f[0]])throw new Error(o(\"no optional dependency [%s] defined in peerOptionalDependencies in package.json\",f[0]));var d=l.peerOptionalDependencies[f[0]],h=void 0,m=r;try{h=e(m)}catch(v){try{if(m=a(process.cwd(),r),null==m)return;h=e(m)}catch(v){if(\"MODULE_NOT_FOUND\"===v.code)return}}var p=u(e.resolve(m));if(!p)throw new Error(\"package.json can not be located\");var g=JSON.parse(i.readFileSync(o(\"%s/package.json\",p))),y=g.version;if(0==s.satisfies(y,d)&&c.strict){var b=new Error(o(\"optional dependency [%s] found but version [%s] did not satisfy constraint [%s]\",f[0],y,d));throw b.code=\"OPTIONAL_MODULE_NOT_FOUND\",b}return h};p.exists=function(e){try{var t=p(e);return void 0!==t}catch(n){return!1}},t.exports=p}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/require_optional\");\n},{fs:void 0,path:void 0,\"resolve-from\":407,semver:408,util:void 0}],407:[function(e,t,n){\"use strict\";var r=e(\"path\"),i=e(\"module\");t.exports=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)throw new TypeError(\"Expected `fromDir` and `moduleId` to be a string\");e=r.resolve(e);var n=r.join(e,\"noop.js\");try{return i._resolveFilename(t,{id:n,filename:n,paths:i._nodeModulePaths(e)})}catch(o){return null}}},{module:void 0,path:void 0}],408:[function(e,t,n){function r(e,t){if(e instanceof a)return e;if(\"string\"!=typeof e)return null;if(e.length>Y)return null;var n=t?G[fe]:G[ue];if(!n.test(e))return null;try{return new a(e,t)}catch(r){return null}}function i(e,t){var n=r(e,t);return n?n.version:null}function o(e,t){var n=r(e.trim().replace(/^[=v]+/,\"\"),t);return n?n.version:null}function a(e,t){if(e instanceof a){if(e.loose===t)return e;e=e.version}else if(\"string\"!=typeof e)throw new TypeError(\"Invalid Version: \"+e);if(e.length>Y)throw new TypeError(\"version is longer than \"+Y+\" characters\");if(!(this instanceof a))return new a(e,t);W(\"SemVer\",e,t),this.loose=t;var n=e.trim().match(t?G[fe]:G[ue]);if(!n)throw new TypeError(\"Invalid Version: \"+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>K||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>K||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>K||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&K>t)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}function s(e,t,n,r){\"string\"==typeof n&&(r=n,n=void 0);try{return new a(e,n).inc(t,r).version}catch(i){return null}}function c(e,t){if(w(e,t))return null;var n=r(e),i=r(t);if(n.prerelease.length||i.prerelease.length){for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return\"pre\"+o;return\"prerelease\"}for(var o in n)if((\"major\"===o||\"minor\"===o||\"patch\"===o)&&n[o]!==i[o])return o}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:t>e?-1:e>t?1:0}function p(e,t){return u(t,e)}function l(e,t){return new a(e,t).major}function f(e,t){return new a(e,t).minor}function d(e,t){return new a(e,t).patch}function h(e,t,n){return new a(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function g(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function y(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function b(e,t,n){return h(e,t,n)>0}function x(e,t,n){return h(e,t,n)<0}function w(e,t,n){return 0===h(e,t,n)}function _(e,t,n){return 0!==h(e,t,n)}function k(e,t,n){return h(e,t,n)>=0}function j(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){var i;switch(t){case\"===\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e===n;break;case\"!==\":\"object\"==typeof e&&(e=e.version),\"object\"==typeof n&&(n=n.version),i=e!==n;break;case\"\":case\"=\":case\"==\":i=w(e,n,r);break;case\"!=\":i=_(e,n,r);break;case\">\":i=b(e,n,r);break;case\">=\":i=k(e,n,r);break;case\"<\":i=x(e,n,r);break;case\"<=\":i=j(e,n,r);break;default:throw new TypeError(\"Invalid operator: \"+t)}return i}function E(e,t){if(e instanceof E){if(e.loose===t)return e;e=e.value}return this instanceof E?(W(\"comparator\",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value=\"\":this.value=this.operator+this.semver.version,void W(\"comp\",this)):new E(e,t)}function O(e,t){if(e instanceof O&&e.loose===t)return e;if(!(this instanceof O))return new O(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\\s*\\|\\|\\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError(\"Invalid SemVer Range: \"+e);this.format()}function A(e,t){return new O(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(\" \").trim().split(\" \")})}function C(e,t){return W(\"comp\",e),e=F(e,t),W(\"caret\",e),e=I(e,t),W(\"tildes\",e),e=z(e,t),W(\"xrange\",e),e=N(e,t),W(\"stars\",e),e}function T(e){return!e||\"x\"===e.toLowerCase()||\"*\"===e}function I(e,t){return e.trim().split(/\\s+/).map(function(e){return P(e,t)}).join(\" \")}function P(e,t){var n=t?G[je]:G[ke];return e.replace(n,function(t,n,r,i,o){W(\"tilde\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":o?(W(\"replaceTilde pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\"):a=\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\",W(\"tilde return\",a),a})}function F(e,t){return e.trim().split(/\\s+/).map(function(e){return M(e,t)}).join(\" \")}function M(e,t){W(\"caret\",e,t);var n=t?G[Ce]:G[Ae];return e.replace(n,function(t,n,r,i,o){W(\"caret\",e,t,n,r,i,o);var a;return T(n)?a=\"\":T(r)?a=\">=\"+n+\".0.0 <\"+(+n+1)+\".0.0\":T(i)?a=\"0\"===n?\">=\"+n+\".\"+r+\".0 <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".0 <\"+(+n+1)+\".0.0\":o?(W(\"replaceCaret pr\",o),\"-\"!==o.charAt(0)&&(o=\"-\"+o),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+o+\" <\"+(+n+1)+\".0.0\"):(W(\"no pr\"),a=\"0\"===n?\"0\"===r?\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+r+\".\"+(+i+1):\">=\"+n+\".\"+r+\".\"+i+\" <\"+n+\".\"+(+r+1)+\".0\":\">=\"+n+\".\"+r+\".\"+i+\" <\"+(+n+1)+\".0.0\"),W(\"caret return\",a),a})}function z(e,t){return W(\"replaceXRanges\",e,t),e.split(/\\s+/).map(function(e){return B(e,t)}).join(\" \")}function B(e,t){e=e.trim();var n=t?G[be]:G[ye];return e.replace(n,function(t,n,r,i,o,a){W(\"xRange\",e,t,n,r,i,o,a);var s=T(r),c=s||T(i),u=c||T(o),p=u;return\"=\"===n&&p&&(n=\"\"),s?t=\">\"===n||\"<\"===n?\"<0.0.0\":\"*\":n&&p?(c&&(i=0),u&&(o=0),\">\"===n?(n=\">=\",c?(r=+r+1,i=0,o=0):u&&(i=+i+1,o=0)):\"<=\"===n&&(n=\"<\",c?r=+r+1:i=+i+1),t=n+r+\".\"+i+\".\"+o):c?t=\">=\"+r+\".0.0 <\"+(+r+1)+\".0.0\":u&&(t=\">=\"+r+\".\"+i+\".0 <\"+r+\".\"+(+i+1)+\".0\"),W(\"xRange return\",t),t})}function N(e,t){return W(\"replaceStars\",e,t),e.trim().replace(G[Be],\"\")}function D(e,t,n,r,i,o,a,s,c,u,p,l,f){return t=T(n)?\"\":T(r)?\">=\"+n+\".0.0\":T(i)?\">=\"+n+\".\"+r+\".0\":\">=\"+t,s=T(c)?\"\":T(u)?\"<\"+(+c+1)+\".0.0\":T(p)?\"<\"+c+\".\"+(+u+1)+\".0\":l?\"<=\"+c+\".\"+u+\".\"+p+\"-\"+l:\"<=\"+s,(t+\" \"+s).trim()}function q(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(W(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function R(e,t,n){try{t=new O(t,n)}catch(r){return!1}return t.test(e)}function L(e,t,n){return e.filter(function(e){return R(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function $(e,t){try{return new O(e,t).range||\"*\"}catch(n){return null}}function U(e,t,n){return V(e,t,\"<\",n)}function H(e,t,n){return V(e,t,\">\",n)}function V(e,t,n,r){e=new a(e,r),t=new O(t,r);var i,o,s,c,u;switch(n){case\">\":i=b,o=j,s=x,c=\">\",u=\">=\";break;case\"<\":i=x,o=k,s=b,c=\"<\",u=\"<=\";break;default:throw new TypeError('Must provide a hilo val of \"<\" or \">\"')}if(R(e,t,r))return!1;for(var p=0;p<t.set.length;++p){var l=t.set[p],f=null,d=null;if(l.forEach(function(e){e.semver===qe&&(e=new E(\">=0.0.0\")),f=f||e,d=d||e,i(e.semver,f.semver,r)?f=e:s(e.semver,d.semver,r)&&(d=e)}),f.operator===c||f.operator===u)return!1;if((!d.operator||d.operator===c)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0}n=t.exports=a;var W;W=\"object\"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\\bsemver\\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(\"SEMVER\"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION=\"2.0.0\";var Y=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,G=n.re=[],J=n.src=[],Z=0,Q=Z++;J[Q]=\"0|[1-9]\\\\d*\";var X=Z++;J[X]=\"[0-9]+\";var ee=Z++;J[ee]=\"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";var te=Z++;J[te]=\"(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\\\\.(\"+J[Q]+\")\";var ne=Z++;J[ne]=\"(\"+J[X]+\")\\\\.(\"+J[X]+\")\\\\.(\"+J[X]+\")\";var re=Z++;J[re]=\"(?:\"+J[Q]+\"|\"+J[ee]+\")\";var ie=Z++;J[ie]=\"(?:\"+J[X]+\"|\"+J[ee]+\")\";var oe=Z++;J[oe]=\"(?:-(\"+J[re]+\"(?:\\\\.\"+J[re]+\")*))\";var ae=Z++;J[ae]=\"(?:-?(\"+J[ie]+\"(?:\\\\.\"+J[ie]+\")*))\";var se=Z++;J[se]=\"[0-9A-Za-z-]+\";var ce=Z++;J[ce]=\"(?:\\\\+(\"+J[se]+\"(?:\\\\.\"+J[se]+\")*))\";var ue=Z++,pe=\"v?\"+J[te]+J[oe]+\"?\"+J[ce]+\"?\";J[ue]=\"^\"+pe+\"$\";var le=\"[v=\\\\s]*\"+J[ne]+J[ae]+\"?\"+J[ce]+\"?\",fe=Z++;J[fe]=\"^\"+le+\"$\";var de=Z++;J[de]=\"((?:<|>)?=?)\";var he=Z++;J[he]=J[X]+\"|x|X|\\\\*\";var me=Z++;J[me]=J[Q]+\"|x|X|\\\\*\";var ve=Z++;J[ve]=\"[v=\\\\s]*(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\\\\.(\"+J[me]+\")(?:\"+J[oe]+\")?\"+J[ce]+\"?)?)?\";var ge=Z++;J[ge]=\"[v=\\\\s]*(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\\\\.(\"+J[he]+\")(?:\"+J[ae]+\")?\"+J[ce]+\"?)?)?\";var ye=Z++;J[ye]=\"^\"+J[de]+\"\\\\s*\"+J[ve]+\"$\";var be=Z++;J[be]=\"^\"+J[de]+\"\\\\s*\"+J[ge]+\"$\";var xe=Z++;J[xe]=\"(?:~>?)\";var we=Z++;J[we]=\"(\\\\s*)\"+J[xe]+\"\\\\s+\",G[we]=new RegExp(J[we],\"g\");var _e=\"$1~\",ke=Z++;J[ke]=\"^\"+J[xe]+J[ve]+\"$\";var je=Z++;J[je]=\"^\"+J[xe]+J[ge]+\"$\";var Se=Z++;J[Se]=\"(?:\\\\^)\";var Ee=Z++;J[Ee]=\"(\\\\s*)\"+J[Se]+\"\\\\s+\",G[Ee]=new RegExp(J[Ee],\"g\");var Oe=\"$1^\",Ae=Z++;J[Ae]=\"^\"+J[Se]+J[ve]+\"$\";var Ce=Z++;J[Ce]=\"^\"+J[Se]+J[ge]+\"$\";var Te=Z++;J[Te]=\"^\"+J[de]+\"\\\\s*(\"+le+\")$|^$\";var Ie=Z++;J[Ie]=\"^\"+J[de]+\"\\\\s*(\"+pe+\")$|^$\";var Pe=Z++;J[Pe]=\"(\\\\s*)\"+J[de]+\"\\\\s*(\"+le+\"|\"+J[ve]+\")\",G[Pe]=new RegExp(J[Pe],\"g\");var Fe=\"$1$2$3\",Me=Z++;J[Me]=\"^\\\\s*(\"+J[ve]+\")\\\\s+-\\\\s+(\"+J[ve]+\")\\\\s*$\";var ze=Z++;J[ze]=\"^\\\\s*(\"+J[ge]+\")\\\\s+-\\\\s+(\"+J[ge]+\")\\\\s*$\";var Be=Z++;J[Be]=\"(<|>)?=?\\\\s*\\\\*\";for(var Ne=0;Z>Ne;Ne++)W(Ne,J[Ne]),G[Ne]||(G[Ne]=new RegExp(J[Ne]));n.parse=r,n.valid=i,n.clean=o,n.SemVer=a,a.prototype.format=function(){return this.version=this.major+\".\"+this.minor+\".\"+this.patch,this.prerelease.length&&(this.version+=\"-\"+this.prerelease.join(\".\")),this.version},a.prototype.toString=function(){return this.version},a.prototype.compare=function(e){return W(\"SemVer.compare\",this.version,this.loose,e),e instanceof a||(e=new a(e,this.loose)),this.compareMain(e)||this.comparePre(e)},a.prototype.compareMain=function(e){return e instanceof a||(e=new a(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},a.prototype.comparePre=function(e){if(e instanceof a||(e=new a(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(W(\"prerelease compare\",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},a.prototype.inc=function(e,t){switch(e){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",t);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",t);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"prerelease\":0===this.prerelease.length&&this.inc(\"patch\",t),this.inc(\"pre\",t);break;case\"major\":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case\"pre\":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)\"number\"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(\"invalid increment argument: \"+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=c,n.compareIdentifiers=u;var De=/^[0-9]+$/;n.rcompareIdentifiers=p,n.major=l,n.minor=f,n.patch=d,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=g,n.rsort=y,n.gt=b,n.lt=x,n.eq=w,n.neq=_,n.gte=k,n.lte=j,n.cmp=S,n.Comparator=E;var qe={};E.prototype.parse=function(e){var t=this.loose?G[Te]:G[Ie],n=e.match(t);if(!n)throw new TypeError(\"Invalid comparator: \"+e);this.operator=n[1],\"=\"===this.operator&&(this.operator=\"\"),n[2]?this.semver=new a(n[2],this.loose):this.semver=qe},E.prototype.toString=function(){return this.value},E.prototype.test=function(e){return W(\"Comparator.test\",e,this.loose),this.semver===qe?!0:(\"string\"==typeof e&&(e=new a(e,this.loose)),S(e,this.operator,this.semver,this.loose))},n.Range=O,O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(\" \").trim()}).join(\"||\").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),W(\"range\",e,t);var n=t?G[ze]:G[Me];e=e.replace(n,D),W(\"hyphen replace\",e),e=e.replace(G[Pe],Fe),W(\"comparator trim\",e,G[Pe]),e=e.replace(G[we],_e),e=e.replace(G[Ee],Oe),e=e.split(/\\s+/).join(\" \");var r=t?G[Te]:G[Ie],i=e.split(\" \").map(function(e){return C(e,t)}).join(\" \").split(/\\s+/);return this.loose&&(i=i.filter(function(e){return!!e.match(r)})),i=i.map(function(e){return new E(e,t)})},n.toComparators=A,O.prototype.test=function(e){if(!e)return!1;\"string\"==typeof e&&(e=new a(e,this.loose));for(var t=0;t<this.set.length;t++)if(q(this.set[t],e))return!0;return!1},n.satisfies=R,n.maxSatisfying=L,n.validRange=$,n.ltr=U,n.gtr=H,n.outside=V},{}],409:[function(e,t,n){(function(n){\"use strict\";function r(e,t,n){return new i(e,t,n)}function i(e,t,n){var r=n||{};if(this.options=r,this.path=t,this.req=e,this._etag=void 0!==r.etag?Boolean(r.etag):!0,this._dotfiles=void 0!==r.dotfiles?r.dotfiles:\"ignore\",\"ignore\"!==this._dotfiles&&\"allow\"!==this._dotfiles&&\"deny\"!==this._dotfiles)throw new TypeError('dotfiles option must be \"allow\", \"deny\", or \"ignore\"');this._hidden=Boolean(r.hidden),void 0!==r.hidden&&p(\"hidden: use dotfiles: '\"+(this._hidden?\"allow\":\"ignore\")+\"' instead\"),void 0===r.dotfiles&&(this._dotfiles=void 0),this._extensions=void 0!==r.extensions?s(r.extensions,\"extensions option\"):[],this._index=void 0!==r.index?s(r.index,\"index option\"):[\"index.html\"],this._lastModified=void 0!==r.lastModified?Boolean(r.lastModified):!0,this._maxage=r.maxAge||r.maxage,this._maxage=\"string\"==typeof this._maxage?k(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),O),this._root=r.root?A(r.root):null,!this._root&&r.from&&this.from(r.from)}function o(e){for(var t=0;t<e.length;t++)if(\".\"===e[t][0])return!0;return!1}function a(e){try{return decodeURIComponent(e)}catch(t){return-1}}function s(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(\"string\"!=typeof n[r])throw new TypeError(t+\" must be array of strings or false\");return n}var c=e(\"http-errors\"),u=e(\"debug\")(\"send\"),p=e(\"depd\")(\"send\"),l=e(\"destroy\"),f=e(\"escape-html\"),d=e(\"range-parser\"),h=e(\"stream\"),m=e(\"mime\"),v=e(\"fresh\"),g=e(\"path\"),y=e(\"fs\"),b=g.normalize,x=g.join,w=e(\"etag\"),_=e(\"events\").EventEmitter,k=e(\"ms\"),j=e(\"on-finished\"),S=e(\"statuses\"),E=g.extname,O=31536e6,A=g.resolve,C=g.sep,T=(Object.prototype.toString,/(?:^|[\\\\\\/])\\.\\.(?:[\\\\\\/]|$)/);t.exports=r,t.exports.mime=m;var I=_.listenerCount||function(e,t){return e.listeners(t).length};i.prototype.__proto__=h.prototype,i.prototype.etag=p[\"function\"](function(e){return e=Boolean(e),u(\"etag %s\",e),this._etag=e,this},\"send.etag: pass etag as option\"),i.prototype.hidden=p[\"function\"](function(e){return e=Boolean(e),u(\"hidden %s\",e),this._hidden=e,this._dotfiles=void 0,this},\"send.hidden: use dotfiles option\"),i.prototype.index=p[\"function\"](function P(e){var P=e?s(e,\"paths argument\"):[];return u(\"index %o\",e),this._index=P,this},\"send.index: pass index as option\"),i.prototype.root=function(e){return e=String(e),this._root=A(e),this},i.prototype.from=p[\"function\"](i.prototype.root,\"send.from: pass root as option\"),i.prototype.root=p[\"function\"](i.prototype.root,\"send.root: pass root as option\"),i.prototype.maxage=p[\"function\"](function(e){return e=\"string\"==typeof e?k(e):Number(e),isNaN(e)&&(e=0),1/0==e&&(e=31536e6),u(\"max-age %d\",e),this._maxage=e,this},\"send.maxage: pass maxAge as option\"),i.prototype.error=function F(e,F){if(0!==I(this,\"error\"))return this.emit(\"error\",c(F,e,{expose:!1}));var t=this.res,r=S[e];t._headers=null,t.statusCode=e,t.setHeader(\"Content-Type\",\"text/plain; charset=UTF-8\"),t.setHeader(\"Content-Length\",n.byteLength(r)),t.setHeader(\"X-Content-Type-Options\",\"nosniff\"),t.end(r)},i.prototype.hasTrailingSlash=function(){return\"/\"==this.path[this.path.length-1]},i.prototype.isConditionalGET=function(){return this.req.headers[\"if-none-match\"]||this.req.headers[\"if-modified-since\"]},i.prototype.removeContentHeaderFields=function(){for(var e=this.res,t=Object.keys(e._headers||{}),n=0;n<t.length;n++){var r=t[n];\"content-\"===r.substr(0,8)&&\"content-location\"!==r&&e.removeHeader(r)}},i.prototype.notModified=function(){var e=this.res;u(\"not modified\"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},i.prototype.headersAlreadySent=function(){var e=new Error(\"Can't set headers after they are sent.\");u(\"headers already sent\"),this.error(500,e)},i.prototype.isCachable=function(){var e=this.res;return e.statusCode>=200&&e.statusCode<300||304==e.statusCode},i.prototype.onStatError=function(e){switch(e.code){case\"ENAMETOOLONG\":case\"ENOENT\":case\"ENOTDIR\":this.error(404,e);break;default:this.error(500,e)}},i.prototype.isFresh=function(){return v(this.req.headers,this.res._headers)},i.prototype.isRangeFresh=function(){var e=this.req.headers[\"if-range\"];return e?~e.indexOf('\"')?~e.indexOf(this.res._headers.etag):Date.parse(this.res._headers[\"last-modified\"])<=Date.parse(e):!0},i.prototype.redirect=function(e){if(0!==I(this,\"directory\"))return void this.emit(\"directory\");if(this.hasTrailingSlash())return void this.error(403);var t=e+\"/\",r='Redirecting to <a href=\"'+f(t)+'\">'+f(t)+\"</a>\\n\",i=this.res;i.statusCode=301,i.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),i.setHeader(\"Content-Length\",n.byteLength(r)),i.setHeader(\"X-Content-Type-Options\",\"nosniff\"),i.setHeader(\"Location\",t),i.end(r)},i.prototype.pipe=function(e){var t=this._root;this.res=e;var n=a(this.path);if(-1===n)return this.error(400);if(~n.indexOf(\"\\x00\"))return this.error(400);var r;if(null!==t){if(T.test(b(\".\"+C+n)))return u('malicious path \"%s\"',n),this.error(403);n=b(x(t,n)),t=b(t+C),r=n.substr(t.length).split(C)}else{if(T.test(n))return u('malicious path \"%s\"',n),this.error(403);r=b(n).split(C),n=A(n)}if(o(r)){var i=this._dotfiles;switch(void 0===i&&(i=\".\"===r[r.length-1][0]?this._hidden?\"allow\":\"ignore\":\"allow\"),u('%s dotfile \"%s\"',i,n),i){case\"allow\":break;case\"deny\":return this.error(403);case\"ignore\":default:return this.error(404)}}return this._index.length&&\"/\"===this.path[this.path.length-1]?(this.sendIndex(n),e):(this.sendFile(n),e)},i.prototype.send=function(e,t){var n=t.size,r=this.options,i={},o=this.res,a=this.req,s=a.headers.range,c=r.start||0;if(o._header)return this.headersAlreadySent();if(u('pipe \"%s\"',e),this.setHeader(e,t),this.type(e),this.isConditionalGET()&&this.isCachable()&&this.isFresh())return this.notModified();if(n=Math.max(0,n-c),void 0!==r.end){var p=r.end-c+1;n>p&&(n=p)}if(s){if(s=d(n,s),this.isRangeFresh()||(u(\"range stale\"),s=-2),-1==s)return u(\"range unsatisfiable\"),o.setHeader(\"Content-Range\",\"bytes */\"+t.size),this.error(416);-2!=s&&1===s.length&&(u(\"range %j\",s),o.statusCode=206,o.setHeader(\"Content-Range\",\"bytes \"+s[0].start+\"-\"+s[0].end+\"/\"+n),c+=s[0].start,n=s[0].end-s[0].start+1)}for(var l in r)i[l]=r[l];return i.start=c,i.end=Math.max(c,c+n-1),o.setHeader(\"Content-Length\",n),\"HEAD\"==a.method?o.end():void this.stream(e,i)},i.prototype.sendFile=function(e){function t(i){if(r._extensions.length<=n)return i?r.onStatError(i):r.error(404);var o=e+\".\"+r._extensions[n++];u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=0,r=this;u('stat \"%s\"',e),y.stat(e,function(n,i){return n&&\"ENOENT\"===n.code&&!E(e)&&e[e.length-1]!==C?t(n):n?r.onStatError(n):i.isDirectory()?r.redirect(r.path):(r.emit(\"file\",e,i),void r.send(e,i))})},i.prototype.sendIndex=function(e){function t(i){if(++n>=r._index.length)return i?r.onStatError(i):r.error(404);var o=x(e,r._index[n]);u('stat \"%s\"',o),y.stat(o,function(e,n){return e?t(e):n.isDirectory()?t():(r.emit(\"file\",o,n),void r.send(o,n))})}var n=-1,r=this;t()},i.prototype.stream=function(e,t){var n=!1,r=this,i=this.res,o=(this.req,y.createReadStream(e,t));this.emit(\"stream\",o),o.pipe(i),j(i,function(){n=!0,l(o)}),o.on(\"error\",function(e){n||(n=!0,l(o),r.onStatError(e))}),o.on(\"end\",function(){r.emit(\"end\")})},i.prototype.type=function(e){var t=this.res;if(!t.getHeader(\"Content-Type\")){var n=m.lookup(e),r=m.charsets.lookup(n);u(\"content-type %s\",n),t.setHeader(\"Content-Type\",n+(r?\"; charset=\"+r:\"\"))}},i.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(\"headers\",n,e,t),n.getHeader(\"Accept-Ranges\")||n.setHeader(\"Accept-Ranges\",\"bytes\"),n.getHeader(\"Cache-Control\")||n.setHeader(\"Cache-Control\",\"public, max-age=\"+Math.floor(this._maxage/1e3)),this._lastModified&&!n.getHeader(\"Last-Modified\")){var r=t.mtime.toUTCString();u(\"modified %s\",r),n.setHeader(\"Last-Modified\",r)}if(this._etag&&!n.getHeader(\"ETag\")){var i=w(t);u(\"etag %s\",i),n.setHeader(\"ETag\",i)}}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,debug:83,depd:85,destroy:90,\"escape-html\":96,etag:97,events:void 0,fresh:120,fs:void 0,\"http-errors\":151,mime:185,ms:355,\"on-finished\":363,path:void 0,\"range-parser\":387,statuses:455,stream:void 0}],410:[function(e,t,n){t.exports=e(\"./lib/sendgrid\")},{\"./lib/sendgrid\":413}],411:[function(e,t,n){\"use strict\";function r(e){e=e||{},this.to=e.to||[],this.from=e.from||\"\",this.smtpapi=e.smtpapi||new o,this.subject=e.subject||\"\",this.text=e.text||\"\",this.html=e.html||\"\",this.bcc=e.bcc||[],this.cc=e.cc||[],this.replyto=e.replyto||\"\",this.date=e.date||\"\",this.headers=e.headers||{},null!==e.toname&&(this.toname=e.toname),null!==e.fromname&&(this.fromname=e.fromname),this.files=[],e.files&&e.files.forEach(function(e){this.files.push(new i(e))},this)}var i=e(\"./file_handler\"),o=e(\"smtpapi\"),a=e(\"lodash\"),s=e(\"request\"),c=e(\"fs\");r.prototype.addHeader=function(e,t){if(\"undefined\"!=typeof t&&null!==t||(t=\"\"),a.isObject(e))a.extend(this.headers,e);else{var n={};n[e]=t,a.extend(this.headers,n)}return this},r.prototype.setHeaders=function(e){return a.isObject(e)&&(this.headers=e),this},r.prototype.addTo=function(e){return this.to.push(e),this},r.prototype.setSmtpapiTos=function(e){return this.smtpapi.setTos(e),this},r.prototype.addSmtpapiTo=function(e){return this.smtpapi.addTo(e),this},r.prototype.setTos=function(e){return this.to=e,this},r.prototype.setFrom=function(e){return this.from=e,this},r.prototype.setFromName=function(e){this.fromname=e},r.prototype.addCc=function(e){return this.cc.push(e),this},r.prototype.setCcs=function(e){return this.cc=e,this},r.prototype.addBcc=function(e){return this.bcc.push(e),this},r.prototype.setBccs=function(e){return this.bcc=e,this},r.prototype.setSubject=function(e){return this.subject=e,this},r.prototype.setText=function(e){return this.text=e,this},r.prototype.setHtml=function(e){return this.html=e,this},r.prototype.addSubstitution=function(e,t){return this.smtpapi.addSubstitution(e,t),this},r.prototype.setSubstitutions=function(e){return this.smtpapi.setSubstitutions(e),this},r.prototype.addUniqueArg=function(e,t){return this.smtpapi.addUniqueArg(e,t),this},r.prototype.setUniqueArgs=function(e){return this.smtpapi.setUniqueArgs(e),this},r.prototype.addCategory=function(e){return this.smtpapi.addCategory(e),this},r.prototype.setCategories=function(e){return this.smtpapi.setCategories(e),this},r.prototype.addSection=function(e,t){return this.smtpapi.addSection(e,t),this},r.prototype.setSections=function(e){return this.smtpapi.setSections(e),this},r.prototype.addFilter=function(e,t,n){return this.smtpapi.addFilter(e,t,n),this},r.prototype.setFilters=function(e){return this.smtpapi.setFilters(e),this},r.prototype.setASMGroupID=function(e){return this.smtpapi.setASMGroupID(e),this},r.prototype.addFile=function(e){return this.files.push(new i(e)),this},r.prototype.setDate=function(e){return this.date=e,this},r.prototype.setSendAt=function(e){return this.smtpapi.setSendAt(e),this},r.prototype.setSendEachAt=function(e){return this.smtpapi.setSendEachAt(e),this},r.prototype.addSendEachAt=function(e){return this.smtpapi.addSendEachAt(e),this},r.prototype.toWebFormat=function(){var e={to:this.to,from:this.from,\"x-smtpapi\":this.smtpapi.jsonString(),subject:this.subject,text:this.text,html:this.html,headers:JSON.stringify(this.headers)};return this.bcc&&(e.bcc=this.bcc),this.cc&&(e.cc=this.cc),this.html&&(e.html=this.html),this.toname&&(e.toname=this.toname),this.fromname&&(e.fromname=this.fromname),this.replyto&&(e.replyto=this.replyto),this.date&&(e.date=this.date),this.smtpapi.to&&this.smtpapi.to.length&&(e.to=\"\"),this.updateMissingTo(e),this.files&&this.files.forEach(function(t){t.url?t.content=s(t.url):t.path&&(t.content=c.createReadStream(t.path)),e[\"files[\"+t.filename+\"]\"]={filename:t.filename,content:t.content||\" \",contentType:t.contentType,cid:t.cid}}),e},r.prototype._formatFilesForNodeMailer=function(e){var t=this;e&&e.length>0&&e.forEach(function(e){t._formatFileForNodeMailer(e)})},r.prototype._formatFileForNodeMailer=function(e){e.filename&&(e.fileName=e.filename),e.path&&(e.filePath=e.path),e.url&&(e.filePath=e.url),e.content&&(e.contents=e.content),e.filePath||e.content||!e.filename||(e.contents=\" \")},r.prototype.updateMissingTo=function(e){this.smtpapi.jsonObject().to&&this.smtpapi.jsonObject().to.length>0&&(e.to=this.from)},r.prototype.hasFiles=function(){return this.files.length>0},t.exports=r},{\"./file_handler\":412,fs:void 0,lodash:414,request:393,smtpapi:432}],412:[function(e,t,n){(function(n){\"use strict\";function r(e){this.filename=e.filename,e.contentType&&(this.contentType=e.contentType),e.cid&&(this.cid=e.cid),e.content?(this.type=\"content\",this.content=e.content,this.contentType||(this.contentType=o.lookup(this.filename))):e.path?(this.type=\"path\",this.path=e.path,this.filename||(this.filename=e.path.split(\"/\").pop()),a.isEmpty(e.contentType)&&(this.contentType=o.lookup(this.path))):e.url?(this.type=\"url\",this.url=e.url,this.contentType||(this.contentType=o.lookup(this.url))):(this.type=\"none\",this.contentType=\"none\")}var i=e(\"http\"),o=e(\"mime\"),a=e(\"lodash\"),s=e(\"url\"),c=e(\"fs\");r.handlers={content:function(e,t){e.content?t():t(!0,\"Content was missing\")},path:function(e,t){c.readFile(e.path,function(n,r){return n?t(!0,n):(e.content=r,void t())})},url:function(e,t){var r=s.parse(e.url),o=r.host,c=r.path,u=i.request({host:o,path:c,method:\"GET\"},function(r){var i=[],o=0;r.setEncoding(\"base64\"),r.on(\"data\",function(e){o+=n.byteLength(e),i.push(e)}),r.on(\"end\",function(){var r=new n(o,\"base64\"),s=0;a(i).each(function(e){s+=r.write(e,s,\"base64\")}),e.content=r,t()})});u.on(\"error\",function(e){t(!0,e)}),u.end()},none:function(e,t){t(!0,\"File was not included\")}},r.prototype.loadContent=function(e){var t=r.handlers[this.type];t?r.handlers[this.type](this,e):e(!0,\"Upload method not supported\")},t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,fs:void 0,http:void 0,lodash:414,mime:185,url:void 0}],413:[function(e,t,n){\"use strict\";var r=e(\"./../package.json\"),i=e(\"lodash\"),o=e(\"request\"),a=e(\"smtpapi\"),s=e(\"./email\"),c=function(e,t,n){if(!(this instanceof c))return new c(e,t,n);if(\"string\"==typeof t)this.api_user=e,this.api_key=t,this.options=n||{};else{if(\"object\"!=typeof t&&void 0!==t)throw new Error(\"Need a username + password or api key!\");this.api_key=e,this.api_user=null,this.options=t||{}}var u={};u.protocol=this.options.protocol||\"https\",u.host=this.options.host||\"api.sendgrid.com\",u.port=this.options.port||\"\",u.endpoint=this.options.endpoint||\"/api/mail.send.json\",delete this.options.protocol,delete this.options.host,delete this.options.port,delete this.options.endpoint,this.options.uriParts=u,this.options.uri=this.options.uri||u.protocol+\"://\"+u.host+(u.port?\":\"+u.port:\"\")+u.endpoint;var p=function(e,t){var t=t||function(){};e.constructor!==s&&(e=new s(e)),l.bind(this)(e,t)},l=function(e,t){var n={method:\"POST\",headers:{\"User-Agent\":\"sendgrid/\"+r.version+\";nodejs\"}};null===this.api_user&&(n.headers.Authorization=\"Bearer \"+this.api_key);var a=i.merge(n,this.options),s=o(a,function(e,n,r){var i;if(e)return t(e,null);try{i=JSON.parse(r)}catch(o){return o.message=o.message+\" JSONPARSEERROR when parsing: \"+r,t(new Error(o),null)}if(\"success\"!==i.message){var a=\"sendgrid error\";return i.errors&&(a=i.errors.shift()),t(new Error(a),null)}return t(null,i)}),c=e.toWebFormat();null!==this.api_user&&(c.api_user=this.api_user,c.api_key=this.api_key);var u=s.form(),p=function(e,t){u.append(e,t)};for(var l in c){var f=c[l];if(f&&f.filename)f.cid&&u.append(\"content[\"+f.filename+\"]\",f.cid),u.append(\"files[\"+f.filename+\"]\",f.content,{filename:f.filename,contentType:f.contentType});else try{Array.isArray(f)?f.forEach(p.bind(this,l)):p.bind(this)(l,f)}catch(d){}}};return this.version=r.version,this.Email=s,this.smtpapi=a,this.send=p,this.options=this.options,this};t.exports=c},{\"./../package.json\":415,\"./email\":411,lodash:414,request:393,smtpapi:432}],414:[function(e,t,n){(function(e){(function(){function r(e,t){if(e!==t){var n=null===e,r=e===S,i=e===e,o=null===t,a=t===S,s=t===t;if(e>t&&!o||!i||n&&!a&&s||r&&s)return 1;if(t>e&&!n||!s||o&&!r&&i||a&&i)return-1}return 0}function i(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function o(e,t,n){if(t!==t)return v(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function a(e){return\"function\"==typeof e||!1}function s(e){return null==e?\"\":e+\"\"}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function u(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function p(e,t){return r(e.criteria,t.criteria)||e.index-t.index}function l(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,c=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=c)return u;var p=n[i];return u*(\"asc\"===p||p===!0?1:-1)}}return e.index-t.index}function f(e){return He[e]}function d(e){return Ve[e]}function h(e,t,n){return t?e=Ke[e]:n&&(e=Ge[e]),\"\\\\\"+e}function m(e){return\"\\\\\"+Ge[e]}function v(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function g(e){return!!e&&\"object\"==typeof e}function y(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function b(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=H,o[++i]=n);return o}function x(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var s=e[r],c=t?t(s,r,e):s;r&&n===c||(n=c,a[++o]=s)}return a}function w(e){for(var t=-1,n=e.length;++t<n&&y(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&y(e.charCodeAt(t)););return t}function k(e){return We[e]}function j(e){function t(e){if(g(e)&&!Cs(e)&&!(e instanceof Z)){if(e instanceof y)return e;if(ta.call(e,\"__chain__\")&&ta.call(e,\"__wrapped__\"))return dr(e)}return new y(e)}function n(){}function y(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function Z(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Aa,this.__views__=[]}function te(){var e=new Z(this.__wrapped__);return e.__actions__=et(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=et(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=et(this.__views__),e}function re(){if(this.__filtered__){var e=new Z(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function He(){var e=this.__wrapped__.value(),t=this.__dir__,n=Cs(e),r=0>t,i=n?e.length:0,o=Wn(0,i,this.__views__),a=o.start,s=o.end,c=s-a,u=r?s:a-1,p=this.__iteratees__,l=p.length,f=0,d=ka(c,this.__takeCount__);if(!n||R>i||i==c&&d==c)return nn(r&&n?e.reverse():e,this.__actions__);var h=[];e:for(;c--&&d>f;){\nu+=t;for(var m=-1,v=e[u];++m<l;){var g=p[m],y=g.iteratee,b=g.type,x=y(v);if(b==$)v=x;else if(!x){if(b==L)continue e;break e}}h[f++]=v}return h}function Ve(){this.__data__={}}function We(e){return this.has(e)&&delete this.__data__[e]}function Ye(e){return\"__proto__\"==e?S:this.__data__[e]}function Ke(e){return\"__proto__\"!=e&&ta.call(this.__data__,e)}function Ge(e,t){return\"__proto__\"!=e&&(this.__data__[e]=t),this}function Je(e){var t=e?e.length:0;for(this.data={hash:ga(null),set:new la};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r=\"string\"==typeof t||Mi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Qe(e){var t=this.data;\"string\"==typeof e||Mi(e)?t.set.add(e):t.hash[e]=!0}function Xe(e,t){for(var n=-1,r=e.length,i=-1,o=t.length,a=Lo(r+o);++n<r;)a[n]=e[n];for(;++i<o;)a[n++]=t[i];return a}function et(e,t){var n=-1,r=e.length;for(t||(t=Lo(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function it(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,s=a;++i<o;){var c=e[i],u=+t(c);n(u,a)&&(a=u,s=c)}return s}function st(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function ct(e,t){for(var n=-1,r=e.length,i=Lo(r);++n<r;)i[n]=t(e[n],n,e);return i}function ut(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function pt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function lt(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ft(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function dt(e,t){for(var n=e.length,r=0;n--;)r+=+t(e[n])||0;return r}function ht(e,t){return e===S?t:e}function mt(e,t,n,r){return e!==S&&ta.call(r,n)?e:t}function vt(e,t,n){for(var r=-1,i=Rs(t),o=i.length;++r<o;){var a=i[r],s=e[a],c=n(s,t[a],a,e,t);(c===c?c===s:s!==s)&&(s!==S||a in e)||(e[a]=c)}return e}function gt(e,t){return null==t?e:bt(t,Rs(t),e)}function yt(e,t){for(var n=-1,r=null==e,i=!r&&Zn(e),o=i?e.length:0,a=t.length,s=Lo(a);++n<a;){var c=t[n];i?s[n]=Qn(c,o)?e[c]:S:s[n]=r?S:e[c]}return s}function bt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function xt(e,t,n){var r=typeof e;return\"function\"==r?t===S?e:an(e,t,n):null==e?Ao:\"object\"==r?qt(e):t===S?Mo(e):Rt(e,t)}function wt(e,t,n,r,i,o,a){var s;if(n&&(s=i?n(e,r,i):n(e)),s!==S)return s;if(!Mi(e))return e;var c=Cs(e);if(c){if(s=Yn(e),!t)return et(e,s)}else{var u=ra.call(e),p=u==J;if(u!=X&&u!=V&&(!p||i))return Ue[u]?Gn(e,u,t):i?e:{};if(s=Kn(p?{}:e),!t)return gt(s,e)}o||(o=[]),a||(a=[]);for(var l=o.length;l--;)if(o[l]==e)return a[l];return o.push(e),a.push(s),(c?tt:It)(e,function(r,i){s[i]=wt(r,t,n,i,e,o,a)}),s}function _t(e,t,n){if(\"function\"!=typeof e)throw new Jo(U);return fa(function(){e.apply(S,n)},t)}function kt(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,a=Un(),s=a==o,c=s&&t.length>=R?mn(t):null,u=t.length;c&&(a=Ze,s=!1,t=c);e:for(;++i<n;){var p=e[i];if(s&&p===p){for(var l=u;l--;)if(t[l]===p)continue e;r.push(p)}else a(t,p,0)<0&&r.push(p)}return r}function jt(e,t){var n=!0;return Ba(e,function(e,r,i){return n=!!t(e,r,i)}),n}function St(e,t,n,r){var i=r,o=i;return Ba(e,function(e,a,s){var c=+t(e,a,s);(n(c,i)||c===r&&c===o)&&(i=c,o=e)}),o}function Et(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===S||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ot(e,t){var n=[];return Ba(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function At(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function Ct(e,t,n,r){r||(r=[]);for(var i=-1,o=e.length;++i<o;){var a=e[i];g(a)&&Zn(a)&&(n||Cs(a)||Si(a))?t?Ct(a,t,n,r):ut(r,a):n||(r[r.length]=a)}return r}function Tt(e,t){return Da(e,t,eo)}function It(e,t){return Da(e,t,Rs)}function Pt(e,t){return qa(e,t,Rs)}function Ft(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Fi(e[a])&&(o[++i]=a)}return o}function Mt(e,t,n){if(null!=e){n!==S&&n in lr(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:S}}function zt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!Mi(e)&&!g(t)?e!==e&&t!==t:Bt(e,t,zt,n,r,i,o)}function Bt(e,t,n,r,i,o,a){var s=Cs(e),c=Cs(t),u=W,p=W;s||(u=ra.call(e),u==V?u=X:u!=X&&(s=Ui(e))),c||(p=ra.call(t),p==V?p=X:p!=X&&(c=Ui(t)));var l=u==X,f=p==X,d=u==p;if(d&&!s&&!l)return qn(e,t,u);if(!i){var h=l&&ta.call(e,\"__wrapped__\"),m=f&&ta.call(t,\"__wrapped__\");if(h||m)return n(h?e.value():e,m?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var g=(s?Dn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),g}function Nt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=lr(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var s=a[0],c=e[s],u=a[1];if(o&&a[2]){if(c===S&&!(s in e))return!1}else{var p=n?n(c,u,s):S;if(!(p===S?zt(u,c,n,!0):p))return!1}}return!0}function Dt(e,t){var n=-1,r=Zn(e)?Lo(e.length):[];return Ba(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function qt(e){var t=Hn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==S||n in lr(e))}}return function(e){return Nt(e,t)}}function Rt(e,t){var n=Cs(e),r=er(e)&&rr(t),i=e+\"\";return e=fr(e),function(o){if(null==o)return!1;var a=i;if(o=lr(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Mt(o,Kt(e,0,-1)),null==o)return!1;a=Er(e),o=lr(o)}return o[a]===t?t!==S||a in o:zt(t,o[a],S,!0)}}function Lt(e,t,n,r,i){if(!Mi(e))return e;var o=Zn(t)&&(Cs(t)||Ui(t)),a=o?S:Rs(t);return tt(a||t,function(s,c){if(a&&(c=s,s=t[c]),g(s))r||(r=[]),i||(i=[]),$t(e,t,c,Lt,n,r,i);else{var u=e[c],p=n?n(u,s,c,e,t):S,l=p===S;l&&(p=s),p===S&&(!o||c in e)||!l&&(p===p?p===u:u!==u)||(e[c]=p)}}),e}function $t(e,t,n,r,i,o,a){for(var s=o.length,c=t[n];s--;)if(o[s]==c)return void(e[n]=a[s]);var u=e[n],p=i?i(u,c,n,e,t):S,l=p===S;l&&(p=c,Zn(c)&&(Cs(c)||Ui(c))?p=Cs(u)?u:Zn(u)?et(u):[]:Ri(c)||Si(c)?p=Si(u)?Ki(u):Ri(u)?u:{}:l=!1),o.push(c),a.push(p),l?e[n]=r(p,c,i,o,a):(p===p?p!==u:u===u)&&(e[n]=p)}function Ut(e){return function(t){return null==t?S:t[e]}}function Ht(e){var t=e+\"\";return e=fr(e),function(n){return Mt(n,e,t)}}function Vt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&Qn(r)){var i=r;da.call(e,r,1)}}return e}function Wt(e,t){return e+ya(Ea()*(t-e+1))}function Yt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===S||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Lo(i);++r<i;)o[r]=e[r+t];return o}function Gt(e,t){var n;return Ba(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Jt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Zt(e,t,n){var r=Ln(),i=-1;t=ct(t,function(e){return r(e)});var o=Dt(e,function(e){var n=ct(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Jt(o,function(e,t){return l(e,t,n)})}function Qt(e,t){var n=0;return Ba(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Xt(e,t){var n=-1,r=Un(),i=e.length,a=r==o,s=a&&i>=R,c=s?mn():null,u=[];c?(r=Ze,a=!1):(s=!1,c=t?[]:u);e:for(;++n<i;){var p=e[n],l=t?t(p,n,e):p;if(a&&p===p){for(var f=c.length;f--;)if(c[f]===l)continue e;t&&c.push(l),u.push(p)}else r(c,l,0)<0&&((t||s)&&c.push(l),u.push(p))}return u}function en(e,t){for(var n=-1,r=t.length,i=Lo(r);++n<r;)i[n]=e[t[n]];return i}function tn(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function nn(e,t){var n=e;n instanceof Z&&(n=n.value());for(var r=-1,i=t.length;++r<i;){var o=t[r];n=o.func.apply(o.thisArg,ut([n],o.args))}return n}function rn(e,t,n){var r=0,i=e?e.length:r;if(\"number\"==typeof t&&t===t&&Ia>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return on(e,t,Ao,n)}function on(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,s=null===t,c=t===S;o>i;){var u=ya((i+o)/2),p=n(e[u]),l=p!==S,f=p===p;if(a)var d=f||r;else d=s?f&&l&&(r||null!=p):c?f&&(r||l):null==p?!1:r?t>=p:t>p;d?i=u+1:o=u}return ka(o,Ta)}function an(e,t,n){if(\"function\"!=typeof e)return Ao;if(t===S)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function sn(e){var t=new aa(e.byteLength),n=new ha(t);return n.set(new ha(e)),t}function cn(e,t,n){for(var r=n.length,i=-1,o=_a(e.length-r,0),a=-1,s=t.length,c=Lo(s+o);++a<s;)c[a]=t[a];for(;++i<r;)c[n[i]]=e[i];for(;o--;)c[a++]=e[i++];return c}function un(e,t,n){for(var r=-1,i=n.length,o=-1,a=_a(e.length-i,0),s=-1,c=t.length,u=Lo(a+c);++o<a;)u[o]=e[o];for(var p=o;++s<c;)u[p+s]=t[s];for(;++r<i;)u[p+n[r]]=e[o++];return u}function pn(e,t){return function(n,r,i){var o=t?t():{};if(r=Ln(r,i,3),Cs(n))for(var a=-1,s=n.length;++a<s;){var c=n[a];e(o,c,r(c,a,n),n)}else Ba(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ln(e){return gi(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:S,a=i>2?n[2]:S,s=i>1?n[i-1]:S;for(\"function\"==typeof o?(o=an(o,s,5),i-=2):(o=\"function\"==typeof s?s:S,i-=o?1:0),a&&Xn(n[0],n[1],a)&&(o=3>i?S:o,i=1);++r<i;){var c=n[r];c&&e(t,c,o)}return t})}function fn(e,t){return function(n,r){var i=n?$a(n):0;if(!nr(i))return e(n,r);for(var o=t?i:-1,a=lr(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function dn(e){return function(t,n,r){for(var i=lr(t),o=r(t),a=o.length,s=e?a:-1;e?s--:++s<a;){var c=o[s];if(n(i[c],c,i)===!1)break}return t}}function hn(e,t){function n(){var i=this&&this!==nt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function mn(e){return ga&&la?new Je(e):null}function vn(e){return function(t){for(var n=-1,r=So(po(t)),i=r.length,o=\"\";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=za(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function yn(e){function t(n,r,i){i&&Xn(n,r,i)&&(r=S);var o=Nn(n,e,S,S,S,S,S,r);return o.placeholder=t.placeholder,o}return t}function bn(e,t){return gi(function(n){var r=n[0];return null==r?r:(n.push(t),e.apply(S,n))})}function xn(e,t){return function(n,r,i){if(i&&Xn(n,r,i)&&(r=S),r=Ln(r,i,3),1==r.length){n=Cs(n)?n:pr(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return St(n,r,e,t)}}function wn(e,t){return function(n,r,o){if(r=Ln(r,o,3),Cs(n)){var a=i(n,r,t);return a>-1?n[a]:S}return At(n,r,e)}}function _n(e){return function(t,n,r){return t&&t.length?(n=Ln(n,r,3),i(t,n,e)):-1}}function kn(e){return function(t,n,r){return n=Ln(n,r,3),At(t,n,e,!0)}}function jn(e){return function(){for(var t,n=arguments.length,r=e?n:-1,i=0,o=Lo(n);e?r--:++r<n;){var a=o[i++]=arguments[r];if(\"function\"!=typeof a)throw new Jo(U);!t&&y.prototype.thru&&\"wrapper\"==$n(a)&&(t=new y([],!0))}for(r=t?-1:n;++r<n;){a=o[r];var s=$n(a),c=\"wrapper\"==s?La(a):S;t=c&&tr(c[0])&&c[1]==(M|T|P|z)&&!c[4].length&&1==c[9]?t[$n(c[0])].apply(t,c[3]):1==a.length&&tr(a)?t[s]():t.thru(a)}return function(){var e=arguments,r=e[0];if(t&&1==e.length&&Cs(r)&&r.length>=R)return t.plant(r).value();for(var i=0,a=n?o[i].apply(this,e):r;++i<n;)a=o[i].call(this,a);return a}}}function Sn(e,t){return function(n,r,i){return\"function\"==typeof r&&i===S&&Cs(n)?e(n,r):t(n,an(r,i,3))}}function En(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n,eo)}}function On(e){return function(t,n,r){return\"function\"==typeof n&&r===S||(n=an(n,r,3)),e(t,n)}}function An(e){return function(t,n,r){var i={};return n=Ln(n,r,3),It(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=s(t),(e?t:\"\")+Fn(t,n,r)+(e?\"\":t)}}function Tn(e){var t=gi(function(n,r){var i=b(r,t.placeholder);return Nn(n,e,S,r,i)});return t}function In(e,t){return function(n,r,i,o){var a=arguments.length<3;return\"function\"==typeof r&&o===S&&Cs(n)?e(n,r,i,a):Yt(n,Ln(r,o,4),i,a,t)}}function Pn(e,t,n,r,i,o,a,s,c,u){function p(){for(var y=arguments.length,x=y,w=Lo(y);x--;)w[x]=arguments[x];if(r&&(w=cn(w,r,i)),o&&(w=un(w,o,a)),h||v){var _=p.placeholder,k=b(w,_);if(y-=k.length,u>y){var j=s?et(s):S,E=_a(u-y,0),C=h?k:S,T=h?S:k,I=h?w:S,M=h?S:w;t|=h?P:F,t&=~(h?F:P),m||(t&=~(O|A));var z=[e,t,n,I,C,M,T,j,c,E],B=Pn.apply(S,z);return tr(e)&&Ua(B,z),B.placeholder=_,B}}var N=f?n:this,D=d?N[e]:e;return s&&(w=cr(w,s)),l&&c<w.length&&(w.length=c),this&&this!==nt&&this instanceof p&&(D=g||gn(e)),D.apply(N,w)}var l=t&M,f=t&O,d=t&A,h=t&T,m=t&C,v=t&I,g=d?S:gn(e);return p}function Fn(e,t,n){var r=e.length;if(t=+t,r>=t||!xa(t))return\"\";var i=t-r;return n=null==n?\" \":n+\"\",go(n,va(i/n.length)).slice(0,i)}function Mn(e,t,n,r){function i(){for(var t=-1,s=arguments.length,c=-1,u=r.length,p=Lo(u+s);++c<u;)p[c]=r[c];for(;s--;)p[c++]=arguments[++t];var l=this&&this!==nt&&this instanceof i?a:e;return l.apply(o?n:this,p)}var o=t&O,a=gn(e);return i}function zn(e){var t=Vo[e];return function(e,n){return n=n===S?0:+n||0,n?(n=ua(10,n),t(e*n)/n):t(e)}}function Bn(e){return function(t,n,r,i){var o=Ln(r);return null==r&&o===xt?rn(t,n,e):on(t,n,o(r,i,1),e)}}function Nn(e,t,n,r,i,o,a,s){var c=t&A;if(!c&&\"function\"!=typeof e)throw new Jo(U);var u=r?r.length:0;if(u||(t&=~(P|F),r=i=S),u-=i?i.length:0,t&F){var p=r,l=i;r=i=S}var f=c?S:La(e),d=[e,t,n,r,i,p,l,o,a,s];if(f&&(ir(d,f),t=d[1],s=d[9]),d[9]=null==s?c?0:e.length:_a(s-u,0)||0,t==O)var h=hn(d[0],d[2]);else h=t!=P&&t!=(O|P)||d[4].length?Pn.apply(S,d):Mn.apply(S,d);var m=f?Ra:Ua;return m(h,d)}function Dn(e,t,n,r,i,o,a){var s=-1,c=e.length,u=t.length;if(c!=u&&!(i&&u>c))return!1;for(;++s<c;){var p=e[s],l=t[s],f=r?r(i?l:p,i?p:l,s):S;if(f!==S){if(f)continue;return!1}if(i){if(!ft(t,function(e){return p===e||n(p,e,r,i,o,a)}))return!1}else if(p!==l&&!n(p,l,r,i,o,a))return!1}return!0}function qn(e,t,n){switch(n){case Y:case K:return+e==+t;case G:return e.name==t.name&&e.message==t.message;case Q:return e!=+e?t!=+t:e==+t;case ee:case ne:return e==t+\"\"}return!1}function Rn(e,t,n,r,i,o,a){var s=Rs(e),c=s.length,u=Rs(t),p=u.length;if(c!=p&&!i)return!1;for(var l=c;l--;){var f=s[l];if(!(i?f in t:ta.call(t,f)))return!1}for(var d=i;++l<c;){f=s[l];var h=e[f],m=t[f],v=r?r(i?m:h,i?h:m,f):S;if(!(v===S?n(h,m,r,i,o,a):v))return!1;d||(d=\"constructor\"==f)}if(!d){var g=e.constructor,y=t.constructor;if(g!=y&&\"constructor\"in e&&\"constructor\"in t&&!(\"function\"==typeof g&&g instanceof g&&\"function\"==typeof y&&y instanceof y))return!1}return!0}function Ln(e,n,r){var i=t.callback||Eo;return i=i===Eo?xt:i,r?i(e,n,r):i}function $n(e){for(var t=e.name,n=Ma[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Un(e,n,r){var i=t.indexOf||jr;return i=i===jr?o:i,e?i(e,n,r):i}function Hn(e){for(var t=to(e),n=t.length;n--;)t[n][2]=rr(t[n][1]);return t}function Vn(e,t){var n=null==e?S:e[t];return Ni(n)?n:S}function Wn(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case\"drop\":e+=a;break;case\"dropRight\":t-=a;break;case\"take\":t=ka(t,e+a);break;case\"takeRight\":e=_a(e,t-a)}}return{start:e,end:t}}function Yn(e){var t=e.length,n=new e.constructor(t);return t&&\"string\"==typeof e[0]&&ta.call(e,\"index\")&&(n.index=e.index,n.input=e.input),n}function Kn(e){var t=e.constructor;return\"function\"==typeof t&&t instanceof t||(t=Yo),new t}function Gn(e,t,n){var r=e.constructor;switch(t){case ie:return sn(e);case Y:case K:return new r(+e);case oe:case ae:case se:case ce:case ue:case pe:case le:case fe:case de:var i=e.buffer;return new r(n?sn(i):i,e.byteOffset,e.length);case Q:case ne:return new r(e);case ee:var o=new r(e.source,Pe.exec(e));o.lastIndex=e.lastIndex}return o}function Jn(e,t,n){null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),t=Er(t));var r=null==e?e:e[t];return null==r?S:r.apply(e,n)}function Zn(e){return null!=e&&nr($a(e))}function Qn(e,t){return e=\"number\"==typeof e||ze.test(e)?+e:-1,t=null==t?Pa:t,e>-1&&e%1==0&&t>e}function Xn(e,t,n){if(!Mi(n))return!1;var r=typeof t;if(\"number\"==r?Zn(n)&&Qn(t,n.length):\"string\"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function er(e,t){var n=typeof e;if(\"string\"==n&&Se.test(e)||\"number\"==n)return!0;if(Cs(e))return!1;var r=!je.test(e);return r||null!=t&&e in lr(t)}function tr(e){var n=$n(e);if(!(n in Z.prototype))return!1;var r=t[n];if(e===r)return!0;var i=La(r);return!!i&&e===i[0]}function nr(e){return\"number\"==typeof e&&e>-1&&e%1==0&&Pa>=e}function rr(e){return e===e&&!Mi(e)}function ir(e,t){var n=e[1],r=t[1],i=n|r,o=M>i,a=r==M&&n==T||r==M&&n==z&&e[7].length<=t[8]||r==(M|z)&&n==T;if(!o&&!a)return e;r&O&&(e[2]=t[2],i|=n&O?0:C);var s=t[3];if(s){var c=e[3];e[3]=c?cn(c,s,t[4]):et(s),e[4]=c?b(e[3],H):et(t[4])}return s=t[5],s&&(c=e[5],e[5]=c?un(c,s,t[6]):et(s),e[6]=c?b(e[5],H):et(t[6])),s=t[7],s&&(e[7]=et(s)),r&M&&(e[8]=null==e[8]?t[8]:ka(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function or(e,t){return e===S?t:Ts(e,t,or)}function ar(e,t){e=lr(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function sr(e,t){var n={};return Tt(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function cr(e,t){for(var n=e.length,r=ka(t.length,n),i=et(e);r--;){var o=t[r];e[r]=Qn(o,n)?i[o]:S}return e}function ur(e){for(var t=eo(e),n=t.length,r=n&&e.length,i=!!r&&nr(r)&&(Cs(e)||Si(e)),o=-1,a=[];++o<n;){var s=t[o];(i&&Qn(s,r)||ta.call(e,s))&&a.push(s)}return a}function pr(e){return null==e?[]:Zn(e)?Mi(e)?e:Yo(e):oo(e)}function lr(e){return Mi(e)?e:Yo(e)}function fr(e){if(Cs(e))return e;var t=[];return s(e).replace(Ee,function(e,n,r,i){t.push(r?i.replace(Te,\"$1\"):n||e)}),t}function dr(e){return e instanceof Z?e.clone():new y(e.__wrapped__,e.__chain__,et(e.__actions__))}function hr(e,t,n){t=(n?Xn(e,t,n):null==t)?1:_a(ya(t)||1,1);for(var r=0,i=e?e.length:0,o=-1,a=Lo(va(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function mr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function vr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function gr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function yr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0,!0):[]}function br(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!0):[]}function xr(e,t,n,r){var i=e?e.length:0;return i?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(n=0,r=i),Et(e,t,n,r)):[]}function wr(e){return e?e[0]:S}function _r(e,t,n){var r=e?e.length:0;return n&&Xn(e,t,n)&&(t=!1),r?Ct(e,t):[]}function kr(e){var t=e?e.length:0;return t?Ct(e,!0):[]}function jr(e,t,n){var r=e?e.length:0;if(!r)return-1;if(\"number\"==typeof n)n=0>n?_a(r+n,0):n;else if(n){var i=rn(e,t);return r>i&&(t===t?t===e[i]:e[i]!==e[i])?i:-1}return o(e,t,n||0)}function Sr(e){return gr(e,1)}function Er(e){var t=e?e.length:0;return t?e[t-1]:S}function Or(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if(\"number\"==typeof n)i=(0>n?_a(r+n,0):ka(n||0,r-1))+1;else if(n){i=rn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return v(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Ar(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Un(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)da.call(t,o,1);return t}function Cr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Ln(t,n,3);++i<a;){var s=e[i];t(s,i,e)&&(r.push(s),o.push(i))}return Vt(e,o),r}function Tr(e){return vr(e,1)}function Ir(e,t,n){var r=e?e.length:0;return r?(n&&\"number\"!=typeof n&&Xn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function Pr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Fr(e,t,n){var r=e?e.length:0;return r?((n?Xn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Mr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3),!1,!0):[]}function zr(e,t,n){return e&&e.length?tn(e,Ln(t,n,3)):[]}function Br(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&\"boolean\"!=typeof t&&(r=n,n=Xn(e,t,r)?S:t,t=!1);var a=Ln();return null==n&&a===xt||(n=a(n,r,3)),t&&Un()==o?x(e,n):Xt(e,n)}function Nr(e){if(!e||!e.length)return[];var t=-1,n=0;e=st(e,function(e){return Zn(e)?(n=_a(e.length,n),!0):void 0});for(var r=Lo(n);++t<n;)r[t]=ct(e,Ut(t));return r}function Dr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Nr(e);return null==t?i:(t=an(t,n,4),ct(i,function(e){return pt(e,t,S,!0)}))}function qr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Zn(n))var r=r?ut(kt(r,n),kt(n,r)):n}return r?Xt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Cs(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Lr(e){var n=t(e);return n.__chain__=!0,n}function $r(e,t,n){return t.call(n,e),e}function Ur(e,t,n){return t.call(n,e)}function Hr(){return Lr(this)}function Vr(){return new y(this.value(),this.__chain__)}function Wr(e){for(var t,r=this;r instanceof n;){var i=dr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Yr(){var e=this.__wrapped__,t=function(e){return n&&n.__dir__<0?e:e.reverse()};if(e instanceof Z){var n=e;return this.__actions__.length&&(n=new Z(this)),n=n.reverse(),n.__actions__.push({func:Ur,args:[t],thisArg:S}),new y(n,this.__chain__)}return this.thru(t)}function Kr(){return this.value()+\"\"}function Gr(){return nn(this.__wrapped__,this.__actions__)}function Jr(e,t,n){var r=Cs(e)?ot:jt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function Zr(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,t)}function Qr(e,t){return is(e,qt(t))}function Xr(e,t,n,r){var i=e?$a(e):0;return nr(i)||(e=oo(e),i=e.length),n=\"number\"!=typeof n||r&&Xn(t,n,r)?0:0>n?_a(i+n,0):n||0,\"string\"==typeof e||!Cs(e)&&$i(e)?i>=n&&e.indexOf(t,n)>-1:!!i&&Un(e,t,n)>-1}function ei(e,t,n){var r=Cs(e)?ct:Dt;return t=Ln(t,n,3),r(e,t)}function ti(e,t){return ei(e,Mo(t))}function ni(e,t,n){var r=Cs(e)?st:Ot;return t=Ln(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function ri(e,t,n){if(n?Xn(e,t,n):null==t){e=pr(e);var r=e.length;return r>0?e[Wt(0,r-1)]:S}var i=-1,o=Yi(e),r=o.length,a=r-1;for(t=ka(0>t?0:+t||0,r);++i<t;){var s=Wt(i,a),c=o[s];o[s]=o[i],o[i]=c}return o.length=t,o}function ii(e){return ri(e,Aa)}function oi(e){var t=e?$a(e):0;return nr(t)?t:Rs(e).length}function ai(e,t,n){var r=Cs(e)?ft:Gt;return n&&Xn(e,t,n)&&(t=S),\"function\"==typeof t&&n===S||(t=Ln(t,n,3)),r(e,t)}function si(e,t,n){if(null==e)return[];n&&Xn(e,t,n)&&(t=S);var r=-1;t=Ln(t,n,3);var i=Dt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Jt(i,p)}function ci(e,t,n,r){return null==e?[]:(r&&Xn(t,n,r)&&(n=S),Cs(t)||(t=null==t?[]:[t]),Cs(n)||(n=null==n?[]:[n]),Zt(e,t,n))}function ui(e,t){return Zr(e,qt(t))}function pi(e,t){if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var n=e;e=t,t=n}return e=xa(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function li(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=e&&null==t?e.length:_a(+t||0,0),Nn(e,M,S,S,S,S,t)}function fi(e,t){var n;if(\"function\"!=typeof t){if(\"function\"!=typeof e)throw new Jo(U);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=S),n}}function di(e,t,n){function r(){d&&sa(d),u&&sa(u),m=0,u=d=h=S}function i(t,n){n&&sa(n),u=d=h=S,t&&(m=ms(),p=e.apply(f,c),d||u||(c=f=S))}function o(){var e=t-(ms()-l);0>=e||e>t?i(h,u):d=fa(o,e)}function a(){i(g,d)}function s(){if(c=arguments,l=ms(),f=this,h=g&&(d||!y),v===!1)var n=y&&!d;else{u||y||(m=l);var r=v-(l-m),i=0>=r||r>v;i?(u&&(u=sa(u)),m=l,p=e.apply(f,c)):u||(u=fa(a,r))}return i&&d?d=sa(d):d||t===v||(d=fa(o,t)),n&&(i=!0,p=e.apply(f,c)),!i||d||u||(c=f=S),p}var c,u,p,l,f,d,h,m=0,v=!1,g=!0;if(\"function\"!=typeof e)throw new Jo(U);if(t=0>t?0:+t||0,n===!0){var y=!0;g=!1}else Mi(n)&&(y=!!n.leading,v=\"maxWait\"in n&&_a(+n.maxWait||0,t),g=\"trailing\"in n?!!n.trailing:g);return s.cancel=r,s}function hi(e,t){if(\"function\"!=typeof e||t&&\"function\"!=typeof t)throw new Jo(U);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new hi.Cache,n}function mi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(){return!e.apply(this,arguments)}}function vi(e){return fi(2,e)}function gi(e,t){if(\"function\"!=typeof e)throw new Jo(U);return t=_a(t===S?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=_a(n.length-t,0),o=Lo(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=Lo(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function yi(e){if(\"function\"!=typeof e)throw new Jo(U);return function(t){return e.apply(this,t)}}function bi(e,t,n){var r=!0,i=!0;if(\"function\"!=typeof e)throw new Jo(U);return n===!1?r=!1:Mi(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),di(e,t,{leading:r,maxWait:+t,trailing:i})}function xi(e,t){return t=null==t?Ao:t,Nn(t,P,S,[e],[])}function wi(e,t,n,r){return t&&\"boolean\"!=typeof t&&Xn(e,t,n)?t=!1:\"function\"==typeof t&&(r=n,n=t,t=!1),\"function\"==typeof n?wt(e,t,an(n,r,1)):wt(e,t)}function _i(e,t,n){return\"function\"==typeof t?wt(e,!0,an(t,n,1)):wt(e,!0)}function ki(e,t){return e>t}function ji(e,t){return e>=t}function Si(e){return g(e)&&Zn(e)&&ta.call(e,\"callee\")&&!pa.call(e,\"callee\")}function Ei(e){return e===!0||e===!1||g(e)&&ra.call(e)==Y}function Oi(e){return g(e)&&ra.call(e)==K}function Ai(e){return!!e&&1===e.nodeType&&g(e)&&!Ri(e)}function Ci(e){return null==e?!0:Zn(e)&&(Cs(e)||$i(e)||Si(e)||g(e)&&Fi(e.splice))?!e.length:!Rs(e).length}function Ti(e,t,n,r){n=\"function\"==typeof n?an(n,r,3):S;var i=n?n(e,t):S;return i===S?zt(e,t,n):!!i}function Ii(e){return g(e)&&\"string\"==typeof e.message&&ra.call(e)==G}function Pi(e){return\"number\"==typeof e&&xa(e)}function Fi(e){return Mi(e)&&ra.call(e)==J}function Mi(e){var t=typeof e;return!!e&&(\"object\"==t||\"function\"==t)}function zi(e,t,n,r){return n=\"function\"==typeof n?an(n,r,3):S,Nt(e,Hn(t),n)}function Bi(e){return qi(e)&&e!=+e}function Ni(e){return null==e?!1:Fi(e)?oa.test(ea.call(e)):g(e)&&Me.test(e)}function Di(e){return null===e}function qi(e){return\"number\"==typeof e||g(e)&&ra.call(e)==Q}function Ri(e){var t;if(!g(e)||ra.call(e)!=X||Si(e)||!ta.call(e,\"constructor\")&&(t=e.constructor,\"function\"==typeof t&&!(t instanceof t)))return!1;var n;return Tt(e,function(e,t){n=t}),n===S||ta.call(e,n)}function Li(e){return Mi(e)&&ra.call(e)==ee}function $i(e){return\"string\"==typeof e||g(e)&&ra.call(e)==ne}function Ui(e){return g(e)&&nr(e.length)&&!!$e[ra.call(e)]}function Hi(e){return e===S}function Vi(e,t){return t>e}function Wi(e,t){return t>=e}function Yi(e){var t=e?$a(e):0;return nr(t)?t?et(e):[]:oo(e)}function Ki(e){return bt(e,eo(e))}function Gi(e,t,n){var r=za(e);return n&&Xn(e,t,n)&&(t=S),t?gt(r,t):r}function Ji(e){return Ft(e,eo(e))}function Zi(e,t,n){var r=null==e?S:Mt(e,fr(t),t+\"\");return r===S?n:r}function Qi(e,t){if(null==e)return!1;var n=ta.call(e,t);if(!n&&!er(t)){if(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),null==e)return!1;t=Er(t),n=ta.call(e,t)}return n||nr(e.length)&&Qn(t,e.length)&&(Cs(e)||Si(e))}function Xi(e,t,n){n&&Xn(e,t,n)&&(t=S);for(var r=-1,i=Rs(e),o=i.length,a={};++r<o;){var s=i[r],c=e[s];t?ta.call(a,c)?a[c].push(s):a[c]=[s]:a[c]=s}return a}function eo(e){if(null==e)return[];Mi(e)||(e=Yo(e));var t=e.length;t=t&&nr(t)&&(Cs(e)||Si(e))&&t||0;for(var n=e.constructor,r=-1,i=\"function\"==typeof n&&n.prototype===e,o=Lo(t),a=t>0;++r<t;)o[r]=r+\"\";for(var s in e)a&&Qn(s,t)||\"constructor\"==s&&(i||!ta.call(e,s))||o.push(s);return o}function to(e){e=lr(e);for(var t=-1,n=Rs(e),r=n.length,i=Lo(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function no(e,t,n){var r=null==e?S:e[t];return r===S&&(null==e||er(t,e)||(t=fr(t),e=1==t.length?e:Mt(e,Kt(t,0,-1)),r=null==e?S:e[Er(t)]),r=r===S?n:r),Fi(r)?r.call(e):r}function ro(e,t,n){if(null==e)return e;var r=t+\"\";t=null!=e[r]||er(t,e)?[r]:fr(t);for(var i=-1,o=t.length,a=o-1,s=e;null!=s&&++i<o;){var c=t[i];Mi(s)&&(i==a?s[c]=n:null==s[c]&&(s[c]=Qn(t[i+1])?[]:{})),s=s[c]}return e}function io(e,t,n,r){var i=Cs(e)||Ui(e);if(t=Ln(t,r,4),null==n)if(i||Mi(e)){var o=e.constructor;n=i?Cs(e)?new o:[]:za(Fi(o)?o.prototype:S)}else n={};return(i?tt:It)(e,function(e,r,i){return t(n,e,r,i)}),n}function oo(e){return en(e,Rs(e))}function ao(e){return en(e,eo(e))}function so(e,t,n){return t=+t||0,n===S?(n=t,t=0):n=+n||0,e>=ka(t,n)&&e<_a(t,n)}function co(e,t,n){n&&Xn(e,t,n)&&(t=n=S);var r=null==e,i=null==t;if(null==n&&(i&&\"boolean\"==typeof e?(n=e,e=1):\"boolean\"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Ea();return ka(e+o*(t-e+ca(\"1e-\"+((o+\"\").length-1))),t)}return Wt(e,t)}function uo(e){return e=s(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function po(e){return e=s(e),e&&e.replace(Be,f).replace(Ce,\"\")}function lo(e,t,n){e=s(e),t+=\"\";var r=e.length;return n=n===S?r:ka(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function fo(e){return e=s(e),e&&xe.test(e)?e.replace(ye,d):e}function ho(e){return e=s(e),e&&Ae.test(e)?e.replace(Oe,h):e||\"(?:)\"}function mo(e,t,n){e=s(e),t=+t;var r=e.length;if(r>=t||!xa(t))return e;var i=(t-r)/2,o=ya(i),a=va(i);return n=Fn(\"\",a,n),n.slice(0,o)+e+n}function vo(e,t,n){return(n?Xn(e,t,n):null==t)?t=0:t&&(t=+t),e=xo(e),Sa(e,t||(Fe.test(e)?16:10))}function go(e,t){var n=\"\";if(e=s(e),t=+t,1>t||!e||!xa(t))return n;do t%2&&(n+=e),t=ya(t/2),e+=e;while(t);return n}function yo(e,t,n){return e=s(e),n=null==n?0:ka(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function bo(e,n,r){var i=t.templateSettings;r&&Xn(e,n,r)&&(n=r=S),e=s(e),n=vt(gt({},r||n),i,mt);var o,a,c=vt(gt({},n.imports),i.imports,mt),u=Rs(c),p=en(c,u),l=0,f=n.interpolate||Ne,d=\"__p += '\",h=Ko((n.escape||Ne).source+\"|\"+f.source+\"|\"+(f===ke?Ie:Ne).source+\"|\"+(n.evaluate||Ne).source+\"|$\",\"g\"),v=\"//# sourceURL=\"+(\"sourceURL\"in n?n.sourceURL:\"lodash.templateSources[\"+ ++Le+\"]\")+\"\\n\";e.replace(h,function(t,n,r,i,s,c){return r||(r=i),d+=e.slice(l,c).replace(De,m),n&&(o=!0,d+=\"' +\\n__e(\"+n+\") +\\n'\"),s&&(a=!0,d+=\"';\\n\"+s+\";\\n__p += '\"),r&&(d+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),l=c+t.length,t}),d+=\"';\\n\";var g=n.variable;g||(d=\"with (obj) {\\n\"+d+\"\\n}\\n\"),d=(a?d.replace(he,\"\"):d).replace(me,\"$1\").replace(ve,\"$1;\"),d=\"function(\"+(g||\"obj\")+\") {\\n\"+(g?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(o?\", __e = _.escape\":\"\")+(a?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+d+\"return __p\\n}\";var y=Zs(function(){return Ho(u,v+\"return \"+d).apply(S,p)});if(y.source=d,Ii(y))throw y;return y}function xo(e,t,n){var r=e;return(e=s(e))?(n?Xn(r,t,n):null==t)?e.slice(w(e),_(e)+1):(t+=\"\",e.slice(c(e,t),u(e,t)+1)):e}function wo(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(w(e)):e.slice(c(e,t+\"\")):e}function _o(e,t,n){var r=e;return e=s(e),e?(n?Xn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,u(e,t+\"\")+1):e}function ko(e,t,n){n&&Xn(e,t,n)&&(t=S);var r=B,i=N;if(null!=t)if(Mi(t)){var o=\"separator\"in t?t.separator:o;r=\"length\"in t?+t.length||0:r,i=\"omission\"in t?s(t.omission):i}else r=+t||0;if(e=s(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var c=e.slice(0,a);if(null==o)return c+i;if(Li(o)){if(e.slice(a).search(o)){var u,p,l=e.slice(0,a);for(o.global||(o=Ko(o.source,(Pe.exec(o)||\"\")+\"g\")),o.lastIndex=0;u=o.exec(l);)p=u.index;c=c.slice(0,null==p?a:p)}}else if(e.indexOf(o,a)!=a){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+i}function jo(e){return e=s(e),e&&be.test(e)?e.replace(ge,k):e}function So(e,t,n){return n&&Xn(e,t,n)&&(t=S),e=s(e),e.match(t||qe)||[]}function Eo(e,t,n){return n&&Xn(e,t,n)&&(t=S),\ng(e)?Co(e):xt(e,t)}function Oo(e){return function(){return e}}function Ao(e){return e}function Co(e){return qt(wt(e,!0))}function To(e,t){return Rt(e,wt(t,!0))}function Io(e,t,n){if(null==n){var r=Mi(t),i=r?Rs(t):S,o=i&&i.length?Ft(t,i):S;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=Ft(t,Rs(t)));var a=!0,s=-1,c=Fi(e),u=o.length;n===!1?a=!1:Mi(n)&&\"chain\"in n&&(a=n.chain);for(;++s<u;){var p=o[s],l=t[p];e[p]=l,c&&(e.prototype[p]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}return t.apply(e,ut([this.value()],arguments))}}(l))}return e}function Po(){return nt._=ia,this}function Fo(){}function Mo(e){return er(e)?Ut(e):Ht(e)}function zo(e){return function(t){return Mt(e,fr(t),t+\"\")}}function Bo(e,t,n){n&&Xn(e,t,n)&&(t=n=S),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=_a(va((t-e)/(n||1)),0),o=Lo(i);++r<i;)o[r]=e,e+=n;return o}function No(e,t,n){if(e=ya(e),1>e||!xa(e))return[];var r=-1,i=Lo(ka(e,Ca));for(t=an(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function Do(e){var t=++na;return s(e)+t}function qo(e,t){return(+e||0)+(+t||0)}function Ro(e,t,n){return n&&Xn(e,t,n)&&(t=S),t=Ln(t,n,3),1==t.length?dt(Cs(e)?e:pr(e),t):Qt(e,t)}e=e?rt.defaults(nt.Object(),e,rt.pick(nt,Re)):nt;var Lo=e.Array,$o=e.Date,Uo=e.Error,Ho=e.Function,Vo=e.Math,Wo=e.Number,Yo=e.Object,Ko=e.RegExp,Go=e.String,Jo=e.TypeError,Zo=Lo.prototype,Qo=Yo.prototype,Xo=Go.prototype,ea=Ho.prototype.toString,ta=Qo.hasOwnProperty,na=0,ra=Qo.toString,ia=nt._,oa=Ko(\"^\"+ea.call(ta).replace(/[\\\\^$.*+?()[\\]{}|]/g,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),aa=e.ArrayBuffer,sa=e.clearTimeout,ca=e.parseFloat,ua=Vo.pow,pa=Qo.propertyIsEnumerable,la=Vn(e,\"Set\"),fa=e.setTimeout,da=Zo.splice,ha=e.Uint8Array,ma=Vn(e,\"WeakMap\"),va=Vo.ceil,ga=Vn(Yo,\"create\"),ya=Vo.floor,ba=Vn(Lo,\"isArray\"),xa=e.isFinite,wa=Vn(Yo,\"keys\"),_a=Vo.max,ka=Vo.min,ja=Vn($o,\"now\"),Sa=e.parseInt,Ea=Vo.random,Oa=Wo.NEGATIVE_INFINITY,Aa=Wo.POSITIVE_INFINITY,Ca=4294967295,Ta=Ca-1,Ia=Ca>>>1,Pa=9007199254740991,Fa=ma&&new ma,Ma={};t.support={};t.templateSettings={escape:we,evaluate:_e,interpolate:ke,variable:\"\",imports:{_:t}};var za=function(){function e(){}return function(t){if(Mi(t)){e.prototype=t;var n=new e;e.prototype=S}return n||{}}}(),Ba=fn(It),Na=fn(Pt,!0),Da=dn(),qa=dn(!0),Ra=Fa?function(e,t){return Fa.set(e,t),e}:Ao,La=Fa?function(e){return Fa.get(e)}:Fo,$a=Ut(\"length\"),Ua=function(){var e=0,t=0;return function(n,r){var i=ms(),o=q-(i-t);if(t=i,o>0){if(++e>=D)return n}else e=0;return Ra(n,r)}}(),Ha=gi(function(e,t){return g(e)&&Zn(e)?kt(e,Ct(t,!1,!0)):[]}),Va=_n(),Wa=_n(!0),Ya=gi(function(e){for(var t=e.length,n=t,r=Lo(l),i=Un(),a=i==o,s=[];n--;){var c=e[n]=Zn(c=e[n])?c:[];r[n]=a&&c.length>=120?mn(n&&c):null}var u=e[0],p=-1,l=u?u.length:0,f=r[0];e:for(;++p<l;)if(c=u[p],(f?Ze(f,c):i(s,c,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,c):i(e[n],c,0))<0)continue e}f&&f.push(c),s.push(c)}return s}),Ka=gi(function(e,t){t=Ct(t);var n=yt(e,t);return Vt(e,t.sort(r)),n}),Ga=Bn(),Ja=Bn(!0),Za=gi(function(e){return Xt(Ct(e,!1,!0))}),Qa=gi(function(e,t){return Zn(e)?kt(e,t):[]}),Xa=gi(Nr),es=gi(function(e){var t=e.length,n=t>2?e[t-2]:S,r=t>1?e[t-1]:S;return t>2&&\"function\"==typeof n?t-=2:(n=t>1&&\"function\"==typeof r?(--t,r):S,r=S),e.length=t,Dr(e,n,r)}),ts=gi(function(e){return e=Ct(e),this.thru(function(t){return Xe(Cs(t)?t:[lr(t)],e)})}),ns=gi(function(e,t){return yt(e,Ct(t))}),rs=pn(function(e,t,n){ta.call(e,n)?++e[n]:e[n]=1}),is=wn(Ba),os=wn(Na,!0),as=Sn(tt,Ba),ss=Sn(it,Na),cs=pn(function(e,t,n){ta.call(e,n)?e[n].push(t):e[n]=[t]}),us=pn(function(e,t,n){e[n]=t}),ps=gi(function(e,t,n){var r=-1,i=\"function\"==typeof t,o=er(t),a=Zn(e)?Lo(e.length):[];return Ba(e,function(e){var s=i?t:o&&null!=e?e[t]:S;a[++r]=s?s.apply(e,n):Jn(e,t,n)}),a}),ls=pn(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),fs=In(pt,Ba),ds=In(lt,Na),hs=gi(function(e,t){if(null==e)return[];var n=t[2];return n&&Xn(t[0],t[1],n)&&(t.length=1),Zt(e,Ct(t),[])}),ms=ja||function(){return(new $o).getTime()},vs=gi(function(e,t,n){var r=O;if(n.length){var i=b(n,vs.placeholder);r|=P}return Nn(e,r,t,n,i)}),gs=gi(function(e,t){t=t.length?Ct(t):Ji(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=Nn(e[i],O,e)}return e}),ys=gi(function(e,t,n){var r=O|A;if(n.length){var i=b(n,ys.placeholder);r|=P}return Nn(t,r,e,n,i)}),bs=yn(T),xs=yn(I),ws=gi(function(e,t){return _t(e,1,t)}),_s=gi(function(e,t,n){return _t(e,t,n)}),ks=jn(),js=jn(!0),Ss=gi(function(e,t){if(t=Ct(t),\"function\"!=typeof e||!ot(t,a))throw new Jo(U);var n=t.length;return gi(function(r){for(var i=ka(r.length,n);i--;)r[i]=t[i](r[i]);return e.apply(this,r)})}),Es=Tn(P),Os=Tn(F),As=gi(function(e,t){return Nn(e,z,S,S,S,Ct(t))}),Cs=ba||function(e){return g(e)&&nr(e.length)&&ra.call(e)==W},Ts=ln(Lt),Is=ln(function(e,t,n){return n?vt(e,t,n):gt(e,t)}),Ps=bn(Is,ht),Fs=bn(Ts,or),Ms=kn(It),zs=kn(Pt),Bs=En(Da),Ns=En(qa),Ds=On(It),qs=On(Pt),Rs=wa?function(e){var t=null==e?S:e.constructor;return\"function\"==typeof t&&t.prototype===e||\"function\"!=typeof e&&Zn(e)?ur(e):Mi(e)?wa(e):[]}:ur,Ls=An(!0),$s=An(),Us=gi(function(e,t){if(null==e)return{};if(\"function\"!=typeof t[0]){var t=ct(Ct(t),Go);return ar(e,kt(eo(e),t))}var n=an(t[0],t[1],3);return sr(e,function(e,t,r){return!n(e,t,r)})}),Hs=gi(function(e,t){return null==e?{}:\"function\"==typeof t[0]?sr(e,an(t[0],t[1],3)):ar(e,Ct(t))}),Vs=vn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Ws=vn(function(e,t,n){return e+(n?\"-\":\"\")+t.toLowerCase()}),Ys=Cn(),Ks=Cn(!0),Gs=vn(function(e,t,n){return e+(n?\"_\":\"\")+t.toLowerCase()}),Js=vn(function(e,t,n){return e+(n?\" \":\"\")+(t.charAt(0).toUpperCase()+t.slice(1))}),Zs=gi(function(e,t){try{return e.apply(S,t)}catch(n){return Ii(n)?n:new Uo(n)}}),Qs=gi(function(e,t){return function(n){return Jn(n,e,t)}}),Xs=gi(function(e,t){return function(n){return Jn(e,n,t)}}),ec=zn(\"ceil\"),tc=zn(\"floor\"),nc=xn(ki,Oa),rc=xn(Vi,Aa),ic=zn(\"round\");return t.prototype=n.prototype,y.prototype=za(n.prototype),y.prototype.constructor=y,Z.prototype=za(n.prototype),Z.prototype.constructor=Z,Ve.prototype[\"delete\"]=We,Ve.prototype.get=Ye,Ve.prototype.has=Ke,Ve.prototype.set=Ge,Je.prototype.push=Qe,hi.Cache=Ve,t.after=pi,t.ary=li,t.assign=Is,t.at=ns,t.before=fi,t.bind=vs,t.bindAll=gs,t.bindKey=ys,t.callback=Eo,t.chain=Lr,t.chunk=hr,t.compact=mr,t.constant=Oo,t.countBy=rs,t.create=Gi,t.curry=bs,t.curryRight=xs,t.debounce=di,t.defaults=Ps,t.defaultsDeep=Fs,t.defer=ws,t.delay=_s,t.difference=Ha,t.drop=vr,t.dropRight=gr,t.dropRightWhile=yr,t.dropWhile=br,t.fill=xr,t.filter=Zr,t.flatten=_r,t.flattenDeep=kr,t.flow=ks,t.flowRight=js,t.forEach=as,t.forEachRight=ss,t.forIn=Bs,t.forInRight=Ns,t.forOwn=Ds,t.forOwnRight=qs,t.functions=Ji,t.groupBy=cs,t.indexBy=us,t.initial=Sr,t.intersection=Ya,t.invert=Xi,t.invoke=ps,t.keys=Rs,t.keysIn=eo,t.map=ei,t.mapKeys=Ls,t.mapValues=$s,t.matches=Co,t.matchesProperty=To,t.memoize=hi,t.merge=Ts,t.method=Qs,t.methodOf=Xs,t.mixin=Io,t.modArgs=Ss,t.negate=mi,t.omit=Us,t.once=vi,t.pairs=to,t.partial=Es,t.partialRight=Os,t.partition=ls,t.pick=Hs,t.pluck=ti,t.property=Mo,t.propertyOf=zo,t.pull=Ar,t.pullAt=Ka,t.range=Bo,t.rearg=As,t.reject=ni,t.remove=Cr,t.rest=Tr,t.restParam=gi,t.set=ro,t.shuffle=ii,t.slice=Ir,t.sortBy=si,t.sortByAll=hs,t.sortByOrder=ci,t.spread=yi,t.take=Pr,t.takeRight=Fr,t.takeRightWhile=Mr,t.takeWhile=zr,t.tap=$r,t.throttle=bi,t.thru=Ur,t.times=No,t.toArray=Yi,t.toPlainObject=Ki,t.transform=io,t.union=Za,t.uniq=Br,t.unzip=Nr,t.unzipWith=Dr,t.values=oo,t.valuesIn=ao,t.where=ui,t.without=Qa,t.wrap=xi,t.xor=qr,t.zip=Xa,t.zipObject=Rr,t.zipWith=es,t.backflow=js,t.collect=ei,t.compose=js,t.each=as,t.eachRight=ss,t.extend=Is,t.iteratee=Eo,t.methods=Ji,t.object=Rr,t.select=Zr,t.tail=Tr,t.unique=Br,Io(t,t),t.add=qo,t.attempt=Zs,t.camelCase=Vs,t.capitalize=uo,t.ceil=ec,t.clone=wi,t.cloneDeep=_i,t.deburr=po,t.endsWith=lo,t.escape=fo,t.escapeRegExp=ho,t.every=Jr,t.find=is,t.findIndex=Va,t.findKey=Ms,t.findLast=os,t.findLastIndex=Wa,t.findLastKey=zs,t.findWhere=Qr,t.first=wr,t.floor=tc,t.get=Zi,t.gt=ki,t.gte=ji,t.has=Qi,t.identity=Ao,t.includes=Xr,t.indexOf=jr,t.inRange=so,t.isArguments=Si,t.isArray=Cs,t.isBoolean=Ei,t.isDate=Oi,t.isElement=Ai,t.isEmpty=Ci,t.isEqual=Ti,t.isError=Ii,t.isFinite=Pi,t.isFunction=Fi,t.isMatch=zi,t.isNaN=Bi,t.isNative=Ni,t.isNull=Di,t.isNumber=qi,t.isObject=Mi,t.isPlainObject=Ri,t.isRegExp=Li,t.isString=$i,t.isTypedArray=Ui,t.isUndefined=Hi,t.kebabCase=Ws,t.last=Er,t.lastIndexOf=Or,t.lt=Vi,t.lte=Wi,t.max=nc,t.min=rc,t.noConflict=Po,t.noop=Fo,t.now=ms,t.pad=mo,t.padLeft=Ys,t.padRight=Ks,t.parseInt=vo,t.random=co,t.reduce=fs,t.reduceRight=ds,t.repeat=go,t.result=no,t.round=ic,t.runInContext=j,t.size=oi,t.snakeCase=Gs,t.some=ai,t.sortedIndex=Ga,t.sortedLastIndex=Ja,t.startCase=Js,t.startsWith=yo,t.sum=Ro,t.template=bo,t.trim=xo,t.trimLeft=wo,t.trimRight=_o,t.trunc=ko,t.unescape=jo,t.uniqueId=Do,t.words=So,t.all=Jr,t.any=ai,t.contains=Xr,t.eq=Ti,t.detect=is,t.foldl=fs,t.foldr=ds,t.head=wr,t.include=Xr,t.inject=fs,Io(t,function(){var e={};return It(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=ri,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return ri(t,e)}):ri(this.value())},t.VERSION=E,tt([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(e){t[e].placeholder=t}),tt([\"drop\",\"take\"],function(e,t){Z.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new Z(this);n=null==n?1:_a(ya(n)||0,0);var i=this.clone();return r?i.__takeCount__=ka(i.__takeCount__,n):i.__views__.push({size:n,type:e+(i.__dir__<0?\"Right\":\"\")}),i},Z.prototype[e+\"Right\"]=function(t){return this.reverse()[e](t).reverse()}}),tt([\"filter\",\"map\",\"takeWhile\"],function(e,t){var n=t+1,r=n!=$;Z.prototype[e]=function(e,t){var i=this.clone();return i.__iteratees__.push({iteratee:Ln(e,t,1),type:n}),i.__filtered__=i.__filtered__||r,i}}),tt([\"first\",\"last\"],function(e,t){var n=\"take\"+(t?\"Right\":\"\");Z.prototype[e]=function(){return this[n](1).value()[0]}}),tt([\"initial\",\"rest\"],function(e,t){var n=\"drop\"+(t?\"\":\"Right\");Z.prototype[e]=function(){return this.__filtered__?new Z(this):this[n](1)}}),tt([\"pluck\",\"where\"],function(e,t){var n=t?\"filter\":\"map\",r=t?qt:Mo;Z.prototype[e]=function(e){return this[n](r(e))}}),Z.prototype.compact=function(){return this.filter(Ao)},Z.prototype.reject=function(e,t){return e=Ln(e,t,1),this.filter(function(t){return!e(t)})},Z.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return n.__filtered__&&(e>0||0>t)?new Z(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==S&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n)},Z.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},Z.prototype.toArray=function(){return this.take(Aa)},It(Z.prototype,function(e,n){var r=/^(?:filter|map|reject)|While$/.test(n),i=/^(?:first|last)$/.test(n),o=t[i?\"take\"+(\"last\"==n?\"Right\":\"\"):n];o&&(t.prototype[n]=function(){var t=i?[1]:arguments,n=this.__chain__,a=this.__wrapped__,s=!!this.__actions__.length,c=a instanceof Z,u=t[0],p=c||Cs(a);p&&r&&\"function\"==typeof u&&1!=u.length&&(c=p=!1);var l=function(e){return i&&n?o(e,1)[0]:o.apply(S,ut([e],t))},f={func:Ur,args:[l],thisArg:S},d=c&&!s;if(i&&!n)return d?(a=a.clone(),a.__actions__.push(f),e.call(a)):o.call(S,this.value())[0];if(!i&&p){a=d?a:new Z(this);var h=e.apply(a,t);return h.__actions__.push(f),new y(h,n)}return this.thru(l)})}),tt([\"join\",\"pop\",\"push\",\"replace\",\"shift\",\"sort\",\"splice\",\"split\",\"unshift\"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Zo)[e],r=/^(?:push|sort|unshift)$/.test(e)?\"tap\":\"thru\",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),It(Z.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ma[i]||(Ma[i]=[]);o.push({name:n,func:r})}}),Ma[Pn(S,A).name]=[{name:\"wrapper\",func:S}],Z.prototype.clone=te,Z.prototype.reverse=re,Z.prototype.value=He,t.prototype.chain=Hr,t.prototype.commit=Vr,t.prototype.concat=ts,t.prototype.plant=Wr,t.prototype.reverse=Yr,t.prototype.toString=Kr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Gr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var S,E=\"3.10.1\",O=1,A=2,C=4,T=8,I=16,P=32,F=64,M=128,z=256,B=30,N=\"...\",D=150,q=16,R=200,L=1,$=2,U=\"Expected a function\",H=\"__lodash_placeholder__\",V=\"[object Arguments]\",W=\"[object Array]\",Y=\"[object Boolean]\",K=\"[object Date]\",G=\"[object Error]\",J=\"[object Function]\",Z=\"[object Map]\",Q=\"[object Number]\",X=\"[object Object]\",ee=\"[object RegExp]\",te=\"[object Set]\",ne=\"[object String]\",re=\"[object WeakMap]\",ie=\"[object ArrayBuffer]\",oe=\"[object Float32Array]\",ae=\"[object Float64Array]\",se=\"[object Int8Array]\",ce=\"[object Int16Array]\",ue=\"[object Int32Array]\",pe=\"[object Uint8Array]\",le=\"[object Uint8ClampedArray]\",fe=\"[object Uint16Array]\",de=\"[object Uint32Array]\",he=/\\b__p \\+= '';/g,me=/\\b(__p \\+=) '' \\+/g,ve=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,ge=/&(?:amp|lt|gt|quot|#39|#96);/g,ye=/[&<>\"'`]/g,be=RegExp(ge.source),xe=RegExp(ye.source),we=/<%-([\\s\\S]+?)%>/g,_e=/<%([\\s\\S]+?)%>/g,ke=/<%=([\\s\\S]+?)%>/g,je=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,Se=/^\\w*$/,Ee=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g,Oe=/^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,Ae=RegExp(Oe.source),Ce=/[\\u0300-\\u036f\\ufe20-\\ufe23]/g,Te=/\\\\(\\\\)?/g,Ie=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pe=/\\w*$/,Fe=/^0[xX]/,Me=/^\\[object .+?Constructor\\]$/,ze=/^\\d+$/,Be=/[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g,Ne=/($^)/,De=/['\\n\\r\\u2028\\u2029\\\\]/g,qe=function(){var e=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",t=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+\";return RegExp(e+\"+(?=\"+e+t+\")|\"+e+\"?\"+t+\"|\"+e+\"+|[0-9]+\",\"g\")}(),Re=[\"Array\",\"ArrayBuffer\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Math\",\"Number\",\"Object\",\"RegExp\",\"Set\",\"String\",\"_\",\"clearTimeout\",\"isFinite\",\"parseFloat\",\"parseInt\",\"setTimeout\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\"],Le=-1,$e={};$e[oe]=$e[ae]=$e[se]=$e[ce]=$e[ue]=$e[pe]=$e[le]=$e[fe]=$e[de]=!0,$e[V]=$e[W]=$e[ie]=$e[Y]=$e[K]=$e[G]=$e[J]=$e[Z]=$e[Q]=$e[X]=$e[ee]=$e[te]=$e[ne]=$e[re]=!1;var Ue={};Ue[V]=Ue[W]=Ue[ie]=Ue[Y]=Ue[K]=Ue[oe]=Ue[ae]=Ue[se]=Ue[ce]=Ue[ue]=Ue[Q]=Ue[X]=Ue[ee]=Ue[ne]=Ue[pe]=Ue[le]=Ue[fe]=Ue[de]=!0,Ue[G]=Ue[J]=Ue[Z]=Ue[te]=Ue[re]=!1;var He={\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"Ç\":\"C\",\"ç\":\"c\",\"Ð\":\"D\",\"ð\":\"d\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"Ñ\":\"N\",\"ñ\":\"n\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"Ý\":\"Y\",\"ý\":\"y\",\"ÿ\":\"y\",\"Æ\":\"Ae\",\"æ\":\"ae\",\"Þ\":\"Th\",\"þ\":\"th\",\"ß\":\"ss\"},Ve={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"`\":\"&#96;\"},We={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\",\"&#96;\":\"`\"},Ye={\"function\":!0,object:!0},Ke={0:\"x30\",1:\"x31\",2:\"x32\",3:\"x33\",4:\"x34\",5:\"x35\",6:\"x36\",7:\"x37\",8:\"x38\",9:\"x39\",A:\"x41\",B:\"x42\",C:\"x43\",D:\"x44\",E:\"x45\",F:\"x46\",a:\"x61\",b:\"x62\",c:\"x63\",d:\"x64\",e:\"x65\",f:\"x66\",n:\"x6e\",r:\"x72\",t:\"x74\",u:\"x75\",v:\"x76\",x:\"x78\"},Ge={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Je=Ye[typeof n]&&n&&!n.nodeType&&n,Ze=Ye[typeof t]&&t&&!t.nodeType&&t,Qe=Je&&Ze&&\"object\"==typeof e&&e&&e.Object&&e,Xe=Ye[typeof self]&&self&&self.Object&&self,et=Ye[typeof window]&&window&&window.Object&&window,tt=Ze&&Ze.exports===Je&&Je,nt=Qe||et!==(this&&this.window)&&et||Xe||this,rt=j();\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd?(nt._=rt,define(function(){return rt})):Je&&Ze?tt?(Ze.exports=rt)._=rt:Je._=rt:nt._=rt}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],415:[function(e,t,n){t.exports={_args:[[\"sendgrid\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\"]],_from:\"sendgrid@*\",_id:\"sendgrid@2.0.0\",_inCache:!0,_installable:!0,_location:\"/sendgrid\",_nodeVersion:\"4.1.2\",_npmUser:{email:\"elmer@thinkingserious.com\",name:\"thinkingserious\"},_npmVersion:\"3.3.5\",_phantomChildren:{},_requested:{name:\"sendgrid\",raw:\"sendgrid\",rawSpec:\"\",scope:null,spec:\"*\",type:\"range\"},_requiredBy:[\"/\"],_resolved:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\",_shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",_shrinkwrap:null,_spec:\"sendgrid\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib\",author:{email:\"info@sendgrid.com\",name:\"SendGrid\",url:\"sendgrid.com\"},bugs:{url:\"https://github.com/sendgrid/sendgrid-nodejs/issues\"},contributors:[{name:\"Kyle Partridge\",email:\"kyle.partridge@sendgrid.com\"},{name:\"David Tomberlin\",email:\"david.tomberlin@sendgrid.com\"},{name:\"Swift\",email:\"swift@sendgrid.com\"},{name:\"Brandon West\",email:\"brandon.west@sendgrid.com\"},{name:\"Scott Motte\",email:\"scott.motte@sendgrid.com\"},{name:\"Robert Acosta\",email:\"robert.acosta@sendgrid.com\"}],dependencies:{lodash:\"^3.0.1 || ^2.0.0\",mime:\"^1.2.9\",request:\"^2.60.0\",smtpapi:\"^1.2.0\"},description:\"Official SendGrid NodeJS library.\",devDependencies:{chai:\">= 0.1.6\",dotenv:\"0.0.2\",mocha:\">= 0.9.0\",nock:\"^0.16.0\",sinon:\"^1.6.0\"},directories:{},dist:{shasum:\"e24de0b43479e0425fb6f27374f774cbc66ba190\",tarball:\"https://registry.npmjs.org/sendgrid/-/sendgrid-2.0.0.tgz\"},engines:{node:\">= 0.4.7\"},gitHead:\"a5d9f8985136d948a8c47e525192a87ed60f61bf\",homepage:\"http://sendgrid.com\",license:\"MIT\",maintainers:[{name:\"siyegen\",email:\"siyegen@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"partkyle\",email:\"partkyle@gmail.com\"},{name:\"theycallmeswift\",email:\"theycallmeswift@gmail.com\"},{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"mkbernier\",email:\"mkbernier@gmail.com\"},{name:\"thinkingserious\",email:\"elmer@thinkingserious.com\"}],name:\"sendgrid\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/sendgrid-nodejs.git\"},scripts:{skipped:\"mocha --grep '#skip'\",test:\"mocha --grep '#skip' --invert\"},version:\"2.0.0\"}},{}],416:[function(e,t,n){(function(n){\"use strict\";function r(e,t){if(!e)throw new TypeError(\"root path required\");if(\"string\"!=typeof e)throw new TypeError(\"root path must be a string\");var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,s=n.setHeaders;if(s&&\"function\"!=typeof s)throw new TypeError(\"option setHeaders must be function\");n.maxage=n.maxage||n.maxAge||0,n.root=u(e);var l=i?a():o();return function(e,t,i){if(\"GET\"!==e.method&&\"HEAD\"!==e.method)return r?i():(t.statusCode=405,t.setHeader(\"Allow\",\"GET, HEAD\"),t.setHeader(\"Content-Length\",\"0\"),void t.end());var o=!r,a=c.original(e),u=c(e).pathname;\"/\"===u&&\"/\"!==a.pathname.substr(-1)&&(u=\"\");var f=p(e,u,n);f.on(\"directory\",l),s&&f.on(\"headers\",s),r&&f.on(\"file\",function(){o=!0}),f.on(\"error\",function(e){return!o&&e.statusCode<500?void i():void i(e)}),f.pipe(t)}}function i(e){for(var t=0;t<e.length&&\"/\"===e[t];t++);return t>1?\"/\"+e.substr(t):e}function o(){return function(){this.error(404)}}function a(){return function(){if(this.hasTrailingSlash())return void this.error(404);var e=c.original(this.req);e.path=null,e.pathname=i(e.pathname+\"/\");var t=l.format(e),r='Redirecting to <a href=\"'+s(t)+'\">'+s(t)+\"</a>\\n\",o=this.res;o.statusCode=303,o.setHeader(\"Content-Type\",\"text/html; charset=UTF-8\"),o.setHeader(\"Content-Length\",n.byteLength(r)),o.setHeader(\"X-Content-Type-Options\",\"nosniff\"),o.setHeader(\"Location\",t),o.end(r)}}var s=e(\"escape-html\"),c=e(\"parseurl\"),u=e(\"path\").resolve,p=e(\"send\"),l=e(\"url\");t.exports=r,t.exports.mime=p.mime}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"escape-html\":96,parseurl:364,path:void 0,send:409,url:void 0}],417:[function(e,t,n){function r(e,t){for(var n=e.length,r=new Array(n),i=0;n>i;i++)r[i]=t(e[i]);return r}function i(e){return decodeURI(e.replace(/~1/g,\"/\").replace(/~0/g,\"~\"))}function o(e){if(\"string\"!=typeof e)throw new Error(\"Invalid JSON Pointer: invalid type (\"+typeof e+\")\");var t=r((\"#\"===e[0]?e.substr(1):e).split(\"/\"),i);if(\"\"!==t[0])throw new Error('Invalid JSON Pointer (\"'+e+'\"): non-empty pointers must begin with \"/\" or \"#/\"');return t}function a(e,t){for(var n=1,r=e.length;r>n;n++)if(t=t&&t[e[n]],void 0===t)return;return t}function s(e,t,n){for(var r=1,i=e.length-1;i>r;r++)if(t=(t||void 0)&&t[e[r]],void 0===t)return!1;if(\"object\"!=typeof t)return!1;var o=e[r];return\"-\"===o?Array.isArray(t)?(t[t.length]=n,!0):!1:(t[o]=n,!0)}var c={get:function(e){return a(this.__arrPointer,e)},set:function(e,t){return s(this.__arrPointer,e,t)}};t.exports=function(e){return Object.create(c,{__sPointer:{writable:!1,configurable:!1,enumerable:!1,value:e},__arrPointer:{writable:!1,configurable:!1,enumerable:!1,value:o(e)}})}},{}],418:[function(e,t,n){var r=e(\"skeemas-json-pointer\"),i={add:function(e,t){if(\"string\"!=typeof e)throw new Error('Unable to add JSON Ref: uri must be of type \"string\"');if(~e.indexOf(\"#\"))throw new Error(\"Unable to add JSON Ref (\"+e+\"): uri cannot include a fragment identifier (#)\");return this.__refs[e]=t,this},remove:function(e){return delete this.__refs[e],this},get:function(e,t,n){if(\"string\"!=typeof e)throw new Error('Unable to get JSON Ref: uri must be of type \"string\"');var i=e.split(\"#\");if(i.length>2)throw new Error(\"Unable to get JSON Ref (\"+e+\"): uri cannot contain multiple fragment identifiers (#)\");if(i[0]&&(t=this.__refs[i[0]]),!t)throw new Error(\"Unable to locate JSON Ref (\"+i[0]+\")\");return 1===i.length||n?t:r(i[1]).get(t)}};t.exports=function(){return Object.create(i,{__refs:{writable:!1,configurable:!1,enumerable:!1,value:{}}})}},{\"skeemas-json-pointer\":417}],419:[function(e,t,n){function r(){return Object.create(s,{_refs:{enumerable:!1,writable:!1,value:a()}})}var i=e(\"./validators\"),o=e(\"./validation-context\"),a=e(\"skeemas-json-refs\"),s={addRef:function(e,t){if(\"object\"==typeof e&&(t=e,e=null),e=e||t.id,!e)throw new Error(\"Cannot add a json schema reference without a uri/id.\");return this._refs.add(e,t),this},validate:function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");if(\"string\"==typeof t){var r=t;if(t=this._refs.get(r),!t)throw new Error(\"Unable to locate schema (\"+r+\"). Did you call addRef with this schema?\")}var a=o(t,{instance:e,refs:this._refs,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(a,e,t),a.result.valid&&(a.result.cleanInstance=a.cleanSubject),a.result}};t.exports=r,t.exports.validate=function(e,t,n){if(void 0===e)throw new Error(\"Instance undefined in call to validate.\");if(!t)throw new Error(\"No schema specified in call to validate.\");var r=o(t,{instance:e,breakOnError:n&&n.breakOnError,cleanWithDefaults:n&&n.cleanWithDefaults});return i.base(r,e,t),r.result.valid&&(r.result.cleanInstance=r.cleanSubject),r.result},t.exports.use=function(e){if(\"function\"!=typeof e)throw new Error(\"skeemas.use called with non-function. Plugins are in the form function(skeemas){}.\");return e(s),this}},{\"./validation-context\":420,\"./validators\":426,\"skeemas-json-refs\":418}],420:[function(e,t,n){var r=e(\"./validation-result\"),i=e(\"skeemas-json-refs\"),o={addError:function(e,t,n){return this.silent||this.result.addError(e,t,n,this),this},silently:function(e){this.silent=!0;var t=e();return this.silent=!1,t},subcontext:function(e){return a(e,this,this.silent)},runValidations:function(e,t,n){var r,i=this.breakOnError,o=Array.prototype.slice.call(arguments),a=!0;o[0]=this;for(var s=0,c=e.length;c>s;s++)if(r=e[s],r[0]&&(a=r[1].apply(null,o)&&a,i&&!a))return!1;return a}},a=t.exports=function(e,t,n){return t=t||{},Object.create(o,{id:{enumerable:!0,writable:!1,value:[]},schema:{enumerable:!0,writable:!1,value:e||t.schema},path:{enumerable:!0,writable:!1,value:t.path&&t.path.slice()||[\"#\"]},result:{enumerable:!0,writable:!1,value:!n&&t.result||r(t.instance)},refs:{enumerable:!0,writable:!1,value:t.refs||i()},silent:{enumerable:!0,writable:!0,value:!1},breakOnError:{enumerable:!0,writable:!0,value:t.breakOnError||!1},cleanWithDefaults:{enumerable:!0,writable:!0,value:t.cleanWithDefaults||!1},cleanSubject:{enumerable:!0,writable:!0,value:void 0}})}},{\"./validation-result\":421,\"skeemas-json-refs\":418}],421:[function(e,t,n){function r(){return this.message+\" (pointer: \"+this.context+\")\"}var i={addError:function(e,t,n,i){return this.errors.push({message:e,context:i.path.join(\"/\"),value:t,criteria:n,toString:r}),this.valid=!1,this}};t.exports=function(e){return Object.create(i,{instance:{enumerable:!0,writable:!1,value:e},cleanInstance:{enumerable:!0,writable:!0,value:void 0},valid:{enumerable:!0,writable:!0,value:!0},errors:{enumerable:!0,writable:!1,value:[]}})}},{}],422:[function(e,t,n){function r(e,t,n,r){var s=!0;return Array.isArray(n.items)?(s=o(e,t,n,r),\"additionalItems\"in n&&(s=a(e,t,n,r)&&s)):n.items&&(s=i(e,t,n,r)),s}function i(e,t,n,r){var i=n.items;if(\"object\"!=typeof i)throw new Error('Invalid schema: invalid \"items\"');for(var o=e.path.length,a=0,s=t.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function o(e,t,n,r){for(var i=n.items,o=e.path.length,a=0,s=i.length;s>a;a++){if(e.path[o]=a,!p(e,t[a],i[a]))return e.addError('Failed \"items\" criteria',t,i),e.path.length=o,!1;r.push(e.cleanSubject)}return e.path.length=o,!0}function a(e,t,n,r){var i=n.items.length,o=t.length,a=n.additionalItems;if(a===!1)return i>=o?!0:(e.addError('Failed \"additionalItems\" criteria: no additional items are allowed',t,n),!1);if(\"object\"!=typeof a)throw new Error('Invalid schema: invalid \"additionalItems\"');for(var s=e.path.length;o>i;i++){if(e.path[s]=i,!p(e,t[i],a))return e.addError('Failed \"additionalItems\" criteria',t,n),e.path.length=s,!1;r.push(e.cleanSubject)}return e.path.length=s,!0}function s(e,t,n){return t.length<n.minItems?(e.addError('Failed \"minItems\" criteria',t,n),!1):!0}function c(e,t,n){return t.length>n.maxItems?(e.addError('Failed \"maxItems\" criteria',t,n),!1):!0}function u(e,t,n){for(var r,i=t.length;i--;)for(r=i;r--;)if(l(t[i],t[r]))return e.addError('Failed \"uniqueItems\" criteria',t,n),!1;return!0}var p=e(\"./base\"),l=e(\"./deep-equal\");t.exports=function(e,t,n){if(!Array.isArray(t))return e.addError(\"Failed type:array criteria\",n),!1;var i=[],o=e.runValidations([[\"minItems\"in n,s],[\"maxItems\"in n,c],[\"uniqueItems\"in n,u],[\"items\"in n,r]],t,n,i);return\"items\"in n?e.cleanSubject=i:e.cleanSubject=t.slice(),o}},{\"./base\":423,\"./deep-equal\":425}],423:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return\"number\"===t&&e===Math.round(e)?\"integer\":t}function i(e,t,n){var r=n.format,i=y[r];if(!i)throw new Error(\"Invalid schema: unknown format (\"+r+\")\");var o=i.test?i.test(t):i(t);return o||e.addError('Failed \"format\" criteria ('+r+\")\",t,n),o}function o(e,t,n,r){for(var i,o,a=r.length;a--;){if(i=r[a],\"any\"===i)return!0;if(\"object\"!=typeof i){if(!(i in g.types))throw new Error(\"Invalid schema: invalid type (\"+i+\")\");if(\"number\"===i&&\"integer\"===n)return!0;if(n===i)return!0}else if(o=e.silently(function(){return v(e,t,i)}))return!0}return!1}function a(e,t,n){var r=n.allOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"allOf\" value must be an array');for(var i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o?!0:(e.addError('Failed \"allOf\" criteria',t,r),!1)}function s(e,t,n){var r=n.anyOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"anyOf\" value must be an array');var i=e.silently(function(){for(var n=r.length;n--;)if(v(e,t,r[n]))return!0;return!1});return i?!0:(e.addError('Failed \"anyOf\" criteria',t,r),!1)}function c(e,t,n){var r=n.oneOf;if(!Array.isArray(r))throw new Error('Invalid schema: \"oneOf\" value must be an array');var i=r.length,o=0;return e.silently(function(){for(;i--;)v(e,t,r[i])&&(o+=1)}),1===o?!0:(e.addError('Failed \"oneOf\" criteria',t,r),!1)}function u(e,t,n){var r=n.not,i=e.silently(function(){return!v(e,t,r)});return i?!0:(e.addError('Failed \"not\" criteria',t,n),!1)}function p(e,t,n,r){var i=Array.isArray(n.disallow)?n.disallow:[n.disallow],a=!o(e,t,r,i);return a||e.addError('Failed \"disallow\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function l(e,t,n){for(var r=Array.isArray(n[\"extends\"])?n[\"extends\"]:[n[\"extends\"]],i=r.length,o=0;i--;)v(e,t,r[i])||(o+=1);return 0===o}function f(e,t,n){var r=n[\"enum\"];if(!Array.isArray(r))throw new Error('Invalid schema: \"enum\" value must be an array');for(var i=r.length;i--;)if(g.deepEqual(t,r[i]))return!0;return e.addError('Failed \"enum\" criteria',t,r),!1}function d(e,t,n,r){var i=Array.isArray(n.type)?n.type:[n.type],a=o(e,t,r,i);return a||e.addError('Failed \"type\" criteria: expecting '+i.join(\" or \")+\", found \"+r,t,n),a}function h(e,t,n,r){return g.types[r](e,t,n)}function m(e,t,n){var r=/^#|\\//.test(n.$ref),i=r?n.$ref:e.id.join(\"\")+n.$ref,o=e.refs.get(i,e.schema),a=e;\"#\"!==n.$ref[0]&&(a=e.subcontext(e.refs.get(i,e.schema,!0)));var s=v(a,t,o);return e.cleanSubject=a.cleanSubject,s}function v(e,t,n){if(n.$ref)return m(e,t,n);n.id&&e.id.push(n.id);var o=e.runValidations([[\"type\"in n,d],[\"disallow\"in n,p],[\"enum\"in n,f],[!0,h],[\"format\"in n,i],[\"extends\"in n,l],[\"allOf\"in n,a],[\"anyOf\"in n,s],[\"oneOf\"in n,c],[\"not\"in n,u]],t,n,r(t));return n.id&&e.id.pop(),o}var g=e(\"./\"),y={\"date-time\":/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}[t ]\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?([zZ]|[+-]\\d{2}:\\d{2})$/i,date:/^\\d{4}-(0[0-9]{1}|1[0-2]{1})-[0-9]{2}$/,time:/^\\d{2}:\\d{2}:\\d{2}$/,color:/^(#[0-9a-f]{3}|#[0-9a-f]{6}|aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)$/i,style:/^(?:\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;)*\\s*-?[_A-Z]+[_A-Z0-9-]*:[^\\n\\r\\f;]+;?\\s*$/i,phone:/^(?:(?:\\(?(?:00|\\+)(?:[1-4]\\d\\d|[1-9]\\d?)\\)?)?[\\-\\.\\ \\\\\\/]?)?(?:(?:\\(?\\d{1,}\\)?[\\-\\.\\ \\\\\\/]?){0,})(?:[\\-\\.\\ \\\\\\/]?(?:#|ext\\.?|extension|x)[\\-\\.\\ \\\\\\/]?(?:\\d+))?$/i,uri:/^(?:([a-z0-9+.-]+:\\/\\/)((?:(?:[a-z0-9-._~!$&'()*+,;=:]|%[0-9A-F]{2})*)@)?((?:[a-z0-9-._~!$&'()*+,;=]|%[0-9A-F]{2})*)(:(?:\\d*))?(\\/(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?|([a-z0-9+.-]+:)(\\/?(?:[a-z0-9-._~!$&'()*+,;=:@]|%[0-9A-F]{2})+(?:[a-z0-9-._~!$&'()*+,;=:@\\/]|%[0-9A-F]{2})*)?)(\\?(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?(#(?:[a-z0-9-._~!$&'()*+,;=:\\/?@]|%[0-9A-F]{2})*)?$/i,email:/^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\\.)+[A-Z]{2,}$/i,ipv4:/^(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d{1,2}|1\\d\\d|2[0-4]\\d|25[0-5])$/,ipv6:/^\\s*((([0-9A-F]{1,4}:){7}([0-9A-F]{1,4}|:))|(([0-9A-F]{1,4}:){6}(:[0-9A-F]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){5}(((:[0-9A-F]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-F]{1,4}:){4}(((:[0-9A-F]{1,4}){1,3})|((:[0-9A-F]{1,4})((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){3}(((:[0-9A-F]{1,4}){1,4})|((:[0-9A-F]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){2}(((:[0-9A-F]{1,4}){1,5})|((:[0-9A-F]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-F]{1,4}:){1}(((:[0-9A-F]{1,4}){1,6})|((:[0-9A-F]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-F]{1,4}){1,7})|((:[0-9A-F]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/i,\nhostname:/^(?=.{1,255}$)[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?(?:\\.[0-9A-Z](?:(?:[0-9A-Z]|-){0,61}[0-9A-Z])?)*\\.?$/i,\"utc-millisec\":function(e){var t=parseInt(e,10);return!isNaN(t)&&t.toString()===e.toString()},regex:function(e){try{new RegExp(e)}catch(t){return!1}return!0}};y[\"host-name\"]=y.hostname,y[\"ip-address\"]=y.ipv4,t.exports=v},{\"./\":426}],424:[function(e,t,n){function r(e,t,n){return\"boolean\"!=typeof t?(e.addError(\"Failed type:boolean criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],425:[function(e,t,n){function r(e){var t=typeof e;if(\"object\"===t){if(null===e)return\"null\";if(Array.isArray(e))return\"array\"}return t}function i(e,t){var n=e.length;if(n!==t.length)return!1;for(;n--;)if(!a(e[n],t[n]))return!1;return!0}function o(e,t){var n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(;r--;)if(!a(e[n[r]],t[n[r]]))return!1;return!0}var a=t.exports=function(e,t){if(e===t)return!0;var n=r(e);return n!==r(t)?!1:\"array\"===n?i(e,t):\"object\"===n?o(e,t):!1}},{}],426:[function(e,t,n){n.types={any:function(){return!0},array:e(\"./array\"),\"boolean\":e(\"./boolean\"),integer:e(\"./number\"),\"null\":e(\"./null\"),number:e(\"./number\"),object:e(\"./object\"),string:e(\"./string\")},n.deepEqual=e(\"./deep-equal\"),n.base=e(\"./base\")},{\"./array\":422,\"./base\":423,\"./boolean\":424,\"./deep-equal\":425,\"./null\":427,\"./number\":428,\"./object\":429,\"./string\":430}],427:[function(e,t,n){function r(e,t,n){return null!==t?(e.addError(\"Failed type:null criteria\",t,n),!1):(e.cleanSubject=t,!0)}t.exports=r},{}],428:[function(e,t,n){function r(e,t,n){return\"number\"!=typeof t?(e.addError(\"Failed type:number criteria\",t,n),!1):!0}function i(e,t,n){return\"number\"!=typeof t||t!==Math.round(t)?(e.addError(\"Failed type:integer criteria\",t,n),!1):!0}function o(e,t,n){var r=n.exclusiveMinimum?t>n.minimum:t>=n.minimum;return r||e.addError('Failed \"minimum\" criteria',t,n),r}function a(e,t,n){var r=n.exclusiveMaximum?t<n.maximum:t<=n.maximum;return r||e.addError('Failed \"maximum\" criteria',t,n),r}function s(e,t,n,r){r=r||\"multipleOf\";var i=t/n[r]%1===0;return i||e.addError('Failed \"'+r+'\" criteria',t,n),i}function c(e,t,n){return s(e,t,n,\"divisibleBy\")}t.exports=function(e,t,n){var u=!0;return\"number\"===n.type&&(u=r(e,t,n)),\"integer\"===n.type&&(u=i(e,t,n)),e.cleanSubject=t,u&&e.runValidations([[\"minimum\"in n,o],[\"maximum\"in n,a],[\"multipleOf\"in n,s],[\"divisibleBy\"in n,c]],t,n)}},{}],429:[function(e,t,n){function r(e,t,n,r){var i=n.properties,o=!0;for(var a in i)a in t?(e.path.push(a),o=f(e,t[a],i[a])&&o,e.path.pop(),r[a]=e.cleanSubject):i[a].required===!0&&(e.addError('Failed \"required\" criteria: missing property ('+a+\")\",t,i),o=!1);return o}function i(e,t,n,r){var i=n.patternProperties;if(\"object\"!=typeof i)throw new Error('Invalid schema: \"patternProperties\" must be an object');for(var o,a,s=!0,c=Object.keys(i),u=c.length,p=Object.keys(t),l=p.length;l--;)for(a=p[l],o=u;o--;)a.match(c[o])&&(e.path.push(a),s=f(e,t[a],i[c[o]])&&s,e.path.pop(),a in r||(r[a]=e.cleanSubject));return s}function o(e,t,n,r){var i=n.additionalProperties;if(i===!0)return!0;var o=Object.keys(t),a=o.length;if(i===!1){for(;a--;)if(!(o[a]in r))return e.addError('Failed \"additionalProperties\" criteria: unexpected property ('+o[a]+\")\",t,n),!1;return!0}if(\"object\"!=typeof i)throw new Error('Invalid schema: \"additionalProperties\" must be a valid schema');for(var s;a--;)o[a]in r||(e.path.push(o[a]),s=f(e,t[o[a]],i)&&s,e.path.pop(),r[o[a]]=e.cleanSubject);return s}function a(e,t,n){var r=Object.keys(t);return r.length<n.minProperties?(e.addError('Failed \"minProperties\" criteria',t,n),!1):!0}function s(e,t,n){var r=Object.keys(t);return r.length>n.maxProperties?(e.addError('Failed \"maxProperties\" criteria',t,n),!1):!0}function c(e,t,n){var r=n.required;if(!Array.isArray(r))throw new Error('Invalid schema: \"required\" must be an array');for(var i=!0,o=r.length;o--;)r[o]in t||(e.addError('Missing required property \"'+r[o]+'\"',t,r[o]),i=!1);return i}function u(e,t,n){var r=n.dependencies;if(\"object\"!=typeof r)throw new Error('Invalid schema: \"dependencies\" must be an object');for(var i,o,a=!0,s=Object.keys(r),c=s.length;c--;)if(s[c]in t)if(i=r[s[c]],\"string\"==typeof i&&(i=[i]),Array.isArray(i))for(o=i.length;o--;)i[o]in t||(e.addError('Missing required property \"'+i[o]+'\"',t,i[o]),a=!1);else{if(\"object\"!=typeof i)throw new Error(\"Invalid schema: dependencies must be string, array, or object\");a=f(e,t,i)&&a}return a}function p(e,t){var n=t.properties;if(n)for(var r in n)\"default\"in n[r]&&!(r in e)&&(e[r]=n[r][\"default\"])}function l(e,t,n){if(\"object\"!=typeof t)return e.addError(\"Failed type:object criteria\",t,n),!1;var l={},f=e.runValidations([[\"properties\"in n,r],[\"patternProperties\"in n,i],[\"additionalProperties\"in n,o],[\"minProperties\"in n,a],[\"maxProperties\"in n,s],[Array.isArray(n.required),c],[\"dependencies\"in n,u]],t,n,l);return e.cleanWithDefaults&&p(l,n),e.cleanSubject=l,f}var f=e(\"./base\");t.exports=l},{\"./base\":423}],430:[function(e,t,n){function r(e,t,n){return s(t).length<n.minLength?(e.addError('Failed \"minLength\" criteria',t,n),!1):!0}function i(e,t,n){return s(t).length>n.maxLength?(e.addError('Failed \"maxLength\" criteria',t,n),!1):!0}function o(e,t,n){var r=n.pattern;return t.match(r)?!0:(e.addError('Failed \"pattern\" criteria ('+r+\")\",t,r),!1)}function a(e,t,n){return\"string\"!=typeof t?(e.addError(\"Failed type:string criteria\",n),!1):(e.cleanSubject=t,e.runValidations([[\"minLength\"in n,r],[\"maxLength\"in n,i],[\"pattern\"in n,o]],t,n))}var s=e(\"punycode\").ucs2.decode;t.exports=a},{punycode:void 0}],431:[function(e,t,n){arguments[4][354][0].apply(n,arguments)},{dup:354}],432:[function(e,t,n){!function(){\"use strict\";var n=e(\"./../package.json\"),r=function(e){this.version=n.version,e=e||{},this.header={},this.header.to=e.to||[],this.header.sub=e.sub||{},this.header.unique_args=e.unique_args||{},this.header.category=e.category||[],this.header.section=e.section||{},this.header.filters=e.filters||{},this.header.send_at=e.send_at||\"\",this.header.send_each_at=e.send_each_at||[],this.header.asm_group_id=e.asm_group_id||{},this.header.ip_pool=e.ip_pool||\"\"};r.prototype.addTo=function(e){e instanceof Array?this.header.to=this.header.to.concat(e):this.header.to.push(e)},r.prototype.setTos=function(e){e instanceof Array?this.header.to=e:this.header.to=[e]},r.prototype.addSubstitution=function(e,t){void 0===this.header.sub[e]&&(this.header.sub[e]=[]),t instanceof Array?this.header.sub[e]=this.header.sub[e].concat(t):this.header.sub[e].push(t)},r.prototype.setSubstitutions=function(e){this.header.sub=e},r.prototype.addUniqueArg=function(e,t){this.header.unique_args[e]=t},r.prototype.setUniqueArgs=function(e){this.header.unique_args=e},r.prototype.addCategory=function(e){e instanceof Array?this.header.category.concat(e):this.header.category.push(e)},r.prototype.setCategories=function(e){e instanceof Array?this.header.category=e:this.header.category=[e]},r.prototype.addSection=function(e,t){this.header.section[e]=t},r.prototype.setSections=function(e){this.header.section=e},r.prototype.addFilter=function(e,t,n){void 0===this.header.filters[e]&&(this.header.filters[e]={settings:{}}),this.header.filters[e].settings[t]=n},r.prototype.setFilters=function(e){this.header.filters=e},r.prototype.setSendAt=function(e){this.header.send_each_at=[],this.header.send_at=e},r.prototype.setSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at=e},r.prototype.addSendEachAt=function(e){this.header.send_at=\"\",this.header.send_each_at.push(e)},r.prototype.setASMGroupID=function(e){this.header.asm_group_id=e},r.prototype.setIpPool=function(e){this.header.ip_pool=e},r.prototype.jsonObject=function(){var e={};for(var t in this.header)(this.header.hasOwnProperty(t)&&\"object\"==typeof this.header[t]&&Object.keys(this.header[t]).length||\"number\"==typeof this.header[t]&&this.header[t]||\"string\"==typeof this.header[t]&&this.header[t])&&(e[t]=this.header[t]);return e},r.prototype.jsonString=function(){var e=this.jsonObject(),t=JSON.stringify(e);return this.escapeUnicode(t)},r.prototype.escapeUnicode=function(e){return e.replace(/[^ -~]/g,function(e){var t=e.charCodeAt(0);return\"\\\\u\"+(16>t?\"000\":256>t?\"00\":4096>t?\"0\":\"\")+t.toString(16)})},t.exports=r}()},{\"./../package.json\":433}],433:[function(e,t,n){t.exports={_args:[[\"smtpapi@^1.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\"]],_from:\"smtpapi@>=1.2.0 <2.0.0\",_id:\"smtpapi@1.2.0\",_inCache:!0,_installable:!0,_location:\"/smtpapi\",_nodeVersion:\"0.12.6\",_npmUser:{email:\"eddiezane@gmail.com\",name:\"eddiezane\"},_npmVersion:\"2.11.2\",_phantomChildren:{},_requested:{name:\"smtpapi\",raw:\"smtpapi@^1.2.0\",rawSpec:\"^1.2.0\",scope:null,spec:\">=1.2.0 <2.0.0\",type:\"range\"},_requiredBy:[\"/sendgrid\"],_resolved:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\",_shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",_shrinkwrap:null,_spec:\"smtpapi@^1.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/sendgrid\",author:{name:\"scottmotte\"},bugs:{url:\"https://github.com/sendgrid/smtpapi-nodejs/issues\"},contributors:[{name:\"Yamil Asusta\",email:\"yamil@sendgrid.com\",url:\"yamilasusta.com\"},{name:\"Scott Motte\",email:\"scott@scottmotte.com\",url:\"scottmotte.com\"}],dependencies:{},description:\"Build SendGrid X-SMTPAPI headers in nodejs.\",devDependencies:{mocha:\"\",should:\"\"},directories:{test:\"test\"},dist:{shasum:\"3508f0bcd57b09b224636b39538d5a5190f3bd07\",tarball:\"https://registry.npmjs.org/smtpapi/-/smtpapi-1.2.0.tgz\"},gitHead:\"866604875fe6b3baef846ebee50342cc19aa990e\",homepage:\"https://github.com/sendgrid/smtpapi-nodejs#readme\",keywords:[\"email\",\"headers\",\"sendgrid\",\"smtp\",\"smtpapi\",\"x-smtpapi\"],license:\"BSD\",main:\"lib/main.js\",maintainers:[{name:\"scottmotte\",email:\"scott@scottmotte.com\"},{name:\"nquinlan\",email:\"nick@nicholasquinlan.com\"},{name:\"elbuo8\",email:\"yamil.asusta@upr.edu\"},{name:\"eddiezane\",email:\"eddiezane@gmail.com\"},{name:\"motdotla\",email:\"mot@mot.la\"}],name:\"smtpapi\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/sendgrid/smtpapi-nodejs.git\"},scripts:{test:\"mocha test/*.js\"},version:\"1.2.0\"}},{}],434:[function(e,t,n){t.exports=e(\"./lib\")},{\"./lib\":435}],435:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=function(e,t){return c&&(clearTimeout(c),c=0),l.removeAllListeners(),l.once(\"error\",a.ignore),l.close(),n(e,t)};p=o.once(p);var l=r.createSocket(\"udp4\");l.once(\"error\",function(e){return p(e)}),l.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return p(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return p(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,l=r.transmitTimestamp,f=n;return r.d=f-o-(l-c),r.t=(c-o+(l-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),p(null,r)}):p(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,p(new Error(\"Timeout\"))},s.timeout));for(var f=new t(48),d=0;48>d;d++)f[d]=0;f[0]=35,u=Date.now(),a.fromMsecs(u,f,40),l.send(f,0,f.length,s.port,s.host,function(e,t){return e||48!==t?p(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset},a.ignore=function(){}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:149}],436:[function(e,t,n){(function(e){var n={dsa:{parts:[\"p\",\"q\",\"g\",\"y\"],sizePart:\"p\"},rsa:{parts:[\"e\",\"n\"],sizePart:\"n\"},ecdsa:{parts:[\"curve\",\"Q\"],sizePart:\"Q\"},ed25519:{parts:[\"R\"],normalize:!1,sizePart:\"R\"}};n.curve25519=n.ed25519;var r={dsa:{parts:[\"p\",\"q\",\"g\",\"y\",\"x\"]},rsa:{parts:[\"n\",\"e\",\"d\",\"iqmp\",\"p\",\"q\"]},ecdsa:{parts:[\"curve\",\"Q\",\"d\"]},ed25519:{parts:[\"R\",\"r\"],normalize:!1}};r.curve25519=r.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},o={nistp256:{size:256,pkcs8oid:\"1.2.840.10045.3.1.7\",p:new e(\"00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00c49d3608 86e70493 6a6678e1 139d26b7819f7e90\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551\".replace(/ /g,\"\"),\"hex\"),G:new e(\"046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5\".replace(/ /g,\"\"),\"hex\")},nistp384:{size:384,pkcs8oid:\"1.3.132.0.34\",p:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00a335926a a319a27a 1d00896a 6773a4827acdac73\".replace(/ /g,\"\"),\"hex\"),n:new e(\"00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973\".replace(/ /g,\"\"),\"hex\"),G:new e(\"04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f\".replace(/ /g,\"\"),\"hex\")},nistp521:{size:521,pkcs8oid:\"1.3.132.0.35\",p:new e(\"01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff\".replace(/ /g,\"\"),\"hex\"),a:new e(\"01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC\".replace(/ /g,\"\"),\"hex\"),b:new e(\"51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00\".replace(/ /g,\"\"),\"hex\"),s:new e(\"00d09e8800 291cb853 96cc6717 393284aaa0da64ba\".replace(/ /g,\"\"),\"hex\"),n:new e(\"01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409\".replace(/ /g,\"\"),\"hex\"),G:new e(\"0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650\".replace(/ /g,\"\"),\"hex\")}};t.exports={info:n,privInfo:r,hashAlgs:i,curves:o}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],437:[function(e,t,n){(function(n){function r(t){if(h.assertCompatible(t,m,[1,4],\"key\"),this._isPriv=v.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,\"dsa\"===t.type){if(!g)throw new Error(\"Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH\");this._dh=f.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if(\"ecdsa\"===t.type){if(!g)return void 0===c&&(c=e(\"ecc-jsbn\")),void 0===u&&(u=e(\"ecc-jsbn/lib/ec\")),void 0===p&&(p=e(\"jsbn\").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new a(this._ecParams,t.part.d.data)));var n={nistp256:\"prime256v1\",nistp384:\"secp384r1\",nistp521:\"secp521r1\"}[t.curve];if(this._dh=f.createECDH(n),\"object\"!=typeof this._dh||\"function\"!=typeof this._dh.setPrivateKey)return g=!1,void r.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if(\"curve25519\"!==t.type)throw new Error(\"DH not supported for \"+t.type+\" keys\");void 0===s&&(s=e(\"jodid25519\")),this._isPriv&&(this._priv=t.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32))}}function i(e){var t=d.curves[e];l.object(t);var n=new p(t.p),r=new p(t.a),i=new p(t.b),o=new p(t.n),a=p.ONE,s=new u.ECCurveFp(n,r,i),c=s.decodePointHex(t.G.toString(\"hex\"));this.curve=s,this.g=c,this.n=o,this.h=a}function o(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString(\"hex\"))}function a(e,t){this._params=e,this._priv=new p(h.mpNormalize(t))}t.exports=r;var s,c,u,p,l=e(\"assert-plus\"),f=e(\"crypto\"),d=e(\"./algs\"),h=e(\"./utils\"),m=e(\"./key\"),v=e(\"./private-key\"),g=void 0!==f.createECDH;r.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},r.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},r.prototype.getKey=r.prototype.getPrivateKey,r.prototype._keyCheck=function(e,t){if(l.object(e,\"key\"),t||h.assertCompatible(e,v,[1,3],\"key\"),h.assertCompatible(e,m,[1,4],\"key\"),e.type!==this._algo)throw new Error(\"A \"+e.type+\" key cannot be used in \"+this._algo+\" Diffie-Hellman\");if(e.curve!==this._curve)throw new Error(\"A key from the \"+e.curve+\" curve cannot be used with a \"+this._curve+\" Diffie-Hellman\");\"dsa\"===e.type&&(l.deepEqual(e.part.p,this._p,\"DSA key prime does not match\"),l.deepEqual(e.part.g,this._g,\"DSA key generator does not match\"))},r.prototype.setKey=function(e){this._keyCheck(e),\"dsa\"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):\"ecdsa\"===e.type?g?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new a(this._ecParams,e.part.d.data):\"curve25519\"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},r.prototype.setPrivateKey=r.prototype.setKey,r.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error(\"DH exchange has not been initialized with a private key yet\");var t;if(\"dsa\"===this._algo)return this._dh.computeSecret(e.part.y.data);if(\"ecdsa\"===this._algo)return g?this._dh.computeSecret(e.part.Q.data):(t=new o(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if(\"curve25519\"===this._algo){t=e.part.R.data,0===t[0]&&(t=t.slice(1));var r=s.dh.computeKey(this._priv.toString(\"binary\"),t.toString(\"binary\"));return new n(r,\"binary\")}throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKey=function(){var e,t,r=[];if(\"dsa\"===this._algo)return this._dh.generateKeys(),r.push({name:\"p\",data:this._p.data}),r.push({name:\"q\",data:this._key.part.q.data}),r.push({name:\"g\",data:this._g.data}),r.push({name:\"y\",data:this._dh.getPublicKey()}),r.push({name:\"x\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"dsa\",parts:r}),this._isPriv=!0,this._key;if(\"ecdsa\"===this._algo){if(g)return this._dh.generateKeys(),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:this._dh.getPublicKey()}),r.push({name:\"d\",data:this._dh.getPrivateKey()}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),o=new p(f.randomBytes(i.bitLength())),c=i.subtract(p.ONE);return e=o.mod(c).add(p.ONE),t=this._ecParams.getG().multiply(e),e=new n(e.toByteArray()),t=new n(this._ecParams.getCurve().encodePointHex(t),\"hex\"),this._priv=new a(this._ecParams,e),r.push({name:\"curve\",data:new n(this._curve)}),r.push({name:\"Q\",data:t}),r.push({name:\"d\",data:e}),this._key=new v({type:\"ecdsa\",curve:this._curve,parts:r}),this._isPriv=!0,this._key}if(\"curve25519\"===this._algo)return e=s.dh.generateKey(),t=s.dh.publicKey(e),this._priv=e=new n(e,\"binary\"),t=new n(t,\"binary\"),r.push({name:\"R\",data:t}),r.push({name:\"r\",data:n.concat([e,t])}),this._key=new v({type:\"curve25519\",parts:r}),this._isPriv=!0,this._key;throw new Error(\"Invalid algorithm: \"+this._algo)},r.prototype.generateKeys=r.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},a.prototype.deriveSharedSecret=function(e){l.ok(e instanceof o);var t=e._pub.multiply(this._priv);return new n(t.getX().toBigInteger().toByteArray())}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./key\":449,\"./private-key\":450,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,\"ecc-jsbn\":91,\"ecc-jsbn/lib/ec\":92,jodid25519:165,jsbn:171}],438:[function(e,t,n){(function(n){function r(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}function i(t,n){if(void 0===o&&(o=e(\"tweetnacl\")),\"sha512\"!==n.toLowerCase())throw new Error(\"ED25519 only supports the use of SHA-512 hashes\");this.key=t,this.chunks=[],a.Writable.call(this,{})}t.exports={Verifier:r,Signer:i};var o,a=e(\"stream\"),s=e(\"util\"),c=e(\"assert-plus\"),u=e(\"./signature\");s.inherits(r,a.Writable),r.prototype._write=function(e,t,n){this.chunks.push(e),n()},r.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},r.prototype.verify=function(e,t){var r;if(u.isSignature(e,[2,0])){if(\"ed25519\"!==e.type)return!1;r=e.toBuffer(\"raw\")}else if(\"string\"==typeof e)r=new n(e,\"base64\");else if(u.isSignature(e,[1,0]))throw new Error(\"signature was created by too old a version of sshpk and cannot be verified\");return c.buffer(r),o.sign.detached.verify(new Uint8Array(n.concat(this.chunks)),new Uint8Array(r),new Uint8Array(this.key.part.R.data))},s.inherits(i,a.Writable),i.prototype._write=function(e,t,n){this.chunks.push(e),n()},i.prototype.update=function(e){\"string\"==typeof e&&(e=new n(e,\"binary\")),this.chunks.push(e)},i.prototype.sign=function(){var e=o.sign.detached(new Uint8Array(n.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new n(e),r=u.parse(t,\"ed25519\",\"raw\");return r.hashAlgorithm=\"sha512\",r}}).call(this,e(\"buffer\").Buffer)},{\"./signature\":451,\"assert-plus\":10,buffer:void 0,stream:void 0,tweetnacl:466,util:void 0}],439:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name=\"FingerprintFormatError\",this.fingerprint=e,this.format=t,this.message=\"Fingerprint format is not supported, or is invalid: \",void 0!==e&&(this.message+=\" fingerprint = \"+e),void 0!==t&&(this.message+=\" format = \"+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name=\"InvalidAlgorithmError\",this.algorithm=e,this.message='Algorithm \"'+e+'\" is not supported'}function o(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name=\"KeyParseError\",this.format=t,this.keyName=e,this.innerErr=n,this.message=\"Failed to parse \"+e+\" as a valid \"+t+\" format key: \"+n.message}function a(e,t,n){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name=\"SignatureParseError\",this.type=e,this.format=t,this.innerErr=n,this.message=\"Failed to parse the given data as a \"+e+\" signature in \"+t+\" format: \"+n.message}var s=(e(\"assert-plus\"),e(\"util\"));s.inherits(r,Error),s.inherits(i,Error),s.inherits(o,Error),s.inherits(a,Error),t.exports={FingerprintFormatError:r,InvalidAlgorithmError:i,KeyParseError:o,SignatureParseError:a}},{\"assert-plus\":10,util:void 0}],440:[function(e,t,n){(function(n){function r(e){if(s.object(e,\"options\"),s.buffer(e.hash,\"options.hash\"),s.string(e.algorithm,\"options.algorithm\"),this.algorithm=e.algorithm.toLowerCase(),c.hashAlgs[this.algorithm]!==!0)throw new h(this.algorithm);this.hash=e.hash}function i(e){return e.replace(/(.{2})(?=.)/g,\"$1:\")}function o(e){return e.replace(/=*$/,\"\")}function a(e,t){return e.toUpperCase()+\":\"+o(t)}t.exports=r;var s=e(\"assert-plus\"),c=e(\"./algs\"),u=e(\"crypto\"),p=e(\"./errors\"),l=e(\"./key\"),f=e(\"./utils\"),d=p.FingerprintFormatError,h=p.InvalidAlgorithmError;r.prototype.toString=function(e){switch(void 0===e&&(e=\"md5\"===this.algorithm?\"hex\":\"base64\"),s.string(e),e){case\"hex\":return i(this.hash.toString(\"hex\"));case\"base64\":return a(this.algorithm,this.hash.toString(\"base64\"));default:throw new d(void 0,e)}},r.prototype.matches=function(e){s.object(e,\"key\"),f.assertCompatible(e,l,[1,0],\"key\");var t=e.hash(this.algorithm),n=u.createHash(this.algorithm).update(t).digest(\"base64\");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest(\"base64\")),this.hash2===n},r.parse=function(e,t){s.string(e,\"fingerprint\");var i,o;s.optionalArrayOfString(t,\"algorithms\");var a=e.split(\":\");if(2==a.length){i=a[0].toLowerCase();var u=/^[A-Za-z0-9+\\/=]+$/;if(!u.test(a[1]))throw new d(e);try{o=new n(a[1],\"base64\")}catch(p){throw new d(e)}}else if(a.length>2){i=\"md5\",\"md5\"===a[0].toLowerCase()&&(a=a.slice(1)),a=a.join(\"\");var l=/^[a-fA-F0-9]+$/;if(!l.test(a))throw new d(e);try{o=new n(a,\"hex\")}catch(p){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new h(i);if(void 0!==t&&(t=t.map(function(e){return e.toLowerCase()}),-1===t.indexOf(i)))throw new h(i);return new r({algorithm:i,hash:o})},r.isFingerprint=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,1],r._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./key\":449,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],441:[function(e,t,n){(function(n){function r(e){if(\"string\"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return c.read(e);if(e.match(/^\\s*ssh-[a-z]/))return u.read(e);if(e.match(/^\\s*ecdsa-/))return u.read(e);e=new n(e,\"binary\")}else{if(s.buffer(e),o(e))return c.read(e);if(i(e))return u.read(e)}if(e.readUInt32BE(0)<e.length)return p.read(e);throw new Error(\"Failed to auto-detect format of key\")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&\"ssh-\"===e.slice(t,t+4).toString(\"ascii\")?!0:t+6<=e.length&&\"ecdsa-\"===e.slice(t,t+6).toString(\"ascii\")}function o(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||\"BEGIN\"!==e.slice(t,t+5).toString(\"ascii\"))}function a(e){throw new Error('\"auto\" format cannot be used for writing')}t.exports={read:r,write:a};var s=e(\"assert-plus\"),c=(e(\"../utils\"),e(\"../key\"),e(\"../private-key\"),e(\"./pem\")),u=e(\"./ssh\"),p=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,\"./ssh\":447,\"assert-plus\":10,buffer:void 0}],442:[function(e,t,n){(function(n){function r(e,t){var r=e;\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var i=e.trim().split(\"\\n\"),s=i[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(s,\"invalid PEM header\");var c=i[i.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);o.ok(c,\"invalid PEM footer\"),o.equal(s[2],c[2]);var d,h=s[2].toLowerCase();s[1]&&(o.equal(s[1],c[1],\"PEM header and footer mismatch\"),d=s[1].trim());for(var m={};;){if(i=i.slice(1),s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/),!s)break;m[s[1].toLowerCase()]=s[2]}if(m[\"proc-type\"]){var v=m[\"proc-type\"].split(\",\");if(\"4\"===v[0]&&\"ENCRYPTED\"===v[1])throw new Error(\"PEM key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\")}if(i=i.slice(0,-1).join(\"\"),e=new n(i,\"base64\"),d&&\"openssh\"===d.toLowerCase())return l.readSSHPrivate(h,e);if(d&&\"ssh2\"===d.toLowerCase())return f.readType(h,e);var g=new a.BerReader(e);return g.originalInput=r,g.readSequence(),d?(t&&o.strictEqual(t,\"pkcs1\"),u.readPkcs1(d,h,g)):(t&&o.strictEqual(t,\"pkcs8\"),p.readPkcs8(d,h,g))}function i(e,t){o.object(e);var r,i={ecdsa:\"EC\",rsa:\"RSA\",dsa:\"DSA\"}[e.type],l=new a.BerWriter;if(c.isPrivateKey(e))t&&\"pkcs8\"===t?(r=\"PRIVATE KEY\",p.writePkcs8(l,e)):(t&&o.strictEqual(t,\"pkcs1\"),r=i+\" PRIVATE KEY\",u.writePkcs1(l,e));else{if(!s.isKey(e))throw new Error(\"key is not a Key or PrivateKey\");t&&\"pkcs1\"===t?(r=i+\" PUBLIC KEY\",u.writePkcs1(l,e)):(t&&o.strictEqual(t,\"pkcs8\"),r=\"PUBLIC KEY\",p.writePkcs8(l,e))}var f=l.buffer.toString(\"base64\"),d=f.length+f.length/64+18+16+2*r.length+10,h=new n(d),m=0;m+=h.write(\"-----BEGIN \"+r+\"-----\\n\",m);for(var v=0;v<f.length;){var g=v+64;g>f.length&&(g=f.length),m+=h.write(f.slice(v,g),m),h[m++]=10,v=g}return m+=h.write(\"-----END \"+r+\"-----\\n\",m),h.slice(0,m)}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"asn1\"),s=(e(\"../algs\"),e(\"../utils\"),e(\"../key\")),c=e(\"../private-key\"),u=e(\"./pkcs1\"),p=e(\"./pkcs8\"),l=e(\"./ssh-private\"),f=e(\"./rfc4253\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pkcs1\":443,\"./pkcs8\":444,\"./rfc4253\":445,\"./ssh-private\":446,asn1:9,\"assert-plus\":10,buffer:void 0}],443:[function(e,t,n){(function(n){function r(e){return E.read(e,\"pkcs1\")}function i(e){return E.write(e,\"pkcs1\")}function o(e,t){return x.strictEqual(e.peek(),w.Ber.Integer,t+\" is not an Integer\"),\nk.mpNormalize(e.readString(w.Ber.Integer,!0))}function a(e,t,n){switch(e){case\"RSA\":if(\"public\"===t)return s(n);if(\"private\"===t)return c(n);throw new Error(\"Unknown key type: \"+t);case\"DSA\":if(\"public\"===t)return p(n);if(\"private\"===t)return u(n);throw new Error(\"Unknown key type: \"+t);case\"EC\":case\"ECDSA\":if(\"private\"===t)return f(n);if(\"public\"===t)return l(n);throw new Error(\"Unknown key type: \"+t);default:throw new Error(\"Unknown key algo: \"+e)}}function s(e){var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new j(r)}function c(e){var t=o(e,\"version\");x.strictEqual(t[0],0);var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new S(l)}function u(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),0);var n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a=o(e,\"y\"),s=o(e,\"x\"),c={type:\"dsa\",parts:[{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i},{name:\"y\",data:a},{name:\"x\",data:s}]};return new S(c)}function p(e){var t=o(e,\"y\"),n=o(e,\"p\"),r=o(e,\"q\"),i=o(e,\"g\"),a={type:\"dsa\",parts:[{name:\"y\",data:t},{name:\"p\",data:n},{name:\"q\",data:r},{name:\"g\",data:i}]};return new j(a)}function l(e){e.readSequence();var t=e.readOID();x.strictEqual(t,\"1.2.840.10045.2.1\",\"must be ecPublicKey\");for(var r,i=e.readOID(),o=Object.keys(_.curves),a=0;a<o.length;++a){var s=o[a],c=_.curves[s];if(c.pkcs8oid===i){r=s;break}}x.string(r,\"a known ECDSA named curve\");var u=e.readString(w.Ber.BitString,!0);u=k.ecNormalize(u);var p={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(r)},{name:\"Q\",data:u}]};return new j(p)}function f(e){var t=o(e,\"version\");x.strictEqual(t.readUInt8(0),1);var r=e.readString(w.Ber.OctetString,!0);e.readSequence(160);var i=A(e);x.string(i,\"a known elliptic curve\"),e.readSequence(161);var a=e.readString(w.Ber.BitString,!0);a=k.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(i)},{name:\"Q\",data:a},{name:\"d\",data:r}]};return new S(s)}function d(e,t){switch(e.startSequence(),t.type){case\"rsa\":S.isPrivateKey(t)?m(e,t):h(e,t);break;case\"dsa\":S.isPrivateKey(t)?v(e,t):g(e,t);break;case\"ecdsa\":S.isPrivateKey(t)?b(e,t):y(e,t);break;default:throw new Error(\"Unknown key algo: \"+t.type)}e.endSequence()}function h(e,t){e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer)}function m(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.n.data,w.Ber.Integer),e.writeBuffer(t.part.e.data,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),t.part.dmodp&&t.part.dmodq||k.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,w.Ber.Integer),e.writeBuffer(t.part.dmodq.data,w.Ber.Integer),e.writeBuffer(t.part.iqmp.data,w.Ber.Integer)}function v(e,t){var r=new n(1);r[0]=0,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer),e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.x.data,w.Ber.Integer)}function g(e,t){e.writeBuffer(t.part.y.data,w.Ber.Integer),e.writeBuffer(t.part.p.data,w.Ber.Integer),e.writeBuffer(t.part.q.data,w.Ber.Integer),e.writeBuffer(t.part.g.data,w.Ber.Integer)}function y(e,t){e.startSequence(),e.writeOID(\"1.2.840.10045.2.1\");var n=t.part.curve.data.toString(),r=_.curves[n].pkcs8oid;x.string(r,\"a known ECDSA named curve\"),e.writeOID(r),e.endSequence();var i=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,w.Ber.BitString)}function b(e,t){var r=new n(1);r[0]=1,e.writeBuffer(r,w.Ber.Integer),e.writeBuffer(t.part.d.data,w.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),o=_.curves[i].pkcs8oid;x.string(o,\"a known ECDSA named curve\"),e.writeOID(o),e.endSequence(),e.startSequence(161);var a=k.ecNormalize(t.part.Q.data,!0);e.writeBuffer(a,w.Ber.BitString),e.endSequence()}t.exports={read:r,readPkcs1:a,write:i,writePkcs1:d};var x=e(\"assert-plus\"),w=e(\"asn1\"),_=e(\"../algs\"),k=e(\"../utils\"),j=e(\"../key\"),S=e(\"../private-key\"),E=e(\"./pem\"),O=e(\"./pkcs8\"),A=O.readECDSACurve}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,\"./pkcs8\":444,asn1:9,\"assert-plus\":10,buffer:void 0}],444:[function(e,t,n){(function(n){function r(e){return A.read(e,\"pkcs8\")}function i(e){return A.write(e,\"pkcs8\")}function o(e,t){return _.strictEqual(e.peek(),k.Ber.Integer,t+\" is not an Integer\"),S.mpNormalize(e.readString(k.Ber.Integer,!0))}function a(e,t,n){n.peek()===k.Ber.Integer&&(_.strictEqual(t,\"private\",\"unexpected Integer at start of public key\"),n.readString(k.Ber.Integer,!0)),n.readSequence();var r=n.readOID();switch(r){case\"1.2.840.113549.1.1.1\":return\"public\"===t?s(n):c(n);case\"1.2.840.10040.4.1\":return\"public\"===t?u(n):p(n);case\"1.2.840.10045.2.1\":return\"public\"===t?d(n):f(n);default:throw new Error(\"Unknown key type OID \"+r)}}function s(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.BitString),e.readByte(),e.readSequence();var t=o(e,\"modulus\"),n=o(e,\"exponent\"),r={type:\"rsa\",source:e.originalInput,parts:[{name:\"e\",data:n},{name:\"n\",data:t}]};return new E(r)}function c(e){e.readByte(),e.readByte(),e.readSequence(k.Ber.OctetString),e.readSequence();var t=o(e,\"version\");_.equal(t[0],0,\"unknown RSA private key version\");var n=o(e,\"modulus\"),r=o(e,\"public exponent\"),i=o(e,\"private exponent\"),a=o(e,\"prime1\"),s=o(e,\"prime2\"),c=o(e,\"exponent1\"),u=o(e,\"exponent2\"),p=o(e,\"iqmp\"),l={type:\"rsa\",parts:[{name:\"n\",data:n},{name:\"e\",data:r},{name:\"d\",data:i},{name:\"iqmp\",data:p},{name:\"p\",data:a},{name:\"q\",data:s},{name:\"dmodp\",data:c},{name:\"dmodq\",data:u}]};return new O(l)}function u(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.BitString),e.readByte();var i=o(e,\"y\"),a={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:i}]};return new E(a)}function p(e){e.readSequence();var t=o(e,\"p\"),n=o(e,\"q\"),r=o(e,\"g\");e.readSequence(k.Ber.OctetString);var i=o(e,\"x\"),a=S.calculateDSAPublic(r,t,i),s={type:\"dsa\",parts:[{name:\"p\",data:t},{name:\"q\",data:n},{name:\"g\",data:r},{name:\"y\",data:a},{name:\"x\",data:i}]};return new O(s)}function l(e){var t,r,i,o,a;if(e.peek()===k.Ber.OID){var s=e.readOID();for(r=Object.keys(j.curves),i=0;i<r.length;++i)if(o=r[i],a=j.curves[o],a.pkcs8oid===s){t=o;break}}else{e.readSequence();var c=e.readString(k.Ber.Integer,!0);_.strictEqual(c[0],1,\"ECDSA key not version 1\");var u={};e.readSequence();var p=e.readOID();_.strictEqual(p,\"1.2.840.10045.1.1\",\"ECDSA key is not from a prime-field\");var l=u.p=S.mpNormalize(e.readString(k.Ber.Integer,!0));u.size=8*l.length-S.countZeros(l),e.readSequence(),u.a=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),u.b=S.mpNormalize(e.readString(k.Ber.OctetString,!0)),e.peek()===k.Ber.BitString&&(u.s=e.readString(k.Ber.BitString,!0)),u.G=e.readString(k.Ber.OctetString,!0),_.strictEqual(u.G[0],4,\"uncompressed G is required\"),u.n=S.mpNormalize(e.readString(k.Ber.Integer,!0)),u.h=S.mpNormalize(e.readString(k.Ber.Integer,!0)),_.strictEqual(u.h[0],1,\"a cofactor=1 curve is required\"),r=Object.keys(j.curves);var f=Object.keys(u);for(i=0;i<r.length;++i){o=r[i],a=j.curves[o];for(var d=!0,h=0;h<f.length;++h){var m=f[h];if(void 0!==a[m])if(\"object\"==typeof a[m]&&void 0!==a[m].equals){if(!a[m].equals(u[m])){d=!1;break}}else if(n.isBuffer(a[m])){if(a[m].toString(\"binary\")!==u[m].toString(\"binary\")){d=!1;break}}else if(a[m]!==u[m]){d=!1;break}}if(d){t=o;break}}}return t}function f(e){var t=l(e);_.string(t,\"a known elliptic curve\"),e.readSequence(k.Ber.OctetString),e.readSequence();var r=o(e,\"version\");_.equal(r[0],1,\"unknown version of ECDSA key\");var i=e.readString(k.Ber.OctetString,!0);e.readSequence(161);var a=e.readString(k.Ber.BitString,!0);a=S.ecNormalize(a);var s={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:a},{name:\"d\",data:i}]};return new O(s)}function d(e){var t=l(e);_.string(t,\"a known elliptic curve\");var r=e.readString(k.Ber.BitString,!0);r=S.ecNormalize(r);var i={type:\"ecdsa\",parts:[{name:\"curve\",data:new n(t)},{name:\"Q\",data:r}]};return new E(i)}function h(e,t){if(e.startSequence(),O.isPrivateKey(t)){var r=new n(1);r[0]=0,e.writeBuffer(r,k.Ber.Integer)}switch(e.startSequence(),t.type){case\"rsa\":e.writeOID(\"1.2.840.113549.1.1.1\"),O.isPrivateKey(t)?m(t,e):v(t,e);break;case\"dsa\":e.writeOID(\"1.2.840.10040.4.1\"),O.isPrivateKey(t)?g(t,e):y(t,e);break;case\"ecdsa\":e.writeOID(\"1.2.840.10045.2.1\"),O.isPrivateKey(t)?w(t,e):x(t,e);break;default:throw new Error(\"Unsupported key type: \"+t.type)}e.endSequence()}function m(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=0,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.Integer),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),e.part.dmodp&&e.part.dmodq||S.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,k.Ber.Integer),t.writeBuffer(e.part.dmodq.data,k.Ber.Integer),t.writeBuffer(e.part.iqmp.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function v(e,t){t.writeNull(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,k.Ber.Integer),t.writeBuffer(e.part.e.data,k.Ber.Integer),t.endSequence(),t.endSequence()}function g(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.OctetString),t.writeBuffer(e.part.x.data,k.Ber.Integer),t.endSequence()}function y(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,k.Ber.Integer),t.writeBuffer(e.part.q.data,k.Ber.Integer),t.writeBuffer(e.part.g.data,k.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(k.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,k.Ber.Integer),t.endSequence()}function b(e,t){var r=j.curves[e.curve];if(r.pkcs8oid)t.writeOID(r.pkcs8oid);else{t.startSequence();var i=new n(1);i.writeUInt8(1,0),t.writeBuffer(i,k.Ber.Integer),t.startSequence(),t.writeOID(\"1.2.840.10045.1.1\"),t.writeBuffer(r.p,k.Ber.Integer),t.endSequence(),t.startSequence();var o=r.p;0===o[0]&&(o=o.slice(1)),t.writeBuffer(o,k.Ber.OctetString),t.writeBuffer(r.b,k.Ber.OctetString),t.writeBuffer(r.s,k.Ber.BitString),t.endSequence(),t.writeBuffer(r.G,k.Ber.OctetString),t.writeBuffer(r.n,k.Ber.Integer);var a=r.h;a||(a=new n(1),a[0]=1),t.writeBuffer(a,k.Ber.Integer),t.endSequence()}}function x(e,t){b(e,t),t.endSequence();var n=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(n,k.Ber.BitString)}function w(e,t){b(e,t),t.endSequence(),t.startSequence(k.Ber.OctetString),t.startSequence();var r=new n(1);r[0]=1,t.writeBuffer(r,k.Ber.Integer),t.writeBuffer(e.part.d.data,k.Ber.OctetString),t.startSequence(161);var i=S.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,k.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:r,readPkcs8:a,write:i,writePkcs8:h,readECDSACurve:l,writeECDSACurve:b};var _=e(\"assert-plus\"),k=e(\"asn1\"),j=e(\"../algs\"),S=e(\"../utils\"),E=e(\"../key\"),O=e(\"../private-key\"),A=e(\"./pem\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./pem\":442,asn1:9,\"assert-plus\":10,buffer:void 0}],445:[function(e,t,n){(function(n){function r(e){if(s.string(e),\"ssh-dss\"===e)return\"dsa\";if(\"ssh-rsa\"===e)return\"rsa\";if(\"ssh-ed25519\"===e)return\"ed25519\";if(\"ssh-curve25519\"===e)return\"curve25519\";if(e.match(/^ecdsa-sha2-/))return\"ecdsa\";throw new Error(\"Unknown algorithm \"+e)}function i(e){if(s.object(e),\"dsa\"===e.type)return\"ssh-dss\";if(\"rsa\"===e.type)return\"ssh-rsa\";if(\"ed25519\"===e.type)return\"ssh-ed25519\";if(\"curve25519\"===e.type)return\"ssh-curve25519\";if(\"ecdsa\"===e.type)return\"ecdsa-sha2-\"+e.part.curve.data.toString();throw new Error(\"Unknown key type \"+e.type)}function o(e,t,i){\"string\"==typeof i&&(i=new n(i)),s.buffer(i,\"buf\");var o={},a=o.parts=[],d=new f({buffer:i}),h=d.readString();s.ok(!d.atEnd(),\"key must have at least one part\"),o.type=r(h);var m=c.info[o.type].parts.length;for(t&&\"private\"===t&&(m=c.privInfo[o.type].parts.length);!d.atEnd()&&a.length<m;)a.push(d.readPart());for(;!e&&!d.atEnd();)a.push(d.readPart());s.ok(a.length>=1,\"key must have at least one part\"),s.ok(e||d.atEnd(),\"leftover bytes at end of key\");var v=p,g=c.info[o.type];if(\"private\"!==t&&g.parts.length===a.length||(g=c.privInfo[o.type],v=l),s.strictEqual(g.parts.length,a.length),\"ecdsa\"===o.type){var y=/^ecdsa-sha2-(.+)$/.exec(h);s.ok(null!==y),s.strictEqual(y[1],a[0].data.toString())}for(var b=!0,x=0;x<g.parts.length;++x)if(a[x].name=g.parts[x],\"curve\"!==a[x].name&&g.normalize!==!1){var w=a[x],_=u.mpNormalize(w.data);_!==w.data&&(w.data=_,b=!1)}return b&&(o._rfc4253Cache=d.toBuffer()),e&&\"object\"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(o)}function a(e){s.object(e);var t,n=i(e),r=c.info[e.type];l.isPrivateKey(e)&&(r=c.privInfo[e.type]);var o=r.parts,a=new f({});for(a.writeString(n),t=0;t<o.length;++t){var p=e.part[o[t]].data;r.normalize!==!1&&(p=u.mpNormalize(p)),a.writeBuffer(p)}return a.toBuffer()}t.exports={read:o.bind(void 0,!1,void 0),readType:o.bind(void 0,!1),write:a,readPartial:o.bind(void 0,!0),readInternal:o,keyTypeToAlg:i,algToKeyType:r};var s=e(\"assert-plus\"),c=e(\"../algs\"),u=e(\"../utils\"),p=e(\"../key\"),l=e(\"../private-key\"),f=e(\"../ssh-buffer\")}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"assert-plus\":10,buffer:void 0}],446:[function(e,t,n){(function(n){function r(e){return u.read(e)}function i(e,t){t=new l({buffer:t});var n=t.readCString();a.strictEqual(n,f,\"bad magic string\");var r=t.readString(),i=t.readString();if(\"none\"!==r||\"none\"!==i)throw new Error(\"OpenSSH-format key is encrypted (password-protected). Please use the SSH agent or decrypt the key.\");t.readString();var o=t.readInt();if(1!==o)throw new Error(\"OpenSSH-format key file contains multiple keys: this is unsupported.\");var s=t.readBuffer();if(\"public\"===e)return a.ok(t.atEnd(),\"excess bytes left after key\"),p.read(s);var c=t.readBuffer();a.ok(t.atEnd(),\"excess bytes left after key\"),t=new l({buffer:c});var u=t.readInt(),d=t.readInt();a.strictEqual(u,d,\"checkints do not match\");var h={},m=p.readInternal(h,\"private\",t.remainder());t.skip(h.consumed);var v=t.readString();return m.comment=v,m}function o(e){var t;t=c.isPrivateKey(e)?e.toPublic():e;var r;if(c.isPrivateKey(e)){r=new l({});var i=s.randomBytes(4).readUInt32BE(0);r.writeInt(i),r.writeInt(i),r.write(e.toBuffer(\"rfc4253\")),r.writeString(e.comment||\"\");for(var o=1;r._offset%8!==0;)r.writeChar(o++)}var a=new l({});a.writeCString(f),a.writeString(\"none\"),a.writeString(\"none\"),a.writeBuffer(new n(0)),a.writeInt(1),a.writeBuffer(t.toBuffer(\"rfc4253\")),r&&a.writeBuffer(r.toBuffer()),a=a.toBuffer();var u;u=c.isPrivateKey(e)?\"OPENSSH PRIVATE KEY\":\"OPENSSH PUBLIC KEY\";var p=a.toString(\"base64\"),d=p.length+p.length/70+18+16+2*u.length+10;a=new n(d);var h=0;h+=a.write(\"-----BEGIN \"+u+\"-----\\n\",h);for(var m=0;m<p.length;){var v=m+70;v>p.length&&(v=p.length),h+=a.write(p.slice(m,v),h),a[h++]=10,m=v}return h+=a.write(\"-----END \"+u+\"-----\\n\",h),a.slice(0,h)}t.exports={read:r,readSSHPrivate:i,write:o};var a=e(\"assert-plus\"),s=(e(\"asn1\"),e(\"../algs\"),e(\"../utils\"),e(\"crypto\")),c=(e(\"../key\"),e(\"../private-key\")),u=e(\"./pem\"),p=e(\"./rfc4253\"),l=e(\"../ssh-buffer\"),f=\"openssh-key-v1\"}).call(this,e(\"buffer\").Buffer)},{\"../algs\":436,\"../key\":449,\"../private-key\":450,\"../ssh-buffer\":452,\"../utils\":453,\"./pem\":442,\"./rfc4253\":445,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],447:[function(e,t,n){(function(n){function r(e){\"string\"!=typeof e&&(o.buffer(e,\"buf\"),e=e.toString(\"ascii\"));var t=e.trim().replace(/[\\\\\\r]/g,\"\"),r=t.match(c);r||(r=t.match(u)),o.ok(r,\"key must match regex\");var i,s=a.algToKeyType(r[1]),p=new n(r[2],\"base64\"),l={};if(r[4])try{i=a.read(p)}catch(f){r=t.match(u),o.ok(r,\"key must match regex\"),p=new n(r[2],\"base64\"),i=a.readInternal(l,\"public\",p)}else i=a.readInternal(l,\"public\",p);if(o.strictEqual(s,i.type),r[4]&&r[4].length>0)i.comment=r[4];else if(l.consumed){var d=r[2]+r[3],h=4*Math.ceil(l.consumed/3);d=d.slice(0,h-2).replace(/[^a-zA-Z0-9+\\/=]/g,\"\")+d.slice(h-2);var m=l.consumed%3;for(m>0&&\"=\"!==d.slice(h-1,h)&&h--;\"=\"===d.slice(h,h+1);)h++;var v=d.slice(h);v=v.replace(/[\\r\\n]/g,\" \").replace(/^\\s+/,\"\"),v.match(/^[a-zA-Z0-9]/)&&(i.comment=v)}return i}function i(e){if(o.object(e),!s.isKey(e))throw new Error(\"Must be a public key\");var t=[],r=a.keyTypeToAlg(e);t.push(r);var i=a.write(e);return t.push(i.toString(\"base64\")),e.comment&&t.push(e.comment),new n(t.join(\" \"))}t.exports={read:r,write:i};var o=e(\"assert-plus\"),a=e(\"./rfc4253\"),s=(e(\"../utils\"),e(\"../key\")),c=(e(\"../private-key\"),e(\"./ssh-private\"),/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/]+[=]*)([\\n \\t]+([^\\n]+))?$/),u=/^([a-z0-9-]+)[ \\t]+([a-zA-Z0-9+\\/ \\t\\n]+[=]*)(.*)$/}).call(this,e(\"buffer\").Buffer)},{\"../key\":449,\"../private-key\":450,\"../utils\":453,\"./rfc4253\":445,\"./ssh-private\":446,\"assert-plus\":10,buffer:void 0}],448:[function(e,t,n){var r=e(\"./key\"),i=e(\"./fingerprint\"),o=e(\"./signature\"),a=e(\"./private-key\"),s=e(\"./errors\");t.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:a,parsePrivateKey:a.parse,FingerprintFormatError:s.FingerprintFormatError,InvalidAlgorithmError:s.InvalidAlgorithmError,KeyParseError:s.KeyParseError,SignatureParseError:s.SignatureParseError}},{\"./errors\":439,\"./fingerprint\":440,\"./key\":449,\"./private-key\":450,\"./signature\":451}],449:[function(e,t,n){(function(n){function r(e){o.object(e,\"options\"),o.arrayOfObject(e.parts,\"options.parts\"),o.string(e.type,\"options.type\"),o.optionalString(e.comment,\"options.comment\");var t=a.info[e.type];if(\"object\"!=typeof t)throw new m(e.type);for(var n={},r=0;r<e.parts.length;++r){var i=e.parts[r];n[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=n,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,\"ecdsa\"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=a.curves[c].size}else if(\"ed25519\"===this.type)s=256,this.curve=\"curve25519\";else{var u=this.part[t.sizePart];s=u.data.length,s=8*s-f.countZeros(u.data)}this.size=s}t.exports=r;var i,o=e(\"assert-plus\"),a=e(\"./algs\"),s=e(\"crypto\"),c=e(\"./fingerprint\"),u=e(\"./signature\"),p=e(\"./dhe\"),l=e(\"./errors\"),f=e(\"./utils\"),d=e(\"./private-key\");try{i=e(\"./ed-compat\")}catch(h){}var m=l.InvalidAlgorithmError,v=l.KeyParseError,g={};g.auto=e(\"./formats/auto\"),g.pem=e(\"./formats/pem\"),g.pkcs1=e(\"./formats/pkcs1\"),g.pkcs8=e(\"./formats/pkcs8\"),g.rfc4253=e(\"./formats/rfc4253\"),g.ssh=e(\"./formats/ssh\"),g[\"ssh-private\"]=e(\"./formats/ssh-private\"),g.openssh=g[\"ssh-private\"],r.formats=g,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"ssh\"),o.string(e,\"format\"),o.object(g[e],\"formats[format]\"),\"rfc4253\"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this)},r.prototype.toString=function(e){return this.toBuffer(e).toString()},r.prototype.hash=function(e){if(o.string(e,\"algorithm\"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer(\"rfc4253\")).digest();return\"string\"==typeof t&&(t=new n(t,\"binary\")),this._hashCache[e]=t,t},r.prototype.fingerprint=function(e){void 0===e&&(e=\"sha256\"),o.string(e,\"algorithm\");var t={hash:this.hash(e),algorithm:e};return new c(t)},r.prototype.defaultHashAlgorithm=function(){var e=\"sha1\";return\"rsa\"===this.type&&(e=\"sha256\"),\"dsa\"===this.type&&this.size>1024&&(e=\"sha256\"),\"ed25519\"===this.type&&(e=\"sha512\"),\"ecdsa\"===this.type&&(e=this.size<=256?\"sha256\":this.size<=384?\"sha384\":\"sha512\"),e},r.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Verifier(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,a;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=s.createVerify(r)}catch(c){a=c}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=s.createVerify(r)),o.ok(t,\"failed to create verifier\");var p=t.verify.bind(t),l=this.toBuffer(\"pkcs8\"),f=this;return t.verify=function(t,r){if(u.isSignature(t,[2,0]))return t.type!==f.type?!1:t.hashAlgorithm&&t.hashAlgorithm!==e?!1:p(l,t.toBuffer(\"asn1\"));if(\"string\"==typeof t||n.isBuffer(t))return p(l,t,r);throw u.isSignature(t,[1,0])?new Error(\"signature was created by too old a version of sshpk and cannot be verified\"):new TypeError(\"signature must be a string, Buffer, or Signature object\")},t},r.prototype.createDiffieHellman=function(){if(\"rsa\"===this.type)throw new Error(\"RSA keys do not support Diffie-Hellman\");return new p(this)},r.prototype.createDH=r.prototype.createDiffieHellman,r.parse=function(e,t,n){\"string\"!=typeof e&&o.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),o.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),o.object(g[t],\"formats[format]\");try{var r=g[t].read(e);return r instanceof d&&(r=r.toPublic()),r.comment||(r.comment=n),r}catch(i){throw new v(n,t,i)}},r.isKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,5],r._oldVersionDetect=function(e){return o.func(e.toBuffer),o.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./dhe\":437,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh\":447,\"./formats/ssh-private\":446,\"./private-key\":450,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0}],450:[function(e,t,n){(function(n){function r(e){a.object(e,\"options\"),h.call(this,e),this._pubCache=void 0}t.exports=r;var i,o,a=e(\"assert-plus\"),s=e(\"./algs\"),c=e(\"crypto\"),u=(e(\"./fingerprint\"),e(\"./signature\")),p=e(\"./errors\"),l=e(\"util\"),f=e(\"./utils\");try{i=e(\"./ed-compat\")}catch(d){}var h=e(\"./key\"),m=(p.InvalidAlgorithmError,p.KeyParseError),v={};v.auto=e(\"./formats/auto\"),v.pem=e(\"./formats/pem\"),v.pkcs1=e(\"./formats/pkcs1\"),v.pkcs8=e(\"./formats/pkcs8\"),v.rfc4253=e(\"./formats/rfc4253\"),v[\"ssh-private\"]=e(\"./formats/ssh-private\"),v.openssh=v[\"ssh-private\"],v.ssh=v[\"ssh-private\"],l.inherits(r,h),r.formats=v,r.prototype.toBuffer=function(e){return void 0===e&&(e=\"pkcs1\"),a.string(e,\"format\"),a.object(v[e],\"formats[format]\"),v[e].write(this)},r.prototype.hash=function(e){return this.toPublic().hash(e)},r.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];t.push(this.part[r])}return this._pubCache=new h({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},r.prototype.derive=function(t,i){a.string(t,\"type\"),a.optionalNumber(i,\"size\");var s,c;if(\"ed25519\"===this.type&&\"curve25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.dh.publicKey(s),s=f.mpNormalize(n.concat([s,c])),new r({type:\"curve25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});if(\"curve25519\"===this.type&&\"ed25519\"===t)return void 0===o&&(o=e(\"jodid25519\")),s=this.part.r.data,0===s[0]&&(s=s.slice(1)),s=s.slice(0,32),c=o.eddsa.publicKey(s.toString(\"binary\")),c=new n(c,\"binary\"),s=f.mpNormalize(n.concat([s,c])),new r({type:\"ed25519\",parts:[{name:\"R\",data:f.mpNormalize(c)},{name:\"r\",data:s}]});throw new Error(\"Key derivation not supported from \"+this.type+\" to \"+t)},r.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},r.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,\"hash algorithm\"),\"ed25519\"===this.type&&void 0!==i)return new i.Signer(this,e);if(\"curve25519\"===this.type)throw new Error(\"Curve25519 keys are not suitable for signing or verification\");var t,r,o;try{r=this.type.toUpperCase()+\"-\",\"ecdsa\"===this.type&&(r=\"ecdsa-with-\"),r+=e.toUpperCase(),t=c.createSign(r)}catch(s){o=s}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(r=\"RSA-\",r+=e.toUpperCase(),t=c.createSign(r)),a.ok(t,\"failed to create verifier\");var p=t.sign.bind(t),l=this.toBuffer(\"pkcs1\"),f=this.type;return t.sign=function(){var t=p(l);return\"string\"==typeof t&&(t=new n(t,\"binary\")),t=u.parse(t,f,\"asn1\"),t.hashAlgorithm=e,t},t},r.parse=function(e,t,n){\"string\"!=typeof e&&a.buffer(e,\"data\"),void 0===t&&(t=\"auto\"),a.string(t,\"format\"),void 0===n&&(n=\"(unnamed)\"),a.object(v[t],\"formats[format]\");try{var i=v[t].read(e);return a.ok(i instanceof r,\"key is not a private key\"),i.comment||(i.comment=n),i}catch(o){throw new m(n,t,o)}},r.isPrivateKey=function(e,t){return f.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[1,4],r._oldVersionDetect=function(e){return a.func(e.toPublic),a.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./ed-compat\":438,\"./errors\":439,\"./fingerprint\":440,\"./formats/auto\":441,\"./formats/pem\":442,\"./formats/pkcs1\":443,\"./formats/pkcs8\":444,\"./formats/rfc4253\":445,\"./formats/ssh-private\":446,\"./key\":449,\"./signature\":451,\"./utils\":453,\"assert-plus\":10,buffer:void 0,crypto:void 0,jodid25519:165,util:void 0}],451:[function(e,t,n){(function(n){function r(e){c.object(e,\"options\"),c.arrayOfObject(e.parts,\"options.parts\"),c.string(e.type,\"options.type\");for(var t={},n=0;n<e.parts.length;++n){var r=e.parts[n];t[r.name]=r}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.parts=e.parts,this.part=t}function i(e,t,n,i,o){if(\"ssh\"===n){try{var a=new f({buffer:e}),s=a.readString()}catch(u){}if(s===o){var p=a.readPart();return c.ok(a.atEnd(),\"extra trailing bytes\"),p.name=\"sig\",i.parts.push(p),new r(i)}}return i.parts.push({name:\"sig\",data:e}),new r(i)}function o(e,t,n,i){var o=new l.BerReader(e);o.readSequence();var a=o.readString(l.Ber.Integer,!0),s=o.readString(l.Ber.Integer,!0);return i.parts.push({name:\"r\",data:p.mpNormalize(a)}),i.parts.push({name:\"s\",data:p.mpNormalize(s)}),new r(i)}function a(e,t,n,i){if(40!=e.length){var o=new f({buffer:e}),a=o.readBuffer();\"ssh-dss\"===a.toString(\"ascii\")&&(a=o.readBuffer()),c.ok(o.atEnd(),\"extra trailing bytes\"),c.strictEqual(a.length,40,\"invalid inner length\"),e=a}return i.parts.push({name:\"r\",data:e.slice(0,20)}),i.parts.push({name:\"s\",data:e.slice(20,40)}),new r(i)}function s(e,t,n,i){var o,a,s=new f({buffer:e}),u=s.readBuffer();return u.toString(\"ascii\").match(/^ecdsa-/)?(u=s.readBuffer(),c.ok(s.atEnd(),\"extra trailing bytes on outer\"),s=new f({buffer:u}),o=s.readPart()):o={data:u},a=s.readPart(),c.ok(s.atEnd(),\"extra trailing bytes\"),o.name=\"r\",a.name=\"s\",i.parts.push(o),i.parts.push(a),new r(i)}t.exports=r;var c=e(\"assert-plus\"),u=(e(\"./algs\"),e(\"crypto\"),e(\"./errors\")),p=e(\"./utils\"),l=e(\"asn1\"),f=e(\"./ssh-buffer\"),d=u.InvalidAlgorithmError,h=u.SignatureParseError;r.prototype.toBuffer=function(e){void 0===e&&(e=\"asn1\"),c.string(e,\"format\");var t;switch(this.type){case\"rsa\":case\"ed25519\":return\"ssh\"===e?(t=new f({}),t.writeString(\"ssh-\"+this.type),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case\"dsa\":case\"ecdsa\":var r,i;if(\"asn1\"===e){var o=new l.BerWriter;return o.startSequence(),r=p.mpNormalize(this.part.r.data),i=p.mpNormalize(this.part.s.data),o.writeBuffer(r,l.Ber.Integer),o.writeBuffer(i,l.Ber.Integer),o.endSequence(),o.buffer}if(\"ssh\"===e&&\"dsa\"===this.type)return t=new f({}),t.writeString(\"ssh-dss\"),r=this.part.r.data,0===r[0]&&(r=r.slice(1)),i=this.part.s.data,t.writeBuffer(n.concat([r,i])),t.toBuffer();if(\"ssh\"===e&&\"ecdsa\"===this.type){var a=new f({});r=this.part.r,0===r[0]&&(r=r.slice(1)),a.writePart(r),a.writePart(this.part.s),t=new f({});var s,u=8*this.part.r.data.length;return 256===u?s=\"nistp256\":384===u?s=\"nistp384\":528===u&&(s=\"nistp521\"),t.writeString(\"ecdsa-sha2-\"+s),t.writeBuffer(a.toBuffer()),t.toBuffer()}throw new Error(\"Invalid signature format\");default:throw new Error(\"Invalid signature data\")}},r.prototype.toString=function(e){return c.optionalString(e,\"format\"),this.toBuffer(e).toString(\"base64\")},r.parse=function(e,t,r){\"string\"==typeof e&&(e=new n(e,\"base64\")),c.buffer(e,\"data\"),c.string(r,\"format\"),c.string(t,\"type\");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,\"signature must not be empty\"),u.type){case\"rsa\":return i(e,t,r,u,\"ssh-rsa\");case\"ed25519\":return i(e,t,r,u,\"ssh-ed25519\");case\"dsa\":case\"ecdsa\":return\"asn1\"===r?o(e,t,r,u):\"dsa\"===u.type?a(e,t,r,u):s(e,t,r,u);default:throw new d(t)}}catch(p){if(p instanceof d)throw p;throw new h(t,r,p)}},r.isSignature=function(e,t){return p.isCompatible(e,r,t)},r.prototype._sshpkApiVersion=[2,1],r._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty(\"hashAlgorithm\")?[2,0]:[1,0]}}).call(this,e(\"buffer\").Buffer)},{\"./algs\":436,\"./errors\":439,\"./ssh-buffer\":452,\"./utils\":453,asn1:9,\"assert-plus\":10,buffer:void 0,crypto:void 0}],452:[function(e,t,n){(function(n){function r(e){i.object(e,\"options\"),void 0!==e.buffer&&i.buffer(e.buffer,\"options.buffer\"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new n(this._size),this._offset=0}t.exports=r;var i=e(\"assert-plus\");r.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},r.prototype.atEnd=function(){return this._offset>=this._buffer.length},r.prototype.remainder=function(){return this._buffer.slice(this._offset)},r.prototype.skip=function(e){this._offset+=e},r.prototype.expand=function(){this._size*=2;var e=new n(this._size);this._buffer.copy(e,0),this._buffer=e},r.prototype.readPart=function(){return{data:this.readBuffer()}},r.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,\"length out of bounds at +0x\"+this._offset.toString(16)+\" (data truncated?)\");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},r.prototype.readString=function(){return this.readBuffer().toString()},r.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,\"c string does not terminate\");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},r.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},r.prototype.readChar=function(){var e=this._buffer[this._offset++];return e},r.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},r.prototype.writeString=function(e){this.writeBuffer(new n(e,\"utf8\"))},r.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},r.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},r.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},r.prototype.writePart=function(e){this.writeBuffer(e.data)},r.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length;\n}}).call(this,e(\"buffer\").Buffer)},{\"assert-plus\":10,buffer:void 0}],453:[function(e,t,n){(function(n){function r(e,t,n){if(null===e||\"object\"!=typeof e)return!1;if(void 0===n&&(n=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])return!0;for(var r=Object.getPrototypeOf(e),i=0;r.constructor.name!==t.name;)if(r=Object.getPrototypeOf(r),!r||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;return void 0===o&&(o=t._oldVersionDetect(e)),!(o[0]!=n[0]||o[1]<n[1])}function i(e,t,n,r){if(void 0===r&&(r=\"object\"),f.ok(e,r+\" must not be null\"),f.object(e,r+\" must be an object\"),void 0===n&&(n=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==n[0])){for(var i=Object.getPrototypeOf(e),o=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),f.ok(i&&++o<=h,r+\" must be a \"+t.name+\" instance\");f.strictEqual(i.constructor.name,t.name,r+\" must be a \"+t.name+\" instance\");var a=i._sshpkApiVersion;void 0===a&&(a=t._oldVersionDetect(e)),f.ok(a[0]==n[0]&&a[1]>=n[1],r+\" must be compatible with \"+t.name+\" klass version \"+n[0]+\".\"+n[1])}}function o(e){for(var t=0,n=8;t<e.length;){var r=1<<n;if((e[t]&r)===r)break;n--,0>n&&(t++,n=8)}return 8*t+(8-n)-1}function a(e,t){f.buffer(e),f.string(t);for(var n=[],r=0,i=0,o=0;o<e.length;++o)if(e[o]===t.charCodeAt(i)?++i:i=e[o]===t.charCodeAt(0)?1:0,i>=t.length){var a=o+1;n.push(e.slice(r,a-i)),r=a,i=0}return r<=e.length&&n.push(e.slice(r,e.length)),n}function s(e,t){if(f.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error(\"Compressed elliptic curve points are not supported\");if(4!==e[0])throw new Error(\"Not a valid elliptic curve point\");if(!t)return e}var r=new n(e.length+1);return r[0]=0,e.copy(r,1),r}function c(e){for(f.buffer(e);e.length>1&&0===e[0]&&0===(128&e[1]);)e=e.slice(1);if(128===(128&e[0])){var t=new n(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function u(e){var t=new n(e.toByteArray());return t=c(t)}function p(t,n,r){f.buffer(t),f.buffer(n),f.buffer(r);try{var i=e(\"jsbn\").BigInteger}catch(o){throw new Error(\"To load a PKCS#8 format DSA private key, the node jsbn library is required.\")}t=new i(t),n=new i(n),r=new i(r);var a=t.modPow(r,n),s=u(a);return s}function l(t){f.object(t),i(t,d,[1,1]);try{var n=e(\"jsbn\").BigInteger}catch(r){throw new Error(\"To write a PEM private key from this source, the node jsbn lib is required.\")}var o,a=new n(t.part.d.data);if(!t.part.dmodp){var s=new n(t.part.p.data),c=a.mod(s.subtract(1));o=u(c),t.part.dmodp={name:\"dmodp\",data:o},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var p=new n(t.part.q.data),l=a.mod(p.subtract(1));o=u(l),t.part.dmodq={name:\"dmodq\",data:o},t.parts.push(t.part.dmodq)}}t.exports={bufferSplit:a,addRSAMissing:l,calculateDSAPublic:p,mpNormalize:c,ecNormalize:s,countZeros:o,assertCompatible:i,isCompatible:r};var f=e(\"assert-plus\"),d=e(\"./private-key\"),h=3}).call(this,e(\"buffer\").Buffer)},{\"./private-key\":450,\"assert-plus\":10,buffer:void 0,jsbn:171}],454:[function(e,t,n){t.exports={100:\"Continue\",101:\"Switching Protocols\",102:\"Processing\",200:\"OK\",201:\"Created\",202:\"Accepted\",203:\"Non-Authoritative Information\",204:\"No Content\",205:\"Reset Content\",206:\"Partial Content\",207:\"Multi-Status\",208:\"Already Reported\",226:\"IM Used\",300:\"Multiple Choices\",301:\"Moved Permanently\",302:\"Found\",303:\"See Other\",304:\"Not Modified\",305:\"Use Proxy\",306:\"(Unused)\",307:\"Temporary Redirect\",308:\"Permanent Redirect\",400:\"Bad Request\",401:\"Unauthorized\",402:\"Payment Required\",403:\"Forbidden\",404:\"Not Found\",405:\"Method Not Allowed\",406:\"Not Acceptable\",407:\"Proxy Authentication Required\",408:\"Request Timeout\",409:\"Conflict\",410:\"Gone\",411:\"Length Required\",412:\"Precondition Failed\",413:\"Payload Too Large\",414:\"URI Too Long\",415:\"Unsupported Media Type\",416:\"Range Not Satisfiable\",417:\"Expectation Failed\",418:\"I'm a teapot\",422:\"Unprocessable Entity\",423:\"Locked\",424:\"Failed Dependency\",425:\"Unordered Collection\",426:\"Upgrade Required\",428:\"Precondition Required\",429:\"Too Many Requests\",431:\"Request Header Fields Too Large\",451:\"Unavailable For Legal Reasons\",500:\"Internal Server Error\",501:\"Not Implemented\",502:\"Bad Gateway\",503:\"Service Unavailable\",504:\"Gateway Timeout\",505:\"HTTP Version Not Supported\",506:\"Variant Also Negotiates\",507:\"Insufficient Storage\",508:\"Loop Detected\",509:\"Bandwidth Limit Exceeded\",510:\"Not Extended\",511:\"Network Authentication Required\"}},{}],455:[function(e,t,n){function r(e){if(\"number\"==typeof e){if(!r[e])throw new Error(\"invalid status code: \"+e);return e}if(\"string\"!=typeof e)throw new TypeError(\"code must be a number or string\");var t=parseInt(e,10);if(!isNaN(t)){if(!r[t])throw new Error(\"invalid status code: \"+t);return t}if(t=r[e.toLowerCase()],!t)throw new Error('invalid status message: \"'+e+'\"');return t}var i=e(\"./codes.json\");t.exports=r,r.codes=Object.keys(i).map(function(e){e=~~e;var t=i[e];return r[e]=t,r[t]=r[t.toLowerCase()]=e,e}),r.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},r.empty={204:!0,205:!0,304:!0},r.retry={502:!0,503:!0,504:!0}},{\"./codes.json\":454}],456:[function(e,t,n){function r(e){if(e&&!c(e))throw new Error(\"Unknown encoding: \"+e)}function i(e){return e.toString(this.encoding)}function o(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function a(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e(\"buffer\").Buffer,c=s.isEncoding||function(e){switch(e&&e.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}},u=n.StringDecoder=function(e){switch(this.encoding=(e||\"utf8\").toLowerCase().replace(/[-_]/,\"\"),r(e),this.encoding){case\"utf8\":this.surrogateSize=3;break;case\"ucs2\":case\"utf16le\":this.surrogateSize=2,this.detectIncompleteChar=o;break;case\"base64\":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t=\"\";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return\"\";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=\"\"}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,r=t.charCodeAt(i);if(r>=55296&&56319>=r){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t=\"\";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},{buffer:void 0}],457:[function(e,t,n){(function(n){function r(e,t){return this instanceof r?(s.call(this),null==e&&(e=\"utf8\"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?\"\":e,void(this.decoder=new i(this.toEncoding))):new r(e,t)}function i(e){switch(c.call(this,e),this.encoding){case\"base64\":this.write=o,this.alignedBuffer=new n(3),this.alignedBytes=0}}function o(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var r=new n(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(r,0,0,this.alignedBytes),e.copy(r,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,r.toString(this.encoding)}var a=e(\"util\"),s=e(\"stream\"),c=e(\"string_decoder\").StringDecoder;t.exports=r,t.exports.AlignedStringDecoder=i,a.inherits(r,s),r.prototype.write=function(e){if(!this.writable){var t=new Error(\"stream not writable\");return t.code=\"EPIPE\",this.emit(\"error\",t),!1}this.fromEncoding&&(n.isBuffer(e)&&(e=e.toString()),e=new n(e,this.fromEncoding));var r=this.decoder.write(e);return r.length&&this.emit(\"data\",r),!this.paused},r.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit(\"data\",e)}},r.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit(\"end\"),this.writable=this.readable=!1,this.destroy())},r.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit(\"close\")},r.prototype.pause=function(){this.paused=!0},r.prototype.resume=function(){this.paused&&this.emit(\"drain\"),this.paused=!1},a.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return\"\";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,stream:void 0,string_decoder:void 0,util:void 0}],458:[function(e,t,n){\"use strict\";function r(e){if(e){var t=e.split(E);if(t){for(var n=null,r=null,i=null,o=null,a=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var p;if(null===i&&(p=z.exec(u))){if(n=parseInt(p[1],10),r=parseInt(p[2],10),i=parseInt(p[3],10),n>23||r>59||i>59)return}else if(null===o&&(p=M.exec(u))){if(o=parseInt(p,10),1>o||o>31)return}else if(null===a&&(p=B.exec(u)))a=N[p[1].toLowerCase()];else if(null===s&&(p=R.exec(u),p&&(s=parseInt(p[0],10),s>=70&&99>=s?s+=1900:s>=0&&69>=s&&(s+=2e3),1601>s)))return}}if(null!==i&&null!==o&&null!==a&&null!==s)return new Date(Date.UTC(s,a,o,n,r,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:\"0\"+t;var n=e.getUTCHours();n=n>=10?n:\"0\"+n;var r=e.getUTCMinutes();r=r>=10?r:\"0\"+r;var i=e.getUTCSeconds();return i=i>=10?i:\"0\"+i,q[e.getUTCDay()]+\", \"+t+\" \"+D[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+n+\":\"+r+\":\"+i+\" GMT\"}function o(e){return null==e?null:(e=e.trim().replace(/^\\./,\"\"),g&&/[^\\u0001-\\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function a(e,t,n){if(null==e||null==t)return null;if(n!==!1&&(e=o(e),t=o(t)),e==t)return!0;if(y.isIP(e))return!1;var r=e.indexOf(t);return 0>=r?!1:e.length!==t.length+r?!1:\".\"===e.substr(r-1,1)}function s(e){if(!e||\"/\"!==e.substr(0,1))return\"/\";if(\"/\"===e)return e;var t=e.lastIndexOf(\"/\");return 0===t?\"/\":e.slice(0,t)}function c(e,t){t&&\"object\"==typeof t||(t={}),e=e.trim();var n=F.exec(e);n&&(e=e.slice(0,n.index));var i=e.indexOf(\";\"),o=t.loose?I:T,a=o.exec(-1===i?e:e.substr(0,i));if(a){var s=new h;if(a[1]?s.key=a[2].trim():s.key=\"\",s.value=a[3].trim(),!C.test(s.key)&&!C.test(s.value)){if(-1===i)return s;var c=e.slice(i).replace(/^\\s*;\\s*/,\"\").trim();if(0===c.length)return s;for(var u=c.split(/\\s*;\\s*/);u.length;){var p,l,f=u.shift(),d=f.indexOf(\"=\");switch(-1===d?(p=f,l=null):(p=f.substr(0,d),l=f.substr(d+1)),p=p.trim().toLowerCase(),l&&(l=l.trim()),p){case\"expires\":if(l){var m=r(l);m&&(s.expires=m)}break;case\"max-age\":if(l&&/^-?[0-9]+$/.test(l)){var v=parseInt(l,10);s.setMaxAge(v)}break;case\"domain\":if(l){var g=l.trim().replace(/^\\./,\"\");g&&(s.domain=g.toLowerCase())}break;case\"path\":s.path=l&&\"/\"===l[0]?l:null;break;case\"secure\":s.secure=!0;break;case\"httponly\":s.httpOnly=!0;break;default:s.extensions=s.extensions||[],s.extensions.push(f)}}return s}}}function u(e){var t;try{t=JSON.parse(e)}catch(n){return n}return t}function p(e){if(!e)return null;var t;if(\"string\"==typeof e){if(t=u(e),t instanceof Error)return null}else t=e;for(var n=new h,r=0;r<h.serializableProperties.length;r++){var i=h.serializableProperties[r];void 0!==t[i]&&t[i]!==h.prototype[i]&&(\"expires\"===i||\"creation\"===i||\"lastAccessed\"===i?null===t[i]?n[i]=null:n[i]=\"Infinity\"==t[i]?\"Infinity\":new Date(t[i]):n[i]=t[i])}return n}function l(e,t){var n=0,r=e.path?e.path.length:0,i=t.path?t.path.length:0;if(n=i-r,0!==n)return n;var o=e.creation?e.creation.getTime():L,a=t.creation?t.creation.getTime():L;return n=o-a,0!==n?n:n=e.creationIndex-t.creationIndex}function f(e){if(\"/\"===e)return[\"/\"];e.lastIndexOf(\"/\")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var n=e.lastIndexOf(\"/\");if(0===n)break;e=e.substr(0,n),t.push(e)}return t.push(\"/\"),t}function d(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(t){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&\"_\"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,\"creationIndex\",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function m(e,t){\"boolean\"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new _),this.store=e}function v(e){return function(){if(!this.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");var t,n,r=Array.prototype.slice.call(arguments);if(r.push(function(e,r){t=e,n=r}),this[e].apply(this,r),t)throw t;return n}}var g,y=e(\"net\"),b=e(\"url\").parse,x=e(\"./pubsuffix\"),w=e(\"./store\").Store,_=e(\"./memstore\").MemoryCookieStore,k=e(\"./pathMatch\").pathMatch,j=e(\"../package.json\").version;try{g=e(\"punycode\")}catch(S){console.warn(\"cookie: can't load punycode; won't use punycode for domain normalization\")}var E=/[\\x09\\x20-\\x2F\\x3B-\\x40\\x5B-\\x60\\x7B-\\x7E]/,O=/[\\x21\\x23-\\x2B\\x2D-\\x3A\\x3C-\\x5B\\x5D-\\x7E]/,A=new RegExp(\"^\"+O.source+\"+$\"),C=/[\\x00-\\x1F]/,T=/^(([^=;]+))\\s*=\\s*([^\\n\\r\\0]*)/,I=/^((?:=)?([^=;]*)\\s*=\\s*)?([^\\n\\r\\0]*)/,P=/[\\x20-\\x3A\\x3C-\\x7E]+/,F=/;+$/,M=/^(\\d{1,2})[^\\d]*$/,z=/^(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*:(\\d{1,2})[^\\d]*$/,B=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,N={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},D=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],q=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],R=/^(\\d{2}|\\d{4})$/,L=2147483647e3,$=0;h.cookiesCreated=0,h.parse=c,h.fromJSON=p,h.prototype.key=\"\",h.prototype.value=\"\",h.prototype.expires=\"Infinity\",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,\"creationIndex\",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||\"creationIndex\"===e||\"_\"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie=\"'+this.toString()+\"; hostOnly=\"+(null!=this.hostOnly?this.hostOnly:\"?\")+\"; aAge=\"+(this.lastAccessed?e-this.lastAccessed.getTime()+\"ms\":\"?\")+\"; cAge=\"+(this.creation?e-this.creation.getTime()+\"ms\":\"?\")+'\"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==h.prototype[r]&&(\"expires\"===r||\"creation\"===r||\"lastAccessed\"===r?null===this[r]?e[r]=null:e[r]=\"Infinity\"==this[r]?\"Infinity\":this[r].toISOString():\"maxAge\"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-(1/0)?this[r].toString():this[r]):this[r]!==h.prototype[r]&&(e[r]=this[r]))}return e},h.prototype.clone=function(){return p(this.toJSON())},h.prototype.validate=function(){if(!A.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||r(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!P.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\\.$/))return!1;var t=x.getPublicSuffix(e);if(null==t)return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=r(e)||\"Infinity\"},h.prototype.setMaxAge=function(e){e===1/0||e===-(1/0)?this.maxAge=e.toString():this.maxAge=e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=\"\"),\"\"===this.key?e:this.key+\"=\"+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(e+=this.expires instanceof Date?\"; Expires=\"+i(this.expires):\"; Expires=\"+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+=\"; Max-Age=\"+this.maxAge),this.domain&&!this.hostOnly&&(e+=\"; Domain=\"+this.domain),this.path&&(e+=\"; Path=\"+this.path),this.secure&&(e+=\"; Secure\"),this.httpOnly&&(e+=\"; HttpOnly\"),this.extensions&&this.extensions.forEach(function(t){e+=\"; \"+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=r(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-(1/0):1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(L):t==-(1/0)?new Date($):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:o(this.domain)},m.prototype.store=null,m.prototype.rejectPublicSuffixes=!0,m.prototype.enableLooseMode=!1;var U=[];U.push(\"setCookie\"),m.prototype.setCookie=function(e,t,n,r){function i(t,i){if(t)return r(t);var o=function(t){return t?r(t):void r(null,e)};if(i){if(n.http===!1&&i.httpOnly)return t=new Error(\"old Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,v.updateCookie(i,e,o)}else e.creation=e.lastAccessed=f,v.putCookie(e,o)}var c,u=d(t);n instanceof Function&&(r=n,n={});var p=o(u.hostname),l=this.enableLooseMode;if(null!=n.loose&&(l=n.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return c=new Error(\"Cookie failed to parse\"),r(n.ignoreError?null:c);var f=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain){var m=x.getPublicSuffix(e.cdomain());if(null==m)return c=new Error(\"Cookie has domain set to a public suffix\"),r(n.ignoreError?null:c)}if(e.domain){if(!a(p,e.cdomain(),!1))return c=new Error(\"Cookie not in this host's domain. Cookie:\"+e.cdomain()+\" Request:\"+p),r(n.ignoreError?null:c);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=p;if(e.path&&\"/\"===e.path[0]||(e.path=s(u.pathname),e.pathIsDefault=!0),n.http===!1&&e.httpOnly)return c=new Error(\"Cookie is HttpOnly and this isn't an HTTP API\"),r(n.ignoreError?null:c);var v=this.store;v.updateCookie||(v.updateCookie=function(e,t,n){this.putCookie(t,n)}),v.findCookie(e.domain,e.path,e.key,i)},U.push(\"getCookies\"),m.prototype.getCookies=function(e,t,n){function r(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!a(s,e.domain,!1))return!1;return m||k(c,e.path)?e.secure&&!u?!1:e.httpOnly&&!p?!1:h&&e.expiryTime()<=f?(v.removeCookie(e.domain,e.path,e.key,function(){}),!1):!0:!1}var i=d(e);t instanceof Function&&(n=t,t={});var s=o(i.hostname),c=i.pathname||\"/\",u=t.secure;null!=u||!i.protocol||\"https:\"!=i.protocol&&\"wss:\"!=i.protocol||(u=!0);var p=t.http;null==p&&(p=!0);var f=t.now||Date.now(),h=t.expire!==!1,m=!!t.allPaths,v=this.store;v.findCookies(s,m?null:c,function(e,i){if(e)return n(e);i=i.filter(r),t.sort!==!1&&(i=i.sort(l));var o=new Date;i.forEach(function(e){e.lastAccessed=o}),n(null,i)})},U.push(\"getCookieString\"),m.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.sort(l).map(function(e){return e.cookieString()}).join(\"; \"))};e.push(n),this.getCookies.apply(this,e)},U.push(\"getSetCookieStrings\"),m.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop(),n=function(e,n){e?t(e):t(null,n.map(function(e){return e.toString()}))};e.push(n),this.getCookies.apply(this,e)},U.push(\"serialize\"),m.prototype.serialize=function(e){var t=this.store.constructor.name;\"Object\"===t&&(t=null);var n={version:\"tough-cookie@\"+j,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};return this.store.getAllCookies&&\"function\"==typeof this.store.getAllCookies?void this.store.getAllCookies(function(t,r){return t?e(t):(n.cookies=r.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,n))}):e(new Error(\"store does not support getAllCookies and cannot be serialized\"))},m.prototype.toJSON=function(){return this.serializeSync()},U.push(\"_importCookies\"),m.prototype._importCookies=function(e,t){function n(e){if(e)return t(e);if(!i.length)return t(e,r);var o;try{o=p(i.shift())}catch(a){return t(a)}return null===o?n(null):void r.store.putCookie(o,n)}var r=this,i=e.cookies;return i&&Array.isArray(i)?void n():t(new Error(\"serialized jar has no cookies array\"))},m.deserialize=function(e,t,n){3!==arguments.length&&(n=t,t=null);var r;if(\"string\"==typeof e){if(r=u(e),r instanceof Error)return n(r)}else r=e;var i=new m(t,r.rejectPublicSuffixes);i._importCookies(r,function(e){return e?n(e):void n(null,i)})},m.deserializeSync=function(e,t){var n=\"string\"==typeof e?JSON.parse(e):e,r=new m(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error(\"CookieJar store is not synchronous; use async API instead.\");return r._importCookiesSync(n),r},m.fromJSON=m.deserializeSync,U.push(\"clone\"),m.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(n,r){return n?t(n):void m.deserialize(e,r,t)})},U.forEach(function(e){m.prototype[e+\"Sync\"]=v(e)}),t.exports={CookieJar:m,Cookie:h,Store:w,MemoryCookieStore:_,parseDate:r,formatDate:i,parse:c,fromJSON:p,domainMatch:a,defaultPath:s,pathMatch:k,getPublicSuffix:x.getPublicSuffix,cookieCompare:l,permuteDomain:e(\"./permuteDomain\").permuteDomain,permutePath:f,canonicalDomain:o}},{\"../package.json\":464,\"./memstore\":459,\"./pathMatch\":460,\"./permuteDomain\":461,\"./pubsuffix\":462,\"./store\":463,net:void 0,punycode:void 0,url:void 0}],459:[function(e,t,n){\"use strict\";function r(){i.call(this),this.idx={}}var i=e(\"./store\").Store,o=e(\"./permuteDomain\").permuteDomain,a=e(\"./pathMatch\").pathMatch,s=e(\"util\");s.inherits(r,i),n.MemoryCookieStore=r,r.prototype.idx=null,r.prototype.synchronous=!0,r.prototype.inspect=function(){return\"{ idx: \"+s.inspect(this.idx,!1,2)+\" }\"},r.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},r.prototype.findCookies=function(e,t,n){var r=[];if(!e)return n(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(n){if(a(t,n)){var i=e[n];for(var o in i)r.push(i[o])}})}:function(e){for(var t in e){var n=e[t];for(var i in n)r.push(n[i])}};var s=o(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),n(null,r)},r.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},r.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},r.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},r.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},r.prototype.getAllCookies=function(e){var t=[],n=this.idx,r=Object.keys(n);r.forEach(function(e){var r=Object.keys(n[e]);r.forEach(function(r){var i=Object.keys(n[e][r]);i.forEach(function(i){null!==i&&t.push(n[e][r][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{\"./pathMatch\":460,\"./permuteDomain\":461,\"./store\":463,util:void 0}],460:[function(e,t,n){\"use strict\";function r(e,t){if(t===e)return!0;var n=e.indexOf(t);if(0===n){if(\"/\"===t.substr(-1))return!0;if(\"/\"===e.substr(t.length,1))return!0}return!1}n.pathMatch=r},{}],461:[function(e,t,n){\"use strict\";function r(e){var t=i.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)),r=n.split(\".\").reverse(),o=t,a=[o];r.length;)o=r.shift()+\".\"+o,a.push(o);return a}var i=e(\"./pubsuffix\");n.permuteDomain=r},{\"./pubsuffix\":462}],462:[function(e,t,n){\"use strict\";var r=e(\"punycode\");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\\./))return null;var t=r.toASCII(e),n=!1;if(t!==e&&(e=t,n=!0),i[e])return null;e=e.toLowerCase();for(var o=e.split(\".\").reverse(),a=\"\",s=0,c=0;c<o.length;c++){var u=o[c],p=\"*\"+a,l=u+a;i[p]?(s=c+1,i[l]===!1&&s--):i[l]&&(s=c+1),a=\".\"+l}if(i[\"*\"+a])return null;if(s=s||1,o.length>s){var f=o.slice(0,s+1).reverse().join(\".\");return n?r.toUnicode(f):f}return null};var i=t.exports.index=Object.freeze({ac:!0,\"com.ac\":!0,\"edu.ac\":!0,\"gov.ac\":!0,\"net.ac\":!0,\"mil.ac\":!0,\"org.ac\":!0,ad:!0,\"nom.ad\":!0,ae:!0,\"co.ae\":!0,\"net.ae\":!0,\"org.ae\":!0,\"sch.ae\":!0,\"ac.ae\":!0,\"gov.ae\":!0,\"mil.ae\":!0,aero:!0,\"accident-investigation.aero\":!0,\"accident-prevention.aero\":!0,\"aerobatic.aero\":!0,\"aeroclub.aero\":!0,\"aerodrome.aero\":!0,\"agents.aero\":!0,\"aircraft.aero\":!0,\"airline.aero\":!0,\"airport.aero\":!0,\"air-surveillance.aero\":!0,\"airtraffic.aero\":!0,\"air-traffic-control.aero\":!0,\"ambulance.aero\":!0,\"amusement.aero\":!0,\"association.aero\":!0,\"author.aero\":!0,\"ballooning.aero\":!0,\"broker.aero\":!0,\"caa.aero\":!0,\"cargo.aero\":!0,\"catering.aero\":!0,\"certification.aero\":!0,\"championship.aero\":!0,\"charter.aero\":!0,\"civilaviation.aero\":!0,\"club.aero\":!0,\"conference.aero\":!0,\"consultant.aero\":!0,\"consulting.aero\":!0,\"control.aero\":!0,\"council.aero\":!0,\"crew.aero\":!0,\"design.aero\":!0,\"dgca.aero\":!0,\"educator.aero\":!0,\"emergency.aero\":!0,\"engine.aero\":!0,\"engineer.aero\":!0,\"entertainment.aero\":!0,\"equipment.aero\":!0,\"exchange.aero\":!0,\"express.aero\":!0,\"federation.aero\":!0,\"flight.aero\":!0,\"freight.aero\":!0,\"fuel.aero\":!0,\"gliding.aero\":!0,\"government.aero\":!0,\"groundhandling.aero\":!0,\"group.aero\":!0,\"hanggliding.aero\":!0,\"homebuilt.aero\":!0,\"insurance.aero\":!0,\"journal.aero\":!0,\"journalist.aero\":!0,\"leasing.aero\":!0,\"logistics.aero\":!0,\"magazine.aero\":!0,\"maintenance.aero\":!0,\"marketplace.aero\":!0,\"media.aero\":!0,\"microlight.aero\":!0,\"modelling.aero\":!0,\"navigation.aero\":!0,\"parachuting.aero\":!0,\"paragliding.aero\":!0,\"passenger-association.aero\":!0,\"pilot.aero\":!0,\"press.aero\":!0,\"production.aero\":!0,\"recreation.aero\":!0,\"repbody.aero\":!0,\"res.aero\":!0,\"research.aero\":!0,\"rotorcraft.aero\":!0,\"safety.aero\":!0,\"scientist.aero\":!0,\"services.aero\":!0,\"show.aero\":!0,\"skydiving.aero\":!0,\"software.aero\":!0,\"student.aero\":!0,\"taxi.aero\":!0,\"trader.aero\":!0,\"trading.aero\":!0,\"trainer.aero\":!0,\"union.aero\":!0,\"workinggroup.aero\":!0,\"works.aero\":!0,af:!0,\"gov.af\":!0,\"com.af\":!0,\"org.af\":!0,\"net.af\":!0,\"edu.af\":!0,ag:!0,\"com.ag\":!0,\"org.ag\":!0,\"net.ag\":!0,\"co.ag\":!0,\"nom.ag\":!0,ai:!0,\"off.ai\":!0,\"com.ai\":!0,\"net.ai\":!0,\"org.ai\":!0,al:!0,\"com.al\":!0,\"edu.al\":!0,\"gov.al\":!0,\"mil.al\":!0,\"net.al\":!0,\"org.al\":!0,am:!0,an:!0,\"com.an\":!0,\"net.an\":!0,\"org.an\":!0,\"edu.an\":!0,ao:!0,\"ed.ao\":!0,\"gv.ao\":!0,\"og.ao\":!0,\"co.ao\":!0,\"pb.ao\":!0,\"it.ao\":!0,aq:!0,ar:!0,\"com.ar\":!0,\"edu.ar\":!0,\"gob.ar\":!0,\"gov.ar\":!0,\"int.ar\":!0,\"mil.ar\":!0,\"net.ar\":!0,\"org.ar\":!0,\"tur.ar\":!0,arpa:!0,\"e164.arpa\":!0,\"in-addr.arpa\":!0,\"ip6.arpa\":!0,\"iris.arpa\":!0,\"uri.arpa\":!0,\"urn.arpa\":!0,as:!0,\"gov.as\":!0,asia:!0,at:!0,\"ac.at\":!0,\"co.at\":!0,\"gv.at\":!0,\"or.at\":!0,au:!0,\"com.au\":!0,\"net.au\":!0,\"org.au\":!0,\"edu.au\":!0,\"gov.au\":!0,\"asn.au\":!0,\"id.au\":!0,\"info.au\":!0,\"conf.au\":!0,\"oz.au\":!0,\"act.au\":!0,\"nsw.au\":!0,\"nt.au\":!0,\"qld.au\":!0,\"sa.au\":!0,\"tas.au\":!0,\"vic.au\":!0,\"wa.au\":!0,\"act.edu.au\":!0,\"nsw.edu.au\":!0,\"nt.edu.au\":!0,\"qld.edu.au\":!0,\"sa.edu.au\":!0,\"tas.edu.au\":!0,\"vic.edu.au\":!0,\"wa.edu.au\":!0,\"qld.gov.au\":!0,\"sa.gov.au\":!0,\"tas.gov.au\":!0,\"vic.gov.au\":!0,\"wa.gov.au\":!0,aw:!0,\"com.aw\":!0,ax:!0,az:!0,\"com.az\":!0,\"net.az\":!0,\"int.az\":!0,\"gov.az\":!0,\"org.az\":!0,\"edu.az\":!0,\"info.az\":!0,\"pp.az\":!0,\"mil.az\":!0,\"name.az\":!0,\"pro.az\":!0,\"biz.az\":!0,ba:!0,\"org.ba\":!0,\"net.ba\":!0,\"edu.ba\":!0,\"gov.ba\":!0,\"mil.ba\":!0,\"unsa.ba\":!0,\"unbi.ba\":!0,\"co.ba\":!0,\"com.ba\":!0,\"rs.ba\":!0,bb:!0,\"biz.bb\":!0,\"co.bb\":!0,\"com.bb\":!0,\"edu.bb\":!0,\"gov.bb\":!0,\"info.bb\":!0,\"net.bb\":!0,\"org.bb\":!0,\"store.bb\":!0,\"tv.bb\":!0,\"*.bd\":!0,be:!0,\"ac.be\":!0,bf:!0,\"gov.bf\":!0,bg:!0,\"a.bg\":!0,\"b.bg\":!0,\"c.bg\":!0,\"d.bg\":!0,\"e.bg\":!0,\"f.bg\":!0,\"g.bg\":!0,\"h.bg\":!0,\"i.bg\":!0,\"j.bg\":!0,\"k.bg\":!0,\"l.bg\":!0,\"m.bg\":!0,\"n.bg\":!0,\"o.bg\":!0,\"p.bg\":!0,\"q.bg\":!0,\"r.bg\":!0,\"s.bg\":!0,\"t.bg\":!0,\"u.bg\":!0,\"v.bg\":!0,\"w.bg\":!0,\"x.bg\":!0,\"y.bg\":!0,\"z.bg\":!0,\"0.bg\":!0,\"1.bg\":!0,\"2.bg\":!0,\"3.bg\":!0,\"4.bg\":!0,\"5.bg\":!0,\"6.bg\":!0,\"7.bg\":!0,\"8.bg\":!0,\"9.bg\":!0,bh:!0,\"com.bh\":!0,\"edu.bh\":!0,\"net.bh\":!0,\"org.bh\":!0,\"gov.bh\":!0,bi:!0,\"co.bi\":!0,\"com.bi\":!0,\"edu.bi\":!0,\"or.bi\":!0,\"org.bi\":!0,biz:!0,bj:!0,\"asso.bj\":!0,\"barreau.bj\":!0,\"gouv.bj\":!0,bm:!0,\"com.bm\":!0,\"edu.bm\":!0,\"gov.bm\":!0,\"net.bm\":!0,\"org.bm\":!0,\"*.bn\":!0,bo:!0,\"com.bo\":!0,\"edu.bo\":!0,\"gov.bo\":!0,\"gob.bo\":!0,\"int.bo\":!0,\"org.bo\":!0,\"net.bo\":!0,\"mil.bo\":!0,\"tv.bo\":!0,br:!0,\"adm.br\":!0,\"adv.br\":!0,\"agr.br\":!0,\"am.br\":!0,\"arq.br\":!0,\"art.br\":!0,\"ato.br\":!0,\"b.br\":!0,\"bio.br\":!0,\"blog.br\":!0,\"bmd.br\":!0,\"cim.br\":!0,\"cng.br\":!0,\"cnt.br\":!0,\"com.br\":!0,\"coop.br\":!0,\"ecn.br\":!0,\"eco.br\":!0,\"edu.br\":!0,\"emp.br\":!0,\"eng.br\":!0,\"esp.br\":!0,\"etc.br\":!0,\"eti.br\":!0,\"far.br\":!0,\"flog.br\":!0,\"fm.br\":!0,\"fnd.br\":!0,\"fot.br\":!0,\"fst.br\":!0,\"g12.br\":!0,\"ggf.br\":!0,\"gov.br\":!0,\"imb.br\":!0,\"ind.br\":!0,\"inf.br\":!0,\"jor.br\":!0,\"jus.br\":!0,\"leg.br\":!0,\"lel.br\":!0,\"mat.br\":!0,\"med.br\":!0,\"mil.br\":!0,\"mp.br\":!0,\"mus.br\":!0,\"net.br\":!0,\"*.nom.br\":!0,\"not.br\":!0,\"ntr.br\":!0,\"odo.br\":!0,\"org.br\":!0,\"ppg.br\":!0,\"pro.br\":!0,\"psc.br\":!0,\"psi.br\":!0,\"qsl.br\":!0,\"radio.br\":!0,\"rec.br\":!0,\"slg.br\":!0,\"srv.br\":!0,\"taxi.br\":!0,\"teo.br\":!0,\"tmp.br\":!0,\"trd.br\":!0,\"tur.br\":!0,\"tv.br\":!0,\"vet.br\":!0,\"vlog.br\":!0,\"wiki.br\":!0,\"zlg.br\":!0,bs:!0,\"com.bs\":!0,\"net.bs\":!0,\"org.bs\":!0,\"edu.bs\":!0,\"gov.bs\":!0,bt:!0,\"com.bt\":!0,\"edu.bt\":!0,\"gov.bt\":!0,\"net.bt\":!0,\"org.bt\":!0,bv:!0,bw:!0,\"co.bw\":!0,\"org.bw\":!0,by:!0,\"gov.by\":!0,\"mil.by\":!0,\"com.by\":!0,\"of.by\":!0,bz:!0,\"com.bz\":!0,\"net.bz\":!0,\"org.bz\":!0,\"edu.bz\":!0,\"gov.bz\":!0,ca:!0,\"ab.ca\":!0,\"bc.ca\":!0,\"mb.ca\":!0,\"nb.ca\":!0,\"nf.ca\":!0,\"nl.ca\":!0,\"ns.ca\":!0,\"nt.ca\":!0,\"nu.ca\":!0,\"on.ca\":!0,\"pe.ca\":!0,\"qc.ca\":!0,\"sk.ca\":!0,\"yk.ca\":!0,\"gc.ca\":!0,cat:!0,cc:!0,cd:!0,\"gov.cd\":!0,cf:!0,cg:!0,ch:!0,ci:!0,\"org.ci\":!0,\"or.ci\":!0,\"com.ci\":!0,\"co.ci\":!0,\"edu.ci\":!0,\"ed.ci\":!0,\"ac.ci\":!0,\"net.ci\":!0,\"go.ci\":!0,\"asso.ci\":!0,\"xn--aroport-bya.ci\":!0,\"int.ci\":!0,\"presse.ci\":!0,\"md.ci\":!0,\"gouv.ci\":!0,\"*.ck\":!0,\"www.ck\":!1,cl:!0,\"gov.cl\":!0,\"gob.cl\":!0,\"co.cl\":!0,\"mil.cl\":!0,cm:!0,\"co.cm\":!0,\"com.cm\":!0,\"gov.cm\":!0,\"net.cm\":!0,cn:!0,\"ac.cn\":!0,\"com.cn\":!0,\"edu.cn\":!0,\"gov.cn\":!0,\"net.cn\":!0,\"org.cn\":!0,\"mil.cn\":!0,\"xn--55qx5d.cn\":!0,\"xn--io0a7i.cn\":!0,\"xn--od0alg.cn\":!0,\"ah.cn\":!0,\"bj.cn\":!0,\"cq.cn\":!0,\"fj.cn\":!0,\"gd.cn\":!0,\"gs.cn\":!0,\"gz.cn\":!0,\"gx.cn\":!0,\"ha.cn\":!0,\"hb.cn\":!0,\"he.cn\":!0,\"hi.cn\":!0,\"hl.cn\":!0,\"hn.cn\":!0,\"jl.cn\":!0,\"js.cn\":!0,\"jx.cn\":!0,\"ln.cn\":!0,\"nm.cn\":!0,\"nx.cn\":!0,\"qh.cn\":!0,\"sc.cn\":!0,\"sd.cn\":!0,\"sh.cn\":!0,\"sn.cn\":!0,\"sx.cn\":!0,\"tj.cn\":!0,\"xj.cn\":!0,\"xz.cn\":!0,\"yn.cn\":!0,\"zj.cn\":!0,\"hk.cn\":!0,\"mo.cn\":!0,\"tw.cn\":!0,co:!0,\"arts.co\":!0,\"com.co\":!0,\"edu.co\":!0,\"firm.co\":!0,\"gov.co\":!0,\"info.co\":!0,\"int.co\":!0,\"mil.co\":!0,\"net.co\":!0,\"nom.co\":!0,\"org.co\":!0,\"rec.co\":!0,\"web.co\":!0,com:!0,coop:!0,cr:!0,\"ac.cr\":!0,\"co.cr\":!0,\"ed.cr\":!0,\"fi.cr\":!0,\"go.cr\":!0,\"or.cr\":!0,\"sa.cr\":!0,cu:!0,\"com.cu\":!0,\"edu.cu\":!0,\"org.cu\":!0,\"net.cu\":!0,\"gov.cu\":!0,\"inf.cu\":!0,cv:!0,cw:!0,\"com.cw\":!0,\"edu.cw\":!0,\"net.cw\":!0,\"org.cw\":!0,cx:!0,\"gov.cx\":!0,\"ac.cy\":!0,\"biz.cy\":!0,\"com.cy\":!0,\"ekloges.cy\":!0,\"gov.cy\":!0,\n\"ltd.cy\":!0,\"name.cy\":!0,\"net.cy\":!0,\"org.cy\":!0,\"parliament.cy\":!0,\"press.cy\":!0,\"pro.cy\":!0,\"tm.cy\":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,\"com.dm\":!0,\"net.dm\":!0,\"org.dm\":!0,\"edu.dm\":!0,\"gov.dm\":!0,\"do\":!0,\"art.do\":!0,\"com.do\":!0,\"edu.do\":!0,\"gob.do\":!0,\"gov.do\":!0,\"mil.do\":!0,\"net.do\":!0,\"org.do\":!0,\"sld.do\":!0,\"web.do\":!0,dz:!0,\"com.dz\":!0,\"org.dz\":!0,\"net.dz\":!0,\"gov.dz\":!0,\"edu.dz\":!0,\"asso.dz\":!0,\"pol.dz\":!0,\"art.dz\":!0,ec:!0,\"com.ec\":!0,\"info.ec\":!0,\"net.ec\":!0,\"fin.ec\":!0,\"k12.ec\":!0,\"med.ec\":!0,\"pro.ec\":!0,\"org.ec\":!0,\"edu.ec\":!0,\"gov.ec\":!0,\"gob.ec\":!0,\"mil.ec\":!0,edu:!0,ee:!0,\"edu.ee\":!0,\"gov.ee\":!0,\"riik.ee\":!0,\"lib.ee\":!0,\"med.ee\":!0,\"com.ee\":!0,\"pri.ee\":!0,\"aip.ee\":!0,\"org.ee\":!0,\"fie.ee\":!0,eg:!0,\"com.eg\":!0,\"edu.eg\":!0,\"eun.eg\":!0,\"gov.eg\":!0,\"mil.eg\":!0,\"name.eg\":!0,\"net.eg\":!0,\"org.eg\":!0,\"sci.eg\":!0,\"*.er\":!0,es:!0,\"com.es\":!0,\"nom.es\":!0,\"org.es\":!0,\"gob.es\":!0,\"edu.es\":!0,et:!0,\"com.et\":!0,\"gov.et\":!0,\"org.et\":!0,\"edu.et\":!0,\"biz.et\":!0,\"name.et\":!0,\"info.et\":!0,\"net.et\":!0,eu:!0,fi:!0,\"aland.fi\":!0,\"*.fj\":!0,\"*.fk\":!0,fm:!0,fo:!0,fr:!0,\"com.fr\":!0,\"asso.fr\":!0,\"nom.fr\":!0,\"prd.fr\":!0,\"presse.fr\":!0,\"tm.fr\":!0,\"aeroport.fr\":!0,\"assedic.fr\":!0,\"avocat.fr\":!0,\"avoues.fr\":!0,\"cci.fr\":!0,\"chambagri.fr\":!0,\"chirurgiens-dentistes.fr\":!0,\"experts-comptables.fr\":!0,\"geometre-expert.fr\":!0,\"gouv.fr\":!0,\"greta.fr\":!0,\"huissier-justice.fr\":!0,\"medecin.fr\":!0,\"notaires.fr\":!0,\"pharmacien.fr\":!0,\"port.fr\":!0,\"veterinaire.fr\":!0,ga:!0,gb:!0,gd:!0,ge:!0,\"com.ge\":!0,\"edu.ge\":!0,\"gov.ge\":!0,\"org.ge\":!0,\"mil.ge\":!0,\"net.ge\":!0,\"pvt.ge\":!0,gf:!0,gg:!0,\"co.gg\":!0,\"net.gg\":!0,\"org.gg\":!0,gh:!0,\"com.gh\":!0,\"edu.gh\":!0,\"gov.gh\":!0,\"org.gh\":!0,\"mil.gh\":!0,gi:!0,\"com.gi\":!0,\"ltd.gi\":!0,\"gov.gi\":!0,\"mod.gi\":!0,\"edu.gi\":!0,\"org.gi\":!0,gl:!0,\"co.gl\":!0,\"com.gl\":!0,\"edu.gl\":!0,\"net.gl\":!0,\"org.gl\":!0,gm:!0,gn:!0,\"ac.gn\":!0,\"com.gn\":!0,\"edu.gn\":!0,\"gov.gn\":!0,\"org.gn\":!0,\"net.gn\":!0,gov:!0,gp:!0,\"com.gp\":!0,\"net.gp\":!0,\"mobi.gp\":!0,\"edu.gp\":!0,\"org.gp\":!0,\"asso.gp\":!0,gq:!0,gr:!0,\"com.gr\":!0,\"edu.gr\":!0,\"net.gr\":!0,\"org.gr\":!0,\"gov.gr\":!0,gs:!0,gt:!0,\"com.gt\":!0,\"edu.gt\":!0,\"gob.gt\":!0,\"ind.gt\":!0,\"mil.gt\":!0,\"net.gt\":!0,\"org.gt\":!0,\"*.gu\":!0,gw:!0,gy:!0,\"co.gy\":!0,\"com.gy\":!0,\"net.gy\":!0,hk:!0,\"com.hk\":!0,\"edu.hk\":!0,\"gov.hk\":!0,\"idv.hk\":!0,\"net.hk\":!0,\"org.hk\":!0,\"xn--55qx5d.hk\":!0,\"xn--wcvs22d.hk\":!0,\"xn--lcvr32d.hk\":!0,\"xn--mxtq1m.hk\":!0,\"xn--gmqw5a.hk\":!0,\"xn--ciqpn.hk\":!0,\"xn--gmq050i.hk\":!0,\"xn--zf0avx.hk\":!0,\"xn--io0a7i.hk\":!0,\"xn--mk0axi.hk\":!0,\"xn--od0alg.hk\":!0,\"xn--od0aq3b.hk\":!0,\"xn--tn0ag.hk\":!0,\"xn--uc0atv.hk\":!0,\"xn--uc0ay4a.hk\":!0,hm:!0,hn:!0,\"com.hn\":!0,\"edu.hn\":!0,\"org.hn\":!0,\"net.hn\":!0,\"mil.hn\":!0,\"gob.hn\":!0,hr:!0,\"iz.hr\":!0,\"from.hr\":!0,\"name.hr\":!0,\"com.hr\":!0,ht:!0,\"com.ht\":!0,\"shop.ht\":!0,\"firm.ht\":!0,\"info.ht\":!0,\"adult.ht\":!0,\"net.ht\":!0,\"pro.ht\":!0,\"org.ht\":!0,\"med.ht\":!0,\"art.ht\":!0,\"coop.ht\":!0,\"pol.ht\":!0,\"asso.ht\":!0,\"edu.ht\":!0,\"rel.ht\":!0,\"gouv.ht\":!0,\"perso.ht\":!0,hu:!0,\"co.hu\":!0,\"info.hu\":!0,\"org.hu\":!0,\"priv.hu\":!0,\"sport.hu\":!0,\"tm.hu\":!0,\"2000.hu\":!0,\"agrar.hu\":!0,\"bolt.hu\":!0,\"casino.hu\":!0,\"city.hu\":!0,\"erotica.hu\":!0,\"erotika.hu\":!0,\"film.hu\":!0,\"forum.hu\":!0,\"games.hu\":!0,\"hotel.hu\":!0,\"ingatlan.hu\":!0,\"jogasz.hu\":!0,\"konyvelo.hu\":!0,\"lakas.hu\":!0,\"media.hu\":!0,\"news.hu\":!0,\"reklam.hu\":!0,\"sex.hu\":!0,\"shop.hu\":!0,\"suli.hu\":!0,\"szex.hu\":!0,\"tozsde.hu\":!0,\"utazas.hu\":!0,\"video.hu\":!0,id:!0,\"ac.id\":!0,\"biz.id\":!0,\"co.id\":!0,\"desa.id\":!0,\"go.id\":!0,\"mil.id\":!0,\"my.id\":!0,\"net.id\":!0,\"or.id\":!0,\"sch.id\":!0,\"web.id\":!0,ie:!0,\"gov.ie\":!0,il:!0,\"ac.il\":!0,\"co.il\":!0,\"gov.il\":!0,\"idf.il\":!0,\"k12.il\":!0,\"muni.il\":!0,\"net.il\":!0,\"org.il\":!0,im:!0,\"ac.im\":!0,\"co.im\":!0,\"com.im\":!0,\"ltd.co.im\":!0,\"net.im\":!0,\"org.im\":!0,\"plc.co.im\":!0,\"tt.im\":!0,\"tv.im\":!0,\"in\":!0,\"co.in\":!0,\"firm.in\":!0,\"net.in\":!0,\"org.in\":!0,\"gen.in\":!0,\"ind.in\":!0,\"nic.in\":!0,\"ac.in\":!0,\"edu.in\":!0,\"res.in\":!0,\"gov.in\":!0,\"mil.in\":!0,info:!0,\"int\":!0,\"eu.int\":!0,io:!0,\"com.io\":!0,iq:!0,\"gov.iq\":!0,\"edu.iq\":!0,\"mil.iq\":!0,\"com.iq\":!0,\"org.iq\":!0,\"net.iq\":!0,ir:!0,\"ac.ir\":!0,\"co.ir\":!0,\"gov.ir\":!0,\"id.ir\":!0,\"net.ir\":!0,\"org.ir\":!0,\"sch.ir\":!0,\"xn--mgba3a4f16a.ir\":!0,\"xn--mgba3a4fra.ir\":!0,is:!0,\"net.is\":!0,\"com.is\":!0,\"edu.is\":!0,\"gov.is\":!0,\"org.is\":!0,\"int.is\":!0,it:!0,\"gov.it\":!0,\"edu.it\":!0,\"abr.it\":!0,\"abruzzo.it\":!0,\"aosta-valley.it\":!0,\"aostavalley.it\":!0,\"bas.it\":!0,\"basilicata.it\":!0,\"cal.it\":!0,\"calabria.it\":!0,\"cam.it\":!0,\"campania.it\":!0,\"emilia-romagna.it\":!0,\"emiliaromagna.it\":!0,\"emr.it\":!0,\"friuli-v-giulia.it\":!0,\"friuli-ve-giulia.it\":!0,\"friuli-vegiulia.it\":!0,\"friuli-venezia-giulia.it\":!0,\"friuli-veneziagiulia.it\":!0,\"friuli-vgiulia.it\":!0,\"friuliv-giulia.it\":!0,\"friulive-giulia.it\":!0,\"friulivegiulia.it\":!0,\"friulivenezia-giulia.it\":!0,\"friuliveneziagiulia.it\":!0,\"friulivgiulia.it\":!0,\"fvg.it\":!0,\"laz.it\":!0,\"lazio.it\":!0,\"lig.it\":!0,\"liguria.it\":!0,\"lom.it\":!0,\"lombardia.it\":!0,\"lombardy.it\":!0,\"lucania.it\":!0,\"mar.it\":!0,\"marche.it\":!0,\"mol.it\":!0,\"molise.it\":!0,\"piedmont.it\":!0,\"piemonte.it\":!0,\"pmn.it\":!0,\"pug.it\":!0,\"puglia.it\":!0,\"sar.it\":!0,\"sardegna.it\":!0,\"sardinia.it\":!0,\"sic.it\":!0,\"sicilia.it\":!0,\"sicily.it\":!0,\"taa.it\":!0,\"tos.it\":!0,\"toscana.it\":!0,\"trentino-a-adige.it\":!0,\"trentino-aadige.it\":!0,\"trentino-alto-adige.it\":!0,\"trentino-altoadige.it\":!0,\"trentino-s-tirol.it\":!0,\"trentino-stirol.it\":!0,\"trentino-sud-tirol.it\":!0,\"trentino-sudtirol.it\":!0,\"trentino-sued-tirol.it\":!0,\"trentino-suedtirol.it\":!0,\"trentinoa-adige.it\":!0,\"trentinoaadige.it\":!0,\"trentinoalto-adige.it\":!0,\"trentinoaltoadige.it\":!0,\"trentinos-tirol.it\":!0,\"trentinostirol.it\":!0,\"trentinosud-tirol.it\":!0,\"trentinosudtirol.it\":!0,\"trentinosued-tirol.it\":!0,\"trentinosuedtirol.it\":!0,\"tuscany.it\":!0,\"umb.it\":!0,\"umbria.it\":!0,\"val-d-aosta.it\":!0,\"val-daosta.it\":!0,\"vald-aosta.it\":!0,\"valdaosta.it\":!0,\"valle-aosta.it\":!0,\"valle-d-aosta.it\":!0,\"valle-daosta.it\":!0,\"valleaosta.it\":!0,\"valled-aosta.it\":!0,\"valledaosta.it\":!0,\"vallee-aoste.it\":!0,\"valleeaoste.it\":!0,\"vao.it\":!0,\"vda.it\":!0,\"ven.it\":!0,\"veneto.it\":!0,\"ag.it\":!0,\"agrigento.it\":!0,\"al.it\":!0,\"alessandria.it\":!0,\"alto-adige.it\":!0,\"altoadige.it\":!0,\"an.it\":!0,\"ancona.it\":!0,\"andria-barletta-trani.it\":!0,\"andria-trani-barletta.it\":!0,\"andriabarlettatrani.it\":!0,\"andriatranibarletta.it\":!0,\"ao.it\":!0,\"aosta.it\":!0,\"aoste.it\":!0,\"ap.it\":!0,\"aq.it\":!0,\"aquila.it\":!0,\"ar.it\":!0,\"arezzo.it\":!0,\"ascoli-piceno.it\":!0,\"ascolipiceno.it\":!0,\"asti.it\":!0,\"at.it\":!0,\"av.it\":!0,\"avellino.it\":!0,\"ba.it\":!0,\"balsan.it\":!0,\"bari.it\":!0,\"barletta-trani-andria.it\":!0,\"barlettatraniandria.it\":!0,\"belluno.it\":!0,\"benevento.it\":!0,\"bergamo.it\":!0,\"bg.it\":!0,\"bi.it\":!0,\"biella.it\":!0,\"bl.it\":!0,\"bn.it\":!0,\"bo.it\":!0,\"bologna.it\":!0,\"bolzano.it\":!0,\"bozen.it\":!0,\"br.it\":!0,\"brescia.it\":!0,\"brindisi.it\":!0,\"bs.it\":!0,\"bt.it\":!0,\"bz.it\":!0,\"ca.it\":!0,\"cagliari.it\":!0,\"caltanissetta.it\":!0,\"campidano-medio.it\":!0,\"campidanomedio.it\":!0,\"campobasso.it\":!0,\"carbonia-iglesias.it\":!0,\"carboniaiglesias.it\":!0,\"carrara-massa.it\":!0,\"carraramassa.it\":!0,\"caserta.it\":!0,\"catania.it\":!0,\"catanzaro.it\":!0,\"cb.it\":!0,\"ce.it\":!0,\"cesena-forli.it\":!0,\"cesenaforli.it\":!0,\"ch.it\":!0,\"chieti.it\":!0,\"ci.it\":!0,\"cl.it\":!0,\"cn.it\":!0,\"co.it\":!0,\"como.it\":!0,\"cosenza.it\":!0,\"cr.it\":!0,\"cremona.it\":!0,\"crotone.it\":!0,\"cs.it\":!0,\"ct.it\":!0,\"cuneo.it\":!0,\"cz.it\":!0,\"dell-ogliastra.it\":!0,\"dellogliastra.it\":!0,\"en.it\":!0,\"enna.it\":!0,\"fc.it\":!0,\"fe.it\":!0,\"fermo.it\":!0,\"ferrara.it\":!0,\"fg.it\":!0,\"fi.it\":!0,\"firenze.it\":!0,\"florence.it\":!0,\"fm.it\":!0,\"foggia.it\":!0,\"forli-cesena.it\":!0,\"forlicesena.it\":!0,\"fr.it\":!0,\"frosinone.it\":!0,\"ge.it\":!0,\"genoa.it\":!0,\"genova.it\":!0,\"go.it\":!0,\"gorizia.it\":!0,\"gr.it\":!0,\"grosseto.it\":!0,\"iglesias-carbonia.it\":!0,\"iglesiascarbonia.it\":!0,\"im.it\":!0,\"imperia.it\":!0,\"is.it\":!0,\"isernia.it\":!0,\"kr.it\":!0,\"la-spezia.it\":!0,\"laquila.it\":!0,\"laspezia.it\":!0,\"latina.it\":!0,\"lc.it\":!0,\"le.it\":!0,\"lecce.it\":!0,\"lecco.it\":!0,\"li.it\":!0,\"livorno.it\":!0,\"lo.it\":!0,\"lodi.it\":!0,\"lt.it\":!0,\"lu.it\":!0,\"lucca.it\":!0,\"macerata.it\":!0,\"mantova.it\":!0,\"massa-carrara.it\":!0,\"massacarrara.it\":!0,\"matera.it\":!0,\"mb.it\":!0,\"mc.it\":!0,\"me.it\":!0,\"medio-campidano.it\":!0,\"mediocampidano.it\":!0,\"messina.it\":!0,\"mi.it\":!0,\"milan.it\":!0,\"milano.it\":!0,\"mn.it\":!0,\"mo.it\":!0,\"modena.it\":!0,\"monza-brianza.it\":!0,\"monza-e-della-brianza.it\":!0,\"monza.it\":!0,\"monzabrianza.it\":!0,\"monzaebrianza.it\":!0,\"monzaedellabrianza.it\":!0,\"ms.it\":!0,\"mt.it\":!0,\"na.it\":!0,\"naples.it\":!0,\"napoli.it\":!0,\"no.it\":!0,\"novara.it\":!0,\"nu.it\":!0,\"nuoro.it\":!0,\"og.it\":!0,\"ogliastra.it\":!0,\"olbia-tempio.it\":!0,\"olbiatempio.it\":!0,\"or.it\":!0,\"oristano.it\":!0,\"ot.it\":!0,\"pa.it\":!0,\"padova.it\":!0,\"padua.it\":!0,\"palermo.it\":!0,\"parma.it\":!0,\"pavia.it\":!0,\"pc.it\":!0,\"pd.it\":!0,\"pe.it\":!0,\"perugia.it\":!0,\"pesaro-urbino.it\":!0,\"pesarourbino.it\":!0,\"pescara.it\":!0,\"pg.it\":!0,\"pi.it\":!0,\"piacenza.it\":!0,\"pisa.it\":!0,\"pistoia.it\":!0,\"pn.it\":!0,\"po.it\":!0,\"pordenone.it\":!0,\"potenza.it\":!0,\"pr.it\":!0,\"prato.it\":!0,\"pt.it\":!0,\"pu.it\":!0,\"pv.it\":!0,\"pz.it\":!0,\"ra.it\":!0,\"ragusa.it\":!0,\"ravenna.it\":!0,\"rc.it\":!0,\"re.it\":!0,\"reggio-calabria.it\":!0,\"reggio-emilia.it\":!0,\"reggiocalabria.it\":!0,\"reggioemilia.it\":!0,\"rg.it\":!0,\"ri.it\":!0,\"rieti.it\":!0,\"rimini.it\":!0,\"rm.it\":!0,\"rn.it\":!0,\"ro.it\":!0,\"roma.it\":!0,\"rome.it\":!0,\"rovigo.it\":!0,\"sa.it\":!0,\"salerno.it\":!0,\"sassari.it\":!0,\"savona.it\":!0,\"si.it\":!0,\"siena.it\":!0,\"siracusa.it\":!0,\"so.it\":!0,\"sondrio.it\":!0,\"sp.it\":!0,\"sr.it\":!0,\"ss.it\":!0,\"suedtirol.it\":!0,\"sv.it\":!0,\"ta.it\":!0,\"taranto.it\":!0,\"te.it\":!0,\"tempio-olbia.it\":!0,\"tempioolbia.it\":!0,\"teramo.it\":!0,\"terni.it\":!0,\"tn.it\":!0,\"to.it\":!0,\"torino.it\":!0,\"tp.it\":!0,\"tr.it\":!0,\"trani-andria-barletta.it\":!0,\"trani-barletta-andria.it\":!0,\"traniandriabarletta.it\":!0,\"tranibarlettaandria.it\":!0,\"trapani.it\":!0,\"trentino.it\":!0,\"trento.it\":!0,\"treviso.it\":!0,\"trieste.it\":!0,\"ts.it\":!0,\"turin.it\":!0,\"tv.it\":!0,\"ud.it\":!0,\"udine.it\":!0,\"urbino-pesaro.it\":!0,\"urbinopesaro.it\":!0,\"va.it\":!0,\"varese.it\":!0,\"vb.it\":!0,\"vc.it\":!0,\"ve.it\":!0,\"venezia.it\":!0,\"venice.it\":!0,\"verbania.it\":!0,\"vercelli.it\":!0,\"verona.it\":!0,\"vi.it\":!0,\"vibo-valentia.it\":!0,\"vibovalentia.it\":!0,\"vicenza.it\":!0,\"viterbo.it\":!0,\"vr.it\":!0,\"vs.it\":!0,\"vt.it\":!0,\"vv.it\":!0,je:!0,\"co.je\":!0,\"net.je\":!0,\"org.je\":!0,\"*.jm\":!0,jo:!0,\"com.jo\":!0,\"org.jo\":!0,\"net.jo\":!0,\"edu.jo\":!0,\"sch.jo\":!0,\"gov.jo\":!0,\"mil.jo\":!0,\"name.jo\":!0,jobs:!0,jp:!0,\"ac.jp\":!0,\"ad.jp\":!0,\"co.jp\":!0,\"ed.jp\":!0,\"go.jp\":!0,\"gr.jp\":!0,\"lg.jp\":!0,\"ne.jp\":!0,\"or.jp\":!0,\"aichi.jp\":!0,\"akita.jp\":!0,\"aomori.jp\":!0,\"chiba.jp\":!0,\"ehime.jp\":!0,\"fukui.jp\":!0,\"fukuoka.jp\":!0,\"fukushima.jp\":!0,\"gifu.jp\":!0,\"gunma.jp\":!0,\"hiroshima.jp\":!0,\"hokkaido.jp\":!0,\"hyogo.jp\":!0,\"ibaraki.jp\":!0,\"ishikawa.jp\":!0,\"iwate.jp\":!0,\"kagawa.jp\":!0,\"kagoshima.jp\":!0,\"kanagawa.jp\":!0,\"kochi.jp\":!0,\"kumamoto.jp\":!0,\"kyoto.jp\":!0,\"mie.jp\":!0,\"miyagi.jp\":!0,\"miyazaki.jp\":!0,\"nagano.jp\":!0,\"nagasaki.jp\":!0,\"nara.jp\":!0,\"niigata.jp\":!0,\"oita.jp\":!0,\"okayama.jp\":!0,\"okinawa.jp\":!0,\"osaka.jp\":!0,\"saga.jp\":!0,\"saitama.jp\":!0,\"shiga.jp\":!0,\"shimane.jp\":!0,\"shizuoka.jp\":!0,\"tochigi.jp\":!0,\"tokushima.jp\":!0,\"tokyo.jp\":!0,\"tottori.jp\":!0,\"toyama.jp\":!0,\"wakayama.jp\":!0,\"yamagata.jp\":!0,\"yamaguchi.jp\":!0,\"yamanashi.jp\":!0,\"xn--4pvxs.jp\":!0,\"xn--vgu402c.jp\":!0,\"xn--c3s14m.jp\":!0,\"xn--f6qx53a.jp\":!0,\"xn--8pvr4u.jp\":!0,\"xn--uist22h.jp\":!0,\"xn--djrs72d6uy.jp\":!0,\"xn--mkru45i.jp\":!0,\"xn--0trq7p7nn.jp\":!0,\"xn--8ltr62k.jp\":!0,\"xn--2m4a15e.jp\":!0,\"xn--efvn9s.jp\":!0,\"xn--32vp30h.jp\":!0,\"xn--4it797k.jp\":!0,\"xn--1lqs71d.jp\":!0,\"xn--5rtp49c.jp\":!0,\"xn--5js045d.jp\":!0,\"xn--ehqz56n.jp\":!0,\"xn--1lqs03n.jp\":!0,\"xn--qqqt11m.jp\":!0,\"xn--kbrq7o.jp\":!0,\"xn--pssu33l.jp\":!0,\"xn--ntsq17g.jp\":!0,\"xn--uisz3g.jp\":!0,\"xn--6btw5a.jp\":!0,\"xn--1ctwo.jp\":!0,\"xn--6orx2r.jp\":!0,\"xn--rht61e.jp\":!0,\"xn--rht27z.jp\":!0,\"xn--djty4k.jp\":!0,\"xn--nit225k.jp\":!0,\"xn--rht3d.jp\":!0,\"xn--klty5x.jp\":!0,\"xn--kltx9a.jp\":!0,\"xn--kltp7d.jp\":!0,\"xn--uuwu58a.jp\":!0,\"xn--zbx025d.jp\":!0,\"xn--ntso0iqx3a.jp\":!0,\"xn--elqq16h.jp\":!0,\"xn--4it168d.jp\":!0,\"xn--klt787d.jp\":!0,\"xn--rny31h.jp\":!0,\"xn--7t0a264c.jp\":!0,\"xn--5rtq34k.jp\":!0,\"xn--k7yn95e.jp\":!0,\"xn--tor131o.jp\":!0,\"xn--d5qv7z876c.jp\":!0,\"*.kawasaki.jp\":!0,\"*.kitakyushu.jp\":!0,\"*.kobe.jp\":!0,\"*.nagoya.jp\":!0,\"*.sapporo.jp\":!0,\"*.sendai.jp\":!0,\"*.yokohama.jp\":!0,\"city.kawasaki.jp\":!1,\"city.kitakyushu.jp\":!1,\"city.kobe.jp\":!1,\"city.nagoya.jp\":!1,\"city.sapporo.jp\":!1,\"city.sendai.jp\":!1,\"city.yokohama.jp\":!1,\"aisai.aichi.jp\":!0,\"ama.aichi.jp\":!0,\"anjo.aichi.jp\":!0,\"asuke.aichi.jp\":!0,\"chiryu.aichi.jp\":!0,\"chita.aichi.jp\":!0,\"fuso.aichi.jp\":!0,\"gamagori.aichi.jp\":!0,\"handa.aichi.jp\":!0,\"hazu.aichi.jp\":!0,\"hekinan.aichi.jp\":!0,\"higashiura.aichi.jp\":!0,\"ichinomiya.aichi.jp\":!0,\"inazawa.aichi.jp\":!0,\"inuyama.aichi.jp\":!0,\"isshiki.aichi.jp\":!0,\"iwakura.aichi.jp\":!0,\"kanie.aichi.jp\":!0,\"kariya.aichi.jp\":!0,\"kasugai.aichi.jp\":!0,\"kira.aichi.jp\":!0,\"kiyosu.aichi.jp\":!0,\"komaki.aichi.jp\":!0,\"konan.aichi.jp\":!0,\"kota.aichi.jp\":!0,\"mihama.aichi.jp\":!0,\"miyoshi.aichi.jp\":!0,\"nishio.aichi.jp\":!0,\"nisshin.aichi.jp\":!0,\"obu.aichi.jp\":!0,\"oguchi.aichi.jp\":!0,\"oharu.aichi.jp\":!0,\"okazaki.aichi.jp\":!0,\"owariasahi.aichi.jp\":!0,\"seto.aichi.jp\":!0,\"shikatsu.aichi.jp\":!0,\"shinshiro.aichi.jp\":!0,\"shitara.aichi.jp\":!0,\"tahara.aichi.jp\":!0,\"takahama.aichi.jp\":!0,\"tobishima.aichi.jp\":!0,\"toei.aichi.jp\":!0,\"togo.aichi.jp\":!0,\"tokai.aichi.jp\":!0,\"tokoname.aichi.jp\":!0,\"toyoake.aichi.jp\":!0,\"toyohashi.aichi.jp\":!0,\"toyokawa.aichi.jp\":!0,\"toyone.aichi.jp\":!0,\"toyota.aichi.jp\":!0,\"tsushima.aichi.jp\":!0,\"yatomi.aichi.jp\":!0,\"akita.akita.jp\":!0,\"daisen.akita.jp\":!0,\"fujisato.akita.jp\":!0,\"gojome.akita.jp\":!0,\"hachirogata.akita.jp\":!0,\"happou.akita.jp\":!0,\"higashinaruse.akita.jp\":!0,\"honjo.akita.jp\":!0,\"honjyo.akita.jp\":!0,\"ikawa.akita.jp\":!0,\"kamikoani.akita.jp\":!0,\"kamioka.akita.jp\":!0,\"katagami.akita.jp\":!0,\"kazuno.akita.jp\":!0,\"kitaakita.akita.jp\":!0,\"kosaka.akita.jp\":!0,\"kyowa.akita.jp\":!0,\"misato.akita.jp\":!0,\"mitane.akita.jp\":!0,\"moriyoshi.akita.jp\":!0,\"nikaho.akita.jp\":!0,\"noshiro.akita.jp\":!0,\"odate.akita.jp\":!0,\"oga.akita.jp\":!0,\"ogata.akita.jp\":!0,\"semboku.akita.jp\":!0,\"yokote.akita.jp\":!0,\"yurihonjo.akita.jp\":!0,\"aomori.aomori.jp\":!0,\"gonohe.aomori.jp\":!0,\"hachinohe.aomori.jp\":!0,\"hashikami.aomori.jp\":!0,\"hiranai.aomori.jp\":!0,\"hirosaki.aomori.jp\":!0,\"itayanagi.aomori.jp\":!0,\"kuroishi.aomori.jp\":!0,\"misawa.aomori.jp\":!0,\"mutsu.aomori.jp\":!0,\"nakadomari.aomori.jp\":!0,\"noheji.aomori.jp\":!0,\"oirase.aomori.jp\":!0,\"owani.aomori.jp\":!0,\"rokunohe.aomori.jp\":!0,\"sannohe.aomori.jp\":!0,\"shichinohe.aomori.jp\":!0,\"shingo.aomori.jp\":!0,\"takko.aomori.jp\":!0,\"towada.aomori.jp\":!0,\"tsugaru.aomori.jp\":!0,\"tsuruta.aomori.jp\":!0,\"abiko.chiba.jp\":!0,\"asahi.chiba.jp\":!0,\"chonan.chiba.jp\":!0,\"chosei.chiba.jp\":!0,\"choshi.chiba.jp\":!0,\"chuo.chiba.jp\":!0,\"funabashi.chiba.jp\":!0,\"futtsu.chiba.jp\":!0,\"hanamigawa.chiba.jp\":!0,\"ichihara.chiba.jp\":!0,\"ichikawa.chiba.jp\":!0,\"ichinomiya.chiba.jp\":!0,\"inzai.chiba.jp\":!0,\"isumi.chiba.jp\":!0,\"kamagaya.chiba.jp\":!0,\"kamogawa.chiba.jp\":!0,\"kashiwa.chiba.jp\":!0,\"katori.chiba.jp\":!0,\"katsuura.chiba.jp\":!0,\"kimitsu.chiba.jp\":!0,\"kisarazu.chiba.jp\":!0,\"kozaki.chiba.jp\":!0,\"kujukuri.chiba.jp\":!0,\"kyonan.chiba.jp\":!0,\"matsudo.chiba.jp\":!0,\"midori.chiba.jp\":!0,\"mihama.chiba.jp\":!0,\"minamiboso.chiba.jp\":!0,\"mobara.chiba.jp\":!0,\"mutsuzawa.chiba.jp\":!0,\"nagara.chiba.jp\":!0,\"nagareyama.chiba.jp\":!0,\"narashino.chiba.jp\":!0,\"narita.chiba.jp\":!0,\"noda.chiba.jp\":!0,\"oamishirasato.chiba.jp\":!0,\"omigawa.chiba.jp\":!0,\"onjuku.chiba.jp\":!0,\"otaki.chiba.jp\":!0,\"sakae.chiba.jp\":!0,\"sakura.chiba.jp\":!0,\"shimofusa.chiba.jp\":!0,\"shirako.chiba.jp\":!0,\"shiroi.chiba.jp\":!0,\"shisui.chiba.jp\":!0,\"sodegaura.chiba.jp\":!0,\"sosa.chiba.jp\":!0,\"tako.chiba.jp\":!0,\"tateyama.chiba.jp\":!0,\"togane.chiba.jp\":!0,\"tohnosho.chiba.jp\":!0,\"tomisato.chiba.jp\":!0,\"urayasu.chiba.jp\":!0,\"yachimata.chiba.jp\":!0,\"yachiyo.chiba.jp\":!0,\"yokaichiba.chiba.jp\":!0,\"yokoshibahikari.chiba.jp\":!0,\"yotsukaido.chiba.jp\":!0,\"ainan.ehime.jp\":!0,\"honai.ehime.jp\":!0,\"ikata.ehime.jp\":!0,\"imabari.ehime.jp\":!0,\"iyo.ehime.jp\":!0,\"kamijima.ehime.jp\":!0,\"kihoku.ehime.jp\":!0,\"kumakogen.ehime.jp\":!0,\"masaki.ehime.jp\":!0,\"matsuno.ehime.jp\":!0,\"matsuyama.ehime.jp\":!0,\"namikata.ehime.jp\":!0,\"niihama.ehime.jp\":!0,\"ozu.ehime.jp\":!0,\"saijo.ehime.jp\":!0,\"seiyo.ehime.jp\":!0,\"shikokuchuo.ehime.jp\":!0,\"tobe.ehime.jp\":!0,\"toon.ehime.jp\":!0,\"uchiko.ehime.jp\":!0,\"uwajima.ehime.jp\":!0,\"yawatahama.ehime.jp\":!0,\"echizen.fukui.jp\":!0,\"eiheiji.fukui.jp\":!0,\"fukui.fukui.jp\":!0,\"ikeda.fukui.jp\":!0,\"katsuyama.fukui.jp\":!0,\"mihama.fukui.jp\":!0,\"minamiechizen.fukui.jp\":!0,\"obama.fukui.jp\":!0,\"ohi.fukui.jp\":!0,\"ono.fukui.jp\":!0,\"sabae.fukui.jp\":!0,\"sakai.fukui.jp\":!0,\"takahama.fukui.jp\":!0,\"tsuruga.fukui.jp\":!0,\"wakasa.fukui.jp\":!0,\"ashiya.fukuoka.jp\":!0,\"buzen.fukuoka.jp\":!0,\"chikugo.fukuoka.jp\":!0,\"chikuho.fukuoka.jp\":!0,\"chikujo.fukuoka.jp\":!0,\"chikushino.fukuoka.jp\":!0,\"chikuzen.fukuoka.jp\":!0,\"chuo.fukuoka.jp\":!0,\"dazaifu.fukuoka.jp\":!0,\"fukuchi.fukuoka.jp\":!0,\"hakata.fukuoka.jp\":!0,\"higashi.fukuoka.jp\":!0,\"hirokawa.fukuoka.jp\":!0,\"hisayama.fukuoka.jp\":!0,\"iizuka.fukuoka.jp\":!0,\"inatsuki.fukuoka.jp\":!0,\"kaho.fukuoka.jp\":!0,\"kasuga.fukuoka.jp\":!0,\"kasuya.fukuoka.jp\":!0,\"kawara.fukuoka.jp\":!0,\"keisen.fukuoka.jp\":!0,\"koga.fukuoka.jp\":!0,\"kurate.fukuoka.jp\":!0,\"kurogi.fukuoka.jp\":!0,\"kurume.fukuoka.jp\":!0,\"minami.fukuoka.jp\":!0,\"miyako.fukuoka.jp\":!0,\"miyama.fukuoka.jp\":!0,\"miyawaka.fukuoka.jp\":!0,\"mizumaki.fukuoka.jp\":!0,\"munakata.fukuoka.jp\":!0,\"nakagawa.fukuoka.jp\":!0,\"nakama.fukuoka.jp\":!0,\"nishi.fukuoka.jp\":!0,\"nogata.fukuoka.jp\":!0,\"ogori.fukuoka.jp\":!0,\"okagaki.fukuoka.jp\":!0,\"okawa.fukuoka.jp\":!0,\"oki.fukuoka.jp\":!0,\"omuta.fukuoka.jp\":!0,\"onga.fukuoka.jp\":!0,\"onojo.fukuoka.jp\":!0,\"oto.fukuoka.jp\":!0,\"saigawa.fukuoka.jp\":!0,\"sasaguri.fukuoka.jp\":!0,\"shingu.fukuoka.jp\":!0,\"shinyoshitomi.fukuoka.jp\":!0,\"shonai.fukuoka.jp\":!0,\"soeda.fukuoka.jp\":!0,\"sue.fukuoka.jp\":!0,\"tachiarai.fukuoka.jp\":!0,\"tagawa.fukuoka.jp\":!0,\"takata.fukuoka.jp\":!0,\"toho.fukuoka.jp\":!0,\"toyotsu.fukuoka.jp\":!0,\"tsuiki.fukuoka.jp\":!0,\"ukiha.fukuoka.jp\":!0,\"umi.fukuoka.jp\":!0,\"usui.fukuoka.jp\":!0,\"yamada.fukuoka.jp\":!0,\"yame.fukuoka.jp\":!0,\"yanagawa.fukuoka.jp\":!0,\"yukuhashi.fukuoka.jp\":!0,\"aizubange.fukushima.jp\":!0,\"aizumisato.fukushima.jp\":!0,\"aizuwakamatsu.fukushima.jp\":!0,\"asakawa.fukushima.jp\":!0,\"bandai.fukushima.jp\":!0,\"date.fukushima.jp\":!0,\"fukushima.fukushima.jp\":!0,\"furudono.fukushima.jp\":!0,\"futaba.fukushima.jp\":!0,\"hanawa.fukushima.jp\":!0,\"higashi.fukushima.jp\":!0,\"hirata.fukushima.jp\":!0,\"hirono.fukushima.jp\":!0,\"iitate.fukushima.jp\":!0,\"inawashiro.fukushima.jp\":!0,\"ishikawa.fukushima.jp\":!0,\"iwaki.fukushima.jp\":!0,\"izumizaki.fukushima.jp\":!0,\"kagamiishi.fukushima.jp\":!0,\"kaneyama.fukushima.jp\":!0,\"kawamata.fukushima.jp\":!0,\"kitakata.fukushima.jp\":!0,\"kitashiobara.fukushima.jp\":!0,\"koori.fukushima.jp\":!0,\"koriyama.fukushima.jp\":!0,\"kunimi.fukushima.jp\":!0,\"miharu.fukushima.jp\":!0,\"mishima.fukushima.jp\":!0,\"namie.fukushima.jp\":!0,\"nango.fukushima.jp\":!0,\"nishiaizu.fukushima.jp\":!0,\"nishigo.fukushima.jp\":!0,\"okuma.fukushima.jp\":!0,\"omotego.fukushima.jp\":!0,\"ono.fukushima.jp\":!0,\"otama.fukushima.jp\":!0,\"samegawa.fukushima.jp\":!0,\"shimogo.fukushima.jp\":!0,\"shirakawa.fukushima.jp\":!0,\"showa.fukushima.jp\":!0,\"soma.fukushima.jp\":!0,\"sukagawa.fukushima.jp\":!0,\"taishin.fukushima.jp\":!0,\"tamakawa.fukushima.jp\":!0,\"tanagura.fukushima.jp\":!0,\"tenei.fukushima.jp\":!0,\"yabuki.fukushima.jp\":!0,\"yamato.fukushima.jp\":!0,\"yamatsuri.fukushima.jp\":!0,\"yanaizu.fukushima.jp\":!0,\"yugawa.fukushima.jp\":!0,\"anpachi.gifu.jp\":!0,\"ena.gifu.jp\":!0,\"gifu.gifu.jp\":!0,\"ginan.gifu.jp\":!0,\"godo.gifu.jp\":!0,\"gujo.gifu.jp\":!0,\"hashima.gifu.jp\":!0,\"hichiso.gifu.jp\":!0,\"hida.gifu.jp\":!0,\"higashishirakawa.gifu.jp\":!0,\"ibigawa.gifu.jp\":!0,\"ikeda.gifu.jp\":!0,\"kakamigahara.gifu.jp\":!0,\"kani.gifu.jp\":!0,\"kasahara.gifu.jp\":!0,\"kasamatsu.gifu.jp\":!0,\"kawaue.gifu.jp\":!0,\"kitagata.gifu.jp\":!0,\"mino.gifu.jp\":!0,\"minokamo.gifu.jp\":!0,\"mitake.gifu.jp\":!0,\"mizunami.gifu.jp\":!0,\"motosu.gifu.jp\":!0,\"nakatsugawa.gifu.jp\":!0,\"ogaki.gifu.jp\":!0,\"sakahogi.gifu.jp\":!0,\"seki.gifu.jp\":!0,\"sekigahara.gifu.jp\":!0,\"shirakawa.gifu.jp\":!0,\"tajimi.gifu.jp\":!0,\"takayama.gifu.jp\":!0,\"tarui.gifu.jp\":!0,\"toki.gifu.jp\":!0,\"tomika.gifu.jp\":!0,\"wanouchi.gifu.jp\":!0,\"yamagata.gifu.jp\":!0,\"yaotsu.gifu.jp\":!0,\"yoro.gifu.jp\":!0,\"annaka.gunma.jp\":!0,\"chiyoda.gunma.jp\":!0,\"fujioka.gunma.jp\":!0,\"higashiagatsuma.gunma.jp\":!0,\"isesaki.gunma.jp\":!0,\"itakura.gunma.jp\":!0,\"kanna.gunma.jp\":!0,\"kanra.gunma.jp\":!0,\"katashina.gunma.jp\":!0,\"kawaba.gunma.jp\":!0,\"kiryu.gunma.jp\":!0,\"kusatsu.gunma.jp\":!0,\"maebashi.gunma.jp\":!0,\"meiwa.gunma.jp\":!0,\"midori.gunma.jp\":!0,\"minakami.gunma.jp\":!0,\"naganohara.gunma.jp\":!0,\"nakanojo.gunma.jp\":!0,\"nanmoku.gunma.jp\":!0,\"numata.gunma.jp\":!0,\"oizumi.gunma.jp\":!0,\"ora.gunma.jp\":!0,\"ota.gunma.jp\":!0,\"shibukawa.gunma.jp\":!0,\"shimonita.gunma.jp\":!0,\"shinto.gunma.jp\":!0,\"showa.gunma.jp\":!0,\"takasaki.gunma.jp\":!0,\"takayama.gunma.jp\":!0,\"tamamura.gunma.jp\":!0,\"tatebayashi.gunma.jp\":!0,\"tomioka.gunma.jp\":!0,\"tsukiyono.gunma.jp\":!0,\"tsumagoi.gunma.jp\":!0,\"ueno.gunma.jp\":!0,\"yoshioka.gunma.jp\":!0,\"asaminami.hiroshima.jp\":!0,\"daiwa.hiroshima.jp\":!0,\"etajima.hiroshima.jp\":!0,\"fuchu.hiroshima.jp\":!0,\"fukuyama.hiroshima.jp\":!0,\"hatsukaichi.hiroshima.jp\":!0,\"higashihiroshima.hiroshima.jp\":!0,\"hongo.hiroshima.jp\":!0,\"jinsekikogen.hiroshima.jp\":!0,\"kaita.hiroshima.jp\":!0,\"kui.hiroshima.jp\":!0,\"kumano.hiroshima.jp\":!0,\"kure.hiroshima.jp\":!0,\"mihara.hiroshima.jp\":!0,\"miyoshi.hiroshima.jp\":!0,\"naka.hiroshima.jp\":!0,\"onomichi.hiroshima.jp\":!0,\"osakikamijima.hiroshima.jp\":!0,\"otake.hiroshima.jp\":!0,\"saka.hiroshima.jp\":!0,\"sera.hiroshima.jp\":!0,\"seranishi.hiroshima.jp\":!0,\"shinichi.hiroshima.jp\":!0,\"shobara.hiroshima.jp\":!0,\"takehara.hiroshima.jp\":!0,\"abashiri.hokkaido.jp\":!0,\"abira.hokkaido.jp\":!0,\"aibetsu.hokkaido.jp\":!0,\"akabira.hokkaido.jp\":!0,\"akkeshi.hokkaido.jp\":!0,\"asahikawa.hokkaido.jp\":!0,\"ashibetsu.hokkaido.jp\":!0,\"ashoro.hokkaido.jp\":!0,\"assabu.hokkaido.jp\":!0,\"atsuma.hokkaido.jp\":!0,\"bibai.hokkaido.jp\":!0,\"biei.hokkaido.jp\":!0,\"bifuka.hokkaido.jp\":!0,\"bihoro.hokkaido.jp\":!0,\"biratori.hokkaido.jp\":!0,\"chippubetsu.hokkaido.jp\":!0,\"chitose.hokkaido.jp\":!0,\"date.hokkaido.jp\":!0,\"ebetsu.hokkaido.jp\":!0,\"embetsu.hokkaido.jp\":!0,\"eniwa.hokkaido.jp\":!0,\"erimo.hokkaido.jp\":!0,\"esan.hokkaido.jp\":!0,\"esashi.hokkaido.jp\":!0,\"fukagawa.hokkaido.jp\":!0,\"fukushima.hokkaido.jp\":!0,\"furano.hokkaido.jp\":!0,\"furubira.hokkaido.jp\":!0,\"haboro.hokkaido.jp\":!0,\"hakodate.hokkaido.jp\":!0,\"hamatonbetsu.hokkaido.jp\":!0,\"hidaka.hokkaido.jp\":!0,\"higashikagura.hokkaido.jp\":!0,\"higashikawa.hokkaido.jp\":!0,\"hiroo.hokkaido.jp\":!0,\"hokuryu.hokkaido.jp\":!0,\"hokuto.hokkaido.jp\":!0,\"honbetsu.hokkaido.jp\":!0,\"horokanai.hokkaido.jp\":!0,\"horonobe.hokkaido.jp\":!0,\"ikeda.hokkaido.jp\":!0,\"imakane.hokkaido.jp\":!0,\"ishikari.hokkaido.jp\":!0,\"iwamizawa.hokkaido.jp\":!0,\"iwanai.hokkaido.jp\":!0,\"kamifurano.hokkaido.jp\":!0,\"kamikawa.hokkaido.jp\":!0,\"kamishihoro.hokkaido.jp\":!0,\"kamisunagawa.hokkaido.jp\":!0,\"kamoenai.hokkaido.jp\":!0,\"kayabe.hokkaido.jp\":!0,\"kembuchi.hokkaido.jp\":!0,\"kikonai.hokkaido.jp\":!0,\"kimobetsu.hokkaido.jp\":!0,\"kitahiroshima.hokkaido.jp\":!0,\"kitami.hokkaido.jp\":!0,\"kiyosato.hokkaido.jp\":!0,\"koshimizu.hokkaido.jp\":!0,\"kunneppu.hokkaido.jp\":!0,\"kuriyama.hokkaido.jp\":!0,\"kuromatsunai.hokkaido.jp\":!0,\"kushiro.hokkaido.jp\":!0,\"kutchan.hokkaido.jp\":!0,\"kyowa.hokkaido.jp\":!0,\"mashike.hokkaido.jp\":!0,\"matsumae.hokkaido.jp\":!0,\"mikasa.hokkaido.jp\":!0,\"minamifurano.hokkaido.jp\":!0,\"mombetsu.hokkaido.jp\":!0,\"moseushi.hokkaido.jp\":!0,\"mukawa.hokkaido.jp\":!0,\"muroran.hokkaido.jp\":!0,\"naie.hokkaido.jp\":!0,\"nakagawa.hokkaido.jp\":!0,\"nakasatsunai.hokkaido.jp\":!0,\"nakatombetsu.hokkaido.jp\":!0,\"nanae.hokkaido.jp\":!0,\"nanporo.hokkaido.jp\":!0,\"nayoro.hokkaido.jp\":!0,\"nemuro.hokkaido.jp\":!0,\"niikappu.hokkaido.jp\":!0,\"niki.hokkaido.jp\":!0,\"nishiokoppe.hokkaido.jp\":!0,\"noboribetsu.hokkaido.jp\":!0,\"numata.hokkaido.jp\":!0,\"obihiro.hokkaido.jp\":!0,\"obira.hokkaido.jp\":!0,\"oketo.hokkaido.jp\":!0,\"okoppe.hokkaido.jp\":!0,\"otaru.hokkaido.jp\":!0,\"otobe.hokkaido.jp\":!0,\"otofuke.hokkaido.jp\":!0,\"otoineppu.hokkaido.jp\":!0,\"oumu.hokkaido.jp\":!0,\"ozora.hokkaido.jp\":!0,\"pippu.hokkaido.jp\":!0,\"rankoshi.hokkaido.jp\":!0,\"rebun.hokkaido.jp\":!0,\"rikubetsu.hokkaido.jp\":!0,\"rishiri.hokkaido.jp\":!0,\"rishirifuji.hokkaido.jp\":!0,\"saroma.hokkaido.jp\":!0,\"sarufutsu.hokkaido.jp\":!0,\"shakotan.hokkaido.jp\":!0,\"shari.hokkaido.jp\":!0,\"shibecha.hokkaido.jp\":!0,\"shibetsu.hokkaido.jp\":!0,\"shikabe.hokkaido.jp\":!0,\"shikaoi.hokkaido.jp\":!0,\"shimamaki.hokkaido.jp\":!0,\"shimizu.hokkaido.jp\":!0,\"shimokawa.hokkaido.jp\":!0,\"shinshinotsu.hokkaido.jp\":!0,\"shintoku.hokkaido.jp\":!0,\"shiranuka.hokkaido.jp\":!0,\"shiraoi.hokkaido.jp\":!0,\"shiriuchi.hokkaido.jp\":!0,\"sobetsu.hokkaido.jp\":!0,\"sunagawa.hokkaido.jp\":!0,\"taiki.hokkaido.jp\":!0,\"takasu.hokkaido.jp\":!0,\"takikawa.hokkaido.jp\":!0,\"takinoue.hokkaido.jp\":!0,\"teshikaga.hokkaido.jp\":!0,\"tobetsu.hokkaido.jp\":!0,\"tohma.hokkaido.jp\":!0,\"tomakomai.hokkaido.jp\":!0,\"tomari.hokkaido.jp\":!0,\"toya.hokkaido.jp\":!0,\"toyako.hokkaido.jp\":!0,\"toyotomi.hokkaido.jp\":!0,\"toyoura.hokkaido.jp\":!0,\"tsubetsu.hokkaido.jp\":!0,\"tsukigata.hokkaido.jp\":!0,\"urakawa.hokkaido.jp\":!0,\"urausu.hokkaido.jp\":!0,\"uryu.hokkaido.jp\":!0,\"utashinai.hokkaido.jp\":!0,\"wakkanai.hokkaido.jp\":!0,\"wassamu.hokkaido.jp\":!0,\"yakumo.hokkaido.jp\":!0,\"yoichi.hokkaido.jp\":!0,\"aioi.hyogo.jp\":!0,\"akashi.hyogo.jp\":!0,\"ako.hyogo.jp\":!0,\"amagasaki.hyogo.jp\":!0,\"aogaki.hyogo.jp\":!0,\"asago.hyogo.jp\":!0,\"ashiya.hyogo.jp\":!0,\"awaji.hyogo.jp\":!0,\"fukusaki.hyogo.jp\":!0,\"goshiki.hyogo.jp\":!0,\"harima.hyogo.jp\":!0,\"himeji.hyogo.jp\":!0,\"ichikawa.hyogo.jp\":!0,\"inagawa.hyogo.jp\":!0,\"itami.hyogo.jp\":!0,\"kakogawa.hyogo.jp\":!0,\"kamigori.hyogo.jp\":!0,\"kamikawa.hyogo.jp\":!0,\"kasai.hyogo.jp\":!0,\"kasuga.hyogo.jp\":!0,\"kawanishi.hyogo.jp\":!0,\"miki.hyogo.jp\":!0,\"minamiawaji.hyogo.jp\":!0,\"nishinomiya.hyogo.jp\":!0,\"nishiwaki.hyogo.jp\":!0,\"ono.hyogo.jp\":!0,\"sanda.hyogo.jp\":!0,\"sannan.hyogo.jp\":!0,\"sasayama.hyogo.jp\":!0,\"sayo.hyogo.jp\":!0,\"shingu.hyogo.jp\":!0,\"shinonsen.hyogo.jp\":!0,\"shiso.hyogo.jp\":!0,\"sumoto.hyogo.jp\":!0,\"taishi.hyogo.jp\":!0,\"taka.hyogo.jp\":!0,\"takarazuka.hyogo.jp\":!0,\"takasago.hyogo.jp\":!0,\"takino.hyogo.jp\":!0,\"tamba.hyogo.jp\":!0,\"tatsuno.hyogo.jp\":!0,\"toyooka.hyogo.jp\":!0,\"yabu.hyogo.jp\":!0,\"yashiro.hyogo.jp\":!0,\"yoka.hyogo.jp\":!0,\"yokawa.hyogo.jp\":!0,\"ami.ibaraki.jp\":!0,\"asahi.ibaraki.jp\":!0,\"bando.ibaraki.jp\":!0,\"chikusei.ibaraki.jp\":!0,\"daigo.ibaraki.jp\":!0,\"fujishiro.ibaraki.jp\":!0,\"hitachi.ibaraki.jp\":!0,\"hitachinaka.ibaraki.jp\":!0,\"hitachiomiya.ibaraki.jp\":!0,\"hitachiota.ibaraki.jp\":!0,\"ibaraki.ibaraki.jp\":!0,\"ina.ibaraki.jp\":!0,\"inashiki.ibaraki.jp\":!0,\"itako.ibaraki.jp\":!0,\"iwama.ibaraki.jp\":!0,\"joso.ibaraki.jp\":!0,\"kamisu.ibaraki.jp\":!0,\"kasama.ibaraki.jp\":!0,\"kashima.ibaraki.jp\":!0,\"kasumigaura.ibaraki.jp\":!0,\"koga.ibaraki.jp\":!0,\"miho.ibaraki.jp\":!0,\"mito.ibaraki.jp\":!0,\"moriya.ibaraki.jp\":!0,\"naka.ibaraki.jp\":!0,\"namegata.ibaraki.jp\":!0,\"oarai.ibaraki.jp\":!0,\"ogawa.ibaraki.jp\":!0,\"omitama.ibaraki.jp\":!0,\"ryugasaki.ibaraki.jp\":!0,\"sakai.ibaraki.jp\":!0,\"sakuragawa.ibaraki.jp\":!0,\"shimodate.ibaraki.jp\":!0,\"shimotsuma.ibaraki.jp\":!0,\"shirosato.ibaraki.jp\":!0,\"sowa.ibaraki.jp\":!0,\"suifu.ibaraki.jp\":!0,\"takahagi.ibaraki.jp\":!0,\"tamatsukuri.ibaraki.jp\":!0,\"tokai.ibaraki.jp\":!0,\"tomobe.ibaraki.jp\":!0,\"tone.ibaraki.jp\":!0,\"toride.ibaraki.jp\":!0,\"tsuchiura.ibaraki.jp\":!0,\"tsukuba.ibaraki.jp\":!0,\"uchihara.ibaraki.jp\":!0,\"ushiku.ibaraki.jp\":!0,\"yachiyo.ibaraki.jp\":!0,\"yamagata.ibaraki.jp\":!0,\"yawara.ibaraki.jp\":!0,\"yuki.ibaraki.jp\":!0,\"anamizu.ishikawa.jp\":!0,\"hakui.ishikawa.jp\":!0,\"hakusan.ishikawa.jp\":!0,\"kaga.ishikawa.jp\":!0,\"kahoku.ishikawa.jp\":!0,\"kanazawa.ishikawa.jp\":!0,\"kawakita.ishikawa.jp\":!0,\"komatsu.ishikawa.jp\":!0,\"nakanoto.ishikawa.jp\":!0,\"nanao.ishikawa.jp\":!0,\"nomi.ishikawa.jp\":!0,\"nonoichi.ishikawa.jp\":!0,\"noto.ishikawa.jp\":!0,\"shika.ishikawa.jp\":!0,\"suzu.ishikawa.jp\":!0,\"tsubata.ishikawa.jp\":!0,\"tsurugi.ishikawa.jp\":!0,\"uchinada.ishikawa.jp\":!0,\"wajima.ishikawa.jp\":!0,\"fudai.iwate.jp\":!0,\"fujisawa.iwate.jp\":!0,\"hanamaki.iwate.jp\":!0,\"hiraizumi.iwate.jp\":!0,\"hirono.iwate.jp\":!0,\"ichinohe.iwate.jp\":!0,\"ichinoseki.iwate.jp\":!0,\"iwaizumi.iwate.jp\":!0,\"iwate.iwate.jp\":!0,\"joboji.iwate.jp\":!0,\"kamaishi.iwate.jp\":!0,\"kanegasaki.iwate.jp\":!0,\"karumai.iwate.jp\":!0,\"kawai.iwate.jp\":!0,\"kitakami.iwate.jp\":!0,\"kuji.iwate.jp\":!0,\"kunohe.iwate.jp\":!0,\"kuzumaki.iwate.jp\":!0,\"miyako.iwate.jp\":!0,\"mizusawa.iwate.jp\":!0,\"morioka.iwate.jp\":!0,\"ninohe.iwate.jp\":!0,\"noda.iwate.jp\":!0,\"ofunato.iwate.jp\":!0,\"oshu.iwate.jp\":!0,\"otsuchi.iwate.jp\":!0,\"rikuzentakata.iwate.jp\":!0,\"shiwa.iwate.jp\":!0,\"shizukuishi.iwate.jp\":!0,\"sumita.iwate.jp\":!0,\"tanohata.iwate.jp\":!0,\"tono.iwate.jp\":!0,\"yahaba.iwate.jp\":!0,\"yamada.iwate.jp\":!0,\"ayagawa.kagawa.jp\":!0,\"higashikagawa.kagawa.jp\":!0,\"kanonji.kagawa.jp\":!0,\"kotohira.kagawa.jp\":!0,\"manno.kagawa.jp\":!0,\"marugame.kagawa.jp\":!0,\"mitoyo.kagawa.jp\":!0,\"naoshima.kagawa.jp\":!0,\"sanuki.kagawa.jp\":!0,\"tadotsu.kagawa.jp\":!0,\"takamatsu.kagawa.jp\":!0,\"tonosho.kagawa.jp\":!0,\"uchinomi.kagawa.jp\":!0,\"utazu.kagawa.jp\":!0,\"zentsuji.kagawa.jp\":!0,\"akune.kagoshima.jp\":!0,\"amami.kagoshima.jp\":!0,\"hioki.kagoshima.jp\":!0,\"isa.kagoshima.jp\":!0,\"isen.kagoshima.jp\":!0,\"izumi.kagoshima.jp\":!0,\"kagoshima.kagoshima.jp\":!0,\"kanoya.kagoshima.jp\":!0,\"kawanabe.kagoshima.jp\":!0,\"kinko.kagoshima.jp\":!0,\"kouyama.kagoshima.jp\":!0,\"makurazaki.kagoshima.jp\":!0,\"matsumoto.kagoshima.jp\":!0,\"minamitane.kagoshima.jp\":!0,\"nakatane.kagoshima.jp\":!0,\"nishinoomote.kagoshima.jp\":!0,\"satsumasendai.kagoshima.jp\":!0,\"soo.kagoshima.jp\":!0,\"tarumizu.kagoshima.jp\":!0,\"yusui.kagoshima.jp\":!0,\"aikawa.kanagawa.jp\":!0,\"atsugi.kanagawa.jp\":!0,\"ayase.kanagawa.jp\":!0,\"chigasaki.kanagawa.jp\":!0,\"ebina.kanagawa.jp\":!0,\"fujisawa.kanagawa.jp\":!0,\"hadano.kanagawa.jp\":!0,\"hakone.kanagawa.jp\":!0,\"hiratsuka.kanagawa.jp\":!0,\"isehara.kanagawa.jp\":!0,\"kaisei.kanagawa.jp\":!0,\"kamakura.kanagawa.jp\":!0,\"kiyokawa.kanagawa.jp\":!0,\"matsuda.kanagawa.jp\":!0,\"minamiashigara.kanagawa.jp\":!0,\"miura.kanagawa.jp\":!0,\"nakai.kanagawa.jp\":!0,\"ninomiya.kanagawa.jp\":!0,\"odawara.kanagawa.jp\":!0,\"oi.kanagawa.jp\":!0,\"oiso.kanagawa.jp\":!0,\"sagamihara.kanagawa.jp\":!0,\"samukawa.kanagawa.jp\":!0,\"tsukui.kanagawa.jp\":!0,\"yamakita.kanagawa.jp\":!0,\"yamato.kanagawa.jp\":!0,\"yokosuka.kanagawa.jp\":!0,\"yugawara.kanagawa.jp\":!0,\"zama.kanagawa.jp\":!0,\"zushi.kanagawa.jp\":!0,\"aki.kochi.jp\":!0,\"geisei.kochi.jp\":!0,\"hidaka.kochi.jp\":!0,\"higashitsuno.kochi.jp\":!0,\"ino.kochi.jp\":!0,\"kagami.kochi.jp\":!0,\"kami.kochi.jp\":!0,\"kitagawa.kochi.jp\":!0,\"kochi.kochi.jp\":!0,\"mihara.kochi.jp\":!0,\"motoyama.kochi.jp\":!0,\"muroto.kochi.jp\":!0,\"nahari.kochi.jp\":!0,\"nakamura.kochi.jp\":!0,\"nankoku.kochi.jp\":!0,\"nishitosa.kochi.jp\":!0,\"niyodogawa.kochi.jp\":!0,\"ochi.kochi.jp\":!0,\"okawa.kochi.jp\":!0,\"otoyo.kochi.jp\":!0,\"otsuki.kochi.jp\":!0,\"sakawa.kochi.jp\":!0,\"sukumo.kochi.jp\":!0,\"susaki.kochi.jp\":!0,\"tosa.kochi.jp\":!0,\"tosashimizu.kochi.jp\":!0,\"toyo.kochi.jp\":!0,\"tsuno.kochi.jp\":!0,\"umaji.kochi.jp\":!0,\"yasuda.kochi.jp\":!0,\"yusuhara.kochi.jp\":!0,\"amakusa.kumamoto.jp\":!0,\"arao.kumamoto.jp\":!0,\"aso.kumamoto.jp\":!0,\"choyo.kumamoto.jp\":!0,\"gyokuto.kumamoto.jp\":!0,\"hitoyoshi.kumamoto.jp\":!0,\"kamiamakusa.kumamoto.jp\":!0,\"kashima.kumamoto.jp\":!0,\"kikuchi.kumamoto.jp\":!0,\"kosa.kumamoto.jp\":!0,\"kumamoto.kumamoto.jp\":!0,\"mashiki.kumamoto.jp\":!0,\"mifune.kumamoto.jp\":!0,\"minamata.kumamoto.jp\":!0,\"minamioguni.kumamoto.jp\":!0,\"nagasu.kumamoto.jp\":!0,\"nishihara.kumamoto.jp\":!0,\"oguni.kumamoto.jp\":!0,\"ozu.kumamoto.jp\":!0,\"sumoto.kumamoto.jp\":!0,\"takamori.kumamoto.jp\":!0,\"uki.kumamoto.jp\":!0,\"uto.kumamoto.jp\":!0,\"yamaga.kumamoto.jp\":!0,\"yamato.kumamoto.jp\":!0,\"yatsushiro.kumamoto.jp\":!0,\"ayabe.kyoto.jp\":!0,\"fukuchiyama.kyoto.jp\":!0,\"higashiyama.kyoto.jp\":!0,\"ide.kyoto.jp\":!0,\"ine.kyoto.jp\":!0,\"joyo.kyoto.jp\":!0,\"kameoka.kyoto.jp\":!0,\"kamo.kyoto.jp\":!0,\"kita.kyoto.jp\":!0,\"kizu.kyoto.jp\":!0,\"kumiyama.kyoto.jp\":!0,\"kyotamba.kyoto.jp\":!0,\"kyotanabe.kyoto.jp\":!0,\"kyotango.kyoto.jp\":!0,\"maizuru.kyoto.jp\":!0,\"minami.kyoto.jp\":!0,\"minamiyamashiro.kyoto.jp\":!0,\n\"miyazu.kyoto.jp\":!0,\"muko.kyoto.jp\":!0,\"nagaokakyo.kyoto.jp\":!0,\"nakagyo.kyoto.jp\":!0,\"nantan.kyoto.jp\":!0,\"oyamazaki.kyoto.jp\":!0,\"sakyo.kyoto.jp\":!0,\"seika.kyoto.jp\":!0,\"tanabe.kyoto.jp\":!0,\"uji.kyoto.jp\":!0,\"ujitawara.kyoto.jp\":!0,\"wazuka.kyoto.jp\":!0,\"yamashina.kyoto.jp\":!0,\"yawata.kyoto.jp\":!0,\"asahi.mie.jp\":!0,\"inabe.mie.jp\":!0,\"ise.mie.jp\":!0,\"kameyama.mie.jp\":!0,\"kawagoe.mie.jp\":!0,\"kiho.mie.jp\":!0,\"kisosaki.mie.jp\":!0,\"kiwa.mie.jp\":!0,\"komono.mie.jp\":!0,\"kumano.mie.jp\":!0,\"kuwana.mie.jp\":!0,\"matsusaka.mie.jp\":!0,\"meiwa.mie.jp\":!0,\"mihama.mie.jp\":!0,\"minamiise.mie.jp\":!0,\"misugi.mie.jp\":!0,\"miyama.mie.jp\":!0,\"nabari.mie.jp\":!0,\"shima.mie.jp\":!0,\"suzuka.mie.jp\":!0,\"tado.mie.jp\":!0,\"taiki.mie.jp\":!0,\"taki.mie.jp\":!0,\"tamaki.mie.jp\":!0,\"toba.mie.jp\":!0,\"tsu.mie.jp\":!0,\"udono.mie.jp\":!0,\"ureshino.mie.jp\":!0,\"watarai.mie.jp\":!0,\"yokkaichi.mie.jp\":!0,\"furukawa.miyagi.jp\":!0,\"higashimatsushima.miyagi.jp\":!0,\"ishinomaki.miyagi.jp\":!0,\"iwanuma.miyagi.jp\":!0,\"kakuda.miyagi.jp\":!0,\"kami.miyagi.jp\":!0,\"kawasaki.miyagi.jp\":!0,\"kesennuma.miyagi.jp\":!0,\"marumori.miyagi.jp\":!0,\"matsushima.miyagi.jp\":!0,\"minamisanriku.miyagi.jp\":!0,\"misato.miyagi.jp\":!0,\"murata.miyagi.jp\":!0,\"natori.miyagi.jp\":!0,\"ogawara.miyagi.jp\":!0,\"ohira.miyagi.jp\":!0,\"onagawa.miyagi.jp\":!0,\"osaki.miyagi.jp\":!0,\"rifu.miyagi.jp\":!0,\"semine.miyagi.jp\":!0,\"shibata.miyagi.jp\":!0,\"shichikashuku.miyagi.jp\":!0,\"shikama.miyagi.jp\":!0,\"shiogama.miyagi.jp\":!0,\"shiroishi.miyagi.jp\":!0,\"tagajo.miyagi.jp\":!0,\"taiwa.miyagi.jp\":!0,\"tome.miyagi.jp\":!0,\"tomiya.miyagi.jp\":!0,\"wakuya.miyagi.jp\":!0,\"watari.miyagi.jp\":!0,\"yamamoto.miyagi.jp\":!0,\"zao.miyagi.jp\":!0,\"aya.miyazaki.jp\":!0,\"ebino.miyazaki.jp\":!0,\"gokase.miyazaki.jp\":!0,\"hyuga.miyazaki.jp\":!0,\"kadogawa.miyazaki.jp\":!0,\"kawaminami.miyazaki.jp\":!0,\"kijo.miyazaki.jp\":!0,\"kitagawa.miyazaki.jp\":!0,\"kitakata.miyazaki.jp\":!0,\"kitaura.miyazaki.jp\":!0,\"kobayashi.miyazaki.jp\":!0,\"kunitomi.miyazaki.jp\":!0,\"kushima.miyazaki.jp\":!0,\"mimata.miyazaki.jp\":!0,\"miyakonojo.miyazaki.jp\":!0,\"miyazaki.miyazaki.jp\":!0,\"morotsuka.miyazaki.jp\":!0,\"nichinan.miyazaki.jp\":!0,\"nishimera.miyazaki.jp\":!0,\"nobeoka.miyazaki.jp\":!0,\"saito.miyazaki.jp\":!0,\"shiiba.miyazaki.jp\":!0,\"shintomi.miyazaki.jp\":!0,\"takaharu.miyazaki.jp\":!0,\"takanabe.miyazaki.jp\":!0,\"takazaki.miyazaki.jp\":!0,\"tsuno.miyazaki.jp\":!0,\"achi.nagano.jp\":!0,\"agematsu.nagano.jp\":!0,\"anan.nagano.jp\":!0,\"aoki.nagano.jp\":!0,\"asahi.nagano.jp\":!0,\"azumino.nagano.jp\":!0,\"chikuhoku.nagano.jp\":!0,\"chikuma.nagano.jp\":!0,\"chino.nagano.jp\":!0,\"fujimi.nagano.jp\":!0,\"hakuba.nagano.jp\":!0,\"hara.nagano.jp\":!0,\"hiraya.nagano.jp\":!0,\"iida.nagano.jp\":!0,\"iijima.nagano.jp\":!0,\"iiyama.nagano.jp\":!0,\"iizuna.nagano.jp\":!0,\"ikeda.nagano.jp\":!0,\"ikusaka.nagano.jp\":!0,\"ina.nagano.jp\":!0,\"karuizawa.nagano.jp\":!0,\"kawakami.nagano.jp\":!0,\"kiso.nagano.jp\":!0,\"kisofukushima.nagano.jp\":!0,\"kitaaiki.nagano.jp\":!0,\"komagane.nagano.jp\":!0,\"komoro.nagano.jp\":!0,\"matsukawa.nagano.jp\":!0,\"matsumoto.nagano.jp\":!0,\"miasa.nagano.jp\":!0,\"minamiaiki.nagano.jp\":!0,\"minamimaki.nagano.jp\":!0,\"minamiminowa.nagano.jp\":!0,\"minowa.nagano.jp\":!0,\"miyada.nagano.jp\":!0,\"miyota.nagano.jp\":!0,\"mochizuki.nagano.jp\":!0,\"nagano.nagano.jp\":!0,\"nagawa.nagano.jp\":!0,\"nagiso.nagano.jp\":!0,\"nakagawa.nagano.jp\":!0,\"nakano.nagano.jp\":!0,\"nozawaonsen.nagano.jp\":!0,\"obuse.nagano.jp\":!0,\"ogawa.nagano.jp\":!0,\"okaya.nagano.jp\":!0,\"omachi.nagano.jp\":!0,\"omi.nagano.jp\":!0,\"ookuwa.nagano.jp\":!0,\"ooshika.nagano.jp\":!0,\"otaki.nagano.jp\":!0,\"otari.nagano.jp\":!0,\"sakae.nagano.jp\":!0,\"sakaki.nagano.jp\":!0,\"saku.nagano.jp\":!0,\"sakuho.nagano.jp\":!0,\"shimosuwa.nagano.jp\":!0,\"shinanomachi.nagano.jp\":!0,\"shiojiri.nagano.jp\":!0,\"suwa.nagano.jp\":!0,\"suzaka.nagano.jp\":!0,\"takagi.nagano.jp\":!0,\"takamori.nagano.jp\":!0,\"takayama.nagano.jp\":!0,\"tateshina.nagano.jp\":!0,\"tatsuno.nagano.jp\":!0,\"togakushi.nagano.jp\":!0,\"togura.nagano.jp\":!0,\"tomi.nagano.jp\":!0,\"ueda.nagano.jp\":!0,\"wada.nagano.jp\":!0,\"yamagata.nagano.jp\":!0,\"yamanouchi.nagano.jp\":!0,\"yasaka.nagano.jp\":!0,\"yasuoka.nagano.jp\":!0,\"chijiwa.nagasaki.jp\":!0,\"futsu.nagasaki.jp\":!0,\"goto.nagasaki.jp\":!0,\"hasami.nagasaki.jp\":!0,\"hirado.nagasaki.jp\":!0,\"iki.nagasaki.jp\":!0,\"isahaya.nagasaki.jp\":!0,\"kawatana.nagasaki.jp\":!0,\"kuchinotsu.nagasaki.jp\":!0,\"matsuura.nagasaki.jp\":!0,\"nagasaki.nagasaki.jp\":!0,\"obama.nagasaki.jp\":!0,\"omura.nagasaki.jp\":!0,\"oseto.nagasaki.jp\":!0,\"saikai.nagasaki.jp\":!0,\"sasebo.nagasaki.jp\":!0,\"seihi.nagasaki.jp\":!0,\"shimabara.nagasaki.jp\":!0,\"shinkamigoto.nagasaki.jp\":!0,\"togitsu.nagasaki.jp\":!0,\"tsushima.nagasaki.jp\":!0,\"unzen.nagasaki.jp\":!0,\"ando.nara.jp\":!0,\"gose.nara.jp\":!0,\"heguri.nara.jp\":!0,\"higashiyoshino.nara.jp\":!0,\"ikaruga.nara.jp\":!0,\"ikoma.nara.jp\":!0,\"kamikitayama.nara.jp\":!0,\"kanmaki.nara.jp\":!0,\"kashiba.nara.jp\":!0,\"kashihara.nara.jp\":!0,\"katsuragi.nara.jp\":!0,\"kawai.nara.jp\":!0,\"kawakami.nara.jp\":!0,\"kawanishi.nara.jp\":!0,\"koryo.nara.jp\":!0,\"kurotaki.nara.jp\":!0,\"mitsue.nara.jp\":!0,\"miyake.nara.jp\":!0,\"nara.nara.jp\":!0,\"nosegawa.nara.jp\":!0,\"oji.nara.jp\":!0,\"ouda.nara.jp\":!0,\"oyodo.nara.jp\":!0,\"sakurai.nara.jp\":!0,\"sango.nara.jp\":!0,\"shimoichi.nara.jp\":!0,\"shimokitayama.nara.jp\":!0,\"shinjo.nara.jp\":!0,\"soni.nara.jp\":!0,\"takatori.nara.jp\":!0,\"tawaramoto.nara.jp\":!0,\"tenkawa.nara.jp\":!0,\"tenri.nara.jp\":!0,\"uda.nara.jp\":!0,\"yamatokoriyama.nara.jp\":!0,\"yamatotakada.nara.jp\":!0,\"yamazoe.nara.jp\":!0,\"yoshino.nara.jp\":!0,\"aga.niigata.jp\":!0,\"agano.niigata.jp\":!0,\"gosen.niigata.jp\":!0,\"itoigawa.niigata.jp\":!0,\"izumozaki.niigata.jp\":!0,\"joetsu.niigata.jp\":!0,\"kamo.niigata.jp\":!0,\"kariwa.niigata.jp\":!0,\"kashiwazaki.niigata.jp\":!0,\"minamiuonuma.niigata.jp\":!0,\"mitsuke.niigata.jp\":!0,\"muika.niigata.jp\":!0,\"murakami.niigata.jp\":!0,\"myoko.niigata.jp\":!0,\"nagaoka.niigata.jp\":!0,\"niigata.niigata.jp\":!0,\"ojiya.niigata.jp\":!0,\"omi.niigata.jp\":!0,\"sado.niigata.jp\":!0,\"sanjo.niigata.jp\":!0,\"seiro.niigata.jp\":!0,\"seirou.niigata.jp\":!0,\"sekikawa.niigata.jp\":!0,\"shibata.niigata.jp\":!0,\"tagami.niigata.jp\":!0,\"tainai.niigata.jp\":!0,\"tochio.niigata.jp\":!0,\"tokamachi.niigata.jp\":!0,\"tsubame.niigata.jp\":!0,\"tsunan.niigata.jp\":!0,\"uonuma.niigata.jp\":!0,\"yahiko.niigata.jp\":!0,\"yoita.niigata.jp\":!0,\"yuzawa.niigata.jp\":!0,\"beppu.oita.jp\":!0,\"bungoono.oita.jp\":!0,\"bungotakada.oita.jp\":!0,\"hasama.oita.jp\":!0,\"hiji.oita.jp\":!0,\"himeshima.oita.jp\":!0,\"hita.oita.jp\":!0,\"kamitsue.oita.jp\":!0,\"kokonoe.oita.jp\":!0,\"kuju.oita.jp\":!0,\"kunisaki.oita.jp\":!0,\"kusu.oita.jp\":!0,\"oita.oita.jp\":!0,\"saiki.oita.jp\":!0,\"taketa.oita.jp\":!0,\"tsukumi.oita.jp\":!0,\"usa.oita.jp\":!0,\"usuki.oita.jp\":!0,\"yufu.oita.jp\":!0,\"akaiwa.okayama.jp\":!0,\"asakuchi.okayama.jp\":!0,\"bizen.okayama.jp\":!0,\"hayashima.okayama.jp\":!0,\"ibara.okayama.jp\":!0,\"kagamino.okayama.jp\":!0,\"kasaoka.okayama.jp\":!0,\"kibichuo.okayama.jp\":!0,\"kumenan.okayama.jp\":!0,\"kurashiki.okayama.jp\":!0,\"maniwa.okayama.jp\":!0,\"misaki.okayama.jp\":!0,\"nagi.okayama.jp\":!0,\"niimi.okayama.jp\":!0,\"nishiawakura.okayama.jp\":!0,\"okayama.okayama.jp\":!0,\"satosho.okayama.jp\":!0,\"setouchi.okayama.jp\":!0,\"shinjo.okayama.jp\":!0,\"shoo.okayama.jp\":!0,\"soja.okayama.jp\":!0,\"takahashi.okayama.jp\":!0,\"tamano.okayama.jp\":!0,\"tsuyama.okayama.jp\":!0,\"wake.okayama.jp\":!0,\"yakage.okayama.jp\":!0,\"aguni.okinawa.jp\":!0,\"ginowan.okinawa.jp\":!0,\"ginoza.okinawa.jp\":!0,\"gushikami.okinawa.jp\":!0,\"haebaru.okinawa.jp\":!0,\"higashi.okinawa.jp\":!0,\"hirara.okinawa.jp\":!0,\"iheya.okinawa.jp\":!0,\"ishigaki.okinawa.jp\":!0,\"ishikawa.okinawa.jp\":!0,\"itoman.okinawa.jp\":!0,\"izena.okinawa.jp\":!0,\"kadena.okinawa.jp\":!0,\"kin.okinawa.jp\":!0,\"kitadaito.okinawa.jp\":!0,\"kitanakagusuku.okinawa.jp\":!0,\"kumejima.okinawa.jp\":!0,\"kunigami.okinawa.jp\":!0,\"minamidaito.okinawa.jp\":!0,\"motobu.okinawa.jp\":!0,\"nago.okinawa.jp\":!0,\"naha.okinawa.jp\":!0,\"nakagusuku.okinawa.jp\":!0,\"nakijin.okinawa.jp\":!0,\"nanjo.okinawa.jp\":!0,\"nishihara.okinawa.jp\":!0,\"ogimi.okinawa.jp\":!0,\"okinawa.okinawa.jp\":!0,\"onna.okinawa.jp\":!0,\"shimoji.okinawa.jp\":!0,\"taketomi.okinawa.jp\":!0,\"tarama.okinawa.jp\":!0,\"tokashiki.okinawa.jp\":!0,\"tomigusuku.okinawa.jp\":!0,\"tonaki.okinawa.jp\":!0,\"urasoe.okinawa.jp\":!0,\"uruma.okinawa.jp\":!0,\"yaese.okinawa.jp\":!0,\"yomitan.okinawa.jp\":!0,\"yonabaru.okinawa.jp\":!0,\"yonaguni.okinawa.jp\":!0,\"zamami.okinawa.jp\":!0,\"abeno.osaka.jp\":!0,\"chihayaakasaka.osaka.jp\":!0,\"chuo.osaka.jp\":!0,\"daito.osaka.jp\":!0,\"fujiidera.osaka.jp\":!0,\"habikino.osaka.jp\":!0,\"hannan.osaka.jp\":!0,\"higashiosaka.osaka.jp\":!0,\"higashisumiyoshi.osaka.jp\":!0,\"higashiyodogawa.osaka.jp\":!0,\"hirakata.osaka.jp\":!0,\"ibaraki.osaka.jp\":!0,\"ikeda.osaka.jp\":!0,\"izumi.osaka.jp\":!0,\"izumiotsu.osaka.jp\":!0,\"izumisano.osaka.jp\":!0,\"kadoma.osaka.jp\":!0,\"kaizuka.osaka.jp\":!0,\"kanan.osaka.jp\":!0,\"kashiwara.osaka.jp\":!0,\"katano.osaka.jp\":!0,\"kawachinagano.osaka.jp\":!0,\"kishiwada.osaka.jp\":!0,\"kita.osaka.jp\":!0,\"kumatori.osaka.jp\":!0,\"matsubara.osaka.jp\":!0,\"minato.osaka.jp\":!0,\"minoh.osaka.jp\":!0,\"misaki.osaka.jp\":!0,\"moriguchi.osaka.jp\":!0,\"neyagawa.osaka.jp\":!0,\"nishi.osaka.jp\":!0,\"nose.osaka.jp\":!0,\"osakasayama.osaka.jp\":!0,\"sakai.osaka.jp\":!0,\"sayama.osaka.jp\":!0,\"sennan.osaka.jp\":!0,\"settsu.osaka.jp\":!0,\"shijonawate.osaka.jp\":!0,\"shimamoto.osaka.jp\":!0,\"suita.osaka.jp\":!0,\"tadaoka.osaka.jp\":!0,\"taishi.osaka.jp\":!0,\"tajiri.osaka.jp\":!0,\"takaishi.osaka.jp\":!0,\"takatsuki.osaka.jp\":!0,\"tondabayashi.osaka.jp\":!0,\"toyonaka.osaka.jp\":!0,\"toyono.osaka.jp\":!0,\"yao.osaka.jp\":!0,\"ariake.saga.jp\":!0,\"arita.saga.jp\":!0,\"fukudomi.saga.jp\":!0,\"genkai.saga.jp\":!0,\"hamatama.saga.jp\":!0,\"hizen.saga.jp\":!0,\"imari.saga.jp\":!0,\"kamimine.saga.jp\":!0,\"kanzaki.saga.jp\":!0,\"karatsu.saga.jp\":!0,\"kashima.saga.jp\":!0,\"kitagata.saga.jp\":!0,\"kitahata.saga.jp\":!0,\"kiyama.saga.jp\":!0,\"kouhoku.saga.jp\":!0,\"kyuragi.saga.jp\":!0,\"nishiarita.saga.jp\":!0,\"ogi.saga.jp\":!0,\"omachi.saga.jp\":!0,\"ouchi.saga.jp\":!0,\"saga.saga.jp\":!0,\"shiroishi.saga.jp\":!0,\"taku.saga.jp\":!0,\"tara.saga.jp\":!0,\"tosu.saga.jp\":!0,\"yoshinogari.saga.jp\":!0,\"arakawa.saitama.jp\":!0,\"asaka.saitama.jp\":!0,\"chichibu.saitama.jp\":!0,\"fujimi.saitama.jp\":!0,\"fujimino.saitama.jp\":!0,\"fukaya.saitama.jp\":!0,\"hanno.saitama.jp\":!0,\"hanyu.saitama.jp\":!0,\"hasuda.saitama.jp\":!0,\"hatogaya.saitama.jp\":!0,\"hatoyama.saitama.jp\":!0,\"hidaka.saitama.jp\":!0,\"higashichichibu.saitama.jp\":!0,\"higashimatsuyama.saitama.jp\":!0,\"honjo.saitama.jp\":!0,\"ina.saitama.jp\":!0,\"iruma.saitama.jp\":!0,\"iwatsuki.saitama.jp\":!0,\"kamiizumi.saitama.jp\":!0,\"kamikawa.saitama.jp\":!0,\"kamisato.saitama.jp\":!0,\"kasukabe.saitama.jp\":!0,\"kawagoe.saitama.jp\":!0,\"kawaguchi.saitama.jp\":!0,\"kawajima.saitama.jp\":!0,\"kazo.saitama.jp\":!0,\"kitamoto.saitama.jp\":!0,\"koshigaya.saitama.jp\":!0,\"kounosu.saitama.jp\":!0,\"kuki.saitama.jp\":!0,\"kumagaya.saitama.jp\":!0,\"matsubushi.saitama.jp\":!0,\"minano.saitama.jp\":!0,\"misato.saitama.jp\":!0,\"miyashiro.saitama.jp\":!0,\"miyoshi.saitama.jp\":!0,\"moroyama.saitama.jp\":!0,\"nagatoro.saitama.jp\":!0,\"namegawa.saitama.jp\":!0,\"niiza.saitama.jp\":!0,\"ogano.saitama.jp\":!0,\"ogawa.saitama.jp\":!0,\"ogose.saitama.jp\":!0,\"okegawa.saitama.jp\":!0,\"omiya.saitama.jp\":!0,\"otaki.saitama.jp\":!0,\"ranzan.saitama.jp\":!0,\"ryokami.saitama.jp\":!0,\"saitama.saitama.jp\":!0,\"sakado.saitama.jp\":!0,\"satte.saitama.jp\":!0,\"sayama.saitama.jp\":!0,\"shiki.saitama.jp\":!0,\"shiraoka.saitama.jp\":!0,\"soka.saitama.jp\":!0,\"sugito.saitama.jp\":!0,\"toda.saitama.jp\":!0,\"tokigawa.saitama.jp\":!0,\"tokorozawa.saitama.jp\":!0,\"tsurugashima.saitama.jp\":!0,\"urawa.saitama.jp\":!0,\"warabi.saitama.jp\":!0,\"yashio.saitama.jp\":!0,\"yokoze.saitama.jp\":!0,\"yono.saitama.jp\":!0,\"yorii.saitama.jp\":!0,\"yoshida.saitama.jp\":!0,\"yoshikawa.saitama.jp\":!0,\"yoshimi.saitama.jp\":!0,\"aisho.shiga.jp\":!0,\"gamo.shiga.jp\":!0,\"higashiomi.shiga.jp\":!0,\"hikone.shiga.jp\":!0,\"koka.shiga.jp\":!0,\"konan.shiga.jp\":!0,\"kosei.shiga.jp\":!0,\"koto.shiga.jp\":!0,\"kusatsu.shiga.jp\":!0,\"maibara.shiga.jp\":!0,\"moriyama.shiga.jp\":!0,\"nagahama.shiga.jp\":!0,\"nishiazai.shiga.jp\":!0,\"notogawa.shiga.jp\":!0,\"omihachiman.shiga.jp\":!0,\"otsu.shiga.jp\":!0,\"ritto.shiga.jp\":!0,\"ryuoh.shiga.jp\":!0,\"takashima.shiga.jp\":!0,\"takatsuki.shiga.jp\":!0,\"torahime.shiga.jp\":!0,\"toyosato.shiga.jp\":!0,\"yasu.shiga.jp\":!0,\"akagi.shimane.jp\":!0,\"ama.shimane.jp\":!0,\"gotsu.shimane.jp\":!0,\"hamada.shimane.jp\":!0,\"higashiizumo.shimane.jp\":!0,\"hikawa.shimane.jp\":!0,\"hikimi.shimane.jp\":!0,\"izumo.shimane.jp\":!0,\"kakinoki.shimane.jp\":!0,\"masuda.shimane.jp\":!0,\"matsue.shimane.jp\":!0,\"misato.shimane.jp\":!0,\"nishinoshima.shimane.jp\":!0,\"ohda.shimane.jp\":!0,\"okinoshima.shimane.jp\":!0,\"okuizumo.shimane.jp\":!0,\"shimane.shimane.jp\":!0,\"tamayu.shimane.jp\":!0,\"tsuwano.shimane.jp\":!0,\"unnan.shimane.jp\":!0,\"yakumo.shimane.jp\":!0,\"yasugi.shimane.jp\":!0,\"yatsuka.shimane.jp\":!0,\"arai.shizuoka.jp\":!0,\"atami.shizuoka.jp\":!0,\"fuji.shizuoka.jp\":!0,\"fujieda.shizuoka.jp\":!0,\"fujikawa.shizuoka.jp\":!0,\"fujinomiya.shizuoka.jp\":!0,\"fukuroi.shizuoka.jp\":!0,\"gotemba.shizuoka.jp\":!0,\"haibara.shizuoka.jp\":!0,\"hamamatsu.shizuoka.jp\":!0,\"higashiizu.shizuoka.jp\":!0,\"ito.shizuoka.jp\":!0,\"iwata.shizuoka.jp\":!0,\"izu.shizuoka.jp\":!0,\"izunokuni.shizuoka.jp\":!0,\"kakegawa.shizuoka.jp\":!0,\"kannami.shizuoka.jp\":!0,\"kawanehon.shizuoka.jp\":!0,\"kawazu.shizuoka.jp\":!0,\"kikugawa.shizuoka.jp\":!0,\"kosai.shizuoka.jp\":!0,\"makinohara.shizuoka.jp\":!0,\"matsuzaki.shizuoka.jp\":!0,\"minamiizu.shizuoka.jp\":!0,\"mishima.shizuoka.jp\":!0,\"morimachi.shizuoka.jp\":!0,\"nishiizu.shizuoka.jp\":!0,\"numazu.shizuoka.jp\":!0,\"omaezaki.shizuoka.jp\":!0,\"shimada.shizuoka.jp\":!0,\"shimizu.shizuoka.jp\":!0,\"shimoda.shizuoka.jp\":!0,\"shizuoka.shizuoka.jp\":!0,\"susono.shizuoka.jp\":!0,\"yaizu.shizuoka.jp\":!0,\"yoshida.shizuoka.jp\":!0,\"ashikaga.tochigi.jp\":!0,\"bato.tochigi.jp\":!0,\"haga.tochigi.jp\":!0,\"ichikai.tochigi.jp\":!0,\"iwafune.tochigi.jp\":!0,\"kaminokawa.tochigi.jp\":!0,\"kanuma.tochigi.jp\":!0,\"karasuyama.tochigi.jp\":!0,\"kuroiso.tochigi.jp\":!0,\"mashiko.tochigi.jp\":!0,\"mibu.tochigi.jp\":!0,\"moka.tochigi.jp\":!0,\"motegi.tochigi.jp\":!0,\"nasu.tochigi.jp\":!0,\"nasushiobara.tochigi.jp\":!0,\"nikko.tochigi.jp\":!0,\"nishikata.tochigi.jp\":!0,\"nogi.tochigi.jp\":!0,\"ohira.tochigi.jp\":!0,\"ohtawara.tochigi.jp\":!0,\"oyama.tochigi.jp\":!0,\"sakura.tochigi.jp\":!0,\"sano.tochigi.jp\":!0,\"shimotsuke.tochigi.jp\":!0,\"shioya.tochigi.jp\":!0,\"takanezawa.tochigi.jp\":!0,\"tochigi.tochigi.jp\":!0,\"tsuga.tochigi.jp\":!0,\"ujiie.tochigi.jp\":!0,\"utsunomiya.tochigi.jp\":!0,\"yaita.tochigi.jp\":!0,\"aizumi.tokushima.jp\":!0,\"anan.tokushima.jp\":!0,\"ichiba.tokushima.jp\":!0,\"itano.tokushima.jp\":!0,\"kainan.tokushima.jp\":!0,\"komatsushima.tokushima.jp\":!0,\"matsushige.tokushima.jp\":!0,\"mima.tokushima.jp\":!0,\"minami.tokushima.jp\":!0,\"miyoshi.tokushima.jp\":!0,\"mugi.tokushima.jp\":!0,\"nakagawa.tokushima.jp\":!0,\"naruto.tokushima.jp\":!0,\"sanagochi.tokushima.jp\":!0,\"shishikui.tokushima.jp\":!0,\"tokushima.tokushima.jp\":!0,\"wajiki.tokushima.jp\":!0,\"adachi.tokyo.jp\":!0,\"akiruno.tokyo.jp\":!0,\"akishima.tokyo.jp\":!0,\"aogashima.tokyo.jp\":!0,\"arakawa.tokyo.jp\":!0,\"bunkyo.tokyo.jp\":!0,\"chiyoda.tokyo.jp\":!0,\"chofu.tokyo.jp\":!0,\"chuo.tokyo.jp\":!0,\"edogawa.tokyo.jp\":!0,\"fuchu.tokyo.jp\":!0,\"fussa.tokyo.jp\":!0,\"hachijo.tokyo.jp\":!0,\"hachioji.tokyo.jp\":!0,\"hamura.tokyo.jp\":!0,\"higashikurume.tokyo.jp\":!0,\"higashimurayama.tokyo.jp\":!0,\"higashiyamato.tokyo.jp\":!0,\"hino.tokyo.jp\":!0,\"hinode.tokyo.jp\":!0,\"hinohara.tokyo.jp\":!0,\"inagi.tokyo.jp\":!0,\"itabashi.tokyo.jp\":!0,\"katsushika.tokyo.jp\":!0,\"kita.tokyo.jp\":!0,\"kiyose.tokyo.jp\":!0,\"kodaira.tokyo.jp\":!0,\"koganei.tokyo.jp\":!0,\"kokubunji.tokyo.jp\":!0,\"komae.tokyo.jp\":!0,\"koto.tokyo.jp\":!0,\"kouzushima.tokyo.jp\":!0,\"kunitachi.tokyo.jp\":!0,\"machida.tokyo.jp\":!0,\"meguro.tokyo.jp\":!0,\"minato.tokyo.jp\":!0,\"mitaka.tokyo.jp\":!0,\"mizuho.tokyo.jp\":!0,\"musashimurayama.tokyo.jp\":!0,\"musashino.tokyo.jp\":!0,\"nakano.tokyo.jp\":!0,\"nerima.tokyo.jp\":!0,\"ogasawara.tokyo.jp\":!0,\"okutama.tokyo.jp\":!0,\"ome.tokyo.jp\":!0,\"oshima.tokyo.jp\":!0,\"ota.tokyo.jp\":!0,\"setagaya.tokyo.jp\":!0,\"shibuya.tokyo.jp\":!0,\"shinagawa.tokyo.jp\":!0,\"shinjuku.tokyo.jp\":!0,\"suginami.tokyo.jp\":!0,\"sumida.tokyo.jp\":!0,\"tachikawa.tokyo.jp\":!0,\"taito.tokyo.jp\":!0,\"tama.tokyo.jp\":!0,\"toshima.tokyo.jp\":!0,\"chizu.tottori.jp\":!0,\"hino.tottori.jp\":!0,\"kawahara.tottori.jp\":!0,\"koge.tottori.jp\":!0,\"kotoura.tottori.jp\":!0,\"misasa.tottori.jp\":!0,\"nanbu.tottori.jp\":!0,\"nichinan.tottori.jp\":!0,\"sakaiminato.tottori.jp\":!0,\"tottori.tottori.jp\":!0,\"wakasa.tottori.jp\":!0,\"yazu.tottori.jp\":!0,\"yonago.tottori.jp\":!0,\"asahi.toyama.jp\":!0,\"fuchu.toyama.jp\":!0,\"fukumitsu.toyama.jp\":!0,\"funahashi.toyama.jp\":!0,\"himi.toyama.jp\":!0,\"imizu.toyama.jp\":!0,\"inami.toyama.jp\":!0,\"johana.toyama.jp\":!0,\"kamiichi.toyama.jp\":!0,\"kurobe.toyama.jp\":!0,\"nakaniikawa.toyama.jp\":!0,\"namerikawa.toyama.jp\":!0,\"nanto.toyama.jp\":!0,\"nyuzen.toyama.jp\":!0,\"oyabe.toyama.jp\":!0,\"taira.toyama.jp\":!0,\"takaoka.toyama.jp\":!0,\"tateyama.toyama.jp\":!0,\"toga.toyama.jp\":!0,\"tonami.toyama.jp\":!0,\"toyama.toyama.jp\":!0,\"unazuki.toyama.jp\":!0,\"uozu.toyama.jp\":!0,\"yamada.toyama.jp\":!0,\"arida.wakayama.jp\":!0,\"aridagawa.wakayama.jp\":!0,\"gobo.wakayama.jp\":!0,\"hashimoto.wakayama.jp\":!0,\"hidaka.wakayama.jp\":!0,\"hirogawa.wakayama.jp\":!0,\"inami.wakayama.jp\":!0,\"iwade.wakayama.jp\":!0,\"kainan.wakayama.jp\":!0,\"kamitonda.wakayama.jp\":!0,\"katsuragi.wakayama.jp\":!0,\"kimino.wakayama.jp\":!0,\"kinokawa.wakayama.jp\":!0,\"kitayama.wakayama.jp\":!0,\"koya.wakayama.jp\":!0,\"koza.wakayama.jp\":!0,\"kozagawa.wakayama.jp\":!0,\"kudoyama.wakayama.jp\":!0,\"kushimoto.wakayama.jp\":!0,\"mihama.wakayama.jp\":!0,\"misato.wakayama.jp\":!0,\"nachikatsuura.wakayama.jp\":!0,\"shingu.wakayama.jp\":!0,\"shirahama.wakayama.jp\":!0,\"taiji.wakayama.jp\":!0,\"tanabe.wakayama.jp\":!0,\"wakayama.wakayama.jp\":!0,\"yuasa.wakayama.jp\":!0,\"yura.wakayama.jp\":!0,\"asahi.yamagata.jp\":!0,\"funagata.yamagata.jp\":!0,\"higashine.yamagata.jp\":!0,\"iide.yamagata.jp\":!0,\"kahoku.yamagata.jp\":!0,\"kaminoyama.yamagata.jp\":!0,\"kaneyama.yamagata.jp\":!0,\"kawanishi.yamagata.jp\":!0,\"mamurogawa.yamagata.jp\":!0,\"mikawa.yamagata.jp\":!0,\"murayama.yamagata.jp\":!0,\"nagai.yamagata.jp\":!0,\"nakayama.yamagata.jp\":!0,\"nanyo.yamagata.jp\":!0,\"nishikawa.yamagata.jp\":!0,\"obanazawa.yamagata.jp\":!0,\"oe.yamagata.jp\":!0,\"oguni.yamagata.jp\":!0,\"ohkura.yamagata.jp\":!0,\"oishida.yamagata.jp\":!0,\"sagae.yamagata.jp\":!0,\"sakata.yamagata.jp\":!0,\"sakegawa.yamagata.jp\":!0,\"shinjo.yamagata.jp\":!0,\"shirataka.yamagata.jp\":!0,\"shonai.yamagata.jp\":!0,\"takahata.yamagata.jp\":!0,\"tendo.yamagata.jp\":!0,\"tozawa.yamagata.jp\":!0,\"tsuruoka.yamagata.jp\":!0,\"yamagata.yamagata.jp\":!0,\"yamanobe.yamagata.jp\":!0,\"yonezawa.yamagata.jp\":!0,\"yuza.yamagata.jp\":!0,\"abu.yamaguchi.jp\":!0,\"hagi.yamaguchi.jp\":!0,\"hikari.yamaguchi.jp\":!0,\"hofu.yamaguchi.jp\":!0,\"iwakuni.yamaguchi.jp\":!0,\"kudamatsu.yamaguchi.jp\":!0,\"mitou.yamaguchi.jp\":!0,\"nagato.yamaguchi.jp\":!0,\"oshima.yamaguchi.jp\":!0,\"shimonoseki.yamaguchi.jp\":!0,\"shunan.yamaguchi.jp\":!0,\"tabuse.yamaguchi.jp\":!0,\"tokuyama.yamaguchi.jp\":!0,\"toyota.yamaguchi.jp\":!0,\"ube.yamaguchi.jp\":!0,\"yuu.yamaguchi.jp\":!0,\"chuo.yamanashi.jp\":!0,\"doshi.yamanashi.jp\":!0,\"fuefuki.yamanashi.jp\":!0,\"fujikawa.yamanashi.jp\":!0,\"fujikawaguchiko.yamanashi.jp\":!0,\"fujiyoshida.yamanashi.jp\":!0,\"hayakawa.yamanashi.jp\":!0,\"hokuto.yamanashi.jp\":!0,\"ichikawamisato.yamanashi.jp\":!0,\"kai.yamanashi.jp\":!0,\"kofu.yamanashi.jp\":!0,\"koshu.yamanashi.jp\":!0,\"kosuge.yamanashi.jp\":!0,\"minami-alps.yamanashi.jp\":!0,\"minobu.yamanashi.jp\":!0,\"nakamichi.yamanashi.jp\":!0,\"nanbu.yamanashi.jp\":!0,\"narusawa.yamanashi.jp\":!0,\"nirasaki.yamanashi.jp\":!0,\"nishikatsura.yamanashi.jp\":!0,\"oshino.yamanashi.jp\":!0,\"otsuki.yamanashi.jp\":!0,\"showa.yamanashi.jp\":!0,\"tabayama.yamanashi.jp\":!0,\"tsuru.yamanashi.jp\":!0,\"uenohara.yamanashi.jp\":!0,\"yamanakako.yamanashi.jp\":!0,\"yamanashi.yamanashi.jp\":!0,\"*.ke\":!0,kg:!0,\"org.kg\":!0,\"net.kg\":!0,\"com.kg\":!0,\"edu.kg\":!0,\"gov.kg\":!0,\"mil.kg\":!0,\"*.kh\":!0,ki:!0,\"edu.ki\":!0,\"biz.ki\":!0,\"net.ki\":!0,\"org.ki\":!0,\"gov.ki\":!0,\"info.ki\":!0,\"com.ki\":!0,km:!0,\"org.km\":!0,\"nom.km\":!0,\"gov.km\":!0,\"prd.km\":!0,\"tm.km\":!0,\"edu.km\":!0,\"mil.km\":!0,\"ass.km\":!0,\"com.km\":!0,\"coop.km\":!0,\"asso.km\":!0,\"presse.km\":!0,\"medecin.km\":!0,\"notaires.km\":!0,\"pharmaciens.km\":!0,\"veterinaire.km\":!0,\"gouv.km\":!0,kn:!0,\"net.kn\":!0,\"org.kn\":!0,\"edu.kn\":!0,\"gov.kn\":!0,kp:!0,\"com.kp\":!0,\"edu.kp\":!0,\"gov.kp\":!0,\"org.kp\":!0,\"rep.kp\":!0,\"tra.kp\":!0,kr:!0,\"ac.kr\":!0,\"co.kr\":!0,\"es.kr\":!0,\"go.kr\":!0,\"hs.kr\":!0,\"kg.kr\":!0,\"mil.kr\":!0,\"ms.kr\":!0,\"ne.kr\":!0,\"or.kr\":!0,\"pe.kr\":!0,\"re.kr\":!0,\"sc.kr\":!0,\"busan.kr\":!0,\"chungbuk.kr\":!0,\"chungnam.kr\":!0,\"daegu.kr\":!0,\"daejeon.kr\":!0,\"gangwon.kr\":!0,\"gwangju.kr\":!0,\"gyeongbuk.kr\":!0,\"gyeonggi.kr\":!0,\"gyeongnam.kr\":!0,\"incheon.kr\":!0,\"jeju.kr\":!0,\"jeonbuk.kr\":!0,\"jeonnam.kr\":!0,\"seoul.kr\":!0,\"ulsan.kr\":!0,\"*.kw\":!0,ky:!0,\"edu.ky\":!0,\"gov.ky\":!0,\"com.ky\":!0,\"org.ky\":!0,\"net.ky\":!0,kz:!0,\"org.kz\":!0,\"edu.kz\":!0,\"net.kz\":!0,\"gov.kz\":!0,\"mil.kz\":!0,\"com.kz\":!0,la:!0,\"int.la\":!0,\"net.la\":!0,\"info.la\":!0,\"edu.la\":!0,\"gov.la\":!0,\"per.la\":!0,\"com.la\":!0,\"org.la\":!0,lb:!0,\"com.lb\":!0,\"edu.lb\":!0,\"gov.lb\":!0,\"net.lb\":!0,\"org.lb\":!0,lc:!0,\"com.lc\":!0,\"net.lc\":!0,\"co.lc\":!0,\"org.lc\":!0,\"edu.lc\":!0,\"gov.lc\":!0,li:!0,lk:!0,\"gov.lk\":!0,\"sch.lk\":!0,\"net.lk\":!0,\"int.lk\":!0,\"com.lk\":!0,\"org.lk\":!0,\"edu.lk\":!0,\"ngo.lk\":!0,\"soc.lk\":!0,\"web.lk\":!0,\"ltd.lk\":!0,\"assn.lk\":!0,\"grp.lk\":!0,\"hotel.lk\":!0,\"ac.lk\":!0,lr:!0,\"com.lr\":!0,\"edu.lr\":!0,\"gov.lr\":!0,\"org.lr\":!0,\"net.lr\":!0,ls:!0,\"co.ls\":!0,\"org.ls\":!0,lt:!0,\"gov.lt\":!0,lu:!0,lv:!0,\"com.lv\":!0,\"edu.lv\":!0,\"gov.lv\":!0,\"org.lv\":!0,\"mil.lv\":!0,\"id.lv\":!0,\"net.lv\":!0,\"asn.lv\":!0,\"conf.lv\":!0,ly:!0,\"com.ly\":!0,\"net.ly\":!0,\"gov.ly\":!0,\"plc.ly\":!0,\"edu.ly\":!0,\"sch.ly\":!0,\"med.ly\":!0,\"org.ly\":!0,\"id.ly\":!0,ma:!0,\"co.ma\":!0,\"net.ma\":!0,\"gov.ma\":!0,\"org.ma\":!0,\"ac.ma\":!0,\"press.ma\":!0,mc:!0,\"tm.mc\":!0,\"asso.mc\":!0,md:!0,me:!0,\"co.me\":!0,\"net.me\":!0,\"org.me\":!0,\"edu.me\":!0,\"ac.me\":!0,\"gov.me\":!0,\"its.me\":!0,\"priv.me\":!0,mg:!0,\"org.mg\":!0,\"nom.mg\":!0,\"gov.mg\":!0,\"prd.mg\":!0,\"tm.mg\":!0,\"edu.mg\":!0,\"mil.mg\":!0,\"com.mg\":!0,\"co.mg\":!0,mh:!0,mil:!0,mk:!0,\"com.mk\":!0,\"org.mk\":!0,\"net.mk\":!0,\"edu.mk\":!0,\"gov.mk\":!0,\"inf.mk\":!0,\"name.mk\":!0,ml:!0,\"com.ml\":!0,\"edu.ml\":!0,\"gouv.ml\":!0,\"gov.ml\":!0,\"net.ml\":!0,\"org.ml\":!0,\"presse.ml\":!0,\"*.mm\":!0,mn:!0,\"gov.mn\":!0,\"edu.mn\":!0,\"org.mn\":!0,mo:!0,\"com.mo\":!0,\"net.mo\":!0,\"org.mo\":!0,\"edu.mo\":!0,\"gov.mo\":!0,mobi:!0,mp:!0,mq:!0,mr:!0,\"gov.mr\":!0,ms:!0,\"com.ms\":!0,\"edu.ms\":!0,\"gov.ms\":!0,\"net.ms\":!0,\"org.ms\":!0,mt:!0,\"com.mt\":!0,\"edu.mt\":!0,\"net.mt\":!0,\"org.mt\":!0,mu:!0,\"com.mu\":!0,\"net.mu\":!0,\"org.mu\":!0,\"gov.mu\":!0,\"ac.mu\":!0,\"co.mu\":!0,\"or.mu\":!0,museum:!0,\"academy.museum\":!0,\"agriculture.museum\":!0,\"air.museum\":!0,\"airguard.museum\":!0,\"alabama.museum\":!0,\"alaska.museum\":!0,\"amber.museum\":!0,\"ambulance.museum\":!0,\"american.museum\":!0,\"americana.museum\":!0,\"americanantiques.museum\":!0,\"americanart.museum\":!0,\"amsterdam.museum\":!0,\"and.museum\":!0,\"annefrank.museum\":!0,\"anthro.museum\":!0,\"anthropology.museum\":!0,\"antiques.museum\":!0,\"aquarium.museum\":!0,\"arboretum.museum\":!0,\"archaeological.museum\":!0,\"archaeology.museum\":!0,\"architecture.museum\":!0,\"art.museum\":!0,\"artanddesign.museum\":!0,\"artcenter.museum\":!0,\"artdeco.museum\":!0,\"arteducation.museum\":!0,\"artgallery.museum\":!0,\"arts.museum\":!0,\"artsandcrafts.museum\":!0,\"asmatart.museum\":!0,\"assassination.museum\":!0,\"assisi.museum\":!0,\"association.museum\":!0,\"astronomy.museum\":!0,\"atlanta.museum\":!0,\"austin.museum\":!0,\"australia.museum\":!0,\"automotive.museum\":!0,\"aviation.museum\":!0,\"axis.museum\":!0,\"badajoz.museum\":!0,\"baghdad.museum\":!0,\"bahn.museum\":!0,\"bale.museum\":!0,\"baltimore.museum\":!0,\"barcelona.museum\":!0,\"baseball.museum\":!0,\"basel.museum\":!0,\"baths.museum\":!0,\"bauern.museum\":!0,\"beauxarts.museum\":!0,\"beeldengeluid.museum\":!0,\"bellevue.museum\":!0,\"bergbau.museum\":!0,\"berkeley.museum\":!0,\"berlin.museum\":!0,\"bern.museum\":!0,\"bible.museum\":!0,\"bilbao.museum\":!0,\"bill.museum\":!0,\"birdart.museum\":!0,\"birthplace.museum\":!0,\"bonn.museum\":!0,\"boston.museum\":!0,\"botanical.museum\":!0,\"botanicalgarden.museum\":!0,\"botanicgarden.museum\":!0,\"botany.museum\":!0,\"brandywinevalley.museum\":!0,\"brasil.museum\":!0,\"bristol.museum\":!0,\"british.museum\":!0,\"britishcolumbia.museum\":!0,\"broadcast.museum\":!0,\"brunel.museum\":!0,\"brussel.museum\":!0,\"brussels.museum\":!0,\"bruxelles.museum\":!0,\"building.museum\":!0,\"burghof.museum\":!0,\"bus.museum\":!0,\"bushey.museum\":!0,\"cadaques.museum\":!0,\"california.museum\":!0,\"cambridge.museum\":!0,\"can.museum\":!0,\"canada.museum\":!0,\"capebreton.museum\":!0,\"carrier.museum\":!0,\"cartoonart.museum\":!0,\"casadelamoneda.museum\":!0,\"castle.museum\":!0,\"castres.museum\":!0,\"celtic.museum\":!0,\"center.museum\":!0,\"chattanooga.museum\":!0,\"cheltenham.museum\":!0,\"chesapeakebay.museum\":!0,\"chicago.museum\":!0,\"children.museum\":!0,\"childrens.museum\":!0,\"childrensgarden.museum\":!0,\"chiropractic.museum\":!0,\"chocolate.museum\":!0,\"christiansburg.museum\":!0,\"cincinnati.museum\":!0,\"cinema.museum\":!0,\"circus.museum\":!0,\"civilisation.museum\":!0,\"civilization.museum\":!0,\"civilwar.museum\":!0,\"clinton.museum\":!0,\"clock.museum\":!0,\"coal.museum\":!0,\"coastaldefence.museum\":!0,\"cody.museum\":!0,\"coldwar.museum\":!0,\"collection.museum\":!0,\"colonialwilliamsburg.museum\":!0,\"coloradoplateau.museum\":!0,\"columbia.museum\":!0,\"columbus.museum\":!0,\"communication.museum\":!0,\"communications.museum\":!0,\"community.museum\":!0,\"computer.museum\":!0,\"computerhistory.museum\":!0,\"xn--comunicaes-v6a2o.museum\":!0,\"contemporary.museum\":!0,\"contemporaryart.museum\":!0,\"convent.museum\":!0,\"copenhagen.museum\":!0,\"corporation.museum\":!0,\"xn--correios-e-telecomunicaes-ghc29a.museum\":!0,\"corvette.museum\":!0,\"costume.museum\":!0,\"countryestate.museum\":!0,\"county.museum\":!0,\"crafts.museum\":!0,\"cranbrook.museum\":!0,\"creation.museum\":!0,\"cultural.museum\":!0,\"culturalcenter.museum\":!0,\"culture.museum\":!0,\"cyber.museum\":!0,\"cymru.museum\":!0,\"dali.museum\":!0,\"dallas.museum\":!0,\"database.museum\":!0,\"ddr.museum\":!0,\"decorativearts.museum\":!0,\"delaware.museum\":!0,\"delmenhorst.museum\":!0,\"denmark.museum\":!0,\"depot.museum\":!0,\"design.museum\":!0,\"detroit.museum\":!0,\"dinosaur.museum\":!0,\"discovery.museum\":!0,\"dolls.museum\":!0,\"donostia.museum\":!0,\"durham.museum\":!0,\"eastafrica.museum\":!0,\"eastcoast.museum\":!0,\"education.museum\":!0,\"educational.museum\":!0,\"egyptian.museum\":!0,\"eisenbahn.museum\":!0,\"elburg.museum\":!0,\"elvendrell.museum\":!0,\"embroidery.museum\":!0,\"encyclopedic.museum\":!0,\"england.museum\":!0,\"entomology.museum\":!0,\"environment.museum\":!0,\"environmentalconservation.museum\":!0,\"epilepsy.museum\":!0,\"essex.museum\":!0,\"estate.museum\":!0,\"ethnology.museum\":!0,\"exeter.museum\":!0,\"exhibition.museum\":!0,\"family.museum\":!0,\"farm.museum\":!0,\"farmequipment.museum\":!0,\"farmers.museum\":!0,\"farmstead.museum\":!0,\"field.museum\":!0,\"figueres.museum\":!0,\"filatelia.museum\":!0,\"film.museum\":!0,\"fineart.museum\":!0,\"finearts.museum\":!0,\"finland.museum\":!0,\"flanders.museum\":!0,\"florida.museum\":!0,\"force.museum\":!0,\"fortmissoula.museum\":!0,\"fortworth.museum\":!0,\"foundation.museum\":!0,\"francaise.museum\":!0,\"frankfurt.museum\":!0,\"franziskaner.museum\":!0,\"freemasonry.museum\":!0,\"freiburg.museum\":!0,\"fribourg.museum\":!0,\"frog.museum\":!0,\"fundacio.museum\":!0,\"furniture.museum\":!0,\"gallery.museum\":!0,\"garden.museum\":!0,\"gateway.museum\":!0,\"geelvinck.museum\":!0,\"gemological.museum\":!0,\"geology.museum\":!0,\"georgia.museum\":!0,\"giessen.museum\":!0,\"glas.museum\":!0,\"glass.museum\":!0,\"gorge.museum\":!0,\"grandrapids.museum\":!0,\"graz.museum\":!0,\"guernsey.museum\":!0,\"halloffame.museum\":!0,\"hamburg.museum\":!0,\"handson.museum\":!0,\"harvestcelebration.museum\":!0,\"hawaii.museum\":!0,\"health.museum\":!0,\"heimatunduhren.museum\":!0,\"hellas.museum\":!0,\"helsinki.museum\":!0,\"hembygdsforbund.museum\":!0,\"heritage.museum\":!0,\"histoire.museum\":!0,\"historical.museum\":!0,\"historicalsociety.museum\":!0,\"historichouses.museum\":!0,\"historisch.museum\":!0,\"historisches.museum\":!0,\"history.museum\":!0,\"historyofscience.museum\":!0,\"horology.museum\":!0,\"house.museum\":!0,\"humanities.museum\":!0,\"illustration.museum\":!0,\"imageandsound.museum\":!0,\"indian.museum\":!0,\"indiana.museum\":!0,\"indianapolis.museum\":!0,\"indianmarket.museum\":!0,\"intelligence.museum\":!0,\"interactive.museum\":!0,\"iraq.museum\":!0,\"iron.museum\":!0,\"isleofman.museum\":!0,\"jamison.museum\":!0,\"jefferson.museum\":!0,\"jerusalem.museum\":!0,\"jewelry.museum\":!0,\"jewish.museum\":!0,\"jewishart.museum\":!0,\"jfk.museum\":!0,\"journalism.museum\":!0,\"judaica.museum\":!0,\"judygarland.museum\":!0,\"juedisches.museum\":!0,\"juif.museum\":!0,\"karate.museum\":!0,\"karikatur.museum\":!0,\"kids.museum\":!0,\"koebenhavn.museum\":!0,\"koeln.museum\":!0,\"kunst.museum\":!0,\"kunstsammlung.museum\":!0,\"kunstunddesign.museum\":!0,\"labor.museum\":!0,\"labour.museum\":!0,\"lajolla.museum\":!0,\"lancashire.museum\":!0,\"landes.museum\":!0,\"lans.museum\":!0,\"xn--lns-qla.museum\":!0,\"larsson.museum\":!0,\"lewismiller.museum\":!0,\"lincoln.museum\":!0,\"linz.museum\":!0,\"living.museum\":!0,\"livinghistory.museum\":!0,\"localhistory.museum\":!0,\"london.museum\":!0,\"losangeles.museum\":!0,\"louvre.museum\":!0,\"loyalist.museum\":!0,\"lucerne.museum\":!0,\"luxembourg.museum\":!0,\"luzern.museum\":!0,\"mad.museum\":!0,\"madrid.museum\":!0,\"mallorca.museum\":!0,\"manchester.museum\":!0,\"mansion.museum\":!0,\"mansions.museum\":!0,\"manx.museum\":!0,\"marburg.museum\":!0,\"maritime.museum\":!0,\"maritimo.museum\":!0,\"maryland.museum\":!0,\"marylhurst.museum\":!0,\"media.museum\":!0,\"medical.museum\":!0,\"medizinhistorisches.museum\":!0,\"meeres.museum\":!0,\"memorial.museum\":!0,\"mesaverde.museum\":!0,\"michigan.museum\":!0,\"midatlantic.museum\":!0,\"military.museum\":!0,\"mill.museum\":!0,\"miners.museum\":!0,\"mining.museum\":!0,\"minnesota.museum\":!0,\"missile.museum\":!0,\"missoula.museum\":!0,\"modern.museum\":!0,\"moma.museum\":!0,\"money.museum\":!0,\"monmouth.museum\":!0,\"monticello.museum\":!0,\"montreal.museum\":!0,\"moscow.museum\":!0,\"motorcycle.museum\":!0,\"muenchen.museum\":!0,\"muenster.museum\":!0,\"mulhouse.museum\":!0,\"muncie.museum\":!0,\"museet.museum\":!0,\"museumcenter.museum\":!0,\"museumvereniging.museum\":!0,\"music.museum\":!0,\"national.museum\":!0,\"nationalfirearms.museum\":!0,\"nationalheritage.museum\":!0,\"nativeamerican.museum\":!0,\"naturalhistory.museum\":!0,\"naturalhistorymuseum.museum\":!0,\"naturalsciences.museum\":!0,\"nature.museum\":!0,\"naturhistorisches.museum\":!0,\"natuurwetenschappen.museum\":!0,\"naumburg.museum\":!0,\"naval.museum\":!0,\"nebraska.museum\":!0,\"neues.museum\":!0,\"newhampshire.museum\":!0,\"newjersey.museum\":!0,\"newmexico.museum\":!0,\"newport.museum\":!0,\"newspaper.museum\":!0,\"newyork.museum\":!0,\"niepce.museum\":!0,\"norfolk.museum\":!0,\"north.museum\":!0,\"nrw.museum\":!0,\"nuernberg.museum\":!0,\"nuremberg.museum\":!0,\"nyc.museum\":!0,\"nyny.museum\":!0,\"oceanographic.museum\":!0,\"oceanographique.museum\":!0,\"omaha.museum\":!0,\"online.museum\":!0,\"ontario.museum\":!0,\"openair.museum\":!0,\"oregon.museum\":!0,\"oregontrail.museum\":!0,\"otago.museum\":!0,\"oxford.museum\":!0,\"pacific.museum\":!0,\"paderborn.museum\":!0,\"palace.museum\":!0,\"paleo.museum\":!0,\"palmsprings.museum\":!0,\"panama.museum\":!0,\"paris.museum\":!0,\"pasadena.museum\":!0,\"pharmacy.museum\":!0,\"philadelphia.museum\":!0,\"philadelphiaarea.museum\":!0,\"philately.museum\":!0,\"phoenix.museum\":!0,\"photography.museum\":!0,\"pilots.museum\":!0,\"pittsburgh.museum\":!0,\"planetarium.museum\":!0,\"plantation.museum\":!0,\"plants.museum\":!0,\"plaza.museum\":!0,\"portal.museum\":!0,\"portland.museum\":!0,\"portlligat.museum\":!0,\"posts-and-telecommunications.museum\":!0,\"preservation.museum\":!0,\"presidio.museum\":!0,\"press.museum\":!0,\"project.museum\":!0,\"public.museum\":!0,\"pubol.museum\":!0,\"quebec.museum\":!0,\"railroad.museum\":!0,\"railway.museum\":!0,\"research.museum\":!0,\"resistance.museum\":!0,\"riodejaneiro.museum\":!0,\"rochester.museum\":!0,\"rockart.museum\":!0,\"roma.museum\":!0,\"russia.museum\":!0,\"saintlouis.museum\":!0,\"salem.museum\":!0,\"salvadordali.museum\":!0,\"salzburg.museum\":!0,\"sandiego.museum\":!0,\"sanfrancisco.museum\":!0,\"santabarbara.museum\":!0,\"santacruz.museum\":!0,\"santafe.museum\":!0,\"saskatchewan.museum\":!0,\"satx.museum\":!0,\"savannahga.museum\":!0,\"schlesisches.museum\":!0,\"schoenbrunn.museum\":!0,\"schokoladen.museum\":!0,\"school.museum\":!0,\"schweiz.museum\":!0,\"science.museum\":!0,\"scienceandhistory.museum\":!0,\"scienceandindustry.museum\":!0,\"sciencecenter.museum\":!0,\"sciencecenters.museum\":!0,\"science-fiction.museum\":!0,\"sciencehistory.museum\":!0,\"sciences.museum\":!0,\"sciencesnaturelles.museum\":!0,\"scotland.museum\":!0,\"seaport.museum\":!0,\"settlement.museum\":!0,\"settlers.museum\":!0,\"shell.museum\":!0,\"sherbrooke.museum\":!0,\"sibenik.museum\":!0,\"silk.museum\":!0,\n\"ski.museum\":!0,\"skole.museum\":!0,\"society.museum\":!0,\"sologne.museum\":!0,\"soundandvision.museum\":!0,\"southcarolina.museum\":!0,\"southwest.museum\":!0,\"space.museum\":!0,\"spy.museum\":!0,\"square.museum\":!0,\"stadt.museum\":!0,\"stalbans.museum\":!0,\"starnberg.museum\":!0,\"state.museum\":!0,\"stateofdelaware.museum\":!0,\"station.museum\":!0,\"steam.museum\":!0,\"steiermark.museum\":!0,\"stjohn.museum\":!0,\"stockholm.museum\":!0,\"stpetersburg.museum\":!0,\"stuttgart.museum\":!0,\"suisse.museum\":!0,\"surgeonshall.museum\":!0,\"surrey.museum\":!0,\"svizzera.museum\":!0,\"sweden.museum\":!0,\"sydney.museum\":!0,\"tank.museum\":!0,\"tcm.museum\":!0,\"technology.museum\":!0,\"telekommunikation.museum\":!0,\"television.museum\":!0,\"texas.museum\":!0,\"textile.museum\":!0,\"theater.museum\":!0,\"time.museum\":!0,\"timekeeping.museum\":!0,\"topology.museum\":!0,\"torino.museum\":!0,\"touch.museum\":!0,\"town.museum\":!0,\"transport.museum\":!0,\"tree.museum\":!0,\"trolley.museum\":!0,\"trust.museum\":!0,\"trustee.museum\":!0,\"uhren.museum\":!0,\"ulm.museum\":!0,\"undersea.museum\":!0,\"university.museum\":!0,\"usa.museum\":!0,\"usantiques.museum\":!0,\"usarts.museum\":!0,\"uscountryestate.museum\":!0,\"usculture.museum\":!0,\"usdecorativearts.museum\":!0,\"usgarden.museum\":!0,\"ushistory.museum\":!0,\"ushuaia.museum\":!0,\"uslivinghistory.museum\":!0,\"utah.museum\":!0,\"uvic.museum\":!0,\"valley.museum\":!0,\"vantaa.museum\":!0,\"versailles.museum\":!0,\"viking.museum\":!0,\"village.museum\":!0,\"virginia.museum\":!0,\"virtual.museum\":!0,\"virtuel.museum\":!0,\"vlaanderen.museum\":!0,\"volkenkunde.museum\":!0,\"wales.museum\":!0,\"wallonie.museum\":!0,\"war.museum\":!0,\"washingtondc.museum\":!0,\"watchandclock.museum\":!0,\"watch-and-clock.museum\":!0,\"western.museum\":!0,\"westfalen.museum\":!0,\"whaling.museum\":!0,\"wildlife.museum\":!0,\"williamsburg.museum\":!0,\"windmill.museum\":!0,\"workshop.museum\":!0,\"york.museum\":!0,\"yorkshire.museum\":!0,\"yosemite.museum\":!0,\"youth.museum\":!0,\"zoological.museum\":!0,\"zoology.museum\":!0,\"xn--9dbhblg6di.museum\":!0,\"xn--h1aegh.museum\":!0,mv:!0,\"aero.mv\":!0,\"biz.mv\":!0,\"com.mv\":!0,\"coop.mv\":!0,\"edu.mv\":!0,\"gov.mv\":!0,\"info.mv\":!0,\"int.mv\":!0,\"mil.mv\":!0,\"museum.mv\":!0,\"name.mv\":!0,\"net.mv\":!0,\"org.mv\":!0,\"pro.mv\":!0,mw:!0,\"ac.mw\":!0,\"biz.mw\":!0,\"co.mw\":!0,\"com.mw\":!0,\"coop.mw\":!0,\"edu.mw\":!0,\"gov.mw\":!0,\"int.mw\":!0,\"museum.mw\":!0,\"net.mw\":!0,\"org.mw\":!0,mx:!0,\"com.mx\":!0,\"org.mx\":!0,\"gob.mx\":!0,\"edu.mx\":!0,\"net.mx\":!0,my:!0,\"com.my\":!0,\"net.my\":!0,\"org.my\":!0,\"gov.my\":!0,\"edu.my\":!0,\"mil.my\":!0,\"name.my\":!0,\"*.mz\":!0,\"teledata.mz\":!1,na:!0,\"info.na\":!0,\"pro.na\":!0,\"name.na\":!0,\"school.na\":!0,\"or.na\":!0,\"dr.na\":!0,\"us.na\":!0,\"mx.na\":!0,\"ca.na\":!0,\"in.na\":!0,\"cc.na\":!0,\"tv.na\":!0,\"ws.na\":!0,\"mobi.na\":!0,\"co.na\":!0,\"com.na\":!0,\"org.na\":!0,name:!0,nc:!0,\"asso.nc\":!0,ne:!0,net:!0,nf:!0,\"com.nf\":!0,\"net.nf\":!0,\"per.nf\":!0,\"rec.nf\":!0,\"web.nf\":!0,\"arts.nf\":!0,\"firm.nf\":!0,\"info.nf\":!0,\"other.nf\":!0,\"store.nf\":!0,ng:!0,\"com.ng\":!0,\"edu.ng\":!0,\"name.ng\":!0,\"net.ng\":!0,\"org.ng\":!0,\"sch.ng\":!0,\"gov.ng\":!0,\"mil.ng\":!0,\"mobi.ng\":!0,\"*.ni\":!0,nl:!0,\"bv.nl\":!0,no:!0,\"fhs.no\":!0,\"vgs.no\":!0,\"fylkesbibl.no\":!0,\"folkebibl.no\":!0,\"museum.no\":!0,\"idrett.no\":!0,\"priv.no\":!0,\"mil.no\":!0,\"stat.no\":!0,\"dep.no\":!0,\"kommune.no\":!0,\"herad.no\":!0,\"aa.no\":!0,\"ah.no\":!0,\"bu.no\":!0,\"fm.no\":!0,\"hl.no\":!0,\"hm.no\":!0,\"jan-mayen.no\":!0,\"mr.no\":!0,\"nl.no\":!0,\"nt.no\":!0,\"of.no\":!0,\"ol.no\":!0,\"oslo.no\":!0,\"rl.no\":!0,\"sf.no\":!0,\"st.no\":!0,\"svalbard.no\":!0,\"tm.no\":!0,\"tr.no\":!0,\"va.no\":!0,\"vf.no\":!0,\"gs.aa.no\":!0,\"gs.ah.no\":!0,\"gs.bu.no\":!0,\"gs.fm.no\":!0,\"gs.hl.no\":!0,\"gs.hm.no\":!0,\"gs.jan-mayen.no\":!0,\"gs.mr.no\":!0,\"gs.nl.no\":!0,\"gs.nt.no\":!0,\"gs.of.no\":!0,\"gs.ol.no\":!0,\"gs.oslo.no\":!0,\"gs.rl.no\":!0,\"gs.sf.no\":!0,\"gs.st.no\":!0,\"gs.svalbard.no\":!0,\"gs.tm.no\":!0,\"gs.tr.no\":!0,\"gs.va.no\":!0,\"gs.vf.no\":!0,\"akrehamn.no\":!0,\"xn--krehamn-dxa.no\":!0,\"algard.no\":!0,\"xn--lgrd-poac.no\":!0,\"arna.no\":!0,\"brumunddal.no\":!0,\"bryne.no\":!0,\"bronnoysund.no\":!0,\"xn--brnnysund-m8ac.no\":!0,\"drobak.no\":!0,\"xn--drbak-wua.no\":!0,\"egersund.no\":!0,\"fetsund.no\":!0,\"floro.no\":!0,\"xn--flor-jra.no\":!0,\"fredrikstad.no\":!0,\"hokksund.no\":!0,\"honefoss.no\":!0,\"xn--hnefoss-q1a.no\":!0,\"jessheim.no\":!0,\"jorpeland.no\":!0,\"xn--jrpeland-54a.no\":!0,\"kirkenes.no\":!0,\"kopervik.no\":!0,\"krokstadelva.no\":!0,\"langevag.no\":!0,\"xn--langevg-jxa.no\":!0,\"leirvik.no\":!0,\"mjondalen.no\":!0,\"xn--mjndalen-64a.no\":!0,\"mo-i-rana.no\":!0,\"mosjoen.no\":!0,\"xn--mosjen-eya.no\":!0,\"nesoddtangen.no\":!0,\"orkanger.no\":!0,\"osoyro.no\":!0,\"xn--osyro-wua.no\":!0,\"raholt.no\":!0,\"xn--rholt-mra.no\":!0,\"sandnessjoen.no\":!0,\"xn--sandnessjen-ogb.no\":!0,\"skedsmokorset.no\":!0,\"slattum.no\":!0,\"spjelkavik.no\":!0,\"stathelle.no\":!0,\"stavern.no\":!0,\"stjordalshalsen.no\":!0,\"xn--stjrdalshalsen-sqb.no\":!0,\"tananger.no\":!0,\"tranby.no\":!0,\"vossevangen.no\":!0,\"afjord.no\":!0,\"xn--fjord-lra.no\":!0,\"agdenes.no\":!0,\"al.no\":!0,\"xn--l-1fa.no\":!0,\"alesund.no\":!0,\"xn--lesund-hua.no\":!0,\"alstahaug.no\":!0,\"alta.no\":!0,\"xn--lt-liac.no\":!0,\"alaheadju.no\":!0,\"xn--laheadju-7ya.no\":!0,\"alvdal.no\":!0,\"amli.no\":!0,\"xn--mli-tla.no\":!0,\"amot.no\":!0,\"xn--mot-tla.no\":!0,\"andebu.no\":!0,\"andoy.no\":!0,\"xn--andy-ira.no\":!0,\"andasuolo.no\":!0,\"ardal.no\":!0,\"xn--rdal-poa.no\":!0,\"aremark.no\":!0,\"arendal.no\":!0,\"xn--s-1fa.no\":!0,\"aseral.no\":!0,\"xn--seral-lra.no\":!0,\"asker.no\":!0,\"askim.no\":!0,\"askvoll.no\":!0,\"askoy.no\":!0,\"xn--asky-ira.no\":!0,\"asnes.no\":!0,\"xn--snes-poa.no\":!0,\"audnedaln.no\":!0,\"aukra.no\":!0,\"aure.no\":!0,\"aurland.no\":!0,\"aurskog-holand.no\":!0,\"xn--aurskog-hland-jnb.no\":!0,\"austevoll.no\":!0,\"austrheim.no\":!0,\"averoy.no\":!0,\"xn--avery-yua.no\":!0,\"balestrand.no\":!0,\"ballangen.no\":!0,\"balat.no\":!0,\"xn--blt-elab.no\":!0,\"balsfjord.no\":!0,\"bahccavuotna.no\":!0,\"xn--bhccavuotna-k7a.no\":!0,\"bamble.no\":!0,\"bardu.no\":!0,\"beardu.no\":!0,\"beiarn.no\":!0,\"bajddar.no\":!0,\"xn--bjddar-pta.no\":!0,\"baidar.no\":!0,\"xn--bidr-5nac.no\":!0,\"berg.no\":!0,\"bergen.no\":!0,\"berlevag.no\":!0,\"xn--berlevg-jxa.no\":!0,\"bearalvahki.no\":!0,\"xn--bearalvhki-y4a.no\":!0,\"bindal.no\":!0,\"birkenes.no\":!0,\"bjarkoy.no\":!0,\"xn--bjarky-fya.no\":!0,\"bjerkreim.no\":!0,\"bjugn.no\":!0,\"bodo.no\":!0,\"xn--bod-2na.no\":!0,\"badaddja.no\":!0,\"xn--bdddj-mrabd.no\":!0,\"budejju.no\":!0,\"bokn.no\":!0,\"bremanger.no\":!0,\"bronnoy.no\":!0,\"xn--brnny-wuac.no\":!0,\"bygland.no\":!0,\"bykle.no\":!0,\"barum.no\":!0,\"xn--brum-voa.no\":!0,\"bo.telemark.no\":!0,\"xn--b-5ga.telemark.no\":!0,\"bo.nordland.no\":!0,\"xn--b-5ga.nordland.no\":!0,\"bievat.no\":!0,\"xn--bievt-0qa.no\":!0,\"bomlo.no\":!0,\"xn--bmlo-gra.no\":!0,\"batsfjord.no\":!0,\"xn--btsfjord-9za.no\":!0,\"bahcavuotna.no\":!0,\"xn--bhcavuotna-s4a.no\":!0,\"dovre.no\":!0,\"drammen.no\":!0,\"drangedal.no\":!0,\"dyroy.no\":!0,\"xn--dyry-ira.no\":!0,\"donna.no\":!0,\"xn--dnna-gra.no\":!0,\"eid.no\":!0,\"eidfjord.no\":!0,\"eidsberg.no\":!0,\"eidskog.no\":!0,\"eidsvoll.no\":!0,\"eigersund.no\":!0,\"elverum.no\":!0,\"enebakk.no\":!0,\"engerdal.no\":!0,\"etne.no\":!0,\"etnedal.no\":!0,\"evenes.no\":!0,\"evenassi.no\":!0,\"xn--eveni-0qa01ga.no\":!0,\"evje-og-hornnes.no\":!0,\"farsund.no\":!0,\"fauske.no\":!0,\"fuossko.no\":!0,\"fuoisku.no\":!0,\"fedje.no\":!0,\"fet.no\":!0,\"finnoy.no\":!0,\"xn--finny-yua.no\":!0,\"fitjar.no\":!0,\"fjaler.no\":!0,\"fjell.no\":!0,\"flakstad.no\":!0,\"flatanger.no\":!0,\"flekkefjord.no\":!0,\"flesberg.no\":!0,\"flora.no\":!0,\"fla.no\":!0,\"xn--fl-zia.no\":!0,\"folldal.no\":!0,\"forsand.no\":!0,\"fosnes.no\":!0,\"frei.no\":!0,\"frogn.no\":!0,\"froland.no\":!0,\"frosta.no\":!0,\"frana.no\":!0,\"xn--frna-woa.no\":!0,\"froya.no\":!0,\"xn--frya-hra.no\":!0,\"fusa.no\":!0,\"fyresdal.no\":!0,\"forde.no\":!0,\"xn--frde-gra.no\":!0,\"gamvik.no\":!0,\"gangaviika.no\":!0,\"xn--ggaviika-8ya47h.no\":!0,\"gaular.no\":!0,\"gausdal.no\":!0,\"gildeskal.no\":!0,\"xn--gildeskl-g0a.no\":!0,\"giske.no\":!0,\"gjemnes.no\":!0,\"gjerdrum.no\":!0,\"gjerstad.no\":!0,\"gjesdal.no\":!0,\"gjovik.no\":!0,\"xn--gjvik-wua.no\":!0,\"gloppen.no\":!0,\"gol.no\":!0,\"gran.no\":!0,\"grane.no\":!0,\"granvin.no\":!0,\"gratangen.no\":!0,\"grimstad.no\":!0,\"grong.no\":!0,\"kraanghke.no\":!0,\"xn--kranghke-b0a.no\":!0,\"grue.no\":!0,\"gulen.no\":!0,\"hadsel.no\":!0,\"halden.no\":!0,\"halsa.no\":!0,\"hamar.no\":!0,\"hamaroy.no\":!0,\"habmer.no\":!0,\"xn--hbmer-xqa.no\":!0,\"hapmir.no\":!0,\"xn--hpmir-xqa.no\":!0,\"hammerfest.no\":!0,\"hammarfeasta.no\":!0,\"xn--hmmrfeasta-s4ac.no\":!0,\"haram.no\":!0,\"hareid.no\":!0,\"harstad.no\":!0,\"hasvik.no\":!0,\"aknoluokta.no\":!0,\"xn--koluokta-7ya57h.no\":!0,\"hattfjelldal.no\":!0,\"aarborte.no\":!0,\"haugesund.no\":!0,\"hemne.no\":!0,\"hemnes.no\":!0,\"hemsedal.no\":!0,\"heroy.more-og-romsdal.no\":!0,\"xn--hery-ira.xn--mre-og-romsdal-qqb.no\":!0,\"heroy.nordland.no\":!0,\"xn--hery-ira.nordland.no\":!0,\"hitra.no\":!0,\"hjartdal.no\":!0,\"hjelmeland.no\":!0,\"hobol.no\":!0,\"xn--hobl-ira.no\":!0,\"hof.no\":!0,\"hol.no\":!0,\"hole.no\":!0,\"holmestrand.no\":!0,\"holtalen.no\":!0,\"xn--holtlen-hxa.no\":!0,\"hornindal.no\":!0,\"horten.no\":!0,\"hurdal.no\":!0,\"hurum.no\":!0,\"hvaler.no\":!0,\"hyllestad.no\":!0,\"hagebostad.no\":!0,\"xn--hgebostad-g3a.no\":!0,\"hoyanger.no\":!0,\"xn--hyanger-q1a.no\":!0,\"hoylandet.no\":!0,\"xn--hylandet-54a.no\":!0,\"ha.no\":!0,\"xn--h-2fa.no\":!0,\"ibestad.no\":!0,\"inderoy.no\":!0,\"xn--indery-fya.no\":!0,\"iveland.no\":!0,\"jevnaker.no\":!0,\"jondal.no\":!0,\"jolster.no\":!0,\"xn--jlster-bya.no\":!0,\"karasjok.no\":!0,\"karasjohka.no\":!0,\"xn--krjohka-hwab49j.no\":!0,\"karlsoy.no\":!0,\"galsa.no\":!0,\"xn--gls-elac.no\":!0,\"karmoy.no\":!0,\"xn--karmy-yua.no\":!0,\"kautokeino.no\":!0,\"guovdageaidnu.no\":!0,\"klepp.no\":!0,\"klabu.no\":!0,\"xn--klbu-woa.no\":!0,\"kongsberg.no\":!0,\"kongsvinger.no\":!0,\"kragero.no\":!0,\"xn--krager-gya.no\":!0,\"kristiansand.no\":!0,\"kristiansund.no\":!0,\"krodsherad.no\":!0,\"xn--krdsherad-m8a.no\":!0,\"kvalsund.no\":!0,\"rahkkeravju.no\":!0,\"xn--rhkkervju-01af.no\":!0,\"kvam.no\":!0,\"kvinesdal.no\":!0,\"kvinnherad.no\":!0,\"kviteseid.no\":!0,\"kvitsoy.no\":!0,\"xn--kvitsy-fya.no\":!0,\"kvafjord.no\":!0,\"xn--kvfjord-nxa.no\":!0,\"giehtavuoatna.no\":!0,\"kvanangen.no\":!0,\"xn--kvnangen-k0a.no\":!0,\"navuotna.no\":!0,\"xn--nvuotna-hwa.no\":!0,\"kafjord.no\":!0,\"xn--kfjord-iua.no\":!0,\"gaivuotna.no\":!0,\"xn--givuotna-8ya.no\":!0,\"larvik.no\":!0,\"lavangen.no\":!0,\"lavagis.no\":!0,\"loabat.no\":!0,\"xn--loabt-0qa.no\":!0,\"lebesby.no\":!0,\"davvesiida.no\":!0,\"leikanger.no\":!0,\"leirfjord.no\":!0,\"leka.no\":!0,\"leksvik.no\":!0,\"lenvik.no\":!0,\"leangaviika.no\":!0,\"xn--leagaviika-52b.no\":!0,\"lesja.no\":!0,\"levanger.no\":!0,\"lier.no\":!0,\"lierne.no\":!0,\"lillehammer.no\":!0,\"lillesand.no\":!0,\"lindesnes.no\":!0,\"lindas.no\":!0,\"xn--linds-pra.no\":!0,\"lom.no\":!0,\"loppa.no\":!0,\"lahppi.no\":!0,\"xn--lhppi-xqa.no\":!0,\"lund.no\":!0,\"lunner.no\":!0,\"luroy.no\":!0,\"xn--lury-ira.no\":!0,\"luster.no\":!0,\"lyngdal.no\":!0,\"lyngen.no\":!0,\"ivgu.no\":!0,\"lardal.no\":!0,\"lerdal.no\":!0,\"xn--lrdal-sra.no\":!0,\"lodingen.no\":!0,\"xn--ldingen-q1a.no\":!0,\"lorenskog.no\":!0,\"xn--lrenskog-54a.no\":!0,\"loten.no\":!0,\"xn--lten-gra.no\":!0,\"malvik.no\":!0,\"masoy.no\":!0,\"xn--msy-ula0h.no\":!0,\"muosat.no\":!0,\"xn--muost-0qa.no\":!0,\"mandal.no\":!0,\"marker.no\":!0,\"marnardal.no\":!0,\"masfjorden.no\":!0,\"meland.no\":!0,\"meldal.no\":!0,\"melhus.no\":!0,\"meloy.no\":!0,\"xn--mely-ira.no\":!0,\"meraker.no\":!0,\"xn--merker-kua.no\":!0,\"moareke.no\":!0,\"xn--moreke-jua.no\":!0,\"midsund.no\":!0,\"midtre-gauldal.no\":!0,\"modalen.no\":!0,\"modum.no\":!0,\"molde.no\":!0,\"moskenes.no\":!0,\"moss.no\":!0,\"mosvik.no\":!0,\"malselv.no\":!0,\"xn--mlselv-iua.no\":!0,\"malatvuopmi.no\":!0,\"xn--mlatvuopmi-s4a.no\":!0,\"namdalseid.no\":!0,\"aejrie.no\":!0,\"namsos.no\":!0,\"namsskogan.no\":!0,\"naamesjevuemie.no\":!0,\"xn--nmesjevuemie-tcba.no\":!0,\"laakesvuemie.no\":!0,\"nannestad.no\":!0,\"narvik.no\":!0,\"narviika.no\":!0,\"naustdal.no\":!0,\"nedre-eiker.no\":!0,\"nes.akershus.no\":!0,\"nes.buskerud.no\":!0,\"nesna.no\":!0,\"nesodden.no\":!0,\"nesseby.no\":!0,\"unjarga.no\":!0,\"xn--unjrga-rta.no\":!0,\"nesset.no\":!0,\"nissedal.no\":!0,\"nittedal.no\":!0,\"nord-aurdal.no\":!0,\"nord-fron.no\":!0,\"nord-odal.no\":!0,\"norddal.no\":!0,\"nordkapp.no\":!0,\"davvenjarga.no\":!0,\"xn--davvenjrga-y4a.no\":!0,\"nordre-land.no\":!0,\"nordreisa.no\":!0,\"raisa.no\":!0,\"xn--risa-5na.no\":!0,\"nore-og-uvdal.no\":!0,\"notodden.no\":!0,\"naroy.no\":!0,\"xn--nry-yla5g.no\":!0,\"notteroy.no\":!0,\"xn--nttery-byae.no\":!0,\"odda.no\":!0,\"oksnes.no\":!0,\"xn--ksnes-uua.no\":!0,\"oppdal.no\":!0,\"oppegard.no\":!0,\"xn--oppegrd-ixa.no\":!0,\"orkdal.no\":!0,\"orland.no\":!0,\"xn--rland-uua.no\":!0,\"orskog.no\":!0,\"xn--rskog-uua.no\":!0,\"orsta.no\":!0,\"xn--rsta-fra.no\":!0,\"os.hedmark.no\":!0,\"os.hordaland.no\":!0,\"osen.no\":!0,\"osteroy.no\":!0,\"xn--ostery-fya.no\":!0,\"ostre-toten.no\":!0,\"xn--stre-toten-zcb.no\":!0,\"overhalla.no\":!0,\"ovre-eiker.no\":!0,\"xn--vre-eiker-k8a.no\":!0,\"oyer.no\":!0,\"xn--yer-zna.no\":!0,\"oygarden.no\":!0,\"xn--ygarden-p1a.no\":!0,\"oystre-slidre.no\":!0,\"xn--ystre-slidre-ujb.no\":!0,\"porsanger.no\":!0,\"porsangu.no\":!0,\"xn--porsgu-sta26f.no\":!0,\"porsgrunn.no\":!0,\"radoy.no\":!0,\"xn--rady-ira.no\":!0,\"rakkestad.no\":!0,\"rana.no\":!0,\"ruovat.no\":!0,\"randaberg.no\":!0,\"rauma.no\":!0,\"rendalen.no\":!0,\"rennebu.no\":!0,\"rennesoy.no\":!0,\"xn--rennesy-v1a.no\":!0,\"rindal.no\":!0,\"ringebu.no\":!0,\"ringerike.no\":!0,\"ringsaker.no\":!0,\"rissa.no\":!0,\"risor.no\":!0,\"xn--risr-ira.no\":!0,\"roan.no\":!0,\"rollag.no\":!0,\"rygge.no\":!0,\"ralingen.no\":!0,\"xn--rlingen-mxa.no\":!0,\"rodoy.no\":!0,\"xn--rdy-0nab.no\":!0,\"romskog.no\":!0,\"xn--rmskog-bya.no\":!0,\"roros.no\":!0,\"xn--rros-gra.no\":!0,\"rost.no\":!0,\"xn--rst-0na.no\":!0,\"royken.no\":!0,\"xn--ryken-vua.no\":!0,\"royrvik.no\":!0,\"xn--ryrvik-bya.no\":!0,\"rade.no\":!0,\"xn--rde-ula.no\":!0,\"salangen.no\":!0,\"siellak.no\":!0,\"saltdal.no\":!0,\"salat.no\":!0,\"xn--slt-elab.no\":!0,\"xn--slat-5na.no\":!0,\"samnanger.no\":!0,\"sande.more-og-romsdal.no\":!0,\"sande.xn--mre-og-romsdal-qqb.no\":!0,\"sande.vestfold.no\":!0,\"sandefjord.no\":!0,\"sandnes.no\":!0,\"sandoy.no\":!0,\"xn--sandy-yua.no\":!0,\"sarpsborg.no\":!0,\"sauda.no\":!0,\"sauherad.no\":!0,\"sel.no\":!0,\"selbu.no\":!0,\"selje.no\":!0,\"seljord.no\":!0,\"sigdal.no\":!0,\"siljan.no\":!0,\"sirdal.no\":!0,\"skaun.no\":!0,\"skedsmo.no\":!0,\"ski.no\":!0,\"skien.no\":!0,\"skiptvet.no\":!0,\"skjervoy.no\":!0,\"xn--skjervy-v1a.no\":!0,\"skierva.no\":!0,\"xn--skierv-uta.no\":!0,\"skjak.no\":!0,\"xn--skjk-soa.no\":!0,\"skodje.no\":!0,\"skanland.no\":!0,\"xn--sknland-fxa.no\":!0,\"skanit.no\":!0,\"xn--sknit-yqa.no\":!0,\"smola.no\":!0,\"xn--smla-hra.no\":!0,\"snillfjord.no\":!0,\"snasa.no\":!0,\"xn--snsa-roa.no\":!0,\"snoasa.no\":!0,\"snaase.no\":!0,\"xn--snase-nra.no\":!0,\"sogndal.no\":!0,\"sokndal.no\":!0,\"sola.no\":!0,\"solund.no\":!0,\"songdalen.no\":!0,\"sortland.no\":!0,\"spydeberg.no\":!0,\"stange.no\":!0,\"stavanger.no\":!0,\"steigen.no\":!0,\"steinkjer.no\":!0,\"stjordal.no\":!0,\"xn--stjrdal-s1a.no\":!0,\"stokke.no\":!0,\"stor-elvdal.no\":!0,\"stord.no\":!0,\"stordal.no\":!0,\"storfjord.no\":!0,\"omasvuotna.no\":!0,\"strand.no\":!0,\"stranda.no\":!0,\"stryn.no\":!0,\"sula.no\":!0,\"suldal.no\":!0,\"sund.no\":!0,\"sunndal.no\":!0,\"surnadal.no\":!0,\"sveio.no\":!0,\"svelvik.no\":!0,\"sykkylven.no\":!0,\"sogne.no\":!0,\"xn--sgne-gra.no\":!0,\"somna.no\":!0,\"xn--smna-gra.no\":!0,\"sondre-land.no\":!0,\"xn--sndre-land-0cb.no\":!0,\"sor-aurdal.no\":!0,\"xn--sr-aurdal-l8a.no\":!0,\"sor-fron.no\":!0,\"xn--sr-fron-q1a.no\":!0,\"sor-odal.no\":!0,\"xn--sr-odal-q1a.no\":!0,\"sor-varanger.no\":!0,\"xn--sr-varanger-ggb.no\":!0,\"matta-varjjat.no\":!0,\"xn--mtta-vrjjat-k7af.no\":!0,\"sorfold.no\":!0,\"xn--srfold-bya.no\":!0,\"sorreisa.no\":!0,\"xn--srreisa-q1a.no\":!0,\"sorum.no\":!0,\"xn--srum-gra.no\":!0,\"tana.no\":!0,\"deatnu.no\":!0,\"time.no\":!0,\"tingvoll.no\":!0,\"tinn.no\":!0,\"tjeldsund.no\":!0,\"dielddanuorri.no\":!0,\"tjome.no\":!0,\"xn--tjme-hra.no\":!0,\"tokke.no\":!0,\"tolga.no\":!0,\"torsken.no\":!0,\"tranoy.no\":!0,\"xn--trany-yua.no\":!0,\"tromso.no\":!0,\"xn--troms-zua.no\":!0,\"tromsa.no\":!0,\"romsa.no\":!0,\"trondheim.no\":!0,\"troandin.no\":!0,\"trysil.no\":!0,\"trana.no\":!0,\"xn--trna-woa.no\":!0,\"trogstad.no\":!0,\"xn--trgstad-r1a.no\":!0,\"tvedestrand.no\":!0,\"tydal.no\":!0,\"tynset.no\":!0,\"tysfjord.no\":!0,\"divtasvuodna.no\":!0,\"divttasvuotna.no\":!0,\"tysnes.no\":!0,\"tysvar.no\":!0,\"xn--tysvr-vra.no\":!0,\"tonsberg.no\":!0,\"xn--tnsberg-q1a.no\":!0,\"ullensaker.no\":!0,\"ullensvang.no\":!0,\"ulvik.no\":!0,\"utsira.no\":!0,\"vadso.no\":!0,\"xn--vads-jra.no\":!0,\"cahcesuolo.no\":!0,\"xn--hcesuolo-7ya35b.no\":!0,\"vaksdal.no\":!0,\"valle.no\":!0,\"vang.no\":!0,\"vanylven.no\":!0,\"vardo.no\":!0,\"xn--vard-jra.no\":!0,\"varggat.no\":!0,\"xn--vrggt-xqad.no\":!0,\"vefsn.no\":!0,\"vaapste.no\":!0,\"vega.no\":!0,\"vegarshei.no\":!0,\"xn--vegrshei-c0a.no\":!0,\"vennesla.no\":!0,\"verdal.no\":!0,\"verran.no\":!0,\"vestby.no\":!0,\"vestnes.no\":!0,\"vestre-slidre.no\":!0,\"vestre-toten.no\":!0,\"vestvagoy.no\":!0,\"xn--vestvgy-ixa6o.no\":!0,\"vevelstad.no\":!0,\"vik.no\":!0,\"vikna.no\":!0,\"vindafjord.no\":!0,\"volda.no\":!0,\"voss.no\":!0,\"varoy.no\":!0,\"xn--vry-yla5g.no\":!0,\"vagan.no\":!0,\"xn--vgan-qoa.no\":!0,\"voagat.no\":!0,\"vagsoy.no\":!0,\"xn--vgsy-qoa0j.no\":!0,\"vaga.no\":!0,\"xn--vg-yiab.no\":!0,\"valer.ostfold.no\":!0,\"xn--vler-qoa.xn--stfold-9xa.no\":!0,\"valer.hedmark.no\":!0,\"xn--vler-qoa.hedmark.no\":!0,\"*.np\":!0,nr:!0,\"biz.nr\":!0,\"info.nr\":!0,\"gov.nr\":!0,\"edu.nr\":!0,\"org.nr\":!0,\"net.nr\":!0,\"com.nr\":!0,nu:!0,nz:!0,\"ac.nz\":!0,\"co.nz\":!0,\"cri.nz\":!0,\"geek.nz\":!0,\"gen.nz\":!0,\"govt.nz\":!0,\"health.nz\":!0,\"iwi.nz\":!0,\"kiwi.nz\":!0,\"maori.nz\":!0,\"mil.nz\":!0,\"xn--mori-qsa.nz\":!0,\"net.nz\":!0,\"org.nz\":!0,\"parliament.nz\":!0,\"school.nz\":!0,om:!0,\"co.om\":!0,\"com.om\":!0,\"edu.om\":!0,\"gov.om\":!0,\"med.om\":!0,\"museum.om\":!0,\"net.om\":!0,\"org.om\":!0,\"pro.om\":!0,org:!0,pa:!0,\"ac.pa\":!0,\"gob.pa\":!0,\"com.pa\":!0,\"org.pa\":!0,\"sld.pa\":!0,\"edu.pa\":!0,\"net.pa\":!0,\"ing.pa\":!0,\"abo.pa\":!0,\"med.pa\":!0,\"nom.pa\":!0,pe:!0,\"edu.pe\":!0,\"gob.pe\":!0,\"nom.pe\":!0,\"mil.pe\":!0,\"org.pe\":!0,\"com.pe\":!0,\"net.pe\":!0,pf:!0,\"com.pf\":!0,\"org.pf\":!0,\"edu.pf\":!0,\"*.pg\":!0,ph:!0,\"com.ph\":!0,\"net.ph\":!0,\"org.ph\":!0,\"gov.ph\":!0,\"edu.ph\":!0,\"ngo.ph\":!0,\"mil.ph\":!0,\"i.ph\":!0,pk:!0,\"com.pk\":!0,\"net.pk\":!0,\"edu.pk\":!0,\"org.pk\":!0,\"fam.pk\":!0,\"biz.pk\":!0,\"web.pk\":!0,\"gov.pk\":!0,\"gob.pk\":!0,\"gok.pk\":!0,\"gon.pk\":!0,\"gop.pk\":!0,\"gos.pk\":!0,\"info.pk\":!0,pl:!0,\"com.pl\":!0,\"net.pl\":!0,\"org.pl\":!0,\"aid.pl\":!0,\"agro.pl\":!0,\"atm.pl\":!0,\"auto.pl\":!0,\"biz.pl\":!0,\"edu.pl\":!0,\"gmina.pl\":!0,\"gsm.pl\":!0,\"info.pl\":!0,\"mail.pl\":!0,\"miasta.pl\":!0,\"media.pl\":!0,\"mil.pl\":!0,\"nieruchomosci.pl\":!0,\"nom.pl\":!0,\"pc.pl\":!0,\"powiat.pl\":!0,\"priv.pl\":!0,\"realestate.pl\":!0,\"rel.pl\":!0,\"sex.pl\":!0,\"shop.pl\":!0,\"sklep.pl\":!0,\"sos.pl\":!0,\"szkola.pl\":!0,\"targi.pl\":!0,\"tm.pl\":!0,\"tourism.pl\":!0,\"travel.pl\":!0,\"turystyka.pl\":!0,\"gov.pl\":!0,\"ap.gov.pl\":!0,\"ic.gov.pl\":!0,\"is.gov.pl\":!0,\"us.gov.pl\":!0,\"kmpsp.gov.pl\":!0,\"kppsp.gov.pl\":!0,\"kwpsp.gov.pl\":!0,\"psp.gov.pl\":!0,\"wskr.gov.pl\":!0,\"kwp.gov.pl\":!0,\"mw.gov.pl\":!0,\"ug.gov.pl\":!0,\"um.gov.pl\":!0,\"umig.gov.pl\":!0,\"ugim.gov.pl\":!0,\"upow.gov.pl\":!0,\"uw.gov.pl\":!0,\"starostwo.gov.pl\":!0,\"pa.gov.pl\":!0,\"po.gov.pl\":!0,\"psse.gov.pl\":!0,\"pup.gov.pl\":!0,\"rzgw.gov.pl\":!0,\"sa.gov.pl\":!0,\"so.gov.pl\":!0,\"sr.gov.pl\":!0,\"wsa.gov.pl\":!0,\"sko.gov.pl\":!0,\"uzs.gov.pl\":!0,\"wiih.gov.pl\":!0,\"winb.gov.pl\":!0,\"pinb.gov.pl\":!0,\"wios.gov.pl\":!0,\"witd.gov.pl\":!0,\"wzmiuw.gov.pl\":!0,\"piw.gov.pl\":!0,\"wiw.gov.pl\":!0,\"griw.gov.pl\":!0,\"wif.gov.pl\":!0,\"oum.gov.pl\":!0,\"sdn.gov.pl\":!0,\"zp.gov.pl\":!0,\"uppo.gov.pl\":!0,\"mup.gov.pl\":!0,\"wuoz.gov.pl\":!0,\"konsulat.gov.pl\":!0,\"oirm.gov.pl\":!0,\"augustow.pl\":!0,\"babia-gora.pl\":!0,\"bedzin.pl\":!0,\"beskidy.pl\":!0,\"bialowieza.pl\":!0,\"bialystok.pl\":!0,\"bielawa.pl\":!0,\"bieszczady.pl\":!0,\"boleslawiec.pl\":!0,\"bydgoszcz.pl\":!0,\"bytom.pl\":!0,\"cieszyn.pl\":!0,\"czeladz.pl\":!0,\"czest.pl\":!0,\"dlugoleka.pl\":!0,\"elblag.pl\":!0,\"elk.pl\":!0,\"glogow.pl\":!0,\"gniezno.pl\":!0,\"gorlice.pl\":!0,\"grajewo.pl\":!0,\"ilawa.pl\":!0,\"jaworzno.pl\":!0,\"jelenia-gora.pl\":!0,\"jgora.pl\":!0,\"kalisz.pl\":!0,\"kazimierz-dolny.pl\":!0,\"karpacz.pl\":!0,\"kartuzy.pl\":!0,\"kaszuby.pl\":!0,\"katowice.pl\":!0,\"kepno.pl\":!0,\"ketrzyn.pl\":!0,\"klodzko.pl\":!0,\"kobierzyce.pl\":!0,\"kolobrzeg.pl\":!0,\"konin.pl\":!0,\"konskowola.pl\":!0,\"kutno.pl\":!0,\"lapy.pl\":!0,\"lebork.pl\":!0,\"legnica.pl\":!0,\"lezajsk.pl\":!0,\"limanowa.pl\":!0,\"lomza.pl\":!0,\"lowicz.pl\":!0,\"lubin.pl\":!0,\"lukow.pl\":!0,\"malbork.pl\":!0,\"malopolska.pl\":!0,\"mazowsze.pl\":!0,\"mazury.pl\":!0,\"mielec.pl\":!0,\"mielno.pl\":!0,\"mragowo.pl\":!0,\"naklo.pl\":!0,\"nowaruda.pl\":!0,\"nysa.pl\":!0,\"olawa.pl\":!0,\"olecko.pl\":!0,\"olkusz.pl\":!0,\"olsztyn.pl\":!0,\"opoczno.pl\":!0,\"opole.pl\":!0,\"ostroda.pl\":!0,\"ostroleka.pl\":!0,\"ostrowiec.pl\":!0,\"ostrowwlkp.pl\":!0,\"pila.pl\":!0,\"pisz.pl\":!0,\"podhale.pl\":!0,\"podlasie.pl\":!0,\"polkowice.pl\":!0,\"pomorze.pl\":!0,\"pomorskie.pl\":!0,\"prochowice.pl\":!0,\"pruszkow.pl\":!0,\"przeworsk.pl\":!0,\"pulawy.pl\":!0,\"radom.pl\":!0,\"rawa-maz.pl\":!0,\"rybnik.pl\":!0,\"rzeszow.pl\":!0,\"sanok.pl\":!0,\"sejny.pl\":!0,\"slask.pl\":!0,\"slupsk.pl\":!0,\"sosnowiec.pl\":!0,\"stalowa-wola.pl\":!0,\"skoczow.pl\":!0,\"starachowice.pl\":!0,\"stargard.pl\":!0,\"suwalki.pl\":!0,\"swidnica.pl\":!0,\"swiebodzin.pl\":!0,\"swinoujscie.pl\":!0,\"szczecin.pl\":!0,\"szczytno.pl\":!0,\"tarnobrzeg.pl\":!0,\"tgory.pl\":!0,\"turek.pl\":!0,\"tychy.pl\":!0,\"ustka.pl\":!0,\"walbrzych.pl\":!0,\"warmia.pl\":!0,\"warszawa.pl\":!0,\"waw.pl\":!0,\"wegrow.pl\":!0,\"wielun.pl\":!0,\"wlocl.pl\":!0,\"wloclawek.pl\":!0,\"wodzislaw.pl\":!0,\"wolomin.pl\":!0,\"wroclaw.pl\":!0,\"zachpomor.pl\":!0,\"zagan.pl\":!0,\"zarow.pl\":!0,\"zgora.pl\":!0,\"zgorzelec.pl\":!0,pm:!0,pn:!0,\"gov.pn\":!0,\"co.pn\":!0,\"org.pn\":!0,\"edu.pn\":!0,\"net.pn\":!0,post:!0,pr:!0,\"com.pr\":!0,\"net.pr\":!0,\"org.pr\":!0,\"gov.pr\":!0,\"edu.pr\":!0,\"isla.pr\":!0,\"pro.pr\":!0,\"biz.pr\":!0,\"info.pr\":!0,\"name.pr\":!0,\"est.pr\":!0,\"prof.pr\":!0,\"ac.pr\":!0,pro:!0,\"aca.pro\":!0,\"bar.pro\":!0,\"cpa.pro\":!0,\"jur.pro\":!0,\"law.pro\":!0,\"med.pro\":!0,\"eng.pro\":!0,ps:!0,\"edu.ps\":!0,\"gov.ps\":!0,\"sec.ps\":!0,\"plo.ps\":!0,\"com.ps\":!0,\"org.ps\":!0,\"net.ps\":!0,pt:!0,\"net.pt\":!0,\"gov.pt\":!0,\"org.pt\":!0,\"edu.pt\":!0,\"int.pt\":!0,\"publ.pt\":!0,\"com.pt\":!0,\"nome.pt\":!0,pw:!0,\"co.pw\":!0,\"ne.pw\":!0,\"or.pw\":!0,\"ed.pw\":!0,\"go.pw\":!0,\"belau.pw\":!0,py:!0,\"com.py\":!0,\"coop.py\":!0,\"edu.py\":!0,\"gov.py\":!0,\"mil.py\":!0,\"net.py\":!0,\"org.py\":!0,qa:!0,\"com.qa\":!0,\"edu.qa\":!0,\"gov.qa\":!0,\"mil.qa\":!0,\"name.qa\":!0,\"net.qa\":!0,\"org.qa\":!0,\"sch.qa\":!0,re:!0,\"com.re\":!0,\"asso.re\":!0,\"nom.re\":!0,ro:!0,\"com.ro\":!0,\"org.ro\":!0,\"tm.ro\":!0,\"nt.ro\":!0,\"nom.ro\":!0,\"info.ro\":!0,\"rec.ro\":!0,\"arts.ro\":!0,\"firm.ro\":!0,\"store.ro\":!0,\"www.ro\":!0,rs:!0,\"co.rs\":!0,\"org.rs\":!0,\"edu.rs\":!0,\"ac.rs\":!0,\"gov.rs\":!0,\"in.rs\":!0,ru:!0,\"ac.ru\":!0,\"com.ru\":!0,\"edu.ru\":!0,\"int.ru\":!0,\"net.ru\":!0,\"org.ru\":!0,\"pp.ru\":!0,\"adygeya.ru\":!0,\"altai.ru\":!0,\"amur.ru\":!0,\"arkhangelsk.ru\":!0,\"astrakhan.ru\":!0,\"bashkiria.ru\":!0,\"belgorod.ru\":!0,\"bir.ru\":!0,\"bryansk.ru\":!0,\"buryatia.ru\":!0,\"cbg.ru\":!0,\"chel.ru\":!0,\"chelyabinsk.ru\":!0,\"chita.ru\":!0,\"chukotka.ru\":!0,\"chuvashia.ru\":!0,\"dagestan.ru\":!0,\"dudinka.ru\":!0,\"e-burg.ru\":!0,\"grozny.ru\":!0,\"irkutsk.ru\":!0,\"ivanovo.ru\":!0,\"izhevsk.ru\":!0,\"jar.ru\":!0,\"joshkar-ola.ru\":!0,\"kalmykia.ru\":!0,\"kaluga.ru\":!0,\"kamchatka.ru\":!0,\"karelia.ru\":!0,\"kazan.ru\":!0,\"kchr.ru\":!0,\"kemerovo.ru\":!0,\"khabarovsk.ru\":!0,\"khakassia.ru\":!0,\"khv.ru\":!0,\"kirov.ru\":!0,\"koenig.ru\":!0,\"komi.ru\":!0,\"kostroma.ru\":!0,\"krasnoyarsk.ru\":!0,\"kuban.ru\":!0,\"kurgan.ru\":!0,\"kursk.ru\":!0,\"lipetsk.ru\":!0,\"magadan.ru\":!0,\"mari.ru\":!0,\"mari-el.ru\":!0,\"marine.ru\":!0,\"mordovia.ru\":!0,\"msk.ru\":!0,\"murmansk.ru\":!0,\"nalchik.ru\":!0,\"nnov.ru\":!0,\"nov.ru\":!0,\"novosibirsk.ru\":!0,\"nsk.ru\":!0,\"omsk.ru\":!0,\"orenburg.ru\":!0,\"oryol.ru\":!0,\"palana.ru\":!0,\"penza.ru\":!0,\"perm.ru\":!0,\"ptz.ru\":!0,\"rnd.ru\":!0,\"ryazan.ru\":!0,\"sakhalin.ru\":!0,\"samara.ru\":!0,\"saratov.ru\":!0,\"simbirsk.ru\":!0,\"smolensk.ru\":!0,\"spb.ru\":!0,\"stavropol.ru\":!0,\"stv.ru\":!0,\"surgut.ru\":!0,\"tambov.ru\":!0,\"tatarstan.ru\":!0,\"tom.ru\":!0,\"tomsk.ru\":!0,\"tsaritsyn.ru\":!0,\"tsk.ru\":!0,\"tula.ru\":!0,\"tuva.ru\":!0,\"tver.ru\":!0,\"tyumen.ru\":!0,\"udm.ru\":!0,\"udmurtia.ru\":!0,\"ulan-ude.ru\":!0,\"vladikavkaz.ru\":!0,\"vladimir.ru\":!0,\"vladivostok.ru\":!0,\"volgograd.ru\":!0,\"vologda.ru\":!0,\"voronezh.ru\":!0,\"vrn.ru\":!0,\"vyatka.ru\":!0,\"yakutia.ru\":!0,\"yamal.ru\":!0,\"yaroslavl.ru\":!0,\"yekaterinburg.ru\":!0,\"yuzhno-sakhalinsk.ru\":!0,\"amursk.ru\":!0,\"baikal.ru\":!0,\"cmw.ru\":!0,\"fareast.ru\":!0,\"jamal.ru\":!0,\"kms.ru\":!0,\"k-uralsk.ru\":!0,\"kustanai.ru\":!0,\"kuzbass.ru\":!0,\"magnitka.ru\":!0,\"mytis.ru\":!0,\"nakhodka.ru\":!0,\"nkz.ru\":!0,\"norilsk.ru\":!0,\"oskol.ru\":!0,\"pyatigorsk.ru\":!0,\"rubtsovsk.ru\":!0,\"snz.ru\":!0,\"syzran.ru\":!0,\"vdonsk.ru\":!0,\"zgrad.ru\":!0,\"gov.ru\":!0,\"mil.ru\":!0,\"test.ru\":!0,rw:!0,\"gov.rw\":!0,\"net.rw\":!0,\"edu.rw\":!0,\"ac.rw\":!0,\"com.rw\":!0,\"co.rw\":!0,\"int.rw\":!0,\"mil.rw\":!0,\"gouv.rw\":!0,sa:!0,\"com.sa\":!0,\"net.sa\":!0,\"org.sa\":!0,\"gov.sa\":!0,\"med.sa\":!0,\"pub.sa\":!0,\"edu.sa\":!0,\"sch.sa\":!0,sb:!0,\"com.sb\":!0,\"edu.sb\":!0,\"gov.sb\":!0,\"net.sb\":!0,\"org.sb\":!0,sc:!0,\"com.sc\":!0,\"gov.sc\":!0,\"net.sc\":!0,\"org.sc\":!0,\"edu.sc\":!0,sd:!0,\"com.sd\":!0,\"net.sd\":!0,\"org.sd\":!0,\"edu.sd\":!0,\"med.sd\":!0,\"tv.sd\":!0,\"gov.sd\":!0,\"info.sd\":!0,se:!0,\"a.se\":!0,\"ac.se\":!0,\"b.se\":!0,\"bd.se\":!0,\"brand.se\":!0,\"c.se\":!0,\"d.se\":!0,\"e.se\":!0,\"f.se\":!0,\"fh.se\":!0,\"fhsk.se\":!0,\"fhv.se\":!0,\"g.se\":!0,\"h.se\":!0,\"i.se\":!0,\"k.se\":!0,\"komforb.se\":!0,\"kommunalforbund.se\":!0,\"komvux.se\":!0,\"l.se\":!0,\"lanbib.se\":!0,\"m.se\":!0,\"n.se\":!0,\"naturbruksgymn.se\":!0,\"o.se\":!0,\"org.se\":!0,\"p.se\":!0,\"parti.se\":!0,\"pp.se\":!0,\"press.se\":!0,\"r.se\":!0,\"s.se\":!0,\"t.se\":!0,\"tm.se\":!0,\"u.se\":!0,\"w.se\":!0,\"x.se\":!0,\"y.se\":!0,\"z.se\":!0,sg:!0,\"com.sg\":!0,\"net.sg\":!0,\"org.sg\":!0,\"gov.sg\":!0,\"edu.sg\":!0,\"per.sg\":!0,sh:!0,\"com.sh\":!0,\"net.sh\":!0,\"gov.sh\":!0,\"org.sh\":!0,\"mil.sh\":!0,si:!0,sj:!0,sk:!0,sl:!0,\"com.sl\":!0,\"net.sl\":!0,\"edu.sl\":!0,\"gov.sl\":!0,\"org.sl\":!0,sm:!0,sn:!0,\"art.sn\":!0,\"com.sn\":!0,\"edu.sn\":!0,\"gouv.sn\":!0,\"org.sn\":!0,\"perso.sn\":!0,\"univ.sn\":!0,so:!0,\"com.so\":!0,\"net.so\":!0,\"org.so\":!0,sr:!0,st:!0,\"co.st\":!0,\"com.st\":!0,\"consulado.st\":!0,\"edu.st\":!0,\"embaixada.st\":!0,\"gov.st\":!0,\"mil.st\":!0,\"net.st\":!0,\"org.st\":!0,\"principe.st\":!0,\"saotome.st\":!0,\"store.st\":!0,su:!0,\"adygeya.su\":!0,\"arkhangelsk.su\":!0,\"balashov.su\":!0,\"bashkiria.su\":!0,\"bryansk.su\":!0,\"dagestan.su\":!0,\"grozny.su\":!0,\"ivanovo.su\":!0,\"kalmykia.su\":!0,\"kaluga.su\":!0,\"karelia.su\":!0,\"khakassia.su\":!0,\"krasnodar.su\":!0,\"kurgan.su\":!0,\"lenug.su\":!0,\"mordovia.su\":!0,\"msk.su\":!0,\"murmansk.su\":!0,\"nalchik.su\":!0,\"nov.su\":!0,\"obninsk.su\":!0,\"penza.su\":!0,\"pokrovsk.su\":!0,\"sochi.su\":!0,\"spb.su\":!0,\"togliatti.su\":!0,\"troitsk.su\":!0,\"tula.su\":!0,\"tuva.su\":!0,\"vladikavkaz.su\":!0,\"vladimir.su\":!0,\"vologda.su\":!0,sv:!0,\"com.sv\":!0,\"edu.sv\":!0,\"gob.sv\":!0,\"org.sv\":!0,\"red.sv\":!0,sx:!0,\"gov.sx\":!0,sy:!0,\"edu.sy\":!0,\"gov.sy\":!0,\"net.sy\":!0,\"mil.sy\":!0,\"com.sy\":!0,\"org.sy\":!0,sz:!0,\"co.sz\":!0,\"ac.sz\":!0,\"org.sz\":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,\"ac.th\":!0,\"co.th\":!0,\"go.th\":!0,\"in.th\":!0,\"mi.th\":!0,\"net.th\":!0,\"or.th\":!0,tj:!0,\"ac.tj\":!0,\"biz.tj\":!0,\"co.tj\":!0,\"com.tj\":!0,\"edu.tj\":!0,\"go.tj\":!0,\"gov.tj\":!0,\"int.tj\":!0,\"mil.tj\":!0,\"name.tj\":!0,\"net.tj\":!0,\"nic.tj\":!0,\"org.tj\":!0,\"test.tj\":!0,\"web.tj\":!0,tk:!0,tl:!0,\"gov.tl\":!0,tm:!0,\"com.tm\":!0,\"co.tm\":!0,\"org.tm\":!0,\"net.tm\":!0,\"nom.tm\":!0,\"gov.tm\":!0,\"mil.tm\":!0,\"edu.tm\":!0,tn:!0,\"com.tn\":!0,\"ens.tn\":!0,\"fin.tn\":!0,\"gov.tn\":!0,\"ind.tn\":!0,\"intl.tn\":!0,\"nat.tn\":!0,\"net.tn\":!0,\"org.tn\":!0,\"info.tn\":!0,\"perso.tn\":!0,\"tourism.tn\":!0,\"edunet.tn\":!0,\"rnrt.tn\":!0,\"rns.tn\":!0,\"rnu.tn\":!0,\"mincom.tn\":!0,\"agrinet.tn\":!0,\"defense.tn\":!0,\"turen.tn\":!0,to:!0,\"com.to\":!0,\"gov.to\":!0,\"net.to\":!0,\"org.to\":!0,\"edu.to\":!0,\"mil.to\":!0,tp:!0,tr:!0,\"com.tr\":!0,\"info.tr\":!0,\"biz.tr\":!0,\"net.tr\":!0,\"org.tr\":!0,\"web.tr\":!0,\"gen.tr\":!0,\"tv.tr\":!0,\"av.tr\":!0,\"dr.tr\":!0,\"bbs.tr\":!0,\"name.tr\":!0,\"tel.tr\":!0,\"gov.tr\":!0,\"bel.tr\":!0,\"pol.tr\":!0,\"mil.tr\":!0,\"k12.tr\":!0,\"edu.tr\":!0,\"kep.tr\":!0,\"nc.tr\":!0,\"gov.nc.tr\":!0,travel:!0,tt:!0,\"co.tt\":!0,\"com.tt\":!0,\"org.tt\":!0,\"net.tt\":!0,\"biz.tt\":!0,\"info.tt\":!0,\"pro.tt\":!0,\"int.tt\":!0,\"coop.tt\":!0,\"jobs.tt\":!0,\"mobi.tt\":!0,\"travel.tt\":!0,\"museum.tt\":!0,\"aero.tt\":!0,\"name.tt\":!0,\"gov.tt\":!0,\"edu.tt\":!0,tv:!0,tw:!0,\"edu.tw\":!0,\"gov.tw\":!0,\"mil.tw\":!0,\"com.tw\":!0,\"net.tw\":!0,\"org.tw\":!0,\"idv.tw\":!0,\"game.tw\":!0,\"ebiz.tw\":!0,\"club.tw\":!0,\"xn--zf0ao64a.tw\":!0,\"xn--uc0atv.tw\":!0,\"xn--czrw28b.tw\":!0,tz:!0,\"ac.tz\":!0,\"co.tz\":!0,\"go.tz\":!0,\"hotel.tz\":!0,\"info.tz\":!0,\"me.tz\":!0,\"mil.tz\":!0,\"mobi.tz\":!0,\"ne.tz\":!0,\"or.tz\":!0,\"sc.tz\":!0,\"tv.tz\":!0,ua:!0,\"com.ua\":!0,\"edu.ua\":!0,\"gov.ua\":!0,\"in.ua\":!0,\"net.ua\":!0,\"org.ua\":!0,\"cherkassy.ua\":!0,\"cherkasy.ua\":!0,\"chernigov.ua\":!0,\"chernihiv.ua\":!0,\"chernivtsi.ua\":!0,\"chernovtsy.ua\":!0,\"ck.ua\":!0,\"cn.ua\":!0,\"cr.ua\":!0,\"crimea.ua\":!0,\"cv.ua\":!0,\"dn.ua\":!0,\"dnepropetrovsk.ua\":!0,\"dnipropetrovsk.ua\":!0,\"dominic.ua\":!0,\"donetsk.ua\":!0,\"dp.ua\":!0,\"if.ua\":!0,\"ivano-frankivsk.ua\":!0,\"kh.ua\":!0,\"kharkiv.ua\":!0,\"kharkov.ua\":!0,\"kherson.ua\":!0,\"khmelnitskiy.ua\":!0,\"khmelnytskyi.ua\":!0,\"kiev.ua\":!0,\"kirovograd.ua\":!0,\"km.ua\":!0,\"kr.ua\":!0,\"krym.ua\":!0,\"ks.ua\":!0,\"kv.ua\":!0,\"kyiv.ua\":!0,\"lg.ua\":!0,\"lt.ua\":!0,\"lugansk.ua\":!0,\"lutsk.ua\":!0,\"lv.ua\":!0,\"lviv.ua\":!0,\"mk.ua\":!0,\"mykolaiv.ua\":!0,\"nikolaev.ua\":!0,\"od.ua\":!0,\"odesa.ua\":!0,\"odessa.ua\":!0,\"pl.ua\":!0,\"poltava.ua\":!0,\"rivne.ua\":!0,\"rovno.ua\":!0,\"rv.ua\":!0,\"sb.ua\":!0,\"sebastopol.ua\":!0,\"sevastopol.ua\":!0,\"sm.ua\":!0,\"sumy.ua\":!0,\"te.ua\":!0,\"ternopil.ua\":!0,\"uz.ua\":!0,\"uzhgorod.ua\":!0,\"vinnica.ua\":!0,\"vinnytsia.ua\":!0,\"vn.ua\":!0,\"volyn.ua\":!0,\"yalta.ua\":!0,\"zaporizhzhe.ua\":!0,\"zaporizhzhia.ua\":!0,\"zhitomir.ua\":!0,\"zhytomyr.ua\":!0,\"zp.ua\":!0,\"zt.ua\":!0,ug:!0,\"co.ug\":!0,\"or.ug\":!0,\"ac.ug\":!0,\"sc.ug\":!0,\"go.ug\":!0,\"ne.ug\":!0,\"com.ug\":!0,\"org.ug\":!0,uk:!0,\"ac.uk\":!0,\"co.uk\":!0,\"gov.uk\":!0,\"ltd.uk\":!0,\"me.uk\":!0,\"net.uk\":!0,\"nhs.uk\":!0,\"org.uk\":!0,\"plc.uk\":!0,\"police.uk\":!0,\"*.sch.uk\":!0,us:!0,\"dni.us\":!0,\"fed.us\":!0,\"isa.us\":!0,\"kids.us\":!0,\"nsn.us\":!0,\"ak.us\":!0,\"al.us\":!0,\"ar.us\":!0,\"as.us\":!0,\"az.us\":!0,\"ca.us\":!0,\"co.us\":!0,\"ct.us\":!0,\"dc.us\":!0,\"de.us\":!0,\"fl.us\":!0,\"ga.us\":!0,\"gu.us\":!0,\"hi.us\":!0,\"ia.us\":!0,\"id.us\":!0,\"il.us\":!0,\"in.us\":!0,\"ks.us\":!0,\"ky.us\":!0,\"la.us\":!0,\"ma.us\":!0,\"md.us\":!0,\"me.us\":!0,\"mi.us\":!0,\"mn.us\":!0,\"mo.us\":!0,\"ms.us\":!0,\"mt.us\":!0,\"nc.us\":!0,\"nd.us\":!0,\"ne.us\":!0,\"nh.us\":!0,\"nj.us\":!0,\"nm.us\":!0,\"nv.us\":!0,\"ny.us\":!0,\"oh.us\":!0,\"ok.us\":!0,\"or.us\":!0,\"pa.us\":!0,\"pr.us\":!0,\"ri.us\":!0,\"sc.us\":!0,\"sd.us\":!0,\"tn.us\":!0,\"tx.us\":!0,\"ut.us\":!0,\"vi.us\":!0,\"vt.us\":!0,\"va.us\":!0,\"wa.us\":!0,\"wi.us\":!0,\"wv.us\":!0,\"wy.us\":!0,\"k12.ak.us\":!0,\"k12.al.us\":!0,\"k12.ar.us\":!0,\"k12.as.us\":!0,\"k12.az.us\":!0,\"k12.ca.us\":!0,\"k12.co.us\":!0,\"k12.ct.us\":!0,\"k12.dc.us\":!0,\"k12.de.us\":!0,\"k12.fl.us\":!0,\"k12.ga.us\":!0,\"k12.gu.us\":!0,\"k12.ia.us\":!0,\"k12.id.us\":!0,\"k12.il.us\":!0,\"k12.in.us\":!0,\"k12.ks.us\":!0,\"k12.ky.us\":!0,\"k12.la.us\":!0,\"k12.ma.us\":!0,\"k12.md.us\":!0,\"k12.me.us\":!0,\"k12.mi.us\":!0,\"k12.mn.us\":!0,\"k12.mo.us\":!0,\"k12.ms.us\":!0,\"k12.mt.us\":!0,\"k12.nc.us\":!0,\"k12.ne.us\":!0,\"k12.nh.us\":!0,\"k12.nj.us\":!0,\"k12.nm.us\":!0,\"k12.nv.us\":!0,\"k12.ny.us\":!0,\"k12.oh.us\":!0,\"k12.ok.us\":!0,\"k12.or.us\":!0,\"k12.pa.us\":!0,\"k12.pr.us\":!0,\"k12.ri.us\":!0,\"k12.sc.us\":!0,\"k12.tn.us\":!0,\"k12.tx.us\":!0,\"k12.ut.us\":!0,\"k12.vi.us\":!0,\"k12.vt.us\":!0,\"k12.va.us\":!0,\"k12.wa.us\":!0,\"k12.wi.us\":!0,\"k12.wy.us\":!0,\"cc.ak.us\":!0,\"cc.al.us\":!0,\"cc.ar.us\":!0,\"cc.as.us\":!0,\"cc.az.us\":!0,\"cc.ca.us\":!0,\"cc.co.us\":!0,\"cc.ct.us\":!0,\"cc.dc.us\":!0,\"cc.de.us\":!0,\"cc.fl.us\":!0,\"cc.ga.us\":!0,\"cc.gu.us\":!0,\"cc.hi.us\":!0,\"cc.ia.us\":!0,\"cc.id.us\":!0,\"cc.il.us\":!0,\"cc.in.us\":!0,\"cc.ks.us\":!0,\"cc.ky.us\":!0,\"cc.la.us\":!0,\"cc.ma.us\":!0,\"cc.md.us\":!0,\"cc.me.us\":!0,\"cc.mi.us\":!0,\"cc.mn.us\":!0,\"cc.mo.us\":!0,\"cc.ms.us\":!0,\"cc.mt.us\":!0,\"cc.nc.us\":!0,\"cc.nd.us\":!0,\"cc.ne.us\":!0,\"cc.nh.us\":!0,\"cc.nj.us\":!0,\"cc.nm.us\":!0,\"cc.nv.us\":!0,\"cc.ny.us\":!0,\"cc.oh.us\":!0,\"cc.ok.us\":!0,\"cc.or.us\":!0,\"cc.pa.us\":!0,\"cc.pr.us\":!0,\"cc.ri.us\":!0,\"cc.sc.us\":!0,\"cc.sd.us\":!0,\"cc.tn.us\":!0,\"cc.tx.us\":!0,\"cc.ut.us\":!0,\"cc.vi.us\":!0,\"cc.vt.us\":!0,\"cc.va.us\":!0,\"cc.wa.us\":!0,\"cc.wi.us\":!0,\"cc.wv.us\":!0,\"cc.wy.us\":!0,\"lib.ak.us\":!0,\"lib.al.us\":!0,\"lib.ar.us\":!0,\"lib.as.us\":!0,\"lib.az.us\":!0,\"lib.ca.us\":!0,\"lib.co.us\":!0,\"lib.ct.us\":!0,\"lib.dc.us\":!0,\"lib.de.us\":!0,\"lib.fl.us\":!0,\"lib.ga.us\":!0,\"lib.gu.us\":!0,\"lib.hi.us\":!0,\"lib.ia.us\":!0,\"lib.id.us\":!0,\"lib.il.us\":!0,\"lib.in.us\":!0,\"lib.ks.us\":!0,\"lib.ky.us\":!0,\"lib.la.us\":!0,\"lib.ma.us\":!0,\"lib.md.us\":!0,\"lib.me.us\":!0,\"lib.mi.us\":!0,\"lib.mn.us\":!0,\"lib.mo.us\":!0,\"lib.ms.us\":!0,\"lib.mt.us\":!0,\"lib.nc.us\":!0,\"lib.nd.us\":!0,\"lib.ne.us\":!0,\"lib.nh.us\":!0,\"lib.nj.us\":!0,\"lib.nm.us\":!0,\"lib.nv.us\":!0,\"lib.ny.us\":!0,\"lib.oh.us\":!0,\"lib.ok.us\":!0,\"lib.or.us\":!0,\"lib.pa.us\":!0,\"lib.pr.us\":!0,\"lib.ri.us\":!0,\"lib.sc.us\":!0,\"lib.sd.us\":!0,\"lib.tn.us\":!0,\"lib.tx.us\":!0,\"lib.ut.us\":!0,\"lib.vi.us\":!0,\"lib.vt.us\":!0,\"lib.va.us\":!0,\"lib.wa.us\":!0,\"lib.wi.us\":!0,\"lib.wy.us\":!0,\"pvt.k12.ma.us\":!0,\"chtr.k12.ma.us\":!0,\"paroch.k12.ma.us\":!0,uy:!0,\"com.uy\":!0,\"edu.uy\":!0,\"gub.uy\":!0,\"mil.uy\":!0,\"net.uy\":!0,\"org.uy\":!0,uz:!0,\"co.uz\":!0,\"com.uz\":!0,\"net.uz\":!0,\"org.uz\":!0,va:!0,vc:!0,\"com.vc\":!0,\"net.vc\":!0,\"org.vc\":!0,\"gov.vc\":!0,\"mil.vc\":!0,\n\"edu.vc\":!0,ve:!0,\"arts.ve\":!0,\"co.ve\":!0,\"com.ve\":!0,\"e12.ve\":!0,\"edu.ve\":!0,\"firm.ve\":!0,\"gob.ve\":!0,\"gov.ve\":!0,\"info.ve\":!0,\"int.ve\":!0,\"mil.ve\":!0,\"net.ve\":!0,\"org.ve\":!0,\"rec.ve\":!0,\"store.ve\":!0,\"tec.ve\":!0,\"web.ve\":!0,vg:!0,vi:!0,\"co.vi\":!0,\"com.vi\":!0,\"k12.vi\":!0,\"net.vi\":!0,\"org.vi\":!0,vn:!0,\"com.vn\":!0,\"net.vn\":!0,\"org.vn\":!0,\"edu.vn\":!0,\"gov.vn\":!0,\"int.vn\":!0,\"ac.vn\":!0,\"biz.vn\":!0,\"info.vn\":!0,\"name.vn\":!0,\"pro.vn\":!0,\"health.vn\":!0,vu:!0,\"com.vu\":!0,\"edu.vu\":!0,\"net.vu\":!0,\"org.vu\":!0,wf:!0,ws:!0,\"com.ws\":!0,\"net.ws\":!0,\"org.ws\":!0,\"gov.ws\":!0,\"edu.ws\":!0,yt:!0,\"xn--mgbaam7a8h\":!0,\"xn--y9a3aq\":!0,\"xn--54b7fta0cc\":!0,\"xn--90ais\":!0,\"xn--fiqs8s\":!0,\"xn--fiqz9s\":!0,\"xn--lgbbat1ad8j\":!0,\"xn--wgbh1c\":!0,\"xn--node\":!0,\"xn--qxam\":!0,\"xn--j6w193g\":!0,\"xn--h2brj9c\":!0,\"xn--mgbbh1a71e\":!0,\"xn--fpcrj9c3d\":!0,\"xn--gecrj9c\":!0,\"xn--s9brj9c\":!0,\"xn--45brj9c\":!0,\"xn--xkc2dl3a5ee0h\":!0,\"xn--mgba3a4f16a\":!0,\"xn--mgba3a4fra\":!0,\"xn--mgbtx2b\":!0,\"xn--mgbayh7gpa\":!0,\"xn--3e0b707e\":!0,\"xn--80ao21a\":!0,\"xn--fzc2c9e2c\":!0,\"xn--xkc2al3hye2a\":!0,\"xn--mgbc0a9azcg\":!0,\"xn--d1alf\":!0,\"xn--l1acc\":!0,\"xn--mix891f\":!0,\"xn--mix082f\":!0,\"xn--mgbx4cd0ab\":!0,\"xn--mgb9awbf\":!0,\"xn--mgbai9azgqp6j\":!0,\"xn--mgbai9a5eva00b\":!0,\"xn--ygbi2ammx\":!0,\"xn--90a3ac\":!0,\"xn--o1ac.xn--90a3ac\":!0,\"xn--c1avg.xn--90a3ac\":!0,\"xn--90azh.xn--90a3ac\":!0,\"xn--d1at.xn--90a3ac\":!0,\"xn--o1ach.xn--90a3ac\":!0,\"xn--80au.xn--90a3ac\":!0,\"xn--p1ai\":!0,\"xn--wgbl6a\":!0,\"xn--mgberp4a5d4ar\":!0,\"xn--mgberp4a5d4a87g\":!0,\"xn--mgbqly7c0a67fbc\":!0,\"xn--mgbqly7cvafr\":!0,\"xn--mgbpl2fh\":!0,\"xn--yfro4i67o\":!0,\"xn--clchc0ea0b2g2a9gcd\":!0,\"xn--ogbpf8fl\":!0,\"xn--mgbtf8fl\":!0,\"xn--o3cw4h\":!0,\"xn--pgbs0dh\":!0,\"xn--kpry57d\":!0,\"xn--kprw13d\":!0,\"xn--nnx388a\":!0,\"xn--j1amh\":!0,\"xn--mgb2ddes\":!0,xxx:!0,\"*.ye\":!0,\"ac.za\":!0,\"agrica.za\":!0,\"alt.za\":!0,\"co.za\":!0,\"edu.za\":!0,\"gov.za\":!0,\"grondar.za\":!0,\"law.za\":!0,\"mil.za\":!0,\"net.za\":!0,\"ngo.za\":!0,\"nis.za\":!0,\"nom.za\":!0,\"org.za\":!0,\"school.za\":!0,\"tm.za\":!0,\"web.za\":!0,\"*.zm\":!0,\"*.zw\":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,africamagic:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,aramco:!0,archi:!0,army:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,bot:!0,boutique:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,\"case\":!0,caseih:!0,cash:!0,casino:!0,catering:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,dnp:!0,docs:!0,dodge:!0,dog:!0,doha:!0,domains:!0,doosan:!0,dot:!0,download:!0,drive:!0,dstv:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dwg:!0,earth:!0,eat:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,\"final\":!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,flsmidth:!0,fly:!0,foo:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,gotv:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyknet:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mnet:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,multichoice:!0,mutual:!0,mutuelle:!0,mzansimagic:!0,nab:!0,nadex:!0,nagoya:!0,naspers:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,\"new\":!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,payu:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,philips:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,seat:!0,secure:!0,security:!0,seek:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,studio:!0,study:!0,style:!0,sucks:!0,supersport:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,\"xn--11b4c3d\":!0,\"xn--1ck2e1b\":!0,\"xn--1qqw23a\":!0,\"xn--30rr7y\":!0,\"xn--3bst00m\":!0,\"xn--3ds443g\":!0,\"xn--3oq18vl8pn36a\":!0,\"xn--3pxu8k\":!0,\"xn--42c2d9a\":!0,\"xn--45q11c\":!0,\"xn--4gbrim\":!0,\"xn--4gq48lf9j\":!0,\"xn--55qw42g\":!0,\"xn--55qx5d\":!0,\"xn--5su34j936bgsg\":!0,\"xn--5tzm5g\":!0,\"xn--6frz82g\":!0,\"xn--6qq986b3xl\":!0,\"xn--80adxhks\":!0,\"xn--80asehdb\":!0,\"xn--80aswg\":!0,\"xn--8y0a063a\":!0,\"xn--9dbq2a\":!0,\"xn--9et52u\":!0,\"xn--9krt00a\":!0,\"xn--b4w605ferd\":!0,\"xn--bck1b9a5dre4c\":!0,\"xn--c1avg\":!0,\"xn--c2br7g\":!0,\"xn--cck2b3b\":!0,\"xn--cg4bki\":!0,\"xn--czr694b\":!0,\"xn--czrs0t\":!0,\"xn--czru2d\":!0,\"xn--d1acj3b\":!0,\"xn--eckvdtc9d\":!0,\"xn--efvy88h\":!0,\"xn--estv75g\":!0,\"xn--fct429k\":!0,\"xn--fhbei\":!0,\"xn--fiq228c5hs\":!0,\"xn--fiq64b\":!0,\"xn--fjq720a\":!0,\"xn--flw351e\":!0,\"xn--fzys8d69uvgm\":!0,\"xn--g2xx48c\":!0,\"xn--gckr3f0f\":!0,\"xn--hxt814e\":!0,\"xn--i1b6b1a6a2e\":!0,\"xn--imr513n\":!0,\"xn--io0a7i\":!0,\"xn--j1aef\":!0,\"xn--jlq61u9w7b\":!0,\"xn--jvr189m\":!0,\"xn--kcrx77d1x4a\":!0,\"xn--kpu716f\":!0,\"xn--kput3i\":!0,\"xn--mgba3a3ejt\":!0,\"xn--mgba7c0bbn0a\":!0,\"xn--mgbaakc7dvf\":!0,\"xn--mgbab2bd\":!0,\"xn--mgbb9fbpob\":!0,\"xn--mgbca7dzdo\":!0,\"xn--mgbt3dhd\":!0,\"xn--mk1bu44c\":!0,\"xn--mxtq1m\":!0,\"xn--ngbc5azd\":!0,\"xn--ngbe9e0a\":!0,\"xn--nqv7f\":!0,\"xn--nqv7fs00ema\":!0,\"xn--nyqy26a\":!0,\"xn--p1acf\":!0,\"xn--pbt977c\":!0,\"xn--pssy2u\":!0,\"xn--q9jyb4c\":!0,\"xn--qcka1pmc\":!0,\"xn--rhqv96g\":!0,\"xn--rovu88b\":!0,\"xn--ses554g\":!0,\"xn--t60b56a\":!0,\"xn--tckwe\":!0,\"xn--unup4y\":!0,\"xn--vermgensberater-ctb\":!0,\"xn--vermgensberatung-pwb\":!0,\"xn--vhquv\":!0,\"xn--vuq861b\":!0,\"xn--w4r85el8fhu5dnra\":!0,\"xn--w4rs40l\":!0,\"xn--xhq521b\":!0,\"xn--zfr164b\":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,\"cloudfront.net\":!0,\"ap-northeast-1.compute.amazonaws.com\":!0,\"ap-southeast-1.compute.amazonaws.com\":!0,\"ap-southeast-2.compute.amazonaws.com\":!0,\"cn-north-1.compute.amazonaws.cn\":!0,\"compute.amazonaws.cn\":!0,\"compute.amazonaws.com\":!0,\"compute-1.amazonaws.com\":!0,\"eu-west-1.compute.amazonaws.com\":!0,\"eu-central-1.compute.amazonaws.com\":!0,\"sa-east-1.compute.amazonaws.com\":!0,\"us-east-1.amazonaws.com\":!0,\"us-gov-west-1.compute.amazonaws.com\":!0,\"us-west-1.compute.amazonaws.com\":!0,\"us-west-2.compute.amazonaws.com\":!0,\"z-1.compute-1.amazonaws.com\":!0,\"z-2.compute-1.amazonaws.com\":!0,\"elasticbeanstalk.com\":!0,\"elb.amazonaws.com\":!0,\"s3.amazonaws.com\":!0,\"s3-ap-northeast-1.amazonaws.com\":!0,\"s3-ap-southeast-1.amazonaws.com\":!0,\"s3-ap-southeast-2.amazonaws.com\":!0,\"s3-external-1.amazonaws.com\":!0,\"s3-external-2.amazonaws.com\":!0,\"s3-fips-us-gov-west-1.amazonaws.com\":!0,\"s3-eu-central-1.amazonaws.com\":!0,\"s3-eu-west-1.amazonaws.com\":!0,\"s3-sa-east-1.amazonaws.com\":!0,\"s3-us-gov-west-1.amazonaws.com\":!0,\"s3-us-west-1.amazonaws.com\":!0,\"s3-us-west-2.amazonaws.com\":!0,\"s3.cn-north-1.amazonaws.com.cn\":!0,\"s3.eu-central-1.amazonaws.com\":!0,\"betainabox.com\":!0,\"ae.org\":!0,\"ar.com\":!0,\"br.com\":!0,\"cn.com\":!0,\"com.de\":!0,\"com.se\":!0,\"de.com\":!0,\"eu.com\":!0,\"gb.com\":!0,\"gb.net\":!0,\"hu.com\":!0,\"hu.net\":!0,\"jp.net\":!0,\"jpn.com\":!0,\"kr.com\":!0,\"mex.com\":!0,\"no.com\":!0,\"qc.com\":!0,\"ru.com\":!0,\"sa.com\":!0,\"se.com\":!0,\"se.net\":!0,\"uk.com\":!0,\"uk.net\":!0,\"us.com\":!0,\"uy.com\":!0,\"za.bz\":!0,\"za.com\":!0,\"africa.com\":!0,\"gr.com\":!0,\"in.net\":!0,\"us.org\":!0,\"co.com\":!0,\"c.la\":!0,\"cloudcontrolled.com\":!0,\"cloudcontrolapp.com\":!0,\"co.ca\":!0,\"c.cdn77.org\":!0,\"cdn77-ssl.net\":!0,\"r.cdn77.net\":!0,\"rsc.cdn77.org\":!0,\"ssl.origin.cdn77-secure.org\":!0,\"co.nl\":!0,\"co.no\":!0,\"*.platform.sh\":!0,\"cupcake.is\":!0,\"dreamhosters.com\":!0,\"duckdns.org\":!0,\"dyndns-at-home.com\":!0,\"dyndns-at-work.com\":!0,\"dyndns-blog.com\":!0,\"dyndns-free.com\":!0,\"dyndns-home.com\":!0,\"dyndns-ip.com\":!0,\"dyndns-mail.com\":!0,\"dyndns-office.com\":!0,\"dyndns-pics.com\":!0,\"dyndns-remote.com\":!0,\"dyndns-server.com\":!0,\"dyndns-web.com\":!0,\"dyndns-wiki.com\":!0,\"dyndns-work.com\":!0,\"dyndns.biz\":!0,\"dyndns.info\":!0,\"dyndns.org\":!0,\"dyndns.tv\":!0,\"at-band-camp.net\":!0,\"ath.cx\":!0,\"barrel-of-knowledge.info\":!0,\"barrell-of-knowledge.info\":!0,\"better-than.tv\":!0,\"blogdns.com\":!0,\"blogdns.net\":!0,\"blogdns.org\":!0,\"blogsite.org\":!0,\"boldlygoingnowhere.org\":!0,\"broke-it.net\":!0,\"buyshouses.net\":!0,\"cechire.com\":!0,\"dnsalias.com\":!0,\"dnsalias.net\":!0,\"dnsalias.org\":!0,\"dnsdojo.com\":!0,\"dnsdojo.net\":!0,\"dnsdojo.org\":!0,\"does-it.net\":!0,\"doesntexist.com\":!0,\"doesntexist.org\":!0,\"dontexist.com\":!0,\"dontexist.net\":!0,\"dontexist.org\":!0,\"doomdns.com\":!0,\"doomdns.org\":!0,\"dvrdns.org\":!0,\"dyn-o-saur.com\":!0,\"dynalias.com\":!0,\"dynalias.net\":!0,\"dynalias.org\":!0,\"dynathome.net\":!0,\"dyndns.ws\":!0,\"endofinternet.net\":!0,\"endofinternet.org\":!0,\"endoftheinternet.org\":!0,\"est-a-la-maison.com\":!0,\"est-a-la-masion.com\":!0,\"est-le-patron.com\":!0,\"est-mon-blogueur.com\":!0,\"for-better.biz\":!0,\"for-more.biz\":!0,\"for-our.info\":!0,\"for-some.biz\":!0,\"for-the.biz\":!0,\"forgot.her.name\":!0,\"forgot.his.name\":!0,\"from-ak.com\":!0,\"from-al.com\":!0,\"from-ar.com\":!0,\"from-az.net\":!0,\"from-ca.com\":!0,\"from-co.net\":!0,\"from-ct.com\":!0,\"from-dc.com\":!0,\"from-de.com\":!0,\"from-fl.com\":!0,\"from-ga.com\":!0,\"from-hi.com\":!0,\"from-ia.com\":!0,\"from-id.com\":!0,\"from-il.com\":!0,\"from-in.com\":!0,\"from-ks.com\":!0,\"from-ky.com\":!0,\"from-la.net\":!0,\"from-ma.com\":!0,\"from-md.com\":!0,\"from-me.org\":!0,\"from-mi.com\":!0,\"from-mn.com\":!0,\"from-mo.com\":!0,\"from-ms.com\":!0,\"from-mt.com\":!0,\"from-nc.com\":!0,\"from-nd.com\":!0,\"from-ne.com\":!0,\"from-nh.com\":!0,\"from-nj.com\":!0,\"from-nm.com\":!0,\"from-nv.com\":!0,\"from-ny.net\":!0,\"from-oh.com\":!0,\"from-ok.com\":!0,\"from-or.com\":!0,\"from-pa.com\":!0,\"from-pr.com\":!0,\"from-ri.com\":!0,\"from-sc.com\":!0,\"from-sd.com\":!0,\"from-tn.com\":!0,\"from-tx.com\":!0,\"from-ut.com\":!0,\"from-va.com\":!0,\"from-vt.com\":!0,\"from-wa.com\":!0,\"from-wi.com\":!0,\"from-wv.com\":!0,\"from-wy.com\":!0,\"ftpaccess.cc\":!0,\"fuettertdasnetz.de\":!0,\"game-host.org\":!0,\"game-server.cc\":!0,\"getmyip.com\":!0,\"gets-it.net\":!0,\"go.dyndns.org\":!0,\"gotdns.com\":!0,\"gotdns.org\":!0,\"groks-the.info\":!0,\"groks-this.info\":!0,\"ham-radio-op.net\":!0,\"here-for-more.info\":!0,\"hobby-site.com\":!0,\"hobby-site.org\":!0,\"home.dyndns.org\":!0,\"homedns.org\":!0,\"homeftp.net\":!0,\"homeftp.org\":!0,\"homeip.net\":!0,\"homelinux.com\":!0,\"homelinux.net\":!0,\"homelinux.org\":!0,\"homeunix.com\":!0,\"homeunix.net\":!0,\"homeunix.org\":!0,\"iamallama.com\":!0,\"in-the-band.net\":!0,\"is-a-anarchist.com\":!0,\"is-a-blogger.com\":!0,\"is-a-bookkeeper.com\":!0,\"is-a-bruinsfan.org\":!0,\"is-a-bulls-fan.com\":!0,\"is-a-candidate.org\":!0,\"is-a-caterer.com\":!0,\"is-a-celticsfan.org\":!0,\"is-a-chef.com\":!0,\"is-a-chef.net\":!0,\"is-a-chef.org\":!0,\"is-a-conservative.com\":!0,\"is-a-cpa.com\":!0,\"is-a-cubicle-slave.com\":!0,\"is-a-democrat.com\":!0,\"is-a-designer.com\":!0,\"is-a-doctor.com\":!0,\"is-a-financialadvisor.com\":!0,\"is-a-geek.com\":!0,\"is-a-geek.net\":!0,\"is-a-geek.org\":!0,\"is-a-green.com\":!0,\"is-a-guru.com\":!0,\"is-a-hard-worker.com\":!0,\"is-a-hunter.com\":!0,\"is-a-knight.org\":!0,\"is-a-landscaper.com\":!0,\"is-a-lawyer.com\":!0,\"is-a-liberal.com\":!0,\"is-a-libertarian.com\":!0,\"is-a-linux-user.org\":!0,\"is-a-llama.com\":!0,\"is-a-musician.com\":!0,\"is-a-nascarfan.com\":!0,\"is-a-nurse.com\":!0,\"is-a-painter.com\":!0,\"is-a-patsfan.org\":!0,\"is-a-personaltrainer.com\":!0,\"is-a-photographer.com\":!0,\"is-a-player.com\":!0,\"is-a-republican.com\":!0,\"is-a-rockstar.com\":!0,\"is-a-socialist.com\":!0,\"is-a-soxfan.org\":!0,\"is-a-student.com\":!0,\"is-a-teacher.com\":!0,\"is-a-techie.com\":!0,\"is-a-therapist.com\":!0,\"is-an-accountant.com\":!0,\"is-an-actor.com\":!0,\"is-an-actress.com\":!0,\"is-an-anarchist.com\":!0,\"is-an-artist.com\":!0,\"is-an-engineer.com\":!0,\"is-an-entertainer.com\":!0,\"is-by.us\":!0,\"is-certified.com\":!0,\"is-found.org\":!0,\"is-gone.com\":!0,\"is-into-anime.com\":!0,\"is-into-cars.com\":!0,\"is-into-cartoons.com\":!0,\"is-into-games.com\":!0,\"is-leet.com\":!0,\"is-lost.org\":!0,\"is-not-certified.com\":!0,\"is-saved.org\":!0,\"is-slick.com\":!0,\"is-uberleet.com\":!0,\"is-very-bad.org\":!0,\"is-very-evil.org\":!0,\"is-very-good.org\":!0,\"is-very-nice.org\":!0,\"is-very-sweet.org\":!0,\"is-with-theband.com\":!0,\"isa-geek.com\":!0,\"isa-geek.net\":!0,\"isa-geek.org\":!0,\"isa-hockeynut.com\":!0,\"issmarterthanyou.com\":!0,\"isteingeek.de\":!0,\"istmein.de\":!0,\"kicks-ass.net\":!0,\"kicks-ass.org\":!0,\"knowsitall.info\":!0,\"land-4-sale.us\":!0,\"lebtimnetz.de\":!0,\"leitungsen.de\":!0,\"likes-pie.com\":!0,\"likescandy.com\":!0,\"merseine.nu\":!0,\"mine.nu\":!0,\"misconfused.org\":!0,\"mypets.ws\":!0,\"myphotos.cc\":!0,\"neat-url.com\":!0,\"office-on-the.net\":!0,\"on-the-web.tv\":!0,\"podzone.net\":!0,\"podzone.org\":!0,\"readmyblog.org\":!0,\"saves-the-whales.com\":!0,\"scrapper-site.net\":!0,\"scrapping.cc\":!0,\"selfip.biz\":!0,\"selfip.com\":!0,\"selfip.info\":!0,\"selfip.net\":!0,\"selfip.org\":!0,\"sells-for-less.com\":!0,\"sells-for-u.com\":!0,\"sells-it.net\":!0,\"sellsyourhome.org\":!0,\"servebbs.com\":!0,\"servebbs.net\":!0,\"servebbs.org\":!0,\"serveftp.net\":!0,\"serveftp.org\":!0,\"servegame.org\":!0,\"shacknet.nu\":!0,\"simple-url.com\":!0,\"space-to-rent.com\":!0,\"stuff-4-sale.org\":!0,\"stuff-4-sale.us\":!0,\"teaches-yoga.com\":!0,\"thruhere.net\":!0,\"traeumtgerade.de\":!0,\"webhop.biz\":!0,\"webhop.info\":!0,\"webhop.net\":!0,\"webhop.org\":!0,\"worse-than.tv\":!0,\"writesthisblog.com\":!0,\"eu.org\":!0,\"al.eu.org\":!0,\"asso.eu.org\":!0,\"at.eu.org\":!0,\"au.eu.org\":!0,\"be.eu.org\":!0,\"bg.eu.org\":!0,\"ca.eu.org\":!0,\"cd.eu.org\":!0,\"ch.eu.org\":!0,\"cn.eu.org\":!0,\"cy.eu.org\":!0,\"cz.eu.org\":!0,\"de.eu.org\":!0,\"dk.eu.org\":!0,\"edu.eu.org\":!0,\"ee.eu.org\":!0,\"es.eu.org\":!0,\"fi.eu.org\":!0,\"fr.eu.org\":!0,\"gr.eu.org\":!0,\"hr.eu.org\":!0,\"hu.eu.org\":!0,\"ie.eu.org\":!0,\"il.eu.org\":!0,\"in.eu.org\":!0,\"int.eu.org\":!0,\"is.eu.org\":!0,\"it.eu.org\":!0,\"jp.eu.org\":!0,\"kr.eu.org\":!0,\"lt.eu.org\":!0,\"lu.eu.org\":!0,\"lv.eu.org\":!0,\"mc.eu.org\":!0,\"me.eu.org\":!0,\"mk.eu.org\":!0,\"mt.eu.org\":!0,\"my.eu.org\":!0,\"net.eu.org\":!0,\"ng.eu.org\":!0,\"nl.eu.org\":!0,\"no.eu.org\":!0,\"nz.eu.org\":!0,\"paris.eu.org\":!0,\"pl.eu.org\":!0,\"pt.eu.org\":!0,\"q-a.eu.org\":!0,\"ro.eu.org\":!0,\"ru.eu.org\":!0,\"se.eu.org\":!0,\"si.eu.org\":!0,\"sk.eu.org\":!0,\"tr.eu.org\":!0,\"uk.eu.org\":!0,\"us.eu.org\":!0,\"a.ssl.fastly.net\":!0,\"b.ssl.fastly.net\":!0,\"global.ssl.fastly.net\":!0,\"a.prod.fastly.net\":!0,\"global.prod.fastly.net\":!0,\"firebaseapp.com\":!0,\"flynnhub.com\":!0,\"service.gov.uk\":!0,\"github.io\":!0,\"githubusercontent.com\":!0,\"ro.com\":!0,\"appspot.com\":!0,\"blogspot.ae\":!0,\"blogspot.al\":!0,\"blogspot.am\":!0,\"blogspot.ba\":!0,\"blogspot.be\":!0,\"blogspot.bg\":!0,\"blogspot.bj\":!0,\"blogspot.ca\":!0,\"blogspot.cf\":!0,\"blogspot.ch\":!0,\"blogspot.cl\":!0,\"blogspot.co.at\":!0,\"blogspot.co.id\":!0,\"blogspot.co.il\":!0,\"blogspot.co.ke\":!0,\"blogspot.co.nz\":!0,\"blogspot.co.uk\":!0,\"blogspot.co.za\":!0,\"blogspot.com\":!0,\"blogspot.com.ar\":!0,\"blogspot.com.au\":!0,\"blogspot.com.br\":!0,\"blogspot.com.by\":!0,\"blogspot.com.co\":!0,\"blogspot.com.cy\":!0,\"blogspot.com.ee\":!0,\"blogspot.com.eg\":!0,\"blogspot.com.es\":!0,\"blogspot.com.mt\":!0,\"blogspot.com.ng\":!0,\"blogspot.com.tr\":!0,\"blogspot.com.uy\":!0,\"blogspot.cv\":!0,\"blogspot.cz\":!0,\"blogspot.de\":!0,\"blogspot.dk\":!0,\"blogspot.fi\":!0,\"blogspot.fr\":!0,\"blogspot.gr\":!0,\"blogspot.hk\":!0,\"blogspot.hr\":!0,\"blogspot.hu\":!0,\"blogspot.ie\":!0,\"blogspot.in\":!0,\"blogspot.is\":!0,\"blogspot.it\":!0,\"blogspot.jp\":!0,\"blogspot.kr\":!0,\"blogspot.li\":!0,\"blogspot.lt\":!0,\"blogspot.lu\":!0,\"blogspot.md\":!0,\"blogspot.mk\":!0,\"blogspot.mr\":!0,\"blogspot.mx\":!0,\"blogspot.my\":!0,\"blogspot.nl\":!0,\"blogspot.no\":!0,\"blogspot.pe\":!0,\"blogspot.pt\":!0,\"blogspot.qa\":!0,\"blogspot.re\":!0,\"blogspot.ro\":!0,\"blogspot.rs\":!0,\"blogspot.ru\":!0,\"blogspot.se\":!0,\"blogspot.sg\":!0,\"blogspot.si\":!0,\"blogspot.sk\":!0,\"blogspot.sn\":!0,\"blogspot.td\":!0,\"blogspot.tw\":!0,\"blogspot.ug\":!0,\"blogspot.vn\":!0,\"codespot.com\":!0,\"googleapis.com\":!0,\"googlecode.com\":!0,\"pagespeedmobilizer.com\":!0,\"withgoogle.com\":!0,\"withyoutube.com\":!0,\"herokuapp.com\":!0,\"herokussl.com\":!0,\"iki.fi\":!0,\"biz.at\":!0,\"info.at\":!0,\"co.pl\":!0,\"azurewebsites.net\":!0,\"azure-mobile.net\":!0,\"cloudapp.net\":!0,\"bmoattachments.org\":!0,\"4u.com\":!0,\"nfshost.com\":!0,\"nyc.mn\":!0,\"nid.io\":!0,\"operaunite.com\":!0,\"outsystemscloud.com\":!0,\"art.pl\":!0,\"gliwice.pl\":!0,\"krakow.pl\":!0,\"poznan.pl\":!0,\"wroc.pl\":!0,\"zakopane.pl\":!0,\"pantheon.io\":!0,\"gotpantheon.com\":!0,\"priv.at\":!0,\"qa2.com\":!0,\"rhcloud.com\":!0,\"sandcats.io\":!0,\"biz.ua\":!0,\"co.ua\":!0,\"pp.ua\":!0,\"sinaapp.com\":!0,\"vipsinaapp.com\":!0,\"1kapp.com\":!0,\"gda.pl\":!0,\"gdansk.pl\":!0,\"gdynia.pl\":!0,\"med.pl\":!0,\"sopot.pl\":!0,\"hk.com\":!0,\"hk.org\":!0,\"ltd.hk\":!0,\"inc.hk\":!0,\"yolasite.com\":!0,\"za.net\":!0,\"za.org\":!0})},{punycode:void 0}],463:[function(e,t,n){\"use strict\";function r(){}n.Store=r,r.prototype.synchronous=!1,r.prototype.findCookie=function(e,t,n,r){throw new Error(\"findCookie is not implemented\")},r.prototype.findCookies=function(e,t,n){throw new Error(\"findCookies is not implemented\")},r.prototype.putCookie=function(e,t){throw new Error(\"putCookie is not implemented\")},r.prototype.updateCookie=function(e,t,n){throw new Error(\"updateCookie is not implemented\")},r.prototype.removeCookie=function(e,t,n,r){throw new Error(\"removeCookie is not implemented\")},r.prototype.removeCookies=function(e,t,n){throw new Error(\"removeCookies is not implemented\")},r.prototype.getAllCookies=function(e){throw new Error(\"getAllCookies is not implemented (therefore jar cannot be serialized)\")}},{}],464:[function(e,t,n){t.exports={_args:[[\"tough-cookie@~2.2.0\",\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\"]],_from:\"tough-cookie@>=2.2.0 <2.3.0\",_id:\"tough-cookie@2.2.2\",_inCache:!0,_installable:!0,_location:\"/tough-cookie\",_nodeVersion:\"5.1.1\",_npmOperationalInternal:{host:\"packages-13-west.internal.npmjs.com\",tmp:\"tmp/tough-cookie-2.2.2.tgz_1457564639182_0.5129188685677946\"},_npmUser:{email:\"jstash@gmail.com\",name:\"jstash\"},_npmVersion:\"3.3.12\",_phantomChildren:{},_requested:{name:\"tough-cookie\",raw:\"tough-cookie@~2.2.0\",rawSpec:\"~2.2.0\",scope:null,spec:\">=2.2.0 <2.3.0\",type:\"range\"},_requiredBy:[\"/request\"],_resolved:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\",_shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",_shrinkwrap:null,_spec:\"tough-cookie@~2.2.0\",_where:\"/Users/sedouard/Documents/github/serverless-starter/restApi/lib/node_modules/request\",author:{email:\"jstashewsky@salesforce.com\",name:\"Jeremy Stashewsky\"},bugs:{url:\"https://github.com/SalesforceEng/tough-cookie/issues\"},contributors:[{name:\"Alexander Savin\"},{name:\"Ian Livingstone\"},{name:\"Ivan Nikulin\"},{name:\"Lalit Kapoor\"},{name:\"Sam Thompson\"},{name:\"Sebastian Mayr\"}],dependencies:{},description:\"RFC6265 Cookies and Cookie Jar for node.js\",devDependencies:{async:\"^1.4.2\",vows:\"^0.8.1\"},directories:{},dist:{shasum:\"c83a1830f4e5ef0b93ef2a3488e724f8de016ac7\",tarball:\"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz\"},engines:{node:\">=0.10.0\"},files:[\"lib\"],gitHead:\"cc46628c4d7d2e8c372ecba29293ca8a207ec192\",homepage:\"https://github.com/SalesforceEng/tough-cookie\",keywords:[\"HTTP\",\"RFC2965\",\"RFC6265\",\"cookie\",\"cookiejar\",\"cookies\",\"jar\",\"set-cookie\"],license:\"BSD-3-Clause\",main:\"./lib/cookie\",maintainers:[{name:\"jstash\",email:\"jeremy@goinstant.com\"},{name:\"goinstant\",email:\"services@goinstant.com\"}],name:\"tough-cookie\",optionalDependencies:{},readme:\"ERROR: No README data found!\",repository:{type:\"git\",url:\"git://github.com/SalesforceEng/tough-cookie.git\"},scripts:{suffixup:\"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js\",test:\"vows test/*_test.js\"},version:\"2.2.2\"}},{}],465:[function(e,t,n){(function(t){\"use strict\";function r(e){var t=new s(e);return t.request=l.request,t}function i(e){var t=new s(e);return t.request=l.request,t.createSocket=c,t.defaultPort=443,t}function o(e){var t=new s(e);return t.request=f.request,t}function a(e){var t=new s(e);return t.request=f.request,t.createSocket=c,t.defaultPort=443,t}function s(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||l.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(\"free\",function(e,n,r){for(var i=0,o=t.requests.length;o>i;++i){var a=t.requests[i];if(a.host===n&&a.port===r)return t.requests.splice(i,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function c(e,t){var n=this;s.prototype.createSocket.call(n,e,function(r){var i=p.connect(0,u({},n.options,{servername:e.host,socket:r}));n.sockets[n.sockets.indexOf(r)]=i,t(i)})}function u(e){for(var t=1,n=arguments.length;n>t;++t){var r=arguments[t];if(\"object\"==typeof r)for(var i=Object.keys(r),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==r[s]&&(e[s]=r[s])}}return e}var p=(e(\"net\"),e(\"tls\")),l=e(\"http\"),f=e(\"https\"),d=e(\"events\"),h=e(\"assert\"),m=e(\"util\");n.httpOverHttp=r,n.httpsOverHttp=i,n.httpOverHttps=o,n.httpsOverHttps=a,m.inherits(s,d.EventEmitter),s.prototype.addRequest=function(e,t){var n=this;return\"string\"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),n.sockets.length>=this.maxSockets?void n.requests.push({host:t.host,port:t.port,request:e}):void n.createConnection({host:t.host,port:t.port,request:e})},s.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(n){function r(){t.emit(\"free\",n,e.host,e.port)}function i(e){t.removeSocket(n),n.removeListener(\"free\",r),n.removeListener(\"close\",i),n.removeListener(\"agentRemove\",i)}n.on(\"free\",r),n.on(\"close\",i),n.on(\"agentRemove\",i),e.request.onSocket(n)})},s.prototype.createSocket=function(e,n){function r(e){e.upgrade=!0}function i(e,t,n){process.nextTick(function(){o(e,t,n)})}function o(t,r,i){if(l.removeAllListeners(),r.removeAllListeners(),200===t.statusCode)h.equal(i.length,0),v(\"tunneling connection has established\"),s.sockets[s.sockets.indexOf(c)]=r,n(r);else{v(\"tunneling socket could not be established, statusCode=%d\",t.statusCode);var o=new Error(\"tunneling socket could not be established, statusCode=\"+t.statusCode);o.code=\"ECONNRESET\",e.request.emit(\"error\",o),s.removeSocket(c)}}function a(t){l.removeAllListeners(),v(\"tunneling socket could not be established, cause=%s\\n\",t.message,t.stack);var n=new Error(\"tunneling socket could not be established, cause=\"+t.message);n.code=\"ECONNRESET\",e.request.emit(\"error\",n),s.removeSocket(c)}var s=this,c={};s.sockets.push(c);var p=u({},s.proxyOptions,{method:\"CONNECT\",path:e.host+\":\"+e.port,agent:!1});p.proxyAuth&&(p.headers=p.headers||{},p.headers[\"Proxy-Authorization\"]=\"Basic \"+new t(p.proxyAuth).toString(\"base64\")),v(\"making CONNECT request\");var l=s.request(p);l.useChunkedEncodingByDefault=!1,l.once(\"response\",r),l.once(\"upgrade\",i),l.once(\"connect\",o),l.once(\"error\",a),l.end()},s.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createConnection(n)}};var v;v=process.env.NODE_DEBUG&&/\\btunnel\\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);\"string\"==typeof e[0]?e[0]=\"TUNNEL: \"+e[0]:e.unshift(\"TUNNEL:\"),console.error.apply(console,e)}:function(){},n.debug=v}).call(this,e(\"buffer\").Buffer)},{assert:void 0,buffer:void 0,events:void 0,http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],466:[function(e,t,n){!function(t){\"use strict\";function n(e,t,n,r){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function r(e,t,n,r,i){var o,a=0;for(o=0;i>o;o++)a|=e[t+o]^n[r+o];return(1&a-1>>>8)-1}function i(e,t,n,i){return r(e,t,n,i,16)}function o(e,t,n,i){return r(e,t,n,i,32)}function a(e,t,n,r){\nfor(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;w=w+o|0,_=_+a|0,k=k+s|0,j=j+c|0,S=S+u|0,E=E+p|0,O=O+l|0,A=A+f|0,C=C+d|0,T=T+h|0,I=I+m|0,P=P+v|0,F=F+g|0,M=M+y|0,z=z+b|0,B=B+x|0,e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=_>>>0&255,e[5]=_>>>8&255,e[6]=_>>>16&255,e[7]=_>>>24&255,e[8]=k>>>0&255,e[9]=k>>>8&255,e[10]=k>>>16&255,e[11]=k>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=A>>>0&255,e[29]=A>>>8&255,e[30]=A>>>16&255,e[31]=A>>>24&255,e[32]=C>>>0&255,e[33]=C>>>8&255,e[34]=C>>>16&255,e[35]=C>>>24&255,e[36]=T>>>0&255,e[37]=T>>>8&255,e[38]=T>>>16&255,e[39]=T>>>24&255,e[40]=I>>>0&255,e[41]=I>>>8&255,e[42]=I>>>16&255,e[43]=I>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=F>>>0&255,e[49]=F>>>8&255,e[50]=F>>>16&255,e[51]=F>>>24&255,e[52]=M>>>0&255,e[53]=M>>>8&255,e[54]=M>>>16&255,e[55]=M>>>24&255,e[56]=z>>>0&255,e[57]=z>>>8&255,e[58]=z>>>16&255,e[59]=z>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,n,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,c=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,u=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,d=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,h=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,v=255&n[16]|(255&n[17])<<8|(255&n[18])<<16|(255&n[19])<<24,g=255&n[20]|(255&n[21])<<8|(255&n[22])<<16|(255&n[23])<<24,y=255&n[24]|(255&n[25])<<8|(255&n[26])<<16|(255&n[27])<<24,b=255&n[28]|(255&n[29])<<8|(255&n[30])<<16|(255&n[31])<<24,x=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,w=o,_=a,k=s,j=c,S=u,E=p,O=l,A=f,C=d,T=h,I=m,P=v,F=g,M=y,z=b,B=x,N=0;20>N;N+=2)i=w+F|0,S^=i<<7|i>>>25,i=S+w|0,C^=i<<9|i>>>23,i=C+S|0,F^=i<<13|i>>>19,i=F+C|0,w^=i<<18|i>>>14,i=E+_|0,T^=i<<7|i>>>25,i=T+E|0,M^=i<<9|i>>>23,i=M+T|0,_^=i<<13|i>>>19,i=_+M|0,E^=i<<18|i>>>14,i=I+O|0,z^=i<<7|i>>>25,i=z+I|0,k^=i<<9|i>>>23,i=k+z|0,O^=i<<13|i>>>19,i=O+k|0,I^=i<<18|i>>>14,i=B+P|0,j^=i<<7|i>>>25,i=j+B|0,A^=i<<9|i>>>23,i=A+j|0,P^=i<<13|i>>>19,i=P+A|0,B^=i<<18|i>>>14,i=w+j|0,_^=i<<7|i>>>25,i=_+w|0,k^=i<<9|i>>>23,i=k+_|0,j^=i<<13|i>>>19,i=j+k|0,w^=i<<18|i>>>14,i=E+S|0,O^=i<<7|i>>>25,i=O+E|0,A^=i<<9|i>>>23,i=A+O|0,S^=i<<13|i>>>19,i=S+A|0,E^=i<<18|i>>>14,i=I+T|0,P^=i<<7|i>>>25,i=P+I|0,C^=i<<9|i>>>23,i=C+P|0,T^=i<<13|i>>>19,i=T+C|0,I^=i<<18|i>>>14,i=B+z|0,F^=i<<7|i>>>25,i=F+B|0,M^=i<<9|i>>>23,i=M+F|0,z^=i<<13|i>>>19,i=z+M|0,B^=i<<18|i>>>14;e[0]=w>>>0&255,e[1]=w>>>8&255,e[2]=w>>>16&255,e[3]=w>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=I>>>0&255,e[9]=I>>>8&255,e[10]=I>>>16&255,e[11]=I>>>24&255,e[12]=B>>>0&255,e[13]=B>>>8&255,e[14]=B>>>16&255,e[15]=B>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=A>>>0&255,e[21]=A>>>8&255,e[22]=A>>>16&255,e[23]=A>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=T>>>0&255,e[29]=T>>>8&255,e[30]=T>>>16&255,e[31]=T>>>24&255}function c(e,t,n,r){a(e,t,n,r)}function u(e,t,n,r){s(e,t,n,r)}function p(e,t,n,r,i,o,a){var s,u,p=new Uint8Array(16),l=new Uint8Array(64);for(u=0;16>u;u++)p[u]=0;for(u=0;8>u;u++)p[u]=o[u];for(;i>=64;){for(c(l,p,a,fe),u=0;64>u;u++)e[t+u]=n[r+u]^l[u];for(s=1,u=8;16>u;u++)s=s+(255&p[u])|0,p[u]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(c(l,p,a,fe),u=0;i>u;u++)e[t+u]=n[r+u]^l[u];return 0}function l(e,t,n,r,i){var o,a,s=new Uint8Array(16),u=new Uint8Array(64);for(a=0;16>a;a++)s[a]=0;for(a=0;8>a;a++)s[a]=r[a];for(;n>=64;){for(c(u,s,i,fe),a=0;64>a;a++)e[t+a]=u[a];for(o=1,a=8;16>a;a++)o=o+(255&s[a])|0,s[a]=255&o,o>>>=8;n-=64,t+=64}if(n>0)for(c(u,s,i,fe),a=0;n>a;a++)e[t+a]=u[a];return 0}function f(e,t,n,r,i){var o=new Uint8Array(32);u(o,r,i,fe);for(var a=new Uint8Array(8),s=0;8>s;s++)a[s]=r[s+16];return l(e,t,n,a,o)}function d(e,t,n,r,i,o,a){var s=new Uint8Array(32);u(s,o,a,fe);for(var c=new Uint8Array(8),l=0;8>l;l++)c[l]=o[l+16];return p(e,t,n,r,i,c,s)}function h(e,t,n,r,i,o){var a=new de(o);return a.update(n,r,i),a.finish(e,t),0}function m(e,t,n,r,o,a){var s=new Uint8Array(16);return h(s,0,n,r,o,a),i(e,t,s,0)}function v(e,t,n,r,i){var o;if(32>n)return-1;for(d(e,0,t,0,n,r,i),h(e,16,e,32,n-32,e),o=0;16>o;o++)e[o]=0;return 0}function g(e,t,n,r,i){var o,a=new Uint8Array(32);if(32>n)return-1;if(f(a,0,32,r,i),0!==m(t,16,t,32,n-32,a))return-1;for(d(e,0,t,0,n,r,i),o=0;32>o;o++)e[o]=0;return 0}function y(e,t){var n;for(n=0;16>n;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;16>t;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function x(e,t,n){for(var r,i=~(n-1),o=0;16>o;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function w(e,t){var n,r,i,o=ee(),a=ee();for(n=0;16>n;n++)a[n]=t[n];for(b(a),b(a),b(a),r=0;2>r;r++){for(o[0]=a[0]-65517,n=1;15>n;n++)o[n]=a[n]-65535-(o[n-1]>>16&1),o[n-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),i=o[15]>>16&1,o[14]&=65535,x(a,o,1-i)}for(n=0;16>n;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function _(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return w(n,e),w(r,t),o(n,0,r,0)}function k(e){var t=new Uint8Array(32);return w(t,e),1&t[0]}function j(e,t){var n;for(n=0;16>n;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function S(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]+n[r]}function E(e,t,n){for(var r=0;16>r;r++)e[r]=t[r]-n[r]}function O(e,t,n){var r,i,o=0,a=0,s=0,c=0,u=0,p=0,l=0,f=0,d=0,h=0,m=0,v=0,g=0,y=0,b=0,x=0,w=0,_=0,k=0,j=0,S=0,E=0,O=0,A=0,C=0,T=0,I=0,P=0,F=0,M=0,z=0,B=n[0],N=n[1],D=n[2],q=n[3],R=n[4],L=n[5],$=n[6],U=n[7],H=n[8],V=n[9],W=n[10],Y=n[11],K=n[12],G=n[13],J=n[14],Z=n[15];r=t[0],o+=r*B,a+=r*N,s+=r*D,c+=r*q,u+=r*R,p+=r*L,l+=r*$,f+=r*U,d+=r*H,h+=r*V,m+=r*W,v+=r*Y,g+=r*K,y+=r*G,b+=r*J,x+=r*Z,r=t[1],a+=r*B,s+=r*N,c+=r*D,u+=r*q,p+=r*R,l+=r*L,f+=r*$,d+=r*U,h+=r*H,m+=r*V,v+=r*W,g+=r*Y,y+=r*K,b+=r*G,x+=r*J,w+=r*Z,r=t[2],s+=r*B,c+=r*N,u+=r*D,p+=r*q,l+=r*R,f+=r*L,d+=r*$,h+=r*U,m+=r*H,v+=r*V,g+=r*W,y+=r*Y,b+=r*K,x+=r*G,w+=r*J,_+=r*Z,r=t[3],c+=r*B,u+=r*N,p+=r*D,l+=r*q,f+=r*R,d+=r*L,h+=r*$,m+=r*U,v+=r*H,g+=r*V,y+=r*W,b+=r*Y,x+=r*K,w+=r*G,_+=r*J,k+=r*Z,r=t[4],u+=r*B,p+=r*N,l+=r*D,f+=r*q,d+=r*R,h+=r*L,m+=r*$,v+=r*U,g+=r*H,y+=r*V,b+=r*W,x+=r*Y,w+=r*K,_+=r*G,k+=r*J,j+=r*Z,r=t[5],p+=r*B,l+=r*N,f+=r*D,d+=r*q,h+=r*R,m+=r*L,v+=r*$,g+=r*U,y+=r*H,b+=r*V,x+=r*W,w+=r*Y,_+=r*K,k+=r*G,j+=r*J,S+=r*Z,r=t[6],l+=r*B,f+=r*N,d+=r*D,h+=r*q,m+=r*R,v+=r*L,g+=r*$,y+=r*U,b+=r*H,x+=r*V,w+=r*W,_+=r*Y,k+=r*K,j+=r*G,S+=r*J,E+=r*Z,r=t[7],f+=r*B,d+=r*N,h+=r*D,m+=r*q,v+=r*R,g+=r*L,y+=r*$,b+=r*U,x+=r*H,w+=r*V,_+=r*W,k+=r*Y,j+=r*K,S+=r*G,E+=r*J,O+=r*Z,r=t[8],d+=r*B,h+=r*N,m+=r*D,v+=r*q,g+=r*R,y+=r*L,b+=r*$,x+=r*U,w+=r*H,_+=r*V,k+=r*W,j+=r*Y,S+=r*K,E+=r*G,O+=r*J,A+=r*Z,r=t[9],h+=r*B,m+=r*N,v+=r*D,g+=r*q,y+=r*R,b+=r*L,x+=r*$,w+=r*U,_+=r*H,k+=r*V,j+=r*W,S+=r*Y,E+=r*K,O+=r*G,A+=r*J,C+=r*Z,r=t[10],m+=r*B,v+=r*N,g+=r*D,y+=r*q,b+=r*R,x+=r*L,w+=r*$,_+=r*U,k+=r*H,j+=r*V,S+=r*W,E+=r*Y,O+=r*K,A+=r*G,C+=r*J,T+=r*Z,r=t[11],v+=r*B,g+=r*N,y+=r*D,b+=r*q,x+=r*R,w+=r*L,_+=r*$,k+=r*U,j+=r*H,S+=r*V,E+=r*W,O+=r*Y,A+=r*K,C+=r*G,T+=r*J,I+=r*Z,r=t[12],g+=r*B,y+=r*N,b+=r*D,x+=r*q,w+=r*R,_+=r*L,k+=r*$,j+=r*U,S+=r*H,E+=r*V,O+=r*W,A+=r*Y,C+=r*K,T+=r*G,I+=r*J,P+=r*Z,r=t[13],y+=r*B,b+=r*N,x+=r*D,w+=r*q,_+=r*R,k+=r*L,j+=r*$,S+=r*U,E+=r*H,O+=r*V,A+=r*W,C+=r*Y,T+=r*K,I+=r*G,P+=r*J,F+=r*Z,r=t[14],b+=r*B,x+=r*N,w+=r*D,_+=r*q,k+=r*R,j+=r*L,S+=r*$,E+=r*U,O+=r*H,A+=r*V,C+=r*W,T+=r*Y,I+=r*K,P+=r*G,F+=r*J,M+=r*Z,r=t[15],x+=r*B,w+=r*N,_+=r*D,k+=r*q,j+=r*R,S+=r*L,E+=r*$,O+=r*U,A+=r*H,C+=r*V,T+=r*W,I+=r*Y,P+=r*K,F+=r*G,M+=r*J,z+=r*Z,o+=38*w,a+=38*_,s+=38*k,c+=38*j,u+=38*S,p+=38*E,l+=38*O,f+=38*A,d+=38*C,h+=38*T,m+=38*I,v+=38*P,g+=38*F,y+=38*M,b+=38*z,i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),i=1,r=o+i+65535,i=Math.floor(r/65536),o=r-65536*i,r=a+i+65535,i=Math.floor(r/65536),a=r-65536*i,r=s+i+65535,i=Math.floor(r/65536),s=r-65536*i,r=c+i+65535,i=Math.floor(r/65536),c=r-65536*i,r=u+i+65535,i=Math.floor(r/65536),u=r-65536*i,r=p+i+65535,i=Math.floor(r/65536),p=r-65536*i,r=l+i+65535,i=Math.floor(r/65536),l=r-65536*i,r=f+i+65535,i=Math.floor(r/65536),f=r-65536*i,r=d+i+65535,i=Math.floor(r/65536),d=r-65536*i,r=h+i+65535,i=Math.floor(r/65536),h=r-65536*i,r=m+i+65535,i=Math.floor(r/65536),m=r-65536*i,r=v+i+65535,i=Math.floor(r/65536),v=r-65536*i,r=g+i+65535,i=Math.floor(r/65536),g=r-65536*i,r=y+i+65535,i=Math.floor(r/65536),y=r-65536*i,r=b+i+65535,i=Math.floor(r/65536),b=r-65536*i,r=x+i+65535,i=Math.floor(r/65536),x=r-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=f,e[8]=d,e[9]=h,e[10]=m,e[11]=v,e[12]=g,e[13]=y,e[14]=b,e[15]=x}function A(e,t){O(e,t,t)}function C(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=253;n>=0;n--)A(r,r),2!==n&&4!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function T(e,t){var n,r=ee();for(n=0;16>n;n++)r[n]=t[n];for(n=250;n>=0;n--)A(r,r),1!==n&&O(r,r,t);for(n=0;16>n;n++)e[n]=r[n]}function I(e,t,n){var r,i,o=new Uint8Array(32),a=new Float64Array(80),s=ee(),c=ee(),u=ee(),p=ee(),l=ee(),f=ee();for(i=0;31>i;i++)o[i]=t[i];for(o[31]=127&t[31]|64,o[0]&=248,j(a,n),i=0;16>i;i++)c[i]=a[i],p[i]=s[i]=u[i]=0;for(s[0]=p[0]=1,i=254;i>=0;--i)r=o[i>>>3]>>>(7&i)&1,x(s,c,r),x(u,p,r),S(l,s,u),E(s,s,u),S(u,c,p),E(c,c,p),A(p,l),A(f,s),O(s,u,s),O(u,c,l),S(l,s,u),E(s,s,u),A(c,s),E(u,p,f),O(s,u,ae),S(s,s,p),O(u,u,s),O(s,p,f),O(p,c,a),A(c,l),x(s,c,r),x(u,p,r);for(i=0;16>i;i++)a[i+16]=s[i],a[i+32]=u[i],a[i+48]=c[i],a[i+64]=p[i];var d=a.subarray(32),h=a.subarray(16);return C(d,d),O(h,h,d),w(e,h),0}function P(e,t){return I(e,t,re)}function F(e,t){return te(t,32),P(e,t)}function M(e,t,n){var r=new Uint8Array(32);return I(r,n,t),u(e,ne,r,fe)}function z(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),he(e,t,n,r,a)}function B(e,t,n,r,i,o){var a=new Uint8Array(32);return M(a,i,o),me(e,t,n,r,a)}function N(e,t,n,r){for(var i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_,k,j,S,E,O,A,C,T=new Int32Array(16),I=new Int32Array(16),P=e[0],F=e[1],M=e[2],z=e[3],B=e[4],N=e[5],D=e[6],q=e[7],R=t[0],L=t[1],$=t[2],U=t[3],H=t[4],V=t[5],W=t[6],Y=t[7],K=0;r>=128;){for(_=0;16>_;_++)k=8*_+K,T[_]=n[k+0]<<24|n[k+1]<<16|n[k+2]<<8|n[k+3],I[_]=n[k+4]<<24|n[k+5]<<16|n[k+6]<<8|n[k+7];for(_=0;80>_;_++)if(i=P,o=F,a=M,s=z,c=B,u=N,p=D,l=q,f=R,d=L,h=$,m=U,v=H,g=V,y=W,b=Y,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=B&N^~B&D,S=H&V^~H&W,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=ve[2*_],S=ve[2*_+1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=T[_%16],S=I[_%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,x=65535&A|C<<16,w=65535&E|O<<16,j=x,S=w,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=(P>>>28|R<<4)^(R>>>2|P<<30)^(R>>>7|P<<25),S=(R>>>28|P<<4)^(P>>>2|R<<30)^(P>>>7|R<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,j=P&F^P&M^F&M,S=R&L^R&$^L&$,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,l=65535&A|C<<16,b=65535&E|O<<16,j=s,S=m,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=x,S=w,E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,s=65535&A|C<<16,m=65535&E|O<<16,F=i,M=o,z=a,B=s,N=c,D=u,q=p,P=l,L=f,$=d,U=h,H=m,V=v,W=g,Y=y,R=b,_%16===15)for(k=0;16>k;k++)j=T[k],S=I[k],E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=T[(k+9)%16],S=I[(k+9)%16],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+1)%16],w=I[(k+1)%16],j=(x>>>1|w<<31)^(x>>>8|w<<24)^x>>>7,S=(w>>>1|x<<31)^(w>>>8|x<<24)^(w>>>7|x<<25),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,x=T[(k+14)%16],w=I[(k+14)%16],j=(x>>>19|w<<13)^(w>>>29|x<<3)^x>>>6,S=(w>>>19|x<<13)^(x>>>29|w<<3)^(w>>>6|x<<26),E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,T[k]=65535&A|C<<16,I[k]=65535&E|O<<16;j=P,S=R,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[0],S=t[0],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[0]=P=65535&A|C<<16,t[0]=R=65535&E|O<<16,j=F,S=L,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[1],S=t[1],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[1]=F=65535&A|C<<16,t[1]=L=65535&E|O<<16,j=M,S=$,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[2],S=t[2],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[2]=M=65535&A|C<<16,t[2]=$=65535&E|O<<16,j=z,S=U,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[3],S=t[3],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[3]=z=65535&A|C<<16,t[3]=U=65535&E|O<<16,j=B,S=H,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[4],S=t[4],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[4]=B=65535&A|C<<16,t[4]=H=65535&E|O<<16,j=N,S=V,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[5],S=t[5],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[5]=N=65535&A|C<<16,t[5]=V=65535&E|O<<16,j=D,S=W,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[6],S=t[6],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[6]=D=65535&A|C<<16,t[6]=W=65535&E|O<<16,j=q,S=Y,E=65535&S,O=S>>>16,A=65535&j,C=j>>>16,j=e[7],S=t[7],E+=65535&S,O+=S>>>16,A+=65535&j,C+=j>>>16,O+=E>>>16,A+=O>>>16,C+=A>>>16,e[7]=q=65535&A|C<<16,t[7]=Y=65535&E|O<<16,K+=128,r-=128}return r}function D(e,t,r){var i,o=new Int32Array(8),a=new Int32Array(8),s=new Uint8Array(256),c=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,a[0]=4089235720,a[1]=2227873595,a[2]=4271175723,a[3]=1595750129,a[4]=2917565137,a[5]=725511199,a[6]=4215389547,a[7]=327033209,N(o,a,t,r),r%=128,i=0;r>i;i++)s[i]=t[c-r+i];for(s[r]=128,r=256-128*(112>r?1:0),s[r-9]=0,n(s,r-8,c/536870912|0,c<<3),N(o,a,s,r),i=0;8>i;i++)n(e,8*i,o[i],a[i]);return 0}function q(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee(),u=ee(),p=ee();E(n,e[1],e[0]),E(p,t[1],t[0]),O(n,n,p),S(r,e[0],e[1]),S(p,t[0],t[1]),O(r,r,p),O(i,e[3],t[3]),O(i,i,ce),O(o,e[2],t[2]),S(o,o,o),E(a,r,n),E(s,o,i),S(c,o,i),S(u,r,n),O(e[0],a,s),O(e[1],u,c),O(e[2],c,s),O(e[3],a,u)}function R(e,t,n){var r;for(r=0;4>r;r++)x(e[r],t[r],n)}function L(e,t){var n=ee(),r=ee(),i=ee();C(i,t[2]),O(n,t[0],i),O(r,t[1],i),w(e,r),e[31]^=k(n)<<7}function $(e,t,n){var r,i;for(y(e[0],ie),y(e[1],oe),y(e[2],oe),y(e[3],ie),i=255;i>=0;--i)r=n[i/8|0]>>(7&i)&1,R(e,t,r),q(t,e),q(e,e),R(e,t,r)}function U(e,t){var n=[ee(),ee(),ee(),ee()];y(n[0],ue),y(n[1],pe),y(n[2],oe),O(n[3],ue,pe),$(e,n,t)}function H(e,t,n){var r,i=new Uint8Array(64),o=[ee(),ee(),ee(),ee()];for(n||te(t,32),D(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,U(o,i),L(e,o),r=0;32>r;r++)t[r+32]=e[r];return 0}function V(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;o>i;++i)t[i]+=n-16*t[r]*ge[i-(r-32)],n=t[i]+128>>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;32>i;i++)t[i]+=n-(t[31]>>4)*ge[i],n=t[i]>>8,t[i]&=255;for(i=0;32>i;i++)t[i]-=n*ge[i];for(r=0;32>r;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function W(e){var t,n=new Float64Array(64);for(t=0;64>t;t++)n[t]=e[t];for(t=0;64>t;t++)e[t]=0;V(e,n)}function Y(e,t,n,r){var i,o,a=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),p=[ee(),ee(),ee(),ee()];D(a,r,32),a[0]&=248,a[31]&=127,a[31]|=64;var l=n+64;for(i=0;n>i;i++)e[64+i]=t[i];for(i=0;32>i;i++)e[32+i]=a[32+i];for(D(c,e.subarray(32),n+32),W(c),U(p,c),L(e,p),i=32;64>i;i++)e[i]=r[i];for(D(s,e,n+64),W(s),i=0;64>i;i++)u[i]=0;for(i=0;32>i;i++)u[i]=c[i];for(i=0;32>i;i++)for(o=0;32>o;o++)u[i+o]+=s[i]*a[o];return V(e.subarray(32),u),l}function K(e,t){var n=ee(),r=ee(),i=ee(),o=ee(),a=ee(),s=ee(),c=ee();return y(e[2],oe),j(e[1],t),A(i,e[1]),O(o,i,se),E(i,i,e[2]),S(o,e[2],o),A(a,o),A(s,a),O(c,s,a),O(n,c,i),O(n,n,o),T(n,n),O(n,n,i),O(n,n,o),O(n,n,o),O(e[0],n,o),A(r,e[0]),O(r,r,o),_(r,i)&&O(e[0],e[0],le),A(r,e[0]),O(r,r,o),_(r,i)?-1:(k(e[0])===t[31]>>7&&E(e[0],ie,e[0]),O(e[3],e[0],e[1]),0)}function G(e,t,n,r){var i,a,s=new Uint8Array(32),c=new Uint8Array(64),u=[ee(),ee(),ee(),ee()],p=[ee(),ee(),ee(),ee()];if(a=-1,64>n)return-1;if(K(p,r))return-1;for(i=0;n>i;i++)e[i]=t[i];for(i=0;32>i;i++)e[i+32]=r[i];if(D(c,e,n),W(c),$(u,p,c),U(p,t.subarray(32)),q(u,p),L(s,u),n-=64,o(t,0,s,0)){for(i=0;n>i;i++)e[i]=0;return-1}for(i=0;n>i;i++)e[i]=t[i+64];return a=n}function J(e,t){if(e.length!==ye)throw new Error(\"bad key size\");if(t.length!==be)throw new Error(\"bad nonce size\")}function Z(e,t){if(e.length!==je)throw new Error(\"bad public key size\");if(t.length!==Se)throw new Error(\"bad secret key size\")}function Q(){var e,t;for(t=0;t<arguments.length;t++)if(\"[object Uint8Array]\"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError(\"unexpected type \"+e+\", use Uint8Array\")}function X(e){for(var t=0;t<e.length;t++)e[t]=0}var ee=function(e){var t,n=new Float64Array(16);if(e)for(t=0;t<e.length;t++)n[t]=e[t];return n},te=function(){throw new Error(\"no PRNG\")},ne=new Uint8Array(16),re=new Uint8Array(32);re[0]=9;var ie=ee(),oe=ee([1]),ae=ee([56129,1]),se=ee([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),ce=ee([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),ue=ee([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),pe=ee([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),le=ee([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),fe=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),de=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,n,r,i,o,a,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,n=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|n<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(n>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,a=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|a<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(a>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};de.prototype.blocks=function(e,t,n){for(var r,i,o,a,s,c,u,p,l,f,d,h,m,v,g,y,b,x,w,_=this.fin?0:2048,k=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],O=this.h[4],A=this.h[5],C=this.h[6],T=this.h[7],I=this.h[8],P=this.h[9],F=this.r[0],M=this.r[1],z=this.r[2],B=this.r[3],N=this.r[4],D=this.r[5],q=this.r[6],R=this.r[7],L=this.r[8],$=this.r[9];n>=16;)r=255&e[t+0]|(255&e[t+1])<<8,k+=8191&r,i=255&e[t+2]|(255&e[t+3])<<8,j+=8191&(r>>>13|i<<3),o=255&e[t+4]|(255&e[t+5])<<8,S+=8191&(i>>>10|o<<6),a=255&e[t+6]|(255&e[t+7])<<8,E+=8191&(o>>>7|a<<9),s=255&e[t+8]|(255&e[t+9])<<8,O+=8191&(a>>>4|s<<12),A+=s>>>1&8191,c=255&e[t+10]|(255&e[t+11])<<8,C+=8191&(s>>>14|c<<2),u=255&e[t+12]|(255&e[t+13])<<8,T+=8191&(c>>>11|u<<5),p=255&e[t+14]|(255&e[t+15])<<8,I+=8191&(u>>>8|p<<8),P+=p>>>5|_,l=0,f=l,f+=k*F,f+=j*(5*$),f+=S*(5*L),f+=E*(5*R),f+=O*(5*q),l=f>>>13,f&=8191,f+=A*(5*D),f+=C*(5*N),f+=T*(5*B),f+=I*(5*z),f+=P*(5*M),l+=f>>>13,f&=8191,d=l,d+=k*M,d+=j*F,d+=S*(5*$),d+=E*(5*L),d+=O*(5*R),l=d>>>13,d&=8191,d+=A*(5*q),d+=C*(5*D),d+=T*(5*N),d+=I*(5*B),d+=P*(5*z),l+=d>>>13,d&=8191,h=l,h+=k*z,h+=j*M,h+=S*F,h+=E*(5*$),h+=O*(5*L),l=h>>>13,h&=8191,h+=A*(5*R),h+=C*(5*q),h+=T*(5*D),h+=I*(5*N),h+=P*(5*B),l+=h>>>13,h&=8191,m=l,m+=k*B,m+=j*z,m+=S*M,m+=E*F,m+=O*(5*$),l=m>>>13,m&=8191,m+=A*(5*L),m+=C*(5*R),m+=T*(5*q),m+=I*(5*D),m+=P*(5*N),l+=m>>>13,m&=8191,v=l,v+=k*N,v+=j*B,v+=S*z,v+=E*M,v+=O*F,l=v>>>13,v&=8191,v+=A*(5*$),v+=C*(5*L),v+=T*(5*R),v+=I*(5*q),v+=P*(5*D),l+=v>>>13,v&=8191,g=l,g+=k*D,g+=j*N,g+=S*B,g+=E*z,g+=O*M,l=g>>>13,g&=8191,g+=A*F,g+=C*(5*$),g+=T*(5*L),g+=I*(5*R),g+=P*(5*q),l+=g>>>13,g&=8191,y=l,y+=k*q,y+=j*D,y+=S*N,y+=E*B,y+=O*z,l=y>>>13,y&=8191,y+=A*M,y+=C*F,y+=T*(5*$),y+=I*(5*L),y+=P*(5*R),l+=y>>>13,y&=8191,b=l,b+=k*R,b+=j*q,b+=S*D,b+=E*N,b+=O*B,l=b>>>13,b&=8191,b+=A*z,b+=C*M,b+=T*F,b+=I*(5*$),b+=P*(5*L),l+=b>>>13,b&=8191,x=l,x+=k*L,x+=j*R,x+=S*q,x+=E*D,x+=O*N,l=x>>>13,x&=8191,x+=A*B,x+=C*z,x+=T*M,x+=I*F,x+=P*(5*$),l+=x>>>13,x&=8191,w=l,w+=k*$,w+=j*L,w+=S*R,w+=E*q,w+=O*D,l=w>>>13,w&=8191,w+=A*N,w+=C*B,w+=T*z,w+=I*M,w+=P*F,l+=w>>>13,w&=8191,l=(l<<2)+l|0,l=l+f|0,f=8191&l,l>>>=13,d+=l,k=f,j=d,S=h,E=m,O=v,A=g,C=y,T=b,I=x,P=w,t+=16,n-=16;this.h[0]=k,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=O,this.h[5]=A,this.h[6]=C,this.h[7]=T,this.h[8]=I,this.h[9]=P},de.prototype.finish=function(e,t){var n,r,i,o,a=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;16>o;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(n=this.h[1]>>>13,this.h[1]&=8191,o=2;10>o;o++)this.h[o]+=n,n=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*n,n=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=n,n=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=n,a[0]=this.h[0]+5,n=a[0]>>>13,a[0]&=8191,o=1;10>o;o++)a[o]=this.h[o]+n,n=a[o]>>>13,a[o]&=8191;for(a[9]-=8192,r=(1^n)-1,o=0;10>o;o++)a[o]&=r;for(r=~r,o=0;10>o;o++)this.h[o]=this.h[o]&r|a[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;8>o;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},de.prototype.update=function(e,t,n){var r,i;if(this.leftover){for(i=16-this.leftover,i>n&&(i=n),r=0;i>r;r++)this.buffer[this.leftover+r]=e[t+r];if(n-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(n>=16&&(i=n-n%16,this.blocks(e,t,i),t+=i,n-=i),n){for(r=0;n>r;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=n}};var he=v,me=g,ve=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],ge=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ye=32,be=24,xe=32,we=16,_e=32,ke=32,je=32,Se=32,Ee=32,Oe=be,Ae=xe,Ce=we,Te=64,Ie=32,Pe=64,Fe=32,Me=64;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:d,crypto_stream:f,crypto_stream_salsa20_xor:p,crypto_stream_salsa20:l,crypto_onetimeauth:h,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:o,crypto_secretbox:v,crypto_secretbox_open:g,crypto_scalarmult:I,crypto_scalarmult_base:P,crypto_box_beforenm:M,crypto_box_afternm:he,crypto_box:z,crypto_box_open:B,crypto_box_keypair:F,crypto_hash:D,crypto_sign:Y,crypto_sign_keypair:H,crypto_sign_open:G,crypto_secretbox_KEYBYTES:ye,crypto_secretbox_NONCEBYTES:be,crypto_secretbox_ZEROBYTES:xe,crypto_secretbox_BOXZEROBYTES:we,crypto_scalarmult_BYTES:_e,crypto_scalarmult_SCALARBYTES:ke,crypto_box_PUBLICKEYBYTES:je,crypto_box_SECRETKEYBYTES:Se,crypto_box_BEFORENMBYTES:Ee,crypto_box_NONCEBYTES:Oe,crypto_box_ZEROBYTES:Ae,crypto_box_BOXZEROBYTES:Ce,crypto_sign_BYTES:Te,crypto_sign_PUBLICKEYBYTES:Ie,crypto_sign_SECRETKEYBYTES:Pe,crypto_sign_SEEDBYTES:Fe,crypto_hash_BYTES:Me},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error(\"nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js\")}),t.randomBytes=function(e){var t=new Uint8Array(e);return te(t,e),t},t.secretbox=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(xe+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+xe]=e[o];return v(i,r,r.length,t,n),i.subarray(we)},t.secretbox.open=function(e,t,n){Q(e,t,n),J(n,t);for(var r=new Uint8Array(we+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+we]=e[o];return r.length<32?!1:0!==g(i,r,r.length,t,n)?!1:i.subarray(xe)},t.secretbox.keyLength=ye,t.secretbox.nonceLength=be,t.secretbox.overheadLength=we,t.scalarMult=function(e,t){if(Q(e,t),e.length!==ke)throw new Error(\"bad n size\");if(t.length!==_e)throw new Error(\"bad p size\");var n=new Uint8Array(_e);return I(n,e,t),n},t.scalarMult.base=function(e){if(Q(e),e.length!==ke)throw new Error(\"bad n size\");var t=new Uint8Array(_e);return P(t,e),t},t.scalarMult.scalarLength=ke,t.scalarMult.groupElementLength=_e,t.box=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox(e,n,o)},t.box.before=function(e,t){Q(e,t),Z(e,t);var n=new Uint8Array(Ee);return M(n,e,t),n},t.box.after=t.secretbox,t.box.open=function(e,n,r,i){var o=t.box.before(r,i);return t.secretbox.open(e,n,o)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(je),t=new Uint8Array(Se);return F(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Se)throw new Error(\"bad secret key size\");var t=new Uint8Array(je);return P(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=je,t.box.secretKeyLength=Se,t.box.sharedKeyLength=Ee,t.box.nonceLength=Oe,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(Q(e,t),t.length!==Pe)throw new Error(\"bad secret key size\");var n=new Uint8Array(Te+e.length);return Y(n,e,e.length,t),n},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error(\"nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?\");if(Q(e,t),t.length!==Ie)throw new Error(\"bad public key size\");var n=new Uint8Array(e.length),r=G(n,e,e.length,t);if(0>r)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=n[o];return i},t.sign.detached=function(e,n){for(var r=t.sign(e,n),i=new Uint8Array(Te),o=0;o<i.length;o++)i[o]=r[o];return i},t.sign.detached.verify=function(e,t,n){if(Q(e,t,n),t.length!==Te)throw new Error(\"bad signature size\");if(n.length!==Ie)throw new Error(\"bad public key size\");var r,i=new Uint8Array(Te+e.length),o=new Uint8Array(Te+e.length);for(r=0;Te>r;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+Te]=e[r];return G(o,i,i.length,n)>=0},t.sign.keyPair=function(){var e=new Uint8Array(Ie),t=new Uint8Array(Pe);return H(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(Q(e),e.length!==Pe)throw new Error(\"bad secret key size\");for(var t=new Uint8Array(Ie),n=0;n<t.length;n++)t[n]=e[32+n];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(Q(e),e.length!==Fe)throw new Error(\"bad seed size\");for(var t=new Uint8Array(Ie),n=new Uint8Array(Pe),r=0;32>r;r++)n[r]=e[r];return H(t,n,!0),{publicKey:t,secretKey:n}},t.sign.publicKeyLength=Ie,t.sign.secretKeyLength=Pe,t.sign.seedLength=Fe,t.sign.signatureLength=Te,t.hash=function(e){Q(e);var t=new Uint8Array(Me);return D(t,e,e.length),t},t.hash.hashLength=Me,t.verify=function(e,t){return Q(e,t),0===e.length||0===t.length?!1:e.length!==t.length?!1:0===r(e,0,t,0,e.length)},t.setPRNG=function(e){te=e},function(){var n=\"undefined\"!=typeof self?self.crypto||self.msCrypto:null;if(n&&n.getRandomValues){var r=65536;t.setPRNG(function(e,t){var i,o=new Uint8Array(t);for(i=0;t>i;i+=r)n.getRandomValues(o.subarray(i,i+Math.min(t-i,r)));\nfor(i=0;t>i;i++)e[i]=o[i];X(o)})}else\"undefined\"!=typeof e&&(n=e(\"crypto\"),n&&n.randomBytes&&t.setPRNG(function(e,t){var r,i=n.randomBytes(t);for(r=0;t>r;r++)e[r]=i[r];X(i)}))}()}(\"undefined\"!=typeof t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:void 0}],467:[function(e,t,n){\"use strict\";function r(e,t){var n,r=t,i=u(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var o;for(n=0;n<r.length;n++)if(s(a(o=r[n]),i))return\"+\"===o[0]||-1!==o.indexOf(\"*\")?i:o;return!1}function i(e){return void 0!==e.headers[\"transfer-encoding\"]||!isNaN(e.headers[\"content-length\"])}function o(e,t){var n=t;if(!i(e))return null;if(arguments.length>2){n=new Array(arguments.length-1);for(var o=0;o<n.length;o++)n[o]=arguments[o+1]}var a=e.headers[\"content-type\"];return r(a,n)}function a(e){if(\"string\"!=typeof e)return!1;switch(e){case\"urlencoded\":return\"application/x-www-form-urlencoded\";case\"multipart\":return\"multipart/*\"}return\"+\"===e[0]?\"*/*\"+e:-1===e.indexOf(\"/\")?l.lookup(e):e}function s(e,t){if(e===!1)return!1;var n=t.split(\"/\"),r=e.split(\"/\");return 2!==n.length||2!==r.length?!1:\"*\"!==r[0]&&r[0]!==n[0]?!1:\"*+\"===r[1].substr(0,2)?r[1].length<=n[1].length+1&&r[1].substr(1)===n[1].substr(1-r[1].length):\"*\"===r[1]||r[1]===n[1]}function c(e){var t=p.parse(e);return t.parameters=void 0,p.format(t)}function u(e){try{return c(e)}catch(t){return null}}var p=e(\"media-typer\"),l=e(\"mime-types\");t.exports=o,t.exports.is=r,t.exports.hasBody=i,t.exports.normalize=a,t.exports.match=s},{\"media-typer\":179,\"mime-types\":184}],468:[function(e,t,n){(function(r){function i(e){v[e]=v(e)}function o(e){return{a:function(t){t.prototype&&(t=t.prototype.constructor.name);var n=Object.prototype.toString.call(e).slice(8,-1).toLowerCase();return null!=e&&n===t.toLowerCase()}}}function a(e){var t=Array.indexOf?function(e,t,n){return e.indexOf(t,n)}:function(e,t,n){var r=e.length,i=n?parseInt(1*n+(0>n?r:0),10):0;for(i=0>i?0:i;r>i;i++)if(i in e&&e[i]===t)return i;return-1};return{startWith:function(t){return o(e).a(String)?e.slice(0,t.length)==t:o(e).a(Array)?e[0]==t:!1},endWith:function(t){return o(e).a(String)?e.slice(-t.length)==t:o(e).a(Array)?e[e.length-1]==t:!1},contain:function(n){return o(e).a(String)?-1!=e.indexOf(n):o(e).a(Object)?e.hasOwnProperty(n):o(e).a(Array)?!!~t(e,n):!1}}}var s=e(\"string_decoder\").StringDecoder,c=e(\"querystring\"),u=e(\"form-data\"),p=e(\"stream\"),l=e(\"mime\"),f=e(\"zlib\"),d=e(\"path\"),h=e(\"url\"),m=e(\"fs\");l.define({\"application/x-www-form-urlencoded\":[\"form\",\"urlencoded\",\"form-data\"]});var v=function(e,t,n,i,c){var g=function(t,n,i,c){function g(e,t,n){var r,i,a,s;if(n=n||{attachment:!1},o(e).a(Object))for(a in e)e.hasOwnProperty(a)&&g(a,e[a],n);else if(o(t).a(Array))for(s=0,i=t.length;i>s;s++)(r=y(t[s]))&&x.rawField(e,r,n);else null!=t&&x.rawField(e,y(t),n);return x}function y(e){return e instanceof r||\"string\"==typeof e?e:o(e).a(Object)?e instanceof m.FileReadStream?e:v.serializers.json(e):e.toString()}function b(e,t){x[e]=function(n){return x.options[t||e]=n,x}}var x={_stream:!1,_multipart:[],_form:[],options:{url:t,method:e,headers:{}},hasHeader:function(e){var t,n;e=e.toLowerCase(),t=Object.keys(x.options.headers),n=t.map(function(e){return e.toLowerCase()});for(var r=0;r<n.length;r++)if(n[r]===e)return t[r];return!1},stream:function(){return x._stream=!0,this},field:function(e,t,n){return g(e,t,n)},attach:function(e,t,n){return n=n||{},n.attachment=!0,g(e,t,n)},rawField:function(e,t,n){x._multipart.push({name:e,value:t,options:n,attachment:n.attachment||!1})},auth:function(e,t,n){return x.options.auth=o(e).a(Object)?e:{user:e,password:t,sendImmediately:n},x},header:function(e,t){if(o(e).a(Object)){for(var n in e)e.hasOwnProperty(n)&&x.header(n,e[n]);return x}var r=x.hasHeader(e);return x.options.headers[r||e]=t,x},query:function(e){return o(e).a(Object)&&(e=v.serializers.form(e)),e.length?(x.options.url+=(a(x.options.url).contain(\"?\")?\"&\":\"?\")+e,x):x},type:function(e){return x.header(\"Content-Type\",a(e).contain(\"/\")?e:l.lookup(e)),x},send:function(e){var t=x.options.headers[x.hasHeader(\"content-type\")];if(o(e).a(Object)&&!r.isBuffer(e))if(t)if(t.indexOf(\"json\"))if(x.options.json=!0,x.options.body&&o(x.options.body).a(Object))for(var n in e)e.hasOwnProperty(n)&&(x.options.body[n]=e[n]);else x.options.body=e;else x.options.body=v.Request.serialize(e,t);else x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")],x.options.body=v.serializers.form(e);else o(e).a(String)?(t||(x.type(\"form\"),t=x.options.headers[x.hasHeader(\"content-type\")]),\"application/x-www-form-urlencoded\"==t?x.options.body=x.options.body?x.options.body+\"&\"+e:e:x.options.body=(x.options.body||\"\")+e):x.options.body=e;return x},part:function(e){if(x._multipart||(x.options.multipart=[]),o(e).a(Object)){if(e[\"content-type\"]){var t=v.type(e[\"content-type\"],!0);t&&(e.body=v.Response.parse(e.body))}else o(e.body).a(Object)&&(e.body=Request.serializers.json(e.body));x.options.multipart.push(e)}else x.options.multipart.push({body:e});return x},end:function(e){function t(t,n,r){function i(e){var t=v.trim(e).split(\"=\"),n=v.trim(t[0]),r=v.trim(t.slice(1).join(\"=\"));t[0]&&\"\"!=t[0]&&(p.cookies[n]=\"\"===r?!0:r)}var s,c,u,p={};if(t&&!n)return p.error=t,void(e&&e(p));if(!n)return console.log(\"This is odd, report this action / request to: http://github.com/mashape/unirest-nodejs\"),p.error={message:\"No response found.\"},void(e&&e(p));if(p=n,s=n.statusCode,u=s/100|0,p.code=s,p.status=s,p.statusType=u,p.info=1==u,p.ok=2==u,p.clientError=4==u,p.serverError=5==u,p.accepted=202==s,p.noContent=204==s||1223==s,p.badRequest=400==s,p.unauthorized=401==s,p.notAcceptable=406==s,p.notFound=404==s,p.forbidden=403==s,p.error=4==u||5==u?function(){var e=\"got \"+p.status+\" response\",t=new Error(e);return t.status=p.status,t}():!1,p.cookies={},p.cookie=function(e){return p.cookies[e]},n.cookies&&o(n.cookies).a(Object)&&Object.keys(n.cookies).length>0)p.cookies=n.cookies;else{var l=n.headers[\"set-cookie\"];if(l&&o(l).a(Array))for(var f=0;f<l.length;f++){var d=l[f];o(d).a(String)&&a(d).contain(\";\")&&d.split(\";\").forEach(i)}l=n.headers.cookie,l&&o(l).a(String)&&l.split(\";\").forEach(i)}r=r||n.body,p.raw_body=r,p.headers=n.headers,r&&(u=v.type(p.headers[\"content-type\"],!0),c=u?v.Response.parse(r,u):r),p.body=c,e&&e(p)}function n(e){if(/^(deflate|gzip)$/.test(e.headers[\"content-encoding\"])){var t,n=f.createUnzip(),r=new p,i=e.on;r.req=e.req,n.on(\"error\",function(e){r.emit(\"error\",e)}),e.pipe(n),e.setEncoding=function(e){t=new s(e)},n.on(\"data\",function(e){if(!t)return r.emit(\"data\",e);var n=t.write(e);n.length&&r.emit(\"data\",n)}),n.on(\"end\",function(){r.emit(\"end\")}),e.on=function(t,n){\"data\"==t||\"end\"==t?r.on(t,n):\"error\"==t?i.call(e,t,n):i.call(e,t,n)}}}function r(e){for(var t=0;t<x._multipart.length;t++){var n=x._multipart[t];n.attachment&&o(n.value).a(String)&&(a(n.value).contain(\"http://\")||a(n.value).contain(\"https://\")?n.value=v.request(n.value):n.value=m.createReadStream(d.resolve(n.value))),e.append(n.name,n.value,n.options)}return e}var i,c,l,g;return x._multipart.length&&!x._stream?(l=h.parse(x.options.url),g=new u,(c=x.options.headers[x.hasHeader(\"content-type\")])?x.options.headers[\"content-type\"]=c.split(\";\")[0]+\"; boundary=\"+g.getBoundary():x.options.headers[\"content-type\"]=\"multipart/form-data; boundary=\"+g.getBoundary(),r(g).submit({protocol:l.protocol,port:l.port,host:l.hostname,path:l.path,method:x.options.method,headers:x.options.headers,auth:x.options.auth||l.auth},function(e,r){var i=new s(\"utf8\");return e?t(e,r):(r.body||(r.body=\"\"),r.resume(),n(r),r.on(\"data\",function(e){\"string\"==typeof e?r.body+=e:r.body+=i.write(e)}),void r.on(\"end\",function(){return t(e,r)}))})):(i=v.request(x.options,t),i.on(\"response\",n),x._multipart.length&&x._stream&&r(i.form()),i)}};x.headers=x.header,x.set=x.header,x.complete=x.end,x.as={json:x.end,binary:x.end,string:x.end};for(var w in v[\"enum\"].options)if(v[\"enum\"].options.hasOwnProperty(w)){var _=v[\"enum\"].options[w],k=null;-1!=_.indexOf(\":\")&&(_=_.split(\":\"),k=_[1],_=_[0]),b(_,k)}return n&&\"function\"==typeof n?(c=n,n=null):i&&\"function\"==typeof i&&(c=i,i=null),n&&x.set(n),i&&x.send(i),c?x.end(c):x};return t?g(t,n,i,c):g};v.type=function(e,t){return\"string\"!=typeof e?!1:t?e.split(/ *; */).shift():v.types[e]||e},v.params=function(e){return reduce(e.split(/ *; */),function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e},{})},v.trim=\"\".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\\s*|\\s*$)/g,\"\")},v.parsers={string:function(e){for(var t,n,r={},i=e.split(\"&\"),o=0,a=i.length;a>o;++o)n=i[o],t=n.split(\"=\"),r[decodeURIComponent(t[0])]=decodeURIComponent(t[1]);return r},json:function(e){try{e=JSON.parse(e)}catch(t){}return e}},v.serializers={form:function(e){return c.stringify(e)},json:function(e){return JSON.stringify(e)}},v.Request={serialize:function(e,t){var n=v.firstMatch(t,v[\"enum\"].serialize);return n?n(e):e},uid:function(e){for(var t=\"\",n=\"abcdefghijklmnopqrstuvwxyz123456789\",r=n.length;e--;)t+=n[Math.random()*r|0];return t}},v.Response={parse:function(e,t){var n=v.firstMatch(t,v[\"enum\"].parse);return n?n(e):e},parseHeader:function(e){var t,n,r,i,o=e.split(/\\r?\\n/),a={};o.pop();for(var s=0,c=o.length;c>s;++s)n=o[s],t=n.indexOf(\":\"),r=n.slice(0,t).toLowerCase(),i=trim(n.slice(t+1)),a[r]=i;return a}},v.request=e(\"request\"),v.cookie=v.request.cookie,v.pipe=v.request.pipe,v.jar=function(e){e=e||{};var t=v.request.jar();return e.store&&(t._jar.store=e.store),e.rejectPublicSuffixes&&(t._jar.rejectPublicSuffixes=e.rejectPublicSuffixes),t.add=t.setCookie,t.toString=t.getCookieString,t},v[\"enum\"]={serialize:{\"application/x-www-form-urlencoded\":v.serializers.form,\"application/json\":v.serializers.json,\"+json\":v.serializers.json},parse:{\"application/x-www-form-urlencoded\":v.parsers.string,\"application/json\":v.parsers.json,\"+json\":v.parsers.json},methods:[\"GET\",\"HEAD\",\"PUT\",\"POST\",\"PATCH\",\"DELETE\",\"OPTIONS\"],options:[\"uri:url\",\"redirects:maxRedirects\",\"redirect:followRedirect\",\"url\",\"method\",\"qs\",\"form\",\"json\",\"multipart\",\"followRedirect\",\"followAllRedirects\",\"maxRedirects\",\"encoding\",\"pool\",\"timeout\",\"proxy\",\"oauth\",\"hawk\",\"ssl:strictSSL\",\"strictSSL\",\"jar\",\"cookies:jar\",\"aws\",\"httpSignature\",\"localAddress\",\"ip:localAddress\",\"secureProtocol\",\"forever\"]},v.matches=function(e,t){var n=[];for(var r in t)\"undefined\"!=typeof t.length&&(r=t[r]),-1!==e.indexOf(r)&&n.push(t[r]);return n},v.firstMatch=function(e,t){return v.matches(e,t)[0]};for(var g=0;g<v[\"enum\"].methods.length;g++){var y=v[\"enum\"].methods[g].toLowerCase();i(y)}t.exports=n=v}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"form-data\":487,fs:void 0,mime:506,path:void 0,querystring:void 0,request:517,stream:void 0,string_decoder:void 0,url:void 0,zlib:void 0}],469:[function(e,t,n){arguments[4][4][0].apply(n,arguments)},{dup:4}],470:[function(e,t,n){arguments[4][5][0].apply(n,arguments)},{\"./errors\":469,\"./reader\":471,\"./types\":472,\"./writer\":473,dup:5}],471:[function(e,t,n){(function(n){function r(e){if(!e||!n.isBuffer(e))throw new TypeError(\"data must be a node Buffer\");this._buf=e,this._size=e.length,this._len=0,this._offset=0;var t=this;this.__defineGetter__(\"length\",function(){return t._len}),this.__defineGetter__(\"offset\",function(){return t._offset}),this.__defineGetter__(\"remain\",function(){return t._size-t._offset}),this.__defineGetter__(\"buffer\",function(){return t._buf.slice(t._offset)})}var i=e(\"assert\"),o=e(\"./types\"),a=e(\"./errors\"),s=a.newInvalidAsn1Error;r.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},r.prototype.peek=function(){return this.readByte(!0)},r.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(t&=127,0==t)throw s(\"Indefinite length not supported\");if(t>4)throw s(\"encoding too long\");if(this._size-e<t)return null;this._len=0;for(var n=0;t>n;n++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},r.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);return null===n?null:(this._offset=n,t)},r.prototype.readInt=function(){return this._readTag(o.Integer)},r.prototype.readBoolean=function(){return 0!==this._readTag(o.Boolean)},r.prototype.readEnumeration=function(){return this._readTag(o.Enumeration)},r.prototype.readString=function(e,t){e||(e=o.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+n.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>this._size-r)return null;if(this._offset=r,0===this.length)return\"\";var i=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?i:i.toString(\"utf8\")},r.prototype.readOID=function(e){e||(e=o.OID);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>this._size-n)return null;this._offset=n;for(var r=[],i=0,a=0;a<this.length;a++){var c=255&this._buf[this._offset++];i<<=7,i+=127&c,0==(128&c)&&(r.push(i),i=0)}return i=r.shift(),r.unshift(i%40),r.unshift(i/40>>0),r.join(\".\")},r.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw s(\"Expected 0x\"+e.toString(16)+\": got 0x\"+t.toString(16));var n=this.readLength(this._offset+1);if(null===n)return null;if(this.length>4)throw s(\"Integer too long: \"+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset++],o=0;o=127&r;for(var a=1;a<this.length;a++)o<<=8,o|=255&this._buf[this._offset++];return 128==(128&r)&&(o=-o),o},t.exports=r}).call(this,{isBuffer:e(\"../../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../../node_modules/is-buffer/index.js\":538,\"./errors\":469,\"./types\":472,assert:void 0}],472:[function(e,t,n){arguments[4][7][0].apply(n,arguments)},{dup:7}],473:[function(e,t,n){(function(n){function r(e,t){o.ok(e),o.equal(typeof e,\"object\"),o.ok(t),o.equal(typeof t,\"object\");var n=Object.getOwnPropertyNames(e);return n.forEach(function(n){if(!t[n]){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r)}}),t}function i(e){e=r(c,e||{}),this._buf=new n(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[];var t=this;this.__defineGetter__(\"buffer\",function(){if(t._seq.length)throw new InvalidAsn1Error(t._seq.length+\" unended sequence(s)\");return t._buf.slice(0,t._offset)})}var o=e(\"assert\"),a=e(\"./types\"),s=e(\"./errors\"),c=(s.newInvalidAsn1Error,{size:1024,growthFactor:8});i.prototype.writeByte=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");\"number\"!=typeof t&&(t=a.Integer);for(var n=4;(0===(4286578688&e)||4286578688===(4286578688&e))&&n>1;)n--,e<<=8;if(n>4)throw new InvalidAsn1Error(\"BER ints cannot be > 0xffffffff\");for(this._ensure(2+n),this._buf[this._offset++]=t,this._buf[this._offset++]=n;n-- >0;)this._buf[this._offset++]=(4278190080&e)>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(a.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");return\"number\"!=typeof t&&(t=a.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if(\"boolean\"!=typeof e)throw new TypeError(\"argument must be a Boolean\");\"number\"!=typeof t&&(t=a.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string (was: \"+typeof e+\")\");\"number\"!=typeof t&&(t=a.OctetString);var r=n.byteLength(e);this.writeByte(t),this.writeLength(r),r&&(this._ensure(r),this._buf.write(e,this._offset),this._offset+=r)},i.prototype.writeBuffer=function(e,t){if(\"number\"!=typeof t)throw new TypeError(\"tag must be a number\");if(!n.isBuffer(e))throw new TypeError(\"argument must be a buffer\");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError(\"argument must be an Array[String]\");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function n(e,t){128>t?e.push(t):16384>t?(e.push(t>>>7|128),e.push(127&t)):2097152>t?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):268435456>t?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if(\"string\"!=typeof e)throw new TypeError(\"argument must be a string\");if(\"number\"!=typeof t&&(t=a.OID),!/^([0-9]+\\.){3,}[0-9]+$/.test(e))throw new Error(\"argument is not a valid OID string\");var r=e.split(\".\"),i=[];i.push(40*parseInt(r[0],10)+parseInt(r[1],10)),r.slice(2).forEach(function(e){n(i,parseInt(e,10))});var o=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){o.writeByte(e)})},i.prototype.writeLength=function(e){if(\"number\"!=typeof e)throw new TypeError(\"argument must be a Number\");if(this._ensure(4),127>=e)this._buf[this._offset++]=e;else if(255>=e)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(65535>=e)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(16777215>=e))throw new InvalidAsn1ERror(\"Length too long (> 4 bytes)\");this._shift(start,e,1),this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){\"number\"!=typeof e&&(e=a.Sequence|a.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,n=this._offset-t;if(127>=n)this._shift(t,n,-2),this._buf[e]=n;else if(255>=n)this._shift(t,n,-1),this._buf[e]=129,this._buf[e+1]=n;else if(65535>=n)this._buf[e]=130,this._buf[e+1]=n>>8,this._buf[e+2]=n;else{if(!(16777215>=n))throw new InvalidAsn1Error(\"Sequence too long\");this._shift(t,n,1),this._buf[e]=131,this._buf[e+1]=n>>16,this._buf[e+2]=n>>8,this._buf[e+3]=n}},i.prototype._shift=function(e,t,n){o.ok(void 0!==e),o.ok(void 0!==t),o.ok(n),this._buf.copy(this._buf,e+n,e,e+t),this._offset+=n},i.prototype._ensure=function(e){if(o.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var r=new n(t);this._buf.copy(r,0,0,this._offset),this._buf=r,this._size=t}},t.exports=i}).call(this,e(\"buffer\").Buffer)},{\"./errors\":469,\"./types\":472,assert:void 0,buffer:void 0}],474:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{\"./ber/index\":470,dup:9}],475:[function(e,t,n){(function(n){function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function i(e){return e.charAt(0).toLowerCase()+e.slice(1)}function o(){return _.format.apply(_,arguments)}function a(e,t,n,r){if(!k){n=n||t,r=r||a.caller;var i=typeof e;if(i!==t)throw new x.AssertionError({message:o(E,n,t),actual:i,expected:t,operator:\"===\",stackStartFunction:r})}}function s(e,t,n,r){if(!(k||(n=n||t,r=r||s.caller,e instanceof t)))throw new x.AssertionError({message:o(E,n,t.name),actual:c(e),expected:t.name,operator:\"instanceof\",stackStartFunction:r})}function c(e){return Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,n){if(!k){if(n=n||t,!Array.isArray(e))throw new x.AssertionError({message:o(S,n,t),actual:typeof e,expected:\"array\",operator:\"Array.isArray\",stackStartFunction:u.caller});for(var r=0;r<e.length;r++)a(e[r],t,n,u)}}function p(e,t){a(e,\"boolean\",t,p)}function l(e,t){if(!n.isBuffer(e))throw new x.AssertionError({message:o(E,t||\"\",\"Buffer\"),actual:typeof e,expected:\"buffer\",operator:\"Buffer.isBuffer\",stackStartFunction:l})}function f(e,t){a(e,\"function\",t)}function d(e,t){if(a(e,\"number\",t),!k&&(isNaN(e)||!isFinite(e)))throw new x.AssertionError({message:o(E,t,\"number\"),actual:e,expected:\"number\",operator:\"isNaN\",stackStartFunction:d})}function h(e,t){a(e,\"object\",t)}function m(e,t){s(e,w,t)}function v(e,t){s(e,Date,t)}function g(e,t){s(e,RegExp,t)}function y(e,t){a(e,\"string\",t)}function b(e,t){if(y(e,t),!k&&!j.test(e))throw new x.AssertionError({message:o(E,t,\"uuid\"),actual:\"string\",expected:\"uuid\",operator:\"test\",stackStartFunction:b})}var x=e(\"assert\"),w=e(\"stream\").Stream,_=e(\"util\"),k=process.env.NODE_NDEBUG||!1,j=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,S=\"%s ([%s]) required\",E=\"%s (%s) is required\";t.exports={bool:p,buffer:l,date:v,func:f,number:d,object:h,regexp:g,stream:m,string:y,uuid:b},Object.keys(t.exports).forEach(function(e){if(\"buffer\"!==e){var n=\"arrayOf\"+r(e);\"bool\"===e&&(e=\"boolean\"),\"func\"===e&&(e=\"function\"),t.exports[n]=function(t,n){u(t,e,n)}}}),Object.keys(t.exports).forEach(function(e){var n=\"optional\"+r(e),o=i(e.replace(\"arrayOf\",\"\"));\"bool\"===o&&(o=\"boolean\"),\"func\"===o&&(o=\"function\"),-1!==e.indexOf(\"arrayOf\")?t.exports[n]=function(e,t){k||void 0===e||u(e,o,t)}:t.exports[n]=function(e,t){k||void 0===e||a(e,o,t)}}),Object.keys(x).forEach(function(e){return\"AssertionError\"===e?void(t.exports[e]=x[e]):void(t.exports[e]=function(){k||x[e].apply(x[e],arguments)})})}).call(this,{isBuffer:e(\"../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../node_modules/is-buffer/index.js\":538,assert:void 0,stream:void 0,util:void 0}],476:[function(e,t,n){!function(){function e(e){var t=!1;return function(){if(t)throw new Error(\"Callback was already called.\");t=!0,e.apply(n,arguments)}}var n,r,i={};n=this,null!=n&&(r=n.async),i.noConflict=function(){return n.async=r,i};var o=Object.prototype.toString,a=Array.isArray||function(e){return\"[object Array]\"===o.call(e)},s=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)},c=function(e,t){if(e.map)return e.map(t);var n=[];return s(e,function(e,r,i){n.push(t(e,r,i))}),n},u=function(e,t,n){return e.reduce?e.reduce(t,n):(s(e,function(e,r,i){n=t(n,e,r,i)}),n)},p=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t};\"undefined\"!=typeof process&&process.nextTick?(i.nextTick=process.nextTick,\"undefined\"!=typeof setImmediate?i.setImmediate=function(e){setImmediate(e)}:i.setImmediate=i.nextTick):\"function\"==typeof setImmediate?(i.nextTick=function(e){setImmediate(e)},i.setImmediate=i.nextTick):(i.nextTick=function(e){setTimeout(e,0)},i.setImmediate=i.nextTick),i.each=function(t,n,r){function i(e){e?(r(e),r=function(){}):(o+=1,o>=t.length&&r())}if(r=r||function(){},!t.length)return r();var o=0;s(t,function(t){n(t,e(i))})},i.forEach=i.each,i.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var r=0,i=function(){t(e[r],function(t){t?(n(t),n=function(){}):(r+=1,r>=e.length?n():i())})};i()},i.forEachSeries=i.eachSeries,i.eachLimit=function(e,t,n,r){var i=l(t);i.apply(null,[e,n,r])},i.forEachLimit=i.eachLimit;var l=function(e){return function(t,n,r){if(r=r||function(){},!t.length||0>=e)return r();var i=0,o=0,a=0;!function s(){if(i>=t.length)return r();for(;e>a&&o<t.length;)o+=1,a+=1,n(t[o-1],function(e){e?(r(e),r=function(){}):(i+=1,a-=1,i>=t.length?r():s())})}()}},f=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.each].concat(t))}},d=function(e,t){return function(){var n=Array.prototype.slice.call(arguments);return t.apply(null,[l(e)].concat(n))}},h=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.apply(null,[i.eachSeries].concat(t))}},m=function(e,t,n,r){if(t=c(t,function(e,t){return{index:t,value:e}}),r){var i=[];e(t,function(e,t){n(e.value,function(n,r){i[e.index]=r,t(n)})},function(e){r(e,i)})}else e(t,function(e,t){n(e.value,function(e){t(e)})})};i.map=f(m),i.mapSeries=h(m),i.mapLimit=function(e,t,n,r){return v(t)(e,n,r)};var v=function(e){return d(e,m)};i.reduce=function(e,t,n,r){i.eachSeries(e,function(e,r){n(t,e,function(e,n){t=n,r(e)})},function(e){r(e,t)})},i.inject=i.reduce,i.foldl=i.reduce,i.reduceRight=function(e,t,n,r){var o=c(e,function(e){return e}).reverse();i.reduce(o,t,n,r)},i.foldr=i.reduceRight;var g=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n&&i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.filter=f(g),i.filterSeries=h(g),i.select=i.filter,i.selectSeries=i.filterSeries;var y=function(e,t,n,r){var i=[];t=c(t,function(e,t){return{index:t,value:e}}),e(t,function(e,t){n(e.value,function(n){n||i.push(e),t()})},function(e){r(c(i.sort(function(e,t){return e.index-t.index}),function(e){return e.value}))})};i.reject=f(y),i.rejectSeries=h(y);var b=function(e,t,n,r){e(t,function(e,t){n(e,function(n){n?(r(e),r=function(){}):t()})},function(e){r()})};i.detect=f(b),i.detectSeries=h(b),i.some=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e&&(n(!0),n=function(){}),r()})},function(e){n(!1)})},i.any=i.some,i.every=function(e,t,n){i.each(e,function(e,r){t(e,function(e){e||(n(!1),n=function(){}),r()})},function(e){n(!0)})},i.all=i.every,i.sortBy=function(e,t,n){i.map(e,function(e,n){t(e,function(t,r){t?n(t):n(null,{value:e,criteria:r})})},function(e,t){if(e)return n(e);var r=function(e,t){var n=e.criteria,r=t.criteria;return r>n?-1:n>r?1:0};n(null,c(t.sort(r),function(e){return e.value}))})},i.auto=function(e,t){t=t||function(){};var n=p(e),r=n.length;if(!r)return t();var o={},c=[],l=function(e){c.unshift(e)},f=function(e){for(var t=0;t<c.length;t+=1)if(c[t]===e)return void c.splice(t,1)},d=function(){r--,s(c.slice(0),function(e){e()})};l(function(){if(!r){var e=t;t=function(){},e(null,o)}}),s(n,function(n){var r=a(e[n])?e[n]:[e[n]],c=function(e){var r=Array.prototype.slice.call(arguments,1);if(r.length<=1&&(r=r[0]),e){var a={};s(p(o),function(e){a[e]=o[e]}),a[n]=r,t(e,a),t=function(){}}else o[n]=r,i.setImmediate(d)},h=r.slice(0,Math.abs(r.length-1))||[],m=function(){return u(h,function(e,t){return e&&o.hasOwnProperty(t)},!0)&&!o.hasOwnProperty(n)};if(m())r[r.length-1](c,o);else{var v=function(){m()&&(f(v),r[r.length-1](c,o))};l(v)}})},i.retry=function(e,t,n){var r=5,o=[];\"function\"==typeof e&&(n=t,t=e,e=r),e=parseInt(e,10)||r;var a=function(r,a){for(var s=function(e,t){return function(n){e(function(e,r){n(!e||t,{err:e,result:r})},a)}};e;)o.push(s(t,!(e-=1)));i.series(o,function(e,t){t=t[t.length-1],(r||n)(t.err,t.result)})};return n?a():a},i.waterfall=function(e,t){if(t=t||function(){},!a(e)){var n=new Error(\"First argument to waterfall must be an array of functions\");return t(n)}if(!e.length)return t();var r=function(e){return function(n){if(n)t.apply(null,arguments),t=function(){};else{var o=Array.prototype.slice.call(arguments,1),a=e.next();a?o.push(r(a)):o.push(t),i.setImmediate(function(){e.apply(null,o)})}}};r(i.iterator(e))()};var x=function(e,t,n){if(n=n||function(){},a(t))e.map(t,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},n);else{var r={};e.each(p(t),function(e,n){t[e](function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[e]=i,n(t)})},function(e){n(e,r)})}};i.parallel=function(e,t){x({map:i.map,each:i.each},e,t)},i.parallelLimit=function(e,t,n){x({map:v(t),each:l(t)},e,n)},i.series=function(e,t){if(t=t||function(){},a(e))i.mapSeries(e,function(e,t){e&&e(function(e){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),t.call(null,e,n)})},t);else{var n={};i.eachSeries(p(e),function(t,r){e[t](function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[t]=i,r(e)})},function(e){t(e,n)})}},i.iterator=function(e){var t=function(n){var r=function(){return e.length&&e[n].apply(null,arguments),r.next()};return r.next=function(){return n<e.length-1?t(n+1):null},r};return t(0)},i.apply=function(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var w=function(e,t,n,r){var i=[];e(t,function(e,t){n(e,function(e,n){i=i.concat(n||[]),t(e)})},function(e){r(e,i)})};i.concat=f(w),i.concatSeries=h(w),i.whilst=function(e,t,n){e()?t(function(r){return r?n(r):void i.whilst(e,t,n)}):n()},i.doWhilst=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?i.doWhilst(e,t,n):n()})},i.until=function(e,t,n){e()?n():t(function(r){return r?n(r):void i.until(e,t,n)})},i.doUntil=function(e,t,n){e(function(r){if(r)return n(r);var o=Array.prototype.slice.call(arguments,1);t.apply(null,o)?n():i.doUntil(e,t,n)})},i.queue=function(t,n){function r(e,t,n,r){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var o={data:t,callback:\"function\"==typeof r?r:null};n?e.tasks.unshift(o):e.tasks.push(o),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}void 0===n&&(n=1);var o=0,c={tasks:[],concurrency:n,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(e,t){r(c,e,!1,t)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(e,t){r(c,e,!0,t)},process:function(){if(!c.paused&&o<c.concurrency&&c.tasks.length){var n=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),o+=1;var r=function(){o-=1,n.callback&&n.callback.apply(n,arguments),c.drain&&c.tasks.length+o===0&&c.drain(),c.process()},i=e(r);t(n.data,i)}},length:function(){return c.tasks.length},running:function(){return o},idle:function(){return c.tasks.length+o===0},pause:function(){c.paused!==!0&&(c.paused=!0)},resume:function(){if(c.paused!==!1){c.paused=!1;for(var e=1;e<=c.concurrency;e++)i.setImmediate(c.process)}}};return c},i.priorityQueue=function(e,t){function n(e,t){return e.priority-t.priority}function r(e,t,n){for(var r=-1,i=e.length-1;i>r;){var o=r+(i-r+1>>>1);n(t,e[o])>=0?r=o:i=o-1}return r}function o(e,t,o,c){return e.started||(e.started=!0),a(t)||(t=[t]),0==t.length?i.setImmediate(function(){e.drain&&e.drain()}):void s(t,function(t){var a={data:t,priority:o,callback:\"function\"==typeof c?c:null};e.tasks.splice(r(e.tasks,a,n)+1,0,a),e.saturated&&e.tasks.length===e.concurrency&&e.saturated(),i.setImmediate(e.process)})}var c=i.queue(e,t);return c.push=function(e,t,n){o(c,e,t,n)},delete c.unshift,c},i.cargo=function(e,t){var n=!1,r=[],o={tasks:r,payload:t,saturated:null,empty:null,drain:null,drained:!0,push:function(e,n){a(e)||(e=[e]),s(e,function(e){r.push({data:e,callback:\"function\"==typeof n?n:null}),o.drained=!1,o.saturated&&r.length===t&&o.saturated()}),i.setImmediate(o.process)},process:function u(){if(!n){if(0===r.length)return o.drain&&!o.drained&&o.drain(),void(o.drained=!0);var i=\"number\"==typeof t?r.splice(0,t):r.splice(0,r.length),a=c(i,function(e){return e.data});o.empty&&o.empty(),n=!0,e(a,function(){n=!1;var e=arguments;s(i,function(t){t.callback&&t.callback.apply(null,e)}),u()})}},length:function(){return r.length},running:function(){return n}};return o};var _=function(e){return function(t){var n=Array.prototype.slice.call(arguments,1);t.apply(null,n.concat([function(t){var n=Array.prototype.slice.call(arguments,1);\"undefined\"!=typeof console&&(t?console.error&&console.error(t):console[e]&&s(n,function(t){console[e](t)}))}]))}};i.log=_(\"log\"),i.dir=_(\"dir\"),i.memoize=function(e,t){var n={},r={};t=t||function(e){return e};var o=function(){var o=Array.prototype.slice.call(arguments),a=o.pop(),s=t.apply(null,o);\ns in n?i.nextTick(function(){a.apply(null,n[s])}):s in r?r[s].push(a):(r[s]=[a],e.apply(null,o.concat([function(){n[s]=arguments;var e=r[s];delete r[s];for(var t=0,i=e.length;i>t;t++)e[t].apply(null,arguments)}])))};return o.memo=n,o.unmemoized=e,o},i.unmemoize=function(e){return function(){return(e.unmemoized||e).apply(null,arguments)}},i.times=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.map(r,t,n)},i.timesSeries=function(e,t,n){for(var r=[],o=0;e>o;o++)r.push(o);return i.mapSeries(r,t,n)},i.seq=function(){var e=arguments;return function(){var t=this,n=Array.prototype.slice.call(arguments),r=n.pop();i.reduce(e,n,function(e,n,r){n.apply(t,e.concat([function(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);r(e,t)}]))},function(e,n){r.apply(t,[e].concat(n))})}},i.compose=function(){return i.seq.apply(null,Array.prototype.reverse.call(arguments))};var k=function(e,t){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return e(t,function(e,t){e.apply(n,r.concat([t]))},i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};i.applyEach=f(k),i.applyEachSeries=h(k),i.forever=function(e,t){function n(r){if(r){if(t)return t(r);throw r}e(n)}n()},\"undefined\"!=typeof t&&t.exports?t.exports=i:\"undefined\"!=typeof define&&define.amd?define([],function(){return i}):n.async=i}()},{}],477:[function(e,t,n){function r(e){return\"AWS \"+e.key+\":\"+o(e)}function i(e){return l.createHmac(\"sha1\",e.secret).update(e.message).digest(\"base64\")}function o(e){return e.message=s(e),i(e)}function a(e){return e.message=c(e),i(e)}function s(e){var t=e.amazonHeaders||\"\";t&&(t+=\"\\n\");var n=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():\"\",t+e.resource];return n.join(\"\\n\")}function c(e){return\"GET\\n\\n\\n\"+e.date+\"\\n\"+e.resource}function u(e){for(var t=[],n=Object.keys(e),r=0,i=n.length;i>r;++r){var o=n[r],a=e[o],o=o.toLowerCase();0===o.indexOf(\"x-amz\")&&t.push(o+\":\"+a)}return t.sort().join(\"\\n\")}function p(e){var t=f(e,!0),n=t.pathname,r=[];return Object.keys(t.query).forEach(function(e){if(~d.indexOf(e)){var n=\"\"==t.query[e]?\"\":\"=\"+encodeURIComponent(t.query[e]);r.push(e+n)}}),n+(r.length?\"?\"+r.sort().join(\"&\"):\"\")}var l=e(\"crypto\"),f=e(\"url\").parse,d=[\"acl\",\"location\",\"logging\",\"notification\",\"partNumber\",\"policy\",\"requestPayment\",\"torrent\",\"uploadId\",\"uploads\",\"versionId\",\"versioning\",\"versions\",\"website\"];t.exports=r,t.exports.authorization=r,t.exports.hmacSha1=i,t.exports.sign=o,t.exports.signQuery=a,t.exports.queryStringToSign=s,t.exports.queryStringToSign=c,t.exports.canonicalizeHeaders=u,t.exports.canonicalizeResource=p},{crypto:void 0,url:void 0}],478:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,\"function\"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on(\"pipe\",function(e){e.on(\"error\",t)}),this.on(\"unpipe\",function(e){e.removeListener(\"error\",t)})}else n.isBuffer(e)?this.append(e):Array.isArray(e)&&e.forEach(function(e){n.isBuffer(e)&&this.append(e)}.bind(this));i.call(this)}var i=e(\"readable-stream/duplex\"),o=e(\"util\");o.inherits(r,i),r.prototype._offset=function(e){for(var t,n=0,r=0;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,t>e)return[r,e-n];n=t}},r.prototype.append=function(e){var t=n.isBuffer(e)||e instanceof r;return\"number\"==typeof e&&(e=e.toString()),this._bufs.push(t?e:new n(e)),this.length+=e.length,this},r.prototype._write=function(e,t,n){this.append(e),n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){i.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return this.copy(null,0,e,t)},r.prototype.copy=function(e,t,r,i){if((\"number\"!=typeof r||0>r)&&(r=0),(\"number\"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return e||new n(0);if(0>=i)return e||new n(0);var o,a,s=!!e,c=this._offset(r),u=i-r,p=u,l=s&&t||0,f=c[1];if(0===r&&i==this.length){if(!s)return n.concat(this._bufs);for(a=0;a<this._bufs.length;a++)this._bufs[a].copy(e,l),l+=this._bufs[a].length;return e}if(p<=this._bufs[c[0]].length-f)return s?this._bufs[c[0]].copy(e,t,f,f+p):this._bufs[c[0]].slice(f,f+p);for(s||(e=new n(u)),a=c[0];a<this._bufs.length;a++){if(o=this._bufs[a].length-f,!(p>o)){this._bufs[a].copy(e,l,f,f+p);break}this._bufs[a].copy(e,l,f),l+=o,p-=o,f&&(f=0)}return e},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,\"readable-stream/duplex\":513,util:void 0}],479:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":480,dup:434}],480:[function(e,t,n){var r=e(\"http\"),i=e(\"util\"),o=e(\"hoek\"),a={};n=t.exports=a.Boom=function(){if(o.assert(this.constructor===a.Boom,\"Error must be instantiated using new\"),Error.call(this),this.isBoom=!0,this.response={code:0,payload:{},headers:{}},arguments[0]instanceof Error){var e=arguments[0];this.data=e,this.response.code=e.code||500,e.message&&(this.message=e.message)}else{var t=arguments[0],n=arguments[1];o.assert(!isNaN(parseFloat(t))&&isFinite(t)&&t>=400,\"First argument must be a number (400+)\"),this.response.code=t,n&&(this.message=n)}return this.reformat(),this},i.inherits(a.Boom,Error),a.Boom.prototype.reformat=function(){this.response.payload.code=this.response.code,this.response.payload.error=r.STATUS_CODES[this.response.code]||\"Unknown\",this.message&&(this.response.payload.message=o.escapeHtml(this.message))},a.Boom.badRequest=function(e){return new a.Boom(400,e)},a.Boom.unauthorized=function(e,t,n){var r=new a.Boom(401,e);if(!t)return r;var i=\"\";if(\"string\"==typeof t){if(i=t,n)for(var s=Object.keys(n),c=0,u=s.length;u>c;++c){c&&(i+=\",\");var p=n[s[c]];null!==p&&void 0!==p||(p=\"\"),i+=\" \"+s[c]+'=\"'+o.escapeHeaderAttribute(p.toString())+'\"'}e?(n&&(i+=\",\"),i+=' error=\"'+o.escapeHeaderAttribute(e)+'\"'):r.isMissing=!0}else for(var l=t,c=0,u=l.length;u>c;++c)c&&(i+=\", \"),i+=l[c];return r.response.headers[\"WWW-Authenticate\"]=i,r},a.Boom.clientTimeout=function(e){return new a.Boom(408,e)},a.Boom.serverTimeout=function(e){return new a.Boom(503,e)},a.Boom.forbidden=function(e){return new a.Boom(403,e)},a.Boom.notFound=function(e){return new a.Boom(404,e)},a.Boom.internal=function(e,t){var n=new a.Boom(500,e);return t&&t.stack?(n.trace=t.stack.split(\"\\n\"),n.outterTrace=o.displayStack(1)):n.trace=o.displayStack(1),n.data=t,n.response.payload.message=\"An internal server error occurred\",n},a.Boom.passThrough=function(e,t,n,r){var i=new a.Boom(500,\"Pass-through\");return i.data={code:e,payload:t,type:n},i.response.code=e,i.response.type=n,i.response.headers=r,i.response.payload=t,i}},{hoek:494,http:void 0,util:void 0}],481:[function(e,t,n){function r(e){this.dict=e}r.prototype.set=function(e,t,n){if(\"object\"!=typeof e){\"undefined\"==typeof n&&(n=!0);var r=this.has(e);return!n&&r?this.dict[r]=this.dict[r]+\",\"+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},r.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),n=0;n<t.length;n++)if(t[n].toLowerCase()===e)return t[n];return!1},r.prototype.get=function(e){e=e.toLowerCase();var t,n,r=this.dict;return Object.keys(r).forEach(function(i){n=i.toLowerCase(),e===n&&(t=r[i])}),t},r.prototype.swap=function(e){var t=this.has(e);if(!t)throw new Error('There is no header than matches \"'+e+'\"');this.dict[e]=this.dict[t],delete this.dict[t]},r.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new r(e)},t.exports.httpify=function(e,t){var n=new r(t);return e.setHeader=function(e,t,r){return n.set(e,t,r)},e.hasHeader=function(e){return n.has(e)},e.getHeader=function(e){return n.get(e)},e.removeHeader=function(e){return n.del(e)},e.headers=n.dict,n}},{}],482:[function(e,t,n){(function(n){function r(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e(\"util\"),o=e(\"stream\").Stream,a=e(\"delayed-stream\");t.exports=r,i.inherits(r,o),r.create=function(e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];return t},r.isStreamLike=function(e){return\"function\"!=typeof e&&\"string\"!=typeof e&&\"boolean\"!=typeof e&&\"number\"!=typeof e&&!n.isBuffer(e)},r.prototype.append=function(e){var t=r.isStreamLike(e);if(t){if(!(e instanceof a)){var n=a.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on(\"data\",this._checkDataSize.bind(this)),e=n}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},r.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},r.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();if(\"undefined\"==typeof e)return void this.end();if(\"function\"!=typeof e)return void this._pipeNext(e);var t=e;t(function(e){var t=r.isStreamLike(e);t&&(e.on(\"data\",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this))},r.prototype._pipeNext=function(e){this._currentStream=e;var t=r.isStreamLike(e);if(t)return e.on(\"end\",this._getNext.bind(this)),void e.pipe(this,{end:!1});var n=e;this.write(n),this._getNext()},r.prototype._handleErrors=function(e){var t=this;e.on(\"error\",function(e){t._emitError(e)})},r.prototype.write=function(e){this.emit(\"data\",e)},r.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit(\"pause\"))},r.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&\"function\"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit(\"resume\")},r.prototype.end=function(){this._reset(),this.emit(\"end\")},r.prototype.destroy=function(){this._reset(),this.emit(\"close\")},r.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},r.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this._emitError(new Error(e))}},r.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},r.prototype._emitError=function(e){this._reset(),this.emit(\"error\",e)}}).call(this,{isBuffer:e(\"../../../../../../../../../node_modules/is-buffer/index.js\")})},{\"../../../../../../../../../node_modules/is-buffer/index.js\":538,\"delayed-stream\":485,stream:void 0,util:void 0}],483:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":484,dup:434}],484:[function(e,t,n){var r=e(\"crypto\"),i=e(\"boom\");n.randomString=function(e){var t=n.randomBits(6*(e+1));if(t instanceof Error)return t;var r=t.toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\");return r.slice(0,e)},n.randomBits=function(e){if(!e||0>e)return i.internal(\"Invalid random bits count\");var t=Math.ceil(e/8);try{return r.randomBytes(t)}catch(n){return i.internal(\"Failed generating random bits: \"+n.message)}},n.fixedTimeComparison=function(e,t){if(\"string\"!=typeof e||\"string\"!=typeof t)return!1;var n=e.length===t.length?0:1;n&&(t=e);for(var r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r),a=t.charCodeAt(r);n+=o===a?0:1}return 0===n}},{boom:479,crypto:void 0}],485:[function(e,t,n){function r(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e(\"stream\").Stream,o=e(\"util\");t.exports=r,o.inherits(r,i),r.create=function(e,t){var n=new this;t=t||{};for(var r in t)n[r]=t[r];n.source=e;var i=e.emit;return e.emit=function(){return n._handleEmit(arguments),i.apply(e,arguments)},e.on(\"error\",function(){}),n.pauseStream&&e.pause(),n},r.prototype.__defineGetter__(\"readable\",function(){return this.source.readable}),r.prototype.resume=function(){this._released||this.release(),this.source.resume()},r.prototype.pause=function(){this.source.pause()},r.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},r.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},r.prototype._handleEmit=function(e){return this._released?void this.emit.apply(this,e):(\"data\"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),void this._bufferedEvents.push(e))},r.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e=\"DelayedStream#maxDataSize of \"+this.maxDataSize+\" bytes exceeded.\";this.emit(\"error\",new Error(e))}}},{stream:void 0,util:void 0}],486:[function(e,t,n){function r(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||r.defaultMinSockets,t.on(\"free\",function(e,n,r){var i=n+\":\"+r;if(t.requests[i]&&t.requests[i].length)t.requests[i].shift().onSocket(e);else if(t.sockets[i].length<t.minSockets){t.freeSockets[i]||(t.freeSockets[i]=[]),t.freeSockets[i].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on(\"error\",o)}else e.destroy()})}function i(e){r.call(this,e)}function o(e,t,n){return n=\"object\"==typeof e?e:\"object\"==typeof t?t:\"object\"==typeof n?n:{},\"number\"==typeof e&&(n.port=e),\"string\"==typeof t&&(n.host=t),u.connect(n)}t.exports=r,r.SSL=i;var a=e(\"util\"),s=e(\"http\").Agent,c=e(\"net\"),u=e(\"tls\"),p=e(\"https\").Agent;a.inherits(r,s),r.defaultMinSockets=5,r.prototype.createConnection=c.createConnection,r.prototype.addRequestNoreuse=s.prototype.addRequest,r.prototype.addRequest=function(e,t,n){var r=t+\":\"+n;if(this.freeSockets[r]&&this.freeSockets[r].length>0&&!e.useChunkedEncodingByDefault){var i=this.freeSockets[r].pop();i.removeListener(\"error\",i._onIdleError),delete i._onIdleError,e._reusedSocket=!0,e.onSocket(i)}else this.addRequestNoreuse(e,t,n)},r.prototype.removeSocket=function(e,t,n,r){if(this.sockets[t]){var i=this.sockets[t].indexOf(e);-1!==i&&this.sockets[t].splice(i,1)}else this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]);if(this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,n,r).emit(\"free\")},a.inherits(i,r),i.prototype.createConnection=o,i.prototype.addRequestNoreuse=p.prototype.addRequest},{http:void 0,https:void 0,net:void 0,tls:void 0,util:void 0}],487:[function(e,t,n){(function(n){function r(){this._overheadLength=0,this._valueLength=0,this._lengthRetrievers=[],o.call(this)}function i(e,t){for(var n in t)e[n]||(e[n]=t[n]);return e}var o=e(\"combined-stream\"),a=e(\"util\"),s=e(\"path\"),c=e(\"http\"),u=e(\"https\"),p=e(\"url\").parse,l=e(\"fs\"),f=e(\"mime-types\"),d=e(\"async\");t.exports=r,a.inherits(r,o),r.LINE_BREAK=\"\\r\\n\",r.prototype.append=function(e,t,n){n=n||{};var r=o.prototype.append.bind(this);if(\"number\"==typeof t&&(t=\"\"+t),a.isArray(t))return void this._error(new Error(\"Arrays are not supported.\"));var i=this._multiPartHeader(e,t,n),s=this._multiPartFooter(e,t,n);r(i),r(t),r(s),this._trackLength(i,t,n)},r.prototype._trackLength=function(e,t,i){var o=0;null!=i.knownLength?o+=+i.knownLength:n.isBuffer(t)?o=t.length:\"string\"==typeof t&&(o=n.byteLength(t)),this._valueLength+=o,this._overheadLength+=n.byteLength(e)+ +r.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty(\"httpVersion\"))&&(i.knownLength||this._lengthRetrievers.push(function(e){t.hasOwnProperty(\"fd\")?void 0!=t.end&&t.end!=1/0&&void 0!=t.start?e(null,t.end+1-(t.start?t.start:0)):l.stat(t.path,function(n,r){var i;return n?void e(n):(i=r.size-(t.start?t.start:0),void e(null,i))}):t.hasOwnProperty(\"httpVersion\")?e(null,+t.headers[\"content-length\"]):t.hasOwnProperty(\"httpModule\")?(t.on(\"response\",function(n){t.pause(),e(null,+n.headers[\"content-length\"])}),t.resume()):e(\"Unknown stream\")}))},r.prototype._multiPartHeader=function(e,t,n){var i=this.getBoundary(),o=\"\";return null!=n.header?o=n.header:(o+=\"--\"+i+r.LINE_BREAK+'Content-Disposition: form-data; name=\"'+e+'\"',n.filename||t.path?o+='; filename=\"'+s.basename(n.filename||t.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+(n.contentType||f.lookup(n.filename||t.path)):t.readable&&t.hasOwnProperty(\"httpVersion\")&&(o+='; filename=\"'+s.basename(t.client._httpMessage.path)+'\"'+r.LINE_BREAK+\"Content-Type: \"+t.headers[\"content-type\"]),o+=r.LINE_BREAK+r.LINE_BREAK),o},r.prototype._multiPartFooter=function(e,t,n){return function(e){var t=r.LINE_BREAK,n=0===this._streams.length;n&&(t+=this._lastBoundary()),e(t)}.bind(this)},r.prototype._lastBoundary=function(){return\"--\"+this.getBoundary()+\"--\"},r.prototype.getHeaders=function(e){var t={\"content-type\":\"multipart/form-data; boundary=\"+this.getBoundary()};for(var n in e)t[n.toLowerCase()]=e[n];return t},r.prototype.getCustomHeaders=function(e){e=e?e:\"multipart/form-data\";var t={\"content-type\":e+\"; boundary=\"+this.getBoundary(),\"content-length\":this.getLengthSync()};return t},r.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},r.prototype._generateBoundary=function(){for(var e=\"--------------------------\",t=0;24>t;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},r.prototype.getLengthSync=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length&&this._error(new Error(\"Cannot calculate proper length in synchronous way.\")),t},r.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this._lengthRetrievers.length?void d.parallel(this._lengthRetrievers,function(n,r){return n?void e(n):(r.forEach(function(e){t+=e}),void e(null,t))}):void process.nextTick(e.bind(this,null,t))},r.prototype.submit=function(e,t){var n,r,o={method:\"post\"};return\"string\"==typeof e?(e=p(e),r=i({port:e.port,path:e.pathname,host:e.hostname},o)):(r=i(e,o),r.port||(r.port=\"https:\"==r.protocol?443:80)),r.headers=this.getHeaders(e.headers),n=\"https:\"==e.protocol?u.request(r):c.request(r),this.getLength(function(e,r){n.setHeader(\"Content-Length\",r),this.pipe(n),t&&(n.on(\"error\",t),n.on(\"response\",t.bind(this,null)))}.bind(this)),n},r.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit(\"error\",e))}}).call(this,e(\"buffer\").Buffer)},{async:476,buffer:void 0,\"combined-stream\":482,fs:void 0,http:void 0,https:void 0,\"mime-types\":505,path:void 0,url:void 0,util:void 0}],488:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":491,dup:434}],489:[function(e,t,n){var r=e(\"url\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.header=function(e,t,n){var i={field:\"\",artifacts:{}};if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"string\"!=typeof t||!n||\"object\"!=typeof n)return i.err=\"Invalid argument type\",i;var c=n.timestamp||Math.floor((s.now()+(n.localtimeOffsetMsec||0))/1e3),u=n.credentials;if(!(u&&u.id&&u.key&&u.algorithm))return i.err=\"Invalid credential object\",i;if(-1===a.algorithms.indexOf(u.algorithm))return i.err=\"Unknown algorithm\",i;\"string\"==typeof e&&(e=r.parse(e));var p={ts:c,nonce:n.nonce||o.randomString(6),method:t,resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};i.artifacts=p,!p.hash&&n.hasOwnProperty(\"payload\")&&(p.hash=a.calculatePayloadHash(n.payload,u.algorithm,n.contentType));var l=a.calculateMac(\"header\",u,p),f=null!==p.ext&&void 0!==p.ext&&\"\"!==p.ext,d='Hawk id=\"'+u.id+'\", ts=\"'+p.ts+'\", nonce=\"'+p.nonce+(p.hash?'\", hash=\"'+p.hash:\"\")+(f?'\", ext=\"'+s.escapeHeaderAttribute(p.ext):\"\")+'\", mac=\"'+l+'\"';return p.app&&(d+=', app=\"'+p.app+(p.dlg?'\", dlg=\"'+p.dlg:\"\")+'\"'),i.field=d,i},n.authenticate=function(e,t,n,r){if(n=i.clone(n),r=r||{},e.headers[\"www-authenticate\"]){var o=s.parseAuthorizationHeader(e.headers[\"www-authenticate\"],[\"ts\",\"tsm\",\"error\"]);if(o instanceof Error)return!1;if(o.ts){var c=a.calculateTsMac(o.ts,t);if(c!==o.tsm)return!1}}if(!e.headers[\"server-authorization\"]&&!r.required)return!0;var o=s.parseAuthorizationHeader(e.headers[\"server-authorization\"],[\"mac\",\"ext\",\"hash\"]);if(o instanceof Error)return!1;n.ext=o.ext,n.hash=o.hash;var u=a.calculateMac(\"response\",t,n);if(u!==o.mac)return!1;if(!r.hasOwnProperty(\"payload\"))return!0;if(!o.hash)return!1;var p=a.calculatePayloadHash(r.payload,t.algorithm,e.headers[\"content-type\"]);return p===o.hash},n.getBewit=function(e,t){if(!e||\"string\"!=typeof e&&\"object\"!=typeof e||!t||\"object\"!=typeof t||!t.ttlSec)return\"\";t.ext=null===t.ext||void 0===t.ext?\"\":t.ext;var n=s.now()+(t.localtimeOffsetMsec||0),i=t.credentials;if(!(i&&i.id&&i.key&&i.algorithm))return\"\";if(-1===a.algorithms.indexOf(i.algorithm))return\"\";\"string\"==typeof e&&(e=r.parse(e));var o=Math.floor(n/1e3)+t.ttlSec,c=a.calculateMac(\"bewit\",i,{ts:o,nonce:\"\",method:\"GET\",resource:e.pathname+(e.search||\"\"),host:e.hostname,port:e.port||(\"http:\"===e.protocol?80:443),ext:t.ext}),u=i.id+\"\\\\\"+o+\"\\\\\"+c+\"\\\\\"+t.ext;return s.base64urlEncode(u)},n.message=function(e,t,n,r){if(!e||\"string\"!=typeof e||!t||\"number\"!=typeof t||null===n||void 0===n||\"string\"!=typeof n||!r||\"object\"!=typeof r)return null;var i=r.timestamp||Math.floor((s.now()+(r.localtimeOffsetMsec||0))/1e3),c=r.credentials;if(!(c&&c.id&&c.key&&c.algorithm))return null;if(-1===a.algorithms.indexOf(c.algorithm))return null;var u={ts:i,nonce:r.nonce||o.randomString(6),host:e,port:t,hash:a.calculatePayloadHash(n,c.algorithm)},p={id:c.id,ts:u.ts,nonce:u.nonce,hash:u.hash,mac:a.calculateMac(\"message\",c,u)};return p}},{\"./crypto\":490,\"./utils\":493,cryptiles:483,hoek:494,url:void 0}],490:[function(e,t,n){var r=e(\"crypto\"),i=(e(\"url\"),e(\"./utils\"));n.headerVersion=\"1\",n.algorithms=[\"sha1\",\"sha256\"],n.calculateMac=function(e,t,i){var o=n.generateNormalizedString(e,i),a=r.createHmac(t.algorithm,t.key).update(o),s=a.digest(\"base64\");return s},n.generateNormalizedString=function(e,t){var r=\"hawk.\"+n.headerVersion+\".\"+e+\"\\n\"+t.ts+\"\\n\"+t.nonce+\"\\n\"+(t.method||\"\").toUpperCase()+\"\\n\"+(t.resource||\"\")+\"\\n\"+t.host.toLowerCase()+\"\\n\"+t.port+\"\\n\"+(t.hash||\"\")+\"\\n\";return t.ext&&(r+=t.ext.replace(\"\\\\\",\"\\\\\\\\\").replace(\"\\n\",\"\\\\n\")),r+=\"\\n\",t.app&&(r+=t.app+\"\\n\"+(t.dlg||\"\")+\"\\n\"),r},n.calculatePayloadHash=function(e,t,r){var i=n.initializePayloadHash(t,r);return i.update(e||\"\"),n.finalizePayloadHash(i)},n.initializePayloadHash=function(e,t){var o=r.createHash(e);return o.update(\"hawk.\"+n.headerVersion+\".payload\\n\"),o.update(i.parseContentType(t)+\"\\n\"),o},n.finalizePayloadHash=function(e){return e.update(\"\\n\"),e.digest(\"base64\")},n.calculateTsMac=function(e,t){var i=r.createHmac(t.algorithm,t.key);return i.update(\"hawk.\"+n.headerVersion+\".ts\\n\"+e+\"\\n\"),i.digest(\"base64\")},n.timestampMessage=function(e,t){var r=Math.floor((i.now()+(t||0))/1e3),o=n.calculateTsMac(r,e);return{ts:r,tsm:o}}},{\"./utils\":493,crypto:void 0,url:void 0}],491:[function(e,t,n){n.error=n.Error=e(\"boom\"),n.sntp=e(\"sntp\"),n.server=e(\"./server\"),n.client=e(\"./client\"),n.crypto=e(\"./crypto\"),n.utils=e(\"./utils\"),n.uri={authenticate:n.server.authenticateBewit,getBewit:n.client.getBewit}},{\"./client\":489,\"./crypto\":490,\"./server\":492,\"./utils\":493,boom:479,sntp:527}],492:[function(e,t,n){var r=e(\"boom\"),i=e(\"hoek\"),o=e(\"cryptiles\"),a=e(\"./crypto\"),s=e(\"./utils\");n.authenticate=function(e,t,n,i){i=s.nextTick(i),n.nonceFunc=n.nonceFunc||function(e,t,n){return n()},n.timestampSkewSec=n.timestampSkewSec||60;var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=s.parseAuthorizationHeader(u.authorization);if(p instanceof Error)return i(p);var l={method:u.method,host:u.host,port:u.port,resource:u.url,ts:p.ts,nonce:p.nonce,hash:p.hash,ext:p.ext,app:p.app,dlg:p.dlg,mac:p.mac,id:p.id};return p.id&&p.ts&&p.nonce&&p.mac?void t(p.id,function(e,t){if(e)return i(e,t||null,l);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,l);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,l);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,l);var s=a.calculateMac(\"header\",t,l);if(!o.fixedTimeComparison(s,p.mac))return i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,l);if(null!==n.payload&&void 0!==n.payload){if(!p.hash)return i(r.unauthorized(\"Missing required payload hash\",\"Hawk\"),t,l);var f=a.calculatePayloadHash(n.payload,t.algorithm,u.contentType);if(!o.fixedTimeComparison(f,p.hash))return i(r.unauthorized(\"Bad payload hash\",\"Hawk\"),t,l)}n.nonceFunc(p.nonce,p.ts,function(e){if(e)return i(r.unauthorized(\"Invalid nonce\",\"Hawk\"),t,l);if(Math.abs(1e3*p.ts-c)>1e3*n.timestampSkewSec){var o=a.timestampMessage(t,n.localtimeOffsetMsec);return i(r.unauthorized(\"Stale timestamp\",\"Hawk\",o),t,l)}return i(null,t,l)})}):i(r.badRequest(\"Missing attributes\"),null,l)},n.authenticatePayload=function(e,t,n,r){var i=a.calculatePayloadHash(e,t.algorithm,r);return o.fixedTimeComparison(i,n.hash)},n.header=function(e,t,n){if(n=n||{},!t||\"object\"!=typeof t||\"object\"!=typeof n)return\"\";if(t=i.clone(t),delete t.mac,t.hash=n.hash,t.ext=n.ext,!e||!e.key||!e.algorithm)return\"\";if(-1===a.algorithms.indexOf(e.algorithm))return\"\";!t.hash&&n.hasOwnProperty(\"payload\")&&(t.hash=a.calculatePayloadHash(n.payload,e.algorithm,n.contentType));var r=a.calculateMac(\"response\",e,t),o='Hawk mac=\"'+r+'\"'+(t.hash?', hash=\"'+t.hash+'\"':\"\");return null!==t.ext&&void 0!==t.ext&&\"\"!==t.ext&&(o+=', ext=\"'+s.escapeHeaderAttribute(t.ext)+'\"'),o},n.authenticateBewit=function(e,t,n,i){i=s.nextTick(i);var c=s.now()+(n.localtimeOffsetMsec||0),u=s.parseRequest(e,n);if(u instanceof Error)return i(r.badRequest(u.message));var p=u.url.match(/^(\\/.*)([\\?&])bewit\\=([^&$]*)(?:&(.+))?$/);if(!p)return i(r.unauthorized(null,\"Hawk\"));if(!p[3])return i(r.unauthorized(\"Empty bewit\",\"Hawk\"));if(\"GET\"!==u.method&&\"HEAD\"!==u.method)return i(r.unauthorized(\"Invalid method\",\"Hawk\"));if(u.authorization)return i(r.badRequest(\"Multiple authentications\",\"Hawk\"));var l=s.base64urlDecode(p[3]);if(l instanceof Error)return i(r.badRequest(\"Invalid bewit encoding\"));var f=l.split(\"\\\\\");if(!f||4!==f.length)return i(r.badRequest(\"Invalid bewit structure\"));var d={id:f[0],exp:parseInt(f[1],10),mac:f[2],ext:f[3]||\"\"};if(!d.id||!d.exp||!d.mac)return i(r.badRequest(\"Missing bewit attributes\"));var h=p[1];return p[4]&&(h+=p[2]+p[4]),1e3*d.exp<=c?i(r.unauthorized(\"Access expired\",\"Hawk\"),null,d):void t(d.id,function(e,t){if(e)return i(e,t||null,d.ext);if(!t)return i(r.unauthorized(\"Unknown credentials\",\"Hawk\"),null,d);if(!t.key||!t.algorithm)return i(r.internal(\"Invalid credentials\"),t,d);if(-1===a.algorithms.indexOf(t.algorithm))return i(r.internal(\"Unknown algorithm\"),t,d);var n=a.calculateMac(\"bewit\",t,{ts:d.exp,nonce:\"\",method:\"GET\",resource:h,host:u.host,port:u.port,ext:d.ext});return o.fixedTimeComparison(n,d.mac)?i(null,t,d):i(r.unauthorized(\"Bad mac\",\"Hawk\"),t,d)})},n.authenticateMessage=function(e,t,n,i,c,u,p){p=s.nextTick(p),u.nonceFunc=u.nonceFunc||function(e,t,n){return n()},u.timestampSkewSec=u.timestampSkewSec||60;var l=s.now()+(u.localtimeOffsetMsec||0);return i.id&&i.ts&&i.nonce&&i.hash&&i.mac?void c(i.id,function(s,c){if(s)return p(s,c||null);if(!c)return p(r.unauthorized(\"Unknown credentials\",\"Hawk\"));if(!c.key||!c.algorithm)return p(r.internal(\"Invalid credentials\"),c);if(-1===a.algorithms.indexOf(c.algorithm))return p(r.internal(\"Unknown algorithm\"),c);var f={ts:i.ts,nonce:i.nonce,host:e,port:t,hash:i.hash},d=a.calculateMac(\"message\",c,f);if(!o.fixedTimeComparison(d,i.mac))return p(r.unauthorized(\"Bad mac\",\"Hawk\"),c);var h=a.calculatePayloadHash(n,c.algorithm);return o.fixedTimeComparison(h,i.hash)?void u.nonceFunc(i.nonce,i.ts,function(e){return e?p(r.unauthorized(\"Invalid nonce\",\"Hawk\"),c):Math.abs(1e3*i.ts-l)>1e3*u.timestampSkewSec?p(r.unauthorized(\"Stale timestamp\"),c):p(null,c)}):p(r.unauthorized(\"Bad message hash\",\"Hawk\"),c)}):p(r.badRequest(\"Invalid authorization\"))}},{\"./crypto\":490,\"./utils\":493,boom:479,cryptiles:483,hoek:494}],493:[function(e,t,n){(function(t){var r=e(\"hoek\"),i=e(\"sntp\"),o=e(\"boom\"),a={};a[\"import\"]=function(){for(var e in r)r.hasOwnProperty(e)&&(n[e]=r[e])},a[\"import\"](),n.version=function(){return n.loadPackage(t+\"/..\").version},n.parseHost=function(e,t){t=t?t.toLowerCase():\"host\";var n=e.headers[t];if(!n)return null;var r;r=\"[\"===n[0]?/^(?:(?:\\r\\n)?\\s)*(\\[[^\\]]+\\])(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/:/^(?:(?:\\r\\n)?\\s)*([^:]+)(?::(\\d+))?(?:(?:\\r\\n)?\\s)*$/;var i=n.match(r);return i&&3===i.length&&i[1]?{name:i[1],port:i[2]?i[2]:e.connection&&e.connection.encrypted?443:80}:null},n.parseContentType=function(e){return e?e.split(\";\")[0].trim().toLowerCase():\"\"},n.parseRequest=function(e,t){if(!e.headers)return e;if(!t.host||!t.port){var r=n.parseHost(e,t.hostHeaderName);if(!r)return new Error(\"Invalid Host header\")}var i={method:e.method,url:e.url,host:t.host||r.name,port:t.port||r.port,authorization:e.headers.authorization,contentType:e.headers[\"content-type\"]||\"\"};return i},n.now=function(){return i.now()},n.parseAuthorizationHeader=function(e,t){if(t=t||[\"id\",\"ts\",\"nonce\",\"hash\",\"ext\",\"mac\",\"app\",\"dlg\"],!e)return o.unauthorized(null,\"Hawk\");var n=e.match(/^(\\w+)(?:\\s+(.*))?$/);if(!n)return o.badRequest(\"Invalid header syntax\");var r=n[1];if(\"hawk\"!==r.toLowerCase())return o.unauthorized(null,\"Hawk\");var i=n[2];if(!i)return o.badRequest(\"Invalid header syntax\");var a={},s=\"\",c=i.replace(/(\\w+)=\"([^\"\\\\]*)\"\\s*(?:,\\s*|$)/g,function(e,n,r){return-1===t.indexOf(n)?void(s=\"Unknown attribute: \"+n):null===r.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~]+$/)?void(s=\"Bad attribute value: \"+n):a.hasOwnProperty(n)?void(s=\"Duplicate attribute: \"+n):(a[n]=r,\"\")});return\"\"!==c?o.badRequest(s||\"Bad header format\"):a},n.unauthorized=function(e){return o.unauthorized(e,\"Hawk\")}}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/hawk/lib\")},{boom:479,hoek:494,sntp:527}],494:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":496,dup:434}],495:[function(e,t,n){(function(e){var t={};n.escapeJavaScript=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeJavaScriptChar(o)}return n},n.escapeHtml=function(e){if(!e)return\"\";for(var n=\"\",r=0,i=e.length;i>r;++r){var o=e.charCodeAt(r);n+=t.isSafe(o)?e[r]:t.escapeHtmlChar(o)}return n},t.escapeJavaScriptChar=function(n){if(n>=256)return\"\\\\u\"+t.padLeft(\"\"+n,4);var r=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"\\\\x\"+t.padLeft(r,2)},t.escapeHtmlChar=function(n){var r=t.namedHtml[n];if(\"undefined\"!=typeof r)return r;if(n>=256)return\"&#\"+n+\";\";\nvar i=new e(String.fromCharCode(n),\"ascii\").toString(\"hex\");return\"&#x\"+t.padLeft(i,2)+\";\"},t.padLeft=function(e,t){for(;e.length<t;)e=\"0\"+e;return e},t.isSafe=function(e){return\"undefined\"!=typeof t.safeCharCodes[e]},t.namedHtml={38:\"&amp;\",60:\"&lt;\",62:\"&gt;\",34:\"&quot;\",160:\"&nbsp;\",162:\"&cent;\",163:\"&pound;\",164:\"&curren;\",169:\"&copy;\",174:\"&reg;\"},t.safeCharCodes=function(){for(var e={},t=32;123>t;++t)(t>=97&&122>=t||t>=65&&90>=t||t>=48&&57>=t||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0}],496:[function(e,t,n){(function(t){var r=e(\"fs\"),i=e(\"./escape\");n.clone=function(e,r){if(\"object\"!=typeof e||null===e)return e;r=r||{orig:[],copy:[]};var i=r.orig.indexOf(e);if(-1!==i)return r.copy[i];var o=e instanceof Array?[]:{};r.orig.push(e),r.copy.push(o);for(var a in e)if(e.hasOwnProperty(a))if(e[a]instanceof t)o[a]=new t(e[a]);else if(e[a]instanceof Date)o[a]=new Date(e[a].getTime());else if(e[a]instanceof RegExp){var s=\"\"+(e[a].global?\"g\":\"\")+(e[a].ignoreCase?\"i\":\"\")+(e[a].multiline?\"m\":\"\");o[a]=new RegExp(e[a].source,s)}else o[a]=n.clone(e[a],r);return o},n.merge=function(e,t,r,i){if(n.assert(e&&\"object\"==typeof e,\"Invalid target value: must be an object\"),n.assert(null===t||void 0===t||\"object\"==typeof t,\"Invalid source value: must be null, undefined, or an object\"),!t)return e;if(t instanceof Array){n.assert(e instanceof Array,\"Cannot merge array onto an object\"),i===!1&&(e.length=0);for(var o=0,a=t.length;a>o;++o)e.push(t[o]);return e}for(var s=Object.keys(t),c=0,u=s.length;u>c;++c){var p=s[c],l=t[p];l&&\"object\"==typeof l?e[p]&&\"object\"==typeof e[p]?n.merge(e[p],t[p],r,i):e[p]=n.clone(l):null!==l&&void 0!==l?e[p]=l:r!==!1&&(e[p]=l)}return e},n.applyToDefaults=function(e,t){if(n.assert(e&&\"object\"==typeof e,\"Invalid defaults value: must be an object\"),n.assert(!t||t===!0||\"object\"==typeof t,\"Invalid options value: must be true, falsy or an object\"),!t)return null;var r=n.clone(e);return t===!0?r:n.merge(r,t,!1,!1)},n.unique=function(e,t){for(var n={},r=[],i=0,o=e.length;o>i;++i){var a=t?e[i][t]:e[i];n[a]!==!0&&(r.push(e[i]),n[a]=!0)}return r},n.mapToObject=function(e,t){if(!e)return null;for(var n={},r=0,i=e.length;i>r;++r)t?e[r][t]&&(n[e[r][t]]=!0):n[e[r]]=!0;return n},n.intersect=function(e,t,r){if(!e||!t)return[];for(var i=[],o=e instanceof Array?n.mapToObject(e):e,a={},s=0,c=t.length;c>s;++s)if(o[t[s]]&&!a[t[s]]){if(r)return t[s];i.push(t[s]),a[t[s]]=!0}return r?null:i},n.matchKeys=function(e,t){for(var n=[],r=0,i=t.length;i>r;++r)e.hasOwnProperty(t[r])&&n.push(t[r]);return n},n.flatten=function(e,t){for(var r=t||[],i=0,o=e.length;o>i;++i)Array.isArray(e[i])?n.flatten(e[i],r):r.push(e[i]);return r},n.removeKeys=function(e,t){for(var n=0,r=t.length;r>n;n++)delete e[t[n]]},n.reach=function(e,t){for(var n=t.split(\".\"),r=e,i=0,o=n.length;o>i;++i)r&&(r=r[n[i]]);return r},n.inheritAsync=function(e,t,n){n=n||null;for(var r in t)if(t.hasOwnProperty(r)){if(n instanceof Array&&n.indexOf(r)<0)continue;e.prototype[r]=function(e){return function(t){var n=null;try{n=e()}catch(r){return t(r)}return t(null,n)}}(t[r])}},n.formatStack=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push([i.getFileName(),i.getLineNumber(),i.getColumnNumber(),i.getFunctionName(),i.isConstructor()])}return t},n.formatTrace=function(e){for(var t=[],n=0,r=e.length;r>n;++n){var i=e[n];t.push((i[4]?\"new \":\"\")+i[3]+\" (\"+i[0]+\":\"+i[1]+\":\"+i[2]+\")\")}return t},n.callStack=function(e){var t=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var r={};Error.captureStackTrace(r,arguments.callee);var i=r.stack;Error.prepareStackTrace=t;var o=n.formatStack(i);return e?o.slice(e):o},n.displayStack=function(e){var t=n.callStack(void 0===e?1:e+1);return n.formatTrace(t)},n.abortThrow=!1,n.abort=function(e,t){if(\"test\"===process.env.NODE_ENV||n.abortThrow===!0)throw new Error(e||\"Unknown error\");var r=\"\";t||(r=n.displayStack(1).join(\"\\n\t\")),console.log(\"ABORT: \"+e+\"\\n\t\"+r),process.exit(1)},n.assert=function(e){if(!e){var t=Array.prototype.slice.call(arguments,1);throw t=t.map(function(e){return\"string\"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}),new Error(t.join(\" \")||\"Unknown error\")}},n.loadDirModules=function(t,n,i){for(var o={},a=0,s=n.length;s>a;++a)o[n[a]+\".js\"]=!0;var c=r.readdirSync(t);for(a=0,s=c.length;s>a;++a){var u=c[a];if(/\\.js$/.test(u)&&!o[u]){var p=u.substr(0,u.lastIndexOf(\".\")),l=p.charAt(0).toUpperCase()+p.substr(1).toLowerCase();\"function\"!=typeof i?i[l]=e(t+\"/\"+p):i(t+\"/\"+p,p,l)}}},n.rename=function(e,t,n){e[n]=e[t],delete e[t]},n.Timer=function(){this.reset()},n.Timer.prototype.reset=function(){this.ts=Date.now()},n.Timer.prototype.elapsed=function(){return Date.now()-this.ts},n.loadPackage=function(e){var t={},n=(e||process.env.PWD)+\"/package.json\";if(r.existsSync(n))try{t=JSON.parse(r.readFileSync(n))}catch(i){}return t},n.escapeRegex=function(e){return e.replace(/[\\^\\$\\.\\*\\+\\-\\?\\=\\!\\:\\|\\\\\\/\\(\\)\\[\\]\\{\\}\\,]/g,\"\\\\$&\")},n.toss=function(e){var t=3===arguments.length?arguments[1]:\"\",n=3===arguments.length?arguments[2]:arguments[1],r=t instanceof Error?t:t?new Error(t):e instanceof Error?e:new Error;return e instanceof Error||!e?n(r):void 0},n.base64urlEncode=function(e){return new t(e,\"binary\").toString(\"base64\").replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/\\=/g,\"\")},n.base64urlDecode=function(e){if(e&&!e.match(/^[\\w\\-]*$/))return new Error(\"Invalid character\");try{return new t(e.replace(/-/g,\"+\").replace(/:/g,\"/\"),\"base64\").toString(\"binary\")}catch(n){return n}},n.escapeHeaderAttribute=function(e){return n.assert(e.match(/^[ \\w\\!#\\$%&'\\(\\)\\*\\+,\\-\\.\\/\\:;<\\=>\\?@\\[\\]\\^`\\{\\|\\}~\\\"\\\\]*$/),\"Bad attribute value (\"+e+\")\"),e.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\\"/g,'\\\\\"')},n.escapeHtml=function(e){return i.escapeHtml(e)},n.escapeJavaScript=function(e){return i.escapeJavaScript(e)},n.consoleFunc=console.log,n.printEvent=function(e){var t=function(e){return(10>e?\"0\":\"\")+e},r=new Date(e.timestamp),i=(r.getYear()-100).toString()+t(r.getMonth()+1)+t(r.getDate())+\"/\"+t(r.getHours())+t(r.getMinutes())+t(r.getSeconds())+\".\"+r.getMilliseconds(),o=e.data;if(\"string\"!=typeof e.data)try{o=JSON.stringify(e.data)}catch(a){o=\"JSON Error: \"+a.message}var s=i+\", \"+e.tags[0]+\", \"+o;n.consoleFunc(s)},n.nextTick=function(e){return function(){var t=arguments;process.nextTick(function(){e.apply(null,t)})}}}).call(this,e(\"buffer\").Buffer)},{\"./escape\":495,buffer:void 0,fs:void 0}],497:[function(e,t,n){var r=e(\"./parser\"),i=e(\"./signer\"),o=e(\"./verify\"),a=e(\"./util\");t.exports={parse:r.parseRequest,parseRequest:r.parseRequest,sign:i.signRequest,signRequest:i.signRequest,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:o.verifySignature,verifySignature:o.verifySignature}},{\"./parser\":498,\"./signer\":499,\"./util\":500,\"./verify\":501}],498:[function(e,t,n){function r(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||r),this.message=e,this.name=t.name}function i(e){r.call(this,e,i)}function o(e){r.call(this,e,o)}function a(e){r.call(this,e,a)}function s(e){r.call(this,e,s)}var c=e(\"assert-plus\"),u=e(\"util\"),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l={New:0,Params:1},f={Name:0,Quote:1,Value:2,Comma:3};u.inherits(r,Error),u.inherits(i,r),u.inherits(o,r),u.inherits(a,r),u.inherits(s,r),t.exports={parseRequest:function(e,t){if(c.object(e,\"request\"),c.object(e.headers,\"request.headers\"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers[\"x-date\"]?\"x-date\":\"date\"]),c.object(t,\"options\"),c.arrayOfString(t.headers,\"options.headers\"),c.optionalNumber(t.clockSkew,\"options.clockSkew\"),!e.headers.authorization)throw new s(\"no authorization header present in the request\");t.clockSkew=t.clockSkew||300;var n=0,r=l.New,u=f.Name,d=\"\",h=\"\",m={scheme:\"\",params:{},signingString:\"\",get algorithm(){return this.params.algorithm.toUpperCase()},get keyId(){return this.params.keyId}},v=e.headers.authorization;for(n=0;n<v.length;n++){var g=v.charAt(n);switch(Number(r)){case l.New:\" \"!==g?m.scheme+=g:r=l.Params;break;case l.Params:switch(Number(u)){case f.Name:var y=g.charCodeAt(0);if(y>=65&&90>=y||y>=97&&122>=y)d+=g;else{if(\"=\"!==g)throw new o(\"bad param format\");if(0===d.length)throw new o(\"bad param format\");u=f.Quote}break;case f.Quote:if('\"'!==g)throw new o(\"bad param format\");h=\"\",u=f.Value;break;case f.Value:'\"'===g?(m.params[d]=h,u=f.Comma):h+=g;break;case f.Comma:if(\",\"!==g)throw new o(\"bad param format\");d=\"\",u=f.Name;break;default:throw new Error(\"Invalid substate\")}break;default:throw new Error(\"Invalid substate\")}}if(m.params.headers&&\"\"!==m.params.headers?m.params.headers=m.params.headers.split(\" \"):e.headers[\"x-date\"]?m.params.headers=[\"x-date\"]:m.params.headers=[\"date\"],!m.scheme||\"Signature\"!==m.scheme)throw new o('scheme was not \"Signature\"');if(!m.params.keyId)throw new o(\"keyId was not specified\");if(!m.params.algorithm)throw new o(\"algorithm was not specified\");if(!m.params.signature)throw new o(\"signature was not specified\");if(m.params.algorithm=m.params.algorithm.toLowerCase(),!p[m.params.algorithm])throw new a(m.params.algorithm+\" is not supported\");for(n=0;n<m.params.headers.length;n++){var b=m.params.headers[n].toLowerCase();if(m.params.headers[n]=b,\"request-line\"!==b){var x=e.headers[b];if(!x)throw new s(b+\" was not in the request\");m.signingString+=b+\": \"+x}else m.signingString+=e.method+\" \"+e.url+\" HTTP/\"+e.httpVersion;n+1<m.params.headers.length&&(m.signingString+=\"\\n\")}var w;if(e.headers.date||e.headers[\"x-date\"]){w=e.headers[\"x-date\"]?new Date(e.headers[\"x-date\"]):new Date(e.headers.date);var _=new Date,k=Math.abs(_.getTime()-w.getTime());if(k>1e3*t.clockSkew)throw new i(\"clock skew of \"+k/1e3+\"s was greater than \"+t.clockSkew+\"s\")}if(t.headers.forEach(function(e){if(m.params.headers.indexOf(e)<0)throw new s(e+\" was not a signed header\")}),t.algorithms&&-1===t.algorithms.indexOf(m.params.algorithm))throw new a(m.params.algorithm+\" is not a supported algorithm\");return m}}},{\"assert-plus\":475,util:void 0}],499:[function(e,t,n){function r(e){this.name=\"MissingHeaderError\",this.message=e,this.stack=(new Error).stack}function i(e){this.name=\"InvalidAlgorithmError\",this.message=e,this.stack=(new Error).stack}function o(e){return parseInt(e,10)<10&&(e=\"0\"+e),e}function a(){var e=new Date,t=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"];return n[e.getUTCDay()]+\", \"+o(e.getUTCDate())+\" \"+t[e.getUTCMonth()]+\" \"+e.getUTCFullYear()+\" \"+o(e.getUTCHours())+\":\"+o(e.getUTCMinutes())+\":\"+o(e.getUTCSeconds())+\" GMT\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=(e(\"http\"),e(\"util\").format),p={\"rsa-sha1\":!0,\"rsa-sha256\":!0,\"rsa-sha512\":!0,\"dsa-sha1\":!0,\"hmac-sha1\":!0,\"hmac-sha256\":!0,\"hmac-sha512\":!0},l='Signature keyId=\"%s\",algorithm=\"%s\",headers=\"%s\",signature=\"%s\"';r.prototype=new Error,i.prototype=new Error,t.exports={signRequest:function(e,t){if(s.object(e,\"request\"),s.object(t,\"options\"),s.optionalString(t.algorithm,\"options.algorithm\"),s.string(t.keyId,\"options.keyId\"),s.optionalArrayOfString(t.headers,\"options.headers\"),s.optionalString(t.httpVersion,\"options.httpVersion\"),e.getHeader(\"Date\")||e.setHeader(\"Date\",a()),t.headers||(t.headers=[\"date\"]),t.algorithm||(t.algorithm=\"rsa-sha256\"),t.httpVersion||(t.httpVersion=\"1.1\"),t.algorithm=t.algorithm.toLowerCase(),!p[t.algorithm])throw new i(t.algorithm+\" is not supported\");var n,o=\"\";for(n=0;n<t.headers.length;n++){if(\"string\"!=typeof t.headers[n])throw new TypeError(\"options.headers must be an array of Strings\");var f=t.headers[n].toLowerCase();if(\"request-line\"!==f){var d=e.getHeader(f);if(!d)throw new r(f+\" was not in the request\");o+=f+\": \"+d}else o+=e.method+\" \"+e.path+\" HTTP/\"+t.httpVersion;n+1<t.headers.length&&(o+=\"\\n\")}var h,m=t.algorithm.match(/(hmac|rsa)-(\\w+)/);if(\"hmac\"===m[1]){var v=c.createHmac(m[2].toUpperCase(),t.key);v.update(o),h=v.digest(\"base64\")}else{var g=c.createSign(t.algorithm.toUpperCase());g.update(o),h=g.sign(t.key,\"base64\")}return e.setHeader(\"Authorization\",u(l,t.keyId,t.algorithm,t.headers.join(\" \"),h)),!0}}},{\"assert-plus\":475,crypto:void 0,http:void 0,util:void 0}],500:[function(e,t,n){(function(n){function r(e,t){var n=p.ruint32(e,\"big\",t);t+=4;var r=t+n;return{data:e.slice(t,r),offset:r}}function i(e,t){e.writeByte(2),e.writeLength(t.length);for(var n=0;n<t.length;n++)e.writeByte(t[n]);return e}function o(e){var t,o,a,s,c,p,l,f=\"\",d=0;try{if(t=new n(e.split(\" \")[1],\"base64\"),l=r(t,d),p=l.data.toString(),d=l.offset,\"ssh-rsa\"!==p)throw new Error(\"Invalid ssh key type: \"+p);l=r(t,d),a=l.data,d=l.offset,l=r(t,d),c=l.data}catch(h){throw new Error(\"Invalid ssh key: \"+e)}for(o=new u.BerWriter,o.startSequence(),o.startSequence(),o.writeOID(\"1.2.840.113549.1.1.1\"),o.writeNull(),o.endSequence(),o.startSequence(3),o.writeByte(0),o.startSequence(),i(o,c),i(o,a),o.endSequence(),o.endSequence(),o.endSequence(),l=o.buffer.toString(\"base64\"),s=0;s<l.length;s++)s%64===0&&(f+=\"\\n\"),f+=l.charAt(s);return/\\\\n$/.test(f)||(f+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+f+\"-----END PUBLIC KEY-----\\n\"}function a(e){var t,o,a,s,c,p,l,f,d=0,h=\"\";try{if(t=new n(e.split(\" \")[1],\"base64\"),o=r(t,d),s=o.data.toString(),d=o.offset,!/^ssh-ds[as].*/.test(s))throw new Error(\"Invalid ssh key type: \"+s);o=r(t,d),c=o.data,d=o.offset,o=r(t,d),p=o.data,d=o.offset,o=r(t,d),l=o.data,d=o.offset,o=r(t,d),f=o.data}catch(m){throw console.log(m.stack),new Error(\"Invalid ssh key: \"+e)}a=new u.BerWriter,a.startSequence(),a.startSequence(),a.writeOID(\"1.2.840.10040.4.1\"),a.startSequence(),i(a,c),i(a,p),i(a,l),a.endSequence(),a.endSequence(),a.startSequence(3),a.writeByte(0),i(a,f),a.endSequence(),a.endSequence(),o=a.buffer.toString(\"base64\");for(var v=0;v<o.length;v++)v%64===0&&(h+=\"\\n\"),h+=o.charAt(v);return/\\\\n$/.test(h)||(h+=\"\\n\"),\"-----BEGIN PUBLIC KEY-----\"+h+\"-----END PUBLIC KEY-----\\n\"}var s=e(\"assert-plus\"),c=e(\"crypto\"),u=e(\"asn1\"),p=e(\"ctype\");t.exports={sshKeyToPEM:function(e){if(s.string(e,\"ssh_key\"),/^ssh-rsa.*/.test(e))return o(e);if(/^ssh-ds[as].*/.test(e))return a(e);throw new Error(\"Only RSA and DSA public keys are allowed\")},fingerprint:function(e){s.string(e,\"ssh_key\");var t=e.split(\" \");if(!t||!t.length||t.length<2)throw new Error(\"invalid ssh key\");var r=new n(t[1],\"base64\"),i=c.createHash(\"md5\");i.update(r);for(var o=i.digest(\"hex\"),a=\"\",u=0;u<o.length;u++)u&&u%2===0&&(a+=\":\"),a+=o[u];return a},pemToRsaSSHKey:function(e,t){s.equal(\"string\",typeof e,\"typeof pem\");var r=e.split(\"\\n\").slice(1,-2).join(\"\"),i=new n(r,\"base64\"),o=new u.BerReader(i);o.readSequence(),o.readSequence();var a=o.readOID();s.equal(a,\"1.2.840.113549.1.1.1\",\"pem not in RSA format\"),o.readByte(),o.readByte(),o.readSequence(3),o.readByte(),o.readSequence(),s.equal(o.peek(),u.Ber.Integer,\"modulus not an integer\"),o._offset=o.readLength(o.offset+1);var c=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length,s.equal(o.peek(),u.Ber.Integer,\"exponent not an integer\"),o._offset=o.readLength(o.offset+1);var p=o._buf.slice(o.offset,o.offset+o.length);o._offset+=o.length;var l=new n(\"ssh-rsa\"),f=new n(4+l.length+4+c.length+4+p.length),d=0;f.writeUInt32BE(l.length,d),d+=4,l.copy(f,d),d+=l.length,f.writeUInt32BE(p.length,d),d+=4,p.copy(f,d),d+=p.length,f.writeUInt32BE(c.length,d),d+=4,c.copy(f,d),d+=c.length;var h=l.toString()+\" \"+f.toString(\"base64\")+\" \"+(t||\"\");return h}}}).call(this,e(\"buffer\").Buffer)},{asn1:474,\"assert-plus\":475,buffer:void 0,crypto:void 0,ctype:81}],501:[function(e,t,n){var r=e(\"assert-plus\"),i=e(\"crypto\");t.exports={verifySignature:function(e,t){r.object(e,\"parsedSignature\"),r.string(t,\"key\");var n=e.algorithm.match(/(HMAC|RSA|DSA)-(\\w+)/);if(!n||3!==n.length)throw new TypeError(\"parsedSignature: unsupported algorithm \"+e.algorithm);if(\"HMAC\"===n[1]){var o=i.createHmac(n[2].toUpperCase(),t);return o.update(e.signingString),o.digest(\"base64\")===e.params.signature}var a=i.createVerify(n[0]);return a.update(e.signingString),a.verify(t,e.params.signature,\"base64\")}}},{\"assert-plus\":475,crypto:void 0}],502:[function(e,t,n){arguments[4][240][0].apply(n,arguments)},{dup:240}],503:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":{source:\"iana\"},\"application/3gpdash-qoe-report+xml\":{source:\"iana\"},\"application/3gpp-ims+xml\":{source:\"iana\"},\"application/a2l\":{source:\"iana\"},\"application/activemessage\":{source:\"iana\"},\"application/alto-costmap+json\":{source:\"iana\",compressible:!0},\"application/alto-costmapfilter+json\":{source:\"iana\",compressible:!0},\"application/alto-directory+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcost+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointcostparams+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointprop+json\":{source:\"iana\",compressible:!0},\"application/alto-endpointpropparams+json\":{source:\"iana\",compressible:!0},\"application/alto-error+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmap+json\":{source:\"iana\",compressible:!0},\"application/alto-networkmapfilter+json\":{source:\"iana\",compressible:!0},\"application/aml\":{source:\"iana\"},\"application/andrew-inset\":{source:\"iana\",extensions:[\"ez\"]},\"application/applefile\":{source:\"iana\"},\"application/applixware\":{source:\"apache\",extensions:[\"aw\"]},\"application/atf\":{source:\"iana\"},\"application/atfx\":{source:\"iana\"},\"application/atom+xml\":{source:\"iana\",compressible:!0,extensions:[\"atom\"]},\"application/atomcat+xml\":{source:\"iana\",extensions:[\"atomcat\"]},\"application/atomdeleted+xml\":{source:\"iana\"},\"application/atomicmail\":{source:\"iana\"},\"application/atomsvc+xml\":{source:\"iana\",extensions:[\"atomsvc\"]},\"application/atxml\":{source:\"iana\"},\"application/auth-policy+xml\":{source:\"iana\"},\"application/bacnet-xdd+zip\":{source:\"iana\"},\"application/batch-smtp\":{source:\"iana\"},\"application/bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/beep+xml\":{source:\"iana\"},\"application/calendar+json\":{source:\"iana\",compressible:!0},\"application/calendar+xml\":{source:\"iana\"},\"application/call-completion\":{source:\"iana\"},\"application/cals-1840\":{source:\"iana\"},\"application/cbor\":{source:\"iana\"},\"application/ccmp+xml\":{source:\"iana\"},\"application/ccxml+xml\":{source:\"iana\",extensions:[\"ccxml\"]},\"application/cdfx+xml\":{source:\"iana\"},\"application/cdmi-capability\":{source:\"iana\",extensions:[\"cdmia\"]},\"application/cdmi-container\":{source:\"iana\",extensions:[\"cdmic\"]},\"application/cdmi-domain\":{source:\"iana\",extensions:[\"cdmid\"]},\"application/cdmi-object\":{source:\"iana\",extensions:[\"cdmio\"]},\"application/cdmi-queue\":{source:\"iana\",extensions:[\"cdmiq\"]},\"application/cea\":{source:\"iana\"},\"application/cea-2018+xml\":{source:\"iana\"},\"application/cellml+xml\":{source:\"iana\"},\"application/cfw\":{source:\"iana\"},\"application/cms\":{source:\"iana\"},\"application/cnrp+xml\":{source:\"iana\"},\"application/coap-group+json\":{source:\"iana\",compressible:!0},\"application/commonground\":{source:\"iana\"},\"application/conference-info+xml\":{source:\"iana\"},\"application/cpl+xml\":{source:\"iana\"},\"application/csrattrs\":{source:\"iana\"},\"application/csta+xml\":{source:\"iana\"},\"application/cstadata+xml\":{source:\"iana\"},\"application/cu-seeme\":{source:\"apache\",extensions:[\"cu\"]},\"application/cybercash\":{source:\"iana\"},\"application/dart\":{compressible:!0},\"application/dash+xml\":{source:\"iana\",extensions:[\"mdp\"]},\"application/dashdelta\":{source:\"iana\"},\"application/davmount+xml\":{source:\"iana\",extensions:[\"davmount\"]},\"application/dca-rft\":{source:\"iana\"},\"application/dcd\":{source:\"iana\"},\"application/dec-dx\":{source:\"iana\"},\"application/dialog-info+xml\":{source:\"iana\"},\"application/dicom\":{source:\"iana\"},\"application/dii\":{source:\"iana\"},\"application/dit\":{source:\"iana\"},\"application/dns\":{source:\"iana\"},\"application/docbook+xml\":{source:\"apache\",extensions:[\"dbk\"]},\"application/dskpp+xml\":{source:\"iana\"},\"application/dssc+der\":{source:\"iana\",extensions:[\"dssc\"]},\"application/dssc+xml\":{source:\"iana\",extensions:[\"xdssc\"]},\"application/dvcs\":{source:\"iana\"},\"application/ecmascript\":{source:\"iana\",compressible:!0,extensions:[\"ecma\"]},\"application/edi-consent\":{source:\"iana\"},\"application/edi-x12\":{source:\"iana\",compressible:!1},\"application/edifact\":{source:\"iana\",compressible:!1},\"application/emma+xml\":{source:\"iana\",extensions:[\"emma\"]},\"application/emotionml+xml\":{source:\"iana\"},\"application/encaprtp\":{source:\"iana\"},\"application/epp+xml\":{source:\"iana\"},\"application/epub+zip\":{source:\"iana\",extensions:[\"epub\"]},\"application/eshop\":{source:\"iana\"},\"application/exi\":{source:\"iana\",extensions:[\"exi\"]},\"application/fastinfoset\":{source:\"iana\"},\"application/fastsoap\":{source:\"iana\"},\"application/fdt+xml\":{source:\"iana\"},\"application/fits\":{source:\"iana\"},\"application/font-sfnt\":{source:\"iana\"},\"application/font-tdpfr\":{source:\"iana\",extensions:[\"pfr\"]},\"application/font-woff\":{source:\"iana\",compressible:!1,extensions:[\"woff\"]},\"application/font-woff2\":{compressible:!1,extensions:[\"woff2\"]},\"application/framework-attributes+xml\":{source:\"iana\"},\"application/gml+xml\":{source:\"apache\",extensions:[\"gml\"]},\"application/gpx+xml\":{source:\"apache\",extensions:[\"gpx\"]},\"application/gxf\":{source:\"apache\",extensions:[\"gxf\"]},\"application/gzip\":{source:\"iana\",compressible:!1},\"application/h224\":{source:\"iana\"},\"application/held+xml\":{source:\"iana\"},\"application/http\":{source:\"iana\"},\"application/hyperstudio\":{source:\"iana\",extensions:[\"stk\"]},\"application/ibe-key-request+xml\":{source:\"iana\"},\"application/ibe-pkg-reply+xml\":{source:\"iana\"},\"application/ibe-pp-data\":{source:\"iana\"},\"application/iges\":{source:\"iana\"},\"application/im-iscomposing+xml\":{source:\"iana\"},\"application/index\":{source:\"iana\"},\"application/index.cmd\":{source:\"iana\"},\"application/index.obj\":{source:\"iana\"},\"application/index.response\":{source:\"iana\"},\"application/index.vnd\":{source:\"iana\"},\"application/inkml+xml\":{source:\"iana\",extensions:[\"ink\",\"inkml\"]},\"application/iotp\":{source:\"iana\"},\"application/ipfix\":{source:\"iana\",extensions:[\"ipfix\"]},\"application/ipp\":{source:\"iana\"},\"application/isup\":{source:\"iana\"},\"application/its+xml\":{source:\"iana\"},\"application/java-archive\":{source:\"apache\",compressible:!1,extensions:[\"jar\"]},\"application/java-serialized-object\":{source:\"apache\",compressible:!1,extensions:[\"ser\"]},\"application/java-vm\":{source:\"apache\",compressible:!1,extensions:[\"class\"]},\"application/javascript\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"js\"]},\"application/jose\":{source:\"iana\"},\"application/jose+json\":{source:\"iana\",compressible:!0},\"application/jrd+json\":{source:\"iana\",compressible:!0},\"application/json\":{source:\"iana\",charset:\"UTF-8\",compressible:!0,extensions:[\"json\",\"map\"]},\"application/json-patch+json\":{source:\"iana\",compressible:!0},\"application/json-seq\":{source:\"iana\"},\"application/json5\":{extensions:[\"json5\"]},\"application/jsonml+json\":{source:\"apache\",compressible:!0,extensions:[\"jsonml\"]},\"application/jwk+json\":{source:\"iana\",compressible:!0},\"application/jwk-set+json\":{source:\"iana\",compressible:!0},\"application/jwt\":{source:\"iana\"},\"application/kpml-request+xml\":{source:\"iana\"},\"application/kpml-response+xml\":{source:\"iana\"},\"application/ld+json\":{source:\"iana\",compressible:!0,extensions:[\"jsonld\"]},\"application/link-format\":{source:\"iana\"},\"application/load-control+xml\":{source:\"iana\"},\"application/lost+xml\":{source:\"iana\",extensions:[\"lostxml\"]},\"application/lostsync+xml\":{source:\"iana\"},\"application/lxf\":{source:\"iana\"},\"application/mac-binhex40\":{source:\"iana\",extensions:[\"hqx\"]},\"application/mac-compactpro\":{source:\"apache\",extensions:[\"cpt\"]},\"application/macwriteii\":{source:\"iana\"},\"application/mads+xml\":{source:\"iana\",extensions:[\"mads\"]},\"application/manifest+json\":{charset:\"UTF-8\",compressible:!0,extensions:[\"webmanifest\"]},\"application/marc\":{source:\"iana\",extensions:[\"mrc\"]},\"application/marcxml+xml\":{source:\"iana\",extensions:[\"mrcx\"]},\"application/mathematica\":{source:\"iana\",extensions:[\"ma\",\"nb\",\"mb\"]},\"application/mathml+xml\":{source:\"iana\",extensions:[\"mathml\"]},\"application/mathml-content+xml\":{source:\"iana\"},\"application/mathml-presentation+xml\":{source:\"iana\"},\"application/mbms-associated-procedure-description+xml\":{source:\"iana\"},\"application/mbms-deregister+xml\":{source:\"iana\"},\"application/mbms-envelope+xml\":{source:\"iana\"},\"application/mbms-msk+xml\":{source:\"iana\"},\"application/mbms-msk-response+xml\":{source:\"iana\"},\"application/mbms-protection-description+xml\":{source:\"iana\"},\"application/mbms-reception-report+xml\":{source:\"iana\"},\"application/mbms-register+xml\":{source:\"iana\"},\"application/mbms-register-response+xml\":{source:\"iana\"},\"application/mbms-schedule+xml\":{source:\"iana\"},\"application/mbms-user-service-description+xml\":{source:\"iana\"},\"application/mbox\":{source:\"iana\",extensions:[\"mbox\"]},\"application/media-policy-dataset+xml\":{source:\"iana\"},\"application/media_control+xml\":{source:\"iana\"},\"application/mediaservercontrol+xml\":{source:\"iana\",extensions:[\"mscml\"]},\"application/merge-patch+json\":{source:\"iana\",compressible:!0},\"application/metalink+xml\":{source:\"apache\",extensions:[\"metalink\"]},\"application/metalink4+xml\":{source:\"iana\",extensions:[\"meta4\"]},\"application/mets+xml\":{source:\"iana\",extensions:[\"mets\"]},\"application/mf4\":{source:\"iana\"},\"application/mikey\":{source:\"iana\"},\"application/mods+xml\":{source:\"iana\",extensions:[\"mods\"]},\"application/moss-keys\":{source:\"iana\"},\"application/moss-signature\":{source:\"iana\"},\"application/mosskey-data\":{source:\"iana\"},\"application/mosskey-request\":{source:\"iana\"},\"application/mp21\":{source:\"iana\",extensions:[\"m21\",\"mp21\"]},\"application/mp4\":{source:\"iana\",extensions:[\"mp4s\",\"m4p\"]},\"application/mpeg4-generic\":{source:\"iana\"},\"application/mpeg4-iod\":{source:\"iana\"},\"application/mpeg4-iod-xmt\":{source:\"iana\"},\"application/mrb-consumer+xml\":{source:\"iana\"},\"application/mrb-publish+xml\":{source:\"iana\"},\"application/msc-ivr+xml\":{source:\"iana\"},\"application/msc-mixer+xml\":{source:\"iana\"},\"application/msword\":{source:\"iana\",compressible:!1,extensions:[\"doc\",\"dot\"]},\"application/mxf\":{source:\"iana\",extensions:[\"mxf\"]},\"application/nasdata\":{source:\"iana\"},\"application/news-checkgroups\":{source:\"iana\"},\"application/news-groupinfo\":{source:\"iana\"},\"application/news-transmission\":{source:\"iana\"},\"application/nlsml+xml\":{source:\"iana\"},\"application/nss\":{source:\"iana\"},\"application/ocsp-request\":{source:\"iana\"},\"application/ocsp-response\":{source:\"iana\"},\"application/octet-stream\":{source:\"iana\",compressible:!1,extensions:[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"buffer\"]},\"application/oda\":{source:\"iana\",extensions:[\"oda\"]},\"application/odx\":{source:\"iana\"},\"application/oebps-package+xml\":{source:\"iana\",extensions:[\"opf\"]},\"application/ogg\":{source:\"iana\",compressible:!1,extensions:[\"ogx\"]},\"application/omdoc+xml\":{source:\"apache\",extensions:[\"omdoc\"]},\"application/onenote\":{source:\"apache\",extensions:[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"]},\"application/oxps\":{source:\"iana\",extensions:[\"oxps\"]},\"application/p2p-overlay+xml\":{source:\"iana\"},\"application/parityfec\":{source:\"iana\"},\"application/patch-ops-error+xml\":{source:\"iana\",extensions:[\"xer\"]},\"application/pdf\":{source:\"iana\",compressible:!1,extensions:[\"pdf\"]},\"application/pdx\":{source:\"iana\"},\"application/pgp-encrypted\":{source:\"iana\",compressible:!1,extensions:[\"pgp\"]},\"application/pgp-keys\":{source:\"iana\"},\"application/pgp-signature\":{source:\"iana\",extensions:[\"asc\",\"sig\"]},\"application/pics-rules\":{source:\"apache\",extensions:[\"prf\"]},\"application/pidf+xml\":{source:\"iana\"},\"application/pidf-diff+xml\":{source:\"iana\"},\"application/pkcs10\":{source:\"iana\",extensions:[\"p10\"]},\"application/pkcs7-mime\":{source:\"iana\",extensions:[\"p7m\",\"p7c\"]},\"application/pkcs7-signature\":{source:\"iana\",extensions:[\"p7s\"]},\"application/pkcs8\":{source:\"iana\",extensions:[\"p8\"]},\"application/pkix-attr-cert\":{source:\"iana\",extensions:[\"ac\"]},\"application/pkix-cert\":{source:\"iana\",extensions:[\"cer\"]},\"application/pkix-crl\":{source:\"iana\",extensions:[\"crl\"]},\"application/pkix-pkipath\":{source:\"iana\",extensions:[\"pkipath\"]},\"application/pkixcmp\":{source:\"iana\",extensions:[\"pki\"]},\"application/pls+xml\":{source:\"iana\",extensions:[\"pls\"]},\"application/poc-settings+xml\":{source:\"iana\"},\"application/postscript\":{source:\"iana\",compressible:!0,extensions:[\"ai\",\"eps\",\"ps\"]},\"application/provenance+xml\":{source:\"iana\"},\"application/prs.alvestrand.titrax-sheet\":{source:\"iana\"},\"application/prs.cww\":{source:\"iana\",extensions:[\"cww\"]},\"application/prs.hpub+zip\":{source:\"iana\"},\"application/prs.nprend\":{source:\"iana\"},\"application/prs.plucker\":{source:\"iana\"},\"application/prs.rdf-xml-crypt\":{source:\"iana\"},\"application/prs.xsf+xml\":{source:\"iana\"},\"application/pskc+xml\":{source:\"iana\",extensions:[\"pskcxml\"]},\"application/qsig\":{source:\"iana\"},\"application/raptorfec\":{source:\"iana\"},\"application/rdap+json\":{source:\"iana\",compressible:!0},\"application/rdf+xml\":{source:\"iana\",compressible:!0,extensions:[\"rdf\"]},\"application/reginfo+xml\":{source:\"iana\",extensions:[\"rif\"]},\"application/relax-ng-compact-syntax\":{source:\"iana\",extensions:[\"rnc\"]},\"application/remote-printing\":{source:\"iana\"},\"application/reputon+json\":{source:\"iana\",compressible:!0},\"application/resource-lists+xml\":{source:\"iana\",extensions:[\"rl\"]},\"application/resource-lists-diff+xml\":{source:\"iana\",extensions:[\"rld\"]},\"application/riscos\":{source:\"iana\"},\"application/rlmi+xml\":{source:\"iana\"},\"application/rls-services+xml\":{source:\"iana\",extensions:[\"rs\"]},\"application/rpki-ghostbusters\":{source:\"iana\",extensions:[\"gbr\"]},\"application/rpki-manifest\":{source:\"iana\",extensions:[\"mft\"]},\"application/rpki-roa\":{source:\"iana\",extensions:[\"roa\"]},\"application/rpki-updown\":{source:\"iana\"},\"application/rsd+xml\":{source:\"apache\",extensions:[\"rsd\"]},\"application/rss+xml\":{source:\"apache\",compressible:!0,extensions:[\"rss\"]},\"application/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"application/rtploopback\":{source:\"iana\"},\"application/rtx\":{source:\"iana\"},\"application/samlassertion+xml\":{source:\"iana\"},\"application/samlmetadata+xml\":{source:\"iana\"},\"application/sbml+xml\":{source:\"iana\",extensions:[\"sbml\"]},\"application/scaip+xml\":{source:\"iana\"},\"application/scvp-cv-request\":{source:\"iana\",extensions:[\"scq\"]},\"application/scvp-cv-response\":{source:\"iana\",extensions:[\"scs\"]},\"application/scvp-vp-request\":{source:\"iana\",extensions:[\"spq\"]},\"application/scvp-vp-response\":{source:\"iana\",extensions:[\"spp\"]},\"application/sdp\":{source:\"iana\",extensions:[\"sdp\"]},\"application/sep+xml\":{source:\"iana\"},\"application/sep-exi\":{source:\"iana\"},\"application/session-info\":{source:\"iana\"},\"application/set-payment\":{source:\"iana\"},\"application/set-payment-initiation\":{source:\"iana\",extensions:[\"setpay\"]},\"application/set-registration\":{source:\"iana\"},\"application/set-registration-initiation\":{source:\"iana\",extensions:[\"setreg\"]},\"application/sgml\":{source:\"iana\"},\"application/sgml-open-catalog\":{source:\"iana\"},\"application/shf+xml\":{source:\"iana\",extensions:[\"shf\"]},\"application/sieve\":{source:\"iana\"},\"application/simple-filter+xml\":{source:\"iana\"},\"application/simple-message-summary\":{source:\"iana\"},\"application/simplesymbolcontainer\":{source:\"iana\"},\"application/slate\":{source:\"iana\"},\"application/smil\":{source:\"iana\"},\"application/smil+xml\":{source:\"iana\",extensions:[\"smi\",\"smil\"]},\"application/smpte336m\":{source:\"iana\"},\"application/soap+fastinfoset\":{source:\"iana\"},\"application/soap+xml\":{source:\"iana\",compressible:!0},\"application/sparql-query\":{source:\"iana\",extensions:[\"rq\"]},\"application/sparql-results+xml\":{source:\"iana\",extensions:[\"srx\"]},\"application/spirits-event+xml\":{source:\"iana\"},\"application/sql\":{source:\"iana\"},\"application/srgs\":{source:\"iana\",extensions:[\"gram\"]},\"application/srgs+xml\":{source:\"iana\",extensions:[\"grxml\"]},\"application/sru+xml\":{source:\"iana\",extensions:[\"sru\"]},\"application/ssdl+xml\":{source:\"apache\",extensions:[\"ssdl\"]},\"application/ssml+xml\":{source:\"iana\",extensions:[\"ssml\"]},\"application/tamp-apex-update\":{\nsource:\"iana\"},\"application/tamp-apex-update-confirm\":{source:\"iana\"},\"application/tamp-community-update\":{source:\"iana\"},\"application/tamp-community-update-confirm\":{source:\"iana\"},\"application/tamp-error\":{source:\"iana\"},\"application/tamp-sequence-adjust\":{source:\"iana\"},\"application/tamp-sequence-adjust-confirm\":{source:\"iana\"},\"application/tamp-status-query\":{source:\"iana\"},\"application/tamp-status-response\":{source:\"iana\"},\"application/tamp-update\":{source:\"iana\"},\"application/tamp-update-confirm\":{source:\"iana\"},\"application/tar\":{compressible:!0},\"application/tei+xml\":{source:\"iana\",extensions:[\"tei\",\"teicorpus\"]},\"application/thraud+xml\":{source:\"iana\",extensions:[\"tfi\"]},\"application/timestamp-query\":{source:\"iana\"},\"application/timestamp-reply\":{source:\"iana\"},\"application/timestamped-data\":{source:\"iana\",extensions:[\"tsd\"]},\"application/ttml+xml\":{source:\"iana\"},\"application/tve-trigger\":{source:\"iana\"},\"application/ulpfec\":{source:\"iana\"},\"application/urc-grpsheet+xml\":{source:\"iana\"},\"application/urc-ressheet+xml\":{source:\"iana\"},\"application/urc-targetdesc+xml\":{source:\"iana\"},\"application/urc-uisocketdesc+xml\":{source:\"iana\"},\"application/vcard+json\":{source:\"iana\",compressible:!0},\"application/vcard+xml\":{source:\"iana\"},\"application/vemmi\":{source:\"iana\"},\"application/vividence.scriptfile\":{source:\"apache\"},\"application/vnd.3gpp.bsf+xml\":{source:\"iana\"},\"application/vnd.3gpp.pic-bw-large\":{source:\"iana\",extensions:[\"plb\"]},\"application/vnd.3gpp.pic-bw-small\":{source:\"iana\",extensions:[\"psb\"]},\"application/vnd.3gpp.pic-bw-var\":{source:\"iana\",extensions:[\"pvb\"]},\"application/vnd.3gpp.sms\":{source:\"iana\"},\"application/vnd.3gpp2.bcmcsinfo+xml\":{source:\"iana\"},\"application/vnd.3gpp2.sms\":{source:\"iana\"},\"application/vnd.3gpp2.tcap\":{source:\"iana\",extensions:[\"tcap\"]},\"application/vnd.3m.post-it-notes\":{source:\"iana\",extensions:[\"pwn\"]},\"application/vnd.accpac.simply.aso\":{source:\"iana\",extensions:[\"aso\"]},\"application/vnd.accpac.simply.imp\":{source:\"iana\",extensions:[\"imp\"]},\"application/vnd.acucobol\":{source:\"iana\",extensions:[\"acu\"]},\"application/vnd.acucorp\":{source:\"iana\",extensions:[\"atc\",\"acutc\"]},\"application/vnd.adobe.air-application-installer-package+zip\":{source:\"apache\",extensions:[\"air\"]},\"application/vnd.adobe.flash.movie\":{source:\"iana\"},\"application/vnd.adobe.formscentral.fcdt\":{source:\"iana\",extensions:[\"fcdt\"]},\"application/vnd.adobe.fxp\":{source:\"iana\",extensions:[\"fxp\",\"fxpl\"]},\"application/vnd.adobe.partial-upload\":{source:\"iana\"},\"application/vnd.adobe.xdp+xml\":{source:\"iana\",extensions:[\"xdp\"]},\"application/vnd.adobe.xfdf\":{source:\"iana\",extensions:[\"xfdf\"]},\"application/vnd.aether.imp\":{source:\"iana\"},\"application/vnd.ah-barcode\":{source:\"iana\"},\"application/vnd.ahead.space\":{source:\"iana\",extensions:[\"ahead\"]},\"application/vnd.airzip.filesecure.azf\":{source:\"iana\",extensions:[\"azf\"]},\"application/vnd.airzip.filesecure.azs\":{source:\"iana\",extensions:[\"azs\"]},\"application/vnd.amazon.ebook\":{source:\"apache\",extensions:[\"azw\"]},\"application/vnd.americandynamics.acc\":{source:\"iana\",extensions:[\"acc\"]},\"application/vnd.amiga.ami\":{source:\"iana\",extensions:[\"ami\"]},\"application/vnd.amundsen.maze+xml\":{source:\"iana\"},\"application/vnd.android.package-archive\":{source:\"apache\",compressible:!1,extensions:[\"apk\"]},\"application/vnd.anser-web-certificate-issue-initiation\":{source:\"iana\",extensions:[\"cii\"]},\"application/vnd.anser-web-funds-transfer-initiation\":{source:\"apache\",extensions:[\"fti\"]},\"application/vnd.antix.game-component\":{source:\"iana\",extensions:[\"atx\"]},\"application/vnd.apache.thrift.binary\":{source:\"iana\"},\"application/vnd.apache.thrift.compact\":{source:\"iana\"},\"application/vnd.apache.thrift.json\":{source:\"iana\"},\"application/vnd.api+json\":{source:\"iana\",compressible:!0},\"application/vnd.apple.installer+xml\":{source:\"iana\",extensions:[\"mpkg\"]},\"application/vnd.apple.mpegurl\":{source:\"iana\",extensions:[\"m3u8\"]},\"application/vnd.arastra.swi\":{source:\"iana\"},\"application/vnd.aristanetworks.swi\":{source:\"iana\",extensions:[\"swi\"]},\"application/vnd.artsquare\":{source:\"iana\"},\"application/vnd.astraea-software.iota\":{source:\"iana\",extensions:[\"iota\"]},\"application/vnd.audiograph\":{source:\"iana\",extensions:[\"aep\"]},\"application/vnd.autopackage\":{source:\"iana\"},\"application/vnd.avistar+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmml+xml\":{source:\"iana\"},\"application/vnd.balsamiq.bmpr\":{source:\"iana\"},\"application/vnd.bekitzur-stech+json\":{source:\"iana\",compressible:!0},\"application/vnd.blueice.multipass\":{source:\"iana\",extensions:[\"mpm\"]},\"application/vnd.bluetooth.ep.oob\":{source:\"iana\"},\"application/vnd.bluetooth.le.oob\":{source:\"iana\"},\"application/vnd.bmi\":{source:\"iana\",extensions:[\"bmi\"]},\"application/vnd.businessobjects\":{source:\"iana\",extensions:[\"rep\"]},\"application/vnd.cab-jscript\":{source:\"iana\"},\"application/vnd.canon-cpdl\":{source:\"iana\"},\"application/vnd.canon-lips\":{source:\"iana\"},\"application/vnd.cendio.thinlinc.clientconf\":{source:\"iana\"},\"application/vnd.century-systems.tcp_stream\":{source:\"iana\"},\"application/vnd.chemdraw+xml\":{source:\"iana\",extensions:[\"cdxml\"]},\"application/vnd.chipnuts.karaoke-mmd\":{source:\"iana\",extensions:[\"mmd\"]},\"application/vnd.cinderella\":{source:\"iana\",extensions:[\"cdy\"]},\"application/vnd.cirpack.isdn-ext\":{source:\"iana\"},\"application/vnd.citationstyles.style+xml\":{source:\"iana\"},\"application/vnd.claymore\":{source:\"iana\",extensions:[\"cla\"]},\"application/vnd.cloanto.rp9\":{source:\"iana\",extensions:[\"rp9\"]},\"application/vnd.clonk.c4group\":{source:\"iana\",extensions:[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"]},\"application/vnd.cluetrust.cartomobile-config\":{source:\"iana\",extensions:[\"c11amc\"]},\"application/vnd.cluetrust.cartomobile-config-pkg\":{source:\"iana\",extensions:[\"c11amz\"]},\"application/vnd.coffeescript\":{source:\"iana\"},\"application/vnd.collection+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.doc+json\":{source:\"iana\",compressible:!0},\"application/vnd.collection.next+json\":{source:\"iana\",compressible:!0},\"application/vnd.commerce-battelle\":{source:\"iana\"},\"application/vnd.commonspace\":{source:\"iana\",extensions:[\"csp\"]},\"application/vnd.contact.cmsg\":{source:\"iana\",extensions:[\"cdbcmsg\"]},\"application/vnd.cosmocaller\":{source:\"iana\",extensions:[\"cmc\"]},\"application/vnd.crick.clicker\":{source:\"iana\",extensions:[\"clkx\"]},\"application/vnd.crick.clicker.keyboard\":{source:\"iana\",extensions:[\"clkk\"]},\"application/vnd.crick.clicker.palette\":{source:\"iana\",extensions:[\"clkp\"]},\"application/vnd.crick.clicker.template\":{source:\"iana\",extensions:[\"clkt\"]},\"application/vnd.crick.clicker.wordbank\":{source:\"iana\",extensions:[\"clkw\"]},\"application/vnd.criticaltools.wbs+xml\":{source:\"iana\",extensions:[\"wbs\"]},\"application/vnd.ctc-posml\":{source:\"iana\",extensions:[\"pml\"]},\"application/vnd.ctct.ws+xml\":{source:\"iana\"},\"application/vnd.cups-pdf\":{source:\"iana\"},\"application/vnd.cups-postscript\":{source:\"iana\"},\"application/vnd.cups-ppd\":{source:\"iana\",extensions:[\"ppd\"]},\"application/vnd.cups-raster\":{source:\"iana\"},\"application/vnd.cups-raw\":{source:\"iana\"},\"application/vnd.curl\":{source:\"iana\"},\"application/vnd.curl.car\":{source:\"apache\",extensions:[\"car\"]},\"application/vnd.curl.pcurl\":{source:\"apache\",extensions:[\"pcurl\"]},\"application/vnd.cyan.dean.root+xml\":{source:\"iana\"},\"application/vnd.cybank\":{source:\"iana\"},\"application/vnd.dart\":{source:\"iana\",compressible:!0,extensions:[\"dart\"]},\"application/vnd.data-vision.rdz\":{source:\"iana\",extensions:[\"rdz\"]},\"application/vnd.debian.binary-package\":{source:\"iana\"},\"application/vnd.dece.data\":{source:\"iana\",extensions:[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"]},\"application/vnd.dece.ttml+xml\":{source:\"iana\",extensions:[\"uvt\",\"uvvt\"]},\"application/vnd.dece.unspecified\":{source:\"iana\",extensions:[\"uvx\",\"uvvx\"]},\"application/vnd.dece.zip\":{source:\"iana\",extensions:[\"uvz\",\"uvvz\"]},\"application/vnd.denovo.fcselayout-link\":{source:\"iana\",extensions:[\"fe_launch\"]},\"application/vnd.desmume-movie\":{source:\"iana\"},\"application/vnd.dir-bi.plate-dl-nosuffix\":{source:\"iana\"},\"application/vnd.dm.delegation+xml\":{source:\"iana\"},\"application/vnd.dna\":{source:\"iana\",extensions:[\"dna\"]},\"application/vnd.document+json\":{source:\"iana\",compressible:!0},\"application/vnd.dolby.mlp\":{source:\"apache\",extensions:[\"mlp\"]},\"application/vnd.dolby.mobile.1\":{source:\"iana\"},\"application/vnd.dolby.mobile.2\":{source:\"iana\"},\"application/vnd.doremir.scorecloud-binary-document\":{source:\"iana\"},\"application/vnd.dpgraph\":{source:\"iana\",extensions:[\"dpg\"]},\"application/vnd.dreamfactory\":{source:\"iana\",extensions:[\"dfac\"]},\"application/vnd.ds-keypoint\":{source:\"apache\",extensions:[\"kpxx\"]},\"application/vnd.dtg.local\":{source:\"iana\"},\"application/vnd.dtg.local.flash\":{source:\"iana\"},\"application/vnd.dtg.local.html\":{source:\"iana\"},\"application/vnd.dvb.ait\":{source:\"iana\",extensions:[\"ait\"]},\"application/vnd.dvb.dvbj\":{source:\"iana\"},\"application/vnd.dvb.esgcontainer\":{source:\"iana\"},\"application/vnd.dvb.ipdcdftnotifaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgaccess2\":{source:\"iana\"},\"application/vnd.dvb.ipdcesgpdd\":{source:\"iana\"},\"application/vnd.dvb.ipdcroaming\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-base\":{source:\"iana\"},\"application/vnd.dvb.iptv.alfec-enhancement\":{source:\"iana\"},\"application/vnd.dvb.notif-aggregate-root+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-container+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-generic+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-msglist+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-request+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-ia-registration-response+xml\":{source:\"iana\"},\"application/vnd.dvb.notif-init+xml\":{source:\"iana\"},\"application/vnd.dvb.pfr\":{source:\"iana\"},\"application/vnd.dvb.service\":{source:\"iana\",extensions:[\"svc\"]},\"application/vnd.dxr\":{source:\"iana\"},\"application/vnd.dynageo\":{source:\"iana\",extensions:[\"geo\"]},\"application/vnd.dzr\":{source:\"iana\"},\"application/vnd.easykaraoke.cdgdownload\":{source:\"iana\"},\"application/vnd.ecdis-update\":{source:\"iana\"},\"application/vnd.ecowin.chart\":{source:\"iana\",extensions:[\"mag\"]},\"application/vnd.ecowin.filerequest\":{source:\"iana\"},\"application/vnd.ecowin.fileupdate\":{source:\"iana\"},\"application/vnd.ecowin.series\":{source:\"iana\"},\"application/vnd.ecowin.seriesrequest\":{source:\"iana\"},\"application/vnd.ecowin.seriesupdate\":{source:\"iana\"},\"application/vnd.emclient.accessrequest+xml\":{source:\"iana\"},\"application/vnd.enliven\":{source:\"iana\",extensions:[\"nml\"]},\"application/vnd.enphase.envoy\":{source:\"iana\"},\"application/vnd.eprints.data+xml\":{source:\"iana\"},\"application/vnd.epson.esf\":{source:\"iana\",extensions:[\"esf\"]},\"application/vnd.epson.msf\":{source:\"iana\",extensions:[\"msf\"]},\"application/vnd.epson.quickanime\":{source:\"iana\",extensions:[\"qam\"]},\"application/vnd.epson.salt\":{source:\"iana\",extensions:[\"slt\"]},\"application/vnd.epson.ssf\":{source:\"iana\",extensions:[\"ssf\"]},\"application/vnd.ericsson.quickcall\":{source:\"iana\"},\"application/vnd.eszigno3+xml\":{source:\"iana\",extensions:[\"es3\",\"et3\"]},\"application/vnd.etsi.aoc+xml\":{source:\"iana\"},\"application/vnd.etsi.asic-e+zip\":{source:\"iana\"},\"application/vnd.etsi.asic-s+zip\":{source:\"iana\"},\"application/vnd.etsi.cug+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvcommand+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvdiscovery+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-bc+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-cod+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsad-npvr+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvservice+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvsync+xml\":{source:\"iana\"},\"application/vnd.etsi.iptvueprofile+xml\":{source:\"iana\"},\"application/vnd.etsi.mcid+xml\":{source:\"iana\"},\"application/vnd.etsi.mheg5\":{source:\"iana\"},\"application/vnd.etsi.overload-control-policy-dataset+xml\":{source:\"iana\"},\"application/vnd.etsi.pstn+xml\":{source:\"iana\"},\"application/vnd.etsi.sci+xml\":{source:\"iana\"},\"application/vnd.etsi.simservs+xml\":{source:\"iana\"},\"application/vnd.etsi.timestamp-token\":{source:\"iana\"},\"application/vnd.etsi.tsl+xml\":{source:\"iana\"},\"application/vnd.etsi.tsl.der\":{source:\"iana\"},\"application/vnd.eudora.data\":{source:\"iana\"},\"application/vnd.ezpix-album\":{source:\"iana\",extensions:[\"ez2\"]},\"application/vnd.ezpix-package\":{source:\"iana\",extensions:[\"ez3\"]},\"application/vnd.f-secure.mobile\":{source:\"iana\"},\"application/vnd.fastcopy-disk-image\":{source:\"iana\"},\"application/vnd.fdf\":{source:\"iana\",extensions:[\"fdf\"]},\"application/vnd.fdsn.mseed\":{source:\"iana\",extensions:[\"mseed\"]},\"application/vnd.fdsn.seed\":{source:\"iana\",extensions:[\"seed\",\"dataless\"]},\"application/vnd.ffsns\":{source:\"iana\"},\"application/vnd.fints\":{source:\"iana\"},\"application/vnd.flographit\":{source:\"iana\",extensions:[\"gph\"]},\"application/vnd.fluxtime.clip\":{source:\"iana\",extensions:[\"ftc\"]},\"application/vnd.font-fontforge-sfd\":{source:\"iana\"},\"application/vnd.framemaker\":{source:\"iana\",extensions:[\"fm\",\"frame\",\"maker\",\"book\"]},\"application/vnd.frogans.fnc\":{source:\"iana\",extensions:[\"fnc\"]},\"application/vnd.frogans.ltf\":{source:\"iana\",extensions:[\"ltf\"]},\"application/vnd.fsc.weblaunch\":{source:\"iana\",extensions:[\"fsc\"]},\"application/vnd.fujitsu.oasys\":{source:\"iana\",extensions:[\"oas\"]},\"application/vnd.fujitsu.oasys2\":{source:\"iana\",extensions:[\"oa2\"]},\"application/vnd.fujitsu.oasys3\":{source:\"iana\",extensions:[\"oa3\"]},\"application/vnd.fujitsu.oasysgp\":{source:\"iana\",extensions:[\"fg5\"]},\"application/vnd.fujitsu.oasysprs\":{source:\"iana\",extensions:[\"bh2\"]},\"application/vnd.fujixerox.art-ex\":{source:\"iana\"},\"application/vnd.fujixerox.art4\":{source:\"iana\"},\"application/vnd.fujixerox.ddd\":{source:\"iana\",extensions:[\"ddd\"]},\"application/vnd.fujixerox.docuworks\":{source:\"iana\",extensions:[\"xdw\"]},\"application/vnd.fujixerox.docuworks.binder\":{source:\"iana\",extensions:[\"xbd\"]},\"application/vnd.fujixerox.docuworks.container\":{source:\"iana\"},\"application/vnd.fujixerox.hbpl\":{source:\"iana\"},\"application/vnd.fut-misnet\":{source:\"iana\"},\"application/vnd.fuzzysheet\":{source:\"iana\",extensions:[\"fzs\"]},\"application/vnd.genomatix.tuxedo\":{source:\"iana\",extensions:[\"txd\"]},\"application/vnd.geo+json\":{source:\"iana\",compressible:!0},\"application/vnd.geocube+xml\":{source:\"iana\"},\"application/vnd.geogebra.file\":{source:\"iana\",extensions:[\"ggb\"]},\"application/vnd.geogebra.tool\":{source:\"iana\",extensions:[\"ggt\"]},\"application/vnd.geometry-explorer\":{source:\"iana\",extensions:[\"gex\",\"gre\"]},\"application/vnd.geonext\":{source:\"iana\",extensions:[\"gxt\"]},\"application/vnd.geoplan\":{source:\"iana\",extensions:[\"g2w\"]},\"application/vnd.geospace\":{source:\"iana\",extensions:[\"g3w\"]},\"application/vnd.gerber\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt\":{source:\"iana\"},\"application/vnd.globalplatform.card-content-mgt-response\":{source:\"iana\"},\"application/vnd.gmx\":{source:\"iana\",extensions:[\"gmx\"]},\"application/vnd.google-earth.kml+xml\":{source:\"iana\",compressible:!0,extensions:[\"kml\"]},\"application/vnd.google-earth.kmz\":{source:\"iana\",compressible:!1,extensions:[\"kmz\"]},\"application/vnd.gov.sk.e-form+xml\":{source:\"iana\"},\"application/vnd.gov.sk.e-form+zip\":{source:\"iana\"},\"application/vnd.gov.sk.xmldatacontainer+xml\":{source:\"iana\"},\"application/vnd.grafeq\":{source:\"iana\",extensions:[\"gqf\",\"gqs\"]},\"application/vnd.gridmp\":{source:\"iana\"},\"application/vnd.groove-account\":{source:\"iana\",extensions:[\"gac\"]},\"application/vnd.groove-help\":{source:\"iana\",extensions:[\"ghf\"]},\"application/vnd.groove-identity-message\":{source:\"iana\",extensions:[\"gim\"]},\"application/vnd.groove-injector\":{source:\"iana\",extensions:[\"grv\"]},\"application/vnd.groove-tool-message\":{source:\"iana\",extensions:[\"gtm\"]},\"application/vnd.groove-tool-template\":{source:\"iana\",extensions:[\"tpl\"]},\"application/vnd.groove-vcard\":{source:\"iana\",extensions:[\"vcg\"]},\"application/vnd.hal+json\":{source:\"iana\",compressible:!0},\"application/vnd.hal+xml\":{source:\"iana\",extensions:[\"hal\"]},\"application/vnd.handheld-entertainment+xml\":{source:\"iana\",extensions:[\"zmm\"]},\"application/vnd.hbci\":{source:\"iana\",extensions:[\"hbci\"]},\"application/vnd.hcl-bireports\":{source:\"iana\"},\"application/vnd.heroku+json\":{source:\"iana\",compressible:!0},\"application/vnd.hhe.lesson-player\":{source:\"iana\",extensions:[\"les\"]},\"application/vnd.hp-hpgl\":{source:\"iana\",extensions:[\"hpgl\"]},\"application/vnd.hp-hpid\":{source:\"iana\",extensions:[\"hpid\"]},\"application/vnd.hp-hps\":{source:\"iana\",extensions:[\"hps\"]},\"application/vnd.hp-jlyt\":{source:\"iana\",extensions:[\"jlt\"]},\"application/vnd.hp-pcl\":{source:\"iana\",extensions:[\"pcl\"]},\"application/vnd.hp-pclxl\":{source:\"iana\",extensions:[\"pclxl\"]},\"application/vnd.httphone\":{source:\"iana\"},\"application/vnd.hydrostatix.sof-data\":{source:\"iana\",extensions:[\"sfd-hdstx\"]},\"application/vnd.hyperdrive+json\":{source:\"iana\",compressible:!0},\"application/vnd.hzn-3d-crossword\":{source:\"iana\"},\"application/vnd.ibm.afplinedata\":{source:\"iana\"},\"application/vnd.ibm.electronic-media\":{source:\"iana\"},\"application/vnd.ibm.minipay\":{source:\"iana\",extensions:[\"mpy\"]},\"application/vnd.ibm.modcap\":{source:\"iana\",extensions:[\"afp\",\"listafp\",\"list3820\"]},\"application/vnd.ibm.rights-management\":{source:\"iana\",extensions:[\"irm\"]},\"application/vnd.ibm.secure-container\":{source:\"iana\",extensions:[\"sc\"]},\"application/vnd.iccprofile\":{source:\"iana\",extensions:[\"icc\",\"icm\"]},\"application/vnd.ieee.1905\":{source:\"iana\"},\"application/vnd.igloader\":{source:\"iana\",extensions:[\"igl\"]},\"application/vnd.immervision-ivp\":{source:\"iana\",extensions:[\"ivp\"]},\"application/vnd.immervision-ivu\":{source:\"iana\",extensions:[\"ivu\"]},\"application/vnd.ims.imsccv1p1\":{source:\"iana\"},\"application/vnd.ims.imsccv1p2\":{source:\"iana\"},\"application/vnd.ims.imsccv1p3\":{source:\"iana\"},\"application/vnd.ims.lis.v2.result+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolconsumerprofile+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolproxy.id+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings+json\":{source:\"iana\",compressible:!0},\"application/vnd.ims.lti.v2.toolsettings.simple+json\":{source:\"iana\",compressible:!0},\"application/vnd.informedcontrol.rms+xml\":{source:\"iana\"},\"application/vnd.informix-visionary\":{source:\"iana\"},\"application/vnd.infotech.project\":{source:\"iana\"},\"application/vnd.infotech.project+xml\":{source:\"iana\"},\"application/vnd.innopath.wamp.notification\":{source:\"iana\"},\"application/vnd.insors.igm\":{source:\"iana\",extensions:[\"igm\"]},\"application/vnd.intercon.formnet\":{source:\"iana\",extensions:[\"xpw\",\"xpx\"]},\"application/vnd.intergeo\":{source:\"iana\",extensions:[\"i2g\"]},\"application/vnd.intertrust.digibox\":{source:\"iana\"},\"application/vnd.intertrust.nncp\":{source:\"iana\"},\"application/vnd.intu.qbo\":{source:\"iana\",extensions:[\"qbo\"]},\"application/vnd.intu.qfx\":{source:\"iana\",extensions:[\"qfx\"]},\"application/vnd.iptc.g2.catalogitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.conceptitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.knowledgeitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.newsmessage+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.packageitem+xml\":{source:\"iana\"},\"application/vnd.iptc.g2.planningitem+xml\":{source:\"iana\"},\"application/vnd.ipunplugged.rcprofile\":{source:\"iana\",extensions:[\"rcprofile\"]},\"application/vnd.irepository.package+xml\":{source:\"iana\",extensions:[\"irp\"]},\"application/vnd.is-xpr\":{source:\"iana\",extensions:[\"xpr\"]},\"application/vnd.isac.fcs\":{source:\"iana\",extensions:[\"fcs\"]},\"application/vnd.jam\":{source:\"iana\",extensions:[\"jam\"]},\"application/vnd.japannet-directory-service\":{source:\"iana\"},\"application/vnd.japannet-jpnstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-payment-wakeup\":{source:\"iana\"},\"application/vnd.japannet-registration\":{source:\"iana\"},\"application/vnd.japannet-registration-wakeup\":{source:\"iana\"},\"application/vnd.japannet-setstore-wakeup\":{source:\"iana\"},\"application/vnd.japannet-verification\":{source:\"iana\"},\"application/vnd.japannet-verification-wakeup\":{source:\"iana\"},\"application/vnd.jcp.javame.midlet-rms\":{source:\"iana\",extensions:[\"rms\"]},\"application/vnd.jisp\":{source:\"iana\",extensions:[\"jisp\"]},\"application/vnd.joost.joda-archive\":{source:\"iana\",extensions:[\"joda\"]},\"application/vnd.jsk.isdn-ngn\":{source:\"iana\"},\"application/vnd.kahootz\":{source:\"iana\",extensions:[\"ktz\",\"ktr\"]},\"application/vnd.kde.karbon\":{source:\"iana\",extensions:[\"karbon\"]},\"application/vnd.kde.kchart\":{source:\"iana\",extensions:[\"chrt\"]},\"application/vnd.kde.kformula\":{source:\"iana\",extensions:[\"kfo\"]},\"application/vnd.kde.kivio\":{source:\"iana\",extensions:[\"flw\"]},\"application/vnd.kde.kontour\":{source:\"iana\",extensions:[\"kon\"]},\"application/vnd.kde.kpresenter\":{source:\"iana\",extensions:[\"kpr\",\"kpt\"]},\"application/vnd.kde.kspread\":{source:\"iana\",extensions:[\"ksp\"]},\"application/vnd.kde.kword\":{source:\"iana\",extensions:[\"kwd\",\"kwt\"]},\"application/vnd.kenameaapp\":{source:\"iana\",extensions:[\"htke\"]},\"application/vnd.kidspiration\":{source:\"iana\",extensions:[\"kia\"]},\"application/vnd.kinar\":{source:\"iana\",extensions:[\"kne\",\"knp\"]},\"application/vnd.koan\":{source:\"iana\",extensions:[\"skp\",\"skd\",\"skt\",\"skm\"]},\"application/vnd.kodak-descriptor\":{source:\"iana\",extensions:[\"sse\"]},\"application/vnd.las.las+xml\":{source:\"iana\",extensions:[\"lasxml\"]},\"application/vnd.liberty-request+xml\":{source:\"iana\"},\"application/vnd.llamagraphics.life-balance.desktop\":{source:\"iana\",extensions:[\"lbd\"]},\"application/vnd.llamagraphics.life-balance.exchange+xml\":{source:\"iana\",extensions:[\"lbe\"]},\"application/vnd.lotus-1-2-3\":{source:\"iana\",extensions:[\"123\"]},\"application/vnd.lotus-approach\":{source:\"iana\",extensions:[\"apr\"]},\"application/vnd.lotus-freelance\":{source:\"iana\",extensions:[\"pre\"]},\"application/vnd.lotus-notes\":{source:\"iana\",extensions:[\"nsf\"]},\"application/vnd.lotus-organizer\":{source:\"iana\",extensions:[\"org\"]},\"application/vnd.lotus-screencam\":{source:\"iana\",extensions:[\"scm\"]},\"application/vnd.lotus-wordpro\":{source:\"iana\",extensions:[\"lwp\"]},\"application/vnd.macports.portpkg\":{source:\"iana\",extensions:[\"portpkg\"]},\"application/vnd.marlin.drm.actiontoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.conftoken+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.license+xml\":{source:\"iana\"},\"application/vnd.marlin.drm.mdcf\":{source:\"iana\"},\"application/vnd.mason+json\":{source:\"iana\",compressible:!0},\"application/vnd.maxmind.maxmind-db\":{source:\"iana\"},\"application/vnd.mcd\":{source:\"iana\",extensions:[\"mcd\"]},\"application/vnd.medcalcdata\":{source:\"iana\",extensions:[\"mc1\"]},\"application/vnd.mediastation.cdkey\":{source:\"iana\",extensions:[\"cdkey\"]},\"application/vnd.meridian-slingshot\":{source:\"iana\"},\"application/vnd.mfer\":{source:\"iana\",extensions:[\"mwf\"]},\"application/vnd.mfmp\":{source:\"iana\",extensions:[\"mfm\"]},\"application/vnd.micro+json\":{source:\"iana\",compressible:!0},\"application/vnd.micrografx.flo\":{source:\"iana\",extensions:[\"flo\"]},\"application/vnd.micrografx.igx\":{source:\"iana\",extensions:[\"igx\"]},\"application/vnd.microsoft.portable-executable\":{source:\"iana\"},\"application/vnd.miele+json\":{source:\"iana\",compressible:!0},\"application/vnd.mif\":{source:\"iana\",extensions:[\"mif\"]},\"application/vnd.minisoft-hp3000-save\":{source:\"iana\"},\"application/vnd.mitsubishi.misty-guard.trustweb\":{source:\"iana\"},\"application/vnd.mobius.daf\":{source:\"iana\",extensions:[\"daf\"]},\"application/vnd.mobius.dis\":{source:\"iana\",extensions:[\"dis\"]},\"application/vnd.mobius.mbk\":{source:\"iana\",extensions:[\"mbk\"]},\"application/vnd.mobius.mqy\":{source:\"iana\",extensions:[\"mqy\"]},\"application/vnd.mobius.msl\":{source:\"iana\",extensions:[\"msl\"]},\"application/vnd.mobius.plc\":{source:\"iana\",extensions:[\"plc\"]},\"application/vnd.mobius.txf\":{source:\"iana\",extensions:[\"txf\"]},\"application/vnd.mophun.application\":{source:\"iana\",extensions:[\"mpn\"]},\"application/vnd.mophun.certificate\":{source:\"iana\",extensions:[\"mpc\"]},\"application/vnd.motorola.flexsuite\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.adsi\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.fis\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.gotap\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.kmr\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.ttc\":{source:\"iana\"},\"application/vnd.motorola.flexsuite.wem\":{source:\"iana\"},\"application/vnd.motorola.iprm\":{source:\"iana\"},\"application/vnd.mozilla.xul+xml\":{source:\"iana\",compressible:!0,extensions:[\"xul\"]},\"application/vnd.ms-3mfdocument\":{source:\"iana\"},\"application/vnd.ms-artgalry\":{source:\"iana\",extensions:[\"cil\"]},\"application/vnd.ms-asf\":{source:\"iana\"},\"application/vnd.ms-cab-compressed\":{source:\"iana\",extensions:[\"cab\"]},\"application/vnd.ms-color.iccprofile\":{source:\"apache\"},\"application/vnd.ms-excel\":{source:\"iana\",compressible:!1,extensions:[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"]},\"application/vnd.ms-excel.addin.macroenabled.12\":{source:\"iana\",extensions:[\"xlam\"]},\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":{source:\"iana\",extensions:[\"xlsb\"]},\"application/vnd.ms-excel.sheet.macroenabled.12\":{source:\"iana\",extensions:[\"xlsm\"]},\"application/vnd.ms-excel.template.macroenabled.12\":{source:\"iana\",extensions:[\"xltm\"]},\"application/vnd.ms-fontobject\":{source:\"iana\",compressible:!0,extensions:[\"eot\"]},\"application/vnd.ms-htmlhelp\":{source:\"iana\",extensions:[\"chm\"]},\"application/vnd.ms-ims\":{source:\"iana\",extensions:[\"ims\"]},\"application/vnd.ms-lrm\":{source:\"iana\",extensions:[\"lrm\"]},\"application/vnd.ms-office.activex+xml\":{source:\"iana\"},\"application/vnd.ms-officetheme\":{source:\"iana\",extensions:[\"thmx\"]},\"application/vnd.ms-opentype\":{source:\"apache\",compressible:!0},\"application/vnd.ms-package.obfuscated-opentype\":{source:\"apache\"},\"application/vnd.ms-pki.seccat\":{source:\"apache\",extensions:[\"cat\"]},\"application/vnd.ms-pki.stl\":{source:\"apache\",extensions:[\"stl\"]},\"application/vnd.ms-playready.initiator+xml\":{source:\"iana\"},\"application/vnd.ms-powerpoint\":{source:\"iana\",compressible:!1,extensions:[\"ppt\",\"pps\",\"pot\"]},\"application/vnd.ms-powerpoint.addin.macroenabled.12\":{source:\"iana\",extensions:[\"ppam\"]},\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":{source:\"iana\",extensions:[\"pptm\"]},\"application/vnd.ms-powerpoint.slide.macroenabled.12\":{source:\"iana\",extensions:[\"sldm\"]},\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":{source:\"iana\",extensions:[\"ppsm\"]},\"application/vnd.ms-powerpoint.template.macroenabled.12\":{source:\"iana\",extensions:[\"potm\"]},\"application/vnd.ms-printing.printticket+xml\":{source:\"apache\"},\"application/vnd.ms-project\":{source:\"iana\",extensions:[\"mpp\",\"mpt\"]},\"application/vnd.ms-tnef\":{source:\"iana\"},\"application/vnd.ms-windows.printerpairing\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.lic-resp\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-chlg-req\":{source:\"iana\"},\"application/vnd.ms-wmdrm.meter-resp\":{source:\"iana\"},\"application/vnd.ms-word.document.macroenabled.12\":{source:\"iana\",extensions:[\"docm\"]},\"application/vnd.ms-word.template.macroenabled.12\":{source:\"iana\",extensions:[\"dotm\"]},\"application/vnd.ms-works\":{source:\"iana\",extensions:[\"wps\",\"wks\",\"wcm\",\"wdb\"]},\"application/vnd.ms-wpl\":{source:\"iana\",extensions:[\"wpl\"]},\"application/vnd.ms-xpsdocument\":{source:\"iana\",compressible:!1,extensions:[\"xps\"]},\"application/vnd.msa-disk-image\":{source:\"iana\"},\"application/vnd.mseq\":{source:\"iana\",extensions:[\"mseq\"]},\"application/vnd.msign\":{source:\"iana\"},\"application/vnd.multiad.creator\":{source:\"iana\"},\"application/vnd.multiad.creator.cif\":{source:\"iana\"},\"application/vnd.music-niff\":{source:\"iana\"},\"application/vnd.musician\":{source:\"iana\",extensions:[\"mus\"]},\"application/vnd.muvee.style\":{source:\"iana\",extensions:[\"msty\"]},\"application/vnd.mynfc\":{source:\"iana\",extensions:[\"taglet\"]},\"application/vnd.ncd.control\":{source:\"iana\"},\"application/vnd.ncd.reference\":{source:\"iana\"},\"application/vnd.nervana\":{source:\"iana\"},\"application/vnd.netfpx\":{source:\"iana\"},\"application/vnd.neurolanguage.nlu\":{source:\"iana\",extensions:[\"nlu\"]},\"application/vnd.nintendo.nitro.rom\":{source:\"iana\"},\"application/vnd.nintendo.snes.rom\":{source:\"iana\"},\"application/vnd.nitf\":{source:\"iana\",extensions:[\"ntf\",\"nitf\"]},\"application/vnd.noblenet-directory\":{source:\"iana\",extensions:[\"nnd\"]},\"application/vnd.noblenet-sealer\":{source:\"iana\",extensions:[\"nns\"]},\"application/vnd.noblenet-web\":{source:\"iana\",extensions:[\"nnw\"]},\"application/vnd.nokia.catalogs\":{source:\"iana\"},\"application/vnd.nokia.conml+wbxml\":{source:\"iana\"},\"application/vnd.nokia.conml+xml\":{source:\"iana\"},\"application/vnd.nokia.iptv.config+xml\":{source:\"iana\"},\"application/vnd.nokia.isds-radio-presets\":{source:\"iana\"},\"application/vnd.nokia.landmark+wbxml\":{source:\"iana\"},\"application/vnd.nokia.landmark+xml\":{source:\"iana\"},\"application/vnd.nokia.landmarkcollection+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.ac+xml\":{source:\"iana\"},\"application/vnd.nokia.n-gage.data\":{source:\"iana\",extensions:[\"ngdat\"]},\"application/vnd.nokia.n-gage.symbian.install\":{source:\"iana\",extensions:[\"n-gage\"]},\"application/vnd.nokia.ncd\":{source:\"iana\"},\"application/vnd.nokia.pcd+wbxml\":{source:\"iana\"},\"application/vnd.nokia.pcd+xml\":{source:\"iana\"},\"application/vnd.nokia.radio-preset\":{source:\"iana\",extensions:[\"rpst\"]},\"application/vnd.nokia.radio-presets\":{source:\"iana\",extensions:[\"rpss\"]},\"application/vnd.novadigm.edm\":{source:\"iana\",extensions:[\"edm\"]},\"application/vnd.novadigm.edx\":{source:\"iana\",extensions:[\"edx\"]},\"application/vnd.novadigm.ext\":{source:\"iana\",extensions:[\"ext\"]},\"application/vnd.ntt-local.content-share\":{source:\"iana\"},\"application/vnd.ntt-local.file-transfer\":{source:\"iana\"},\"application/vnd.ntt-local.ogw_remote-access\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_remote\":{source:\"iana\"},\"application/vnd.ntt-local.sip-ta_tcp_stream\":{source:\"iana\"},\"application/vnd.oasis.opendocument.chart\":{source:\"iana\",extensions:[\"odc\"]},\"application/vnd.oasis.opendocument.chart-template\":{source:\"iana\",extensions:[\"otc\"]},\"application/vnd.oasis.opendocument.database\":{source:\"iana\",extensions:[\"odb\"]},\"application/vnd.oasis.opendocument.formula\":{source:\"iana\",extensions:[\"odf\"]},\"application/vnd.oasis.opendocument.formula-template\":{source:\"iana\",extensions:[\"odft\"]},\"application/vnd.oasis.opendocument.graphics\":{source:\"iana\",compressible:!1,extensions:[\"odg\"]},\"application/vnd.oasis.opendocument.graphics-template\":{source:\"iana\",extensions:[\"otg\"]},\"application/vnd.oasis.opendocument.image\":{source:\"iana\",extensions:[\"odi\"]},\"application/vnd.oasis.opendocument.image-template\":{source:\"iana\",extensions:[\"oti\"]},\"application/vnd.oasis.opendocument.presentation\":{source:\"iana\",compressible:!1,extensions:[\"odp\"]},\"application/vnd.oasis.opendocument.presentation-template\":{source:\"iana\",extensions:[\"otp\"]},\"application/vnd.oasis.opendocument.spreadsheet\":{source:\"iana\",compressible:!1,extensions:[\"ods\"]},\"application/vnd.oasis.opendocument.spreadsheet-template\":{source:\"iana\",extensions:[\"ots\"]},\"application/vnd.oasis.opendocument.text\":{source:\"iana\",compressible:!1,extensions:[\"odt\"]},\"application/vnd.oasis.opendocument.text-master\":{source:\"iana\",extensions:[\"odm\"]},\"application/vnd.oasis.opendocument.text-template\":{source:\"iana\",extensions:[\"ott\"]},\"application/vnd.oasis.opendocument.text-web\":{source:\"iana\",extensions:[\"oth\"]},\"application/vnd.obn\":{source:\"iana\"},\"application/vnd.oftn.l10n+json\":{source:\"iana\",compressible:!0},\"application/vnd.oipf.contentaccessdownload+xml\":{source:\"iana\"},\"application/vnd.oipf.contentaccessstreaming+xml\":{source:\"iana\"},\"application/vnd.oipf.cspg-hexbinary\":{source:\"iana\"},\"application/vnd.oipf.dae.svg+xml\":{source:\"iana\"},\"application/vnd.oipf.dae.xhtml+xml\":{source:\"iana\"},\"application/vnd.oipf.mippvcontrolmessage+xml\":{source:\"iana\"},\"application/vnd.oipf.pae.gem\":{source:\"iana\"},\"application/vnd.oipf.spdiscovery+xml\":{\nsource:\"iana\"},\"application/vnd.oipf.spdlist+xml\":{source:\"iana\"},\"application/vnd.oipf.ueprofile+xml\":{source:\"iana\"},\"application/vnd.oipf.userprofile+xml\":{source:\"iana\"},\"application/vnd.olpc-sugar\":{source:\"iana\",extensions:[\"xo\"]},\"application/vnd.oma-scws-config\":{source:\"iana\"},\"application/vnd.oma-scws-http-request\":{source:\"iana\"},\"application/vnd.oma-scws-http-response\":{source:\"iana\"},\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.drm-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.imd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.ltkm\":{source:\"iana\"},\"application/vnd.oma.bcast.notification+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.provisioningtrigger\":{source:\"iana\"},\"application/vnd.oma.bcast.sgboot\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdd+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sgdu\":{source:\"iana\"},\"application/vnd.oma.bcast.simple-symbol-container\":{source:\"iana\"},\"application/vnd.oma.bcast.smartcard-trigger+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.sprov+xml\":{source:\"iana\"},\"application/vnd.oma.bcast.stkm\":{source:\"iana\"},\"application/vnd.oma.cab-address-book+xml\":{source:\"iana\"},\"application/vnd.oma.cab-feature-handler+xml\":{source:\"iana\"},\"application/vnd.oma.cab-pcc+xml\":{source:\"iana\"},\"application/vnd.oma.cab-subs-invite+xml\":{source:\"iana\"},\"application/vnd.oma.cab-user-prefs+xml\":{source:\"iana\"},\"application/vnd.oma.dcd\":{source:\"iana\"},\"application/vnd.oma.dcdc\":{source:\"iana\"},\"application/vnd.oma.dd2+xml\":{source:\"iana\",extensions:[\"dd2\"]},\"application/vnd.oma.drm.risd+xml\":{source:\"iana\"},\"application/vnd.oma.group-usage-list+xml\":{source:\"iana\"},\"application/vnd.oma.pal+xml\":{source:\"iana\"},\"application/vnd.oma.poc.detailed-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.final-report+xml\":{source:\"iana\"},\"application/vnd.oma.poc.groups+xml\":{source:\"iana\"},\"application/vnd.oma.poc.invocation-descriptor+xml\":{source:\"iana\"},\"application/vnd.oma.poc.optimized-progress-report+xml\":{source:\"iana\"},\"application/vnd.oma.push\":{source:\"iana\"},\"application/vnd.oma.scidm.messages+xml\":{source:\"iana\"},\"application/vnd.oma.xcap-directory+xml\":{source:\"iana\"},\"application/vnd.omads-email+xml\":{source:\"iana\"},\"application/vnd.omads-file+xml\":{source:\"iana\"},\"application/vnd.omads-folder+xml\":{source:\"iana\"},\"application/vnd.omaloc-supl-init\":{source:\"iana\"},\"application/vnd.openeye.oeb\":{source:\"iana\"},\"application/vnd.openofficeorg.extension\":{source:\"apache\",extensions:[\"oxt\"]},\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawing+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":{source:\"iana\",compressible:!1,extensions:[\"pptx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slide\":{source:\"iana\",extensions:[\"sldx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":{source:\"iana\",extensions:[\"ppsx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.template\":{source:\"apache\",extensions:[\"potx\"]},\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":{source:\"iana\",compressible:!1,extensions:[\"xlsx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":{source:\"apache\",extensions:[\"xltx\"]},\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.theme+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.vmldrawing\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml-template\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":{source:\"iana\",compressible:!1,extensions:[\"docx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":{source:\"apache\",extensions:[\"dotx\"]},\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.core-properties+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":{source:\"iana\"},\"application/vnd.openxmlformats-package.relationships+xml\":{source:\"iana\"},\"application/vnd.oracle.resource+json\":{source:\"iana\",compressible:!0},\"application/vnd.orange.indata\":{source:\"iana\"},\"application/vnd.osa.netdeploy\":{source:\"iana\"},\"application/vnd.osgeo.mapguide.package\":{source:\"iana\",extensions:[\"mgp\"]},\"application/vnd.osgi.bundle\":{source:\"iana\"},\"application/vnd.osgi.dp\":{source:\"iana\",extensions:[\"dp\"]},\"application/vnd.osgi.subsystem\":{source:\"iana\",extensions:[\"esa\"]},\"application/vnd.otps.ct-kip+xml\":{source:\"iana\"},\"application/vnd.palm\":{source:\"iana\",extensions:[\"pdb\",\"pqa\",\"oprc\"]},\"application/vnd.panoply\":{source:\"iana\"},\"application/vnd.paos+xml\":{source:\"iana\"},\"application/vnd.paos.xml\":{source:\"apache\"},\"application/vnd.pawaafile\":{source:\"iana\",extensions:[\"paw\"]},\"application/vnd.pcos\":{source:\"iana\"},\"application/vnd.pg.format\":{source:\"iana\",extensions:[\"str\"]},\"application/vnd.pg.osasli\":{source:\"iana\",extensions:[\"ei6\"]},\"application/vnd.piaccess.application-licence\":{source:\"iana\"},\"application/vnd.picsel\":{source:\"iana\",extensions:[\"efif\"]},\"application/vnd.pmi.widget\":{source:\"iana\",extensions:[\"wg\"]},\"application/vnd.poc.group-advertisement+xml\":{source:\"iana\"},\"application/vnd.pocketlearn\":{source:\"iana\",extensions:[\"plf\"]},\"application/vnd.powerbuilder6\":{source:\"iana\",extensions:[\"pbd\"]},\"application/vnd.powerbuilder6-s\":{source:\"iana\"},\"application/vnd.powerbuilder7\":{source:\"iana\"},\"application/vnd.powerbuilder7-s\":{source:\"iana\"},\"application/vnd.powerbuilder75\":{source:\"iana\"},\"application/vnd.powerbuilder75-s\":{source:\"iana\"},\"application/vnd.preminet\":{source:\"iana\"},\"application/vnd.previewsystems.box\":{source:\"iana\",extensions:[\"box\"]},\"application/vnd.proteus.magazine\":{source:\"iana\",extensions:[\"mgz\"]},\"application/vnd.publishare-delta-tree\":{source:\"iana\",extensions:[\"qps\"]},\"application/vnd.pvi.ptid1\":{source:\"iana\",extensions:[\"ptid\"]},\"application/vnd.pwg-multiplexed\":{source:\"iana\"},\"application/vnd.pwg-xhtml-print+xml\":{source:\"iana\"},\"application/vnd.qualcomm.brew-app-res\":{source:\"iana\"},\"application/vnd.quark.quarkxpress\":{source:\"iana\",extensions:[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"]},\"application/vnd.quobject-quoxdocument\":{source:\"iana\"},\"application/vnd.radisys.moml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-conn+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-audit-stream+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-conf+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-base+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-detect+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-group+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-speech+xml\":{source:\"iana\"},\"application/vnd.radisys.msml-dialog-transform+xml\":{source:\"iana\"},\"application/vnd.rainstor.data\":{source:\"iana\"},\"application/vnd.rapid\":{source:\"iana\"},\"application/vnd.realvnc.bed\":{source:\"iana\",extensions:[\"bed\"]},\"application/vnd.recordare.musicxml\":{source:\"iana\",extensions:[\"mxl\"]},\"application/vnd.recordare.musicxml+xml\":{source:\"iana\",extensions:[\"musicxml\"]},\"application/vnd.renlearn.rlprint\":{source:\"iana\"},\"application/vnd.rig.cryptonote\":{source:\"iana\",extensions:[\"cryptonote\"]},\"application/vnd.rim.cod\":{source:\"apache\",extensions:[\"cod\"]},\"application/vnd.rn-realmedia\":{source:\"apache\",extensions:[\"rm\"]},\"application/vnd.rn-realmedia-vbr\":{source:\"apache\",extensions:[\"rmvb\"]},\"application/vnd.route66.link66+xml\":{source:\"iana\",extensions:[\"link66\"]},\"application/vnd.rs-274x\":{source:\"iana\"},\"application/vnd.ruckus.download\":{source:\"iana\"},\"application/vnd.s3sms\":{source:\"iana\"},\"application/vnd.sailingtracker.track\":{source:\"iana\",extensions:[\"st\"]},\"application/vnd.sbm.cid\":{source:\"iana\"},\"application/vnd.sbm.mid2\":{source:\"iana\"},\"application/vnd.scribus\":{source:\"iana\"},\"application/vnd.sealed.3df\":{source:\"iana\"},\"application/vnd.sealed.csf\":{source:\"iana\"},\"application/vnd.sealed.doc\":{source:\"iana\"},\"application/vnd.sealed.eml\":{source:\"iana\"},\"application/vnd.sealed.mht\":{source:\"iana\"},\"application/vnd.sealed.net\":{source:\"iana\"},\"application/vnd.sealed.ppt\":{source:\"iana\"},\"application/vnd.sealed.tiff\":{source:\"iana\"},\"application/vnd.sealed.xls\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.html\":{source:\"iana\"},\"application/vnd.sealedmedia.softseal.pdf\":{source:\"iana\"},\"application/vnd.seemail\":{source:\"iana\",extensions:[\"see\"]},\"application/vnd.sema\":{source:\"iana\",extensions:[\"sema\"]},\"application/vnd.semd\":{source:\"iana\",extensions:[\"semd\"]},\"application/vnd.semf\":{source:\"iana\",extensions:[\"semf\"]},\"application/vnd.shana.informed.formdata\":{source:\"iana\",extensions:[\"ifm\"]},\"application/vnd.shana.informed.formtemplate\":{source:\"iana\",extensions:[\"itp\"]},\"application/vnd.shana.informed.interchange\":{source:\"iana\",extensions:[\"iif\"]},\"application/vnd.shana.informed.package\":{source:\"iana\",extensions:[\"ipk\"]},\"application/vnd.simtech-mindmapper\":{source:\"iana\",extensions:[\"twd\",\"twds\"]},\"application/vnd.siren+json\":{source:\"iana\",compressible:!0},\"application/vnd.smaf\":{source:\"iana\",extensions:[\"mmf\"]},\"application/vnd.smart.notebook\":{source:\"iana\"},\"application/vnd.smart.teacher\":{source:\"iana\",extensions:[\"teacher\"]},\"application/vnd.software602.filler.form+xml\":{source:\"iana\"},\"application/vnd.software602.filler.form-xml-zip\":{source:\"iana\"},\"application/vnd.solent.sdkm+xml\":{source:\"iana\",extensions:[\"sdkm\",\"sdkd\"]},\"application/vnd.spotfire.dxp\":{source:\"iana\",extensions:[\"dxp\"]},\"application/vnd.spotfire.sfs\":{source:\"iana\",extensions:[\"sfs\"]},\"application/vnd.sss-cod\":{source:\"iana\"},\"application/vnd.sss-dtf\":{source:\"iana\"},\"application/vnd.sss-ntf\":{source:\"iana\"},\"application/vnd.stardivision.calc\":{source:\"apache\",extensions:[\"sdc\"]},\"application/vnd.stardivision.draw\":{source:\"apache\",extensions:[\"sda\"]},\"application/vnd.stardivision.impress\":{source:\"apache\",extensions:[\"sdd\"]},\"application/vnd.stardivision.math\":{source:\"apache\",extensions:[\"smf\"]},\"application/vnd.stardivision.writer\":{source:\"apache\",extensions:[\"sdw\",\"vor\"]},\"application/vnd.stardivision.writer-global\":{source:\"apache\",extensions:[\"sgl\"]},\"application/vnd.stepmania.package\":{source:\"iana\",extensions:[\"smzip\"]},\"application/vnd.stepmania.stepchart\":{source:\"iana\",extensions:[\"sm\"]},\"application/vnd.street-stream\":{source:\"iana\"},\"application/vnd.sun.wadl+xml\":{source:\"iana\"},\"application/vnd.sun.xml.calc\":{source:\"apache\",extensions:[\"sxc\"]},\"application/vnd.sun.xml.calc.template\":{source:\"apache\",extensions:[\"stc\"]},\"application/vnd.sun.xml.draw\":{source:\"apache\",extensions:[\"sxd\"]},\"application/vnd.sun.xml.draw.template\":{source:\"apache\",extensions:[\"std\"]},\"application/vnd.sun.xml.impress\":{source:\"apache\",extensions:[\"sxi\"]},\"application/vnd.sun.xml.impress.template\":{source:\"apache\",extensions:[\"sti\"]},\"application/vnd.sun.xml.math\":{source:\"apache\",extensions:[\"sxm\"]},\"application/vnd.sun.xml.writer\":{source:\"apache\",extensions:[\"sxw\"]},\"application/vnd.sun.xml.writer.global\":{source:\"apache\",extensions:[\"sxg\"]},\"application/vnd.sun.xml.writer.template\":{source:\"apache\",extensions:[\"stw\"]},\"application/vnd.sus-calendar\":{source:\"iana\",extensions:[\"sus\",\"susp\"]},\"application/vnd.svd\":{source:\"iana\",extensions:[\"svd\"]},\"application/vnd.swiftview-ics\":{source:\"iana\"},\"application/vnd.symbian.install\":{source:\"apache\",extensions:[\"sis\",\"sisx\"]},\"application/vnd.syncml+xml\":{source:\"iana\",extensions:[\"xsm\"]},\"application/vnd.syncml.dm+wbxml\":{source:\"iana\",extensions:[\"bdm\"]},\"application/vnd.syncml.dm+xml\":{source:\"iana\",extensions:[\"xdm\"]},\"application/vnd.syncml.dm.notification\":{source:\"iana\"},\"application/vnd.syncml.dmddf+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmddf+xml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+wbxml\":{source:\"iana\"},\"application/vnd.syncml.dmtnds+xml\":{source:\"iana\"},\"application/vnd.syncml.ds.notification\":{source:\"iana\"},\"application/vnd.tao.intent-module-archive\":{source:\"iana\",extensions:[\"tao\"]},\"application/vnd.tcpdump.pcap\":{source:\"iana\",extensions:[\"pcap\",\"cap\",\"dmp\"]},\"application/vnd.tmd.mediaflex.api+xml\":{source:\"iana\"},\"application/vnd.tmobile-livetv\":{source:\"iana\",extensions:[\"tmo\"]},\"application/vnd.trid.tpt\":{source:\"iana\",extensions:[\"tpt\"]},\"application/vnd.triscape.mxs\":{source:\"iana\",extensions:[\"mxs\"]},\"application/vnd.trueapp\":{source:\"iana\",extensions:[\"tra\"]},\"application/vnd.truedoc\":{source:\"iana\"},\"application/vnd.ubisoft.webplayer\":{source:\"iana\"},\"application/vnd.ufdl\":{source:\"iana\",extensions:[\"ufd\",\"ufdl\"]},\"application/vnd.uiq.theme\":{source:\"iana\",extensions:[\"utz\"]},\"application/vnd.umajin\":{source:\"iana\",extensions:[\"umj\"]},\"application/vnd.unity\":{source:\"iana\",extensions:[\"unityweb\"]},\"application/vnd.uoml+xml\":{source:\"iana\",extensions:[\"uoml\"]},\"application/vnd.uplanet.alert\":{source:\"iana\"},\"application/vnd.uplanet.alert-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice\":{source:\"iana\"},\"application/vnd.uplanet.bearer-choice-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.cacheop\":{source:\"iana\"},\"application/vnd.uplanet.cacheop-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.channel\":{source:\"iana\"},\"application/vnd.uplanet.channel-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.list\":{source:\"iana\"},\"application/vnd.uplanet.list-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.listcmd\":{source:\"iana\"},\"application/vnd.uplanet.listcmd-wbxml\":{source:\"iana\"},\"application/vnd.uplanet.signal\":{source:\"iana\"},\"application/vnd.valve.source.material\":{source:\"iana\"},\"application/vnd.vcx\":{source:\"iana\",extensions:[\"vcx\"]},\"application/vnd.vd-study\":{source:\"iana\"},\"application/vnd.vectorworks\":{source:\"iana\"},\"application/vnd.verimatrix.vcas\":{source:\"iana\"},\"application/vnd.vidsoft.vidconference\":{source:\"iana\"},\"application/vnd.visio\":{source:\"iana\",extensions:[\"vsd\",\"vst\",\"vss\",\"vsw\"]},\"application/vnd.visionary\":{source:\"iana\",extensions:[\"vis\"]},\"application/vnd.vividence.scriptfile\":{source:\"iana\"},\"application/vnd.vsf\":{source:\"iana\",extensions:[\"vsf\"]},\"application/vnd.wap.sic\":{source:\"iana\"},\"application/vnd.wap.slc\":{source:\"iana\"},\"application/vnd.wap.wbxml\":{source:\"iana\",extensions:[\"wbxml\"]},\"application/vnd.wap.wmlc\":{source:\"iana\",extensions:[\"wmlc\"]},\"application/vnd.wap.wmlscriptc\":{source:\"iana\",extensions:[\"wmlsc\"]},\"application/vnd.webturbo\":{source:\"iana\",extensions:[\"wtb\"]},\"application/vnd.wfa.p2p\":{source:\"iana\"},\"application/vnd.wfa.wsc\":{source:\"iana\"},\"application/vnd.windows.devicepairing\":{source:\"iana\"},\"application/vnd.wmc\":{source:\"iana\"},\"application/vnd.wmf.bootstrap\":{source:\"iana\"},\"application/vnd.wolfram.mathematica\":{source:\"iana\"},\"application/vnd.wolfram.mathematica.package\":{source:\"iana\"},\"application/vnd.wolfram.player\":{source:\"iana\",extensions:[\"nbp\"]},\"application/vnd.wordperfect\":{source:\"iana\",extensions:[\"wpd\"]},\"application/vnd.wqd\":{source:\"iana\",extensions:[\"wqd\"]},\"application/vnd.wrq-hp3000-labelled\":{source:\"iana\"},\"application/vnd.wt.stf\":{source:\"iana\",extensions:[\"stf\"]},\"application/vnd.wv.csp+wbxml\":{source:\"iana\"},\"application/vnd.wv.csp+xml\":{source:\"iana\"},\"application/vnd.wv.ssp+xml\":{source:\"iana\"},\"application/vnd.xacml+json\":{source:\"iana\",compressible:!0},\"application/vnd.xara\":{source:\"iana\",extensions:[\"xar\"]},\"application/vnd.xfdl\":{source:\"iana\",extensions:[\"xfdl\"]},\"application/vnd.xfdl.webform\":{source:\"iana\"},\"application/vnd.xmi+xml\":{source:\"iana\"},\"application/vnd.xmpie.cpkg\":{source:\"iana\"},\"application/vnd.xmpie.dpkg\":{source:\"iana\"},\"application/vnd.xmpie.plan\":{source:\"iana\"},\"application/vnd.xmpie.ppkg\":{source:\"iana\"},\"application/vnd.xmpie.xlim\":{source:\"iana\"},\"application/vnd.yamaha.hv-dic\":{source:\"iana\",extensions:[\"hvd\"]},\"application/vnd.yamaha.hv-script\":{source:\"iana\",extensions:[\"hvs\"]},\"application/vnd.yamaha.hv-voice\":{source:\"iana\",extensions:[\"hvp\"]},\"application/vnd.yamaha.openscoreformat\":{source:\"iana\",extensions:[\"osf\"]},\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":{source:\"iana\",extensions:[\"osfpvg\"]},\"application/vnd.yamaha.remote-setup\":{source:\"iana\"},\"application/vnd.yamaha.smaf-audio\":{source:\"iana\",extensions:[\"saf\"]},\"application/vnd.yamaha.smaf-phrase\":{source:\"iana\",extensions:[\"spf\"]},\"application/vnd.yamaha.through-ngn\":{source:\"iana\"},\"application/vnd.yamaha.tunnel-udpencap\":{source:\"iana\"},\"application/vnd.yaoweme\":{source:\"iana\"},\"application/vnd.yellowriver-custom-menu\":{source:\"iana\",extensions:[\"cmp\"]},\"application/vnd.zul\":{source:\"iana\",extensions:[\"zir\",\"zirz\"]},\"application/vnd.zzazz.deck+xml\":{source:\"iana\",extensions:[\"zaz\"]},\"application/voicexml+xml\":{source:\"iana\",extensions:[\"vxml\"]},\"application/vq-rtcpxr\":{source:\"iana\"},\"application/watcherinfo+xml\":{source:\"iana\"},\"application/whoispp-query\":{source:\"iana\"},\"application/whoispp-response\":{source:\"iana\"},\"application/widget\":{source:\"iana\",extensions:[\"wgt\"]},\"application/winhlp\":{source:\"apache\",extensions:[\"hlp\"]},\"application/wita\":{source:\"iana\"},\"application/wordperfect5.1\":{source:\"iana\"},\"application/wsdl+xml\":{source:\"iana\",extensions:[\"wsdl\"]},\"application/wspolicy+xml\":{source:\"iana\",extensions:[\"wspolicy\"]},\"application/x-7z-compressed\":{source:\"apache\",compressible:!1,extensions:[\"7z\"]},\"application/x-abiword\":{source:\"apache\",extensions:[\"abw\"]},\"application/x-ace-compressed\":{source:\"apache\",extensions:[\"ace\"]},\"application/x-amf\":{source:\"apache\"},\"application/x-apple-diskimage\":{source:\"apache\",extensions:[\"dmg\"]},\"application/x-authorware-bin\":{source:\"apache\",extensions:[\"aab\",\"x32\",\"u32\",\"vox\"]},\"application/x-authorware-map\":{source:\"apache\",extensions:[\"aam\"]},\"application/x-authorware-seg\":{source:\"apache\",extensions:[\"aas\"]},\"application/x-bcpio\":{source:\"apache\",extensions:[\"bcpio\"]},\"application/x-bdoc\":{compressible:!1,extensions:[\"bdoc\"]},\"application/x-bittorrent\":{source:\"apache\",extensions:[\"torrent\"]},\"application/x-blorb\":{source:\"apache\",extensions:[\"blb\",\"blorb\"]},\"application/x-bzip\":{source:\"apache\",compressible:!1,extensions:[\"bz\"]},\"application/x-bzip2\":{source:\"apache\",compressible:!1,extensions:[\"bz2\",\"boz\"]},\"application/x-cbr\":{source:\"apache\",extensions:[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"]},\"application/x-cdlink\":{source:\"apache\",extensions:[\"vcd\"]},\"application/x-cfs-compressed\":{source:\"apache\",extensions:[\"cfs\"]},\"application/x-chat\":{source:\"apache\",extensions:[\"chat\"]},\"application/x-chess-pgn\":{source:\"apache\",extensions:[\"pgn\"]},\"application/x-chrome-extension\":{extensions:[\"crx\"]},\"application/x-compress\":{source:\"apache\"},\"application/x-conference\":{source:\"apache\",extensions:[\"nsc\"]},\"application/x-cpio\":{source:\"apache\",extensions:[\"cpio\"]},\"application/x-csh\":{source:\"apache\",extensions:[\"csh\"]},\"application/x-deb\":{compressible:!1},\"application/x-debian-package\":{source:\"apache\",extensions:[\"deb\",\"udeb\"]},\"application/x-dgc-compressed\":{source:\"apache\",extensions:[\"dgc\"]},\"application/x-director\":{source:\"apache\",extensions:[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"]},\"application/x-doom\":{source:\"apache\",extensions:[\"wad\"]},\"application/x-dtbncx+xml\":{source:\"apache\",extensions:[\"ncx\"]},\"application/x-dtbook+xml\":{source:\"apache\",extensions:[\"dtb\"]},\"application/x-dtbresource+xml\":{source:\"apache\",extensions:[\"res\"]},\"application/x-dvi\":{source:\"apache\",compressible:!1,extensions:[\"dvi\"]},\"application/x-envoy\":{source:\"apache\",extensions:[\"evy\"]},\"application/x-eva\":{source:\"apache\",extensions:[\"eva\"]},\"application/x-font-bdf\":{source:\"apache\",extensions:[\"bdf\"]},\"application/x-font-dos\":{source:\"apache\"},\"application/x-font-framemaker\":{source:\"apache\"},\"application/x-font-ghostscript\":{source:\"apache\",extensions:[\"gsf\"]},\"application/x-font-libgrx\":{source:\"apache\"},\"application/x-font-linux-psf\":{source:\"apache\",extensions:[\"psf\"]},\"application/x-font-otf\":{source:\"apache\",compressible:!0,extensions:[\"otf\"]},\"application/x-font-pcf\":{source:\"apache\",extensions:[\"pcf\"]},\"application/x-font-snf\":{source:\"apache\",extensions:[\"snf\"]},\"application/x-font-speedo\":{source:\"apache\"},\"application/x-font-sunos-news\":{source:\"apache\"},\"application/x-font-ttf\":{source:\"apache\",compressible:!0,extensions:[\"ttf\",\"ttc\"]},\"application/x-font-type1\":{source:\"apache\",extensions:[\"pfa\",\"pfb\",\"pfm\",\"afm\"]},\"application/x-font-vfont\":{source:\"apache\"},\"application/x-freearc\":{source:\"apache\",extensions:[\"arc\"]},\"application/x-futuresplash\":{source:\"apache\",extensions:[\"spl\"]},\"application/x-gca-compressed\":{source:\"apache\",extensions:[\"gca\"]},\"application/x-glulx\":{source:\"apache\",extensions:[\"ulx\"]},\"application/x-gnumeric\":{source:\"apache\",extensions:[\"gnumeric\"]},\"application/x-gramps-xml\":{source:\"apache\",extensions:[\"gramps\"]},\"application/x-gtar\":{source:\"apache\",extensions:[\"gtar\"]},\"application/x-gzip\":{source:\"apache\"},\"application/x-hdf\":{source:\"apache\",extensions:[\"hdf\"]},\"application/x-install-instructions\":{source:\"apache\",extensions:[\"install\"]},\"application/x-iso9660-image\":{source:\"apache\",extensions:[\"iso\"]},\"application/x-java-jnlp-file\":{source:\"apache\",compressible:!1,extensions:[\"jnlp\"]},\"application/x-javascript\":{compressible:!0},\"application/x-latex\":{source:\"apache\",compressible:!1,extensions:[\"latex\"]},\"application/x-lua-bytecode\":{extensions:[\"luac\"]},\"application/x-lzh-compressed\":{source:\"apache\",extensions:[\"lzh\",\"lha\"]},\"application/x-mie\":{source:\"apache\",extensions:[\"mie\"]},\"application/x-mobipocket-ebook\":{source:\"apache\",extensions:[\"prc\",\"mobi\"]},\"application/x-mpegurl\":{compressible:!1},\"application/x-ms-application\":{source:\"apache\",extensions:[\"application\"]},\"application/x-ms-shortcut\":{source:\"apache\",extensions:[\"lnk\"]},\"application/x-ms-wmd\":{source:\"apache\",extensions:[\"wmd\"]},\"application/x-ms-wmz\":{source:\"apache\",extensions:[\"wmz\"]},\"application/x-ms-xbap\":{source:\"apache\",extensions:[\"xbap\"]},\"application/x-msaccess\":{source:\"apache\",extensions:[\"mdb\"]},\"application/x-msbinder\":{source:\"apache\",extensions:[\"obd\"]},\"application/x-mscardfile\":{source:\"apache\",extensions:[\"crd\"]},\"application/x-msclip\":{source:\"apache\",extensions:[\"clp\"]},\"application/x-msdownload\":{source:\"apache\",extensions:[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"]},\"application/x-msmediaview\":{source:\"apache\",extensions:[\"mvb\",\"m13\",\"m14\"]},\"application/x-msmetafile\":{source:\"apache\",extensions:[\"wmf\",\"wmz\",\"emf\",\"emz\"]},\"application/x-msmoney\":{source:\"apache\",extensions:[\"mny\"]},\"application/x-mspublisher\":{source:\"apache\",extensions:[\"pub\"]},\"application/x-msschedule\":{source:\"apache\",extensions:[\"scd\"]},\"application/x-msterminal\":{source:\"apache\",extensions:[\"trm\"]},\"application/x-mswrite\":{source:\"apache\",extensions:[\"wri\"]},\"application/x-netcdf\":{source:\"apache\",extensions:[\"nc\",\"cdf\"]},\"application/x-ns-proxy-autoconfig\":{compressible:!0,extensions:[\"pac\"]},\"application/x-nzb\":{source:\"apache\",extensions:[\"nzb\"]},\"application/x-pkcs12\":{source:\"apache\",compressible:!1,extensions:[\"p12\",\"pfx\"]},\"application/x-pkcs7-certificates\":{source:\"apache\",extensions:[\"p7b\",\"spc\"]},\"application/x-pkcs7-certreqresp\":{source:\"apache\",extensions:[\"p7r\"]},\"application/x-rar-compressed\":{source:\"apache\",compressible:!1,extensions:[\"rar\"]},\"application/x-research-info-systems\":{source:\"apache\",extensions:[\"ris\"]},\"application/x-sh\":{source:\"apache\",compressible:!0,extensions:[\"sh\"]},\"application/x-shar\":{source:\"apache\",extensions:[\"shar\"]},\"application/x-shockwave-flash\":{source:\"apache\",compressible:!1,extensions:[\"swf\"]},\"application/x-silverlight-app\":{source:\"apache\",extensions:[\"xap\"]},\"application/x-sql\":{source:\"apache\",extensions:[\"sql\"]},\"application/x-stuffit\":{source:\"apache\",compressible:!1,extensions:[\"sit\"]},\"application/x-stuffitx\":{source:\"apache\",extensions:[\"sitx\"]},\"application/x-subrip\":{source:\"apache\",extensions:[\"srt\"]},\"application/x-sv4cpio\":{source:\"apache\",extensions:[\"sv4cpio\"]},\"application/x-sv4crc\":{source:\"apache\",extensions:[\"sv4crc\"]},\"application/x-t3vm-image\":{source:\"apache\",extensions:[\"t3\"]},\"application/x-tads\":{source:\"apache\",extensions:[\"gam\"]},\"application/x-tar\":{source:\"apache\",compressible:!0,extensions:[\"tar\"]},\"application/x-tcl\":{source:\"apache\",extensions:[\"tcl\"]},\"application/x-tex\":{source:\"apache\",extensions:[\"tex\"]},\"application/x-tex-tfm\":{source:\"apache\",extensions:[\"tfm\"]},\"application/x-texinfo\":{source:\"apache\",extensions:[\"texinfo\",\"texi\"]},\"application/x-tgif\":{source:\"apache\",extensions:[\"obj\"]},\"application/x-ustar\":{source:\"apache\",extensions:[\"ustar\"]},\"application/x-wais-source\":{source:\"apache\",extensions:[\"src\"]},\"application/x-web-app-manifest+json\":{compressible:!0,extensions:[\"webapp\"]},\"application/x-www-form-urlencoded\":{source:\"iana\",compressible:!0},\"application/x-x509-ca-cert\":{source:\"apache\",extensions:[\"der\",\"crt\"]},\"application/x-xfig\":{source:\"apache\",extensions:[\"fig\"]},\"application/x-xliff+xml\":{source:\"apache\",extensions:[\"xlf\"]},\"application/x-xpinstall\":{source:\"apache\",compressible:!1,extensions:[\"xpi\"]},\"application/x-xz\":{source:\"apache\",extensions:[\"xz\"]},\"application/x-zmachine\":{source:\"apache\",extensions:[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"]},\"application/x400-bp\":{source:\"iana\"},\"application/xacml+xml\":{source:\"iana\"},\"application/xaml+xml\":{source:\"apache\",extensions:[\"xaml\"]},\"application/xcap-att+xml\":{source:\"iana\"},\"application/xcap-caps+xml\":{source:\"iana\"},\"application/xcap-diff+xml\":{source:\"iana\",extensions:[\"xdf\"]},\"application/xcap-el+xml\":{source:\"iana\"},\"application/xcap-error+xml\":{source:\"iana\"},\"application/xcap-ns+xml\":{source:\"iana\"},\"application/xcon-conference-info+xml\":{source:\"iana\"},\"application/xcon-conference-info-diff+xml\":{source:\"iana\"},\"application/xenc+xml\":{source:\"iana\",extensions:[\"xenc\"]},\"application/xhtml+xml\":{source:\"iana\",compressible:!0,extensions:[\"xhtml\",\"xht\"]},\"application/xhtml-voice+xml\":{source:\"apache\"},\"application/xml\":{source:\"iana\",compressible:!0,extensions:[\"xml\",\"xsl\",\"xsd\"]},\n\"application/xml-dtd\":{source:\"iana\",compressible:!0,extensions:[\"dtd\"]},\"application/xml-external-parsed-entity\":{source:\"iana\"},\"application/xml-patch+xml\":{source:\"iana\"},\"application/xmpp+xml\":{source:\"iana\"},\"application/xop+xml\":{source:\"iana\",compressible:!0,extensions:[\"xop\"]},\"application/xproc+xml\":{source:\"apache\",extensions:[\"xpl\"]},\"application/xslt+xml\":{source:\"iana\",extensions:[\"xslt\"]},\"application/xspf+xml\":{source:\"apache\",extensions:[\"xspf\"]},\"application/xv+xml\":{source:\"iana\",extensions:[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"]},\"application/yang\":{source:\"iana\",extensions:[\"yang\"]},\"application/yin+xml\":{source:\"iana\",extensions:[\"yin\"]},\"application/zip\":{source:\"iana\",compressible:!1,extensions:[\"zip\"]},\"application/zlib\":{source:\"iana\"},\"audio/1d-interleaved-parityfec\":{source:\"iana\"},\"audio/32kadpcm\":{source:\"iana\"},\"audio/3gpp\":{source:\"iana\"},\"audio/3gpp2\":{source:\"iana\"},\"audio/ac3\":{source:\"iana\"},\"audio/adpcm\":{source:\"apache\",extensions:[\"adp\"]},\"audio/amr\":{source:\"iana\"},\"audio/amr-wb\":{source:\"iana\"},\"audio/amr-wb+\":{source:\"iana\"},\"audio/aptx\":{source:\"iana\"},\"audio/asc\":{source:\"iana\"},\"audio/atrac-advanced-lossless\":{source:\"iana\"},\"audio/atrac-x\":{source:\"iana\"},\"audio/atrac3\":{source:\"iana\"},\"audio/basic\":{source:\"iana\",compressible:!1,extensions:[\"au\",\"snd\"]},\"audio/bv16\":{source:\"iana\"},\"audio/bv32\":{source:\"iana\"},\"audio/clearmode\":{source:\"iana\"},\"audio/cn\":{source:\"iana\"},\"audio/dat12\":{source:\"iana\"},\"audio/dls\":{source:\"iana\"},\"audio/dsr-es201108\":{source:\"iana\"},\"audio/dsr-es202050\":{source:\"iana\"},\"audio/dsr-es202211\":{source:\"iana\"},\"audio/dsr-es202212\":{source:\"iana\"},\"audio/dv\":{source:\"iana\"},\"audio/dvi4\":{source:\"iana\"},\"audio/eac3\":{source:\"iana\"},\"audio/encaprtp\":{source:\"iana\"},\"audio/evrc\":{source:\"iana\"},\"audio/evrc-qcp\":{source:\"iana\"},\"audio/evrc0\":{source:\"iana\"},\"audio/evrc1\":{source:\"iana\"},\"audio/evrcb\":{source:\"iana\"},\"audio/evrcb0\":{source:\"iana\"},\"audio/evrcb1\":{source:\"iana\"},\"audio/evrcnw\":{source:\"iana\"},\"audio/evrcnw0\":{source:\"iana\"},\"audio/evrcnw1\":{source:\"iana\"},\"audio/evrcwb\":{source:\"iana\"},\"audio/evrcwb0\":{source:\"iana\"},\"audio/evrcwb1\":{source:\"iana\"},\"audio/fwdred\":{source:\"iana\"},\"audio/g719\":{source:\"iana\"},\"audio/g722\":{source:\"iana\"},\"audio/g7221\":{source:\"iana\"},\"audio/g723\":{source:\"iana\"},\"audio/g726-16\":{source:\"iana\"},\"audio/g726-24\":{source:\"iana\"},\"audio/g726-32\":{source:\"iana\"},\"audio/g726-40\":{source:\"iana\"},\"audio/g728\":{source:\"iana\"},\"audio/g729\":{source:\"iana\"},\"audio/g7291\":{source:\"iana\"},\"audio/g729d\":{source:\"iana\"},\"audio/g729e\":{source:\"iana\"},\"audio/gsm\":{source:\"iana\"},\"audio/gsm-efr\":{source:\"iana\"},\"audio/gsm-hr-08\":{source:\"iana\"},\"audio/ilbc\":{source:\"iana\"},\"audio/ip-mr_v2.5\":{source:\"iana\"},\"audio/isac\":{source:\"apache\"},\"audio/l16\":{source:\"iana\"},\"audio/l20\":{source:\"iana\"},\"audio/l24\":{source:\"iana\",compressible:!1},\"audio/l8\":{source:\"iana\"},\"audio/lpc\":{source:\"iana\"},\"audio/midi\":{source:\"apache\",extensions:[\"mid\",\"midi\",\"kar\",\"rmi\"]},\"audio/mobile-xmf\":{source:\"iana\"},\"audio/mp4\":{source:\"iana\",compressible:!1,extensions:[\"mp4a\",\"m4a\"]},\"audio/mp4a-latm\":{source:\"iana\"},\"audio/mpa\":{source:\"iana\"},\"audio/mpa-robust\":{source:\"iana\"},\"audio/mpeg\":{source:\"iana\",compressible:!1,extensions:[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"]},\"audio/mpeg4-generic\":{source:\"iana\"},\"audio/musepack\":{source:\"apache\"},\"audio/ogg\":{source:\"iana\",compressible:!1,extensions:[\"oga\",\"ogg\",\"spx\"]},\"audio/opus\":{source:\"iana\"},\"audio/parityfec\":{source:\"iana\"},\"audio/pcma\":{source:\"iana\"},\"audio/pcma-wb\":{source:\"iana\"},\"audio/pcmu\":{source:\"iana\"},\"audio/pcmu-wb\":{source:\"iana\"},\"audio/prs.sid\":{source:\"iana\"},\"audio/qcelp\":{source:\"iana\"},\"audio/raptorfec\":{source:\"iana\"},\"audio/red\":{source:\"iana\"},\"audio/rtp-enc-aescm128\":{source:\"iana\"},\"audio/rtp-midi\":{source:\"iana\"},\"audio/rtploopback\":{source:\"iana\"},\"audio/rtx\":{source:\"iana\"},\"audio/s3m\":{source:\"apache\",extensions:[\"s3m\"]},\"audio/silk\":{source:\"apache\",extensions:[\"sil\"]},\"audio/smv\":{source:\"iana\"},\"audio/smv-qcp\":{source:\"iana\"},\"audio/smv0\":{source:\"iana\"},\"audio/sp-midi\":{source:\"iana\"},\"audio/speex\":{source:\"iana\"},\"audio/t140c\":{source:\"iana\"},\"audio/t38\":{source:\"iana\"},\"audio/telephone-event\":{source:\"iana\"},\"audio/tone\":{source:\"iana\"},\"audio/uemclip\":{source:\"iana\"},\"audio/ulpfec\":{source:\"iana\"},\"audio/vdvi\":{source:\"iana\"},\"audio/vmr-wb\":{source:\"iana\"},\"audio/vnd.3gpp.iufp\":{source:\"iana\"},\"audio/vnd.4sb\":{source:\"iana\"},\"audio/vnd.audiokoz\":{source:\"iana\"},\"audio/vnd.celp\":{source:\"iana\"},\"audio/vnd.cisco.nse\":{source:\"iana\"},\"audio/vnd.cmles.radio-events\":{source:\"iana\"},\"audio/vnd.cns.anp1\":{source:\"iana\"},\"audio/vnd.cns.inf1\":{source:\"iana\"},\"audio/vnd.dece.audio\":{source:\"iana\",extensions:[\"uva\",\"uvva\"]},\"audio/vnd.digital-winds\":{source:\"iana\",extensions:[\"eol\"]},\"audio/vnd.dlna.adts\":{source:\"iana\"},\"audio/vnd.dolby.heaac.1\":{source:\"iana\"},\"audio/vnd.dolby.heaac.2\":{source:\"iana\"},\"audio/vnd.dolby.mlp\":{source:\"iana\"},\"audio/vnd.dolby.mps\":{source:\"iana\"},\"audio/vnd.dolby.pl2\":{source:\"iana\"},\"audio/vnd.dolby.pl2x\":{source:\"iana\"},\"audio/vnd.dolby.pl2z\":{source:\"iana\"},\"audio/vnd.dolby.pulse.1\":{source:\"iana\"},\"audio/vnd.dra\":{source:\"iana\",extensions:[\"dra\"]},\"audio/vnd.dts\":{source:\"iana\",extensions:[\"dts\"]},\"audio/vnd.dts.hd\":{source:\"iana\",extensions:[\"dtshd\"]},\"audio/vnd.dvb.file\":{source:\"iana\"},\"audio/vnd.everad.plj\":{source:\"iana\"},\"audio/vnd.hns.audio\":{source:\"iana\"},\"audio/vnd.lucent.voice\":{source:\"iana\",extensions:[\"lvp\"]},\"audio/vnd.ms-playready.media.pya\":{source:\"iana\",extensions:[\"pya\"]},\"audio/vnd.nokia.mobile-xmf\":{source:\"iana\"},\"audio/vnd.nortel.vbk\":{source:\"iana\"},\"audio/vnd.nuera.ecelp4800\":{source:\"iana\",extensions:[\"ecelp4800\"]},\"audio/vnd.nuera.ecelp7470\":{source:\"iana\",extensions:[\"ecelp7470\"]},\"audio/vnd.nuera.ecelp9600\":{source:\"iana\",extensions:[\"ecelp9600\"]},\"audio/vnd.octel.sbc\":{source:\"iana\"},\"audio/vnd.qcelp\":{source:\"iana\"},\"audio/vnd.rhetorex.32kadpcm\":{source:\"iana\"},\"audio/vnd.rip\":{source:\"iana\",extensions:[\"rip\"]},\"audio/vnd.rn-realaudio\":{compressible:!1},\"audio/vnd.sealedmedia.softseal.mpeg\":{source:\"iana\"},\"audio/vnd.vmx.cvsd\":{source:\"iana\"},\"audio/vnd.wave\":{compressible:!1},\"audio/vorbis\":{source:\"iana\",compressible:!1},\"audio/vorbis-config\":{source:\"iana\"},\"audio/wav\":{compressible:!1,extensions:[\"wav\"]},\"audio/wave\":{compressible:!1,extensions:[\"wav\"]},\"audio/webm\":{source:\"apache\",compressible:!1,extensions:[\"weba\"]},\"audio/x-aac\":{source:\"apache\",compressible:!1,extensions:[\"aac\"]},\"audio/x-aiff\":{source:\"apache\",extensions:[\"aif\",\"aiff\",\"aifc\"]},\"audio/x-caf\":{source:\"apache\",compressible:!1,extensions:[\"caf\"]},\"audio/x-flac\":{source:\"apache\",extensions:[\"flac\"]},\"audio/x-matroska\":{source:\"apache\",extensions:[\"mka\"]},\"audio/x-mpegurl\":{source:\"apache\",extensions:[\"m3u\"]},\"audio/x-ms-wax\":{source:\"apache\",extensions:[\"wax\"]},\"audio/x-ms-wma\":{source:\"apache\",extensions:[\"wma\"]},\"audio/x-pn-realaudio\":{source:\"apache\",extensions:[\"ram\",\"ra\"]},\"audio/x-pn-realaudio-plugin\":{source:\"apache\",extensions:[\"rmp\"]},\"audio/x-tta\":{source:\"apache\"},\"audio/x-wav\":{source:\"apache\",extensions:[\"wav\"]},\"audio/xm\":{source:\"apache\",extensions:[\"xm\"]},\"chemical/x-cdx\":{source:\"apache\",extensions:[\"cdx\"]},\"chemical/x-cif\":{source:\"apache\",extensions:[\"cif\"]},\"chemical/x-cmdf\":{source:\"apache\",extensions:[\"cmdf\"]},\"chemical/x-cml\":{source:\"apache\",extensions:[\"cml\"]},\"chemical/x-csml\":{source:\"apache\",extensions:[\"csml\"]},\"chemical/x-pdb\":{source:\"apache\"},\"chemical/x-xyz\":{source:\"apache\",extensions:[\"xyz\"]},\"font/opentype\":{compressible:!0,extensions:[\"otf\"]},\"image/bmp\":{source:\"apache\",compressible:!0,extensions:[\"bmp\"]},\"image/cgm\":{source:\"iana\",extensions:[\"cgm\"]},\"image/fits\":{source:\"iana\"},\"image/g3fax\":{source:\"iana\",extensions:[\"g3\"]},\"image/gif\":{source:\"iana\",compressible:!1,extensions:[\"gif\"]},\"image/ief\":{source:\"iana\",extensions:[\"ief\"]},\"image/jp2\":{source:\"iana\"},\"image/jpeg\":{source:\"iana\",compressible:!1,extensions:[\"jpeg\",\"jpg\",\"jpe\"]},\"image/jpm\":{source:\"iana\"},\"image/jpx\":{source:\"iana\"},\"image/ktx\":{source:\"iana\",extensions:[\"ktx\"]},\"image/naplps\":{source:\"iana\"},\"image/pjpeg\":{compressible:!1},\"image/png\":{source:\"iana\",compressible:!1,extensions:[\"png\"]},\"image/prs.btif\":{source:\"iana\",extensions:[\"btif\"]},\"image/prs.pti\":{source:\"iana\"},\"image/pwg-raster\":{source:\"iana\"},\"image/sgi\":{source:\"apache\",extensions:[\"sgi\"]},\"image/svg+xml\":{source:\"iana\",compressible:!0,extensions:[\"svg\",\"svgz\"]},\"image/t38\":{source:\"iana\"},\"image/tiff\":{source:\"iana\",compressible:!1,extensions:[\"tiff\",\"tif\"]},\"image/tiff-fx\":{source:\"iana\"},\"image/vnd.adobe.photoshop\":{source:\"iana\",compressible:!0,extensions:[\"psd\"]},\"image/vnd.airzip.accelerator.azv\":{source:\"iana\"},\"image/vnd.cns.inf2\":{source:\"iana\"},\"image/vnd.dece.graphic\":{source:\"iana\",extensions:[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"]},\"image/vnd.djvu\":{source:\"iana\",extensions:[\"djvu\",\"djv\"]},\"image/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"image/vnd.dwg\":{source:\"iana\",extensions:[\"dwg\"]},\"image/vnd.dxf\":{source:\"iana\",extensions:[\"dxf\"]},\"image/vnd.fastbidsheet\":{source:\"iana\",extensions:[\"fbs\"]},\"image/vnd.fpx\":{source:\"iana\",extensions:[\"fpx\"]},\"image/vnd.fst\":{source:\"iana\",extensions:[\"fst\"]},\"image/vnd.fujixerox.edmics-mmr\":{source:\"iana\",extensions:[\"mmr\"]},\"image/vnd.fujixerox.edmics-rlc\":{source:\"iana\",extensions:[\"rlc\"]},\"image/vnd.globalgraphics.pgb\":{source:\"iana\"},\"image/vnd.microsoft.icon\":{source:\"iana\"},\"image/vnd.mix\":{source:\"iana\"},\"image/vnd.ms-modi\":{source:\"iana\",extensions:[\"mdi\"]},\"image/vnd.ms-photo\":{source:\"apache\",extensions:[\"wdp\"]},\"image/vnd.net-fpx\":{source:\"iana\",extensions:[\"npx\"]},\"image/vnd.radiance\":{source:\"iana\"},\"image/vnd.sealed.png\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.gif\":{source:\"iana\"},\"image/vnd.sealedmedia.softseal.jpg\":{source:\"iana\"},\"image/vnd.svf\":{source:\"iana\"},\"image/vnd.tencent.tap\":{source:\"iana\"},\"image/vnd.valve.source.texture\":{source:\"iana\"},\"image/vnd.wap.wbmp\":{source:\"iana\",extensions:[\"wbmp\"]},\"image/vnd.xiff\":{source:\"iana\",extensions:[\"xif\"]},\"image/vnd.zbrush.pcx\":{source:\"iana\"},\"image/webp\":{source:\"apache\",extensions:[\"webp\"]},\"image/x-3ds\":{source:\"apache\",extensions:[\"3ds\"]},\"image/x-cmu-raster\":{source:\"apache\",extensions:[\"ras\"]},\"image/x-cmx\":{source:\"apache\",extensions:[\"cmx\"]},\"image/x-freehand\":{source:\"apache\",extensions:[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"]},\"image/x-icon\":{source:\"apache\",compressible:!0,extensions:[\"ico\"]},\"image/x-mrsid-image\":{source:\"apache\",extensions:[\"sid\"]},\"image/x-ms-bmp\":{compressible:!0,extensions:[\"bmp\"]},\"image/x-pcx\":{source:\"apache\",extensions:[\"pcx\"]},\"image/x-pict\":{source:\"apache\",extensions:[\"pic\",\"pct\"]},\"image/x-portable-anymap\":{source:\"apache\",extensions:[\"pnm\"]},\"image/x-portable-bitmap\":{source:\"apache\",extensions:[\"pbm\"]},\"image/x-portable-graymap\":{source:\"apache\",extensions:[\"pgm\"]},\"image/x-portable-pixmap\":{source:\"apache\",extensions:[\"ppm\"]},\"image/x-rgb\":{source:\"apache\",extensions:[\"rgb\"]},\"image/x-tga\":{source:\"apache\",extensions:[\"tga\"]},\"image/x-xbitmap\":{source:\"apache\",extensions:[\"xbm\"]},\"image/x-xcf\":{compressible:!1},\"image/x-xpixmap\":{source:\"apache\",extensions:[\"xpm\"]},\"image/x-xwindowdump\":{source:\"apache\",extensions:[\"xwd\"]},\"message/cpim\":{source:\"iana\"},\"message/delivery-status\":{source:\"iana\"},\"message/disposition-notification\":{source:\"iana\"},\"message/external-body\":{source:\"iana\"},\"message/feedback-report\":{source:\"iana\"},\"message/global\":{source:\"iana\"},\"message/global-delivery-status\":{source:\"iana\"},\"message/global-disposition-notification\":{source:\"iana\"},\"message/global-headers\":{source:\"iana\"},\"message/http\":{source:\"iana\",compressible:!1},\"message/imdn+xml\":{source:\"iana\",compressible:!0},\"message/news\":{source:\"iana\"},\"message/partial\":{source:\"iana\",compressible:!1},\"message/rfc822\":{source:\"iana\",compressible:!0,extensions:[\"eml\",\"mime\"]},\"message/s-http\":{source:\"iana\"},\"message/sip\":{source:\"iana\"},\"message/sipfrag\":{source:\"iana\"},\"message/tracking-status\":{source:\"iana\"},\"message/vnd.si.simp\":{source:\"iana\"},\"message/vnd.wfa.wsc\":{source:\"iana\"},\"model/iges\":{source:\"iana\",compressible:!1,extensions:[\"igs\",\"iges\"]},\"model/mesh\":{source:\"iana\",compressible:!1,extensions:[\"msh\",\"mesh\",\"silo\"]},\"model/vnd.collada+xml\":{source:\"iana\",extensions:[\"dae\"]},\"model/vnd.dwf\":{source:\"iana\",extensions:[\"dwf\"]},\"model/vnd.flatland.3dml\":{source:\"iana\"},\"model/vnd.gdl\":{source:\"iana\",extensions:[\"gdl\"]},\"model/vnd.gs-gdl\":{source:\"apache\"},\"model/vnd.gs.gdl\":{source:\"iana\"},\"model/vnd.gtw\":{source:\"iana\",extensions:[\"gtw\"]},\"model/vnd.moml+xml\":{source:\"iana\"},\"model/vnd.mts\":{source:\"iana\",extensions:[\"mts\"]},\"model/vnd.opengex\":{source:\"iana\"},\"model/vnd.parasolid.transmit.binary\":{source:\"iana\"},\"model/vnd.parasolid.transmit.text\":{source:\"iana\"},\"model/vnd.valve.source.compiled-map\":{source:\"iana\"},\"model/vnd.vtu\":{source:\"iana\",extensions:[\"vtu\"]},\"model/vrml\":{source:\"iana\",compressible:!1,extensions:[\"wrl\",\"vrml\"]},\"model/x3d+binary\":{source:\"apache\",compressible:!1,extensions:[\"x3db\",\"x3dbz\"]},\"model/x3d+fastinfoset\":{source:\"iana\"},\"model/x3d+vrml\":{source:\"apache\",compressible:!1,extensions:[\"x3dv\",\"x3dvz\"]},\"model/x3d+xml\":{source:\"iana\",compressible:!0,extensions:[\"x3d\",\"x3dz\"]},\"model/x3d-vrml\":{source:\"iana\"},\"multipart/alternative\":{source:\"iana\",compressible:!1},\"multipart/appledouble\":{source:\"iana\"},\"multipart/byteranges\":{source:\"iana\"},\"multipart/digest\":{source:\"iana\"},\"multipart/encrypted\":{source:\"iana\",compressible:!1},\"multipart/form-data\":{source:\"iana\",compressible:!1},\"multipart/header-set\":{source:\"iana\"},\"multipart/mixed\":{source:\"iana\",compressible:!1},\"multipart/parallel\":{source:\"iana\"},\"multipart/related\":{source:\"iana\",compressible:!1},\"multipart/report\":{source:\"iana\"},\"multipart/signed\":{source:\"iana\",compressible:!1},\"multipart/voice-message\":{source:\"iana\"},\"multipart/x-mixed-replace\":{source:\"iana\"},\"text/1d-interleaved-parityfec\":{source:\"iana\"},\"text/cache-manifest\":{source:\"iana\",compressible:!0,extensions:[\"appcache\",\"manifest\"]},\"text/calendar\":{source:\"iana\",extensions:[\"ics\",\"ifb\"]},\"text/calender\":{compressible:!0},\"text/cmd\":{compressible:!0},\"text/coffeescript\":{extensions:[\"coffee\",\"litcoffee\"]},\"text/css\":{source:\"iana\",compressible:!0,extensions:[\"css\"]},\"text/csv\":{source:\"iana\",compressible:!0,extensions:[\"csv\"]},\"text/csv-schema\":{source:\"iana\"},\"text/directory\":{source:\"iana\"},\"text/dns\":{source:\"iana\"},\"text/ecmascript\":{source:\"iana\"},\"text/encaprtp\":{source:\"iana\"},\"text/enriched\":{source:\"iana\"},\"text/fwdred\":{source:\"iana\"},\"text/grammar-ref-list\":{source:\"iana\"},\"text/hjson\":{extensions:[\"hjson\"]},\"text/html\":{source:\"iana\",compressible:!0,extensions:[\"html\",\"htm\"]},\"text/jade\":{extensions:[\"jade\"]},\"text/javascript\":{source:\"iana\",compressible:!0},\"text/jcr-cnd\":{source:\"iana\"},\"text/jsx\":{compressible:!0,extensions:[\"jsx\"]},\"text/less\":{extensions:[\"less\"]},\"text/markdown\":{source:\"iana\"},\"text/mizar\":{source:\"iana\"},\"text/n3\":{source:\"iana\",compressible:!0,extensions:[\"n3\"]},\"text/parameters\":{source:\"iana\"},\"text/parityfec\":{source:\"iana\"},\"text/plain\":{source:\"iana\",compressible:!0,extensions:[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"]},\"text/provenance-notation\":{source:\"iana\"},\"text/prs.fallenstein.rst\":{source:\"iana\"},\"text/prs.lines.tag\":{source:\"iana\",extensions:[\"dsc\"]},\"text/raptorfec\":{source:\"iana\"},\"text/red\":{source:\"iana\"},\"text/rfc822-headers\":{source:\"iana\"},\"text/richtext\":{source:\"iana\",compressible:!0,extensions:[\"rtx\"]},\"text/rtf\":{source:\"iana\",compressible:!0,extensions:[\"rtf\"]},\"text/rtp-enc-aescm128\":{source:\"iana\"},\"text/rtploopback\":{source:\"iana\"},\"text/rtx\":{source:\"iana\"},\"text/sgml\":{source:\"iana\",extensions:[\"sgml\",\"sgm\"]},\"text/stylus\":{extensions:[\"stylus\",\"styl\"]},\"text/t140\":{source:\"iana\"},\"text/tab-separated-values\":{source:\"iana\",compressible:!0,extensions:[\"tsv\"]},\"text/troff\":{source:\"iana\",extensions:[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"]},\"text/turtle\":{source:\"iana\",extensions:[\"ttl\"]},\"text/ulpfec\":{source:\"iana\"},\"text/uri-list\":{source:\"iana\",compressible:!0,extensions:[\"uri\",\"uris\",\"urls\"]},\"text/vcard\":{source:\"iana\",compressible:!0,extensions:[\"vcard\"]},\"text/vnd.a\":{source:\"iana\"},\"text/vnd.abc\":{source:\"iana\"},\"text/vnd.curl\":{source:\"iana\",extensions:[\"curl\"]},\"text/vnd.curl.dcurl\":{source:\"apache\",extensions:[\"dcurl\"]},\"text/vnd.curl.mcurl\":{source:\"apache\",extensions:[\"mcurl\"]},\"text/vnd.curl.scurl\":{source:\"apache\",extensions:[\"scurl\"]},\"text/vnd.debian.copyright\":{source:\"iana\"},\"text/vnd.dmclientscript\":{source:\"iana\"},\"text/vnd.dvb.subtitle\":{source:\"iana\",extensions:[\"sub\"]},\"text/vnd.esmertec.theme-descriptor\":{source:\"iana\"},\"text/vnd.fly\":{source:\"iana\",extensions:[\"fly\"]},\"text/vnd.fmi.flexstor\":{source:\"iana\",extensions:[\"flx\"]},\"text/vnd.graphviz\":{source:\"iana\",extensions:[\"gv\"]},\"text/vnd.in3d.3dml\":{source:\"iana\",extensions:[\"3dml\"]},\"text/vnd.in3d.spot\":{source:\"iana\",extensions:[\"spot\"]},\"text/vnd.iptc.newsml\":{source:\"iana\"},\"text/vnd.iptc.nitf\":{source:\"iana\"},\"text/vnd.latex-z\":{source:\"iana\"},\"text/vnd.motorola.reflex\":{source:\"iana\"},\"text/vnd.ms-mediapackage\":{source:\"iana\"},\"text/vnd.net2phone.commcenter.command\":{source:\"iana\"},\"text/vnd.radisys.msml-basic-layout\":{source:\"iana\"},\"text/vnd.si.uricatalogue\":{source:\"iana\"},\"text/vnd.sun.j2me.app-descriptor\":{source:\"iana\",extensions:[\"jad\"]},\"text/vnd.trolltech.linguist\":{source:\"iana\"},\"text/vnd.wap.si\":{source:\"iana\"},\"text/vnd.wap.sl\":{source:\"iana\"},\"text/vnd.wap.wml\":{source:\"iana\",extensions:[\"wml\"]},\"text/vnd.wap.wmlscript\":{source:\"iana\",extensions:[\"wmls\"]},\"text/vtt\":{charset:\"UTF-8\",compressible:!0,extensions:[\"vtt\"]},\"text/x-asm\":{source:\"apache\",extensions:[\"s\",\"asm\"]},\"text/x-c\":{source:\"apache\",extensions:[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"]},\"text/x-component\":{extensions:[\"htc\"]},\"text/x-fortran\":{source:\"apache\",extensions:[\"f\",\"for\",\"f77\",\"f90\"]},\"text/x-gwt-rpc\":{compressible:!0},\"text/x-handlebars-template\":{extensions:[\"hbs\"]},\"text/x-java-source\":{source:\"apache\",extensions:[\"java\"]},\"text/x-jquery-tmpl\":{compressible:!0},\"text/x-lua\":{extensions:[\"lua\"]},\"text/x-markdown\":{compressible:!0,extensions:[\"markdown\",\"md\",\"mkd\"]},\"text/x-nfo\":{source:\"apache\",extensions:[\"nfo\"]},\"text/x-opml\":{source:\"apache\",extensions:[\"opml\"]},\"text/x-pascal\":{source:\"apache\",extensions:[\"p\",\"pas\"]},\"text/x-sass\":{extensions:[\"sass\"]},\"text/x-scss\":{extensions:[\"scss\"]},\"text/x-setext\":{source:\"apache\",extensions:[\"etx\"]},\"text/x-sfv\":{source:\"apache\",extensions:[\"sfv\"]},\"text/x-uuencode\":{source:\"apache\",extensions:[\"uu\"]},\"text/x-vcalendar\":{source:\"apache\",extensions:[\"vcs\"]},\"text/x-vcard\":{source:\"apache\",extensions:[\"vcf\"]},\"text/xml\":{source:\"iana\",compressible:!0},\"text/xml-external-parsed-entity\":{source:\"iana\"},\"text/yaml\":{extensions:[\"yaml\",\"yml\"]},\"video/1d-interleaved-parityfec\":{source:\"apache\"},\"video/3gpp\":{source:\"apache\",extensions:[\"3gp\"]},\"video/3gpp-tt\":{source:\"apache\"},\"video/3gpp2\":{source:\"apache\",extensions:[\"3g2\"]},\"video/bmpeg\":{source:\"apache\"},\"video/bt656\":{source:\"apache\"},\"video/celb\":{source:\"apache\"},\"video/dv\":{source:\"apache\"},\"video/h261\":{source:\"apache\",extensions:[\"h261\"]},\"video/h263\":{source:\"apache\",extensions:[\"h263\"]},\"video/h263-1998\":{source:\"apache\"},\"video/h263-2000\":{source:\"apache\"},\"video/h264\":{source:\"apache\",extensions:[\"h264\"]},\"video/h264-rcdo\":{source:\"apache\"},\"video/h264-svc\":{source:\"apache\"},\"video/jpeg\":{source:\"apache\",extensions:[\"jpgv\"]},\"video/jpeg2000\":{source:\"apache\"},\"video/jpm\":{source:\"apache\",extensions:[\"jpm\",\"jpgm\"]},\"video/mj2\":{source:\"apache\",extensions:[\"mj2\",\"mjp2\"]},\"video/mp1s\":{source:\"apache\"},\"video/mp2p\":{source:\"apache\"},\"video/mp2t\":{source:\"apache\",extensions:[\"ts\"]},\"video/mp4\":{source:\"apache\",compressible:!1,extensions:[\"mp4\",\"mp4v\",\"mpg4\"]},\"video/mp4v-es\":{source:\"apache\"},\"video/mpeg\":{source:\"apache\",compressible:!1,extensions:[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"]},\"video/mpeg4-generic\":{source:\"apache\"},\"video/mpv\":{source:\"apache\"},\"video/nv\":{source:\"apache\"},\"video/ogg\":{source:\"apache\",compressible:!1,extensions:[\"ogv\"]},\"video/parityfec\":{source:\"apache\"},\"video/pointer\":{source:\"apache\"},\"video/quicktime\":{source:\"apache\",compressible:!1,extensions:[\"qt\",\"mov\"]},\"video/raw\":{source:\"apache\"},\"video/rtp-enc-aescm128\":{source:\"apache\"},\"video/rtx\":{source:\"apache\"},\"video/smpte292m\":{source:\"apache\"},\"video/ulpfec\":{source:\"apache\"},\"video/vc1\":{source:\"apache\"},\"video/vnd.cctv\":{source:\"apache\"},\"video/vnd.dece.hd\":{source:\"apache\",extensions:[\"uvh\",\"uvvh\"]},\"video/vnd.dece.mobile\":{source:\"apache\",extensions:[\"uvm\",\"uvvm\"]},\"video/vnd.dece.mp4\":{source:\"apache\"},\"video/vnd.dece.pd\":{source:\"apache\",extensions:[\"uvp\",\"uvvp\"]},\"video/vnd.dece.sd\":{source:\"apache\",extensions:[\"uvs\",\"uvvs\"]},\"video/vnd.dece.video\":{source:\"apache\",extensions:[\"uvv\",\"uvvv\"]},\"video/vnd.directv.mpeg\":{source:\"apache\"},\"video/vnd.directv.mpeg-tts\":{source:\"apache\"},\"video/vnd.dlna.mpeg-tts\":{source:\"apache\"},\"video/vnd.dvb.file\":{source:\"apache\",extensions:[\"dvb\"]},\"video/vnd.fvt\":{source:\"apache\",extensions:[\"fvt\"]},\"video/vnd.hns.video\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.1dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-1010\":{source:\"apache\"},\"video/vnd.iptvforum.2dparityfec-2005\":{source:\"apache\"},\"video/vnd.iptvforum.ttsavc\":{source:\"apache\"},\"video/vnd.iptvforum.ttsmpeg2\":{source:\"apache\"},\"video/vnd.motorola.video\":{source:\"apache\"},\"video/vnd.motorola.videop\":{source:\"apache\"},\"video/vnd.mpegurl\":{source:\"apache\",extensions:[\"mxu\",\"m4u\"]},\"video/vnd.ms-playready.media.pyv\":{source:\"apache\",extensions:[\"pyv\"]},\"video/vnd.nokia.interleaved-multimedia\":{source:\"apache\"},\"video/vnd.nokia.videovoip\":{source:\"apache\"},\"video/vnd.objectvideo\":{source:\"apache\"},\"video/vnd.sealed.mpeg1\":{source:\"apache\"},\"video/vnd.sealed.mpeg4\":{source:\"apache\"},\"video/vnd.sealed.swf\":{source:\"apache\"},\"video/vnd.sealedmedia.softseal.mov\":{source:\"apache\"},\"video/vnd.uvvu.mp4\":{source:\"apache\",extensions:[\"uvu\",\"uvvu\"]},\"video/vnd.vivo\":{source:\"apache\",extensions:[\"viv\"]},\"video/webm\":{source:\"apache\",compressible:!1,extensions:[\"webm\"]},\"video/x-f4v\":{source:\"apache\",extensions:[\"f4v\"]},\"video/x-fli\":{source:\"apache\",extensions:[\"fli\"]},\"video/x-flv\":{source:\"apache\",compressible:!1,extensions:[\"flv\"]},\"video/x-m4v\":{source:\"apache\",extensions:[\"m4v\"]},\"video/x-matroska\":{source:\"apache\",compressible:!1,extensions:[\"mkv\",\"mk3d\",\"mks\"]},\"video/x-mng\":{source:\"apache\",extensions:[\"mng\"]},\"video/x-ms-asf\":{source:\"apache\",extensions:[\"asf\",\"asx\"]},\"video/x-ms-vob\":{source:\"apache\",extensions:[\"vob\"]},\"video/x-ms-wm\":{source:\"apache\",extensions:[\"wm\"]},\"video/x-ms-wmv\":{source:\"apache\",compressible:!1,extensions:[\"wmv\"]},\"video/x-ms-wmx\":{source:\"apache\",extensions:[\"wmx\"]},\"video/x-ms-wvx\":{source:\"apache\",extensions:[\"wvx\"]},\"video/x-msvideo\":{source:\"apache\",extensions:[\"avi\"]},\"video/x-sgi-movie\":{source:\"apache\",extensions:[\"movie\"]},\"video/x-smv\":{source:\"apache\",extensions:[\"smv\"]},\"x-conference/x-cooltalk\":{source:\"apache\",extensions:[\"ice\"]},\"x-shader/x-fragment\":{compressible:!0},\"x-shader/x-vertex\":{compressible:!0}}},{}],504:[function(e,t,n){arguments[4][183][0].apply(n,arguments)},{\"./db.json\":503,dup:183}],505:[function(e,t,n){var r=e(\"mime-db\");n.types=Object.create(null),n.extensions=Object.create(null),Object.keys(r).forEach(function(e){var t=r[e],i=t.extensions;i&&i.length&&(n.extensions[e]=i,i.forEach(function(t){n.types[t]=e}))}),n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){var t=r[e];return t&&t.charset?t.charset:/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e}},{\"mime-db\":504}],506:[function(e,t,n){(function(n){function r(){this.types=Object.create(null),this.extensions=Object.create(null)}var i=e(\"path\"),o=e(\"fs\");r.prototype.define=function(e){for(var t in e){for(var n=e[t],r=0;r<n.length;r++)process.env.DEBUG_MIME&&this.types[n]&&console.warn(this._loading.replace(/.*\\//,\"\"),'changes \"'+n[r]+'\" extension type from '+this.types[n]+\" to \"+t),this.types[n[r]]=t;this.extensions[t]||(this.extensions[t]=n[0])}},r.prototype.load=function(e){this._loading=e;var t={},n=o.readFileSync(e,\"ascii\"),r=n.split(/[\\r\\n]+/);r.forEach(function(e){var n=e.replace(/\\s*#.*|^\\s*|\\s*$/g,\"\").split(/\\s+/);t[n.shift()]=n}),this.define(t),this._loading=null},r.prototype.lookup=function(e,t){var n=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase();return this.types[n]||t||this.default_type},r.prototype.extension=function(e){var t=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/)[1].toLowerCase();return this.extensions[t]};var a=new r;a.load(i.join(n,\"types/mime.types\")),a.load(i.join(n,\"types/node.types\")),a.default_type=a.lookup(\"bin\"),a.Mime=r,a.charsets={lookup:function(e,t){return/^text\\//.test(e)?\"UTF-8\":t}},t.exports=a}).call(this,\"/Users/sedouard/Documents/github/serverless-starter/_meta/_tmp/show@1461187000321/lib/node_modules/unirest/node_modules/mime\")},{fs:void 0,path:void 0}],507:[function(e,t,n){function r(e,t){return f.createHmac(\"sha1\",e).update(t).digest(\"base64\")}function i(e,t){return f.createSign(\"RSA-SHA1\").update(t).sign(e,\"base64\")}function o(e){return encodeURIComponent(e).replace(/!/g,\"%21\").replace(/\\*/g,\"%2A\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\").replace(/'/g,\"%27\")}function a(e){var t,n,r=[];for(t in e)if(n=e[t],Array.isArray(n))for(var i=0;i<n.length;i++)r.push([t,n[i]]);else r.push([t,n]);return r}function s(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){var r=a(n).map(function(e){return[o(e[0]),o(e[1]||\"\")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join(\"=\")}).join(\"&\"),i=[o(e?e.toUpperCase():\"GET\"),o(t),o(r)].join(\"&\");return i}function u(e,t,n,i,a){var s=c(e,t,n),u=[i||\"\",a||\"\"].map(o).join(\"&\");return r(u,s)}function p(e,t,n,r,o){var a=c(e,t,n),s=r||\"\";return i(s,a)}function l(e,t,n,r,i,o){var a;switch(e){case\"RSA-SHA1\":a=p;break;case\"HMAC-SHA1\":a=u;break;default:throw new Error(\"Signature method not supported: \"+e)}return a.apply(null,[].slice.call(arguments,1))}var f=e(\"crypto\");e(\"querystring\");n.hmacsign=u,n.rsasign=p,n.sign=l,n.rfc3986=o},{crypto:void 0,querystring:void 0}],508:[function(e,t,n){t.exports=e(\"./lib/\")},{\"./lib/\":509}],509:[function(e,t,n){arguments[4][110][0].apply(n,arguments)},{\"./parse\":510,\"./stringify\":511,dup:110}],510:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",depth:5,arrayLimit:20,parameterLimit:1e3};i.parseValues=function(e,t){for(var n={},i=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),o=0,a=i.length;a>o;++o){var s=i[o],c=-1===s.indexOf(\"]=\")?s.indexOf(\"=\"):s.indexOf(\"]=\")+1;if(-1===c)n[r.decode(s)]=\"\";else{var u=r.decode(s.slice(0,c)),p=r.decode(s.slice(c+1));n.hasOwnProperty(u)?n[u]=[].concat(n[u]).concat(p):n[u]=p}}return n},i.parseObject=function(e,t,n){if(!e.length)return t;var r=e.shift(),o={};if(\"[]\"===r)o=[],o=o.concat(i.parseObject(e,t,n));else{var a=\"[\"===r[0]&&\"]\"===r[r.length-1]?r.slice(1,r.length-1):r,s=parseInt(a,10),c=\"\"+s;!isNaN(s)&&r!==a&&c===a&&s>=0&&s<=n.arrayLimit?(o=[],o[s]=i.parseObject(e,t,n)):o[a]=i.parseObject(e,t,n)}return o},i.parseKeys=function(e,t,n){if(e){var r=/^([^\\[\\]]*)/,o=/(\\[[^\\[\\]]*\\])/g,a=r.exec(e);if(!Object.prototype.hasOwnProperty(a[1])){var s=[];a[1]&&s.push(a[1]);for(var c=0;null!==(a=o.exec(e))&&c<n.depth;)++c,Object.prototype.hasOwnProperty(a[1].replace(/\\[|\\]/g,\"\"))||s.push(a[1]);return a&&s.push(\"[\"+e.slice(a.index)+\"]\"),i.parseObject(s,t,n)}}},t.exports=function(e,t){if(\"\"===e||null===e||\"undefined\"==typeof e)return{};t=t||{},t.delimiter=\"string\"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:i.delimiter,t.depth=\"number\"==typeof t.depth?t.depth:i.depth,t.arrayLimit=\"number\"==typeof t.arrayLimit?t.arrayLimit:i.arrayLimit,t.parameterLimit=\"number\"==typeof t.parameterLimit?t.parameterLimit:i.parameterLimit;for(var n=\"string\"==typeof e?i.parseValues(e,t):e,o={},a=Object.keys(n),s=0,c=a.length;c>s;++s){var u=a[s],p=i.parseKeys(u,n[u],t);o=r.merge(o,p)}return r.compact(o)}},{\"./utils\":512}],511:[function(e,t,n){var r=e(\"./utils\"),i={delimiter:\"&\",indices:!0};i.stringify=function(e,t,n){if(r.isBuffer(e)?e=e.toString():e instanceof Date?e=e.toISOString():null===e&&(e=\"\"),\"string\"==typeof e||\"number\"==typeof e||\"boolean\"==typeof e)return[encodeURIComponent(t)+\"=\"+encodeURIComponent(e)];var o=[];if(\"undefined\"==typeof e)return o;for(var a=Object.keys(e),s=0,c=a.length;c>s;++s){var u=a[s];o=!n.indices&&Array.isArray(e)?o.concat(i.stringify(e[u],t,n)):o.concat(i.stringify(e[u],t+\"[\"+u+\"]\",n))}return o},t.exports=function(e,t){t=t||{};var n=\"undefined\"==typeof t.delimiter?i.delimiter:t.delimiter;t.indices=\"boolean\"==typeof t.indices?t.indices:i.indices;var r=[];if(\"object\"!=typeof e||null===e)return\"\";for(var o=Object.keys(e),a=0,s=o.length;s>a;++a){var c=o[a];r=r.concat(i.stringify(e[c],c,t))}return r.join(n)}},{\"./utils\":512}],512:[function(e,t,n){n.arrayToObject=function(e){for(var t={},n=0,r=e.length;r>n;++n)\"undefined\"!=typeof e[n]&&(t[n]=e[n]);return t},n.merge=function(e,t){if(!t)return e;if(\"object\"!=typeof t)return Array.isArray(e)?e.push(t):e[t]=!0,e;if(\"object\"!=typeof e)return e=[e].concat(t);Array.isArray(e)&&!Array.isArray(t)&&(e=n.arrayToObject(e));for(var r=Object.keys(t),i=0,o=r.length;o>i;++i){var a=r[i],s=t[a];e[a]?e[a]=n.merge(e[a],s):e[a]=s}return e},n.decode=function(e){try{return decodeURIComponent(e.replace(/\\+/g,\" \"))}catch(t){return e}},n.compact=function(e,t){if(\"object\"!=typeof e||null===e)return e;t=t||[];var r=t.indexOf(e);if(-1!==r)return t[r];if(t.push(e),Array.isArray(e)){for(var i=[],o=0,a=e.length;a>o;++o)\"undefined\"!=typeof e[o]&&i.push(e[o]);return i}var s=Object.keys(e);for(o=0,a=s.length;a>o;++o){var c=s[o];e[c]=n.compact(e[c],t)}return e},n.isRegExp=function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},n.isBuffer=function(e){return null===e||\"undefined\"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],513:[function(e,t,n){arguments[4][388][0].apply(n,arguments)},{\"./lib/_stream_duplex.js\":514,dup:388}],514:[function(e,t,n){arguments[4][241][0].apply(n,arguments)},{\"./_stream_readable\":515,\"./_stream_writable\":516,\"core-util-is\":77,dup:241,inherits:157}],515:[function(e,t,n){arguments[4][243][0].apply(n,arguments)},{buffer:void 0,\"core-util-is\":77,dup:243,events:void 0,inherits:157,isarray:502,stream:void 0,\"string_decoder/\":456}],516:[function(e,t,n){arguments[4][245][0].apply(n,arguments)},{\"./_stream_duplex\":514,buffer:void 0,\"core-util-is\":77,dup:245,inherits:157,stream:void 0}],517:[function(e,t,n){\"use strict\";function r(e,t,n){return n=l([t,n]),t=f(e,t),p().extend({callback:n}).extend({options:t}).extend({uri:t.uri}).done()}function i(e,t,n){if(\"undefined\"==typeof e)throw new Error(\"undefined is not a valid uri or options object.\");var o=r(e,t,n);return t=o.options,t.callback=o.callback,t.uri=o.uri,new i.Request(t)}function o(e){return\"function\"==typeof e.options._requester?e.options._requester:i}var a=e(\"util\")._extend,s=e(\"./lib/cookies\"),c=e(\"./lib/helpers\"),u=c.isFunction,p=c.constructObject,l=c.filterForCallback,f=c.constructOptionsFrom,d=c.paramsHaveRequestBody;i.get=function(e,t,n){var i=r(e,t,n);return i.options.method=\"GET\",o(i)(i.uri||null,i.options,i.callback)},i.head=function(e,t,n){var i=r(e,t,n);if(i.options.method=\"HEAD\",d(i))throw new Error(\"HTTP HEAD requests MUST NOT include a request body.\");return o(i)(i.uri||null,i.options,i.callback)},i.post=function(e,t,n){var i=r(e,t,n);return i.options.method=\"POST\",\no(i)(i.uri||null,i.options,i.callback)},i.put=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PUT\",o(i)(i.uri||null,i.options,i.callback)},i.patch=function(e,t,n){var i=r(e,t,n);return i.options.method=\"PATCH\",o(i)(i.uri||null,i.options,i.callback)},i.del=function(e,t,n){var i=r(e,t,n);return i.options.method=\"DELETE\",o(i)(i.uri||null,i.options,i.callback)},i.jar=function(e){return s.jar(e)},i.cookie=function(e){return s.parse(e)},i.defaults=function(e,t){var n=this,i=function(i){var o=function(e){return e=a({},e),delete e.headers,e},s=function(e,t){return p().extend(t.headers).extend(e.options.headers).done()};return function(c,p,l){var f=r(c,p,l);return f.options=a(o(e),f.options),e.headers&&(f.options.headers=s(f,e)),u(t)&&(i===n?i=t:f.options._requester=t),i(f.options,f.callback)}},o=i(n);return o.get=i(n.get),o.patch=i(n.patch),o.post=i(n.post),o.put=i(n.put),o.head=i(n.head),o.del=i(n.del),o.cookie=i(n.cookie),o.jar=n.jar,o.defaults=n.defaults,o},i.forever=function(e,t){var n=p();return t&&n.extend(t),e&&(n.agentOptions=e),n.extend({forever:!0}),i.defaults(n.done())},t.exports=i,i.Request=e(\"./request\"),i.debug=process.env.NODE_DEBUG&&/\\brequest\\b/.test(process.env.NODE_DEBUG),i.initParams=r},{\"./lib/cookies\":518,\"./lib/helpers\":521,\"./request\":526,util:void 0}],518:[function(e,t,n){\"use strict\";function r(e){var t=this;t._jar=new a(e)}var i=e(\"tough-cookie\"),o=i.Cookie,a=i.CookieJar;n.parse=function(e){if(e&&e.uri&&(e=e.uri),\"string\"!=typeof e)throw new Error(\"The cookie function only accepts STRING as param\");return o.parse(e)},r.prototype.setCookie=function(e,t,n){var r=this;return r._jar.setCookieSync(e,t,n||{})},r.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)},r.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)},n.jar=function(e){return new r(e)}},{\"tough-cookie\":458}],519:[function(e,t,n){\"use strict\";t.exports=function(e){var t={};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}},{}],520:[function(e,t,n){\"use strict\";var r=e(\"util\"),i=e(\"../index\");t.exports=function(){i.debug&&console.error(\"REQUEST %s\",r.format.apply(r,arguments))}},{\"../index\":517,util:void 0}],521:[function(e,t,n){(function(t){\"use strict\";function r(){return\"undefined\"==typeof setImmediate?process.nextTick:setImmediate}function i(e){return e=e||{},{extend:function(t){return i(d(e,t))},done:function(){return e}}}function o(e,t){var n=i();return\"object\"==typeof t?n.extend(t).extend({uri:e}):\"string\"==typeof e?n.extend({uri:e}):n.extend(e),n.done()}function a(e){return\"function\"==typeof e}function s(e){var t=e.filter(a);return t[0]}function c(e){return e.options.body||e.options.requestBodyStream||e.options.json&&\"boolean\"!=typeof e.options.json||e.options.multipart}function u(e){var t;try{t=JSON.stringify(e)}catch(n){t=h(e)}return t}function p(e){return m.createHash(\"md5\").update(e).digest(\"hex\")}function l(e){return e.readable&&e.path&&e.mode}function f(e){return new t(e||\"\",\"ascii\").toString(\"base64\")}var d=e(\"util\")._extend,h=e(\"json-stringify-safe\"),m=e(\"crypto\");n.isFunction=a,n.constructObject=i,n.constructOptionsFrom=o,n.filterForCallback=s,n.paramsHaveRequestBody=c,n.safeStringify=u,n.md5=p,n.isReadStream=l,n.toBase64=f,n.defer=r()}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,crypto:void 0,\"json-stringify-safe\":173,util:void 0}],522:[function(e,t,n){t.exports={\"text/jade\":[\"jade\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/less\":[\"less\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/coffeescript\":[\"coffee\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/jsx\":[\"jsx\"]}},{}],523:[function(e,t,n){function r(e){Object.keys(e).forEach(function(t){var r=e[t]||[];n.extensions[t]=n.extensions[t]||[],r.forEach(function(e){~n.extensions[t].indexOf(e)||n.extensions[t].push(e),n.types[e]=t})})}n.types=Object.create(null),n.extensions=Object.create(null),n.define=r,n.json={mime:e(\"./mime.json\"),node:e(\"./node.json\"),custom:e(\"./custom.json\")},n.lookup=function(e){return e&&\"string\"==typeof e?(e=e.replace(/.*[\\.\\/\\\\]/,\"\").toLowerCase(),e?n.types[e]||!1:!1):!1},n.extension=function(e){if(!e||\"string\"!=typeof e)return!1;if(e=e.match(/^\\s*([^;\\s]*)(?:;|\\s|$)/),!e)return!1;var t=n.extensions[e[1].toLowerCase()];return t&&t.length?t[0]:!1},n.charset=function(e){switch(e){case\"application/json\":return\"UTF-8\";case\"application/javascript\":return\"UTF-8\"}return/^text\\//.test(e)?\"UTF-8\":!1},n.charsets={lookup:n.charset},n.contentType=function(e){if(!e||\"string\"!=typeof e)return!1;if(~e.indexOf(\"/\")||(e=n.lookup(e)),!e)return!1;if(!~e.indexOf(\"charset\")){var t=n.charset(e);t&&(e+=\"; charset=\"+t.toLowerCase())}return e},r(n.json.mime),r(n.json.node),r(n.json.custom)},{\"./custom.json\":522,\"./mime.json\":524,\"./node.json\":525}],524:[function(e,t,n){t.exports={\"application/1d-interleaved-parityfec\":[],\"application/3gpp-ims+xml\":[],\"application/activemessage\":[],\"application/andrew-inset\":[\"ez\"],\"application/applefile\":[],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomicmail\":[],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/auth-policy+xml\":[],\"application/batch-smtp\":[],\"application/beep+xml\":[],\"application/calendar+xml\":[],\"application/cals-1840\":[],\"application/ccmp+xml\":[],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cea-2018+xml\":[],\"application/cellml+xml\":[],\"application/cfw\":[],\"application/cnrp+xml\":[],\"application/commonground\":[],\"application/conference-info+xml\":[],\"application/cpl+xml\":[],\"application/csta+xml\":[],\"application/cstadata+xml\":[],\"application/cu-seeme\":[\"cu\"],\"application/cybercash\":[],\"application/davmount+xml\":[\"davmount\"],\"application/dca-rft\":[],\"application/dec-dx\":[],\"application/dialog-info+xml\":[],\"application/dicom\":[],\"application/dns\":[],\"application/docbook+xml\":[\"dbk\"],\"application/dskpp+xml\":[],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/dvcs\":[],\"application/ecmascript\":[\"ecma\"],\"application/edi-consent\":[],\"application/edi-x12\":[],\"application/edifact\":[],\"application/emma+xml\":[\"emma\"],\"application/epp+xml\":[],\"application/epub+zip\":[\"epub\"],\"application/eshop\":[],\"application/example\":[],\"application/exi\":[\"exi\"],\"application/fastinfoset\":[],\"application/fastsoap\":[],\"application/fits\":[],\"application/font-tdpfr\":[\"pfr\"],\"application/framework-attributes+xml\":[],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/h224\":[],\"application/held+xml\":[],\"application/http\":[],\"application/hyperstudio\":[\"stk\"],\"application/ibe-key-request+xml\":[],\"application/ibe-pkg-reply+xml\":[],\"application/ibe-pp-data\":[],\"application/iges\":[],\"application/im-iscomposing+xml\":[],\"application/index\":[],\"application/index.cmd\":[],\"application/index.obj\":[],\"application/index.response\":[],\"application/index.vnd\":[],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/iotp\":[],\"application/ipfix\":[\"ipfix\"],\"application/ipp\":[],\"application/isup\":[],\"application/java-archive\":[\"jar\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\"],\"application/json\":[\"json\"],\"application/jsonml+json\":[\"jsonml\"],\"application/kpml-request+xml\":[],\"application/kpml-response+xml\":[],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/macwriteii\":[],\"application/mads+xml\":[\"mads\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml-content+xml\":[],\"application/mathml-presentation+xml\":[],\"application/mathml+xml\":[\"mathml\"],\"application/mbms-associated-procedure-description+xml\":[],\"application/mbms-deregister+xml\":[],\"application/mbms-envelope+xml\":[],\"application/mbms-msk+xml\":[],\"application/mbms-msk-response+xml\":[],\"application/mbms-protection-description+xml\":[],\"application/mbms-reception-report+xml\":[],\"application/mbms-register+xml\":[],\"application/mbms-register-response+xml\":[],\"application/mbms-user-service-description+xml\":[],\"application/mbox\":[\"mbox\"],\"application/media_control+xml\":[],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mikey\":[],\"application/mods+xml\":[\"mods\"],\"application/moss-keys\":[],\"application/moss-signature\":[],\"application/mosskey-data\":[],\"application/mosskey-request\":[],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\"],\"application/mpeg4-generic\":[],\"application/mpeg4-iod\":[],\"application/mpeg4-iod-xmt\":[],\"application/msc-ivr+xml\":[],\"application/msc-mixer+xml\":[],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/nasdata\":[],\"application/news-checkgroups\":[],\"application/news-groupinfo\":[],\"application/news-transmission\":[],\"application/nss\":[],\"application/ocsp-request\":[],\"application/ocsp-response\":[],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/parityfec\":[],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-keys\":[],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pidf+xml\":[],\"application/pidf-diff+xml\":[],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/poc-settings+xml\":[],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/prs.alvestrand.titrax-sheet\":[],\"application/prs.cww\":[\"cww\"],\"application/prs.nprend\":[],\"application/prs.plucker\":[],\"application/prs.rdf-xml-crypt\":[],\"application/prs.xsf+xml\":[],\"application/pskc+xml\":[\"pskcxml\"],\"application/qsig\":[],\"application/rdf+xml\":[\"rdf\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/remote-printing\":[],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/riscos\":[],\"application/rlmi+xml\":[],\"application/rls-services+xml\":[\"rs\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rpki-updown\":[],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/rtx\":[],\"application/samlassertion+xml\":[],\"application/samlmetadata+xml\":[],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/set-payment\":[],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration\":[],\"application/set-registration-initiation\":[\"setreg\"],\"application/sgml\":[],\"application/sgml-open-catalog\":[],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[],\"application/simple-filter+xml\":[],\"application/simple-message-summary\":[],\"application/simplesymbolcontainer\":[],\"application/slate\":[],\"application/smil\":[],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/soap+fastinfoset\":[],\"application/soap+xml\":[],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/spirits-event+xml\":[],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/tamp-apex-update\":[],\"application/tamp-apex-update-confirm\":[],\"application/tamp-community-update\":[],\"application/tamp-community-update-confirm\":[],\"application/tamp-error\":[],\"application/tamp-sequence-adjust\":[],\"application/tamp-sequence-adjust-confirm\":[],\"application/tamp-status-query\":[],\"application/tamp-status-response\":[],\"application/tamp-update\":[],\"application/tamp-update-confirm\":[],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamp-query\":[],\"application/timestamp-reply\":[],\"application/timestamped-data\":[\"tsd\"],\"application/tve-trigger\":[],\"application/ulpfec\":[],\"application/vcard+xml\":[],\"application/vemmi\":[],\"application/vividence.scriptfile\":[],\"application/vnd.3gpp.bsf+xml\":[],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp.sms\":[],\"application/vnd.3gpp2.bcmcsinfo+xml\":[],\"application/vnd.3gpp2.sms\":[],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.partial-upload\":[],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.aether.imp\":[],\"application/vnd.ah-barcode\":[],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.amundsen.maze+xml\":[],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.arastra.swi\":[],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.autopackage\":[],\"application/vnd.avistar+xml\":[],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bluetooth.ep.oob\":[],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.cab-jscript\":[],\"application/vnd.canon-cpdl\":[],\"application/vnd.canon-lips\":[],\"application/vnd.cendio.thinlinc.clientconf\":[],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.cirpack.isdn-ext\":[],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.collection+json\":[],\"application/vnd.commerce-battelle\":[],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.ctct.ws+xml\":[],\"application/vnd.cups-pdf\":[],\"application/vnd.cups-postscript\":[],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.cups-raster\":[],\"application/vnd.cups-raw\":[],\"application/vnd.curl\":[],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.cybank\":[],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dir-bi.plate-dl-nosuffix\":[],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dolby.mobile.1\":[],\"application/vnd.dolby.mobile.2\":[],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.dvbj\":[],\"application/vnd.dvb.esgcontainer\":[],\"application/vnd.dvb.ipdcdftnotifaccess\":[],\"application/vnd.dvb.ipdcesgaccess\":[],\"application/vnd.dvb.ipdcesgaccess2\":[],\"application/vnd.dvb.ipdcesgpdd\":[],\"application/vnd.dvb.ipdcroaming\":[],\"application/vnd.dvb.iptv.alfec-base\":[],\"application/vnd.dvb.iptv.alfec-enhancement\":[],\"application/vnd.dvb.notif-aggregate-root+xml\":[],\"application/vnd.dvb.notif-container+xml\":[],\"application/vnd.dvb.notif-generic+xml\":[],\"application/vnd.dvb.notif-ia-msglist+xml\":[],\"application/vnd.dvb.notif-ia-registration-request+xml\":[],\"application/vnd.dvb.notif-ia-registration-response+xml\":[],\"application/vnd.dvb.notif-init+xml\":[],\"application/vnd.dvb.pfr\":[],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dxr\":[],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.easykaraoke.cdgdownload\":[],\"application/vnd.ecdis-update\":[],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.ecowin.filerequest\":[],\"application/vnd.ecowin.fileupdate\":[],\"application/vnd.ecowin.series\":[],\"application/vnd.ecowin.seriesrequest\":[],\"application/vnd.ecowin.seriesupdate\":[],\"application/vnd.emclient.accessrequest+xml\":[],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.eprints.data+xml\":[],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.ericsson.quickcall\":[],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.etsi.aoc+xml\":[],\"application/vnd.etsi.cug+xml\":[],\"application/vnd.etsi.iptvcommand+xml\":[],\"application/vnd.etsi.iptvdiscovery+xml\":[],\"application/vnd.etsi.iptvprofile+xml\":[],\"application/vnd.etsi.iptvsad-bc+xml\":[],\"application/vnd.etsi.iptvsad-cod+xml\":[],\"application/vnd.etsi.iptvsad-npvr+xml\":[],\"application/vnd.etsi.iptvservice+xml\":[],\"application/vnd.etsi.iptvsync+xml\":[],\"application/vnd.etsi.iptvueprofile+xml\":[],\"application/vnd.etsi.mcid+xml\":[],\"application/vnd.etsi.overload-control-policy-dataset+xml\":[],\"application/vnd.etsi.sci+xml\":[],\"application/vnd.etsi.simservs+xml\":[],\"application/vnd.etsi.tsl+xml\":[],\"application/vnd.etsi.tsl.der\":[],\"application/vnd.eudora.data\":[],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.f-secure.mobile\":[],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.ffsns\":[],\"application/vnd.fints\":[],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.font-fontforge-sfd\":[],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.art-ex\":[],\"application/vnd.fujixerox.art4\":[],\"application/vnd.fujixerox.hbpl\":[],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fut-misnet\":[],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geocube+xml\":[],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.globalplatform.card-content-mgt\":[],\"application/vnd.globalplatform.card-content-mgt-response\":[],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.gridmp\":[],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+json\":[],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hcl-bireports\":[],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.httphone\":[],\"application/vnd.hzn-3d-crossword\":[],\"application/vnd.ibm.afplinedata\":[],\"application/vnd.ibm.electronic-media\":[],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.informedcontrol.rms+xml\":[],\"application/vnd.informix-visionary\":[],\"application/vnd.infotech.project\":[],\"application/vnd.infotech.project+xml\":[],\"application/vnd.innopath.wamp.notification\":[],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intertrust.digibox\":[],\"application/vnd.intertrust.nncp\":[],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.iptc.g2.conceptitem+xml\":[],\"application/vnd.iptc.g2.knowledgeitem+xml\":[],\"application/vnd.iptc.g2.newsitem+xml\":[],\"application/vnd.iptc.g2.newsmessage+xml\":[],\"application/vnd.iptc.g2.packageitem+xml\":[],\"application/vnd.iptc.g2.planningitem+xml\":[],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.japannet-directory-service\":[],\"application/vnd.japannet-jpnstore-wakeup\":[],\"application/vnd.japannet-payment-wakeup\":[],\"application/vnd.japannet-registration\":[],\"application/vnd.japannet-registration-wakeup\":[],\"application/vnd.japannet-setstore-wakeup\":[],\"application/vnd.japannet-verification\":[],\"application/vnd.japannet-verification-wakeup\":[],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.liberty-request+xml\":[],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.marlin.drm.actiontoken+xml\":[],\"application/vnd.marlin.drm.conftoken+xml\":[],\"application/vnd.marlin.drm.license+xml\":[],\"application/vnd.marlin.drm.mdcf\":[],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.meridian-slingshot\":[],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.minisoft-hp3000-save\":[],\"application/vnd.mitsubishi.misty-guard.trustweb\":[],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.motorola.flexsuite\":[],\"application/vnd.motorola.flexsuite.adsi\":[],\"application/vnd.motorola.flexsuite.fis\":[],\"application/vnd.motorola.flexsuite.gotap\":[],\"application/vnd.motorola.flexsuite.kmr\":[],\"application/vnd.motorola.flexsuite.ttc\":[],\"application/vnd.motorola.flexsuite.wem\":[],\"application/vnd.motorola.iprm\":[],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-asf\":[],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-color.iccprofile\":[],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-office.activex+xml\":[],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-opentype\":[],\"application/vnd.ms-package.obfuscated-opentype\":[],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"stl\"],\"application/vnd.ms-playready.initiator+xml\":[],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-printing.printticket+xml\":[],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-tnef\":[],\"application/vnd.ms-wmdrm.lic-chlg-req\":[],\"application/vnd.ms-wmdrm.lic-resp\":[],\"application/vnd.ms-wmdrm.meter-chlg-req\":[],\"application/vnd.ms-wmdrm.meter-resp\":[],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.msign\":[],\"application/vnd.multiad.creator\":[],\"application/vnd.multiad.creator.cif\":[],\"application/vnd.music-niff\":[],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.ncd.control\":[],\"application/vnd.ncd.reference\":[],\"application/vnd.nervana\":[],\"application/vnd.netfpx\":[],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.catalogs\":[],\"application/vnd.nokia.conml+wbxml\":[],\"application/vnd.nokia.conml+xml\":[],\"application/vnd.nokia.isds-radio-presets\":[],\"application/vnd.nokia.iptv.config+xml\":[],\"application/vnd.nokia.landmark+wbxml\":[],\"application/vnd.nokia.landmark+xml\":[],\"application/vnd.nokia.landmarkcollection+xml\":[],\"application/vnd.nokia.n-gage.ac+xml\":[],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.ncd\":[],\"application/vnd.nokia.pcd+wbxml\":[],\"application/vnd.nokia.pcd+xml\":[],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.ntt-local.file-transfer\":[],\"application/vnd.ntt-local.sip-ta_remote\":[],\"application/vnd.ntt-local.sip-ta_tcp_stream\":[],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.obn\":[],\"application/vnd.oftn.l10n+json\":[],\"application/vnd.oipf.contentaccessdownload+xml\":[],\"application/vnd.oipf.contentaccessstreaming+xml\":[],\"application/vnd.oipf.cspg-hexbinary\":[],\"application/vnd.oipf.dae.svg+xml\":[],\"application/vnd.oipf.dae.xhtml+xml\":[],\"application/vnd.oipf.mippvcontrolmessage+xml\":[],\"application/vnd.oipf.pae.gem\":[],\"application/vnd.oipf.spdiscovery+xml\":[],\"application/vnd.oipf.spdlist+xml\":[],\"application/vnd.oipf.ueprofile+xml\":[],\"application/vnd.oipf.userprofile+xml\":[],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma-scws-config\":[],\"application/vnd.oma-scws-http-request\":[],\"application/vnd.oma-scws-http-response\":[],\"application/vnd.oma.bcast.associated-procedure-parameter+xml\":[],\"application/vnd.oma.bcast.drm-trigger+xml\":[],\"application/vnd.oma.bcast.imd+xml\":[],\"application/vnd.oma.bcast.ltkm\":[],\"application/vnd.oma.bcast.notification+xml\":[],\"application/vnd.oma.bcast.provisioningtrigger\":[],\"application/vnd.oma.bcast.sgboot\":[],\"application/vnd.oma.bcast.sgdd+xml\":[],\"application/vnd.oma.bcast.sgdu\":[],\"application/vnd.oma.bcast.simple-symbol-container\":[],\"application/vnd.oma.bcast.smartcard-trigger+xml\":[],\"application/vnd.oma.bcast.sprov+xml\":[],\"application/vnd.oma.bcast.stkm\":[],\"application/vnd.oma.cab-address-book+xml\":[],\"application/vnd.oma.cab-feature-handler+xml\":[],\"application/vnd.oma.cab-pcc+xml\":[],\"application/vnd.oma.cab-user-prefs+xml\":[],\"application/vnd.oma.dcd\":[],\"application/vnd.oma.dcdc\":[],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.oma.drm.risd+xml\":[],\"application/vnd.oma.group-usage-list+xml\":[],\"application/vnd.oma.pal+xml\":[],\"application/vnd.oma.poc.detailed-progress-report+xml\":[],\"application/vnd.oma.poc.final-report+xml\":[],\"application/vnd.oma.poc.groups+xml\":[],\"application/vnd.oma.poc.invocation-descriptor+xml\":[],\"application/vnd.oma.poc.optimized-progress-report+xml\":[],\"application/vnd.oma.push\":[],\n\"application/vnd.oma.scidm.messages+xml\":[],\"application/vnd.oma.xcap-directory+xml\":[],\"application/vnd.omads-email+xml\":[],\"application/vnd.omads-file+xml\":[],\"application/vnd.omads-folder+xml\":[],\"application/vnd.omaloc-supl-init\":[],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.customxmlproperties+xml\":[],\"application/vnd.openxmlformats-officedocument.drawing+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml\":[],\"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml\":[],\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.tags+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml\":[],\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\":[],\"application/vnd.openxmlformats-officedocument.theme+xml\":[],\"application/vnd.openxmlformats-officedocument.themeoverride+xml\":[],\"application/vnd.openxmlformats-officedocument.vmldrawing\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\":[],\"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml\":[],\"application/vnd.openxmlformats-package.core-properties+xml\":[],\"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\":[],\"application/vnd.openxmlformats-package.relationships+xml\":[],\"application/vnd.quobject-quoxdocument\":[],\"application/vnd.osa.netdeploy\":[],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.bundle\":[],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.otps.ct-kip+xml\":[],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.paos.xml\":[],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.piaccess.application-licence\":[],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.poc.group-advertisement+xml\":[],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.powerbuilder6-s\":[],\"application/vnd.powerbuilder7\":[],\"application/vnd.powerbuilder7-s\":[],\"application/vnd.powerbuilder75\":[],\"application/vnd.powerbuilder75-s\":[],\"application/vnd.preminet\":[],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.pwg-multiplexed\":[],\"application/vnd.pwg-xhtml-print+xml\":[],\"application/vnd.qualcomm.brew-app-res\":[],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.radisys.moml+xml\":[],\"application/vnd.radisys.msml+xml\":[],\"application/vnd.radisys.msml-audit+xml\":[],\"application/vnd.radisys.msml-audit-conf+xml\":[],\"application/vnd.radisys.msml-audit-conn+xml\":[],\"application/vnd.radisys.msml-audit-dialog+xml\":[],\"application/vnd.radisys.msml-audit-stream+xml\":[],\"application/vnd.radisys.msml-conf+xml\":[],\"application/vnd.radisys.msml-dialog+xml\":[],\"application/vnd.radisys.msml-dialog-base+xml\":[],\"application/vnd.radisys.msml-dialog-fax-detect+xml\":[],\"application/vnd.radisys.msml-dialog-fax-sendrecv+xml\":[],\"application/vnd.radisys.msml-dialog-group+xml\":[],\"application/vnd.radisys.msml-dialog-speech+xml\":[],\"application/vnd.radisys.msml-dialog-transform+xml\":[],\"application/vnd.rainstor.data\":[],\"application/vnd.rapid\":[],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.renlearn.rlprint\":[],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.rs-274x\":[],\"application/vnd.ruckus.download\":[],\"application/vnd.s3sms\":[],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.sbm.cid\":[],\"application/vnd.sbm.mid2\":[],\"application/vnd.scribus\":[],\"application/vnd.sealed.3df\":[],\"application/vnd.sealed.csf\":[],\"application/vnd.sealed.doc\":[],\"application/vnd.sealed.eml\":[],\"application/vnd.sealed.mht\":[],\"application/vnd.sealed.net\":[],\"application/vnd.sealed.ppt\":[],\"application/vnd.sealed.tiff\":[],\"application/vnd.sealed.xls\":[],\"application/vnd.sealedmedia.softseal.html\":[],\"application/vnd.sealedmedia.softseal.pdf\":[],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.notebook\":[],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[],\"application/vnd.software602.filler.form-xml-zip\":[],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.sss-cod\":[],\"application/vnd.sss-dtf\":[],\"application/vnd.sss-ntf\":[],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.street-stream\":[],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sun.wadl+xml\":[],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.swiftview-ics\":[],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dm.notification\":[],\"application/vnd.syncml.ds.notification\":[],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.truedoc\":[],\"application/vnd.ubisoft.webplayer\":[],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.uplanet.alert\":[],\"application/vnd.uplanet.alert-wbxml\":[],\"application/vnd.uplanet.bearer-choice\":[],\"application/vnd.uplanet.bearer-choice-wbxml\":[],\"application/vnd.uplanet.cacheop\":[],\"application/vnd.uplanet.cacheop-wbxml\":[],\"application/vnd.uplanet.channel\":[],\"application/vnd.uplanet.channel-wbxml\":[],\"application/vnd.uplanet.list\":[],\"application/vnd.uplanet.list-wbxml\":[],\"application/vnd.uplanet.listcmd\":[],\"application/vnd.uplanet.listcmd-wbxml\":[],\"application/vnd.uplanet.signal\":[],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.vd-study\":[],\"application/vnd.vectorworks\":[],\"application/vnd.verimatrix.vcas\":[],\"application/vnd.vidsoft.vidconference\":[],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vividence.scriptfile\":[],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.sic\":[],\"application/vnd.wap.slc\":[],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wfa.wsc\":[],\"application/vnd.wmc\":[],\"application/vnd.wmf.bootstrap\":[],\"application/vnd.wolfram.mathematica\":[],\"application/vnd.wolfram.mathematica.package\":[],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wrq-hp3000-labelled\":[],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.wv.csp+wbxml\":[],\"application/vnd.wv.csp+xml\":[],\"application/vnd.wv.ssp+xml\":[],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.xfdl.webform\":[],\"application/vnd.xmi+xml\":[],\"application/vnd.xmpie.cpkg\":[],\"application/vnd.xmpie.dpkg\":[],\"application/vnd.xmpie.plan\":[],\"application/vnd.xmpie.ppkg\":[],\"application/vnd.xmpie.xlim\":[],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.remote-setup\":[],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yamaha.through-ngn\":[],\"application/vnd.yamaha.tunnel-udpencap\":[],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/voicexml+xml\":[\"vxml\"],\"application/vq-rtcpxr\":[],\"application/watcherinfo+xml\":[],\"application/whoispp-query\":[],\"application/whoispp-response\":[],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wita\":[],\"application/wordperfect5.1\":[],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-amf\":[],\"application/x-apple-diskimage\":[\"dmg\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-conference\":[\"nsc\"],\"application/x-compress\":[],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-dos\":[],\"application/x-font-framemaker\":[],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-libgrx\":[],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-otf\":[\"otf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-speedo\":[],\"application/x-font-sunos-news\":[],\"application/x-font-ttf\":[\"ttf\",\"ttc\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/font-woff\":[\"woff\"],\"application/x-font-vfont\":[],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-gzip\":[],\"application/x-hdf\":[\"hdf\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"iso\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-latex\":[\"latex\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdownload\":[\"exe\",\"dll\",\"com\",\"bat\",\"msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"wmf\",\"wmz\",\"emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-nzb\":[\"nzb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"rar\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-wais-source\":[\"src\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"application/x400-bp\":[],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[],\"application/xcap-caps+xml\":[],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[],\"application/xcap-error+xml\":[],\"application/xcap-ns+xml\":[],\"application/xcon-conference-info-diff+xml\":[],\"application/xcon-conference-info+xml\":[],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xhtml-voice+xml\":[],\"application/xml\":[\"xml\",\"xsl\"],\"application/xml-dtd\":[\"dtd\"],\"application/xml-external-parsed-entity\":[],\"application/xmpp+xml\":[],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/1d-interleaved-parityfec\":[],\"audio/32kadpcm\":[],\"audio/3gpp\":[],\"audio/3gpp2\":[],\"audio/ac3\":[],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[],\"audio/amr-wb\":[],\"audio/amr-wb+\":[],\"audio/asc\":[],\"audio/atrac-advanced-lossless\":[],\"audio/atrac-x\":[],\"audio/atrac3\":[],\"audio/basic\":[\"au\",\"snd\"],\"audio/bv16\":[],\"audio/bv32\":[],\"audio/clearmode\":[],\"audio/cn\":[],\"audio/dat12\":[],\"audio/dls\":[],\"audio/dsr-es201108\":[],\"audio/dsr-es202050\":[],\"audio/dsr-es202211\":[],\"audio/dsr-es202212\":[],\"audio/dv\":[],\"audio/dvi4\":[],\"audio/eac3\":[],\"audio/evrc\":[],\"audio/evrc-qcp\":[],\"audio/evrc0\":[],\"audio/evrc1\":[],\"audio/evrcb\":[],\"audio/evrcb0\":[],\"audio/evrcb1\":[],\"audio/evrcwb\":[],\"audio/evrcwb0\":[],\"audio/evrcwb1\":[],\"audio/example\":[],\"audio/fwdred\":[],\"audio/g719\":[],\"audio/g722\":[],\"audio/g7221\":[],\"audio/g723\":[],\"audio/g726-16\":[],\"audio/g726-24\":[],\"audio/g726-32\":[],\"audio/g726-40\":[],\"audio/g728\":[],\"audio/g729\":[],\"audio/g7291\":[],\"audio/g729d\":[],\"audio/g729e\":[],\"audio/gsm\":[],\"audio/gsm-efr\":[],\"audio/gsm-hr-08\":[],\"audio/ilbc\":[],\"audio/ip-mr_v2.5\":[],\"audio/isac\":[],\"audio/l16\":[],\"audio/l20\":[],\"audio/l24\":[],\"audio/l8\":[],\"audio/lpc\":[],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[],\"audio/mp4\":[\"mp4a\"],\"audio/mp4a-latm\":[],\"audio/mpa\":[],\"audio/mpa-robust\":[],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/mpeg4-generic\":[],\"audio/musepack\":[],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\"],\"audio/opus\":[],\"audio/parityfec\":[],\"audio/pcma\":[],\"audio/pcma-wb\":[],\"audio/pcmu-wb\":[],\"audio/pcmu\":[],\"audio/prs.sid\":[],\"audio/qcelp\":[],\"audio/red\":[],\"audio/rtp-enc-aescm128\":[],\"audio/rtp-midi\":[],\"audio/rtx\":[],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/smv\":[],\"audio/smv0\":[],\"audio/smv-qcp\":[],\"audio/sp-midi\":[],\"audio/speex\":[],\"audio/t140c\":[],\"audio/t38\":[],\"audio/telephone-event\":[],\"audio/tone\":[],\"audio/uemclip\":[],\"audio/ulpfec\":[],\"audio/vdvi\":[],\"audio/vmr-wb\":[],\"audio/vnd.3gpp.iufp\":[],\"audio/vnd.4sb\":[],\"audio/vnd.audiokoz\":[],\"audio/vnd.celp\":[],\"audio/vnd.cisco.nse\":[],\"audio/vnd.cmles.radio-events\":[],\"audio/vnd.cns.anp1\":[],\"audio/vnd.cns.inf1\":[],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dlna.adts\":[],\"audio/vnd.dolby.heaac.1\":[],\"audio/vnd.dolby.heaac.2\":[],\"audio/vnd.dolby.mlp\":[],\"audio/vnd.dolby.mps\":[],\"audio/vnd.dolby.pl2\":[],\"audio/vnd.dolby.pl2x\":[],\"audio/vnd.dolby.pl2z\":[],\"audio/vnd.dolby.pulse.1\":[],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.dvb.file\":[],\"audio/vnd.everad.plj\":[],\"audio/vnd.hns.audio\":[],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nokia.mobile-xmf\":[],\"audio/vnd.nortel.vbk\":[],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.octel.sbc\":[],\"audio/vnd.qcelp\":[],\"audio/vnd.rhetorex.32kadpcm\":[],\"audio/vnd.rip\":[\"rip\"],\"audio/vnd.sealedmedia.softseal.mpeg\":[],\"audio/vnd.vmx.cvsd\":[],\"audio/vorbis\":[],\"audio/vorbis-config\":[],\"audio/webm\":[\"weba\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-tta\":[],\"audio/x-wav\":[\"wav\"],\"audio/xm\":[\"xm\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-pdb\":[],\"chemical/x-xyz\":[\"xyz\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/example\":[],\"image/fits\":[],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/ief\":[\"ief\"],\"image/jp2\":[],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jpm\":[],\"image/jpx\":[],\"image/ktx\":[\"ktx\"],\"image/naplps\":[],\"image/png\":[\"png\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[],\"image/tiff\":[\"tiff\",\"tif\"],\"image/tiff-fx\":[],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.cns.inf2\":[],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.dvb.subtitle\":[\"sub\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.globalgraphics.pgb\":[],\"image/vnd.microsoft.icon\":[],\"image/vnd.mix\":[],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.radiance\":[],\"image/vnd.sealed.png\":[],\"image/vnd.sealedmedia.softseal.gif\":[],\"image/vnd.sealedmedia.softseal.jpg\":[],\"image/vnd.svf\":[],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/webp\":[\"webp\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"ico\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-pcx\":[\"pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/cpim\":[],\"message/delivery-status\":[],\"message/disposition-notification\":[],\"message/example\":[],\"message/external-body\":[],\"message/feedback-report\":[],\"message/global\":[],\"message/global-delivery-status\":[],\"message/global-disposition-notification\":[],\"message/global-headers\":[],\"message/http\":[],\"message/imdn+xml\":[],\"message/news\":[],\"message/partial\":[],\"message/rfc822\":[\"eml\",\"mime\"],\"message/s-http\":[],\"message/sip\":[],\"message/sipfrag\":[],\"message/tracking-status\":[],\"message/vnd.si.simp\":[],\"model/example\":[],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.flatland.3dml\":[],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gs-gdl\":[],\"model/vnd.gs.gdl\":[],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.moml+xml\":[],\"model/vnd.mts\":[\"mts\"],\"model/vnd.parasolid.transmit.binary\":[],\"model/vnd.parasolid.transmit.text\":[],\"model/vnd.vtu\":[\"vtu\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"x3db\",\"x3dbz\"],\"model/x3d+vrml\":[\"x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"multipart/alternative\":[],\"multipart/appledouble\":[],\"multipart/byteranges\":[],\"multipart/digest\":[],\"multipart/encrypted\":[],\"multipart/example\":[],\"multipart/form-data\":[],\"multipart/header-set\":[],\"multipart/mixed\":[],\"multipart/parallel\":[],\"multipart/related\":[],\"multipart/report\":[],\"multipart/signed\":[],\"multipart/voice-message\":[],\"text/1d-interleaved-parityfec\":[],\"text/cache-manifest\":[\"appcache\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/directory\":[],\"text/dns\":[],\"text/ecmascript\":[],\"text/enriched\":[],\"text/example\":[],\"text/fwdred\":[],\"text/html\":[\"html\",\"htm\"],\"text/javascript\":[],\"text/n3\":[\"n3\"],\"text/parityfec\":[],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\"],\"text/prs.fallenstein.rst\":[],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.radisys.msml-basic-layout\":[],\"text/red\":[],\"text/rfc822-headers\":[],\"text/richtext\":[\"rtx\"],\"text/rtf\":[],\"text/rtp-enc-aescm128\":[],\"text/rtx\":[],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/t140\":[],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/ulpfec\":[],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vnd.abc\":[],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.dmclientscript\":[],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.esmertec.theme-descriptor\":[],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.iptc.newsml\":[],\"text/vnd.iptc.nitf\":[],\"text/vnd.latex-z\":[],\"text/vnd.motorola.reflex\":[],\"text/vnd.ms-mediapackage\":[],\"text/vnd.net2phone.commcenter.command\":[],\"text/vnd.si.uricatalogue\":[],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.trolltech.linguist\":[],\"text/vnd.wap.si\":[],\"text/vnd.wap.sl\":[],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-java-source\":[\"java\"],\"text/x-opml\":[\"opml\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-nfo\":[\"nfo\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"text/xml\":[],\"text/xml-external-parsed-entity\":[],\"video/1d-interleaved-parityfec\":[],\"video/3gpp\":[\"3gp\"],\"video/3gpp-tt\":[],\"video/3gpp2\":[\"3g2\"],\"video/bmpeg\":[],\"video/bt656\":[],\"video/celb\":[],\"video/dv\":[],\"video/example\":[],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h263-1998\":[],\"video/h263-2000\":[],\"video/h264\":[\"h264\"],\"video/h264-rcdo\":[],\"video/h264-svc\":[],\"video/jpeg\":[\"jpgv\"],\"video/jpeg2000\":[],\"video/jpm\":[\"jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp1s\":[],\"video/mp2p\":[],\"video/mp2t\":[],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mp4v-es\":[],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/mpeg4-generic\":[],\"video/mpv\":[],\"video/nv\":[],\"video/ogg\":[\"ogv\"],\"video/parityfec\":[],\"video/pointer\":[],\"video/quicktime\":[\"qt\",\"mov\"],\"video/raw\":[],\"video/rtp-enc-aescm128\":[],\"video/rtx\":[],\"video/smpte292m\":[],\"video/ulpfec\":[],\"video/vc1\":[],\"video/vnd.cctv\":[],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.mp4\":[],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.directv.mpeg\":[],\"video/vnd.directv.mpeg-tts\":[],\"video/vnd.dlna.mpeg-tts\":[],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.hns.video\":[],\"video/vnd.iptvforum.1dparityfec-1010\":[],\"video/vnd.iptvforum.1dparityfec-2005\":[],\"video/vnd.iptvforum.2dparityfec-1010\":[],\"video/vnd.iptvforum.2dparityfec-2005\":[],\"video/vnd.iptvforum.ttsavc\":[],\"video/vnd.iptvforum.ttsmpeg2\":[],\"video/vnd.motorola.video\":[],\"video/vnd.motorola.videop\":[],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.nokia.interleaved-multimedia\":[],\"video/vnd.nokia.videovoip\":[],\"video/vnd.objectvideo\":[],\"video/vnd.sealed.mpeg1\":[],\"video/vnd.sealed.mpeg4\":[],\"video/vnd.sealed.swf\":[],\"video/vnd.sealedmedia.softseal.mov\":[],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/webm\":[\"webm\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]}},{}],525:[function(e,t,n){t.exports={\"text/vtt\":[\"vtt\"],\"application/x-chrome-extension\":[\"crx\"],\"text/x-component\":[\"htc\"],\"text/cache-manifest\":[\"manifest\"],\"application/octet-stream\":[\"buffer\"],\"application/mp4\":[\"m4p\"],\"audio/mp4\":[\"m4a\"],\"video/MP2T\":[\"ts\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"text/x-lua\":[\"lua\"],\"application/x-lua-bytecode\":[\"luac\"],\"text/x-markdown\":[\"markdown\",\"md\",\"mkd\"],\"text/plain\":[\"ini\"],\"application/dash+xml\":[\"mdp\"],\"font/opentype\":[\"otf\"],\"application/json\":[\"map\"],\"application/xml\":[\"xsd\"]}},{}],526:[function(e,t,n){(function(n){\"use strict\";function r(e,t){var n={};for(var r in t){var i=-1===e.indexOf(r);i&&(n[r]=t[r])}return n}function i(e,t){var n={};for(var r in t){var i=!(-1===e.indexOf(r)),o=\"function\"==typeof t[r];i&&o||(n[r]=t[r])}return n}function o(e){var t=e.portA,n=e.protocol,r=e.hostname+\":\";return r+=t?t:\"https:\"===n?\"443\":\"80\"}function a(e,t){var n=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return n[e.toLowerCase()]}).reduce(function(t,n){return t[n]=e[n],t},{})}function s(e){var t=e.proxy,n={proxy:{host:t.hostname,port:+t.port,proxyAuth:t.auth,headers:e.proxyHeaders},rejectUnauthorized:e.rejectUnauthorized,headers:e.headers,ca:e.ca,cert:e.cert,key:e.key};return n}function c(e,t){var n=\"https:\"===e.protocol?\"https\":\"http\",r=\"https:\"===t.protocol?\"Https\":\"Http\";return[n,r].join(\"Over\")}function u(e){var t=e.uri,n=e.proxy,r=c(t,n);return I[r]}function p(e){var t=process.env.NO_PROXY||process.env.no_proxy||null;\nif(\"*\"===t)return null;if(null!==t){var n,r,i,o,a,s,c;r=e.hostname.replace(/^\\.*/,\".\").toLowerCase(),c=t.split(\",\");for(var u=0,p=c.length;p>u;u++)if(n=c[u].trim().toLowerCase(),n.indexOf(\":\")>-1){if(o=n.split(\":\",2),a=o[0].replace(/^\\.*/,\".\"),s=o[1],i=e.port||(\"https:\"===e.protocol?\"443\":\"80\"),i===s&&r.indexOf(a)===r.length-a.length)return null}else{n=n.replace(/^\\.*/,\".\");var l=r.indexOf(n);if(l>-1&&l===r.length-n.length)return null}}return\"http:\"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:\"https:\"===e.protocol?process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null:null}function l(e){var t=this;t.res?t.res.request?t.res.request.emit(\"error\",e):t.res.emit(\"error\",e):t._httpMessage.emit(\"error\",e)}function f(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function d(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:f.call(e.request)}}function h(e){var t=this;b.Stream.call(t);var n=Object.keys(h.prototype),o=r(n,e);b.Stream.call(t),y._extend(t,o),e=i(n,e),t.readable=!0,t.writable=!0,\"undefined\"==typeof e.tunnel&&(e.tunnel=!1),e.method&&(t.explicitMethod=!0),t.canTunnel=e.tunnel!==!1&&I,t.init(e)}var m=e(\"http\"),v=e(\"https\"),g=e(\"url\"),y=e(\"util\"),b=e(\"stream\"),x=e(\"qs\"),w=e(\"querystring\"),_=e(\"zlib\"),k=e(\"./lib/helpers\"),j=e(\"bl\"),S=e(\"oauth-sign\"),E=e(\"hawk\"),O=e(\"aws-sign2\"),A=e(\"http-signature\"),C=e(\"node-uuid\"),T=e(\"mime-types\"),I=e(\"tunnel-agent\"),P=e(\"stringstream\"),F=e(\"caseless\"),M=e(\"forever-agent\"),z=e(\"form-data\"),B=e(\"./lib/cookies\"),N=e(\"./lib/copy\"),D=e(\"./lib/debug\"),q=(e(\"net\"),e(\"combined-stream\")),R=k.safeStringify,L=k.md5,$=k.isReadStream,U=k.toBase64,H=k.defer,V=B.jar(),W={},Y=/^https?:/,K=[\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"cache-control\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-md5\",\"content-range\",\"content-type\",\"connection\",\"date\",\"expect\",\"max-forwards\",\"pragma\",\"referer\",\"te\",\"transfer-encoding\",\"user-agent\",\"via\"],G=[\"proxy-authorization\"];y.inherits(h,b.Stream),h.prototype.setupTunnel=function(){var e=this;if(\"string\"==typeof e.proxy&&(e.proxy=g.parse(e.proxy)),!e.proxy)return!1;if(!e.tunnel&&\"https:\"!==e.uri.protocol)return!1;e.proxyHeaderExclusiveList||(e.proxyHeaderExclusiveList=[]);var t=e.proxyHeaderExclusiveList.concat(G);e.proxyHeaderWhiteList||(e.proxyHeaderWhiteList=K);var n=e.proxyHeaderWhiteList.concat(t),r=o(e.uri);e.proxyHeaders=a(e.headers,n),e.proxyHeaders.host=r,t.forEach(e.removeHeader,e);var i=u(e),c=s(e);return e.agent=i(c),e.tunnel=!0,!0},h.prototype.init=function(e){var t=this;if(e||(e={}),t.headers=t.headers?N(t.headers):{},F.httpify(t,t.headers),t.method||(t.method=e.method||\"GET\"),t.localAddress=e.localAddress,t.qsLib||(t.qsLib=e.useQuerystring?w:x),D(e),t.pool||t.pool===!1||(t.pool=W),t.dests=t.dests||[],t.__isRequestRequest=!0,!t._callback&&t.callback&&(t._callback=t.callback,t.callback=function(){t._callbackCalled||(t._callbackCalled=!0,t._callback.apply(t,arguments))},t.on(\"error\",t.callback.bind()),t.on(\"complete\",t.callback.bind(t,null))),!t.uri&&t.url&&(t.uri=t.url,delete t.url),!t.uri)return t.emit(\"error\",new Error(\"options.uri is a required argument\"));if(\"string\"==typeof t.uri&&(t.uri=g.parse(t.uri)),\"unix:\"===t.uri.protocol)return t.emit(\"error\",new Error(\"`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`\"));if(\"unix\"===t.uri.host){var r=t.uri.path.split(\":\"),i=r[0],o=r[1];t.socketPath=i,t.uri.pathname=o,t.uri.path=o,t.uri.host=i,t.uri.hostname=i,t.uri.isUnix=!0}if(t.strictSSL===!1&&(t.rejectUnauthorized=!1),t.hasOwnProperty(\"proxy\")||(t.proxy=p(t.uri)),t.tunnel=!!e.tunnel,t.proxy&&t.setupTunnel(),t.uri.pathname||(t.uri.pathname=\"/\"),!(t.uri.host||t.uri.hostname&&t.uri.port||t.uri.isUnix)){var a=g.format(t.uri),s='Invalid URI \"'+a+'\"';return 0===Object.keys(e).length&&(s+=\". This can be caused by a crappy redirection.\"),t.emit(\"error\",new Error(s))}if(t._redirectsFollowed=t._redirectsFollowed||0,t.maxRedirects=void 0!==t.maxRedirects?t.maxRedirects:10,t.allowRedirect=\"function\"==typeof t.followRedirect?t.followRedirect:function(e){return!0},t.followRedirects=void 0!==t.followRedirect?!!t.followRedirect:!0,t.followAllRedirects=void 0!==t.followAllRedirects?t.followAllRedirects:!1,(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),t.setHost=!1,!t.hasHeader(\"host\")){var c=t.originalHostHeaderName||\"host\";t.setHeader(c,t.uri.hostname),t.uri.port&&(80===t.uri.port&&\"http:\"===t.uri.protocol||443===t.uri.port&&\"https:\"===t.uri.protocol||t.setHeader(c,t.getHeader(\"host\")+(\":\"+t.uri.port))),t.setHost=!0}if(t.jar(t._jar||e.jar),t.uri.port||(\"http:\"===t.uri.protocol?t.uri.port=80:\"https:\"===t.uri.protocol&&(t.uri.port=443)),t.proxy&&!t.tunnel?(t.port=t.proxy.port,t.host=t.proxy.hostname):(t.port=t.uri.port,t.host=t.uri.hostname),e.form&&t.form(e.form),e.formData){var u=e.formData,l=t.form(),f=function(e,t){t.hasOwnProperty(\"value\")&&t.hasOwnProperty(\"options\")?l.append(e,t.value,t.options):l.append(e,t)};for(var d in u)if(u.hasOwnProperty(d)){var h=u[d];if(h instanceof Array)for(var y=0;y<h.length;y++)f(d,h[y]);else f(d,h)}}if(e.qs&&t.qs(e.qs),t.uri.path?t.path=t.uri.path:t.path=t.uri.pathname+(t.uri.search||\"\"),0===t.path.length&&(t.path=\"/\"),e.oauth&&t.oauth(e.oauth),e.aws&&t.aws(e.aws),e.hawk&&t.hawk(e.hawk),e.httpSignature&&t.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,\"username\")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,\"password\")&&(e.auth.pass=e.auth.password),t.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),t.gzip&&!t.hasHeader(\"accept-encoding\")&&t.setHeader(\"accept-encoding\",\"gzip\"),t.uri.auth&&!t.hasHeader(\"authorization\")){var b=t.uri.auth.split(\":\").map(function(e){return w.unescape(e)});t.auth(b[0],b.slice(1).join(\":\"),!0)}if(!t.tunnel&&t.proxy&&t.proxy.auth&&!t.hasHeader(\"proxy-authorization\")){var _=t.proxy.auth.split(\":\").map(function(e){return w.unescape(e)}),k=\"Basic \"+U(_.join(\":\"));t.setHeader(\"proxy-authorization\",k)}if(t.proxy&&!t.tunnel&&(t.path=t.uri.protocol+\"//\"+t.uri.host+t.path),e.json&&t.json(e.json),e.multipart&&(t.boundary=C(),t.multipart(e.multipart)),t.body){var j=0;if(n.isBuffer(t.body))j=t.body.length;else if(Array.isArray(t.body))for(var S=0;S<t.body.length;S++)j+=t.body[S].length;else t.body=new n(t.body),j=t.body.length;if(!j)throw new Error(\"Argument error, options.body.\");t.hasHeader(\"content-length\")||t.setHeader(\"content-length\",j)}var E=t.proxy&&!t.tunnel?t.proxy.protocol:t.uri.protocol,O={\"http:\":m,\"https:\":v},A=t.httpModules||{};return t.httpModule=A[E]||O[E],t.httpModule?(e.ca&&(t.ca=e.ca),t.agent||(e.agentOptions&&(t.agentOptions=e.agentOptions),e.agentClass?t.agentClass=e.agentClass:e.forever?t.agentClass=\"http:\"===E?M:M.SSL:t.agentClass=t.httpModule.Agent),t.pool===!1?t.agent=!1:t.agent=t.agent||t.getNewAgent(),t.on(\"pipe\",function(e){if(t.ntick&&t._started)throw new Error(\"You cannot pipe to this stream after the outbound request has started.\");if(t.src=e,$(e))t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",T.lookup(e.path));else{if(e.headers)for(var n in e.headers)t.hasHeader(n)||t.setHeader(n,e.headers[n]);t._json&&!t.hasHeader(\"content-type\")&&t.setHeader(\"content-type\",\"application/json\"),e.method&&!t.explicitMethod&&(t.method=e.method)}}),void H(function(){if(!t._aborted){var e=function(){t._form&&t._form.pipe(t),t._multipart&&t._multipart.pipe(t),t.body?(Array.isArray(t.body)?t.body.forEach(function(e){t.write(e)}):t.write(t.body),t.end()):t.requestBodyStream?(console.warn(\"options.requestBodyStream is deprecated, please pass the request object to stream.pipe.\"),t.requestBodyStream.pipe(t)):t.src||(\"GET\"!==t.method&&\"undefined\"!=typeof t.method&&t.setHeader(\"content-length\",0),t.end())};t._form&&!t.hasHeader(\"content-length\")?(t.setHeader(t._form.getHeaders()),t._form.getLength(function(n,r){n||t.setHeader(\"content-length\",r),e()})):e(),t.ntick=!0}})):t.emit(\"error\",new Error(\"Invalid protocol: \"+E))},h.prototype._updateProtocol=function(){var e=this,t=e.uri.protocol;if(\"https:\"===t||e.tunnel){if(e.proxy&&e.setupTunnel())return;switch(e.httpModule=v,e.agentClass){case M:e.agentClass=M.SSL;break;case m.Agent:e.agentClass=v.Agent;break;default:return}e.agent&&(e.agent=e.getNewAgent())}else{switch(e.httpModule=m,e.agentClass){case M.SSL:e.agentClass=M;break;case v.Agent:e.agentClass=m.Agent;break;default:return}e.agent&&(e.agent=null,e.agent=e.getNewAgent())}},h.prototype.getNewAgent=function(){var e=this,t=e.agentClass,n={};if(e.agentOptions)for(var r in e.agentOptions)n[r]=e.agentOptions[r];e.ca&&(n.ca=e.ca),e.ciphers&&(n.ciphers=e.ciphers),e.secureProtocol&&(n.secureProtocol=e.secureProtocol),e.secureOptions&&(n.secureOptions=e.secureOptions),\"undefined\"!=typeof e.rejectUnauthorized&&(n.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(n.key=e.key,n.cert=e.cert);var i=\"\";t!==e.httpModule.Agent&&(i+=t.name);var o=e.proxy;\"string\"==typeof o&&(o=g.parse(o));var a=o&&\"https:\"===o.protocol||\"https:\"===this.uri.protocol;return a&&(n.ca&&(i&&(i+=\":\"),i+=n.ca),\"undefined\"!=typeof n.rejectUnauthorized&&(i&&(i+=\":\"),i+=n.rejectUnauthorized),n.cert&&(i+=n.cert.toString(\"ascii\")+n.key.toString(\"ascii\")),n.ciphers&&(i&&(i+=\":\"),i+=n.ciphers),n.secureProtocol&&(i&&(i+=\":\"),i+=n.secureProtocol),n.secureOptions&&(i&&(i+=\":\"),i+=n.secureOptions)),e.pool===W&&!i&&0===Object.keys(n).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(n),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},h.prototype.start=function(){var e=this;if(!e._aborted){e._started=!0,e.method=e.method||\"GET\",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader(\"content-length\")&&e.setHeader(\"content-length\",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var t=N(e);delete t.auth,D(\"make request\",e.uri.href),e.req=e.httpModule.request(t),e.timeout&&!e.timeoutTimer&&(e.timeoutTimer=setTimeout(function(){e.abort();var t=new Error(\"ETIMEDOUT\");t.code=\"ETIMEDOUT\",e.emit(\"error\",t)},e.timeout),e.req.setTimeout&&e.req.setTimeout(e.timeout,function(){if(e.req){e.req.abort();var t=new Error(\"ESOCKETTIMEDOUT\");t.code=\"ESOCKETTIMEDOUT\",e.emit(\"error\",t)}})),e.req.on(\"response\",e.onRequestResponse.bind(e)),e.req.on(\"error\",e.onRequestError.bind(e)),e.req.on(\"drain\",function(){e.emit(\"drain\")}),e.req.on(\"socket\",function(t){e.emit(\"socket\",t)}),e.on(\"end\",function(){e.req.connection&&e.req.connection.removeListener(\"error\",l)}),e.emit(\"request\",e.req)}},h.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&\"ECONNRESET\"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit(\"error\",e)}},h.prototype.onRequestResponse=function(e){var t=this;if(D(\"onRequestResponse\",t.uri.href,e.statusCode,e.headers),e.on(\"end\",function(){D(\"response end\",t.uri.href,e.statusCode,e.headers)}),e.connection&&-1===e.connection.listeners(\"error\").indexOf(l)&&(e.connection.setMaxListeners(0),e.connection.once(\"error\",l)),t._aborted)return D(\"aborted\",t.uri.href),void e.resume();if(t._paused?e.pause():e.resume&&e.resume(),t.response=e,e.request=t,e.toJSON=d,t.httpModule===v&&t.strictSSL&&(!e.hasOwnProperty(\"client\")||!e.client.authorized)){D(\"strict ssl error\",t.uri.href);var r=e.hasOwnProperty(\"client\")?e.client.authorizationError:t.uri.href+\" does not support SSL\";return void t.emit(\"error\",new Error(\"SSL Error: \"+r))}t.originalHost=t.getHeader(\"host\"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader(\"host\")),t.setHost&&t.removeHeader(\"host\"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var i=t._jar&&t._jar.setCookie?t._jar:V,o=function(e){try{i.setCookie(e,t.uri.href,{ignoreError:!0})}catch(n){t.emit(\"error\",n)}};if(e.caseless=F(e.headers),e.caseless.has(\"set-cookie\")&&!t._disableCookies){var a=e.caseless.has(\"set-cookie\");Array.isArray(e.headers[a])?e.headers[a].forEach(o):o(e.headers[a])}var s=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has(\"location\")){var c=e.caseless.get(\"location\");if(D(\"redirect\",c),t.followAllRedirects)s=c;else if(t.followRedirects)switch(t.method){case\"PATCH\":case\"PUT\":case\"POST\":case\"DELETE\":break;default:s=c}}else if(401===e.statusCode&&t._hasAuth&&!t._sentAuth){var u=e.caseless.get(\"www-authenticate\"),p=u&&u.split(\" \")[0].toLowerCase();switch(D(\"reauth\",p),p){case\"basic\":t.auth(t._user,t._pass,!0),s=t.uri;break;case\"bearer\":t.auth(null,null,!0,t._bearer),s=t.uri;break;case\"digest\":for(var f={},h=/([a-z0-9_-]+)=(?:\"([^\"]+)\"|([a-z0-9_-]+))/gi;;){var m=h.exec(u);if(!m)break;f[m[1]]=m[2]||m[3]}var y=L(t._user+\":\"+f.realm+\":\"+t._pass),b=L(t.method+\":\"+t.uri.path),x=/(^|,)\\s*auth\\s*($|,)/.test(f.qop)&&\"auth\",w=x&&\"00000001\",k=x&&C().replace(/-/g,\"\"),S=L(x?y+\":\"+f.nonce+\":\"+w+\":\"+k+\":\"+x+\":\"+b:y+\":\"+f.nonce+\":\"+b),E={username:t._user,realm:f.realm,nonce:f.nonce,uri:t.uri.path,qop:x,response:S,nc:w,cnonce:k,algorithm:f.algorithm,opaque:f.opaque};u=[];for(var O in E)E[O]&&(\"qop\"===O||\"nc\"===O||\"algorithm\"===O?u.push(O+\"=\"+E[O]):u.push(O+'=\"'+E[O]+'\"'));u=\"Digest \"+u.join(\", \"),t.setHeader(\"authorization\",u),t._sentAuth=!0,s=t.uri}}if(s&&t.allowRedirect.call(t,e)){if(D(\"redirect to\",s),t._paused&&e.resume(),t._redirectsFollowed>=t.maxRedirects)return void t.emit(\"error\",new Error(\"Exceeded maxRedirects. Probably stuck in a redirect loop \"+t.uri.href));t._redirectsFollowed+=1,Y.test(s)||(s=g.resolve(t.uri.href,s));var A=t.uri;return t.uri=g.parse(s),t.uri.protocol!==A.protocol&&t._updateProtocol(),t.redirects.push({statusCode:e.statusCode,redirectUri:s}),t.followAllRedirects&&401!==e.statusCode&&307!==e.statusCode&&(t.method=\"GET\"),delete t.src,delete t.req,delete t.agent,delete t._started,401!==e.statusCode&&307!==e.statusCode&&(delete t.body,delete t._form,t.headers&&(t.removeHeader(\"host\"),t.removeHeader(\"content-type\"),t.removeHeader(\"content-length\"),t.uri.hostname!==t.originalHost.split(\":\")[0]&&t.removeHeader(\"authorization\"))),t.emit(\"redirect\"),void t.init()}t._redirectsFollowed=t._redirectsFollowed||0,e.on(\"close\",function(){t._ended||t.response.emit(\"end\")}),e.on(\"end\",function(){t._ended=!0});var T;if(t.gzip){var I=e.headers[\"content-encoding\"]||\"identity\";I=I.trim().toLowerCase(),\"gzip\"===I?(T=_.createGunzip(),e.pipe(T)):(\"identity\"!==I&&D(\"ignoring unrecognized Content-Encoding \"+I),T=e)}else T=e;if(t.encoding&&(0!==t.dests.length?console.error(\"Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.\"):T.setEncoding?T.setEncoding(t.encoding):T=T.pipe(P(t.encoding))),t.emit(\"response\",e),t.dests.forEach(function(e){t.pipeDest(e)}),T.on(\"data\",function(e){t._destdata=!0,t.emit(\"data\",e)}),T.on(\"end\",function(e){t.emit(\"end\",e)}),T.on(\"error\",function(e){t.emit(\"error\",e)}),T.on(\"close\",function(){t.emit(\"close\")}),t.callback){var M=j(),z=[];t.on(\"data\",function(e){n.isBuffer(e)?M.append(e):z.push(e)}),t.on(\"end\",function(){if(D(\"end event\",t.uri.href),t._aborted)return void D(\"aborted\",t.uri.href);if(M.length?(D(\"has body\",t.uri.href,M.length),null===t.encoding?e.body=M.slice():e.body=M.toString(t.encoding)):z.length&&(\"utf8\"===t.encoding&&z[0].length>0&&\"\\ufeff\"===z[0][0]&&(z[0]=z[0].substring(1)),e.body=z.join(\"\")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(n){}D(\"emitting complete\",t.uri.href),\"undefined\"!=typeof e.body||t._json||(e.body=\"\"),t.emit(\"complete\",e,e.body)})}else t.on(\"end\",function(){return t._aborted?void D(\"aborted\",t.uri.href):void t.emit(\"complete\",e)});D(\"finish init function\",t.uri.href)},h.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.abort(),e.emit(\"abort\")},h.prototype.pipeDest=function(e){var t=this,n=t.response;if(e.headers&&!e.headersSent){if(n.caseless.has(\"content-type\")){var r=n.caseless.has(\"content-type\");e.setHeader?e.setHeader(r,n.headers[r]):e.headers[r]=n.headers[r]}if(n.caseless.has(\"content-length\")){var i=n.caseless.has(\"content-length\");e.setHeader?e.setHeader(i,n.headers[i]):e.headers[i]=n.headers[i]}}if(e.setHeader&&!e.headersSent){for(var o in n.headers)t.gzip&&\"content-encoding\"===o||e.setHeader(o,n.headers[o]);e.statusCode=n.statusCode}t.pipefilter&&t.pipefilter(n,e)},h.prototype.qs=function(e,t){var n,r=this;n=!t&&r.uri.query?r.qsLib.parse(r.uri.query):{};for(var i in e)n[i]=e[i];return\"\"===r.qsLib.stringify(n)?r:(r.uri=g.parse(r.uri.href.split(\"?\")[0]+\"?\"+r.qsLib.stringify(n)),r.url=r.uri,r.path=r.uri.path,r)},h.prototype.form=function(e){var t=this;return e?(t.setHeader(\"content-type\",\"application/x-www-form-urlencoded\"),t.body=\"string\"==typeof e?e.toString(\"utf8\"):t.qsLib.stringify(e).toString(\"utf8\"),t):(t._form=new z,t._form)},h.prototype.multipart=function(e){function t(e){return i?o.append(e):o.push(new n(e))}var r=this,i=e instanceof Array||void 0===e.chunked||e.chunked;e=e.data||e;var o=i?new q:[];i&&r.setHeader(\"transfer-encoding\",\"chunked\");var a=r.hasHeader(\"content-type\");if(a&&-1!==r.headers[a].indexOf(\"multipart\")?r.setHeader(a,r.headers[a].split(\";\")[0]+\"; boundary=\"+r.boundary):r.setHeader(\"content-type\",\"multipart/related; boundary=\"+r.boundary),!e.forEach)throw new Error(\"Argument error, options.multipart.\");return r.preambleCRLF&&t(\"\\r\\n\"),e.forEach(function(e){var n=e.body;if(\"undefined\"==typeof n)throw new Error(\"Body attribute missing in multipart.\");var i=\"--\"+r.boundary+\"\\r\\n\";Object.keys(e).forEach(function(t){\"body\"!==t&&(i+=t+\": \"+e[t]+\"\\r\\n\")}),i+=\"\\r\\n\",t(i),t(n),t(\"\\r\\n\")}),t(\"--\"+r.boundary+\"--\"),r.postambleCRLF&&t(\"\\r\\n\"),r[i?\"_multipart\":\"body\"]=o,r},h.prototype.json=function(e){var t=this;return t.hasHeader(\"accept\")||t.setHeader(\"accept\",\"application/json\"),t._json=!0,\"boolean\"==typeof e?void 0!==t.body&&\"application/x-www-form-urlencoded\"!==t.getHeader(\"content-type\")&&(t.body=R(t.body),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")):(t.body=R(e),t.hasHeader(\"content-type\")||t.setHeader(\"content-type\",\"application/json\")),\"function\"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},h.prototype.getHeader=function(e,t){var n,r,i,o=this;return t||(t=o.headers),Object.keys(t).forEach(function(o){o.length===e.length&&(r=new RegExp(e,\"i\"),i=o.match(r),i&&(n=t[o]))}),n};var J=h.prototype.getHeader;h.prototype.auth=function(e,t,n,r){var i=this;if(void 0!==r)return i._bearer=r,i._hasAuth=!0,(n||\"undefined\"==typeof n)&&(\"function\"==typeof r&&(r=r()),i.setHeader(\"authorization\",\"Bearer \"+r),i._sentAuth=!0),i;if(\"string\"!=typeof e||void 0!==t&&\"string\"!=typeof t)throw new Error(\"auth() received invalid user or password\");i._user=e,i._pass=t,i._hasAuth=!0;var o=\"undefined\"!=typeof t?e+\":\"+t:e;return(n||\"undefined\"==typeof n)&&(i.setHeader(\"authorization\",\"Basic \"+U(o)),i._sentAuth=!0),i},h.prototype.aws=function(e,t){var n=this;if(!t)return n._aws=e,n;var r=new Date;n.setHeader(\"date\",r.toUTCString());var i={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:r,contentType:n.getHeader(\"content-type\")||\"\",md5:n.getHeader(\"content-md5\")||\"\",amazonHeaders:O.canonicalizeHeaders(n.headers)},o=n.uri.path;return e.bucket&&o?i.resource=\"/\"+e.bucket+o:e.bucket&&!o?i.resource=\"/\"+e.bucket:!e.bucket&&o?i.resource=o:e.bucket||o||(i.resource=\"/\"),i.resource=O.canonicalizeResource(i.resource),n.setHeader(\"authorization\",O.authorization(i)),n},h.prototype.httpSignature=function(e){var t=this;return A.signRequest({getHeader:function(e){return J(e,t.headers)},setHeader:function(e,n){t.setHeader(e,n)},method:t.method,path:t.path},e),D(\"httpSignature authorization\",t.getHeader(\"authorization\")),t},h.prototype.hawk=function(e){var t=this;t.setHeader(\"Authorization\",E.client.header(t.uri,t.method,e).field)},h.prototype.oauth=function(e){var t,n,r=this;r.hasHeader(\"content-type\")&&\"application/x-www-form-urlencoded\"===r.getHeader(\"content-type\").slice(0,\"application/x-www-form-urlencoded\".length)&&(t=r.body),r.uri.query&&(n=r.uri.query);var i={};for(var o in e)i[\"oauth_\"+o]=e[o];\"oauth_realm\"in i&&delete i.oauth_realm,i.oauth_version||(i.oauth_version=\"1.0\"),i.oauth_timestamp||(i.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),i.oauth_nonce||(i.oauth_nonce=C().replace(/-/g,\"\")),i.oauth_signature_method||(i.oauth_signature_method=\"HMAC-SHA1\");var a=i.oauth_consumer_secret||i.oauth_private_key;delete i.oauth_consumer_secret,delete i.oauth_private_key;var s=i.oauth_token_secret;delete i.oauth_token_secret;var c=r.uri.protocol+\"//\"+r.uri.host+r.uri.pathname,u=r.qsLib.parse([].concat(n,t,r.qsLib.stringify(i)).join(\"&\")),p=S.sign(i.oauth_signature_method,r.method,c,u,a,s),l=e.realm?'realm=\"'+e.realm+'\",':\"\",f=\"OAuth \"+l+Object.keys(i).sort().map(function(e){return e+'=\"'+S.rfc3986(i[e])+'\"'}).join(\",\");return f+=',oauth_signature=\"'+S.rfc3986(p)+'\"',r.setHeader(\"Authorization\",f),r},h.prototype.jar=function(e){var t,n=this;if(0===n._redirectsFollowed&&(n.originalCookieHeader=n.getHeader(\"cookie\")),e){var r=e&&e.getCookieString?e:V,i=n.uri.href;r&&(t=r.getCookieString(i))}else t=!1,n._disableCookies=!0;return t&&t.length&&(n.originalCookieHeader?n.setHeader(\"cookie\",n.originalCookieHeader+\"; \"+t):n.setHeader(\"cookie\",t)),n._jar=e,n},h.prototype.pipe=function(e,t){var n=this;if(n.response){if(n._destdata)throw new Error(\"You cannot pipe after data has been emitted from the response.\");if(n._ended)throw new Error(\"You cannot pipe after the response has been ended.\");return b.Stream.prototype.pipe.call(n,e,t),n.pipeDest(e),e}return n.dests.push(e),b.Stream.prototype.pipe.call(n,e,t),e},h.prototype.write=function(){var e=this;return e._started||e.start(),e.req.write.apply(e.req,arguments)},h.prototype.end=function(e){var t=this;e&&t.write(e),t._started||t.start(),t.req.end()},h.prototype.pause=function(){var e=this;e.response?e.response.pause.apply(e.response,arguments):e._paused=!0},h.prototype.resume=function(){var e=this;e.response?e.response.resume.apply(e.response,arguments):e._paused=!1},h.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},h.defaultProxyHeaderWhiteList=K.slice(),h.defaultProxyHeaderExclusiveList=G.slice(),h.prototype.toJSON=f,t.exports=h}).call(this,e(\"buffer\").Buffer)},{\"./lib/cookies\":518,\"./lib/copy\":519,\"./lib/debug\":520,\"./lib/helpers\":521,\"aws-sign2\":477,bl:478,buffer:void 0,caseless:481,\"combined-stream\":482,\"forever-agent\":486,\"form-data\":487,hawk:488,http:void 0,\"http-signature\":497,https:void 0,\"mime-types\":523,net:void 0,\"node-uuid\":361,\"oauth-sign\":507,qs:508,querystring:void 0,stream:void 0,stringstream:457,\"tunnel-agent\":465,url:void 0,util:void 0,zlib:void 0}],527:[function(e,t,n){arguments[4][434][0].apply(n,arguments)},{\"./lib\":528,dup:434}],528:[function(e,t,n){(function(t){var r=e(\"dgram\"),i=e(\"dns\"),o=e(\"hoek\"),a={};n.time=function(e,n){2!==arguments.length&&(n=arguments[0],e={});var s=o.clone(e);s.host=s.host||\"pool.ntp.org\",s.port=s.port||123,s.resolveReference=s.resolveReference||!1;var c=0,u=0,p=!1,l=function(e,t){return c&&(clearTimeout(c),c=0),p?void 0:(p=!0,f.removeAllListeners(),f.close(),n(e,t))},f=r.createSocket(\"udp4\");f.once(\"error\",function(e){return l(e)}),f.on(\"message\",function(e,t){var n=Date.now(),r=new a.NtpMessage(e);if(!r.isValid)return l(new Error(\"Invalid server response\"),r);if(r.originateTimestamp!==u)return l(new Error(\"Wrong originate timestamp\"),r);var o=r.originateTimestamp,c=r.receiveTimestamp,p=r.transmitTimestamp,f=n;return r.d=f-o-(p-c),r.t=(c-o+(p-f))/2,r.receivedLocally=n,s.resolveReference&&\"secondary\"===r.stratum?void i.reverse(r.referenceId,function(e,t){return e||(r.referenceHost=t[0]),l(null,r)}):l(null,r)}),s.timeout&&(c=setTimeout(function(){return c=0,l(new Error(\"Timeout\"))},s.timeout));for(var d=new t(48),h=0;48>h;h++)d[h]=0;d[0]=35,u=Date.now(),a.fromMsecs(u,d,40),f.send(d,0,d.length,s.port,s.host,function(e,t){return e||48!==t?l(e||new Error(\"Could not send entire message\")):void 0})},a.NtpMessage=function(e){if(this.isValid=!1,48===e.length){var t=e[0]>>6;switch(t){case 0:this.leapIndicator=\"no-warning\";break;case 1:this.leapIndicator=\"last-minute-61\";break;case 2:this.leapIndicator=\"last-minute-59\";break;case 3:this.leapIndicator=\"alarm\"}var n=(56&e[0])>>3;this.version=n;var r=7&e[0];switch(r){case 1:this.mode=\"symmetric-active\";break;case 2:this.mode=\"symmetric-passive\";break;case 3:this.mode=\"client\";break;case 4:this.mode=\"server\";break;case 5:this.mode=\"broadcast\";break;case 0:case 6:case 7:this.mode=\"reserved\"}var i=e[1];0===i?this.stratum=\"death\":1===i?this.stratum=\"primary\":15>=i?this.stratum=\"secondary\":this.stratum=\"reserved\",this.pollInterval=1e3*Math.round(Math.pow(2,e[2])),this.precision=1e3*Math.pow(2,e[3]);var o=256*(256*(256*e[4]+e[5])+e[6])+e[7];switch(this.rootDelay=1e3*(o/65536),this.rootDispersion=1e3*((e[8]<<8)+e[9]+((e[10]<<8)+e[11])/Math.pow(2,16)),this.referenceId=\"\",this.stratum){case\"death\":case\"primary\":this.referenceId=String.fromCharCode(e[12])+String.fromCharCode(e[13])+String.fromCharCode(e[14])+String.fromCharCode(e[15]);break;case\"secondary\":this.referenceId=\"\"+e[12]+\".\"+e[13]+\".\"+e[14]+\".\"+e[15]}return this.referenceTimestamp=a.toMsecs(e,16),this.originateTimestamp=a.toMsecs(e,24),this.receiveTimestamp=a.toMsecs(e,32),this.transmitTimestamp=a.toMsecs(e,40),4===this.version&&\"reserved\"!==this.stratum&&\"server\"===this.mode&&this.originateTimestamp&&this.receiveTimestamp&&this.transmitTimestamp&&(this.isValid=!0),this}},a.toMsecs=function(e,t){for(var n=0,r=0,i=0;4>i;++i)n=256*n+e[t+i];for(i=4;8>i;++i)r=256*r+e[t+i];return 1e3*(n-2208988800+r/Math.pow(2,32))},a.fromMsecs=function(e,t,n){var r=Math.floor(e/1e3)+2208988800,i=Math.round(e%1e3/1e3*Math.pow(2,32));t[n+0]=(4278190080&r)>>24,t[n+1]=(16711680&r)>>16,t[n+2]=(65280&r)>>8,t[n+3]=255&r,t[n+4]=(4278190080&i)>>24,t[n+5]=(16711680&i)>>16,t[n+6]=(65280&i)>>8,t[n+7]=255&i},a.last={offset:0,expires:0,host:\"\",port:0},n.offset=function(e,t){2!==arguments.length&&(t=arguments[0],e={});var r=Date.now(),i=e.clockSyncRefresh||864e5;return a.last.offset&&a.last.host===e.host&&a.last.port===e.port&&r<a.last.expires?void process.nextTick(function(){t(null,a.last.offset)}):void n.time(e,function(n,o){return n?t(n,0):(a.last={offset:Math.round(o.t),expires:r+i,host:e.host,port:e.port},t(null,a.last.offset))})},a.now={intervalId:0},n.start=function(e,t){return 2!==arguments.length&&(t=arguments[0],e={}),a.now.intervalId?void process.nextTick(function(){t()}):void n.offset(e,function(r,i){return a.now.intervalId=setInterval(function(){n.offset(e,function(){})},e.clockSyncRefresh||864e5),t()})},n.stop=function(){a.now.intervalId&&(clearInterval(a.now.intervalId),a.now.intervalId=0)},n.isLive=function(){return!!a.now.intervalId},n.now=function(){var e=Date.now();return!n.isLive()||e>=a.last.expires?e:e+a.last.offset}}).call(this,e(\"buffer\").Buffer)},{buffer:void 0,dgram:void 0,dns:void 0,hoek:494}],529:[function(e,t,n){\"use strict\";function r(e){for(var t=e.listeners(\"data\"),n=0;n<t.length;n++)if(\"ondata\"===t[n].name)return!0;return!1}function i(e){if(!e)throw new TypeError(\"argument stream is required\");if(\"function\"==typeof e.unpipe)return void e.unpipe();if(r(e))for(var t,n=e.listeners(\"close\"),i=0;i<n.length;i++)t=n[i],\"cleanup\"!==t.name&&\"onclose\"!==t.name||t.call(e)}t.exports=i},{}],530:[function(e,t,n){t.exports=e(\"util\").deprecate},{util:void 0}],531:[function(e,t,n){n=t.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},{}],532:[function(e,t,n){\"use strict\";function r(e,t){if(\"string\"!=typeof e)throw new TypeError(\"header argument is required\");if(!t)throw new TypeError(\"field argument is required\");for(var n=Array.isArray(t)?t:i(String(t)),r=0;r<n.length;r++)if(a.test(n[r]))throw new TypeError(\"field argument contains an invalid header\");if(\"*\"===e)return e;var o=e,s=i(e.toLowerCase());if(-1!==n.indexOf(\"*\")||-1!==s.indexOf(\"*\"))return\"*\";for(var r=0;r<n.length;r++){var c=n[r].toLowerCase();-1===s.indexOf(c)&&(s.push(c),o=o?o+\", \"+n[r]:n[r])}return o}function i(e){return e.trim().split(/ *, */)}function o(e,t){if(!e||!e.getHeader||!e.setHeader)throw new TypeError(\"res argument is required\");var n=e.getHeader(\"Vary\")||\"\",i=Array.isArray(n)?n.join(\", \"):String(n);(n=r(i,t))&&e.setHeader(\"Vary\",n)}t.exports=o,t.exports.append=r;var a=/[\\(\\)<>@,;:\\\\\"\\/\\[\\]\\?=\\{\\}\\u0020\\u0009]/},{}],533:[function(e,t,n){function r(e){var t,n,r,i;e instanceof Error||\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),i=t.length>0?c.sprintf.apply(null,t):\"\",this.jse_shortmsg=i,this.jse_summary=i,e&&(n=e.cause,n&&e.cause instanceof Error||(n=e),n&&n instanceof Error&&(this.jse_cause=n,this.jse_summary+=\": \"+n.message)),this.message=this.jse_summary,Error.call(this,this.jse_summary),Error.captureStackTrace&&(r=e?e.constructorOpt:void 0,r=r||arguments.callee,Error.captureStackTrace(this,r))}function i(e){a.ok(e.length>0),this.ase_errors=e,r.call(this,e[0],\"first of %d error%s\",e.length,1==e.length?\"\":\"s\")}function o(e){Error.call(this);var t,n,r;\"object\"==typeof e?t=Array.prototype.slice.call(arguments,1):(t=Array.prototype.slice.call(arguments,0),e=void 0),t.length>0?this.message=c.sprintf.apply(null,t):this.message=\"\",e&&(e instanceof Error?n=e:(n=e.cause,r=e.constructorOpt)),Error.captureStackTrace(this,r||this.constructor),n&&this.cause(n)}var a=e(\"assert\"),s=e(\"util\"),c=e(\"extsprintf\");n.VError=r,n.WError=o,n.MultiError=i,s.inherits(r,Error),r.prototype.name=\"VError\",r.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),e},r.prototype.cause=function(){return this.jse_cause},s.inherits(i,r),s.inherits(o,Error),o.prototype.name=\"WError\",o.prototype.toString=function(){var e=this.hasOwnProperty(\"name\")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=\": \"+this.message),this.we_cause&&this.we_cause.message&&(e+=\"; caused by \"+this.we_cause.toString()),e},o.prototype.cause=function(e){return e instanceof Error&&(this.we_cause=e),this.we_cause}},{assert:void 0,extsprintf:114,util:void 0}],534:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)i.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],535:[function(e,t,n){function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&\"function\"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t}function i(e,t){e.tail=new a(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function o(e,t){e.head=new a(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function a(e,t,n,r){return this instanceof a?(this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,void(n?(n.prev=this,this.next=n):this.next=null)):new a(e,t,n,r)}t.exports=r,r.Node=a,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error(\"removing node which does not belong to this list\");var t=e.next,n=e.prev;t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){\nfor(var e=0,t=arguments.length;t>e;e++)o(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail.next=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head.prev=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&e>t;t++)n=n.next;return t===e&&null!==n?n.value:void 0},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&e>t;t++)n=n.prev;return t===e&&null!==n?n.value:void 0},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError(\"Reduce of empty list with no initial value\");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){t=t||this.length,0>t&&(t+=this.length),e=e||0,0>e&&(e+=this.length);var n=new r;if(e>t||0>t)return n;0>e&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this}},{}],536:[function(e,t,n){var r={SERVERLESS_PROJECT:\"serverless-starter\",SERVERLESS_STAGE:\"dev\",SERVERLESS_REGION:\"us-east-1\",SERVERLESS_DATA_MODEL_STAGE:\"dev\"};for(var i in r)process.env[i]=r[i];n.handler=e(\"./handler\").handler},{\"./handler\":537}],537:[function(e,t,n){\"use strict\";var r=e(\"../../lib\");t.exports.handler=function(e,t){r.multiShow(e,function(e,n){return t.done(e,n)})}},{\"../../lib\":1}],538:[function(e,t,n){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}]},{},[536])(536)});"}}}},"criteria":{"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"/subscriptions/.*","required":true},"name":{"type":"string","pattern":".*/.*","required":true},"function_app_id":{"type":"string","pattern":"/subscriptions/.*/resourceGroups/.*/providers/Microsoft.Web/sites/.*"},"type":{"type":"string","pattern":"Microsoft.Web/sites/functions","required":true},"location":{"type":"string","required":true},"script_root_path_href":{"type":"string","script_href":""},"script_href":{"type":"string","script_href":"https://.*.scm.azurewebsites.net/.*"},"config_href":{"type":"","test_data_href":"https://.*.scm.azurewebsites.net/.*"},"properties":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"required":true},"function_app_id":{"type":"string","minLength":1,"required":true},"script_root_path_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"script_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"config_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"secrets_file_href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"href":{"type":"string","pattern":"https://.*.scm.azurewebsites.net/.*","required":true},"test_data":{"type":"string","required":true},"files":{"required":false},"config":{"type":"object","properties":{"bindings":{"type":"array"}}}}}}}}]
      + expected - actual

      -false
      +true
      
      at validateFunctionObject (test/azure-functions.js:20:3)
      at test/azure-functions.js:141:9
      at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:502:31)
      at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:559:18)
      at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:604:10)
      at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:683:18)
      at Async._drainQueue (node_modules/bluebird/js/release/async.js:138:16)
      at Async._drainQueues (node_modules/bluebird/js/release/async.js:148:10)
      at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)